.pro-gate{position:relative}
.pro-gate-action{position:absolute;inset:0;width:100%;height:100%;background:transparent!important;border:0;border-radius:10px;z-index:2;cursor:pointer}
.pro-gate.locked>.adjustments,.pro-gate.locked>.sections,.pro-gate.locked>.count-row{opacity:.48;filter:grayscale(1)}
.pro-gate-action:hover{box-shadow:inset 0 0 0 1px #d4a84b70}
.pro-gate-action:focus-visible{outline:2px solid #d4a84b;outline-offset:3px}

.pro-gate.locked>.section-tools{opacity:.48;filter:grayscale(1)}
.count-row{flex-wrap:wrap}.load-notice{padding:14px 18px;margin:14px 0;border:1px solid #d4a84b80;background:#171714;border-radius:10px;font-size:13px}.load-notice p{margin:0 0 10px}.stem-unavailable{opacity:.5}.demo-start{margin:16px 0}

#practicePanel .adjustments{grid-template-columns:repeat(2,minmax(0,1fr))}
#practicePanel .adjust-card{min-width:0}
@media(max-width:440px){#practicePanel .adjustments{grid-template-columns:repeat(2,minmax(0,1fr))}#practicePanel>.panel-heading{flex-wrap:wrap}#practicePanel .count-row>div{flex-basis:100%}}

/* Standing Pro offer above the gated practice controls (free users only). */
.pro-offer{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:0 0 14px;padding:12px 14px;border:1px solid #d4a84b55;background:#d4a84b0f;border-radius:10px}
.pro-offer p{flex:1 1 220px;margin:0;font-size:12px;line-height:1.5;color:#c9cfcc}
.pro-offer strong{display:block;margin-bottom:2px;font-size:13px;color:#f5c451}
.pro-offer-cta{font:600 12px 'Archivo',sans-serif;padding:9px 14px;border-radius:8px;border:1px solid #d4a84b;background:#d4a84b;color:#171410;cursor:pointer;min-height:36px}
.pro-offer-cta:hover{background:#e2b95c}
.pro-offer-demo{font:12px 'Archivo',sans-serif;padding:9px 12px;border-radius:8px;border:1px solid #37665e;background:transparent;color:#8cdace;cursor:pointer;min-height:36px}
.pro-offer-cta:focus-visible,.pro-offer-demo:focus-visible{outline:2px solid #d4a84b;outline-offset:2px}
/* Demo entry reads as a real secondary action, not a footnote link. */
.demo-intro{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:18px;color:#aaa;font-size:14px}
.demo-intro .demo-start{margin:0;min-height:40px;padding:8px 14px;border:1px solid #2dd4bf66;border-radius:8px;background:#2dd4bf12;color:#8cf0df;font:500 13px 'Archivo',sans-serif;text-decoration:none;cursor:pointer}
.demo-intro .demo-start:hover{border-color:#2dd4bf;background:#2dd4bf22;color:#c1f3e5}.demo-intro .demo-start:disabled{opacity:.6;cursor:default}
/* Footer clearance follows the transport dock: small when no song is loaded, dock height when it is. Later sheet than console.css, so these win. */
.site-footer{padding-bottom:28px}
body:has(.transport:not([hidden])) .site-footer{padding-bottom:calc(112px + env(safe-area-inset-bottom))}
@media(max-width:760px){
 .site-footer{margin:24px 16px 0;padding:18px 0 28px;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 18px}
 body:has(.transport:not([hidden])) .site-footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .site-footer .footer-meta{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-bottom:6px}
 .site-footer .console-site-count.footer-detail{display:none!important}
 .site-footer>div{display:contents}
 .site-footer div a,.site-footer div button,.site-footer>a,.site-footer>button{min-height:40px;padding:0;font:11px 'Space Mono',monospace;color:#aaa}
}
/* Report-a-problem dialog select: same chevron and clearance as the other dialogs. */
.problem-dialog select{appearance:none;-webkit-appearance:none;padding:10px 40px 10px 14px;min-height:44px;line-height:20px;box-sizing:border-box;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23c2d1c8' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 14px center;background-size:16px;background-repeat:no-repeat}
/* Footer nav: even spacing, one type style, no decoration. */
.site-footer{justify-content:space-between;align-items:center;gap:16px 24px}
.footer-nav{display:flex;flex-wrap:wrap;align-items:center;gap:0 22px;margin-left:auto}
.footer-nav a,.footer-nav button{font:11px 'Space Mono',monospace;letter-spacing:.02em;color:#9fa8a4;background:transparent;border:0;padding:0;min-height:40px;display:inline-flex;align-items:center;text-decoration:none;cursor:pointer}
.footer-nav a:hover,.footer-nav button:hover{color:#5eead4}
.site-footer .console-site-count:empty::before,.site-footer .console-site-count:empty{display:none}
@media(max-width:760px){.footer-nav{margin-left:0;gap:0 18px}}
/* Account dialog: the two stat cards share one vertical rhythm (122px visual, title, copy, action pinned to the bottom); sign out is a full-width button. Selectors match the console.css ones so these win by order. */
.account-stats .account-allowance,.account-stats .account-credit-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:22px 16px 18px;gap:0}
.account-stats .account-allowance .account-ring{margin:0 0 14px}
.account-stats .account-allowance>div:not(.account-ring){display:flex;flex-direction:column;align-items:center}
.account-stats .account-credit-card .credit-symbol{display:flex;align-items:center;justify-content:center;height:34px;margin:0;font-size:26px;line-height:1}
.account-stats .account-credit-card>strong{display:flex;align-items:center;justify-content:center;height:74px;margin:0 0 14px;font:600 32px/1.15 Archivo,sans-serif;color:#f5f5f2}
.account-stats h3{margin:0 0 4px;font-size:14px}
.account-stats p{margin:0;max-width:170px}
.account-stats .account-card-action{margin-top:auto;padding-top:16px;font-size:12px;color:#8cd8c6}
.account-actions .account-signout{grid-column:1/-1;width:100%;min-height:48px;margin-top:4px;border:1px solid #3a4441;border-radius:9px;background:#141917;color:#dfe6e3;font:500 13px 'Archivo',sans-serif;text-align:center;cursor:pointer}
.account-actions .account-signout:hover{border-color:#ef7a6f80;color:#fff}
.account-actions .account-signin{grid-column:1/-1}

/* Targeted strip: a dismiss control, and one quiet pulse when a locked control points here. */
.pro-offer{position:relative}
.pro-offer[data-segment]{padding-right:40px}
.pro-offer-x{position:absolute;top:4px;right:4px;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#8a938f;font:18px/1 'Archivo',sans-serif;cursor:pointer}
.pro-offer-x:hover{color:#f5c451}
.pro-offer-x:focus-visible{outline:2px solid #d4a84b;outline-offset:-2px}
@keyframes proOfferPulse{0%{box-shadow:0 0 0 0 #d4a84b99}100%{box-shadow:0 0 0 10px #d4a84b00}}
.pro-offer-pulse{animation:proOfferPulse .6s ease-out 1;border-color:#d4a84b}
@media (prefers-reduced-motion:reduce){.pro-offer-pulse{animation:none}}

/* A short benefit first, the buying terms directly above the priced action. */
.pro-offer .pro-offer-terms{flex:1 0 100%;display:block;color:var(--muted);font:11px/1.45 Archivo,system-ui,sans-serif;margin-top:-4px}
.pro-offer .pro-offer-terms[hidden]{display:none}
.pro-offer p{flex-basis:100%;font-size:13px;line-height:1.5}
.pro-offer strong{font-size:14px;line-height:1.35;margin-bottom:5px}
.pro-offer-cta{min-height:42px;font-size:12px;background:var(--gold);color:var(--practice-ink);border-color:var(--gold)}
.pro-offer-demo{min-height:42px;color:var(--muted);border-color:var(--line)}

/* Match the practice room's existing brand and gold tokens. */
.pro-offer{border-color:color-mix(in srgb,var(--teal) 45%,transparent);background:color-mix(in srgb,var(--gold) 6%,transparent)}
.pro-offer p{color:var(--text)}
.pro-offer strong{color:var(--practice-gold-light)}
.pro-offer-cta:hover{background:var(--practice-gold-light);border-color:var(--practice-gold-light)}
.pro-offer-demo:hover{color:var(--text);border-color:var(--gold)}
.pro-offer-x{color:var(--muted)}
.pro-offer-x:hover{color:var(--practice-gold-light)}
