/* V166 — visual skin inspired by the weekly progress card. No data or logic changes. */
:root{--ink:#f2f6f0;--coffee:#101a15;--copper:#a6f727;--paper:#08110e;--line:#34483e;--v144-green:#a6f727;--v144-bg:#08110e;--v144-panel:#141e23;--v144-line:#34483e;--v144-text:#f2f6f0;--v144-muted:#b5c4b9;accent-color:#a6f727;color-scheme:dark}
html,body{background:#08110e!important;color:#f2f6f0!important}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif!important}
/* Cards, containers, dynamically generated dashboard widgets */
:where(.card,.panel,.stat-card,.dashboard-measure-card,.dashboard-pr-panel,.dashboard-recent-panel,.v129-stat,.v135-entry,.coach-session-tile,.coach-calendar-day,.client-training-calendar,.entry-card,.notice,.v133-content .card,.v133-main .card,.v133-top,.v133-content .panel){background:#141e23!important;border:1px solid #34483e!important;border-radius:22px!important;color:#f2f6f0!important;box-shadow:none!important}
:where(.card,.panel,.dashboard-measure-card,.v129-stat,.coach-session-tile,.entry-card){min-width:0;max-width:100%}
:where(.card,.panel,.dashboard-measure-card,.v129-stat,.coach-session-tile) :where(h1,h2,h3,h4,strong,b){color:#f2f6f0!important}
:where(.muted,.mini,small,.hint,.dashboard-measure-card small,.v129-stat span,.coach-session-tile small,.dashboard-pr-row small,.dashboard-activity-row small){color:#b5c4b9!important}
:where(.section-label,.eyebrow){color:#c1e7b3!important;font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase}
.section-label:before{content:'◆';display:inline-block;margin-right:10px;color:#a6f727;font-size:.8em}
:where(.card h1,.hero h1){font-weight:850!important;letter-spacing:-.035em}
:where(.v129-stat b,.dashboard-measure-value){color:#f2f6f0!important;font-size:clamp(25px,3vw,39px)!important;font-weight:850!important}
:where(.v129-stat,.dashboard-measure-card){padding:20px!important}
:where(button,.btn,[role="button"]){border-radius:13px!important;transition:background-color .16s,border-color .16s,color .16s}
:where(button:not(.secondary):not(.ghost):not(.danger):not(.ba-nav-icon),.btn){background:#a6f727;color:#111a13;border-color:#a6f727;font-weight:750}
:where(button.secondary,button.ghost,.coach-workspace-nav button,.combined-nav button){background:#1b2a29!important;color:#e5eee6!important;border:1px solid #40574b!important}
:where(button.active,button[aria-selected="true"],.coach-workspace-nav button.active,.combined-nav button.active,.client-main-nav button.active,.ba-mobile-client-nav button.active){background:#a6f727!important;color:#101a13!important;border-color:#a6f727!important}
:where(input,select,textarea){background:#0f191b!important;color:#f2f6f0!important;border:1px solid #42564d!important;border-radius:12px!important;max-width:100%}
:where(input,select,textarea):focus{outline:2px solid #a6f727!important;outline-offset:1px}
:where(input,select,textarea)::placeholder{color:#9eafa5!important}
:where(.pill,.badge){border:1px solid #49624e!important;border-radius:999px!important;color:#d2f5bb!important;background:#20352b!important}
:where(.coach-workspace-nav,.combined-nav,.client-main-nav){background:#101a1a!important;border:1px solid #34483e!important;border-radius:18px!important}
:where(.dashboard-pr-row,.dashboard-activity-row,.v129-program-row,.v135-ex){border-color:#34483e!important}
:where(.v135-entry summary,.v130-summary){color:#f2f6f0!important}
:where(.v135-entry summary:after,.v130-summary span){color:#a6f727!important}
:where(progress){accent-color:#a6f727}
:where(a){color:#b8ff62}
:where(button:focus-visible,a:focus-visible,[role="button"]:focus-visible){outline:2px solid #a6f727!important;outline-offset:3px}
/* Personal greeting and weekly progress card */
#clientDashboardPane{background:#142019!important;border-color:#344c3e!important;border-radius:28px!important;padding:clamp(18px,3vw,34px)!important}
#baClientGreeting{font-size:clamp(32px,5vw,56px)!important;line-height:1.12!important;margin:14px 0 26px!important;letter-spacing:-.04em!important}
#clientDashboardContent :where(.card,.panel){background:#141e23!important;border-color:#34483e!important;border-radius:26px!important}
/* Mobile fit and safe bottom nav */
@media(max-width:760px){:where(.card,.panel,.v129-stat,.dashboard-measure-card){border-radius:19px!important}:where(.card,.panel){padding:clamp(12px,3.6vw,20px)}#clientDashboardPane{padding:18px!important}#baClientGreeting{font-size:clamp(30px,8vw,43px)!important}:where(.v129-stats,.dashboard-measures-grid,.coach-session-tiles){min-width:0;max-width:100%}:where(.ba-mobile-client-nav){background:#101b1b!important;border-top:1px solid #40584a!important}:where(.ba-mobile-client-nav button){min-width:0}:where(.ba-mobile-client-nav button.active){background:#a6f727!important;color:#101a13!important}}
/* Keep PDF print output unchanged */
@media print{html,body{background:white!important;color:black!important}}
