:root{--dark:#073e36;--ink:#123d34;--mint:#11aa89;--mint2:#58d4af;--bg:#f3f9f7;--muted:#688a7f;--line:#deeee8;--white:white;--danger:#b43d4d;--shadow:0 16px 48px #12493912;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);min-width:320px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #42caa9;outline-offset:2px}button:disabled{opacity:.55;cursor:not-allowed}header{position:sticky;top:0;z-index:30;backdrop-filter:blur(18px);background:#ffffffed;border-bottom:1px solid var(--line)}.wrap{max-width:1220px;margin:auto;padding:0 22px}.head{height:75px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:11px;font-weight:950;font-size:25px;letter-spacing:-1.1px}.brand-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(130deg,#32d9b5,#06896f);color:white;box-shadow:0 7px 14px #0caa862d;font-size:22px}.brand em{font-style:normal;color:#00aa88}.nav{display:flex;align-items:center;gap:14px}.nav>a{font-size:13px;color:#49736a;font-weight:720}.nav>a:hover{color:#039c7b}.btn{background:var(--mint);border:1px solid var(--mint);padding:12px 18px;border-radius:12px;color:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800;transition:transform .16s,background .16s}.btn:hover{background:#087f69;transform:translateY(-1px)}.btn.light{background:white;border-color:var(--line);color:var(--ink)}.btn.soft{background:#e4f7ee;border-color:#d8f2e9;color:#078e71}.btn.small{padding:9px 12px;font-size:12px}.hero{overflow:hidden;background:radial-gradient(ellipse at 88% 20%,#e3fff3 0,transparent 42%),linear-gradient(145deg,#eafaf2,#f8fcfb);border-bottom:1px solid #dbefe6;padding:68px 0 60px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr);align-items:center;gap:40px}.eyebrow{color:#018f72;font-size:11px;font-weight:950;letter-spacing:2px;text-transform:uppercase}.hero h1{font-size:clamp(37px,5vw,66px);line-height:1.07;letter-spacing:-2.5px;margin:18px 0;max-width:780px}.hero h1 span{color:#05997c}.lead{font-size:16px;line-height:1.7;color:#5a7f73;max-width:650px}.hero-art{position:relative;background:linear-gradient(145deg,#087e69,#063f39);border-radius:36px;padding:29px;min-height:280px;box-shadow:0 22px 58px #00513d2e;color:white}.hero-art:after{content:'✦';position:absolute;right:25px;top:20px;font-size:90px;color:#a0ffe563}.art-circle{width:115px;height:115px;border-radius:32px;background:#ffffff27;display:grid;place-items:center;font-size:70px;margin-bottom:18px}.art-num{font-size:21px;font-weight:900;letter-spacing:-.5px}.art-note{color:#d0f9e8;font-size:12px;margin:10px 0}.card{background:white;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:23px}.search{margin-top:-26px;position:relative;z-index:2}.search-grid{display:grid;grid-template-columns:1.4fr .85fr .85fr .85fr auto;gap:10px;align-items:end}.field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:11px;color:#587d72;font-weight:790}.field input,.field select,.field textarea{width:100%;border:1px solid #d6eae1;background:#fbfffd;border-radius:11px;padding:12px 13px;min-height:45px;color:#154638;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#08ab87;box-shadow:0 0 0 3px #0ac0921d}.field textarea{resize:vertical;min-height:86px}.georow{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;flex-wrap:wrap}.geo-status{font-size:12px;color:var(--muted)}section.content{padding:35px 0}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:19px}.section-heading h2{font-size:27px;letter-spacing:-1.2px;margin:0}.muted{color:var(--muted)}.small{font-size:12px}.clinic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.clinic-card{background:white;border:1px solid var(--line);border-radius:21px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}.clinic-photo{height:145px;display:grid;place-items:center;background:linear-gradient(135deg,#c4f2df,#89d8bd);color:#126853;font-size:62px}.clinic-info{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}.clinic-info h3{font-size:17px;letter-spacing:-.5px;margin:0}.clinic-info p{color:#64857a;font-size:12px;line-height:1.55;margin:0}.clinic-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.chip{font-size:11px;display:inline-flex;padding:8px 11px;border-radius:10px;background:#edf9f1;color:#147d62;font-weight:760}.empty{text-align:center;padding:45px 20px;background:white;border:1px dashed #bbd9cb;border-radius:22px;color:var(--muted)}.empty b{display:block;color:var(--dark);font-size:19px;margin:8px 0}.dashboard-layout{padding-top:27px;display:grid;grid-template-columns:270px minmax(0,1fr);gap:19px;align-items:start}.sidebar{position:sticky;top:97px}.avatar{width:46px;height:46px;border-radius:14px;background:#d6f7e8;display:grid;place-items:center;color:#05816c;font-weight:900}.side-title{font-size:18px;font-weight:880}.side-item{display:flex;align-items:center;padding:12px 14px;border-radius:12px;font-size:13px;font-weight:780;color:#5c8074;gap:10px}.side-item.active,.side-item:hover{color:#058c71;background:#e7f8ee}.dash-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px}.dash-head h1{font-size:31px;letter-spacing:-1.3px;margin:0 0 5px}.id-tile{background:linear-gradient(125deg,#0b6452,#053d37);border-radius:22px;padding:25px;color:white;display:flex;align-items:center;justify-content:space-between;gap:16px}.id-tile small{color:#bdf5e0;font-weight:750;letter-spacing:1px}.id-tile strong{display:block;font-size:clamp(17px,2.8vw,27px);letter-spacing:.5px;margin:8px 0}.columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.heading-mini{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.heading-mini h2{margin:0;font-size:17px}.row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eaf4ef;font-size:13px}.row:last-child{border:0}.row small{color:var(--muted)}.status{display:inline-flex;align-items:center;border-radius:9px;padding:6px 9px;color:#127f68;background:#e9f7f0;font-size:11px;font-weight:780}.status.wait{color:#a16a32;background:#fff3e1}.status.danger{color:#a74957;background:#fff0f1}.tooth-grid{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:3px}.tooth-bubble{display:grid;place-items:center;gap:1px;border:1px solid transparent;border-radius:9px;padding:8px 1px;color:#568177;background:#f5fbf8;font-size:10px;font-weight:840}.tooth-bubble.done{background:#d9f5e6;color:#008468}.toast{padding:11px 14px;margin:16px 0;border-radius:12px;background:#e8f7ef;border:1px solid #bdecd5;color:#126c55;font-size:13px}.form-page{max-width:530px;margin:48px auto 80px}.form-page h1{margin:0 0 7px;font-size:31px;letter-spacing:-1px}.stack{display:grid;gap:15px}.footer{padding:32px 0;margin-top:40px;border-top:1px solid var(--line);color:#76968b;font-size:12px}.mini-note{font-size:11px;line-height:1.6;color:#6b8c80}.warning{border:1px solid #f4debe;background:#fff8ed;color:#89642f;border-radius:12px;padding:13px 14px;font-size:12px;line-height:1.55} @media(max-width:1050px){.search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-grid .btn{height:45px}.clinic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{grid-template-columns:minmax(0,1fr) minmax(240px,.7fr)}.dashboard-layout{grid-template-columns:210px 1fr}}@media(max-width:760px){.wrap{padding:0 15px}.head{height:64px}.brand{font-size:22px}.nav{gap:8px}.nav>a.textlink{display:none}.nav .btn{font-size:11px;padding:9px 10px}.hero{padding:38px 0 62px}.hero-grid{grid-template-columns:1fr;gap:20px}.hero h1{font-size:38px;letter-spacing:-1.7px}.lead{font-size:14px}.hero-art{min-height:180px;padding:20px;border-radius:25px}.art-circle{width:80px;height:80px;border-radius:22px;font-size:46px;margin-bottom:9px}.search{margin-top:-40px}.card{padding:17px}.search-grid{grid-template-columns:1fr 1fr;gap:9px}.search-grid .field:first-child{grid-column:1/-1}.search-grid .btn{grid-column:1/-1}.clinic-grid{grid-template-columns:1fr}.section-heading h2{font-size:23px}.dashboard-layout{display:block}.sidebar{display:none}.dash-head h1{font-size:25px}.columns{grid-template-columns:1fr}.tooth-grid{gap:1px}.tooth-bubble{font-size:8px;padding:5px 0}.id-tile{padding:20px;flex-wrap:wrap}.id-tile strong{font-size:20px}.form-page{margin:27px auto}.hide-on-mobile{display:none}} 

/* ORBADENT V8.1 */
.role-switch{display:flex;align-items:center;padding:4px;background:#e4f5ed;border:1px solid #cfecdf;border-radius:999px;gap:3px}.role-switch a{padding:9px 13px;border-radius:999px;font-size:12px;font-weight:800;color:#4b766a;white-space:nowrap}.role-switch a.active,.role-switch a:hover{background:#078f72;color:#fff;box-shadow:0 3px 10px #096d5222}.chat-list{height:320px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:8px;background:#f5faf7;border-radius:12px}.message{align-self:flex-start;max-width:88%;background:#fff;border:1px solid #deebe5;padding:12px 14px;border-radius:12px;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.message.mine{background:#dff8e9;align-self:flex-end}.message small{display:block;color:#6e9587;font-size:10px;margin-bottom:4px}@media(max-width:760px){.role-switch a{font-size:11px;padding:8px 10px}.nav .textlink{display:none}}

.floating-chat{position:fixed;bottom:20px;right:19px;z-index:31;padding:12px 17px;border-radius:999px;background:#058e72;color:#fff;font-size:13px;font-weight:850;box-shadow:0 9px 32px #0058404d;display:flex;align-items:center;gap:7px}@media(max-width:760px){.floating-chat{right:12px;bottom:11px;padding:11px 13px;font-size:11px}}

/* V8.4: HTML hidden wins over display:grid/flex on patient forms */
[hidden]{display:none!important}

.toast.error{background:#fff0f1;border-color:#f2c6cb;color:#9c3344}

/* ORBADENT V8.9.6 — patient brand, navigation and footer */
.brand .ob-brand-img{width:43px;height:43px;object-fit:contain;border-radius:12px;flex:0 0 43px;box-shadow:0 5px 13px #116c521a}
.ob-patient-footer{margin-top:54px;background:#fafdff;min-height:96px}
.ob-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.ob-footer-signature{font-weight:800;font-size:12px;letter-spacing:.1px;color:#476a5f}
.ob-footer-tools{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.ob-footer-support{font-weight:800;color:#087b65;border-radius:8px;padding:9px 3px}
.ob-footer-support:hover{color:#04523f;text-decoration:underline}
.ob-footer-language{display:inline-flex;align-items:center;min-height:36px}
.ob-footer-language .ob86-switch-label{border-color:#d1e9dc;border-radius:11px;box-shadow:0 4px 14px #0c70520a}
.ob-footer-language .ob86-switch{position:static!important;box-shadow:none!important}
@media(max-width:760px){.brand .ob-brand-img{width:37px;height:37px;flex-basis:37px}.ob-patient-footer{margin-top:34px;padding:24px 0}.ob-footer-inner{align-items:flex-start;flex-direction:column;gap:13px}.ob-footer-tools{width:100%;justify-content:space-between}.ob-footer-signature{font-size:11px}}

/* ORBADENT V10.1 patient portal */
:root{--dark:#103b35;--ink:#173b35;--mint:#08785e;--bg:#f1f7f5;--muted:#526d65;--line:#d7e8e1;--shadow:0 6px 24px #123e3010}
.card{border-radius:20px}.btn{border-radius:12px}.btn:hover{background:#065b48}.nav{flex-wrap:wrap}.head{height:auto;min-height:75px;padding-block:10px}.card,.wrap{min-width:0} @media(max-width:600px){.head{flex-wrap:wrap}.nav{gap:8px}.card{padding:14px}.wrap{padding-inline:12px}.brand{font-size:22px}}

/* ORBADENT Emerald Premium — shared visual tokens, no change to clinical status colors */
:root{--ep-deep:#063e32;--ep-green:#087856;--ep-green2:#07956b;--ep-ink:#143a32;--ep-muted:#526e64;--ep-line:#dbe9e3;--ep-bg:#f3f8f5;--ep-mint:#e0f5eb;--ep-shadow:0 5px 20px rgba(9,67,47,.065);color-scheme:light}
body{background-color:var(--ep-bg)!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;min-width:0!important}
:where(h1,h2,h3,h4){letter-spacing:-.025em;line-height:1.25;overflow-wrap:break-word}
:where(.muted,.hint,.small-note){color:var(--ep-muted)}
:where(.card,.panel,.box,.stat,.ob10-panel,.ob10-stat){min-width:0;border-radius:15px;box-shadow:var(--ep-shadow);border-color:var(--ep-line)}
:where(input,select,textarea,button){font-family:inherit;max-width:100%;min-width:0}
:where(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=file]),select,textarea){border-radius:10px;border-color:#d1e2d9}
:where(.btn,.primary,.outline-btn,.small-btn,.ob10-btn){border-radius:10px;line-height:1.35;overflow-wrap:anywhere;max-width:100%}
:where(.btn.primary,.primary,.btn.green,.btn.blue,.ob10-btn.primary){background:linear-gradient(150deg,#09845e,#056d4c);border-color:#087856;color:#fff}
:where(.tableWrap,.table-wrap,.table-scroll,.ob10-table-scroll){max-width:100%;overflow-x:auto}
:where(img,video){max-width:100%}
:focus-visible{outline:3px solid #169b76;outline-offset:2px}
[hidden]{display:none!important}
@media(max-width:760px){:where(.wrap,.container,.main,.ob10-main){min-width:0;max-width:100%}:where(.card,.panel,.box,.stat,.ob10-panel,.ob10-stat){border-radius:14px}:where(.btn,.primary,.outline-btn,.ob10-btn){min-height:44px;white-space:normal}:where(input,select,textarea){font-size:16px}:where(.tableWrap,.table-wrap,.table-scroll,.ob10-table-scroll){overscroll-behavior-inline:contain}}
/* Emerald Premium — patient portal */
:root{--dark:#063e32;--ink:#143a32;--mint:#087856;--mint2:#07956b;--bg:#f3f8f5;--muted:#526e64;--line:#dbe9e3;--shadow:0 5px 20px #09432f0d}
body{background:#f3f8f5!important}.head{gap:12px;min-height:68px;height:auto;padding-block:10px}.head .brand{color:#063e32}.nav{min-width:0;flex-wrap:wrap}.nav .btn{white-space:normal}.card{border-radius:15px;border-color:#dbe9e3;box-shadow:0 5px 20px #09432f0d}.btn{border-radius:10px}.sidebar{border-radius:16px;background:linear-gradient(150deg,#063e32,#07583f);color:#e9f6ee}.sidebar a{color:#e9f6ee}.sidebar a:hover{background:#0b805b;color:white}.sidebar a.active{background:#0b805b;color:white}.sidebar .muted{color:#c4e0d3}.dashboard-layout>*{min-width:0}.dash-head h1{letter-spacing:-.035em}.id-tile{border-radius:16px}.ob-patient-footer{background:#fff;border-top:1px solid #dbe9e3}.ob13-panel,.ob13-intro{border-radius:16px!important}.ob13-intro{background:linear-gradient(145deg,#063e32,#087554)!important;color:#fff!important}.ob13-intro h1,.ob13-intro p,.ob13-intro .ob13-tag{color:#fff!important}.ob13-primary{background:#087856!important;border-radius:10px!important}
@media(max-width:760px){.head{gap:8px;min-height:60px;flex-wrap:wrap}.head .brand{font-size:18px}.brand .ob-brand-img{width:32px;height:32px;flex-basis:32px}.head .nav{gap:6px}.head .nav .btn{min-height:40px;padding:8px 10px;font-size:12px}.dashboard-layout{display:block}.dashboard-layout .sidebar{display:none}.card{padding:14px}.ob13-auth{min-width:0}.ob13-intro,.ob13-panel{min-width:0;max-width:100%}.ob-footer-tools{gap:8px;justify-content:flex-start}.dash-head h1{font-size:23px}.id-tile{padding:16px}}
