/* NARA · SUPERVISOR V2 · Base E4/B2. Strictly scoped, presentation only. */
body[data-experience="command"]{--supv2-navy:#061d33;--supv2-deep:#082c46;--supv2-yellow:#ffc226;--supv2-line:#d5e3ed;background:linear-gradient(135deg,#ddeaf3,#f7fafc)}
body[data-experience="command"] .app-shell{max-width:none!important;min-height:100vh;margin:0!important;padding:0!important;background:transparent}
body[data-experience="command"] .topbar,body[data-experience="command"] #roleExperienceBanner,body[data-experience="command"] #mainViewSwitcher{display:none!important}
body[data-experience="command"] .app-shell>main{margin:0 0 0 98px;padding:16px 19px 32px;width:auto;max-width:none;min-width:0}
body[data-experience="command"] #demoModeBanner{margin:12px 22px 0 116px;border-radius:10px;max-width:none}
body[data-experience="command"] .supv2-header{height:94px;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 23px;background:linear-gradient(105deg,#03162a,#0a3853 64%,#082039);color:white;border-bottom:3px solid var(--supv2-yellow);box-shadow:0 4px 15px #00172931;position:sticky;top:0;z-index:30}
body[data-experience="command"] .supv2-brand{display:flex;align-items:center;gap:18px;min-width:0}
body[data-experience="command"] .supv2-attent{background:white;border-radius:9px;padding:4px 10px;display:flex;align-items:center;width:175px;height:62px;flex-shrink:0}
body[data-experience="command"] .supv2-attent img{height:100%;width:100%;object-fit:contain}
body[data-experience="command"] .supv2-sep{width:2px;height:55px;background:#aec5d0;opacity:.7;flex-shrink:0}
body[data-experience="command"] .supv2-title{display:flex;flex-direction:column;min-width:0}
body[data-experience="command"] .supv2-title strong{font-size:clamp(23px,2.25vw,32px);font-weight:900;letter-spacing:-.04em;white-space:nowrap}
body[data-experience="command"] .supv2-title small{font-size:10px;font-weight:800;color:#d4e4eb;white-space:nowrap}
body[data-experience="command"] .supv2-sotramin{background:white;padding:5px 12px;border-radius:8px;height:59px;width:177px;display:flex;align-items:center;flex-shrink:0}
body[data-experience="command"] .supv2-sotramin img{width:100%;height:100%;object-fit:contain}
body[data-experience="command"] .supv2-meta{display:flex;align-items:center;gap:12px;justify-content:flex-end;min-width:0}
body[data-experience="command"] .supv2-meta-site{display:grid;color:#fff;font-size:12px;font-weight:850;line-height:1.4;max-width:245px}
body[data-experience="command"] .supv2-meta-site small{font-size:10px;color:#b9d7e3;font-weight:600}
body[data-experience="command"] .supv2-lab{background:#fff8de;border:1px solid #ffbd3c;color:#9a3800;padding:8px;border-radius:28px;font-size:10px;font-weight:900;white-space:nowrap}
body[data-experience="command"] .supv2-profile{display:flex;border:1px solid #5b8095;border-radius:9px;padding:11px;font-weight:850;font-size:12px;white-space:nowrap}
body[data-experience="command"] .supv2-side{position:fixed;top:94px;left:0;bottom:0;width:98px;background:linear-gradient(#061e35,#031629);color:white;padding:13px 8px;display:flex;flex-direction:column;justify-content:space-between;z-index:25;box-shadow:3px 0 12px #0b385327}
body[data-experience="command"] .supv2-navstack{display:grid;gap:8px}
body[data-experience="command"] .supv2-navbtn{border:1px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;padding:9px 4px;min-height:69px;background:transparent;color:white;border-radius:12px;cursor:pointer;box-shadow:none}
body[data-experience="command"] .supv2-navbtn:hover{background:#16405b}
body[data-experience="command"] .supv2-navbtn.active{background:linear-gradient(#ffda4b,#ffb915);color:#051d33;border-color:#ffbd24;box-shadow:0 4px 12px #ffba252f}
body[data-experience="command"] .supv2-navbtn:focus-visible{outline:3px solid #fff;outline-offset:2px}
body[data-experience="command"] .supv2-navicon{display:flex;justify-content:center;align-items:center;width:27px;height:27px;flex-shrink:0}
body[data-experience="command"] .supv2-navsvg{width:25px;height:25px;display:block;stroke:currentColor;vector-effect:non-scaling-stroke}
body[data-experience="command"] .supv2-navbtn>span:last-child{display:flex;flex-direction:column;gap:1px;align-items:center;font-size:11px;font-weight:850}
body[data-experience="command"] .supv2-navbtn small{font-size:9px;font-weight:700;opacity:.85}
body[data-experience="command"] .supv2-side-foot{text-align:center;border-top:1px solid #3e5d72;font-size:9px;padding:15px 2px 5px;display:grid;gap:4px;color:#cee0e9}
body[data-experience="command"] .supv2-side-foot span{font-size:12px;color:#ffc326}
body[data-experience="command"] .supv2-side-foot small{color:#d5e5ed;font-size:9px}
body[data-experience="command"] .supv2-bottom{display:none}
body[data-experience="command"] .supv2-overview{display:grid;gap:12px}
body[data-experience="command"] .supv2-hero{display:flex;min-height:215px;border-radius:17px;overflow:hidden;position:relative;background:linear-gradient(115deg,#092a47,#0c4967);color:white;box-shadow:0 8px 23px #0b2e4230;border:2px solid white}
body[data-experience="command"] .supv2-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#052036 0%,#072942eb 40%,transparent 90%);pointer-events:none}
body[data-experience="command"] .supv2-hero>img{width:60%;height:230px;object-fit:cover;position:absolute;right:0;top:0;z-index:0}
body[data-experience="command"] .supv2-hero-copy{z-index:2;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;padding:23px 30px;max-width:68%}
body[data-experience="command"] .supv2-eyebrow{font-size:11px;color:#ffd565;font-weight:900;letter-spacing:.08em}
body[data-experience="command"] .supv2-hero h2{color:#fff;margin:0;font-size:clamp(24px,3vw,36px);line-height:1.1;font-weight:900}
body[data-experience="command"] .supv2-hero h2 small{display:block;font-size:13px;font-weight:700;margin-top:6px;color:#f2d98d}
body[data-experience="command"] .supv2-hero p{margin:0;color:#d9e8f0;font-size:12px}
body[data-experience="command"] .supv2-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:7px}
body[data-experience="command"] .supv2-hero-actions button{border:1px solid #ebbd32;border-radius:9px;background:#ffd041;color:#102e3f;font-size:12px;font-weight:900;padding:11px 15px}
body[data-experience="command"] .supv2-hero-actions button+button{background:#063a56;color:white;border-color:#7898ad}
body[data-experience="command"] .supv2-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body[data-experience="command"] .supv2-kpi{display:flex;flex-direction:column;justify-content:center;gap:4px;background:linear-gradient(145deg,#0b3e59,#06243c);border:1px solid #255a75;border-top:3px solid #ffc027;box-shadow:0 5px 15px #0b38532b;border-radius:12px;color:white;min-height:101px;padding:15px 17px}
body[data-experience="command"] .supv2-kpi strong{font-size:28px;font-weight:900;color:white;line-height:1}
body[data-experience="command"] .supv2-kpi span{font-size:12px;font-weight:850}
body[data-experience="command"] .supv2-kpi small{font-size:10px;color:#c3dbe7;line-height:1.35}
body[data-experience="command"] .supv2-fleetpanel{background:#fff;border:1px solid #c9deea;border-radius:15px;box-shadow:0 7px 21px #0e354821;overflow:hidden}
body[data-experience="command"] .supv2-panel-head{background:linear-gradient(115deg,#092c48,#0a4464);display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 17px;color:white}
body[data-experience="command"] .supv2-panel-head h3{font-size:15px;color:#fff;margin:0}
body[data-experience="command"] .supv2-panel-head h3 small{font-weight:600;font-size:12px;color:#c6dfec}
body[data-experience="command"] .supv2-panel-head button{font-size:11px;font-weight:850;background:transparent;box-shadow:none;border:0;color:#fff;white-space:nowrap}
body[data-experience="command"] .supv2-fleetstrip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:12px}
body[data-experience="command"] .supv2-mini{min-width:0;background:#f7fafc;border:1px solid #d1dee7;border-radius:12px;overflow:hidden;box-shadow:0 3px 8px #112f451c}
body[data-experience="command"] .supv2-mini-img{height:115px;position:relative;background:#d7e5ed}
body[data-experience="command"] .supv2-mini-img img{width:100%;height:100%;object-fit:cover;display:block}
body[data-experience="command"] .supv2-mini-img span{position:absolute;top:8px;left:6px;font-size:9px;font-weight:900;color:#073a51;background:#fff9d8;padding:4px 6px;border-radius:5px}
body[data-experience="command"] .supv2-mini-main{padding:10px;display:grid;gap:5px}
body[data-experience="command"] .supv2-mini-main strong{font-size:12px;color:#072c49;overflow-wrap:anywhere}
body[data-experience="command"] .supv2-mini-main small{font-size:9px;color:#4c6a7d;line-height:1.4}
body[data-experience="command"] .supv2-mini-main div{display:flex;justify-content:space-between;align-items:center;gap:6px}
body[data-experience="command"] .supv2-mini-main div span{font-size:10px;color:#0a3a59}
body[data-experience="command"] .supv2-mini-main button{background:#0b3853;border:0;border-radius:7px;padding:6px;color:#fff;font-size:10px;font-weight:800;white-space:nowrap}
body[data-experience="command"] .supv2-no-events{padding:22px;font-size:12px;color:#45667b}
body[data-experience="command"] #supervisorView .dashboard-header{background:#fff;border-left:5px solid #ffbd24;box-shadow:0 5px 13px #123e5619}
body[data-experience="command"] #supervisorTitle{font-weight:900}
body[data-experience="command"] #dashboardContent .kpi-card{border-radius:12px;background:#f0f6fa;border-top:2px solid #ffc326}
body[data-experience="command"] #dashboardContent .kpi-card strong{color:#082b46}
body[data-experience="command"] #commandBrief{border-color:#abc7d8;border-radius:14px;box-shadow:0 8px 21px #0a355025}
body[data-experience="command"] #fleetCards.fleet-mobile-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
body[data-experience="command"] #fleetCards .fleet-card{display:grid;min-width:0;border:1px solid #d0e0e9;border-radius:14px;box-shadow:0 5px 13px #0b335025;overflow:hidden}
body[data-experience="command"] .supv2-fleet-image{height:175px;position:relative;margin:-14px -14px 4px;background:#d8e6ef}
body[data-experience="command"] .supv2-fleet-image img{width:100%;height:100%;object-fit:cover;display:block}
body[data-experience="command"] .supv2-fleet-image span{position:absolute;bottom:6px;left:6px;padding:4px 6px;background:#fff8dc;color:#263d49;font-weight:850;font-size:9px;border-radius:5px}
body[data-experience="command"] #fleetView .table-card:has(#fleetRows){margin-top:8px}
body[data-experience="command"] #fleetView .table-scroll{max-height:360px}
body[data-experience="command"] #assetDetailView .dashboard-header{background:linear-gradient(110deg,#092c48,#0b4a6e);color:#fff}
body[data-experience="command"] #assetDetailView .dashboard-header h2{color:#fff}
@media(max-width:1450px){
 body[data-experience="command"] .supv2-header{height:84px;padding:10px 13px}
 body[data-experience="command"] .supv2-side{top:84px}
 body[data-experience="command"] .supv2-meta-site{display:none}
 body[data-experience="command"] .supv2-attent{width:145px;height:52px}
 body[data-experience="command"] .supv2-sotramin{width:152px;height:50px}
 body[data-experience="command"] .supv2-title strong{font-size:24px}
 body[data-experience="command"] .supv2-brand{gap:11px}
 body[data-experience="command"] .supv2-sep{height:45px}
 body[data-experience="command"] .supv2-fleetstrip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1000px){
 body[data-experience="command"] .supv2-sotramin{width:130px}
 body[data-experience="command"] .supv2-lab{font-size:9px}
 body[data-experience="command"] .supv2-profile{display:none}
 body[data-experience="command"] .supv2-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-experience="command"] #fleetCards.fleet-mobile-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
 body[data-experience="command"] .supv2-header{height:71px;padding:8px 10px}
 body[data-experience="command"] .supv2-attent{width:100px;height:45px;padding:3px}
 body[data-experience="command"] .supv2-sep{height:37px;width:1px}
 body[data-experience="command"] .supv2-title strong{font-size:17px}
 body[data-experience="command"] .supv2-title small{font-size:7px;white-space:normal}
 body[data-experience="command"] .supv2-sotramin{display:none}
 body[data-experience="command"] .supv2-brand{gap:8px}
 body[data-experience="command"] .supv2-meta{gap:3px}
 body[data-experience="command"] .supv2-lab{font-size:8px;border-radius:8px;padding:5px;max-width:92px;text-align:center}
 body[data-experience="command"] .supv2-side{display:none}
 body[data-experience="command"] .supv2-bottom{position:fixed;bottom:0;left:0;right:0;z-index:45;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:5px 5px max(6px,env(safe-area-inset-bottom));background:#051e33;border-top:2px solid #ffc52f;box-shadow:0 -6px 15px #0a304d44}
 body[data-experience="command"] .supv2-bottom .supv2-navbtn{min-height:51px;padding:4px 1px;gap:3px;border-radius:8px}
 body[data-experience="command"] .supv2-bottom .supv2-navicon{width:23px;height:23px}
 body[data-experience="command"] .supv2-bottom .supv2-navsvg{width:21px;height:21px}
 body[data-experience="command"] .supv2-bottom .supv2-navbtn>span:last-child{font-size:10px}
 body[data-experience="command"] .supv2-bottom .supv2-navbtn small{display:none}
 body[data-experience="command"] .app-shell>main{margin:0;padding:12px 8px 85px}
 body[data-experience="command"] #demoModeBanner{margin:8px 8px 0;font-size:10px}
 body[data-experience="command"] .supv2-hero{min-height:185px}
 body[data-experience="command"] .supv2-hero>img{width:80%;height:200px;opacity:.6}
 body[data-experience="command"] .supv2-hero-copy{padding:14px;max-width:100%}
 body[data-experience="command"] .supv2-hero h2{font-size:24px}
 body[data-experience="command"] .supv2-hero p{font-size:10px}
 body[data-experience="command"] .supv2-eyebrow{font-size:9px}
 body[data-experience="command"] .supv2-hero-actions button{padding:9px;font-size:10px}
 body[data-experience="command"] .supv2-kpi-grid{gap:7px}
 body[data-experience="command"] .supv2-kpi{min-height:88px;padding:10px}
 body[data-experience="command"] .supv2-kpi strong{font-size:24px}
 body[data-experience="command"] .supv2-fleetstrip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}
 body[data-experience="command"] .supv2-mini-img{height:95px}
 body[data-experience="command"] .supv2-mini-main{padding:7px}
 body[data-experience="command"] .supv2-panel-head{padding:11px}
 body[data-experience="command"] .supv2-panel-head h3{font-size:12px}
 body[data-experience="command"] .supv2-panel-head h3 small{font-size:10px}
 body[data-experience="command"] #fleetCards.fleet-mobile-cards{grid-template-columns:1fr}
 body[data-experience="command"] .supv2-fleet-image{height:165px}
}
@media(prefers-reduced-motion:reduce){body[data-experience="command"] *{scroll-behavior:auto!important}}


/* Report and tables must shrink as GRID ITEMS before their inner scroll containers can scroll. */
body[data-experience="command"] #reportView,
body[data-experience="command"] #reportView > *,
body[data-experience="command"] #fleetProductionReport,
body[data-experience="command"] #fleetReportContent,
body[data-experience="command"] #reportContent,
body[data-experience="command"] #operationalDocumentFactory,
body[data-experience="command"] #reportView .card,
body[data-experience="command"] #reportView .table-scroll{
 min-width:0;max-width:100%;box-sizing:border-box;
}
body[data-experience="command"] #reportView .table-scroll{
 display:block;width:100%;overflow-x:auto;overflow-y:hidden;
}
body[data-experience="command"] #reportView .report-json,
body[data-experience="command"] #reportView pre{
 min-width:0;max-width:100%;overflow-x:auto;
}
body[data-experience="command"] #reportView .button-row,
body[data-experience="command"] #reportView .report-controls{flex-wrap:wrap}


@media(max-width:680px){
  /* The report is a grid with a horizontally scrollable table; keep the grid inside viewport. */
  body[data-experience="command"] .app-shell>main{
    width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;
    margin:0 8px!important;padding:12px 0 85px!important;min-width:0;
  }
  body[data-experience="command"] #reportView,
  body[data-experience="command"] #reportView> *,
  body[data-experience="command"] #fleetProductionReport,
  body[data-experience="command"] #fleetReportContent{
    width:100%;min-width:0;max-width:100%;box-sizing:border-box;
  }
  body[data-experience="command"] #reportView .dashboard-grid{grid-template-columns:minmax(0,1fr)}
}


/* Prevent the LAB classification badge text from extending past mobile viewport. */
@media(max-width:680px){
 body[data-experience="command"] .supv2-meta{min-width:0;flex-shrink:1}
 body[data-experience="command"] .supv2-lab{
   white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.15;
   max-width:92px;width:92px;min-width:0;flex-shrink:1;box-sizing:border-box;
 }
}


/* A3 · Supervisión de producción con datos admitidos; no simula series horarias. */
body[data-experience="command"] .supv2-production{display:grid;gap:15px;min-width:0;width:100%}
body[data-experience="command"] .supv2-production.hidden{display:none!important}
body[data-experience="command"] .supv2-production-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 24px;border-radius:16px;background:linear-gradient(110deg,#062238,#0b405a);color:white}
body[data-experience="command"] .supv2-production-title span{font-size:11px;font-weight:900;letter-spacing:.1em;color:#f7c54c}
body[data-experience="command"] .supv2-production-title h2{font-size:clamp(23px,3vw,34px);font-weight:900;color:white;margin:5px 0}
body[data-experience="command"] .supv2-production-title p{font-size:12px;color:#d9eaf2;margin:0}
body[data-experience="command"] .supv2-production-title .supv2-prod-tag{border:1px solid #e7be4a;color:#122d41;flex-shrink:0;background:#ffdc74;padding:8px 12px;border-radius:24px;font-size:10px;white-space:nowrap}
body[data-experience="command"] .supv2-source-line{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:11px;background:#fff;border:1px solid #d0dfe7;padding:11px 14px;border-radius:10px;color:#36576e}
body[data-experience="command"] .supv2-production-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body[data-experience="command"] .supv2-production-kpi{border:1px solid #1c5778;border-top:3px solid #ffbf25;border-radius:12px;padding:17px 19px;display:grid;gap:5px;min-width:0;background:linear-gradient(130deg,#06243c,#0d3b56);color:#fff}
body[data-experience="command"] .supv2-production-kpi small{font-size:12px;color:#d0e0ea;font-weight:850}
body[data-experience="command"] .supv2-production-kpi strong{font-size:clamp(22px,2.7vw,32px);line-height:1.1;overflow-wrap:anywhere;color:white}
body[data-experience="command"] .supv2-production-kpi span{font-size:10px;line-height:1.5;color:#e0e9f0}
body[data-experience="command"] .supv2-production-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:11px}
body[data-experience="command"] .supv2-production-panel{border:1px solid #d1e0e9;background:white;border-radius:13px;padding:17px;min-width:0;box-shadow:0 5px 18px #113b4d14}
body[data-experience="command"] .supv2-production-panel h3{margin:0 0 15px;color:#092943;font-size:17px}
body[data-experience="command"] .supv2-production-panel p{font-size:12px;line-height:1.6;color:#34546c}
body[data-experience="command"] .supv2-production-panel button{background:#ffd040;color:#072c45;font-weight:900;border-radius:9px;border:0;padding:11px 14px}
body[data-experience="command"] .supv2-production-reason{margin:12px 0;display:grid;gap:7px}
body[data-experience="command"] .supv2-production-reason>div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px;font-size:12px;color:#0d3651}
body[data-experience="command"] .supv2-production-reason small{color:#546d81;font-size:10px}
body[data-experience="command"] .supv2-production-track{height:11px;background:#d6e6ee;border-radius:9px;overflow:hidden}
body[data-experience="command"] .supv2-production-track>span{display:block;height:100%;background:linear-gradient(90deg,#ffc72d,#0b9cc5);border-radius:9px}
body[data-experience="command"] .supv2-production-empty{border-radius:12px;border:1px dashed #c5dbe7;padding:16px;color:#536f82}
body[data-experience="command"] .supv2-production-tablewrap{width:100%;overflow-x:auto}
body[data-experience="command"] .supv2-production-tablewrap table{border-collapse:collapse;width:100%;min-width:620px;font-size:12px;color:#092c49}
body[data-experience="command"] .supv2-production-tablewrap th,body[data-experience="command"] .supv2-production-tablewrap td{padding:11px 10px;border-bottom:1px solid #d8e6ef;text-align:left;white-space:nowrap}
body[data-experience="command"] .supv2-production-tablewrap thead{background:#0b344f;color:#fff}
body[data-experience="command"] .supv2-asset-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-width:0;border-radius:16px;overflow:hidden;border:1px solid #d0dce7;background:linear-gradient(110deg,#082d49,#0b4662);color:white;min-height:225px}
body[data-experience="command"] .supv2-asset-photo{position:relative;min-width:0;min-height:220px;overflow:hidden}
body[data-experience="command"] .supv2-asset-photo img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}
body[data-experience="command"] .supv2-asset-photo span{position:absolute;bottom:10px;left:10px;background:#ffe3a0;color:#152e41;font-weight:900;padding:5px 8px;border-radius:7px;font-size:10px}
body[data-experience="command"] .supv2-asset-hero-content{padding:20px 23px;display:grid;align-content:center;gap:9px;min-width:0}
body[data-experience="command"] .supv2-asset-hero-content>span{color:#ffd760;font-size:11px;font-weight:900}
body[data-experience="command"] .supv2-asset-hero-content h3{font-size:clamp(24px,3vw,34px);font-weight:900;margin:0;color:white}
body[data-experience="command"] .supv2-asset-hero-content p{font-size:15px;color:#d6e8f0;margin:0}
body[data-experience="command"] .supv2-asset-hero-content small{color:#d6e6ef;line-height:1.5}
body[data-experience="command"] .supv2-asset-facts{display:flex;flex-wrap:wrap;gap:7px}
body[data-experience="command"] .supv2-asset-facts span{background:#fff2ca;color:#153147;padding:7px 9px;border-radius:8px;font-size:10px;font-weight:850}
@media(max-width:850px){
 body[data-experience="command"] .supv2-production-columns{grid-template-columns:minmax(0,1fr)}
 body[data-experience="command"] .supv2-production-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-experience="command"] .supv2-asset-hero{grid-template-columns:minmax(0,1fr)}
 body[data-experience="command"] .supv2-asset-photo{min-height:180px}
}
@media(max-width:550px){
 body[data-experience="command"] .supv2-production-title{display:grid;padding:16px}
 body[data-experience="command"] .supv2-production-title .supv2-prod-tag{white-space:normal;max-width:max-content}
 body[data-experience="command"] .supv2-production-kpis{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}
 body[data-experience="command"] .supv2-production-kpi{padding:12px}
 body[data-experience="command"] .supv2-production-kpi strong{font-size:23px}
 body[data-experience="command"] .supv2-production-panel{padding:13px}
 body[data-experience="command"] .supv2-production-tablewrap table{min-width:580px}
 body[data-experience="command"] .supv2-asset-hero-content{padding:15px}
}

/* Preserve S04 heading below the sticky SUPERVISOR navigation during in-page transitions. */
body[data-experience="command"] #supV2Production{scroll-margin-top:112px}
@media(max-width:680px){body[data-experience="command"] #supV2Production{scroll-margin-top:84px}}

/* REFINERÍA A4 — prioridades, estado de consulta y procedencia de S02. */
body[data-experience="command"] .supv2-attention{
 background:#fff;border:1px solid #b7d0df;border-left:5px solid #e9a923;
 border-radius:14px;padding:17px 19px;display:grid;gap:10px;
 box-shadow:0 5px 15px #093a5215;color:#15384f;min-width:0;
}
body[data-experience="command"] .supv2-attention-head{
 display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
body[data-experience="command"] .supv2-attention-head small{
 display:block;font-size:10px;letter-spacing:.07em;font-weight:900;color:#6e5561;
}
body[data-experience="command"] .supv2-attention h3{
 margin:4px 0 0;font-size:18px;font-weight:900;color:#0c314a;
}
body[data-experience="command"] .supv2-attention-head>span{
 display:inline-block;background:#f8efd8;border:1px solid #e5c780;
 color:#4d421e;border-radius:30px;padding:7px 11px;font-size:11px;font-weight:900;
}
body[data-experience="command"] .supv2-attention p{margin:0;font-size:12px;line-height:1.55;color:#36596d}
body[data-experience="command"] .supv2-attention-list{
 display:grid;gap:7px;margin:0;padding:0;list-style:none;
}
body[data-experience="command"] .supv2-attention-row{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 border:1px solid #d7e3e9;border-left:4px solid #d19c30;border-radius:8px;
 padding:10px 12px;background:#f6f9fb;font-size:12px;line-height:1.5;
}
body[data-experience="command"] .supv2-attention-row[data-tone="error"]{
 border-left-color:#ba3943;background:#fff7f7;
}
body[data-experience="command"] .supv2-attention-row strong{
 color:#0f3651;font-variant-numeric:tabular-nums;font-size:15px;
}
body[data-experience="command"] .supv2-attention-source{
 font-size:10px;line-height:1.6;color:#4c697d;overflow-wrap:anywhere;
}
body[data-experience="command"] .supv2-attention-error{
 background:#fff6f4;border-left-color:#b73844;
}
body[data-experience="command"] .supv2-attention-error button{
 background:#0c3d57;border:0;color:#fff;border-radius:8px;
 font-weight:800;padding:10px 14px;max-width:max-content;
}
body[data-experience="command"] .supv2-fleet-provenance{
 background:#eaf4f8;border:1px solid #b5d5e1;border-left:5px solid #e3ac28;
 border-radius:12px;padding:13px 16px;margin:10px 0;display:grid;gap:5px;min-width:0;
}
body[data-experience="command"] .supv2-fleet-provenance strong{
 font-size:13px;font-weight:900;color:#0c3750;
}
body[data-experience="command"] .supv2-fleet-provenance p{
 font-size:12px;font-weight:800;color:#1c546f;margin:0;
}
body[data-experience="command"] .supv2-fleet-provenance small{
 font-size:11px;color:#3c6679;line-height:1.5;
}
@media(max-width:680px){
 body[data-experience="command"] .supv2-attention{padding:12px;gap:9px}
 body[data-experience="command"] .supv2-attention h3{font-size:16px}
 body[data-experience="command"] .supv2-attention-row{padding:8px 10px}
 body[data-experience="command"] .supv2-fleet-provenance{padding:11px}
}


/* REFINERÍA A5 · Visual hierarchy, progressive technical detail and real source semantics. */
body[data-experience="command"] .supv2-technical{
 min-width:0;max-width:100%;width:100%;box-sizing:border-box;
 border:1px solid #bed3df;border-radius:14px;background:#fff;
 box-shadow:0 5px 18px #0b325018;margin:10px 0;overflow:hidden;
}
body[data-experience="command"] .supv2-technical>summary{
 cursor:pointer;display:flex;align-items:center;justify-content:space-between;
 gap:12px;min-height:48px;padding:15px 18px;
 background:linear-gradient(100deg,#f5f9fc,#eaf3f8);
 color:#103750;list-style:none;font-size:14px;font-weight:900;
}
body[data-experience="command"] .supv2-technical>summary::-webkit-details-marker{display:none}
body[data-experience="command"] .supv2-technical>summary::after{
 content:"+";flex-shrink:0;border:1px solid #acc7d5;background:#fff;
 border-radius:50%;height:27px;width:27px;display:grid;place-items:center;
 font-size:20px;line-height:1;font-weight:700;color:#0e4565;
}
body[data-experience="command"] .supv2-technical[open]>summary::after{content:"−"}
body[data-experience="command"] .supv2-technical>summary small{
 font-size:11px;color:#46697c;font-weight:600;margin-left:auto;line-height:1.4;
}
body[data-experience="command"] .supv2-technical>*:not(summary){margin:12px;max-width:calc(100% - 24px)}
body[data-experience="command"] #supV2Technical #commandBrief{margin-top:15px}
body[data-experience="command"] #supV2Technical .table-scroll{max-width:100%;overflow:auto}
body[data-experience="command"] .supv2-fleet-technical>.fleet-desktop-table{overflow-x:auto}
body[data-experience="command"] .supv2-fleet-technical:not([open]) .fleet-desktop-table{display:none!important}
body[data-experience="command"] .supv2-report-primary{
 border:1px solid #9fbfcf;border-top:5px solid #e6b02d;
 box-shadow:0 9px 24px #092f481e;
}
body[data-experience="command"] .supv2-report-primary .section-title-row h3{
 font-size:clamp(18px,2.1vw,24px);line-height:1.2;color:#092f49;
}
body[data-experience="command"] .supv2-report-primary .button-row>button.primary{
 background:linear-gradient(120deg,#ffc72d,#f3a50b);
 border-color:#b97b0b;color:#172b35;font-weight:900;
}
body[data-experience="command"] .supv2-report-primary .status-line{
 font-size:12px;line-height:1.6;color:#4d6a79;
}
body[data-experience="command"] .supv2-report-advanced #fleetProductionReport{
 margin:0;border:0;box-shadow:none;padding:12px;
}
body[data-experience="command"] .supv2-hero{min-height:234px}
body[data-experience="command"] .supv2-hero>img{height:100%}
body[data-experience="command"] .supv2-hero-actions button{min-height:42px}
body[data-experience="command"] #fleetCards .fleet-card .badge{
 font-size:10px;white-space:normal;text-align:center;line-height:1.3;
}
body[data-experience="command"] #fleetCards .fleet-card{
 transition:transform .16s ease,box-shadow .16s ease;
}
@media(hover:hover){
 body[data-experience="command"] #fleetCards .fleet-card:hover{
  transform:translateY(-2px);box-shadow:0 9px 21px #092a4535;
 }
}
body[data-experience="command"] .supv2-technical>summary:focus-visible,
body[data-experience="command"] .supv2-hero-actions button:focus-visible,
body[data-experience="command"] #fleetCards .fleet-open-asset:focus-visible{
 outline:3px solid #edb20b;outline-offset:3px;
}
@media(max-width:680px){
 body[data-experience="command"] .supv2-technical>summary{
  padding:12px;min-height:44px;font-size:12px;flex-wrap:wrap;
 }
 body[data-experience="command"] .supv2-technical>summary small{
  flex-basis:100%;order:3;margin:0;font-size:10px;
 }
 body[data-experience="command"] .supv2-technical>*:not(summary){
  margin:8px;max-width:calc(100% - 16px);
 }
 body[data-experience="command"] .supv2-hero{min-height:204px}
 body[data-experience="command"] .supv2-hero-actions button{min-height:42px}
 body[data-experience="command"] .supv2-report-primary .button-row{display:grid;grid-template-columns:1fr}
 body[data-experience="command"] .supv2-report-primary .button-row button{width:100%;min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 body[data-experience="command"] #fleetCards .fleet-card{transition:none}
}

/* A5 mobile drill-down: the technical table is opt-in but remains usable when expanded. */
@media(max-width:680px){
 body[data-experience="command"] #supV2FleetTechnical[open] .fleet-desktop-table{
  display:block!important;max-width:100%;width:100%;overflow-x:auto;overflow-y:auto;
 }
 body[data-experience="command"] #supV2FleetTechnical[open] table{
  min-width:940px;width:max-content;
 }
}


/* ATT-MO-SUPERVISOR-A5 — Búsqueda sobre flota configurada, sin añadir controles a FIELD. */
body[data-experience="command"] .supv2-fleet-search{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:850;color:#14364d;order:-1;grid-column:1/-1}
body[data-experience="command"] #supV2FleetSearch{
 width:100%;min-height:44px;box-sizing:border-box;appearance:auto;
 border:1px solid #aec7d5;border-radius:9px;background:#fff;color:#092b44;
 padding:11px 13px;font:inherit;font-size:14px;box-shadow:0 2px 6px #092b4420;
}
body[data-experience="command"] #supV2FleetSearch:focus-visible{outline:3px solid #e8b11f;outline-offset:2px}
body[data-experience="command"] #supV2FleetSearch::placeholder{color:#61798b;opacity:1}


/* ATT-MO-SUPERVISOR-A5 × ASSET-MASTER-001 · ficha premium y procedencia sin inventario físico inventado. */
body[data-experience="command"] .supv2-reference-roster{min-width:0;margin:10px 0;color:#143b53}
body[data-experience="command"] #supV2OemReferenceDetails{border:1px solid #b8d0db;background:#f5f9fc;border-radius:13px;overflow:hidden}
body[data-experience="command"] #supV2OemReferenceDetails>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;color:#103850;font-size:13px;font-weight:900}
body[data-experience="command"] #supV2OemReferenceDetails>summary span{color:#6b4e09;font-size:11px}
body[data-experience="command"] #supV2OemReferenceDetails[open]>summary{background:#e7f0f6;border-bottom:1px solid #b8d0db}
body[data-experience="command"] .supv2-family-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 16px 0;flex-wrap:wrap}
body[data-experience="command"] .supv2-family-heading span{font-size:10px;font-weight:800;color:#49697d}
body[data-experience="command"] .supv2-family-heading h3{margin:4px 0;font-size:17px;color:#082f49}
body[data-experience="command"] .supv2-reference-roster p{margin:10px 16px;color:#35586c;font-size:12px;line-height:1.6}
body[data-experience="command"] .supv2-reference-roster>details>small{display:block;margin:5px 16px 14px;color:#506c7c;line-height:1.5}
body[data-experience="command"] .supv2-family-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:8px 16px}
body[data-experience="command"] .supv2-family-card{display:grid;gap:6px;align-content:start;min-width:0;background:#fff;border:1px solid #c7d8e2;border-top:3px solid #e6b42e;border-radius:10px;padding:12px}
body[data-experience="command"] .supv2-family-card strong{overflow-wrap:anywhere;color:#0e3450;font-size:12px;line-height:1.3}
body[data-experience="command"] .supv2-family-card small{font-size:11px;color:#426378;line-height:1.3}
body[data-experience="command"] .supv2-family-card span{font-size:10px;color:#7b560f;font-weight:800}
body[data-experience="command"] .supv2-asset-reference{background:#fff8e6;border:1px solid #e6ca7e;border-left:5px solid #eab42b;border-radius:12px;padding:14px 17px;color:#223e4f;display:grid;gap:8px;min-width:0}
body[data-experience="command"] .supv2-asset-reference>strong{font-size:14px;color:#133c56}
body[data-experience="command"] .supv2-asset-reference>p{font-size:12px;margin:0;line-height:1.6}
body[data-experience="command"] .supv2-asset-reference>div{display:flex;flex-wrap:wrap;gap:6px}
body[data-experience="command"] .supv2-asset-reference>div span{background:white;border:1px solid #ddcda0;border-radius:7px;font-size:11px;font-weight:750;padding:8px}
body[data-experience="command"] .supv2-asset-reference>small{color:#6c5a2d;line-height:1.5}
body[data-experience="command"] .supv2-asset-tabs{min-width:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:9px 3px 5px;border-bottom:2px solid #aec7d5}
body[data-experience="command"] .supv2-asset-tabs button{flex:0 0 auto;border-radius:9px 9px 0 0;background:#e9f1f6;color:#153b53;border:1px solid #c4d5dd;border-bottom:none;min-height:45px;padding:9px 14px;font-size:12px;font-weight:850}
body[data-experience="command"] .supv2-asset-tabs button[aria-selected="true"]{background:#093450;color:#fff;border-color:#0b3955;box-shadow:inset 0 -4px #e8b529}
body[data-experience="command"] .supv2-asset-tabs button:focus-visible{outline:3px solid #e4b025;outline-offset:2px}
body[data-experience="command"] .supv2-asset-panel{display:grid;gap:12px;padding-top:13px;min-width:0;align-content:start}
body[data-experience="command"] .supv2-asset-panel[hidden]{display:none!important}
body[data-experience="command"] .supv2-asset-panel>.card{margin:0;min-width:0}
body[data-experience="command"] .supv2-asset-document-note{border:1px solid #c4d5dd;border-top:4px solid #edbd2e;border-radius:12px;padding:18px;background:#fff}
body[data-experience="command"] .supv2-asset-document-note h3{margin:0 0 10px;color:#0a334f;font-size:17px}
body[data-experience="command"] .supv2-asset-document-note p{color:#385668;font-size:13px;line-height:1.65}
@media(max-width:1000px){body[data-experience="command"] .supv2-family-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){
 body[data-experience="command"] .supv2-family-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}
 body[data-experience="command"] #supV2OemReferenceDetails>summary{font-size:11px;padding:13px;flex-wrap:wrap}
 body[data-experience="command"] .supv2-reference-roster p{margin:10px;font-size:11px}
 body[data-experience="command"] .supv2-asset-reference{padding:12px}
 body[data-experience="command"] .supv2-asset-tabs button{font-size:11px;padding:8px 11px;min-height:44px}
 body[data-experience="command"] .supv2-asset-panel>.card{padding:13px}
}
@media(prefers-reduced-motion:reduce){body[data-experience="command"] .supv2-asset-tabs button{scroll-behavior:auto}}


/* ATT-MO-SAM-HANDOFF-001 · bandeja de intercambio manual separada de R01 remoto */
body[data-experience="command"] .supv2-sam-inbox{min-width:0;display:grid;gap:13px;background:#f8fbfd;border:1px solid #b6ceda;border-top:5px solid #e5b529;border-radius:14px;padding:18px;color:#15354a;box-shadow:0 4px 18px #072a4312}
body[data-experience="command"] .supv2-sam-inbox-head{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}
body[data-experience="command"] .supv2-sam-inbox-head span{font-weight:900;font-size:10px;letter-spacing:.09em;color:#996a16}
body[data-experience="command"] .supv2-sam-inbox-head h3{margin:5px 0;font-size:19px;color:#0b3654}
body[data-experience="command"] .supv2-sam-inbox-badge{border:1px solid #d8b55c;background:#fff5dc;padding:8px;border-radius:9px}
body[data-experience="command"] .supv2-sam-inbox>p{font-size:12px;color:#4c6473;margin:0;line-height:1.7}
body[data-experience="command"] .supv2-sam-inbox-upload{display:grid;gap:9px;max-width:550px;padding:13px;border-radius:12px;border:1px dashed #5d8ea6;font-size:13px;font-weight:850;background:#e8f3f8}
body[data-experience="command"] .supv2-sam-inbox-upload input{font:inherit;font-size:12px;max-width:100%;min-height:44px;color:#12354d}
body[data-experience="command"] .supv2-sam-inbox-upload input:focus-visible{outline:3px solid #e4b528;outline-offset:2px}
body[data-experience="command"] .supv2-sam-inbox-status{min-height:1.3em;font-weight:750}
body[data-experience="command"] .supv2-sam-inbox-list{display:grid;gap:9px}
body[data-experience="command"] .supv2-sam-case{display:grid;gap:7px;min-width:0;overflow-wrap:anywhere;background:#fff;border:1px solid #c7d8e1;border-left:4px solid #e1b22c;border-radius:10px;padding:14px}
body[data-experience="command"] .supv2-sam-case strong{font-size:14px;color:#123e59}
body[data-experience="command"] .supv2-sam-case small{font-size:11px;color:#516b7b}
body[data-experience="command"] .supv2-sam-case p{font-size:12px;margin:0;line-height:1.6}
body[data-experience="command"] .supv2-sam-case a{font-size:12px;text-decoration:underline;color:#07618f;font-weight:800;max-width:max-content}
@media(max-width:560px){body[data-experience="command"] .supv2-sam-inbox{padding:13px}body[data-experience="command"] .supv2-sam-inbox-head h3{font-size:17px}}

body[data-experience="command"] .supv2-sam-inbox-report{margin-top:5px;justify-self:start;min-height:44px;border:0;border-radius:8px;padding:10px 13px;background:#0b4564;color:white;font-size:12px;font-weight:850;cursor:pointer}
body[data-experience="command"] .supv2-sam-inbox-report:focus-visible{outline:3px solid #e9b329;outline-offset:2px}
