/* eighty five: black, sand and white. Inter throughout. */
:root {
  color-scheme: light;
  --ink: #1B1A18; --sand: #E4D8C4; --sand-soft: #F5F0E6; --paper: #FAF8F4; --line: #E7E0D2; --muted: #6E685D;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; letter-spacing: -.015em; }
h1 { font-size: 26px; font-weight: 650; }
h2 { font-size: 18px; font-weight: 650; }
h3 { font-size: 15px; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { font-size: 16px; }
button { cursor: pointer; touch-action: manipulation; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.alt { background: #fff; color: var(--ink); }
.btn.soft { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

input[type=text], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=file], select, textarea {
  width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--sand-soft); border: 1px solid var(--line); white-space: nowrap; }
.pill.flag { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.sand { background: var(--sand); border-color: var(--sand); }

.brandbar { background: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 22px; }
.brandbar img { height: 40px; display: block; }
.brandbar .title { color: var(--sand); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

dialog { border: 0; border-radius: 16px; padding: 0; max-width: min(560px, 94vw); width: 100%; box-shadow: 0 20px 60px rgba(27,26,24,.3); }
dialog::backdrop { background: rgba(27,26,24,.55); }
dialog .dlg { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
dialog .actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.keypad button { min-height: 68px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 26px; font-weight: 600; }
.keypad button:active { background: var(--sand); }
.dots { display: flex; justify-content: center; gap: 14px; min-height: 22px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.err { color: var(--ink); background: var(--sand); border-radius: 10px; padding: 10px 14px; font-weight: 500; }
.hide { display: none !important; }
