/* NEXTGENAUTO customer app shell: mobile only, desktop remains unchanged */
.nga-app-top,.nga-app-tabs,.nga-app-home,.nga-app-more{display:none}
@media(max-width:767px){
 :root{color-scheme:dark}
 html{scroll-padding-top:82px}
 body{background:#090b10!important;padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));}
 body .top{display:none!important}
 body>header.wrap.nav,body>header.nav,body>header{margin-top:62px!important}
 body>header.wrap.nav{border-bottom:1px solid #242833;max-width:none!important;background:#0d1018!important;padding:9px 16px!important}
 body>header.wrap.nav nav.links{display:none!important}
 body>header.wrap.nav .header-actions{max-width:48%}
 .nga-app-top{display:flex;align-items:center;justify-content:space-between;position:fixed;top:0;left:0;right:0;height:calc(57px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 17px 0;background:rgba(9,11,16,.96);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid #292b33;z-index:99990;box-sizing:border-box;color:#fff;font:600 14px system-ui,-apple-system,sans-serif}
 .nga-app-top .nga-wordmark{font-weight:900;letter-spacing:1.4px}.nga-app-top .nga-wordmark span{color:#ed233a}
 .nga-app-top .nga-top-right{display:flex;gap:8px;align-items:center}
 .nga-app-top a{border:1px solid #3c2730;color:#fff;text-decoration:none;background:#21151b;padding:9px 13px;border-radius:99px;font-size:12px}
 .nga-app-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;padding:10px 7px calc(8px + env(safe-area-inset-bottom,0px));z-index:99990;background:rgba(14,16,23,.97);backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);border-top:1px solid #343039;box-shadow:0 -12px 40px #0009}
 .nga-app-tabs a,.nga-app-tabs button{border:0;background:none;color:#a9abb7;text-decoration:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font:600 10px system-ui,-apple-system,sans-serif;padding:3px 1px;min-width:0;cursor:pointer}
 .nga-app-tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .nga-app-tabs .nga-active{color:#ff3b52}
 .nga-app-more{display:none;position:fixed;inset:0;z-index:99989;background:#000b;padding:calc(82px + env(safe-area-inset-top,0px)) 18px calc(100px + env(safe-area-inset-bottom,0px));overflow:auto}
 .nga-app-more.nga-open{display:block}
 .nga-app-more .nga-sheet{background:#151821;border:1px solid #30333e;border-radius:26px;padding:22px;box-shadow:0 30px 80px #000b}
 .nga-app-more h2{font:800 26px system-ui,-apple-system,sans-serif;margin:0 0 16px;color:#fff}
 .nga-app-more .nga-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .nga-app-more a{display:flex;min-height:65px;align-items:center;border:1px solid #303541;background:#20242f;color:white;text-decoration:none;padding:14px;border-radius:15px;font:650 13px system-ui,-apple-system,sans-serif}
 .nga-app-home{display:block;padding:21px 17px 7px;background:radial-gradient(ellipse at 95% 5%,#75172577,transparent 60%),#090b10;color:#fff;font-family:system-ui,-apple-system,sans-serif}
 .nga-app-home .nga-hello{font-size:11px;letter-spacing:2px;color:#b1b5c0;font-weight:750}
 .nga-app-home h2{font-size:30px!important;line-height:1.08!important;margin:9px 0 11px;font-weight:850!important;letter-spacing:-1px;color:white}
 .nga-app-home h2 em{font-style:normal;color:#ff4259}
 .nga-app-home p{font-size:13px;color:#a9aebc;margin:0 0 19px}
 .nga-app-home .nga-feature{background:linear-gradient(128deg,#252b37,#12151c 70%);border:1px solid #353947;border-radius:24px;padding:20px;box-shadow:0 14px 38px #0008;overflow:hidden;position:relative}
 .nga-app-home .nga-feature:after{content:'↗';position:absolute;right:20px;top:10px;font-size:75px;line-height:1;color:#ff344722;transform:rotate(-10deg)}
 .nga-app-home .nga-feature strong{display:block;font-size:22px;margin:8px 0 6px}
 .nga-app-home .nga-feature small{font-size:12px;color:#c4c7d1;display:block;max-width:220px}
 .nga-app-home .nga-feature a{display:inline-block;margin-top:18px;background:#e5233c;color:white;border-radius:12px;padding:12px 16px;text-decoration:none;font-size:12px;font-weight:850}
 .nga-app-home .nga-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0 10px}
 .nga-app-home .nga-quick a{background:#171b24;border:1px solid #30343e;border-radius:18px;min-height:100px;padding:15px;text-decoration:none;color:#fff;display:flex;flex-direction:column;justify-content:space-between}
 .nga-app-home .nga-quick b{font-size:14px}.nga-app-home .nga-quick span{font-size:25px;color:#ff4358}
 body .hero.original-car-hero{min-height:350px!important}
 body .hero.original-car-hero h1{font-size:35px!important}
 body .site-footer{padding-bottom:40px}
 body .approval-dialog{z-index:99999}
}
@media(min-width:768px){.nga-app-top,.nga-app-tabs,.nga-app-home,.nga-app-more{display:none!important}}

/* V74 mobile visual redesign; desktop unaffected */
@media(max-width:767px){
 html,body{max-width:100%;overflow-x:clip!important}
 body{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
 .nga-app-top{height:calc(65px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 20px 0;background:rgba(10,12,18,.94);border-bottom:1px solid #252834}
 .nga-app-top .nga-brand{display:flex;align-items:center;gap:8px;text-decoration:none;background:none;border:0;padding:0;color:#fff;font-size:14px;font-weight:900;letter-spacing:1px}
 .nga-app-top .nga-brand img{height:27px;width:27px;object-fit:contain}
 .nga-app-top .nga-brand b{color:#f3324a}
 .nga-app-top .nga-top-action{font-size:11px;font-weight:800;padding:10px 13px;border:1px solid #68303b;background:#2a1820;color:#fff}
 .nga-app-top .nga-top-action span{color:#ff6577;margin-left:4px}
 body>header.wrap.nav,body>header.nav,body>header{margin-top:65px!important}
 .nga-app-tabs{box-sizing:border-box;width:100%;max-width:100vw;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden!important;overflow-x:hidden!important;white-space:normal!important;gap:0;padding:10px 5px calc(8px + env(safe-area-inset-bottom,0px));background:rgba(15,17,25,.97);border-top:1px solid #30323c}
 .nga-app-tabs a,.nga-app-tabs button{width:100%;min-width:0!important;max-width:100%;box-sizing:border-box;padding:7px 0 6px;gap:5px;font-size:9px!important;line-height:1.1;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:clip}
 .nga-app-tabs svg{height:21px;width:21px;flex-shrink:0}
 .nga-app-tabs .nga-active{background:linear-gradient(180deg,#6b1d2a66,#3d162133);border-radius:13px;color:#ff5269}
 .nga-app-tabs button[aria-expanded=true]{color:#ff5269}
 .nga-app-more{padding:calc(86px + env(safe-area-inset-top,0px)) 14px calc(100px + env(safe-area-inset-bottom,0px));background:rgba(0,0,0,.78);backdrop-filter:blur(12px)}
 .nga-app-more .nga-sheet{border-radius:26px;background:#151820;padding:20px;border:1px solid #343742}
 .nga-app-more .nga-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
 .nga-app-more .nga-sheet-head small{font-size:10px;letter-spacing:2px;color:#f45164;font-weight:800}
 .nga-app-more .nga-sheet-head h2{font-size:29px;margin:3px 0 0}
 .nga-app-more .nga-sheet-close{border:1px solid #41434d;background:#282b34;color:white;border-radius:13px;width:39px;height:39px;font-size:17px}
 .nga-app-more .nga-menu-grid{gap:9px}
 .nga-app-more .nga-menu-grid a{min-height:60px;background:#20242d;border-color:#363944;font-size:12px;border-radius:15px;padding:12px}
 .nga-app-home{padding:29px 18px 22px!important;background:radial-gradient(ellipse at 96% 8%,#631b3159,transparent 48%),#090b10!important}
 .nga-app-home .nga-eyebrow{display:flex;align-items:center;gap:8px;color:#c7a4ae;font-size:10px;font-weight:850;letter-spacing:1.8px}
 .nga-app-home .nga-dot{width:7px;height:7px;border-radius:50%;background:#ff425a;box-shadow:0 0 12px #ff425a}
 .nga-app-home h2{font-size:clamp(38px,11vw,51px)!important;line-height:1.04!important;letter-spacing:-1.9px;margin:16px 0 13px}
 .nga-app-home h2 em{color:#f43b52}
 .nga-app-home p{font-size:13px;line-height:1.6;max-width:310px;color:#b2b6c1;margin-bottom:23px}
 .nga-app-home .nga-feature{position:relative;min-height:220px;padding:24px;border-radius:25px;background:linear-gradient(125deg,#2a1b29,#151923 68%);border:1px solid #59404b;overflow:hidden}
 .nga-app-home .nga-feature:after{display:none}
 .nga-feature-art{position:absolute;right:-35px;top:-38px;width:230px;height:240px;transform:rotate(-18deg);border-radius:50%;background:radial-gradient(circle,#f439542e,transparent 70%);pointer-events:none}
 .nga-feature-icon{position:absolute;top:54px;right:67px;font-size:96px;color:#f4485d33}
 .nga-app-home .nga-feature-content{position:relative;z-index:1}
 .nga-app-home .nga-feature strong{font-size:27px;line-height:1.1;margin:13px 0 10px}
 .nga-app-home .nga-feature small{font-size:12px;line-height:1.5;max-width:230px}
 .nga-app-home .nga-feature a{font-size:12px;padding:13px 18px;border-radius:13px;background:#ef3049;margin-top:20px}
 .nga-app-home .nga-feature a span{margin-left:12px}
 .nga-app-home .nga-section-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:27px 0 14px}
 .nga-app-home .nga-section-head h3{margin:0;color:#fff;font-size:17px;letter-spacing:-.3px}
 .nga-app-home .nga-section-head span{color:#828796;font-size:9px;letter-spacing:1px;font-weight:800}
 .nga-app-home .nga-quick{gap:10px;margin:0}
 .nga-app-home .nga-quick a{position:relative;min-height:128px;background:#181c25;border:1px solid #303440;border-radius:20px;padding:16px;justify-content:flex-start;gap:5px}
 .nga-app-home .nga-quick .nga-quick-icon{font-size:27px;color:#f43c53;margin-bottom:10px;line-height:1}
 .nga-app-home .nga-quick b{font-size:13px;line-height:1.2}
 .nga-app-home .nga-quick small{font-size:11px;color:#a4a9b6}
 .nga-app-home .nga-quick i{position:absolute;right:13px;top:13px;font-style:normal;color:#9298a7}
 .nga-app-home .nga-install-strip{display:flex;align-items:center;gap:12px;margin-top:16px;border-radius:17px;background:#221b25;border:1px solid #47303a;color:white;text-decoration:none;padding:15px}
 .nga-app-home .nga-install-strip>span:first-child{display:grid;place-items:center;flex-shrink:0;border-radius:12px;width:36px;height:36px;background:#622331;color:#ff8b99;font-size:24px}
 .nga-app-home .nga-install-strip div{display:flex;flex-direction:column;gap:4px;flex:1}
 .nga-app-home .nga-install-strip b{font-size:12px}
 .nga-app-home .nga-install-strip small{font-size:10px;color:#aeb1bd}
 .nga-app-home .nga-install-strip>span:last-child{font-size:20px;color:#ff6577}
}

/* V75: app shell is one header, accessible hamburger and floating chat above navigation */
.nga-chat-launcher{display:none}
@media(max-width:767px){
 body>header{display:none!important}
 .nga-app-top{gap:11px;justify-content:flex-start;padding-left:16px;padding-right:16px}
 .nga-app-top .nga-hamburger{display:flex;flex-direction:column;justify-content:center;gap:4px;align-items:center;width:42px;height:42px;flex:0 0 42px;border:1px solid #383a45;background:#1a1d26;border-radius:13px;padding:0;cursor:pointer}
 .nga-app-top .nga-hamburger span{display:block;width:19px;height:2px;border-radius:3px;background:#f5f6f9}
 .nga-app-top .nga-brand{flex:1;min-width:0;white-space:nowrap;font-size:clamp(11px,3.3vw,15px);letter-spacing:.5px}
 .nga-app-top .nga-brand img{display:none}
 .nga-app-top .nga-top-action{flex-shrink:0;font-size:10px;padding:10px 9px}
 .nga-app-more{z-index:99989}
 .nga-chat-launcher{display:flex;position:fixed;right:17px;bottom:calc(94px + env(safe-area-inset-bottom,0px));z-index:99985;width:46px;height:46px;border:1px solid #fa6678;border-radius:50%;background:#e52c47;color:#fff;align-items:center;justify-content:center;box-shadow:0 8px 25px #0009;cursor:pointer}
 .nga-chat-launcher svg{width:23px;height:23px}
 .nga-menu-open .nga-chat-launcher{display:none}
 .nga-app-home{padding-top:27px!important}
}
@media(min-width:768px){.nga-chat-launcher,.nga-app-top .nga-hamburger{display:none!important}}

/* V78: correct logo and five requested mobile tabs */
@media(max-width:767px){
 .nga-app-top .nga-brand{display:flex!important;align-items:center;justify-content:flex-start;flex:1;min-width:0;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;overflow:visible}
 .nga-app-top .nga-brand img{display:block!important;width:clamp(124px,34vw,188px)!important;height:50px!important;max-width:100%;object-fit:contain;object-position:left center}
 .nga-app-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow-x:hidden!important}
 .nga-app-tabs a,.nga-app-tabs button{font-size:clamp(8px,2.5vw,10px)!important;min-width:0!important;white-space:nowrap}
 .nga-app-top .nga-top-action{font-size:10px;padding:9px 8px}
 .nga-app-top .nga-hamburger{width:40px;height:40px;flex-basis:40px}
 .lc-wrap{padding-top:90px!important}
 .lc-wrap>h1:first-of-type{margin-top:14px!important;line-height:1.09!important}
}

/* V79: matching small, independent chat trigger for mobile and desktop. */
@media(min-width:768px){
 .nga-chat-launcher{display:flex!important;position:fixed;right:22px;bottom:25px;z-index:99985;width:46px;height:46px;align-items:center;justify-content:center;background:#e52c47;border:1px solid #fa6678;border-radius:50%;color:#fff;box-shadow:0 8px 24px #0008;cursor:pointer}
 .nga-chat-launcher svg{width:23px;height:23px}
}

/* V80: fixed mobile header must never obscure the page heading. */
@media(max-width:767px){
 body{padding-top:calc(65px + env(safe-area-inset-top,0px))!important;box-sizing:border-box}
 body>header{display:none!important}
 .nga-app-top{top:0}
 .nga-app-home{margin:0!important;padding:0 17px 30px!important}
 /* Previous page-specific offsets were compensating for the missing global header space. */
 .lc-wrap{padding-top:27px!important}
 .lc-wrap>h1:first-of-type{margin-top:14px!important}
 .hero.compact-application-hero,.hero,.compact-application-hero{scroll-margin-top:calc(70px + env(safe-area-inset-top,0px))}
 .hero.compact-application-hero{padding-top:35px!important}
 .hero.compact-application-hero .wrap{padding-top:0!important}
 .nga-app-home .nga-v80-hero{padding:32px 2px 24px;background:radial-gradient(ellipse at 90% 35%,rgba(153,25,50,.18),transparent 65%)}
 .nga-v80-kicker{display:flex;align-items:center;gap:9px;color:#e0a3ad;font-size:10px;font-weight:800;letter-spacing:1.5px}
 .nga-v80-kicker span{width:7px;height:7px;border-radius:50%;background:#ff3953;box-shadow:0 0 15px #ff3953}
 .nga-app-home .nga-v80-hero h2{font-size:clamp(35px,9.5vw,48px)!important;line-height:1.08!important;letter-spacing:-1.6px;margin:18px 0 16px!important;font-weight:900}
 .nga-app-home .nga-v80-hero h2 em{color:#ff3852;font-style:normal}
 .nga-app-home .nga-v80-hero p{font-size:14px;line-height:1.6;color:#b9bcc7;max-width:360px;margin:0 0 23px}
 .nga-v80-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
 .nga-v80-hero-actions a{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:15px 17px;border-radius:13px;text-decoration:none;font-size:12px;font-weight:800}
 .nga-v80-primary{background:#e92845;color:#fff;box-shadow:0 7px 20px #a31b3233}
 .nga-v80-secondary{background:#171a22;color:#fff;border:1px solid #41434c}
 .nga-v80-benefits{display:flex;gap:17px;flex-wrap:wrap;margin-top:22px;color:#9da2ae;font-size:10px;font-weight:650}
 .nga-v80-benefits span::first-letter{color:#ff3b54}
 .nga-v80-feature{position:relative;overflow:hidden;border:1px solid #59404b;border-radius:23px;background:linear-gradient(130deg,#321a28,#171b25 65%,#11141b);padding:24px 22px;min-height:195px;box-shadow:0 14px 35px #0005}
 .nga-v80-feature-copy{position:relative;z-index:2}
 .nga-v80-feature-copy small{font-size:10px;letter-spacing:1.8px;color:#f19eae;font-weight:800}
 .nga-v80-feature-copy h3{font-size:26px;line-height:1.12;letter-spacing:-.6px;margin:13px 0 10px;color:#fff}
 .nga-v80-feature-copy p{font-size:12px;line-height:1.55;color:#c1c1cb;max-width:220px;margin:0 0 18px}
 .nga-v80-feature-copy a{color:#fff;text-decoration:none;font-size:12px;font-weight:800;display:inline-flex;gap:9px;align-items:center;border-bottom:1px solid #e84a5f;padding-bottom:5px}
 .nga-v80-feature-mark{position:absolute;right:5%;top:21%;font-size:110px;color:#e838522b;transform:rotate(12deg)}
 .nga-v80-section-title{margin:28px 2px 15px}
 .nga-v80-section-title small{font-size:10px;color:#ef5065;letter-spacing:1.8px;font-weight:850}
 .nga-v80-section-title h3{font-size:22px;color:#fff;margin:6px 0 0;letter-spacing:-.5px}
 .nga-v80-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .nga-v80-tiles a{position:relative;min-width:0;min-height:137px;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:17px 14px;background:#171b24;border:1px solid #323642;border-radius:18px;color:#fff;text-decoration:none}
 .nga-v80-tiles .nga-v80-tile-icon{color:#f53b55;font-size:29px;line-height:1;margin-bottom:17px}
 .nga-v80-tiles b{font-size:13px;line-height:1.3}
 .nga-v80-tiles small{font-size:10px;color:#a7acb8;line-height:1.35}
 .nga-v80-tiles i{position:absolute;right:13px;top:13px;font-size:16px;color:#969ba9;font-style:normal}
 .nga-v80-install{display:flex;gap:12px;align-items:center;margin-top:14px;padding:15px;background:#201923;border:1px solid #4c303b;border-radius:17px;color:#fff;text-decoration:none}
 .nga-v80-install>span{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:#642332;color:#ff9caa;font-size:22px}
 .nga-v80-install div{display:flex;flex-direction:column;gap:4px;flex:1}
 .nga-v80-install b{font-size:12px}.nga-v80-install small{font-size:10px;color:#b2b2bd}.nga-v80-install strong{color:#ff5a70}
}
