@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--violet:#b241ee}body{font-family:Manrope,Arial,sans-serif}.rail{width:254px;padding:16px 20px 24px;background:linear-gradient(150deg,#090d14,#060b12);border-right:1px solid #73819920;scrollbar-width:thin}.wordmark{display:block;height:108px;letter-spacing:normal}.wordmark img{width:100%;height:100%;object-fit:contain}.rail nav{margin-top:20px}.rail nav a{display:grid;grid-template-columns:24px 1fr;column-gap:12px;align-items:center;padding:11px 12px;color:#ccd0d9;font-size:14px;font-weight:400;border-radius:6px;margin:4px 0}.rail nav a b{font-size:14px;font-weight:500;line-height:1.5;margin:0;color:inherit}.rail nav a svg{width:21px;height:21px;color:var(--nav-tint,#b9c5d4)}.rail nav a small{grid-column:2;margin:2px 0 0;font-size:9px;font-weight:400;color:#8090a4;letter-spacing:.5px}.rail nav a.active{color:#fff;background:linear-gradient(95deg,#7121b860,#39125530);border-left:1px solid #b640ed;box-shadow:inset 0 0 18px #63149220}.nav-group{color:#758095;font-size:10px;letter-spacing:2px;margin:22px 2px 9px}.rail-bottom{margin-top:auto;border-left:2px solid #a836e4;margin-left:42px;padding:0 0 0 16px;font-size:9px;letter-spacing:3px;line-height:1.8}.rail-bottom span:last-child{color:#b25de0}.surface{margin-left:254px;padding:0 42px 30px;max-width:none;min-height:100vh}.topline{height:80px;font-size:12px;letter-spacing:.5px;border-color:#78568c33;position:relative;z-index:2}.portal-brandline strong{display:block;letter-spacing:5px;font-size:11px;color:#fff}.portal-brandline #crumb{display:block;font-size:8px;letter-spacing:4px;margin-top:8px;color:#8290a6}.topline>div:nth-child(2){display:flex;gap:20px;align-items:center;margin-left:auto}.topline #identity{background:#080d17b0;border:1px solid #8652ad20;border-radius:9px;padding:9px 15px;display:flex;gap:12px;align-items:center;letter-spacing:0}.topline #identity svg{width:22px;height:22px;color:#dfc8ff}.topline #logout{margin:0;border:1px solid #8652ad20;background:#191726;padding:10px 28px;border-radius:8px;font-size:12px;font-weight:600}.header-motto{white-space:pre-line;text-align:center;font-size:8px;letter-spacing:3px;margin-left:55px;line-height:2;color:#b9accc}
body:is([data-department=home],[data-auth=pending]) .surface{background:#070a10}body[data-department=home] .surface::before,body[data-auth=pending] .surface::before{content:'';position:absolute;inset:80px 0 0 254px;pointer-events:none;background:linear-gradient(180deg,#080b1210 15%,#080b1240 42%,#080b12 88%),url('/assets/brands/portal-hero-v13.png') right top/100% auto no-repeat;z-index:0}.surface>section,.surface>.portal-footer,.surface>#notice{position:relative}.surface>#notice:empty{margin:0;display:none}#portal-home{background:none;border:0;border-radius:0;padding:38px 0 32px;margin:0;min-height:680px}#portal-home>.eyebrow{font-size:9px;letter-spacing:5px;color:#bdb7ce;margin:0 0 14px}#portal-home>h1{font-family:Manrope,Arial,sans-serif;font-size:48px;line-height:1.08;letter-spacing:-1.5px;margin:0;max-width:610px;font-weight:800}#portal-home>h1 em{font-family:'Kaushan Script','Segoe Print',cursive;font-size:86px;letter-spacing:-4px;font-weight:400;color:#b52eea;line-height:1.12;margin:-2px 0 8px;text-shadow:0 3px 12px #0e041bc9;transform:rotate(-5deg);transform-origin:left center}.portal-subtitle{margin:16px 0 24px;font-size:13px;letter-spacing:.3px;color:#c7c5d2}.portal-sign{position:absolute;right:0;top:36px;margin:0;font:38px/1.05 'Kaushan Script',cursive;color:#9c39bf;text-align:center;white-space:pre-line;transform:rotate(-9deg);text-shadow:0 2px 12px #0a0019}
#portal-home .portal-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;position:relative}#portal-home .portal-tile{height:177px;min-height:177px!important;padding:0!important;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid color-mix(in srgb,var(--tile-color),#000 23%);border-radius:14px;box-shadow:inset 0 0 20px color-mix(in srgb,var(--tile-color),transparent 90%);background-color:#0b0c14;background-position:center;background-size:cover;overflow:hidden}#portal-home .portal-tile::before{z-index:1;background:linear-gradient(180deg,#04070b00 0%,#03060b22 20%,#050811e8 72%,color-mix(in srgb,var(--tile-color),#04070d 93%) 100%)}#portal-home .portal-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1}#portal-home .tile-caption{position:relative;z-index:2;display:flex;align-items:center;gap:11px;padding:0 12px 10px;min-height:62px}#portal-home .tile-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;margin:0;padding:0;background:color-mix(in srgb,var(--tile-color),transparent 83%);border:1px solid color-mix(in srgb,var(--tile-color),transparent 70%);border-radius:50%;color:var(--tile-color);box-shadow:0 0 20px color-mix(in srgb,var(--tile-color),transparent 85%)}.tile-icon svg{width:25px;height:25px}#portal-home .tile-copy{min-width:0}#portal-home .portal-tile h2{font:700 14px/1.2 Manrope,Arial,sans-serif;margin:0;padding:0;overflow-wrap:normal;text-shadow:0 2px 3px #000}#portal-home .tile-copy p{font-size:10px;line-height:1.25;color:#c1c6d1;margin:4px 0 0}#portal-home .tile-link{display:flex;align-items:center;gap:10px;position:relative;z-index:2;padding:10px 14px;border-top:1px solid color-mix(in srgb,var(--tile-color),transparent 85%);background:linear-gradient(90deg,color-mix(in srgb,var(--tile-color),transparent 84%),transparent);font-size:11px;height:39px}#portal-home .tile-link span{padding:0;margin:0;background:none;border:0;font:inherit;display:inline}#portal-home .tile-link svg{width:14px;height:14px;color:var(--tile-color)}#portal-home .tile-link b{font-size:18px;font-weight:400;color:var(--tile-color)}#portal-home .portal-tile:hover{transform:translateY(-3px);box-shadow:0 0 20px color-mix(in srgb,var(--tile-color),transparent 75%)}
.portal-footer{display:none;grid-template-columns:repeat(3,1fr) 1.2fr;gap:28px;padding:24px 0;border-top:1px solid #60556d33}.portal-footer>div{display:flex;align-items:center;gap:15px}.portal-footer svg{width:29px;height:29px;flex-shrink:0;color:#b43bee}.portal-footer strong{font-size:9px;letter-spacing:.8px;font-weight:600;display:block}.portal-footer small{font-size:10px;color:#66778d;margin-top:4px;display:block}.portal-footer .footer-wordmark{display:block;border-left:1px solid #62616c;padding-left:35px}.footer-wordmark strong{letter-spacing:4px;color:#8791a3}.footer-wordmark small{letter-spacing:3px;font-size:8px}body[data-department=home][data-auth=verified] .portal-footer{display:grid}
body[data-auth=pending] .rail nav{display:none}#gate{position:relative;isolation:isolate;min-height:calc(100vh - 110px);margin:0;padding:65px 0 45px;display:flex;justify-content:center;border:0;border-radius:0;background:none;max-width:none}#gate .eyebrow{margin-top:0;letter-spacing:4px;font-size:10px}#gate h1{font:800 clamp(38px,4.5vw,68px)/1.15 Manrope,Arial,sans-serif;letter-spacing:-2px;margin:20px 0}#gate h1 em{font:400 1.25em/1.3 'Kaushan Script',cursive;color:#c14ef1}#gate .intro{max-width:530px;color:#d0c7dc;font-size:15px;line-height:1.8}#gate .primary{display:flex;align-items:center;gap:14px;background:linear-gradient(120deg,#9a28d9,#5d208f);border:1px solid #c159ed;border-radius:10px;box-shadow:0 0 28px #952ada3a;padding:17px 24px;font-size:14px}#gate .primary svg{width:25px;height:25px}#gate .fineprint{max-width:480px;color:#9b98b3;font-size:11px;line-height:1.7}.gate-features{display:flex;flex-wrap:wrap;gap:24px;font-size:10px;letter-spacing:1px;color:#c9afd9;margin-top:48px}.gate-sign{position:absolute;right:3%;top:14%;font:40px 'Kaushan Script',cursive;transform:rotate(-8deg);color:#ca7bdf}
@media(min-width:1850px){#portal-home{padding-top:45px}#portal-home .portal-tile{height:190px;min-height:190px!important}#portal-home .portal-tile h2{font-size:16px}#portal-home .tile-copy p{font-size:11px}#portal-home{min-height:730px}}
@media(max-width:1400px){.surface{padding-left:26px;padding-right:26px}.rail{width:230px}.surface{margin-left:230px}body[data-department=home] .surface::before,body[data-auth=pending] .surface::before{left:230px}#portal-home .portal-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.header-motto{display:none}.portal-footer{grid-template-columns:repeat(3,1fr)}.portal-footer .footer-wordmark{display:none}.portal-sign{font-size:30px}#portal-home>h1{font-size:42px}}
@media(max-width:850px){.rail{position:relative;width:auto;height:auto;padding:10px 20px}.wordmark{height:75px;width:155px}.rail nav{display:flex;overflow-x:auto;gap:6px;margin:8px 0 0}.rail nav a{display:flex;flex:0 0 auto;padding:8px;max-width:190px}.rail nav a b{font-size:11px}.rail nav a small,.nav-group,.rail-bottom{display:none}.surface{margin-left:0;padding:0 20px 24px}.topline{height:70px}.portal-brandline strong{font-size:9px;letter-spacing:2px}.portal-brandline #crumb{letter-spacing:1px;font-size:7px}.topline>div:nth-child(2){gap:8px}.topline #identity{font-size:10px;padding:6px}.topline #logout{font-size:10px;padding:8px}.topline #identity svg{display:none}body[data-department=home] .surface::before,body[data-auth=pending] .surface::before{position:absolute;left:0;top:145px;background-size:auto 610px;background-position:70% top}#portal-home{padding-top:26px;min-height:0}.portal-sign{display:none}#portal-home>h1{font-size:36px}#portal-home>h1 em{font-size:65px}#portal-home .portal-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-footer{gap:18px}.portal-footer strong{font-size:8px}.portal-footer small{display:none}.portal-footer svg{width:23px}.gate-sign{display:none}#gate{padding:55px 0;min-height:70vh}#gate .intro{font-size:14px;max-width:430px}.gate-features{gap:14px}.header-motto{display:none}}
@media(max-width:480px){#portal-home .portal-tiles{grid-template-columns:1fr}#portal-home .portal-tile{height:185px;min-height:185px!important}#portal-home .portal-tile h2{font-size:16px}.portal-footer{grid-template-columns:1fr;gap:20px}.portal-footer small{display:block}#gate h1{font-size:39px}#gate h1 em{font-size:1.15em}.portal-brandline{max-width:140px}.topline #identity{max-width:90px}.topline #logout{padding:7px}}

/* Requested top navigation replaces the side rail in all portal areas. */
.rail{position:relative;inset:auto;display:flex;flex-direction:row;align-items:center;gap:22px;width:100%;height:auto;min-height:90px;padding:10px 3vw;border-right:0;border-bottom:1px solid #a437d83a;overflow:visible;z-index:10}.wordmark{width:158px;height:72px;flex:0 0 158px}.rail nav{display:flex;flex-wrap:wrap;align-items:center;gap:3px;flex:1;margin:0}.rail nav a{display:flex;gap:7px;padding:10px 8px;margin:0;max-width:175px;min-width:0}.rail nav a b{font-size:11px;line-height:1.35}.rail nav a svg{width:17px;height:17px;flex-shrink:0}.rail nav a small,.nav-group,.rail-bottom{display:none}.rail nav a.active{border-left:0;border-bottom:2px solid #b640ed}.surface,body:is([data-department=cop],[data-department=medic]) .surface{margin-left:0;padding-left:5vw;padding-right:5vw;min-height:calc(100vh - 94px)}body[data-department=home] .surface::before,body[data-auth=pending] .surface::before{left:0;top:90px;background-size:100% auto}.navigation-toggle{display:none}.topline{height:65px}.portal-brandline strong{font-size:10px}.portal-brandline #crumb{font-size:8px}#portal-home{padding-top:30px;min-height:655px}#portal-home .portal-tile{height:190px;min-height:190px!important}#portal-home .portal-tile h2{font-size:15px}#gate{width:100%;max-width:none;min-height:calc(100svh - 160px);padding:55px 0;align-items:flex-start}#gate h1{max-width:750px;font-size:clamp(42px,4.3vw,72px);line-height:1.2}#gate .intro{max-width:580px;line-height:1.9}#gate .fineprint{max-width:560px;margin-top:20px}body[data-auth=pending] .navigation-toggle{display:none}
@media(max-width:1100px){.rail{justify-content:space-between;flex-wrap:wrap;padding:10px 24px}.navigation-toggle{display:block;margin-left:auto;font-size:13px;background:#251338;border-color:#703a94}.rail nav{display:none;flex-basis:100%;flex-wrap:wrap}.rail.menu-open nav{display:flex}.rail nav a{flex:1 1 170px;max-width:none;padding:14px}.rail nav a b{font-size:13px}.surface{padding-left:24px;padding-right:24px}body[data-department=home] .surface::before,body[data-auth=pending] .surface::before{top:90px;background-size:auto 800px}#portal-home .portal-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}#gate h1{font-size:clamp(40px,6vw,65px)}.gate-sign{display:none}}
@media(max-width:700px){#portal-home .portal-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.surface,body:is([data-department=cop],[data-department=medic]) .surface{padding-left:18px;padding-right:18px}.rail{padding:8px 18px}#gate{padding:35px 0;min-height:calc(100svh - 155px)}#gate h1{font-size:clamp(36px,7vw,48px);letter-spacing:-1px;max-width:100%}#gate h1 em{font-size:1.1em}#gate .intro{font-size:14px;width:100%;max-width:520px}.gate-features{margin-top:26px;gap:14px;font-size:9px}#gate .primary{max-width:100%;padding:14px 18px}.topline #identity{max-width:120px}.topline>div:nth-child(2){gap:6px}#portal-home{min-height:0}}
@media(max-width:450px){#portal-home .portal-tiles{grid-template-columns:1fr}.topline #identity{display:none}.portal-footer{grid-template-columns:1fr}#gate h1{font-size:36px}.gate-features{display:grid;gap:10px}}

/* Shared purple showroom; department MDT and Ammu-Nation remain independent. */
body:has(#shop:not([hidden])){background:#070e18}
body:has(#shop:not([hidden])) .surface{padding:0 1.5vw 28px}
body:has(#shop:not([hidden])) .topline{height:46px}
#shop[data-catalog]{--showroom:#b12bff;--accent:#b12bff}
#shop .shop-banner{margin:0 -1.5vw 12px;border:0;border-radius:0;min-height:200px;padding:24px 5vw;background:linear-gradient(90deg,#030810a6,transparent 70%),url('/assets/brands/portal-hero-v13.png') center 48%/cover}
#shop .shop-banner h1{font-family:Manrope,Arial,sans-serif;font-style:italic;font-weight:800;text-transform:uppercase;font-size:clamp(28px,3.3vw,58px);max-width:850px;margin:10px 0;text-shadow:0 3px 12px #000;overflow-wrap:normal}
#shop .shop-banner small{color:#ddb0ff}#shop .shop-banner p{margin:0;font-size:13px}
#shop .catalog-tools{display:flex;gap:16px;margin:12px 0;align-items:center}
#shop .catalog-tools input{flex:1;max-width:560px}#shop .catalog-tools select{width:auto;min-width:200px}#shop .catalog-tools select:last-child{margin-left:auto}
#shop .vehicle-list{gap:16px}#shop .vehicle-card{grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);grid-template-rows:1fr auto;border-radius:13px!important;background:linear-gradient(110deg,#0c1521,#070e18)!important;border-color:#76538d66!important;box-shadow:none}
#shop .vehicle-visual{grid-row:1/3;padding:0;background:#0b121c;min-height:235px}
#shop .vehicle-visual img{width:100%;height:100%!important;max-height:310px;border-radius:0;object-fit:contain!important}
#shop .vehicle-body{padding:20px 25px 12px;display:grid;grid-template-columns:minmax(150px,.85fr) minmax(0,1.15fr);column-gap:24px;align-content:start}
#shop .vehicle-body>small{grid-column:1;font-size:11px}#shop .vehicle-body h2{grid-column:1;font-family:Manrope,Arial,sans-serif;font-size:28px;margin:8px 0 14px;overflow-wrap:normal}
#shop .vehicle-specs{grid-column:2;grid-row:1/4;border-left:1px solid #68728c33;padding-left:24px;gap:14px 20px}
#shop .vehicle-specs>div{border:0;padding:0}#shop .vehicle-specs dt{font-size:11px}#shop .vehicle-specs dd{font-size:14px}#shop .vehicle-specs>div:nth-child(n+4) dd{color:#c257ff}
#shop .vehicle-price{grid-column:2;padding:8px 25px 14px;border:0;background:transparent;gap:12px}
#shop .vehicle-price>span:first-child{display:none}#shop .vehicle-price strong{font:800 30px Manrope,Arial,sans-serif;white-space:nowrap}
#shop .vehicle-price>span:last-child{padding:12px 18px;background:linear-gradient(120deg,#b315fc,#6500e9);border:1px solid #b64cf2;border-radius:9px;color:#fff;text-align:center;font-weight:600}
@media(min-width:1101px){.rail{gap:18px;padding:6px 1.5vw;min-height:88px}.rail nav{flex-wrap:nowrap;justify-content:space-around}.rail nav a{flex-direction:column;justify-content:center;text-align:center;gap:7px;padding:10px 8px;min-height:66px;max-width:160px}.rail nav a svg{width:22px;height:22px}.rail nav a b{font-size:11px}.rail nav a.active{background:#54238040}}
@media(max-width:1000px){#shop .vehicle-body{display:block;padding:18px}#shop .vehicle-specs{padding-left:0;border:0}#shop .vehicle-body h2{font-size:24px}#shop .vehicle-price{padding:8px 18px 18px;flex-wrap:wrap}#shop .vehicle-price strong{font-size:25px}#shop .catalog-tools{flex-wrap:wrap}#shop .catalog-tools select{flex:1;min-width:140px}#shop .catalog-tools input{flex-basis:100%;max-width:none}}
@media(max-width:650px){#shop .vehicle-card{grid-template-columns:1fr}#shop .vehicle-visual{grid-row:auto;min-height:0}#shop .vehicle-visual img{height:auto!important;max-height:280px}#shop .vehicle-price{grid-column:1}#shop .vehicle-price>span:last-child{width:auto;margin-left:auto}#shop .shop-banner{min-height:180px;padding:24px}#shop .shop-banner h1{font-size:30px}#shop .catalog-tools select{max-width:100%}}
/* Keep the department header compact above the existing MDT workspace. */
body:is([data-department=cop],[data-department=medic]) #department-banner{height:240px;aspect-ratio:auto;object-fit:cover;object-position:center;border-radius:12px}
body:is([data-department=cop],[data-department=medic]) #department-title{font:800 38px/1.15 Manrope,Arial,sans-serif;margin:12px 0}
@media(max-width:650px){body:is([data-department=cop],[data-department=medic]) #department-banner{height:150px}body:is([data-department=cop],[data-department=medic]) #department-title{font-size:30px}}
