/* Readable practice views, keeping the club's olive, cream and copper palette. */
.med-hero{height:190px;margin-bottom:28px}.hero-copy h1{font-size:32px;letter-spacing:-1px}.hero-copy .eyebrow{display:none}.hero-copy{bottom:24px}.hero-link{margin-top:10px}.page-head p:empty,.page-head .eyebrow:empty{display:none}.songbook-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.song-card{padding:26px;display:flex;flex-direction:column;min-width:0}.song-card-top{gap:12px;flex-wrap:wrap;margin-bottom:22px}.song-card-top .badge{margin-left:auto}.song-number{display:none}.song-style{font-size:15px;text-transform:none;letter-spacing:0}.song-card h2{font-size:28px;line-height:1.2;min-height:0;margin-bottom:12px}.song-card .song-meta{font-size:16px;min-height:26px;color:#626957}.song-card .song-ratings{display:flex;flex-direction:column;gap:14px;margin-top:20px;padding-top:20px}.song-ratings>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.song-ratings>div>span:first-child{font-size:17px;color:#253d34}.song-card .song-card-bottom{margin-top:22px;font-size:15px;justify-content:flex-end}.badge,.status{font-size:14px;font-weight:650;line-height:1.35;padding:8px 11px;border-radius:8px;white-space:normal}.badge.missing{background:#fae9dd;color:#884124}.badge:not(.missing){background:#e3eddd;color:#31522e}.status.s-1{background:#edeae2;color:#656357}.status.s0{background:#efebe4;color:#665c4b}.status.s1{background:#f8e7ce;color:#805314}.status.s2{background:#e1eddc;color:#31562e}.status.s3{background:#284b3e;color:#fff9eb}.song-detail .page-head{align-items:flex-start;margin-top:18px}.song-detail .page-head h1{font-size:clamp(32px,4vw,48px);line-height:1.15;overflow-wrap:anywhere}.song-detail .page-head p{font-size:18px}.song-detail button,.song-detail .link,.song-detail .back{font-size:16px;min-height:44px}.song-detail .panel{padding:26px;margin-bottom:20px;border-radius:14px}.song-detail .panel h3{font-size:22px;margin-bottom:16px}.song-detail .section-heading h3{margin:0}.song-detail .muted,.song-detail .prose,.song-detail .file .name,.song-detail label{font-size:16px;line-height:1.65}.song-detail .file small{font-size:14px;line-height:1.5}.song-detail .file{flex-wrap:wrap;gap:12px;padding:18px 0}.song-detail .file .name{overflow-wrap:anywhere;min-width:0;flex:1 1 240px}.song-detail .file-category h4{font-size:16px;letter-spacing:0;text-transform:none;margin-top:22px}.song-facts{display:flex;align-items:center;gap:24px;flex-wrap:wrap;border-top:1px solid #ded8c9;border-bottom:1px solid #ded8c9;padding:18px 0;margin-bottom:22px;font-size:16px;color:#626957}.song-facts strong{margin-left:8px;font-size:19px;color:#243c35}.song-facts .badge{margin-left:auto}.song-progress-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:28px}.song-progress-summary>div{background:#eee9dd;border-radius:12px;padding:16px 18px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:17px;font-weight:600}.song-progress-summary .status{margin-left:auto}.song-progress-summary meter{height:9px;width:100%;border:0;appearance:none;background:#d5d6c9;border-radius:5px}.song-progress-summary meter::-webkit-meter-bar{background:#d5d6c9;border:0}.song-progress-summary meter::-webkit-meter-optimum-value{background:#5d775a}.practice-tabs{display:flex;gap:8px;border-bottom:1px solid #d6d4c4;padding-bottom:12px;margin-bottom:24px;overflow:auto}.practice-tabs button{flex-shrink:0;font-size:17px;font-weight:600;min-height:50px;padding:13px 20px;border-radius:10px;background:#ebe7da;color:#435044;border:1px solid transparent}.practice-tabs button[aria-selected=true]{background:#284b3e;color:#fff8e7;box-shadow:0 4px 10px #203d3415}.practice-tabs button:focus-visible,.playback-rates button:focus-visible{outline:3px solid #b76a40;outline-offset:3px}.practice-panel[hidden]{display:none!important}.practice-panel{animation:arrive .2s ease}.practice-document{background:#fffdf7;border:1px solid #ded8c9;border-radius:14px;padding:22px;margin-bottom:20px;overflow:hidden}.practice-document-heading{display:flex;gap:16px;align-items:center;margin-bottom:18px}.practice-document-heading h3{font-size:20px;overflow-wrap:anywhere}.practice-document-heading span{display:block;font-size:14px;color:#696c5e;margin-top:6px}.sheet-preview{display:block;width:100%;height:75vh;min-height:420px;border:1px solid #dfdccc;background:white;border-radius:7px}.sheet-image{display:block;max-width:100%;height:auto;margin:auto;background:white}.preview-open{display:inline-block;padding:14px 0;font-size:16px;color:#315b48}.preview-help{font-size:14px;color:#64695a;line-height:1.6}.practice-empty{padding:34px;border:1px dashed #c9c5b6;border-radius:12px;font-size:18px;color:#6a6e5d;background:#f0ecdf}.chord-grid{display:flex;flex-wrap:wrap;gap:18px}.chord{margin:0;padding:14px 12px 6px;width:145px;border:1px solid #ded8c9;border-radius:12px;background:#fffdf7}.chord figcaption{text-align:center;font-size:20px;font-weight:700}.chord svg{display:block;width:100%;height:auto}.chord svg line{stroke:#6d7560;stroke-width:1.2}.chord svg .nut{stroke-width:4}.chord svg circle{fill:#315842}.chord svg text{fill:#364c3b;font-family:inherit;font-size:13px}.chord svg .chord-string-label{font-size:11px;letter-spacing:1px}.chord-invalid{font-size:16px;color:#8d4428}.practice-document audio,dialog audio{display:block;width:100%;min-height:54px;margin:12px 0 20px}.playback-rates{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.playback-rates span{font-size:16px;margin-right:8px}.playback-rates button{font-size:16px;min-width:62px;min-height:44px;border:1px solid #cfcfbd;border-radius:8px;background:#f5f0e3}.playback-rates button[aria-pressed=true]{color:white;background:#315842;border-color:#315842}.song-detail .rating-row{padding:20px 0}.song-detail .playing-labels{font-size:14px}.song-detail .playing-slider label{display:flex;flex-wrap:wrap;gap:12px}.song-detail .playing-slider output{margin-left:auto;font-size:17px}.song-detail .playing-slider input{height:32px}.song-detail .liking-options button{min-width:44px;min-height:44px}dialog:has(.sheet-preview){width:min(1100px,94vw);max-width:1100px}dialog .practice-document{padding:0;border:0}dialog .sheet-preview{height:65vh}.filters input,.filters select{font-size:16px;min-height:48px}.session-strip{font-size:16px}.bottom-note{font-size:15px}.song-card:focus-visible{outline:3px solid #a65c3d;outline-offset:4px}
@media(min-width:1450px){.songbook-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.med-hero{height:150px}.hero-copy{bottom:18px;left:20px}.hero-copy h1{font-size:27px}.songbook-grid{grid-template-columns:1fr}.song-card{padding:22px}.song-card h2{font-size:27px}.song-detail .page-head .actions{width:100%;gap:8px}.song-detail .page-head .actions button{font-size:15px}.song-detail .panel{padding:20px}.song-facts{gap:14px}.song-facts .badge{margin-left:0}.song-progress-summary{grid-template-columns:1fr}.practice-tabs button{font-size:16px;padding:12px 16px}.practice-document{padding:16px}.sheet-preview{min-height:380px;height:65vh}.playback-rates{gap:6px}.playback-rates span{width:100%;margin-bottom:4px}.playback-rates button{min-width:48px;flex:1}.chord{width:130px}.section-heading{flex-wrap:wrap;gap:12px}.song-detail .rating-row .row.between{flex-wrap:wrap}.practice-empty{padding:24px;font-size:16px}.filters{flex-wrap:wrap}.filters select{flex:1 1 160px}}
@media(prefers-reduced-motion:reduce){.practice-panel{animation:none}}

@media(max-width:760px){.layout:has(.song-detail) .topbar{display:none}.song-detail .page-head{margin-top:12px;margin-bottom:20px}.song-progress-summary{grid-template-columns:1fr 1fr;gap:10px}.song-progress-summary>div{padding:14px;gap:8px;font-size:16px;align-content:start}.song-progress-summary .status{margin:0;font-size:13px}.song-progress-summary>div>span:first-child{width:100%}.practice-tabs{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.practice-tabs button{padding:12px 8px;white-space:normal}.song-detail .back{margin-bottom:0}}

.pdf-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:16px;margin-bottom:16px}.pdf-controls button{min-width:44px;min-height:44px;border:1px solid #cecaba;border-radius:8px}.pdf-controls button:disabled{opacity:.4}.pdf-controls .preview-open{margin-left:auto}.pdf-canvas-wrap{background:white;border:1px solid #ddd8c9;overflow:auto}.sheet-canvas{width:100%;height:auto;display:block}.song-detail .pdf-controls span{font-size:16px}dialog:has(.sheet-canvas){width:min(1100px,94vw);max-width:1100px}

/* Every PDF page stays visible together; the grid fits the available screen. */
.pdf-controls{justify-content:space-between}.pdf-spread{display:grid;gap:10px;height:70vh;height:70dvh;min-height:260px;width:100%;background:#e5e2d8;padding:10px;box-sizing:border-box;border-radius:8px;overflow:hidden}.pdf-page{display:grid;grid-template-rows:minmax(0,1fr) 22px;min-height:0;min-width:0;margin:0;place-items:center}.pdf-page .sheet-canvas{width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}.pdf-page figcaption{font-size:12px;line-height:22px;color:#565e50}.pdf-focused{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;padding:16px;background:#f6f3e9;box-sizing:border-box}.pdf-focused .pdf-controls{flex:none;margin-bottom:12px}.pdf-focused .pdf-spread{flex:1;min-height:0;height:auto}.practice-document:has(.pdf-focused){overflow:visible}body:has(.pdf-focused){overflow:hidden}.sheet-image{max-height:75vh;max-height:75dvh;object-fit:contain}.pdf-controls button{font-size:16px}.pdf-spread .sheet-canvas{background:transparent}
