/* Site Manager admin */
:root {
  --bg: #f4f5f7; --panel: #fff; --ink: #18202b; --muted: #667085; --line: #e3e6ea; --line-2: #d0d5dd;
  --side: #121821; --side-ink: #c9d1dc; --side-dim: #7d8898; --side-on: #1f2a37;
  --brand: #0b6e6e; --brand-ink: #fff; --brand-soft: #e3f2f1;
  --ok: #157f3b; --ok-bg: #e7f6ec; --warn: #9a5b00; --warn-bg: #fff4e0; --bad: #b42318; --bad-bg: #fdecea; --info: #175cd3; --info-bg: #eaf2ff;
  --radius: 10px; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.5; color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 1.45rem; } h2 { font-size: 1.05rem; } h3 { font-size: .95rem; }
code { background: #f2f4f7; padding: 1px 5px; border-radius: 4px; font-size: .88em; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .hint { color: var(--muted); font-weight: 400; font-size: .82rem; }
.right { text-align: right; } .nowrap { white-space: nowrap; } .path { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: #475467; word-break: break-all; }
[hidden] { display: none !important; }

/* Shell */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: var(--side); color: var(--side-ink); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 18px 18px 14px; letter-spacing: .01em; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: conic-gradient(from 210deg, #14b8a6, #0b6e6e, #f59e0b, #14b8a6); flex: none; }
.sidebar nav { padding: 0 10px 12px; flex: 1; }
.nav-head { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--side-dim); margin: 16px 10px 6px; }
.nav-link { display: flex; align-items: center; gap: 8px; color: var(--side-ink); text-decoration: none; padding: 7px 10px; border-radius: 7px; font-size: .92rem; }
.nav-link:hover { background: var(--side-on); color: #fff; }
.nav-link.on { background: var(--side-on); color: #fff; font-weight: 600; }
.nav-link.add { color: var(--side-dim); }
.nav-empty { color: var(--side-dim); font-size: .85rem; margin: 4px 10px; }
.site-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.badge { margin-left: auto; background: #f59e0b; color: #111; font-size: .72rem; font-weight: 700; border-radius: 10px; padding: 0 7px; }
.subnav { display: flex; flex-direction: column; margin: 2px 0 8px 18px; border-left: 1px solid #2b3644; padding-left: 8px; }
.subnav a { color: var(--side-dim); text-decoration: none; padding: 4px 8px; border-radius: 6px; font-size: .86rem; }
.subnav a:hover, .subnav a.on { color: #fff; background: var(--side-on); }
.signout { border-top: 1px solid #222c38; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.who { display: flex; flex-direction: column; font-size: .85rem; } .who span { color: var(--side-dim); font-size: .75rem; text-transform: capitalize; }
.signout .btn-link { color: var(--side-ink); }

.main { min-width: 0; padding: 0 28px 40px; max-width: 1240px; }
.main.wide { max-width: 1480px; }
.topbar { display: flex; align-items: center; gap: 14px; padding: 22px 0 14px; position: sticky; top: 0; background: var(--bg); z-index: 5; }
.title-wrap { flex: 1; min-width: 0; } .title-wrap h1 { margin: 0; overflow: hidden; text-overflow: ellipsis; }
.crumb { font-size: .82rem; color: var(--muted); } .crumb a { color: var(--muted); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.menu-btn { display: none; border: 1px solid var(--line-2); background: #fff; border-radius: 8px; width: 38px; height: 38px; font-size: 18px; cursor: pointer; }

/* Panels & layout */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.panel.flush { padding: 0; overflow: hidden; }
.panel.narrow, .narrow { max-width: 680px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wrap-row { align-items: flex-end; } .wrap-row label { flex: 1; min-width: 220px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack > .btn { align-self: flex-start; }
.inline { display: inline; }
.empty { background: var(--panel); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 36px; text-align: center; color: var(--muted); }

/* Forms */
label { display: block; font-weight: 600; font-size: .88rem; }
label > input, label > select, label > textarea { display: block; margin-top: 5px; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
input[readonly], input:disabled { background: #f6f7f9; color: var(--muted); }
input[type=color] { padding: 2px; height: 40px; }
textarea { resize: vertical; }
label.check { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
label.check input { margin-top: 0; }
label.check input { width: auto; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; } legend { font-weight: 600; font-size: .88rem; padding: 0 4px; }
.count { display: block; text-align: right; font-size: .75rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.count.over { color: var(--bad); font-weight: 600; }
.settings-form .panel, .settings-form + .panel { max-width: 900px; }
.settings-form .panel > * + * { margin-top: 12px; }
.sticky-save { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(to top, var(--bg) 70%, transparent); max-width: 900px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; justify-content: center; font: inherit; font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #f6f7f9; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--bad); border-color: #f3c3be; }
.btn.small { padding: 4px 10px; font-size: .82rem; }
.btn.big { padding: 12px 22px; font-size: 1rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; }
.btn-link.danger { color: var(--bad); }

/* Status */
.pill { display: inline-block; font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: #eef0f3; color: #475467; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); } .pill.info { background: var(--info-bg); color: var(--info); }
.status-ok { color: var(--ok); font-weight: 600; } .status-warn { color: var(--warn); font-weight: 600; }
.flashes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.flash { padding: 11px 14px; border-radius: 8px; border: 1px solid; font-size: .92rem; }
.flash p { margin: .2em 0; } .flash ul { margin: 0; padding-left: 18px; }
.flash-ok { background: var(--ok-bg); border-color: #b7e4c7; color: #0c5d2b; }
.flash-warn { background: var(--warn-bg); border-color: #f7d9a6; color: #7a4800; }
.flash-error { background: var(--bad-bg); border-color: #f5c2bc; color: #8f1d13; }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table.compact td { padding: 6px 8px; }
.table td a strong { color: var(--ink); }
.table tr.unread td { background: #f7fbff; }
.table tr.unread td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.enq-table td a { word-break: break-all; }
.cb { width: 34px; }
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.filters input { max-width: 280px; } .filters select { width: auto; }
.bulk-bar { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfc; flex-wrap: wrap; }
.bulk-bar select { width: auto; }
.pager { display: flex; justify-content: space-between; align-items: center; margin: 12px 2px; font-size: .9rem; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: .86rem; } .kv dd { margin: 0; word-break: break-word; }
.issues { margin: 0; padding-left: 16px; font-size: .88rem; }
.issues .lvl-bad { color: var(--bad); } .issues .lvl-warn { color: var(--warn); } .issues .lvl-info { color: #475467; }
.message { white-space: pre-wrap; background: #fafbfc; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.change-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }

/* Dashboard */
.site-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-bottom: 18px; }
.site-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--site); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.site-card:hover { border-color: var(--line-2); border-top-color: var(--site); }
.site-card-head { display: flex; flex-direction: column; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; font-size: .86rem; color: var(--muted); } .stats b { color: var(--ink); }
.flags { display: flex; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.type-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.type-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.type-card .big { font-size: 1.6rem; font-weight: 700; }
.onboarding .checklist { margin: 0; padding-left: 20px; } .checklist li { margin: 4px 0; } .checklist li.done { color: var(--muted); text-decoration: line-through; }

/* Editor */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.editor-main .panel > label { margin-bottom: 12px; }
.editor-side { position: sticky; top: 76px; max-height: calc(100vh - 90px); overflow-y: auto; }
.editor-side .panel { padding: 14px 16px; }
.editor-side .panel > * + * { margin-top: 10px; }
.editor-side h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.status-box .stack-btns { display: flex; flex-direction: column; gap: 8px; }
.md-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.md-head .label { font-weight: 600; font-size: .88rem; }
.md-tools { display: flex; gap: 4px; flex-wrap: wrap; }
.md-tools button { border: 1px solid var(--line-2); background: #fff; border-radius: 6px; padding: 3px 8px; font-size: .8rem; cursor: pointer; }
.md-tools button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.md-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; line-height: 1.6; min-height: 360px; }
.md-preview { border: 1px solid var(--line-2); border-radius: 8px; padding: 14px 18px; min-height: 360px; background: #fff; }
.prose img { max-width: 100%; height: auto; } .prose table { border-collapse: collapse; } .prose td, .prose th { border: 1px solid var(--line); padding: 4px 8px; }
.serp { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-family: Arial, sans-serif; background: #fff; }
.serp-url { font-size: 12px; color: #4d5156; } .serp-title { color: #1a0dab; font-size: 17px; line-height: 1.3; margin: 2px 0; } .serp-desc { font-size: 13px; color: #4d5156; }
.repeater .rep-row { display: grid; grid-template-columns: 1fr 1.6fr 30px; gap: 8px; margin-bottom: 8px; align-items: start; }
.repeater[data-kind="faqs"] .rep-row { grid-template-columns: 1fr 30px; }
.repeater[data-kind="faqs"] .rep-row textarea { grid-column: 1; }
.repeater[data-kind="faqs"] .rep-row .x { grid-row: 1; grid-column: 2; }
.repeater[data-kind="faqs"] .rep-row { padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.x { border: 1px solid var(--line-2); background: #fff; border-radius: 6px; height: 36px; cursor: pointer; color: var(--bad); font-size: 16px; }
.danger-zone { max-width: none; }
.danger-head { margin-top: 18px; color: var(--bad); }

/* Media */
.media-field .label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 5px; }
.media-preview { border: 1px dashed var(--line-2); border-radius: 8px; min-height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; background: #fafbfc; padding: 6px; }
.media-preview img { max-width: 100%; max-height: 140px; }
.gallery-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.gallery-list figure { margin: 0; position: relative; width: 96px; height: 96px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gallery-list img { width: 100%; height: 100%; object-fit: cover; }
.gallery-list .x { position: absolute; top: 3px; right: 3px; height: 24px; width: 24px; padding: 0; }
.upload-box { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.drop { flex: 1; min-width: 260px; border: 2px dashed var(--line-2); border-radius: 10px; padding: 16px; font-weight: 400; cursor: pointer; }
.drop.over { border-color: var(--brand); background: var(--brand-soft); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.media-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.media-item.heavy { border-color: #f7d9a6; }
.media-item > img, .file-icon { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f2f4f7; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted); }
.media-item figcaption { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.media-item .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alt-form { display: flex; gap: 6px; } .alt-form input { margin-top: 0; } .alt-form input { padding: 4px 8px; font-size: .82rem; }
.modal { position: fixed; inset: 0; background: rgba(16,24,40,.5); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.modal-box { background: #fff; border-radius: 12px; width: min(900px, 100%); max-height: 85vh; display: flex; flex-direction: column; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); gap: 10px; }
.modal-body { padding: 14px 18px; overflow-y: auto; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.pick-grid button { border: 2px solid var(--line); border-radius: 8px; background: #f2f4f7; padding: 0; aspect-ratio: 1; cursor: pointer; overflow: hidden; }
.pick-grid button.sel { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.pick-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Account */
.codes-box { background: var(--warn-bg); border: 1px solid #f7d9a6; border-radius: 8px; padding: 12px; margin: 10px 0; }
.codes { columns: 2; list-style: none; padding: 0; margin: 0; } .codes li { margin: 3px 0; }
.qr { width: 196px; height: 196px; margin: 12px 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.qr img, .qr canvas { width: 100% !important; height: auto !important; }
.key { font-size: 1rem; letter-spacing: .05em; user-select: all; }
.steps { padding-left: 20px; } .steps li { margin: 4px 0; }
.role-help { margin: 0; padding-left: 18px; }

/* Auth */
body.bare { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; background: radial-gradient(circle at 20% 0%, #e3f2f1, var(--bg) 50%); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; width: min(420px, 100%); box-shadow: 0 10px 30px rgba(16,24,40,.08); }
.auth-card .brand { padding: 0 0 18px; color: var(--ink); }
.auth-card h1 { font-size: 1.3rem; }
.auth-card details { margin-top: 14px; }

/* Responsive */
@media (max-width: 1100px) {
  .editor { grid-template-columns: 1fr; }
  .editor-side { position: static; max-height: none; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 270px; z-index: 40; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
  .menu-btn { display: inline-block; }
  .main { padding: 0 14px 30px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; }
  .table { font-size: .84rem; }
  .panel, .panel.flush { overflow-x: auto; }
  .main, .content { min-width: 0; }
  .kv { grid-template-columns: 1fr; } .kv dt { margin-top: 6px; }
}

/* Google results */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi-label { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kpi-value { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.small-kpis .kpi-value { font-size: 1.2rem; }
.delta { font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.delta.up { color: var(--ok); } .delta.down { color: var(--bad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
h2.pad { padding: 16px 16px 8px; margin: 0; } p.pad { padding: 0 16px 12px; margin: 0; }
.row.spread { justify-content: space-between; } .row.spread h2 { margin: 0; }
.section-head { margin: 22px 0 10px; }
.sync-line code { font-size: .8rem; }
.setup li { margin: 8px 0; }
.chart { margin: 0; }
.chart figcaption { font-weight: 600; margin-bottom: 6px; }
.chart-plot { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 11px; font-family: inherit; font-variant-numeric: tabular-nums; }
.chart .line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart .area { fill: var(--brand); fill-opacity: .1; }
.chart .end { fill: var(--brand); stroke: var(--panel); stroke-width: 2; }
.chart .hover { display: none; } .chart.hovering .hover { display: inline; }
.chart .cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .dot { fill: var(--brand); stroke: var(--panel); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); background: var(--side); color: #fff; font-size: .8rem; padding: 5px 9px; border-radius: 6px; pointer-events: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chart-table { margin-top: 8px; font-size: .85rem; } .chart-table .table-scroll { max-height: 260px; overflow-y: auto; }
.gstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.gstats dt { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.gstats dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.gstats .delta { display: block; }
.qlist { list-style: none; padding: 0; margin: 4px 0 0; }
.qlist li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.g-line { color: var(--muted); } .g-line b { color: var(--ink); }
.compete { list-style: none; padding: 0; margin: 0; } .compete li { margin: 2px 0; }

/* Social posts */
.flash-info { background: var(--info-bg); border-color: #c4d7f8; color: #123f8f; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tabs a { padding: 8px 12px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: .9rem; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--brand); font-weight: 600; }
.tabs .badge { background: #eef0f3; color: #475467; border-radius: 10px; padding: 0 6px; font-size: .74rem; }
.pill.sp-linkedin { background: #e8f1fb; color: #0a5aa8; } .pill.sp-facebook { background: #eaf0fd; color: #1b4fc4; }
.pill.sp-instagram { background: #fbebf3; color: #a3195b; } .pill.sp-youtube { background: #fdeceb; color: #b3261e; }
.acct-list { display: grid; gap: 6px; }
.company-block { border-top: 1px solid var(--line); padding: 12px 0; } .company-block h3 { margin-bottom: 8px; }
.company-block .row { margin-top: 8px; }
.btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.ai-box { border-left: 3px solid var(--brand); }
.problems { color: var(--bad); padding-left: 18px; margin: 0; }
.pre { white-space: pre-wrap; }
.inline-input { display: inline-block; width: auto; margin-left: 8px; }
td.days .check { display: inline-flex; margin: 0 8px 4px 0; gap: 3px; }
.auto-table select { min-width: 72px; } .auto-table input[type=time] { width: auto; } .auto-table td:last-child { white-space: nowrap; }
.plain-list { list-style: none; padding: 0; margin: 0; } .plain-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }

.aw-box { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.aw-box h2 { margin-bottom: 6px; }
.pill.wa { background: #e7f8ee; color: #0f7a3c; }
.total-row td { background: #f8fafc; font-weight: 600; }
.biz-grant { border-top: 1px solid var(--line); padding: 8px 0; } .biz-sites { padding-left: 26px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; } legend { font-weight: 600; padding: 0 6px; }
pre.code { background: #0f1720; color: #e5e7eb; padding: 12px; border-radius: 8px; font-size: .78rem; overflow-x: auto; white-space: pre; }
