/* Lado Leste — presentation theme */
:root{--red:#b91e36;--red-dark:#791326;--ink:#29232a;--muted:#786b73;--line:#e8dfe2;--surface:#fff;--wash:#f6f3f4}
body{background:var(--wash);color:var(--ink);font-family:'Segoe UI',system-ui,sans-serif;line-height:1.55}header{background:#fff;color:var(--ink);padding:18px 4%;border-bottom:1px solid var(--line);gap:13px}header b{font-size:19px;letter-spacing:-.5px}header small{color:var(--muted);font-size:12px;letter-spacing:1.3px;text-transform:uppercase}.mark{background:var(--red);color:white;border-radius:13px;width:44px;height:44px;line-height:40px;font-size:32px;box-shadow:0 5px 15px #b91e361f}header:after{content:'PORTAL CLÍNICO · RP';margin-left:auto;font-size:12px;letter-spacing:1.7px;font-weight:600;color:#957881}main{max-width:1480px;padding:28px 4% 48px}h1{font-size:34px;line-height:1.2;letter-spacing:-1.2px;font-weight:700}h2{letter-spacing:-.4px}.intro{color:var(--muted);margin:10px 0 28px}.session-bar{background:transparent;border:0;border-radius:0;padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.session-bar b{font-size:18px}.session-bar small{color:var(--muted);margin-top:3px}.session-bar>div{border-left:3px solid var(--red);padding-left:14px}.session-bar>button{background:white}.portal-nav{background:#ede7e9;border:1px solid #e8dfe3;padding:6px;border-radius:13px;margin-bottom:32px;gap:5px;width:fit-content}.portal-nav .smallbutton{border:0;background:transparent;color:#6d5c66;border-radius:9px;padding:11px 24px;font-weight:600}.portal-nav button[aria-current=page]{background:#fff;color:var(--red-dark);box-shadow:0 2px 6px #3817220d}.portal-nav button:hover{background:#ffffffb0}.panel,.workspace-tools,.dashboard-card{background:white;border:1px solid var(--line);box-shadow:0 6px 25px #3b162904;border-radius:18px}.panel{padding:26px}.dashboard-grid{grid-template-columns:1.2fr 1fr 1fr;gap:20px}.dashboard-card{padding:28px;min-height:235px;position:relative;overflow:hidden}.dashboard-card h2{font-size:17px;font-weight:600;color:#73636c;margin:18px 0 8px}.dashboard-card strong{font-size:42px;letter-spacing:-1.5px;line-height:1.25;margin:8px 0 20px}.dashboard-card button{margin-top:12px}.dashboard-grid>.dashboard-card:first-child{background:linear-gradient(135deg,#b91e36,#811328);color:white;border-color:#a91d34}.dashboard-grid>.dashboard-card:first-child h2{color:#f7dce2}.dashboard-grid>.dashboard-card:first-child .smallbutton{background:#ffffff16;color:white;border-color:#ffffff55}.dashboard-grid>.dashboard-card:first-child .card-icon{background:#ffffff1c;color:white}.card-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#faedef;border-radius:12px;color:var(--red)}.card-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.smallbutton{border:1px solid #e1d2d8;background:#fff;color:#72283b;border-radius:9px;padding:10px 15px;font-weight:600;transition:background .15s,border-color .15s,box-shadow .15s}.smallbutton:hover{background:#fff4f6;border-color:#c8788b}.download{background:var(--red);border:1px solid var(--red);border-radius:10px;padding:12px 19px;box-shadow:0 3px 8px #b91e3612}.download:hover{background:#9a1830;border-color:#9a1830}.download.secondary{background:white;color:var(--red);border-color:#dbbcc5;box-shadow:none}.download.secondary:hover{background:#fff4f6}button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}button:focus-visible,input:focus,textarea:focus,select:focus{outline:3px solid #df829580;outline-offset:3px}label{color:#55424d;font-size:14px;font-weight:600}input,textarea,select{border:1px solid #ded3d8;background:#fff;color:var(--ink);border-radius:9px;padding:12px;font-family:inherit;box-shadow:0 1px 2px #35122003}input[readonly]{background:#f7f4f5;color:#73636c}input:hover,textarea:hover,select:hover{border-color:#c6a5b1}fieldset{margin-top:26px}legend{color:#8e243b;border-bottom:1px solid #efdae0;padding-bottom:12px;font-size:17px}fieldset:first-child{margin-top:22px}.area{border-radius:10px;background:white;border-color:var(--line);color:#74606b;padding:13px 8px;font-size:14px}.area:hover{background:#fff0f3;border-color:#dcadba}.area[aria-pressed=true]{background:#a91932;border-color:#a91932;box-shadow:0 4px 12px #a9193220}.notice{background:#faf4f6;border:1px solid #ecdbe1;color:#815665;border-radius:10px;font-size:14px;padding:14px 16px}.previewhead h2{font-size:19px}.previewhead .tag{background:#f7edf0;color:#9a3b51;border-radius:5px;padding:4px 8px;font-size:12px}.preview-stage{background:#f6f2f3;border:1px solid #eee3e7;border-radius:10px}.preview-stage canvas{box-shadow:none}.active-field,#status{color:#a3233d}.foot,.local-note,footer{color:#85757e}.workflow-message{color:#9c3d51}.vaccine-row,.history-item,.patient-card{border-color:var(--line);border-radius:12px}.vaccine-row{background:#fffcfd}.patient-card{padding:21px 24px;box-shadow:0 3px 10px #3b162903}.patient-card b{font-size:17px}.patient-card p{color:var(--muted);font-size:14px}.portal-view>button{margin-bottom:20px;background:var(--red);color:white;border-color:var(--red)}.portal-view input[type=search]{max-width:530px;padding:14px 16px}.actions{flex-wrap:wrap}.workspace-tools{padding:23px}.toolbar{gap:15px}.save-actions{padding-top:16px;border-top:1px solid #f1e9ec}.local-note{font-size:13px}footer{border-top:1px solid var(--line);padding-top:22px;font-size:12px;letter-spacing:.2px}dialog{border:1px solid var(--line);box-shadow:0 24px 100px #38152233;border-radius:20px;padding:30px}dialog::backdrop{background:#2b172266;backdrop-filter:blur(5px)}dialog h2{font-size:24px}dialog form>button{margin:10px 8px 0 0}
.login-surface{display:grid;grid-template-columns:1fr 1fr;max-width:1030px;width:calc(100% - 64px);padding:0;margin:7vh auto;border-radius:24px;overflow:hidden;border:1px solid #e9dce1;box-shadow:0 22px 80px #471d2b12;min-height:570px}.login-surface[hidden]{display:none}.login-brand{background:linear-gradient(150deg,#c4213f 0%,#98182f 55%,#671326 100%);color:white;padding:50px 44px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-brand:after{content:'';position:absolute;right:-150px;bottom:-200px;width:500px;height:500px;border:1px solid #ffffff19;border-radius:50%;box-shadow:0 0 0 65px #ffffff05,0 0 0 130px #ffffff04;pointer-events:none}.brand-top{display:flex;gap:12px;align-items:center;font-size:14px;letter-spacing:2px;font-weight:600}.brand-plus{font-size:31px;background:#ffffff18;border:1px solid #ffffff33;border-radius:13px;width:45px;height:45px;text-align:center;line-height:40px}.brand-title{font-size:56px;font-weight:750;line-height:1.02;letter-spacing:-2px;margin:35px 0 22px}.brand-subtitle{color:#f4cbd5;font-size:18px;max-width:280px;line-height:1.55}.brand-bottom{font-size:13px;color:#e6b5c1;position:relative;z-index:1}.brand-rule{width:38px;height:3px;background:#ee9eaf;margin-bottom:18px}.login-form-content{padding:50px 42px;display:flex;flex-direction:column;justify-content:center}.login-kicker{color:#a5203b;font-size:12px;letter-spacing:1.6px;margin-bottom:17px}.login-form-content h1{font-size:31px;letter-spacing:-1px}.login-form-content>p:not(.local-note){color:var(--muted);font-size:15px}.login-form-content label{margin-top:20px;margin-bottom:12px}.login-form-content select{margin:8px 0 0}.login-form-content .download{font-size:14px;min-height:47px}.login-form-content .local-note{line-height:1.7;font-size:12px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}#login-message:empty{display:none}
@media(min-width:1100px){.layout{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px}}
@media(max-width:900px){.login-surface{width:calc(100% - 40px);grid-template-columns:.85fr 1fr}.login-brand{padding:35px 28px}.brand-title{font-size:45px}.login-form-content{padding:35px 28px}.dashboard-grid{gap:12px}.dashboard-card{padding:22px}.portal-nav .smallbutton{padding:11px 15px}}
@media(max-width:760px){header{padding:15px 5%}header:after{display:none}main{padding:22px 5%}h1{font-size:28px}.portal-nav{width:100%;display:flex;overflow-x:auto;flex-wrap:nowrap;padding:5px}.portal-nav button{white-space:nowrap}.dashboard-grid{grid-template-columns:1fr}.dashboard-card{min-height:180px}.login-surface{display:block;min-height:0;margin:24px auto;width:calc(100% - 32px);border-radius:18px}.login-brand{padding:26px}.brand-top{font-size:12px}.brand-title{font-size:40px;margin:24px 0 10px}.brand-subtitle{font-size:15px;max-width:none;margin:0}.brand-bottom{display:none}.login-form-content{padding:28px}.login-form-content h1{font-size:27px}.patient-card{padding:18px}.session-bar small{font-size:12px}.areas{gap:8px}.layout>section:last-child{box-shadow:0 8px 25px #55243316}.panel{padding:20px}.preview-stage{max-height:24vh}.actions button{font-size:13px;padding:9px 11px}.workspace-tools{padding:18px}.toolbar label{min-width:0;width:100%;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.signature-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 24px}.signature-choice{background:#fff;border:1px solid #e4d7dc;border-radius:12px;padding:12px;color:#745463;text-align:left}.signature-choice img{display:block;width:100%;height:65px;object-fit:contain;box-shadow:none}.signature-choice span{display:block;font-size:13px;margin-top:7px}.signature-choice[aria-pressed=true]{border:2px solid #b91e36;background:#fff4f6;padding:11px}.signature-choice[aria-pressed=true] span{font-weight:700;color:#a31e36}.signature-choice:hover{border-color:#b91e36}@media(max-width:480px){.signature-options{grid-template-columns:1fr}}

.obstetrics-category[hidden]{display:none!important}

.neuro-category[hidden]{display:none!important}

/* Hospital Sete Vidas — variação visual sem alterar a estrutura clínica. */
:root{--red:#008c8c;--red-dark:#005d70;--ink:#123944;--muted:#59727a;--line:#d3ece7;--surface:#fff;--wash:#f1fbfa}
header:after{content:'PORTAL CLÍNICO · CIDADE SETE';color:#278a84}.mark{background:linear-gradient(135deg,#00657c,#21ba9a)}
.session-bar>div{border-left-color:#16aa96}.portal-nav{background:#e6f5f1;border-color:#cde8e2}.portal-nav button[aria-current=page]{color:#00677d}.smallbutton{color:#006477;border-color:#b9ddd6}.smallbutton:hover{background:#edfaf7;border-color:#65bfb1}.download{background:#008b8b;border-color:#008b8b}.download:hover{background:#006c79;border-color:#006c79}.download.secondary{color:#00757f;border-color:#a9d8d0}.notice{background:#effaf7;border-color:#c6e9e0;color:#35686a}legend{color:#007875;border-bottom-color:#d3eee8}.area:hover{background:#eaf9f5;border-color:#8ccfc4}.area[aria-pressed=true]{background:#007c85;border-color:#007c85;box-shadow:0 4px 12px #007c8520}.login-brand{background:linear-gradient(150deg,#00647a 0%,#008d8b 55%,#19b69b 100%)}.login-kicker{color:#00777c}.brand-subtitle{color:#d7fff5}.brand-bottom{color:#b6f0e1}.brand-rule{background:#70e2c8}.dashboard-grid>.dashboard-card:first-child{background:linear-gradient(135deg,#006a7d,#16ad92);border-color:#008d8b}.signature-choice[aria-pressed=true]{border-color:#008c8c;background:#effbf8}.signature-choice[aria-pressed=true] span{color:#007875}
