/* Hallmark · shape: app screen · genre: modern-minimal · theme: Cobalt (deal 1/3, seed gate-pass-documentation-app-9973·5ed63b8d·2026-12-04·r0) · redesign: full
 * nav: top bar, wordmark and screen context · signature: the movement ledger · states: full
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · v2.0.0 */
/* Hallmark · waive 67 · serial-number field · machine values kept in capitals exactly as issued on the paper form
/* Hallmark · pre-emit critique: P5 H4 E5 S5 R5 V4 · weakest: V, dense work screens; answered with hairline rhythm, tabular figures and one cobalt action per screen */

.screen { width: 390px; margin: 0 auto; background: var(--color-paper); }
.topbar { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.topbar .t { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); letter-spacing: var(--tracking-display); color: var(--color-ink); white-space: nowrap; }
.topbar .ctx { color: var(--color-muted); font-size: var(--text-sm); text-align: right; }
.pad { padding: var(--space-md); }
.group { padding: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.lbl { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-2xs); }
.inp { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); padding: 0 var(--space-sm); background: var(--color-key-face); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); font-size: var(--text-md); color: var(--color-ink); }
.inp .mono { font-family: var(--font-outlier); font-size: var(--text-sm); }
.inp svg { flex: none; }
.stack > * + * { margin-top: var(--space-sm); }
.row2 { display: flex; gap: var(--space-sm); }
.row2 > div { flex: 1; min-width: 0; }
.key { display: flex; align-items: center; justify-content: center; border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); padding: 0 var(--space-lg); min-height: 48px; background: var(--color-key-face); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-display); box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); white-space: nowrap; }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.key--primary { background: var(--color-accent); border-color: var(--color-accent-edge); color: var(--color-accent-ink); box-shadow: var(--shadow-key-accent); }
.key--sm { min-height: 36px; padding: 0 var(--space-sm); font-size: var(--text-sm); }
.tray { display: flex; gap: var(--space-2xs); background: var(--color-paper-3); padding: var(--space-2xs); border-radius: var(--radius-card); }
.tray .key { flex: 1; box-shadow: none; border-color: transparent; background: transparent; color: var(--color-ink-2); }
.tray .key.on { background: var(--color-key-face); box-shadow: var(--shadow-key-press); border-color: var(--color-rule-2); color: var(--color-ink); }
.cells { display: flex; gap: var(--space-xs); }
.cell { width: 48px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--color-key-face); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); font-family: var(--font-outlier); font-size: var(--text-xl); color: var(--color-ink); }
.cell.empty { color: var(--color-rule-2); }
.cell.active { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.note { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.5; }
.entry { padding: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.entry .head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); }
.code { font-family: var(--font-outlier); font-weight: 500; font-size: var(--text-md); color: var(--color-ink); }
.status { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); white-space: nowrap; }
.st-err { color: var(--color-error); } .st-ok { color: var(--color-success); } .st-mut { color: var(--color-muted); } .st-ink { color: var(--color-ink-2); }
.item-title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); color: var(--color-ink); margin-top: var(--space-2xs); }
.meta { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.5; }
.stats { display: flex; gap: var(--space-lg); margin-top: var(--space-sm); }
.stat .f { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); font-variant-numeric: tabular-nums; color: var(--color-ink); line-height: 1.1; }
.stat .f.err { color: var(--color-error); }
.stat .l { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xs); color: var(--color-muted); }
.fact { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.fact .k { font-family: var(--font-display); font-weight: 500; color: var(--color-muted); }
.fact .v { color: var(--color-ink); text-align: right; }
table.ledger { width: 100%; border-collapse: collapse; }
table.ledger th { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); text-align: left; padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); }
table.ledger td { font-size: var(--text-sm); color: var(--color-ink); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
table.ledger .n { text-align: right; font-family: var(--font-outlier); font-size: var(--text-sm); }
table.ledger th.n { font-family: var(--font-display); }
.photo { width: 76px; height: 76px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); color: var(--color-ink-2); }
.photo.add { background: var(--color-paper); font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-muted); }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); letter-spacing: var(--tracking-display); color: var(--color-ink); }
