/* One owner-workspace system. Athlete styling remains independently published. */
@font-face{font-family:'REP Inter';src:url('/assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--admin-page:#100c10;--admin-sidebar:#151116;--admin-card:#1c181f;--admin-card-strong:#272129;--admin-ink:#f6f1e6;--admin-border:#51432f;--admin-action:#d4b772;--admin-success:#b7d7ad;--admin-danger:#ffb7a7;--bg:#100c10;--panel:#1c181f;--card:#1c181f;--surface:#130f13;--ink:#f6f1e6;--muted:#c4b7a5;--line:#51432f;--gold:#d4b772;--lime:#d4b772}
html{background:var(--admin-page)!important}body{background:radial-gradient(ellipse at top right,#37261e,transparent 55%),var(--admin-page)!important;color:var(--ink)!important;font-size:14px!important;line-height:1.55!important}
body,body *{font-family:'REP Inter',Inter,system-ui,sans-serif!important;box-sizing:border-box}
body :is(h1,h2,h3,.brand,.eyebrow,.brand span,.kpi span,.table th,.tag,.status,.form-grid label){font-family:'REP Inter',Inter,system-ui,sans-serif!important}
body h1,body .top h1{font-size:32px!important;line-height:1.15!important;letter-spacing:-.035em!important;font-weight:700!important;color:var(--ink)!important}
body h2,body .card h2{font-size:20px!important;line-height:1.3!important;letter-spacing:-.02em!important;font-weight:650!important;color:var(--ink)!important}
body h3,body .partner h3,body .professional h3{font-size:16px!important;line-height:1.4!important;letter-spacing:0!important;font-weight:650!important;color:var(--ink)!important}
body .eyebrow,body .brand span{font-size:11px!important;letter-spacing:.12em!important;font-weight:650!important;color:var(--gold)!important}
body .side{background:var(--admin-sidebar)!important;border-color:var(--line)!important;box-shadow:none!important}body .brand{color:var(--ink)!important}
body .nav button{font-size:13px!important;color:var(--muted)!important;min-height:44px}body .nav button.active{background:#30271f!important;color:var(--gold)!important;box-shadow:inset 3px 0 var(--gold)!important}
body .kpi,body .card,body .partner,body .professional,body .plan-card,body .context-box,body .info,body .blank,body dialog{background:var(--admin-card)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:none!important}
body .card{padding:22px}body .plan-card.featured{background:var(--admin-card-strong)!important;border-color:var(--gold)!important}
body .line,body .table th,body .table td,body .chart{border-color:var(--line)!important}body .line b,body .kpi b,body .table td{color:var(--ink)!important}
body .card p,body .line span,body .partner p,body .professional p,body .plan-card p,body .table td,body .context-box,body .info,body .blank,body .studio-inspector p{font-size:13px!important;line-height:1.6!important}
body .line span,body .kpi small,body .partner p,body .professional p,body .plan-card p,body .table td small,body .plan-price small,body .side-foot{color:var(--muted)!important}
body label,body .form-grid label,body .table th,body .kpi span,body legend{font-size:12px!important;letter-spacing:0!important;text-transform:none!important;color:var(--muted)!important;line-height:1.5!important}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),body select,body textarea{font:400 14px/1.5 'REP Inter',system-ui,sans-serif!important;background:#130f13!important;color:var(--ink)!important;border:1px solid #756348!important;border-radius:9px!important;padding:11px!important;min-height:44px;max-width:100%}
body input[type=checkbox],body input[type=radio]{accent-color:var(--gold)}body textarea{resize:vertical}body input::placeholder,body textarea::placeholder{color:#b0a497!important}
body .form-grid select,body .form-grid input,body .studio-inspector select{background:#130f13!important;color:var(--ink)!important}body select option{background:#130f13;color:var(--ink)}
body .form-grid input::placeholder,body .studio-inspector input::placeholder,body textarea::placeholder{color:#b0a497!important;opacity:1}
body .line b{font-size:14px!important}body .line .tag,body .line .status{font-size:11px!important;color:#c2dfb8!important}
body .side{display:flex;flex-direction:column;overflow-y:auto;height:100dvh}body .side-foot{position:static;margin-top:auto;padding-top:22px;font-size:12px!important}body .side .nav{margin-bottom:24px}
body .button,body .studio-inspector button,body .design-actions .button{background:var(--gold)!important;color:#171116!important;border:1px solid var(--gold)!important;box-shadow:none!important;font-size:13px!important;font-weight:650!important;border-radius:10px!important;min-height:42px;padding:10px 14px!important;white-space:normal}
body .button.secondary,body #design .design-actions .button.secondary,body .studio-inspector .studio-layer,body .studio-tabs button{background:transparent!important;border-color:#756348!important;color:var(--gold)!important}
body .card-head button,body .row-action,body .partner-foot button,body .professional-foot button,body a{color:var(--gold)!important;font-size:12px!important}body .partner-foot{gap:12px;flex-wrap:wrap}body .partner-foot button{min-height:30px}
/* Primary actions must win over general card/link colours. */
body :is(a,button).button:not(.secondary){color:#171116!important;background:var(--gold)!important;font-size:13px!important}
body :is(a,button).button:not(.secondary):hover:not(:disabled){background:#e5cb89!important;border-color:#e5cb89!important;color:#171116!important}
body :is(a,button).button.secondary:hover:not(:disabled){background:#30271f!important;color:#f1d695!important;border-color:var(--gold)!important}
body .partner-foot{align-items:stretch;flex-direction:column;gap:8px}body .partner-foot>.status{align-self:flex-start}body .partner-foot>div{display:flex!important;flex-direction:column;gap:2px!important;align-items:stretch}
body :is(.partner-foot,.professional-foot) :is(a,button),body .card .row-action{display:inline-flex!important;align-items:center;justify-content:flex-start;min-height:34px;padding:7px 9px!important;margin:0!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:var(--gold)!important;font-size:13px!important;font-weight:600!important;line-height:1.35!important;text-decoration:none!important;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
body :is(.partner-foot,.professional-foot) :is(a,button):hover:not(:disabled),body .card .row-action:hover:not(:disabled){background:#30271f!important;color:#f1d695!important;border-color:#756348!important;text-decoration:underline!important}
body .leaflet-control-zoom a{font-size:22px!important;line-height:30px!important;color:#171116!important;background:#fff!important}
body .partner-location button.button.secondary{background:transparent!important;color:var(--gold)!important;border-color:#756348!important}
body .partner-location button.button.secondary:hover:not(:disabled){background:#30271f!important;color:#f1d695!important;border-color:var(--gold)!important}
body .tag,body .status{background:#293329!important;color:#c2dfb8!important;border:1px solid #52604b!important;font-size:11px!important;letter-spacing:0!important}
body .tag.warn,body .status.pending{background:#36291e!important;color:#edc793!important;border-color:#856640!important}body .partner .icon,body .professional .icon{background:#30271f!important;color:var(--gold)!important}
body .toast{background:var(--gold)!important;color:#171116!important}body .bar{background:linear-gradient(0deg,#655431,var(--gold))!important}body .bar small{color:var(--muted)!important}
body .studio-inspector{color:var(--ink)!important}body .studio-layer[aria-pressed=true],body .studio-tabs button[aria-pressed=true]{background:#30271f!important}body .design-actions{background:var(--admin-card)!important}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--gold)!important;outline-offset:3px}body button:disabled{opacity:.5;cursor:not-allowed}body [hidden]{display:none!important}
.resource-fields{padding:16px 0;border-top:1px solid var(--line);margin-top:16px}.resource-fields legend{font-weight:650}.resource-intro{border-left:3px solid var(--gold);padding-left:14px}.resource-starters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.training-monitor{margin-top:20px}.training-monitor p{color:var(--muted);font-size:12px;line-height:1.6}.monitor-athlete{padding:14px 0;border-top:1px solid var(--line)}.monitor-athlete summary{cursor:pointer;line-height:1.6;overflow-wrap:anywhere}.monitor-athlete li{margin:12px 0;line-height:1.6;overflow-wrap:anywhere}.monitor-athlete .tag{display:inline-block;margin:4px}.training-monitor .card-head{flex-wrap:wrap;gap:8px}
@media(max-width:760px){body .top h1{font-size:27px!important}body .card{padding:17px}body .table td{font-size:12px!important}body .side{height:auto;overflow:visible}body .side .nav{margin:0}body .side-foot{display:none}}
