/* QRtimer design system */
:root {
	--ink: #1C2230;
	--ink-2: #3A4255;
	--muted: #6B7385;
	--faint: #9AA1AE;
	--line: #E4E7EC;
	--line-2: #EEF0F3;
	--bg: #F6F7F9;
	--surface: #FFFFFF;
	--hover: #F2F4F7;
	--marigold: #E9A100;
	--marigold-ink: #8A5E00;
	--marigold-soft: #FDF4DC;
	--present: #11795A;
	--present-soft: #E6F4EE;
	--info: #2F5BD3;
	--info-soft: #EAF0FD;
	--closed: #5B4BA8;
	--closed-soft: #EFECFA;
	--danger: #C2362B;
	--danger-soft: #FCEDEB;
	--r-sm: 6px;
	--r: 10px;
	--r-lg: 14px;
	--shadow: 0 1px 2px rgba(28, 34, 48, .06);
	--shadow-pop: 0 12px 32px -8px rgba(28, 34, 48, .22), 0 2px 6px rgba(28, 34, 48, .06);
	--font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grow { flex: 1; min-width: 0; text-align: left; }
.text-danger { color: var(--danger) !important; }
.ic { flex: none; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.mark { display: block; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow); transition: background .12s, border-color .12s, transform .06s; }
.btn:hover { background: var(--hover); border-color: #D5D9E0; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #2B3346; border-color: #2B3346; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #A52C22; border-color: #A52C22; }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--ink-2); }
.btn-ghost:hover { background: var(--hover); border-color: transparent; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 7px; }
.btn-lg { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 36px; padding: 0; }
.btn-sm.btn-icon { width: 30px; }
.btn-google { height: 46px; width: 100%; gap: 10px; font-size: 15px; border-radius: 10px; border-color: #D5D9E0; }
.inline { display: inline; margin: 0; }

/* Badges, chips, dots */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--ink-2); vertical-align: middle; letter-spacing: 0; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.badge-scheduled { background: var(--info-soft); color: var(--info); }
.badge-open { background: var(--present-soft); color: var(--present); }
.badge-open::before { opacity: 1; animation: pulse 1.8s ease-in-out infinite; }
.badge-closed { background: var(--closed-soft); color: var(--closed); }
.badge-accent { background: var(--marigold-soft); color: var(--marigold-ink); }
.badge-accent::before, .plan .badge-open::before { display: none; }
h1 .badge { margin-left: 10px; position: relative; top: -2px; }
@keyframes pulse { 50% { opacity: .25; } }
.chip { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px; background: var(--line-2); color: var(--ink-2); }
.chip-warn { background: var(--marigold-soft); color: var(--marigold-ink); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #CDD2DA; flex: none; }
.dot-present { background: var(--present); }
.dot-out { background: var(--ink-2); }
.dot-revoked { background: var(--danger); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.code { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: var(--line-2); color: var(--ink-2); }
.code-sm { font-size: 11.5px; padding: 1px 5px; margin-left: 4px; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 4px var(--marigold-soft); vertical-align: middle; animation: pulse 1.6s ease-in-out infinite; }

/* Alerts */
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; margin-bottom: 16px; border-radius: var(--r); background: var(--line-2); color: var(--ink-2); font-size: 14px; }
.alert .ic { margin-top: 2px; }
.alert a { font-weight: 600; }
.alert-ok { background: var(--present-soft); color: #0B5A42; }
.alert-error { background: var(--danger-soft); color: #8F2219; }
.alert-warn { background: var(--marigold-soft); color: #6E4A00; }
.alert-lock { background: var(--closed-soft); color: #403380; }

/* Bars */
.bar { display: block; height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--present); border-radius: 99px; transition: width .5s ease; }
.bar-sm { height: 4px; width: 64px; }
.bar-lg { height: 10px; }
.timer { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.timer i { display: block; height: 100%; width: 0; background: var(--marigold); border-radius: 99px; }

/* Forms */
.form { display: grid; gap: 16px; margin: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; align-items: baseline; gap: 6px; }
.field > span em { font-style: normal; font-weight: 400; color: var(--faint); }
.field-row { justify-content: space-between; }
.field-row a { font-weight: 500; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=datetime-local], input[type=search], select, textarea {
	width: 100%; height: 38px; padding: 0 11px; border: 1px solid #D5D9E0; border-radius: 8px; background: var(--surface); font-size: 14px; box-shadow: var(--shadow); transition: border-color .12s, box-shadow .12s;
}
textarea { height: auto; padding: 9px 11px; resize: vertical; line-height: 1.5; }
select { appearance: none; padding-right: 32px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7385' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(28, 34, 48, .1); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.help { font-size: 13px; color: var(--muted); }
small.help { font-weight: 400; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.check span small { display: block; color: var(--muted); font-size: 13px; }
.check-inline { align-items: center; }
.check-inline input { margin: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; }
.fieldset { margin: 0; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 12px; }
.fieldset legend { padding: 0 6px; margin-left: -6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.form-foot { display: flex; justify-content: flex-end; gap: 8px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-side { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.drop { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border: 1.5px dashed #CDD2DA; border-radius: var(--r); background: var(--bg); color: var(--muted); text-align: center; cursor: pointer; position: relative; font-size: 14px; }
.drop:hover { border-color: var(--ink-2); color: var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.has-file { border-style: solid; border-color: var(--present); color: var(--present); background: var(--present-soft); }
.radio-cards { display: grid; gap: 8px; }
.radio-card { display: flex; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.radio-card input { margin-top: 4px; accent-color: var(--ink); }
.radio-card small { display: block; color: var(--muted); font-size: 13px; }
.inline-form { display: flex; align-items: center; gap: 8px; }
.inline-form select { width: auto; height: 30px; font-size: 13px; }
.copy { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; }
.copy code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-family: var(--mono); font-size: 12px; padding: 6px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); }
.pre { margin: 8px 0 0; padding: 14px; border-radius: var(--r); background: var(--ink); color: #E8EAF0; font: 12.5px/1.6 var(--mono); overflow-x: auto; white-space: pre; }
.howto { margin: 0; padding-left: 18px; display: grid; gap: 12px; font-size: 14px; color: var(--ink-2); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist small { display: block; color: var(--muted); font-size: 13px; }
.checklist .is-ok .ic { color: var(--present); }
.checklist .is-bad .ic { color: var(--marigold-ink); }

/* ===== App shell ===== */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; }
.sb-top { padding: 4px 8px 10px; }
.sb-nav { display: grid; gap: 2px; margin-top: 8px; }
.sb-nav a { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.sb-nav a .ic { color: var(--faint); }
.sb-nav a:hover { background: var(--hover); color: var(--ink); }
.sb-nav a.is-active { background: var(--line-2); color: var(--ink); font-weight: 600; }
.sb-nav a.is-active .ic { color: var(--ink); }
.sb-label { margin: 16px 10px 4px; font-size: 12px; font-weight: 600; color: var(--faint); }
.sb-user { margin-top: auto; }
.menu { position: relative; }
.menu > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover, .menu[open] > summary { background: var(--hover); }
.menu > summary > .ic { color: var(--faint); margin-left: auto; }
.sb-org { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.sb-text { display: grid; min-width: 0; line-height: 1.3; }
.sb-text b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-text small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-pop); }
.menu-pop-up { top: auto; bottom: calc(100% + 6px); }
.menu-pop form { margin: 0; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 7px; background: none; text-decoration: none; font-size: 14px; color: var(--ink); cursor: pointer; text-align: left; }
.menu-item:hover { background: var(--hover); }
.menu-item.is-current { font-weight: 600; }
.menu-item .ic { color: var(--muted); }
.menu-sep { height: 1px; margin: 6px 4px; background: var(--line); }
.org-badge { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.org-badge-sm { width: 22px; height: 22px; border-radius: 6px; font-size: 10px; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--marigold-soft); color: var(--marigold-ink); font-size: 12px; font-weight: 700; object-fit: cover; }
.main { min-width: 0; }
.topbar { display: none; }
.content { max-width: 1160px; margin: 0 auto; padding: 32px 36px 72px; }
.scrim { display: none; }

/* Page header */
.ph { margin-bottom: 24px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .ic { color: var(--faint); }
.ph-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ph h1 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.ph-desc { margin-top: 4px; color: var(--muted); max-width: 64ch; }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs { display: flex; gap: 22px; margin: -8px 0 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 10px 0 11px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { color: var(--ink); border-color: var(--ink); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search { position: relative; display: flex; align-items: center; flex: 1 1 280px; max-width: 360px; margin: 0; }
.search .ic { position: absolute; left: 11px; color: var(--faint); pointer-events: none; }
.search input { padding-left: 34px; }
.search-sm { flex: 0 1 200px; }
.search-sm input { height: 32px; font-size: 13px; }
.count-line { margin: -4px 0 10px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; }
.card-head .card-title { margin-bottom: 2px; }
.card-narrow { max-width: 720px; }
.card-danger { border-color: #F2CBC6; }
.card-danger .card-head { margin: 0; align-items: center; }
.card-flush { padding: 0; overflow: hidden; }
.card-pad { padding: 16px 20px; }
.card-flush .card-head { margin: 0; border-bottom: 1px solid var(--line); }
.card-muted { background: var(--bg); box-shadow: none; }
.grid-2 > .card, .grid-side > .card { margin-bottom: 0; }
.grid-2 + *, .grid-side + * { margin-top: 16px; }
.sub { font-size: 14px; margin: 16px 0 0; }

/* Tables */
.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 16px; box-shadow: var(--shadow); }
.tbl-inner { border: 0; border-radius: 0; margin: 0; box-shadow: none; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 10px 16px; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); background: #FAFBFC; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #FBFCFD; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .c { text-align: center; }
.tbl .actions { text-align: right; white-space: nowrap; width: 1%; }
.tbl .actions > * { vertical-align: middle; }
.cell-title { font-weight: 600; color: var(--ink); text-decoration: none; }
a.cell-title:hover { text-decoration: underline; }
.tbl td > small, .cell-title + small { display: block; color: var(--muted); font-size: 13px; }
.tbl tr.is-link { cursor: pointer; }
.tbl tr.is-muted td { color: var(--muted); }
.tbl tr.is-muted .cell-title { color: var(--muted); }
.tbl-form td { padding: 8px 10px; vertical-align: top; }
.tbl-form input { height: 34px; }
.tbl-form input[type=number] { width: 96px; }
.tbl-form input.small { margin-top: 6px; height: 30px; font-size: 12.5px; color: var(--muted); }
.att { display: inline-flex; align-items: center; gap: 10px; }
.matrix td.c { font-weight: 700; width: 44px; }
.matrix th.c a { text-decoration: none; }
.cell-present { color: var(--present); background: var(--present-soft); }
.cell-na { color: #C5CAD3; background: repeating-linear-gradient(-45deg, transparent 0 4px, var(--line-2) 4px 5px); }
.matrix tfoot th { background: #FAFBFC; border-top: 1px solid var(--line); text-align: center; }
.matrix tfoot th:first-child { text-align: left; }
.legend { columns: 2 280px; margin: 0 0 16px; padding-left: 26px; font-size: 13px; color: var(--ink-2); }
.legend li::marker { content: "S" counter(list-item) "  "; font-weight: 700; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 18px; }

/* Dashboard bits */
.rows { list-style: none; margin: 0 -8px; padding: 0; }
.rows li > a, .rows-static li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 8px; border-radius: 8px; text-decoration: none; }
.rows li > a:hover { background: var(--hover); }
.rows-static { margin: 0; }
.rows-static li { padding: 12px 0; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.rows-static li:last-child { border-bottom: 0; }
.rows-main { display: grid; min-width: 0; }
.rows-main b { font-weight: 600; }
.rows-main small { color: var(--muted); font-size: 13px; }
.rows-num { font-weight: 600; font-variant-numeric: tabular-nums; }
.rows-meta { color: var(--muted); font-size: 13px; white-space: nowrap; }
.setup { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.setup li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.setup li > div { flex: 1; }
.setup li p { font-size: 13px; color: var(--muted); }
.setup li.is-next { border-color: var(--ink); }
.setup-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line-2); font-size: 13px; font-weight: 700; flex: none; }
.setup li.is-next .setup-n { background: var(--ink); color: #fff; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 48px 20px; margin-bottom: 16px; text-align: center; border: 1px dashed #D5D9E0; border-radius: var(--r-lg); background: var(--surface); }
.empty > .ic { color: var(--faint); margin-bottom: 4px; }
.empty h2 { font-size: 16px; }
.empty p { max-width: 46ch; color: var(--muted); font-size: 14px; }
.empty .btn { margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.stat b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }
.meter-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.meter-top span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.meter.is-full .bar i { background: var(--marigold); }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(120px, 240px) 1fr auto; gap: 14px; align-items: center; font-size: 14px; }
.hbar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-val { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hbar-val b { color: var(--ink); margin-left: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: -8px 0 20px; }
.facts div { display: grid; }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 0; font-size: 14px; font-weight: 500; }

/* Live session */
.live.is-open { border-color: #F0D79A; box-shadow: 0 0 0 3px var(--marigold-soft); }
.live-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.live-num { display: flex; align-items: baseline; gap: 8px; }
.live-num b { font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.live-num span { color: var(--muted); }
.live-num i { font-style: normal; }
.live-inside { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--ink-2) !important; }
.live-inside b { font-size: 20px !important; font-weight: 600; }
.sent { display: block; font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.sent.is-sent { color: var(--present); }
.send-code { display: grid; gap: 14px; }
.send-code-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.code-lg { font-size: 22px; padding: 6px 12px; letter-spacing: .12em; }
.send-msg { font-size: 13.5px; line-height: 1.5; resize: vertical; }
.send-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.send-actions .btn { gap: 6px; }
.live-pct { font-size: 20px; font-weight: 600; color: var(--present); font-variant-numeric: tabular-nums; }
.feed { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px 24px; font-size: 14px; }
.feed li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.feed li.is-new { animation: slidein .35s ease; }
.feed time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; min-width: 64px; white-space: nowrap; }
@keyframes slidein { from { opacity: 0; transform: translateY(-4px); } }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--line-2); }
.seg button { height: 26px; padding: 0 10px; border: 0; border-radius: 7px; background: none; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button i { font-style: normal; font-weight: 500; color: var(--faint); margin-left: 2px; }
.seg button.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 9px 0 9px 18px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: #CDD2DA; }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 26px; bottom: -8px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.timeline em { display: block; margin-top: 2px; font-style: normal; color: var(--muted); font-size: 13px; }
.timeline li.is-amend::before { background: var(--marigold); box-shadow: 0 0 0 3px var(--marigold-soft); }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 24px; margin: 0 0 12px; }
.roles dt { font-weight: 600; font-size: 14px; }
.roles dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.person { display: flex; align-items: center; gap: 10px; }
.person > span { display: grid; }
.person small { color: var(--muted); font-size: 13px; }
.person-lg { margin-bottom: 18px; }
.person-lg .avatar { width: 44px; height: 44px; font-size: 15px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.plan { display: flex; flex-direction: column; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.plan.is-featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow); }
.plan.is-current { background: #FBFCFD; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.plan-head h3 { font-size: 15px; }
.price { margin: 12px 0 4px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 3px; vertical-align: 12px; letter-spacing: 0; }
.price span { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-blurb { font-size: 13px; color: var(--muted); min-height: 40px; }
.plan-list { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 7px; font-size: 13.5px; flex: 1; }
.plan-list li { display: flex; gap: 8px; align-items: flex-start; }
.plan-list .ic { color: var(--present); margin-top: 2px; }
.plan-list b { font-weight: 600; }
.plan-cta { min-height: 36px; display: flex; align-items: center; }
.plan-cta .paypal { width: 100%; }

/* Dialogs */
.modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pop); overflow: auto; }
.modal-lg { width: min(720px, calc(100vw - 32px)); }
.modal-sm { width: min(420px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(20, 24, 34, .45); backdrop-filter: blur(2px); }
.modal[open] { animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.985); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 0 22px; }
.modal-title { font-size: 17px; }
.modal-body { padding: 14px 22px 22px; display: grid; gap: 14px; }
.modal-sm .modal-body { padding-top: 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.modal-danger { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Toasts */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; gap: 8px; width: min(380px, calc(100vw - 40px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: var(--shadow-pop); font-size: 14px; animation: toastin .25s ease-out; }
.toast p { flex: 1; padding-top: 1px; }
.toast .ic { margin-top: 2px; }
.toast-success .ic { color: #6FD3AE; }
.toast-error .ic { color: #FF9C93; }
.toast-warning .ic { color: var(--marigold); }
.toast-x { border: 0; background: none; color: #A9B0BE; cursor: pointer; padding: 2px; border-radius: 6px; }
.toast-x:hover { color: #fff; }
.toast.is-leaving { opacity: 0; transform: translateY(6px); transition: .2s; }
@keyframes toastin { from { opacity: 0; transform: translateY(8px); } }

/* Integrity */
.sb-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--danger); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.tab-count { font-style: normal; font-weight: 500; color: var(--faint); margin-left: 4px; }
.stat.is-alert { border-color: #F2CBC6; background: var(--danger-soft); }
.stat.is-alert b { color: var(--danger); }
.chip-danger { display: inline-flex; align-items: center; gap: 3px; background: var(--danger-soft); color: var(--danger); font-weight: 600; text-decoration: none; }
a.chip { text-decoration: none; }
a.chip:hover { background: var(--line); }
a.chip-danger:hover { background: #F8D9D5; }
.seg a { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.seg a.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.sev { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; flex: none; }
.sev-high { background: var(--danger); color: #fff; }
.sev-medium { background: var(--marigold-soft); color: var(--marigold-ink); }
.sev-low { background: var(--line-2); color: var(--ink-2); }
.flags { display: grid; gap: 10px; margin-bottom: 20px; }
.flag { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.flag-high { border-left-color: var(--danger); }
.flag-medium { border-left-color: var(--marigold); }
.flag-main { flex: 1; min-width: 0; display: grid; gap: 8px; }
.flag-top { display: flex; align-items: flex-start; gap: 10px; }
.flag-top h3 { font-size: 15px; line-height: 1.4; padding-top: 1px; }
.flag-detail { font-size: 14px; color: var(--ink-2); }
.flag-people { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.flag-events a { color: var(--ink-2); }
.flag-review { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--present); }
.flag-review .ic { margin-top: 2px; }
.flag-act { flex: none; }
.sub-title { font-size: 15px; margin: 4px 0 12px; }

/* Letterhead editor */
.lh-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.lh-preview-wrap { position: sticky; top: 24px; display: grid; gap: 8px; }
.lh-paper { --lh: #1C2230; aspect-ratio: 1 / 1.414; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(28, 34, 48, .35); padding: 7% 7% 5%; display: flex; flex-direction: column; font-size: 10px; overflow: hidden; }
.lh-head { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--lh); }
.lh-head img { max-height: 46px; max-width: 120px; object-fit: contain; }
.lh-text { flex: 1; display: grid; gap: 1px; text-align: right; min-width: 0; }
.lh-head img[hidden] + .lh-text { text-align: left; }
.lh-text b { color: var(--lh); font-size: 13px; }
.lh-text span { color: var(--muted); font-size: 9.5px; }
.lh-text small { color: var(--muted); font-size: 8.5px; }
.lh-text :empty { display: none; }
.lh-head.is-off { border-bottom-color: var(--line); }
.lh-head.is-off img, .lh-head.is-off .lh-text span, .lh-head.is-off .lh-text small { display: none; }
.lh-head.is-off .lh-text { text-align: left; }
.lh-head.is-off .lh-text b { color: var(--ink); font-size: 10px; }
.lh-body { flex: 1; padding-top: 14px; display: grid; align-content: start; gap: 6px; }
.lh-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.lh-body i { display: block; height: 5px; border-radius: 3px; background: var(--line-2); }
.lh-body i.short { width: 60%; }
.lh-table { margin-top: 10px; display: grid; gap: 3px; }
.lh-table span { height: 11px; background: var(--line-2); border-radius: 2px; }
.lh-table span:first-child { background: var(--lh); }
.lh-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.logo-row { display: flex; align-items: center; gap: 12px; }
.logo-thumb { height: 52px; max-width: 140px; object-fit: contain; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.drop-sm { padding: 12px; flex: 1; grid-auto-flow: column; justify-content: start; }
.color-row { display: flex; align-items: center; gap: 10px; font-weight: 400 !important; }
.color-row input[type=color] { width: 44px; height: 38px; padding: 2px; border: 1px solid #D5D9E0; border-radius: 8px; background: #fff; cursor: pointer; }
.color-row code { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ===== Auth ===== */
.page-auth { background: var(--surface); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-main { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 380px; display: grid; gap: 18px; }
.auth-box > .logo { margin-bottom: 18px; }
.auth-box h1 { font-size: 26px; letter-spacing: -.02em; }
.auth-box h1 + .muted { margin-top: -10px; }
.auth-box .alert { margin: 0; }
.auth-fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.auth-fine a, .auth-switch a { color: var(--ink); font-weight: 600; }
.auth-switch { font-size: 14px; color: var(--muted); text-align: center; }
.auth-legal { display: flex; gap: 18px; margin-top: 40px; font-size: 13px; }
.auth-legal a { color: var(--muted); text-decoration: none; }
.divider { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--faint); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-aside { background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; padding: 48px; position: relative; overflow: hidden; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; }
.auth-aside-inner { position: relative; max-width: 420px; display: grid; gap: 32px; }
.auth-quote { font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -.015em; }
.auth-ticket { background: #fff; color: var(--ink); border-radius: 14px; padding: 18px; box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .45); }
.auth-ticket-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 10px; }
.auth-ticket-row b { font-variant-numeric: tabular-nums; }
.auth-ticket .bar i { background: var(--marigold); }
.auth-ticket ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.auth-ticket li { display: flex; align-items: center; gap: 10px; }
.auth-ticket time { margin-left: auto; color: var(--muted); font-size: 13px; }
.onboard { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }

/* ===== Marketing site ===== */
.page-site { background: var(--surface); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.site-head-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.hero { padding: 72px 0 80px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; max-width: 12ch; }
.hero-lead { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-cta .btn-google { width: auto; padding: 0 20px; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.demo { margin: 0; border-radius: 18px; background: var(--ink); padding: 10px; box-shadow: 0 40px 80px -30px rgba(28, 34, 48, .55); }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 4px 8px 12px; }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3A4255; }
.demo-bar em { margin-left: 10px; font-style: normal; font-size: 12.5px; color: #9AA1AE; }
.demo-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: center; padding: 24px; background: #fff; border-radius: 12px; }
.demo-qr-col { display: grid; gap: 12px; }
.demo-qr { aspect-ratio: 1; }
.demo-qr svg { display: block; width: 100%; height: 100%; }
.demo-session { font-size: 14px; font-weight: 600; }
.demo-count { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.demo-count b { font-size: 46px; line-height: 1; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.demo-count span { color: var(--muted); font-size: 15px; }
.demo-label { font-size: 13px; }
.demo-feed { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; font-size: 13px; min-height: 92px; }
.demo-feed li { display: flex; align-items: center; gap: 8px; }
.demo-feed li.is-new { animation: slidein .35s ease; }
.demo-feed time { margin-left: auto; color: var(--faint); font-variant-numeric: tabular-nums; }
.band { padding: 80px 0; }
.band-alt { background: var(--bg); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; font-weight: 700; max-width: 22ch; }
.section-lead { margin-top: 12px; color: var(--ink-2); font-size: 17px; max-width: 56ch; margin-bottom: 32px; }
.page-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; font-weight: 700; margin-bottom: 8px; }
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; margin-top: 40px; }
.aud .ic { color: var(--marigold-ink); }
.aud h3 { margin: 12px 0 6px; font-size: 16px; }
.aud p { color: var(--muted); font-size: 14.5px; }
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 22px 24px 0 0; }
.steps li::before { content: counter(s); display: block; font-size: 13px; font-weight: 700; color: var(--marigold-ink); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; }
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.points .ic { color: var(--present); margin-top: 3px; }
.points b { color: var(--ink); font-weight: 600; }
.audit-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(28, 34, 48, .35); }
.audit-card-title { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.audit-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.audit-card li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.audit-card time { color: var(--muted); font-variant-numeric: tabular-nums; }
.audit-card em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--marigold-ink); }
.audit-card .is-amend { background: linear-gradient(90deg, var(--marigold-soft), transparent 70%); margin: 0 -22px; padding: 12px 22px; }
.faq { max-width: 780px; }
.faq .section-title { margin-bottom: 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--muted); transition: transform .2s; }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }
.closing { background: var(--ink); color: #fff; padding: 80px 0; }
.closing-in { display: grid; justify-items: start; gap: 14px; }
.closing h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; font-weight: 700; }
.closing p { color: #B9BFCC; font-size: 17px; margin-bottom: 10px; }
.closing .btn-google { width: auto; padding: 0 20px; border-color: transparent; }
.site-foot { padding: 40px 0; border-top: 1px solid var(--line-2); }
.site-foot-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; }
.site-foot-in > div { display: grid; gap: 8px; font-size: 14px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; align-self: start; }
.site-foot nav a { color: var(--ink-2); text-decoration: none; }
.site-foot nav a:hover { color: var(--ink); }
.site-copy { grid-column: 1 / -1; font-size: 13px; color: var(--faint); }
.prose { max-width: 720px; }
.prose p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }

/* ===== Blog ===== */
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.band-tight { padding-top: 8px; }
.blog-hero { padding: 64px 0 28px; }
.blog-hero .section-lead { margin-bottom: 0; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cat-nav a { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.cat-nav a:hover { border-color: var(--ink-2); color: var(--ink); }
.cat-nav a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.post-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.post-card-media { display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--bg); border: 1px solid var(--line-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.025); }
.post-card-media.is-empty { display: grid; place-items: center; background: var(--ink); }
.post-card-body { display: grid; gap: 8px; align-content: start; }
.post-cat { justify-self: start; font-size: 13px; font-weight: 600; color: var(--marigold-ink); text-decoration: none; }
.post-cat:hover { text-decoration: underline; }
.post-card-title { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.post-card-title a { text-decoration: none; }
.post-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-card-excerpt { color: var(--ink-2); font-size: 15px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.post-card.is-featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.post-card.is-featured .post-card-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.03em; }
.post-card.is-featured .post-card-excerpt { font-size: 17px; }
.blog-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-head { max-width: 820px; padding-top: 48px; padding-bottom: 28px; }
.post-head .crumbs { margin-bottom: 18px; }
.post-title { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
.post-lead { margin-top: 18px; font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.byline b { font-size: 15px; }
.avatar-lg { width: 44px; height: 44px; font-size: 16px; }
.post-hero { margin: 8px auto 48px; }
.post-hero img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 16px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 160px; gap: 56px; justify-content: center; }
.post-layout.has-toc { grid-template-columns: 220px minmax(0, 720px) 160px; }
.toc, .share { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.toc-title { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc .toc-l3 a { padding-left: 26px; font-size: 13px; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--marigold); font-weight: 500; }
.share { display: grid; gap: 4px; }
.share a, .share button { justify-self: start; padding: 4px 0; border: 0; background: none; font-size: 14px; color: var(--ink-2); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { color: var(--ink); text-decoration: underline; }
.post-main { min-width: 0; }
.post-foot { padding-top: 40px; display: grid; gap: 28px; }
.post-layout { padding-bottom: 72px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.author-box { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.author-box p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.post-grid-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band-alt .post-grid-related { margin-top: 28px; }

/* Article body: everything the post editor can produce */
.post-body { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.post-body > * + * { margin-top: 1.3em; }
.post-body p { margin: 0; }
.post-body h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); margin-top: 2.1em; scroll-margin-top: 90px; }
.post-body h3 { font-size: 21px; line-height: 1.35; color: var(--ink); margin-top: 1.8em; scroll-margin-top: 90px; }
.post-body h4 { font-size: 18px; color: var(--ink); margin-top: 1.6em; }
.post-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post-body a:hover { text-decoration-color: var(--ink); }
.post-body strong { color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: .45em; }
.post-body li::marker { color: var(--marigold-ink); }
.post-body blockquote, .post-body .b-quote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--marigold); font-size: 20px; color: var(--ink); }
.post-body blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--muted); }
.post-body .b-pullquote { margin: 2em 0; padding: 26px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); text-align: center; }
.post-body .b-pullquote blockquote { border: 0; padding: 0; margin: 0; font-size: 24px; font-weight: 600; line-height: 1.4; }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; }
.post-body figure { margin: 2em 0; }
.post-body figcaption, .post-body .el-caption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.post-body .alignwide, .post-body .alignfull { margin-left: -60px; margin-right: -60px; }
.post-body .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.post-body .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.post-body .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.post-body .has-text-align-center { text-align: center; }
.post-body .has-text-align-right { text-align: right; }
.post-body code { font-family: var(--mono); font-size: .86em; padding: 2px 6px; border-radius: 6px; background: var(--line-2); color: var(--ink); }
.post-body pre { margin: 1.8em 0; padding: 18px 20px; border-radius: 12px; background: var(--ink); color: #E8EAF0; overflow-x: auto; font: 14px/1.65 var(--mono); }
.post-body pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.post-body hr, .post-body .b-separator { border: 0; height: 1px; background: var(--line); margin: 2.6em 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-body .b-table { overflow-x: auto; }
.post-body th, .post-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.post-body thead th { color: var(--ink); border-bottom: 2px solid var(--ink); }
.post-body .b-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.post-body .b-button__link { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; }
.post-body .is-style-outline .b-button__link { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.post-body .b-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.post-body .b-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.post-body .b-gallery figure { margin: 0; }
.post-body .b-embed .b-embed__wrapper { position: relative; }
.post-body .b-embed.is-type-video .b-embed__wrapper { aspect-ratio: 16 / 9; }
.post-body .b-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.post-body iframe { max-width: 100%; }
.post-body .b-details, .post-body details { padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; }
.post-body details summary { font-weight: 600; color: var(--ink); cursor: pointer; }
.post-body::after { content: ""; display: table; clear: both; }

/* ===== Participant check-in (phone) ===== */
.page-checkin { background: var(--bg); }
.ci { max-width: 440px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 18px 40px; }
.ci-head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 28px; }
.ci-event { color: var(--muted); font-size: 14px; }
.ci h1 { font-size: 26px; letter-spacing: -.02em; margin: 4px 0 22px; }
.ci-form { display: grid; gap: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.ci-form label { font-weight: 600; font-size: 15px; }
.ci-form input { height: 58px; font-size: 22px; padding: 0 16px; border-radius: 12px; border-width: 1.5px; }
.ci-form input.is-code { font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.ci-form .btn { height: 54px; font-size: 16px; border-radius: 12px; }
.ci-hint { text-align: center; font-size: 13px; color: var(--muted); }
.ci-result { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; margin-top: 14px; }
.ci-result strong { display: block; font-size: 19px; letter-spacing: -.01em; }
.ci-result p { margin-top: 4px; }
.ci-result.is-ok { background: var(--present); color: #fff; }
.ci-result.is-ok .ci-check { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; animation: popin .35s cubic-bezier(.2, 1.4, .4, 1); }
.ci-result.is-error { background: var(--danger-soft); color: #8F2219; }
.ci-result.is-error .ic { flex: none; }
@keyframes popin { from { transform: scale(.4); opacity: 0; } }
.ci-result.is-out { background: var(--ink); }
.btn-out { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); gap: 8px; }
.btn-out:hover { background: var(--hover); }
.btn-out.is-armed { background: var(--ink); color: #fff; }
.ci-form-flat { padding: 0; background: none; border: 0; box-shadow: none; margin-top: 16px; }
.ci-me { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.ci-me-name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.ci-times { display: grid; gap: 6px; margin-top: 12px; }
.ci-times div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.ci-times dt { color: var(--muted); }
.ci-times dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.ci-me > .ci-hint { margin-top: 14px; }
.ci-note { font-size: 14px; color: var(--marigold-ink); background: var(--marigold-soft); border-radius: 10px; padding: 10px 12px; }
.ci-link { display: block; margin: 16px auto 0; background: none; border: 0; padding: 6px; color: var(--ink-2); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ci-warn { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--marigold-soft); color: var(--marigold-ink); font-size: 14.5px; font-weight: 500; }
.ci-forgot { margin-top: 8px; }
.ci-remind { margin-top: 10px; display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ci-remind label { font-size: 14px; color: var(--ink-2); }
.ci-remind-row { display: flex; gap: 8px; }
.ci-remind-row input { flex: 1; min-width: 0; height: 44px; }
.ci-remind-row .btn { height: 44px; white-space: nowrap; }
.ci-remind-msg { font-size: 14px; }
.ci-remind-msg.is-ok { color: var(--present); }
.ci-remind-msg.is-error { color: var(--danger); }
.ci-foot { margin-top: 28px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ===== Projector display ===== */
.page-display { background: #fff; }
.dp { min-height: 100vh; display: flex; flex-direction: column; padding: 2.4vh 3.2vw; }
.dp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dp-org { color: var(--muted); font-size: clamp(14px, 1.2vw, 20px); }
.dp-head h1 { font-size: clamp(26px, 3.4vw, 56px); letter-spacing: -.03em; font-weight: 700; }
.dp-tools { display: flex; gap: 8px; }
:fullscreen .dp-tools { display: none; }
.dp-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 4vw; align-items: center; }
.dp-qr-col { display: grid; justify-items: center; gap: 16px; }
.dp-qr { width: min(70vh, 52vw); aspect-ratio: 1; }
.dp-qr svg { display: block; width: 100%; height: 100%; }
.dp-qr.is-off { border-radius: 16px; background: repeating-linear-gradient(-45deg, var(--bg) 0 14px, var(--line-2) 14px 28px); }
.dp-qr-col .timer { width: min(70vh, 52vw); height: 10px; }
.dp-msg { max-width: 52vw; text-align: center; font-size: clamp(16px, 1.5vw, 24px); color: var(--marigold-ink); }
.dp-count { display: flex; align-items: baseline; gap: 10px; }
.dp-count b { font-size: clamp(64px, 9vw, 160px); line-height: .9; font-weight: 700; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.dp-count span { font-size: clamp(22px, 2.6vw, 44px); color: var(--muted); font-weight: 600; }
.dp-count i { font-style: normal; }
.dp-count-label { font-size: clamp(16px, 1.5vw, 24px); color: var(--muted); }
.dp-phase { font-size: clamp(18px, 1.9vw, 32px); font-weight: 700; letter-spacing: -.01em; color: var(--present); min-height: 1.2em; }
.dp-phase.is-out { color: var(--ink); }
.dp-inside { margin-top: 1.4vh; font-size: clamp(15px, 1.35vw, 22px); color: var(--ink-2); }
.dp-inside b { font-variant-numeric: tabular-nums; }
.dp-steps { margin: 5vh 0 0; padding-left: 1.4em; font-size: clamp(16px, 1.55vw, 26px); display: grid; gap: .6em; color: var(--ink-2); }

/* ===== Print ===== */
.page-print { background: #fff; padding: 28px; }
.page-print h1 { font-size: 24px; margin-bottom: 4px; }
.page-print > .muted { margin-bottom: 18px; }
.print-bar { margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pcard { border: 1px dashed #A9B0BE; border-radius: 10px; padding: 14px; break-inside: avoid; }
.pcard-event { font-size: 12px; color: var(--muted); }
.pcard-name { font-weight: 600; margin-top: 6px; }
.pcard-code { font: 700 26px/1.2 var(--mono); letter-spacing: .14em; margin: 4px 0 8px; }
.pcard-help { font-size: 11.5px; color: var(--muted); }
.page-report .tbl { font-size: 11.5px; }
.page-report .tbl th, .page-report .tbl td { padding: 4px 6px; border: 1px solid #D5D9E0; }
@media print {
	.print-bar { display: none; }
	.page-print { padding: 0; }
	.tbl-wrap { overflow: visible; border: 0; box-shadow: none; }
}

/* ===== Error page ===== */
.page-plain { background: var(--bg); }
.plain { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.plain-card { max-width: 440px; display: grid; gap: 12px; justify-items: start; }
.plain-card > .logo { margin-bottom: 24px; }
.plain-code { font: 600 13px var(--mono); color: var(--marigold-ink); }
.plain-card h1 { font-size: 28px; letter-spacing: -.02em; }
.plain-card .btn { margin-top: 10px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
	.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid-4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
	.post-layout.has-toc { grid-template-columns: minmax(0, 720px) 160px; }
	.post-layout .toc { display: none; }
}
@media (max-width: 900px) {
	.post-layout, .post-layout.has-toc { grid-template-columns: 1fr; }
	.share { position: static; display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 24px; border-top: 1px solid var(--line); }
	.share .toc-title { width: 100%; margin: 0; }
	.post-grid, .post-grid-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-card.is-featured { grid-template-columns: 1fr; gap: 20px; }
	.post-body .alignwide, .post-body .alignfull { margin-left: 0; margin-right: 0; }
	.lh-layout { grid-template-columns: 1fr; }
	.lh-preview-wrap { position: static; max-width: 420px; }
	.shell { grid-template-columns: 1fr; }
	.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; z-index: 50; transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-pop); }
	.nav-open .sidebar { transform: none; }
	.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(20, 24, 34, .4); }
	.topbar { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 12px; position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
	.content { padding: 22px 16px 64px; }
	.grid-side { grid-template-columns: 1fr; }
	.hero-in, .trust { grid-template-columns: 1fr; gap: 40px; }
	.hero { padding: 44px 0 56px; }
	.audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.auth { grid-template-columns: 1fr; }
	.auth-aside { display: none; }
	.dp-body { grid-template-columns: 1fr; }
	.dp-qr, .dp-qr-col .timer { width: min(88vw, 60vh); }
	.timeline li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) {
	.grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
	.plans { grid-template-columns: 1fr; }
	.audiences, .steps { grid-template-columns: 1fr; }
	.ph h1 { font-size: 22px; }
	.ph-actions { width: 100%; }
	.demo-body { grid-template-columns: 1fr; padding: 18px; }
	.site-nav > a:not(.btn):first-child { display: none; }
	.hbar { grid-template-columns: 1fr auto; }
	.hbar .bar { grid-column: 1 / -1; grid-row: 2; }
	.card-flush .card-head .toolbar-actions { width: 100%; }
	.search-sm { flex: 1 1 100%; }
	.site-foot-in { grid-template-columns: 1fr; }
	.facts { gap: 8px 20px; }
	.post-grid, .post-grid-related { grid-template-columns: 1fr; }
	.post-body { font-size: 17px; }
	.post-body .alignleft, .post-body .alignright { float: none; max-width: 100%; margin: 1.4em 0; }
	.section-head { flex-direction: column; align-items: flex-start; }
}

/* ===== Custom quotes ===== */
.quote-card { border-color: var(--marigold); box-shadow: 0 0 0 3px var(--marigold-soft); }
.quote-card.is-pending, .quote-card.is-expired { border-color: var(--line); box-shadow: var(--shadow); }
.quote-card .eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--marigold-ink); }
.quote-price { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.quote-limits { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.quote-limits li { background: var(--bg); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 2px; }
.quote-limits b { font-size: 18px; }
.quote-limits span { color: var(--muted); font-size: 13px; }
.quote-msg { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--marigold); background: var(--marigold-soft); border-radius: 0 var(--r) var(--r) 0; color: var(--ink-2); }
.quote-cta { margin-top: 18px; display: grid; gap: 10px; justify-items: start; }
.quote-cta .paypal { width: 100%; max-width: 360px; }
.form-foot-split { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.facts-stack { display: grid; grid-template-columns: 1fr; gap: 12px; }
.link-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .quote-limits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Proof of presence ===== */
.ci-selfie { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.ci-selfie-title { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ci-privacy { font-size: 13px; color: var(--ink-2); display: grid; gap: 6px; line-height: 1.5; }
.ci-cam { position: relative; width: 100%; max-width: 260px; margin: 0 auto; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink); }
.ci-cam video, .ci-cam img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scaleX(-1); }
.ci-cam img { transform: none; }
.ci-cam-actions { display: grid; gap: 8px; }
.ci-cam-actions .btn { height: 46px; gap: 8px; }
.ci-geo { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.ci-geo .ic { flex: none; margin-top: 2px; }
.door { border-color: var(--info); }
.door .card-title { display: flex; align-items: center; gap: 8px; }
.door-search { max-width: 420px; margin-top: 6px; }
.door-search input { height: 44px; font-size: 16px; }
.door-results { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; max-width: 620px; }
.door-results li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.door-results li div { display: grid; }
.door-results li small { color: var(--muted); }
.door-results li.is-done { background: var(--present-soft); border-color: transparent; }
.door-results li.is-error { color: var(--danger); background: var(--danger-soft); border-color: transparent; }
.chip-ok { background: var(--present-soft); color: var(--present); }
.who { display: flex; align-items: center; gap: 10px; }
.selfie { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; padding: 0; border: 1px solid var(--line); background: var(--bg); cursor: zoom-in; display: grid; place-items: center; color: var(--faint); }
.selfie img { width: 100%; height: 100%; object-fit: cover; display: block; }
.selfie.is-empty { cursor: default; }
.selfie-lg { display: block; width: 256px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin: 0 auto 12px; }
.selfie-sm { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.cert-card .card-title { display: flex; align-items: center; gap: 8px; }
.quote-feature { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--present); font-weight: 500; }
.verify { max-width: 620px; }
.verify-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: var(--surface); margin: 8px 0 24px; display: grid; gap: 14px; justify-items: start; }
.verify-card.is-valid { border-color: var(--present); box-shadow: 0 0 0 3px var(--present-soft); }
.verify-card.is-invalid { border-color: var(--danger); background: var(--danger-soft); }
.verify-status { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.is-valid .verify-status { color: var(--present); }
.is-invalid .verify-status { color: var(--danger); }
.verify-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.verify-form .field { flex: 1; min-width: 220px; margin: 0; }
.alert .btn { margin-left: auto; }
.chip .ic { vertical-align: -2px; margin-right: 3px; }

.destruct { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--info-soft); color: var(--info); font-size: 13.5px; font-weight: 500; line-height: 1.45; margin: 4px 0; }
.destruct .ic { flex: none; margin-top: 1px; }
.ci-privacy-link { font-size: 13px; }
.ci-privacy-link a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Marketing pages (v1.7) ===== */
.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; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs [aria-current] { color: var(--ink-2); }
.site-menu { display: none; position: relative; }
.site-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); color: var(--ink); }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:hover { background: var(--hover); }
.site-menu-panel { position: absolute; right: 0; top: 48px; min-width: 220px; display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); }
.site-menu-panel a { padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-size: 15px; }
.site-menu-panel a:hover, .site-menu-panel a[aria-current] { background: var(--hover); color: var(--ink); }
.page-home .hero h1 { max-width: 15ch; font-size: clamp(36px, 4.8vw, 58px); }
.eyebrow-lg { font-size: 14px; font-weight: 600; color: var(--marigold-ink); margin-bottom: 14px; }
.proof-strip { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg); }
.proof-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-in p { display: grid; gap: 2px; padding: 22px 20px; border-left: 1px solid var(--line-2); }
.proof-in p:first-child { border-left: 0; padding-left: 0; }
.proof-in b { font-size: 20px; letter-spacing: -.02em; }
.proof-in span { font-size: 14px; color: var(--muted); }
.section-head .section-lead { margin-bottom: 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 36px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feat { background: var(--surface); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.feat .ic { color: var(--marigold-ink); }
.feat h3 { font-size: 16.5px; margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feat p { color: var(--muted); font-size: 14.5px; flex: 1; }
.feat-badge { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--marigold-soft); color: var(--marigold-ink); }
.feat-more { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 2px; text-underline-offset: 3px; align-self: flex-start; }
.uc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 28px; }
.uc-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.uc-card:hover { border-color: var(--ink-2); box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.uc-card .ic { color: var(--marigold-ink); }
.uc-card h3 { font-size: 16.5px; margin-top: 6px; }
.uc-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.uc-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cmp-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.cmp caption { caption-side: top; text-align: left; padding: 16px 20px 0; font-size: 13px; color: var(--muted); }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-2); }
.cmp thead th { border-top: 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); vertical-align: bottom; }
.cmp tbody th { font-weight: 500; color: var(--ink); width: 30%; }
.cmp .is-us { background: var(--marigold-soft); }
.cmp thead .is-us { color: var(--ink); font-size: 15px; font-weight: 700; }
.cmp td small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.cmp-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.cmp-yes { background: var(--present-soft); color: var(--present); }
.cmp-no { background: var(--line-2); color: var(--faint); }
.cmp-part { background: var(--marigold-soft); }
.cmp .is-us .cmp-part { background: #fff; }
.cmp-part i { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(90deg, var(--marigold) 50%, transparent 50%); border: 1.5px solid var(--marigold); }
.cmp-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.mkt-hero { padding: 56px 0 48px; }
.mkt-hero .crumbs { margin-bottom: 22px; }
.mkt-hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; max-width: 22ch; }
.mkt-lead { margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.mkt-hero .hero-cta .btn-google { width: auto; padding: 0 20px; }
.mkt-prose { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: start; }
.mkt-prose .section-title { position: sticky; top: 96px; }
.mkt-prose .post-body { max-width: 720px; font-size: 17px; }
.mkt-more { margin-top: 28px; }
.seo-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.seo-cols .post-body { font-size: 16.5px; }
.seo-cols .post-body h2 { margin-top: 0; font-size: 26px; }
.faq-item summary h3 { font-size: inherit; font-weight: inherit; margin: 0; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.rel-card { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); background: var(--surface); }
.rel-card:hover { border-color: var(--ink-2); }
.rel-card b { font-size: 16px; line-height: 1.35; }
.rel-kicker { font-size: 12.5px; font-weight: 600; color: var(--marigold-ink); }
.site-foot-in { grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); gap: 28px 28px; }
.foot-brand p { max-width: 32ch; }
.site-foot nav.foot-col { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.site-foot-in > div.foot-brand { display: grid; gap: 10px; }
.site-foot .foot-col a { color: var(--ink-2); text-decoration: none; }
.site-foot .foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.post-cta { padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: #fff; display: grid; gap: 8px; }
.post-cta-kicker { font-size: 13px; font-weight: 600; color: var(--marigold); }
.post-cta-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.post-cta p { color: #C9CED8; }
.post-cta .post-cta-title { color: #fff; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.post-cta .btn-ghost { color: #fff; }
.post-cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 1000px) {
	.site-nav .nav-link { display: none; }
	.site-menu { display: block; }
	.site-nav .site-menu-panel .nav-link { display: block; }
	.site-foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot-brand { grid-column: 1 / -1; }
	.feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mkt-prose { grid-template-columns: 1fr; gap: 12px; }
	.mkt-prose .section-title { position: static; }
	.seo-cols { grid-template-columns: 1fr; gap: 40px; }
	.rel-grid { grid-template-columns: 1fr; }
	.proof-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.proof-in p:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
	.feat-grid { grid-template-columns: 1fr; }
	.site-nav { gap: 10px; }
	.site-nav > a:not(.btn):first-child { display: none; }
	.cmp { min-width: 0; }
	.cmp thead { display: none; }
	.cmp caption { display: block; width: auto; padding: 14px 16px 0; }
	.cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
	.cmp tr { padding: 14px 16px; border-top: 1px solid var(--line); }
	.cmp tr:first-child { border-top: 0; }
	.cmp tbody th { width: auto; padding: 0 0 8px; border: 0; font-weight: 600; }
	.cmp td { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 6px 0; border: 0; }
	.cmp td::before { content: attr(data-label); font-size: 13.5px; color: var(--ink-2); }
	.cmp td small { grid-column: 1 / -1; margin-top: 0; }
	.cmp td.is-us { background: none; }
	.cmp td.is-us::before { font-weight: 700; color: var(--ink); }
	.mkt-hero { padding: 36px 0 32px; }
	.proof-in b { font-size: 17px; }
	.proof-in p { padding: 16px 12px; }
	.site-foot-in { grid-template-columns: 1fr; }
}

/* ===== Monthly / yearly switch (v1.8) ===== */
.bp-in { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.bp-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); }
.bp-switch label { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; user-select: none; }
.bp-switch label:hover { color: var(--ink); }
.bp-save { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--marigold-soft); color: var(--marigold-ink); }
.bp-m:checked ~ .bp-switch .bp-l-m, .bp-y:checked ~ .bp-switch .bp-l-y { background: var(--ink); color: #fff; }
.bp-y:checked ~ .bp-switch .bp-l-y .bp-save { background: var(--marigold); color: var(--ink); }
.bp-in:focus-visible ~ .bp-switch { outline: 2px solid var(--marigold); outline-offset: 2px; }
.bp-m:checked ~ .plans .p-year, .bp-y:checked ~ .plans .p-month { display: none !important; }
.bp > .plans:first-child .p-year { display: none; } /* No switch shown: monthly only. */
.price-note { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; min-height: 18px; }
.p-year .price-note { color: var(--present); font-weight: 600; }
.plan-switch { margin-bottom: 8px; line-height: 1.45; }
.plan-cta div.p-month, .plan-cta div.p-year { display: grid; }
.pp-id { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.pp-id + .pp-id { margin-top: 4px; }

.plan-list { align-content: start; }
.ci-group { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 99px; background: var(--info-soft); color: var(--info); font-size: 13.5px; font-weight: 600; }
.dp-group { margin-top: 6px; font-size: clamp(16px, 2vw, 26px); font-weight: 600; color: var(--marigold); }
.pp-check { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.pp-check li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 10px 12px; border-radius: var(--r); background: var(--bg); font-size: 14px; }
.pp-check small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.45; word-break: break-word; }
.pp-check .pp-ok .ic { color: var(--present); }
.pp-check .pp-warn .ic { color: var(--marigold-ink); }
.pp-check .pp-fail { background: var(--danger-soft); }
.pp-check .pp-fail .ic { color: var(--danger); }
.pp-main { display: grid; gap: 16px; align-content: start; min-width: 0; }
.geo-search { margin-top: 4px; }
.geo-row { display: flex; gap: 8px; }
.geo-row input { flex: 1; min-width: 0; }
.geo-results { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.geo-pick { display: block; width: 100%; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 13.5px; cursor: pointer; }
.geo-pick:hover { border-color: var(--ink-2); }
.text-warn { color: var(--marigold-ink) !important; }
.ci-geo { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--info-soft); font-size: 13.5px; }
.ci-geo-line { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.ci-geo[data-state="ok"] { background: var(--present-soft); }
.ci-geo[data-state="ok"] .ic { color: var(--present); }
.ci-geo[data-state="denied"], .ci-geo[data-state="unavailable"] { background: var(--marigold-soft); }
.ci-geo-help { display: grid; gap: 6px; color: var(--ink-2); line-height: 1.45; }
.ci-me-kicker { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ci-other { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--marigold-soft); color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.plan-summary .eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.plan-summary .plan-name { font-size: 22px; margin-top: 2px; }
.plan-summary.is-compact .plan-name { font-size: 18px; }
.plan-summary .alert { margin-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-summary .alert form { margin-left: auto; }
.section-h { font-size: 18px; margin: 28px 0 6px; }
.plan-rules { margin-bottom: 14px; max-width: 80ch; }
.done { display: grid; gap: 10px; text-align: center; justify-items: center; padding: 6px 4px 4px; }
.done p { color: var(--ink-2); max-width: 46ch; }
.done-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--present-soft); color: var(--present); }
.done-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.plan-cta form.inline, .plan-cta form.inline .btn { width: 100%; }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.scope-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 4px 0 18px; }
.scope-bar .field { margin: 0; min-width: 220px; }
.ci-ident-help { margin-top: -2px; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- Registration (1.10) ---------- */
.alert-info { background: var(--info-soft); color: #1F3F99; }
.chip-ok { background: var(--present-soft); color: var(--present); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.btn-danger-ghost { color: var(--danger); }
.btn-danger-ghost:hover { background: var(--danger-soft); border-color: var(--danger-soft); }
.check.is-locked { opacity: .75; cursor: default; }
.check.is-locked small a { opacity: 1; }
.locked { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--line-2); color: var(--ink-2); font-size: 14px; }
.locked .ic { margin-top: 2px; flex: none; }
.reg-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.reg-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reg-ways li { display: grid; gap: 1px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.reg-ways b { font-size: 13.5px; }
.reg-ways span { color: var(--muted); }
.reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.reg-grid > .card { margin-bottom: 0; }
.reg-link { display: flex; gap: 16px; align-items: flex-start; padding: 14px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.reg-qr { flex: none; width: 112px; height: 112px; padding: 6px; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.reg-qr svg { display: block; width: 100%; height: 100%; }
.reg-link-body { flex: 1; min-width: 0; }
.reg-link-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.reg-queue .tabs-sub { margin: 0; padding-top: 0; padding-bottom: 0; }
.reg-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-top: 1px solid var(--line); }
.reg-bar .check { margin-left: auto; }
.reg-paste { border-top: 1px solid var(--line); }
.reg-paste summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.reg-paste .form { margin-top: 12px; }
.reg-sub { margin: 16px 0 6px; }
.needs-pick th:first-child { outline: 2px solid var(--marigold); outline-offset: -2px; }
.src { color: var(--info) !important; }
.src-registered { color: var(--marigold-ink) !important; }
.imp-tabs .seg { margin-bottom: 14px; }
.imp-more { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
textarea.mono { font-family: var(--mono); font-size: 12.5px; }
@media (max-width: 900px) { .reg-intro, .reg-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .reg-link { flex-direction: column; } .reg-bar .check { margin-left: 0; } }

/* Public registration form */
.rg-when { display: flex; gap: 6px; align-items: center; margin: -14px 0 18px; color: var(--muted); font-size: 14px; }
.rg-intro { margin-bottom: 16px; color: var(--ink-2); font-size: 15px; }
.rg-intro p + p { margin-top: 8px; }
.rg-form { gap: 14px; }
.rg-form .rg-field { display: grid; gap: 6px; }
.rg-form .rg-field > span { font-weight: 600; font-size: 14.5px; }
.rg-form .rg-field > span em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 13px; }
.rg-form input[type=text], .rg-form input[type=email], .rg-form input[type=tel], .rg-form select { height: 50px; font-size: 17px; padding: 0 14px; border-radius: 12px; border-width: 1.5px; width: 100%; }
.rg-form [aria-invalid=true] { border-color: var(--danger); }
.rg-fixed { padding: 12px 14px; border-radius: 12px; background: var(--line-2); font-size: 16px; overflow-wrap: anywhere; }
.rg-err { color: var(--danger); font-size: 13.5px; }
.rg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); font-weight: 400 !important; }
.rg-consent input { width: 20px !important; height: 20px !important; margin-top: 1px; flex: none; accent-color: var(--ink); }
.rg-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rg-foot { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.rg-brand { margin-top: 10px; font-size: 12px; color: var(--faint); text-align: center; }
.rg-code-label { margin-top: 12px !important; font-size: 13px; opacity: .85; }
.rg-code { margin-top: 4px !important; display: inline-block; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.18); font-family: var(--mono); font-size: 26px; font-weight: 700; letter-spacing: .14em; }
.rg-code-sm { font-size: 16px; letter-spacing: 0; }
.ci-result.is-mail { background: var(--info-soft); color: #1F3F99; }
.ci-result.is-mail .ic { flex: none; }

/* ---------- Public guides ---------- */
.gd-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin-top: 26px; padding: 0 16px; height: 52px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); box-shadow: var(--shadow); }
.gd-search input { flex: 1; border: 0; height: 100%; font-size: 16px; background: none; outline: none; padding: 0; }
.gd-search:focus-within { border-color: var(--ink); }
.gd-cat + .gd-cat { margin-top: 40px; }
.gd-cat-title { display: flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -.02em; margin-bottom: 16px; }
.gd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gd-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.gd-card:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.gd-card h3 { font-size: 16px; line-height: 1.35; letter-spacing: -.01em; }
.gd-card p { font-size: 14px; line-height: 1.5; color: var(--muted); flex: 1; }
.gd-meta { font-size: 12.5px; color: var(--faint); font-weight: 600; }
.gd-none { text-align: center; color: var(--muted); padding: 24px 0; }
.gd-wrap { max-width: 820px; }
.gd-hero h1 { max-width: none; font-size: clamp(30px, 3.8vw, 44px); }
.gd-kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--marigold-ink); margin-bottom: 8px; }
.gd-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; color: var(--muted); font-size: 14px; }
.gd-facts li { display: inline-flex; align-items: center; gap: 6px; }
.gd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.gd-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.gd-steps li:first-child { padding-top: 0; }
.gd-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.gd-steps h2 { font-size: 19px; letter-spacing: -.015em; margin: 5px 0 6px; }
.gd-steps p { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.gd-steps a, .gd-tips a, .gd-hero .mkt-lead a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gd-steps code, .gd-tips code { font-family: var(--mono); font-size: 13.5px; padding: 1px 6px; border-radius: 5px; background: var(--line-2); }
.gd-tips { margin-top: 28px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--marigold-soft); color: #5B3E00; }
.gd-tips h2 { font-size: 16px; margin-bottom: 8px; }
.gd-tips ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.55; }
.gd-rel-title { margin-top: 44px; }
.gd-back { margin-top: 28px; }
.gd-back a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gd-grid { grid-template-columns: 1fr; } .gd-steps li { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; } .gd-n { width: 30px; height: 30px; font-size: 13px; } }
.gd-hero { padding-bottom: 24px; }
.gd-hero + .band { padding-top: 32px; }
.reg-grid .card-title .ic, .reg-queue .card-title .ic { margin-right: 8px; vertical-align: -3px; }
@media (max-width: 1180px) and (min-width: 1001px) { .site-foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Dashboards & charts (1.11) ---------- */
:root { --viz-1: #2a78d6; --viz-2: #eb6834; --viz-3: #1baf7a; --viz-muted: #B8BEC9; --viz-grid: #EEF0F3; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.kpi { position: relative; padding: 18px 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; min-height: 132px; display: flex; flex-direction: column; }
.kpi-ic { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--line-2); color: var(--ink-2); }
.kpi-label { font-size: 13px; font-weight: 600; color: var(--muted); padding-right: 40px; }
.kpi-value { margin-top: 8px; font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.kpi-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--muted); }
.kpi-delta { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 99px; font-weight: 700; font-size: 12px; }
.kpi-delta.is-good { background: var(--present-soft); color: var(--present); }
.kpi-delta.is-bad { background: var(--danger-soft); color: var(--danger); }
.kpi-delta.is-flat { background: var(--line-2); color: var(--muted); }
.kpi .viz-spark { position: absolute; right: 16px; bottom: 14px; width: 84px; height: 24px; }
.kpi .viz-spark + * { display: none; }
.kpi:has(.viz-spark) .kpi-foot { padding-right: 92px; }
.viz-spark polyline { fill: none; stroke: var(--viz-muted); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.viz-spark circle { fill: var(--viz-1); stroke: var(--surface); stroke-width: 2; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; align-items: start; }
.dash-grid > .card, .dash-side > .card { margin-bottom: 0; }
.dash-side { display: grid; gap: 16px; }
.dash-sub { padding-top: 0; padding-bottom: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.tbl-dash td { vertical-align: middle; }
.plan-meters { display: grid; gap: 12px; }
.plan-summary.is-compact .card-head { margin-bottom: 14px; }
.up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.up-list a { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.up-list a:hover { background: var(--line-2); }
.up-date { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--info-soft); color: var(--info); line-height: 1; }
.up-date b { font-size: 17px; }
.up-date small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.viz-fig { margin: 0; position: relative; }
.viz { display: block; width: 100%; height: auto; overflow: visible; }
.viz-grid { stroke: var(--viz-grid); stroke-width: 1; }
.viz-axis { stroke: #D5D9E0; stroke-width: 1; }
.viz-tick { fill: var(--faint); font-size: 11px; font-family: inherit; font-variant-numeric: tabular-nums; }
.viz-hit { fill: transparent; }
.viz-col { outline: none; cursor: default; }
.viz-col:hover .viz-hit, .viz-col:focus .viz-hit { fill: rgba(28, 34, 48, .04); }
.viz-col:hover path, .viz-col:focus path { filter: brightness(.9); }
.viz-donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.viz-donut { width: 156px; height: 156px; flex: none; }
.viz-track { fill: none; stroke: var(--line-2); stroke-width: 18; }
.viz-seg { fill: none; stroke-width: 18; outline: none; transition: stroke-width .12s; cursor: default; }
.viz-seg:hover, .viz-seg:focus { stroke-width: 22; }
.viz-center { font-size: 24px; font-weight: 700; fill: var(--ink); letter-spacing: -.02em; }
.viz-center-sub { font-size: 10.5px; fill: var(--muted); }
.viz-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; min-width: 160px; }
.viz-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 38px; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.viz-legend i { width: 10px; height: 10px; border-radius: 3px; }
.viz-legend b { font-variant-numeric: tabular-nums; color: var(--ink); }
.viz-legend em { font-style: normal; font-size: 12.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.viz-hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.viz-hb-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.viz-hb-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viz-hb-label a { color: var(--ink); text-decoration: none; font-weight: 600; }
.viz-hb-label a:hover { text-decoration: underline; }
.viz-hb-top b { font-variant-numeric: tabular-nums; }
.viz-hb-track { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.viz-hb-track i { display: block; height: 100%; border-radius: 99px; background: var(--viz-1); }
.viz-hbars small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.viz-empty { display: grid; place-items: center; gap: 8px; padding: 36px 12px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line); border-radius: 12px; }
.viz-tip { position: fixed; z-index: 90; pointer-events: none; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; box-shadow: var(--shadow-pop); white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
.viz-tip[hidden] { display: none; }
@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .kpi { padding: 14px; min-height: 116px; } .kpi-value { font-size: 24px; } .kpi .viz-spark { display: none; } .kpi:has(.viz-spark) .kpi-foot { padding-right: 0; } .kpi-ic { display: none; } }

/* ---------- Operator console (1.11) ---------- */
.eyebrow { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 4px; }
.kpis-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kpis-5 .kpi-value { font-size: 26px; }
.health { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.health a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin: 0 -10px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 14px; }
.health a:hover { background: var(--line-2); }
.health a > span { flex: 1; }
.health a > .ic:last-child { color: var(--faint); }
.health .is-ok a > .ic:first-child { color: var(--present); }
.health .is-bad a > .ic:first-child { color: var(--marigold-ink); }
.health .is-bad a > span { color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 14px; margin-bottom: 12px; }
.filters select { width: auto; min-width: 150px; }
.filters .search { max-width: 420px; }
.cust-head { display: flex; align-items: center; gap: 14px; margin: 6px 0 20px; }
.org-badge-lg { width: 52px; height: 52px; border-radius: 14px; font-size: 18px; }
.cust-name { font-size: 26px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.card-danger { border-color: #F2C9C4; }
.empty-lg { padding: 72px 20px; }
.plan-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-bottom: 16px; }
.plan-admin > .card { margin-bottom: 0; }
.plan-edit { display: grid; gap: 12px; align-content: start; }
.plan-edit .grid-2, .plan-edit .grid-4 { gap: 10px; }
.plan-edit .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-edit-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.plan-key { font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-top: 4px; }
.plan-sub em { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; }
.plan-pp summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.plan-pp .grid-2 { margin-top: 10px; }
.plan-admin-foot { display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.plan-admin-foot .help { flex: 1 1 420px; margin: 0; }
.feat-toggles { display: grid; gap: 8px; }
.switch { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.switch input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { position: relative; flex: none; width: 34px; height: 20px; margin-top: 1px; border-radius: 99px; background: #D5D9E0; transition: background .15s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.switch input:checked + i { background: var(--present); }
.switch input:checked + i::after { transform: translateX(14px); }
.switch input:focus-visible + i { outline: 2px solid var(--info); outline-offset: 2px; }
.switch small { display: block; color: var(--marigold-ink); font-size: 12px; }
.switch.is-off span { color: var(--muted); }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rank li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; font-size: 13.5px; border-radius: 8px; overflow: hidden; }
.rank-bar { position: absolute; inset: 0 auto 0 0; background: var(--info-soft); z-index: 0; border-radius: 8px; }
.rank-k, .rank b { position: relative; z-index: 1; }
.rank-k { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank b { font-variant-numeric: tabular-nums; }
.traffic-lists > .card { margin-bottom: 0; }
.announce { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 18px; border-radius: 12px; font-size: 14px; }
.announce p { flex: 1; margin: 0; }
.announce a { font-weight: 600; color: inherit; }
.announce.is-info { background: var(--info-soft); color: #1F3F99; }
.announce.is-warn { background: var(--marigold-soft); color: #6E4A00; }
.announce .btn { color: inherit; box-shadow: none; background: transparent; border-color: transparent; }
@media (max-width: 1280px) { .kpis-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .kpis-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .traffic-lists { grid-template-columns: 1fr; } .plan-admin { grid-template-columns: 1fr; } }

/* Modern polish for cards and tables */
.card { border-radius: var(--r-lg); }
.tbl thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 700; }
.sb-nav a.is-active { box-shadow: inset 2px 0 0 var(--ink); }
.grid-top { align-items: start; }
.card-flush .tbl-wrap, .card .tbl-wrap.tbl-inner { border: 0; border-radius: 0; box-shadow: none; margin-bottom: 0; }
.card-flush .tbl-wrap + .pager, .card-flush > .pager { margin: 0; border-top: 1px solid var(--line); }
.dash-grid.is-stretch { align-items: stretch; }
.dash-side { align-content: start; }
@media (max-width: 700px) { .viz-cols .viz-tick { font-size: 17px; } }
.day-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.day-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day-pick span { display: inline-grid; place-items: center; min-width: 46px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; background: var(--surface); }
.day-pick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.day-pick input:focus-visible + span { outline: 2px solid var(--info); outline-offset: 2px; }
.repeat [data-when] { margin-top: 10px; }
.msg-st { display: block; font-size: 11.5px; color: var(--muted); }
.msg-st.is-delivered, .msg-st.is-read { color: var(--present); }
.msg-st.is-failed { color: var(--danger); }
.send-auto { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.send-auto .send-actions { margin-top: 8px; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 18px 0 12px; }
.mail-kinds { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; }
.preview-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-list { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 8px; font-size: 13.5px; }
.tpl-list li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--bg); }
.tpl-list b { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.field-label { font-size: 13px; font-weight: 600; margin-top: 10px; }
.field-inline { margin-top: 4px; }

/* Download menus (1.12) */
.dl-menu { position: relative; display: inline-block; }
.dl-menu > summary { list-style: none; cursor: pointer; }
.dl-menu > summary::-webkit-details-marker { display: none; }
.dl-menu > summary .ic:last-child { opacity: .6; margin-left: 2px; }
.dl-menu .menu-pop { left: auto; right: 0; min-width: 270px; }
.dl-menu .menu-item span { display: grid; gap: 1px; }
.dl-menu .menu-item small { color: var(--muted); font-size: 12px; font-weight: 400; }
.plan-matrix .cmp th small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.plan-matrix .cmp td { text-align: center; vertical-align: middle; }
.plan-matrix .cmp thead th:not(:first-child) { text-align: center; }
.plan-matrix .pm-h th { background: var(--bg); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 16px; }
.plan-list .plan-core { color: var(--muted); }
.plan-matrix-box summary { cursor: pointer; font-weight: 600; } .plan-matrix-box .cmp-wrap { margin-top: 14px; }

/* ---------- Website languages ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 8px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--hover); color: var(--ink); }
.lang-menu-panel { position: absolute; right: 0; top: 42px; z-index: 40; min-width: 170px; display: grid; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); }
.site-nav .lang-menu-panel a { padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 14px; }
.site-nav .lang-menu-panel a:hover { background: var(--hover); color: var(--ink); }
.site-nav .lang-menu-panel a[aria-current] { color: var(--ink); font-weight: 600; background: var(--line-2); }
.site-menu-langs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.site-menu-panel .site-menu-langs a { padding: 6px 10px; font-size: 13.5px; }
.foot-langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; margin-top: -8px; }
.site-foot .foot-langs a { color: var(--muted); text-decoration: none; }
.site-foot .foot-langs a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .foot-langs a[aria-current] { color: var(--ink); font-weight: 600; }
.lang-offer { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 32px); padding: 10px 10px 10px 16px; background: var(--ink); color: #fff; border-radius: 12px; box-shadow: var(--shadow-pop); font-size: 14px; }
.lang-offer span { min-width: 0; }
.lang-offer-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.lang-offer-x:hover { background: rgba(255,255,255,.12); }
@media (max-width: 560px) { .lang-offer { flex-wrap: wrap; left: 16px; right: 16px; transform: none; width: auto; } }
.lang-checks { display: grid; gap: 8px; margin-bottom: 22px; }
.lang-fields { display: block; }
.lang-fields > summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.lang-fields[open] > summary { margin-bottom: 10px; }
.lang-fields > .field, .lang-fields > .grid-2 { margin-top: 10px; }
.lang-fields-h { margin: 16px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 1000px) { .site-nav > .lang-menu { display: none; } }
.lang-offer .btn { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.lang-offer .btn:hover { background: #F1F2F5; }
.site-foot-in > div.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- Discount codes, billing switch ---------- */
.check-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.code-form { margin: 0 0 18px; }
.code-form summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-block; }
.code-row { display: flex; gap: 8px; margin-top: 10px; max-width: 420px; }
.code-row input { flex: 1; text-transform: uppercase; letter-spacing: .04em; }
.code-box, .code-banner { align-items: center; }
.code-box span, .code-banner span { flex: 1; }
.plan-code { margin: 0 0 8px; padding: 6px 10px; border-radius: var(--r-sm); background: var(--present-soft); color: var(--present); font-size: 13px; font-weight: 600; }
.plan-switcher > summary { list-style: none; }
.plan-switcher > summary::-webkit-details-marker { display: none; }
.plan-switcher[open] > summary { margin-bottom: 8px; background: var(--hover); }
.plan-scheduled { display: inline-flex; align-items: center; gap: 6px; color: var(--closed); }
details.uses { margin-top: 4px; font-size: 12.5px; text-align: left; }
details.uses summary { cursor: pointer; color: var(--muted); }
details.uses ul { margin: 6px 0 0; padding-left: 16px; }
.tbl-flat { border: 0; border-radius: 0; box-shadow: none; margin: 0; }
.pad { padding: 16px 20px; }
.tbl td small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
form.inline { display: inline; }

/* ---------- Forms and quizzes: organizer ---------- */
.upsell { max-width: 720px; }
.upsell .card-title { display: flex; align-items: center; gap: 8px; }
.crumbs-mini { margin: -6px 0 14px; font-size: 13.5px; }
.crumbs-mini a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.crumbs-mini a:hover { color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.form-card { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.form-card h3 { font-size: 16px; margin: 4px 0 0; }
.form-card h3 a { color: var(--ink); text-decoration: none; }
.form-card h3 a:hover { text-decoration: underline; }
.form-card p { margin: 0; }
.form-card-top { display: flex; justify-content: space-between; align-items: center; }
.form-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.form-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.fb-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; counter-reset: fbq; }
.fb-q { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: #FCFCFD; display: grid; gap: 8px; counter-increment: fbq; }
.fb-q-head { display: flex; justify-content: space-between; align-items: center; }
.fb-type { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.fb-type::before { content: counter(fbq) ". "; color: var(--ink); }
.fb-tools { display: flex; gap: 2px; }
.fb-text { font-weight: 600; }
.fb-help { font-size: 13px; }
.fb-opts { display: grid; gap: 6px; padding-left: 4px; }
.fb-opt { display: flex; align-items: center; gap: 8px; }
.fb-opt .fb-opt-text { flex: 1; }
.fb-opt input[type=radio], .fb-opt input[type=checkbox] { accent-color: var(--present); width: 18px; height: 18px; }
.fb-q-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13.5px; }
.fb-points { display: inline-flex; align-items: center; gap: 6px; }
.fb-points input { width: 70px; height: 32px; }
.fb-add { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-add select { max-width: 320px; }
.sticky-foot { position: sticky; bottom: 0; z-index: 5; background: rgba(246, 247, 249, .94); backdrop-filter: blur(6px); padding: 12px 0; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); margin-bottom: 16px; }
.q-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin-bottom: 16px; }
.q-result { margin: 0; }
.q-result h3 { font-size: 15.5px; margin: 2px 0 4px; }
.q-num { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.q-texts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; max-height: 320px; overflow: auto; }
.q-texts li { padding: 8px 10px; border-radius: var(--r-sm); background: var(--bg); font-size: 14px; }
.prepost { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.prepost > div:not(.prepost-arrow) { display: grid; gap: 2px; }
.prepost span { font-size: 12.5px; color: var(--muted); }
.prepost b { font-size: 28px; letter-spacing: -.02em; }
.prepost-arrow { color: var(--faint); }

/* ---------- Forms: participant page ---------- */
.fm-who { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.fm-form { display: grid; gap: 14px; margin-top: 8px; }
.fm-q { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 0; background: var(--surface); display: grid; gap: 8px; }
.fm-q legend { font-weight: 600; font-size: 15.5px; padding: 0; display: flex; gap: 8px; line-height: 1.35; }
.fm-n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line-2); font-size: 12px; margin-top: 1px; }
.fm-req { color: var(--danger); }
.fm-help { margin: -2px 0 0; font-size: 13px; color: var(--muted); }
.fm-q.has-error { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.fm-err { margin: 0; color: var(--danger); font-size: 13px; font-weight: 600; }
.fm-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 15px; }
.fm-opt:has(input:checked) { border-color: var(--ink); background: var(--hover); }
.fm-opt input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.fm-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.fm-stars input { position: absolute; opacity: 0; pointer-events: none; }
.fm-stars label { font-size: 36px; line-height: 1; color: #D5D9E0; cursor: pointer; padding: 2px; }
.fm-stars label:hover, .fm-stars label:hover ~ label, .fm-stars input:checked ~ label { color: var(--marigold); }
.fm-stars input:focus-visible + label { outline: 2px solid var(--ink); border-radius: 4px; }
.fm-scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.fm-scale label { position: relative; }
.fm-scale input { position: absolute; opacity: 0; }
.fm-scale span { display: grid; place-items: center; height: 40px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; }
.fm-scale input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.fm-scale input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
.fm-scale-ends { display: flex; justify-content: space-between; margin: 0; font-size: 12px; color: var(--muted); }
.fm-review { margin: 14px 0; padding-left: 20px; display: grid; gap: 8px; }
.fm-review li span { display: block; font-size: 13.5px; }
.fm-review .is-right span { color: var(--present); }
.fm-review .is-wrong span { color: var(--danger); }
.ci-form { margin-top: 14px; padding: 14px; border-radius: var(--r); background: var(--marigold-soft); display: grid; gap: 10px; }
.ci-form-t { margin: 0; font-weight: 600; color: var(--marigold-ink); }

/* ---------- Email participants ---------- */
.aud-list { display: grid; gap: 6px; }
.aud { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.aud.is-on, .aud:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.aud > span { flex: 1; min-width: 180px; font-size: 14px; }
.aud input[type=radio] { accent-color: var(--ink); }
.aud select { width: auto; max-width: 260px; height: 32px; }
.aud-count { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--present); }
.aud-count.is-zero { color: var(--danger); }
@media (max-width: 640px) {
	.fm-scale { grid-template-columns: repeat(6, 1fr); }
	.q-results { grid-template-columns: 1fr; }
	.sticky-foot { flex-wrap: wrap; }
}
.q-cols { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; height: 120px; align-items: end; margin-top: 12px; }
.q-col { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; align-items: end; }
.q-col i { display: block; min-height: 2px; background: var(--viz-1); border-radius: 3px 3px 0 0; align-self: end; }
.q-col-n { font-size: 11.5px; font-weight: 600; color: var(--ink-2); min-height: 15px; }
.q-col b { font-size: 11.5px; font-weight: 600; color: var(--muted); padding-top: 4px; border-top: 1px solid var(--line); }
.q-cols-rating .q-col i { background: var(--marigold); }
.q-bars { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.q-bars li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(60px, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.q-bar-l { min-width: 0; overflow-wrap: anywhere; }
.q-bar-l em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--present); background: var(--present-soft); padding: 1px 6px; border-radius: 99px; margin-left: 4px; }
.q-bar-t { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.q-bar-t i { display: block; height: 100%; background: var(--viz-1); border-radius: 99px; }
.q-bars li.is-right .q-bar-t i { background: var(--viz-3); }
.q-bar-v { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; }
.q-bar-v small { color: var(--muted); font-weight: 500; }
.fb-yn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.fb-yn-l { font-size: 13px; font-weight: 600; color: var(--muted); }
.tbl code.code { white-space: nowrap; }
.legal h2 { font-size: 18px; margin: 28px 0 8px; } .legal p { margin: 0 0 12px; }
