:root{color:#162d34;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f6f8f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}button{cursor:pointer}a{color:#176f70}#root{flex-direction:column;min-height:100vh;display:flex}.site-header{background:#fff;border-bottom:1px solid #e2eaea;align-items:center;gap:14px;padding:15px max(22px,50vw - 520px);display:flex}.brand-icon{color:#fff;background:#176f70;border-radius:12px;place-items:center;width:44px;height:44px;font-size:28px;font-weight:700;display:grid}.site-header strong{letter-spacing:.14em;font-size:18px;display:block}.site-header span{color:#5c767b;margin-top:3px;font-size:12px;display:block}.header-tag{color:#5c767b;border:1px solid #d9e2e1;border-radius:40px;margin-left:auto;padding:8px 10px;font-size:12px}main{flex:1;width:min(1040px,100% - 40px);margin:26px auto 70px}.hero{color:#fff;background:linear-gradient(125deg,#0d595b,#198081);border-radius:22px;padding:38px 42px}.hero-overline,.eyebrow{letter-spacing:.14em;font-size:11px;font-weight:700}.hero h1{letter-spacing:-.04em;margin:12px 0 8px;font-size:clamp(26px,4vw,40px)}.hero p{color:#d3efec;margin:0 0 26px}.search{color:#335055;background:#fff;border-radius:12px;align-items:center;gap:12px;max-width:680px;padding:12px 15px;display:flex}.search span{font-size:25px;line-height:1}.search input{border:none;outline:none;flex:1;min-width:0;font-size:15px}.filters{flex-wrap:wrap;gap:8px;margin:22px 0;display:flex}.filters button{color:#3b5e62;background:#fff;border:1px solid #dce4e4;border-radius:40px;padding:10px 16px}.filters button.active{color:#fff;background:#176f70;border-color:#176f70}.catalog-heading,.chart-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.catalog-heading h2,.chart-heading h2{font-size:20px}.catalog-heading span,.chart-heading span{color:#617b7e;font-size:13px}.song-list{gap:10px;display:grid}.song-card{text-align:left;background:#fff;border:1px solid #e0e9e8;border-radius:16px;align-items:center;gap:16px;width:100%;padding:16px;transition:border-color .15s,transform .15s;display:flex}.song-card:hover{border-color:#77b9b4;transform:translateY(-1px)}.song-icon{color:#176f70;background:#e7f2f0;border-radius:12px;flex-shrink:0;place-items:center;width:49px;height:49px;font-size:28px;display:grid}.song-overview{flex:1;gap:5px;display:grid}.song-overview strong{color:#1b3639;font-size:16px}.song-overview small,.song-tags small{color:#698084;font-size:12px}.song-tags{flex-direction:column;align-items:center;gap:4px;display:flex}.key-chip{background:#edf3f2;border-radius:8px;padding:6px 10px;font-size:13px;font-weight:700}.arrow{color:#a0b2b2;font-size:26px}footer{text-align:center;color:#718689;padding:25px;font-size:12px}.empty{text-align:center;color:#607678;background:#fff;border-radius:14px;padding:40px}.back{color:#176f70;background:0 0;border:0;margin-bottom:16px;padding:8px 0;font-weight:600}.detail-head{background:#fff;border:1px solid #e5eae9;border-radius:18px;justify-content:space-between;align-items:center;padding:25px;display:flex}.detail-head .eyebrow{color:#176f70}.detail-head h1{margin:7px 0;font-size:clamp(24px,4vw,35px)}.detail-head p{color:#617d80;margin:0}.large-key{text-align:center;color:#176f70;background:#e7f3f0;border-radius:13px;min-width:66px;padding:16px;font-size:23px;font-weight:800}.settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:17px 0;display:grid}.setting{background:#fff;border:1px solid #e0e9e8;border-radius:14px;padding:17px}.setting>label{color:#627a7c;margin-bottom:10px;font-size:12px;display:block}.toggle,.stepper{align-items:center;gap:8px;display:flex}.toggle button,.stepper button{color:#2c5c5b;background:#f4f7f7;border:1px solid #dce7e5;border-radius:9px;padding:10px 12px}.toggle button.selected{color:#fff;background:#176f70;border-color:#176f70}.stepper button{width:38px;height:38px;font-size:19px;line-height:1}.stepper strong{text-align:center;min-width:95px;font-size:14px}.info{color:#46676b;background:#e8f3f2;border-radius:12px;padding:15px 17px;font-size:13px;line-height:1.6}.chart-heading{margin-top:22px}.chart-scroll{background:#fff;border:1px solid #dce5e5;border-radius:16px;padding:22px;overflow:auto}.chord-chart{white-space:pre;min-width:max-content;font-family:Courier New,ui-monospace,monospace;line-height:1.45}.chord-line{color:#0d777b;font-weight:800;line-height:1.1}.lyric-line{color:#243a3e}.notes,.resources{background:#fff;border:1px solid #e1e9e9;border-radius:14px;margin-top:18px;padding:18px}.notes p{color:#567174;margin:9px 0}.notes small,.resources p{color:#61797d}.resources h2{margin-top:0;font-size:18px}.resources a{margin-right:20px;display:inline-block}.detail{max-width:900px;margin:0 auto}@media (width<=680px){.site-header{padding:12px 17px}.site-header span{font-size:10px}.header-tag{display:none}main{width:calc(100% - 24px);margin:14px auto 50px}.hero{border-radius:16px;padding:25px 20px}.settings{grid-template-columns:1fr}.song-card{gap:10px;padding:12px}.song-icon{width:40px;height:40px}.song-overview strong{font-size:14px}.chart-scroll{padding:14px}.detail-head{padding:18px}.detail-head h1{font-size:24px}}.admin-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;display:flex}.admin-actions button,.import-backup{color:#155c5d;font:inherit;background:#fff;border:1px solid #b8d4d0;border-radius:9px;padding:11px 14px}.admin-actions button:first-child{color:#fff;background:#176f70}.admin-actions .danger{color:#a12626}.import-backup{flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;display:flex}.import-backup input{min-width:0;max-width:100%}.storage-note,.song-editor small{color:#567174;font-size:13px}.song-editor{background:#fff;border:1px solid #dce5e5;border-radius:16px;padding:22px}.song-editor label{flex-direction:column;gap:7px;min-width:0;display:flex}.editor-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.song-editor input,.song-editor select,.song-editor textarea{font:inherit;box-sizing:border-box;border:1px solid #b8cecb;border-radius:7px;width:100%;padding:10px}.song-editor textarea{white-space:pre;resize:vertical;tab-size:4;font-family:Courier New,monospace;overflow:auto}.song-editor small{line-height:1.5}[role=alert]{color:#922d20;background:#fff0ed;border-radius:8px;padding:12px}[role=status]{color:#176f70}@media (width<=600px){.editor-fields{grid-template-columns:1fr}.song-editor{padding:14px}.admin-actions>*{max-width:100%}}.main-navigation{border-bottom:1px solid #dce5e5;gap:8px;margin-bottom:22px;padding-bottom:12px;display:flex}.main-navigation button,.library-filters button,.primary-button,.song-actions button,.secondary-tools button,.delete-zone button{color:#155c5d;font:inherit;background:#fff;border:1px solid #b8d4d0;border-radius:9px;padding:11px 15px}.main-navigation [aria-current=page],.primary-button{color:#fff;background:#176f70}.main-navigation button{flex:1;max-width:220px}.library-filters{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;margin:22px 0;display:grid}.library-filters label{color:#46676b;flex-direction:column;gap:7px;font-size:13px;display:flex}.library-filters select{width:100%;font:inherit;background:#fff;border:1px solid #b8d4d0;border-radius:8px;min-width:0;padding:11px}.catalog-heading{flex-wrap:wrap;margin-bottom:10px}.catalog-heading .primary-button{margin-left:auto}.admin-panel{background:#fff;border:1px solid #dce5e5;border-radius:14px;margin:18px 0;padding:20px}.admin-panel h2{margin-top:0;font-size:19px}.admin-panel p{color:#567174;line-height:1.6}.editor-fieldset{border:0;min-width:0;margin:0;padding:0}.secondary-tools{border:1px solid #dce5e5;border-radius:9px;margin-top:20px;padding:14px}.secondary-tools summary{cursor:pointer;color:#176f70}.secondary-tools p{font-size:13px;line-height:1.5}.secondary-tools button{margin-top:10px}.delete-zone{border-top:1px solid #eee;margin-top:25px;padding-top:15px}.delete-zone .danger{color:#a12626}.song-actions{justify-content:flex-end;margin-bottom:10px;display:flex}button:disabled{opacity:.55;cursor:wait}@media (width<=680px){.library-filters{grid-template-columns:1fr}.main-navigation button{max-width:none}.admin-panel{padding:15px}}.tonality-field{flex-direction:column;gap:7px;min-width:0;display:flex}.key-detection>button{margin-top:3px}.key-detection button{color:#155c5d;font:inherit;background:#eef7f5;border:1px solid #b8d4d0;border-radius:8px;padding:9px 12px}.key-detection section{background:#f5faf9;border:1px solid #b8d4d0;border-radius:9px;margin-top:10px;padding:12px;font-size:13px;line-height:1.5}.key-detection ul{padding-left:20px}.key-detection li{margin-bottom:16px}.key-detection li p{margin:6px 0}.key-detection li button{white-space:normal;text-align:left;max-width:100%}.word-import>button{color:#fff;font:inherit;background:#176f70;border:1px solid #176f70;border-radius:8px;padding:11px 14px}.word-import p{color:#567174;font-size:13px;line-height:1.5}.word-review{background:#fff9e9;border:1px solid #e1cf94;border-radius:10px;margin:18px 0;padding:16px;font-size:14px;line-height:1.6}.word-review h2{margin-top:0;font-size:18px}.song-editor .word-review-check{flex-direction:row;align-items:flex-start;margin-top:15px;font-size:14px}.song-editor .word-review-check input{width:auto;margin-top:4px}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;height:1px;margin:-1px;position:absolute;overflow:hidden;border:0!important;width:1px!important;padding:0!important}.word-success{color:#1d633b;background:#e8f5ed;border:1px solid #bfdcc8;border-radius:9px;padding:12px;line-height:1.5}.word-review-summary .word-review{margin:10px 0;padding:10px 14px;font-size:13px}.word-review summary{cursor:pointer;font-weight:600}.word-review ul{margin:10px 0 0;padding-left:20px}.word-review li+li{margin-top:6px}.detail-head{align-items:flex-start;gap:24px}.detail-head>div:first-child{min-width:0}.detail-head h1,.detail-head p{overflow-wrap:anywhere}.tonality-summary{flex-direction:column;flex:none;align-items:flex-end;gap:9px;max-width:270px;display:flex}.real-key-card{color:#176f70;box-sizing:border-box;background:#e7f3f0;border-radius:13px;flex-direction:column;align-items:center;gap:4px;min-width:130px;padding:14px 22px;display:flex}.key-caption{font-size:12px;font-weight:600}.key-value{font-size:36px;font-weight:800;line-height:1.15}.positions-key{color:#526f72;text-align:right;font-size:13px;line-height:1.5}.positions-key strong{color:#285c5c}.toggle.notation-toggle{background:#f4f7f7;border:1px solid #dce7e5;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;max-width:340px;padding:3px;display:grid}.notation-toggle button{text-align:center;white-space:normal;overflow-wrap:anywhere;background:0 0;border-color:#0000;width:100%;min-width:0;padding:8px 6px;font-size:13px;line-height:1.4}.notation-toggle button.selected{color:#fff;background:#176f70;border-color:#176f70;font-weight:600}.setting .control-hint{color:#6b8082;margin:8px 0 0;font-size:12px;line-height:1.45}.spelling-select{font:inherit;color:#2c5c5b;box-sizing:border-box;background:#fff;border:1px solid #c7d9d6;border-radius:9px;width:100%;min-width:0;max-width:340px;padding:9px 12px;font-size:15px;line-height:1.4}.settings>.setting{min-width:0}@media (width<=540px){.detail-head{flex-direction:column;gap:16px}.tonality-summary{align-items:flex-start;width:100%;max-width:100%}.positions-key{text-align:left}.real-key-card{min-width:140px}.notation-toggle button{padding:9px 5px}}
