  :root {
    --bg: #EDEAE0;
    --paper: #F8F5EC;
    --ink: #23281F;
    --ink-soft: #5B5F52;
    --forest: #2B3A2E;
    --forest-light: #3D5240;
    --amber: #A9711E;
    --amber-bg: #F1E2C6;
    --green: #3F6B44;
    --green-bg: #DDE7DA;
    --danger: #8A3B2E;
    --danger-light: #A34B3B;
    --danger-bg: #EDD9D3;
    --line: #CBC4AC;
    --line-soft: #DAD5C1;
    --white: #FFFFFF;
    --shadow: rgba(35, 40, 31, 0.14);
    --radius: 3px;
    --font-ui: 'Archivo', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #181B15;
      --paper: #20241C;
      --ink: #EDE9DC;
      --ink-soft: #A6A891;
      --forest: #7FA687;
      --forest-light: #567A5D;
      --amber: #D9A455;
      --amber-bg: #3A2F1A;
      --green: #7FB086;
      --green-bg: #1F2E22;
      --danger: #D97B65;
      --danger-light: #E39381;
      --danger-bg: #3A2420;
      --line: #3A3E30;
      --line-soft: #2C3025;
      --white: #262A1F;
      --shadow: rgba(0, 0, 0, 0.4);
    }
  }
  :root[data-theme="dark"] {
    --bg: #181B15;
    --paper: #20241C;
    --ink: #EDE9DC;
    --ink-soft: #A6A891;
    --forest: #7FA687;
    --forest-light: #567A5D;
    --amber: #D9A455;
    --amber-bg: #3A2F1A;
    --green: #7FB086;
    --green-bg: #1F2E22;
    --danger: #D97B65;
    --danger-light: #E39381;
    --danger-bg: #3A2420;
    --line: #3A3E30;
    --line-soft: #2C3025;
    --white: #262A1F;
    --shadow: rgba(0, 0, 0, 0.4);
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-ui);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
  }

  .wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 24px 80px;
  }

  /* ---------- Header ---------- */
  header.top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--forest);
    margin-bottom: 26px;
    flex-wrap: wrap;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .crest {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
  }
  .brand-text h1 {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
  }
  .brand-text p {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: var(--ink-soft);
  }
  .clock {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink-soft);
    text-align: right;
  }

  /* ---------- Stats ---------- */
  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-bottom: 22px;
  }
  .stat {
    background: var(--paper);
    padding: 16px 18px;
    position: relative;
  }
  .stat .num {
    font-family: var(--font-mono);
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
  }
  .stat .lbl {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--ink-soft);
  }
  .stat.pending .num { color: var(--amber); }
  .stat.done .num { color: var(--green); }

  /* ---------- Toolbar ---------- */
  .toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }
  .search-box {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 0 12px;
    border-radius: var(--radius);
  }
  .search-box svg { flex-shrink: 0; opacity: 0.5; }
  .search-box input {
    border: none;
    background: none;
    outline: none;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--ink);
    padding: 10px 0;
    width: 100%;
  }
  .search-box input::placeholder { color: var(--ink-soft); }

  .filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
  }
  .filter-select {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 10px;
    outline: none;
    cursor: pointer;
  }
  .filter-select:focus { border-color: var(--forest); }

  .btn {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--forest); color: var(--paper); }
  .btn-primary:hover { background: var(--forest-light); }
  .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
  .btn-ghost:hover { background: var(--line-soft); }
  .btn-danger { background: var(--danger); color: var(--paper); }
  .btn-danger:hover { background: var(--danger-light); }
  .btn-sm { padding: 6px 11px; font-size: 12.5px; }

  /* ---------- Table ---------- */
  .table-card {
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
  }
  table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
  thead th {
    text-align: left;
    padding: 11px 14px;
    font-weight: 600;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: middle;
  }
  tbody tr:last-child td { border-bottom: none; }
  tbody tr:hover { background: var(--line-soft); }
  .kode-cell { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }
  .penerima-cell { font-weight: 600; }
  .penerima-sub { font-size: 12px; color: var(--ink-soft); margin-top: 1px; }
  .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }
  .tag .dot { width: 6px; height: 6px; border-radius: 50%; }
  .tag.pending { background: var(--amber-bg); color: var(--amber); }
  .tag.pending .dot { background: var(--amber); }
  .tag.done { background: var(--green-bg); color: var(--green); }
  .tag.done .dot { background: var(--green); }
  .row-actions { display: flex; gap: 4px; justify-content: flex-end; flex-wrap: wrap; }
  .row-actions .btn-sm { padding: 5px 8px; font-size: 12px; }
  .empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--ink-soft);
  }
  .empty-state .big { font-size: 15px; color: var(--ink); margin-bottom: 4px; font-weight: 600; }

  /* ---------- Drawer ---------- */
  .overlay {
    position: fixed; inset: 0;
    background: rgba(20, 22, 16, 0.45);
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 40;
  }
  .overlay.open { opacity: 1; pointer-events: auto; }
  .drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(440px, 100%);
    background: var(--paper);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 41;
    display: flex;
    flex-direction: column;
  }
  .drawer.open { transform: translateX(0); }
  .drawer-head {
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .drawer-head h2 { font-size: 16px; margin: 0; font-weight: 700; }
  .drawer-close {
    background: none; border: none; cursor: pointer;
    color: var(--ink-soft); font-size: 20px; line-height: 1;
    padding: 4px;
  }
  .drawer-body { padding: 20px 22px; overflow-y: auto; flex: 1; }
  .drawer-foot { padding: 16px 22px; border-top: 1px solid var(--line); }

  .field { margin-bottom: 15px; }
  .field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink-soft);
  }
  .field label .req { color: var(--amber); }
  .field input, .field select, .field textarea {
    width: 100%;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 9px 11px;
    outline: none;
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--forest);
  }
  .field input.mono { font-family: var(--font-mono); font-size: 13px; }
  .field textarea { resize: vertical; min-height: 62px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  .status-preview {
    display: flex; align-items: center; gap: 8px;
    background: var(--amber-bg); color: var(--amber);
    padding: 9px 12px; border-radius: var(--radius);
    font-size: 13px; font-weight: 600;
  }
  .status-preview .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

  .save-bar-btn {
    width: 100%; padding: 12px; font-size: 14px;
  }
  .save-bar-btn:disabled { opacity: 0.55; cursor: not-allowed; }
  .hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 4px; }

  .theme-toggle {
    background: none; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--ink-soft); font-size: 12px; padding: 6px 10px; cursor: pointer;
    font-family: var(--font-ui);
  }
  .user-chip {
    font-size: 12.5px;
    color: var(--ink-soft);
    font-weight: 600;
    white-space: nowrap;
  }
  .user-chip .role-tag {
    font-weight: 500;
    color: var(--ink-soft);
    font-size: 11px;
    text-transform: none;
  }

  /* ---------- Login screen ---------- */
  .login-screen {
    position: fixed; inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
  }
  .login-card {
    width: min(360px, 100%);
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 30px 28px;
  }
  .login-card .crest {
    width: 44px; height: 44px; margin-bottom: 16px; font-size: 14px;
  }
  .login-card h2 { font-size: 18px; margin: 0 0 2px; }
  .login-card p.sub { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 22px; }
  .login-card .field { margin-bottom: 14px; }
  .login-card .field input {
    width: 100%; font-family: var(--font-ui); font-size: 14px; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px 12px; outline: none;
  }
  .login-card .field input:focus { border-color: var(--forest); }
  .login-error {
    background: var(--amber-bg); color: var(--amber);
    font-size: 12.5px; padding: 8px 11px; border-radius: var(--radius);
    margin-bottom: 14px; display: none;
  }
  .login-error.show { display: block; }
  .login-card .btn { width: 100%; padding: 11px; }
  .login-hint { font-size: 11px; color: var(--ink-soft); margin-top: 16px; text-align: center; }

  /* ---------- User management drawer ---------- */
  .user-row-name { font-weight: 600; }
  .user-row-sub { font-size: 12px; color: var(--ink-soft); }
  .tag.role-admin { background: var(--green-bg); color: var(--green); }
  .tag.role-petugas { background: var(--amber-bg); color: var(--amber); }
  .tag.role-pamong { background: var(--line-soft); color: var(--forest); }

  /* ---------- Master data ---------- */
  .master-card {
    background: var(--paper); border: 1px solid var(--line);
    padding: 16px 18px; margin-bottom: 16px; max-width: 480px;
  }
  .master-card h3 { font-size: 13px; margin: 0 0 12px; }
  .master-add-row { display: flex; gap: 8px; margin-bottom: 12px; }
  .master-add-row input {
    flex: 1; font-family: var(--font-ui); font-size: 13.5px; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 8px 10px; outline: none;
  }
  .master-add-row input:focus { border-color: var(--forest); }
  .master-chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .master-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--line-soft); color: var(--ink);
    padding: 5px 6px 5px 10px; border-radius: 999px; font-size: 12.5px;
  }
  .master-chip button {
    background: none; border: none; cursor: pointer; color: var(--ink-soft);
    font-size: 14px; line-height: 1; padding: 2px 4px; border-radius: 50%;
  }
  .master-chip button:hover { background: var(--danger-bg); color: var(--danger); }
  .user-list-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; border-bottom: 1px solid var(--line-soft); gap: 10px;
  }
  .user-list-row:last-child { border-bottom: none; }
  .user-list-actions { display: flex; gap: 6px; flex-shrink: 0; }

  /* ---------- Detail drawer ---------- */
  .detail-section-title {
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--ink-soft); margin: 18px 0 6px;
  }
  .detail-section-title:first-child { margin-top: 0; }
  .detail-foot {
    display: flex; gap: 8px; padding: 16px 22px; border-top: 1px solid var(--line);
  }
  .detail-foot .btn { flex: 1; }

  /* ---------- Confirm modal ---------- */
  .confirm-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -46%) scale(0.97);
    width: min(380px, calc(100% - 32px));
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 12px 32px var(--shadow);
    z-index: 51;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .confirm-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }
  .confirm-head {
    padding: 18px 20px 14px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
  }
  .confirm-body { padding: 16px 20px; }
  .confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 13.5px;
  }
  .confirm-lbl { color: var(--ink-soft); }
  .confirm-val { font-weight: 600; }
  .confirm-val.mono { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; }
  .confirm-body select, .confirm-body input {
    width: 100%;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 9px 11px;
    outline: none;
  }
  .confirm-body select:focus, .confirm-body input:focus { border-color: var(--forest); }
  .confirm-foot {
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  @media (max-width: 620px) {
    .stats { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    thead th:nth-child(2), tbody td:nth-child(2) { display: none; }
  }

  /* ---------- App shell / Sidebar ---------- */
  .app-shell { display: flex; min-height: 100vh; }
  .app-sidebar {
    width: 232px; flex-shrink: 0;
    background: var(--paper); border-right: 1px solid var(--line);
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh;
    padding-top: env(safe-area-inset-top, 0px);
  }
  .app-brand {
    padding: 22px 20px 18px; border-bottom: 1px solid var(--line);
  }
  .brand-name {
    font-family: var(--font-mono); font-size: 15px; font-weight: 700;
    letter-spacing: 0.04em; color: var(--forest);
  }
  .brand-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
  .app-nav {
    flex: 1; overflow-y: auto;
    display: flex; flex-direction: column; gap: 1px;
    padding: 12px 10px;
  }
  .nav-section {
    font-size: 11px; font-weight: 700; color: var(--ink-soft);
    text-transform: uppercase; letter-spacing: 0.04em;
    padding: 14px 10px 4px;
  }
  .nav-item {
    display: block; width: 100%; text-align: left;
    background: none; border: none; border-left: 2px solid transparent;
    color: var(--ink-soft); font-family: var(--font-ui); font-size: 13.5px; font-weight: 500;
    padding: 9px 10px; cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0;
  }
  .nav-item.nav-sub { padding-left: 22px; font-size: 13px; }
  .nav-item:hover { background: var(--line-soft); color: var(--ink); }
  .nav-item.active {
    background: var(--bg); border-left-color: var(--forest);
    color: var(--ink); font-weight: 700;
  }
  .app-sidebar-foot {
    border-top: 1px solid var(--line); padding: 14px 16px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; gap: 8px;
  }
  .nav-logout { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; }
  .nav-logout:hover { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }

  .app-main { flex: 1; min-width: 0; padding: 24px 28px 60px; }
  .app-topbar {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 20px;
  }
  .app-topbar-title { font-size: 19px; font-weight: 700; }

  .dash-welcome { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
  .settings-card { background: var(--paper); border: 1px solid var(--line); padding: 18px 20px; max-width: 480px; }
  .settings-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px;
  }
  .settings-row:last-child { border-bottom: none; }

  .view-label {
    font-size: 13px; font-weight: 700; color: var(--ink);
    padding: 8px 2px; margin-right: 4px; white-space: nowrap;
  }

  /* ---------- Search results ---------- */
  .search-results-title {
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--ink-soft); margin-bottom: 10px;
  }
  .search-result-card {
    background: var(--paper); border: 1px solid var(--line);
    padding: 16px 18px; margin-bottom: 10px;
  }
  .sr-row {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 5px 0; font-size: 13.5px; border-bottom: 1px solid var(--line-soft);
  }
  .sr-row:last-of-type { border-bottom: none; }
  .sr-lbl { color: var(--ink-soft); flex-shrink: 0; }
  .sr-val { font-weight: 600; text-align: right; }
  .sr-status-pending { color: var(--amber); }
  .sr-status-done { color: var(--green); }
  .sr-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; }
  .sr-foot .btn-primary { flex: 1; }

  /* ---------- Penerima / Laporan ---------- */
  .penerima-row {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--paper); border: 1px solid var(--line);
    padding: 12px 16px; margin-bottom: 8px;
  }
  .penerima-count {
    font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft);
    background: var(--line-soft); padding: 3px 9px; border-radius: var(--radius);
  }
  .laporan-card {
    background: var(--paper); border: 1px solid var(--line);
    padding: 16px 18px; margin-bottom: 16px; max-width: 480px;
  }
  .laporan-card h3 { font-size: 13px; margin: 0 0 10px; }
  .laporan-bar-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; border-bottom: 1px solid var(--line-soft); }
  .laporan-bar-row:last-child { border-bottom: none; }

  @media (max-width: 780px) {
    .app-shell { flex-direction: column; }
    .app-sidebar {
      width: 100%; height: auto; position: static;
      flex-direction: row; flex-wrap: nowrap; overflow-x: auto;
    }
    .app-brand { display: none; }
    .app-nav { flex-direction: row; overflow-x: auto; padding: 10px; }
    .nav-section { display: none; }
    .nav-item {
      flex-shrink: 0; border-left: none; border-bottom: 2px solid transparent;
      border-radius: var(--radius); white-space: nowrap;
    }
    .nav-item.nav-sub { padding-left: 10px; }
    .nav-item.active { border-bottom-color: var(--forest); }
    .app-sidebar-foot { flex-direction: row; border-top: none; border-left: 1px solid var(--line); }
    .app-main { padding: 18px 16px 50px; }
  }

  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

  /* ---------- Toast ---------- */
  .toast {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translate(-50%, 12px);
    background: var(--forest);
    color: var(--paper);
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 200;
    max-width: calc(100% - 40px);
  }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }

  /* ---------- Radio toggle (jenis penerima) ---------- */
  .radio-toggle { display: flex; gap: 8px; }
  .radio-opt {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 13.5px; font-weight: 600; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 9px 10px; cursor: pointer; user-select: none;
  }
  .radio-opt input { width: auto; margin: 0; accent-color: var(--forest); }
  .radio-opt:has(input:checked) { border-color: var(--forest); background: var(--line-soft); color: var(--forest); }

  /* ---------- Laporan: filter bar ---------- */
  .laporan-filter-bar {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px 16px; margin-bottom: 18px;
  }
  .lf-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
  .lf-preset-btn {
    font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    padding: 6px 13px; cursor: pointer;
  }
  .lf-preset-btn.active { background: var(--forest); border-color: var(--forest); color: var(--paper); }
  .lf-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
  .lf-row:first-of-type { margin-top: 0; }
  .lf-row input[type="date"], .lf-row input[type="text"] {
    font-family: var(--font-ui); font-size: 13px; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 8px 10px; outline: none;
  }
  .lf-row input:focus { border-color: var(--forest); }
  .lf-row span { color: var(--ink-soft); font-size: 12.5px; }
