/* Text-only comparison: neutral recolour, original layouts retained. */
:root{--bg:#fcfbf8;--white:#fff;--ink:#302f29;--muted:#787470;--olive:#77685a;--dark:#5e4f42;--sage:#e8e1db;--pale:#f3f0ee;--line:#e8e5e3;--shadow:0 3px 17px #3b2e2310;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f0eeec;font-synthesis:none;line-height:1.45;-webkit-tap-highlight-color:transparent}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{color:inherit}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #a49180;outline-offset:3px}button{border:0;background:none;min-height:44px}button:disabled{opacity:.45;cursor:default}button svg{pointer-events:none}h1,h2,h3,h4,p{margin:0}h1{font-size:28px;line-height:1.18;letter-spacing:-.8px}h2{font-size:23px;line-height:1.25;letter-spacing:-.5px}h3{font-size:18px;line-height:1.35;letter-spacing:-.25px}h4{font-size:16px;margin-bottom:8px}p+p{margin-top:8px}small,.small{font-size:13px}.muted{color:var(--muted)}.olive{color:var(--olive)}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);font-weight:650;margin-bottom:8px}.app-shell{max-width:490px;height:100dvh;min-height:400px;margin:auto;display:flex;flex-direction:column;background:var(--bg);position:relative;overflow:hidden}#main{flex:1;overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth;scroll-padding-top:18px;padding:20px 17px 28px;outline:none}#app-header:empty{display:none}#app-header{flex:none;background:var(--bg);z-index:30}.header-row{height:68px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;border-bottom:1px solid var(--line)}.brand{letter-spacing:1px;font-weight:650;color:var(--muted);font-size:19px}.header-row h1{font-size:23px;letter-spacing:-.5px}.round-btn{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--olive);background:var(--pale)}.round-btn svg{width:23px;height:23px}.entry-heading{text-align:center}.entry-heading h1{font-size:18px}.entry-heading p{font-size:12px;color:var(--muted);margin-top:3px}.primary{background:var(--olive);color:#fff;border-radius:13px;padding:10px 19px;font-weight:600;min-height:46px}.secondary{border:1px solid var(--line);border-radius:13px;background:#fff;padding:10px 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px}.secondary svg,.primary svg{width:20px;height:20px}.full{width:100%}.text-btn{display:inline-flex;align-items:center;gap:7px;color:var(--olive);padding:6px 9px;font-size:15px}.text-btn svg{width:19px;height:19px}.danger{color:#88513f}.card{background:var(--white);border:1px solid #eeeceb;border-radius:var(--radius);padding:18px;margin-bottom:17px;box-shadow:var(--shadow)}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.card-heading h2,.card-heading h3{display:flex;gap:9px;align-items:center}.card-heading svg{width:25px;height:25px;color:var(--olive)}.divider{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.empty{color:var(--muted);font-size:14px;line-height:1.55}.notice{background:var(--pale);color:var(--dark);border-radius:17px;padding:17px 18px;margin-bottom:19px;font-weight:600}.intro{margin-bottom:20px}.intro p{margin-top:8px}.greeting{position:relative;min-height:145px;padding-top:9px;padding-right:104px}.greeting h1{font-size:29px;line-height:1.25;max-width:290px}.greeting p{color:var(--muted);font-size:15px;margin-top:9px}.companion{width:91px;height:136px;flex:none;background-image:url('assets/home-reference.jpeg');background-size:390px auto;background-position:-283px 0;background-repeat:no-repeat;mix-blend-mode:multiply}.greeting .companion{position:absolute;right:-3px;top:-10px}.oars{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0 7px}.phase{text-align:center;font-size:23px;font-weight:500;color:#463b32}.phase-track{height:9px;border-radius:10px;overflow:hidden;background:#e8e5e3;margin-top:6px}.phase-track span{height:100%;display:block;background:var(--olive)}.phase:first-child .phase-track span{background:#b59e89}.phase-caption{color:var(--muted);font-size:14px;margin-bottom:20px}.period-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.period-button{border:1px solid var(--olive);border-radius:17px;min-height:91px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;font-size:15px;font-weight:600;color:var(--olive);padding:10px 2px}.period-button svg{width:34px;height:34px}.section-title{margin:23px 4px 13px}.signals-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.signal-summary{text-align:center;min-width:0}.signal-summary .icon{width:36px;height:36px;margin:auto;color:var(--olive)}.signal-summary span{display:block;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.summary-group{border-top:1px solid var(--line);padding-top:12px;margin-top:13px}.summary-group h4{margin-bottom:9px;font-size:15px}.chips{display:flex;flex-wrap:wrap;gap:7px}.chip{display:inline-flex;align-items:center;gap:7px;background:var(--pale);border-radius:22px;padding:7px 11px;font-size:13px;min-height:38px}.chip svg{width:22px;height:22px;color:var(--olive)}#bottom-nav{flex:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px 7px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffffa;z-index:40}.nav-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;color:#817d79;padding:6px 1px;border-radius:15px;min-height:59px}.nav-btn.active{background:var(--sage);color:var(--dark)}.nav-btn svg{width:24px;height:24px;stroke-width:2}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--pale);padding:4px;border-radius:15px;margin-bottom:20px}.tabs button{border-radius:12px;font-size:16px;min-height:42px}.tabs .active,.segmented .active{background:var(--olive);color:#fff}.form-row{display:grid;grid-template-columns:117px minmax(0,1fr);align-items:center;gap:8px;margin-bottom:11px}.form-row>label{font-size:13px;line-height:1.35}.select-wrap{position:relative;min-width:0}.select-wrap select{width:100%;min-height:49px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);padding:10px 32px 10px 11px;appearance:none;font-size:14px}.select-wrap:after{content:'⌄';position:absolute;right:12px;top:11px;pointer-events:none;font-size:18px;color:var(--olive)}.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.segmented button{font-size:12px;min-height:45px;padding:7px 3px;border-radius:11px;background:var(--pale);white-space:normal;line-height:1.25}.correlation-intro{font-size:15px;margin-bottom:16px}.compare-card{padding:0;overflow:visible;margin-top:24px;border-radius:20px}.compare-title{padding:17px 15px 12px}.compare-title h2{font-size:20px}.compare-title p{font-size:13px;color:var(--muted);margin-top:5px}.pinned-panel{position:sticky;top:-20px;z-index:12;background:#fff;border-radius:20px 20px 0 0;box-shadow:0 7px 9px -9px #30261d65}.column-grid{display:grid;grid-template-columns:65px repeat(3,minmax(0,1fr))}.signal-strip{padding:9px 7px 14px;align-items:center}.signal-strip .signal-cell{min-width:0;text-align:center;border-left:1px dashed var(--line);padding:3px 3px;min-height:91px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px}.signal-cell svg{width:42px;height:42px;color:var(--olive)}.signal-cell span{font-size:12px;line-height:1.25}.time-band{background:var(--pale);border-radius:9px;margin:0 7px;padding:8px 0;color:var(--dark);align-items:center}.time-band span{text-align:center;font-size:11px;padding:0 2px;font-weight:600}.time-band button{font-size:11px;text-align:center;min-height:35px;padding:0 1px;color:var(--dark)}.compare-row{padding:13px 7px;border-bottom:1px solid var(--line);align-items:stretch}.compare-row:last-child{border-bottom:none}.row-label{font-size:11px;padding:4px 5px 0 0;font-weight:600;display:flex;align-items:center;line-height:1.3;overflow-wrap:anywhere}.record-column{border-left:1px dashed var(--line);padding:0 3px;display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0}.record-symbol{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;width:100%;min-height:57px;padding:2px 0}.symbol-wrap{position:relative;display:inline-flex}.symbol-wrap>.icon{width:31px;height:31px;color:var(--olive)}.badge{position:absolute;right:-10px;top:-3px;width:17px;height:17px;border:2px solid white;border-radius:50%;background:var(--olive);color:#fff;font-size:12px;line-height:13px;text-align:center;font-weight:700}.record-symbol .record-label{font-size:11px;line-height:1.25;text-align:center;overflow-wrap:anywhere}.record-column .empty{font-size:11px;text-align:center;padding-top:8px}.legend{padding:11px 13px;margin:12px 0;background:var(--pale);border-radius:12px;font-size:12px;color:#66605a;line-height:1.7}.legend b{display:inline-flex;border-radius:50%;background:var(--olive);color:white;width:18px;height:18px;align-items:center;justify-content:center;margin-right:3px;font-size:13px}.period-label{font-size:13px;color:var(--muted);margin:18px 0}.pattern-card h2{font-size:20px;line-height:1.4}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-top:20px}.day-record{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:114px;border-right:1px dashed var(--line);padding:0 1px;font-size:10px;text-align:center;line-height:1.3}.day-record:last-child{border-right:0}.day-record .day-heading{font-size:11px;color:var(--muted)}.day-record button{padding:0;min-height:38px;width:100%;display:grid;place-items:center}.day-circle{width:34px;height:34px;border:1.5px solid var(--olive);border-radius:50%;display:grid;place-items:center;color:var(--olive)}.day-circle svg{width:27px;height:27px}.day-circle.match{background:var(--olive);color:#fff}.day-circle.no-response{border:1.5px dashed #a69c93;color:var(--muted);font-size:17px}.pattern-legend{display:flex;flex-wrap:wrap;gap:13px;font-size:11px;color:var(--muted);margin:15px 0}.pattern-legend span{display:flex;align-items:center;gap:5px}.mini-dot{width:12px;height:12px;border:1px solid var(--olive);border-radius:50%;display:inline-block}.mini-dot.filled{background:var(--olive)}.mini-dot.missing{border-style:dashed}.compare-dots{display:flex;align-items:center;gap:7px;margin:18px 0;flex-wrap:wrap}.compare-dots .mini-dot{width:19px;height:19px}.compare-dots>span:first-child{margin-right:8px;font-size:13px;min-width:80px}.streak{display:flex;justify-content:space-around;align-items:center;gap:8px;background:var(--pale);border-radius:15px;padding:13px 8px;margin:14px 0 10px}.streak>div{display:flex;flex-direction:column;gap:7px;align-items:center;font-size:12px}.entry-welcome{display:flex;align-items:center;gap:5px;margin-top:-14px;margin-bottom:9px;min-height:100px}.entry-welcome .companion{transform:scale(.65);margin:-25px -15px -25px -12px}.entry-welcome h2{font-size:22px}.jump-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:18px}.jump-grid button{display:flex;gap:6px;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px 4px;font-size:12px;min-height:48px}.jump-grid svg{width:22px;height:22px;color:var(--olive)}.entry-section{scroll-margin-top:15px}.question{margin-top:19px}.question:first-of-type{margin-top:12px}.question>h3{font-size:17px;margin-bottom:9px}.choices{display:grid;gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.choices.mood{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.choices.two{grid-template-columns:repeat(2,minmax(0,1fr))}.choice{position:relative;min-width:0;min-height:77px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border-radius:16px;background:var(--pale);padding:10px 4px;border:1px solid transparent;line-height:1.25}.choice svg{width:33px;height:33px;color:var(--olive)}.choice .choice-label{font-size:12px;text-align:center;overflow-wrap:anywhere}.choice.selected{background:var(--olive);color:#fff}.choice.selected svg{color:#fff}.choice.selected:after{content:'✓';position:absolute;bottom:5px;right:5px;border-radius:50%;background:#fff;color:var(--olive);width:15px;height:15px;font-size:11px;line-height:15px;font-weight:750;text-align:center}.choices.portions .choice{min-height:73px}.portion-symbol{display:block;width:35px;height:35px;border-radius:50%;border:2px solid currentColor;padding:3px;color:var(--olive);background:conic-gradient(currentColor var(--fill),transparent 0);background-origin:content-box;background-clip:content-box}.selected .portion-symbol{color:#fff}.portion-symbol.extra{box-shadow:10px 0 0 -2px var(--pale),11px 0 0 0 currentColor;margin-left:-8px}.choice.selected .portion-symbol.extra{box-shadow:10px 0 0 -2px var(--olive),11px 0 0 0 currentColor}.movement-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.meals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.meal-tile{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;border:1px solid var(--line);border-radius:13px;padding:12px 5px;min-height:103px;background:var(--pale);font-size:12px;text-align:center}.meal-tile svg{width:34px;height:34px;color:var(--olive)}.meal-tile.active{border-color:var(--olive)}.platter{padding:15px 0;border-top:1px solid var(--line);margin-top:17px}.platter-heading{display:flex;align-items:center;justify-content:space-between;gap:7px}.platter-heading h3{font-size:17px}.platter-heading button{flex:none}.two-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.two-actions button{font-size:12px}.routine{border:1px solid var(--line);border-radius:15px;padding:12px;margin-top:11px}.routine h3{font-size:15px;display:flex;gap:8px;align-items:center;margin-bottom:10px}.routine h3 svg{width:24px;height:24px;color:var(--olive)}.routine .choices{gap:5px}.routine .choice{min-height:49px;padding:9px 5px;border-radius:11px}.routine .choice .choice-label{font-size:12px}.third-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}.third-grid .choice{min-height:96px}.saved-hint{font-size:12px;color:var(--muted);margin-top:12px}.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.sheet-header h2{font-size:22px}dialog{border:0;border-radius:25px;padding:22px;max-width:450px;width:calc(100% - 24px);max-height:85dvh;color:var(--ink);box-shadow:0 20px 80px #1e171140;background:var(--bg)}dialog::backdrop{background:#28221c70;backdrop-filter:blur(3px)}.sheet-list{display:flex;flex-direction:column;gap:9px}.sheet-list button{display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;min-height:64px}.sheet-list svg{width:30px;height:30px;color:var(--olive);flex:none}.field{display:flex;flex-direction:column;gap:7px;margin:14px 0}.field input,.field textarea{border:1px solid var(--line);border-radius:11px;padding:11px;width:100%;background:white;color:var(--ink)}.sheet-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.detail-list{margin:15px 0;display:flex;flex-direction:column;gap:10px}.detail-item{display:flex;gap:10px;align-items:center;background:white;border:1px solid var(--line);border-radius:13px;padding:12px}.detail-item svg{width:31px;height:31px;color:var(--olive);flex:none}.detail-item small{display:block;color:var(--muted)}#toast{position:fixed;left:50%;bottom:102px;transform:translate(-50%,12px);opacity:0;pointer-events:none;transition:.2s;z-index:150;background:var(--dark);color:white;border-radius:14px;padding:12px 20px;font-size:14px;box-shadow:0 4px 22px #2e251d30;width:max-content;max-width:90vw;text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}.prototype-note{font-size:11px;color:var(--muted);text-align:center;margin:20px 0 0}.placeholder{padding:20px 0}.placeholder .large-icon{width:62px;height:62px;color:var(--olive);margin-bottom:18px}.placeholder p{color:var(--muted);margin-top:12px}.icon{display:block;overflow:visible}.empty-state{text-align:center;padding:24px 10px}.empty-state svg{width:40px;height:40px;color:var(--olive);margin:0 auto 12px}.profile-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.profile-row p{font-size:14px}.profile-row .secondary{font-size:13px}.card>p.small{margin-top:11px}.source-link{color:var(--olive);font-size:13px}.diary-period{margin-top:17px}.diary-period h3{margin-bottom:10px}.icon.mini{width:19px;height:19px}.screen-time-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.negative-space{padding:12px}.response-note{font-size:12px;color:var(--muted);line-height:1.5;margin-top:13px}@media(min-width:650px){body{padding:28px 0}.app-shell{height:calc(100dvh - 56px);border:1px solid #e3deda;border-radius:32px;box-shadow:0 18px 70px #3f312416}}@media(max-width:360px){#main{padding:16px 12px}.card{padding:14px}.form-row{grid-template-columns:96px minmax(0,1fr)}.column-grid{grid-template-columns:56px repeat(3,minmax(0,1fr))}.choices.mood .choice{padding:9px 1px}.choice .choice-label{font-size:11px}.greeting h1{font-size:26px}.nav-btn{font-size:9px}.signal-summary span{font-size:10px}.day-circle{width:29px;height:29px}.day-circle svg{width:23px;height:23px}.pattern-card h2{font-size:18px}}@media(prefers-reduced-motion:reduce){#main{scroll-behavior:auto}#toast{transition:none}}

@media(max-width:360px){.pinned-panel{top:-16px}}
.symbol-rail{display:flex;align-items:flex-start;gap:15px;overflow-x:auto;padding:6px 5px 10px;scrollbar-width:thin;scrollbar-color:#d0c7bf transparent}.summary-symbol{display:flex;flex:0 0 63px;min-width:63px;flex-direction:column;align-items:center;gap:8px;padding:5px 0;line-height:1.25}.summary-symbol .symbol-wrap>.icon{width:41px;height:41px}.summary-symbol>span:last-child{font-size:12px;text-align:center}.badge{width:22px;height:22px;line-height:18px;font-size:14px;right:-10px;top:-5px;letter-spacing:-1px;border-width:2px}.record-symbol .symbol-wrap>.icon{width:41px;height:41px}.record-symbol{min-height:72px;gap:9px}.record-symbol .record-label{font-size:12px}.choice .symbol-wrap>.icon,.choice>svg{width:40px;height:40px}.choice .badge{border-color:var(--pale)}.choice.selected .badge{background:white;color:var(--olive);border-color:var(--olive)}.choice.selected:after{display:none}.routine-choices{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;scrollbar-width:thin;padding:6px 3px 8px}.routine .choice{flex:1 0 51px;min-height:91px;gap:9px;padding:10px 3px}.routine .choice-label{font-size:11px!important;min-height:28px;display:flex;align-items:center;justify-content:center}.routine .symbol-wrap>.icon{width:39px;height:39px}.routine h3{font-size:17px}.choices.portions{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:5px;padding:5px 2px 9px;scrollbar-width:thin}.choices.portions .choice{flex:1 0 47px;min-height:83px}.choices.portions.movement-choices .choice{flex-basis:44px}.skip-meal{margin-top:14px;width:115px;min-height:91px}.skip-meal .choice-label{font-size:12px}.day-circle .symbol-wrap>.icon{width:26px;height:26px}.day-circle .badge{width:15px;height:15px;font-size:10px;line-height:12px;right:-5px;top:-3px;border-width:1px}.symbol-rail .badge{border-color:#fff}.question>h3,.platter-heading h3{margin-bottom:9px}
.compact-comparison{padding-top:20px;padding-bottom:18px}.compact-cell{position:relative;justify-content:flex-start;gap:0;min-height:98px}.compact-cell.has-more>.record-symbol .symbol-wrap{transform:translateX(-14px)}.compact-cell.has-more>.record-symbol .record-label{padding:0 3px}.more-entries{position:absolute;right:-3px;top:2px;min-width:40px;min-height:44px;padding:4px 0;color:var(--olive);display:grid;place-items:center;border-radius:12px;font-weight:650;font-size:14px;z-index:2}.more-entries>span{background:var(--pale);border:1px solid #e0d9d3;border-radius:10px;min-width:30px;padding:5px 3px;line-height:1.1}.more-entries.active>span{background:var(--olive);color:white;border-color:var(--olive)}.expanded-entry-panel{background:#FAF6EF;border-top:1px solid #e3ddd7;padding:17px 16px 13px;border-radius:0 0 20px 20px}.expanded-entry-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:10px}.expanded-entry-heading h3{font-size:17px}.expanded-entry-heading p{margin-top:3px}.expanded-entry-heading .round-btn{background:#ece6e0;flex:none}.expanded-entry-list{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:13px;padding:9px 6px 13px;scrollbar-width:thin;scrollbar-color:#bfb0a3 transparent;scroll-snap-type:x proximity}.expanded-entry-list>.record-symbol{flex:0 0 79px;width:79px;min-height:93px;border:1px solid #e9e3de;background:#fff;border-radius:14px;padding:12px 4px 9px;scroll-snap-align:start;gap:10px}.expanded-entry-list .badge{border-color:white}.expanded-entry-list:focus-visible{outline:2px solid var(--olive);outline-offset:3px}@media(max-width:360px){.compact-cell.has-more>.record-symbol .symbol-wrap{transform:translateX(-11px)}.compact-cell .symbol-wrap>.icon{width:36px;height:36px}.more-entries{right:-7px;min-width:36px}.expanded-entry-panel{padding-inline:12px}}
.compact-cell.has-more>.record-symbol .symbol-wrap{transform:none}.compact-cell.has-more>.record-symbol .record-label{padding-right:25px}.more-entries{top:47px}
.period-summary{padding:15px}.period-summary .card-heading{margin-bottom:6px}.period-summary .summary-group{padding-top:9px;margin-top:9px}.period-summary .summary-group h4{font-size:14px;margin-bottom:5px}.period-summary .symbol-rail{gap:6px;padding:4px 2px 5px}.period-summary .summary-symbol{flex:0 0 49px;min-width:49px;gap:5px;padding:3px 0}.period-summary .summary-symbol .symbol-wrap>.icon{width:28px;height:28px}.period-summary .summary-symbol>span:last-child{font-size:11px;line-height:1.25;overflow-wrap:anywhere;max-width:56px}.period-summary .badge{width:17px;height:17px;line-height:13px;font-size:11px;right:-8px;top:-4px}.period-summary .empty{font-size:13px}.routine{padding:10px;margin-top:8px}.routine-choices{gap:6px;padding:4px 2px 5px}.routine .choice{flex:0 1 78px;min-width:48px;min-height:78px;gap:6px;padding:8px 4px}.routine .choice-label{min-height:0;font-size:12px!important;line-height:1.25}.routine h3{margin-bottom:7px}.question{margin-top:15px}.compact-comparison{padding-top:12px;padding-bottom:12px}.compact-cell{min-height:92px}.expanded-entry-panel{padding:13px 12px 10px}.expanded-entry-heading{margin-bottom:6px}.expanded-entry-list{gap:10px;padding:7px 4px 9px}.expanded-entry-list>.record-symbol{flex-basis:74px;width:74px;min-height:81px;padding:9px 4px 7px;gap:6px}
.period-summary .summary-symbol{flex:0 0 auto;min-width:49px;max-width:80px}.period-summary .summary-symbol>span:last-child{max-width:76px;overflow-wrap:normal;word-break:normal}

/* OARS v5: one scale for reading, comparing and selecting. */
:root{--bg:#FAF6EF;--ink:#493326;--muted:#766657;--olive:#8A6A53;--dark:#654431;--forest:#503828;--sage:#E9DCCB;--pale:#F4ECE0;--mint:#F5EEE5;--moss:#A28D79;--warm:#F0E5D8;--line:#E7DBCE;--shadow:0 3px 18px #44392f06;background:#ece8e4;font-size:15px}
.app-shell{width:min(100%,var(--preview-width,460px));max-width:460px;container-type:inline-size;background:var(--bg)}
.app-shell #main{padding:16px 16px 24px;scrollbar-width:thin;scrollbar-color:#cfc6be transparent;scroll-padding-top:14px}
.app-shell h1{font-size:24px;font-weight:680;letter-spacing:-.65px}.app-shell h2{font-size:18px;font-weight:650;letter-spacing:-.35px}.app-shell h3{font-size:16px;font-weight:620}.app-shell h4{font-size:14px}.app-shell .small,.app-shell small{font-size:12px;line-height:1.45}
.app-shell .header-row{height:auto;min-height:62px;padding:8px 16px}.app-shell .header-row h1{font-size:21px}.app-shell .brand{display:inline-flex;align-items:center;gap:5px;font-size:15px;font-weight:700;letter-spacing:2px;color:var(--dark)}.brand-dot{width:5px;height:5px;background:var(--moss);border-radius:50%;margin-top:7px}
.app-shell .round-btn{width:44px;height:44px;min-height:44px;background:var(--pale)}.app-shell .round-btn svg{width:21px;height:21px}.app-shell .primary{min-height:44px;padding:10px 16px;border-radius:13px;font-size:14px;background:var(--dark)}.app-shell .secondary{min-height:44px;font-size:13px;padding:9px 12px;border-radius:12px}.app-shell .text-btn{min-height:44px;padding:6px 5px;font-size:13px;gap:5px}.app-shell .text-btn svg{width:17px;height:17px}.app-shell .card{padding:16px;margin-bottom:14px;border:1px solid #ece8e4;border-radius:20px;box-shadow:var(--shadow)}.app-shell .eyebrow{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:650;letter-spacing:1px;color:var(--olive);margin-bottom:6px}.app-shell .eyebrow svg{width:15px;height:15px}.app-shell .prototype-note{font-size:11px;line-height:1.5;margin:17px 0 2px}.app-shell .empty{font-size:12px}
/* Home */
.home-topline{display:flex;align-items:center;justify-content:space-between;margin:-4px 1px 9px}.app-shell .home-topline .round-btn{width:38px;height:38px;min-height:38px;background:#f0ebe7}
.welcome-banner{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:114px;border-radius:21px;padding:16px 18px;margin-bottom:12px;background:linear-gradient(115deg,#ebe4de,#f2ece7);overflow:hidden}.app-shell .welcome-banner h1{font-size:23px;line-height:1.22;letter-spacing:-.6px}.welcome-date{font-size:12px;color:#6f655d;margin-bottom:7px}.app-shell .companion{width:70px;height:100px;background-size:290px auto;background-position:-211px -2px;flex:none;margin:-7px -3px -7px 0}
.programme-card{padding:12px 14px 11px;border-radius:17px;background:#fff;border:1px solid var(--line);margin-bottom:20px}.programme-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.app-shell .phase-caption{margin:0;background:var(--mint);color:var(--dark);padding:3px 8px;border-radius:20px;font-size:11px;font-weight:600}.app-shell .oars{gap:7px;margin:9px 0 8px}.app-shell .phase{font-size:15px;color:var(--dark);font-weight:550}.app-shell .phase-track{height:5px;background:#efece9;margin-top:5px}.app-shell .phase-track span{background:#867362}.app-shell .phase:first-child .phase-track span{background:#bfae9f}.programme-note{font-size:12px;color:var(--muted)}
.entry-invitation{margin:0 0 22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.app-shell .section-heading h2{font-size:17px}.app-shell .section-heading>.small{font-size:11px}.app-shell .period-buttons{gap:8px;margin-top:11px}.app-shell .period-button{min-height:73px;padding:10px 5px;gap:7px;border-radius:16px;font-size:13px;font-weight:600;border:1px solid #e6dfd9;color:var(--dark)}.app-shell .period-button>.icon{width:25px;height:25px}.period-button.period-morning{background:#efe7e0;color:#7b6653}.period-button.period-afternoon{background:#ece6e0;color:#705d4d}.period-button.period-evening{background:#ebe8e6;color:#64584e}.app-shell .day-heading{margin:0 2px 10px}
.app-shell .period-summary{padding:12px 14px 13px;border-color:#e9e4df;box-shadow:0 3px 14px #42372d04}.app-shell .period-summary .card-heading{margin-bottom:2px}.app-shell .period-summary .card-heading h2{font-size:17px;gap:8px}.app-shell .period-summary .card-heading h2>.icon{width:31px;height:31px;padding:5px;border-radius:10px;background:var(--warm);color:#826e5d}.app-shell .period-summary.period-afternoon .card-heading h2>.icon{background:#eee8e2;color:#756252}.app-shell .period-summary.period-evening .card-heading h2>.icon{background:#edeae8;color:#675a4f}
.app-shell .period-summary .summary-group{margin-top:9px;padding-top:9px;border-color:#efebe8}.app-shell .summary-group h4{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#6e665f;margin-bottom:5px}.summary-group h4:before{content:'';width:4px;height:4px;border-radius:50%;background:#a79484}.summary-group:nth-of-type(3) h4:before{background:#a7907b}.summary-group:nth-of-type(4) h4:before{background:#817367}.summary-group:nth-of-type(5) h4:before{background:#908274}
.app-shell .period-summary .symbol-rail{gap:11px;padding:4px 3px;scrollbar-color:#d0c5bb transparent}.app-shell .period-summary .summary-symbol{min-width:43px;max-width:75px;gap:5px;padding:2px 0}.app-shell .period-summary .summary-symbol .symbol-wrap>.icon{width:23px;height:23px}.app-shell .period-summary .summary-symbol>span:last-child{font-size:12px;max-width:75px}.app-shell .badge{min-width:15px;width:auto;height:15px;padding:0 2px;right:-7px;top:-5px;border-width:1.5px;font-size:10px;line-height:12px;letter-spacing:-1px}.app-shell .period-summary .badge{min-width:14px;height:14px;font-size:9px;right:-7px;top:-4px;line-height:11px}
/* Navigation / filters */
.app-shell #bottom-nav{padding:6px 7px calc(6px + env(safe-area-inset-bottom));background:#fffffff5;border-color:#e6e0db}.app-shell .nav-btn{min-height:53px;gap:4px;font-size:10px;border-radius:14px;padding:6px 0;color:#817b75}.app-shell .nav-btn svg{width:21px;height:21px}.app-shell .nav-btn.active{background:var(--pale);color:var(--dark);font-weight:650}
.app-shell .tabs{gap:4px;padding:4px;background:#efe9e3;border-radius:14px;margin-bottom:20px}.app-shell .tabs button{min-height:36px;border-radius:11px;font-size:14px;color:#71665d;font-weight:550}.app-shell .tabs .active{background:white;color:var(--dark);box-shadow:0 2px 5px #4d3a2a10}.view-intro{margin:0 2px 15px}.app-shell .view-intro h2{font-size:22px;letter-spacing:-.6px}.app-shell .view-intro>.muted{font-size:13px;line-height:1.5;margin-top:5px}.app-shell .view-intro .eyebrow{font-size:10px;letter-spacing:1.2px}
.filter-card{background:white;border:1px solid var(--line);border-radius:17px;padding:13px;margin-bottom:16px}.paired-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:11px}.app-shell .form-row{grid-template-columns:76px minmax(0,1fr);gap:8px;margin-bottom:9px}.app-shell .form-row:last-child{margin-bottom:0}.app-shell .form-row>label{font-size:12px;font-weight:500;color:#716861;line-height:1.35}.app-shell .paired-fields>.form-row,.app-shell .pattern-filters>.form-row{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0}.app-shell .pattern-filters>.form-row{margin-bottom:11px}.pattern-filters .paired-fields{margin-bottom:0}
.app-shell .select-wrap select{min-height:44px;padding:9px 28px 9px 10px;border:1px solid #eae4df;border-radius:11px;background:#f6f3f1;font-size:14px}.app-shell .select-wrap:after{right:10px;top:10px;font-size:17px;color:#908378}.app-shell .segmented{gap:4px;background:#f3f0ed;padding:3px;border-radius:11px}.app-shell .segmented button{min-height:38px;padding:5px 2px;border-radius:8px;font-size:12px;line-height:1.25;color:#756a61;background:transparent}.app-shell .segmented .active{background:var(--olive);color:#fff}
/* Explore */
.app-shell .compare-card{padding:0;margin-top:4px;border-radius:19px}.app-shell .pinned-panel{top:-16px;border-radius:19px 19px 0 0}.app-shell .compare-title{padding:14px 13px 6px}.app-shell .compare-title h2{font-size:17px}.app-shell .compare-title p{font-size:12px;margin-top:4px}.app-shell .column-grid{grid-template-columns:49px repeat(3,minmax(0,1fr))}.app-shell .signal-strip{padding:7px 7px 10px}.app-shell .signal-strip .signal-cell{min-height:74px;gap:7px;padding:6px 3px;border-color:#eae4df}.app-shell .signal-cell svg{width:30px;height:30px}.app-shell .signal-cell span{font-size:12px}.app-shell .time-band{margin:0 7px;background:#f2ece7;padding:0}.app-shell .time-band span,.app-shell .time-band button{font-size:11px;color:#6d5f52;font-weight:550;padding:5px 2px}.app-shell .time-band button{min-height:42px}
.app-shell .row-label{font-size:10px;font-weight:600;color:var(--muted)}.app-shell .record-column{border-color:#eae4df}.app-shell .record-symbol{min-height:64px;padding:5px 2px;gap:6px}.app-shell .record-symbol .symbol-wrap>.icon{width:27px;height:27px}.app-shell .record-symbol .record-label{font-size:12px;overflow-wrap:normal}.app-shell .compact-comparison{padding-top:14px;padding-bottom:12px}.app-shell .compact-cell{min-height:83px}.app-shell .compact-cell.has-more>.record-symbol .record-label{padding-right:23px}.app-shell .more-entries{top:37px;min-width:40px;min-height:44px;font-size:12px}.app-shell .more-entries>span{background:#eee7e1;border-color:#e4d9d0;min-width:27px;padding:5px 4px;border-radius:9px}.app-shell .more-entries.active>span{background:var(--olive);color:white}
.app-shell .expanded-entry-panel{background:linear-gradient(110deg,#f4efea,#f7f4f2);border-color:#e7e0da;padding:12px 12px 8px;border-radius:0 0 19px 19px}.app-shell .expanded-entry-heading{margin-bottom:4px}.app-shell .expanded-entry-heading h3{font-size:15px}.app-shell .expanded-entry-heading p{font-size:11px}.app-shell .expanded-entry-heading .round-btn{background:#eae2db}.app-shell .expanded-entry-list{gap:10px;padding:7px 3px 9px}.app-shell .expanded-entry-list>.record-symbol{flex-basis:66px;width:66px;min-height:73px;padding:8px 3px;justify-content:flex-start;gap:9px;border:0;border-radius:11px;background:#ffffffb3}
/* Patterns */
.app-shell .period-label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;margin:0 3px 14px;font-size:12px}.period-label>span:first-child{display:flex;align-items:center;gap:6px}.app-shell .period-label svg{width:15px;height:15px;color:var(--olive)}.period-label strong{font-size:12px;color:var(--dark);font-weight:600}.previous-range{grid-column:1/-1;padding-left:21px;font-size:11px}.app-shell .pattern-card{padding:15px 13px}.app-shell .pattern-card h2{font-size:17px;line-height:1.45;letter-spacing:-.25px}.app-shell .pattern-card .eyebrow{font-size:10px;letter-spacing:.8px;color:#8d7b6c;margin-bottom:8px}.app-shell .week-strip{gap:2px;margin-top:15px}.app-shell .day-record{gap:4px;border-color:#ece8e5;padding:0 1px;min-height:103px;font-size:10px}.app-shell .day-record .day-heading{font-size:10px;color:var(--muted);line-height:1.5;margin:0}.app-shell .day-record button{min-height:44px}.app-shell .day-circle{width:29px;height:29px;border-width:1.2px;border-color:#a69484;color:#8e7c6c}.app-shell .day-circle .icon{width:22px;height:22px}.app-shell .day-circle.match{background:var(--olive);color:white;border-color:var(--olive)}.app-shell .day-circle.no-response{background:#faf7f5;color:#9a9189;font-size:14px;border-color:#bbb2aa}.app-shell .day-circle .symbol-wrap>.icon{width:22px;height:22px}.app-shell .day-circle .badge{min-width:12px;height:12px;font-size:8px;border-width:1px;right:-5px;top:-3px;line-height:10px}
.app-shell .pattern-legend{gap:9px 13px;font-size:10px;margin:12px 0 9px}.app-shell .mini-dot{width:11px;height:11px}.app-shell .compare-dots{gap:7px;margin:15px 0 12px}.app-shell .compare-dots>span:first-child{font-size:12px;min-width:99px;margin-right:4px}.app-shell .compare-dots .mini-dot{width:17px;height:17px}.app-shell .streak{gap:7px;background:var(--mint);padding:10px 6px;margin:13px 0 10px}.app-shell .streak>div{gap:4px;font-size:11px}.app-shell .streak button{min-height:44px;padding:0 4px}
/* Entry */
.app-shell .entry-heading h1{font-size:17px}.app-shell .entry-heading p{font-size:12px}.app-shell .entry-welcome{display:block;min-height:0;margin:1px 2px 12px}.app-shell .entry-welcome h2{font-size:21px}.app-shell .entry-welcome .eyebrow{font-size:10px;margin-bottom:3px;color:#96887b}.app-shell .jump-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0 0 16px;background:#eee8e2;padding:6px;border-radius:15px}.app-shell .jump-grid button{flex-direction:column;gap:5px;min-height:58px;padding:5px 1px;border:0;border-radius:10px;font-size:10px;line-height:1.2;color:#726356;background:transparent}.app-shell .jump-grid .icon{width:20px;height:20px}
.app-shell .entry-section{padding:14px 13px;scroll-margin-top:12px;margin-bottom:14px}.app-shell .entry-section>h2{display:flex;align-items:center;gap:8px;font-size:18px;margin-bottom:4px}.section-icon{display:grid;place-items:center;width:30px;height:30px;background:#efe9e3;border-radius:10px;color:#7e6957}.app-shell .section-icon .icon{width:19px;height:19px}#section-nutrition .section-icon{background:#eee8e2;color:#8f7863}#section-movement .section-icon{background:#ede8e4;color:#77685b}#section-rhythm .section-icon{background:#eeebe9;color:#7f746b}#section-events .section-icon{background:#efe9e4;color:#8e7966}
.app-shell .question{margin-top:14px}.app-shell .question>h3,.app-shell .platter-heading h3{font-size:15px;margin-bottom:6px;font-weight:550}.app-shell .choices{gap:5px;align-items:start}.app-shell .choices.mood{gap:2px}.app-shell .choices.two{max-width:200px;justify-content:start}.app-shell .choice{min-height:69px;min-width:44px;justify-content:flex-start;padding:5px 2px;gap:5px;border-radius:13px;border:1px solid transparent;background:transparent}.choice-art{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;background:#f2eeea;border:1px solid #efebe8;border-radius:50%;color:#968270;transition:background .15s,color .15s}.app-shell .choice-art>.icon,.app-shell .choice-art .symbol-wrap>.icon{width:28px;height:28px;color:inherit}.app-shell .choices.mood .choice-art{width:43px;height:43px}.app-shell .choices.mood .choice-art>.icon{width:32px;height:32px}.app-shell .choice-label{font-size:12px;line-height:1.25;color:#7a7068}.app-shell .choice.selected{background:#f5f1ee;border-color:#eae2db;color:var(--ink)}.app-shell .choice.selected .choice-art{background:var(--olive);border-color:var(--olive);color:white}.app-shell .choice.selected .choice-label{color:var(--dark);font-weight:600}.app-shell .choice .badge{border-color:#f2eeea;background:#968270}.app-shell .choice.selected .badge{background:white;color:var(--olive);border-color:var(--olive)}
.app-shell .portion-symbol{width:27px;height:27px;border-width:1.4px;padding:3px;color:inherit}.app-shell .portion-symbol.extra{box-shadow:7px 0 0 -2px #f2eeea,8px 0 0 -1px currentColor;margin-left:-5px}.app-shell .choice.selected .portion-symbol.extra{box-shadow:7px 0 0 -2px var(--olive),8px 0 0 -1px currentColor}.app-shell .choices.portions{gap:3px;padding:3px 0 5px}.app-shell .choices.portions .choice{flex:1 0 43px;min-height:65px}.app-shell .choices.portions .choice-art{width:36px;height:36px}.app-shell .choices.portions .choice-art .icon{width:25px;height:25px}.app-shell .choices.portions.movement-choices .choice{flex-basis:42px}
.nutrition-library-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.app-shell .nutrition-library-heading h4{font-size:13px;color:var(--muted);font-weight:500}.app-shell .skip-meal{min-height:44px;width:auto;min-width:0;flex-direction:row;align-items:center;justify-content:center;gap:6px;padding:4px 7px;margin:0;border-radius:10px;font-size:12px}.app-shell .skip-meal .symbol-wrap>.icon{width:18px;height:18px;color:var(--olive)}.app-shell .skip-meal .badge{min-width:12px;height:12px;font-size:8px;right:-5px;top:-3px}.app-shell .skip-meal .choice-label{font-size:11px}.app-shell .skip-meal.selected{background:#eee7e1;border-color:#e3d7cd}.app-shell .meals-grid{gap:7px;margin-top:7px}.app-shell .meal-tile{min-height:83px;gap:6px;border-color:#ebe4de;background:#f5f1ee;border-radius:13px;padding:9px 5px;font-size:12px;line-height:1.3;color:#726458}.app-shell .meal-tile .icon{width:29px;height:29px}.app-shell .platter{margin-top:14px;padding-top:13px}.app-shell .platter-heading .text-btn{min-height:34px}.app-shell .platter>.text-btn{min-height:35px;font-size:12px;padding-left:0}.app-shell .two-actions{gap:6px;margin-top:10px}.app-shell .two-actions .secondary{font-size:12px;padding:8px 5px}.app-shell .saved-hint{font-size:11px;margin-top:10px}
.app-shell .routine{border:0;border-top:1px solid #efebe8;border-radius:0;padding:12px 0 0;margin-top:12px}.app-shell .routine h3{font-size:15px;font-weight:550;margin-bottom:6px}.app-shell .routine-choices{gap:3px;padding:2px 0 4px}.app-shell .routine .choice{flex:0 1 70px;min-width:44px;min-height:68px;padding:4px 2px;gap:5px}.app-shell .routine .choice-art{width:38px;height:38px}.app-shell .routine .choice-art .symbol-wrap>.icon{width:27px;height:27px}.app-shell .routine .choice-label{font-size:12px!important;min-height:0}.app-shell .third-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}.app-shell .third-grid .choice{min-height:81px;padding:6px 3px}
/* Sheets share the same proportions. */
dialog{padding:18px;border-radius:23px;border:1px solid #eae3dd;background:var(--bg);font-size:15px}.sheet-header h2{font-size:20px}.sheet-list svg{width:26px;height:26px}.sheet-list button{min-height:61px;padding:11px}.field{font-size:13px}.detail-item svg{width:25px;height:25px}.detail-item{padding:10px}.app-shell .placeholder .large-icon{width:43px;height:43px}
@media(min-width:650px){body{padding:24px 0}.app-shell{height:calc(100dvh - 48px);border-color:#e2dbd4;border-radius:30px;box-shadow:0 16px 60px #42372e12}}
@container(max-width:360px){.app-shell #main{padding-inline:13px}.welcome-banner{padding:14px;min-height:106px}.app-shell .welcome-banner h1{font-size:21px}.app-shell .welcome-date{font-size:11px}.app-shell .companion{width:60px;height:89px;background-size:258px auto;background-position:-187px 0}.entry-invitation .section-heading>.small{display:none}.app-shell .period-button{min-height:69px;font-size:12px}.app-shell .period-summary{padding-inline:12px}.app-shell .period-summary .symbol-rail{gap:8px}.app-shell .period-summary .summary-symbol{min-width:41px}.app-shell .period-summary .summary-symbol>span:last-child{font-size:11px}.paired-fields{gap:7px}.filter-card{padding:11px}.app-shell .select-wrap select{font-size:13px;padding-left:8px}.app-shell .form-row{grid-template-columns:65px minmax(0,1fr);gap:5px}.app-shell .segmented button{font-size:11px}.app-shell .column-grid{grid-template-columns:42px repeat(3,minmax(0,1fr))}.app-shell .record-symbol .symbol-wrap>.icon{width:25px;height:25px}.app-shell .record-symbol .record-label{font-size:11px}.app-shell .more-entries{min-width:36px;right:-5px}.app-shell .time-band button{font-size:10px}.app-shell .choice-label,.app-shell .routine .choice-label{font-size:11px!important}.choice-art{width:37px;height:37px}.app-shell .choices.mood .choice-art{width:38px;height:38px}.app-shell .choices.mood .choice-art>.icon{width:29px;height:29px}.app-shell .entry-section{padding-inline:11px}.app-shell .choices.portions .choice{flex-basis:42px}.app-shell .pattern-card{padding-inline:11px}.app-shell .day-circle{width:26px;height:26px}.app-shell .day-circle .icon{width:20px;height:20px}.app-shell .nav-btn{font-size:9px}.app-shell .jump-grid{gap:2px}.app-shell .jump-grid button{font-size:9px}}
@media(prefers-reduced-motion:reduce){.choice-art{transition:none}}
.app-shell .entry-section .choices:not(.mood):not(.portions):not(.routine-choices):not(.two){grid-template-columns:repeat(3,minmax(44px,75px));justify-content:start}.app-shell .entry-section .choices.two{grid-template-columns:repeat(2,minmax(44px,75px))}.app-shell .choice-art{color:#867362}.app-shell .choice-label{color:#70675f}.app-shell .pattern-card .eyebrow{color:#746659}.app-shell .entry-welcome .eyebrow{color:#7a695a}
.app-shell .routine{padding-top:7px;margin-top:7px}.app-shell .routine h3{margin-bottom:4px}.app-shell .routine-choices{padding:0 0 2px}.app-shell .routine .choice{min-height:64px;padding:3px 2px;gap:4px}.app-shell .routine .choice-art{width:36px;height:36px}.app-shell .choice-label,.app-shell .routine .choice-label{font-size:12px!important}

/* Optional comparison: five category pages, enabled by ?entry=pages only. */
.app-shell .entry-page-tabs{position:sticky;top:-16px;z-index:6;box-shadow:0 5px 10px #f8f5f3cc;margin-bottom:12px}
.app-shell .entry-page-tabs button.active{background:white;color:var(--dark);box-shadow:0 2px 5px #493f3610;font-weight:650}
.entry-page-position{font-size:12px;color:var(--muted);margin:7px 0 0}
.entry-pages{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;align-items:flex-start;width:100%}
.entry-pages::-webkit-scrollbar{display:none}
.entry-page{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;height:0;overflow:hidden}
.entry-page.current{height:auto;overflow:visible}
.app-shell .entry-page .entry-section{margin-bottom:10px}
.entry-page-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:3px 0 15px}
.entry-page-actions button{min-width:0;min-height:58px;display:flex;gap:9px;align-items:center;justify-content:center;font-size:11px;line-height:1.4;padding:8px}
.entry-page-actions strong{font-size:13px;font-weight:600}

/* Profile uses the diary's existing olive tokens and icon scale. */
.profile-header{height:auto;min-height:72px;align-items:center}.profile-header>div{flex:1;min-width:0}.app-shell .profile-header h1{font-size:18px;line-height:1.3;letter-spacing:-.3px;overflow-wrap:break-word}.profile-header p{font-size:12px;color:var(--muted);margin-top:3px}.header-spacer{width:18px}.profile-header .primary{padding:8px 13px;flex:none}.profile-avatar{width:33px;height:33px;display:grid;place-items:center;background:var(--sage);border-radius:50%;color:var(--dark);font-weight:600}.profile-welcome{min-height:105px}.profile-welcome h1{font-size:22px!important}.profile-welcome p{font-size:13px;color:var(--muted);max-width:240px;margin-top:6px}.profile-welcome .companion{flex:none}
.profile-overview-card{display:block;width:100%;text-align:left;padding:14px!important;margin-bottom:11px}.profile-card-title{display:flex;align-items:center;gap:10px}.profile-card-title>span:nth-child(2){flex:1;min-width:0}.profile-card-title strong{font-size:16px;display:block;line-height:1.35;font-weight:650}.profile-card-title small{font-size:12px;display:block;color:var(--muted);margin-top:3px}.profile-card-title>.icon{width:16px;height:16px;color:var(--olive);flex:none}.profile-card-icon{width:37px;height:37px;display:grid;place-items:center;background:var(--sage);color:var(--olive);border-radius:13px;flex:none}.profile-card-icon .icon{width:22px;height:22px}.profile-overview-card:nth-of-type(3) .profile-card-icon{background:var(--mint)}.profile-preview-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:13px}.profile-preview-three>span{display:flex;flex-direction:column;align-items:center;border-left:1px solid var(--line);padding:0 5px}.profile-preview-three>span:first-child{border-left:0}.profile-preview-three strong{font-size:12px;font-weight:550}.profile-preview-three small{font-size:11px;color:var(--muted)}.profile-mini-icons{display:flex;gap:8px;min-height:26px;margin-top:7px;align-items:center;color:var(--olive)}.profile-mini-icons .icon{width:22px;height:22px}.profile-mini{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;text-align:center;color:var(--muted)}.profile-mini>.icon{width:25px;height:25px;color:var(--olive)}.profile-assessment-preview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:14px}.profile-assessment-preview .profile-mini{font-size:10px}.profile-assessment-preview .icon{width:21px;height:21px}.journey-preview{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-top:12px}.journey-preview .icon{width:19px;height:19px;color:var(--olive)}.prototype-tools{margin:18px 3px;font-size:12px;color:var(--muted)}.prototype-tools summary{min-height:44px;padding:12px 0;cursor:pointer}.count-tag{font-size:11px;background:var(--pale);color:var(--muted);padding:3px 6px;border-radius:7px;font-weight:400}.profile-list{padding:0!important;overflow:hidden}.profile-list-row{display:flex;align-items:center;gap:10px;width:100%;padding:12px 11px;text-align:left;min-height:73px;border-top:1px solid var(--line)}.profile-list-row:first-child{border:0}.list-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--pale);flex:none;color:var(--olive)}.list-symbol .icon{width:24px;height:24px}.list-copy{flex:1;min-width:0}.list-copy strong{display:block;font-size:14px;font-weight:550;overflow-wrap:anywhere}.list-copy small{display:block;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.3}.profile-list-row>.icon{width:14px;height:14px;flex:none;color:var(--olive)}.record-meta{font-size:12px;text-align:right;max-width:90px;overflow-wrap:anywhere}.record-meta small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.app-shell .profile-content .section-heading{gap:8px;margin:15px 0 10px}.app-shell .profile-content .section-heading h2{font-size:17px}.profile-content .section-heading button{display:flex;gap:5px;align-items:center;padding:7px 9px;font-size:12px;white-space:nowrap}.profile-content .section-heading button .icon{width:15px;height:15px}.app-shell .profile-content .form-row{display:block}.profile-content .form-row>label{display:block;margin-bottom:6px;font-size:12px}.profile-content .segmented{width:100%}.profile-content .segmented button{min-height:44px}
.app-shell .profile-form-card{padding:14px;margin-bottom:13px}.app-shell .profile-form-card h2{font-size:17px;margin-bottom:8px}.app-shell .profile-form-card h3{font-size:14px;margin-top:13px;margin-bottom:7px}.app-shell .profile-form-card h3:first-child{margin-top:0}.profile-form-card .field{margin:0 0 14px;font-size:14px;gap:7px}.profile-form-card .field:last-child{margin-bottom:0}.profile-form-card input,.profile-form-card textarea,.profile-form-card select{background:#fcfaf9;border:1px solid #e4ded9;padding:11px;border-radius:10px;width:100%;min-width:0;min-height:44px;color:var(--ink);font-size:16px}.profile-form-card textarea{min-height:90px;resize:vertical}.form-hint{font-size:12px;color:var(--muted);line-height:1.5;margin:4px 0 10px}.profile-choice-row{display:flex;gap:5px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:thin}.app-shell .profile-choice-row .choice{flex:0 0 62px;min-height:78px;align-items:center;gap:7px;white-space:normal}.app-shell .profile-choice-row .choice-art{position:relative}.profile-check{position:absolute;right:-5px;top:-4px;display:grid;place-items:center;width:16px;height:16px;border:2px solid var(--bg);border-radius:50%;background:var(--dark);color:white}.profile-check .icon{width:10px!important;height:10px!important;stroke-width:3px}.app-shell .profile-choice-row .choice.selected{background:#f5f1ee;border-color:#eae2db}.profile-text-options{display:flex;gap:7px;flex-wrap:wrap}.profile-text-options button{padding:9px 12px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:var(--pale);border-radius:11px;font-size:13px;flex:1}.profile-text-options button.selected{background:var(--olive);color:white;border-color:var(--olive)}.profile-text-options .icon{width:14px;height:14px}.ingredient-row,.component-row{display:flex;align-items:center;gap:6px;margin-bottom:8px}.ingredient-row input:first-child{flex:1.25}.ingredient-row input:nth-child(2){flex:1}.ingredient-row input{width:0;font-size:14px}.ingredient-row .round-btn,.component-row .round-btn{flex:none;width:35px}.component-row input{flex:1;width:0;font-size:14px}.profile-content .text-btn{display:inline-flex;align-items:center;gap:7px;font-size:13px}.profile-content .text-btn>.icon{width:17px;height:17px}.profile-photo{display:flex;flex-wrap:wrap;align-items:center;gap:8px;position:relative;margin:7px 0 12px}.profile-photo img{max-width:100%;max-height:150px;border:1px solid var(--line);border-radius:10px;object-fit:contain}.photo-picker{display:flex;align-items:center;gap:7px;color:var(--olive);font-size:12px;min-height:44px;cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:7px 10px}.photo-picker>.icon{width:17px;height:17px}.photo-picker input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.photo-picker:focus-within{outline:3px solid #a49180}.profile-editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.profile-editor-actions button{min-height:48px;font-size:13px}.app-shell .bowl-options .choice{flex:1;min-width:54px}.bowl-options .choice-art .icon{width:var(--bowl-size)!important;height:var(--bowl-size)!important}.app-shell .portion-options .choice{flex:1;min-width:44px}.app-shell .portion-options .choice-art{width:35px;height:35px}.profile-content .portion-symbol.extra{margin-left:-6px}.age-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}.age-grid button{position:relative;background:var(--pale);border:1px solid var(--line);border-radius:10px;min-height:44px;font-size:13px;padding:5px}.age-grid button.selected{background:var(--olive);color:white;border-color:var(--olive)}.age-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;position:absolute;right:5px;bottom:5px}.journey-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.app-shell .journey-options .choice{min-width:0;min-height:87px;padding:7px 3px;gap:7px}.journey-options .choice-art{position:relative}.journey-options .choice-label{overflow-wrap:normal;hyphens:none}.assessment-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:var(--pale);border-radius:14px;padding:5px;margin-bottom:16px}.assessment-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:68px;font-size:10px;border-radius:10px;padding:6px 2px;color:var(--muted)}.assessment-tabs .icon{width:23px;height:23px;color:var(--olive)}.assessment-tabs button.selected{background:var(--sage);color:var(--dark);font-weight:600}
@container(max-width:360px){.profile-content .profile-card-title strong{font-size:15px}.profile-header .primary{font-size:12px}.app-shell .profile-header h1{font-size:17px}.app-shell .profile-choice-row .choice{flex-basis:58px}.profile-list-row{padding:11px 9px;gap:7px}.profile-content .record-meta{max-width:75px;font-size:11px}.profile-assessment-preview .profile-mini{font-size:9px}.profile-content .profile-preview-three strong{font-size:11px}.profile-content .profile-welcome p{max-width:195px}.app-shell .portion-options .choice{flex-basis:44px}}

.app-shell .portion-svg{width:30px;height:28px;display:block;color:inherit}.app-shell .portion-options .portion-svg{width:28px;height:27px}

.profile-choice-row[data-profile-options="weight"],.profile-choice-row[data-profile-options="feeling"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.profile-choice-row[data-profile-options="feeling"]{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .profile-choice-row[data-profile-options="weight"] .choice,.app-shell .profile-choice-row[data-profile-options="feeling"] .choice{min-width:0}

/* One compact scale shared by diary, data, reports and learning. */
:root{--ink:#493326;--muted:#766657;--olive:#8A6A53;--dark:#654431;--bg:#FAF6EF;--line:#E7DBCE;--radius:17px}
.app-shell{max-width:460px}.app-shell #main{padding:14px 14px 22px;scroll-behavior:auto}.app-shell .card{border-radius:17px;padding:14px;margin-bottom:12px}.app-shell .header-row{min-height:62px}.app-shell .header-row h1{font-size:20px}.app-shell .card h2{font-size:17px;line-height:1.35}.app-shell .icon{flex-shrink:0}.app-shell button{touch-action:manipulation}.app-shell button:disabled{opacity:.4}.app-shell .avatar-button{width:44px;height:44px;min-height:44px;display:grid;place-items:center;font-size:14px;border-radius:50%;background:var(--pale);color:var(--dark)}
.app-shell .summary-group h4{font-size:13px}.app-shell .symbol-rail{gap:8px;padding:4px 2px 6px}.app-shell .summary-symbol{flex:0 0 61px;min-width:56px;max-width:72px;gap:5px}.app-shell .summary-symbol .symbol-wrap>.icon{width:25px;height:25px}.app-shell .summary-symbol>span:last-child{font-size:11px;line-height:1.35}.app-shell .summary-symbol .badge{width:15px;height:15px;line-height:11px;font-size:10px;right:-7px;top:-3px}.app-shell .period-summary .card-heading h2>.icon{width:24px;height:24px}.app-shell .period-summary .summary-group{padding-top:10px;margin-top:8px}.time-badges{display:flex;gap:3px;min-height:14px}.time-badges i{font-size:9px;font-style:normal;background:var(--sage);color:var(--dark);border-radius:4px;padding:0 3px}
.compact-progress{display:flex;gap:4px;flex:1;margin:0 5px}.compact-progress i{display:block;height:5px;flex:1;border-radius:9px;background:#e6e2df}.compact-progress .complete{background:#9b8877}.compact-progress .partial{background:linear-gradient(to right,var(--olive) 63%,#e6e2df 63%)}.home-topline{gap:5px}.home-topline .small{font-size:10px;white-space:nowrap}.app-shell .welcome-banner{padding:13px 15px;margin:9px 0 12px;min-height:110px}.app-shell .welcome-banner h1{font-size:23px}.app-shell .welcome-date{margin:7px 0 0;font-size:12px}.roadmap-link{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;gap:8px;min-height:49px;padding:10px 13px;border-radius:13px;background:var(--sage);font-size:13px;margin-bottom:16px;color:var(--dark)}.roadmap-link .icon{width:16px;height:16px}.app-shell .entry-invitation{padding:13px;margin-bottom:18px}.app-shell .entry-invitation h2{font-size:16px}.app-shell .period-buttons.four{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}.app-shell .period-buttons.four .period-button{min-height:77px;padding:8px 2px;border-radius:12px;font-size:11px;gap:7px;line-height:1.3}.app-shell .period-button.period-daily{background:#eee8e2}.app-shell .period-buttons.four .icon{width:24px;height:24px}.app-shell .nav-btn{font-size:10px;min-height:55px;border-radius:12px;gap:4px}.app-shell .nav-btn .icon{width:22px;height:22px}.app-shell #bottom-nav{padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom))}
/* Entries: a complete period or a complete day, never five mixed sections. */
.app-shell .v-entry-tabs{display:flex;padding:4px;background:#efe9e3;border-radius:12px;gap:4px;position:sticky;top:-14px;z-index:8;border:1px solid #e6e0da}.v-entry-tabs button{flex:1;min-width:0;padding:7px 3px;border-radius:9px;font-size:12px;min-height:44px}.v-entry-tabs button.active{background:var(--olive);color:white;font-weight:600}.entry-position{text-align:right;font-size:10px;color:var(--muted);margin:4px 3px 8px}.app-shell .entry-page-title{font-size:19px;margin:10px 1px 12px}.app-shell .response-card{padding:13px;margin-bottom:11px}.response-card h3,.platter-heading h3{display:flex;gap:7px;align-items:center;font-size:15px!important;font-weight:650}.response-card h3>.icon,.platter-heading h3>.icon{width:21px;height:21px;color:var(--olive)}.question-hint{font-size:12px;color:var(--muted);margin:4px 0 9px}.app-shell .v-choices{display:flex;gap:4px;overflow-x:auto;padding:3px 0 4px;scrollbar-width:thin;align-items:start}.app-shell .v-choices .choice{flex:1 0 46px;min-width:46px;max-width:130px;min-height:70px;padding:5px 2px;gap:6px;background:transparent;border-radius:10px}.app-shell .v-choices .choice-art{width:100%;min-width:39px;height:40px;border-radius:10px;background:var(--pale);border:1px solid var(--line)}.app-shell .v-choices .choice-art>.icon,.app-shell .v-choices .choice-art .symbol-wrap>.icon{width:27px;height:27px}.app-shell .v-choices .choice-label{font-size:11px!important;line-height:1.35;word-break:normal;overflow-wrap:normal;color:#61574f}.app-shell .v-choices .choice.selected{background:transparent;border-color:transparent}.app-shell .v-choices .choice.selected .choice-art{background:var(--olive);color:white;border-color:var(--olive)}.app-shell .choice.selected .choice-art{position:relative}.app-shell .choice.selected .choice-art:after{content:'✓';position:absolute;right:-2px;top:-3px;background:#fff;color:var(--dark);border:1px solid var(--olive);border-radius:50%;width:13px;height:13px;font-size:9px;display:grid;place-items:center;line-height:1}.app-shell .choice-art>.symbol-wrap>.icon{color:inherit}.app-shell .choice .badge{font-size:10px;min-width:14px;width:auto;padding:0 2px;height:14px;line-height:11px;right:-6px;top:-5px;letter-spacing:-.5px}.app-shell .choice.selected .badge{background:white;color:var(--dark);border:1px solid var(--olive)}.app-shell .choices.portions .choice{flex:1 0 44px;min-height:67px;gap:5px}.app-shell .choices.portions .choice-label{font-size:11px!important}.app-shell .choices.portions .choice-art{width:35px;height:35px;border-radius:50%}.app-shell .choices.portions .choice-label:empty:after{content:'Not done'}.app-shell .movement-choices .choice-label:empty:after{content:'Not done'}.app-shell .nutrition-library-heading{margin:0 0 9px}.app-shell .nutrition-library-heading .secondary{font-size:11px;gap:4px;padding:7px 9px}.nutrition-library-heading>.secondary>.icon{width:15px;height:15px}.app-shell .meals-grid{margin:0 0 14px}.app-shell .meal-tile{min-height:83px;font-size:12px}.app-shell .platter{border-top:1px solid var(--line);padding:13px}.app-shell .response-card .question{margin-top:11px}.app-shell .response-card .question h3{font-size:14px!important}.app-shell .response-card .form-hint{margin:5px 0 9px}.app-shell .response-card>.secondary.full{margin-top:10px}.app-shell .time-buttons{display:flex;gap:5px;margin:8px 0 0}.time-buttons button{flex:1;min-width:0;border:1px solid var(--line);background:var(--pale);border-radius:9px;min-height:44px;font-size:11px;padding:7px 3px;display:flex;align-items:center;justify-content:center;gap:4px;line-height:1.25}.time-buttons .icon{width:17px;height:17px;color:var(--olive)}.time-buttons button.selected{background:var(--olive);color:#fff;border-color:var(--olive)}.time-buttons button.selected .icon{color:#fff}.time-question{margin-top:8px;font-size:12px!important}.movement-rhythm{margin-top:15px}.movement-rhythm h4{margin:9px 0 4px;font-size:13px}.app-shell .v-entry-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px -1px 0;padding:8px 0 4px;background:var(--bg)}.v-entry-footer button{font-size:12px!important;min-height:48px!important;padding:9px 7px!important;line-height:1.4}.app-shell .third-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.app-shell .third-grid .choice{min-height:94px}.app-shell .third-grid .choice-label{font-size:12px!important}.nothing-unusual{margin-top:13px;gap:12px}.app-shell .secondary.selected{background:var(--sage);border-color:var(--olive);color:var(--dark)}
/* Component-specific saved meal form. */
.profile-content .component-row{margin-bottom:8px}.component-detail{border-top:1px solid var(--line);padding-top:10px;margin-top:10px}.component-detail h3{margin:0 0 7px!important}.component-detail:first-of-type{border-top:0;padding-top:0}.serving-fields{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px}.serving-fields label{display:block;font-size:12px;color:var(--muted)}.serving-fields input,.serving-fields select{margin-top:4px;font-size:15px!important}.app-shell .serving-note{margin-top:13px}.profile-content .section-heading h2{font-size:16px!important}.profile-content .component-row .round-btn{min-width:44px;width:44px}.profile-content .profile-form-card textarea{min-height:70px}
/* Charts: semantic SVG capsules; pattern strips retain every actual date. */
.app-shell .tabs{margin-bottom:12px;border-radius:12px}.app-shell .tabs button{font-size:14px;min-height:44px;border-radius:9px}.companion-prompt{display:flex;gap:10px;align-items:center;margin:2px 0 9px}.companion-prompt .companion{width:36px!important;height:53px!important;background-size:153px auto!important;background-position:-111px -1px!important;margin:0!important}.companion-prompt p{font-size:13px;line-height:1.5}.insight-date{font-size:12px;color:var(--muted);margin:11px 0 14px}.app-shell .insight-card{padding:12px;margin-bottom:12px;overflow:hidden}.app-shell .insight-card .card-heading{margin-bottom:5px}.app-shell .insight-card h2{font-size:15px;display:flex;gap:7px;align-items:center;overflow-wrap:anywhere}.insight-card .card-heading .icon{width:20px;height:20px}.insight-card .round-btn{background:transparent;font-size:22px}.app-shell .card-periods{margin:3px 0 9px;gap:3px}.app-shell .card-periods button{min-height:44px;font-size:11px}.capsule-chart{display:block;width:100%;height:auto;overflow:visible;margin:9px 0 0}.axis-label{font-family:inherit;font-size:10.5px;fill:#5f554d}.axis-date{font-family:inherit;font-size:10px;fill:#766657}.grid-line{stroke:#e8e4e0;stroke-width:1}.date-grid{stroke:#f1efed;stroke-width:1}.chart-capsule{fill:#907e6f;stroke:#8A6A53;stroke-width:.5;cursor:pointer}.chart-capsule:focus{outline:2px solid #503828}.chart-foot{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:7px;border-top:1px solid var(--line);padding-top:4px;font-size:10px;color:var(--muted)}.app-shell .chart-foot .text-btn{font-size:11px}.app-shell .chart-foot .icon{width:13px;height:13px}.pattern-selection{font-size:12px;color:var(--olive);margin:0 0 10px;font-weight:600}.app-shell .pattern-detail h3{font-size:15px;line-height:1.5}.app-shell .week-label{font-size:11px;font-weight:550;margin:12px 0 6px;color:var(--muted)}.actual-week{display:grid;grid-template-columns:repeat(7,minmax(39px,1fr));gap:2px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.actual-day{display:flex;align-items:center;flex-direction:column;min-width:0;font-size:10px;text-align:center;line-height:1.35}.actual-date{font-size:10px;color:var(--muted);margin-bottom:4px}.actual-record{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;width:100%;padding:2px 0;font-size:10px;line-height:1.35;overflow-wrap:normal}.actual-symbol{display:grid;place-items:center;padding:5px;width:31px;height:31px;border-radius:8px;color:var(--olive);border:1px solid #e1dad3}.actual-symbol.match{background:var(--olive);color:white;border-color:var(--olive)}.actual-symbol .symbol-wrap>.icon{width:21px;height:21px;color:inherit}.actual-symbol .badge{width:12px;height:12px;min-width:12px;line-height:9px;font-size:8px;right:-4px;top:-5px;border-width:1px}.actual-record>small{font-size:9px!important}.missing-record{border:1px dashed #93887f;width:31px;height:31px;border-radius:8px;display:grid;place-items:center;color:#6d5f53;margin:2px 0 6px}.no-response-label{font-size:10px;color:var(--muted)}.comparison-copy,.streak-copy{font-size:12px;line-height:1.55;margin:7px 0;color:var(--ink)}.streak-copy{padding:8px;background:var(--pale);border-radius:9px}.category-choices{display:flex;gap:4px;margin-top:8px}.category-choices button{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;background:white;border:1px solid var(--line);border-radius:10px;min-height:75px;padding:6px 2px;font-size:10px;line-height:1.3}.category-choices .icon{width:23px;height:23px;color:var(--olive)}.category-choices button.selected{background:var(--sage);border-color:#c8baad}.picker-section{margin:16px 0}.picker-section h3{font-size:14px}.picker-section .field{font-size:14px}.picker-section select{width:100%;border:1px solid var(--line);background:white;border-radius:10px;padding:10px;min-height:46px;font-size:16px;color:var(--ink)}.picker-options{display:flex;overflow-x:auto;gap:6px;margin-top:8px;scrollbar-width:thin;padding-bottom:5px}.picker-options button{flex:1 0 63px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:76px;background:var(--pale);border-radius:10px;border:1px solid var(--line);padding:8px 4px;font-size:12px}.picker-options button.selected{background:var(--olive);color:white}.picker-options button.selected .symbol-wrap>.icon{color:white}.picker-options .symbol-wrap>.icon{width:27px;height:27px}.picker-summary{font-size:13px;background:var(--sage);padding:12px;border-radius:10px;margin:14px 0 8px}.sheet-list button>.list-copy{flex:1}.sheet-list button>.icon:last-child{width:14px;height:14px}
/* Reports: compact full-width rows, no repeated filler subtitles. */
.reports-phase{margin:2px 0 12px}.coach-note{display:flex;align-items:center;gap:11px;padding:13px;background:var(--sage);border-radius:16px;margin-bottom:19px}.coach-note .companion{width:45px!important;height:64px!important;background-size:185px auto!important;background-position:-135px -1px!important;margin:0!important}.coach-note h2{font-size:15px;margin-bottom:7px}.coach-note p{font-size:13px;line-height:1.6}.app-shell .report-link{display:flex;align-items:center;gap:10px;width:100%;text-align:left;min-height:67px;padding:11px 12px;margin-bottom:8px;border-radius:14px}.report-link .list-copy strong{font-size:14px;font-weight:600;line-height:1.45}.report-link .list-copy small{font-size:11px;margin-top:3px}.report-link>.icon{width:14px;height:14px;color:var(--olive)}.report-icon{position:relative;display:grid;place-items:center;width:32px;height:32px;background:var(--pale);border-radius:10px;color:var(--olive);flex:none}.report-icon>.icon{width:22px;height:22px}.report-icon>b{position:absolute;bottom:0;right:-3px;font-size:9px;border-radius:4px;padding:0 3px;background:var(--sage)}.report-group-title{margin-top:20px!important}.app-shell .coach-composer{margin-top:20px}.coach-composer h2{font-size:16px!important}.coach-composer textarea{width:100%;min-height:116px;resize:vertical;background:#fcfaf9;color:var(--ink);border:1px solid var(--line);border-radius:11px;font-size:16px;padding:11px;margin:12px 0 8px}.coach-composer form>.primary{display:flex;align-items:center;gap:7px;margin-left:auto}.saved-messages{margin-top:18px;border-top:1px solid var(--line);padding-top:13px}.saved-messages h3{font-size:14px}.saved-messages>div{font-size:13px;padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.saved-messages time{font-size:10px;color:var(--muted)}.saved-messages p{white-space:pre-wrap}.app-shell .detail-header-title{font-size:15px!important;line-height:1.4}.report-reading>h2{font-size:23px;line-height:1.3;margin:12px 0}.report-reading section{padding:16px 0;border-top:1px solid var(--line)}.report-reading section h3{font-size:16px;margin-bottom:9px}.report-reading section p{font-size:15px;line-height:1.7}.report-disclosure{font-size:12px;color:var(--muted);margin-bottom:18px}
/* Learning: grouped catalogue, separate quiet reader with no main navigation. */
.learning-tracks{display:grid;grid-template-columns:1fr 1fr;gap:7px}.learning-tracks button{display:flex;align-items:center;gap:7px;text-align:left;min-height:68px;padding:10px 8px;border:1px solid var(--line);border-radius:12px;background:white}.learning-tracks button.selected{border-color:#a28f7e;background:var(--pale)}.learning-tracks .icon{width:24px;height:24px;color:var(--olive)}.learning-tracks strong{font-size:12px;font-weight:600;display:block}.learning-tracks small{font-size:10px!important;display:block;margin-top:5px;color:var(--muted)}.learning-prompt{margin:14px 0 10px}.learning-prompt>div:last-child{flex:1}.learning-prompt .small{font-size:11px}.reading-progress{height:4px;background:#e5dfda;border-radius:8px;overflow:hidden;margin-top:7px}.reading-progress>i{height:100%;display:block;background:var(--olive)}.resume-reading{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:46px;text-align:left;padding:10px 12px;background:var(--sage);border-radius:10px;font-size:13px;margin-bottom:9px}.resume-reading>.icon{width:16px;height:16px}.lesson-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:10px;padding:0 10px;min-height:44px;margin-bottom:15px}.lesson-search>.icon{width:17px;height:17px;color:var(--muted)}.lesson-search>input{border:0;outline:none;min-width:0;width:100%;background:transparent;font-size:14px;color:var(--ink);padding:10px 0}.lesson-search:focus-within{outline:2px solid var(--olive);outline-offset:1px}.app-shell .learning-group>h3{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin:15px 2px 7px}.lesson-group{border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden}.lesson-row{width:100%;display:flex;align-items:center;gap:8px;min-height:47px;padding:9px 10px;font-size:13px;text-align:left;border-top:1px solid var(--line);line-height:1.4}.lesson-row:first-child{border-top:0}.lesson-row.read{background:var(--pale)}.lesson-number{font-size:11px;min-width:17px;color:var(--muted)}.lesson-row>span:nth-child(2){flex:1}.lesson-row>.icon{width:14px;height:14px;color:var(--olive)}.app-shell .reading-header{border-bottom:0;min-height:60px}.reading-header .text-btn{font-size:14px}.reader-mode #bottom-nav{display:none!important}.app-shell #main.reading-content{display:flex;flex-direction:column;padding:18px 22px 20px}.lesson-reader{padding-top:5px;max-width:100%}.lesson-reader .eyebrow{font-size:11px;margin-bottom:14px}.app-shell .lesson-reader h1{font-size:27px;line-height:1.2;letter-spacing:-.5px}.lesson-subtitle{font-size:16px;line-height:1.6;color:var(--muted);margin-top:12px}.lesson-body{font-size:16px;line-height:1.8;margin-top:24px}.lesson-reader ol{padding-left:22px;margin:20px 0;font-size:15px;line-height:1.75}.lesson-reader li{padding-left:4px;margin-bottom:11px}.reader-controls{margin-top:auto;padding-top:35px}.reader-controls>.secondary{font-size:13px!important}.reader-controls .two-actions button{font-size:12px!important;padding:9px 6px!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
dialog{font-size:14px;max-width:440px;max-height:88dvh;overscroll-behavior:contain}.sheet-header h2{font-size:19px}.sheet-header .round-btn{border-radius:50%;width:44px}.form-hint{color:var(--muted)}textarea:focus-visible,input:focus-visible{outline:2px solid var(--olive);outline-offset:2px}button:focus-visible{outline:2px solid var(--olive)}
@container(max-width:370px){.app-shell #main{padding-inline:11px}.app-shell .learning-tracks button{gap:5px;padding:9px 6px}.learning-tracks strong{font-size:11px}.learning-tracks .icon{width:21px;height:21px}.app-shell .period-buttons.four .period-button{font-size:10px}.app-shell .v-choices .choice-label{font-size:10px!important}.app-shell .nav-btn{font-size:9px}.app-shell .v-entry-footer button{font-size:11px!important}.actual-week{grid-template-columns:repeat(7,minmax(38px,1fr))}.app-shell .insight-card{padding:10px}.app-shell #main.reading-content{padding-inline:18px}.app-shell .reader-controls .two-actions button{font-size:11px!important}.category-choices button{font-size:9px}}
.app-shell .tabs .active{background:var(--olive);color:white;box-shadow:none}
.app-shell .choice.selected .choice-art:after{top:auto;bottom:-2px}.profile-choice-row .choice.selected .choice-art:after{display:none}
.app-shell .period-summary .symbol-rail{gap:5px}.app-shell .period-summary .summary-symbol{flex:0 0 55px;min-width:55px;max-width:65px}
.axis-label{font-size:12px}.axis-date{font-size:11px}
.actual-week{grid-template-columns:repeat(7,minmax(44px,1fr))}
@container(max-width:370px){.app-shell .period-summary .summary-symbol{flex-basis:51px;min-width:51px}.app-shell .period-summary .symbol-rail{gap:4px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
