/* plus7 hosted surface — design tokens from the ecosystem mockups.
   Compiled output is committed: no runtime build (ADR-007 §1). */
:root {
  --p7-bg: #0b1220;
  --p7-card: #141d31;
  --p7-text: #e8edf7;
  --p7-muted: #8ea0bf;
  --p7-accent: #2f6bff;
  --p7-accent-2: #7aa2ff;
  --p7-error: #ff6b6b;
  --p7-radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: radial-gradient(1200px 600px at 50% -10%, #1a2a4a 0%, var(--p7-bg) 60%);
  color: var(--p7-text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.card {
  width: min(420px, 92vw);
  padding: 32px 28px;
  background: var(--p7-card);
  border: 1px solid #22304d;
  border-radius: var(--p7-radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.brand { font-size: 28px; font-weight: 800; letter-spacing: 0.5px; }
.brand span { color: var(--p7-accent-2); }
h1 { font-size: 20px; margin: 8px 0 18px; }
h2 { font-size: 15px; color: var(--p7-muted); margin: 22px 0 10px; text-transform: uppercase; letter-spacing: 1px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; color: var(--p7-muted); font-size: 14px; }
input {
  padding: 12px 14px; border-radius: 10px; border: 1px solid #2a3a5c;
  background: #0e1626; color: var(--p7-text); font-size: 16px;
}
input:focus { outline: 2px solid var(--p7-accent); border-color: transparent; }
button {
  padding: 12px 16px; border-radius: 10px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; background: #22304d; color: var(--p7-text);
}
button.primary { background: var(--p7-accent); color: white; }
button.ghost { background: transparent; border: 1px solid #2a3a5c; color: var(--p7-muted); }
button:hover { filter: brightness(1.15); }
.field { display: flex; justify-content: space-between; gap: 12px; }
.field[hidden] { display: none; }
.field .label { color: var(--p7-muted); }
.mono { font-family: ui-monospace, monospace; letter-spacing: 1px; }
.hint { color: var(--p7-muted); font-size: 14px; }
.error { color: var(--p7-error); font-size: 14px; }
.state-page { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.state-page h2 { font-size: 20px; color: var(--p7-text); text-transform: none; letter-spacing: 0; margin: 4px 0 0; }
.state-page form { width: 100%; }
.state-page a { color: var(--p7-accent-2); }
.state-ico { font-size: 40px; margin: 0; }
.steps { color: var(--p7-muted); font-size: 13px; margin: 0 0 10px; }
.sent-to { display: flex; flex-direction: column; gap: 2px; }
.plate { font-size: 18px; font-weight: 700; letter-spacing: 0.3px; }
.sent-to a { color: var(--p7-accent-2); font-size: 14px; }
.resend { margin-top: 10px; }
button.linkish { background: transparent; border: none; color: var(--p7-accent-2); font-size: 14px; font-weight: 400; padding: 10px 0; min-height: 44px; }
.phone-field { position: relative; display: block; }
.phone-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--p7-muted); font-size: 16px; pointer-events: none; }
.phone-field input { padding-left: 44px; }
.otp-row { display: flex; gap: 10px; justify-content: space-between; }
.otp-box {
  width: 100%; max-width: 64px; height: 56px; text-align: center;
  font-size: 24px; font-weight: 700; padding: 0;
}
.otp-meta { margin: 0; }
.shake { animation: p7shake 0.35s; }
@keyframes p7shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.big-count { font-size: 34px; font-weight: 800; letter-spacing: 1px; margin: 4px 0; font-variant-numeric: tabular-nums; }
.interstitial { text-align: center; padding: 16px 0 4px; }
.ok-ico { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%;
  border: 3px solid var(--p7-accent-2); display: flex; align-items: center; justify-content: center; }
.ok-ico svg { width: 28px; height: 28px; stroke: var(--p7-accent-2); stroke-width: 3; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }
footer { color: var(--p7-muted); font-size: 13px; }
.qr svg { width: 240px; height: 240px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 8px; }
