:root{font-family:DM Sans,Segoe UI,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#0b0f19}#root{min-height:100vh}a{color:inherit}.preview-surface.hide-chords td.chord,.preview-surface.hide-chords .chord{display:none!important}@media print{.preview-surface.hide-chords td.chord,.preview-surface.hide-chords .chord{display:none!important}}.page{min-height:100vh;padding:1.5rem clamp(1.5rem,4vw,3rem) 2rem;background-color:#0a0e1a;background-image:repeating-linear-gradient(0deg,rgba(167,139,250,.12) 0px,rgba(167,139,250,.12) 1px,transparent 1px,transparent 24px),repeating-linear-gradient(90deg,rgba(6,182,212,.12) 0px,rgba(6,182,212,.12) 1px,transparent 1px,transparent 24px),linear-gradient(135deg,#0f172a,#1a1f3a,#16213e,#0f1729,#0a0e1a);color:#e8edf7}.page-header{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1rem;padding-bottom:.75rem}.page-header h1{margin:0;padding:.1rem 0 .3rem;font-size:clamp(2rem,4vw,2.8rem);letter-spacing:-.02em;line-height:1.2;background:linear-gradient(135deg,#a78bfa,#06b6d4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:800}.header-title-section{display:flex;align-items:center;gap:.5rem;margin-bottom:0}.logo-icon{width:5.5rem;height:5.5rem;flex-shrink:0;filter:drop-shadow(0 0 25px rgba(167,139,250,.3));transition:transform .2s ease,filter .2s ease}.logo-icon:hover{transform:scale(1.08) rotate(-5deg);filter:drop-shadow(0 0 35px rgba(167,139,250,.45))}.eyebrow{margin:0;letter-spacing:.24em;text-transform:uppercase;font-size:.75rem;background:linear-gradient(90deg,#a78bfa,#06b6d4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:800}.lede{margin:0;font-size:.85rem;color:#b3bcd9;line-height:1.4;max-width:100%}.page-footer{margin-top:1.5rem;padding-top:1rem;border-top:1px solid rgba(167,139,250,.1);text-align:center}.header-actions{display:flex;gap:.75rem}.header-actions button{height:42px}.workspace{display:grid;grid-template-columns:minmax(320px,1fr) minmax(360px,1.1fr);gap:1rem;align-items:stretch}.panel{background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:1.25rem;box-shadow:0 20px 40px #05070e66;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.panel-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.75rem}.format-selector{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.format-selector label{color:#9ab3db;font-weight:500}.format-select{padding:.35rem .5rem;background:#0a0e1acc;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:#eaf1ff;font-size:.9rem;cursor:pointer;outline:none;transition:border-color .15s}.format-select:hover{border-color:#ffffff40}.format-select:focus{border-color:#7bd7ff;box-shadow:0 0 0 3px #7bd7ff26}.panel h2{margin:0;font-size:1rem;letter-spacing:.02em}.hint{margin:0;color:#9ab3db;font-size:.9rem}.chart-input{width:100%;min-height:68vh;border:1px solid rgba(255,255,255,.15);border-radius:12px;background:#0a0e1aa6;color:#eaf1ff;padding:1rem 1.1rem;font-family:Fira Code,IBM Plex Mono,SFMono-Regular,Menlo,monospace;font-size:.98rem;line-height:1.6;resize:vertical;outline:none;box-shadow:inset 0 0 0 1px #7bd7ff14;height:calc(100% - 73px)}.chart-input:focus{border-color:#7bd7ff;box-shadow:0 0 0 3px #7bd7ff40}.metadata-inputs{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.5rem}.metadata-row{display:grid;grid-template-columns:1fr auto auto auto;gap:.35rem;align-items:center}.metadata-input{padding:.35rem .5rem;background:#0a0e1aa6;border:1px solid rgba(255,255,255,.15);border-radius:8px;color:#eaf1ff;font-size:.85rem;outline:none;transition:all .15s}.metadata-input::placeholder{color:#6d7f9f}.metadata-input:focus{border-color:#7bd7ff;box-shadow:0 0 0 2px #7bd7ff26}.title-input{width:100%}.author-input{flex:1}.key-input,.time-sig-input,.bpm-input{width:120px}.time-sig-input{cursor:pointer}.preview{background:linear-gradient(145deg,#ffffff0f,#ffffff05)}.preview-surface{background:#0b0f19;border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:1.25rem 1.35rem;color:#eaf1ff;box-shadow:inset 0 1px #ffffff05}.preview-surface .paragraph.page-break{page-break-after:always;min-height:1rem;margin:2rem 0;padding:1rem 0;border-bottom:2px dashed rgba(255,255,255,.2)}.preview-surface .paragraph:empty:not(.page-break){display:block;min-height:1.2em;margin:0}.section-box{border:2px solid rgba(123,215,255,.4);border-radius:8px;margin:1rem 0;padding:0;background:#7bd7ff0d;overflow:hidden}.box-label{background:#7bd7ff26;color:#7bd7ff;font-weight:700;font-size:.85rem;padding:.5rem .75rem;border-bottom:1px solid rgba(123,215,255,.3);text-transform:uppercase;letter-spacing:.05em}.box-content{padding:.75rem}.preview-surface pre{margin:0;font-family:Fira Code,IBM Plex Mono,SFMono-Regular,Menlo,monospace;font-size:.95rem;line-height:1.65;white-space:pre-wrap;word-break:break-word}.song-header{margin-bottom:1.5rem;padding-bottom:1.25rem;border-bottom:2px solid rgba(123,215,255,.3)}.song-title{margin:0 0 .35rem;font-size:2rem;font-weight:700;color:#7bd7ff;letter-spacing:-.02em}.song-author{margin:0;color:#b4c7e7;font-weight:500;font-size:.95rem}.preview-surface .song div{margin-bottom:.75rem}.preview-surface table{border-collapse:collapse;width:auto;table-layout:auto}.preview-surface table.row{width:auto}.preview-surface td{padding:0 .25rem .1rem 0;vertical-align:bottom;white-space:pre}.preview-surface td.chord,.preview-surface span.chord{color:#7bd7ff!important;font-weight:700!important;font-family:Fira Code,IBM Plex Mono,SFMono-Regular,Menlo,monospace!important}.preview-surface tr.lyric-row td{color:#eaf1ff;line-height:1.5}.preview-surface .chord{color:#7bd7ff;font-weight:700}.preview-error{background:#2b0f16;border:1px solid #e25f76;color:#ffd9e0;padding:.75rem 1rem;border-radius:10px}.primary,.ghost{border-radius:12px;border:1px solid transparent;padding:.75rem 1.1rem;font-weight:700;letter-spacing:.01em;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .2s}.primary{background:linear-gradient(135deg,#7bd7ff,#7c8bff);color:#0b1020;box-shadow:0 10px 30px #7c8bff59}.primary:hover{transform:translateY(-1px);box-shadow:0 12px 32px #7c8bff7a}.ghost{background:transparent;color:#eaf1ff;border-color:#ffffff26}.ghost:hover{border-color:#7bd7ff;color:#7bd7ff}@media(max-width:960px){.page-header{flex-direction:column;align-items:flex-start}.workspace{grid-template-columns:1fr}.chart-input,.preview-surface{min-height:50vh}}@media print{.page{padding:0;background:#fff;color:#0b0f19}.page-header,.editor,.preview .panel-heading{display:none}.workspace{grid-template-columns:1fr}.preview{background:#fff;border:none;box-shadow:none}.preview-surface{background:#fff;color:#0b0f19;border:none;min-height:auto;box-shadow:none;padding:.3in .4in;font-size:10px;line-height:1.2}.preview-surface .song-header{border:none;margin-bottom:.25rem;padding-bottom:0}.preview-surface .song-title{color:#0b0f19;margin:0;padding:0;font-size:1.2rem;font-weight:700;line-height:1.1}.preview-surface .song-author{color:#333;margin:0;padding:0;font-size:.8rem;font-weight:400;line-height:1}.preview-surface .song div{margin:0;padding:0}.preview-surface .paragraph{margin:.15rem 0 0;padding:0}.preview-surface .paragraph:empty:not(.page-break){display:none}.preview-surface .section-label{font-weight:700;font-size:.85rem;margin:.2rem 0 .08rem;padding:0;color:#555}.preview-surface table{page-break-inside:avoid;margin:0;border-collapse:collapse;width:100%}.section-box{border:1px solid #333;page-break-inside:avoid;margin:.25rem 0;padding:0}.box-label{background:#7bd7ff;color:#0b0f19;font-weight:700;font-size:.7rem;padding:.2rem .4rem;border-bottom:1px solid #5bc4f0;text-transform:uppercase;letter-spacing:.05em}.box-content{padding:.25rem .3rem}.preview-surface td{padding:0;margin:0;line-height:1.4;vertical-align:baseline}.preview-surface td.chord{color:#06c!important;font-weight:700;font-family:monospace;font-size:.95em;padding-right:.3em}.preview-surface tr.lyric-row td{line-height:1.4}.preview-surface .chord{color:#06c!important;font-weight:700;font-family:monospace}.preview-surface span.chord{color:#06c!important;font-weight:700;font-family:monospace;font-size:.95em}.preview-surface .paragraph.page-break{page-break-after:always;min-height:0;display:block;margin:0;padding:0;height:0;overflow:hidden}body{margin:0;padding:0}}.import-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.import-modal{background:#fffffffa;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:500px;width:90vw;overflow:hidden}.import-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid rgba(0,0,0,.1);background:linear-gradient(135deg,#7bd7ff,#5bc4f0);color:#0b0f19}.import-modal-header h2{margin:0;font-size:1.3rem;font-weight:700}.close-btn{background:#ffffff4d;border:none;color:#0b0f19;font-size:1.5rem;width:40px;height:40px;border-radius:50%;cursor:pointer;transition:background .15s}.close-btn:hover{background:#ffffff80}.import-modal-body{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.import-input{padding:.75rem;border:1px solid rgba(0,0,0,.15);border-radius:8px;font-size:.95rem;font-family:inherit;outline:none;transition:border-color .15s}.import-input:focus{border-color:#7bd7ff;box-shadow:0 0 0 3px #7bd7ff26}.import-search-row{display:flex;gap:.5rem}.import-search-row .import-input{flex:1}.search-btn{padding:.75rem 1.5rem;background:linear-gradient(135deg,#7bd7ff,#5bc4f0);color:#0b0f19;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:opacity .15s}.search-btn:hover:not(:disabled){opacity:.9}.search-btn:disabled{opacity:.6;cursor:not-allowed}.search-results{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.search-result-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem;background:#7bd7ff14;border-radius:6px;border:1px solid rgba(123,215,255,.2);font-size:.95rem}.import-btn{padding:.4rem .8rem;background:#7bd7ff;color:#0b0f19;border:none;border-radius:4px;font-weight:600;font-size:.85rem;cursor:pointer;transition:background .15s}.import-btn:hover{background:#5bc4f0}.auth-section,.user-section{padding:1rem;background:#7bd7ff14;border-radius:8px;border:1px solid rgba(123,215,255,.2);margin-bottom:1rem}.auth-notice,.user-welcome{margin:0 0 .75rem;font-size:.95rem;color:#0b0f19}.google-btn{width:100%;padding:.75rem;background:#fff;color:#0b0f19;border:1px solid #dadce0;border-radius:6px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .15s;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 1px 2px #0000001a}.google-btn:hover{background:#f8f9fa;box-shadow:0 2px 4px #00000026}.google-btn svg{width:20px;height:20px;color:#4285f4}.auth-error{color:#d32f2f;background:#d32f2f1a;border:1px solid #d32f2f;border-radius:6px;padding:.75rem;margin:.75rem 0 0;font-size:.9rem}.secondary-btn{width:100%;padding:.75rem;background:#7bd7ff33;color:#0b0f19;border:1px solid #7bd7ff;border-radius:6px;font-weight:600;cursor:pointer;transition:all .15s;margin-bottom:.5rem;font-size:.95rem}.secondary-btn:hover{background:#7bd7ff66}.save-btn{width:100%;padding:.75rem;background:#7bd7ff;color:#0b0f19;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background .15s;margin-bottom:1rem}.save-btn:hover{background:#5bc4f0}.switch{position:relative;display:inline-flex;width:44px;height:24px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background:linear-gradient(135deg,#232a3e,#181c2c);transition:.2s;border-radius:24px;box-shadow:0 2px 8px #7c8bff1a}.switch input:checked+.slider{background:linear-gradient(135deg,#7bd7ff,#7c8bff)}.slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background:#e8edf7;box-shadow:0 2px 6px #7c8bff26;transition:.2s;border-radius:50%}.switch input:checked+.slider:before{transform:translate(20px);background:#fff}.switch .slider{border:1.5px solid #7bd7ff}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading h2{margin:0}.panel-heading-controls{display:flex;align-items:center;gap:.5em;margin:0}.panel-heading-controls .switch{margin:0}.panel-heading-label{font-size:1em;-webkit-user-select:none;user-select:none}.format-label{font-weight:500;margin-right:8px}.format-select{min-width:160px}
