/* Ricefield — JDM spec-sheet theme. Desktop first; phone layout below 900px. */

:root {
	--bg: oklch(0.975 0.004 100);
	--bg2: oklch(0.95 0.005 100);
	--ink: oklch(0.17 0.005 100);
	--mute: oklch(0.48 0.006 100);
	--line: oklch(0.86 0.006 100);
	--plate: oklch(0.87 0.16 95);
	--plate-soft: oklch(0.93 0.07 95);
	--red: oklch(0.53 0.2 27);
	--green: oklch(0.6 0.15 150);
	--sans: 'Archivo', system-ui, sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, monospace;
	--jp: 'Noto Sans JP', sans-serif;
	--kana: 'Dela Gothic One', 'Noto Sans JP', sans-serif; /* Dela is loaded with kana only; kanji fall back to Noto 900 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.4; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--plate); padding: 10px 14px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }
.jp { font-family: var(--jp); }

/* Japanese display face (kana Dela + kanji Noto 900) */
.jpline, .outline, .pvjp, .kana, .jpn, .kn { font-family: var(--kana); font-weight: 900; font-synthesis: none; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--bg); overflow: hidden; white-space: nowrap; height: 34px; display: flex; align-items: center; }
.tkrun { display: inline-flex; }
.tk { display: inline-flex; gap: 36px; padding-left: 36px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.tk b { font-weight: 700; color: var(--plate); }
@media (prefers-reduced-motion: no-preference) { .tkrun { animation: rf-tk 40s linear infinite; } }
@keyframes rf-tk { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brandmark { display: block; flex: 0 0 auto; }
.logo { height: 56px; width: auto; display: block; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.nav a { display: flex; flex-direction: column; align-items: center; font-size: 14px; font-weight: 600; padding: 6px 12px; border: 1px solid transparent; line-height: 1.1; }
.nav a small { font-family: var(--jp); font-size: 9px; font-weight: 700; color: var(--mute); letter-spacing: .1em; }
.nav a:hover { border-color: var(--ink); color: var(--ink); }
.nav a.here { border-bottom: 3px solid var(--ink); }
.nav a.cta { background: var(--plate); border-color: var(--ink); }
.sbtn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; }
.sbtn:hover { border-color: var(--ink); }

/* Header search overlay */
.search-panel { position: fixed; inset: var(--wp-admin--admin-bar--height, 0px) 0 0 0; z-index: 55; background: var(--bg); overflow: auto; }
.search-panel[hidden] { display: none; }
.sp-form { display: flex; align-items: center; gap: 14px; padding: 28px 0 14px; border-bottom: 2px solid var(--ink); }
.sp-form svg { width: 28px; height: 28px; flex: 0 0 auto; }
.sp-form .ibtn { font-size: 22px; font-weight: 400; }
.sp-form input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font-stretch: 112%; font-weight: 800; font-size: clamp(22px, 3.4vw, 40px); text-transform: uppercase; color: var(--ink); }
.sp-form input:focus { outline: none; }
.sp-form:focus-within { box-shadow: 0 3px 0 var(--plate); }
.sp-results { padding: 8px 0 60px; }
.sp-g { margin-top: 22px; }
.sp-h { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sp-h .jp { font-family: var(--jp); color: var(--red); letter-spacing: 0; }
.sp-h .sp-all { margin-left: auto; color: var(--red); }
.sp-row { display: grid; grid-template-columns: 76px 64px minmax(0, 1fr) minmax(0, 240px) 90px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.sp-row:hover { background: var(--plate-soft); color: var(--ink); }
.sp-img { width: 64px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.sp-t { font-weight: 700; display: flex; flex-direction: column; gap: 2px; }
.sp-t .jpn { font-size: 12px; }
.sp-m { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.sp-p { font-family: var(--mono); font-weight: 700; text-align: right; }
.sp-page { display: block; font-weight: 700; }
.sp-none { font-family: var(--mono); color: var(--mute); padding: 24px 0; }
.nav a.cta small { color: var(--ink); }
.mnav { display: none; gap: 8px; }
.ibtn { width: 44px; height: 44px; border: 2px solid var(--ink); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 10px; background: var(--bg); color: var(--ink); line-height: 1.1; cursor: pointer; padding: 0; }
.ibtn small { font-family: var(--jp); font-size: 8px; }
.ibtn.y { background: var(--plate); }
.bars { display: flex; flex-direction: column; gap: 4px; }
.bars span { display: block; width: 18px; height: 2px; background: var(--ink); }

/* Mobile menu panel */
.menu-panel { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow: auto; }
.menu-panel[hidden] { display: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--plate); border-bottom: 2px solid var(--ink); }
.menu-head .logo { height: 40px; }
.menu-list { display: flex; flex-direction: column; }
.menu-list a { display: flex; justify-content: space-between; align-items: center; padding: 0 16px; height: 62px; border-bottom: 1px solid var(--ink); }
.menu-list .l { display: flex; flex-direction: column; gap: 2px; }
.menu-list .l small { font-family: var(--jp); font-weight: 700; font-size: 11px; color: var(--red); }
.menu-list .l span { font-stretch: 118%; font-weight: 900; font-size: 21px; text-transform: uppercase; line-height: 1; }
.menu-list .c { font-family: var(--mono); font-size: 12px; }
.menu-cta { padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; }
body.menu-open { overflow: hidden; }

/* ---------- Type & atoms ---------- */
.display { font-stretch: 125%; font-weight: 900; font-size: clamp(44px, 7vw, 104px); line-height: .9; letter-spacing: -.01em; margin: 0; text-transform: uppercase; text-wrap: balance; }
.disp { font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .95; }
.hanko { display: inline-flex; align-items: center; background: var(--red); color: #fff; font-family: var(--jp); font-weight: 900; font-size: 13px; padding: 4px 7px; line-height: 1.1; }
.hk { font-family: var(--jp); font-weight: 900; background: var(--red); color: #fff; font-size: 20px; line-height: 1.05; padding: 8px; writing-mode: vertical-rl; flex: 0 0 auto; }
.idx { font-family: var(--mono); font-size: 12px; color: var(--red); }
.idx a { color: var(--red); }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; background: var(--ink); color: var(--bg); padding: 0 20px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; border: 0; cursor: pointer; font-family: var(--sans); text-align: center; }
.btn:hover { background: var(--red); color: #fff; }
.btn.y { background: var(--plate); color: var(--ink); border: 2px solid var(--ink); }
.btn.y:hover { background: var(--ink); color: var(--plate); }
.btn.full { width: 100%; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btns.pad { padding: 32px 0 80px; }

/* Kei plate */
.kplate { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: var(--plate); border: 2px solid var(--ink); border-radius: 7px; box-shadow: inset 0 0 0 2px var(--plate), inset 0 0 0 3px var(--ink); padding: 5px 12px 4px; line-height: 1; color: var(--ink); flex: 0 0 auto; }
.kplate .t { font-family: var(--jp); font-weight: 700; font-size: 10px; letter-spacing: .06em; }
.kplate .b { display: flex; align-items: baseline; gap: 5px; margin-top: 2px; }
.kplate .h { font-family: var(--jp); font-weight: 700; font-size: 11px; }
.kplate .n { font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: .02em; white-space: nowrap; }
.kplate.sm { padding: 3px 8px 2px; border-radius: 5px; }
.kplate.sm .t { font-size: 8px; }
.kplate.sm .h { font-size: 9px; }
.kplate.sm .n { font-size: 14px; }
.kplate.lg { padding: 8px 18px 6px; border-radius: 9px; }
.kplate.lg .t { font-size: 13px; }
.kplate.lg .h { font-size: 14px; }
.kplate.lg .n { font-size: 34px; }

/* ---------- Home ---------- */
.hero { position: relative; border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 36px 0; }
.kick { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; margin-bottom: 18px; }
.jpline { font-size: clamp(22px, 2.6vw, 36px); color: var(--red); margin-top: 18px; letter-spacing: .04em; }
.jpline.sub { font-size: 20px; margin-top: 10px; }
.outline { writing-mode: vertical-rl; font-size: clamp(68px, 8vw, 118px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px oklch(0.17 0.005 100 / .28); padding-right: 4px; } /* watermark: Japanese never outweighs the English headline */
.facts { display: flex; gap: 14px; align-items: center; margin-top: 26px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; }

.board { display: grid; grid-template-columns: minmax(0, 1fr) 440px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.board .list { border-right: 2px solid var(--ink); display: flex; flex-direction: column; }
.board .rows { display: flex; flex-direction: column; flex: 1; }
.board .rows[hidden] { display: none; }
.filters { display: flex; border-bottom: 1px solid var(--ink); }
.f { flex: 0 0 auto; padding: 10px 20px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border: 0; border-right: 1px solid var(--ink); background: transparent; color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.f small { font-family: var(--jp); font-size: 10px; letter-spacing: .1em; color: var(--red); }
.f.on { background: var(--ink); color: var(--bg); }
.f.on small { color: var(--plate); }
.f .n { font-family: var(--mono); font-weight: 400; opacity: .7; margin-left: 6px; }
.board .thead, .board .tr { display: grid; grid-template-columns: 86px minmax(0, 2.4fr) 80px 104px 64px 56px 96px; gap: 12px; align-items: center; padding: 0 20px; }
.thead { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); height: 44px; border-bottom: 1px solid var(--line); }
.thead span { display: flex; flex-direction: column; gap: 1px; }
.thead small { font-family: var(--jp); font-size: 9px; letter-spacing: 0; color: var(--mute); }
.thead .r { align-items: flex-end; text-align: right; }
.tr { min-height: 62px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.tr:hover { background: var(--plate-soft); color: var(--ink); }
.tr.on { background: var(--plate-soft); }
.tr .name { font-weight: 700; font-size: 16px; display: flex; flex-direction: column; gap: 2px; }
.tr .name small { font-family: var(--jp); font-weight: 500; font-size: 11px; color: var(--mute); }
.tr .name small.jpn { font-family: var(--kana); font-weight: 900; color: var(--red); font-size: 12px; }
.tr .d { font-family: var(--mono); font-size: 13px; }
.tr .pr, .tr .price { font-family: var(--mono); font-weight: 700; text-align: right; }
.all { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-top: 1px solid var(--ink); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 15px; }
.all:hover { background: var(--plate); color: var(--ink); }
.pv { display: flex; flex-direction: column; }
.pvph { position: relative; border-bottom: 2px solid var(--ink); }
.pvimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pvpl { position: absolute; left: 14px; bottom: 14px; }
.pvb { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.pvt { font-stretch: 110%; font-weight: 800; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.pvjp { font-size: 16px; color: var(--red); }
.pvjp.big { font-size: 20px; margin-top: 8px; }
.pvm { font-size: 13px; color: var(--mute); }

.sech { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 56px 0 20px; flex-wrap: wrap; }
.h2 { display: flex; align-items: center; gap: 16px; margin: 0; }
.h2 .en { font-stretch: 125%; font-weight: 900; font-size: clamp(30px, 4.4vw, 60px); line-height: .9; text-transform: uppercase; }
.brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--ink); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.bt { display: flex; flex-direction: column; background: var(--bg); color: var(--ink); }
.bt:hover { color: var(--ink); background: var(--plate); }
.btimg { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); border-bottom: 1px solid var(--ink); transition: filter .25s; }
.bt:hover .btimg { filter: none; }
.btb { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.kana { font-size: 13px; line-height: 1; color: var(--red); }
.bn { font-stretch: 115%; font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; }
.bc { font-family: var(--mono); font-size: 12px; display: flex; gap: 10px; color: var(--mute); }
.bc b { color: var(--ink); font-weight: 700; }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); margin-top: 56px; }
.three > div { padding: 30px 28px; border-right: 1px solid var(--ink); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 16px; align-items: start; }
.three > div:last-child { border-right: 0; }
.three h3 { margin: 0; font-stretch: 115%; font-weight: 800; font-size: 21px; text-transform: uppercase; align-self: center; }
.three p { margin: 0; grid-column: 2; color: var(--mute); line-height: 1.6; font-size: 15px; }
.ico { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; grid-row: span 2; }
.ico.k { border: 2px solid var(--ink); font-family: var(--jp); font-weight: 900; font-size: 18px; }
.ico.r { background: var(--red); color: #fff; font-family: var(--jp); font-weight: 900; font-size: 18px; }
.wakaba { width: 34px; height: 46px; background: linear-gradient(90deg, var(--plate) 50%, var(--green) 50%); clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 72%, 50% 100%, 0 72%); }

/* ---------- Catalog ---------- */
.head { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 28px 0 22px; flex-wrap: wrap; }
.crumb { font-family: var(--mono); font-size: 12px; color: var(--red); margin-bottom: 12px; }
.crumb a { color: var(--red); }
.ttl { display: flex; align-items: center; gap: 18px; }
.ttl .hk { font-size: 18px; padding: 8px 7px; align-self: flex-start; }
.catalog .display { font-size: clamp(40px, 6vw, 88px); }
.count { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-family: var(--mono); font-size: 12px; }
.layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); border-bottom: 2px solid var(--ink); }
.layout .side { border-right: 2px solid var(--ink); }
.shh, .shf, .mchips, .mfilter, .side .sortgrp { display: none; }
.grp { border-bottom: 1px solid var(--ink); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.gt { display: flex; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.gt b { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.gt span { font-family: var(--jp); font-weight: 700; font-size: 11px; color: var(--red); }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.opt:hover { background: var(--plate-soft); color: var(--ink); }
.opt.on { background: var(--ink); color: var(--bg); }
.opt.off { color: oklch(0.7 0.004 100); }
.opt .c { font-family: var(--mono); font-weight: 400; font-size: 12px; }
.opt .kn { font-size: 12px; margin-left: 8px; color: var(--mute); }
.opt.on .kn { color: oklch(0.8 0.004 100); }
.clear { font-family: var(--mono); font-size: 12px; padding: 16px 20px; display: block; color: var(--red); }
/* Catalog search bar */
.csearch { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 20px; min-height: 52px; border-bottom: 1px solid var(--ink); }
.csearch svg { flex: 0 0 auto; color: var(--mute); }
.csearch input[type=search] { flex: 1 1 auto; min-width: 0; height: 40px; border: 0; background: transparent; font-family: var(--mono); font-size: 15px; color: var(--ink); }
.csearch input[type=search]:focus { outline: none; }
.csearch:focus-within { box-shadow: inset 0 -3px 0 var(--plate); }
.csearch .cclear { font-family: var(--mono); font-size: 18px; color: var(--mute); padding: 0 6px; }
.csearch .chip small, .sbtn small { font-family: var(--jp); font-size: 10px; color: var(--mute); margin-left: 2px; }
.tools { display: flex; justify-content: space-between; align-items: stretch; gap: 16px; border-bottom: 1px solid var(--ink); min-height: 52px; }
.sorts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-left: 20px; font-family: var(--mono); font-size: 12px; }
.sorts .lab { font-weight: 700; }
.sorts .jp { font-family: var(--jp); font-size: 11px; color: var(--mute); }
/* Range filter: two thumbs on one track; --a / --b are the thumb positions in % */
.rngv { display: block; width: 100%; font-family: var(--mono); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.rngs { --t: 18px; position: relative; width: 100%; height: 30px; }
.rngs::before, .rngs::after { content: ''; position: absolute; top: 50%; translate: 0 -50%; pointer-events: none; }
.rngs::before { left: calc(var(--t) / 2); right: calc(var(--t) / 2); height: 2px; background: var(--line); }
.rngs::after { left: calc(var(--t) / 2 + (100% - var(--t)) * var(--a) / 100); right: calc(var(--t) / 2 + (100% - var(--t)) * (100 - var(--b)) / 100); height: 4px; background: var(--ink); }
.rngs input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.rngs input::-webkit-slider-runnable-track { background: none; }
.rngs input::-moz-range-track { background: none; }
.rngs input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: var(--t); height: 24px; background: var(--plate); border: 2px solid var(--ink); border-radius: 2px; cursor: grab; }
.rngs input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 20px; background: var(--plate); border: 2px solid var(--ink); border-radius: 2px; cursor: grab; }
.rngs input:active::-webkit-slider-thumb { cursor: grabbing; background: var(--ink); }
.rngs input:focus-visible { outline: none; }
.rngs input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--red); outline-offset: 2px; }
.rngs input:focus-visible::-moz-range-thumb { outline: 2px solid var(--red); outline-offset: 2px; }
.rclear { margin-left: auto; font-family: var(--mono); color: var(--mute); }
.chip { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--ink); padding: 4px 8px; background: transparent; font-family: var(--mono); font-size: 12px; color: var(--ink); white-space: nowrap; }
.chip.on { background: var(--plate); color: var(--ink); }
.chip .c { font-family: var(--mono); font-weight: 400; font-size: 11px; }
.seg { display: flex; }
.sb { display: flex; align-items: center; border-left: 1px solid var(--ink); padding: 0 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.sb.on { background: var(--ink); color: var(--bg); }
.sb.on:hover { color: var(--plate); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
/* Cards share row tracks (subgrid), so brand, name, Japanese name, specs and price line up across a row. */
.card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; color: var(--ink); }
.card:hover { color: var(--ink); background: var(--bg2); }
.card:hover .go { color: var(--red); }
.ph { position: relative; }
.phimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.phpl { position: absolute; left: 12px; bottom: 12px; }
.cnt { position: absolute; right: 10px; bottom: 10px; background: oklch(0.17 0.005 100 / .8); color: var(--bg); font-family: var(--mono); font-size: 11px; padding: 3px 7px; }
.cb { padding: 16px 18px 18px; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 8px; align-items: start; }
.brand { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.card .name { font-stretch: 112%; font-weight: 800; font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.jpn { font-size: 14px; color: var(--red); }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); margin-top: 4px; align-self: stretch; }
.specs > span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-right: 1px solid var(--ink); text-align: center; }
.specs > span:last-child { border-right: 0; }
.specs small { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.specs b { font-family: var(--mono); font-weight: 500; font-size: 12px; white-space: nowrap; }
.row2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; align-self: end; padding-top: 6px; }
.price { font-family: var(--mono); font-weight: 700; font-size: 20px; }
.go { font-family: var(--mono); font-size: 12px; color: var(--mute); white-space: nowrap; }
.vlist .thead, .vlist .tr { display: grid; grid-template-columns: 120px 80px minmax(0, 2fr) 80px 64px 96px 70px 56px 90px; gap: 12px; align-items: center; padding: 0 20px; }
.vlist .tr { min-height: 104px; }
.trimg { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.empty { padding: 56px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; border-bottom: 1px solid var(--line); }
.empty .jpline { margin: 0; font-size: 26px; }
.empty .display { font-size: 44px; }
.soon { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 20px; padding: 24px 20px; background: var(--ink); color: var(--bg); }
.soon .hk { font-size: 16px; padding: 7px 6px; }
.soon .t { font-stretch: 115%; font-weight: 800; font-size: 26px; text-transform: uppercase; }
.soon .btn { background: var(--plate); color: var(--ink); }

/* ---------- Vehicle ---------- */
.vhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding: 24px 0 22px; border-top: 2px solid var(--ink); }
.vhead .display { font-size: clamp(36px, 5.6vw, 80px); }
.vprice { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 13px; }
.sheet { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
/* Photos stay in view while the sheet and form scroll; space under them is page colour, not black. */
.photos { border-right: 2px solid var(--ink); }
.gstick { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); display: flex; flex-direction: column; gap: 2px; background: var(--ink); }
.gmain { position: relative; }
.gmain .pimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.galpl { position: absolute; left: 14px; bottom: 14px; }
.gmain .cnt { top: 12px; bottom: auto; }
.garr { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 56px; border: 0; background: oklch(0.17 0.005 100 / .7); color: var(--bg); font-family: var(--mono); font-size: 20px; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s; }
.garr.prev { left: 0; }
.garr.next { right: 0; }
.gmain:hover .garr, .garr:focus-visible { opacity: 1; }
.garr:hover { background: var(--plate); color: var(--ink); }
@media (hover: none) { .garr { opacity: 1; } }
.thumbs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--mute) var(--ink); }
.thumb { flex: 0 0 120px; padding: 0; border: 0; background: var(--ink); cursor: pointer; opacity: .6; }
.thumb.on, .thumb:hover { opacity: 1; }
.thumb.on { outline: 3px solid var(--plate); outline-offset: -3px; }
.thimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.side .ashead { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: var(--ink); color: var(--bg); }
.ashead .en { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.ashead .jp { font-family: var(--jp); font-weight: 700; font-size: 11px; letter-spacing: .1em; color: var(--plate); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 2px solid var(--ink); }
.kv > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.kv > div:nth-child(even) { border-right: 0; }
.kv .k { background: oklch(0.93 0.01 100); border-right: 1px solid var(--ink); padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; justify-content: center; white-space: nowrap; }
.kv .k b { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.kv .k small { font-family: var(--jp); font-size: 10px; color: var(--mute); }
.kv .v { padding: 9px 12px; font-weight: 700; font-size: 15px; display: flex; align-items: center; }
.ask { padding: 22px; display: flex; flex-direction: column; gap: 12px; background: var(--bg2); scroll-margin-top: 20px; }
.askh { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.askh .disp { font-size: 20px; }
.rf-form { display: flex; flex-direction: column; gap: 10px; }
.rf-form input, .rf-form textarea { font-family: var(--mono); font-size: 16px; padding: 12px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); width: 100%; border-radius: 0; }
.rf-form .rf-hp { position: absolute; left: -9999px; }
.rf-form-note { font-family: var(--mono); font-size: 14px; padding: 12px; background: var(--plate); border: 2px solid var(--ink); margin: 0; }
.rf-sent { display: inline-block; margin-top: 14px; }
.rf-form-note.is-error { background: var(--bg); border-color: var(--red); color: var(--red); }
.notes { padding: 28px 0 56px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
.entry { line-height: 1.7; font-size: 16px; max-width: 72ch; }
.entry p { margin: 0 0 12px; }
.entry img { height: auto; }
.dock { display: none; }

/* ---------- Pages ---------- */
.page .entry { padding: 32px 0 80px; }
.page .head { margin-bottom: 0; }
.needs-plugin { padding: 40px 0; font-family: var(--mono); }


/* ---------- Forms ---------- */
.rf-field { display: flex; flex-direction: column; gap: 4px; }
.rf-field > span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.rf-form select { font-family: var(--mono); font-size: 16px; padding: 11px 12px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); width: 100%; border-radius: 0; }
.rf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.visitlink { display: inline-block; margin-top: 4px; }
.visitlink small, .cta small, .ibtn small { font-family: var(--jp); }
.visitlink small { font-size: 11px; color: var(--mute); margin-left: 4px; }

/* ---------- Visit page ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 2px solid var(--ink); margin-bottom: 56px; }
.visit-info { padding: 28px 28px 32px 0; border-right: 2px solid var(--ink); display: flex; flex-direction: column; gap: 24px; }
.visit .entry { padding: 0; }
.hours dl { margin: 0; border: 1px solid var(--ink); border-top: 0; }
.hours dl > div { display: grid; grid-template-columns: 1fr auto; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 15px; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; font-family: var(--mono); }
.hours .ashead { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--ink); color: var(--bg); }
.contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.contact address { font-style: normal; line-height: 1.6; }
.contact address a { font-family: var(--mono); font-size: 12px; color: var(--red); }
.visit .ask { background: var(--bg2); }

/* ---------- Imported content pages ---------- */
.entry h2 { font-stretch: 115%; font-weight: 800; font-size: 26px; text-transform: uppercase; margin: 36px 0 12px; line-height: 1.1; }
.entry h3 { font-stretch: 110%; font-weight: 800; font-size: 19px; margin: 0 0 8px; }
.entry a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry img { display: block; max-width: 100%; height: auto; }
.entry figure { margin: 24px 0; }
.entry figcaption, .resource-note, .parts-photo-note { font-family: var(--mono); font-size: 12px; color: var(--mute); line-height: 1.5; }
.resource-kicker, .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--red); text-transform: uppercase; margin: 0 0 10px; }
.resource-lead, .rfi-local-intro { font-size: 19px; line-height: 1.6; }
.entry dl { display: grid; grid-template-columns: max-content 1fr; gap: 0; border-top: 1px solid var(--ink); margin: 16px 0 24px; }
.entry dt, .entry dd { padding: 10px 12px; border-bottom: 1px solid var(--line); margin: 0 !important; }
.entry dt { background: oklch(0.93 0.01 100); }
.entry details { border-bottom: 1px solid var(--ink); }
.entry details:first-of-type { border-top: 2px solid var(--ink); }
.entry summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after { content: '+'; font-family: var(--mono); color: var(--red); }
.entry details[open] summary::after { content: '−'; }
.entry details p { margin: 0 0 16px; }
.steps, .parts-options, .guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 2px solid var(--ink); margin: 24px 0; }
.steps article, .parts-options article, .guide-card { padding: 20px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.steps article > span { font-family: var(--mono); color: var(--red); font-size: 12px; }
.guide-card a:first-child { text-decoration: none; color: var(--ink); }
.guide-card img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 12px; }
.parts-service-photo img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 12px; }
.entry .rf-form { max-width: 560px; padding: 22px; background: var(--bg2); border: 2px solid var(--ink); margin: 16px 0; }
.entry .grid { border: 2px solid var(--ink); margin: 16px 0; }
.entry .card, .entry .card:hover { text-decoration: none; color: var(--ink); }
.page .entry { max-width: 860px; }
.page .display { font-size: clamp(32px, 4.6vw, 64px); }

/* ---------- Footer links ---------- */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 24px 0 0; font-size: 14px; font-weight: 600; }

/* ---------- Footer ---------- */
.foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 40px; font-family: var(--mono); font-size: 12px; color: var(--mute); flex-wrap: wrap; }
.foot a { color: var(--mute); }
.foot address { font-style: normal; display: inline; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.board { grid-template-columns: minmax(0, 1fr) 360px; }
	.board .thead, .board .tr { grid-template-columns: 80px minmax(0, 1fr) 90px; }
	.board .hide, .vlist .hide { display: none; }
	.vlist .thead, .vlist .tr { grid-template-columns: 110px 80px minmax(0, 1fr) 90px; }
	.brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 900px) {
	.wrap { padding: 0 16px; }
	.ticker { height: 26px; }
	.tk { gap: 22px; padding-left: 22px; font-size: 10px; }
	.top { padding-top: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
	.logo { height: 40px; }
	.nav { display: none; }
	.mnav { display: flex; }
	.mnav .ibtn svg { width: 18px; height: 18px; }
	.csearch { padding: 0 8px 0 16px; border-top: 2px solid var(--ink); }
	.csearch + .tools { border-top: 0; }
	.rngs { --t: 26px; height: 40px; margin: 0 2px; }
	.rngs input::-webkit-slider-thumb { height: 32px; }
	.rngs input::-moz-range-thumb { width: 22px; height: 28px; }
	.sp-form { padding-top: 16px; }
	.sp-row { grid-template-columns: 64px 52px minmax(0, 1fr) auto; gap: 10px; }
	.sp-img { width: 52px; }
	.sp-m { display: none; }

	.hero { grid-template-columns: 1fr; border-top: 0; padding: 22px 0; overflow: hidden; isolation: isolate; }
	.outline { position: absolute; right: -6px; top: 16px; font-size: 62px; line-height: .92; -webkit-text-stroke: 1.5px oklch(0.17 0.005 100 / .35); z-index: -1; }
	.hero .display { font-size: 44px; }
	.jpline { font-size: 22px; }
	.kick { font-size: 11px; gap: 8px; }

	.board { grid-template-columns: 1fr; margin: 0 -16px; border-left: 0; border-right: 0; }
	.board .list { border-right: 0; }
	.pv { display: none; }
	.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.f { align-items: center; padding: 8px 4px; font-size: 12px; }
	.f:last-child { border-right: 0; }
	.board .thead { display: none; }
	.board .tr { grid-template-columns: 70px minmax(0, 1fr) 80px; padding: 10px 16px; }
	.tr .name { font-size: 15px; }

	.sech { padding: 30px 0 14px; }
	.h2 .hk { font-size: 15px; padding: 6px 5px; }
	.h2 .en { font-size: 24px; }
	.brands { margin: 0 -16px; }
	.btb { padding: 10px 10px 12px; gap: 4px; }
	.kana { font-size: 11px; }
	.bn { font-size: 15px; }
	.bc { font-size: 10px; flex-direction: column; gap: 0; }

	.three { grid-template-columns: 1fr; margin: 30px -16px 0; }
	.three > div { border-right: 0; border-bottom: 1px solid var(--ink); padding: 18px 16px; grid-template-columns: 44px minmax(0, 1fr); }
	.three > div:last-child { border-bottom: 0; }
	.three h3 { font-size: 16px; }
	.three p { font-size: 13px; }
	.ico { width: 44px; height: 44px; }

	/* Catalog */
	.head { border-top: 0; padding: 14px 0 18px; }
	.ttl .hk { font-size: 14px; padding: 5px 4px; }
	.catalog .display { font-size: 40px; }
	.jpline.sub { font-size: 15px; margin-top: 6px; }
	.count { align-items: flex-start; flex-direction: row; align-items: center; }
	.mchips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; margin: 0 -16px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
	.mchips .chip { height: 38px; padding: 0 12px; font-family: var(--sans); font-weight: 700; font-size: 13px; }
	.mchips .chip.on { background: var(--ink); color: var(--bg); }
	.mchips .chip.off { border-color: var(--line); color: oklch(0.68 0.004 100); }
	.layout { grid-template-columns: 1fr; margin: 0 -16px; }
	.layout .side { display: none; }
	.layout .side.open { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-height: 84vh; overflow: auto; background: var(--bg); border-top: 2px solid var(--ink); border-radius: 18px 18px 0 0; box-shadow: 0 0 0 100vmax oklch(0.17 0.005 100 / .55); }
	.side .shh { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 2px solid var(--ink); position: sticky; top: 0; background: var(--bg); }
	.shh .disp { font-size: 22px; }
	.side .sortgrp { display: flex; }
	.side .grp .opts, .side .grp { flex-direction: row; flex-wrap: wrap; gap: 8px; }
	.side .grp .gt { width: 100%; margin-bottom: 2px; }
	.side .opt { margin: 0; border: 1px solid var(--ink); padding: 8px 12px; gap: 6px; font-size: 13px; }
	.side .opt .kn { display: none; }
	.side .opt.off { border-color: var(--line); }
	.side .shf { display: block; padding: 12px 16px 24px; border-top: 2px solid var(--ink); position: sticky; bottom: 0; background: var(--bg); }
	.tools { border-top: 2px solid var(--ink); gap: 0; }
	.mfilter { display: flex; flex: 1; align-items: center; justify-content: center; gap: 6px; border: 0; border-right: 1px solid var(--ink); background: transparent; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 50px; }
	.mfilter small { font-family: var(--jp); font-size: 10px; color: var(--red); }
	.badge { background: var(--plate); color: var(--ink); border: 1px solid var(--ink); padding: 0 5px; font-size: 11px; }
	.sorts { display: none; }
	.grid { grid-template-columns: 1fr; }
	.card { border-right: 0; border-bottom: 2px solid var(--ink); }
	.vlist .tr { grid-template-columns: 96px minmax(0, 1fr) 80px; padding: 10px 16px; min-height: 0; }
	.vlist .kplate { display: none; }
	.trimg { width: 96px; }
	.empty { padding: 36px 16px; }
	.empty .display { font-size: 30px; }
	.soon { grid-template-columns: 1fr; gap: 14px; padding: 22px 16px; }
	.soon .hk { writing-mode: horizontal-tb; justify-self: start; font-size: 12px; padding: 3px 6px; }
	.soon .t { font-size: 22px; line-height: 1.05; }

	/* Vehicle */
	.vehicle .wrap { padding: 0; }
	.vhead { grid-template-columns: 1fr; gap: 10px; padding: 18px 16px; border-top: 0; }
	.vhead .display { font-size: 38px; }
	.vprice { flex-direction: row; align-items: center; justify-content: flex-start; }
	.vprice .kplate.lg { padding: 5px 12px 4px; border-radius: 7px; }
	.vprice .kplate.lg .n { font-size: 20px; }
	.sheet { grid-template-columns: minmax(0, 1fr); border-top: 0; }
	.photos { border-right: 0; }
	.gstick { position: static; }
	.thumbs { display: flex; overflow-x: auto; padding: 4px; gap: 4px; scrollbar-width: none; }
	.thumb { flex: 0 0 64px; }
	.kv > div { grid-template-columns: 72px minmax(0, 1fr); }
	.kv .k { padding: 8px; }
	.kv .k b { font-size: 10px; }
	.kv .k small { font-size: 9px; }
	.kv .v { padding: 8px 10px; font-size: 13px; }
	.ask { padding: 18px 16px 24px; }
	.notes { grid-template-columns: 1fr; gap: 8px; padding: 18px 16px 24px; border-bottom: 2px solid var(--ink); }
	.dock { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; position: sticky; bottom: 0; z-index: 20; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 16px; background: var(--bg); border-top: 2px solid var(--ink); }
	.dock .kplate { justify-self: start; }
	.dock .kplate .n { font-size: 16px; }
	.dock .btn { padding: 0 14px; }

	.page .entry { padding: 20px 0 48px; }
	.visit-grid { grid-template-columns: 1fr; margin: 0 -16px 32px; }
	.visit-info { padding: 20px 16px; border-right: 0; border-bottom: 2px solid var(--ink); }
	.rf-row { grid-template-columns: 1fr; }
	.entry dl { grid-template-columns: 1fr; }
	.entry dt { border-bottom: 0; }
	.foot { padding-top: 20px; padding-bottom: 36px; font-size: 11px; }
}

/* Home lot board on phones: vehicle thumbnail instead of the plate number; keep the ケイトラ watermark inside the screen. */
.board .tr .trthumb { display: none; }
@media (max-width: 900px) {
	.board .tr .kplate { display: none; }
	.board .tr .trthumb { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--ink); }
	.board .tr { grid-template-columns: 96px minmax(0, 1fr) 80px; }
	.outline { right: 2px; font-size: 54px; }
}

/* ---------- Vehicle lists embedded in pages ([ricefield_vehicles]) ---------- */
/* Columns follow the card count (--cols, set by the shortcode) and the frame hugs them, so one or two cars leave no empty frame. */
.entry .rf-embed { grid-template-columns: repeat(var(--cols, 2), minmax(0, 340px)); width: fit-content; max-width: 100%; }
.rf-more { grid-row: span 6; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 24px; text-decoration: none; }
.entry .rf-more { text-decoration: none; }
.rf-more .go { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
@media (max-width: 900px) {
	.entry .rf-embed { grid-template-columns: 1fr; width: auto; }
	.rf-more { display: none; }
}

/* ---------- Kei truck manual (/kei-truck-manual/) ---------- */
.mcode { display: flex; flex-direction: column; gap: 8px; min-width: 280px; }
.mcode > div { display: flex; }
.mcode input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 18px; text-transform: uppercase; padding: 0 14px; min-height: 48px; border: 2px solid var(--ink); border-right: 0; background: var(--bg); color: var(--ink); border-radius: 0; }
.mcode-miss { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--red); }
.mbrand { padding: 28px 0 8px; }
.mbrand h2 { font-stretch: 115%; font-weight: 800; font-size: 26px; text-transform: uppercase; margin: 0 0 12px; }
.mlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.mlist a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mlist a:hover { background: var(--bg2); color: var(--ink); }
.mlist img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 6px; }
.mlist b { font-stretch: 112%; font-weight: 800; font-size: 19px; text-transform: uppercase; line-height: 1.1; }
.mcodes, .mmeta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mcodes .chip { font-style: normal; }
.mmeta { margin-top: 14px; }
.manual .display { font-size: clamp(32px, 4.6vw, 64px); }
.manual .notes { border-bottom: 1px solid var(--line); padding: 28px 0; scroll-margin-top: 20px; }
.mspecs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 0; border-top: 2px solid var(--ink); border-left: 1px solid var(--ink); }
.mspecs > div { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.mspecs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.mspecs dd { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.mspecs b { font-family: var(--mono); font-size: 16px; }
.mspecs small { font-size: 13px; color: var(--mute); }
.mfirst { margin: 0; padding-left: 22px; line-height: 1.8; font-size: 16px; }
.mtable-wrap { overflow-x: auto; }
.mtable, .manual .entry table { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 2px solid var(--ink); margin: 12px 0 20px; }
.manual .entry { max-width: 860px; overflow-x: auto; }
.manual .entry small { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.mtable th, .manual .entry th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--ink); }
.mtable td, .manual .entry td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mbasis { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border: 1px solid var(--ink); white-space: nowrap; }
.mbasis.factory { background: var(--ink); color: var(--bg); }
.mbasis.owner { background: var(--plate); }
.mbasis.general { color: var(--mute); border-color: var(--line); }
.msources { margin: 0; padding-left: 18px; line-height: 1.7; font-size: 14px; }
.msources a { color: var(--red); }
.mmore { margin: 14px 0 0; font-family: var(--mono); font-size: 13px; }
.mmore a { color: var(--red); }
.mnewer { margin: 22px 0 10px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); }
.mnewer .jp { margin-left: 8px; font-size: 11px; letter-spacing: 0; }
@media (max-width: 900px) {
	.mcode { min-width: 0; width: 100%; }
	.manual .notes { grid-template-columns: 1fr; gap: 12px; }
	.mspecs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mspecs b { font-size: 14px; }
	.mtable { font-size: 14px; }
}
@media print {
	.ticker, .site-header, .menu-panel, .site-footer, .mprint, .mforsale, .mmore, .dock, .crumb { display: none !important; }
	body { background: #fff; }
	.manual .notes { break-inside: avoid; padding: 12px 0; }
	.msources a::after { content: ' (' attr(href) ')'; font-size: 10px; color: #555; }
}
