/* V1.4.44.50 — unified premium Baria visual system. Visual-only; clinical contracts untouched. */
:root{--bx-bg:#f3f8f7;--bx-surface:#fff;--bx-surface-soft:#f8fbfa;--bx-ink:#102f3c;--bx-muted:#73888f;--bx-primary:#07836e;--bx-primary-2:#12a17f;--bx-mint:#e8f7f2;--bx-mint-2:#d7f1e8;--bx-border:#dbe9e5;--bx-danger:#df3f55;--bx-warning:#e59a2e;--bx-blue:#1478df;--bx-purple:#8a38d7;--bx-radius:18px;--bx-radius-sm:13px;--bx-shadow:0 8px 28px rgba(20,67,62,.065);--bx-shadow-hover:0 14px 34px rgba(20,67,62,.10)}
html{background:var(--bx-bg)}body{background:radial-gradient(circle at 42% -20%,#fff 0,#f7fbfa 28%,var(--bx-bg) 66%)!important;color:var(--bx-ink)!important}
body,button,input,select,textarea{font-family:var(--w-font-family)}h1,h2,h3,h4,.title,.card-title{letter-spacing:-.025em}
/* Global content breathing room */
main.main,.main{transition:margin .22s ease,width .22s ease}.container,.content,.page-content,.main-content{max-width:1480px}
/* Premium surface normalization without touching field semantics */
.card,.panel,.section-card,.form-section,.module-card,.clinical-card,.content-card,.box:not(input):not(textarea){border-color:var(--bx-border)!important;box-shadow:var(--bx-shadow);border-radius:var(--bx-radius)!important}
input:not([type=checkbox]):not([type=radio]),select,textarea{border-color:#d7e5e2!important;border-radius:11px!important;background:#fff!important;transition:border-color .15s,box-shadow .15s}
input:focus,select:focus,textarea:focus{border-color:#73bfae!important;box-shadow:0 0 0 3px rgba(7,131,110,.09)!important;outline:0!important}
button,.btn{border-radius:11px!important}.btn-primary,.primary-button,button.primary{background:linear-gradient(135deg,var(--bx-primary-2),var(--bx-primary))!important;border-color:var(--bx-primary)!important;box-shadow:0 5px 14px rgba(7,131,110,.16)}
/* Top bars across clinical pages */
.clinic-topbar,.topbar,.page-header,.clinical-header{border-color:var(--bx-border)!important;box-shadow:var(--bx-shadow)!important}
/* premium-home exact composition */
body.golden-dashboard-real .app-shell{background:transparent!important}.premium-home{padding:14px 18px 30px!important;max-width:1600px!important;margin:0 auto!important}.premium-home .clinic-topbar{min-height:70px!important;border-radius:16px!important;padding:9px 14px!important;margin-bottom:14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.premium-home .clinic-topbar-search{width:min(48vw,620px)!important;height:46px!important;border-radius:13px!important;background:#f3f7f7!important;border:1px solid #e4eeec!important;padding:0 14px!important}.premium-home .clinic-topbar-search input{height:44px!important;background:transparent!important;border:0!important;box-shadow:none!important}.premium-home .clinic-icon-button{width:38px!important;height:38px!important;border-radius:10px!important;border:0!important;background:transparent!important}.premium-home .clinic-user{padding-inline-start:14px!important;border-inline-start:1px solid #e5eeec!important}.premium-home .clinic-user .avatar{width:42px!important;height:42px!important;border-radius:50%!important;background:#dbe8eb!important;color:#345965!important}.hp-welcome{display:none!important}
.hp-patient-hero{border-radius:19px!important;border:1px solid #cfe5df!important;box-shadow:var(--bx-shadow)!important;background:linear-gradient(105deg,#fff 0%,#f9fdfc 42%,#eaf8f3 100%)!important;margin-bottom:14px!important}.hp-patient-main{grid-template-columns:1.18fr 1.16fr .62fr!important;min-height:170px!important}.hp-patient-identity,.hp-phase,.hp-procedure{padding:20px 22px!important}.hp-avatar{width:76px!important;height:76px!important;background:linear-gradient(#dce7ea,#cbd9dd)!important;border:5px solid #fff!important;box-shadow:0 0 0 1px #d7e5e2!important}.hp-patient-identity h2{font-size:var(--w-text-h2);color:#102f3c!important}.hp-patient-identity p{font-size:var(--w-text-body)}.hp-phase{border-inline:1px solid #dbe9e5!important;background:rgba(255,255,255,.45)!important}.hp-phase-copy h2{font-size:var(--w-text-h2);color:#102f3c!important}.hp-ring{width:104px!important;height:104px!important;background:conic-gradient(#0da17e calc(var(--p)*1%),#dcebe7 0)!important;box-shadow:inset 0 0 0 1px rgba(7,131,110,.04)!important}.hp-ring:after{inset:11px!important}.hp-ring b{font-size:var(--w-text-h2)}.hp-procedure{background:rgba(255,255,255,.7)!important}.hp-stomach{color:#ef5b67!important;font-size:var(--w-text-h1)}.hp-journey{padding:17px 26px 15px!important}.hp-step i{width:34px!important;height:34px!important;box-shadow:0 0 0 3px #fff!important}.hp-step:before{top:16px!important}.hp-step span{display:block!important;font-size:var(--w-text-small)}.hp-statusbar{padding:0 20px 16px!important;grid-template-columns:1fr 270px!important}.hp-ready,.hp-attention{border-radius:11px!important;padding:11px 14px!important}.hp-ready{border:1px solid #d9eee7!important}.hp-attention{border:1px solid #f4d6da!important}
.hp-grid{grid-template-columns:minmax(0,1fr) 300px!important;gap:14px!important}.hp-card{border-radius:17px!important;border:1px solid #dce9e6!important;box-shadow:var(--bx-shadow)!important;padding:16px!important}.hp-card-head{margin-bottom:12px!important}.hp-card-head h3{font-size:var(--w-text-h3)}.hp-shortcut-grid{grid-template-columns:repeat(5,1fr)!important;gap:9px!important}.hp-shortcut{min-height:91px!important;border-radius:13px!important;padding:12px 7px!important;background:linear-gradient(180deg,#fff,#fbfdfd)!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.hp-shortcut:hover{border-color:#abd7cc!important;box-shadow:var(--bx-shadow-hover)!important}.hp-shortcut span{font-size:var(--w-text-h2);color:#087f6b!important}.hp-shortcut:nth-child(2) span{color:#8b34d5!important}.hp-shortcut:nth-child(3) span{color:#1478df!important}.hp-shortcut:nth-child(4) span{color:#9c2bd4!important}.hp-shortcut:nth-child(6) span{color:#1978df!important}.hp-shortcut:nth-child(7) span{color:#0b9b69!important}.hp-side{gap:14px!important}.hp-next{background:linear-gradient(145deg,#eaf8f3,#fafffd)!important}.hp-next-box{box-shadow:0 5px 16px rgba(19,72,65,.045)!important}.hp-lower{gap:14px!important;grid-template-columns:.82fr 1.18fr!important}.hp-event{padding:7px 0 11px!important}.hp-education-grid{gap:9px!important}.hp-edu{min-height:132px!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 13px rgba(25,72,67,.035)!important}.hp-appointment .hp-date{background:#f2faf7!important}.hp-note textarea{background:#fbfdfd!important}
/* Internal pages: unified premium framing */
.baria-page-frame .main{background:transparent!important}.baria-page-frame .main>.container,.baria-page-frame main>.container{padding-top:16px!important}.page-title,.module-title{color:#123541!important}.section-title{color:#17444f!important}.form-section,.clinical-section{background:#fff!important;border:1px solid var(--bx-border)!important;border-radius:16px!important;box-shadow:0 6px 22px rgba(20,67,62,.045)!important;padding:18px!important;margin-bottom:14px!important}
@media(max-width:1100px){.hp-patient-main{grid-template-columns:1fr 1fr!important}.hp-procedure{display:none!important}.hp-grid{grid-template-columns:1fr!important}.hp-side{grid-column:1!important;grid-row:auto!important;grid-template-columns:repeat(2,1fr)!important}.hp-shortcut-grid{grid-template-columns:repeat(4,1fr)!important}}
@media(max-width:760px){.premium-home{padding:10px!important}.premium-home .clinic-topbar{min-height:58px!important}.premium-home .clinic-topbar-actions{display:none!important}.premium-home .clinic-topbar-search{width:100%!important}.hp-patient-main{grid-template-columns:1fr!important}.hp-phase{border-inline:0!important;border-top:1px solid var(--bx-border)!important}.hp-statusbar{grid-template-columns:1fr!important}.hp-shortcut-grid{grid-template-columns:repeat(2,1fr)!important}.hp-side,.hp-lower{grid-template-columns:1fr!important}}
