.cz-login{max-width:420px;background:#fff;border:1px solid #d9e3ec;padding:24px;margin:40px auto;border-radius:8px}.cz-login h1{margin-bottom:18px}.cz-login form,.cz-edit{display:grid;gap:12px}.cz-login label,.cz-edit label{display:grid;gap:5px;font-size:14px;font-weight:700;margin:0}.cz-login details{margin-top:16px}.cz-login details form{margin-top:12px}.cz-login input,.cz-edit input,.cz-edit select{width:100%;min-width:0}.cz-success{color:#12643b;background:#e9f7ee;border:1px solid #b4ddc5;padding:10px;margin-bottom:12px;border-radius:6px}.cz-subnav{display:flex;gap:6px;margin-bottom:16px;flex-wrap:wrap}.cz-subnav button[aria-current=page]{background:#10365b;color:white;border-color:#10365b}.cz-badge{font-size:13px;padding:6px 9px;border:1px solid #d3dde6;border-radius:5px;background:#fff}.cz-register{display:grid;grid-template-columns:1fr 1fr auto auto;gap:8px;align-items:center;background:#fff;border:1px solid #d9e3ec;border-top:3px solid #f68e03;padding:12px;border-radius:6px}.cz-register>div{display:grid;gap:3px;min-width:0}.cz-register span,.cz-register small{font-size:13px;color:#52677b}.cz-register strong{font-size:17px;overflow-wrap:anywhere}.cz-indicators{grid-template-columns:repeat(4,minmax(0,1fr))}.cz-bar{flex:1;min-width:80px;max-width:450px}.cz-bar progress{width:100%;accent-color:#125487}.cz-map{display:grid;gap:12px}.cz-map-line{background:white;border:1px solid #d9e3ec;border-radius:8px;padding:12px;min-width:0}.cz-map-line h2{margin:0 0 12px}.cz-map-sides{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:10px}.cz-map-sides>div:not(.cz-belt){display:grid;align-content:start;gap:8px}.cz-belt{background:repeating-linear-gradient(0deg,#c4d3e0 0,#c4d3e0 8px,#a8bed0 8px,#a8bed0 10px);border-radius:4px}.cz-map h3{font-size:13px;margin:0 0 6px;color:#52677b}.cz button.cz-map-card{display:grid;justify-items:start;text-align:left;border-left:4px solid #f68e03;gap:4px;min-width:0;font-weight:500}.cz button.cz-map-card.filled{border-left-color:#29805b}.cz-map-card strong{font-size:17px;overflow-wrap:anywhere}.cz-map-card span,.cz-map-card small{font-size:12px;overflow-wrap:anywhere}.cz-map-card b{color:#10365b;font-size:20px}.cz-unplaced{display:grid;gap:8px;margin-top:16px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.cz-unplaced h3{grid-column:1/-1}.cz-map.zoomed .cz-map-card{min-height:130px}.cz-map.zoomed .cz-map-card strong{font-size:22px}.cz-tv .cz-kpis strong{font-size:44px}.cz-tv .cz-kpis>div{padding:20px}.cz-tv .cz-subnav,.cz-tv #tabs{display:none}.cz-a4{background:white;color:#182e43;padding:12px}.cz-a4 img{width:140px;height:auto}.cz-a4 h1{font-size:20px;margin:8px 0}.cz-a4 h2{font-size:16px;margin:12px 0 6px}.cz-a4 table th,.cz-a4 table td{font-size:11px;padding:6px;white-space:normal;overflow-wrap:anywhere}.cz-a4 .cz-table{max-height:none;overflow:visible}.cz-dialog #dialog-error{color:#9c3027;font-size:14px;margin-top:10px}.cz-table td button{font-size:13px;min-height:36px;padding:5px 9px}.cz-table td select{font-size:14px;min-height:40px}.cz-table th{min-width:110px}.cz-scope h1{margin-right:auto}.cz-scope .cz-save{margin-left:auto}
@media(max-width:600px){.cz-login{margin:18px auto;padding:18px}.cz-register{grid-template-columns:1fr 1fr}.cz-indicators{grid-template-columns:repeat(2,minmax(0,1fr))}.cz-map-sides{gap:5px;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)}.cz-map-card strong{font-size:15px}.cz-map-card small{font-size:12px}.cz-subnav{gap:4px}.cz-subnav button{padding:7px 9px;font-size:13px}.cz-scope .cz-save{margin-left:0}.cz-scope button{font-size:13px}.cz-map-line{padding:8px}.cz-toolbar label{display:grid;gap:3px}.cz nav button{font-size:11px;min-width:0;padding:10px 4px}.cz-login input,.cz-edit input,.cz-edit select{font-size:16px}}
@page labels{size:100mm 60mm;margin:0}@page report{size:A4 landscape;margin:10mm}
@media print{body.print-label #print-labels{page:labels}body.print-report #print-labels{page:report}body.cz-printing>#dialog{display:none!important}body.print-report #print-labels{width:auto!important}body.print-report .cz-a4{font-family:Arial,sans-serif;padding:0}body.print-report .cz-a4 .cz-table{overflow:visible;border-collapse:collapse}body.print-report .cz-a4 table{width:100%;border-collapse:collapse}body.print-report .cz-a4 th,body.print-report .cz-a4 td{border:1px solid #aaa;position:static!important;padding:4px}body.print-report .cz-a4 thead{display:table-header-group}}
.cz-belt{background:#b6c9d8;border:1px solid #91a9bb}.cz button.cz-map-card{justify-content:start;align-content:center;min-height:110px}.cz-dialog .cz-a4{min-width:0;padding:8px 0}.cz-dialog .cz-a4 .cz-table{overflow:auto;max-width:100%;max-height:220px}.cz-dialog .cz-a4 table th{min-width:72px}.cz-dialog .cz-a4 table{min-width:580px}.cz-dialog .cz-label-preview+button{width:100%;margin-top:12px}
@media print{body.print-report .cz-a4 table{min-width:0!important}body.print-report .cz-a4 th{min-width:0!important}}
.cz-login .cz-badge-scan{display:flex;width:100%;min-height:56px;font-size:18px;margin:0 0 14px}
.cz-label.cz-original-people{height:65mm;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:2mm;padding:3mm;border:0;border-radius:0}.cz-original-people>div{display:grid;justify-items:center;gap:1mm;min-width:0}.cz-original-people strong{font-size:15pt;color:#000;overflow-wrap:anywhere}.cz-original-people svg{width:39mm;max-width:100%;height:auto;display:block}.cz-original-post .cz-label-body strong{font-size:24pt;color:#006aab}.cz-original-post .cz-label-body b{font-size:11pt}.cz-original-post{height:65mm}
@media screen and (max-width:600px){.cz-label-preview .cz-original-people{height:auto;aspect-ratio:100/65}.cz-original-people svg{width:100%}.cz-original-post .cz-label-body strong{font-size:17pt}}
@page operational{size:100mm 65mm;margin:0}
@media print{body.print-label #print-labels:has(.cz-original-people),body.print-label #print-labels:has(.cz-original-post){page:operational}body.cz-printing .cz-label.cz-original-people,body.cz-printing .cz-label.cz-original-post{height:65mm!important}}

/* Cruzília: institutional interface; scope to screen so existing print layouts remain intact. */
@media screen {
:root{--cz-navy:#103252;--cz-blue:#145580;--cz-orange:#F68E03;--cz-bg:#F1F5F8;--cz-border:#D8E2E9;--cz-muted:#536979;}
.cz{background:var(--cz-bg);color:var(--cz-navy);font-family:Inter,Arial,sans-serif;font-size:14px}
.cz header{height:64px;min-height:64px;padding:0 clamp(14px,3vw,40px);background:var(--cz-navy);border-bottom:2px solid var(--cz-orange);gap:12px}
.cz-brand{display:flex;flex-wrap:nowrap;align-items:center;gap:16px;min-width:0}
.cz-brand img{width:124px;max-width:100%;height:auto;filter:brightness(0) invert(1)}
.cz-brand span{font-size:19px;line-height:1.2;font-weight:600;padding-left:16px;border-left:1px solid #64809A;white-space:nowrap}
.cz-brand b{color:var(--cz-orange);font-weight:700}
.cz-unit{background:none;border:0;border-radius:0;padding:0;text-transform:none;letter-spacing:0;font-size:14px;font-weight:600;color:#E5EDF3}
.cz nav{gap:4px;padding:0 clamp(14px,3vw,40px);border-bottom:1px solid var(--cz-border);overflow:visible}
.cz nav:empty{display:none}
.cz nav button{min-height:48px;padding:10px 18px;gap:8px;font-size:14px;font-weight:500;color:var(--cz-muted);border-bottom-width:2px}
.cz nav button span{display:inline;font-size:inherit;margin:0}
.cz nav button[aria-current=page]{background:transparent;color:var(--cz-navy);font-weight:650;border-bottom-color:var(--cz-orange)}
.cz button svg,.cz-icon{margin:0;flex:none;vertical-align:middle}
.cz-main{padding:20px clamp(14px,3vw,40px) 32px;max-width:1400px}
.cz h1{font-size:24px;letter-spacing:-.025em;font-weight:700}
.cz h2{font-size:17px;font-weight:650;margin:18px 0 10px}
.cz-toolbar{gap:8px;margin-bottom:14px}
.cz input:not([type=checkbox]),.cz select,.cz button{min-height:38px;border-radius:5px;padding:7px 11px;font-size:14px;border-color:var(--cz-border);color:var(--cz-navy)}
.cz button{gap:7px;font-weight:600}
.cz .cz-primary{background:var(--cz-blue);border-color:var(--cz-blue);color:white}
.cz button:disabled{opacity:1;background:#E8EEF2;color:#84939F;border-color:#D7E1E8;cursor:not-allowed}
.cz button:hover:not(:disabled){filter:none;background:#EAF1F6}
.cz button.cz-primary:hover:not(:disabled){background:#104565}
.cz .cz-icon-action{width:38px;padding:0;min-width:38px}
.cz-save{font-size:12px;color:#28714E;margin-left:auto;white-space:nowrap}
.cz-kpis{gap:10px;margin-bottom:14px}
.cz-kpis>div,.cz-kpis>div:last-child{border:1px solid var(--cz-border);border-radius:6px;padding:13px 15px;min-width:0;position:relative}
.cz-kpis span{font-size:13px;font-weight:550;color:var(--cz-muted);padding-right:20px}
.cz-kpis strong,.cz-kpis>div:last-child strong{font-size:32px;font-weight:700;color:var(--cz-navy);margin-top:5px}
.cz-kpis>div>svg{position:absolute;right:13px;top:13px;color:#668097;width:17px;height:17px}
.cz-kpis>div.cz-attention strong,.cz-kpis>div.cz-attention>svg{color:#A65300}
.cz-registration-panel,.cz-presence{background:#fff;border:1px solid var(--cz-border);border-radius:6px;padding:15px;margin-bottom:14px;min-width:0}
.cz-panel-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.cz-panel-heading h2{margin:0 auto 0 0}
.cz-registration-panel .cz-panel-heading .cz-primary{min-height:42px;padding-inline:16px}
.cz-register{border:0;background:none;padding:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.cz-register .cz-selection{border:1px solid var(--cz-border);border-radius:5px;background:#F8FAFC;padding:11px;gap:4px;grid-template-rows:auto auto minmax(16px,auto) auto}
.cz-register .cz-selection strong{font-size:16px;font-weight:650}
.cz-register .cz-selection span{font-size:12px;font-weight:600}
.cz-register .cz-selection button{justify-self:start;background:white;margin-top:4px}
.cz-register-actions{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}
.cz-pending{font-size:12px;font-weight:600;color:#8B5109;background:#FFF3E1;padding:5px 8px;border-radius:4px}
.cz-search-wrap{position:relative;width:min(100%,340px);min-width:0;flex-shrink:1}
.cz-search-wrap>.cz-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--cz-muted);pointer-events:none}
.cz .cz-search-wrap .cz-search{width:100%;padding-left:35px;margin:0}
.cz-close-collection{display:flex;justify-content:flex-end;gap:8px;padding:8px 0 0;border-top:1px solid var(--cz-border)}
.cz-close-collection button:not(:disabled){color:#8B5109;border-color:#D9B887}
.cz-table{border-color:var(--cz-border);border-radius:5px;max-width:100%}
.cz table{font-size:13px}
.cz th,.cz td{padding:8px 11px;border-bottom-color:#E5EBF0}
.cz thead th,.cz thead tr>th:first-child{background:#F1F5F8;color:#486176;font-weight:650}
.cz tbody th{font-weight:600}
.cz .cz-presence-status{font-size:13px;font-weight:600;min-height:35px;display:inline-block;border-radius:4px;padding:6px 8px}
.cz .cz-presence-status[data-status=present]{background:#E9F5ED;color:#25613D;border-color:#BCDCC7}
.cz .cz-presence-status[data-status=absent]{background:#FCECEC;color:#A04444;border-color:#E9C7C7}
.cz .cz-presence-status[data-status=unknown]{background:#FFF4E3;color:#865315;border-color:#EAD3AB}
.cz-subnav{gap:6px;margin-bottom:12px}
.cz-subnav button[aria-current=page]{background:var(--cz-navy);border-color:var(--cz-navy)}
.cz-dialog{border-radius:8px;box-shadow:0 4px 18px #102a4624;padding:16px}
.cz-dialog::backdrop{background:#0B223980}
.cz-dialog-top h2{font-size:19px}
.cz .cz-dialog-top button{width:38px;min-width:38px;padding:0}
.cz-empty{border:1px solid var(--cz-border);border-radius:5px;padding:16px;min-height:56px;font-size:13px}
.cz-map-line,.cz-list,.cz-login{border-radius:6px;border-color:var(--cz-border)}
.cz-map-card{background:white}
.cz-login .cz-badge-scan{margin:12px 0 0;min-height:44px;font-size:14px}
.cz-success,.cz-error{border-radius:5px;padding:9px 12px;margin-bottom:10px}
}
@media screen and (max-width:600px){
.cz header{height:56px;min-height:56px;padding:0 10px;gap:8px}
.cz-brand{gap:8px}.cz-brand img{width:92px}.cz-brand span{font-size:13px;padding-left:8px;white-space:normal;max-width:145px}
.cz-unit{font-size:12px}
.cz nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;gap:0}
.cz nav button{min-height:52px;flex-direction:column;gap:4px;padding:6px 1px;font-size:10px;line-height:1.15;min-width:0}
.cz nav button .cz-icon{width:18px;height:18px}.cz nav button span{display:block}
.cz-main{padding:13px 10px 24px}
.cz h1{font-size:21px}
.cz-toolbar{gap:6px;margin-bottom:10px}.cz-toolbar h1{width:auto;flex:1 0 100%}
.cz-scope .cz-save{margin-left:auto;font-size:11px}
.cz input:not([type=checkbox]),.cz select,.cz button{min-height:44px;font-size:14px}
.cz-scope input[type=date]{min-width:0;width:135px;padding:6px}.cz-scope select{max-width:100%;padding:6px}
.cz .cz-icon-action{min-width:44px;width:44px}
.cz-kpis{gap:7px;margin-bottom:10px}.cz-kpis>div,.cz-kpis>div:last-child{padding:10px}.cz-kpis strong,.cz-kpis>div:last-child strong{font-size:27px}
.cz-kpis span{font-size:12px}.cz-kpis>div>svg{right:9px;top:10px;width:15px;height:15px}
.cz-registration-panel,.cz-presence{padding:10px;margin-bottom:10px}
.cz-panel-heading{gap:7px;margin-bottom:10px}.cz-panel-heading h2{font-size:16px}
.cz-registration-panel .cz-panel-heading .cz-primary{flex-basis:100%;min-height:46px}
.cz-register{gap:7px}.cz-register .cz-selection{padding:8px;gap:3px}.cz-register .cz-selection strong{font-size:14px}
.cz-register .cz-selection button{font-size:12px;padding:5px 6px;width:100%;white-space:normal}
.cz-register-actions .cz-primary{flex:1}.cz-register-actions button{font-size:13px}
.cz-presence .cz-search-wrap{width:100%}
.cz-presence table{display:block;min-width:0}.cz-presence thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cz-presence tbody{display:grid;gap:0}.cz-presence tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:9px;border-bottom:1px solid var(--cz-border);align-items:center}
.cz-presence tr:last-child{border-bottom:0}.cz-presence th,.cz-presence td{display:block;position:static!important;min-width:0!important;max-width:none!important;border:0;padding:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
.cz-presence tr>th:first-child{grid-column:1;grid-row:1}.cz-presence td:nth-child(2){grid-column:1;grid-row:2;color:var(--cz-muted);font-size:12px}
.cz-presence td:nth-child(3){grid-column:2;grid-row:1 / span 2}.cz-presence td:nth-child(4){grid-column:1 / -1;font-size:12px;color:var(--cz-muted)}
.cz .cz-presence-status{min-height:44px;font-size:12px;max-width:135px}
.cz-presence .cz-table{max-height:none}
.cz-subnav button{font-size:12px;padding:6px 8px}
.cz-dialog{padding:12px}
}
@media screen {
.cz nav button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:10px 18px;min-height:48px;color:var(--cz-muted);font-weight:500;font-size:14px}
.cz nav button[aria-current=page]{color:var(--cz-navy);border-bottom-color:var(--cz-orange);font-weight:650}
.cz nav button:hover:not(:disabled){background:#F1F5F8}
.cz-indicators>div:not(:has(svg)) span{padding-right:0}
.cz-tv .cz-kpis strong{font-size:44px}.cz-tv .cz-kpis>div{padding:20px}
}
@media screen and (max-width:600px){.cz nav button{min-height:52px;padding:6px 1px;font-size:10px}.cz-tv .cz-kpis strong{font-size:32px}}
@media screen and (max-width:600px){
.cz-scope{display:grid;grid-template-columns:minmax(0,1fr) auto 44px 44px;align-items:center;gap:6px}
.cz-scope h1{grid-column:1;grid-row:1;font-size:20px;overflow-wrap:anywhere}
.cz-scope .cz-save{grid-column:2;grid-row:1;margin:0}
.cz-scope [data-action=refresh]{grid-column:3;grid-row:1}
.cz-scope [data-action=logout]{grid-column:4;grid-row:1}
.cz-scope input[type=date]{grid-column:1 / 3;grid-row:2;width:100%}
.cz-scope #shift{grid-column:3 / 5;grid-row:2;width:100%}
}

/* Plant: individual vector stations, grouped by physical conveyor. */
.cz-plant-wrap {overflow-x:auto; padding:8px 0; background:#f2f5f8; border:1px solid #d9e3ec;border-radius:6px}
.cz-plant-grid {display:grid;grid-template-columns:repeat(4,minmax(204px,1fr));gap:12px;padding:8px;min-width:850px;max-width:1560px;margin:auto}
.cz-plant-grid[data-single=true]{grid-template-columns:minmax(280px,430px);min-width:0;justify-content:center}
.cz-plant-wrap.enlarged .cz-plant-grid{min-width:1450px}.cz-plant-wrap.enlarged .cz-plant-grid[data-single=true]{min-width:560px}
.cz-plant-line h2{font-size:15px;text-align:center;margin:0 0 6px;color:#103252}
.cz-plant-line svg{width:100%;height:auto;display:block}
.cz-plant-boundary{fill:white;stroke:#d1dbe4;stroke-width:1}
.cz-plant-belt{fill:#92a9bd;stroke:#526e87;stroke-width:1}
.cz-plant-rack{fill:#e9eef2;stroke:#afbecb;stroke-width:1}
.cz-plant-label{font-size:10px;fill:#445b70}
.cz-plant-post{cursor:pointer;outline:none}.cz-plant-post rect{stroke-width:1;stroke:#c3d0da;fill:#f4f6f8}
.cz-plant-post text{font-family:Inter,Arial,sans-serif;font-size:11px;fill:#17344d;font-weight:650;pointer-events:none}
.cz-plant-post .cz-plant-sub{font-size:10px;font-weight:400}.cz-plant-post .cz-plant-symbol{font-weight:800}
.cz-plant-post.filled rect,.cz-plant-legend .filled{fill:#def4e6;background:#def4e6;stroke:#4d9d6d;color:#145e39}
.cz-plant-post.vacant rect,.cz-plant-legend .vacant{fill:#fff1ce;background:#fff1ce;stroke:#d4a238;color:#805b10}
.cz-plant-post.critical rect,.cz-plant-legend .critical{fill:#f9dede;background:#f9dede;stroke:#c76565;color:#8d2222}
.cz-plant-post.provisional rect{stroke-dasharray:3 2;fill:#f2f4f6}
.cz-plant-post.inactive rect{fill:#e5e9ed;stroke:#b7c2ca}
.cz-plant-post:focus rect,.cz-plant-post:hover rect{stroke:#145580;stroke-width:3}
.cz-plant-legend,.cz-plant-support{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.cz-plant-legend span,.cz-plant-support span{padding:6px 9px;border-radius:4px;background:#e9edf1;color:#344b5f;font-size:13px}
.cz-plant-support span{flex:1;text-align:center;border:1px solid #d9e3ec;background:white}
.cz-plan-notice{background:#fff1d3;border:1px solid #eec568;padding:10px;margin:8px 0;font-size:14px;color:#634200}
@media(max-width:600px){.cz-plant-grid{grid-template-columns:repeat(4,minmax(270px,1fr));min-width:1120px;gap:8px;scroll-snap-type:x mandatory}.cz-plant-line{scroll-snap-align:start}.cz-plant-grid[data-single=true]{min-width:0;grid-template-columns:minmax(270px,1fr)}}
.cz-plant-post.unknown rect{stroke-dasharray:4 2;fill:#fff;stroke:#bd8b39}.cz-plant-legend .unknown{background:#fff6df;color:#795316;border:1px dashed #bd8b39}

/* Leituras sequenciais: um único visor, três etapas, sem menus concorrentes. */
.cz-dialog.cz-guided{width:min(390px,calc(100% - 24px));padding:16px;max-height:calc(100dvh - 20px);overflow:auto;border-radius:10px}
.cz-guided .cz-dialog-top{margin-bottom:12px}.cz-guided .cz-dialog-top h2{font-size:17px;color:#103252}
.cz-guided-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:0 0 10px;border-bottom:1px solid #d9e3eb}
.cz-guided-steps span{display:flex;align-items:center;gap:5px;color:#65788b;font-size:11px;white-space:nowrap;font-weight:600}
.cz-guided-steps b{display:grid;place-items:center;border-radius:50%;width:19px;height:19px;background:#e7edf2;font-size:11px}
.cz-guided-steps .current{color:#103252}.cz-guided-steps .current b{background:#f68e03;color:#103252}.cz-guided-steps .done b{background:#d9eee3;color:#216442}
.cz-guided-summary{display:grid;gap:6px;margin-top:10px}.cz-guided-summary:empty{display:none}.cz-guided-summary>div{display:grid;gap:2px;border-left:3px solid #f68e03;padding:6px 9px;background:#f3f6f8;border-radius:4px}
.cz-guided-summary small,.cz-guided-transfer small{color:#627487;font-size:12px}.cz-guided-summary strong{font-size:15px;color:#103252;overflow-wrap:anywhere}.cz-guided-summary span{font-size:12px;color:#52677b}
.cz-guided #guided-instruction{text-align:center;font-size:20px;margin:13px 0;color:#103252;line-height:1.25}
.cz-guided-camera{width:100%;position:relative;aspect-ratio:1.45;max-height:235px;background:#172b3b;border-radius:8px;overflow:hidden}.cz-guided-camera[hidden]{display:none}.cz-guided-camera video{width:100%;height:100%;object-fit:cover}
.cz-guided-reticle{position:absolute;inset:14% 23%;border:2px solid #f68e03;border-radius:8px;pointer-events:none}
.cz-guided #scan-status{text-align:center;margin:8px 0;min-height:0;font-size:13px}.cz-guided #scan-status:empty{display:none}.cz-guided #scan-status.cz-guided-alert{color:#8b3619;background:#fff3e4;padding:8px;border-radius:5px}
.cz-guided #guided-actions{display:grid;gap:8px;margin-top:10px}.cz-guided #guided-actions>button{width:100%;min-height:44px}
.cz-guided .cz-guided-link{background:transparent;border:0;color:#145580;font-weight:600}.cz-guided-manual label{font-size:13px;margin:0 0 6px!important}.cz-guided-manual>div{display:flex;gap:6px}.cz-guided-manual input{flex:1;min-width:0;font-size:16px}.cz-guided-manual button{min-width:96px}
.cz-guided-transfer{display:grid;gap:4px;padding:10px;background:#fff1d4;border-radius:5px}.cz-guided-transfer strong{font-size:14px;overflow-wrap:anywhere}
.cz-guided-success{display:flex;align-items:center;justify-content:center;gap:6px;color:#17643a;background:#e4f5eb;padding:12px;border-radius:6px;font-size:13px}
.cz-full{width:100%;margin:8px 0}
@media(max-width:600px){.cz-dialog.cz-guided{width:calc(100% - 16px);padding:14px;max-width:390px}.cz-guided-camera{max-height:min(215px,30dvh)}.cz-guided #guided-instruction{font-size:19px}.cz-guided-steps span{font-size:10px}}
.cz-dialog.cz-guided{overflow-x:hidden}.cz-guided #guided-actions{grid-template-columns:minmax(0,1fr);min-width:0}.cz-guided-manual,.cz-guided-manual>div{min-width:0;width:100%}.cz-guided-manual input{width:0;flex:1 1 0}.cz-guided-manual button{flex:0 0 auto;width:auto;max-width:110px}

/* V429: ação primária acima dos indicadores, sem chamada manual. */
@media screen{
:root{--cz-bg:#EFF3F7}
.cz-register-hero{display:flex;align-items:center;gap:18px;background:#103252;color:#fff;border-radius:8px;padding:22px;margin:0 0 14px}
.cz-hero-icon{display:grid;place-items:center;width:54px;height:54px;border:1px solid #64809a;border-radius:9px;flex:none}
.cz-hero-icon svg{width:30px;height:30px;color:#F68E03}
.cz-hero-copy{flex:1;min-width:0}
.cz .cz-hero-copy h2{font-size:22px;color:#fff;margin:0 0 6px}
.cz-hero-copy p{margin:0;color:#e4edf4;font-size:14px}
.cz-hero-actions{display:grid;gap:4px;min-width:190px}
.cz .cz-hero-actions .cz-primary{background:#F68E03;border-color:#F68E03;color:#103252;min-height:46px;font-weight:700}
.cz .cz-hero-actions .cz-primary:hover:not(:disabled){background:#ffab3b}
.cz .cz-hero-actions button:not(.cz-primary){background:transparent;border-color:transparent;color:#e4edf4;min-height:36px}
.cz .cz-hero-actions button:not(.cz-primary):hover{background:#254660}
.cz-register-kpis>div{padding:10px 13px!important}
.cz-register-kpis strong{font-size:27px!important;margin-top:2px!important}
.cz-recent{background:white;border:1px solid #D8E2E9;border-radius:6px;padding:14px;margin-bottom:12px}
.cz-recent-list article{display:grid;grid-template-columns:65px minmax(0,1.4fr) minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-top:1px solid #e3e9ed}
.cz-recent-list article>div{display:grid;gap:3px;overflow-wrap:anywhere}
.cz-recent-list small{color:#536979;font-size:13px}.cz-recent-list time{font-variant-numeric:tabular-nums;color:#536979}
.cz-guided-results{display:grid;gap:5px;max-height:210px;overflow:auto}
.cz-guided-results button{display:grid;justify-content:start;text-align:left;gap:2px;min-height:46px}
.cz-guided-results small{color:#536979;font-size:12px}
.cz-guided #guided-search{width:100%;font-size:16px}
@media(max-width:600px){
.cz-register-hero{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;padding:14px}
.cz-hero-icon{width:42px;height:42px}.cz-hero-icon svg{width:24px;height:24px}
.cz .cz-hero-copy h2{font-size:18px}.cz-hero-copy p{font-size:13px}
.cz-hero-actions{grid-column:1/-1;min-width:0}
.cz-register-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.cz-recent-list article{grid-template-columns:48px minmax(0,1fr) auto;gap:6px}
.cz-recent-list article>div:nth-of-type(2){grid-column:2}.cz-recent-list article>button{grid-column:3;grid-row:1/3}
}
}
.cz-attention-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cz-attention-list>div{min-width:0;padding:10px;background:#f5f7f9;border-radius:5px}.cz-attention-list p{font-size:13px;overflow-wrap:anywhere;margin:6px 0}
@media(max-width:600px){.cz-attention-list{grid-template-columns:1fr}}

/* V430 — mapa operacional: mesma planta e ações, apresentação compacta. */
@media screen{
.cz-map-command .cz-map-kpis{gap:8px;margin:0 0 8px}
.cz-map-command .cz-map-kpis>div{padding:8px 12px;min-height:57px;display:flex;flex-direction:column;justify-content:center}
.cz-map-command .cz-map-kpis span{font-size:12px;padding-right:0}
.cz-map-command .cz-map-kpis strong{font-size:22px;line-height:1.1;margin-top:3px}
.cz-map-command .cz-map-kpis>div:first-child strong{font-size:clamp(15px,2vw,22px)}
.cz-map-controls,.cz-map-actions,.cz-line-tabs,.cz-map-secondary{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cz-map-controls{margin:0 0 6px;gap:8px}
.cz-map-controls .cz-search-wrap{flex:1;min-width:180px;max-width:360px}
.cz-line-tabs{gap:2px;border:1px solid #d8e2e9;border-radius:6px;background:#fff;padding:2px;flex-wrap:nowrap}
.cz .cz-line-tabs button{border:0;padding:5px 11px;min-height:34px;background:transparent}
.cz .cz-line-tabs button[aria-pressed=true]{background:#103252;color:#fff}
.cz-map-actions{margin-left:auto;flex-wrap:nowrap}
.cz .cz-map-actions button{min-height:38px}
.cz .cz-map-icon{width:38px;min-width:38px;padding:0;justify-content:center}
.cz .cz-attention-toggle{color:#795316;background:#fff5df;border-color:#e6cb91;display:flex;gap:5px;align-items:center}
.cz-attention-toggle b{background:#f4e2b9;padding:2px 6px;border-radius:4px;font-variant-numeric:tabular-nums}
.cz-map-secondary{justify-content:flex-end;background:white;border:1px solid #d8e2e9;border-radius:6px;padding:6px;margin-bottom:6px}
.cz-map-command .cz-plan-notice{padding:6px 9px;font-size:13px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.cz-map-command .cz-plant-legend{margin:4px 0 8px;gap:10px;align-items:center}
.cz-map-command .cz-plant-legend span{padding:2px 0;background:transparent;border:0;color:#435b6f;display:flex;gap:5px;align-items:center;font-size:12px}
.cz-map-command .cz-plant-legend i{width:10px;height:10px;border-radius:2px;border:1px solid}
.cz-map-command .cz-plant-legend .filled i{background:#def4e6;border-color:#4d9d6d}
.cz-map-command .cz-plant-legend .critical i{background:#f9dede;border-color:#c76565}
.cz-map-command .cz-plant-legend .unknown i{background:#fff1ce;border-color:#bc9139}
.cz-map-command .cz-plant-legend .inactive i{background:#e5e9ed;border-color:#a8b5c1}
.cz-map-command .cz-plant-legend small{font-size:11px;color:#617586}
.cz-map-attention{border:1px solid #d8e2e9;border-radius:6px;background:white;padding:6px 12px;margin:8px 0;max-height:275px;overflow:auto}
.cz-map-attention details+details{border-top:1px solid #e6edf2}
.cz-map-attention summary{padding:9px 0;font-size:13px;font-weight:650;cursor:pointer}
.cz-map-attention summary b{float:right;font-variant-numeric:tabular-nums}
.cz-map-issues{display:grid;gap:4px;padding:0 0 6px}
.cz .cz-map-issues button{display:grid;justify-content:start;text-align:left;gap:2px;min-height:44px;background:#f8fafb}
.cz-map-issues small{font-weight:400;color:#52677b;overflow-wrap:anywhere}
.cz-plant-wrap{padding:4px 0;background:#eaf0f5}
.cz-plant-grid{gap:8px;padding:6px}
.cz-line-head{display:grid;grid-template-columns:1fr auto;gap:3px 6px;align-items:center;padding:3px 4px 6px}
.cz .cz-line-head button{min-height:29px;min-width:0;justify-content:flex-start;border:0;background:transparent;padding:0;font-weight:700;font-size:14px}
.cz-line-head span{font-size:12px;font-weight:650;color:#52677b;font-variant-numeric:tabular-nums}
.cz-line-head progress{grid-column:1/-1;width:100%;height:4px;accent-color:#21805b}
.cz-line-head small{grid-column:1/-1;font-size:11px;color:#8a6218}
.cz-plant-post.unknown rect{fill:#fff3d9;stroke:#c5a052;stroke-dasharray:2 2}
.cz-plant-post.critical rect{fill:#fce4e2;stroke:#d18a84}
.cz-plant-post.filled rect{fill:#e0f3e7;stroke:#75ab88}
.cz-plant-post.inactive rect{fill:#e8edf1;stroke:#b6c2cd}
.cz-plant-post .cz-plant-operator{font-size:8px;font-weight:500;fill:#486176}
.cz-plant-grid[data-single=true]{grid-template-columns:minmax(280px,510px);min-width:0}
.cz-plant-post.cz-highlight rect,.cz-plant-post:focus rect{stroke:#F68E03;stroke-width:3;stroke-dasharray:none}
.cz button.cz-map-card.cz-highlight{outline:3px solid #F68E03;outline-offset:1px}
.cz button.cz-map-card.critical{border-left-color:#c76565}.cz button.cz-map-card.unknown{border-left-color:#c5a052}.cz button.cz-map-card.inactive{border-left-color:#b6c2cd}
.cz-dialog.cz-post-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(430px,100%);max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;overflow:auto;padding:18px;background:#fff;border:0;border-left:1px solid #d8e2e9}
.cz-post-detail{display:grid;gap:6px;padding:12px;background:#f3f6f8;border-radius:6px;font-size:14px;overflow-wrap:anywhere}
.cz-post-status{justify-self:start;font-size:12px;font-weight:700;padding:4px 8px;border-radius:4px}
.cz-post-status.filled{background:#def4e6;color:#145e39}.cz-post-status.critical{background:#f9dede;color:#8d2222}.cz-post-status.unknown{background:#fff1ce;color:#795316}.cz-post-status.inactive{background:#e5e9ed;color:#52677b}
.cz-post-warning{font-size:12px;color:#795316;margin:0}
.cz-post-drawer .cz-edit{margin-top:12px;grid-template-columns:1fr auto;align-items:end}
.cz-post-drawer .cz-edit input[type=hidden]{display:none}
.cz-post-drawer .cz-toolbar strong,.cz-post-drawer .cz-toolbar small{overflow-wrap:anywhere;max-width:100%}
@media(max-width:600px){
.cz-map-command .cz-map-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:6px}
.cz-map-command .cz-map-kpis>div{min-height:49px;padding:6px 9px}
.cz-map-command .cz-map-kpis strong{font-size:19px}
.cz-map-controls{gap:5px}
.cz-line-tabs{width:100%;justify-content:space-between}
.cz .cz-line-tabs button{flex:1;min-height:40px;padding:4px 5px}
.cz-map-controls .cz-search-wrap{flex:1 1 100%;max-width:none}
.cz-map-actions{width:100%;margin:0;gap:4px}
.cz .cz-attention-toggle{flex:1;padding-inline:7px;justify-content:flex-start;font-size:12px;white-space:nowrap}
.cz .cz-map-icon{min-width:36px;width:36px}
.cz-map-command .cz-plant-legend{gap:8px}.cz-map-command .cz-plant-legend small{display:none}
.cz-plant-grid[data-single=true]{grid-template-columns:minmax(0,1fr);min-width:0}
.cz-plant-grid:not([data-single=true]){grid-template-columns:repeat(4,minmax(230px,1fr));min-width:960px}
.cz-plant-wrap.enlarged .cz-plant-grid[data-single=true]{min-width:520px}
.cz-dialog.cz-post-drawer{inset:auto 0 0;width:100%;height:auto;max-height:84dvh;border-radius:12px 12px 0 0;border:1px solid #d8e2e9;padding:14px}
}
}
@media screen and (max-width:600px){
.cz-map-command .cz-map-kpis>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;min-height:46px;padding:6px 8px}
.cz-map-command .cz-map-kpis span{font-size:11px;line-height:1.2}
.cz-map-command .cz-map-kpis strong{font-size:18px;margin:0;text-align:right}
.cz-map-command .cz-map-kpis>div>svg{display:none}
.cz-map-command .cz-map-kpis>div:first-child strong{font-size:16px}
}

/* V431 — três áreas de cadastro, reaproveitando os diálogos e formulários existentes. */
@media screen{
.cz-registry-tabs{gap:5px;margin-bottom:9px}
.cz-registry-tabs button{min-height:39px}
.cz-registry{min-width:0}
.cz-registry-toolbar{position:relative;display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.cz-registry-toolbar .cz-search-wrap{flex:1;min-width:180px;max-width:420px}
.cz-registry-toolbar .cz-map-icon{margin-left:auto}
.cz-registry-menu{position:absolute;right:0;top:calc(100% + 4px);display:grid;gap:3px;z-index:12;border:1px solid #d8e2e9;background:#fff;border-radius:6px;padding:5px;min-width:210px}
.cz .cz-registry-menu button{justify-content:flex-start;white-space:normal;text-align:left;border:0;font-weight:500}
.cz-registry-filters{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.cz-registry-filters small{margin-left:auto;color:#536979}
.cz .cz-registry-filters select{min-height:34px;font-size:13px;max-width:240px}
.cz-people-list{background:#fff;border:1px solid #d8e2e9;border-radius:6px;overflow:hidden}
.cz-people-head,.cz .cz-person-row{display:grid;grid-template-columns:minmax(200px,1.7fr) minmax(100px,.8fr) minmax(60px,.45fr) minmax(90px,.7fr) 24px;gap:10px;align-items:center;text-align:left;width:100%}
.cz-people-head{padding:8px 12px;background:#eff3f7;color:#486176;font-size:12px;font-weight:600}
.cz .cz-person-row{border:0;border-top:1px solid #edf1f4;border-radius:0;padding:8px 12px;background:white;min-height:50px;font-size:14px;font-weight:500}
.cz .cz-person-row>div{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.cz-person-row strong{font-size:14px;font-weight:650}
.cz-person-row small,.cz-person-link small{display:block;font-size:12px;color:#65788b;font-weight:400}
.cz-person-row .cz-skill-count{justify-self:start;min-width:28px;text-align:center;border-radius:4px;background:#e8eff4;padding:3px 5px;font-weight:650}
.cz-person-open{justify-self:end;font-size:21px;color:#65788b}
.cz-registry .cz-table{max-height:none;overflow-x:auto;overflow-y:visible}
.cz-registry .cz-table td,.cz-registry .cz-table th{padding:7px 9px;font-size:13px}
.cz .cz-person-link{border:0;background:transparent;text-align:left;display:block;padding:3px 0;min-height:36px;font-weight:650;white-space:normal;overflow-wrap:anywhere}
.cz-registry-matrix .cz-table th:first-child{min-width:185px;position:sticky;left:0;z-index:2;background:#fff}
.cz-registry-matrix .cz-table thead th:first-child{background:#eff3f7;z-index:3}
.cz-registry-matrix td{text-align:center}
.cz-registry-matrix input[type=checkbox],.cz-person-skill input[type=checkbox]{width:17px;height:17px;accent-color:#145580;min-width:17px;flex:none}
.cz-structure-scope{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:#fff;border:1px solid #d8e2e9;padding:9px 12px;border-radius:6px;margin-bottom:10px}
.cz-structure-scope>div{display:grid;gap:2px;padding:0 10px}
.cz-structure-scope strong{font-size:19px;color:#103252}
.cz-structure-scope small{font-size:11px;color:#536979}
.cz-registry-section{background:#fff;border:1px solid #d8e2e9;border-radius:6px;padding:12px;margin-bottom:10px}
.cz-registry-section h2{margin:0 0 8px;font-size:16px}
.cz-registry-section .cz-panel-heading{margin-bottom:7px}
.cz-registry-section .cz-panel-heading h2{margin:0 auto 0 0}
.cz-registry-section summary,.cz-registry-history summary{cursor:pointer;font-weight:650;padding:5px 0}
.cz-registry-section summary small{color:#64788b;font-weight:400;float:right}
.cz-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cz-admin-grid p{font-size:13px;color:#536979;margin:5px 0 10px}
.cz-person-drawer .cz-edit,.cz-person-drawer .cz-person-readonly{display:grid;grid-template-columns:1fr;gap:10px;min-width:0;border:none;padding:0;margin:0}
.cz-person-drawer .cz-edit>button{width:100%;min-height:44px}
.cz-person-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cz-person-fields label{display:grid;gap:4px;font-size:12px;font-weight:600;min-width:0;margin:0}
.cz-person-fields input,.cz-person-fields select{width:100%;min-width:0}
.cz-person-fields label:first-child{grid-column:1/-1}
.cz-person-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.cz-person-drawer label.cz-person-skill{display:flex;align-items:center;gap:6px;background:#f5f7f9;padding:7px;border-radius:4px;min-height:40px;min-width:0;font-size:12px;overflow-wrap:anywhere}
.cz-person-skill small{display:block;color:#906523;font-size:10px}
.cz-person-drawer h2{margin:7px 0 0;font-size:15px}
.cz-person-drawer h2 small{font-weight:500;color:#607589}
.cz-registry-history{border-top:1px solid #d8e2e9;margin-top:12px;padding-top:8px}
@media(max-width:600px){
.cz-registry-tabs{display:grid;grid-template-columns:.75fr 1.45fr 1.05fr;gap:4px}
.cz-registry-tabs button{padding:6px 4px;font-size:12px;min-height:42px;white-space:normal}
.cz-registry-toolbar{gap:5px}
.cz-registry-toolbar .cz-line-tabs{flex:1 1 100%;width:100%}
.cz-registry-toolbar .cz-search-wrap{min-width:100px;flex:1 1 120px}
.cz-registry-toolbar .cz-map-icon{margin-left:0;flex:none}
.cz-registry-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.cz-registry-filters select{width:100%;max-width:none;min-width:0}
.cz-registry-filters small{grid-column:1/-1;margin-left:0}
.cz-people-head,.cz .cz-person-row{grid-template-columns:minmax(0,1.5fr) minmax(48px,.55fr) 27px 35px 12px;gap:5px;padding:8px}
.cz-people-head{font-size:10px}.cz-people-head span:nth-child(4){font-size:9px;overflow-wrap:anywhere}
.cz .cz-person-row{font-size:12px;min-height:56px}.cz-person-row strong{font-size:12px}.cz-person-row small{font-size:11px}
.cz-person-row .cz-skill-count{min-width:23px;font-size:11px}.cz-person-open{font-size:16px}
.cz-structure-scope{gap:5px;padding:8px}
.cz-structure-scope input{flex:1;min-width:100px}
.cz-structure-scope>div{flex:1;padding:3px 2px}
.cz-structure-scope strong{font-size:16px}
.cz-admin-grid{grid-template-columns:1fr}
.cz-registry-section{padding:8px}
.cz-person-drawer .cz-person-fields input,.cz-person-drawer .cz-person-fields select{font-size:16px}
.cz-person-drawer .cz-person-fields{gap:7px}
}
}
.cz-hab-short{display:none}
@media screen and (max-width:600px){.cz-hab-full{display:none}.cz-hab-short{display:inline}.cz-people-head span:nth-child(4){font-size:10px;white-space:nowrap}}

/* V432 — mapa existente, controles compactos e filtros sem remover postos. */
@media screen {
.cz-occupation-scope{gap:6px;margin-bottom:6px;padding-block:4px}
.cz-map-command .cz-map-kpi{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:48px;padding:6px 10px;background:#fff;border:1px solid #d8e2e9;border-radius:5px;text-align:left;min-width:0}
.cz-map-command .cz-map-kpi[aria-pressed=true]{border-color:#145580;background:#eaf3f8;box-shadow:inset 0 -2px #145580}
.cz-map-command .cz-map-kpi strong{font-size:21px;margin:0}
.cz-map-command .cz-map-kpi span{font-size:12px;white-space:normal;text-align:left}
.cz-plant-wrap{overflow:visible}
.cz-plant-grid:not([data-single=true]){grid-template-columns:repeat(4,minmax(0,1fr));min-width:0;max-width:100%}
.cz-plant-line{min-width:0}
.cz-plant-grid[data-single=true]{grid-template-columns:minmax(0,420px);min-width:0}
.cz-muted-post{opacity:.30}
.cz-map-command .cz-cad-pending{display:inline-flex;min-height:30px;padding:3px 8px;margin:0 5px 3px 0;font-size:12px;background:#fff;border-color:#d8e2e9}
.cz-map-command .cz-plant-legend{margin:3px 0 5px}
.cz-post-drawer details{margin:8px 0;padding:8px 0;border-bottom:1px solid #e6edf2}
.cz-post-drawer details summary{cursor:pointer;font-weight:600}
}
@media screen and (max-width:700px){
.cz-plant-grid:not([data-single=true]){grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.cz-map-command .cz-map-kpi{min-height:44px;flex-direction:row;align-items:center;justify-content:space-between}
.cz-map-command .cz-map-kpi strong{font-size:18px}
.cz-map-controls .cz-map-actions{width:auto;margin-left:auto}
}
@media screen and (max-width:420px){.cz-plant-grid:not([data-single=true]){grid-template-columns:minmax(0,1fr)}}
@media screen and (max-width:600px){
.cz-map-command .cz-map-kpi{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:5px 8px}
.cz-map-command .cz-map-kpi span{font-size:11px;overflow-wrap:anywhere;max-width:100%}
.cz-map-command .cz-map-kpi strong{font-size:18px}
}

/* V434: compact, non-modal information card; no map dimming. */
.cz-dialog.cz-float-card{position:fixed;inset:auto 16px 16px auto;margin:0;width:min(340px,calc(100% - 32px));max-height:65dvh;overflow:auto;padding:14px 16px;background:#fff;border:1px solid #cbd7e1;border-radius:10px;box-shadow:0 5px 22px #10325222;z-index:100}
.cz-float-card .cz-dialog-top{margin:0 0 6px;padding:0;border:0;gap:8px}
.cz-float-card .cz-dialog-top h2{font-size:18px;line-height:1.2;margin:0}
.cz-float-card .cz-dialog-top button{min-width:32px;min-height:32px;padding:4px;border:0}
.cz-float-info{display:grid;gap:8px;font-size:14px;color:#52677b;overflow-wrap:anywhere}
.cz-float-info strong{color:#103252;font-weight:650}
.cz-float-info>div:not(.cz-float-occupancy){display:grid;gap:3px}
.cz-float-occupancy{display:flex;align-items:center;gap:8px}
.cz-float-card #dialog-error:empty{display:none}
.cz-plant-post.unknown rect{fill:#e2e7eb;stroke:#a4b1bd;stroke-dasharray:none}
.cz-plant-post.inactive rect{fill:#fafbfd;stroke:#dce3e9}
.cz-plant-post.filled rect{fill:#e0f3e7;stroke:#75ab88}
.cz-plant-post.critical rect{fill:#fce4e2;stroke:#d18a84}
.cz-map-command .cz-plant-legend .unknown i,.cz-post-status.unknown{background:#e2e7eb;border-color:#a4b1bd;color:#435b6f}
.cz-map-command .cz-plant-legend .inactive i{background:#fafbfd;border-color:#dce3e9}
.cz button.cz-map-card.unknown{border-left-color:#a4b1bd}
.cz-map-model{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0}
.cz-map-model label{display:flex;gap:6px;align-items:center;font-size:13px}
.cz-map-model select{max-width:145px;min-height:32px}
@media(max-width:600px){.cz-dialog.cz-float-card{inset:auto 8px 8px;width:calc(100% - 16px);max-height:55dvh}}

/* V435 — only export formats, in a compact anchored menu. */
.cz-map-export{position:relative;flex-shrink:0}
.cz-map-export>button{display:flex;align-items:center;gap:8px;padding:6px 12px;font-size:14px}
.cz-map-export-menu{position:absolute;top:calc(100% + 5px);right:0;min-width:122px;padding:4px;background:#fff;border:1px solid #d8e2e9;border-radius:6px;box-shadow:0 5px 16px #10325216;z-index:15;display:grid;gap:2px}
.cz .cz-map-export-menu button{justify-content:flex-start;min-height:36px;border:0;padding:6px 12px;background:transparent}
.cz .cz-map-export-menu button:hover,.cz .cz-map-export-menu button:focus-visible{background:#eef3f7}
@media print{
 body.print-report .cz-map-pdf{color:#103252;font-family:Arial,sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .cz-map-pdf header{display:flex;gap:12px;align-items:center;margin-bottom:3mm}
 .cz-map-pdf header img{width:32mm;height:auto;background:#103252;padding:2mm}
 .cz-map-pdf h1{font-size:16pt;margin:0}.cz-map-pdf p{font-size:10pt;margin:2mm 0 0}
 .cz-map-pdf .cz-plant-legend{margin:0 0 2mm;gap:3mm}
 .cz-map-pdf .cz-plant-legend span{font-size:9pt;padding:1mm 2mm}
 .cz-map-pdf .cz-plant-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-width:0;max-width:none;gap:2mm;padding:0}
 .cz-map-pdf .cz-plant-grid[data-single=true]{grid-template-columns:minmax(0,1fr)}
 .cz-map-pdf .cz-plant-line{min-width:0;break-inside:avoid;display:flex;flex-direction:column;align-items:center}
 .cz-map-pdf .cz-line-head{width:100%;font-size:9pt}
 .cz-map-pdf .cz-line-head button{font:inherit;background:none;border:none}
 .cz-map-pdf .cz-plant-line svg{height:145mm;width:auto;max-width:100%;display:block}
 .cz-map-pdf .cz-muted-post{opacity:1}
}
.cz-map-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px}
.cz-map-context .cz-map-model{margin:0}
.cz-map-context .cz-plant-legend{margin:2px 0}
@media(max-width:600px){.cz-map-context{gap:3px}.cz-map-context .cz-plant-legend{font-size:12px}.cz-map-export-menu{min-width:112px}}

/* Occupation: compact controls and an unobstructed physical map. */
.cz-map-command .cz-map-controls{margin:0 0 4px;gap:10px}.cz-map-command .cz-plant-legend{margin:0;flex:1;justify-content:center}.cz-map-command .cz-map-actions{margin-left:auto}.cz-plant-wrap{padding:0;background:transparent;border:0;border-radius:0}.cz-plant-grid{padding:0;max-width:none;gap:8px}.cz-plant-boundary{stroke:transparent}.cz-line-head{display:block;padding:2px 4px}.cz-line-head button{width:100%}
@media(max-width:700px){.cz-map-command .cz-map-controls{gap:5px}.cz-map-command .cz-plant-legend{order:3;flex-basis:100%;justify-content:flex-start}.cz-map-command .cz-map-actions{margin-left:auto}}

.cz-line-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.cz .cz-line-head button{width:auto}.cz-line-head span{font-size:12px;white-space:nowrap;color:#52677b;font-weight:500}

/* V439 — physical occupation, no dashboard chrome. */
@media screen {
.cz-occupation .cz header{height:46px;min-height:46px;padding-inline:16px}
.cz-occupation .cz-brand img{width:100px}
.cz-occupation .cz-brand span{font-size:16px}
.cz-occupation .cz nav{padding-inline:16px}
.cz-occupation .cz nav button{min-height:36px;padding:5px 12px}
.cz-occupation .cz-main{max-width:none;padding:8px 14px 12px}
.cz-occupation .cz-map-controls{gap:6px;margin-bottom:4px}
.cz-occupation .cz-map-controls button{min-height:32px;padding:4px 9px}
.cz-occupation .cz-map-icon{padding:4px!important;min-width:32px}
.cz-occupation .cz-plant-wrap{overflow:visible;background:none}
.cz-occupation .cz-plant-grid{gap:10px;min-width:0}
.cz-occupation .cz-plant-line{background:transparent;border:0;box-shadow:none;padding:0}
.cz-occupation .cz-line-head{display:grid;gap:3px;padding:2px 3px 4px;border:0;background:none}
.cz-occupation .cz-line-row{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0}
.cz-occupation .cz-line-row strong{font-size:15px;color:#103252}
.cz-occupation .cz-line-row b{font-size:21px;line-height:1;color:#103252}
.cz-occupation .cz-line-row span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cz-occupation .cz-line-secondary span:last-child{text-align:right}
.cz-occupation .cz-line-head progress{height:3px;width:100%;display:block;appearance:none;border:0;background:#dce5eb;border-radius:2px;overflow:hidden}
.cz-occupation .cz-line-head progress::-webkit-progress-bar{background:#dce5eb}
.cz-occupation .cz-line-head progress::-webkit-progress-value{background:#609b78}
.cz-occupation .cz-line-head progress::-moz-progress-bar{background:#609b78}
.cz-occupation .cz-plant-line svg{width:100%;height:auto;display:block}
@media(min-width:701px){.cz-occupation .cz-plant-grid:not([data-single=true]) .cz-plant-line svg{height:min( calc(100dvh - 160px), 900px);min-height:460px;width:100%}.cz-occupation .cz-plant-grid[data-single=true]{grid-template-columns:minmax(0,520px)}.cz-occupation .cz-plant-grid[data-single=true] .cz-plant-line svg{height:min(calc(100dvh - 150px),1000px);min-height:560px}}
@media(max-width:700px){.cz-occupation .cz nav button{padding:5px 4px;font-size:11px;gap:3px}.cz-occupation .cz-main{padding:6px 8px}.cz-occupation .cz-map-controls{gap:4px}.cz-occupation .cz-plant-grid:not([data-single=true]){grid-template-columns:minmax(0,1fr)}}
}
.cz-plant-belt{fill:#b9c7d2;stroke:none}
.cz-plant-post text{font-size:10px;font-weight:650}
.cz-plant-post .cz-plant-operator{font-size:9px;font-weight:500;fill:#38536a}
.cz-plant-post.unknown rect{fill:#eaf0f3;stroke:#c6d1d9}
.cz-plant-post.filled rect{fill:#e2f2e7;stroke:#9ec7ac}
.cz-plant-post.critical rect{fill:#fae6e4;stroke:#dfaea8}
.cz-plant-post.unknown .cz-post-dot{fill:#a4b1bd}
.cz-plant-post.filled .cz-post-dot{fill:#498b64}
.cz-plant-post.critical .cz-post-dot{fill:#bf645e}
@media print{.cz-map-pdf .cz-line-head{display:grid;grid-template-columns:minmax(0,1fr);gap:2px}.cz-map-pdf .cz-line-row{display:flex;justify-content:space-between;gap:3px}.cz-map-pdf .cz-line-head progress{width:100%;height:2mm}.cz-map-pdf .cz-line-secondary{font-size:8pt}}
.cz-plant-post text{font-size:11px}.cz-plant-post .cz-plant-operator{font-size:9px}
.cz-occupation .cz .cz-line-head .cz-leader-name{min-height:20px;padding:1px 3px;border:0;background:transparent;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%;display:block}
@media print{.cz-map-pdf .cz-leader-name{font:inherit;background:transparent;border:0;padding:0}}
.cz-post-count{font-size:.86rem;color:#607080;margin:8px 0}.cz-kit-lines{display:flex;flex-wrap:wrap;gap:14px}.cz-kit-lines label,.cz-kit-posts label{display:flex;align-items:center;gap:8px}.cz-kit-posts{display:grid;gap:4px;max-height:220px;overflow:auto}.cz-kit-labels{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2mm}.cz-kit-labels .cz-label{width:100%;max-width:100mm;height:65mm;box-sizing:border-box;border:1px dashed #aaa}.cz-install-map{width:100%;max-height:740px;display:block;background:#fff}.cz-kit-page{break-before:page;padding:8px 0}.cz-kit-page h2{margin:0 0 6px}.cz-kit-page .cz-install-map{height:175mm;width:auto;max-width:100%;margin:auto}.cz-dialog progress{width:100%}.cz-kit-page table{width:100%;font-size:11px}@page kit{size:A4 portrait;margin:8mm}@media print{body.print-report #print-labels:has(.cz-kit-labels),body.print-report #print-labels:has(.cz-kit-page){page:kit;width:194mm!important}.cz-kit-labels{display:grid!important;grid-template-columns:repeat(2,94mm);gap:2mm}.cz-kit-labels .cz-label{width:94mm!important;height:65mm!important;break-inside:avoid;page-break-inside:avoid;page-break-after:auto!important}.cz-kit-page{break-before:page}.cz-kit-page:first-child{break-before:auto}.cz-kit-page .cz-install-map{height:245mm;width:auto;max-width:100%;margin:auto}.cz-kit-page h3{break-before:page}.cz-kit-page tr{break-inside:avoid}}
@media print{body.cz-printing .cz-kit-labels .cz-label{width:94mm!important;max-width:94mm!important;height:65mm!important;break-after:auto!important;page-break-after:auto!important;break-inside:avoid}.cz-kit-page .cz-table{overflow:visible;max-height:none}.cz-kit-page thead{display:table-header-group}}

/* V441 — local presentation correction. The physical coordinates and station IDs are unchanged. */
@media screen {
 .cz-occupation .cz-plant-grid:not([data-single=true]){gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}
 .cz-occupation .cz-plant-line{min-width:0;padding:0 8px 4px;border:1px solid #dce5ec;border-radius:7px;background:#fff;box-shadow:none}
 .cz-occupation .cz-line-head{grid-template-columns:minmax(0,1fr);padding:9px 1px 5px;gap:5px;border-bottom:1px solid #e4ebf0}
 .cz-occupation .cz-line-row{gap:6px;min-height:24px}
 .cz-occupation .cz-line-row strong{font-size:19px;color:#103252}
 .cz-occupation .cz-line-row b{font-size:24px;color:#103252}
 .cz-occupation .cz-line-row span{overflow:visible;text-overflow:clip;white-space:normal;line-height:1.15;font-size:12px}
 .cz-occupation .cz-line-row .cz-line-waiting{color:#52677b;font-weight:600;text-align:right;font-size:12px}
 .cz-occupation .cz-line-secondary{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:5px;min-height:20px;align-items:center}
 .cz-occupation .cz .cz-line-head .cz-leader-name{max-width:none;min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;line-height:1.15;text-align:right;color:#145580;font-weight:650;padding:0}
 .cz-occupation .cz-line-head progress:indeterminate{appearance:none;background:#e5ecf1}
 .cz-occupation .cz-line-head progress:indeterminate::-webkit-progress-bar{background:#e5ecf1}
 .cz-occupation .cz-line-head progress:indeterminate::-moz-progress-bar{background:#e5ecf1}
 .cz-occupation .cz-plant-line svg{display:block;width:100%;margin:2px auto 0}
 .cz-occupation .cz-plant-post text{font-size:14px;fill:#103252}
 .cz-occupation .cz-plant-post .cz-plant-operator{font-size:9.5px}
 .cz-occupation .cz-plant-belt{fill:#cbd9e3}
 @media(min-width:901px){
  .cz-occupation .cz-plant-grid:not([data-single=true]) .cz-plant-line svg{height:calc(100dvh - 235px);min-height:0;max-height:none}
  .cz-occupation .cz-plant-grid[data-single=true]{grid-template-columns:minmax(0,550px)}
  .cz-occupation .cz-plant-grid[data-single=true] .cz-plant-line svg{height:calc(100dvh - 235px);min-height:0;max-height:none}
 }
 @media(max-width:900px){
  .cz-occupation .cz-plant-grid:not([data-single=true]){grid-template-columns:repeat(2,minmax(0,1fr))}
  .cz-occupation .cz-plant-line svg{height:auto!important;min-height:0!important}
 }
 @media(max-width:600px){.cz-occupation .cz-plant-grid:not([data-single=true]){grid-template-columns:minmax(0,1fr)}}
}

/* V442 — restored map geometry, neutral state before collection, industrial display. */
.cz-plant-post .cz-state-symbol{font-size:13px;font-weight:850;fill:#596b79}
.cz-plant-post.filled .cz-state-symbol{fill:#23653e}
.cz-plant-post.critical .cz-state-symbol{fill:#a32522}
.cz-plant-post.critical rect{fill:#f9dede;stroke:#b43c36;stroke-width:2}
.cz-plant-post.filled rect{fill:#def4e6;stroke:#4d9d6d}
.cz-plant-post.unknown rect{fill:#e8edf1;stroke:#a4b1bd}
.cz-map-command .cz-plant-legend i{width:15px;height:15px;display:inline-grid;place-items:center;font-style:normal;font-size:12px;font-weight:800;line-height:1}
.cz-map-command .cz-plant-legend .unknown i{background:#e8edf1;border-color:#a4b1bd}
@media screen{
.cz-occupation .cz-plant-grid{gap:4px}
.cz-occupation .cz-plant-line{border:0;border-right:1px solid #d8e2e9;border-radius:0;background:transparent;padding:0 5px}
.cz-occupation .cz-plant-line:last-child{border-right:0}
.cz-occupation .cz-line-head{background:white;border:0;padding:4px 6px;gap:3px}
.cz-occupation .cz-line-row strong{font-size:18px}
.cz-occupation .cz-line-row b{font-size:22px}
.cz-occupation .cz-line-secondary{grid-template-columns:auto auto minmax(0,1fr);font-size:12px}
.cz-occupation .cz-line-row .cz-line-waiting{font-size:11px}
.cz-occupation .cz-line-head progress{height:3px}
.cz-occupation .cz-plant-post text{font-size:13px;letter-spacing:0}
.cz-occupation .cz-plant-post .cz-state-symbol{font-size:12px}
.cz-occupation .cz-plant-post .cz-plant-operator{font-size:10px}
.cz-occupation .cz-plant-belt{fill:#b0c1cf;stroke:#7891a6;stroke-width:.7}
.cz-occupation .cz-plant-line svg{background:white}
@media(min-width:901px){
.cz-occupation .cz-plant-grid:not([data-single=true]) .cz-plant-line svg{height:calc(100dvh - 212px);min-height:0;max-height:none}
.cz-occupation .cz-plant-grid[data-single=true]{grid-template-columns:minmax(0,410px)}
.cz-occupation .cz-plant-grid[data-single=true] .cz-plant-line svg{height:auto;max-height:none;min-height:0}
.cz-occupation.cz-tv .cz nav,.cz-occupation.cz-tv .cz header,.cz-occupation.cz-tv .cz-map-export,.cz-occupation.cz-tv .cz-line-tabs{display:none}
.cz-occupation.cz-tv .cz-main{padding:4px 8px}
.cz-occupation.cz-tv .cz-plant-grid:not([data-single=true]) .cz-plant-line svg{height:calc(100dvh - 124px)}
.cz-occupation.cz-tv .cz-line-row b{font-size:28px}
.cz-occupation.cz-tv .cz-line-row strong{font-size:22px}
}
@media(max-width:900px){.cz-occupation .cz-plant-line svg{max-width:360px}}
}

/* Occupation: wide stations, physical spacing retained; no dashboard cards. */
.cz-plant-post text{font-size:12px;font-weight:600;letter-spacing:-.15px}
.cz-plant-post .cz-state-symbol{font-size:10px;font-weight:800}
.cz-plant-post.critical rect{fill:#f9c5c2;stroke:#b32929;stroke-width:1.4}
.cz-plant-post.filled rect{fill:#dcefe4;stroke:#79a98a;stroke-width:1}
.cz-plant-post.unknown rect{fill:#edf1f4;stroke:#b5c2cb;stroke-width:1;stroke-dasharray:none}
.cz-belt-rollers{stroke:#91a5b5;stroke-width:.65;fill:none;opacity:.8}
.cz-plant-belt{fill:#c7d4de;stroke:#8099ad;stroke-width:.8}
.cz-plant-post:focus rect,.cz-plant-post:hover rect{stroke:#145580;stroke-width:2}
@media screen{
 .cz-occupation .cz header{height:44px;min-height:44px}
 .cz-occupation .cz nav button{min-height:34px}
 .cz-occupation .cz-main{padding:5px 10px 5px}
 .cz-occupation .cz-map-controls{gap:6px;margin-bottom:3px}
 .cz-occupation .cz-map-controls button{min-height:30px;padding:3px 10px}
 .cz-occupation .cz-plant-grid:not([data-single=true]){gap:5px;padding:0}
 .cz-occupation .cz-plant-line{padding:0 3px;min-width:0}
 .cz-occupation .cz-line-head{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;padding:3px 4px 5px;background:transparent}
 .cz-occupation .cz-line-row{min-height:20px}
 .cz-occupation .cz-line-row strong{font-size:19px}
 .cz-occupation .cz-line-row b{font-size:23px;font-weight:750;font-variant-numeric:tabular-nums}
 .cz-occupation .cz-line-head .cz-line-secondary{display:flex;justify-content:space-between;min-height:16px}
 .cz-occupation .cz-line-row span{font-size:12px;white-space:nowrap}
 .cz-occupation .cz-line-row .cz-line-alert{color:#a52525;font-weight:700}
 .cz-occupation .cz .cz-line-head .cz-leader-name{min-height:15px;text-align:left;font-size:11px;line-height:1.2;color:#53697a;font-weight:500}
 .cz-occupation .cz-plant-line svg{margin:0;max-width:none;background:transparent}
 .cz-occupation .cz-plant-post text{font-size:12px;font-weight:600;letter-spacing:-.15px}
 .cz-occupation .cz-plant-post .cz-state-symbol{font-size:10px;font-weight:800}
 .cz-occupation .cz-plant-belt{fill:#c7d4de;stroke:#8099ad;stroke-width:.8}
 @media(min-width:901px){
  .cz-occupation .cz-plant-grid:not([data-single=true]){grid-template-columns:repeat(4,minmax(0,1fr))}
  .cz-occupation .cz-plant-grid:not([data-single=true]) .cz-plant-line svg,
  .cz-occupation .cz-plant-grid[data-single=true] .cz-plant-line svg{height:calc(100dvh - 208px);min-height:0;max-height:none;width:100%}
  .cz-occupation .cz-plant-grid[data-single=true]{grid-template-columns:minmax(0, min(98%, calc((100dvh - 208px)*.72)))}
  .cz-occupation.cz-tv .cz-plant-grid:not([data-single=true]) .cz-plant-line svg{height:calc(100dvh - 125px)}
 }
 @media(max-width:900px){.cz-occupation .cz-plant-line svg{aspect-ratio:320/600;height:auto!important}}
}
@media print{
 .cz-map-pdf .cz-plant-line svg{width:100%;height:145mm}
}

/* Occupation only — industrial visual management. Geometry and state semantics retained. */
@media screen {
 .cz-occupation .cz{background:#F4F6F8}
 .cz-occupation .cz-main{padding:8px 10px 6px}
 .cz-occupation .cz-map-controls{margin-bottom:8px;gap:8px}
 .cz-occupation .cz-map-command .cz-plant-legend span{background:transparent;border:0;color:#475569;font-size:12px;padding:2px 3px;gap:5px}
 .cz-occupation .cz-map-command .cz-plant-legend i{width:16px;height:16px;border:0;border-radius:4px}
 .cz-occupation .cz-map-command .cz-plant-legend .filled i{background:#E3F2E9;color:#216344}
 .cz-occupation .cz-map-command .cz-plant-legend .critical i{background:#FCE5E5;color:#A62D2D}
 .cz-occupation .cz-map-command .cz-plant-legend .unknown i{background:#EDF1F5;color:#475569}
 .cz-occupation .cz-plant-grid:not([data-single=true]){gap:8px}
 .cz-occupation .cz-plant-line,.cz-occupation .cz-plant-line:last-child{background:#fff;border:0;border-radius:8px;padding:6px 5px 4px;min-width:0}
 .cz-occupation .cz-line-head{padding:1px 5px 6px;gap:4px;background:transparent}
 .cz-occupation .cz-line-row{min-height:24px}
 .cz-occupation .cz-line-row strong{font-size:20px;letter-spacing:-.035em;font-weight:750}
 .cz-occupation .cz-line-row b{font-size:24px;letter-spacing:-.04em}
 .cz-occupation .cz-line-row .cz-line-waiting{font-size:11px;font-weight:500;color:#64748b;white-space:normal}
 .cz-occupation .cz-line-head .cz-line-secondary{min-height:19px;flex-wrap:wrap;gap:3px 8px}
 .cz-occupation .cz-line-secondary span{font-size:12px;font-weight:550;color:#475569}
 .cz-occupation .cz-line-secondary .cz-line-alert{color:#A62D2D}
 .cz-occupation .cz .cz-line-head .cz-leader-name{min-height:0;padding:0;background:transparent;color:#145580;font-size:12px;font-weight:600;white-space:normal}
 .cz-occupation .cz .cz-line-head .cz-line-id{font:inherit;letter-spacing:inherit;color:inherit;padding:0;min-height:0;border:0;background:transparent}
 .cz-occupation .cz-line-head progress{height:3px;background:#EDF1F5}
 .cz-occupation .cz-line-head progress::-webkit-progress-bar{background:#EDF1F5}
 .cz-occupation .cz-line-head progress::-webkit-progress-value{background:#59946e}
 .cz-occupation .cz-line-head progress::-moz-progress-bar{background:#59946e}
 .cz-occupation .cz-line-head .cz-progress-waiting{visibility:hidden}
 .cz-occupation .cz-plant-post text{font-size:12.5px;font-weight:650;letter-spacing:0}
 .cz-occupation .cz-plant-post.unknown rect{fill:#EDF1F5;stroke:none}
 .cz-occupation .cz-plant-post.unknown text{fill:#475569}
 .cz-occupation .cz-plant-post.filled rect{fill:#E3F2E9;stroke:none}
 .cz-occupation .cz-plant-post.filled text{fill:#216344}
 .cz-occupation .cz-plant-post.critical rect{fill:#FCE5E5;stroke:none}
 .cz-occupation .cz-plant-post.critical text{fill:#A62D2D}
 .cz-occupation .cz-plant-post .cz-state-symbol{font-size:11px;font-weight:800}
 .cz-occupation .cz-plant-post:hover rect,.cz-occupation .cz-plant-post:focus-visible rect{stroke:#145580;stroke-width:2}
 .cz-occupation .cz-plant-post.cz-highlight rect{stroke:#F68E03;stroke-width:2}
 .cz-occupation .cz-plant-belt{fill:#D6DEE5;stroke:none}
 .cz-occupation .cz-belt-rollers{stroke:#AAB8C4;stroke-width:.75;opacity:.85}
 .cz-occupation .cz-belt-rails{stroke:#879BAB;stroke-width:1.2}
 @media(min-width:901px){
  .cz-occupation .cz-plant-grid:not([data-single=true]) .cz-plant-line svg,
  .cz-occupation .cz-plant-grid[data-single=true] .cz-plant-line svg{height:calc(100dvh - 181px);min-height:0;max-height:none}
  .cz-occupation.cz-tv .cz-plant-grid:not([data-single=true]) .cz-plant-line svg{height:calc(100dvh - 103px)}
 }
}
@media screen {
 .cz-occupation .cz .cz-line-tabs button[aria-pressed=true]{background:#FFF0DB;border-color:#F68E03;color:#103252}
 .cz-occupation .cz-line-head{min-height:65px;box-sizing:border-box}
 @media(min-width:901px){
  .cz-occupation .cz-plant-grid:not([data-single=true]) .cz-plant-line svg,
  .cz-occupation .cz-plant-grid[data-single=true] .cz-plant-line svg{height:calc(100dvh - 220px)}
  .cz-occupation.cz-tv .cz-plant-grid:not([data-single=true]) .cz-plant-line svg{height:calc(100dvh - 142px)}
 }
}
/* Fluxo pós-Gemba: ações grandes, campos nativos para o teclado móvel. */
.cz-fast-form{display:grid;gap:10px;width:100%;min-width:0}
.cz-fast-form label{font-size:15px;font-weight:600;color:#103252}
.cz-fast-form input{font-size:24px!important;min-height:54px;width:100%;box-sizing:border-box}
.cz-fast-form button{min-height:52px;font-size:17px}
.cz-fast-entry{display:grid!important;gap:12px}
.cz-fast-entry button{min-height:52px}
.cz-guided #guided-actions .cz-guided-success{font-size:16px;flex-wrap:wrap}

/* Ficha operacional: only the non-modal Occupation card; physical map untouched. */
.cz-dialog.cz-float-card{inset:0 18px 0 auto;margin:auto 0;width:min(420px,calc(100% - 36px));max-width:440px;height:fit-content;max-height:calc(100dvh - 36px);padding:0;overflow:auto;overscroll-behavior:contain;border:1px solid #cbd7e1;border-radius:9px;background:#fff;color:#103252;font-family:Inter,Arial,sans-serif;box-shadow:0 8px 26px #10325226}
.cz-float-card .cz-dialog-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 12px;padding:19px 20px 16px;margin:0;background:#103252;border-bottom:3px solid #F68E03;color:white}
.cz-float-card .cz-dialog-top h2{font-size:23px;font-weight:750;line-height:1.16;letter-spacing:-.5px;color:#fff;overflow-wrap:anywhere}
.cz .cz-float-card .cz-dialog-top button{width:32px;min-width:32px;min-height:32px;background:transparent;color:#fff;border:1px solid #ffffff35;border-radius:5px}
.cz .cz-float-card .cz-dialog-top button:hover{background:#ffffff18}
.cz-card-header-meta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#dbe7f0;font-size:13px;font-weight:500}
.cz-card-occupation{display:inline-flex;align-items:center;gap:6px;color:white;font-weight:650}
.cz-card-occupation i,.cz-card-metric i{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:#d49a38}
.cz-card-occupation i.filled,.cz-card-metric i.apt{background:#36966a}
.cz-card-occupation i.critical,.cz-card-metric i.unfit{background:#d94d4d}
.cz-card-body{display:grid;gap:18px;padding:20px}
.cz-card-body:empty{display:none}
.cz-card-person{display:grid;gap:18px;min-width:0}
.cz-card-person+.cz-card-person{padding-top:16px;border-top:1px solid #e1e8ee}
.cz-card-person-name{display:grid;gap:4px}
.cz-card-person-name strong{font-size:26px;font-weight:750;line-height:1.12;letter-spacing:-.65px;overflow-wrap:anywhere}
.cz-card-person-name span,.cz-card-secondary{color:#536b80;font-size:13px;font-weight:500}
.cz-card-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cz-card-metric{display:grid;align-content:start;gap:5px;padding:12px;background:#f0f4f7;border-radius:5px;min-width:0}
.cz-card-metric:only-child{grid-column:1/-1}
.cz-card-metric>span,.cz-card-metric>small{color:#536b80;font-size:12px;font-weight:600}
.cz-card-metric strong{font-size:19px;line-height:1.2;display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-weight:750;letter-spacing:-.4px}
.cz-card-metric strong small{font-size:12px;font-weight:600;letter-spacing:0}
.cz-card-skills h3,.cz-card-replacements h3{margin:0 0 9px;font-weight:700;font-size:15px;color:#103252;display:flex;align-items:baseline;justify-content:space-between}
.cz-card-skills h3 b{font-size:17px}
.cz-card-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.cz-card-skill-grid span{background:#edf1f5;border:1px solid #d7e0e8;color:#344f66;border-radius:4px;padding:9px 8px;text-align:center;font-size:13px;font-weight:650;line-height:1.25;overflow-wrap:anywhere;display:grid;place-items:center}
.cz-card-skill-grid span.match{background:#fff1df;border-color:#F68E03;color:#103252}
.cz-card-candidate{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:7px 0;font-size:14px}
.cz-card-candidate span{font-size:12px;color:#536b80;text-align:right}
@media(max-width:600px){.cz-dialog.cz-float-card{inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:65dvh;border-radius:12px 12px 0 0}.cz-float-card .cz-dialog-top{padding:14px 16px 12px}.cz-float-card .cz-dialog-top h2{font-size:21px}.cz-card-body{padding:16px;gap:14px}.cz-card-person{gap:14px}.cz-card-person-name strong{font-size:24px}}

/* Entry only: preserve the operational map and other screens. */
body.cz-entry-screen{margin:0;background:#f3f6f9}
.cz-entry-screen #main>header{background:#103252;border-bottom:3px solid #F68E03}
.cz-entry-screen #tabs:empty{display:none}
.cz-entry-screen .cz-main{min-height:calc(100dvh - 90px);display:flex;flex-direction:column;justify-content:center;max-width:540px;padding:24px 16px}
.cz-entry-screen .cz-login{width:100%;max-width:480px;margin:0 auto;padding:clamp(20px,5vw,36px);border:1px solid #d9e3ec;border-radius:12px;box-shadow:0 5px 20px #1032520d}
.cz-entry-screen .cz-login h1{color:#103252;font-size:clamp(25px,5vw,32px);letter-spacing:-.035em;margin:0 0 8px}
.cz-entry-screen .cz-entry-intro{color:#52677b;margin:0 0 24px;font-size:15px}
.cz-entry-screen .cz-login form{gap:20px}
.cz-entry-screen .cz-login fieldset{border:0;margin:0;padding:0;min-width:0}
.cz-entry-screen .cz-login legend{font-size:14px;font-weight:700;color:#103252;margin-bottom:9px;padding:0}
.cz-entry-lines,.cz-entry-turns{display:flex;gap:8px}
.cz-entry-screen .cz-entry-choice{position:relative;flex:1;min-width:0;display:block;cursor:pointer}
.cz-entry-screen .cz-entry-choice input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.cz-entry-choice span{display:grid;place-items:center;min-height:56px;border:1px solid #bdccd9;border-radius:7px;font-size:18px;font-weight:750;background:#fff;color:#103252}
.cz-entry-choice input:checked+span{background:#103252;border-color:#103252;color:#fff}
.cz-entry-choice input:focus-visible+span{outline:3px solid #F68E03;outline-offset:2px}
.cz-entry-screen .cz-login .cz-primary{background:#F68E03;color:#103252;border-color:#F68E03;width:100%;min-height:56px;font-size:16px;font-weight:800}
.cz-entry-screen .cz-login>button[data-action=logout]{margin-top:16px;width:100%;border:0;background:transparent;color:#52677b;font-size:14px}
.cz-entry-screen #message:not(:empty){margin-bottom:12px}
@media(max-width:380px){.cz-entry-screen .cz-entry-lines{gap:5px}.cz-entry-choice span{min-height:52px}}
