/* SJS v73 — padrão visual aprovado nas prévias de 24/10/2026. */
.compact-topbar{
  min-height:64px;height:64px;padding:0 22px;gap:10px;
  background:linear-gradient(90deg,#0b3d68 0%,#07588f 100%);
  border:0;box-shadow:0 4px 18px rgba(3,39,69,.18);color:#fff;
}
.compact-topbar .brand{flex-basis:122px}.compact-topbar .brand img{filter:brightness(0) invert(1);max-width:115px}
.compact-topbar .brand-fallback,.compact-topbar .module-nav>.nav-item,.compact-topbar .module-overflow summary,.compact-topbar .global-search-button,.compact-topbar .profile{color:#eef8ff}
.topbar.compact-topbar nav.module-nav{background:#0a4a79!important;border:0!important;box-shadow:none!important}
.compact-topbar .module-nav>.nav-item{border-radius:8px;background:transparent}
.compact-topbar .module-nav>.nav-item:hover{background:rgba(255,255,255,.12);color:#fff}
.compact-topbar .module-nav>.nav-item.active{background:#fff;color:#0b4f7c;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.compact-topbar .module-nav>.nav-item.active span{background:#0a67a4;color:#fff}
.compact-topbar .module-overflow summary,.compact-topbar .global-search-button{border-color:rgba(255,255,255,.32);background:rgba(255,255,255,.08)}
.compact-topbar .profile{background:transparent;border-color:transparent}

.unified-page{background:#f5f8fb;min-height:calc(100vh - 64px)}
.unified-heading{padding:18px 28px 12px}.unified-heading h1{color:#0e365c}.unified-heading .eyebrow{color:#0b70ad}
.unified-panel{margin:0 20px 24px;padding:0;border:1px solid #dce6ef;border-radius:14px;overflow:hidden;box-shadow:0 8px 28px rgba(22,62,90,.07)}
.unified-panel>.list-heading{padding:14px 18px 8px;margin:0;background:#fff}
.unified-toolbar{padding:0 18px 12px;margin:0;background:#fff;grid-template-columns:minmax(260px,1.8fr) repeat(3,minmax(132px,.7fr)) auto}
.unified-panel>.work-selection-toolbar{margin:0;padding:8px 18px;border-radius:0;border-width:1px 0 0;background:#f8fbfd}
.unified-scroll{max-height:calc(100vh - 285px);border:0;border-top:1px solid #dce6ef;border-radius:0;background:#fff}

.unified-table{width:100%;min-width:1120px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12.5px}
.unified-table col.col-os{width:7%}.unified-table col.col-contract{width:15%}.unified-table col.col-client{width:21%}.unified-table col.col-owners{width:17%}.unified-table col.col-stage{width:12%}.unified-table col.col-pending{width:18%}.unified-table col.col-actions{width:10%}
.unified-table thead th,.unified-table thead th:first-child,.unified-table thead th:nth-child(2),.unified-table thead th:last-child{
  width:auto!important;padding:11px 10px;background:#eaf2f8;color:#31536d;font-size:10.5px;line-height:1.2;
  text-transform:uppercase;letter-spacing:.045em;white-space:normal;word-break:normal;overflow-wrap:normal;
}
.unified-table tbody td,.unified-table tbody td:first-child,.unified-table tbody td:nth-child(2),.unified-table tbody td:last-child{
  width:auto!important;min-width:0!important;padding:12px 10px;vertical-align:middle;color:#24465f;line-height:1.35;word-break:normal;overflow-wrap:break-word;
}
.unified-table tbody tr:nth-child(even)>td{background:#f9fbfd}.unified-table tbody tr:hover>td{background:#edf6fc}
.unified-os{position:relative}.unified-os b{font-size:15px;color:#113f68}.unified-os small{font-size:10.5px;color:#6e7f8d}
.unified-row-selection{position:absolute;top:7px;right:5px}.unified-row-selection .work-selection{margin:0;padding:0;background:transparent;border:0}.unified-row-selection .work-selection span{display:none}.unified-row-selection input{width:15px;height:15px;margin:0}
.unified-contract,.unified-client,.unified-owners,.unified-stage,.unified-pending,.unified-actions{width:auto!important;min-width:0!important;max-width:none!important}
.unified-contract .contract-flag{font-size:10px;padding:3px 6px;margin-bottom:5px}.unified-contract>b{font-size:12.5px}.unified-contract small{font-size:10.5px}
.unified-client>b,.unified-client>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unified-client>b{font-size:13px;color:#123e61}.unified-client small{font-size:11px}
.unified-owners span{display:grid;grid-template-columns:56px minmax(0,1fr);gap:5px;align-items:baseline}.unified-owners small{font-size:10px}.unified-owners b{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.unified-stage .stage-pill{font-size:10.5px;padding:5px 7px}.unified-stage small{font-size:10.5px}
.unified-pending{border-left:3px solid #e2a12d!important}.unified-pending.kind-clear{border-left-color:#2a9d78!important}.unified-pending b{font-size:12px}.unified-pending small{font-size:10.5px}.unified-authorization{display:inline-flex;margin-top:6px;padding:3px 6px;border-radius:999px;background:#fff3d7;color:#835b05;font-size:9.5px;font-weight:800;line-height:1.2}
.unified-actions .button{min-height:30px;margin:2px 0;padding:5px 7px;border-radius:6px;font-size:10.5px;line-height:1.2}.unified-actions .primary{background:#0874bd;border-color:#0874bd}

#work-detail-dialog[data-kind="references"]{width:min(560px,calc(100vw - 32px));padding:0;border:0;border-radius:14px;box-shadow:0 24px 70px rgba(2,28,48,.34);overflow:hidden;background:#fff}
.unified-reference-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 22px 10px}.unified-reference-header h2{margin:0;color:#102d50;font:800 21px Manrope}.unified-reference-header p{margin:3px 0 0;color:#536a7e}.unified-modal-close{border:0;background:transparent;color:#1d3954;font-size:28px;line-height:1;cursor:pointer}
.unified-reference-readonly{float:right;margin:-1px 22px 12px;padding:7px 10px;border-radius:8px;background:#edf3f8;color:#536b80;font-size:11px;font-weight:700}
.unified-reference-list{clear:both;margin:0 22px;border:1px solid #dce6ef;border-radius:9px;overflow:hidden}
.unified-reference-row{display:grid;grid-template-columns:180px minmax(0,1fr) 34px;align-items:center;min-height:45px;border-bottom:1px solid #e3eaf0}.unified-reference-row:last-child{border-bottom:0}.unified-reference-row>span:first-child{align-self:stretch;display:flex;align-items:center;padding:0 14px;background:#f8fafc;color:#203d59;font-size:12px;font-weight:800}.unified-reference-row>b{padding:0 14px;color:#173758;font-size:12px;overflow-wrap:anywhere}.reference-copy{width:27px;height:27px;border:1px solid #d4e0e9;border-radius:6px;background:#fff;color:#315d7d;cursor:pointer}.reference-copy:hover{background:#edf6fc}
.unified-reference-note{margin:16px 22px;padding:13px;border-radius:9px;background:#f0f6fb;color:#49637b;font-size:11px}
.unified-reference-footer{display:flex;align-items:center;gap:9px;padding:0 22px 20px}.unified-reference-footer .button{min-height:38px}.unified-full-register{margin-left:auto;border:0;background:transparent;color:#0874bd;font-weight:800;cursor:pointer}

.journey-work-summary{margin:0 0 14px;padding:13px 15px;border-radius:10px;background:#eef5fb;color:#29445d}.journey-work-summary>b{display:block;color:#0c57a0;font-size:15px}.journey-work-summary>span{display:block;margin-top:3px;font-size:11.5px}.journey-work-summary>div{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;padding-top:9px;border-top:1px solid #d5e1ea;font-size:11px}.journey-work-summary>div>strong{width:100%;color:#253d53}
.journey-global-flow{display:grid;grid-template-columns:repeat(9,minmax(72px,1fr));gap:2px;list-style:none;margin:0 0 16px;padding:0}.journey-global-flow li{position:relative;min-width:0;text-align:center;color:#728091}.journey-global-flow li button{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:46px;padding:7px 10px 7px 13px;border:0;background:#e8edf2;color:#33495e;font:700 9px Manrope,sans-serif;cursor:pointer;clip-path:polygon(0 0,calc(100% - 13px) 0,100% 50%,calc(100% - 13px) 100%,0 100%,13px 50%);transition:filter .16s ease,transform .16s ease}.journey-global-flow li:first-child button{padding-left:7px;clip-path:polygon(0 0,calc(100% - 13px) 0,100% 50%,calc(100% - 13px) 100%,0 100%)}.journey-global-flow li button:hover,.journey-global-flow li button:focus-visible{filter:brightness(.96);transform:translateY(-1px);outline:3px solid rgba(9,106,184,.2);outline-offset:2px}.journey-global-flow li button span{display:grid;place-items:center;flex:0 0 15px;width:15px;height:15px;border:2px solid currentColor;border-radius:50%;font-size:8px}.journey-global-flow li button b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journey-global-flow li>small{display:block;margin-top:4px;font-size:9px;line-height:1.2}.journey-global-flow li.done button{background:#15985e;color:#fff}.journey-global-flow li.done{color:#14734b}.journey-global-flow li.current button{background:#0872c9;color:#fff;box-shadow:0 4px 12px rgba(8,114,201,.25)}.journey-global-flow li.current{color:#0862a7}.journey-global-flow li.current>small{font-weight:900}.journey-global-flow li.future button{color:#55697b}
.service-editor .editor-label{display:block;margin-bottom:7px;color:#24445f;font-size:12px;font-weight:800}.service-multi-select{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.service-multi-select label{position:relative;cursor:pointer}.service-multi-select input{position:absolute;opacity:0;pointer-events:none}.service-multi-select span{display:flex;align-items:center;justify-content:center;min-height:46px;padding:8px 10px;border:1px solid #ccdbe7;border-radius:9px;background:#fff;color:#34526b;font-size:12px;font-weight:750;text-align:center}.service-multi-select input:checked+span{border-color:#0872c9;background:#e8f4fd;color:#075d9d;box-shadow:inset 0 0 0 1px #0872c9}.service-multi-select input:focus-visible+span{outline:3px solid rgba(8,114,201,.2);outline-offset:2px}.timeline-stage-observations{display:grid;gap:4px;margin:8px 0;padding:8px;border-radius:7px;background:#f4f8fb;color:#405b70}.timeline-stage-observations>b{font-size:10px;text-transform:uppercase;letter-spacing:.04em}.timeline-stage-observations span{font-size:11px;line-height:1.35}
#work-action-dialog:has(.journey-global-flow){width:min(1100px,calc(100vw - 32px));max-width:min(1100px,calc(100vw - 32px));padding:22px}#work-action-dialog:has(.journey-global-flow) #action-context{display:none}#work-action-dialog:has(.journey-global-flow) #action-title{color:#102d50;margin:0 0 14px}

@media(max-width:1450px){
  .compact-topbar .module-nav>.nav-item:is([data-module="almoxarifado"],[data-module="liberacao"],[data-module="encerramento"]){display:none}
  .module-overflow-list .overflow-medium,.module-overflow-list .overflow-wide{display:block}
  .compact-topbar .global-search-button b{display:none}.compact-topbar .global-search-button{min-width:36px;padding:8px}
}
@media(max-width:1000px){
  .unified-heading{padding-inline:16px}.unified-panel{margin-inline:10px}.unified-toolbar{grid-template-columns:1fr 1fr}.unified-toolbar .search{grid-column:1/-1}.unified-scroll{max-height:none}
  .unified-table{min-width:1040px}.unified-reference-footer{flex-wrap:wrap}.unified-full-register{margin-left:0}
}
@media(max-width:720px){.journey-global-flow{display:flex;overflow-x:auto;gap:2px;padding-bottom:7px}.journey-global-flow li{flex:0 0 120px}.journey-work-summary>div{display:block}.journey-work-summary>div>span{display:block;margin-top:3px}.service-multi-select{grid-template-columns:1fr}}
