/* Compact operational lists, with details reserved for accessible modal dialogs. */
.page-heading h1{font-size:23px}.page-heading p{font-size:12px}
.daily-table{min-width:1050px;font-size:12px}.daily-table th{font-size:11px;padding:8px 10px}.daily-table td{padding:10px;line-height:1.35}
.daily-table td strong,.daily-table .work-identity>strong{font-size:13px;line-height:1.35}.daily-table td small{font-size:11px;margin-top:2px}
.daily-table .button{font-size:12px;padding:8px 10px;min-height:34px}.daily-table .row-mini{font-size:11px;padding:5px 8px;min-height:28px}
.daily-table .secondary-actions{gap:5px;margin-top:6px}.daily-table .stage-pill{font-size:10px;padding:3px 7px}.daily-table .priority-text{font-size:10px;margin-top:3px}
.key-reference-strip{gap:5px;margin-bottom:6px}.key-reference-strip span{padding:4px 5px}.key-reference-strip span b{font-size:11px}.key-reference-strip span small{font-size:9px!important}
.register-table{font-size:11px}.register-table th,.register-table td{padding:7px 8px}
.work-toolbar{gap:7px}.work-toolbar input,.work-toolbar select{font-size:12px;min-height:34px;padding:7px 9px}
.commercial-queues button,.view-toggle button,.material-queue{font-size:11px;padding:6px 9px}
.material-queue{background:#edf4ff;border:1px solid #b9cfea;color:#214d80;border-radius:8px;cursor:pointer}.material-queue.selected{background:#214d80;color:white}.material-queue b{margin-left:5px}
.planner-queue-slot{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
#work-detail-dialog,#allocation-dialog,#material-approval-dialog{border:0;border-radius:16px;padding:0;width:min(1100px,94vw);max-height:90dvh;overflow:auto;box-shadow:0 24px 80px #19334d40;color:#243d52}
#work-detail-dialog::backdrop,#allocation-dialog::backdrop,#material-approval-dialog::backdrop{background:#14283d88;backdrop-filter:blur(2px)}
#work-detail-dialog>.work-detail,#work-detail-dialog>.secondary-actions,#work-detail-dialog>.warehouse-status,#work-detail-dialog>.pending-box{margin:16px}
#work-detail-dialog .detail-caption{position:sticky;top:0;background:#fff;z-index:2;padding:10px 0;margin-top:0}
#allocation-dialog .allocation-editor{position:static;width:auto;min-width:0;margin:0;padding:22px;border:0;box-shadow:none;background:#fff}
#allocation-dialog .allocation-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#allocation-dialog .allocation-actions{grid-column:2/-1;justify-content:flex-end}
#material-approval-dialog .approval-body{padding:0 22px 22px}
@media(max-width:700px){#allocation-dialog .allocation-fields{grid-template-columns:1fr}#allocation-dialog .allocation-actions{grid-column:auto}.page-heading h1{font-size:21px}}
.row-action-menu{display:flex;gap:10px;flex-wrap:wrap;padding:22px}.row-action-menu .row-mini{font-size:14px;padding:12px 16px}
.daily-table .work-actions>.secondary-actions{display:flex;flex-wrap:nowrap}.daily-table .work-actions>.secondary-actions .row-mini{flex:1}
.register-table .cell-edit{font-size:11px;min-height:28px;padding:5px 4px}.register-table .cell-edit.empty{font-size:11px}.register-table .register-actions :is(.button,.row-mini,.row-link){font-size:11px;min-height:28px}
#work-detail-dialog>.detail-modal-header{position:sticky;top:0;z-index:5;border-radius:0;margin:0}.detail-modal-header h2{font-size:21px}
#work-detail-dialog>.commercial-summary,#work-detail-dialog>.proposal-card{margin:16px}

/* One global header; local modes and actions share a separate, stable toolbar. */
:root{--sjs-fixed-height:58px;--sjs-action-height:54px}
.compact-topbar{height:58px;min-height:58px;padding:0 16px;gap:12px;justify-content:flex-start;isolation:isolate}
.compact-topbar .brand{min-width:0;flex:0 0 96px;gap:0}.compact-topbar .brand img{height:34px;max-width:96px}.compact-topbar .brand-fallback{font-size:20px;white-space:nowrap}
.compact-topbar .module-nav{position:static;flex:1;min-width:0;min-height:0;top:auto;padding:0;gap:2px;border:0;box-shadow:none;overflow:visible;align-items:center}
.compact-topbar .module-nav>.nav-item{font-size:13px;padding:8px 7px;min-height:36px}.compact-topbar .nav-item span{width:18px;font-size:10px}
.compact-topbar .module-nav>.nav-item:is([data-module="suspensas"],[data-module="baixadas"]){display:none}
.compact-topbar .profile{margin-left:auto;padding:0;flex:0 0 36px}.compact-topbar .profile>span:not(.avatar){display:none}.compact-topbar .avatar{height:34px;width:34px}
.module-overflow{position:relative;flex:none;margin-left:auto}.module-overflow summary{list-style:none;cursor:pointer;border:1px solid #d6e3ea;border-radius:8px;padding:8px 10px;color:#35566d;font-size:12px;font-weight:700;white-space:nowrap}.module-overflow summary::after{content:' ▾';margin-left:3px}.module-overflow summary::-webkit-details-marker{display:none}
.module-overflow summary:focus-visible{outline:3px solid #28a8a0;outline-offset:2px}
.module-overflow-list{position:absolute;right:0;top:calc(100% + 8px);width:228px;max-height:75dvh;overflow-y:auto;background:#fff;border:1px solid #d5e3eb;border-radius:12px;padding:8px;box-shadow:0 14px 38px #173e5629;z-index:60}
.module-overflow-list .nav-item{display:none;width:100%;text-align:left;font-size:14px;min-height:40px;padding:10px 12px}.module-overflow-list .nav-item[hidden]{display:none!important}.module-overflow-list .overflow-always:not([hidden]){display:block}
.module-overflow:has(.overflow-always.active) summary{border-color:#087f82;color:#086e68;background:#eef9f7}
main{padding-top:0}
.page-heading{position:sticky;top:var(--sjs-fixed-height);z-index:20;min-height:54px;gap:12px;margin:0 0 4px;padding:7px 0;background:#edf4f8}
.page-heading>div:first-child:not(.planner-tools){margin-right:auto;min-width:0}.page-heading h1{font-size:21px;margin:0;letter-spacing:-.4px}.page-heading p{display:none}
.page-heading .planner-mode-controls{display:flex;flex:none;margin:0;padding:3px;gap:2px;background:#e0eaf0;border-radius:9px}
.planner-mode-controls button{min-height:34px;font-size:12px;padding:7px 10px;white-space:nowrap}.page-heading .planner-tools{gap:6px}.page-heading .planner-tools:empty{display:none}.page-heading .planner-tools .button{font-size:12px;min-height:36px;padding:7px 10px;gap:6px}.page-heading .tool-icon{width:17px;height:17px}
.planner-view-fixed{top:calc(var(--sjs-fixed-height) + var(--sjs-action-height));padding:5px 8px;margin-bottom:6px;min-height:38px;border-radius:8px}
.planner-queue-slot{gap:6px;flex-basis:auto}.planner-view-fixed .commercial-queues{justify-content:flex-start}.planner-view-fixed .commercial-queues button{min-height:30px;font-size:11px;padding:5px 9px}
.planner-view-fixed .material-queue{min-height:30px}
@media(max-width:1450px){.compact-topbar .module-nav>.nav-item[data-module="encerramento"]{display:none}.module-overflow-list .overflow-wide{display:block}}
@media(max-width:1100px){.compact-topbar .module-nav>.nav-item:is([data-module="inicio"],[data-module="almoxarifado"],[data-module="direcao"]){display:none}.module-overflow-list .overflow-medium{display:block}.planner-queue-slot{flex-basis:auto}.page-heading{flex-wrap:wrap}}
@media(max-width:800px){:root{--sjs-action-height:94px}.page-heading{position:static}.planner-view-fixed{position:static}.page-heading .planner-mode-controls{margin-left:auto}.page-heading .planner-tools{width:100%;justify-content:flex-end}.compact-topbar{padding:0 10px;gap:8px}.compact-topbar .module-nav>.nav-item{font-size:12px;padding:8px 5px}.compact-topbar .nav-item span{display:none}}
@media(max-width:760px){.compact-topbar .module-nav>.nav-item{display:none}.compact-topbar .module-nav>.nav-item.active{display:block}.module-overflow-list .overflow-small{display:block}.compact-topbar .module-nav>.nav-item.active:is([data-module="suspensas"],[data-module="baixadas"],[data-module="encerramento"],[data-module="inicio"],[data-module="almoxarifado"],[data-module="direcao"]){display:block}.module-overflow summary{font-size:0;padding:8px}.module-overflow summary::before{content:'Módulos';font-size:12px}.module-overflow summary::after{font-size:12px}.compact-topbar .brand{flex-basis:80px}.compact-topbar .brand img{max-width:80px;height:auto}.compact-topbar .profile{flex-basis:32px}.compact-topbar .avatar{width:30px;height:30px}.page-heading h1{font-size:19px}.page-heading .planner-mode-controls button{font-size:11px;padding:7px}.page-heading .planner-tools .button{flex:1;padding:7px 8px}.page-heading .planner-tools{gap:5px;flex-wrap:wrap}.planner-view-fixed .planner-queue-slot{gap:5px}.planner-view-fixed .commercial-queues{flex-wrap:wrap;justify-content:flex-start}.planner-mode-controls{max-width:100%}}

.page-heading:has(.planner-mode-controls)>div:first-child{margin-right:6px}.page-heading .planner-mode-controls{margin-right:auto}
@media(max-width:1450px){.module-overflow:has(.overflow-wide.active) summary{border-color:#087f82;color:#086e68;background:#eef9f7}}
@media(max-width:1100px){.module-overflow:has(.overflow-medium.active) summary{border-color:#087f82;color:#086e68;background:#eef9f7}}
@media(max-width:760px){.module-overflow:has(.overflow-small.active) summary{border-color:#087f82;color:#086e68;background:#eef9f7}.page-heading .planner-mode-controls{margin-right:0}}
@media(max-width:1000px){.page-heading,.planner-view-fixed{position:static}}
@media(max-width:500px){.work-toolbar select{flex:1 1 100px}.work-toolbar .button{flex:1 1 100px}}

/* Shared operational table: the same reading order in every department. */
.uniform-table{table-layout:fixed;width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;font-size:12px}
.uniform-table th.col-id{width:9%}.uniform-table th.col-work{width:20%}.uniform-table th.col-refs{width:9%}.uniform-table th.col-pending{width:20%}.uniform-table th.col-schedule{width:13%}.uniform-table th.col-value{width:10%}.uniform-table th.col-action{width:19%}
.uniform-table:not(:has(.col-value)) th.col-work{width:23%}.uniform-table:not(:has(.col-value)) th.col-pending{width:24%}.uniform-table:not(:has(.col-value)) th.col-action{width:22%}
.uniform-table thead th{background:#eaf1f7;color:#284a63;font-size:11px;font-weight:750;padding:11px 10px;border-bottom:1px solid #cfdee8;letter-spacing:0;text-transform:none;line-height:1.35}
.uniform-table tbody td{padding:13px 10px;vertical-align:middle;border-bottom:1px solid #e5edf3;background:#fff;overflow-wrap:anywhere}
.uniform-table tbody tr:nth-child(even)>td{background:#fafcfe}.uniform-table tbody tr:hover>td{background:#f0f8fa}.uniform-table .work-selected>td{background:#eaf8f5!important}
.uniform-table .uniform-id{position:relative;border-left:0!important;padding-left:10px}.uniform-table .uniform-id .work-selection{position:static;margin:0 0 7px;display:block}.uniform-table .uniform-id input{width:17px;height:17px}
.uniform-table td .uniform-identifiers>strong{font-size:14px;color:#153c56;line-height:1.15}.uniform-table td .uniform-identifiers>small{font-size:11px;color:#526d80;margin-top:5px}
.uniform-table .uniform-work>strong{font-size:13px;font-weight:750;color:#18394d}.uniform-table .uniform-work>small{font-size:11px;line-height:1.4;color:#536e82}
.uniform-address{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.uniform-priority{font-size:10px;display:block;margin-top:5px;color:#617889}
.uniform-table .uniform-refs>strong{font-size:12px}.uniform-table .uniform-refs small{font-size:10px;margin-top:3px}.uniform-table .uniform-pending>strong{font-size:12px;line-height:1.4;font-weight:650}.uniform-table .uniform-pending .text-button{font-size:10px;padding:0;margin-top:4px}
.uniform-table .stage-pill{padding:3px 7px;font-size:10px;line-height:1.3;margin-bottom:3px}.uniform-table .uniform-schedule>strong{font-size:12px}.uniform-table .uniform-schedule small{font-size:10px;line-height:1.5}
.uniform-table .work-actions>.primary{font-size:11px;line-height:1.3;min-height:35px;width:100%;padding:8px 9px;box-shadow:none;border-radius:7px}.uniform-table .work-actions>.row-mini{font-size:10px;margin-top:5px;width:100%;border-color:#d3e2ea;background:#f8fbfd}
.uniform-table .work-actions .secondary-actions{gap:4px;margin-top:6px}.uniform-table .work-actions .row-mini{font-size:10px;padding:5px 6px;min-height:27px;border-radius:6px}
.uniform-table .value-cell>strong{font-size:12px}.uniform-table .value-cell .row-mini{font-size:10px;min-height:25px;padding:4px 5px}.uniform-table .execution-alert{font-size:10px;line-height:1.35;padding:4px 6px;margin-top:5px}
.uniform-table .planner-approval-waiting>td{background:#fffcf3}.uniform-table .no-results td{padding:35px 20px;text-align:center;color:#62798a}
/* v60 compact rows */
.uniform-table tbody td{padding:10px 9px}.uniform-table td .uniform-identifiers>strong{font-size:13px}.uniform-table .uniform-work>strong{font-size:12px}.uniform-table .uniform-pending>strong,.uniform-table .uniform-schedule>strong{font-size:11.5px}.uniform-table .work-actions>.primary{min-height:32px;padding:6px 8px}.uniform-table .work-actions .secondary-actions{margin-top:4px}

/* v61 · compact operational list. All working modules share this exact row. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ops-table{min-width:1160px;background:#fff;font-size:11px}
.ops-table th.col-select{width:3%}.ops-table th.col-id{width:18%}.ops-table th.col-work{width:18%}.ops-table th.col-pending{width:19%}.ops-table th.col-schedule{width:12%}.ops-table th.col-progress{width:12%}.ops-table th.col-value{width:8%}.ops-table th.col-action{width:10%}
.ops-table:not(:has(.col-value)) th.col-id{width:21%}.ops-table:not(:has(.col-value)) th.col-work{width:20%}.ops-table:not(:has(.col-value)) th.col-pending{width:21%}.ops-table:not(:has(.col-value)) th.col-schedule{width:13%}.ops-table:not(:has(.col-value)) th.col-progress{width:12%}.ops-table:not(:has(.col-value)) th.col-action{width:10%}
.ops-table thead th{height:38px;box-sizing:border-box;background:#f1f5f7;color:#496370;padding:8px 8px;border-top:1px solid #dbe5e9;border-bottom:1px solid #cbd9df;font-size:10px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}
.ops-table tbody td{height:78px;box-sizing:border-box;padding:8px;vertical-align:middle;border-bottom:1px solid #e1e9ed;background:#fff}
.ops-table tbody tr:nth-child(even)>td{background:#fbfcfd}.ops-table tbody tr:hover>td{background:#f2f8f7}.ops-table .planner-approval-waiting>td{background:#fffbf0}
.ops-table .ops-select{padding-left:10px;padding-right:2px;border-left:4px solid var(--stage,#a5b8c1)}.ops-select .work-selection{position:static;display:grid;place-items:center;margin:0}.ops-select .work-selection span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ops-select input{width:17px;height:17px;margin:0}
.ops-references{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:4px 5px}.ops-references span{min-width:0;border-radius:5px;background:#f1f5f7;padding:3px 5px;line-height:1}.ops-references small{display:block!important;margin:0 0 3px!important;color:#7a8d96!important;font-size:7px!important;font-weight:850;letter-spacing:.04em}.ops-references b{display:block;overflow:hidden;color:#173e52;font-size:10px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.ops-work{min-width:0}.ops-classification{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin-bottom:4px}.ops-classification :is(.contract-flag,.activity-flag,.ss-flag){display:inline-flex;align-items:center;max-width:100%;min-height:17px;box-sizing:border-box;padding:2px 5px;border-radius:999px;font-size:7.5px;font-weight:850;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ops-work>strong{display:block;margin:2px 0!important;color:#183d51!important;font-size:11.5px!important;font-weight:800!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ops-work>small{font-size:9px!important;line-height:1.25!important}.ops-work .uniform-priority{margin-top:3px;font-size:8px;color:#6c8089}
.ops-status{position:relative}.ops-status:before{content:'';position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:3px;background:#d9a33b}.ops-status.status-clear:before{background:#259079}.ops-status.status-contract:before{background:#6676ba}.ops-status.status-followup:before{background:#4b8a7b}.ops-status .stage-pill{display:inline-flex;margin:0 0 3px;padding:2px 6px;font-size:8px;line-height:1.2}.ops-status>strong{display:block;margin:2px 0!important;color:#294b5b!important;font-size:10px!important;line-height:1.25!important}.ops-status>small{margin:2px 0 0!important;font-size:8.5px!important;line-height:1.2!important}.ops-more-pending{display:block;margin-top:3px!important;font-size:8px!important;text-decoration:none!important}
.ops-schedule>strong{display:block;margin:0 0 3px!important;color:#244b60!important;font-size:10px!important}.ops-schedule>small{margin:2px 0!important;font-size:8.5px!important;line-height:1.2!important}.ops-schedule .execution-alert{display:inline-flex;margin-top:3px;padding:3px 5px;font-size:8px;line-height:1.2}
.ops-progress{padding-left:4px!important;padding-right:4px!important}.ops-stage-icons{display:grid;grid-template-columns:repeat(var(--ops-stage-count,7),1fr);gap:1px;margin:0;padding:0;list-style:none}.ops-stage-icons li{position:relative;display:grid;place-items:center;min-width:0}.ops-stage-icons li:before{content:'';position:absolute;right:52%;top:9px;width:100%;height:2px;background:#dfe7ea}.ops-stage-icons li:first-child:before{display:none}.ops-stage-icons span{z-index:1;display:grid;place-items:center;width:18px;height:18px;box-sizing:border-box;border:1.5px solid #d2dee2;border-radius:50%;background:#fff;color:#91a2a9;font-size:8px;font-weight:900}.ops-stage-icons svg{width:10px;height:10px}.ops-stage-icons .done:before{background:#75aa9b}.ops-stage-icons .done span{border-color:#75aa9b;background:#e9f5f1;color:#367866}.ops-stage-icons .current:before{background:linear-gradient(90deg,#75aa9b 55%,#dfe7ea 55%)}.ops-stage-icons .current span{border-color:#0b8174;background:#0b8174;color:#fff;box-shadow:0 0 0 3px #0b81741c}.ops-stage-icons .skipped span{border-style:dashed;background:#f5f7f8;color:#a8b5ba}
.ops-value>strong{font-size:10px!important;line-height:1.25!important;color:#176e61!important}.ops-actions{padding-left:6px!important;padding-right:8px!important}.ops-primary-action{width:100%;min-height:31px!important;padding:6px 7px!important;border-radius:7px!important;font-size:9.5px!important;line-height:1.15!important;box-shadow:none!important}.ops-actions>.row-mini{width:100%;margin-top:3px;padding:4px 5px;font-size:8px}.ops-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:4px}.ops-icon-button{display:grid;place-items:center;width:100%;height:25px;border:1px solid #d3e0e5;border-radius:6px;background:#fff;color:#3d697a;cursor:pointer}.ops-icon-button:hover{border-color:#78aaa2;background:#edf7f5;color:#08776b}.ops-icon-button:focus-visible{outline:2px solid #0b8174;outline-offset:1px}.ops-icon-button svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ops-icon-button:last-child svg{fill:currentColor;stroke:none}
@media(min-width:1600px){.ops-table{min-width:0}.ops-table tbody td{height:74px}.ops-references b{font-size:10.5px}.ops-work>strong{font-size:12px!important}.ops-status>strong,.ops-schedule>strong{font-size:10.5px!important}}
@media(max-width:900px){.ops-table{min-width:1080px}.ops-table tbody td{height:76px}.ops-table th.col-progress{width:13%}}
