/* Entrance only: retain the validated clinical workspace. Fraunces follows Piacere. */
.entrance-header,.entrance-modules{display:none}
body:not(.clinical-workspace){background:#091c27;color:#edf5f6;background-image:radial-gradient(ellipse at 25% 36%,#12566b45,transparent 54%),radial-gradient(ellipse at 88% 13%,#33525935,transparent 46%),linear-gradient(130deg,#0b202e,#071820);background-attachment:fixed}
body:not(.clinical-workspace)::before{content:'';position:fixed;inset:0;pointer-events:none;opacity:.18;background-image:repeating-linear-gradient(0deg,transparent,transparent 3px,#afedf309 4px);z-index:-1}
body:not(.clinical-workspace) .entrance-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1440px;margin:auto;padding:24px 4.5%;border-bottom:1px solid #94c6d91a}
.entrance-brand{font-family:Fraunces,Georgia,serif;font-size:31px;line-height:1;letter-spacing:-1px;color:#edf5f6}.entrance-brand span{display:block;font-family:Inter,sans-serif;font-size:10px;letter-spacing:2.8px;margin-top:10px;color:#81a8b7}.entrance-edition{display:flex;align-items:center;gap:16px;font-size:11px;letter-spacing:2px;color:#8aabb8}.edition-line{width:40px;height:1px;background:#4c7587}.entrance-nav-link{font-size:14px;color:#c2e1e5;border:1px solid #81c6d340;padding:10px 17px;border-radius:7px}.entrance-nav-link span{margin-left:18px;color:#7ae0d8}
body:not(.clinical-workspace) .shell{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.9fr);gap:clamp(36px,5vw,84px);min-height:0;max-width:1440px;margin:0 auto;padding:clamp(38px,6vh,78px) 4.5%;align-items:center}
body:not(.clinical-workspace) .brand-panel{margin:0;padding:0;background:transparent;border:0;border-radius:0;overflow:visible;min-height:0;display:block;isolation:auto}
body:not(.clinical-workspace) .brand-panel:before,body:not(.clinical-workspace) .brand-panel>.brand,body:not(.clinical-workspace) .brand-footer,body:not(.clinical-workspace) .topbar,body:not(.clinical-workspace) .main-footer{display:none}
body:not(.clinical-workspace) .brand-message{margin:0}.entrance-kicker{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:2px;color:#9fc6d0;font-weight:500}.entrance-kicker>span{width:26px;height:2px;background:#6de0d4;box-shadow:0 0 15px #58d5ce}
body:not(.clinical-workspace) .entrance-wordmark{font-family:Fraunces,Georgia,serif;font-weight:400;font-size:clamp(66px,8.5vw,126px);line-height:1.04;letter-spacing:-.07em;margin:34px 0 27px;color:#eff8f7;text-shadow:0 2px 0 #fff2,0 14px 50px #5bcede15;position:relative;animation:entrance-word 1100ms cubic-bezier(.16,1,.3,1) both}
body:not(.clinical-workspace) .brand-message .entrance-slogan{font-family:Inter,sans-serif;max-width:none;font-size:clamp(15px,1.5vw,21px);line-height:1.85;font-weight:400;letter-spacing:.045em;color:#d6e8ed;margin:0}.entrance-slogan strong{color:#86e1d8;font-weight:600}
.entrance-divider{height:1px;background:linear-gradient(90deg,#659ead70,transparent);width:85%;margin:27px 0}
body:not(.clinical-workspace) .brand-message .entrance-description{max-width:none;color:#92b0be;font-size:17px;line-height:1.65;margin:0 0 26px}
.entrance-actions{display:flex;align-items:center;gap:25px}.entrance-actions button{border:1px solid #b4f4ee8a;color:#08262f;background:linear-gradient(120deg,#c2f0e6,#7bcfcf);padding:16px 22px;font-size:15px;border-radius:8px;box-shadow:inset 0 1px #ffffffa1,0 8px 30px #1e8fa12b;min-width:210px}.entrance-actions button:hover{background:#d2f9ef;box-shadow:0 10px 32px #61cbc44d}.entrance-actions button span{margin-left:28px}.entrance-ownership{font-size:13px;line-height:1.6;color:#a7c1cb;border-left:1px solid #7197a854;padding-left:22px}
.entrance-principles{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:35px;color:#87a5b2;font-size:12px}.entrance-principles span{display:flex;align-items:center;gap:8px}.entrance-principles span:before{content:'✓';color:#82c5bf}
body:not(.clinical-workspace) main{position:relative;background:linear-gradient(145deg,#1b35448c,#0d2431bf);border:1px solid #a4cddb30;border-radius:20px;padding:30px 32px 20px;box-shadow:0 30px 60px #0003,inset 0 1px #f0ffff15;min-width:0;animation:entrance-card 800ms 180ms both}
body:not(.clinical-workspace) main:before{content:'';position:absolute;top:-1px;left:18%;right:18%;height:1px;background:linear-gradient(90deg,transparent,#92dbda,transparent)}
body:not(.clinical-workspace) .content{margin:0;max-width:none;padding:0;width:100%}body:not(.clinical-workspace) .eyebrow{color:#93b7c8;font-size:11px;letter-spacing:2px}.entrance-card-mark{font-family:Fraunces,Georgia,serif;font-size:28px;color:#89c5cc;font-style:italic}
body:not(.clinical-workspace) #auth-title,body:not(.clinical-workspace) #clinic-title,body:not(.clinical-workspace) #recovery-title{color:#f1f7f6;font-family:Fraunces,Georgia,serif;font-size:36px;font-weight:400;letter-spacing:-1px;margin:17px 0 10px}
body:not(.clinical-workspace) .intro{color:#93afbe;font-size:14px;line-height:1.6;margin:0 0 20px}body:not(.clinical-workspace) .mode-switch{background:transparent;padding:0;border-radius:0;border-color:#7297a430;gap:24px;margin-bottom:20px}body:not(.clinical-workspace) .mode-switch button{font-size:14px;color:#8ba8b8;background:transparent;box-shadow:none;border-radius:0;min-height:40px;padding:10px 0}body:not(.clinical-workspace) .mode-switch .selected{color:#91e2d9;border-bottom-color:#91e2d9}
body:not(.clinical-workspace) label{font-size:13px;color:#c3d6df;margin:16px 0 8px}body:not(.clinical-workspace) input{background:#081c28a1;border:1px solid #91b6c333;border-radius:8px;color:#f0f8f8;font-size:15px;min-height:48px;padding:13px 14px;box-shadow:inset 0 2px 8px #0000001a}body:not(.clinical-workspace) input::placeholder{color:#7594a4}body:not(.clinical-workspace) input:focus{border-color:#79c9cf;box-shadow:0 0 0 3px #58aeb21a;outline:none}body:not(.clinical-workspace) .password-wrap input{padding-right:78px}
body:not(.clinical-workspace) .password-wrap button,body:not(.clinical-workspace) .text-button{color:#9bbeca;font-size:13px}body:not(.clinical-workspace) .password-wrap button:hover,body:not(.clinical-workspace) .text-button:hover{background:transparent;color:#e0f5f2;box-shadow:none}
body:not(.clinical-workspace) .primary{margin-top:24px;background:linear-gradient(120deg,#1f7892,#12516c);border:1px solid #6dbece6b;box-shadow:inset 0 1px #b6f2f62b,0 6px 20px #0002;border-radius:8px;min-height:49px;padding:14px 18px;color:#f1fafa;font-size:14px}body:not(.clinical-workspace) .primary:hover{background:linear-gradient(120deg,#258ca3,#196881)}body:not(.clinical-workspace) .center{margin:12px auto}
body:not(.clinical-workspace) .privacy-note{border-color:#789ca52b;color:#809fae;font-size:12px;line-height:1.6;margin:18px 0 0;padding-top:16px}.entrance-pilot-link{font-size:12px;text-align:center;color:#adc8d3;margin:10px 0}.entrance-pilot-link a:hover{color:#9ef0e7}.entrance-pilot-link span{padding-left:8px}body:not(.clinical-workspace) .field-hint,body:not(.clinical-workspace) .info-note{color:#a0bfca}body:not(.clinical-workspace) .status{font-size:14px;background:#153d4c;color:#deeff4;border:1px solid #68a9b5;padding:14px;margin-top:18px}body:not(.clinical-workspace) .status.error{background:#432e35;color:#ffe3dc;border-color:#a3766b}
body:not(.clinical-workspace) .entrance-modules{display:grid;grid-template-columns:1.25fr repeat(6,1fr);max-width:1310px;margin:0 auto 28px;border:1px solid #88b4c127;border-radius:12px;background:linear-gradient(110deg,#132e3b99,#13283766);padding:23px 20px;gap:18px;align-items:center}.entrance-modules-caption{font-size:11px;line-height:1.9;color:#809fac;letter-spacing:1px}.entrance-modules-caption strong{font-weight:600;color:#d4e5e9}.entrance-modules>span{border-left:1px solid #7fadb42b;padding-left:16px;color:#c7dbe3;font-size:13px;white-space:nowrap}.entrance-modules b{display:block;font-family:Fraunces,Georgia,serif;font-weight:400;font-size:19px;color:#6ca5b4;margin-bottom:5px}
#entrance-dialog{width:min(1000px,calc(100% - 32px));max-height:85vh;overflow:auto;background:#102a39;color:#dbeaf0;border:1px solid #6298a6;border-radius:20px;padding:30px;box-shadow:0 30px 100px #0008}#entrance-dialog::backdrop{background:#041018bb;backdrop-filter:blur(8px)}.entrance-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.entrance-dialog-head h2{color:#ecf6f6;font-family:Fraunces,Georgia,serif;font-size:30px;letter-spacing:-.5px}.entrance-dialog-head button{border:1px solid #6d9fa95c;padding:10px 16px;background:#203e4c;color:#d9eeef;border-radius:8px}.entrance-dialog-head .eyebrow{color:#9bc6cf}#entrance-function-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}#entrance-function-list article{background:linear-gradient(135deg,#1c3c4c,#173240);border:1px solid #648d9b40;border-radius:10px;padding:18px}#entrance-function-list h3{font-size:16px;color:#b2e6e5;margin:0 0 10px;letter-spacing:0}#entrance-function-list p,.entrance-dialog-note{font-size:14px;line-height:1.6;color:#a5c1cf}.entrance-dialog-note{border-top:1px solid #6b929e40;margin-top:24px;padding-top:18px}
@keyframes entrance-word{from{opacity:0;transform:translateY(16px) scale(1.055);filter:blur(7px)}to{opacity:1;transform:none;filter:none}}@keyframes entrance-card{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
@media(min-width:1450px){body:not(.clinical-workspace) .shell{padding-top:8vh;padding-bottom:8vh}}
@media(max-width:1100px){body:not(.clinical-workspace) .shell{grid-template-columns:minmax(0,1.1fr) minmax(320px,1fr);gap:30px;padding:35px 4%}.entrance-kicker{font-size:10px;letter-spacing:1.4px}body:not(.clinical-workspace) .entrance-wordmark{font-size:8.5vw}.entrance-principles{gap:12px}.entrance-ownership{display:none}body:not(.clinical-workspace) .entrance-modules{margin:0 4% 25px;gap:10px;padding:18px 14px}.entrance-modules>span{font-size:11px;padding-left:10px}.entrance-modules-caption{font-size:10px}}
@media(max-width:760px){.entrance-edition{display:none}body:not(.clinical-workspace) .entrance-header{padding:20px 6%}body:not(.clinical-workspace) .shell{grid-template-columns:1fr;padding:36px 6%;gap:34px}body:not(.clinical-workspace) .entrance-wordmark{font-size:clamp(64px,17vw,115px);margin:25px 0 22px}body:not(.clinical-workspace) .brand-message .entrance-slogan{font-size:clamp(12px,3.3vw,18px);letter-spacing:.035em}.entrance-kicker{font-size:10px}.entrance-principles{font-size:11px;margin-top:23px}.entrance-divider{margin:22px 0}body:not(.clinical-workspace) .entrance-description{font-size:15px!important}.entrance-actions button{padding:14px 18px;font-size:14px}body:not(.clinical-workspace) main{padding:25px}body:not(.clinical-workspace) .entrance-modules{grid-template-columns:repeat(3,1fr);margin:0 6% 24px;gap:20px}.entrance-modules-caption{grid-column:1/-1}.entrance-modules-caption br{display:none}.entrance-modules>span{font-size:12px}#entrance-function-list{grid-template-columns:1fr}#entrance-dialog{padding:22px}.entrance-dialog-head h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){body:not(.clinical-workspace) .entrance-wordmark,body:not(.clinical-workspace) main{animation:none;filter:none;transform:none}body:not(.clinical-workspace) *{transition:none!important}}
/* The same brand + slogan nodes travel to their final position: no swapping. */
#brand-intro{display:none;position:fixed;inset:0;z-index:10000;background:#091c27;pointer-events:none}
.entrance-lockup{position:relative;transform-origin:top left;width:max-content;max-width:100%;display:flow-root}
body:not(.clinical-workspace) .entrance-wordmark{animation:none}
.brand-intro-pending #brand-intro{display:block}
.brand-intro-pending body>.entrance-header,.brand-intro-pending body>.shell,.brand-intro-pending body>.entrance-modules{visibility:hidden}
.brand-intro-pending .entrance-lockup{visibility:hidden;z-index:10001}
.brand-intro-measuring .entrance-lockup{visibility:visible}
.brand-intro-flight body>.entrance-header,.brand-intro-flight body>.shell,.brand-intro-flight body>.entrance-modules{visibility:visible}
.brand-intro-flight #brand-intro{background:transparent;transition:background 800ms ease}
@media(prefers-reduced-motion:reduce){.brand-intro-pending #brand-intro{display:none}.brand-intro-pending body>.entrance-header,.brand-intro-pending body>.shell,.brand-intro-pending body>.entrance-modules{visibility:visible}}
.clinical-workspace .entrance-hero{display:none}
.clinical-workspace #workspace-brand-word{font-family:Fraunces,Georgia,serif;font-weight:400;letter-spacing:-.035em}
