/* Browser adaptation of the original Splits SwiftUI appearance.
   Keep layout rules in style.css; override the visual tokens here so all
   existing forms, dialogs and translated pages share the same appearance. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#27282b;background:#fff;--accent:#007aff;--dark:#007aff;--muted:#73757b;--line:#e8e8ed;--lime:#007aff;--radius:11px}
button{border-radius:7px;font-weight:500;padding:9px 13px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#007aff}.shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{width:200px;background:#eeeeef;color:#28292d;padding:22px 10px;border-right:1px solid #e1e1e4}.brand{font-size:19px;letter-spacing:-.5px;padding:0 9px;margin:0 0 24px;gap:8px}.brand img{border-radius:6px}.brand small{color:#7c7d82;font-size:10px;letter-spacing:0;align-self:center;margin:0}.nav{gap:4px}.nav button{color:#303136;padding:9px 10px;gap:10px;font-size:13px;border-radius:7px}.nav button svg{color:#008cff}.nav button:hover{background:#e0e1e5}.nav button.active{background:#007aff;color:white}.nav button.active svg{color:white}.side-bottom{padding:18px 7px 0}.sidebar-sync{font-size:10px;color:#727479;line-height:1.6}.sidebar-owner{display:block;font-size:11px;color:#727479;margin-top:9px}.dot{background:#8c969f}.main{padding:0 28px 35px;max-width:1600px}.topbar{height:58px;border-bottom:0}.breadcrumb{font-size:14px}.breadcrumb b{font-weight:600;color:#515257}.lang{background:#eeeef0}.lang button.selected{color:#25262b}.top-actions{gap:12px}.page-head{padding:24px 0 20px}.page-head h1,.goal-card h3,.empty strong,.auth-art h1,.auth-form h2,dialog h2{font-family:inherit;font-weight:650;letter-spacing:-.4px}.page-head h1{font-size:25px}.today-head{align-items:center;padding:24px 0 18px}.today-head h1{font-size:19px;margin:0}.date-label{font-size:10px;color:var(--muted);padding:0}.card{background:#f8f8fa;padding:19px;border-radius:11px;border-color:#ececf0}.card-title h2{font-size:14px}.card-title{margin-bottom:16px}.grid{gap:16px}.kpi .value{font-size:29px;font-weight:650;letter-spacing:-1px}.kpi .label,.kpi .foot,.hint,label,.recovery-item span,.calendar-day p,.record span{color:var(--muted)}
/* The daily panel is informational. It never invents a recovery assessment. */
.daily-report{padding:18px 20px;background:linear-gradient(110deg,#fff5ed,#fff0f5 50%,#faedff);border-radius:14px;margin-bottom:18px}.daily-report-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.daily-report-top>span{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:650;color:#ed5479}.daily-report-top svg{width:17px;height:17px}.daily-report-top small{font-size:10px;color:#77717c}.daily-report h2{font-size:16px;letter-spacing:-.2px;margin:9px 0}.daily-report p{font-size:12px;line-height:1.7;margin:8px 0}.report-actions{display:flex;gap:8px;margin-top:14px}.report-actions button{background:#ffffffa8;border-color:#e9dfe9;font-size:11px}.report-actions .quiet{background:transparent}
.health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.health-card{padding:16px;min-height:173px;display:flex;flex-direction:column}.health-label{display:flex;align-items:center;gap:8px;color:#6c6d73;font-size:11px;font-weight:500}.health-label svg{width:17px;height:17px;color:var(--metric)}.health-value{font-size:26px;font-weight:700;letter-spacing:-.7px;margin:10px 0 5px}.health-value small{font-size:11px;font-weight:400;color:#777980;margin-left:7px;letter-spacing:0}.sparkline{height:55px;width:100%;display:block;margin-top:auto}.spark-empty{min-height:55px;font-size:11px;color:var(--muted);display:flex;align-items:center}.health-foot{font-size:10px;color:#777980;margin:7px 0 0;line-height:1.5}.health-card .sleep-bar{height:11px;margin:10px 0 8px;flex-shrink:0}.sleep-key{display:flex;flex-wrap:wrap;gap:8px;font-size:9px;color:#73757b;margin-bottom:auto}.sleep-key span{display:flex;align-items:center;gap:3px}.sleep-key i{width:5px;height:5px;border-radius:2px}.recent-panel{margin-top:22px}.recent-panel .card-title{margin-bottom:4px}.recent-panel th{font-size:9px;color:#85868b}.recent-panel td{padding:12px 7px}.run-icon{background:transparent;color:#008cff;width:27px;height:29px}.activity-name small{color:#85868b}.week-strip{margin-top:26px}.week-strip h2{font-size:14px;margin-bottom:15px}.week-strip .kpis{margin-bottom:0}.pill{background:#e9f1fb;color:#3674bb}.pill.orange{background:#fff0df;color:#ad641c}.goal-card{background:#f1f6fd;border-color:#e3ecf8}.goal-card p,.goal-meta span{color:#67788e}.goal-card h3{font-size:25px}.notice{background:#f3f7fd;border-color:#dfeaf9;color:#55718d;font-size:11px;padding:10px 14px}.progress{background:#e6edf6}.progress i{background:#007aff}.chart text{fill:#7c7e84}.chart .gridline{stroke:#e8e9ed}td{border-color:#ededf0}th{color:#80828a}.empty{color:#73757b}.empty strong{color:#393a40}input,textarea,select{border-color:#dddde3;background:#fff;color:#292a30;border-radius:7px;padding:10px}input[type=checkbox]{accent-color:#007aff}.day-picks label{background:#f1f2f5}.message{background:#f0f1f5}.message.user{background:#e5f0ff}.message small{color:#727c8b}.session{border-color:#007aff;background:#f1f6fc}.session p,.session small{color:#727c8b}.calendar-date{background:#edf3fc}.calendar-date small{color:#687d96}.record{background:#f0f2f6}.route{background:#edf0f4;border-radius:10px}.route small{color:#757d88}dialog{background:#fff;border-radius:14px}dialog::backdrop{background:#20263266}#close-detail{background:#f0f1f4}.activity-hero{background:linear-gradient(120deg,#278ef6,#0565d2);color:white;border-radius:10px;padding:20px;margin:12px 0}.activity-hero>div{display:flex;align-items:center;gap:8px;font-size:11px}.activity-hero svg{width:18px;height:18px}.activity-hero h2{font-size:24px;margin:10px 0}.activity-hero p{font-size:12px;line-height:1.7;margin:0}.auth-art{background:#f0f4fb;color:#242a35}.auth-art p{color:#65738a}.auth-art .eyebrow{color:#007aff!important}.auth-lines{border-color:#cbdcf5;box-shadow:0 0 0 50px #f0f4fb,0 0 0 51px #cbdcf5,0 0 0 100px #f0f4fb,0 0 0 101px #cbdcf5,0 0 0 150px #f0f4fb,0 0 0 151px #cbdcf5}.auth-art h1{font-size:clamp(36px,4vw,64px)}#toast{background:#303945}.spinner{border-color:#cbdcf5;border-top-color:#007aff}
@media(min-width:1550px){.main{padding:0 36px 40px}.health-card{padding:20px}.card{padding:20px}}
@media(max-width:1150px){.main{padding:0 22px 30px}.health-grid{gap:12px}.health-card{padding:14px}.health-value{font-size:24px}.health-value small{font-size:10px}.health-grid .health-foot{font-size:9px}}
@media(max-width:900px) and (min-width:801px){.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.sidebar{width:100%;padding:6px 4px;background:#f4f4f6f5;border-top:1px solid #dddde3;border-right:0}.nav{gap:2px}.nav button{font-size:9px;padding:8px 6px;gap:5px;min-width:48px}.main{padding:0 16px 100px}.topbar{height:64px}.mobile-brand{font-size:21px;letter-spacing:-.6px}.top-actions{gap:6px}.top-actions button{padding:7px}.page-head h1{font-size:26px}.today-head h1{font-size:18px}.today-head{padding:23px 0 17px}.health-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.health-card{min-height:169px;padding:13px}.health-value{font-size:24px}.health-value small{display:block;margin:3px 0 0}.health-label{font-size:10px;gap:5px}.health-label svg{width:15px;height:15px}.daily-report{padding:16px}.daily-report-top small{font-size:9px}.date-label{display:none}.card{border-radius:10px}.activity-name strong{max-width:190px}.sync-label{display:none}}
@media(max-width:360px){.health-grid{grid-template-columns:1fr}.nav{justify-content:flex-start}.daily-report-top{align-items:flex-start}.health-value small{display:inline;margin-left:6px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
@media print{.daily-report,.health-card{break-inside:avoid}.health-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
