@font-face{font-family:Archivo;src:url('/assets/Archivo.ttf')}*{box-sizing:border-box}html{color-scheme:light;scroll-behavior:smooth}body{margin:0;color:#171b16;background:#f5f6f2;font-family:Archivo,Arial,sans-serif;line-height:1.55;font-size:15px}a{color:#3b422f;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a.button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,.button{border:1px solid transparent;background:#3b422f;color:white;border-radius:9px;padding:12px 18px;text-decoration:none;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px}button:hover,.button:hover{background:#515a40}button.secondary,.button.secondary{background:#fff;color:#3b422f;border-color:#c6cbbf}button.secondary:hover,.button.secondary:hover{background:#edf0e7}button.text-button{padding:8px 4px;background:none;color:#3b422f;min-height:40px}button.danger{background:#8b3c31}.quiet-link{font-size:13px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #3a819a;outline-offset:3px}.skip{position:fixed;top:-100px;left:12px;z-index:10;background:#fff;padding:12px}.skip:focus{top:12px}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{background:#f4efe6;padding:34px 24px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid #e4e5da}.brand img{width:165px;max-height:50px}.product-label{font-size:10px;letter-spacing:2.4px;margin:22px 0 28px;line-height:1.6}.sidebar nav{display:grid;gap:7px}.sidebar nav a{padding:12px 14px;border-radius:10px;display:flex;gap:14px;text-decoration:none;font-size:14px}.sidebar nav a span{width:17px;font-size:20px;line-height:1}.sidebar nav a.active{background:#3b422f;color:#fff}.sidebar nav a:hover:not(.active){background:#e7e8dc}.sidebar-bottom{margin-top:auto;display:grid;gap:8px;font-size:12px;color:#5c6556}.sidebar-bottom p{font-family:Georgia,serif;font-size:20px;line-height:1.4}.workspace{min-width:0}.topbar{height:80px;border-bottom:1px solid #e3e7df;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar>div{display:flex;align-items:center;gap:18px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;text-transform:uppercase}.badge{font-size:11px;border-radius:30px;padding:6px 10px;background:#e7eee8;color:#3b5146;white-space:nowrap}.badge.blue{background:#e6f0f5;color:#315b70}.badge.warm{background:#f4ecde;color:#795b28}main{max-width:1200px;margin:auto;padding:36px 42px 50px;min-height:75vh}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.13;letter-spacing:-.6px}h1{font-size:40px;margin-bottom:14px}h2{font-size:28px;margin-bottom:14px}h3{font-size:17px;margin-bottom:9px}p{margin-bottom:16px}.intro{max-width:670px;color:#5c655a;font-size:16px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.page-head h1{margin-top:7px}.hero{display:grid;grid-template-columns:1.35fr .65fr;border-radius:20px;overflow:hidden;background:#dcebed;margin-bottom:28px;min-height:320px}.hero-copy{padding:38px;align-self:center}.hero h1{font-size:46px;max-width:530px}.hero p{max-width:490px;color:#43594f}.hero img{width:100%;height:100%;max-height:445px;object-fit:cover;object-position:50% 45%}.hero.dark{background:#3b422f;color:#f4efe6;min-height:230px}.hero.dark p{color:#dee5d6}.hero.dark h1{font-size:37px}.hero.dark .button{background:#f4efe6;color:#3b422f}.hero.dark img{max-height:300px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px}.actions.tight{margin-top:10px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{background:white;border:1px solid #e0e5db;border-radius:15px;padding:25px;margin-bottom:20px;min-width:0}.panel.tint{background:#edf3ed}.panel.sky{background:#ebf2f5}.panel.olive{background:#3b422f;color:#f4efe6}.panel.olive p{color:#e0e5d8}.panel h2{font-size:25px}.panel:last-child{margin-bottom:0}.number{font-family:Georgia,serif;font-size:34px;line-height:1.2;display:block;margin:8px 0}.metric-label{font-size:12px;color:#5c655a}.muted{color:#5c655a}.small{font-size:12px}.subtle{font-size:13px;color:#5c655a}.section-label{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:#606b5b;margin:27px 0 12px}.rule{height:1px;background:#e0e5db;margin:20px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}label{display:block;font-size:13px;font-weight:600;color:#374432}input,select,textarea{display:block;width:100%;border:1px solid #c3ccbF;background:#fff;color:#171b16;border-radius:7px;padding:11px 12px;margin-top:6px;min-height:45px}textarea{resize:vertical;min-height:90px}input[type=checkbox],input[type=radio]{width:18px;height:18px;min-height:18px;display:inline-block;margin:3px 10px 0 0;flex:none;accent-color:#3b422f}.check{display:flex;align-items:flex-start;font-weight:400;font-size:13px;line-height:1.5}.field-note{display:block;font-size:12px;color:#5c655a;font-weight:400;margin-top:5px}fieldset{border:0;padding:0;margin:0 0 28px}legend{font-family:Georgia,serif;font-size:26px;padding:0 0 16px}.notice{padding:16px 19px;border-left:3px solid #52776a;background:#eef4ef;border-radius:0 9px 9px 0;margin:18px 0;color:#334b3e;font-size:14px}.notice.error{background:#faefeb;color:#7b382b;border-color:#ae604c}.inline-error{color:#8b3c31}.option{position:relative;display:flex;flex-direction:column;min-height:300px}.option .actions{margin-top:auto;padding-top:12px}.option h2{margin-top:15px;font-size:26px}.option ol,.option ul{padding-left:19px;font-size:13px;color:#54604f}.time-line{position:relative;height:12px;background:#e9ece3;border-radius:20px;margin:19px 0 8px}.time-line span{position:absolute;top:0;bottom:0;border-radius:20px;background:#7caaa4}.time-caption{display:flex;justify-content:space-between;font-size:11px;color:#65705e}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:18px}.day{background:#fafbf8;color:#3b422f;border:1px solid #dfe5d8;min-height:72px;padding:8px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;font-weight:400}.day strong{font-size:17px}.day span{font-size:10px}.day.recorded{background:#e0ede3;border-color:#a8c3ae}.day.current{border:2px solid #3b422f}.day.future{opacity:.65}.review-mark{color:#805932}.list{display:grid;gap:14px}.journal-entry{padding:20px 0;border-bottom:1px solid #e5e9e0}.journal-entry:last-child{border:0}.journal-entry p{white-space:pre-wrap;overflow-wrap:anywhere}.entry-head{display:flex;justify-content:space-between;gap:15px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.chip{font-size:11px;background:#edf1e8;border-radius:6px;padding:5px 8px}.chart svg{display:block;width:100%;height:auto;max-height:230px}.chart text{font-family:Archivo,Arial,sans-serif;fill:#596355;font-size:11px}.chart circle{fill:#3b736e}.chart .gridline{stroke:#e2e7dd;stroke-width:1}.chart .axis{stroke:#a5b39a}.chart-title{display:flex;justify-content:space-between;gap:12px}.chart details{font-size:12px}.chart table{font-size:12px}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:12px 8px;text-align:left;border-bottom:1px solid #e2e7dd}th{font-weight:600;color:#596355}td input{min-width:105px}.scroll-table{overflow:auto}.guide-grid a{display:flex;gap:17px;align-items:center;text-decoration:none;padding:19px;border:1px solid #dfe5d8;background:#fff;border-radius:11px}.guide-grid a span{font-family:Georgia,serif;font-size:29px;color:#6e8061}.guide-grid a:hover{background:#e9efe6}details{margin:12px 0}summary{cursor:pointer;font-weight:600;padding:7px 0}.empty{padding:35px 12px;text-align:center}.empty h2{font-size:30px}.empty p{color:#5c655a}.steps{display:flex;gap:20px;flex-wrap:wrap;padding:15px 0 28px;color:#69745f;font-size:12px}.steps span{border-bottom:2px solid #d0dccb;padding-bottom:7px}.footer{padding:20px 42px;border-top:1px solid #e2e7dd;font-size:11px;color:#69745f;display:flex;justify-content:space-between;gap:12px}#sample-bar{padding:10px 42px;background:#e7eff6;color:#36556b;font-size:12px}#sample-bar button{display:inline;padding:0 4px;border:0;border-radius:0;background:none;color:#36556b;text-decoration:underline;font-size:12px;min-height:0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243d32;color:white;box-shadow:0 8px 30px #0002;max-width:min(600px,90vw);padding:14px 20px;border-radius:10px;z-index:50;display:none}#toast.visible{display:block}dialog{border:1px solid #dfe5d8;border-radius:16px;padding:30px;max-width:480px}dialog::backdrop{background:#17201688}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.photo-panel img{width:100%;height:180px;object-fit:cover;border-radius:10px}.pill-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.loading{padding:30px;text-align:center;color:#54604f}.spinner{display:inline-block;width:17px;height:17px;border:2px solid #a4b6a0;border-top-color:#3b422f;border-radius:100%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spinner{animation:none}}@media(max-width:1050px){.shell{grid-template-columns:180px 1fr}.sidebar{padding:28px 15px}.brand img{width:145px}main{padding:28px}.topbar{padding:0 28px}.grid.three{grid-template-columns:1fr}.hero h1{font-size:37px}.hero-copy{padding:28px}.hero{grid-template-columns:1.3fr .7fr}.grid.three.metrics{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){body{font-size:14px}.shell{display:block}.sidebar{position:static;height:auto;padding:18px 20px;border:0;display:block}.brand img{width:130px}.product-label{display:none}.sidebar nav{display:flex;gap:4px;overflow:auto;margin-top:15px}.sidebar nav a{padding:9px 10px;font-size:11px;white-space:nowrap}.sidebar nav a span{display:none}.sidebar-bottom{display:none}.topbar{height:55px;padding:0 20px}.topbar .eyebrow{font-size:8px;letter-spacing:1.4px}.topbar>div{gap:8px}.badge{font-size:10px}.topbar .quiet-link{font-size:11px}main{padding:23px 20px 35px}h1{font-size:32px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:27px}.hero h1{font-size:36px}.hero img{max-height:190px;object-position:50% 35%}.hero.dark{grid-template-columns:1fr}.hero.dark img{display:none}.hero.dark h1{font-size:32px}.grid,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.grid.three.metrics{gap:8px}.metrics .panel{padding:14px;margin-bottom:0}.number{font-size:27px}.metric-label{font-size:10px}.panel{padding:21px}.page-head{display:block}.page-head .actions{margin:14px 0}.calendar{gap:4px}.day{min-height:57px;padding:6px}.day strong{font-size:13px}.day span{font-size:8px}.footer{padding:20px;display:block}.footer span{display:block;margin-top:5px}#sample-bar{padding:10px 20px}.steps{gap:12px}.chart svg{min-height:170px}}
@media print{.sidebar,.topbar,.footer,#sample-bar,#toast,.actions,button,.no-print,form{display:none!important}.shell{display:block}main{max-width:none;padding:0}.panel{break-inside:avoid}.grid{display:block}.chart svg{max-height:180px}body{background:white;color:black}.hero{background:white;color:black}.hero img{display:none}a{color:black}h1{font-size:26px}h2{font-size:22px}}

.dry-record input[type=datetime-local]{min-width:0;max-width:100%;width:100%;box-sizing:border-box}.dry-record .check{display:flex;align-items:flex-start;gap:.6rem}.dry-record .check input{width:auto;flex:0 0 auto}.dry-summary{border-left:3px solid var(--sage,#70816b);padding-left:1rem;margin:1rem 0}.dry-record [hidden]{display:none!important}
/* Short setup stages keep the current decision in view on a phone. */
.setup-flow{max-width:850px;margin-inline:auto}.setup-steps{list-style:none;padding:0;display:flex;gap:16px;margin:0 0 24px}.setup-steps li{flex:1;border-top:2px solid #d8ccb8;padding-top:10px;font-size:14px;color:#626657}.setup-steps li[aria-current]{border-color:#3b422f;color:#263d2e;font-weight:600}.setup-steps li>span{display:block;font-size:12px;margin-bottom:5px}.setup-flow fieldset{margin-bottom:16px}.setup-flow .notice p:last-child{margin-bottom:0}.setup-flow label,.setup-flow .small,.setup-flow .field-note{font-size:14px}.setup-flow p{font-size:16px}.setup-flow [hidden]{display:none!important}.plan-explanation{font-size:14px}.plan-explanation li{margin-bottom:10px}.next-reminder{border-left:4px solid #809375}.setup-flow #setup-measurements{margin-top:28px;padding-top:24px;border-top:1px solid #d8ccb8}
@media(max-width:720px){.setup-steps{gap:10px}.setup-steps li{font-size:12px}.setup-flow .panel{padding:20px}.setup-flow .actions{gap:12px}.setup-flow .actions>a{padding:8px 0}.setup-flow h1{font-size:32px}}

#export-dialog{width:min(760px,94vw);max-width:760px}#export-content{font:12px/1.5 monospace;min-height:240px}@media(max-width:720px){.grid.three.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics .panel:first-child{grid-column:1/-1}.metrics .number{overflow-wrap:anywhere}.sidebar nav{scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.topbar>div{flex-wrap:wrap;justify-content:flex-end}.topbar .badge{font-size:9px}}

/* Size summary cards to the available workspace, including the in-app side panel. */
.workspace{container:workspace/inline-size}
.metrics .panel{container-type:inline-size;margin-bottom:0}
.metrics .plan-value{font-size:clamp(22px,15cqi,27px);overflow-wrap:normal}
@container workspace (max-width:760px){.grid.three.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics .panel:first-child{grid-column:1/-1}}
@container workspace (max-width:400px){.grid.three.metrics{grid-template-columns:minmax(0,1fr)}.metrics .panel:first-child{grid-column:auto}}

/* All layouts must fit their content area, not just the outer browser width. */
.grid,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid>*:not(.full),.form-grid>*,.page-head>*,.entry-head>*,.chart-title>*,.hero-copy,.actions>*{min-width:0}
.grid>.panel{margin-bottom:0}
.grid{margin-bottom:20px}
.panel,.hero-copy,.notice,dialog,.journal-entry,.guide-grid a{overflow-wrap:anywhere}
input,select,textarea{min-width:0;max-width:100%}
fieldset{min-inline-size:0}
legend{max-width:100%;overflow-wrap:anywhere}
button,.button{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
.badge{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.chip{max-width:100%;overflow-wrap:anywhere}
.entry-head,.chart-title{flex-wrap:wrap}
.guide-grid a>strong{min-width:0}
.guide-grid a>span{flex:none}
.sidebar nav a>span{width:22px;flex:none;text-align:center}
.eyebrow.brand-feature{text-transform:none}
.feedback-layout{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:25px;align-items:start}
.feedback-copy{min-width:0}
.feedback-copy h2{margin-top:9px}
.feedback-trigger,.feedback-portrait{display:flex;flex-direction:column;gap:0;width:240px;max-width:100%;padding:0;border:0;border-radius:12px;background:#3b422f;color:#f4efe6;overflow:hidden}
.feedback-trigger:hover .feedback-avatar{filter:brightness(1.04)}
.feedback-avatar{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover}
.feedback-label{display:block;width:100%;padding:12px 14px;min-height:48px;text-align:center;font-family:Georgia,serif;font-weight:400;font-size:21px;line-height:1.15;letter-spacing:.3px;text-transform:none}
.feedback-consent{margin-bottom:16px}
.feedback-panel[aria-busy=true] .feedback-trigger{opacity:.8;cursor:wait}
.feedback-portrait{margin:0}
.save-status{margin-top:16px}
.footer{flex-wrap:wrap;align-items:center}
.footer nav{display:flex;gap:8px 16px;flex-wrap:wrap}
.time-caption{gap:8px;flex-wrap:wrap}
.time-range{display:inline-flex;align-items:baseline;flex-wrap:wrap;column-gap:.22em}
.clock-time{white-space:nowrap}
.metrics .time-value{font-size:clamp(22px,9cqi,34px)}
td .time-input{min-width:125px}
/* On phones each plan day gets a named row and two clearly labeled time fields. */
@media(max-width:720px){
 #plan-form table,#plan-form tbody{display:block;width:100%}
 #plan-form thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%)}
 #plan-form tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;padding:14px 0;border-bottom:1px solid #d8ccb8}
 #plan-form tbody td{display:block;padding:0;border:0;min-width:0}
 #plan-form tbody td:first-child{grid-column:1/-1;white-space:nowrap;overflow-wrap:normal;font-weight:600}
 #plan-form td:nth-child(2)::before{content:'First meal';display:block;font-size:12px;margin-bottom:5px}
 #plan-form td:nth-child(3)::before{content:'Finish eating';display:block;font-size:12px;margin-bottom:5px}
 #plan-form td .time-input{min-width:0;width:100%;padding:10px;font-size:14px}
}
.calendar{grid-template-columns:repeat(auto-fit,minmax(min(100%,72px),1fr));gap:8px}
a.button.day{padding:8px;gap:6px;min-width:0;min-height:78px;align-items:flex-start;justify-content:space-between;text-align:left;text-decoration:none}
.day strong{font-size:18px;line-height:1.1}
.day span{font-size:11px;line-height:1.25;max-width:100%}
.calendar-note{margin:12px 0 0;font-size:12px;color:#5c655a}
.calendar-key{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;color:#5c655a;margin-top:12px}
.calendar-key span{display:inline-flex;align-items:center;gap:6px}
.calendar-key i{width:11px;height:11px;border:1px solid #a8c3ae;border-radius:3px;background:#e0ede3}
.scroll-table{max-width:100%;overscroll-behavior-x:contain}
.chart details table{table-layout:fixed}
.chart details th,.chart details td{overflow-wrap:anywhere}
pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
.topbar{min-height:80px;height:auto;padding-top:15px;padding-bottom:15px;flex-wrap:wrap}
.topbar>div{min-width:0;flex-wrap:wrap}
@container workspace (max-width:760px){
 .grid:not(.metrics),.form-grid{grid-template-columns:minmax(0,1fr)}
 .form-grid .full{grid-column:auto}
 .hero{grid-template-columns:minmax(0,1fr)}
 .hero img{max-height:210px}
 .hero.dark img{display:none}
 .feedback-layout{grid-template-columns:minmax(0,1fr);gap:20px}
}
@media(max-width:720px){
 .grid:not(.metrics),.form-grid{grid-template-columns:minmax(0,1fr)}
 .topbar{min-height:55px}
 .sidebar nav{flex-wrap:wrap;overflow:visible}
 .sidebar nav a{white-space:normal}
 .calendar{gap:7px}
 .footer nav{margin:12px 0}
}

@font-face{font-family:CutGallery;src:url("/assets/CutGallery.woff2") format("woff2");font-display:swap}
.feedback-label{font-family:CutGallery,Archivo,sans-serif}
.quick-checkin{border:1px solid #adc4af;background:#f5f8f1}
.quick-checkin h2{margin:8px 0 12px}
.quick-checkin .badge{align-self:flex-start;flex:none}
.quick-checkin textarea{min-height:76px}
.planner-scope{margin:18px 0;padding:16px 18px;background:#f0f3eb;border-radius:12px}
.planner-scope summary{line-height:1.5}
.planner-scope p{margin:14px 0}
.week-jump{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:18px 0}
.week-jump label{flex:1 1 190px}
.week-jump button{margin-bottom:0}
/* The daily working surface keeps the routine and the record close together. */
.today-heading{margin-bottom:18px}.today-heading h1{font-size:clamp(32px,5vw,52px)}
.context-help{margin:0 0 22px;padding:14px 18px;border:1px solid #d3d8cc;border-radius:12px;background:#fff}
.context-help summary,.history-tools summary,.checkin-extras summary{font-size:1rem;cursor:pointer}
.context-help li{margin:12px 0;line-height:1.55}.context-help .actions{margin-top:16px}
.routine-card{border-left:5px solid #586942;padding:24px}.routine-card h2{margin:14px 0}
.routine-window{font-size:1.1rem}.routine-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.routine-actions button{flex:1 1 180px;white-space:normal;min-height:48px}
.checkin-extras{margin:20px 0;padding-top:18px;border-top:1px solid #cdd6c8}
.checkin-extras .form-grid{margin:18px 0}.checkin-extras button{margin-top:12px}
#day-adjustment{padding:18px 0}#day-adjustment[hidden]{display:none}
.saved-checkin{border:1px solid #adc4af;background:#f5f8f1}.saved-checkin h2{margin:10px 0}
.saved-note{max-height:150px;overflow:auto}.history-tools{margin:22px 0}.history-tools>summary{padding:14px 0}
.history-tools #history-filter-form{margin-top:12px}.metric-recap{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.metric-recap p{display:flex;flex-direction:column;gap:6px}.metric-recap span{font-size:14px;color:#4d554b}
.plan-days{display:grid;gap:18px;margin:22px 0}.plan-day{margin:0;padding:20px;border:1px solid #d2d7cb;border-radius:12px;min-width:0}
.plan-day legend{font-size:1rem;font-weight:700;padding:0 8px}.plan-day .form-grid{margin:0}
.review-barriers{margin:20px 0;border:0;padding:0}.review-barriers legend{font-size:1rem;margin-bottom:12px}
#review-form textarea{min-height:82px}#review-form label{margin:14px 0}
.time-choice,.time-choice-row label{min-width:0}.time-choice-row{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:8px}.time-choice-row select{min-width:0;width:100%;padding-left:10px;padding-right:20px}
@media(max-width:540px){.routine-actions{flex-direction:column}.routine-actions button{flex:auto;width:100%}.routine-card{padding:20px}.plan-day{padding:16px}.time-choice-row{gap:6px}}
#history-filter-form{margin-bottom:20px}
.weekly-patterns{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;padding:18px;background:#f3f5ef;border-radius:12px}
.weekly-patterns[hidden],#same-pattern[hidden]{display:none}
.routine-week{margin:18px 0;padding:14px 0;border-top:1px solid #d3d8cc}
.routine-week ul{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:10px}
.routine-week li{display:flex;justify-content:space-between;gap:16px;line-height:1.5}
.routine-week li span{text-align:right}
.first-week{background:#eff3e9;border:1px solid #d1dbc5}.first-week h2{margin:14px 0}
.recap-fact{padding:14px 0;border-bottom:1px solid #e0e2d9}.recap-fact p{margin:0 0 8px}
.recap-fact summary{font-size:14px;cursor:pointer}.recap-sources{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 0}
.weekly-recap blockquote{margin:16px 0;padding:6px 18px;border-left:3px solid #adb99c}.weekly-recap blockquote a{font-size:14px}
.save-state{padding:0 40px;color:#555e51;font-size:13px;line-height:1.5}.save-state p{margin:8px 0}
#draft-recovery{margin:12px 0 20px;padding:14px 18px;background:#f4f2e9;border:1px solid #dcd6bb;border-radius:12px;font-size:14px}
#draft-recovery .actions{margin-top:8px}.save-state:has(#save-status:empty){display:none}
@media(max-width:720px){.save-state{padding:0 20px}.weekly-patterns{grid-template-columns:minmax(0,1fr)}.routine-week li{flex-wrap:wrap;gap:3px 12px}.routine-week li span{text-align:left}.first-week .entry-head{align-items:start;gap:8px}}
@container workspace (max-width:540px){.week-jump{align-items:stretch}.week-jump label,.week-jump button{width:100%}}

.tutorial-context-link{margin-top:28px;padding-top:18px;border-top:1px solid #d8ccb8;font-size:14px}.tutorial-context-link a{display:inline-block;min-height:44px;padding:10px 0}

/* Current routine stays visible above the daily check-in. */
.routine-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin:0 0 20px;background:#e8eddf;border:1px solid #c8d0bb;border-radius:12px}.routine-summary p{margin:4px 0}.routine-summary>a{flex-shrink:0;min-height:44px;display:flex;align-items:center}@media(max-width:600px){.routine-summary{align-items:flex-start;flex-direction:column;gap:4px;padding:14px 16px}}

/* Keep the active period visible beside the records it describes. */
.progress-periods{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.progress-periods a{padding:.6rem .85rem;border:1px solid var(--line,#d5d1c3);border-radius:8px;text-decoration:none}.progress-periods a[aria-current]{background:#303728;color:#fff}

/* Connected setup, check-in and review pass. */
.intent-choice{display:flex;gap:12px;padding:18px;border:1px solid var(--line,#d9d0c2);border-radius:14px;margin:12px 0;cursor:pointer}.intent-choice input{width:auto;flex:0 0 auto;align-self:flex-start;margin-top:5px}.intent-choice .field-note{display:block;margin-top:7px}.intent-choice:has(input:checked){background:#edf1e8;border-color:#385344}.checkin-more{margin-top:22px}.day-summary-toggle{margin-top:22px}.reminders article+article{margin-top:18px;padding-top:18px;border-top:1px solid #ddd3c5}.plan-confirm{position:sticky;bottom:0;background:#fffaf2;padding:14px 0;margin-top:18px;border-top:1px solid #ded4c6}.saved-review textarea{min-height:110px}.entry-extra-actions{display:flex;gap:18px;flex-wrap:wrap}#common-times[hidden],#different-times[hidden]{display:none!important}
html{scrollbar-gutter:stable}

.purchase-summary{display:flex;gap:1.25rem;align-items:center;padding:1.25rem;background:#f1f0e8;border-radius:16px;max-width:760px;margin:1.5rem 0}.purchase-summary img{width:80px;height:auto;object-fit:contain;flex:none}.purchase-summary p{margin:.4rem 0}.purchase-form{max-width:680px}.purchase-steps{display:flex;gap:2rem;flex-wrap:wrap;padding-left:1.5rem;margin:2rem 0}.purchase-steps li{padding-right:1rem}.purchase-steps [aria-current]{font-weight:700}
