:root {
  --night: #0d1b2a;
  --night-2: #16283c;
  --moon: #f5b942;
  --bg: #f6f5f1;
  --card: #ffffff;
  --text: #1c2430;
  --muted: #667085;
  --brand: #0f766e;
  --brand-dark: #0b5953;
  --line: #e4e2db;
  --in: #ffffff;
  --out: #dcf3e9;
  --ok: #17663f;
  --ok-bg: #e5f4ec;
  --no: #b42318;
  --no-bg: #fdecea;
  --warn-bg: #fff4d6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 27, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-wrap: anywhere;
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); margin: 0 0 .8em; }
h3 { font-size: 1.1rem; margin: 0 0 .4em; }
code { background: #efede6; padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.break { word-break: break-all; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Topo e rodapé ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px clamp(16px, 4vw, 32px);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.2rem; color: var(--night); text-decoration: none; }
.brand-dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset -6px -2px 0 0 var(--moon); transform: rotate(-20deg); }
.topnav { display: flex; gap: 16px; align-items: center; }
.topnav a { text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 20px 16px 48px; }
.footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 28px 16px; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 8px; }
.footer a { color: inherit; }

/* ---------- Componentes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--brand); border-radius: 999px;
  background: var(--brand); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: rgba(15, 118, 110, .08); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn.big { min-height: 50px; padding: 12px 24px; font-size: 1.05rem; }
.link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; }
.inline { display: inline; margin: 0; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.card.narrow { max-width: 600px; margin-left: auto; margin-right: auto; }
.prose h3 { margin-top: 24px; }

.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; background: #eef1f6; }
.flash.ok { background: var(--ok-bg); color: var(--ok); }
.flash.erro { background: var(--no-bg); color: var(--no); }
.flash.aviso { background: var(--warn-bg); }
.flash.compact { margin: 8px 0 0; padding: 8px 12px; font-size: .9rem; }
.ok-text { color: var(--ok); }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
input, textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid #cfccc3; border-radius: 10px;
  background: #fff; color: var(--text); font: inherit; font-weight: 400;
}
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--brand); }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
/* Horário de atendimento: dia, abre "às" fecha. */
.hours { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.hours-row { display: grid; grid-template-columns: 9rem 9rem auto 9rem; justify-content: start; gap: 8px; align-items: center; }
.hours-row input[type="time"] { padding: 8px; min-height: 44px; }
.hours-sep { color: var(--muted); font-size: .9rem; }
.form .hours-row label.check { min-height: 44px; }
/* No celular, o dia ganha a linha de cima e os horários ficam inteiros embaixo. */
@media (max-width: 560px) {
  .hours { gap: 14px; }
  .hours-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 2px; }
  .hours-row label.check { grid-column: 1 / -1; }
}
.password-field { display: flex; gap: 8px; }
.password-toggle { flex: none; padding: 0 12px; border: 1px solid #cfccc3; border-radius: 10px; background: #fff; cursor: pointer; font: inherit; }

/* ---------- Landing ---------- */
.landing { overflow-x: clip; }
.section { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) 20px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); margin: 0 0 8px; }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid .card { margin: 0; }
.features article { padding: 4px 0; }
.features h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--moon); margin-bottom: 12px; }

.hero {
  max-width: 1120px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) 20px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); margin-bottom: .35em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #3b4656; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; }
.chips li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

.phone {
  background: var(--night); border-radius: 28px; padding: 14px; box-shadow: var(--shadow);
  max-width: 380px; width: 100%; justify-self: center;
}
.phone.small { max-width: 360px; }
.phone-head { display: flex; align-items: center; gap: 10px; color: #fff; padding: 6px 8px 14px; }
.phone-head small { display: block; color: #9fb3c8; font-size: .78rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--moon); color: var(--night); font-weight: 700; }
.chat { background: #e9e4da; border-radius: 18px; padding: 14px; display: grid; gap: 8px; }
.bubble { margin: 0; max-width: 86%; padding: 8px 12px 6px; border-radius: 12px; font-size: .93rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bubble time { display: block; text-align: right; font-size: .7rem; color: var(--muted); }
.bubble.in { background: var(--in); justify-self: start; border-top-left-radius: 4px; }
.bubble.out { background: var(--out); justify-self: end; border-top-right-radius: 4px; }
.system { margin: 4px 0 0; text-align: center; font-size: .78rem; color: #4b5563; background: rgba(255, 255, 255, .7); border-radius: 8px; padding: 4px 8px; }

.night { background: linear-gradient(160deg, var(--night), var(--night-2)); color: #e7eef6; }
.night .eyebrow { color: var(--moon); }
.night p { color: #c5d2e0; }
.night .bubble { color: var(--text); }
.night .system { color: #4b5563; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--moon); font-weight: 700; }

.price { max-width: 520px; text-align: center; margin: 0 auto; padding: 32px 24px; box-shadow: var(--shadow); }
.amount { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin: 0 0 16px; color: var(--night); }
.checks { list-style: none; padding: 0; margin: 0 auto 24px; text-align: left; display: inline-grid; gap: 8px; }
.checks li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 10px; }
.small-print { font-size: .85rem; margin-top: 16px; }
.lead.center { margin-left: auto; margin-right: auto; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; }
.plans .price { margin: 0; max-width: none; }
.plans + .small-print { max-width: 640px; margin-left: auto; margin-right: auto; }
.per { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan-page { max-width: 880px; margin: 0 auto; }
.plan-page .plans { margin: 20px 0 0; max-width: none; }
.plan-card { display: grid; gap: 12px; align-content: start; margin: 0; }
.plan-card h2 { margin: 0; font-size: 1.25rem; }
.plan-card .amount { margin: 0; }
.plan-card .checks { margin: 0; }
.plan-card .btn { justify-self: start; }
.plan-card.current { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.plan-status p { margin: 0 0 8px; }
.plan-status h2, .plan-page section h2 { margin: 0 0 10px; font-size: 1.15rem; }
.payments { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.payments li { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 8px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; min-height: 28px; }
.faq details p { margin: 10px 0 0; color: #3b4656; }

.final-cta { text-align: center; padding: clamp(48px, 8vw, 80px) 20px; background: var(--night); color: #fff; }
.final-cta h2 { margin-bottom: 24px; }

/* ---------- Painel ---------- */
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 18px; scrollbar-width: none; }
.tabs a { flex: none; padding: 10px 14px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; font-weight: 600; }
.tabs a[aria-current="page"] { color: var(--night); border-color: var(--moon); }

.inbox { display: grid; grid-template-columns: 340px 1fr; height: calc(100vh - 210px); min-height: 480px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.inbox-list { border-right: 1px solid var(--line); overflow-y: auto; }
.inbox-list ul { list-style: none; padding: 0; margin: 0; }
.conv { min-width: 0; display: grid; gap: 4px; padding: 12px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.conv:hover, .conv.active { background: #f3f7f6; }
.conv-top, .conv-bottom { min-width: 0; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.conv time { color: var(--muted); font-size: .8rem; flex: none; }
.preview { color: var(--muted); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.badge { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: #eef1f4; color: #475467; }
.tag.warn { background: var(--warn-bg); color: #7a5300; }
.tag.alert { background: var(--no-bg); color: var(--no); font-weight: 600; }
.conv.awaiting { box-shadow: inset 4px 0 0 var(--no); }
.tab-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 999px; background: var(--no); color: #fff; font-size: .72rem; vertical-align: 1px; }
.tab-count[hidden] { display: none; }
.thread-note { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; margin: 8px 12px 0; padding: 8px 12px; border-radius: 10px; background: var(--no-bg); font-size: .9rem; }
.thread-note p { margin: 0; flex: 1 1 220px; }
.thread-note .btn { flex: none; background: #fff; }
.thread .flash.compact { margin: 8px 12px 0; }
.empty { padding: 24px; color: var(--muted); }

.thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.thread-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.thread-head h1 { font-size: 1.2rem; margin: 0; }
.thread-head p { margin: 0; font-size: .85rem; }
.thread-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.back-link { display: none; }
.stage-form select { width: auto; padding: 6px 10px; min-height: 36px; }
.messages { list-style: none; margin: 0; padding: 16px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; background: #efeae2; }
.msg { max-width: min(78%, 560px); padding: 8px 12px; border-radius: 12px; background: var(--in); align-self: flex-start; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.msg p { margin: 0; white-space: pre-wrap; }
.msg small { display: block; margin-top: 2px; font-size: .72rem; color: var(--muted); }
.msg.ai, .msg.team { align-self: flex-end; background: var(--out); }
.msg.ai small::before { content: "✦ "; color: var(--brand); }
.msg.failed { background: var(--no-bg); }
/* Nota interna (motivo da passagem para a equipe): no meio, com cara de anotação, não de falha. */
.msg.note { align-self: center; max-width: min(92%, 560px); background: var(--warn-bg); border: 1px dashed #d9b44a; box-shadow: none; }
.msg.note small { color: #5c4a12; }
.composer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.composer textarea { min-height: 44px; }
.composer .btn { flex: none; white-space: nowrap; }

.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.column { background: #edebe5; border-radius: var(--radius); padding: 12px; min-height: 200px; }
.column h2 { font-size: 1rem; margin: 2px 4px 12px; display: flex; justify-content: space-between; }
.count { color: var(--muted); font-weight: 400; }
.lead-card { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--line); display: grid; gap: 6px; }
.lead-card .preview, .lead-card .tags { margin: 0; }
.lead-card a { text-decoration: none; color: var(--text); }
.empty-col { margin: 4px; font-size: .9rem; }
.column-more { margin: -8px 4px 6px; font-size: .85rem; }
.column-more a { display: inline-block; padding: 12px 0; }

.settings { max-width: 760px; margin: 0 auto; }
.settings > .btn { justify-self: start; }
.settings .card { display: grid; gap: 14px; margin: 0; }
.settings h2 { margin: 0; font-size: 1.25rem; }
.settings p { margin: 0; }
.setup-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.settings h3.subhead { margin: 6px 0 0; font-size: 1rem; }
.optional { font-weight: 400; color: var(--muted); font-size: .85rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.check-detail { color: var(--muted); font-size: .9rem; }
.check-error .check-detail { color: var(--no); }
.check-icon { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: #eef1f4; color: #475467; }
.check-ok .check-icon, .first-steps .done .check-icon { background: var(--ok-bg); color: var(--ok); }
.check-error .check-icon { background: var(--no-bg); color: var(--no); }
.first-steps { padding: 16px 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.first-steps h2 { font-size: 1rem; margin: 0 0 10px; }
.first-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.first-steps li { display: flex; gap: 10px; align-items: center; min-height: 36px; font-size: .92rem; }
.first-steps .check-icon { border: 1px solid #cfccc3; background: #fff; }
.first-steps .done .check-icon { border-color: transparent; }
.first-steps .done span:not(.check-icon) { color: var(--muted); }
.first-steps a { flex: 1; padding: 8px 0; }
.webhook-box { background: #f6f5f1; border-radius: 10px; padding: 12px 14px; display: grid; gap: 6px; }

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .inbox { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .inbox-list { border-right: 0; }
  .inbox.has-thread .inbox-list { display: none; }
  .inbox:not(.has-thread) .thread { display: none; }
  .back-link { display: inline; width: 100%; }
  .messages { max-height: 60vh; min-height: 280px; }
  .board { grid-auto-flow: row; grid-auto-columns: auto; overflow-x: visible; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .topnav { gap: 10px; }
  .cta-row .btn { width: 100%; }
  .card { padding: 18px; }
  .composer { flex-direction: column; }
}

/* Paginação da conversa e área de apagar conversa de teste */
.thread-more { margin: 8px 12px 0; text-align: center; font-size: .9rem; }
.danger-zone { margin: 0 12px 12px; font-size: .9rem; }
.danger-zone summary { cursor: pointer; color: var(--no); }
.danger-zone form { display: grid; gap: 8px; justify-items: start; padding-top: 8px; }
.danger-zone p { margin: 0; }
.btn.danger { background: var(--no); border-color: var(--no); color: #fff; }
.btn.danger:hover { filter: brightness(.92); background: var(--no); border-color: var(--no); }
.flash-form { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.flash-form span { flex: 1 1 260px; }
.flash-form .btn { flex: none; background: #fff; }

/* Busca, etiquetas e dados do cliente */
.inbox-search { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.inbox-search input[type="search"] { flex: 1 1 160px; min-width: 0; }
.inbox-search select { flex: 1 1 120px; min-width: 0; }
.funnel-filter { border: 0; padding: 0 0 12px; }
.small-link { font-size: .85rem; }
.tag.label { background: #e6f2f0; color: var(--brand-dark); }
.contact-panel { margin: 0 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.contact-panel summary { cursor: pointer; font-weight: 600; }
.contact-panel-body { display: grid; gap: 14px; padding-top: 10px; max-height: 50vh; overflow-y: auto; }
.contact-panel .form { gap: 6px; justify-items: start; }
.contact-panel textarea, .contact-panel input:not([type="checkbox"]) { width: 100%; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.tag-add { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; }
.tag-add input { flex: 1 1 140px; width: auto !important; }
.contact-panel .form > label:not(.check) { width: 100%; display: grid; gap: 4px; }

/* Respostas rápidas, modelo para retomar e resumo */
.template-note { background: var(--warn-bg); }
.quick-replies, .quick-suggestions { margin: 0 12px 10px; font-size: .9rem; }
.quick-replies summary { cursor: pointer; color: var(--brand-dark); }
.quick-replies ul, .quick-suggestions { list-style: none; padding: 0; display: grid; gap: 4px; max-height: 30vh; overflow-y: auto; }
.quick-replies a { display: block; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-replies a:hover { background: #f3f7f6; }
.quick-suggestions[hidden] { display: none; }
.quick-suggestions button { display: block; width: 100%; text-align: left; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: inherit; }
.quick-suggestions button:hover, .quick-suggestions button:focus { background: #f3f7f6; }
.settings-extra, .danger-card { margin-top: 20px; }
.quick-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.quick-list li { display: flex; gap: 12px; justify-content: space-between; align-items: start; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.quick-list p { margin: 2px 0 0; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.quick-item { flex: 1; min-width: 0; }
.quick-item details { margin-top: 6px; }
.quick-item summary { cursor: pointer; color: var(--brand-dark); }
.summary-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary-table th, .summary-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.summary-table th:first-child, .summary-table td:first-child { text-align: left; }
.summary-wrap { overflow-x: auto; }

/* Painel da plataforma (/admin) */
.admin-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 20px; }
.admin-grid .card { margin: 0; }
.admin-number { font-size: 2rem; font-weight: 700; margin: 4px 0; }
.admin-list { margin: 0; padding-left: 18px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }
.inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 12px; }
