/* v28A106AQ. Ten route families only; HUD/navigation and existing artwork ratios are untouched. */
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page]:is([data-md-page="crime"],[data-md-page="car_theft"],[data-md-page="garage"],[data-md-page="chopshop"],[data-md-page="racing"],[data-md-page="blackmarket"],[data-md-page="safehouses"],[data-md-page="warehouses"],[data-md-page="smuggling_routes"],[data-md-page="port"]){--aq-line:#283c4a;--aq-card:#0e1b26;--aq-ink:#eef5fa;--aq-muted:#adc0cd;--aq-accent:#66c7d4}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.mdz2-hero,.md-ct-q-hero,.gv2-y-command,.md-cs-y-desk,.race-y-desk,.bm-y-hero,.sh-hero,.wh-hero,.md-sr103s-hero,.port102d-hero){border:1px solid var(--aq-line)!important;border-radius:16px!important;padding:20px!important;box-shadow:none!important;color:var(--aq-ink)!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.mdz2-title,.md-ct-q-title,.gv2-y-title,.md-cs-y-title,.race-y-title,.bm-hero-title .h1,.sh-title,.wh-hero h1,.md-sr103s-hero h1,.port102d-title){font-family:Inter,system-ui,sans-serif!important;font-size:clamp(25px,2.4vw,34px)!important;font-weight:750!important;line-height:1.15!important;letter-spacing:-.035em!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:5px 0 8px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.mdz2-sub,.md-ct-q-sub,.gv2-y-copy,.md-cs-y-copy,.race-y-copy,.bm-y-subtitle,.sh-sub,.wh-hero p,.md-sr103s-lead,.port102d-sub){font-size:13px!important;line-height:1.55!important;font-weight:400!important;color:var(--aq-muted)!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.mdz2-card,.gv2-card,.md-cs-card,.md-shop-card,.r-card,.bm-y-part-card,.sh-panel,.wh-panel,.md-sr103s-card,.port102d-card){border-color:var(--aq-line)!important;border-radius:14px!important;box-shadow:none!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.mdz2-kicker,.gv2-y-kicker,.md-cs-y-kicker,.race-y-kicker,.sh-kicker,.wh-hero .eyebrow,.md-sr103s-kicker,.port102d-kicker){font-size:10px!important;letter-spacing:.12em!important;color:var(--aq-accent)!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.mdz2-quick,.md-ct-command-nav,.race-nav,.sh-nav,.md-sr103s-rail,.port102d-nav){padding:6px!important;gap:6px!important;margin:10px 0!important;box-shadow:none!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.mdz2-quick,.md-ct-command-nav,.race-nav,.sh-nav,.md-sr103s-rail,.port102d-nav) a{min-height:32px!important;padding:7px 10px!important;border-radius:8px!important;font-size:11px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.md-aq-filter,.md-aq-related){margin:12px 0;border:1px solid var(--aq-line);border-radius:10px;background:var(--aq-card);padding:0 12px}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.md-aq-filter,.md-aq-related)>summary{cursor:pointer;padding:12px 0;color:var(--aq-ink);font-size:12px;font-weight:650}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] .md-aq-preview-note{display:block;font-size:11px;line-height:1.45;color:var(--aq-muted);margin-top:5px;max-width:65ch}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] .md-aq-empty{padding:24px;border:1px dashed var(--aq-line);border-radius:12px;margin-top:16px;line-height:1.5}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] .md-aq-empty h3{margin:0 0 6px;color:var(--aq-ink)}
/* Readable fleet cards; preserve model body within a deliberate media frame. */
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="garage"] .gv2-grid{gap:14px!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr))!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="garage"] .gv2-card-name{font-size:17px!important;white-space:normal!important;line-height:1.3!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="garage"] .gv2-car-img img{object-fit:contain!important;background:#09131b!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="garage"] .gv2-card-btns{gap:7px!important;flex-wrap:wrap!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="crime"] .mdz2-name{white-space:normal!important;font-size:16px!important;line-height:1.3!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="crime"] .mdz2-desc{font-size:12px!important;line-height:1.5!important;max-height:none!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="crime"] .mdz2-body{padding:14px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="crime"] .mdz2-grid{gap:14px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="crime"] .mdz2-btn{min-height:38px!important;font-size:12px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="car_theft"] .ct-target-art{height:auto!important;min-height:0!important;aspect-ratio:16/9!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="car_theft"] .ct-target-art img{width:100%!important;height:100%!important;object-fit:contain!important;background:#09131b!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="car_theft"] .ct-target-vehicle{display:block!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="car_theft"] .ct-target-vehicle .vname{display:block;font-size:14px!important;line-height:1.4}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="car_theft"] .ct-mode-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="car_theft"] .md-ct-q-actionbar{margin:8px 0!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .md-cs-tabs{gap:6px!important;flex-wrap:wrap!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .md-cs-tab{padding:8px 10px!important;min-height:34px!important;border-radius:8px!important;font-size:12px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .md-shop-metrics{gap:8px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="racing"] .race-y-desk{background:linear-gradient(110deg,#0e1b26,#152733)!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="racing"] .race-y-title span{color:var(--aq-accent)!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="racing"] .race-option{border-radius:12px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="racing"] .race-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="blackmarket"] .bm-y-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="blackmarket"] .bm-y-filter-grid>div{min-width:0!important}
/* New real scenery replaces development placeholders. Dark overlay keeps dynamic copy legible. */
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="safehouses"] .sh-hero{background:linear-gradient(90deg,rgba(7,17,25,.96),rgba(7,17,25,.65)),url('/assets/img/scenes/safehouse-aq.webp') center/cover!important;min-height:200px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="safehouses"] .sh-hero::before,html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="safehouses"] .sh-hero::after{content:none!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="safehouses"] .sh105w1-page-nav{padding:10px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="safehouses"] .sh105w1-page-nav-head{gap:8px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="safehouses"] .sh105w1-page-nav-head>span{display:none!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="warehouses"] .wh-hero{background:linear-gradient(90deg,rgba(7,17,25,.96),rgba(7,17,25,.60)),url('/assets/img/properties/container_yard-ac.webp') center/cover!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="warehouses"] .wh-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="warehouses"] .wh-panel .tag.guard{font-size:10px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="smuggling_routes"] .md-sr103s-hero{background:linear-gradient(90deg,rgba(7,17,25,.96),rgba(7,17,25,.64)),url('/assets/img/scenes/harbour-aq.webp') center/cover!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="smuggling_routes"] .md-sr103s-hero-grid{grid-template-columns:minmax(0,1fr) 260px!important;gap:16px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="smuggling_routes"] .md-sr103s-lead{max-width:60ch}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="smuggling_routes"] .md-sr103s-route-title h3{font-size:25px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="smuggling_routes"] .md-sr104f-sync{padding:14px!important;margin:12px 0!important;border-radius:14px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="smuggling_routes"] .md-sr104f-sync-head h3{font-size:20px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="smuggling_routes"] .md-sr103s-formcard{padding:12px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102d-hero{background:linear-gradient(90deg,rgba(7,17,25,.96),rgba(7,17,25,.55)),url('/assets/img/scenes/harbour-aq.webp') center/cover!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102d-hero::after{content:none!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102d-map{background:url('/assets/img/scenes/harbour-aq.webp') center/cover!important;min-height:180px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102d-map::before{content:none!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102n-contract-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;max-height:none!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102n-contract-card{min-width:0!important;width:auto!important;max-width:none!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102d-layout{grid-template-columns:minmax(0,1fr) 250px!important;gap:14px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102n-job-list{max-height:none!important;overflow:visible!important}
@media(max-width:900px){
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102d-layout,html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="smuggling_routes"] .md-sr103s-hero-grid{grid-template-columns:1fr!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="racing"] .race-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page] :is(.mdz2-hero,.md-ct-q-hero,.gv2-y-command,.md-cs-y-desk,.race-y-desk,.bm-y-hero,.sh-hero,.wh-hero,.md-sr103s-hero,.port102d-hero){padding:16px!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102n-contract-list,html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="blackmarket"] .bm-y-filter-grid{grid-template-columns:1fr!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .md-shop-metrics,html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="warehouses"] .wh-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* AQ1: priority over the inherited role scene; bound Port inside its main column. */
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102d-wrap{width:100%!important;max-width:1280px!important;box-sizing:border-box!important;min-width:0!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102n-action-grid{grid-template-columns:minmax(0,240px) minmax(0,1fr)!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102n-job-row{grid-template-columns:minmax(0,.9fr) minmax(0,1fr)!important;min-width:0!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] :is(.port102d-layout,.port102n-action-grid,.port102n-job-row)>*{min-width:0!important}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] :is(select,input){max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
@media(max-width:1400px){html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102n-job-row{grid-template-columns:1fr!important}}
@media(max-width:1000px){html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="port"] .port102n-action-grid{grid-template-columns:1fr!important}}

/* AS: workshop comparisons and optional market context. */
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .js-mod-meta {font-size:13px;line-height:1.65;padding:12px;border:1px solid #294354;border-radius:8px;background:#0b1722;overflow-wrap:anywhere;}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .js-mod-reason {font-size:13px;color:#f6c982;margin-top:8px;}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .md-clean-option .md-cs-metrics {gap:8px;}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="blackmarket"] details.bm-y-overview > summary {cursor:pointer;list-style:disclosure-closed;}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="blackmarket"] details.bm-y-overview[open] > summary {list-style:disclosure-open;}
html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="blackmarket"] details.bm-y-overview:not([open]) > summary .pill {display:none;}
@media(max-width:700px){html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .md-clean-options,html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .md-cs-grid {grid-template-columns:minmax(0,1fr)!important;}html body.md106z-ui.md103c-responsive-shell .main[data-md-aq][data-md-page="chopshop"] .js-mod-select {width:100%!important;max-width:100%;}}
