:root {
    --bg: #0b1015;
    --bg-soft: #0f141b;
    --sidebar: #0d131a;
    --panel: #131922;
    --panel-2: #171f2a;
    --panel-3: #1b2430;
    --ink: #e6edf3;
    --muted: #91a3b6;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --accent: #00a79c;
    --accent-soft: rgba(0, 167, 156, 0.14);
    --success: #6fcf97;
    --success-soft: rgba(111, 207, 151, 0.14);
    --warning: #f2b84b;
    --warning-soft: rgba(242, 184, 75, 0.15);
    --danger: #ff7d7d;
    --danger-soft: rgba(255, 125, 125, 0.14);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    --clerk-color-primary: #00a79c;
    --clerk-color-primary-foreground: #0b1015;
    --clerk-color-background: #10161f;
    --clerk-color-foreground: #e6edf3;
    --clerk-color-input: #0e141b;
    --clerk-color-input-foreground: #e6edf3;
    --clerk-color-muted: #18212d;
    --clerk-color-muted-foreground: #9db0c3;
    --clerk-border-radius: 0.9rem;
    --clerk-font-family: "Public Sans", sans-serif;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--ink);
    font-family: "Public Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0, 167, 156, 0.08), transparent 26%),
        radial-gradient(circle at top right, rgba(77, 115, 193, 0.08), transparent 24%),
        linear-gradient(180deg, #0a0f14 0%, #0c1218 100%);
}

code {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.1rem 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    color: #e9f7f3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
}

h1,
h2,
h3,
h4,
.font-display {
    font-family: "Manrope", sans-serif;
}

a,
button {
    transition:
        color 0.16s ease,
        background-color 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.page-shell {
    position: relative;
    min-height: 100vh;
}

.page-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 75%);
}

.app-sidebar {
    background: rgba(13, 19, 26, 0.96);
    color: var(--ink);
    border-right: 1px solid var(--line);
    box-shadow: 12px 0 34px rgba(0, 0, 0, 0.26);
}

.brand-mark {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0.28rem;
    border: 1px solid var(--line-strong);
    background: var(--panel-2);
    color: #fff;
    overflow: hidden;
}

.brand-mark-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.sidebar-section-title {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(230, 237, 243, 0.42);
}

.material-symbols-outlined {
    font-variation-settings:
        "FILL" 0,
        "wght" 500,
        "GRAD" 0,
        "opsz" 24;
    line-height: 1;
}

.sidebar-connect-form {
    width: 100%;
}

.sidebar-connect-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid rgba(0, 167, 156, 0.32);
    border-radius: 14px;
    padding: 0.78rem 0.95rem;
    background: linear-gradient(180deg, rgba(0, 167, 156, 0.12), rgba(0, 167, 156, 0.06));
    color: #e9fbf8;
    font-size: 0.94rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-connect-button:hover:not(:disabled) {
    border-color: rgba(0, 167, 156, 0.45);
    background: linear-gradient(180deg, rgba(0, 167, 156, 0.16), rgba(0, 167, 156, 0.08));
    transform: translateY(-1px);
}

.sidebar-connect-button:disabled {
    opacity: 0.56;
    cursor: not-allowed;
}

.sidebar-connect-icon {
    font-size: 1.1rem;
    color: #00a79c;
    font-variation-settings:
        "FILL" 1,
        "wght" 600,
        "GRAD" 0,
        "opsz" 24;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.68rem 0.78rem;
    color: rgba(230, 237, 243, 0.78);
    font-size: 0.92rem;
    font-weight: 600;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.sidebar-link.active {
    border-color: rgba(0, 167, 156, 0.2);
    background: linear-gradient(180deg, rgba(0, 167, 156, 0.16), rgba(0, 167, 156, 0.08));
    color: #fff;
}

.sidebar-link-main {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    min-width: 0;
}

.sidebar-link-icon {
    font-size: 1.2rem;
    color: rgba(145, 163, 182, 0.96);
}

.sidebar-link.active .sidebar-link-icon,
.sidebar-link:hover .sidebar-link-icon {
    color: #00a79c;
}

.sidebar-chip {
    min-width: 1.7rem;
    border-radius: 999px;
    padding: 0.12rem 0.42rem;
    font-size: 0.68rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.38rem 0;
    font-size: 0.82rem;
    color: rgba(230, 237, 243, 0.76);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-metric:first-child {
    border-top: none;
    padding-top: 0;
}

.main-panel {
    padding: 0.9rem;
}

@media (min-width: 1024px) {
    .main-panel {
        padding: 1.1rem 1.35rem 1.35rem;
    }
}

.page-header {
    align-items: flex-start;
}

.page-context-card {
    min-width: 16rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem 0.95rem;
    background: linear-gradient(180deg, rgba(18, 24, 33, 0.92), rgba(14, 19, 26, 0.9));
}

.account-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.3rem 0.45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(23, 31, 42, 0.96), rgba(14, 19, 26, 0.94));
}

.account-summary-avatar {
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 167, 156, 0.16);
    color: #00a79c;
    font-family: "Manrope", sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    overflow: hidden;
}

.account-summary-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.account-summary-copy {
    min-width: 0;
}

.account-summary-name {
    color: #f4f7fb;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
}

.account-summary-email {
    margin-top: 0.12rem;
    color: rgba(145, 163, 182, 0.84);
    font-size: 0.76rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 14rem;
}

.page-context-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.72);
}

.page-context-value {
    margin-top: 0.28rem;
    font-size: 0.96rem;
    font-weight: 600;
    color: #f4f7fb;
}

.page-title {
    font-family: "Manrope", sans-serif;
    font-size: 1.9rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #f4f7fb;
}

.page-description {
    max-width: 48rem;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.84);
}

.panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(19, 25, 34, 0.94);
    box-shadow: var(--shadow);
}

.panel-soft {
    background: rgba(23, 31, 42, 0.86);
}

.surface-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.78rem;
}

.metric-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.85rem 0.9rem;
    background: linear-gradient(180deg, rgba(23, 31, 42, 0.98), rgba(19, 25, 34, 0.98));
}

.metric-label {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.74);
}

.metric-value {
    margin-top: 0.45rem;
    font-family: "Manrope", sans-serif;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #f4f7fb;
}

.metric-note {
    margin-top: 0.22rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    line-height: 1;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    color: #0b1015;
    background: var(--accent);
    border-color: rgba(0, 167, 156, 0.18);
}

.btn-primary:hover {
    background: #00a79c;
}

.btn-secondary {
    color: var(--ink);
    background: var(--panel-2);
    border-color: var(--line);
}

.btn-secondary:hover {
    border-color: var(--line-strong);
    background: var(--panel-3);
}

.btn-ghost {
    color: var(--muted);
    background: transparent;
    border-color: var(--line);
}

.btn-ghost:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
}

.btn-danger {
    color: var(--danger);
    background: var(--danger-soft);
    border-color: rgba(255, 125, 125, 0.15);
}

.btn-danger:hover {
    background: rgba(255, 125, 125, 0.2);
}

.field-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.82);
}

.filter-input,
.filter-select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.65rem 0.78rem;
    outline: none;
    color: var(--ink);
    background: rgba(15, 20, 27, 0.98);
    font-size: 0.88rem;
}

.filter-input::placeholder {
    color: rgba(145, 163, 182, 0.62);
}

.filter-input:focus,
.filter-select:focus {
    border-color: rgba(0, 167, 156, 0.36);
    box-shadow: 0 0 0 3px rgba(0, 167, 156, 0.12);
}

.toolbar-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 980px) {
    .toolbar-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr) auto auto;
        align-items: end;
    }
}

.workspace-commandbar {
    display: grid;
    gap: 0.9rem;
}

.commandbar-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 920px) {
    .commandbar-grid {
        grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.78fr) minmax(0, 1fr) auto;
        align-items: end;
    }
}

.commandbar-search {
    min-width: 0;
}

.commandbar-submit {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.toolbar-ribbon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.9rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
}

.toolbar-filter-group {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    min-width: max-content;
    flex-wrap: nowrap;
}

.toolbar-action-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    flex-wrap: nowrap;
    flex: 0 0 auto;
}

.toolbar-search-input {
    min-width: 18rem;
    flex: 1 1 20rem;
}

.toolbar-compact-select {
    min-width: 11rem;
    flex: 0 0 11rem;
}

.toolbar-collection-select {
    min-width: 12rem;
    flex: 0 0 14rem;
}

.toolbar-subline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.85rem;
}

.toolbar-subnote {
    color: rgba(145, 163, 182, 0.78);
    font-size: 0.8rem;
    line-height: 1.5;
}

.commandbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding-top: 0.2rem;
}

.commandbar-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.commandbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.action-cluster {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.commandbar-note {
    color: rgba(145, 163, 182, 0.78);
    font-size: 0.8rem;
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.85rem;
}

.selection-bar {
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(180deg, rgba(15, 20, 27, 0.98), rgba(19, 25, 34, 0.98));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.selection-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
    border: 1px solid rgba(0, 167, 156, 0.12);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    background: linear-gradient(180deg, rgba(17, 23, 31, 0.95), rgba(13, 18, 25, 0.92));
}

.selection-inline-copy {
    min-width: 12rem;
}

.selection-inline-title {
    margin-top: 0.24rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: #f4f7fb;
}

.toolbar-ribbon::-webkit-scrollbar {
    height: 8px;
}

.toolbar-ribbon::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.table-shell {
    overflow: hidden;
}

.table-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0.8rem 0.95rem;
    border-bottom: 1px solid var(--line);
}

.workspace-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.workspace-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.75rem 0.95rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.76);
    background: rgba(15, 20, 27, 0.98);
}

.workspace-table tbody td {
    padding: 0.85rem 0.95rem;
    vertical-align: top;
    color: #d7e0ea;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
}

.table-row {
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.025);
}

.table-row.is-selected {
    background: rgba(0, 167, 156, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 167, 156, 0.14);
}

.pagination-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding: 0.9rem 1rem;
}

.pagination-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 0.7rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.82rem;
    font-weight: 600;
}

.pagination-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.pagination-link.active {
    color: #0b1015;
    background: var(--accent);
    border-color: rgba(0, 167, 156, 0.18);
}

.pagination-link.is-disabled {
    opacity: 0.38;
    pointer-events: none;
}

.pagination-ellipsis {
    padding: 0 0.2rem;
    color: var(--muted);
}

.product-thumb {
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-soft);
}

.badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.18rem 0.45rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.24rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.status-pill.safe {
    color: var(--success);
    background: var(--success-soft);
    border-color: rgba(111, 207, 151, 0.16);
}

.status-pill.medium {
    color: var(--warning);
    background: var(--warning-soft);
    border-color: rgba(242, 184, 75, 0.16);
}

.status-pill.high {
    color: #ffb3b3;
    background: var(--danger-soft);
    border-color: rgba(255, 125, 125, 0.16);
}

.status-pill.blocked {
    color: #ffd2d2;
    background: rgba(122, 29, 29, 0.52);
    border-color: rgba(255, 125, 125, 0.24);
}

.status-pill.neutral {
    color: #aab8c5;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.evidence-button {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 700;
}

.evidence-button:hover {
    color: #76dbc1;
}

.subtle-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.6rem 0.7rem;
    background: rgba(255, 255, 255, 0.025);
}

.evidence-panel {
    max-width: 24rem;
}

.evidence-stack {
    display: grid;
    gap: 0.6rem;
}

.evidence-section {
    display: grid;
    gap: 0.24rem;
}

.evidence-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.72);
}

.evidence-verdict {
    color: #f2f7fb;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}

.evidence-body {
    color: #cfd9e3;
    font-size: 0.78rem;
    line-height: 1.6;
}

.evidence-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.evidence-link {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 167, 156, 0.16);
    border-radius: 999px;
    padding: 0.24rem 0.5rem;
    background: rgba(0, 167, 156, 0.08);
    color: #94ead5;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.evidence-link:hover {
    color: #b3f4e4;
    background: rgba(0, 167, 156, 0.14);
}

.evidence-empty {
    color: rgba(145, 163, 182, 0.72);
    font-size: 0.78rem;
}

.evidence-modal {
    display: grid;
    gap: 0.85rem;
}

.modal-panel {
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}

.detail-list {
    display: grid;
    gap: 0.55rem;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.82rem;
}

.detail-row:first-child {
    padding-top: 0;
    border-top: none;
}

.overview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #d7e0ea;
    font-size: 0.92rem;
}

.overview-row:first-child {
    border-top: none;
    padding-top: 0;
}

.empty-state {
    max-width: 30rem;
    margin: 0 auto;
    text-align: center;
}

.clamp-1,
.clamp-2,
.clamp-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.clamp-1 {
    -webkit-line-clamp: 1;
}

.clamp-2 {
    -webkit-line-clamp: 2;
}

.clamp-3 {
    -webkit-line-clamp: 3;
}

@media (max-width: 767px) {
    .workspace-table thead th,
    .workspace-table tbody td {
        padding: 0.75rem 0.7rem;
    }

    .btn {
        width: 100%;
    }

    .page-title {
        font-size: 1.55rem;
    }
}

.marketing-shell {
    min-height: 100vh;
    padding: 1.25rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.marketing-grid {
    width: min(1280px, 100%);
    display: grid;
    gap: 1rem;
}

@media (min-width: 1040px) {
    .marketing-grid {
        grid-template-columns: minmax(0, 1.12fr) minmax(26rem, 0.88fr);
    }
}

.marketing-panel {
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.marketing-hero {
    position: relative;
    padding: 1.4rem;
    background:
        radial-gradient(circle at top right, rgba(0, 167, 156, 0.16), transparent 30%),
        radial-gradient(circle at 20% 18%, rgba(79, 120, 214, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(18, 25, 34, 0.98), rgba(11, 16, 21, 0.98));
}

.marketing-hero::after {
    content: "";
    position: absolute;
    inset: auto -5% -14% 35%;
    height: 18rem;
    background: radial-gradient(circle, rgba(0, 167, 156, 0.16), transparent 68%);
    pointer-events: none;
}

.marketing-brand {
    display: grid;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 720px) {
    .marketing-brand {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

.marketing-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.marketing-title {
    margin-top: 0.35rem;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.15rem, 5vw, 4rem);
    line-height: 0.97;
    letter-spacing: -0.06em;
    color: #f4f7fb;
    max-width: 11ch;
}

.marketing-subtitle {
    margin-top: 0.9rem;
    max-width: 44rem;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(230, 237, 243, 0.78);
}

.marketing-slogan {
    margin-top: 1.25rem;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}

.marketing-slogan-badge {
    padding: 0.22rem 0.48rem;
    border-radius: 999px;
    background: rgba(0, 167, 156, 0.16);
    color: #00a79c;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.marketing-slogan-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f4f7fb;
}

.marketing-feature-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.84);
}

.marketing-list-shell {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.16);
}

.marketing-list-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00a79c;
}

.marketing-list {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.65rem;
}

.marketing-list-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(230, 237, 243, 0.84);
    font-size: 0.92rem;
    line-height: 1.6;
}

.marketing-list-item:first-child {
    padding-top: 0;
    border-top: none;
}

.marketing-list-item span {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 167, 156, 0.16);
    color: #00a79c;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.zs-clerk-root,
.cl-rootBox {
    width: 100%;
}

.zs-clerk-card-box {
    width: 100%;
    box-shadow: none !important;
}

.zs-clerk-card,
.cl-card {
    background: #10161f !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26) !important;
}

.zs-clerk-auth-root .zs-clerk-card {
    border-radius: 1.75rem !important;
}

.zs-clerk-profile-root .zs-clerk-card {
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
}

.zs-clerk-profile-root .zs-clerk-card-box,
.zs-clerk-profile-root .cl-cardBox {
    box-shadow: none !important;
}

.zs-clerk-profile-root .zs-clerk-navbar,
.zs-clerk-profile-root .cl-navbar {
    display: none !important;
}

.zs-clerk-profile-root .zs-clerk-page-scroll,
.zs-clerk-profile-root .cl-pageScrollBox {
    background: transparent !important;
    padding: 0 !important;
}

.zs-clerk-profile-root .cl-card,
.zs-clerk-profile-root .cl-userProfile-root {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.zs-clerk-profile-root .cl-rootBox,
.zs-clerk-profile-root .cl-cardBox,
.zs-clerk-profile-root .cl-userProfile-root,
.zs-clerk-profile-root .cl-pageScrollBox {
    width: 100% !important;
    max-width: none !important;
}

.zs-clerk-header-title,
.zs-clerk-user-main,
.cl-headerTitle,
.cl-userPreviewMainIdentifier {
    color: #f4f7fb !important;
}

.zs-clerk-header-subtitle,
.zs-clerk-user-secondary,
.zs-clerk-divider-text,
.zs-clerk-footer-text,
.zs-clerk-field-hint,
.cl-headerSubtitle,
.cl-userPreviewSecondaryIdentifier,
.cl-dividerText,
.cl-footerActionText,
.cl-formFieldHintText {
    color: #8fa2b5 !important;
}

.zs-clerk-field-warning,
.cl-formFieldWarningText {
    color: #ffc2c2 !important;
}

.zs-clerk-social-button,
.zs-clerk-field-input,
.cl-socialButtonsBlockButton,
.cl-formFieldInput {
    background: #0d131a !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: #e6edf3 !important;
    box-shadow: none !important;
}

.zs-clerk-social-button-text,
.zs-clerk-field-label,
.zs-clerk-field-input::placeholder,
.cl-socialButtonsBlockButtonText,
.cl-formFieldLabel,
.cl-formFieldInput::placeholder {
    color: #e6edf3 !important;
}

.zs-clerk-primary-button,
.cl-formButtonPrimary,
.cl-profileSectionPrimaryButton {
    background: #00a79c !important;
    color: #0b1015 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.zs-clerk-divider-line,
.cl-dividerLine {
    background: rgba(255, 255, 255, 0.08) !important;
}

.zs-clerk-footer-link,
.cl-footerActionLink {
    color: #00a79c !important;
}

.zs-clerk-navbar,
.cl-navbar {
    background: #0f151d !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.zs-clerk-navbar-button,
.cl-navbarButton {
    color: #9db0c3 !important;
}

.zs-clerk-page-scroll,
.cl-pageScrollBox {
    background: #10161f !important;
}

.zs-clerk-badge,
.cl-badge {
    background: rgba(0, 167, 156, 0.12) !important;
    color: #00a79c !important;
}

.zs-clerk-icon-button,
.cl-formFieldInputShowPasswordButton {
    color: #8fa2b5 !important;
}

.cl-formFieldHintText,
.cl-formFieldWarningText,
.cl-formResendCodeLink,
.cl-navbarButton,
.cl-userPreviewMainIdentifier,
.cl-userPreviewSecondaryIdentifier {
    font-family: "Public Sans", sans-serif !important;
}

[data-localization-key*="optional"],
[class*="formFieldHint"],
[class*="fieldHint"],
[class*="optional"] {
    color: #8fa2b5 !important;
}

.cl-formFieldLabelRow > :not(label),
.zs-clerk-root .cl-formFieldLabelRow > :not(label) {
    color: #8fa2b5 !important;
}

.zs-clerk-root div:has(> a[aria-label="Clerk logo"]),
.zs-clerk-root a[aria-label="Clerk logo"],
.zs-clerk-root p:has(+ a[aria-label="Clerk logo"]) {
    display: none !important;
}

.marketing-proof {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.marketing-proof-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00a79c;
}

.marketing-proof p {
    margin-top: 0.55rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(230, 237, 243, 0.76);
}

.marketing-auth {
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(19, 25, 34, 0.98), rgba(11, 16, 21, 0.98));
    display: flex;
    flex-direction: column;
}

.marketing-auth-title {
    margin-top: 0.35rem;
    font-size: 2rem;
    letter-spacing: -0.05em;
    color: #f4f7fb;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
}

.marketing-auth-copy {
    margin-top: 0.75rem;
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(230, 237, 243, 0.72);
}

.marketing-mini-steps {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.65rem;
}

.marketing-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(230, 237, 243, 0.88);
    font-size: 0.92rem;
    font-weight: 600;
}

.marketing-step span {
    width: 1.8rem;
    height: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 167, 156, 0.18);
    color: #00a79c;
    font-size: 0.82rem;
    font-weight: 700;
}

.marketing-login-shell {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.marketing-login-shell #clerk-sign-in {
    min-height: 22rem;
}

.approval-hero {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1040px) {
    .approval-hero {
        grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
    }
}

.approval-hero-copy,
.approval-status-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.approval-hero-copy {
    padding: 1.35rem;
    background:
        radial-gradient(circle at top right, rgba(0, 167, 156, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(19, 25, 34, 0.98), rgba(12, 18, 24, 0.98));
}

.approval-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 167, 156, 0.16);
    background: rgba(0, 167, 156, 0.12);
    color: #00a79c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.approval-hero-copy h2 {
    margin-top: 0.8rem;
    max-width: 13ch;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #f4f7fb;
}

.approval-hero-copy p {
    margin-top: 0.95rem;
    max-width: 46rem;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(230, 237, 243, 0.76);
}

.approval-actions {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.approval-status-card {
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(15, 20, 27, 0.98), rgba(10, 14, 19, 0.98));
}

.approval-status-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.78);
}

.approval-status-value {
    margin-top: 0.45rem;
    font-family: "Manrope", sans-serif;
    font-size: 1.6rem;
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: #f4f7fb;
}

.approval-status-note {
    margin-top: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(230, 237, 243, 0.72);
}

.approval-inline-detail {
    display: grid;
    gap: 0.22rem;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.approval-inline-detail span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.76);
}

.approval-inline-detail strong {
    font-size: 0.88rem;
    color: #f4f7fb;
    word-break: break-word;
}

.approval-step-list {
    display: grid;
    gap: 0.85rem;
}

.approval-step-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.approval-step-number {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 167, 156, 0.14);
    color: #00a79c;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.approval-step-title {
    font-size: 1rem;
    line-height: 1.3;
    color: #f4f7fb;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
}

.approval-step-card p {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(230, 237, 243, 0.72);
}

.image-lab-layout {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1080px) {
    .image-lab-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
        align-items: start;
    }
}

.image-lab-form-grid {
    display: grid;
    gap: 0.8rem;
}

@media (min-width: 780px) {
    .image-lab-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.image-lab-dropzone {
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    padding: 1rem;
    outline: none;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.image-lab-dropzone:hover,
.image-lab-dropzone:focus,
.image-lab-dropzone.is-active {
    border-color: rgba(0, 167, 156, 0.7);
    background: linear-gradient(180deg, rgba(0, 167, 156, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: 0 0 0 1px rgba(0, 167, 156, 0.14);
}

.image-lab-queue-panel {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10, 14, 20, 0.34);
    padding: 0.9rem;
}

.image-lab-queue-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.image-lab-empty {
    margin-top: 0.8rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1rem;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.6;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.image-lab-queue-grid {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 780px) {
    .image-lab-queue-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.image-lab-thumb {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.55rem;
    background: rgba(255, 255, 255, 0.028);
}

.image-lab-thumb-frame {
    aspect-ratio: 1 / 1;
    max-height: 7rem;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 18, 0.75);
}

.image-lab-remove {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
}

.image-lab-remove:hover {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.image-lab-results-grid {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    align-items: start;
}

.image-lab-results-shell {
    overflow: hidden;
}

.image-lab-filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.image-lab-filter {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.38rem 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.image-lab-filter:hover {
    color: var(--ink);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
}

.image-lab-filter.active {
    color: #0b1015;
    background: var(--accent);
    border-color: rgba(0, 167, 156, 0.18);
}

.image-lab-result-card {
    display: grid;
    gap: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.85rem;
    background: linear-gradient(180deg, rgba(23, 31, 42, 0.98), rgba(19, 25, 34, 0.98));
}

.image-lab-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.image-lab-result-thumb {
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 18, 0.78);
}

.image-lab-result-meta {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.7rem 0.75rem;
    background: rgba(255, 255, 255, 0.025);
}

.image-lab-details {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 0.75rem;
}

.image-lab-details summary {
    cursor: pointer;
    list-style: none;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
}

.image-lab-details summary::-webkit-details-marker {
    display: none;
}

@media (max-width: 767px) {
    .marketing-shell {
        padding: 0.8rem;
    }

    .marketing-hero,
    .marketing-auth,
    .approval-hero-copy,
    .approval-status-card {
        padding: 1rem;
    }

    .account-summary-copy {
        display: none;
    }
}

.brand-beta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 0.12rem 0.38rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 167, 156, 0.18);
    background: rgba(0, 167, 156, 0.12);
    color: #00a79c;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.schedule-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1200px) {
    .schedule-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    }
}

.schedule-list {
    display: grid;
    gap: 0.8rem;
}

.schedule-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.schedule-row-icon {
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 167, 156, 0.12);
    color: #00a79c;
}

.schedule-row-copy h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f4f7fb;
}

.schedule-row-copy p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.page-enter {
    opacity: 0;
    transform: translateY(10px);
}

body.ui-ready .page-enter {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.42s ease, transform 0.42s ease;
}

.welcome-shell {
    min-height: 100vh;
    padding: 1rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.welcome-surface {
    width: min(1380px, 100%);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 167, 156, 0.12), transparent 26%),
        radial-gradient(circle at 88% 16%, rgba(85, 132, 230, 0.12), transparent 20%),
        linear-gradient(180deg, rgba(14, 20, 28, 0.98), rgba(10, 14, 19, 0.98));
}

.welcome-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.welcome-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: inherit;
    text-decoration: none;
}

.welcome-brand-logo {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.welcome-brand-name {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f4f7fb;
}

.welcome-brand-subtitle {
    margin-top: 0.18rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.8);
}

.welcome-topbar-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.welcome-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.36rem 0.64rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(230, 237, 243, 0.82);
    font-size: 0.74rem;
    font-weight: 600;
}

.welcome-pill-beta {
    border-color: rgba(0, 167, 156, 0.18);
    background: rgba(0, 167, 156, 0.12);
    color: #00a79c;
}

.welcome-grid {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 1120px) {
    .welcome-grid {
        grid-template-columns: minmax(0, 1.16fr) minmax(24rem, 0.84fr);
        align-items: start;
    }
}

.welcome-hero,
.welcome-auth-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.welcome-hero {
    padding: 1.35rem;
    background:
        radial-gradient(circle at top right, rgba(0, 167, 156, 0.14), transparent 24%),
        linear-gradient(180deg, rgba(18, 25, 34, 0.98), rgba(11, 16, 21, 0.98));
}

.welcome-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 167, 156, 0.18);
    background: rgba(0, 167, 156, 0.12);
    color: #00a79c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.welcome-badge-note {
    color: rgba(145, 163, 182, 0.84);
    font-size: 0.82rem;
}

.welcome-title {
    margin-top: 0.9rem;
    max-width: 13ch;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.25rem, 5vw, 4.3rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    color: #f4f7fb;
}

.welcome-copy {
    margin-top: 1rem;
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(230, 237, 243, 0.76);
}

.welcome-hero-stats {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 800px) {
    .welcome-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.welcome-stat {
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.14);
}

.welcome-stat span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(145, 163, 182, 0.82);
}

.welcome-stat strong {
    display: block;
    margin-top: 0.38rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #f4f7fb;
}

.welcome-feature-grid {
    margin-top: 1rem;
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 920px) {
    .welcome-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.welcome-feature-card {
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.welcome-feature-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00a79c;
}

.welcome-feature-card h2 {
    margin-top: 0.55rem;
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #f4f7fb;
}

.welcome-feature-card p {
    margin-top: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(230, 237, 243, 0.72);
}

.welcome-path-card {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}

.welcome-path-head {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.welcome-path-title {
    margin-top: 0.3rem;
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f4f7fb;
}

.welcome-slogan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(230, 237, 243, 0.88);
    font-size: 0.8rem;
    font-weight: 700;
}

.welcome-path-list {
    margin-top: 0.95rem;
    display: grid;
    gap: 0.75rem;
}

.welcome-path-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
}

.welcome-path-item span {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 167, 156, 0.16);
    color: #00a79c;
    font-size: 0.76rem;
    font-weight: 800;
}

.welcome-path-item strong {
    display: block;
    font-size: 0.94rem;
    color: #f4f7fb;
}

.welcome-path-item p {
    margin-top: 0.24rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(230, 237, 243, 0.72);
}

.welcome-auth {
    display: grid;
    gap: 0.8rem;
}

.welcome-auth-panel {
    position: sticky;
    top: 1rem;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(18, 24, 33, 0.98), rgba(11, 16, 21, 0.98));
}

.welcome-auth-title {
    margin-top: 0.35rem;
    font-family: "Manrope", sans-serif;
    font-size: 2rem;
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #f4f7fb;
}

.welcome-auth-copy {
    margin-top: 0.8rem;
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(230, 237, 243, 0.72);
}

.welcome-auth-checklist {
    margin-top: 1rem;
    display: grid;
    gap: 0.7rem;
}

.welcome-auth-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(230, 237, 243, 0.82);
}

.welcome-auth-check span {
    width: 0.65rem;
    height: 0.65rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 167, 156, 0.14);
}

.welcome-inline-alert {
    margin-top: 1.15rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(242, 184, 75, 0.18);
    background: rgba(242, 184, 75, 0.1);
    color: #f4d38b;
    font-size: 0.88rem;
    line-height: 1.6;
}

.welcome-auth-shell {
    position: relative;
    margin-top: 1.15rem;
    min-height: 25rem;
    padding: 0;
    border: none;
    background: transparent;
    overflow: visible;
}

.welcome-auth-slot {
    position: relative;
    z-index: 2;
    min-height: 22rem;
    opacity: 0;
    transition: opacity 0.26s ease;
}

.welcome-auth-skeleton {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    align-content: start;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    opacity: 1;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.welcome-skeleton-row,
.welcome-skeleton-divider {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.welcome-skeleton-row::after,
.welcome-skeleton-divider::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 1.35s infinite;
}

.welcome-skeleton-row {
    height: 1rem;
}

.welcome-skeleton-row-wide {
    width: 72%;
    height: 2.9rem;
}

.welcome-skeleton-row-input {
    margin-top: 0.5rem;
    height: 3rem;
}

.welcome-skeleton-row-button {
    height: 3rem;
    background: rgba(0, 167, 156, 0.18);
}

.welcome-skeleton-divider {
    margin-top: 0.2rem;
    height: 1px;
    border-radius: 999px;
}

.welcome-auth-error {
    display: none;
    position: relative;
    z-index: 2;
    margin-top: 0.8rem;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 125, 125, 0.18);
    background: rgba(255, 125, 125, 0.1);
    color: #ffc2c2;
    font-size: 0.84rem;
    line-height: 1.6;
}

.welcome-auth-shell[data-auth-state="ready"] .welcome-auth-slot {
    opacity: 1;
}

.welcome-auth-shell[data-auth-state="ready"] .welcome-auth-skeleton {
    opacity: 0;
    visibility: hidden;
}

.welcome-auth-shell[data-auth-state="error"] .welcome-auth-error {
    display: block;
}

.welcome-auth-shell[data-auth-state="error"] .welcome-auth-skeleton {
    display: none;
}

.welcome-trust-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(230, 237, 243, 0.72);
    font-size: 0.82rem;
    line-height: 1.55;
}

.welcome-trust-dot {
    width: 0.55rem;
    height: 0.55rem;
    flex: none;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 167, 156, 0.12);
}

.settings-tabbar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.settings-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(230, 237, 243, 0.74);
    font-size: 0.86rem;
    font-weight: 700;
}

.settings-tab:hover {
    color: #f4f7fb;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.settings-tab.is-active {
    color: #0b1015;
    background: var(--accent);
    border-color: rgba(0, 167, 156, 0.18);
}

.settings-profile-shell {
    position: relative;
    min-height: 32rem;
    border-radius: 1.4rem;
    overflow: hidden;
}

.settings-profile-mount {
    position: relative;
    z-index: 2;
    min-height: 32rem;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.settings-profile-shell[data-state="ready"] .settings-profile-mount {
    opacity: 1;
}

.settings-profile-skeleton {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    align-content: start;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.settings-profile-shell[data-state="ready"] .settings-profile-skeleton {
    opacity: 0;
    visibility: hidden;
}

.settings-profile-error {
    display: none;
    position: relative;
    z-index: 2;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 125, 125, 0.18);
    background: rgba(255, 125, 125, 0.1);
    color: #ffc2c2;
    font-size: 0.86rem;
    line-height: 1.6;
}

.settings-profile-shell[data-state="error"] .settings-profile-error {
    display: block;
}

.settings-profile-shell[data-state="error"] .settings-profile-skeleton {
    display: none;
}

.settings-coming-soon {
    min-height: 20rem;
    display: grid;
    align-content: center;
    justify-items: start;
}

.settings-coming-soon h2 {
    margin-top: 0.75rem;
    font-family: "Manrope", sans-serif;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.05em;
    color: #f4f7fb;
}

.settings-coming-soon p {
    margin-top: 0.9rem;
    max-width: 42rem;
    color: rgba(230, 237, 243, 0.72);
    line-height: 1.75;
}

.settings-store-panel {
    max-width: 82rem;
}

.settings-store-panel {
    margin-right: auto;
}

.settings-account-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1180px) {
    .settings-account-grid {
        grid-template-columns: minmax(19rem, 0.82fr) minmax(0, 1.18fr);
        align-items: start;
    }
}

.settings-account-sidebar {
    display: grid;
    gap: 1rem;
}

.settings-profile-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.settings-profile-avatar {
    width: 4rem;
    height: 4rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.2rem;
    background: rgba(0, 167, 156, 0.16);
    color: #00a79c;
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    overflow: hidden;
}

.settings-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.settings-profile-name {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f4f7fb;
}

.settings-profile-email {
    margin-top: 0.2rem;
    color: rgba(145, 163, 182, 0.84);
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
}

.approval-hero {
    align-items: start;
}

.approval-hero-copy h2 {
    max-width: 16ch;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 900px) {
    .welcome-shell {
        padding: 0.75rem;
    }

    .welcome-surface,
    .welcome-hero,
    .welcome-auth-panel {
        border-radius: 24px;
    }

    .welcome-surface,
    .welcome-hero,
    .welcome-auth-panel,
    .welcome-path-card {
        padding: 1rem;
    }

    .welcome-title {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .welcome-feature-card,
    .welcome-path-item,
    .approval-step-card,
    .metric-card {
        transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    }

    .welcome-feature-card:hover,
    .welcome-path-item:hover,
    .approval-step-card:hover,
    .metric-card:hover {
        transform: translateY(-2px);
    }
}

