.gym{--bg: #121417;--text: #eceae6;--muted: #9ca0a7;--card: repeating-linear-gradient(90deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 3px), linear-gradient(180deg, #262a2f, #1c1f23);--glass-strong: rgba(30, 33, 37, .96);--line: rgba(255, 255, 255, .08);--edge: inset 0 1px 0 rgba(255, 255, 255, .06);--field: #101215;--field-line: rgba(255, 255, 255, .13);--accent: #f5a524;--accent-soft: rgba(245, 165, 36, .14);--grad: linear-gradient(180deg, #fbbf3c, #e8890c);--act-gym: #f2a52a;--act-badminton: #3d9be9;--act-hiking: #4cb36e;--grad-ink: #1d1405;--grad-shadow: rgba(232, 137, 12, .5);--done: rgba(245, 165, 36, .09);--danger: #ff8a80;--plate-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg fill='%23000' fill-opacity='.35' transform='translate(1 1)'%3E%3Crect x='4' y='7' width='11' height='4' rx='2' transform='rotate(45 9.5 9)'/%3E%3Crect x='21' y='7' width='11' height='4' rx='2' transform='rotate(-45 26.5 9)'/%3E%3Crect x='4' y='25' width='11' height='4' rx='2' transform='rotate(-45 9.5 27)'/%3E%3Crect x='21' y='25' width='11' height='4' rx='2' transform='rotate(45 26.5 27)'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.05'%3E%3Crect x='4' y='7' width='11' height='4' rx='2' transform='rotate(45 9.5 9)'/%3E%3Crect x='21' y='7' width='11' height='4' rx='2' transform='rotate(-45 26.5 9)'/%3E%3Crect x='4' y='25' width='11' height='4' rx='2' transform='rotate(-45 9.5 27)'/%3E%3Crect x='21' y='25' width='11' height='4' rx='2' transform='rotate(45 26.5 27)'/%3E%3C/g%3E%3C/svg%3E");--plate: var(--plate-dark);--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");--light: radial-gradient(ellipse 90% 55% at 50% -12%, rgba(255, 196, 110, .13), transparent 70%);--vignette: radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(0, 0, 0, .55));--glow-opacity: .16;--radius: 16px;--heading: "Oswald", "Arial Narrow", Impact, system-ui, sans-serif;color-scheme:dark}@media(prefers-color-scheme:light){.gym{--bg: #d5d8dc;--text: #1b1e22;--act-gym: #ec9a1a;--act-badminton: #2f86d6;--act-hiking: #3d9e5d;--muted: #586069;--card: repeating-linear-gradient(90deg, rgba(0, 0, 0, .014) 0 1px, transparent 1px 3px), linear-gradient(180deg, #f6f7f8, #e7e9ec);--glass-strong: rgba(244, 245, 247, .97);--line: rgba(0, 0, 0, .1);--edge: inset 0 1px 0 rgba(255, 255, 255, .9);--field: #ffffff;--field-line: rgba(0, 0, 0, .16);--accent: #b0600a;--accent-soft: rgba(176, 96, 10, .12);--grad-shadow: rgba(200, 120, 10, .4);--done: rgba(232, 137, 12, .1);--danger: #b42318;--plate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg fill='%23000' fill-opacity='.08' transform='translate(1 1)'%3E%3Crect x='4' y='7' width='11' height='4' rx='2' transform='rotate(45 9.5 9)'/%3E%3Crect x='21' y='7' width='11' height='4' rx='2' transform='rotate(-45 26.5 9)'/%3E%3Crect x='4' y='25' width='11' height='4' rx='2' transform='rotate(-45 9.5 27)'/%3E%3Crect x='21' y='25' width='11' height='4' rx='2' transform='rotate(45 26.5 27)'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.7'%3E%3Crect x='4' y='7' width='11' height='4' rx='2' transform='rotate(45 9.5 9)'/%3E%3Crect x='21' y='7' width='11' height='4' rx='2' transform='rotate(-45 26.5 9)'/%3E%3Crect x='4' y='25' width='11' height='4' rx='2' transform='rotate(-45 9.5 27)'/%3E%3Crect x='21' y='25' width='11' height='4' rx='2' transform='rotate(45 26.5 27)'/%3E%3C/g%3E%3C/svg%3E");--light: radial-gradient(ellipse 90% 55% at 50% -12%, rgba(255, 255, 255, .7), transparent 70%);--vignette: radial-gradient(ellipse at 50% 40%, transparent 60%, rgba(0, 0, 0, .12));--glow-opacity: .1;color-scheme:light}}.gym *{box-sizing:border-box}.gym{margin:0;background:var(--bg);color:var(--text);font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-tap-highlight-color:transparent}.gym .g-page.no-scroll{overflow:hidden}.gym h1,.gym h2,.gym h3{margin:0;line-height:1.15;font-family:var(--heading);font-weight:600}.gym h1{font-size:1.75rem;text-transform:uppercase;letter-spacing:.02em}.gym h3{font-size:1.12rem;letter-spacing:.01em}.gym p{margin:0}.gym button,.gym input,.gym select,.gym textarea{font:inherit;color:inherit}.gym button{cursor:pointer}.gym button:disabled{cursor:default;opacity:.45}.gym input,.gym select,.gym textarea{width:100%;min-width:0;padding:10px 12px;border-radius:10px;border:1px solid var(--field-line);background:var(--field);box-shadow:inset 0 2px 4px #00000040;outline:none}.gym input:focus,.gym select:focus,.gym textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.gym textarea{resize:vertical}.gym .muted{color:var(--muted)}.gym .small{font-size:.85rem}.gym .center{text-align:center}.gym .blobs{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;overflow:hidden;pointer-events:none;background:var(--vignette),var(--light),var(--grain),var(--plate),var(--bg)}.gym .blobs i{position:absolute;width:46vmax;height:46vmax;border-radius:50%;filter:blur(80px);opacity:var(--glow-opacity);animation:gym-drift 28s ease-in-out infinite alternate}.gym .blobs i:nth-child(1){background:#f59e0b;top:-24vmax;left:-16vmax}.gym .blobs i:nth-child(2){background:#64748b;bottom:-24vmax;right:-16vmax;animation-delay:-9s}.gym .blobs i:nth-child(3){background:#b45309;top:40%;left:60%;width:26vmax;height:26vmax;opacity:calc(var(--glow-opacity) * .6);animation-delay:-18s}@keyframes gym-drift{to{transform:translate(6vmax,4vmax) scale(1.08)}}@media(prefers-reduced-motion:reduce){.gym .blobs i,.gym .rise,.gym .live-dot{animation:none!important}}.gym .g-page{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;max-width:640px;margin:0 auto;width:100%;padding:12px 16px 20px;display:flex;flex-direction:column;gap:12px}.gym .page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}.gym .section-title,.gym .card-title{display:flex;align-items:center;gap:8px;font-family:var(--heading);font-size:1rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.gym .section-title{margin-top:8px;color:var(--muted)}.gym .card-title .icon{color:var(--accent)}.gym .g-row-between{display:flex;align-items:center;justify-content:space-between;gap:8px}.gym .tabs{flex-shrink:0;width:100%;display:grid;grid-template-columns:repeat(4,1fr);padding:6px 6px max(6px,env(safe-area-inset-bottom));background:var(--glass-strong);box-shadow:0 -1px 0 var(--line),0 -8px 24px -8px #0006;border-top:1px solid var(--line)}.gym .tabs button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 2px;border:0;border-radius:12px;background:none;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;transition:color .15s,background .15s}.gym .tabs button.on{color:var(--text);background:var(--accent-soft)}.gym .tabs button.on .icon{color:var(--accent)}.gym .tab-icon{position:relative;display:inline-flex}.gym .live-dot{position:absolute;top:-2px;right:-6px;width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--glass-strong);animation:gym-pulse 2s ease-in-out infinite}@keyframes gym-pulse{50%{transform:scale(1.3);opacity:.7}}.gym .glass{background:var(--card);border:1px solid var(--line);box-shadow:var(--edge),0 10px 24px -18px #000c}.gym .g-card{border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:10px;text-align:left}.gym button.g-card{color:inherit;font:inherit;transition:transform .15s,border-color .15s}.gym button.g-card:hover:not(:disabled){transform:translateY(-2px);border-color:var(--accent-soft)}.gym .g-empty{align-items:flex-start;color:var(--muted)}.gym .note{white-space:pre-wrap}.gym .rise{animation:gym-rise .4s ease-out both}@keyframes gym-rise{0%{opacity:0;transform:translateY(10px)}}.gym .hero{position:relative;display:flex;flex-direction:column;gap:16px;padding:24px 22px;border-radius:18px;overflow:hidden;color:#f3f1ed;border:1px solid rgba(255,255,255,.1);background:var(--plate-dark),linear-gradient(135deg,#3b4047,#23272c 55%,#30353b);box-shadow:inset 0 1px #ffffff1f,inset 0 -2px #00000059,0 20px 40px -24px #000000e6}.gym .hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.07) 45%,transparent 60%);pointer-events:none}.gym .hero>*{position:relative;z-index:1}.gym .hero h1{font-size:2rem}.gym .hero .eyebrow{color:#fbbf3c}.gym .hero-sub{margin-top:6px;color:#c3c6cb}.gym .hero-actions{display:flex;flex-wrap:wrap;gap:10px;max-width:460px}.gym .hero-actions .g-btn{flex:1 1 auto}.gym .small-hero{padding:18px 20px}.gym .rivet{position:absolute;width:9px;height:9px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#d9dde2,#6b727b 55%,#2a2e33);box-shadow:0 1px 1px #0009;z-index:1}.gym .rivet.tl{top:10px;left:10px}.gym .rivet.tr{top:10px;right:10px}.gym .rivet.bl{bottom:10px;left:10px}.gym .rivet.br{bottom:10px;right:10px}.gym .eyebrow{margin:0 0 4px;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.gym .stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gym .stat-tile{display:flex;flex-direction:column;gap:0;padding:12px 14px;border-radius:14px;min-width:0}.gym .stat-label{font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.gym .stat-tile strong{font-family:var(--heading);font-size:2rem;font-weight:600;line-height:1.1;color:var(--accent);overflow-wrap:anywhere}@media(min-width:560px){.gym .stats{grid-template-columns:repeat(4,1fr)}}.gym .days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.gym .day{display:flex;flex-direction:column;align-items:center;gap:1px}.gym .day-name{text-align:center}.gym .day-name,.gym .day-num{font-size:.72rem;color:var(--muted);font-weight:600}.gym .day-box{display:grid;place-items:center;width:100%;max-width:48px;aspect-ratio:1;border-radius:50%;border:1.5px solid var(--field-line);background:var(--field);box-shadow:inset 0 2px 4px #00000040}.gym .day.on .day-box{border-color:transparent;background:var(--grad);color:var(--grad-ink);box-shadow:0 6px 14px -8px var(--grad-shadow)}.gym .day.today .day-num{color:var(--accent);font-weight:800}.gym .day.today .day-box{outline:2px solid var(--accent-soft);outline-offset:2px}.gym .queue{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.gym .queue li{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.gym .queue li:last-child{border-bottom:0}.gym .queue-no{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;font-family:var(--heading);font-weight:600;background:var(--field);border:1px solid var(--field-line);color:var(--muted)}.gym .queue li.first .queue-no{background:var(--grad);border-color:transparent;color:var(--grad-ink)}.gym .queue-name{flex:1;min-width:0;font-weight:700}.gym .routine-card,.gym .history-card{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.gym .routine-card>div,.gym .history-card>div{min-width:0}.gym .start-pill{flex:none;display:inline-flex;align-items:center;gap:2px;padding:6px 10px 6px 14px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:700;font-size:.9rem}.gym .plain-list{list-style:none;margin:0;padding:0}.gym .plain-list li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}.gym .plain-list li:last-child{border-bottom:0}.gym .plain-list li>span:last-child{text-align:right}.gym .g-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 16px;border-radius:12px;border:1px solid transparent;font-weight:800;letter-spacing:.02em;white-space:nowrap;transition:transform .15s,box-shadow .15s,filter .15s,background .15s}.gym .g-btn.small{min-height:36px;padding:6px 12px;font-size:.88rem}.gym .btn-grad{background:var(--grad);color:var(--grad-ink);box-shadow:inset 0 1px #ffffff59,0 10px 22px -12px var(--grad-shadow)}.gym .btn-grad:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.06)}.gym .btn-grad:active:not(:disabled){transform:translateY(1px)}.gym .btn-steel{background:linear-gradient(180deg,#4a5058,#33383e);border-color:#ffffff1f;color:#f3f1ed;box-shadow:inset 0 1px #ffffff26}.gym .btn-steel:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.1)}.gym .btn-outline{background:var(--accent-soft);border-color:var(--accent-soft);color:var(--accent)}.gym .btn-outline:hover:not(:disabled){border-color:var(--accent)}.gym .g-btn-ghost{background:none;color:var(--muted);padding-left:8px;padding-right:8px}.gym .g-btn-ghost:hover:not(:disabled){color:var(--text)}.gym .g-btn-danger{background:none;color:var(--danger);border-color:var(--line)}.gym .wide{width:100%}.gym .grow{flex:1}.gym .icon-btn{display:inline-grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:none;color:var(--muted)}.gym .icon-btn:hover:not(:disabled){background:var(--accent-soft);color:var(--text)}.gym .icon{flex:none}.gym .finish-bar{display:flex;gap:10px;margin-top:4px}.gym .finish-bar.in-sheet{margin-top:16px}.gym .ex-card{gap:8px}.gym .ex-head{display:flex;align-items:flex-start;justify-content:space-between;gap:4px}.gym .ex-title{min-width:0;padding-top:6px}.gym .ex-tools{display:flex;flex:none;margin-right:-8px}.gym .ex-tools .icon-btn{width:32px}.gym .sets{display:flex;flex-direction:column;gap:6px}.gym .set-row{display:grid;grid-template-columns:30px 1fr 1fr 48px;align-items:center;gap:8px;padding:3px 4px;border-radius:12px;transition:background .2s}.gym .sets.past .set-row{grid-template-columns:30px 1fr 1fr}.gym .set-labels{padding-top:0;padding-bottom:0;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.7rem}.gym .set-labels span{text-align:center}.gym .set-row.done{background:var(--done)}.gym .set-no{display:grid;place-items:center;font-family:var(--heading);font-weight:600;color:var(--muted)}.gym .set-no.best{color:var(--accent)}.gym .num{text-align:center;font-weight:700;font-size:1.1rem;padding:9px 6px}.gym .num.bad{border-color:var(--danger)}.gym .check{display:grid;place-items:center;height:44px;border-radius:10px;border:1px solid var(--field-line);background:var(--field);color:var(--muted);transition:background .15s,transform .15s,color .15s}.gym .check.on{background:var(--grad);border-color:transparent;color:var(--grad-ink);transform:scale(1.04)}.gym .best-note{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;background:var(--accent-soft);color:var(--accent);font-weight:700}.gym .set-actions{display:flex;gap:6px}.gym .g-field{display:flex;flex-direction:column;gap:4px}.gym .routine-items{display:flex;flex-direction:column}.gym .ri{display:flex;flex-direction:column;gap:6px;padding:10px 0;border-bottom:1px solid var(--line)}.gym .ri-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.gym .ri-name{min-width:0;font-weight:700}.gym .ri-tools{display:flex;flex:none;margin-right:-8px}.gym .ri-tools .icon-btn{width:32px}.gym .ri-target{display:flex;align-items:center;gap:8px}.gym .ri-target .num{width:60px;font-size:1rem;padding:8px 4px}.gym .detail-title{font-size:1.4rem}.gym .set-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}.gym .set-list li{display:grid;grid-template-columns:24px 1fr;font-weight:600}.gym .search{padding:12px 14px}.gym .list-card{padding:8px 16px 12px;gap:0}.gym .group{display:flex;flex-direction:column}.gym .group-title{margin:14px 0 4px;font-family:var(--heading);font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}.gym .pick-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:8px 4px;border:0;border-bottom:1px solid var(--line);background:none;text-align:left}.gym .pick-row:hover,.gym .pick-row .icon{color:var(--accent)}.gym .create-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px;margin-top:10px}.gym .create-row .g-btn{overflow:hidden;text-overflow:ellipsis}.gym .ex-form{display:flex;flex-direction:column;gap:14px}.gym .stat-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gym .stat{display:flex;flex-direction:column;gap:2px;padding:12px;border-radius:12px;background:var(--accent-soft)}.gym .stat strong{font-family:var(--heading);font-weight:600;font-size:1.3rem}.gym .sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:flex-end;justify-content:center;background:#0000008c;animation:gym-fade .2s ease-out}.gym .sheet{width:100%;max-width:560px;max-height:88vh;display:flex;flex-direction:column;overflow:hidden;border-radius:20px 20px 0 0;animation:gym-slide-up .25s ease-out}.gym .sheet-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 12px 8px 20px}.gym .sheet-head h2{font-size:1.3rem;text-transform:uppercase;letter-spacing:.03em;overflow-wrap:anywhere}.gym .sheet-body{flex:1;min-height:0;overflow-y:auto;padding:4px 20px calc(20px + env(safe-area-inset-bottom))}.gym .sheet-backdrop.sheet-top{align-items:flex-start}.gym .sheet-backdrop.sheet-top .sheet{border-radius:0 0 20px 20px;max-height:100%}@media(min-width:640px){.gym .sheet-backdrop,.gym .sheet-backdrop.sheet-top{align-items:center}.gym .sheet,.gym .sheet-backdrop.sheet-top .sheet{border-radius:20px;max-height:88dvh}}@keyframes gym-fade{0%{opacity:0}}@keyframes gym-slide-up{0%{transform:translateY(30px);opacity:0}}.gym .toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translate(-50%);width:max-content;max-width:calc(100% - 32px);padding:12px 16px;border-radius:12px;background:var(--glass-strong);border:1px solid var(--line);border-left:3px solid var(--accent);box-shadow:0 16px 40px -16px #000000b3;z-index:30;animation:gym-rise .25s ease-out}@media(max-width:360px){.gym .g-card{padding:14px 12px}.gym .set-row{grid-template-columns:24px 1fr 1fr 44px;gap:6px}.gym .sets.past .set-row{grid-template-columns:24px 1fr 1fr}.gym .hero{padding:22px 18px}.gym .hero h1,.gym .stat-tile strong{font-size:1.7rem}.gym .tabs button{letter-spacing:0;font-size:.68rem}}.gym .dash,.gym .card-grid,.gym .narrow{display:flex;flex-direction:column;gap:12px}@media(min-width:1024px){.gym .narrow{width:100%;max-width:720px}.gym .dash{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:16px}.gym .dash>.section-title,.gym .dash>.card-grid,.gym .dash>.g-empty{grid-column:1 / -1}.gym .dash .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gym .dash .hero{justify-content:space-between}.gym .card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px;align-items:start}.gym .dash>.card-grid{align-items:stretch}.gym .list-card{display:block;column-width:280px;column-gap:40px}.gym .group{break-inside:avoid;padding-bottom:18px}.gym .group-title{margin-top:0}}.gym .finish-bar.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.gym .finish-bar.three .g-btn{padding-inline:8px}.gym .g-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.gym .loading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}.gym .g-seg{display:inline-grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:12px;border:1px solid var(--field-line);background:var(--field)}.gym .g-seg button{min-height:34px;padding:4px 12px;border:0;border-radius:9px;background:none;color:var(--muted);font-weight:700;font-size:.85rem;white-space:nowrap}.gym .g-seg button.on{background:var(--accent-soft);color:var(--accent)}.gym .bar-field{display:flex;align-items:center;gap:8px}.gym .bar-field .num{width:84px;padding:7px 6px;font-size:1rem}.gym .weight-cell{display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:0}.gym .weight-total{font-size:.72rem;font-weight:700;text-align:center;color:var(--accent)}.gym .set-row:not(.set-labels){align-items:start}.gym .set-row:not(.set-labels) .set-no{height:44px}.gym .set-row .num{min-height:44px}.gym .date-field{position:relative;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--field-line);border-radius:999px;background:var(--field);color:var(--accent);font-size:.85rem;font-weight:700;white-space:nowrap}.gym .overlay-input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0;padding:0;border:0;opacity:0;cursor:pointer}.gym .overlay-input::-webkit-calendar-picker-indicator{display:none}.gym .copy-date{margin:14px 0 16px}.gym .workout-head{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:var(--radius)}.gym .workout-head .eyebrow{margin:0;color:var(--accent)}.gym .save{color:var(--muted);letter-spacing:.08em}.gym .save-offline{color:var(--text)}.gym .wh-body{display:flex;flex-direction:column;gap:12px}.gym .wh-info{display:flex;flex-direction:column;gap:2px;min-width:0}.gym .meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gym .meta .stat-tile{border:1px solid var(--line);background:var(--field)}.gym .meta .stat-tile strong{font-size:1.7rem}@media(max-width:639px){.gym .meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;padding-top:10px;border-top:1px solid var(--line)}.gym .meta .stat-tile{flex-direction:row;align-items:baseline;gap:5px;padding:0;border:0;background:none}.gym .meta .stat-tile+.stat-tile:before{content:"·";margin-right:9px;color:var(--muted)}.gym .meta .stat-label{display:none}.gym .meta .stat-tile strong{font-size:1.3rem}}@media(min-width:640px){.gym .phone-only{display:none}.gym .wh-body{flex-direction:row;align-items:flex-end;justify-content:space-between}.gym .meta{grid-template-columns:repeat(2,150px)}}.gym .chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}.gym .chips .date-field,.gym .rating-chip{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:3px 9px;border:1px solid var(--line);border-radius:999px;background:none;font-size:.78rem;font-weight:700;cursor:pointer}.gym .rating-chip .icon{color:var(--muted)}.gym .chips .date-field:hover,.gym .chips .date-field:focus-within,.gym .rating-chip:hover,.gym .rating-chip:focus-within{border-color:var(--accent)}.gym button.day{padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}.gym button.day:hover .day-box{border-color:var(--accent)}.gym .day-done{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-bottom:14px}.gym .day-done .g-btn{align-self:flex-start}.gym .day-done-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0}.gym .day-done-row .icon{color:var(--accent)}.gym .day-picks{display:flex;flex-direction:column}.gym .week-acts{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.gym .week-label{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:2px}.gym .week-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border:1px solid var(--line);border-radius:999px;font-size:.78rem;color:var(--muted)}.gym .week-chip.on{border-color:var(--c);background:color-mix(in srgb,var(--c) 16%,transparent);color:var(--text)}.gym .week-chip.on strong{color:var(--text)}.gym .act-row{display:flex;align-items:center;gap:8px;min-height:46px;border-bottom:1px solid var(--line);padding:0 4px}.gym .act-row>span:first-child{flex:1}.gym .act-chip.on{border-color:color-mix(in srgb,var(--accent) 45%,transparent);color:var(--accent)}.gym button.day:focus-visible{outline:none}.gym button.day:focus-visible .day-box{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:2px}.gym .day-box{position:relative;overflow:hidden}.gym .day.on .day-box{background:var(--fill) border-box;box-shadow:0 6px 14px -8px #0009}.gym .day-icon{position:absolute;transform:translate(-50%,-50%);font-size:1.05rem;line-height:1}.gym .day-box.n2 .day-icon{font-size:.78rem}.gym .day-box.n3 .day-icon{font-size:.62rem}.gym .act-dot{display:inline-block;width:9px;height:9px;border-radius:50%;vertical-align:middle}.gym .days{gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}.gym .days>.day-name,.gym .days>.day-blank,.gym .days>button.day{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.gym .days>.day-name:nth-child(7n),.gym .days>.day-blank:nth-child(7n),.gym .days>button.day:nth-child(7n){border-right:0}.gym .days>.day-blank:nth-last-child(-n+7),.gym .days>button.day:nth-last-child(-n+7){border-bottom:0}.gym .days .day-name{padding:6px 0;background:color-mix(in srgb,var(--text) 6%,transparent);font-size:.68rem;letter-spacing:.04em;text-transform:uppercase}.gym .days .day{gap:3px;padding:4px 4px 6px}.gym button.day:hover{background:color-mix(in srgb,var(--text) 4%,transparent)}.gym .days .day.today{background:var(--accent-soft)}.gym .day:not(.on) .day-box{border-color:transparent;background:color-mix(in srgb,var(--muted) 16%,transparent);box-shadow:none}.gym .hero-chips{display:flex;flex-wrap:wrap;gap:8px}.gym .hero-chip{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#ffffff0f;color:#e9e6e0;font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}.gym .hero-chip:hover,.gym .hero-chip:focus-within{border-color:#fff6}.gym .hero-chip.on{border-color:var(--c);background:color-mix(in srgb,var(--c) 22%,transparent)}.gym .hero-chip-time{font-weight:600;opacity:.8}.gym .cal-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.gym .cal-nav{display:flex;align-items:center;gap:2px}.gym .cal-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}.gym .g-seg.seg-3{grid-template-columns:repeat(3,1fr)}.gym .day.future{opacity:.35;cursor:default}.gym .year-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(min-width:560px){.gym .year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:1024px){.gym .year-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.gym .mini-month{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:12px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.gym .mini-month:hover:not(:disabled){border-color:var(--accent)}.gym .mini-month:disabled{opacity:.4;cursor:default}.gym .mini-title{display:flex;align-items:center;justify-content:space-between;font-family:var(--heading);font-size:.85rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.gym .mini-count{font-family:inherit;font-size:.75rem;color:var(--accent)}.gym .mini-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.gym .mini-days .day-name{font-size:.55rem}.gym .mini-day .day-box{max-width:none;border:0;box-shadow:none}.gym .mini-day.today .day-box{outline:1.5px solid var(--accent);outline-offset:1px}.gym .mini-day.future .day-box{opacity:.4}.gym .cal-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:.75rem;color:var(--muted)}.gym .mini-day.on .day-box{background:var(--fill) border-box}.gym .mini-day:not(.on) .day-box{background:color-mix(in srgb,var(--muted) 16%,transparent)}.gym .gsi-button{width:100%;max-width:300px;color-scheme:light}.gym{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;flex-direction:column;height:100dvh;overflow:hidden}.gym:has(.sheet-backdrop){z-index:150}.gym .blobs{position:absolute}.gym h1{background:none;color:inherit;-webkit-text-fill-color:currentColor;padding-bottom:0}.gym h2{letter-spacing:normal}.gym button{padding:1px 6px}.gym .tabs{padding:max(6px,env(safe-area-inset-top)) 6px 6px;border-top:0;border-bottom:1px solid var(--line);box-shadow:0 1px 0 var(--line),0 8px 24px -8px #0006}.gym .g-page{padding-bottom:calc(var(--bottom-bar-h) + 36px + env(safe-area-inset-bottom))}@media(min-width:1024px){.gym{left:var(--nav-width)}.gym .tabs{display:flex;gap:4px;padding:10px 40px}.gym .tabs button{flex-direction:row;gap:10px;padding:9px 16px;font-size:.85rem}.gym .g-page{max-width:1440px;margin:0;padding:24px 40px 48px;gap:16px}}:root,:root[data-theme=aurora]{--bg: #f3f1ff;--bg-alt: #e6e2fb;--surface: #ffffff;--surface-2: #ebe8fb;--surface-hover: #f6f4ff;--accent: #4f46e5;--accent-light: #6d5ff0;--accent-dim: rgba(99, 82, 235, .1);--accent-border: rgba(99, 82, 235, .28);--accent-grad: linear-gradient(135deg, #7c5cf6 0%, #4f46e5 55%, #2563eb 100%);--title-grad: linear-gradient(120deg, #3b2fb8 0%, #6d28d9 55%, #0e7490 100%);--on-accent: #ffffff;--text: #1b1a3a;--text-muted: #55547f;--text-faint: #8a89b0;--border: rgba(27, 26, 58, .09);--border-strong: rgba(27, 26, 58, .16);--glass: rgba(255, 255, 255, .7);--glass-border: rgba(255, 255, 255, .95);--glass-edge: rgba(79, 70, 229, .1);--input-bg: rgba(255, 255, 255, .85);--input-bg-focus: #ffffff;--ghost-bg: rgba(255, 255, 255, .6);--ghost-bg-hover: #ffffff;--card-tint: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(224, 218, 255, .75));--ok-bg: rgba(22, 163, 74, .12);--ok-fg: #15803d;--ok-solid: #16a34a;--warn-bg: rgba(217, 119, 6, .14);--warn-fg: #92400e;--glow-1: rgba(124, 92, 246, .34);--glow-2: rgba(56, 189, 248, .3);--glow-3: rgba(244, 114, 182, .26);--shadow-rgb: 49, 46, 129;--meta: #f3f1ff;color-scheme:light}:root[data-theme=sunset]{--bg: #fff3ea;--bg-alt: #fde3d0;--surface: #ffffff;--surface-2: #fde9db;--surface-hover: #fff8f2;--accent: #c2410c;--accent-light: #ea580c;--accent-dim: rgba(234, 88, 12, .1);--accent-border: rgba(234, 88, 12, .3);--accent-grad: linear-gradient(135deg, #c2410c 0%, #be185d 100%);--title-grad: linear-gradient(120deg, #b43a0a 0%, #be185d 100%);--text: #2d1a12;--text-muted: #7a5442;--text-faint: #b08d7c;--border: rgba(45, 26, 18, .09);--border-strong: rgba(45, 26, 18, .16);--glass-edge: rgba(234, 88, 12, .12);--card-tint: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(254, 215, 190, .75));--glow-1: rgba(251, 146, 60, .36);--glow-2: rgba(244, 114, 182, .28);--glow-3: rgba(250, 204, 21, .26);--shadow-rgb: 154, 52, 18;--meta: #fff3ea}:root[data-theme=midnight]{--bg: #0b1020;--bg-alt: #151b33;--surface: #151b33;--surface-2: #1d2547;--surface-hover: #1a2140;--accent: #a5b4fc;--accent-light: #c7d2fe;--accent-dim: rgba(129, 140, 248, .16);--accent-border: rgba(129, 140, 248, .38);--accent-grad: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);--title-grad: linear-gradient(120deg, #c7d2fe 0%, #a78bfa 55%, #67e8f9 100%);--on-accent: #ffffff;--text: #e9edff;--text-muted: #a0abd6;--text-faint: #6f7cae;--border: rgba(255, 255, 255, .08);--border-strong: rgba(255, 255, 255, .16);--glass: rgba(24, 31, 62, .62);--glass-border: rgba(255, 255, 255, .09);--glass-edge: rgba(129, 140, 248, .14);--input-bg: rgba(255, 255, 255, .06);--input-bg-focus: rgba(255, 255, 255, .1);--ghost-bg: rgba(255, 255, 255, .06);--ghost-bg-hover: rgba(255, 255, 255, .12);--card-tint: linear-gradient(135deg, rgba(99, 102, 241, .22), rgba(24, 31, 62, .66));--ok-bg: rgba(74, 222, 128, .16);--ok-fg: #86efac;--ok-solid: #4ade80;--warn-bg: rgba(251, 191, 36, .16);--warn-fg: #fcd34d;--glow-1: rgba(99, 102, 241, .4);--glow-2: rgba(34, 211, 238, .22);--glow-3: rgba(192, 132, 252, .28);--shadow-rgb: 0, 0, 0;--meta: #0b1020;color-scheme:dark}:root[data-theme=ivory]{--bg: #f5f3ef;--bg-alt: #ece9e3;--surface: #ffffff;--surface-2: #f0ede8;--surface-hover: #f7f5f1;--accent: #1e293b;--accent-light: #334155;--accent-dim: rgba(30, 41, 59, .07);--accent-border: rgba(30, 41, 59, .18);--accent-grad: linear-gradient(135deg, #3b4a63 0%, #1e293b 100%);--title-grad: linear-gradient(120deg, #1e293b 0%, #1e293b 100%);--text: #1e293b;--text-muted: #64748b;--text-faint: #94a3b8;--border: rgba(0, 0, 0, .08);--border-strong: rgba(0, 0, 0, .14);--glass-edge: rgba(30, 41, 59, .08);--card-tint: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(240, 237, 232, .7));--glow-1: rgba(100, 116, 139, .2);--glow-2: rgba(226, 200, 160, .38);--glow-3: rgba(148, 163, 184, .22);--shadow-rgb: 30, 41, 59;--meta: #f5f3ef}:root{--radius: 20px;--radius-sm: 12px;--nav-width: 220px;--bottom-bar-h: 64px;--font-head: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;--font-body: "Plus Jakarta Sans", system-ui, sans-serif;--shadow: 0 12px 40px rgba(var(--shadow-rgb), .14);--shadow-sm: 0 1px 2px rgba(var(--shadow-rgb), .05), 0 8px 24px rgba(var(--shadow-rgb), .09)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px}body{background:var(--bg);color:var(--text);font-family:var(--font-body);line-height:1.55;min-height:100dvh;overflow-x:hidden;-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;top:-20%;right:-20%;bottom:-20%;left:-20%;z-index:0;pointer-events:none;background:radial-gradient(42% 38% at 18% 14%,var(--glow-1),transparent 70%),radial-gradient(38% 32% at 86% 24%,var(--glow-2),transparent 70%),radial-gradient(46% 40% at 62% 92%,var(--glow-3),transparent 70%);animation:drift 40s ease-in-out infinite alternate}@keyframes drift{0%{transform:translate3d(-2%,-1%,0) scale(1)}to{transform:translate3d(3%,2%,0) scale(1.06)}}@media(prefers-reduced-motion:reduce){body:before{animation:none}.page{animation:none!important}}h1,h2,h3{font-family:var(--font-head);font-weight:700;line-height:1.1;letter-spacing:-.025em}h1{font-size:clamp(2.25rem,8vw,3rem);font-weight:800;letter-spacing:-.035em;background:var(--title-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:var(--text);padding-bottom:.08em}h2{font-size:1.5rem}h3{font-size:1.15rem}a{color:var(--accent);text-decoration:none}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--bg-alt);border-radius:3px}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn{display:inline-flex;align-items:center;gap:6px;padding:9px 18px;border-radius:999px;font-family:var(--font-body);font-size:.875rem;font-weight:600;cursor:pointer;border:none;transition:transform .15s,box-shadow .15s,background .15s,color .15s}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:var(--accent-grad);color:var(--on-accent);box-shadow:0 6px 16px rgba(var(--shadow-rgb),.28),inset 0 1px #ffffff38}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px rgba(var(--shadow-rgb),.34),inset 0 1px #ffffff38}.btn-ghost{background:var(--ghost-bg);color:var(--text-muted);border:1px solid var(--glass-edge);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.btn-ghost:hover:not(:disabled){background:var(--ghost-bg-hover);color:var(--text)}.btn-danger{background:transparent;color:#dc2626;border:1px solid rgba(220,38,38,.25)}.btn-danger:hover{background:#dc26260f}.btn-sm{padding:5px 13px;font-size:.8rem}.btn-icon{background:transparent;color:var(--text-muted);border:none;padding:4px;cursor:pointer;border-radius:999px;display:inline-flex;align-items:center;transition:color .15s,background .15s}.btn-icon:hover{color:var(--text);background:var(--surface-2)}.card{background:var(--glass);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);border:1px solid var(--glass-border);box-shadow:var(--shadow-sm),inset 0 0 0 1px var(--glass-edge);border-radius:var(--radius);padding:18px;position:relative;z-index:1;transition:box-shadow .2s,transform .2s}.card:has(a):hover{transform:translateY(-2px);box-shadow:var(--shadow),inset 0 0 0 1px var(--glass-edge)}.card-gold{background:var(--card-tint)}.input,.select,.textarea{width:100%;background:var(--input-bg);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text);font-family:var(--font-body);font-size:.9rem;padding:10px 14px;transition:border-color .15s,box-shadow .15s,background .15s}.input:focus,.select:focus,.textarea:focus{outline:none;background:var(--input-bg-focus);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-dim)}.input::placeholder,.textarea::placeholder{color:var(--text-faint)}.textarea{resize:vertical;min-height:80px}.select{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding-right:36px;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='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.label{display:block;font-size:.8rem;font-weight:600;color:var(--text-muted);margin-bottom:6px}.field{margin-bottom:14px}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:500}.badge-gold{background:var(--accent-dim);color:var(--accent-light);border:1px solid var(--accent-border)}.badge-muted{background:var(--surface-2);color:var(--text-muted);border:1px solid var(--border)}.badge-green{background:var(--ok-bg);color:var(--ok-fg)}.badge-red{background:#dc26261a;color:#dc2626}.badge-blue{background:#2563eb1a;color:#1d4ed8}.priority-high{color:#dc2626}.priority-medium{color:#d97706}.priority-low{color:var(--text-faint)}.checkbox{width:20px;height:20px;border-radius:8px;border:2px solid var(--border-strong);background:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:border-color .15s,background .15s}.checkbox.checked{background:var(--accent-grad);border-color:var(--accent)}.checkbox.checked svg{display:block}.checkbox svg{display:none;width:12px;height:12px}.row{display:flex;align-items:center;gap:8px}.row-between{display:flex;align-items:center;justify-content:space-between}.col{display:flex;flex-direction:column;gap:8px}.gap-4{gap:4px}.gap-12{gap:12px}.flex-1{flex:1}.text-muted{color:var(--text-muted)}.text-faint{color:var(--text-faint)}.text-sm{font-size:.875rem}.text-xs{font-size:.75rem}.text-accent{color:var(--accent)}.mt-4{margin-top:4px}.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.divider{height:1px;background:var(--border);margin:12px 0}.empty{text-align:center;padding:40px 20px;color:var(--text-muted)}.empty-icon{font-size:2.5rem;margin-bottom:12px;opacity:.4}.empty p{font-size:.9rem}@keyframes spin{to{transform:rotate(360deg)}}.spinner{width:20px;height:20px;border:2px solid var(--border-strong);border-top-color:var(--accent);border-radius:50%;animation:spin .6s linear infinite;display:inline-block}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.page{animation:fadeIn .3s ease-out;position:relative;z-index:1}.done-text{text-decoration:line-through;color:var(--text-faint)}.inline-form{display:flex;gap:8px;align-items:flex-end}.inline-form .input{flex:1}.status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.status-active{background:var(--ok-solid)}.status-planning{background:#d97706}.status-done{background:var(--text-faint)}.status-paused{background:#2563eb}.seg{display:flex;gap:4px;padding:4px;background:var(--surface-2);border:1px solid var(--border);border-radius:999px}.seg button{flex:1;padding:8px 10px;border:0;border-radius:999px;background:transparent;font:inherit;font-size:.875rem;color:var(--text-muted);cursor:pointer}.seg button.on{background:var(--accent-grad);color:var(--on-accent)}.seg button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.fchip{padding:6px 12px;border-radius:999px;border:1px solid var(--border-strong);background:var(--surface);color:var(--text-muted);font:inherit;font-size:.8125rem;cursor:pointer}.fchip.on{background:var(--accent-grad);color:var(--on-accent);border-color:transparent}.fchip.more{border-style:dashed}.fchip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.fcount{opacity:.7;margin-left:2px}.tag{border:1px solid transparent}.tagc-blue{--tc: #3b82f6;--tfg: #1d4ed8}.tagc-teal{--tc: #14b8a6;--tfg: #0f766e}.tagc-green{--tc: #22c55e;--tfg: #15803d}.tagc-amber{--tc: #f59e0b;--tfg: #92400e}.tagc-orange{--tc: #f97316;--tfg: #9a3412}.tagc-pink{--tc: #ec4899;--tfg: #9d174d}.tagc-purple{--tc: #8b5cf6;--tfg: #5b21b6}.tagc-gray{--tc: #64748b;--tfg: #334155}:root[data-theme=midnight] .tagc-blue{--tfg: #93c5fd}:root[data-theme=midnight] .tagc-teal{--tfg: #5eead4}:root[data-theme=midnight] .tagc-green{--tfg: #86efac}:root[data-theme=midnight] .tagc-amber{--tfg: #fcd34d}:root[data-theme=midnight] .tagc-orange{--tfg: #fdba74}:root[data-theme=midnight] .tagc-pink{--tfg: #f9a8d4}:root[data-theme=midnight] .tagc-purple{--tfg: #c4b5fd}:root[data-theme=midnight] .tagc-gray{--tfg: #cbd5e1}.tag[class*=tagc-]{background:color-mix(in srgb,var(--tc) 16%,transparent);color:var(--tfg);border-color:color-mix(in srgb,var(--tc) 38%,transparent)}.tdot{display:inline-block;width:10px;height:10px;border-radius:50%;flex-shrink:0;background:var(--tc, var(--text-faint))}.tlog-ranges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.tlog-readout{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 8px;min-height:2.75rem;margin-bottom:8px}.tlog-value{font-family:var(--font-head);font-size:2rem;font-weight:700;line-height:1.2;color:var(--text)}.tlog-clear{margin-left:auto}.tlog-chart{width:100%}.tlog-chart svg{display:block;touch-action:pan-y;cursor:pointer;border-radius:6px}.tlog-chart svg:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.tlog-chart text{font-size:11px;fill:var(--text-muted)}.tlog-grid{stroke:var(--border);stroke-width:1}.tlog-base{stroke:var(--border-strong);stroke-width:1}.tlog-bar{fill:var(--accent);transition:opacity .15s}.tlog-bar.faded{opacity:.3}.tlog-band{fill:var(--accent-dim)}.tlog-day{display:flex;justify-content:space-between;gap:8px;margin-top:12px}@media(prefers-reduced-motion:reduce){.tlog-bar{transition:none}}.tupd-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.tupd{padding:10px 12px;background:var(--surface-2);border:1px solid var(--border);border-left:3px solid var(--accent-border);border-radius:10px}.tupd p{margin-top:4px;font-size:.875rem;white-space:pre-wrap;overflow-wrap:anywhere}.tupd-edit{padding:4px 8px;margin:-4px -8px -4px 0;border:0;background:transparent;color:var(--accent);font:inherit;font-size:.75rem;font-weight:600;cursor:pointer;border-radius:6px}.tupd-edit:hover{background:var(--accent-dim)}.tupd-edit:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px 12px;background:var(--surface-2);border:1px solid var(--border);border-radius:18px}.filter-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.filter-label{margin-right:2px}.tfilter-bar{flex-direction:column;align-items:stretch;gap:10px}.tfilter-top{display:flex;gap:8px;align-items:center}.tfilter-search{position:relative;flex:1;min-width:0;display:flex;align-items:center;color:var(--text-muted)}.tfilter-search svg{position:absolute;left:12px;pointer-events:none}.tfilter-search .input{width:100%;padding-left:34px}.tfilter-toggle{flex-shrink:0;display:inline-flex;align-items:center;gap:6px}.tfilter-toggle.on{border-color:var(--accent-border);color:var(--accent)}.tfilter-badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent-grad);color:var(--on-accent);font-size:.6875rem;font-weight:700;line-height:18px;text-align:center}.tfilter-panel{margin-top:8px;padding:14px;display:grid;gap:14px}.tfilter-field{display:flex;flex-direction:column;gap:6px}.tfilter-active{margin-top:10px}.tfilter{position:relative;z-index:5}.fbubble{position:relative}.fbubble-btn{display:inline-flex;align-items:center;gap:6px}.fbubble-text{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fbubble-wrap{position:absolute;top:100%;left:0;padding-top:6px;z-index:30}.fbubble-wrap.right{left:auto;right:0}.fbubble-menu{min-width:180px;max-width:min(280px,calc(100vw - 32px));max-height:300px;overflow-y:auto;padding:6px;display:flex;flex-direction:column;gap:2px;background:var(--surface);border:1px solid var(--border-strong);border-radius:14px;box-shadow:0 12px 32px rgba(var(--shadow-rgb),.22)}.fbubble-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;border:0;border-radius:10px;background:transparent;color:var(--text);font:inherit;font-size:.875rem;text-align:left;cursor:pointer}.fbubble-item:hover,.fbubble-item:focus-visible{background:var(--accent-dim);outline:none}.fbubble-item[aria-checked=true]{color:var(--accent);font-weight:600}@media(prefers-reduced-motion:no-preference){.fbubble-menu{animation:fbubble-in .12s ease-out}}@keyframes fbubble-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.details-text{font-size:.9375rem;white-space:pre-wrap;overflow-wrap:anywhere}
