:root {
  --bg: #f5f7fa; --surface: #ffffff; --surface-2: #f0f2f8; --text: #0b1f4b; --muted: #5b6477; --border: #e2e6f0;
  --primary: #2563eb; --primary-hover: #1d4ed8; --primary-contrast: #ffffff;
  --success: #15803d; --success-bg: #e7f6ec; --danger: #b91c1c; --danger-bg: #fdecec; --warn: #a15c07; --warn-bg: #fff3dc; --info: #1d4ed8; --info-bg: #e8effe;
  --radius: 12px; --shadow: 0 1px 2px rgba(20, 26, 44, .06), 0 4px 16px rgba(20, 26, 44, .05);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--sans); background: var(--bg); color: var(--text); }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 .6rem; letter-spacing: -.02em; }
h2 { font-size: 1.15rem; margin: 0 0 .75rem; letter-spacing: -.01em; }
h3 { font-size: 1rem; margin: 0 0 .35rem; }
p { margin: 0 0 .9rem; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--mono); font-size: .86em; }
code { background: var(--surface-2); padding: .15em .45em; border-radius: 6px; }
.muted { color: var(--muted); } .small { font-size: .86rem; } .strong { font-weight: 600; } .center { text-align: center; }
.right { text-align: right; } .nowrap { white-space: nowrap; } .wrap-anywhere { overflow-wrap: anywhere; word-break: break-word; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--primary-contrast); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* layout */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: .7rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--primary); color: var(--primary-contrast); font-size: .9rem; }
.topbar nav { display: flex; gap: .25rem; flex: 1; }
.topbar nav a { padding: .4rem .75rem; border-radius: 8px; color: var(--muted); font-weight: 500; }
.topbar nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.topbar nav a.active { color: var(--text); background: var(--surface-2); }
.topbar-right { display: flex; align-items: center; gap: .6rem; }
.user-chip { color: var(--muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .86rem; }
main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 1.75rem 1.25rem 3rem; outline: none; }
.footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.footer > div { max-width: 1120px; margin: 0 auto; padding: 1.25rem; }
.view > * + * { margin-top: 1rem; }
.narrow { max-width: 620px; } .narrow-wide { max-width: 980px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-head h1 { margin-bottom: .3rem; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.crumb { margin: 0 0 .5rem; font-size: .9rem; }
.badges { display: flex; gap: .4rem; flex-wrap: wrap; }
.tight { margin: .15rem 0 .4rem; }

/* components */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem 1.25rem; box-shadow: var(--shadow); }
.card.disabled { opacity: .6; }
.grid { display: grid; gap: 1rem; } .grid.stats { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.stat-label { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; margin-top: .15rem; }
.stat-sub { color: var(--muted); font-size: .85rem; }
.danger-tone .stat-value { color: var(--danger); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1rem; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-contrast); }
.btn.primary:hover { background: var(--primary-hover); }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--border)); }
.btn.danger:hover { background: var(--danger-bg); }
.btn.small { padding: .3rem .7rem; font-size: .85rem; } .btn.large { padding: .8rem 1.5rem; font-size: 1.02rem; } .btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.icon-btn { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 .4rem; }
.actions { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; } .actions.center { justify-content: center; }
.badge { display: inline-block; padding: .12rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.success { background: var(--success-bg); color: var(--success); } .badge.danger { background: var(--danger-bg); color: var(--danger); }
.badge.warn { background: var(--warn-bg); color: var(--warn); } .badge.info { background: var(--info-bg); color: var(--info); }
.banner { padding: .75rem 1rem; border-radius: 10px; border: 1px solid transparent; }
.banner.info { background: var(--info-bg); color: var(--info); } .banner.warn { background: var(--warn-bg); color: var(--warn); }
.banner.error { background: var(--danger-bg); color: var(--danger); } .banner.success { background: var(--success-bg); color: var(--success); }
.faq details { border-bottom: 1px solid var(--border); padding: .6rem 0; } .faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; } .faq details p { margin: .5rem 0 0; color: var(--muted); }
.banner a { font-weight: 600; text-decoration: underline; }
.shell > .banner { border-radius: 0; text-align: center; }
.ok { color: var(--success); font-weight: 600; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); } .empty.small { padding: 1.25rem 1rem; }
.empty h3 { color: var(--text); font-size: 1.15rem; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 2rem auto; }
@keyframes spin { to { transform: rotate(360deg); } } @media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* forms */
.field { margin-bottom: 1rem; } .field label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .9rem; }
.hint { color: var(--muted); font-size: .82rem; margin-top: .25rem; }
input[type=text], input[type=url], input[type=email], input[type=password], input[type=number], select { width: 100%; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text); font: inherit; }
input:disabled { background: var(--surface-2); color: var(--muted); }
input[type=number] { width: 120px; } select { appearance: auto; }
.check { display: flex !important; align-items: center; gap: .5rem; font-weight: 500 !important; } .check input { width: 18px; height: 18px; }
.inline { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.form-error { color: var(--danger); font-weight: 600; min-height: 0; margin-bottom: .5rem; } .form-error:empty { display: none; }
.segmented { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); margin-bottom: 1rem; }
.segmented button { border: 0; background: none; padding: .5rem 1rem; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-right: 1px solid var(--border); }
.segmented button:last-child { border-right: 0; } .segmented button.active { background: var(--primary); color: var(--primary-contrast); }
.segmented.big button { padding: .65rem 1.6rem; }
.ex-row { display: flex; gap: .5rem; margin-bottom: .5rem; flex-wrap: wrap; } .ex-row input[type=number] { width: 190px; } .ex-row input[type=text] { flex: 1; min-width: 160px; }
.rule-row { align-items: center; } .rule-row > select { width: auto; flex: 0 0 auto; } .rule-row > input[type=text] { flex: 1 1 150px; min-width: 120px; width: auto; } .rule-row > input[type=number] { width: 110px; flex: 0 0 auto; } .rule-row > span { flex: 0 0 auto; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); }

/* tables */
.table-wrap { overflow-x: auto; } .table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .55rem .75rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: .7rem .75rem; border-bottom: 1px solid var(--border); vertical-align: middle; } .table tr:last-child td { border-bottom: 0; }

/* tabs */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin-top: 1rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: .6rem 1rem; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); } .tab:disabled { opacity: .45; cursor: not-allowed; }
.tab-body { margin-top: 1rem; } .tab-body > * + * { margin-top: 1rem; }

/* charts + meters */
.chart-wrap { width: 100%; } .chart { width: 100%; height: auto; display: block; }
.bar-req { fill: color-mix(in srgb, var(--primary) 55%, var(--surface)); } .bar-blocked { fill: var(--danger); } .axis { fill: var(--muted); font-size: 10px; }
.legend { display: flex; gap: 1rem; align-items: center; color: var(--muted); font-size: .82rem; margin-top: .4rem; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; } .dot.req { background: color-mix(in srgb, var(--primary) 55%, var(--surface)); } .dot.blk { background: var(--danger); }
.meter { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; } .meter-fill { height: 100%; background: var(--primary); border-radius: 999px; transition: width .4s; }
.meter.warn .meter-fill { background: #d97706; } .meter.over .meter-fill { background: var(--danger); }

/* dns instructions */
.num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: var(--primary-contrast); font-size: .8rem; margin-right: .6rem; }
.dns-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: stretch; background: var(--surface-2); border-radius: 10px; padding: .75rem; margin: .6rem 0; }
.dns-type { font-weight: 700; align-self: center; min-width: 48px; color: var(--primary); }
.dns-cell { flex: 1; min-width: 220px; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; } .dns-label { width: 100%; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.dns-status { margin-top: .75rem; }

/* plans */
.plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; } .plan.featured { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent), var(--shadow); }
.plan.current { border-color: var(--success); } .plan .btn { margin-top: auto; }
.ribbon { position: absolute; top: -11px; right: 14px; background: var(--primary); color: var(--primary-contrast); font-size: .72rem; font-weight: 700; padding: .15rem .65rem; border-radius: 999px; }
.price { margin: .5rem 0 .8rem; } .amount { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; } .per { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; } .ticks li { padding: .25rem 0 .25rem 1.5rem; position: relative; } .ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.ticks li.lead { padding-left: 0; font-weight: 600; } .ticks li.lead::before { content: none; }
.pay-options { display: grid; gap: .6rem; margin-top: 1rem; } .btn.pay { flex-direction: column; align-items: flex-start; padding: .8rem 1rem; gap: .1rem; font-weight: 400; }

/* landing + auth */
.hero { text-align: center; padding: 3.5rem 0 2.5rem; } .hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); max-width: 18ch; margin: 0 auto 1rem; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin: 0 auto 1.5rem; }
.features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 1.5rem 0 3rem; } .feature p { color: var(--muted); margin: 0; }
.landing section { margin-bottom: 3rem; } .landing h2 { font-size: 1.6rem; text-align: center; margin-bottom: 1.5rem; }
.steps { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } .steps li { display: flex; gap: .8rem; } .steps .num { flex: none; margin-top: .15rem; } .steps p { margin: 0; color: var(--muted); }
.auth { display: grid; place-items: center; padding: 1.5rem 0; } .auth-card { width: 100%; max-width: 420px; } .auth-card h1 { font-size: 1.5rem; }

/* overlays */
.overlay { position: fixed; inset: 0; background: rgba(8, 10, 18, .55); display: grid; place-items: center; z-index: 50; padding: 1rem; }
.modal { background: var(--surface); border-radius: var(--radius); width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); border: 1px solid var(--border); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem 0; } .modal-head h2 { margin: 0; } .modal-body { padding: 1rem 1.25rem 1.25rem; }
.toasts { position: fixed; bottom: 1rem; right: 1rem; display: grid; gap: .5rem; z-index: 60; max-width: min(380px, calc(100vw - 2rem)); }
.toast { background: var(--text); color: var(--bg); padding: .7rem 1rem; border-radius: 10px; box-shadow: var(--shadow); font-weight: 500; } .toast.success { background: var(--success); color: #fff; } .toast.error { background: var(--danger); color: #fff; }

@media (max-width: 640px) {
  main { padding: 1.25rem 1rem 2.5rem; } .topbar-inner { gap: .6rem; } .topbar nav { order: 3; width: 100%; overflow-x: auto; }
  .user-chip { display: none; } .stat-value { font-size: 1.5rem; }
}
.logo-img { display: block; height: 30px; width: auto; }
.brand .product { font-weight: 500; letter-spacing: .12em; font-size: .8rem; color: var(--primary); padding-left: .65rem; margin-left: .15rem; border-left: 1px solid var(--border); }
.google-btn { gap: .6rem; background: #fff; color: #1f1f1f; border-color: #dadce0; font-weight: 600; }
.google-btn:hover { background: #f8f9fa; }
.or { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .82rem; margin: 1rem 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-card .google-btn { margin-top: .4rem; }
.auth-card .forgot-link { text-align: right; margin: -.4rem 0 .8rem; }
.qr-wrap { display: flex; justify-content: center; margin: .5rem 0 .75rem; }
.qr { width: 200px; height: 200px; image-rendering: pixelated; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.secret-box { font-family: var(--mono); letter-spacing: .08em; background: var(--surface-2); padding: .65rem .9rem; border-radius: 10px; word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem; font-family: var(--mono); margin: .5rem 0; }
.method { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.method:first-of-type { border-top: 0; }
.method-name { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
textarea { width: 100%; min-height: 140px; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: 9px; font: .85rem/1.45 var(--mono); background: var(--surface); color: var(--text); }
.card h3 { margin-top: 1.25rem; }

/* ===== signed-in console: sidebar layout ===== */
.cx { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.cx-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 1rem .75rem; gap: .5rem; }
.cx-side .brand { padding: .25rem .5rem .5rem; }
.cx-org { margin: 0 .25rem .25rem; padding: .7rem .75rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.cx-org-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: .35rem; }
.cx-side nav { display: flex; flex-direction: column; gap: 2px; }
.cx-side .nav-group { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .85rem .75rem .25rem; font-weight: 600; }
.cx-side nav a { display: flex; align-items: center; gap: .65rem; padding: .5rem .75rem; border-radius: 8px; color: var(--text); font-weight: 500; }
.cx-side nav a:hover { background: var(--surface-2); text-decoration: none; }
.cx-side nav a.active { background: var(--info-bg); color: var(--primary); font-weight: 600; }
.nav-ico { width: 18px; text-align: center; color: var(--muted); } .cx-side nav a.active .nav-ico { color: var(--primary); }
.cx-user { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: .5rem .6rem; align-items: center; padding: .75rem .5rem 0; border-top: 1px solid var(--border); }
.cx-user .btn { grid-column: 1 / -1; }
.cx-user-text { min-width: 0; } .cx-user-text > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .82rem; }
.cx-main { min-width: 0; display: flex; flex-direction: column; }
.cx-main > .banner { border-radius: 0; text-align: center; }
.cx-main main { max-width: 1240px; width: 100%; padding: 1.75rem 2rem 2.5rem; }
.cx-foot { margin-top: auto; padding: 1rem 2rem 1.5rem; }
.page-head .sub { color: var(--muted); margin: 0; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); } .grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.stats.dense { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat .delta { font-size: .8rem; font-weight: 600; } .delta.up { color: var(--danger); } .delta.down { color: var(--success); } .delta.flat { color: var(--muted); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; } .section-title h2 { margin-bottom: .6rem; } .section-title a { font-size: .86rem; font-weight: 600; }
.rank { display: grid; gap: .65rem; }
.rank-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label value" "bar bar"; gap: .2rem .75rem; align-items: center; font-size: .9rem; }
.rank-label { grid-area: label; min-width: 0; overflow-wrap: anywhere; } .rank-value { grid-area: value; font-weight: 600; font-variant-numeric: tabular-nums; }
.rank-bar { grid-area: bar; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; } .rank-fill { height: 100%; background: var(--primary); border-radius: 999px; }
.rank-fill.danger { background: var(--danger); }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: .9rem; } .toolbar select, .toolbar input[type=text] { width: auto; min-width: 170px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; font-size: .92rem; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
.msg { border: 1px solid var(--border); border-radius: 10px; padding: .7rem .9rem; } .msg.staff { background: var(--info-bg); }
.msg-head { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-bottom: .3rem; } .msg-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.secret-once { font-family: var(--mono); background: var(--surface-2); border: 1px dashed var(--border); padding: .75rem 1rem; border-radius: 10px; word-break: break-all; }
.health { display: inline-flex; align-items: center; gap: .4rem; } .health::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.health.warn::before { background: #d97706; } .health.bad::before { background: var(--danger); }
@media (max-width: 960px) {
  .cx { grid-template-columns: 1fr; }
  .cx-side { position: static; height: auto; flex-direction: column; padding: .75rem; }
  .cx-side nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; } .cx-side .nav-group { display: none; }
  .cx-user { margin-top: .5rem; } .cx-main main { padding: 1.25rem 1rem 2rem; } .grid.two, .grid.three { grid-template-columns: 1fr; }
}
.link-card { color: inherit; display: block; transition: border-color .12s; } .link-card:hover { text-decoration: none; border-color: var(--primary); }
.stat.warn-tone .stat-value { color: var(--warn); } .stat.ok-tone .stat-value { color: var(--success); }
.card h2 + .table-wrap, .section-title + .table-wrap { margin-top: .25rem; }
pre.secret-once { white-space: pre-wrap; margin: .5rem 0 0; font-size: .85rem; }
/* event explorer */
.filters .toolbar { margin-bottom: .75rem; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.filter { display: flex; flex-direction: column; gap: .2rem; }
.link-chip { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; border-bottom: 1px dotted var(--muted); }
.link-chip:hover, .link-chip:focus-visible { color: var(--accent, #2563eb); border-bottom-color: currentColor; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent, #2563eb); cursor: pointer; text-decoration: underline; }
.certin-section { margin-top: 1rem; } .certin-section h3 { font-size: .95rem; margin: 0 0 .25rem; }
.fill-in { background: var(--warn-bg); color: var(--warn); border-radius: 6px; padding: 0 .4rem; font-style: italic; }
.events-table .event-row { cursor: pointer; } .events-table .event-row:hover td { background: var(--surface-2); }
.event-detail td { background: var(--surface-2); }
/* correlation incidents */
.incident { padding: .75rem 0; border-bottom: 1px solid var(--border); } .incident:last-of-type { border-bottom: 0; }
.incident-head { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .25rem; }
.incident p { margin: .3rem 0; }
/* threat intelligence policy */
.ti-list { display: flex; flex-direction: column; gap: .9rem; margin-bottom: .5rem; }
.ti-row { display: grid; grid-template-columns: 1fr minmax(180px, 240px); gap: 1rem; align-items: start; padding-bottom: .9rem; border-bottom: 1px solid var(--border); }
.ti-row:last-child { border-bottom: 0; }
.ti-row .small { margin-top: .25rem; }
@media (max-width: 640px) { .ti-row { grid-template-columns: 1fr; } }
