/* Small usability refinements to the approved Club theme. */
:root {--site-header-height:90px}
.brand svg {color:var(--green)}
:where(a,button,input,select,summary):focus-visible {outline:3px solid var(--green);outline-offset:4px}
button:disabled {cursor:default}
[hidden] {display:none!important}
.daily-feature-status {padding:10px 12px;border:1px solid #587c5040;border-radius:8px;background:var(--soft-green);font-size:.875rem!important;font-weight:800;color:#34563e!important;margin:-6px 0 18px!important}
.daily-feature-stages .is-done .daily-feature-step-icon {background:var(--green);color:white;border-color:var(--green)}
.daily-feature-stages .is-done small {color:var(--green);font-weight:900}
.progress-tools {background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px;margin-top:28px}
.progress-tools-head {display:flex;align-items:start;justify-content:space-between;gap:16px}
.progress-tools-head h2 {font-size:1.2rem;margin-bottom:8px}
.progress-tools-head p {color:var(--muted);font-size:.9rem;line-height:1.6;max-width:550px}
.progress-tools-head>span {display:grid;place-items:center;background:var(--soft-green);color:var(--green);border-radius:8px;width:40px;height:40px;font-size:1.5rem;flex-shrink:0}
.progress-tool-actions {display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.progress-import {position:relative;overflow:hidden;cursor:pointer}
.progress-import input {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.progress-import:focus-within {outline:3px solid var(--green);outline-offset:4px}
.progress-backup-note {font-size:.8rem;color:var(--muted);line-height:1.7;margin-top:18px}
.progress-backup-status {color:var(--green);font-size:.85rem;font-weight:800;margin-top:8px}
#modal-content .progress-tools {padding:18px;margin-top:22px}
#modal-content .progress-tools h2 {font-size:1.1rem}
.history-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;flex-wrap:wrap}
.history-toolbar label {display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.875rem;font-weight:700}
.history-toolbar select {border:1px solid var(--border);border-radius:8px;padding:10px 30px 10px 12px;min-height:42px;background:var(--surface);font:inherit;color:var(--ink);max-width:100%}
.history-toolbar>span {font-size:.8rem;color:var(--muted);font-variant-numeric:tabular-nums}
.history-more {justify-self:center;margin-top:12px}
.history-item time {font-size:.8rem}
.site-footer>div {flex-wrap:wrap;gap:12px 24px}
.site-footer>div>a {font-size:.8rem;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.daily-country-bar {scroll-margin-top:12px}
@media(max-width:760px) {
 :root {--site-header-height:108px}
 .site-header {height:auto}
 .header-inner {display:grid;grid-template-columns:1fr auto;gap:10px 16px;padding:12px 20px 0;min-height:108px}
 .header-inner .brand {grid-column:1;grid-row:1;justify-self:start}
 .header-inner .header-actions {grid-column:2;grid-row:1}
 .header-inner nav {grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;gap:12px;min-height:38px;align-items:stretch;overflow:visible}
 .header-inner nav a {display:inline-flex!important;align-items:center;font-size:.875rem;padding:0 4px 8px;min-height:38px;white-space:nowrap}
 .header-inner nav a.active:after {bottom:0}
 .site-footer>div {justify-content:flex-start;gap:15px 22px}
 .history-item {display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:7px 10px}
 .history-item strong {max-width:none;font-size:.875rem}
 .history-item time {grid-column:2;font-size:.75rem}
 .history-item>b {grid-column:3;grid-row:1/3;margin:0;font-size:.8rem;align-self:center}
}
@media(max-width:420px) {
 .header-inner {padding-left:16px;padding-right:16px;gap:8px 12px}
 .header-inner nav a {font-size:.8rem;padding-left:0;padding-right:0}
 .header-inner nav {gap:9px}
 .progress-tools {padding:20px}
 .progress-tool-actions {display:grid;grid-template-columns:1fr}
 .progress-tool-actions .button {justify-content:center}
 .history-toolbar label {width:100%;align-items:center}
 .history-toolbar select {flex:1;min-width:0}
}
.language-control select {max-width:120px}
.language-control select:disabled {cursor:wait;opacity:.6}
@media(max-width:420px) {.language-control select {max-width:105px}}
#country-result,#bonus-question,#bonus-result {scroll-margin-top:calc(var(--site-header-height) + 18px)}
#country-result:focus,#bonus-question:focus,#bonus-result:focus {outline:2px solid var(--green);outline-offset:6px;border-radius:4px}
