/* Connected planning surfaces. Inherit the user's palette and accessible contrast. */
.tabbar nav{grid-template-columns:repeat(5,minmax(0,1fr));max-width:780px}
.tabbar nav a span{font-size:.6875rem}.tabbar nav a{min-width:0;padding-inline:3px}
.life-page,.life-sheet{--life-blue:#37638c;--life-soft:#e8eff4}
.life-page{max-width:1120px;gap:26px}
.life-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.life-heading h1{font:700 clamp(31px,6vw,52px)/1.08 var(--body);letter-spacing:-.065em;max-width:800px;margin:8px 0 12px;text-transform:none}
.life-heading p:not(.life-eyebrow){color:var(--muted);margin:0;font-size:.875rem;line-height:1.6}
.life-eyebrow{font:700 .625rem/1.5 var(--body);letter-spacing:.16em;margin:0;text-transform:uppercase;color:var(--muted)}
.life-free{font-size:.5625rem;letter-spacing:.1em;white-space:nowrap;border:1px solid var(--line);border-radius:99px;padding:8px 11px;margin-top:8px;color:var(--muted)}
.life-goal{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;border:1px solid var(--line);border-radius:20px;padding:22px;background:var(--surface)}
.life-goal p{margin:7px 0 0;font-size:.875rem;color:var(--muted)}.life-goal strong{font-size:2.125rem;color:var(--ink);font-weight:600;letter-spacing:-.06em;margin-right:4px}.life-goal .life-track,.life-goal>.life-note{grid-column:1/-1}
.life-track{height:5px;border-radius:10px;background:var(--surface2);overflow:hidden}.life-track span{display:block;height:100%;background:var(--life-blue);border-radius:inherit;transition:width .3s}
.life-welcome,.life-workout{border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:clamp(22px,4vw,38px)}
.life-welcome{background:linear-gradient(120deg,var(--surface),var(--life-soft));position:relative;overflow:hidden}
.life-welcome h2{font:700 clamp(30px,5vw,46px)/1.12 var(--body);letter-spacing:-.06em;text-transform:none;margin:18px 0}.life-welcome p{font-size:.9375rem;line-height:1.65;max-width:580px;color:var(--muted)}
.life-steps{list-style:none;counter-reset:steps;padding:0;margin:28px 0;display:flex;flex-wrap:wrap;gap:18px}.life-steps li{counter-increment:steps;font-size:.75rem;font-weight:600;display:flex;gap:8px;align-items:center}.life-steps li:before{content:'0' counter(steps);font-size:.625rem;color:var(--life-blue);border:1px solid var(--line);border-radius:50%;padding:7px}
.life-workout{border-top:3px solid var(--life-blue)}.life-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.6875rem}.life-card-top>span:first-child{display:flex;gap:7px;align-items:center;font-size:.625rem;font-weight:700;letter-spacing:.08em}.life-card-top svg{width:16px;height:16px}
.life-workout h2{font:600 clamp(24px,4vw,35px)/1.2 var(--body);text-transform:none;letter-spacing:-.05em;margin:24px 0 9px;overflow-wrap:anywhere}.life-workout p{font-size:.8125rem;color:var(--muted);margin:0 0 24px}
.life-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.life-actions .btn{min-height:44px;padding:0 16px}.life-actions .btn-accent{background:var(--ink);color:var(--bg)}
.life-notice{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:18px;padding:20px}.life-notice>span{color:var(--life-blue)}.life-notice>div{flex:1}.life-notice b{font-size:.875rem}.life-notice p{font-size:.75rem;color:var(--muted);margin:5px 0 0;line-height:1.6}
.life-section{display:flex;flex-direction:column;gap:16px}.life-section h2,.life-checkin h2{font:600 1.1875rem/1.3 var(--body);letter-spacing:-.04em;text-transform:none;margin:0}.life-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.life-section-head>.btn{min-height:38px;padding:0 12px}
.life-timeline{border-top:1px solid var(--line)}.life-timeline-item{width:100%;display:flex;align-items:center;gap:20px;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;padding:18px 0;font:inherit}.life-timeline-item>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.life-timeline-item time{font-size:.75rem;font-variant-numeric:tabular-nums;color:var(--muted);min-width:42px}.life-timeline-item b{font-size:.875rem;font-weight:500;overflow-wrap:anywhere}.life-timeline-item small{font-size:.6875rem;color:var(--muted)}.life-timeline-item>svg{color:var(--muted)}
.life-checkin{border:1px solid var(--line);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:15px}.life-checkin p{font-size:.75rem;color:var(--muted);margin:6px 0}.life-checkin [aria-pressed=true]{background:var(--life-soft);border-color:var(--life-blue)}
.life-ask{display:flex;gap:15px;align-items:center;text-decoration:none;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:20px}.life-ask>span:nth-child(2){display:flex;flex-direction:column;gap:5px;flex:1}.life-ask b{font-size:.875rem}.life-ask small{font-size:.75rem;line-height:1.5;color:var(--muted)}.life-orbit{width:42px;height:42px;border:1px solid var(--life-blue);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.875rem;font-style:italic;color:var(--life-blue)}
.life-week-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.life-week-toolbar b{font-size:.875rem;font-weight:500}.life-week-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}.life-day{border:1px solid var(--line);border-radius:18px;padding:14px;min-height:160px;background:var(--surface)}.life-day.is-today{border-color:var(--life-blue)}.life-day-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.life-day-head h2{font:600 .75rem/1.4 var(--body);margin:0;text-transform:capitalize;letter-spacing:0}.life-day-head .icon-btn{width:32px;height:32px}.life-day-head svg{width:15px;height:15px}.life-day-empty{font-size:.6875rem;color:var(--muted);margin-top:20px}.life-event{display:flex;flex-direction:column;gap:8px;text-align:left;width:100%;padding:14px 12px;margin:8px 0 0;border:1px solid var(--line);border-radius:12px;background:var(--bg);font-family:var(--body);overflow-wrap:anywhere}.life-event span,.life-event small{font-size:.625rem;color:var(--muted)}.life-event b{font-weight:600;font-size:.75rem;line-height:1.5}.life-event.is-workout{background:var(--life-soft);border-color:transparent;border-left:3px solid var(--life-blue)}.is-done b{text-decoration:line-through;opacity:.65}.life-blocked{font-size:.625rem;padding:8px;border:1px dashed var(--line);background:none;width:100%;border-radius:8px;color:var(--muted)}
.life-note{color:var(--muted);font-size:.75rem;line-height:1.65;margin:0}.life-empty{font-size:.8125rem;color:var(--muted);line-height:1.65;padding:16px 0;margin:0}.life-warning{border-left:3px solid var(--danger);padding:10px 14px!important;color:var(--ink)!important;font-size:.75rem!important;line-height:1.65;margin:12px 0!important;background:var(--surface2);border-radius:4px}
.life-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.life-metrics article{display:flex;flex-direction:column;gap:10px;padding:23px;border:1px solid var(--line);border-radius:18px}.life-metrics b{font-size:2rem;font-weight:500;letter-spacing:-.06em}.life-metrics span{font-size:.75rem;color:var(--muted);max-width:240px}.life-history{display:flex;flex-direction:column;gap:16px}.life-history-row{display:grid;grid-template-columns:65px 1fr 45px;gap:12px;align-items:center}.life-history-row>span,.life-history-row>b{font-size:.75rem}.life-history-row>small{grid-column:2/-1;color:var(--muted);font-size:.625rem;margin-top:-7px}.life-insight{padding:25px;border:1px solid var(--line);border-radius:20px;background:var(--life-soft)}.life-insight h2{font:600 1.4375rem/1.25 var(--body);letter-spacing:-.04em;margin:15px 0;text-transform:none}.life-insight p{font-size:.8125rem;line-height:1.6;color:var(--muted)}
.life-change-log{list-style:none;padding:0;margin:0}.life-change-log li{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:15px 0;font-size:.75rem}.life-change-log b{font-weight:500}.life-change-log span{color:var(--muted);text-align:right}
#lifeDlg{max-width:620px;width:calc(100% - 24px);border:1px solid var(--line);padding:0;background:var(--bg);color:var(--ink);border-radius:24px;max-height:90svh;overflow:auto}#lifeDlg::backdrop{background:#0009;backdrop-filter:blur(5px)}.life-sheet{gap:20px;padding:26px}.life-sheet .sheet-head h2{font:600 1.5625rem/1.15 var(--body);text-transform:none;letter-spacing:-.05em;margin:0}.life-sheet>p{font-size:.875rem;line-height:1.65;margin:0;color:var(--muted)}.life-sheet form{display:flex;flex-direction:column;gap:19px}.life-sheet label{font-size:.75rem;font-weight:600;display:flex;flex-direction:column;gap:8px}.life-sheet input:not([type=checkbox]),.life-sheet select{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:12px;color:var(--ink);min-height:46px;font-size:16px}.life-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.life-sheet fieldset{margin:0;padding:0;border:0}.life-sheet legend{font-size:.75rem;font-weight:600;margin-bottom:10px}.life-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.life-days label{position:relative;cursor:pointer;display:block}.life-days input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.life-days span{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;min-height:43px;font-size:.6875rem}.life-days input:checked+span{background:var(--ink);border-color:var(--ink);color:var(--bg)}.life-days input:focus-visible+span{outline:2px solid var(--life-blue);outline-offset:3px}.life-sheet .life-inline-check{display:flex;flex-direction:row;align-items:center;font-weight:400}.life-inline-check input{width:18px;height:18px}.life-template-list{display:flex;flex-direction:column;gap:9px}.life-template-list .btn{justify-content:flex-start}
.life-proposal-meta{display:flex;justify-content:space-between;gap:10px;background:var(--surface2);padding:15px;border-radius:12px;font-size:.75rem}.life-proposal-meta span{color:var(--muted)}.life-proposal-list{list-style:none;padding:0;margin:0}.life-proposal-list li{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:13px;font-size:.8125rem;align-items:flex-start;line-height:1.7;overflow-wrap:anywhere}.life-change-type{padding:6px;border-radius:50%;color:var(--life-blue);background:var(--life-soft);flex:none;display:flex}.life-change-type svg{width:16px;height:16px}.life-change-type.remove{color:var(--danger)}.life-exercises{display:flex;flex-direction:column}.life-exercises label{display:flex;flex-direction:row;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}.life-exercises input{width:19px;height:19px;flex:none}.life-exercises span{display:flex;flex-direction:column;gap:4px}.life-exercises small{font-size:.6875rem;color:var(--muted);font-weight:400}
.life-gym-bridge{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid var(--line);border-radius:16px;text-decoration:none;background:var(--surface)}.life-gym-bridge>div{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.life-gym-bridge b{font-size:.8125rem}.life-gym-bridge small{font-size:.6875rem;line-height:1.6;color:var(--muted)}
.arc-home .product-arc-heading h1{font:700 2.75rem/1 var(--body);letter-spacing:-.06em}.arc-home .product-free{font-size:.5625rem}.arc-home .v-orb-wrap{padding:18px 0}.arc-home .v-priv{font-size:.625rem;line-height:1.6}.arc-home .v-sugg button{white-space:normal;text-align:left;font-size:.6875rem}.arc-home .v-status{max-width:400px;margin-inline:auto}.arc-home .product-coming{font-size:.6875rem;line-height:1.6}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-palette="rosa"]) .life-page,:root:not([data-theme="light"]):not([data-palette="rosa"]) .life-sheet{--life-blue:#a8c9e5;--life-soft:#141e27}}
:root[data-theme="dark"] .life-page,:root[data-theme="dark"] .life-sheet{--life-blue:#a8c9e5;--life-soft:#141e27}
:root[data-palette=nieve] .life-page,:root[data-palette=nieve] .life-sheet,:root[data-palette=brasa] .life-page,:root[data-palette=brasa] .life-sheet,:root[data-palette=oro] .life-page,:root[data-palette=oro] .life-sheet{--life-blue:var(--accent);--life-soft:var(--surface2)}
:root[data-palette=rosa] .life-page,:root[data-palette=rosa] .life-sheet{--life-blue:#9c3657;--life-soft:#fce4eb}
@media(min-width:900px){.life-page{padding-top:28px}.life-welcome{padding:42px}.life-week-grid .life-day:last-child{grid-column:span 2}}
@media(max-width:700px){.life-week-grid{grid-template-columns:1fr 1fr}.life-page{gap:22px}.life-free{display:none}.life-notice{flex-wrap:wrap}.life-notice>div{min-width:180px}.life-notice>.btn{margin-left:36px}.life-week-grid .life-day:last-child{grid-column:1/-1}.life-heading h1{max-width:330px}.life-goal{padding:18px;gap:14px}.life-goal>.btn{padding:0 10px;min-height:36px}.life-welcome h2{font-size:2.125rem}.life-workout h2{font-size:1.625rem}.life-card-top{font-size:.625rem}}
@media(max-width:380px){.life-week-grid{grid-template-columns:1fr}.life-heading h1{font-size:1.875rem}.life-goal{grid-template-columns:1fr}.life-goal>.btn{justify-self:start}.life-steps{gap:12px}.life-form-row{grid-template-columns:1fr}.life-sheet{padding:20px}.life-days{gap:4px}.life-day{min-height:120px}.life-actions .btn{padding:0 12px}.life-proposal-meta{flex-direction:column}.life-change-log li{flex-direction:column;gap:4px}.life-change-log span{text-align:left}}
.life-daily{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:24px;min-width:0}.life-daily h2{font-size:1.625rem;letter-spacing:-.035em;line-height:1.2;margin:12px 0}.life-daily form{display:grid;gap:14px}.life-daily label{display:block;font-size:.8125rem;font-weight:600;margin-bottom:7px}.life-daily input:not([type=checkbox]),.life-daily select,.life-daily textarea{width:100%;box-sizing:border-box;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);font:inherit;font-size:16px;padding:13px}.life-daily textarea{min-height:80px;resize:vertical}.life-daily .life-daily-done{display:flex;align-items:center;gap:10px;margin:0}.life-daily input[type=checkbox]{width:22px;height:22px;flex:none}.life-daily summary{cursor:pointer;padding:14px 0;font-weight:600}.life-daily-history{border-top:1px solid var(--line);padding:14px 0;overflow-wrap:anywhere}.life-daily-history p{font-size:.875rem;color:var(--muted)}.life-daily [role=status]{margin:0;font-size:.8125rem;min-height:1em}.life-daily :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.life-form-row>*{min-width:0}.life-sheet input[type=time]{box-sizing:border-box;min-width:0;max-width:100%;width:100%}
@media(max-width:480px){.life-sheet .life-form-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.life-track span{transition:none}}
.life-weight{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.life-weight strong{font-size:2rem;letter-spacing:-.04em}.life-weight span{font-size:.8125rem;color:var(--muted)}button.life-gym-bridge{width:100%;font:inherit;color:var(--ink);text-align:left;cursor:pointer}.life-gym-bridge:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.life-tpl-h{font:600 .8125rem/1.3 var(--body);color:var(--muted);margin:14px 0 8px;letter-spacing:0;text-transform:none}
.life-template-list{gap:0;background:var(--surface2,var(--surface));border-radius:var(--r-card,16px);overflow:hidden}
.life-tpl{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;min-height:56px;padding:11px 16px;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.life-tpl+.life-tpl{border-top:1px solid var(--hair,var(--line))}
.life-tpl b{font:600 1rem/1.25 var(--body)}
.life-tpl small{font:400 .8125rem/1.35 var(--body);color:var(--muted)}
.life-tpl:active{background:var(--fill,rgba(0,0,0,.05))}
/* A workout finished today is part of the day. */
.life-wk-done{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;background:var(--surface);color:var(--ink);text-decoration:none;min-height:44px}.life-wk-done>span:nth-child(2){display:flex;flex-direction:column;flex:1;min-width:0}.life-wk-done small{color:var(--muted);font-size:.8125rem}.life-wk-ico{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--signal,var(--accent));color:#fff}.life-wk-ico svg{width:16px;height:16px}.life-wk-done>svg{width:18px;height:18px;color:var(--muted)}
.life-more-link{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;min-height:40px;padding:6px 2px;color:var(--accent);font-size:.875rem}.life-more-link svg{width:16px;height:16px}
