:root{--navy:#141517;--blue:#e3172d;--muted:#657583;--line:#dce3e8;--bg:#f4f7f9}*{box-sizing:border-box}body{margin:0;font:15px/1.8 Arial,'Yu Gothic',Meiryo,sans-serif;color:var(--navy);background:white}a{color:inherit;text-underline-offset:5px}button,input,select,textarea{font:inherit}button,.button{border:0;background:var(--blue);color:white;padding:12px 24px;cursor:pointer;display:inline-block;text-decoration:none;font-weight:700}button:hover,.button:hover{filter:brightness(1.15)}button.secondary,.secondary{background:#e9eff3;color:var(--navy)}button.danger{background:#923c37}input,select,textarea{border:1px solid #b9c6d0;padding:11px;background:white;color:var(--navy);width:100%;border-radius:2px}textarea{min-height:180px}label{display:block;margin:12px 0;font-size:13px;font-weight:700}label input,label select,label textarea{display:block;margin-top:6px}header{max-width:1280px;margin:auto;padding:23px 5%;display:flex;align-items:center;justify-content:space-between;gap:30px}nav{display:flex;gap:28px;align-items:center}nav a{text-decoration:none;font-size:13px;font-weight:700}.brand{font-size:23px;letter-spacing:2px;text-decoration:none;font-weight:900;line-height:1.2}.brand small{display:block;font-size:9px;letter-spacing:4px;margin-top:6px}.hero{background:var(--navy);color:white;padding:80px max(6%,calc((100vw - 1120px)/2));position:relative;overflow:hidden}.hero h1{font-size:clamp(34px,4vw,58px);line-height:1.5;letter-spacing:.05em;margin:0 0 22px;max-width:800px}.hero p{color:#c4d3df;max-width:630px;margin:0 0 30px}.hero .button{background:white;color:var(--navy)}main{max-width:1120px;margin:auto;padding:50px 24px 80px}section{margin-bottom:76px}h1{font-size:34px;line-height:1.5}h2{font-size:28px;line-height:1.5;margin:0}h3{font-size:19px;line-height:1.6;margin:8px 0}.section-head{display:flex;justify-content:space-between;align-items:end;border-bottom:2px solid var(--navy);padding-bottom:18px;margin-bottom:24px}.section-head small{display:block;color:var(--muted);font-size:11px;letter-spacing:2px;margin-top:5px}.muted,time{color:var(--muted)}.empty{padding:50px 24px;background:var(--bg);text-align:center}.filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-bottom:25px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.car{text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:18px}.car img,.photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--bg)}.no-photo{aspect-ratio:4/3;background:var(--bg);display:grid;place-items:center;color:var(--muted)}.price{font-size:23px;font-weight:700}.meta{font-size:13px;color:var(--muted)}.news-row{display:grid;grid-template-columns:110px 110px 1fr;gap:16px;padding:23px 0;border-bottom:1px solid var(--line);text-decoration:none}.tag{color:var(--blue);font-size:12px}.about{background:var(--bg);padding:36px;display:grid;grid-template-columns:1fr 2fr;gap:35px}footer{background:var(--navy);color:white;padding:40px 6%;display:flex;justify-content:space-between;gap:20px}footer a{font-size:12px}.login{max-width:460px;margin:60px auto;padding:32px;border:1px solid var(--line)}.admin-shell{display:grid;grid-template-columns:190px 1fr;gap:40px}.sidebar{border-right:1px solid var(--line);padding-right:24px}.sidebar a{display:block;padding:10px 0;text-decoration:none}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:20px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:16px 10px;border-bottom:1px solid var(--line)}th{background:var(--bg);white-space:nowrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.full{grid-column:1/-1}.message{padding:12px;background:#e9f2f2;margin:12px 0}.error{color:#9d2929}.body{white-space:pre-wrap;overflow-wrap:anywhere}.detail{display:grid;grid-template-columns:1.3fr 1fr;gap:45px}.thumbs{display:flex;gap:10px;flex-wrap:wrap}.thumbs img{width:85px;height:65px;object-fit:contain}.specs{display:grid;grid-template-columns:1fr 1fr;gap:0}.specs div{padding:13px 0;border-bottom:1px solid var(--line)}.back{display:inline-block;margin-bottom:24px}.article{max-width:760px;margin:auto}.article h1{margin-bottom:20px}.article .body{margin:35px 0}dialog{max-width:520px;border:1px solid var(--line);padding:30px}a:focus-visible,button:focus-visible{outline:3px solid #e4a540;outline-offset:4px}@media(max-width:760px){header{align-items:flex-start;gap:15px;flex-direction:column}nav{gap:18px;flex-wrap:wrap}.hero{padding:45px 24px}.hero h1{font-size:34px}main{padding:32px 20px}.grid{grid-template-columns:1fr}.news-row{grid-template-columns:95px 1fr;gap:5px}.news-row strong{grid-column:1/-1}.about,.detail,.admin-shell{grid-template-columns:1fr}.sidebar{display:flex;gap:18px;border-right:0;border-bottom:1px solid var(--line)}.form-grid{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.section-head h2{font-size:24px}footer{flex-direction:column}.toolbar{align-items:flex-start;flex-wrap:wrap}.hero p{font-size:14px}}

.brand{font-style:italic;letter-spacing:-1px;font-size:30px}.brand span{color:var(--blue)}.brand small{font-style:normal;letter-spacing:4px;font-size:9px}.hero h1{font-weight:500;letter-spacing:-2px;font-size:clamp(38px,5vw,72px);line-height:1.1}.hero h1 em{font-style:normal;color:var(--blue)}.hero p{margin-top:30px;color:#c4c7ca}.hero .button{background:var(--blue);color:white}.hero{min-height:480px;padding-top:85px;padding-bottom:85px}.hero h1,.hero p,.hero .button{position:relative;z-index:1}.sidebar a:hover{color:var(--blue)}nav{gap:22px}nav a{font-size:12px}h2{font-weight:500;letter-spacing:-.5px}.section-head{border-bottom:1px solid #dce3e8}.section-head small{display:none}.section-head a{font-size:13px}button,.button{border-radius:0}.sidebar{background:var(--navy);color:white;padding:24px}.sidebar button{font-size:12px} @media(max-width:760px){.hero{min-height:400px;padding:50px 24px}.hero h1{font-size:42px}.hero p{max-width:340px}.section-head{gap:15px}.section-head a{font-size:12px}nav{gap:14px}.sidebar{flex-wrap:wrap}}
.hero{background-image:url(/hero-hilux-gun226.png);background-size:cover;background-position:center 54%}.hero h1{max-width:750px}.hero p{max-width:600px}.hero .button{margin-top:8px}@media(max-width:760px){.hero{background-position:62% center;background-size:auto 100%;background-repeat:no-repeat}.hero h1{font-size:39px;max-width:340px}.hero p{max-width:260px;font-size:13px;text-shadow:0 1px 4px #000}.hero h1{ text-shadow:0 1px 6px #000}}
@media(max-width:760px){.hero{background-size:auto 250px;background-position:right bottom;min-height:620px;padding-bottom:270px}.hero h1{font-size:37px;letter-spacing:-1.4px}.hero p{max-width:320px;margin-top:20px}.hero .button{margin-top:4px}}

.relocation-article{max-width:800px}.relocation-article h1{font-size:clamp(25px,3vw,36px);line-height:1.65;letter-spacing:0}.relocation-body{font-size:16px;line-height:2.1;margin:35px 0}.relocation-body p{margin:0}.relocation-body p:has(br:only-child){height:1.5em}.article-source{border-top:1px solid var(--line);padding-top:22px;margin-top:40px;font-size:13px}.relocation-article .button{margin-top:16px}@media(max-width:760px){.relocation-body{font-size:15px;line-height:2}.relocation-article .button{padding:12px 16px;font-size:13px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body:has(.admin-shell){background:#f4f4f2}body:has(.admin-shell) main{max-width:1540px;padding:24px}.admin-shell{grid-template-columns:210px minmax(0,1fr);gap:30px}.admin-main{min-width:0}.sidebar{position:sticky;top:20px;align-self:start;min-height:650px;padding:26px 20px}.sidebar>strong{font-size:17px;letter-spacing:.06em;line-height:1.4}.sidebar .admin-brand{border-top:1px solid #444;padding-top:20px;color:white;font-size:14px}.sidebar a{font-size:13px;padding:13px 10px;color:#b9bdc3}.sidebar a[aria-current=page]{background:#292a2e;color:white;border-left:3px solid var(--blue)}.sidebar #logout{margin-top:40px}.brand-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;background:white;border:1px solid var(--line)}.brand-toolbar>div{display:flex;align-items:center;gap:20px;flex:0 0 auto}.brand-toolbar small{font-size:12px;color:var(--muted)}.brand-toolbar select{width:200px;font-size:16px;font-weight:800;border:2px solid var(--navy);padding:9px 15px}.brand-toolbar p{font-size:12px;color:var(--muted);margin:0}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.admin-stats>div{padding:18px 20px;background:white;border:1px solid var(--line)}.admin-stats small{color:var(--muted);display:block;font-size:12px}.admin-stats strong{display:block;font-size:30px;line-height:1.4;margin-top:6px}.admin-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;padding:12px 20px;background:#eaeae7;border:1px solid #deded9}.admin-filters label{margin:0;font-size:11px;color:#62666a}.admin-filters input,.admin-filters select{font-size:13px;padding:10px}.admin-main .table-wrap{background:white;border:1px solid var(--line)}.admin-main th{font-size:11px;background:#eaeae7}.admin-main td{font-size:13px}.admin-main td>strong{font-size:14px}.table-sub{display:block;color:var(--muted);font-size:11px}.admin-status{font-size:11px;white-space:nowrap;background:#edf0f2;color:#69717b;padding:5px 9px}.admin-status.published{background:#e4f2e9;color:#236b3d}.admin-status.sold{background:#eee5e5;color:#8c3838}.admin-main #entry{padding:24px;background:white;border:1px solid var(--line);margin-bottom:24px}.admin-main #entry h3{margin-bottom:22px}.admin-main #entry input,.admin-main #entry select,.admin-main #entry textarea{font-size:13px}.admin-main .toolbar .tag{margin:0 0 3px}.admin-main .toolbar h2{font-size:30px;font-weight:700}.admin-main td button{font-size:12px;padding:7px 15px}@media(max-width:950px){.brand-toolbar{flex-direction:column;align-items:flex-start;gap:10px}.admin-shell{grid-template-columns:170px minmax(0,1fr);gap:16px}}@media(max-width:760px){body:has(.admin-shell) main{padding:16px}.admin-shell{grid-template-columns:1fr}.sidebar{position:static;min-height:0;padding:16px;gap:12px;align-items:center}.sidebar>strong{font-size:12px}.sidebar .admin-brand{border:0;padding:0;margin:0}.sidebar a{font-size:12px;padding:8px}.sidebar #logout{margin:0}.admin-stats{grid-template-columns:repeat(2,1fr);gap:8px}.admin-stats>div{padding:12px}.admin-filters{grid-template-columns:1fr;padding:16px;gap:12px}.brand-toolbar{padding:16px}.brand-toolbar>div{width:100%;justify-content:space-between;gap:10px}.brand-toolbar select{width:170px}.admin-main .table-wrap table{min-width:720px}.admin-main #entry{padding:18px}}
body:has(.admin-shell)>#app>header,body:has(.admin-shell)>#app>footer{display:none}body:has(.admin-shell) main{max-width:none;padding:0}.admin-shell{gap:0;min-height:100vh}.admin-shell .sidebar{top:0;min-height:100vh}.admin-main{padding:28px 32px}.admin-main .sidebar{margin:0}@media(max-width:760px){body:has(.admin-shell) main{padding:0}.admin-shell .sidebar{min-height:0}.admin-main{padding:18px 16px}}
.vehicle-selector-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:14px 0 5px}.vehicle-selector-head strong{font-size:14px}.vehicle-selector-head button{font-size:12px;padding:8px 13px}.vehicle-selector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.vehicle-code-note{font-size:12px;margin:2px 0 12px}.vehicle-selector-grid select:disabled{background:#edf0f2;color:#7b828a}.offer-choice{display:flex;align-items:center;gap:10px;padding:14px;background:#fff5e5}.offer-choice input{width:auto!important;display:inline-block;margin:0}.stock-category-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;align-items:stretch}.stock-category-links a,.stock-category-links button{display:block;text-decoration:none;font-size:11px;font-weight:700;letter-spacing:.04em;padding:10px 13px;border:1px solid var(--line);background:white;color:var(--navy)}.stock-category-links a:hover,.stock-category-links button:hover{border-color:var(--blue);color:var(--blue)}.stock-category-links button[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:white}@media(max-width:760px){.vehicle-selector-grid{grid-template-columns:1fr;gap:0}.vehicle-selector-head{align-items:flex-start;flex-direction:column;gap:8px}.stock-category-links{gap:6px}.stock-category-links a,.stock-category-links button{font-size:10px;padding:9px 10px}}

.section-head h1{font-size:28px;line-height:1.5;margin:0;font-weight:500}.stock-category-links a[aria-current=page]{background:var(--navy);color:white;border-color:var(--navy)}

/* Full-width dark site header */
header{background:#000;color:#fff;box-shadow:0 0 0 100vmax #000;clip-path:inset(0 -100vmax)}header .brand,header .brand span,header .brand small,header nav a{color:#fff}


header .brand{display:flex;align-items:center;flex:0 0 330px;width:330px;height:66px;overflow:hidden}header .brand img{display:block;width:100%;height:auto;flex-shrink:0}@media(max-width:760px){header .brand{flex:0 0 auto;width:280px;max-width:100%;height:60px}}

