/* ============================================================
   RentDrive.Contract — Design tokens
   แนวคิด: "เส้นทาง/ป้ายทะเบียน" — navy ดั่งยางมะตอย + อำพันดั่งป้ายทะเบียน
   Type: Prompt (หัวข้อ) + Sarabun (เนื้อหา) — อ่านง่ายบนแท็บเล็ตกลางแดด/ในโรงจอดรถ
   ============================================================ */
:root {
  --ink: #12213B;
  --ink-soft: #2C3E5C;
  --ink-faint: #7A8AA6;
  --paper: #F3F5F8;
  --surface: #FFFFFF;
  --line: #E1E5EC;
  --line-strong: #C7CEDA;

  --amber: #F2A93B;
  --amber-dark: #D98E1E;
  --amber-ink: #4A2E00;

  --route: #226B57;
  --route-soft: #E4F2EE;
  --alert: #C4432E;
  --alert-soft: #FBEAE6;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 1px 2px rgba(18,33,59,.06), 0 8px 24px -12px rgba(18,33,59,.18);
  --shadow-pop: 0 20px 45px -18px rgba(18,33,59,.35);

  --font-display: 'Prompt', 'Sarabun', system-ui, sans-serif;
  --font-body: 'Sarabun', 'Prompt', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --tap: 52px; /* ขนาดพื้นที่แตะขั้นต่ำสำหรับแท็บเล็ต */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, .display { font-family: var(--font-display); color: var(--ink); margin: 0 0 .4em; }
h1 { font-size: 1.7rem; font-weight: 700; }
h2 { font-size: 1.3rem; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 .8em; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--amber-dark); outline-offset: 2px; }

/* ---------- Layout shells ---------- */
.app-main { padding: 20px 20px 96px; max-width: 1180px; margin: 0 auto; }
.app-main.with-topbar { padding-top: 20px; }
.auth-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(242,169,59,.16), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, #1B2E4E 55%, var(--ink-soft) 100%);
  padding: 24px;
}

/* ---------- Top bar (desktop/landscape tablet) ---------- */
.topbar {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  position: sticky; top: 0; z-index: 40;
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
  row-gap: 8px;
}
.topbar-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  position: relative; flex-shrink: 0;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 14px; height: 3px; background: var(--ink); border-radius: 2px;
  box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink);
}
.brand-text-accent { color: var(--amber); font-weight: 500; }
.topbar-nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.topbar-nav a { padding: 10px 14px; border-radius: var(--radius-sm); color: rgba(255,255,255,.75); font-weight: 500; font-size: .92rem; white-space: nowrap; }
.topbar-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.topbar-nav a.active { color: var(--ink); background: var(--amber); }
.topbar-user { display: flex; align-items: center; gap: 10px; font-size: .88rem; white-space: nowrap; }
.user-role { padding: 3px 9px; border-radius: 20px; background: rgba(255,255,255,.12); font-size: .76rem; }
.topbar-user .btn-icon { color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.25); padding: 7px 12px; border-radius: var(--radius-sm); }
.topbar-user .btn-icon:hover { color: #fff; border-color: #fff; }

/* ---------- Hamburger + off-canvas nav drawer (ใช้แทนเมนูบนที่ถูกซ่อนบนจอเล็ก) ---------- */
.btn-hamburger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  background: transparent; border: 1.5px solid rgba(255,255,255,.3); border-radius: var(--radius-sm);
  color: #fff; font-size: 1.15rem; cursor: pointer;
}
@media (max-width: 900px) { .btn-hamburger { display: inline-flex; } }

.nav-drawer-overlay {
  position: fixed; inset: 0; background: rgba(18,33,59,.5);
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.nav-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 300px; max-width: 84vw;
  background: var(--surface); z-index: 61;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease;
  box-shadow: -10px 0 34px rgba(18,33,59,.3);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.nav-drawer-close { width: 36px; height: 36px; border: none; background: var(--paper); border-radius: 50%; font-size: 1.05rem; color: var(--ink-faint); cursor: pointer; }
.nav-drawer-links { overflow-y: auto; flex: 1; padding: 8px 0; }
.nav-drawer-links a { display: block; padding: 14px 20px; font-weight: 600; color: var(--ink-soft); border-left: 3px solid transparent; }
.nav-drawer-links a.active { color: var(--amber-dark); background: var(--paper); border-left-color: var(--amber); }
.nav-drawer-foot { padding: 14px 20px; border-top: 1px solid var(--line); }
.nav-drawer-foot .u-name { font-weight: 600; display: block; }
.nav-drawer-foot .u-role { font-size: .78rem; color: var(--ink-faint); display: block; margin-bottom: 10px; }

/* ---------- Bottom tab bar (portrait tablet / touch) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(18,33,59,.08);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; font-size: .74rem; color: var(--ink-faint); font-weight: 500; border-radius: var(--radius-sm); background: none; border: none; font-family: var(--font-body); cursor: pointer; }
.tabbar a.active, .tabbar button.active { color: var(--amber-dark); }
.tabbar-ic { width: 22px; height: 22px; border-radius: 6px; background: currentColor; opacity: .85; mask: radial-gradient(circle, #000 60%, transparent 62%); }

@media (max-width: 900px) {
  .topbar-nav { display: none; }
  .tabbar { display: flex; }
  .app-main { padding-bottom: 84px; }
}

@media (max-width: 480px) {
  body { overflow-x: hidden; }
  .topbar { padding: 10px 14px; gap: 10px; }
  .topbar-brand { font-size: .92rem; }
  .brand-mark { width: 26px; height: 26px; }
  .topbar-user { flex: 1 1 100%; justify-content: space-between; font-size: .78rem; gap: 6px; }
  .topbar-user .user-name { max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-user .user-role { display: none; }
  .topbar-user .btn-icon { padding: 6px 10px; font-size: .78rem; }
  .app-main { padding-left: 14px; padding-right: 14px; }
}

/* ---------- Flash ---------- */
.flash-stack { max-width: 1180px; margin: 14px auto 0; padding: 0 20px; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: .92rem; }
.flash-success { background: var(--route-soft); color: var(--route); }
.flash-error { background: var(--alert-soft); color: var(--alert); }
.flash-info { background: #E7EEFB; color: #234A8C; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 20px; border: 1px solid var(--line); }
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.eyebrow { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-dark); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap);
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  user-select: none;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--amber); color: var(--amber-ink); box-shadow: 0 10px 20px -10px rgba(242,169,59,.7); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-success { background: var(--route); color: #fff; }
.btn-danger { background: var(--alert); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-faint); min-height: auto; padding: 8px 12px; }
.btn-block { width: 100%; }
.btn-lg { min-height: 60px; font-size: 1.08rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink-soft); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.field-hint { font-size: .78rem; color: var(--ink-faint); margin-top: 4px; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=datetime-local],
input[type=email], input[type=tel], input[type=search], select, textarea {
  width: 100%; min-height: var(--tap);
  padding: 0 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--surface);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
}
textarea { min-height: 90px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--amber-dark); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 700px) { .form-grid, .form-grid-3 { grid-template-columns: 1fr; } }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-chip { border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 10px 18px; cursor: pointer; font-weight: 500; }
.radio-chip input { display: none; }
.radio-chip:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Route stepper (signature element) ---------- */
.route-stepper { display: flex; align-items: flex-start; gap: 0; margin: 4px 0 26px; overflow-x: auto; padding-bottom: 4px; }
.route-stop { position: relative; flex: 1; min-width: 84px; text-align: center; padding-top: 20px; }
.route-stop::before {
  content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px;
  background-image: linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
  background-size: 14px 3px; background-repeat: repeat-x;
}
.route-stop:first-child::before { display: none; }
.route-stop.done::before, .route-stop.active::before { background-image: linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 14px); }
.route-dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-strong); }
.route-stop.active .route-dot { border-color: var(--amber-dark); background: var(--amber); box-shadow: 0 0 0 5px rgba(242,169,59,.25); }
.route-stop.done .route-dot { border-color: var(--route); background: var(--route); }
.route-label { font-size: .74rem; font-weight: 600; color: var(--ink-faint); }
.route-stop.active .route-label { color: var(--ink); }
.route-stop.done .route-label { color: var(--route); }

/* ---------- Dashboard stat tiles ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-tile { background: var(--surface); border-radius: var(--radius-md); padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.stat-tile .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink); }
.stat-tile .label { color: var(--ink-faint); font-size: .84rem; font-weight: 500; }
.stat-tile.accent { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%); color: #fff; }
.stat-tile.accent .num { color: var(--amber); }
.stat-tile.accent .label { color: rgba(255,255,255,.7); }

/* ---------- Quick action grid (tablet home) ---------- */
.action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .action-grid { grid-template-columns: repeat(2, 1fr); } }
.action-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); min-height: 130px;
}
.action-card:hover { border-color: var(--amber-dark); }
.action-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--route-soft); }
.action-card.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.action-card.primary .ic { background: rgba(242,169,59,.2); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--paper); color: var(--ink-soft); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--paper); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.badge-available, .badge-returned { background: var(--route-soft); color: var(--route); }
.badge-rented, .badge-active { background: #FFF1DA; color: var(--amber-dark); }
.badge-maintenance, .badge-draft { background: #EDEFF3; color: var(--ink-faint); }
.badge-cancelled { background: var(--alert-soft); color: var(--alert); }

/* ---------- Vehicle diagram / damage marker ---------- */
.diagram-wrap { position: relative; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: 10px; touch-action: none; }
.diagram-wrap svg { width: 100%; height: auto; display: block; }
.damage-pin {
  position: absolute; width: 26px; height: 26px; margin-left: -13px; margin-top: -13px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--alert); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.damage-pin span { transform: rotate(45deg); color: #fff; font-size: .7rem; font-weight: 700; }
.damage-legend { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-soft); }
.damage-legend span.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- Checklist grid (photo capture steps) ---------- */
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 800px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
.check-item { border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); padding: 14px; text-align: center; background: var(--surface); }
.check-item.captured { border-color: var(--route); background: var(--route-soft); }
.check-thumb { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-sm); background: var(--paper); object-fit: cover; margin-bottom: 8px; border: 1px solid var(--line); }
.check-item .cap-label { font-weight: 600; font-size: .86rem; margin-bottom: 8px; }

/* ---------- OCR progress bar ---------- */
.ocr-progress-track { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 6px; }
.ocr-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--amber), var(--amber-dark)); border-radius: 999px; transition: width .25s ease; }

/* ---------- Live camera capture modal ---------- */
.cam-overlay { position: fixed; inset: 0; background: #05070c; z-index: 200; display: flex; flex-direction: column; }
.cam-video-wrap { position: relative; flex: 1; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; }
.cam-video { width: 100%; height: 100%; object-fit: cover; }
.cam-canvas-hidden { display: none; }
.cam-topbar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; z-index: 2; }
.cam-close { width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 1.1rem; cursor: pointer; }
.cam-gallery-link { color: #fff; background: rgba(255,255,255,.15); border: none; border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 600; cursor: pointer; }
.cam-guide { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 3px solid rgba(255,255,255,.55); border-radius: 14px; box-shadow: 0 0 0 2000px rgba(0,0,0,.42); transition: border-color .2s ease, box-shadow .2s ease; pointer-events: none; }
.cam-guide.card { width: 82%; max-width: 480px; aspect-ratio: 1.586 / 1; }
.cam-guide.selfie { width: 58%; max-width: 320px; aspect-ratio: 3 / 4; border-radius: 50%; }
.cam-guide.photo { width: 88%; max-width: 560px; aspect-ratio: 4 / 3; }
.cam-guide.pass { border-color: var(--route); box-shadow: 0 0 0 2000px rgba(0,0,0,.42), 0 0 24px rgba(34,107,87,.7); }
.cam-caption { position: absolute; top: 14%; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; font-size: 1rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); z-index: 2; }
.cam-checklist { position: absolute; bottom: 14%; left: 0; right: 0; display: flex; justify-content: center; gap: 18px; z-index: 2; }
.cam-check-item { display: flex; align-items: center; gap: 6px; color: #fff; font-size: .84rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.cam-check-dot { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; }
.cam-check-item.pass .cam-check-dot { background: var(--route); }
.cam-status-line { position: absolute; bottom: 6%; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .8rem; z-index: 2; }
.cam-controls { background: #0c1220; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; }
.cam-btn-capture { width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 5px solid rgba(255,255,255,.35); cursor: pointer; }
.cam-btn-capture:active { transform: scale(.94); }
.cam-retake-panel { position: absolute; inset: 0; background: rgba(5,7,12,.92); z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.cam-retake-panel img { max-width: 70%; max-height: 40%; border-radius: 12px; opacity: .5; }
.cam-retake-panel h3 { color: #fff; }
.cam-retake-reasons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cam-retake-reasons span { background: var(--alert-soft); color: var(--alert); padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; }

/* ---------- Perspective adjust panel (ลากมุมให้ตรง) ---------- */
.cam-persp-panel { position: absolute; inset: 0; background: #05070c; z-index: 4; display: flex; flex-direction: column; }
.cam-persp-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.cam-persp-stage img { max-width: 92%; max-height: 92%; display: block; user-select: none; -webkit-user-drag: none; }
.cam-persp-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cam-persp-svg polygon { fill: rgba(242,169,59,.18); stroke: var(--amber); stroke-width: 2; }
.cam-persp-handle { position: absolute; width: 30px; height: 30px; margin-left: -15px; margin-top: -15px; border-radius: 50%; background: var(--amber); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); cursor: grab; touch-action: none; }
.cam-persp-caption { text-align: center; color: #fff; padding: 12px; font-weight: 600; font-size: .92rem; }
.cam-persp-controls { display: flex; gap: 10px; justify-content: center; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: #0c1220; }

/* ---------- Signature pad ---------- */
.sigpad-box { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.sigpad-box canvas { width: 100%; height: 200px; touch-action: none; display: block; background: #fff; }
.sigpad-label { display: flex; align-items: center; justify-content: space-between; padding: 10px 4px; }

/* ---------- Utility ---------- */
.muted { color: var(--ink-faint); }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 10px; }
.hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--ink-faint); }
.empty-state .ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: var(--paper); }
