/* V23 - Painel ADM legível: contraste real, dimensões táteis e áreas de leitura. */
:root{--v23-ink:#102d45;--v23-mute:#365971;--v23-canvas:#eaf2f7;--v23-surface:#f7fafc}
body:not(.patient-mode){font-size:16px!important;color:var(--v23-ink)!important;background:var(--v23-canvas)!important}
body:not(.patient-mode) .main{background:linear-gradient(152deg,#eef5fa 5%,#e3eff5 60%,#d8e7ee 100%)!important}
body:not(.patient-mode) .content{font-size:16px;line-height:1.55;max-width:1720px;margin:0 auto;width:100%}
body:not(.patient-mode) .topbar{background:#f2f8fc!important;border-bottom:2px solid #bed4e2!important;box-shadow:0 3px 18px #102d4510}
body:not(.patient-mode) .topbar :is(button,label,select){font-size:clamp(13px,1vw,16px)}
body:not(.patient-mode) .sidebar{background:linear-gradient(171deg,#071e35 0%,#113a53 57%,#155663 100%)!important;box-shadow:6px 0 30px #04182e25}
body:not(.patient-mode) .sidebar .nav-item{font-size:15px!important;line-height:1.35!important;min-height:45px!important;font-weight:650!important;letter-spacing:0!important;padding-top:11px!important;padding-bottom:11px!important;color:#e9f5ff!important}
body:not(.patient-mode) .sidebar .nav-item.active{background:linear-gradient(100deg,#3cc7bf33,#6ad8ff29)!important;color:#fff!important;box-shadow:inset 4px 0 #47ead3}
body:not(.patient-mode) .sidebar .nav-item:hover{background:#ffffff1f!important}
body:not(.patient-mode) .sidebar .os-nav-category{color:#afd7ec!important;font-size:12px!important;font-weight:850!important;letter-spacing:.12em}
body:not(.patient-mode) :is(.card,.stat-card,.panel,.hq-surface,.ed-card,.ai-card,.fs-card){border:1px solid #b5cddc!important;box-shadow:0 10px 30px #0f3c5514!important}
body:not(.patient-mode) :is(.card,.panel,.ed-card,.ai-card,.hq-surface){background:linear-gradient(140deg,#f8fbfe,#edf5fa)!important}
body:not(.patient-mode) :is(.button,button.btn,.hq-app button,.ai-shell button,.ed-shell button){min-height:42px;font-size:max(13px,0.92rem)}
body:not(.patient-mode) :is(input,textarea,select,.field){font-size:16px!important;min-height:44px;color:#153951;border-color:#a8c5d5!important;background:#fff!important}
body:not(.patient-mode) :is(label,th,td,.hq-fields label,.hq-pickers label,.hq-line label){font-size:14px!important;color:#24465c}
body:not(.patient-mode) :is(p,small,.ed-muted,.ai-note,.hq-help){font-size:max(13px,.86rem);line-height:1.6}
body:not(.patient-mode) :is(h1,h2,h3){letter-spacing:-.025em}
body:not(.patient-mode) .hq-hero{background:linear-gradient(115deg,#09283f,#0e5262,#126a69)!important}
body:not(.patient-mode) .hq-credit-action{border:1px solid #68a7c2;background:#d6eaf7;color:#15405b;border-radius:11px;padding:12px 17px;font-weight:800}
body:not(.patient-mode) .hq-credit-section{padding:22px;background:#e2f1f7;border:1px solid #a6cad9;border-radius:18px;margin:15px 0}
.hq-credit-guidance{padding:16px 18px;margin-top:18px;border-radius:12px;background:#fffaf0;border:1px solid #c5a36a;color:#5f4219;line-height:1.6}
.hq-credit-guidance[hidden]{display:none!important}
.hq-credit-guidance p{margin:8px 0;font-size:14px!important;color:#5d4e35}.hq-credit-guidance a{font-weight:800;color:#17618c}
body:not(.patient-mode) .hq-line{grid-template-columns:118px minmax(0,1fr)}
body:not(.patient-mode) .hq-line img{width:118px;height:108px;object-fit:contain;background:#fff;border:1px solid #cde1e8}
body:not(.patient-mode) .hq-product-body p{font-size:13px!important;color:#385468}
body:not(.patient-mode) .hq-product-foot button{font-size:13px!important;min-height:40px}
body:not(.patient-mode) .hq-quote-row{background:#f2f8fc}
body:not(.patient-mode) .hq-stat{background:#f0f8fa!important}
@media(max-width:780px){body:not(.patient-mode) .sidebar .nav-item{min-height:49px!important}body:not(.patient-mode) .hq-line{grid-template-columns:1fr}body:not(.patient-mode) .hq-line img{width:120px;height:95px}body:not(.patient-mode) .content{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){body:not(.patient-mode) :is(.sidebar,.nav-item,.hq-app){animation:none!important;transition:none!important}}
