/* The review shell is separate from product tokens: it must never suggest extra app navigation. */
:root{--page:#f2f2f7;--surface:#fff;--ink:#1c1c1e;--secondary:#6b6b73;--line:#e6e6ec;--blue:#285cdd;--danger:#b42318;--accent:#6b4cce;--radius:24px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#f9f9fb;display:flex;align-items:flex-start;justify-content:center;gap:100px;padding:40px 40px 60px}button,input,textarea{font:inherit}button{cursor:pointer;border:0;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #356be7;outline-offset:3px}button:disabled{cursor:default;opacity:.4}a{color:var(--blue);text-decoration:none}button:active{filter:brightness(.94)}svg{display:block}button svg{pointer-events:none}.review-panel{width:264px;position:sticky;top:60px;margin-top:36px}.review-mark{font-weight:650;font-size:17px;letter-spacing:3px}.review-panel h1{font-size:44px;line-height:1.27;letter-spacing:-2px;font-weight:650;margin:34px 0 20px}.review-description{font-size:14px;line-height:1.9;color:var(--secondary)}.review-nav{margin-top:32px;display:grid;gap:4px}.review-nav button{height:45px;padding:0 14px;text-align:left;background:transparent;border-radius:11px;display:flex;align-items:center;justify-content:space-between;color:#656570;font-size:14px}.review-nav button.active{background:#ececf2;color:#262631;font-weight:600}.review-nav button span{font-size:11px;font-variant-numeric:tabular-nums;opacity:.65}.review-foot{border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:12px;color:var(--secondary);line-height:1.9}.review-foot a{display:block;margin-top:10px}.reset-button{padding:0;color:#4f4f5b;background:none;font-size:12px;text-decoration:underline;text-underline-offset:4px}
/* A fixed artboard makes the same design inspectable at 390px and in the smaller review board. */
.device{width:390px;height:844px;flex:none;background:var(--page);border-radius:44px;position:relative;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 0 0 1px #dddde4,0 18px 70px #23234012}.status-bar{height:48px;flex:none;padding:16px 29px 0;display:flex;align-items:flex-start;justify-content:space-between;font-weight:650;font-size:15px;letter-spacing:.1px}.system-icons{display:flex;align-items:center;gap:7px;height:16px}.signal{height:12px;width:17px;background:linear-gradient(to right,#1c1c1e 0 15%,transparent 15% 25%,#1c1c1e 25% 40%,transparent 40% 50%,#1c1c1e 50% 67%,transparent 67% 77%,#1c1c1e 77%);clip-path:polygon(0 70%,20% 70%,20% 45%,45% 45%,45% 20%,70% 20%,70% 0,100% 0,100% 100%,0 100%)}.wifi{width:15px;height:12px;border-top:3px solid;border-radius:50%;position:relative}.wifi:before{content:"";position:absolute;width:9px;height:7px;left:3px;top:2px;border-top:3px solid;border-radius:50%}.wifi:after{content:"";position:absolute;width:3px;height:3px;left:6px;top:7px;background:currentColor;border-radius:50%}.battery{width:23px;height:11px;border:1.4px solid #1c1c1e;border-radius:3px;position:relative;padding:1px}.battery:before{content:"";display:block;height:100%;background:#1c1c1e;border-radius:1px}.battery:after{content:"";position:absolute;right:-3px;top:3px;width:1.5px;height:4px;background:#1c1c1e;border-radius:1px}.app-header{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;flex:none;position:relative}.app-header .header-title{font-size:16px;font-weight:600;position:absolute;left:84px;right:84px;text-align:center;pointer-events:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.header-back{display:flex;align-items:center;gap:2px;min-width:44px;min-height:44px;padding:0;background:transparent;color:var(--blue);font-size:16px}.header-back svg{width:22px;height:22px}.capsule{height:30px;width:86px;border:1px solid #d9d9de;border-radius:18px;display:flex;align-items:center;justify-content:space-evenly;background:#ffffffb8;margin-left:auto;color:#222}.capsule b{letter-spacing:1px;font-size:19px;line-height:1;margin-top:-7px}.capsule i{height:17px;width:1px;background:#d9d9de}.capsule span{height:15px;width:15px;border:2px solid;border-radius:50%;position:relative}.capsule span:after{content:"";position:absolute;inset:3px;background:currentColor;border-radius:50%}.screen{overflow:auto;flex:1;padding:0 16px 36px;scrollbar-width:none;overscroll-behavior:contain}.screen::-webkit-scrollbar{display:none}.home-title{font-size:32px;font-weight:700;letter-spacing:-1.3px;margin:4px 0 22px;line-height:1.2}.home-indicator{position:absolute;bottom:8px;left:calc(50% - 64px);height:5px;width:128px;border-radius:5px;background:#17171b;pointer-events:none;z-index:30}
/* A fixed footer keeps exact point values below the plot without changing card height on selection. */
.chart-footer-reading{height:24px;padding-top:4px;box-sizing:border-box;text-align:left;line-height:20px;font-size:12px;color:var(--secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
/* Opaque toolbar surfaces stay above the independently scrolling chart and history. */
.app-header,.status-bar{position:relative;z-index:10;background:var(--page)}
/* The search field shares the cards' full content width; focus stays on its wrapper, not tiny glyphs. */
.home-search{display:flex;align-items:center;gap:8px;min-height:44px;width:100%;margin:4px 0 20px;padding-left:12px;border-radius:13px;background:#e5e5ec;color:var(--secondary)}
.home-search>svg{width:20px;height:20px;flex:none}
.home-search input{min-width:0;flex:1;width:100%;height:44px;padding:0 12px 0 0;border:0;background:none;color:var(--ink);font-size:16px;appearance:none}
.home-search input::placeholder{color:var(--secondary);opacity:1}
.home-search input::-webkit-search-cancel-button{appearance:none}
.home-search:focus-within{outline:3px solid var(--blue);outline-offset:3px}
.home-search input:focus-visible{outline:none}
.search-clear{width:44px;height:44px;flex:none;display:grid;place-items:center;background:none;color:var(--secondary);border-radius:13px}
.search-clear[hidden]{display:none}
.search-clear svg{width:17px;height:17px}
.search-status{font-size:14px;line-height:1.5;color:var(--secondary);margin:0 4px 16px}
.search-status:empty{display:none}
/* Unit configuration is a single optional row; a historical lock is explained only when relevant. */
.quantity-unit-setting{margin:0}
.quantity-unit-note{padding:0 14px 12px;margin:0}
.quantity-unit-note+.setting-row{border-top:1px solid var(--line)}
.quantity-unit-setting input{max-width:100px!important}
.quantity-unit-setting input[readonly]{color:var(--secondary)!important}
/* Independent type toggles divide one full row equally; range fields retain separate labelled targets. */
.range-row{min-height:52px}
.range-values{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0;margin-left:auto}
.range-value{display:flex;align-items:center;position:relative;min-width:0;font-size:14px;color:var(--secondary)}
/* Fit digit widths so the whole range ends at the right gutter, without blank space after its maximum. */
.range-row .range-values .range-value input{width:calc(var(--value-chars,1)*1ch);max-width:90px;min-height:44px!important;padding:0;text-align:right;font-variant-numeric:tabular-nums;position:relative;z-index:1}
/* Expand the label's hit area while keeping the visible numbers and separator compact. */
.range-value:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:max(100%,44px);transform:translateX(-50%);cursor:text}
.range-separator{color:var(--secondary);flex:none;width:12px;height:44px;display:flex;align-items:center;justify-content:center;line-height:1}
/* Range inputs inherit the same frameless editing treatment as the default-value inputs. */
/* Unit choices share one small row and never add another decision to the recording panel. */
.time-unit-options{display:flex;align-items:center;gap:6px}
/* Metric headers and their subordinate rows share a surface; dividers make ownership clear. */
.editor-config{--config-label-inset:42px}
.editor-metric-group{margin:0}
.editor-config .metric-toggle-row{min-height:56px}
/* Shared typography and icon slots give all four top-level settings the same visual priority. */
.editor-config .config-heading-row{font-size:16px;font-weight:400;line-height:1.4}
.config-row-label{display:inline-flex;align-items:center;gap:10px;min-width:0}
.config-row-label svg{width:18px;height:18px;flex:none;color:var(--secondary);pointer-events:none}
.metric-parameters[hidden]{display:none}
.editor-config .metric-parameters>.setting-row{position:relative;padding-left:var(--config-label-inset);border-top:0}
/* All separators share the text column, leaving the leading icon column clear in every group state. */
.editor-config .metric-toggle-row,.editor-config>.setting-row.config-heading-row{position:relative;border-top:0}
.editor-metric-group+.editor-metric-group>.metric-toggle-row:before,.editor-config>.primary-metric-row:before,.editor-config>.direct-entry-row:before,.metric-parameters>.setting-row:before{content:"";position:absolute;left:var(--config-label-inset);right:0;top:0;height:1px;background:#ededf2;pointer-events:none}
.metric-parameters>.setting-row>span:first-child{color:var(--secondary)}
/* Use the earlier compact option style, with a larger invisible hit area above and below each button. */
.editor-config .time-unit-options button,.editor-config .editor-metric-toggle button{position:relative;min-width:44px;min-height:0;height:28px;line-height:28px;padding:0 10px;border-radius:7px;background:#f0eef6;color:#77717f;font-size:12px;box-shadow:none}
.editor-config .time-unit-options button:before,.editor-config .editor-metric-toggle button:before{content:"";position:absolute;inset:-8px 0}
.editor-config .time-unit-options button.active,.editor-config .editor-metric-toggle button.active{background:var(--accent);color:#fff}
/* Matching counts are announced without adding a permanent line above a compact project grid. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Three rows fill a typical phone; a height floor keeps smaller screens readable and scrollable.
 * Time bars show daily additions and quantity steps show cumulative growth; exact readings remain in detail. */
.project-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;--tile-height:208px}
.project-card{height:var(--tile-height);border-radius:22px;position:relative;color:#fff;overflow:visible;isolation:isolate}
/* A single surface keeps the rounded card and its contents together during a user-triggered wiggle. */
.card-surface{position:absolute;inset:0;border-radius:inherit;overflow:hidden;background:linear-gradient(135deg,var(--card-start),var(--card-end))}
/* Flow rows reserve separate space for identity, totals, chart and caption even on smaller phones. */
.card-main{position:absolute;left:0;right:0;top:44px;bottom:0;width:100%;background:none;color:inherit;text-align:left;padding:0 15px 14px;display:grid;grid-template-rows:minmax(46px,1fr) clamp(12px,calc(var(--tile-height) - 144px),28px) 16px;gap:5px;transition:background .15s}
.card-main:active{background:#0000000a;filter:none}
.card-heading{display:flex;align-items:center;gap:7px;min-width:0;flex:1;padding-right:8px}
.card-icon{width:19px;height:19px;flex:none}
.card-icon svg{width:19px;height:19px}
.card-name{font-size:14px;font-weight:550;line-height:1.3;min-width:0;overflow-wrap:anywhere;text-align:left}
/* The day label and prominent daily number share a stable baseline on every card. */
.card-metrics{display:flex;flex-direction:column;justify-content:flex-start;padding-top:clamp(0px,calc((var(--tile-height) - 144px)*.18),11px);gap:3px;min-width:0}
.card-day-label{font-size:11px;line-height:14px;color:#ffffffe6}
.card-number-line{display:flex;align-items:baseline;gap:4px;line-height:1.1;white-space:nowrap}
.card-number{font-size:32px;letter-spacing:-1px;font-weight:650;font-variant-numeric:tabular-nums}
.card-number-line.wide-unit .card-number{font-size:28px}
.card-number-line.long-number .card-number{font-size:24px;letter-spacing:-.5px}
.card-unit{font-size:12px;font-weight:400}
.card-secondary{font-size:11px;line-height:1.3;color:#ffffffe6}
/* Full-width charts carry the metric distinction without a second cluster of tiny text labels. */
.card-trend{display:block;min-width:0;align-self:end;color:#ffffffe0}
.card-chart{width:100%;min-width:0;height:clamp(12px,calc(var(--tile-height) - 144px),28px);overflow:visible}
/* Lifetime totals are quieter than daily values; direct-entry amounts remain explicit. */
.card-caption{display:flex;justify-content:space-between;gap:4px;font-size:11px;line-height:16px;white-space:nowrap;min-width:0;color:#ffffffd9}
.card-quick{font-size:10px;color:#fff}
/* The entire header opens detail; the sibling recording surface starts below its 44px hit area. */
.card-detail{position:absolute;left:0;right:0;top:0;width:100%;height:44px;padding:8px 15px 0;background:none;color:inherit;display:flex;align-items:center;justify-content:space-between;text-align:left;z-index:2}
.card-detail>.detail-disc{flex:none;width:18px;height:18px;border-radius:50%;display:grid;place-items:center}
.card-detail>.detail-disc svg{width:12px;height:12px}
.add-card{height:var(--tile-height);background:#e8e7ef;color:#716b84;display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;padding:16px;border-radius:22px;font-size:14px;font-weight:500}
.add-circle{width:38px;height:38px;display:grid;place-items:center;background:#dcdbe6;border-radius:50%}
.add-circle svg{width:22px;height:22px}
.foot-note{font-size:11px;line-height:1.7;color:var(--secondary);margin:22px 5px}
/* Sheets are confined to the phone; the separate overlay makes dismissal and focus ownership explicit. */
.overlay{position:absolute;inset:0;background:#19192748;z-index:20;display:flex;align-items:flex-end;animation:scrim-in .2s ease-out}.sheet{width:100%;max-height:91%;border-radius:30px 30px 0 0;background:#fafafd;padding:0 22px 34px;position:relative;overflow:auto;scrollbar-width:none;animation:sheet-in .24s cubic-bezier(.2,.75,.25,1)}.sheet:before{content:"";display:block;width:34px;height:5px;background:#d0cfd8;border-radius:4px;margin:9px auto 24px}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.sheet-heading h2{font-size:26px;letter-spacing:-.8px;line-height:1.2;margin:0;font-weight:650}.close-button{height:32px;width:32px;border-radius:50%;background:#eaeaf0;color:#767680;display:grid;place-items:center;flex:none}.close-button svg{height:17px;width:17px}.sheet-subtitle{font-size:13px;color:var(--secondary);margin:10px 0 26px}.metric-field{margin-top:22px}.field-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.field-label{font-size:14px;font-weight:600}.field-tip{font-size:11px;color:var(--secondary)}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:12px}.quick-value{height:49px;border-radius:13px;background:#ecebf4;color:#59516f;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;position:relative}.quick-value small{font-size:11px;font-weight:500;margin-left:3px}.quick-value.selected{background:var(--accent);color:#fff}.quick-value.selected:after{content:"";position:absolute;right:8px;top:7px;width:5px;height:5px;border-radius:50%;background:#ffffffa6}.input-wrap{height:56px;border:1px solid #e0dfe8;border-radius:14px;background:#fff;display:flex;align-items:center;padding:0 16px;gap:10px}.input-wrap:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent),transparent 89%)}.metric-input{width:100%;min-width:0;border:0;outline:none;background:none;height:100%;font-size:22px;font-weight:550;color:var(--ink);font-variant-numeric:tabular-nums}.metric-input::placeholder{font-size:15px;font-weight:400;color:#9694a0}.metric-input::-webkit-inner-spin-button{-webkit-appearance:none}.input-unit{font-size:13px;color:var(--secondary);flex:none}.supplement-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;background:none;padding:0;color:var(--secondary);font-size:13px;margin-top:16px}.supplement-button .supplement-left{display:flex;gap:7px;align-items:center}.supplement-button svg{width:16px;height:16px}.supplement-fields{padding-top:2px;margin-bottom:12px}.supplement-row{display:flex;align-items:center;justify-content:space-between;min-height:48px;border-top:1px solid #e7e6ed;gap:15px;font-size:14px}.supplement-row input{font-size:14px;border:0;background:none;text-align:right;max-width:185px;color:var(--accent);outline:0;min-height:44px}.notes-input{width:100%;resize:vertical;min-height:82px;border:1px solid #e0dfe8;border-radius:12px;background:#fff;padding:12px;font-size:14px;line-height:1.6;outline:0;color:var(--ink)}.primary-button{width:100%;min-height:52px;border-radius:15px;background:var(--accent);color:white;font-size:16px;font-weight:600;margin-top:12px;display:flex;align-items:center;justify-content:center;gap:7px}.primary-button svg{height:18px;width:18px}.form-error{font-size:12px;line-height:1.5;color:var(--danger);min-height:0;margin:10px 0 0}.secondary-button{width:100%;min-height:44px;margin-top:7px;background:none;color:var(--secondary);font-size:14px}.delete-record-button{color:var(--danger)}.sheet-success-line{font-size:11px;color:var(--secondary);text-align:center;margin:12px 0 0}.dual-note{font-size:11px;color:var(--secondary);line-height:1.6;margin-top:14px}.toast{position:absolute;bottom:28px;left:24px;right:24px;min-height:48px;padding:12px 16px;border-radius:15px;background:#28262ff0;color:#fff;z-index:40;display:none;align-items:center;justify-content:space-between;gap:10px;font-size:14px;box-shadow:0 8px 24px #00000015}.toast.visible{display:flex;animation:toast-in .18s ease-out}.toast button{background:none;color:#fff;font-weight:600;font-size:14px;padding:5px 0 5px 14px}.toast-message{display:flex;align-items:center;gap:8px}.toast-message svg{width:17px;height:17px}
/* Chart selectors share a stable container so changing ranges does not shift the record list. */
.detail-heading{display:flex;align-items:center;gap:11px;margin:9px 0 23px}.project-badge{height:42px;width:42px;background:var(--accent);color:#fff;display:grid;place-items:center;border-radius:13px}.project-badge svg{width:24px;height:24px}.detail-heading h1{font-size:29px;letter-spacing:-1px;margin:0;font-weight:650}.lifetime-caption{font-size:12px;color:var(--secondary);margin-bottom:5px}.lifetime-number{font-size:39px;line-height:1.15;letter-spacing:-1.8px;font-weight:650;font-variant-numeric:tabular-nums}.lifetime-number .lifetime-unit{font-size:16px;letter-spacing:0;font-weight:400;margin-left:4px}.lifetime-minutes{font-size:16px;letter-spacing:-.2px;font-weight:500;margin-left:7px}.lifetime-secondary{font-size:14px;color:var(--secondary);margin:9px 0 24px}.metric-selector{display:flex;gap:20px;margin-top:18px;margin-bottom:14px}.metric-selector button{background:none;min-height:36px;padding:0 0 6px;color:var(--secondary);font-size:15px;border-bottom:2px solid transparent}.metric-selector button.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.chart-card{background:#fff;border-radius:24px;padding:17px 16px 14px;margin-top:16px}.chart-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.chart-top h2{font-size:15px;margin:0;font-weight:600}.small-segment{background:#eeeef3;border-radius:8px;padding:2px;display:flex}.small-segment button{background:none;color:var(--secondary);height:27px;padding:0 11px;border-radius:6px;font-size:12px}.small-segment button.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px #00000013;font-weight:600}.period-selector{display:flex;background:#eeeef3;border-radius:10px;padding:3px;margin-bottom:17px}.period-selector button{flex:1;min-height:30px;background:none;color:var(--secondary);border-radius:7px;font-size:12px}.period-selector button.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #00000013;font-weight:600}.period-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px;gap:4px}.period-nav strong{font-size:12px;font-weight:500;color:var(--secondary)}.period-nav button{width:32px;height:32px;display:grid;place-items:center;background:none;color:var(--accent)}.period-nav svg{width:16px;height:16px}.chart-summary{font-size:12px;color:var(--secondary);line-height:1.5;margin-bottom:7px;min-height:18px}.chart-summary strong{color:var(--ink);font-weight:600;margin-left:5px}.main-chart{width:100%;height:182px;overflow:visible}.main-chart text{font-size:10px;fill:#85828e;font-family:inherit}.main-chart .chart-grid{stroke:#ededf2;stroke-width:1}.section-head{display:flex;align-items:center;justify-content:space-between;margin:26px 3px 12px}.section-head h2{font-size:18px;letter-spacing:-.3px;margin:0;font-weight:650}.section-head button{background:none;color:var(--accent);min-height:36px;font-size:13px;padding:0 0 0 10px}.record-list{background:#fff;border-radius:20px;overflow:hidden}.record-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:76px;padding:14px 16px;background:none;text-align:left;gap:14px;position:relative;color:var(--ink)}.record-row+.record-row:before{content:"";position:absolute;left:16px;right:0;top:0;height:1px;background:#ededf2}.record-main{font-size:15px;font-weight:550;line-height:1.4}.record-meta{font-size:11px;color:var(--secondary);margin-top:5px;line-height:1.4}.record-row>svg{width:15px;height:15px;color:#aaa8b2;flex:none}.empty-records{padding:24px 16px;text-align:center;font-size:13px;color:var(--secondary)}.show-all{width:100%;background:#fff;min-height:44px;color:var(--accent);font-size:13px;border-top:1px solid #ededf2}.record-count{font-size:11px;color:var(--secondary);margin:10px 4px 0}.settings-link{display:flex;align-items:center;justify-content:space-between;width:100%;background:#fff;border-radius:18px;min-height:58px;padding:0 16px;margin-top:24px;color:var(--ink);font-size:15px}.settings-link svg{height:16px;width:16px;color:#aaa8b2}.project-delete{width:100%;min-height:44px;background:none;color:var(--danger);font-size:13px;margin-top:15px}.confirm-sheet h2{font-size:22px;line-height:1.4}.confirm-sheet p{font-size:14px;line-height:1.8;color:var(--secondary);margin:14px 0 25px}.danger-button{background:var(--danger)}
/* Match native footer centering so short labels stay centered inside the full 44px touch target. */
.record-list .show-all{display:flex;align-items:center;justify-content:center;padding:0;line-height:20px;text-align:center}
/* Expanded history uses the page's scroll, with a sticky collapse action and incremental row insertion. */
/* Graph type is the primary switch; a quieter, flat period row keeps attention on the data. */
.chart-card{padding:16px 16px 10px;border-radius:22px}
.chart-card .chart-top{display:block;margin-bottom:10px}
.chart-top .small-segment{width:100%;padding:3px;border-radius:10px;background:#f0f0f4}
.chart-top .small-segment button{position:relative;flex:1;min-width:0;height:30px;padding:0;border-radius:7px;font-size:13px}
.chart-top .small-segment button.active{box-shadow:0 1px 3px #24243b10}
/* Invisible hit extensions retain 44px targets without making the two filter rows visually heavy. */
.chart-top .small-segment button:after{content:"";position:absolute;inset:-7px 0}
.chart-card .period-selector{background:none;padding:0;gap:5px;margin-bottom:3px}
.chart-card .period-selector button{position:relative;min-height:44px;font-size:12px;color:#76747f;z-index:0}
.chart-card .period-selector button.active{background:none;box-shadow:none;color:var(--accent);font-weight:600}
.chart-card .period-selector button.active:before{content:"";position:absolute;inset:8px 0;background:var(--accent);opacity:.075;border-radius:8px;z-index:-1}
.chart-card .period-nav{margin-bottom:0;min-height:44px}
.chart-card .period-nav strong{font-size:12px;color:#76747f;font-weight:400;font-variant-numeric:tabular-nums}
.chart-card .period-nav button{width:44px;height:44px}
.chart-card .period-nav button:disabled{opacity:.25}
.period-nav-all button{visibility:hidden}
/* Only chart content is repainted during scrubbing; pan-y protects the surrounding page's native scroll. */
.chart-plot{position:relative;touch-action:pan-y;user-select:none;cursor:crosshair;border-radius:10px}
.chart-plot:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.chart-card .main-chart{display:block;width:100%;height:auto;aspect-ratio:326/248;overflow:visible}
.chart-card .main-chart text{font-size:11px;fill:#777580;font-family:inherit;font-variant-numeric:tabular-nums}
/* Scale labels are secondary reference cues; exact values retain the stronger interactive readout. */
.chart-card .main-chart .chart-scale{font-size:9.5px;fill:#94929c;font-weight:400}
.chart-card .main-chart .chart-unit{font-size:9px;fill:#94929c;font-weight:400}
/* Solid value rules and dashed calendar guides provide different cues without competing with the marks. */
.chart-card .main-chart .chart-grid{stroke:#e8e8ee;stroke-width:.8}
.chart-card .main-chart .chart-calendar-guide{stroke:#e5e5ed;stroke-width:.8;stroke-dasharray:3 4}
.chart-point-value{position:absolute;top:0;transform:translateX(-50%);min-width:128px;max-width:72%;padding:7px 11px;background:#fff;border:1px solid #eeedf2;border-radius:10px;box-shadow:0 3px 12px #29243d08;font-size:10px;line-height:1.45;color:#777580;pointer-events:none;white-space:nowrap;font-variant-numeric:tabular-nums}
.chart-point-value strong{display:block;margin:3px 0 0;color:var(--ink);font-size:14px;font-weight:600;letter-spacing:-.2px}
.chart-point-value small{font-size:10px;color:#777580;font-weight:400;margin-right:5px}
.chart-empty{height:248px;display:grid;place-items:center;color:var(--secondary);font-size:13px}
/* Calendar shades encode amounts; neutral/future cells and the selection ring have separate semantics. */
.calendar-nav{margin-top:6px}
.heat-weekdays,.heat-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.heat-weekdays{height:30px;align-items:center;text-align:center;font-size:11px;color:#85828e}
.heat-day{position:relative;height:44px;background:none;padding:4px;border-radius:10px;color:#303038;font-size:12px;font-variant-numeric:tabular-nums}
.heat-day span{position:relative;z-index:1}
.heat-day:before{content:"";position:absolute;inset:4px;border-radius:8px;background:#f1f1f5}
.heat-day.level-1:before,.heat-legend .level-1{background:color-mix(in srgb,var(--accent) 14%,white)}
.heat-day.level-2:before,.heat-legend .level-2{background:color-mix(in srgb,var(--accent) 32%,white)}
.heat-day.level-3:before,.heat-legend .level-3{background:color-mix(in srgb,var(--accent) 58%,white)}
.heat-day.level-4:before,.heat-legend .level-4{background:var(--accent)}
.heat-day.level-4{color:white}
.heat-day:disabled:before{background:none}.heat-day:disabled{color:#c4c2cc;cursor:default}
.heat-day.is-today:before{box-shadow:inset 0 0 0 1px var(--accent)}
.heat-day.selected:after{content:"";position:absolute;inset:1px;border:1.5px solid var(--accent);border-radius:11px}
.heat-legend{display:flex;align-items:center;justify-content:flex-end;gap:5px;height:34px;font-size:10px;color:#85828e}
.heat-legend i{width:11px;height:11px;border-radius:3px}
/* Match the native 44px centered heading row and its 8px separation from the list, including sticky history. */
.record-section .records-heading{position:sticky;top:0;z-index:3;min-height:52px;margin:20px 0 0;padding:0 4px 8px;background:var(--page);display:flex;align-items:center;justify-content:space-between;gap:12px}
.record-section .records-heading h2{flex:1;min-width:0;margin:0;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.record-section .records-heading button{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;height:44px;min-height:44px;min-width:44px;margin:0;padding:0 0 0 12px;line-height:24px;letter-spacing:0}
.records-end{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;font-size:12px;color:var(--secondary);border-top:1px solid var(--line)}
/* Configuration has a fixed set of settings; no generic field builder leaks into daily recording. */
.editor-preview{height:89px;border-radius:20px;background:linear-gradient(120deg,var(--card-start),var(--card-end));color:#fff;padding:17px 18px;display:flex;align-items:center;gap:13px;margin-bottom:22px}.editor-preview svg{width:29px;height:29px;flex:none}.editor-preview strong{font-size:20px;letter-spacing:-.4px}.editor-preview span{display:block;font-size:11px;opacity:.85;margin-top:6px}.editor-label{font-size:12px;color:var(--secondary);margin:22px 5px 9px;display:flex;justify-content:space-between}.setting-box{background:#fff;border-radius:17px;overflow:hidden}.setting-row{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:9px 14px;gap:12px;font-size:14px}.setting-row+.setting-row{border-top:1px solid #ededf2}.setting-row input:not([type=checkbox]){border:0;outline:none;background:none;min-width:0;max-width:190px;text-align:right;color:var(--ink);font-size:14px;min-height:32px}.setting-row input::placeholder{color:#a09da8}.full-name-input{width:100%!important;max-width:none!important;text-align:left!important;font-size:17px!important;min-height:36px!important}.mode-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mode-buttons button{height:46px;border-radius:12px;background:#e6e5ed;color:#6f697b;font-size:14px}.mode-buttons button.active{background:var(--accent);color:#fff;font-weight:600}.color-options{display:flex;gap:13px;padding:14px;justify-content:space-between}.color-options button{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;color:#fff;position:relative}.color-options button.selected:after{content:"";position:absolute;inset:-4px;border:2px solid var(--accent);border-radius:50%}.color-options svg{width:18px;height:18px}.icon-options{display:flex;padding:9px;justify-content:space-between;gap:5px;border-top:1px solid #ededf2}.icon-options button{width:42px;height:42px;border-radius:11px;background:none;display:grid;place-items:center;color:#797382}.icon-options button.selected{background:#f0edf8;color:var(--accent)}.icon-options svg{height:22px;width:22px}.setting-note{font-size:11px;line-height:1.7;color:var(--secondary);margin:8px 5px 0}.toggle{appearance:none;width:45px;height:27px;background:#d9d8e1;border-radius:18px;position:relative;cursor:pointer;flex:none;transition:background .15s;margin:0}.toggle:checked{background:var(--accent)}.toggle:after{content:"";position:absolute;width:23px;height:23px;border-radius:50%;background:#fff;left:2px;top:2px;box-shadow:0 1px 3px #00000015;transition:transform .15s}.toggle:checked:after{transform:translateX(18px)}.editor-save{margin-top:26px;margin-bottom:15px}.inline-label{font-size:11px;color:var(--secondary);font-weight:400}.editor-metric-toggle{display:flex;gap:6px}.editor-metric-toggle button{font-size:12px;padding:7px 10px;border-radius:7px;background:#f0eef6;color:#77717f}.editor-metric-toggle button.active{background:var(--accent);color:#fff}
@keyframes sheet-in{from{transform:translateY(45px);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes scrim-in{from{background:#19192700}to{background:#19192748}}@keyframes toast-in{from{transform:translateY(7px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:850px){body{gap:40px;padding:30px 20px}.review-panel{width:210px}.review-panel h1{font-size:37px}}
@media(max-width:650px){body{padding:0;background:var(--page);display:block}.review-panel{display:none}.device{width:100%;height:100dvh;max-width:430px;min-height:580px;margin:auto;border-radius:0;box-shadow:none}.screen{padding-bottom:max(36px,env(safe-area-inset-bottom))}.project-grid{--tile-height:clamp(144px,calc((100dvh - 224px)/3),208px)}.status-bar{padding-left:28px;padding-right:28px}}
/* Embedded previews share the real layout but must fit narrow host frames without clipping controls. */
body.embedded{padding:0;display:block;background:transparent}.embedded .review-panel{display:none}.embedded .device{width:min(390px,100%);height:844px;border-radius:0;box-shadow:none;margin:0}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* A quiet native slider conveys adjustment without ruler decoration and retains a full 44px drag target. */
.light-sheet{padding:0 22px 31px}
.light-sheet:before{margin-bottom:12px}
.light-sheet .sheet-heading h2{font-size:23px;letter-spacing:-.5px}
.light-sheet .close-button{width:44px;height:44px;background:none}
.light-sheet .close-button svg{width:30px;height:30px;padding:6px;border-radius:50%;background:#eaeaf0}
/* Removing the close target must not shift the metric controls or change the sheet height. */
.light-sheet .sheet-heading{height:44px;margin-bottom:12px}
.ruler-field{margin:6px 0 10px;position:relative}
.ruler-field-head{height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ruler-label{font-size:14px;font-weight:400;color:#696271;flex:none}
.ruler-readout{background:none;color:var(--ink);padding:0;min-height:44px;display:flex;align-items:baseline;justify-content:flex-end;gap:4px;white-space:nowrap}
.ruler-readout strong{font-size:25px;font-weight:600;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.ruler-readout small{font-size:12px;font-weight:400;color:var(--secondary)}
.slider-control{height:44px}
.metric-slider{appearance:none;-webkit-appearance:none;display:block;width:100%;height:44px;margin:0;padding:0;background:transparent;cursor:grab;touch-action:pan-y;accent-color:var(--accent)}
.metric-slider:active{cursor:grabbing}
/* Native thumb travel stays continuous; fill follows it without a position transition that would add lag. */
.metric-slider::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,var(--accent) var(--slider-fill),#dedbe5 var(--slider-fill));border:0}
.metric-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin-top:-11px;border:1px solid #0000000a;border-radius:50%;background:#fff;box-shadow:0 2px 6px #28223629;transition:transform .15s ease}
.metric-slider::-moz-range-track{height:4px;border-radius:2px;background:linear-gradient(to right,var(--accent) var(--slider-fill),#dedbe5 var(--slider-fill));border:0}
.metric-slider::-moz-range-thumb{box-sizing:border-box;width:26px;height:26px;border:1px solid #0000000a;border-radius:50%;background:#fff;box-shadow:0 2px 6px #28223629;transition:transform .15s ease}
.metric-slider:active::-webkit-slider-thumb{transform:scale(1.06)}
.metric-slider:active::-moz-range-thumb{transform:scale(1.06)}
.metric-slider:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
.metric-slider:disabled{cursor:default}
.ruler-inactive .ruler-readout{color:#9c95a4}
.ruler-inactive .metric-slider{opacity:.45}
/* Numeric editing replaces the readout in place and keeps the same rail and sheet geometry. */
.precise-readout{flex:1;min-width:0;align-items:center}
.precise-readout input{flex:1;min-width:0;height:44px;text-align:right;font-size:25px;font-weight:600;letter-spacing:-.6px}
.precise-readout input:focus-visible{outline:none}
/* Date expansion moves the whole notes section below it; the collapsed row retains independent tap areas. */
.sheet-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-top:4px}
.notes-toggle{display:flex;align-items:center;flex:1;min-width:44px;min-height:44px;background:none;padding:0;color:#8c8495;font-size:12px;text-align:left}
.notes-toggle span{display:flex;align-items:center;gap:7px}
.notes-toggle svg{width:14px;height:14px}
.light-sheet>.notes-toggle{width:100%}
.date-toggle{min-height:44px;min-width:44px;flex:none;display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-left:auto;background:none;color:var(--secondary);padding:0;font-size:12px;white-space:nowrap}
/* Only the disclosure chevron rotates; the clock keeps its orientation in both states. */
.date-toggle>svg{width:11px;height:11px;transform:rotate(90deg)}
.date-toggle[aria-expanded=true]>svg{transform:rotate(270deg)}
.date-clock{display:flex;align-items:center;margin-right:3px}
.date-clock svg{width:14px;height:14px}
/* Match the native fixed viewport: disclosure and long text cannot trigger a second sheet resize. */
.light-sheet .notes-input{height:68px;min-height:68px;resize:none;overflow-y:auto;font-size:13px}
.overlay.is-updating,.sheet.is-updating{animation:none}
.notes-count{font-size:11px;line-height:16px;color:#8c8495;text-align:right;margin:4px 2px 8px}
.light-sheet .primary-button{margin-top:13px;height:48px;min-height:48px;border-radius:14px}
.light-sheet .supplement-fields{margin:0 0 12px}
/* The label, blank middle and native field share one picker action, including keyboard focus feedback. */
.light-sheet .supplement-row{cursor:pointer}
.light-sheet .supplement-row:focus-within{box-shadow:inset 0 -1px var(--accent)}
.light-sheet .supplement-row input{cursor:pointer}
/* Input contexts own their bottom actions; an earlier toast must never intercept those taps. */
.device:has(.overlay) .toast,.device:has(.editor-save) .toast{display:none}
@media(max-width:650px){.project-grid{--tile-height:clamp(144px,calc((100dvh - 224px)/3),208px)}}

/* Five-column finite choices preserve 44px targets; folding pins any selected extended preset into view. */
.color-options,.icon-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px 4px;padding:10px 9px}
.color-options button,.icon-options button{width:44px;height:44px;justify-self:center;display:grid;place-items:center;background:transparent}
/* Match the native 32px disc and 40px ring, leaving a 2px safety margin inside each 44px target. */
.color-options button.selected:after{content:none}.appearance-swatch{display:grid;place-items:center;width:32px;height:32px;background:var(--swatch-color);border-radius:50%;position:relative;flex-shrink:0}
.color-options button.selected .appearance-swatch:after{content:"";position:absolute;inset:-4px;box-sizing:border-box;border:2px solid var(--accent);border-radius:50%;pointer-events:none}
.icon-options button.selected{background:#f0edf8}.appearance-more{display:flex;justify-content:center;align-items:center;gap:6px;min-height:44px;width:100%;border-top:1px solid #ededf2;background:transparent;color:var(--secondary);font-size:13px}
.appearance-arrow{display:flex;transition:transform 180ms ease}.appearance-arrow svg{width:16px;height:16px}.appearance-arrow.expanded{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.appearance-arrow{transition:none}}

/* The overlay exists only while arranging: it consumes taps that would otherwise record or open detail. */
/* The navigation pill owns Done; the card grid has no redundant editing title row. */
.header-done{position:absolute;left:15px;top:0;height:100%;min-height:44px;min-width:64px;padding:0;background:transparent;display:flex;align-items:center;justify-content:center}
.header-done>span{height:32px;line-height:32px;padding:0 16px;border-radius:16px;background:var(--blue);color:#fff;font-size:14px;font-weight:600}
.arranging-results{padding-top:16px}
.card-motion{position:absolute;inset:0;border-radius:inherit}
.project-card.is-arranging .card-motion{animation:card-wiggle 180ms ease-in-out infinite alternate}
.project-card.is-arranging:nth-child(even) .card-motion{animation-delay:-90ms}
.project-card .arrange-hit{position:absolute;inset:0;width:100%;height:100%;background:transparent;z-index:3;touch-action:none;border-radius:inherit;user-select:none}
.project-card .remove-card{position:absolute;right:-3px;top:-3px;width:44px;height:44px;background:none;z-index:5;display:grid;place-items:center}
.remove-card>span{width:23px;height:23px;border-radius:50%;background:#eeeef3;color:#33333a;display:grid;place-items:center;box-shadow:0 1px 5px #19192726}
.remove-card svg{width:12px;height:12px}
.project-card.is-arranging{transition:transform 220ms cubic-bezier(.22,.8,.3,1);will-change:transform}
.project-card.is-dragging{transition:none;z-index:8;box-shadow:0 12px 28px #19192735}
.project-card.is-dragging .card-motion{animation:none}
/* Reserve the prospective insertion slot while the intervening cards slide out of its way. */
.drag-placeholder{position:absolute;box-sizing:border-box;border-radius:22px;border:2px dashed #285cdd66;background:#285cdd09;pointer-events:none}
.project-card.is-dragging.is-settling{transition:transform 220ms cubic-bezier(.22,.8,.3,1)}
@media(prefers-reduced-motion:reduce){.project-card.is-arranging,.project-card.is-dragging.is-settling{transition:none;transition-delay:0ms!important}}
@keyframes card-wiggle{from{transform:rotate(-.65deg)}to{transform:rotate(.65deg)}}
@media(prefers-reduced-motion:reduce){.project-card.is-arranging .card-motion{animation:none}}

/* Disabled underlying actions remain visually intact and leave keyboard focus to the edit controls. */
.project-card.is-arranging .card-main:disabled,.project-card.is-arranging .card-detail:disabled{opacity:1;cursor:default}

/* Cadence shares the configuration card, immediately before primary metric, without an extra heading. */
.frequency-options{display:flex;gap:4px}
.frequency-options button{background:transparent;min-width:44px;min-height:44px;display:grid;place-items:center;padding:0}
.frequency-options span{font-size:13px;line-height:28px;padding:0 6px;border-radius:7px;color:var(--secondary)}
.frequency-options span.active{background:#f0edf8;color:var(--accent);font-weight:500}
.frequency-badge{font-size:12px;font-weight:400;color:#6b6b73;background:#ededf2;padding:4px 8px;border-radius:7px;margin-left:auto;white-space:nowrap}

/* Shared card and footer geometry keep the history fixed while switching statistical views. */
.chart-card{height:462px;box-sizing:border-box;display:flex;flex-direction:column}
/* Single-metric summaries have no empty secondary row or tabs; match the native 24px gap above their chart. */
.chart-card.single-metric{margin-top:24px}
.chart-card .chart-top{flex-shrink:0}
.statistics-body{flex:1;min-height:0;display:flex;flex-direction:column}
.calendar-body>*{flex-shrink:0}
/* A single compact footer removes the old second-row reservation without changing calendar touch targets. */
.calendar-body .calendar-footer{margin-top:auto;height:34px;display:flex;align-items:center;gap:8px}
.calendar-footer .calendar-reading{flex:1;min-width:0;height:34px;line-height:34px;padding-top:0;font-size:11px}
.calendar-footer .heat-legend{flex-shrink:0}
/* Let marks occupy the shared card body instead of pushing a short plot to its bottom. */
.standard-body .chart-plot{flex:1;min-height:0}
.standard-body .main-chart{height:100%;aspect-ratio:auto}
.standard-body .chart-empty{height:100%}
.statistics-body .chart-footer-reading{flex-shrink:0}
/* Mirror native action feedback without animating slider positions, chart geometry or card drag parents. */
.card-main,.card-detail,.primary-button,.editor-save,.color-options button,.icon-options button{transition:background-color 120ms ease-out,opacity 120ms ease-out}
.time-unit-options button,.editor-metric-toggle button,.frequency-options button,.small-segment button,.period-selector button,.icon-options button{transition:background-color 160ms ease-out,color 160ms ease-out}
.toast.visible{animation:toast-in 220ms cubic-bezier(.22,.8,.3,1)}
/* Prototype rerenders whole editors/sheets; avoid replaying disclosure/selection entrances on every keystroke. */
@media(prefers-reduced-motion:reduce){.device *,.device *:before,.device *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Confetti is clipped to the phone and paints above cards without blocking scrolling, recording or Undo. */
.record-celebration{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:35}
/* Card-sized frosted glass separates the large white confirmation from the updated figures beneath it. */
.record-success-glass{position:absolute;z-index:1;box-sizing:border-box;border-radius:22px;background:#ffffff14;border:1px solid #ffffff30;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);animation:record-glass 2400ms ease-out both}
.record-success-badge{position:absolute;z-index:3;left:var(--burst-x);top:var(--burst-y);width:88px;height:88px;margin:-44px;display:grid;place-items:center;color:#fff;filter:drop-shadow(0 2px 4px #29203d25);animation:record-success 2400ms cubic-bezier(.22,.8,.3,1) both}
.record-success-badge svg{width:74px;height:74px}
/* The pinned particle engine owns paper tumbling and gravity; CSS only bounds/fades the canvas. */
.record-confetti-canvas{position:absolute;z-index:2;inset:0;width:100%;height:100%;pointer-events:none;animation:record-particles-out 2800ms linear both}
.success-ink-reveal{stroke-dasharray:1;stroke-dashoffset:1;animation:record-ink 500ms 80ms cubic-bezier(.4,0,.2,1) forwards}
@keyframes record-ink{to{stroke-dashoffset:0}}
@keyframes record-particles-out{0%,80%{opacity:1}100%{opacity:0}}
@keyframes record-glass{0%{opacity:0}18%,72%{opacity:1}100%{opacity:0}}
@keyframes record-success{0%{opacity:0;transform:scale(.94)}16%,76%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}
/* Reduced motion retains a stationary success mark; the existing toast carries the accessible message. */
@media(prefers-reduced-motion:reduce){.record-celebration .record-confetti-canvas{display:none}.record-celebration .record-success-badge,.record-celebration .record-success-glass{animation:none;transform:none;opacity:1}.record-celebration .success-ink-reveal{animation:none;stroke-dashoffset:0}}
.celebration-review{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.celebration-review button{min-height:38px;padding:8px 12px;border-radius:10px;background:#eae5f3;color:#5b4196;font-size:12px;text-align:left}
/* A visible action boundary distinguishes Undo from toast copy while preserving a 44px touch target. */
.toast{padding:4px 8px 4px 16px}
.toast button{position:relative;isolation:isolate;flex-shrink:0;min-width:52px;min-height:44px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#fff;line-height:1;font-weight:600}
/* Paint a compact 28px frame inside the unchanged 44px transparent touch target. */
.toast button:before{content:"";position:absolute;z-index:-1;inset:8px 2px;border:1px solid #ffffff55;border-radius:7px;background:#ffffff16;pointer-events:none;transition:background-color 120ms ease-out,border-color 120ms ease-out}
.toast button:hover:before{background:#ffffff26;border-color:#ffffff80}
.toast button:active:before{background:#ffffff38}
.toast button:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* Comparison controls sit outside the phone so library experiments cannot become product settings. */
.celebration-review label{font-size:12px;color:var(--secondary)}
.celebration-review select{min-height:40px;width:100%;border:1px solid #d8d3e4;border-radius:9px;background:#fff;color:#41364f;padding:0 9px;font:inherit;font-size:12px}
.celebration-review #confetti-review-status{margin:0;font-size:11px;line-height:1.5;color:#77717e}

/* The website statistics preview is a fixed viewport: chart controls stay live, while scrolling and back navigation do not expose another screen. */
body.statistics-preview{overflow:hidden}.statistics-preview .screen{overflow:hidden;overflow:clip;overscroll-behavior:contain}.statistics-preview .header-back:disabled{cursor:default;opacity:.35}
