/* KitAddr LK — boutique premium redesign v9 */

:root {
  --c-bg: #f6f1e6;
  --c-surface: #fffdf9;
  --c-surface-2: #f1eadb;
  --c-line: rgba(32, 28, 21, 0.11);
  --c-line-strong: rgba(32, 28, 21, 0.2);
  --c-ink: #201c15;
  --c-soft: #5b5346;
  --c-muted: #8a8171;
  --c-accent: #2f4a3c;
  --c-accent-h: #22392e;
  --c-accent-soft: #e7efe6;
  --c-accent-line: rgba(47, 74, 60, 0.25);
  --c-gold: #b1793c;
  --c-gold-soft: #f4e9d7;
  --c-ok: #2f4a3c;
  --c-ok-bg: #e7efe6;
  --c-warn: #8a5b12;
  --c-warn-bg: #f7ecd3;
  --c-danger: #a3372b;
  --c-danger-bg: #f6e6e0;
  --r: 14px;
  --r-sm: 10px;
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Fraunces', Georgia, serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  --shadow: 0 1px 2px rgba(32, 28, 21, 0.05), 0 20px 44px -18px rgba(32, 28, 21, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell-w: 1120px;
  --hdr-h: 58px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100%; }

body.body-app, body.body-auth {
  font-family: var(--font);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--c-accent); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.9em; }
.muted { color: var(--c-muted); }

/* ── Top shell ── */
.shell { min-height: 100vh; display: flex; flex-direction: column; }

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 230, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}

.hdr__inner {
  max-width: calc(var(--shell-w) + 48px);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.hdr-brand {
  display: flex; align-items: center; gap: 9px;
  color: var(--c-ink); font-family: var(--display);
  font-size: 18px; font-weight: 600;
}
.hdr-brand:hover { text-decoration: none; color: var(--c-ink); }
.hdr-brand__ico {
  width: 22px; height: 22px; fill: none; stroke: var(--c-accent);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.hdr-nav { display: flex; gap: 4px; flex: 1; }
.hdr-nav__link {
  padding: 8px 14px; border-radius: var(--r-sm);
  color: var(--c-soft); font-size: 14px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.hdr-nav__link:hover { background: var(--c-surface-2); color: var(--c-ink); text-decoration: none; }
.hdr-nav__link.is-active { background: var(--c-accent-soft); color: var(--c-accent-h); font-weight: 600; }

.hdr-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.hdr-search { position: relative; }
.hdr-search svg {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; fill: none; stroke: var(--c-muted);
  stroke-width: 1.8; stroke-linecap: round; pointer-events: none;
}
.hdr-search input {
  width: 200px; height: 36px; padding: 0 12px 0 32px;
  border: 1px solid var(--c-line); border-radius: 999px;
  background: var(--c-surface-2); font: inherit; font-size: 13px;
}
.hdr-search input:focus { outline: none; border-color: var(--c-accent-line); background: #fff; box-shadow: 0 0 0 3px var(--c-accent-line); }

.hdr-plan {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--c-accent-soft); border: 1px solid var(--c-accent-line);
  color: var(--c-accent-h); font-size: 12px; font-weight: 600;
}
.hdr-plan:hover { text-decoration: none; }
.hdr-plan__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); }

.hdr-tool { color: var(--c-soft); font-size: 13px; font-weight: 500; }
.hdr-tool:hover { color: var(--c-ink); text-decoration: none; }

.hdr-menu { position: relative; }
.hdr-menu summary { list-style: none; cursor: pointer; }
.hdr-menu summary::-webkit-details-marker { display: none; }
.hdr-account {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 8px 4px 4px; border-radius: 999px;
  border: 1px solid var(--c-line); background: #fff;
}
.hdr-account__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3f6350, var(--c-accent));
  color: #fff; font-size: 12px; font-weight: 600;
}
.hdr-account__name { font-size: 13px; font-weight: 600; padding-right: 4px; }

.hdr-menu__drop {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 200px; padding: 10px;
  border: 1px solid var(--c-line); border-radius: var(--r);
  background: #fff; box-shadow: var(--shadow);
}
.hdr-menu__drop a, .hdr-menu__drop button {
  display: block; width: 100%; padding: 9px 10px;
  border: 0; border-radius: var(--r-sm); background: transparent;
  color: var(--c-ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer;
}
.hdr-menu__drop a:hover, .hdr-menu__drop button:hover { background: var(--c-surface-2); text-decoration: none; }
.hdr-menu__email { padding: 6px 10px 10px; color: var(--c-muted); font-size: 12px; border-bottom: 1px solid var(--c-line); margin-bottom: 6px; }

.shell-main {
  flex: 1;
  max-width: calc(var(--shell-w) + 48px);
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

/* ── Dashboard ── */
.dash-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 24px;
}
.dash-eyebrow { color: var(--c-gold); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.dash-head h1 { font-family: var(--display); font-size: 32px; margin-top: 4px; font-weight: 600; }
.dash-lead { margin-top: 6px; color: var(--c-soft); font-size: 14px; }
.dash-head__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.dash-head__actions .search-input { flex: 0 1 220px; min-width: 160px; }
.dash-head__actions .btn { flex: none; }

/* Spotlight overview */
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(160px, 0.9fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 28px;
}

.overview__main, .overview__stats, .overview__spark {
  background: var(--c-surface);
  padding: 20px 22px;
}

.overview__main { display: flex; align-items: center; gap: 18px; }

.overview__ring {
  --pct: 0;
  width: 92px; height: 92px; flex: 0 0 92px; border-radius: 50%;
  background: conic-gradient(var(--c-accent) calc(var(--pct) * 1%), var(--c-surface-2) 0);
  display: flex; align-items: center; justify-content: center;
}
.overview__ring-inner {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--c-surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.overview__ring-inner strong { font-family: var(--display); font-size: 18px; font-weight: 600; }
.overview__ring-inner span { font-size: 9px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 1px; }

.overview__label { font-size: 14px; font-weight: 600; }
.overview__hint { margin-top: 4px; font-size: 12.5px; color: var(--c-muted); line-height: 1.4; max-width: 22ch; }

.overview__stats { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.overview__stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.overview__stats dt { font-size: 12px; color: var(--c-muted); }
.overview__stats dd { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 600; }

.overview__spark { display: flex; flex-direction: column; }
.overview__spark-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--c-soft); margin-bottom: 10px; }
.overview__spark-head small { color: var(--c-warn); font-weight: 500; }
.overview__bars { display: flex; align-items: flex-end; gap: 4px; flex: 1; min-height: 44px; }
.overview__bar { flex: 1; min-height: 4px; border-radius: 3px; background: linear-gradient(180deg, #6f9179, var(--c-accent)); }
.overview__spark-empty { flex: 1; display: flex; align-items: center; font-size: 11px; color: var(--c-muted); }

/* Site registry list */
.site-list {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--c-line);
}
.site-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px 8px 14px 16px;
  margin-left: -16px;
  border-bottom: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  box-shadow: inset 3px 0 0 transparent;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.site-row:hover { background: var(--c-surface); box-shadow: inset 3px 0 0 var(--c-accent); }

.site-row__link { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; }
.site-row__link:hover { text-decoration: none; }
.site-row__thumb { width: 52px; height: 36px; object-fit: cover; object-position: top; border-radius: 7px; border: 1px solid var(--c-line); flex-shrink: 0; background: var(--c-surface-2); }
.site-row__meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.site-row__meta strong { font-size: 14.5px; font-weight: 600; }
.site-row__meta .muted { font-size: 12px; }

.site-row__progress { display: flex; gap: 6px; }
.site-row__step {
  padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 650;
  background: var(--c-surface-2); color: var(--c-muted); white-space: nowrap;
}
.site-row__step.is-done { background: var(--c-ok-bg); color: var(--c-ok); }

.site-row__actions { display: flex; gap: 6px; }

.zero {
  text-align: center; padding: 64px 24px;
  background: var(--c-surface); border: 1px dashed var(--c-line);
  border-radius: var(--r);
}
.zero__icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--c-accent-soft);
  color: var(--c-accent); font-size: 28px; font-weight: 300;
}
.zero h2 { font-family: var(--display); font-size: 22px; font-weight: 600; }
.zero p { margin: 10px auto 20px; max-width: 360px; color: var(--c-soft); }

/* ── Workspace (site page) ── */
.ws { margin: 0 -24px; }

.ws-hero {
  position: relative; height: 200px; overflow: hidden;
  background: var(--c-ink);
}
.ws-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0.88; }
.ws-hero__overlay {
  position: absolute; inset: 0;
  padding: 24px 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(32, 28, 21, 0.15) 10%, rgba(32, 28, 21, 0.72) 100%);
  color: #fdfbf5;
}
.ws-hero__back { color: rgba(253, 251, 245, 0.72); font-size: 13px; margin-bottom: 8px; }
.ws-hero__back:hover { color: #fff; text-decoration: none; }
.ws-hero h1 { font-family: var(--display); font-size: 28px; font-weight: 600; }
.ws-hero__domain { margin-top: 4px; font-family: var(--mono); font-size: 13px; opacity: 0.75; }
.ws-hero__actions { display: flex; gap: 8px; margin-top: 14px; }
.ws-hero__actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.ws-hero__actions .btn-ghost:hover { background: rgba(255,255,255,0.1); }

.impersonate-bar {
  background: #1f3d2f;
  color: #f4f0e6;
  padding: 10px 16px;
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.impersonate-bar .linkish,
.impersonate-bar button {
  background: transparent;
  border: 0;
  color: #f0c36a;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

/* Scroll-doc body */
.doc-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
  max-width: calc(var(--shell-w) + 48px);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.doc-nav {
  position: sticky; top: calc(var(--hdr-h) + 20px);
  align-self: start;
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px 12px 20px 0;
  border-right: 1px solid var(--c-line);
}
.doc-nav__link {
  padding: 10px 14px; border-radius: var(--r-sm);
  color: var(--c-soft); font-size: 14px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.doc-nav__link:hover { background: var(--c-surface-2); color: var(--c-ink); text-decoration: none; }
.doc-nav__link {
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.doc-nav__link.is-active {
  background: var(--c-accent-soft); color: var(--c-accent-h); font-weight: 600;
  box-shadow: inset 3px 0 0 var(--c-accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.doc-main { padding: 20px 0 0 28px; min-width: 0; display: flex; flex-direction: column; }
.doc-main form { margin: 0; }

.doc-section {
  scroll-margin-top: calc(var(--hdr-h) + 24px);
  padding-bottom: 40px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: 16px;
}
.doc-section:last-child { border-bottom: 0; }

.doc-section__eyebrow {
  font-family: var(--display); font-size: 13px; font-weight: 600;
  color: var(--c-gold); letter-spacing: 0.03em;
}

.block {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r); padding: 22px 24px;
}
.block--aside { background: var(--c-surface-2); }
.block__head h2 { font-size: 17px; font-weight: 600; }
.block__head p { margin-top: 4px; color: var(--c-soft); font-size: 13px; }
.block__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--c-line); }

.ws-split { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }

.meta-list { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.meta-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.meta-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.meta-list dt { color: var(--c-muted); }
.meta-list dd { margin: 0; font-weight: 600; text-align: right; }

.scan-bar { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.scan-bar input { flex: 1; min-width: 200px; }

.map-table { width: 100%; margin-top: 16px; border-collapse: collapse; }
.map-table th, .map-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--c-line); font-size: 13px; }
.map-table th { color: var(--c-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.map-table td:first-child { width: 120px; color: var(--c-soft); font-weight: 500; }
.map-table input { width: 100%; min-height: 36px; font-family: var(--mono); font-size: 12.5px; }

.mod-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mod-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--c-line); cursor: pointer;
}
.mod-row.is-on { border-color: var(--c-accent-line); background: var(--c-accent-soft); }
.mod-row.is-soon { opacity: 0.55; cursor: not-allowed; }
.mod-row.is-locked { cursor: default; }
.mod-row input { width: 16px; height: 16px; accent-color: var(--c-accent); }
.mod-row b { display: block; font-size: 14px; }
.mod-row small { display: block; color: var(--c-muted); font-size: 12px; margin-top: 2px; }

.opt-list { margin-top: 14px; display: flex; flex-direction: column; }
.opt-row { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; }
.opt-row input { accent-color: var(--c-accent); }

.flow { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--c-line);
}
.flow-step:last-child { border-bottom: 0; }
.flow-step__num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent-soft); color: var(--c-accent-h);
  font-family: var(--display); font-weight: 600; font-size: 16px;
}
.flow-step__body h2 { font-size: 18px; font-weight: 600; }
.flow-step__body p { margin-top: 6px; color: var(--c-soft); font-size: 14px; }
.flow-step__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }

.timeline { list-style: none; margin: 16px 0 0; padding: 0; }
.timeline__item {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--c-line);
  position: relative;
}
.timeline__item::before {
  content: ''; position: absolute; left: 118px; top: 22px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-muted);
  transform: translateX(-50%);
}
.timeline__item--ok::before { background: var(--c-ok); }
.timeline__item--warn::before { background: var(--c-warn); }
.timeline__item time { font-size: 12px; color: var(--c-muted); padding-top: 2px; }
.timeline__body strong { font-size: 14px; }
.timeline__body p { margin-top: 3px; color: var(--c-soft); font-size: 13px; }

/* ── Auth split ── */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-shell__brand {
  position: relative;
  padding: 48px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(165deg, #1c2b21 0%, #2f4a3c 55%, #3d5f4c 100%);
  color: #f3f0e6;
  overflow: hidden;
}
.auth-shell__pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(243, 240, 230, 0.14); }
.auth-shell__arc { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(243, 240, 230, 0.14); }
.auth-shell__content { position: relative; z-index: 1; }
.auth-shell__logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--display); font-size: 22px; font-weight: 600;
  margin-bottom: 28px;
}
.auth-shell__logo svg { width: 26px; height: 26px; fill: none; stroke: #cfe0d4; stroke-width: 1.7; }
.auth-shell__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #cfe0d4; margin-bottom: 14px; }
.auth-shell__brand h2 { font-family: var(--display); font-size: 32px; font-weight: 600; max-width: 380px; line-height: 1.2; }
.auth-shell__lead { margin-top: 14px; max-width: 340px; color: rgba(243, 240, 230, 0.75); font-size: 15px; }
.auth-shell__list { margin: 28px 0 0; padding: 0; list-style: none; }
.auth-shell__list li {
  padding: 8px 0 8px 22px; position: relative;
  color: rgba(243, 240, 230, 0.85); font-size: 14px;
}
.auth-shell__list li::before { content: '✓'; position: absolute; left: 0; color: #cfe0d4; }

.auth-shell__main {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; background: var(--c-bg);
}
.auth-card {
  width: 100%; max-width: 380px;
  padding: 32px; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--r);
  box-shadow: var(--shadow);
  animation: auth-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes auth-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-card { animation: none; }
}
.auth-card h1 { font-family: var(--display); font-size: 26px; font-weight: 600; }
.auth-card__lead { margin-top: 8px; color: var(--c-soft); font-size: 14px; }
.auth-card__foot { margin-top: 20px; font-size: 13px; color: var(--c-muted); text-align: center; }
.auth-card .form { margin-top: 22px; }

/* ── Billing / pricing panel ── */
.status-ribbon {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 14px 20px; margin-bottom: 20px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r);
}
.status-ribbon__items { display: flex; gap: 28px; flex-wrap: wrap; }
.status-ribbon__item { display: flex; flex-direction: column; gap: 2px; }
.status-ribbon__item dt { font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.status-ribbon__item dd { margin: 0; font-size: 14px; font-weight: 600; }

.pricing-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; }
.pricing-col { position: relative; padding: 28px 26px; }
.pricing-col + .pricing-col { border-left: 1px solid var(--c-line); }
.pricing-col--accent { background: linear-gradient(165deg, var(--c-accent-soft) 0%, transparent 60%); }
.pricing-ribbon {
  position: absolute; top: 20px; right: 26px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--c-gold); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
}
.pricing-col h3 { font-family: var(--display); font-size: 18px; font-weight: 600; }
.pricing-col__price { font-family: var(--display); font-size: 32px; font-weight: 600; margin: 8px 0 16px; letter-spacing: -0.02em; }
.pricing-col__price span { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--c-muted); }
.pricing-col ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pricing-col li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--c-soft); }
.pricing-col li svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--c-accent); stroke-width: 2; }
.pricing-col .btn { width: 100%; }

/* ── Shared UI ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1px solid var(--c-line-strong); background: var(--c-surface);
  font: inherit; font-size: 14px; font-weight: 550; cursor: pointer;
  color: var(--c-ink); white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--c-surface-2); text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--c-accent-line); }
.btn-primary { background: var(--c-accent); border-color: var(--c-accent); color: #fff; box-shadow: 0 4px 14px rgba(47, 74, 60, 0.25); }
.btn-primary:hover { background: var(--c-accent-h); border-color: var(--c-accent-h); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--c-surface-2); }
.btn-danger { background: var(--c-danger-bg); border-color: rgba(163, 55, 43, 0.3); color: var(--c-danger); }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }

.tag {
  display: inline-flex; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 650; white-space: nowrap;
}
.tag--ok { background: var(--c-ok-bg); color: var(--c-ok); }
.tag--warn { background: var(--c-warn-bg); color: var(--c-warn); }
.tag--muted { background: var(--c-surface-2); color: var(--c-muted); }

.pill { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 650; }
.pill-ok { background: var(--c-ok-bg); color: var(--c-ok); }
.pill-warn { background: var(--c-warn-bg); color: var(--c-warn); }
.pill-muted { background: var(--c-surface-2); color: var(--c-muted); }
.pill-bad { background: var(--c-danger-bg); color: var(--c-danger); }

.search-input, input[type='text'], input[type='email'], input[type='password'], input[type='url'], input[type='search'] {
  min-height: 38px; padding: 0 12px; border: 1px solid var(--c-line);
  border-radius: var(--r-sm); background: var(--c-surface); font: inherit; font-size: 14px; width: 100%;
  color: var(--c-ink);
}
input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-line); }

.form { display: flex; flex-direction: column; gap: 14px; }
.label-text { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--c-soft); }
.hint { display: block; margin-top: 5px; font-size: 12px; color: var(--c-muted); }
.input-row { display: flex; gap: 10px; align-items: center; }
.input-row input { flex: 1; }

.guide-box {
  margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--c-surface-2); border: 1px solid var(--c-line);
  font-size: 12.5px; color: var(--c-soft); line-height: 1.45;
}
.guide-box__title { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: var(--c-ink); }
.guide-box ol { margin: 0; padding-left: 18px; }
.guide-box li { margin-bottom: 5px; }
.guide-box li:last-child { margin-bottom: 0; }
.guide-box a { color: var(--c-accent); }
.guide-box__note { display: block; margin-top: 8px; color: var(--c-muted); }

.code {
  margin-top: 14px; padding: 16px; border-radius: var(--r-sm);
  background: var(--c-ink); color: #f0ead9; font-family: var(--mono); font-size: 13px;
  overflow-x: auto; line-height: 1.6;
}
.key-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--c-muted); }
.key-line code { padding: 4px 8px; background: var(--c-surface-2); border-radius: 6px; }

.flash { padding: 12px 14px; border-radius: var(--r-sm); font-size: 13.5px; margin-bottom: 14px; }
.flash.ok { background: var(--c-ok-bg); color: var(--c-ok); }
.flash.error { background: var(--c-danger-bg); color: var(--c-danger); }
.flash.warn { background: var(--c-warn-bg); color: var(--c-warn); }

.scan-panel { margin-top: 14px; padding: 16px; background: var(--c-surface-2); border-radius: var(--r-sm); font-size: 13px; }
.scan-list { margin: 10px 0 0; padding-left: 18px; }
.scan-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.scan-bar input[type='url'] { flex: 1 1 220px; min-width: 0; }
.cart-audit-table { margin-top: 12px; }
.cart-audit-table td { vertical-align: middle; }
.cart-audit-table .pill { margin-right: 4px; }
.table-wrap { overflow-x: auto; }

/* Tilda mock */
.tf-mock { margin-top: 14px; padding: 12px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-bg); }
.tf-mock__head { display: flex; justify-content: space-between; padding-bottom: 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--c-muted); }
.tf-mock__head svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.tf-mock__row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 10px 12px; border-radius: 8px; background: var(--c-surface); border: 1px solid var(--c-line); font-size: 12.5px; }
.tf-mock__row--anchor { background: var(--c-accent-soft); box-shadow: inset 0 0 0 1.5px var(--c-accent-line); }
.tf-mock__drag { color: var(--c-muted); letter-spacing: -2px; }
.tf-mock__text { flex: 1; }
.tf-mock__chev { width: 14px; height: 14px; fill: none; stroke: var(--c-muted); stroke-width: 2; }
.tf-mock__chev.is-open { stroke: var(--c-accent); transform: rotate(90deg); }
.tf-mock__detail { margin: -2px 0 8px; padding: 12px; border: 1px solid var(--c-accent-line); border-top: 0; border-radius: 0 0 8px 8px; background: var(--c-surface); }
.tf-mock__detail-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; border-bottom: 1px dashed var(--c-line); }
.tf-mock__detail-row:last-child { border-bottom: 0; }
.tf-mock__detail-row span { color: var(--c-muted); font-size: 10px; text-transform: uppercase; }
.tf-mock__detail-row code { font-size: 11px; padding: 2px 6px; background: var(--c-accent-soft); border-radius: 4px; }

/* Docs in app */
.docs-page { max-width: 720px; }
.docs-hero h1 { font-family: var(--display); font-size: 30px; margin: 8px 0; font-weight: 600; }
.docs-card { position: relative; padding: 24px 24px 24px 68px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r); margin-bottom: 12px; }
.docs-card__number { position: absolute; left: 22px; top: 24px; width: 32px; height: 32px; border-radius: 50%; background: var(--c-accent-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--c-accent-h); }
.docs-key-values, .docs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.docs-key-values span, .docs-fields code { padding: 10px; background: var(--c-surface-2); border-radius: var(--r-sm); font-family: var(--mono); font-size: 12px; }

.crumb { margin-bottom: 8px; font-size: 13px; }
.page-head h1 { font-family: var(--display); font-size: 28px; font-weight: 600; }
.page-head__lead { color: var(--c-soft); margin-top: 6px; }

.dash--narrow { max-width: 520px; }
.form-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.aside-note { margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--c-warn-bg); color: var(--c-warn); font-size: 12px; }
.steps { margin: 12px 0; padding-left: 20px; font-size: 13px; color: var(--c-soft); }
.steps li { margin-bottom: 6px; }
.dash-eyebrow a { color: inherit; text-decoration: none; }
.dash-eyebrow a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .hdr-nav { display: none; }
  .hdr-search input { width: 140px; }
  .overview { grid-template-columns: 1fr; }
  .site-row { grid-template-columns: 1fr; align-items: flex-start; gap: 10px; }
  .doc-body { grid-template-columns: 1fr; }
  .doc-nav { position: static; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--c-line); padding: 12px 0; }
  .doc-nav__link.is-active { box-shadow: inset 0 -3px 0 var(--c-accent); border-radius: var(--r-sm); }
  .doc-main { padding: 16px 0 0; }
  .ws-split { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-shell__brand { display: none; }
  .pricing-panel { grid-template-columns: 1fr; }
  .pricing-col + .pricing-col { border-left: 0; border-top: 1px solid var(--c-line); }
}

@media (max-width: 600px) {
  .shell-main { padding: 20px 16px 40px; }
  .dash-head { flex-direction: column; align-items: stretch; }
  .dash-head__actions { flex-direction: column; }
  .ws-hero { height: 160px; }
  .timeline__item { grid-template-columns: 1fr; }
  .timeline__item::before { display: none; }
  .status-ribbon { flex-direction: column; align-items: flex-start; }
}
