/* ============================================================
   Выдача топлива — оболочка тач-прототипа
   Планшет 10″ ландшафт, 1280×800. Глубина — surface + hairline.
   ============================================================ */

.proto-stage {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #d7d9dc;
  background-image: radial-gradient(120% 120% at 50% 0%, #e4e6e9 0%, #cfd1d5 100%);
  overflow: hidden;
}

/* device bezel */
.tablet {
  position: relative;
  width: 1280px; height: 800px;
  border-radius: 30px;
  background: #1c1d20;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(8,9,10,0.34), 0 4px 14px rgba(8,9,10,0.22);
  transform-origin: center center;
}
.tablet::before { /* front camera */
  content: ""; position: absolute; top: 50%; left: 22px; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: #34363a; box-shadow: 0 0 0 2px #232427;
}
.screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 16px; overflow: hidden;
  background: var(--surface-1);
  display: flex; flex-direction: column;
}

/* ── top app bar (shared) ─────────────────────────────── */
.appbar {
  flex: none; height: 72px;
  display: flex; align-items: center; gap: var(--sp-4);
  padding: 0 var(--sp-6);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.appbar .brand { display: flex; align-items: baseline; gap: 7px; font-weight: 800; letter-spacing: 0.04em; font-size: 15px; }
.appbar .brand .nps { color: var(--primary); }
.appbar .brand .sep { color: var(--ink-3); font-weight: 500; }
.appbar .brand .name { color: var(--ink-1); }
.appbar .spacer { flex: 1; }
.appbar .who { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.appbar .who .nm { font-size: 15px; font-weight: 600; color: var(--ink-1); }
.appbar .who .rl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.appbar .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary);
  font-weight: 700; font-size: 16px;
}

.screen-body { flex: 1; min-height: 0; overflow-y: auto; }

/* nav helpers */
.nav-back {
  width: 48px; height: 48px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); border: 1px solid var(--hairline);
  background: var(--canvas); color: var(--ink-1); cursor: pointer;
  transition: background .15s ease;
}
.nav-back:hover { background: var(--surface-2); }

/* screen switching */
.view { display: none; height: 100%; }
.view.is-active { display: flex; flex-direction: column; }

/* timer chip */
.timer-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: var(--r-full);
  background: var(--success-soft); color: var(--success);
  font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.timer-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); animation: pulse 2s ease-in-out infinite; }

/* utility */
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.veh-ico svg { width: 100%; height: 100%; }
