/* One compact scale shared by diary, data, reports and learning. */
:root{--ink:#2d382d;--muted:#626d5f;--olive:#63774f;--dark:#3b5338;--bg:#f7f8f3;--line:#e1e7dc;--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:#e3e7de}.compact-progress .complete{background:#8c9f73}.compact-progress .partial{background:linear-gradient(to right,var(--olive) 63%,#e3e7de 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:#edf0e1}.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:#eaf0e2;border-radius:12px;gap:4px;position:sticky;top:-14px;z-index:8;border:1px solid #e0e7d9}.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:#56634d}.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:#53614b}.axis-date{font-family:inherit;font-size:10px;fill:#626d5f}.grid-line{stroke:#e4e9df;stroke-width:1}.date-grid{stroke:#eff2ec;stroke-width:1}.chart-capsule{fill:#82946b;stroke:#63774f;stroke-width:.5;cursor:pointer}.chart-capsule:focus{outline:2px solid #344b36}.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 #dbe3d1}.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 #8a957d;width:31px;height:31px;border-radius:8px;display:grid;place-items:center;color:#637050;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:#bdcbaa}.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:#fbfcf9;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:#92a779;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:#e0e6d9;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}}
