.od-screen{--od-bg:#0c151d;--od-panel:#172630;--od-line:#345364;--od-text:#f2f7fa;--od-sub:#b2cfdf;background:var(--od-bg);color:var(--od-text);padding:0 28px 28px;font:16px/1.5 system-ui,sans-serif;min-height:90vh;max-width:1800px;margin:auto}
.od-screen *,.od-modal *{box-sizing:border-box}.od-screen [hidden],.od-legacy[hidden]{display:none!important}
.od-screen h1{font-size:clamp(25px,2.4vw,38px);line-height:1.2;margin:0 0 8px}.od-screen h2{font-size:22px;margin:0 0 18px}.od-screen h3{font-size:18px;margin:0 0 10px}.od-screen p{color:var(--od-sub);margin:6px 0 18px}.od-screen a{color:#b9eafa;text-decoration:underline;text-underline-offset:4px}
.od-global,.od-tabs,.od-heading,.od-toolbar,.od-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.od-global{padding:20px 0;border-bottom:1px solid var(--od-line)}.od-global strong{font-size:26px;margin-right:24px}.od-global a{text-decoration:none;color:#f2f7fa}.od-tabs{padding:18px 0}.od-tabs a{padding:12px 22px;text-decoration:none;background:#172630;color:#eaf4fa;border-radius:6px}.od-tabs a[aria-current=page]{background:#214659;border-bottom:3px solid #84d8e3}.od-heading{justify-content:space-between;margin:18px 0 24px}.od-heading p{margin-bottom:0}.od-tag{font-size:13px;color:#b2cfdf;border:1px solid #456171;padding:5px 10px;border-radius:20px}
.od-screen button,.od-screen input,.od-screen select,.od-modal button,.od-modal input,.od-modal select{font:inherit;min-height:44px;border-radius:6px;border:1px solid #658499;padding:10px 14px;background:#10212d;color:#f2f7fa;max-width:100%}.od-screen button,.od-modal button{cursor:pointer}.od-screen .od-primary,.od-modal .od-primary{background:#ffbe23;color:#101820;border-color:#ffbe23;font-weight:700}.od-screen button:disabled{opacity:.55;cursor:not-allowed}.od-screen :focus-visible,.od-modal :focus-visible{outline:3px solid #b4f2ff;outline-offset:3px}.od-screen label{display:flex;flex-direction:column;gap:6px;font-size:14px}.od-screen small{display:block;color:#b2cfdf;margin-top:6px}.od-screen summary{cursor:pointer;padding:12px;min-height:44px}
.od-card{padding:24px;background:var(--od-panel);border:1px solid var(--od-line);border-radius:8px;min-width:0}.od-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:20px}.od-grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.od-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}.od-metrics strong{display:block;font-size:25px;margin-top:8px}.od-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-bottom:1px solid var(--od-line)}.od-row:last-child{border-bottom:0}.od-row strong{display:block}.od-list{display:grid;gap:16px}.od-note{border-left:3px solid #84d8e3;padding:12px 16px;background:#12222e;color:#cce2ee;margin-top:18px}.od-warning{border-color:#ffbe23;color:#ffe09a}.od-error{border:1px solid #f8a3a3;color:#ffcece;padding:16px}.od-good{color:#78e4b5}.od-scroll{overflow:auto}.od-screen table{width:100%;border-collapse:collapse;color:inherit}.od-screen th,.od-screen td{padding:14px;text-align:left;border-bottom:1px solid var(--od-line)}.od-screen thead{background:#10212d}.od-screen progress{width:100%;height:18px;accent-color:#84d8e3}.od-screen .od-toolbar{padding:18px;margin-bottom:20px;background:var(--od-panel);border:1px solid var(--od-line);border-radius:8px}.od-screen .od-footer{margin-top:24px;color:#b2cfdf;font-size:14px}.od-span{grid-column:1/-1}.od-empty{padding:30px 12px;color:#bdd3e1}.od-hidden-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.od-modal{background:#12222e;color:#f2f7fa;border:1px solid #658499;border-radius:12px;width:min(920px,95vw);max-height:90vh;padding:24px}.od-modal::backdrop{background:#030a10c9}.od-modal .panel{margin:16px 0;background:#172630}.od-modal .od-actions{justify-content:flex-end;margin:16px 0}.od-modal .panel-body{padding:16px}.od-modal p{color:#c2d8e5}.od-modal .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.od-modal label{display:block}.od-modal label input,.od-modal label select{width:100%}
@media(max-width:800px){.od-screen{padding:0 14px 20px}.od-grid,.od-grid.equal{grid-template-columns:1fr}.od-metrics{grid-template-columns:1fr}.od-tabs{gap:6px}.od-tabs a{padding:10px;font-size:14px}.od-global{gap:15px}.od-row{flex-wrap:wrap}.od-toolbar label{width:100%}.od-toolbar input,.od-toolbar select{width:100%}.od-modal .form-grid{grid-template-columns:1fr}.od-screen h1{font-size:27px}.od-card{padding:18px}}


/* Operaciones hereda el marco y la navegación original de la web. */
.od-screen{--od-bg:var(--d07-bg);--od-panel:var(--d07-panel);--od-line:var(--d07-border);--od-text:var(--d07-text);--od-sub:var(--d07-muted);background:transparent;padding:0;min-height:0;max-width:none;margin:0;font:14px/1.5 Inter,'Segoe UI',sans-serif}
.od-screen .od-heading{margin:0 0 20px;min-height:0;align-items:center}
.od-screen .od-heading h2{font:650 22px/1.3 Inter,'Segoe UI',sans-serif;margin:0 0 6px}
.od-screen .od-card{padding:20px;border-radius:6px}.od-screen .od-card h2{font-size:18px}
.od-screen .od-toolbar{border-radius:6px}.od-screen .od-primary{background:var(--d07-accent);border-color:var(--d07-accent)}
.od-screen .od-metrics strong{color:var(--d07-accent);font-size:24px}.od-screen .od-footer{padding-top:12px}
.od-modal{font:14px/1.5 Inter,'Segoe UI',sans-serif;background:var(--d07-panel);color:var(--d07-text);border-color:var(--d07-border)}
@media(max-width:800px){.od-screen{padding:0}.od-screen .od-heading{align-items:flex-start}.od-screen .od-card{padding:16px}}

/* Mismo menú; espacio de trabajo amplio y escala original. */
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .d07-sidebar-toggle{display:inline-flex}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .app-shell{grid-template-columns:minmax(0,1fr);transition:none}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .sidebar{display:none}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .main-content{grid-column:1;grid-row:1;width:100%;min-width:0;margin:0}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .main-content>.workspace{width:100%;max-width:none;margin:0;padding:22px 26px 48px}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .view.active{width:100%;max-width:none;animation:none}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .od-screen{font-size:16px;width:100%;max-width:none}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .od-heading h2{font-size:clamp(25px,2.4vw,38px)}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .od-card{padding:24px}body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .od-card h2{font-size:22px}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .od-metrics strong{font-size:25px}
@media(min-width:701px){body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]).d07-sidebar-open .app-shell{grid-template-columns:var(--sidebar-width) minmax(0,1fr)}body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]).d07-sidebar-open .sidebar{display:flex}body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]).d07-sidebar-open .main-content{grid-column:2}}
@media(max-width:700px){body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]).d07-sidebar-open .sidebar{display:block}body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .main-content>.workspace{padding:14px 12px 28px}body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .od-card{padding:18px}}

/* Una sola cabecera de tarea, sin otra navegación dentro del módulo. */
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .topbar{display:none}
.oc-context,.oc-summary{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:18px 20px;background:var(--od-panel);border:1px solid var(--od-line);border-radius:8px;margin-bottom:20px}
.oc-context .od-primary{margin-left:auto}.oc-summary{margin:22px 0 0}.oc-summary>span{flex:1 1 150px}.oc-summary strong{display:block;font-size:22px;margin-top:5px}
.oc-wide{margin-top:22px}.oc-plan{padding:20px;border:1px solid var(--od-line);border-radius:8px;margin:14px 0;display:flex;justify-content:space-between;gap:16px;align-items:center}.oc-plan>div:first-child{min-width:0}.oc-plan strong{font-size:19px}
.od-screen .oc-selected{outline:2px solid #69e3eb;outline-offset:-2px;background:#173744}
.oc-conditions details{padding:8px 0;border-bottom:1px solid var(--od-line)}.oc-conditions summary{font-weight:600}.oc-conditions p{padding:0 12px}
.od-screen .oc-check{display:flex;flex-direction:row;align-items:center;gap:12px;padding:8px 0}.oc-check input{width:20px;min-height:20px}
.oc-timeline{display:flex;list-style:none;padding:0;gap:16px;justify-content:space-between;flex-wrap:wrap}.oc-timeline li{border-top:4px solid var(--od-line);padding:14px;flex:1 1 150px}.oc-timeline .oc-done{border-color:#5ee2d2}.oc-timeline [aria-current]{background:#193d48;font-weight:700}
.oc-events{padding-left:22px}.oc-events li{padding:12px 0;border-bottom:1px solid var(--od-line)}.oc-muted{color:var(--od-sub);font-size:14px}
.od-screen .od-toolbar label{flex:1 1 155px;min-width:0}.od-screen .od-toolbar>details{flex:1 1 150px}.od-screen .od-toolbar select{width:100%}.od-screen aside{min-width:0}.od-screen [data-history-list] button{border:0;background:transparent;text-align:left;color:#b9eafa;padding:4px;min-height:44px}
.od-screen .od-heading{margin:0 0 22px}.od-screen .od-grid{align-items:start}.od-screen .od-card{min-width:0}.od-screen .od-actions{row-gap:10px}
@media(max-width:1000px){.od-screen .od-grid:not(.equal){grid-template-columns:1fr}.oc-plan{flex-wrap:wrap}}
@media(max-width:700px){.oc-context,.oc-summary{padding:14px;gap:12px}.oc-plan{padding:14px}.oc-summary>span{flex-basis:100%}.od-screen .od-grid.equal{grid-template-columns:1fr}}
.oc-route-filters{margin:0 0 18px}.oc-route-filters>summary{display:inline-block;padding:10px 16px;border:1px solid var(--od-line);border-radius:6px;color:#b9eafa}.oc-route-filters[open]>.od-toolbar{margin-top:12px}

/* Proporciones de las cinco referencias dentro de la navegación existente. */
.ov-reference{--od-panel:#102631;--od-line:#2c4b59;--od-sub:#b8d2e1;font:16px/1.5 Inter,'Segoe UI',sans-serif!important;background:transparent}
.ov-reference .od-heading{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;align-items:center;margin:0 0 24px}
.ov-reference .od-heading>div:first-child{min-width:0}.ov-reference .od-heading h2{font-size:clamp(28px,2.65vw,44px)!important;font-weight:750;line-height:1.15;margin:0 0 8px;letter-spacing:-.6px}.ov-reference .od-heading p{font-size:18px;line-height:1.45;margin:0;color:#bdd7e8}
.ov-heading-context{min-width:0}.ov-heading-context .oc-context{margin:0;background:linear-gradient(115deg,#132c39,#0d202a);gap:14px;padding:16px;border-radius:7px}.ov-heading-context .oc-context>span{flex:1 1 145px}.ov-heading-context .oc-context strong{color:#f4f8fc}.ov-heading-context .oc-context label{flex:1 1 220px;min-width:0}.ov-heading-context .oc-context select{width:100%}
.ov-reference .od-card{background:linear-gradient(120deg,#122b36,#10232d);border:1px solid #2b4b59;border-radius:8px;padding:22px!important;box-shadow:inset 0 1px #ffffff03}
.ov-reference .od-card>h2{display:flex;gap:12px;align-items:center;font-size:24px!important;font-weight:700;line-height:1.25;margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid #294752}
.ov-icon{width:26px;height:26px;flex:0 0 26px;vertical-align:middle}.ov-reference .od-card>h2>.ov-icon{width:30px;height:30px;flex-basis:30px;color:#e5f3fb}.ov-reference h3>.ov-icon{margin-right:10px;color:#8be8d2}
.ov-reference .od-metrics{gap:18px;margin-bottom:22px}.ov-reference .ov-stat{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:15px;align-content:center;min-height:108px}.ov-stat-symbol{grid-row:1/3;align-self:center;color:#dceefa}.ov-stat-symbol .ov-icon{width:42px;height:42px}.ov-reference .ov-stat>span{font-size:16px}.ov-reference .ov-stat>strong{margin:3px 0 0;font-size:30px!important;color:#f4f8fc}.ov-reference .ov-result>strong,.ov-reference .ov-result-total strong{color:#78e9c6}.ov-reference .ov-negative>strong{color:#ffab92}
.ov-reference .od-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px}.ov-reference .od-grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.ov-reference .od-card .od-grid{gap:18px}
.ov-reference .oc-plan{background:#102631;border-color:#294855;gap:18px;padding:16px;min-height:122px;margin:12px 0}.ov-reference .oc-plan>div:nth-child(2){flex:1;min-width:0}.ov-reference .oc-plan strong{font-size:20px}.ov-reference .oc-plan p{font-size:15px;margin:10px 0 0}.ov-reference .oc-plan .od-actions{flex-direction:column;align-items:stretch;min-width:150px}.ov-art{height:88px;width:104px;flex:0 0 104px;display:grid;place-items:center;border:1px solid #395766;border-radius:5px;color:#b8d5e3;background:radial-gradient(ellipse at 40% 20%,#355566,#0a1821)}.ov-art .ov-icon{width:62px;height:62px;stroke-width:1}
.ov-reference button{min-height:44px;font-weight:550}.ov-reference .od-primary{background:linear-gradient(#ffc84b,#ffb522);border-color:#ffc452;color:#08121b;font-weight:700;box-shadow:inset 0 1px #ffffff40}.ov-reference .od-row{padding:16px 0}.ov-reference .od-row strong{font-size:18px}.ov-reference .od-toolbar{background:#102530;padding:14px;gap:12px}.ov-reference .od-toolbar label{font-size:14px}.ov-reference select,.ov-reference input{background:#102530;border-color:#365a6b}
.ov-reference .oc-summary{background:#132e3b;border-color:#335867;gap:18px}.ov-reference .oc-summary strong{font-size:24px}.ov-reference .oc-conditions details{background:#142e3a;border:1px solid #294b59;border-radius:5px;margin:8px 0}.ov-reference .oc-conditions summary{padding:12px 14px}.ov-reference .oc-selected{outline-color:#65edf0;background:linear-gradient(120deg,#10313d,#0e2530)}
.ov-reference .oc-timeline{gap:0;padding:6px 0}.ov-reference .oc-timeline li{border-top:0;text-align:center;position:relative;background:transparent;font-weight:600}.ov-reference .oc-timeline li:after{content:'';position:absolute;height:3px;background:#385967;left:calc(50% + 25px);right:calc(-50% + 25px);top:33px}.ov-reference .oc-timeline li:last-child:after{display:none}.ov-step{display:flex;width:38px;height:38px;margin:0 auto 14px;align-items:center;justify-content:center;border:2px solid #648897;border-radius:50%;background:#102935;color:#b9d4e2}.oc-done .ov-step{background:#56dfe5;color:#09252e;border-color:#56dfe5}.ov-reference .oc-timeline [aria-current]{color:#60e7ef}
.ov-reference .oc-events{list-style:none;margin:0;padding:0;display:flex;gap:20px;flex-wrap:wrap}.ov-reference .oc-events li{flex:1 1 150px;padding:14px 0;border-bottom:0;border-top:3px solid #3d8995}.ov-reference .ov-result-panel .od-row{gap:12px}.ov-reference .ov-result-total{border-top:1px solid #56717b;padding-top:20px}.ov-reference .od-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px;font-size:13px}.ov-aux{margin-left:auto}.ov-aux button{font-size:13px;min-height:36px;padding:6px 10px}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .hazard-divider{display:none}
body:is([data-active-view="operations"],[data-active-view="trade"],[data-active-view="routes"],[data-active-view="logistics"],[data-active-view="history"]) .section-nav-index{display:none}
.ov-nav-icon{display:inline-flex;align-items:center;margin-right:10px}.ov-nav-icon .ov-icon{width:23px;height:23px}
@media(min-width:1100px){body[data-active-view="history"] .ov-reference .od-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}body[data-active-view="history"] .ov-reference .od-heading{grid-template-columns:1fr}body[data-active-view="operations"] .ov-reference .oc-wide>.od-row{display:inline-flex;width:33.333%;padding:12px 18px;vertical-align:top;border-bottom:0;border-right:1px solid #294752;flex-wrap:wrap}body[data-active-view="operations"] .ov-reference .oc-wide>.od-row:last-child{border:0}}
@media(max-width:1099px){.ov-reference .od-heading{grid-template-columns:1fr;gap:16px}.ov-reference .od-grid{grid-template-columns:1fr}.ov-reference .od-grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.ov-reference .oc-plan{flex-wrap:wrap}}
@media(max-width:700px){.ov-reference .od-grid.equal{grid-template-columns:1fr}.ov-reference .od-card{padding:16px!important}.ov-reference .od-card>h2{font-size:21px!important}.ov-reference .od-heading h2{font-size:29px!important}.ov-reference .od-heading p{font-size:16px}.ov-reference .ov-stat>strong{font-size:26px!important}.ov-art{width:64px;flex-basis:64px;height:64px}.ov-art .ov-icon{width:44px;height:44px}.ov-reference .oc-timeline{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ov-reference .oc-timeline li:after{display:none}.ov-reference .oc-plan .od-actions{width:100%}.ov-aux{margin-left:0}}
.ov-load-options{position:relative}.ov-load-options>summary{cursor:pointer;padding:10px 12px;border:1px solid #365a6b;border-radius:5px}.ov-load-options[open]{flex-basis:100%!important;order:5}.ov-load-fields{display:flex;gap:16px;flex-wrap:wrap;padding:14px 0}.ov-load-fields>label{flex:1 1 180px}.ov-material-symbol,.ov-terminal{display:inline-grid;place-items:center;width:68px;height:68px;flex:0 0 68px;border:1px solid #41616e;border-radius:5px;background:radial-gradient(ellipse at 40% 10%,#39535c,#0b1d27);color:#c2deec}.ov-material-symbol .ov-icon{width:46px;height:46px;color:#e3c491}.ov-terminal .ov-icon{width:38px;height:38px}.ov-reference .ov-terminal-row{justify-content:flex-start;gap:16px;align-items:flex-start}.ov-terminal-row>div{min-width:0}.ov-terminal-row strong{display:block}.ov-terminal-row small{font-size:13px}.ov-route-locations{display:flex;align-items:center;justify-content:space-around;gap:18px;padding:10px 0 24px;border-bottom:1px solid #294752}.ov-route-locations>span{text-align:center;min-width:0}.ov-route-locations>span>.ov-icon{display:block;margin:0 auto 8px;width:38px;height:38px;color:#95c6d9}.ov-route-locations strong{display:block;font-size:16px}
body[data-active-view="routes"] .ov-reference .od-grid.equal>.od-card>.od-row{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:25%;vertical-align:top;gap:8px;padding:16px 10px;border-right:1px solid #294752;border-bottom:0;font-size:14px;min-height:108px}body[data-active-view="routes"] .ov-reference .od-grid.equal>.od-card>.od-row strong{font-size:19px}body[data-active-view="routes"] .ov-reference .od-card:has(>.oc-conditions){display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px}body[data-active-view="routes"] .ov-reference .od-card:has(>.oc-conditions)>h2{border:0;align-self:start;margin:0}body[data-active-view="routes"] .ov-reference .oc-conditions details{margin-top:0}
@media(max-width:1000px){body[data-active-view="routes"] .ov-reference .od-grid.equal>.od-card>.od-row{width:50%}body[data-active-view="routes"] .ov-reference .od-card:has(>.oc-conditions){grid-template-columns:1fr}}
.ov-reference progress{height:30px;border-radius:6px;overflow:hidden;border:1px solid #385d70}.ov-reference progress::-webkit-progress-bar{background:#213e4b}.ov-reference progress::-webkit-progress-value{background:linear-gradient(90deg,#21c0df,#61e2ed)}body[data-active-view="logistics"] .ov-reference td{padding-block:24px}body[data-active-view="history"] .ov-reference td{padding-block:20px}
.ov-reference .od-grid>*{min-width:0}.ov-reference .od-scroll{max-width:100%}.ov-reference .oc-events li{min-width:0;overflow-wrap:anywhere}
@media(max-width:1099px){.ov-reference .od-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.ov-reference .od-grid.equal{grid-template-columns:minmax(0,1fr)}.ov-reference .od-metrics{grid-template-columns:minmax(0,1fr)}}
