@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--teal:#008d80;--dark:#123d3b;--muted:#778784;--line:#e1e9e6;--bg:#f4f7f5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#213b38;font:14px 'DM Sans',sans-serif}button,input,select{font:inherit}button,a,select{cursor:pointer}button{border:1px solid var(--line);background:white;border-radius:7px;padding:11px 17px;color:var(--dark);font-weight:600}button:hover{border-color:var(--teal);background:#edf8f4}button.primary{background:var(--teal);color:white;border-color:var(--teal)}button.danger{color:#b24f45;background:#fff6f4;border-color:#efdad5}button:disabled{opacity:.5;cursor:default}aside{position:fixed;width:245px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column}.brand{font:italic 700 35px 'Manrope',sans-serif;color:#008d80;text-decoration:none;letter-spacing:-2px}.brand span{color:#165552}.brand small{display:block;font:8px 'DM Sans';letter-spacing:2px;margin-top:3px}.unit{font-size:10px;letter-spacing:1.3px;color:var(--muted);margin:38px 0 27px}.unit b{display:block;color:#34524d;font-size:13px;letter-spacing:0;margin-top:8px}nav button{display:block;width:100%;text-align:left;border:0;background:transparent;margin:5px 0;padding:13px 14px;font-weight:500;color:#6a7c76}nav button.active{background:#e5f3ed;color:#007d70;font-weight:700}nav button span{margin-right:12px;font-size:18px}.aside-bottom{margin-top:auto;font-size:11px;color:#617b72}.aside-bottom small{display:block;font-size:10px;margin-top:9px}.dot{display:inline-block;width:7px;height:7px;background:#7eb692;border-radius:50%;margin-right:6px}.shell{margin-left:245px}header{height:88px;padding:0 40px;background:white;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.muted{color:var(--muted)}.divider{padding:0 16px;color:#b9c9c3}.profile{display:flex;gap:14px;align-items:center;font-size:11px;color:var(--muted)}select,input{border:1px solid #d7e3dd;border-radius:6px;padding:11px 12px;background:white;color:#294a41;outline:none}input:focus,select:focus{border-color:var(--teal)}.demo{padding:11px 40px;background:#edf3df;color:#697c3d;font-size:10px;font-weight:700;letter-spacing:1px}.demo span{font-size:11px;letter-spacing:0;font-weight:400;margin-left:18px}main{padding:34px 40px;min-height:calc(100vh - 180px);max-width:1700px;margin:auto}h1{font:700 30px 'Manrope';letter-spacing:-1px;margin:6px 0 10px}h2{font:700 17px 'Manrope';margin:0}p{color:var(--muted);line-height:1.6}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--teal)}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.datepill{background:white;border:1px solid var(--line);padding:11px 17px;border-radius:7px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0 32px}.stat{padding:23px;background:white;border:1px solid var(--line);border-radius:10px}.stat small{color:var(--muted)}.stat strong{display:block;font:700 30px 'Manrope';margin-top:12px;letter-spacing:-1px}.stat strong span{font-size:14px;font-weight:500;color:var(--muted)}.stat em{display:block;font:11px 'DM Sans';color:var(--teal);margin-top:8px}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin:28px 0 16px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:white;border:1px solid var(--line);border-radius:10px;text-align:left;padding:25px;min-height:155px;position:relative}.card .icon{display:block;width:40px;height:40px;background:#e8f4ee;color:var(--teal);font-size:23px;text-align:center;line-height:40px;border-radius:9px;margin-bottom:18px}.card b{font:700 15px 'Manrope';display:block}.card small{font-weight:400;color:var(--muted);display:block;margin-top:8px;line-height:1.5}.card .arrow{position:absolute;right:24px;top:28px;color:#92aaa0}.panel{border:1px solid var(--line);background:white;border-radius:10px;margin-bottom:22px;overflow:hidden}.panel-title{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-body{padding:24px}.row{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.field{display:flex;flex-direction:column;gap:8px;min-width:175px;flex:1}.field label{font-size:11px;font-weight:600;color:#6a7f76}.hospital-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.hospital-grid button{font-size:12px;text-align:left}.hospital-grid button.selected{background:#e4f3ec;border-color:var(--teal);color:var(--teal)}.split{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.weightbox{background:#0f4943;color:white;padding:28px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.weightbox small{color:#a6d2c4}.weightbox strong{display:block;font:700 30px 'Manrope';margin-top:10px}.badge{font-size:10px;border-radius:20px;padding:6px 9px;background:#eaf4ec;color:#3d8565;white-space:nowrap}.badge.pending{background:#fff2da;color:#a28037}.badge.cancel{background:#fbe8e3;color:#a14f43}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{background:#f8faf8;font-weight:500;color:#7b8c84;padding:13px 18px}td{padding:15px 18px;border-bottom:1px solid #edf1ee}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}td button{padding:4px 8px;font-size:11px}.empty{padding:45px;text-align:center;color:#96a59e;font-size:12px}.actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.note{font-size:11px;color:var(--muted);margin-top:14px}.total{padding:17px 22px;background:#f1f6f2;display:flex;justify-content:space-between;font-weight:700}.reports{grid-template-columns:repeat(3,1fr)}footer{border-top:1px solid var(--line);padding:20px 40px;color:#80948a;font-size:10px;letter-spacing:1px;display:flex;gap:20px}footer span{letter-spacing:0}footer span:last-child{margin-left:auto}#toast{position:fixed;bottom:25px;right:25px;background:#123e34;color:white;border-radius:8px;padding:16px 24px;display:none;z-index:10}.listrow{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid var(--line)}.listrow span{flex:1}.tabs{display:flex;gap:8px;margin-bottom:20px}.tabs .selected{background:var(--dark);color:white}a{color:var(--teal)}@media(max-width:1000px){aside{width:190px;padding:25px 15px}.shell{margin-left:190px}main,header{padding:25px}.cards,.reports{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.hospital-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){aside{position:static;width:auto;padding:15px}.brand{font-size:25px}.unit,.aside-bottom{display:none}nav{display:flex;overflow:auto}nav button{white-space:nowrap;width:auto;font-size:11px}nav button span{display:none}.shell{margin:0}header{height:auto;gap:15px;flex-wrap:wrap}.demo{padding:10px 20px}.demo span{display:block;margin:5px 0 0}.stats,.cards,.reports{grid-template-columns:1fr}.heading{align-items:start;gap:15px}.datepill{display:none}main{padding:25px 18px}.profile{flex-wrap:wrap}footer{padding:20px}.tablewrap{overflow:auto}}@media print{aside,header,.demo,footer,.actions,.filters,.tabs{display:none}.shell{margin:0}main{padding:0}.panel{border:0}body{background:white}}
/* Identidade Alvalav e página inicial simplificada */
:root{--teal:#008f92;--dark:#005b5d;--bg:#f3f7f7;--line:#dce8e8} .brand{display:block;letter-spacing:normal}.brand img{display:block;width:100%;height:auto}.unit{display:none}nav{margin-top:35px}nav button.active{background:#e0f2f2;color:#006e71}.card .icon{background:#e2f4f4;color:#009da2}.demo{background:#e6f2f2;color:#356e70}.badge{background:#e3f2f2;color:#00797c}.weightbox{background:#005b5d}.total{background:#edf6f6}.area-title{font-size:26px;letter-spacing:.6px;color:#005b5d;margin:12px 0 32px}.home-screen .demo,.home-screen footer,.home-screen header>div{display:none}.home-screen header{justify-content:flex-end;height:72px;background:transparent;border:0}.home-screen main{min-height:calc(100vh - 72px);padding-top:30px}.home-buttons{max-width:1050px}.home-buttons .card,.report-picker .card{min-height:150px;padding:28px}.home-buttons .card b,.report-picker .card b{font-size:16px}.home-buttons .icon{margin-bottom:22px}.back-reports{margin-bottom:18px}.report-picker{margin-top:25px}.card:hover{border-color:#009da2;box-shadow:0 5px 20px #00666a0a}.home-screen .cards{grid-template-columns:repeat(3,1fr)}@media(max-width:900px){.home-screen .cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.brand{max-width:160px}.home-screen .cards{grid-template-columns:1fr}nav{margin-top:15px}}
/* Layout aprovado: navegação superior e ações em destaque */
body{background:#f3f7f8;color:#004c54;font-family:'DM Sans',Arial,sans-serif}body>aside{display:none}.shell{margin-left:0;min-height:100vh;display:flex;flex-direction:column}.masthead,.home-screen .masthead{height:96px;min-height:96px;padding:14px max(5vw,24px);background:#fff;border-bottom:4px solid #08a7ae;display:flex;justify-content:space-between;align-items:center}.masthead-logo{display:block;width:240px}.masthead-logo img{display:block;width:100%;height:auto}.masthead-actions{display:flex;align-items:center;gap:24px}.profile{display:flex;align-items:center;gap:12px;color:#004e55}.profile svg,.exit-button svg{width:29px;height:29px}.profile select{font-size:17px;background:transparent;border:0;padding:8px 4px;color:#143540;font-weight:500;max-width:220px}.exit-button{border:0;border-left:1px solid #cad9df;border-radius:0;background:none;display:flex;gap:14px;align-items:center;font-size:17px;padding:4px 0 4px 28px;font-weight:400;color:#315260}.exit-button:hover{background:transparent}.header-home{background:none;border:0;color:#00636a}.home-screen .header-home{display:none}main,.home-screen main{width:100%;max-width:1500px;min-height:0;padding:42px max(5vw,24px) 35px;margin:0 auto;flex:1}.home-screen .demo{display:none}.area-title{font:800 clamp(30px,3.8vw,56px) 'Manrope',Arial,sans-serif;color:#00474f;margin:9px 0 36px;letter-spacing:-.6px}.area-title:after{content:'';display:block;margin-top:13px;width:78px;height:7px;border-radius:8px;background:#04aab0}.home-buttons,.home-screen .home-buttons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px;max-width:none}.home-buttons .card{grid-column:span 2;min-height:205px;border:1.5px solid #cedde2;background:#fff;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 20px;gap:16px;box-shadow:none;text-align:center}.home-buttons .card:nth-child(2){grid-column:span 2;min-height:240px}.home-buttons .card.main-action{grid-column:span 4;flex-direction:row;min-height:240px;background:linear-gradient(115deg,#006e76,#005b63);border-color:#00676e;color:white;gap:28px}.home-buttons .card b{font:700 clamp(18px,1.7vw,27px) 'DM Sans',Arial,sans-serif;letter-spacing:-.5px;line-height:1.25}.home-buttons .main-action b{font-size:clamp(24px,2.8vw,43px);text-align:left;max-width:540px}.action-icon{display:block;color:#00626a;width:84px;height:84px;flex-shrink:0}.action-icon svg{width:100%;height:100%}.main-action .action-icon{color:#fff;width:130px;height:130px}.home-buttons .card:hover{border-color:#009da5;background:#f9fdfd;box-shadow:0 6px 22px #005c6610;transform:translateY(-2px)}.home-buttons .main-action:hover{background:#00717a}.home-buttons .card{transition:background .15s,transform .15s,box-shadow .15s}.home-screen footer,footer{display:flex;justify-content:center;border:0;margin-top:auto;padding:12px 20px 25px;font-size:13px;color:#98aebd;letter-spacing:0}.demo{font-size:9px;padding:8px max(5vw,24px)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid #d6e4e8;border-radius:14px;padding:32px;max-width:460px;box-shadow:0 20px 100px #003b4d30}dialog::backdrop{background:#15383c66}#profileChoices{display:grid;gap:10px;margin:20px 0}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #00a6ae;outline-offset:4px}@media(min-width:1600px){main,.home-screen main{padding-top:52px}}@media(max-width:1000px){.masthead,.home-screen .masthead{height:85px;min-height:85px}.masthead-logo{width:185px}.home-buttons .card,.home-buttons .card:nth-child(2){min-height:185px}.home-buttons .main-action .action-icon{width:95px;height:95px}.home-buttons .card.main-action{min-height:210px}.action-icon{width:65px;height:65px}.masthead-actions{gap:12px}.profile select{font-size:14px}.exit-button{font-size:14px;padding-left:14px;gap:8px}}@media(max-width:680px){.masthead,.home-screen .masthead{padding:13px 18px;height:auto;min-height:80px;flex-wrap:wrap;gap:10px}.masthead-logo{width:150px}.masthead-actions{gap:7px}.profile svg{width:20px;height:20px}.profile{gap:4px}.profile select{font-size:12px;max-width:120px}.exit-button{font-size:12px;padding-left:9px;gap:5px}.exit-button svg{width:21px;height:21px}.header-home{padding:5px;font-size:11px}main,.home-screen main{padding:25px 18px}.area-title{font-size:30px;margin:8px 0 26px}.area-title:after{height:5px;width:55px;margin-top:10px}.home-buttons,.home-screen .home-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.home-buttons .card,.home-buttons .card:nth-child(2){grid-column:span 1;min-height:156px;padding:20px 12px;gap:12px}.home-buttons .card.main-action{grid-column:span 2;min-height:175px;gap:18px}.home-buttons .main-action b{font-size:26px;max-width:230px}.home-buttons .card b{font-size:16px}.home-buttons .action-icon{width:56px;height:56px}.home-buttons .main-action .action-icon{width:85px;height:85px}footer{font-size:11px}}@media print{.masthead{display:none}}
.home-screen header>.masthead-actions{display:flex}
/* Inclusão de pesos — layout aprovado */
.weigh-screen main{max-width:1700px;padding-top:22px}.weigh-screen .demo{display:none}.weigh-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.back-link{padding:0;border:0;background:transparent;color:#0095a1;font-size:14px;font-weight:600;margin-bottom:16px}.weigh-title{font:800 clamp(22px,2.4vw,36px) 'Manrope',Arial,sans-serif;letter-spacing:-.6px;margin:0;color:#163043}.weigh-title:after{content:'';display:block;width:77px;height:4px;border-radius:5px;background:#00a3ac;margin-top:12px}.process-status{border:1px solid #efa12d;color:#a86309;background:#fff9ed;border-radius:8px;font-size:12px;font-weight:700;padding:10px 14px;white-space:nowrap}.process-status i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#f4a200;margin-right:8px}.process-status.unconfirmed{border-color:#ccdce2;background:#fff;color:#7b919a}.process-status.unconfirmed i{background:#a5b9bf}.weigh-selection{background:white;border:1px solid #cfdfe5;border-radius:11px;padding:16px 20px;display:flex;gap:22px;align-items:end;margin-bottom:14px}.weigh-selection .field{gap:7px;min-width:0}.weigh-selection label{font-size:13px;color:#234256;font-weight:500}.weigh-selection input,.weigh-selection select{height:43px;font-size:14px;color:#203d4e}.date-field{flex:0 0 25%}.hospital-field{flex:1}.degoma-field{flex:0 0 190px}.weigh-selection input:disabled,.weigh-selection select:disabled{opacity:1;color:#005e68;background:#f1f8f8;border-color:#c7dfe1;font-weight:600}.selection-lock{display:flex;gap:7px;align-items:center;align-self:center;font-size:11px;white-space:nowrap;color:#388285}.selection-lock svg{width:17px;height:17px}.weigh-columns{display:grid;grid-template-columns:1.48fr 1fr;gap:14px;align-items:stretch}.live-weight{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(115deg,#007480,#005c66);color:#fff;border:1px solid #12b0b9;border-radius:11px;padding:17px 22px;min-height:132px}.live-label{font-size:12px;font-weight:600;letter-spacing:1.5px}.live-number{font-size:64px;line-height:1.15;font-weight:700;letter-spacing:-1px}.live-number small{font-size:27px;font-weight:400;letter-spacing:0}.live-tools{display:flex;flex-direction:column;align-items:end;gap:18px}.connection-status{border:1px solid #a6d3d8;border-radius:15px;padding:6px 11px;font-size:11px;white-space:nowrap}.connection-status i{display:inline-block;background:#eac25b;border-radius:50%;width:9px;height:9px;margin-right:6px}.live-tools button{display:flex;gap:9px;align-items:center;color:#005b68;background:#fff;font-size:12px;padding:11px 15px}.live-tools button:disabled{opacity:.75}.live-tools svg{width:22px;height:22px}.manual-bar{margin:10px 0;display:flex;gap:12px;align-items:center;background:white;border:1px solid #d0dfe4;border-radius:10px;padding:11px 17px}.manual-bar label{font-size:12px;white-space:nowrap}.manual-bar input{width:140px;flex:1;min-width:60px;height:42px;font-size:16px}.manual-bar .primary{background:#00a5b1;border-color:#00a5b1;white-space:nowrap;font-size:13px;height:42px;padding:8px 17px}.weight-panel{border:1px solid #cddde4;border-radius:11px;padding:17px 18px 12px;background:#fff;overflow:hidden}.weights-title{display:flex;align-items:center;gap:12px;margin:0 0 14px}.weights-title h2{font:700 clamp(16px,1.45vw,22px) 'DM Sans',Arial,sans-serif;color:#1d3548}.weights-title p{font-size:12px;margin:5px 0 0;color:#7c97a9}.previous-weights .weights-title{justify-content:space-between}.count-chip{font-size:10px;background:#e7eef2;color:#426075;padding:5px 10px;border-radius:20px;white-space:nowrap}.weight-panel table{font-size:13px;color:#223d50}.weight-panel th{background:#f2f7fa;color:#335368;font-size:12px;font-weight:600;padding:10px 14px}.weight-panel td{padding:10px 14px}.weight-actions{text-align:center;width:110px;white-space:nowrap}.icon-button{background:none;border:0;border-radius:4px;padding:3px 8px!important;color:#446e84;vertical-align:middle}.icon-button svg{display:block;width:18px;height:18px}.delete-weight{color:#e54c51}.weight-total{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#e0f2f5;color:#164453;padding:14px;font-size:13px;font-weight:700;border-radius:0 0 7px 7px}.weight-total strong{font-size:17px}.previous-note{font-size:11px;color:#819aac;margin:16px 0}.weight-panel .empty{padding:25px 10px;font-size:12px}.weigh-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 15px;background:white;border:1px solid #cfdee5;border-radius:11px;margin-top:14px}.preserved{display:flex;align-items:center;gap:12px;font-size:12px;color:#8197aa}.preserved svg{width:23px;height:23px;flex-shrink:0}.bottom-buttons{display:flex;gap:12px}.bottom-buttons button{font-size:13px;padding:13px 20px}.bottom-buttons .danger{background:white;border-color:#ed5359;color:#db333b}.bottom-buttons .primary{background:#006975;border-color:#006975}.weigh-screen footer{padding-bottom:12px}.weigh-screen input:disabled{cursor:not-allowed}input:disabled{opacity:.7}button:disabled:hover{transform:none;box-shadow:none}@media(max-width:1100px){.weigh-columns{grid-template-columns:1.3fr 1fr}.manual-bar{flex-wrap:wrap}.manual-bar label{flex-basis:100%}.live-number{font-size:50px}.live-tools{gap:12px}.live-weight{padding:17px}.weigh-selection{gap:12px;padding:14px}.degoma-field{flex-basis:145px}.selection-lock{font-size:10px}}@media(max-width:800px){.weigh-columns{grid-template-columns:1fr}.weigh-selection{flex-wrap:wrap}.date-field{flex:1;min-width:150px!important}.hospital-field{flex:2;min-width:200px!important}.degoma-field{flex:1;min-width:150px!important}.weigh-heading{align-items:start;flex-wrap:wrap}.process-status{font-size:10px}.weigh-bottom{flex-wrap:wrap}.bottom-buttons{margin-left:auto}.weight-panel td{padding:10px}.weight-panel{padding:15px}.live-number{font-size:58px}}@media(max-width:450px){.weigh-title{font-size:22px}.manual-bar{gap:8px}.manual-bar .primary{padding:8px 10px;font-size:12px}.live-weight{gap:8px;padding:15px}.live-label{font-size:10px;letter-spacing:.6px}.connection-status{font-size:9px}.live-tools button{font-size:11px;padding:9px}.live-number{font-size:48px}.bottom-buttons{width:100%;justify-content:space-between;gap:8px}.bottom-buttons button{padding:11px 13px;font-size:12px}.weights-title{gap:7px}.weights-title h2{font-size:17px}.previous-weights .weights-title{align-items:start}.weight-total{font-size:12px}.weight-total strong{font-size:16px}}
/* Compactação operacional e seleção de hospitais com nomes completos */
.hospital-picker{position:relative;width:100%;min-width:0}.hospital-picker>input{width:100%;padding-right:30px}.picker-chevron{position:absolute;right:12px;top:8px;pointer-events:none;color:#38747c;font-size:20px}#hospital-options{position:absolute;top:calc(100% + 5px);left:0;width:max(100%,520px);max-width:calc(100vw - 70px);max-height:275px;overflow:auto;z-index:50;background:#fff;border:1px solid #9fc8ce;border-radius:8px;box-shadow:0 12px 30px #123f5325;padding:5px}#hospital-options[hidden]{display:none}#hospital-options button{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.45;border:0;border-radius:4px;padding:11px 13px;font-size:13px;font-weight:500;color:#214754}#hospital-options button:hover,#hospital-options button.highlighted{background:#e1f3f4}#hospital-options button[aria-selected=true]{background:#edf7f7;font-weight:700}.hospital-no-match{padding:15px;color:#718c93;font-size:12px}.weigh-selection{position:relative;z-index:5}.weigh-selection .date-field{flex:0 0 160px}.weigh-selection .hospital-field{flex:1;min-width:0}.weigh-selection .degoma-field{flex:0 0 155px}.weights-scroll th{position:sticky;top:0;z-index:1}.weigh-screen .masthead{height:74px;min-height:74px;padding-top:10px;padding-bottom:10px}.weigh-screen .masthead-logo{width:190px}.weigh-screen main{padding-top:13px;padding-bottom:12px}.weigh-heading{margin-bottom:12px}.back-link{font-size:12px;margin-bottom:8px}.weigh-title{font-size:27px}.weigh-title:after{height:3px;margin-top:8px}.process-status{font-size:11px;padding:8px 11px}.weigh-selection{padding:11px 15px;margin-bottom:11px;gap:15px}.weigh-selection label{font-size:12px}.weigh-selection input,.weigh-selection select{height:36px;font-size:12px}.weigh-selection .primary{padding:10px 13px;font-size:12px}.live-weight{min-height:104px;padding:12px 18px}.live-number{font-size:48px}.live-number small{font-size:22px}.live-label{font-size:11px}.live-tools{gap:9px}.live-tools button{padding:8px 12px;font-size:11px}.connection-status{font-size:10px;padding:5px 9px}.manual-bar{padding:8px 12px;margin:8px 0;gap:10px}.manual-bar label{font-size:11px}.manual-bar input{height:35px;font-size:14px}.manual-bar .primary{height:35px;font-size:12px}.weight-panel{padding:12px 13px 10px}.weights-title{margin-bottom:10px}.weights-title h2{font-size:18px}.weights-title p{font-size:11px}.weight-panel table{font-size:12px}.weight-panel th{font-size:11px;padding:8px 11px}.weight-panel td{padding:7px 11px}.weight-total{padding:10px 11px;font-size:12px}.weight-total strong{font-size:16px}.previous-note{font-size:10px;margin:10px 0 2px}.weight-panel .empty{padding:17px 8px;font-size:11px}.weigh-bottom{padding:9px 12px;margin-top:11px}.preserved{font-size:11px}.bottom-buttons button{font-size:12px;padding:10px 15px}.weigh-screen footer{font-size:11px;padding:7px 15px 10px}.current-weights .weights-scroll{max-height:clamp(100px,calc(100dvh - 476px),270px);overflow:auto}.previous-weights .weights-scroll{max-height:clamp(140px,calc(100dvh - 356px),430px);overflow:auto}@media(max-height:760px) and (min-width:1000px){.weigh-screen .masthead{height:65px;min-height:65px}.weigh-screen .masthead-logo{width:165px}.weigh-screen main{padding-top:9px}.weigh-title{font-size:23px}.weigh-heading{margin-bottom:9px}.live-weight{min-height:85px;padding:10px 14px}.live-number{font-size:40px}.weigh-selection{padding:9px 13px}.weights-title h2{font-size:16px}.weight-panel td{padding:6px 10px}.current-weights .weights-scroll{max-height:calc(100dvh - 450px)}.previous-weights .weights-scroll{max-height:calc(100dvh - 325px)}}@media(max-width:800px){.weigh-selection .date-field{flex:1;min-width:130px}.weigh-selection .hospital-field{flex:1 1 100%}.weigh-selection .degoma-field{flex:1}.weigh-screen .masthead{height:auto;min-height:70px}#hospital-options{width:100%;max-width:none}.manual-bar{flex-wrap:wrap}.manual-bar label{flex-basis:100%}.weights-scroll{max-height:260px!important}.weigh-title{font-size:22px}.weigh-screen .masthead-logo{width:150px}}@media(max-width:1100px) and (min-width:801px){.manual-bar{flex-wrap:nowrap}.manual-bar label{flex-basis:auto;white-space:normal;max-width:110px}.manual-bar .primary{padding:6px 10px;font-size:11px}}
/* Início compacto, preservando o layout aprovado */
.home-screen .masthead{height:74px;min-height:74px;padding-top:10px;padding-bottom:10px}.home-screen .masthead-logo{width:195px}.home-screen main{padding-top:23px;padding-bottom:18px;min-height:0}.home-screen .area-title{font-size:36px;margin:4px 0 25px;letter-spacing:-.5px}.home-screen .area-title:after{margin-top:10px;height:5px;width:65px}.home-screen .home-buttons{gap:17px}.home-screen .home-buttons .card{min-height:160px;padding:20px 16px;gap:13px}.home-screen .home-buttons .card:nth-child(2),.home-screen .home-buttons .card.main-action{min-height:185px}.home-screen .home-buttons .card b{font-size:22px}.home-screen .home-buttons .main-action b{font-size:32px}.home-screen .home-buttons .action-icon{width:66px;height:66px}.home-screen .home-buttons .main-action .action-icon{width:105px;height:105px}.home-screen footer{padding:9px 15px 15px;font-size:11px}.hospital-picker>input{padding-right:12px}@media(max-height:760px) and (min-width:801px){.home-screen .masthead{height:64px;min-height:64px}.home-screen .masthead-logo{width:170px}.home-screen main{padding-top:16px}.home-screen .area-title{font-size:29px;margin-bottom:19px}.home-screen .home-buttons .card{min-height:133px;padding:16px 13px;gap:10px}.home-screen .home-buttons .card:nth-child(2),.home-screen .home-buttons .card.main-action{min-height:155px}.home-screen .home-buttons .card b{font-size:19px}.home-screen .home-buttons .main-action b{font-size:27px}.home-screen .home-buttons .action-icon{width:52px;height:52px}.home-screen .home-buttons .main-action .action-icon{width:82px;height:82px}.home-screen .home-buttons{gap:14px}}@media(max-width:680px){.home-screen .masthead{height:auto;min-height:70px}.home-screen .masthead-logo{width:145px}.home-screen main{padding-top:20px}.home-screen .area-title{font-size:28px;margin-bottom:22px}.home-screen .home-buttons .card{min-height:130px;padding:17px 12px}.home-screen .home-buttons .card:nth-child(2){min-height:130px}.home-screen .home-buttons .card.main-action{min-height:150px}.home-screen .home-buttons .card b{font-size:15px}.home-screen .home-buttons .main-action b{font-size:24px}.home-screen .home-buttons .action-icon{width:48px;height:48px}.home-screen .home-buttons .main-action .action-icon{width:72px;height:72px}}
/* Seleção de relatórios no padrão visual aprovado */
.reports-screen .masthead{height:74px;min-height:74px;padding-top:10px;padding-bottom:10px}.reports-screen .masthead-logo{width:195px}.reports-screen .demo{display:none}.reports-screen main{padding-top:24px;padding-bottom:22px}.report-menu-screen .area-title{font-size:32px;margin:5px 0 25px}.report-menu-screen .area-title:after{height:4px;width:65px;margin-top:11px}.report-menu-screen .back-link{font-size:12px;margin-bottom:8px}.report-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.report-choice{display:flex;align-items:center;text-align:left;gap:18px;padding:20px 21px;background:#fff;border:1px solid #ccdae1;border-radius:10px;min-height:132px;box-shadow:0 3px 9px #1a4e5c04;color:#005764;transition:box-shadow .15s,transform .15s,border-color .15s}.report-choice:hover{background:#fbfefe;border-color:#00a9b1;box-shadow:0 5px 15px #005e6810;transform:translateY(-1px)}.report-art{width:72px;height:76px;flex:0 0 72px;display:flex;align-items:center;justify-content:center;background:#e6f7f8;border-radius:13px;color:#008b98}.report-art svg{width:59px;height:59px}.report-choice b{font:700 clamp(14px,1.25vw,20px) 'DM Sans',Arial,sans-serif;letter-spacing:-.35px;line-height:1.3;flex:1;min-width:0}.report-chevron{width:15px;height:24px;flex:0 0 15px;color:#04b8c1}.report-choice:last-child{grid-column:1/-1;min-height:112px}.report-choice:last-child .report-art{height:70px}.reports-screen footer{font-size:11px;padding:9px 15px 15px}.reports-screen #result table th,.reports-screen #result table td,.reports-screen #result table th.num,.reports-screen #result table td.num{text-align:center;vertical-align:middle}.reports-screen #result .total{justify-content:center;gap:28px;text-align:center}@media(max-width:1150px){.report-choice{gap:12px;padding:17px 15px}.report-art{width:56px;height:62px;flex-basis:56px}.report-art svg{width:47px;height:47px}.report-choice b{font-size:16px}}@media(max-height:760px) and (min-width:801px){.reports-screen .masthead{height:64px;min-height:64px}.reports-screen .masthead-logo{width:170px}.reports-screen main{padding-top:15px;padding-bottom:15px}.report-menu-screen .area-title{font-size:27px;margin-bottom:20px}.report-choice-grid{gap:13px}.report-choice{min-height:108px;padding:14px 17px}.report-choice:last-child{min-height:98px}.report-art,.report-choice:last-child .report-art{height:61px;width:59px;flex-basis:59px}.report-art svg{width:48px;height:48px}.report-choice b{font-size:16px}}@media(max-width:800px){.report-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.report-choice{min-height:108px}.report-choice:last-child{min-height:98px}.reports-screen .masthead{height:auto;min-height:70px}.reports-screen .masthead-logo{width:150px}.reports-screen main{padding:22px 18px}}@media(max-width:480px){.report-choice-grid{grid-template-columns:1fr}.report-choice,.report-choice:last-child{min-height:87px;padding:12px 15px}.report-art,.report-choice:last-child .report-art{width:52px;height:58px;flex-basis:52px}.report-art svg{width:43px;height:43px}.report-choice b{font-size:16px}.report-menu-screen .area-title{font-size:27px}}@media print{.report-choice-grid{display:none}.reports-screen #result table th,.reports-screen #result table td{text-align:center!important}}
/* Fechamento de turno — identidade operacional compacta */
.shift-screen .masthead{height:74px;min-height:74px;padding-top:10px;padding-bottom:10px}.shift-screen .masthead-logo{width:195px}.shift-screen .demo{display:none}.shift-screen main{padding-top:19px;padding-bottom:15px;max-width:1600px}.shift-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.shift-heading .back-link{font-size:12px;margin-bottom:11px}.shift-heading .weigh-title{font-size:27px}.shift-heading .badge{font-size:10px;padding:9px 13px}.shift-form{border-color:#cfdee5;margin-bottom:13px}.shift-form .panel-title{padding:13px 19px}.shift-form .panel-title h2{font-size:17px;color:#005966}.shift-form .panel-body{padding:17px 20px}.shift-form .field{min-width:0}.shift-form .field label{font-size:12px;color:#426775;display:flex;align-items:center;gap:9px}.shift-form .field input,.shift-form .field select{height:39px;font-size:13px;border-color:#ccdce3;color:#174b5a}.shift-form #hours{background:#e4f4f5;opacity:1;color:#356b76}.shift-time-row{margin-top:17px}.shift-totals{gap:16px;margin:19px 0 11px}.shift-totals .stat{display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid #cbdde3;border-radius:9px;min-width:0}.shift-stat-icon{width:57px;height:62px;flex:0 0 57px;color:#008b96}.shift-stat-icon svg{width:100%;height:100%}.shift-totals .stat small{font-size:11px;color:#507783}.shift-totals .stat strong{font:700 clamp(19px,2vw,29px) 'DM Sans',sans-serif;letter-spacing:-.5px;color:#005662;margin-top:7px;white-space:nowrap}.shift-totals .shift-grand-total{background:linear-gradient(115deg,#00737c,#005c66);border-color:#006d77}.shift-grand-total .shift-stat-icon,.shift-totals .shift-grand-total strong,.shift-totals .shift-grand-total small{color:white}.shift-totals .shift-grand-total strong{font-size:clamp(22px,2.4vw,34px)}.shift-form .note{font-size:11px;color:#73929f;line-height:1.6;margin:10px 0 0}.shift-action-bar{display:flex;justify-content:flex-end;gap:12px;padding:10px 14px;background:white;border:1px solid #cfdee5;border-radius:10px;margin:0 0 17px}.shift-action-bar button{font-size:12px;padding:10px 18px}.shift-action-bar .primary{background:#009ba8;border-color:#009ba8}.shift-screen .sectionhead{margin:0 0 10px}.shift-screen .sectionhead h2{font-size:17px;color:#005663}.shift-screen table th,.shift-screen table td{text-align:center!important;font-size:12px;padding:10px 12px}.shift-screen .panel:not(.shift-form){max-height:220px;overflow:auto}.shift-screen footer{font-size:11px;padding:7px 15px 12px}@media(max-height:760px) and (min-width:801px){.shift-screen .masthead{height:64px;min-height:64px}.shift-screen .masthead-logo{width:170px}.shift-screen main{padding-top:12px}.shift-heading{margin-bottom:13px}.shift-heading .weigh-title{font-size:24px}.shift-form .panel-title{padding:10px 16px}.shift-form .panel-body{padding:13px 16px}.shift-form input,.shift-form select{height:35px!important}.shift-time-row{margin-top:12px}.shift-totals{margin:14px 0 9px}.shift-totals .stat{padding:12px 15px;gap:12px}.shift-stat-icon{width:45px;height:49px;flex-basis:45px}.shift-totals .stat strong{font-size:23px}.shift-totals .shift-grand-total strong{font-size:27px}.shift-action-bar{margin-bottom:12px;padding:8px 11px}.shift-screen .panel:not(.shift-form){max-height:150px}}@media(max-width:1050px){.shift-totals .stat{gap:10px;padding:12px}.shift-stat-icon{width:43px;flex-basis:43px}.shift-totals .stat strong{font-size:23px}.shift-totals .shift-grand-total strong{font-size:25px}}@media(max-width:800px){.shift-screen .masthead{height:auto;min-height:70px}.shift-screen .masthead-logo{width:150px}.shift-screen main{padding:18px}.shift-form .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.shift-form .row .field:last-child{grid-column:1/-1}.shift-totals{grid-template-columns:1fr}.shift-totals .stat{padding:15px 18px}.shift-heading .weigh-title{font-size:22px}.shift-heading{gap:12px}.shift-heading .badge{font-size:9px}.shift-screen .panel:not(.shift-form){max-height:260px}.shift-screen table{min-width:670px}}
/* Responsável obrigatório e texto sem corte vertical */
.shift-form .field select,.shift-form #person{height:42px!important;min-height:42px;line-height:normal;padding:7px 12px;font-size:13px;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;appearance:auto;background-color:#fff}.shift-form #person:invalid{color:#7b9199}.shift-form #person option{color:#174b5a;line-height:normal;padding:6px}.shift-form .row{align-items:end}
/* Relatórios: filtros e resultados no padrão aprovado */
.report-detail-title{font-size:27px;margin:5px 0 22px}.report-filters .panel-title{border:0;padding:17px 21px 0}.report-filters .panel-title h2{font-size:18px;color:#005b68}.report-filters .panel-body{padding:15px 21px 20px}.report-filters .field{min-width:140px}.report-filters label{font-size:12px;color:#52727f}.report-filters input,.report-filters select{height:40px;font-size:13px;line-height:normal;padding:7px 11px}.report-filters .report-hospital{flex:1.7;min-width:210px}.report-filters select{width:100%;max-width:100%}.report-filters .primary{height:40px;padding:9px 18px;background:#00a4af;border-color:#00a4af;font-size:13px}.report-results .panel-title{padding:17px 21px;gap:15px}.report-results .panel-title h2{font-size:19px;color:#00596a}.report-results .panel-title p{font-size:12px;margin:6px 0 0;color:#8399ad}.report-exports{display:flex;gap:10px}.report-exports button{font-size:12px;padding:10px 13px;border-color:#a3c9d3;color:#005b6c;white-space:nowrap}.report-results #result{padding:0 20px}.report-print-header{display:flex;gap:20px;align-items:center;padding:17px 0;border-bottom:1px solid #dce7ec;margin-bottom:14px}.report-print-header img{width:150px;height:auto}.report-print-header h2{font-size:17px;color:#005867}.report-print-header p{font-size:11px;margin:5px 0;color:#66818e;overflow-wrap:anywhere}.report-results table{table-layout:auto;font-size:12px;color:#284b60}.report-results th{font-size:12px;font-weight:700;background:#eef5f8;padding:11px 14px;color:#00546a}.report-results td{padding:10px 14px;overflow-wrap:anywhere}.report-results tbody tr:nth-child(even){background:#f5f9fb}.report-results tfoot td{background:#dff6f7;color:#00576b;font-weight:700;border:0;padding:13px}.report-result-footer{display:flex;justify-content:space-between;gap:15px;padding:15px 0;font-size:11px;color:#8198aa}.report-table-scroll{overflow:auto;max-height:45vh}.report-table-scroll thead th{position:sticky;top:0;z-index:1}.report-table-scroll tfoot td{position:sticky;bottom:0}.daily-date-title{font-size:17px;color:#005563;border-bottom:2px solid #00a4ae;padding:10px 0;margin:18px 0 13px}.daily-kind{border:1px solid #d7e5eb;border-radius:7px;padding:13px;margin:0 0 18px}.daily-kind h4{font-size:14px;background:#e9f5f6;color:#005968;padding:11px;margin:0 0 12px}.daily-process h5{font-size:12px;margin:15px 0 8px;color:#005767}.daily-subtotal,.daily-overall{font-size:13px;font-weight:700;color:#005869;text-align:center;padding:13px;background:#e1f5f6;margin-top:13px}.daily-overall{margin-bottom:8px}.hospital-editor{display:grid;gap:12px;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #dbe7e9}.hospital-editor .field{min-width:0}.hospital-editor label{font-size:12px}.hospital-editor input{width:100%;font-size:13px}.hospital-editor .row{gap:10px}.listrow{flex-wrap:wrap}.listrow span{min-width:150px}.report-demo-note{font-size:10px!important}@media(max-width:800px){.report-results .panel-title{flex-wrap:wrap}.report-filters .row{flex-wrap:wrap}.report-detail-title{font-size:22px}.report-print-header{align-items:start}.report-print-header img{width:110px}.report-results #result{padding:0 12px}.report-results td,.report-results th{padding:9px}.report-result-footer{flex-wrap:wrap}.report-table-scroll{max-height:60vh}}@media print{.reports-screen header,.reports-screen footer,.reports-screen .back-link,.reports-screen .report-detail-title,.reports-screen .report-filters,.reports-screen .report-results>.panel-title,.reports-screen .report-demo-note,.reports-screen #toast{display:none!important}.reports-screen main{max-width:none;padding:0;margin:0}.reports-screen .report-results{border:0;border-radius:0;overflow:visible}.reports-screen .report-results #result{padding:0}.reports-screen .report-print-header{display:flex}.reports-screen .report-table-scroll{overflow:visible;max-height:none}.reports-screen .report-table-scroll thead th,.reports-screen .report-table-scroll tfoot td{position:static}.reports-screen table{width:100%;font-size:10px}.reports-screen thead{display:table-header-group}.reports-screen tr{break-inside:avoid}.reports-screen .daily-kind{break-before:page;border:0;padding:0}.reports-screen .daily-date:first-of-type .daily-kind:first-of-type{break-before:auto}.reports-screen .daily-date-title{break-after:avoid}.reports-screen .daily-process{break-inside:avoid}.reports-screen .report-result-footer{font-size:9px}.reports-screen .panel{box-shadow:none}body{background:white!important} @page{margin:14mm}}
/* Cabeçalho padrão reservado à impressão; tela mantém a proposta aprovada. */
.report-print-header,.print-section-date{display:none}@media print{.reports-screen .report-print-header{display:flex}.print-section-date{display:inline}.reports-screen .report-results{max-height:none}.reports-screen .daily-kind h4{break-after:avoid}}
.weigh-selection #optype:invalid{color:#78929a}@media print{.reports-screen .daily-kind{break-before:auto;page-break-before:auto;break-inside:auto}.reports-screen .daily-date:first-of-type .daily-kind:first-of-type{break-before:auto}.reports-screen .daily-kind h4{break-after:avoid}.reports-screen .daily-process{break-inside:auto}.reports-screen .daily-process h5{break-after:avoid}}
/* Cadastros — layout aprovado */
.admin-screen .masthead{height:74px;min-height:74px;padding-top:10px;padding-bottom:10px}.admin-screen .masthead-logo{width:195px}.admin-screen .demo{display:none}.admin-screen main{padding-top:20px;padding-bottom:15px;max-width:1700px}.admin-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.admin-heading .weigh-title{font-size:28px}.admin-heading .badge{font-size:10px;padding:9px 13px}.admin-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.admin-tabs button{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid #bfd6df;border-radius:10px;padding:14px 22px;text-align:left;font-size:16px;min-height:79px;color:#0c5265}.admin-tabs button span{width:45px;height:45px;flex:0 0 45px;color:#007b89}.admin-tabs svg{width:100%;height:100%}.admin-tabs button.selected{border:2px solid #00a8b6;background:#def3f6;font-weight:700}.admin-list{border-color:#cfdee5;margin-bottom:13px}.admin-list>.panel-title{padding:15px 20px;border:0}.admin-list>.panel-title h2{font-size:22px;color:#005467}.admin-list>.panel-title .primary{background:#009ba9;border-color:#009ba9;font-size:12px;padding:11px 17px}.admin-toolbar{display:flex;align-items:end;gap:18px;padding:7px 20px 17px}.admin-toolbar>input{flex:1;min-width:0;height:39px;font-size:12px}.admin-toolbar .field{min-width:135px;max-width:230px;gap:5px}.admin-toolbar label{font-size:11px;color:#748b9c}.admin-toolbar select{height:39px;line-height:normal;padding:6px 10px;font-size:12px}.admin-table-scroll{margin:0 20px;border:1px solid #dfebf0;border-radius:8px;max-height:43vh;overflow:auto}.admin-table-scroll table{font-size:12px}.admin-table-scroll th{position:sticky;top:0;background:#edf5f8;z-index:1;font-size:12px;font-weight:700;color:#17465d;padding:12px}.admin-table-scroll td{padding:12px;color:#4b687d}.admin-table-scroll th,.admin-table-scroll td{text-align:center}.admin-table-scroll tr:nth-child(even){background:#f7fafc}.admin-table-scroll strong{display:block;color:#213f55;font-size:13px}.admin-table-scroll small{display:block;font-size:11px;margin-top:5px;color:#728b9b}.admin-row-actions{white-space:nowrap}.admin-row-actions button{border:1px solid #248b9f;color:#00687c;font-size:11px;padding:7px 11px;margin:0 3px;border-radius:6px}.admin-row-actions button.deactivate{color:#cb7b18;border-color:#e1aa5e}.admin-row-actions button.activate{color:#007d89;border-color:#008b98}.status-chip{display:inline-block;min-width:66px;background:#d4f4df;color:#237744;border-radius:13px;padding:5px 12px;font-size:11px;font-weight:600}.status-chip.inactive{background:#e5ebef;color:#687f8f}.admin-list-footer{display:flex;justify-content:space-between;gap:14px;padding:14px 20px;font-size:11px;color:#8299a8}.admin-info{background:#e6f5fc;border:1px solid #a8d9eb;color:#31677e;border-radius:8px;padding:13px 17px;font-size:11px;line-height:1.6}.admin-screen footer{font-size:11px;padding:8px 15px 14px}.admin-editor{width:720px;max-width:calc(100vw - 32px);max-height:90dvh;padding:24px;border:1px solid #bed4de;border-radius:13px;color:#174f60}.editor-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.editor-heading h2{font-size:20px}.editor-heading button{border:0;padding:2px 8px;font-size:23px}.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.admin-form-grid .field{min-width:0;gap:7px}.admin-form-grid .full{grid-column:1/-1}.admin-form-grid label{font-size:12px}.admin-form-grid input,.admin-form-grid select,.admin-form-grid textarea{font:13px 'DM Sans',sans-serif;line-height:normal;min-height:40px;padding:8px 10px;width:100%;box-sizing:border-box;border:1px solid #cedee4;border-radius:6px;color:#234b5b}.editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.editor-actions button{font-size:12px;padding:10px 15px}.permissions{border:1px solid #d4e3e9;border-radius:8px;margin:21px 0 0;padding:15px;display:grid;grid-template-columns:1fr 1fr;gap:13px}.permissions legend{font-size:13px;font-weight:700;padding:0 7px}.permissions label{display:flex;align-items:center;gap:9px;font-size:12px}.permissions input{accent-color:#009ba9;width:16px;height:16px}.permissions input:disabled{opacity:.45}.admin-editor .note{font-size:11px}.hospital-name,.reports-screen #result table th.hospital-name,.reports-screen #result table td.hospital-name,.admin-table-scroll th.hospital-name,.admin-table-scroll td.hospital-name{text-align:left!important}.panel table th:not(.hospital-name),.panel table td:not(.hospital-name){text-align:center}.panel table .hospital-name{overflow-wrap:anywhere}.weigh-selection #ophospital{text-align:left}.hospital-picker button{text-align:left!important}.report-print-header p{text-align:left}@media(max-width:1000px){.admin-tabs button{font-size:13px;gap:12px;padding:12px}.admin-tabs button span{width:35px;height:35px;flex-basis:35px}.admin-table-scroll{overflow:auto}.admin-table-scroll table{min-width:750px}}@media(max-height:760px) and (min-width:801px){.admin-screen .masthead{height:64px;min-height:64px}.admin-screen .masthead-logo{width:170px}.admin-screen main{padding-top:13px}.admin-heading{margin-bottom:14px}.admin-heading .weigh-title{font-size:24px}.admin-tabs button{min-height:66px;padding:11px 16px}.admin-tabs button span{width:37px;height:37px;flex-basis:37px}.admin-tabs{margin-bottom:14px}.admin-table-scroll td{padding:9px 12px}.admin-table-scroll{max-height:38vh}}@media(max-width:680px){.admin-screen .masthead{height:auto;min-height:70px}.admin-screen .masthead-logo{width:145px}.admin-screen main{padding:20px 18px}.admin-tabs{gap:8px}.admin-tabs button{flex-direction:column;gap:8px;text-align:center;font-size:11px;padding:12px 7px}.admin-tabs button span{width:31px;height:31px;flex-basis:31px}.admin-list>.panel-title{padding:14px;gap:12px}.admin-list>.panel-title h2{font-size:17px}.admin-list>.panel-title .primary{font-size:10px;padding:9px 11px}.admin-toolbar{padding:8px 14px 14px;flex-wrap:wrap;gap:12px}.admin-toolbar>input{flex-basis:100%}.admin-toolbar .field{flex:1;max-width:none}.admin-table-scroll{margin:0 13px;max-height:50vh}.admin-list-footer{padding:13px;flex-wrap:wrap;font-size:10px}.admin-form-grid{grid-template-columns:1fr}.admin-form-grid .full{grid-column:auto}.permissions{grid-template-columns:1fr}.admin-editor{padding:19px}.admin-info{font-size:10px}}@media print{.reports-screen #result table th.hospital-name,.reports-screen #result table td.hospital-name{text-align:left!important}}
/* Captura local da DIGI-TRON por Web Serial */
.scale-buttons{display:flex;gap:8px;align-items:center}.live-tools .scale-buttons button{font-size:11px;padding:8px 11px}.live-tools #connectscale{background:transparent;color:#fff;border-color:#8bbfc7}.live-tools #captureweight{background:#fff;color:#005e69}.connection-status.scale-online{color:#dcffec;border-color:#73d9b5}.scale-help{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 14px;font-size:10px;color:#547d8a;line-height:1.5;margin:7px 2px}.scale-help small{font-size:9px;color:#8499a2}.scale-capture-note{font-size:10px;color:#26808a;min-height:0;margin:3px 2px 6px}.scale-capture-note:empty{display:none}.live-tools{max-width:65%}#scaleDetails{overflow-wrap:anywhere}@media(max-width:500px){.scale-buttons{flex-direction:column;align-items:stretch;gap:5px}.live-tools{gap:8px}.live-tools .scale-buttons button{font-size:10px;padding:6px 9px}.live-tools .connection-status{font-size:9px}.scale-help{font-size:10px}}
.hospital-origin{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0}.hospital-origin label{font-size:11px}.hospital-origin select{width:100%;font-size:12px;height:36px;padding:6px 10px}.origin-label{display:block;font-size:10px;color:#66818b;margin-top:3px}.origin-add{display:flex;gap:8px;margin:12px 0}.origin-add input{flex:1;min-width:0}.origin-admin-list{max-height:200px;overflow:auto;margin:12px 0}.origin-admin-row{display:flex;align-items:center;gap:8px;padding:7px;border-bottom:1px solid #e2eded}.origin-admin-row>:first-child{flex:1;text-align:left}.origin-admin-row button{font-size:11px;padding:7px 10px}.admin-row-actions{flex-wrap:wrap}@media(max-width:600px){.hospital-origin{grid-template-columns:1fr}.origin-admin-row{flex-wrap:wrap}}
.scale-buttons [hidden]{display:none!important}

/* Uniform report tiles and pending process workspace. */
.report-choice:last-child{grid-column:auto;min-height:132px}.report-choice:last-child .report-art{height:76px}
.pending-screen .demo{display:none}.pending-screen .masthead{height:74px;min-height:74px;padding-top:10px;padding-bottom:10px}.pending-screen .masthead-logo{width:195px}.pending-screen main{padding-top:22px;padding-bottom:22px}.pending-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.pending-heading .back-link{font-size:12px;margin-bottom:9px}.pending-intro{font-size:12px;margin:12px 0 22px}.pending-list .panel-title{padding:18px 21px}.pending-list .panel-title p{font-size:11px;margin:5px 0 0}.pending-toolbar{display:flex;align-items:end;gap:14px;padding:16px 21px;background:#fbfdfd;border-bottom:1px solid #e1eaec}.pending-toolbar>input{flex:1;min-width:0;height:38px;font-size:12px}.pending-toolbar .field{min-width:180px}.pending-toolbar label{font-size:11px}.pending-toolbar select{height:38px;font-size:12px;padding:7px 11px}.pending-table-scroll{overflow:auto;max-height:44vh}.pending-list table th,.pending-list table td{text-align:center;font-size:12px;vertical-align:middle}.pending-list table .hospital-name{text-align:left}.pending-resume{font-size:11px;padding:8px 13px;white-space:nowrap}.pending-empty{text-align:center;padding:32px 20px}.pending-empty>span{display:inline-flex;width:62px;height:62px;color:#0b99a3;background:#e6f5f5;border-radius:14px;padding:10px;margin-bottom:12px}.pending-empty p{font-size:12px}.pending-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:15px}.pending-bottom span{font-size:11px;color:#718b92}.pending-bottom button{font-size:12px}.pending-screen footer{font-size:11px}@media(max-height:760px) and (min-width:801px){.report-choice:last-child{min-height:108px}.report-choice:last-child .report-art{height:61px}.pending-screen .masthead{height:64px;min-height:64px}.pending-screen main{padding-top:15px}}@media(max-width:800px){.report-choice:last-child{min-height:108px}.report-choice:last-child .report-art{height:62px}.pending-screen main{padding:20px 18px}.pending-heading{align-items:flex-start}.pending-toolbar{flex-wrap:wrap}.pending-toolbar>input{flex-basis:100%}.pending-toolbar .field{width:100%}.pending-bottom{align-items:flex-start;flex-direction:column}}@media(max-width:480px){.report-choice:last-child{min-height:87px}.report-choice:last-child .report-art{height:58px}}
.dashboard-screen .demo{display:none}.dashboard-screen .masthead{height:74px;min-height:74px;padding-top:10px;padding-bottom:10px}.dashboard-screen .masthead-logo{width:195px}.dashboard-screen main{padding-top:26px;padding-bottom:20px}.dashboard-heading{display:flex;align-items:center;justify-content:space-between}.dashboard-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#02969d}.dashboard-heading h1{margin-top:9px}.dashboard-intro{font-size:12px;margin:13px 0 22px}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}.dashboard-card{background:white;border:1px solid #d6e4e8;border-radius:13px;min-height:465px;padding:22px;display:flex;flex-direction:column;box-shadow:0 4px 18px #00586605}.dashboard-card-header{display:flex;gap:12px;align-items:center;margin-bottom:20px}.dashboard-icon{width:43px;height:43px;flex:0 0 43px;background:#e4f4f5;border-radius:11px;padding:8px;color:#0099a5}.dashboard-icon svg{width:100%;height:100%}.dashboard-card-header h2{font-size:17px;color:#004d59}.dashboard-card-header p{font-size:11px;margin:3px 0 0}.dashboard-live{font-size:9px;color:#69878c;margin-left:auto;white-space:nowrap}.dashboard-live i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#00a997;margin-right:4px}.dashboard-filters{display:flex;align-items:end;gap:9px;margin-bottom:10px}.dashboard-filters .field{flex:1;min-width:0}.dashboard-filters label{font-size:10px}.dashboard-filters input,.dashboard-filters select{width:100%;height:36px;padding:6px 9px;font-size:11px}.dashboard-filters button{height:36px;font-size:11px;white-space:nowrap;padding:7px 12px}.dashboard-filters [hidden]{display:none!important}.dashboard-error{color:#b44d4d;font-size:11px}.dashboard-error:empty{display:none}.dashboard-period-label{font-size:11px;color:#63828a;margin:12px 0 8px}.dashboard-weight{font:800 clamp(32px,3.5vw,46px) 'Manrope',Arial,sans-serif;letter-spacing:-1.5px;color:#004e59}.dashboard-weight span{font:500 19px 'DM Sans',Arial,sans-serif;letter-spacing:0;margin-left:9px;color:#759298}.dashboard-comparison{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:11px 0 20px}.dashboard-comparison>span:last-child{font-size:10px;color:#789094}.dashboard-trend{font-size:12px;font-weight:700;padding:5px 9px;border-radius:6px}.dashboard-trend.up{background:#e4f6ed;color:#188354}.dashboard-trend.down{background:#fff0ef;color:#bf4e4a}.dashboard-trend.neutral{background:#f0f4f5;color:#617b82}.dashboard-previous{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px;background:#f3f8f9;border-radius:8px}.dashboard-previous span{font-size:10px;color:#789197}.dashboard-previous strong{display:block;font-size:11px;font-weight:500;color:#496b74;margin-top:5px}.dashboard-previous>b{font-size:16px;color:#075967;white-space:nowrap}.dashboard-rule,.dashboard-basis{font-size:10px;line-height:1.5;color:#779097;margin-top:11px}.dashboard-basis{color:#8da2a7;margin-top:7px}.dashboard-card-footer{display:flex;justify-content:space-between;font-size:9px;color:#8ba2a8;padding-top:15px;margin-top:auto}.dashboard-preview-note{font-size:10px;margin-top:18px;color:#829ba2}.dashboard-screen footer{font-size:11px}@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.dashboard-card{max-width:650px}.dashboard-live{display:none}}@media(max-width:500px){.dashboard-screen main{padding:20px 15px}.dashboard-card{padding:17px}.dashboard-filters{flex-wrap:wrap}.dashboard-filters .field{min-width:130px}.dashboard-filters button{width:100%}.dashboard-previous{flex-wrap:wrap}}
/* Compact dashboard: one reusable card size, independent controls. */
.dashboard-screen main{max-width:1700px;padding-top:20px;padding-bottom:12px}.dashboard-screen .dashboard-heading{margin-bottom:20px}.dashboard-screen .dashboard-heading h1{font-size:27px}.compact-dashboard{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dash-card{height:320px;min-width:0;background:#fff;border:1px solid #d5e4e9;border-radius:12px;padding:18px;display:flex;flex-direction:column;box-shadow:0 3px 12px #00586604}.dash-head{display:flex;align-items:center;gap:10px;min-height:32px;margin-bottom:13px}.dash-icon{width:32px;height:32px;flex:0 0 32px;color:#008c9a}.dash-icon svg{width:100%;height:100%}.dash-head h2{font-size:15px;line-height:1.2;color:#004c5e;flex:1;min-width:0}.dash-refresh{padding:0;border:0;background:transparent;color:#4e7888;width:23px;height:25px;font-size:24px;font-weight:400;line-height:1}.dash-refresh:hover{background:#eaf7f8}.dash-info{position:relative;color:#6e8e9b;font-size:17px}.dash-info summary{cursor:pointer;list-style:none;width:21px;text-align:center}.dash-info summary::-webkit-details-marker{display:none}.dash-info>div{position:absolute;z-index:20;right:-24px;top:30px;width:255px;padding:12px;background:#fff;border:1px solid #cedfe5;border-radius:8px;font-size:11px;line-height:1.5;box-shadow:0 6px 24px #003d5420;color:#4b6d7b}.dash-filters{display:flex;gap:8px;margin-bottom:9px;min-height:32px}.dash-filters select,.dash-filters input{font-size:11px;height:32px;padding:5px 8px;border-color:#d5e3e9;border-radius:7px;min-width:0;max-width:100%;color:#285563}.dash-filters select{flex:1}.dash-filters input{width:47%;flex:1}.dash-filters input:disabled{background:#fff;opacity:1;color:#64838f;-webkit-text-fill-color:#64838f}.dash-secondary{height:26px;padding:3px 7px;font-size:10px;border:0;background:#eff7f8;color:#4f7784;align-self:flex-start;max-width:100%;margin:-1px 0 4px}.dash-result{flex:1;min-height:0;display:flex;flex-direction:column}.dash-period{font-size:10px;line-height:1.3;color:#7795a0;margin:3px 0 8px;min-height:13px}.dash-number{font:800 clamp(28px,2.8vw,39px)/1.2 'Manrope',Arial,sans-serif;letter-spacing:-1.2px;color:#004b60;white-space:nowrap}.dash-number small{font:400 16px 'DM Sans',Arial,sans-serif;color:#819da7;letter-spacing:0}.dash-change{display:flex;align-items:center;gap:8px;margin:10px 0 8px;min-height:25px;flex-wrap:wrap}.dash-change>span:last-child:not(.dash-pill){font-size:10px;color:#8098a2}.dash-pill{font-size:12px;font-weight:700;border-radius:20px;padding:5px 11px;line-height:1}.dash-pill.up{background:#d9f5e5;color:#177d52}.dash-pill.down{background:#ffe4e4;color:#b34242}.dash-pill.neutral{background:#f0f4f6;color:#70858e}.dash-pill.ratio{background:#e0f3f5;color:#00818f}.dash-previous{margin-top:auto;padding-top:11px;border-top:1px solid #e2ebef;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#365b70}.dash-previous strong{font-weight:600;color:#0c4257}.dash-dirty-base{font-size:10px;color:#7e96a0;margin:0 0 8px}.dash-dirty-base b{font-weight:500}.dash-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px;color:#8ca4ad;padding-top:8px;min-height:20px}.dash-chart-label{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#7996a1;margin:3px 0 10px}.dash-chart-label strong{font-size:11px;color:#205c6f}.dash-chart{height:155px;display:flex;gap:6px;position:relative;margin-top:4px}.dash-chart-axis{width:28px;flex:0 0 28px;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:20px;font-size:8px;color:#8da4ad}.dash-bars{flex:1;display:flex;align-items:stretch;gap:5px;min-width:0;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#eff4f6 45px,#eff4f6 46px);border-bottom:1px solid #d5e4e9}.dash-bar-item{display:flex;flex-direction:column;flex:1;min-width:0;align-items:center}.dash-bar-slot{flex:1;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center;padding:0 2px}.dash-bar{position:relative;max-width:30px;width:100%;background:linear-gradient(0deg,#0095a5,#45c4c8);border-radius:4px 4px 0 0;min-height:1px;cursor:help;outline-offset:2px}.dash-bar.future{background:#dce8ed}.dash-bar-label{height:20px;padding-top:6px;font-size:8px;line-height:1;color:#7a929f;white-space:nowrap}.dash-bar-tooltip{display:none;position:absolute;bottom:100%;left:50%;transform:translateX(-50%);z-index:10;font-size:10px;color:white;background:#005468;border-radius:4px;padding:5px 7px;white-space:nowrap}.dash-bar:hover .dash-bar-tooltip,.dash-bar:focus .dash-bar-tooltip{display:block}.dash-chart-empty{font-size:10px;color:#8aa0a8;text-align:center;margin-top:6px}.dash-empty{font-size:11px;color:#8199a3;text-align:center;margin:auto 0;padding:10px}.dash-error .dash-empty{color:#b44f4f}.dash-hospital-list{flex:1;min-height:0;overflow:auto;margin-bottom:6px}.dash-hospital-list table{width:100%;border-collapse:collapse;table-layout:fixed}.dash-hospital-list th,.dash-hospital-list td{font-size:10px;padding:6px 4px;border-bottom:1px solid #eef3f5;text-align:center}.dash-hospital-list th:first-child,.dash-hospital-list td:first-child{text-align:left;width:70%;overflow-wrap:anywhere}.dash-hospital-list th{font-size:9px;color:#8099a4;background:#fff;position:sticky;top:0}.dash-hospital-list td:last-child{white-space:nowrap;color:#19566a}.dash-hospital-total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d9e8eb;padding-top:9px;font-size:11px;color:#155a6c}.dash-hospital-total strong{font-size:15px}.dash-hospital-total small{font-weight:400;font-size:11px}.dashboard-screen .dashboard-preview-note{font-size:9px;margin-top:12px;margin-bottom:0}@media(min-width:1001px) and (max-height:780px){.dash-card{height:285px;padding:14px}.dash-head{margin-bottom:10px}.dash-chart{height:125px}.dashboard-screen main{padding-top:12px}.dashboard-screen .dashboard-heading{margin-bottom:12px}.dash-number{font-size:30px}.dash-change{margin-top:7px;margin-bottom:6px}.dash-period{margin-bottom:5px}.dash-head h2{font-size:14px}}@media(max-width:1100px){.compact-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-card{height:320px}}@media(max-width:650px){.compact-dashboard{grid-template-columns:1fr}.dash-card{height:320px}.dashboard-screen .dashboard-heading h1{font-size:24px}.dash-number{font-size:36px}}
#dash-return .dash-period{margin:2px 0 5px}#dash-return .dash-number{font-size:32px;line-height:1.1}#dash-return .dash-change{margin:6px 0 5px;min-height:22px}#dash-return .dash-dirty-base{margin:0 0 4px}#dash-return .dash-previous{padding-top:8px}
.scale-capture-note:not(:empty){background:#e6f4f5;border:1px solid #c4e4e7;border-radius:6px;padding:8px 10px;font-size:11px;color:#075d69;margin:7px 0}

#toast.process-success{position:fixed;top:96px;bottom:auto;right:28px;z-index:10000;display:flex;align-items:center;gap:12px;width:390px;max-width:calc(100vw - 32px);padding:19px 20px 23px;background:#fff;color:#075865;border:1px solid #a4d9ce;border-radius:10px;box-shadow:0 8px 30px #004b6020;overflow:hidden}.toast-success-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;border-radius:50%;font-size:20px;font-weight:700;background:#dff5eb;color:#16825a}.toast-success-message{font-size:14px;line-height:1.5;font-weight:600}.toast-progress-track{position:absolute;bottom:0;left:0;right:0;height:5px;background:#e4f2ee}.toast-progress-fill{width:100%;height:100%;background:#00a399;transform:scaleX(0);transform-origin:left;animation:toast-fill linear forwards}@keyframes toast-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}@media(max-width:600px){#toast.process-success{top:85px;right:16px}.toast-success-message{font-size:13px}}
.cancel-screen .demo{display:none}.cancel-screen .masthead{height:74px;min-height:74px;padding-top:10px;padding-bottom:10px}.cancel-screen .masthead-logo{width:195px}.cancel-screen main{padding-top:22px;padding-bottom:20px}.cancel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.cancel-heading .back-link{font-size:12px;margin-bottom:8px}.cancel-search .panel-title,.cancel-details .panel-title{padding:16px 21px}.cancel-search-form{display:flex;align-items:end;gap:15px;padding:17px 21px}.cancel-search-form .field{flex:1;max-width:420px}.cancel-search-form label,.cancel-details label{font-size:11px}.cancel-search-form input{width:100%;height:38px;font-size:12px}.cancel-search-form button{height:38px;font-size:12px;padding:8px 19px}.cancel-empty{text-align:center;padding:30px 20px}.cancel-empty>span{display:inline-flex;width:57px;height:57px;padding:10px;background:#e6f5f6;border-radius:12px;color:#0096a0;margin-bottom:12px}.cancel-empty h2{font-size:16px;color:#075868}.cancel-empty p{font-size:12px;margin:9px 0 0}.cancel-details-body{padding:19px 21px}.cancel-hospital{display:flex;flex-direction:column;gap:5px;margin-bottom:17px}.cancel-hospital>span,.cancel-process-grid>div>span{font-size:10px;color:#7c949e}.cancel-hospital strong{font-size:16px;font-weight:600;color:#075766;text-align:left;overflow-wrap:anywhere}.cancel-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;border:1px solid #dce9ec;border-radius:8px;background:#f5fafa;margin-bottom:18px;padding:13px 15px}.cancel-process-grid>div{display:flex;flex-direction:column;justify-content:center;gap:6px;text-align:center}.cancel-process-grid strong{font-size:14px;font-weight:600;color:#1d5b69}.cancel-process-grid .cancel-weight strong{font-size:20px;color:#007e8a}.cancel-weight small{font-size:11px;font-weight:400}.cancel-details textarea{width:100%;min-height:60px;resize:vertical;font-size:12px;border:1px solid #d7e5e9;border-radius:6px;padding:10px 12px;color:#305864;font-family:inherit}.cancel-details textarea:focus{outline:2px solid #00a4ae33;border-color:#00a4ae}.cancel-warning{display:flex;align-items:center;gap:10px;background:#fff8e9;border:1px solid #f0e3bc;border-radius:7px;padding:10px 12px;margin:13px 0}.cancel-warning>span{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bb9140;border-radius:50%;height:18px;flex:0 0 18px;color:#a67b31;font-weight:700;font-size:11px}.cancel-warning p{font-size:11px;color:#8d702f;line-height:1.4;margin:0}.cancel-action-row{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.cancel-action-row button{font-size:12px;padding:10px 18px}.cancel-submit{color:white;background:#ba5453;border-color:#ba5453}.cancel-submit:hover{background:#a84646;color:white;border-color:#a84646}.cancel-bottom{display:flex;justify-content:flex-end;margin-top:15px}.cancel-bottom button{font-size:12px}.cancel-state-note{background:#f1f6f7;border:1px solid #d9e6e9;border-radius:7px;padding:14px;font-size:12px;color:#64838c}.cancel-state-note p{margin-bottom:0;overflow-wrap:anywhere}.cancel-screen footer{font-size:11px}@media(min-width:801px) and (max-height:780px){.cancel-screen .masthead{height:64px;min-height:64px}.cancel-screen main{padding-top:14px}.cancel-heading{margin-bottom:15px}.cancel-details-body{padding:14px 18px}.cancel-process-grid{padding:10px 12px;margin-bottom:13px}.cancel-hospital{margin-bottom:13px}.cancel-search{margin-bottom:15px}}@media(max-width:700px){.cancel-screen main{padding:20px 18px}.cancel-heading{align-items:flex-start}.cancel-search-form{align-items:stretch;flex-direction:column}.cancel-search-form .field{max-width:none}.cancel-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cancel-action-row{flex-wrap:wrap}}
/* Authenticated online test environment */
.login-screen .shell{min-height:100vh}.login-screen main{display:grid;place-items:center;min-height:calc(100vh - 190px);padding:24px}.login-panel{width:min(100%,420px);padding:30px}.login-panel>img{width:190px;display:block;margin:0 auto 26px}.login-panel h1{font-size:24px;text-align:center;margin:0 0 24px}.login-panel .field{margin-bottom:16px}.login-panel input{width:100%;min-height:44px}.login-panel button{width:100%;min-height:44px}.login-panel small{display:block;text-align:center;color:#65818b;margin-top:18px}#loginError{color:#ac283c;min-height:20px;font-size:13px}.profile select:disabled{opacity:1;color:#123c4b;cursor:default;background-image:none;padding-right:8px}[hidden]{display:none!important}

/* Connection setup stays collapsed; weighing has no persistent connection badge. */
.scale-settings{font-size:11px;color:#537780;margin:9px 0}.scale-settings summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;padding:5px 0;font-weight:600}.scale-settings summary::-webkit-details-marker{display:none}.scale-settings[open]{padding:10px 13px;background:#fff;border:1px solid #d4e4e7;border-radius:8px}.scale-settings-body p{font-size:11px;line-height:1.5;margin:6px 0}.scale-settings-actions{display:flex;gap:8px;flex-wrap:wrap}.scale-settings-actions button{font-size:11px;padding:8px 12px}.home-screen .scale-settings{max-width:870px;margin:16px auto 0}.scale-capture-note{overflow-wrap:anywhere}

/* Histórico importado: distinct source, no fictitious process detail. */
.history-note{padding:12px 18px;margin:12px 20px;border-left:3px solid #00a7ad;background:#edf7f7;color:#315861;font-size:13px;line-height:1.5}
.history-more{display:block;margin:18px auto;min-height:46px}
#dash-columns .dash-filters{grid-template-columns:90px 1fr 1fr;gap:8px}
@media(max-width:650px){#dash-columns .dash-filters{grid-template-columns:1fr 1fr}#dash-columns [data-week]{grid-column:1/-1}}
@media print{.history-more{display:none}.report-table-scroll{max-height:none;overflow:visible}.history-note{font-size:10px;margin:8px 0}}

/* Pesagem por toque: alvos amplos e seleção explícita, mantendo o hospital travado. */
.weigh-screen button,.weigh-screen input,.weigh-screen select{min-height:48px;font-size:15px;touch-action:manipulation}.weigh-screen .back-link{min-height:44px;padding:10px 12px}.weigh-screen .field label{font-size:13px;line-height:1.4}.weigh-screen .weigh-selection{gap:14px;align-items:end;flex-wrap:wrap}.weigh-screen .hospital-field{flex:1;min-width:250px}.weigh-screen .hospital-picker{display:flex;gap:9px;align-items:stretch}.weigh-screen #ophospital{width:100%;min-width:0;font-size:14px;cursor:pointer;text-overflow:ellipsis}.weigh-screen #ophospital:disabled{cursor:default}.weigh-screen #chooseHospital{white-space:nowrap;border-color:#008d99;color:#006270;background:#edf9fa;font-size:14px;flex-shrink:0}.weigh-screen #chooseHospital span{font-size:22px;margin-left:6px}.weigh-screen #confirmselection{min-width:164px;padding:12px 18px}.weigh-screen .manual-bar{gap:12px;flex-wrap:wrap}.weigh-screen .manual-bar label{font-size:13px;line-height:1.4}.weigh-screen #weight{font-size:23px;min-height:56px;min-width:125px;flex:1}.weigh-screen #addweight{min-height:56px;font-size:16px;padding:13px 20px}.weigh-screen #captureweight{min-height:60px;font-size:17px;padding:15px 24px}.weigh-screen .weight-actions{white-space:nowrap;min-width:128px}.weigh-screen .weight-actions .icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:48px;width:48px;min-height:48px;height:48px;padding:12px;margin:3px;border:1px solid #d4e4e7;border-radius:9px}.weigh-screen .weight-actions .delete-weight{margin-left:10px;color:#b34f48;background:#fff7f5}.weigh-screen .weights-scroll td{padding:8px 12px;font-size:14px}.weigh-screen .weights-scroll{max-height:34vh;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.weigh-screen .weigh-bottom{position:sticky;bottom:0;z-index:3;background:#f4f8f9;border-top:1px solid #cbdfe3;padding:14px 0 10px;margin-top:16px}.weigh-screen .bottom-buttons{gap:18px}.weigh-screen #finish{min-height:56px;min-width:210px;font-size:16px}.weigh-screen #discard{min-height:48px;font-size:14px}.weigh-screen .selection-lock{white-space:normal;line-height:1.4}.weigh-screen .hospital-origin select{min-height:52px;font-size:15px}.weigh-screen button:focus-visible,.touch-hospital-dialog button:focus-visible{outline:3px solid #00a6b6;outline-offset:3px}.touch-hospital-dialog{width:min(850px,calc(100vw - 32px));max-width:850px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #c6dce1;border-radius:16px;color:#154c59;box-shadow:0 24px 80px #123d3b33;overflow:hidden}.touch-hospital-dialog[open]{display:flex;flex-direction:column}.touch-hospital-dialog::backdrop{background:#123d3b80;backdrop-filter:blur(3px)}.touch-dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:21px 24px;border-bottom:1px solid #dfebed}.touch-dialog-heading h2{font-size:23px}.touch-dialog-heading p{font-size:14px;margin:6px 0 0}.touch-dialog-heading button{min-width:48px;min-height:48px;font-size:20px;padding:8px}.touch-hospital-search{padding:17px 24px 12px;display:grid;gap:8px}.touch-hospital-search label{font-size:13px;font-weight:600}.touch-hospital-search input{width:100%;min-height:54px;font-size:17px;padding:13px 16px}.touch-hospital-search>span{font-size:12px;color:#68878f}.touch-hospital-list{overflow:auto;min-height:100px;max-height:47dvh;padding:0 24px 14px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.touch-hospital-list>button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:64px;padding:14px 16px;text-align:left;border:1px solid #d9e6e9;border-radius:9px;margin:0 0 9px;background:white;touch-action:manipulation}.touch-hospital-list strong{font-size:16px;line-height:1.45;white-space:normal;overflow-wrap:anywhere;display:block}.touch-hospital-list small{font-size:12px;line-height:1.5;font-weight:400;color:#68818b;display:block;margin-top:4px;overflow-wrap:anywhere}.hospital-check{border:1px solid #b6cfd5;border-radius:50%;width:26px;height:26px;flex:0 0 26px;text-align:center;line-height:24px;color:transparent}.touch-hospital-list>button.selected{background:#e6f6f5;border:2px solid #008d99;padding:13px 15px}.selected .hospital-check{background:#008d99;border-color:#008d99;color:white}.touch-dialog-footer{padding:17px 24px;border-top:1px solid #d9e6e9;background:#f6fafb;display:flex;gap:20px;align-items:center;justify-content:space-between}.touch-dialog-footer>div:first-child{min-width:0;flex:1}.touch-dialog-footer span{display:block;font-size:12px;color:#6b878f;margin-bottom:5px}.touch-dialog-footer strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.touch-dialog-actions{display:flex;gap:12px}.touch-dialog-actions button{min-height:52px;padding:12px 20px;font-size:15px;touch-action:manipulation}.touch-hospital-empty{padding:24px 12px;text-align:center}
@media(max-width:1100px){.weigh-screen .hospital-field{flex-basis:55%}.weigh-screen .weigh-selection .degoma-field{min-width:220px}.weigh-screen .weigh-columns{gap:16px}.weigh-screen .weigh-bottom .preserved{font-size:11px}}
@media(max-width:750px){.weigh-screen .hospital-field{flex-basis:100%}.weigh-screen .hospital-picker{flex-wrap:wrap}.weigh-screen #chooseHospital{width:100%}.weigh-screen .weigh-columns{grid-template-columns:1fr}.weigh-screen .weigh-bottom{display:block}.weigh-screen .preserved{margin-bottom:10px}.weigh-screen .bottom-buttons{display:flex;gap:12px}.weigh-screen .bottom-buttons button{flex:1;min-width:0!important}.touch-dialog-footer{flex-direction:column;align-items:stretch;gap:12px}.touch-dialog-actions button{flex:1}.touch-hospital-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.touch-dialog-heading,.touch-hospital-search,.touch-dialog-footer{padding:14px 16px}.touch-hospital-list{padding:0 16px 12px;max-height:42dvh}.touch-dialog-heading h2{font-size:20px}}
@media(pointer:coarse){.home-screen .masthead button,.weigh-screen .masthead button{min-height:48px}.home-screen .scale-settings summary,.weigh-screen .scale-settings summary{min-height:44px;font-size:13px}.home-screen .scale-settings-actions button,.weigh-screen .scale-settings-actions button{min-height:48px;font-size:14px}}
/* Fechamento de turno: seleção explícita e controles confortáveis no touch. */
.shift-screen .shift-heading{margin-bottom:20px}.shift-screen .shift-form .panel-title{padding:17px 22px}.shift-screen .shift-form .panel-body{padding:20px 22px}.shift-screen .shift-form .row{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(260px,1.7fr) minmax(180px,.8fr);gap:18px;align-items:start}.shift-screen .shift-form .row:has(#sarea){grid-template-columns:minmax(160px,.8fr) minmax(160px,.8fr) minmax(280px,1.5fr) minmax(180px,.8fr)}.shift-screen .shift-form .shift-time-row{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px;align-items:end}.shift-screen .shift-form .field label{font-size:13px;min-height:20px;margin-bottom:9px;line-height:1.45;display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px}.shift-screen .shift-form input,.shift-screen .shift-form select{height:54px!important;min-height:54px!important;width:100%;padding:12px 14px;font-size:17px;line-height:normal}.shift-screen .shift-form #person[hidden]{display:none!important}.required-note{font-size:10px;letter-spacing:.2px;color:#6a8288;font-weight:400}.shift-people-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shift-people-choices button{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;height:auto;padding:12px 14px;font-size:16px;font-weight:600;line-height:1.45;white-space:normal;overflow-wrap:anywhere;border:1px solid #bfd5dc;border-radius:8px;color:#1d5a66;background:#fff;touch-action:manipulation}.shift-people-choices button[aria-pressed=true]{background:#e1f5f3;border:2px solid #008e99;padding:11px 13px;color:#006875;box-shadow:inset 0 0 0 1px #008e9915}.shift-people-choices button[aria-pressed=true]::before{content:'✓';margin-right:9px;font-weight:700}.shift-no-people{grid-column:1/-1;margin:0;font-size:13px;line-height:1.5}.people-stepper{display:flex;gap:8px}.people-stepper button{min-width:50px;min-height:54px;height:54px;font-size:24px;line-height:1;padding:10px;background:#eef8f9;border-color:#c8e0e4;touch-action:manipulation}.shift-screen .people-stepper #people{min-width:55px;width:100%;text-align:center;font-size:20px;padding:10px 4px;appearance:textfield;-moz-appearance:textfield}.people-stepper #people::-webkit-inner-spin-button{appearance:none}.shift-screen #hours{background:#e9f6f6;border-color:#c2e2e4;color:#136370;font-size:19px;opacity:1}.shift-screen .shift-totals{margin:22px 0 14px;gap:16px}.shift-screen .shift-totals .stat{min-height:110px;padding:18px;gap:14px}.shift-screen .shift-totals .stat small{font-size:12px;line-height:1.4}.shift-screen .shift-totals .stat strong{font-size:clamp(24px,2.3vw,32px);margin-top:9px;white-space:normal;overflow-wrap:anywhere}.shift-screen .shift-stat-icon{width:46px;height:52px;flex-basis:46px}.shift-screen .shift-form .note{font-size:12px;line-height:1.6;max-width:1000px}.shift-screen .shift-action-bar{position:sticky;bottom:0;z-index:3;gap:18px;padding:12px 16px;margin-bottom:22px;box-shadow:0 -3px 12px #16424c05}.shift-screen .shift-action-bar button{min-height:52px;font-size:15px;padding:13px 24px;touch-action:manipulation}.shift-screen #saveshift{min-width:210px;font-size:16px}.shift-screen .back-link{min-height:44px;font-size:13px;padding:10px 12px}.shift-screen .shift-history{max-height:320px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.shift-screen .shift-history th,.shift-screen .shift-history td{font-size:13px;padding:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.shift-screen .shift-history th{position:sticky;top:0;background:#edf6f8;z-index:1}.shift-screen .shift-history button{min-height:48px;min-width:76px;padding:10px 16px;font-size:14px;touch-action:manipulation}.shift-screen button:focus-visible{outline:3px solid #00a4ae;outline-offset:3px}
@media(max-width:1150px){.shift-screen .shift-form .row:has(#sarea){grid-template-columns:repeat(2,minmax(0,1fr))}.shift-screen .shift-form .row:has(#sarea) .shift-responsible{grid-column:1}.shift-screen .shift-form .row:not(:has(#sarea)):not(.shift-time-row){grid-template-columns:minmax(160px,.8fr) minmax(240px,1.4fr)}.shift-screen .shift-people-count{grid-column:auto}.shift-screen .shift-totals .stat{padding:15px;gap:10px}.shift-screen .shift-totals .stat strong{font-size:26px}}
@media(max-width:800px){.shift-screen .shift-form .row,.shift-screen .shift-form .row:has(#sarea),.shift-screen .shift-form .row:not(:has(#sarea)):not(.shift-time-row){grid-template-columns:repeat(2,minmax(0,1fr))}.shift-screen .shift-form .row .field:last-child{grid-column:auto}.shift-screen .shift-form .shift-responsible{grid-column:1/-1!important}.shift-screen .shift-form .shift-time-row .field:last-child{grid-column:1/-1}.shift-screen .shift-form .panel-body{padding:17px}.shift-screen .shift-totals{grid-template-columns:1fr;gap:10px}.shift-screen .shift-totals .stat{min-height:85px;padding:14px 17px}.shift-screen .shift-totals .stat strong{font-size:26px}.shift-screen .shift-totals .shift-grand-total strong{font-size:30px}.shift-screen .shift-action-bar button{flex:1;min-width:0!important}.shift-screen .shift-history{max-height:450px;background:transparent;border:0}.shift-screen .shift-history table,.shift-screen .shift-history tbody{display:block;min-width:0;width:100%}.shift-screen .shift-history thead{display:none}.shift-screen .shift-history tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:white;border:1px solid #cfdee5;border-radius:10px;padding:16px;margin-bottom:12px}.shift-screen .shift-history td{display:block;border:0;padding:0;text-align:left!important}.shift-screen .shift-history td::before{content:attr(data-label);display:block;font-size:11px;color:#748e98;margin-bottom:5px}.shift-screen .shift-history td[data-label=Responsável]{grid-column:1/-1}.shift-screen .shift-history td[data-label=Ações]:empty{display:none}.shift-screen .shift-history td[data-label=Ações]::before{display:none}}
@media(max-width:420px){.shift-screen .shift-form .row,.shift-screen .shift-form .row:has(#sarea),.shift-screen .shift-form .row:not(:has(#sarea)):not(.shift-time-row){grid-template-columns:1fr}.shift-screen .shift-form .row .field{grid-column:1!important}.shift-people-choices{grid-template-columns:1fr}.shift-screen .shift-action-bar{gap:10px}.shift-screen .shift-action-bar button{padding:12px}}

/* Relatórios A4: identificação e tabela, sem mensagens explicativas. */
@page{size:A4 portrait;margin:10mm}
@media print{
 html,body{width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
 .reports-screen .shell,.reports-screen main,.reports-screen .report-results,.reports-screen #result{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important}
 .reports-screen .report-print-header{display:flex!important;align-items:center;gap:8mm;margin:0 0 4mm!important;padding:0 0 3mm!important;border-bottom:1px solid #9aafb2}
 .reports-screen .report-print-header img{width:36mm!important;height:auto!important;max-height:16mm!important;object-fit:contain}
 .reports-screen .report-print-header h2{font-size:13pt!important;line-height:1.2!important;margin:0 0 2mm!important}
 .reports-screen .report-print-header p{font-size:8.5pt!important;line-height:1.2!important;margin:1mm 0!important}
 .reports-screen #result>p:not(.history-note){font-size:8pt!important;margin:0 0 2mm!important}
 .reports-screen .history-note,.reports-screen .report-demo-note,.reports-screen .history-more{display:none!important}
 .reports-screen table{border-collapse:collapse!important;table-layout:auto!important;font-size:9pt!important;line-height:1.2!important;margin:0!important;min-width:0!important;width:100%!important}
 .reports-screen #result table th,.reports-screen #result table td{padding:1.6mm 2mm!important;height:auto!important;white-space:normal!important;line-height:1.2!important;font-size:9pt!important;vertical-align:middle!important}
 .reports-screen #result table .hospital-name{text-align:left!important;overflow-wrap:normal!important;word-break:normal!important}
 .reports-screen #result.monthly-print table{table-layout:fixed!important}
 .reports-screen #result.monthly-print th,.reports-screen #result.monthly-print td{font-size:8pt!important;line-height:1.12!important;padding:1.1mm 1.5mm!important}
 .reports-screen #result.monthly-print table th:first-child{width:34%}
 .reports-screen #result.monthly-print{break-inside:avoid-page}
 .reports-screen #result table tfoot{display:table-row-group!important}
 .reports-screen .report-result-footer{font-size:7pt!important;line-height:1.2!important;margin-top:3mm!important;padding:2mm 0 0!important}
 .reports-screen .daily-kind{break-before:auto!important;page-break-before:auto!important;margin:3mm 0!important;padding:0!important}
 .reports-screen .daily-date-title{font-size:11pt!important;margin:3mm 0!important}
 .reports-screen .daily-kind h4{font-size:10pt!important;margin:2mm 0!important}
 .reports-screen .daily-process h5{font-size:9pt!important;margin:2mm 0!important}
 .reports-screen .daily-history-total,.reports-screen .daily-subtotal,.reports-screen .daily-overall{font-size:9pt!important;margin:2mm 0!important;padding:1.5mm!important}
}
