.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--c-text-muted);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 3px;
    background: var(--c-primary);
}

.lead {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--c-text-secondary);
    font-size: 1.05rem;
    line-height: 1.82;
}

.configured-lead + h1,
.configured-lead + h1 + .lead {
    display: none;
}

.plain-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin: 0;
    border: 1px solid var(--c-border);
    background: var(--c-border);
}

.compact-intro .plain-stats {
    grid-template-columns: repeat(3, 1fr);
}

.plain-stats div,
.fact-grid article,
.metric {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    padding: 22px 20px;
    background: var(--c-surface);
    box-shadow: none;
}

.fact-grid article,
.metric {
    border: 1px solid var(--c-border);
}

.plain-stats div:hover,
.fact-grid article:hover,
.metric:hover {
    border-color: var(--c-border-hover);
    background: var(--c-surface-raised);
}

.metric::after,
.fact-grid article::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: var(--c-primary);
}

.plain-stats dt,
.fact-grid span,
.metric span {
    display: block;
    margin-bottom: 8px;
    color: var(--c-text-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.plain-stats dd,
.fact-grid strong,
.metric strong {
    display: block;
    margin: 0;
    color: var(--c-text);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.plain-stats div:first-child dd,
.dashboard-grid .metric:nth-child(1) strong,
.fact-grid article:nth-child(2) strong { color: var(--c-primary); }

.plain-stats .small-stat,
.fact-grid strong {
    font-size: 1.04rem;
    letter-spacing: 0;
    line-height: 1.38;
}

.toolbar-card,
.search-band,
.panel,
.feed-item,
.site-card,
.empty,
.feed-card {
    border: 1px solid var(--c-border);
    border-radius: 0;
    background: var(--c-surface);
    box-shadow: none;
}

.toolbar-card,
.search-band {
    margin-bottom: 32px;
    padding: 10px;
}

.toolbar-card {
    position: sticky;
    top: 84px;
    z-index: 8;
    background: rgba(26, 26, 26, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-form input { flex: 1 1 300px; }

.search-form select {
    flex: 0 1 178px;
    min-width: 150px;
}

input,
textarea,
select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--c-border);
    border-radius: 0;
    padding: 11px 14px;
    color: var(--c-text);
    background: #141414;
    outline: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

select {
    color-scheme: dark;
}

textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.65;
}

input::placeholder,
textarea::placeholder { color: #555555; }

input:hover,
textarea:hover,
select:hover { border-color: var(--c-border-hover); }

input:focus,
textarea:focus,
select:focus {
    border-color: var(--c-primary);
    background: #101010;
    box-shadow: var(--shadow-focus);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    max-width: 100%;
    border: 2px solid var(--c-border);
    border-radius: 0;
    padding: 0 22px;
    color: var(--c-text);
    background: transparent;
    font-weight: 900;
    font-size: .9rem;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .08s ease;
}

.button:hover {
    border-color: var(--c-border-hover);
    color: var(--c-text);
    background: var(--c-surface-raised);
    text-decoration: none;
}

.button:active { transform: scale(.98); }

.button.primary {
    border-color: var(--c-primary);
    color: #fff;
    background: var(--c-primary);
}

.button.primary:hover {
    border-color: var(--c-primary-dark);
    color: #fff;
    background: var(--c-primary-dark);
}

.button.ghost {
    color: var(--c-text-muted);
    background: transparent;
    border-color: transparent;
}

.button.ghost:hover {
    color: var(--c-text);
    background: var(--c-surface-raised);
    border-color: var(--c-border);
}

.button.danger,
.button.small.danger {
    border-color: var(--c-danger);
    color: #fff;
    background: var(--c-danger);
}

.button.danger:hover,
.button.small.danger:hover {
    background: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    color: #fff;
}

.button.small {
    min-height: 36px;
    padding: 0 14px;
    font-size: .82rem;
}

.button:disabled {
    cursor: not-allowed;
    opacity: .38;
    transform: none;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    margin: 48px 0 20px;
}

.section-head.compact { margin: 0 0 16px; }
.section-head h1,
.section-head h2,
.section-head p { margin-bottom: 0; }
.section-head > a { align-self: center; font-weight: 900; }

.muted { color: var(--c-text-secondary); }

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid var(--c-border);
    border-radius: 0;
    padding: 0 10px;
    color: var(--c-text-secondary);
    background: #141414;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.badge.active,
.badge.approved {
    border-color: var(--c-success);
    color: var(--c-success);
    background: var(--c-success-bg);
}

.badge.pending,
.badge.token_sent {
    border-color: var(--c-warning);
    color: var(--c-warning);
    background: var(--c-warning-bg);
}

.badge.failed,
.badge.inactive,
.badge.rejected {
    border-color: var(--c-danger);
    color: var(--c-danger);
    background: var(--c-danger-bg);
}

.alert,
.toast,
.empty {
    border-radius: 0;
    padding: 14px 18px;
}

.alert { margin: 14px 0; }

.alert.success,
.toast.success {
    border: 1px solid var(--c-success);
    color: var(--c-success);
    background: #122117;
}

.alert.danger,
.toast.danger {
    border: 1px solid var(--c-danger);
    color: var(--c-primary-light);
    background: #241313;
}

.toast {
    position: fixed;
    right: 24px;
    top: 84px;
    z-index: 50;
    max-width: min(440px, calc(100% - 32px));
    border: 1px solid var(--c-border);
    color: var(--c-text);
    background: var(--c-surface-raised);
    border-left: 3px solid var(--c-success);
    transition: opacity .22s ease, transform .22s ease;
}

.empty {
    border-style: dashed;
    color: var(--c-text-muted);
    background: #141414;
    text-align: center;
}

.danger-text { color: var(--c-primary-light); }

.code-line {
    display: block;
    overflow-x: auto;
    border: 1px solid var(--c-border);
    border-radius: 0;
    padding: 16px 18px;
    color: var(--c-accent);
    background: #101010;
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .86rem;
    line-height: 1.6;
}

.code-line.copied {
    border-color: var(--c-success);
    background: var(--c-success-bg);
}

.is-loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.is-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .75s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
