:root {
  --bg: #f6f7f9; --surface: #fff; --sunken: #f1f3f6;
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --faint: #94a3b8;
  --line: #e7eaef; --line-2: #d8dde5;
  --brand: #4f46e5; --brand-2: #4338ca; --brand-soft: #eef2ff; --brand-ring: rgb(79 70 229 / .18);
  --green: #059669; --green-soft: #ecfdf5; --amber: #b45309; --amber-soft: #fffbeb; --red: #dc2626; --red-soft: #fef2f2; --violet: #7c3aed; --violet-soft: #f5f3ff;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(15 23 42 / .04), 0 1px 3px rgb(15 23 42 / .03);
  --shadow-lg: 0 12px 32px -8px rgb(15 23 42 / .18), 0 2px 6px rgb(15 23 42 / .06);
  --sidebar: 248px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1 { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.022em; margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
h2 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 14px; }
.sub-h { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.icon { flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono, .num { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 12.5px; letter-spacing: -.01em; }
.num { color: var(--ink-2); }
.pre { white-space: pre-line; }
.nowrap { white-space: nowrap; }
.r { text-align: right; }
.red { color: var(--red); }
.err, .warn { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); margin: 0 0 16px; font-size: 13.5px; }
.err { color: var(--red); background: var(--red-soft); }
.warn { color: var(--amber); background: var(--amber-soft); }
.warn a { text-decoration: underline; font-weight: 600; }

/* ---------- shell ---------- */
.app { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: var(--surface); border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 18px; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 15px; padding: 2px 6px; min-width: 0; }
.brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand img { height: 28px; max-width: 84px; object-fit: contain; border-radius: 6px; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #6366f1, #4338ca); flex: none; box-shadow: 0 2px 6px rgb(79 70 229 / .35); }
.brand-mark.lg { width: 44px; height: 44px; border-radius: 12px; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sidebar nav a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px; color: var(--ink-2); font-weight: 500; transition: background .15s, color .15s; }
.sidebar nav a .icon { color: var(--faint); transition: color .15s; }
.sidebar nav a:hover { background: var(--sunken); color: var(--ink); }
.sidebar nav a.on { background: var(--brand-soft); color: var(--brand-2); font-weight: 600; }
.sidebar nav a.on .icon { color: var(--brand); }
.pill { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 600; display: grid; place-items: center; }
.me { display: flex; align-items: center; gap: 10px; padding: 10px 6px 0; border-top: 1px solid var(--line); }
.me > span:not(.avatar) { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.me b { font-size: 13.5px; font-weight: 600; }
.me small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.create { position: relative; }
.create-menu { position: absolute; top: calc(100% + 6px); left: 0; right: -40px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 30; animation: pop .14s ease-out; }
.create-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 8px; }
.create-menu a:hover { background: var(--sunken); }
.create-menu .icon { color: var(--brand); margin-top: 2px; }
.create-menu span { display: flex; flex-direction: column; line-height: 1.35; }
.create-menu small { color: var(--muted); font-size: 12px; }
.mobile-top, .tabbar { display: none; }
.main { margin-left: var(--sidebar); padding: 28px 36px 64px; max-width: calc(var(--sidebar) + 1180px); }

/* ---------- page header ---------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-title { min-width: 0; }
.page-title p { margin: 4px 0 0; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.back:hover { color: var(--ink); }
.title-client { display: inline-flex; align-items: center; gap: 12px; }
.actions, .btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.unsaved { color: var(--amber); font-size: 13px; font-weight: 500; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; box-shadow: var(--shadow); transition: background .15s, border-color .15s, box-shadow .15s, transform .05s; }
.btn:hover { background: var(--sunken); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .icon-btn:focus-visible, a:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 1px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 1px 2px rgb(79 70 229 / .3), inset 0 1px 0 rgb(255 255 255 / .12); }
.btn.primary:hover { background: var(--brand-2); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--ink-2); }
.btn.ghost:hover { background: var(--sunken); }
.btn.danger { color: var(--red); }
.btn.danger:hover { background: var(--red-soft); border-color: #fecaca; }
.btn.small { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--sunken); color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; font-size: 13px; cursor: pointer; }
.link:hover { color: var(--brand-2); }
.link.red { color: var(--red); }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.card-head h2, .card-head .step { margin: 0; }
.count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.two-col > * { min-width: 0; }
.two-col.wide-left { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.step { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.step span { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.step h2 { margin: 0; }

/* ---------- dashboard ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s, transform .15s; }
.kpi:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.kpi-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; }
.kpi-icon.brand { background: var(--brand-soft); color: var(--brand); }
.kpi-icon.amber { background: var(--amber-soft); color: var(--amber); }
.kpi-icon.red { background: var(--red-soft); color: var(--red); }
.kpi-icon.violet { background: var(--violet-soft); color: var(--violet); }
.kpi-label { color: var(--muted); font-size: 13px; font-weight: 500; }
.kpi b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--faint); font-size: 12.5px; }
.kpi-inr { font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.rows { display: flex; flex-direction: column; margin: 0 -8px; }
.row-link { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; transition: background .12s; }
.row-link:hover { background: var(--sunken); }
.row-main { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }
.row-main b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-main small { color: var(--muted); font-size: 12.5px; }
.row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-variant-numeric: tabular-nums; }
.avatar { display: inline-grid; place-items: center; border-radius: 50%; font-weight: 700; flex: none; letter-spacing: .02em; }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 20px; gap: 6px; }
.empty-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--sunken); color: var(--muted); display: grid; place-items: center; margin-bottom: 6px; }
.empty b { font-weight: 600; }
.empty p { margin: 0 0 8px; color: var(--muted); max-width: 340px; font-size: 13.5px; }
.loading { display: flex; gap: 6px; justify-content: center; padding: 32px; }
.loading span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); animation: blink 1s infinite ease-in-out; }
.loading span:nth-child(2) { animation-delay: .15s; } .loading span:nth-child(3) { animation-delay: .3s; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--sunken); color: var(--ink-2); letter-spacing: 0; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
h1 .badge { font-size: 12.5px; }
.b-sent, .b-unpaid { background: var(--amber-soft); color: var(--amber); }
.b-approved { background: var(--brand-soft); color: var(--brand-2); }
.b-converted, .b-paid { background: var(--green-soft); color: var(--green); }
.b-rejected, .b-overdue { background: var(--red-soft); color: var(--red); }
.b-deleted { background: #f1f1f4; color: #6b7280; }
.deleted-banner { display: flex; align-items: center; gap: 10px; }
.deleted-banner span { flex: 1; }
.b-cancelled { color: var(--faint); text-decoration: line-through; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--sunken); color: var(--ink-2); font-size: 12px; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------- lists ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs { display: flex; gap: 2px; background: var(--sunken); padding: 3px; border-radius: 10px; overflow-x: auto; max-width: 100%; }
.tabs a { padding: 5px 12px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--faint); width: 280px; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.search input { border: 0; padding: 0; height: 100%; box-shadow: none !important; background: transparent; }
.search.big { height: 46px; width: 100%; border-radius: 12px; }
.search.big input { font-size: 15px; }

.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.list th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 500; padding: 10px 16px; background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.list td { padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.list th.r { text-align: right; }
.list tbody tr { cursor: pointer; transition: background .12s; }
.list tbody tr:hover { background: #fafbff; }
.list tr:last-child td { border-bottom: 0; }
.list tr.dim { opacity: .55; }
.cell-client { display: inline-flex; align-items: center; gap: 10px; }
.cell-client b { font-weight: 600; }
.list-foot { display: flex; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; background: #fafbfc; }
.list-foot b { color: var(--ink); }

/* ---------- forms ---------- */
input, select, textarea { font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; height: 40px; width: 100%; min-width: 0; transition: border-color .15s, box-shadow .15s; }
textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center; padding-right: 32px; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: #c5ccd6; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
input:disabled { background: var(--sunken); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 16px; }
.grid.three { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field small { color: var(--muted); font-size: 12px; }
.field.wide { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: center; grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-2); }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.more { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; align-items: flex-start; }
.more details { flex-basis: 100%; }
.more details:not([open]) { flex-basis: auto; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary { margin-bottom: 14px; }

.fetch-row { display: flex; gap: 6px; }
.field:has(.fetch-row) { grid-column: span 2; }
@media (max-width: 860px) { .field:has(.fetch-row) { grid-column: 1 / -1; } }
.fetch-row .btn { height: 40px; }
.lookup { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 13px; }
.lookup b { font-weight: 600; }
.lookup span { color: var(--ink-2); }
.lookup small { display: block; color: var(--muted); margin-top: 2px; }
.lookup.bad { background: var(--amber-soft); color: var(--amber); }
.lookup .icon { margin-top: 2px; }

.paste-box { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px dashed #c7d2fe; border-radius: 12px; background: #fafbff; }
.paste-box ol { margin: 0; padding-left: 18px; }
.lookup .link { font-size: 12.5px; }

.check-all { display: flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; color: var(--brand); cursor: pointer; }
.combo-menu.multi { padding-bottom: 0; }
.multi-row { display: flex; align-items: center; gap: 4px; padding-left: 10px; border-radius: 9px; }
.multi-row.on { background: var(--brand-soft); }
.multi-row button { flex: 1; min-width: 0; display: flex; padding: 9px 10px 9px 6px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; }
.multi-row span { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.multi-row b { font-weight: 600; }
.multi-row small { color: var(--muted); font-size: 12px; }
.multi-row em { font-style: normal; margin-left: 6px; height: 18px; font-size: 11px; vertical-align: 1px; }
.combo-menu input[type=checkbox], .check-all input { width: 16px; height: 16px; flex: none; accent-color: var(--brand); }
.multi-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 8px; justify-content: flex-end; padding: 8px 10px; margin: 4px -6px 0; border-top: 1px solid var(--line); background: var(--surface); border-radius: 0 0 12px 12px; }
.multi-foot span { margin-right: auto; }

/* client picker */
.combo { position: relative; }
.combo-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 15; animation: pop .14s ease-out; max-height: 380px; overflow-y: auto; }
.combo-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: none; text-align: left; cursor: pointer; }
.combo-menu button.on { background: var(--brand-soft); }
.combo-menu button span { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.combo-menu button b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-menu small { color: var(--muted); font-size: 12px; }
.combo-hint { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.combo-empty { padding: 12px 10px; color: var(--muted); font-size: 13.5px; }
.combo-add { display: flex; align-items: center; gap: 8px; padding: 10px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--brand); font-weight: 600; font-size: 13.5px; }
.client-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 12px; background: linear-gradient(180deg, #fafbff, #f6f7fb); border: 1px solid var(--line); }
.client-info { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.45; }
.client-info b { font-weight: 600; font-size: 15px; }
.client-info .muted { font-size: 13px; }

/* items: name on top, numbers underneath, same at every width */
.items { display: flex; flex-direction: column; gap: 12px; }
.item { display: grid; grid-template-columns: 1fr 0.8fr 1fr 1fr 34px; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fcfcfd; }
.item .stack { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 6px; }
.item .del { grid-column: 5; align-self: start; margin-top: 3px; }
.item .del:hover { color: var(--red); background: var(--red-soft); }
.item .item-title { font-weight: 500; }
.item .sub { height: 34px; font-size: 13px; color: var(--ink-2); border-style: dashed; }
.item .sub:focus { border-style: solid; }
.mini { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini > span { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.mini input { height: 36px; }
.mini.amt { align-items: flex-end; grid-column: 4 / 6; }
.mini.amt b { height: 36px; display: flex; align-items: center; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.add-row { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 1.5px dashed var(--line-2); border-radius: 10px; background: transparent; color: var(--brand); font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.add-row:hover { background: var(--brand-soft); border-color: #c7d2fe; }
.sums { margin: 18px 0 0 auto; max-width: 300px; display: flex; flex-direction: column; gap: 8px; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.sums div { display: flex; justify-content: space-between; color: var(--ink-2); }
.sums .grand { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 18px; color: var(--ink); font-weight: 600; }
.sticky-save { display: none; }

/* ---------- document view ---------- */
.view { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.view .preview { padding: 18px; background: #e9ecf2; border-radius: var(--radius); border: 1px solid var(--line); }
.print-only { display: none; }
.side { position: sticky; top: 24px; display: flex; flex-direction: column; }
.side .card { margin-bottom: 14px; padding: 18px; }
.next p { margin: 0 0 12px; color: var(--ink-2); font-size: 13.5px; }
.next .field { margin-bottom: 12px; }
.stepper { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--faint); position: relative; text-align: center; }
.stepper li::before { content: ""; position: absolute; top: 12px; left: calc(-50% + 14px); right: calc(50% + 14px); height: 2px; background: var(--line); }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before, .stepper li.bad::before { background: var(--brand); }
.stepper span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sunken); color: var(--faint); font-size: 12px; font-weight: 700; z-index: 1; }
.stepper li.done { color: var(--ink-2); }
.stepper li.done span { background: var(--brand); color: #fff; }
.stepper li.now { color: var(--brand-2); font-weight: 600; }
.stepper li.now span { background: var(--surface); color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.stepper li.bad { color: var(--red); }
.stepper li.bad span { background: var(--red); color: #fff; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 13.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; }
.timeline li { position: relative; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.timeline b { color: var(--ink); font-weight: 600; }
.timeline small { display: block; color: var(--muted); font-size: 12px; }
.danger-zone { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 4px 4px 0; }

/* ---------- payments ---------- */
.pill.red, .tabbar a i.red { background: var(--red); }
.bal { display: block; color: var(--amber); font-size: 12px; font-weight: 500; }
.pay-bar { height: 6px; border-radius: 99px; background: var(--sunken); overflow: hidden; margin-bottom: 14px; }
.pay-bar span { display: block; height: 100%; background: linear-gradient(90deg, #34d399, var(--green)); border-radius: 99px; transition: width .3s; }
.pay-facts { margin-bottom: 14px; }
.pay-form { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fcfcfd; }
.pay-form p { margin: 0; }
.grid.two { grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: -4px; }
.chip-btn { height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); font-size: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chip-btn:hover { border-color: var(--brand); color: var(--brand); }
.remind-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.remind { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-list { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.pay-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 13.5px; }
.pay-list li > span { display: flex; flex-direction: column; }
.pay-list small { color: var(--muted); font-size: 12px; }
.pay-list span > small:first-of-type { display: inline; }
.page-tabs { display: inline-flex; margin-bottom: 18px; }
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi.static:hover { transform: none; box-shadow: var(--shadow); border-color: var(--line); }
.kpi b.red, h2.red { color: var(--red); }
.kpi b.amber, h2.amber { color: var(--amber); }
.pad-h { padding: 16px 18px 0; }
.recv { display: flex; flex-direction: column; }
.recv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); }
.recv-row:first-child { border-top: 0; }
.recv-main { display: flex; gap: 12px; align-items: center; min-width: 0; }
.recv-main span { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.recv-main b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recv-main small { color: var(--muted); font-size: 12.5px; }
.recv-amt { display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; }
.recv-amt small { color: var(--muted); font-size: 12px; }
.date-range { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.date-range input { height: 34px; width: auto; }
@media (max-width: 860px) {
  .kpis.three { grid-template-columns: 1fr; }
  .recv-row { grid-template-columns: 1fr auto; }
  .recv-row .remind { grid-column: 1 / -1; }
}

/* ---------- nav groups, documents ---------- */
.nav-group { margin: 12px 10px 2px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.sidebar nav { overflow-y: auto; }
.convert-box { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pick-list { margin-top: 10px; }
.pick-list .row-link { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; }
.more-gap { margin: 10px 0 0; }
.hint-top { margin: -6px 0 12px; }
.sums .small { font-size: 12.5px; }
input.needs { border-color: #f5c26b; background: #fffdf5; }
.b-accepted, .b-issued { background: var(--green-soft); color: var(--green); }
.b-declined, .b-expired { background: var(--red-soft); color: var(--red); }
.b-converted { background: var(--brand-soft); color: var(--brand-2); }
td.amber { color: var(--amber); }
td.red { color: var(--red); }
.m0 { margin: 0; }

/* ---------- reports ---------- */
.page-tabs.scroll { max-width: 100%; overflow-x: auto; }
.period { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 16px; }
.period select { width: auto; min-width: 190px; }
button.kpi { font: inherit; text-align: left; cursor: pointer; color: inherit; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 220px; padding-top: 10px; }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; min-width: 0; }
.bar { width: 100%; max-width: 34px; min-height: 2px; border-radius: 6px 6px 2px 2px; background: #c7d2fe; transition: height .3s; }
.bar.now { background: var(--brand); }
.bar.neg { background: #fecaca; }
.bar-val { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-col small { font-size: 11px; color: var(--muted); }
.row-link.static:hover { background: none; }
.share { display: block; height: 4px; border-radius: 99px; background: var(--sunken); margin-top: 6px; overflow: hidden; }
.share i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.list.static tbody tr { cursor: default; }
.list tfoot td { padding: 12px 16px; background: #fafbfc; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.statement { padding: 24px; }
.st-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.st-head small, .st-client small { display: block; color: var(--muted); font-size: 12.5px; }
.st-client { margin-bottom: 16px; }
.statement .list th:first-child, .statement .list td:first-child { padding-left: 0; }
.st-sub td { color: var(--muted); font-style: italic; }
@media (max-width: 860px) { .bars { gap: 3px; height: 160px; } .bar-val { display: none; } }

.sheet-tabs { margin: 12px 16px 0; display: inline-flex; flex-wrap: wrap; }
.count-s { font-size: 11px; color: var(--faint); margin-left: 2px; }
.sheet-sum { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sum-grid { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.sum-grid span { display: flex; flex-direction: column; }
.sum-grid small { color: var(--muted); font-size: 12px; }
.sum-grid b { font-variant-numeric: tabular-nums; }
.gst-sheet th { white-space: nowrap; }
.pad-x { margin: 12px 16px 0; }

.return-period { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px 0; }
.return-period select { width: auto; height: 32px; font-size: 13px; }
.return-period .chips { margin: 0; gap: 4px; }
.chip-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-btn:disabled { opacity: .4; cursor: default; }
.check.inline { grid-column: auto; font-size: 13px; }
.notes-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

.group-row td { background: #fafbfc; }
.indent { padding-left: 50px !important; }

/* ---------- import ---------- */
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px; border: 1.5px dashed var(--line-2); border-radius: 14px; background: #fcfcfd; color: var(--brand); cursor: pointer; text-align: center; transition: background .15s, border-color .15s; }
.drop:hover, .drop.over { background: var(--brand-soft); border-color: #c7d2fe; }
.drop b { color: var(--ink); }
.warn-list { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: var(--amber-soft); color: var(--amber); font-size: 13px; }
.warn-list b { display: flex; align-items: center; gap: 8px; }
.warn-list ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); display: flex; flex-direction: column; gap: 3px; }
.warn-list .mono { color: var(--amber); margin-right: 6px; }
.preview-table { max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; }
.preview-table thead th { position: sticky; top: 0; z-index: 1; }
.row-bad td { background: var(--red-soft); }
.green { color: var(--green); font-weight: 600; }
.amber { color: var(--amber); }
.ok-note { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 500; margin: 12px 0 0; }

/* ---------- users & access ---------- */
.users { display: flex; flex-direction: column; }
.user-row { border-top: 1px solid var(--line); }
.user-row:first-child { border-top: 0; }
.user-row.dim { opacity: .6; }
.user-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; }
.user-head:hover { background: #fafbff; }
.user-head .row-main { flex: 1; }
.user-head > .icon { color: var(--faint); }
.user-edit { padding: 4px 18px 18px 66px; }
.matrix { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.matrix-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 110px 110px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); }
.matrix-row:first-child { border-top: 0; }
.matrix-row.head { background: #fafbfc; font-size: 12px; font-weight: 600; color: var(--muted); }
.matrix-row.head .link { justify-self: center; font-size: 12px; }
.matrix-row > span { display: flex; flex-direction: column; line-height: 1.35; }
.matrix-row small { color: var(--muted); font-size: 12px; }
.matrix-row .radio { justify-self: center; }
.matrix-row .radio input { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; }
@media (max-width: 860px) {
  .user-edit { padding: 4px 14px 16px; }
  .matrix-row { grid-template-columns: minmax(0, 1fr) 64px 64px 64px; }
  .matrix-row.head .link { font-size: 11px; text-align: center; }
}

/* ---------- settings ---------- */
.uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.upload { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px dashed var(--line-2); border-radius: 12px; background: #fcfcfd; }
.upload img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.upload-ph { width: 64px; height: 64px; border-radius: 10px; background: var(--sunken); color: var(--faint); display: grid; place-items: center; flex: none; }
.upload b { display: block; font-weight: 600; margin-bottom: 8px; font-size: 13.5px; }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: radial-gradient(1200px 600px at 50% -10%, #e0e7ff 0%, transparent 60%), var(--bg); }
.login form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg); }
.login h1 { margin-top: 6px; }
.login p { margin: -8px 0 6px; }

/* ---------- toasts ---------- */
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 50; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; font-size: 13.5px; box-shadow: var(--shadow-lg); animation: rise .2s ease-out; }
.toast.ok .icon { color: #6ee7b7; }
.toast.err { background: var(--red); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- live preview beside forms ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.split-form { min-width: 0; }
.preview { min-width: 0; }
.preview-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 10px; }
.preview-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.preview-box { overflow: hidden; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.preview-box .sheet { margin: 0; box-shadow: none; }

@media (min-width: 1240px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .preview { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 18px; background: #e9ecf2; border-radius: var(--radius); border: 1px solid var(--line); }
  .main:has(.split) { max-width: none; }
}
@media (max-width: 1100px) {
  .view { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; order: -1; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sidebar { display: none; }
  .mobile-top { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 20; height: 56px; padding: 0 12px 0 16px; background: rgb(255 255 255 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .main { margin-left: 0; padding: 20px 16px 110px; }
  .tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; height: 64px; padding: 0 6px env(safe-area-inset-bottom); background: rgb(255 255 255 / .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); align-items: center; justify-content: space-around; }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--faint); padding: 6px 10px; }
  .tabbar a.on { color: var(--brand); }
  .tabbar a i { position: absolute; top: 2px; right: 6px; min-width: 16px; height: 16px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 10px; font-style: normal; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
  .tabbar .tab-create { width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; justify-content: center; padding: 0; box-shadow: 0 4px 12px rgb(79 70 229 / .35); }
  h1 { font-size: 21px; }
  .page-head { align-items: flex-start; }
  .page-head .actions .btn { height: 36px; }
  .two-col, .two-col.wide-left { grid-template-columns: minmax(0, 1fr); }
  .kpis { gap: 10px; }
  .kpi { padding: 14px; }
  .kpi b { font-size: 18px; }
  .toolbar { padding: 10px 12px; }
  .search { width: 100%; }
  .card { padding: 16px; }
  .client-card > .avatar { display: none; }
  .item { grid-template-columns: 1.2fr 0.8fr 1fr 34px; padding: 12px; }
  .item .mini:nth-of-type(3) { grid-column: 3 / 5; }
  .item .stack { grid-column: 1 / 4; }
  .item .del { grid-column: 4; }
  .mini.amt { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 8px; }
  .mini.amt b { height: auto; }
  .uploads { grid-template-columns: 1fr; }
  .list td, .list th { padding: 10px 12px; }
  .sticky-save { display: flex; justify-content: space-between; align-items: center; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 19; padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); font-weight: 700; font-size: 17px; }
  .sticky-save span { display: flex; flex-direction: column; line-height: 1.2; }
  .sticky-save small { font-size: 11px; color: var(--muted); font-weight: 500; }
  .toasts { bottom: 140px; }
  .view .preview { padding: 10px; }
}

/* ---------- the invoice sheet (screen preview and print) ---------- */
.sheet-wrap { overflow-x: auto; margin-bottom: 16px; }
.sheet { width: 794px; min-height: 1060px; margin: 0 auto; background: #fff; color: #000; border: 2px solid #000; font: 12px/1.35 Caladea, Cambria, "Times New Roman", serif; -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgb(0 0 0 / .08); }
.sheet .b { font-weight: 700; }
.sh-top { display: flex; justify-content: space-between; padding: 6px 0 0 4px; }
.sh-title { color: #1f5fbf; font-weight: 700; }
.sh-company .gap { margin-left: 24px; }
.sh-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sh-copy { font-size: 11px; padding-right: 2px; }
.sh-logo { max-width: 190px; max-height: 60px; }
.sh-meta { display: grid; grid-template-columns: 1fr 260px; padding: 0 0 0 4px; }
.kv { display: grid; grid-template-columns: 110px 1fr; }
.sh-meta > div:last-child .kv { grid-template-columns: 90px 1fr; }
.sh-meta > div:last-child .kv > :last-child { text-align: right; padding-right: 2px; }
.sh-cust { padding: 14px 0 6px 4px; }
.kv2 { display: grid; grid-template-columns: 130px 1fr; }
.sh-row { display: grid; grid-template-columns: 1fr 260px; }
.sh-endorse { padding: 4px 8px; border-bottom: 1px solid #000; text-align: left; font-size: 11px; font-weight: 700; }
.sh-items { width: 100%; border-collapse: collapse; border-top: 2px solid #000; }
.sh-items th { background: #dce6f1; border: 1px solid #000; border-top: 0; padding: 2px 4px; font-weight: 700; }
.sh-items th:first-child, .sh-items td:first-child { border-left: 0; }
.sh-items th:last-child, .sh-items td:last-child { border-right: 0; }
.sh-items td { border-left: 1px solid #000; border-right: 1px solid #000; padding: 2px 4px; vertical-align: top; }
.sh-items tr.blank td { height: 22px; }
.sh-items .r { text-align: right; }
.sh-items .c { text-align: center; }
.sh-items .w-sn { width: 60px; } .sh-items .w-hsn { width: 100px; } .sh-items .w-n { width: 80px; } .sh-items .w-amt { width: 110px; }
.sh-detail { font-size: 11px; }
.sh-total td { border-top: 2px solid #000; border-bottom: 1px solid #000; }
.sh-sums { margin-left: auto; width: 300px; padding: 2px 2px 2px 0; }
.sh-sums .kv { grid-template-columns: 1fr 100px; }
.sh-sums .kv > :last-child { text-align: right; }
.sh-words { display: flex; justify-content: space-between; border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 2px; font-size: 11px; }
.sh-words b:last-child { font-size: 12px; }
.sh-foot { display: flex; justify-content: space-between; padding: 20px 4px 0; }
.kv3 { display: grid; grid-template-columns: 130px 1fr; }
.sh-sign { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 260px; }
.sh-sign img { max-height: 80px; max-width: 160px; }
.sh-stamp-gap { height: 60px; }
.sh-notes { padding: 8px 4px 0; font-size: 11px; }
.sh-terms { padding: 10px 4px 6px; font-size: 10.5px; position: relative; }
.sh-terms > div { margin-bottom: 3px; }
.sh-auth { font-size: 12px; margin-top: 2px; }
.sh-sums .kv.fx { font-size: 11px; }
.sh-sums .kv.fx { grid-template-columns: auto 1fr; gap: 6px; }
.sh-sums .kv.fx > :last-child { white-space: nowrap; text-align: right; }


@page { size: A4; margin: 8mm; }
@media print {
  body { background: #fff; }
  .no-print, .sidebar, .mobile-top, .tabbar, .page-head, .card:not(.print-keep), .warn, .err, .toasts, .tabs, .period, p.muted { display: none !important; }
  .print-keep { border: 0; box-shadow: none; padding: 0; }
  .main { margin: 0; padding: 0; max-width: none; }
  .view { display: block; }
  .print-only { display: block; }
  .view .sheet-wrap, .sheet-wrap { overflow: visible; margin: 0; padding: 0; background: none; border: 0; }
  .sheet { width: auto; min-height: calc(297mm - 16mm - 4px); box-shadow: none; }
}

/* organisations */
.org-switch { display: flex; flex-direction: column; gap: 4px; margin-top: -8px; }
.org-switch small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-left: 2px; }
.org-switch select { width: 100%; font-weight: 600; font-size: 13px; padding: 7px 10px; }
.org-switch.compact { margin: 0; flex: 1; min-width: 0; max-width: 180px; }
.org-switch.compact select { padding: 5px 8px; font-size: 12.5px; }
.org-list { display: flex; flex-direction: column; margin-top: 10px; border-top: 1px solid var(--line); }
.org-row { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.org-row:last-child { border-bottom: 0; }
.org-picks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.org-picks .check { grid-column: auto; }
.mobile-top { gap: 8px; }
.mobile-top .btn-row { flex: none; flex-wrap: nowrap; gap: 2px; }
.org-switch.compact { max-width: none; }
.org-tag { margin-left: 6px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #eef2ff; color: #4338ca; }
.note-all { display: flex; gap: 8px; align-items: center; padding: 9px 12px; margin-bottom: 14px; border-radius: 10px; background: #eef2ff; color: #3730a3; font-size: 13px; }
