/* The one Honestfix admin (25 Oct 2026): Vercel's dashboard look, cloned 1:1 from the Mobbin screens in
   design/mobbin/2026-10-25-admin-board (views.md). Light theme only. Geist from Google Fonts, system fallback.
   Measured at 1440 x 900: sidebar 244px, top bar 52px, row heights and paddings from the originals. */

:root {
  --bg: #fafafa;
  --panel: #fff;
  --line: #ebebeb;
  --line-2: #f2f2f2;
  --ink: #171717;
  --ink-2: #4d4d4d;
  --muted: #8f8f8f;
  --muted-2: #a8a8a8;
  --hover: #f2f2f2;
  --on: #ebebeb;
  --blue: #0068d6;
  --blue-bg: #ebf5ff;
  --green: #297a3a;
  --green-dot: #45a557;
  --amber: #a35200;
  --amber-dot: #f5a623;
  --red: #c4000c;
  --red-dot: #e5484d;
  --red-bg: #ffebeb;
  --mark-blue: #1f6feb;
  --mark-yellow: #f5c518;
  --r: 6px;
  --r-lg: 12px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body.ax { background: var(--bg); color: var(--ink); font: 400 14px/20px var(--sans); -webkit-font-smoothing: antialiased; }
.ax a { color: inherit; text-decoration: none; }
.ax a:hover { text-decoration: none; }
:where(.ax) button, :where(.ax) input, :where(.ax) select, :where(.ax) textarea { font: inherit; color: inherit; }
.ax hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.ic { flex: none; display: block; }
.ax-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

/* --- Frame --------------------------------------------------------------------------------------- */
.ax-app { display: flex; min-height: 100vh; }
.ax-side { position: sticky; top: 0; height: 100vh; width: 244px; flex: none; border-right: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; z-index: 30; }
.ax-ws { height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 17px; }
.ax-ws strong { font-weight: 500; font-size: 14px; letter-spacing: -.1px; }
.ax-pill { font-size: 11px; line-height: 18px; padding: 0 6px; border-radius: 9px; background: var(--blue-bg); color: var(--blue); font-weight: 500; }
.ax-close { display: none; margin-left: auto; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
.ax-mark { width: 18px; height: 18px; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.ax-mark i { width: 5px; height: 14px; border-radius: 2px; background: var(--mark-blue); transform: rotate(-8deg); display: block; }
.ax-mark img { width: 16px; height: 19px; display: block; }
.ax-mark i.y { height: 7px; background: var(--mark-yellow); align-self: flex-end; margin-bottom: 2px; }
.ax-find { margin: 1px 8px 0; height: 35px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 11px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--muted); }
.ax-find:focus-within { border-color: #a8a8a8; box-shadow: 0 0 0 3px rgba(0,0,0,.05); }
.ax-find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; color: var(--ink); padding: 0; }
.ax-find input::placeholder { color: var(--muted); }
.ax-find kbd { font: 500 11px/18px var(--sans); min-width: 20px; text-align: center; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); background: var(--panel); }
.ax-side-body { flex: 1; overflow-y: auto; padding: 9px 8px 8px; }
.ax-items { display: flex; flex-direction: column; gap: 2px; }
.ax-items a { height: 33px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 11px; border-radius: var(--r); color: var(--ink); font-size: 14px; }
.ax-items a:hover { background: var(--hover); }
.ax-items a.on { background: var(--on); }
.ax-items a .ic { color: var(--ink-2); }
.ax-items a .ext { margin-left: 2px; width: 12px; height: 12px; }
.ax-items hr { margin: 10px 2px; }
.ax-account { height: 52px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 17px; }
.ax-avatar { width: 18px; height: 18px; border-radius: 50%; background: #e3e3e3; color: var(--ink-2); font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.ax-account .who { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-account form { flex: none; }
.ax-round { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.ax-round .dot { position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); border: 1.5px solid var(--bg); }

.ax-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ax-top { height: 52px; flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px 0 24px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: var(--bg); z-index: 20; }
.ax-burger { display: none; }
.ax-top-left { display: flex; align-items: center; min-width: 0; }
.ax-proj { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.ax-proj .sel { color: var(--muted); }
.ax-crumbs { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.ax-crumbs a { color: var(--muted); }
.ax-crumbs a:hover { color: var(--ink); }
.ax-crumbs .sep { color: #d4d4d4; }
.ax-crumbs .cur { color: var(--ink); font-weight: 500; }
.ax-more { justify-self: end; }
.ax-pop { position: relative; }
.ax-pop > summary { list-style: none; cursor: pointer; width: 32px; height: 32px; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.ax-pop > summary::-webkit-details-marker { display: none; }
.ax-pop > summary:hover { background: var(--hover); }
.ax-pop-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 236px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 8px 30px rgba(0,0,0,.12); padding: 6px; z-index: 50; display: flex; flex-direction: column; }
.ax-pop-menu.right { left: auto; right: 0; }
.ax-pop-menu a, .ax-pop-menu button.item { display: block; text-align: left; width: 100%; padding: 8px 10px; border-radius: var(--r); font-size: 14px; color: var(--ink); background: none; border: 0; cursor: pointer; }
.ax-pop-menu a:hover, .ax-pop-menu button.item:hover { background: var(--hover); }
.ax-pop-menu hr { margin: 6px -6px; }
.ax-pop-h { font-size: 12px; color: var(--muted); padding: 6px 10px 4px; }
.ax-pop-menu form { margin: 0; }
.ax-pop-menu label.f { display: grid; gap: 4px; padding: 6px 10px; font-size: 12px; color: var(--muted); }

.ax-flash { margin: 12px 24px 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); font-size: 13px; color: var(--ink-2); }
.ax-scrim { display: none; }

/* --- Shared controls ----------------------------------------------------------------------------- */
.ax-btn { height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.ax-btn:hover { background: var(--hover); }
.ax-btn.sq { width: 40px; padding: 0; flex: none; }
.ax-btn.sm { height: 32px; padding: 0 12px; }
.ax-btn.xs { height: 28px; padding: 0 10px; font-size: 13px; }
.ax-btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.ax-btn.primary:hover { background: #383838; }
.ax-btn.danger { color: var(--red); }
.ax-btn[disabled] { opacity: .45; cursor: not-allowed; }
.ax-input { height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--muted); }
.ax-input:focus-within { border-color: #a8a8a8; box-shadow: 0 0 0 3px rgba(0,0,0,.05); }
.ax-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; color: var(--ink); padding: 0; }
.ax-input input::placeholder { color: var(--muted); }
.ax-field { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 0 10px; font-size: 14px; color: var(--ink); }
textarea.ax-field { height: auto; min-height: 72px; padding: 8px 10px; resize: vertical; line-height: 20px; }
select.ax-field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23171717' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; }
.ax-muted { color: var(--muted); }
.ax-mono { font-family: var(--mono); }
.ax-num { text-align: right; font-variant-numeric: tabular-nums; }
.ax-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); flex: none; }
.ax-dot.new { background: var(--blue); }
.ax-dot.investigating { background: var(--amber-dot); }
.ax-dot.waiting { background: #a855f7; }
.ax-dot.done, .ax-dot.ok { background: var(--green-dot); }
.ax-dot.ignored, .ax-dot.skipped { background: var(--muted-2); }
.ax-dot.failed, .ax-dot.error, .ax-dot.late { background: var(--red-dot); }
.ax-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; background: var(--hover); color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.ax-chip.blue { background: var(--blue-bg); color: var(--blue); }
.ax-chip.red { background: var(--red-bg); color: var(--red); }
.ax-chip.mono { font-family: var(--mono); font-weight: 400; }
.ax-empty { color: var(--muted); font-size: 14px; }

/* Panel (white, hairline, 12px radius) and panel tables */
.ax-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ax-panel-h { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.ax-panel-h h2, .ax-panel-h h3 { margin: 0; font-size: 14px; font-weight: 500; }
.ax-panel-h .r { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.ax-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.ax-t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.ax-t th { text-align: left; font-weight: 400; color: var(--ink-2); font-size: 13px; height: 40px; padding: 0 16px; background: var(--bg); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.ax-t td { padding: 10px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.ax-t tr:last-child td { border-bottom: 0; }
table.ax-t .r, table.ax-t th.r { text-align: right; font-variant-numeric: tabular-nums; }
table.ax-t a:hover { text-decoration: underline; }

/* Folds below a page: the same panel shape, a details row that opens */
details.ax-fold { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 0 0 16px; overflow: hidden; }
details.ax-fold > summary { list-style: none; cursor: pointer; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 20px; font-size: 14px; font-weight: 500; }
details.ax-fold > summary::-webkit-details-marker { display: none; }
details.ax-fold > summary .chev { transition: transform .15s; color: var(--ink-2); }
details.ax-fold[open] > summary .chev { transform: rotate(90deg); }
details.ax-fold > summary .r { margin-left: auto; color: var(--ink-2); font-weight: 400; font-size: 13px; }
details.ax-fold > .ax-fold-b { border-top: 1px solid var(--line); }
details.ax-fold > .ax-fold-b.pad { padding: 16px 20px; }

/* --- Tickets: the Logs screen ------------------------------------------------------------------- */
.ax-rail { padding: 0 0 12px; }
.ax-back { position: relative; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 14px; margin: -2px 0 10px; }
.ax-back-btn { position: absolute; left: 6px; top: 5px; width: 24px; height: 24px; border: 0; background: none; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.ax-back-btn:hover { background: var(--hover); }
.ax-rail-h { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 0 12px; height: 40px; margin-bottom: 4px; }
.ax-rail-h strong { font-weight: 500; font-size: 14px; }
.ax-rail details { margin: 0 0 0; }
.ax-rail details > summary { list-style: none; cursor: pointer; height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 14px; color: var(--ink); }
.ax-rail details > summary::-webkit-details-marker { display: none; }
.ax-rail details > summary .ic { color: var(--ink); transition: transform .15s; }
.ax-rail details[open] > summary .ic { transform: rotate(90deg); }
.ax-rail details.open-first > summary { font-weight: 500; }
.ax-rail .grp { margin: 4px 2px 12px 3px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); overflow: hidden; }
.ax-rail .grp label { height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; border-top: 1px solid var(--line-2); background: var(--panel); }
.ax-rail .grp label:first-child { border-top: 0; }
.ax-rail .grp label:hover { background: var(--bg); }
.ax-rail .grp label .n { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 13px; }
.ax-rail .grp input[type="checkbox"], .ax-rail .grp input[type="radio"] { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.ax-rail .sel { margin: 4px 2px 12px 3px; height: 40px; display: flex; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.ax-rail .sel .ico { width: 40px; flex: none; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); color: var(--ink); }
.ax-rail .sel select { flex: 1; border: 0; outline: 0; background: transparent; padding: 0 12px; appearance: none; font-size: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23171717' stroke-width='1.5'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }

.ax-logs { padding: 12px 8px 0 8px; display: flex; flex-direction: column; flex: 1; }
.ax-tool { display: flex; gap: 6px; align-items: center; padding: 0 2px 0 3px; }
.ax-tool .ax-input { flex: 1; min-width: 0; }
.ax-tool .ax-btn { height: 40px; }
.ax-hist { position: relative; height: 34px; margin: 6px 6px 0 7px; }
.ax-hist .bars { position: absolute; left: 0; right: 0; top: 2px; height: 20px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--line); }
.ax-hist .bars i { flex: 1; background: #d4d4d4; min-height: 0; display: block; }
.ax-hist .axis { position: absolute; left: 0; right: 0; top: 24px; display: flex; justify-content: space-between; font: 400 10px/14px var(--sans); color: var(--ink-2); }
table.ax-log { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; table-layout: fixed; }
table.ax-log th { text-align: left; font-weight: 400; color: var(--ink-2); font-size: 14px; height: 37px; padding: 0 8px; border-bottom: 1px solid var(--on); white-space: nowrap; }
table.ax-log th:first-child { padding-left: 27px; }
table.ax-log td { height: 29.5px; padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
table.ax-log td:first-child { padding-left: 29px; }
table.ax-log tbody tr { cursor: pointer; }
table.ax-log tbody tr:nth-child(even) td { background: var(--bg); }
table.ax-log tbody tr:hover td { background: var(--hover); }
table.ax-log tbody tr td:first-child { border-radius: 4px 0 0 4px; }
table.ax-log tbody tr td:last-child { border-radius: 0 4px 4px 0; }
table.ax-log tbody tr:first-child td { padding-top: 0; }
table.ax-log tbody tr:first-child td { border-top: 6px solid transparent; }
table.ax-log .d { color: var(--ink-2); }
table.ax-log .s-new { color: var(--blue); }
table.ax-log .s-investigating { color: var(--amber); }
table.ax-log .s-waiting { color: #7e22ce; }
table.ax-log .s-done { color: var(--green); }
table.ax-log .s-ignored { color: var(--muted); }
table.ax-log .subj { display: flex; align-items: center; gap: 8px; }
table.ax-log .subj .ic { color: var(--ink-2); }
table.ax-log .msg { font-family: var(--sans); font-size: 13px; color: var(--ink-2); }
table.ax-log a.row-link { overflow: hidden; }
table.ax-log a.row-link > span { overflow: hidden; text-overflow: ellipsis; }
.ax-countline { display: flex; align-items: center; gap: 6px; margin: 12px 24px 0; font-size: 14px; }
.ax-countline strong { font-weight: 500; }
.ax-countline .ax-chip { margin-left: 8px; }
.ax-countline.in-cat { margin: 0 0 12px; gap: 8px; }
.ax-countline .ax-chip:hover { background: var(--on); color: var(--ink); }
.ax-endline { text-align: center; color: var(--ink-2); font-size: 14px; padding: 40px 0 44px; }
.ax-below { padding: 0 24px 32px 24px; display: grid; gap: 16px; }

/* Stat strip and day bars inside a panel */
.ax-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.ax-stats > div { padding: 14px 20px 16px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ax-stats > div:first-child { border-left: 0; }
.ax-stats span { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-stats strong { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.ax-vbars { display: flex; align-items: flex-end; gap: 8px; height: 168px; padding: 16px 20px 12px; }
.ax-vbars .b { flex: 1; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.ax-vbars .b em { font-style: normal; font-size: 11px; color: var(--ink-2); text-align: center; height: 14px; }
.ax-vbars .b i { display: block; background: var(--blue); opacity: .75; border-radius: 3px 3px 0 0; }
.ax-vbars .b i.z { background: var(--line); opacity: 1; }
.ax-vbars .b span { font-size: 11px; color: var(--muted); text-align: center; }

/* --- Ticket thread: the Deployment details screen ------------------------------------------- */
.ax-tabs { height: 42px; display: flex; align-items: center; gap: 2px; padding: 0 24px 0 16px; border-bottom: 1px solid var(--line-2); flex: none; overflow-x: auto; }
.ax-tabs a { height: 30px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: var(--r); color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.ax-tabs a:hover { color: var(--ink); }
.ax-tabs a.on { background: var(--on); color: var(--ink); font-weight: 500; }
.ax-page { padding: 20px 26px 40px 26px; display: flex; flex-direction: column; gap: 15px; }
form.inline { display: inline; margin: 0; }
.ax-dcard .ax-panel-h { height: 55px; padding: 0 16px 0 20px; }
.ax-dcard .ax-panel-h h2 { font-weight: 500; }
.ax-dbody { display: grid; grid-template-columns: 381px 1fr; gap: 22px; padding: 15px 20px 15px 15px; }
.ax-statusbox { border: 1px solid var(--line); border-radius: var(--r); min-height: 238px; display: flex; flex-direction: column; }
.ax-statusbox.late { border-color: var(--red-dot); }
.ax-statusbox .h { height: 41px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line-2); }
.ax-statusbox.late .h .ic { color: var(--red); }
.ax-statusbox .h strong { font-weight: 500; }
.ax-statusbox .b { padding: 14px 11px 14px 11px; font-size: 14px; color: var(--ink-2); }
.ax-statusbox .b p { margin: 0 0 8px; }
.ax-statusbox .b .subj { color: var(--ink); }
.ax-statusbox .b .first { white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.ax-facts { display: flex; flex-direction: column; gap: 18px; padding-top: 2px; min-width: 0; }
.ax-facts .row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ax-facts .k { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.ax-facts .v { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; white-space: nowrap; }
.ax-facts .v > span { overflow: hidden; text-overflow: ellipsis; }
.ax-facts .v .ic { color: var(--ink-2); }
.ax-facts .grp { display: flex; flex-direction: column; gap: 10px; }
.ax-facts .grp .k { margin-bottom: 2px; }
.ax-facts a:hover { text-decoration: underline; }
details.ax-drow { border-top: 1px solid var(--line); }
details.ax-drow > summary { list-style: none; cursor: pointer; height: 45px; display: flex; align-items: center; gap: 10px; padding: 0 20px 0 18px; font-size: 14px; font-weight: 500; }
details.ax-drow > summary::-webkit-details-marker { display: none; }
details.ax-drow > summary .chev { transition: transform .15s; }
details.ax-drow[open] > summary .chev { transform: rotate(90deg); }
.ax-drow-b { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.ax-drow-b .ax-t { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; overflow: hidden; }
.ax-review { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.ax-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ax-form label { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.ax-note { grid-column: 1 / -1; margin: 0; font-size: 12px; }
.ax-sub h4 { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
ul.ax-lines { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); }
ul.ax-lines li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--line-2); font-size: 13px; }
ul.ax-lines li:first-child { border-top: 0; }
ul.ax-lines li .ic { color: var(--ink-2); }
ul.ax-lines li .r { margin-left: auto; }
ul.ax-lines a { text-decoration: underline; }

details.ax-logpanel > summary.ax-panel-h { list-style: none; cursor: pointer; height: 53px; padding: 0 20px 0 22px; gap: 14px; border-bottom: 0; }
details.ax-logpanel > summary::-webkit-details-marker { display: none; }
details.ax-logpanel > summary .chev { transition: transform .15s; }
details.ax-logpanel:not([open]) > summary .chev { transform: rotate(-90deg); }
details.ax-logpanel[open] > summary { border-bottom: 1px solid var(--line); }
.ax-bang { width: 20px; height: 20px; border-radius: 50%; background: var(--red-dot); color: #fff; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.ax-okdot { width: 20px; height: 20px; border-radius: 50%; background: var(--green-dot); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ax-logbar { display: flex; align-items: flex-start; gap: 24px; padding: 8px 10px 8px 20px; border-bottom: 1px solid var(--line-2); }
.ax-logbar .l, .ax-logbar .m { height: 32px; display: flex; align-items: center; gap: 10px; font-size: 14px; white-space: nowrap; }
.ax-logbar .m { margin-left: auto; gap: 22px; }
.ax-logbar .m span { display: inline-flex; align-items: center; gap: 6px; }
.ax-compose { width: 460px; flex: none; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.ax-compose.note { background: #fafafa; }
.ax-compose form { margin: 0; }
.ax-compose .top { display: flex; align-items: center; gap: 10px; padding: 8px 12px 0; font-size: 12px; min-width: 0; }
.ax-compose .top span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-compose select { border: 0; background: none; font-weight: 600; font-size: 14px; padding: 2px 18px 2px 0; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23171717' stroke-width='1.6'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.ax-compose textarea { display: block; width: 100%; border: 0; outline: 0; resize: vertical; padding: 8px 12px; min-height: 60px; font-size: 14px; line-height: 20px; background: transparent; }
.ax-compose textarea::placeholder { color: var(--muted); }
.ax-compose .bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 8px 8px 12px; font-size: 12px; }
.ax-compose .bot label { display: inline-flex; align-items: center; gap: 6px; }
.ax-send { height: 30px; padding: 0 14px; border: 0; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 500; font-size: 13px; cursor: pointer; }
ol.ax-lines-log { list-style: none; margin: 0; padding: 10px 0 14px; font-family: var(--mono); font-size: 13.3px; line-height: 22.8px; }
ol.ax-lines-log li { display: grid; grid-template-columns: 116px 88px 1fr; gap: 0 18px; padding: 0 20px 0 22px; }
ol.ax-lines-log time { color: var(--muted); white-space: nowrap; }
ol.ax-lines-log .who { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
ol.ax-lines-log .txt { white-space: pre-wrap; word-break: break-word; color: var(--ink); }
ol.ax-lines-log li.k-us .who { color: var(--blue); }
ol.ax-lines-log li.k-note { background: var(--hover); }
ol.ax-lines-log li.k-status .txt, ol.ax-lines-log li.k-system .txt { color: var(--ink-2); }
ol.ax-lines-log li.k-applied .txt { color: var(--green); }
.ax-assign .row { display: flex; gap: 6px; }

/* --- Agents: the Model list screen --------------------------------------------------------------- */
.ax-catalog { padding: 18px 32px 40px 16px; gap: 0; }
.ax-pagehead h1 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.6px; }
.ax-pagehead p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); max-width: 860px; }
.ax-catbar { display: flex; gap: 8px; align-items: center; margin: 38px 0 22px; flex-wrap: wrap; }
.ax-catbar .ax-input { width: 280px; height: 39px; }
.ax-chips { height: 39px; display: flex; align-items: center; gap: 2px; padding: 0 4px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.ax-chips a { height: 30px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 5px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.ax-chips a:hover { color: var(--ink); }
.ax-chips a.on { background: var(--hover); color: var(--ink); font-weight: 500; }
.ax-selbox { position: relative; height: 39px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); font-size: 14px; }
.ax-selbox select { appearance: none; border: 0; background: none; outline: 0; font-weight: 500; font-size: 14px; padding-right: 22px; cursor: pointer; }
.ax-selbox .ic { position: absolute; right: 12px; pointer-events: none; }
.ax-selbox.wide { min-width: 200px; }
table.ax-cat { width: 100%; border-collapse: collapse; font-size: 14px; }
table.ax-cat th { height: 43px; padding: 0 16px; text-align: left; font-weight: 400; color: var(--ink-2); background: var(--bg); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.ax-cat td { height: 61px; padding: 0 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.ax-cat tr:last-child td { border-bottom: 0; }
table.ax-cat th:first-child, table.ax-cat td:first-child { border-right: 1px solid var(--line); width: 286px; padding-left: 20px; }
table.ax-cat .r { text-align: right; font-variant-numeric: tabular-nums; }
table.ax-cat .nm { display: flex; align-items: center; gap: 10px; }
table.ax-cat .nm .ico { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
table.ax-cat .res { display: flex; align-items: center; gap: 8px; max-width: 250px; }
table.ax-cat .res .note { overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.ax-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 16px; align-items: start; }

/* --- Analytics: the Analytics screen ---------------------------------------------------------- */
.ax-analytics { padding: 12px 26px 40px 26px; gap: 0; }
.ax-pulse { margin-left: auto; font-size: 12px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-pulse a { text-decoration: underline; color: var(--ink-2); }
.ax-pulse-note { margin: -8px 0 16px; font-size: 12px; color: var(--muted); }
.ax-pulse-note a { text-decoration: underline; color: var(--ink-2); }
.ax-prop { height: 52px; display: flex; align-items: center; gap: 14px; margin: 0 0 6px; }
.ax-prop .site { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; padding-left: 4px; }
.ax-prop .site .ic { color: var(--ink-2); }
.ax-prop .sep { width: 1px; height: 16px; background: var(--line); }
.ax-prop .pulled { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-period { margin-left: 4px; flex: none; position: relative; height: 39px; width: 197px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.ax-period .ico { width: 39px; height: 100%; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); flex: none; }
.ax-period select { flex: 1; height: 100%; appearance: none; border: 0; background: none; padding: 0 30px 0 12px; font-size: 14px; outline: 0; cursor: pointer; }
.ax-period > .ic { position: absolute; right: 14px; pointer-events: none; }
.ax-metrics { border-radius: var(--r-lg); }
.ax-tiles { display: flex; height: 98px; border-bottom: 1px solid var(--line); background: var(--bg); }
.ax-tiles a, .ax-tiles .tile { width: 210px; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 20px 4px; border-right: 1px solid var(--line); color: var(--ink-2); position: relative; }
.ax-tiles a .k, .ax-tiles .tile .k { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.ax-tiles a .v, .ax-tiles .tile .v { display: flex; align-items: center; gap: 10px; font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -1px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ax-tiles .v .ax-chip { letter-spacing: 0; }
.ax-tiles a.on { background: var(--panel); }
.ax-tiles a.on .k, .ax-tiles a.on .v, .ax-tiles .tile.on .k, .ax-tiles .tile.on .v { color: var(--ink); }
.ax-tiles .tile.on { background: var(--panel); }
.ax-tiles a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.ax-tiles a:hover .v { color: var(--ink); }
.ax-tiles .rest { flex: 1; }
.ax-tiles.static { border-bottom: 0; background: var(--panel); }
.ax-tiles.static .tile .k, .ax-tiles.static .tile .v { color: var(--ink); }
.ax-prop .ax-period { margin-left: auto; }
.ax-tiles a, .ax-tiles .tile { width: 230px; }
.ax-q { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 26px 2px 12px; font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.ax-q:first-of-type { margin-top: 6px; }
.ax-q .ax-muted { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.ax-check { margin: 0; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
details.ax-details { margin-top: 32px; }
details.ax-details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; height: 44px; margin: 0 0 12px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
details.ax-details > summary::-webkit-details-marker { display: none; }
details.ax-details > summary .chev { transition: transform .15s; color: var(--ink-2); }
details.ax-details[open] > summary .chev { transform: rotate(90deg); }
details.ax-details > summary .ax-muted { font-size: 13px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ax-chartwrap { height: 386px; padding: 0; }
svg.ax-chart { width: 100%; height: 100%; display: block; }
svg.ax-chart .grid { stroke: var(--line-2); stroke-width: 1; }
svg.ax-chart .base { stroke: var(--line); stroke-width: 1; }
svg.ax-chart .yl, svg.ax-chart .xl { font: 400 11px var(--sans); fill: var(--ink-2); }
svg.ax-chart .area { fill: #0068d6; fill-opacity: .1; }
svg.ax-chart .line { fill: none; stroke: #0068d6; stroke-width: 2; vector-effect: non-scaling-stroke; }
svg.ax-chart .line.dash { stroke-dasharray: 4 4; }
.ax-pair2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 15px 0 24px; }
.ax-tabpanel { min-height: 280px; }
.ax-tabpanel .tp-r { position: absolute; opacity: 0; pointer-events: none; }
.ax-tp-h { height: 50px; display: flex; align-items: stretch; gap: 26px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.ax-tp-h .tp-l { white-space: nowrap; display: flex; align-items: center; font-size: 14px; color: var(--ink-2); cursor: pointer; padding: 0 2px; }
.ax-tp-h .tp-l:hover { color: var(--ink); }
.ax-tp-h .unit { display: none; margin-left: auto; align-self: center; font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: .3px; }
.ax-tp-b { display: none; padding: 12px 12px 16px; }
.ax-tp-b .ax-empty { margin: 8px; }
.ax-tp-b .bar { position: relative; height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px 0 12px; margin: 0 0 6px; font-size: 14px; }
.ax-tp-b .bar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: #f2f2f2; border-radius: var(--r); z-index: 0; }
.ax-tp-b .bar .lbl, .ax-tp-b .bar .n { position: relative; z-index: 1; }
.ax-tp-b .bar .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-tp-b .bar .lbl a:hover { text-decoration: underline; }
.ax-tp-b .bar .n { font-weight: 500; font-variant-numeric: tabular-nums; }
.tp-r.tp-0:checked ~ .ax-tp-b.tp-0, .tp-r.tp-0:checked ~ .ax-tp-h .unit.tp-0 { display: block; }
.tp-r.tp-0:checked ~ .ax-tp-h .tp-l.tp-0 { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.tp-r.tp-1:checked ~ .ax-tp-b.tp-1, .tp-r.tp-1:checked ~ .ax-tp-h .unit.tp-1 { display: block; }
.tp-r.tp-1:checked ~ .ax-tp-h .tp-l.tp-1 { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.tp-r.tp-2:checked ~ .ax-tp-b.tp-2, .tp-r.tp-2:checked ~ .ax-tp-h .unit.tp-2 { display: block; }
.tp-r.tp-2:checked ~ .ax-tp-h .tp-l.tp-2 { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.tp-r.tp-3:checked ~ .ax-tp-b.tp-3, .tp-r.tp-3:checked ~ .ax-tp-h .unit.tp-3 { display: block; }
.tp-r.tp-3:checked ~ .ax-tp-h .tp-l.tp-3 { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.ax-folds { display: flex; flex-direction: column; }
.ax-folds .ax-pair { margin: 0; }
.ax-fold-b .ax-t + .ax-t, .ax-fold-b .ax-scroll + .ax-scroll { border-top: 1px solid var(--line); }
.ax-foldbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ax-foldbar .ax-chips { height: 34px; }
.ax-foldbar .ax-chips a { height: 26px; font-size: 13px; }
.ax-fold-pad { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.ax-fold-pad h4, .ax-fold-h { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.ax-fold-h { padding: 12px 20px 8px; margin: 0; border-top: 1px solid var(--line); }
.ax-fold-note { margin: 0; padding: 12px 20px; font-size: 13px; border-bottom: 1px solid var(--line); }
.ax-pair.inner { margin: 0; gap: 0; border-top: 1px solid var(--line); }
.ax-pair.inner .ax-t + .ax-t { border-top: 0; border-left: 1px solid var(--line); }
.ax-expform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ax-expform label, .ax-rollup label { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.ax-exp { border-top: 1px solid var(--line); padding-top: 12px; }
.ax-exp p { margin: 0 0 6px; font-size: 14px; }
.ax-expclose { display: grid; grid-template-columns: 160px 1fr auto; gap: 8px; }
.ax-lookup { display: flex; gap: 8px; }
.ax-lookup .ax-field { width: 320px; height: 32px; }
.ax-actblock { display: flex; flex-direction: column; gap: 8px; }
.ax-actblock h4 { margin: 0; }
.ax-actblock p { margin: 0; font-size: 13px; }
.ax-actblock .ax-t { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; overflow: hidden; }
.ax-rollup { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }

/* --- Businesses: the Projects overview screen --------------------------------------------------- */
.ax-projects { padding: 24px 23px 40px 22px; gap: 0; }
.ax-projbar { display: flex; gap: 8px; align-items: center; }
.ax-projbar .ax-input { flex: 1; height: 39px; }
.ax-projbar .ax-pop > summary.ax-btn { width: 39px; height: 39px; }
.ax-projgrid { display: grid; grid-template-columns: 386px 1fr; gap: 21px; margin-top: 14px; align-items: start; }
.ax-projside h3, .ax-cardsarea h3 { margin: 0 0 14px 8px; height: 24px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.ax-projside h3 { margin-left: 6px; }
.ax-projside .ax-panel { margin-bottom: 34px; }
.ax-usage .top { display: flex; align-items: center; justify-content: space-between; padding: 14px 15px 10px 15px; }
.ax-usage .top strong { font-weight: 400; font-size: 14px; }
.ax-usage .meter { margin: 0 8px; padding: 10px 7px 12px; background: var(--bg); border-radius: var(--r); }
.ax-usage .meter .lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.ax-usage .meter .val { font-size: 13px; font-weight: 500; margin: 2px 0 10px; }
.ax-usage .meter .bar { height: 8px; border-radius: 4px; background: #e6e6e6; overflow: hidden; }
.ax-usage .meter .bar i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.ax-usage .line { display: flex; align-items: center; gap: 6px; padding: 14px 15px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.ax-usage .line .ok { color: var(--green); }
.ax-usage .line .ic { color: var(--green); }
.ax-usage ul.rows, .ax-sidecard ul.rows { list-style: none; margin: 0; padding: 4px 0; max-height: 64px; overflow-y: auto; }
.ax-usage ul.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 15px; font-size: 13px; }
.ax-usage ul.rows li span:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ax-sidecard .empty { text-align: center; padding: 40px 28px 44px; }
.ax-sidecard .empty strong { display: block; font-weight: 500; font-size: 15px; margin-bottom: 8px; }
.ax-sidecard .empty p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 22px; }
.ax-sidecard ul.rows { max-height: 320px; }
.ax-sidecard ul.rows li { display: flex; align-items: center; gap: 10px; padding: 9px 15px; border-top: 1px solid var(--line-2); font-size: 13px; }
.ax-sidecard ul.rows li:first-child { border-top: 0; }
.ax-sidecard ul.rows .t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ax-sidecard ul.rows .t a { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-sidecard ul.rows a:hover { text-decoration: underline; }
.ax-cardsarea h3 { margin-left: 10px; }
.ax-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ax-card { padding: 16px 16px 14px 15px; display: flex; flex-direction: column; gap: 10px; min-height: 153px; overflow: visible; }
.ax-card .head { display: flex; align-items: flex-start; gap: 13px; }
.ax-bizicon { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex: none; margin-top: 2px; }
.ax-card .who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ax-card .nm { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-card .nm:hover { text-decoration: underline; }
.ax-card .sub { color: var(--ink-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-ring { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); font-size: 12px; font-weight: 600; flex: none; margin-top: 2px; }
.ax-ring.open { border-color: #7fb3ff; color: var(--blue); }
.ax-ring.warn { border-color: #ffd28a; color: var(--amber); background: #fff7e6; }
.ax-card .ax-pop { margin: 1px -4px 0 6px; }
.ax-card .ax-chip { align-self: flex-start; }
.ax-card .last { display: flex; flex-direction: column; gap: 2px; font-size: 14px; min-width: 0; }
.ax-card .last a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-card .last a:hover { text-decoration: underline; }

/* --- Business record: the Domain detail screen ------------------------------------------------------- */
.ax-domain { display: flex; flex-direction: column; }
.ax-dhead { background: var(--panel); border-bottom: 1px solid var(--line); padding: 23px 26px 30px 27px; }
.ax-dhead .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ax-dhead h1 { margin: 0; font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -.8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-dhead .acts { display: flex; gap: 8px; align-items: center; flex: none; }
.ax-dhead .acts .ax-btn { height: 38px; }
.ax-dhead .acts .ax-pop > summary.ax-btn { width: 39px; height: 38px; }
.ax-dfacts { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 12px; margin: 20px 0 0; }
.ax-dfacts dt { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; white-space: nowrap; }
.ax-dfacts dd { margin: 0; display: flex; align-items: center; gap: 7px; font-size: 14px; white-space: nowrap; min-width: 0; }
.ax-dfacts dd .ic { color: var(--ink-2); }
.ax-scorechip { min-width: 30px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.ax-toggle { width: 28px; height: 16px; border-radius: 8px; background: #e2e2e2; position: relative; display: inline-block; }
.ax-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.ax-toggle.on { background: var(--ink); }
.ax-toggle.on::after { left: 14px; }
.ax-dbodyw { padding: 38px 26px 48px 27px; display: flex; flex-direction: column; gap: 48px; }
.ax-hiddennote { margin: -24px 0 0; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #ffd28a; border-radius: var(--r); background: var(--panel); font-size: 13px; color: var(--ink-2); }
.ax-dsec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ax-dsec-h h2 { margin: 0; font-size: 26px; line-height: 34px; font-weight: 600; letter-spacing: -.7px; }
.ax-dsec-h p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); max-width: 640px; }
ul.ax-dlist { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
ul.ax-dlist li { min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 6px 15px; border-top: 1px solid var(--line); font-size: 14px; }
ul.ax-dlist li:first-child { border-top: 0; }
ul.ax-dlist li .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
ul.ax-dlist li .r { margin-left: auto; }
ul.ax-dlist li > .ax-muted:not(.r) { font-size: 13px; white-space: nowrap; }
ul.ax-dlist a { text-decoration: underline; }
table.ax-dns th { height: 56px; background: var(--panel); font-size: 14px; color: var(--ink); padding: 0 20px; }
table.ax-dns td { padding: 12px 20px; }
table.ax-dns td.val { max-width: 420px; overflow-wrap: anywhere; }
.ax-stat { display: inline-flex; align-items: center; gap: 7px; }

/* --- Phone ----------------------------------------------------------------------------------------- */
/* --- Home: the Projects overview screen (vercel-e2a9b3a7), reusing the Businesses grid above ------------- */
.ax-ws-home { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
a.ax-proj:hover span { color: var(--ink-2); }
.ax-seg { display: inline-flex; flex: none; height: 39px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 3px; gap: 2px; }
.ax-seg a { width: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--ink-2); }
.ax-seg a:hover { color: var(--ink); }
.ax-seg a.on { background: var(--on); color: var(--ink); }
.ax-chip.green { background: #e6f6ea; color: var(--green); }
.ax-needs ul.rows { max-height: none; padding: 0 0 10px; }
.ax-needs ul.rows li { padding: 9px 15px; font-size: 14px; border-top: 1px solid var(--line-2); }
.ax-needs ul.rows .t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ax-needs ul.rows .t a { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-needs ul.rows .t .ax-muted { font-size: 13px; }
.ax-needs ul.rows li a:hover { text-decoration: underline; }
.ax-needs ul.rows li span:last-child { color: var(--muted); }
.ax-needs ul.rows li span.hot { color: var(--ink); font-weight: 600; }
.ax-needs ul.rows li span.hot.red { color: var(--red); }
.ax-week ul.rows li .num { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.ax-week ul.rows li .ax-chip { min-width: 48px; justify-content: center; }
.ax-cardsarea h3 a:hover { text-decoration: underline; }
.ax-cards.list { grid-template-columns: 1fr; gap: 10px; }
.ax-cards.list .ax-card { min-height: 0; }
.ax-projgrid > * { min-width: 0; }
.ax-ring.wait { color: var(--red); font-size: 14px; }

@media (max-width: 860px) {
  .ax-side { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform .2s; width: 280px; box-shadow: none; }
  .ax-nav-toggle:checked ~ .ax-app .ax-side { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.18); }
  .ax-nav-toggle:checked ~ .ax-app .ax-scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.2); z-index: 25; }
  .ax-close { display: block; }
  .ax-top { grid-template-columns: auto 1fr auto; padding: 0 8px 0 8px; gap: 6px; }
  .ax-burger { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: var(--r); cursor: pointer; }
  .ax-burger:hover { background: var(--hover); }
  .ax-top-left { display: none; }
  .ax-crumbs { min-width: 0; overflow: hidden; gap: 8px; }
  .ax-crumbs > * { overflow: hidden; text-overflow: ellipsis; }
  .ax-flash { margin: 10px 12px 0; }
  .ax-logs { padding: 10px 0 0; }
  .ax-tool { padding: 0 12px; gap: 4px; }
  .ax-tool .ax-btn:not(.sq) { padding: 0 10px; }
  .ax-hist { margin: 8px 12px 0; }
  .ax-logs .ax-scroll { padding: 0 4px; }
  table.ax-log { min-width: 760px; }
  .ax-below { padding: 0 12px 24px; }
  .ax-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-stats > div:nth-child(odd) { border-left: 0; }
  .ax-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ax-vbars { gap: 3px; padding: 12px; }
  .ax-tabs { padding: 0 8px; }
  .ax-catalog { padding: 16px 12px 32px; }
  .ax-catbar { margin: 20px 0 16px; }
  .ax-catbar .ax-input { width: 100%; }
  .ax-chips { overflow-x: auto; max-width: 100%; }
  .ax-pair { grid-template-columns: 1fr; }
  .ax-projects { padding: 14px 12px 32px; }
  .ax-projgrid { grid-template-columns: 1fr; margin-top: 18px; }
  .ax-cardsarea { order: -1; }
  .ax-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ax-projside .ax-panel { margin-bottom: 22px; }
  .ax-seg a { width: 38px; }
  .ax-home .ax-cardsarea { order: 0; }
  .ax-dhead { padding: 16px 12px 22px; }
  .ax-dhead .row { flex-wrap: wrap; }
  .ax-dhead h1 { font-size: 24px; line-height: 30px; white-space: normal; }
  .ax-dfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin-top: 18px; }
  .ax-dbodyw { padding: 24px 12px 32px; gap: 36px; }
  .ax-dsec-h { flex-wrap: wrap; align-items: flex-start; margin-bottom: 14px; }
  .ax-dsec-h h2 { font-size: 22px; line-height: 28px; }
  ul.ax-dlist li { flex-wrap: wrap; }
  table.ax-dns { min-width: 640px; }
  .ax-analytics { padding: 8px 12px 32px; }
  .ax-prop { height: auto; flex-wrap: wrap; gap: 8px 12px; padding: 4px 0 10px; }
  .ax-prop .sep { display: none; }
  .ax-prop .pulled { white-space: normal; flex: 1 1 auto; }
  .ax-tp-h .unit { display: none !important; }
  svg.ax-chart .yl, svg.ax-chart .xl { font-size: 26px; }
  .ax-period { margin-left: 0; width: 100%; }
  .ax-pulse { margin-left: 0; white-space: normal; order: 9; }
  .ax-tiles { height: auto; flex-wrap: wrap; }
  .ax-tiles a, .ax-tiles .tile { width: 50%; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .ax-tiles a .v, .ax-tiles .tile .v { font-size: 24px; line-height: 30px; flex-wrap: wrap; gap: 4px 8px; }
  details.ax-details > summary .ax-muted { display: none; }
  .ax-tiles .rest { display: none; }
  .ax-chartwrap { height: 220px; }
  .ax-pair2 { grid-template-columns: 1fr; }
  .ax-tp-h { gap: 16px; padding: 0 12px; overflow-x: auto; }
  .ax-expform, .ax-expclose { grid-template-columns: 1fr; }
  .ax-lookup { width: 100%; }
  .ax-lookup .ax-field { width: auto; flex: 1; min-width: 0; }
  table.ax-cat th:first-child, table.ax-cat td:first-child { width: auto; }
  .ax-page { padding: 12px 12px 32px; }
  .ax-dbody { grid-template-columns: 1fr; padding: 12px; }
  .ax-statusbox { min-height: 0; }
  .ax-facts .row4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ax-review { grid-template-columns: 1fr; }
  .ax-logbar { flex-wrap: wrap; padding: 8px 12px; gap: 10px 18px; }
  .ax-logbar .m { margin-left: 0; }
  .ax-compose { width: 100%; }
  ol.ax-lines-log li { grid-template-columns: 1fr; gap: 0; padding: 6px 12px; border-top: 1px solid var(--line-2); }
  ol.ax-lines-log li:first-child { border-top: 0; }
  ol.ax-lines-log time, ol.ax-lines-log .who { display: inline; font-size: 12px; line-height: 18px; }
}

/* Sign-in (clone of Vercel's log-in screen) */
body.si { min-height: 100vh; display: flex; flex-direction: column; background: #fafafa; margin: 0; }
.si-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.si-btn-sm { font-size: 12px; font-weight: 500; color: var(--ink-2, #171717); text-decoration: none; border: 1px solid #e6e6e6; background: #fff; border-radius: 6px; padding: 5px 10px; }
.si-main { flex: 1; display: flex; justify-content: center; padding: 108px 16px 40px; }
.si-form { width: 100%; max-width: 326px; display: flex; flex-direction: column; gap: 10px; }
.si-form h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; text-align: center; margin: 0 0 22px; color: #171717; }
.si-input { height: 40px; border: 1px solid #e6e6e6; border-radius: 6px; background: #fff; padding: 0 12px; font: inherit; font-size: 14px; color: #171717; width: 100%; box-sizing: border-box; }
.si-input:focus { outline: none; border-color: #171717; }
.si-input.bad { border-color: #cb2a2f; }
.si-error { margin: -4px 0 0; font-size: 13px; color: #cb2a2f; }
.si-btn { height: 40px; border: 0; border-radius: 6px; background: #171717; color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; width: 100%; }
.si-btn:hover { background: #383838; }
.si-foot { display: flex; justify-content: center; gap: 14px; padding: 0 16px 20px; }
.si-foot a { font-size: 11px; color: #666; text-decoration: none; }
/* The business sign-in (/vendor/sign-in, 29 Oct 2026) reuses this page: Vercel's line under the title on its email-code
   step (si-sub), and its "Don't have an account? Sign Up" line under the button (si-alt). */
.si-sub { margin: -14px 0 8px; font-size: 14px; line-height: 20px; color: #666; text-align: center; }
.si-alt { margin: 14px 0 0; font-size: 14px; line-height: 20px; color: #666; text-align: center; }
.si-alt a { color: #171717; text-decoration: underline; text-underline-offset: 2px; }

/* --- Report: Vercel's Model list (controls, table), Klaviyo's date range control, Stripe's Total row ---- */
.ax-pagehead.row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ax-pagehead.row .ax-btn { flex: none; margin-top: 2px; }
.ax-repbar { align-items: flex-end; margin-top: 38px; }
.ax-repbar .ax-input { flex: 1 1 220px; width: auto; }
.ax-dr { display: flex; flex-direction: column; gap: 4px; }
.ax-dr-l { font-size: 13px; line-height: 16px; color: var(--ink-2); }
.ax-pop > summary.ax-dr-btn { width: auto; height: 39px; gap: 8px; padding: 0 12px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; font-weight: 500; white-space: nowrap; }
.ax-pop[open] > summary.ax-dr-btn { background: var(--on); }
.ax-pop > summary.ax-dr-btn .chev { color: var(--ink-2); transition: transform .15s; }
.ax-pop[open] > summary.ax-dr-btn .chev { transform: rotate(180deg); }
.ax-pop-menu.ax-dr-menu { width: 340px; max-width: calc(100vw - 24px); padding: 12px 0 0; border-radius: var(--r-lg); }
.ax-dr-opt { display: flex; align-items: flex-start; gap: 12px; padding: 7px 20px; cursor: pointer; }
.ax-dr-opt input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.ax-dr-opt .t { display: block; font-size: 15px; line-height: 20px; }
.ax-dr-opt .d { display: block; font-size: 13px; line-height: 18px; color: var(--ink-2); margin-top: 3px; }
.ax-dr-dates { display: flex; align-items: center; gap: 8px; height: 36px; margin: 6px 20px 18px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-2); }
.ax-dr-dates input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; color: var(--ink); padding: 0; }
.ax-dr-dates .dash { color: var(--muted); }
.ax-dr-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.ax-pop-menu a.ax-btn { display: inline-flex; width: auto; padding: 0 12px; border: 1px solid var(--line); }
.ax-colmenu .ax-dr-foot { margin: 6px -6px -6px; padding: 10px 10px; }
.ax-hasbox { gap: 8px; cursor: pointer; font-weight: 500; }
.ax-hasbox input { margin: 0; width: 15px; height: 15px; accent-color: var(--ink); }
.ax-pop > summary.ax-selbox { width: auto; height: 39px; padding: 0 38px 0 14px; border-radius: var(--r); font-weight: 500; white-space: nowrap; }
.ax-pop > summary.ax-selbox:hover { background: var(--panel); }
.ax-pop-menu.ax-colmenu { min-width: 280px; }
.ax-chk { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--r); font-size: 14px; cursor: pointer; }
.ax-chk:hover { background: var(--hover); }
.ax-chk input { margin: 0; width: 15px; height: 15px; accent-color: var(--ink); flex: none; }
table.ax-rep th a { display: inline-flex; align-items: center; gap: 4px; color: inherit; }
table.ax-rep th a:hover { color: var(--ink); }
table.ax-rep th .arr { color: var(--ink); }
table.ax-rep th.d, table.ax-rep td.d { padding-left: 0; width: 1%; }
table.ax-rep td a:hover { text-decoration: underline; }
table.ax-rep tr.total td { font-weight: 600; border-top: 1px solid var(--line); }
.ax-reppager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 2px 0; font-size: 13px; }
.ax-reppager .btns { display: flex; gap: 8px; }
.ax-reppager [aria-disabled="true"] { opacity: .45; cursor: default; }
.ax-repsrc { margin: 10px 2px 0; font-size: 13px; line-height: 20px; color: var(--muted); }

/* Home: the Numbers panel (Item · Figure · Source, window) */
.ax-numbers table.ax-t th { height: 34px; padding: 0 10px; font-size: 12px; }
.ax-numbers table.ax-t th:first-child, .ax-numbers table.ax-t td:first-child { padding-left: 15px; }
.ax-numbers table.ax-t td { padding: 9px 10px; vertical-align: top; line-height: 18px; }
.ax-numbers table.ax-t td:first-child a { font-weight: 500; }
.ax-numbers table.ax-t td:first-child a:hover { text-decoration: underline; }
.ax-numbers table.ax-t td.fig strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.ax-numbers table.ax-t td.fig .ax-muted, .ax-numbers table.ax-t td.src { display: block; font-size: 12px; color: var(--muted); }

@media (max-width: 860px) {
  .ax-pagehead.row { flex-wrap: wrap; }
  .ax-repbar { margin-top: 16px; }
  .ax-repbar .ax-selbox, .ax-repbar .ax-dr { max-width: 100%; }
  .ax-repbar .ax-selbox select { max-width: 100%; }
}
