@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap";:root{color:#eff4f0;font-synthesis:none;--bg:#0a0d0f;--panel:#101519;--panel2:#151c20;--border:#263137;--muted:#8d9ba0;--subtle:#5d6b70;--accent:#b8f33d;--accent-soft:#b8f33d1c;--sidebar:278px;--mono:"DM Mono",monospace;background:#0a0d0f;font-family:Manrope,system-ui,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 70% -10%,#b8f33d17,transparent 30rem),var(--bg);color:#eff4f0;min-width:320px;margin:0}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app-shell{min-height:100vh}.sidebar{width:var(--sidebar);border-right:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:10;background:#101519f0;flex-direction:column;gap:24px;padding:26px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;display:flex}.brand__mark{width:42px;height:42px;color:var(--accent);background:var(--accent-soft);border:1px solid #b8f33d47;border-radius:12px;place-items:center;display:grid}.brand strong,.brand small{display:block}.brand strong{letter-spacing:-.02em;font-size:15px}.brand small{color:var(--muted);margin-top:3px;font-size:10px}.sidebar-close{margin-left:auto;display:none}.new-button,.save-button{background:var(--accent);color:#111708;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:800;display:inline-flex}.new-button{width:100%;height:43px}.library-heading{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;justify-content:space-between;font-size:11px;font-weight:800;display:flex}.library-heading span:last-child{color:var(--subtle);font-family:var(--mono);font-weight:400}.search-box{border:1px solid var(--border);height:40px;color:var(--muted);background:#0d1215;border-radius:8px;align-items:center;gap:9px;padding:0 12px;display:flex}.search-box input{color:#eff4f0;background:0 0;border:0;outline:0;width:100%;font-size:12px}.search-box input::placeholder{color:var(--subtle)}.song-list{gap:5px;display:grid;overflow:auto}.song-item{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:10px;display:grid}.song-item:hover{background:#172025}.song-item.is-active{background:var(--accent-soft);border-color:#b8f33d33}.song-item__icon{width:29px;height:29px;color:var(--muted);background:#1e292d;border-radius:7px;place-items:center;display:grid}.is-active .song-item__icon{color:var(--accent);background:#b8f33d1f}.song-item strong,.song-item small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.song-item strong{font-size:12px}.song-item small{color:var(--muted);margin-top:3px;font-size:10px}.song-item__key{font-family:var(--mono);color:var(--accent);font-size:11px}.sidebar__footer{gap:12px;margin-top:auto;display:grid}.status-card{border:1px solid var(--border);background:#0d1215;border-radius:8px;gap:10px;padding:12px;display:flex}.status-card strong,.status-card small{display:block}.status-card strong{font-size:11px}.status-card small{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.4}.status-dot{background:var(--accent);width:7px;height:7px;box-shadow:0 0 0 4px var(--accent-soft);border-radius:50%;flex:none;margin-top:4px}.navigation-link{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;font-size:12px;display:flex}.main-content{min-height:100vh;margin-left:var(--sidebar)}.topbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;height:76px;padding:0 clamp(24px,4vw,58px);display:flex}.breadcrumb{min-width:0;color:var(--muted);align-items:center;gap:9px;font-size:12px;display:flex}.breadcrumb strong{text-overflow:ellipsis;white-space:nowrap;color:#eff4f0;font-weight:700;overflow:hidden}.topbar-actions{align-items:center;gap:9px;display:flex}.icon-button{border:1px solid var(--border);width:36px;height:36px;color:var(--muted);cursor:pointer;background:#11171a;border-radius:8px;place-items:center;padding:0;display:grid}.icon-button:hover{color:#eff4f0;border-color:#3a484e}.icon-button:disabled{cursor:not-allowed;opacity:.35}.save-button{height:36px;padding:0 14px;font-size:12px}.file-button{color:var(--muted);cursor:pointer;align-items:center;gap:7px;font-size:12px;display:inline-flex}.file-button input,.menu-button{display:none}.workspace{width:min(100%,1320px);margin:0 auto;padding:52px clamp(24px,4vw,58px) 70px}.workspace-header{justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:34px;display:flex}.eyebrow{color:var(--accent);letter-spacing:.18em;text-transform:uppercase;margin:0 0 10px;font-size:10px;font-weight:800}.workspace h1{letter-spacing:-.055em;margin:0;font-size:clamp(31px,4vw,46px);line-height:1}.subtitle{color:var(--color-subtitle,var(--muted));margin:12px 0 0;font-size:13px}.dot-separator{color:var(--subtle);margin:0 8px}.header-tools{align-items:center;gap:13px;display:flex}.save-state{color:var(--subtle);font-size:11px}.editor-layout{grid-template-columns:minmax(0,1.28fr) minmax(300px,.72fr);align-items:start;gap:18px;display:grid}.sheet-card,.source-panel{border:1px solid var(--border);background:#101519db;border-radius:13px;min-width:0;box-shadow:0 18px 60px #00000029}.sheet-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding:14px 17px;display:flex}.toolbar-label{color:var(--muted);align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.sheet-controls{align-items:center;gap:5px;display:flex}.control-button{border:1px solid var(--border);min-width:29px;height:29px;color:var(--muted);cursor:pointer;background:#151d20;border-radius:6px;padding:0 8px;font-size:11px}.control-button:hover{color:#eff4f0;border-color:#3b4a50}.control-value{min-width:84px;color:var(--subtle);font-family:var(--mono);text-align:center;font-size:10px}.toolbar-divider{background:var(--border);width:1px;height:20px;margin:0 5px}.leadsheet{aspect-ratio:auto;color:#111;overflow-wrap:anywhere;background:#fff;flex:0 0 794px;width:794px;min-height:1123px;margin:0 auto;padding:42px 44px 48px;font-family:Times New Roman,Times,serif;line-height:1.15}.leadsheet-columns{align-items:start;gap:34px;display:grid}.leadsheet-column{min-width:0}.sheet-title{text-align:center;margin-bottom:30px;font-family:Manrope,sans-serif}.sheet-kicker{color:var(--accent);letter-spacing:.16em;text-transform:uppercase;margin:0 0 10px;font-size:.58em;font-weight:800}.sheet-title h2{color:var(--color-title,#f6faf5);letter-spacing:-.05em;margin:0;font-size:1.85em;line-height:1.05}.sheet-title p:last-child{color:var(--color-artist,var(--muted));margin:8px 0 0;font-size:.75em}.song-line{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1em;line-height:inherit;display:block}.song-line--space{height:.8em;min-height:0}.lyric-word{vertical-align:bottom;white-space:pre-wrap;max-width:100%;display:inline-block}.word-piece{display:inline}.lyric-word--chord .word-piece{vertical-align:bottom;grid-template-rows:1.05em auto;max-width:100%;display:inline-grid}.lyric-word--chord .lyric{grid-row:2;min-height:1lh}.chord{color:var(--color-chords,var(--accent));white-space:pre-wrap;overflow-wrap:anywhere;grid-row:1;font-size:.9em;font-style:italic;font-weight:500;line-height:1;display:block}.lyric{color:var(--color-lyrics,#eff4f0);white-space:pre-wrap;overflow-wrap:anywhere}.lyric-whitespace{white-space:break-spaces}.song-line--directive{min-height:1.45em;color:var(--accent);letter-spacing:.12em;text-transform:uppercase;margin-top:.8em;font-family:Manrope,sans-serif;font-size:.72em;font-weight:800}.directive-comment{color:var(--color-comment,var(--muted));letter-spacing:0;text-transform:none;font-style:italic;font-weight:500}.directive-note{color:var(--color-directive,var(--subtle));letter-spacing:.02em;font-size:.78em;font-style:italic;display:inline-block}.directive-break{color:var(--subtle);letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:10px;font-size:.7em;font-weight:700;display:flex}.directive-break:before,.directive-break:after{content:"";background:var(--border);flex:1;height:1px}.directive-highlight{color:#f2f8ee;background:#b8f33d33;border-radius:3px;padding:2px 4px}.directive-comment--italic{font-style:italic}.directive-comment--box{border:1px solid var(--border);border-radius:6px;padding:8px 10px;display:inline-block}.directive-image{max-width:100%;color:var(--subtle);flex-direction:column;gap:5px;font-size:.7em;display:inline-flex}.directive-image img{object-fit:contain;border:1px solid var(--border);border-radius:6px;max-width:min(100%,420px);max-height:260px;display:block}.source-panel{flex-direction:column;min-height:100%;display:flex}.settings-overlay{z-index:40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#040708b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.settings-panel{border:1px solid var(--border);background:#101519;border-radius:16px;width:min(680px,100%);max-height:min(760px,100vh - 48px);overflow:auto;box-shadow:0 24px 90px #00000080}.settings-header{border-bottom:1px solid var(--border);justify-content:space-between;gap:20px;padding:26px 28px 20px;display:flex}.settings-header h2{color:#f6faf5;letter-spacing:-.04em;margin:0;font-size:24px}.settings-header p:last-child{color:var(--muted);margin:9px 0 0;font-size:12px;line-height:1.5}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:22px 28px;display:grid}.color-setting{border:1px solid var(--border);cursor:pointer;background:#0d1215;border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:12px 13px;display:flex}.color-setting span{min-width:0}.color-setting strong,.color-setting small{display:block}.color-setting strong{font-size:12px}.color-setting small{color:var(--muted);font:10px var(--mono);text-transform:uppercase;margin-top:4px}.color-setting input{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:6px;width:38px;height:30px;padding:2px}.source-header{justify-content:space-between;align-items:flex-start;padding:20px 20px 15px;display:flex}.source-header h2{letter-spacing:-.03em;margin:0;font-size:17px}.format-pill{color:var(--accent);font-family:var(--mono);border:1px solid #b8f33d40;border-radius:5px;padding:4px 7px;font-size:10px}.source-panel textarea{border:1px solid var(--border);resize:vertical;color:#dce7de;min-height:500px;font:12px/1.8 var(--mono);background:#0b1012;border-radius:8px;outline:0;flex:1;margin:0 10px;padding:16px}.source-panel textarea:focus{box-shadow:0 0 0 3px var(--accent-soft);border-color:#b8f33d8c}.source-footer{color:var(--subtle);justify-content:space-between;padding:13px 20px;font-size:10px;display:flex}.source-footer span:first-child{color:var(--accent);align-items:center;gap:6px;display:flex}@media (width<=900px){.sidebar{transition:transform .2s;transform:translate(-100%)}.sidebar--open{transform:translate(0);box-shadow:20px 0 60px #0006}.sidebar-close,.menu-button{display:grid}.main-content{margin-left:0}.topbar{padding:0 20px}.breadcrumb span,.breadcrumb svg:nth-of-type(2){display:none}.workspace{padding:35px 20px 50px}.editor-layout{grid-template-columns:minmax(0,1fr)}.source-panel textarea{min-height:350px}.workspace-header{align-items:flex-start;display:block}.header-tools{margin-top:20px}.save-state{margin-left:auto}}@media (width<=560px){.topbar{height:64px}.topbar-actions .file-button{font-size:0}.topbar-actions .file-button svg{width:18px;height:18px}.save-button{padding:0 10px}.workspace{padding:28px 14px 40px}.sheet-toolbar{flex-direction:column;align-items:flex-start}.sheet-controls{justify-content:flex-end;width:100%}.source-header{padding:17px}.source-panel textarea{margin:0 8px}.settings-grid{grid-template-columns:1fr}.settings-header,.settings-grid,.settings-footer{padding-left:17px;padding-right:17px}}.config-section{padding:0 28px 22px}.config-section__header{border-top:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 0 13px;display:flex}.config-section h3{color:#f6faf5;letter-spacing:-.03em;margin:0;font-size:17px}.config-section p:last-child{max-width:520px;color:var(--muted);margin:8px 0 0;font-size:11px;line-height:1.55}.config-editor{border:1px solid var(--border);resize:vertical;color:#dce7de;width:100%;min-height:260px;font:11px/1.75 var(--mono);background:#0b1012;border-radius:8px;outline:0;padding:14px}.config-editor:focus{box-shadow:0 0 0 3px var(--accent-soft);border-color:#b8f33d8c}.config-actions{justify-content:flex-end;align-items:center;gap:9px;margin-top:11px;display:flex}.config-actions .file-button{margin-right:auto}.config-actions .control-button{align-items:center;gap:6px;display:inline-flex}.settings-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:9px;padding:18px 28px;display:flex}.paper-preview{padding:12px;overflow:hidden}.paper-viewport{scrollbar-width:none;width:100%;min-width:0;overflow-y:auto}.paper-viewport::-webkit-scrollbar{display:none}.paper-slot{margin:0 auto;position:relative}.paper-transform{transform-origin:0 0;position:absolute;inset:0 auto auto 0}.paper-notice{color:var(--muted);font:11px/1.5 Manrope,sans-serif}@media screen and (width>=901px){.main-content{flex-direction:column;height:100dvh;min-height:0;display:flex}.topbar{flex:0 0 52px;height:52px}.workspace{flex-direction:column;flex:1;min-height:0;padding-top:12px;padding-bottom:12px;display:flex}.workspace-header{flex:none;align-items:center;gap:16px;margin-bottom:12px}.workspace-header>div:first-child{align-items:baseline;gap:12px;min-width:0;display:flex}.workspace-header .eyebrow{display:none}.workspace h1{text-overflow:ellipsis;white-space:nowrap;font-size:24px;overflow:hidden}.workspace-header .subtitle{margin:0;font-size:12px}.header-tools{min-width:0}.save-state{max-width:260px}.editor-layout{flex:1;grid-template-rows:minmax(0,1fr);align-items:stretch;min-height:0}.sheet-card,.source-panel{flex-direction:column;min-height:0;display:flex}.sheet-toolbar{flex:none;padding-top:8px;padding-bottom:8px}.paper-preview{flex-direction:column;flex:1;min-height:0;padding:8px;display:flex}.paper-viewport{flex:1;min-height:0}.paper-notice{flex:none;margin:8px 0 0}.source-header,.source-footer{flex:none}.source-header{padding-top:12px;padding-bottom:12px}.source-panel textarea{resize:none;min-height:0;overflow:auto}}.chord{font-family:var(--config-chord-family,inherit);font-size:var(--config-chord-size,.9em);font-style:var(--config-chord-style,italic)}.directive-comment{font-family:var(--config-comment-family,inherit);font-size:var(--config-comment-size,inherit);color:var(--color-comment)}.directive-comment--italic{font-family:var(--config-comment-italic-family,var(--config-comment-family,inherit));font-size:var(--config-comment-italic-size,var(--config-comment-size,inherit));font-style:italic}.directive-comment--box{border:1px solid;border-radius:2px;padding:2px 4px}.leadsheet--measure-nowrap .song-line,.leadsheet--measure-nowrap .song-line *{white-space:nowrap!important}.leadsheet .sheet-title h2{color:#111}@media print{.paper-preview{padding:0;overflow:visible}.paper-slot{width:auto!important;height:auto!important}.paper-transform{position:static;transform:none!important}.paper-notice{display:none}@page{size:A4 portrait;margin:0}.sidebar,.topbar,.sheet-toolbar,.source-panel,.workspace-header{display:none!important}.main-content{margin:0}.workspace{width:auto;margin:0;padding:0}.editor-layout{display:block}.sheet-card{box-shadow:none;background:0 0;border:0}.leadsheet{color:#111;background:#fff;width:210mm;max-width:none;height:297mm;min-height:297mm;padding:14mm 15mm 16mm;overflow:hidden}.sheet-title h2,.sheet-title p:last-child,.sheet-kicker,.chord{color:#111}.directive-note,.directive-comment{color:#333}.directive-section{border-color:#999}.leadsheet-columns{gap:10mm}}
