:root{--bg-canvas:#0b0e14;--bg-elevated-1:#141921;--bg-elevated-2:#1c222c;--bg-elevated-3:#252b37;--surface-gradient:linear-gradient(180deg, #181e28 0%, #12161f 100%);--surface-inset:inset 0 1px 0 #fff1, 0 10px 28px -12px #000000a6;--hairline:#ffffff14;--hairline-strong:#ffffff24;--font-sans:"Plus Jakarta Sans", system-ui, -apple-system, sans-serif;--font-display:"Barlow Condensed", system-ui, -apple-system, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, monospace;--text-primary:#f8fafc;--text-secondary:#afbaca;--text-muted:#77869c;--accent-orange:#f97316;--accent-orange-hover:#fb923c;--strava-orange:#fc4c02;--zone-1:#7a8699;--zone-2:#1898f2;--zone-3:#12b981;--zone-4:#f97316;--zone-5:#ef4444;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#94a3b847 transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0;margin-block:6px}::-webkit-scrollbar-thumb{background-color:#94a3b842;background-clip:padding-box;border:2px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background-color:#94a3b873}::-webkit-scrollbar-thumb:active{background-color:#f97316a6}::-webkit-scrollbar-button{width:0;height:0;display:none}::-webkit-scrollbar-corner{background:0 0}html,body{background-color:var(--bg-canvas);color:var(--text-primary);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;min-height:100dvh;margin:0;padding:0;overflow-x:hidden}button,input,select{font:inherit;color:inherit}button{cursor:pointer}.tabular{font-variant-numeric:tabular-nums}.app-shell{flex-direction:column;gap:12px;max-width:1540px;min-height:100dvh;margin:0 auto;padding:12px clamp(10px,2vw,24px) 24px;display:flex}.topbar{background:var(--surface-gradient);box-shadow:var(--surface-inset);border:1px solid var(--hairline);border-radius:var(--radius-lg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;padding:10px 14px;display:flex}.brand-lockup{align-items:center;gap:11px;min-width:0;display:flex}.brand-copy{min-width:0;overflow:hidden}.brand-mark{background:var(--bg-elevated-2);border:1px solid var(--hairline-strong);border-radius:10px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.brand-logo-img{object-fit:cover;border:1px solid var(--hairline-strong);border-radius:10px;flex-shrink:0;width:38px;height:38px;display:block}.brand-bars{align-items:flex-end;gap:2.5px;height:20px;display:flex}.brand-bars span{border-radius:2px;width:3.5px}.brand-title{font-family:var(--font-display);letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:clamp(1.2rem,2.2vw,1.55rem);font-weight:800;line-height:1;overflow:hidden}.brand-sub{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:.72rem;font-weight:500;overflow:hidden}.athlete-chip{background:var(--bg-elevated-2);border:1px solid var(--hairline-strong);border-radius:var(--radius-md);flex-wrap:wrap;align-items:center;gap:8px;min-height:40px;padding:7px 12px;transition:background-color .16s,transform .12s;display:inline-flex}.athlete-chip:hover{background:var(--bg-elevated-3)}.athlete-chip:active{transform:scale(.99)}.athlete-chip-label{text-transform:uppercase;letter-spacing:.08em;color:var(--accent-orange);font-size:.7rem;font-weight:700}.athlete-chip-stats{font-family:var(--font-mono);color:var(--text-primary);font-size:.78rem;font-weight:600}.topbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.topbar-utility-btns{flex-shrink:0;order:3;align-items:center;gap:6px;display:inline-flex}.topbar-icon-btn,.topbar-github-btn{flex-shrink:0;width:36px;min-width:36px;min-height:36px;padding:0}@media (width>=600px){.topbar .athlete-chip{margin:0 auto}.topbar-actions{order:2}}@media (width>=1200px){.topbar{gap:8px;padding:9px 12px}.brand-lockup{gap:9px}.brand-logo-img{width:34px;height:34px}.brand-title{font-size:1.28rem}.brand-sub{font-size:.68rem}.topbar .athlete-chip{gap:6px;min-height:36px;padding:5px 9px}.athlete-chip-stats{font-size:.73rem}.topbar-actions{gap:5px}.topbar-actions .btn-sm{gap:5px;padding:0 8px;font-size:.74rem}.topbar-utility-btns{gap:5px}}.btn{border-radius:var(--radius-md);border:1px solid var(--hairline-strong);background:var(--bg-elevated-2);max-width:100%;min-height:40px;color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;justify-content:center;align-items:center;gap:6px;padding:0 13px;font-size:.83rem;font-weight:600;text-decoration:none;transition:background-color .16s,transform .12s,opacity .16s;display:inline-flex;overflow:hidden}.btn:focus-visible{outline:2px solid var(--accent-orange);outline-offset:2px}.btn:hover:not(:disabled){background:var(--bg-elevated-3)}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent-orange);color:#140700;border-color:#ffffff29;font-weight:700}.btn-primary:hover:not(:disabled){background:var(--accent-orange-hover)}.btn-strava{background:var(--strava-orange);color:#fff;border-color:#ffffff2e;font-weight:700}.btn-strava:hover:not(:disabled){background:#ff5c16}.btn-garmin{color:#f8fafc;background:#0284c7;border-color:#38bdf86b;font-weight:700}.btn-garmin:hover:not(:disabled){background:#0369a1}.btn-danger{color:#fecaca;background:#ef444429;border-color:#ef444459}.btn-danger:hover:not(:disabled){background:#ef444442}.btn-sm{border-radius:var(--radius-sm);min-height:36px;padding:0 11px;font-size:.77rem}.gauge-toggle-group{border:1px solid var(--hairline-strong);border-radius:var(--radius-md);background:#06090ea6;align-items:center;gap:2px;padding:3px;display:inline-flex}.gauge-toggle-btn{min-height:32px;color:var(--text-secondary);background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:5px;padding:0 10px;font-size:.75rem;font-weight:700;transition:background-color .16s,color .16s;display:inline-flex}.gauge-toggle-btn.active{background:var(--bg-elevated-3);color:var(--text-primary);box-shadow:inset 0 1px #ffffff1a}.status-dot{background:var(--zone-1);border-radius:999px;flex-shrink:0;width:8px;height:8px}.status-dot.connected{background:var(--zone-3)}.status-dot.connecting{background:var(--zone-4)}.effort-ribbon{border-radius:var(--radius-lg);grid-template-columns:1fr auto;align-items:center;gap:12px;padding:12px 16px;transition:background-color .35s,color .35s;display:grid;box-shadow:inset 0 1px #ffffff38,0 12px 28px -14px #000000b3}.effort-ribbon-left{flex-wrap:wrap;align-items:baseline;gap:6px 14px;display:flex}.effort-zone-title{font-family:var(--font-display);letter-spacing:.02em;text-transform:uppercase;font-size:clamp(1.5rem,3.2vw,2.25rem);font-weight:800;line-height:1}.effort-cue-meta{opacity:.92;font-size:.86rem;font-weight:600}.effort-ribbon-right{flex-wrap:wrap;align-items:center;gap:10px 18px;display:flex}.ribbon-stat{flex-direction:column;align-items:flex-end;display:flex}.ribbon-stat-label{letter-spacing:.09em;text-transform:uppercase;opacity:.82;font-size:.65rem;font-weight:700}.ribbon-stat-val{font-family:var(--font-display);letter-spacing:-.01em;font-size:clamp(1.4rem,2.6vw,2.05rem);font-weight:800;line-height:1}.workout-strip{background:var(--surface-gradient);box-shadow:var(--surface-inset);border:1px solid var(--hairline);border-radius:var(--radius-lg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;padding:10px 14px;display:flex}.workout-picker-group{flex-wrap:wrap;flex:300px;align-items:center;gap:8px;display:flex}.workout-select{background:var(--bg-elevated-2);border:1px solid var(--hairline-strong);border-radius:var(--radius-md);min-width:220px;max-width:100%;min-height:40px;padding:0 12px;font-size:.86rem;font-weight:600}.segment-target-callout{font-family:var(--font-mono);color:var(--text-secondary);border-radius:var(--radius-sm);background:#ffffff0a;padding:6px 10px;font-size:.76rem}.segment-callout-btn{border:1px solid var(--hairline);text-align:left;justify-content:space-between;align-items:center;gap:8px;transition:background-color .16s,border-color .16s;display:inline-flex}.segment-callout-btn:hover{border-color:var(--hairline-strong);background:#ffffff14}.focus-launch-btn{color:#fed7aa;border-color:#f973166b}.transport-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.transport-ride-group{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.studio-workspace{grid-template-columns:1fr;align-items:start;gap:12px;display:grid}.studio-workspace.split-youtube{grid-template-columns:minmax(0,1.3fr) minmax(340px,1fr)}.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.studio-workspace.split-youtube .metrics-grid.rings-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-workspace.split-youtube .metrics-grid.bars-mode{grid-template-columns:1fr;gap:10px}.cockpit-card-body{flex-direction:column;flex:1;justify-content:center;gap:8px;padding:10px 12px;display:flex}.interval-body{justify-content:space-between;gap:0;padding:0}.interval-body-empty{justify-content:center;gap:6px}.interval-empty-note{font-family:var(--font-mono);color:var(--text-secondary);padding:0 12px 12px;font-size:.68rem;line-height:1.4}.interval-name{flex-direction:column;gap:2px;min-width:0;padding:10px 12px 0;display:flex}.interval-name strong{font-family:var(--font-display);white-space:nowrap;text-overflow:ellipsis;font-size:1.05rem;overflow:hidden}.interval-cue{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-size:.6rem;font-weight:700}.interval-clock{font-family:var(--font-display);padding:0 12px;font-size:2rem;font-weight:800;line-height:1.1}.interval-distance-meta{flex-direction:column;gap:4px;padding:2px 12px 6px;display:flex}.interval-distance-row{font-family:var(--font-mono);color:var(--text-secondary);justify-content:space-between;align-items:center;gap:8px;font-size:.68rem;display:flex}.interval-distance-track{background:#ffffff14;border-radius:999px;width:100%;height:5px;overflow:hidden}.interval-distance-fill{border-radius:999px;height:100%;transition:width .35s linear}.interval-next span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.interval-next{gap:8px}.zone-time-card .zone-dist-list{width:100%}.metric-card{background:var(--surface-gradient);box-shadow:var(--surface-inset);border:1px solid var(--hairline);border-radius:var(--radius-lg);flex-direction:column;justify-content:space-between;display:flex;overflow:hidden}.metric-zone-header{letter-spacing:.07em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:6px;padding:8px 13px;font-size:.72rem;font-weight:800;transition:background-color .3s,color .3s;display:flex}.dial-header-title{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:5px;min-width:0;display:inline-flex;overflow:hidden}.dial-header-zone{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.metric-body{flex-direction:column;gap:12px;padding:14px 16px 16px;display:flex}.studio-workspace.split-youtube .metric-body{gap:8px;padding:10px 14px 12px}.metric-main-row{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.metric-number-wrap{align-items:baseline;gap:8px;display:flex}.metric-number{font-family:var(--font-display);letter-spacing:-.025em;color:var(--text-primary);font-size:clamp(2.8rem,5.2vw,4.7rem);font-weight:800;line-height:.92}.studio-workspace.split-youtube .metric-number{font-size:clamp(2.4rem,3.8vw,3.2rem)}.metric-unit{font-family:var(--font-display);letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);font-size:1.05rem;font-weight:700}.metric-context-stack{text-align:right;flex-direction:column;align-items:flex-end;gap:3px;display:flex}.metric-primary-badge{font-family:var(--font-mono);color:var(--text-primary);font-size:.82rem;font-weight:700}.metric-secondary-sub{font-family:var(--font-mono);color:var(--text-muted);font-size:.72rem}.dial-body{flex-direction:column;flex:1;justify-content:space-between;align-items:center;gap:6px;padding:8px 12px 11px;display:flex}.dial-ring-stage{place-items:center;width:100%;max-width:205px;margin:0 auto;display:grid;position:relative}.dial-svg{width:100%;height:auto;display:block;overflow:visible}.dial-zone-arc{transition:stroke-width .24s,opacity .24s}.dial-center-overlay{pointer-events:none;text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:16% 12% 8%}.dial-value{font-family:var(--font-display);letter-spacing:-.025em;color:var(--text-primary);font-size:clamp(2.35rem,5.2vw,3.65rem);font-weight:800;line-height:.9}.dial-value-compact{font-size:clamp(1.9rem,4.2vw,3.05rem)}.dial-unit{font-family:var(--font-display);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-top:2px;font-size:.88rem;font-weight:700}.dial-meta{width:100%}.dial-meta-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.dial-meta-texts{text-align:center;flex-direction:column;align-items:center;gap:1px;display:flex}.dial-primary-badge{font-family:var(--font-mono);color:var(--text-primary);font-size:.76rem;font-weight:700}.dial-secondary-sub{font-family:var(--font-mono);color:var(--text-muted);font-size:.68rem}.dial-thresholds{width:100%;font-family:var(--font-mono);border-top:1px solid #ffffff0f;justify-content:space-between;align-items:center;padding-top:5px;font-size:.64rem;font-weight:600;display:flex}.quad-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:6px;padding:10px 10px 6px;display:grid}.quad-cell{border:1px solid var(--hairline);border-radius:var(--radius-sm);background:#ffffff09;flex-direction:column;gap:1px;padding:7px 8px;display:flex}.quad-label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-size:.6rem;font-weight:700}.quad-val{font-family:var(--font-display);color:var(--text-primary);font-size:1.4rem;font-weight:800;line-height:1}.quad-sub{font-family:var(--font-mono);color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:.62rem;overflow:hidden}.quad-burn-footer{border-radius:var(--radius-sm);font-family:var(--font-mono);color:#fed7aa;background:#f973161f;border:1px solid #f9731647;justify-content:space-between;align-items:center;margin:0 10px 10px;padding:6px 9px;font-size:.68rem;display:flex}.resistance-stepper{align-items:center;gap:5px;display:inline-flex}.stepper-btn{border:1px solid var(--hairline-strong);background:var(--bg-elevated-2);border-radius:7px;place-items:center;width:28px;height:28px;padding:0;font-size:.95rem;font-weight:700;display:grid}.stepper-btn:hover{background:var(--bg-elevated-3)}.garmin-gauge{flex-direction:column;gap:6px;display:flex}.garmin-segments{grid-template-columns:repeat(5,1fr);align-items:center;gap:5px;height:16px;display:grid;position:relative}.garmin-seg{opacity:.3;border-radius:4px;height:11px;transition:height .2s,opacity .2s}.garmin-seg.active{opacity:1;height:16px}.garmin-needle{pointer-events:none;background:#fff;border-radius:3px;width:5px;transition:left .24s cubic-bezier(.22,1,.36,1);position:absolute;top:-4px;bottom:-4px;transform:translate(-50%);box-shadow:0 0 8px #000000d9}.garmin-thresholds{font-family:var(--font-mono);color:var(--text-muted);justify-content:space-between;font-size:.68rem;display:flex}.secondary-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.summary-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.stat-tile{background:var(--surface-gradient);box-shadow:var(--surface-inset);border:1px solid var(--hairline);border-radius:var(--radius-md);flex-direction:column;gap:2px;padding:10px 12px;display:flex}.stat-tile-head{justify-content:space-between;align-items:center;gap:6px;display:flex}.stat-tile-label{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-size:.66rem;font-weight:700}.stat-tile-val{font-family:var(--font-display);font-size:1.5rem;font-weight:700;line-height:1.05}.stat-tile-sub{font-family:var(--font-mono);color:var(--text-muted);font-size:.7rem}.graph-zone-col{flex-direction:column;justify-content:space-between;gap:10px;display:flex}.graph-panel{background:var(--surface-gradient);box-shadow:var(--surface-inset);border:1px solid var(--hairline);border-radius:var(--radius-lg);grid-template-columns:minmax(0,2.2fr) minmax(250px,1fr);align-items:stretch;gap:18px;padding:14px 16px;display:grid}.graph-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.graph-mode-tabs{flex-wrap:wrap;gap:6px;display:flex}.panel-heading{letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary);margin:0;font-size:.78rem;font-weight:700}.graph-canvas-wrap{border-radius:var(--radius-md);border:1px solid var(--hairline);background:#06090e8c;width:100%;height:164px;position:relative;overflow:hidden}.graph-canvas-wrap canvas{width:100%;height:100%;display:block}.graph-empty-hint{text-align:center;color:var(--text-muted);pointer-events:none;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;font-size:.8rem;line-height:1.4;display:flex;position:absolute;inset:28px 16px 12px}.graph-empty-hint strong{color:var(--text-secondary)}.zone-dist-list{flex-direction:column;justify-content:space-between;gap:8px;display:flex}.zone-dist-row{grid-template-columns:78px 1fr 52px;align-items:center;gap:8px;font-size:.76rem;display:grid}.zone-dist-name{align-items:center;gap:6px;font-weight:700;display:flex}.zone-swatch{border-radius:3px;flex-shrink:0;width:9px;height:9px}.zone-dist-track{background:#ffffff0f;border-radius:999px;height:10px;overflow:hidden}.zone-dist-fill{border-radius:999px;height:100%;transition:width .3s}.zone-dist-time{font-family:var(--font-mono);text-align:right;color:var(--text-secondary);font-size:.73rem}.youtube-split-card{background:var(--surface-gradient);box-shadow:var(--surface-inset);border:1px solid var(--hairline);border-radius:var(--radius-lg);flex-direction:column;gap:10px;padding:12px;display:flex}.youtube-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.youtube-url-input{border-radius:var(--radius-sm);border:1px solid var(--hairline-strong);background:var(--bg-elevated-2);flex:200px;min-height:38px;padding:0 12px;font-size:.82rem}.youtube-frame-box{aspect-ratio:16/9;border-radius:var(--radius-md);border:1px solid var(--hairline);background:#000;width:100%;position:relative;overflow:hidden}.youtube-frame-box iframe{border:0;width:100%;height:100%}.youtube-presets{flex-wrap:wrap;gap:6px;display:flex}.youtube-floating-pip{z-index:40;background:var(--bg-elevated-1);border:1px solid var(--hairline-strong);border-radius:var(--radius-md);width:min(380px,100vw - 24px);position:fixed;bottom:16px;right:16px;overflow:hidden;box-shadow:0 20px 44px #000000c7}.youtube-floating-pip.large{width:min(520px,100vw - 24px)}.youtube-floating-bar{background:var(--bg-elevated-2);justify-content:space-between;align-items:center;padding:6px 10px;font-size:.74rem;font-weight:700;display:flex}.sim-bar{background:var(--bg-elevated-1);border:1px solid var(--hairline-strong);border-radius:var(--radius-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:10px 14px;display:flex}.sim-sliders{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.sim-slider-label{color:var(--text-secondary);align-items:center;gap:8px;font-size:.78rem;font-weight:600;display:flex}.sim-slider-label input[type=range]{width:120px;accent-color:var(--accent-orange)}.modal-backdrop{z-index:60;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#04060ac7;place-items:center;padding:14px;display:grid;position:fixed;inset:0;overflow:hidden}.modal-card{overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--bg-elevated-1);border:1px solid var(--hairline-strong);border-radius:var(--radius-lg);flex-direction:column;gap:14px;width:min(640px,100%);max-height:calc(100dvh - 28px);padding:18px;display:flex;overflow-y:auto;box-shadow:0 24px 60px #000000d9}.modal-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.modal-title{font-family:var(--font-display);text-transform:uppercase;letter-spacing:.02em;margin:0;font-size:1.55rem;font-weight:800}.modal-subtitle{color:var(--text-secondary);margin:3px 0 0;font-size:.82rem}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.field{flex-direction:column;gap:5px;display:flex}.field label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-secondary);font-size:.74rem;font-weight:700}.field input,.field select{border-radius:var(--radius-sm);border:1px solid var(--hairline-strong);background:var(--bg-elevated-2);min-height:40px;padding:0 12px;font-size:.92rem;font-weight:600}.height-inline{grid-template-columns:1fr 1fr;gap:8px;display:grid}.zone-preview-table{border:1px solid var(--hairline);border-radius:var(--radius-md);background:#00000040;flex-direction:column;gap:6px;padding:12px;display:flex}.zone-preview-row{font-family:var(--font-mono);grid-template-columns:112px 1fr 1fr;align-items:center;gap:8px;font-size:.75rem;display:grid}.history-item{background:var(--bg-elevated-2);border:1px solid var(--hairline);border-radius:var(--radius-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.history-section{flex-direction:column;gap:10px;display:flex}.hero-ride-card{background:var(--surface-gradient);box-shadow:var(--surface-inset);border:1px solid var(--hairline-strong);border-radius:14px;flex-direction:column;gap:12px;padding:14px 16px;display:flex}.hero-ride-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 12px;display:flex}.hero-ride-title{font-size:1.15rem;font-weight:800;line-height:1.2}.hero-burn-badge{background:var(--accent-orange);color:#140700;letter-spacing:.02em;white-space:nowrap;border-radius:999px;flex-shrink:0;align-items:center;gap:5px;padding:5px 11px;font-size:.82rem;font-weight:800;display:inline-flex}.hero-ride-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.history-ride-card{flex-direction:column;align-items:stretch;gap:10px}.history-ride-head{justify-content:space-between;align-items:flex-start;gap:10px;width:100%;display:flex}.history-ride-meta{flex-direction:column;flex:auto;gap:4px;min-width:0;display:flex}.history-ride-title{color:var(--text-primary);font-size:.94rem;font-weight:700;line-height:1.25}.history-ride-burn{color:#fb923c;white-space:nowrap;background:#f973161f;border-radius:999px;align-self:flex-start;align-items:center;gap:4px;padding:2px 9px;font-size:.75rem;font-weight:700;display:inline-flex}.history-stat-chips{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:.76rem;line-height:1.35;display:flex}.history-stat-chips>span{white-space:nowrap}.history-delete-btn{flex-shrink:0;min-height:32px;padding:0 9px}.history-delete-btn.confirming{color:#fff;background:#ef444457;border-color:#ef4444b8}.history-ride-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.settings-card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.garmin-callout-box{background:#0ea5e914;border:1px solid #0ea5e93d;border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.garmin-callout-green{background:#12b98114;border-color:#12b9813d}.fit-preset-card{flex-flow:wrap;justify-content:space-between;align-items:flex-end;gap:10px 14px}.fit-convert-wrap{flex-shrink:0;align-items:center;display:flex}.history-garmin-card{align-items:center}.history-garmin-type{color:#38bdf8;text-transform:capitalize;white-space:nowrap;font-size:.73rem;font-weight:600}@media (width<=520px){.hero-ride-card{padding:12px}.hero-ride-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.hero-ride-actions .btn{width:100%}#push-both-btn,#push-highlighted-strava{grid-column:1/-1}.history-ride-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.history-ride-actions .btn,.fit-convert-wrap,.fit-convert-wrap .btn,.history-garmin-open-btn{width:100%}}.sync-status-line{color:#fb923c;overflow-wrap:anywhere;width:100%;font-size:.8rem;font-weight:600;line-height:1.4}.confirm-modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:4px;display:flex}@media (width<=520px){.confirm-modal-actions{flex-direction:column-reverse;align-items:stretch}.confirm-modal-actions .btn{width:100%}}.photo-studio-box{border:1px solid var(--hairline-strong);border-radius:var(--radius-md);background:#06090e85;flex-direction:column;gap:14px;padding:14px;display:flex}.photo-meta-fields{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.photo-studio-grid{grid-template-columns:minmax(210px,275px) 1fr;align-items:start;gap:16px;display:grid}@media (width<=620px){.photo-studio-grid{grid-template-columns:1fr}}.photo-canvas-frame{width:100%;max-width:300px;margin:0 auto}.photo-preview-canvas{border:1px solid var(--hairline-strong);border-radius:12px;width:100%;height:auto;display:block;box-shadow:0 12px 28px #0000008c}.photo-studio-controls{flex-direction:column;gap:12px;display:flex}.photo-control-heading{text-transform:uppercase;letter-spacing:.06em;color:var(--text-secondary);margin-bottom:6px;font-size:.74rem;font-weight:800}.photo-btn-row{flex-wrap:wrap;gap:6px;display:flex}.photo-helper-tip{color:var(--text-secondary);margin:8px 0 0;font-size:.75rem;line-height:1.45}.toast-banner{z-index:80;background:var(--bg-elevated-2);border:1px solid var(--hairline-strong);border-radius:var(--radius-md);padding:10px 16px;font-size:.84rem;font-weight:600;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 14px 36px #000000bf}.pip-backing-media{opacity:.01;pointer-events:none;width:2px;height:2px;position:fixed;bottom:0;left:0}.focus-modal-backdrop{background:var(--bg-canvas);-webkit-backdrop-filter:none;backdrop-filter:none;justify-content:center;align-items:stretch;padding:0;display:flex;overflow:hidden}.focus-modal-card{overscroll-behavior:contain;background:var(--bg-canvas);width:100%;max-width:1180px;height:100dvh;max-height:100dvh;box-shadow:none;padding:max(10px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));border:none;border-radius:0;flex-direction:column;gap:10px;display:flex;overflow-y:auto}.focus-topbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;display:flex}.focus-topbar-left{flex:180px;align-items:center;gap:8px;min-width:0;display:flex}.focus-workout-select{border-radius:var(--radius-sm);border:1px solid var(--hairline-strong);background:var(--bg-elevated-2);flex:auto;min-width:0;min-height:36px;padding:0 10px;font-size:.82rem;font-weight:700}.focus-topbar-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.focus-instructions-card{background:var(--surface-gradient);box-shadow:var(--surface-inset);border:1px solid var(--hairline-strong);border-radius:var(--radius-md);flex-direction:column;flex-shrink:0;display:flex}.focus-cue-banner{border-radius:calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding:8px 12px;transition:background-color .3s,color .3s;display:flex}.focus-cue-left{flex-direction:column;gap:1px;display:flex}.focus-cue-pill{letter-spacing:.08em;text-transform:uppercase;opacity:.88;font-size:.65rem;font-weight:800}.focus-cue-title{font-family:var(--font-display);text-transform:uppercase;letter-spacing:.02em;font-size:clamp(1.2rem,2.8vw,1.65rem);font-weight:800;line-height:1.02}.focus-cue-timers{align-items:center;gap:14px;display:flex}.focus-timer-block{flex-direction:column;align-items:flex-end;display:flex}.focus-timer-label{letter-spacing:.08em;text-transform:uppercase;opacity:.82;font-size:.6rem;font-weight:800}.focus-timer-val{font-family:var(--font-display);font-size:clamp(1.2rem,2.5vw,1.6rem);font-weight:800;line-height:1}.focus-instructions-body{flex-direction:column;gap:7px;padding:9px 12px 10px;display:flex}.focus-coaching-note{color:var(--text-primary);margin:0;font-size:.86rem;font-weight:600;line-height:1.32}.focus-targets-row{font-family:var(--font-mono);flex-wrap:wrap;align-items:center;gap:6px;font-size:.72rem;display:flex}.focus-target-chip{border:1px solid var(--hairline);color:var(--text-secondary);background:#ffffff0e;border-radius:6px;padding:2px 7px}.focus-target-chip strong{color:var(--text-primary)}.focus-next-preview{color:var(--text-muted);margin-left:auto}.focus-next-preview strong{color:var(--text-secondary)}.focus-progress-track{background:#ffffff14;border-radius:999px;width:100%;height:5px;overflow:hidden}.focus-progress-fill{border-radius:999px;height:100%;transition:width .35s linear}.focus-transport-dock{flex-shrink:0;align-items:center;gap:8px;display:flex}.focus-play-btn{letter-spacing:.015em;flex:auto;min-height:46px;font-size:.96rem;font-weight:800}.focus-play-btn.btn-primary{box-shadow:0 8px 22px -6px #f9731699}.focus-pause-active{color:#fef3c7;background:#1f2735;border-color:#fbbf248c;font-weight:800}.focus-pause-active:hover{background:#283244;border-color:#fbbf24cc}.focus-secondary-btn{flex-shrink:0;min-height:46px;padding:0 14px;font-size:.84rem}.focus-icon-btn{flex-shrink:0;width:46px;min-height:46px;padding:0}.focus-four-grid{flex:1 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.focus-four-grid[data-tile-count="3"]>:nth-child(3){grid-column:1/-1}.focus-four-grid .dial-body{justify-content:space-evenly}.focus-four-grid .dial-ring-stage{max-width:min(200px,21vh)}@media (width>=600px){.studio-workspace:not(.split-youtube) .metrics-grid.rings-mode[data-tile-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-workspace:not(.split-youtube) .metrics-grid.rings-mode[data-tile-count="5"]{grid-template-columns:repeat(6,minmax(0,1fr))}.studio-workspace:not(.split-youtube) .metrics-grid.rings-mode[data-tile-count="5"]>:nth-child(-n+3){grid-column:span 2}.studio-workspace:not(.split-youtube) .metrics-grid.rings-mode[data-tile-count="5"]>:nth-child(n+4){grid-column:span 3}}.studio-workspace.split-youtube .metrics-grid.rings-mode[data-tile-count="3"]>:nth-child(3){grid-column:1/-1}@media (width<=1080px){.studio-workspace.split-youtube{grid-template-columns:1fr}.studio-workspace.split-youtube .metrics-grid.rings-mode,.studio-workspace.split-youtube .metrics-grid.bars-mode{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-workspace.split-youtube .metrics-grid.rings-mode>*,.studio-workspace.split-youtube .metrics-grid.rings-mode[data-tile-count="3"]>:nth-child(3){grid-column:auto}.studio-workspace.split-youtube .cockpit-slot-4,.studio-workspace.split-youtube .cockpit-extra-card{display:none}.graph-panel{grid-template-columns:1fr}}@media (width<=820px){.effort-ribbon{grid-template-columns:1fr;gap:8px}.effort-ribbon-right{justify-content:space-between}.ribbon-stat{align-items:flex-start}}@media (width>=600px) and (width<=760px){.secondary-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.secondary-strip .stat-tile:nth-child(4),.secondary-strip .stat-tile:nth-child(5){grid-column:span 1}}@media (width<=599px){.modal-backdrop{padding:8px}.modal-card{gap:12px;max-height:calc(100dvh - 16px);padding:14px}.app-shell{gap:9px;padding:8px 9px 20px}.topbar{gap:8px;padding:9px 10px}.brand-lockup{flex:1 1 0;order:0;gap:8px;min-width:0}.brand-logo-img{width:32px;height:32px}.brand-title{letter-spacing:.01em;font-size:.98rem}.topbar-utility-btns{order:1}.topbar-icon-btn,.topbar-github-btn{width:34px;min-width:34px;min-height:34px}.athlete-chip{order:2;justify-content:space-between;width:100%}.topbar-actions{order:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;display:grid}.topbar-actions>:first-child:nth-last-child(odd){grid-column:1/-1}.effort-ribbon{padding:10px 12px}.workout-strip{gap:8px;padding:9px 10px}.workout-picker-group{flex-basis:100%;width:100%}.workout-select{width:100%;min-width:0}.segment-target-callout,.transport-controls{width:100%}.transport-ride-group{flex:auto;min-width:120px}#start-ride-btn,#pause-ride-btn{flex:auto}.metrics-grid.rings-mode,.studio-workspace.split-youtube .metrics-grid.rings-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metrics-grid.rings-mode>*,.studio-workspace.split-youtube .metrics-grid.rings-mode>*{grid-column:auto}.metrics-grid.rings-mode[data-tile-count="3"]>:nth-child(3),.studio-workspace.split-youtube .metrics-grid.rings-mode[data-tile-count="3"]>:nth-child(3){grid-column:1/-1}.cockpit-slot-4,.studio-workspace.split-youtube .cockpit-slot-4{display:flex}.app-shell.mode-rings.has-portrait-stats .secondary-strip.rings-secondary{display:none}.metrics-grid.bars-mode,.studio-workspace.split-youtube .metrics-grid.bars-mode{grid-template-columns:1fr;gap:9px}.metric-zone-header{letter-spacing:.05em;padding:6px 9px;font-size:.65rem}.dial-body{gap:4px;padding:6px 8px 9px}.dial-ring-stage{max-width:162px}.dial-value{font-size:clamp(2.05rem,9.5vw,2.55rem)}.dial-value-compact{font-size:clamp(1.65rem,7.6vw,2.15rem)}.dial-unit{font-size:.76rem}.dial-primary-badge{font-size:.68rem}.dial-secondary-sub{font-size:.62rem}.dial-thresholds{font-size:.58rem}.metric-body{gap:9px;padding:11px 13px 13px}.metric-number{font-size:clamp(2.55rem,11vw,3.25rem)}.secondary-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.secondary-strip .stat-tile:last-child{flex-flow:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;gap:4px 12px}.summary-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.graph-panel{gap:14px;padding:12px}.graph-mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;display:grid}.graph-mode-tabs .btn{padding:0 6px;font-size:.72rem}.form-grid{grid-template-columns:1fr}.zone-preview-row{grid-template-columns:90px 1fr 1fr;font-size:.69rem}.focus-modal-backdrop{padding:0}.focus-modal-card{padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));gap:7px;height:100dvh;max-height:100dvh}.focus-hide-xs{display:none}.focus-topbar-actions{gap:5px}.focus-topbar-actions .btn-sm{padding:0 9px}.focus-cue-banner{gap:4px 10px;padding:6px 10px}.focus-cue-title{font-size:clamp(1.1rem,4.6vw,1.35rem)}.focus-timer-val{font-size:clamp(1.1rem,4.4vw,1.32rem)}.focus-instructions-body{gap:5px;padding:7px 10px}.focus-coaching-note{font-size:.78rem;line-height:1.28}.focus-targets-row{gap:4px;font-size:.65rem}.focus-transport-dock{gap:6px}.focus-play-btn{min-height:44px;font-size:.94rem}.focus-secondary-btn{min-height:44px;padding:0 11px;font-size:.78rem}.focus-icon-btn{width:44px;min-height:44px}.focus-four-grid{gap:7px}.focus-four-grid .dial-body{gap:3px;padding:5px 7px 7px}.focus-four-grid .dial-ring-stage{max-width:126px}.focus-four-grid .dial-value{font-size:clamp(1.88rem,8.4vw,2.25rem)}.focus-four-grid .dial-value-compact{font-size:clamp(1.55rem,7.1vw,1.95rem)}.focus-four-grid .dial-meta-row{gap:5px}.focus-four-grid .stepper-btn{width:25px;height:25px;font-size:.88rem}.focus-four-grid .quad-grid{gap:5px;padding:6px 7px 4px}.focus-four-grid .quad-cell{padding:5px 7px}.focus-four-grid .quad-val{font-size:1.28rem}.focus-four-grid .quad-burn-footer{margin:0 7px 7px;padding:5px 8px}}@media (width<=599px) and (height>=750px){.focus-four-grid .dial-ring-stage{max-width:154px}.focus-four-grid .dial-value{font-size:clamp(2.05rem,9.2vw,2.5rem)}.focus-four-grid .dial-value-compact{font-size:clamp(1.7rem,7.6vw,2.1rem)}.focus-four-grid .quad-val{font-size:1.42rem}}@media (orientation:landscape) and (height<=540px){.app-shell{gap:6px;padding:6px 10px 12px}.topbar{gap:5px 8px;padding:5px 10px}.brand-mark{width:28px;height:28px}.brand-logo-img{border-radius:7px;width:28px;height:28px}.brand-title{font-size:1.05rem}.brand-sub,.segment-target-callout{display:none}.athlete-chip{width:auto;min-height:30px;margin:0;padding:4px 8px}.athlete-chip-stats{font-size:.7rem}.topbar-actions{order:2;gap:5px;width:auto;display:flex}.topbar-actions .btn-sm{min-height:30px;padding:0 8px;font-size:.71rem}.topbar-utility-btns{order:3;gap:5px}.topbar-icon-btn,.topbar-github-btn{width:30px;min-width:30px;min-height:30px}.topbar-actions>:first-child:nth-last-child(odd){grid-column:auto}.effort-ribbon{grid-template-columns:1fr auto;gap:8px;padding:6px 12px}.effort-zone-title{font-size:1.25rem}.effort-cue-meta{font-size:.74rem}.ribbon-stat{align-items:flex-end}.ribbon-stat-val{font-size:1.22rem}.workout-strip{gap:6px 10px;padding:5px 10px}.workout-picker-group{flex:200px;width:auto}.workout-select{width:auto;min-height:32px;font-size:.8rem}.transport-controls{width:auto}.transport-controls .btn{min-height:32px;padding:0 10px;font-size:.76rem}.gauge-toggle-btn{min-height:28px;padding:0 8px;font-size:.71rem}.metrics-grid,.studio-workspace:not(.split-youtube) .metrics-grid.rings-mode[data-tile-count="4"],.studio-workspace:not(.split-youtube) .metrics-grid.rings-mode[data-tile-count="5"],.metrics-grid.rings-mode,.metrics-grid.bars-mode,.studio-workspace.split-youtube .metrics-grid.rings-mode,.studio-workspace.split-youtube .metrics-grid.bars-mode{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.studio-workspace:not(.split-youtube) .metrics-grid.rings-mode>*,.studio-workspace:not(.split-youtube) .metrics-grid.rings-mode[data-tile-count="5"]>:nth-child(-n+3),.studio-workspace:not(.split-youtube) .metrics-grid.rings-mode[data-tile-count="5"]>:nth-child(n+4),.studio-workspace.split-youtube .metrics-grid.rings-mode>*{grid-column:auto}.cockpit-slot-4,.studio-workspace.split-youtube .cockpit-slot-4{display:none}.secondary-strip,.secondary-strip.rings-secondary{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.secondary-strip .stat-tile:last-child{flex-direction:column;grid-column:auto;align-items:flex-start}.dial-body{gap:2px;padding:4px 8px 6px}.dial-ring-stage{max-width:132px}.dial-value{font-size:1.95rem}.dial-value-compact{font-size:1.62rem}.stat-tile{padding:5px 8px}.stat-tile-val{font-size:1.12rem}.focus-modal-card{width:100%;max-width:none;padding:max(5px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));gap:5px}.focus-cue-banner{padding:4px 10px}.focus-instructions-body{gap:4px;padding:5px 10px 6px}.focus-coaching-note{font-size:.76rem}.focus-transport-dock{gap:6px}.focus-play-btn{min-height:34px;font-size:.82rem}.focus-secondary-btn{min-height:34px;padding:0 10px;font-size:.76rem}.focus-icon-btn{width:34px;min-height:34px}.focus-four-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.focus-four-grid[data-tile-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.focus-four-grid[data-tile-count="3"]>:nth-child(3){grid-column:auto}.focus-four-grid .dial-ring-stage{max-width:min(132px,31vh)}}.studio-footer{border-radius:var(--radius-md);border:1px solid var(--hairline);color:var(--text-secondary);background:#0e131cb8;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px;margin-top:4px;padding:12px 16px;font-size:.77rem;display:flex}.studio-footer-pledge{flex-wrap:wrap;align-items:center;gap:7px;line-height:1.45;display:inline-flex}.studio-footer-pledge strong{color:var(--text-primary)}.studio-footer-links{flex-wrap:wrap;align-items:center;gap:14px;display:inline-flex}.studio-footer-link{font:inherit;color:var(--text-primary);text-underline-offset:3px;cursor:pointer;background:0 0;border:none;padding:2px 0;font-weight:700;-webkit-text-decoration:underline #f8fafc52;text-decoration:underline #f8fafc52}.studio-footer-link:hover{color:var(--accent-orange);-webkit-text-decoration-color:var(--accent-orange);text-decoration-color:var(--accent-orange)}.studio-footer-github-link{align-items:center;gap:5px;display:inline-flex}.legal-modal-card{max-width:760px}.legal-tab-bar{border:1px solid var(--hairline-strong);border-radius:var(--radius-md);background:#06090ea6;grid-template-columns:1fr 1fr;gap:6px;padding:4px;display:grid}.legal-tab-btn{border-radius:var(--radius-sm);min-height:38px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:.82rem;font-weight:700;display:inline-flex}.legal-tab-btn:hover{color:var(--text-primary)}.legal-tab-btn.active{background:var(--bg-elevated-2);color:var(--text-primary);box-shadow:inset 0 0 0 1px var(--hairline-strong)}.legal-doc-body{color:var(--text-secondary);flex-direction:column;gap:14px;font-size:.85rem;line-height:1.58;display:flex}.legal-highlight-box{border-radius:var(--radius-md);background:#12b9811a;border:1px solid #12b98152;padding:12px 14px}.legal-highlight-box.legal-warning-box{background:#f973161a;border-color:#f9731657}.legal-highlight-title{color:var(--text-primary);align-items:center;gap:8px;margin-bottom:6px;font-size:.88rem;font-weight:800;display:flex}.legal-highlight-box p{color:var(--text-primary);margin:0;font-size:.82rem}.legal-section{border:1px solid var(--hairline);border-radius:var(--radius-md);background:#06090e66;padding:12px 14px}.legal-section h3{color:var(--text-primary);margin:0 0 6px;font-size:.9rem;font-weight:800}.legal-section p{margin:0 0 8px}.legal-section p:last-child{margin-bottom:0}.legal-section ul{flex-direction:column;gap:6px;margin:6px 0 0;padding-left:18px;display:flex}.legal-section li strong{color:var(--text-primary)}@media (width>=600px){.app-shell.mode-rings.has-cockpit-stats .secondary-strip.rings-secondary,.app-shell.mode-rings.has-cockpit-zones:not(.yt-split) .graph-zone-col{display:none}.app-shell.mode-rings.has-cockpit-zones:not(.yt-split) .graph-panel{grid-template-columns:1fr}}@media (width>=600px) and (width<=1080px){.app-shell.mode-rings.yt-split .secondary-strip.rings-secondary{display:grid}}@media (width<=599px){.cockpit-extra-card{display:none}}@media (orientation:landscape) and (height<=540px){.cockpit-extra-card{display:none}.app-shell.mode-rings .secondary-strip.rings-secondary{display:grid}.app-shell.mode-rings:not(.yt-split) .graph-zone-col{display:flex}}.arrange-mode-banner{border-radius:var(--radius-md);background:#f973161c;border:1px solid #f9731670;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;padding:9px 14px;display:flex}.arrange-banner-copy{color:var(--text-primary);flex-wrap:wrap;align-items:center;gap:7px;font-size:.8rem;display:inline-flex}.arrange-banner-copy strong{color:var(--accent-orange-hover);letter-spacing:.04em}.arrange-banner-copy span{color:var(--text-secondary)}.arrange-banner-actions{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.tile-arrange-grip{opacity:.85;flex-shrink:0}.tile-arrange-arrows,.stat-tile-arrows{flex-shrink:0;align-items:center;gap:4px;display:inline-flex}.tile-nudge-btn{color:#f8fafc;background:#0b0e1385;border:1px solid #ffffff3d;border-radius:6px;place-items:center;width:24px;height:24px;padding:0;transition:background-color .14s,opacity .14s;display:grid}.tile-nudge-btn:hover:not(:disabled){background:#0b0e13d1}.tile-nudge-btn:disabled{opacity:.32;cursor:not-allowed}.metric-card[data-arranging=true],.stat-tile.stat-tile-arranging{cursor:grab;border-color:#f973166b;transition:border-color .16s,box-shadow .16s,opacity .16s}.metric-card[data-arranging=true]:active,.stat-tile.stat-tile-arranging:active,.arrange-control-chip:active{cursor:grabbing}.metric-card[data-dragging=true],.stat-tile.is-dragging,.arrange-control-chip.is-dragging{opacity:.45}.metric-card[data-drag-over=true],.stat-tile.is-drag-over,.arrange-control-chip.is-drag-over{border-color:var(--accent-orange);box-shadow:0 0 0 2px #f9731673}.arrange-control-chip{border-radius:calc(var(--radius-sm) + 3px);cursor:grab;background:#f9731614;border:1px dashed #f9731685;align-items:center;gap:3px;min-width:0;max-width:100%;padding:2px;display:inline-flex}.arrange-chip-inner{flex:auto;align-items:center;min-width:0;display:inline-flex}.arrange-chip-inner>.btn,.arrange-chip-inner>.transport-ride-group{width:100%;min-width:0}.arrange-chip-inner>.btn{padding-inline:8px}.arrange-chip-nudge{border:1px solid var(--hairline-strong);background:var(--bg-elevated-2);width:22px;height:28px;color:var(--text-primary);border-radius:6px;flex-shrink:0;place-items:center;padding:0;transition:background-color .14s,opacity .14s;display:grid}.arrange-chip-nudge:hover:not(:disabled){background:var(--bg-elevated-3)}.arrange-chip-nudge:disabled{opacity:.32;cursor:not-allowed}.customize-layout-modal{width:min(680px,100%)}.layout-presets-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.layout-preset-btn{border-radius:var(--radius-md);border:1px solid var(--hairline-strong);background:var(--bg-elevated-2);text-align:left;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 11px;transition:background-color .15s,border-color .15s;display:flex}.layout-preset-btn:hover{background:var(--bg-elevated-3)}.layout-preset-btn.active{background:#f9731624;border-color:#f97316b8}.layout-preset-btn strong{color:var(--text-primary);font-size:.8rem;font-weight:700}.layout-preset-btn span{color:var(--text-secondary);font-size:.69rem;line-height:1.25}.layout-tab-panel{flex-direction:column;gap:12px;display:flex}.layout-section-box{border:1px solid var(--hairline);border-radius:var(--radius-md);background:#06090e73;flex-direction:column;gap:10px;padding:12px;display:flex}.layout-section-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px;display:flex}.layout-section-title{letter-spacing:.08em;text-transform:uppercase;color:var(--text-primary);margin:0;font-size:.78rem;font-weight:800}.layout-section-hint{font-family:var(--font-mono);color:var(--text-muted);font-size:.69rem}.layout-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.layout-preview-grid[data-tile-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}.layout-preview-grid[data-tile-count="5"]{grid-template-columns:repeat(6,minmax(0,1fr))}.layout-preview-grid[data-tile-count="5"]>:nth-child(-n+3){grid-column:span 2}.layout-preview-grid[data-tile-count="5"]>:nth-child(n+4){grid-column:span 3}.layout-preview-tile{border-radius:var(--radius-sm);background:var(--bg-elevated-2);border:1px solid var(--hairline);align-items:center;gap:6px;min-width:0;padding:7px 9px;display:flex}.layout-preview-idx{font-family:var(--font-mono);color:var(--accent-orange-hover);flex-shrink:0;font-size:.68rem;font-weight:800}.layout-preview-icon{color:var(--text-secondary);flex-shrink:0;display:inline-flex}.layout-preview-label{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:.74rem;font-weight:700;overflow:hidden}.layout-preview-strip{flex-wrap:wrap;gap:6px;display:flex}.layout-preview-pill{background:var(--bg-elevated-2);border:1px solid var(--hairline);color:var(--text-primary);border-radius:999px;align-items:center;gap:5px;padding:5px 9px;font-size:.73rem;font-weight:600;display:inline-flex}.layout-preview-pill-num{font-family:var(--font-mono);color:var(--accent-orange-hover);font-size:.66rem;font-weight:800}.layout-order-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.layout-order-row{border-radius:var(--radius-sm);border:1px solid var(--hairline);background:var(--bg-elevated-2);cursor:grab;align-items:center;gap:9px;padding:8px 10px;transition:background-color .14s,border-color .14s,opacity .14s;display:flex}.layout-order-row:hover{background:var(--bg-elevated-3);border-color:var(--hairline-strong)}.layout-order-row.is-dragging{opacity:.45;cursor:grabbing}.layout-order-row.is-drag-over{border-color:var(--accent-orange);box-shadow:0 0 0 2px #f9731659}.layout-drag-handle{color:var(--text-muted);flex-shrink:0;display:inline-flex}.layout-pos-badge{width:22px;height:22px;color:var(--accent-orange-hover);font-family:var(--font-mono);background:#f9731624;border:1px solid #f9731652;border-radius:6px;flex-shrink:0;place-items:center;font-size:.72rem;font-weight:800;display:grid}.layout-item-icon{width:28px;height:28px;color:var(--text-primary);background:#ffffff0d;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.layout-item-copy{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.layout-item-head{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.layout-item-title{color:var(--text-primary);font-size:.84rem;font-weight:700}.layout-scope-tag{font-family:var(--font-mono);color:var(--text-secondary);background:#ffffff0f;border-radius:999px;padding:1px 6px;font-size:.62rem;font-weight:700}.layout-item-desc{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.72rem;overflow:hidden}.layout-row-arrows{flex-shrink:0;align-items:center;gap:4px;display:inline-flex}.layout-arrow-btn{border-radius:var(--radius-sm);border:1px solid var(--hairline-strong);background:var(--bg-elevated-1);width:34px;height:34px;color:var(--text-primary);place-items:center;padding:0;transition:background-color .14s,opacity .14s;display:grid}.layout-arrow-btn:hover:not(:disabled){background:var(--bg-elevated-3)}.layout-arrow-btn:disabled{opacity:.3;cursor:not-allowed}.layout-remove-btn:hover:not(:disabled){color:#fecaca;background:#ef44443d;border-color:#ef444473}.layout-available-list{flex-direction:column;gap:6px;display:flex}.layout-available-card{border-radius:var(--radius-sm);border:1px solid var(--hairline);background:#ffffff06;flex-direction:column;gap:8px;padding:8px 10px;display:flex}.layout-available-main{justify-content:space-between;align-items:center;gap:9px;display:flex}.layout-available-info{flex:200px;align-items:flex-start;gap:9px;min-width:0;display:flex}.layout-available-actions{flex-shrink:0;align-items:center;gap:6px;display:inline-flex}.layout-swap-picker{border-top:1px solid var(--hairline);flex-direction:column;gap:6px;padding-top:8px;display:flex}.layout-swap-prompt{text-transform:uppercase;letter-spacing:.06em;color:var(--accent-orange-hover);font-size:.7rem;font-weight:700}.layout-swap-chips{flex-wrap:wrap;gap:6px;display:flex}.layout-swap-chip{min-height:30px;padding:0 9px;font-size:.72rem}.layout-modal-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 10px;display:flex}.layout-footer-left{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}@media (width<=599px){.layout-presets-row{grid-template-columns:1fr}.layout-preview-grid,.layout-preview-grid[data-tile-count="4"],.layout-preview-grid[data-tile-count="5"]{grid-template-columns:repeat(2,minmax(0,1fr))}.layout-preview-grid[data-tile-count="5"]>:nth-child(-n+3),.layout-preview-grid[data-tile-count="5"]>:nth-child(n+4){grid-column:auto}.layout-order-row{gap:6px;padding:7px 8px}.layout-arrow-btn{width:30px;height:30px}.layout-available-main{flex-wrap:wrap}.layout-available-actions{justify-content:flex-end;width:100%}.layout-item-desc{white-space:normal}.arrange-mode-banner{padding:8px 10px}.arrange-banner-actions{justify-content:flex-end;width:100%}.arrange-control-chip{width:100%}.transport-controls .arrange-control-chip{flex:auto;width:auto}.arrange-chip-inner>.btn{gap:4px;padding-inline:5px;font-size:.72rem}}
