/* Authenticated workspace. Public pages and onboarding retain their own system. */
body[data-view="app"] {
 --paper:#f6f7f2; --surface:#fffefa; --line:#e0e5dc; --tint:#edf1e7;
 --muted:#637066; --radius:16px; --shadow:0 3px 14px #18382e03;
 background:var(--paper); font-size:14px; line-height:1.65;
}
body[data-view="app"] h1 {font-size:38px;line-height:1.16;letter-spacing:-.045em}
body[data-view="app"] h2 {font-size:23px;line-height:1.25;letter-spacing:-.035em}
body[data-view="app"] h3 {font-size:17px;line-height:1.35;letter-spacing:-.025em}
body[data-view="app"] .eyebrow {font-size:10px;letter-spacing:.12em;color:var(--muted)}
body[data-view="app"] .icon {stroke-width:1.65}
body[data-view="app"] :is(.card,.coach-view .card) {padding:24px;border-radius:16px;border-color:var(--line);box-shadow:var(--shadow)}
body[data-view="app"] .card-head {margin-bottom:18px;gap:12px}
body[data-view="app"] .card-head h2 {font-size:21px}
body[data-view="app"] :is(.btn,.coach-view .btn) {border-radius:9px;min-height:44px;font-size:12px;padding:11px 16px}
body[data-view="app"] .btn.quiet {background:var(--surface);border-color:#d0d9cc}
body[data-view="app"] .btn.primary {background:var(--ink);border-color:var(--ink);color:#fff}
body[data-view="app"] .btn.primary:hover {background:#2c5041;border-color:#2c5041}
body[data-view="app"] .btn.small {min-height:38px;padding:8px 12px}
body[data-view="app"] .pill {border-radius:6px;font-size:10px}
body[data-view="app"] .pill.lime {background:#e7efdb;color:#3d5937}
body[data-view="app"] :is(.field,.analytics-field) {font-size:12px;line-height:1.55;gap:7px}
body[data-view="app"] :is(.field input,.field select,.field textarea,select,input:not([type=checkbox]):not([type=file]),textarea) {min-height:44px;padding:10px 12px;font-size:14px;border:1px solid #b7c2b0;border-radius:9px;background:var(--surface);max-width:100%;color:var(--ink)}
body[data-view="app"] .notice {padding:16px 18px;border-radius:12px;font-size:12px}
body[data-view="app"] .notice strong {color:inherit}
body[data-view="app"] :is(.description,.plan-description) {font-size:13px;line-height:1.8}
body[data-view="app"] :is(.details-note,.chart-caption) {font-size:12px;line-height:1.75}
body[data-view="app"] .page-heading {padding:0;margin:0 0 28px;border:0;gap:24px;align-items:center}
body[data-view="app"] .page-heading h1 {font-size:38px;line-height:1.16}
body[data-view="app"] .page-heading .eyebrow {margin-bottom:9px}
body[data-view="app"] .page-heading p {margin-top:10px;font-size:13px;line-height:1.75;max-width:650px}
body[data-view="app"] .tabs {border:1px solid var(--line);background:#e9eee5;border-radius:11px;padding:4px}
body[data-view="app"] .tab {min-height:40px;padding:8px 13px;font-size:12px;border-radius:7px}
body[data-view="app"] .tab.active {background:var(--surface);box-shadow:0 2px 5px #18382e08}
body[data-view="app"] .empty {padding:30px 18px}
body[data-view="app"] .empty h3 {font-size:17px}
body[data-view="app"] .empty p {font-size:12px;max-width:340px;margin-inline:auto}
body[data-view="app"] .table-wrap {max-width:100%;overflow:auto}
body[data-view="app"] table {font-size:12px}
body[data-view="app"] td {padding:14px 10px}
body[data-view="app"] th {padding:10px;font-size:9px;letter-spacing:.06em;color:var(--muted)}
body[data-view="app"] .history-meta {font-size:10px;line-height:1.6}
/* Desktop navigation gives every destination a stable place. */
body[data-view="app"] .journal-masthead {position:fixed;inset:0 auto 0 0;width:228px;max-width:none;height:100dvh;padding:31px 18px 20px;margin:0;display:flex;flex-direction:column;align-items:stretch;gap:0;border:0;border-right:1px solid var(--line);background:#fffefa;z-index:30;overflow-y:auto}
body[data-view="app"] .journal-masthead .wordmark {font-size:32px;letter-spacing:-1.9px;padding:0 12px;gap:11px}
body[data-view="app"] .journal-masthead .form-symbol {transform:skew(-16deg) scale(.84);width:25px}
.workspace-brand-note {font-size:10px;color:var(--muted);padding:12px 12px 23px}
body[data-view="app"] .desktop-nav {display:flex;flex-direction:column;gap:4px;flex:1;width:100%;margin:0;align-items:stretch}
.workspace-nav-label {font-size:9px;font-weight:700;letter-spacing:.13em;color:#798477;padding:14px 14px 9px}
.workspace-nav-label:not(:first-child) {margin-top:12px}
body[data-view="app"] .desktop-nav a {display:flex;align-items:center;gap:12px;min-height:44px;border-radius:9px;padding:11px 14px;font-size:12px;font-weight:600;color:#627063}
body[data-view="app"] .desktop-nav a .icon {width:19px;height:19px;color:#758471}
body[data-view="app"] .desktop-nav a:hover {background:#f0f3eb;color:var(--ink)}
body[data-view="app"] .desktop-nav a.active {background:#e9efdf;color:var(--ink)}
body[data-view="app"] .desktop-nav a.active .icon {color:#355438;stroke-width:2}
.workspace-nav-utility {margin-top:auto;padding-top:25px}
.workspace-profile {display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:20px 6px 0;margin-top:20px}
body[data-view="app"] .journal-person {display:grid;place-items:center;border:1px solid #d8e1d0;color:var(--ink);background:#e9efdf;width:36px;height:36px;flex-shrink:0;font-size:13px;border-radius:50%}
.workspace-profile>span:nth-child(2) {flex:1;min-width:0}
.workspace-profile strong {display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-profile small {display:block;font-size:9px;color:var(--muted);margin-top:2px}
.workspace-profile>.icon {width:15px;height:15px;color:var(--muted)}
body[data-view="app"] .layout {margin-left:228px;padding:0;min-height:100vh}
body[data-view="app"] .journal-meta {max-width:1320px;min-height:78px;padding:19px 36px;margin:0 auto;border-bottom:1px solid var(--line);font-size:11px;letter-spacing:0;display:flex;justify-content:space-between;align-items:center;gap:16px}
.workspace-location {display:flex;gap:13px;align-items:center;color:#7a8577;font-weight:500}
.workspace-location strong {font-weight:600;color:var(--ink)}
body[data-view="app"] .journal-meta .row {gap:18px}
body[data-view="app"] .top-date {font-size:11px;font-weight:500}
body[data-view="app"] .status {font-size:10px;min-height:30px;padding:6px 10px;background:#edf3e8;border-color:#dfe8d7}
body[data-view="app"] .status.pending {background:var(--warn-bg);border-color:#e9dcc3}
body[data-view="app"] .status.error {background:var(--danger-bg);border-color:#efd6d4}
body[data-view="app"] #main {max-width:1320px;padding:32px 36px 40px;min-height:calc(100vh - 159px)}
body[data-view="app"] .journal-footer {max-width:1248px;margin:0 36px;padding:19px 0 25px;display:flex;gap:20px;font-size:10px;letter-spacing:0;color:var(--muted)}
.workspace-footer-note {padding-left:10px;color:#7b8578}
body[data-view="app"] .journal-footer .text-btn {margin-left:auto;font-size:10px;min-height:24px}
body[data-view="app"] .bottom-nav {display:none}
body[data-view="app"] :is(#save-alert,.update-banner) {max-width:1248px;margin:16px 36px 0;border-radius:10px}
/* Today's workspace: a useful starting point, followed by week and history. */
.workspace-welcome {display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:28px}
body[data-view="app"] .workspace-welcome h1 {font-size:32px;line-height:1.2;margin-top:8px}
.workspace-welcome p {font-size:12px;color:var(--muted);margin-top:9px}
.workspace-welcome>.btn {flex-shrink:0}
body[data-view="app"] .journal-onboarding {border-radius:15px;padding:22px 24px;margin:0 0 24px;background:#edf3e4;gap:20px}
body[data-view="app"] .journal-onboarding h2 {font-size:23px;margin:6px 0 8px}
body[data-view="app"] .journal-onboarding p {font-size:12px}
.workspace-today-grid {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px;margin-bottom:30px}
.workspace-focus {position:relative;min-height:316px;display:grid;grid-template-columns:minmax(0,1fr) 37%;overflow:hidden;border-radius:17px;background:#e9edde;border:1px solid #e0e6d4}
.workspace-focus-copy {position:relative;z-index:1;padding:28px 0 28px 28px;margin-right:-28px;display:flex;flex-direction:column;align-items:flex-start}
.workspace-focus .eyebrow {display:flex;align-items:center;gap:7px;font-size:9px;color:#5c704f;max-width:220px}
.workspace-live-dot {width:6px;height:6px;border-radius:50%;background:#7e945f;flex-shrink:0}
body[data-view="app"] .workspace-focus h2 {font-size:34px;line-height:1.12;margin:15px 0 12px;max-width:310px;letter-spacing:-.045em}
.workspace-focus p {font-size:12px;line-height:1.75;color:#54634e;max-width:270px}
.workspace-focus-meta {display:flex;gap:7px;align-items:center;font-size:10px;color:#5b6b51;margin:18px 0}
.workspace-focus-meta .icon {width:14px;height:14px}
.workspace-focus .btn {margin-top:auto;max-width:100%}
.workspace-focus-image {height:100%;width:100%;object-fit:cover;object-position:60% center;mask-image:linear-gradient(to right,transparent,black 35%);opacity:.83}
.workspace-section-head {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
body[data-view="app"] .workspace-section-head h2 {font-size:21px;margin:0}
.workspace-section-head .eyebrow {margin-bottom:7px}
.workspace-section-head p {font-size:11px;color:var(--muted);margin-top:5px}
.workspace-section-head>.text-btn {font-size:11px}
.workspace-week {padding:23px 24px 24px;background:var(--surface);border:1px solid var(--line);border-radius:16px;margin-bottom:30px}
.workspace-days {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.workspace-day {display:flex;flex-direction:column;min-width:0;padding:13px 12px 12px;border:1px solid transparent;border-radius:11px;background:#f5f6f0;transition:background .18s,border-color .18s}
.workspace-day:hover {border-color:#aebf99;background:#eff3e8}
.workspace-day.is-today {background:#edf3df;border-color:#b9ca9e}
.workspace-day.is-done {background:#eef3e9}
.workspace-day.is-today.is-done {border-color:#9fb986}
.workspace-day-top {display:flex;align-items:center;gap:5px;justify-content:space-between;font-size:10px;color:#64745c}
.workspace-today-label {font-size:8px;font-weight:700}
.workspace-day-date {font-family:var(--font-display);font-size:25px;line-height:1.2;font-weight:500;letter-spacing:-1px;margin:10px 0 12px}
.workspace-day strong {font-size:10px;line-height:1.5;overflow-wrap:anywhere;font-weight:650}
.workspace-day-state {display:flex;align-items:center;gap:4px;font-size:9px;color:#6e7b64;line-height:1.5;margin-top:4px}
.workspace-day-state .icon {width:12px;height:12px}
.workspace-metrics {margin-bottom:28px}
body[data-view="app"] .stat-grid {gap:14px;margin-bottom:0}
body[data-view="app"] .stat {padding:19px 20px;border-radius:13px}
body[data-view="app"] .stat-top {font-size:10px;min-height:22px;gap:7px;line-height:1.5}
body[data-view="app"] .stat-top .icon {width:17px;height:17px;color:#91a180}
body[data-view="app"] .value {font-family:var(--font-display);font-size:32px;letter-spacing:-.04em;line-height:1.15;margin-top:12px;font-weight:500}
body[data-view="app"] .value span {font-size:12px;color:var(--muted);letter-spacing:0}
body[data-view="app"] .stat-foot {font-size:9px;line-height:1.6;margin-top:8px}
.workspace-history-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px;margin-bottom:22px}
.workspace-history-grid .card {padding:23px;overflow:hidden}
.workspace-icon-link {display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;flex-shrink:0;background:#f5f7f0}
.workspace-icon-link .icon {width:15px;height:15px}
.workspace-icon-link:hover {background:#e7efdb}
.workspace-history-grid .chart {margin:12px 0 9px;min-height:170px;max-height:225px}
.workspace-history-grid .chart-caption {font-size:10px}
.workspace-history-grid td {padding:12px 6px}
.workspace-history-grid th {padding:8px 6px;font-size:8px}
.workspace-history-grid .text-btn {font-size:11px}
.workspace-history-grid .history-meta {font-size:9px}
.workspace-history-grid .icon-btn {height:32px;min-height:32px;min-width:32px;width:32px}
.workspace-discover {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.workspace-discover>a {display:flex;align-items:flex-start;gap:16px;padding:22px;border:1px solid var(--line);border-radius:13px;background:#eef2e7;transition:background .18s}
.workspace-discover>a:hover {background:#e7eddd}
.workspace-discover-icon {display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:#fffefa;border:1px solid #e0e8d8;border-radius:11px;color:#70845b}
body[data-view="app"] .workspace-discover h3 {font-size:16px}
.workspace-discover p {font-size:11px;color:var(--muted);margin:6px 0 12px}
.workspace-discover div>span {display:flex;align-items:center;gap:9px;font-size:10px;font-weight:700}
.workspace-discover div>span .icon {width:14px;height:14px}
body[data-view="app"] #modal {border:1px solid #dce4d3;border-radius:18px;box-shadow:0 28px 100px #18382e29;background:var(--surface);padding:28px;max-height:calc(100dvh - 48px)}
body[data-view="app"] #modal::backdrop {background:#152b2266;backdrop-filter:blur(4px)}
body[data-view="app"] #modal h2 {font-size:25px}
body[data-view="app"] #toast {bottom:26px;border-radius:12px}
body[data-view="app"] .timer {left:auto;transform:none;right:28px;bottom:25px;width:min(420px,calc(100vw - 280px));border-radius:14px;box-shadow:0 8px 40px #18382e20}
@media(min-width:1500px){body[data-view="app"] .journal-footer{margin-inline:auto}body[data-view="app"] .workspace-focus h2{font-size:38px}}
@media(max-width:1200px) and (min-width:1051px){body[data-view="app"] .journal-masthead{width:208px;padding-inline:14px}body[data-view="app"] .layout{margin-left:208px}body[data-view="app"] #main{padding:28px}body[data-view="app"] .journal-meta{padding-inline:28px}.workspace-focus-copy{padding-left:23px}.workspace-focus{grid-template-columns:minmax(0,1fr) 27%}.workspace-day{padding:11px 8px}.workspace-day-state{font-size:8px}.workspace-today-label{font-size:7px}.workspace-history-grid{grid-template-columns:1fr 1.2fr}}
@media(max-width:1050px){
 body[data-view="app"] .journal-masthead{position:relative;inset:auto;width:100%;height:72px;flex-direction:row;align-items:center;justify-content:space-between;padding:16px 28px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}
 body[data-view="app"] .journal-masthead .wordmark{font-size:29px;padding:0}
 body[data-view="app"] :is(.desktop-nav,.workspace-brand-note){display:none}
 .workspace-profile{margin:0;border:0;padding:0}.workspace-profile small,.workspace-profile>.icon{display:none}.workspace-profile>span:nth-child(2){order:-1}.workspace-profile strong{max-width:150px;font-size:11px}
 body[data-view="app"] .layout{margin:0;padding-bottom:84px}
 body[data-view="app"] .journal-meta{padding:14px 28px;min-height:58px}
 body[data-view="app"] #main{padding:25px 28px 30px;min-height:calc(100vh - 270px)}
 body[data-view="app"] .journal-footer{margin-inline:28px}
 body[data-view="app"] .bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;width:100%;max-width:none;transform:none;border-radius:0;border:0;border-top:1px solid #dce3d5;background:#fffefaef;backdrop-filter:blur(18px);box-shadow:0 -4px 18px #18382e05;padding:7px max(16px,calc((100vw - 700px)/2)) calc(7px + env(safe-area-inset-bottom));gap:5px;z-index:50}
 body[data-view="app"] .bottom-nav>a,.workspace-more>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:51px;padding:6px 3px;border-radius:9px;background:transparent;color:#6d7a64;font-size:10px;font-weight:600;line-height:1.3;cursor:pointer}
 body[data-view="app"] .bottom-nav>a .icon,.workspace-more>summary .icon{width:20px;height:20px;color:inherit}
 body[data-view="app"] .bottom-nav>a.active,.workspace-more>summary.active,.workspace-more[open]>summary{background:#eaf0e0;color:#284835}
 .workspace-more{position:relative;min-width:0}.workspace-more>summary{list-style:none}.workspace-more>summary::-webkit-details-marker{display:none}
 .workspace-more-panel{position:absolute;right:0;bottom:calc(100% + 16px);width:240px;padding:13px;background:var(--surface);border:1px solid #d6e0cd;border-radius:16px;box-shadow:0 8px 40px #18382e26}
 .workspace-more-panel>p{font-size:8px;font-weight:700;letter-spacing:.09em;color:var(--muted);padding:5px 10px 10px}
 body[data-view="app"] .bottom-nav .workspace-more-panel>a{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:45px;padding:10px;border-radius:8px;color:var(--ink);font-size:12px}
 body[data-view="app"] .bottom-nav .workspace-more-panel>a.active{background:#e9efdf}
 body[data-view="app"] #toast{bottom:calc(90px + env(safe-area-inset-bottom));max-width:calc(100vw - 28px)}
 body[data-view="app"] .timer{width:min(420px,calc(100vw - 32px));right:16px;bottom:calc(90px + env(safe-area-inset-bottom))}
 body[data-view="app"] :is(#save-alert,.update-banner){margin-inline:28px}
}
@media(max-width:800px){
 body[data-view="app"] h1,body[data-view="app"] .page-heading h1{font-size:32px}
 body[data-view="app"] .workspace-welcome h1{font-size:29px}
 .workspace-welcome{align-items:flex-start}.workspace-welcome>.btn{font-size:11px}
 .workspace-today-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px}
 .workspace-focus{grid-template-columns:1fr;min-height:310px}.workspace-focus-copy{padding:24px;margin:0}.workspace-focus-image{position:absolute;right:0;inset-block:0;width:42%;opacity:.38;mask-image:linear-gradient(to right,transparent,black)}
 body[data-view="app"] .workspace-focus h2{font-size:30px;max-width:240px}.workspace-focus p{max-width:235px}
 .workspace-days{gap:5px}.workspace-day{padding:10px 8px}.workspace-day-top{font-size:10px}.workspace-today-label{font-size:7px}.workspace-day-state{font-size:8px;gap:2px}.workspace-day strong{font-size:9px}
 .workspace-week{padding:20px}.workspace-history-grid{grid-template-columns:1fr}.workspace-history-grid .chart{max-height:235px}.workspace-discover{gap:14px}
 body[data-view="app"] .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}body[data-view="app"] .stat{padding:15px}body[data-view="app"] .stat-top .icon{display:none}
 .workspace-discover>a{padding:18px;gap:12px}.workspace-discover-icon{width:32px;height:32px}.workspace-discover-icon .icon{width:17px;height:17px}
 body[data-view="app"] #modal{padding:24px;width:calc(100% - 28px);max-height:calc(100dvh - 28px)}
}
@media(max-width:600px){
 body[data-view="app"] .journal-masthead{height:64px;padding:14px 20px}.workspace-profile>span:nth-child(2){display:none}
 body[data-view="app"] .journal-meta{min-height:50px;padding:11px 20px}.workspace-location{font-size:10px;gap:8px}.workspace-location>span:first-child{display:none}.workspace-location>span:nth-child(2){display:none}body[data-view="app"] .top-date{display:none}
 body[data-view="app"] #main{padding:25px 20px 25px}body[data-view="app"] .journal-footer{margin-inline:20px;font-size:9px;gap:14px}.workspace-footer-note{display:none}
 body[data-view="app"] :is(.card,.coach-view .card){padding:20px;border-radius:14px}
 body[data-view="app"] .page-heading{display:flex;flex-direction:column;align-items:flex-start;gap:15px;margin-bottom:24px}.page-heading>.btn{width:auto}
 body[data-view="app"] .page-heading h1{font-size:31px}
 .workspace-welcome{display:block;margin-bottom:24px}body[data-view="app"] .workspace-welcome h1{font-size:30px;max-width:360px}.workspace-welcome p{font-size:12px;max-width:320px}.workspace-welcome>.btn{margin-top:17px;min-height:38px;padding:8px 12px;font-size:11px}
 .workspace-today-grid{grid-template-columns:1fr;gap:15px;margin-bottom:26px}.workspace-focus{grid-template-columns:minmax(0,1fr) 28%;min-height:290px}.workspace-focus-copy{padding:24px 0 24px 24px;margin-right:-20px}.workspace-focus-image{position:static;opacity:.85;width:100%;mask-image:linear-gradient(to right,transparent,black 45%)}
 body[data-view="app"] .workspace-focus h2{font-size:31px;max-width:250px}.workspace-focus p{font-size:12px;max-width:250px}.workspace-focus .btn{font-size:11px}
 .workspace-section-head{gap:10px;align-items:center;margin-bottom:15px}.workspace-section-head>.text-btn{font-size:10px;max-width:114px;text-align:right;justify-content:flex-end;line-height:1.5;flex-shrink:0}
 body[data-view="app"] .workspace-section-head h2{font-size:21px}.workspace-section-head p{font-size:10px}
 .workspace-week{padding:20px 14px;margin-bottom:26px}.workspace-week .workspace-section-head{padding-inline:5px}.workspace-days{gap:4px}.workspace-day{padding:10px 4px 11px;align-items:center;text-align:center;border-radius:9px}.workspace-day-top{height:15px;justify-content:center}.workspace-today-label{display:none}.workspace-day.is-today .workspace-day-top span:first-child{font-weight:800;text-decoration:underline;text-underline-offset:3px}.workspace-day-date{font-size:21px;margin:9px 0 10px}.workspace-day strong{font-size:8px;line-height:1.45;min-height:24px;display:flex;align-items:center}.workspace-day-state{font-size:0;height:13px;margin-top:5px}.workspace-day-state .icon{width:13px;height:13px}.workspace-day:not(.is-done) .workspace-day-state:has(.icon){opacity:.6}.workspace-day:not(.is-done) .workspace-day-state:not(:has(.icon))::after{content:'';width:5px;height:5px;border-radius:50%;background:#7e945e}
 body[data-view="app"] .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body[data-view="app"] .stat{padding:17px}body[data-view="app"] .stat-top .icon{display:block;width:14px;height:14px}body[data-view="app"] .stat-top{font-size:9px}body[data-view="app"] .value{font-size:30px}body[data-view="app"] .stat-foot{font-size:9px}
 .workspace-history-grid{gap:15px;margin-bottom:15px}.workspace-history-grid .chart{min-height:170px}.workspace-history-grid .chart-caption{font-size:10px}.workspace-history-grid th:nth-child(4),.workspace-history-grid td:nth-child(4){display:none}
 .workspace-discover{grid-template-columns:1fr;gap:12px}.workspace-discover>a{padding:19px}
 body[data-view="app"] .bottom-nav{padding-inline:12px;gap:2px}body[data-view="app"] .bottom-nav>a,.workspace-more>summary{font-size:9px}
 body[data-view="app"] .journal-onboarding{padding:20px;flex-direction:column;align-items:flex-start;gap:16px}
 body[data-view="app"] :is(#save-alert,.update-banner){margin-inline:20px}
 body[data-view="app"] #modal{padding:20px;border-radius:14px}body[data-view="app"] #modal h2{font-size:23px}
 body[data-view="app"] :is(.field input,.field select,.field textarea,select,input:not([type=checkbox]):not([type=file]),textarea){font-size:16px}
}
@media(max-width:360px){
 body[data-view="app"] #main{padding-inline:15px}body[data-view="app"] .journal-meta,body[data-view="app"] .journal-masthead{padding-inline:15px}.workspace-welcome h1{overflow-wrap:anywhere}body[data-view="app"] .workspace-welcome h1{font-size:27px}.workspace-focus{grid-template-columns:1fr}.workspace-focus-copy{padding:22px;margin:0}.workspace-focus-image{position:absolute;right:0;inset-block:0;width:38%;opacity:.35}.workspace-week{padding-inline:10px}.workspace-day{padding-inline:2px}.workspace-day strong{font-size:7px}.workspace-section-head>.text-btn{max-width:97px;font-size:9px}body[data-view="app"] .stat{padding:15px 13px}body[data-view="app"] .stat-top{font-size:8px}.workspace-history-grid .card{padding:17px}.workspace-more-panel{right:0;width:230px}body[data-view="app"] .bottom-nav>a,.workspace-more>summary{font-size:8px}
}
@media(prefers-reduced-motion:reduce){body[data-view="app"] *{scroll-behavior:auto!important;transition:none!important}}
@media print{body[data-view="app"] .journal-masthead,body[data-view="app"] .bottom-nav,body[data-view="app"] .journal-meta,body[data-view="app"] .journal-footer{display:none!important}body[data-view="app"] .layout{margin:0;padding:0}body[data-view="app"] #main{padding:0}}
.workspace-day-rest-short {display:none}
@media(max-width:600px){.workspace-day-rest{display:none}.workspace-day-rest-short{display:inline}}
