/* Q429 Night Shift. Loaded by Home/WYG only. No existing theme tokens, popup
   rules, native interactions, sticky positioning or animation timelines changed. */
@font-face{font-family:NSInter;src:url('night-shift/fonts/inter-variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:NSArchivo;src:url('night-shift/fonts/archivo-variable.woff2') format('woff2');font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap}
.ns{background:#0a0e13;color:#f3f7fa}
.ns :is(.nav,.rp,.mb,.edge-m,.edge,.btns,.ft,.final,.motion,.pvb),.ns main :is(h1,h2,h3,p):not(.pv *):not(.bd *){font-family:NSInter,system-ui,sans-serif}
.ns main :is(h1,h2,h3):not(.pv *):not(.bd *),.ns .final h2{font-family:NSArchivo,system-ui,sans-serif;font-weight:800;color:#f3f7fa}
.ns .wrap{max-width:1264px}
.ns main h1{font-size:64px;line-height:1.06;letter-spacing:-.025em;max-width:760px;font-stretch:112%}
.ns main h2,.ns .final h2{font-size:44px;line-height:1.13;letter-spacing:-.015em}
.ns main h3:not(.pv *):not(.bd *){font-size:23px;line-height:1.2}
.ns main p:not(.pv *):not(.bd *){color:#b9c5d0}
.ns main .lead{font-size:20px;line-height:1.55}
.ns main .eb{display:table;color:#5fd3c4;background:#122c2c;border:1px solid #397b73;border-radius:999px;padding:4px 12px;font-size:12px;line-height:1.6;margin-bottom:18px}
.ns .ns-accent{color:#5fd3c4;background:linear-gradient(90deg,#5fd3c4,#f0b429);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.ns .hd{background-color:rgba(10,14,19,.96);background-image:none;border-bottom-color:#28413f}
.ns .hdi{max-width:1280px}
.ns .nav a{font-size:14px;color:#b9c5d0;padding:0 9px}
.ns .nav a.on{color:#f3f7fa;box-shadow:none;background-image:linear-gradient(90deg,#5fd3c4,#f0b429);background-size:100% 3px;background-repeat:no-repeat;background-position:bottom}
.ns .pri,.ns .rp{background:#ffd166 linear-gradient(100deg,#ffd166,#ff7a2f);color:#1a1206;border:1px solid #ffd166;border-radius:12px;clip-path:none;box-shadow:0 6px 24px #ff8a3c30;font-weight:700;filter:none}
.ns .pri{min-height:52px}.ns .rp{min-height:44px}
.ns .sec2{background:#ffffff12;border:1.5px solid #777e84;border-radius:12px;min-height:52px;color:#f3f7fa;box-shadow:none}
.ns .mb{background:#0d141b;border-color:#777e84;color:#f3f7fa}
.ns .edge{background:linear-gradient(#ff8a3c,#f0b429);color:#1a1206;border-color:#f0b429}
.ns .edge-m{background:#152029;color:#fff}
.ns .edge :is(svg),.ns .edge-m :is(svg){--ic1:#1a1206;--ic2:#1a1206;--ic3:#f0b429}
.ns .band{padding:88px 0;border-top-color:transparent;background:#0a0e13}
.ns .band:nth-of-type(even){background:radial-gradient(ellipse at 20% 0%,#0c2528,transparent 65%),#0d141b}
.ns .band::before{background:none}
.ns .cards{gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}
.ns .card{padding:28px;min-width:0}
.ns .card::before{clip-path:polygon(0 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%)!important;background:#294039!important}
.ns .card::after{clip-path:polygon(0 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%)!important;background:linear-gradient(90deg,#5fd3c4,transparent 75%) top left/70% 2px no-repeat,#111922!important}
.ns .card > p{font-size:17px;line-height:1.55}
.ns .ich{width:72px;height:72px;margin:-8px 0 8px -8px;border:0;clip-path:none;background-color:transparent;background-size:contain;background-position:center;background-repeat:no-repeat}
.ns .ich > svg{visibility:hidden}
.ns .pvb{min-height:48px;min-width:44px;color:#dff8f4;background:#132a2d;border:1.5px solid #4f9f94;border-radius:10px;font-size:16px;font-weight:700}
.ns .pvb .ic{--ic1:#9ff0e4;--ic2:#ffd166;--ic3:#14a596}
.ns .ill:not(.hi){border-radius:22px;clip-path:none;border-color:#397b73;box-shadow:0 0 28px #5fd3c417}
.ns .ill:not(.hi)::after{background:none}
.ns .duo{gap:28px;align-items:start;grid-template-columns:1fr 1fr}
.ns .duo .stack,.ns .duo .stack > .cards{display:contents}
.ns .duo > .ill{grid-column:1;grid-row:1/span 2}
.ns .duo .fc:nth-child(1){grid-column:2;grid-row:1}
.ns .duo .fc:nth-child(2){grid-column:2;grid-row:2}
.ns .duo .card:nth-child(3){grid-column:1;grid-row:3}
.ns .final{background:#0a0e13;border:0;padding:40px 32px 88px}
/* Original mock's bright teal fails white text contrast. Darkened teal keeps
   Direction A hue and gives >=4.5:1 normal text at every declared stop. */
.ns .final .wrap{background:linear-gradient(115deg,#0b5f57,#0e786d,#117c70);border-radius:28px;padding:44px 48px;display:block}
.ns .final h2{color:#fff}.ns .final p{color:#e2fbf7;margin-bottom:20px}.ns .final .pri{min-height:56px}
.ns .ft{background:#070a0e;color:#b9c5d0;border-top:3px solid transparent;border-image:linear-gradient(90deg,#14a596,#5fd3c4,#f0b429) 1}
.ns .ftg{grid-template-columns:1.4fr 1fr .8fr;gap:60px}
.ns .ft .fmut,.ns .ftb,.ns .ft .small{color:#9fb0bd}.ns .ftc .fmut{color:#5fd3c4}
.ns .ft a{color:#e6eef3;min-height:44px}.ns .ft h4{color:#f3f7fa}
.ns-home .hero{padding:110px 0 120px;min-height:720px}
.ns-home .hero .hg{display:block;position:relative}
.ns-home .hero .hg > div{position:relative;z-index:4;width:54%}
.ns-home .hero .hi{position:absolute;z-index:1;left:40%;right:-80px;top:-110px;bottom:-120px;width:auto;height:auto;aspect-ratio:auto;border:0;clip-path:none;transform:none;filter:none;background:#0a0e13}
.ns-home .hero .hi::after{z-index:2;background:linear-gradient(90deg,#0a0e13 0%,rgba(10,14,19,.85) 18%,transparent 60%),linear-gradient(0deg,#0a0e13,transparent 35%);pointer-events:none}
.ns-home .hero::before,.ns-home .hero::after,.ns-wyg .hero::before,.ns-wyg .hero::after{background:none;box-shadow:none;border:0}
.ns-home .hero h1{font-size:66px;max-width:650px}
.ns-home .hero .lead{max-width:560px}
.ns-home .hero .motion{left:auto;right:70px;bottom:100px;background:#0a0e13eb;color:#fff;border-color:#777e84;border-radius:999px}
.ns-home main > .band:nth-of-type(2) .cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.ns-home main > .band:nth-of-type(2) .card{padding:22px}
.ns-home main > .band:nth-of-type(2) .card p{font-size:16px}
.ns-home .band.tight{padding-top:0;padding-bottom:88px;background:#0a0e13}
.ns-home .band.tight .lead{font-family:NSArchivo,system-ui;font-size:28px;line-height:1.35;font-weight:700;color:#f3f7fa;max-width:1000px;border-left:4px solid #5fd3c4;padding-left:24px}
.ns-home .cred{max-width:1080px;border-radius:14px!important;padding:18px 22px}
.ns-home .cred::before{background:#397b73!important;clip-path:none!important;border-radius:14px}
.ns-home .cred::after{background:#151e25!important;clip-path:none!important;border-radius:13px}
.ns-home .cred p{color:#f3f7fa!important;font-size:17px;font-weight:700}
.ns-home main > .band:nth-of-type(6) > .wrap{display:grid;grid-template-columns:1.4fr 1fr;gap:0 36px}
.ns-home main > .band:nth-of-type(6) :is(.eb,h2){grid-column:1/-1}
.ns-home main > .band:nth-of-type(6) .duo{display:block}
.ns-home main > .band:nth-of-type(6) .cards > .card:last-child{grid-column:1/-1}
.ns-wyg .hero{padding:100px 0 88px;background:radial-gradient(ellipse at 80% 50%,#0d3030,transparent 55%),#0a0e13}
.ns-wyg .hero > .wrap{position:relative;min-height:380px}
.ns-wyg .hero > .wrap > div{max-width:760px;width:65%}
.ns-wyg .hero h1{max-width:760px}
.ns-wyg .hero .lead{max-width:760px}
.ns-wyg .hero .lead + p{background:#2a2718;color:#f3f7fa;border:1px solid #a0802c;border-radius:14px;padding:18px 22px;font-size:16px;font-weight:600;line-height:1.5}
.ns-wyg .ns-hero-icons{position:absolute;right:16px;top:25px;display:grid;grid-template-columns:repeat(3,90px);gap:14px;pointer-events:none}
.ns-wyg .ns-hero-icons img{width:90px;height:90px}
.ns-wyg main > .band:nth-of-type(2) .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:701px) and (max-width:1263px){.ns .wrap{padding-right:64px}.ns main h1,.ns-home .hero h1{font-size:50px}.ns-wyg .ns-hero-icons{grid-template-columns:repeat(3,65px);right:58px}.ns-wyg .ns-hero-icons img{width:65px;height:65px}.ns-home main > .band:nth-of-type(2) .cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.ns .ftg{grid-template-columns:1fr 1fr;gap:28px}.ns main h2{font-size:34px}.ns-wyg main > .band:nth-of-type(2) .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
.ns .wrap{padding:0 20px}.ns main h1,.ns-home .hero h1{font-size:38px;line-height:1.08}.ns main h2,.ns .final h2{font-size:30px;line-height:1.14}.ns main h3:not(.pv *):not(.bd *){font-size:22px}
.ns main .lead{font-size:17px}.ns .band{padding:40px 0}.ns .cards,.ns-home main > .band:nth-of-type(2) .cards,.ns-wyg main > .band:nth-of-type(2) .cards{grid-template-columns:minmax(0,1fr);gap:16px}
.ns .card,.ns-home main > .band:nth-of-type(2) .card{padding:24px}.ns .card > p{font-size:16px}.ns .pvb{width:100%;justify-content:center}
.ns .duo{grid-template-columns:minmax(0,1fr);gap:24px}.ns .duo > .ill,.ns .duo .fc,.ns .duo .card:nth-child(3){grid-column:auto;grid-row:auto}
.ns .ftg{grid-template-columns:minmax(0,1fr);gap:24px}.ns .ft a:not(.home){border-radius:10px;background:#ffffff0c;padding:4px 14px;min-height:48px;margin-bottom:8px}
.ns .final{padding:24px 20px 48px}.ns .final .wrap{padding:28px 24px}.ns .final p{font-size:17px}.ns .final .pri{width:100%}
.ns-home .hero{padding:0 0 48px;min-height:0}.ns-home .hero .hg{display:flex;flex-direction:column;gap:0}
.ns-home .hero .hg > div{width:100%;z-index:4}.ns-home .hero .hi{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:calc(100% + 40px);height:280px;min-height:280px;margin:0 -20px 16px;order:-1;transform:none}
.ns-home .hero .hi::after{background:linear-gradient(0deg,#0a0e13,transparent 55%)}
.ns-home .hero .motion{right:16px;top:16px;bottom:auto}.ns-home .hero .btns a{width:100%}
.ns-home .band.tight{padding-bottom:48px}.ns-home .band.tight .lead{font-size:22px;padding-left:20px}.ns-home .cred{padding:18px}.ns-home .cred p{font-size:16px}
.ns-home main > .band:nth-of-type(6) > .wrap{display:block}.ns-home main > .band:nth-of-type(6) .duo{margin-top:28px}
.ns-wyg .hero{padding:36px 0 40px}.ns-wyg .hero > .wrap{min-height:0}.ns-wyg .hero > .wrap > div{width:100%;max-width:none}.ns-wyg .ns-hero-icons{display:none}.ns-wyg .hero .lead + p{padding:18px;font-size:16px}
}

.ns .ich:has(use[href="#i-clipboard"]){background-image:url("night-shift/icons/steps.png")!important}
.ns .ich:has(use[href="#i-board"]){background-image:url("night-shift/icons/board.png")!important}
.ns .ich:has(use[href="#i-shelf"]){background-image:url("night-shift/icons/parts.png")!important}
.ns .ich:has(use[href="#i-phone"]){background-image:url("night-shift/icons/customer.png")!important}
.ns .ich:has(use[href="#i-tech"]){background-image:url("night-shift/icons/tech.png")!important}
.ns .ich:has(use[href="#i-roles"]){background-image:url("night-shift/icons/roles.png")!important}
.ns .ich:has(use[href="#i-gear"]){background-image:url("night-shift/icons/setup.png")!important}
.ns .ich:has(use[href="#i-shops"]){background-image:url("night-shift/icons/shops.png")!important}
.ns .ich:has(use[href="#i-chart"]){background-image:url("night-shift/icons/report.png")!important}
.ns .ich:has(use[href="#i-units"]){background-image:url("night-shift/icons/truck.png")!important}
.ns .ich:has(use[href="#i-card"]){background-image:url("night-shift/icons/card.png")!important}
.ns .ich:has(use[href="#i-invoice"]){background-image:url("night-shift/icons/stock.png")!important}
.ns .ich:has(use[href="#i-truck"]){background-image:url("night-shift/icons/semi.png")!important}
.ns .ich:has(use[href="#i-condenser"]){background-image:url("night-shift/icons/hvac.png")!important}
.ns .ich:has(use[href="#i-chat"]){background-image:url("night-shift/icons/more.png")!important}
.ns-home main > .band:nth-of-type(2) .card:nth-child(2) .ich{background-image:url("night-shift/icons/phone.png")!important}
.ns-home main > .band:nth-of-type(2) .card:nth-child(4) .ich{background-image:url("night-shift/icons/check.png")!important}
.ns-home main > .band:nth-of-type(2) .card:nth-child(5) .ich{background-image:url("night-shift/icons/chat.png")!important}
.ns main .fc:has(#pv-counts) > .ich{background-image:url("night-shift/icons/stock.png")!important}
.ns main .card:has(h3[data-ns-contacts]) > .ich{background-image:url("night-shift/icons/contacts.png")!important}

/* Match the pre-existing pop sheet's high selector specificity for visual-only
   surface properties; never target popup content, display or positioning. */
.ns .ich{clip-path:none!important;background-color:transparent!important;border:0!important;background-size:contain!important;background-repeat:no-repeat!important}
.ns .pri,.ns .rp{background:#ffd166 linear-gradient(100deg,#ffd166,#ff7a2f)!important;color:#1a1206!important;border:1px solid #ffd166!important;border-radius:12px!important;clip-path:none!important;box-shadow:0 6px 24px #ff8a3c30!important;filter:none!important}
.ns .sec2{background:#ffffff12!important;border:1.5px solid #777e84!important;border-radius:12px!important;color:#f3f7fa!important;box-shadow:none!important}
.ns .ill:not(.hi){clip-path:none!important;border-radius:22px!important}
.ns-home .hero .hi{clip-path:none!important;transform:none!important;filter:none!important;border:0!important;background:#0a0e13!important}
.ns-home .hero .hi::after{background:linear-gradient(90deg,#0a0e13 0%,rgba(10,14,19,.85) 18%,transparent 60%),linear-gradient(0deg,#0a0e13,transparent 35%)!important}
.ns-home .hero::before,.ns-home .hero::after,.ns-wyg .hero::before,.ns-wyg .hero::after{background:none!important;box-shadow:none!important;border:0!important}
.ns-wyg .hero{background:radial-gradient(ellipse at 80% 50%,#0d3030,transparent 55%),#0a0e13!important}
@media(max-width:700px){.ns-home .hero .hi::after{background:linear-gradient(0deg,#0a0e13,transparent 55%)!important}}

/* Phone: defeat the more-specific desktop nth-child placement, preventing an implicit second grid column. */
@media(max-width:700px){.ns .duo .fc:nth-child(1),.ns .duo .fc:nth-child(2),.ns .duo .card:nth-child(3){grid-column:auto!important;grid-row:auto!important}}
/* mobile menu open: solid Night Shift panel/header (no translucent bleed) */html.menu-open .hd{background:#0a0e13!important;background-color:#0a0e13!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom-color:#28413f}html.menu-open .menu.open{background:#0a0e13!important}
