:root {
    --bg: #f7f5f0;
    --bg-alt: #efebe3;
    --panel: #fffcf7;
    --card: #fffcf7;
    --border: #ddd6c8;
    --text: #1b2433;
    --muted: #4a5565;
    --brand: #0f3d7a;
    --brand-2: #c45c2a;
    --crit: #c45c2a;
    --radius: 10px;
    --maxw: 1120px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}
.container-wide {
    max-width: min(1680px, 100%);
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }

p { margin: 0 0 1rem; }
.muted { color: var(--muted); }

.grad {
    background: linear-gradient(100deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: .9rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 104px;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; }
.brand-mark { color: var(--brand); display: inline-flex; }
.brand-name { font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-logo {
    display: block;
    width: auto;
    height: 88px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}
.brand-logo-footer { height: 72px; }
.brand-logo-rail { height: 96px; }
.brand-logo-mobile { height: 56px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.portal-nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.portal-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}
.portal-rail {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 22px 16px;
    background:
        linear-gradient(180deg, rgba(15, 61, 122, .12) 0%, rgba(196, 92, 42, .06) 38%, transparent 70%),
        var(--bg-alt);
    border-right: 1px solid color-mix(in srgb, var(--brand) 18%, var(--border));
    position: sticky;
    top: 0;
    height: 100vh;
}
.portal-rail-brand {
    align-self: center;
}
.portal-rail-brand .brand-name {
    background: linear-gradient(100deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.portal-rail-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.portal-rail-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid transparent;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: color .15s, background .15s, border-color .15s;
}
.portal-rail-icon {
    flex-shrink: 0;
    opacity: .72;
}
.portal-rail-nav a:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--brand) 7%, var(--panel));
}
.portal-rail-nav a:hover .portal-rail-icon {
    opacity: .9;
}
.portal-rail-nav a.is-active {
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 11%, var(--panel));
    border-left-color: var(--brand);
    font-weight: 700;
}
.portal-rail-nav a.is-active .portal-rail-icon {
    opacity: 1;
}
.portal-rail-foot { margin-top: auto; }
.portal-rail-account {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding: 10px 10px;
    border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--border));
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand) 6%, var(--panel));
}
.portal-rail-avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--brand), #1a5a9e);
    color: #fff;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .02em;
}
.portal-rail-account-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.portal-rail-user {
    margin: 0;
    font-size: .84rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.portal-rail-role {
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--brand);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.portal-rail-signout {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: .9rem;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}
.portal-rail-signout:hover {
    color: var(--brand-2);
    background: color-mix(in srgb, var(--brand-2) 10%, var(--panel));
}
.portal-stage { flex: 1; min-width: 0; }
.security-page { max-width: 720px; }
.security-lead { max-width: 40rem; margin-bottom: 1.75rem; }
.security-panel { margin-bottom: 20px; }
.security-panel h2 { margin-bottom: .4rem; }
.security-panel h3 {
    margin: 0 0 .35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink, #1b2433);
}
.security-mfa-option {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border, #e4ddd2);
}
.security-form { max-width: 28rem; margin-top: 1rem; }
.api-keys-panel .api-key-create { max-width: 28rem; margin-bottom: 1.25rem; }
.api-docs-refs {
    display: grid;
    gap: 8px;
    margin: 12px 0 18px;
}
.api-docs-refs-label {
    margin: 0;
    font-size: .82rem;
    font-weight: 650;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--muted);
}
a.api-docs-ref {
    justify-content: space-between;
    width: 100%;
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
a.api-docs-ref:hover {
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 7%, var(--panel));
}
.api-docs-ref-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    text-align: left;
}
.api-docs-ref-title { font-weight: 700; }
.api-docs-ref code {
    text-decoration: none;
    font-size: .86rem;
    font-weight: 500;
    color: var(--muted);
}
.api-docs-ref-go {
    font-size: 1.05rem;
    color: var(--brand);
}
.api-key-secret-value {
    display: block;
    margin-top: .35rem;
    word-break: break-all;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9rem;
}
.api-key-list { margin-top: 8px; }
.api-key-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.api-key-prefix {
    margin-left: .45rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88rem;
}
.portal-mobilebar { display: none; }
.portal-nav-scrim { display: none; }

@media (max-width: 860px) {
    .portal-app .portal-mobilebar {
        display: flex;
        align-items: center;
        gap: 12px;
        position: sticky;
        top: 0;
        z-index: 40;
        height: 56px;
        padding: 0 16px;
        background: rgba(247, 245, 240, 0.94);
        border-bottom: 1px solid var(--border);
    }
    .portal-app .portal-rail {
        position: fixed;
        z-index: 60;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform .18s ease;
    }
    .portal-nav-toggle:checked ~ .portal-shell .portal-rail {
        transform: none;
    }
    .portal-nav-toggle:checked ~ .portal-shell .portal-nav-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 55;
        background: rgba(27, 36, 51, .28);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 650;
    font-size: .95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .2s ease, background .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary {
    background: var(--brand-2);
    color: #fff;
    box-shadow: none;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-danger {
    background: transparent;
    color: var(--crit);
    border-color: var(--border);
}
.btn-danger:hover { border-color: var(--crit); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 92px 0 72px; }
.hero-glow {
    position: absolute;
    top: -180px; left: 50%;
    width: 900px; height: 640px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(91, 140, 255, .28), transparent 70%),
                radial-gradient(closest-side, rgba(56, 224, 196, .22), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; margin: 1.2rem auto 2rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 28px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.stat { min-width: 0; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: .85rem; color: var(--muted); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 48px; }
.section-head .eyebrow { display: block; }
.section-sub { font-size: 1.05rem; margin-left: auto; margin-right: auto; }

.example-wrap { max-width: 1280px; }
.example-incidents {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    margin: 0;
}
.example-incident {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.example-kicker {
    margin: 0 0 8px;
    text-align: center;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.example-incident .marketing-incident {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px 18px 18px;
}
.example-incident .marketing-incident .alert-card-head {
    gap: 6px 10px;
    margin-bottom: 8px;
}
.example-incident .marketing-incident .alert-title {
    font-size: .95rem;
    margin-bottom: 8px;
    line-height: 1.3;
}
.example-incident .marketing-incident .alert-meta,
.example-incident .marketing-incident .sev,
.example-incident .marketing-incident .status-pill {
    font-size: .68rem;
}
.example-incident .marketing-incident .alert-body {
    flex: 1;
    max-height: none;
    overflow: visible;
    font-size: .78rem;
    line-height: 1.45;
    margin-bottom: 10px;
}
.example-incident .marketing-incident .alert-rec {
    margin-top: auto;
    padding: 10px 12px;
    font-size: .76rem;
    line-height: 1.4;
}
.example-incident .marketing-incident .alert-facts {
    margin-top: 12px;
    gap: 8px 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.example-incident .marketing-incident .alert-facts > div {
    display: block;
}
.example-incident .marketing-incident .alert-facts dd {
    font-size: .75rem;
}
.about-copy { max-width: 42rem; margin: 0 auto; text-align: center; }
.about-copy .check-list { text-align: left; display: inline-block; }
.results-list {
    max-width: 52rem;
    margin: 0 auto;
}
.result {
    display: grid;
    grid-template-columns: 9.5rem 1fr;
    gap: 28px;
    align-items: start;
    padding: 28px 0;
    border-top: 1px solid var(--border);
}
.result:first-child { border-top: none; padding-top: 0; }
.result-metric {
    margin: 0;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand);
    line-height: 1.3;
}
.result h3 {
    margin: 6px 0 10px;
    font-size: 1.15rem;
    line-height: 1.35;
}
.mssp-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 48px;
    align-items: start;
}
.mssp-aside h3 { margin: 8px 0 12px; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.card-title-row h3 { margin: 0; }
.pill {
    flex-shrink: 0;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand);
    border: 1px solid rgba(196, 92, 42, 0.35);
    border-radius: 999px;
    padding: 4px 8px;
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-card:hover {
    transform: none;
    border-color: var(--brand);
    box-shadow: none;
}
.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(15, 61, 122, 0.08);
    color: var(--brand);
    margin-bottom: 18px;
    line-height: 0;
    font-size: 0;
}
.card-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

/* Steps */
.steps .step { text-align: left; }
.step-number {
    font-size: 2.4rem; font-weight: 800;
    background: linear-gradient(100deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 8px;
}

/* About */
.about-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: start;
}
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.check-list li::before {
    content: "";
    position: absolute; left: 0; top: 7px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: none;
}
.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 1px 0 rgba(27, 36, 51, 0.04);
}
.panel-title {
    font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted); margin-bottom: 14px;
}
.code {
    margin: 0;
    font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
    font-size: .9rem;
    line-height: 1.9;
    white-space: pre-wrap;
    color: var(--text);
}
.c-key { color: var(--brand-2); }
.c-str { color: var(--brand); }
.c-crit { color: var(--crit); font-weight: 700; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: .95rem;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 61, 122, 0.12);
}
.field textarea { resize: vertical; }

/* Messages */
.messages { margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.alert { padding: 13px 18px; border-radius: 10px; border: 1px solid var(--border); font-size: .95rem; }
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(27, 36, 51, 0.45);
}
.modal {
    width: min(420px, 100%);
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px 22px;
}
.modal h2 { font-size: 1.35rem; margin: 0 0 12px; }
.modal p { color: var(--muted); margin: 0 0 20px; }
.alert-success {
    background: #eef6ee;
    border-color: #b7d4b7;
    color: #1f6b3a;
}
.alert-error {
    background: #f8ece6;
    border-color: #e8c4b0;
    color: #8a3b18;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-col h4 { font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); margin-bottom: 8px; font-size: .92rem; }
.footer-col a:hover { color: var(--text); }
.footer-brand .muted { margin-top: 12px; max-width: 260px; }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
    font-size: .85rem;
}

/* Portal auth */
.portal-body { min-height: 100vh; }
.auth-shell {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}
.auth-glow { display: none; }
.auth-card {
    position: relative;
    width: 100%;
    max-width: 420px;
}
.auth-card h1 { font-size: 1.85rem; }
.field-error { margin: 0; font-size: .82rem; color: var(--crit); }

.alert-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}
.back-link {
    display: inline-block;
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 18px;
}
.back-link:hover { color: var(--brand); }
.incident-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.domain-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px 18px;
    margin-top: 28px;
    box-shadow: 0 1px 0 rgba(27, 36, 51, 0.04);
}
.domain-box-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 16px;
}
.domain-box-head h2 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}
.domain-box-customer {
    margin: 0 0 4px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand);
}
.domain-box-count { margin: 0; }
.incident-row {
    display: grid;
    grid-template-columns: 5.5rem 6.5rem 8rem minmax(16rem, 1fr) max-content 9rem;
    gap: 12px 16px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
}
.incident-row-id {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .02em;
}
.incident-row-category {
    font-size: .82rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.incident-row-title {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.incident-row-date,
.incident-row .crawl-age {
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    line-height: 1.35;
}
.incident-row-head {
    background: transparent;
    border: none;
    padding: 0 16px 4px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}
.filter-bar label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted);
}
.filter-bar select,
.filter-search input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--text);
    font-family: inherit;
}
.filter-search-label { margin-left: 4px; }
.filter-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 18rem;
    min-width: 16rem;
}
.filter-search input {
    flex: 1;
    min-width: 0;
}
.stats { margin-top: 28px; }
.collection-usage {
    margin: 20px 0 8px;
    padding: 20px 22px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 rgba(27, 36, 51, 0.04);
}
.collection-usage-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.collection-usage-head h2 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    color: var(--brand);
}
.collection-usage-head .muted { margin: 0; }
.collection-usage-meters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.collection-usage-card {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f4f7fb 0%, var(--panel) 55%);
}
.collection-usage-search {
    background: linear-gradient(135deg, #fbf6f2 0%, var(--panel) 55%);
}
.collection-usage-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.collection-usage-card-top h3 {
    margin: 0;
    font-size: .95rem;
}
.collection-usage-numbers {
    margin: 0 0 10px;
    font-variant-numeric: tabular-nums;
    font-size: 1.05rem;
}
.collection-usage-numbers strong {
    font-size: 1.45rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--brand);
}
.collection-usage-search .collection-usage-numbers strong { color: #9a4518; }
.collection-usage-pct {
    margin-left: 8px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
}
.collection-usage-track {
    height: 10px;
    border-radius: 999px;
    background: var(--bg-alt);
    overflow: hidden;
}
.collection-usage-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--brand);
}
.collection-usage-search .collection-usage-fill { background: var(--brand-2); }
.collection-usage-remaining {
    margin: 8px 0 0;
    font-size: .82rem;
}
.collection-usage-actor {
    margin: 12px 0 0;
    font-size: .82rem;
}
@media (max-width: 800px) {
    .collection-usage-meters { grid-template-columns: 1fr; }
}
.dashboard-queue-cta { margin-top: 28px; }
.stat-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.stat-kpi, .stat-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 rgba(27, 36, 51, 0.04);
}
.stat-kpi { padding: 16px 18px; }
.stat-kpi-value {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.stat-kpi-label {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .82rem;
}
.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}
.stat-card { padding: 18px 18px 16px; }
.stat-card h3 {
    margin: 0;
    font-size: 1.02rem;
}
.stat-card-hint { margin: 4px 0 14px; font-size: .82rem; }
.stat-card-wide { grid-column: 1 / -1; }
.stat-bars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stat-bars li {
    display: grid;
    grid-template-columns: minmax(7rem, 11rem) 1fr 2.4rem;
    gap: 8px 10px;
    align-items: center;
}
.stat-bar-label {
    font-size: .8rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.stat-bar-track {
    display: block;
    height: 10px;
    background: var(--bg-alt);
    border-radius: 999px;
    overflow: hidden;
}
.stat-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--brand);
}
.stat-bar-count {
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}
.bar-critical { background: #b42318; }
.bar-high { background: #b45309; }
.bar-medium { background: var(--brand); }
.bar-low, .bar-info, .bar-unknown { background: #8a93a3; }
.bar-fresh { background: #15803d; }
.bar-aging { background: #b45309; }
.bar-stale { background: #b42318; }
.bar-brand { background: var(--brand); }
.stat-columns {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    align-items: end;
    height: 160px;
}
.stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-width: 0;
}
.stat-col-count {
    font-size: .68rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    min-height: 1em;
}
.stat-col-track {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    min-height: 0;
}
.stat-col-fill {
    display: block;
    width: 100%;
    min-height: 0;
    background: var(--brand);
    border-radius: 4px 4px 0 0;
}
.stat-col-label {
    font-size: .68rem;
    color: var(--muted);
    margin-top: 6px;
}
@media (max-width: 900px) {
    .stat-kpis, .stat-grid { grid-template-columns: 1fr 1fr; }
    .stat-card-wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .stat-kpis, .stat-grid { grid-template-columns: 1fr; }
    .stat-bars li { grid-template-columns: 1fr auto; }
    .stat-bar-track { grid-column: 1 / -1; }
}
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: 20px;
}
.pager-top {
    margin-top: 12px;
    margin-bottom: 12px;
}
.pager-status { margin: 0; }
.pager-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pager-page {
    font-size: .9rem;
    color: var(--muted);
    min-width: 7.5rem;
    text-align: center;
}
.pager-disabled {
    opacity: .4;
    pointer-events: none;
}
.incident-row-archive {
    grid-template-columns: 5.5rem 6.5rem 7rem 8rem minmax(14rem, 1fr) max-content 9rem;
}
.queue-heading {
    margin-top: 28px;
    font-size: 1.15rem;
}
.archive-section {
    margin-top: 40px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.status-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.status-open {
    background: #ecfdf3;
    color: #067647;
}
.status-closed {
    background: var(--bg-alt);
    color: var(--muted);
}
.status-false_positive {
    background: #fef6ee;
    color: #b54708;
}
.incident-status-panel {
    margin-top: 20px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
}
.incident-status-panel h2 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.incident-status-form label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.incident-status-form textarea {
    width: 100%;
    font-family: inherit;
    font-size: .95rem;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    resize: vertical;
}
.incident-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
@media (max-width: 720px) {
    .incident-row-head { display: none; }
    .incident-row {
        grid-template-columns: auto 1fr;
    }
    .incident-row .alert-meta { grid-column: 2; }
}
.alert-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left-width: 4px;
    padding: 20px 22px 22px;
}
.alert-card-critical { border-left-color: var(--crit); }
.alert-card-high { border-left-color: #b45309; }
.alert-card-medium { border-left-color: var(--brand-2); }
.alert-card-low,
.alert-card-info { border-left-color: var(--border); }
.alert-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 12px;
}
.alert-meta { font-size: .82rem; color: var(--muted); }
.incident-row .crawl-age-fresh { color: #15803d; }
.incident-row .crawl-age-aging { color: #b45309; }
.incident-row .crawl-age-stale { color: #b42318; }
.alert-title {
    font-size: 1.35rem;
    font-weight: 650;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}
.alert-body {
    margin: 0 0 12px;
    color: var(--text);
    font-size: .95rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.alert-rec {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: .92rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.alert-rec-label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 4px;
}
.alert-facts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 0;
}
.alert-facts > div {
    display: grid;
    grid-template-columns: 8.75rem minmax(0, 1fr);
    gap: 6px 14px;
    align-items: center;
    margin: 0;
}
.alert-facts dt {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}
.alert-facts dd {
    margin: 0;
    min-width: 0;
    font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
    font-size: .88rem;
}
.alert-fact-value {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(255, 255, 255, .65);
    color: inherit;
    font: inherit;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.alert-fact-value:hover {
    border-color: rgba(15, 61, 122, .35);
    background: rgba(15, 61, 122, .04);
}
.alert-fact-value:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}
.alert-fact-value.is-copied {
    border-color: rgba(21, 128, 61, .45);
    background: rgba(21, 128, 61, .08);
}
.alert-fact-value.is-copied::after {
    content: "Copied";
    float: right;
    margin-left: 12px;
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #15803d;
}
@media (max-width: 640px) {
    .alert-facts > div {
        grid-template-columns: 1fr;
        gap: 4px;
        align-items: stretch;
    }
}
.sev {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
}
.sev-critical { color: #b42318; border-color: rgba(180, 35, 24, .35); background: rgba(180, 35, 24, .08); }
.sev-high { color: #b45309; border-color: rgba(180, 83, 9, .35); background: rgba(180, 83, 9, .08); }
.sev-medium { color: var(--brand); border-color: rgba(15, 61, 122, .28); background: rgba(15, 61, 122, .06); }
.sev-low, .sev-info { color: var(--muted); }

/* Responsive */
@media (max-width: 860px) {
    .example-incidents { grid-template-columns: 1fr; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .about-grid, .contact-grid, .hero-split, .mssp-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats { grid-template-columns: 1fr 1fr; text-align: center; }
    .result { grid-template-columns: 1fr; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .nav-links { display: none; }
}

.hero-glow { display: none; }

.btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}
.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.form-narrow { max-width: 640px; }
.form-customer { max-width: 860px; }
.customer-form { gap: 28px; }
.form-section {
    margin: 0;
    padding: 0;
    border: 0;
    min-inline-size: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-section + .form-section {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.form-section legend {
    padding: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.form-section-help {
    margin: -6px 0 0;
    font-size: .9rem;
    color: var(--muted);
}
.form-section-optional legend::after {
    content: "Optional";
    margin-left: 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    vertical-align: middle;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 700px) {
    .form-row { grid-template-columns: 1fr; }
}
.field-help { margin: 0; font-size: .82rem; color: var(--muted); }
.field-check .check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.generate-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.generate-model select {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text);
    font-family: inherit;
    font-size: .9rem;
    max-width: 16rem;
}
.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 20px 0 28px;
}
.meta-grid dt { font-size: .78rem; font-weight: 700; color: var(--muted); }
.meta-grid dd { margin: 0; }

/* Customer profile */
.customer-profile { display: flex; flex-direction: column; gap: 20px; }
.customer-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.customer-hero-main h1 { margin-bottom: 12px; }
.customer-chips, .chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--panel);
    color: var(--text);
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}
.meta-chip-mono {
    font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
    font-weight: 500;
    font-size: .78rem;
}
.meta-chip-muted {
    color: var(--muted);
    font-weight: 500;
    background: var(--bg-alt);
}
.meta-chip-slug {
    background: #eef2f7;
    border-color: #c9d4e3;
    color: var(--brand);
}
.meta-chip-sector {
    background: #e8f0fa;
    border-color: #b7c9e0;
    color: #0b2f5c;
}
.meta-chip-place {
    background: #f3efe6;
    border-color: #d6ccb8;
    color: #5a4a32;
}
.meta-chip-mssp {
    background: #f8eee6;
    border-color: #e4c4ae;
    color: #8a3b18;
}
.meta-chip-continuous {
    background: #ecfdf3;
    border-color: #abe2c0;
    color: #067647;
}
.meta-chip-domain {
    background: #eaf3ff;
    border-color: #b9d0ef;
    color: #12407a;
}
.meta-chip-bin {
    background: #fff4ec;
    border-color: #efc9b0;
    color: #9a4518;
}
.meta-chip-target {
    background: #f0eef8;
    border-color: #cfc8e4;
    color: #3d3560;
}
.customer-toolbar {
    justify-content: flex-end;
    max-width: 100%;
}
.customer-usage-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.customer-usage-card {
    margin: 0;
    padding: 16px 18px 16px 20px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left-width: 4px;
    box-shadow: 0 1px 0 rgba(27, 36, 51, 0.04);
}
.customer-usage-tokens {
    border-left-color: var(--brand);
    background: linear-gradient(135deg, #f4f7fb 0%, var(--panel) 55%);
}
.customer-usage-tokens .customer-usage-value { color: var(--brand); }
.customer-usage-cost {
    border-left-color: var(--brand-2);
    background: linear-gradient(135deg, #fbf6f2 0%, var(--panel) 55%);
}
.customer-usage-cost .customer-usage-value { color: #9a4518; }
.customer-usage-label {
    margin: 0;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.customer-usage-value {
    margin: 8px 0 0;
    font-size: 1.55rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.customer-usage-hint {
    margin: 6px 0 0;
    font-size: .82rem;
    color: var(--muted);
}
.customer-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    border-left-width: 4px;
    border-left-color: var(--border);
    box-shadow: 0 1px 0 rgba(27, 36, 51, 0.04);
}
.customer-panel-coverage { border-left-color: var(--brand); }
.customer-panel-collection { border-left-color: #5b7c99; }
.customer-panel-targets { border-left-color: #6b5b95; }
.customer-panel-jobs { border-left-color: var(--brand); }
.customer-panel-raw { border-left-color: #2f6f5e; }
.customer-panel-debug { border-left-color: var(--brand-2); }
.customer-panel-head { margin-bottom: 16px; }
.customer-panel-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}
.customer-panel-head h2 {
    margin: 0 0 6px;
    font-size: 1.15rem;
}
.customer-panel-coverage .customer-panel-head h2,
.customer-panel-jobs .customer-panel-head h2 { color: var(--brand); }
.customer-panel-collection .customer-panel-head h2 { color: #3d5a73; }
.customer-panel-targets .customer-panel-head h2 { color: #4a3f6e; }
.customer-panel-raw .customer-panel-head h2 { color: #1f5c4c; }
.customer-panel-debug .customer-panel-head h2 { color: #9a4518; }
.customer-panel-head .muted { margin: 0; }
.customer-ops {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.customer-ops-intro .eyebrow { margin-bottom: 6px; }
.customer-ops-intro .muted { margin: 0; }
.customer-ops-banner {
    margin: 0;
    padding: 12px 16px;
    border: 1px solid #b7c9e0;
    border-radius: var(--radius);
    background: #eef4fb;
    color: var(--text);
    font-size: .92rem;
}
.customer-ops-banner .job-status { margin-right: 8px; }
.customer-ops .job-list,
.customer-ops .artifact-list {
    margin: 0;
}
.customer-ops-empty { margin: 0; }
.meta-chip-endpoint {
    background: #e8f5f0;
    border-color: #b5d9cb;
    color: #1f5c4c;
    flex-shrink: 0;
}
.artifact-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}
.customer-panel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}
.customer-panel-body-stack { grid-template-columns: 1fr; }
.customer-field-group h3 {
    margin: 0 0 10px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.customer-settings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 20px;
    margin: 0;
}
.customer-settings dt {
    margin: 0 0 4px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.customer-settings dd {
    margin: 0;
    font-size: .98rem;
    font-weight: 600;
}
.setting-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.setting-pill-on {
    background: #ecfdf3;
    color: #067647;
    border: 1px solid #abe2c0;
}
.setting-pill-off {
    background: var(--bg-alt);
    color: var(--muted);
    border: 1px solid var(--border);
}
@media (max-width: 800px) {
    .customer-panel-body,
    .customer-settings,
    .customer-usage-strip { grid-template-columns: 1fr; }
}
.customer-list, .artifact-list, .job-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 28px; }
.members-table-wrap {
    margin: 0;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}
.members-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: .92rem;
    font-variant-numeric: tabular-nums;
}
.members-table th,
.members-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    vertical-align: middle;
}
.members-table th:last-child,
.members-table td:last-child {
    border-right: 0;
}
.members-table tbody tr:last-child td {
    border-bottom: 0;
}
.members-table thead th {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--bg-alt);
    white-space: nowrap;
}
.members-table tbody tr:hover td {
    background: color-mix(in srgb, var(--brand) 4%, var(--panel));
}
.members-table th:nth-child(1),
.members-table td:nth-child(1) { width: 28%; }
.members-table th:nth-child(2),
.members-table td:nth-child(2) { width: 16%; }
.members-table th:nth-child(3),
.members-table td:nth-child(3) { width: 10%; }
.members-table th:nth-child(4),
.members-table td:nth-child(4) { width: 12%; }
.members-table th:nth-child(5),
.members-table td:nth-child(5) { width: 16%; }
.members-table th:nth-child(6),
.members-table td:nth-child(6) { width: 18%; }
.members-email {
    font-weight: 600;
    word-break: break-word;
}
.members-date {
    white-space: nowrap;
    font-size: .88rem;
}
.members-actions {
    text-align: right;
    white-space: nowrap;
}
.members-actions form { display: inline; margin: 0; }
.members-actions .btn {
    min-width: 7.5rem;
}
.member-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}
.member-pill-pending {
    color: #9a4518;
    background: color-mix(in srgb, #c45c2a 12%, var(--panel));
    border-color: color-mix(in srgb, #c45c2a 28%, var(--border));
}
.member-pill-accepted {
    color: #1f5c4c;
    background: color-mix(in srgb, #2f6f5e 12%, var(--panel));
    border-color: color-mix(in srgb, #2f6f5e 28%, var(--border));
}
.member-pill-mfa-on {
    color: #0f3d7a;
    background: color-mix(in srgb, #0f3d7a 10%, var(--panel));
    border-color: color-mix(in srgb, #0f3d7a 22%, var(--border));
}
.member-pill-mfa-off {
    color: var(--muted);
    background: var(--bg-alt);
    border-color: var(--border);
}
@media (max-width: 720px) {
    .members-table {
        table-layout: auto;
    }
    .members-table th:nth-child(4),
    .members-table td:nth-child(4) { display: none; }
}

.customer-groups {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 20px 0 28px;
}
.customer-group {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 14px 14px 6px;
}
.customer-group-plain {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
}
.customer-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 4px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}
.customer-group-head-plain {
    justify-content: flex-end;
    padding: 0 16px 8px;
    border-bottom: none;
    margin-bottom: 2px;
}
.customer-group-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    min-width: 0;
}
.customer-group-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}
.customer-group-slug {
    font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
    font-size: .78rem;
}
.customer-group-count {
    flex-shrink: 0;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .02em;
}
.customer-group .customer-list {
    margin: 0;
    gap: 6px;
}
.customer-group .customer-row:not(.customer-row-head) {
    background: var(--panel);
}
.customer-group-plain .customer-list {
    margin: 0;
}
.customer-group .customer-row-head,
.customer-group-plain .customer-row-head {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.customer-row, .artifact-row, .job-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
}
.customer-row, .artifact-row { align-items: center; }
.customer-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(7rem, 1fr) 8.5rem 10rem;
    align-items: center;
    column-gap: 16px;
}
.customer-row > :nth-child(3),
.customer-row > :nth-child(4) {
    justify-self: start;
}
.customer-row-head {
    background: transparent;
    border: none;
    padding: 0 16px 6px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    pointer-events: none;
}
.customer-usage {
    font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
    font-size: .82rem;
    color: var(--text);
    white-space: nowrap;
}
@media (max-width: 720px) {
    .customer-row {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 6px;
    }
    .customer-row > :nth-child(1) { grid-column: 1 / -1; }
    .customer-row > :nth-child(2) { grid-column: 1 / -1; }
    .customer-row-head { display: none; }
}
.artifact-row > a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px 0 0;
}
.section-head h2 { margin: 0 0 6px; }
.section-head .muted { margin: 0; }
.job-row { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.job-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}
.job-summary-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.job-summary-meta {
    font-size: .82rem;
}
.job-summary::-webkit-details-marker { display: none; }
.job-row[open] .job-summary {
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}
.job-row .job-log, .job-row .muted { margin: 0 16px 14px; }
.job-status {
    display: inline-flex;
    align-items: center;
    margin-left: 0;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.job-status-running, .job-status-queued {
    color: var(--brand);
    background: #e8f0fa;
    border-color: #b7c9e0;
}
.job-status-succeeded {
    color: #067647;
    background: #ecfdf3;
    border-color: #abe2c0;
}
.job-status-failed {
    color: #b42318;
    background: #fef3f2;
    border-color: #f5c2c0;
}
.job-log, .artifact-body {
    margin: 0;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: auto;
    max-height: 280px;
    font-size: .8rem;
    white-space: pre-wrap;
    word-break: break-word;
}
.artifact-body { max-height: 70vh; }
.job-log-error { color: #b42318; }
.back-link { display: inline-block; margin-bottom: 12px; color: var(--muted); font-weight: 600; }
.back-link:hover { color: var(--brand); }
.report-kind-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.report-kind-card {
    display: block;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px 24px;
}
.report-kind-card:hover { border-color: var(--brand); }
.report-kind-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.report-week-row {
    grid-template-columns: minmax(8rem, 1.1fr) minmax(12rem, 1.4fr) minmax(8rem, 1fr);
}
.briefing-page {
    padding-top: 28px;
    padding-bottom: 80px;
    font-family: "Source Sans 3", var(--font);
}
.briefing-sheet {
    max-width: 880px;
    margin: 0 auto;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(27, 36, 51, 0.08);
}
.briefing-sheet-wide {
    max-width: 1080px;
}
.briefing-masthead {
    background: var(--brand-2);
    color: #f6efe4;
    padding: 32px 40px 34px;
}
.briefing-masthead .eyebrow {
    color: rgba(255, 252, 247, 0.82);
    margin: 0;
    line-height: 1.2;
}
.briefing-masthead-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.briefing-week-chip {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid rgba(246, 239, 228, 0.28);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}
.briefing-page h1 {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2rem, 4.4vw, 2.9rem);
    font-weight: 560;
    letter-spacing: -0.03em;
    color: #fffcf7;
    margin: 0 0 10px;
}
.briefing-meta {
    margin: 0;
    color: rgba(246, 239, 228, 0.78);
    font-size: .95rem;
}
.briefing-filter { margin: 18px 0 0; }
.briefing-filter label { color: rgba(246, 239, 228, 0.72); }
.briefing-filter select {
    background: rgba(255, 252, 247, 0.12);
    color: #fffcf7;
    border-color: rgba(246, 239, 228, 0.28);
}
.briefing-body { padding: 24px 40px 44px; }
.briefing-section {
    margin-top: 8px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.briefing-section:first-child { border-top: 0; }
.briefing-section h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 14px;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.45rem;
    font-weight: 560;
    letter-spacing: -0.03em;
    text-transform: none;
    color: var(--text);
}
.briefing-step {
    font-family: "Source Sans 3", var(--font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--brand-2);
}
.briefing-kicker {
    margin: -4px 0 14px;
    font-size: .9rem;
}
.briefing-summary {
    margin: 0;
    padding: 18px 20px 18px 22px;
    border-left: 3px solid var(--brand-2);
    background: var(--bg-alt);
    line-height: 1.7;
    font-size: 1.08rem;
    font-family: Fraunces, Georgia, serif;
    font-weight: 560;
    font-optical-sizing: auto;
}
.briefing-note { margin: 0 0 16px; font-size: .88rem; white-space: pre-wrap; }
.briefing-feature-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.briefing-feature-metric {
    padding: 18px 18px 16px;
    border-radius: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
}
.briefing-feature-label {
    margin: 0;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.briefing-feature-value {
    margin: 8px 0 4px;
    font-family: Fraunces, Georgia, serif;
    font-size: 2.55rem;
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 1;
}
.briefing-feature-value.is-text {
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}
.briefing-prose {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.7;
    font-size: 1.05rem;
}
.briefing-type {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand-2);
}
.briefing-ioc-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .84rem;
    word-break: break-word;
}
.briefing-ioc-table tbody th,
.briefing-ioc-table td,
.briefing-ioc-table thead th:nth-child(n+2) {
    text-align: left;
}
.briefing-index-table {
    table-layout: fixed;
    width: 100%;
}
.briefing-index-table col.ti-col-title { width: 38%; }
.briefing-index-table col.ti-col-scope { width: 15%; }
.briefing-index-table col.ti-col-period { width: 21%; }
.briefing-index-table col.ti-col-cost { width: 18%; }
.briefing-index-table col.ti-col-actions { width: 8%; }
.briefing-index-table td,
.briefing-index-table thead th:nth-child(n+2) {
    text-align: right;
}
.briefing-index-table thead th:first-child,
.briefing-index-table tbody th {
    text-align: left;
}
.briefing-index-table tbody th.ti-pack-title {
    width: auto;
    max-width: 0;
    overflow: hidden;
}
.briefing-index-table .ti-pack-title-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
    line-height: 1.35;
    max-height: calc(1.35em * 2);
}
.briefing-index-table .ti-pack-title-link {
    display: inline;
}
.briefing-index-table .ti-pack-scope,
.briefing-index-table .ti-pack-period,
.briefing-index-table .ti-pack-cost {
    white-space: nowrap;
}
.briefing-index-table .ti-pack-scope {
    text-align: left;
    padding-left: 20px;
    padding-right: 28px;
}
.briefing-index-table .ti-pack-period {
    padding-left: 8px;
    padding-right: 20px;
}
.briefing-index-table .ti-pack-cost {
    padding-left: 16px;
}
.briefing-index-table th:last-child,
.briefing-index-table td:last-child {
    padding-right: 0;
}
.briefing-index-table a {
    color: var(--brand-2);
    font-weight: 700;
}
.briefing-index-table a:hover { color: var(--text); }
.briefing-index-table tbody tr:hover { background: var(--bg); }
.briefing-admin-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
}
.briefing-admin-actions form {
    margin: 0;
    display: inline-flex;
}
.briefing-admin-actions .btn {
    box-sizing: border-box;
    min-height: 2.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
}
.ti-ingest-banner {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #b7c9e0;
    border-radius: var(--radius);
    background: #eef4fb;
    color: var(--text);
}
.ti-ingest-banner-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
}
.ti-ingest-banner-top .job-status { margin-right: 0; }
.ti-ingest-banner-top strong {
    font-size: .95rem;
    font-weight: 700;
}
.ti-ingest-percent {
    margin-left: auto;
    font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
    font-size: .85rem;
    font-weight: 700;
    color: var(--brand, #1f4f7a);
}
.ti-ingest-progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(31, 79, 122, 0.12);
    overflow: hidden;
}
.ti-ingest-progress-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #1f4f7a, #2f6fa3 55%, #3d87bf);
    transition: width .45s ease;
    position: relative;
}
.ti-ingest-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 45%, transparent 70%);
    background-size: 200% 100%;
    animation: ti-ingest-sheen 1.6s linear infinite;
}
@keyframes ti-ingest-sheen {
    from { background-position: 120% 0; }
    to { background-position: -40% 0; }
}
.ti-ingest-summary {
    margin: 10px 0 0;
    font-size: .9rem;
    color: var(--text);
}
.ti-pack-actions {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
}
.briefing-page .briefing-index-table thead th:nth-child(n+2),
.briefing-page .briefing-index-table td {
    text-align: right;
}
.briefing-page .briefing-index-table thead th.ti-pack-scope,
.briefing-page .briefing-index-table td.ti-pack-scope {
    text-align: left;
}
.briefing-page .briefing-index-table thead th:first-child,
.briefing-page .briefing-index-table tbody th {
    text-align: left;
}
.ti-pack-actions form { margin: 0; }
.ti-pack-pdf-link {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.28rem;
    margin: 0.45rem 0 0;
    padding: 0.2rem 0.5rem;
    border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border));
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 7%, var(--panel));
    vertical-align: middle;
    line-height: 1.2;
    cursor: pointer;
}
.ti-pack-pdf-icon {
    flex: 0 0 auto;
}
.ti-pack-pdf-link:hover {
    color: var(--text);
    border-color: var(--brand);
    background: color-mix(in srgb, var(--brand) 12%, var(--panel));
}
.ti-llm-debug {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-alt, #f4f7fb);
}
.ti-llm-debug summary {
    cursor: pointer;
    font-weight: 700;
}
.ti-llm-debug .muted { margin: 8px 0 12px; }
.ti-llm-debug-log {
    margin: 12px 0 0;
    max-height: 28rem;
    overflow: auto;
    padding: 12px 14px;
    border-radius: 8px;
    background: #0f1720;
    color: #e7eef6;
    font-size: .78rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}
.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-with-icon svg {
    flex: 0 0 auto;
}
.pdf-busy {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(27, 36, 51, 0.42);
}
.pdf-busy[hidden] { display: none !important; }
.pdf-busy-card {
    width: min(360px, 100%);
    padding: 22px 24px;
    border-radius: 14px;
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(27, 36, 51, 0.18);
    text-align: center;
}
.pdf-busy-title {
    margin: 0 0 6px;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.25rem;
    font-weight: 560;
    color: var(--text);
}
.pdf-busy-text {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}
html.pdf-busy-open { cursor: progress; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.briefing-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 4px;
}
.briefing-chart-card {
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
}
.briefing-charts h3 { margin: 0; font-size: 1rem; }
.briefing-chart-wide { grid-column: 1 / -1; }
.briefing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
    font-variant-numeric: tabular-nums;
}
.briefing-table th,
.briefing-table td {
    text-align: left;
    padding: 12px 8px 12px 0;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.briefing-table tbody tr:last-child th,
.briefing-table tbody tr:last-child td { border-bottom: 0; }
.briefing-table thead th {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 0;
}
.briefing-table tbody th {
    font-weight: 650;
    padding-right: 16px;
    width: 38%;
}
.briefing-table.briefing-index-table tbody th.ti-pack-title {
    width: auto;
    max-width: 0;
    overflow: hidden;
}
.briefing-table td:nth-child(n+2),
.briefing-table thead th:nth-child(n+2) {
    text-align: right;
}
.briefing-pct { color: var(--muted); font-weight: 500; }
.briefing-sla {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.briefing-sla li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 118px;
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
}
.briefing-sla span {
    font-size: .86rem;
    color: var(--muted);
    line-height: 1.35;
}
.briefing-sla strong {
    font-family: Fraunces, Georgia, serif;
    font-size: 2.1rem;
    font-weight: 560;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}
.briefing-sla .is-alert {
    border-color: rgba(180, 35, 24, .28);
    background: #f8ece8;
}
.briefing-sla .is-warn {
    border-color: rgba(180, 83, 9, .28);
    background: #f6efe4;
}
.briefing-actions {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    counter-reset: action;
}
.briefing-actions li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    column-gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    counter-increment: action;
}
.briefing-actions li::before {
    content: counter(action, decimal-leading-zero);
    font-family: Fraunces, Georgia, serif;
    font-size: 1.05rem;
    font-weight: 560;
    color: var(--brand-2);
    line-height: 1.3;
}
.briefing-actions .action-title,
.briefing-actions .muted {
    grid-column: 2;
}
.action-title {
    margin: 0 0 4px;
    font-weight: 700;
}
.briefing-actions .muted { margin: 0; font-size: .92rem; }
.briefing-cta-row { margin: 20px 0 0; }
.briefing-section-actions .btn-primary {
    min-width: 12rem;
}
.ti-articles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ti-article {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    column-gap: 14px;
    padding: 18px 20px 18px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
}
.ti-article-index {
    margin: 2px 0 0;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.05rem;
    font-weight: 560;
    color: var(--brand-2);
    letter-spacing: -0.03em;
}
.ti-article-body h3 {
    margin: 0 0 8px;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.22rem;
    font-weight: 560;
    letter-spacing: -0.03em;
    text-transform: none;
}
.ti-article-body p {
    margin: 0;
    line-height: 1.65;
    font-size: 1.02rem;
}
.ti-article-source {
    margin-top: 12px !important;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: .82rem !important;
    letter-spacing: .02em;
}
.ti-article-resources {
    list-style: none;
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 8px;
}
.ti-article-resources li {
    display: grid;
    gap: 2px;
}
.ti-article-resources a {
    color: var(--brand);
    font-weight: 650;
    font-size: .88rem;
    text-decoration: none;
}
.ti-article-resources a:hover { text-decoration: underline; }
.ti-article-resource-url {
    color: var(--muted);
    font-size: .75rem;
    word-break: break-all;
}
.ti-actors {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ti-actors li {
    padding: 16px 18px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    min-height: 8.5rem;
}
.ti-actors h3 {
    margin: 0 0 8px;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.12rem;
    font-weight: 560;
    letter-spacing: -0.03em;
    text-transform: none;
    line-height: 1.25;
}
.ti-actors p {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.5;
}
.ti-resources {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.ti-resources li {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
}
.ti-resources a {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}
.ti-resources a:hover {
    text-decoration: underline;
}
.ti-resource-url {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .82rem;
    word-break: break-all;
}
.ti-ioc-group { margin: 8px 0 22px; }
.ti-ioc-group-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 6px;
}
.ti-ioc-group h3 {
    margin: 0;
    font-size: .78rem;
    text-transform: none;
}
.ti-ioc-count {
    margin: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    font-weight: 650;
    font-size: .95rem;
}
.ti-ioc-count span {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.ti-ioc-group .briefing-table tbody th {
    width: 46%;
    font-weight: 500;
}
.trend-up { color: #b45309; font-weight: 650; }
.trend-down { color: #17663a; font-weight: 650; }
.trend-flat { color: var(--muted); font-weight: 650; }
@media (max-width: 720px) {
    .briefing-masthead,
    .briefing-body { padding-left: 22px; padding-right: 22px; }
    .briefing-feature-metrics,
    .briefing-charts,
    .briefing-sla,
    .ti-actors { grid-template-columns: 1fr; }
    .report-kind-grid { grid-template-columns: 1fr; }
}

.api-docs-page { padding-bottom: 48px; }
.api-docs-lead { max-width: 46rem; }
.api-docs-explorer {
    margin-top: 18px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.api-docs-page .swagger-ui { font-family: var(--font); }
.api-docs-page .swagger-ui .topbar { display: none; }
.api-docs-page .swagger-ui .info { margin: 18px 0 10px; }
.api-docs-page .swagger-ui .scheme-container {
    background: var(--bg-alt);
    box-shadow: none;
    border-bottom: 1px solid var(--border);
}

