
:root{font-family:Inter,Pretendard,"Segoe UI",sans-serif;color:#f4f6f2;background:#101113;font-synthesis:none;--lime:#b8ff1f;--green:#5eeb45;--muted:#777e79}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--lime);outline-offset:4px}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.35}button:hover:not(:disabled){filter:brightness(1.2)}[hidden]{display:none!important}.workspace{max-width:1480px;margin:auto;padding:48px 42px 24px}.eyebrow{font-size:10px;letter-spacing:2px;color:#92998f;font-weight:650}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:38px}h1{font-size:32px;letter-spacing:-1px;margin:13px 0}p{color:#858c86;font-size:13px;line-height:1.6}.page-head p span{margin:0 14px;color:#414641}.demo-badge{font-size:10px;letter-spacing:1.5px;border:1px solid #30362a;padding:12px 16px;border-radius:30px;color:#b8cf96}i{display:inline-block;width:5px;height:5px;background:var(--lime);border-radius:50%}.demo-badge i{margin-right:8px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:30px}.preview{min-width:0}.device{padding:14px;border:1px solid #343735;border-radius:26px;background:linear-gradient(145deg,#202321,#0a0b0b);box-shadow:0 25px 60px #0006}#viewport{position:relative;width:100%;aspect-ratio:5/3;overflow:hidden;border-radius:14px;background:#050506}#hmi{position:absolute;width:800px;height:480px;transform-origin:top left;background:#050506;overflow:hidden;color:#f6f8f4}.hmi-header{position:absolute;top:29px;left:32px;right:32px;display:flex;align-items:center;z-index:2}.brand{font-size:18px;font-weight:800;letter-spacing:1.9px}.brand span{display:block;font-size:8px;color:#737a72;font-weight:500;letter-spacing:3.3px;margin-top:6px}.status{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:9px;letter-spacing:.6px;color:#757c75}.status button{font-size:10px;padding:12px 0;color:#747a74}.status button.on{color:var(--lime)}.status i{background:#444b42;margin-left:6px}.status .on i{background:var(--lime)}#estop-status i{background:#00d68f}#battery{margin-left:26px;padding:10px 5px}.battery-shell{display:block;width:54px;height:23px;border:1px solid #7e9561;border-radius:5px;padding:3px;position:relative}.battery-shell:after{content:'';position:absolute;right:-5px;top:6px;width:3px;height:9px;border-radius:0 2px 2px 0;background:#7e9561}#battery-fill{display:block;height:100%;width:78%;border-radius:2px;background:var(--lime);transition:width .25s,background .25s}#handle{position:absolute;top:0;left:320px;width:160px;height:27px;z-index:5}#handle span{display:block;width:38px;height:3px;background:#42473c;margin:auto;border-radius:3px}.speed-block{position:absolute;top:111px;left:280px;width:240px;text-align:center}.micro{font-size:9px;letter-spacing:2.5px;color:#626a62}#speed{font-size:120px;font-weight:550;line-height:1.12;letter-spacing:-7px;font-variant-numeric:tabular-nums;text-shadow:0 0 40px #b8ff1f09}.unit{font-size:14px;color:#949c91;letter-spacing:1px}.gear-select{position:absolute;left:49px;top:167px;display:flex;flex-direction:column;gap:8px}.gear-select button{width:47px;height:42px;color:#566052;border-radius:11px;font-size:20px}.gear-select button.active{color:var(--lime);background:#b8ff1f0e;border:1px solid #b8ff1f35;box-shadow:0 0 25px #b8ff1f05}.power-card{position:absolute;top:321px;left:227px;width:346px;height:77px;display:flex;align-items:center;justify-content:center;gap:29px;background:#0e110e;border:1px solid #242c22;border-radius:14px}.power-card>span{display:flex;flex-direction:column;text-align:left}.power-card small{font-size:8px;letter-spacing:1.4px;color:#939d8b}.power-card strong{font-size:23px;font-weight:500;margin:3px 0}.power-card em{font-size:12px;color:#9baf83;font-style:normal}.power-card label{font-size:7px;color:#525e4c;letter-spacing:1px}.power-card b{height:35px;width:1px;background:#2a3225}.power-card .card-arrow{font-size:13px;color:#7e8d6a;position:absolute;right:12px;top:10px}.throttle-card{position:absolute;left:32px;right:32px;bottom:24px;text-align:left;padding:0}.throttle-card>span{display:flex;align-items:center;margin-bottom:10px}.throttle-card small{font-size:9px;letter-spacing:1.4px;color:#8d9884}.throttle-card strong{font-size:12px;color:var(--lime);margin-left:12px;font-weight:500}.throttle-card strong span{font-size:9px;margin-left:3px}.throttle-card label{margin-left:auto;font-size:7px;letter-spacing:1px;color:#5b6554}.track{height:7px;border-radius:6px;background:#1b2216;overflow:hidden}.track i{display:block;width:0;height:100%;border-radius:6px;background:linear-gradient(90deg,#00d68f,#b8ff1f);transition:width .18s;box-shadow:0 0 15px #b8ff1f30}.preview-footer{display:flex;justify-content:space-between;margin:18px 4px;color:#616a60;font-size:10px;letter-spacing:.5px}.preview-footer i{background:#00d68f;margin-right:6px}.notes{display:flex;gap:26px;margin-top:44px}.notes>span{flex:1;font-size:10px;color:#80966a}.notes b{display:block;color:#c9cec5;font-size:13px;font-weight:500;margin-top:12px}.notes p{font-size:11px;margin-top:7px}.controls{border:1px solid #2a2e29;background:#171a17;border-radius:18px;padding:24px}.controls-title{display:flex;align-items:center;justify-content:space-between}.controls h2{font-size:20px;margin:7px 0 0;letter-spacing:-.5px}.controls-title button{font-size:11px;color:#9ca892}.control-intro{font-size:11px;margin:12px 0 18px}.presets{display:flex;gap:6px;margin-bottom:23px}.presets button{flex:1;background:#232920;border:1px solid #333d2c;padding:8px 3px;border-radius:6px;font-size:10px;color:#c0ceae}.slider-field{margin-bottom:20px}.slider-field label{display:flex;justify-content:space-between;font-size:11px;color:#b1baaa;margin-bottom:8px}.slider-field output{color:#e5eddd;font-variant-numeric:tabular-nums}input[type=range]{width:100%;height:4px;accent-color:var(--lime);cursor:pointer;margin:5px 0}.control-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #2a3026;padding:13px 0;font-size:11px}.panel-gears{display:flex;gap:4px}.panel-gears button{background:#252c20;border-radius:5px;width:31px;height:27px;font-size:11px;color:#88957d}.panel-gears .active{color:#050506;background:var(--lime)}input[type=checkbox]{appearance:none;width:31px;height:18px;border-radius:20px;background:#3a4234;position:relative;cursor:pointer}input[type=checkbox]:after{content:'';position:absolute;width:12px;height:12px;background:#a7b29c;border-radius:50%;top:3px;left:3px;transition:transform .18s}input[type=checkbox]:checked{background:#647e2d}input[type=checkbox]:checked:after{transform:translateX(13px);background:var(--lime)}.emergency input:checked{background:#a42c23}.emergency input:checked:after{background:#ffaaa0}.control-row small{display:block;font-size:9px;color:#6e7867;margin-top:5px}.sim-status{font-size:10px;color:#9cae88;padding:12px;background:#0f140d;border-radius:7px;margin-top:6px}.fine-print{font-size:9px;margin-bottom:0;color:#69735f}.page-footer{border-top:1px solid #282d25;padding-top:21px;margin-top:42px;font-size:10px;letter-spacing:1px;color:#6b7662;display:flex;gap:23px}.page-footer span{letter-spacing:0;color:#535e4b}.page-footer span:last-child{margin-left:auto;letter-spacing:1px}#detail{position:absolute;inset:0;background:#080b08;z-index:6;padding:30px 36px;animation:appear .2s ease-out}.detail-header{display:flex;align-items:center;gap:17px;border-bottom:1px solid #232c20;padding-bottom:20px}.detail-header button{width:42px;height:40px;background:#182013;border:1px solid #303e25;border-radius:10px;font-size:24px}.detail-header h2{font-size:16px;letter-spacing:2px;margin:0}.detail-header small{margin-left:auto;font-size:8px;color:#67755d;letter-spacing:1px}.detail-body{padding-top:24px}.hero-metric{font-size:65px;font-weight:500;color:var(--lime);line-height:1.1;margin-bottom:18px}.hero-metric small{font-size:20px;color:#7e9467}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metric{background:#11180e;border:1px solid #283522;border-radius:12px;padding:17px 20px}.metric label{display:block;color:#839574;font-size:9px;letter-spacing:1.4px;margin-bottom:10px}.metric strong{font-size:26px;font-weight:450}.metric small{font-size:11px;color:#93a783}.detail-note{font-size:11px;color:#7c8e6e;margin-top:14px;line-height:1.5}.action{background:var(--lime);color:#142000;border-radius:9px;font-size:12px;font-weight:650;padding:13px 23px}.cal-row{display:flex;gap:22px;align-items:center;margin-top:18px}.cal-row p{font-size:11px;max-width:440px;margin:0}.center-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}.center-card{background:#121b0e;border:1px solid #2b3b21;border-radius:16px;padding:24px;text-align:left;min-height:121px}.center-card label{display:block;font-size:10px;letter-spacing:1px;color:#95a885;margin-bottom:18px}.center-card strong{font-size:22px;color:#dbedce;font-weight:450}.center-card p{font-size:10px;margin:10px 0 0}.center-card input{margin-top:14px}#camera{position:absolute;inset:0;z-index:6;background:#171c1c;animation:appear .2s ease-out}#camera-scene{width:800px;height:480px}.camera-top,.camera-bottom{position:absolute;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between}.camera-top{top:23px;font-size:12px;letter-spacing:1.3px}.camera-top span{background:#090f0dd9;padding:12px;border-radius:7px}.camera-top i{background:#00d68f;margin-right:7px}.camera-top small{font-size:8px;color:#99aaa1;margin-left:15px}.camera-top button{padding:12px;background:#09100dd9;border:1px solid #707e6e;border-radius:8px;font-size:10px}.camera-bottom{bottom:23px;font-size:10px;background:#090f0de0;padding:13px 18px;border-radius:8px;letter-spacing:1px}.camera-bottom b{color:var(--lime)}#safety{position:absolute;inset:0;z-index:20;background:#170707f5;display:flex;align-items:center;justify-content:center;flex-direction:column;border:5px solid #ff5141;box-shadow:inset 0 0 100px #ff39251a}.stop-icon{width:64px;height:64px;border:2px solid #ff6355;border-radius:18px;color:#ff6355;font-size:44px;text-align:center;margin-bottom:21px}#safety .eyebrow{color:#ff8b80}#safety h2{font-size:42px;margin:12px 0 5px;letter-spacing:-1px}#safety p{text-align:center;color:#d8a6a0;font-size:13px}#safety>div:last-of-type{border:1px solid #843a33;background:#30120e;padding:12px 30px;border-radius:8px;font-size:12px;margin:7px 0 23px}#safety strong{margin-left:40px;color:#ff8b80}#safety>small{font-size:8px;letter-spacing:1.2px;color:#b57a72}#dimmer{position:absolute;inset:0;z-index:15;pointer-events:none;background:#000;opacity:0;transition:opacity .2s}@keyframes appear{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1050px){.workspace{padding:28px 20px}.layout{grid-template-columns:1fr}.controls{max-width:none}#sliders{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.notes{margin-top:28px}.demo-badge{display:none}}@media(max-width:550px){h1{font-size:25px}.workspace{padding:24px 12px}.device{padding:7px;border-radius:18px}.notes{display:none}.preview-footer{font-size:8px}.page-footer{gap:10px}.page-footer span:last-child{display:none}.controls{padding:20px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

:root .screen-links{display:flex;gap:12px;margin-bottom:20px}.screen-links a{font-size:10px;color:#b8ff1f;text-decoration:none}.mode-display{background:#050506;overflow:hidden}.mode-display .page-head,.mode-display .controls,.mode-display .preview-footer,.mode-display .notes,.mode-display .page-footer{display:none}.mode-display .workspace{padding:0;margin:0;width:100vw;height:100dvh;max-width:none;display:grid;place-items:center}.mode-display .layout{display:block;width:min(100vw,166.666667dvh)}.mode-display .device{padding:0;border:0;border-radius:0;background:none;box-shadow:none}.mode-display #viewport{border-radius:0}.mode-display #hmi{touch-action:none}.mode-controls .preview,.mode-controls .page-head,.mode-controls .page-footer{display:none}.mode-controls .workspace{padding:16px;max-width:450px}.mode-controls .layout{display:block}.mode-controls #sliders{display:block}
/* Reference-inspired instrument face; retain the vertical gear selector. */
.instrument-trim{position:absolute;inset:0;pointer-events:none}.instrument-trim svg{width:800px;height:480px}.hmi-header{top:23px;left:25px;right:25px}.brand{font-size:17px;font-weight:650;letter-spacing:3.8px}.brand span{font-size:8px;letter-spacing:4px;color:#89928f}.status{gap:19px;font-size:10px;color:#b1bab5}.status button{font-size:10px}.status i{width:7px;height:7px}.battery-shell{width:112px;height:27px;border-radius:12px;padding:3px;border-color:#7fae70}.battery-shell:after{top:7px;height:11px}#battery-fill{border-radius:8px;background:linear-gradient(100deg,#d2ff41,#5eeb45,#00d68f)}.speed-block{top:130px;left:272px;width:275px}.speed-block .micro{color:#8b998b;font-size:8px;letter-spacing:3px}#speed{font-size:142px;line-height:1.02;font-weight:700;letter-spacing:-7px;color:#eaffed;text-shadow:0 0 24px #5eeb451b}.unit{font-size:20px;font-weight:550;color:#8e979e}.gear-select{left:111px;top:175px;gap:9px}.gear-select button{width:44px;height:40px;background:#090c0b;border:1px solid #28352b;font-weight:550}.gear-select button.active{border-color:#b8ff1f;box-shadow:0 0 16px #7aff2020;background:#182211;color:#ccff9e}.power-card{left:219px;top:313px;width:374px;height:70px;border-radius:15px;background:linear-gradient(#101513,#080b0a);border-color:#414a48;gap:39px}.power-card strong{font-size:28px;font-weight:650}.power-card em{font-size:20px;color:#959fa4}.power-card small{font-size:9px;letter-spacing:1.7px}.power-card label{display:none}.power-card b{height:36px;background:#3c4542}.throttle-card{left:22px;right:22px;bottom:22px;height:48px;border:1px solid #2d3533;border-radius:18px;background:#090c0b;display:flex;align-items:center;padding:10px 15px;gap:16px}.throttle-card>span{margin:0;min-width:105px}.throttle-card small{font-size:10px;letter-spacing:2px;color:#a8b0b4}.throttle-card strong{font-size:10px;margin-left:8px}.throttle-card label{display:none}.track{flex:1;height:25px;padding:3px;border:1px solid #394641;background:#1b2121;border-radius:18px}.track i{border-radius:12px;background:linear-gradient(90deg,#d3ff28,#5eeb45,#00d68f)}#handle span{background:#566348}

.speed-block{top:110px}
.language-picker{display:flex;align-items:center;gap:9px;margin-top:14px}.language-picker>span{color:#91a184;font-size:10px;letter-spacing:1px;margin-right:auto}.language-picker button{font-size:12px;padding:10px 16px;border-radius:8px;border:1px solid #3b4d30;background:#162010}.language-picker button[aria-pressed=true]{background:#b8ff1f;color:#102000;border-color:#b8ff1f}.language-shortcut{font-size:10px;color:#9daa91;margin-top:8px}html[lang=ko] .brand span{letter-spacing:3px}html[lang=ko] .micro,html[lang=ko] .power-card small,html[lang=ko] .throttle-card small{letter-spacing:1px}html[lang=ko] #safety h2{font-size:33px}html[lang=ko] .detail-header h2{letter-spacing:1px}


/* ModuleScale website shell around the original instrument UI. */
@font-face {
  font-family: "ModuleScale Pretendard";
  src: url("/fonts/wanted-sans-variable.woff2") format("woff2");
  font-weight: 45 920;
  font-display: swap;
}
:root {
  font-family: "ModuleScale Pretendard", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: dark;
}
:root[data-site-theme="light"] {
  background: #fff;
  color: #171a20;
  color-scheme: light;
}
.site-header { background: #0b0d11; color: #f5f6fa; }
.site-header nav {
  width: min(100% - 40px, 1260px);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-brand { flex: 0 0 auto; display: grid; justify-items: start; gap: 5px; }
.site-brand img { display: block; width: 137px; height: auto; }
.site-brand span { width: 75px; height: 2px; background: linear-gradient(90deg,#005bff,#6547ff,#f238d3,#ff6b2c,#b8ff1f,#00c2ff); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.site-nav a, .site-nav button { font-size: 14px; font-weight: 700; color: inherit; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.site-nav button { border: 1px solid #5c626c; border-radius: 8px; min-height: 36px; padding: 0 10px; }
.site-nav :focus-visible { outline: 2px solid #b8ff1f; outline-offset: 3px; }
.workspace { max-width: 1344px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.055em; }
.page-head p { font-size: 1rem; line-height: 1.6; }
.page-head .eyebrow { color: #576b39; font-size: .875rem; letter-spacing: -.01em; }
:root[data-site-theme="dark"] .page-head .eyebrow { color: #abc181; }
[data-site-theme="light"] .controls { background: #f7f8fa; border-color: #e1e5eb; }
[data-site-theme="light"] .page-head p,
[data-site-theme="light"] .preview-footer,
[data-site-theme="light"] .controls-title button,
[data-site-theme="light"] .control-intro,
[data-site-theme="light"] .slider-field label,
[data-site-theme="light"] .control-row small,
[data-site-theme="light"] .fine-print,
[data-site-theme="light"] .notes p,
[data-site-theme="light"] .page-footer,
[data-site-theme="light"] .page-footer span,
[data-site-theme="light"] .controls .eyebrow { color: #4b5563; }
[data-site-theme="light"] .slider-field output,
[data-site-theme="light"] .notes b { color: #171a20; }
[data-site-theme="light"] .control-row,
[data-site-theme="light"] .page-footer { border-color: #e1e5eb; }
[data-site-theme="light"] .screen-links a { color: #30531b; }
[data-site-theme="light"] .sim-status { color: #30531b; }
[data-site-theme="light"] .controls :focus-visible { outline-color: #477526; }
.controls .screen-links a, .controls .presets button { font-size: .8125rem; }
.controls .screen-links { flex-wrap: wrap; }
.mode-display .site-header { display: none; }
@media (max-width: 620px) {
  .site-header nav { padding-block: 12px; flex-wrap: wrap; }
  .site-brand img { width: 112px; }
}

.preview-footer button {
  min-height: 36px;
  padding: 0 .45rem;
  color: inherit;
  font-size: .875rem;
  font-weight: 700;
}
.preview-footer button:hover { text-decoration: underline; text-underline-offset: .2em; }
.preview-footer kbd { margin-left: .35rem; padding: .05em .35em; border: 1px solid currentColor; border-radius: 4px; }

.vehicle-preview, .guide-photo { margin: 1rem 0 0; border: 1px solid #343b43; border-radius: 14px; overflow: hidden; }
.vehicle-preview { background: #171a1e; }
.guide-photo img { display: block; width: 100%; height: auto; }
.vehicle-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.25rem; padding: .95rem 1.15rem; }
.vehicle-heading { display: grid; gap: .15rem; }
.vehicle-heading span { color: #b4bac3; font-size: .8125rem; }
.vehicle-readouts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: .875rem; font-variant-numeric: tabular-nums; }
.vehicle-drive { padding: .35rem .6rem; border-radius: 6px; color: #e0e7ed; background: #2d343d; }
.vehicle-preview:is([data-drive="forward"],[data-drive="reverse"]) .vehicle-drive { color: #d9ffad; background: #263b1f; }
.vehicle-preview[data-drive="estop"] .vehicle-drive { color: #ffd5cf; background: #66261e; }
.vehicle-light {
  min-height: 40px;
  padding: 0 .65rem;
  border: 1px solid #717a82;
  border-radius: 7px;
  font-weight: 700;
}
.vehicle-light:hover:enabled { border-color: currentColor; }
.vehicle-light:disabled { opacity: .66; cursor: default; }
.vehicle-light::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .35rem; border-radius: 50%; background: #737d87; }
.vehicle-preview[data-light="on"] .vehicle-light::before { background: #b8ff1f; }
[data-site-theme="light"] .vehicle-preview,
[data-site-theme="light"] .guide-photo { background: #f7f8fa; border-color: #e1e5eb; }
[data-site-theme="light"] .vehicle-heading span { color: #4b5563; }
[data-site-theme="light"] .vehicle-drive { color: #26303d; background: #e2e8ef; }
[data-site-theme="light"] .vehicle-preview:is([data-drive="forward"],[data-drive="reverse"]) .vehicle-drive { color: #244414; background: #e3f1d7; }
[data-site-theme="light"] .vehicle-preview[data-drive="estop"] .vehicle-drive { color: #741f16; background: #f9ded9; }
[data-site-theme="light"] .vehicle-preview[data-light="on"] .vehicle-light::before { background: #598500; }
.mode-display .vehicle-preview { display: none; }

.kart-guide { max-width: 1080px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.guide-grid section { padding: 1.15rem; border: 1px solid #343b43; border-radius: 12px; }
.guide-grid h2 { margin: 0 0 .5rem; font-size: 1.125rem; }
.guide-grid p { margin: 0; line-height: 1.65; font-size: .95rem; }
.guide-photo { margin-top: 1.5rem; max-width: 660px; }
.guide-photo figcaption { padding: .75rem 1rem; font-size: .875rem; }
.guide-return { display: inline-block; margin-top: 1.25rem; color: inherit; font-weight: 750; text-underline-offset: .22em; }
[data-site-theme="light"] .guide-grid section { border-color: #e1e5eb; }
@media (max-width: 710px) {
  .guide-grid { grid-template-columns: 1fr; }
}
.vehicle-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #151816;
}
.vehicle-image img { display: block; width: 100%; height: auto; }
.vehicle-image .vehicle-light-on {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .16s ease;
}
.vehicle-preview[data-light="on"] .vehicle-light-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .vehicle-image .vehicle-light-on { transition: none; } }
.vehicle-image .vehicle-drive { position: absolute; inset: .65rem .65rem auto auto; font-size: .8125rem; font-weight: 750; }

#operation-guide {
  width: min(36rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: clamp(1rem, 4vw, 1.65rem);
  border: 1px solid #545e50;
  border-radius: 14px;
  background: #161c18;
  color: #f1f5ee;
  box-shadow: 0 1rem 3rem #0007;
}
#operation-guide::backdrop { background: #050806ad; }
.operation-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.operation-heading h2 { margin: 0; font-size: 1.5rem; }
.operation-heading button { min-height: 40px; padding: .45rem .75rem; border: 1px solid #75816e; border-radius: 8px; }
.operation-steps { margin: 1.25rem 0; }
.operation-steps dt { margin-bottom: .25rem; font-weight: 750; }
.operation-steps dd { margin: 0 0 .85rem; line-height: 1.55; color: #d3ddd1; }
.operation-shortcuts { padding: .65rem 0; border-block: 1px solid #545e50; }
.operation-shortcuts summary { cursor: pointer; font-weight: 720; }
#keyboard-help .shortcut-grid { display: grid; grid-template-columns: minmax(4.8rem, auto) minmax(0, 1fr); gap: .55rem .85rem; margin: .85rem 0; font-size: .875rem; }
#keyboard-help .shortcut-grid span { color: var(--lime); font-weight: 650; }
#keyboard-help small, #keyboard-help .language-shortcut { display: block; margin-top: .45rem; font-size: .8125rem; }
.operation-link { display: inline-block; margin-top: .9rem; color: inherit; text-underline-offset: .2em; }
[data-site-theme="light"] #operation-guide { background: #fafcf9; color: #1e281d; border-color: #a5b3a3; }
[data-site-theme="light"] .operation-steps dd { color: #435540; }
[data-site-theme="light"] #keyboard-help .shortcut-grid span { color: #315a17; }

.mode-embed .site-header,
.mode-embed .page-head,
.mode-embed .page-footer,
.mode-embed .controls .screen-links,
.mode-embed .operation-link { display: none; }
.mode-embed .workspace { padding: 0 12px 12px; }
.mode-embed .layout { gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(240px, 290px); }
@media (max-width: 780px) { .mode-embed .layout { grid-template-columns: minmax(0, 1fr); } }


/* Match the company site around the instrument display. */
:root { font-family: Pretendard, "Segoe UI", sans-serif; }
:root[data-site-theme="dark"] { background: #0e131b; }
.site-header { background: #0a0c10; }
.site-header nav { width: min(100% - 40px, 1180px); }
.site-brand span { width: 100%; }
.site-brand:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.site-nav button { min-height: 44px; }
.workspace { max-width: 1264px; }
.page-head { margin-bottom: clamp(20px, 3vw, 34px); }
.page-head h1 { margin: 0 0 .25em; }
.page-head p { margin: 0; }
.device { border-radius: 14px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

[data-open-center] { margin-block: 8px; }
#viewport:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 780px) {
  .controls :is(#reset, [data-open-center], .panel-gears button) { min-width: 44px; min-height: 44px; }
  .controls input[type="range"] { min-height: 30px; }
}

/* Keep the instrument display at its native 800 × 480 ratio; controls remain
   legible and tappable outside the scaled instrument on phones. */
.mobile-controls { display: none; }
@media (max-width: 900px) and (pointer: coarse), (max-width: 620px) {
  body:not(.mode-display):not(.mode-controls) .mobile-controls {
    display: grid;
    gap: .65rem;
    margin-top: .8rem;
    padding: .85rem;
    border: 1px solid #505a4b;
    border-radius: 12px;
    background: #161c18;
    color: #f1f5ee;
  }
  .mobile-controls-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
  .mobile-controls h2, .mobile-controls p { margin: 0; }
  .mobile-controls h2 { font-size: 1rem; }
  .mobile-controls p { color: #cfdbca; font-size: .8125rem; }
  .mobile-controls-head strong { color: #e0f9bd; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
  .mobile-gears, .mobile-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
  .mobile-controls button {
    min-height: 44px;
    margin: 0;
    padding: .35rem .2rem;
    border: 1px solid #687662;
    border-radius: 8px;
    background: #242e25;
    color: #f1f5ee;
    font-size: .875rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    touch-action: manipulation;
  }
  .mobile-controls button[aria-pressed="true"] { background: #d2f5a9; color: #223119; border-color: #d2f5a9; }
  .mobile-controls [data-mobile-view="drive"] { grid-column: 1 / -1; }
  [data-site-theme="light"] .mobile-controls { background: #f5f8f3; color: #253621; border-color: #b4c2ae; }
  [data-site-theme="light"] .mobile-controls p, [data-site-theme="light"] .mobile-controls strong { color: #435540; }
  [data-site-theme="light"] .mobile-controls button { background: #fff; color: #253621; border-color: #9eaf98; }
  [data-site-theme="light"] .mobile-controls button[aria-pressed="true"] { background: #e2f2d9; color: #253621; border-color: #557e49; }
  .mobile-controls button:focus-visible, .controls :is(button, input, a):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
  .controls .presets button, .controls [data-lang], .controls [data-open-center],
  .controls .panel-gears button, .controls #reset,
  .controls .screen-links a, .preview-footer button, .vehicle-light, .operation-heading button { min-height: 44px; }
  .controls .screen-links a { display: inline-flex; align-items: center; padding-inline: .25rem; }
  .controls input[type="range"] { min-height: 44px; }
  .controls input[role="switch"] { width: 52px; height: 44px; flex: 0 0 52px; }
  .controls input[role="switch"]::after { width: 20px; height: 20px; top: 12px; left: 6px; }
  .controls input[role="switch"]:checked::after { transform: translateX(20px); }
}
