/* ロッカーのタッチパネル（PCシミュレーター） */

:root {
  --bg: #0b0e13;
  --surface: #151a22;
  --surface-2: #1d242e;
  --line: #2a3340;
  --text: #eef2f7;
  --dim: #909cad;
  --accent: #2f8fff;
  --ok: #29c47f;
  --warn: #f0a92c;
  --danger: #f2555a;
  --term-w: 255px;
  --locker-w: 560px;
  --locker-h: 580px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- ヘッダー ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}

.brand strong { font-size: 16px; }

.tag {
  margin-left: 10px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}

.flowname { font-size: 13px; font-weight: 700; color: var(--accent); }

.flowbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 22px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: #5d6877;
  white-space: nowrap;
}

.chip .num {
  width: 18px; height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: #6b7685;
  font-size: 10.5px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.chip.done { color: var(--dim); border-color: #33404f; }
.chip.done .num { background: #2e3d4d; color: #93a1b1; }
.chip.on { color: #fff; border-color: var(--accent); background: #16243a; font-weight: 700; }
.chip.on .num { background: var(--accent); color: #fff; }

.chip-sep { color: #3a4552; font-size: 11px; }

.desc {
  max-width: 1100px;
  margin: 16px auto 0;
  padding: 0 22px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--dim);
}

/* ---------- 2列レイアウト ---------- */

.stage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 26px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px;
}

main.stage-duo {
  overflow-x: auto;
}

.stage-single {
  grid-template-columns: 1fr;
  max-width: 620px;
}

.stage-duo {
  grid-template-columns: var(--locker-w) var(--term-w);
  width: max-content;
  max-width: none;
  margin: 0 auto;
  justify-content: center;
  align-items: start;
  gap: 26px;
}

.stage-duo > .device:first-child {
  width: var(--locker-w);
  min-width: var(--locker-w);
  max-width: var(--locker-w);
}

.stage-duo > .device:last-child {
  width: var(--term-w);
  max-width: var(--term-w);
  min-width: var(--term-w);
}

@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; }
}

.device-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.device-name { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.device-code {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 8px;
}
.device-sub { font-size: 12px; color: var(--dim); margin-left: auto; }

.device-note {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--dim);
  margin: 12px 2px 0;
  min-height: 22px;
}

/* ---------- ロッカー本体 ---------- */

.locker-body {
  width: var(--locker-w);
  max-width: var(--locker-w);
  height: var(--locker-h);
  box-sizing: border-box;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.panel-bezel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #05070a;
  border: 1px solid #333d4c;
  border-radius: 12px;
  padding: 9px;
}

.panel {
  position: relative;
  background: #0f141b;
  border-radius: 7px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1;
  min-height: 0;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: auto;
}

.hw { display: flex; gap: 10px; margin: 14px 0; }

.hw-unit {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--dim);
}

.hw-unit strong { display: block; font-size: 12px; color: var(--text); margin-bottom: 2px; }
.hw-unit.live { border-color: var(--accent); background: #142236; color: var(--text); }
.hw-unit.none { opacity: .35; }

.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.box-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 78px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
}

.box-btn.vacant { border-left: 8px solid var(--ok); }
.box-btn.vacant:hover { border-color: var(--accent); background: #16202e; }
.box-btn.used { opacity: .45; cursor: default; border-left: 8px solid var(--danger); }
.box-btn[disabled] { pointer-events: none; }

.box-no { font-size: 26px; font-weight: 700; letter-spacing: .04em; }
.box-meta { font-size: 11px; color: var(--dim); }

.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 14px; flex: none; }

/* ---------- 決済端末 ---------- */

.device-side {
  width: var(--term-w);
  height: var(--locker-h);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.term-body {
  width: var(--term-w);
  max-width: var(--term-w);
  box-sizing: border-box;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  flex: none;
}

.term-bezel {
  background: #0a0c10;
  border: 1px solid #3a4552;
  border-radius: 12px;
  padding: 6px;
}

.term {
  position: relative;
  background: #11161e;
  border-radius: 7px;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: 0;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.term.is-black {
  background: #000;
  padding: 0;
}

.term.is-light {
  background: #11161e;
  padding: 0;
}

.term-black {
  flex: 1;
  background: #000;
  border-radius: 7px;
}

.term-paid {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #11161e;
  color: var(--text);
  border-radius: 7px;
}

.t-paid-bar {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  padding: 12px 8px 8px;
  border-bottom: 1px solid var(--line);
}

.t-paid-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 10px 28px;
  gap: 6px;
}

.t-paid-ja {
  margin: 0 !important;
  font-size: 12px !important;
  color: var(--dim) !important;
}

.t-paid-en {
  margin: 0 0 auto !important;
  font-size: 11px !important;
  color: var(--dim) !important;
}

.t-paid-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3d8dff 0%, #1f6fd6 100%);
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(31, 111, 214, .28);
  margin-bottom: 48px;
}

.t-btns { display: grid; gap: 8px; margin-top: auto; }
.t-btn-row { display: flex; justify-content: flex-start; }
.t-btn-row .t-btn { width: 90%; max-width: 90px; }

.t-btn:hover { border-color: var(--accent); background: #16202e; }
.t-btn.quiet { background: none; color: var(--dim); font-weight: 500; font-size: 11px; }

.term-idle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: #55616f;
}

.term-idle-mark {
  font-size: 11px;
  letter-spacing: .18em;
  border: 1px dashed #3a4552;
  border-radius: 8px;
  padding: 8px 14px;
}

.t-sub { font-size: 11.5px !important; max-width: 200px; }

/* 待機画面（決済ブランド案内） */
.term-standby {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #11161e;
  color: var(--text);
  margin: -14px -12px;
  padding: 14px 10px 10px;
  border-radius: 7px;
  overflow: hidden;
}

.t-standby-title {
  margin: 0 !important;
  text-align: center;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.5 !important;
  color: var(--text) !important;
}

.t-standby-en {
  margin: 3px 0 10px !important;
  text-align: center;
  font-size: 8px !important;
  color: var(--dim) !important;
  line-height: 1.35 !important;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  flex: 1;
  align-content: start;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 2px;
  background: #1d242e;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #d7dde6;
  text-align: center;
  line-height: 1.15;
}

.brand.visa { color: #7aa0ff; }
.brand.mc { color: #ff6b6b; }
.brand.jcb { color: #6aa8ff; }
.brand.amex { color: #5eb6ff; }
.brand.diners { color: #6ab0e8; }
.brand.paypay { color: #ff5577; }
.brand.dbarai { color: #ff6688; }
.brand.aupay { color: #ff9a4d; }
.brand.rakuten { color: #ff6b6b; }
.brand.wechat { color: #4fd67a; }
.brand.ic { color: #4fd69a; }
.brand.edy { color: #ff6b6b; }
.brand.waon { color: #ff6b6b; }
.brand.nanaco { color: #5ec8ff; }
.brand.id { color: #ff6b6b; }
.brand.quic { color: #5ec8ff; }

.t-balance {
  margin-top: 8px;
  width: 100%;
  padding: 10px 6px;
  border: none;
  border-radius: 5px;
  background: #243044;
  color: #d7dde6;
  border: 1px solid var(--line);
  font-size: 9.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: default;
  opacity: .95;
  line-height: 1.35;
}

.t-amount {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  margin-bottom: 6px;
}

.t-label {
  text-align: center;
  font-size: 11px !important;
  margin-bottom: 12px !important;
}

.t-btn {
  padding: 11px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}

.term-reader {
  margin-top: 10px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0c1016;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.term h2 { font-size: 14px; line-height: 1.4; margin: 0; }
.term p { font-size: 11px; line-height: 1.6; color: var(--dim); margin: 0; }

.term .pulse {
  width: 72px; height: 72px;
  font-size: 11px;
}

.term-reader.live {
  border-color: rgba(255, 255, 255, .55);
  background: #2a3038;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .2),
    0 0 18px rgba(255, 255, 255, .35),
    inset 0 0 24px rgba(255, 255, 255, .18);
  animation: reader-glow 1.6s ease-in-out infinite;
}

.term-reader.live::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 8px;
}

@keyframes reader-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .18),
      0 0 12px rgba(255, 255, 255, .28),
      inset 0 0 16px rgba(255, 255, 255, .12);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .4),
      0 0 26px rgba(255, 255, 255, .55),
      inset 0 0 28px rgba(255, 255, 255, .28);
  }
}

.reader-mark,
.reader-label { display: none; }

.door {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 8px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px 8px;
}

.door.vacant { border-left-color: var(--ok); }
.door.used { border-left-color: var(--danger); }
.door.open { border-left-color: var(--accent); background: #142236; }
.door-no { font-size: 15px; font-weight: 700; }
.door-meta { font-size: 10.5px; color: var(--dim); margin-top: 1px; }

/* ---------- パネル画面の中身 ---------- */

.p-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.panel h2 { font-size: 21px; line-height: 1.45; margin: 0 0 10px; }
.panel h2.p-h2-nowrap { white-space: nowrap; }
.panel p { font-size: 13.5px; line-height: 1.75; color: var(--dim); margin: 0 0 14px; }
.panel .fill { flex: 1; min-height: 8px; }

.p-btns { display: grid; gap: 9px; }
.p-btns.two { grid-template-columns: 1fr 1fr; }

.p-btn {
  padding: 15px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
}

.p-btn:hover { border-color: var(--accent); background: #16202e; }
.p-btn[disabled] { opacity: .4; pointer-events: none; }
.p-btn .p-btn-sub { display: block; font-size: 11.5px; font-weight: 400; color: var(--dim); margin-top: 3px; }
.p-btn.primary { background: var(--accent); border-color: var(--accent); text-align: center; }
.p-btn.primary:hover { background: #1c6fd6; }
.p-btn.quiet { background: none; color: var(--dim); font-weight: 500; font-size: 13px; text-align: center; }
.p-btn-lg {
  text-align: center;
  font-size: 20px;
  padding: 22px 14px;
  letter-spacing: .06em;
}

.p-btns.squares { align-items: start; }
.p-choice {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-width: 0;
}
.p-choice .p-btn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-big { font-size: 46px; font-weight: 700; letter-spacing: .04em; line-height: 1.1; }
.panel .p-fee {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.panel .p-fee-note { color: var(--dim); }

.load-illust {
  width: min(220px, 70%);
  color: var(--text);
  opacity: .92;
}
.load-illust svg { width: 100%; height: auto; display: block; }

.p-rows { display: grid; gap: 9px; margin-bottom: 16px; }
.p-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.p-row span:first-child { color: var(--dim); }
.p-row span:last-child { font-weight: 700; font-size: 15px; }

.p-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; }
.p-center h2, .p-center p { text-align: center; margin: 0; }

/* ---------- 演出 ---------- */

.pulse {
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  animation: pulse 1.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,143,255,.5); }
  100% { box-shadow: 0 0 0 30px rgba(47,143,255,0); }
}

.spin {
  width: 42px; height: 42px;
  border: 4px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.mark {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  animation: pop .4s cubic-bezier(.2,.9,.3,1.5);
}

.mark.ok { background: rgba(41,196,127,.16); color: var(--ok); }
.mark.lock { background: rgba(47,143,255,.16); color: var(--accent); }
.mark.ng { background: rgba(242,85,90,.16); color: var(--danger); }

@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.code-out {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .2em;
  font-variant-numeric: tabular-nums;
}

.keypad-frame {
  width: 60%;
  max-width: 60%;
  margin: 0 auto;
  border: none;
  background: transparent;
  box-sizing: border-box;
}

.keypad-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  width: 100%;
}

.keypad-title {
  font-size: 16px !important;
  margin: 0 0 6px !important;
}

.keypad-in {
  width: 100%;
  padding: 10px 6px;
  font-size: 22px;
  letter-spacing: .22em;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  margin: 0;
  box-sizing: border-box;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0;
}

.keypad-actions {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 6px;
}

.keypad-key {
  height: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.keypad-key:hover { border-color: var(--accent); background: #16202e; }
.keypad-key.sub { font-size: 13px; font-weight: 600; color: var(--dim); }
.keypad-key.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.keypad-key.primary:hover { background: #1c6fd6; }

.panel:has(.keypad) .p-bar { margin-bottom: 8px; padding-bottom: 6px; }
.panel:has(.keypad) .err { margin: 0 0 6px; }

.err { color: var(--danger); font-size: 12.5px; margin: 0 0 10px; }

/* ---------- QRコード ---------- */

/* パネルに出す本物のQRコード（スマホで読み取る） */
.qr-live {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-live svg { width: 100%; height: 100%; display: block; }

.qr-url {
  font-size: 10px !important;
  line-height: 1.6 !important;
  word-break: break-all;
  color: #5d6877 !important;
  max-width: 280px;
}

/* コード決済のQR。読み取らせるものではないので見た目だけ */
.qr-mock {
  width: 150px; height: 150px;
  background:
    repeating-linear-gradient(90deg, #000 0 8px, #fff 8px 16px),
    repeating-linear-gradient(0deg, #000 0 8px, #fff 8px 16px);
  background-blend-mode: difference;
  border: 10px solid #fff;
  border-radius: 6px;
}

.term .qr-mock {
  width: 110px; height: 110px;
  border-width: 6px;
}

/* ---------- 右カラム（スマホの案内） ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}

.eyebrow { font-size: 11px; letter-spacing: .12em; color: var(--dim); margin: 0 0 10px; }

.link-note { font-size: 12.5px; line-height: 1.8; color: var(--dim); margin: 12px 0 0; }

.link-url {
  font-size: 13px;
  font-weight: 700;
  word-break: break-all;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
}

.link-qr {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  width: 150px;
  margin: 14px auto 0;
}

.link-qr svg { width: 100%; height: auto; display: block; }

.keyrow {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.keyrow:last-of-type { border-bottom: none; }
.keyrow span:first-child { font-weight: 700; }
.keyrow span:last-child { color: var(--dim); }
.keyrow.dim span { color: #55616f; font-weight: 400; }

/* ---------- 動作バー（決済端末の下） ---------- */

.actions-block {
  width: var(--term-w);
  max-width: var(--term-w);
  margin-top: auto;
  box-sizing: border-box;
}

.actions-caption {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
  margin: 0 0 10px;
}

.device .actions {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.device .actions .actions-hint,
.device .actions .act-none {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.device .actions .actions-hint {
  display: block;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 10px;
}

.actions-hint { font-size: 13px; color: var(--text); }

.actions-list { display: flex; gap: 10px; flex-wrap: wrap; }

.act {
  padding: 13px 18px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  background: #16243a;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.act:hover { background: var(--accent); }
.act.sub { border-color: var(--line); background: none; color: var(--dim); font-weight: 500; }
.act.sub:hover { background: var(--surface-2); color: var(--text); }
.act-none { font-size: 13px; line-height: 1.7; color: #6b7685; }

/* ---------- フッター ---------- */

.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 14px 22px 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
}

.dev-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dim);
}

.mode-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.mode-stack-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: 2px;
}

.mode-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.mode-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mode-stack .dev-jump {
  display: grid;
  grid-template-columns: 10.5em auto;
  align-items: center;
  gap: 10px;
}

.mode-stack .dev-jump select {
  min-width: 220px;
  max-width: none;
}

.mode-stack .btn-reset {
  min-width: 220px;
}

.dev-jump select {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-family: inherit;
  max-width: 220px;
}

.chk { display: flex; align-items: center; gap: 7px; cursor: pointer; }

.btn-reset {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.btn-reset:hover {
  filter: brightness(1.08);
}
