:root{
  --bg:#f4f6fa;--card:#fff;--ink:#101828;--muted:#667085;--line:#e4e7ec;
  --dark:#0c1524;--dark2:#172437;--lime:#c8ff3d;--lime2:#a7ef2d;--blue:#5b8def;
  --success:#168a5b;--danger:#c9364b;--warning:#fff4d6;--violet:#7c5cff;
  --shadow:0 18px 50px rgba(17,24,39,.08);--radius:24px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at 8% 1%,#f4ffe9 0,transparent 22%),var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.app-shell{width:min(1280px,calc(100% - 40px));margin:0 auto}.topbar{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand-button{border:0;background:transparent;padding:0;text-align:left}.brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--dark);color:var(--lime);font-weight:900;font-size:24px}.brand strong{display:block;font-size:19px;letter-spacing:.06em}.brand small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.top-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ghost-btn,.icon-btn,.primary-btn,.secondary-btn,.small-btn,.danger-btn,.back-btn{border:0;border-radius:14px;transition:.2s ease}.ghost-btn{background:#fff;border:1px solid var(--line);padding:12px 17px;color:var(--ink)}.icon-btn{width:44px;height:44px;background:#fff;border:1px solid var(--line);font-size:18px}.primary-btn{background:var(--dark);color:#fff;padding:13px 20px;font-weight:800}.primary-btn:hover{transform:translateY(-1px);background:#17233a}.secondary-btn{background:#eef2f6;color:var(--ink);padding:13px 20px;font-weight:800}.secondary-btn:hover{background:#e4eaf0}.danger-btn{background:#fff1f2;color:#a51d37;border:1px solid #fecdd3;padding:13px 18px;font-weight:850}.danger-btn:hover{background:#ffe4e6}.small-btn{padding:11px 15px;background:#fff;color:#7a4b00;font-weight:800}.back-btn{background:#fff;border:1px solid var(--line);padding:11px 15px;color:#344054;font-weight:800}.link-btn{border:0;background:transparent;color:#596780;padding:7px 2px;text-align:left;text-decoration:underline;text-underline-offset:3px}.card{background:var(--card);border:1px solid rgba(228,231,236,.9);border-radius:var(--radius);box-shadow:var(--shadow)}
.demo-banner{margin:0 0 12px;padding:10px 14px;background:#fff3c8;border:1px solid #f4d563;border-radius:12px;color:#6d5200;font-size:12px;font-weight:900;letter-spacing:.08em;text-align:center}.hero{border-radius:30px;overflow:hidden}.personal-hero,.group-hero{min-height:272px;background:linear-gradient(115deg,#0c1423 0%,#122034 57%,#1f321d 100%);color:#fff;padding:38px 36px;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.55fr);gap:40px;align-items:end;box-shadow:0 28px 65px rgba(12,21,36,.18)}.hero-copy{max-width:820px}.eyebrow,.section-kicker{text-transform:uppercase;font-size:12px;letter-spacing:.14em;font-weight:900;color:#8da4c9}.personal-hero h1,.group-hero h1{font-size:clamp(42px,5vw,66px);line-height:.98;margin:14px 0 17px;letter-spacing:-.045em;max-width:900px}.personal-hero p,.group-hero p{font-size:16px;line-height:1.7;color:#d5deea;margin:0;max-width:760px}.week-card,.group-switcher{padding:20px;border:1px solid rgba(255,255,255,.15);border-radius:22px;background:rgba(255,255,255,.075);backdrop-filter:blur(12px)}.week-card span,.group-switcher label{display:block;font-size:12px;color:#b5c3d6;margin-bottom:8px}.week-card strong{display:block;font-size:21px;line-height:1.3}.group-switcher select{width:100%;background:#fff;color:var(--ink);border:0;border-radius:12px;padding:14px 13px;font-weight:850;font-size:17px}.group-switcher small{display:block;margin-top:9px;color:#cfd9e7}.view-back-row{padding:4px 0 14px}.group-dashboard{padding-top:24px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.kpi-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;min-height:130px;display:flex;flex-direction:column;box-shadow:0 12px 30px rgba(17,24,39,.05)}.kpi-card span{font-size:12px;color:var(--muted);font-weight:750}.kpi-card strong{font-size:27px;line-height:1.1;margin:12px 0 8px;letter-spacing:-.035em}.kpi-card small{font-size:12px;color:#7b8799;line-height:1.4}.kpi-card.dark{background:var(--dark);border-color:var(--dark);color:#fff}.kpi-card.dark span,.kpi-card.dark small{color:#aebdd2}.kpi-card.accent{background:#efffd4;border-color:#d6f5a4}.group-chart-card{margin-top:15px;padding:27px}.chart-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.chart-head span{font-size:12px;color:#768399;text-transform:uppercase;letter-spacing:.09em;font-weight:850}.chart-head h2,.chart-head h3{margin:6px 0 0;line-height:1.14}.chart-head h2{font-size:27px}.chart-head h3{font-size:21px}.chart-head p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.55}.unit-chip{border:1px solid var(--line);padding:7px 10px;border-radius:11px;color:#667085;background:#fafbfc;font-weight:800;font-size:12px;white-space:nowrap}.metric-switcher,.measurement-toggles{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 10px}.metric-toggle,.measure-toggle{border:1px solid var(--line);background:#f8fafc;border-radius:999px;padding:9px 12px;color:#566176;font-size:12px;font-weight:800}.metric-toggle.active,.measure-toggle.active{background:var(--dark);color:#fff;border-color:var(--dark)}.chart-wrap{height:300px;width:100%;overflow:hidden}.group-chart-wrap{height:390px;margin-top:8px}.chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-people-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px;padding-top:15px;border-top:1px solid var(--line)}.person-legend{display:flex;align-items:center;gap:7px;color:#58657a;font-size:12px}.legend-dot{width:9px;height:9px;border-radius:99px;display:inline-block}.comparison-card,.history-card{margin-top:15px;padding:27px}.comparison-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.comparison-head h2,.comparison-head h3{font-size:26px;margin:6px 0 0}.compare-hint{font-size:12px;color:var(--muted);text-align:right}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:17px}.comparison-table,.history-table{border-collapse:collapse;width:100%;min-width:850px;background:#fff}.history-table{min-width:650px}.comparison-table th,.history-table th{font-size:11px;text-align:left;text-transform:uppercase;letter-spacing:.06em;color:#667085;background:#f8fafc;padding:13px 14px;border-bottom:1px solid var(--line);white-space:nowrap}.comparison-table td,.history-table td{padding:14px;border-bottom:1px solid #edf0f3;font-size:13px}.comparison-table tr:last-child td,.history-table tr:last-child td{border-bottom:0}.comparison-table .who{font-weight:800}.delta-down{color:#12855b;font-weight:850}.delta-up{color:#b54747;font-weight:850}.delta-flat{color:#667085;font-weight:800}.muted-cell{color:#98a2b3}
.identity{margin-top:24px;padding:26px 28px;display:grid;grid-template-columns:1fr 1.25fr;gap:30px;align-items:center}.identity h2{font-size:30px;margin:6px 0 8px}.identity p{margin:0;color:var(--muted);line-height:1.55}.identity-controls{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:center}.identity-controls .link-btn{grid-column:1/-1}.identity select,.stack-form select,.stack-form input,.stack-form textarea,.register-form select,.register-form input,.form-grid input{width:100%;border:1px solid #d7dce4;background:#fff;border-radius:13px;padding:13px 14px;color:var(--ink);outline:none}.identity select:focus,.stack-form select:focus,.stack-form input:focus,.stack-form textarea:focus,.register-form select:focus,.register-form input:focus,.form-grid input:focus{border-color:#93c53f;box-shadow:0 0 0 4px rgba(184,231,78,.16)}.register-form{grid-column:1/-1;margin-top:4px;padding-top:20px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px;align-items:end}.register-form label,.stack-form label,.form-grid label,.correction-grid label{font-size:12px;font-weight:800;color:#526077;display:grid;gap:7px}.optional-label{font-weight:600;color:#98a2b3;margin-left:4px}.full-row{grid-column:1/-1}.deadline-alert{margin:18px 0 0;background:#fff6db;border:1px solid #f0d584;border-radius:19px;padding:17px;display:flex;align-items:center;gap:14px;color:#6f4b00}.alert-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f4c84b;font-weight:950}.deadline-alert p{margin:3px 0 0;font-size:13px}.deadline-alert .small-btn{margin-left:auto}.personal-dashboard{padding-top:45px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 16px}.section-heading h2{margin:6px 0 0;font-size:31px;letter-spacing:-.035em}.person-pill{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 14px;text-align:right;box-shadow:0 8px 24px rgba(17,24,39,.04)}.person-pill span{display:block;font-weight:850}.person-pill small{display:block;color:#7c889a;margin-top:3px}.star-notice{margin-bottom:14px;padding:17px 20px;border-radius:18px;background:#fff7d6;border:1px solid #f4d675;display:flex;align-items:center;gap:14px}.star-notice .big-star{font-size:30px;color:#efa800}.star-notice p{margin:3px 0 0;color:#7a5a00;font-size:13px}.motivation-card{margin:0 0 14px;padding:19px 21px;border-radius:20px;background:linear-gradient(100deg,#efffd4,#fff);border:1px solid #d8f1af;display:flex;gap:14px;align-items:center;box-shadow:0 10px 30px rgba(90,120,40,.07)}.motivation-mark{width:42px;height:42px;border-radius:13px;background:var(--dark);color:var(--lime);display:grid;place-items:center;font-size:20px}.motivation-card span{display:block;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.motivation-card strong{display:block;font-size:18px;margin-top:5px;line-height:1.35}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:15px}.chart-card{padding:24px}.nutrition-legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px;color:#6f7b8e;font-size:12px}.nutrition-legend span{background:#f6f7f9;border-radius:999px;padding:7px 10px}.curator-note{margin-top:15px;padding:22px;display:flex;gap:15px;align-items:flex-start;background:#fbf8ff;border-color:#e6ddff}.note-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#ece3ff;color:#6941c6;font-size:20px}.curator-note span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#7a67a0;font-weight:900}.curator-note p{font-size:16px;line-height:1.55;margin:7px 0}.curator-note small{color:#8c7ea8}.stars-card{margin-top:15px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.stars-card h3{font-size:23px;margin:6px 0 7px}.stars-card p{margin:0;color:var(--muted);font-size:13px;max-width:680px;line-height:1.5}.stars-row{display:flex;gap:5px;flex-wrap:wrap}.star{font-size:24px;line-height:1;color:#d8dee8}.star.filled{color:#f1b500;text-shadow:0 2px 8px rgba(241,181,0,.18)}.large-stars .star{font-size:29px}.stars-count{margin-top:8px;text-align:right;color:#667085}.stars-count strong{font-size:21px;color:var(--ink);margin-right:4px}.report-heading{margin-top:50px}.segmented{display:flex;background:#e9edf2;padding:4px;border-radius:14px}.seg-btn{border:0;background:transparent;padding:10px 12px;border-radius:11px;color:#69758a;font-size:12px;font-weight:850}.seg-btn.active{background:#fff;color:var(--ink);box-shadow:0 3px 10px rgba(17,24,39,.08)}.form-card{padding:27px;margin-bottom:16px}.form-intro{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:15px}.form-intro h3{font-size:23px;margin:0 0 7px}.form-intro p{margin:0;color:var(--muted);font-size:13px}.due-chip{background:#efffd4;border:1px solid #d9f2ad;border-radius:999px;padding:8px 11px;color:#416419;font-size:12px;font-weight:900}.auto-date{font-size:12px;color:#667085;background:#f8fafc;border:1px solid var(--line);padding:10px 12px;border-radius:12px;margin-bottom:17px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.form-grid.five{grid-template-columns:repeat(5,1fr)}.form-grid input{font-size:15px}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:22px}.save-status{font-size:12px;color:#69758a;min-height:17px}.recommended-box{background:#f6f8fb;border:1px solid #e6eaf0;border-radius:15px;padding:14px;margin-bottom:18px;color:#566176;font-size:13px}.recommended-box strong{color:var(--ink)}footer{text-align:center;padding:42px 0;color:#98a2b3;font-size:12px}
.modal{border:0;background:transparent;padding:0;max-width:none}.modal::backdrop{background:rgba(7,14,26,.62);backdrop-filter:blur(5px)}.modal-inner{width:min(520px,calc(100vw - 28px));background:#fff;border-radius:24px;padding:30px;position:relative;box-shadow:0 28px 80px rgba(0,0,0,.24);max-height:90vh;overflow:auto}.extra-wide-modal{width:min(1120px,calc(100vw - 28px))}.modal-close{position:absolute;right:16px;top:14px;border:0;background:#f2f4f7;border-radius:50%;width:35px;height:35px;font-size:21px}.lock-icon{font-size:30px}.modal h2{font-size:29px;margin:10px 0}.modal p{color:var(--muted);line-height:1.55;font-size:13px}.stack-form{display:grid;gap:13px;margin-top:20px}.stack-form textarea{resize:vertical;min-height:100px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.admin-panel{border:1px solid var(--line);background:#fbfcfd;border-radius:18px;padding:20px}.admin-panel h3{margin:0 0 6px;font-size:19px}.admin-panel p{margin:0}.compact-form{margin-top:16px}.admin-divider{height:1px;background:var(--line);margin:19px 0}.admin-help{margin-top:16px;background:#f4f7fb;border-radius:14px;padding:14px;color:#5e6b80;font-size:12px}.admin-help p{margin:5px 0 0}.completed-list{display:grid;gap:8px;margin-top:12px}.completed-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-radius:12px;background:#f2f4f7;color:#667085;font-size:12px}.completed-item button{border:0;border-radius:10px;background:#fff;padding:7px 10px;color:#344054;font-weight:800}.group-admin-item span{display:grid;gap:3px}.group-admin-item small{color:#98a2b3}.correction-panel{grid-column:1/-1}.correction-fields{margin-top:4px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.correction-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.correction-grid input{width:100%;border:1px solid #d7dce4;background:#fff;border-radius:11px;padding:10px 11px;color:var(--ink);outline:none}.correction-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-stars-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px}.clickable-stars .star{cursor:pointer;font-size:27px;user-select:none}.clickable-stars .star:hover{transform:scale(1.08)}#starsRange{width:100%;accent-color:#f1b500}.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);background:#101828;color:#fff;padding:12px 17px;border-radius:13px;opacity:0;pointer-events:none;transition:.2s ease;z-index:99;box-shadow:0 14px 35px rgba(0,0,0,.22);font-size:13px}.toast.show{opacity:1;transform:translate(-50%,0)}
@media (max-width:1100px){.form-grid.five{grid-template-columns:repeat(3,1fr)}.correction-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:980px){.app-shell{width:min(100% - 26px,1280px)}.personal-hero,.group-hero{grid-template-columns:1fr;padding:34px}.week-card,.group-switcher{max-width:440px}.kpi-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.form-grid,.form-grid.five{grid-template-columns:1fr 1fr}.identity{grid-template-columns:1fr}.register-form{grid-template-columns:1fr 1fr}.register-form button{grid-column:1/-1}.correction-grid{grid-template-columns:1fr 1fr}.admin-grid{grid-template-columns:1fr}.stars-card{align-items:flex-start;flex-direction:column}.stars-count{text-align:left}}
@media (max-width:720px){.topbar{align-items:flex-start;padding:14px 0;min-height:76px}.top-actions{gap:6px}.ghost-btn{padding:10px 11px;font-size:12px}.icon-btn{width:40px;height:40px}.group-link-btn{font-weight:800}.switch-person-btn{display:inline-flex!important}.brand small{display:none}}
@media (max-width:640px){.app-shell{width:calc(100% - 18px)}.brand-mark{width:38px;height:38px}.brand strong{font-size:15px}.topbar{gap:8px}.top-actions{max-width:245px}.ghost-btn{padding:9px 9px;font-size:11px;border-radius:11px}.icon-btn{width:36px;height:36px;border-radius:11px}.personal-hero,.group-hero{min-height:0;padding:27px 21px;border-radius:24px;gap:25px}.personal-hero h1,.group-hero h1{font-size:40px}.personal-hero p,.group-hero p{font-size:14px}.week-card,.group-switcher{padding:16px}.kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.kpi-card{padding:15px;min-height:117px;border-radius:16px}.kpi-card strong{font-size:23px}.group-chart-card,.comparison-card,.chart-card,.form-card,.history-card{padding:18px;border-radius:19px}.chart-head h2{font-size:22px}.group-chart-wrap{height:330px}.comparison-head{align-items:flex-start;flex-direction:column}.compare-hint{text-align:left}.section-heading{align-items:flex-start;flex-direction:column}.section-heading h2{font-size:27px}.identity{padding:20px;gap:20px}.identity-controls{grid-template-columns:1fr}.identity-controls .primary-btn{width:100%}.register-form{grid-template-columns:1fr}.correction-grid{grid-template-columns:1fr}.correction-actions{flex-direction:column}.correction-actions button{width:100%}.deadline-alert{align-items:flex-start;flex-wrap:wrap}.deadline-alert .small-btn{margin-left:48px}.person-pill{text-align:left}.form-grid,.form-grid.five{grid-template-columns:1fr}.form-intro{flex-direction:column}.form-actions{align-items:stretch;flex-direction:column}.form-actions .primary-btn{width:100%}.segmented{width:100%;overflow:auto}.seg-btn{flex:1;white-space:nowrap}.admin-panel{padding:16px}.modal-inner{padding:24px 18px}.chart-people-legend{max-height:110px;overflow:auto}.comparison-table td,.comparison-table th,.history-table td,.history-table th{padding:12px 10px}.stars-card{padding:18px}.large-stars .star{font-size:25px}.motivation-card{align-items:flex-start}.star-notice{align-items:flex-start}.switch-person-btn{max-width:105px;white-space:normal;line-height:1.1}}

.personal-heading-actions{display:flex;align-items:center;gap:10px}.dashboard-switch-btn{display:none}
@media(max-width:720px){.personal-heading-actions{align-items:stretch;flex-direction:column}.dashboard-switch-btn{display:inline-flex!important;justify-content:center}.section-heading{align-items:stretch}.person-pill{text-align:left}}

/* v5: detailed history + group participant picker */
.details-card{margin-top:15px;padding:27px}.details-table{border-collapse:collapse;width:100%;min-width:1780px;background:#fff}.details-table th{font-size:10px;text-align:left;text-transform:uppercase;letter-spacing:.045em;color:#667085;background:#f8fafc;padding:12px 11px;border-bottom:1px solid var(--line);white-space:nowrap}.details-table td{padding:12px 11px;border-bottom:1px solid #edf0f3;font-size:12px;white-space:nowrap}.details-table tr:last-child td{border-bottom:0}.details-table tbody tr:hover{background:#fbfcfd}.group-people-box{margin:18px 0 6px;padding:15px;border:1px solid var(--line);border-radius:17px;background:#fafbfc}.group-people-box-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:11px}.group-people-box-head strong{font-size:13px}.group-people-box-head span{font-size:12px;color:var(--muted)}.group-people-picker{display:flex;flex-wrap:wrap;gap:8px}.person-check{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:8px 11px;background:#fff;color:#475467;font-size:12px;font-weight:750;cursor:pointer}.person-check:has(input:checked){background:#efffd4;border-color:#cce993;color:#263c14}.person-check input{accent-color:#6d9f16}.admin-note{font-size:12px;color:#667085;line-height:1.55;margin:6px 0 0}.soft-delete-note{padding:12px 14px;border-radius:12px;background:#f8fafc;border:1px solid var(--line);color:#667085;font-size:12px}
@media(max-width:720px){.details-card{padding:18px 14px}.group-people-box-head{align-items:flex-start;flex-direction:column}.person-check{font-size:11px;padding:7px 9px}}

.form-grid.one-col{grid-template-columns:1fr}.compact-modal .primary-btn{width:100%;margin-top:14px}
.report-meta-row{display:grid;grid-template-columns:1fr minmax(220px,320px);gap:12px;align-items:end;margin-bottom:17px}.report-meta-row .auto-date{margin-bottom:0;height:100%;display:flex;align-items:center}.week-select-label{font-size:12px;font-weight:800;color:#526077;display:grid;gap:7px}.week-select-label select{width:100%;border:1px solid #d7dce4;background:#fff;border-radius:12px;padding:10px 12px;color:var(--ink);outline:none}.week-select-label select:focus{border-color:#93c53f;box-shadow:0 0 0 4px rgba(184,231,78,.16)}.group-admin-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.group-admin-actions button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.report-meta-row{grid-template-columns:1fr}.group-admin-actions{width:100%;justify-content:flex-start}.completed-item.group-admin-item{align-items:flex-start;flex-direction:column}}

/* v8.5: mobile horizontal-table navigation */
.table-scroll-guide{display:none;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;color:#718096;font-size:11px;font-weight:800}.table-scroll-guide.is-scrollable{display:flex}.table-scroll-guide-text{display:inline-flex;align-items:center;gap:5px}.table-scroll-guide-buttons{display:flex;gap:6px}.table-scroll-arrow{width:34px;height:30px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#344054;font-size:17px;font-weight:900;box-shadow:0 3px 10px rgba(17,24,39,.05)}.table-scroll-arrow:disabled{opacity:.28}.table-scroll{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.table-scroll.is-dragging{cursor:grabbing}
@media(min-width:900px){.table-scroll-guide{font-size:12px}}

/* v8.7: статус марафона и сравнение калоража */
.personal-status-grid{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(360px,1.35fr);gap:15px;margin:0 0 15px}.status-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:19px 21px;box-shadow:0 12px 30px rgba(17,24,39,.05)}.status-card>span,.calorie-status-head>span{display:block;font-size:12px;color:var(--muted);font-weight:800}.status-card>strong{display:block;font-size:27px;line-height:1.1;margin:10px 0 7px}.status-card>small{color:#7b8799;line-height:1.4}.marathon-status-card{background:linear-gradient(115deg,#f5ffe6,#fff);border-color:#dcefbf}.calorie-status-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.calorie-status-head small{color:#8a95a5}.calorie-compare-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px}.calorie-compare-values>div{background:#f8fafc;border:1px solid #edf0f4;border-radius:14px;padding:12px 14px}.calorie-compare-values small{display:block;color:#7b8799;font-size:11px;margin-bottom:5px}.calorie-compare-values strong{font-size:22px}.calorie-status-card p{margin:10px 0 0;color:#667085;font-size:12px;line-height:1.45}.calorie-status-card.good{border-color:#b7e3ca;background:#f7fff9}.calorie-status-card.good #actualCalories{color:#12855b}.calorie-status-card.high{border-color:#f2b9bd;background:#fff8f8}.calorie-status-card.high #actualCalories{color:#b42318}.calorie-status-card.low{border-color:#f3d49a;background:#fffaf0}.calorie-status-card.low #actualCalories{color:#a15c00}.calorie-status-card.neutral #actualCalories{color:var(--ink)}
@media(max-width:760px){.personal-status-grid{grid-template-columns:1fr}.calorie-compare-values{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.calorie-compare-values{grid-template-columns:1fr}}
