/* Client Web: W1 sampai W6. Ukuran mengikuti WebScreen.dc.html. */
.page { min-height: 100dvh; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 12px; padding: 20px clamp(20px, 4vw, 48px); font-weight: 800; letter-spacing: -.01em; }
.stage { flex: 1; display: flex; justify-content: center; padding: clamp(16px, 6vw, 80px) 20px 32px; }
.column { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 24px; }
.bottom { padding: 16px clamp(20px, 4vw, 48px); font-size: 13px; color: var(--ink-2); }
.small { font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 13px; color: var(--ink-2); }
.steps li { display: grid; gap: 8px; }
.steps i { height: 4px; border-radius: 2px; background: var(--line); }
.steps li.done i, .steps li.now i { background: var(--accent); }
.steps li.now { color: var(--ink); font-weight: 600; }

.screen { display: flex; flex-direction: column; gap: 24px; }
.head { display: grid; gap: 8px; }
h1 { font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.head p { text-wrap: pretty; }
.head strong { color: var(--ink); }
.form { display: grid; gap: 16px; }
.form .inline-error { margin-top: -4px; }
.actions { display: grid; gap: 8px; }
.actions .quiet { width: 100%; }

/* Motif tiket: kode adalah elemen paling dominan di layar. */
.ticket { position: relative; display: flex; justify-content: center; padding: clamp(24px, 3vw, 40px) 24px; border-radius: 20px; background: var(--ticket-bg); color: var(--ticket-fg); }
.ticket output { font-size: clamp(96px, 10vw, 144px); line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--bg); }
.ticket::before { left: -14px; }
.ticket::after { right: -14px; }

.timer { display: grid; gap: 8px; }
.timer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; color: var(--ink-2); }
.timer-row.alert { color: var(--warn-ink); }
.timer-row.alert #w2-state { font-weight: 600; }
#w2-state { display: flex; align-items: center; gap: 8px; }
.count { font-weight: 600; }

.preview { display: grid; gap: 8px; font-size: 15px; }
.preview-items { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.preview-items > span { display: flex; align-items: center; gap: 8px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding-top: 8px; }

.welcome { display: flex; gap: 16px; align-items: flex-start; }
.welcome-text { display: grid; gap: 4px; }
.size-48 { width: 48px; height: 48px; }
.size-56 { width: 56px; height: 56px; }
.size-28 { width: 28px; height: 28px; }
.size-30 { width: 30px; height: 30px; }

.facts { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 12px 16px; font-size: 15px; }
.facts dt { color: var(--ink-2); }
.facts dd { overflow-wrap: anywhere; }
#w3-verif { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-ink); }
#w3-verif.unverified { color: var(--warn-ink); }

.tech { border-top: 1px solid var(--line); }
.tech-toggle { width: 100%; min-height: 52px; display: flex; justify-content: space-between; align-items: center; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; }
.tech-panel { display: grid; gap: 12px; padding-bottom: 8px; }
.tabs { display: flex; gap: 4px; width: max-content; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 600; }
.tabs button[aria-selected="true"] { background: var(--surface); }
.claims { margin: 0; max-height: 240px; overflow: auto; padding: 16px; border-radius: 12px; background: var(--ticket-bg); color: var(--ticket-fg); font: 13px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
