:root {
  --ink: #121617;
  --muted: #717879;
  --paper: #f3f1eb;
  --card: #fff;
  --line: #e2e0d9;
  --acid: #d9ff44;
  --dark: #171c1d;
  --green: #147a55;
  --red: #c1544b;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, "Noto Sans SC", sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; padding: 26px 20px; background: #151a1b; color: white; display: flex; flex-direction: column; z-index: 5; }
.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 42px; }
.brand-mark { width: 37px; height: 37px; border: 1px solid #677073; border-radius: 50%; display: grid; place-items: center; color: var(--acid); font-weight: 800; font-style: italic; }
.brand strong { display: block; font-size: 14px; letter-spacing: .13em; }
.brand span, .profile span { display: block; margin-top: 3px; color: #858e90; font-size: 10px; letter-spacing: .12em; }
.nav { display: grid; gap: 6px; }
.nav-item { border: 0; background: transparent; color: #8e9798; padding: 13px 14px; border-radius: 9px; text-align: left; display: flex; align-items: center; gap: 12px; font-size: 13px; position: relative; overflow: hidden; transition: color .18s, background .18s, transform .12s, box-shadow .18s; }
.nav-item:before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--acid); transform: scaleY(0); transition: transform .18s; }
.nav-item span { width: 18px; color: #b6bdbd; font-size: 17px; }
.nav-item b { margin-left: auto; border: 1px solid #4c5556; border-radius: 99px; padding: 1px 7px; font-size: 9px; }
.nav-item.active, .nav-item:hover { background: #252b2c; color: white; }
.nav-item.active span { color: var(--acid); }
.nav-item.active:before { transform: scaleY(1); }
.nav-item:active, .nav-item.pressed { transform: scale(.96); background: #303839; box-shadow: inset 0 0 0 1px rgba(217,255,68,.55); }
.nav-section { scroll-margin-top: 28px; transition: box-shadow .35s, transform .35s; }
.nav-section.section-focus { animation: sectionFocus .9s ease; }
@keyframes sectionFocus {
  0% { box-shadow: 0 0 0 0 rgba(217,255,68,0); transform: translateY(0); }
  35% { box-shadow: 0 0 0 4px rgba(217,255,68,.55); transform: translateY(-2px); }
  100% { box-shadow: 0 0 0 0 rgba(217,255,68,0); transform: translateY(0); }
}
.side-insight { margin-top: auto; background: #202728; padding: 17px; border-radius: 12px; }
.eyebrow { color: #939a98; letter-spacing: .17em; font-size: 9px; font-weight: 800; }
.eyebrow.light { color: #93a09e; }
.side-insight strong { display: block; font-size: 13px; margin: 10px 0 5px; }
.side-insight p { color: #90999a; font-size: 10px; line-height: 1.7; margin: 0; }
.mini-bars { height: 28px; display: flex; align-items: end; gap: 4px; margin-top: 12px; }
.mini-bars i { background: var(--acid); width: 10px; border-radius: 2px 2px 0 0; opacity: .8; }
.mini-bars i:nth-child(1) { height: 25%; } .mini-bars i:nth-child(2) { height: 42%; } .mini-bars i:nth-child(3) { height: 35%; } .mini-bars i:nth-child(4) { height: 66%; } .mini-bars i:nth-child(5) { height: 58%; } .mini-bars i:nth-child(6) { height: 82%; } .mini-bars i:nth-child(7) { height: 100%; }
.profile { border-top: 1px solid #2d3536; margin-top: 20px; padding-top: 20px; display: flex; gap: 10px; align-items: center; }
.avatar { width: 32px; height: 32px; background: #343c3d; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.profile strong { font-size: 11px; }
.profile button { margin-left: auto; color: #899293; background: transparent; border: 0; }
main { margin-left: 244px; padding: 30px 38px 60px; max-width: 1600px; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.date { color: #8a908e; font-size: 10px; letter-spacing: .1em; margin: 0 0 8px; }
h1 { font-size: 23px; margin: 0; letter-spacing: -.03em; }
.header-actions { display: flex; gap: 8px; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #f8f7f3; font-size: 19px; position: relative; }
.alert-dot:after { content: ""; width: 5px; height: 5px; background: #ea684b; border-radius: 50%; position: absolute; top: 8px; right: 9px; }
.primary-button { border: 0; border-radius: 8px; padding: 0 17px; min-height: 40px; background: var(--ink); color: white; font-size: 11px; font-weight: 700; }
.primary-button span { color: var(--acid); font-size: 17px; vertical-align: -1px; }
.hero-grid { display: grid; grid-template-columns: 2.15fr 1fr; gap: 18px; }
.hero-card { background: var(--dark); color: white; border-radius: 14px; padding: 26px 28px 0; overflow: hidden; }
.hero-top { display: flex; justify-content: space-between; }
.hero-top p { color: #909a9a; margin: 13px 0 3px; font-size: 11px; }
.hero-top h2 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.trend { align-self: center; border-radius: 99px; padding: 5px 8px; font-size: 10px; font-weight: 700; }
.trend small { color: #8f9998; margin-left: 3px; font-weight: 500; }
.positive { color: var(--green); background: #e7f3eb; }
.hero-card .positive { color: var(--acid); background: #293333; }
.negative { color: var(--red); }
.trend.negative { background: #f8eae8; }
.chart-wrap { position: relative; height: 155px; margin-top: 4px; padding-left: 40px; }
.chart-wrap svg { width: calc(100% - 40px); height: 110px; margin-top: 13px; overflow: visible; }
.chart-wrap .line { fill: none; stroke: var(--acid); stroke-width: 2; }
.chart-wrap .area { fill: url(#area); }
.chart-wrap circle { fill: var(--acid); stroke: #182021; stroke-width: 3; }
.chart-labels { position: absolute; inset: 10px auto 30px 0; display: flex; flex-direction: column; justify-content: space-between; font-size: 8px; color: #657071; }
.chart-months { position: absolute; bottom: 4px; left: 40px; right: 0; display: flex; justify-content: space-between; font-size: 8px; color: #657071; }
.hero-foot { margin: 0 -28px; padding: 14px 28px; border-top: 1px solid #303738; display: grid; grid-template-columns: repeat(3,1fr); }
.hero-foot div:not(:first-child) { border-left: 1px solid #303738; padding-left: 20px; }
.hero-foot span { display: block; color: #788182; font-size: 9px; margin-bottom: 4px; }
.hero-foot strong { font-size: 12px; }
.market-card, .panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card-heading, .section-title { display: flex; justify-content: space-between; align-items: flex-start; }
.card-heading h3, .section-title h2 { margin: 5px 0 0; font-size: 18px; letter-spacing: -.03em; }
.card-heading button, .text-button { border: 0; background: transparent; color: #737b79; font-size: 9px; font-weight: 700; }
.market-score { display: flex; gap: 8px; align-items: end; margin: 27px 0 12px; }
.market-score strong { font-size: 48px; line-height: .85; }
.market-score span { font-size: 9px; color: #8a918f; line-height: 1.6; }
.meter { height: 5px; border-radius: 99px; background: linear-gradient(90deg,#ef7e6c,#f1c44f,#8acb8f); position: relative; }
.meter i { position: absolute; left: 68%; top: -4px; width: 3px; height: 13px; background: var(--ink); }
.market-card p { color: #686f6e; font-size: 11px; line-height: 1.8; margin: 20px 0; }
.market-card p b { color: var(--ink); }
.market-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.market-tags span { background: #f4f4ef; border-radius: 99px; padding: 5px 8px; font-size: 9px; }
.section { margin-top: 38px; }
.car-grid { display: grid; grid-template-columns: 1fr 1fr .48fr; gap: 17px; margin-top: 17px; }
.car-card { background: white; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.car-image { height: 166px; position: relative; background-position: center; background-size: cover; overflow: hidden; }
.car-image:before, .wish-img:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.05) 50%,rgba(0,0,0,.55)); }
.gt3rs { background-image: url("assets/gt3rs/current/46cbe1cd50ef88a2dfc7e3216f08e1cf.jpg"); }
.urus { background-image: url("assets/urus/modifications/current/8ea9c0a56005d3f3802e6c15630d99bd.jpg"); }
.status { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(16,20,20,.72); backdrop-filter: blur(8px); color: white; padding: 5px 8px; border-radius: 99px; font-size: 8px; }
.status::first-letter { color: var(--acid); }
.favorite { position: absolute; top: 11px; right: 12px; z-index: 1; border: 0; color: white; background: transparent; }
.paint-badge { position: absolute; z-index: 1; left: 12px; bottom: 11px; padding: 5px 8px; border-radius: 99px; background: #e57e2c; color: white; font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.photo-count { position: absolute; z-index: 1; left: 12px; bottom: 11px; padding: 5px 8px; border-radius: 99px; background: rgba(15,18,18,.72); color: white; font-size: 8px; backdrop-filter: blur(8px); }
.car-photo-label { position: absolute; right: 14px; bottom: 8px; color: rgba(255,255,255,.65); font-size: 9px; letter-spacing: .25em; font-weight: 800; }
.car-content { padding: 16px; }
.car-title { display: flex; justify-content: space-between; }
.car-title span { font-size: 8px; color: #9a9f9d; }
.car-title h3 { font-size: 12px; margin: 3px 0 0; }
.car-title button { border: 0; background: transparent; color: #9ca2a0; }
.spec-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.spec-tags span { padding: 4px 6px; border-radius: 99px; background: #f0f1eb; color: #545b59; font-size: 7px; font-weight: 700; }
.value-row { display: flex; justify-content: space-between; align-items: end; margin-top: 17px; }
.value-row span, .car-stats { font-size: 8px; color: #929896; }
.value-row strong { display: block; font-size: 18px; margin-top: 3px; }
.value-track { height: 3px; background: #eeeeea; margin: 12px 0; }
.value-track i { height: 100%; background: var(--ink); display: block; }
.car-stats { display: flex; justify-content: space-between; }
.add-card { display: grid; place-items: center; align-content: center; text-align: center; border-style: dashed; min-height: 300px; background: transparent; }
.add-circle { width: 38px; height: 38px; display: grid; place-items: center; background: white; border-radius: 50%; font-size: 19px; }
.add-card h3 { font-size: 12px; margin: 12px 0 4px; }
.add-card p { color: #949a98; font-size: 9px; line-height: 1.6; margin: 0; }
.split-section { display: grid; grid-template-columns: 1.18fr 1fr; gap: 18px; margin-top: 38px; }
.section-title.compact h2 { font-size: 16px; }
.reminders { margin-top: 14px; }
.reminder { display: grid; grid-template-columns: 43px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #efeee9; }
.date-box { background: #f2f1ec; padding: 5px; text-align: center; border-radius: 6px; }
.date-box strong, .date-box span { display: block; font-size: 13px; }
.date-box span { font-size: 7px; color: #8d9492; }
.reminder.urgent .date-box { background: #fff0e8; color: #d35a3c; }
.reminder div:nth-child(2) span, .reminder small, .expenses small { display: block; font-size: 8px; color: #989e9c; }
.reminder div:nth-child(2) strong { display: block; font-size: 10px; margin: 4px 0; }
.reminder button { border: 1px solid var(--line); background: white; font-size: 8px; border-radius: 5px; padding: 5px 9px; }
.expense-total { margin-top: 20px; background: #f2f2ed; padding: 12px 14px; border-radius: 8px; display: flex; align-items: center; gap: 10px; }
.expense-total span { font-size: 9px; color: #878e8c; }
.expense-total strong { font-size: 20px; }
.expense-total em { margin-left: auto; font-size: 8px; color: var(--red); font-style: normal; }
.expenses > div { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid #efeee9; }
.expense-icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #eff0eb; font-size: 10px; }
.expenses strong { font-size: 10px; }
.expenses b { font-size: 10px; margin-left: auto; }
.archive-preview-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; margin-top: 17px; }
.archive-tile { min-height: 165px; padding: 17px; border-radius: 12px; background-position: center; background-size: cover; color: white; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.archive-tile:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 20%,rgba(10,14,14,.82)); }
.archive-tile > * { position: relative; z-index: 1; }
.archive-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(20,25,25,.17); }
.archive-tile span,.archive-tile small { font-size: 8px; color: #c5ccca; }
.archive-tile strong { font-size: 13px; margin: 5px 0; }
.archive-gt3 { background-image: url("assets/gt3rs/current/46cbe1cd50ef88a2dfc7e3216f08e1cf.jpg"); }
.archive-urus-current { background-image: url("assets/urus/modifications/current/d76666bae80d3b7d033e316961475b10.jpg"); }
.archive-urus-original { background-image: url("assets/urus/16195688f80b072c171fc0c91eaf469f.jpg"); }
.wishlist-row { display: grid; grid-template-columns: repeat(3,1fr) .65fr; gap: 14px; margin-top: 17px; }
.wishlist-row article { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 7px 7px 12px; }
.wish-img { height: 100px; background-size: cover; background-position: center; position: relative; border-radius: 6px; overflow: hidden; }
.ferrari { background-image: url("https://images.unsplash.com/photo-1592198084033-aade902d1aae?auto=format&fit=crop&w=700&q=80"); }
.taycan { background-image: url("https://images.unsplash.com/photo-1614162692292-7ac56d7f7f1e?auto=format&fit=crop&w=700&q=80"); }
.gclass { background-image: url("https://images.unsplash.com/photo-1520031441872-265e4ff70366?auto=format&fit=crop&w=700&q=80"); }
.wish-img span { position: absolute; z-index: 1; top: 7px; left: 7px; background: white; border-radius: 99px; padding: 3px 6px; font-size: 7px; }
.wish-img b { position: absolute; z-index: 1; bottom: 7px; right: 7px; color: rgba(255,255,255,.7); font-size: 8px; letter-spacing: .2em; }
.wishlist-row p { font-size: 10px; margin: 10px 3px 4px; }
.wishlist-row strong { font-size: 12px; margin-left: 3px; }
.wishlist-row small { float: right; color: var(--green); font-size: 7px; margin: 4px 3px 0 0; }
.wishlist-row .wish-add { display: grid; place-items: center; align-content: center; background: transparent; border-style: dashed; }
.wish-add span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: white; }
.wish-add p { color: #8d9492; font-size: 9px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(10,15,15,.55); backdrop-filter: blur(6px); display: none; place-items: center; z-index: 10; }
.modal-backdrop.show { display: grid; }
.modal { width: min(470px, calc(100vw - 30px)); background: #f8f7f2; border-radius: 15px; padding: 28px; position: relative; box-shadow: 0 25px 80px rgba(0,0,0,.24); }
.close-modal { position: absolute; top: 13px; right: 14px; border: 0; background: transparent; font-size: 21px; color: #808684; }
.modal h2 { margin: 7px 0; font-size: 21px; }
.modal > p { color: #838a88; font-size: 10px; }
.spec-modal { width: min(920px, calc(100vw - 30px)); max-height: 88vh; overflow: auto; padding: 0 0 28px; }
.spec-modal .close-modal { z-index: 2; color: white; }
.spec-hero { padding: 30px; background: linear-gradient(120deg,#1c2223,#343b39); color: white; border-radius: 15px 15px 0 0; }
.spec-hero h2 { margin: 8px 0 5px; font-size: 25px; }
.spec-hero p { margin: 0; color: #a8b0ae; font-size: 10px; }
.spec-highlight-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.spec-highlight-row span { background: rgba(217,255,68,.12); border: 1px solid rgba(217,255,68,.25); color: var(--acid); padding: 5px 9px; border-radius: 99px; font-size: 8px; }
.spec-summary { margin: 0 28px; padding: 18px 0; display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); }
.spec-summary div:not(:first-child) { border-left: 1px solid var(--line); padding-left: 20px; }
.spec-summary span { display: block; color: #919795; font-size: 8px; margin-bottom: 5px; }
.spec-summary strong { font-size: 12px; }
.gt3-gallery { padding: 0 28px; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 105px 105px; gap: 7px; }
.gt3-gallery button { padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: #ddd; }
.gt3-gallery-main { grid-row: span 2; }
.gt3-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.gt3-gallery button:hover img { transform: scale(1.035); }
.appearance-note { margin: 17px 28px 0; padding: 13px 15px; background: #efefe9; border-radius: 8px; }
.appearance-note strong { display: block; font-size: 9px; }
.appearance-note p { color: #777e7c; font-size: 8px; line-height: 1.6; margin: 5px 0 0; }
.spec-groups { padding: 22px 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; }
.spec-groups section { border-top: 2px solid var(--ink); }
.spec-groups h3 { font-size: 11px; margin: 10px 0; }
.spec-groups ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.spec-groups li { color: #707775; font-size: 9px; line-height: 1.45; padding-left: 12px; position: relative; }
.spec-groups li:before { content: "•"; position: absolute; left: 0; color: #e57e2c; }
.vehicle-modal { width: min(1040px, calc(100vw - 30px)); max-height: 90vh; overflow: auto; padding: 0 0 30px; }
.vehicle-modal .close-modal { z-index: 2; color: white; }
.urus-hero { padding: 32px; min-height: 190px; color: white; border-radius: 15px 15px 0 0; background: linear-gradient(90deg,rgba(18,20,20,.96),rgba(18,20,20,.25)),url("assets/urus/modifications/current/d76666bae80d3b7d033e316961475b10.jpg") center 55%/cover; }
.urus-hero h2 { margin: 9px 0 5px; font-size: 27px; }
.urus-hero p { margin: 0; color: #c1c6c4; font-size: 10px; }
.vehicle-facts { display: grid; grid-template-columns: repeat(4,1fr); margin: 0 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.vehicle-facts div:not(:first-child) { border-left: 1px solid var(--line); padding-left: 18px; }
.vehicle-facts span,.vehicle-facts small { display: block; color: #929896; font-size: 8px; }
.vehicle-facts strong { display: block; font-size: 13px; margin: 5px 0; }
.modification-feature { margin: 22px 28px 0; padding: 20px; border-radius: 10px; background: #202627; color: white; display: flex; align-items: center; gap: 25px; }
.modification-feature h3 { margin: 6px 0; font-size: 14px; }
.modification-feature p { color: #9ca5a3; font-size: 8px; line-height: 1.7; max-width: 650px; margin: 0; }
.modification-feature > strong { margin-left: auto; color: var(--acid); font-size: 20px; white-space: nowrap; }
.modification-feature strong small { display: block; color: #8e9896; text-align: right; font-size: 7px; margin-top: 3px; }
.archive-heading { display: flex; justify-content: space-between; align-items: end; padding: 24px 28px 12px; }
.archive-heading h3 { margin: 4px 0 0; font-size: 15px; }
.archive-heading > span { color: #959b99; font-size: 8px; }
.photo-gallery { padding: 0 28px; display: grid; grid-template-columns: 2fr repeat(3,1fr); grid-template-rows: 110px 110px; gap: 7px; }
.photo-gallery button { border: 0; padding: 0; overflow: hidden; border-radius: 7px; background: #ddd; }
.photo-gallery .gallery-main { grid-row: span 2; }
.photo-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s; }
.photo-gallery button:hover img { transform: scale(1.04); }
.vehicle-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 26px 28px 0; }
.vehicle-detail-grid section { border-top: 2px solid var(--ink); }
.vehicle-detail-grid h3 { margin: 10px 0; font-size: 11px; }
.vehicle-detail-grid dl { margin: 0; }
.vehicle-detail-grid dl div { display: flex; justify-content: space-between; gap: 15px; padding: 7px 0; border-bottom: 1px solid #ecebe5; font-size: 8px; }
.vehicle-detail-grid dt { color: #929896; }
.vehicle-detail-grid dd { margin: 0; text-align: right; }
.option-section { grid-column: span 2; }
.option-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.option-chips span { padding: 6px 8px; background: #efefe9; border-radius: 99px; color: #626967; font-size: 8px; }
.insurance-section { margin-top: 27px; border-top: 1px solid var(--line); }
.insurance-summary { margin: 0 28px 18px; padding: 16px 18px; background: #202627; color: white; border-radius: 9px; display: grid; grid-template-columns: repeat(3,1fr); }
.insurance-summary div:not(:first-child) { border-left: 1px solid #3b4343; padding-left: 18px; }
.insurance-summary span,.insurance-summary small { display: block; color: #8f9998; font-size: 8px; }
.insurance-summary strong { display: block; margin: 5px 0; font-size: 14px; }
.policy-list { margin: 0 28px; border-top: 1px solid var(--line); }
.policy-list a { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.policy-list a:hover em { color: var(--ink); }
.policy-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #eef0ea; font-size: 10px; font-weight: 800; }
.policy-list strong,.policy-list small { display: block; }
.policy-list strong { font-size: 10px; }
.policy-list small { color: #929896; font-size: 8px; margin-top: 4px; }
.policy-list b { font-size: 10px; }
.policy-list em { color: #8c9391; font-style: normal; font-size: 8px; transition: color .2s; }
.timeline-section { margin-top: 27px; border-top: 1px solid var(--line); }
.timeline-item { margin: 0 28px; padding: 15px 0 15px 22px; border-left: 1px solid #d7d9d3; position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; }
.timeline-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--acid); border: 2px solid #202627; left: -5px; top: 19px; }
.timeline-item small { display: block; color: #999f9d; font-size: 8px; }
.timeline-item strong { display: block; font-size: 11px; margin: 5px 0; }
.timeline-item p { color: #777e7c; font-size: 8px; line-height: 1.6; margin: 0 0 10px; }
.timeline-item > b { font-size: 12px; }
.lightbox { position: fixed; inset: 0; display: none; place-items: center; z-index: 30; background: rgba(8,10,10,.92); padding: 30px; }
.lightbox.show { display: grid; }
.lightbox img { max-width: 95vw; max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; top: 18px; right: 22px; border: 0; background: transparent; color: white; font-size: 28px; }
.modal form { display: grid; gap: 12px; margin-top: 20px; }
.modal label { display: grid; gap: 5px; font-size: 9px; color: #767d7b; font-weight: 700; }
.modal input, .modal select { width: 100%; border: 1px solid var(--line); background: white; border-radius: 7px; padding: 10px; color: #4d5352; font-size: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.upload-zone { padding: 18px; border: 1px dashed #c9ccc7; border-radius: 8px; text-align: center; display: block !important; }
.primary-button.full { width: 100%; margin-top: 4px; }
.toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%, 80px); opacity: 0; background: var(--ink); color: white; padding: 10px 18px; border-radius: 99px; font-size: 10px; transition: .3s; z-index: 20; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
@media (max-width: 1100px) {
  .sidebar { width: 74px; padding: 24px 12px; }
  .brand > div:last-child, .nav-item:not(.active)::after, .nav-item b, .nav-item { font-size: 0; }
  .nav-item { justify-content: center; }
  .nav-item span { font-size: 18px; width: auto; }
  .side-insight, .profile > div:not(.avatar), .profile button { display: none; }
  main { margin-left: 74px; padding: 25px; }
  .car-grid { grid-template-columns: 1fr 1fr; }
  .add-card { min-height: 120px; grid-column: span 2; }
}
@media (max-width: 760px) {
  .sidebar { position: fixed; inset: auto 0 0; width: 100%; height: 62px; flex-direction: row; padding: 8px; }
  .brand, .profile, .side-insight { display: none; }
  .nav { width: 100%; grid-template-columns: repeat(5,1fr); }
  .nav-item { padding: 8px; }
  main { margin-left: 0; padding: 18px 14px 85px; }
  header h1 { font-size: 17px; } .date { display: none; }
  .icon-button { display: none; }
  .hero-grid, .split-section, .car-grid, .wishlist-row { grid-template-columns: 1fr; }
  .market-card { display: none; }
  .add-card { grid-column: auto; min-height: 110px; }
  .wishlist-row .wish-add { min-height: 90px; }
  .archive-preview-grid { grid-template-columns: 1fr; }
  .hero-foot { gap: 10px; }
  .hero-foot strong { font-size: 10px; }
  .spec-groups { grid-template-columns: 1fr; }
  .spec-summary { grid-template-columns: 1fr; gap: 10px; }
  .spec-summary div:not(:first-child) { border-left: 0; padding-left: 0; }
  .gt3-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 95px; }
  .gt3-gallery-main { grid-column: span 2; grid-row: auto; }
  .vehicle-facts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .vehicle-facts div:not(:first-child) { border-left: 0; padding-left: 0; }
  .photo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 100px 100px; }
  .photo-gallery .gallery-main { grid-column: span 2; grid-row: auto; }
  .vehicle-detail-grid { grid-template-columns: 1fr; }
  .option-section { grid-column: auto; }
  .insurance-summary { grid-template-columns: 1fr; gap: 12px; }
  .insurance-summary div:not(:first-child) { border-left: 0; padding-left: 0; }
  .policy-list a { grid-template-columns: 32px 1fr auto; }
  .policy-list em { display: none; }
  .modification-feature { display: block; }
  .modification-feature > strong { display: block; margin-top: 15px; }
  .modification-feature strong small { text-align: left; }
}
