@font-face{font-family:Figtree;src:url(/fonts/figtree.woff2) format("woff2");font-weight:300 900;font-style:normal;font-display:swap}:root{--bg: #f2f2f7;--surface: #ffffff;--fill: #eeeef3;--fill-2: #e3e3e9;--ink: #0b0b0f;--ink-2: #3c3c43;--muted: #8e8e93;--line: rgba(60, 60, 67, .12);--line-2: rgba(60, 60, 67, .22);--accent: #1fb36b;--accent-ink: #ffffff;--accent-soft: #e3f6ec;--blue: #0a84ff;--orange: #ff9500;--pink: #ff2d55;--purple: #af52de;--yellow: #ffcc00;--teal: #30b0c7;--positive: #1fb36b;--warn: #ff9500;--danger: #ff3b30;--on-ink: #ffffff;--chrome: rgba(255, 255, 255, .82);--shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 22px rgba(0, 0, 0, .05);--float: 0 2px 6px rgba(0, 0, 0, .06), 0 10px 30px rgba(0, 0, 0, .1);--sheet-shadow: 0 -10px 40px rgba(0, 0, 0, .16);--sans: Figtree, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;--serif: var(--sans);--r-lg: 24px;--r: 18px;--r-sm: 13px;--gutter: 16px;--nav-h: 52px;--tab-h: 64px;--safe-b: env(safe-area-inset-bottom, 0px);--safe-t: env(safe-area-inset-top, 0px);--app-w: 520px;--ease: cubic-bezier(.2, .8, .2, 1);--spring: cubic-bezier(.34, 1.4, .64, 1);color-scheme:light}[data-theme=dark]{--bg: #000000;--surface: #1c1c1e;--fill: #2c2c2e;--fill-2: #3a3a3c;--ink: #ffffff;--ink-2: rgba(235, 235, 245, .72);--muted: #8e8e93;--line: rgba(84, 84, 88, .42);--line-2: rgba(120, 120, 128, .5);--accent: #30d07f;--accent-ink: #00160b;--accent-soft: rgba(48, 208, 127, .16);--positive: #30d07f;--warn: #ff9f0a;--danger: #ff453a;--on-ink: #000000;--chrome: rgba(28, 28, 30, .82);--shadow: none;--float: 0 10px 30px rgba(0, 0, 0, .5);--sheet-shadow: 0 -10px 40px rgba(0, 0, 0, .6);color-scheme:dark}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--bg)}body{margin:0;min-height:100dvh;background:var(--bg);color:var(--ink);font:400 16px/1.42 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;overflow-x:hidden}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-weight:600;letter-spacing:-.015em}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}button:disabled{cursor:not-allowed}img{max-width:100%;display:block}svg{flex-shrink:0}ol,ul{margin:0;padding:0}blockquote{margin:0;padding:12px 14px;border-left:2px solid var(--ink);background:var(--fill);border-radius:0 var(--r-sm) var(--r-sm) 0;color:var(--ink-2)}abbr{text-decoration:none;cursor:help}:focus-visible{outline:2px solid var(--ink);outline-offset:2px}::selection{background:var(--ink);color:var(--on-ink)}.num,.stat-value,.big-number{font-size:46px;font-weight:800;line-height:1;letter-spacing:-.04em}.serif{font-weight:800;letter-spacing:-.01em}.muted{color:var(--muted)}.small{font-size:13px;line-height:1.45}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.green{color:var(--positive)}.app{position:relative;width:100%;max-width:var(--app-w);min-height:100dvh;margin:0 auto;background:var(--bg)}@media(min-width:600px){html,body{background:var(--fill)}.app{border-left:1px solid var(--line);border-right:1px solid var(--line)}}.navbar{position:sticky;top:0;z-index:30;height:calc(var(--nav-h) + var(--safe-t));padding:var(--safe-t) 8px 0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:var(--bg);border-bottom:1px solid transparent;transition:background .2s,border-color .2s}.app.scrolled .navbar{background:var(--chrome);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom-color:var(--line)}.navbar-title{font-size:16px;font-weight:600;letter-spacing:-.01em;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s var(--ease);white-space:nowrap}.app.scrolled .navbar-title{opacity:1;transform:none}.navbar-side{display:flex;align-items:center;gap:2px}.navbar-side.end{justify-content:flex-end}.back-link{display:inline-flex;align-items:center;gap:2px;height:40px;padding:0 8px 0 2px;font-size:16px;font-weight:500;border-radius:10px}.back-link:active{opacity:.5}.avatar{width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;background:var(--ink);color:var(--on-ink);font-size:13px;font-weight:600;flex-shrink:0}.avatar.large{width:52px;height:52px;font-size:20px;font-weight:800}.navbar .avatar{margin-right:8px}.main-content{padding:4px var(--gutter) calc(var(--tab-h) + var(--safe-b) + 40px);display:flex;flex-direction:column;gap:26px}.main-content>*{min-width:0}.tabbar{position:fixed;z-index:40;bottom:calc(10px + var(--safe-b));left:50%;transform:translate(-50%);width:min(calc(100% - 24px),calc(var(--app-w) - 24px));height:var(--tab-h);padding:0 6px;display:grid;grid-template-columns:repeat(5,1fr);border-radius:26px;background:var(--chrome);-webkit-backdrop-filter:saturate(180%) blur(22px);backdrop-filter:saturate(180%) blur(22px);box-shadow:var(--float);border:1px solid color-mix(in srgb,var(--surface) 60%,transparent)}.tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;font-weight:600;color:var(--muted);transition:color .15s}.tab.active{color:var(--accent)}.tab:active svg{transform:scale(.9)}.tab svg{transition:transform .15s var(--ease)}.offline-banner{margin:0 var(--gutter) 8px;display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:var(--r-sm);background:var(--fill);color:var(--ink-2);font-size:13px}.loading-screen{min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:18px;color:var(--muted)}.toast{position:fixed;z-index:80;left:50%;top:calc(10px + var(--safe-t));transform:translate(-50%);width:min(calc(100% - 24px),calc(var(--app-w) - 24px));display:flex;align-items:center;gap:10px;padding:10px 8px 10px 16px;border-radius:22px;background:var(--chrome);-webkit-backdrop-filter:saturate(180%) blur(22px);backdrop-filter:saturate(180%) blur(22px);color:var(--ink);font-size:14.5px;font-weight:500;box-shadow:var(--float);animation:toast-in .42s var(--spring)}.toast>span{flex:1}.toast .icon-button{color:inherit;width:34px;height:34px}.toast .button.ghost{color:inherit;height:34px;padding:0 10px}.toast>svg:first-child{color:var(--accent)}.toast-error>svg:first-child{color:var(--danger)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-12px) scale(.96)}}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding-top:2px}.page-header h1{font-weight:800;font-size:34px;line-height:1.08;letter-spacing:-.025em}.page-header p{margin-top:6px;color:var(--muted);font-size:14px}.eyebrow{font-size:13px;font-weight:600;color:var(--muted);margin-bottom:2px}.page-header>:last-child:not(:first-child){flex-shrink:0}.section{display:flex;flex-direction:column;gap:10px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px}.section-title h2{font-size:21px;font-weight:800;letter-spacing:-.02em}.card .section-title h2{font-size:16px}.card,.panel{background:var(--surface);border-radius:var(--r-lg);padding:18px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:14px;min-width:0}[data-theme=dark] .card,[data-theme=dark] .panel{border:1px solid var(--line)}.list{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow:hidden}[data-theme=dark] .list{border:1px solid var(--line)}.list-caption{font-size:13px;color:var(--muted);padding:0 4px}.row{position:relative;width:100%;min-height:56px;display:flex;align-items:center;gap:12px;padding:12px 16px;text-align:left}.row+.row:before{content:"";position:absolute;top:0;right:0;left:16px;border-top:1px solid var(--line)}.row.has-icon+.row:before,.row+.row.has-icon:before{left:60px}button.row:active,a.row:active{background:var(--fill)}.row-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--fill);color:var(--ink);flex-shrink:0}.row-icon.ink{background:var(--ink);color:var(--on-ink)}.row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.row-body strong{font-weight:500;font-size:15px;letter-spacing:-.005em}.row-body small{color:var(--muted);font-size:13px;line-height:1.35}.row-end{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:14px;text-align:right;flex-shrink:0}.row-end strong{color:var(--ink);font-weight:500;font-variant-numeric:tabular-nums}.row-value{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25}.row-value small{font-size:12px;color:var(--muted)}.chev{color:var(--muted);opacity:.7}.row.danger{color:var(--danger)}.row.center{justify-content:center;font-weight:500}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 22px;border-radius:999px;font-size:16px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;transition:transform .18s var(--spring),opacity .15s,background .15s;-webkit-user-select:none;user-select:none}.button:active:not(:disabled){transform:scale(.97)}.button:disabled{opacity:.4}.button.primary{background:var(--accent);color:var(--accent-ink);box-shadow:0 6px 16px color-mix(in srgb,var(--accent) 30%,transparent)}.button.secondary{background:var(--fill);color:var(--ink)}.button.secondary:active:not(:disabled){background:var(--fill-2)}.button.ghost{height:40px;padding:0 12px;color:var(--accent);font-weight:600}.button.danger{background:var(--fill);color:var(--danger)}.button.on-ink{background:var(--on-ink);color:var(--ink)}.button.sm{height:38px;padding:0 16px;font-size:14.5px}.button.full{width:100%}.icon-button{width:40px;height:40px;border-radius:12px;display:inline-grid;place-items:center;color:var(--ink);flex-shrink:0;transition:background .15s}.icon-button:active:not(:disabled){background:var(--fill)}.icon-button:disabled{opacity:.3}.icon-button.filled{background:var(--surface);box-shadow:var(--shadow);border-radius:50%}.icon-button.ink{background:var(--ink);color:var(--on-ink)}.text-link{display:inline-flex;align-items:center;gap:3px;font-size:15px;font-weight:600;color:var(--accent)}.text-link:active{opacity:.5}.inline-link{display:inline-flex;align-items:center;gap:3px;color:var(--ink);font-weight:500;text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}.button-row{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px}input,select,textarea{font:inherit;font-size:16px;color:var(--ink);width:100%;min-width:0;background:var(--fill);border:1px solid transparent;border-radius:var(--r-sm);padding:12px 14px;min-height:48px;outline:none;transition:border-color .15s,background .15s;appearance:none;-webkit-appearance:none}textarea{resize:vertical;line-height:1.45}input:focus,select:focus,textarea:focus{border-color:var(--ink);background:var(--surface)}input::placeholder,textarea::placeholder{color:var(--muted)}input:disabled,select:disabled{opacity:.55}select{padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8984' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}input[type=date],input[type=time]{min-height:48px}input[type=number]{-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=file]{padding:10px;font-size:14px}input[type=file]::file-selector-button{font:inherit;font-weight:500;border:0;border-radius:8px;padding:6px 10px;margin-right:10px;background:var(--surface);color:var(--ink)}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span,.field-label{font-size:13px;font-weight:500;color:var(--ink-2)}.field>small{font-size:12.5px;color:var(--muted);line-height:1.4}.form-stack{display:flex;flex-direction:column;gap:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check-field{display:flex;align-items:flex-start;gap:12px;font-size:14px;color:var(--ink-2);cursor:pointer;line-height:1.4}.check-field input{width:22px;height:22px;min-height:0;padding:0;border-radius:7px;flex-shrink:0;background:var(--fill);border:1.5px solid var(--line-2);display:grid;place-items:center;margin:0}.check-field input:checked{background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat;border-color:var(--ink)}[data-theme=dark] .check-field input:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.toggle{width:51px!important;height:31px;min-height:0!important;padding:0!important;border-radius:99px!important;background:var(--fill-2)!important;border:0!important;position:relative;flex-shrink:0;cursor:pointer;transition:background .2s}.toggle:after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #0000002e;transition:transform .25s var(--ease)}.toggle:checked{background:var(--accent)!important}.toggle:checked:after{transform:translate(20px)}.segmented{display:flex;padding:3px;gap:2px;background:var(--fill);border-radius:11px}.segmented>button,.segmented>label{flex:1;min-height:32px;padding:6px 8px;border-radius:8px;font-size:13.5px;font-weight:500;color:var(--ink-2);text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;transition:background .18s,color .18s;white-space:nowrap}.segmented>button.active,.segmented>label:has(input:checked){background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #00000014,0 0 0 .5px #0000000a}[data-theme=dark] .segmented>button.active,[data-theme=dark] .segmented>label:has(input:checked){background:var(--fill-2)}.segmented>label{position:relative}.segmented input{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;opacity:0;cursor:pointer}.segmented label:has(input:focus-visible){outline:2px solid var(--ink)}.segmented small{font-size:10px;color:var(--accent)}.chip-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter);scroll-padding:0 var(--gutter)}.chip-row::-webkit-scrollbar{display:none}.chip-row>*{flex-shrink:0}.chip{height:36px;padding:0 14px;border-radius:99px;background:var(--fill);font-size:14px;font-weight:500;color:var(--ink-2);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;text-transform:capitalize;transition:background .15s,color .15s}.chip.active{background:var(--accent);color:var(--accent-ink)}.chip.plain{text-transform:none}.search{position:relative}.search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}.search input{padding-left:40px;min-height:44px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat{background:var(--surface);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 14px 13px;display:flex;flex-direction:column;gap:4px;min-width:0}[data-theme=dark] .stat{border:1px solid var(--line)}.stat-label{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:12.5px;font-weight:500;color:var(--muted)}.stat-label svg{width:15px;height:15px}.stat-value{font-size:30px;font-weight:800;line-height:1.05;letter-spacing:-.03em;margin-top:2px}.stat-value span{font-family:var(--sans);font-size:13px;color:var(--muted);margin-left:4px;letter-spacing:0}.stat-foot{font-size:12px;line-height:1.35;color:var(--muted)}.big-number{font-size:52px;line-height:1;letter-spacing:-.03em}.big-number small,.big-number span{font-family:var(--sans);font-size:14px;color:var(--muted);letter-spacing:0;margin-left:6px}.progress-bar{height:6px;border-radius:99px;background:var(--fill);overflow:hidden}.progress-bar>span{display:block;height:100%;border-radius:inherit;background:var(--accent);transition:width .5s var(--ease)}.progress-bar.thin{height:4px}.progress-bar.accent>span{background:var(--blue)}.tag{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:99px;background:var(--fill);color:var(--ink-2);font-size:12px;font-weight:500;white-space:nowrap;text-transform:capitalize}.tag.green{background:color-mix(in srgb,var(--positive) 14%,transparent);color:var(--positive)}.tag.accent{background:color-mix(in srgb,var(--accent) 13%,transparent);color:var(--accent)}.tag.on-ink{background:color-mix(in srgb,var(--on-ink) 14%,transparent);color:var(--on-ink)}.ring{position:relative;display:grid;place-items:center}.ring svg{transform:rotate(-90deg)}.ring circle{fill:none;stroke-linecap:round}.ring .track{stroke:var(--fill)}.ring .value{stroke:var(--accent);transition:stroke-dashoffset .7s var(--ease)}.ring.accent .value{stroke:var(--blue)}.ring>span{position:absolute;inset:0;display:grid;place-items:center}.note,.info-box{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--r);background:var(--fill);color:var(--ink-2);font-size:13.5px;line-height:1.5}.note svg,.info-box svg{margin-top:2px;color:var(--muted)}.note.warn{background:color-mix(in srgb,var(--warn) 12%,var(--surface));color:var(--ink)}.note.warn svg{color:var(--warn)}.error-box{padding:12px 14px;border-radius:var(--r-sm);background:color-mix(in srgb,var(--danger) 10%,var(--surface));color:var(--danger);font-size:14px;white-space:pre-line}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:28px 12px}.empty-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--fill);color:var(--ink-2);margin-bottom:6px}.empty h3{font-size:16px}.empty p{color:var(--muted);font-size:14px;max-width:30ch}.empty .button{margin-top:10px}.footnote{font-size:12.5px;color:var(--muted);line-height:1.5;padding:0 4px}details.disclosure{border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow)}[data-theme=dark] details.disclosure{border:1px solid var(--line)}details.disclosure summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;font-weight:500;cursor:pointer}details.disclosure summary::-webkit-details-marker{display:none}details.disclosure summary svg{color:var(--muted);transition:transform .2s}details.disclosure[open] summary svg{transform:rotate(180deg)}details.disclosure>div{padding:0 16px 16px;display:flex;flex-direction:column;gap:12px;color:var(--ink-2);font-size:14px}details.disclosure ul{padding-left:18px;display:grid;gap:4px}.modal{padding:0;border:0;margin:auto auto 0;width:100%;max-width:var(--app-w);max-height:92dvh;border-radius:24px 24px 0 0;background:var(--surface);color:var(--ink);box-shadow:var(--sheet-shadow);overflow:hidden}.modal[open]{display:flex;flex-direction:column;animation:sheet-up .34s var(--ease)}.modal::backdrop{background:#0006;animation:fade .25s}@keyframes sheet-up{0%{transform:translateY(100%)}}@keyframes fade{0%{opacity:0}}.modal-inner{overflow-y:auto;overscroll-behavior:contain;padding:0 20px calc(24px + var(--safe-b));display:flex;flex-direction:column;gap:16px}.modal-grabber{width:36px;height:5px;border-radius:99px;background:var(--line-2);margin:8px auto 0;flex-shrink:0}.modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 10px;background:var(--surface)}.modal-head h2{font-weight:800;font-size:24px;line-height:1.15;letter-spacing:-.02em}.modal-head .icon-button{background:var(--fill);width:32px;height:32px;border-radius:50%}.modal-inner h3{font-size:15px;margin-top:4px}.modal-inner>p{color:var(--ink-2)}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}@media(min-width:600px){.modal{margin:auto;border-radius:24px;max-height:86dvh;width:calc(100% - 48px);max-width:480px}.modal.wide{max-width:560px}.modal[open]{animation:pop .25s var(--ease)}.modal-grabber{display:none}}@keyframes pop{0%{opacity:0;transform:scale(.97)}}.routine-list{counter-reset:step;list-style:none;display:flex;flex-direction:column}.routine-list li{counter-increment:step;display:flex;gap:14px;padding:12px 0;border-top:1px solid var(--line);font-size:15px;line-height:1.45}.routine-list li:first-child{border-top:0}.routine-list li:before{content:counter(step);width:24px;height:24px;border-radius:50%;background:var(--fill);font-size:12px;font-weight:600;display:grid;place-items:center;flex-shrink:0;margin-top:1px}.plain-list{list-style:none;display:flex;flex-direction:column;gap:8px}.plain-list li{position:relative;padding-left:18px;color:var(--ink-2)}.plain-list li:before{content:"";position:absolute;left:3px;top:9px;width:5px;height:5px;border-radius:50%;background:var(--muted)}.guide-meta{display:flex;flex-wrap:wrap;gap:6px}.scale-field{display:flex;flex-direction:column;gap:8px}.scale-field>div:first-child{display:flex;justify-content:space-between;font-size:13px}.scale-field>div:first-child span:first-child{font-weight:500;color:var(--ink-2)}.scale-field>div:first-child span:last-child{color:var(--muted)}.brand{font-size:26px;font-weight:900;line-height:1;letter-spacing:-.04em;display:inline-flex;align-items:center;gap:8px}.brand-dot{color:var(--accent)}.hero{position:relative;border-radius:var(--r-lg);background:var(--ink);color:var(--on-ink);padding:20px;display:flex;flex-direction:column;gap:14px;overflow:hidden}.hero-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;font-weight:500;opacity:.7}.hero h2{font-weight:800;font-size:40px;line-height:1;letter-spacing:-.02em}.hero p{font-size:14px;opacity:.7;margin-top:6px}.hero-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;opacity:.85}.hero-meta span{display:inline-flex;align-items:center;gap:6px}.hero .button{margin-top:4px}.hero-foot{display:flex;gap:8px;align-items:flex-start;font-size:13px;opacity:.7;padding-top:14px;border-top:1px solid color-mix(in srgb,var(--on-ink) 14%,transparent)}.hero-foot svg{margin-top:2px}.hero.done{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.hero.done .hero-foot{border-top-color:var(--line)}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:10px 8px}[data-theme=dark] .week-strip{border:1px solid var(--line)}.week-day{display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 0 8px;border-radius:12px;color:var(--muted);font-size:11.5px;font-weight:500}.week-day b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums}.week-day.today b{background:var(--accent);color:var(--accent-ink)}.week-day.done b{box-shadow:inset 0 0 0 1.5px var(--ink)}.week-day.today.done b{box-shadow:none}.week-day i{width:5px;height:5px;border-radius:50%;background:transparent}.week-day.train i{background:var(--line-2)}.week-day.done i{background:var(--accent)}.week-day:active{background:var(--fill)}.rings{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ring-tile{background:var(--surface);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 8px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}[data-theme=dark] .ring-tile{border:1px solid var(--line)}.ring-tile .ring b{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.01em}.ring-tile>span{display:flex;flex-direction:column;font-size:12px;color:var(--muted);line-height:1.3}.ring-tile>span strong{color:var(--ink);font-weight:500;font-size:13px}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quick{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:var(--ink-2);text-align:center}.quick span{width:100%;aspect-ratio:1.1;max-height:72px;border-radius:20px;display:grid;place-items:center;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);transition:transform .18s var(--spring)}[data-theme=dark] .quick span{border:1px solid var(--line)}.quick:active span{transform:scale(.94)}.trend-card .trend-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}.trend-card .trend-head .big-number{font-size:44px}.trend-delta{font-size:13px;font-weight:500;color:var(--ink-2)}.card-link{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:13px}.coach-note{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:var(--r-lg);border:1px solid var(--line-2)}.coach-note p{font-size:21px;line-height:1.3;letter-spacing:-.005em}.coach-note .eyebrow{margin:0}.trend-chart{margin:0 -6px 0 -10px}.chart-empty .empty{padding:20px 8px}.chart-foot{font-size:12.5px;line-height:1.45;color:var(--muted)}.sparkline{display:block;width:100%;height:56px}.day-picker{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.day-picker button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 0;border-radius:12px;font-size:12px;font-weight:500;color:var(--muted);transition:background .15s,color .15s}.day-picker button b{font-size:11px;font-weight:500;height:14px;display:flex;align-items:center}.day-picker button i{width:5px;height:5px;border-radius:50%;background:var(--accent)}.day-picker button.active{background:var(--accent);color:var(--accent-ink)}.day-picker button.active i{background:var(--on-ink)}.plan-hero{display:flex;flex-direction:column;gap:14px}.plan-hero h2{font-weight:800;font-size:36px;line-height:1.02;letter-spacing:-.02em}.plan-hero p{color:var(--muted);font-size:14px;margin-top:4px}.meta-line{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--ink-2)}.meta-line span{display:inline-flex;align-items:center;gap:5px}.completed-badge{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:var(--r);background:var(--surface);box-shadow:var(--shadow)}.completed-badge svg{color:var(--positive)}.completed-badge strong{flex:1;font-weight:500}.exercise-number{font-weight:700;font-size:18px;line-height:1;color:var(--muted);width:26px;flex-shrink:0;font-variant-numeric:tabular-nums}.prescription{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25}.prescription strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--ink)}.prescription span{font-size:12px;color:var(--muted)}.session-status{position:sticky;top:calc(var(--nav-h) + var(--safe-t));z-index:10;margin:-8px calc(-1 * var(--gutter)) 0;padding:10px var(--gutter);background:var(--chrome);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:8px}.session-status>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--ink-2)}.session-status>div>span{display:inline-flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--positive);flex-shrink:0}.status-dot.orange{background:var(--warn)}.session-status .button{height:32px;padding:0 10px;font-size:13px}.exercise-session{gap:14px;padding:16px}.exercise-session-head{display:flex;align-items:flex-start;gap:12px}.exercise-session-head>div{flex:1;min-width:0}.exercise-session-head h2{font-size:17px;line-height:1.25}.exercise-session-head p{font-size:13px;color:var(--muted);margin-top:2px}.exercise-session-head .watch-chip{margin-top:-3px}.exercise-session-head .icon-button{margin:-8px -8px 0 0;color:var(--muted)}.previous-performance{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:var(--r-sm);background:var(--fill);font-size:13.5px;font-weight:500}.previous-performance span{font-size:11.5px;font-weight:500;color:var(--muted)}.previous-performance small{font-size:12.5px;font-weight:400;color:var(--ink-2)}.set-table{display:flex;flex-direction:column;gap:6px}.set-row{display:grid;grid-template-columns:22px minmax(0,1fr) minmax(0,1fr) 54px 40px 44px;gap:6px;align-items:center}.set-head{font-size:11px;font-weight:500;color:var(--muted);text-align:center}.set-head span:first-child{text-align:left}.set-number{font-size:14px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}.set-row input,.set-row select{min-height:44px;padding:8px 4px;text-align:center;font-weight:500;font-variant-numeric:tabular-nums}.set-row select{background-image:none;padding:8px 2px;text-align-last:center}.form-toggle{height:44px;border-radius:var(--r-sm);display:grid;place-items:center;background:var(--fill);color:var(--warn)}.form-toggle.good{color:var(--muted)}.set-check{height:44px;border-radius:var(--r-sm);display:grid;place-items:center;border:1.5px solid var(--line-2);color:var(--muted);transition:background .15s,color .15s,transform .12s var(--ease)}.set-check:active:not(:disabled){transform:scale(.92)}.set-check.checked{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.set-check:disabled{opacity:.35}.set-row.set-done input,.set-row.set-done select{background:transparent;color:var(--ink-2)}.exercise-session-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.swap-label{flex:1;min-width:0}.swap-label select{min-height:38px;padding:6px 34px 6px 12px;font-size:14px}.dock{position:sticky;bottom:calc(var(--tab-h) + var(--safe-b) + 10px);z-index:20;display:flex;flex-direction:column;gap:8px}.finish-session-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 16px;border-radius:18px;background:var(--chrome);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border:1px solid var(--line);box-shadow:0 10px 30px #0000001a}.finish-session-bar>div{display:flex;flex-direction:column;line-height:1.3;min-width:0}.finish-session-bar strong{font-weight:600;font-size:14px}.finish-session-bar span{font-size:12px;color:var(--muted)}.finish-session-bar .button{height:44px;padding:0 16px}.rest-timer{display:flex;align-items:center;gap:8px;padding:10px 10px 10px 18px;border-radius:18px;background:var(--ink);color:var(--on-ink);box-shadow:0 12px 32px #00000038;animation:toast-in .3s var(--ease)}.rest-timer>div{flex:1;display:flex;flex-direction:column;line-height:1.1}.rest-timer span{font-size:11.5px;opacity:.6}.rest-timer strong{font-size:30px;font-weight:500;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.timer-control{height:44px;min-width:44px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--on-ink) 14%,transparent);font-size:14px;font-weight:600;padding:0 10px}.timer-control:active{background:color-mix(in srgb,var(--on-ink) 24%,transparent)}.finish-summary{display:flex;gap:14px;align-items:center;padding:14px;border-radius:var(--r);background:var(--fill)}.finish-summary strong{font-weight:800;font-size:24px}.finish-summary p{font-size:13px;color:var(--ink-2)}.history-list{display:flex;flex-direction:column;gap:10px}.history-card{padding:0;gap:0}.history-title{display:flex;align-items:center;gap:14px;padding:14px 16px;text-align:left;width:100%}.history-title>div:nth-child(2){flex:1;min-width:0}.history-title h2{font-size:15px;font-weight:500}.history-title p{font-size:13px;color:var(--muted);margin-top:2px}.history-title>svg{color:var(--muted);transition:transform .2s}.history-title[aria-expanded=true]>svg{transform:rotate(180deg)}.history-date{width:44px;display:flex;flex-direction:column;align-items:center;line-height:1;flex-shrink:0}.history-date strong{font-weight:800;font-size:28px}.history-date span{font-size:11px;color:var(--muted);margin-top:2px}.history-detail{padding:14px 16px 16px;display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line)}.history-exercise{display:flex;flex-direction:column;gap:2px;font-size:14px}.history-exercise strong{font-weight:500}.history-exercise span{color:var(--ink-2);font-size:13px}.date-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--surface);border-radius:14px;box-shadow:var(--shadow);padding:4px}[data-theme=dark] .date-nav{border:1px solid var(--line)}.date-nav label{position:relative;flex:1;text-align:center;font-weight:500;font-size:15px;cursor:pointer}.date-nav input{position:absolute;inset:0;opacity:0;min-height:0;cursor:pointer}.macro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-top:14px;border-top:1px solid var(--line)}.macro{display:flex;flex-direction:column;gap:6px;min-width:0}.macro>span{font-size:12px;color:var(--muted);font-weight:500}.macro strong{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.01em}.macro strong small{font-size:12px;font-weight:400;color:var(--muted)}.meal-slot-head strong{font-size:15px;font-weight:600}.water-head{display:flex;align-items:flex-end;justify-content:space-between}.water-entries{display:flex;flex-wrap:wrap;gap:6px}.water-entries .chip{height:30px;padding:0 4px 0 12px;font-size:13px;text-transform:none}.water-entries .icon-button{width:24px;height:24px;border-radius:50%}.builder{display:flex;flex-direction:column;gap:14px}.builder-footer{position:sticky;bottom:calc(-24px - var(--safe-b));margin:0 -20px calc(-24px - var(--safe-b));padding:12px 20px calc(16px + var(--safe-b));background:var(--surface);border-top:1px solid var(--line);display:flex;align-items:center;gap:12px}.builder-footer>div{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}.builder-footer strong{font-weight:800;font-size:26px;line-height:1}.builder-footer strong small{font-family:var(--sans);font-size:13px;color:var(--muted)}.builder-footer span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plate-item{display:flex;flex-direction:column;gap:8px}.plate-item-top{display:flex;align-items:center;gap:10px}.plate-item-top strong{flex:1;font-weight:500;min-width:0}.plate-item-controls{display:flex;align-items:center;gap:8px}.plate-item-controls input{width:92px;min-height:38px;padding:6px 10px;text-align:center;font-variant-numeric:tabular-nums}.plate-item-controls small{color:var(--muted);font-size:13px;flex:1}.swap-food select{min-height:38px;padding:6px 30px 6px 10px;font-size:13px;max-width:150px}.food-row .row-body small.allergen{color:var(--warn)}.food-row .plus{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--fill);color:var(--ink)}.idea-scroll{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * var(--gutter));padding:2px var(--gutter) 6px;scroll-snap-type:x mandatory;scroll-padding:0 var(--gutter)}.idea-scroll::-webkit-scrollbar{display:none}.idea{flex:0 0 78%;scroll-snap-align:start;text-align:left;gap:8px}.idea h3{font-weight:800;font-size:24px;line-height:1.1}.idea strong{font-size:14px;font-weight:500}.idea p{font-size:13px;color:var(--muted)}.idea .text-link{margin-top:4px}.milestone-row .row-body .progress-bar{margin-top:6px}.photo-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-compare>div{display:flex;flex-direction:column;gap:8px;min-width:0}.photo-compare select{font-size:13px;min-height:40px;padding:8px 30px 8px 10px}.photo-compare img{aspect-ratio:3/4;object-fit:cover;border-radius:var(--r-sm);background:var(--fill)}.photo-thumbnails{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.photo-thumbnails>div{position:relative;display:flex;flex-direction:column;gap:4px;font-size:11.5px;color:var(--muted)}.photo-thumbnails img{aspect-ratio:3/4;object-fit:cover;border-radius:10px;background:var(--fill)}.photo-thumbnails .icon-button{position:absolute;top:4px;right:4px;width:28px;height:28px;border-radius:50%;background:#00000080;color:#fff}.measure-chip{height:auto;padding:8px 14px;border-radius:14px;flex-direction:column;align-items:flex-start;gap:0;line-height:1.25}.measure-chip span{font-size:12px;opacity:.7}.measure-chip strong{font-weight:600;font-variant-numeric:tabular-nums}.measure-chip strong small{font-weight:400;opacity:.7}.review-nav{display:flex;align-items:center;gap:8px;background:var(--surface);border-radius:14px;box-shadow:var(--shadow);padding:4px}[data-theme=dark] .review-nav{border:1px solid var(--line)}.review-nav>div{flex:1;display:flex;flex-direction:column;align-items:center;line-height:1.3}.review-nav strong{font-weight:500}.review-nav span{font-size:12px;color:var(--muted)}.insight{display:flex;gap:14px}.insight+.insight{padding-top:14px;border-top:1px solid var(--line)}.insight h3{font-size:15px;margin-bottom:3px}.insight p{font-size:14px;color:var(--ink-2)}.consistency{display:flex;align-items:center;gap:16px}.consistency .ring b{font-size:16px;font-variant-numeric:tabular-nums}.consistency p{font-size:14px;color:var(--ink-2)}.composer{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow)}[data-theme=dark] .composer{border:1px solid var(--line)}.composer textarea{background:transparent;border:0;padding:4px;min-height:72px;resize:none}.composer textarea:focus{background:transparent}.composer>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.composer>div>span{font-size:12px;color:var(--muted);padding-left:4px}.composer .button{height:40px;padding:0 14px;border-radius:12px}.conversation-list{display:flex;flex-direction:column;gap:18px}.conversation{display:flex;flex-direction:column;gap:8px}.conversation-question{align-self:flex-end;max-width:85%;padding:10px 14px;border-radius:20px 20px 6px;background:var(--accent);color:var(--accent-ink)}.conversation-question h3{font-size:15px;font-weight:400;letter-spacing:0;line-height:1.4}.conversation-answer{align-self:flex-start;max-width:92%;padding:12px 14px;border-radius:18px 18px 18px 4px;background:var(--surface);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:8px}[data-theme=dark] .conversation-answer{border:1px solid var(--line)}.conversation-answer p{white-space:pre-line;font-size:15px;line-height:1.5}.conversation-answer .tag{align-self:flex-start}.conversation-date{font-size:11.5px;color:var(--muted);padding-left:4px}.profile-row .row-body strong{font-size:17px;font-weight:600}.row input.inline-input{width:110px;min-height:36px;padding:6px 10px;text-align:right;font-variant-numeric:tabular-nums}.row select.inline-input{width:auto;min-height:36px;padding:6px 32px 6px 10px;font-size:15px}.auth{min-height:100dvh;max-width:440px;margin:0 auto;padding:calc(28px + var(--safe-t)) 24px calc(28px + var(--safe-b));display:flex;flex-direction:column;gap:28px;background:var(--bg)}@media(min-width:600px){.auth{padding-top:12vh}}.auth-head{display:flex;flex-direction:column;gap:10px;margin-top:4vh}.auth-head h2{font-weight:800;font-size:44px;line-height:1;letter-spacing:-.02em}.auth-head p{color:var(--muted);font-size:15px}.auth-toggle{text-align:center;font-size:14px;color:var(--muted)}.auth-toggle button{color:var(--ink);font-weight:600}.auth-privacy{margin-top:auto;display:flex;gap:8px;justify-content:center;align-items:center;font-size:12.5px;color:var(--muted);text-align:center}.onboarding{min-height:100dvh;max-width:var(--app-w);margin:0 auto;display:flex;flex-direction:column;background:var(--bg)}.onboarding-top{position:sticky;top:0;z-index:10;padding:calc(10px + var(--safe-t)) var(--gutter) 12px;background:var(--chrome);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);display:flex;flex-direction:column;gap:12px}.onboarding-top>div{display:flex;align-items:center;justify-content:space-between;min-height:40px}.onboarding-top>div>span{font-size:13px;color:var(--muted);font-weight:500}.step-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.step-progress span{height:3px;border-radius:99px;background:var(--fill-2);transition:background .3s}.step-progress span.filled{background:var(--accent)}.onboarding-form{flex:1;padding:12px var(--gutter) calc(24px + var(--safe-b));display:flex;flex-direction:column;gap:20px}.onboarding-form>h2{font-weight:800;font-size:40px;line-height:1.02;letter-spacing:-.02em}.onboarding-form>p{margin-top:-12px}.onboarding-form .form-stack{flex:1}.onboarding-actions{position:sticky;bottom:0;margin:auto calc(-1 * var(--gutter)) calc(-24px - var(--safe-b));padding:12px var(--gutter) calc(16px + var(--safe-b));background:linear-gradient(to top,var(--bg) 70%,transparent);display:flex;gap:10px}.onboarding-actions .button{flex:1}.onboarding-actions .button.secondary{flex:0 0 auto}.equipment-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.equipment-option{position:relative;height:38px;padding:0 14px;border-radius:99px;background:var(--fill);display:inline-flex;align-items:center;font-size:14px;font-weight:500;color:var(--ink-2);text-transform:capitalize;cursor:pointer;transition:background .15s,color .15s}.equipment-option input{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;opacity:0;cursor:pointer}.equipment-option.selected{background:var(--accent);color:var(--accent-ink)}.equipment-option:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}.plan-preview{display:flex;flex-direction:column;gap:2px}.plan-preview .row-body small{font-size:13px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.chart-stop{stop-color:var(--ink)}.trend-chart .recharts-area-curve{stroke:var(--ink)}.trend-chart .recharts-area-dot,.trend-chart .recharts-active-dot circle{fill:var(--ink);stroke:var(--surface)}.sim{position:relative;margin:0;display:flex;flex-direction:column;gap:10px}.sim-canvas{display:block;width:100%;aspect-ratio:1 / .92;max-height:52dvh;border-radius:20px;background:radial-gradient(120% 90% at 50% 22%,#fff,#f1efea 55%,#e4e1da);touch-action:none;cursor:grab}.sim-canvas:active{cursor:grabbing}[data-theme=dark] .sim-canvas{background:radial-gradient(120% 90% at 50% 22%,#262624,#1a1a19 55%,#111110)}.sim-loading{animation:sim-pulse 1.4s ease-in-out infinite}@keyframes sim-pulse{50%{opacity:.6}}.sim-top{position:absolute;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.sim-muscle{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:99px;background:color-mix(in srgb,var(--surface) 82%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-size:12px;font-weight:500;text-transform:capitalize}.sim-muscle i{width:7px;height:7px;border-radius:50%;background:#e0623d}.sim-hint{font-size:12px;color:var(--muted);animation:fade .6s .4s both}.sim-bar{position:absolute;left:12px;right:12px;bottom:58px;display:flex;align-items:center;gap:10px;padding:6px;border-radius:16px;background:color-mix(in srgb,var(--surface) 84%,transparent);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);box-shadow:0 4px 18px #0000000f}.sim-play{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);flex-shrink:0}.sim-play:active{transform:scale(.94)}.sim-cue{flex:1;min-width:0;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sim-speed{height:30px;padding:0 10px;border-radius:10px;font-size:12.5px;font-weight:600;color:var(--ink-2);background:var(--fill);font-variant-numeric:tabular-nums}.sim-speed.active{background:var(--ink);color:var(--on-ink)}.sim-views{height:36px}.sim-fallback{padding:24px 16px;border-radius:20px;background:var(--fill);color:var(--muted);font-size:14px;text-align:center}.watch-chip{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 11px 0 9px;border-radius:99px;background:var(--fill);font-size:13px;font-weight:600;flex-shrink:0}.watch-chip:active{background:var(--fill-2)}.home-main{padding:0 0 calc(var(--tab-h) + var(--safe-b) + 36px)}.home{position:relative}.home-world{position:fixed;top:0;left:50%;transform:translate(-50%);width:min(100%,var(--app-w));height:64dvh;z-index:0}.world{position:absolute;inset:0;overflow:hidden;background:linear-gradient(180deg,#8cc4f5,#e9f4ff 78%);transition:background 1.2s}.world-loading{animation:sim-pulse 1.6s ease-in-out infinite}.world-static{display:grid;place-items:center;font-size:64px}.world-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.world-layer{position:absolute;inset:0;pointer-events:none}.world-marker{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:auto;transition:opacity .2s;will-change:transform}.world-pin{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:22px;background:#fff;box-shadow:0 3px 10px #00000029;transition:transform .25s var(--spring)}.world-marker:active .world-pin{transform:scale(.9)}.world-label{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:99px;background:#fffffff0;color:#0b0b0f;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 2px 8px #0000001f}.world-label small{font-size:11px;font-weight:700;color:#1fb36b}.world-marker.active .world-pin{background:#1fb36b;box-shadow:0 0 0 4px #ffffffe6,0 6px 16px #1fb36b73;transform:scale(1.08)}.world-bubble{position:absolute;left:0;top:0;max-width:200px;padding:7px 12px;border-radius:16px;background:#0b0b0f;color:#fff;font-size:12.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 6px 18px #00000040;will-change:transform}.world-bubble:after{content:"";position:absolute;left:50%;bottom:-5px;width:10px;height:10px;background:#0b0b0f;transform:translate(-50%) rotate(45deg);border-radius:2px}.hud{position:absolute;top:0;left:0;right:0;padding:calc(10px + var(--safe-t)) 12px 0;display:flex;flex-direction:column;gap:8px;pointer-events:none;z-index:2}.hud>*{pointer-events:auto}.hud-top{display:flex;align-items:center;gap:8px}.hud-profile{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:6px 16px 6px 6px;border-radius:99px;background:#fffffff0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 4px 16px #0000001a;color:#0b0b0f}.hud-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#2fcf82,#149a59);color:#fff;font-weight:800;font-size:17px;flex-shrink:0}.hud-profile>span:last-child{display:flex;flex-direction:column;min-width:0;line-height:1.15}.hud-profile small{font-size:12px;color:#6e6e73;font-weight:600}.hud-profile h1{font-size:18px;font-weight:800;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud-round{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#fffffff0;color:#0b0b0f;box-shadow:0 4px 16px #0000001a;flex-shrink:0}.hud-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}.hud-chips::-webkit-scrollbar{display:none}.hud-chip{flex-shrink:0;height:32px;padding:0 12px;border-radius:99px;display:inline-flex;align-items:center;gap:5px;background:#ffffffeb;color:#0b0b0f;font-size:13px;font-weight:700;box-shadow:0 2px 10px #00000014;white-space:nowrap}.home-sheet{position:relative;z-index:1;margin-top:56dvh;min-height:60dvh;padding:8px var(--gutter) 0;border-radius:30px 30px 0 0;background:var(--bg);box-shadow:0 -8px 30px #0000001f;display:flex;flex-direction:column;gap:24px}.sheet-grabber{width:38px;height:5px;border-radius:99px;background:var(--line-2);margin:0 auto -12px}.upnext{display:flex;flex-direction:column;gap:16px;padding:18px;border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow)}.upnext.is-now{background:linear-gradient(160deg,#24c277,#149a59);color:#fff;box-shadow:0 12px 30px #149a594d}.upnext-top{display:flex;gap:14px;align-items:flex-start}.upnext-emoji{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:32px;background:var(--fill);flex-shrink:0}.upnext.is-now .upnext-emoji{background:#ffffff38}.upnext-when{font-size:13px;font-weight:700;color:var(--accent)}.upnext.is-now .upnext-when{color:#fff;opacity:.9}.upnext h2{font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.15;margin-top:1px}.upnext p{font-size:14.5px;color:var(--muted);margin-top:3px}.upnext.is-now p{color:#ffffffd9}.upnext-actions{display:flex;gap:10px}.upnext.is-now .button.primary{background:#fff;color:#0e7a45;box-shadow:none}.upnext-map{width:52px;height:52px;border-radius:50%;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:20px;line-height:1;background:var(--fill)}.upnext-map span{font-size:10px;font-weight:800;margin-top:2px}.upnext.is-now .upnext-map{background:#ffffff38;color:#fff}.rings-card{flex-direction:row;align-items:center;gap:20px}.rings-stack{position:relative;width:108px;height:108px;flex-shrink:0}.rings-stack .ring{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ring.tone-orange .track{stroke:color-mix(in srgb,var(--orange) 18%,transparent)}.ring.tone-orange .value{stroke:var(--orange)}.ring.tone-green .track{stroke:color-mix(in srgb,var(--accent) 18%,transparent)}.ring.tone-green .value{stroke:var(--accent)}.ring.tone-blue .track{stroke:color-mix(in srgb,var(--blue) 18%,transparent)}.ring.tone-blue .value{stroke:var(--blue)}.ring.tone-pink .track{stroke:color-mix(in srgb,var(--pink) 18%,transparent)}.ring.tone-pink .value{stroke:var(--pink)}.ring.tone-purple .track{stroke:color-mix(in srgb,var(--purple) 18%,transparent)}.ring.tone-purple .value{stroke:var(--purple)}.rings-legend{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}.legend-row{display:flex;align-items:center;gap:10px;text-align:left}.legend-row i{width:10px;height:10px;border-radius:50%;flex-shrink:0}.legend-row i.orange{background:var(--orange)}.legend-row i.green{background:var(--accent)}.legend-row i.blue{background:var(--blue)}.legend-row span{display:flex;flex-direction:column;line-height:1.2}.legend-row small{font-size:12px;color:var(--muted);font-weight:600}.legend-row strong{font-size:18px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.legend-row em{font-style:normal;font-size:13px;font-weight:600;color:var(--muted)}.timeline{list-style:none;background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:6px 0}[data-theme=dark] .timeline{border:1px solid var(--line)}.tl-item button{position:relative;width:100%;display:flex;align-items:center;gap:10px;padding:10px 14px 10px 12px;text-align:left}.tl-item button:active{background:var(--fill)}.tl-time{width:58px;flex-shrink:0;font-size:12.5px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}.tl-dot{position:relative;width:16px;height:16px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;border:2px solid var(--line-2);background:var(--surface);color:#fff;z-index:1}.tl-item:not(:last-child) .tl-dot:after{content:"";position:absolute;top:16px;left:50%;width:2px;height:46px;transform:translate(-50%);background:var(--line);z-index:-1}.tl-item.done .tl-dot{background:var(--accent);border-color:var(--accent)}.tl-item.now .tl-dot{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent)}.tl-emoji{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:20px;background:var(--fill);flex-shrink:0}.tl-body{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}.tl-body strong{font-size:15px;font-weight:700}.tl-body small{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-item.done .tl-body strong{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--line-2)}.tl-item.missed .tl-emoji{opacity:.55}.tl-item.now{background:var(--accent-soft)}.tl-now{height:22px;padding:0 8px;border-radius:99px;background:var(--accent);color:var(--accent-ink);font-size:11px;font-weight:800;display:inline-flex;align-items:center}.quick span{font-size:26px}.row-icon.emoji{font-size:18px;background:var(--fill)}.trend-delta.good{color:var(--accent)}.world-canvas:active{cursor:grabbing}.world.night .world-label{background:#1c1c1ee0;color:#fff}[data-theme=dark] .upnext:not(.is-now){border:1px solid var(--line)}.tl-item.now .tl-emoji{background:var(--accent-soft)}.trainer{align-items:stretch;gap:18px}.orb-wrap{position:relative;height:240px;display:grid;place-items:center}.orb,.orb-halo{position:absolute;width:200px;height:200px;border-radius:50%;transition:transform .12s linear}.orb-halo{background:radial-gradient(circle,color-mix(in srgb,var(--pink) 22%,transparent) 40%,transparent 70%)}.orb{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;background:radial-gradient(circle at 32% 28%,#ff8fa8,#ff2d55 62%,#d91a45);box-shadow:inset 0 -10px 30px #0000001f,0 18px 40px color-mix(in srgb,var(--pink) 35%,transparent)}.orb-wrap.breath .orb{background:radial-gradient(circle at 32% 28%,#8fd6ff,#0a84ff 62%,#0064d6);box-shadow:inset 0 -10px 30px #0000001f,0 18px 40px color-mix(in srgb,var(--blue) 35%,transparent)}.orb-wrap.breath .orb-halo{background:radial-gradient(circle,color-mix(in srgb,var(--blue) 22%,transparent) 40%,transparent 70%)}.orb strong{font-size:56px;font-weight:800;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.orb small{font-size:15px;font-weight:700;opacity:.92;margin-top:4px}.orb-emoji{font-size:56px}.orb-done{font-size:64px;font-weight:800}.trainer-meta{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px}.trainer-meta strong{font-size:19px;font-weight:800;letter-spacing:-.02em}.trainer-meta span{font-size:14px;color:var(--muted)}.trainer-actions{display:flex;gap:10px;align-items:center}.trainer-actions .icon-button{width:52px;height:52px}.streak{flex-direction:row;justify-content:space-between;padding:14px 16px}.streak-day{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--muted)}.streak-day i{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;background:var(--fill);color:#fff}.streak-day.on i{background:var(--pink)}.streak-day.today span{color:var(--ink)}.habit-check{width:26px;height:26px;border-radius:50%;border:2px solid var(--line-2);display:grid;place-items:center;font-size:13px;font-weight:800;color:var(--accent-ink);flex-shrink:0}.habit.done .habit-check{background:var(--accent);border-color:var(--accent)}.learn{display:flex;flex-direction:column;gap:8px}
