:root {
    --app-bg: #08101a;
    --app-bg-muted: #0d1623;
    --app-surface: #0f1826;
    --app-surface-soft: #142032;
    --app-surface-strong: #0b1422;
    --app-border: rgba(148, 163, 184, 0.18);
    --app-border-strong: rgba(148, 163, 184, 0.3);
    --app-text: #f4f7fb;
    --app-text-muted: #a8b6cb;
    --app-text-soft: #71849d;
    --app-accent: #6d6fff;
    --app-accent-strong: #5658ec;
    --app-danger: #fb7185;
    --app-success: #34d399;
    --app-radius-sm: 0.85rem;
    --app-radius-md: 1rem;
    --app-radius-lg: 1.35rem;
    --app-radius-xl: 1.75rem;
    --app-shadow-panel: 0 24px 56px rgba(2, 6, 23, 0.38);
    --app-shadow-soft: 0 16px 34px rgba(2, 6, 23, 0.24);
    --app-shell-max-width: 84rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    background: var(--app-bg);
}

body {
    margin: 0;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    color: var(--app-text);
    background:
        radial-gradient(circle at top, rgba(99, 102, 241, 0.1), transparent 28%),
        radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.05), transparent 22%),
        linear-gradient(180deg, #0c1420 0%, #080d15 100%);
}

#app {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-width: 100%;
    overflow: hidden;
    isolation: isolate;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.dashboard-input.valid.modified:not([type=checkbox]),
.dashboard-select.valid.modified:not([type=checkbox]),
.auth-input.valid.modified:not([type=checkbox]),
.ops-input.valid.modified:not([type=checkbox]),
.ops-select.valid.modified:not([type=checkbox]),
.ops-toolbar-select.valid.modified:not([type=checkbox]) {
    outline: 1px solid rgba(52, 211, 153, 0.75);
}

.dashboard-input.invalid,
.dashboard-select.invalid,
.auth-input.invalid,
.ops-input.invalid,
.ops-select.invalid,
.ops-toolbar-select.invalid {
    outline: 1px solid rgba(251, 113, 133, 0.85);
}

.validation-message {
    color: #fda4af;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1000;
    color-scheme: dark;
    border: 1px solid rgba(251, 113, 133, 0.4);
    border-radius: var(--app-radius-lg);
    background: rgba(15, 23, 42, 0.94);
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(18px);
    padding: 1rem 1.25rem;
    color: #ffe4e6;
}

#blazor-error-ui .reload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    border-radius: var(--app-radius-sm);
    border: 1px solid rgba(251, 113, 133, 0.32);
    background: rgba(251, 113, 133, 0.14);
    color: #fff1f2;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0 1rem;
}

.blazor-error-boundary {
    background: rgba(127, 29, 29, 0.92);
    border-radius: var(--app-radius-lg);
    padding: 1rem 1.25rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "Something went wrong while rendering this view.";
}

code {
    color: #f472b6;
}

.app-shell {
    position: absolute;
    inset: 0;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
}

.app-scroll {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.app-page {
    width: 100%;
    max-width: var(--app-shell-max-width);
    margin: 0 auto;
    padding: 1rem;
}

.app-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--app-border);
    background: rgba(8, 13, 21, 0.88);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.18);
    backdrop-filter: blur(18px);
}

.app-header-inner {
    width: 100%;
    max-width: var(--app-shell-max-width);
    margin: 0 auto;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-brand {
    display: flex;
    min-width: 0;
    align-items: center;
}

.app-brand-logo {
    display: block;
    height: 2.4rem;
    width: auto;
    max-width: 10rem;
    object-fit: contain;
}

.app-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.app-nav-link,
.app-nav-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0 0.9rem;
    border: 1px solid transparent;
    border-radius: var(--app-radius-sm);
    color: var(--app-text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.app-nav-link:hover {
    color: var(--app-text);
    background: rgba(148, 163, 184, 0.08);
}

.app-nav-link.active {
    color: var(--app-text);
    border-color: rgba(99, 102, 241, 0.24);
    background: rgba(99, 102, 241, 0.12);
}

.app-nav-divider {
    width: 1px;
    height: 1.5rem;
    background: var(--app-border);
    margin: 0 0.15rem;
}

.app-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid transparent;
    border-radius: var(--app-radius-sm);
    color: var(--app-text-muted);
    background: transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.app-icon-button:hover {
    color: #fecdd3;
    border-color: rgba(251, 113, 133, 0.18);
    background: rgba(251, 113, 133, 0.08);
}

.dashboard-page {
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding-bottom: 1.5rem;
}

.dashboard-header {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dashboard-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #91a3bf;
}

.dashboard-title {
    color: var(--app-text);
    font-size: 2.05rem;
    line-height: 0.98;
    font-weight: 880;
    letter-spacing: -0.05em;
}

.dashboard-copy {
    max-width: 42rem;
    font-size: 0.92rem;
    line-height: 1.62;
    color: var(--app-text-muted);
}

.dashboard-panel,
.workspace-panel {
    border: 1px solid var(--app-border);
    background:
        linear-gradient(180deg, rgba(48, 66, 96, 0.18) 0%, transparent 14%),
        linear-gradient(180deg, rgba(18, 27, 42, 0.99) 0%, rgba(9, 15, 25, 0.99) 100%);
    border-radius: var(--app-radius-xl);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 28px 62px rgba(2, 6, 23, 0.42);
    position: relative;
}

.dashboard-panel-soft,
.workspace-card-soft {
    border: 1px solid var(--app-border);
    background:
        linear-gradient(180deg, rgba(26, 37, 55, 0.1) 0%, transparent 14%),
        linear-gradient(180deg, rgba(15, 23, 35, 0.96) 0%, rgba(11, 18, 28, 0.96) 100%);
    border-radius: var(--app-radius-lg);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 12px 28px rgba(2, 6, 23, 0.16);
}

.dashboard-panel-title {
    font-size: 1.08rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--app-text);
}

.dashboard-stat,
.workspace-card {
    border: 1px solid var(--app-border);
    background:
        linear-gradient(180deg, rgba(38, 53, 78, 0.14) 0%, transparent 14%),
        linear-gradient(180deg, rgba(13, 21, 33, 0.99) 0%, rgba(8, 14, 23, 0.99) 100%);
    border-radius: var(--app-radius-lg);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 36px rgba(2, 6, 23, 0.22);
}

.dashboard-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--app-text-soft);
}

.dashboard-input,
.dashboard-select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.36);
    background: linear-gradient(180deg, rgba(8, 13, 22, 0.99) 0%, rgba(6, 11, 18, 0.99) 100%);
    border-radius: var(--app-radius-md);
    padding: 0.85rem 1rem;
    color: var(--app-text);
    color-scheme: dark;
    caret-color: white;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        0 10px 20px rgba(2, 6, 23, 0.08);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.dashboard-input::placeholder,
.dashboard-select::placeholder {
    color: rgba(100, 116, 139, 0.7);
}

.dashboard-input:focus,
.dashboard-select:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.7);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16), 0 10px 24px rgba(2, 6, 23, 0.2);
    background: rgba(11, 18, 30, 1);
    transform: translateY(-1px);
}

.dashboard-button-primary,
.dashboard-button-secondary,
.workspace-button-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-button-primary {
    border-radius: var(--app-radius-md);
    border: 1px solid rgba(167, 180, 255, 0.18);
    background: linear-gradient(180deg, var(--app-accent) 0%, var(--app-accent-strong) 100%);
    color: white;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(36, 40, 128, 0.18),
        0 20px 38px rgba(79, 70, 229, 0.38);
}

.dashboard-button-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(36, 40, 128, 0.2),
        0 22px 40px rgba(79, 70, 229, 0.42);
}

.dashboard-button-secondary,
.workspace-button-dark {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: var(--app-radius-md);
    background: linear-gradient(180deg, rgba(18, 27, 41, 0.96) 0%, rgba(12, 19, 30, 0.96) 100%);
    color: var(--app-text);
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 22px rgba(2, 6, 23, 0.14);
}

.dashboard-button-secondary:hover,
.workspace-button-dark:hover {
    border-color: rgba(148, 163, 184, 0.42);
    background: linear-gradient(180deg, rgba(22, 32, 48, 0.98) 0%, rgba(15, 24, 36, 0.98) 100%);
    transform: translateY(-1px);
}

.dashboard-button-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    border: 1px solid rgba(251, 113, 133, 0.18);
    border-radius: var(--app-radius-md);
    background: linear-gradient(180deg, rgba(127, 29, 29, 0.2) 0%, rgba(101, 22, 22, 0.14) 100%);
    color: #fecdd3;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.dashboard-button-tertiary:hover {
    border-color: rgba(251, 113, 133, 0.3);
    background: linear-gradient(180deg, rgba(127, 29, 29, 0.24) 0%, rgba(101, 22, 22, 0.18) 100%);
    color: #ffe4e6;
    transform: translateY(-1px);
}

.dashboard-input:focus-visible,
.dashboard-select:focus-visible,
.auth-input:focus-visible,
.dashboard-button-primary:focus-visible,
.dashboard-button-secondary:focus-visible,
.dashboard-button-tertiary:focus-visible,
.workspace-button-dark:focus-visible,
.app-nav-link:focus-visible,
.app-icon-button:focus-visible,
.ops-input:focus-visible,
.ops-select:focus-visible,
.ops-toolbar-select:focus-visible,
.ops-toolbar-action:focus-visible,
.ops-token-action:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.ops-surface-grid {
    display: grid;
    gap: 1rem;
}

.ops-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ops-panel {
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: var(--app-radius-xl);
    background:
        linear-gradient(180deg, rgba(68, 92, 132, 0.2) 0%, transparent 11%),
        linear-gradient(180deg, rgba(14, 22, 35, 0.998) 0%, rgba(7, 12, 21, 0.998) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(255, 255, 255, 0.02),
        0 32px 78px rgba(2, 6, 23, 0.5);
}

.ops-panel-soft,
.ops-side-panel {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--app-radius-lg);
    background:
        linear-gradient(180deg, rgba(20, 29, 43, 0.08) 0%, transparent 14%),
        linear-gradient(180deg, rgba(10, 16, 26, 0.97) 0%, rgba(7, 12, 20, 0.97) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        0 12px 26px rgba(2, 6, 23, 0.14);
}

.ops-panel--editor,
.ops-panel--feed,
.account-section--hero {
    border-color: rgba(148, 163, 184, 0.32);
    background:
        linear-gradient(180deg, rgba(84, 112, 160, 0.22) 0%, transparent 11%),
        linear-gradient(180deg, rgba(15, 24, 38, 0.998) 0%, rgba(7, 12, 22, 0.998) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.085),
        inset 0 -1px 0 rgba(255, 255, 255, 0.025),
        0 36px 84px rgba(2, 6, 23, 0.54);
}

.ops-panel--toolbar,
.ops-panel--saved,
.account-section--addons {
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 22px 48px rgba(2, 6, 23, 0.32);
}

.ops-side-panel {
    background:
        linear-gradient(180deg, rgba(16, 23, 34, 0.06) 0%, transparent 12%),
        linear-gradient(180deg, rgba(8, 13, 22, 0.98) 0%, rgba(5, 9, 16, 0.98) 100%);
}

.ops-side-panel--context,
.ops-panel-soft--docs,
.account-section-soft,
.account-section-soft--security {
    border-color: rgba(148, 163, 184, 0.15);
    background:
        linear-gradient(180deg, rgba(18, 26, 38, 0.07) 0%, transparent 13%),
        linear-gradient(180deg, rgba(9, 15, 24, 0.975) 0%, rgba(6, 10, 18, 0.975) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.018),
        0 10px 22px rgba(2, 6, 23, 0.12);
}

.account-section-soft--actions {
    border-color: rgba(148, 163, 184, 0.2);
    background:
        linear-gradient(180deg, rgba(40, 55, 80, 0.08) 0%, transparent 13%),
        linear-gradient(180deg, rgba(10, 17, 27, 0.98) 0%, rgba(7, 12, 20, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.028),
        0 14px 28px rgba(2, 6, 23, 0.16);
}

.ops-panel-header,
.ops-section-intro {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.ops-section {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
}

.ops-section-kicker,
.ops-toolbar-label,
.ops-compact-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8fa4c0;
}

.ops-section-title,
.ops-panel-title {
    margin: 0;
    color: var(--app-text);
    font-size: 1.1rem;
    line-height: 1.08;
    font-weight: 780;
    letter-spacing: -0.03em;
}

.ops-panel-title {
    font-size: 1.34rem;
    font-weight: 840;
}

.ops-section-title--subtle {
    color: var(--app-text-soft);
}

.ops-body-copy,
.ops-section-copy,
.ops-muted-copy,
.ops-empty-copy {
    color: var(--app-text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.ops-section-copy,
.ops-muted-copy {
    margin: 0;
}

.ops-field-grid {
    display: grid;
    gap: 0.78rem;
}

.ops-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ops-label {
    display: block;
    margin: 0 0 0 0.1rem;
    color: var(--app-text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ops-input,
.ops-select,
.ops-toolbar-select {
    width: 100%;
    min-height: 2.8rem;
    border: 1px solid rgba(148, 163, 184, 0.46);
    background:
        linear-gradient(180deg, rgba(33, 46, 68, 0.06) 0%, transparent 14%),
        linear-gradient(180deg, rgba(5, 10, 18, 1) 0%, rgba(3, 7, 13, 1) 100%);
    color: var(--app-text);
    border-radius: var(--app-radius-md);
    padding: 0 0.85rem;
    color-scheme: dark;
    caret-color: white;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        inset 0 -1px 0 rgba(255, 255, 255, 0.02),
        0 14px 28px rgba(2, 6, 23, 0.12);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ops-input::placeholder,
.ops-select::placeholder,
.ops-toolbar-select::placeholder {
    color: rgba(100, 116, 139, 0.74);
}

.ops-input:focus,
.ops-select:focus,
.ops-toolbar-select:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.76);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 16px 30px rgba(2, 6, 23, 0.26);
    background: rgba(8, 14, 24, 1);
    transform: translateY(-1px);
}

.ops-helper-text,
.ops-meta-text,
.ops-compact-value {
    color: #8da2bd;
    font-size: 0.79rem;
    line-height: 1.45;
}

.ops-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.18) 12%, rgba(148, 163, 184, 0.18) 88%, transparent 100%);
}

.ops-note {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: linear-gradient(180deg, rgba(8, 13, 22, 0.92) 0%, rgba(6, 10, 18, 0.9) 100%);
    padding: 0.9rem 1rem;
    color: #c8d4e5;
    font-size: 0.84rem;
    line-height: 1.5;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 12px 24px rgba(2, 6, 23, 0.12);
}

.ops-stat-grid {
    display: grid;
    gap: 0.65rem;
}

.ops-stat-card {
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: var(--app-radius-lg);
    background:
        linear-gradient(180deg, rgba(52, 72, 104, 0.14) 0%, transparent 13%),
        linear-gradient(180deg, rgba(10, 16, 26, 0.95) 0%, rgba(7, 12, 20, 0.92) 100%);
    padding: 0.78rem 0.88rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 14px 26px rgba(2, 6, 23, 0.12);
}

.ops-stat-value {
    color: var(--app-text);
    font-size: 1.34rem;
    line-height: 1.1;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.ops-badge-row,
.ops-meta-row,
.ops-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.ops-badge,
.ops-severity-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    padding: 0 0.56rem;
    font-size: 0.66rem;
    font-weight: 760;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #d6e0ee;
    background: linear-gradient(180deg, rgba(16, 24, 36, 0.96) 0%, rgba(10, 16, 26, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.ops-badge--accent {
    border-color: rgba(129, 140, 248, 0.28);
    color: #d4dbff;
    background: rgba(99, 102, 241, 0.15);
}

.ops-badge--success,
.ops-severity-badge--success {
    border-color: rgba(52, 211, 153, 0.24);
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.1);
}

.ops-badge--warning,
.ops-severity-badge--warning {
    border-color: rgba(251, 191, 36, 0.24);
    color: #fde68a;
    background: rgba(245, 158, 11, 0.11);
}

.ops-badge--error,
.ops-severity-badge--error {
    border-color: rgba(251, 113, 133, 0.24);
    color: #fecdd3;
    background: rgba(225, 29, 72, 0.12);
}

.ops-severity-badge--info {
    border-color: rgba(56, 189, 248, 0.22);
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.1);
}

.ops-secure-row {
    display: flex;
    flex-direction: column;
    gap: 0.34rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--app-radius-lg);
    background:
        linear-gradient(180deg, rgba(48, 66, 96, 0.08) 0%, transparent 13%),
        linear-gradient(180deg, rgba(7, 12, 21, 0.96) 0%, rgba(4, 8, 15, 0.92) 100%);
    padding: 0.72rem 0.8rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 24px rgba(2, 6, 23, 0.12);
}

.ops-secure-value {
    color: #dbeafe;
    font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.82rem;
    line-height: 1.55;
    word-break: break-all;
}

.ops-context-list {
    display: grid;
    gap: 0.45rem;
}

.ops-context-item {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: calc(var(--app-radius-md) + 0.05rem);
    background: linear-gradient(180deg, rgba(9, 14, 22, 0.84) 0%, rgba(6, 10, 17, 0.8) 100%);
    padding: 0.56rem 0.68rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.ops-connection-grid {
    display: grid;
    gap: 0.75rem;
}

.ops-connection-card {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: var(--app-radius-lg);
    background:
        linear-gradient(180deg, rgba(58, 79, 114, 0.15) 0%, transparent 13%),
        linear-gradient(180deg, rgba(10, 17, 28, 0.995) 0%, rgba(6, 11, 19, 0.995) 100%);
    padding: 0.82rem 0.88rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 20px 38px rgba(2, 6, 23, 0.22);
}

.ops-connection-head {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ops-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
}

.ops-toolbar-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: end;
}

.ops-toolbar-control {
    display: flex;
    min-width: 0;
    flex: 1 1 11rem;
    flex-direction: column;
    gap: 0.28rem;
}

.ops-toolbar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
}

.ops-event-stream {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
}

.ops-event-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-left-width: 5px;
    border-radius: var(--app-radius-lg);
    background:
        linear-gradient(180deg, rgba(42, 58, 84, 0.2) 0%, transparent 15%),
        linear-gradient(180deg, rgba(7, 12, 21, 0.985) 0%, rgba(4, 8, 14, 0.965) 100%);
    padding: 0.66rem 0.74rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 22px rgba(2, 6, 23, 0.12);
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ops-event-row:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, 0.22);
}

.ops-event-row--info {
    border-left-color: rgba(56, 189, 248, 0.58);
}

.ops-event-row--success {
    border-left-color: rgba(52, 211, 153, 0.58);
}

.ops-event-row--warning {
    border-left-color: rgba(251, 191, 36, 0.58);
}

.ops-event-row--error {
    border-left-color: rgba(251, 113, 133, 0.6);
}

.ops-event-head {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.ops-event-head .ops-meta-text {
    color: #d6e4f4;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.95;
}

.ops-event-message {
    color: var(--app-text);
    font-size: 1.05rem;
    line-height: 1.34;
    letter-spacing: -0.01em;
    font-weight: 660;
}

.ops-meta-row .ops-meta-text {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(8, 14, 24, 0.9);
    padding: 0 0.48rem;
}

.ops-panel--toolbar .ops-toolbar {
    gap: 0.56rem;
}

.ops-panel--toolbar .ops-badge-row {
    gap: 0.35rem;
}

.ops-panel--toolbar .ops-badge {
    min-height: 1.42rem;
    padding: 0 0.5rem;
    font-size: 0.62rem;
}

.ops-panel--toolbar .ops-toolbar-group {
    gap: 0.55rem;
}

.ops-panel--toolbar .ops-toolbar-control {
    gap: 0.22rem;
    flex: 1 1 10rem;
}

.ops-panel--toolbar .ops-toolbar-action {
    min-height: 2.6rem;
}

.ops-panel--feed .ops-event-stream {
    gap: 0.38rem;
}

.ops-panel--feed .ops-event-row {
    gap: 0.3rem;
    padding: 0.54rem 0.64rem;
}

.ops-panel--feed .ops-event-head {
    gap: 0.14rem;
    align-items: flex-start;
}

.ops-panel--feed .ops-badge-row {
    gap: 0.35rem;
}

.ops-panel--feed .ops-badge,
.ops-panel--feed .ops-severity-badge {
    min-height: 1.38rem;
    padding: 0 0.48rem;
    font-size: 0.62rem;
}

.ops-panel--feed .ops-event-head .ops-meta-text {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.ops-panel--feed .ops-event-message {
    line-height: 1.28;
    margin-top: 0.02rem;
}

.ops-panel--feed .ops-meta-row {
    gap: 0.24rem;
}

.ops-panel--feed .ops-meta-row .ops-meta-text {
    min-height: 1.22rem;
    padding: 0 0.42rem;
    font-size: 0.72rem;
}

.ops-empty-state {
    min-height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

.ops-empty-title {
    margin: 0;
    color: var(--app-text);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ops-progress {
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: rgba(8, 12, 19, 0.78);
}

.ops-progress-bar {
    height: 0.32rem;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2) 0%, rgba(52, 211, 153, 0.88) 50%, rgba(99, 102, 241, 0.2) 100%);
    background-size: 200% 100%;
    animation: app-pulse-slide 1.2s linear infinite;
}

.ops-progress-copy {
    padding: 0.8rem 1rem 0.95rem 1rem;
    color: #a7f3d0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 8rem;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: var(--app-radius-lg);
    background:
        linear-gradient(180deg, rgba(58, 78, 112, 0.18) 0%, transparent 15%),
        linear-gradient(180deg, rgba(14, 22, 35, 0.995) 0%, rgba(8, 14, 24, 0.995) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 20px 36px rgba(2, 6, 23, 0.24);
    padding: 0.9rem;
}

.metric-card__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8ea2bd;
}

.metric-card__value {
    color: var(--app-text);
    font-size: 2.55rem;
    line-height: 0.98;
    font-weight: 830;
    letter-spacing: -0.05em;
}

.metric-card__subtext {
    color: #93a8c4;
    font-size: 0.8rem;
    line-height: 1.35;
}

.metric-card__spacer {
    flex: 1 1 auto;
}

.metric-card__value.text-white {
    color: var(--app-text);
}

.metric-card__value.text-cyan-300 {
    color: #8fe1ff;
}

.metric-card__value.text-emerald-300 {
    color: #93f5b3;
}

.metric-card__value.text-amber-300 {
    color: #fcd34d;
}

.metric-card__value.text-rose-300 {
    color: #fda4af;
}

.metric-card__value.text-fuchsia-300 {
    color: #f0abfc;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    padding: 0 0.85rem;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.status-pill--neutral {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(148, 163, 184, 0.1);
    color: #e2e8f0;
}

.status-pill--solo {
    border-color: rgba(196, 181, 253, 0.24);
    background: rgba(139, 92, 246, 0.14);
    color: #ddd6fe;
}

.status-pill--pro {
    border-color: rgba(52, 211, 153, 0.24);
    background: rgba(16, 185, 129, 0.12);
    color: #a7f3d0;
}

.status-pill--master {
    border-color: rgba(125, 211, 252, 0.24);
    background: rgba(14, 165, 233, 0.12);
    color: #bae6fd;
}

.status-pill--active {
    border-color: rgba(52, 211, 153, 0.24);
    background: rgba(16, 185, 129, 0.1);
    color: #a7f3d0;
}

.status-pill--canceled {
    border-color: rgba(251, 191, 36, 0.24);
    background: rgba(245, 158, 11, 0.1);
    color: #fde68a;
}

.status-pill--subtle {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 36, 0.72);
    color: var(--app-text-muted);
}

.compact-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.56rem;
}

.compact-action-group--stack {
    flex-direction: column;
}

.account-hero {
    display: flex;
    flex-direction: column;
    gap: 0.88rem;
}

.account-hero__identity {
    display: flex;
    flex-direction: column;
    gap: 0.68rem;
}

.account-email {
    color: var(--app-text);
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.account-summary-grid,
.pricing-addon-grid,
.admin-metric-grid {
    display: grid;
    gap: 0.75rem;
}

.account-section,
.admin-panel {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-xl);
    background:
        linear-gradient(180deg, rgba(58, 79, 114, 0.18) 0%, transparent 13%),
        linear-gradient(180deg, rgba(15, 23, 36, 0.995) 0%, rgba(8, 14, 24, 0.995) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 30px 68px rgba(2, 6, 23, 0.46);
}

.account-section-soft,
.admin-panel-soft {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--app-radius-lg);
    background:
        linear-gradient(180deg, rgba(18, 26, 38, 0.08) 0%, transparent 14%),
        linear-gradient(180deg, rgba(10, 16, 26, 0.97) 0%, rgba(7, 12, 20, 0.97) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        0 12px 24px rgba(2, 6, 23, 0.14);
}

.account-addon-list {
    display: grid;
    gap: 0.6rem;
}

.account-addon-card {
    display: flex;
    flex-direction: column;
    gap: 0.58rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--app-radius-lg);
    background: linear-gradient(180deg, rgba(11, 17, 28, 0.92) 0%, rgba(7, 12, 20, 0.9) 100%);
    padding: 0.72rem 0.8rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 16px 30px rgba(2, 6, 23, 0.16);
}

.account-addon-head {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    gap: 0.55rem;
}

.account-section--addons .ops-section {
    gap: 0.38rem;
}

.account-section--addons .ops-panel-header {
    gap: 0.12rem;
}

.account-addon-list {
    gap: 0.45rem;
}

.account-addon-card {
    gap: 0.34rem;
    padding: 0.52rem 0.6rem;
}

.account-addon-head {
    gap: 0.28rem;
}

.account-section--addons .ops-meta-row {
    gap: 0.24rem;
}

.account-section--addons .ops-badge {
    min-height: 1.38rem;
    padding: 0 0.5rem;
}

.account-section--addons .compact-action-group {
    gap: 0.28rem;
}

.account-section--addons .dashboard-button-primary,
.account-section--addons .dashboard-button-tertiary {
    min-height: 2.15rem;
    padding-inline: 0.74rem;
    font-size: 0.76rem;
}

.ops-side-panel--context .ops-section {
    gap: 0.34rem;
}

.ops-side-panel--context .ops-section-intro {
    gap: 0.12rem;
}

.ops-side-panel--context .ops-context-list {
    gap: 0.24rem;
}

.ops-side-panel--context .ops-context-item {
    gap: 0.14rem;
    padding: 0.4rem 0.5rem;
}

.ops-side-panel--context .ops-section-title {
    font-size: 1rem;
}

.ops-side-panel--context .ops-compact-label {
    font-size: 0.64rem;
}

.ops-side-panel--context .ops-compact-value {
    font-size: 0.74rem;
    line-height: 1.28;
}

.ops-panel--saved .ops-connection-grid {
    gap: 0.62rem;
}

.ops-panel--saved .ops-connection-card {
    gap: 0.52rem;
    padding: 0.72rem 0.8rem;
}

.ops-panel--saved .ops-connection-head {
    gap: 0.38rem;
}

.ops-panel--saved .ops-secure-row {
    gap: 0.26rem;
    padding: 0.62rem 0.7rem;
}

.ops-panel--saved .ops-meta-row {
    gap: 0.26rem;
}

.ops-panel--saved .ops-action-row {
    gap: 0.34rem;
}

.ops-panel--saved .dashboard-button-tertiary {
    min-height: 2.25rem;
}

.account-empty {
    color: var(--app-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.pricing-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-toggle {
    display: inline-flex;
    width: fit-content;
    gap: 0.35rem;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    background: rgba(12, 18, 29, 0.9);
    padding: 0.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pricing-toggle__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 1rem;
    color: var(--app-text-muted);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pricing-toggle__button--active {
    color: var(--app-text);
    border-color: rgba(99, 102, 241, 0.22);
    background: rgba(99, 102, 241, 0.14);
}

.pricing-plan-grid {
    display: grid;
    gap: 1rem;
}

.pricing-plan-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    height: 100%;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-xl);
    background: linear-gradient(180deg, rgba(17, 24, 36, 0.98) 0%, rgba(12, 18, 29, 0.98) 100%);
    box-shadow: var(--app-shadow-panel);
    padding: 1.35rem;
}

.pricing-plan-card--featured {
    border-color: rgba(129, 140, 248, 0.34);
    background:
        linear-gradient(180deg, rgba(26, 35, 55, 0.98) 0%, rgba(15, 22, 34, 0.98) 100%);
    box-shadow: 0 20px 44px rgba(79, 70, 229, 0.16);
}

.pricing-plan-head {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.pricing-plan-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.85rem;
    align-items: start;
}

.pricing-plan-name {
    color: var(--app-text);
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.pricing-plan-copy {
    color: var(--app-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.pricing-plan-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
}

.pricing-plan-price {
    color: var(--app-text);
    font-size: 2.55rem;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.pricing-plan-card--featured .pricing-plan-price {
    color: #e0e7ff;
}

.pricing-plan-original {
    color: var(--app-text-soft);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: line-through;
}

.pricing-plan-meta {
    color: var(--app-text-soft);
    font-size: 0.78rem;
    line-height: 1.5;
}

.pricing-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pricing-feature-item {
    display: flex;
    gap: 0.7rem;
    align-items: start;
    color: var(--app-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.pricing-feature-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    margin-top: 0.45rem;
    background: #6ee7b7;
    flex: 0 0 auto;
}

.pricing-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.pricing-action-button,
.pricing-action-surface {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border-radius: var(--app-radius-md);
    padding: 0.8rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-action-button {
    border: 1px solid transparent;
    background: linear-gradient(180deg, #6dd09d 0%, #54bc86 100%);
    color: #04101a;
    text-decoration: none;
    transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
    box-shadow: 0 16px 28px rgba(84, 188, 134, 0.18);
}

.pricing-action-button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #84e2b3 0%, #64c995 100%);
}

.pricing-action-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.pricing-action-surface {
    border: 1px solid rgba(109, 208, 157, 0.24);
    background: rgba(109, 208, 157, 0.12);
    color: #b7f5d1;
}

.pricing-callout {
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: var(--app-radius-lg);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.9rem 1rem;
    color: #fde68a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-addon-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: linear-gradient(180deg, rgba(14, 22, 35, 0.98) 0%, rgba(12, 18, 29, 0.98) 100%);
    box-shadow: var(--app-shadow-soft);
    padding: 1.2rem;
}

.admin-nav {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-xl);
    background: rgba(11, 17, 27, 0.88);
    box-shadow: var(--app-shadow-soft);
    padding: 0.45rem;
}

.admin-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.admin-nav__link,
.admin-nav__link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    border: 1px solid transparent;
    border-radius: var(--app-radius-md);
    padding: 0 0.95rem;
    color: var(--app-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.admin-nav__link:hover {
    color: var(--app-text);
    background: rgba(148, 163, 184, 0.08);
}

.admin-nav__link.active {
    color: var(--app-text);
    border-color: rgba(99, 102, 241, 0.24);
    background: rgba(99, 102, 241, 0.12);
}

.admin-section-grid {
    display: grid;
    gap: 1rem;
}

.admin-split-grid {
    display: grid;
    gap: 1rem;
}

.admin-mini-grid {
    display: grid;
    gap: 0.85rem;
}

.admin-mini-stat {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: rgba(10, 15, 24, 0.76);
    padding: 1rem;
}

.admin-mini-stat__label {
    color: var(--app-text-soft);
    font-size: 0.74rem;
    line-height: 1.4;
}

.admin-mini-stat__value {
    color: var(--app-text);
    margin-top: 0.35rem;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.admin-note {
    color: var(--app-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.auth-stage,
.boot-shell {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-stage {
    position: relative;
}

.auth-stage::before,
.boot-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.08), transparent 26%),
        radial-gradient(circle at bottom left, rgba(15, 118, 110, 0.05), transparent 24%);
    pointer-events: none;
}

.auth-panel,
.boot-panel,
.auth-loader-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 30rem;
    border: 1px solid var(--app-border);
    border-radius: 1.9rem;
    background: linear-gradient(180deg, rgba(17, 24, 36, 0.98) 0%, rgba(12, 18, 29, 0.98) 100%);
    box-shadow: var(--app-shadow-panel);
    overflow: hidden;
}

.auth-panel::before,
.boot-panel::before,
.auth-loader-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(129, 140, 248, 0.5) 50%, transparent 100%);
}

.auth-panel {
    padding: 2.4rem;
}

.boot-panel,
.auth-loader-card {
    padding: 2.2rem 2rem;
    text-align: center;
}

.auth-logo-lockup,
.boot-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.auth-logo,
.boot-brand img {
    display: block;
    width: auto;
    max-width: 13rem;
    height: 3.1rem;
    object-fit: contain;
}

.auth-header {
    margin-bottom: 1.75rem;
}

.auth-title,
.boot-title {
    margin: 0;
    color: var(--app-text);
    font-size: 1.7rem;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.auth-subtitle,
.boot-copy {
    margin: 0.65rem 0 0 0;
    color: var(--app-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.auth-stack {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-status {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: var(--app-radius-md);
    font-size: 0.875rem;
    line-height: 1.45;
}

.auth-status--error {
    border: 1px solid rgba(251, 113, 133, 0.22);
    background: rgba(127, 29, 29, 0.16);
    color: #fecdd3;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--app-text-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--app-border);
}

.auth-label {
    display: block;
    margin: 0 0 0.45rem 0.1rem;
    color: var(--app-text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.auth-input {
    width: 100%;
    min-height: 3.35rem;
    border: 1px solid var(--app-border-strong);
    background: rgba(8, 13, 22, 0.92);
    color: var(--app-text);
    border-radius: var(--app-radius-md);
    padding: 0 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-input::placeholder {
    color: rgba(100, 116, 139, 0.74);
}

.auth-input:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.55);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.auth-button {
    width: 100%;
    min-height: 3.25rem;
    border-radius: var(--app-radius-md);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 0.16s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.auth-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.auth-button--primary {
    background: linear-gradient(180deg, var(--app-accent) 0%, var(--app-accent-strong) 100%);
    color: white;
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.24);
}

.auth-button--primary:hover:not(:disabled) {
    transform: translateY(-1px);
}

.auth-button--light {
    border-color: rgba(226, 232, 240, 0.12);
    background: #f8fafc;
    color: #0f172a;
}

.auth-button--light:hover:not(:disabled) {
    background: white;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    color: var(--app-text-muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.auth-links a:hover {
    color: var(--app-text);
}

.auth-meta {
    margin-top: 1.4rem;
    text-align: center;
    color: var(--app-text-soft);
    font-size: 0.88rem;
    line-height: 1.55;
}

.auth-loader-card {
    max-width: 24rem;
}

.auth-loader-indicator,
.boot-spinner {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1.25rem auto;
    border-radius: 999px;
    border: 2px solid rgba(148, 163, 184, 0.18);
    border-top-color: rgba(129, 140, 248, 0.85);
    animation: app-spin 0.95s linear infinite;
}

.boot-shell .boot-brand {
    margin-bottom: 1.35rem;
}

.boot-shell .boot-title {
    font-size: 1.2rem;
}

.boot-shell .boot-copy {
    font-size: 0.88rem;
}

@keyframes app-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes app-pulse-slide {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 200% 50%;
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #081019;
}

::-webkit-scrollbar-thumb {
    background: rgba(71, 85, 105, 0.9);
    border-radius: 999px;
}

@media (min-width: 640px) {
    .app-page {
        padding: 1.25rem;
    }

    .app-header-inner {
        padding: 0.95rem 1.25rem;
    }

    .dashboard-title {
        font-size: 2.3rem;
    }

    .ops-field-grid--two,
    .ops-stat-grid,
    .ops-connection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ops-event-head {
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
    }

    .account-summary-grid,
    .pricing-addon-grid,
    .admin-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .app-page {
        padding: 1.5rem;
    }

    .app-header-inner {
        padding: 1rem 1.5rem;
    }

    .ops-surface-grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.9fr);
        align-items: start;
    }

    .pricing-plan-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pricing-addon-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .account-hero {
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
    }

    .account-hero__identity {
        max-width: 46rem;
    }

    .account-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-metric-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .admin-split-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
}

@media (max-width: 639px) {
    .auth-panel,
    .boot-panel,
    .auth-loader-card {
        border-radius: 1.5rem;
    }

    .auth-panel {
        padding: 1.8rem 1.4rem;
    }

    .boot-panel,
    .auth-loader-card {
        padding: 1.8rem 1.4rem;
    }

    .app-nav {
        gap: 0.25rem;
    }

    .app-nav-link,
    .app-nav-link:visited {
        min-height: 2.1rem;
        padding: 0 0.7rem;
        font-size: 0.8rem;
    }

    .ops-panel,
    .ops-panel-soft,
    .ops-side-panel,
    .ops-connection-card,
    .ops-secure-row,
    .ops-event-row {
        border-radius: 1.25rem;
    }
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}
