/*! Chordsetter | Copyright (c) 2026 Irvin Leshchinsky. All rights reserved. */
@layer foundation{@media screen{:root{--text-secondary: #5f635e;--text-tertiary: #6c716b;--muted: var(--text-secondary);--faint: #858a82;--control-surface: #fbfaf7;--rule-soft: #e7e5df;--focus-ring: #663d5426}.header-descriptor,.song-artist-input,.tray-key,.structure-footer .text-button,.library-count,.input-unit>span,.paper-copyright,.export-format-note,.field-optional{color:var(--text-secondary)}.eyebrow{color:var(--text-secondary);font-size:11px;letter-spacing:1.1px}.outline-item{color:var(--text-secondary);font-size:12px}.outline-number{color:var(--text-tertiary);opacity:1}.tiny-count{color:var(--text-tertiary)}.field-label,.modal .field-label,.more-details summary,.transpose-button,.insert-tools button,.insert-type-tabs button{color:var(--text-secondary);font-size:12px}.field-hint,.modal-new .field-hint,.modal-pco .field-hint,.source-intro p,.source-footnote,.export-description,.modal-description,.pco-metadata-note,.lyric-workspace-tools p{color:var(--text-secondary);font-size:12px;line-height:1.65}.insert-tools button>span,.insert-tools button>svg,.structure-footer .text-button,.privacy-note,.modal-footer .privacy-note,.import-file-row>span,.export-warnings,.export-warnings ul{color:var(--text-tertiary);font-size:11px}.tray-chord{color:var(--accent)}.input-unit>span{font-size:10px;letter-spacing:0}.add-section,.paper-add-section,.add-line-inline{color:var(--text-secondary)}.paper-add-section,.add-line-inline{font-size:11px}.section-presets button{color:var(--text-secondary);font-size:11px}.shortcut-list dt{color:var(--text-secondary);font-size:12px}kbd{color:var(--text-secondary);font-size:10px;border-color:var(--rule);background:var(--control-surface)}.paper-kicker{color:var(--text-tertiary);font-size:10px;letter-spacing:1px}.paper-edition{letter-spacing:.2px}.paper-metadata,.paper-metadata>span{color:var(--ink);font-size:12px}.paper-metadata small{color:var(--text-secondary);font-size:10px;letter-spacing:.5px}.section-name{font-size:12px;font-weight:650;letter-spacing:.8px}.section-index{color:var(--text-tertiary);font-size:9px}.library-song small,.library-arrangements,.arrangement-open small,.pco-arrangement small{font-size:12px}#source-editor{color:var(--ink);font-size:13px}.import-textarea,.export-preview{color:var(--ink);font-size:12px}.source-format-label{color:var(--text-tertiary);font-size:10px;letter-spacing:.5px}.source-editor-header,.source-editor-footer{color:var(--text-secondary);font-size:11px;background:var(--control-surface)}.source-editor-header>span:last-child{font-size:11px}.export-tabs button{color:var(--text-secondary);font-size:12px}.inline-note{color:var(--text-secondary)}.lyric-workspace-tools strong{color:var(--ink);font-size:13px}.lyric-section-label>label{color:var(--text-secondary);font-size:10px;letter-spacing:.7px}.lyric-section-heading .section-index{color:var(--text-tertiary)}.lyric-section-controls>span,.lyric-block-footer{color:var(--text-tertiary);font-size:11px}.section-name-completion-hint,.detected-section-row>span:last-child{color:var(--text-secondary);font-size:11px}.detected-section-row p{color:var(--text-secondary);font-size:12px}.field-optional{font-size:11px}.paper-copyright{font-size:10px}.annotation-line:not(.directive-line)>button:first-child,.annotation-copy{color:var(--text-secondary);font:italic 13px/1.5 var(--serif)}.annotation-copy .inline-chord,.annotation-copy .inline-marker{font-family:var(--mono);font-style:normal}.annotation-line:not(.directive-line):hover>button:first-child{color:var(--accent)}input:not([type=checkbox]):focus,textarea:focus,select:focus,.song-title-input:focus,.song-artist-input:focus,.lyric-section-heading .lyric-section-name:focus,.section-lyric-editor:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--focus-ring)}#source-editor:focus{box-shadow:inset 0 0 0 2px var(--accent)}summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}}@media screen and (max-width:600px){.outline-item{font-size:11px}.outline-number{font-size:8px}.section-name{font-size:11px;letter-spacing:.65px}.section-index{font-size:9px}.paper-kicker{font-size:9px;letter-spacing:.7px}.paper-metadata,.paper-metadata>span{font-size:11px}.paper-metadata small{font-size:9px;letter-spacing:.3px}.library-song small,.library-arrangements{font-size:11px}.source-editor-header,.source-editor-header>span:last-child,.source-editor-footer{font-size:10px}}@media screen{.chord-popover{padding:16px;border-color:var(--rule);box-shadow:0 8px 28px #342c3626,0 2px 6px #342c3610}.chord-popover:after{content:none}.chord-popover-heading .eyebrow{font-size:10px;letter-spacing:.9px}.chord-popover-heading .icon-button{margin:-5px -5px -3px 0}.chord-popover .lane-value-label{margin:12px 0 8px;font-size:12px;color:var(--ink)}.chord-input-row{gap:8px;margin:8px 0 12px}.chord-popover .lane-value-help{margin:0 0 12px;font-size:12px;line-height:1.55;color:var(--text-secondary)}.popover-chord-tray{gap:6px}.popover-chord-tray button{min-width:30px;min-height:32px;padding:6px 7px;border-color:var(--rule);border-radius:4px;background:var(--control-surface);color:var(--accent);font-size:12px;line-height:1.4}.popover-chord-tray button:hover{background:var(--accent-soft);border-color:#b69aae;color:var(--accent-hover)}.notation-preset-row{gap:8px;margin-top:12px}.notation-preset-row select{padding:8px 10px;min-height:36px;border-radius:4px;background:var(--control-surface)}.instrumental-editor-actions{gap:12px;margin-top:12px;flex-wrap:wrap}.instrumental-editor-actions>span{line-height:1.7}.instrumental-editor-actions .text-button,.add-lane-companion{font-size:12px}.instrumental-editor-actions .button{min-height:32px;font-size:12px;padding:6px 9px}.chord-popover .field-hint{margin-top:12px;font-size:12px;line-height:1.55}.chord-popover-footer{gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid var(--rule-soft);color:var(--text-secondary);font-size:11px}.chord-popover-footer .text-button{font-size:11px}.notation-tools{gap:7px;grid-auto-rows:1fr}.notation-tool{display:grid;grid-template-columns:minmax(22px,max-content) minmax(0,1fr);column-gap:6px;min-height:54px;padding:8px 6px;border-color:#d4ddd8;background:#f7f9f5;border-radius:4px;font-size:11px;line-height:1.4}.notation-symbol{width:auto;min-width:22px;font-style:normal}.notation-tool>span:last-child{min-width:0}.notation-tool>span:only-child{grid-column:1 / -1;text-align:center}.notation-tool:hover,.notation-tool:focus-visible{background:#e8efea;border-color:#8bac9f}.notation-tool.is-armed,.notation-tool.is-armed:hover,.notation-tool.is-armed:focus-visible{background:#38665c;border-color:#38665c;color:#fff}.notation-hint{font-size:12px!important;line-height:1.6}.lyric-section-card{background:var(--paper);border-color:var(--rule)}.lyric-section-top{background:#f7f5f0;border-bottom-color:var(--rule-soft);box-shadow:none;padding:12px 14px}.lyric-section-heading input.lyric-section-name:not(:focus){border-color:transparent;background:transparent}.lyric-section-heading input.lyric-section-name:hover:not(:focus){border-color:var(--rule)}.lyric-section-controls{padding-top:10px}.lyric-section-controls .button{border-color:var(--rule-soft);background:var(--control-surface)}.lyric-section-controls .button:hover{background:var(--accent-soft);border-color:#c9b7c2}.lyric-section-body{padding:8px 14px 12px}.lyric-section-card .section-lyric-editor:not(:focus){border-color:transparent;background:transparent}.lyric-section-card .section-lyric-editor:hover:not(:focus){border-color:var(--rule-soft)}.lyric-block-footer{padding-top:10px}.modal .field-label{margin-top:16px;margin-bottom:16px}.modal-details .detail-field-grid{margin:16px 0}.modal-footer{padding-top:18px;margin-top:20px}.arrangement-list+.modal-footer{border-top:0;margin-top:0;padding-top:20px}#pco-send-form .pco-destination{gap:8px}#pco-send-form .pco-destination>strong{font-size:21px}#pco-send-form .pco-destination>span{color:var(--ink);font-size:14px;line-height:1.5;font-weight:500}.instrumental-guide{border-bottom-color:#eeede8;border-bottom-style:solid}.instrumental-tools,.instrumental-tools .text-button{color:var(--text-secondary)}.instrumental-tools .text-button:hover{color:var(--accent)}.instrumental-empty-hint{color:var(--text-tertiary)}}@media screen{.editor-region{--editor-inset: 24px}.arrangement-bar,.editor-toolbar,.editor-guidance{padding-left:var(--editor-inset);padding-right:var(--editor-inset);background:var(--bg);border-bottom-color:var(--rule-soft)}.arrangement-bar{flex-wrap:wrap;gap:10px}.arrangement-bar select{min-width:160px;min-height:36px}.arrangement-bar>button{flex-shrink:0;min-height:34px}.editor-toolbar{min-height:50px}.mode-switch{background:#eae8e3;border-color:var(--rule-soft)}.mode-switch button{font-size:11px;line-height:1.4;padding:6px 8px;color:var(--text-secondary)}.mode-switch button.selected{color:var(--accent);background:var(--paper)}.editor-guidance{font-size:12px;line-height:1.5;color:var(--text-secondary)}.editor-guidance svg{color:var(--text-tertiary)}.guidance-end{font-size:10px;letter-spacing:.5px;color:var(--text-tertiary)}.editor-guidance.is-armed{color:var(--accent);background:var(--accent-soft);border-bottom-color:#ded2da}.app-footer{padding-top:5px;padding-bottom:5px;gap:3px 14px;color:var(--text-secondary);font-size:11px;line-height:1.45}#save-status{font-size:11px;color:var(--text-secondary)}.footer-song,.app-footer button,.app-credits{color:var(--text-secondary)}.app-footer .app-license-button{color:var(--accent)}}@media screen and (max-width:1190px){.editor-region{--editor-inset: 20px}#save-status{flex-basis:auto}.pco-remote-status{white-space:normal}}@media screen and (max-width:990px){.editor-region{--editor-inset: 16px}.editor-toolbar{gap:10px}.mode-switch button{padding-left:7px;padding-right:7px}}@media screen and (max-width:810px){.editor-region{--editor-inset: 20px}.arrangement-bar select{flex-basis:160px}.editor-guidance{font-size:11px}}@media screen and (max-width:600px){.editor-region{--editor-inset: 12px}.arrangement-bar{gap:8px;padding-top:9px;padding-bottom:9px}.arrangement-bar label{font-size:10px}.arrangement-bar select{flex:1 1 150px;min-width:150px;max-width:none;font-size:12px;padding-left:8px;padding-right:8px}.arrangement-bar>button{min-height:34px;padding-left:7px;padding-right:7px;font-size:10px}.editor-toolbar{gap:6px;height:50px;flex-basis:50px}.view-tabs{gap:12px}.mode-switch{padding:3px}.mode-switch button{font-size:10px;padding:6px 5px;gap:4px}.history-controls{gap:0}.history-controls .icon-button{width:20px}.mobile-details-button{width:24px}.editor-guidance{font-size:11px;padding-top:8px;padding-bottom:8px}.song-title-input{font-size:clamp(25px,6.7vw,30px);letter-spacing:-.65px}.paper-kicker{margin-bottom:12px}.app-footer{padding:5px 13px;gap:2px 10px;font-size:10px;line-height:1.4}#save-status{flex:0 0 auto;font-size:10px}.pco-remote-status{flex:1 1 180px;min-width:0;margin-left:auto;text-align:right;font-size:10px;white-space:normal}.footer-stats{flex-basis:100%;margin-left:0;text-align:right;font-size:10px}.footer-local-note{flex:1 1 180px;min-width:0;text-align:right;font-size:10px}.app-credits{width:100%;gap:2px 12px;align-items:baseline}.app-footer .app-license-button{min-height:24px}.modal{max-height:calc(100dvh - 32px);padding:22px 22px 26px}.modal-footer{gap:10px;padding-top:16px;margin-top:20px}.modal-details .detail-field-grid{margin:16px 0}.modal-footer .privacy-note{max-width:none;font-size:10px}}@media screen{.notation-quick-button{flex:0 0 34px;min-height:36px;padding:5px;border:1px solid var(--rule);border-radius:4px;background:var(--control-surface);color:var(--marker);font:18px var(--mono)}.notation-quick-button:hover,.notation-quick-button:focus-visible{border-color:var(--marker);background:var(--marker-soft)}}}
