/* MSI 3.0 — reference-led industrial analytics, shared by every real view. */
:root{--msi-side:232px;--bg:#f4f7fb;--card:#fff;--text:#0f172a;--muted:#64748b;--blue:#2563eb;--border:#e2e8f0;--navy:#102a43;--radius:11px;color-scheme:light}
html,body{background:#f4f7fb!important;color:#0f172a!important;font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:13px;margin:0;max-width:100%}
*{box-sizing:border-box}button,input,select{font:inherit}button{touch-action:manipulation}.app{display:block!important;min-height:100vh}.topbar{display:none!important}.workspace{display:contents!important}
.msi-sidebar{position:fixed;inset:0 auto 0 0;width:var(--msi-side);z-index:70;background:linear-gradient(180deg,#fff 70%,#f4f8ff);border-right:1px solid #dce7f3;display:flex;flex-direction:column;transition:width 250ms ease,transform 250ms ease}
.msi-sidebar .app-brand{display:flex;align-items:center;gap:10px;padding:20px 14px 17px;min-height:74px}.msi-sidebar .logo-slot{width:44px;height:36px;border:0;background:transparent;padding:0;flex-shrink:0}.msi-sidebar .logo-slot img{width:44px;height:auto}.msi-sidebar .app-brand strong{font-size:13px;letter-spacing:-.5px;line-height:1.25;color:#102a43}.msi-sidebar .app-brand small{display:block;font-size:10px;color:#2563eb;margin-top:4px;text-transform:uppercase;letter-spacing:1px}
.msi-sidebar .tabs{display:block!important;overflow-y:auto;overflow-x:hidden;flex:1;border:0;padding:0 12px;position:static;white-space:normal;background:transparent;scrollbar-width:thin}.nav-group>p{font-size:8px;font-weight:750;letter-spacing:1.3px;color:#8394ad;margin:15px 12px 6px}.msi-sidebar .tab{display:flex;align-items:center;gap:10px;width:100%;min-height:39px;padding:8px 10px;margin:2px 0;border:0!important;border-radius:7px;background:transparent;color:#183357;font-weight:500;text-align:left;font-size:11px;white-space:nowrap;transition:background 160ms,color 160ms}.msi-sidebar .tab:hover{background:#edf4ff;color:#2563eb}.msi-sidebar .tab.active{background:linear-gradient(100deg,#1456ed,#2586ff)!important;color:white!important;box-shadow:0 4px 10px #2563eb1c}.msi-sidebar .tab img{width:25px;height:22px;object-fit:contain;flex-shrink:0}.msi-sidebar .tab.active img{filter:brightness(0) invert(1)}
.sidebar-footer{display:flex;align-items:center;gap:8px;padding:14px 12px;border-top:1px solid #e8eef8}.sidebar-footer b{font-size:11px}.sidebar-footer small{display:block;font-size:9px;color:#64809e;margin-top:3px}.site-avatar{display:grid;place-items:center;border-radius:50%;width:31px;height:31px;background:#e2efff;color:#2563eb;font-size:10px;font-weight:750}.sidebar-footer .btn{margin-left:auto;padding:4px;min-width:22px}.sidebar-scrim{display:none}
.control-bar{position:sticky!important;top:0;z-index:55;margin-left:var(--msi-side);min-height:64px;padding:10px 16px!important;width:calc(100% - var(--msi-side));background:#f8fbffed!important;backdrop-filter:blur(9px);border-bottom:1px solid #e0e9f4}.top-actions{display:flex!important;align-items:center;gap:10px;max-width:none!important;width:100%;padding:0!important;margin:0!important;flex-wrap:wrap}.filter-group{display:flex;gap:8px;align-items:center;margin:0!important;flex:0 1 auto!important}.action-group{display:flex;gap:6px;align-items:center;margin-left:auto!important;padding-left:8px!important;border:0!important}.select,.search,.btn{min-height:36px;border-radius:6px!important;background:#fff;color:#183457;border:1px solid #dbe5f2!important;box-shadow:0 2px 5px #19375e04}.btn{font-size:11px;font-weight:600;padding:8px 12px;white-space:nowrap}.btn-primary{background:#2563eb!important;color:white!important;border-color:#2563eb!important}.btn:hover{border-color:#b0c9ef!important}.site-chip{font-weight:650;font-size:11px;background:white;border:1px solid #dfebf8;border-radius:6px;padding:9px 13px}.network-pill{font-size:10px!important;padding:6px 10px!important;white-space:nowrap}.refresh-status{order:9;width:100%;font-size:10px;min-height:0;margin:0!important}.refresh-status:empty{display:none}.date-range-button{min-width:176px;font-size:12px!important}.filter-group #shiftSelect{min-width:115px!important}.icon-button{font-size:17px}.top-actions>#sidebarMenu{display:none}
.shell{max-width:none!important;width:auto!important;margin:0 0 0 var(--msi-side)!important;padding:14px 16px 24px!important;min-width:0}.headline{min-height:155px!important;max-height:none!important;border-radius:11px!important;padding:21px 24px!important;margin:0 0 13px!important;background:linear-gradient(90deg,#e5f2ff 0%,#e9f4ffc9 32%,#e5f1ff00 66%),url('/assets/mine-hero.svg') center right/cover!important;border:1px solid #dfeaf7;box-shadow:none!important;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.headline .eyebrow{font-size:11px;color:#1c477e;letter-spacing:.2px;text-transform:none}.headline h1{font-size:26px!important;line-height:1.15;margin:5px 0!important;letter-spacing:-.8px;color:#102a43}.headline h2{font-size:14px!important;margin:6px 0;color:#214674}.headline p{font-size:11px!important;margin:7px 0;color:#4f7193;max-width:620px}.headline-facts{font-size:11px}.headline-meta{display:block!important;background:#173e5ed9;color:white!important;padding:16px 20px;border-radius:10px;max-width:240px}.headline-meta small{color:#d2e7fb!important;display:block;margin-top:8px}.headline-meta b{font-size:11px}
.card,.bd-card,.fuel-card{background:white!important;border:1px solid #e1eaf5!important;border-radius:10px!important;box-shadow:0 2px 7px #13335d03!important;color:#122b49;min-width:0}.section{padding:16px!important}.section-head{margin-bottom:13px!important;gap:8px}.section-head h3,h3{font-size:15px!important;line-height:1.3;color:#102a43;letter-spacing:-.3px;margin:0}.section-head small,.muted{font-size:11px;color:#71869d}.section-head small{display:block;margin-top:4px}.hint{font-size:9px!important;padding:4px 7px!important;background:#f0f6ff!important;border:1px solid #dfebff!important;color:#2563eb!important}
.executive-overview{display:flex;flex-direction:column;gap:12px}.overview-kpi-title,.advanced-heading{display:none!important}.executive-kpi-strip{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px!important;margin:0!important}.meeting-kpi{min-width:0}.meeting-kpi>.kpi{height:100%;min-height:104px!important;padding:12px 10px 12px 57px!important;border-top:1px solid #e1eaf5!important;position:relative}.kpi-illustration{position:absolute;left:10px;top:14px;width:39px;height:39px;border-radius:50%;background:#edf5ff;display:grid;place-items:center}.kpi-illustration img{max-width:37px;height:31px}.kpi .label{font-size:10px!important;line-height:1.2;color:#214b75!important}.kpi .value{font-size:22px!important;line-height:1.3;font-weight:750;letter-spacing:-.6px;color:#102a43!important;margin:6px 0!important;white-space:normal}.kpi .sub{font-size:9px!important;color:#7391ad!important;line-height:1.4}.kpi-top-row{display:block}.kpi-badge{font-size:8px!important}.kpi{position:relative;padding-left:62px!important}.kpi-unavailable .value{color:#8da2b8!important}
.msi-analysis-row{display:grid;grid-template-columns:1.6fr .85fr 1.05fr;gap:12px}.msi-mid-row{display:grid;grid-template-columns:1.28fr 1fr;gap:12px}.msi-bottom-row{display:grid;grid-template-columns:1fr 1fr 1fr 1.12fr;gap:12px}.msi-analysis-row>.section{min-height:240px}.msi-mid-row>.section{min-height:270px}.msi-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.msi-panel-head h3{font-size:14px!important}.msi-panel-head a{font-size:10px;color:#2563eb;text-decoration:none;white-space:nowrap;background:#eff6ff;padding:3px 8px;border-radius:6px;border:1px solid #dbeafe;font-weight:600;transition:all 140ms}.msi-panel-head a:hover{background:#dbeafe;color:#1d4ed8}.metric-tabs{display:flex;background:#f0f5fc;border-radius:5px;padding:3px;gap:2px}.metric-tabs button{padding:5px 8px;border:0;border-radius:4px;color:#315174;background:transparent;font-size:10px}.metric-tabs button[aria-pressed=true]{background:#2878f5;color:white}.msi-chart-scroll{overflow-x:auto;padding:3px 0}.msi-production-chart{position:relative;min-width:330px;height:181px;margin:0 5px 8px 30px;border-bottom:2px solid #cbd5e1;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#e9f0f8 45px)}.msi-production-chart svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;filter:drop-shadow(0 2px 3px rgba(239,68,68,0.35))}.msi-prod-columns{height:100%;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(20px,1fr);gap:6px;align-items:end;padding-bottom:1px}.msi-prod-col{height:100%;position:relative;border:0;background:transparent;padding:0;display:flex;align-items:end;justify-content:center;color:#41658e}.msi-prod-col .column{width:82%;background:linear-gradient(90deg,#1d6ed8 0%,#3b9bff 35%,#70baff 65%,#1e5fc2 100%);border-radius:4px 4px 1px 1px;min-height:2px;border:1px solid #2563eb;border-bottom:none;box-shadow:2px 0 5px rgba(15,23,42,0.18),inset 0 2px 2px rgba(255,255,255,0.7),inset -1px 0 2px rgba(0,0,0,0.25);position:relative;transition:transform 180ms cubic-bezier(.34,1.56,.64,1),filter 180ms ease,box-shadow 180ms ease}.msi-prod-col .column::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;border-radius:4px 4px 50% 50%;background:linear-gradient(180deg,rgba(255,255,255,0.85) 0%,rgba(255,255,255,0.2) 100%);pointer-events:none}.msi-prod-col:hover .column{transform:translateY(-3px) scaleY(1.02);filter:brightness(1.08) drop-shadow(0 6px 12px rgba(37,99,235,0.35))}.msi-prod-col>small{position:absolute;bottom:-17px;font-size:8px;white-space:nowrap;font-weight:600}.msi-chart-legend{display:flex;gap:15px;justify-content:flex-end;color:#6683a3;font-size:9px;margin-top:20px}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px;box-shadow:0 1px 2px rgba(0,0,0,0.2)}.chart-axis{position:absolute;right:calc(100% + 6px);top:-5px;bottom:0;display:flex;flex-direction:column;justify-content:space-between;font-size:8px;color:#6584a6;white-space:nowrap;font-weight:600}.shift-bars{gap:14px!important;padding:12px 0}.shift-bar{grid-template-columns:26px minmax(30px,1fr) 78px!important;gap:8px!important;border:0!important;padding:7px 0!important;background:transparent!important}.shift-bar b{font-size:10px!important}.shift-track{height:24px!important;background:#e2e8f0!important;border-radius:999px!important;border:1px solid #cbd5e1!important;box-shadow:inset 0 2px 5px rgba(15,23,42,0.16),inset 0 -1px 1px rgba(255,255,255,0.9)!important;padding:2px!important;box-sizing:border-box}.shift-track i{display:block;height:100%;border-radius:999px!important;background:linear-gradient(180deg,#93c5fd 0%,#3b82f6 30%,#1d4ed8 75%,#172554 100%)!important;box-shadow:0 2px 6px rgba(37,99,235,0.4),inset 0 2px 2px rgba(255,255,255,0.7),inset 0 -2px 3px rgba(0,0,0,0.3)!important;transition:width .4s ease}.shift-bar:first-child .shift-track i{background:linear-gradient(180deg,#fef08a 0%,#f59e0b 35%,#d97706 75%,#78350f 100%)!important;box-shadow:0 2px 6px rgba(245,158,11,0.45),inset 0 2px 2px rgba(255,255,255,0.8),inset 0 -2px 3px rgba(0,0,0,0.3)!important}.shift-bar:last-child .shift-track i{background:linear-gradient(180deg,#a7f3d0 0%,#10b981 35%,#059669 75%,#064e3b 100%)!important;box-shadow:0 2px 6px rgba(16,185,129,0.45),inset 0 2px 2px rgba(255,255,255,0.8),inset 0 -2px 3px rgba(0,0,0,0.3)!important}.shift-bar:hover .shift-track i{filter:brightness(1.1)}
.msi-donut-row{display:flex;align-items:center;gap:18px;margin:18px 0 10px}.msi-donut{width:142px;min-width:142px;height:142px;border-radius:50%;position:relative;display:grid;place-items:center;transform:perspective(650px) rotateX(24deg) rotateZ(-10deg);transform-style:preserve-3d;box-shadow:0 3px 0 #cbd5e1,0 6px 0 #94a3b8,0 9px 0 #64748b,0 16px 26px rgba(15,23,42,0.28),inset 0 3px 6px rgba(255,255,255,0.65),inset 0 -3px 6px rgba(0,0,0,0.35);transition:transform 300ms cubic-bezier(.34,1.56,.64,1),box-shadow 300ms ease}.msi-donut:hover{transform:perspective(650px) rotateX(16deg) rotateZ(-5deg) translateY(-4px);box-shadow:0 4px 0 #cbd5e1,0 8px 0 #94a3b8,0 12px 0 #64748b,0 22px 32px rgba(15,23,42,0.32),inset 0 4px 8px rgba(255,255,255,0.75),inset 0 -4px 8px rgba(0,0,0,0.4)}.msi-donut:before{content:'';position:absolute;inset:26px;background:radial-gradient(circle at 45% 35%,#ffffff 0%,#f1f5f9 80%,#e2e8f0 100%);border-radius:50%;box-shadow:inset 0 8px 14px rgba(15,23,42,0.28),inset 0 -3px 6px rgba(255,255,255,0.95),0 2px 4px rgba(0,0,0,0.08)}.msi-donut-label{position:relative;text-align:center;font-size:10px;color:#475569;transform:perspective(650px) rotateX(-10deg);z-index:2}.msi-donut-label strong{font-size:18px;display:block;color:#0f172a;font-weight:800;letter-spacing:-.3px;text-shadow:0 1px 2px rgba(255,255,255,0.8)}.event-legend{flex:1;display:grid;gap:7px}.event-legend button{display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;background:transparent;padding:2px 0;font-size:9px;text-align:left;color:#416184}.event-legend b{font-size:9px;white-space:nowrap}.event-legend span{white-space:nowrap}.msi-basis{font-size:9px;color:#8295ab;line-height:1.5;margin-top:9px}.msi-waterfall-layout{display:grid;grid-template-columns:minmax(0,1fr) 175px;gap:13px}.waterfall-chart{height:188px!important;min-width:330px!important;margin-top:6px!important}.wf-grid{height:165px!important}.wf-value{font-size:10px!important}.wf-label{font-size:9px!important;line-height:1.3}.wf-axis{font-size:8px!important}.waterfall-equation{font-size:9px!important;padding:8px 0!important;gap:7px!important}.waterfall-main{overflow:hidden}.waterfall-main .msi-chart-scroll{min-width:0}.waterfall-contributors{background:#f8faff;padding:11px;border-radius:7px}.waterfall-contributors h4{font-size:11px;margin:0 0 12px}.contributor-row{display:flex;justify-content:space-between;gap:6px;font-size:10px;margin:10px 0;color:#375a7e}.contributor-row b{white-space:nowrap;color:#153457}.wf-plot{position:relative}.wf-col:not(:last-child) .wf-plot:after{content:'';position:absolute;left:100%;top:30%;width:18px;border-top:1px dashed #b7c9dc;pointer-events:none}.msi-fleet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.equipment-tile{display:flex;flex-direction:column;align-items:center;gap:3px;border:1px solid #e2ecf7;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border-radius:8px;padding:9px 5px;min-width:0;text-decoration:none;color:#1d3f65;box-shadow:0 1px 3px rgba(15,23,42,0.06);transition:transform 180ms cubic-bezier(.34,1.56,.64,1),box-shadow 180ms ease,border-color 180ms ease}.equipment-tile:hover{transform:translateY(-3px);border-color:#b9d5f7;box-shadow:0 8px 18px rgba(16,42,67,0.12),0 2px 4px rgba(16,42,67,0.06)}.equipment-tile span{font-size:10px;text-align:center}.equipment-tile b{font-size:13px}.equipment-tile small{font-size:8px;color:#758ca5}.equipment-icon{object-fit:contain;vertical-align:middle;flex-shrink:0;filter:drop-shadow(0 3px 5px rgba(16,42,67,0.18)) drop-shadow(0 1px 2px rgba(16,42,67,0.12));transition:transform 200ms cubic-bezier(.34,1.56,.64,1),filter 200ms ease}.equipment-tile:hover .equipment-icon{transform:scale(1.06);filter:drop-shadow(0 6px 10px rgba(16,42,67,0.22)) drop-shadow(0 2px 3px rgba(16,42,67,0.14)) saturate(1.15)}.unitlink img{margin-right:7px}.unit-title img{vertical-align:middle;margin-right:18px}.msi-ranking{width:100%;font-size:10px}.msi-ranking th{padding:6px 4px!important;font-size:9px}.msi-ranking td{padding:8px 4px!important;font-size:10px}.rank-number{background:#fff2d5;color:#c98a10;border-radius:4px;padding:3px 5px}.msi-mini-progress{height:6px;max-width:80px;border-radius:999px;background:#e2e8f0;box-shadow:inset 0 1px 3px rgba(15,23,42,0.18),inset 0 -1px 1px rgba(255,255,255,0.8);margin-top:4px;overflow:hidden;padding:1px}.msi-mini-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(180deg,#93c5fd 0%,#3b82f6 40%,#1d4ed8 80%,#1e3a8a 100%);box-shadow:0 1px 2px rgba(37,99,235,0.3),inset 0 1px 1px rgba(255,255,255,0.7)}.fuel-spotlight{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 2px}.fuel-spotlight-left{display:flex;align-items:center;gap:10px;min-width:0}.fuel-spotlight-icon{width:42px;height:42px;border-radius:50%;background:#e6f9ed;display:flex;align-items:center;justify-content:center;flex-shrink:0}.fuel-spotlight-icon img{width:26px;height:26px;object-fit:contain}.fuel-spotlight-val{min-width:0}.fuel-spotlight-val b{font-size:20px;font-weight:750;color:#0a3b66;letter-spacing:-.4px;line-height:1.15;display:block;white-space:nowrap}.fuel-spotlight-val small{display:block;color:#64748b;font-size:10px;font-weight:600;margin-bottom:2px}.fuel-trend-wrap{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex-shrink:0}.fuel-trend-pill{display:inline-flex;align-items:center;gap:2px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:700;line-height:1}.fuel-trend-pill.good{background:#dcfce7;color:#15803d}.fuel-trend-pill.warn{background:#fef2f2;color:#b91c1c}.fuel-trend-sub{font-size:9px;color:#64748b;white-space:nowrap}.fuel-water-visual{position:relative;width:100%;height:62px;margin:2px 0 10px;overflow:hidden;border-radius:6px;background:transparent}.fuel-water-tank{position:relative;width:100%;height:100%;overflow:hidden}.fuel-water-fill{position:absolute;bottom:0;left:0;right:0;width:100%;transition:height 800ms cubic-bezier(.4,0,.2,1);overflow:hidden}.fuel-wave-track{position:absolute;top:0;left:0;width:200%;height:100%;pointer-events:none}.fuel-wave-svg{display:block;width:100%;height:100%}.fuel-wave-back{animation:fuelWaveMoveBack 9s linear infinite;opacity:.55}.fuel-wave-front{animation:fuelWaveMoveFront 5.5s linear infinite}.fuel-wave-front-path{stroke:#2563eb;stroke-width:1.8;vector-effect:non-scaling-stroke}.fuel-wave-back-path{fill:rgba(147,197,253,.28);stroke:rgba(96,165,250,.45);stroke-width:1.2;vector-effect:non-scaling-stroke}.fuel-water-empty{display:flex;align-items:center;justify-content:center;height:100%;border-bottom:1px dashed #cbd5e1}@keyframes fuelWaveMoveFront{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}@keyframes fuelWaveMoveBack{0%{transform:translateX(-50%)}100%{transform:translateX(0)}}.mini-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-top:1px solid #e6eef8;padding-top:10px}.mini-kpis span{font-size:9px;color:#7590ad;display:block;white-space:nowrap}.mini-kpis b{font-size:14px;color:#102a43;display:block;margin-top:4px;white-space:nowrap;font-weight:750}.msi-insight{display:flex;gap:8px;padding:9px 0;border-bottom:1px solid #edf2f8;text-decoration:none;color:#153b63}.msi-insight b{font-size:11px}.msi-insight small{display:block;font-size:9px;color:#6c88a5;margin-top:4px;line-height:1.5}.msi-insight .equipment-icon{width:29px;height:29px}.msi-sources{display:flex;flex-wrap:wrap;gap:12px;font-size:10px;color:#587390;background:#edf4fc;padding:10px 13px;border-radius:8px}
table{color:#234869!important;font-size:11px!important}th{background:#f2f7fd!important;color:#375a7e!important;font-size:10px!important}td{border-bottom:1px solid #edf2f8!important}tbody tr:hover{background:#f6faff!important}.table-wrap,.detail-table{max-width:100%;overflow-x:auto;scrollbar-width:thin}.table-sort{border:0;background:transparent;padding:0;color:inherit;font:inherit;text-align:inherit;cursor:pointer}.table-sort span{color:#85a2c2;margin-left:4px}a{color:#2563eb}.empty{font-size:12px!important;color:#7e91a9!important;padding:22px!important;line-height:1.65}.view>.card,.view>section{margin-bottom:12px}.view>div{min-width:0}.view{min-width:0}.view h2{font-size:20px}.status-actual-grid{gap:8px}.status-actual{border-radius:8px!important}.status-actual strong{font-size:23px!important}.drawer{background:#f8fbff!important;border-left:1px solid #dce6f2;max-width:100vw}.drawer-head{background:white!important}.drawer-backdrop{z-index:200}.range-calendar{z-index:160!important}.density-compact .section{padding:11px!important}.density-compact td{padding-top:6px!important;padding-bottom:6px!important}.msi-preference-options{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.pairing-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px}.observation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.observation{padding:20px!important}.observation dl{display:grid;grid-template-columns:85px 1fr;gap:12px;font-size:12px;line-height:1.6}.observation dt{color:#6c87a2}.observation dd{margin:0}.meeting-mode .msi-sidebar{display:none}.meeting-mode{--msi-side:0px}.meeting-mode .headline{min-height:135px!important}.meeting-mode .kpi .value{font-size:26px!important}.sidebar-compact{--msi-side:76px}.sidebar-compact .nav-label,.sidebar-compact .nav-group>p,.sidebar-compact .app-brand>div:last-child,.sidebar-compact .sidebar-footer>div,.sidebar-compact .site-avatar{display:none}.sidebar-compact .msi-sidebar .tab{justify-content:center;padding:10px 4px}.sidebar-compact .msi-sidebar .app-brand{padding:20px 15px}.sidebar-compact .sidebar-footer{justify-content:center}.sidebar-compact .sidebar-footer .btn{margin:0}
@media(min-width:1600px){.msi-analysis-row>.section{min-height:250px}.msi-production-chart{height:183px}.msi-fleet-grid{gap:9px}.msi-donut{width:153px;min-width:153px;height:153px}.msi-bottom-row>.section{min-height:220px}}
@media(max-width:1450px){.headline h1{font-size:24px!important}.msi-donut{width:115px;min-width:115px;height:115px}.msi-donut:before{inset:22px}.msi-donut-row{gap:8px}.event-legend{gap:5px}.msi-waterfall-layout{grid-template-columns:minmax(0,1fr) 145px}.kpi .value{font-size:19px!important}.msi-fleet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.action-group .btn{padding:8px 9px;font-size:10px}}
@media(max-width:1280px) and (min-width:1101px){body{--msi-side:76px}.nav-label,.nav-group>p,.msi-sidebar .app-brand>div:last-child,.sidebar-footer>div,.site-avatar{display:none}.msi-sidebar .tab{justify-content:center;padding:10px 4px}.msi-sidebar .app-brand{padding:20px 15px}.sidebar-footer{justify-content:center}.msi-bottom-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){body{--msi-side:0px}.msi-sidebar{width:232px;transform:translateX(-100%)}.sidebar-open .msi-sidebar{transform:none}.sidebar-open .sidebar-scrim{display:block;position:fixed;inset:0;background:#102a4355;border:0;z-index:65}.top-actions>#sidebarMenu{display:block}.sidebar-compact .nav-label,.sidebar-compact .nav-group>p,.sidebar-compact .app-brand>div:last-child,.sidebar-compact .sidebar-footer>div,.sidebar-compact .site-avatar{display:revert}.sidebar-compact .msi-sidebar .tab{justify-content:flex-start}.msi-analysis-row{grid-template-columns:1.4fr 1fr}.msi-analysis-row>.card:last-child{grid-column:1/-1}.msi-donut-row{max-width:500px;margin:auto;gap:30px}.msi-mid-row{grid-template-columns:1fr 1fr}.msi-waterfall-layout{display:block}.waterfall-contributors{display:none}.msi-bottom-row{grid-template-columns:repeat(2,minmax(0,1fr))}.headline-meta{display:none!important}.network-pill,.site-chip{display:none!important}.control-bar{padding:9px 12px!important}.msi-fleet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi .value{font-size:21px!important}}
@media(max-width:767px){.shell{padding:12px 10px 24px!important}.control-bar{padding:8px 10px!important}.top-actions{gap:6px}.filter-group{flex:1!important;min-width:0}.date-range-control{flex:1;min-width:0}.date-range-button{min-width:0!important;width:100%;font-size:11px!important;padding:8px!important}.filter-group #shiftSelect{min-width:90px!important;width:90px}.action-group{width:100%;margin:0!important;padding:0!important;justify-content:flex-end}.action-group .btn{min-height:33px;padding:7px 9px;font-size:10px}.headline{min-height:140px!important;padding:18px!important;background:linear-gradient(90deg,#e7f2ff 0%,#e7f2ffed 45%,#e7f2ff55),url('/assets/mine-hero.svg') center/cover!important}.headline h1{font-size:23px!important}.headline p{max-width:95%;font-size:10px!important}.headline h2{font-size:12px!important}.executive-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}.meeting-kpi>.kpi{min-height:102px!important;padding-left:53px!important}.kpi .value{font-size:21px!important}.msi-analysis-row,.msi-mid-row,.msi-bottom-row,.pairing-layout,.observation-grid{grid-template-columns:1fr}.msi-analysis-row>.card:last-child{grid-column:auto}.msi-analysis-row>.section{min-height:230px}.msi-fleet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.msi-donut-row{gap:20px;justify-content:center}.msi-donut{width:135px;min-width:135px;height:135px}.event-legend{max-width:230px}.section{padding:14px!important}.msi-panel-head h3{font-size:14px!important}.msi-mid-row>.section{min-height:250px}.msi-waterfall-layout{display:block}.msi-bottom-row .section{min-height:170px}.headline-facts{font-size:10px}.observation dl{grid-template-columns:70px 1fr}.report-controls{grid-template-columns:1fr!important}.unit-timeline-grid{overflow-x:auto;min-width:0}.unit360-sections{grid-template-columns:1fr!important}.unit-title img{width:70px}.drawer{width:100vw!important}.sidebar-footer .btn{display:none}.source-health-row{font-size:11px}.msi-preference-options .btn{white-space:normal}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.equipment-tile:hover{transform:none}}
@media print{body{--msi-side:0px;background:#fff!important}.msi-sidebar,.control-bar,.sidebar-scrim,.metric-tabs,.msi-panel-head>a{display:none!important}.shell{margin:0!important;padding:0!important}.headline{background:#edf4fb!important;min-height:90px!important}.card{break-inside:avoid}.msi-analysis-row{grid-template-columns:1.5fr 1fr 1fr}.msi-mid-row{grid-template-columns:1.2fr 1fr}.msi-bottom-row{grid-template-columns:repeat(2,1fr)}.equipment-icon{print-color-adjust:exact}.reveal-item{opacity:1!important;transform:none!important}.wf-bar,.msi-donut,.column{print-color-adjust:exact}}
.wf-col:not(:last-child) .wf-plot:after{top:auto;bottom:var(--wf-running-position);width:18px}
.headline{background:linear-gradient(90deg,#e5f2ff 0%,#e9f4ffa0 40%,#e5f1ff00 72%),url('/assets/msi3-mine-hero.png') right 150px center/auto 100% no-repeat,#eaf4ff!important}
@media(max-width:1100px){.headline{background-position:center,right center!important}}
@media print{.headline{background:#edf4fb!important}}
.equipment-tile[hidden]{display:none!important}.report-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.report-controls label{display:grid;gap:7px}.drawer-title h3 .equipment-icon{margin-right:8px}.msi-panel-head .equipment-icon{margin-right:4px}
body .executive-overview .executive-kpi-strip .meeting-kpi .card.kpi{padding:12px 12px 12px 62px!important;border:1px solid #e1eaf5!important;min-height:100px!important;background:white!important}
body .executive-kpi-strip .kpi .label{font-size:11px!important;line-height:1.2;min-height:25px;color:#214b75!important}
body .executive-kpi-strip .kpi .value{font-size:clamp(18px,1.25vw,24px)!important;line-height:1.15!important;margin:3px 0 6px!important;white-space:normal!important}
body .executive-kpi-strip .kpi .sub{font-size:9px!important;line-height:1.4!important}
body .headline{background:linear-gradient(90deg,#e5f2ff 0%,#e9f4ffa0 40%,#e5f1ff00 72%),url('/assets/msi3-mine-hero.png') right 150px center/auto 100% no-repeat,#eaf4ff!important;min-height:155px!important}
body .headline .headline-meta b,body .headline .headline-meta small{color:#e7f3ff!important}
body .msi-sidebar .tab{font-size:12px}.refresh-status{order:0!important;width:auto!important;max-width:150px;font-size:9px!important}
body .executive-overview .msi-production-chart{height:136px!important;margin-bottom:18px!important}
body .msi-analysis-row>.section{min-height:235px!important}.msi-chart-legend{margin-top:7px}.msi-chart-scroll{padding-bottom:3px}
body .waterfall-equation{background:#f3f7fd!important;color:#567391!important;border:1px solid #e7eef8}.waterfall-equation b{color:#163f6b!important}
.msi-donut-label{z-index:1}.msi-donut-label strong{display:block!important;color:#102a43!important;font-size:18px!important;margin-bottom:4px}
.msi-mid-row>.section{min-height:245px!important}.msi-bottom-row>.section{min-height:185px!important}.msi-ranking td{font-size:11px!important}.msi-fleet-grid{align-content:start}.msi-sources{font-size:10px}
@media(max-width:767px){body .executive-overview .executive-kpi-strip .meeting-kpi .card.kpi{padding-left:57px!important}body .executive-kpi-strip .kpi .value{font-size:20px!important}body .headline{background:linear-gradient(90deg,#e5f2ff 0%,#e9f4ffe0 45%,#e5f1ff20),url('/assets/msi3-mine-hero.png') right center/auto 100% no-repeat,#eaf4ff!important}.refresh-status{order:8!important}.msi-panel-head a{white-space:normal;text-align:right;max-width:100px}}
@media print{body .headline{background:#edf4fb!important}.msi-sidebar{display:none!important}}
body:not([data-active-view="overview"]) .headline{min-height:108px!important;padding:16px 24px!important}body:not([data-active-view="overview"]) .headline h1{font-size:23px!important}.equipment-tile:focus-visible{outline:3px solid #8cb6ff;outline-offset:2px}.equipment-tile:hover .equipment-icon{filter:saturate(1.15)}.kpi-unavailable .equipment-icon{filter:grayscale(.75);opacity:.65}.msi-sidebar .tab:focus-visible,.btn:focus-visible{outline:3px solid #a3c8ff;outline-offset:2px}
body .shell .headline{background-image:linear-gradient(90deg,#e5f2ff 0%,#e9f4ffa0 40%,#e5f1ff00 72%),url('/assets/msi3-mine-hero.webp')!important;background-position:left center,right 150px center!important;background-size:cover,auto 100%!important;background-repeat:no-repeat!important}
.filter-group .native-shift{position:absolute!important;opacity:0!important;width:1px!important;min-width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;pointer-events:none}.shift-segments{display:flex;border:1px solid #cfe0f8;border-radius:6px;overflow:hidden;background:#eaf3ff;flex-shrink:0}.shift-segments button{border:0;border-right:1px solid #d2e3fa;min-width:43px;min-height:36px;background:transparent;color:#1a3f6c;font-size:11px;font-weight:650;cursor:pointer}.shift-segments button:last-child{border:0}.shift-segments button[aria-pressed=true]{background:#1f6df4;color:white}.shift-segments button:focus-visible{outline:3px solid #8db6ff;outline-offset:-3px}
@media(max-width:767px){body .shell .headline{background-image:linear-gradient(90deg,#e5f2ff 0%,#e9f4ffe0 45%,#e5f1ff20),url('/assets/msi3-mine-hero.webp')!important;background-position:left center,right center!important}.shift-segments button{min-width:34px;min-height:36px}}
@media print{body .shell .headline{background-image:none!important}}
body .executive-kpi-strip .kpi .label{text-transform:none!important;letter-spacing:normal!important;font-weight:500!important}.kpi:after{display:none!important}.kpi-illustration.production{background:#fff0e7}.kpi-illustration.dump-truck{background:#fff5d9}.kpi-illustration.fuel-pump,.fuel-metric .kpi-illustration{background:#e0f8ef}
.msi-mid-row .equipment-tile{display:grid;grid-template-columns:43px minmax(0,1fr);gap:3px 5px;text-align:left;padding:9px 7px;min-height:80px}.msi-mid-row .equipment-tile>.equipment-icon{grid-column:1;grid-row:1/5;width:43px;height:43px}.msi-mid-row .equipment-tile>span,.msi-mid-row .equipment-tile>b,.msi-mid-row .equipment-tile>small,.msi-mid-row .equipment-tile>.msi-mini-progress{grid-column:2;text-align:left}.msi-mid-row .equipment-tile>span{font-size:9px}.msi-mid-row .equipment-tile>small{font-size:8px}.msi-mid-row .equipment-tile>.msi-mini-progress{width:100%!important;max-width:65px}
body .shell .headline{background-image:linear-gradient(90deg,#e5f2ff 0%,#e5f2ff 52%,#e5f2ffda 58%,#e5f1ff00 79%),url('/assets/msi3-mine-hero.webp')!important}.table-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0;font-size:11px;color:#64809d}.table-pagination[hidden]{display:none}.table-pagination .btn:disabled{opacity:.45;cursor:default}
@media(max-width:767px){.msi-mid-row .msi-fleet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .shell .headline{background-image:linear-gradient(90deg,#e5f2ff 0%,#e9f4ffe0 45%,#e5f1ff20),url('/assets/msi3-mine-hero.webp')!important}}
@media print{body .shell .headline{background-image:none!important}.table-pagination{display:none!important}table[data-msi-paginate] tr[hidden]{display:table-row!important}}
.msi-analysis-row .shift-bars{gap:6px!important;padding:4px 0!important;margin-top:8px!important}.msi-analysis-row .shift-bar{padding:4px 0!important}.msi-analysis-row .shift-track{height:20px!important}.msi-analysis-row .msi-basis{margin:7px 0 0;line-height:1.4}.msi-analysis-row .msi-donut{width:136px;min-width:136px;height:136px}.msi-analysis-row .msi-donut:before{inset:25px}
.wf-col:not(:last-child) .wf-plot:after{content:none}.wf-col:not(:last-child) .wf-plot[style*="--wf-running-position"]:after{content:''}
@media(max-width:1100px){body.sidebar-compact{--msi-side:0px}}
@media(max-width:1100px){.msi-sidebar{visibility:hidden;pointer-events:none}.sidebar-open .msi-sidebar{visibility:visible;pointer-events:auto}}

/* 5D Unit 360 Turntable & Realistic Equipment Aesthetics */
.unit-turntable-card {
  position: relative;
  background: radial-gradient(circle at 50% 35%, #f4f8fe 0%, #e8f1fc 65%, #e1edf9 100%);
  border: 1px solid #d0e1f4;
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 #ffffff, 0 4px 16px rgba(15, 39, 64, 0.05);
}
.turntable-badge-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  z-index: 5;
  position: relative;
}
.turntable-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  line-height: 1;
}
.turntable-badge.cmt-highlight {
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid #f59e0b50;
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.2);
}
.turntable-badge.status-good { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.turntable-badge.status-warn { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }
.turntable-badge.status-bad { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.turntable-angle-readout {
  font-size: 10px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 8px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
.turntable-stage {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  user-select: none;
  overflow: hidden;
}
.turntable-platform {
  position: absolute;
  width: 280px;
  height: 280px;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) rotateX(68deg);
  border-radius: 50%;
  pointer-events: none;
}
.platform-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.18);
}
.platform-ring.mid { inset: 30px; border-style: solid; border-color: rgba(59, 130, 246, 0.3); border-width: 1px; }
.platform-ring.inner { inset: 65px; border-style: dashed; border-color: rgba(147, 197, 253, 0.5); border-width: 1px; }
.platform-grid {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.02) 65%, transparent 75%);
}
.turntable-rotator {
  position: relative;
  width: 170px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transform: rotateY(var(--angle, 0deg));
  transition: transform 60ms linear;
  z-index: 3;
}
.turntable-rotator.spinning {
  animation: turntable360Spin 12s linear infinite;
}
@keyframes turntable360Spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.turntable-model-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.turntable-shadow {
  position: absolute;
  width: 130px;
  height: 28px;
  bottom: -6px;
  background: radial-gradient(ellipse at center, rgba(15, 39, 64, 0.35) 0%, rgba(15, 39, 64, 0.1) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(4px);
  z-index: 1;
}
.turntable-model-art {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 14px 20px rgba(15, 39, 64, 0.22));
  transition: transform 0.2s ease;
}
.turntable-model-art img {
  width: 150px;
  height: 110px;
  object-fit: contain;
  display: block;
}
.cmt-hud-tag {
  position: absolute;
  top: -14px;
  right: -24px;
  z-index: 4;
}
.cmt-hud-chip {
  background: #1e3a8a;
  color: #bfdbfe;
  font-size: 8.5px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid #3b82f6;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.35);
}
.turntable-gesture-layer {
  position: absolute;
  inset: 0;
  cursor: grab;
  z-index: 4;
}
.turntable-telemetry {
  position: absolute;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}
.turntable-telemetry.telemetry-left { left: 10px; text-align: left; }
.turntable-telemetry.telemetry-right { right: 10px; text-align: right; }
.tel-item small {
  display: block;
  font-size: 8px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
}
.tel-item b {
  font-size: 11px;
  font-weight: 750;
  color: #0f2740;
}
.turntable-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #dbe6f3;
  position: relative;
  z-index: 5;
}
.turntable-slider-wrap {
  flex: 1;
  display: flex;
  align-items: center;
}
.turntable-slider {
  width: 100%;
  accent-color: #2563eb;
  cursor: ew-resize;
}
.btn-turntable-spin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-weight: 600;
}
@media(max-width: 640px) {
  .turntable-telemetry { display: none; }
  .turntable-stage { height: 180px; }
  .turntable-model-art img { width: 120px; height: 90px; }
}

/* =========================================================
   MSI 3.1 — Loading
   ========================================================= */

#loading {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
}

#loading.is-spinner {
  min-height: 40vh;
  display: grid;
  place-items: center;
  padding: 40px !important;
}









/* =========================================================
   Shadow dari Chart-Chart Sebelumnya (Live Ghost Transition)
   ========================================================= */

.charts-shadow-loading {
  position: relative !important;
  pointer-events: none !important;
  user-select: none !important;
}

.charts-shadow-loading > *:not(.charts-shadow-badge) {
  opacity: 0.52 !important;
  transition: opacity 0.22s ease !important;
}

/* Hardware-accelerated glassy overlay */
.charts-shadow-loading::before {
  content: '';
  position: absolute;
  inset: -6px;
  background: rgba(243, 246, 249, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 14px;
  pointer-events: none;
  z-index: 20;
}

/* Glassmorphism Shimmer Wave sweeping across previous charts */
.charts-shadow-loading::after {
  content: '';
  position: absolute;
  inset: -6px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: chartsShimmerSweep 1.8s infinite linear;
  border-radius: 14px;
  pointer-events: none;
  z-index: 25;
}

@keyframes chartsShimmerSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Elegant Floating Status Pill */
.charts-shadow-badge {
  position: sticky;
  top: 12px;
  margin: 0 auto 14px auto;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 90%;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 999px;
  box-shadow: 0 10px 28px -4px rgba(30, 58, 138, 0.16), 0 3px 8px rgba(0, 0, 0, 0.05);
  color: #1e40af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.015em;
  animation: badgeFloatIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes badgeFloatIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.shadow-pulse-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #bfdbfe;
  border-top-color: #2563eb;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}


