:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;--background:#f4f1e8;--surface:#fffdf8;--surface-strong:#fff;--text:#20342b;--text-soft:#637168;--green:#416b51;--green-strong:#2f5940;--green-soft:#dfe9df;--clay:#a6654a;--clay-soft:#f0e1d8;--line:#dedfd6;--error:#a43d35;--focus:#2f6f4c;background:var(--background);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--background);min-width:320px}body{background:var(--background);min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit;letter-spacing:0}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}:focus-visible{outline:3px solid color-mix(in srgb, var(--focus) 65%, transparent);outline-offset:2px}.eyebrow{color:var(--green);letter-spacing:0;text-transform:uppercase;margin:0;font-size:.76rem;font-weight:750}.boot-screen{min-height:100vh;color:var(--text-soft);place-content:center;justify-items:center;gap:14px;display:grid}.button-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:21px;height:21px;animation:.7s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.login-page{grid-template-columns:minmax(360px,.9fr) 1.1fr;min-height:100vh;display:grid}.login-brand{color:#fdfcf5;background:#355a45;align-items:center;min-height:100vh;padding:clamp(36px,7vw,108px);display:flex}.login-brand-inner{max-width:520px}.login-mark{color:#f6d9c8;border:1px solid #91aa98;border-radius:8px;place-items:center;width:66px;height:66px;margin-bottom:32px;display:grid}.login-brand .eyebrow{color:#c9d9cc}.login-brand h1{margin:8px 0 18px;font-family:Georgia,Times New Roman,serif;font-size:clamp(4rem,8vw,7.4rem);font-weight:500;line-height:.88}.login-brand-inner>p:not(.eyebrow){color:#e4e9e3;max-width:460px;margin:0;font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.65}.trust-line{color:#c9d9cc;align-items:center;gap:10px;margin-top:44px;font-size:.88rem;line-height:1.45;display:flex}.login-form-column{background:var(--background);place-items:center;min-height:100vh;padding:32px;display:grid}.login-form{flex-direction:column;width:min(100%,440px);display:flex}.form-heading{margin-bottom:32px}.form-heading h2{margin:8px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,4vw,2.7rem);font-weight:500}.form-heading>p:last-child{color:var(--text-soft);margin:0;line-height:1.55}.login-form label{margin:0 0 8px;font-size:.9rem;font-weight:700}.input-shell{background:var(--surface-strong);border:1px solid var(--line);height:52px;color:var(--text-soft);border-radius:7px;align-items:center;gap:11px;margin-bottom:20px;padding:0 14px;transition:border-color .18s,box-shadow .18s;display:flex}.input-shell:focus-within{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 14%, transparent)}.input-shell input{width:100%;min-width:0;height:48px;color:var(--text);background:0 0;border:0;outline:0;font-size:1rem}.password-toggle{width:42px;height:42px;color:var(--text-soft);background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.password-toggle:hover{background:var(--green-soft);color:var(--green-strong)}.primary-button{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:7px;place-items:center;min-height:50px;margin-top:8px;font-weight:750;transition:background .18s,transform .18s;display:grid}.primary-button:hover:not(:disabled){background:#244a34}.primary-button:active:not(:disabled){transform:translateY(1px)}.primary-button:disabled{opacity:.65;cursor:wait}.text-link{color:var(--green-strong);text-underline-offset:4px;align-self:center;margin-top:22px;font-size:.9rem;font-weight:700}.auth-switch{color:var(--text-soft);text-align:center;margin:20px 0 0;font-size:.9rem}.auth-switch a{color:var(--green-strong);text-underline-offset:4px;font-weight:750}.form-error{border-left:3px solid var(--error);color:#7d2f2a;background:#f8e8e5;margin:-4px 0 12px;padding:12px 14px;font-size:.9rem;line-height:1.45}.verification-code-input{font-variant-numeric:tabular-nums;letter-spacing:.28em;font-size:1.15rem!important}.text-action{min-height:42px;color:var(--green-strong);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;font-weight:700;display:inline-flex}.password-reset-form{flex-direction:column;display:flex}.password-reset-form .inline-notice{margin-bottom:20px}.password-reset-login{text-decoration:none}.password-reset-back{margin-top:10px;text-decoration:none}.form-success{border-left:3px solid var(--green);background:var(--green-soft);color:var(--green-strong);margin:0 0 14px;padding:12px 14px;font-size:.9rem;line-height:1.45}.registration-page{align-items:start}.registration-page .login-brand{position:sticky;top:0}.registration-form-column{background:var(--background);width:100%;min-height:100vh;padding:42px clamp(24px,5vw,72px) 60px}.registration-form{width:min(100%,720px);margin:0 auto}.registration-form .form-heading{max-width:620px;margin-bottom:26px}.role-selector{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 30px;padding:0;display:grid}.role-selector legend{grid-column:1/-1;margin-bottom:8px;padding:0;font-size:.9rem;font-weight:750}.role-selector button{border:1px solid var(--line);background:var(--surface);min-height:82px;color:var(--text-soft);text-align:left;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px;display:grid}.role-selector button:hover{background:#f1f5ef;border-color:#aabdae}.role-selector button.active{border-color:var(--green);background:var(--green-soft);color:var(--green-strong);box-shadow:inset 0 0 0 1px var(--green)}.role-selector button>span{flex-direction:column;gap:4px;min-width:0;display:flex}.role-selector button strong{color:var(--text);font-size:.9rem}.role-selector button small{font-size:.72rem;line-height:1.35}.role-selector button>svg:last-child{opacity:0}.role-selector button.active>svg:last-child{opacity:1}.registration-section{border-top:1px solid var(--line);padding:22px 0}.registration-section-heading{align-items:center;gap:11px;margin-bottom:18px;display:flex}.registration-section-heading>span{background:var(--green-strong);color:#fff;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;font-size:.78rem;font-weight:800;display:grid}.registration-section-heading>div{flex-direction:column;gap:3px;display:flex}.registration-section-heading strong{font-family:Georgia,Times New Roman,serif;font-size:1.2rem}.registration-section-heading small{color:var(--text-soft);font-size:.75rem}.registration-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 14px;display:grid}.registration-field{flex-direction:column;gap:7px;min-width:0;display:flex}.registration-field.wide{grid-column:1/-1}.registration-field>label{justify-content:space-between;gap:12px;font-size:.82rem;font-weight:750;display:flex}.registration-field>label small{color:var(--text-soft);font-size:.68rem;font-weight:500}.registration-input{border:1px solid var(--line);background:var(--surface-strong);min-height:50px;color:var(--text-soft);border-radius:7px;align-items:center;gap:9px;padding:0 12px;transition:border-color .18s,box-shadow .18s;display:flex}.registration-input:focus-within{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 14%, transparent)}.registration-input input,.registration-input textarea{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0}.registration-input textarea{resize:vertical;min-height:70px;padding:12px 0;line-height:1.45}.registration-input .password-toggle{flex:none}.specialist-photo-field{grid-template-columns:72px auto auto minmax(120px,1fr);align-items:center;gap:10px;margin-bottom:20px;display:grid}.specialist-photo-preview{border:1px solid var(--line);background:var(--green-soft);width:68px;height:68px;color:var(--green-strong);border-radius:50%;place-items:center;display:grid;overflow:hidden}.specialist-photo-preview img{object-fit:cover;width:100%;height:100%}.specialist-photo-field label,.specialist-photo-field button,.add-repeatable{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--green-strong);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:.78rem;font-weight:750;display:inline-flex}.specialist-photo-field label input{opacity:0;width:1px;height:1px;position:absolute}.specialist-photo-field button{color:var(--error)}.specialist-photo-field small{color:var(--text-soft);font-size:.7rem}.repeatable-fields{flex-direction:column;gap:9px;display:flex}.repeatable-fields>div{grid-template-columns:minmax(0,1fr) 44px;gap:8px;display:grid}.repeatable-fields input{border:1px solid var(--line);background:var(--surface-strong);min-height:48px;color:var(--text);border-radius:7px;padding:0 12px}.repeatable-fields>div button{border:1px solid var(--line);background:var(--surface);color:var(--error);border-radius:6px;place-items:center;display:grid}.add-repeatable{align-self:flex-start}.specialization-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.specialization-options label{border:1px solid var(--line);background:var(--surface);min-height:48px;color:var(--text-soft);cursor:pointer;border-radius:6px;grid-template-columns:20px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:8px 11px;font-size:.76rem;line-height:1.3;display:grid}.specialization-options label.selected{border-color:var(--green);background:var(--green-soft);color:var(--green-strong)}.specialization-options input{width:18px;height:18px;accent-color:var(--green-strong)}.specialization-options label>svg{opacity:0}.specialization-options label.selected>svg{opacity:1}.profile-repeatable,.profile-specializations{border:1px solid var(--line);border-radius:7px;min-width:0;margin:0;padding:16px}.profile-repeatable legend,.profile-specializations legend{color:var(--green-strong);padding:0 6px;font-size:.8rem;font-weight:800}.profile-specializations>p{color:var(--text-muted);margin:0 0 12px;font-size:.75rem}.consent-list{border-top:1px solid var(--line)}.consent-row{border-bottom:1px solid var(--line);grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px;min-height:52px;display:grid}.consent-row input{width:20px;height:20px;accent-color:var(--green-strong);margin:0}.consent-row label{min-height:44px;color:var(--text-soft);cursor:pointer;align-items:center;gap:4px;padding:8px 0;font-size:.82rem;line-height:1.45;display:flex}.consent-row a{color:var(--green-strong);text-underline-offset:3px;font-weight:700}.consent-row b{color:var(--error)}.specialist-review-note{border-left:3px solid var(--clay);background:var(--clay-soft);color:#754732;align-items:flex-start;gap:11px;margin:2px 0 20px;padding:14px;font-size:.82rem;line-height:1.5;display:flex}.specialist-review-note svg{flex:none;margin-top:1px}.specialist-review-note span{flex-direction:column;gap:2px;display:flex}.registration-form>.form-error{margin-top:2px}.verification-form,.registration-complete{flex-direction:column;justify-content:center;width:min(100%,480px);min-height:calc(100vh - 102px);margin:0 auto;display:flex}.back-auth-button{width:fit-content;min-height:44px;color:var(--green-strong);background:0 0;border:0;align-items:center;gap:7px;margin-bottom:34px;padding:0;font-weight:750;display:inline-flex}.verification-form>label{margin-bottom:8px;font-size:.88rem;font-weight:750}.verification-code{border:1px solid var(--line);background:var(--surface-strong);width:100%;height:64px;color:var(--text);text-align:center;letter-spacing:.25em;font-variant-numeric:tabular-nums;border-radius:7px;margin-bottom:18px;font-size:1.75rem;font-weight:750}.verification-code:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 14%, transparent);outline:0}.resend-button{min-height:46px;color:var(--green-strong);background:0 0;border:0;justify-content:center;align-items:center;gap:7px;margin-top:10px;font-size:.84rem;font-weight:750;display:flex}.resend-button:disabled{color:var(--text-soft);cursor:not-allowed}.registration-complete{align-items:flex-start}.registration-complete>span{background:var(--green-soft);width:62px;height:62px;color:var(--green-strong);border-radius:50%;place-items:center;margin-bottom:26px;display:grid}.registration-complete h2{margin:7px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,4vw,2.7rem);font-weight:500}.registration-complete>p:not(.eyebrow){color:var(--text-soft);margin:0 0 22px;line-height:1.6}.registration-complete .primary-button{width:100%}.app-shell{grid-template-columns:244px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);z-index:20;background:#eeece3;flex-direction:column;height:100vh;padding:24px 16px 18px;display:flex;position:sticky;top:0}.sidebar-head{justify-content:space-between;align-items:center;padding:0 8px 28px;display:flex}.brand{align-items:center;gap:10px;display:inline-flex}.brand-mark{background:var(--green-strong);color:#fff;border-radius:7px;place-items:center;width:38px;height:38px;display:grid}.brand-name{font-family:Georgia,Times New Roman,serif;font-size:1.75rem;font-weight:600}.primary-nav{flex-direction:column;gap:3px;display:flex}.primary-nav a,.settings-link{color:#53635a;border-radius:6px;align-items:center;gap:12px;min-height:46px;padding:0 12px;font-size:.92rem;font-weight:650;text-decoration:none;transition:color .16s,background .16s;display:flex}.primary-nav a:hover,.settings-link:hover{color:var(--text);background:#e1e5dd}.primary-nav a.active,.settings-link.active{background:var(--green-soft);color:var(--green-strong)}.settings-link{margin-top:auto}.app-column{flex-direction:column;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--background) 92%, white);z-index:10;align-items:center;gap:18px;min-height:78px;padding:0 clamp(20px,4vw,52px);display:flex;position:sticky;top:0}.topbar h1{margin:0;font-size:1.05rem;font-weight:760}.profile-menu{margin-left:auto;position:relative}.profile-trigger{min-height:48px;color:var(--text);background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;padding:4px;display:flex}.profile-trigger:hover{background:#e9e7de}.avatar{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:50%;place-items:center;display:grid}.profile-copy{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.profile-copy strong{text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-size:.86rem;overflow:hidden}.profile-copy small{color:var(--text-soft);font-size:.72rem}.profile-popover{background:var(--surface-strong);border:1px solid var(--line);border-radius:8px;width:260px;padding:10px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 40px #2a352e21}.profile-popover>div{border-bottom:1px solid var(--line);flex-direction:column;gap:4px;padding:10px;display:flex}.profile-popover span{color:var(--text-soft);overflow-wrap:anywhere;font-size:.78rem}.profile-popover button{width:100%;min-height:44px;color:var(--error);background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;margin-top:6px;padding:0 10px;display:flex}.profile-popover button:hover{background:#f8e8e5}.icon-button{width:44px;height:44px;color:var(--text);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.icon-button:hover{background:var(--green-soft)}.page-content{width:100%;max-width:1240px;margin:0 auto;padding:clamp(22px,4vw,48px)}.bottom-nav,.mobile-only{display:none}.specialist-directory-page{flex-direction:column;gap:24px;display:flex}.specialist-directory-page>.page-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.specialist-directory-page>.page-heading>svg{color:var(--green-strong)}.specialist-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.specialist-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;gap:16px;min-width:0;padding:20px;display:flex}.specialist-card.selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.specialist-card header{grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.specialist-card-photo{background:var(--green-soft);width:62px;height:62px;color:var(--green-strong);border-radius:50%;place-items:center;display:grid;overflow:hidden}.specialist-card-photo img{object-fit:cover;width:100%;height:100%}.specialist-card header>div{min-width:0}.specialist-card h3{margin:0 0 5px;font-family:Georgia,Times New Roman,serif;font-size:1.16rem}.specialist-card header small{color:var(--text-soft);align-items:center;gap:4px;display:flex}.selected-specialist{color:var(--green-strong);align-items:center;gap:4px;font-size:.68rem;font-weight:750;display:inline-flex}.specialist-card>p{min-height:54px;color:var(--text-soft);margin:0;font-size:.82rem;line-height:1.55}.specialist-card-facts{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:92px minmax(0,1fr);gap:12px;padding:12px 0;display:grid}.specialist-card-facts>span{color:var(--green-strong);align-items:center;gap:7px;display:flex}.specialist-card-facts>span:first-child{flex-direction:column;align-items:flex-start;gap:1px}.specialist-card-facts strong{font-size:1.15rem}.specialist-card-facts small{color:var(--text-soft);font-size:.68rem;line-height:1.35}.specialist-card-tags{flex-wrap:wrap;gap:6px;display:flex}.specialist-card-tags span{color:var(--green-strong);border:1px solid #cbd8cc;border-radius:999px;padding:5px 8px;font-size:.66rem}.specialist-card>button{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:46px;margin-top:auto;font-weight:750;display:flex}.dashboard-page{flex-direction:column;gap:28px;display:flex}.welcome-band{border-left:5px solid var(--green);background:#dfe9df;justify-content:space-between;align-items:center;gap:24px;min-height:176px;padding:clamp(24px,4vw,42px);display:flex}.welcome-band h2{margin:8px 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.9rem,4vw,2.75rem);font-weight:500}.welcome-band p:last-child{color:var(--text-soft);margin:0}.welcome-band>svg{color:var(--green);flex:none}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.metric-card{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-content:center;column-gap:14px;min-height:126px;padding:22px;display:grid}.metric-icon{border-radius:6px;grid-row:span 2;place-items:center;width:42px;height:42px;display:grid}.metric-icon.green{background:var(--green-soft);color:var(--green-strong)}.metric-icon.clay{background:var(--clay-soft);color:var(--clay)}.metric-card>span:not(.metric-icon){color:var(--text-soft);font-size:.82rem}.metric-card strong{align-self:end;font-size:1.55rem}.content-section{padding-top:8px}.section-heading{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:16px;display:flex}.section-heading h3{margin:5px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.55rem;font-weight:600}.section-heading>a{color:var(--green-strong);align-items:center;gap:6px;font-size:.86rem;font-weight:750;text-decoration:none;display:inline-flex}.client-list{border-top:1px solid var(--line)}.client-row{border-bottom:1px solid var(--line);grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:74px;display:grid}.client-avatar{background:var(--clay-soft);color:#7f4c37;border-radius:50%;place-items:center;width:38px;height:38px;font-size:.75rem;font-weight:800;display:grid}.client-row>div{flex-direction:column;gap:4px;min-width:0;display:flex}.client-row strong{font-size:.93rem}.client-row div span{color:var(--text-soft);white-space:nowrap;text-overflow:ellipsis;font-size:.8rem;overflow:hidden}.status-pill{color:var(--green-strong);border:1px solid #cbd8cc;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:750}.goal-panel{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}.goal-panel strong{font-family:Georgia,Times New Roman,serif;font-size:1.2rem}.goal-panel p{color:var(--text-soft);margin:8px 0 0;line-height:1.55}.goal-action-link{border:1px solid var(--green);width:fit-content;min-height:42px;color:var(--green-strong);border-radius:6px;align-items:center;gap:8px;margin-top:18px;padding:0 13px;font-size:.84rem;font-weight:750;text-decoration:none;display:inline-flex}.goal-action-link:hover{background:var(--green-soft)}.today-progress-copy{min-height:32px;color:var(--green-strong);align-items:center;gap:6px;font-size:.82rem;font-weight:750;display:inline-flex}.today-action-list{border-top:1px solid var(--line)}.today-action-row{border-bottom:1px solid var(--line);min-height:68px;color:var(--text);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 4px;display:grid}.today-action-row:hover{background:color-mix(in srgb, var(--green-soft) 55%, transparent)}.today-action-row.is-high{border-left:3px solid var(--clay);padding-left:9px}.today-action-row.is-completed{background:color-mix(in srgb, var(--green-soft) 42%, transparent)}.today-action-row.is-completed .today-action-copy strong{color:var(--green-strong);text-decoration:line-through;text-decoration-thickness:1px}.today-action-row.is-completed .today-action-copy small{opacity:.72}.today-action-row.is-completed .today-action-icon{background:var(--green);color:#fff}.today-action-main{min-width:0;min-height:52px;color:inherit;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;text-decoration:none;display:grid}.today-action-icon{background:var(--green-soft);width:36px;height:36px;color:var(--green-strong);border-radius:7px;place-items:center;display:grid}.today-action-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.today-action-copy strong{font-size:.9rem}.today-action-copy small{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.today-action-row time{color:var(--text-soft);white-space:nowrap;font-size:.73rem}.today-open-action{width:44px;height:44px;color:var(--green-strong);place-items:center;display:grid}.today-quick-control{align-items:center;gap:7px;display:flex}.today-quick-control select{border:1px solid var(--line-strong);background:var(--surface);min-width:67px;height:44px;color:var(--text);font:inherit;border-radius:6px;padding:0 8px}.today-quick-control button{border:1px solid var(--green);background:var(--surface);min-width:94px;min-height:44px;color:var(--green-strong);font:inherit;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:.78rem;font-weight:750;display:inline-flex}.today-quick-control button:hover{background:var(--green-soft)}.today-quick-control button:disabled{cursor:wait;opacity:.58}.today-action-error{margin-top:12px}.today-quick-control .comment-action{min-width:44px}.today-comment-panel{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:7px;gap:12px;margin-top:14px;padding:14px;display:grid}.today-comment-panel>div{color:var(--green-strong);align-items:center;gap:10px;display:flex}.today-comment-panel>div span{flex-direction:column;gap:2px;display:flex}.today-comment-panel>div small{color:var(--text-soft)}.today-comment-panel textarea{resize:vertical;border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:88px;color:var(--text);font:inherit;border-radius:6px;padding:10px 12px;line-height:1.5}.today-comment-panel footer{justify-content:flex-end;gap:8px;display:flex}.today-comment-panel footer button{border:1px solid var(--line-strong);background:var(--surface);min-height:40px;color:var(--text);font:inherit;border-radius:6px;align-items:center;gap:6px;padding:0 13px;font-weight:700;display:inline-flex}.today-comment-panel footer button[type=submit]{border-color:var(--green);color:var(--green-strong)}.today-comment-notice{margin-top:12px}.spin{animation:.8s linear infinite spin}.smart-reminder-row{background:var(--clay-soft);color:#714735;border:1px solid #d8c8b8;border-radius:7px;grid-template-columns:30px minmax(0,1fr) 20px;align-items:center;gap:10px;min-height:64px;margin-top:14px;padding:10px 12px;text-decoration:none;display:grid}.smart-reminder-row span{flex-direction:column;gap:3px;min-width:0;display:flex}.smart-reminder-row strong{font-size:.86rem}.smart-reminder-row small{color:#805b4b;font-size:.76rem}.adherence-history{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0;padding:18px 0}.adherence-history .panel-subheading{margin-bottom:14px}.adherence-history .panel-subheading>div{flex-direction:column;gap:2px;display:flex}.adherence-history .panel-subheading em{color:var(--green-strong);font-size:.82rem;font-style:normal;font-weight:750}.adherence-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.adherence-summary article{border-left:2px solid var(--green);align-items:center;gap:9px;min-height:62px;padding:8px 10px;display:flex}.adherence-summary article>svg{color:var(--green-strong);flex:none}.adherence-summary article span{flex-direction:column;gap:2px;min-width:0;display:flex}.adherence-summary small{color:var(--text-soft);font-size:.7rem}.adherence-summary strong{font-size:.94rem}.adherence-days{grid-template-columns:repeat(15,minmax(8px,1fr));gap:5px;margin-top:16px;display:grid}.adherence-days>span{border:1px solid var(--line-strong);border-radius:3px;height:18px}.adherence-days .met,.adherence-legend .met{border-color:var(--green);background:var(--green)}.adherence-days .partial,.adherence-legend .partial{background:var(--clay-soft);border-color:#b28a69}.adherence-days .empty,.adherence-legend .empty{background:var(--surface-muted)}.adherence-legend{color:var(--text-soft);flex-wrap:wrap;gap:14px;margin-top:10px;font-size:.7rem;display:flex}.adherence-legend span{align-items:center;gap:5px;display:inline-flex}.adherence-legend i{border:1px solid var(--line-strong);border-radius:2px;width:10px;height:10px}.weekly-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0;padding:18px 0}.weekly-summary .panel-subheading>div{flex-direction:column;gap:2px;display:flex}.weekly-summary .panel-subheading>svg{color:var(--clay)}.weekly-summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0;display:grid}.weekly-summary-metrics>span{border-left:2px solid var(--clay);grid-template-columns:22px 1fr;align-items:center;min-height:58px;padding:7px 9px;display:grid}.weekly-summary-metrics svg{color:var(--clay);grid-row:1/3}.weekly-summary-metrics strong{font-size:.94rem}.weekly-summary-metrics small{color:var(--text-soft);font-size:.7rem}.weekly-summary p{color:var(--text-soft);margin:10px 0 0;line-height:1.55}.weekly-summary .client-weekly-message{color:var(--green-strong)}.weekly-summary ul{color:#7b4938;margin:12px 0 0;padding-left:20px;line-height:1.5}.weekly-comparison{border-left:2px solid var(--green);background:var(--green-soft);min-height:48px;color:var(--green-strong);align-items:center;gap:9px;padding:8px 10px;display:flex}.weekly-comparison.down{border-color:var(--clay);background:var(--clay-soft);color:#7b4938}.weekly-comparison span{flex-direction:column;gap:2px;display:flex}.weekly-comparison small{color:var(--text-soft);font-size:.68rem}.weekly-goal-suggestion{background:#fffaf0;border:1px solid #dbc9a1;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;margin-top:14px;padding:13px;display:grid}.weekly-goal-suggestion>svg{color:#795d24}.weekly-goal-suggestion p{margin:3px 0;font-size:.72rem}.weekly-goal-suggestion small{color:var(--text-soft);font-size:.66rem}.weekly-goal-suggestion button,.weekly-acknowledge-button{background:var(--green-strong);color:#fff;border:0;border-radius:6px;min-height:44px;padding:0 14px;font-weight:750}.weekly-comment-editor{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:14px;display:grid}.weekly-comment-editor label{color:var(--text-soft);flex-direction:column;gap:6px;font-size:.7rem;font-weight:750;display:flex}.weekly-comment-editor textarea{resize:vertical;border:1px solid var(--line);background:var(--surface-strong);min-height:82px;color:var(--text);font:inherit;border-radius:6px;padding:9px 11px}.weekly-summary blockquote{border-left:3px solid var(--green);background:var(--surface-muted);margin:14px 0 0;padding:12px 14px}.weekly-summary blockquote p{color:var(--text);margin:5px 0}.weekly-summary blockquote small{color:var(--text-soft)}.weekly-acknowledge-button{align-items:center;gap:7px;margin-top:13px;display:inline-flex}.weekly-acknowledged{align-items:center;gap:6px;font-size:.7rem;font-weight:750;display:flex;color:var(--green-strong)!important}.weekly-action-message{font-size:.7rem}.nutrition-header-actions{flex-wrap:wrap;gap:8px;display:flex}.nutrition-parameters{flex-wrap:wrap;gap:7px;margin:10px 0;display:flex}.nutrition-parameters span{border:1px solid var(--line);min-height:28px;color:var(--text-soft);border-radius:5px;align-items:center;padding:3px 9px;font-size:.68rem;font-weight:700;display:inline-flex}.meal-row details{color:var(--green-strong);margin-top:7px;font-size:.68rem}.meal-row details summary{cursor:pointer;font-weight:750}.meal-row details span{color:var(--text-soft);margin-top:4px;display:block}.meal-calories{text-align:right;flex-direction:column;gap:3px;display:flex}.meal-calories small{color:var(--text-soft);white-space:nowrap;font-size:.62rem}.nutrition-leftovers{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:15px;padding-top:14px;display:grid}.nutrition-leftovers label{color:var(--text-soft);flex-direction:column;gap:6px;font-size:.7rem;font-weight:750;display:flex}.nutrition-leftovers textarea{border:1px solid var(--line);resize:vertical;background:var(--surface-strong);min-height:70px;color:var(--text);font:inherit;border-radius:6px;padding:9px 11px}.nutrition-action-message{color:var(--green-strong);font-size:.7rem}.empty-state{min-height:130px;color:var(--text-soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line);place-content:center;justify-items:center;gap:10px;display:grid}.skeleton-list{background:var(--line);flex-direction:column;gap:1px;display:flex}.skeleton-list span{background:var(--surface);height:73px;animation:1.4s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.55}}.inline-notice{border-left:3px solid;padding:13px 15px}.error-notice{color:var(--error);background:#f8e8e5}.success-notice{color:var(--green-strong);background:var(--green-soft)}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.clients-page,.client-detail-page{flex-direction:column;gap:24px;display:flex}.page-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;gap:28px;padding-bottom:22px;display:flex}.page-heading h2{margin:6px 0 7px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:500}.page-heading>div:first-child>p:last-child{color:var(--text-soft);margin:0}.client-counts{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.client-counts span{color:var(--text-soft);white-space:nowrap;flex-direction:column;gap:3px;font-size:.75rem;display:flex}.client-counts strong{color:var(--text);font-size:1.22rem}.client-counts .has-attention strong{color:var(--clay)}.client-toolbar{grid-template-columns:minmax(260px,1fr) 220px;gap:12px;display:grid}.search-field,.select-field{background:var(--surface-strong);border:1px solid var(--line);min-height:48px;color:var(--text-soft);border-radius:7px;align-items:center;gap:10px;padding:0 13px;display:flex}.search-field:focus-within,.select-field:focus-within{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.search-field input,.select-field select{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0}.search-field button{width:32px;height:32px;color:var(--text-soft);background:0 0;border:0;border-radius:5px;flex:none;place-items:center;font-size:1.35rem;line-height:1;display:grid}.search-field button:hover{background:var(--green-soft);color:var(--green-strong)}.select-field select{cursor:pointer}.action-notice{justify-content:space-between;align-items:center;gap:16px;display:flex}.action-notice button,.clients-empty button{min-height:38px;color:inherit;background:0 0;border:1px solid;border-radius:6px;padding:0 14px;font-weight:700}.clients-table{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.clients-table-head,.clients-table-row{grid-template-columns:minmax(260px,1.65fr) minmax(170px,.9fr) 120px 76px 28px;align-items:center;gap:16px;padding:0 18px;display:grid}.clients-table-head{min-height:42px;color:var(--text-soft);text-transform:uppercase;background:#ebeae2;font-size:.72rem;font-weight:750}.clients-table-row{border-top:1px solid var(--line);min-height:78px;color:var(--text);text-decoration:none;transition:background .16s}.clients-table-row:hover{background:#f2f5ef}.clients-table-row:focus-visible{z-index:1;outline-offset:-3px;position:relative}.client-identity{align-items:center;gap:12px;min-width:0;display:flex}.client-identity>span:last-child{flex-direction:column;gap:5px;min-width:0;display:flex}.client-identity strong{font-size:.91rem}.client-identity small{color:var(--text-soft);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.client-data-cell{font-size:.86rem;font-weight:700}.client-data-cell small{display:none}.row-arrow{color:var(--green);place-items:center;display:grid}.status-positive{color:#275f3d;background:#e4eee4;border-color:#bfd3c2}.status-attention{color:#8a4f34;background:#f6e8df;border-color:#e1c2b1}.status-muted{color:#657068;background:#eceeea;border-color:#d6dad5}.status-neutral{color:#405e4b;background:0 0}.clients-empty{min-height:280px;color:var(--text-soft);text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex}.clients-empty strong{color:var(--text);font-size:1.05rem}.clients-empty>span{max-width:430px;line-height:1.5}.clients-empty a{color:var(--green-strong);text-underline-offset:3px;font-weight:700}.clients-list-skeleton{background:var(--line);border:1px solid var(--line);grid-template-columns:1fr;gap:1px;display:grid}.clients-list-skeleton>svg{display:none}.clients-list-skeleton span{background:var(--surface);height:77px;animation:1.4s ease-in-out infinite pulse}.back-link{color:var(--green-strong);align-self:flex-start;align-items:center;gap:7px;font-size:.84rem;font-weight:750;text-decoration:none;display:inline-flex}.client-profile-header{background:var(--green-soft);border-left:5px solid var(--green);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:25px;display:grid}.client-profile-avatar{background:var(--surface-strong);width:58px;height:58px;color:var(--green-strong);border-radius:50%;place-items:center;font-weight:800;display:grid}.client-profile-title{min-width:0}.client-name-line{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.client-name-line h2{margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.7rem,3vw,2.25rem);font-weight:550}.client-profile-title>p{color:var(--text-soft);margin:7px 0 8px;line-height:1.4}.client-profile-title>a{color:var(--green-strong);align-items:center;gap:6px;font-size:.78rem;text-decoration:none;display:inline-flex}.status-editor{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.status-editor span{color:var(--text-soft);font-size:.72rem;font-weight:700}.status-editor select{background:var(--surface-strong);min-width:205px;height:42px;color:var(--text);border:1px solid #b9cabc;border-radius:6px;padding:0 34px 0 11px}.client-header-actions{align-items:flex-end;gap:10px;display:flex}.client-export-action{background:color-mix(in srgb, var(--surface-strong) 82%, transparent);min-height:42px}.client-quick-actions{gap:5px;display:flex}.client-quick-actions button{background:color-mix(in srgb, var(--surface-strong) 82%, transparent);width:42px;height:42px;color:var(--green-strong);border:1px solid #b9cabc;border-radius:6px;place-items:center;display:grid}.client-quick-actions button:hover:not(:disabled){background:var(--surface-strong)}.client-quick-actions button:disabled{opacity:.5;cursor:wait}.client-section-tabs{border-bottom:1px solid var(--line);grid-template-columns:repeat(6,minmax(0,1fr));padding-bottom:1px;display:grid}.client-section-tabs button{min-height:48px;color:var(--text-soft);background:0 0;border:0;border-bottom:3px solid #0000;justify-content:center;align-items:center;gap:8px;font-size:.85rem;font-weight:700;display:flex}.client-section-tabs button:hover{color:var(--green-strong);background:#ecefe9}.client-section-tabs button.active{color:var(--green-strong);border-bottom-color:var(--green)}.detail-section-stack{flex-direction:column;gap:26px;display:flex}.queue-updated{color:var(--text-soft);align-items:center;gap:6px;font-size:.7rem;display:inline-flex}.work-queue-list{border-top:1px solid var(--line)}.work-queue-row{border-bottom:1px solid var(--line);min-height:82px;color:var(--text);grid-template-columns:42px minmax(0,1fr) auto 24px;align-items:center;gap:13px;padding:11px 4px;text-decoration:none;display:grid}.work-queue-row:hover{background:#eef1eb}.queue-signal{background:var(--green-soft);width:40px;height:40px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.priority-urgent .queue-signal{color:var(--error);background:#f5deda}.priority-high .queue-signal{background:var(--clay-soft);color:var(--clay)}.queue-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.queue-copy small{color:var(--green-strong);text-transform:uppercase;font-size:.62rem;font-weight:800}.queue-copy strong{font-size:.87rem}.queue-copy>span,.work-queue-row time{color:var(--text-soft);font-size:.7rem}.work-queue-row time{white-space:nowrap}.client-timeline-workspace{min-width:0}.timeline-filter{flex-wrap:wrap;gap:7px;margin-bottom:15px;display:flex}.timeline-filter button{border:1px solid var(--line);background:var(--surface);min-height:34px;color:var(--text-soft);border-radius:17px;padding:0 11px;font-size:.69rem;font-weight:750}.timeline-filter button.active{border-color:var(--green-strong);background:var(--green-soft);color:var(--green-strong)}.client-timeline-list{border-top:1px solid var(--line);position:relative}.client-timeline-list article{border-bottom:1px solid var(--line);grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:13px;min-height:90px;padding:15px 4px;display:grid}.timeline-marker{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:50%;place-items:center;display:grid}.timeline-analysis,.timeline-report{background:var(--clay-soft);color:var(--clay)}.timeline-consultation,.timeline-message{color:#3f677a;background:#e0eaf0}.client-timeline-list article>div{flex-direction:column;gap:4px;min-width:0;display:flex}.client-timeline-list small{color:var(--green-strong);text-transform:uppercase;font-size:.62rem;font-weight:800}.client-timeline-list strong{font-size:.88rem}.client-timeline-list p{color:var(--text-soft);margin:0;font-size:.73rem;line-height:1.45}.client-timeline-list em{width:fit-content;color:var(--clay);font-size:.63rem;font-style:normal}.client-timeline-list time{color:var(--text-soft);white-space:nowrap;font-size:.66rem}.timeline-load-more{border:1px solid var(--line);background:var(--surface);width:100%;min-height:44px;color:var(--green-strong);border-radius:6px;margin-top:12px;font-weight:750}.detail-metrics,.activity-grid{border:1px solid var(--line);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.detail-metric{background:var(--surface);border-right:1px solid var(--line);grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-content:center;column-gap:10px;min-height:116px;padding:18px;display:grid}.detail-metric:last-child{border-right:0}.detail-metric svg{color:var(--green);grid-row:span 2}.detail-metric span{color:var(--text-soft);font-size:.75rem;line-height:1.3}.detail-metric strong{align-self:end;font-size:1.32rem}.profile-facts,.detail-workspace{padding-top:4px}.detail-section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px;display:flex}.detail-section-heading h3{margin:5px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.5rem;font-weight:600}.detail-section-heading>strong{color:var(--green-strong);font-size:.9rem}.profile-facts dl{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));margin:0;display:grid}.profile-facts dl div{border-right:1px solid var(--line);padding:18px 16px}.profile-facts dl div:last-child{border-right:0}.profile-facts dt{color:var(--text-soft);font-size:.72rem}.profile-facts dd{margin:5px 0 0;font-size:.9rem;font-weight:700}.workspace-rows{border-top:1px solid var(--line)}.workspace-row{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-height:82px;display:grid}.workspace-icon{background:var(--green-soft);width:40px;height:40px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.workspace-row>span:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.workspace-row strong{font-size:.9rem}.workspace-row small{color:var(--text-soft);line-height:1.35}.workspace-row b{text-align:center;min-width:38px;font-size:1.3rem}.progress-track span{background:var(--green);height:100%;transition:width .24s;display:block}.workspace-copy{color:var(--text-soft);margin:18px 0;line-height:1.55}.detail-loading{min-height:55vh;color:var(--text-soft);place-content:center;justify-items:center;gap:12px;display:grid}.icon-action{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.icon-action:hover:not(:disabled){background:var(--green-soft)}.icon-action:disabled{opacity:.55;cursor:wait}.data-workspace{min-width:0}.data-view-switch{border:1px solid var(--line);background:#ebeae2;border-radius:7px;grid-template-columns:1fr 1fr;gap:3px;margin-bottom:18px;padding:3px;display:inline-grid}.data-view-switch button{min-height:42px;color:var(--text-soft);background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:0 16px;font-weight:700;display:flex}.data-view-switch button.active{background:var(--surface-strong);color:var(--green-strong);box-shadow:0 1px 3px #20342b14}.data-view-switch button span{background:var(--green-soft);min-width:22px;color:var(--green-strong);border-radius:999px;padding:2px 6px;font-size:.7rem}.data-message{border-left:3px solid var(--clay);background:var(--clay-soft);color:#794831;margin-bottom:16px;padding:11px 13px;font-size:.84rem}.data-message.success{border-color:var(--green);background:var(--green-soft);color:var(--green-strong)}.data-loading{min-height:220px;color:var(--text-soft);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.medical-panel{border-top:1px solid var(--line)}.panel-command{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:76px;display:flex}.panel-command>div{flex-direction:column;gap:4px;display:flex}.panel-command>div span{color:var(--text-soft);font-size:.78rem}.panel-command>button,.compact-primary{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 13px;font-weight:750;display:inline-flex}.panel-command>button:hover,.compact-primary:hover:not(:disabled){background:#244a34}.compact-primary:disabled{opacity:.6;cursor:wait}.assignment-form{border-bottom:1px solid var(--line);background:#eeefe9;grid-template-columns:minmax(220px,1fr) minmax(170px,.55fr) auto;align-items:end;gap:12px;padding:16px;display:grid}.assignment-form label{color:var(--text-soft);flex-direction:column;gap:6px;font-size:.74rem;font-weight:700;display:flex}.assignment-form select,.assignment-form input{border:1px solid var(--line);background:var(--surface-strong);width:100%;height:42px;color:var(--text);border-radius:6px;padding:0 10px}.assignment-list{border-bottom:1px solid var(--line)}.assignment-list>div{border-bottom:1px solid var(--line);grid-template-columns:92px minmax(0,1fr);align-items:center;gap:12px;min-height:66px;display:grid}.assignment-list>div:last-child{border-bottom:0}.assignment-list>div>span:last-child{flex-direction:column;gap:4px;display:flex}.assignment-list small{color:var(--text-soft)}.record-status{border:1px solid var(--line);border-radius:999px;justify-content:center;align-items:center;width:fit-content;min-height:24px;padding:3px 8px;font-size:.67rem;font-weight:750;line-height:1.2;display:inline-flex}.record-status.verified{color:#275f3d;background:#e4eee4;border-color:#bfd3c2}.record-status.pending{color:#8a4f34;background:#f6e8df;border-color:#e1c2b1}.panel-subheading{border-bottom:1px solid var(--line);align-items:center;gap:9px;min-height:54px;margin-top:12px;display:flex}.panel-subheading span{background:var(--green-soft);min-width:24px;color:var(--green-strong);text-align:center;border-radius:999px;padding:2px 6px;font-size:.7rem;font-weight:750}.questionnaire-record{border-bottom:1px solid var(--line)}.questionnaire-record summary{cursor:pointer;justify-content:space-between;align-items:center;gap:18px;min-height:72px;padding:11px 4px;list-style:none;display:flex}.questionnaire-record summary::-webkit-details-marker{display:none}.questionnaire-record summary>span:first-child{flex-direction:column;gap:5px;display:flex}.questionnaire-record summary small,.questionnaire-record summary>span:last-child{color:var(--text-soft);font-size:.75rem}.questionnaire-record summary>span:last-child{white-space:nowrap}.questionnaire-record-body{border-left:3px solid var(--green-soft);padding:4px 16px 14px}.answer-row{border-bottom:1px solid #e9e9e2;grid-template-columns:minmax(150px,.42fr) minmax(0,1fr);gap:16px;padding:10px 0;font-size:.82rem;line-height:1.45;display:grid}.answer-row:last-child{border-bottom:0}.answer-row span{color:var(--text-soft);overflow-wrap:anywhere}.medical-empty{min-height:130px;color:var(--text-soft);border-bottom:1px solid var(--line);flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex}.analysis-file-row{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;min-height:98px;padding:14px 0;display:grid}.analysis-file-copy{flex-direction:column;gap:6px;min-width:0;display:flex}.analysis-file-copy>div{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.analysis-file-copy>div strong{overflow-wrap:anywhere}.analysis-file-copy>small{color:var(--text-soft);line-height:1.4}.analysis-file-copy p{color:#8a4f34;align-items:flex-start;gap:6px;margin:0;font-size:.75rem;line-height:1.4;display:flex}.analysis-file-copy p svg{flex:none;margin-top:1px}.analysis-file-copy .ai-summary{color:var(--text-soft);display:block}.file-actions{gap:5px;display:flex}.file-actions button{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--green-strong);border-radius:6px;align-items:center;gap:6px;padding:0 10px;font-size:.75rem;font-weight:700;display:inline-flex}.file-actions button:hover:not(:disabled){background:var(--green-soft)}.file-actions button:disabled{opacity:.5;cursor:wait}.analysis-results{border-bottom:1px solid var(--line);overflow-x:auto}.analysis-result-head,.analysis-result-row{grid-template-columns:minmax(210px,1.3fr) minmax(130px,.8fr) minmax(140px,.8fr) 110px;align-items:center;gap:14px;min-width:720px;padding:0 12px;display:grid}.analysis-result-head{min-height:38px;color:var(--text-soft);text-transform:uppercase;background:#ebeae2;font-size:.68rem;font-weight:750}.analysis-result-row{border-top:1px solid var(--line);min-height:66px;font-size:.8rem}.analysis-result-row>span:first-child{flex-direction:column;gap:4px;display:flex}.analysis-result-row small{color:var(--text-soft)}.analysis-review-status{justify-content:space-between;align-items:center;gap:6px;display:flex}.analysis-review-status>button,.analysis-review-editor-heading>button{border:1px solid var(--line);background:var(--surface-strong);width:34px;height:34px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.analysis-review-status>button:hover,.analysis-review-editor-heading>button:hover{background:var(--green-soft)}.analysis-review-editor{border-top:1px solid var(--line);background:#f7f5ee;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;padding:14px 12px;display:grid}.analysis-review-editor-heading{grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;display:flex}.analysis-review-editor label{flex-direction:column;gap:6px;min-width:0;font-size:.68rem;font-weight:750;display:flex}.analysis-review-editor label.wide{grid-column:1/-1}.analysis-review-editor input,.analysis-review-editor textarea{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:40px;color:var(--text);border-radius:6px;outline:0;padding:8px 10px;font-size:.76rem}.analysis-review-editor textarea{resize:vertical}.analysis-review-editor input:focus,.analysis-review-editor textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.analysis-review-actions{grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;display:flex}.analysis-review-actions>button{min-height:40px}.client-analyses-page{flex-direction:column;gap:28px;display:flex}.analyses-summary{gap:24px;display:flex}.analyses-summary span{color:var(--text-soft);flex-direction:column;gap:3px;font-size:.74rem;display:flex}.analyses-summary strong{color:var(--text);font-size:1.22rem}.upload-workspace{border:1px solid var(--line);border-left:5px solid var(--green);background:var(--surface);border-radius:7px;grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);gap:16px 24px;padding:24px;display:grid}.upload-heading{border-bottom:1px solid var(--line);grid-column:1/-1;align-items:center;gap:12px;padding-bottom:15px;display:flex}.upload-heading h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.4rem}.upload-heading p{color:var(--text-soft);margin:4px 0 0;font-size:.78rem}.file-picker{min-height:146px;color:var(--green-strong);background:#f1f5ef;border:1px dashed #9eb1a2;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.file-picker:hover{border-color:var(--green);background:var(--green-soft)}.file-picker span{color:var(--text-soft);font-size:.76rem;font-weight:500}.selected-upload-file{min-height:92px;color:var(--green-strong);background:#f1f5ef;border:1px solid #bfd3c2;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px;display:grid}.selected-upload-file>span{flex-direction:column;gap:5px;min-width:0;display:flex}.selected-upload-file strong{color:var(--text);overflow-wrap:anywhere}.selected-upload-file small{color:var(--text-soft)}.selected-upload-file button{width:36px;height:36px;color:var(--text-soft);background:0 0;border:0;border-radius:5px;place-items:center;display:grid}.selected-upload-file button:hover{background:var(--green-soft);color:var(--green-strong)}.upload-note{color:var(--text-soft);flex-direction:column;gap:7px;font-size:.76rem;font-weight:700;display:flex}.upload-note textarea{resize:vertical;border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:92px;color:var(--text);border-radius:7px;padding:12px;line-height:1.45}.upload-note textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent);outline:0}.upload-progress,.upload-workspace>.data-message{grid-column:1/-1;margin:0}.upload-progress>div:first-child{color:var(--text-soft);justify-content:space-between;gap:12px;margin-bottom:8px;font-size:.78rem;display:flex}.upload-progress>div:first-child strong{color:var(--green-strong)}.upload-error .progress-track span{background:var(--error)}.upload-submit{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:7px;grid-column:1/-1;justify-content:center;align-items:center;gap:8px;min-height:46px;font-weight:750;display:flex}.upload-submit:hover:not(:disabled){background:#244a34}.upload-submit:disabled{opacity:.5;cursor:not-allowed}.client-analysis-history,.client-results-section{min-width:0}.client-file-list{border-top:1px solid var(--line)}.client-file-row{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;min-height:100px;padding:15px 0;display:grid}.file-state-icon{border-radius:6px;place-items:center;width:42px;height:42px;display:grid}.file-state-icon.done{background:var(--green-soft);color:var(--green-strong)}.file-state-icon.working{color:#42646a;background:#e5ecec}.file-state-icon.failed{background:var(--clay-soft);color:#8a4f34}.client-file-row>div:nth-child(2){flex-direction:column;gap:6px;min-width:0;display:flex}.client-file-row>div:nth-child(2)>div{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.client-file-row strong{overflow-wrap:anywhere}.client-file-row small{color:var(--text-soft)}.client-file-row p{color:var(--text-soft);margin:0;font-size:.76rem;line-height:1.4}.client-file-row .file-error-copy{color:#8a4f34}.placeholder-page{flex-direction:column;justify-content:center;align-items:flex-start;max-width:680px;min-height:58vh;display:flex}.placeholder-icon{background:var(--green-soft);width:52px;height:52px;color:var(--green-strong);border-radius:7px;place-items:center;margin-bottom:24px;display:grid}.placeholder-page h2{margin:8px 0 12px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,5vw,3rem);font-weight:500}.placeholder-page>p:last-child{max-width:560px;color:var(--text-soft);margin:0;line-height:1.65}.questionnaires-page,.questionnaire-form-page,.builder-page,.template-editor-page{flex-direction:column;gap:24px;display:flex}.questionnaire-summary,.builder-summary{align-items:center;gap:24px;display:flex}.questionnaire-summary span,.builder-summary span{color:var(--text-soft);white-space:nowrap;flex-direction:column;gap:3px;font-size:.74rem;display:flex}.questionnaire-summary strong,.builder-summary strong{color:var(--text);font-size:1.25rem}.questionnaire-section{min-width:0}.questionnaire-section-heading{justify-content:space-between;align-items:flex-end;gap:18px;min-height:58px;margin-bottom:14px;display:flex}.questionnaire-section-heading h3{margin:5px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.48rem;font-weight:600}.questionnaire-section-heading>span{background:var(--green-soft);min-width:28px;height:28px;color:var(--green-strong);border-radius:50%;place-items:center;font-size:.72rem;font-weight:800;display:grid}.questionnaire-section-heading>svg{color:var(--green)}.assignment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.assignment-card{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:auto minmax(0,1fr);gap:12px;min-height:146px;padding:18px;display:grid}.assignment-icon{background:var(--green-soft);width:40px;height:40px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.assignment-card>div{flex-direction:column;gap:5px;min-width:0;display:flex}.assignment-card strong{line-height:1.35}.assignment-card small{color:var(--text-soft);font-size:.72rem}.assignment-card time{color:var(--green-strong);margin-top:4px;font-size:.72rem;font-weight:700}.assignment-card time.overdue{color:var(--error)}.assignment-card button{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:6px;grid-column:1/-1;justify-content:center;align-self:end;align-items:center;gap:7px;min-height:42px;font-weight:750;display:flex}.assignment-card button:hover:not(:disabled){background:#244a34}.assignment-card button:disabled{opacity:.55;cursor:wait}.questionnaire-empty{border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:180px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.questionnaire-empty strong{color:var(--text)}.questionnaire-empty span{font-size:.8rem}.questionnaire-empty.compact{min-height:120px}.questionnaire-history{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.questionnaire-history details{border-bottom:1px solid var(--line)}.questionnaire-history details:last-child{border-bottom:0}.questionnaire-history summary{cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:72px;padding:12px 16px;list-style:none;display:grid}.questionnaire-history summary::-webkit-details-marker{display:none}.questionnaire-history summary:hover{background:#f1f4ee}.questionnaire-history summary>span:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.questionnaire-history summary small{color:var(--text-soft);font-size:.72rem}.questionnaire-history details[open] summary>svg{transform:rotate(90deg)}.history-status{background:var(--green-soft);width:30px;height:30px;color:var(--green-strong);border-radius:50%;place-items:center;display:grid}.history-answers{background:#f8f7f1;padding:0 18px 14px 58px}.history-answers>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(180px,.75fr) minmax(0,1fr);gap:18px;padding:11px 0;font-size:.78rem;line-height:1.45;display:grid}.history-answers>div:last-child{border-bottom:0}.history-answers span{color:var(--text-soft)}.questionnaire-skeleton{flex-direction:column;gap:10px;display:flex}.questionnaire-skeleton span{border:1px solid var(--line);background:var(--surface);border-radius:7px;height:116px;animation:1.4s ease-in-out infinite pulse}.back-link-button{width:fit-content;min-height:42px;color:var(--green-strong);background:0 0;border:0;align-items:center;gap:7px;padding:0;font-weight:750;display:inline-flex}.questionnaire-form-header,.template-editor-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;gap:26px;padding-bottom:22px;display:flex}.questionnaire-form-header h2,.template-editor-header h2{margin:6px 0 8px;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.8rem,4vw,2.65rem);font-weight:500}.questionnaire-form-header p:last-child,.template-editor-header p:last-child{color:var(--text-soft);align-items:center;gap:6px;margin:0;display:flex}.questionnaire-progress-copy{color:var(--text-soft);white-space:nowrap;flex-direction:column;align-items:flex-end;gap:3px;font-size:.72rem;display:flex}.questionnaire-progress-copy strong{color:var(--green-strong);font-size:1.3rem}.questionnaire-progress{grid-template-columns:minmax(180px,.4fr) minmax(0,1fr);align-items:center;gap:20px;display:grid}.questionnaire-progress>div{flex-direction:column;gap:3px;display:flex}.questionnaire-progress>div span{color:var(--text-soft);font-size:.7rem}.questionnaire-progress>div strong{font-size:.86rem}.progress-track{background:#dfe2da;border-radius:999px;height:7px;overflow:hidden}.progress-track i{border-radius:inherit;background:var(--green);height:100%;transition:width .22s;display:block}.questionnaire-form-section{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.form-section-title{border-bottom:1px solid var(--line);background:#eeefe9;align-items:center;gap:14px;min-height:84px;padding:15px 20px;display:flex}.form-section-title>span{background:var(--green-strong);color:#fff;border-radius:6px;place-items:center;width:38px;height:38px;font-size:.72rem;font-weight:800;display:grid}.form-section-title h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.35rem}.form-section-title p{color:var(--text-soft);margin:4px 0 0;font-size:.72rem}.questionnaire-fields{padding:2px 22px 12px}.question-field{border:0;border-bottom:1px solid var(--line);min-width:0;margin:0;padding:22px 0}.question-field:last-child{border-bottom:0}.question-field legend{width:100%;color:var(--text);margin-bottom:10px;font-size:.92rem;font-weight:750;line-height:1.45}.question-field legend span{color:var(--clay)}.question-field>input:not([type=range]),.question-field>textarea{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:46px;color:var(--text);resize:vertical;border-radius:6px;padding:11px 12px;line-height:1.45}.question-field>input:focus,.question-field>textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent);outline:0}.question-field.has-error>input,.question-field.has-error>textarea{border-color:#d39a93}.field-help,.field-error{color:var(--text-soft);margin-top:8px;font-size:.72rem;line-height:1.4;display:block}.field-error{color:var(--error);font-weight:650}.choice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.choice-list label{border:1px solid var(--line);background:var(--surface-strong);cursor:pointer;border-radius:6px;align-items:flex-start;gap:9px;min-height:46px;padding:11px 12px;line-height:1.4;display:flex}.choice-list label:hover{background:#f1f5ef;border-color:#aabdae}.choice-list input{width:18px;height:18px;accent-color:var(--green-strong);flex:none;margin:1px 0 0}.choice-list span{font-size:.82rem}.scale-control{grid-template-columns:52px minmax(0,1fr);align-items:center;gap:10px 14px;display:grid}.scale-control strong{background:var(--green-soft);width:52px;height:38px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.scale-control input{width:100%;accent-color:var(--green)}.scale-control>div{color:var(--text-soft);grid-column:2;justify-content:space-between;font-size:.68rem;display:flex}.questionnaire-form-actions{justify-content:space-between;gap:12px;display:flex}.primary-action,.secondary-action{border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 15px;font-weight:750;display:inline-flex}.primary-action{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff}.primary-action:hover:not(:disabled){background:#244a34}.primary-action:disabled,.secondary-action:disabled{opacity:.5;cursor:not-allowed}.primary-action .button-spinner{width:17px;height:17px}.builder-heading{align-items:center}.builder-summary{border:1px solid var(--line);background:var(--surface);border-radius:7px;gap:0;min-height:74px}.builder-summary span{border-right:1px solid var(--line);justify-content:center;min-width:160px;height:72px;padding:0 20px}.builder-summary span:last-child{border-right:0}.builder-toolbar{grid-template-columns:minmax(260px,1fr) auto;gap:12px;display:grid}.builder-view-switch{border:1px solid var(--line);background:#e9e9e2;border-radius:7px;align-items:center;gap:3px;min-height:48px;padding:4px;display:flex}.builder-view-switch button{min-height:38px;color:var(--text-soft);background:0 0;border:0;border-radius:5px;align-items:center;gap:7px;padding:0 13px;font-weight:700;display:flex}.builder-view-switch button.active{background:var(--surface);color:var(--green-strong);box-shadow:0 1px 3px #20342b14}.builder-view-switch span{background:var(--green-soft);border-radius:999px;min-width:20px;padding:2px 5px;font-size:.66rem}.template-list{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.template-row{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;min-height:86px;padding:13px 16px;display:grid}.template-row:last-child{border-bottom:0}.template-icon{border-radius:6px;place-items:center;width:40px;height:40px;display:grid}.template-icon.built-in{color:#59695f;background:#e7ebe5}.template-icon.custom{background:var(--green-soft);color:var(--green-strong)}.template-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.template-copy>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.template-copy strong{overflow-wrap:anywhere}.template-copy>div span{color:var(--text-soft);background:#e8ebe6;border-radius:999px;padding:3px 7px;font-size:.63rem;font-weight:750}.template-copy>div span.archived{background:var(--clay-soft);color:#7f4c37}.template-copy small{color:var(--text-soft);font-size:.72rem}.template-actions{align-items:center;gap:5px;display:flex}.template-actions button,.field-list-heading button{border:1px solid var(--line);background:var(--surface-strong);min-height:38px;color:var(--green-strong);border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.7rem;font-weight:750;display:inline-flex}.template-actions button:hover,.field-list-heading button:hover{background:var(--green-soft)}.template-actions button.danger{color:var(--error)}.template-actions button.danger:hover{background:#f8e8e5}.builder-skeleton{border:1px solid var(--line);background:var(--line);border-radius:7px;flex-direction:column;gap:1px;display:flex;overflow:hidden}.builder-skeleton span{background:var(--surface);height:85px;animation:1.4s ease-in-out infinite pulse}.builder-empty,.editor-empty{border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:260px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.builder-empty strong,.editor-empty strong{color:var(--text)}.builder-empty span,.editor-empty span{font-size:.76rem}.template-title-panel{border:1px solid var(--line);border-left:4px solid var(--green);background:var(--surface);border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:18px;display:grid}.template-title-panel label,.editor-label,.range-fields label{color:var(--text-soft);flex-direction:column;gap:7px;font-size:.74rem;font-weight:700;display:flex}.template-title-panel input,.editor-label input,.editor-label textarea,.editor-label select,.range-fields input{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:44px;color:var(--text);resize:vertical;border-radius:6px;padding:10px 11px;line-height:1.4}.template-title-panel>span{color:var(--text-soft);font-size:.7rem}.editor-columns{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:16px;display:grid}.field-list-panel,.editor-preview{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.field-list-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:13px 16px;display:flex}.field-list-heading h3,.editor-preview h3{margin:4px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.25rem}.editor-field-row{border-bottom:1px solid var(--line);grid-template-columns:auto 28px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:74px;padding:10px 14px;display:grid}.editor-field-row:last-child{border-bottom:0}.editor-field-row.section-field{background:#edf0e9}.editor-field-row>svg{color:#9aa49d}.field-order{color:var(--text-soft);text-align:center;font-size:.7rem;font-weight:750}.editor-field-row>div:nth-child(3){flex-direction:column;gap:4px;min-width:0;display:flex}.editor-field-row strong,.editor-field-row small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.editor-field-row small{color:var(--text-soft);font-size:.68rem}.field-row-actions{gap:3px;display:flex}.field-row-actions button,.field-editor-dialog header button{width:36px;height:36px;color:var(--green-strong);background:0 0;border:0;border-radius:5px;place-items:center;display:grid}.field-row-actions button:hover:not(:disabled),.field-editor-dialog header button:hover{background:var(--green-soft)}.field-row-actions button:disabled{opacity:.3;cursor:not-allowed}.field-row-actions button.danger{color:var(--error)}.field-row-actions button.danger:hover{background:#f8e8e5}.editor-preview{padding:18px;position:sticky;top:102px}.editor-preview dl{grid-template-columns:1fr;margin:18px 0 0;display:grid}.editor-preview dl div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:48px;display:flex}.editor-preview dt{color:var(--text-soft);font-size:.72rem}.editor-preview dd{color:var(--green-strong);margin:0;font-weight:800}.editor-warning{background:var(--clay-soft);color:#7f4c37;margin:14px 0 0;padding:10px;font-size:.7rem;line-height:1.4}.modal-scrim{z-index:60;background:#1b262080;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.field-editor-dialog{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;width:min(620px,100%);max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 80px #16211b40}.field-editor-dialog header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:74px;padding:13px 18px;display:flex}.field-editor-dialog h3{margin:4px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.25rem}.field-editor-body{flex-direction:column;gap:17px;padding:18px;display:flex;overflow-y:auto}.editor-toggle{border:1px solid var(--line);cursor:pointer;border-radius:6px;align-items:center;gap:11px;min-height:58px;padding:10px 12px;display:flex}.editor-toggle input{width:19px;height:19px;accent-color:var(--green-strong)}.editor-toggle span{flex-direction:column;gap:3px;display:flex}.editor-toggle small,.editor-label small{color:var(--text-soft);font-size:.68rem}.range-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.field-editor-dialog footer{border-top:1px solid var(--line);background:#eeefe9;justify-content:flex-end;gap:10px;padding:13px 18px;display:flex}.admin-page{flex-direction:column;gap:22px;display:flex}.admin-heading{align-items:center}.admin-refresh{border:1px solid var(--green);background:var(--surface);min-height:44px;color:var(--green-strong);border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:0 15px;font-size:.84rem;font-weight:750;display:inline-flex}.admin-refresh:hover:not(:disabled){background:var(--green-soft)}.admin-refresh:disabled{opacity:.65;cursor:wait}.admin-refresh .button-spinner{width:17px;height:17px}.admin-heading-summary{align-items:center;gap:26px;display:flex}.admin-heading-summary span{color:var(--text-soft);flex-direction:column;gap:3px;font-size:.74rem;display:flex}.admin-heading-summary strong{color:var(--text);font-size:1.3rem}.admin-heading-summary .attention-copy strong{color:var(--clay)}.admin-metrics{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.admin-metric{border-right:1px solid var(--line);align-items:center;gap:13px;min-height:112px;padding:18px;display:flex}.admin-metric:last-child{border-right:0}.admin-metric>span{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:6px;flex:none;place-items:center;display:grid}.admin-metric.attention>span{background:var(--clay-soft);color:var(--clay)}.admin-metric>div{grid-template-columns:auto 1fr;align-items:baseline;gap:2px 8px;min-width:0;display:grid}.admin-metric small{color:var(--text-soft);grid-column:1/-1;font-size:.72rem;line-height:1.3}.admin-metric strong{font-size:1.55rem}.admin-metric em{color:var(--text-soft);font-size:.7rem;font-style:normal}.admin-dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;display:grid}.admin-panel{border:1px solid var(--line);background:var(--surface);border-radius:7px;min-width:0;overflow:hidden}.admin-panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:82px;padding:15px 18px;display:flex}.admin-panel-heading h3{margin:4px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.25rem;font-weight:600}.admin-panel-heading>a{min-height:40px;color:var(--green-strong);white-space:nowrap;align-items:center;gap:6px;font-size:.76rem;font-weight:750;text-decoration:none;display:inline-flex}.admin-compact-row,.security-compact-row{border-bottom:1px solid var(--line);align-items:center;gap:11px;min-height:68px;padding:10px 18px;display:grid}.admin-compact-row:last-child,.security-compact-row:last-child{border-bottom:0}.admin-compact-row{color:var(--text);grid-template-columns:auto minmax(0,1fr) auto;text-decoration:none}.admin-compact-row:hover{background:#f1f4ee}.admin-compact-row>span:nth-child(2),.security-compact-row>span:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.admin-compact-row strong,.security-compact-row strong{white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;overflow:hidden}.admin-compact-row small,.security-compact-row small{color:var(--text-soft);white-space:nowrap;text-overflow:ellipsis;font-size:.7rem;overflow:hidden}.admin-initials{background:var(--clay-soft);color:#7f4c37;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-size:.68rem;font-weight:800;display:grid}.admin-status{border:1px solid var(--line);white-space:nowrap;border-radius:999px;align-items:center;width:fit-content;min-height:25px;padding:3px 8px;font-size:.66rem;font-weight:750;line-height:1.2;display:inline-flex}.admin-status.status-positive{color:#275f3d;background:#e4eee4;border-color:#bfd3c2}.admin-status.status-attention{color:#8a4f34;background:#f6e8df;border-color:#e1c2b1}.admin-status.status-danger{color:#913b34;background:#f7e6e3;border-color:#e2beb9}.admin-status.status-muted{color:#657068;background:#eceeea;border-color:#d6dad5}.security-compact-row{grid-template-columns:auto minmax(0,1fr) auto}.security-compact-row time{color:var(--text-soft);white-space:nowrap;font-size:.66rem}.security-dot{background:#758179;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #eceeea}.security-dot.tone-positive{background:#3f7652;box-shadow:0 0 0 4px #e4eee4}.security-dot.tone-danger{background:#a43d35;box-shadow:0 0 0 4px #f7e6e3}.admin-empty{min-height:200px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.admin-empty strong{color:var(--text)}.admin-empty span{font-size:.78rem}.admin-empty.large{border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:330px}.admin-rows-skeleton{background:var(--line);flex-direction:column;gap:1px;display:flex}.admin-rows-skeleton span{background:var(--surface);height:67px;animation:1.4s ease-in-out infinite pulse}.admin-rows-skeleton.large{border:1px solid var(--line);border-radius:7px;overflow:hidden}.admin-rows-skeleton.large span{height:86px}.specialists-table,.security-table{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.specialists-table-head,.specialist-row{grid-template-columns:minmax(260px,1.4fr) 140px 150px minmax(230px,.9fr);align-items:center;gap:16px;padding:0 18px;display:grid}.specialists-table-head,.security-table-head{min-height:42px;color:var(--text-soft);text-transform:uppercase;background:#ebeae2;font-size:.68rem;font-weight:750}.specialist-row{border-top:1px solid var(--line);min-height:92px}.specialist-identity{align-items:center;gap:12px;min-width:0;display:flex}.specialist-identity>span:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.specialist-identity strong,.specialist-identity small,.specialist-identity a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.specialist-identity small{color:var(--text-soft);font-size:.72rem}.specialist-identity a{color:var(--green-strong);font-size:.7rem;text-decoration:none}.specialist-date{flex-direction:column;gap:4px;display:flex}.specialist-date small{color:var(--text-soft);font-size:.66rem;display:none}.specialist-date span{color:var(--text-soft);font-size:.72rem;line-height:1.4}.specialist-actions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:6px;display:flex}.specialist-actions button{border:1px solid var(--line);background:var(--surface-strong);border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:0 10px;font-size:.7rem;font-weight:750;display:inline-flex}.specialist-actions button:disabled{opacity:.55;cursor:wait}.specialist-actions .approve,.specialist-actions .restore{color:var(--green-strong);border-color:#9ebaa4}.specialist-actions .approve:hover,.specialist-actions .restore:hover{background:var(--green-soft)}.specialist-actions .reject,.specialist-actions .suspend{color:#913b34;border-color:#dab6ae}.specialist-actions .reject:hover,.specialist-actions .suspend:hover{background:#f7e6e3}.specialist-actions .button-spinner{width:17px;height:17px;color:var(--green)}.security-table-head,.security-row{grid-template-columns:minmax(260px,1.4fr) minmax(180px,.8fr) 150px 170px;align-items:center;gap:16px;padding:0 18px;display:grid}.security-row{border-top:1px solid var(--line);min-height:72px;font-size:.76rem}.security-row>div{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px 11px;min-width:0;display:grid}.security-row>div .security-dot{grid-row:span 2}.security-row>div strong,.security-row>div small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.security-row>div small{color:var(--text-soft);font-size:.64rem;font-weight:500}.security-row>span,.security-row time{color:var(--text-soft);overflow-wrap:anywhere}.security-row code{color:#4c5d54;font-size:.7rem}.plan-manager{padding:0;overflow:hidden}.plan-manager>.detail-section-heading{border-bottom:1px solid var(--line);padding:20px 22px}.plan-manager-tabs{border-bottom:1px solid var(--line);background:#eeefe9;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.plan-manager-tabs button{min-width:0;min-height:54px;color:var(--text-soft);background:0 0;border:0;border-bottom:3px solid #0000;justify-content:center;align-items:center;gap:7px;padding:0 9px;font-size:.75rem;font-weight:750;display:flex}.plan-manager-tabs button:hover{color:var(--text);background:#e3e8e0}.plan-manager-tabs button.active{border-bottom-color:var(--green-strong);background:var(--green-soft);color:var(--green-strong)}.plan-manager-tabs button>span{background:#ffffffad;border-radius:999px;place-items:center;min-width:22px;height:22px;font-size:.64rem;display:grid}.plan-manager-message{border-left:3px solid;margin:14px 20px 0;padding:11px 13px;font-size:.78rem;line-height:1.45}.plan-manager-message.success{color:var(--green-strong);background:var(--green-soft)}.plan-manager-message.error{color:var(--error);background:#f8e8e5}.plan-manager-panel{min-height:330px}.manager-domain{flex-direction:column;display:flex}.manager-command{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:14px 22px;display:flex}.manager-command>div{flex-direction:column;gap:4px;min-width:0;display:flex}.manager-command strong{font-family:Georgia,Times New Roman,serif;font-size:1.2rem}.manager-command span{color:var(--text-soft);font-size:.72rem}.manager-command>button{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 12px;font-size:.74rem;font-weight:750;display:inline-flex}.manager-command>button:hover{background:#244a34}.recommendation-command-actions{align-items:center;flex-direction:row!important;gap:8px!important;display:flex!important}.recommendation-command-actions button{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 12px;font-size:.74rem;font-weight:750;display:inline-flex}.recommendation-command-actions button.secondary{color:var(--green-strong);background:0 0}.recommendation-command-actions button:hover{color:#fff;background:#244a34}.recommendation-library{border-bottom:1px solid var(--line);background:#f8f8f4}.recommendation-library-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:10px 22px;display:flex}.recommendation-library-heading>div{color:var(--green-strong);align-items:center;gap:9px;display:flex}.recommendation-library-heading strong{font-size:.84rem}.recommendation-library-heading>button{border:1px solid var(--line);background:var(--surface-strong);min-height:38px;color:var(--green-strong);border-radius:6px;align-items:center;gap:6px;padding:0 10px;font-size:.7rem;font-weight:750;display:inline-flex}.recommendation-template-toolbar{grid-template-columns:minmax(220px,1fr) 190px 190px;gap:8px;padding:12px 22px 0;display:grid}.recommendation-template-toolbar label{border:1px solid var(--line);background:var(--surface-strong);min-height:40px;color:var(--text-soft);border-radius:6px;align-items:center;gap:8px;padding:0 10px;display:flex}.recommendation-template-toolbar input{width:100%;color:var(--text);background:0 0;border:0;outline:0}.recommendation-template-toolbar select{border:1px solid var(--line);background:var(--surface-strong);min-height:40px;color:var(--text);border-radius:6px;padding:0 9px}.recommendation-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 22px 18px;display:grid}.recommendation-template-grid article{border:1px solid var(--line);background:var(--surface-strong);border-radius:7px;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;min-width:0;padding:13px;display:grid}.recommendation-template-grid article>div:first-child{flex-direction:column;gap:3px;min-width:0;display:flex}.recommendation-template-grid article>div:first-child span,.recommendation-template-grid article small{color:var(--text-soft);font-size:.63rem}.recommendation-template-grid article strong{text-overflow:ellipsis;font-size:.82rem;overflow:hidden}.recommendation-template-grid article>p{color:var(--text-soft);grid-column:1/-1;margin:0;font-size:.7rem;line-height:1.4}.recommendation-template-tags{flex-wrap:wrap;grid-column:1/-1;gap:5px;display:flex}.recommendation-template-tags span{background:var(--green-soft);color:var(--green-strong);border-radius:5px;padding:3px 6px;font-size:.6rem}.recommendation-template-preview{grid-column:1/-1}.recommendation-template-preview summary{cursor:pointer;color:var(--green-strong);align-items:center;gap:5px;font-size:.66rem;font-weight:700;display:inline-flex}.recommendation-template-preview>div{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.recommendation-template-actions{grid-area:1/2;align-items:start;gap:5px;display:flex}.recommendation-template-actions button{border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.recommendation-template-actions button.apply{border-color:var(--green);background:var(--green-soft);gap:5px;width:auto;padding:0 9px;font-size:.67rem;font-weight:750;display:inline-flex}.recommendation-template-actions button.danger{color:var(--error)}.recommendation-library-empty{min-height:110px;color:var(--text-soft);justify-content:center;align-items:center;gap:9px;font-size:.75rem;display:flex}.manager-form{border-bottom:1px solid var(--line);background:#f0f2ec;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px 22px;display:grid}.recommendation-manager-form{grid-template-columns:repeat(3,minmax(0,1fr))}.recommendation-presets{grid-column:1/-1;grid-template-columns:auto repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;display:grid}.recommendation-presets>span{color:var(--text-soft);align-self:center;font-size:.68rem;font-weight:750}.recommendation-presets button{border:1px solid var(--line);background:var(--surface-strong);min-height:54px;color:var(--green-strong);text-align:left;border-radius:6px;align-items:center;gap:10px;padding:9px 11px;display:flex}.recommendation-presets button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.recommendation-presets button strong{color:var(--text);font-size:.74rem}.recommendation-presets button small{color:var(--text-soft);font-size:.62rem}.recommendation-daily-note{border:1px solid var(--line);background:var(--green-soft);border-radius:6px;justify-content:center;padding:9px 11px}.recommendation-daily-note strong{color:var(--green-strong);font-size:.76rem}.recommendation-form-heading,.recommendation-form-section{flex-direction:column;grid-column:1/-1;gap:3px;display:flex}.recommendation-form-heading{padding-bottom:2px}.recommendation-form-heading strong{font-family:Georgia,Times New Roman,serif;font-size:1.06rem}.recommendation-form-heading span,.recommendation-form-section span{color:var(--text-soft);font-size:.66rem}.recommendation-form-section{border-top:1px solid var(--line);margin-top:3px;padding-top:14px}.recommendation-form-section strong{color:var(--green-strong);font-size:.78rem}.recommendation-reminder-control{border:1px solid var(--line);background:var(--surface-soft);width:fit-content;color:var(--green-strong);border-radius:7px;align-items:center;gap:9px;margin-top:10px;padding:7px 9px;display:flex}.recommendation-reminder-control label{align-items:center;gap:6px;font-size:.76rem;font-weight:700;display:flex}.recommendation-reminder-control input[type=time]{border:1px solid var(--line);background:var(--surface);min-height:32px;color:var(--text);font:inherit;border-radius:6px;padding:4px 7px}.manager-inline-error{color:var(--error);grid-column:1/-1;margin-top:-7px;font-size:.68rem;font-weight:650}.markdown-editor{border:1px solid var(--line);background:var(--surface-strong);border-radius:7px;grid-column:1/-1;min-width:0;overflow:hidden}.markdown-editor-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:0 10px 0 12px;display:flex}.markdown-editor-head>span{color:var(--text-soft);font-size:.72rem;font-weight:750}.markdown-mode{border:1px solid var(--line);background:#eef0ea;border-radius:6px;padding:2px;display:inline-flex}.markdown-mode button{min-height:30px;color:var(--text-soft);background:0 0;border:0;border-radius:4px;padding:0 9px;font-size:.65rem;font-weight:700}.markdown-mode button.active{background:var(--surface-strong);color:var(--green-strong)}.markdown-toolbar{border-bottom:1px solid var(--line);background:#f5f6f1;align-items:center;gap:5px;min-height:42px;padding:5px 9px;display:flex}.markdown-toolbar button{width:32px;height:32px;color:var(--text-soft);background:0 0;border:1px solid #0000;border-radius:5px;place-items:center;display:grid}.markdown-toolbar button:hover{border-color:var(--line);background:var(--surface-strong);color:var(--green-strong)}.markdown-toolbar>span{color:var(--text-soft);margin-left:auto;font-size:.62rem}.markdown-editor>textarea{resize:vertical;background:var(--surface-strong);width:100%;min-height:190px;color:var(--text);font:inherit;border:0;outline:0;padding:13px;font-size:.8rem;line-height:1.55;display:block}.recommendation-markdown{color:var(--text);overflow-wrap:anywhere;font-size:.76rem;line-height:1.55}.recommendation-markdown.preview{min-height:190px;padding:13px}.recommendation-markdown.compact{max-width:760px;color:var(--text-soft);font-size:.72rem}.recommendation-markdown>:first-child{margin-top:0}.recommendation-markdown>:last-child{margin-bottom:0}.recommendation-markdown p{margin:0 0 7px}.recommendation-markdown ul,.recommendation-markdown ol{margin:5px 0 8px;padding-left:21px}.recommendation-markdown a{color:var(--green-strong);text-underline-offset:2px;text-decoration:underline}.weekday-picker{border:0;grid-column:1/-1;min-width:0;margin:0;padding:0}.weekday-picker legend{color:var(--text-soft);margin-bottom:7px;font-size:.72rem;font-weight:750}.weekday-picker>div{grid-template-columns:repeat(7,minmax(42px,1fr));gap:6px;max-width:560px;display:grid}.weekday-picker button{border:1px solid var(--line);background:var(--surface-strong);min-height:42px;color:var(--text-soft);border-radius:6px;font-size:.72rem;font-weight:750}.weekday-picker button.active{border-color:var(--green-strong);background:var(--green-soft);color:var(--green-strong)}.duration-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.recommendation-record-list>article.paused{background:#f6f3eb}.recommendation-record-list .manager-record-actions{flex-wrap:wrap;justify-content:flex-end;max-width:132px}.recommendation-version-history{border:1px solid var(--line);background:#fbfbf8;border-radius:6px;margin-top:10px;overflow:hidden}.recommendation-version-history.loading,.recommendation-version-history.empty{color:var(--text-soft);align-items:center;gap:8px;padding:12px;font-size:.72rem;display:flex}.recommendation-version-history details{border-bottom:1px solid var(--line)}.recommendation-version-history details:last-child{border-bottom:0}.recommendation-version-history summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;list-style:none;display:flex}.recommendation-version-history summary::-webkit-details-marker{display:none}.recommendation-version-history summary>span:first-child{flex-direction:column;gap:2px;display:flex}.recommendation-version-history summary>span:last-child{color:var(--text-soft);font-size:.65rem;font-weight:700}.recommendation-version-body{padding:0 12px 10px}.recommendation-version-change{border-top:1px solid var(--line);grid-template-columns:minmax(120px,.45fr) minmax(0,1fr) minmax(0,1fr);gap:8px;padding:7px 0;font-size:.68rem;line-height:1.4;display:grid}.recommendation-version-change>strong{color:var(--green-strong)}.recommendation-version-change .before{color:var(--text-soft);text-decoration:line-through}.recommendation-version-change .after{color:var(--text);font-weight:650}.manager-field{flex-direction:column;gap:7px;min-width:0;display:flex}.manager-field.wide{grid-column:1/-1}.manager-field>span{color:var(--text-soft);font-size:.72rem;font-weight:750}.manager-field>span b{color:var(--error)}.manager-field input,.manager-field select,.manager-field textarea{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-width:0;min-height:44px;color:var(--text);border-radius:6px;outline:0;padding:0 11px;font-size:.82rem}.manager-field textarea{resize:vertical;min-height:82px;padding-top:10px;line-height:1.45}.manager-field input:focus,.manager-field select:focus,.manager-field textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.manager-form-note{color:var(--text-soft);grid-column:1/-1;margin:-2px 0 0;font-size:.69rem}.manager-form-actions{grid-column:1/-1;justify-content:flex-end;gap:9px;padding-top:2px;display:flex}.manager-form-actions .button-spinner{width:16px;height:16px}.manager-form-actions .primary-action{justify-content:center;align-items:center;gap:7px;display:inline-flex}.manager-record-list{flex-direction:column;display:flex}.manager-record-list>article{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:13px;min-height:108px;padding:16px 22px;display:grid}.manager-record-list>article.completed{opacity:.62}.manager-record-icon{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.manager-record-list>article>div:nth-child(2){flex-direction:column;gap:5px;min-width:0;display:flex}.manager-record-list strong{font-size:.9rem}.manager-record-list p{max-width:720px;color:var(--text-soft);margin:0;font-size:.74rem;line-height:1.45}.manager-record-list small{color:var(--text-soft);font-size:.68rem;line-height:1.45}.manager-record-tags{flex-wrap:wrap;gap:5px;display:flex}.manager-record-tags span{border:1px solid var(--line);min-height:21px;color:var(--text-soft);border-radius:999px;align-items:center;gap:4px;padding:2px 7px;font-size:.62rem;font-weight:700;display:inline-flex}.manager-record-tags span:first-child{color:var(--green-strong);background:#e7eee5;border-color:#bfd3c2}.manager-record-tags span.done{color:var(--green-strong);border-color:#bfd3c2}.manager-record-tags span.course-ending{color:#795d24;background:#fff6df;border-color:#dbc9a1}.manager-record-tags span.course-ended{color:#8a4033;background:#fff0ec;border-color:#dfb8ae}.supplement-lifecycle-note{color:#795d24!important}.manager-record-actions{gap:6px;display:flex}.manager-record-actions button{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.manager-record-actions button:hover:not(:disabled){background:var(--green-soft)}.manager-record-actions button.danger{color:var(--error)}.manager-record-actions button.danger:hover:not(:disabled){background:#f8e8e5}.manager-record-actions button:disabled{opacity:.45;cursor:wait}.supplement-control{background:#fffaf0;border:1px solid #dbc9a1;border-radius:7px;margin:14px 22px;overflow:hidden}.supplement-control-heading{color:#795d24;border-bottom:1px solid #e9dcc0;align-items:center;gap:9px;min-height:44px;padding:0 13px;display:flex}.supplement-control-heading span{background:#efe2c6;border-radius:50%;place-items:center;min-width:23px;height:23px;margin-left:auto;font-size:.68rem;font-weight:800;display:grid}.supplement-control article{border-bottom:1px solid #eee3cc;padding:10px 13px}.supplement-control article strong{font-size:.76rem;display:block}.supplement-control article p{color:var(--text-soft);margin:3px 0 0;font-size:.7rem;line-height:1.45}.supplement-control>small{color:var(--text-soft);padding:10px 13px;font-size:.65rem;line-height:1.45;display:block}.supplement-adherence{border:1px solid var(--line);background:var(--surface-strong);border-radius:7px;margin:14px 22px;padding:13px}.supplement-adherence>div:first-child,.supplement-adherence p{justify-content:space-between;align-items:center;gap:12px;display:flex}.supplement-adherence small,.supplement-adherence p{color:var(--text-soft);font-size:.7rem}.supplement-adherence strong{color:var(--green-strong);font-size:1.15rem}.supplement-adherence>div:nth-child(2){background:var(--green-soft);border-radius:4px;height:7px;margin:8px 0;overflow:hidden}.supplement-adherence>div:nth-child(2) span{background:var(--green-strong);height:100%;display:block}.supplement-adherence p{margin:0}.supplement-template-picker{gap:6px;margin:14px 22px;display:grid}.supplement-template-picker>span{color:var(--text-soft);font-size:.68rem;font-weight:700}.supplement-template-picker select{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--text);border-radius:6px;padding:0 11px}.supplement-manager-form{grid-template-columns:repeat(3,minmax(0,1fr))}.supplement-form-section{flex-direction:column;grid-column:1/-1;gap:3px;padding-top:4px;display:flex}.supplement-form-section:not(:first-child){border-top:1px solid var(--line);margin-top:4px;padding-top:16px}.supplement-form-section strong{color:var(--green-strong);font-size:.8rem}.supplement-form-section span{color:var(--text-soft);font-size:.67rem}.supplement-stage-list{flex-direction:column;grid-column:1/-1;gap:12px;display:flex}.supplement-stage-editor{border:1px solid var(--line);background:var(--surface-strong);border-radius:7px;overflow:hidden}.supplement-stage-heading{border-bottom:1px solid var(--line);background:var(--green-soft);justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:8px 12px;display:flex}.supplement-stage-heading>span,.supplement-intake-heading>span{flex-direction:column;gap:2px;min-width:0;display:flex}.supplement-stage-heading b{color:var(--green-strong);font-size:.78rem}.supplement-stage-heading small,.supplement-intake-heading small{color:var(--text-soft);font-size:.63rem}.supplement-stage-heading button,.supplement-intake-heading button{border:1px solid var(--line);background:var(--surface-strong);width:40px;height:40px;color:var(--error);border-radius:6px;flex:none;place-items:center;display:grid}.supplement-stage-fields{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 150px 150px;gap:12px;padding:13px 12px;display:grid}.supplement-intake-list{flex-direction:column;display:flex}.supplement-intake-editor{border-bottom:1px solid var(--line);padding:13px 12px}.supplement-intake-heading{justify-content:space-between;align-items:center;gap:12px;min-height:40px;margin-bottom:9px;display:flex}.supplement-intake-heading b{font-size:.75rem}.supplement-intake-fields{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:11px;display:grid}.supplement-reminder-check{align-self:end;padding:0 4px}.supplement-add-row,.supplement-add-stage{min-height:44px;color:var(--green-strong);border:0;justify-content:center;align-items:center;gap:7px;font-size:.72rem;font-weight:750;display:inline-flex}.supplement-add-row{background:#f6f7f3;width:100%}.supplement-add-stage{border:1px dashed var(--green);background:0 0;border-radius:6px;align-self:flex-start;padding:0 13px}.supplement-add-row:hover,.supplement-add-stage:hover{background:var(--green-soft)}.supplement-schedule-summary{flex-direction:column;gap:7px;max-width:760px;margin-top:3px;display:flex}.supplement-schedule-summary>div{border-left:2px solid var(--green-soft);grid-template-columns:minmax(105px,.32fr) minmax(0,1fr);gap:3px 10px;padding-left:10px;display:grid}.supplement-schedule-summary>div>b{color:var(--green-strong);font-size:.68rem}.supplement-schedule-summary>div>small{grid-column:1}.supplement-schedule-summary>div>span{grid-column:2;align-items:baseline;gap:7px;display:flex}.supplement-schedule-summary>div>span strong{flex:none;font-size:.68rem}.client-reminder-status{white-space:nowrap;border-radius:4px;margin-left:7px;padding:2px 6px;font-size:.62rem;font-style:normal;font-weight:750;display:inline-flex}.client-reminder-status.active{background:var(--green-soft);color:var(--green-strong)}.client-reminder-status.off{color:var(--clay);background:#f3ece6}.supplement-document-actions{flex-wrap:wrap;gap:8px;margin:-4px 0 8px;display:flex}.supplement-document-notice{color:var(--green-strong);margin:0 0 8px;font-size:.78rem}.supplement-course-details{max-width:780px;margin-top:8px}.supplement-course-details>summary{cursor:pointer;width:fit-content;min-width:240px;color:var(--green-strong);justify-content:space-between;align-items:center;gap:12px;font-size:.76rem;font-weight:700;display:flex}.supplement-course-details>summary span{color:var(--muted);font-size:.68rem;font-weight:500}.supplement-course-details[open]>summary{margin-bottom:8px}.supplement-intake-actions button>span:not(.button-spinner){text-align:left;flex-direction:column;align-items:flex-start;gap:2px;display:flex}.supplement-intake-actions button>span strong{font-size:.76rem}.supplement-intake-actions button>span small{color:inherit;opacity:.78;font-size:.66rem}.supplement-adherence-details{border:1px solid var(--line);background:var(--surface);border-radius:8px;margin:0 0 10px;padding:12px}.supplement-adherence-details>summary{cursor:pointer;color:var(--green-strong);justify-content:space-between;align-items:center;gap:12px;font-size:.8rem;font-weight:700;display:flex}.supplement-adherence-details>summary span{color:var(--muted);font-size:.68rem;font-weight:500}.supplement-adherence-details>div{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;margin-top:12px;display:grid}.supplement-adherence-details article{background:var(--surface-subtle);border-left:3px solid var(--green-soft);border-radius:6px;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:10px;display:grid}.supplement-adherence-details article.attention{border-left-color:var(--clay)}.supplement-adherence-details article>span{flex-direction:column;min-width:0;display:flex}.supplement-adherence-details article>span strong{font-size:.76rem}.supplement-adherence-details article>span small,.supplement-adherence-details article>small{color:var(--muted);font-size:.66rem}.supplement-adherence-details article>b{color:var(--green-strong);font-size:.82rem}.supplement-adherence-details article.attention>b{color:var(--clay)}.supplement-adherence-details article>p,.supplement-adherence-details article>small{grid-column:1/-1;margin:0}.supplement-adherence-details article>p{font-size:.7rem}.manager-check{min-height:44px;color:var(--text);align-items:center;gap:10px;font-size:.74rem;font-weight:700;display:flex}.manager-check input{width:20px;height:20px;accent-color:var(--green-strong)}.supplement-history{border-left:2px solid var(--green-soft);flex-direction:column;gap:0;margin-top:7px;display:flex}.supplement-history>span{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:7px 10px;display:flex}.supplement-history b{font-size:.68rem}.manager-empty{min-height:220px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:24px;display:flex}.manager-empty svg{color:var(--green)}.manager-empty span{max-width:450px;font-size:.78rem;line-height:1.5}.nutrition-manager-current{flex-direction:column;display:flex}.nutrition-manager-summary{border-bottom:1px solid var(--line);grid-template-columns:1fr 140px 140px;display:grid}.nutrition-manager-summary>span{border-right:1px solid var(--line);flex-direction:column;justify-content:center;gap:4px;min-height:74px;padding:13px 22px;display:flex}.nutrition-manager-summary>span:last-child{border-right:0}.nutrition-manager-summary strong{font-size:.9rem}.nutrition-manager-summary small{color:var(--text-soft);font-size:.67rem}.nutrition-manager-current>p{border-bottom:1px solid var(--line);background:var(--clay-soft);color:#6f4938;margin:0;padding:13px 22px;font-size:.74rem;line-height:1.5}.nutrition-validation{border-bottom:1px solid var(--line);background:#fffaf3;flex-direction:column;gap:8px;padding:16px 22px;font-size:.75rem;display:flex}.nutrition-generation-state{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:12px;display:flex}.nutrition-generation-state>span{gap:3px;display:grid}.nutrition-generation-state small{color:var(--text-soft)}.nutrition-generation-state.success{border-color:#4c7e5b61}.nutrition-generation-state.warning{border-color:#a670396b}.nutrition-generation-state.error{border-color:#a53d386b}.nutrition-validation>span{align-items:flex-start;gap:7px;line-height:1.45;display:flex}.nutrition-validation .error{color:#a53d38}.nutrition-validation .warning{color:#8a5a2f}.nutrition-publish-row{border-bottom:1px solid var(--line);color:var(--text-soft);justify-content:space-between;align-items:center;gap:16px;padding:14px 22px;font-size:.72rem;display:flex}@media (width<=640px){.nutrition-generation-state{flex-direction:column;align-items:stretch}.nutrition-generation-state .secondary-action{justify-content:center;width:100%}.nutrition-publish-row{flex-direction:column;align-items:stretch}.nutrition-publish-row .primary-action{justify-content:center;width:100%}}.manager-days{margin:18px 22px 0}.manager-meal-list{flex-direction:column;padding:8px 22px 16px;display:flex}.manager-meal-list article{border-bottom:1px solid var(--line);grid-template-columns:82px minmax(0,1fr) 72px 40px;align-items:center;gap:12px;min-height:72px;display:grid}.manager-meal-list article.editing{background:var(--green-soft)}.manager-meal-list article>span{color:var(--green-strong);font-size:.68rem;font-weight:800}.manager-meal-list article>div{flex-direction:column;gap:4px;min-width:0;display:flex}.manager-meal-list strong{font-size:.82rem}.manager-meal-list small{color:var(--text-soft);white-space:nowrap;text-overflow:ellipsis;font-size:.65rem;overflow:hidden}.manager-meal-list b{color:var(--clay);white-space:nowrap;justify-self:end;font-size:.66rem}.meal-edit-button,.meal-editor-heading>button{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.meal-edit-button:hover,.meal-editor-heading>button:hover{border-color:var(--green);background:var(--green-soft)}.meal-editor-form{border-top:1px solid var(--line);margin-top:14px}.meal-ingredient-editor{flex-direction:column;gap:8px;display:flex}.meal-ingredient-editor>div:first-child{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.meal-ingredient-editor>div:first-child span{color:var(--text-soft);font-size:.68rem}.meal-ingredient-row{grid-template-columns:minmax(150px,1fr) 100px 100px 40px;gap:8px;display:grid}.meal-ingredient-row input{border:1px solid var(--line);background:var(--surface);min-width:0;height:40px;color:var(--text);border-radius:5px;padding:0 10px}.meal-ingredient-row button{border:1px solid var(--line);background:var(--surface);color:var(--danger);border-radius:5px;place-items:center;display:grid}.meal-editor-heading{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.meal-editor-heading>div{flex-direction:column;gap:3px;display:flex}.meal-editor-heading strong{font-family:Georgia,Times New Roman,serif;font-size:1.05rem}.meal-editor-heading span{color:var(--text-soft);font-size:.68rem}.practice-manager-list{flex-direction:column;display:flex}.practice-manager-list article{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:13px;min-height:108px;padding:16px 22px;display:grid}.practice-manager-list article>div{flex-direction:column;gap:4px;min-width:0;display:flex}.practice-manager-list article>div>small{color:var(--green-strong);text-transform:uppercase;font-size:.63rem;font-weight:800}.practice-manager-list article strong{font-size:.88rem}.practice-manager-list article p{max-width:680px;color:var(--text-soft);margin:0;font-size:.72rem;line-height:1.45}.practice-manager-list article>div>span{color:var(--text-soft);font-size:.65rem}.practice-manager-list article>button{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-width:126px;min-height:40px;padding:0 11px;font-size:.7rem;font-weight:750;display:inline-flex}.practice-manager-list article>button.assigned{background:var(--green-soft);color:var(--green-strong);border-color:#b9cbbb}.practice-manager-list article>button:disabled{opacity:.55;cursor:wait}.practice-manager-list .button-spinner{width:15px;height:15px}.journal-page{flex-direction:column;gap:20px;display:flex}.journal-heading{align-items:center}.journal-message{border-left:3px solid;align-items:center;gap:8px;min-height:44px;padding:11px 14px;font-size:.78rem;line-height:1.45;display:flex}.journal-message.success{color:var(--green-strong);background:var(--green-soft)}.journal-message.error{color:var(--error);background:#f8e8e5}.journal-today{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.journal-today-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-recommendation-note{border:1px solid var(--line);border-left:4px solid var(--green-strong);background:var(--green-soft);border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-height:86px;padding:15px 18px;display:grid}.daily-recommendation-icons{background:var(--surface);width:44px;height:44px;color:var(--green-strong);border-radius:6px;justify-content:center;align-items:center;gap:2px;display:flex}.daily-recommendation-note div{min-width:0}.daily-recommendation-note strong{color:var(--text);font-size:.82rem}.daily-recommendation-note p{color:var(--text-soft);margin:3px 0 0;font-size:.7rem;line-height:1.5}.daily-recommendation-note a{border:1px solid var(--green-strong);min-height:44px;color:var(--green-strong);border-radius:6px;align-items:center;gap:7px;padding:0 14px;font-size:.72rem;font-weight:800;text-decoration:none;display:inline-flex}.daily-recommendation-note a:hover{background:var(--surface)}.journal-today article{border-right:1px solid var(--line);grid-template-columns:38px minmax(0,1fr);align-items:center;gap:11px;min-width:0;min-height:112px;padding:16px;display:grid}.journal-today article:last-child{border-right:0}.journal-today article>span:first-child{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.journal-today article>div{flex-direction:column;gap:3px;min-width:0;display:flex}.journal-today small{color:var(--text-soft);font-size:.68rem}.journal-today strong{white-space:nowrap;text-overflow:ellipsis;font-size:1rem;overflow:hidden}.journal-today em{color:var(--text-soft);font-size:.65rem;font-style:normal}.tracker-progress{background:#dce2dc;border-radius:4px;height:4px;margin-top:5px;overflow:hidden}.tracker-progress i{border-radius:inherit;background:var(--green);height:100%;display:block}.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.journal-entry-panel,.journal-history,.specialist-activity-workspace{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.journal-panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;min-height:78px;padding:14px 18px;display:flex}.journal-panel-heading>div{min-width:0}.journal-panel-heading h3{margin:3px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.2rem}.journal-panel-heading>svg{color:var(--green)}.journal-panel-heading>span{background:var(--green-soft);min-width:28px;height:28px;color:var(--green-strong);border-radius:999px;place-items:center;font-size:.68rem;font-weight:800;display:grid}.tracker-switch{border-bottom:1px solid var(--line);background:#eef0eb;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.tracker-switch button{min-width:0;min-height:58px;color:var(--text-soft);background:0 0;border:0;border-bottom:3px solid #0000;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px;font-size:.67rem;font-weight:750;display:flex}.tracker-switch button:hover{color:var(--green-strong);background:#e3e9e1}.tracker-switch button.active{border-bottom-color:var(--green-strong);background:var(--green-soft);color:var(--green-strong)}.tracker-switch-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.tracker-form,.meal-diary-form{flex-direction:column;gap:15px;padding:18px;display:flex}.meal-diary-form input.visually-hidden{border:0;width:1px;height:1px;min-height:0;padding:0}.meal-diary-fields{border:0;gap:16px;min-width:0;margin:0;padding:0;display:grid}.meal-photo-actions{flex-wrap:wrap;gap:12px;display:flex}.meal-photo-actions button,.meal-timeline-actions button{border:1px solid var(--line);background:var(--surface);min-width:44px;min-height:44px;color:var(--green-strong);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:8px;display:inline-flex}.meal-photo-actions button{flex:1;padding:8px 12px}.meal-photo-actions button:focus-visible,.meal-timeline-actions button:focus-visible{outline:2px solid var(--green);outline-offset:2px}.meal-selected-preview{position:relative}.meal-selected-preview img{object-fit:contain;background:var(--surface-strong);border-radius:6px;width:100%;height:220px;display:block}.meal-selected-preview button{background:var(--surface);width:44px;height:44px;color:var(--text);border:1px solid var(--line);cursor:pointer;border-radius:6px;place-items:center;display:grid;position:absolute;top:8px;right:8px}.journal-day-heading{border-bottom:1px solid var(--line);margin:0;padding:18px;font-size:16px}.journal-timeline article>.meal-timeline-actions{flex-flow:wrap;align-items:center;gap:8px;max-width:200px;display:flex}.meal-timeline-actions time{width:100%}.journal-timeline article strong{white-space:pre-wrap;overflow-wrap:anywhere}@media (width<=640px){.journal-timeline article>.meal-timeline-actions{grid-column:2;max-width:none}}.tracker-guidance{color:var(--text-soft);margin:0;padding:14px 18px 0;font-size:.72rem;line-height:1.5}.tracker-form label,.meal-diary-form label,.tracking-goals-form label,.food-review-actions label{min-width:0;color:var(--text-soft);flex-direction:column;gap:7px;font-size:.72rem;font-weight:750;display:flex}.tracker-form input,.tracker-form textarea,.meal-diary-form select,.meal-diary-form input,.meal-diary-form textarea,.tracking-goals-form input,.food-review-actions textarea{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-width:0;min-height:44px;color:var(--text);border-radius:6px;outline:0;padding:0 11px;font-size:.82rem}.tracker-form textarea,.meal-diary-form textarea,.food-review-actions textarea{resize:vertical;min-height:76px;padding-top:10px;line-height:1.45}.tracker-form input:focus,.tracker-form textarea:focus,.meal-diary-form select:focus,.meal-diary-form input:focus,.meal-diary-form textarea:focus,.tracking-goals-form input:focus,.food-review-actions textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.tracker-amount>div{border:1px solid var(--line);background:var(--surface-strong);border-radius:6px;grid-template-columns:minmax(0,1fr) 74px;align-items:center;display:grid;overflow:hidden}.tracker-amount>div input{border:0}.tracker-amount>div b{border-left:1px solid var(--line);height:44px;color:var(--green-strong);place-items:center;font-size:.72rem;display:grid}.tracker-form .stress-range{min-height:28px;accent-color:var(--green-strong);box-shadow:none;border:0;padding:0}.tracker-form .primary-action,.meal-diary-form .primary-action{width:100%}.meal-photo-picker,.meal-photo-selected{min-height:78px;color:var(--green-strong);text-align:left;background:#f5f6f1;border:1px dashed #9fb0a2;border-radius:6px;align-items:center;gap:12px;padding:13px;display:flex}.meal-photo-picker:hover{border-color:var(--green-strong);background:var(--green-soft)}.meal-photo-picker span,.meal-photo-selected span{flex-direction:column;gap:3px;min-width:0;display:flex}.meal-photo-picker strong,.meal-photo-selected strong{color:var(--text);font-size:.8rem}.meal-photo-picker small,.meal-photo-selected small{color:var(--text-soft);font-size:.66rem}.meal-photo-selected button{width:40px;height:40px;color:var(--error);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;margin-left:auto;display:grid}.meal-photo-selected button:hover{background:#f8e8e5}.journal-timeline{flex-direction:column;display:flex}.journal-timeline article{border-bottom:1px solid var(--line);grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:12px;min-height:92px;padding:14px 18px;display:grid}.journal-timeline article:last-child{border-bottom:0}.timeline-icon,.food-photo-loading{background:var(--green-soft);width:40px;height:40px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.food-photo-thumb{object-fit:cover;background:#e8ebe5;border-radius:6px;width:54px;height:54px}.food-timeline-row:has(.food-photo-thumb){grid-template-columns:56px minmax(0,1fr) auto}.journal-timeline article>div{flex-direction:column;gap:4px;min-width:0;display:flex}.journal-timeline article small{color:var(--green-strong);text-transform:uppercase;font-size:.63rem;font-weight:800}.journal-timeline article strong{font-size:.84rem;line-height:1.4}.journal-timeline article p{color:var(--text-soft);margin:0;font-size:.71rem;line-height:1.45}.journal-timeline article time{color:var(--text-soft);white-space:nowrap;font-size:.64rem}.journal-timeline .ai-food-comment{color:#6b4b38;align-items:flex-start;gap:5px;padding-top:3px;display:flex}.journal-timeline .ai-food-comment svg{color:var(--clay);flex:none}.journal-timeline .food-ai-processing{color:var(--green-strong);align-items:center;gap:7px;padding-top:3px;font-weight:700;display:flex}.journal-timeline .food-ai-processing .button-spinner{flex:none;width:14px;height:14px}.journal-timeline .specialist-food-comment{color:var(--green-strong);font-weight:650}.journal-empty{min-height:190px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:25px;display:flex}.journal-empty svg{color:var(--green)}.journal-empty strong{color:var(--text)}.journal-empty span{max-width:430px;font-size:.74rem;line-height:1.5}.specialist-activity-workspace{padding-top:0}.specialist-activity-workspace>.detail-section-heading{border-bottom:1px solid var(--line);padding:20px 22px}.specialist-tracker-metrics{border-width:0 0 1px;border-radius:0}.specialist-tracker-metrics .detail-metric{flex-direction:column;align-items:flex-start;gap:4px;min-height:108px;display:flex;position:relative}.specialist-tracker-metrics .detail-metric>span{background:var(--green-soft);width:34px;height:34px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid;position:absolute;top:16px;right:16px}.specialist-tracker-metrics .detail-metric>span svg{grid-row:auto}.specialist-tracker-metrics .detail-metric small{color:var(--text-soft);padding-right:38px;font-size:.68rem}.specialist-tracker-metrics .detail-metric strong{align-self:flex-start;max-width:calc(100% - 42px);font-size:1.05rem;line-height:1.25}.specialist-tracker-metrics .detail-metric em{color:var(--text-soft);font-size:.65rem;font-style:normal}.specialist-activity-grid{border-bottom:1px solid var(--line);grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);display:grid}.tracking-goals-form{border-right:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;padding:0 20px 20px;display:grid}.tracking-goals-form .panel-subheading,.tracking-goals-form .primary-action{grid-column:1/-1}.specialist-tracker-history{min-width:0;padding:0 20px 12px}.specialist-tracker-history .journal-empty{min-height:180px}.journal-timeline.compact{max-height:430px;overflow:auto}.journal-timeline.compact article{padding-left:0;padding-right:0}.food-review-section{padding:0 22px 18px}.food-weekly-summary{border:1px solid var(--line);background:var(--surface);border-radius:7px;margin:18px 0 6px;overflow:hidden}.food-weekly-summary>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:66px;padding:12px 15px;display:flex}.food-weekly-summary>header h4{margin:3px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1rem}.food-weekly-summary>header>span{color:var(--text-soft);font-size:.68rem;font-weight:700}.food-weekly-metrics{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.food-weekly-metrics article{border-right:1px solid var(--line);align-items:center;gap:10px;min-width:0;min-height:82px;padding:12px;display:flex}.food-weekly-metrics article:last-child{border-right:0}.food-weekly-metrics article>svg{color:var(--green-strong);flex:none}.food-weekly-metrics article.attention>svg,.food-weekly-metrics article.attention strong{color:var(--clay)}.food-weekly-metrics article span{flex-direction:column;gap:3px;min-width:0;display:flex}.food-weekly-metrics small{color:var(--text-soft);font-size:.63rem}.food-weekly-metrics strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.food-weekly-progress{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:14px 15px;display:grid}.food-weekly-progress>div{flex-direction:column;gap:7px;display:flex}.food-weekly-progress span{justify-content:space-between;align-items:center;gap:8px;font-size:.66rem;display:flex}.food-weekly-progress span b{font-weight:700}.food-weekly-progress span em{color:var(--text-soft);font-style:normal}.food-weekly-progress>div>i{background:var(--line);border-radius:4px;height:7px;overflow:hidden}.food-weekly-progress>div>i>b{border-radius:inherit;background:var(--green);height:100%;transition:width .18s;display:block}.food-weekly-details{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.food-weekly-details>div{border-right:1px solid var(--line);min-width:0;padding:13px 15px}.food-weekly-details>div:last-child{border-right:0}.food-weekly-details strong,.food-weekly-signals>strong{font-size:.69rem}.food-weekly-details p{flex-wrap:wrap;gap:6px;margin:8px 0 0;display:flex}.food-weekly-details p span{border:1px solid var(--line);min-height:24px;color:var(--text-soft);border-radius:12px;align-items:center;padding:2px 8px;font-size:.63rem;display:inline-flex}.food-weekly-details p small{color:var(--text-soft);font-size:.66rem}.food-weekly-signals{border-bottom:1px solid var(--line);background:var(--clay-soft);padding:13px 15px}.food-weekly-signals ul{color:#6b4b38;margin:7px 0 0;padding-left:18px;font-size:.67rem;line-height:1.55}.food-summary-review-action{border:1px solid var(--clay);min-height:44px;color:var(--clay);font:inherit;background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:7px;margin:10px 15px;padding:0 12px;font-size:.7rem;font-weight:750;display:flex}.food-summary-review-action:hover{background:var(--clay-soft)}.food-review-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.food-review-heading .panel-subheading{flex:1}.food-review-filters{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;align-items:center;padding:3px;display:inline-flex}.food-review-filters button{min-height:38px;color:var(--text-soft);font:inherit;background:0 0;border:0;border-radius:5px;align-items:center;gap:7px;padding:0 10px;font-size:.68rem;font-weight:750;display:inline-flex}.food-review-filters button:hover{color:var(--green-strong)}.food-review-filters button.active{background:var(--surface);color:var(--green-strong);box-shadow:0 1px 3px color-mix(in srgb, var(--text) 10%, transparent)}.food-review-filters b{background:var(--line);border-radius:10px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:.61rem;display:grid}.food-review-filters button.active b{background:var(--green-soft)}.food-review-list{flex-direction:column;display:flex}.food-review-list>article{border-bottom:1px solid var(--line);grid-template-columns:76px minmax(0,1fr) minmax(240px,.7fr);align-items:start;gap:15px;padding:17px 0;display:grid}.food-review-list>article>.food-photo-thumb{width:76px;height:76px}.food-photo-open{border:1px solid var(--line);background:var(--surface-soft);color:#fff;border-radius:7px;width:76px;height:76px;padding:0;position:relative;overflow:hidden}.food-photo-open .food-photo-thumb{border-radius:0;width:100%;height:100%;transition:transform .18s}.food-photo-open:hover .food-photo-thumb{transform:scale(1.035)}.food-photo-open>span{background:#172019d1;border-radius:5px;place-items:center;width:27px;height:27px;display:grid;position:absolute;bottom:5px;right:5px}.food-photo-missing{border:1px solid var(--line);background:var(--surface-soft);width:76px;height:76px;color:var(--text-soft);border-radius:7px;place-items:center;display:grid}.food-review-copy{flex-direction:column;gap:6px;min-width:0;display:flex}.food-review-copy>div:first-child{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.food-review-copy>div:first-child>span{color:var(--green-strong);text-transform:uppercase;font-size:.64rem;font-weight:800}.food-review-copy em{color:var(--green-strong);align-items:center;gap:3px;font-size:.62rem;font-style:normal;font-weight:750;display:inline-flex}.food-review-copy em.pending{color:var(--clay)}.food-review-copy em.processing{color:var(--green-strong)}.food-review-copy em.processing .button-spinner{width:13px;height:13px}.food-review-copy strong{font-size:.86rem;line-height:1.4}.food-review-copy>time{color:var(--text-soft);font-size:.65rem}.food-review-copy p{color:#6b4b38;align-items:flex-start;gap:5px;margin:0;font-size:.71rem;line-height:1.45;display:flex}.food-review-copy p svg{color:var(--clay);flex:none}.food-review-copy small{color:var(--text-soft);font-size:.68rem;line-height:1.45}.food-macros{flex-wrap:wrap;gap:5px;display:flex}.food-macros span{border:1px solid var(--line);min-height:22px;color:var(--text-soft);border-radius:999px;align-items:center;padding:2px 7px;font-size:.62rem;font-weight:700;display:inline-flex}.food-review-actions{flex-direction:column;gap:9px;display:flex}.food-review-actions>div{justify-content:flex-end;gap:7px;display:flex}.food-review-actions button{flex:1;padding:0 9px;font-size:.69rem}.food-review-actions .analysis-edit-action{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--green-strong);font:inherit;border-radius:6px;justify-content:center;align-items:center;gap:7px;font-size:.69rem;font-weight:750;display:inline-flex}.food-review-actions .analysis-edit-action:hover{background:var(--green-soft)}.food-review-actions .analysis-edit-action:disabled{opacity:.55;cursor:wait}.food-analysis-editor{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:7px;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:2px;padding:16px;display:grid}.food-analysis-editor-heading,.food-analysis-editor>.wide,.food-analysis-editor>footer{grid-column:1/-1}.food-analysis-editor-heading>div{color:var(--green-strong);align-items:center;gap:9px;display:flex}.food-analysis-editor-heading span{flex-direction:column;gap:2px;display:flex}.food-analysis-editor-heading small{color:var(--text-soft);font-size:.65rem;font-weight:500}.food-analysis-editor label{min-width:0;color:var(--text-soft);flex-direction:column;gap:6px;font-size:.7rem;font-weight:750;display:flex}.food-analysis-editor input,.food-analysis-editor textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:6px;outline:0;padding:9px 10px;line-height:1.45}.food-analysis-editor input{min-height:44px}.food-analysis-editor textarea{resize:vertical}.food-analysis-editor input:focus,.food-analysis-editor textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.food-analysis-macros{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.food-analysis-editor footer{justify-content:flex-end;gap:9px;display:flex}.food-analysis-editor footer button{min-height:42px}.food-photo-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#111612bd;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.food-photo-modal{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;width:min(940px,100%);max-height:calc(100vh - 48px);display:grid;overflow:hidden;box-shadow:0 24px 70px #00000057}.food-photo-modal header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:70px;padding:12px 16px 12px 20px;display:flex}.food-photo-modal header>div{flex-direction:column;gap:3px;min-width:0;display:flex}.food-photo-modal header small{color:var(--green-strong);font-size:.68rem;font-weight:750}.food-photo-modal header strong{text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;overflow:hidden}.food-photo-modal header button{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--text);border-radius:6px;flex:none;place-items:center;display:grid}.food-photo-modal-image{background:#171b18;place-items:center;min-height:260px;display:grid;overflow:auto}.food-photo-modal-image .food-photo-thumb{object-fit:contain;border-radius:0;width:100%;height:100%;max-height:calc(100vh - 210px)}.food-photo-modal-image .food-photo-loading{width:64px;height:64px}.food-photo-modal footer{border-top:1px solid var(--line);color:#6b4b38;align-items:flex-start;gap:9px;padding:14px 20px;display:flex}.food-photo-modal footer svg{color:var(--clay);flex:none}.food-photo-modal footer p{margin:0;line-height:1.5}.calendar-page{flex-direction:column;gap:18px;display:flex}.calendar-page-heading{align-items:center}.calendar-page-heading>div:last-child{align-items:center;gap:9px;display:flex}.calendar-layout{grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr);align-items:start;gap:16px;display:grid}.calendar-board,.consultation-block,.schedule-settings,.schedule-list-section{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.month-toolbar{border-bottom:1px solid var(--line);grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:68px;padding:8px 14px;display:grid}.month-toolbar strong{text-align:center;text-transform:capitalize;font-family:Georgia,Times New Roman,serif;font-size:1.16rem}.month-toolbar button{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.month-toolbar button:hover{background:var(--green-soft)}.month-grid{border-bottom:1px solid var(--line)}.month-weekdays,.month-days{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.month-weekdays{background:#eceee8;align-items:center;min-height:34px}.month-weekdays span{color:var(--text-soft);text-align:center;text-transform:uppercase;font-size:.65rem;font-weight:800}.month-days button{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);min-width:0;min-height:72px;color:var(--text);flex-direction:column;justify-content:space-between;align-items:flex-start;gap:5px;padding:8px;display:flex}.month-days button:nth-child(7n){border-right:0}.month-days button:nth-last-child(-n+7){border-bottom:0}.month-days button:hover{background:#f1f3ee}.month-days button.outside{color:#abb1ad;background:#faf9f5}.month-days button.today>span{background:var(--green-strong);color:#fff;border-radius:50%;place-items:center;width:25px;height:25px;margin:-3px;display:grid}.month-days button.selected{box-shadow:inset 0 0 0 2px var(--green);background:var(--green-soft)}.month-days button>span{font-size:.72rem;font-weight:800}.month-days button>div{flex-wrap:wrap;gap:4px;display:flex}.month-days button i{background:var(--clay);border-radius:50%;width:7px;height:7px}.month-days button i.consultation{background:var(--green-strong);border-radius:2px;width:14px}.calendar-day-events{padding:0 18px 12px}.calendar-day-events>.panel-subheading{margin-top:0}.calendar-day-events>div:last-child{flex-direction:column;display:flex}.calendar-day-events article{border-bottom:1px solid var(--line);grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:68px;display:grid}.calendar-day-events article>span{background:var(--clay-soft);width:34px;height:34px;color:var(--clay);border-radius:6px;place-items:center;display:grid}.calendar-day-events article>span.consultation{background:var(--green-soft);color:var(--green-strong)}.calendar-day-events article>div{flex-direction:column;gap:3px;min-width:0;display:flex}.calendar-day-events article strong{font-size:.78rem}.calendar-day-events article small{color:var(--text-soft);white-space:nowrap;text-overflow:ellipsis;font-size:.66rem;overflow:hidden}.calendar-day-events article time{color:var(--text-soft);font-size:.68rem;font-weight:700}.consultation-sidebar{flex-direction:column;gap:16px;display:flex}.consultation-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:13px;min-height:70px;padding:13px 17px;display:flex}.consultation-heading h3{margin:3px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.08rem}.consultation-heading>svg{color:var(--green)}.consultation-heading>span{background:var(--green-soft);min-width:28px;height:28px;color:var(--green-strong);border-radius:999px;place-items:center;font-size:.68rem;font-weight:800;display:grid}.consultation-list,.available-slot-list{flex-direction:column;display:flex}.consultation-list article{border-bottom:1px solid var(--line);grid-template-columns:36px minmax(0,1fr);align-items:start;gap:10px;min-height:74px;padding:12px 16px;display:grid}.consultation-list article>span{background:var(--green-soft);width:36px;height:36px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.consultation-list article>div{flex-direction:column;gap:3px;min-width:0;display:flex}.consultation-list strong{text-transform:capitalize;font-size:.78rem}.consultation-list small{color:var(--text-soft);font-size:.67rem}.consultation-list em,.available-slot-list small{color:var(--clay);align-items:center;gap:4px;font-size:.64rem;font-style:normal;font-weight:700;display:inline-flex}.consultation-calendar-actions{flex-wrap:wrap;gap:6px;margin-top:5px;display:flex}.consultation-calendar-actions button,.consultation-calendar-actions a{border:1px solid var(--line);background:var(--surface);min-height:30px;color:var(--green-strong);border-radius:5px;align-items:center;gap:5px;padding:0 8px;font-size:.64rem;font-weight:700;text-decoration:none;display:inline-flex}.consultation-calendar-actions button:hover,.consultation-calendar-actions a:hover{background:var(--green-soft)}.available-slot-list article{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:11px 16px;display:flex}.available-slot-list article>div{flex-direction:column;gap:3px;min-width:0;display:flex}.available-slot-list strong{text-transform:capitalize;font-size:.78rem}.available-slot-list span{color:var(--text-soft);font-size:.68rem}.available-slot-list button{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:6px;justify-content:center;align-items:center;min-width:82px;min-height:40px;padding:0 10px;font-size:.7rem;font-weight:750;display:inline-flex}.available-slot-list button:hover:not(:disabled){background:#244a34}.available-slot-list button:disabled{opacity:.55}.available-slot-list .button-spinner{width:15px;height:15px}.calendar-empty{min-height:130px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:20px;display:flex}.calendar-empty svg{color:var(--green)}.calendar-empty span{max-width:310px;font-size:.72rem;line-height:1.45}.schedule-create-form,.reschedule-form{border:1px solid var(--line);background:#f0f2ec;border-radius:7px;grid-template-columns:repeat(3,minmax(0,1fr)) auto auto;align-items:end;gap:12px;padding:16px 18px;display:grid}.schedule-create-form label,.reschedule-form label,.schedule-settings label,.client-calendar-filter label{min-width:0;color:var(--text-soft);flex-direction:column;gap:7px;font-size:.7rem;font-weight:750;display:flex}.schedule-create-form input,.schedule-create-form select,.reschedule-form input,.schedule-settings input,.schedule-settings select,.client-calendar-filter select{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-width:0;min-height:44px;color:var(--text);border-radius:6px;outline:0;padding:0 10px;font-size:.78rem}.schedule-create-form input:focus,.schedule-create-form select:focus,.reschedule-form input:focus,.schedule-settings input:focus,.schedule-settings select:focus,.client-calendar-filter select:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.schedule-create-form .schedule-check{min-height:44px;color:var(--text);flex-direction:row;align-items:center;gap:8px;padding:0 4px}.schedule-create-form .schedule-check input{width:19px;min-height:19px;accent-color:var(--green-strong)}.schedule-create-form>button{min-width:104px}.specialist-calendar-layout{grid-template-columns:minmax(0,1.6fr) minmax(250px,.6fr);align-items:start;gap:16px;display:grid}.schedule-settings{padding-bottom:16px}.schedule-settings>label,.schedule-settings>.schedule-buffer-grid,.schedule-settings>button{margin-left:16px;margin-right:16px}.schedule-settings>label{margin-top:14px}.schedule-buffer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px;display:grid}.schedule-settings>button{width:calc(100% - 32px);margin-top:14px}.client-calendar-filter{border-bottom:1px solid var(--line);background:#f5f6f1;padding:12px 18px}.client-calendar-filter label{grid-template-columns:auto minmax(180px,280px);justify-content:space-between;align-items:center;display:grid}.schedule-list-section{padding:0 18px 14px}.schedule-list-section>.consultation-heading{margin:0 -18px;padding-left:18px;padding-right:18px}.reschedule-form{border:0;border-radius:0;grid-template-columns:1fr 150px 1fr auto;margin:14px 0 4px}.reschedule-form>div{gap:7px;display:flex}.completion-form{background:var(--green-soft);border:1px solid #b6cbb9;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:14px 0 4px;padding:16px;display:grid}.completion-form label{color:var(--text-soft);flex-direction:column;gap:7px;font-size:.72rem;font-weight:750;display:flex}.completion-form textarea{resize:vertical;border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:112px;color:var(--text);font:inherit;border-radius:6px;padding:10px 12px;line-height:1.5}.completion-form textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent);outline:0}.completion-form>div{gap:7px;display:flex}.consultation-history-panel{border:1px solid var(--line);background:var(--surface);border-radius:7px;margin:12px 0;padding:14px 16px}.consultation-history-panel>article{border-bottom:1px solid var(--line);color:var(--green-strong);align-items:flex-start;gap:10px;padding:9px 0;display:flex}.consultation-history-panel>article:last-child{border-bottom:0}.consultation-history-panel article div{flex-direction:column;gap:2px;min-width:0;display:flex}.consultation-history-panel article strong{color:var(--text);font-size:.76rem}.consultation-history-panel article small{color:var(--text-soft);font-size:.66rem}.consultation-history-panel article p{color:var(--text-soft);white-space:pre-wrap;margin:3px 0 0;font-size:.7rem;line-height:1.45}.next-consultation-note{background:var(--green-soft);color:var(--green-strong);border:1px solid #b6cbb9;border-radius:7px;align-items:flex-start;gap:9px;margin-top:12px;padding:11px;display:flex}.next-consultation-note div{flex-direction:column;gap:2px;display:flex}.next-consultation-note strong{font-size:.76rem}.next-consultation-note span{color:var(--text-soft);font-size:.68rem}.specialist-slot-list{flex-direction:column;display:flex}.specialist-slot-list article{border-bottom:1px solid var(--line);grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:82px;display:grid}.slot-status{border:1px solid;border-radius:999px;justify-content:center;align-items:center;min-height:27px;padding:3px 8px;font-size:.64rem;font-weight:800;display:inline-flex}.slot-status.free{background:var(--green-soft);color:var(--green-strong);border-color:#b6cbb9}.slot-status.booked{background:var(--clay-soft);color:#754732;border-color:#d6bda9}.specialist-slot-list article>div:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.specialist-slot-list strong{font-size:.82rem}.specialist-slot-list small{color:var(--text-soft);font-size:.67rem}.specialist-slot-list em{color:var(--green-strong);align-items:center;gap:4px;font-size:.66rem;font-style:normal;font-weight:700;display:inline-flex}.specialist-slot-list article>div:last-child{gap:6px;display:flex}.specialist-slot-list article>div:last-child button,.specialist-slot-list article>div:last-child .slot-icon-link{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.specialist-slot-list article>div:last-child button:hover{background:var(--green-soft)}.specialist-slot-list article>div:last-child button.danger{color:var(--error)}.specialist-slot-list article>div:last-child button.complete{color:var(--green-strong);background:var(--green-soft)}.specialist-slot-list article>div:last-child button.danger:hover{background:#f8e8e5}.client-plan-page{flex-direction:column;gap:22px;display:flex}.plan-heading{align-items:center}.plan-refresh{border:1px solid var(--green);background:var(--surface);min-height:44px;color:var(--green-strong);border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:750;display:inline-flex}.plan-refresh:hover:not(:disabled){background:var(--green-soft)}.plan-refresh:disabled{opacity:.55;cursor:wait}.plan-success{color:var(--green-strong);background:var(--green-soft);align-items:center;gap:9px;display:flex}.plan-overview{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.plan-metric{border-right:1px solid var(--line);align-items:center;gap:12px;min-width:0;min-height:104px;padding:17px;display:flex}.plan-metric:last-child{border-right:0}.plan-metric>span{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:6px;flex:none;place-items:center;display:grid}.plan-metric>div{flex-direction:column;gap:4px;min-width:0;display:flex}.plan-metric strong{white-space:nowrap;text-overflow:ellipsis;font-size:1rem;overflow:hidden}.plan-metric small{color:var(--text-soft);font-size:.69rem;line-height:1.35}.plan-tabs{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));min-width:0;display:grid}.plan-tabs button{min-width:0;min-height:54px;color:var(--text-soft);background:0 0;border:0;border-bottom:3px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 10px;font-size:.82rem;font-weight:750;display:inline-flex}.plan-tabs button:hover{color:var(--text);background:#ecefe8}.plan-tabs button.active{border-bottom-color:var(--green-strong);color:var(--green-strong);background:var(--green-soft)}.plan-panel{min-height:350px}.plan-section-content{flex-direction:column;gap:18px;display:flex}.plan-section-title-row{justify-content:space-between;align-items:center;gap:18px;display:flex}.plan-section-heading h3{margin:5px 0;font-family:Georgia,Times New Roman,serif;font-size:1.55rem;font-weight:600}.plan-section-heading>p:last-child{color:var(--text-soft);margin:0;font-size:.82rem;line-height:1.45}.recommendation-list,.meal-list,.supplement-list,.practice-list{border-top:1px solid var(--line)}.recommendation-row{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;min-height:100px;padding:17px 4px;display:grid}.recommendation-row.completed{opacity:.68}.recommendation-row.completed .recommendation-copy>strong{text-decoration:line-through}.recommendation-check{background:var(--surface);width:44px;height:44px;color:var(--green-strong);border:2px solid #a2aaa5;border-radius:50%;place-items:center;margin-top:3px;display:grid}.recommendation-check:hover:not(:disabled){border-color:var(--green-strong);background:var(--green-soft);color:var(--green-strong)}.recommendation-check[aria-pressed=true]{border-color:var(--green-strong);background:var(--green-strong);color:#fff}.recommendation-check:disabled{cursor:not-allowed;opacity:.6}.recommendation-check[aria-busy=true]{cursor:wait}.recommendation-occurrences{flex-direction:column;gap:6px;display:flex}.recommendation-copy .recommendation-markdown{overflow-wrap:anywhere;max-width:780px}.recommendation-check .button-spinner{width:16px;height:16px;color:var(--green-strong)}.recommendation-copy{flex-direction:column;gap:7px;min-width:0;display:flex}.recommendation-copy>strong{font-size:.98rem;line-height:1.35}.recommendation-copy>p{max-width:780px;color:var(--text-soft);margin:0;font-size:.82rem;line-height:1.55}.recommendation-copy time{width:fit-content;color:var(--clay);align-items:center;gap:6px;font-size:.72rem;font-weight:700;display:inline-flex}.recommendation-meta{flex-wrap:wrap;gap:6px;display:flex}.recommendation-meta span{border:1px solid var(--line);min-height:23px;color:var(--text-soft);border-radius:999px;align-items:center;padding:2px 8px;font-size:.66rem;font-weight:700;display:inline-flex}.recommendation-meta span:first-child{color:var(--green-strong);background:#e7eee5;border-color:#bfd3c2}.macro-strip{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.macro-strip>span{border-right:1px solid var(--line);flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:70px;display:flex}.macro-strip>span:last-child{border-right:0}.macro-strip strong{font-size:1.05rem}.macro-strip small{color:var(--text-soft);font-size:.68rem}.nutrition-notes{border-left:3px solid var(--clay);background:var(--clay-soft);color:#6f4938;padding:13px 15px}.nutrition-notes p{margin:0;font-size:.78rem;line-height:1.55}.nutrition-notes p+p{margin-top:5px}.nutrition-day-switch{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:repeat(7,minmax(44px,1fr));display:grid;overflow:hidden}.nutrition-day-switch button{border:0;border-right:1px solid var(--line);min-height:44px;color:var(--text-soft);background:0 0;font-size:.76rem;font-weight:750}.nutrition-day-switch button:last-child{border-right:0}.nutrition-day-switch button:hover{color:var(--text);background:#eef1eb}.nutrition-day-switch button.active{background:var(--green-strong);color:#fff}.meal-row{border-bottom:1px solid var(--line);grid-template-columns:90px minmax(0,1fr) 82px;align-items:start;gap:16px;min-height:98px;padding:17px 4px;display:grid}.meal-kind{color:var(--green-strong);font-size:.72rem;font-weight:800}.meal-row>div{flex-direction:column;gap:5px;min-width:0;display:flex}.meal-row strong{font-size:.93rem}.meal-row p{color:var(--text-soft);margin:0;font-size:.78rem;line-height:1.45}.meal-row small{color:#79847d;font-size:.68rem;line-height:1.45}.meal-calories{color:var(--clay);white-space:nowrap;justify-self:end;font-size:.7rem;font-weight:750}.meal-calories small{text-align:right;margin-top:4px;font-weight:500;display:block}.meal-ingredients,.meal-instruction,.meal-prep-note{margin-top:6px}.meal-ingredients>b,.meal-instruction>b,.meal-prep-note>b{color:var(--green-strong);font-size:.7rem}.meal-ingredients>span{border-bottom:1px dotted var(--line);justify-content:space-between;gap:12px;padding:4px 0;display:flex}.meal-ingredients em{color:var(--text);font-size:.74rem;font-style:normal}.meal-prep-note{border-left:3px solid var(--sage);background:var(--green-soft);padding:7px 10px}.shopping-list{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.shopping-list>div:first-child{border-bottom:1px solid var(--line);background:#eceee8;align-items:center;gap:12px;min-height:76px;padding:13px 16px;display:flex}.shopping-list>div:first-child>span{background:var(--green-soft);width:36px;height:36px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.shopping-list>div:first-child>div{flex-direction:column;gap:3px;display:flex}.shopping-list small{color:var(--text-soft);font-size:.69rem}.shopping-list label{border-bottom:1px solid var(--line);cursor:pointer;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:46px;padding:7px 16px;font-size:.8rem;display:grid}.shopping-list label>b,.shopping-covered b{color:var(--text-soft);white-space:nowrap;font-size:.72rem;font-weight:750}.shopping-category h4{background:var(--surface-strong);color:var(--green-strong);letter-spacing:0;margin:0;padding:12px 16px 7px;font-size:.7rem}.shopping-covered{background:var(--clay-soft);color:#6f4938;padding:12px 16px;font-size:.74rem}.shopping-covered summary{cursor:pointer;font-weight:800}.shopping-covered>span{justify-content:space-between;gap:12px;padding:8px 0 0;display:flex}.shopping-covered em{font-style:normal}.shopping-list label:last-child{border-bottom:0}.shopping-list label.checked span{color:var(--text-soft);text-decoration:line-through}.shopping-list input{width:18px;height:18px;accent-color:var(--green-strong);margin:0}.shopping-list>p{color:var(--text-soft);margin:0;padding:18px;font-size:.8rem}.supplement-row{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;min-height:116px;padding:17px 4px;display:grid}.supplement-icon,.practice-icon{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.supplement-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.supplement-copy>strong{font-size:.95rem}.supplement-copy>p{color:var(--green-strong);margin:0;font-size:.77rem;font-weight:700}.supplement-copy>small{color:var(--text-soft);font-size:.72rem;line-height:1.45}.supplement-links{flex-wrap:wrap;align-items:center;gap:12px;margin-top:3px;display:flex}.supplement-links a{color:var(--clay);align-items:center;gap:5px;font-size:.7rem;font-weight:750;text-decoration:none;display:inline-flex}.supplement-links a:hover{text-underline-offset:3px;text-decoration:underline}.supplement-links span{color:var(--text-soft);font-size:.68rem}.supplement-intake-actions{gap:7px;min-width:145px;display:grid}.supplement-intake-actions>button,.supplement-dose-action>button{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 10px;font-size:.7rem;font-weight:750;display:inline-flex}.supplement-intake-actions>button:hover:not(:disabled),.supplement-dose-action>button:hover:not(:disabled){background:#244a34}.supplement-intake-actions>button.taken,.supplement-dose-action>button.taken{background:var(--green-soft);color:var(--green-strong);border-color:#b9cbbb}.supplement-intake-actions button:disabled{cursor:default}.supplement-dose-action{gap:5px;display:grid}.supplement-reminder-control{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:5px;min-height:32px;padding:3px;display:grid}.supplement-reminder-control>button{width:30px;height:30px;color:var(--green-strong);background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.supplement-reminder-control>button:hover:not(:disabled){background:var(--green-soft)}.supplement-reminder-control input{width:100%;min-width:0;height:30px;color:var(--text);font:inherit;background:0 0;border:0;padding:0 5px;font-size:.69rem}.supplement-row>button:hover:not(:disabled){background:#244a34}.supplement-row>button.taken{background:var(--green-soft);color:var(--green-strong);border-color:#b9cbbb}.supplement-row>button:disabled{cursor:default}.supplement-row .button-spinner{width:16px;height:16px}.practice-row{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;min-height:118px;padding:17px 4px;display:grid}.practice-row>div:nth-child(2){flex-direction:column;gap:5px;min-width:0;display:flex}.practice-category{color:var(--green-strong);text-transform:uppercase;font-size:.66rem;font-weight:800}.practice-row strong{font-size:.95rem}.practice-row p{max-width:740px;color:var(--text-soft);margin:0;font-size:.77rem;line-height:1.5}.practice-row small{color:var(--text-soft);font-size:.67rem}.practice-row .secondary-action,.plan-section-title-row .secondary-action{flex:none}.practice-row .button-spinner,.plan-section-title-row .button-spinner{width:16px;height:16px}.plan-empty{border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:220px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px;display:flex}.plan-empty svg{color:var(--green)}.plan-empty strong{color:var(--text)}.plan-empty span{max-width:430px;font-size:.78rem;line-height:1.5}.plan-skeleton{flex-direction:column;gap:20px;display:flex}.plan-skeleton-metrics{border:1px solid var(--line);background:var(--line);border-radius:7px;grid-template-columns:repeat(4,1fr);gap:1px;display:grid;overflow:hidden}.plan-skeleton-metrics span{background:var(--surface);height:102px;animation:1.4s ease-in-out infinite pulse}.plan-skeleton-tabs{background:#e5e6df;height:54px;animation:1.4s ease-in-out infinite pulse}.plan-skeleton-body{background:var(--line);flex-direction:column;gap:1px;display:flex}.plan-skeleton-body span{background:var(--surface);height:92px;animation:1.4s ease-in-out infinite pulse}.report-workspace{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.report-command{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;min-height:116px;padding:20px 22px;display:flex}.report-command h3{margin:5px 0;font-family:Georgia,Times New Roman,serif;font-size:1.5rem;font-weight:600}.report-command p:last-child{color:var(--text-soft);margin:0;font-size:.8rem;line-height:1.5}.report-command .primary-action{flex:none}.report-view-switch{border-bottom:1px solid var(--line);background:#f7f5ee;align-items:center;min-height:54px;padding:0 14px;display:flex}.report-view-switch>button:not(.report-refresh){color:var(--text-soft);background:0 0;border:0;border-bottom:3px solid #0000;align-self:stretch;align-items:center;gap:7px;padding:0 18px;font-size:.8rem;font-weight:750;display:inline-flex}.report-view-switch>button:not(.report-refresh):hover,.report-view-switch>button.active{color:var(--green-strong)}.report-view-switch>button.active{border-bottom-color:var(--green);background:var(--surface)}.report-refresh{width:42px;height:42px;color:var(--text-soft);background:0 0;border:0;border-radius:6px;place-items:center;margin-left:auto;display:grid}.report-refresh:hover{background:var(--green-soft);color:var(--green-strong)}.report-workspace>.data-message{margin:14px 18px 0}.report-empty{min-height:290px;color:var(--text-soft);text-align:center;place-content:center;justify-items:center;gap:9px;padding:32px;display:grid}.report-empty svg{color:var(--green)}.report-empty strong{color:var(--text);font-size:1rem}.report-empty p{max-width:520px;margin:0;font-size:.8rem;line-height:1.55}.report-panel{padding:18px}.report-summary{background:#edf3ec;border:1px solid #cbd9cc;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:13px;padding:16px;display:grid}.report-summary>span{background:var(--green-strong);color:#fff;border-radius:6px;place-items:center;width:38px;height:38px;display:grid}.report-summary>div>div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.report-summary strong{font-size:.88rem}.report-summary small{color:var(--text-soft);font-size:.75rem}.report-summary p{color:#42554a;margin:7px 0 0;font-size:.8rem;line-height:1.6}.report-summary em{color:var(--green-strong);white-space:nowrap;border:1px solid #adc3b1;border-radius:999px;align-self:center;padding:5px 8px;font-size:.75rem;font-style:normal;font-weight:750}.report-safety-note{color:#72452f;background:#f6eee7;border-left:3px solid #b7774d;align-items:flex-start;gap:9px;margin:12px 0 18px;padding:10px 12px;font-size:.75rem;line-height:1.5;display:flex}.report-safety-note svg{flex:none;margin-top:1px}.report-section-list{border-top:1px solid var(--line)}.report-section{border-bottom:1px solid var(--line);background:var(--surface)}.report-section summary{cursor:pointer;grid-template-columns:34px minmax(0,1fr) auto 24px;align-items:center;gap:11px;min-height:68px;padding:8px 10px;list-style:none;display:grid}.report-section summary::-webkit-details-marker{display:none}.report-section summary:hover{background:#f5f5ee}.report-section summary>span:nth-child(2){flex-direction:column;gap:3px;display:flex}.report-section summary strong{font-size:.86rem}.report-section summary small{color:var(--text-soft);font-size:.75rem}.report-section-index{border:1px solid var(--line);width:30px;height:30px;color:var(--text-soft);border-radius:50%;place-items:center;font-size:.7rem;font-weight:800;display:grid}.report-section.status-accepted .report-section-index{border-color:var(--green);background:var(--green-soft);color:var(--green-strong)}.report-section.status-rejected .report-section-index{color:var(--error);background:#f8e8e5;border-color:#d9aaa5}.report-section summary em{background:var(--clay-soft);color:#794831;border-radius:4px;align-items:center;gap:4px;padding:4px 7px;font-size:.72rem;font-style:normal;font-weight:750;display:inline-flex}.report-section summary>svg{color:var(--text-soft);transition:transform .18s}.report-section[open] summary>svg{transform:rotate(180deg)}.report-section-body{padding:0 10px 18px 55px}.report-section-body>p{color:#3f5147;margin:0 0 13px;font-size:.84rem;line-height:1.65}.report-source{color:var(--text-soft);background:#f1f0e9;grid-template-columns:88px minmax(0,1fr);gap:10px;padding:10px 12px;font-size:.75rem;line-height:1.45;display:grid}.report-source strong{color:var(--text)}.report-note{color:var(--text);flex-direction:column;gap:6px;margin-top:13px;font-size:.75rem;font-weight:750;display:flex}.report-note textarea{resize:vertical;border:1px solid var(--line);background:var(--surface-strong);width:100%;color:var(--text);border-radius:6px;padding:10px 11px;font-size:.78rem;line-height:1.5}.report-review-actions{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.report-review-actions button{border:1px solid var(--line);background:var(--surface-strong);min-height:40px;color:var(--text-soft);border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:.75rem;font-weight:750;display:inline-flex}.report-review-actions button:hover{color:var(--green-strong);border-color:#a6b5aa}.report-review-actions button.active.accepted{border-color:var(--green);background:var(--green-soft);color:var(--green-strong)}.report-review-actions button.active.changes{background:var(--clay-soft);color:#794831;border-color:#c3906d}.report-review-actions button.active.rejected{color:var(--error);background:#f8e8e5;border-color:#d9aaa5}.report-review-actions button.create-from-report{border-color:var(--green-strong);background:var(--green-strong);color:#fff;margin-left:auto}.report-review-actions button:disabled{opacity:.5;cursor:wait}.dynamics-panel{padding:18px}.dynamics-period-switch{border:1px solid var(--line);background:#f4f4ed;border-radius:7px;gap:2px;margin-bottom:14px;padding:3px;display:inline-flex}.dynamics-period-switch button{min-height:34px;color:var(--text-soft);background:0 0;border:0;border-radius:5px;padding:6px 12px;font-size:.74rem;font-weight:750}.dynamics-period-switch button.active{background:var(--surface);color:var(--green-strong);box-shadow:0 1px 3px #2a3d2d1f}.dynamics-metrics{border:1px solid var(--line);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.dynamics-metrics article{border-right:1px solid var(--line);grid-template-rows:auto auto auto;grid-template-columns:auto minmax(0,1fr);align-content:center;gap:2px 9px;min-height:104px;padding:14px;display:grid}.dynamics-metrics article:last-child{border-right:0}.dynamics-metrics article>span{background:var(--green-soft);width:34px;height:34px;color:var(--green-strong);border-radius:6px;grid-row:1/span 3;place-items:center;display:grid}.dynamics-metrics small{color:var(--text-soft);font-size:.75rem}.dynamics-metrics strong{text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;overflow:hidden}.dynamics-metrics em{color:var(--text-soft);font-size:.72rem;font-style:normal}.dynamics-metrics em.positive{color:var(--green-strong)}.trend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.trend-card{border:1px solid var(--line);background:var(--surface-strong);border-radius:7px;min-width:0;overflow:hidden}.trend-card>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:10px 13px;display:flex}.trend-card>header>div{align-items:center;gap:9px;min-width:0;display:flex}.trend-card>header>div>span{width:32px;height:32px;color:var(--green-strong);background:#eeece2;border-radius:6px;flex:none;place-items:center;display:grid}.trend-card>header>div>div{flex-direction:column;gap:3px;min-width:0;display:flex}.trend-card header strong{font-size:.8rem}.trend-card header small{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.trend-card header em{color:var(--text-soft);font-size:.72rem;font-style:normal}.laboratory-trend select{border:1px solid var(--line);background:var(--surface);max-width:190px;min-height:38px;color:var(--text);border-radius:6px;padding:0 28px 0 9px;font-size:.68rem}.trend-graphic{padding:8px 12px 10px}.trend-graphic svg{width:100%;height:170px;display:block;overflow:visible}.chart-axis{stroke:#cdd2ca;stroke-width:1px}.chart-grid{stroke:#e5e5dc;stroke-width:1px;stroke-dasharray:4 5}.chart-line{fill:none;stroke:var(--green);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.chart-point{fill:var(--surface-strong);stroke:var(--green-strong);stroke-width:3px}.trend-range{color:var(--text-soft);grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;font-size:.72rem;display:grid}.trend-range strong{color:var(--text);text-align:center;font-size:.75rem}.trend-range span:last-child{text-align:right}.trend-data{border-top:1px solid var(--line);margin-top:8px}.trend-data summary{color:var(--green-strong);cursor:pointer;padding:8px 0 0;font-size:.65rem;font-weight:750}.trend-data>div{max-height:140px;padding-top:6px;overflow-y:auto}.trend-data span{color:var(--text-soft);border-top:1px dotted var(--line);justify-content:space-between;gap:12px;padding:5px 0;font-size:.65rem;display:flex}.trend-empty{min-height:218px;color:var(--text-soft);text-align:center;place-items:center;padding:20px;font-size:.72rem;display:grid}.messages-page{flex-direction:column;gap:18px;min-height:0;display:flex}.messages-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.messages-heading h2{margin:6px 0 5px;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.8rem,3vw,2.35rem);font-weight:600}.messages-heading p:last-child{color:var(--text-soft);margin:0;font-size:.82rem;line-height:1.5}.messages-heading>span{background:var(--green-soft);color:var(--green-strong);white-space:nowrap;border:1px solid #b9cdbd;border-radius:6px;align-items:center;gap:7px;padding:7px 10px;font-size:.75rem;font-weight:750;display:inline-flex}.chat-shell{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:310px minmax(0,1fr);height:calc(100dvh - 240px);min-height:480px;display:grid;overflow:hidden}.client-messages-page .chat-shell{grid-template-columns:1fr}.conversation-panel{border-right:1px solid var(--line);background:#f7f5ee;flex-direction:column;min-width:0;display:flex}.conversation-panel-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:66px;padding:11px 14px;display:flex}.conversation-panel-head>div{flex-direction:column;gap:3px;display:flex}.conversation-panel-head strong{font-size:.88rem}.conversation-panel-head span{color:var(--text-soft);font-size:.72rem}.conversation-panel-head button,.chat-thread-head>button{width:40px;height:40px;color:var(--text-soft);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;display:grid}.conversation-panel-head button:hover,.chat-thread-head>button:hover{background:var(--green-soft);color:var(--green-strong)}.conversation-search{border:1px solid var(--line);background:var(--surface-strong);min-height:44px;color:var(--text-soft);border-radius:6px;align-items:center;gap:8px;margin:10px;padding:0 10px;display:flex}.conversation-search:focus-within{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.conversation-search input{width:100%;min-width:0;height:40px;color:var(--text);background:0 0;border:0;outline:0;font-size:.78rem}.conversation-list{overscroll-behavior:contain;flex:1;min-height:0;padding:0 7px 10px;overflow-y:auto}.conversation-list>button{border:0;border-bottom:1px solid var(--line);width:100%;min-height:76px;color:var(--text);text-align:left;background:0 0;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:3px 9px;padding:10px 8px;display:grid}.conversation-list>button:hover{background:#ecefe9}.conversation-list>button.active{background:var(--green-soft);box-shadow:inset 3px 0 var(--green)}.conversation-avatar{background:var(--surface-strong);width:40px;height:40px;color:var(--green-strong);border:1px solid #cfd7cd;border-radius:50%;grid-row:1/span 2;place-items:center;font-size:.72rem;font-weight:800;display:grid}.conversation-list>button>span:nth-child(2){flex-direction:column;gap:5px;min-width:0;display:flex}.conversation-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.conversation-list small{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.conversation-list time{color:var(--text-soft);align-self:start;font-size:.7rem}.conversation-list em{background:var(--green-strong);color:#fff;border-radius:50%;justify-self:end;place-items:center;min-width:21px;height:21px;font-size:.68rem;font-style:normal;font-weight:800;display:grid}.conversation-empty,.chat-loading{min-height:180px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:22px;font-size:.75rem;display:flex}.chat-loading .button-spinner{width:18px;height:18px}.chat-thread{background:var(--surface-strong);grid-template-rows:auto minmax(0,1fr) auto auto;min-width:0;min-height:0;display:grid}.chat-thread-head{border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:10px;min-height:66px;padding:10px 15px;display:flex}.chat-thread-head>div{flex-direction:column;gap:4px;min-width:0;display:flex}.chat-thread-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.chat-thread-head small{color:var(--green-strong);align-items:center;gap:4px;font-size:.72rem;display:inline-flex}.chat-thread-head>button{margin-left:auto}.chat-message-list{overscroll-behavior:contain;background:#f4f2ea;min-height:0;padding:18px clamp(14px,4vw,42px);overflow-y:auto}.message-day{justify-content:center;align-items:center;margin:7px 0 14px;display:flex}.message-day span{border:1px solid var(--line);color:var(--text-soft);background:#fffdf8f2;border-radius:999px;padding:5px 9px;font-size:.7rem;font-weight:700}.chat-message{margin:7px 0;display:flex}.chat-message.mine{justify-content:flex-end}.chat-message.incoming{justify-content:flex-start}.chat-message>div{border:1px solid var(--line);background:var(--surface-strong);border-radius:7px;max-width:min(72%,620px);padding:9px 11px 6px;box-shadow:0 2px 8px #20342b0a}.chat-message.mine>div{background:#e2ece1;border-color:#b6cbb9}.chat-message-context{color:var(--green-strong);background:#ffffff9e;border:1px solid #bdcdbf;border-radius:6px;grid-template-columns:24px minmax(0,1fr);gap:8px;margin-bottom:8px;padding:8px;text-decoration:none;display:grid}.chat-message-context>span{flex-direction:column;gap:2px;min-width:0;display:flex}.chat-message-context small{color:var(--text-soft);font-size:.66rem}.chat-message-context strong{text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.chat-message-context em{color:var(--clay);font-size:.66rem;font-style:normal}.recommendation-adherence{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:16px;padding:18px;display:grid}.recommendation-adherence-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.recommendation-adherence-heading>div{flex-direction:column;gap:3px;display:flex}.recommendation-adherence-heading>div strong{font-size:1rem}.recommendation-adherence-heading>div span{color:var(--text-soft);font-size:.78rem}.recommendation-adherence-heading>span{align-items:center;gap:5px;font-size:.78rem;font-weight:800;display:inline-flex}.recommendation-adherence-heading .positive{color:var(--green-strong)}.recommendation-adherence-heading .negative{color:var(--danger)}.recommendation-adherence-metrics{border-block:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.recommendation-adherence-metrics article{grid-template-columns:auto 1fr;gap:2px 8px;min-width:0;padding:14px;display:grid}.recommendation-adherence-metrics article+article{border-left:1px solid var(--line)}.recommendation-adherence-metrics svg{color:var(--green);grid-row:1/span 2}.recommendation-adherence-metrics strong{font-size:1.15rem}.recommendation-adherence-metrics span,.recommendation-adherence-metrics small{color:var(--text-soft);font-size:.72rem}.recommendation-missed-list,.recommendation-comment-list{gap:8px;display:grid}.daily-habit-summary{gap:9px;display:grid}.daily-habit-summary>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.daily-habit-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;padding:13px;display:grid}.daily-habit-card.is-empty{color:var(--text-soft);grid-template-columns:auto 1fr}.daily-habit-icon{width:38px;height:38px;color:var(--green-strong);background:var(--green-soft);border-radius:50%;place-items:center;display:grid}.daily-habit-copy,.daily-habit-result,.daily-habit-card.is-empty>div{flex-direction:column;gap:2px;min-width:0;display:flex}.daily-habit-copy span,.daily-habit-copy small,.daily-habit-card.is-empty small,.daily-habit-result small{color:var(--text-soft);font-size:.72rem}.daily-habit-result{text-align:right;align-items:flex-end}.daily-habit-result>strong{font-size:1.08rem}.daily-habit-result>span{font-size:.7rem;font-weight:800}.daily-habit-result .positive{color:var(--green-strong)}.daily-habit-result .negative{color:var(--danger)}.recommendation-missed-list>article{border-left:3px solid var(--clay);background:var(--surface-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.recommendation-missed-list>article span{flex-direction:column;flex:220px;gap:2px;min-width:0;display:flex}.recommendation-missed-list>article small{color:var(--text-soft)}.recommendation-missed-list>article .schedule-suggestion{color:var(--green-strong);font-weight:750}.recommendation-schedule-proposal{border-left:3px solid var(--green-strong);background:var(--green-soft);color:var(--text);flex-direction:column;gap:4px;padding:12px 14px;display:flex}.recommendation-schedule-proposal span,.recommendation-schedule-proposal small{color:var(--text-soft)}.recommendation-missed-list>article em{color:var(--clay);font-style:normal;font-weight:800}.recommendation-missed-list>article button{border:1px solid var(--green-strong);min-height:44px;color:var(--green-strong);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:.78rem;font-weight:750;display:inline-flex}.recommendation-missed-list>article button:hover{background:var(--green-soft)}@media (width<=680px){.recommendation-missed-list>article button{width:100%}}.recommendation-comment-list>article{border:1px solid var(--line);border-radius:6px;padding:10px 12px}.recommendation-comment-list>article div{justify-content:space-between;gap:10px;display:flex}.recommendation-comment-list time{color:var(--text-soft);font-size:.72rem}.recommendation-comment-list p{color:var(--text);white-space:pre-wrap;margin:6px 0 0;line-height:1.45}@media (width<=680px){.recommendation-presets{grid-template-columns:1fr}.recommendation-presets>span{margin-bottom:2px}.recommendation-adherence-metrics{grid-template-columns:1fr}.recommendation-adherence-metrics article+article{border-left:0;border-top:1px solid var(--line)}.daily-habit-summary>div:last-child{grid-template-columns:1fr}}.chat-message p{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.84rem;line-height:1.55}.chat-message footer{color:var(--text-soft);justify-content:flex-end;align-items:center;gap:9px;margin-top:4px;font-size:.68rem;display:flex}.chat-message footer span{color:var(--green-strong);align-items:center;gap:3px;display:inline-flex}.chat-attachment{width:min(100%,360px);min-height:54px;color:var(--text);text-align:left;background:#ffffffa6;border:1px solid #c8d2c7;border-radius:6px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:7px;padding:7px 9px;display:grid}.chat-message p+.chat-attachment{margin-top:9px}.chat-attachment:hover{border-color:var(--green);background:#fff}.chat-attachment>span:first-child{background:var(--green-soft);width:34px;height:34px;color:var(--green-strong);border-radius:5px;place-items:center;display:grid}.chat-attachment>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.chat-attachment strong{text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;overflow:hidden}.chat-attachment small{color:var(--text-soft);font-size:.68rem}.chat-attachment>svg,.chat-attachment>.button-spinner{color:var(--green-strong)}.chat-attachment .button-spinner{width:16px;height:16px}.chat-empty{min-height:100%;color:var(--text-soft);text-align:center;place-content:center;justify-items:center;gap:8px;padding:28px;display:grid}.chat-empty svg{color:var(--green)}.chat-empty strong{color:var(--text);font-size:.9rem}.chat-empty span{max-width:390px;font-size:.75rem;line-height:1.5}.chat-empty.full{grid-row:1/-1}.chat-error{color:var(--error);background:#f8e8e5;border-top:1px solid #e6c2bd;padding:9px 14px;font-size:.75rem;line-height:1.4}.chat-composer{border-top:1px solid var(--line);background:var(--surface);padding:10px 12px 8px;position:relative}.composer-row{grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;gap:7px;display:grid}.composer-row>label{min-width:0}.composer-row textarea{resize:vertical;border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:44px;max-height:122px;color:var(--text);border-radius:6px;outline:0;padding:11px 12px;font-size:.84rem;line-height:1.4}.composer-row textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.attach-button,.send-button{border-radius:6px;place-items:center;width:44px;height:44px;display:grid}.attach-button{border:1px solid var(--line);background:var(--surface-strong);color:var(--text-soft)}.attach-button:hover:not(:disabled){border-color:var(--green);color:var(--green-strong)}.send-button{border:1px solid var(--green-strong);background:var(--green-strong);color:#fff}.send-button:hover:not(:disabled){background:#244a34}.send-button:disabled,.attach-button:disabled{opacity:.45;cursor:not-allowed}.send-button .button-spinner{width:17px;height:17px}.composer-meta{color:var(--text-soft);justify-content:space-between;align-items:center;gap:12px;padding:5px 51px 0;font-size:.68rem;display:flex}.pending-chat-file{background:var(--green-soft);border:1px solid #c9d5c8;border-radius:6px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:50px;margin:0 51px 8px;padding:7px 9px;display:grid}.pending-chat-file>span{background:var(--surface-strong);width:32px;height:32px;color:var(--green-strong);border-radius:5px;place-items:center;display:grid}.pending-chat-file>div{flex-direction:column;gap:2px;min-width:0;display:flex}.pending-chat-file strong{text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;overflow:hidden}.pending-chat-file small{color:var(--text-soft);font-size:.68rem}.pending-chat-file>button{width:36px;height:36px;color:var(--text-soft);background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.pending-chat-file>button:hover{background:var(--surface-strong);color:var(--error)}.settings-page{flex-direction:column;gap:18px;width:min(960px,100%);display:flex}.settings-heading{align-items:flex-end}.settings-heading>span{background:var(--green-soft);color:var(--green-strong);white-space:nowrap;border:1px solid #b9cdbd;border-radius:6px;align-items:center;gap:7px;padding:7px 10px;font-size:.75rem;font-weight:750;display:inline-flex}.settings-index{border-bottom:1px solid var(--line);gap:4px;padding-bottom:10px;display:flex;overflow-x:auto}.settings-index a{min-height:40px;color:var(--text-soft);white-space:nowrap;border-radius:6px;align-items:center;gap:7px;padding:0 12px;font-size:.78rem;font-weight:700;text-decoration:none;display:inline-flex}.settings-index a:hover{background:var(--green-soft);color:var(--green-strong)}.settings-index a.danger{color:var(--error);margin-left:auto}.settings-index a.danger:hover{background:#f8e8e5}.settings-section{border-bottom:1px solid var(--line);padding:22px 0 26px;scroll-margin-top:82px}.settings-section>header{align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.settings-section>header>span{background:var(--green-soft);width:40px;height:40px;color:var(--green-strong);border-radius:6px;flex:none;place-items:center;display:grid}.settings-section>header h3{margin:0;font-size:1rem}.settings-section>header p{color:var(--text-soft);margin:5px 0 0;font-size:.76rem;line-height:1.5}.security-setting-status{border:1px solid var(--line);background:var(--surface);max-width:560px;color:var(--green-strong);border-radius:6px;align-items:center;gap:12px;margin-bottom:16px;padding:14px 16px;display:flex}.security-setting-status div{gap:3px;display:grid}.security-setting-status strong{color:var(--text);font-size:.9rem}.security-setting-status small{color:var(--text-soft)}.settings-form{max-width:720px;padding-left:52px}.calendar-integration-status{border:1px solid var(--line);background:var(--background);align-items:center;gap:14px;margin-bottom:16px;padding:16px;display:flex}.calendar-integration-status>svg{color:var(--green);flex:none}.calendar-integration-status div{gap:3px;display:grid}.calendar-integration-status small{color:var(--text-soft)}.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.settings-form label,.settings-dialog label{min-width:0;color:var(--text);flex-direction:column;gap:7px;font-size:.74rem;font-weight:750;display:flex}.settings-form label.wide{grid-column:1/-1}.settings-form input,.settings-form textarea,.settings-dialog input{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:6px;outline:0;padding:10px 12px;font-size:.82rem;font-weight:500;line-height:1.45}.settings-form textarea{resize:vertical}.settings-form input:focus,.settings-form textarea:focus,.settings-dialog input:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.settings-form input[readonly]{color:var(--text-soft);cursor:not-allowed;background:#efede5}.settings-field-note{color:var(--text-soft);grid-column:1/-1;margin-top:-8px;font-size:.7rem;font-weight:500;line-height:1.45}.settings-actions{justify-content:flex-end;margin-top:17px;display:flex}.settings-actions button{border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 15px;font-weight:750;display:inline-flex}.secondary-action{border:1px solid var(--green);background:var(--surface-strong);color:var(--green-strong)}.secondary-action:hover:not(:disabled){background:var(--green-soft)}.password-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.password-form .settings-actions,.password-form .settings-notice,.password-form .settings-field-note{grid-column:1/-1}.settings-notice{border-radius:6px;align-items:center;gap:8px;min-height:40px;margin-top:14px;padding:9px 11px;font-size:.75rem;line-height:1.45;display:flex}.settings-notice.success{background:var(--green-soft);color:var(--green-strong);border:1px solid #bdd0bf}.settings-notice.error{color:var(--error);background:#f8e8e5;border:1px solid #e2bcb7}.settings-loading{min-height:340px;color:var(--text-soft);justify-content:center;align-items:center;gap:10px;font-size:.8rem;display:flex}.danger-zone{border-bottom:0}.danger-zone>header>span{color:var(--error);background:#f8e8e5}.danger-zone>.danger-action{margin-left:52px}.danger-action{min-height:44px;color:var(--error);background:0 0;border:1px solid #bd655b;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:750;display:inline-flex}.danger-action:hover:not(:disabled){background:#f8e8e5}.danger-action:disabled{opacity:.45;cursor:not-allowed}.settings-dialog-backdrop{z-index:80;background:#1b231e75;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.settings-dialog{border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;width:min(520px,100%);max-height:min(720px,100dvh - 40px);padding:20px;overflow-y:auto;box-shadow:0 24px 64px #1c241f38}.settings-dialog>header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:17px;display:flex}.settings-dialog>header>div{align-items:flex-start;gap:11px;display:flex}.settings-dialog>header h3{margin:0;font-size:1rem}.settings-dialog>header p{color:var(--text-soft);margin:5px 0 0;font-size:.75rem}.settings-dialog>header>button{width:40px;height:40px;color:var(--text-soft);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;display:grid}.settings-dialog>header>button:hover{color:var(--text);background:#efede5}.danger-icon{width:40px;height:40px;color:var(--error);background:#f8e8e5;border-radius:6px;flex:none;place-items:center;display:grid}.delete-summary{color:var(--text);background:#f8e8e5;border-left:3px solid #bd655b;margin-bottom:17px;padding:12px 14px;font-size:.75rem;line-height:1.5}.delete-summary ul{margin:6px 0 0;padding-left:18px}.settings-dialog label+label{margin-top:13px}.settings-dialog footer{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;margin-top:19px;padding-top:15px;display:flex}.settings-dialog footer>button:not(.danger-action){border:1px solid var(--line);background:var(--surface-strong);min-height:44px;color:var(--text);border-radius:6px;padding:0 14px;font-weight:700}.materials-page{flex-direction:column;gap:18px;display:flex}.materials-heading{align-items:center}.materials-view-switch{border:1px solid var(--line);background:#eeece3;border-radius:7px;gap:4px;width:fit-content;padding:4px;display:flex}.materials-view-switch button{min-height:42px;color:var(--text-soft);background:0 0;border:0;border-radius:5px;align-items:center;gap:7px;padding:0 13px;font-size:.76rem;font-weight:750;display:inline-flex}.materials-view-switch button.active{background:var(--surface-strong);color:var(--green-strong);box-shadow:0 1px 4px #1f2f2614}.materials-view-switch button span{background:var(--green-soft);border-radius:50%;place-items:center;min-width:22px;height:22px;font-size:.65rem;display:grid}.materials-workspace{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.library-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:80px;padding:15px 18px;display:flex}.library-heading h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.22rem;font-weight:600}.library-heading p{color:var(--text-soft);margin:5px 0 0;font-size:.72rem}.material-editor{border-bottom:1px solid var(--line);background:#f7f5ee;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;display:grid}.material-editor label{flex-direction:column;gap:7px;min-width:0;font-size:.72rem;font-weight:750;display:flex}.material-editor label.wide{grid-column:1/-1}.material-editor input,.material-editor textarea{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:43px;color:var(--text);border-radius:6px;outline:0;padding:9px 11px;font-size:.8rem}.material-editor textarea{resize:vertical;line-height:1.45}.material-editor input:focus,.material-editor textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.material-file-field{grid-column:1/-1}.material-file-field>input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.material-file-button{background:var(--surface-strong);min-height:46px;color:var(--green-strong);cursor:pointer;border:1px dashed #a8b9aa;border-radius:6px;align-items:center;gap:8px;padding:0 12px;display:flex}.material-file-field>small{color:var(--text-soft);font-size:.66rem}.material-editor-actions{grid-column:1/-1;justify-content:flex-end;gap:9px;display:flex}.material-list,.recipe-library-list{flex-direction:column;display:flex}.material-list article,.recipe-library-list article{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;min-width:0;padding:15px 18px;display:grid}.material-list article:last-child,.recipe-library-list article:last-child{border-bottom:0}.material-type-icon{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.material-list article>div,.recipe-library-list article>div{flex-direction:column;gap:4px;min-width:0;display:flex}.material-list small,.recipe-library-list small{color:var(--clay);font-size:.65rem;font-weight:750}.material-list strong,.recipe-library-list strong{font-size:.86rem}.material-list p,.recipe-library-list p{color:var(--text-soft);margin:0;font-size:.73rem;line-height:1.45}.material-list em,.recipe-library-list em{color:var(--text-soft);font-size:.65rem;font-style:normal}.material-delete{background:var(--surface-strong);width:38px;height:38px;color:var(--error);border:1px solid #e2bcb7;border-radius:6px;place-items:center;display:grid}.material-delete:hover:not(:disabled){background:#f8e8e5}.material-delete:disabled{opacity:.45;cursor:not-allowed}.recipe-apply-row{background:var(--green-soft);border:1px solid #b9cdbd;border-radius:6px;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:12px;display:grid}.recipe-apply-row label{flex-direction:column;gap:6px;min-width:0;font-size:.7rem;font-weight:750;display:flex}.recipe-apply-row select{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:42px;color:var(--text);border-radius:6px;padding:0 35px 0 10px}@media (width<=680px){.specialist-photo-field{grid-template-columns:72px minmax(0,1fr)}.specialist-photo-field small{grid-column:1/-1}.specialization-options,.specialist-directory-grid{grid-template-columns:1fr}.specialist-card header{grid-template-columns:58px minmax(0,1fr)}.specialist-card .selected-specialist{grid-column:2}.materials-heading{align-items:flex-start}.materials-heading .plan-refresh,.materials-view-switch{width:100%}.materials-view-switch button{flex:1;justify-content:center}.library-heading{flex-direction:column;align-items:flex-start}.library-heading .primary-action{width:100%}.material-editor{grid-template-columns:1fr;padding:14px}.material-editor label.wide,.material-file-field,.material-editor-actions{grid-column:auto}.material-editor-actions{flex-direction:column-reverse}.material-editor-actions>button{width:100%}.recipe-apply-row{grid-template-columns:1fr}.recipe-apply-row button{width:100%}.analysis-review-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-review-editor label.wide,.analysis-review-editor-heading,.analysis-review-actions{grid-column:1/-1}.client-header-actions{grid-column:1/-1;align-items:stretch;width:100%}.client-header-actions .status-editor{flex:1;grid-column:auto}}@media (width<=440px){.material-list article,.recipe-library-list article{grid-template-columns:minmax(0,1fr) auto;padding:13px 14px}.material-type-icon{display:none}.analysis-review-editor{grid-template-columns:1fr}.analysis-review-editor label.wide,.analysis-review-editor-heading,.analysis-review-actions{grid-column:1}.analysis-review-actions{flex-direction:column-reverse;align-items:stretch}.analysis-review-actions>button{width:100%}.client-header-actions{flex-direction:column-reverse}.client-export-action{width:100%}}.commerce-page,.admin-commerce-page,.marketplace-page{flex-direction:column;gap:20px;display:flex}.commerce-heading{align-items:flex-end}.commerce-notice{border-radius:6px;align-items:center;gap:8px;min-height:44px;padding:10px 13px;font-size:.8rem;line-height:1.45;display:flex}.commerce-notice.success{background:var(--green-soft);color:var(--green-strong);border:1px solid #bdd0bf}.commerce-notice.error{color:var(--error);background:#f8e8e5;border:1px solid #e2bcb7}.commerce-metrics{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.commerce-metrics article{border-right:1px solid var(--line);align-items:center;gap:12px;min-width:0;min-height:100px;padding:17px;display:flex}.commerce-metrics article:last-child{border-right:0}.commerce-metrics article>span,.commerce-product-icon{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:6px;flex:none;place-items:center;display:grid}.commerce-metrics article>div{flex-direction:column;gap:3px;min-width:0;display:flex}.commerce-metrics small{color:var(--text-soft);font-size:.7rem}.commerce-metrics strong{font-variant-numeric:tabular-nums;font-size:1.1rem}.commerce-metrics em{color:var(--text-soft);font-size:.64rem;font-style:normal}.commerce-provider-note{border-left:3px solid var(--clay);background:var(--clay-soft);color:#714933;align-items:flex-start;gap:10px;padding:13px 15px;font-size:.78rem;line-height:1.5;display:flex}.commerce-provider-note svg{flex:none;margin-top:1px}.commerce-provider-note span{flex-direction:column;gap:2px;display:flex}.commerce-section,.commerce-editor{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.commerce-section-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:14px 18px;display:flex}.commerce-section-heading h3{margin:4px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.2rem;font-weight:600}.commerce-section-heading>span{color:var(--text-soft);font-size:.72rem}.commerce-editor form{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:18px;display:grid}.commerce-editor label,.payout-form label,.commerce-settings-grid>label{min-width:0;color:var(--text);flex-direction:column;gap:7px;font-size:.73rem;font-weight:750;display:flex}.commerce-editor label.wide{grid-column:1/-1}.commerce-editor input,.commerce-editor select,.commerce-editor textarea,.payout-form input,.commerce-settings-grid input[type=number],.admin-commerce-list input,.paid-confirmation input,.commission-list input{border:1px solid var(--line);background:var(--surface-strong);width:100%;min-height:43px;color:var(--text);border-radius:6px;outline:0;padding:9px 11px;font-size:.8rem}.commerce-editor textarea{resize:vertical;line-height:1.5}.commerce-editor input:focus,.commerce-editor select:focus,.commerce-editor textarea:focus,.payout-form input:focus,.commerce-settings-grid input:focus,.admin-commerce-list input:focus,.paid-confirmation input:focus,.commission-list input:focus{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent)}.commerce-editor-actions{grid-column:1/-1;justify-content:flex-end;gap:9px;padding-top:3px;display:flex}.commerce-editor-actions>button{border:1px solid var(--line);background:var(--surface-strong);min-height:43px;color:var(--text);border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-weight:750;display:inline-flex}.commerce-product-list{flex-direction:column;display:flex}.commerce-product-row{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) minmax(130px,auto) auto;align-items:center;gap:14px;min-width:0;padding:15px 18px;display:grid}.commerce-product-row:last-child{border-bottom:0}.commerce-product-row>div:nth-child(2){min-width:0}.commerce-product-row>div:nth-child(2)>strong,.admin-commerce-list article>div>strong{margin:4px 0;font-size:.88rem;display:block}.commerce-product-row p,.admin-commerce-list p{color:var(--text-soft);margin:0;font-size:.74rem;line-height:1.45}.commerce-row-meta{color:var(--text-soft);flex-wrap:wrap;align-items:center;gap:7px;font-size:.66rem;display:flex}.commerce-status{border:1px solid var(--line);width:fit-content;min-height:24px;color:var(--text-soft);white-space:nowrap;background:#efede5;border-radius:999px;align-items:center;padding:0 8px;font-size:.64rem;font-weight:750;display:inline-flex}.commerce-status.status-published,.commerce-status.status-paid,.commerce-status.status-approved{background:var(--green-soft);color:var(--green-strong);border-color:#b8cfbc}.commerce-status.status-pending_review,.commerce-status.status-pending{color:#7b5430;background:#f4eadc;border-color:#dfc6a7}.commerce-status.status-rejected{color:var(--error);background:#f8e8e5;border-color:#e2bcb7}.commerce-status.status-archived{opacity:.72}.review-comment{color:var(--clay);margin-top:7px;font-size:.7rem;line-height:1.4;display:block}.commerce-price{flex-direction:column;align-items:flex-end;gap:3px;min-width:0;display:flex}.commerce-price strong{font-variant-numeric:tabular-nums;font-size:.88rem}.commerce-price small{max-width:180px;color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.63rem;overflow:hidden}.commerce-row-actions{gap:5px;display:flex}.commerce-row-actions button,.icon-action{border:1px solid var(--line);background:var(--surface-strong);width:40px;height:40px;color:var(--green-strong);border-radius:6px;place-items:center;display:grid}.commerce-row-actions button:hover:not(:disabled),.icon-action:hover:not(:disabled){background:var(--green-soft)}.commerce-row-actions button.danger{color:var(--error)}.commerce-row-actions button.danger:hover:not(:disabled){background:#f8e8e5}.commerce-row-actions button:disabled,.icon-action:disabled{opacity:.45;cursor:not-allowed}.commerce-loading,.commerce-empty{min-height:170px;color:var(--text-soft);justify-content:center;align-items:center;gap:9px;font-size:.78rem;display:flex}.commerce-empty{text-align:center;flex-direction:column}.commerce-empty strong{color:var(--text);font-size:.88rem}.commerce-empty span{max-width:330px;line-height:1.45}.payout-form{grid-template-columns:minmax(130px,.55fr) minmax(240px,1.45fr) auto;align-items:end;gap:12px;padding:17px 18px;display:grid}.payout-form button{border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:43px;padding:0 13px;font-size:.76rem;font-weight:750;display:inline-flex}.payout-form button:disabled{opacity:.45;cursor:not-allowed}.payout-list{border-top:1px solid var(--line)}.payout-list>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(120px,.45fr) minmax(110px,.35fr) minmax(0,1fr);align-items:center;gap:14px;min-height:64px;padding:10px 18px;font-size:.74rem;display:grid}.payout-list>div:last-child{border-bottom:0}.payout-list>div>span:first-child{flex-direction:column;gap:2px;display:flex}.payout-list small,.payout-list>div>span:last-child{color:var(--text-soft)}.admin-count{background:var(--green-soft);min-width:31px;height:31px;color:var(--green-strong);border-radius:50%;place-items:center;padding:0 8px;font-size:.76rem;font-weight:800;display:grid}.commerce-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px;padding:18px;display:grid}.commerce-toggle{border:1px solid var(--line);background:var(--surface-strong);cursor:pointer;border-radius:6px;grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:58px;padding:10px 12px;gap:10px!important;display:grid!important}.commerce-toggle input{width:19px;height:19px;accent-color:var(--green-strong);margin:0}.commerce-toggle>span{flex-direction:column;gap:3px;display:flex}.commerce-toggle small{color:var(--text-soft);font-size:.66rem;font-weight:500}.commerce-toggle.disabled{cursor:not-allowed;background:#efede5}.admin-commerce-list{flex-direction:column;display:flex}.admin-commerce-list article{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;min-width:0;padding:16px 18px;display:grid}.admin-commerce-list article:last-child{border-bottom:0}.admin-commerce-list article>div:nth-child(2){min-width:0}.admin-commerce-list article>div:nth-child(2)>small{color:var(--text-soft);margin-top:5px;font-size:.67rem;display:block}.admin-commerce-list article>div:nth-child(2)>input{margin-top:10px}.admin-commerce-actions{flex-direction:column;gap:7px;min-width:140px;display:flex}.admin-commerce-actions button{border:1px solid var(--line);background:var(--surface-strong);border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 11px;font-size:.7rem;font-weight:750;display:inline-flex}.admin-commerce-actions button.approve{color:var(--green-strong);border-color:#b8cfbc}.admin-commerce-actions button.approve:hover:not(:disabled){background:var(--green-soft)}.admin-commerce-actions button.reject{color:var(--error);border-color:#e2bcb7}.admin-commerce-actions button.reject:hover:not(:disabled){background:#f8e8e5}.admin-commerce-actions button:disabled{opacity:.45;cursor:not-allowed}.paid-confirmation{grid-template-columns:minmax(180px,1fr) auto;align-items:center;gap:10px;margin-top:10px;display:grid}.paid-confirmation label{color:var(--text-soft);white-space:nowrap;align-items:center;gap:7px;font-size:.68rem;display:flex}.paid-confirmation label input{width:18px;height:18px;min-height:18px;accent-color:var(--green-strong);padding:0}.commission-list{flex-direction:column;display:flex}.commission-list>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 100px 40px;align-items:center;gap:10px;min-height:62px;padding:9px 18px;display:grid}.commission-list>div:last-child{border-bottom:0}.commission-list>div>span{flex-direction:column;gap:2px;min-width:0;display:flex}.commission-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.commission-list small{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;overflow:hidden}.commission-list label{position:relative}.commission-list label input{padding-right:27px}.commission-list label em{color:var(--text-soft);font-size:.72rem;font-style:normal;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.marketplace-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.marketplace-grid>article{border:1px solid var(--line);background:var(--surface);border-radius:7px;flex-direction:column;min-width:0;min-height:230px;padding:18px;display:flex}.marketplace-grid>article>span{background:var(--green-soft);width:42px;height:42px;color:var(--green-strong);border-radius:6px;place-items:center;margin-bottom:17px;display:grid}.marketplace-grid article>small{color:var(--clay);font-size:.67rem;font-weight:750}.marketplace-grid h3{margin:6px 0;font-size:.98rem}.marketplace-grid p{color:var(--text-soft);margin:0 0 20px;font-size:.75rem;line-height:1.5}.marketplace-grid footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:13px;display:flex}.marketplace-grid footer strong{font-size:.9rem}.marketplace-grid footer button{border:1px solid var(--line);min-height:38px;color:var(--text-soft);cursor:not-allowed;background:#efede5;border-radius:6px;align-items:center;gap:6px;padding:0 10px;font-size:.7rem;font-weight:750;display:inline-flex}.marketplace-grid>.commerce-empty{border:1px solid var(--line);background:var(--surface);border-radius:7px;grid-column:1/-1}@media (width<=980px){.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-metrics article:nth-child(2){border-right:0}.commerce-metrics article:nth-child(-n+2){border-bottom:1px solid var(--line)}.commerce-editor form,.marketplace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.commerce-heading{flex-direction:column;align-items:flex-start}.commerce-heading .primary-action{width:100%}.commerce-editor form,.commerce-settings-grid,.marketplace-grid{grid-template-columns:1fr}.commerce-editor label.wide{grid-column:auto}.commerce-product-row{grid-template-columns:auto minmax(0,1fr);align-items:start;padding:14px}.commerce-price{grid-column:2;align-items:flex-start}.commerce-row-actions{grid-column:2}.payout-form{grid-template-columns:1fr;padding:14px}.payout-list>div{grid-template-columns:1fr auto;padding:11px 14px}.payout-list>div>span:last-child{grid-column:1/-1}.admin-commerce-list article{grid-template-columns:auto minmax(0,1fr);padding:14px}.admin-commerce-actions{flex-flow:wrap;grid-column:2;min-width:0}.paid-confirmation{grid-template-columns:1fr}.paid-confirmation label{white-space:normal}}@media (width<=440px){.commerce-metrics article{min-height:86px;padding:11px}.commerce-metrics article>span{display:none}.commerce-section-heading{min-height:68px;padding:12px 14px}.commerce-editor-actions{flex-direction:column-reverse}.commerce-editor-actions>button{width:100%}.commerce-product-row{grid-template-columns:minmax(0,1fr) auto}.commerce-product-icon{display:none}.commerce-product-row>div:nth-child(2),.commerce-price,.commerce-row-actions{grid-column:1}.commerce-row-actions{flex-direction:column;grid-area:1/2}.admin-commerce-list article{grid-template-columns:minmax(0,1fr)}.admin-commerce-list .commerce-product-icon{display:none}.admin-commerce-actions{grid-column:1}.admin-commerce-actions button{flex:1}.commission-list>div{grid-template-columns:minmax(0,1fr) 80px 40px;padding-left:14px;padding-right:14px}}@media (width<=820px){.login-page{grid-template-columns:1fr}.login-brand{min-height:auto;padding:30px 24px}.login-brand-inner{grid-template-columns:auto 1fr;align-items:center;column-gap:16px;display:grid}.login-mark{grid-row:span 2;width:50px;height:50px;margin:0}.login-brand .eyebrow{align-self:end}.login-brand h1{margin:0;font-size:2.8rem;line-height:1}.login-brand-inner>p:not(.eyebrow),.trust-line{display:none}.login-form-column{place-items:start center;min-height:calc(100vh - 110px);padding:48px 22px}.registration-page .login-brand{position:static}.registration-form-column{min-height:calc(100vh - 110px);padding:34px 22px 50px}.verification-form,.registration-complete{min-height:calc(100vh - 194px)}.app-shell{display:block}.mobile-only{display:grid}.sidebar{width:min(86vw,320px);transition:transform .22s;position:fixed;top:0;left:0;transform:translate(-105%);box-shadow:18px 0 50px #20342b24}.sidebar-open{transform:translate(0)}.sidebar-scrim{z-index:15;background:#18241e59;border:0;width:100%;height:100%;position:fixed;inset:0}.topbar{min-height:66px;padding:0 14px}.profile-copy,.profile-trigger>svg:last-child{display:none}.page-content{padding:22px 16px 98px}.bottom-nav{left:10px;right:10px;bottom:max(10px, env(safe-area-inset-bottom));border:1px solid var(--line);z-index:12;background:#fffdf8f5;border-radius:8px;grid-template-columns:repeat(5,1fr);align-items:center;min-height:66px;padding:5px;display:grid;position:fixed;box-shadow:0 12px 35px #2a352e24}.bottom-nav a{color:#68756d;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:54px;text-decoration:none;display:flex}.bottom-nav a.active{color:var(--green-strong);background:var(--green-soft)}.bottom-nav span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.64rem;overflow:hidden}.metric-grid{grid-template-columns:1fr}.welcome-band{align-items:flex-start;min-height:154px}.welcome-band>svg{display:none}.today-action-row{grid-template-columns:minmax(0,1fr);gap:5px;padding-block:10px}.today-action-main{grid-template-columns:38px minmax(0,1fr)}.today-action-row time{grid-column:2;font-size:.7rem}.today-quick-control{justify-content:flex-end;padding-left:50px}.today-open-action{justify-self:end;margin-top:-49px}.adherence-summary{grid-template-columns:1fr;gap:2px}.adherence-summary article{min-height:52px}.adherence-days{grid-template-columns:repeat(10,minmax(8px,1fr))}.weekly-summary-metrics{grid-template-columns:1fr;gap:2px}.weekly-goal-suggestion,.weekly-comment-editor,.nutrition-leftovers{grid-template-columns:1fr}.profile-popover{width:min(280px,100vw - 28px);position:fixed;top:60px;right:14px}.page-heading{flex-direction:column;align-items:flex-start;gap:18px}.client-counts{justify-content:space-between;gap:12px;width:100%}.client-toolbar{grid-template-columns:1fr}.clients-table-head{display:none}.clients-table-row{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:14px}.clients-table-row>span:nth-child(2){justify-self:end}.client-data-cell{color:var(--text);align-items:baseline;gap:5px;display:flex}.client-data-cell small{color:var(--text-soft);font-weight:500;display:inline}.row-arrow{grid-area:2/2;justify-self:end}.client-profile-header{grid-template-columns:auto minmax(0,1fr);align-items:start;padding:20px}.client-header-actions{grid-column:1/-1;justify-content:space-between;width:100%}.status-editor{grid-column:1/-1;width:100%}.status-editor select{width:100%}.detail-metrics,.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-metric:nth-child(2){border-right:0}.detail-metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.profile-facts dl{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-facts dl div:nth-child(2){border-right:0}.profile-facts dl div:nth-child(-n+2){border-bottom:1px solid var(--line)}.assignment-form{grid-template-columns:1fr 1fr}.assignment-form .compact-primary{grid-column:1/-1}.analysis-file-row{grid-template-columns:auto minmax(0,1fr)}.file-actions{grid-column:2}.upload-workspace{grid-template-columns:1fr}.upload-heading,.upload-progress,.upload-workspace>.data-message,.upload-submit{grid-column:1}.client-file-row{grid-template-columns:auto minmax(0,1fr)}.client-file-row>.file-actions{grid-column:2}.questionnaire-heading,.builder-heading,.questionnaire-form-header,.template-editor-header{align-items:flex-start}.assignment-grid{grid-template-columns:1fr}.questionnaire-progress{grid-template-columns:1fr;gap:10px}.builder-toolbar{grid-template-columns:1fr}.builder-view-switch{width:fit-content}.template-row{grid-template-columns:auto minmax(0,1fr)}.template-actions{flex-wrap:wrap;grid-column:2}.editor-columns{grid-template-columns:1fr}.editor-preview{position:static}.template-editor-header .primary-action{flex:none}.admin-heading{align-items:flex-start}.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-metric:nth-child(2){border-right:0}.admin-metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.admin-dashboard-grid{grid-template-columns:1fr}.specialists-table-head,.security-table-head{display:none}.specialist-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:15px}.specialist-date{grid-column:1}.specialist-date small{display:block}.specialist-actions{grid-column:1/-1}.specialist-actions button{min-height:44px}.security-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px}.security-row>span,.security-row code{grid-column:1}.security-row time{grid-area:1/2}.plan-manager-tabs{display:flex;overflow-x:auto}.plan-manager-tabs button{min-width:145px}.manager-form{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-heading{align-items:flex-start}.plan-overview,.plan-skeleton-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-metric:nth-child(2){border-right:0}.plan-metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.plan-tabs{scrollbar-width:thin;display:flex;overflow-x:auto}.plan-tabs button{min-width:150px}.meal-row{grid-template-columns:78px minmax(0,1fr) 74px}.journal-heading{align-items:flex-start}.journal-today{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-today article:nth-child(2){border-right:0}.journal-today article:nth-child(-n+2){border-bottom:1px solid var(--line)}.journal-today-compact article{border-bottom:0}.daily-recommendation-note{grid-template-columns:auto minmax(0,1fr)}.daily-recommendation-note a{grid-column:2;justify-self:start}.journal-grid,.specialist-activity-grid{grid-template-columns:1fr}.tracking-goals-form{border-right:0;border-bottom:1px solid var(--line)}.food-review-list>article{grid-template-columns:64px minmax(0,1fr)}.food-review-list>article>.food-photo-thumb,.food-photo-open,.food-photo-missing{width:64px;height:64px}.food-review-actions{grid-column:2}.calendar-page-heading{align-items:flex-start}.calendar-layout,.specialist-calendar-layout{grid-template-columns:1fr}.consultation-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.schedule-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-create-form>button{width:100%}.reschedule-form{grid-template-columns:repeat(2,minmax(0,1fr))}.reschedule-form>div{align-self:end}.messages-heading{align-items:flex-start}.chat-shell{grid-template-columns:1fr;height:auto;min-height:720px}.conversation-panel{border-right:0;border-bottom:1px solid var(--line);max-height:190px}.conversation-panel-head{min-height:54px}.conversation-search{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.conversation-list{gap:7px;padding:8px 10px 10px;display:flex;overflow:auto hidden}.conversation-list>button{border:1px solid var(--line);background:var(--surface);border-radius:6px;width:250px;min-width:250px;min-height:82px}.conversation-list>button.active{box-shadow:inset 0 3px var(--green)}.chat-thread{min-height:560px}.chat-message-list{min-height:420px}}@media (width<=440px){.registration-form-column{padding:28px 16px 44px}.role-selector,.registration-grid{grid-template-columns:1fr}.registration-field.wide{grid-column:auto}.role-selector button{min-height:76px}.consent-row{align-items:start;padding:5px 0}.consent-row input{margin-top:12px}.section-heading{align-items:flex-start}.section-heading>a{place-items:center;width:44px;height:44px;font-size:0;display:grid}.section-heading>a svg{width:20px;height:20px}.client-row{grid-template-columns:38px minmax(0,1fr);padding:9px 0}.status-pill{grid-column:2;justify-self:start}.clients-heading{padding-bottom:18px}.client-counts span{white-space:normal}.clients-table{border-left:0;border-right:0;border-radius:0}.clients-table-row{grid-template-columns:minmax(0,1fr) auto;padding:14px 4px}.clients-table-row .status-pill{text-align:center;grid-column:auto;justify-self:end;max-width:135px}.client-profile-avatar{width:48px;height:48px}.client-name-line{align-items:flex-start}.client-section-tabs{grid-template-columns:repeat(6,minmax(68px,1fr));overflow-x:auto}.client-section-tabs button{flex-direction:column;gap:4px;min-height:58px;font-size:.68rem}.detail-metrics,.activity-grid{grid-template-columns:1fr 1fr}.detail-metric{min-height:104px;padding:13px}.profile-facts dl{grid-template-columns:1fr 1fr}.profile-facts dl div{padding:14px 10px}.data-view-switch{width:100%}.data-view-switch button{padding:0 8px}.panel-command{flex-direction:column;align-items:flex-start;padding:14px 0}.panel-command>button{width:100%}.assignment-form{grid-template-columns:1fr;padding:14px 8px}.assignment-form .compact-primary{grid-column:auto}.assignment-list>div{grid-template-columns:80px minmax(0,1fr);padding:8px 0}.questionnaire-record summary{align-items:flex-start}.answer-row{grid-template-columns:1fr;gap:4px}.analysis-file-row{grid-template-columns:auto minmax(0,1fr)}.file-actions{grid-column:1/-1}.file-actions button{flex:1;justify-content:center}.analyses-summary{justify-content:space-between;width:100%}.upload-workspace{padding:18px 14px}.file-picker{min-height:126px}.client-file-row{grid-template-columns:auto minmax(0,1fr)}.client-file-row>.file-actions{grid-column:1/-1}.questionnaire-summary{justify-content:space-between;width:100%}.history-answers{padding:0 14px 12px}.history-answers>div{grid-template-columns:1fr;gap:4px}.questionnaire-form-header,.template-editor-header{flex-direction:column}.questionnaire-progress-copy{align-items:flex-start;width:100%}.questionnaire-fields{padding:2px 14px 10px}.choice-list{grid-template-columns:1fr}.questionnaire-form-actions{border:1px solid var(--line);z-index:8;background:#fffdf8f5;border-radius:7px;padding:9px;position:sticky;bottom:82px}.questionnaire-form-actions button{flex:1}.builder-heading .primary-action,.template-editor-header .primary-action{width:100%}.builder-summary{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.builder-summary span{min-width:0;padding:0 9px}.builder-view-switch{width:100%}.builder-view-switch button{flex:1;justify-content:center}.template-row{grid-template-columns:auto minmax(0,1fr);padding:13px 10px}.template-actions{grid-column:1/-1}.template-actions button{flex:1;min-height:44px}.template-actions button span{display:none}.template-title-panel{grid-template-columns:1fr}.field-list-heading{flex-direction:column;align-items:flex-start}.field-list-heading button{width:100%;min-height:44px}.editor-field-row{grid-template-columns:24px minmax(0,1fr);gap:7px;padding:12px 9px}.editor-field-row>svg{display:none}.field-order{grid-area:1/1}.editor-field-row>div:nth-child(3){grid-area:1/2}.field-row-actions{grid-column:1/-1;justify-content:flex-end}.field-row-actions button{width:42px;height:42px}.modal-scrim{place-items:end center;padding:0}.field-editor-dialog{border-radius:8px 8px 0 0;max-height:94vh}.range-fields{grid-template-columns:1fr}.field-editor-dialog footer .primary-action,.field-editor-dialog footer .secondary-action{flex:1}.admin-heading-summary{justify-content:space-between;width:100%}.admin-refresh{width:100%}.admin-metrics{grid-template-columns:1fr 1fr}.admin-metric{min-height:104px;padding:13px}.admin-metric>span{display:none}.admin-panel-heading{align-items:flex-start}.admin-panel-heading>a{width:44px;font-size:0}.admin-compact-row{grid-template-columns:auto minmax(0,1fr)}.admin-compact-row .admin-status{grid-column:2}.security-compact-row{grid-template-columns:auto minmax(0,1fr)}.security-compact-row time{grid-column:2}.specialist-row{grid-template-columns:minmax(0,1fr)}.specialist-row>div:nth-child(2),.specialist-date,.specialist-actions{grid-column:1}.specialist-actions button{flex:1}.security-row{grid-template-columns:1fr}.security-row>span,.security-row code,.security-row time{grid-column:1}.security-row time{grid-row:auto}.plan-manager>.detail-section-heading,.manager-command,.manager-form,.manager-record-list>article,.practice-manager-list article{padding-left:14px;padding-right:14px}.plan-manager-tabs button{flex-direction:column;gap:3px;min-width:126px;min-height:61px;font-size:.67rem}.plan-manager-tabs button>span{margin:-27px 0 0 68px;position:absolute}.manager-command{align-items:flex-start}.manager-command>button{min-height:44px}.recommendation-command{flex-direction:column}.recommendation-command-actions{width:100%}.recommendation-command-actions button{flex:1;min-height:44px}.recommendation-library-heading{padding-left:14px;padding-right:14px}.recommendation-template-toolbar{grid-template-columns:1fr;padding:12px 14px 0}.recommendation-template-grid{grid-template-columns:1fr;padding:12px 14px 16px}.manager-form{grid-template-columns:1fr}.recommendation-form-heading,.recommendation-form-section,.markdown-editor,.weekday-picker{grid-column:auto}.weekday-picker>div{grid-template-columns:repeat(7,minmax(38px,1fr));gap:4px}.weekday-picker button{min-height:40px}.duration-fields{grid-template-columns:1fr 1fr}.markdown-editor-head{flex-direction:column;align-items:flex-start;padding:9px}.markdown-mode{width:100%}.markdown-mode button{flex:1}.manager-field.wide,.manager-form-note,.manager-form-actions{grid-column:auto}.manager-form-actions{flex-direction:column-reverse}.manager-form-actions button{width:100%}.manager-record-list>article,.practice-manager-list article{grid-template-columns:auto minmax(0,1fr)}.manager-record-actions,.practice-manager-list article>button{grid-column:2}.recommendation-record-list .manager-record-actions{justify-content:flex-end;max-width:none}.supplement-control,.supplement-template-picker{margin-left:14px;margin-right:14px}.supplement-manager-form,.supplement-stage-fields,.supplement-intake-fields{grid-template-columns:1fr}.supplement-form-section,.supplement-stage-list{grid-column:auto}.supplement-stage-fields,.supplement-intake-editor{padding-left:10px;padding-right:10px}.supplement-add-stage{width:100%}.supplement-schedule-summary>div{grid-template-columns:1fr}.supplement-schedule-summary>div>small,.supplement-schedule-summary>div>span{grid-column:1}.supplement-schedule-summary>div>span{flex-direction:column;align-items:flex-start;gap:1px}.practice-manager-list article>button{width:100%}.nutrition-manager-summary{grid-template-columns:1fr 88px 88px}.nutrition-manager-summary>span{min-height:68px;padding:10px}.manager-days{margin-left:14px;margin-right:14px}.manager-meal-list{padding-left:14px;padding-right:14px}.manager-meal-list article{grid-template-columns:68px minmax(0,1fr) 40px;gap:6px 10px;padding:9px 0}.manager-meal-list article b{grid-column:2;justify-self:start}.manager-meal-list .meal-edit-button{grid-area:1/3/span 2}.meal-ingredient-row{grid-template-columns:minmax(0,1fr) 76px 76px 40px}.plan-refresh{width:100%}.plan-overview{grid-template-columns:1fr 1fr}.plan-metric{min-height:94px;padding:12px}.plan-metric>span{display:none}.plan-tabs button{flex-direction:column;gap:4px;min-width:122px;min-height:60px;font-size:.7rem}.plan-section-title-row{flex-direction:column;align-items:flex-start}.plan-section-title-row .secondary-action{width:100%}.macro-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.macro-strip>span:nth-child(2){border-right:0}.macro-strip>span:nth-child(-n+2){border-bottom:1px solid var(--line)}.nutrition-day-switch{grid-template-columns:repeat(7,minmax(48px,1fr));overflow-x:auto}.meal-row{grid-template-columns:1fr auto;gap:7px 12px;padding:14px 0}.meal-kind{grid-column:1}.meal-row>div{grid-area:2/1/auto/-1}.meal-calories{grid-area:1/2}.meal-calories small{text-align:right}.supplement-row,.practice-row{grid-template-columns:auto minmax(0,1fr);padding:15px 0}.supplement-intake-actions,.practice-row .secondary-action{grid-column:2;width:100%}.recommendation-row{padding-left:0;padding-right:0}.journal-heading .plan-refresh{width:100%}.journal-today article{grid-template-columns:1fr;gap:7px;min-height:102px;padding:12px}.journal-today article>span:first-child{display:none}.tracker-switch{grid-template-columns:repeat(4,minmax(86px,1fr));overflow-x:auto}.tracker-switch-compact{grid-template-columns:repeat(2,minmax(100px,1fr))}.daily-recommendation-note{grid-template-columns:1fr;padding:14px}.daily-recommendation-icons{display:none}.daily-recommendation-note a{grid-column:1;justify-content:center;width:100%}.tracker-form,.meal-diary-form{padding:15px 14px}.journal-panel-heading{padding-left:14px;padding-right:14px}.journal-timeline article{grid-template-columns:42px minmax(0,1fr);padding:13px 14px}.food-timeline-row:has(.food-photo-thumb){grid-template-columns:42px minmax(0,1fr);padding:13px 14px}.journal-timeline article time{grid-column:2}.work-queue-row{grid-template-columns:40px minmax(0,1fr) 20px}.work-queue-row time{grid-column:2}.client-timeline-list article{grid-template-columns:40px minmax(0,1fr)}.client-timeline-list time{grid-column:2}.food-photo-thumb{width:40px;height:40px}.specialist-activity-workspace>.detail-section-heading{padding-left:14px;padding-right:14px}.tracking-goals-form{grid-template-columns:1fr;padding:0 14px 16px}.tracking-goals-form .panel-subheading,.tracking-goals-form .primary-action{grid-column:auto}.specialist-tracker-history,.food-review-section{padding-left:14px;padding-right:14px}.food-review-list>article{grid-template-columns:48px minmax(0,1fr);gap:11px}.food-review-heading{flex-direction:column;align-items:stretch;gap:0}.food-weekly-summary>header{flex-direction:column;align-items:flex-start;gap:5px}.food-weekly-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.food-weekly-metrics article:nth-child(2){border-right:0}.food-weekly-metrics article:nth-child(-n+2){border-bottom:1px solid var(--line)}.food-weekly-progress,.food-weekly-details{grid-template-columns:1fr;gap:0}.food-weekly-progress>div+div{margin-top:13px}.food-weekly-details>div{border-right:0}.food-weekly-details>div+div{border-top:1px solid var(--line)}.food-review-filters{width:100%}.food-review-filters button{flex:1;justify-content:center;min-width:0;padding:0 6px}.food-review-filters button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.food-review-list>article>.food-photo-thumb,.food-photo-open,.food-photo-missing{width:48px;height:48px}.food-review-actions{grid-column:1/-1}.food-review-actions>div{flex-direction:column}.food-analysis-editor{grid-template-columns:1fr;padding:14px}.food-analysis-editor>label,.food-analysis-editor-heading,.food-analysis-editor>.wide,.food-analysis-editor>footer{grid-column:1}.food-analysis-macros{grid-template-columns:repeat(2,minmax(0,1fr))}.food-analysis-editor footer{flex-direction:column-reverse}.food-analysis-editor footer button{width:100%}.food-photo-modal-backdrop{padding:0}.food-photo-modal{border:0;border-radius:0;width:100%;min-height:100vh;max-height:100vh}.food-photo-modal-image .food-photo-thumb{max-height:calc(100vh - 230px)}.calendar-page-heading>div:last-child{width:100%}.calendar-page-heading>div:last-child>button{flex:1;padding-left:8px;padding-right:8px}.month-toolbar{min-height:60px;padding-left:8px;padding-right:8px}.month-days button{min-height:54px;padding:6px}.month-days button i{width:6px;height:6px}.month-days button i.consultation{width:10px}.calendar-day-events{padding-left:14px;padding-right:14px}.calendar-day-events article{grid-template-columns:32px minmax(0,1fr);padding:8px 0}.calendar-day-events article time{grid-column:2}.consultation-sidebar{grid-template-columns:1fr}.schedule-create-form,.reschedule-form{grid-template-columns:1fr;padding:14px}.completion-form{grid-template-columns:1fr}.schedule-create-form .schedule-check{min-height:46px}.specialist-calendar-page .calendar-page-heading>div:last-child{flex-direction:column}.specialist-calendar-page .calendar-page-heading>div:last-child button{width:100%}.client-calendar-filter label,.schedule-buffer-grid{grid-template-columns:1fr}.schedule-list-section{padding-left:14px;padding-right:14px}.report-command{align-items:flex-start}.dynamics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dynamics-metrics article:nth-child(2){border-right:0}.dynamics-metrics article:nth-child(-n+2){border-bottom:1px solid var(--line)}.trend-grid{grid-template-columns:1fr}.schedule-list-section>.consultation-heading{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.reschedule-form>div{flex-direction:column-reverse}.specialist-slot-list article{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:12px 0}.specialist-slot-list .slot-status{grid-column:1;justify-self:start}.specialist-slot-list article>div:nth-child(2){grid-column:1}.specialist-slot-list article>div:last-child{grid-area:1/2/span 2}.report-command{flex-direction:column;padding:16px 14px}.report-command .primary-action{width:100%}.report-view-switch{padding:0 4px}.report-view-switch>button:not(.report-refresh){flex:1;justify-content:center;padding:0 7px}.report-panel,.dynamics-panel{padding:12px}.report-summary{grid-template-columns:auto minmax(0,1fr);padding:13px}.report-summary>div>div{flex-direction:column;align-items:flex-start;gap:3px}.report-summary>em{grid-column:2;justify-self:start}.report-section summary{grid-template-columns:30px minmax(0,1fr) 20px;padding-left:2px;padding-right:2px}.report-section summary em{grid-column:2;justify-self:start}.report-section summary>svg{grid-area:1/3}.report-section-body{padding-left:42px;padding-right:2px}.report-source{grid-template-columns:1fr;gap:3px}.report-review-actions button{flex:1}.report-review-actions button.create-from-report{flex-basis:100%;margin-left:0}.dynamics-metrics article{min-height:92px;padding:10px}.dynamics-metrics article>span{display:none}.laboratory-trend>header{flex-direction:column;align-items:flex-start}.laboratory-trend label,.laboratory-trend select{width:100%;max-width:none}.trend-graphic svg{height:145px}.messages-page{gap:13px}.messages-heading{flex-direction:column;gap:10px}.messages-heading h2{font-size:1.75rem}.messages-heading>span{justify-content:center;width:100%}.chat-shell{border-left:0;border-right:0;border-radius:0;min-height:calc(100vh - 205px);margin-left:-16px;margin-right:-16px}.conversation-panel{max-height:164px}.conversation-panel-head{padding-left:12px;padding-right:12px}.conversation-list>button{width:224px;min-width:224px;min-height:72px}.conversation-avatar{width:36px;height:36px}.chat-thread{min-height:520px}.chat-thread-head{padding-left:12px;padding-right:12px}.chat-message-list{min-height:360px;padding:14px 11px}.chat-message>div{max-width:88%}.chat-composer{z-index:8;padding-left:9px;padding-right:9px;position:sticky;bottom:76px}.pending-chat-file{margin-left:51px;margin-right:51px}.composer-meta{padding-left:0;padding-right:0}.composer-meta span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-heading{flex-direction:column;align-items:flex-start}.settings-heading>span{justify-content:center;width:100%}.settings-index a.danger{margin-left:0}.settings-section{padding-top:18px}.settings-form{padding-left:0}.settings-form-grid,.password-form{grid-template-columns:1fr}.settings-form label.wide,.password-form .settings-actions,.password-form .settings-notice,.password-form .settings-field-note{grid-column:auto}.settings-actions button{width:100%}.danger-zone>.danger-action{width:100%;margin-left:0}.settings-dialog-backdrop{align-items:end;padding:0}.settings-dialog{border-radius:8px 8px 0 0;max-height:calc(100dvh - 20px)}.settings-dialog footer{flex-direction:column-reverse}.settings-dialog footer button{width:100%}}.admin-client-list,.admin-record-list{border-top:1px solid var(--line)}.admin-client-list article{border-bottom:1px solid var(--line);background:var(--surface-strong);grid-template-columns:minmax(220px,1.3fr) minmax(190px,.8fr) auto auto;align-items:center;gap:18px;min-height:92px;padding:14px 18px;display:grid}.admin-client-identity{align-items:center;gap:12px;min-width:0;display:flex}.admin-client-identity>span:last-child{min-width:0;display:grid}.admin-client-identity strong,.admin-client-identity a,.admin-client-identity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-client-identity a{color:var(--green-strong);font-size:.78rem}.admin-client-identity small,.admin-client-list label small{color:var(--text-soft);font-size:.72rem}.admin-client-list label{gap:5px;display:grid}.admin-client-list select,.admin-monitor-actions select,.admin-form-grid input,.admin-form-grid select,.admin-form-grid textarea{border:1px solid var(--line);background:var(--surface-strong);min-height:42px;color:var(--text);font:inherit;border-radius:6px;padding:8px 11px}.admin-client-actions{align-items:center;gap:7px;display:flex}.admin-client-actions button{border:1px solid var(--line);min-height:38px;color:var(--text);background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-weight:700;display:inline-flex}.admin-client-actions button.danger{width:40px;color:var(--error);border-color:#e2bcb7;padding:0}.admin-tabs{border-bottom:1px solid var(--line);align-items:center;gap:2px;display:flex;overflow-x:auto}.admin-tabs button{min-height:46px;color:var(--text-soft);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:0 14px;font-weight:700;display:inline-flex}.admin-tabs button.active{color:var(--green-strong);border-bottom-color:var(--green)}.admin-settings-panel{padding:20px 0}.admin-section-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;display:flex}.admin-section-heading h3{margin:0;font-size:1.05rem}.admin-section-heading p{color:var(--text-soft);margin:4px 0 0;font-size:.82rem}.feature-toggle-list{border-top:1px solid var(--line)}.feature-toggle-list label{border-bottom:1px solid var(--line);cursor:pointer;grid-template-columns:minmax(0,1fr) 46px;align-items:center;gap:18px;min-height:70px;display:grid}.feature-toggle-list label>span{gap:3px;display:grid}.feature-toggle-list label small{color:var(--text-soft)}.feature-toggle-list input{opacity:0;pointer-events:none;position:absolute}.feature-toggle-list i{background:#c9cdc8;border-radius:13px;width:44px;height:25px;transition:background .2s;position:relative}.feature-toggle-list i:after{content:"";background:#fff;border-radius:50%;width:19px;height:19px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.feature-toggle-list input:checked+i{background:var(--green)}.feature-toggle-list input:checked+i:after{transform:translate(19px)}.admin-two-column{grid-template-columns:minmax(0,.8fr) minmax(320px,1.2fr);gap:28px;display:grid}.admin-form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.admin-form-grid label{color:var(--text-soft);gap:6px;font-size:.77rem;font-weight:700;display:grid}.admin-form-grid label.wide,.admin-form-grid button.wide{grid-column:1/-1}.admin-form-grid textarea{resize:vertical;min-height:104px}.admin-record-list article{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:70px;display:grid}.admin-record-list article>span:first-child{gap:4px;min-width:0;display:grid}.admin-record-list article small{color:var(--text-soft);text-overflow:ellipsis;overflow:hidden}.admin-monitor-actions{align-items:center;gap:8px;display:flex}.admin-service-grid{border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));display:grid;overflow:hidden}.admin-service{border-right:1px solid var(--line);align-items:flex-start;gap:12px;min-height:120px;padding:18px;display:flex}.admin-service:last-child{border-right:0}.admin-service>span{background:var(--green-soft);width:38px;height:38px;color:var(--green-strong);border-radius:7px;place-items:center;display:grid}.admin-service>div{gap:3px;display:grid}.admin-service small,.admin-service em{color:var(--text-soft);font-size:.72rem;font-style:normal}.admin-service strong{font-size:1rem}.admin-service.attention>span{color:var(--error);background:#f8e8e5}.service-health-panel{overflow:hidden}.service-health-legend{color:var(--text-soft);align-items:center;gap:6px;font-size:.7rem;display:inline-flex}.service-health-list article{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(150px,.65fr) auto minmax(260px,1.35fr);align-items:center;gap:13px;min-height:68px;padding:10px 18px;display:grid}.service-health-list article:last-child{border-bottom:0}.service-health-icon{border-radius:7px;place-items:center;width:38px;height:38px;display:grid}.service-health-icon.positive{color:var(--green-strong);background:var(--green-soft)}.service-health-icon.attention{color:#8d622e;background:#f4eadc}.service-health-icon.danger{color:var(--error);background:#f7e6e3}.service-health-icon.muted{color:var(--text-soft);background:var(--surface-soft)}.service-health-name,.service-health-details{gap:3px;min-width:0;display:grid}.service-health-name strong,.service-health-details strong{text-overflow:ellipsis;white-space:nowrap;font-size:.77rem;overflow:hidden}.service-health-name small,.service-health-details small{color:var(--text-soft);font-size:.67rem}.service-health-details{text-align:right;justify-self:end}.food-photo-issues-panel{overflow:visible}.food-photo-issue-tools{border-bottom:1px solid var(--line);background:var(--surface-soft);align-items:center;gap:10px;min-height:62px;padding:9px 18px;display:flex}.food-photo-issue-tools label{border:1px solid var(--line);background:var(--surface);min-width:220px;min-height:42px;color:var(--text-soft);border-radius:6px;flex:1;align-items:center;gap:9px;padding:0 11px;display:flex}.food-photo-issue-tools input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0}.food-photo-issue-tools select{min-width:190px;min-height:42px}.food-photo-issue-list{border-radius:0 0 7px 7px;overflow:hidden}.food-photo-issue{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(150px,.65fr) minmax(240px,1.35fr) auto auto;align-items:center;gap:14px;min-height:82px;padding:12px 18px;display:grid}.food-photo-issue:last-child{border-bottom:0}.food-photo-issue:hover{background:#f4f5f0}.food-photo-issue-preview{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;width:38px;height:38px;padding:0;position:relative;overflow:hidden}.food-photo-issue-preview .food-photo-thumb,.food-photo-issue-preview .food-photo-loading{border-radius:0;width:100%;height:100%}.food-photo-issue-preview>span:last-child{color:#fff;background:#141b16c7;border-radius:3px;place-items:center;width:17px;height:17px;display:grid;position:absolute;bottom:2px;right:2px}.food-photo-issue-person,.food-photo-issue-reason{gap:4px;min-width:0;display:grid}.food-photo-issue-person strong,.food-photo-issue-reason strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.food-photo-issue-person small,.food-photo-issue-reason small{text-overflow:ellipsis;white-space:nowrap;color:var(--text-soft);font-size:.68rem;overflow:hidden}.admin-retry-action{border:1px solid var(--green);background:var(--surface);min-width:112px;min-height:44px;color:var(--green-strong);border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:.72rem;font-weight:750;display:inline-flex}.admin-retry-action:hover:not(:disabled){background:var(--green-soft)}.admin-retry-action:disabled{opacity:.55;cursor:wait}.admin-retry-action .button-spinner{width:16px;height:16px}.food-photo-empty{min-height:150px}.admin-food-photo-modal .food-photo-modal-image .food-photo-thumb{object-fit:contain;border-radius:0;width:100%;height:100%;max-height:calc(100vh - 285px)}.admin-food-photo-history{grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);color:var(--text)!important;gap:20px!important;display:grid!important}.admin-food-photo-history>div{gap:5px;display:grid}.admin-food-photo-history>div span{color:var(--text-soft);font-size:.72rem;line-height:1.4}.admin-food-photo-history dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;display:grid}.admin-food-photo-history dl div{gap:4px;display:grid}.admin-food-photo-history dt{color:var(--text-soft);font-size:.65rem}.admin-food-photo-history dd{margin:0;font-size:.72rem;font-weight:700}.ocr-issues-panel{overflow:visible}.ocr-issue-message{border-bottom:1px solid var(--line);padding:11px 18px;font-size:.75rem}.ocr-issue-message.success{background:var(--green-soft);color:var(--green-strong)}.ocr-issue-message.error{color:#913b34;background:#f7e6e3}.ocr-issue-list{border-radius:0 0 7px 7px;overflow:hidden}.ocr-issue-row{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(170px,.75fr) minmax(240px,1.25fr) auto auto;align-items:center;gap:14px;min-height:82px;padding:12px 18px;display:grid}.ocr-issue-row:last-child{border-bottom:0}.ocr-issue-row:hover{background:#f4f5f0}.ocr-document-open{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--green-strong);border-radius:6px;place-items:center;padding:0;display:grid}.ocr-document-open:hover{background:var(--green-soft)}.ocr-issue-file,.ocr-issue-error{gap:4px;min-width:0;display:grid}.ocr-issue-file strong,.ocr-issue-error strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.ocr-issue-file small,.ocr-issue-error small{text-overflow:ellipsis;white-space:nowrap;color:var(--text-soft);font-size:.68rem;overflow:hidden}.admin-document-modal{width:min(1080px,100%)}.admin-document-frame,.admin-document-image{background:#2a2e2b;border:0;width:100%;height:min(72vh,780px);min-height:420px}.admin-document-image{place-items:center;display:grid;overflow:auto}.admin-document-image img{object-fit:contain;width:100%;height:100%}.admin-document-loading{background:var(--surface-soft);min-height:420px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex}.admin-document-loading strong{color:var(--text)}.admin-document-loading span{max-width:520px;font-size:.75rem}.gpt-issues-panel{overflow:visible}.gpt-issue-list{border-radius:0 0 7px 7px;overflow:hidden}.gpt-issue-row{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(150px,.65fr) minmax(250px,1.35fr) auto auto;align-items:center;gap:14px;min-height:82px;padding:12px 18px;display:grid}.gpt-issue-row:last-child{border-bottom:0}.gpt-issue-row:hover{background:#f4f5f0}.gpt-issue-icon{width:38px;height:38px;color:var(--error);background:#f7e6e3;border-radius:7px;place-items:center;display:grid}.gpt-issue-client,.gpt-issue-copy{gap:4px;min-width:0;display:grid}.gpt-issue-client strong,.gpt-issue-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.gpt-issue-client small,.gpt-issue-copy small{text-overflow:ellipsis;white-space:nowrap;color:var(--text-soft);font-size:.68rem;overflow:hidden}.push-issues-panel{overflow:visible}.push-issue-list{border-radius:0 0 7px 7px;overflow:hidden}.push-issue-row{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(150px,.65fr) minmax(250px,1.35fr) auto auto;align-items:center;gap:14px;min-height:82px;padding:12px 18px;display:grid}.push-issue-row:last-child{border-bottom:0}.push-issue-row:hover{background:#f4f5f0}.push-issue-icon{width:38px;height:38px;color:var(--error);background:#f7e6e3;border-radius:7px;place-items:center;display:grid}.push-issue-person,.push-issue-copy{gap:4px;min-width:0;display:grid}.push-issue-person strong,.push-issue-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.push-issue-person small,.push-issue-copy small{text-overflow:ellipsis;white-space:nowrap;color:var(--text-soft);font-size:.68rem;overflow:hidden}.monitor-alerts-panel{overflow:hidden}.monitor-current-state{border-bottom:1px solid var(--line);background:var(--surface-soft);align-items:center;gap:12px;min-height:74px;padding:13px 18px;display:flex}.monitor-current-state>span{border-radius:7px;flex:0 0 40px;place-items:center;width:40px;height:40px;display:grid}.monitor-current-state>span.positive{color:var(--green-strong);background:var(--green-soft)}.monitor-current-state>span.danger{color:var(--error);background:#f7e6e3}.monitor-current-state>div{gap:5px;min-width:0;display:grid}.monitor-current-state strong{font-size:.82rem}.monitor-current-state small{color:var(--text-soft);align-items:center;gap:5px;font-size:.7rem;display:flex}.monitor-alert-list article{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(170px,.45fr) minmax(0,1.55fr);align-items:start;gap:14px;padding:14px 18px;display:grid}.monitor-alert-list article:last-child{border-bottom:0}.monitor-alert-list article>span{border-radius:7px;place-items:center;width:36px;height:36px;display:grid}.monitor-alert-list article>span.alert{color:var(--error);background:#f7e6e3}.monitor-alert-list article>span.recovered{color:var(--green-strong);background:var(--green-soft)}.monitor-alert-list article>div{gap:4px;display:grid}.monitor-alert-list article>div strong{font-size:.78rem}.monitor-alert-list article>div small{color:var(--text-soft);font-size:.68rem}.monitor-alert-list ul{gap:5px;margin:0;padding:0;list-style:none;display:grid}.monitor-alert-list li{color:var(--text-soft);font-size:.72rem;line-height:1.4}.monitor-alert-list li b{color:var(--text);text-transform:uppercase;margin-right:7px;font-size:.65rem}.monitor-alert-empty{min-height:138px}.storage-status-panel{overflow:hidden}.storage-status-metrics{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.storage-status-metrics>div{border-right:1px solid var(--line);grid-template-columns:36px minmax(0,1fr);align-items:center;gap:2px 10px;min-width:0;padding:16px 18px;display:grid}.storage-status-metrics>div:last-child{border-right:0}.storage-status-metrics span{background:var(--green-soft);width:36px;height:36px;color:var(--green-strong);border-radius:7px;grid-row:1/span 2;place-items:center;display:grid}.storage-status-metrics small{color:var(--text-soft);font-size:.68rem}.storage-status-metrics strong{text-overflow:ellipsis;font-size:.88rem;overflow:hidden}.storage-usage{background:var(--surface-soft);gap:9px;padding:15px 18px 17px;display:grid}.storage-usage>div:first-child{justify-content:space-between;gap:16px;font-size:.75rem;display:flex}.storage-usage>div:first-child span{color:var(--text-soft);font-weight:750}.storage-usage-track{background:#dfe3dd;border-radius:4px;height:8px;overflow:hidden}.storage-usage-track>span{border-radius:inherit;background:var(--green);min-width:2px;height:100%;transition:width .25s;display:block}.storage-usage-track.status-attention>span{background:#ad7b3f}.storage-usage-track.status-danger>span{background:var(--error)}.storage-usage small{color:var(--text-soft);align-items:center;gap:5px;font-size:.68rem;display:flex}.admin-chart{align-items:flex-end;gap:4px;height:230px;padding-top:20px;display:flex;overflow-x:auto}.admin-chart-column{flex:1 0 18px;justify-content:center;align-items:flex-end;gap:2px;min-width:18px;height:100%;padding-bottom:24px;display:flex;position:relative}.admin-chart-column .bar{border-radius:2px 2px 0 0;width:7px;min-height:2px}.admin-chart-column .bar.registrations,.chart-legend i.registrations{background:var(--green)}.admin-chart-column .bar.activity,.chart-legend i.activity{background:#b68a67}.admin-chart-column small{color:var(--text-soft);font-size:.58rem;position:absolute;bottom:0;transform:rotate(-45deg)}.chart-legend{color:var(--text-soft);gap:16px;margin-top:12px;font-size:.72rem;display:flex}.chart-legend span{align-items:center;gap:5px;display:flex}.chart-legend i{border-radius:2px;width:9px;height:9px}.operations-events{max-height:310px;overflow:auto}.operations-events article{border-bottom:1px solid var(--line);grid-template-columns:9px minmax(0,1fr);align-items:center;gap:10px;min-height:54px;display:grid}.operations-events article>span{background:var(--green);border-radius:50%;width:8px;height:8px}.operations-events article>span.danger{background:var(--error)}.operations-events article div{gap:2px;min-width:0;display:grid}.operations-events strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.operations-events small{color:var(--text-soft);font-size:.7rem}@media (width<=980px){.admin-client-list article{grid-template-columns:minmax(0,1fr) minmax(190px,.7fr)}.admin-client-list article>.admin-status,.admin-client-actions{grid-column:2}.admin-two-column{grid-template-columns:1fr}.admin-service-grid{grid-template-columns:1fr 1fr}.service-health-list article{grid-template-columns:38px minmax(140px,.75fr) auto minmax(200px,1.25fr)}.storage-status-metrics{grid-template-columns:1fr 1fr}.storage-status-metrics>div:nth-child(2){border-right:0}.storage-status-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.admin-service:nth-child(2){border-right:0}.admin-service:nth-child(-n+2){border-bottom:1px solid var(--line)}.food-photo-issue{grid-template-columns:38px minmax(150px,.75fr) minmax(190px,1.25fr) auto}.food-photo-issue>.admin-status{grid-column:2}.food-photo-issue .admin-retry-action{grid-area:1/4/span 2}.ocr-issue-row{grid-template-columns:38px minmax(160px,.75fr) minmax(190px,1.25fr) auto}.ocr-issue-row>.admin-status{grid-column:2}.ocr-issue-row .admin-retry-action{grid-area:1/4/span 2}.gpt-issue-row{grid-template-columns:38px minmax(150px,.75fr) minmax(190px,1.25fr) auto}.gpt-issue-row>.admin-status{grid-column:2}.gpt-issue-row .admin-retry-action{grid-area:1/4/span 2}.push-issue-row{grid-template-columns:38px minmax(150px,.75fr) minmax(190px,1.25fr) auto}.push-issue-row>.admin-status{grid-column:2}.push-issue-row .admin-retry-action{grid-area:1/4/span 2}}@media (width<=680px){.admin-client-list article{grid-template-columns:1fr;gap:10px;padding:14px 0}.admin-client-list article>.admin-status,.admin-client-actions{grid-column:auto}.admin-client-actions button:first-child{flex:1}.admin-section-heading{flex-direction:column;align-items:flex-start}.admin-section-heading .primary-action{width:100%}.admin-form-grid{grid-template-columns:1fr}.admin-form-grid label.wide,.admin-form-grid button.wide{grid-column:auto}.admin-service-grid{grid-template-columns:1fr 1fr}.admin-service{min-height:105px;padding:13px}.admin-service>span{display:none}.service-health-panel .admin-panel-heading{flex-direction:column;align-items:flex-start;gap:9px}.service-health-list article{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:12px 14px}.service-health-name{grid-column:2}.service-health-details{text-align:left;grid-column:1/-1;justify-self:stretch;padding-left:48px}.service-health-details strong{white-space:normal}.admin-monitor-actions{width:100%}.admin-monitor-actions select,.admin-monitor-actions button{flex:1}.food-photo-issues-panel .admin-panel-heading{flex-direction:column;align-items:flex-start;gap:10px}.food-photo-issue-tools{flex-direction:column;align-items:stretch;padding:12px 14px}.food-photo-issue-tools label,.food-photo-issue-tools select{width:100%;min-width:0}.food-photo-issue{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:14px}.food-photo-issue-person{grid-column:2}.food-photo-issue-reason{grid-column:1/-1}.food-photo-issue>.admin-status{grid-column:2}.food-photo-issue .admin-retry-action{grid-area:1/3/span 2;width:44px;min-width:44px;padding:0}.food-photo-issue .admin-retry-action>span:last-child{display:none}.food-photo-issue-reason strong,.food-photo-issue-reason small{white-space:normal}.admin-food-photo-history,.admin-food-photo-history dl{grid-template-columns:1fr}.ocr-issues-panel .admin-panel-heading{flex-direction:column;align-items:flex-start;gap:10px}.ocr-issue-row{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:14px}.ocr-issue-file{grid-column:2}.ocr-issue-error{grid-column:1/-1}.ocr-issue-row>.admin-status{grid-column:2}.ocr-issue-row .admin-retry-action{grid-area:1/3/span 2;width:44px;min-width:44px;padding:0}.ocr-issue-row .admin-retry-action>span:last-child{display:none}.ocr-issue-error strong,.ocr-issue-error small{white-space:normal}.admin-document-frame,.admin-document-image,.admin-document-loading{height:calc(100vh - 150px);min-height:calc(100vh - 150px)}.gpt-issues-panel .admin-panel-heading{flex-direction:column;align-items:flex-start;gap:10px}.gpt-issue-row{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:14px}.gpt-issue-client{grid-column:2}.gpt-issue-copy{grid-column:1/-1}.gpt-issue-row>.admin-status{grid-column:2}.gpt-issue-row .admin-retry-action{grid-area:1/3/span 2;width:44px;min-width:44px;padding:0}.gpt-issue-row .admin-retry-action>span:last-child{display:none}.push-issues-panel .admin-panel-heading{flex-direction:column;align-items:flex-start;gap:10px}.push-issue-row{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:14px}.push-issue-person{grid-column:2}.push-issue-copy{grid-column:1/-1}.push-issue-row>.admin-status{grid-column:2}.push-issue-row .admin-retry-action{grid-area:1/3/span 2;width:44px;min-width:44px;padding:0}.push-issue-row .admin-retry-action>span:last-child{display:none}.push-issue-copy strong,.push-issue-copy small{white-space:normal}.monitor-alerts-panel .admin-panel-heading{flex-direction:column;align-items:flex-start;gap:10px}.monitor-current-state{align-items:flex-start;padding:14px}.monitor-current-state small{flex-wrap:wrap;align-items:flex-start}.monitor-alert-list article{grid-template-columns:38px minmax(0,1fr);gap:10px;padding:14px}.monitor-alert-list ul{grid-column:1/-1}.storage-status-panel .admin-panel-heading{flex-direction:column;align-items:flex-start;gap:10px}.storage-status-metrics>div{padding:13px}.storage-status-metrics span{display:none}.storage-usage{padding:14px}.gpt-issue-copy strong,.gpt-issue-copy small{white-space:normal}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.protocol-page{gap:20px;display:grid}.protocol-heading,.protocol-toolbar,.protocol-editor,.protocol-card{min-width:0}.protocol-toolbar{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;display:flex}.protocol-toolbar label{align-items:center;gap:9px;font-weight:650;display:inline-flex}.protocol-toolbar span{color:var(--muted);font-size:13px}.protocol-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.protocol-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:14px;padding:18px;display:grid}.protocol-card-head{grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.protocol-card-head>span{border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.protocol-card-head>span.platform{background:var(--green-soft);color:var(--green-strong)}.protocol-card-head>span.personal{background:var(--sand);color:var(--ink)}.protocol-card-head small{color:var(--muted);display:block}.protocol-card-head h3{margin:2px 0 0;font-size:17px}.protocol-card-head em{background:var(--sand);color:var(--muted);border-radius:6px;padding:4px 7px;font-size:12px;font-style:normal}.protocol-card-head em.validated{background:var(--green-soft);color:var(--green-strong)}.protocol-card>p{color:var(--muted);margin:0;line-height:1.5}.protocol-meta,.protocol-actions,.protocol-editor-actions{align-items:center;gap:10px;display:flex}.protocol-meta span{color:var(--muted);font-size:13px}.protocol-actions{justify-content:flex-end}.protocol-editor{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:18px;padding:20px;display:grid}.protocol-editor>header,.protocol-editor-section>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.protocol-editor h3,.protocol-editor h4{margin:0}.protocol-editor header small{color:var(--green-strong);font-weight:700}.protocol-main-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.protocol-main-fields label,.protocol-editor-section{gap:7px;display:grid}.protocol-main-fields label.wide{grid-column:1/-1}.protocol-main-fields span{font-size:13px;font-weight:650}.protocol-main-fields input,.protocol-main-fields textarea,.protocol-edit-row input,.protocol-edit-row select{border:1px solid var(--line);background:var(--background);width:100%;min-width:0;color:var(--ink);font:inherit;border-radius:7px;padding:10px 11px}.protocol-editor-section{border-top:1px solid var(--line);padding-top:16px}.protocol-edit-row{align-items:center;gap:8px;display:grid}.protocol-edit-row.phase{grid-template-columns:1.2fr 110px 2fr 40px}.protocol-edit-row.rule{grid-template-columns:1.1fr 130px 150px 1fr 1.4fr 40px}.protocol-editor-actions{justify-content:flex-end;padding-top:4px}@media (width<=900px){.protocol-grid{grid-template-columns:1fr}.protocol-toolbar{flex-direction:column;align-items:flex-start}.protocol-main-fields{grid-template-columns:1fr}.protocol-edit-row.phase,.protocol-edit-row.rule{border:1px solid var(--line);border-radius:8px;grid-template-columns:1fr;padding:12px}.protocol-edit-row .icon-button{justify-self:end}}
