/* ===== SHARED TOKENS — keep this block byte-identical in leasing-desk/index.html and ipad-app/index.html (D16) ===== */
:root {
  --bg: #f3efe6; --bg-soft: #ebe5d6; --card: #fdfbf3;
  --ink: #1a1a2e; --ink-soft: #4a4a5e; --line: #d6cfbb; --line-soft: #e6dfc9;
  --accent: #5a3a5c; --accent-deep: #3f2841; --accent-soft: #8d6c8f; --accent-muted: #74537a; --lilac-tint: #ece6f0;
  --gold: #b8923a; --gold-ink: #7a6420; --gold-tint: #f7f0dc; --gold-line: #e6d7a3;
  --green: #2e6b3e; --green-tint: #e4f1e7;
  --red: #8b2020; --red-tint: #fde8e8; --red-line: #f5b8b8; --app-row: #fff6f6; --backup-row: #fff3e0;
  --amber-ink: #8a5d0e; --amber-tint: #fff3d6; --amber-line: #ead9a8;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --dur-press: 120ms; --dur: 180ms;
  --r-tag: 4px;
}
/* Text colors: --gold and --accent-soft are for dots, rules and fills only. Text uses --gold-ink, --accent-muted, --amber-ink. */
::selection { background: rgba(90, 58, 92, 0.18); }
/* Status pills — Planning · Waiting · In progress · Finished */
.pill { display: inline-block; padding: 1px 8px; border-radius: var(--r-tag); font-size: var(--fs-pill, 11.5px); font-weight: 600; line-height: 1.6; white-space: nowrap; font-variant-numeric: tabular-nums; vertical-align: middle; }
.pill.is-wait { background: var(--amber-tint); color: var(--amber-ink); }
.pill.is-live { background: var(--green-tint); color: var(--green); }
.pill.is-plan, .pill.is-done { background: var(--bg-soft); color: var(--ink-soft); }
.pill.is-late { background: var(--red-tint); color: var(--red); }
/* Flags — App pending · Backup apps welcome · Priority · Incentive · Floor plan · Tour · Inspection · Next up · Out today · Passed */
.flag { display: inline-block; padding: 0 6px; border-radius: var(--r-tag); background: var(--bg-soft); color: var(--ink-soft); font-size: var(--fs-flag, 11px); font-weight: 600; line-height: 1.7; white-space: nowrap; vertical-align: middle; }
.flag.pending { background: var(--red-tint); color: var(--red); box-shadow: inset 0 0 0 1px var(--red-line); }
.flag.backup { background: var(--amber-tint); color: var(--amber-ink); box-shadow: inset 0 0 0 1px var(--amber-line); }   /* an app in, likely to fall through (D49) */
.flag.pri, .flag.inc, .flag.insp { background: var(--gold-tint); color: var(--gold-ink); }
.flag.tour, .flag.next { background: var(--lilac-tint); color: var(--accent); }
.flag.pass { background: var(--green-tint); color: var(--green); }
.flag.fail { background: var(--red-tint); color: var(--red); }
.flag.nofp { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
@media (prefers-reduced-motion: reduce) { button:active, .btn:active { transform: none !important; } }
/* ===== END SHARED TOKENS ===== */
