.dashboard-page .dashboard-wrap{width:100%;max-width:none;min-height:calc(100dvh - 72px);box-sizing:border-box;margin:0;padding:28px clamp(16px,2.2vw,44px) 48px}.dashboard-page .dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.dashboard-heading h1{font-size:32px;line-height:1.2;letter-spacing:-1.1px;margin:0 0 8px;font-weight:650}.dashboard-heading p{color:var(--muted);font-size:14px;margin:0;line-height:1.6}.dashboard-page [data-apple-health-panel]:not(:empty){margin:0 0 28px}.dashboard-page button,.dashboard-page select{font-family:var(--font)}.dashboard-segmented{display:inline-flex;border:1px solid var(--border);border-radius:var(--radius-control);overflow:hidden;flex-shrink:0}.dashboard-segmented button{border:0;border-right:1px solid var(--border);background:transparent;color:var(--muted);font-size:12px;line-height:1.2;font-weight:500;padding:12px 17px;cursor:pointer;min-height:42px}.dashboard-segmented button:last-child{border-right:0}.dashboard-segmented button:hover{background:var(--interactive-hover);color:var(--text)}.dashboard-segmented button[aria-pressed=true]{background:var(--button-primary-bg);color:var(--button-primary-text)}.dashboard-page button:focus-visible,.dashboard-page select:focus-visible,.dashboard-page summary:focus-visible,.dashboard-page a:focus-visible,.dashboard-chart svg:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.dashboard-section{margin-top:28px}.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.dashboard-section-heading h2{margin:0;font-size:21px;line-height:1.35;font-weight:600;letter-spacing:-.5px}.dashboard-section-heading p{font-size:12px;margin:5px 0 0;color:var(--muted);line-height:1.7}.dashboard-filters{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.dashboard-filters label{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.dashboard-filters select{max-width:190px;border:1px solid var(--border);color:var(--text);background:var(--surface-control);border-radius:var(--radius-control-inner);font-size:12px;line-height:1.3;padding:10px 30px 10px 11px;min-height:40px}.dashboard-stat-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-control);padding:22px 0;margin:0 0 16px}.dashboard-stat{padding:0 26px;min-width:0;border-right:1px solid var(--border)}.dashboard-stat:last-child{border:0}.dashboard-stat dt{font-size:12px;color:var(--muted);margin:0 0 8px}.dashboard-stat dd{margin:0;font-size:29px;line-height:1.25;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.dashboard-stat dd small{font-size:16px;letter-spacing:-.3px;font-weight:500}.dashboard-stat .dashboard-coverage{font-size:10px;line-height:1.6;color:var(--muted);margin-top:7px}.dashboard-training-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:16px}.dashboard-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-control);min-width:0}.dashboard-panel-inner{padding:20px}.dashboard-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.dashboard-panel h3{font-size:17px;font-weight:600;line-height:1.35;margin:0;letter-spacing:-.4px}.dashboard-panel-heading .dashboard-segmented button{font-size:11px;padding:9px 12px;min-height:34px}.dashboard-caption{font-size:11px;line-height:1.65;color:var(--muted);margin:9px 0 0}.dashboard-chart{position:relative;min-width:0}.dashboard-chart svg{width:100%;height:190px;display:block;overflow:visible;border-radius:3px;touch-action:pan-y}.dashboard-chart-grid{stroke:var(--chart-grid);stroke-width:1;stroke-dasharray:3 3}.dashboard-chart-label{fill:var(--muted);font-family:var(--font);font-size:10px}.dashboard-chart-bar{fill:var(--chart-accent);opacity:.9}.dashboard-chart-bar:hover{opacity:1}.dashboard-chart-line{stroke:var(--chart-accent);stroke-width:2;fill:none;stroke-linejoin:round;stroke-linecap:round}.dashboard-chart-point{fill:var(--chart-accent)}.dashboard-chart-tooltip{position:absolute;left:44px;top:3px;max-width:calc(100% - 54px);padding:8px 11px;background:var(--chart-tip-bg);color:var(--chart-tip-text);border:1px solid var(--chart-tip-border);border-radius:var(--radius-control-inner);font-size:11px;line-height:1.6;pointer-events:none;box-shadow:var(--shadow)}.dashboard-chart-empty{min-height:190px;display:flex;align-items:center;justify-content:center;text-align:center;padding:25px;color:var(--muted);font-size:12px;line-height:1.8;background:repeating-linear-gradient(to bottom,transparent 0,transparent 46px,var(--chart-grid) 47px,transparent 48px)}.dashboard-chart-unit{color:var(--muted);font-size:10px;margin-bottom:4px}.dashboard-sport-list{list-style:none;padding:0;margin:4px 0 18px;display:grid;gap:22px}.dashboard-sport-text{display:flex;gap:12px;justify-content:space-between;align-items:baseline;font-size:12px;line-height:1.5;margin-bottom:7px}.dashboard-sport-text span:last-child{font-size:11px;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.dashboard-sport-track{height:6px;background:var(--surface-control);overflow:hidden;border-radius:2px}.dashboard-sport-fill{height:100%;background:var(--chart-accent);border-radius:2px}.dashboard-sport-total{display:flex;justify-content:space-between;font-size:12px;gap:12px;border-top:1px solid var(--border);padding-top:16px;color:var(--muted)}.dashboard-health-layout{display:grid;grid-template-columns:255px minmax(0,1fr);overflow:hidden}.dashboard-health-nav{display:flex;flex-direction:column;border-right:1px solid var(--border);padding:4px 0}.dashboard-health-nav button{display:flex;align-items:center;text-align:left;gap:12px;background:none;border:0;border-left:3px solid transparent;padding:13px 17px;color:var(--muted);font-size:12px;line-height:1.4;cursor:pointer}.dashboard-health-nav button:hover{background:var(--interactive-hover);color:var(--text)}.dashboard-health-nav button[aria-pressed=true]{color:var(--brand);border-left-color:var(--brand);background:var(--accent-soft-bg)}.dashboard-health-nav svg{width:17px;height:17px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.dashboard-health-main{padding:20px 22px;min-width:0}.dashboard-health-average{font-size:14px;margin:6px 0 0;line-height:1.6;font-variant-numeric:tabular-nums}.dashboard-health-average strong{font-weight:600}.dashboard-health-coverage{font-size:11px;color:var(--muted);line-height:1.7;margin:3px 0 16px}.dashboard-data-table{margin-top:15px;border-top:1px solid var(--border);padding-top:12px}.dashboard-data-table summary{cursor:pointer;color:var(--muted);font-size:11px;width:fit-content;line-height:1.5}.dashboard-data-table[open] summary{margin-bottom:12px}.dashboard-table-scroll{overflow:auto;max-height:380px}.dashboard-table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;line-height:1.55}.dashboard-table th{font-size:11px;font-weight:500;color:var(--muted);padding:0 10px 9px;white-space:nowrap}.dashboard-table td{border-top:1px solid var(--border);padding:12px 10px;vertical-align:top;font-variant-numeric:tabular-nums}.dashboard-table th:first-child,.dashboard-table td:first-child{padding-left:0}.dashboard-table th:last-child,.dashboard-table td:last-child{padding-right:0}.dashboard-table .dashboard-number{text-align:right;white-space:nowrap}.dashboard-table a{color:var(--text);text-decoration:none;font-weight:500}.dashboard-table a:hover{text-decoration:underline;text-underline-offset:3px;color:var(--brand)}.dashboard-table .dashboard-row-note{display:block;font-size:10px;color:var(--muted);margin-top:2px}.dashboard-source{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.dashboard-source:before{content:"";display:block;width:6px;height:6px;border-radius:50%;background:var(--brand);flex-shrink:0}.dashboard-source.is-health:before{background:var(--accent)}.dashboard-status{font-size:13px;line-height:1.8;color:var(--muted);padding:24px 0}.dashboard-notice{border:1px solid var(--border);background:var(--surface);border-radius:var(--radius-control);padding:14px 18px;margin:0 0 20px;font-size:12px;line-height:1.8;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:20px}.dashboard-notice p{margin:0}.dashboard-notice.is-error{border-color:var(--danger)}.dashboard-notice .btn{font-size:12px;white-space:nowrap}.dashboard-refresh{padding:4px 0;margin-top:20px;display:flex;justify-content:space-between;gap:16px;align-items:center}.dashboard-refresh p{font-size:11px;color:var(--muted);line-height:1.7;margin:0}.dashboard-refresh .btn{font-size:12px}.dashboard-loading{opacity:.6;pointer-events:none}@media(min-width:1400px){.dashboard-wrap{padding-top:40px}}@media(max-width:900px){.dashboard-training-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.dashboard-panel-heading{align-items:flex-start;flex-direction:column;gap:10px}.dashboard-stat{padding:0 18px}.dashboard-stat dd{font-size:25px}.dashboard-health-layout{grid-template-columns:225px minmax(0,1fr)}.dashboard-heading h1{font-size:29px}.dashboard-section-heading{align-items:flex-start}.dashboard-filters{gap:10px}.dashboard-filters label{gap:6px}.dashboard-filters select{max-width:145px}.dashboard-segmented button{padding:11px 12px}}@media(max-width:700px){.dashboard-wrap{padding:24px 16px 48px}.dashboard-page .dashboard-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:20px}.dashboard-heading h1{font-size:28px}.dashboard-heading>.dashboard-segmented{display:flex;width:100%}.dashboard-heading>.dashboard-segmented button{flex:1}.dashboard-section-heading{flex-direction:column;gap:12px}.dashboard-section-heading h2{font-size:20px}.dashboard-filters{width:100%;gap:12px}.dashboard-filters label{flex:1;display:flex;align-items:flex-start;flex-direction:column;gap:6px}.dashboard-filters select{width:100%;max-width:none}.dashboard-stat-band{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 0;row-gap:20px}.dashboard-stat:nth-child(2){border:0}.dashboard-stat dd{font-size:26px}.dashboard-training-grid{grid-template-columns:1fr}.dashboard-panel-inner{padding:18px}.dashboard-panel-heading{flex-direction:row;align-items:center;flex-wrap:wrap}.dashboard-health-layout{grid-template-columns:1fr}.dashboard-health-nav{flex-direction:row;overflow-x:auto;border:0;border-bottom:1px solid var(--border);padding:0}.dashboard-health-nav button{flex-shrink:0;border-left:0;border-bottom:3px solid transparent;padding:14px 15px;gap:7px}.dashboard-health-nav button[aria-pressed=true]{border-bottom-color:var(--brand)}.dashboard-health-main{padding:18px}.dashboard-chart svg{height:190px}.dashboard-table{min-width:540px}.dashboard-data-table .dashboard-table{min-width:300px}.dashboard-notice{align-items:flex-start;flex-direction:column;gap:10px}.dashboard-health-nav button:focus-visible{outline-offset:-3px}.dashboard-refresh{align-items:flex-start}.dashboard-section{margin-top:24px}}@media(prefers-reduced-motion:no-preference){.dashboard-segmented button,.dashboard-health-nav button{transition:background .15s ease,color .15s ease}}.dashboard-training-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-filters{margin-bottom:16px}.dashboard-page [data-apple-health-panel]:empty{display:none}.dashboard-section-heading .dashboard-filters{margin-bottom:0}.dashboard-panel-heading .dashboard-caption{margin:0;white-space:nowrap}.dashboard-chart svg{height:auto;min-height:180px;max-height:270px}.dashboard-chart .dashboard-chart-label{font-size:15px}.dashboard-sport-chart{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.dashboard-sport-chart svg{width:160px;height:160px;flex-shrink:0}.dashboard-donut-value{fill:var(--text);font-family:var(--font);font-size:29px;font-weight:600}.dashboard-sport-legend{list-style:none;margin:0;padding:0;display:grid;gap:10px;flex:1;min-width:120px}.dashboard-sport-legend li{display:flex;align-items:center;gap:8px;font-size:11px}.dashboard-sport-legend strong{margin-left:auto;font-weight:500;font-variant-numeric:tabular-nums}.dashboard-legend-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dashboard-health-value{font-size:26px;font-weight:600;letter-spacing:-.7px;margin-bottom:12px}.dashboard-health-value small{font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted)}.dashboard-recent>summary{cursor:pointer;font-size:16px;font-weight:500;padding:16px 0;border-top:1px solid var(--border)}.dashboard-recent>summary span{font-size:12px;color:var(--muted);margin-left:8px}@media(max-width:1250px){.dashboard-training-grid,.dashboard-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-health-grid>section:first-child{grid-column:1/-1}}@media(max-width:700px){.dashboard-training-grid,.dashboard-health-grid{grid-template-columns:1fr}.dashboard-page .dashboard-wrap{padding:24px 16px 40px}.dashboard-chart svg{min-height:170px}.dashboard-sport-chart{flex-wrap:nowrap}.dashboard-health-grid>section:first-child{grid-column:auto}}.dashboard-page .dashboard-heading{align-items:flex-start;gap:24px;flex-wrap:wrap;margin-bottom:36px}.dashboard-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dashboard-actions .btn{min-height:44px;white-space:nowrap}.dashboard-text-link{display:inline-flex;align-items:center;gap:8px;color:var(--text);font-size:13px;font-weight:500;text-decoration:none;min-height:44px}.dashboard-text-link:hover{text-decoration:underline;text-underline-offset:4px}.dashboard-actions .dashboard-text-link{margin-left:8px}.dashboard-refresh-button{margin-left:auto}.dashboard-session-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--border)}.dashboard-session-list>li{border-bottom:1px solid var(--border)}.dashboard-session{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:18px;padding:18px 12px;color:var(--text);text-decoration:none;border-radius:8px}a.dashboard-session:hover{background:var(--interactive-hover)}.dashboard-session-name{min-width:0;display:grid;gap:5px}.dashboard-session-name strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}.dashboard-session-name>span{font-size:12px;color:var(--muted);line-height:1.5}.dashboard-session-values{display:flex;align-items:baseline;gap:24px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}.dashboard-session-values>span{min-width:72px;text-align:right;white-space:nowrap}.dashboard-session-values b{color:var(--text);font-size:16px;font-weight:500}.dashboard-session-arrow{font-size:18px;color:var(--muted)}.dashboard-private-workout{grid-column:1/-1;font-size:11px;color:var(--muted);margin-top:-8px}.dashboard-more-sessions>summary{cursor:pointer;padding:16px 12px;font-size:13px;color:var(--text)}.dashboard-training-grid{grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:20px}.dashboard-training-grid .dashboard-panel-heading{min-height:40px}.dashboard-empty{padding:36px 24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-surface,16px)}.dashboard-empty h3{margin:0 0 10px;font-size:22px;line-height:1.3}.dashboard-empty p{max-width:58ch;margin:0 0 20px;color:var(--muted);font-size:14px;line-height:1.7}.dashboard-empty>.dashboard-text-link{margin-top:10px}.dashboard-health-missing{min-height:80px;margin:0;color:var(--muted);font-size:13px;line-height:1.7}.dashboard-next-links{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:36px;border-top:1px solid var(--border);padding:24px 0}.dashboard-next-links>a{display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--text);text-decoration:none;min-height:44px}.dashboard-next-links>a strong{font-weight:500;font-size:15px}.dashboard-next-links>a>span{color:var(--muted);font-size:13px}.dashboard-next-links>a:hover strong{text-decoration:underline;text-underline-offset:4px}.dashboard-page [data-apple-health-panel]:not(:empty){margin:12px 0 0}@media(max-width:900px){.dashboard-training-grid{grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr)}.dashboard-next-links>a{align-items:flex-start;flex-direction:column;gap:6px}}@media(max-width:700px){.dashboard-actions{gap:8px}.dashboard-actions .dashboard-text-link{margin-left:0}.dashboard-session{grid-template-columns:minmax(0,1fr) 16px;gap:10px;padding:16px 4px}.dashboard-session-name{grid-column:1}.dashboard-session-arrow{grid-column:2;grid-row:1/3}.dashboard-session-values{grid-column:1;gap:20px}.dashboard-session-values>span{text-align:left;min-width:0}.dashboard-training-grid{grid-template-columns:1fr}.dashboard-empty{padding:24px 18px}.dashboard-next-links{gap:16px}.dashboard-next-links>a strong{font-size:14px}.dashboard-section-heading>.dashboard-segmented{display:flex;width:100%}.dashboard-section-heading>.dashboard-segmented button{flex:1}}
