/* Digit span: a large digit, then a keypad. No transition on the digit: it
   is fully drawn on the frame its onset is logged from. */
.ds-parts { margin: 0 0 10px; padding-left: 20px; }
.ds-small { color: var(--text-soft); font-size: 14px; }
.ds-stage { min-height: 380px; cursor: default; }
.ds-phase {
	position: absolute; top: 12px; left: 14px; margin: 0;
	font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-soft);
}
.ds-digit {
	font-size: clamp(72px, 18vw, 120px); font-weight: 800; line-height: 1;
	font-variant-numeric: tabular-nums; color: var(--text); min-height: 1em;
}
.ds-digit:empty { visibility: hidden; }
.ds-panel { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 32em; text-align: center; }
.ds-panel[hidden], .ds-entry[hidden] { display: none; }
.ds-panel-title { margin: 0; font-weight: 700; font-size: 17px; }
.ds-panel-text { margin: 0 0 6px; }
.ds-entry { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 300px; }
.ds-prompt { margin: 0; font-weight: 700; }
.ds-typed {
	margin: 0; min-height: 1.6em; width: 100%; padding: 6px 10px; box-sizing: border-box;
	border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
	font-size: 26px; font-weight: 700; letter-spacing: 0.08em; text-align: center; font-variant-numeric: tabular-nums;
}
.ds-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.ds-key {
	font: inherit; font-size: 22px; font-weight: 700; min-height: 52px;
	border: 1.5px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text);
	cursor: pointer; touch-action: manipulation;
}
.ds-key:hover { border-color: var(--accent); }
.ds-key:active { background: var(--surface-2); }
.ds-key-wide { font-size: 16px; }
.ds-key-wide.primary { grid-column: span 2; background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent, #fff); }
.odak-stage[data-odak-state="running"] .odak-stage-msg { display: none; }
