/* BECOSA U4 - Ingenieria de Detalle: complementos adaptados al design system actual */
.u4eng-page{padding:18px 20px 30px;max-width:1760px;margin:auto;width:100%}.u4eng{font-family:inherit;color:var(--text,#17243b)}
.u4eng *{box-sizing:border-box}.u4eng-top{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:flex-end;margin-bottom:15px}
.u4eng-kicker{font-size:10px;font-weight:800;letter-spacing:.15em;color:#147a88;text-transform:uppercase}
.u4eng h1{font-size:25px;margin:3px 0 4px;font-weight:800;letter-spacing:-.025em;color:inherit}.u4eng h2{font-size:15px;font-weight:800;margin:0;color:inherit}.u4eng h3{font-size:13px;margin:0;font-weight:750}
.u4eng-sub{font-size:12px;color:#78869b}.u4eng-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.u4eng-controls input,.u4eng-select,.u4eng-search{padding:9px 10px;border:1px solid #cbd7e5;border-radius:8px;color:#26364b;background:var(--bg,#fff);font:inherit;font-size:12px}
.u4eng button,.u4eng .u4eng-btn{font:inherit;font-size:12px;font-weight:700;cursor:pointer;border:1px solid #cbd7e5;background:#fff;color:#173854;padding:9px 12px;border-radius:8px;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.u4eng button:hover,.u4eng .u4eng-btn:hover{border-color:#398aa3;background:#edf7fb}.u4eng button.primary{background:#163a56;color:#fff;border-color:#163a56}.u4eng button.primary:hover{background:#215371}
.u4eng-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}.u4eng-kpi,.u4eng-card{background:var(--card,#fff);border:1px solid var(--border,#dfe8f2);border-radius:12px;box-shadow:0 2px 10px #0c285009}
.u4eng-kpi{padding:12px 14px;min-width:0;border-top:3px solid #217a93}.u4eng-kpi span{display:block;text-transform:uppercase;letter-spacing:.035em;font-size:10px;font-weight:800;color:#74859a}.u4eng-kpi strong{display:block;font-size:24px;font-weight:800;line-height:1.4;font-variant-numeric:tabular-nums}.u4eng-kpi small{display:block;font-size:10px;color:#8593a7}.u4eng-kpi.negative strong{color:#bb5261}.u4eng-kpi.positive strong{color:#21866e}
.u4eng-card{padding:14px 15px;margin-bottom:12px}.u4eng-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.u4eng-section-head small{color:#718198;font-size:11px}
.u4eng-progress-line{height:10px;border-radius:10px;background:#dce6f0;position:relative;overflow:hidden}.u4eng-progress-fill{height:100%;border-radius:10px;background:linear-gradient(90deg,#236c8a,#20a99a)}.u4eng-timeline-labels{display:flex;justify-content:space-between;font-size:10px;color:#7b899b;padding-top:7px}.u4eng-timeline-tags{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:11px;margin-bottom:8px}.u4eng-timeline-tags strong{color:#1e708d}
.u4eng-grid2{display:grid;grid-template-columns:1.45fr 1fr;gap:12px}.u4eng-curve svg{display:block;width:100%;height:auto;max-height:320px}.u4eng-curve .line-plan{stroke:#24658a;stroke-width:3;fill:none}.u4eng-curve .line-real{stroke:#1d9985;stroke-width:3;fill:none}.u4eng-curve text{font-family:inherit;fill:#8291a4;font-size:11px}.u4eng-curve .date-cut{stroke:#c6505e;stroke-width:2;stroke-dasharray:5 4}
.u4eng-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#687e93;align-items:center;margin-top:6px}.u4eng-key{width:14px;height:3px;display:inline-block;margin-right:4px;vertical-align:middle}.u4eng-key.plan{background:#24658a}.u4eng-key.real{background:#1d9985}
.u4eng-table-wrap{overflow-x:auto;max-width:100%}.u4eng table{width:100%;border-collapse:collapse;min-width:560px;font-size:11px}.u4eng th{font-size:10px;text-align:left;color:#688095;background:#f1f6fa;padding:9px 10px;white-space:nowrap}.u4eng td{border-top:1px solid #e4ebf2;padding:8px 10px;color:inherit;vertical-align:top}.u4eng td.num,.u4eng th.num{text-align:right;font-variant-numeric:tabular-nums}.u4eng .status{display:inline-block;border-radius:5px;padding:3px 6px;background:#e4f3f1;color:#166c69;font-weight:700;font-size:10px;white-space:nowrap}.u4eng .status.overdue{background:#ffe8e9;color:#ae3d52}.u4eng .status.pending,.u4eng .status.future{background:#edf2f7;color:#60728b}.u4eng .status.final{background:#dff4e9;color:#187b50}
.u4eng-filter{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.u4eng-filter .u4eng-search{flex:1;min-width:200px}.u4eng-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px;color:#6e8296;font-size:11px}.u4eng-note{font-size:11px;color:#66788c;margin:5px 0}.u4eng-feedback{color:#8a394c;background:#fff1f2;border:1px solid #f1c7d0;padding:11px;border-radius:9px;font-size:12px;margin-bottom:12px}.u4eng-feedback.good{color:#21634b;background:#e8f5ed;border-color:#c7e4d0}
.u4eng-sync{padding:10px 14px;background:#f0f6fb;border:1px solid #cde0ea;border-radius:9px}.u4eng-sync h3{margin:0 0 5px}.u4eng-sync code{font-size:11px}.u4eng-sync p{font-size:11px;color:#647990;line-height:1.55;margin:5px 0 8px}.u4eng-sync-details{font-size:11px;color:#34475d}.u4eng-sync-details li{margin-bottom:3px}.u4eng-check{display:flex;gap:6px;align-items:center;margin:8px 0;font-size:11px}.u4eng-hidden{display:none!important}
.u4eng-bar-compare{height:8px;min-width:70px;background:#e3ecf3;border-radius:5px;position:relative;overflow:hidden}.u4eng-bar-compare .planned{position:absolute;height:100%;background:#8aa9c4;left:0;top:0}.u4eng-bar-compare .real{position:absolute;height:100%;background:#1c9f86;left:0;top:0;opacity:.87}
.u4eng.dark,.dark .u4eng,[data-theme="dark"] .u4eng{color:#e7f2fa}.dark .u4eng-card,.dark .u4eng-kpi,[data-theme="dark"] .u4eng-card,[data-theme="dark"] .u4eng-kpi{background:#1c2939;border-color:#304254}.dark .u4eng th,[data-theme="dark"] .u4eng th{background:#24374c;color:#c4d5e5}.dark .u4eng td,[data-theme="dark"] .u4eng td{border-color:#304254}.dark .u4eng-controls input,.dark .u4eng-select,.dark .u4eng-search,[data-theme="dark"] .u4eng-select,[data-theme="dark"] .u4eng-search{background:#1a293b;color:#e6f0fb;border-color:#3a4f65}.dark .u4eng button,[data-theme="dark"] .u4eng button{background:#26394d;color:#f2f8fd;border-color:#40536b}.dark .u4eng-sync,[data-theme="dark"] .u4eng-sync{background:#26394d;border-color:#40536b}.dark .u4eng-sync p,[data-theme="dark"] .u4eng-sync p{color:#b4c8d8}
@media(max-width:1100px){.u4eng-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.u4eng-grid2{grid-template-columns:1fr}}
@media(max-width:620px){.u4eng-page{padding:12px}.u4eng-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.u4eng-kpi{padding:10px}.u4eng-kpi strong{font-size:21px}.u4eng h1{font-size:19px}.u4eng-card{padding:10px}.u4eng-controls input{max-width:160px}}

.u4eng-grid2 .u4eng-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}

.u4eng-quick-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:2px 0 10px}.u4eng .u4eng-quick-tabs button{border:1px solid #d4e0ea;border-radius:7px;background:#eef4f8;color:#3c5b75;font-size:11px;padding:8px 11px}.u4eng .u4eng-quick-tabs button.selected{background:#163a56;color:white;border-color:#163a56}

/* v1.9.9 — paleta real oscura/clara del Dashboard, accesibilidad y contraste. */
html[data-u4-theme="dark"] .u4eng{color:#e8f2fa!important;--card:#1d3044;--border:#334b60;--bg:#13263a}
html[data-u4-theme="dark"] .u4eng h1,html[data-u4-theme="dark"] .u4eng h2,html[data-u4-theme="dark"] .u4eng h3,html[data-u4-theme="dark"] .u4eng .u4eng-kpi strong,html[data-u4-theme="dark"] .u4eng .u4eng-top strong{color:#f0f7ff!important}
html[data-u4-theme="dark"] .u4eng-kicker{color:#79d1d2}
html[data-u4-theme="dark"] .u4eng-sub,html[data-u4-theme="dark"] .u4eng-note,html[data-u4-theme="dark"] .u4eng-kpi small,html[data-u4-theme="dark"] .u4eng-section-head small,html[data-u4-theme="dark"] .u4eng-legend,html[data-u4-theme="dark"] .u4eng-timeline-labels{color:#b4c9d9}
html[data-u4-theme="dark"] .u4eng-kpi span{color:#acc5d6}
html[data-u4-theme="dark"] .u4eng .u4eng-card,html[data-u4-theme="dark"] .u4eng .u4eng-kpi{background:#1d3044!important;border-color:#334b60!important;box-shadow:none!important}
html[data-u4-theme="dark"] .u4eng .u4eng-sync{background:#233a50!important;border-color:#456078!important}
html[data-u4-theme="dark"] .u4eng .u4eng-sync p,html[data-u4-theme="dark"] .u4eng .u4eng-sync-details{color:#d3e5f0!important}
html[data-u4-theme="dark"] .u4eng .u4eng-controls input,html[data-u4-theme="dark"] .u4eng .u4eng-select,html[data-u4-theme="dark"] .u4eng .u4eng-search{background:#13263a!important;color:#edf7ff!important;border-color:#496177!important}
html[data-u4-theme="dark"] .u4eng button,html[data-u4-theme="dark"] .u4eng .u4eng-btn{background:#28435a!important;color:#eaf8ff!important;border-color:#4f6980!important}
html[data-u4-theme="dark"] .u4eng button.primary{background:#147e79!important;border-color:#147e79!important;color:#fff!important}
html[data-u4-theme="dark"] .u4eng .u4eng-quick-tabs button{background:#21374a!important;color:#dcebf6!important;border-color:#425970!important}
html[data-u4-theme="dark"] .u4eng .u4eng-quick-tabs button.selected{background:#196c70!important;color:#fff!important}
html[data-u4-theme="dark"] .u4eng th{background:#30485c!important;color:#e1eef8!important}
html[data-u4-theme="dark"] .u4eng td{border-top-color:#355069!important}
html[data-u4-theme="dark"] .u4eng-timeline-tags strong{color:#7fdbd5!important}
html[data-u4-theme="dark"] .u4eng-curve .date-cut{stroke:#fc9a9e}
html[data-u4-theme="dark"] .u4eng-feedback{color:#ffe0e4!important;background:#4a2e40!important;border-color:#905c6f!important}
html[data-u4-theme="dark"] .u4eng-feedback.good{color:#dafce7!important;background:#183f36!important;border-color:#28795e!important}
.v199-engineering-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 14px;margin-bottom:10px;border-radius:9px;border:1px solid var(--u4-line,#cbdae2);font-size:11px;font-weight:800;letter-spacing:.035em}
.v199-engineering-head a{color:#13847d!important;font-size:12px;font-weight:750;text-decoration:none}
html[data-u4-theme="dark"] .v199-engineering-head{border-color:#385469;background:#1c3044;color:#dce9f5}
html[data-u4-theme="dark"] .v199-engineering-head a{color:#79d5cf!important}
.v199-engineering-mount{min-width:0}.v199-engineering-mount .u4eng{width:100%;max-width:none}.v199-engineering-mount .u4eng-top{margin-top:8px}
@media(max-width:850px){.v199-engineering-head{align-items:flex-start}.v199-engineering-mount .u4eng-grid2{grid-template-columns:minmax(0,1fr)}}


/* v1.9.10 — Ingeniería DCI: desplazamiento, cronograma y tablas legibles, sin tocar Presupuesto. */
@media (min-width:1001px) and (min-height:660px){
  body.u4-engineering-view .workspace > main.u4eng-page{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;flex:none!important}
}
html body.u4-engineering-view{height:auto!important;min-height:100vh!important;overflow-y:auto!important;overscroll-behavior-y:auto!important}
body.u4-engineering-view .frame{height:auto!important;min-height:100vh!important;overflow:visible!important;align-items:stretch!important}
body.u4-engineering-view .workspace{height:auto!important;max-height:none!important;min-height:100vh!important;overflow:visible!important;min-width:0!important}
body.u4-engineering-view .u4eng-page{width:100%;max-width:1900px;overflow:visible!important}
body.u4-engineering-view #u4engDocumentExplorer{scroll-margin-top:65px}
.u4eng .u4eng-timeline{padding:16px 18px 13px}
.u4eng .u4eng-period-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.85fr) minmax(0,1fr);align-items:center;gap:14px;padding:12px 14px;margin:10px 0 15px;border-radius:10px;background:color-mix(in srgb,var(--u4-surface,#f0f5f7) 65%,transparent);border:1px solid var(--u4-line,#cfdae4)}
.u4eng .u4eng-period-head>div{min-width:0;display:flex;flex-direction:column;gap:3px}
.u4eng .u4eng-period-head span{font-size:9px;letter-spacing:.08em;font-weight:800;color:var(--u4-muted,#697f93)}
.u4eng .u4eng-period-head strong{font-size:15px;line-height:1.35;font-variant-numeric:tabular-nums;font-weight:800;color:var(--u4-ink,#17374b)}
.u4eng .u4eng-period-now{text-align:center;align-items:center;border-left:1px solid var(--u4-line,#cedae5);border-right:1px solid var(--u4-line,#cedae5);padding:0 10px}
.u4eng .u4eng-period-now strong{font-size:27px;line-height:1.1;color:#238b87}
.u4eng .u4eng-period-now small{font-size:10px;color:var(--u4-muted,#7a8c9c)}
.u4eng .u4eng-period-end{text-align:right;align-items:flex-end}
.u4eng .u4eng-time-track{position:relative;height:16px;width:100%;background:var(--u4-line,#dce7ef);border-radius:8px;overflow:visible;border:1px solid var(--u4-line,#cbd6e0)}
.u4eng .u4eng-time-completed{position:absolute;top:0;left:0;height:100%;border-radius:8px 0 0 8px;background:linear-gradient(90deg,#27718b,#31b2a1);z-index:1}
.u4eng .u4eng-time-divider{position:absolute;top:0;height:100%;width:1px;background:rgba(255,255,255,.7);z-index:2}
.u4eng .u4eng-time-cursor{position:absolute;top:-5px;bottom:-5px;width:3px;background:#e27b80;border:1px solid #f9dce1;box-shadow:0 0 0 3px #b8525f25;border-radius:3px;transform:translateX(-50%);z-index:3}
.u4eng .u4eng-time-months{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:0;text-align:center;padding-top:12px;color:var(--u4-muted,#61798c)}
.u4eng .u4eng-time-months span{font-size:10px;font-weight:780;border-left:1px solid var(--u4-line,#d7e3ed)}
.u4eng .u4eng-time-months span:first-child{border:0}
.u4eng .u4eng-time-months small{display:block;font-size:9px;font-weight:650;margin-top:4px;opacity:.85}
.u4eng .u4eng-period-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--u4-muted,#60778b);margin-top:14px}
.u4eng .u4eng-period-foot strong{color:var(--u4-ink,#19374b);font-variant-numeric:tabular-nums;font-weight:800}
.u4eng .u4eng-category-card .u4eng-table-wrap{border-radius:9px;border:1px solid var(--u4-line,#d8e4ea)}
.u4eng .u4eng-category-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:820px}
.u4eng .u4eng-category-table th:nth-child(1){width:19%}
.u4eng .u4eng-category-table th:nth-child(2){width:10%}
.u4eng .u4eng-category-table th:nth-child(3),.u4eng .u4eng-category-table th:nth-child(4){width:19%}
.u4eng .u4eng-category-table th:nth-child(5){width:12%}
.u4eng .u4eng-category-table th:nth-child(6){width:11%}
.u4eng .u4eng-category-table th:nth-child(7){width:10%}
.u4eng .u4eng-category-table th{font-size:11px;padding:10px 12px;white-space:normal;vertical-align:middle;line-height:1.2}
.u4eng .u4eng-category-table td{padding:11px 12px;vertical-align:middle;font-size:12px}
.u4eng .u4eng-category-table tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--u4-surface,#f5f8fa) 44%,transparent)}
.u4eng .u4eng-category-table .u4eng-category-name{font-weight:760;white-space:normal;word-break:normal}
.u4eng .u4eng-category-table .u4eng-cat-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#397e99;margin-right:8px;vertical-align:middle}
.u4eng .u4eng-cat-dot.approval{background:#48a98d}.u4eng .u4eng-cat-dot.erection{background:#5b9ed2}.u4eng .u4eng-cat-dot.information{background:#d69b51}.u4eng .u4eng-cat-dot.for-procurement{background:#a68fc0}
.u4eng .u4eng-measure{display:flex;flex-direction:column;gap:4px;align-items:stretch;line-height:1.2}
.u4eng .u4eng-measure strong{font-size:15px;line-height:1.15;font-weight:820;font-variant-numeric:tabular-nums;color:var(--u4-ink,#19364b)}
.u4eng .u4eng-measure small{font-size:10px;color:var(--u4-muted,#61798a);white-space:nowrap}
.u4eng .u4eng-measure-bar{height:5px;width:100%;background:var(--u4-line,#dce6ed);display:block;border-radius:99px;overflow:hidden;margin-top:3px}
.u4eng .u4eng-measure-bar i{height:100%;display:block;border-radius:99px}
.u4eng .u4eng-measure-bar .plan{background:#6b97b8}.u4eng .u4eng-measure-bar .real{background:#30a995}
.u4eng .u4eng-count{font-size:14px!important;font-weight:780;white-space:nowrap}
.u4eng .u4eng-gap{font-size:13px;font-weight:850;white-space:nowrap;font-variant-numeric:tabular-nums}
.u4eng .u4eng-gap.is-negative{color:#df7b83}.u4eng .u4eng-gap.is-positive{color:#42b9aa}
.u4eng .u4eng-category-table tfoot td{background:color-mix(in srgb,#247f85 11%,var(--u4-surface,#f5f9fc))!important;border-top:2px solid #508c96}
.u4eng .u4eng-documents-table{min-width:1100px;font-size:11px}
.u4eng .u4eng-documents-table th{position:sticky;top:0;z-index:1}
.u4eng .u4eng-documents-table td:nth-child(2){min-width:280px;max-width:420px;line-height:1.4}
.u4eng .u4eng-documents-card .u4eng-table-wrap{max-height:none;overflow:auto;scrollbar-width:thin}
html[data-u4-theme="dark"] .u4eng .u4eng-period-head{background:#1c3347;border-color:#3b5a70}
html[data-u4-theme="dark"] .u4eng .u4eng-period-head strong,html[data-u4-theme="dark"] .u4eng .u4eng-period-foot strong,html[data-u4-theme="dark"] .u4eng .u4eng-measure strong{color:#f1f8ff}
html[data-u4-theme="dark"] .u4eng .u4eng-period-now strong{color:#79dfd1}
html[data-u4-theme="dark"] .u4eng .u4eng-time-track{background:#41566a;border-color:#556e80}
html[data-u4-theme="dark"] .u4eng .u4eng-category-table tbody tr:nth-child(even) td{background:#223a4d}
html[data-u4-theme="dark"] .u4eng .u4eng-category-table tfoot td{background:#28495a!important}
html[data-u4-theme="dark"] .u4eng .u4eng-gap.is-positive{color:#72d9bd}
@media(max-width:850px){.u4eng .u4eng-period-head{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.u4eng .u4eng-period-now{grid-column:1/-1;grid-row:2;border-left:0;border-right:0;border-top:1px solid var(--u4-line);padding-top:10px}.u4eng .u4eng-period-start{grid-column:1;grid-row:1}.u4eng .u4eng-period-end{grid-column:2;grid-row:1}.u4eng .u4eng-time-months span{font-size:9px}.u4eng .u4eng-time-months small{font-size:8px}}
@media(max-width:520px){.u4eng .u4eng-period-head strong{font-size:12px}.u4eng .u4eng-period-now strong{font-size:23px}.u4eng .u4eng-time-months span{font-size:8px}.u4eng .u4eng-time-months small{font-size:7px}}


/* v1.9.11 - Escala equilibrada de Ingeniería y estados semánticos. */
@media(min-width:1050px){
 body.u4-engineering-view .frame,body.u4-v164-analytics .frame{grid-template-columns:clamp(186px,11.7vw,218px) minmax(0,1fr)!important}
 body.u4-engineering-view .u4-unified-side,body.u4-v164-analytics .u4-unified-side{width:clamp(186px,11.7vw,218px)!important;min-width:clamp(186px,11.7vw,218px)!important;padding:14px 11px!important}
 body.u4-engineering-view .u4-unified-side .side-link,body.u4-engineering-view .u4-unified-side .u4-front-link,
 body.u4-v164-analytics .u4-unified-side .side-link,body.u4-v164-analytics .u4-unified-side .u4-front-link{font-size:12px!important;min-height:35px!important;line-height:1.33!important;padding:8px 9px!important}
 body.u4-engineering-view .u4-unified-side .side-heading,body.u4-v164-analytics .u4-unified-side .side-heading{font-size:10px!important;letter-spacing:.11em!important}
 body.u4-engineering-view .u4-unified-side .u4-unified-brand strong,body.u4-v164-analytics .u4-unified-side .u4-unified-brand strong{font-size:16px!important}
 body.u4-engineering-view .u4-unified-side .u4-unified-brand small,body.u4-v164-analytics .u4-unified-side .u4-unified-brand small{font-size:9px!important}
 body.u4-engineering-view .u4-unified-side .brand-b,body.u4-v164-analytics .u4-unified-side .brand-b{width:39px!important;height:39px!important}
}
body.u4-engineering-view .u4eng-page{max-width:1550px!important;padding:20px 24px 42px!important}
body.u4-engineering-view .u4eng{font-size:13px}
body.u4-engineering-view .u4eng h1{font-size:27px}
body.u4-engineering-view .u4eng h2{font-size:15px}
body.u4-engineering-view .u4eng-card{margin-bottom:14px}
.u4eng .u4eng-documents-card{padding:17px 18px}
.u4eng .u4eng-documents-card .u4eng-section-head h2{font-size:16px}
.u4eng .u4eng-documents-card .u4eng-filter{gap:10px;margin:12px 0}
.u4eng .u4eng-documents-card .u4eng-search,.u4eng .u4eng-documents-card .u4eng-select{min-height:38px;font-size:12px}
.u4eng .u4eng-documents-card .u4eng-quick-tabs button{font-size:12px;padding:8px 12px}
.u4eng .u4eng-documents-card .u4eng-table-wrap{overflow-x:auto;max-height:none}
.u4eng .u4eng-documents-table{min-width:1160px;font-size:12px;line-height:1.4;table-layout:auto}
.u4eng .u4eng-documents-table td{padding:10px 9px;vertical-align:middle;border-bottom:1px solid var(--u4-line,#dce7ee)}
.u4eng .u4eng-documents-table th{position:sticky;top:0;z-index:2;vertical-align:middle;padding:0!important;font-size:11px;white-space:normal}
.u4eng .u4eng-documents-table th:nth-child(1){min-width:178px}
.u4eng .u4eng-documents-table th:nth-child(2){min-width:265px}
.u4eng .u4eng-documents-table th:nth-child(7){min-width:170px}
.u4eng .u4eng-documents-table td:nth-child(2){min-width:245px;max-width:390px;white-space:normal;line-height:1.35;font-weight:550}
.u4eng .u4eng-documents-table td:first-child{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.u4eng .u4eng-documents-table td:nth-child(4),.u4eng .u4eng-documents-table td:nth-child(5),.u4eng .u4eng-documents-table td:nth-child(8){white-space:nowrap}
.u4eng .u4eng-documents-table tbody tr:nth-child(even){background:rgba(93,147,170,.045)}
.u4eng .u4eng-documents-table tbody tr:hover{background:rgba(26,142,157,.09)}
.u4eng .u4eng-documents-table tbody tr:hover td{background:transparent!important}
.u4eng .u4eng-sort-trigger{width:100%;min-height:45px;display:flex!important;align-items:center;justify-content:space-between;text-align:left;gap:6px;padding:9px 11px!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:11px!important;font-weight:800!important;line-height:1.25!important;color:inherit!important;white-space:normal;cursor:pointer}
.u4eng .u4eng-sort-trigger:hover,.u4eng .u4eng-sort-trigger:focus-visible{background:rgba(35,152,166,.15)!important;outline:2px solid #44b5bd;outline-offset:-2px}
.u4eng .u4eng-sort-arrow{font-size:14px;color:#6f9fac;flex:none}
.u4eng .u4eng-sorted .u4eng-sort-arrow{color:#19a99a}
.u4eng .u4eng-sorted{box-shadow:inset 0 -2px #2eada3}
.u4eng .u4eng-doc-code{font-size:11px}
.u4eng .u4eng-doc-rev{font-weight:750;text-align:center}
.u4eng .u4eng-doc-delay{font-variant-numeric:tabular-nums;font-weight:800}
.u4eng .u4eng-doc-delay.is-late{color:#b95c62}
.u4eng .u4eng-doc-delay.is-early{color:#247c6d}
.u4eng .u4eng-docs-empty{text-align:center;padding:26px!important;color:var(--u4-muted,#748898)}
/* Documento recibido no implica finalizado. Colores por responsable y etapa. */
.u4eng .u4eng-state{display:inline-flex;align-items:center;gap:7px;max-width:250px;padding:5px 9px;border-radius:7px;border:1px solid transparent;font-size:11px;font-weight:760;line-height:1.2;white-space:normal}
.u4eng .u4eng-state i{width:7px;height:7px;flex:none;border-radius:50%;background:currentColor}
.u4eng .u4eng-state--final{background:#d5f3e4;color:#136b4c;border-color:#a1dfbd}
.u4eng .u4eng-state--beco{background:#fff0ca;color:#875d0d;border-color:#eac76d}
.u4eng .u4eng-state--epc{background:#e9ddfb;color:#684598;border-color:#cbb8ee}
.u4eng .u4eng-state--review{background:#ddecff;color:#255b9c;border-color:#bad3fa}
.u4eng .u4eng-state--confirmation{background:#d7f4f0;color:#176c66;border-color:#a6ddd4}
.u4eng .u4eng-state--overdue{background:#ffe2e4;color:#a83243;border-color:#f0acb1}
.u4eng .u4eng-state--received{background:#e4eef9;color:#345b83;border-color:#bdd1e8}
.u4eng .u4eng-state--pending{background:#e9eef2;color:#607388;border-color:#cfd9e0}
.u4eng .u4eng-state--neutral{background:#edf0f3;color:#556476;border-color:#d0d8df}
html[data-u4-theme="dark"] .u4eng .u4eng-documents-table tbody tr:nth-child(even){background:#23384a}
html[data-u4-theme="dark"] .u4eng .u4eng-documents-table tbody tr:hover{background:#2a4a5f}
html[data-u4-theme="dark"] .u4eng .u4eng-documents-table td{border-bottom-color:#35516a}
html[data-u4-theme="dark"] .u4eng .u4eng-doc-delay.is-late{color:#ff9ea5}
html[data-u4-theme="dark"] .u4eng .u4eng-doc-delay.is-early{color:#74d8b7}
html[data-u4-theme="dark"] .u4eng .u4eng-sort-arrow{color:#91bdce}
html[data-u4-theme="dark"] .u4eng .u4eng-sorted .u4eng-sort-arrow{color:#84e4dc}
html[data-u4-theme="dark"] .u4eng .u4eng-state--final{background:#153d32;color:#8de8b9;border-color:#276f53}
html[data-u4-theme="dark"] .u4eng .u4eng-state--beco{background:#4a3c1d;color:#ffd785;border-color:#84642b}
html[data-u4-theme="dark"] .u4eng .u4eng-state--epc{background:#392c52;color:#d7b7ff;border-color:#67518b}
html[data-u4-theme="dark"] .u4eng .u4eng-state--review{background:#243d5b;color:#a7cfff;border-color:#40668f}
html[data-u4-theme="dark"] .u4eng .u4eng-state--confirmation{background:#1b4747;color:#a0e8d9;border-color:#3c817a}
html[data-u4-theme="dark"] .u4eng .u4eng-state--overdue{background:#522b34;color:#ffacb3;border-color:#8e4b5c}
html[data-u4-theme="dark"] .u4eng .u4eng-state--received{background:#243f54;color:#afd6ee;border-color:#416681}
html[data-u4-theme="dark"] .u4eng .u4eng-state--pending{background:#303b48;color:#c4d1df;border-color:#526477}
html[data-u4-theme="dark"] .u4eng .u4eng-state--neutral{background:#343c47;color:#d2dee9;border-color:#5a6876}
@media(max-width:1049px){body.u4-engineering-view .u4eng-page{padding:14px 16px 28px!important}}
@media(max-width:650px){body.u4-engineering-view .u4eng-page{padding:12px!important}.u4eng .u4eng-documents-card{padding:12px}.u4eng .u4eng-documents-table{min-width:1100px}}
