/* Myndware refinement: explicit journeys, readable UI, compact workspaces. */
:root{--muted:#53665c;--warm:#b46f50;--surface:#f3f5ed}
html{scroll-padding-top:24px}
body{font-size:16px;line-height:1.6}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a85e35;outline-offset:4px}
p{color:var(--muted)}
.eyebrow,.number{font-size:12px!important;line-height:1.5;letter-spacing:1.2px}
.announcement{font-size:12px;gap:22px;padding:7px 20px;text-align:center;min-height:35px;line-height:1.5}
.announcement a{font-size:12px;white-space:nowrap}
.site-header{height:64px;gap:18px;padding:0 4.1%;max-width:none;margin:0;width:100%;box-sizing:border-box;border-bottom:1px solid var(--line);background:rgba(253,253,250,.94);backdrop-filter:saturate(140%) blur(10px);-webkit-backdrop-filter:saturate(140%) blur(10px);position:sticky;top:0;z-index:50}
.desktop-nav{gap:18px;white-space:nowrap}
.desktop-nav a{font-size:13px;min-height:36px;display:inline-flex;align-items:center}
.brand{font-size:24px;flex-shrink:0;gap:8px}
.brand-mark{width:24px;height:23px}
.nav-actions{gap:12px}
.nav-cta{font-size:13px;padding:8px 14px;gap:10px;min-height:36px}
.region-control{font-size:13px;min-height:36px;gap:6px}
.menu-button{width:40px;height:40px}
.button,.text-link{font-size:16px;line-height:1.4;min-height:48px}
.button{padding:16px 20px;gap:18px}
.text-link{display:inline-flex;align-items:center;gap:14px}
.button-outline{background:transparent!important;border:1px solid #204c3c!important;color:#163e35!important}
.button-outline:hover{background:#e5ecde!important}
h2{font-size:clamp(34px,3.5vw,50px);letter-spacing:-1.8px;line-height:1.13}
h3{line-height:1.25}
h2 em,h3 em{font-weight:400}
.refined-hero{padding-top:30px;padding-bottom:48px;gap:6%;align-items:center;grid-template-columns:1.08fr 1fr}
.refined-hero h1{font-size:clamp(50px,5.2vw,78px);letter-spacing:-3px;line-height:1.04;margin:24px 0}
.refined-hero h1 em{letter-spacing:-2px}
.refined-hero .hero-copy{padding:0}
.refined-hero .hero-description{font-size:19px;line-height:1.6;max-width:560px}
.refined-hero .hero-buttons{flex-wrap:wrap;gap:20px;margin-top:27px}
.refined-hero .hero-note{font-size:13px;display:block;margin-top:19px;color:#53665c}
.direct-path{display:inline-flex;align-items:center;gap:14px;text-decoration:underline;text-underline-offset:4px;font-size:14px;min-height:44px;margin-top:8px;line-height:1.6}
.direct-path svg{width:18px;height:18px;flex-shrink:0}
.refined-hero .hero-visual{padding-bottom:35px;min-width:0}
.refined-hero .photo-frame{height:510px;border-radius:8px 8px 110px 8px}
.refined-hero .photo-frame img{object-position:60% center}
.photo-tag{font-size:12px}
.continuity-card{position:absolute;left:-22px;bottom:0;right:40px;background:#eef2e3;border:1px solid #d5dfc7;border-radius:7px;padding:22px;display:flex;align-items:center;gap:20px;box-shadow:0 10px 30px #163e3509}
.continuity-number{font-size:22px;white-space:nowrap;border-right:1px solid #bccbac;padding-right:20px;color:#49673c}
.continuity-card div>span{font-size:10px;letter-spacing:1px;display:block;margin-bottom:8px}
.continuity-card strong{font-size:23px;line-height:1.2;font-weight:400;letter-spacing:-.5px}
.care-facts{border-top:1px solid #ccd7c9;border-bottom:1px solid #ccd7c9;padding:29px 0;display:grid;grid-template-columns:1fr 2.2fr;gap:10px 5%;align-items:start}
.care-facts h2{font-size:25px;letter-spacing:-.6px;margin-top:10px}
.care-facts dl{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:25px;margin:0}
.care-facts dt{font-size:15px;margin-bottom:8px;font-weight:600}
.care-facts dd{font-size:14px;line-height:1.6;margin:0;color:var(--muted)}
.care-facts>.text-link{grid-column:2;min-height:35px;font-size:14px}
.personal-paths{padding:70px 0}
.audience-heading h2{margin-top:12px}
.audience-heading>p{font-size:16px}
.personal-feature h3{font-size:39px;line-height:1.12}
.personal-feature-copy{padding:36px!important}
.personal-feature-copy>p{font-size:16px;max-width:450px}
.personal-feature .button{font-size:16px}
.personal-topics{display:grid!important;grid-template-columns:1fr 1fr;gap:0!important;margin:24px 0!important}
.personal-topics a{border:0!important;border-top:1px solid #6a8a794d!important;border-radius:0!important;min-height:48px;display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 14px 10px 0!important;font-size:15px!important;text-align:left;line-height:1.4}
.personal-topics a:hover{background:#ffffff0d!important}
.personal-care-note{background:#dce8ce!important;color:#173e35;display:flex!important;align-items:flex-start;justify-content:flex-end;flex-direction:column;padding:30px;min-height:300px}
.personal-care-note>svg{width:35px;height:35px;margin-bottom:auto;stroke-width:1.1}
.personal-care-note blockquote{font-size:28px;line-height:1.3;letter-spacing:-.5px;margin:40px 0 25px;font-family:inherit}
.personal-care-note>span{font-size:11px;letter-spacing:1px}
.community-path{padding:28px!important}
.community-path h3{font-size:28px!important}
.community-path p{font-size:15px!important;line-height:1.6}
.community-link{font-size:15px!important;min-height:44px}
.refined-care{padding:62px 0}
.refined-care .section-intro{margin-bottom:30px;align-items:end}
.refined-care .section-intro>p{font-size:16px;max-width:420px;line-height:1.7}
.patient-journey{max-width:900px;margin:auto;border:1px solid #cbd7c6;background:#fffefa;border-radius:12px;overflow:hidden;box-shadow:0 15px 45px #153c3506}
.conversation-head{padding:17px 24px;background:#eaf0e2;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #d7e0ce}
.conversation-head>div{display:flex;align-items:center;gap:12px}
.conversation-head strong{font-size:17px;font-weight:500}
.conversation-head small{font-size:12px;color:#53644d;margin-top:2px}
.conversation-head>button{font-size:13px;min-height:44px;padding:6px;text-decoration:underline;white-space:nowrap}
.conversation-avatar{width:36px;height:36px;background:#173e35;border-radius:50%;display:grid;place-items:center;color:#f2f5e8;flex-shrink:0}
.conversation-avatar svg{width:20px;height:20px}
.chat-phases{display:flex;justify-content:space-between;gap:12px;list-style:none;padding:14px 24px;margin:0;border-bottom:1px solid #e4e9dc}
.chat-phases li{font-size:13px;color:#62705c;display:flex;gap:8px;align-items:center;white-space:nowrap}
.chat-phases li>span{width:23px;height:23px;display:grid;place-items:center;border:1px solid #c9d4bf;border-radius:50%;font-size:11px}
.chat-phases li[aria-current]{color:#153e35;font-weight:600}
.chat-phases li[aria-current]>span{background:#173e35;color:white;border-color:#173e35}
.chat-intro-note{margin:18px 24px 0;border-left:3px solid #b9caa4;padding-left:13px;font-size:13px;line-height:1.65}
.chat-intro-note strong,.chat-intro-note>span{display:block}
.chat-intro-note strong{font-weight:500}
.chat-intro-note details{margin-top:6px}
.chat-intro-note summary{cursor:pointer;text-decoration:underline;min-height:32px;line-height:1.8}
.chat-intro-note details p{font-size:13px;max-width:680px;margin:5px 0 0}
.conversation-log{height:320px;min-height:0;max-height:52dvh;overflow-y:auto;padding:24px;scrollbar-gutter:stable;overscroll-behavior:contain}
.conversation-message{max-width:85%;margin:0 0 17px}
.conversation-message>span{font-size:11px;color:#53654c;display:block;margin-bottom:5px}
.conversation-message p{font-size:16px;line-height:1.65;background:#eff3e8;border-radius:0 10px 10px 10px;padding:13px 16px;white-space:pre-wrap;overflow-wrap:anywhere;color:#254538;margin:0}
.conversation-message.patient{margin-left:auto}
.conversation-message.patient p{background:#173e35;color:#f9fbf4;border-radius:10px 0 10px 10px}
.conversation-message.patient>span{text-align:right}
.conversation-controls{padding:16px 24px;background:#fffefa;border-top:1px solid #e0e7d6}
.conversation-replies{display:flex;flex-wrap:wrap;gap:8px}
.conversation-replies>button{padding:9px 13px;border:1px solid #c7d5c0;border-radius:18px;min-height:44px;font-size:14px;line-height:1.4;text-align:left}
.conversation-replies>button:hover{background:#eaf1e1;border-color:#94a886}
.conversation-replies>.chat-skip{border-color:transparent;text-decoration:underline;text-underline-offset:3px}
#chat-composer{display:flex;gap:10px;align-items:end;margin-top:12px;border:1px solid #a8ba9c;border-radius:8px;padding:8px;background:white}
#chat-composer:focus-within{outline:2px solid #3b614c;outline-offset:2px}
#chat-composer textarea{font:inherit;font-size:16px;line-height:1.5;width:100%;min-width:0;border:0;outline:0!important;resize:vertical;background:transparent;padding:4px 6px;color:#163e35;max-height:150px;min-height:48px}
#chat-composer button{background:#173e35;color:white;border-radius:6px;width:44px;height:44px;min-width:44px;display:grid;place-items:center}
#chat-composer button svg{width:20px;height:20px}
.chat-compose-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#53644d;gap:12px}
.chat-compose-meta button{min-height:36px;font-size:13px}
.chat-help{display:flex;flex-wrap:wrap;gap:5px 15px;margin-top:8px;border-top:1px solid #e3e8dc;padding-top:6px}
.chat-help button{font-size:12px;min-height:36px;text-decoration:underline;text-underline-offset:3px;text-align:left}
.conversation-note{font-size:12px!important;line-height:1.6;color:#53634f!important;margin:6px 0 0}
.chat-status{font-size:14px;line-height:1.6;margin:8px 0;color:#7c3c22}
.chat-status:empty{display:none}
.chat-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.chat-contact-field{font-size:14px;display:grid;gap:7px}
.chat-contact-field input{font-size:16px;min-height:46px;background:#fff;color:#163e35;border:1px solid #b5c4ab;border-radius:5px;padding:10px;width:100%;min-width:0}
.chat-form-note{font-size:12px;margin:10px 0}
.chat-review-actions{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
.chat-review-actions .button{font-size:15px}
.chat-review-actions .text-link{font-size:14px;min-height:44px}
.chat-review{padding:20px;background:#f4f6ed;border:1px solid #d6dfca;border-radius:7px}
.chat-review h3{font-size:26px;margin:9px 0 20px}
.chat-review dl{margin:0}
.chat-review dl>div{display:grid;grid-template-columns:1fr 1.8fr;gap:20px;border-top:1px solid #dce4d2;padding:11px 0;line-height:1.6}
.chat-review dt{font-size:13px;color:#53654d}
.chat-review dd{font-size:15px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-review>p{font-size:13px;margin-top:18px}
.journey-transfer-consent{font-size:13px;line-height:1.6;margin:0 0 16px}
.continuity-section{display:grid;grid-template-columns:1fr 1fr;gap:12%;align-items:center;padding:50px 0 80px}
.continuity-section h2{margin:15px 0 24px}
.continuity-section>div>p{font-size:17px;line-height:1.75;max-width:470px}
.continuity-section .text-link{margin-top:18px}
.continuity-preview{padding:30px;border:1px solid #c8d5bc;border-radius:8px;background:#eef3e5}
.continuity-preview>div{border-top:1px solid #cbd7c0;padding:21px 0 0;margin-top:20px}
.continuity-preview>div>span{font-size:11px;letter-spacing:1px;display:block;margin-bottom:10px}
.continuity-preview strong{font-size:22px;font-weight:400;line-height:1.3;display:block}
.continuity-preview p{font-size:14px;line-height:1.6;margin-top:10px}
.purpose-compact{display:grid;grid-template-columns:1fr 1.2fr;gap:12%;padding:65px 0;border-top:1px solid #d2ddca}
.purpose-compact h2{margin:16px 0}
.purpose-compact>div>p{font-size:17px;line-height:1.75;max-width:none;margin:0 0 16px}
.global-inner p,.trust-section>div>p{font-size:16px;line-height:1.7}
.global-inner .region-panel p{font-size:13px;line-height:1.65}
.region-options button{font-size:14px;min-height:44px}
.region-details-row{font-size:14px;line-height:1.7}
.faq summary,.decision-detail summary{font-size:17px;min-height:52px;line-height:1.5;padding:20px 0}
.faq p,.decision-detail p{font-size:16px;line-height:1.75}
.closing-actions{display:flex;flex-direction:column;align-items:flex-start;gap:9px;z-index:1}
.closing h2{font-size:45px}
.closing p{font-size:16px}
.care-entry{display:grid;grid-template-columns:1.2fr 1fr;gap:10%;padding:45px 0 55px;align-items:center}
.care-entry h1{font-size:clamp(45px,4.5vw,67px);line-height:1.08;letter-spacing:-2.6px;margin:20px 0 25px}
.care-entry>div>p{font-size:18px;line-height:1.75;max-width:570px}
.care-entry .hero-buttons{flex-wrap:wrap;gap:10px 22px}
.entry-facts{padding:28px;background:#edf2e4;border:1px solid #d0ddc5;border-radius:8px}
.entry-facts h2{font-size:27px;letter-spacing:-.6px;margin:14px 0 24px}
.entry-facts dl{margin:0}
.entry-facts dl>div{border-top:1px solid #d1ddc5;padding:14px 0}
.entry-facts dt{font-size:14px;font-weight:600}
.entry-facts dd{font-size:15px;color:#50644c;margin:5px 0 0;line-height:1.65}
.entry-facts>p{font-size:16px;line-height:1.75}
.entry-facts .text-link{font-size:14px;margin-top:5px}
.care-entry-chat{border-top:1px solid #d4dfcd;padding-top:40px}
.compact-process{padding-top:35px;padding-bottom:55px}
.compact-process article{border-top:1px solid #cbd8c3;padding-top:22px}
.compact-process h3{font-size:25px;margin:17px 0 15px}
.three-columns p{font-size:16px!important;line-height:1.75!important}
.two-routes{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.two-routes>article{padding:32px;background:#edf2e4;border:1px solid #cbd9bf;border-radius:8px;display:flex;flex-direction:column;align-items:start}
.two-routes>article+article{background:#fffefa}
.route-number{font-size:14px;border:1px solid #b7c9a8;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}
.two-routes h3{font-size:29px;letter-spacing:-.6px;margin:23px 0 18px;max-width:420px}
.two-routes p{font-size:16px;line-height:1.75;margin-bottom:25px}
.two-routes .button{margin-top:auto}
.preview-caption{font-size:14px;line-height:1.7;padding:18px 0;border-top:1px solid #d6dfce;margin-top:28px}
.partner-previews{border-top:1px solid #ccd8c0;margin-top:20px;padding-top:12px}
.partner-previews summary{font-size:14px;min-height:44px;cursor:pointer;display:list-item;padding:10px 0}
.login-copy h1{font-size:66px;line-height:1.08}
.login-choice small{font-size:14px;line-height:1.6}
.login-choice{min-height:95px}
.login-direct{font-size:14px}
.has-patient-draft .partner-previews,.has-patient-draft .login-direct{display:none}
.form-preview-note,.small-note,.demo-caption,.prototype-note{font-size:13px!important;line-height:1.7!important;color:#53644e}
.page-hero h1{font-size:clamp(48px,5vw,72px);letter-spacing:-2.5px;line-height:1.08}
.page-hero>div>p,.lab-page-hero>p,.product-hero>p{font-size:18px;line-height:1.7}
.field label,.program-builder legend,.preference-label{font-size:14px!important;line-height:1.5}
.field input,.field select,.field textarea{font-size:16px!important;line-height:1.5}
.field input::placeholder,.field textarea::placeholder{font-size:15px}
.builder-choices label{font-size:15px;min-height:48px}
.builder-bottom .button,.builder-result .button{font-size:15px}
.builder-result li{font-size:15px;line-height:1.7}
.audience-tabs button,.product-tabs button{font-size:16px;min-height:48px}
.campus-panel p,.campus-panel li{font-size:16px;line-height:1.7}
.contact-expectations p,.contact-copy>p,.contact-privacy p{font-size:16px;line-height:1.75}
.boundary-panel p{font-size:16px}
.footer-links a{font-size:14px;line-height:1.6;min-height:36px;display:inline-flex;align-items:center}
.footer-bottom,.footer-bottom button{font-size:12px!important;line-height:1.6}
.partner-deliverables{margin-top:35px;border-top:1px solid #cedac6;padding-top:28px}
.partner-deliverables h3{font-size:26px;letter-spacing:-.5px}
.partner-deliverables ul{list-style:none;padding:0;margin:20px 0;display:grid;gap:14px}
.partner-deliverables li{display:flex;gap:12px;font-size:16px;line-height:1.7}
.partner-deliverables li>span{font-size:12px;border:1px solid #bdceb2;border-radius:50%;width:25px;height:25px;flex-shrink:0;text-align:center;line-height:25px;margin-top:2px}
/* Workspaces have a tighter hierarchy than the marketing site. */
.portal-page-heading{margin-bottom:22px}
.portal-page-heading h2{font-size:32px;margin:8px 0 10px;letter-spacing:-.9px}
.portal-page-heading>p{font-size:15px;line-height:1.65}
.portal-page-heading .eyebrow,.portal-card>.eyebrow,.portal-highlight .eyebrow{font-size:11px!important}
.portal-content{padding:28px 32px}
.portal-card{padding:23px}
.portal-card h3{font-size:24px;margin:12px 0}
.portal-card p{font-size:16px;line-height:1.65}
.portal-row p{font-size:14px}
.portal-role,.portal-badge{font-size:12px}
.portal-topbar{font-size:14px;padding:15px 32px}
.portal-button,.portal-link{font-size:15px;min-height:44px}
.portal-sidebar nav button{font-size:15px}
.portal-demo-bar{font-size:11px;letter-spacing:.3px}
.portal-field,.portal-consent{font-size:14px;line-height:1.6}
.portal-dialog p{font-size:16px}
.portal-highlight p{color:#e2e9d8;font-size:16px}
.portal-timeline{font-size:14px}
.goal-observation{background:#f0f4e9;border-left:3px solid #a5bc8d;padding:15px;margin:16px 0;font-size:15px;line-height:1.7}
.goal-meta{font-size:13px!important;color:#526448}
.preview-controls{border:1px dashed #bacbad;border-radius:5px;padding:10px 15px;margin-top:24px;font-size:13px;background:#f1f4e9}
.preview-controls summary{min-height:38px;cursor:pointer;line-height:1.7;padding-top:6px}
.preview-controls p{font-size:14px;line-height:1.65;margin:10px 0}
.work-queue{background:#fffefa;border:1px solid #d5dfcb;border-radius:8px;margin-bottom:24px}
.queue-header{padding:21px 23px;border-bottom:1px solid #d9e2cf;display:flex;justify-content:space-between;align-items:center;gap:20px}
.queue-header h3{font-size:23px;letter-spacing:-.5px}
.queue-header p{font-size:14px;margin-top:5px}
.queue-item{padding:18px 23px;display:grid;grid-template-columns:120px 1.7fr 1fr auto;gap:20px;align-items:center;border-bottom:1px solid #e0e7d7}
.queue-item:last-child{border-bottom:0}
.queue-item>div>strong{font-size:16px;font-weight:500;display:block}
.queue-item>div>p,.queue-item>div>span{font-size:13px;line-height:1.6;margin-top:5px}
.queue-priority{display:inline-block;font-size:12px;line-height:1.5;padding:4px 9px;background:#eaf0df;border:1px solid #cad8bc;border-radius:5px;width:max-content;max-width:100%}
.queue-item .portal-actions{margin:0;gap:8px}
.activity-heading{margin:12px 0 18px}
.activity-heading h3{font-size:25px;margin:7px 0 9px}
.activity-heading p{font-size:15px}
.activity-heading .eyebrow{display:none}
.activity-demo{font-size:11px;margin-bottom:14px;padding:8px 14px}
.activity-metrics{padding:12px 17px;margin-bottom:16px;gap:20px}
.activity-metrics strong{font-size:20px}
.activity-goals{padding:18px 22px;margin-bottom:17px}
.activity-goals>div{padding-top:10px}
.activity-card{padding:23px}
.activity-card h4{font-size:24px;margin-top:17px}
.activity-card>p{font-size:16px;line-height:1.7}
.activity-card dl{font-size:14px;grid-template-columns:125px 1fr;margin:18px 0}
.activity-boundary{font-size:13px;line-height:1.7}
.activity-goals .eyebrow{font-size:11px!important}
.activity-plan-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 20px;background:#edf2e4;border:1px solid #d0dcc6;border-radius:7px;margin-bottom:18px}
.activity-plan-intro strong{font-size:16px;font-weight:500}
.activity-plan-intro span{display:block;font-size:13px;margin-top:3px}
.activity-plan-intro a{font-size:14px}
@media(min-width:1500px){.refined-hero .photo-frame{height:555px}}
@media(max-width:1250px){.desktop-nav{display:none}.menu-button{display:block}.refined-hero{gap:5%}.refined-hero h1{font-size:64px}.refined-hero .hero-buttons .button{font-size:15px}.refined-hero .photo-frame{height:480px}.refined-hero .hero-description{font-size:18px}.queue-item{grid-template-columns:100px 1.6fr 1fr}.queue-item .portal-actions{grid-column:2 / 4}.personal-feature{grid-template-columns:1fr!important}.personal-care-note{display:none!important}}
@media(max-width:1000px){.refined-hero h1{font-size:55px}.care-facts{grid-template-columns:1fr}.care-facts dl{margin-top:12px}.care-facts>.text-link{grid-column:1}.continuity-card{left:-12px;right:15px;padding:18px;gap:12px}.continuity-card strong{font-size:20px}.continuity-number{font-size:18px;padding-right:12px}.continuity-section{gap:7%}.care-entry{gap:6%;grid-template-columns:1.1fr 1fr}.entry-facts{padding:23px}.care-entry h1{font-size:48px}.portal-content{padding:25px}.portal-shell{grid-template-columns:190px 1fr}.activity-card dl{grid-template-columns:115px 1fr}.queue-item{gap:12px}}
@media(max-width:760px){
  .announcement{font-size:11px;padding:7px 15px;min-height:34px}.announcement a{display:none}
  .wrap{width:calc(100% - 36px)}.site-header{height:56px;padding:0 18px}.brand{font-size:22px}.region-control{font-size:12px}.nav-actions{gap:10px}.mobile-nav a{font-size:17px;min-height:48px;display:flex;align-items:center}.mobile-nav{padding:15px 22px!important;top:56px}.nav-cta{display:none}
  h2{font-size:35px;letter-spacing:-1.3px}.eyebrow,.number{font-size:11px!important;letter-spacing:1px}
  .button,.text-link{font-size:16px;min-height:48px}.button{padding:14px 18px}
  .refined-hero{display:flex;flex-direction:column;gap:28px;padding-top:22px;padding-bottom:31px}.refined-hero h1{font-size:clamp(43px,10.2vw,63px);letter-spacing:-2px;line-height:1.08;margin:20px 0}.refined-hero h1 em{letter-spacing:-1.7px}.refined-hero .hero-copy .eyebrow{margin:0}.refined-hero .hero-description{font-size:17px;line-height:1.65}.refined-hero .hero-buttons{margin-top:22px;gap:10px 20px}.refined-hero .hero-buttons .button{font-size:16px;padding:15px 17px;gap:14px}.refined-hero .hero-buttons .text-link{font-size:16px}.refined-hero .hero-note{font-size:12px;line-height:1.7;margin-top:15px}.direct-path{font-size:14px;margin-top:8px}.refined-hero .hero-visual{width:100%;margin:0;padding:0 0 26px}.refined-hero .photo-frame{height:290px;border-bottom-right-radius:80px}.refined-hero .photo-tag{font-size:11px;top:15px;left:15px}.continuity-card{left:12px;right:30px;padding:16px;gap:17px}.continuity-card strong{font-size:20px}.continuity-card div>span{font-size:9px}.continuity-number{font-size:20px;padding-right:16px}
  .care-facts{padding:24px 0;gap:12px}.care-facts h2{font-size:25px}.care-facts dl{grid-template-columns:1fr;gap:0;margin-top:0}.care-facts dl>div{padding:12px 0;border-bottom:1px solid #d8e0d0}.care-facts dt{font-size:14px;margin-bottom:3px}.care-facts dd{font-size:14px}.care-facts>.text-link{font-size:14px;margin-top:2px}
  .personal-paths{padding:46px 0}.audience-heading{display:block!important}.audience-heading h2{font-size:35px;margin-top:12px}.audience-heading>p{font-size:16px;line-height:1.6;margin-top:18px}.audience-heading>p br{display:none}.personal-feature-copy{padding:26px!important}.personal-feature h3{font-size:33px}.personal-topics{grid-template-columns:1fr}.personal-topics a{font-size:16px!important;min-height:48px}.personal-feature-copy>p{font-size:16px}.community-paths{grid-template-columns:1fr!important}.community-path{padding:25px!important}.community-path h3{font-size:28px!important}.community-path p{font-size:16px!important}.community-link{font-size:15px!important}
  .refined-care{padding:42px 0}.refined-care .section-intro{margin-bottom:22px}.refined-care .section-intro h2{font-size:35px}.refined-care .section-intro>p{font-size:16px;line-height:1.7;margin-top:18px}.patient-journey{border-radius:9px}.conversation-head{padding:10px 14px;gap:10px}.conversation-head strong{font-size:15px;line-height:1.4}.conversation-head small{font-size:11px}.conversation-head>button{font-size:12px}.conversation-avatar{width:31px;height:31px}.conversation-head>div{gap:9px}.chat-phases{gap:7px;padding:12px 13px}.chat-phases li{font-size:11px;gap:5px}.chat-phases li>span{width:19px;height:19px;font-size:10px}.chat-intro-note{margin:14px 15px 0;font-size:12px}.chat-intro-note summary{font-size:12px}.chat-intro-note details p{font-size:12px}.conversation-log{height:250px;max-height:43dvh;padding:17px 14px}.conversation-message{max-width:93%;margin-bottom:15px}.conversation-message p{font-size:16px;padding:11px 13px;line-height:1.6}.conversation-controls{padding:13px 14px}.conversation-replies{gap:7px}.conversation-replies>button{font-size:14px;min-height:44px;padding:9px 12px}.chat-compose-meta>span{display:none}.chat-help{gap:0 14px;margin-top:2px}.chat-help button{font-size:12px;min-height:38px}.conversation-note{font-size:11px!important}.chat-status{font-size:13px}.chat-contact-grid{grid-template-columns:1fr;gap:12px}.chat-contact-field{font-size:14px}.chat-contact-grid .chat-contact-field:nth-child(3){grid-column:auto}.chat-review{padding:17px 14px}.chat-review h3{font-size:24px}.chat-review dl>div{display:block;padding:10px 0}.chat-review dd{font-size:16px;margin-top:5px}.chat-review dt{font-size:12px}.chat-review-actions{gap:4px 15px}.chat-review-actions .button{font-size:15px;white-space:normal;text-align:left;width:100%;justify-content:space-between}.chat-review-actions .text-link{font-size:14px;min-height:44px}.journey-transfer-consent{font-size:12px}
  .continuity-section{grid-template-columns:1fr;gap:26px;padding:20px 0 45px}.continuity-section h2{font-size:35px}.continuity-section>div>p{font-size:16px}.continuity-section .text-link{font-size:15px}.continuity-preview{padding:24px}.continuity-preview strong{font-size:21px}.purpose-compact{grid-template-columns:1fr;gap:12px;padding:42px 0}.purpose-compact h2{font-size:38px}.purpose-compact>div>p{font-size:16px}.global-inner h2{font-size:35px}.global-inner>div>p{font-size:16px}.global-section{padding:45px 0}.region-panel{padding:22px}.region-panel .regional-note{font-size:12px}.region-details-row{font-size:14px}.trust-section{padding:44px 0}.trust-section h2{font-size:35px}.trust-section>div>p{font-size:16px}.faq summary,.decision-detail summary{font-size:16px}.faq p,.decision-detail p{font-size:16px}.closing{padding:26px}.closing h2{font-size:36px}.closing p{font-size:16px}.closing-actions{margin-top:20px}.closing .button{font-size:15px;white-space:normal;text-align:left;gap:12px;margin-top:0}.closing-actions .text-link{font-size:14px}.closing h2 em{display:inline}
  .care-entry{grid-template-columns:1fr;gap:25px;padding:26px 0 35px}.care-entry h1{font-size:43px;letter-spacing:-1.6px;line-height:1.12}.care-entry>div>p{font-size:17px}.entry-facts{padding:24px}.entry-facts h2{font-size:25px;margin-bottom:19px}.entry-facts dd{font-size:15px}.care-entry-chat{padding-top:30px}.two-routes{grid-template-columns:1fr;gap:17px}.two-routes>article{padding:26px}.two-routes h3{font-size:27px}.two-routes p{font-size:16px}.two-routes .button{font-size:15px;text-align:left;white-space:normal}.compact-process h3{font-size:25px}.compact-process article{padding-top:20px}.compact-process .three-columns{gap:25px}.consultation-options{padding-top:30px}.preview-caption{font-size:13px}.login-copy h1{font-size:49px!important;letter-spacing:-2px}.login-copy>p{font-size:17px}.login-choice strong{font-size:17px}.login-choice small{font-size:14px}.page-hero h1{font-size:45px;letter-spacing:-1.8px;line-height:1.1}.page-hero>div>p{font-size:17px}.page-hero .hero-buttons{flex-wrap:wrap;gap:12px 20px}.page-hero .hero-buttons .button,.page-hero .hero-buttons .text-link{font-size:15px}.business-photo{height:300px!important}.lab-page-hero h1,.product-hero h1{font-size:45px;letter-spacing:-1.8px}.lab-page-hero>p,.product-hero>p{font-size:17px}.product-tabs,.audience-tabs{overflow-x:auto;gap:5px}.product-tabs button,.audience-tabs button{font-size:14px;white-space:nowrap;padding:13px}.builder-choices{grid-template-columns:1fr}.builder-choices label{font-size:16px}.builder-bottom{flex-wrap:wrap}.builder-bottom .button{font-size:15px}.contact-copy h1{font-size:47px}.footer-links a{font-size:14px;min-height:39px}.footer-top{gap:22px}.footer-bottom{font-size:12px!important}
  .portal-shell{display:block}.portal-content{padding:22px 17px 35px}.portal-sidebar{padding-top:16px}.portal-sidebar nav button{font-size:14px}.portal-role{font-size:11px}.portal-topbar{font-size:13px;padding:12px 18px}.portal-topbar .portal-badge{font-size:11px}.portal-demo-bar{font-size:10px;padding:9px 15px;line-height:1.6}.portal-demo-bar a{font-size:11px}.portal-page-heading h2{font-size:29px}.portal-page-heading>p{font-size:15px}.portal-page-heading .eyebrow{font-size:11px!important}.portal-highlight{padding:22px;gap:15px}.portal-highlight h3{font-size:25px}.portal-highlight p{font-size:16px}.portal-button,.portal-link{font-size:15px}.portal-card{padding:22px}.portal-card p{font-size:16px}.portal-field,.portal-consent{font-size:14px}.portal-dialog p{font-size:16px}.queue-header{padding:18px;align-items:start}.queue-header h3{font-size:22px}.queue-item{padding:18px;grid-template-columns:1fr;gap:10px}.queue-item .portal-actions{grid-column:auto;margin-top:0}.queue-item>div>p,.queue-item>div>span{font-size:14px}.queue-priority{font-size:12px}.activity-demo{font-size:10px;align-items:center}.activity-demo .portal-link{font-size:12px;min-width:85px}.activity-heading{margin:12px 0 16px}.activity-heading h3{font-size:23px}.activity-heading p{font-size:15px}.activity-heading>.portal-button{font-size:15px}.activity-metrics{padding:14px 17px;gap:12px}.activity-metrics span{font-size:13px}.activity-metrics span:last-child{font-size:12px}.activity-goals{padding:17px}.activity-card{padding:20px}.activity-card h4{font-size:23px}.activity-card>p{font-size:16px}.activity-card dl{grid-template-columns:1fr;font-size:14px;gap:4px}.activity-card dd{margin-bottom:9px}.activity-card .portal-actions{gap:5px 17px}.activity-editor{padding:22px 18px}.activity-boundary{font-size:12px}.activity-plan-intro{padding:14px 16px;align-items:start;flex-wrap:wrap}.activity-plan-intro strong{font-size:15px}.activity-plan-intro span{font-size:13px}
}
@media(max-width:360px){.brand{font-size:23px}.nav-actions{gap:6px}.refined-hero h1{font-size:40px}.chat-phases{gap:5px;padding:12px 10px}.chat-phases li{font-size:10px;gap:4px}.conversation-head{padding:10px}.conversation-head strong{font-size:14px}.conversation-head small{font-size:10px}.conversation-head>button{font-size:11px}.continuity-card div>span{font-size:8px}.continuity-card strong{font-size:18px}.button{white-space:normal;text-align:left}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.activity-demo-switch{margin:0 0 15px;padding:6px 14px;font-size:12px}
.activity-demo-switch p{font-size:13px}
.activity-demo-switch .portal-link{font-size:13px}
.activity-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.activity-filters:empty{display:none}
.activity-filters button{min-height:44px;padding:9px 14px;border:1px solid #c8d8bd;border-radius:5px;font-size:14px;background:#fffefa}
.activity-filters button[aria-pressed=true]{background:#173e35;color:white;border-color:#173e35}
.institution-scope-note{padding:14px 16px;background:#e8efde;border-left:3px solid #a7bc91;font-size:14px;line-height:1.65;margin:17px 0}
.care-inquiry-route{padding:22px;background:#e8efdd;border:1px solid #cad8bc;border-radius:6px;margin:18px 0}
.care-inquiry-route h3{font-size:24px;letter-spacing:-.5px}
.care-inquiry-route p{font-size:15px;line-height:1.7;margin:15px 0}
.care-inquiry-route .button{font-size:15px}
#inquiry-form.is-personal>.field-row,#inquiry-form.is-personal>.field:not(:first-of-type),#inquiry-form.is-personal>.form-preview-note,#inquiry-form.is-personal>button{display:none}
.purpose-explanation .split-section>div>p{font-size:17px;max-width:none;margin-bottom:20px}
.partner-offer .three-columns article{border-top:1px solid #d3dec9;padding-top:24px}
.partner-offer .three-columns h3{font-size:26px;margin:15px 0}
.workspace-feature{padding:30px;border:1px solid #cbd8c0;background:#fffefa;border-radius:8px}
.workspace-feature h4{font-size:30px;letter-spacing:-.8px;margin:14px 0}
.workspace-feature p{font-size:16px;line-height:1.7}
.workspace-feature ul{list-style:none;padding:0;margin:23px 0;display:grid;gap:12px}
.workspace-feature li{font-size:15px;padding:12px 0;border-top:1px solid #dbe4d2;line-height:1.6}
.workspace-feature .portal-badge{font-size:12px}
.product-panel{gap:6%;padding:34px}
.product-description h3{font-size:32px}
.product-description>p,.product-description li{font-size:16px;line-height:1.7}
.product-description>.button{font-size:16px;min-height:48px}
@media(max-width:760px){.product-panel{padding:24px 20px;gap:25px}.workspace-feature{padding:22px}.workspace-feature h4{font-size:27px}.product-description h3{font-size:29px}.care-inquiry-route{padding:20px}.care-inquiry-route .button{white-space:normal;text-align:left}.purpose-explanation .split-section>div>p{font-size:16px}}
.journey-resume h2{font-size:29px;letter-spacing:-.8px;margin-bottom:17px;line-height:1.2}
.journey-resume .text-link{width:auto}
@media(max-width:760px){.journey-resume h2{font-size:27px}}
.activity-goals{margin-top:22px}
.portal-mobile-nav{display:none}
@media(max-width:760px){
 .patient-journey.is-intro .conversation-log{height:190px;max-height:37dvh}
 .chat-phases{justify-content:space-between;gap:7px}
 .chat-phases li{font-size:11px;gap:5px}
 .portal-sidebar nav{display:none}
 .portal-mobile-nav{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;font-size:12px;margin:13px 0 15px}
 .portal-mobile-nav select{width:100%;min-height:44px;font-size:16px;color:#163e35;border:1px solid #b9cba9;border-radius:5px;padding:8px 11px;background:#fffefa;min-width:0}
 .portal-sidebar .portal-role{display:none}
 .portal-topbar{display:none}
 .activity-metrics span:last-child{margin:0;width:100%}
 .activity-heading{margin:8px 0 15px}.activity-heading h3{font-size:22px}
 .activity-goals{margin-top:18px}
}

.concern-preparation{display:grid;grid-template-columns:1fr 1fr;gap:8%;background:#edf2e7;border-radius:8px;padding:38px;margin-bottom:35px}.concern-preparation h2{font-size:40px;margin:16px 0 20px}.concern-preparation p{font-size:16px;line-height:1.75}.concern-questions>p{padding:18px 0;display:flex;gap:18px;border-top:1px solid #cddbc1}.concern-questions>p>span{font-size:12px;color:#637557;padding-top:4px}.concern-links{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:60px}.concern-links a{font-size:14px;border-bottom:1px solid #b5c4a6;padding:12px 0}.concern-questions .text-link{margin-top:15px}.hero.refined-hero h1{font-size:clamp(62px,6.1vw,90px);line-height:1.04}
@media(max-width:760px){.concern-preparation{grid-template-columns:1fr;padding:26px 21px;gap:25px}.concern-preparation h2{font-size:34px}.concern-links{display:grid;gap:9px}.hero.refined-hero h1{font-size:clamp(53px,12vw,68px)!important}}
.human-discovery{display:grid;grid-template-columns:1.1fr 1fr;gap:8%;padding:70px 0;align-items:center;scroll-margin-top:30px}.human-discovery h2{font-size:clamp(36px,4vw,58px);line-height:1.13;margin:18px 0 24px;letter-spacing:-1.7px}.human-discovery>div>p{font-size:17px;line-height:1.75;max-width:55ch}.discovery-purposes{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}.discovery-purposes span{font-size:12px;padding:7px 11px;background:#edf3e6;border:1px solid #dce6d3;border-radius:20px}.discovery-call-panel{padding:35px;background:#edf3e6;border:1px solid #d6e1cb;border-radius:10px}.discovery-call-panel h3{font-size:29px;letter-spacing:-.6px;margin:17px 0}.discovery-call-panel>p{font-size:15px!important;line-height:1.7!important}.discovery-phone-icon{display:grid;place-items:center;width:48px;height:48px;background:#dbe8cb;border-radius:50%;font-size:25px}.discovery-call-panel .direct-call{display:flex;width:100%;margin:24px 0 12px;gap:13px;flex-wrap:wrap}.direct-call span{font-weight:400}.discovery-call-panel .text-link{font-size:13px;margin-top:12px}.discovery-call-panel .discovery-note,.discovery-call-panel .call-pending{font-size:12px!important;line-height:1.65!important;margin-top:15px;color:#596c51}
@media(max-width:760px){.human-discovery{grid-template-columns:1fr;gap:28px;padding:45px 0}.human-discovery h2{font-size:38px;letter-spacing:-1.2px}.human-discovery>div>p{font-size:16px}.discovery-call-panel{padding:25px 22px}.discovery-call-panel h3{font-size:26px}.discovery-purposes{gap:7px}.discovery-purposes span{font-size:11px}.discovery-call-panel .direct-call{min-height:50px;font-size:16px}}
/* Understanding before process: an emotionally coherent first page. */
.listening-first{padding:55px 0;border-top:1px solid #dce4d7}
.listening-panel{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:28px;align-items:stretch;padding:36px;background:linear-gradient(135deg,#eef3e8 0%,#f7f9f3 55%,#f3eee6 100%);border:1px solid #d5e0cb;border-radius:16px;box-shadow:0 12px 30px #163e350a}
.listening-intro{display:flex;flex-direction:column;min-width:0;padding:8px 8px 8px 4px}
.listening-intro h2{font-size:clamp(34px,3.6vw,52px);line-height:1.12;letter-spacing:-1.5px;margin:14px 0 22px}
.listening-intro h2 em{color:#6f805c}
.listening-intro p{font-size:16px;line-height:1.75;max-width:48ch;margin:0 0 14px;color:#526454}
.listening-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:18px}
.listening-actions .button{font-size:14px;min-height:48px;padding:14px 18px;gap:14px}
.listening-actions .text-link{font-size:14px}
.listening-notes{display:grid;gap:12px;min-width:0}
.listening-notes article{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:start;padding:18px 16px;background:#fffef9;border:1px solid #d7e2cb;border-radius:12px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.listening-notes article:hover{transform:translateY(-2px);box-shadow:0 10px 22px #163e350e;border-color:#a7bb93}
.listening-note-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#dfe9d2;color:#173e35;box-shadow:inset 0 0 0 1px #c8d6b6}
.listening-note-icon svg{width:24px;height:24px;stroke-width:1.5}
.listening-notes h3{font-size:20px;letter-spacing:-.4px;line-height:1.25;margin:2px 0 8px;color:#173e35}
.listening-notes p{font-size:14px;line-height:1.65;color:#526454;margin:0}.values-hero{text-align:center;padding:65px 0 55px;max-width:1000px}.values-hero h1{font-size:clamp(46px,5.6vw,78px);line-height:1.08;letter-spacing:-3px;margin:22px 0 27px}.values-hero h1 em{color:#70805d}.values-hero>p{font-size:19px;line-height:1.8;max-width:720px;margin:0 auto 20px}.value-commitments{max-width:1060px;padding-bottom:60px}.value-commitments article{display:grid;grid-template-columns:220px 1fr;gap:35px;padding:37px 0;border-top:1px solid #d9e1d1}.value-commitments article>span{font-size:11px;letter-spacing:1px;color:#687b58;line-height:1.7;padding-top:6px}.value-commitments h2{font-size:34px;letter-spacing:-1px;line-height:1.2;margin-bottom:19px}.value-commitments p{font-size:17px;line-height:1.8;max-width:65ch}.value-commitments .text-link{font-size:14px;margin-top:15px}.care-distinction{border-top:1px solid #d9e1d1}.care-distinction>h2{margin:18px 0 25px}.care-distinction>p{font-size:18px;line-height:1.8;max-width:800px;margin-bottom:30px}.care-distinction .two-routes article{background:#f0f4e9}.purpose-explanation p{font-size:17px;line-height:1.8}.purpose-compact p{line-height:1.8}
@media(max-width:1000px){.listening-panel{gap:22px;padding:28px 24px}.listening-intro h2{font-size:40px}.listening-notes h3{font-size:19px}}
@media(max-width:760px){.listening-first{padding:36px 0}.listening-panel{grid-template-columns:1fr;gap:20px;padding:22px 18px;border-radius:14px}.listening-intro{padding:0}.listening-intro h2{font-size:34px;letter-spacing:-1.1px;margin:12px 0 18px}.listening-intro h2 br{display:none}.listening-intro p{font-size:15px;max-width:none}.listening-actions{flex-direction:column;align-items:stretch;gap:12px}.listening-actions .button{width:100%;justify-content:center}.listening-actions .text-link{justify-content:center}.listening-notes article{grid-template-columns:48px minmax(0,1fr);padding:16px 14px}.listening-note-icon{width:48px;height:48px}.listening-note-icon svg{width:22px;height:22px}.listening-notes h3{font-size:19px}.listening-notes p{font-size:14px;line-height:1.65}.values-hero{padding:35px 0}.values-hero h1{font-size:45px;letter-spacing:-1.8px}.values-hero>p{font-size:17px}.value-commitments article{grid-template-columns:1fr;gap:14px;padding:28px 0}.value-commitments h2{font-size:29px;line-height:1.15}.value-commitments p{font-size:16px}.care-distinction>p{font-size:16px}.purpose-explanation p{font-size:16px}.care-distinction .two-routes{grid-template-columns:1fr}}
.connect-channels .discovery-call-panel{margin:0}.connect-channels .discovery-phone-icon svg{width:22px;height:22px}.connect-channels .direct-call{display:flex;width:100%;margin:24px 0 12px;justify-content:center}.connect-channels .call-pending,.connect-channels .discovery-note{font-size:12px;line-height:1.65;color:#596c51;margin-top:12px}
body[data-page=intake] .contact-layout{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:36px;padding-top:48px;padding-bottom:64px;align-items:start}
body[data-page=intake] .contact-copy>p{max-width:42ch}
body[data-page=intake] .contact-expectations{margin-top:28px;gap:18px}
body[data-page=intake] .inquiry-shell{padding:30px 28px}
.intake-shell #intake-letter{min-height:220px}
.intake-shell #intake-summary{grid-template-columns:140px 1fr}
@media(max-width:1100px){body[data-page=intake] .contact-layout{gap:28px}body[data-page=intake] .inquiry-shell{padding:26px 22px}}
@media(max-width:900px){body[data-page=intake] .contact-layout{grid-template-columns:1fr;gap:28px;padding-top:36px;padding-bottom:48px}body[data-page=intake] .contact-copy>p{max-width:none}body[data-page=intake] .contact-expectations{margin-top:22px}body[data-page=intake] .inquiry-shell{padding:24px 20px}.intake-shell .field-row{grid-template-columns:1fr;gap:0}}
@media(max-width:760px){body[data-page=intake] .contact-layout{gap:24px;padding-top:28px;padding-bottom:40px}body[data-page=intake] .contact-copy h1{font-size:clamp(40px,11vw,54px);letter-spacing:-2px;margin:18px 0 18px}body[data-page=intake] .inquiry-shell{padding:22px 17px}body[data-page=intake] .inquiry-shell h2{font-size:28px;margin:12px 0 20px}.intake-shell #intake-letter{min-height:180px}.intake-shell #intake-summary{grid-template-columns:1fr;gap:6px 0}.intake-shell #intake-summary dt{margin-top:12px;font-weight:600}.intake-shell .button{width:100%}.intake-shell .review-actions{flex-direction:column;align-items:stretch}.intake-shell .review-actions .button,.intake-shell .review-actions .text-link{justify-content:center;width:100%}}

.difference-section{padding-top:55px;padding-bottom:70px}
.difference-section .section-intro{align-items:flex-end;margin-bottom:34px}
.difference-section .section-intro h2{max-width:18ch}
.difference-section .section-intro>p{max-width:34ch;font-size:16px;line-height:1.7}
.difference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.difference-card{position:relative;display:flex;flex-direction:column;gap:0;padding:24px 20px 22px;border:1px solid #d5e0cb;border-radius:10px;background:#f3f6ee;min-height:100%;min-width:0;transition:transform .22s ease,background .22s ease,box-shadow .22s ease}
.difference-card:nth-child(2){background:#eef3e7}
.difference-card:nth-child(3){background:#f7f1ea}
.difference-card:nth-child(4){background:#edf2eb}
.difference-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #163e350f;background:#e8efdf}
.difference-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#dfe8d0;margin-bottom:18px}
.difference-icon svg{width:22px;height:22px;stroke-width:1.35}
.difference-card>.eyebrow{font-size:10px;letter-spacing:1.2px;color:#6f8160;margin-bottom:12px}
.difference-card h3{font-size:22px;letter-spacing:-.5px;line-height:1.18;margin:0 0 12px}
.difference-card>p{font-size:14px;line-height:1.65;margin:0 0 16px;max-width:none}
.difference-contrast{margin-top:auto;padding-top:16px;border-top:1px solid #d3deca;font-size:13px;line-height:1.55;color:#5f7158;font-family:var(--serif);font-style:italic}
.difference-foot{margin-top:24px;font-size:13px;line-height:1.7;color:#617061;max-width:78ch}
@media(max-width:1100px){.difference-grid{gap:14px}.difference-card{padding:22px 16px}.difference-card h3{font-size:20px}.difference-card>p,.difference-contrast{font-size:13px}}
@media(max-width:900px){.difference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.difference-card h3{font-size:23px}.difference-card>p{font-size:14px}}
@media(max-width:760px){.difference-section{padding-top:40px;padding-bottom:52px}.difference-section .section-intro{display:block;margin-bottom:26px}.difference-section .section-intro h2{font-size:38px;letter-spacing:-1.4px;max-width:none}.difference-section .section-intro>p{margin-top:14px;max-width:none;font-size:15px}.difference-grid{grid-template-columns:1fr;gap:14px}.difference-card{padding:24px 21px}.difference-card h3{font-size:26px}.difference-card>p{font-size:15px}.difference-contrast{font-size:14px}}

/* Lab: people + communities */
body[data-page=lab] .lab-people{padding-top:56px;padding-bottom:40px}
body[data-page=lab] .lab-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=lab] .lab-person-card{display:flex;flex-direction:column;padding:28px 24px 24px;border:1px solid #d5e0cb;border-radius:14px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease}
body[data-page=lab] .lab-person-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px #163e3510}
body[data-page=lab] .lab-person-warm{background:#fff;border-color:#d5e0cb}
body[data-page=lab] .lab-person-monogram{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#163e35;color:#d7e6a8;font-size:15px;letter-spacing:.6px;margin-bottom:18px}
body[data-page=lab] .lab-person-warm .lab-person-monogram{background:#e8efdf;color:#163e35}
body[data-page=lab] .lab-person-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=lab] .lab-person-card h3{font-size:clamp(26px,2.4vw,32px);letter-spacing:-.6px;margin:0 0 8px;color:#173e35}
body[data-page=lab] .lab-person-card strong{display:block;font-size:14px;font-weight:500;color:#5f7158;margin-bottom:14px}
body[data-page=lab] .lab-person-card>p,body[data-page=lab] .lab-person-body>p{font-size:15px;line-height:1.7;margin:0 0 18px;color:#4f5f4c;flex:1}
body[data-page=lab] .lab-person-focus{margin-top:auto;padding:14px 16px;border-radius:8px;background:#eef3e7;border-left:3px solid #748261}
body[data-page=lab] .lab-person-focus>span{display:block;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#6f8160;margin-bottom:6px}
body[data-page=lab] .lab-person-focus p{margin:0;font-size:13px;line-height:1.6;color:#3f4f3c}
body[data-page=lab] .lab-people .promise-caption,body[data-page=lab] .lab-community .promise-caption{margin-top:22px}
body[data-page=lab] .lab-community{padding-top:28px;padding-bottom:56px}
body[data-page=lab] .lab-community-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto auto;gap:16px;margin-top:30px}
body[data-page=lab] .lab-community-feature{grid-column:1/span 2;grid-row:1/span 2;display:flex;flex-direction:column;padding:32px 28px;border-radius:14px;background:
  radial-gradient(ellipse 70% 55% at 100% 0%,#2a5648 0%,transparent 55%),
  linear-gradient(165deg,#163e35 0%,#124037 55%,#0f2f28 100%);color:#f4f7ef}
body[data-page=lab] .lab-community-feature .eyebrow{color:#c5d6b8}
body[data-page=lab] .lab-community-feature h3{font-size:clamp(26px,2.6vw,36px);letter-spacing:-.8px;line-height:1.15;margin:14px 0 14px;color:#f7faf2}
body[data-page=lab] .lab-community-feature h3 em{color:#d7e6a8}
body[data-page=lab] .lab-community-feature>p{font-size:15px;line-height:1.7;margin:0 0 18px;color:#c9d6c8;max-width:42ch}
body[data-page=lab] .lab-community-feature ul{margin:0 0 22px;padding:0;list-style:none;display:grid;gap:10px}
body[data-page=lab] .lab-community-feature li{position:relative;padding-left:16px;font-size:14px;line-height:1.55;color:#d7e2d0}
body[data-page=lab] .lab-community-feature li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:#d7e6a8}
body[data-page=lab] .lab-community-feature .text-link{margin-top:auto;color:#e8f0d8}
body[data-page=lab] .lab-community-feature .text-link svg{stroke:#e8f0d8}
body[data-page=lab] .lab-community-card{display:flex;flex-direction:column;padding:24px 22px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3}
body[data-page=lab] .lab-community-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#dfe8d0;color:#163e35;margin-bottom:14px}
body[data-page=lab] .lab-community-icon svg{width:18px;height:18px}
body[data-page=lab] .lab-community-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=lab] .lab-community-card h3{font-size:20px;letter-spacing:-.4px;margin:0 0 10px}
body[data-page=lab] .lab-community-card>p{font-size:14px;line-height:1.65;margin:0;color:#4f5f4c}
body[data-page=lab] .lab-community-people{grid-column:3/span 2;display:flex;flex-direction:column;padding:26px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#fff}
body[data-page=lab] .lab-community-people .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=lab] .lab-community-people h3{font-size:24px;letter-spacing:-.5px;line-height:1.2;margin:0 0 12px}
body[data-page=lab] .lab-community-people>p{font-size:14px;line-height:1.65;margin:0 0 18px;color:#4f5f4c}
body[data-page=lab] .lab-community-people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}
body[data-page=lab] .lab-community-people-grid div{padding:14px;border-radius:8px;background:#f3f6ee;border:1px solid #d5e0cb}
body[data-page=lab] .lab-community-people-grid strong{display:block;font-size:14px;font-weight:500;margin-bottom:6px;color:#173e35}
body[data-page=lab] .lab-community-people-grid p{margin:0;font-size:13px;line-height:1.55;color:#4f5f4c}
body[data-page=lab] .lab-community-people .text-link{margin-top:auto}
@media(max-width:1100px){
  body[data-page=lab] .lab-community-bento{grid-template-columns:1fr 1fr;grid-template-rows:none}
  body[data-page=lab] .lab-community-feature,body[data-page=lab] .lab-community-people{grid-column:1/-1;grid-row:auto}
  body[data-page=lab] .lab-community-people-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  body[data-page=lab] .lab-people-grid,body[data-page=lab] .lab-community-bento{grid-template-columns:1fr}
  body[data-page=lab] .lab-community-feature{padding:26px 20px}
}

/* Education: Teachers, mentors & students — bento path */
body[data-page=education] .edu-path{padding-top:48px;padding-bottom:56px}
body[data-page=education] .edu-path-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto auto;gap:16px}
body[data-page=education] .edu-path-intro{grid-column:1/span 2;grid-row:1/span 2;display:flex;flex-direction:column;padding:32px 28px;border-radius:14px;background:
  radial-gradient(ellipse 70% 55% at 100% 0%,#2a5648 0%,transparent 55%),
  linear-gradient(165deg,#163e35 0%,#124037 55%,#0f2f28 100%);color:#f4f7ef;min-height:100%}
body[data-page=education] .edu-path-intro .eyebrow{color:#c5d6b8}
body[data-page=education] .edu-path-intro h2{font-size:clamp(32px,3.4vw,46px);letter-spacing:-1.4px;line-height:1.1;margin:16px 0 16px;color:#f7faf2}
body[data-page=education] .edu-path-intro h2 em{color:#d7e6a8}
body[data-page=education] .edu-path-intro>p{font-size:15px;line-height:1.7;margin:0 0 20px;color:#c9d6c8;max-width:36ch}
body[data-page=education] .edu-path-intro ul{margin:0 0 24px;padding:0;list-style:none;display:grid;gap:10px}
body[data-page=education] .edu-path-intro li{position:relative;padding-left:16px;font-size:14px;line-height:1.55;color:#d7e2d0}
body[data-page=education] .edu-path-intro li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:#d7e6a8}
body[data-page=education] .edu-path-intro .text-link{margin-top:auto;color:#e8f0d8}
body[data-page=education] .edu-path-intro .text-link svg{stroke:#e8f0d8}
body[data-page=education] .edu-path-card{display:flex;flex-direction:column;padding:24px 22px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease}
body[data-page=education] .edu-path-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px #163e3510}
body[data-page=education] .edu-path-card .eyebrow{color:#6f8160;margin-bottom:12px}
body[data-page=education] .edu-path-step::before{content:attr(data-step)}
body[data-page=education] .edu-path-card h3{font-size:20px;letter-spacing:-.4px;line-height:1.25;margin:0 0 10px;color:#173e35}
body[data-page=education] .edu-path-card>p{font-size:14px;line-height:1.65;margin:0;color:#4f5f4c}
body[data-page=education] .edu-path-wide{grid-column:span 1}
@media(max-width:1100px){
  body[data-page=education] .edu-path-bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}
  body[data-page=education] .edu-path-intro{grid-column:1/-1;grid-row:auto}
  body[data-page=education] .edu-path-wide{grid-column:span 1}
}
@media(max-width:760px){
  body[data-page=education] .edu-path-bento{grid-template-columns:1fr}
  body[data-page=education] .edu-path-intro{padding:26px 20px}
}

/* Education: Skills for life cards */
body[data-page=education] .edu-skills-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=education] .edu-skills-card{display:flex;flex-direction:column;padding:26px 22px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body[data-page=education] .edu-skills-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #163e3510;border-color:#c5d4b8}
body[data-page=education] .edu-skills-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe8d0;color:#163e35;margin-bottom:14px}
body[data-page=education] .edu-skills-icon svg{width:18px;height:18px}
body[data-page=education] .edu-skills-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=education] .edu-skills-card h3{font-size:22px;letter-spacing:-.45px;line-height:1.22;margin:0 0 12px;color:#173e35}
body[data-page=education] .edu-skills-card>p{font-size:14px;line-height:1.65;margin:0 0 18px;color:#4f5f4c;flex:1}
body[data-page=education] .edu-skills-note{margin-top:auto;padding:14px;border-radius:8px;background:#eef3e7;border-left:3px solid #748261}
body[data-page=education] .edu-skills-note>span{display:block;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#6f8160;margin-bottom:6px}
body[data-page=education] .edu-skills-note p{margin:0;font-size:13px;line-height:1.6;color:#3f4f3c}
@media(max-width:1100px){
  body[data-page=education] .edu-skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  body[data-page=education] .edu-skills-grid{grid-template-columns:1fr}
}

/* Corporate: Useful progress outcomes cards */
body[data-page=corporate] .corp-outcomes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=corporate] .corp-outcomes-card{display:flex;flex-direction:column;padding:26px 22px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body[data-page=corporate] .corp-outcomes-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #163e3510;border-color:#c5d4b8}
body[data-page=corporate] .corp-outcomes-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe8d0;color:#163e35;margin-bottom:14px}
body[data-page=corporate] .corp-outcomes-icon svg{width:18px;height:18px}
body[data-page=corporate] .corp-outcomes-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=corporate] .corp-outcomes-card h3{font-size:22px;letter-spacing:-.45px;line-height:1.25;margin:0 0 12px;color:#173e35}
body[data-page=corporate] .corp-outcomes-card>p{font-size:14px;line-height:1.65;margin:0 0 18px;color:#4f5f4c;flex:1}
body[data-page=corporate] .corp-outcomes-note{margin-top:auto;padding:14px;border-radius:8px;background:#eef3e7;border-left:3px solid #748261}
body[data-page=corporate] .corp-outcomes-note>span{display:block;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#6f8160;margin-bottom:6px}
body[data-page=corporate] .corp-outcomes-note p{margin:0;font-size:13px;line-height:1.6;color:#3f4f3c}
body[data-page=corporate] .corp-outcomes .org-scope-note{margin-top:22px;padding:14px 16px;border:1px dashed #c5d4b8;border-radius:10px;background:#f3f6ee}
@media(max-width:900px){
  body[data-page=corporate] .corp-outcomes-grid{grid-template-columns:1fr}
}

/* Corporate: Start where you are — card grid */
body[data-page=corporate] .corp-context{border-top:1px solid var(--line)}
body[data-page=corporate] .corp-context-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=corporate] .corp-context-card{display:flex;flex-direction:column;padding:26px 22px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body[data-page=corporate] .corp-context-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #163e3510;border-color:#c5d4b8}
body[data-page=corporate] .corp-context-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe8d0;color:#163e35;margin-bottom:14px}
body[data-page=corporate] .corp-context-icon svg{width:18px;height:18px}
body[data-page=corporate] .corp-context-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=corporate] .corp-context-card h3{font-size:22px;letter-spacing:-.45px;line-height:1.2;margin:0 0 10px;color:#173e35}
body[data-page=corporate] .corp-context-card>p{font-size:14px;line-height:1.65;margin:0;color:#4f5f4c;flex:1}
body[data-page=corporate] .corp-context-cta{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:28px}
@media(max-width:1100px){
  body[data-page=corporate] .corp-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  body[data-page=corporate] .corp-context-grid{grid-template-columns:1fr}
  body[data-page=corporate] .corp-context-cta{flex-direction:column;align-items:stretch}
  body[data-page=corporate] .corp-context-cta .button,body[data-page=corporate] .corp-context-cta .text-link{justify-content:center}
}

/* Corporate support cards: keep four focus areas on one row */
body[data-page=corporate] .org-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body[data-page=corporate] .org-service-grid .org-service-primary{grid-column:span 3}
body[data-page=corporate] .org-service-grid article:not(.org-service-primary){min-width:0}
body[data-page=corporate] .org-service-grid article:not(.org-service-primary) h3{font-size:20px;letter-spacing:-.4px;line-height:1.22;margin:10px 0 12px}
body[data-page=corporate] .org-service-grid article:not(.org-service-primary) p{font-size:13px;line-height:1.6}
@media(max-width:1200px){
  body[data-page=corporate] .org-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page=corporate] .org-service-grid .org-service-primary{grid-column:span 2}
}
@media(max-width:760px){
  body[data-page=corporate] .org-service-grid{grid-template-columns:1fr}
  body[data-page=corporate] .org-service-grid .org-service-primary{grid-column:auto}
  body[data-page=corporate] .org-service-grid article:not(.org-service-primary) h3{font-size:24px}
  body[data-page=corporate] .org-service-grid article:not(.org-service-primary) p{font-size:14px}
}

/* Corporate process: Understand → Build → Support → Learn */
body[data-page=corporate] .org-process-band{background:linear-gradient(180deg,#f3f6ee 0%,#edf2e7 100%)}
body[data-page=corporate] .corp-process{list-style:none;margin:36px 0 0;padding:0;display:grid;gap:0}
body[data-page=corporate] .corp-process-step{display:grid;grid-template-columns:72px minmax(0,1fr);gap:22px;position:relative;padding-bottom:24px}
body[data-page=corporate] .corp-process-step:not(:last-child)::before{content:"";position:absolute;left:35px;top:56px;bottom:0;width:1px;background:linear-gradient(180deg,#c5d4b8,#dce4dc)}
body[data-page=corporate] .corp-process-marker{display:grid;place-items:start center;padding-top:4px}
body[data-page=corporate] .corp-process-marker::before{content:attr(data-step);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#163e35;color:#f4f7ef;font-size:13px;letter-spacing:.8px;position:relative;z-index:1;box-shadow:0 0 0 6px #edf2e7}
body[data-page=corporate] .corp-process-card{padding:26px 24px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#fff;transition:transform .2s ease,box-shadow .2s ease}
body[data-page=corporate] .corp-process-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px #163e3510}
body[data-page=corporate] .corp-process-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=corporate] .corp-process-card h3{font-size:clamp(24px,2.2vw,30px);letter-spacing:-.55px;line-height:1.18;margin:0 0 12px;color:#173e35}
body[data-page=corporate] .corp-process-card>p{font-size:15px;line-height:1.65;margin:0 0 18px;color:#4f5f4c;max-width:70ch}
body[data-page=corporate] .corp-process-outcome{padding:14px 16px;border-radius:8px;background:#eef3e7;border-left:3px solid #748261}
body[data-page=corporate] .corp-process-outcome>span{display:block;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#6f8160;margin-bottom:6px}
body[data-page=corporate] .corp-process-outcome p{margin:0;font-size:14px;line-height:1.6;color:#3f4f3c}
@media(max-width:760px){
  body[data-page=corporate] .corp-process-step{grid-template-columns:40px minmax(0,1fr);gap:14px;padding-bottom:20px}
  body[data-page=corporate] .corp-process-step:not(:last-child)::before{left:19px;top:48px}
  body[data-page=corporate] .corp-process-marker::before{width:40px;height:40px;font-size:12px;box-shadow:0 0 0 4px #edf2e7}
  body[data-page=corporate] .corp-process-card{padding:20px 18px}
  body[data-page=corporate] .corp-process-card h3{font-size:24px}
}

/* Join as a psychologist */
body[data-page=join] .join-purpose{padding-top:36px;padding-bottom:56px}
body[data-page=join] .join-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=join] .join-card{display:flex;flex-direction:column;padding:26px 22px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease}
body[data-page=join] .join-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #163e3510}
body[data-page=join] .join-card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe8d0;color:#163e35;margin-bottom:14px}
body[data-page=join] .join-card-icon svg{width:18px;height:18px}
body[data-page=join] .join-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=join] .join-card h3{font-size:22px;letter-spacing:-.45px;line-height:1.2;margin:0 0 10px}
body[data-page=join] .join-card>p{font-size:14px;line-height:1.65;margin:0;color:#4f5f4c}
body[data-page=join] .join-terms{padding-top:28px;padding-bottom:56px}
body[data-page=join] .join-terms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=join] .join-terms-grid article{padding:24px 22px;border:1px solid #d5e0cb;border-radius:12px;background:#fff}
body[data-page=join] .join-terms-grid .eyebrow{color:#6f8160;margin-bottom:12px}
body[data-page=join] .join-step::before{content:attr(data-step)}
body[data-page=join] .join-terms-grid h3{font-size:22px;letter-spacing:-.4px;margin:0 0 10px}
body[data-page=join] .join-terms-grid p{font-size:14px;line-height:1.65;margin:0;color:#4f5f4c}
body[data-page=join] .join-selection{padding-top:28px;padding-bottom:56px;background:linear-gradient(180deg,#f3f6ee 0%,transparent 72%)}
body[data-page=join] .join-selection-steps{list-style:none;margin:36px 0 0;padding:0;display:grid;gap:0}
body[data-page=join] .join-selection-steps>li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:22px;position:relative;padding-bottom:24px}
body[data-page=join] .join-selection-steps>li:not(:last-child)::before{content:"";position:absolute;left:35px;top:56px;bottom:0;width:1px;background:linear-gradient(180deg,#c5d4b8,#dce4dc)}
body[data-page=join] .join-selection-marker{display:grid;place-items:start center;padding-top:4px}
body[data-page=join] .join-selection-marker::before{content:attr(data-step);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#163e35;color:#f4f7ef;font-size:13px;letter-spacing:.8px;position:relative;z-index:1;box-shadow:0 0 0 6px var(--paper)}
body[data-page=join] .join-selection-steps article{padding:24px 22px;border:1px solid #d5e0cb;border-radius:12px;background:#fff}
body[data-page=join] .join-selection-steps .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=join] .join-selection-steps h3{font-size:24px;letter-spacing:-.5px;margin:0 0 10px}
body[data-page=join] .join-selection-steps p{font-size:15px;line-height:1.65;margin:0;color:#4f5f4c;max-width:68ch}
body[data-page=join] .join-apply{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,56px);align-items:start;padding-top:48px;padding-bottom:64px}
body[data-page=join] .join-apply .contact-copy>p{max-width:42ch}
body[data-page=join] .join-apply .inquiry-shell{padding:30px 28px;border-radius:12px}
body[data-page=join] .join-apply-notes{margin:22px 0 0;padding:0;list-style:none;display:grid;gap:10px}
body[data-page=join] .join-apply-notes li{position:relative;padding-left:16px;font-size:14px;line-height:1.55;color:#4f5f4c}
body[data-page=join] .join-apply-notes li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:#748261}
body[data-page=join] .join-faq{padding-top:28px;padding-bottom:40px}
body[data-page=join] .join-faq-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,64px);align-items:start}
body[data-page=join] .join-faq-layout h2{margin-top:16px}
body[data-page=join] .join-faq-list details{border-top:1px solid var(--line);padding:18px 0}
body[data-page=join] .join-faq-list details:last-child{border-bottom:1px solid var(--line)}
body[data-page=join] .join-faq-list summary{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:18px;line-height:1.45;list-style:none;cursor:pointer}
body[data-page=join] .join-faq-list summary::-webkit-details-marker{display:none}
body[data-page=join] .join-faq-list summary svg{width:20px;height:20px;flex-shrink:0;transition:transform .2s ease}
body[data-page=join] .join-faq-list details[open] summary svg{transform:rotate(180deg)}
body[data-page=join] .join-faq-list p{font-size:15px;line-height:1.7;margin:14px 0 4px;max-width:62ch;color:#4f5f4c}
body[data-page=join] .join-closing{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;flex-wrap:wrap}
body[data-page=join] .join-closing-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
@media(max-width:1000px){
  body[data-page=join] .join-grid,body[data-page=join] .join-terms-grid{grid-template-columns:1fr}
  body[data-page=join] .join-faq-layout,body[data-page=join] .join-apply{grid-template-columns:1fr;gap:24px}
}
@media(max-width:760px){
  body[data-page=join] .join-apply .inquiry-shell{padding:22px 18px}
  body[data-page=join] .join-selection-steps>li{grid-template-columns:40px minmax(0,1fr);gap:14px;padding-bottom:20px}
  body[data-page=join] .join-selection-steps>li:not(:last-child)::before{left:19px;top:48px}
  body[data-page=join] .join-selection-marker::before{width:40px;height:40px;font-size:12px;box-shadow:0 0 0 4px var(--paper)}
  body[data-page=join] .join-faq-list summary{font-size:16px}
  body[data-page=join] .join-closing{align-items:stretch}
  body[data-page=join] .join-closing-actions{flex-direction:column;align-items:stretch}
  body[data-page=join] .join-closing-actions .button,body[data-page=join] .join-closing-actions .text-link{justify-content:center}
}

/* CSR / social responsibility */
body[data-page=csr] .csr-priorities{padding-top:36px;padding-bottom:64px}
body[data-page=csr] .csr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=csr] .csr-card{display:flex;flex-direction:column;padding:26px 22px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body[data-page=csr] .csr-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #163e3510;border-color:#c5d4b8}
body[data-page=csr] .csr-card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe8d0;color:#163e35;margin-bottom:14px}
body[data-page=csr] .csr-card-icon svg{width:18px;height:18px}
body[data-page=csr] .csr-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=csr] .csr-card h3{font-size:22px;letter-spacing:-.45px;line-height:1.2;margin:0 0 10px;color:#173e35}
body[data-page=csr] .csr-card>p{font-size:14px;line-height:1.65;margin:0 0 18px;color:#4f5f4c;flex:1}
body[data-page=csr] .csr-practice{margin-top:auto;padding:14px;border-radius:8px;background:#eef3e7;border:1px solid #d5e0cb}
body[data-page=csr] .csr-practice>span{display:block;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#6f8160;margin-bottom:6px}
body[data-page=csr] .csr-practice p{margin:0;font-size:13px;line-height:1.6;color:#3f4f3c}
body[data-page=csr] .csr-honesty{padding-top:20px;padding-bottom:56px}
body[data-page=csr] .csr-honesty-panel{padding:36px 32px;border-radius:14px;background:
  radial-gradient(ellipse 70% 60% at 100% 0%,#2a5648 0%,transparent 55%),
  linear-gradient(165deg,#163e35 0%,#124037 55%,#0f2f28 100%);color:#f4f7ef}
body[data-page=csr] .csr-honesty-panel .eyebrow{color:#c5d6b8}
body[data-page=csr] .csr-honesty-panel h2{font-size:clamp(32px,3.8vw,48px);letter-spacing:-1.6px;line-height:1.1;margin:14px 0 28px;color:#f7faf2;max-width:18ch}
body[data-page=csr] .csr-honesty-panel h2 em{color:#d7e6a8}
body[data-page=csr] .csr-honesty-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-page=csr] .csr-honesty-points article{padding:18px 16px;border:1px solid #2f574b;border-radius:10px;background:#1a463c}
body[data-page=csr] .csr-honesty-points .eyebrow{margin-bottom:10px}
body[data-page=csr] .csr-honesty-points p{margin:0;font-size:14px;line-height:1.65;color:#c9d6c8}
body[data-page=csr] .csr-next{padding-top:28px;padding-bottom:56px}
body[data-page=csr] .csr-next-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=csr] .csr-next-grid article{padding:24px 22px;border:1px solid #d5e0cb;border-radius:12px;background:#fff}
body[data-page=csr] .csr-next-grid .eyebrow{color:#6f8160;margin-bottom:12px}
body[data-page=csr] .csr-next-grid .csr-step::before{content:attr(data-step)}
body[data-page=csr] .csr-next-grid h3{font-size:22px;letter-spacing:-.4px;margin:0 0 10px}
body[data-page=csr] .csr-next-grid p{font-size:14px;line-height:1.65;margin:0;color:#4f5f4c}
body[data-page=csr] .csr-closing{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;flex-wrap:wrap}
body[data-page=csr] .csr-closing-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
@media(max-width:1000px){
  body[data-page=csr] .csr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page=csr] .csr-honesty-points,body[data-page=csr] .csr-next-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  body[data-page=csr] .csr-grid{grid-template-columns:1fr}
  body[data-page=csr] .csr-honesty-panel{padding:26px 20px}
  body[data-page=csr] .csr-closing{align-items:stretch}
  body[data-page=csr] .csr-closing-actions{flex-direction:column;align-items:stretch}
  body[data-page=csr] .csr-closing-actions .button,body[data-page=csr] .csr-closing-actions .text-link{justify-content:center}
}

/* Blog / journal catalogue */
body[data-page=blog] .blog-hero{padding:48px 0 28px;max-width:920px}
body[data-page=blog] .blog-hero-copy h1{font-size:clamp(44px,5vw,72px);letter-spacing:-2.6px;line-height:1.06;margin:16px 0 18px}
body[data-page=blog] .blog-hero-copy h1 em{color:#748261}
body[data-page=blog] .blog-hero-copy>p{font-size:17px;line-height:1.7;max-width:52ch;margin:0;color:#4f5f4c}
body[data-page=blog] .blog-catalogue{padding:12px 0 64px}
body[data-page=blog] .blog-toolbar{display:grid;gap:16px;margin-bottom:18px}
body[data-page=blog] .blog-search{display:flex;align-items:center;gap:12px;padding:0 16px;min-height:52px;border:1px solid #d5e0cb;border-radius:10px;background:#fff}
body[data-page=blog] .blog-search svg{width:18px;height:18px;color:#6f8160;flex-shrink:0}
body[data-page=blog] .blog-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:15px;color:#173e35;padding:14px 0}
body[data-page=blog] .blog-search input::placeholder{color:#8a9a84}
body[data-page=blog] .blog-filters{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:2px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
body[data-page=blog] .blog-filters button{flex:0 0 auto;min-height:40px;padding:8px 14px;border:1px solid #d5e0cb;border-radius:999px;background:#f7f9f3;font-size:13px;color:#3f4f3c;white-space:nowrap}
body[data-page=blog] .blog-filters button[aria-pressed=true]{background:#163e35;border-color:#163e35;color:#f4f7ef}
body[data-page=blog] .blog-count{font-size:13px;color:#6f8160;margin:0 0 20px}
body[data-page=blog] .blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-page=blog] .blog-card{display:flex;flex-direction:column;padding:24px 22px 22px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body[data-page=blog] .blog-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #163e3510;border-color:#c5d4b8}
body[data-page=blog] .blog-card[hidden]{display:none!important}
body[data-page=blog] .blog-card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe8d0;color:#163e35;margin-bottom:14px}
body[data-page=blog] .blog-card-icon svg{width:18px;height:18px}
body[data-page=blog] .blog-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=blog] .blog-card h3{font-size:22px;letter-spacing:-.45px;line-height:1.2;margin:0 0 10px;color:#173e35}
body[data-page=blog] .blog-card>p{font-size:14px;line-height:1.65;margin:0 0 18px;color:#4f5f4c;flex:1}
body[data-page=blog] .blog-card .text-link{margin-top:auto;font-size:14px}
body[data-page=blog] .blog-empty{margin:28px 0 0;padding:22px;border:1px dashed #c5d4b8;border-radius:10px;background:#f3f6ee;font-size:15px;line-height:1.6;color:#4f5f4c}
body[data-page=blog] .blog-closing{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;flex-wrap:wrap}
body[data-page=blog] .blog-closing-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
body[data-page=blog] .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){
  body[data-page=blog] .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  body[data-page=blog] .blog-hero{padding:28px 0 20px}
  body[data-page=blog] .blog-hero-copy h1{font-size:clamp(40px,11vw,54px);letter-spacing:-1.8px}
  body[data-page=blog] .blog-grid{grid-template-columns:1fr}
  body[data-page=blog] .blog-closing{align-items:stretch}
  body[data-page=blog] .blog-closing-actions{flex-direction:column;align-items:stretch}
  body[data-page=blog] .blog-closing-actions .button,body[data-page=blog] .blog-closing-actions .text-link{justify-content:center}
}

/* Future of Myndware page */
body[data-page=future] .future-principle{padding-top:36px;padding-bottom:28px}
body[data-page=future] .future-principle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=future] .future-principle-card{display:flex;flex-direction:column;padding:26px 22px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease}
body[data-page=future] .future-principle-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #163e3510}
body[data-page=future] .future-principle-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe8d0;color:#163e35;margin-bottom:14px}
body[data-page=future] .future-principle-icon svg{width:18px;height:18px}
body[data-page=future] .future-principle-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=future] .future-principle-card h3{font-size:22px;letter-spacing:-.45px;line-height:1.2;margin:0 0 10px}
body[data-page=future] .future-principle-card>p{font-size:14px;line-height:1.65;margin:0;color:#4f5f4c}
body[data-page=future] .future-roadmap{padding-top:36px;padding-bottom:64px;background:linear-gradient(180deg,#f3f6ee 0%,transparent 48%)}
body[data-page=future] .future-stages{list-style:none;margin:36px 0 0;padding:0;display:grid;gap:0;position:relative}
body[data-page=future] .future-stage{display:grid;grid-template-columns:72px minmax(0,1fr);gap:22px;position:relative;padding-bottom:28px}
body[data-page=future] .future-stage:not(:last-child)::before{content:"";position:absolute;left:35px;top:56px;bottom:0;width:1px;background:linear-gradient(180deg,#c5d4b8,#dce4dc)}
body[data-page=future] .future-stage-marker{display:grid;place-items:start center;padding-top:4px}
body[data-page=future] .future-stage-marker::before{content:attr(data-step);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#163e35;color:#f4f7ef;font-size:13px;letter-spacing:.8px;font-weight:500;position:relative;z-index:1;box-shadow:0 0 0 6px var(--paper)}
body[data-page=future] .future-stage-card{padding:26px 24px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#fff;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
body[data-page=future] .future-stage-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px #163e3510;border-color:#c5d4b8}
body[data-page=future] .future-stage-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=future] .future-stage-card h3{font-size:clamp(24px,2.2vw,30px);letter-spacing:-.6px;line-height:1.18;margin:0 0 12px;color:#173e35}
body[data-page=future] .future-stage-card>p{font-size:15px;line-height:1.65;margin:0 0 16px;color:#4f5f4c;max-width:68ch}
body[data-page=future] .future-stage-card ul{margin:0 0 18px;padding:0 0 0 18px;display:grid;gap:8px}
body[data-page=future] .future-stage-card li{font-size:14px;line-height:1.55;color:#3f4f3c}
body[data-page=future] .future-gate{padding:14px 16px;border-radius:8px;background:#eef3e7;border-left:3px solid #748261}
body[data-page=future] .future-gate>span{display:block;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#6f8160;margin-bottom:6px}
body[data-page=future] .future-gate p{margin:0;font-size:13px;line-height:1.6;color:#3f4f3c}
body[data-page=future] .future-tech{padding-top:28px;padding-bottom:56px}
body[data-page=future] .future-lenses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=future] .future-lens-card{padding:24px 22px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;transition:transform .2s ease,box-shadow .2s ease}
body[data-page=future] .future-lens-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px #163e3510}
body[data-page=future] .future-lens-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#dfe8d0;color:#163e35;margin-bottom:16px}
body[data-page=future] .future-lens-icon svg{width:18px;height:18px}
body[data-page=future] .future-lens-card .eyebrow{color:#6f8160;margin-bottom:10px}
body[data-page=future] .future-lens-card h3{font-size:22px;letter-spacing:-.4px;margin:0 0 10px;color:#173e35}
body[data-page=future] .future-lens-card p{font-size:14px;line-height:1.65;margin:0;color:#4f5f4c}
body[data-page=future] .future-questions-section{padding-top:28px;padding-bottom:40px}
body[data-page=future] .future-questions-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,64px);align-items:start}
body[data-page=future] .future-questions-layout h2{font-size:clamp(36px,4vw,52px);letter-spacing:-1.6px;line-height:1.1;margin:16px 0 0}
body[data-page=future] .future-questions-layout h2 em{color:#748261}
body[data-page=future] .future-questions details{border-top:1px solid var(--line);padding:18px 0}
body[data-page=future] .future-questions details:last-child{border-bottom:1px solid var(--line)}
body[data-page=future] .future-questions summary{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:18px;line-height:1.45;list-style:none;cursor:pointer;color:#173e35}
body[data-page=future] .future-questions summary::-webkit-details-marker{display:none}
body[data-page=future] .future-questions summary svg{width:20px;height:20px;flex-shrink:0;transition:transform .2s ease}
body[data-page=future] .future-questions details[open] summary svg{transform:rotate(180deg)}
body[data-page=future] .future-questions p{font-size:15px;line-height:1.7;margin:14px 0 4px;max-width:62ch;color:#4f5f4c}
body[data-page=future] .future-closing{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;flex-wrap:wrap}
body[data-page=future] .future-closing-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
@media(max-width:1000px){
  body[data-page=future] .future-principle-grid,body[data-page=future] .future-lenses{grid-template-columns:1fr}
  body[data-page=future] .future-questions-layout{grid-template-columns:1fr;gap:24px}
}
@media(max-width:760px){
  body[data-page=future] .future-stage{grid-template-columns:40px minmax(0,1fr);gap:14px;padding-bottom:22px}
  body[data-page=future] .future-stage:not(:last-child)::before{left:19px;top:48px}
  body[data-page=future] .future-stage-marker::before{width:40px;height:40px;font-size:12px;box-shadow:0 0 0 4px var(--paper)}
  body[data-page=future] .future-stage-card{padding:20px 18px}
  body[data-page=future] .future-stage-card h3{font-size:24px}
  body[data-page=future] .future-questions summary{font-size:16px}
  body[data-page=future] .future-closing{align-items:stretch}
  body[data-page=future] .future-closing-actions{flex-direction:column;align-items:stretch}
  body[data-page=future] .future-closing-actions .button,body[data-page=future] .future-closing-actions .text-link{justify-content:center}
}

/* Our values page */
body[data-page=our-values] .values-grid-section{padding-top:36px;padding-bottom:64px}
body[data-page=our-values] .values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px}
body[data-page=our-values] .values-card{display:flex;flex-direction:column;padding:26px 22px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#f7f9f3;min-height:100%;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
body[data-page=our-values] .values-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #163e3512;border-color:#c5d4b8}
body[data-page=our-values] .values-card-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#dfe8d0;margin-bottom:16px;color:#163e35}
body[data-page=our-values] .values-card-icon svg{width:20px;height:20px}
body[data-page=our-values] .values-card .eyebrow{margin-bottom:10px;color:#6f8160}
body[data-page=our-values] .values-card h3{font-size:24px;letter-spacing:-.5px;line-height:1.18;margin:0 0 12px;color:#173e35}
body[data-page=our-values] .values-card>p{font-size:15px;line-height:1.65;margin:0 0 18px;color:#4f5f4c;flex:1}
body[data-page=our-values] .values-practice{margin-top:auto;padding:14px 14px;border-radius:8px;background:#eef3e7;border:1px solid #d5e0cb}
body[data-page=our-values] .values-practice>span{display:block;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#6f8160;margin-bottom:6px}
body[data-page=our-values] .values-practice p{font-size:13px;line-height:1.6;margin:0;color:#3f4f3c}
body[data-page=our-values] .values-decisions{padding-top:56px;padding-bottom:64px;background:linear-gradient(180deg,#f3f6ee 0%,transparent 100%);border-radius:0}
body[data-page=our-values] .values-decision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=our-values] .values-decision-card{display:flex;flex-direction:column;padding:26px 24px 24px;border:1px solid #d5e0cb;border-radius:12px;background:#fff;min-height:100%;transition:transform .2s ease,box-shadow .2s ease}
body[data-page=our-values] .values-decision-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px #163e3510}
body[data-page=our-values] .values-decision-card .eyebrow{color:#6f8160;margin-bottom:12px}
body[data-page=our-values] .values-decision-card h3{font-family:var(--serif);font-size:clamp(20px,1.8vw,24px);font-weight:400;letter-spacing:-.3px;line-height:1.35;margin:0 0 18px;color:#173e35}
body[data-page=our-values] .values-response{margin-top:auto;padding:16px;border-radius:8px;background:#f3f6ee;border-left:3px solid #748261}
body[data-page=our-values] .values-response>span{display:block;font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#6f8160;margin-bottom:8px}
body[data-page=our-values] .values-response p{margin:0;font-size:14px;line-height:1.65;color:#3f4f3c}
body[data-page=our-values] .values-follow{padding-top:56px;padding-bottom:56px}
body[data-page=our-values] .values-follow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=our-values] .values-follow-grid article{padding:24px 22px;border:1px solid #d5e0cb;border-radius:12px;background:#fff}
body[data-page=our-values] .values-follow-grid .eyebrow{color:#6f8160;margin-bottom:12px}
body[data-page=our-values] .values-follow-grid .values-step::before{content:attr(data-step)}
body[data-page=our-values] .values-follow-grid h3{font-size:22px;letter-spacing:-.4px;margin:0 0 10px}
body[data-page=our-values] .values-follow-grid p{font-size:14px;line-height:1.65;margin:0;color:#4f5f4c}
body[data-page=our-values] .values-closing{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;flex-wrap:wrap}
body[data-page=our-values] .values-closing-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
@media(max-width:1000px){
  body[data-page=our-values] .values-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page=our-values] .values-decision-grid{grid-template-columns:1fr}
  body[data-page=our-values] .values-follow-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  body[data-page=our-values] .values-grid{grid-template-columns:1fr}
  body[data-page=our-values] .values-decision-card{padding:22px 18px}
  body[data-page=our-values] .values-decision-card h3{font-size:20px}
  body[data-page=our-values] .values-closing{align-items:stretch}
  body[data-page=our-values] .values-closing-actions{flex-direction:column;align-items:stretch}
  body[data-page=our-values] .values-closing-actions .button,body[data-page=our-values] .values-closing-actions .text-link{justify-content:center}
}

/* Personal care page */
body[data-page=care] .care-for-you{padding-top:56px;padding-bottom:64px}
body[data-page=care] .care-concern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=care] .care-concern-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;min-height:100%;padding:24px 22px 22px;border:1px solid #d5e0cb;border-radius:14px;background:#f4f7ef;text-decoration:none;color:inherit;overflow:hidden;box-shadow:0 8px 20px #163e3508;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease}
body[data-page=care] .care-concern-card:nth-child(2),
body[data-page=care] .care-concern-card:nth-child(5){background:#f7f3ec}
body[data-page=care] .care-concern-card:hover{transform:translateY(-3px);border-color:#a9be93;box-shadow:0 14px 28px #163e3512;background:#eef3e6}
body[data-page=care] .care-concern-card:focus-visible{outline:3px solid #806345;outline-offset:4px}
body[data-page=care] .care-concern-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#dfe8d0;color:#173e35;margin-bottom:16px;box-shadow:inset 0 0 0 1px #c9d6b7;flex:0 0 auto}
body[data-page=care] .care-concern-icon svg{width:22px;height:22px;stroke-width:1.5}
body[data-page=care] .care-concern-card h3{font-size:clamp(18px,1.55vw,22px);line-height:1.2;letter-spacing:-.35px;margin:0 0 8px;color:#173e35;font-weight:500;overflow-wrap:anywhere;hyphens:auto;max-width:100%}
body[data-page=care] .care-concern-card>p{font-size:14px;line-height:1.55;margin:0;color:#526454;max-width:34ch;overflow-wrap:break-word}
body[data-page=care] .care-concern-go{display:grid;place-items:center;width:30px;height:30px;margin-top:18px;border-radius:50%;background:#e4edd8;color:#173e35}
body[data-page=care] .care-concern-go svg{width:14px;height:14px}
body[data-page=care] .care-concern-card:hover .care-concern-go{background:#173e35;color:#eef4e4}
body[data-page=care] .care-concern-card-accent{background:#173e35;border-color:#173e35;color:#f4f7ef;box-shadow:0 12px 28px #163e3520}
body[data-page=care] .care-concern-card-accent h3{color:#f7faf2}
body[data-page=care] .care-concern-card-accent>p{color:#d5e2c8}
body[data-page=care] .care-concern-card-accent .care-concern-icon{background:#dce9c8;color:#173e35;box-shadow:none}
body[data-page=care] .care-concern-card-accent .care-concern-go{background:#2b5544;color:#eef4e4}
body[data-page=care] .care-concern-card-accent:hover{background:#21493d;border-color:#21493d;box-shadow:0 14px 28px #163e3528}
body[data-page=care] .care-section-note{margin-top:22px;font-size:13px;line-height:1.65;color:#617061;max-width:70ch}
body[data-page=care] .care-journey{padding-top:52px;padding-bottom:68px;background:linear-gradient(180deg,#f7f9f3 0%,transparent 100%);border-radius:0}
body[data-page=care] .care-journey-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=care] .care-journey-card{display:flex;flex-direction:column;gap:0;padding:24px 20px 22px;border:1px solid #d5e0cb;border-radius:10px;background:#fff;min-height:100%}
body[data-page=care] .care-journey-card .eyebrow{color:#6f8160;margin-bottom:12px}
body[data-page=care] .care-journey-card h3{font-size:22px;letter-spacing:-.4px;margin:0 0 12px;line-height:1.2}
body[data-page=care] .care-journey-card>p{font-size:14px;line-height:1.65;margin:0 0 18px;flex:1}
body[data-page=care] .care-journey-card .text-link{margin-top:auto;font-size:14px}
body[data-page=care] .care-begin{padding-top:48px;padding-bottom:64px}
body[data-page=care] .care-begin-routes{margin-top:28px}
body[data-page=care] .care-route-points{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:8px}
body[data-page=care] .care-route-points li{position:relative;padding-left:16px;font-size:14px;line-height:1.55;color:#4f5f4c}
body[data-page=care] .care-route-points li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:#163e35}
body[data-page=care] .care-promises{padding-top:52px;padding-bottom:64px}
body[data-page=care] .care-promise-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:30px}
body[data-page=care] .care-promise-grid article{padding:24px 20px;border:1px solid #d5e0cb;border-radius:10px;background:#f3f6ee}
body[data-page=care] .care-promise-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe8d0;margin-bottom:16px}
body[data-page=care] .care-promise-icon svg{width:20px;height:20px}
body[data-page=care] .care-promise-grid h3{font-size:20px;letter-spacing:-.3px;margin:0 0 10px}
body[data-page=care] .care-promise-grid p{font-size:14px;line-height:1.65;margin:0}
body[data-page=care] .care-trust{margin-top:12px}
body[data-page=care] .care-closing{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
body[data-page=care] .care-closing-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
@media(max-width:1100px){
  body[data-page=care] .care-concern-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  body[data-page=care] .care-journey-grid,body[data-page=care] .care-promise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  body[data-page=care] .care-concern-grid,body[data-page=care] .care-journey-grid,body[data-page=care] .care-promise-grid{grid-template-columns:1fr}
  body[data-page=care] .care-concern-card{padding:22px 18px}
  body[data-page=care] .care-concern-card h3{font-size:20px}
  body[data-page=care] .care-concern-card:hover{transform:none}
  body[data-page=care] .care-journey-card h3{font-size:24px}
  body[data-page=care] .care-closing{align-items:stretch}
  body[data-page=care] .care-closing-actions{flex-direction:column;align-items:stretch}
  body[data-page=care] .care-closing-actions .button,body[data-page=care] .care-closing-actions .text-link{justify-content:center}
}

.auth-shell code,.auth-stage-card code{font-size:12px;background:#e7eedf;padding:2px 6px;border-radius:4px}
.auth-error{color:#8a3a2b;background:#f8ebe7;border:1px solid #e5c4bb;padding:12px 14px;border-radius:6px;font-size:14px;line-height:1.5;margin:0 0 16px}
.auth-page .inquiry-shell .button,.auth-stage-card .button{width:100%}
.portal-demo-bar button,.portal-user button{font:inherit;color:inherit;background:none;border:0;text-decoration:underline;cursor:pointer;padding:0;min-height:44px}
@media(max-width:760px){.auth-page.contact-layout{gap:24px}.auth-shell .field-row{grid-template-columns:1fr}}

body[data-page^="client/"],
body[data-page="psychologist/login"]{background:#f7f8f3;min-height:100dvh}
body[data-page^="client/"]>footer.compact-footer,
body[data-page="psychologist/login"]>footer.compact-footer{display:none}
body[data-page^="client/"]>#main,
body[data-page="psychologist/login"]>#main{min-height:calc(100dvh - 64px);display:flex;flex-direction:column;padding:0;margin:0}
.auth-stage{flex:1;display:grid;grid-template-columns:minmax(320px,.92fr) minmax(380px,1.08fr);width:100%;min-height:calc(100dvh - 64px)}
.auth-stage-brand{display:flex;flex-direction:column;justify-content:space-between;gap:36px;padding:56px clamp(36px,5vw,72px) 48px;color:#f4f7ef;background:
  radial-gradient(ellipse 90% 70% at 0% 0%,#2a5648 0%,transparent 55%),
  radial-gradient(ellipse 70% 55% at 100% 100%,#0f2c24 0%,transparent 60%),
  linear-gradient(165deg,#163e35 0%,#124037 45%,#0f2f28 100%);
  border-right:0;position:relative;overflow:hidden}
.auth-stage-brand::after{content:"";position:absolute;inset:auto -20% -30% 20%;height:70%;border-radius:50%;background:radial-gradient(circle,#e0efb018 0%,transparent 68%);pointer-events:none}
.auth-stage-top,.auth-stage-foot{position:relative;z-index:1;width:100%}
.auth-stage-brand .eyebrow{display:inline-block;margin-bottom:0;color:#c5d6b8;letter-spacing:1.4px}
.auth-stage-brand h1{font-size:clamp(42px,4.8vw,64px);letter-spacing:-2.2px;line-height:1.04;margin:18px 0 18px;max-width:11ch;color:#f7faf2}
.auth-stage-brand h1 em{color:#d7e6a8}
.auth-stage-brand>p,.auth-stage-top>p{font-size:16px;line-height:1.7;max-width:38ch;color:#d5e0d4;margin:0}
.auth-copy-points{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:12px;max-width:42ch}
.auth-copy-points li{position:relative;padding-left:18px;font-size:14px;line-height:1.6;color:#c9d6c8}
.auth-copy-points li::before{content:"";position:absolute;left:0;top:.55em;width:7px;height:7px;border-radius:50%;background:#d7e6a8}
.auth-stage-note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid #2f574b;border-radius:10px;background:#0f2f28cc;max-width:42ch}
.auth-stage-note svg{width:18px;height:18px;margin-top:2px;flex-shrink:0;color:#d7e6a8}
.auth-stage-note p{font-size:13px;line-height:1.55;color:#c5d6b8;margin:0}
.auth-stage-back{margin-top:18px;width:fit-content;color:#f4f7ef}
.auth-stage-back:hover{color:#d7e6a8}
.auth-stage-panel{display:flex;align-items:stretch;justify-content:stretch;padding:0;min-height:100%;background:#fbfcf8}
.auth-stage-card{width:100%;max-width:none;margin:0;flex:1;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;gap:32px;padding:56px clamp(36px,5vw,72px) 48px;border:0;border-radius:0;background:transparent;box-shadow:none}
.auth-stage-form-head{width:100%;flex:0 0 auto}
.auth-stage-form-body{width:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-start;padding-top:4px}
.auth-stage-card form,
.auth-stage-card .auth-panel{width:100%;display:flex;flex-direction:column}
.auth-stage-card form[hidden],
.auth-stage-card .auth-panel[hidden],
.auth-stage-card .auth-step[hidden]{display:none!important}
.auth-stage-card .button{width:100%;min-height:54px;justify-content:center}
.auth-stage-card .field{width:100%;max-width:none;margin:0 0 18px}
.auth-stage-card .field label{display:block;margin-bottom:8px;font-weight:600;color:#173e35}
.auth-stage-card .field input,
.auth-stage-card .field select,
.auth-stage-card .field textarea{display:block;width:100%!important;max-width:none!important;box-sizing:border-box;min-height:52px;padding:14px 16px;border:1px solid #cfd9c6;border-radius:8px;background:#fff;color:#173e35}
.auth-stage-card .field input:focus,
.auth-stage-card .field select:focus,
.auth-stage-card .field textarea:focus{outline:2px solid #163e35;outline-offset:1px;border-color:#163e35}
.auth-stage-card .auth-lead,
.auth-stage-card .auth-mode-switch,
.auth-stage-card .auth-preview-banner,
.auth-stage-card .form-preview-note,
.auth-stage-card .auth-forgot-row,
.auth-stage-card .auth-inline-actions,
.auth-stage-card .auth-error,
.auth-stage-card .auth-sent-note{width:100%;max-width:none}
.auth-role-badge{display:inline-flex;align-items:center;gap:8px;width:auto!important;max-width:100%;margin:0 0 8px;padding:8px 12px;border:1px solid #d5e0cb;border-radius:999px;background:#e8efdf;color:#3f4f3c;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.auth-role-badge svg{width:14px;height:14px;stroke-width:1.5}
.auth-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;margin:0;border:1px solid #d5e0cb;background:#e8efdf;border-radius:10px}
.auth-mode-btn{appearance:none;border:0;background:transparent;color:#4f5f4c;font:inherit;font-size:14px;font-weight:600;letter-spacing:.01em;min-height:48px;padding:10px 12px;border-radius:7px;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.auth-mode-btn:hover{color:#163e35}
.auth-mode-btn.is-active{background:#fff;color:#163e35;box-shadow:0 1px 0 #163e3514,0 8px 18px #163e350f}
.auth-stage-card .eyebrow{display:inline-block;margin-bottom:8px;color:#6f8160}
.auth-stage-card h2{margin:0 0 10px;font-size:clamp(30px,3.2vw,38px);letter-spacing:-.9px;max-width:14ch;color:#173e35}
.auth-stage-card h2.auth-title-single{max-width:none;white-space:nowrap}
.auth-lead{margin:0 0 22px;font-size:15px;line-height:1.65;color:#5a6a57;max-width:none}
.auth-sent-note{margin:0 0 16px;font-size:14px;line-height:1.55;color:#3f4f3c}
.auth-preview-banner{display:grid;gap:6px;margin:0 0 16px;padding:14px 14px;border:1px dashed #b9c9aa;border-radius:8px;background:#eef3e7;font-size:13px;line-height:1.55;color:#3f4f3c}
.auth-preview-banner strong{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#6f8160}
.auth-preview-banner code{font-size:18px;letter-spacing:.18em;font-weight:700;background:#fff;padding:6px 10px;border-radius:6px;width:fit-content}
.auth-preview-banner a{color:#163e35;font-weight:600;word-break:break-all}
.auth-inline-actions{display:flex;flex-wrap:wrap;gap:14px 18px;margin-top:16px}
.auth-text-btn{appearance:none;border:0;background:none;padding:0;min-height:44px;font:inherit;cursor:pointer;color:inherit}
.auth-forgot-row{margin:16px 0 0;text-align:left}
.auth-forgot-row .text-link{justify-content:flex-start}
.auth-stage-card .form-preview-note{margin-top:14px;color:#617061}
@media(max-width:900px){
  body[data-page^="client/"]>#main,
  body[data-page="psychologist/login"]>#main{min-height:calc(100dvh - 56px)}
  .auth-stage{grid-template-columns:1fr;min-height:auto}
  .auth-stage-brand{padding:32px 22px 28px;justify-content:flex-start;gap:24px;min-height:auto}
  .auth-stage-brand h1{font-size:clamp(36px,9vw,48px);letter-spacing:-1.6px;margin:12px 0 14px}
  .auth-stage-panel{padding:0;align-items:stretch}
  .auth-stage-card{padding:32px 22px 40px;justify-content:flex-start;gap:20px}
}
@media(max-width:760px){
  .auth-stage-card h2{font-size:28px}
  .auth-stage-card h2.auth-title-single{white-space:normal}
  .auth-mode-btn{font-size:13px}
  .auth-inline-actions{flex-direction:column;gap:4px}
  .auth-stage-back{margin-top:16px}
}

/* === dashboard viewport lock (patient board) === */
body[data-page=dashboard]{height:100dvh;overflow:hidden;background:#f3f5ee}
body[data-page=dashboard] #portal-root{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
body[data-page=dashboard] .portal-demo-bar{flex:0 0 auto;padding:6px 16px;font-size:9px;letter-spacing:.55px;min-height:28px}
body[data-page=dashboard] .portal-demo-bar a,
body[data-page=dashboard] .portal-demo-bar button{font-size:11px}
body[data-page=dashboard] .portal-shell{flex:1;min-height:0;height:auto;min-height:0;display:grid;grid-template-columns:168px minmax(0,1fr);overflow:hidden}
body[data-page=dashboard] .portal-sidebar{height:auto;max-height:none;position:relative;padding:14px 10px;overflow:hidden;display:flex;flex-direction:column}
body[data-page=dashboard] .portal-wordmark{font-size:18px;letter-spacing:-.8px;margin:0 0 2px 6px;line-height:1.1}
body[data-page=dashboard] .portal-role{font-size:9px;letter-spacing:.4px;text-transform:uppercase;color:#6f8061;margin:0 0 14px 6px;line-height:1.3}
body[data-page=dashboard] .portal-sidebar nav{display:grid;gap:2px;flex:1;min-height:0;overflow:hidden;align-content:start}
body[data-page=dashboard] .portal-sidebar nav button{gap:8px;padding:7px 8px;font-size:11.5px;min-height:0;line-height:1.25;border-radius:4px;color:#2a3d32}
body[data-page=dashboard] .portal-sidebar nav button[aria-current=page]{background:#e5eed9;color:#163e35;font-weight:500}
body[data-page=dashboard] .portal-sidebar nav svg{width:14px;height:14px;flex:0 0 auto}
body[data-page=dashboard] .portal-sidebar nav span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page=dashboard] .portal-mobile-nav{display:none}
body[data-page=dashboard] .portal-user{margin-top:auto;padding:10px 6px 0;gap:4px;border-top:1px solid #dce4d3;font-size:11px}
body[data-page=dashboard] .portal-user strong{font-weight:500;font-size:11px;display:block;line-height:1.3}
body[data-page=dashboard] .portal-user a,
body[data-page=dashboard] .portal-user button{font-size:10px;text-decoration:underline;background:none;border:0;padding:0;color:inherit;cursor:pointer;text-align:left}
body[data-page=dashboard] .portal-main{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#f7f8f2}
body[data-page=dashboard] .portal-topbar{flex:0 0 auto;padding:8px 18px;font-size:12px;gap:12px;min-height:42px}
body[data-page=dashboard] .portal-top-left{display:flex;flex-direction:column;gap:1px;min-width:0}
body[data-page=dashboard] .portal-top-title{font-size:13px;font-weight:500;letter-spacing:-.2px;color:#173e35;line-height:1.2}
body[data-page=dashboard] .portal-top-sub{font-size:10px;color:#6a7a5e;line-height:1.2}
body[data-page=dashboard] .portal-top-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
body[data-page=dashboard] .portal-top-btn,
body[data-page=dashboard] .portal-top-right>a,
body[data-page=dashboard] .portal-top-right>button{font-size:11px;padding:4px 8px;min-height:0;background:transparent;border:1px solid #d4ddc6;border-radius:4px;color:#173e35;cursor:pointer;text-decoration:none}
body[data-page=dashboard] .portal-badge{padding:2px 8px;font-size:10px;border-radius:3px;line-height:1.4}
body[data-page=dashboard] .portal-toast{margin:8px 18px 0;padding:8px 12px;font-size:12px;flex:0 0 auto}
body[data-page=dashboard] .portal-content{flex:1;min-height:0;overflow:hidden;padding:14px 18px 16px;max-width:none;margin:0;display:flex;flex-direction:column}
body[data-page=dashboard] .portal-page-heading{margin-bottom:10px;flex:0 0 auto}
body[data-page=dashboard] .portal-page-heading .eyebrow{font-size:9px!important;letter-spacing:.8px}
body[data-page=dashboard] .portal-page-heading h2{font-size:22px;letter-spacing:-.7px;line-height:1.15;margin:4px 0 4px}
body[data-page=dashboard] .portal-page-heading>p{font-size:12px;line-height:1.45;max-width:62ch;margin:0;color:#5d6e54}
body[data-page=dashboard] .portal-highlight{padding:14px 16px;margin-bottom:12px;border-radius:6px;gap:14px}
body[data-page=dashboard] .portal-highlight h3{font-size:18px;margin:6px 0;letter-spacing:-.3px}
body[data-page=dashboard] .portal-highlight p{font-size:12px;line-height:1.45}
body[data-page=dashboard] .portal-grid{grid-template-columns:1fr 1fr;gap:10px;flex:1;min-height:0}
body[data-page=dashboard] .portal-card{padding:12px 14px;margin-bottom:10px;border-radius:6px}
body[data-page=dashboard] .portal-grid>.portal-card{margin-bottom:0;display:flex;flex-direction:column;min-height:0}
body[data-page=dashboard] .portal-card>.eyebrow{font-size:9px!important}
body[data-page=dashboard] .portal-card h3{font-size:15px;margin:6px 0 8px;letter-spacing:-.3px}
body[data-page=dashboard] .portal-card p{font-size:12px;line-height:1.45;margin:4px 0}
body[data-page=dashboard] .portal-actions{gap:8px;margin-top:8px}
body[data-page=dashboard] .portal-button,
body[data-page=dashboard] .portal-link{min-height:0;padding:6px 10px;font-size:11.5px;line-height:1.3;border-radius:4px}
body[data-page=dashboard] .portal-link{padding-left:0;padding-right:0}
body[data-page=dashboard] .portal-row{padding:8px 0;gap:12px}
body[data-page=dashboard] .portal-row strong{font-size:13px}
body[data-page=dashboard] .portal-row p{font-size:11px;margin-top:3px}
body[data-page=dashboard] .portal-timeline{font-size:11px;line-height:1.45;padding-left:14px;margin:0}
body[data-page=dashboard] .portal-timeline li{padding-bottom:4px}
body[data-page=dashboard] .preview-controls{margin-top:8px;font-size:11px;border:1px solid #d4ddc6;border-radius:4px;padding:6px 10px;background:#f0f4e8}
body[data-page=dashboard] .preview-controls summary{cursor:pointer;font-weight:500}
body[data-page=dashboard] .preview-controls p{margin:6px 0;font-size:11px;line-height:1.4}

body[data-page=dashboard] .dash-board{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px;overflow:hidden}
body[data-page=dashboard] .dash-board-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1.1fr);gap:14px;align-items:stretch}
body[data-page=dashboard] .dash-board-head .eyebrow{font-size:9px!important;letter-spacing:.85px;color:#6e805d;margin:0}
body[data-page=dashboard] .dash-board-head h2{font-size:26px;letter-spacing:-1px;line-height:1.1;margin:4px 0 0;color:#173e35;font-weight:500}
body[data-page=dashboard] .dash-board-status{background:#173e35;color:#f4f7ee;border-radius:8px;padding:12px 14px;display:flex;flex-direction:column;gap:4px;min-height:0}
body[data-page=dashboard] .dash-pill{align-self:flex-start;font-size:9px;letter-spacing:.7px;text-transform:uppercase;padding:3px 7px;border-radius:3px;background:#2a5347;color:#d7e6c4}
body[data-page=dashboard] .dash-board-status strong{font-size:15px;font-weight:500;letter-spacing:-.2px;line-height:1.25}
body[data-page=dashboard] .dash-board-status>p{font-size:11.5px;line-height:1.4;color:#c9d6bb;margin:0}
body[data-page=dashboard] .dash-board-status .portal-actions{margin-top:6px}
body[data-page=dashboard] .dash-board-status .portal-button{background:#e0edbd;color:#173e35}
body[data-page=dashboard] .dash-board-status .portal-link{color:#eef4e2}
body[data-page=dashboard] .dash-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
body[data-page=dashboard] .dash-strip>div{background:#fffef9;border:1px solid #dce4d3;border-radius:5px;padding:7px 9px;min-width:0}
body[data-page=dashboard] .dash-strip span{display:block;font-size:9px;letter-spacing:.45px;text-transform:uppercase;color:#6e805d;margin-bottom:2px}
body[data-page=dashboard] .dash-strip strong{display:block;font-size:11.5px;font-weight:500;color:#173e35;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page=dashboard] .dash-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:8px;min-height:0;overflow:hidden}
body[data-page=dashboard] .dash-feature{background:#fffef9;border:1px solid #dce4d3;border-radius:6px;padding:10px 11px;display:flex;flex-direction:column;gap:6px;min-height:0;overflow:hidden;transition:border-color .15s,transform .15s}
body[data-page=dashboard] .dash-feature:hover{border-color:#a9be93;transform:translateY(-1px)}
body[data-page=dashboard] .dash-feature-top{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
body[data-page=dashboard] .dash-feature-k{font-size:12.5px;font-weight:500;color:#173e35;letter-spacing:-.15px}
body[data-page=dashboard] .dash-feature-meta{font-size:9.5px;color:#6e805d;white-space:nowrap}
body[data-page=dashboard] .dash-feature>p{font-size:11.5px;line-height:1.4;color:#4d5e46;margin:0;flex:1;overflow:hidden}
body[data-page=dashboard] .dash-feature-act{margin-top:auto}
body[data-page=dashboard] .dash-feature-act .portal-link,
body[data-page=dashboard] .dash-feature-act .portal-button{min-height:0;padding:0;font-size:11px}
body[data-page=dashboard] .dash-feature-wide{grid-column:4;grid-row:1/span 2}
body[data-page=dashboard] .dash-timeline{flex:1;min-height:0;overflow:hidden}
body[data-page=dashboard] .dash-timeline .portal-timeline{max-height:100%;overflow:hidden}
body[data-page=dashboard] .dash-feature-wide .preview-controls{margin-top:auto}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-content .portal-card p,
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-content .portal-row p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

@media(max-width:1200px){
body[data-page=dashboard] .portal-shell{grid-template-columns:148px minmax(0,1fr)}
body[data-page=dashboard] .dash-board-head{grid-template-columns:1fr}
body[data-page=dashboard] .dash-features{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
body[data-page=dashboard] .dash-feature-wide{grid-column:1/-1;grid-row:auto}
body[data-page=dashboard] .dash-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* PWA tab bar hidden on desktop */
body[data-page=dashboard] .portal-tabbar{display:none}

@media(max-width:1100px){
body[data-page=dashboard] .portal-shell{grid-template-columns:132px minmax(0,1fr)}
body[data-page=dashboard] .cx-layout{grid-template-columns:minmax(0,1.2fr) minmax(220px,.9fr)}
body[data-page=dashboard] .cx-consult .cx-split{grid-template-columns:minmax(200px,.9fr) minmax(0,1.3fr)}
}

@media(max-width:900px){
body[data-page=dashboard]{
  height:100dvh;
  height:100svh;
  overflow:hidden;
  padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
}
body[data-page=dashboard] #portal-root{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
body[data-page=dashboard] .portal-demo-bar{
  padding:6px 12px;
  padding-left:max(12px,env(safe-area-inset-left));
  padding-right:max(12px,env(safe-area-inset-right));
  font-size:10px;
}
body[data-page=dashboard] .portal-shell{
  grid-template-columns:1fr;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
  min-height:0;
  flex:1;
}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-sidebar{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  border-right:0;
  border-bottom:1px solid #d0dcc4;
  height:auto;
  max-height:none;
  overflow:visible;
  background:rgba(251,252,247,.96);
}
body[data-page=dashboard] .portal-shell:not([data-kind=patient]) .portal-sidebar{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto;
  padding:8px 10px;
  border-right:0;
  border-bottom:1px solid #dbe3d1;
  height:auto;
  max-height:none;
  overflow:visible;
}
body[data-page=dashboard] .portal-wordmark{margin:0;font-size:20px}
body[data-page=dashboard] .portal-role{margin:0;font-size:9px}
body[data-page=dashboard] .portal-sidebar nav{display:none}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-mobile-nav{display:none}
body[data-page=dashboard] .portal-shell:not([data-kind=patient]) .portal-mobile-nav{
  display:flex;align-items:center;gap:8px;grid-column:1/-1;font-size:11px;margin-top:6px
}
body[data-page=dashboard] .portal-mobile-nav select{
  flex:1;font:inherit;font-size:14px;min-height:44px;padding:8px 10px;border:1px solid #d4ddc6;border-radius:0;background:#fffef9
}
body[data-page=dashboard] .portal-user{display:none}
body[data-page=dashboard] .portal-main{min-height:0;overflow:hidden;display:flex;flex-direction:column}
body[data-page=dashboard] .portal-topbar{
  padding:8px 12px;
  gap:10px;
  flex-wrap:wrap;
}
body[data-page=dashboard] .portal-top-right{flex-wrap:wrap;justify-content:flex-end}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-top-right>a,
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-top-right>button[data-auth-logout]{display:none}
body[data-page=dashboard] .portal-content{
  flex:1;
  min-height:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:10px 12px 12px;
  padding-bottom:calc(12px + env(safe-area-inset-bottom));
}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-content{
  padding-bottom:calc(12px + 64px + env(safe-area-inset-bottom));
}
body[data-page=dashboard] .portal-tabbar{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  position:sticky;
  bottom:0;
  z-index:30;
  background:rgba(251,252,247,.97);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-top:1px solid #d0dcc4;
  padding:4px 4px calc(4px + env(safe-area-inset-bottom));
  flex:0 0 auto;
}
body[data-page=dashboard] .portal-tab{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  min-height:52px;
  min-width:0;
  padding:6px 2px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#526656;
  font:inherit;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
body[data-page=dashboard] .portal-tab svg{width:20px;height:20px;stroke-width:1.6}
body[data-page=dashboard] .portal-tab span{
  font-size:10px;
  font-weight:600;
  letter-spacing:.02em;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}
body[data-page=dashboard] .portal-tab[aria-current=page]{
  color:#163e35;
  background:#e5eed9;
}
body[data-page=dashboard] .portal-tab:focus-visible{
  outline:2px solid #163e35;
  outline-offset:-2px;
}

/* cx console mobile/tablet */
body[data-page=dashboard] .cx-console{gap:8px;overflow:visible;height:auto;min-height:100%}
body[data-page=dashboard] .cx-toolbar{align-items:flex-start;flex-direction:column;gap:8px;min-height:0}
body[data-page=dashboard] .cx-toolbar h2{font-size:18px}
body[data-page=dashboard] .cx-toolbar-actions{width:100%;justify-content:stretch}
body[data-page=dashboard] .cx-toolbar-actions .portal-button{
  flex:1;
  min-height:44px;
  padding:10px 14px;
  font-size:13px;
}
body[data-page=dashboard] .cx-toolbar-actions .portal-link{min-height:44px;padding:10px 4px;font-size:13px}
body[data-page=dashboard] .cx-layout{grid-template-columns:1fr;gap:8px;overflow:visible}
body[data-page=dashboard] .cx-pane-main{overflow:visible}
body[data-page=dashboard] .cx-pane-side{max-height:none;overflow:visible}
body[data-page=dashboard] .cx-mods{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:8px;
  overflow:visible;
}
body[data-page=dashboard] .cx-mod{
  min-height:48px;
  padding:10px;
  border:1px solid var(--cx-line);
  background:#fffef9;
}
body[data-page=dashboard] .cx-mod em{white-space:normal}
body[data-page=dashboard] .cx-side-foot{display:none}
body[data-page=dashboard] .cx-appt{padding:14px 14px}
body[data-page=dashboard] .cx-appt-when{font-size:clamp(22px,7vw,28px)}
body[data-page=dashboard] .cx-appt .portal-button,
body[data-page=dashboard] .cx-actions .portal-button{min-height:44px;padding:10px 14px;font-size:13px}
body[data-page=dashboard] .cx-appt .portal-link,
body[data-page=dashboard] .cx-actions .portal-link{min-height:44px;padding:10px 0;font-size:13px}
body[data-page=dashboard] .cx-quick{grid-template-columns:1fr;gap:8px}
body[data-page=dashboard] .cx-consult .cx-split{
  grid-template-columns:1fr;
  grid-template-rows:auto minmax(0,1fr);
  gap:8px;
  height:auto;
  overflow:visible;
}
body[data-page=dashboard] .cx-pane-list{max-height:none;overflow:visible}
body[data-page=dashboard] .cx-list-block .cx-steps{display:flex;flex-wrap:wrap;gap:4px;padding:8px}
body[data-page=dashboard] .cx-steps li{
  flex:1 1 calc(50% - 4px);
  min-width:120px;
  padding:8px 10px;
}
body[data-page=dashboard] .cx-book-grid{grid-template-columns:1fr}
body[data-page=dashboard] .cx-book .portal-field input,
body[data-page=dashboard] .cx-book .portal-field select{
  min-height:44px;
  font-size:16px; /* prevent iOS zoom */
  padding:10px 12px;
}
body[data-page=dashboard] .cx-book .portal-button{min-height:48px;width:100%;font-size:14px}
body[data-page=dashboard] .cx-facts{grid-template-columns:1fr 1fr}
body[data-page=dashboard] .dash-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-page=dashboard] .dash-features{grid-template-columns:1fr 1fr;overflow:auto}
body[data-page=dashboard] .portal-dialog{
  width:calc(100% - 24px);
  max-width:520px;
  max-height:min(88dvh,880px);
  margin:auto;
  padding:24px 18px calc(18px + env(safe-area-inset-bottom));
}
}

@media(max-width:760px){
body[data-page=dashboard] .dash-features{grid-template-columns:1fr}
body[data-page=dashboard] .dash-board-head h2{font-size:22px}
body[data-page=dashboard] .portal-top-title{font-size:14px}
body[data-page=dashboard] .cx-facts{grid-template-columns:1fr}
body[data-page=dashboard] .cx-mods{grid-template-columns:1fr}
body[data-page=dashboard] .cx-list-block:has(.portal-timeline){display:none}
body[data-page=dashboard] .preview-controls{display:none}
}

/* === clinician dashboard board === */
body[data-page=dashboard] .dash-board-lead{font-size:12px;line-height:1.4;color:#5d6e54;margin:6px 0 0;max-width:42ch}
body[data-page=dashboard] .dash-features-clinician{grid-template-columns:1.35fr repeat(3,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:8px}
body[data-page=dashboard] .dash-feature-queue{grid-column:1;grid-row:1/span 2;background:#fffef9}
body[data-page=dashboard] .clin-queue{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;justify-content:space-between}
body[data-page=dashboard] .clin-queue-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid #e4ebd9}
body[data-page=dashboard] .clin-queue-row:first-child{border-top:0;padding-top:0}
body[data-page=dashboard] .clin-queue-row>span{font-size:9px;letter-spacing:.4px;text-transform:uppercase;color:#6e805d;line-height:1.3}
body[data-page=dashboard] .clin-queue-row strong{font-size:12px;font-weight:500;color:#173e35;display:block;line-height:1.25}
body[data-page=dashboard] .clin-queue-row p{font-size:11px;line-height:1.35;color:#4d5e46;margin:2px 0 0}
body[data-page=dashboard] .clin-queue-row .portal-link{white-space:nowrap}
body[data-page=dashboard] .portal-shell[data-kind=clinician] .work-queue{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:hidden;flex:1}
body[data-page=dashboard] .portal-shell[data-kind=clinician] .queue-header{padding:0 0 8px;display:flex;justify-content:space-between;align-items:end;gap:12px}
body[data-page=dashboard] .portal-shell[data-kind=clinician] .queue-header h3{font-size:16px;margin:0;letter-spacing:-.3px}
body[data-page=dashboard] .portal-shell[data-kind=clinician] .queue-header p{font-size:11px;margin:4px 0 0;color:#5d6e54}
body[data-page=dashboard] .portal-shell[data-kind=clinician] .queue-item{display:grid;grid-template-columns:88px minmax(0,1.2fr) minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;background:#fffef9;border:1px solid #dce4d3;border-radius:6px}
body[data-page=dashboard] .portal-shell[data-kind=clinician] .queue-priority{font-size:9px;letter-spacing:.45px;text-transform:uppercase;color:#6e805d}
body[data-page=dashboard] .portal-shell[data-kind=clinician] .queue-item strong{font-size:12.5px;font-weight:500}
body[data-page=dashboard] .portal-shell[data-kind=clinician] .queue-item p{font-size:11px;margin:2px 0 0;line-height:1.35}
@media(max-width:1200px){
body[data-page=dashboard] .dash-features-clinician{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto}
body[data-page=dashboard] .dash-feature-queue{grid-column:1/-1;grid-row:auto}
}
@media(max-width:900px){
body[data-page=dashboard] .dash-features-clinician{grid-template-columns:1fr 1fr}
body[data-page=dashboard] .clin-queue-row{grid-template-columns:1fr;gap:4px}
}

/* === patient care atelier === */
body[data-page=dashboard] .portal-shell[data-kind=patient]{background:
  radial-gradient(1200px 520px at 78% -10%,rgba(224,239,176,.35),transparent 60%),
  linear-gradient(165deg,#e9f0e3 0%,#f5f7f1 45%,#eef3ea 100%)}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-main{background:transparent}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-content{padding:10px 14px 12px}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-sidebar{background:rgba(251,252,247,.9);backdrop-filter:blur(10px);border-right-color:#cfdcc6}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-topbar{background:rgba(255,254,249,.78);backdrop-filter:blur(10px);border-bottom-color:#d0dcc4}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-top-right>a:last-child{display:none}

body[data-page=dashboard] .care-atelier{position:relative;height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;overflow:hidden;isolation:isolate}
body[data-page=dashboard] .care-atelier-glow{position:absolute;inset:18% -12% -28% 42%;background:radial-gradient(ellipse at center,rgba(224,239,176,.4),transparent 70%);pointer-events:none;z-index:0}
body[data-page=dashboard] .care-atelier>*{position:relative;z-index:1}

body[data-page=dashboard] .care-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.62fr);gap:14px;align-items:center;padding:2px 2px 0}
body[data-page=dashboard] .care-kicker{margin:0;font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:#6a7d5f}
body[data-page=dashboard] .care-hero h2{margin:2px 0 0;font-family:var(--serif);font-size:clamp(26px,2.8vw,34px);font-weight:400;letter-spacing:-.035em;line-height:1.05;color:#173e35}
body[data-page=dashboard] .care-hero h2 em{font-style:italic;color:#2f5343}
body[data-page=dashboard] .care-hero-aside{justify-self:end;width:100%;max-width:260px;padding:10px 12px;border-radius:0 10px 10px 0;border-left:2px solid #9fb883;background:rgba(237,243,233,.75)}
body[data-page=dashboard] .care-hero-aside span{display:block;font-family:var(--serif);font-size:14px;letter-spacing:-.02em;color:#173e35;line-height:1.2}
body[data-page=dashboard] .care-hero-aside p{margin:4px 0 0;font-size:11px;line-height:1.35;color:#5d6e54}

body[data-page=dashboard] .care-layout{min-height:0;display:grid;grid-template-columns:158px minmax(0,1.4fr) minmax(250px,.92fr);gap:10px;overflow:hidden}

body[data-page=dashboard] .care-rail{display:flex;flex-direction:column;gap:2px;min-height:0;padding:8px;background:rgba(255,254,249,.78);border:1px solid #cfdcc6;border-radius:16px;overflow:hidden;box-shadow:0 1px 0 rgba(255,255,255,.7) inset}
body[data-page=dashboard] .care-rail-label{margin:0 8px 6px;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#7a8c6e}
body[data-page=dashboard] .care-rail-item{display:grid;grid-template-columns:26px minmax(0,1fr);gap:6px;align-items:center;width:100%;text-align:left;padding:8px;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer;text-decoration:none;font:inherit;flex:1;min-height:0}
body[data-page=dashboard] .care-rail-item:hover,
body[data-page=dashboard] .care-rail-item:focus-visible{background:#e6eedc;outline:none}
body[data-page=dashboard] .care-rail-item.is-focus{background:#173e35;color:#f4f7ee;box-shadow:0 8px 18px rgba(23,62,53,.18)}
body[data-page=dashboard] .care-rail-item.is-focus em{color:#c9d9b4}
body[data-page=dashboard] .care-rail-ix{font-size:9px;letter-spacing:.08em;color:#7a8c6e;font-variant-numeric:tabular-nums}
body[data-page=dashboard] .care-rail-item.is-focus .care-rail-ix{color:#b7c9a0}
body[data-page=dashboard] .care-rail-copy{min-width:0;display:grid;gap:1px}
body[data-page=dashboard] .care-rail-copy strong{font-size:11.5px;font-weight:500;letter-spacing:-.01em;line-height:1.15}
body[data-page=dashboard] .care-rail-copy em{font-style:normal;font-size:9.5px;color:#6a7d5f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

body[data-page=dashboard] .care-stage{min-height:0;display:flex;flex-direction:column;gap:8px;padding:18px 20px;border-radius:18px;background:
  radial-gradient(480px 220px at 100% 0%,rgba(224,239,176,.28),transparent 55%),
  linear-gradient(150deg,#14362e 0%,#1d4a3d 48%,#245546 100%);
  color:#f3f7ec;overflow:hidden;box-shadow:0 22px 48px rgba(20,54,46,.22);animation:care-stage-in .55s ease both}
@keyframes care-stage-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
body[data-page=dashboard] .care-stage-mark{display:flex;align-items:center;justify-content:space-between;gap:10px}
body[data-page=dashboard] .care-stage-mark span{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:rgba(224,239,176,.16);border:1px solid rgba(224,239,176,.32);font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:#e7f0d4}
body[data-page=dashboard] .care-stage-mark small{font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:#9fb392}
body[data-page=dashboard] .care-stage-kicker{margin:2px 0 0;font-size:12px;color:#c5d6b0;letter-spacing:-.01em}
body[data-page=dashboard] .care-stage-when{margin:0;font-family:var(--serif);font-size:clamp(28px,3.1vw,40px);font-weight:400;letter-spacing:-.04em;line-height:.98;color:#f7faef}
body[data-page=dashboard] .care-stage-sub{margin:0;font-size:12.5px;color:#d5e3c4}
body[data-page=dashboard] .care-stage-copy{margin:0;max-width:46ch;font-size:12.5px;line-height:1.45;color:#b7c9a8}
body[data-page=dashboard] .care-stage-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
body[data-page=dashboard] .care-stage .portal-button{background:#e0efb0;color:#173e35;border:0;box-shadow:none;font-weight:500}
body[data-page=dashboard] .care-stage .portal-button:hover{background:#edf5c8}
body[data-page=dashboard] .care-stage .portal-link{color:#eef4e2;text-underline-offset:3px}
body[data-page=dashboard] .care-stage-meta{margin-top:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-top:12px;border-top:1px solid rgba(220,228,211,.18)}
body[data-page=dashboard] .care-stage-meta span{display:block;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#9fb392;margin-bottom:3px}
body[data-page=dashboard] .care-stage-meta strong{font-size:13px;font-weight:500;color:#f4f7ee}

body[data-page=dashboard] .care-desk{min-height:0;display:flex;flex-direction:column;overflow:hidden;border-radius:16px;background:rgba(255,254,249,.88);border:1px solid #cfdcc6;box-shadow:0 1px 0 rgba(255,255,255,.7) inset}
body[data-page=dashboard] .care-desk-block{padding:11px 13px;display:flex;flex-direction:column;gap:5px;border-bottom:1px solid #e2ead8;min-height:0}
body[data-page=dashboard] .care-desk-block:last-child{border-bottom:0}
body[data-page=dashboard] .care-desk-block>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
body[data-page=dashboard] .care-desk-block h4{margin:0;font-size:12px;font-weight:500;letter-spacing:-.01em;color:#173e35}
body[data-page=dashboard] .care-desk-block>p{margin:0;font-size:11.5px;line-height:1.4;color:#526656}
body[data-page=dashboard] .care-text-btn{border:0;background:none;padding:0;font:inherit;font-size:11px;color:#3f5c45;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body[data-page=dashboard] .care-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
body[data-page=dashboard] .care-list li{display:grid;gap:1px}
body[data-page=dashboard] .care-list strong{font-size:12px;font-weight:500;color:#173e35;line-height:1.25}
body[data-page=dashboard] .care-list span{font-size:10.5px;color:#6a7d5f}
body[data-page=dashboard] .care-desk-split{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e2ead8}
body[data-page=dashboard] .care-desk-split>.care-desk-block{border-bottom:0}
body[data-page=dashboard] .care-desk-split>.care-desk-block:first-child{border-right:1px solid #e2ead8}
body[data-page=dashboard] .care-desk-privacy{margin-top:auto;background:linear-gradient(180deg,rgba(237,243,233,.55),rgba(237,243,233,.2))}

body[data-page=dashboard] .care-foot{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;align-items:center;padding:7px 12px;border-radius:12px;background:rgba(255,254,249,.72);border:1px solid #cfdcc6;min-height:0;overflow:hidden}
body[data-page=dashboard] .care-foot-label{display:flex;flex-direction:column;gap:4px}
body[data-page=dashboard] .care-foot-label>span{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:#6a7d5f}
body[data-page=dashboard] .care-foot-timeline{min-width:0;overflow:hidden}
body[data-page=dashboard] .care-foot .portal-timeline{display:flex;flex-wrap:wrap;gap:6px 16px;padding-left:0;list-style:none;margin:0}
body[data-page=dashboard] .care-foot .portal-timeline li{padding:0;font-size:11px;color:#526656;position:relative;padding-left:10px}
body[data-page=dashboard] .care-foot .portal-timeline li::before{content:"";position:absolute;left:0;top:.55em;width:5px;height:5px;border-radius:50%;background:#8aa574}
body[data-page=dashboard] .care-foot .preview-controls{margin:0;padding:3px 7px;font-size:10px}

@media(max-width:1200px){
body[data-page=dashboard] .care-layout{grid-template-columns:140px minmax(0,1fr);grid-template-rows:minmax(0,1.15fr) minmax(0,.85fr)}
body[data-page=dashboard] .care-desk{grid-column:1/-1}
body[data-page=dashboard] .care-hero{grid-template-columns:1fr}
body[data-page=dashboard] .care-hero-aside{justify-self:stretch;max-width:none}
}
@media(max-width:900px){
body[data-page=dashboard] .care-layout{grid-template-columns:1fr;overflow:auto}
body[data-page=dashboard] .care-rail{flex-direction:row;overflow-x:auto;align-items:stretch;border-radius:12px}
body[data-page=dashboard] .care-rail-label{display:none}
body[data-page=dashboard] .care-rail-item{min-width:128px;flex:0 0 auto}
body[data-page=dashboard] .care-stage-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-page=dashboard] .care-foot{grid-template-columns:1fr}
body[data-page=dashboard] .care-stage-when{font-size:28px}
}
@media(prefers-reduced-motion:reduce){
body[data-page=dashboard] .care-stage{animation:none}
}

/* === patient dashboard type === */
body[data-page=dashboard] .portal-shell[data-kind=patient]{
  font-family:var(--font);
  font-feature-settings:"ss01" 0,"kern" 1;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-wordmark{
  font-family:var(--font);
  font-weight:600;
  font-size:17px;
  letter-spacing:-.045em;
  line-height:1;
  border:0;
  background:none;
  padding:0;
  margin:0 0 2px 6px;
  cursor:pointer;
  color:inherit;
  text-align:left;
}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-role{
  font-family:var(--font);
  font-weight:600;
  font-size:9px;
  letter-spacing:.12em;
}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-sidebar nav button{
  font-family:var(--font);
  font-weight:400;
  font-size:12px;
  letter-spacing:-.01em;
}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-sidebar nav button[aria-current=page]{
  font-weight:600;
}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-top-title{
  font-family:var(--font);
  font-weight:600;
  font-size:13px;
  letter-spacing:-.02em;
}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-top-sub{
  font-family:var(--font);
  font-weight:400;
  font-size:11px;
  letter-spacing:0;
}
body[data-page=dashboard] .care-kicker,
body[data-page=dashboard] .care-rail-label,
body[data-page=dashboard] .care-stage-mark small,
body[data-page=dashboard] .care-stage-mark span,
body[data-page=dashboard] .care-stage-meta span,
body[data-page=dashboard] .care-foot-label>span{
  font-family:var(--font);
  font-weight:600;
  letter-spacing:.14em;
}
body[data-page=dashboard] .care-hero h2{
  font-family:var(--font);
  font-weight:600;
  font-size:clamp(28px,3vw,36px);
  letter-spacing:-.04em;
  line-height:1.02;
  font-style:normal;
}
body[data-page=dashboard] .care-hero h2 em{
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  letter-spacing:-.03em;
  color:#2f5343;
}
body[data-page=dashboard] .care-hero-aside span{
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  font-size:15px;
  letter-spacing:-.015em;
}
body[data-page=dashboard] .care-hero-aside p,
body[data-page=dashboard] .care-stage-copy,
body[data-page=dashboard] .care-stage-sub,
body[data-page=dashboard] .care-desk-block>p,
body[data-page=dashboard] .care-list span,
body[data-page=dashboard] .care-rail-copy em{
  font-family:var(--font);
  font-weight:400;
  letter-spacing:-.005em;
}
body[data-page=dashboard] .care-rail-copy strong,
body[data-page=dashboard] .care-desk-block h4,
body[data-page=dashboard] .care-list strong,
body[data-page=dashboard] .care-stage-meta strong,
body[data-page=dashboard] .care-text-btn{
  font-family:var(--font);
  font-weight:600;
  letter-spacing:-.015em;
}
body[data-page=dashboard] .care-stage-kicker{
  font-family:var(--font);
  font-weight:500;
  font-size:12.5px;
  letter-spacing:-.01em;
}
body[data-page=dashboard] .care-stage-when{
  font-family:var(--font);
  font-weight:600;
  font-size:clamp(30px,3.4vw,42px);
  letter-spacing:-.045em;
  line-height:.98;
  font-style:normal;
}
body[data-page=dashboard] .care-stage .portal-button{
  font-family:var(--font);
  font-weight:600;
  letter-spacing:-.01em;
}
body[data-page=dashboard] .care-stage .portal-link,
body[data-page=dashboard] .care-foot .portal-timeline li{
  font-family:var(--font);
  font-weight:400;
}

/* === library grids (case studies / insights) === */
body[data-page=case-studies] .library-hero,
body[data-page=insights] .library-hero{padding:52px 0 30px;max-width:920px}
body[data-page=case-studies] .library-hero-copy h1,
body[data-page=insights] .library-hero-copy h1{font-size:clamp(44px,5vw,72px);letter-spacing:-2.6px;line-height:1.06;margin:16px 0 18px;font-weight:400}
body[data-page=case-studies] .library-hero-copy h1 em,
body[data-page=insights] .library-hero-copy h1 em{color:#748261;font-family:var(--serif);font-style:italic}
body[data-page=case-studies] .library-hero-copy>p,
body[data-page=insights] .library-hero-copy>p{font-size:17px;line-height:1.7;max-width:52ch;margin:0;color:#4f5f4c}
body[data-page=case-studies] .library-section,
body[data-page=insights] .library-section{padding:10px 0 72px}
body[data-page=case-studies] .library-toolbar,
body[data-page=insights] .library-toolbar{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}
body[data-page=case-studies] .library-toolbar h2,
body[data-page=insights] .library-toolbar h2{font-size:22px;letter-spacing:-.4px;margin:0;font-weight:400}
body[data-page=case-studies] .library-filters,
body[data-page=insights] .library-filters{display:flex;flex-wrap:wrap;gap:8px}
body[data-page=case-studies] .library-filters button,
body[data-page=insights] .library-filters button{font:inherit;font-size:12px;padding:8px 12px;border-radius:999px;border:1px solid #d4ddc6;background:#fffef9;color:#173e35;cursor:pointer;min-height:36px}
body[data-page=case-studies] .library-filters button[aria-pressed=true],
body[data-page=insights] .library-filters button[aria-pressed=true]{background:#173e35;border-color:#173e35;color:#f4f7ef}
body[data-page=case-studies] .library-grid,
body[data-page=insights] .library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-page=case-studies] .library-card,
body[data-page=insights] .library-card{display:flex;flex-direction:column;padding:24px 22px 22px;border:1px solid #d5e0cb;border-radius:14px;background:#f7f9f3;min-height:100%;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body[data-page=case-studies] .library-card:hover,
body[data-page=insights] .library-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #163e3512;border-color:#c5d4b8}
body[data-page=case-studies] .library-card[hidden],
body[data-page=insights] .library-card[hidden]{display:none!important}
body[data-page=case-studies] .library-card-featured,
body[data-page=insights] .library-card-featured{background:linear-gradient(160deg,#edf3e6,#f7f9f3 55%,#fffef9);border-color:#c5d4b8}
body[data-page=case-studies] .library-card-top,
body[data-page=insights] .library-card-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}
body[data-page=case-studies] .library-card-icon,
body[data-page=insights] .library-card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe8d0;color:#163e35;flex:0 0 auto}
body[data-page=case-studies] .library-card-icon svg,
body[data-page=insights] .library-card-icon svg{width:18px;height:18px}
body[data-page=case-studies] .library-card .eyebrow,
body[data-page=insights] .library-card .eyebrow{color:#6f8160;margin:0}
body[data-page=case-studies] .library-card h3,
body[data-page=insights] .library-card h3{font-size:22px;letter-spacing:-.45px;line-height:1.2;margin:0 0 10px;color:#173e35;font-weight:400}
body[data-page=case-studies] .library-card>p,
body[data-page=insights] .library-card>p{font-size:14px;line-height:1.65;margin:0 0 16px;color:#4f5f4c;flex:1}
body[data-page=case-studies] .library-meta,
body[data-page=insights] .library-meta{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:4px}
body[data-page=case-studies] .library-meta li,
body[data-page=insights] .library-meta li{font-size:12px;color:#6a7d5f;letter-spacing:-.01em}
body[data-page=case-studies] .library-card .text-link,
body[data-page=insights] .library-card .text-link{margin-top:auto;font-size:14px}
body[data-page=case-studies] .library-cta,
body[data-page=insights] .library-cta{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:24px;padding:36px 0 80px;border-top:1px solid #dce4dc}
body[data-page=case-studies] .library-cta h2,
body[data-page=insights] .library-cta h2{font-size:clamp(28px,3vw,40px);letter-spacing:-1.2px;line-height:1.12;margin:10px 0 0;font-weight:400}
body[data-page=case-studies] .library-cta-actions,
body[data-page=insights] .library-cta-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
@media(max-width:1000px){
  body[data-page=case-studies] .library-grid,
  body[data-page=insights] .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body[data-page=case-studies] .library-hero,
  body[data-page=insights] .library-hero{padding:28px 0 20px}
  body[data-page=case-studies] .library-hero-copy h1,
  body[data-page=insights] .library-hero-copy h1{font-size:clamp(40px,11vw,54px);letter-spacing:-1.8px}
  body[data-page=case-studies] .library-grid,
  body[data-page=insights] .library-grid{grid-template-columns:1fr}
  body[data-page=case-studies] .library-toolbar,
  body[data-page=insights] .library-toolbar{align-items:start}
}

/* === client enterprise console === */
body[data-page=dashboard] .portal-shell[data-kind=patient]{
  --cx-line:#d5e0cb;
  --cx-ink:#173e35;
  --cx-muted:#6a7d5f;
  --cx-panel:#f7f9f3;
  --cx-paper:#fffef9;
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
}
body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-content{padding:10px 12px 12px;overflow:hidden}
body[data-page=dashboard] .cx-console{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;overflow:hidden}
body[data-page=dashboard] .cx-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 2px}
body[data-page=dashboard] .cx-kicker{margin:0;font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--cx-muted)}
body[data-page=dashboard] .cx-toolbar h2{margin:2px 0 0;font-size:20px;font-weight:600;letter-spacing:-.03em;line-height:1.15;color:var(--cx-ink)}
body[data-page=dashboard] .cx-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
body[data-page=dashboard] .cx-toolbar-actions .portal-button{min-height:0;padding:8px 12px;font-size:12px;font-weight:600;border-radius:0}
body[data-page=dashboard] .cx-toolbar-actions .portal-link{min-height:0;padding:8px 0;font-size:12px}

body[data-page=dashboard] .cx-layout{min-height:0;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.85fr);gap:10px;overflow:hidden}
body[data-page=dashboard] .cx-pane{min-width:0;min-height:0;overflow:auto;border:1px solid var(--cx-line);background:var(--cx-paper);border-radius:0}
body[data-page=dashboard] .cx-pane-main{display:grid;grid-template-rows:auto minmax(0,1fr);gap:0;overflow:hidden;background:transparent;border:0}
body[data-page=dashboard] .cx-appt{padding:16px 18px;border:1px solid var(--cx-line);border-radius:0;background:
  linear-gradient(145deg,#14362e 0%,#1d4a3d 55%,#245546 100%);color:#f3f7ec;min-height:0}
body[data-page=dashboard] .cx-appt-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
body[data-page=dashboard] .cx-pill{display:inline-flex;align-items:center;padding:3px 8px;border-radius:0;background:rgba(224,239,176,.16);border:1px solid rgba(224,239,176,.3);font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
body[data-page=dashboard] .cx-muted{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#9fb392}
body[data-page=dashboard] .cx-appt h3{margin:0;font-size:15px;font-weight:500;color:#d7e6c4}
body[data-page=dashboard] .cx-appt-when{margin:6px 0 0;font-size:clamp(24px,2.6vw,32px);font-weight:600;letter-spacing:-.04em;line-height:1.05;color:#f7faef}
body[data-page=dashboard] .cx-appt-sub{margin:4px 0 0;font-size:12px;color:#d5e3c4}
body[data-page=dashboard] .cx-appt-copy{margin:8px 0 0;font-size:12.5px;line-height:1.45;color:#b7c9a8;max-width:52ch}
body[data-page=dashboard] .cx-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
body[data-page=dashboard] .cx-appt .portal-button{background:#e0efb0;color:#173e35;min-height:0;padding:8px 12px;font-size:12px;font-weight:600;border-radius:0}
body[data-page=dashboard] .cx-appt .portal-link{color:#eef4e2;min-height:0;padding:8px 0;font-size:12px}

body[data-page=dashboard] .cx-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-height:0;margin-top:10px}
body[data-page=dashboard] .cx-quick article{padding:12px 14px;border:1px solid var(--cx-line);border-radius:0;background:var(--cx-paper);min-width:0;overflow:hidden}
body[data-page=dashboard] .cx-quick header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
body[data-page=dashboard] .cx-quick h4{margin:0;font-size:12px;font-weight:600;color:var(--cx-ink)}
body[data-page=dashboard] .cx-quick p{margin:0;font-size:12px;line-height:1.45;color:#526656}
body[data-page=dashboard] .cx-text{border:0;background:none;padding:0;font:inherit;font-size:11px;font-weight:600;color:#3f5c45;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body[data-page=dashboard] .cx-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
body[data-page=dashboard] .cx-list li{display:grid;gap:2px;min-width:0}
body[data-page=dashboard] .cx-list strong{font-size:12px;font-weight:500;color:var(--cx-ink);overflow-wrap:anywhere}
body[data-page=dashboard] .cx-list span{font-size:11px;color:var(--cx-muted)}

body[data-page=dashboard] .cx-pane-side{display:flex;flex-direction:column;overflow:hidden}
body[data-page=dashboard] .cx-side-head{padding:12px 14px;border-bottom:1px solid var(--cx-line)}
body[data-page=dashboard] .cx-side-head h4{margin:0;font-size:12px;font-weight:600}
body[data-page=dashboard] .cx-side-head p{margin:3px 0 0;font-size:11px;color:var(--cx-muted)}
body[data-page=dashboard] .cx-mods{display:flex;flex-direction:column;gap:2px;padding:8px;flex:1;min-height:0;overflow:auto}
body[data-page=dashboard] .cx-mod{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 10px;border:0;border-radius:0;background:transparent;font:inherit;cursor:pointer;color:var(--cx-ink)}
body[data-page=dashboard] .cx-mod span{font-size:12.5px;font-weight:500}
body[data-page=dashboard] .cx-mod em{font-style:normal;font-size:11px;color:var(--cx-muted);white-space:nowrap}
body[data-page=dashboard] .cx-mod:hover,
body[data-page=dashboard] .cx-mod:focus-visible{background:#e8efdf;outline:none}
body[data-page=dashboard] .cx-side-foot{padding:10px 14px;border-top:1px solid var(--cx-line);display:flex;flex-direction:column;gap:8px}

/* Consultations master-detail */
body[data-page=dashboard] .cx-consult .cx-split{min-height:0;display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.4fr);gap:10px;overflow:hidden;height:100%}
body[data-page=dashboard] .cx-pane-list{display:flex;flex-direction:column;overflow:hidden}
body[data-page=dashboard] .cx-list-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid var(--cx-line);font-size:12px}
body[data-page=dashboard] .cx-list-head strong{font-weight:600}
body[data-page=dashboard] .cx-list-head span{color:var(--cx-muted)}
body[data-page=dashboard] .cx-steps{list-style:none;margin:0;padding:8px;display:grid;gap:4px;flex:0 0 auto}
body[data-page=dashboard] .cx-steps li{display:flex;justify-content:space-between;gap:8px;padding:7px 10px;border-radius:0;border:1px solid transparent}
body[data-page=dashboard] .cx-steps li span{font-size:12.5px;font-weight:500;color:var(--cx-ink)}
body[data-page=dashboard] .cx-steps li em{font-style:normal;font-size:10px;color:var(--cx-muted)}
body[data-page=dashboard] .cx-steps li.is-done span{color:#4d6556}
body[data-page=dashboard] .cx-steps li.is-current{background:#e8efdf;border-color:#c5d4b8}
body[data-page=dashboard] .cx-list-block{padding:12px 14px;border-top:1px solid var(--cx-line);overflow:auto;flex:1;min-height:0}
body[data-page=dashboard] .cx-list-block strong{display:block;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--cx-muted);margin-bottom:8px}
body[data-page=dashboard] .cx-list-block .portal-timeline{font-size:12px;line-height:1.45;padding-left:14px;margin:0}
body[data-page=dashboard] .cx-pane-detail{padding:14px;overflow:auto;background:var(--cx-panel)}
body[data-page=dashboard] .cx-detail-card{padding:16px;border:1px solid var(--cx-line);border-radius:6px;background:var(--cx-paper);min-height:100%;display:flex;flex-direction:column}
body[data-page=dashboard] .cx-detail-card h3{margin:8px 0 0;font-size:22px;font-weight:600;letter-spacing:-.03em;color:var(--cx-ink)}
body[data-page=dashboard] .cx-detail-card>p{margin:8px 0 0;font-size:13px;line-height:1.5;color:#526656;max-width:54ch}
body[data-page=dashboard] .cx-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 0;padding-top:14px;border-top:1px solid var(--cx-line)}
body[data-page=dashboard] .cx-facts dt{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--cx-muted);margin:0 0 3px}
body[data-page=dashboard] .cx-facts dd{margin:0;font-size:13px;font-weight:500;color:var(--cx-ink)}
body[data-page=dashboard] .cx-pane-detail .preview-controls{margin-top:12px}


/* Appointment queue + inline booking */
body[data-page=dashboard] .cx-appt-list{display:flex;flex-direction:column;gap:4px;padding:8px;border-bottom:1px solid var(--cx-line)}
body[data-page=dashboard] .cx-appt-row{display:flex!important;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;padding:10px 10px;border:1px solid transparent;background:transparent;font:inherit;cursor:pointer;color:var(--cx-ink)}
body[data-page=dashboard] .cx-appt-row.is-selected,
body[data-page=dashboard] .cx-appt-row:hover,
body[data-page=dashboard] .cx-appt-row:focus-visible{background:#e8efdf;border-color:#d5e0cb;outline:none}
body[data-page=dashboard] .cx-appt-row-kicker{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--cx-muted)}
body[data-page=dashboard] .cx-appt-row strong{display:block;font-size:12.5px;font-weight:600;line-height:1.3}
body[data-page=dashboard] .cx-appt-row em{display:block;font-style:normal;font-size:11px;color:var(--cx-muted);overflow-wrap:anywhere;line-height:1.35}
body[data-page=dashboard] .cx-pane-detail{display:flex;flex-direction:column;overflow:hidden}
body[data-page=dashboard] .cx-detail-card{flex:1;min-height:0;overflow:auto;padding:16px 18px}
body[data-page=dashboard] .cx-detail-card>h3{margin:0;font-size:18px;font-weight:600;letter-spacing:-.03em;color:var(--cx-ink)}
body[data-page=dashboard] .cx-detail-card>p{margin:6px 0 0;font-size:12.5px;line-height:1.45;color:#526656;max-width:62ch}
body[data-page=dashboard] .cx-book{margin-top:12px;display:grid;gap:10px}
body[data-page=dashboard] .cx-book-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}
body[data-page=dashboard] .cx-book .portal-field{margin:0;font-size:12px;color:#3f5344}
body[data-page=dashboard] .cx-book .portal-field input,
body[data-page=dashboard] .cx-book .portal-field select{width:100%;margin-top:4px;padding:8px 10px;border:1px solid #cfd9c4;background:#fff;border-radius:0;font:inherit;font-size:12.5px;color:var(--cx-ink)}
body[data-page=dashboard] .cx-book .portal-field input:focus-visible,
body[data-page=dashboard] .cx-book .portal-field select:focus-visible{outline:2px solid #173e35;outline-offset:1px}
body[data-page=dashboard] .cx-book .portal-consent{font-size:12px;line-height:1.4;color:#445746;margin:0}
body[data-page=dashboard] .cx-book .portal-button{border-radius:0;min-height:0;padding:9px 14px;font-size:12.5px;font-weight:600}
body[data-page=dashboard] .cx-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--cx-line)}
body[data-page=dashboard] .cx-facts dt{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--cx-muted)}
body[data-page=dashboard] .cx-facts dd{margin:2px 0 0;font-size:12.5px;color:var(--cx-ink)}




/* === client dashboard mobile/tablet overrides (must stay last) === */
@media(max-width:1100px){
  body[data-page=dashboard] .portal-shell{grid-template-columns:132px minmax(0,1fr)}
}
@media(max-width:900px){
  body[data-page=dashboard]{
    height:100dvh;height:100svh;overflow:hidden;
    padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
  }
  body[data-page=dashboard] #portal-root{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  body[data-page=dashboard] .portal-shell{
    display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;
    overflow:hidden;min-height:0;flex:1;
  }
  body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-sidebar{
    display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;
    padding:8px 12px;border-right:0;border-bottom:1px solid #d0dcc4;height:auto;max-height:none;overflow:visible;
  }
  body[data-page=dashboard] .portal-sidebar nav,
  body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-mobile-nav,
  body[data-page=dashboard] .portal-user{display:none!important}
  body[data-page=dashboard] .portal-main{min-height:0;overflow:hidden;display:flex;flex-direction:column}
  body[data-page=dashboard] .portal-content{
    flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;
    padding:10px 12px calc(12px + 64px + env(safe-area-inset-bottom));
  }
  body[data-page=dashboard] .portal-shell:not([data-kind=patient]) .portal-content{padding-bottom:12px}
  body[data-page=dashboard] .portal-tabbar{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;
    position:relative;z-index:40;background:rgba(251,252,247,.98);
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
    border-top:1px solid #d0dcc4;padding:4px 4px calc(4px + env(safe-area-inset-bottom));
  }
  body[data-page=dashboard] .portal-tab{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    min-height:52px;padding:6px 2px;border:0;background:transparent;color:#526656;font:inherit;cursor:pointer;
  }
  body[data-page=dashboard] .portal-tab svg{width:20px;height:20px}
  body[data-page=dashboard] .portal-tab span{font-size:10px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body[data-page=dashboard] .portal-tab[aria-current=page]{color:#163e35;background:#e5eed9}
  body[data-page=dashboard] .portal-tab:focus-visible{outline:2px solid #163e35;outline-offset:-2px}

  body[data-page=dashboard] .cx-console{height:auto;min-height:0;overflow:visible;gap:8px}
  body[data-page=dashboard] .cx-toolbar{flex-direction:column;align-items:stretch;gap:8px}
  body[data-page=dashboard] .cx-toolbar h2{font-size:18px}
  body[data-page=dashboard] .cx-toolbar-actions{width:100%}
  body[data-page=dashboard] .cx-toolbar-actions .portal-button{flex:1;min-height:44px;font-size:13px;padding:10px 14px}
  body[data-page=dashboard] .cx-layout{
    display:grid!important;grid-template-columns:1fr!important;gap:8px!important;overflow:visible!important;height:auto;
  }
  body[data-page=dashboard] .cx-pane-main,
  body[data-page=dashboard] .cx-pane-side,
  body[data-page=dashboard] .cx-pane-list,
  body[data-page=dashboard] .cx-pane-detail{max-height:none;height:auto;overflow:visible}
  body[data-page=dashboard] .cx-pane-side{order:2}
  body[data-page=dashboard] .cx-mods{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px}
  body[data-page=dashboard] .cx-mod{min-height:48px;border:1px solid var(--cx-line,#dce4d3);background:#fffef9}
  body[data-page=dashboard] .cx-side-foot{display:none}
  body[data-page=dashboard] .cx-quick{grid-template-columns:1fr!important}
  body[data-page=dashboard] .cx-consult .cx-split{
    display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;
    gap:8px!important;height:auto!important;overflow:visible!important;
  }
  body[data-page=dashboard] .cx-book-grid{grid-template-columns:1fr!important}
  body[data-page=dashboard] .cx-book .portal-field input,
  body[data-page=dashboard] .cx-book .portal-field select{min-height:44px;font-size:16px;padding:10px 12px}
  body[data-page=dashboard] .cx-book .portal-button{min-height:48px;width:100%}
  body[data-page=dashboard] .cx-appt .portal-button,
  body[data-page=dashboard] .cx-actions .portal-button{min-height:44px}
  body[data-page=dashboard] .cx-list-block .cx-steps{display:flex;flex-wrap:wrap;gap:4px}
  body[data-page=dashboard] .cx-steps li{flex:1 1 calc(50% - 4px);min-width:120px}
  body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-top-right>a,
  body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-top-right>button[data-auth-logout]{display:none}
}
@media(max-width:760px){
  body[data-page=dashboard] .cx-pane-side{display:none!important}
  body[data-page=dashboard] .cx-facts{grid-template-columns:1fr!important}
  body[data-page=dashboard] .cx-list-block:has(.portal-timeline){display:none}
  body[data-page=dashboard] .preview-controls{display:none}
  body[data-page=dashboard] .portal-topbar{padding:8px 12px}
  body[data-page=dashboard] .cx-appt-when{font-size:26px}
  body[data-page=dashboard] .cx-consult .cx-pane-list .cx-list-block:first-of-type{border-bottom:1px solid var(--cx-line,#dce4d3)}
  body[data-page=dashboard] .cx-steps li{flex:1 1 100%;min-width:0}
  body[data-page=dashboard] .portal-shell[data-kind=patient] .portal-role{display:none}
}
body[data-page=dashboard] .cx-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}
body[data-page=dashboard] .cx-more-grid .cx-mod{border:1px solid var(--cx-line,#dce4d3);background:#fffef9;min-height:52px}
@media(min-width:901px){
  body[data-page=dashboard] .portal-tabbar{display:none!important}
  body[data-page=dashboard] .cx-more-grid{display:none}
}



/* === Psychologist panel (Bootstrap grid + Myndware tokens) === */
body[data-page=dashboard]{
  --bs-body-font-family:var(--font,MyndSans,Arial,sans-serif);
  --bs-body-color:#173e35;
  --bs-body-bg:#f3f5ee;
  --bs-border-color:#d5e0cb;
  --bs-primary:#173e35;
  --bs-link-color:#173e35;
  --bs-link-hover-color:#315946;
  --bs-border-radius:0;
  --bs-border-radius-sm:0;
  --bs-border-radius-lg:0;
  --bs-gutter-x:0.75rem;
  --px-ink:#173e35;
  --px-muted:#5d6e54;
  --px-line:#d5e0cb;
  --px-paper:#fffef9;
  --px-panel:#f4f7ef;
  --px-accent:#e0efb0;
}
body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-content{
  padding:10px 12px 12px;overflow:hidden;background:transparent;
}
body[data-page=dashboard] .px-console{
  height:100%;min-height:0;display:flex;flex-direction:column;gap:10px;overflow:hidden;
  font-family:var(--font);color:var(--px-ink);-webkit-font-smoothing:antialiased;
}
body[data-page=dashboard] .px-toolbar{flex:0 0 auto;padding:0 2px}
body[data-page=dashboard] .px-kicker{
  font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--px-muted);
}
body[data-page=dashboard] .px-title{
  font-size:clamp(18px,2.2vw,22px);font-weight:600;letter-spacing:-.03em;line-height:1.15;color:var(--px-ink);
}
body[data-page=dashboard] .px-toolbar-actions .portal-button{
  min-height:40px;padding:8px 14px;font-size:12.5px;font-weight:600;border-radius:0;background:#173e35;color:#fff;
}
body[data-page=dashboard] .px-toolbar-actions .portal-link{min-height:40px;padding:8px 0;font-size:12.5px}
body[data-page=dashboard] .px-body{flex:1;min-height:0;overflow:hidden;align-items:stretch}
body[data-page=dashboard] .px-body>.col-12,
body[data-page=dashboard] .px-body>[class*="col-"]{min-height:0;display:flex}
body[data-page=dashboard] .px-pane{
  width:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;
  border:1px solid var(--px-line);background:var(--px-paper);border-radius:0;
}
body[data-page=dashboard] .px-pane-head{
  display:flex;justify-content:space-between;align-items:center;gap:8px;
  padding:10px 12px;border-bottom:1px solid var(--px-line);font-size:12px;flex:0 0 auto;
}
body[data-page=dashboard] .px-pane-head strong{font-weight:600}
body[data-page=dashboard] .px-pane-head span{color:var(--px-muted)}
body[data-page=dashboard] .px-pill{
  display:inline-flex;align-items:center;padding:2px 8px;border:1px solid var(--px-line);
  background:var(--px-panel);font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
}
body[data-page=dashboard] .px-queue{flex:1;min-height:0;overflow:auto;padding:6px;display:flex;flex-direction:column;gap:4px}
body[data-page=dashboard] .px-queue-item{
  display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;gap:2px 10px;
  width:100%;text-align:left;padding:10px;border:1px solid transparent;background:transparent;
  font:inherit;color:var(--px-ink);cursor:pointer;border-radius:0;
}
body[data-page=dashboard] .px-queue-item .px-queue-tag{
  grid-row:1 / span 2;align-self:center;font-size:9px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:#6e805d;min-width:3.2rem;
}
body[data-page=dashboard] .px-queue-item strong{grid-column:2;font-size:12.5px;font-weight:600;line-height:1.25}
body[data-page=dashboard] .px-queue-item em{grid-column:2;font-style:normal;font-size:11px;color:var(--px-muted);line-height:1.35}
body[data-page=dashboard] .px-queue-item .px-queue-go{
  grid-column:3;grid-row:1 / span 2;align-self:center;font-size:11px;font-weight:600;color:#3f5c45;text-decoration:underline;text-underline-offset:2px;
}
body[data-page=dashboard] .px-queue-item:hover,
body[data-page=dashboard] .px-queue-item:focus-visible,
body[data-page=dashboard] .px-queue-item.is-active{background:#e8efdf;border-color:#d0dcc4;outline:none}
body[data-page=dashboard] .px-queue-item[data-pri=high] .px-queue-tag{color:#173e35}
body[data-page=dashboard] .px-focus{background:linear-gradient(160deg,#14362e 0%,#1d4a3d 55%,#245546 100%);border-color:#1a3f35;color:#f3f7ec}
body[data-page=dashboard] .px-focus .px-pane-head{border-bottom-color:rgba(255,255,255,.12);color:#d7e6c4}
body[data-page=dashboard] .px-focus .px-pane-head span,
body[data-page=dashboard] .px-focus .px-pill{color:#e0efb0;border-color:rgba(224,239,176,.35);background:rgba(224,239,176,.12)}
body[data-page=dashboard] .px-focus-body{flex:1;min-height:0;overflow:auto;padding:14px 16px}
body[data-page=dashboard] .px-eyebrow{margin:0;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#9fb392}
body[data-page=dashboard] .px-focus h3{margin:4px 0 0;font-size:18px;font-weight:600;letter-spacing:-.02em;color:#f7faef}
body[data-page=dashboard] .px-when{margin:6px 0 0;font-size:clamp(20px,2.4vw,28px);font-weight:600;letter-spacing:-.04em;line-height:1.1;color:#f7faef}
body[data-page=dashboard] .px-copy{margin:8px 0 0;font-size:12.5px;line-height:1.45;color:#b7c9a8;max-width:48ch}
body[data-page=dashboard] .px-focus-actions{margin-top:14px}
body[data-page=dashboard] .px-focus .portal-button{background:var(--px-accent);color:#173e35;border-radius:0;min-height:40px;padding:8px 12px;font-size:12.5px;font-weight:600}
body[data-page=dashboard] .px-focus .portal-link{color:#eef4e2;min-height:40px}
body[data-page=dashboard] .px-facts{margin-top:16px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12)}
body[data-page=dashboard] .px-facts dt{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#9fb392}
body[data-page=dashboard] .px-facts dd{margin:2px 0 0;font-size:12.5px;color:#f3f7ec}
body[data-page=dashboard] .px-pane:not(.px-focus) .px-facts{border-top-color:var(--px-line)}
body[data-page=dashboard] .px-pane:not(.px-focus) .px-facts dt{color:var(--px-muted)}
body[data-page=dashboard] .px-pane:not(.px-focus) .px-facts dd{color:var(--px-ink)}
body[data-page=dashboard] .px-pane:not(.px-focus) .px-focus-body{padding:14px 16px}
body[data-page=dashboard] .px-pane:not(.px-focus) .px-eyebrow{color:var(--px-muted)}
body[data-page=dashboard] .px-pane:not(.px-focus) h3{color:var(--px-ink);font-size:18px;margin:4px 0 0}
body[data-page=dashboard] .px-pane:not(.px-focus) .px-when{color:var(--px-ink);font-size:22px}
body[data-page=dashboard] .px-pane:not(.px-focus) .px-copy{color:#526656}
body[data-page=dashboard] .px-stats{padding:8px 8px 4px}
body[data-page=dashboard] .px-stat{
  padding:10px;border:1px solid var(--px-line);background:var(--px-panel);min-height:64px;
  display:flex;flex-direction:column;justify-content:center;gap:2px;
}
body[data-page=dashboard] .px-stat span{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--px-muted)}
body[data-page=dashboard] .px-stat strong{font-size:14px;font-weight:600;letter-spacing:-.02em}
body[data-page=dashboard] .px-mods{display:flex;flex-direction:column;gap:2px;padding:6px 8px 10px;flex:1;min-height:0;overflow:auto}
body[data-page=dashboard] .px-mod{
  display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;
  text-align:left;padding:10px;border:0;background:transparent;font:inherit;cursor:pointer;color:var(--px-ink);
}
body[data-page=dashboard] .px-mod span{font-size:12.5px;font-weight:500}
body[data-page=dashboard] .px-mod em{font-style:normal;font-size:11px;color:var(--px-muted)}
body[data-page=dashboard] .px-mod:hover,
body[data-page=dashboard] .px-mod:focus-visible{background:#e8efdf;outline:none}

@media(max-width:991.98px){
  body[data-page=dashboard] .portal-shell[data-kind=clinician]{
    display:grid!important;
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(0,1fr) auto;
    height:100%;min-height:0;overflow:hidden;flex:1;
  }
  body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-sidebar nav{display:none!important}
  body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-user{display:none!important}
  body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-main{
    min-height:0;overflow:hidden;display:flex;flex-direction:column;
  }
  body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-content{
    flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;
    padding:10px 12px 12px;
  }
  body[data-page=dashboard] .portal-tabbar-clinician{display:grid!important;flex:0 0 auto}
  body[data-page=dashboard] .px-console{height:auto;min-height:min-content;overflow:visible}
  body[data-page=dashboard] .px-body{overflow:visible;height:auto}
  body[data-page=dashboard] .px-body>.col-12,
  body[data-page=dashboard] .px-body>[class*="col-"]{display:block}
  body[data-page=dashboard] .px-pane{height:auto!important;max-height:none;overflow:visible}
  body[data-page=dashboard] .px-queue{overflow:visible}
  body[data-page=dashboard] .px-toolbar-actions{width:100%}
  body[data-page=dashboard] .px-toolbar-actions .portal-button{flex:1;min-height:44px}
  body[data-page=dashboard] .px-focus .portal-button,
  body[data-page=dashboard] .px-focus-actions .portal-button{min-height:44px}
  body[data-page=dashboard] .px-queue-item{min-height:52px;padding:12px}
}
@media(min-width:992px){
  body[data-page=dashboard] .portal-tabbar-clinician{display:none!important}
}
@media(max-width:575.98px){
  body[data-page=dashboard] .px-queue-item{
    grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;
  }
  body[data-page=dashboard] .px-queue-item .px-queue-go{grid-column:2;grid-row:3;justify-self:start}
  body[data-page=dashboard] .px-mods{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  body[data-page=dashboard] .px-mod{border:1px solid var(--px-line);background:var(--px-panel);min-height:48px}
}

/* Clinician mobile chrome: tab bar only */
@media(max-width:991.98px){
  body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-mobile-nav{display:none!important}
  body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-sidebar{
    display:flex!important;flex-direction:row;align-items:center;justify-content:space-between;
    padding:8px 12px;border-right:0;border-bottom:1px solid #d0dcc4;height:auto;
  }
  body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-role{margin:0;font-size:9px}
  body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-top-right>a,
  body[data-page=dashboard] .portal-shell[data-kind=clinician] .portal-top-right>button[data-auth-logout]{display:none}
  body[data-page=dashboard] .portal-tabbar-clinician{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));
    position:relative;z-index:40;background:rgba(251,252,247,.98);
    border-top:1px solid #d0dcc4;padding:4px 4px calc(4px + env(safe-area-inset-bottom));
  }
}

/* Viewport lock: main wraps portal-root */
body[data-page=dashboard] #main{
  height:100dvh;height:100svh;max-height:100dvh;max-height:100svh;
  margin:0;padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:0;
}
body[data-page=dashboard] #main>.skip-label{display:none}
body[data-page=dashboard] #portal-root{
  flex:1 1 auto;min-height:0;height:auto!important;max-height:100%;
  display:flex;flex-direction:column;overflow:hidden;
}
@media(max-width:991.98px){
  body[data-page=dashboard] #portal-root{max-height:100%}
  body[data-page=dashboard] .portal-shell[data-kind=clinician]{
    max-height:100%;
  }
}

/* ---- client workspace refresh (must come last): white canvas, sharp edges, readable type, cards that fit their content ---- */
body[data-page=dashboard]{background:#fff!important;font-size:16px}
body[data-page=dashboard] .portal-main,body[data-page=dashboard] .portal-content{background:#fff}
body[data-page=dashboard] .portal-shell *{border-radius:0!important}
body[data-page=dashboard] .portal-demo-bar{font-size:12px;background:#f4faf7;border-bottom:1px solid #e2f0e9}
body[data-page=dashboard] .portal-sidebar{background:#f4faf7;border-right:1px solid #e2f0e9}
body[data-page=dashboard] .portal-sidebar button,body[data-page=dashboard] .portal-sidebar a{font-size:16px;min-height:46px}
body[data-page=dashboard] .portal-top-title{font-size:18px;font-weight:600}body[data-page=dashboard] .portal-top-sub{font-size:14px}
body[data-page=dashboard] .portal-topbar{background:#fff;border-bottom:1px solid #e2f0e9}
body[data-page=dashboard] .cx-console{font-size:16px;gap:20px;line-height:1.55}
body[data-page=dashboard] .cx-kicker{font-size:12.5px;letter-spacing:.14em}
body[data-page=dashboard] .cx-toolbar h2{font-size:clamp(26px,2.6vw,38px);letter-spacing:-.03em;line-height:1.12}
body[data-page=dashboard] .cx-layout{align-items:start;gap:20px;min-height:0}
body[data-page=dashboard] .cx-pane{background:#fff;border:1px solid #e4eae6;box-shadow:6px 6px 0 #e2f0e9;height:auto;min-height:0}
body[data-page=dashboard] .cx-appt{box-shadow:6px 6px 0 #e2f0e9}
body[data-page=dashboard] .cx-appt-when{font-size:clamp(20px,1.8vw,26px)}
body[data-page=dashboard] .cx-appt-sub,body[data-page=dashboard] .cx-appt-copy{font-size:16px}
body[data-page=dashboard] .cx-pill,body[data-page=dashboard] .portal-badge{font-size:12px;padding:5px 10px}
body[data-page=dashboard] .cx-mod{min-height:54px;font-size:16px;padding:14px 18px}
body[data-page=dashboard] .cx-list span,body[data-page=dashboard] .cx-text,body[data-page=dashboard] .cx-muted{font-size:15px}
body[data-page=dashboard] .cx-toolbar-actions .portal-button{font-size:15px;min-height:46px}
@media(max-width:760px){body[data-page=dashboard] .cx-console{gap:14px}body[data-page=dashboard] .cx-pane{box-shadow:4px 4px 0 #e2f0e9}body[data-page=dashboard] .cx-toolbar h2{font-size:24px}}

body[data-page=dashboard] .portal-sidebar nav button,body[data-page=dashboard] .portal-sidebar nav a,body[data-page=dashboard] .portal-sidebar [data-nav]{font-size:15.5px!important;min-height:46px;padding:10px 14px}
body[data-page=dashboard] .cx-mod span{font-size:16px!important}body[data-page=dashboard] .cx-mod em{font-size:13.5px!important;font-style:normal;color:#5a6f66}
body[data-page=dashboard] .portal-user,body[data-page=dashboard] .portal-user a{font-size:14px!important}
