/* Shared geometry. A compact date tile must never contain the event text. */
:root{scroll-padding-top:110px}
.dashboard-columns .panel{padding:28px}.dashboard-columns .section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}.dashboard-columns .section-heading h2{font-size:25px;font-weight:650}.dashboard-columns .section-heading .link{font-size:14px;white-space:nowrap;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.dashboard-event{display:grid;grid-template-columns:58px minmax(0,1fr);gap:18px;padding:24px 0;background:transparent}.dashboard-event:last-child{padding-bottom:0}.dashboard-date{width:58px;min-width:0;min-height:70px;height:70px;border-radius:5px;align-self:start;background:#30292b;color:#f2e9da}.dashboard-date strong{font-size:28px;line-height:1.15}.dashboard-date span{font-size:12px;margin-top:3px}.dashboard-event-copy{min-width:0}.dashboard-event h3{font-size:18px!important;line-height:1.4;font-weight:650;margin:0 0 10px;overflow-wrap:anywhere}.dashboard-event p{font-size:14px;line-height:1.6;margin:6px 0}.dashboard-event .link{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;margin-top:6px;text-decoration:none;font-size:14px}.dashboard-group{padding:22px 0}.dashboard-group strong{font-size:17px;line-height:1.4}.dashboard-stats{margin:28px 0 32px}.dashboard-stats a{align-items:center}.dashboard-stats strong{line-height:1.2}.dashboard-columns .panel,.daily-joke{border-radius:8px}.dashboard-stats span{line-height:1.5}.profile-appearance{border-bottom:1px solid var(--line);padding-bottom:24px}.profile-appearance h2{font-size:25px}.profile-appearance>p{font-size:15px;margin:8px 0 18px;color:var(--muted)}.theme-choice{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:7px;background:var(--surface-raised);width:fit-content}.theme-choice button,.nav-dropdown-panel .theme-choice button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 14px;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:4px;font-size:14px;font-weight:600;white-space:nowrap}.theme-choice button[aria-pressed=true],.nav-dropdown-panel .theme-choice button[aria-pressed=true]{background:#873b3c;color:#fff;border-color:#ad6464}.theme-choice button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.nav-theme{padding:8px 10px 14px;border-bottom:1px solid var(--line);margin-bottom:6px}.theme-save-status{font-size:13px!important;color:var(--muted);min-height:20px;margin:12px 0 0!important}.theme-choice-profile button{min-width:110px}.theme-choice span{font-family:Arial,sans-serif;font-size:18px}
/* Dark: neutral charcoal, clearer borders, restrained wine-red accents. */
:root[data-theme=dark]{--ink:#101113;--surface:#191a1c;--surface-raised:#242426;--line:#3d3b3a;--muted:#bfb9b1;background:var(--ink)}
[data-theme=dark] :is(.platform,.layout,.main,body){background:var(--ink)}
[data-theme=dark] :is(.panel,.daily-joke,.joke-card,.group-card,.group-card-body,.song-card,.practice-document,.practice-empty,.chord-panel,.gear-card,.gear-form,.profile-card,.meeting-card,.playlist-card,.catalog-row,.member-line){background:var(--surface)}
[data-theme=dark] .site-header{background:#101113f5}
/* Light: ivory paper, ink typography, burgundy details. Photography keeps its contrast. */
:root[data-theme=light]{color-scheme:light;--ink:#f7f4ed;--paper:#272626;--surface:#fffdf9;--surface-raised:#eee9e0;--green:#873b3c;--gold:#925534;--muted:#68615b;--line:#dcd5ca;background:#f7f4ed;color:#272626}
[data-theme=light] :is(body,.platform,.layout,.main,.sidebar,.topbar,.mobile-group-context,.auth,.auth-body,.boot,.pdf-focused){background:#f7f4ed;color:#272626}
[data-theme=light] :is(h1,h2,h3,h4,label,.properties strong,.file .name,.file-category h4,.gear-card h2,.dialog-head h2,.global-search>label,.solo-tone-legend>strong,.tuner-note),[data-theme=light] #app :is(h1,h2,h3){color:#272626}
[data-theme=light] :is(.muted,small,.lead,.page-head p,.auth-card p,.auth-foot,.dashboard-event p,.dashboard-group small,.group-card p,.song-style,.song-card .song-meta,.song-ratings>div>span:first-child,.song-facts,.file-description,.file small,.playing-labels,.meeting-card-copy p,.meeting-date,.proposal-place,.gear-card p,.gear-card small,.learning-head p,.rhythm-key,.joke-cadence,.joke-count,.joke-setup,.community-toolbar span){color:#68615b}
[data-theme=light] .eyebrow{color:#87533e}[data-theme=light] :is(.link,.back,.preview-open,.mobile-group-context a){color:#843b3c}[data-theme=light] .danger{color:#a22929}
[data-theme=light] :is(.panel,.notice,.empty,.sync-error,.group-card,.group-card-body,.song-card,.practice-document,.practice-empty,.chord-panel,.playlist-card,.meeting-card,.proposal,.catalog-row,.setlist-row,.member-line,.songrow,.gear-card,.gear-form,.gear-tabs,.profile-card,.joke-card,.daily-joke,.memory-photo){background:#fffdf9;color:#272626;border-color:#dcd5ca}
[data-theme=light] :is(.empty p,.notice a){color:#68615b}[data-theme=light] .notice.ok{background:#e6efe6;color:#2e543c;border-color:#b8cfbc}
[data-theme=light] :is(input,select,textarea,.filters input,.filters select,.global-search>input,#overlay-search,.auth-card input){background:#fffdf9;color:#272626;border-color:#bdb2a5;accent-color:#873b3c}
[data-theme=light] :is(input,textarea)::placeholder{color:#7b736a}[data-theme=light] option{background:#fffdf9;color:#272626}
[data-theme=light] :is(.secondary,button.secondary,a.secondary){background:#fffdf9;border-color:#bcaa9d;color:#623c35}[data-theme=light] .secondary:hover{background:#eee7dc}
[data-theme=light] :is(button,a,input,textarea,select,summary):focus-visible{outline-color:#873b3c}
[data-theme=light] .site-header{background:#f7f4edf5;border-color:#dcd5ca}[data-theme=light] .site-header .brand{color:#272626}[data-theme=light] .site-header .brand img{background:#171414;padding:4px;border-radius:6px!important}
[data-theme=light] :is(.site-header .main-navigation a,.site-header .nav-dropdown>summary,.nav-dropdown-panel button,.sidebar .nav-label,.sidebar .nav a){color:#36312d}
[data-theme=light] .site-header .main-navigation a[aria-current=page],[data-theme=light] .site-header .nav-dropdown>summary.section-current{color:#843b3c}
[data-theme=light] .site-header .main-navigation a:hover,[data-theme=light] .site-header .nav-dropdown>summary:hover,[data-theme=light] .nav-dropdown-panel button:hover{background:#ece5da;color:#562d2c}
[data-theme=light] :is(.nav-dropdown-panel,.site-header .nav-dropdown-panel,.site-header .main-navigation.is-open){background:#fffdf9;border-color:#d1c4b5}
[data-theme=light] .site-header .header-search input{background:#fffdf9;border-color:#c9bfb2;color:#272626}
[data-theme=light] :is(.menu-toggle,.mobile-menu-heading button){background:#fffdf9;color:#36312d;border-color:#c9bfb2}[data-theme=light] .burger-lines i{background:#36312d}[data-theme=light] .mobile-group-navigation{background:#f1ebe2;border-color:#dcd5ca}[data-theme=light] .mobile-group-navigation h2{color:#843b3c}[data-theme=light] .sidebar .nav a.active{color:#843b3c}[data-theme=light] .sidebar .nav a b{background:#eee1dd;color:#843b3c}
[data-theme=light] .live{color:#68615b}[data-theme=light] .dashboard-stats strong{color:#873b3c}[data-theme=light] .dashboard-stats span{color:#68615b}[data-theme=light] .dashboard-date{background:#f0e5df;color:#843b3c}[data-theme=light] .dashboard-date span{color:#79554b}[data-theme=light] .dashboard-group{color:#272626}
[data-theme=light] .group-repertoire-count{color:#843b3c!important}[data-theme=light] .song-card h2{color:#272626!important}[data-theme=light] .song-card:hover{background:#f7f0e6;border-color:#b6957f}[data-theme=light] .song-facts span{background:#eee9e0;border-color:#dcd5ca}[data-theme=light] .song-facts strong{color:#272626}
[data-theme=light] :is(.practice-tabs,.practice-tabs button,.practice-document-heading,.pdf-toolbar,.audio-controls,.song-progress-summary>div,.playback-rates button,.gear-sections a,.gear-tabs a,.stat,.stat.highlight,.stat.warm){background:#eee9e0;color:#41352f;border-color:#d3c6b6}
[data-theme=light] :is(.practice-tabs button[aria-selected=true],.playback-rates button[aria-pressed=true],.gear-sections a.active,.gear-tabs a.active,.gear-tabs [aria-current=page]){background:#873b3c;color:#fff9f1;border-color:#873b3c}
[data-theme=light] :is(.practice-document-heading span,.pdf-page figcaption,.preview-help,.gear-maker,#gear-status,.memory-photo figcaption){color:#68615b}[data-theme=light] .pdf-spread{background:#e4ded4}[data-theme=light] audio{color-scheme:light}
[data-theme=light] .file-icon{background:#ecdfd6;color:#843b3c}[data-theme=light] .rating-select,[data-theme=light] .stars button{color:#925534}[data-theme=light] .stars .filled{color:#98651d}
[data-theme=light] :is(dialog,#search-overlay){background:#fffdf9;color:#272626;border-color:#c8b7a8}[data-theme=light] .dialog-form label{color:#41352f}[data-theme=light] .global-result{background:#f4efe7;color:#272626;border-color:#dcd0c1}[data-theme=light] .global-result:hover{background:#ebe0d4;color:#272626}[data-theme=light] .search-result-section .global-result>span:last-of-type{color:#68615b}[data-theme=light] :is(#global-results>p[role=status],#overlay-results>p[role=status]){color:#68615b}[data-theme=light] .search-overlay-header button{background:#eee5dc;color:#272626;border-color:#c8b7a8}
[data-theme=light] :is(.playlist-icon,.meeting-placeholder,.gear-symbol,.gear-tags span){background:#eee3d5;color:#795034;border-color:#cbb79f}[data-theme=light] :is(th,.songrow:hover){background:#eee9e0;color:#44372f}[data-theme=light] .vote-buttons button{background:#f4ede4;color:#554337;border-color:#cbbba7}[data-theme=light] .vote-buttons button.selected{background:#873b3c;color:#fff}
[data-theme=light] .tuner-face{background:#f0e9de;border-color:#cebaa3}[data-theme=light] :is(.tuner-top,.tuner-frequency){color:#795a43}[data-theme=light] :is(.reference-tones button,.reference-strings button,.solo-song-chords button){background:#eee5d8;color:#563c2c;border-color:#c6ad93}[data-theme=light] :is(.reference-tones button,.reference-strings button,.solo-song-chords button)[aria-pressed=true]{background:#873b3c;color:#fff9f1}
[data-theme=light] .voicing-card{background:#f1e9dc;border-color:#d2bda3}[data-theme=light] :is(.voicing-card p,.voicing-card small){color:#6b5541}[data-theme=light] :is(.solo-caption,.solo-help,.chord-source){color:#68615b!important}[data-theme=light] .fret-tip{background:#eee3d5;color:#614a37}[data-theme=light] .fret-panel .fretboard th{background:#211b18;color:#f6e6d0}
[data-theme=light] .rhythm-choices button{background:#f1e9de;color:#523d30;border-color:#ccb9a2}[data-theme=light] .rhythm-choices button[aria-pressed=true]{background:#873b3c;color:#fff}[data-theme=light] .rhythm-choices small{color:inherit}[data-theme=light] .rhythm-pattern>div{background:#f0e8dc;color:#483628;border-color:#ccb9a2}[data-theme=light] .rhythm-pattern>div:nth-child(odd){background:#e6d7c3}[data-theme=light] .rhythm-pattern small{color:#6b5541}[data-theme=light] .rhythm-pattern .is-current small{color:#fff}[data-theme=light] .rhythm-song{color:#272626}
[data-theme=light] .joke-punchline{color:#272626}[data-theme=light] .joke-card-meta{color:#87533e}[data-theme=light] .joke-filters button{background:#fffdf9;color:#41352f;border-color:#cbbca9}[data-theme=light] .joke-filters button[aria-pressed=true]{background:#873b3c;color:#fff}
/* These elements sit on photographs or explicit colored status surfaces. */
[data-theme=light] #app :is(.midnight-hero h1,.auth-art h1,.med-hero h1){color:#f2e9da}[data-theme=light] .auth-art .brand{color:#f2e9da}[data-theme=light] .dashboard-tool{color:#f2e9da}[data-theme=light] .dashboard-tool small{color:#d0c3b4}[data-theme=light] .theme-choice button[aria-pressed=true]{background:#873b3c;color:#fff}
@media(max-width:700px){.dashboard-columns .panel{padding:22px 18px}.dashboard-columns .section-heading{gap:8px}.dashboard-columns .section-heading h2{font-size:22px}.dashboard-columns .section-heading .link{font-size:13px}.dashboard-event{grid-template-columns:48px minmax(0,1fr);gap:14px;padding:22px 0}.dashboard-date{width:48px;height:62px;min-height:62px}.dashboard-date strong{font-size:25px}.dashboard-event h3{font-size:17px!important}.dashboard-event p{font-size:14px}.dashboard-stats>a{padding:18px 8px}.dashboard-stats span{font-size:12px}.dashboard-stats strong{font-size:32px}.dashboard-columns .section-heading{flex-wrap:wrap}.site-header{padding-top:12px;padding-bottom:12px}.nav-theme .theme-choice{width:100%}.nav-theme .theme-choice button{flex:1}.daily-joke h2{font-size:25px}}
[data-theme=light] .dashboard-tool small{color:#d0c3b4!important}[data-theme=light] .midnight-hero-copy .eyebrow{color:#d6c8b6!important}[data-theme=light] .auth-art .eyebrow{color:#e1c2a6!important}[data-theme=light] .daily-joke{border-left-color:#925534}
[data-theme=light] .badge.missing{background:#f5e4d9;color:#8c3c20;border-color:#c99476}[data-theme=light] .badge:not(.missing){background:#e2eee4;color:#31593d;border-color:#a9c5ad}[data-theme=light] .status.s-1,[data-theme=light] .status.s0{background:#e7e1d7;color:#564b3e}[data-theme=light] .status.s1{background:#f2e3c5;color:#78501c}[data-theme=light] .status.s2,[data-theme=light] .status.s3{background:#dceadb;color:#2d573a}
[data-theme=light] .rhythm-choices button[aria-pressed=true] small{color:#fff9f1!important}
