
/* dental.css */
:root{--ink:#33273e;--muted:#7b7086;--purple:#803bc1;--pink:#cc4cab;--line:#eadcf2;--soft:#f6f0fb;--gradient:linear-gradient(120deg,#793ccc 0%,#ad43b6 53%,#e461a9 100%);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:15px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 4% 5%,#f5e8f7,transparent 45%),radial-gradient(ellipse at 98% 28%,#eee6fb,transparent 40%),#fcfaff}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9460c5;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h2{font-size:27px;margin-bottom:8px}h3{font-size:19px;margin-bottom:9px}p{line-height:1.6;color:var(--muted)}small{display:block;color:var(--muted);line-height:1.5}.icon{width:23px;height:23px;flex:none}button .icon{pointer-events:none}.skip{position:fixed;left:12px;top:-100px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.demo-bar{display:flex;justify-content:center;align-items:center;gap:12px;min-height:42px;padding:8px 16px;background:#352442;color:#f9edff;font-size:11px}.demo-bar span:not(.demo-dot){color:#d9cbe3}.demo-dot{width:6px;height:6px;border-radius:50%;background:#e9a8d8}.text-button{padding:4px 8px;color:inherit;text-decoration:underline;text-underline-offset:4px;background:none;border:0;font-size:11px}.topbar{width:min(1280px,94vw);margin:24px auto;min-height:116px;display:flex;align-items:center;gap:28px;padding:22px 26px;border:1px solid var(--line);border-radius:28px;background:radial-gradient(ellipse at 83% 40%,#e9d6f6aa,transparent 45%),linear-gradient(105deg,#fff,#fcf3fa);box-shadow:0 16px 36px #773c9910}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;background:white;border:1px solid #eddef3;padding:12px 17px;border-radius:21px;box-shadow:0 8px 24px #6f368b09}.brand img{width:56px;height:56px;object-fit:contain;border-radius:14px}.brand strong{display:block;font-size:23px;font-weight:800;letter-spacing:-.055em;background:var(--gradient);background-clip:text;-webkit-background-clip:text;color:transparent}.brand-product{display:block;font:26px/1.05 Georgia,serif;letter-spacing:-.04em;color:#c026a3}.top-caption{display:grid;gap:8px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.14em;color:#a450a6}.top-caption>span:last-child{font-size:15px;font-weight:600}.avatar-button{margin-left:auto;display:flex;align-items:center;gap:12px;border:0;background:#f0e3f9;color:#8344b1;border-radius:17px;padding:12px 15px;font-weight:800}.avatar-button>span{font-size:12px;font-weight:700;text-align:left}.avatar-button small{font-size:10px;font-weight:400;margin-top:3px}main{width:min(1280px,94vw);margin:0 auto;padding-bottom:125px;min-height:60vh}.hero{position:relative;display:grid;grid-template-columns:1.6fr 1fr;gap:40px;padding:38px;border-radius:32px;background:radial-gradient(circle at 17% 1%,#ffffff28,transparent 35%),var(--gradient);color:white;overflow:hidden;box-shadow:0 22px 48px #ad419728;margin-bottom:20px}.hero:before{content:'';position:absolute;pointer-events:none;width:470px;height:470px;top:-360px;left:37%;border-radius:50%;border:1px solid #ffffff2c;box-shadow:0 0 0 62px #ffffff08,0 0 0 122px #ffffff06}.hero-copy{align-self:center}.hero-tag{display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.17em;font-weight:750;background:#ffffff18;border:1px solid #ffffff36;border-radius:30px;padding:7px 12px}.hero-tag .icon{width:17px;height:17px}.hero h1{font-size:clamp(32px,3.1vw,44px);line-height:1.1;font-weight:780;letter-spacing:-.045em;margin:23px 0 13px}.hero p{color:#fff0fc;font-size:14px;max-width:530px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:11px 17px;border-radius:13px;border:1px solid transparent;line-height:1.3;font-weight:700;font-size:12px;transition:transform .15s,box-shadow .15s}.btn:hover{transform:translateY(-1px);box-shadow:0 6px 15px #65388016}.btn.primary{background:var(--gradient);color:white}.btn.secondary{background:#f5edf9;border-color:#e6d6ef;color:#7b42a9}.btn.white{background:white;color:#8641b7}.btn.glass{background:#ffffff1c;border-color:#ffffff40;color:white}.hero-actions .btn{min-width:175px;min-height:66px;justify-content:flex-start;text-align:left;border-radius:18px;gap:12px}.btn strong{display:block;font-size:13px}.btn small{font-size:11px;margin-top:3px;color:inherit;opacity:.8}.btn.link{background:none;padding:8px 0;color:#903fb7;align-self:flex-start}.hero-focus{background:#fff7fcf2;border:1px solid #ffffffa3;border-radius:25px;padding:24px;color:var(--ink);display:flex;flex-direction:column;justify-content:center;box-shadow:0 15px 35px #73358312}.focus-label{display:flex;align-items:center;justify-content:space-between;padding-bottom:17px;border-bottom:1px solid #eadcec;color:#94739d;font-size:10px;letter-spacing:.14em;font-weight:800;margin-bottom:18px}.focus-label .icon{color:#a848bf}.hero-focus h3{font-size:34px;color:#793bab;margin:0 0 8px}.hero-focus>strong{font-size:17px}.hero-focus p{color:var(--muted);font-size:12px;margin:9px 0 12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.metric{display:flex;align-items:center;gap:13px;padding:19px;background:#ffffffb8;border:1px solid var(--line);border-radius:22px}.icon-tile{display:grid;place-items:center;width:47px;height:47px;border-radius:16px;background:#f0e6fd;color:#8c49c5;flex:none}.metric.orange .icon-tile{background:#fff0e2;color:#dc8930}.metric.teal .icon-tile{background:#e4f6ef;color:#299c8d}.metric.pink .icon-tile{background:#fbe8f4;color:#ce4c98}.metric>div>span{font-size:11px;font-weight:600;color:#85758e}.metric strong{font-size:26px;display:block;margin:3px 0 0;line-height:1.1}.metric small{font-size:10px;margin-top:5px}.card{background:#ffffffd9;border:1px solid var(--line);border-radius:24px;padding:27px;box-shadow:0 12px 35px #65418008}.home-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.section-heading .eyebrow{display:block;margin-bottom:8px}.section-heading h2{font-size:25px}.section-heading p{margin:0;font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.appointment{display:flex;align-items:center;gap:20px;padding:18px 0;border-top:1px solid #f0e8f5}.appointment time{width:77px;font-size:14px;font-weight:800;color:#8b45b6;flex:none}.appointment time small{font-size:10px;font-weight:400}.appointment>div{flex:1}.appointment strong{font-size:13px}.appointment p{font-size:11px;margin:5px 0 8px}.badge{display:inline-block;padding:5px 9px;border-radius:30px;background:#f2eafa;color:#8450a3;font-size:10px;font-weight:650;line-height:1.25}.badge.success{background:#e5f6f0;color:#218366}.icon-button{border:0;background:#f6f0fb;color:#9763b0;border-radius:12px;width:36px;height:36px;display:grid;place-items:center}.quick{display:flex;width:100%;align-items:center;gap:13px;text-align:left;background:none;border:0;padding:15px 0;border-top:1px solid #f0e8f5}.quick>span:nth-child(2){flex:1}.quick strong{font-size:13px;display:block}.quick small{font-size:11px;margin-top:4px}.quick>.icon{width:18px;color:#b796c5}.journey{padding:26px 12px}.journey>div{display:flex;gap:16px;justify-content:space-between;margin-top:16px}.journey>div>span{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;color:#806f8b}.journey b{font-size:11px;border:1px solid #e8dced;padding:7px;border-radius:9px;color:#b681bb}.bottom-nav{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);display:flex;justify-content:space-around;width:min(1280px,94vw);background:#fffffff5;backdrop-filter:blur(16px);border:1px solid var(--line);padding:10px;border-radius:23px;z-index:10;box-shadow:0 -8px 40px #71399315}.bottom-nav a{display:flex;flex:1;align-items:center;flex-direction:column;gap:5px;text-decoration:none;color:#92849d;font-size:10px;font-weight:650;padding:0 5px}.bottom-nav a>span{width:37px;height:37px;border-radius:13px;display:grid;place-items:center;background:#f3eafa;color:#a05ac7}.bottom-nav a:nth-child(2)>span{background:#e6f6f0;color:#2a9d82}.bottom-nav a:nth-child(3)>span{background:#fff1e1;color:#d48c2e}.bottom-nav a:nth-child(4)>span{background:#e5f4fa;color:#399bbb}.bottom-nav a:nth-child(5)>span{background:#fce8f4;color:#c961a5}.bottom-nav a[aria-current=page]{color:#8341ad}.bottom-nav a[aria-current=page]>span{color:white;background:var(--gradient);box-shadow:0 5px 12px #a4409629}.patient-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px}.patient-list{padding:17px;align-self:start}.search-label{font-size:11px}.patient-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:13px 8px;margin-top:8px;border:1px solid transparent;border-radius:14px;background:transparent}.patient-item.selected{background:#f5eefa;border-color:#e7d5f1}.patient-item[hidden]{display:none}.patient-item strong{font-size:11px;display:block;line-height:1.5}.patient-item small{font-size:10px}.initials{display:grid;place-items:center;background:linear-gradient(130deg,#f1e5fc,#fce9f3);color:#9d57b1;width:37px;height:37px;border-radius:12px;font-size:12px;font-weight:750;flex:none}.initials.large{width:59px;height:59px;font-size:20px;border-radius:19px}.patient-header{display:flex;align-items:center;gap:16px;padding:5px 4px 21px}.patient-header>div:nth-child(2){flex:1}.patient-header h2{font-size:24px;margin:5px 0}.patient-header p{font-size:11px;margin:0}.record{min-width:0}.record-tabs{display:flex;gap:5px;overflow-x:auto;padding:6px;background:#eee5f5;border-radius:15px;margin-bottom:16px}.record-tabs button{border:0;background:none;color:#827088;font-weight:600;font-size:11px;padding:11px 12px;border-radius:11px;white-space:nowrap;flex:1}.record-tabs button[aria-current=page]{background:white;color:#8242ad;box-shadow:0 3px 10px #824aa20c}.record-content{padding:25px}.summary-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 28px}.summary-cards>div{border:1px solid var(--line);background:#faf6fc;border-radius:17px;padding:18px}.summary-cards span{display:block;font-size:11px;color:var(--muted)}.summary-cards strong{display:block;font-size:17px;margin:10px 0}.summary-cards small{font-size:11px}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:30px}.shortcut-grid .btn{justify-content:flex-start;font-size:11px}.empty{text-align:center;padding:32px 16px;color:#b395c3}.empty>.icon{width:32px;height:32px;margin-bottom:14px}.empty h3{font-size:16px;color:#826e8f}.empty p{font-size:12px;max-width:420px;margin:0 auto}.timeline{list-style:none;padding:0 0 0 12px;border-left:2px solid #eadcf2}.timeline li{position:relative;padding:12px}.timeline li:before{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#ba73c3;top:16px;left:-17px}.timeline strong{font-size:12px}.timeline small{font-size:10px;margin-top:5px}label{display:block;font-size:11px;font-weight:650;color:#76617f}input,select,textarea{display:block;width:100%;border:1px solid #e1d5e8;border-radius:11px;background:#fdfbff;min-height:43px;padding:10px 12px;color:var(--ink);font-size:12px;margin-top:7px;line-height:1.5}textarea{resize:vertical;min-height:83px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:15px 0 22px}fieldset{border:1px solid #e9dfef;border-radius:17px;margin:0 0 22px;padding:18px}legend{font-size:12px;font-weight:750;color:#9553ac;padding:0 7px}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.form-footer>span{font-size:11px;color:var(--muted)}.hint{font-size:11px;line-height:1.6;margin:16px 0;color:#8c7b95}.history-versions{margin-top:24px;font-size:12px}.history-versions summary{cursor:pointer;color:#9650b3}.history-versions article{padding:15px;background:#faf7fd;border:1px solid var(--line);border-radius:12px;margin-top:12px}.history-versions pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.8 inherit;color:#80708b}.chart-controls{display:flex;gap:15px}.chart-controls label{flex:1}.orientation{display:flex;justify-content:space-between;font-size:10px;color:#8a7393;margin-top:22px;padding:12px 0;border-top:1px solid var(--line)}.chart-scroll{overflow:auto;border:1px solid var(--line);border-radius:17px;padding:14px;background:linear-gradient(180deg,#fdfbff,#f9f3fc)}.odontogram{min-width:760px}.tooth-row{display:flex;justify-content:center;gap:3px;margin:4px 0 16px}.tooth{flex:1;max-width:46px;padding:7px 1px 4px;border:1px solid transparent;border-radius:10px;background:white;color:#b4a7bd;display:flex;align-items:center;flex-direction:column;gap:7px}.tooth>span{font-size:10px;font-weight:700;color:#8d7999}.tooth .icon{width:29px;height:33px}.tooth small{font-size:9px;min-height:12px;color:inherit}.tooth.selected{border-color:#9d60c3;background:#f3e7fb;box-shadow:0 3px 8px #7d379c15}.tooth.finding{color:#d3699a}.tooth.existing{color:#3e94b2}.tooth.planned{color:#b3852a}.tooth.done{color:#299882}.tooth.missing{color:#948d99;opacity:.6}.tooth.review{color:#8b60a8}.primary-row{padding:0 80px}.legend{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0 22px}.legend>span{display:flex;gap:6px;align-items:center;font-size:9px;color:#85718f}.legend i{width:7px;height:7px;background:#9465b7;border-radius:50%}.legend .finding i{background:#d3699a}.legend .existing i{background:#3e94b2}.legend .planned i{background:#b3852a}.legend .done i{background:#299882}.legend .missing i{background:#948d99}.chart-editor{display:grid;grid-template-columns:155px 1fr;gap:20px}.chart-editor>div{background:#f7effb;padding:18px;border-radius:17px;align-self:start}.chart-editor h3{font-size:45px;color:#9457b4;margin:10px 0}.chart-editor p{font-size:11px}.chart-editor fieldset{padding:15px}.surface-options{display:flex;gap:7px}.surface-options label{display:flex;align-items:center;gap:5px;background:#faf6fd;border:1px solid var(--line);border-radius:8px;padding:7px;font-size:10px}.surface-options input{width:14px;height:14px;min-height:0;padding:0;margin:0;accent-color:#9e4cc0}.recorded-points p{font-size:12px;padding:10px;border-bottom:1px solid var(--line)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}th{font-size:10px;color:#8d7497;background:#faf6fd;white-space:nowrap}th,td{padding:12px 10px;border-bottom:1px solid #eadff0;vertical-align:middle}td small{font-size:10px;margin-top:3px}.perio-table{min-width:680px;margin:12px 0}.perio-table input,.perio-table select{min-width:57px;padding:7px;font-size:10px;margin:0}.perio-table th:first-child{min-width:145px}.plan-totals{display:flex;justify-content:flex-end;gap:12px;margin:24px 0}.plan-totals>div{background:#f8f0fb;border:1px solid var(--line);border-radius:13px;padding:15px;min-width:135px}.plan-totals span{display:block;font-size:10px;color:#94749f}.plan-totals strong{display:block;font-size:20px;margin-top:6px;color:#8d49ac}.clinical-note{border:1px solid var(--line);border-radius:18px;padding:22px;margin:18px 0}.clinical-note h3{font-size:15px;margin:14px 0 7px}.clinical-note p{white-space:pre-wrap;font-size:12px;margin:14px 0}.clinical-note aside{border-left:3px solid #bd8bcb;background:#faf4fe;padding:15px;margin:20px 0}.clinical-note aside strong{font-size:10px}.paper{max-width:730px;background:white;border:1px solid #e4d9eb;border-radius:4px;padding:35px;box-shadow:0 12px 28px #7443840a;margin:0 auto}.watermark{font-size:9px;letter-spacing:.15em;color:#bc9ac7;text-align:center;border-bottom:1px solid #efdef5;padding-bottom:14px;margin-bottom:25px}.paper header{display:flex;gap:13px;align-items:center;margin-bottom:35px}.paper header img{width:55px;height:55px}.paper header strong{display:block;color:#943bbc;font-size:23px;letter-spacing:-.04em}.paper header span{font:23px Georgia,serif;color:#c026a3}.paper header h3{font-size:15px;margin:14px 0 4px}.paper header p{font-size:10px;margin:0}.paper h2{font-size:17px;padding-top:20px;border-top:1px solid var(--line)}.paper p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.paper footer{border-top:1px solid var(--line);padding-top:18px;font-size:10px;color:#9a8aa4;margin-top:40px}.roadmap-note{display:flex;align-items:center;gap:16px;background:#f5eefb;border-radius:16px;padding:18px;margin-top:24px;color:#ab70ba}.roadmap-note p{font-size:11px;margin:0}.date-filter{max-width:230px;margin-bottom:22px}.agenda-controls{border-top:1px solid var(--line);padding-top:18px}.agenda-controls>div{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:10px 0;font-size:12px;color:#93809e}.plan-patients article{display:flex;gap:16px;align-items:center;border-top:1px solid var(--line);padding:22px 0}.plan-patients article>div{flex:1}.plan-patients h3{font-size:16px}.plan-patients p{font-size:12px;margin:0}.clinic-preview{display:flex;align-items:center;gap:18px;padding:28px;background:linear-gradient(120deg,#f4ebfa,#fff0f8);border-radius:20px;margin-bottom:30px}.clinic-preview h3{font-size:24px}.clinic-preview p{margin:0;font-size:13px}.roadmap-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.roadmap-grid article{border:1px solid var(--line);border-radius:17px;padding:23px}.roadmap-grid .icon{color:#ab5dbc;vertical-align:middle;margin-right:10px}.roadmap-grid h3{font-size:17px;margin-top:22px}.roadmap-grid p{font-size:12px;margin:0}dialog{width:min(670px,94vw);max-height:90vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:25px;padding:26px;box-shadow:0 25px 100px #38214d44;color:var(--ink)}dialog::backdrop{background:#29143966;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-top button{border:0;background:#f5eafa;color:#9958b3;border-radius:50%;width:33px;height:33px;font-size:24px}.dialog-top .eyebrow{font-size:9px}dialog h2{font-size:25px}dialog p{font-size:12px}dialog form>label{margin-bottom:16px}dialog form>.btn{margin-top:15px;width:100%}.form-error{color:#a33567;background:#fdeaf3;border-radius:10px;padding:12px}#toast{position:fixed;bottom:105px;left:50%;transform:translateX(-50%) translateY(10px);max-width:90vw;background:#43304f;color:white;padding:12px 18px;border-radius:13px;font-size:12px;box-shadow:0 10px 30px #36243e22;z-index:50;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translateX(-50%)}
@media(min-width:1450px){.hero{min-height:350px}}@media(max-width:1050px){.top-caption{display:none}.metrics{grid-template-columns:repeat(2,1fr)}.patient-layout{grid-template-columns:215px minmax(0,1fr)}.patient-header h2{font-size:20px}.section-heading{align-items:flex-start}.section-heading h2{font-size:22px}.chart-editor{grid-template-columns:1fr}.chart-editor>div{display:flex;align-items:center;gap:20px}.chart-editor h3{font-size:32px;margin:0}.chart-editor>div p{margin:0;max-width:330px}.journey>div{flex-wrap:wrap}.record-content{padding:20px}.plan-totals>div{min-width:0;flex:1}.plan-totals strong{font-size:17px}}
@media(max-width:760px){.demo-bar{flex-wrap:wrap;gap:5px 10px;font-size:10px}.demo-bar span:not(.demo-dot){flex-basis:100%;text-align:center;order:2;font-size:9px}.demo-bar .text-button{font-size:9px}.topbar{margin:15px auto;padding:14px;min-height:90px;border-radius:23px;gap:10px}.brand{padding:9px 12px;border-radius:15px;gap:8px}.brand img{width:39px;height:39px}.brand strong{font-size:18px}.brand-product{font-size:21px}.avatar-button{padding:12px;font-size:12px}.avatar-button>span{display:none}.hero{grid-template-columns:1fr;padding:25px;gap:24px;border-radius:25px}.hero h1{font-size:34px}.hero p{font-size:13px}.hero-actions{gap:9px}.hero-actions .btn{flex:1;min-width:0;min-height:59px;padding:12px;gap:8px;border-radius:14px}.hero-actions .btn strong{font-size:11px}.hero-actions .btn small{font-size:9px}.hero-actions .btn>.icon{width:19px}.hero-focus{padding:20px;border-radius:19px}.hero-focus h3{font-size:27px}.focus-label{padding-bottom:11px;margin-bottom:12px}.hero-focus .btn{font-size:12px}.metrics{gap:9px}.metric{padding:14px 11px;gap:9px;border-radius:17px}.metric .icon-tile{width:35px;height:35px;border-radius:11px}.metric .icon{width:19px}.metric>div>span{font-size:9px}.metric strong{font-size:22px}.metric small{font-size:9px}.home-grid{grid-template-columns:1fr;gap:16px}.card{padding:22px;border-radius:22px}.section-heading{gap:12px;flex-wrap:wrap}.section-heading h2{font-size:23px}.section-heading>.actions{width:100%}.appointment{gap:12px}.appointment time{width:65px;font-size:12px}.appointment strong{font-size:12px}.journey{padding:25px 4px}.journey>div>span{font-size:10px;width:45%}.patient-layout{grid-template-columns:1fr}.patient-list{padding:14px}.patient-list #patientResults{display:flex;overflow-x:auto;gap:7px}.patient-item{min-width:160px;max-width:190px}.patient-header{padding-top:7px;gap:10px;flex-wrap:wrap}.patient-header h2{font-size:20px}.patient-header>.badge{margin-left:auto}.patient-header .eyebrow{font-size:8px}.patient-header p{font-size:10px}.patient-header .large{width:46px;height:46px;font-size:16px}.record-content{padding:18px}.record-tabs{gap:0}.record-tabs button{font-size:10px;padding:10px}.summary-cards{grid-template-columns:1fr;gap:10px}.summary-cards strong{font-size:16px}.shortcut-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr;gap:16px}fieldset{padding:14px}.form-footer{flex-direction:column;align-items:stretch}.form-footer .btn{font-size:11px}.chart-controls{flex-direction:column}.orientation{font-size:9px}.chart-editor>div{flex-wrap:wrap;padding:15px;gap:12px}.chart-editor>div .eyebrow{font-size:8px}.surface-options{gap:5px}.surface-options label{font-size:9px;padding:6px}.chart-editor>div p{width:100%;font-size:10px}.plan-totals{gap:7px}.plan-totals>div{padding:10px 7px}.plan-totals span{font-size:8px}.plan-totals strong{font-size:13px}.paper{padding:22px}.paper header strong{font-size:20px}.paper header img{width:42px;height:42px}.paper header h3{font-size:13px}.watermark{font-size:8px;letter-spacing:.08em}.plan-patients article{flex-wrap:wrap;gap:12px}.plan-patients article>.btn{margin-left:49px}.roadmap-grid{grid-template-columns:1fr}.clinic-preview{padding:20px;gap:10px}.clinic-preview h3{font-size:19px}.clinic-preview p{font-size:11px}.agenda-controls>div{flex-wrap:wrap;font-size:10px}.bottom-nav{bottom:8px;border-radius:20px;padding:9px 5px;padding-bottom:max(9px,env(safe-area-inset-bottom))}.bottom-nav a{font-size:9px;padding:0 2px}.bottom-nav a>span{width:33px;height:33px;border-radius:11px}.bottom-nav .icon{width:21px;height:21px}dialog{padding:20px;border-radius:20px}dialog .form-grid{grid-template-columns:1fr}main{padding-bottom:110px}#toast{font-size:11px;text-align:center;width:max-content;bottom:96px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{.demo-bar,.topbar,.bottom-nav,.patient-list,.record-tabs,.patient-header,.section-heading,.roadmap-note{display:none}main,.patient-layout,.record{display:block;width:100%;padding:0}.record-content{border:0;padding:0;box-shadow:none}.paper{box-shadow:none;border:0;padding:0}.watermark{color:#333}body{background:white}}
[hidden]{display:none!important}.auth-mode .bottom-nav,.auth-mode #logout,.auth-mode #clinicButton{display:none}.auth-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:center;min-height:65vh;padding:28px 0}.auth-intro{background:var(--gradient);border-radius:36px;padding:58px 40px;color:white;position:relative;overflow:hidden}.auth-intro:after{content:'';position:absolute;width:450px;height:450px;border:1px solid #ffffff29;border-radius:50%;right:-220px;top:-150px;box-shadow:0 0 0 80px #ffffff07;pointer-events:none}.auth-intro h1{font-size:clamp(38px,4vw,56px);line-height:1.08;margin:30px 0 22px}.auth-intro p{color:#fff0fb;max-width:440px}.auth-features{display:grid;gap:22px;margin-top:44px}.auth-features span{display:flex;gap:15px;align-items:center}.auth-card{padding:36px}.auth-card form{display:grid;gap:18px}.auth-card h2{margin:15px 0 28px}.auth-links{display:flex;justify-content:space-between;gap:14px;margin-top:22px;flex-wrap:wrap}.form-error{color:#a01d43;white-space:pre-wrap;margin:0}.registration-card{max-width:800px;margin:40px auto}.patient-selector{max-width:480px;margin-bottom:24px}.cash-metrics{grid-template-columns:repeat(3,1fr);margin:24px 0}.cash-metrics .metric strong{font-size:25px}.document-text,.clinical-note p{white-space:pre-wrap}.paper header p{font-size:12px}.paper footer{margin-top:65px}.bottom-nav{grid-template-columns:repeat(6,1fr)}.patient-item strong{overflow-wrap:anywhere}.patient-header .eyebrow{font-size:11px}
@media(max-width:760px){.auth-layout{grid-template-columns:1fr;gap:18px;padding-top:0}.auth-intro{padding:30px 24px}.auth-intro h1{font-size:36px}.auth-features{gap:15px;margin-top:25px}.auth-card{padding:26px 20px}.cash-metrics{grid-template-columns:1fr}.bottom-nav a{font-size:10px;padding:8px 4px}.bottom-nav .icon{width:21px}.top-caption{display:none}.registration-card{margin:20px 0}.topbar{gap:10px}.brand strong{font-size:24px}.auth-intro .hero-tag{font-size:10px}}
@media print{body>*{display:none!important}body>dialog[open]{display:block!important;position:static;border:0;margin:0;padding:0;width:100%;max-width:none;max-height:none;overflow:visible}dialog::backdrop{display:none}dialog .dialog-top,#dialogBody>h2,#dialogBody>button{display:none!important}.paper{box-shadow:none!important;border:0!important;margin:0;padding:0}.paper>*{break-inside:avoid}body{background:white}.paper header{border-bottom:1px solid #ddd;padding-bottom:18px}.paper img{max-width:70px}}
/* Shared patient portal and professional operations. */
.billing-provider{display:flex;align-items:center;gap:18px;margin:24px 0;padding:22px;border:1px solid #e9d0e7;border-radius:20px;background:linear-gradient(115deg,#faf4ff,#fff2f8)}
.billing-provider-copy{flex:1;min-width:0}.billing-provider h3{margin:6px 0;font-size:22px;overflow-wrap:anywhere}.billing-provider p{font-size:12px;margin:0}
.billing-provider .icon-tile{color:#b42c94;background:#fbe5f4}.billing-provider .actions{max-width:100%;min-width:0}.billing-provider a{text-decoration:none;overflow-wrap:anywhere;max-width:290px}
.billing-provider-fields{display:grid;gap:16px;min-width:0;border:1px solid #ead8ee;border-radius:16px;margin:10px 0 0;padding:20px}.billing-provider-fields legend{font-size:14px;font-weight:750;color:#9b358e;padding:0 6px}.billing-provider-fields p{font-size:12px;margin:0}.billing-provider-fields small{font-size:11px}
@media(max-width:760px){.topbar{flex-wrap:wrap}.billing-provider{align-items:flex-start;flex-wrap:wrap;padding:20px;gap:12px}.billing-provider .actions{width:100%;flex-wrap:wrap;flex-shrink:1}.billing-provider a{max-width:100%}.billing-provider h3{font-size:20px}.billing-provider-fields{padding:16px}}
.portal-hero{min-height:190px;display:block}.portal-hero h1{font-size:clamp(28px,4vw,46px)}.portal-content{max-width:1000px;margin:24px auto}.portal-nav{border:0;background:transparent;padding:16px 20px;color:var(--muted,#786985);font:inherit;cursor:pointer;border-radius:18px}.portal-nav[aria-current]{background:#f5e6f8;color:#9c228e;font-weight:800}.portal-request{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid #eee0f4}.portal-request strong{overflow-wrap:anywhere}.portal-request p{margin:6px 0}.portal-content hr{border:0;border-top:1px solid #eee0f4;margin:28px 0}.portal-content form{margin-top:20px}.portal-content form>.btn{margin-top:16px}.muted{color:#76687f;font-size:14px;line-height:1.6}.share-link{overflow-wrap:anywhere;background:#faf4ff;border:1px solid #e7d5f3;border-radius:14px;padding:16px}.file-list .clinical-note{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.file-list .file-info{flex:1;min-width:180px}.file-list .file-info strong{overflow-wrap:anywhere}.patient-list-more{width:100%;margin-top:12px}.clinic-switch{max-width:260px;padding:10px;border-radius:12px;border:1px solid #dccbea;background:white;font:inherit}.form-error:empty{display:none}.conflict-notice{padding:15px;border:1px solid #dda5c9;border-radius:12px;background:#fff5fb;margin:12px 0}.team-status{font-size:12px;color:#7b667b}@media(max-width:640px){.portal-request{align-items:flex-start;flex-direction:column}.portal-nav{font-size:13px;padding:12px}.portal-content{padding:20px}.clinic-switch{max-width:100%;width:100%}}
.topbar .text-button{border:1px solid #e7d3ef;background:#fff9ff;color:#843ca9;border-radius:14px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer}

.auth-mode #refreshPanel{display:none}

.dental-trial-offer{position:relative;text-align:center;margin-top:30px;padding:24px 15px;border:1px solid #ffffff65;border-radius:23px;background:linear-gradient(110deg,#ffffff1c,#ffcee421);box-shadow:0 10px 35px #5d096515}.dental-trial-offer>span{display:block;font-size:10px;letter-spacing:.18em;font-weight:800;margin-bottom:10px;color:#fff0fa}.dental-trial-offer>strong{font-family:Georgia,'Times New Roman',serif;font-size:28px;line-height:1.15;font-weight:400}.dental-trial-offer b{font-size:38px;line-height:1.35;color:#ffe6c9}.auth-intro .auth-features{margin-top:28px}

/* The access photograph blends into Dental's own purple and fuchsia palette. */
.auth-mode main{padding-bottom:42px}
.auth-layout{gap:32px;padding-top:8px;align-items:center}
.auth-intro{padding:315px 36px 34px;background:linear-gradient(135deg,#7336ae 25%,#982e9f 68%,#c43894);box-shadow:0 22px 50px #8e3b9822}
.auth-intro:after{display:none}
.auth-photo{position:absolute;inset:0 0 auto;height:410px;pointer-events:none;mask-image:linear-gradient(to bottom,#000 58%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 58%,transparent 100%)}
.auth-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 38%}
.auth-intro-copy{position:relative}
.auth-intro h1{font-size:clamp(34px,3.3vw,46px);margin:20px 0 14px;max-width:480px}
.auth-intro p{font-size:14px;max-width:440px;margin-bottom:0}
.auth-intro .auth-features{gap:14px;margin-top:24px;font-size:13px}
.auth-features .icon{width:20px;height:20px}
.auth-card{padding:32px}
.auth-card .dental-trial-offer{margin:0 0 28px;padding:21px 15px;border-color:#efd0ea;background:linear-gradient(115deg,#f8efff,#fff0f7);box-shadow:none;color:#8434aa}
.auth-card .dental-trial-offer>span{color:#a3338b}
.auth-card .dental-trial-offer>strong{font-size:27px}
.auth-card .dental-trial-offer b{color:#c026a3;font-size:35px}
@media(max-width:760px){
 .auth-mode .topbar{margin:14px auto;min-height:96px;padding:15px 18px}
 .auth-layout{gap:20px;padding-top:0}
 .auth-intro{padding:225px 24px 26px;border-radius:27px}
 .auth-photo{height:300px}
 .auth-intro h1{font-size:34px;margin:16px 0 12px;max-width:340px}
 .auth-intro .auth-features{gap:11px;margin-top:20px;font-size:12px}
 .auth-card{padding:26px 22px}
 .auth-card .dental-trial-offer{margin-bottom:25px}
 .auth-card .dental-trial-offer>strong{font-size:25px}
 .auth-card .dental-trial-offer b{font-size:32px}
}

.dental-trial-offer .subscription-price{margin:14px 0 0;color:#753691;font-size:20px;font-weight:750;line-height:1.4}

/* access-family-v1.css */
/* Bernard Health: shared public entrance. Scoped to the access layout only. */
:is(#authView,#authGate,body.auth-mode):has(.bh-entry){--bh-ink:#393142;--bh-muted:#786e80;--bh-line:#e8ddef;--bh-gradient:linear-gradient(125deg,#793ac2 0%,#a343b7 58%,#ce529f 100%);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(ellipse at 0 0,#eedff9,transparent 52%),radial-gradient(ellipse at 100% 95%,#f9e6f1,transparent 50%),#fcf9ff;color:var(--bh-ink)}
:is(#authView,#authGate):has(.bh-entry){padding:32px 24px;align-items:start;overflow:auto}
body.auth-mode:has(.bh-entry){padding:32px 24px}
body.auth-mode:has(.bh-entry)>main{width:100%;margin:0;min-height:0;padding:0}
body.auth-mode:has(.bh-entry)>.topbar{display:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:0;width:min(1180px,100%);max-width:1180px;margin:0 auto;padding:0;min-height:0;border:1px solid var(--bh-line);border-radius:28px;overflow:hidden;align-items:stretch;background:#fff;box-shadow:0 22px 64px #69388714}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-story,.auth-intro,.senior-auth-story){position:relative;isolation:isolate;display:block;min-width:0;min-height:0;padding:0;border:0;border-radius:0;overflow:hidden;box-shadow:none;color:white;background:var(--bh-gradient)}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-intro,.senior-auth-story)::after{display:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-photo{position:relative;inset:auto;height:auto;aspect-ratio:auto;overflow:hidden;mask-image:none;-webkit-mask-image:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-photo::after{display:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-photo,.auth-photo img,.senior-auth-story>img){position:relative;inset:auto;z-index:auto;display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center top;opacity:1;filter:none;mask-image:linear-gradient(#000 0%,#000 76%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 76%,transparent 100%)}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story,.auth-intro-copy,.senior-auth-copy){position:relative;margin:0;padding:12px 36px 36px;background:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story>h2,.auth-intro-copy>h1,.senior-auth-copy>h1){margin:22px 0 16px;font:750 clamp(30px,3.2vw,42px)/1.12 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.04em;color:#fff;text-shadow:none;max-width:100%}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story,.auth-intro-copy,.senior-auth-copy)>p{font-size:15px;line-height:1.65;margin:0 0 24px;color:#fff2ff;text-shadow:none;max-width:440px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story>.eyebrow,.hero-tag,.senior-auth-copy>span){display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;font-size:10px;font-weight:750;line-height:1.5;letter-spacing:.12em;color:#fff;padding:7px 11px;border:1px solid #ffffff45;border-radius:10px;background:#ffffff12}
:is(#authView,#authGate,body.auth-mode) .bh-entry .hero-tag svg{height:18px;width:18px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-features,.senior-auth-tags){display:grid;gap:12px;margin-top:24px;font-size:13px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-features>span,.senior-auth-tags>span){display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #ffffff35;border-radius:14px;background:#ffffff0c;color:#fff;font-size:13px;line-height:1.5}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card{width:100%;min-width:0;margin:0;padding:36px;align-self:stretch;border:0;border-radius:0;background:#fff;box-shadow:none;color:var(--bh-ink);text-align:left}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin:0 0 28px;padding:0;background:none;border:0;box-shadow:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand img{display:block;width:62px;height:62px;margin:0;border-radius:16px;object-fit:contain}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand strong{display:block;font-size:27px;line-height:1.15;font-weight:800;letter-spacing:-.055em;background:var(--bh-gradient);background-clip:text;-webkit-background-clip:text;color:transparent}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand :is(h1,span){display:block;margin:0;font:400 30px/1.1 Georgia,"Times New Roman",serif;letter-spacing:-.035em;color:#c026a3}
#authView .bh-entry #welcomeTitle{color:#85818e}
#authGate .bh-entry .bh-brand span{color:#ad7a16}
body.auth-mode .bh-entry .bh-brand:has(+.nurse-trial-offer) span{color:#b44266}
#authView .bh-entry #welcomeText{margin:-12px 0 24px;font-size:13px;color:var(--bh-muted);text-align:left}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo,.dental-trial-offer,.nurse-trial-offer,.senior-trial-offer){position:relative;isolation:isolate;overflow:hidden;margin:0 0 28px;padding:24px;border:1px solid #ffffff70;border-radius:20px;background:var(--bh-gradient);box-shadow:0 10px 28px #8737b51a;text-align:center;color:#fff}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo,.dental-trial-offer,.nurse-trial-offer,.senior-trial-offer)::before{content:"";position:absolute;z-index:-1;right:-95px;top:-135px;width:210px;height:210px;border:1px solid #ffffff25;border-radius:50%;box-shadow:0 0 0 38px #ffffff06,0 0 0 76px #ffffff04;pointer-events:none}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.trial-promo-kicker,.dental-trial-offer>span,.nurse-trial-offer>span,.senior-trial-offer>span){display:block;margin:0 0 14px;padding:0;border:0;border-radius:0;background:none;font:750 9px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.12em;color:#fff}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo>h2,.dental-trial-offer>strong,.nurse-trial-offer>h2,.senior-trial-offer>strong){display:block;font:750 27px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.035em;color:white;margin:0}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo h2>span,.professional-trial-promo h2 strong,.dental-trial-offer b,.senior-trial-offer b){display:block;font-size:34px;line-height:1.25;font-weight:800;color:#fff;margin:3px 0 0}
#authView .bh-entry .professional-trial-promo h2>span{display:flex;gap:8px;align-items:baseline;font-size:24px}
:is(#authView,#authGate,body.auth-mode) .bh-entry .subscription-price{display:block;width:fit-content;max-width:100%;margin:18px auto 0;padding:7px 13px;border-radius:10px;background:#fff5fb;font-size:17px;font-weight:650;color:#786e80;line-height:1.4}
#authView .bh-entry .trial-promo-cta{margin-top:18px;border-radius:12px;min-height:48px;font-size:15px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-card>h2,.auth-card>h3,.auth-intro h2,.access-heading h2){font-size:26px;line-height:1.25;letter-spacing:-.035em;color:var(--bh-ink);margin:0 0 12px;font-weight:750}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card label{display:block;font-size:13px;font-weight:650;line-height:1.5;color:#665c70;margin:16px 0 7px}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card :is(input:not([type="checkbox"]),select){display:block;width:100%;height:48px;min-height:48px;margin:7px 0 0;padding:11px 14px;border:1px solid #ded2e7;border-radius:12px;background:#fdfbff;color:#393142;box-shadow:none;font:400 16px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.btn.primary,.auth-primary){width:100%;min-height:48px;padding:12px 18px;margin-top:20px;border:0;border-radius:12px;background:var(--bh-gradient);box-shadow:0 7px 20px #7637b31a;color:#fff;font-size:15px;line-height:1.4;font-weight:750}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-links button,.auth-secondary){display:block;width:100%;min-height:44px;padding:10px 14px;border:1px solid #e7d9ef;border-radius:12px;background:#fcf8ff;color:#7c3dae;font-size:14px;font-weight:650;text-align:center;text-decoration:none;white-space:normal}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-links{display:grid;gap:10px;margin-top:16px}
:is(#authView,#authGate,body.auth-mode) .bh-entry :is(button,input,select,a):focus-visible{outline:3px solid #9766c6;outline-offset:3px}
#authGate .bh-entry .auth-intro{background:none;color:var(--bh-ink)}
#authGate .bh-entry .auth-intro p{font-size:14px;color:var(--bh-muted);line-height:1.6}
#authGate .bh-entry .auth-form label:has(input[type="checkbox"]){display:flex;align-items:center;gap:9px}
#authGate .bh-entry .auth-form input[type="checkbox"]{width:18px;height:18px;min-height:0;accent-color:#853fba}
#authGate .bh-entry .auth-secondary{margin-top:14px}
@media(max-width:800px){
 :is(#authView,#authGate):has(.bh-entry),body.auth-mode:has(.bh-entry){padding:16px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry{grid-template-columns:1fr;max-width:600px;border-radius:24px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card{padding:28px 24px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story,.auth-intro-copy,.senior-auth-copy){padding:8px 24px 28px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story>h2,.auth-intro-copy>h1,.senior-auth-copy>h1){font-size:32px;margin:18px 0 14px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand strong{font-size:25px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand :is(h1,span){font-size:28px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand img{width:54px;height:54px;border-radius:14px}
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.professional-trial-promo,.dental-trial-offer,.nurse-trial-offer,.senior-trial-offer){padding:23px 18px;border-radius:20px}
}
@media(prefers-reduced-motion:reduce){.bh-entry *{animation:none!important;transition:none!important}}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-card form{display:block}
:is(#authView,#authGate,body.auth-mode) .bh-entry .auth-links{grid-template-columns:1fr;align-items:stretch}
:is(#authView,#authGate,body.auth-mode) .bh-entry .bh-brand:has(+.nurse-trial-offer) span{color:#b44266}
:is(#authView,#authGate,body.auth-mode) .bh-entry .nurse-trial-offer h2 b{display:block;font-size:34px;line-height:1.25;font-weight:800;color:#fff;margin:3px 0 0}
:is(#authView,#authGate,body.auth-mode) .bh-entry .welcome-story>h2{max-width:440px}
/* Senior's legacy gate includes important declarations; keep these overrides scoped. */
#authGate:has(.bh-entry){padding:32px 24px!important}
#authGate .bh-entry .auth-card{margin:0!important;width:100%!important;border-radius:0!important;padding:36px!important}
#authGate .bh-entry .bh-brand{margin-bottom:28px!important}
@media(max-width:800px){#authGate:has(.bh-entry){padding:16px!important}#authGate .bh-entry .auth-card{padding:28px 24px!important}}
@media(max-width:800px){
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.auth-features,.senior-auth-tags,.story-features,.story-signature){display:none}
 :is(#authView,#authGate,body.auth-mode) .bh-entry :is(.welcome-story,.auth-intro-copy,.senior-auth-copy)>p{display:block;font-size:14px;margin-bottom:0}
}

/* consent-workflow.css */
.consent-intro,.consent-upload{padding:18px;margin:4px 0 22px;border:1px solid #eaddef;border-radius:18px;background:linear-gradient(120deg,#faf3ff,#fff6fa)}.consent-intro p,.consent-upload p{font-size:13px;line-height:1.55}.consent-upload label{display:block;margin:16px 0}.consent-upload small{display:block;color:#7b7086}.consent-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.consent-fields .full,.consent-fields>label:first-child{grid-column:1/-1}.consent-fields label{min-width:0}.consent-fields textarea[name=text]{min-height:230px}.consent-paper-details h3{font-size:13px;margin:16px 0 5px}.consent-paper-details p{white-space:pre-wrap}.consent-signatures{margin-top:22px;border-top:1px solid #ddd;padding-top:18px;break-inside:avoid}.consent-dialog .form-footer{position:sticky;bottom:0;background:white;padding-top:14px;border-top:1px solid #eaddef}.consent-upload input[type=file]{height:auto;min-height:48px;max-width:100%;padding:12px}.consent-upload select{max-width:100%}.consent-upload h3{font-size:19px}.consent-evidence{padding:14px;background:#f9f2fc;border-radius:12px;margin-top:12px}.consent-evidence strong{overflow-wrap:anywhere}@media(max-width:600px){.consent-fields{grid-template-columns:1fr}.consent-dialog{padding:18px}.consent-intro,.consent-upload{padding:14px}}@media print{.consent-signatures{break-inside:avoid}.consent-paper-details{break-inside:auto!important}.consent-paper-details section{break-inside:avoid}.document-text{break-inside:auto!important}}

dialog.consent-dialog{padding:0;overflow:hidden;max-height:calc(100dvh - 32px)}dialog.consent-dialog[open]{display:flex;flex-direction:column}.consent-dialog .dialog-top{flex:none;padding:18px 24px;margin:0;border-bottom:1px solid #eaddef;background:linear-gradient(115deg,#fcf8ff,#fff7fc)}.consent-dialog #dialogBody{display:flex;flex-direction:column;min-height:0;padding:20px 24px;overflow:hidden}.consent-dialog #dialogBody>h2{flex:none;margin-bottom:18px}.consent-dialog #dialogBody form{display:flex;flex-direction:column;min-height:0;overflow:hidden}.consent-dialog .consent-scroll{overflow:auto;min-height:0;scrollbar-width:thin;padding-right:4px}.consent-dialog .form-footer{flex:none;position:static;margin-top:16px;padding:16px 0 0}.consent-dialog .form-footer button{margin:0}.consent-dialog .form-error{flex:none}@media(max-width:600px){dialog.consent-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.consent-dialog #dialogBody{padding:16px}.consent-dialog .dialog-top{padding:12px 16px}.consent-dialog #dialogBody>h2{font-size:23px}}

/* header-family-v1.css */
/* Shared product banner; decorative layers never intercept controls. */
html body header.bh-product-header{
 --bh-accent:#b86322;--bh-tint:#ad5518;--bh-filter:none;
 position:relative!important;isolation:isolate;box-sizing:border-box;
 display:block!important;width:min(1380px,92vw)!important;height:360px!important;min-height:360px!important;
 max-width:none!important;margin:24px auto!important;padding:0!important;overflow:hidden;
 border:1px solid #e8d9ed!important;border-radius:30px!important;
 background:#faf5f7!important;box-shadow:0 16px 42px #56306714!important;
 color:#392848!important;top:auto!important;gap:0!important;z-index:auto;
}
html body header.bh-product-header::before,html body header.bh-product-header::after{display:none!important}
html body header.bh-product-header[data-bh-product="medical"]{--bh-accent:#777582;--bh-tint:#888491;--bh-filter:grayscale(1) brightness(1.55)}
html body header.bh-product-header[data-bh-product="dental"]{--bh-accent:#c026a3;--bh-tint:#aa247f;--bh-filter:hue-rotate(275deg) saturate(.8)}
html body header.bh-product-header[data-bh-product="nurse"]{--bh-accent:#b44266;--bh-tint:#a94264;--bh-filter:hue-rotate(305deg) saturate(.58) brightness(1.1)}
html body header.bh-product-header[data-bh-product="nutri"]{--bh-accent:#52772c;--bh-tint:#5b7b34;--bh-filter:hue-rotate(55deg) saturate(.52) brightness(1.02)}
html body header.bh-product-header[data-bh-product="senior"]{--bh-accent:#a67813;--bh-tint:#ac851a;--bh-filter:hue-rotate(18deg) saturate(.7) brightness(1.3)}
.bh-header-art{position:absolute;inset:0;pointer-events:none;z-index:0;background:var(--bh-tint)}
.bh-header-art::before{content:"";position:absolute;inset:0 35% 0 0;background:url('assets/technology-connections-v1.png') center/cover no-repeat;filter:var(--bh-filter)}
.bh-header-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 24%,var(--bh-tint) 70%);opacity:.25}
.bh-header-photo{position:absolute;inset:0 0 0 42%;z-index:1;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 28%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 28%)}
.bh-header-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 16%;border-radius:0!important;max-width:none}
[data-bh-product="senior"] .bh-header-photo img{object-position:center top}
[data-bh-product="medical"] .bh-header-photo{inset-inline-start:34%}
[data-bh-product="medical"] .bh-header-photo img{object-position:right center}
.bh-header-watermark{position:absolute;z-index:2;pointer-events:none;inset:0 52% 0 0;display:flex;align-items:center;justify-content:center;padding:15px;box-sizing:border-box;color:#fff;opacity:.15;font:400 clamp(38px,4.8vw,70px)/1 Georgia,'Times New Roman',serif;letter-spacing:-.055em;white-space:nowrap;text-shadow:none;user-select:none}
html body .bh-product-header .bh-header-content{position:relative;z-index:3;box-sizing:border-box;width:49%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:14px;padding:25px 28px;background:none}
html body .bh-product-header .bh-header-content>:is(.brand,.brand-card){display:flex!important;flex:none!important;align-items:center;gap:12px;width:fit-content;max-width:100%!important;min-width:0;margin:0!important;padding:12px 16px!important;background:#ffffffed!important;border:1px solid #ffffffb3!important;border-radius:22px!important;box-shadow:0 8px 28px #4c273a12;box-sizing:border-box;text-decoration:none;color:#392848}
html body .bh-product-header :is(.brand,.brand-card) img{width:52px!important;height:52px!important;object-fit:contain!important;padding:0!important;flex-shrink:0;border-radius:14px!important;background:#fff}
html body .bh-product-header :is(.brand>span,.brand>div,.brand-copy){min-width:0}
html body .bh-product-header :is(.brand strong:not(.product),.brand b,.brand-name,.brand-copy h1){display:block;font:800 25px/1.1 system-ui,sans-serif!important;letter-spacing:-.065em!important;margin:0!important;background:linear-gradient(90deg,#7939c4,#de4b9e)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;white-space:nowrap}
html body .bh-product-header .brand b>span{color:inherit}
html body .bh-product-header :is(.brand-product,.product-name,.brand .product){display:block;font:400 30px/1.1 Georgia,'Times New Roman',serif!important;letter-spacing:-.045em!important;text-transform:none!important;color:var(--bh-accent)!important;margin:2px 0 0!important}
html body .bh-product-header :is(.brand h1,.brand-card h1){margin:0!important;line-height:1.1}
html body .bh-product-header :is(.brand small,.brand-card small){color:#6e6078!important;font-size:11px!important;line-height:1.3;max-width:100%;margin-top:5px;overflow-wrap:anywhere}
.bh-header-lower{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
html body .bh-product-header .top-caption{align-self:flex-start!important;text-align:left!important;display:grid!important;gap:5px;margin:0!important;padding:10px 14px!important;max-width:100%!important;min-width:0;background:#fff0e8ed!important;border-radius:14px;box-shadow:0 5px 20px #54291a0a;color:#423047!important;box-sizing:border-box}
html body .bh-product-header .top-caption .eyebrow{color:#805b69!important;font-size:9px!important;letter-spacing:.12em}
html body .bh-product-header .top-caption>span:last-child{font-size:14px!important;line-height:1.35;overflow-wrap:anywhere;font-weight:650}
.bh-header-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;min-width:0}
html body .bh-product-header :is(.actions,.top-actions){display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:8px;width:100%!important;max-width:none!important;min-width:0;flex:initial!important;margin:0!important}
html body .bh-product-header :is(button,select){box-sizing:border-box;max-width:100%;min-width:0;min-height:40px!important;height:auto;margin:0!important;padding:9px 13px!important;border:1px solid #ece0f1!important;border-radius:13px!important;background:#fffffff2!important;color:#653b81!important;font:700 12px/1.3 system-ui,sans-serif!important;box-shadow:0 4px 12px #48213510;cursor:pointer;text-decoration:none;white-space:normal;flex:none}
html body .bh-product-header select{max-width:250px;padding-right:28px!important}
html body .bh-product-header button[hidden]{display:none!important}
html body .bh-product-header :is(.header-date,.mc-clock){display:none!important}
html body .bh-product-header .avatar-button{display:flex;align-items:center;gap:8px;width:auto!important}
html body .bh-product-header .avatar-button small{display:none}
html body .bh-product-header #clinicName{display:block;color:#49334f;background:#ffffffeb;border-radius:10px;padding:8px 11px;font-size:13px;overflow-wrap:anywhere}
html body .bh-product-header #clinicName:empty{display:none}
html body .bh-product-header :is(button,select,a):focus-visible{outline:3px solid #663399;outline-offset:3px}
@media(min-width:1500px){html body header.bh-product-header{height:400px!important;min-height:400px!important}.bh-header-watermark{font-size:76px}}
@media(max-width:959px){
 html body header.bh-product-header{width:94vw!important;height:520px!important;min-height:520px!important;border-radius:26px!important;margin:18px auto!important}
 .bh-header-photo,[data-bh-product="medical"] .bh-header-photo{inset:0 0 auto;height:245px;mask-image:linear-gradient(0deg,transparent,#000 20%);-webkit-mask-image:linear-gradient(0deg,transparent,#000 20%)}
 .bh-header-photo img{object-position:center 18%}
 .bh-header-art::before{inset:165px 0 0}
 .bh-header-art::after{background:linear-gradient(0deg,transparent,var(--bh-tint));opacity:.13}
 .bh-header-watermark{inset:235px 0 0;font-size:clamp(45px,8vw,74px);align-items:center;opacity:.13}
 html body .bh-product-header .bh-header-content{width:100%;height:295px;margin-top:225px;padding:14px 23px 20px;gap:12px}
 html body .bh-product-header .bh-header-lower{gap:10px}
}
@media(max-width:480px){
 html body header.bh-product-header{height:500px!important;min-height:500px!important;border-radius:24px!important;margin:14px auto!important}
 .bh-header-photo,[data-bh-product="medical"] .bh-header-photo{height:210px}
 .bh-header-art::before{inset:150px 0 0}
 .bh-header-watermark{inset:190px 0 0;font-size:49px;letter-spacing:-.065em}
 html body .bh-product-header .bh-header-content{height:305px;margin-top:195px;padding:13px 17px 19px;gap:9px}
 html body .bh-product-header .bh-header-content>:is(.brand,.brand-card){padding:10px 12px!important;gap:10px;border-radius:18px!important}
 html body .bh-product-header :is(.brand,.brand-card) img{width:43px!important;height:43px!important}
 html body .bh-product-header :is(.brand strong:not(.product),.brand b,.brand-name,.brand-copy h1){font-size:22px!important}
 html body .bh-product-header :is(.brand-product,.product-name,.brand .product){font-size:27px!important}
 html body .bh-product-header :is(button,select){font-size:11px!important;padding:9px 11px!important}
 html body .bh-product-header select{max-width:100%}
 html body .bh-product-header .top-caption{padding:8px 11px!important}
}
@media(max-width:959px){[data-bh-product="medical"] .bh-header-photo{height:auto;aspect-ratio:2.5;mask-image:linear-gradient(0deg,transparent,#000 22%);-webkit-mask-image:linear-gradient(0deg,transparent,#000 22%)}[data-bh-product="medical"] .bh-header-photo img{width:100%;height:auto;object-fit:contain}}
html body header.bh-product-header[hidden]{display:none!important}
html body.auth-mode:has(.bh-entry)>header.bh-product-header{display:none!important}
@media print{html body header.bh-product-header{display:none!important}}

/* Product identity is limited to the main welcome surface. */
body:has(.bh-product-header[data-bh-product="medical"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#566170;--bh-principal-b:#727e8f;--bh-principal-c:#aebac8;--bh-principal-light:#e4ecf7;--bh-principal-shadow:86,97,112;}
body:has(.bh-product-header[data-bh-product="dental"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#a02382;--bh-principal-b:#c836a0;--bh-principal-c:#ec6bb1;--bh-principal-light:#ffd6ef;--bh-principal-shadow:188,64,137;}
body:has(.bh-product-header[data-bh-product="nurse"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#a32f68;--bh-principal-b:#c44a83;--bh-principal-c:#e781aa;--bh-principal-light:#ffdfec;--bh-principal-shadow:174,61,114;}
body:has(.bh-product-header[data-bh-product="nutri"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#226347;--bh-principal-b:#348762;--bh-principal-c:#77b891;--bh-principal-light:#def8e9;--bh-principal-shadow:42,115,80;}
body:has(.bh-product-header[data-bh-product="physio"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#a64d1f;--bh-principal-b:#c77736;--bh-principal-c:#e4a363;--bh-principal-light:#ffe8c6;--bh-principal-shadow:188,114,37;}
body:has(.bh-product-header[data-bh-product="senior"]) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {--bh-principal-a:#785316;--bh-principal-b:#987020;--bh-principal-c:#d6b956;--bh-principal-light:#fff0ba;--bh-principal-shadow:161,126,39;}
html body:has(.bh-product-header) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome) {
 position:relative;
 isolation:isolate;
 overflow:hidden;
 background:
  radial-gradient(ellipse at 28% -22%,#ffffff42,transparent 56%),
  linear-gradient(124deg,transparent 0%,transparent 61%,#ffffff12 61.1%,#ffffff04 73%,transparent 73.1%),
  linear-gradient(124deg,transparent 60.8%,#ffffff2b 61%,transparent 61.2%,transparent 73%,#ffffff21 73.1%,transparent 73.3%),
  linear-gradient(112deg,var(--bh-principal-a) 0%,var(--bh-principal-b) 52%,var(--bh-principal-c) 100%) !important;
 border:1px solid var(--bh-principal-light) !important;
 box-shadow:inset 0 1px 0 #ffffffb3,inset 0 0 0 1px #ffffff15,inset 0 -1px 0 #ffffff30,0 18px 42px rgba(var(--bh-principal-shadow),.18) !important;
}
html body:has(.bh-product-header) :is(#main > .hero, .mc-hero, .ph-hero, #mainContent > .admin-welcome)::before {border-color:#ffffff45;pointer-events:none;}

/* Agenda card inherits only the containing welcome banner identity. */
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) {
 --bh-agenda-ink:color-mix(in srgb,var(--bh-principal-a) 38%,#24303a);
 --bh-agenda-muted:color-mix(in srgb,var(--bh-principal-a) 25%,#657080);
 --bh-agenda-line:color-mix(in srgb,var(--bh-principal-a) 17%,white);
 --bh-agenda-wash:color-mix(in srgb,var(--bh-principal-a) 7%,white);
 background:linear-gradient(145deg,#ffffff 0%,var(--bh-agenda-wash) 100%);
 color:var(--bh-agenda-ink);
 border:1px solid color-mix(in srgb,var(--bh-principal-light) 55%,white);
 box-shadow:inset 0 1px 0 #fff,0 14px 32px rgba(var(--bh-principal-shadow),.12);
}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(h1,h2,h3,strong,b) {color:var(--bh-agenda-ink);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(p,small) {color:var(--bh-agenda-muted);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(.eyebrow,.ph-eyebrow,.focus-label,.mc-focus-top span), html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) > small {color:var(--bh-principal-a);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(.focus-label,.mc-focus-top) {border-color:var(--bh-agenda-line);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next).mc-focus > strong, html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next).hero-focus h3, html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next).ph-next > strong, html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) > b {color:var(--bh-principal-a);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(.focus-count,.mc-focus-top b) {background:linear-gradient(120deg,var(--bh-principal-a),var(--bh-principal-b));color:#fff;box-shadow:inset 0 1px 0 #ffffff44;}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(button,a) {color:var(--bh-principal-a);border-color:var(--bh-agenda-line);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(.btn.link,.mc-focus-link) {background:transparent;border-color:transparent;}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next).ph-next .btn {background:#fff;}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(button,a):hover {background:var(--bh-agenda-wash);color:var(--bh-principal-a);}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) :is(button,a):focus-visible {outline:3px solid var(--bh-principal-a);outline-offset:3px;}
html body:has(.bh-product-header) :is(.mc-hero > .mc-focus, #main > .hero > aside, .ph-hero > .ph-next) .focus-label svg {color:var(--bh-principal-a);}

/* White actions in the welcome surface follow the same product accent. */
html body:has(.bh-product-header) :is(.mc-hero, #main > .hero, .ph-hero) :is(.hero-actions .btn.white,.mc-hero-action.primary,.ph-actions .btn,.actions > button,.actions > .button) {
 color:var(--bh-principal-a);
 border-color:var(--bh-principal-light);
 background:#fff;
}
html body:has(.bh-product-header) .mc-hero .mc-hero-action.primary small {color:var(--bh-principal-a);opacity:.78;}
html body:has(.bh-product-header) :is(.mc-hero, #main > .hero, .ph-hero) :is(.hero-actions .btn.white,.mc-hero-action.primary,.ph-actions .btn,.actions > button,.actions > .button):focus-visible {outline:3px solid var(--bh-principal-light);outline-offset:3px;}

/* bh-access.css */
/* Shared access controls; signed-in product layouts retain their own styling. */
.bh-password{position:relative;display:block;width:100%;min-width:0}.bh-password input{width:100%;box-sizing:border-box;padding-right:3.6rem!important}.bh-password .bh-eye{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:10px;border:0;border-radius:12px;background:transparent;color:#695079;cursor:pointer;box-shadow:none}.bh-eye svg{width:24px;height:24px}.bh-eye:focus-visible{outline:3px solid #8c49bb;outline-offset:1px}.bh-eye[aria-pressed=true]{background:#eee4f7}
.bh-unified-access{max-width:540px;min-width:0}.bh-unified-access h2{font-size:clamp(1.6rem,3vw,2rem);margin:12px 0}.bh-email-form{display:grid;gap:18px}.bh-email-form label{display:grid;gap:8px;font-size:16px;line-height:1.5}.bh-email-form input{font:inherit;min-height:50px;padding:12px 14px;border:1px solid #d9c9e8;border-radius:14px;min-width:0;max-width:100%;box-sizing:border-box}.bh-email-form .primary{min-height:50px;width:100%;font-size:17px}.bh-access-instruction{line-height:1.6}.bh-unified-access .auth-links{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.bh-unified-access .auth-links button{min-height:44px;padding:10px 14px;border:1px solid #dfcfec;background:#faf6ff;border-radius:12px;color:#724692;font:inherit;cursor:pointer}.bh-unified-access .muted{line-height:1.55;font-size:15px}.auth-mode .auth-card,.auth-layout .auth-card{min-width:0}.auth-mode .auth-links{flex-wrap:wrap}.bh-login-help{font-size:16px;line-height:1.6;margin:16px 0}
@media(max-width:768px){.auth-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}.auth-layout .auth-card{width:100%;box-sizing:border-box;padding:24px!important}.auth-layout input,.auth-layout select{min-width:0;max-width:100%;box-sizing:border-box;font-size:16px}.auth-layout label{min-width:0;line-height:1.5}.auth-layout .form-grid{grid-template-columns:minmax(0,1fr)}.auth-layout .auth-intro h1{font-size:clamp(28px,7vw,40px)}}

#authView [hidden],.auth-layout [hidden]{display:none!important}

/* remember-user.css */
form label.bh-remember-user{display:flex!important;align-items:center;gap:12px;min-height:44px;margin:8px 0 16px;padding:4px 0;font:inherit;font-size:15px;line-height:1.5;font-weight:500;color:inherit;text-align:left;cursor:pointer;grid-column:1/-1}
form label.bh-remember-user>input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 20px;width:20px!important;height:20px!important;min-height:20px!important;max-width:20px;padding:0!important;margin:0!important;accent-color:#943bb7}
form label.bh-remember-user>span{min-width:0;overflow-wrap:break-word}

/* product-access-theme.css */
/* Product identity is limited to signed-out access and registration. */
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]){--access-color:#d54bb7;--access-dark:#8b246f;--access-tint:#fff1fc;--access-light:#f6bde9;--access-gradient:linear-gradient(125deg,#8b246f,#d54bb7);--access-line:color-mix(in srgb,#d54bb7 32%,white)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]):has(.auth-layout),#authGate:has(.bh-entry){background:radial-gradient(ellipse at 0 0,var(--access-light),transparent 55%),var(--access-tint)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) :is(.auth-layout,.bh-entry){border-color:var(--access-line);box-shadow:0 22px 64px color-mix(in srgb,var(--access-color) 12%,transparent)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card{background:linear-gradient(145deg,#fff,var(--access-tint));border-color:var(--access-line)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .bh-entry :is(.auth-story,.auth-intro,.senior-auth-story){background:linear-gradient(135deg,var(--access-dark),var(--access-color))}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial){background:var(--access-gradient);border-color:var(--access-line);color:#fff;box-shadow:0 10px 28px color-mix(in srgb,var(--access-color) 20%,transparent)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial) :is(h2,h2 span,h2 strong,strong,b,.eyebrow),:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial)>span{color:inherit}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.professional-trial-promo,[class$="-trial-offer"],.auth-trial) :is(.subscription-price,p){background:#ffffffed;color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.bh-brand span,.bh-brand h1,.auth-brand b),#authView .bh-entry #welcomeTitle{color:var(--access-dark)!important}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(input:not([type="checkbox"]):not([type="radio"]),select){background:#fff;border-color:var(--access-line)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.btn.primary,.auth-primary,.primary){background:linear-gradient(125deg,var(--access-dark),color-mix(in srgb,var(--access-dark) 75%,var(--access-color)));color:white;border-color:transparent;box-shadow:0 7px 20px color-mix(in srgb,var(--access-color) 18%,transparent)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.auth-links button,.auth-secondary,.text-btn){background:var(--access-tint);color:var(--access-dark);border-color:var(--access-line)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(a,.bh-eye,.password .icon-button,.eyebrow,.trial-promo-cta){color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(button,input,select,a):focus-visible{outline-color:var(--access-dark)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card .bh-eye[aria-pressed="true"]{background:var(--access-light)}
:is(#authView,#authGate,body.auth-mode,body[data-auth="true"]) .auth-card :is(.bh-brand strong,.auth-brand strong){background:linear-gradient(125deg,#793ac2,#ce529f);background-clip:text;-webkit-background-clip:text;color:transparent}
