*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f4f8f6;color:#263c33}.hidden{display:none!important}.login-screen{min-height:100vh;background:#f3f8f5}.login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(400px,.82fr)}.login-hero{position:relative;overflow:hidden;display:flex;align-items:center;padding:50px;background:linear-gradient(145deg,#08743c,#0aa34f 55%,#08743c);color:#fff}.login-hero:before,.login-hero:after{content:"";position:absolute;border-radius:999px;background:rgba(255,255,255,.08)}.login-hero:before{width:420px;height:420px;right:-150px;top:-150px}.login-hero:after{width:300px;height:300px;left:-120px;bottom:-130px}.hero-content{position:relative;z-index:2;max-width:760px;margin:auto}.brand-card{padding:30px;border:1px solid rgba(255,255,255,.18);border-radius:28px;background:rgba(255,255,255,.11);box-shadow:0 24px 65px rgba(0,44,24,.22);backdrop-filter:blur(8px)}.hospital-logo{display:block;width:min(100%,410px);background:#fff;padding:15px 19px;border-radius:18px;margin-bottom:26px;box-shadow:0 14px 34px rgba(0,40,20,.2)}.eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.18em;color:#d5ffe4;margin-bottom:11px}.brand-card h1{margin:0 0 11px;font-size:42px;letter-spacing:-1.4px}.brand-card p{margin:0;max-width:600px;font-size:16px;line-height:1.7;color:#eaf9ef}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.feature{min-height:145px;padding:18px;border:1px solid rgba(255,255,255,.15);border-radius:19px;background:rgba(255,255,255,.1)}.feature-icon{font-size:22px;margin-bottom:10px}.feature b{display:block;font-size:15px;margin-bottom:7px}.feature span{display:block;font-size:13px;line-height:1.55;color:#e4f7ea}.hero-note{display:flex;align-items:center;gap:13px;margin-top:18px;padding:15px 18px;border-radius:17px;background:rgba(0,52,28,.22)}.hero-note b,.hero-note small{display:block}.hero-note small{margin-top:3px;color:#dff5e7}.pulse{width:11px;height:11px;border-radius:50%;background:#ffd02e;box-shadow:0 0 0 7px rgba(255,208,46,.14)}.login-panel{display:grid;place-items:center;padding:45px;background:linear-gradient(180deg,#fff,#edf6f0)}.login-card{width:min(100%,440px);background:#fff;padding:37px;border-radius:28px;border:1px solid #dcebe2;box-shadow:0 28px 65px rgba(21,83,50,.14)}.mobile-brand{display:none}.login-chip{display:inline-block;background:#eaf8ef;color:#0b7740;padding:7px 12px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.11em}.login-card h2{font-size:32px;margin:17px 0 8px;color:#153a29;letter-spacing:-.6px}.subtitle{margin:0 0 25px;color:#6a7e73;line-height:1.55}.login-form label{display:block;margin:16px 0}.login-form label>span{display:block;font-size:13px;font-weight:800;color:#365447;margin-bottom:8px}.input-wrap{position:relative}.input-wrap i{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-style:normal;font-size:16px}.input-wrap input{width:100%;height:52px;padding:0 15px 0 44px;border:1px solid #d5e3db;border-radius:14px;background:#fbfdfc;font-size:15px;outline:none;transition:.2s}.input-wrap input:focus{border-color:#14904b;box-shadow:0 0 0 4px rgba(20,144,75,.12)}.login-form button{width:100%;height:52px;margin-top:5px;border:0;border-radius:14px;background:linear-gradient(135deg,#0c8c47,#067038);color:#fff;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 14px 28px rgba(9,126,64,.25);display:flex;align-items:center;justify-content:center;gap:10px}.login-form button:hover{filter:brightness(1.04);transform:translateY(-1px)}#loginErr{display:block;min-height:19px;color:#ba2f2f;margin-top:11px;text-align:center}.security-note{display:flex;gap:12px;align-items:flex-start;margin-top:15px;padding:14px;border-radius:14px;background:#f2f8f4;color:#62766b}.security-note>span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:#dff2e6;color:#08753c;font-weight:900}.security-note p{margin:0;font-size:12px;line-height:1.45}.security-note b{color:#315343}.login-footer{text-align:center;margin-top:22px;padding-top:18px;border-top:1px solid #e7efea;color:#84958c;font-size:12px}aside{position:fixed;width:235px;inset:0 auto 0 0;background:#123d2b;padding:24px 14px;color:#fff}aside h2{margin:4px 12px 25px}aside button{display:block;width:100%;border:0;background:transparent;color:#fff;text-align:left;padding:13px;border-radius:8px;margin:4px 0;font-size:14px;cursor:pointer}aside button.active,aside button:hover{background:#ffffff18}main{margin-left:235px;padding:28px}header{display:flex;justify-content:space-between;align-items:center}header h1{margin:0}.filters{display:flex;gap:10px;align-items:end;margin:20px 0;flex-wrap:wrap}.filters input{padding:10px;border:1px solid #d2ddd7;border-radius:7px}.formgrid button,.filters button{background:#158948;color:#fff;border:0;padding:12px 17px;border-radius:8px;font-weight:700;cursor:pointer}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.stats div,.panel{background:#fff;border-radius:12px;padding:20px;box-shadow:0 3px 12px #18392a10}.stats b{font-size:30px;color:#16894a}.stats span{display:block;font-size:12px;color:#718078;margin-top:5px}.panel{margin-top:18px}.formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.formgrid input,.formgrid select,.formgrid textarea{padding:11px;border:1px solid #d1ddd6;border-radius:7px;min-width:0}.formgrid textarea{grid-column:span 2}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:10px;border-bottom:1px solid #e4ebe7;text-align:left}th{background:#eef5f0;color:#315443}.row-actions{display:flex;gap:7px;align-items:center;white-space:nowrap}.row-actions button{border:0;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer}.row-edit-btn{background:#e9f6ee;color:#0d7840}.row-edit-btn:hover{background:#d9f0e2}.row-delete-btn{background:#fff0f0;color:#b13d3d}.row-delete-btn:hover{background:#ffe0e0}.read-only-badge{display:inline-block;padding:6px 8px;border-radius:999px;background:#f0f3f1;color:#75847c;font-size:10px;font-weight:800}.edit-notice{grid-column:1/-1;margin:8px 0 14px;padding:12px 14px;border-radius:10px;background:#fff7df;border:1px solid #efd999;color:#76570f;font-size:12px;line-height:1.5}.report h2{text-align:center}.report .reportstats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.report .reportstats div{background:#eef7f1;padding:14px;border-radius:9px}.rank{display:grid;grid-template-columns:1fr 1fr;gap:20px}.schedule-head{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:26px 28px;background:linear-gradient(135deg,#ffffff,#f4faf6);border:1px solid #dcebe2}.schedule-head h2{margin:5px 0 7px;font-size:28px;color:#173d2b}.schedule-head p{margin:0;max-width:780px;color:#687d72;line-height:1.6}.schedule-kicker{font-size:10px;font-weight:900;letter-spacing:.16em;color:#0d8244}.schedule-head-actions,.export-actions{display:flex;gap:9px;flex-wrap:wrap}.schedule-head button,.export-actions button{border:0;border-radius:10px;background:#0f8547;color:#fff;padding:11px 15px;font-weight:800;cursor:pointer}.secondary-btn{background:#edf7f1!important;color:#17663c!important;border:1px solid #cee4d6!important}.schedule-builder{display:grid;grid-template-columns:.82fr 1.18fr;gap:18px}.schedule-config h3,.schedule-staff h3,.schedule-output h3{margin:0 0 13px;color:#244636}.schedule-period{display:grid;grid-template-columns:1.2fr .8fr;gap:10px}.schedule-config label,.staff-row label{display:block;font-size:12px;font-weight:800;color:#466457}.schedule-config input,.schedule-config select,.schedule-config textarea,.staff-row input{width:100%;margin-top:6px;border:1px solid #d5e4dc;background:#fbfdfc;border-radius:10px;padding:10px 11px;font:inherit;outline:none}.schedule-config textarea{resize:vertical;min-height:175px;line-height:1.55}.schedule-config input:focus,.schedule-config select:focus,.schedule-config textarea:focus,.staff-row input:focus{border-color:#14904b;box-shadow:0 0 0 3px rgba(20,144,75,.1)}.rules-label{display:block;margin-top:13px}.rules-help{margin-top:12px;padding:12px 14px;border-radius:11px;background:#f3f8f5;color:#63786d;font-size:12px;line-height:1.55}.rules-help code{background:#e5f1e9;color:#126f3e;padding:2px 5px;border-radius:5px}.section-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.section-title-row h3{margin:0 0 4px}.section-title-row p{margin:0;color:#708178;font-size:13px}.staff-list{display:flex;flex-direction:column;gap:9px;margin-top:14px}.staff-row{display:grid;grid-template-columns:34px minmax(210px,1.5fr) minmax(120px,.7fr) minmax(150px,.8fr) 34px;gap:8px;align-items:end;padding:10px;border:1px solid #e2ece6;border-radius:12px;background:#fbfdfc}.staff-index{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#e8f5ed;color:#0b7540;font-weight:900;font-size:12px;margin-bottom:3px}.staff-remove{width:32px;height:38px;border:0;border-radius:9px;background:#fff0f0;color:#af3131;font-size:22px;cursor:pointer}.schedule-output{padding:24px}.schedule-warnings{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:16px 0}.coverage-card{display:flex;align-items:baseline;gap:6px;border:1px solid #dbeae2;background:#f7fbf8;border-radius:10px;padding:9px 12px}.coverage-card b{font-size:18px;color:#147b43}.coverage-card span{font-size:11px;color:#6d8176}.coverage-alert{padding:9px 12px;border-radius:10px;background:#fff7e7;border:1px solid #f3d799;color:#8a6110;font-size:12px;font-weight:700}.schedule-paper{background:#fff;border:1px solid #dde8e2;border-radius:13px;padding:22px}.schedule-doc-head{display:flex;align-items:center;gap:22px;padding-bottom:16px;border-bottom:2px solid #16894a;margin-bottom:14px}.schedule-doc-head img{width:245px;max-height:82px;object-fit:contain}.schedule-doc-head>div{flex:1}.schedule-doc-head span{font-size:10px;letter-spacing:.12em;font-weight:900;color:#158247}.schedule-doc-head h2{font-size:20px;margin:5px 0 4px}.schedule-doc-head p{margin:0;color:#697d72;font-weight:700}.schedule-table-wrap{overflow:auto;border:1px solid #dfe9e3;border-radius:9px}.schedule-table{border-collapse:separate;border-spacing:0;min-width:1150px;width:100%;font-size:10px}.schedule-table th,.schedule-table td{padding:6px 4px;border-right:1px solid #e2eae5;border-bottom:1px solid #e2eae5;text-align:center;white-space:nowrap}.schedule-table th{background:#174d35;color:#fff;font-weight:800}.schedule-table .name-col{min-width:210px;text-align:left;padding-left:9px}.schedule-table .role-col{min-width:90px}.schedule-table .day-num{min-width:28px;background:#176d42}.schedule-table .day-week{background:#eaf4ee;color:#315844}.schedule-table .staff-name{text-align:left;font-weight:800;color:#264c39}.schedule-table .hours-total{font-weight:900;color:#156e3d;background:#f1f8f4}.shift-td{padding:0!important}.shift-cell{display:block;width:100%;min-width:27px;height:31px;border:0;background:transparent;font-size:10px;font-weight:900;cursor:pointer}.code-d{background:#e2f5e9}.code-d .shift-cell{color:#08713b}.code-n{background:#e9edf8}.code-n .shift-cell{color:#344a88}.code-fg{background:#f5f6f6}.code-fg .shift-cell{color:#758078}.code-fe{background:#fff1d6}.code-fe .shift-cell{color:#996714}.code-cd{background:#fde8eb}.code-cd .shift-cell{color:#a62f44}.schedule-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:14px;padding:11px 13px;border-radius:10px;background:#f7faf8;font-size:11px;color:#576e62}.schedule-legend span{display:flex;align-items:center;gap:5px}.legend-dot{width:10px;height:10px;border-radius:3px;display:inline-block}.legend-dot.d{background:#9eddb5}.legend-dot.n{background:#b6c0e8}.legend-dot.fg{background:#dce1de}.legend-dot.fe{background:#f3cd7d}.legend-dot.cd{background:#eaa8b3}.schedule-signatures{display:grid;grid-template-columns:1fr 1fr;gap:70px;margin:58px 40px 15px}.schedule-signatures div{text-align:center;font-size:11px;color:#405e50}.schedule-signatures span{display:block;border-top:1px solid #61776b;margin-bottom:7px}.empty-schedule{padding:35px!important;color:#7a8c83;text-align:center!important;font-size:13px}.schedule-output .export-actions{justify-content:flex-end}@media(max-width:1250px){.schedule-builder{grid-template-columns:1fr}.staff-row{grid-template-columns:34px 1.4fr .7fr .8fr 34px}}@media(max-width:760px){.schedule-head,.section-title-row{flex-direction:column}.staff-row{grid-template-columns:34px 1fr 34px}.staff-row label{grid-column:2}.staff-row .staff-remove{grid-column:3;grid-row:1}.schedule-period{grid-template-columns:1fr}.schedule-doc-head{flex-direction:column;align-items:flex-start}.schedule-signatures{grid-template-columns:1fr;gap:45px;margin-left:15px;margin-right:15px}}
.bi-hero{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:26px;background:linear-gradient(135deg,#ffffff,#f0f8f3);border:1px solid #dcebe2}.bi-hero h2{font-size:30px;margin:5px 0 7px;color:#173d2b}.bi-hero p{margin:0;color:#647a6f;max-width:680px;line-height:1.6}.bi-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.bi-filters label{font-size:12px;font-weight:800;color:#486356}.bi-filters input{display:block;margin-top:6px;padding:10px 12px;border:1px solid #d4e2da;border-radius:9px;background:#fff}.bi-filters button{padding:11px 16px;border:0;border-radius:9px;background:#148a48;color:#fff;font-weight:800;cursor:pointer}.bi-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:16px}.bi-kpi{background:#fff;border:1px solid #e0ebe4;border-radius:15px;padding:17px;box-shadow:0 4px 14px rgba(19,72,43,.06)}.bi-kpi span{display:block;font-size:12px;font-weight:800;color:#62776d;text-transform:uppercase;letter-spacing:.05em}.bi-kpi b{display:block;font-size:29px;color:#117846;margin:8px 0 3px}.bi-kpi small{color:#809087;font-size:11px}.bi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.bi-card{margin-top:0;min-width:0}.bi-card h3{margin:0 0 14px;color:#214536}.bi-card-title h3{margin-bottom:4px}.bi-card-title p{margin:0 0 15px;color:#76887f;font-size:12px}.bi-wide{grid-column:span 2}.bi-bars{display:grid;gap:11px}.bi-bar-row{min-width:0}.bi-bar-label{display:flex;justify-content:space-between;gap:14px;font-size:12px;margin-bottom:5px}.bi-bar-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#425f52}.bi-bar-label b{color:#183f2d}.bi-bar-track{height:9px;border-radius:999px;background:#edf3ef;overflow:hidden}.bi-bar-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#13904c,#38aa69)}.bi-empty{padding:25px;text-align:center;color:#899990;background:#f7faf8;border-radius:10px;font-size:12px}.bi-summary-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.bi-summary-grid>div{padding:16px;border-radius:12px;background:#f3f8f5;border:1px solid #e1ece5}.bi-summary-grid span{display:block;font-size:11px;text-transform:uppercase;font-weight:800;color:#6d8176}.bi-summary-grid b{display:block;font-size:24px;color:#127d47;margin:5px 0}.bi-summary-grid small{font-size:11px;color:#829189}.bi-trend{min-height:175px}.bi-trend-legend{display:flex;gap:16px;flex-wrap:wrap;margin:0 0 12px;font-size:11px;color:#5e7569}.bi-trend-legend span{display:flex;align-items:center;gap:6px}.bi-trend-legend .lg{width:9px;height:9px;border-radius:3px;display:inline-block}.bi-trend-scroll{overflow:auto;padding-bottom:4px}.bi-trend-chart{height:145px;min-width:max-content;display:flex;align-items:end;gap:8px;border-bottom:1px solid #dfe9e3;padding:4px 4px 0}.bi-trend-day{width:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:140px}.bi-trend-bars{height:112px;display:flex;align-items:end;gap:2px}.bi-trend-bars i{display:block;width:6px;border-radius:4px 4px 0 0}.bi-trend-day small{font-size:9px;color:#71857a;margin-top:6px}.bi-trend-bars .total,.bi-trend-legend .total{background:#168a4a}.bi-trend-bars .aprov,.bi-trend-legend .aprov{background:#66b980}.bi-trend-bars .canc,.bi-trend-legend .canc{background:#d1904f}.bi-trend-bars .transf,.bi-trend-legend .transf{background:#5d83a8}
#bi{background:radial-gradient(circle at top right,#eef8f2 0,transparent 320px)}.bi-hero{position:relative;overflow:hidden;align-items:center;background:linear-gradient(120deg,#0d7540 0%,#12914d 55%,#176a4b 100%);border:0;color:#fff;box-shadow:0 16px 38px rgba(10,86,49,.18)}.bi-hero:before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-100px;top:-130px;background:rgba(255,255,255,.08)}.bi-hero:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;left:42%;bottom:-130px;background:rgba(255,255,255,.06)}.bi-hero-copy{position:relative;z-index:2;max-width:600px}.bi-pill{display:inline-flex;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);font-size:10px;font-weight:900;letter-spacing:.14em}.bi-hero h2{color:#fff;font-size:34px;letter-spacing:-.8px}.bi-hero p{color:#e6f8ed}.bi-hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.bi-hero-tags span{padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.12);font-size:11px;font-weight:700}.bi-hero-illustration{width:260px;min-width:220px;position:relative;z-index:2}.bi-hero-illustration svg{display:block;width:100%;filter:drop-shadow(0 12px 20px rgba(0,0,0,.14))}.bi-filters{position:relative;z-index:2;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);padding:12px;border-radius:15px}.bi-filters label{color:#effaf3}.bi-filters input{border:0}.bi-filters button{background:#fff;color:#0d7540;box-shadow:0 8px 18px rgba(0,0,0,.12)}
.bi-kpis{gap:14px}.bi-kpi{position:relative;display:flex;align-items:center;gap:14px;overflow:hidden;min-height:118px;padding:18px 17px;border:0;box-shadow:0 10px 28px rgba(32,74,51,.08);transition:.2s}.bi-kpi:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(32,74,51,.13)}.bi-kpi:after{content:"";position:absolute;width:70px;height:70px;border-radius:50%;right:-24px;bottom:-30px;background:rgba(20,137,72,.06)}.bi-kpi-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:#eaf7ef;color:#0d7c42;font-size:22px;font-weight:900}.bi-kpi>div:last-child{min-width:0}.bi-kpi span{font-size:10px}.bi-kpi b{font-size:30px;margin:5px 0 2px}.bi-kpi-good .bi-kpi-icon{background:#e8f8ee;color:#078340}.bi-kpi-warn .bi-kpi-icon{background:#fff0eb;color:#c45a3e}.bi-kpi-warn b{color:#b95b43}.bi-kpi-blue .bi-kpi-icon{background:#eaf3fb;color:#3c76a6}.bi-kpi-blue b{color:#3f7199}.bi-kpi-time .bi-kpi-icon{background:#fff7df;color:#9a7318}.bi-kpi-time b{color:#94711e}.bi-kpi-team .bi-kpi-icon{background:#f1ecfb;color:#7355a7}.bi-kpi-team b{color:#6a5295}
.bi-visual-row{display:grid;grid-template-columns:.8fr 1.45fr .95fr;gap:16px;margin-top:16px}.bi-visual-row>.panel{margin-top:0;min-height:225px}.bi-mini-title{display:inline-block;font-size:9px;font-weight:900;letter-spacing:.13em;color:#14834a}.bi-gauge-card{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#fff,#f6fbf8)}.bi-gauge-card h3,.bi-flow-card h3,.bi-insight-card h3{margin:7px 0 6px;color:#214536}.bi-gauge-card p,.bi-insight-card p{margin:0;color:#74867d;font-size:12px;line-height:1.6}.bi-gauge{--value:0;display:grid;place-items:center;flex:0 0 126px;width:126px;height:126px;border-radius:50%;background:conic-gradient(#14904b calc(var(--value)*1%),#e8f0eb 0);position:relative;box-shadow:inset 0 0 0 1px rgba(20,144,75,.05)}.bi-gauge:after{content:"";position:absolute;width:92px;height:92px;border-radius:50%;background:#fff;box-shadow:0 5px 16px rgba(39,80,57,.08)}.bi-gauge>div{position:relative;z-index:2;text-align:center}.bi-gauge b{display:block;font-size:26px;color:#127a45}.bi-gauge small{font-size:10px;color:#7a8c83}.bi-flow-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff,#f5faf7)}.bi-flow-card:after{content:"+";position:absolute;right:-8px;bottom:-35px;font-size:160px;font-weight:900;color:#edf6f0;line-height:1}.bi-flow-title{position:relative;z-index:2}.bi-flow{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:26px}.flow-node{flex:1;min-width:0;text-align:center;padding:12px 7px;border-radius:14px;background:#fff;border:1px solid #e0ebe4;box-shadow:0 7px 16px rgba(25,74,47,.06)}.flow-icon{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 8px;border-radius:12px;background:#edf8f1;font-size:20px}.flow-node b{display:block;font-size:11px;color:#254b38}.flow-node small{display:block;margin-top:3px;font-size:9px;color:#809087}.flow-arrow{color:#91b5a0;font-weight:900;font-size:18px}.bi-insight-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#173e2c,#226247);color:#fff}.bi-insight-card .bi-mini-title{color:#bde8cb}.bi-insight-card h3{color:#fff}.bi-insight-card p{color:#dcebe2}.bi-insight-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:rgba(255,255,255,.13);font-size:24px;margin:15px 0 6px}.bi-insight-card:after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:-80px;top:-70px;background:rgba(255,255,255,.05)}
.bi-card{border:1px solid #e2ece6;box-shadow:0 10px 26px rgba(25,74,47,.07);border-radius:16px}.bi-card h3{display:flex;align-items:center;gap:8px}.bi-card:nth-child(2) h3:before{content:"◉";color:#15904b}.bi-card:nth-child(3) h3:before{content:"◎";color:#d58b38}.bi-card:nth-child(4) h3:before{content:"🏥"}.bi-card:nth-child(5) h3:before{content:"🩺"}.bi-card:nth-child(6) h3:before{content:"🛏️"}.bi-card:nth-child(7) h3:before{content:"🚑"}.bi-bar-track{height:11px;background:#edf2ef}.bi-bar-track i{background:linear-gradient(90deg,#137d46,#4cb875);box-shadow:0 2px 6px rgba(19,125,70,.14)}.bi-summary-grid>div{position:relative;overflow:hidden}.bi-summary-grid>div:before{content:"";position:absolute;width:44px;height:44px;border-radius:50%;right:-16px;top:-15px;background:rgba(20,137,72,.07)}
.access-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:26px 28px;background:linear-gradient(135deg,#fff,#f1f8f4);border:1px solid #dcebe2}.access-hero h2{margin:5px 0 7px;font-size:29px;color:#173d2b}.access-hero p{margin:0;color:#687d72}.access-role-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;min-width:520px}.access-role-cards div{padding:13px;border-radius:12px;background:#fff;border:1px solid #dce9e1}.access-role-cards b,.access-role-cards span{display:block}.access-role-cards b{font-size:12px;color:#1e5138}.access-role-cards span{font-size:10px;color:#798b81;margin-top:4px;line-height:1.4}.access-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:18px}.access-create h3,.access-list h3{margin:0 0 5px;color:#244636}.access-create>p,.access-list p{margin:0 0 15px;color:#718278;font-size:12px}.access-create label{display:block;font-size:12px;font-weight:800;color:#466457;margin:11px 0}.access-create input,.access-create select{width:100%;margin-top:6px;padding:11px;border:1px solid #d5e4dc;border-radius:10px;background:#fbfdfc}.access-create button{width:100%;margin-top:8px;padding:12px;border:0;border-radius:10px;background:#118548;color:#fff;font-weight:800;cursor:pointer}.access-create small{display:block;min-height:18px;margin-top:10px;color:#5b7568}.access-table td{vertical-align:middle}.access-person{display:flex;align-items:center;gap:10px}.access-person small{display:block;color:#8a9991;font-size:10px;margin-top:2px}.access-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e6f4eb;color:#0d7840;font-weight:900}.access-role-select{padding:7px 9px;border:1px solid #d4e2da;border-radius:8px;background:#fff}.access-status{display:inline-block;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900}.access-status.on{background:#e7f7ed;color:#0d7a40}.access-status.off{background:#f3f3f3;color:#7a7a7a}.access-inactive{opacity:.62}.mini-btn{padding:7px 9px;border:1px solid #d8e5dd;border-radius:8px;background:#fff;color:#315c47;font-size:10px;font-weight:800;cursor:pointer}.mini-btn:disabled{opacity:.45;cursor:not-allowed}.access-loading{text-align:center!important;color:#7d8e85;padding:24px!important}@media(max-width:1150px){.access-hero{align-items:flex-start;flex-direction:column}.access-role-cards{min-width:0;width:100%}.access-layout{grid-template-columns:1fr}}@media(max-width:700px){.access-role-cards{grid-template-columns:1fr}}
@media(max-width:1350px){.bi-hero-illustration{display:none}.bi-visual-row{grid-template-columns:1fr 1fr}.bi-insight-card{grid-column:span 2}}@media(max-width:950px){.bi-visual-row{grid-template-columns:1fr}.bi-insight-card{grid-column:auto}.bi-flow{overflow:auto;justify-content:flex-start}.flow-node{min-width:120px}.bi-gauge-card{flex-direction:column;align-items:flex-start}}@media(max-width:1250px){.bi-kpis{grid-template-columns:repeat(3,1fr)}.bi-summary-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.bi-hero{align-items:stretch;flex-direction:column}.bi-kpis{grid-template-columns:repeat(2,1fr)}.bi-grid{grid-template-columns:1fr}.bi-wide{grid-column:auto}.bi-summary-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:1050px){.login-layout{grid-template-columns:1fr}.login-hero{padding:34px 22px;min-height:auto}.login-panel{padding:30px 20px}.hospital-logo{width:330px}.brand-card h1{font-size:36px}}@media(max-width:650px){.login-hero{display:none}.login-card{padding:28px 22px}.mobile-brand{display:block;margin-bottom:24px}.mobile-brand img{width:100%;max-width:300px}.login-card h2{font-size:28px}.feature-grid{grid-template-columns:1fr}aside{width:70px}aside h2{font-size:0}aside h2:first-letter{font-size:20px}aside button{font-size:0}main{margin-left:70px}.stats{grid-template-columns:1fr 1fr}.formgrid{grid-template-columns:1fr}.formgrid textarea{grid-column:auto}}.rep-doc{background:#fff;color:#203b2e;border:1px solid #dfe9e3;border-radius:18px;overflow:hidden}.rep-header{display:grid;grid-template-columns:260px 1fr 260px;align-items:center;gap:22px;padding:22px 26px;border-bottom:3px solid #118146;background:linear-gradient(180deg,#fff,#fbfdfc)}.rep-header img{width:100%;max-height:82px;object-fit:contain}.rep-title{text-align:center}.rep-title span{font-size:10px;letter-spacing:.15em;font-weight:900;color:#138148}.rep-title h2{margin:5px 0 4px;font-size:24px;letter-spacing:-.4px;color:#143d29}.rep-title p{margin:0;font-size:12px;color:#61766a}.rep-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:16px 18px;background:#f4f8f6}.rep-icon-svg{display:inline-grid;place-items:center;width:1.15em;height:1.15em;line-height:1;vertical-align:-.15em;color:inherit}.rep-icon-svg svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.rep-kpi{position:relative;padding:14px 13px;border-radius:14px;background:#fff;border:1px solid #e0ebe4;box-shadow:0 6px 18px rgba(20,70,43,.06);min-height:106px}.rep-kpi i{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e8f6ed;color:#0e7d42;font-style:normal;font-weight:900;margin-bottom:9px}.rep-kpi i .rep-icon-svg{width:20px;height:20px}.rep-card-title>.rep-icon-svg{width:18px;height:18px;color:#168148}.rep-insight i .rep-icon-svg{width:17px;height:17px}.rep-transfer-cards span>.rep-icon-svg{width:16px;height:16px;margin-right:4px}.rep-section-head>span>.rep-icon-svg{width:20px;height:20px;color:#168148}.rep-kpi span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:#657b70}.rep-kpi b{display:block;margin:4px 0;font-size:27px;color:#0f7741}.rep-kpi small{font-size:9px;color:#84938b}.rep-kpi.cancel i{background:#fdecec;color:#c34848}.rep-kpi.cancel b{color:#b84343}.rep-kpi.wait i{background:#fff5d8;color:#a77913}.rep-kpi.wait b{color:#9d741a}.rep-kpi.trans i{background:#eaf3fb;color:#356f9d}.rep-kpi.trans b{color:#3d739e}.rep-kpi.time i{background:#eef7f2;color:#2f7a58}.rep-grid-top{display:grid;grid-template-columns:1fr 1.1fr .95fr;gap:12px;padding:0 18px 12px}.rep-grid-mid{display:grid;grid-template-columns:.9fr 1fr 1fr;gap:12px;padding:0 18px 12px}.rep-card{margin:0!important;padding:16px!important;border:1px solid #e1eae5!important;border-radius:14px!important;box-shadow:0 7px 20px rgba(29,73,49,.05)!important;background:#fff}.rep-card-title{display:flex;align-items:center;gap:7px;font-size:13px;color:#174d34;margin-bottom:12px}.rep-summary{background:linear-gradient(145deg,#fff,#f7fbf8)}.rep-insight{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px dashed #e5ece8}.rep-insight:last-child{border-bottom:0}.rep-insight i{display:grid;place-items:center;min-width:30px;height:30px;border-radius:10px;background:#e9f6ee;color:#0f7c43;font-style:normal;font-weight:900}.rep-insight p{margin:1px 0 0;font-size:11px;line-height:1.45;color:#50695c}.rep-legend{display:flex;flex-wrap:wrap;gap:10px;font-size:9px;color:#64786e}.rep-legend span{display:flex;align-items:center;gap:4px}.rep-legend i{width:8px;height:8px;border-radius:2px;display:inline-block}.rep-legend .reg,.rep-week-bars .reg{background:#58b875}.rep-legend .ok,.rep-week-bars .ok{background:#0f7e43}.rep-legend .wait,.rep-week-bars .wait{background:#e5b223}.rep-legend .cancel,.rep-week-bars .cancel{background:#d95555}.rep-legend .trans,.rep-week-bars .trans{background:#4f84b0}.rep-week-chart{height:145px;display:flex;align-items:end;justify-content:space-evenly;border-bottom:1px solid #dfe8e3;padding-top:10px}.rep-week{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:135px;min-width:54px}.rep-week-bars{height:118px;display:flex;align-items:end;gap:3px}.rep-week-bars i{display:block;width:7px;border-radius:4px 4px 0 0}.rep-week small{margin-top:5px;font-size:9px;color:#6d8176}.rep-donut-wrap{display:flex;align-items:center;gap:16px}.rep-donut{width:135px;height:135px;border-radius:50%;display:grid;place-items:center;position:relative;flex:0 0 auto}.rep-donut:after{content:"";position:absolute;width:82px;height:82px;border-radius:50%;background:#fff;box-shadow:0 4px 14px rgba(29,73,49,.07)}.rep-donut>div{position:relative;z-index:2;text-align:center}.rep-donut b{display:block;font-size:25px;color:#17432e}.rep-donut small{font-size:9px;color:#75877d}.rep-donut-legend{display:grid;gap:8px;min-width:0}.rep-donut-legend span{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:6px;font-size:9px;color:#526b5e}.rep-donut-legend i{width:9px;height:9px;border-radius:50%}.rep-donut-legend i.g{background:#168a4a}.rep-donut-legend i.y{background:#e6b323}.rep-donut-legend i.r{background:#dc5454}.rep-donut-legend i.o{background:#cbd7d0}.rep-transfer-cards{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.rep-transfer-cards>div{padding:12px;border-radius:12px;background:#edf8f1;border:1px solid #dcebe2}.rep-transfer-cards .air{background:#eef5fb}.rep-transfer-cards .total{background:#f6f8f7}.rep-transfer-cards span{display:block;font-size:10px;font-weight:800;color:#476557}.rep-transfer-cards b{display:block;font-size:25px;margin:6px 0;color:#0e7b42}.rep-transfer-cards .air b{color:#3e74a0}.rep-transfer-cards small{font-size:9px;color:#788b81}.rep-rank-row{display:grid;grid-template-columns:24px minmax(120px,1.1fr) minmax(90px,1fr) 28px;gap:7px;align-items:center;margin:8px 0}.rep-rank-num{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e6f5ec;color:#0e7840;font-size:9px;font-weight:900}.rep-rank-name{font-size:10px;color:#466153;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rep-rank-bar{height:8px;border-radius:999px;background:#eef2ef;overflow:hidden}.rep-rank-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2a9a59,#74c38e)}.rep-rank-row b{font-size:10px;color:#254b39;text-align:right}.rep-empty{padding:18px;text-align:center;color:#84948b;font-size:10px}.rep-mini-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 18px 14px}.rep-mini-kpis>div{padding:12px 14px;border-radius:12px;background:#f6faf7;border:1px solid #e2ece6}.rep-mini-kpis span{display:block;font-size:9px;text-transform:uppercase;font-weight:900;color:#6b8075}.rep-mini-kpis b{display:block;margin:3px 0;font-size:21px;color:#117846}.rep-mini-kpis small{font-size:9px;color:#87968e}.rep-detail-section{margin:0 18px 14px;border:1px solid #dfe9e3;border-radius:14px;overflow:hidden;background:#fff}.rep-section-head{display:flex;align-items:center;gap:11px;padding:13px 15px;background:#f5f9f6;border-bottom:1px solid #e1e9e4}.rep-section-head>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e7f5ec}.rep-section-head h3{margin:0;font-size:14px;color:#164b32}.rep-section-head p{margin:3px 0 0;font-size:9px;color:#7b8c83}.rep-table-wrap{overflow:auto}.rep-table{width:100%;border-collapse:collapse;font-size:9px}.rep-table th{padding:8px 7px;background:#118148;color:#fff;font-size:8px;text-transform:uppercase;letter-spacing:.03em;position:sticky;top:0}.rep-table td{padding:7px;border-bottom:1px solid #e7eeea;vertical-align:top}.rep-table tbody tr:nth-child(even){background:#f8faf9}.rep-status{display:inline-block;padding:3px 7px;border-radius:999px;font-size:8px;font-weight:800;white-space:nowrap}.rep-approved,.rep-realized{background:#dff3e7;color:#0f6f3d}.rep-cancelled{background:#fde4e4;color:#a83939}.rep-wait{background:#fff2c9;color:#8e6712}.rep-neutral{background:#edf1ef;color:#65786e}.rep-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px 22px;background:linear-gradient(90deg,#0c6f3b,#0a5f34);color:#fff}.rep-footer div:last-child{text-align:right}.rep-footer b,.rep-footer small{display:block}.rep-footer b{font-size:10px}.rep-footer small{margin-top:3px;font-size:8px;color:#d7eee1}@media(max-width:1200px){.rep-header{grid-template-columns:180px 1fr 180px}.rep-kpis{grid-template-columns:repeat(3,1fr)}.rep-grid-top,.rep-grid-mid{grid-template-columns:1fr}.rep-donut-wrap{justify-content:center}.rep-mini-kpis{grid-template-columns:repeat(2,1fr)}}.rep-daily-section{border-color:#cfe4d7}.rep-daily-section .rep-section-head{background:linear-gradient(90deg,#eef8f2,#f8fcfa)}.rep-daily-highlights{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.rep-daily-highlights span{padding:7px 10px;border-radius:10px;background:#fff;border:1px solid #dce9e1;color:#61766b;font-size:9px;white-space:nowrap}.rep-daily-highlights b{color:#117846;font-size:13px;margin-right:3px}.rep-daily-table th,.rep-daily-table td{text-align:center;white-space:nowrap}.rep-daily-table th:first-child,.rep-daily-table td:first-child{text-align:left}.rep-daily-table .rep-day-total b{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:8px;background:#e7f5ec;color:#0e7840}.rep-daily-table .rep-day-zero td{color:#a1ada6;background:#fbfcfb}.rep-daily-table .rep-day-zero .rep-day-total b{background:#f1f3f2;color:#98a39d}
@media print{aside,header,.filters,#login,.report-filter-panel{display:none!important}main{margin:0;padding:0}.panel{box-shadow:none}.page:not(#relatorio){display:none!important}#relatorio{display:block!important}.report{margin:0}.report table{font-size:9px}body.print-schedule .page{display:none!important}body.print-schedule #escala{display:block!important}body.print-schedule #escala>.schedule-head,body.print-schedule #escala>.schedule-builder,body.print-schedule #escala .schedule-warnings,body.print-schedule #escala .section-title-row{display:none!important}body.print-schedule #escala .schedule-output{display:block!important;margin:0;padding:0;border:0;box-shadow:none}body.print-schedule #escala .schedule-paper{border:0;padding:0}body.print-schedule #escala .schedule-table-wrap{overflow:visible;border:0}body.print-schedule #escala .schedule-table{min-width:0;width:100%;font-size:7px}body.print-schedule #escala .schedule-table th,body.print-schedule #escala .schedule-table td{padding:3px 2px}body.print-schedule #escala .shift-cell{height:22px;min-width:18px;font-size:7px}body.print-schedule #escala .schedule-doc-head img{width:185px}body.print-schedule #escala .schedule-doc-head h2{font-size:15px}body.print-schedule #escala .schedule-legend{font-size:8px}body.print-schedule #escala .schedule-signatures{margin-top:38px}body.print-schedule #relatorio{display:none!important}body:not(.print-schedule) #relatorio .report{padding:0!important;border:0!important}body:not(.print-schedule) .rep-doc{border:0!important;border-radius:0!important}body:not(.print-schedule) .rep-header{grid-template-columns:185px 1fr 185px!important;padding:12px 16px!important}body:not(.print-schedule) .rep-title h2{font-size:20px!important}body:not(.print-schedule) .rep-kpis{grid-template-columns:repeat(6,1fr)!important;gap:7px!important;padding:10px!important}body:not(.print-schedule) .rep-kpi{min-height:90px!important;padding:10px!important;break-inside:avoid}body:not(.print-schedule) .rep-kpi b{font-size:22px!important}body:not(.print-schedule) .rep-grid-top{grid-template-columns:1fr 1.1fr .95fr!important;gap:8px!important;padding:0 10px 8px!important}body:not(.print-schedule) .rep-grid-mid{grid-template-columns:.9fr 1fr 1fr!important;gap:8px!important;padding:0 10px 8px!important}body:not(.print-schedule) .rep-card{padding:11px!important;break-inside:avoid}body:not(.print-schedule) .rep-mini-kpis{grid-template-columns:repeat(4,1fr)!important;padding:0 10px 8px!important}body:not(.print-schedule) .rep-detail-section{margin:0 10px 10px!important}body:not(.print-schedule) .rep-table-wrap{overflow:visible!important}body:not(.print-schedule) .rep-table{font-size:7px!important}body:not(.print-schedule) .rep-table th{font-size:7px!important;padding:5px!important;position:static!important}body:not(.print-schedule) .rep-table td{padding:5px!important}body:not(.print-schedule) .rep-table thead{display:table-header-group}body:not(.print-schedule) .rep-table tr{break-inside:avoid}body:not(.print-schedule) .rep-footer{break-inside:avoid}@page{size:landscape;margin:7mm}}
#importar{background:radial-gradient(circle at top right,#edf8f1 0,transparent 330px)}.import-hero{padding:28px;background:linear-gradient(135deg,#ffffff,#f2faf5);border:1px solid #dcebe2}.import-hero h2{margin:6px 0 8px;font-size:30px;color:#173d2b}.import-hero p{margin:0;max-width:850px;line-height:1.65;color:#687d72}.import-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.import-card{position:relative;overflow:hidden;min-height:220px;padding:24px;border:1px solid #e0ebe4}.import-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-45px;bottom:-50px;background:#edf8f1}.import-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#eaf7ef;font-size:25px;margin-bottom:14px}.import-card h3{margin:0 0 7px;color:#244636}.import-card p{margin:0 0 18px;color:#73867b;line-height:1.55;font-size:13px}.import-card input[type=file]{position:relative;z-index:2;width:100%;padding:12px;border:1px dashed #bad8c5;border-radius:12px;background:#f8fcf9;color:#3e5f4d}.import-info{margin-top:12px;padding:10px 12px;border-radius:10px;background:#f2f8f4;color:#5f7669;font-size:12px}.import-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:22px}.import-period{display:flex;gap:10px}.import-period label{font-size:12px;font-weight:800;color:#456254}.import-period select,.import-period input{display:block;margin-top:6px;padding:11px 12px;border:1px solid #d4e2da;border-radius:10px;background:#fff}.import-actions>button{height:43px;border:0;border-radius:10px;padding:0 16px;background:#148a48;color:#fff;font-weight:800;cursor:pointer}.import-actions>button:first-of-type{background:#edf7f1;color:#17663c;border:1px solid #cee4d6}.import-actions>button:disabled{opacity:.45;cursor:not-allowed}.import-summary{flex:1 1 100%;padding:14px 16px;border-radius:12px;background:#f7faf8;border:1px solid #e2ece6;color:#60756a;font-size:13px;line-height:1.55}.import-ready,.import-success{display:flex;flex-direction:column;gap:4px}.import-ready b,.import-success b{font-size:15px;color:#17663c}.import-success{padding:4px 0}.import-success b{color:#0c7d41}.import-ready span,.import-success span{color:#344f42}.import-ready small,.import-success small{color:#7d8e85}@media(max-width:850px){.import-grid{grid-template-columns:1fr}.import-actions{align-items:stretch}.import-period{width:100%}.import-period label{flex:1}.import-period select,.import-period input{width:100%}.import-actions>button{width:100%}}
/* Sidebar NIR - visual executivo */
.sidebar{position:fixed;width:274px;inset:0 auto 0 0;z-index:20;display:flex;flex-direction:column;padding:18px 14px 16px;background:linear-gradient(180deg,#0b3f2c 0%,#0d4b34 48%,#083824 100%);color:#fff;box-shadow:10px 0 30px rgba(7,47,31,.12);overflow-y:auto;overflow-x:hidden}
main{margin-left:274px;padding:28px}
.sidebar-brand{display:flex;align-items:center;gap:14px;padding:12px 10px 18px;border-bottom:1px solid rgba(255,255,255,.11)}
.sidebar-mark{display:grid;place-items:center;flex:0 0 78px;width:78px;height:78px;border-radius:20px;background:linear-gradient(145deg,#fff,#f3fbf6);color:#0b8043;font-size:30px;font-weight:400;line-height:1;box-shadow:0 12px 30px rgba(0,0,0,.20),0 0 0 1px rgba(255,255,255,.35);overflow:hidden}.sidebar-logo-mark img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:17px}.brand-enhanced{position:relative}.brand-enhanced:after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;border-radius:99px;background:linear-gradient(90deg,#f4c521,rgba(244,197,33,0))}.sidebar-brand-copy{min-width:0;flex:1}.sidebar-brand-kicker{display:block;margin-bottom:5px;font-size:8px;font-weight:900;letter-spacing:.13em;color:#9ecbb0}.sidebar-brand-copy strong{display:block;font-size:21px;line-height:1.05;letter-spacing:.02em;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.12)}.sidebar-brand-copy small{display:block;max-width:170px;margin-top:5px;white-space:normal;line-height:1.35;color:#cbe4d6;font-size:10.5px}.sidebar-brand-badge{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.09);color:#e7f6ed;font-size:8px;font-weight:800;line-height:1.2}.sidebar-brand-badge>span{width:6px;height:6px;border-radius:50%;background:#f4c521;box-shadow:0 0 0 4px rgba(244,197,33,.08)}
.sidebar-brand-copy{min-width:0}.sidebar-brand-copy strong{display:block;font-size:20px;letter-spacing:.02em;line-height:1.05}.sidebar-brand-copy small{display:block;margin-top:5px;color:#b8dac8;font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-status{display:flex;align-items:center;gap:10px;margin:14px 4px 8px;padding:11px 12px;border-radius:13px;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.07)}
.sidebar-status>span{width:9px;height:9px;border-radius:50%;background:#45d179;box-shadow:0 0 0 5px rgba(69,209,121,.12)}
.sidebar-status b,.sidebar-status small{display:block}.sidebar-status b{font-size:11px;color:#f1fff6}.sidebar-status small{margin-top:2px;font-size:9px;color:#a9cdb9}
.sidebar-nav{flex:1;padding:2px 0 12px}.nav-group{margin-top:13px}.nav-group-title{display:block;margin:0 10px 6px;font-size:9px;font-weight:900;letter-spacing:.16em;color:#79aa91}
.sidebar button{position:relative;display:flex;align-items:center;gap:11px;width:100%;min-height:48px;margin:4px 0;padding:6px 10px;border:1px solid transparent;border-radius:13px;background:transparent;color:#dcece4;text-align:left;font-size:13.5px;font-weight:650;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease,color .18s ease}
.sidebar button:hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.08);color:#fff;transform:translateX(2px)}
.sidebar button.active{background:linear-gradient(90deg,rgba(255,255,255,.16),rgba(255,255,255,.085));border-color:rgba(255,255,255,.10);color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.10)}
.sidebar button.active:after{content:"";position:absolute;right:8px;width:5px;height:5px;border-radius:50%;background:#f7c928;box-shadow:0 0 0 4px rgba(247,201,40,.10)}
.nav-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:rgba(255,255,255,.075);color:#b9e0c9;transition:.18s ease}
.nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sidebar button.active .nav-icon{background:#fff;color:#0c7d42;box-shadow:0 6px 16px rgba(0,0,0,.13)}
.sidebar button:hover .nav-icon{background:rgba(255,255,255,.13);color:#fff}.sidebar button.active:hover .nav-icon{background:#fff;color:#0c7d42}
.nav-label{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-footer{margin-top:auto;padding-top:12px;border-top:1px solid rgba(255,255,255,.09)}
.sidebar .logout-btn{color:#ffd9d9}.sidebar .logout-btn .nav-icon{color:#ffb8b8}.sidebar .logout-btn:hover{background:rgba(210,64,64,.12);border-color:rgba(255,150,150,.10)}
.sidebar-version{display:block;padding:5px 11px 0;color:#6fa789;font-size:9px;letter-spacing:.12em}.system-watermark{position:fixed;left:274px;right:0;top:0;bottom:0;display:grid;place-items:center;pointer-events:none;z-index:0;overflow:hidden}.system-watermark img{width:min(54vw,720px);max-height:72vh;object-fit:contain;opacity:.045;filter:saturate(.85);user-select:none}.sidebar{position:fixed;z-index:20}main{position:relative;z-index:1;background:transparent}.page,.panel,header{position:relative;z-index:1}@media(max-width:800px){.system-watermark{left:82px}.system-watermark img{width:min(72vw,520px);opacity:.035}}
@media(max-width:800px){.sidebar{width:82px;padding-left:10px;padding-right:10px}.sidebar-brand{justify-content:center;padding-left:0;padding-right:0}.sidebar-mark{flex-basis:56px;width:56px;height:56px;border-radius:15px}.sidebar-logo-mark img{border-radius:12px}.sidebar-brand-copy,.sidebar-status,.nav-group-title,.nav-label,.sidebar-version{display:none}.sidebar button{justify-content:center;padding:6px;margin:5px 0}.sidebar button.active:after{right:3px}.nav-icon{flex-basis:40px;width:40px;height:40px}.sidebar-footer{padding-top:8px}main{margin-left:82px}.sidebar button:hover{transform:none}}
/* Controle diário da regulação */
.daily-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:26px 28px;background:linear-gradient(135deg,#fff,#f1f8f4);border:1px solid #dcebe2}.daily-hero h2{margin:5px 0 7px;font-size:29px;color:#173d2b}.daily-hero p{margin:0;max-width:720px;color:#687d72;line-height:1.6}.daily-filter{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.daily-filter label{font-size:11px;font-weight:800;color:#486356}.daily-filter select,.daily-filter input{display:block;margin-top:5px;padding:10px 11px;border:1px solid #d4e2da;border-radius:9px;background:#fff}.daily-filter button{height:41px;padding:0 14px;border:0;border-radius:9px;background:#118348;color:#fff;font-weight:800;cursor:pointer}.daily-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;margin:16px 0}.daily-summary>div{padding:16px;border-radius:14px;background:#fff;border:1px solid #e0ebe4;box-shadow:0 5px 16px rgba(18,72,43,.05)}.daily-summary span{display:block;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#6a8074}.daily-summary b{display:block;margin:5px 0 2px;font-size:27px;color:#117b43}.daily-summary small{font-size:10px;color:#87968e}.daily-notice{margin:14px 0;padding:12px 15px;border-radius:11px;background:#fff7df;border:1px solid #efd999;color:#795a12;font-size:12px;line-height:1.5}.daily-paper{background:#fff;border:1px solid #dde8e2;border-radius:15px;padding:18px;box-shadow:0 4px 16px rgba(26,72,47,.05)}.daily-doc-head{display:flex;align-items:center;gap:22px;padding:4px 6px 15px;border-bottom:3px solid #148448;margin-bottom:15px}.daily-doc-head img{width:250px;max-height:80px;object-fit:contain}.daily-doc-head>div{flex:1;text-align:center}.daily-doc-head span{display:block;font-size:9px;letter-spacing:.14em;font-weight:900;color:#148448}.daily-doc-head h2{margin:6px 0 4px;font-size:21px;color:#163e2b}.daily-doc-head p{margin:0;font-size:12px;font-weight:800;color:#687d72}.daily-system-block{margin:0 0 17px}.daily-system-title{display:flex;align-items:baseline;gap:10px;padding:9px 12px;border-radius:9px 9px 0 0;background:#174d35;color:#fff}.daily-system-title span{font-size:14px;font-weight:900;letter-spacing:.08em}.daily-system-title small{font-size:9px;color:#cce4d7}.daily-table-wrap{overflow:auto;border:1px solid #dce7e0;border-top:0}.daily-table{border-collapse:collapse;min-width:980px;width:100%;font-size:8px}.daily-table th,.daily-table td{padding:6px 4px;border-right:1px solid #dde6e1;border-bottom:1px solid #dde6e1;text-align:center;white-space:nowrap}.daily-table thead th{background:#dfeecf;color:#254a37;font-weight:900}.daily-table thead th:first-child{min-width:118px;text-align:left;padding-left:8px}.daily-table .daily-day{min-width:24px}.daily-cat{background:#f8faf8!important;text-align:left!important;padding-left:8px!important;color:#2f513f!important;font-size:8px}.daily-shift{min-width:46px}.daily-shift.day{background:#e7f5ec!important;color:#0c7540!important}.daily-shift.night{background:#e9eef8!important;color:#40548d!important}.daily-table td.has-value{background:#eef8f1;font-weight:900;color:#0d7440}.daily-total,.daily-total-head{background:#f6dfdf!important;color:#7b3030!important;font-weight:900!important;min-width:42px}.daily-grand th,.daily-grand td{background:#eef4f0!important;font-weight:900;color:#294c3a}.daily-foot{display:flex;justify-content:space-between;gap:15px;margin-top:10px;padding-top:10px;border-top:1px solid #e0e9e4;font-size:9px;color:#7c8c84}
@media(max-width:1100px){.daily-hero{align-items:flex-start;flex-direction:column}.daily-summary{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.daily-summary{grid-template-columns:1fr 1fr}.daily-filter{width:100%}.daily-doc-head{flex-direction:column}.daily-doc-head>div{text-align:left}.daily-doc-head img{width:220px}}
.bi-filters-advanced,.report-advanced-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;align-items:end}.bi-filters-advanced label,.report-advanced-filters label{min-width:0}.bi-filters-advanced input,.bi-filters-advanced select,.report-advanced-filters input,.report-advanced-filters select{width:100%;margin-top:6px;padding:10px 11px;border:1px solid #d4e2da;border-radius:9px;background:#fff;color:#29483a;font:inherit}.bi-filters-advanced .bi-clear-btn{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.28);box-shadow:none}.report-filter-panel{background:linear-gradient(135deg,#fff,#f5faf7)}.report-advanced-filters{margin-top:18px}.report-advanced-filters button{height:42px}.filter-summary{margin-top:12px;padding:10px 12px;border-radius:10px;background:#f2f8f4;border:1px solid #e0ebe4;color:#557064;font-size:12px}.rep-filter-line{margin-top:5px!important;font-size:10px!important;color:#4f6b5d!important}.bi-result-table{font-size:11px}.bi-result-table th{background:#eef5f0;color:#315443;white-space:nowrap}.bi-result-table td{vertical-align:top}.bi-result-table tbody tr:nth-child(even){background:#fafcfb}@media(max-width:1200px){.bi-filters-advanced,.report-advanced-filters{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:700px){.bi-filters-advanced,.report-advanced-filters{grid-template-columns:1fr}.bi-filters-advanced button,.report-advanced-filters button{width:100%}}.photo-fill-box{display:grid;grid-template-columns:1.4fr .8fr;gap:18px;align-items:center;margin:14px 0 18px;padding:18px;border:1px solid #dbe9e0;border-radius:16px;background:linear-gradient(135deg,#f8fcf9,#eef8f2);box-shadow:0 6px 18px rgba(17,87,49,.05)}.photo-fill-copy h4{margin:4px 0 6px;color:#173d2b;font-size:18px}.photo-fill-copy p{margin:0;color:#657c70;font-size:12px;line-height:1.55}.photo-fill-actions{display:flex;flex-direction:column;gap:9px}.photo-paste-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:88px;padding:12px;border:2px dashed #9fc7ae;border-radius:12px;background:#fff;color:#315944;text-align:center;cursor:pointer;outline:none;transition:.18s ease}.photo-paste-zone:hover,.photo-paste-zone:focus{border-color:#16864a;background:#f4fbf7;box-shadow:0 0 0 4px rgba(22,134,74,.08)}.photo-paste-zone.pasted{border-color:#f2bd19;background:#fff9df;transform:scale(1.01)}.photo-paste-zone b{font-size:16px;color:#0f7b43}.photo-paste-zone span{font-size:11px;font-weight:800}.photo-paste-zone small{font-size:9px;color:#7a8e83}.photo-or{text-align:center;color:#91a297;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.photo-fill-actions input{padding:10px;border:1px dashed #a8cbb8;border-radius:11px;background:#fff}.photo-fill-actions button{min-height:42px;border:0;border-radius:10px;background:linear-gradient(135deg,#0f8147,#116b3f);color:#fff;font-weight:800;cursor:pointer}.photo-fill-actions button:disabled{opacity:.65;cursor:wait}.photo-preview{grid-column:1/-1;display:flex;align-items:center;gap:13px;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #e0ebe4}.photo-preview img{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid #dbe7df}.photo-preview b,.photo-preview small{display:block}.photo-preview b{color:#1f4934;font-size:12px}.photo-preview small{margin-top:3px;color:#7d8f85;font-size:10px}.ocr-hint{margin-top:8px;font-size:10px;font-weight:800;color:#0f7b43}.photo-preview-info{flex:1}.photo-setup-btn{margin-top:9px;padding:8px 11px;border:0;border-radius:9px;background:#0f7d43;color:#fff;font-size:11px;font-weight:800;cursor:pointer}.photo-setup-btn:hover{filter:brightness(.96)}@media(max-width:850px){.photo-fill-box{grid-template-columns:1fr}}/* Regulação de Leitos — refinamento visual */
#leitos{max-width:100%}
#leitos>.panel:first-child{padding:26px 28px 28px;border:1px solid #deebe3;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#fbfdfc 100%);box-shadow:0 10px 30px rgba(18,72,43,.06)}
#leitos #leitoFormTitle{display:flex;align-items:center;gap:11px;margin:0 0 16px;color:#183f2d;font-size:20px;letter-spacing:-.2px}
#leitos #leitoFormTitle:before{content:"+";display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e7f5ec;color:#0f7f45;font-size:22px;font-weight:700}
#leitos .photo-fill-box{position:relative;grid-template-columns:minmax(0,1fr) minmax(420px,.95fr);gap:28px;margin:0 0 22px;padding:30px 28px;min-height:240px;border:1px solid #cfe2d7;border-radius:20px;background:linear-gradient(135deg,#eef8f2 0%,#f8fcfa 100%);box-shadow:inset 4px 0 0 #14904b,0 14px 34px rgba(17,87,49,.09);overflow:hidden}
#leitos .photo-fill-box:before{content:"";position:absolute;inset:0;background-image:url('/nir-regulacao-banner.webp');background-repeat:no-repeat;background-position:left center;background-size:62% auto;opacity:1;z-index:0;pointer-events:none;filter:saturate(1.08) contrast(1.03)}#leitos .photo-fill-box:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,252,248,.18) 0%,rgba(247,252,248,.24) 18%,rgba(247,252,248,.38) 34%,rgba(247,252,248,.72) 52%,rgba(247,252,248,.95) 72%,rgba(247,252,248,.98) 100%);z-index:1;pointer-events:none}#leitos .photo-fill-copy{position:relative;z-index:2;align-self:center;max-width:560px;padding:22px 24px;border-radius:18px;background:rgba(255,255,255,.80);border:1px solid rgba(255,255,255,.88);box-shadow:0 14px 35px rgba(26,72,47,.10);backdrop-filter:blur(8px)}#leitos .photo-fill-actions,#leitos .photo-preview{position:relative;z-index:2}
#leitos .photo-fill-copy .schedule-kicker{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:#e6f4eb;color:#0e7540;font-size:9px}
#leitos .photo-fill-copy .schedule-kicker:before{content:"●";font-size:7px;color:#f2be24}
#leitos .photo-fill-copy h4{margin:12px 0 8px;font-size:27px;line-height:1.15;letter-spacing:-.5px;color:#173d2b}
#leitos .photo-fill-copy p{max-width:680px;font-size:13px;line-height:1.7;color:#4f685c}
#leitos .photo-fill-actions{align-self:center;padding:18px;border-radius:18px;background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.92);box-shadow:0 16px 38px rgba(20,71,45,.12);backdrop-filter:blur(9px)}
#leitos .photo-paste-zone{min-height:116px;border-width:1.5px;border-color:#8fc4a4;background:rgba(255,255,255,.88);border-radius:15px}
#leitos .photo-paste-zone b{font-size:28px;letter-spacing:.02em;color:#247943}
#leitos .photo-paste-zone span{font-size:13px;color:#315b45;font-weight:800}
#leitos .photo-fill-actions input{border-style:solid;border-color:#d8e5dd;background:#fff}
#leitos .photo-fill-actions button{height:48px;border-radius:12px;box-shadow:0 10px 22px rgba(15,125,67,.20);background:linear-gradient(135deg,#167d43,#418f50);font-size:12px}
#leitos .photo-preview{padding:12px 14px;border-radius:13px;border-color:#dce9e1;background:#fff;box-shadow:0 6px 16px rgba(32,79,53,.04)}
#leitos .photo-preview img{width:64px;height:64px;border-radius:12px}
#leitos .formgrid{gap:10px 12px;padding:18px;border:1px solid #e0ebe4;border-radius:16px;background:#fff;box-shadow:0 7px 18px rgba(19,72,43,.035)}
#leitos .formgrid input,#leitos .formgrid select,#leitos .formgrid textarea{min-height:43px;padding:11px 12px;border:1px solid #d5e2da;border-radius:10px;background:#fbfdfc;color:#264536;font-size:12px;outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
#leitos .formgrid textarea{min-height:48px;resize:vertical}
#leitos .formgrid input:focus,#leitos .formgrid select:focus,#leitos .formgrid textarea:focus{border-color:#15904b;background:#fff;box-shadow:0 0 0 3px rgba(21,144,75,.10)}
#leitos .formgrid input::placeholder,#leitos .formgrid textarea::placeholder{color:#8b9b92}
#leitos #leitoSubmitBtn{min-height:48px;border-radius:11px;background:linear-gradient(135deg,#168a49,#3d914f);box-shadow:0 9px 20px rgba(20,137,72,.17);font-size:12px}
#leitos #leitoSubmitBtn:hover{transform:translateY(-1px);filter:brightness(1.02)}
#leitos>.panel:last-child{padding:22px 22px 10px;border:1px solid #e0eae4;border-radius:18px;box-shadow:0 10px 28px rgba(18,72,43,.05)}
#leitos>.panel:last-child .section-title-row{padding-bottom:14px}
#leitos>.panel:last-child .section-title-row h3{font-size:18px;color:#1e4432}
#leitos>.panel:last-child .section-title-row p{font-size:12px}
#leitos>.panel:last-child .tablewrap{border:1px solid #e0e9e3;border-radius:13px;overflow:auto}
#leitos>.panel:last-child table{font-size:11.5px}
#leitos>.panel:last-child thead th{position:sticky;top:0;z-index:2;padding:11px 10px;background:#e9f3ed;color:#254c38;font-size:10px;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}
#leitos>.panel:last-child tbody td{padding:11px 10px;background:#fff}
#leitos>.panel:last-child tbody tr:nth-child(even) td{background:#fbfdfc}
#leitos>.panel:last-child tbody tr:hover td{background:#f3f9f5}
#leitos>.panel:last-child tbody td:nth-child(5),#leitos>.panel:last-child tbody td:nth-child(6),#leitos>.panel:last-child tbody td:nth-child(7),#leitos>.panel:last-child tbody td:nth-child(8){font-weight:700;color:#315845}
#leitos .row-actions button{padding:7px 11px;border-radius:9px}
@media(max-width:1150px){#leitos .photo-fill-box{grid-template-columns:1fr}#leitos .photo-fill-actions{max-width:none}}
@media(max-width:800px){#leitos>.panel:first-child{padding:18px}#leitos .formgrid{grid-template-columns:1fr}#leitos .formgrid textarea{grid-column:1}#leitos .photo-fill-box{padding:18px}}
/* VISUAL LIMPO - NOVO CADASTRO DE REGULAÇÃO */
#leitos .photo-fill-box{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  gap:26px;
  margin:0 0 22px;
  padding:30px;
  min-height:250px;
  border:1px solid #d6e8de;
  border-radius:22px;
  background:
    radial-gradient(circle at 10% 15%,rgba(41,151,91,.10) 0 90px,transparent 91px),
    radial-gradient(circle at 42% 92%,rgba(245,190,40,.08) 0 120px,transparent 121px),
    linear-gradient(135deg,#f8fcfa 0%,#eff8f3 52%,#f7fbf9 100%);
  box-shadow:0 16px 38px rgba(19,75,46,.08);
  overflow:hidden;
}
#leitos .photo-fill-box::before{
  content:"+";
  position:absolute;
  left:46%;
  top:50%;
  transform:translate(-50%,-50%);
  width:150px;
  height:150px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:106px;
  line-height:1;
  font-weight:300;
  color:#16864a;
  background:rgba(255,255,255,.40);
  border:1px solid rgba(22,134,74,.10);
  opacity:.09;
  z-index:0;
  pointer-events:none;
}
#leitos .photo-fill-box::after{
  content:"";
  position:absolute;
  left:49%;
  top:24px;
  bottom:24px;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(31,107,65,.12),transparent);
  z-index:1;
  pointer-events:none;
}
#leitos .photo-fill-copy{
  position:relative;
  z-index:2;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:none;
  padding:26px 28px 26px 30px;
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(248,252,250,.94));
  border:1px solid #e1ece5;
  border-left:5px solid #178b4b;
  box-shadow:0 10px 28px rgba(25,79,51,.07);
}
#leitos .photo-fill-copy::after{
  content:"NIR";
  position:absolute;
  right:22px;
  bottom:12px;
  font-size:52px;
  font-weight:900;
  letter-spacing:.08em;
  color:#16864a;
  opacity:.035;
  pointer-events:none;
}
#leitos .photo-fill-copy .schedule-kicker{
  width:max-content;
  padding:7px 11px;
  background:#eaf6ef;
  border:1px solid #d8ebdf;
  color:#147843;
  box-shadow:none;
}
#leitos .photo-fill-copy h4{
  max-width:560px;
  margin:13px 0 9px;
  font-size:28px;
  line-height:1.13;
  letter-spacing:-.5px;
  color:#163d2a;
}
#leitos .photo-fill-copy p{
  max-width:610px;
  margin:0;
  font-size:13.5px;
  line-height:1.72;
  color:#557064;
}
#leitos .photo-fill-actions{
  position:relative;
  z-index:2;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:20px;
  border-radius:18px;
  background:#fff;
  border:1px solid #ddeae2;
  box-shadow:0 12px 30px rgba(20,71,45,.08);
}
#leitos .photo-paste-zone{
  position:relative;
  min-height:122px;
  border:1.5px dashed #7fbc98;
  border-radius:16px;
  background:linear-gradient(180deg,#fbfefc,#f5fbf7);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.65);
}
#leitos .photo-paste-zone::before{
  content:"⇩";
  position:absolute;
  left:18px;
  top:18px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#e7f5ec;
  color:#18854a;
  font-size:21px;
  font-weight:900;
}
#leitos .photo-paste-zone b{
  font-size:29px;
  color:#1b7d45;
}
#leitos .photo-paste-zone span{
  font-size:13px;
  font-weight:800;
  color:#315a45;
}
#leitos .photo-paste-zone small{
  color:#83948b;
}
#leitos .photo-fill-actions input{
  min-height:43px;
  margin-top:10px;
  padding:8px 10px;
  border:1px solid #d9e5de;
  border-radius:11px;
  background:#fbfdfc;
}
#leitos .photo-fill-actions button{
  min-height:48px;
  margin-top:10px;
  border-radius:12px;
  border:0;
  background:linear-gradient(135deg,#147e44,#399153);
  color:#fff;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:0 10px 20px rgba(20,126,68,.17);
}
#leitos .photo-fill-actions button:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}
@media(max-width:1150px){
  #leitos .photo-fill-box{
    grid-template-columns:1fr;
    padding:22px;
  }
  #leitos .photo-fill-box::after{display:none}
  #leitos .photo-fill-box::before{
    left:auto;
    right:-25px;
    top:35px;
    transform:none;
  }
  #leitos .photo-fill-copy{max-width:none}
}
@media(max-width:700px){
  #leitos .photo-fill-box{padding:15px;gap:15px}
  #leitos .photo-fill-copy{padding:22px 20px}
  #leitos .photo-fill-copy h4{font-size:23px}
  #leitos .photo-fill-actions{padding:14px}
}
#leitos .photo-steps{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
#leitos .photo-steps span{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border-radius:999px;background:#f4faf6;border:1px solid #dceae1;color:#365947;font-size:11px;font-weight:800}
#leitos .photo-steps b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#17894a;color:#fff;font-size:10px}
@media(max-width:700px){#leitos .photo-steps{gap:7px}#leitos .photo-steps span{width:100%;justify-content:flex-start}}
/* RELATÓRIO CONSOLIDADO — VISUAL EXECUTIVO */
.rep-exec-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 18px 14px}
.rep-exec-strip>div{position:relative;overflow:hidden;padding:14px 15px;border-radius:14px;background:linear-gradient(145deg,#0f7440,#168c4d);color:#fff;box-shadow:0 8px 20px rgba(15,116,64,.13)}
.rep-exec-strip>div:after{content:"";position:absolute;right:-18px;bottom:-25px;width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.08)}
.rep-exec-strip span{display:block;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#d9eee2}
.rep-exec-strip b{display:block;margin:5px 0 3px;font-size:16px;line-height:1.18;color:#fff}
.rep-exec-strip small{font-size:8px;color:#d9eee2}
.rep-card-subtitle{margin:-3px 0 8px;font-size:9px;line-height:1.45;color:#6d8176}
.rep-daily-chart{height:150px;display:flex;align-items:end;gap:4px;padding:16px 4px 0;border-bottom:1px solid #dfe8e3;background:linear-gradient(180deg,#fbfdfc,#fff)}
.rep-day-bar{height:132px;flex:1;min-width:7px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px}
.rep-day-bar b{font-size:7px;color:#3d5d4d;min-height:9px}
.rep-day-bar i{display:block;width:min(13px,80%);min-height:3px;border-radius:5px 5px 1px 1px;background:linear-gradient(180deg,#68c487,#138049)}
.rep-day-bar small{font-size:7px;color:#7f9187}
.rep-chart-foot{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:9px}
.rep-chart-foot span{padding:7px 8px;border-radius:9px;background:#f3f8f5;border:1px solid #e1ebe5;font-size:8px;color:#61756a;text-align:center}
.rep-chart-foot b{font-size:11px;color:#117846}
.rep-section-banner{display:flex;align-items:center;gap:16px;margin:4px 18px 12px;padding:14px 18px;border-radius:14px;background:linear-gradient(100deg,#0d6f3c,#14884a);color:#fff;box-shadow:0 10px 24px rgba(13,111,60,.12)}
.rep-section-banner>span{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.14);font-size:8px;font-weight:900;letter-spacing:.12em;white-space:nowrap}
.rep-section-banner b,.rep-section-banner small{display:block}
.rep-section-banner b{font-size:14px}
.rep-section-banner small{margin-top:3px;font-size:8px;color:#dcefe4;line-height:1.35}
.rep-daily-section{box-shadow:0 8px 24px rgba(20,73,46,.05)}
.rep-daily-section .rep-section-head{padding:15px 17px}
.rep-daily-section .rep-section-head h3{font-size:15px}
.rep-patients-section .rep-section-head,.rep-transfer-detail .rep-section-head{background:linear-gradient(90deg,#eef7f1,#fbfdfc)}
@media(max-width:1200px){.rep-exec-strip{grid-template-columns:repeat(2,1fr)}}

@media print{
  body.print-report aside,body.print-report header,body.print-report #login,body.print-report .report-filter-panel,body.print-report .system-watermark{display:none!important}
  body.print-report main{margin:0!important;padding:0!important;background:#fff!important}
  body.print-report .page{display:none!important}
  body.print-report #relatorio{display:block!important;padding:0!important;margin:0!important}
  body.print-report #relatorio .report{display:block!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
  body.print-report .rep-doc{border:0!important;border-radius:0!important;overflow:visible!important}
  body.print-report .rep-header{grid-template-columns:160px 1fr 160px!important;padding:11px 15px!important;border-bottom:3px solid #118146!important}
  body.print-report .rep-header img{max-height:58px!important}
  body.print-report .rep-title span{font-size:8px!important}
  body.print-report .rep-title h2{font-size:19px!important;margin:3px 0!important}
  body.print-report .rep-title p{font-size:9px!important}
  body.print-report .rep-kpis{grid-template-columns:repeat(6,1fr)!important;gap:6px!important;padding:9px 10px!important}
  body.print-report .rep-kpi{min-height:82px!important;padding:8px!important;border-radius:10px!important;break-inside:avoid}
  body.print-report .rep-kpi i{width:25px!important;height:25px!important;margin-bottom:5px!important}
  body.print-report .rep-kpi span{font-size:7px!important}
  body.print-report .rep-kpi b{font-size:18px!important}
  body.print-report .rep-kpi small{font-size:7px!important}
  body.print-report .rep-exec-strip{grid-template-columns:repeat(4,1fr)!important;gap:6px!important;padding:0 10px 7px!important;break-inside:avoid}
  body.print-report .rep-exec-strip>div{padding:9px 10px!important;border-radius:10px!important}
  body.print-report .rep-exec-strip span{font-size:6px!important}
  body.print-report .rep-exec-strip b{font-size:11px!important;margin:3px 0!important}
  body.print-report .rep-exec-strip small{font-size:6px!important}
  body.print-report .rep-grid-top{grid-template-columns:1fr 1.18fr .92fr!important;gap:7px!important;padding:0 10px 8px!important;break-inside:avoid}
  body.print-report .rep-card{padding:9px!important;border-radius:10px!important;box-shadow:none!important}
  body.print-report .rep-card-title{font-size:9px!important;margin-bottom:6px!important}
  body.print-report .rep-insight{gap:6px!important;padding:4px 0!important}
  body.print-report .rep-insight i{min-width:22px!important;height:22px!important}
  body.print-report .rep-insight p{font-size:7px!important;line-height:1.3!important}
  body.print-report .rep-card-subtitle{font-size:6.5px!important;margin-bottom:4px!important}
  body.print-report .rep-daily-chart{height:118px!important;padding-top:7px!important;gap:2px!important}
  body.print-report .rep-day-bar{height:108px!important}
  body.print-report .rep-day-bar b,body.print-report .rep-day-bar small{font-size:5.5px!important}
  body.print-report .rep-day-bar i{width:min(9px,78%)!important}
  body.print-report .rep-chart-foot{gap:4px!important;margin-top:5px!important}
  body.print-report .rep-chart-foot span{padding:4px!important;font-size:6px!important}
  body.print-report .rep-chart-foot b{font-size:8px!important}
  body.print-report .rep-donut{width:105px!important;height:105px!important}
  body.print-report .rep-donut:after{width:64px!important;height:64px!important}
  body.print-report .rep-donut b{font-size:18px!important}
  body.print-report .rep-donut-legend span{font-size:6px!important}
  body.print-report .rep-section-banner{break-before:page;margin:0 10px 8px!important;padding:10px 12px!important;border-radius:10px!important}
  body.print-report .rep-section-banner>span{font-size:6px!important}
  body.print-report .rep-section-banner b{font-size:11px!important}
  body.print-report .rep-section-banner small{font-size:6.5px!important}
  body.print-report .rep-grid-mid{grid-template-columns:.9fr 1fr 1fr!important;gap:7px!important;padding:0 10px 7px!important;break-inside:avoid}
  body.print-report .rep-rank-row{margin:5px 0!important}
  body.print-report .rep-mini-kpis{grid-template-columns:repeat(4,1fr)!important;gap:6px!important;padding:0 10px 7px!important;break-inside:avoid}
  body.print-report .rep-mini-kpis>div{padding:7px 9px!important}
  body.print-report .rep-mini-kpis span,body.print-report .rep-mini-kpis small{font-size:6px!important}
  body.print-report .rep-mini-kpis b{font-size:14px!important}
  body.print-report .rep-detail-section{margin:0 10px 8px!important;border-radius:10px!important}
  body.print-report .rep-section-head{padding:8px 10px!important}
  body.print-report .rep-section-head>span{width:26px!important;height:26px!important}
  body.print-report .rep-section-head h3{font-size:10px!important}
  body.print-report .rep-section-head p{font-size:6.5px!important}
  body.print-report .rep-daily-highlights span{padding:4px 6px!important;font-size:6px!important}
  body.print-report .rep-daily-highlights b{font-size:8px!important}
  body.print-report .rep-table-wrap{overflow:visible!important}
  body.print-report .rep-table{font-size:6.2px!important;width:100%!important}
  body.print-report .rep-table th{font-size:5.8px!important;padding:4px 3px!important;position:static!important}
  body.print-report .rep-table td{padding:4px 3px!important}
  body.print-report .rep-table thead{display:table-header-group}
  body.print-report .rep-table tr{break-inside:avoid}
  body.print-report .rep-patients-section{break-before:page}
  body.print-report .rep-transfer-detail{break-before:page}
  body.print-report .rep-footer{padding:9px 14px!important;break-inside:avoid}
  body.print-report .rep-footer b{font-size:7px!important}
  body.print-report .rep-footer small{font-size:6px!important}
  @page{size:A4 landscape;margin:7mm}
}
/* PDF DO RELATÓRIO — PRESERVAR O MESMO VISUAL DA TELA */
@media print{
  body.print-report,
  body.print-report *{
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
    color-adjust:exact!important;
  }
  body.print-report{
    background:#fff!important;
  }
  body.print-report .rep-doc{
    background:#fff!important;
    color:#203b2e!important;
  }
  body.print-report .rep-header{
    grid-template-columns:205px 1fr 205px!important;
    gap:16px!important;
    padding:18px 22px!important;
    background:linear-gradient(180deg,#ffffff,#fbfdfc)!important;
    border-bottom:3px solid #118146!important;
  }
  body.print-report .rep-header img{
    max-height:72px!important;
    width:100%!important;
    object-fit:contain!important;
  }
  body.print-report .rep-title span{font-size:9px!important;color:#138148!important}
  body.print-report .rep-title h2{font-size:22px!important;margin:4px 0!important;color:#143d29!important}
  body.print-report .rep-title p{font-size:10px!important;color:#61766a!important}

  body.print-report .rep-kpis{
    grid-template-columns:repeat(6,1fr)!important;
    gap:9px!important;
    padding:14px 16px!important;
    background:#f4f8f6!important;
  }
  body.print-report .rep-kpi{
    min-height:100px!important;
    padding:12px!important;
    border-radius:13px!important;
    background:#fff!important;
    border:1px solid #e0ebe4!important;
    box-shadow:0 5px 14px rgba(20,70,43,.06)!important;
  }
  body.print-report .rep-kpi i{width:32px!important;height:32px!important;margin-bottom:8px!important}
  body.print-report .rep-kpi span{font-size:8.5px!important}
  body.print-report .rep-kpi b{font-size:23px!important}
  body.print-report .rep-kpi small{font-size:7.5px!important}

  body.print-report .rep-exec-strip{
    grid-template-columns:repeat(4,1fr)!important;
    gap:9px!important;
    padding:0 16px 12px!important;
  }
  body.print-report .rep-exec-strip>div{
    padding:12px 13px!important;
    border-radius:12px!important;
    background:linear-gradient(145deg,#0f7440,#168c4d)!important;
    box-shadow:0 6px 16px rgba(15,116,64,.13)!important;
  }
  body.print-report .rep-exec-strip span{font-size:7px!important;color:#d9eee2!important}
  body.print-report .rep-exec-strip b{font-size:14px!important;margin:4px 0 2px!important;color:#fff!important}
  body.print-report .rep-exec-strip small{font-size:7px!important;color:#d9eee2!important}

  body.print-report .rep-grid-top{
    grid-template-columns:1fr 1.1fr .95fr!important;
    gap:10px!important;
    padding:0 16px 12px!important;
  }
  body.print-report .rep-card{
    padding:14px!important;
    border-radius:13px!important;
    border:1px solid #e1eae5!important;
    background:#fff!important;
    box-shadow:0 5px 16px rgba(29,73,49,.05)!important;
  }
  body.print-report .rep-card-title{font-size:11px!important;margin-bottom:9px!important;color:#174d34!important}
  body.print-report .rep-insight{gap:8px!important;padding:6px 0!important}
  body.print-report .rep-insight i{min-width:27px!important;height:27px!important;background:#e9f6ee!important;color:#0f7c43!important}
  body.print-report .rep-insight p{font-size:8.5px!important;line-height:1.4!important;color:#50695c!important}
  body.print-report .rep-card-subtitle{font-size:8px!important;margin-bottom:6px!important;color:#6d8176!important}

  body.print-report .rep-daily-chart{
    height:142px!important;
    gap:3px!important;
    padding:12px 4px 0!important;
    background:linear-gradient(180deg,#fbfdfc,#fff)!important;
    border-bottom:1px solid #dfe8e3!important;
  }
  body.print-report .rep-day-bar{height:128px!important}
  body.print-report .rep-day-bar b,body.print-report .rep-day-bar small{font-size:6.5px!important}
  body.print-report .rep-day-bar i{
    width:min(11px,80%)!important;
    background:linear-gradient(180deg,#68c487,#138049)!important;
  }
  body.print-report .rep-chart-foot{gap:5px!important;margin-top:7px!important}
  body.print-report .rep-chart-foot span{
    padding:6px!important;
    font-size:7px!important;
    background:#f3f8f5!important;
    border:1px solid #e1ebe5!important;
  }
  body.print-report .rep-chart-foot b{font-size:9px!important;color:#117846!important}

  body.print-report .rep-donut{width:122px!important;height:122px!important}
  body.print-report .rep-donut:after{width:75px!important;height:75px!important;background:#fff!important}
  body.print-report .rep-donut b{font-size:22px!important;color:#17432e!important}
  body.print-report .rep-donut small{font-size:8px!important}
  body.print-report .rep-donut-legend span{font-size:7px!important}

  body.print-report .rep-section-banner{
    margin:0 16px 10px!important;
    padding:12px 15px!important;
    border-radius:12px!important;
    background:linear-gradient(100deg,#0d6f3c,#14884a)!important;
    color:#fff!important;
  }
  body.print-report .rep-section-banner>span{
    font-size:7px!important;
    background:rgba(255,255,255,.14)!important;
    color:#fff!important;
  }
  body.print-report .rep-section-banner b{font-size:13px!important;color:#fff!important}
  body.print-report .rep-section-banner small{font-size:7.5px!important;color:#dcefe4!important}

  body.print-report .rep-grid-mid{
    grid-template-columns:.9fr 1fr 1fr!important;
    gap:10px!important;
    padding:0 16px 10px!important;
  }
  body.print-report .rep-transfer-cards>div{
    background:#edf8f1!important;
    border:1px solid #dcebe2!important;
  }
  body.print-report .rep-transfer-cards .air{background:#eef5fb!important}
  body.print-report .rep-transfer-cards .total{background:#f6f8f7!important}
  body.print-report .rep-rank-num{background:#e6f5ec!important;color:#0e7840!important}
  body.print-report .rep-rank-bar{background:#eef2ef!important}
  body.print-report .rep-rank-bar i{background:linear-gradient(90deg,#2a9a59,#74c38e)!important}

  body.print-report .rep-mini-kpis{
    grid-template-columns:repeat(4,1fr)!important;
    gap:8px!important;
    padding:0 16px 10px!important;
  }
  body.print-report .rep-mini-kpis>div{
    padding:10px 12px!important;
    background:#f6faf7!important;
    border:1px solid #e2ece6!important;
  }
  body.print-report .rep-mini-kpis span,body.print-report .rep-mini-kpis small{font-size:7px!important}
  body.print-report .rep-mini-kpis b{font-size:18px!important;color:#117846!important}

  body.print-report .rep-detail-section{
    margin:0 16px 10px!important;
    border-radius:12px!important;
    border:1px solid #dfe9e3!important;
    background:#fff!important;
  }
  body.print-report .rep-section-head{
    padding:10px 12px!important;
    background:#f5f9f6!important;
    border-bottom:1px solid #e1e9e4!important;
  }
  body.print-report .rep-section-head>span{
    width:30px!important;
    height:30px!important;
    background:#e7f5ec!important;
  }
  body.print-report .rep-section-head h3{font-size:12px!important;color:#164b32!important}
  body.print-report .rep-section-head p{font-size:7.5px!important;color:#7b8c83!important}
  body.print-report .rep-daily-section .rep-section-head{
    background:linear-gradient(90deg,#eef8f2,#f8fcfa)!important;
  }
  body.print-report .rep-daily-highlights span{
    padding:5px 8px!important;
    font-size:7px!important;
    background:#fff!important;
    border:1px solid #dce9e1!important;
  }
  body.print-report .rep-daily-highlights b{font-size:10px!important;color:#117846!important}

  body.print-report .rep-table{font-size:7px!important}
  body.print-report .rep-table th{
    font-size:6.5px!important;
    padding:5px 4px!important;
    background:#118148!important;
    color:#fff!important;
  }
  body.print-report .rep-table td{
    padding:5px 4px!important;
    border-bottom:1px solid #e7eeea!important;
  }
  body.print-report .rep-table tbody tr:nth-child(even){background:#f8faf9!important}
  body.print-report .rep-status.rep-approved,
  body.print-report .rep-status.rep-realized{background:#dff3e7!important;color:#0f6f3d!important}
  body.print-report .rep-status.rep-cancelled{background:#fde4e4!important;color:#a83939!important}
  body.print-report .rep-status.rep-wait{background:#fff2c9!important;color:#8e6712!important}
  body.print-report .rep-status.rep-neutral{background:#edf1ef!important;color:#65786e!important}
  body.print-report .rep-daily-table .rep-day-total b{background:#e7f5ec!important;color:#0e7840!important}

  body.print-report .rep-footer{
    padding:12px 18px!important;
    background:linear-gradient(90deg,#0c6f3b,#0a5f34)!important;
    color:#fff!important;
  }
  body.print-report .rep-footer b{font-size:8px!important;color:#fff!important}
  body.print-report .rep-footer small{font-size:7px!important;color:#d7eee1!important}

  @page{size:A4 landscape;margin:6mm}
}
/* ESCALA NIR — GUIAS, IMPORTAÇÃO E ESCALA VIGENTE */
.schedule-tabs{display:flex;gap:8px;padding:8px;margin-top:18px;background:#eef6f1;border:1px solid #dce9e1;box-shadow:none}
.schedule-tabs button{border:0;border-radius:10px;padding:11px 16px;background:transparent;color:#507062;font-weight:800;cursor:pointer}
.schedule-tabs button.active{background:#fff;color:#0d7840;box-shadow:0 5px 16px rgba(24,84,52,.09)}
.schedule-active-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;background:linear-gradient(135deg,#0d6f3c,#14904b);color:#fff;border:0}
.schedule-active-hero .schedule-kicker{color:#ccebd9}
.schedule-active-hero h2{margin:6px 0 7px;font-size:29px}
.schedule-active-hero p{margin:0;color:#dcefe4}
.active-schedule-actions{display:flex;gap:9px;flex-wrap:wrap}
.active-schedule-actions button{border:0;border-radius:10px;padding:11px 14px;background:#fff;color:#126b3c;font-weight:800;cursor:pointer}
.active-schedule-actions .secondary-btn{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.24)!important}
.active-schedule-status{margin-top:12px}
.active-schedule-badge,.active-schedule-empty{display:flex;align-items:center;gap:11px;padding:12px 15px;border-radius:12px;background:#edf8f1;border:1px solid #d5eadc;color:#315b45}
.active-schedule-badge>span{width:11px;height:11px;border-radius:50%;background:#16a055;box-shadow:0 0 0 6px rgba(22,160,85,.11)}
.active-schedule-badge b,.active-schedule-badge small,.active-schedule-empty b,.active-schedule-empty span{display:block}
.active-schedule-badge small,.active-schedule-empty span{margin-top:2px;font-size:11px;color:#71847a}
.active-schedule-paper{margin-top:12px}
.readonly-schedule-table .readonly-shift{display:grid;place-items:center;cursor:default}
.readonly-schedule-table .today-col{box-shadow:inset 0 0 0 2px #efb81f!important}
.readonly-schedule-table th.today-col{background:#d49b0e!important;color:#fff!important}
.schedule-import-panel{display:grid;grid-template-columns:1fr minmax(360px,.75fr);gap:24px;align-items:center;padding:24px 26px;border:1px solid #dce9e1;background:linear-gradient(135deg,#fff,#f3faf6)}
.schedule-import-copy h3{margin:7px 0;font-size:21px;color:#204735}
.schedule-import-copy p{margin:0;max-width:760px;color:#687d72;line-height:1.6}
.schedule-import-actions{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:center}
.schedule-import-actions input{min-width:0;padding:11px;border:1px dashed #a9cdb8;border-radius:10px;background:#fff}
.schedule-import-actions button{border:0;border-radius:10px;padding:12px 15px;background:#138447;color:#fff;font-weight:800;cursor:pointer}
.schedule-import-actions small{grid-column:1/-1;color:#657b70;line-height:1.4}
.activate-schedule-btn{background:linear-gradient(135deg,#d9a20f,#f0bc27)!important;color:#173d2b!important;box-shadow:0 8px 18px rgba(218,164,20,.20)}
@media(max-width:900px){.schedule-import-panel{grid-template-columns:1fr}.schedule-import-actions{grid-template-columns:1fr}.schedule-import-actions button{width:100%}.schedule-active-hero{flex-direction:column;align-items:flex-start}}

@media print{
  body.print-active-schedule aside,body.print-active-schedule header,body.print-active-schedule #login,body.print-active-schedule .schedule-tabs,body.print-active-schedule .schedule-active-hero,body.print-active-schedule .active-schedule-status,body.print-active-schedule .schedule-manage-view{display:none!important}
  body.print-active-schedule main{margin:0!important;padding:0!important}
  body.print-active-schedule .page{display:none!important}
  body.print-active-schedule #escala{display:block!important}
  body.print-active-schedule #scheduleActiveView{display:block!important}
  body.print-active-schedule .active-schedule-paper{display:block!important;margin:0!important;border:0!important;padding:0!important;box-shadow:none!important}
  body.print-active-schedule .schedule-table-wrap{overflow:visible!important;border:0!important}
  body.print-active-schedule .schedule-table{min-width:0!important;width:100%!important;font-size:7px!important}
  body.print-active-schedule .schedule-table th,body.print-active-schedule .schedule-table td{padding:3px 2px!important}
  body.print-active-schedule .readonly-shift{height:22px!important;min-width:18px!important;font-size:7px!important}
  body.print-active-schedule .schedule-doc-head img{width:185px!important}
  body.print-active-schedule .schedule-doc-head h2{font-size:15px!important}
  body.print-active-schedule .schedule-legend{font-size:8px!important}
  body.print-active-schedule #relatorio{display:none!important}
  @page{size:landscape;margin:6mm}
}
.code-li{background:#fff3d9!important}.code-li .shift-cell,.code-li .readonly-shift{color:#d88b00!important}.legend-dot.li{background:#ffc65b}
/* APP INSTALÁVEL — NIR MOBILE */
.app-install-card{margin-top:16px;padding:14px;border:1px solid #dceae2;border-radius:15px;background:linear-gradient(145deg,#f7fbf8,#eef7f2)}
.app-install-card>div b,.app-install-card>div span{display:block}.app-install-card>div b{font-size:13px;color:#234b37}.app-install-card>div span{margin-top:4px;font-size:11px;line-height:1.45;color:#6c8176}
.app-install-card button{width:100%;margin-top:11px;padding:11px 13px;border:0;border-radius:11px;background:#133f2c;color:#fff;font-weight:800;cursor:pointer}
.app-install-card button.ready{background:linear-gradient(135deg,#0f8547,#0b6e3b);box-shadow:0 8px 18px rgba(15,133,71,.18)}
.app-install-card small{display:block;margin-top:8px;font-size:10px;line-height:1.4;color:#667b70}

@media(max-width:800px){
  body.pwa-mobile{background:#f3f7f5}
  body.pwa-mobile .sidebar{
    inset:auto 0 0 0!important;
    width:100%!important;
    height:82px!important;
    overflow:hidden!important;
    padding:7px 7px calc(7px + env(safe-area-inset-bottom))!important;
    background:rgba(16,58,40,.98)!important;
    border-top:1px solid rgba(255,255,255,.08);
    box-shadow:0 -10px 30px rgba(17,61,42,.18);
    backdrop-filter:blur(16px)
  }
  body.pwa-mobile .sidebar-brand,
  body.pwa-mobile .sidebar-status,
  body.pwa-mobile .nav-group-title,
  body.pwa-mobile .sidebar-footer,
  body.pwa-mobile .sidebar-version{display:none!important}
  body.pwa-mobile .sidebar-nav{display:flex;align-items:stretch;gap:4px;height:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:0}
  body.pwa-mobile .sidebar-nav::-webkit-scrollbar{display:none}
  body.pwa-mobile .nav-group{display:contents}
  body.pwa-mobile .sidebar button{
    flex:0 0 76px!important;
    width:76px!important;
    height:64px!important;
    margin:0!important;
    padding:5px 4px!important;
    border-radius:13px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    gap:3px!important;
    text-align:center!important;
    font-size:10px!important
  }
  body.pwa-mobile .sidebar button.active{background:rgba(255,255,255,.13)!important}
  body.pwa-mobile .sidebar button.active:after{display:none!important}
  body.pwa-mobile .nav-icon{display:grid!important;width:29px!important;height:29px!important;flex:0 0 29px!important;border-radius:9px!important}
  body.pwa-mobile .nav-icon svg{width:17px!important;height:17px!important}
  body.pwa-mobile .nav-label{display:block!important;font-size:9px!important;line-height:1.05!important;white-space:normal!important;color:#f1f8f4!important}
  body.pwa-mobile main{margin-left:0!important;padding:16px 12px calc(164px + env(safe-area-inset-bottom))!important}
  body.pwa-mobile .sidebar{bottom:56px!important}
  body.pwa-mobile .system-watermark{bottom:138px!important}
  body.pwa-mobile .system-watermark{left:0!important;bottom:82px!important}
  body.pwa-mobile header{padding-top:max(10px,env(safe-area-inset-top));align-items:flex-start;gap:8px}
  body.pwa-mobile header h1{font-size:22px}
  body.pwa-mobile #currentUserLabel{font-size:10px;text-align:right;max-width:145px}
  body.pwa-mobile .stats{grid-template-columns:1fr 1fr!important;gap:9px}
  body.pwa-mobile .stats div{padding:14px}
  body.pwa-mobile .stats b{font-size:24px}
  body.pwa-mobile .panel{padding:15px;border-radius:14px}
  body.pwa-mobile .filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body.pwa-mobile .filters label{min-width:0}
  body.pwa-mobile .filters button{width:100%}
  body.pwa-mobile .tablewrap,body.pwa-mobile .schedule-table-wrap{border-radius:11px;-webkit-overflow-scrolling:touch}
  body.pwa-mobile .schedule-active-hero{padding:18px;align-items:flex-start}
  body.pwa-mobile .schedule-active-hero h2{font-size:23px}
  body.pwa-mobile .active-schedule-actions{width:100%}
  body.pwa-mobile .active-schedule-actions button{flex:1}
  body.pwa-mobile .schedule-paper{padding:12px}
  body.pwa-mobile .schedule-doc-head{gap:10px}
  body.pwa-mobile .schedule-doc-head img{width:145px}
  body.pwa-mobile .schedule-doc-head h2{font-size:15px}
  body.pwa-mobile .report-filter-panel .filters{grid-template-columns:1fr}
}
@media(max-width:650px){
  .app-install-card{margin-top:14px}
  body.pwa-mobile .login-panel{min-height:100vh;padding:22px 14px calc(28px + env(safe-area-inset-bottom))}
  body.pwa-mobile .login-card{width:100%;max-width:430px}
}
@media print{body.print-daily aside,body.print-daily header,body.print-daily #login{display:none!important}body.print-daily main{margin:0!important;padding:0!important}body.print-daily .page{display:none!important}body.print-daily #controleDiario{display:block!important}body.print-daily #controleDiario>.daily-hero,body.print-daily #controleDiario>.daily-notice,body.print-daily #controleDiario>.daily-summary{display:none!important}body.print-daily .daily-paper{display:block!important;border:0!important;box-shadow:none!important;padding:0!important}body.print-daily .daily-doc-head{margin-bottom:9px!important}body.print-daily .daily-doc-head img{width:180px!important;max-height:58px!important}body.print-daily .daily-doc-head h2{font-size:16px!important}body.print-daily .daily-system-block{margin-bottom:9px!important;break-inside:avoid}body.print-daily .daily-table-wrap{overflow:visible!important}body.print-daily .daily-table{min-width:0!important;width:100%!important;font-size:6.5px!important}body.print-daily .daily-table th,body.print-daily .daily-table td{padding:3px 2px!important}body.print-daily .daily-table .daily-day{min-width:0!important}body.print-daily .daily-cat{font-size:6.5px!important;min-width:90px!important}body.print-daily .daily-shift{min-width:35px!important}@page{size:landscape;margin:6mm}}