:root {
  --ink: #19201c;
  --muted: #667069;
  --line: #dce2de;
  --soft: #f4f6f4;
  --paper: #ffffff;
  --sidebar: #111713;
  --green: #17633f;
  --green-strong: #0f4f31;
  --green-soft: #e7f3ec;
  --blue: #315dbe;
  --blue-soft: #eaf0ff;
  --amber: #8b5b0a;
  --amber-soft: #fff2d5;
  --red: #a7332a;
  --red-soft: #fbe9e7;
  --shadow: 0 8px 30px rgba(19, 31, 24, 0.08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; max-width: 100%; overflow-x: hidden; overflow-x: clip; background: var(--soft); }
body { margin: 0; min-height: 100vh; max-width: 100%; overflow-x: hidden; overflow-x: clip; color: var(--ink); background: var(--soft); }
button, input, select { font: inherit; letter-spacing: 0; }
a { color: inherit; }
svg { width: 18px; height: 18px; stroke-width: 1.8; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 25px; line-height: 1.2; letter-spacing: 0; }
h2 { margin-bottom: 5px; font-size: 18px; line-height: 1.3; letter-spacing: 0; }
h3 { font-size: 16px; line-height: 1.35; letter-spacing: 0; }
p { color: var(--muted); line-height: 1.55; }
code { padding: 2px 5px; border: 1px solid #e0e4e1; border-radius: 4px; background: #f7f8f7; color: #39423d; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; background: var(--paper); color: var(--ink); border-radius: 4px; }
.skip-link:focus { transform: none; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 14px 15px; background: var(--sidebar); color: #eef4f0; z-index: 40; }
.brand-lockup { display: flex; align-items: center; gap: 11px; padding: 0 8px 24px; }
.brand-lockup > span:last-child { display: grid; }
.brand-lockup strong { font-size: 17px; line-height: 1.2; }
.brand-lockup small { margin-top: 2px; color: #92a39a; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #31a269; color: #fff; font-weight: 800; }
.primary-nav { display: grid; gap: 4px; }
.primary-nav a, .nav-button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 42px; padding: 0 11px; border: 0; border-radius: 5px; color: #aebbb3; background: transparent; text-decoration: none; font-size: 14px; font-weight: 650; cursor: pointer; }
.primary-nav a:hover, .nav-button:hover { color: #fff; background: #1d2721; }
.primary-nav a[aria-current="page"] { color: #fff; background: #243229; }
.primary-nav a[aria-current="page"] svg { color: #57c087; }
.sidebar-footer { margin-top: auto; display: grid; gap: 9px; }
.environment { display: flex; align-items: center; gap: 8px; padding: 10px 11px; border-top: 1px solid #2a342d; border-bottom: 1px solid #2a342d; color: #8fa197; font-size: 11px; }
.environment i { width: 7px; height: 7px; border-radius: 50%; background: #47ba7d; box-shadow: 0 0 0 3px rgba(71, 186, 125, 0.12); }

.workspace { min-width: 0; }
.topbar { min-height: 91px; display: flex; align-items: center; gap: 16px; padding: 18px clamp(22px, 3vw, 44px); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); }
.topbar > div { min-width: 0; }
.breadcrumb { margin-bottom: 4px; color: #758078; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.create-store { margin-left: auto; }
.icon-button.mobile-menu { display: none; }
.icon-button.sidebar-close { display: none; }
.main-content { max-width: 1540px; padding: 28px clamp(22px, 3vw, 44px) 56px; }

.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-weight: 750; font-size: 13px; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, select:focus-visible, .icon-button:focus-visible, .copy-button:focus-visible { outline: 3px solid rgba(49, 93, 190, .22); outline-offset: 2px; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover:not(:disabled) { background: var(--green-strong); }
.button-secondary { border-color: #bec8c1; background: var(--paper); color: #263029; }
.button-secondary:hover:not(:disabled) { border-color: #829187; background: #f8faf8; }
.button-small { min-height: 34px; padding: 0 11px; font-size: 12px; }
.button-large { min-height: 48px; padding: 0 20px; }
.button-full { width: 100%; }
.button:disabled { cursor: not-allowed; background: #c5cbc7; color: #6e7771; }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); cursor: pointer; }
.text-action { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 13px; font-weight: 750; text-decoration: none; }
.icon-link { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 4px; color: #5d6961; }
.icon-link:hover { background: var(--soft); color: var(--green); }

.flash-stack { display: grid; gap: 8px; margin-bottom: 20px; }
.flash { min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid; border-radius: 5px; font-size: 13px; }
.flash-success { border-color: #acd4bd; background: var(--green-soft); color: #185639; }
.flash-error { border-color: #e8b8b3; background: var(--red-soft); color: var(--red); }

.section-toolbar, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-toolbar p, .section-heading p { margin-bottom: 0; font-size: 13px; }
.period-tabs { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.period-tabs a { min-height: 32px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 4px; color: #69736d; text-decoration: none; font-size: 12px; font-weight: 700; white-space: nowrap; }
.period-tabs a[aria-current="page"] { background: #e7ece8; color: #18221c; }
.performance-toolbar { align-items: flex-end; }
.performance-controls { display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.country-filter { display: flex; align-items: flex-end; gap: 7px; }
.country-filter label { gap: 4px; }
.country-filter label > span { display: inline-flex; align-items: center; gap: 5px; color: #69736d; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.country-filter label > span svg { width: 14px; height: 14px; color: var(--green); }
.country-filter select { width: 190px; min-height: 40px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.metric-grid article { min-width: 0; position: relative; min-height: 126px; display: flex; flex-direction: column; justify-content: center; padding: 21px 22px; border-right: 1px solid var(--line); }
.metric-grid article:last-child { border-right: 0; }
.metric-grid article > svg { position: absolute; top: 20px; right: 20px; width: 20px; height: 20px; color: #8d9891; }
.metric-grid span { padding-right: 28px; color: #6e7871; font-size: 12px; font-weight: 650; }
.metric-grid strong { margin: 7px 0 4px; font-size: 29px; line-height: 1.05; letter-spacing: 0; overflow-wrap: anywhere; }
.metric-grid small { color: var(--muted); font-size: 11px; }
.metric-grid .metric-revenue { background: #f0f7f3; }
.metric-grid .metric-revenue > svg { color: var(--green); }
.five-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.resource-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0 30px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.resource-strip div { display: flex; align-items: baseline; gap: 8px; padding: 0 20px; border-right: 1px solid var(--line); }
.resource-strip div:first-child { padding-left: 4px; }
.resource-strip div:last-child { border-right: 0; }
.resource-strip b { color: var(--green); font-size: 18px; }
.resource-strip span { color: #68736c; font-size: 12px; }

.data-section { margin-top: 26px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: 0 4px 18px rgba(19, 31, 24, 0.04); overflow: hidden; }
.data-section > .section-heading { min-height: 76px; margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; contain: layout inline-size paint; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 12px; }
th { padding: 11px 15px; border-bottom: 1px solid var(--line); background: #f7f9f7; color: #717b74; font-size: 10px; font-weight: 800; text-align: left; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
td { min-height: 58px; padding: 13px 15px; border-bottom: 1px solid #e8ece9; color: #3e4842; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfb; }
td > strong { color: var(--ink); }
td > small { display: block; margin-top: 3px; color: #7a847e; }
.entity { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.entity > span:last-child { display: grid; }
.entity strong { color: var(--ink); font-size: 13px; }
.entity small { margin-top: 2px; color: #7a847e; }
.favicon-tile, .favicon-large { display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #c7d7ce; border-radius: 5px; background: #edf6f1; color: var(--green); font-weight: 850; }
.favicon-tile { width: 32px; height: 32px; }
.favicon-large { width: 50px; height: 50px; font-size: 19px; }

.status { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border-radius: 999px; background: #edf0ee; color: #657069; font-size: 10px; font-weight: 800; text-transform: capitalize; white-space: nowrap; }
.status-active, .status-ready, .status-verified, .status-enabled, .status-paid, .status-complete { background: var(--green-soft); color: #17613e; }
.status-pending, .status-queued, .status-provisioning, .status-awaiting-delegation, .status-not-configured, .status-processing { background: var(--amber-soft); color: var(--amber); }
.status-error, .status-failed, .status-restricted, .status-canceled, .status-cancelled { background: var(--red-soft); color: var(--red); }
.status-running { background: var(--blue-soft); color: var(--blue); }
.mode { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: 4px; background: #ecefee; color: #59645e; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.mode-live { background: #e7f0ff; color: #2658a9; }
.error-copy { max-width: 420px; color: var(--red) !important; line-height: 1.4; overflow-wrap: anywhere; }
.job-error { max-width: 380px; color: #69736d; overflow-wrap: anywhere; }

.empty-state { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px; text-align: center; }
.empty-state > svg { width: 30px; height: 30px; margin-bottom: 13px; color: #809087; }
.empty-state h3 { margin-bottom: 3px; }
.empty-state p { max-width: 420px; margin-bottom: 16px; font-size: 13px; }
.empty-state.compact { min-height: 180px; }

.action-section { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.15fr); gap: 38px; align-items: end; padding: 24px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.action-section p { max-width: 570px; margin-bottom: 0; font-size: 13px; }
.action-section-wide { align-items: start; }
.eyebrow { margin-bottom: 6px !important; color: var(--green) !important; font-size: 10px !important; font-weight: 850; text-transform: uppercase; letter-spacing: 0.09em; }
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
label { display: grid; gap: 7px; color: #3e4942; font-size: 12px; font-weight: 750; }
label small { color: #7c8680; font-size: 11px; font-weight: 500; line-height: 1.4; }
input, select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #bac4bd; border-radius: 5px; background: var(--paper); color: var(--ink); font-size: 13px; }
input::placeholder { color: #9ba39e; }
select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, #657069 50%), linear-gradient(135deg, #657069 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 45px; }
.password-field button { position: absolute; top: 1px; right: 1px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: #6d7871; cursor: pointer; }
.credential-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.credential-form label:first-of-type { grid-column: 1 / -1; }
.credential-form .button { grid-column: 1 / -1; justify-self: end; }

.dns-band { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(420px, 1.2fr); gap: 24px; align-items: center; margin-top: 18px; padding: 16px 20px; border: 1px solid #cdd8d1; border-radius: 6px; background: #edf4f0; }
.dns-band > div { display: flex; align-items: center; gap: 12px; }
.dns-band > div > svg { width: 23px; height: 23px; color: var(--green); }
.dns-band span { display: grid; }
.dns-band small { margin-top: 3px; color: #67736b; font-size: 11px; }
.dns-band ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dns-band li { display: flex; align-items: center; justify-content: space-between; min-width: 0; padding: 7px 7px 7px 9px; border: 1px solid #c6d1ca; border-radius: 5px; background: var(--paper); }
.dns-band code { border: 0; padding: 0; background: transparent; white-space: nowrap; }
.copy-button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 4px; background: transparent; color: #617068; cursor: pointer; }
.copy-button:hover { background: #e8ede9; }

.template-section { margin-top: 0; }
.template-list { display: grid; }
.template-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.template-row:last-child { border-bottom: 0; }
.template-preview { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); }
.template-preview img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.template-copy h3 { margin: 8px 0 4px; font-size: 17px; }
.template-copy p { max-width: 680px; margin-bottom: 13px; font-size: 12px; }
.template-copy dl { display: flex; gap: 26px; margin: 0; }
.template-copy dl div { display: grid; gap: 2px; }
.template-copy dt { color: #78837c; font-size: 10px; text-transform: uppercase; }
.template-copy dd { margin: 0; font-size: 12px; font-weight: 750; }
.locale-chip { display: inline-flex; margin-right: 7px; padding: 4px 7px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); font-size: 10px; font-weight: 800; }

.provision-form { border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.provision-form > header { display: flex; align-items: center; gap: 15px; padding: 22px 25px 13px; }
.provision-form > header:not(:first-of-type) { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.provision-form > header h2 { margin-bottom: 0; }
.step-index { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #bed1c5; border-radius: 50%; color: var(--green); font-size: 11px; font-weight: 850; }
.form-grid { padding: 7px 25px 24px 74px; }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 7px 25px 28px 74px; }
.choice-field { min-height: 150px; align-content: start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fafbfa; }
.choice-field > span { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; }
.choice-field > span svg { color: var(--green); }
.choice-field small { margin-top: auto; }
.provision-footer { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 25px; border-top: 1px solid var(--line); background: #f5f8f6; }
.provision-footer > div { display: flex; align-items: center; gap: 12px; }
.provision-footer > div > svg { width: 24px; height: 24px; color: var(--green); }
.provision-footer span { display: grid; }
.provision-footer small { max-width: 670px; margin-top: 3px; color: #6d7871; font-size: 11px; }

.store-header { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding: 19px 21px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.store-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.store-identity h2 { margin: 6px 0 2px; font-size: 20px; overflow-wrap: break-word; }
.store-identity p { margin-bottom: 0; font-size: 11px; }
.store-identity .status { margin-right: 6px; }
.store-actions { display: flex; gap: 8px; }
.access-panel { margin-bottom: 26px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.access-panel-heading { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.access-panel-heading h2 { margin: 0; }
.access-form { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(280px, 1.2fr) auto; gap: 18px; align-items: end; padding: 18px; }
.toggle-field { min-height: 42px; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 10px; cursor: pointer; }
.toggle-field input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.toggle-track { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #b9c1bc; transition: background .16s ease; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .16s ease; }
.toggle-field input:checked + .toggle-track { background: var(--green); }
.toggle-field input:checked + .toggle-track::after { transform: translateX(16px); }
.toggle-field input:focus-visible + .toggle-track { outline: 3px solid rgba(49, 93, 190, .22); outline-offset: 2px; }
.toggle-field input:disabled + .toggle-track { opacity: .48; }
.toggle-field > span:last-child { display: grid; gap: 2px; }
.toggle-field strong { font-size: 12px; }
.toggle-field small { color: #727e76; }
.access-form-actions { display: flex; align-items: center; gap: 8px; }
.access-policy-note { min-height: 45px; display: flex; align-items: center; gap: 9px; padding: 10px 18px; border-top: 1px solid var(--line); background: #f6f8f6; color: #667169; font-size: 11px; }
.access-policy-note svg { width: 17px; height: 17px; color: #8a6a1f; }
.access-panel > .error-copy { margin: 0; padding: 0 18px 16px; }
.analytics-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, .7fr); gap: 18px; margin-top: 18px; }
.chart-panel, .funnel-panel, .details-grid article { border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: 0 4px 18px rgba(19, 31, 24, 0.04); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; min-height: 69px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin-bottom: 2px; }
.panel-heading p { margin-bottom: 0; font-size: 11px; }
.panel-heading > svg { color: #7b8780; }
.bar-chart { height: 250px; display: flex; align-items: stretch; gap: clamp(4px, .8vw, 12px); padding: 24px 18px 16px; overflow-x: auto; }
.bar-column { min-width: 23px; flex: 1 0 23px; display: grid; grid-template-rows: 18px minmax(0, 1fr) 17px; justify-items: center; gap: 5px; }
.bar-column progress { width: 100%; height: 100%; writing-mode: vertical-lr; direction: rtl; appearance: none; border: 0; border-radius: 3px 3px 1px 1px; overflow: hidden; background: #e9eeeb; }
.bar-column progress::-webkit-progress-bar { background: #e9eeeb; }
.bar-column progress::-webkit-progress-value { background: #3e74c9; }
.bar-column progress::-moz-progress-bar { background: #3e74c9; }
.bar-value { color: #58645c; font-size: 10px; }
.bar-column small { color: #849088; font-size: 9px; white-space: nowrap; }
.funnel-list { margin: 0; padding: 7px 18px 12px; }
.funnel-list div { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-bottom: 1px solid #e8ece9; }
.funnel-list div:last-child { border-bottom: 0; }
.funnel-list dt { color: #667169; font-size: 12px; }
.funnel-list dd { margin: 0; font-size: 16px; font-weight: 800; }
.checkout-diagnostics { margin-top: 18px; }
.diagnostic-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.diagnostic-metrics article { min-width: 0; padding: 16px 18px; border-right: 1px solid var(--line); background: var(--paper); }
.diagnostic-metrics article:last-child { border-right: 0; }
.diagnostic-metrics span, .diagnostic-metrics small { display: block; color: var(--muted); }
.diagnostic-metrics span { font-size: 11px; font-weight: 700; }
.diagnostic-metrics strong { display: block; margin: 5px 0 3px; font-size: 24px; font-variant-numeric: tabular-nums; }
.diagnostic-metrics small { font-size: 10px; }
.diagnostic-metrics .diagnostic-alert { background: #fffaf0; }
.diagnostic-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.diagnostic-columns > article { min-width: 0; border-right: 1px solid var(--line); }
.diagnostic-columns > article:last-child { border-right: 0; }
.diagnostic-columns .panel-heading h3, .diagnostic-journey-heading h3 { margin: 0 0 2px; font-size: 13px; }
.diagnostic-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 11px; }
.diagnostic-methods > strong { margin-right: 4px; }
.diagnostic-methods span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); color: var(--muted); }
.diagnostic-methods b { margin-left: 4px; color: var(--ink); }
.diagnostic-journey-heading { border-bottom: 1px solid var(--line); }
.journey-table { min-width: 980px; }
.journey-table td { vertical-align: top; }
.journey-table td small { display: block; margin-top: 3px; color: var(--muted); }
.journey-table .journey-timeline { max-width: 440px; white-space: normal; line-height: 1.45; }
.journey-details { margin-top: 8px; }
.journey-details summary { width: fit-content; cursor: pointer; color: var(--green); font-weight: 700; }
.journey-details ol { margin: 10px 0 0; padding: 0 0 0 18px; border-left: 1px solid var(--line); list-style: none; }
.journey-details li { position: relative; padding: 0 0 12px 10px; }
.journey-details li::before { position: absolute; top: 5px; left: -22px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); content: ""; }
.journey-details li:last-child { padding-bottom: 0; }
.journey-details li > div { display: flex; justify-content: space-between; gap: 12px; }
.journey-details time { color: var(--muted); font-size: 10px; white-space: nowrap; }
.journey-details code { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.details-grid article { padding: 18px; }
.details-grid dl { margin: 12px 0 0; }
.details-grid dl div { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e8ece9; }
.details-grid dl div:last-child { border-bottom: 0; }
.details-grid dt { color: #6c7770; font-size: 11px; }
.details-grid dd { margin: 0; text-align: right; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }

.login-page { background: #0f1612; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, .9fr) minmax(450px, 1.1fr); }
.login-brand { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px, 5vw, 74px); overflow: hidden; color: #fff; background: #112119; }
.login-brand::after { content: ""; position: absolute; inset: auto -18% -35% 18%; aspect-ratio: 1; border: 1px solid rgba(120, 210, 161, .16); border-radius: 50%; box-shadow: 0 0 0 80px rgba(120, 210, 161, .04), 0 0 0 160px rgba(120, 210, 161, .025); pointer-events: none; }
.brand-lockup-light { padding: 0; }
.brand-lockup-light small { color: #a5b8ad; }
.login-brand > div:nth-child(2) { position: relative; z-index: 1; max-width: 560px; }
.login-brand h1 { margin-bottom: 18px; font-size: 58px; line-height: 1.04; letter-spacing: 0; }
.login-brand p { max-width: 500px; color: #aabbb1; font-size: 16px; }
.eyebrow-light { color: #66cb91 !important; font-size: 11px !important; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.login-security { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: #9eb1a6; font-size: 11px; }
.login-form-wrap { display: grid; place-items: center; min-height: 100vh; padding: 32px; background: #f6f8f6; }
.login-form { width: min(100%, 410px); display: grid; gap: 18px; }
.form-heading { margin-bottom: 6px; }
.form-heading h2 { margin-bottom: 6px; font-size: 29px; }
.form-heading p { margin-bottom: 0; font-size: 13px; }
.mobile-brand { display: none; margin-bottom: 20px; }
.form-error { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid #e3b3ae; border-radius: 5px; background: var(--red-soft); color: var(--red); font-size: 12px; }
.login-form input { min-height: 47px; }
.login-form .password-field button { height: 45px; }
.login-form .button { min-height: 48px; margin-top: 4px; }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid article:nth-child(2) { border-right: 0; }
  .metric-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .five-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .five-metrics article:nth-child(2) { border-right: 1px solid var(--line); }
  .five-metrics article:nth-child(3) { border-right: 0; }
  .five-metrics article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .five-metrics article:nth-child(4) { border-bottom: 0; }
  .five-metrics article:last-child { grid-column: span 2; }
  .dns-band { grid-template-columns: 1fr; }
  .action-section { grid-template-columns: 1fr; gap: 20px; }
  .analytics-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; transform: translateX(-102%); width: 236px; box-shadow: 14px 0 40px rgba(0,0,0,.2); transition: transform .2s ease; }
  .sidebar.is-open { transform: translateX(0); }
  .icon-button.sidebar-close { position: absolute; top: 18px; right: 14px; display: inline-grid; border-color: #33423a; background: #1d2721; color: #fff; }
  .brand-lockup { padding-right: 46px; }
  .icon-button.mobile-menu { display: inline-grid; }
  .topbar { min-height: 78px; padding: 14px 18px; }
  .topbar h1 { font-size: 20px; }
  .breadcrumb { max-width: 180px; }
  .main-content { padding: 22px 18px 44px; }
  .choice-grid { grid-template-columns: 1fr; padding-left: 25px; }
  .form-grid { padding-left: 25px; }
  .template-row { grid-template-columns: 150px minmax(0, 1fr); }
  .template-row > .button { grid-column: 2; justify-self: start; }
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .mobile-brand { display: grid; }
  .login-form-wrap { min-height: 100vh; }
  .login-brand h1 { font-size: 44px; }
}

@media (max-width: 640px) {
  .create-store { width: 40px; padding: 0; font-size: 0; }
  .create-store svg { width: 19px; height: 19px; }
  .section-toolbar, .section-heading { align-items: flex-start; flex-direction: column; }
  .performance-controls, .country-filter { width: 100%; }
  .country-filter label { width: 100%; }
  .country-filter select { width: 100%; }
  .period-tabs { width: 100%; overflow-x: auto; }
  .period-tabs a { flex: 1 0 auto; justify-content: center; }
  .metric-grid, .five-metrics { grid-template-columns: 1fr; }
  .metric-grid article, .metric-grid article:nth-child(2), .five-metrics article:nth-child(3), .five-metrics article:nth-child(4) { min-height: 105px; border-right: 0; border-bottom: 1px solid var(--line); }
  .five-metrics article:last-child { grid-column: auto; }
  .metric-grid article:last-child { border-bottom: 0; }
  .resource-strip { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .resource-strip div { padding: 0 12px; }
  .resource-strip div:nth-child(2) { border-right: 0; }
  .resource-strip div:nth-child(3) { padding-left: 4px; }
  .inline-form, .credential-form, .two-columns, .details-grid, .access-form { grid-template-columns: 1fr; }
  .access-form-actions { justify-content: stretch; }
  .access-form-actions .button { flex: 1; }
  .credential-form label:first-of-type, .credential-form .button { grid-column: auto; }
  .credential-form .button { width: 100%; }
  .dns-band ol { grid-template-columns: 1fr; }
  .template-row { grid-template-columns: 1fr; }
  .template-preview { width: 100%; }
  .template-row > .button { grid-column: auto; justify-self: stretch; }
  .template-copy dl { flex-wrap: wrap; }
  .provision-form > header { padding-inline: 18px; }
  .form-grid, .choice-grid { padding-inline: 18px; }
  .provision-footer { align-items: stretch; flex-direction: column; padding: 18px; }
  .store-header { align-items: flex-start; flex-direction: column; }
  .store-identity h2 { font-size: 18px; }
  .store-actions, .store-actions form, .store-actions .button { width: 100%; }
  .store-actions { flex-direction: column; }
  .login-form-wrap { padding: 24px 18px; }
  .login-form { max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Live activity panel ---------------------------------------------------- */
.live-panel { margin-bottom: 26px; padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.live-panel.is-stale { border-color: #e6d4a8; background: #fffdf6; }
.live-panel.is-paused { opacity: 0.86; }
.live-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.live-head h2 { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; }
.live-head p { margin: 0; font-size: 12px; }
.live-meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.live-meta .text-action { font-size: 12px; }

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #b9c2bc; flex: 0 0 auto; }
.live-dot.is-live { background: var(--green); box-shadow: 0 0 0 0 rgba(23, 99, 63, 0.45); animation: live-pulse 2s infinite; }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(23, 99, 63, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(23, 99, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 99, 63, 0); }
}

/* auto-fit, not a fixed 4: the funnel became six tiles on 27 Aug (Visitors, ATC, step 1, step 2, step 3, Purchases) and a hard 4-column grid left a ragged half row. */
.live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 12px; }
.live-tile { position: relative; min-width: 0; padding: 15px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); }
.live-tile > svg { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; color: #8d9891; }
.live-tile span { display: block; padding-right: 26px; color: #6e7871; font-size: 12px; font-weight: 650; }
.live-tile strong { display: block; margin: 6px 0 3px; font-size: 27px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.live-tile small { color: var(--muted); font-size: 11px; }
.live-tile-accent { border-color: #bcd8c8; background: var(--green-soft); }
.live-tile-accent > svg { color: var(--green); }
.live-tile-revenue { border-color: #bcd8c8; background: #f0f7f3; }
.live-tile-revenue > svg { color: var(--green); }
.is-bumped { animation: live-bump 0.5s ease-out; }
@keyframes live-bump {
  0% { transform: translateY(-3px); opacity: 0.45; }
  100% { transform: none; opacity: 1; }
}

.live-split { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(260px, 0.85fr); gap: 18px; margin-top: 18px; }
.live-split h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 9px; font-size: 13px; }
.live-split h3 small { color: var(--muted); font-size: 11px; font-weight: 400; }
.live-stores table { width: 100%; min-width: 0; table-layout: fixed; }
.live-stores th, .live-stores td { padding-right: 6px; padding-left: 10px; white-space: nowrap; }
.live-stores th:first-child, .live-stores td:first-child { width: 34%; white-space: normal; overflow-wrap: anywhere; }
.live-stores th:not(:first-child), .live-stores td:not(:first-child) { width: 13.2%; }
.live-stores th { font-size: 10px; letter-spacing: 0.02em; }
.live-stores td { font-variant-numeric: tabular-nums; }
.live-stores td small { display: block; color: var(--muted); font-size: 11px; }
.live-count { display: inline-block; min-width: 25px; padding: 1px 7px; border-radius: 20px; background: var(--soft); color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; }
.live-count.is-active { background: var(--green-soft); color: var(--green-strong); font-weight: 650; }

.live-feed ol, .live-feed { min-width: 0; }
.live-feed ol { max-height: 268px; margin: 0; padding: 0; overflow-y: auto; list-style: none; border: 1px solid var(--line); border-radius: 6px; }
.live-feed li { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border-bottom: 1px solid var(--line); font-size: 12px; }
.live-feed li:last-child { border-bottom: 0; }
.live-feed .feed-label { flex: 0 0 auto; font-weight: 650; }
.live-feed .feed-where { flex: 1 1 auto; min-width: 0; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-feed em { flex: 0 0 auto; padding: 1px 5px; border-radius: 3px; background: var(--soft); color: var(--muted); font-size: 10px; font-style: normal; font-weight: 650; }
.live-feed time { flex: 0 0 auto; color: #8d9891; font-size: 11px; font-variant-numeric: tabular-nums; }
.live-feed .feed-purchase .feed-label { color: var(--green-strong); }
.live-feed .feed-initiatecheckout .feed-label { color: var(--blue); }
.live-feed .feed-addtocart .feed-label { color: var(--amber); }
.live-empty { color: var(--muted); font-size: 12px; }
.live-empty td { color: var(--muted); }

@media (max-width: 1040px) {
  .diagnostic-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .diagnostic-metrics article:nth-child(3) { border-right: 0; }
  .diagnostic-metrics article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .diagnostic-columns { grid-template-columns: minmax(0, 1fr); }
  .diagnostic-columns > article { border-right: 0; border-bottom: 1px solid var(--line); }
  .diagnostic-columns > article:last-child { border-bottom: 0; }
  .live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-split { grid-template-columns: minmax(0, 1fr); }
  /* Six columns cannot share a phone width without colliding, so the table goes
     back to natural sizing and scrolls inside its own container instead. */
  .live-stores table { table-layout: auto; min-width: 560px; }
  .live-stores th:first-child, .live-stores td:first-child,
  .live-stores th:not(:first-child), .live-stores td:not(:first-child) { width: auto; }
  .live-stores th:first-child, .live-stores td:first-child { min-width: 150px; }
  .live-feed ol { max-height: 320px; }
}
@media (max-width: 560px) {
  .diagnostic-metrics { grid-template-columns: minmax(0, 1fr); }
  .diagnostic-metrics article { border-right: 0; border-bottom: 1px solid var(--line); }
  .diagnostic-metrics article:last-child { border-bottom: 0; }
  .live-grid { grid-template-columns: minmax(0, 1fr); }
  .live-head { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot.is-live { animation: none; }
  .is-bumped { animation: none; }
}

/* Three-step checkout funnel in the diagnostics panel (27 Aug): each step shows how
   many sessions reached it and every error recorded while they stood on it, so a
   problem has a LOCATION instead of being one undifferentiated pile. */
.step-funnel { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.step-card { border: 1px solid var(--line, #e3e6e3); border-radius: 10px; padding: 14px 16px; background: #fff; }
.step-card.has-problems { border-color: #e8b4ae; background: #fffaf9; }
.step-card-head { display: flex; align-items: center; gap: 11px; }
.step-card-head > div { display: grid; gap: 2px; min-width: 0; flex: 1; }
.step-card-head strong { font-size: 14px; }
.step-card-head small { color: #6a706a; font-size: 12px; }
.step-badge { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%; background: #245c45; color: #fff; font-size: 12px; font-weight: 700; }
.step-card.has-problems .step-badge { background: #b42318; }
.step-problem-count { flex-shrink: 0; background: #b42318; color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.step-issues { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.step-issues li { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; align-items: baseline; }
.step-issues code { color: #702018; overflow-wrap: anywhere; }
.step-clean { margin: 11px 0 0; color: #5c7a68; font-size: 12.5px; }
PLACEHOLDER

/* ---- Off-session rebilling panel ---- */
.offsession-counts{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0;padding:0}
.offsession-counts>div{flex:1 1 150px;background:var(--surface-2,#f6f7f8);border:1px solid var(--line,#e3e6e8);
 border-radius:10px;padding:12px 14px;margin:0}
.offsession-counts dt{font-size:12px;letter-spacing:.02em;text-transform:uppercase;
 color:var(--muted,#6b7280);margin:0 0 4px}
.offsession-counts dd{margin:0;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;
 color:var(--ink,#111827);line-height:1.1}
.offsession-attempts{width:100%;border-collapse:collapse;margin:16px 0 0;font-size:13px}
.offsession-attempts th{text-align:left;font-weight:600;color:var(--muted,#6b7280);
 padding:8px 10px;border-bottom:1px solid var(--line,#e3e6e8)}
.offsession-attempts td{padding:8px 10px;border-bottom:1px solid var(--line,#eef1f2);
 font-variant-numeric:tabular-nums}
.offsession-attempts tr:last-child td{border-bottom:0}
.offsession-confirm{margin-top:4px}

/* ---- Off-session rebilling panel ---- */
.offsession-counts{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0;padding:0}
.offsession-counts>div{flex:1 1 150px;background:var(--surface-2,#f6f7f8);border:1px solid var(--line,#e3e6e8);
 border-radius:10px;padding:12px 14px;margin:0}
.offsession-counts dt{font-size:12px;letter-spacing:.02em;text-transform:uppercase;
 color:var(--muted,#6b7280);margin:0 0 4px}
.offsession-counts dd{margin:0;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;
 color:var(--ink,#111827);line-height:1.1}
.offsession-attempts{width:100%;border-collapse:collapse;margin:16px 0 0;font-size:13px}
.offsession-attempts th{text-align:left;font-weight:600;color:var(--muted,#6b7280);
 padding:8px 10px;border-bottom:1px solid var(--line,#e3e6e8)}
.offsession-attempts td{padding:8px 10px;border-bottom:1px solid var(--line,#eef1f2);
 font-variant-numeric:tabular-nums}
.offsession-attempts tr:last-child td{border-bottom:0}
.offsession-confirm{margin-top:4px}
.offsession-consent-field{display:block;margin-top:16px}
.offsession-consent-field>span{display:block;margin-bottom:6px}
.offsession-consent-field textarea{width:100%;min-height:150px;padding:10px 12px;
 border:1px solid var(--line,#d7dbde);border-radius:8px;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;
 resize:vertical;background:#fff;color:var(--ink,#111827)}
.offsession-consent-field textarea:focus{outline:2px solid var(--accent,#245C45);outline-offset:1px}
.offsession-tokens{margin:8px 0 0;font-size:12px;line-height:1.7;color:var(--muted,#6b7280)}
.offsession-tokens code{background:var(--surface-2,#f1f3f4);border-radius:4px;padding:1px 5px;
 font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink,#111827)}

/* ---- Off-session rebilling panel ---- */
.offsession-counts{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0;padding:0}
.offsession-counts>div{flex:1 1 150px;background:var(--surface-2,#f6f7f8);border:1px solid var(--line,#e3e6e8);
 border-radius:10px;padding:12px 14px;margin:0}
.offsession-counts dt{font-size:12px;letter-spacing:.02em;text-transform:uppercase;
 color:var(--muted,#6b7280);margin:0 0 4px}
.offsession-counts dd{margin:0;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;
 color:var(--ink,#111827);line-height:1.1}
.offsession-attempts{width:100%;border-collapse:collapse;margin:16px 0 0;font-size:13px}
.offsession-attempts th{text-align:left;font-weight:600;color:var(--muted,#6b7280);
 padding:8px 10px;border-bottom:1px solid var(--line,#e3e6e8)}
.offsession-attempts td{padding:8px 10px;border-bottom:1px solid var(--line,#eef1f2);
 font-variant-numeric:tabular-nums}
.offsession-attempts tr:last-child td{border-bottom:0}
.offsession-confirm{margin-top:4px}
.offsession-consent-field{display:block;margin-top:16px}
.offsession-consent-field>span{display:block;margin-bottom:6px}
.offsession-consent-field textarea{width:100%;min-height:150px;padding:10px 12px;
 border:1px solid var(--line,#d7dbde);border-radius:8px;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;
 resize:vertical;background:#fff;color:var(--ink,#111827)}
.offsession-consent-field textarea:focus{outline:2px solid var(--accent,#245C45);outline-offset:1px}
.offsession-tokens{margin:8px 0 0;font-size:12px;line-height:1.7;color:var(--muted,#6b7280)}
.offsession-tokens code{background:var(--surface-2,#f1f3f4);border-radius:4px;padding:1px 5px;
 font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink,#111827)}
.offsession-inline-error{margin:14px 0 0;padding:10px 12px;border-radius:8px;
 background:#fdf2f2;border:1px solid #f3c9c9;color:#8a1f1f;font-size:13px;line-height:1.5}

/* ---- Off-session rebilling panel ---- */
.offsession-counts{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0;padding:0}
.offsession-counts>div{flex:1 1 150px;background:var(--surface-2,#f6f7f8);border:1px solid var(--line,#e3e6e8);
 border-radius:10px;padding:12px 14px;margin:0}
.offsession-counts dt{font-size:12px;letter-spacing:.02em;text-transform:uppercase;
 color:var(--muted,#6b7280);margin:0 0 4px}
.offsession-counts dd{margin:0;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;
 color:var(--ink,#111827);line-height:1.1}
.offsession-attempts{width:100%;border-collapse:collapse;margin:16px 0 0;font-size:13px}
.offsession-attempts th{text-align:left;font-weight:600;color:var(--muted,#6b7280);
 padding:8px 10px;border-bottom:1px solid var(--line,#e3e6e8)}
.offsession-attempts td{padding:8px 10px;border-bottom:1px solid var(--line,#eef1f2);
 font-variant-numeric:tabular-nums}
.offsession-attempts tr:last-child td{border-bottom:0}
.offsession-confirm{margin-top:4px}
.offsession-consent-field{display:block;margin-top:16px}
.offsession-consent-field>span{display:block;margin-bottom:6px}
.offsession-consent-field textarea{width:100%;min-height:150px;padding:10px 12px;
 border:1px solid var(--line,#d7dbde);border-radius:8px;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;
 resize:vertical;background:#fff;color:var(--ink,#111827)}
.offsession-consent-field textarea:focus{outline:2px solid var(--accent,#245C45);outline-offset:1px}
.offsession-tokens{margin:8px 0 0;font-size:12px;line-height:1.7;color:var(--muted,#6b7280)}
.offsession-tokens code{background:var(--surface-2,#f1f3f4);border-radius:4px;padding:1px 5px;
 font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink,#111827)}
.offsession-inline-error{margin:14px 0 0;padding:10px 12px;border-radius:8px;
 background:#fdf2f2;border:1px solid #f3c9c9;color:#8a1f1f;font-size:13px;line-height:1.5}
.offsession-color-field{display:block;margin-top:16px}
.offsession-color-field>span:first-child{display:block;margin-bottom:6px}
.offsession-color-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.offsession-color-row input[type=color]{inline-size:44px;block-size:34px;padding:2px;
 border:1px solid var(--line,#d7dbde);border-radius:8px;background:#fff;cursor:pointer}
.offsession-color-row input[type=text]{inline-size:110px;padding:8px 10px;
 border:1px solid var(--line,#d7dbde);border-radius:8px;
 font:13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}
.offsession-color-preview{font-size:13px;font-weight:600}
