
:root{--ops-bg:#07100d;--ops-bg2:#0b1712;--ops-panel:#0f1d17;--ops-panel2:#14261e;--ops-line:#294137;--ops-line2:#39584a;--ops-green:#5ee58a;--ops-green2:#1f9d57;--ops-gold:#d8ad45;--ops-amber:#f0b83b;--ops-red:#ef5965;--ops-blue:#62a9ff;--ops-text:#eef7f1;--ops-muted:#8fa69a;--ops-shadow:0 18px 42px rgba(0,0,0,.28)}
html,body{background:#050b08!important}.tactical-body{min-height:100vh;color:var(--ops-text);background:radial-gradient(circle at 82% -10%,rgba(58,109,78,.28),transparent 31%),linear-gradient(180deg,#08120e 0,#07100d 58%,#050b08 100%)!important;background-attachment:fixed}.tactical-shell{min-height:100vh}.page-wrapper{background:transparent!important}
.tactical-sidebar{background:linear-gradient(180deg,#0e1b15 0,#08110d 75%)!important;border-right:1px solid rgba(216,173,69,.18)!important;box-shadow:18px 0 38px rgba(0,0,0,.3)}.tactical-sidebar .navbar-brand{min-height:104px;color:#fff;padding:1.15rem 1rem 1rem;border-bottom:1px solid rgba(216,173,69,.16);width:100%;position:relative}.tactical-sidebar .navbar-brand:before{content:'11';display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(216,173,69,.55);border-radius:50%;color:var(--ops-gold);font-weight:800;letter-spacing:.03em;margin-bottom:.65rem;box-shadow:0 0 22px rgba(216,173,69,.08)}.brand-kicker{font-size:.62rem;letter-spacing:.24em;color:#82988c}.tactical-sidebar .navbar-brand strong{font-size:.88rem;letter-spacing:.04em}.tactical-sidebar .nav-link{border-radius:7px;margin:3px 8px;color:#aebfb6;transition:.2s ease;border:1px solid transparent}.tactical-sidebar .nav-link:hover{background:linear-gradient(90deg,rgba(47,108,72,.34),rgba(29,58,44,.16));border-color:rgba(94,229,138,.18);color:#fff;transform:translateX(2px)}.tactical-sidebar .nav-link-icon{width:1.75rem;color:#75c995;font-weight:700}.sidebar-motto{padding:1.25rem;color:#71877b;letter-spacing:.13em}.sidebar-motto span{display:block;width:38px;height:2px;background:var(--ops-gold);margin-bottom:.8rem;box-shadow:0 0 12px rgba(216,173,69,.35)}
.tactical-header{min-height:166px;padding:25px 32px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,rgba(6,15,11,.97) 0,rgba(11,25,18,.94) 48%,rgba(15,35,24,.84) 100%);border-bottom:1px solid rgba(216,173,69,.26);position:relative;overflow:hidden}.tactical-header:before{content:'';position:absolute;inset:0;background:linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent 2%,#000 65%,#000 100%);pointer-events:none}.tactical-header:after{content:'▰  ▰  ▰';position:absolute;right:6%;bottom:-7px;color:rgba(196,214,201,.065);font-size:7.4rem;letter-spacing:-.36em;transform:skewX(-8deg);filter:blur(.2px)}.hero-copy{position:relative;z-index:2;padding-left:14px;border-left:3px solid var(--ops-gold)}.hero-copy .eyebrow{font-size:.68rem;letter-spacing:.26em;color:#8ea397}.hero-copy h1{font-size:2.05rem;margin:.25rem 0;color:#f5f8f5;letter-spacing:.035em;text-shadow:0 3px 18px rgba(0,0,0,.25)}.hero-copy p{font-size:.74rem;letter-spacing:.19em;color:#82988d;margin:0}.system-box{position:relative;z-index:3;border:1px solid rgba(94,229,138,.21);background:rgba(7,17,12,.72);backdrop-filter:blur(10px);padding:11px 14px;border-radius:8px;min-width:218px;box-shadow:0 12px 34px rgba(0,0,0,.22)}.system-box>div{display:flex;gap:7px;align-items:center}.system-box strong{font-size:1.55rem;letter-spacing:.035em}.system-box small,.system-box span{color:#8ea297}.system-box a{color:#d8e7dd}.system-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ops-green);box-shadow:0 0 13px rgba(94,229,138,.9);animation:pulse 1.9s infinite}
.tactical-main{padding:20px 0 34px;background:transparent}.tactical-card{background:linear-gradient(180deg,rgba(18,35,27,.96),rgba(10,22,16,.98))!important;border:1px solid var(--ops-line)!important;border-radius:10px!important;box-shadow:var(--ops-shadow);overflow:hidden;position:relative}.tactical-card:before{content:'';position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,var(--ops-gold),rgba(216,173,69,.06) 36%,transparent 80%);opacity:.72}.tactical-card .card-header{border-bottom:1px solid #253d32;background:rgba(11,25,18,.78);min-height:49px;padding:.8rem 1rem}.tactical-card .card-title{font-weight:700;color:#e9f2ec;letter-spacing:.075em;font-size:.78rem}.section-sub{font-size:.6rem;letter-spacing:.14em;color:#71877c;margin-left:8px}.kpi-card{min-height:130px}.kpi-card .card-body{display:flex;align-items:center;gap:16px;padding:1.1rem}.kpi-card:after{content:'';position:absolute;right:-26px;bottom:-38px;width:100px;height:100px;border:1px solid rgba(255,255,255,.04);border-radius:50%}.kpi-icon{display:grid;place-items:center;width:45px;height:45px;border:1px solid rgba(94,229,138,.24);border-radius:8px;background:rgba(26,70,45,.22);font-size:1.5rem;color:#73d89a;text-shadow:0 0 15px rgba(94,229,138,.35)}.kpi-green{border-color:#2f6948!important;background:linear-gradient(135deg,#133322,#0d2117)!important}.kpi-green .kpi-icon,.kpi-green .kpi-value{color:#66ea93}.kpi-blue{border-color:#305842!important}.kpi-label{font-size:.7rem;color:#a9bbb0;letter-spacing:.085em}.kpi-value{font-size:2.3rem;line-height:1.04;font-weight:800;color:#f4f8f5}.kpi-sub{font-size:.66rem;color:#758c7f;margin-top:.28rem}.strength-panel{display:grid;grid-template-columns:1fr 180px;gap:20px;align-items:center}.strength-list>div{display:grid;grid-template-columns:18px 1fr auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #21382d}.legend-dot{width:10px;height:10px;border-radius:50%;display:block;box-shadow:0 0 10px currentColor}.legend-dot.blue{background:var(--ops-blue)}.legend-dot.green{background:var(--ops-green)}.legend-dot.red{background:var(--ops-red)}.donut-wrap{display:grid;place-items:center}.donut{width:158px;height:158px;border-radius:50%;display:grid;place-items:center;align-content:center;background:radial-gradient(circle at center,#0b1812 0 55%,transparent 56%),conic-gradient(var(--ops-green) calc(var(--pct)*1%),rgba(111,143,124,.18) 0 100%);box-shadow:0 0 34px rgba(94,229,138,.08),inset 0 0 0 1px rgba(255,255,255,.025)}.donut strong{font-size:2rem}.donut span{font-size:.67rem;color:#89a095}.vehicle-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.status-box{padding:14px;border-radius:8px;border:1px solid #345045;background:#10261c;min-height:112px;position:relative;overflow:hidden}.status-box:after{content:'';position:absolute;right:-18px;top:-24px;width:76px;height:76px;border-radius:50%;border:1px solid rgba(255,255,255,.055)}.status-box span{display:block;font-size:.64rem;text-transform:uppercase;letter-spacing:.04em;color:#c7d6cc}.status-box strong{display:block;font-size:2rem;margin:4px 0}.status-box small{color:#8ca095}.status-box.ok{background:linear-gradient(135deg,#123b26,#10291c);border-color:#318b55}.status-box.warn{background:linear-gradient(135deg,#493610,#2a2413);border-color:#a97e23}.status-box.bad{background:linear-gradient(135deg,#431b20,#271417);border-color:#923643}.status-box.info{background:linear-gradient(135deg,#16304a,#102336);border-color:#356a99}.status-bar{display:flex;gap:4px;padding:0 16px 16px}.status-bar span{flex-basis:0;flex-grow:0;max-width:var(--w);width:var(--w);text-align:center;padding:5px;border-radius:4px;font-size:.72rem;font-weight:700;animation:barGrow .9s ease both}.status-bar .ok{background:#2ba95a}.status-bar .warn{background:#c38c22}.status-bar .bad{background:#b93d49}.status-bar .info{background:#397db7}.vehicle-type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.vehicle-type{border:1px solid #294336;border-radius:8px;background:linear-gradient(180deg,#0d2017,#0b1711);min-height:118px;display:grid;place-items:center;text-align:center;padding:10px;transition:.2s}.vehicle-type:hover{transform:translateY(-2px);border-color:#426c55;background:#10271c}.vehicle-silhouette{font-size:2rem;color:#a8bdb0;filter:drop-shadow(0 0 10px rgba(103,170,123,.16))}.vehicle-type span{font-size:.67rem;color:#cbd8cf}.vehicle-type strong{font-size:1.2rem;color:var(--ops-gold)}.compact-list>div{padding:10px 0;border-bottom:1px solid #21382d;display:flex;justify-content:space-between;gap:12px}.compact-list>div:last-child{border-bottom:0}.compact-list small{display:block;color:#7f9489}.empty-state{min-height:112px!important;display:grid!important;place-items:center;align-content:center!important;text-align:center;color:#798f83}.empty-state>b{color:#afc0b6}.duty-count{text-align:center;display:grid;place-items:center;min-height:110px}.duty-count span{font-size:.65rem;letter-spacing:.12em;color:#80958a}.duty-count strong{font-size:2.5rem;color:#f5f8f5}.duty-count small{color:#7f9789}.reveal{opacity:0;transform:translateY(10px);animation:reveal .5s ease forwards}.reveal:nth-child(2){animation-delay:.06s}.reveal:nth-child(3){animation-delay:.12s}.reveal:nth-child(4){animation-delay:.18s}.tactical-alert{background:#10291d;border-color:#2e6847;color:#d9eee0}.formgrid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;margin-bottom:16px}.formgrid input,.formgrid select,input,select,textarea{background:#0b1a13!important;color:#dce9e0!important;border:1px solid #2d483a!important}.formgrid button,button,.btn-primary{background:#265d3e!important;border-color:#3b7f57!important;color:#fff!important}.danger{background:#7c2530!important}.table,table{color:#dbe8df!important;background:#0b1912!important;border-color:#20392d!important}.table th,table th{background:#10261b!important;color:#a9beb1!important}.table td,table td{border-color:#1e352a!important}.flash{background:#10291d;border:1px solid #2e6847;color:#d9eee0;padding:10px;border-radius:8px;margin-bottom:12px}.auth{max-width:420px;margin:8vh auto;background:#0f1d17;border:1px solid #294137;padding:22px;border-radius:10px;box-shadow:var(--ops-shadow)}.auth form{display:grid;gap:12px}.auth label{display:grid;gap:6px;color:#bad0c2}.page-body .container-xl{max-width:1460px}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.7)}}@keyframes reveal{to{opacity:1;transform:none}}@keyframes barGrow{from{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1);transform-origin:left}}
@media(max-width:1199px){.vehicle-status-grid{grid-template-columns:repeat(2,1fr)}.vehicle-type-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:991px){.tactical-header{min-height:128px;padding:18px}.hero-copy h1{font-size:1.55rem}.hero-copy p{font-size:.64rem;letter-spacing:.1em}.system-box{min-width:178px}.tactical-sidebar{border-right:0!important}.strength-panel{grid-template-columns:1fr 150px}.donut{width:135px;height:135px}.kpi-value{font-size:1.9rem}.kpi-icon{width:40px;height:40px;font-size:1.3rem}}@media(max-width:767px){.tactical-header{display:block;padding:18px 16px}.system-box{margin-top:12px;width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.system-box>div{margin-left:auto}.system-box>small:last-child{display:none}.hero-copy h1{font-size:1.35rem}.hero-copy p{display:none}.tactical-main{padding-top:10px}.kpi-row>.col-6{padding-left:5px;padding-right:5px}.kpi-card{min-height:108px}.kpi-card .card-body{padding:12px;gap:10px}.kpi-icon{width:34px;height:34px;font-size:1rem}.kpi-label{font-size:.58rem}.kpi-value{font-size:1.65rem}.kpi-sub{font-size:.57rem}.strength-panel{grid-template-columns:1fr}.donut-wrap{order:-1}.vehicle-status-grid{grid-template-columns:1fr 1fr}.status-box{min-height:96px;padding:10px}.status-box strong{font-size:1.55rem}.vehicle-type-grid{grid-template-columns:1fr 1fr}.formgrid{grid-template-columns:1fr}.navbar-vertical.navbar-expand-lg{position:relative;width:100%}.page-wrapper{margin-left:0!important}.container-xl{padding-left:10px;padding-right:10px}.tactical-card .card-header{padding:10px 12px}.tactical-card .card-body{padding:12px}.card-title{font-size:.72rem!important}}
/* Vehicle photo cards */
.vehicle-type{padding:0!important;overflow:hidden;display:block!important;min-height:0!important;text-align:left!important;background:#0a1822!important}
.vehicle-photo{height:118px;position:relative;border-bottom:1px solid #29475a;overflow:hidden;background:#07131a}.vehicle-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.vehicle-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(4,15,20,.7) 100%)}
.vehicle-meta{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:10px 12px 12px}
.vehicle-meta span{font-size:.73rem;line-height:1.25;color:#dce8ee;font-weight:600}
.vehicle-meta strong{font-size:1.35rem;color:#e6b73f;line-height:1}
@media(max-width:767px){.vehicle-photo{height:96px}.vehicle-meta{padding:9px 10px 10px;grid-template-columns:1fr}.vehicle-meta span{font-size:.68rem;min-height:34px}.vehicle-meta strong{font-size:1.45rem}.vehicle-type-grid{gap:10px}}

.vehicle-photo-neutral{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 35%,rgba(54,104,73,.25),transparent 58%),linear-gradient(135deg,#0d2118,#07140f);color:#789387;font-size:.58rem;font-weight:700;letter-spacing:.11em;text-align:center;padding:12px}

/* Unified identity header - 2026-09-17 */
.identity-header{display:block!important;min-height:0!important;padding:18px 28px 20px!important;background:linear-gradient(135deg,rgba(6,17,12,.98),rgba(8,26,18,.95) 56%,rgba(4,14,10,.98))!important;border-bottom:1px solid rgba(216,173,69,.28)!important}
.identity-row{position:relative;z-index:3;display:grid;grid-template-columns:104px minmax(0,1fr) 112px;align-items:center;gap:22px;max-width:1020px;margin:0 auto}
.identity-logo{display:block;width:100%;height:92px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(0,0,0,.28))}
.brigade-logo{height:96px}.squadron-logo{height:94px}
.identity-row .hero-copy{padding:0 24px!important;border-left:1px solid rgba(216,173,69,.45)!important;border-right:1px solid rgba(216,173,69,.20);text-align:left}
.identity-row .hero-copy .eyebrow{font-size:.72rem!important;letter-spacing:.3em!important;color:#91a69a!important}
.identity-row .hero-copy h1{font-size:2.15rem!important;line-height:1.08!important;margin:.34rem 0 .42rem!important;white-space:nowrap}
.identity-row .hero-copy p{font-size:.68rem!important;letter-spacing:.16em!important;color:#71897d!important;margin:0!important}
.command-status{position:relative!important;z-index:3!important;max-width:820px!important;min-width:0!important;margin:16px auto 0!important;padding:10px 16px!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:14px!important;border-radius:10px!important;background:rgba(4,15,10,.72)!important}
.command-status>small:first-child{text-align:left}.command-status>div{justify-content:center!important}.command-status>small:last-child{text-align:right!important}
@media(max-width:767px){
  .identity-header{padding:12px 16px 16px!important}
  .identity-row{grid-template-columns:74px minmax(0,1fr) 78px;gap:12px;margin-top:0}
  .identity-logo{height:72px!important}
  .identity-row .hero-copy{padding:0 12px!important}
  .identity-row .hero-copy .eyebrow{font-size:.55rem!important;letter-spacing:.18em!important}
  .identity-row .hero-copy h1{font-size:1.22rem!important;line-height:1.08!important;margin:.22rem 0 0!important;white-space:normal}
  .identity-row .hero-copy p{display:none!important}
  .command-status{margin-top:12px!important;grid-template-columns:1fr auto!important;gap:8px!important;padding:9px 12px!important}
  .command-status>small:first-child{font-size:.62rem!important;line-height:1.25}
  .command-status>div{justify-content:flex-end!important}
  .command-status strong{font-size:1.35rem!important}
  .command-status>small:last-child{display:none!important}
}

/* Mobile merged identity header: static-only, no Flask restart needed */
@media(max-width:767px){
  .tactical-sidebar .navbar-brand{display:none!important;}
  .tactical-sidebar{min-height:64px!important;background:linear-gradient(180deg,#0e1b15,#08110d)!important;}
  .tactical-sidebar .container-fluid{min-height:64px!important;padding:10px 16px!important;align-items:center!important;}
  .tactical-header{position:relative!important;min-height:0!important;padding:22px 16px 16px!important;display:block!important;overflow:hidden!important;}
  .tactical-header .hero-copy{position:relative!important;z-index:3!important;padding:14px 76px 12px!important;border-left:0!important;text-align:center!important;min-height:96px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
  .tactical-header .hero-copy:before,.tactical-header .hero-copy:after{content:""!important;position:absolute!important;top:50%!important;transform:translateY(-50%)!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;}
  .tactical-header .hero-copy:before{left:2px!important;width:66px!important;height:76px!important;background-image:url(/static/logos/briged.opt.webp)!important;}
  .tactical-header .hero-copy:after{right:0!important;width:70px!important;height:70px!important;background-image:url(/static/logos/skuadron.opt.webp)!important;}
  .tactical-header .hero-copy .eyebrow{font-size:.58rem!important;letter-spacing:.16em!important;line-height:1.2!important;color:#91a69a!important;}
  .tactical-header .hero-copy h1{font-size:1.28rem!important;line-height:1.08!important;margin:.28rem 0 0!important;letter-spacing:.02em!important;white-space:normal!important;}
  .tactical-header .hero-copy p{display:none!important;}
  .tactical-header .system-box{margin-top:10px!important;width:100%!important;min-width:0!important;padding:10px 12px!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:10px!important;}
  .tactical-header .system-box>small:first-child{font-size:.64rem!important;line-height:1.25!important;text-align:left!important;}
  .tactical-header .system-box>div{margin:0!important;justify-content:flex-end!important;}
  .tactical-header .system-box strong{font-size:1.35rem!important;}
  .tactical-header .system-box>small:last-child{display:none!important;}
  .tactical-header:before{opacity:.7!important;}
}

/* Tactical Command Center v3 */
@media(max-width:767px){
  .tactical-sidebar{min-height:50px!important;border-bottom:1px solid rgba(216,173,69,.18)!important;box-shadow:0 8px 26px rgba(0,0,0,.28)!important;}
  .tactical-sidebar .container-fluid{min-height:50px!important;padding:7px 14px!important;}
  .navbar-toggler{border:1px solid rgba(94,229,138,.35)!important;background:linear-gradient(180deg,rgba(33,91,58,.78),rgba(18,58,38,.72))!important;box-shadow:0 0 0 1px rgba(255,255,255,.03) inset,0 8px 18px rgba(0,0,0,.22)!important;}

  .tactical-header{padding:10px 12px 14px!important;background:linear-gradient(180deg,rgba(4,14,10,.98),rgba(5,20,14,.96))!important;border-bottom:1px solid rgba(216,173,69,.28)!important;}
  .tactical-header:before{opacity:.95!important;background-image:linear-gradient(rgba(94,229,138,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(94,229,138,.022) 1px,transparent 1px)!important;background-size:22px 22px!important;}
  .tactical-header:after{content:""!important;position:absolute!important;left:12px!important;right:12px!important;bottom:0!important;height:1px!important;background:linear-gradient(90deg,transparent,rgba(216,173,69,.55),transparent)!important;}

  .tactical-header .hero-copy{min-height:82px!important;padding:7px 64px 8px!important;text-align:center!important;}
  .tactical-header .hero-copy:before{left:0!important;width:54px!important;height:62px!important;filter:drop-shadow(0 6px 10px rgba(0,0,0,.3))!important;}
  .tactical-header .hero-copy:after{right:0!important;width:58px!important;height:58px!important;filter:drop-shadow(0 6px 10px rgba(0,0,0,.3))!important;}
  .tactical-header .hero-copy .eyebrow{font-size:.50rem!important;letter-spacing:.19em!important;color:#8ba093!important;text-transform:uppercase!important;}
  .tactical-header .hero-copy h1{font-size:1.08rem!important;line-height:1.06!important;margin:.25rem 0 0!important;letter-spacing:.025em!important;white-space:nowrap!important;text-shadow:0 0 16px rgba(255,255,255,.05)!important;}

  .tactical-header .system-box{margin-top:8px!important;padding:8px 10px!important;border:1px solid rgba(94,229,138,.28)!important;background:linear-gradient(180deg,rgba(6,22,14,.88),rgba(3,14,9,.9))!important;box-shadow:0 0 0 1px rgba(255,255,255,.02) inset,0 10px 24px rgba(0,0,0,.18)!important;border-radius:8px!important;}
  .tactical-header .system-box>small:first-child{font-size:.58rem!important;letter-spacing:.02em!important;color:#91a49a!important;}
  .tactical-header .system-box>div{gap:6px!important;}
  .tactical-header .system-box strong{font-size:1.18rem!important;letter-spacing:.04em!important;font-variant-numeric:tabular-nums!important;}
  .tactical-header .system-box span{font-size:.78rem!important;letter-spacing:.02em!important;}
  .system-dot{width:7px!important;height:7px!important;box-shadow:0 0 10px rgba(94,229,138,.8)!important;}

  .tactical-main{padding-top:8px!important;}
  .kpi-card{border-color:rgba(94,229,138,.24)!important;box-shadow:0 8px 22px rgba(0,0,0,.14),0 0 0 1px rgba(255,255,255,.015) inset!important;}
  .kpi-card:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,rgba(216,173,69,.85),rgba(94,229,138,.18),transparent);}
  .kpi-label{letter-spacing:.13em!important;}
  .tactical-card .card-header{border-bottom-color:rgba(94,229,138,.16)!important;}
}

/* Premium Dark Header C */
@media(max-width:767px){
  .tactical-sidebar{min-height:48px!important;background:linear-gradient(180deg,#07100c 0%,#040a07 100%)!important;border-bottom:1px solid rgba(190,153,70,.12)!important;box-shadow:0 10px 24px rgba(0,0,0,.34)!important;}
  .tactical-sidebar .container-fluid{min-height:48px!important;padding:7px 14px!important;}
  .navbar-toggler{border:1px solid rgba(110,150,125,.22)!important;background:linear-gradient(180deg,rgba(20,53,35,.72),rgba(10,28,19,.78))!important;box-shadow:0 6px 18px rgba(0,0,0,.24),0 0 0 1px rgba(255,255,255,.02) inset!important;}

  .tactical-header{padding:8px 12px 12px!important;background:radial-gradient(circle at 50% 0%,rgba(26,63,42,.16),transparent 44%),linear-gradient(180deg,#030806 0%,#06100b 100%)!important;border-bottom:1px solid rgba(190,153,70,.20)!important;}
  .tactical-header:before{opacity:.52!important;background-image:linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.009) 1px,transparent 1px)!important;background-size:24px 24px!important;}
  .tactical-header:after{left:12px!important;right:12px!important;bottom:0!important;height:1px!important;background:linear-gradient(90deg,transparent,rgba(190,153,70,.38),transparent)!important;}

  .tactical-header .hero-copy{min-height:72px!important;padding:5px 58px 6px!important;text-align:center!important;}
  .tactical-header .hero-copy:before{left:4px!important;width:48px!important;height:56px!important;filter:drop-shadow(0 8px 16px rgba(0,0,0,.38)) saturate(.92)!important;}
  .tactical-header .hero-copy:after{right:4px!important;width:52px!important;height:52px!important;filter:drop-shadow(0 8px 16px rgba(0,0,0,.38)) saturate(.92)!important;}
  .tactical-header .hero-copy .eyebrow{font-size:.47rem!important;letter-spacing:.20em!important;color:#7e9187!important;font-weight:500!important;}
  .tactical-header .hero-copy h1{font-size:1.04rem!important;line-height:1.04!important;margin:.20rem 0 0!important;letter-spacing:.02em!important;white-space:nowrap!important;color:#f0f4f1!important;text-shadow:0 1px 0 rgba(255,255,255,.03)!important;}

  .tactical-header .system-box{margin-top:6px!important;padding:7px 10px!important;border:1px solid rgba(95,145,112,.19)!important;background:linear-gradient(180deg,rgba(6,15,10,.86),rgba(3,9,6,.90))!important;box-shadow:0 8px 20px rgba(0,0,0,.20),0 0 0 1px rgba(255,255,255,.015) inset!important;border-radius:7px!important;}
  .tactical-header .system-box>small:first-child{font-size:.55rem!important;color:#83958c!important;}
  .tactical-header .system-box>div{gap:6px!important;}
  .tactical-header .system-box strong{font-size:1.10rem!important;letter-spacing:.04em!important;color:#f0f4f1!important;}
  .tactical-header .system-box span{font-size:.72rem!important;color:#87988f!important;}
  .system-dot{width:6px!important;height:6px!important;background:#6fcf92!important;box-shadow:0 0 8px rgba(111,207,146,.55)!important;}
}

/* FINAL HEADER POLISH + AI KPI ICONS */
@media(max-width:767px){
  .tactical-header .hero-copy:before{left:5px!important;width:45px!important;height:53px!important;}
  .tactical-header .hero-copy:after{right:4px!important;width:50px!important;height:50px!important;}
  .tactical-header .hero-copy{padding-left:54px!important;padding-right:56px!important;}
  .page-body{margin-top:0!important;}
  .tactical-main{padding-top:4px!important;}
  .kpi-row{margin-top:0!important;}

  .kpi-row>.col-6 .kpi-icon{
    width:48px!important;height:48px!important;min-width:48px!important;
    border:1px solid rgba(94,229,138,.26)!important;
    background-color:rgba(5,20,14,.7)!important;
    background-repeat:no-repeat!important;
    background-position:center!important;
    background-size:42px 42px!important;
    font-size:0!important;
    box-shadow:inset 0 0 14px rgba(0,0,0,.28),0 0 16px rgba(94,229,138,.04)!important;
  }
  .kpi-row>.col-6:nth-child(1) .kpi-icon{background-image:url(/static/vehicles/kpi-perjawatan.opt.webp)!important;}
  .kpi-row>.col-6:nth-child(2) .kpi-icon{background-image:url(/static/vehicles/kpi-kekuatan.opt.webp)!important;}
  .kpi-row>.col-6:nth-child(3) .kpi-icon{background-image:url(/static/vehicles/kpi-kekosongan.opt.webp)!important;}
  .kpi-row>.col-6:nth-child(4) .kpi-icon{background-image:url(/static/vehicles/kpi-kenderaan.opt.webp)!important;}
}

@media(min-width:768px){
  .kpi-row>.col-6 .kpi-icon{
    background-repeat:no-repeat!important;background-position:center!important;background-size:44px 44px!important;font-size:0!important;
  }
  .kpi-row>.col-6:nth-child(1) .kpi-icon{background-image:url(/static/vehicles/kpi-perjawatan.opt.webp)!important;}
  .kpi-row>.col-6:nth-child(2) .kpi-icon{background-image:url(/static/vehicles/kpi-kekuatan.opt.webp)!important;}
  .kpi-row>.col-6:nth-child(3) .kpi-icon{background-image:url(/static/vehicles/kpi-kekosongan.opt.webp)!important;}
  .kpi-row>.col-6:nth-child(4) .kpi-icon{background-image:url(/static/vehicles/kpi-kenderaan.opt.webp)!important;}
}

/* Premium mobile vehicle management */
.vehicle-mobile-list{display:none}.vehicle-form-shell{margin-bottom:16px}.vehicle-form-shell summary{list-style:none}.vehicle-form-shell summary::-webkit-details-marker{display:none}
@media(max-width:767px){
  .vehicle-page-active .tactical-main{padding-top:6px!important}.vehicle-page-active h1{font-size:1.15rem;margin:6px 2px 12px;color:#f1f5f2;letter-spacing:.04em}
  .vehicle-form-shell{border:1px solid rgba(79,178,116,.28);border-radius:12px;background:linear-gradient(180deg,rgba(7,23,15,.94),rgba(4,15,10,.97));overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.14)}
  .vehicle-form-shell summary{display:flex;align-items:center;gap:9px;padding:13px 14px;cursor:pointer;color:#dce8e0;font-size:.86rem;font-weight:700;letter-spacing:.025em}
  .vehicle-form-shell[open] summary{border-bottom:1px solid rgba(255,255,255,.055)}
  .vehicle-add-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:rgba(64,188,108,.12);color:#61d990;border:1px solid rgba(64,188,108,.25);font-size:1rem}
  .vehicle-chevron{margin-left:auto;color:#758b7d;font-size:1rem;transition:.2s}.vehicle-form-shell[open] .vehicle-chevron{transform:rotate(180deg)}
  .vehicle-form-body{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;padding:12px!important;margin:0!important}
  .vehicle-form-body input,.vehicle-form-body select,.vehicle-form-body button{width:100%!important;min-height:44px!important;border-radius:9px!important;font-size:.9rem!important}
  .vehicle-form-body button{font-weight:700!important;letter-spacing:.025em!important;background:linear-gradient(180deg,#286b45,#1f5839)!important;border:1px solid rgba(104,218,144,.28)!important}
  .vehicle-desktop-table{display:none!important}.vehicle-mobile-list{display:grid;gap:10px;margin-top:2px;padding-bottom:10px}
  .vehicle-mobile-card{position:relative;overflow:hidden;border:1px solid rgba(80,174,114,.21);border-radius:13px;padding:13px 13px 11px;background:linear-gradient(150deg,rgba(8,26,17,.97),rgba(5,17,11,.98));box-shadow:0 10px 22px rgba(0,0,0,.16),0 0 0 1px rgba(255,255,255,.012) inset}
  .vehicle-mobile-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#55645b}.vehicle-mobile-card.status-ready:before{background:#48cf78}.vehicle-mobile-card.status-broken:before{background:#d7594f}.vehicle-mobile-card.status-maintenance:before{background:#d7ad45}.vehicle-mobile-card.status-assigned:before{background:#5d9bd5}
  .vehicle-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.vehicle-card-name{font-size:.98rem;font-weight:750;line-height:1.24;color:#f1f5f2;max-width:58%}
  .vehicle-status-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:.66rem;font-weight:750;line-height:1.05;white-space:nowrap;border:1px solid}
  .vehicle-status-badge.ready{color:#72e59a;background:rgba(72,207,120,.09);border-color:rgba(72,207,120,.24)}.vehicle-status-badge.broken{color:#f0877f;background:rgba(215,89,79,.09);border-color:rgba(215,89,79,.23)}
  .vehicle-status-badge.maintenance{color:#e8c765;background:rgba(215,173,69,.09);border-color:rgba(215,173,69,.22)}.vehicle-status-badge.assigned{color:#8abcea;background:rgba(93,155,213,.09);border-color:rgba(93,155,213,.22)}
  .vehicle-status-badge.neutral{color:#a8b8ae;background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.09)}.vehicle-status-icon{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:rgba(255,255,255,.055);font-size:.66rem}
  .vehicle-registration{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-top:13px;padding:10px 0;border-top:1px solid rgba(255,255,255,.045);border-bottom:1px solid rgba(255,255,255,.045)}
  .vehicle-registration span,.vehicle-note span,.vehicle-card-footer span{font-size:.61rem;letter-spacing:.1em;text-transform:uppercase;color:#71877a}.vehicle-registration strong{font-size:.9rem;letter-spacing:.055em;color:#dce7e0;font-weight:700;text-align:right}
  .vehicle-note{padding:9px 0 2px}.vehicle-note p{margin:4px 0 0;color:#a8b8ae;font-size:.78rem;line-height:1.35}
  .vehicle-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px}.vehicle-card-footer strong{font-size:.68rem;color:#879b8e;font-weight:600}
}

/* Premium desktop vehicle management */
@media(min-width:768px){
  .vehicle-page-active .tactical-main{padding:22px 26px 34px!important;}
  .vehicle-page-active .container-xl{max-width:1440px!important;width:100%!important;}
  .vehicle-page-active h1{font-size:1.7rem!important;margin:0 0 18px!important;letter-spacing:.02em;color:#f3f6f4;}
  .vehicle-page-active .formgrid{display:grid!important;grid-template-columns:1.35fr 1fr 1fr 1.35fr auto!important;gap:10px!important;align-items:center!important;margin:0 0 20px!important;padding:16px!important;border:1px solid rgba(86,170,116,.22)!important;border-radius:12px!important;background:linear-gradient(180deg,rgba(8,24,16,.94),rgba(5,16,11,.97))!important;box-shadow:0 14px 28px rgba(0,0,0,.15)!important;}
  .vehicle-page-active .formgrid input,.vehicle-page-active .formgrid select,.vehicle-page-active .formgrid button{min-height:44px!important;border-radius:8px!important;font-size:.86rem!important;}
  .vehicle-page-active .formgrid button{padding:0 18px!important;white-space:nowrap!important;font-weight:700!important;background:linear-gradient(180deg,#2c6f49,#20593a)!important;border:1px solid rgba(104,218,144,.25)!important;}
  .vehicle-page-active .vehicle-desktop-table{width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;border:1px solid rgba(83,157,109,.20)!important;border-radius:12px!important;background:rgba(5,17,11,.78)!important;box-shadow:0 14px 30px rgba(0,0,0,.14)!important;}
  .vehicle-page-active .vehicle-desktop-table th{padding:13px 14px!important;background:linear-gradient(180deg,rgba(19,53,35,.92),rgba(13,39,26,.92))!important;color:#b9c9bf!important;font-size:.74rem!important;letter-spacing:.08em!important;text-transform:uppercase!important;border-bottom:1px solid rgba(95,180,123,.18)!important;}
  .vehicle-page-active .vehicle-desktop-table td{padding:13px 14px!important;font-size:.86rem!important;line-height:1.3!important;color:#dbe5df!important;border-bottom:1px solid rgba(255,255,255,.045)!important;vertical-align:middle!important;}
  .vehicle-page-active .vehicle-desktop-table tr:last-child td{border-bottom:0!important;}
  .vehicle-page-active .vehicle-desktop-table tbody tr:hover td{background:rgba(61,129,83,.07)!important;}
  .vehicle-page-active .vehicle-desktop-table th:nth-child(1){width:25%;}.vehicle-page-active .vehicle-desktop-table th:nth-child(2){width:14%;}.vehicle-page-active .vehicle-desktop-table th:nth-child(3){width:20%;}.vehicle-page-active .vehicle-desktop-table th:nth-child(4){width:19%;}.vehicle-page-active .vehicle-desktop-table th:nth-child(5){width:22%;}
  .vehicle-page-active .vehicle-desktop-table td:nth-child(2),.vehicle-page-active .vehicle-desktop-table td:nth-child(5){font-variant-numeric:tabular-nums;}
  .vehicle-page-active .vehicle-desktop-table td:nth-child(5){color:#94a79b!important;font-size:.78rem!important;white-space:nowrap!important;}
  .vehicle-page-active .vehicle-desktop-table .status{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:5px 10px!important;border-radius:999px!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.07)!important;color:#b7c5bc!important;font-size:.74rem!important;font-weight:700!important;white-space:nowrap!important;}
  .vehicle-page-active .vehicle-desktop-table td:nth-child(3) .status{max-width:100%!important;}
  .vehicle-page-active .vehicle-mobile-list{display:none!important;}
  .vehicle-page-active .vehicle-form-shell{display:contents!important;}
  .vehicle-page-active .vehicle-form-shell>summary{display:none!important;}
  .vehicle-page-active .vehicle-form-body{display:grid!important;}
}

/* Desktop vehicle command-center cards */
@media(min-width:768px){
  .vehicle-page-active .tactical-main{max-width:none!important;width:100%!important;padding-left:28px!important;padding-right:28px!important;}
  .vehicle-page-active h1{font-size:1.65rem!important;margin:0 0 16px!important;letter-spacing:.02em!important;}
  .vehicle-form-shell{border:1px solid rgba(87,158,111,.20);border-radius:14px;background:linear-gradient(180deg,rgba(7,20,14,.94),rgba(4,13,9,.97));overflow:hidden;margin-bottom:16px;box-shadow:0 12px 28px rgba(0,0,0,.16)}
  .vehicle-form-shell summary{display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;color:#dce8e0;font-size:.88rem;font-weight:700;letter-spacing:.03em}
  .vehicle-form-shell[open] summary{border-bottom:1px solid rgba(255,255,255,.05)}
  .vehicle-form-body{display:grid!important;grid-template-columns:1.25fr 1fr 1fr 1.2fr auto!important;gap:10px!important;padding:14px!important;margin:0!important}
  .vehicle-form-body input,.vehicle-form-body select,.vehicle-form-body button{min-height:42px!important;border-radius:9px!important}
  .vehicle-desktop-table{display:none!important}
  .vehicle-mobile-list.vehicle-desktop-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;margin-top:14px!important;padding-bottom:12px!important}
  .vehicle-mobile-card{min-height:168px!important;padding:16px 16px 13px!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(8,25,17,.97),rgba(5,16,11,.99))!important;box-shadow:0 12px 28px rgba(0,0,0,.16),0 0 0 1px rgba(255,255,255,.012) inset!important}
  .vehicle-card-name{font-size:1.02rem!important;max-width:62%!important}.vehicle-status-badge{font-size:.68rem!important;padding:6px 9px!important}
  .vehicle-registration{margin-top:14px!important;padding:11px 0!important}.vehicle-registration strong{font-size:.92rem!important}.vehicle-card-footer{margin-top:auto!important;padding-top:11px!important}
  .vehicle-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}
  .vehicle-summary-item{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.055);border-radius:12px;padding:13px 15px;background:linear-gradient(180deg,rgba(8,22,15,.94),rgba(5,15,10,.98));box-shadow:0 10px 24px rgba(0,0,0,.12)}
  .vehicle-summary-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#6f7d74}.vehicle-summary-item.ready:before{background:#48cf78}.vehicle-summary-item.broken:before{background:#d7594f}.vehicle-summary-item.maintenance:before{background:#d7ad45}
  .vehicle-summary-item span{display:block;font-size:.63rem;letter-spacing:.09em;text-transform:uppercase;color:#768b7e;margin-bottom:6px}.vehicle-summary-item strong{font-size:1.55rem;line-height:1;color:#f2f6f3}
}
@media(min-width:1400px){.vehicle-mobile-list.vehicle-desktop-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}

/* Desktop vehicle status emphasis */
@media(min-width:768px){
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-card-top{align-items:center!important;gap:16px!important}
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-card-name{font-size:1.08rem!important;font-weight:800!important;line-height:1.2!important;max-width:54%!important}
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-status-badge{font-size:1rem!important;font-weight:850!important;padding:9px 14px!important;gap:8px!important;line-height:1!important;letter-spacing:.01em!important;box-shadow:0 6px 16px rgba(0,0,0,.12)!important}
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-status-icon{width:22px!important;height:22px!important;font-size:.9rem!important;font-weight:900!important}
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-status-badge.ready{background:rgba(72,207,120,.14)!important;border-color:rgba(72,207,120,.38)!important;color:#86efaa!important}
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-status-badge.broken{background:rgba(215,89,79,.14)!important;border-color:rgba(215,89,79,.40)!important;color:#ff9c94!important}
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-status-badge.maintenance{background:rgba(215,173,69,.14)!important;border-color:rgba(215,173,69,.40)!important;color:#f3d276!important}
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-status-badge.assigned{background:rgba(93,155,213,.14)!important;border-color:rgba(93,155,213,.40)!important;color:#9cc7ee!important}
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-registration{margin-top:11px!important;padding:8px 0!important}
  .vehicle-mobile-list.vehicle-desktop-grid .vehicle-card-footer{padding-top:8px!important}
}

/* CONCEPT A — DESKTOP VEHICLE COMMAND CENTER */
@media(min-width:768px){
  .vehicle-page-active .tactical-main{max-width:none!important;padding:18px 24px 28px!important;}
  .vehicle-desktop-table{display:none!important;}
  .vehicle-mobile-list.vehicle-desktop-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin-top:14px!important;}
  .vehicle-mobile-card{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;grid-template-areas:'image top' 'image reg' 'image note' 'image foot'!important;column-gap:16px!important;row-gap:0!important;min-height:170px!important;padding:14px!important;border-radius:14px!important;background:linear-gradient(135deg,rgba(7,22,15,.97),rgba(4,14,10,.98))!important;box-shadow:0 12px 28px rgba(0,0,0,.20),inset 0 0 0 1px rgba(255,255,255,.015)!important;}
  .vehicle-card-image{grid-area:image;display:flex;align-items:center;justify-content:center;min-height:138px;border-radius:11px;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(45,92,63,.24),rgba(4,12,8,.25) 70%);border:1px solid rgba(255,255,255,.035);}
  .vehicle-card-image img{width:100%;height:100%;max-height:138px;object-fit:contain;filter:drop-shadow(0 10px 14px rgba(0,0,0,.48));transform:scale(.94);}
  .vehicle-card-top{grid-area:top;align-items:center!important;gap:14px!important;margin-bottom:8px!important;}
  .vehicle-card-name{font-size:1.08rem!important;font-weight:800!important;line-height:1.18!important;max-width:52%!important;color:#f2f6f3!important;}
  .vehicle-status-badge{font-size:.9rem!important;font-weight:850!important;padding:8px 13px!important;gap:7px!important;box-shadow:0 0 18px rgba(0,0,0,.12)!important;}
  .vehicle-status-icon{width:21px!important;height:21px!important;font-size:.78rem!important;}
  .vehicle-registration{grid-area:reg;margin:0!important;padding:9px 0!important;}
  .vehicle-note{grid-area:note;padding:7px 0 2px!important;}
  .vehicle-card-footer{grid-area:foot;padding-top:8px!important;margin-top:auto!important;}
  .vehicle-registration span,.vehicle-note span,.vehicle-card-footer span{font-size:.62rem!important;letter-spacing:.11em!important;}
  .vehicle-registration strong{font-size:1rem!important;letter-spacing:.06em!important;}
  .vehicle-card-footer strong{font-size:.74rem!important;}
}

/* MOBILE LOCK — keep approved phone layout */
@media(max-width:767px){
  .vehicle-page-active .vehicle-card-image{display:none!important;}
}
@media(min-width:768px){
  .vehicle-page-active .vehicle-card-image{display:flex!important;}
}

/* MOBILE LOCK: keep desktop summary off phone */
.vehicle-summary-strip{display:none!important;}
@media(min-width:768px){.vehicle-summary-strip{display:grid!important;}}
/* MOBILE VEHICLE POLISH — 2026-09-18 */
@media(max-width:767px){
  .vehicle-page-active .tactical-main{padding-top:2px!important;}
  .vehicle-page-active h1{margin:2px 2px 10px!important;font-size:1.12rem!important;}
  .vehicle-page-active .vehicle-form-shell{margin-bottom:12px!important;border-radius:13px!important;}
  .vehicle-page-active .vehicle-form-shell summary{padding:12px 13px!important;}
  .vehicle-page-active .vehicle-mobile-list{gap:8px!important;margin-top:0!important;}
  .vehicle-page-active .vehicle-mobile-card{padding:12px 12px 9px!important;border-radius:13px!important;}
  .vehicle-page-active .vehicle-card-top{gap:8px!important;align-items:center!important;}
  .vehicle-page-active .vehicle-card-name{font-size:.96rem!important;line-height:1.2!important;max-width:58%!important;}
  .vehicle-page-active .vehicle-status-badge{font-size:.69rem!important;font-weight:800!important;padding:6px 9px!important;gap:6px!important;}
  .vehicle-page-active .vehicle-status-icon{width:17px!important;height:17px!important;font-size:.7rem!important;}
  .vehicle-page-active .vehicle-registration{margin-top:10px!important;padding:8px 0!important;}
  .vehicle-page-active .vehicle-registration span,.vehicle-page-active .vehicle-card-footer span{font-size:.59rem!important;}
  .vehicle-page-active .vehicle-registration strong{font-size:.9rem!important;}
  .vehicle-page-active .vehicle-card-footer{padding-top:8px!important;}
  .vehicle-page-active .vehicle-card-footer strong{font-size:.67rem!important;}
}
/* MASTER ANGGOTA — MOBILE CARD UPGRADE */
.member-mobile-list{display:none}
@media(max-width:767px){
  .members-page-active .tactical-main{padding-top:4px!important}
  .members-page-active h1{font-size:1.2rem!important;margin:4px 2px 12px!important}
  .member-form-shell{margin-bottom:14px;border:1px solid rgba(79,178,116,.28);border-radius:13px;background:linear-gradient(180deg,rgba(7,23,15,.94),rgba(4,15,10,.97));overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.14)}
  .member-form-shell summary{list-style:none;display:flex;align-items:center;gap:9px;padding:13px 14px;cursor:pointer;color:#dce8e0;font-size:.86rem;font-weight:750}.member-form-shell summary::-webkit-details-marker{display:none}
  .member-add-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:rgba(64,188,108,.12);color:#61d990;border:1px solid rgba(64,188,108,.25);font-size:1rem}.member-chevron{margin-left:auto;color:#758b7d}.member-form-shell[open] .member-chevron{transform:rotate(180deg)}
  .member-form-body{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;padding:12px!important;margin:0!important}.member-form-body input,.member-form-body button{width:100%!important;min-height:44px!important;border-radius:9px!important}.member-form-body button{font-weight:750!important;background:linear-gradient(180deg,#286b45,#1f5839)!important}
  .member-desktop-table{display:none!important}.member-mobile-list{display:grid;gap:10px}
  .member-card{position:relative;border:1px solid rgba(80,174,114,.21);border-radius:14px;padding:14px;background:linear-gradient(150deg,rgba(8,26,17,.97),rgba(5,17,11,.98));box-shadow:0 10px 22px rgba(0,0,0,.15)}
  .member-card-head{display:flex;justify-content:space-between;align-items:center}.member-rank{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(70,180,108,.1);border:1px solid rgba(70,180,108,.24);color:#78dfa0;font-size:.69rem;font-weight:800}.member-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);color:#b9c9bf;font-weight:800}
  .member-card h3{margin:10px 0 12px;font-size:1rem;line-height:1.25;color:#f1f5f2}.member-meta{display:grid;gap:9px}.member-meta>div{display:grid;grid-template-columns:95px 1fr;gap:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.045)}.member-meta span{font-size:.61rem;letter-spacing:.1em;text-transform:uppercase;color:#71877a}.member-meta strong{font-size:.82rem;line-height:1.35;color:#dce7e0;font-weight:700}
  .member-card-action{display:flex;justify-content:flex-end;margin-top:12px}.member-card-action button.danger{min-height:34px!important;padding:6px 10px!important;border-radius:8px!important;font-size:.72rem!important;font-weight:700!important;background:rgba(170,52,52,.12)!important;color:#e68e8e!important;border:1px solid rgba(211,88,88,.24)!important}
}
@media(min-width:768px){.member-mobile-list{display:none!important}.member-form-shell{display:contents}.member-form-shell>summary{display:none}.member-form-body{display:grid!important}}

/* CURRENT DUTY DETAIL */
.current-duty-list{display:grid;gap:10px}
.current-duty-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:linear-gradient(180deg,rgba(7,22,15,.94),rgba(5,16,11,.98))}
.current-duty-main{min-width:0}.current-duty-main b{display:block;color:#eef4f0;font-size:.95rem;line-height:1.25}.current-duty-main small{display:block;margin-top:5px;color:#7f9487;font-size:.72rem}
.current-duty-metrics{display:flex;gap:8px;flex-shrink:0}.current-duty-metrics span{min-width:74px;padding:8px 9px;border-radius:10px;text-align:center;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.05)}
.current-duty-metrics strong{display:block;color:#f2f6f3;font-size:1.2rem;line-height:1}.current-duty-metrics small{display:block;margin-top:4px;color:#758a7d;font-size:.54rem;letter-spacing:.09em}
@media(max-width:767px){
  .current-duty-item{align-items:flex-start;gap:10px;padding:12px}
  .current-duty-main b{font-size:.9rem}.current-duty-main small{font-size:.67rem;line-height:1.35}
  .current-duty-metrics{gap:6px}.current-duty-metrics span{min-width:62px;padding:7px 6px}.current-duty-metrics strong{font-size:1.05rem}.current-duty-metrics small{font-size:.49rem}
}

/* Current duty date range */
.current-duty-location{display:block;margin-top:4px!important;color:#8ba093!important;font-size:.7rem!important}
.current-duty-dates{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.current-duty-dates span{display:flex;align-items:center;gap:7px;padding:6px 8px;border-radius:8px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.045)}
.current-duty-dates em{font-style:normal;font-size:.52rem;font-weight:800;letter-spacing:.1em;color:#6f8778}
.current-duty-dates strong{font-size:.68rem;font-weight:650;color:#b9c8bf}
@media(max-width:767px){
  .current-duty-dates{display:grid;grid-template-columns:1fr;margin-top:8px;gap:5px}
  .current-duty-dates span{justify-content:space-between;padding:6px 7px}
  .current-duty-dates strong{font-size:.65rem;text-align:right}
}

/* Mobile header duplicate-logo fix */
@media(max-width:767px){
  .identity-row>.identity-logo{display:none!important;}
  .identity-row{grid-template-columns:1fr!important;}
}

/* Mobile sidebar: ensure all menu items including Logout are visible */
@media(max-width:767px){
  .tactical-sidebar{height:auto!important;min-height:0!important;overflow:visible!important;}
  .tactical-sidebar .navbar-collapse{height:auto!important;max-height:none!important;overflow:visible!important;}
  .tactical-sidebar .navbar-nav{height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:10px!important;}
  .tactical-sidebar .nav-item{display:block!important;visibility:visible!important;}
}

/* Dedicated mobile logout */
@media(max-width:767px){
  .mobile-logout-link{display:block!important;padding:4px 8px 12px!important;}
  .mobile-logout-link a{display:flex!important;align-items:center!important;gap:12px!important;padding:12px 14px!important;border-radius:8px!important;color:#d7e3dc!important;text-decoration:none!important;border:1px solid rgba(216,173,69,.18)!important;background:rgba(255,255,255,.025)!important;}
  .mobile-logout-link a span{color:#d8ad45!important;font-size:1.1rem!important;}
}
/* MEMBER EDIT */
.member-edit-shell{margin-top:12px;border-top:1px solid rgba(255,255,255,.05);padding-top:10px}
.member-edit-shell summary{cursor:pointer;color:#7ed9a0;font-weight:750;font-size:.76rem;list-style:none}.member-edit-shell summary::-webkit-details-marker{display:none}
.member-edit-form{display:grid;gap:8px;margin-top:10px}.member-edit-form input{width:100%;min-height:40px;border-radius:8px;padding:8px 10px}.member-edit-form button{min-height:40px;border-radius:8px;font-weight:750}
@media(min-width:768px){.member-edit-shell{display:inline-block;margin:0 8px 0 0;padding:0;border:0}.member-edit-shell summary{display:inline-block;padding:6px 10px;border:1px solid rgba(95,190,130,.25);border-radius:7px}.member-edit-shell[open]{display:block;min-width:360px}.member-edit-form{grid-template-columns:1fr 1fr;margin:8px 0 10px}.member-edit-form button{grid-column:1/-1}}
/* INACTIVE MEMBERS */
.inactive-member-shell{margin-top:18px;border:1px solid rgba(218,173,69,.22);border-radius:12px;background:rgba(18,20,12,.72);overflow:hidden}
.inactive-member-shell>summary{cursor:pointer;padding:13px 14px;color:#d9c27a;font-weight:800;font-size:.82rem;list-style:none}.inactive-member-shell>summary::-webkit-details-marker{display:none}
.inactive-member-list{display:grid;gap:8px;padding:0 12px 12px}.inactive-member-card{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid rgba(255,255,255,.05);border-radius:10px;background:rgba(255,255,255,.02)}
.inactive-member-card strong{display:block;color:#e7ece8;font-size:.82rem}.inactive-member-card small{display:block;margin-top:3px;color:#7f8e84;font-size:.68rem}.reactivate-btn{min-height:34px!important;padding:6px 10px!important;border-radius:8px!important;font-size:.7rem!important;font-weight:750!important;background:#2b6a45!important;border:1px solid #3f8a5d!important}
@media(max-width:767px){.inactive-member-card{align-items:flex-start;flex-direction:column}.inactive-member-card form,.reactivate-btn{width:100%}}
/* RECORD EDIT + AUTO STATUS */
.record-edit-shell summary{cursor:pointer;color:#7ed9a0;font-weight:750;font-size:.72rem;list-style:none}.record-edit-shell summary::-webkit-details-marker{display:none}.record-edit-form{display:grid;gap:8px;margin-top:8px;min-width:260px}.record-edit-form input,.record-edit-form select,.record-edit-form button{min-height:38px;border-radius:8px;padding:7px 9px}.auto-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.6rem;font-weight:850;letter-spacing:.06em;border:1px solid rgba(255,255,255,.08)}.auto-status.semasa{color:#71e39a;background:rgba(51,160,93,.12);border-color:rgba(80,190,118,.25)}.auto-status.akan-datang{color:#e4c66a;background:rgba(185,145,38,.11);border-color:rgba(216,173,69,.25)}.auto-status.selesai{color:#98a79f;background:rgba(145,160,151,.08);border-color:rgba(145,160,151,.18)}
@media(max-width:767px){table{display:block;overflow-x:auto}.record-edit-form{min-width:220px}}

/* EXTRA VEHICLE STATUSES */
.vehicle-mobile-card.status-disposal:before{background:#b784d7}
.vehicle-mobile-card.status-assetmove:before{background:#7ea8d9}
.vehicle-status-badge.disposal{color:#d6acef;background:rgba(183,132,215,.10);border-color:rgba(183,132,215,.28)}
.vehicle-status-badge.assetmove{color:#a9c7ea;background:rgba(126,168,217,.10);border-color:rgba(126,168,217,.28)}
.vehicle-mobile-list.vehicle-desktop-grid .vehicle-status-badge.disposal{background:rgba(183,132,215,.14)!important;border-color:rgba(183,132,215,.40)!important;color:#dfbaf4!important}
.vehicle-mobile-list.vehicle-desktop-grid .vehicle-status-badge.assetmove{background:rgba(126,168,217,.14)!important;border-color:rgba(126,168,217,.40)!important;color:#b8d2ef!important}
/* ADMIN USER CONTROLS */
.user-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.6rem;font-weight:850;letter-spacing:.06em}.user-status.active{color:#78e19a;background:rgba(71,184,108,.12);border:1px solid rgba(71,184,108,.25)}.user-status.inactive{color:#d4a0a0;background:rgba(170,70,70,.10);border:1px solid rgba(170,70,70,.22)}.user-toggle-btn{margin:2px;min-height:32px!important;padding:5px 9px!important;border-radius:7px!important;font-size:.68rem!important}.protected-user{color:#8d9b92;font-size:.68rem;font-weight:700}
/* VEHICLE CLICK TO EDIT */
.vehicle-mobile-card{cursor:pointer}
.vehicle-mobile-card:active{transform:scale(.995)}
.vehicle-mobile-card::after{content:'Tekan untuk edit';position:absolute;right:14px;bottom:10px;font-size:.52rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(175,196,183,.45)}
/* DASHBOARD EXTRA VEHICLE STATUS COLORS */
.status-box.disposal{background:linear-gradient(135deg,#3a2248,#24162d);border-color:#8555a2}.status-box.assetmove{background:linear-gradient(135deg,#253747,#172631);border-color:#5f86a5}
.status-bar .disposal{background:#8f5aac}.status-bar .assetmove{background:#678ba9}
/* BULK ASSIGNMENT PICKER */
.assignment-bulk-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.assignment-member-picker{grid-column:1/-1;border:1px solid rgba(87,177,119,.23);border-radius:12px;background:rgba(6,20,13,.9);padding:12px}.assignment-picker-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.assignment-picker-head strong{font-size:.82rem;color:#dce9e0}.assignment-picker-head button{min-height:32px!important;padding:5px 9px!important;border-radius:7px!important;font-size:.68rem!important}.assignment-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.assignment-member-option{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid rgba(255,255,255,.05);border-radius:9px;background:rgba(255,255,255,.02);font-size:.74rem;line-height:1.25;color:#d9e5dd}.assignment-member-option input{margin-top:2px;min-width:16px;min-height:16px}.assignment-bulk-form>button{grid-column:1/-1}
@media(max-width:767px){.assignment-bulk-form{grid-template-columns:1fr!important}.assignment-member-grid{grid-template-columns:1fr}.assignment-member-picker{grid-column:1}.assignment-bulk-form>button{grid-column:1}}
/* CUTI DASHBOARD — compact status badge */
.leave-overview-item{align-items:center!important;}
.leave-overview-item>span:first-child{min-width:0;flex:1 1 auto;}
.leave-overview-item>.auto-status{align-self:center!important;flex:0 0 auto!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;padding:5px 10px!important;border-radius:999px!important;white-space:nowrap!important;line-height:1.1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
@media(max-width:767px){.leave-overview-item>.auto-status{font-size:.58rem!important;padding:5px 9px!important;}}

/* PENUGASAN SEMASA — expandable member list */
.duty-expandable{display:block!important;cursor:pointer;transition:border-color .2s ease,background .2s ease}
.duty-expandable:hover{border-color:rgba(86,180,119,.32)!important}.duty-expandable:focus-visible{outline:2px solid rgba(106,217,145,.45);outline-offset:2px}
.current-duty-summary{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.current-duty-summary .current-duty-main{flex:1 1 auto;min-width:0}.current-duty-summary .current-duty-metrics{flex:0 0 auto}
.duty-tap-hint{margin-top:9px!important;color:#6f897a!important;font-size:.61rem!important;letter-spacing:.04em}.duty-chevron{display:block;margin-top:7px;color:#809a8b;font-style:normal;text-align:center;font-size:1rem;transition:transform .2s ease}.duty-expandable[aria-expanded="true"] .duty-chevron{transform:rotate(180deg)}
.duty-member-list{margin-top:14px;padding-top:12px;border-top:1px solid rgba(77,128,98,.24)}.duty-member-title{font-size:.6rem;font-weight:850;letter-spacing:.12em;color:#789184;margin-bottom:7px}.duty-member-row{display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:start;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.04)}.duty-member-row:last-child{border-bottom:0}.duty-member-row>span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:rgba(79,162,109,.12);color:#7fc99a;font-size:.58rem;font-weight:800}.duty-member-row>strong{font-size:.72rem;line-height:1.35;color:#d8e4dc;font-weight:650}
@media(max-width:767px){.current-duty-summary{gap:10px}.duty-tap-hint{font-size:.57rem!important}.duty-member-row>strong{font-size:.7rem}}
/* CUTI ANGGOTA — responsive CSS donut, no chart library */
.leave-card-body{padding:0!important}.leave-today-panel{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:center;padding:18px 20px;border-bottom:1px solid #253d32;background:linear-gradient(135deg,rgba(26,48,36,.36),rgba(8,20,14,.08))}.leave-donut{--leave-pct:0;width:104px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#d8ad45 calc(var(--leave-pct)*1%),rgba(100,139,116,.18) 0);box-shadow:0 0 26px rgba(216,173,69,.08);position:relative}.leave-donut:after{content:'';position:absolute;inset:10px;border-radius:50%;background:#0b1912;border:1px solid rgba(255,255,255,.05)}.leave-donut-core{position:relative;z-index:1;text-align:center;display:grid;line-height:1}.leave-donut-core strong{font-size:1.25rem;color:#f0d37b}.leave-donut-core span{margin-top:5px;font-size:.53rem;font-weight:800;letter-spacing:.12em;color:#8ca095}.leave-today-info{min-width:0}.leave-kicker{display:block;font-size:.58rem;font-weight:850;letter-spacing:.14em;color:#7d9588}.leave-fraction{display:flex;align-items:baseline;gap:6px;margin:4px 0 10px}.leave-fraction strong{font-size:1.7rem;line-height:1;color:#f2f6f3}.leave-fraction span{font-size:.72rem;color:#8ea296}.leave-legend{display:flex;flex-wrap:wrap;gap:8px 14px}.leave-legend>span{display:inline-flex;align-items:center;gap:6px;font-size:.63rem;color:#9db0a4}.leave-legend b{color:#dce7e0}.leave-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.leave-dot.on{background:#d8ad45;box-shadow:0 0 8px rgba(216,173,69,.35)}.leave-dot.off{background:#4c725c}.leave-overview-list{padding:10px 20px 14px}.leave-overview-item{padding:13px 0!important}
@media(min-width:900px){.leave-today-panel{grid-template-columns:126px minmax(0,1fr);padding:22px 24px}.leave-donut{width:116px}.leave-donut-core strong{font-size:1.4rem}.leave-fraction strong{font-size:2rem}}
@media(max-width:560px){.leave-today-panel{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:15px 14px}.leave-donut{width:84px}.leave-donut:after{inset:8px}.leave-donut-core strong{font-size:1rem}.leave-donut-core span{font-size:.48rem}.leave-fraction{margin-bottom:8px}.leave-fraction strong{font-size:1.45rem}.leave-fraction span{font-size:.66rem}.leave-legend{gap:6px 10px}.leave-legend>span{font-size:.58rem}.leave-overview-list{padding:8px 14px 12px}}

/* Vehicle status drill-down */
.status-box.vehicle-status-trigger{cursor:pointer;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}.status-box.vehicle-status-trigger:after{pointer-events:none}.status-box.vehicle-status-trigger:hover{transform:translateY(-2px);filter:brightness(1.08)}.status-box.vehicle-status-trigger:active{transform:scale(.985)}.status-box.vehicle-status-trigger:focus-visible{outline:2px solid #b9dcc7;outline-offset:3px}.status-tap-hint{display:block;margin-top:8px;font-style:normal;font-size:.5rem;letter-spacing:.08em;color:rgba(220,235,226,.58)}
.vehicle-status-modal[hidden]{display:none!important}.vehicle-status-modal{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:20px}.vehicle-status-backdrop{position:absolute;inset:0;background:rgba(0,8,5,.76);backdrop-filter:blur(5px)}.vehicle-status-sheet{position:relative;width:min(560px,calc(100vw - 32px));max-height:min(78vh,720px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #365849;border-radius:16px;background:linear-gradient(180deg,#10241a,#08150f);box-shadow:0 24px 80px rgba(0,0,0,.55)}
.vehicle-status-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 18px 14px;border-bottom:1px solid #244034;background:rgba(15,36,26,.96)}.vehicle-status-modal-head small{display:block;font-size:.58rem;letter-spacing:.14em;color:#789183}.vehicle-status-modal-head h3{margin:3px 0 2px;font-size:1rem;letter-spacing:.055em;color:#eef5f0}.vehicle-status-modal-head span{font-size:.7rem;color:#8fb09c}.vehicle-status-close{width:38px;height:38px;border:1px solid #365849!important;border-radius:10px!important;background:#142c20!important;color:#dce9e0!important;font-size:1.5rem!important;line-height:1!important;padding:0!important}
.vehicle-status-list{overflow:auto;padding:10px 14px 16px}.vehicle-status-row{padding:13px 4px;border-bottom:1px solid #20372d}.vehicle-status-row:last-of-type{border-bottom:0}.vehicle-status-row-main{display:flex;align-items:center;justify-content:space-between;gap:16px}.vehicle-status-row-main strong{font-size:.82rem;color:#e4eee8}.vehicle-status-row-main span{white-space:nowrap;border:1px solid #385747;border-radius:7px;padding:5px 8px;background:#0d2017;color:#b9cec1;font-size:.7rem;font-weight:700;letter-spacing:.04em}.vehicle-status-row>small{display:block;margin-top:6px;color:#80968a;font-size:.67rem}.vehicle-status-empty{padding:30px 8px;text-align:center;color:#82978b}.vehicle-modal-open{overflow:hidden}
@media(max-width:767px){.status-tap-hint{font-size:.45rem;margin-top:6px}.vehicle-status-modal{place-items:end center;padding:0}.vehicle-status-sheet{width:100%;max-height:78vh;border-radius:18px 18px 0 0;border-left:0;border-right:0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.vehicle-status-modal-head{padding:16px 16px 13px}.vehicle-status-list{padding:8px 14px 14px}.vehicle-status-row{padding:13px 2px}.vehicle-status-row-main{align-items:flex-start}.vehicle-status-row-main strong{font-size:.78rem;line-height:1.35}.vehicle-status-row-main span{font-size:.66rem}}

/* iPhone Home Screen safe-area menu fix 2026-09-20 */
@media(max-width:767px){
  .tactical-sidebar{
    padding-top:env(safe-area-inset-top)!important;
  }
  .tactical-sidebar .container-fluid{
    min-height:56px!important;
    padding-top:6px!important;
    padding-bottom:6px!important;
    padding-left:max(14px,calc(env(safe-area-inset-left) + 10px))!important;
    padding-right:max(14px,calc(env(safe-area-inset-right) + 10px))!important;
    align-items:center!important;
  }
  .tactical-sidebar .navbar-toggler{
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    min-height:52px!important;
    padding:10px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    touch-action:manipulation;
  }
  .tactical-sidebar .navbar-toggler-icon{
    width:28px!important;
    height:28px!important;
    background-size:28px 28px!important;
  }
}

/* Premium tactical mobile menu button 2026-09-20 */
@media(max-width:767px){
  .tactical-sidebar .navbar-toggler{
    position:relative!important;
    width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;
    border-radius:14px!important;
    border:1px solid rgba(161,202,151,.38)!important;
    background:linear-gradient(145deg,rgba(18,58,39,.98),rgba(6,28,18,.98))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 20px rgba(0,0,0,.34),0 0 18px rgba(87,190,122,.08)!important;
    padding:0!important;overflow:hidden!important;
  }
  .tactical-sidebar .navbar-toggler:before{
    content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;
    background:linear-gradient(135deg,rgba(211,178,87,.09),transparent 42%,rgba(91,205,132,.07))!important;
  }
  .tactical-sidebar .navbar-toggler-icon{
    position:relative!important;display:block!important;width:28px!important;height:20px!important;
    background:none!important;background-image:none!important;border-top:3px solid #e8f5ed!important;border-bottom:3px solid #e8f5ed!important;
    border-radius:2px!important;filter:drop-shadow(0 0 5px rgba(117,215,151,.18))!important;
  }
  .tactical-sidebar .navbar-toggler-icon:before{
    content:""!important;position:absolute!important;left:0!important;right:0!important;top:50%!important;
    height:3px!important;transform:translateY(-50%)!important;border-radius:2px!important;background:#e8f5ed!important;
  }
  .tactical-sidebar .navbar-toggler:active{
    transform:scale(.96)!important;background:linear-gradient(145deg,rgba(25,73,49,.98),rgba(8,35,23,.98))!important;
    box-shadow:inset 0 2px 8px rgba(0,0,0,.28),0 4px 10px rgba(0,0,0,.28)!important;
  }
  .tactical-sidebar .navbar-toggler:focus{box-shadow:0 0 0 2px rgba(105,210,142,.18),0 8px 20px rgba(0,0,0,.34)!important;}
}

/* Skuadron CC Install Assistant 2026-09-20 */
.scc-install-launcher{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(14px,calc(env(safe-area-inset-bottom) + 10px));z-index:2147483645;display:flex;align-items:center;gap:8px;border:1px solid rgba(114,203,145,.34);border-radius:999px;padding:9px 12px 9px 9px;background:linear-gradient(145deg,rgba(17,57,38,.98),rgba(5,25,16,.98));color:#edf6f0;box-shadow:0 12px 30px rgba(0,0,0,.42),0 0 20px rgba(80,190,118,.08);font-size:.72rem;font-weight:800;letter-spacing:.02em;cursor:pointer}.scc-install-launcher img{width:30px;height:30px;border-radius:8px}.scc-install-launcher:active{transform:scale(.97)}
.scc-install-modal[hidden]{display:none!important}.scc-install-modal{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:end center}.scc-install-backdrop{position:absolute;inset:0;background:rgba(0,7,4,.78);backdrop-filter:blur(6px)}.scc-install-sheet{position:relative;width:min(560px,100%);max-height:min(86vh,760px);overflow:auto;border:1px solid rgba(109,189,137,.28);border-bottom:0;border-radius:22px 22px 0 0;padding:18px 16px max(20px,calc(env(safe-area-inset-bottom) + 14px));background:linear-gradient(180deg,#10271b 0%,#07130d 100%);box-shadow:0 -20px 60px rgba(0,0,0,.46)}.scc-install-head{display:grid;grid-template-columns:52px 1fr 40px;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid rgba(111,169,132,.18)}.scc-install-head img{width:52px;height:52px;border-radius:13px;box-shadow:0 8px 18px rgba(0,0,0,.3)}.scc-install-head small{display:block;color:#7fa08d;font-size:.56rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.scc-install-head h3{margin:3px 0 0;color:#f2f7f4;font-size:1.02rem;letter-spacing:.015em}.scc-install-close{width:40px;height:40px;border:1px solid rgba(124,179,144,.23);border-radius:11px;background:#142c20;color:#dce9e0;font-size:1.45rem;line-height:1;cursor:pointer}.scc-install-copy{padding:15px 2px 3px;color:#9fb3a7;font-size:.73rem;line-height:1.5}.scc-install-steps{display:grid;gap:9px;margin:10px 0 6px;padding:0;list-style:none}.scc-install-step{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:start;padding:11px 12px;border:1px solid rgba(104,160,124,.17);border-radius:12px;background:rgba(12,31,21,.78)}.scc-install-step b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(82,190,119,.12);border:1px solid rgba(82,190,119,.24);color:#83dda2;font-size:.72rem}.scc-install-step strong{display:block;color:#e6efe9;font-size:.78rem;margin-top:2px}.scc-install-step span{display:block;margin-top:3px;color:#869d90;font-size:.67rem;line-height:1.4}.scc-install-note{margin-top:12px;padding:10px 12px;border-left:3px solid #c8a754;border-radius:8px;background:rgba(200,167,84,.07);color:#b7c5bd;font-size:.66rem;line-height:1.45}.scc-install-done{display:none;margin-top:12px;color:#85daa3;font-size:.7rem}.scc-install-guide-open{overflow:hidden!important}
@media(min-width:768px) and (pointer:fine){.scc-install-launcher,.scc-install-modal{display:none!important}}


/* Skuadron CC installed-state button 2026-09-20 */
.scc-install-installed{width:100%;min-height:46px;margin-top:13px;border:1px solid rgba(112,205,145,.32);border-radius:12px;background:linear-gradient(180deg,rgba(34,92,59,.92),rgba(18,61,39,.94));color:#eef8f1;font-size:.75rem;font-weight:850;letter-spacing:.02em;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);cursor:pointer}.scc-install-installed:active{transform:scale(.985);background:linear-gradient(180deg,rgba(42,108,70,.96),rgba(20,69,44,.96))}

/* Android native-install CTA — browser-aware */
.scc-install-native{width:100%;margin:14px 0 4px;min-height:50px;border:1px solid rgba(115,229,153,.42);border-radius:12px;background:linear-gradient(180deg,#2d8b54,#1f693f);color:#fff;font-size:.82rem;font-weight:900;letter-spacing:.06em;box-shadow:0 10px 24px rgba(0,0,0,.24),0 0 18px rgba(82,205,124,.10);cursor:pointer}.scc-install-native[hidden]{display:none!important}.scc-install-native:active{transform:scale(.985)}.scc-install-native:disabled{opacity:.7;cursor:default}


/* Install Assistant 2-step flow 2026-09-20 */
.scc-install-phase{margin-top:14px;padding:13px;border:1px solid rgba(103,167,126,.20);border-radius:14px;background:rgba(8,25,16,.72)}
.scc-install-phase-confirm{margin-top:11px;border-color:rgba(205,174,88,.22);background:rgba(42,34,13,.18)}
.scc-install-phase-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.scc-install-phase-head b{display:inline-grid;place-items:center;min-height:25px;padding:0 9px;border:1px solid rgba(90,202,129,.30);border-radius:999px;background:rgba(71,175,108,.10);color:#82dda1;font-size:.56rem;font-weight:900;letter-spacing:.10em}.scc-install-phase-confirm .scc-install-phase-head b{border-color:rgba(213,180,87,.30);background:rgba(213,180,87,.08);color:#e5c96f}.scc-install-phase-head strong{color:#e8f1eb;font-size:.76rem;letter-spacing:.045em}.scc-install-phase-copy{margin:9px 0 2px;color:#91a79a;font-size:.67rem;line-height:1.45}.scc-install-phase .scc-install-steps{margin-top:10px}.scc-install-phase .scc-install-native{margin-top:11px}.scc-install-phase-confirm .scc-install-installed{margin-top:11px;min-height:50px;background:linear-gradient(180deg,#2d8b54,#1f693f);border-color:rgba(115,229,153,.42);font-size:.80rem;font-weight:900;letter-spacing:.055em}
@media(max-width:420px){.scc-install-phase{padding:12px 11px}.scc-install-phase-head{gap:7px}.scc-install-phase-head strong{font-size:.72rem}.scc-install-phase-copy{font-size:.64rem}}

/* Foldable / small-tablet touch view 2026-09-20 — additive only */
@media (min-width:768px) and (max-width:991px) and (pointer:coarse){
  .page-wrapper{margin-left:0!important;}
  .page-body .container-xl,.container-xl{max-width:100%!important;padding-left:16px!important;padding-right:16px!important;}
  .tactical-header{min-height:138px!important;padding:20px 22px!important;}
  .hero-copy h1{font-size:1.65rem!important;}
  .hero-copy p{font-size:.66rem!important;letter-spacing:.12em!important;}
  .system-box{min-width:190px!important;}
  .tactical-main{padding-top:14px!important;}
  .kpi-card{min-height:116px!important;}
  .kpi-card .card-body{padding:14px!important;gap:12px!important;}
  .kpi-icon{width:38px!important;height:38px!important;font-size:1.15rem!important;}
  .kpi-value{font-size:1.8rem!important;}
  .strength-panel{grid-template-columns:minmax(0,1fr) 140px!important;gap:14px!important;}
  .donut{width:126px!important;height:126px!important;}
  .vehicle-status-grid,.vehicle-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .tactical-card .card-header{padding:.72rem .9rem!important;}
  .tactical-card .card-body{padding:14px!important;}
  .navbar-vertical.navbar-expand-lg{position:relative!important;width:100%!important;border-right:0!important;}
  .tactical-sidebar .container-fluid{min-height:58px!important;padding:7px 16px!important;align-items:center!important;}
  .tactical-sidebar .navbar-toggler{min-width:48px!important;min-height:48px!important;width:48px!important;height:48px!important;border-radius:13px!important;border:1px solid rgba(161,202,151,.34)!important;background:linear-gradient(145deg,rgba(18,58,39,.98),rgba(6,28,18,.98))!important;}
  .current-duty-summary{gap:12px!important;}
  .current-duty-metrics span{min-width:68px!important;}
  .scc-install-sheet{width:min(620px,calc(100vw - 40px))!important;border-radius:20px!important;margin-bottom:max(18px,env(safe-area-inset-bottom))!important;}
  .scc-install-modal{place-items:center!important;}
}


/* Penugasan Semasa mini summary 2026-09-20 */
.duty-summary-mini{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center;padding:14px 16px;border-bottom:1px solid #253d32;background:linear-gradient(135deg,rgba(32,77,49,.20),rgba(8,20,14,.04))}
.duty-summary-donut{--duty-pct:0;width:68px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#5fd38a calc(var(--duty-pct)*1%),rgba(104,139,116,.18) 0);box-shadow:0 0 20px rgba(95,211,138,.08)}
.duty-summary-donut:after{content:'';position:absolute;inset:7px;border-radius:50%;background:#0b1912;border:1px solid rgba(255,255,255,.05)}
.duty-summary-core{position:relative;z-index:1;display:grid;text-align:center;line-height:1}.duty-summary-core strong{font-size:.95rem;color:#dff5e7}.duty-summary-core span{margin-top:4px;font-size:.43rem;font-weight:850;letter-spacing:.10em;color:#789184}.duty-summary-copy{min-width:0}.duty-summary-copy>small{display:block;font-size:.55rem;font-weight:850;letter-spacing:.12em;color:#789184}.duty-summary-copy>div{display:flex;align-items:baseline;gap:6px;margin-top:3px}.duty-summary-copy>div strong{font-size:1.42rem;line-height:1;color:#f1f6f3}.duty-summary-copy>div span{font-size:.68rem;color:#8ea196}.duty-summary-copy p{margin:5px 0 0;font-size:.61rem;line-height:1.35;color:#71877b}
@media(max-width:767px){.duty-summary-mini{grid-template-columns:62px minmax(0,1fr);gap:11px;padding:12px}.duty-summary-donut{width:60px}.duty-summary-donut:after{inset:6px}.duty-summary-core strong{font-size:.84rem}.duty-summary-copy>small{font-size:.5rem}.duty-summary-copy>div strong{font-size:1.25rem}.duty-summary-copy>div span{font-size:.62rem}.duty-summary-copy p{font-size:.57rem}}
@media (min-width:768px) and (max-width:991px) and (pointer:coarse){.duty-summary-mini{grid-template-columns:70px minmax(0,1fr);padding:13px 15px}.duty-summary-donut{width:66px}}


/* Penugasan semasa — progress summary */
.duty-progress-summary{padding:16px 20px 15px;border-bottom:1px solid #253d32;background:linear-gradient(135deg,rgba(26,48,36,.34),rgba(8,20,14,.08))}.duty-progress-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.duty-progress-head small{display:block;font-size:.58rem;font-weight:850;letter-spacing:.14em;color:#7d9588}.duty-progress-count{display:flex;align-items:baseline;gap:7px;margin-top:4px}.duty-progress-count strong{font-size:1.65rem;line-height:1;color:#f2f6f3}.duty-progress-count span{font-size:.72rem;color:#8ea296}.duty-progress-pct{font-size:1.32rem;line-height:1;color:#66ea93}.duty-progress-track{height:9px;margin-top:12px;border-radius:999px;overflow:hidden;background:rgba(100,139,116,.18);border:1px solid rgba(255,255,255,.04)}.duty-progress-track>span{display:block;width:calc(min(var(--duty-pct),100)*1%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#2ba95a,#66ea93);box-shadow:0 0 12px rgba(94,229,138,.22)}.duty-progress-summary>p{margin:8px 0 0;font-size:.66rem;color:#748b7e}
@media(max-width:767px){.duty-progress-summary{padding:14px}.duty-progress-head{gap:10px}.duty-progress-head small{font-size:.52rem;letter-spacing:.11em}.duty-progress-count strong{font-size:1.45rem}.duty-progress-count span{font-size:.65rem}.duty-progress-pct{font-size:1.12rem}.duty-progress-track{height:8px;margin-top:10px}.duty-progress-summary>p{font-size:.6rem}}

/* SKUADRON COMMAND CENTER — Premium login 2026-09-20 */
.login-page-active .tactical-main{padding:0!important;min-height:100dvh;display:grid;align-items:stretch}
.login-page-active .tactical-main>.container-xl{max-width:none!important;width:100%!important;padding:0!important;margin:0!important;display:grid;min-height:100dvh}
.login-stage{position:relative;isolation:isolate;min-height:100dvh;display:grid;place-items:center;padding:max(34px,env(safe-area-inset-top)) 18px max(72px,calc(env(safe-area-inset-bottom) + 58px));overflow:hidden;background:radial-gradient(circle at 50% 0%,rgba(56,126,82,.18),transparent 35%),linear-gradient(180deg,#07110d 0%,#040a07 100%)}
.login-stage:after{content:"";position:absolute;z-index:-2;left:50%;top:12%;width:min(560px,92vw);height:min(560px,92vw);transform:translateX(-50%);border:1px solid rgba(99,181,127,.06);border-radius:50%;box-shadow:0 0 0 70px rgba(95,171,121,.018),0 0 0 140px rgba(95,171,121,.012)}
.login-grid{position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent calc(50% - 1px),rgba(123,188,145,.04) 50%,transparent calc(50% + 1px))}
.login-panel{width:min(460px,100%);position:relative;padding:28px 28px 24px;border:1px solid rgba(114,168,134,.24);border-radius:20px;background:linear-gradient(180deg,rgba(15,35,25,.94),rgba(6,19,13,.96));box-shadow:0 28px 75px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.045);backdrop-filter:blur(14px)}
.login-panel:before{content:"";position:absolute;left:22px;right:22px;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(216,173,69,.78),transparent)}
.login-brand{text-align:center}.login-logo-wrap{width:92px;height:92px;margin:0 auto 16px;padding:7px;border-radius:50%;border:1px solid rgba(216,173,69,.30);background:radial-gradient(circle,#153a27,#08150f 70%);box-shadow:0 0 0 7px rgba(85,157,109,.035),0 12px 32px rgba(0,0,0,.35)}
.login-logo-wrap img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}
.login-kicker{display:block;margin-bottom:8px;color:#9db6a6;font-size:.60rem;font-weight:850;letter-spacing:.19em}
.login-brand h1{margin:0;color:#f2f7f4;font-size:clamp(1.55rem,5.9vw,2rem);line-height:1.04;letter-spacing:.055em;font-weight:850;text-shadow:0 2px 18px rgba(0,0,0,.3)}
.login-brand p{margin:9px 0 0;color:#7f9689;font-size:.72rem;letter-spacing:.025em}
.login-separator{display:flex;align-items:center;gap:12px;margin:22px 0 17px;color:#738d7e;font-size:.53rem;font-weight:850;letter-spacing:.16em}.login-separator:before,.login-separator:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(111,159,130,.22))}.login-separator:after{transform:scaleX(-1)}
.login-form{display:grid;gap:14px}.login-field{display:grid;gap:7px}.login-field>span{color:#afc4b6;font-size:.68rem;font-weight:700;letter-spacing:.035em}
.login-input-shell{min-height:51px;display:grid;grid-template-columns:38px minmax(0,1fr) 40px;align-items:center;border:1px solid rgba(98,155,119,.28);border-radius:12px;background:rgba(3,14,9,.64);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;overflow:hidden}.login-input-shell:focus-within{border-color:rgba(94,207,133,.58);background:rgba(5,20,13,.82);box-shadow:0 0 0 3px rgba(72,180,109,.08),0 8px 26px rgba(0,0,0,.18)}
.login-input-shell>svg{width:18px;height:18px;justify-self:center;fill:none;stroke:#729884;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.login-input-shell input{width:100%;height:49px!important;min-height:49px!important;padding:0 4px!important;border:0!important;outline:0!important;background:transparent!important;color:#eef6f1!important;font-size:.94rem!important;box-shadow:none!important}.login-input-shell input:-webkit-autofill{-webkit-text-fill-color:#eef6f1!important;-webkit-box-shadow:0 0 0 1000px #091a12 inset!important}
.login-password-toggle{width:38px!important;height:38px!important;min-height:38px!important;display:grid!important;place-items:center!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.login-password-toggle svg{width:19px;height:19px;fill:none;stroke:#6f9180;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.login-password-toggle.is-visible svg{stroke:#8bd7a5}
.login-submit{margin-top:2px;min-height:52px!important;border-radius:12px!important;border:1px solid rgba(99,221,143,.37)!important;background:linear-gradient(180deg,#2a774b 0%,#1c5736 100%)!important;box-shadow:0 12px 26px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.10)!important;color:#fff!important;font-size:.78rem!important;font-weight:900!important;letter-spacing:.13em!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;transition:transform .15s ease,filter .15s ease!important}.login-submit b{font-size:1.05rem;line-height:1;font-weight:500}.login-submit:active{transform:scale(.985);filter:brightness(1.08)}
.login-access{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:17px;color:#71877b;font-size:.60rem}.login-access i{width:7px;height:7px;border-radius:50%;background:#5fd28a;box-shadow:0 0 11px rgba(95,210,138,.55)}
.login-meta{position:absolute;bottom:max(26px,calc(env(safe-area-inset-bottom) + 14px));left:16px;right:16px;text-align:center;color:#586d61;font-size:.52rem;font-weight:800;letter-spacing:.12em}.login-meta span{color:#887a4e;margin:0 4px}
.login-page-active .scc-install-launcher{right:50%!important;bottom:max(12px,calc(env(safe-area-inset-bottom) + 8px))!important;transform:translateX(50%)!important;padding:5px 9px 5px 6px!important;gap:6px!important;font-size:.60rem!important;opacity:.82!important;box-shadow:0 7px 18px rgba(0,0,0,.30)!important}.login-page-active .scc-install-launcher img{width:22px!important;height:22px!important;border-radius:6px!important}.login-page-active .scc-install-launcher:active{transform:translateX(50%) scale(.97)!important}
.login-page-active .tactical-alert{position:fixed;z-index:30;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(420px,calc(100vw - 28px));margin:0!important;border-radius:11px!important;font-size:.7rem!important;box-shadow:0 12px 32px rgba(0,0,0,.35)}
@media(max-width:520px){.login-stage{padding-left:15px;padding-right:15px}.login-panel{padding:24px 20px 21px;border-radius:18px}.login-logo-wrap{width:82px;height:82px;margin-bottom:14px}.login-brand h1{font-size:1.58rem}.login-brand p{font-size:.67rem}.login-separator{margin:19px 0 15px}.login-input-shell{min-height:50px}.login-submit{min-height:51px!important}.login-meta{font-size:.48rem;letter-spacing:.09em}}
@media(max-height:720px){.login-stage{place-items:start center;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:62px}.login-panel{margin-top:0}.login-logo-wrap{width:70px;height:70px;margin-bottom:10px}.login-brand h1{font-size:1.36rem}.login-separator{margin:14px 0 12px}.login-form{gap:10px}.login-access{margin-top:12px}.login-meta{display:none}}

/* PENUGASAN — mobile card list, prevent horizontal clipping */
@media(max-width:767px){
.assignment-record-table{display:block!important;width:100%!important;overflow:visible!important;border:0!important;background:transparent!important}
.assignment-record-table>tbody{display:grid!important;gap:10px!important;width:100%!important}
.assignment-record-table>tbody>tr:first-child{display:none!important}
.assignment-record-table>tbody>tr:not(:first-child){display:grid!important;grid-template-columns:1fr!important;width:100%!important;padding:12px!important;border:1px solid rgba(87,177,119,.20)!important;border-radius:12px!important;background:rgba(8,24,16,.92)!important}
.assignment-record-table td{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;width:100%!important;padding:7px 0!important;border:0!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important}
.assignment-record-table td::before{content:attr(data-label);font-size:.63rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase;color:#82988a}
.assignment-record-table .auto-status{justify-self:start!important}
.assignment-record-table .record-edit-shell{min-width:0!important;width:100%!important}
.assignment-record-table .record-edit-form{min-width:0!important;width:100%!important}
}


/* PENUGASAN AKAN DATANG — home summary 2026-09-23 */
#upcoming-assignment-home .card-header{border-bottom:1px solid rgba(216,173,69,.14)}
.upcoming-duty-list{padding-top:12px!important}
.upcoming-duty-item{position:relative;border-color:rgba(216,173,69,.15)!important;background:linear-gradient(180deg,rgba(29,28,13,.30),rgba(7,18,12,.98))!important}
.upcoming-duty-item:before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 4px 4px 0;background:#c7a64b;opacity:.78}
.upcoming-duty-badge{display:inline-flex;margin-top:10px;padding:5px 9px;border:1px solid rgba(216,173,69,.28);border-radius:999px;background:rgba(185,145,38,.10);color:#e4c66a;font-size:.56rem;font-weight:850;letter-spacing:.08em}
.upcoming-duty-footer{padding:0 18px 15px;text-align:right}.upcoming-duty-footer a{color:#82d8a0;font-size:.67rem;font-weight:800;text-decoration:none}.upcoming-duty-footer a:hover{text-decoration:underline}
@media(max-width:767px){.upcoming-duty-list{padding:10px!important}.upcoming-duty-badge{margin-top:8px;font-size:.53rem}.upcoming-duty-footer{padding:0 14px 13px}}

.upcoming-duty-more-btn{border:0!important;background:transparent!important;color:#82d8a0!important;font-size:.67rem!important;font-weight:800!important;padding:8px 0!important;min-height:36px!important;box-shadow:none!important}.upcoming-duty-more-btn:active{opacity:.75}.upcoming-duty-extra[hidden]{display:none!important}
