.container-fluid.nav-justified {
    display: flex;
    justify-content: space-between;
}
.container-fluid.nav-justified .navbar-header {
    display: flex;
    width: 100%;
}
#logout {
    justify-content: flex-end;
}
.form-group .input-group {
    width: 100%;
}
#App {
    min-height: 200px;
}
#App > div{
    padding: 0 50px;
}
#navigation > div {
    padding: 15px 10px;
    border: 1px #888888 solid;
}
#content_wrapper {
    margin: 0 15px;
}
#content {
    top: -50px;
}
#domains table {
    width: 100%;
    border: 1px #888888 solid;
}
#domains table thead tr th {
    padding: 15px 10px;
    border: 1px #888888 solid;
}
#domains table tbody tr td {
    padding: 5px 10px;
    border: 1px #888888 solid;
}
#domains table tbody tr.changed {
    opacity: .5;
}
#domains table tbody tr.is_prod {
    background: #dfefdf;
}
#domains table tbody tr:hover {
    background: #efefef;
}
#domains table td select, #domains table td button {
    padding-top: 5px;
}
#domains table td select {
    font-weight: normal;
}
#domains table td button {
    margin-left: 10px;
    opacity: 1;
    color: red;
    font-weight: bold;
}
#domains table tr th:first-child, #domains table tr th.title-prod, #domains table tr th:last-child {
    width: 12%;
}
#footer {
    text-align: center;
    margin-top: 18px;
}

.auth-body {
    background: #f6f8fb;
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}
.auth-shell {
    display: flex;
    justify-content: center;
    padding: 36px 16px;
}
.auth-shell-standalone {
    align-items: center;
    min-height: 100vh;
}
.auth-panel {
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    display: grid;
    gap: 18px;
    max-width: 420px;
    padding: 28px;
    width: 100%;
}
.auth-copy h1 {
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 8px;
}
.auth-copy p {
    color: #5b6678;
    margin: 0;
}
.auth-form {
    display: grid;
    gap: 10px;
}
.auth-form label,
.security-form label span {
    color: #344054;
    font-weight: 700;
}
.auth-form input,
.security-form input {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    min-height: 42px;
    padding: 9px 11px;
    width: 100%;
}
.auth-form button,
.security-form button {
    border: 1px solid #1f6f8b;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    min-height: 42px;
}
.auth-form button {
    background: #1f6f8b;
    color: #ffffff;
}
.auth-link {
    color: #1f6f8b;
    font-weight: 700;
    text-align: center;
}
.auth-alert {
    border-radius: 6px;
    padding: 10px 12px;
}
.auth-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.auth-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.turnstile-wrap {
    min-height: 65px;
}
.auth-form input:focus,
.auth-form button:focus,
.auth-link:focus,
.security-form input:focus,
.security-form button:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}
.security-form {
    display: grid;
    gap: 12px;
    max-width: 520px;
}
.muted-text {
    color: #64748b;
}
@media (max-width: 480px) {
    .auth-shell {
        padding: 18px 10px;
    }
    .auth-panel {
        padding: 20px;
    }
    .auth-copy h1 {
        font-size: 25px;
    }
}

.stats-dashboard {
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
}
body.modal-open {
    overflow: hidden;
}

body.modal-open .admin-window,
body.modal-open .admin-main {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}
.stats-header {
    align-items: flex-end;
    border-bottom: 1px solid #d1d5db;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
}
.stats-header h3,
.stats-dashboard h4 {
    margin: 0;
}
.eyebrow {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 4px;
    text-transform: uppercase;
}
.segmented {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    display: inline-flex;
    padding: 3px;
}
.segmented button,
.toolbar button,
.pager button,
.landing-actions button,
.form-actions button {
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    cursor: pointer;
    min-height: 34px;
    padding: 6px 12px;
    transition: background-color .2s, border-color .2s, color .2s;
}
.segmented button {
    background: transparent;
    border-color: transparent;
}
.segmented button.active,
.btn-primary {
    background: #1f6f8b;
    border-color: #1f6f8b;
    color: #ffffff;
}
.toolbar button:disabled,
.pager button:disabled,
.form-actions button:disabled {
    cursor: not-allowed;
    opacity: .55;
}
.stats-section {
    display: grid;
    gap: 16px;
}
.toolbar {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.toolbar label,
.landing-editor label {
    display: grid;
    gap: 4px;
}
.toolbar label span,
.landing-editor label span {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}
.toolbar input,
.toolbar select,
.landing-editor input,
.landing-editor select,
.landing-editor textarea {
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    min-height: 36px;
    padding: 7px 10px;
}
.landing-editor textarea {
    min-height: 82px;
    resize: vertical;
}
.checkbox-label {
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    display: flex !important;
    gap: 8px;
    min-height: 36px;
    padding: 7px 10px;
}
.checkbox-label input {
    min-height: auto;
}
.alert,
.state-box,
.empty-state {
    border-radius: 6px;
    padding: 10px 12px;
}
.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.state-box,
.empty-state {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #475569;
}
.metric-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric-grid.compact {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
}
.metric-tile,
.panel,
.landing-card {
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 6px;
}
.metric-tile {
    display: grid;
    gap: 6px;
    padding: 14px;
}
.metric-tile span {
    color: #64748b;
    font-size: 13px;
}
.metric-tile strong {
    color: #0f172a;
    font-size: 26px;
    line-height: 1.1;
}
.stats-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}
.panel {
    padding: 14px;
}
.panel-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 12px;
}
.panel-header span,
.pager {
    color: #64748b;
    font-size: 13px;
}
.funnel-row {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 150px minmax(90px, 1fr) 56px;
    margin: 8px 0;
}
.funnel-row strong {
    text-align: right;
}
.funnel-bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: 9px;
    overflow: hidden;
}
.funnel-bar div {
    background: #1f6f8b;
    height: 9px;
}
.table-scroll {
    overflow-x: auto;
}
.stats-dashboard table {
    border-collapse: collapse;
    min-width: 620px;
    width: 100%;
}
.stats-dashboard th,
.stats-dashboard td {
    border-bottom: 1px solid #e5e7eb;
    padding: 9px 8px;
    text-align: left;
    vertical-align: top;
}
.stats-dashboard th {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.empty-cell {
    color: #64748b;
    text-align: center !important;
}
.break-cell,
.snippet {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.mono,
.chips code,
.snippet {
    font-family: Consolas, Monaco, monospace;
}
.landings-topline {
    align-items: flex-end;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}
.landings-topline h4 {
    margin: 0 0 4px;
}
.landings-topline p {
    color: #64748b;
    margin: 0;
}
.landing-card-grid {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 420px));
}
.landing-card {
    display: grid;
    gap: 16px;
    grid-template-rows: auto 1fr auto;
    min-height: 360px;
    padding: 16px;
}
.landing-preview {
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
    border: 1px solid #dbe3ea;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.landing-preview iframe {
    border: 0;
    height: 100%;
    pointer-events: none;
    width: 100%;
}
.landing-preview-empty {
    align-items: center;
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    color: #1e3a8a;
    display: flex;
    font-size: 32px;
    font-weight: 700;
    height: 100%;
    justify-content: center;
}
.landing-card-main {
    display: grid;
    gap: 14px;
}
.landing-title-row {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}
.landing-title-row p {
    color: #64748b;
    margin: 3px 0 0;
}
.landing-identity {
    align-items: flex-start;
    display: grid;
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    min-width: 0;
}
.landing-identity h4,
.landing-identity strong {
    display: block;
    line-height: 1.25;
    margin: 0;
}
.landing-identity img,
.favicon-fallback {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    height: 34px;
    width: 34px;
}
.landing-identity img {
    object-fit: contain;
    padding: 5px;
}
.favicon-fallback {
    align-items: center;
    color: #1f6f8b;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
}
.landing-description {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
}
.landing-title-side {
    display: grid;
    justify-items: end;
}

.landing-card .landing-title-row {
    flex-direction: column;
}

.landing-card .landing-title-side {
    justify-items: start;
    width: 100%;
}

.landing-card .mono {
    max-width: 100%;
    overflow-wrap: anywhere;
}
.landing-card-metrics,
.detail-metric-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.landing-card-metrics div,
.detail-metric-grid div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 9px 10px;
}
.landing-card-metrics span,
.detail-metric-grid span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.landing-card-metrics strong,
.detail-metric-grid strong {
    color: #0f172a;
    font-size: 18px;
}
.landing-card-meta {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13px;
}
.status-pill {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
}
.status-active {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
.status-paused {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}
.status-archived {
    background: #f1f5f9;
    color: #475569;
}
.metadata-pill {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
}
.metadata-ok {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}
.metadata-warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}
.metadata-neutral {
    background: #f8fafc;
    color: #475569;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.chips code,
.snippet {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #334155;
    display: inline-block;
    padding: 4px 6px;
}
.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.landing-actions .danger {
    border-color: #fecaca;
    color: #991b1b;
}
.landing-editor form {
    display: grid;
    gap: 10px;
}
.landing-detail-preview {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
    margin-bottom: 14px;
}
.landing-detail-copy {
    align-content: start;
    display: grid;
    gap: 10px;
}
.landing-detail-copy p {
    color: #475569;
    margin: 4px 0 0;
}
.landing-identity.compact {
    grid-template-columns: 40px minmax(0, 1fr);
}
.landing-identity.compact img,
.landing-identity.compact .favicon-fallback {
    height: 40px;
    width: 40px;
}
.modal-backdrop {
    align-items: center;
    background: rgba(15, 23, 42, .46);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}
.modal-panel {
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .28);
    max-height: calc(100vh - 40px);
    max-width: 720px;
    overflow-y: auto;
    padding: 18px;
    width: min(720px, 100%);
}
.modal-header {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}
.modal-header h4 {
    margin: 0 0 3px;
}
.modal-header p {
    color: #64748b;
    margin: 0;
}
.icon-button {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    font-size: 24px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    width: 36px;
}
.icon-button:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}
.detail-section {
    border-top: 1px solid #e5e7eb;
    margin-top: 14px;
    padding-top: 14px;
}
.detail-section h5 {
    margin: 0 0 8px;
}
.modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 16px;
}
.modal-header .icon-button:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}
.form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.stats-dashboard button:focus-visible,
.stats-dashboard input:focus-visible,
.stats-dashboard select:focus-visible,
.stats-dashboard textarea:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}
@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    #App > div {
        padding: 0 12px;
    }
    .stats-header {
        align-items: stretch;
        flex-direction: column;
    }
    .metric-grid,
    .metric-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .landings-topline {
        align-items: stretch;
        flex-direction: column;
    }
    .landing-detail-preview {
        grid-template-columns: 1fr;
    }
    .funnel-row {
        grid-template-columns: 110px minmax(70px, 1fr) 44px;
    }
    .modal-backdrop {
        align-items: stretch;
        padding: 10px;
    }
    .modal-panel {
        max-height: calc(100vh - 20px);
    }
}
@media (max-width: 420px) {
    .landing-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .landing-title-row {
        flex-direction: column;
    }
    .landing-title-side {
        justify-items: start;
    }
    .metric-grid,
    .metric-grid.compact,
    .landing-card-metrics,
    .detail-metric-grid {
        grid-template-columns: 1fr;
    }
    .toolbar {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Soft dashboard shell */
:root {
    --admin-bg: #eef2f7;
    --admin-surface: rgba(255, 255, 255, .88);
    --admin-surface-solid: #ffffff;
    --admin-line: #dbe4ef;
    --admin-line-soft: #e7edf5;
    --admin-text: #172033;
    --admin-muted: #65748b;
    --admin-primary: #08aeca;
    --admin-primary-strong: #078ba3;
    --admin-blue: #3b82f6;
    --admin-green: #16b69b;
    --admin-orange: #f97316;
    --admin-pink: #db3d7a;
    --admin-shadow: 0 18px 45px rgba(24, 34, 54, .12);
    --admin-shadow-soft: 0 10px 24px rgba(24, 34, 54, .08);
}

* {
    box-sizing: border-box;
}

.admin-body,
.auth-body {
    background:
        linear-gradient(135deg, #f8fafc 0%, #eef2f7 42%, #e5eaf2 100%);
    color: var(--admin-text);
    font-family: "Fira Sans", Arial, Helvetica, sans-serif;
    margin: 0;
    min-height: 100vh;
}

.admin-window {
    background: var(--admin-surface);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: var(--admin-shadow);
    margin: 18px auto;
    max-width: 1480px;
    min-height: calc(100vh - 36px);
    overflow: hidden;
    width: min(96vw, 1480px);
}

.admin-topbar {
    align-items: center;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--admin-line-soft);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    min-height: 74px;
    padding: 14px 24px;
}

.admin-topbar-main,
.admin-account,
.admin-brand,
.admin-account-card,
.admin-search {
    align-items: center;
    display: flex;
}

.admin-topbar-main {
    flex: 1;
    gap: 28px;
    min-width: 0;
}

.admin-brand {
    color: var(--admin-text);
    gap: 10px;
    min-width: 190px;
    text-decoration: none;
}

.admin-brand:hover,
.admin-brand:focus,
.admin-logout:hover,
.admin-logout:focus,
.admin-nav-link:hover,
.admin-nav-link:focus {
    color: var(--admin-primary-strong);
    text-decoration: none;
}

.admin-brand strong,
.admin-account-card strong {
    display: block;
    font-size: 14px;
    line-height: 1.2;
}

.admin-brand small,
.admin-account-card small {
    color: var(--admin-muted);
    display: block;
    font-size: 11px;
    line-height: 1.2;
}

.admin-brand-mark,
.admin-avatar {
    align-items: center;
    background: var(--admin-primary);
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.admin-brand-mark svg,
.admin-search svg,
.admin-nav-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.admin-brand-mark svg {
    height: 20px;
    width: 20px;
}

.admin-search {
    background: #f7f9fc;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--admin-muted);
    flex: 1;
    gap: 10px;
    max-width: 440px;
    min-height: 42px;
    margin: 0;
    padding: 0 16px;
}

.admin-search svg {
    height: 18px;
    width: 18px;
}

.admin-account {
    gap: 12px;
}

.admin-account-card {
    gap: 10px;
}

.admin-avatar {
    background: #192235;
    font-weight: 700;
}

.admin-logout {
    border: 1px solid var(--admin-line);
    border-radius: 999px;
    color: var(--admin-text);
    font-weight: 700;
    min-height: 38px;
    padding: 8px 14px;
    text-decoration: none;
}

.admin-workspace {
    margin: 0;
    padding: 0;
}

.admin-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    min-height: calc(100vh - 132px);
}

.admin-sidebar {
    background: rgba(255, 255, 255, .8);
    border-right: 1px solid var(--admin-line-soft);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 18px;
}

.admin-sidebar-header {
    display: grid;
    gap: 4px;
    margin-bottom: 20px;
    padding: 0 12px;
}

#navigation.admin-sidebar > div {
    border: 0;
    padding: 0 12px;
}

.admin-sidebar-kicker {
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.admin-nav-link {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #3b465a;
    display: flex;
    font-weight: 700;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}

.admin-nav-link:hover {
    background: #f7fafc;
    border-color: var(--admin-line-soft);
}

.admin-nav-link.is-active {
    background: var(--admin-primary);
    box-shadow: 0 10px 20px rgba(8, 174, 202, .22);
    color: #ffffff;
}

.admin-nav-icon {
    align-items: center;
    display: inline-flex;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.admin-nav-icon svg {
    height: 21px;
    width: 21px;
}

.admin-main {
    min-width: 0;
    padding: 30px 34px 42px;
}

.admin-footer {
    background: rgba(255, 255, 255, .74);
    border-top: 1px solid var(--admin-line-soft);
    color: var(--admin-muted);
    font-size: 12px;
    margin-top: 0;
    padding: 12px 24px;
    text-align: right;
}

.admin-footer a {
    color: var(--admin-primary-strong);
    font-weight: 700;
}

/* Auth surface */
.auth-shell {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(280px, 520px) minmax(320px, 420px);
    justify-content: center;
    min-height: 100vh;
    padding: 28px;
}

.auth-shell-standalone {
    min-height: 100vh;
}

.auth-visual {
    display: block;
}

.auth-visual-window {
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--admin-shadow);
    padding: 18px;
}

.auth-visual-top {
    border-bottom: 1px solid rgba(219, 228, 239, .75);
    display: flex;
    gap: 8px;
    padding-bottom: 16px;
}

.auth-visual-top span {
    background: #cbd5e1;
    border-radius: 50%;
    height: 9px;
    width: 9px;
}

.auth-visual-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 18px;
}

.auth-visual-card {
    background: #ffffff;
    border: 1px solid var(--admin-line-soft);
    border-radius: 8px;
    box-shadow: var(--admin-shadow-soft);
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 22px;
}

.auth-visual-card strong {
    font-size: 34px;
    line-height: 1;
}

.auth-visual-card span {
    color: var(--admin-muted);
    font-weight: 700;
}

.auth-visual-card.is-blue {
    border-top: 4px solid var(--admin-blue);
}

.auth-visual-card.is-green {
    border-top: 4px solid var(--admin-green);
}

.auth-visual-card.is-orange {
    border-top: 4px solid var(--admin-orange);
    grid-column: 1 / -1;
}

.auth-panel {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 8px;
    box-shadow: var(--admin-shadow);
    display: grid;
    gap: 20px;
    max-width: 440px;
    padding: 34px;
    width: 100%;
}

.auth-brandline {
    align-items: center;
    color: var(--admin-text);
    display: flex;
    font-weight: 800;
    gap: 10px;
}

.auth-copy h1 {
    color: var(--admin-text);
    font-size: 34px;
    line-height: 1.08;
    margin: 0 0 10px;
}

.auth-copy p {
    color: var(--admin-muted);
    font-size: 15px;
    line-height: 1.55;
}

.auth-form {
    gap: 12px;
}

.auth-form label,
.security-form label span,
.toolbar label span,
.landing-editor label span {
    color: #435169;
    font-size: 13px;
    font-weight: 800;
}

.auth-form input,
.security-form input,
.toolbar input,
.toolbar select,
.landing-editor input,
.landing-editor select,
.landing-editor textarea {
    background: #fbfdff;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    color: var(--admin-text);
    min-height: 44px;
}

.auth-form button,
.security-form button,
.btn-primary,
.toolbar .btn-primary,
.form-actions .btn-primary {
    background: var(--admin-primary);
    border-color: var(--admin-primary);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(8, 174, 202, .2);
    color: #ffffff;
}

.auth-form button:hover,
.security-form button:hover,
.btn-primary:hover {
    background: var(--admin-primary-strong);
    border-color: var(--admin-primary-strong);
}

.auth-link {
    color: var(--admin-primary-strong);
}

.auth-alert,
.alert,
.state-box,
.empty-state {
    border-radius: 8px;
}

/* Dashboard content polish */
.stats-dashboard {
    color: var(--admin-text);
    font-family: "Fira Sans", Arial, Helvetica, sans-serif;
}

.stats-header {
    align-items: center;
    border-bottom: 1px solid var(--admin-line-soft);
    margin-bottom: 22px;
    padding-bottom: 20px;
}

.stats-header h3 {
    color: var(--admin-text);
    font-size: 32px;
    font-weight: 800;
}

.eyebrow {
    color: var(--admin-muted);
}

.segmented,
.checkbox-label,
.toolbar input,
.toolbar select,
.landing-editor input,
.landing-editor select,
.landing-editor textarea {
    border-radius: 8px;
}

.segmented {
    background: #ffffff;
    border-color: var(--admin-line);
    box-shadow: 0 8px 18px rgba(24, 34, 54, .06);
}

.segmented button.active {
    background: #182033;
    border-color: #182033;
    color: #ffffff;
}

.toolbar {
    background: rgba(255, 255, 255, .6);
    border: 1px solid var(--admin-line-soft);
    border-radius: 8px;
    padding: 14px;
}

.metric-tile,
.panel,
.landing-card,
.modal-panel {
    background: var(--admin-surface-solid);
    border: 1px solid var(--admin-line-soft);
    border-radius: 8px;
    box-shadow: var(--admin-shadow-soft);
}

.metric-tile {
    min-height: 112px;
    padding: 20px;
}

.metric-tile strong {
    color: var(--admin-text);
    font-size: 34px;
}

.panel {
    padding: 20px;
}

.funnel-bar div {
    background: var(--admin-primary);
}

.landing-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.landing-card {
    border-top: 4px solid var(--admin-primary);
    min-height: 340px;
    padding: 16px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.landing-card:nth-child(4n + 2) {
    border-top-color: var(--admin-green);
}

.landing-card:nth-child(4n + 3) {
    border-top-color: var(--admin-blue);
}

.landing-card:nth-child(4n + 4) {
    border-top-color: var(--admin-orange);
}

.landing-card:hover {
    box-shadow: 0 18px 34px rgba(24, 34, 54, .14);
}

.landing-preview {
    border-radius: 8px;
}

.landing-card > .landing-preview {
    aspect-ratio: 16 / 6;
}

.landing-actions button,
.toolbar button,
.pager button,
.form-actions button {
    border-radius: 8px;
    font-weight: 800;
}

.landing-actions button {
    background: #ffffff;
    box-shadow: none;
    min-height: 32px;
    padding: 6px 10px;
}

.landing-actions button:hover,
.toolbar button:hover,
.pager button:hover,
.form-actions button:hover {
    background: #f1f6fb;
}

.modal-backdrop {
    backdrop-filter: blur(8px);
}

/* Legacy domains page in the new shell */
#domains {
    background: #ffffff;
    border: 1px solid var(--admin-line-soft);
    border-radius: 8px;
    box-shadow: var(--admin-shadow-soft);
    padding: 22px;
}

#domains h3 {
    color: var(--admin-text);
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 18px;
}

#domains table {
    border: 0;
    border-collapse: collapse;
}

#domains table thead tr th,
#domains table tbody tr td {
    border-color: var(--admin-line-soft);
    padding: 12px 14px;
}

#domains table tbody tr.is_prod {
    background: #ecfdf5;
}

#domains table tbody tr:hover {
    background: #f8fafc;
}

#domains table td select {
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    min-height: 38px;
    padding: 6px 10px;
}

#domains table td button {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    padding: 7px 10px;
}

.admin-body a:focus,
.auth-body a:focus,
.admin-body button:focus,
.auth-body button:focus,
.admin-body input:focus,
.auth-body input:focus,
.admin-body select:focus,
.auth-body select:focus,
.admin-body textarea:focus,
.auth-body textarea:focus {
    outline: 3px solid rgba(245, 158, 11, .45);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Unified Landing management workspace */
.landing-workbench {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
}

.landing-list-pane {
    min-width: 0;
}

.landing-workbench .landing-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.landing-card {
    cursor: default;
}

.landing-card.is-selected {
    box-shadow: 0 24px 48px rgba(18, 182, 207, .18);
    outline: 3px solid rgba(18, 182, 207, .28);
    outline-offset: 2px;
}

.landing-card:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

.landing-management-panel {
    animation: panelRise .5s ease-out .1s both;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(42, 55, 78, .08);
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 18px;
    position: sticky;
    top: 18px;
}

.landing-management-panel .panel-header {
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 0;
    padding-bottom: 12px;
}

.landing-management-panel .panel-header h4 {
    color: #252b3a;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 4px;
}

.landing-management-panel .panel-header span {
    color: #7b8494;
    display: block;
    line-height: 1.35;
}

.landing-management-panel .panel-header button,
.manager-quick-actions button {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    color: #252b3a;
    cursor: pointer;
    font-weight: 800;
    min-height: 34px;
    padding: 7px 10px;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.landing-management-panel .panel-header button:hover,
.manager-quick-actions button:hover {
    background: #f5f9fc;
    border-color: #cbd8e6;
    transform: translateY(-1px);
}

.landing-manager-formwrap {
    display: grid;
    gap: 14px;
}

.landing-manager-preview {
    background: #f8fbff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 10px;
}

.landing-manager-preview .landing-preview {
    aspect-ratio: 16 / 8;
}

.landing-manager-preview p {
    color: #7b8494;
    font-size: 12px;
    line-height: 1.45;
    margin: 4px 0 0;
}

.inline-editor {
    display: grid;
    gap: 10px;
}

.inline-editor label {
    display: grid;
    gap: 5px;
}

.manager-quick-actions {
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
}

.manager-quick-actions .danger {
    border-color: #fecaca;
    color: #b42318;
}

.landings-topline .btn-primary {
    min-width: 120px;
}

@media (max-width: 1180px) {
    .landing-workbench {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    }
}

@media (max-width: 980px) {
    .landing-workbench {
        grid-template-columns: 1fr;
    }

    .landing-management-panel {
        max-height: none;
        position: static;
    }
}

@media (max-width: 540px) {
    .landing-workbench .landing-card-grid {
        grid-template-columns: 1fr;
    }

    .landings-topline .btn-primary,
    .manager-quick-actions button,
    .landing-management-panel .panel-header button {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-management-panel,
    .landing-card.is-selected,
    .landing-management-panel .panel-header button,
    .manager-quick-actions button {
        animation: none !important;
        transition: none !important;
    }

    .landing-management-panel .panel-header button:hover,
    .manager-quick-actions button:hover {
        transform: none !important;
    }
}

@media (max-width: 980px) {
    .admin-window {
        margin: 0;
        min-height: 100vh;
        width: 100%;
    }

    .admin-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-topbar-main {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .admin-search {
        max-width: none;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-bottom: 1px solid var(--admin-line-soft);
        border-right: 0;
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow-x: visible;
        padding: 12px;
    }

    .admin-sidebar-header {
        display: none;
    }

    .admin-nav-link {
        justify-content: center;
        min-width: 0;
        padding: 10px 6px;
        text-align: center;
    }

    .admin-nav-icon {
        display: none;
    }

    .admin-main {
        padding: 22px 16px 32px;
    }

    .auth-shell {
        grid-template-columns: minmax(280px, 440px);
    }

    .auth-visual {
        display: none;
    }
}

@media (max-width: 540px) {
    .admin-topbar {
        padding: 14px;
    }

    .admin-account {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-logout {
        text-align: center;
    }

    .auth-shell {
        padding: 14px;
    }

    .auth-panel {
        padding: 24px 18px;
    }

    .auth-copy h1,
    .stats-header h3,
    #domains h3 {
        font-size: 26px;
    }
}

/* Reference-match rebuild: closer to the provided Boardto-style dashboard */
.admin-body,
.auth-body {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef2f7 48%, #e7edf5 100%);
    color: #252b3a;
}

.admin-window {
    animation: appFrameIn .48s ease-out both;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .96);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(38, 50, 72, .14);
    margin: 52px auto 28px;
    max-width: 1360px;
    min-height: calc(100vh - 80px);
    width: min(92vw, 1360px);
}

.admin-topbar {
    background: #ffffff;
    border-bottom: 1px solid #eef2f7;
    min-height: 72px;
    padding: 16px 22px;
}

.admin-brand {
    min-width: 175px;
}

.admin-brand-mark,
.admin-avatar {
    height: 30px;
    width: 30px;
}

.admin-brand-mark {
    background: #13b8d0;
    box-shadow: 0 10px 24px rgba(19, 184, 208, .24);
}

.admin-brand strong,
.admin-account-card strong {
    color: #202638;
    font-size: 13px;
    font-weight: 800;
}

.admin-brand small,
.admin-account-card small {
    color: #6d7789;
    font-size: 10px;
}

.admin-search {
    background: transparent;
    border: 0;
    color: #9aa4b5;
    flex: 0 1 360px;
    font-size: 13px;
    min-height: 36px;
    padding: 0 4px;
}

.admin-search:focus-within {
    color: #202638;
}

.admin-search svg {
    color: #202638;
    flex: 0 0 auto;
}

.admin-search input {
    background: transparent;
    border: 0;
    color: #202638;
    flex: 1;
    font: inherit;
    font-weight: 600;
    min-width: 0;
    outline: 0;
    padding: 0;
    width: 100%;
}

.admin-search input::placeholder {
    color: #9aa4b5;
    font-weight: 500;
    opacity: 1;
}

.admin-account {
    gap: 16px;
}

.admin-avatar {
    background: #131827;
}

.admin-logout {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(37, 43, 58, .06);
    min-height: 36px;
    padding: 8px 14px;
}

.admin-layout {
    background: #f3f6fb;
    grid-template-columns: 210px minmax(0, 1fr);
    min-height: calc(100vh - 124px);
}

.admin-sidebar {
    animation: sidebarIn .42s ease-out both;
    background: #ffffff;
    border-right: 1px solid #edf2f7;
    gap: 10px;
    padding: 28px 18px 20px;
}

.admin-sidebar-header {
    margin-bottom: 22px;
    padding: 0 14px;
}

#navigation.admin-sidebar > div {
    border: 0;
    padding: 0 14px;
}

.admin-sidebar-kicker {
    color: #8b95a6;
    font-size: 10px;
}

.admin-sidebar-header strong {
    color: #252b3a;
    font-size: 16px;
}

.admin-nav-link {
    border-radius: 8px;
    color: #717b8d;
    font-size: 13px;
    font-weight: 800;
    min-height: 46px;
    padding: 10px 14px;
}

.admin-nav-link.is-active {
    background: #12b6cf;
    box-shadow: 0 14px 28px rgba(18, 182, 207, .28);
}

.admin-nav-link:not(.is-active):hover {
    background: #f6f9fc;
    color: #252b3a;
}

.admin-main {
    animation: contentIn .5s ease-out both;
    background: linear-gradient(180deg, #f7f9fd 0%, #f2f5fa 100%);
    padding: 34px 38px 48px;
}

.admin-footer {
    display: none;
}

.stats-header {
    border-bottom: 1px solid #e9eef6;
    margin-bottom: 22px;
    padding-bottom: 18px;
}

.stats-header h3 {
    color: #252b3a;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0;
}

.eyebrow {
    color: #7c8798;
    font-size: 11px;
    font-weight: 800;
}

.segmented {
    background: #ffffff;
    border: 1px solid #dde6f1;
    box-shadow: 0 10px 24px rgba(42, 55, 78, .07);
}

.segmented button {
    font-size: 12px;
    font-weight: 800;
    min-height: 34px;
    padding: 7px 14px;
}

.segmented button.active {
    background: #121827;
    border-color: #121827;
}

.toolbar {
    animation: panelRise .48s ease-out .05s both;
    background: transparent;
    border: 0;
    gap: 12px;
    padding: 0;
}

.toolbar input,
.toolbar select,
.landing-editor input,
.landing-editor select,
.landing-editor textarea {
    background: #ffffff;
    border-color: #dde6f1;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(42, 55, 78, .04);
    min-height: 42px;
}

.auth-form input,
.security-form input {
    font-size: 16px;
    min-height: 44px;
}

.toolbar button,
.btn-primary,
.auth-form button,
.security-form button {
    background: #12b6cf;
    border-color: #12b6cf;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(18, 182, 207, .22);
    min-height: 44px;
    transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.toolbar button:hover,
.btn-primary:hover,
.auth-form button:hover,
.security-form button:hover {
    background: #0aa1b8;
    border-color: #0aa1b8;
    transform: translateY(-1px);
}

.metric-grid {
    animation: panelRise .48s ease-out .1s both;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
}

.metric-grid.analytics-metrics,
.metric-grid.landing-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.metric-tile {
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e7edf5;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(42, 55, 78, .06);
    min-height: 74px;
    padding: 13px 16px;
}

.metric-tile span {
    color: #697488;
    font-size: 12px;
    font-weight: 700;
}

.metric-tile strong {
    color: #111827;
    font-size: 26px;
    font-weight: 800;
}

.panel {
    animation: panelRise .5s ease-out .12s both;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(42, 55, 78, .07);
}

.landing-card-grid {
    align-items: start;
    gap: 34px 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 24px;
}

.landing-card {
    animation: cardEnter .48s ease-out both;
    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 8px;
    border-top: 0;
    box-shadow: 0 18px 36px rgba(42, 55, 78, .09);
    min-height: 300px;
    overflow: visible;
    padding: 42px 14px 14px;
    position: relative;
    transition: box-shadow .24s ease, transform .24s ease;
}

.landing-card:nth-child(1) { animation-delay: .04s; }
.landing-card:nth-child(2) { animation-delay: .09s; }
.landing-card:nth-child(3) { animation-delay: .14s; }
.landing-card:nth-child(4) { animation-delay: .19s; }
.landing-card:nth-child(5) { animation-delay: .24s; }
.landing-card:nth-child(6) { animation-delay: .29s; }
.landing-card:nth-child(7) { animation-delay: .34s; }
.landing-card:nth-child(8) { animation-delay: .39s; }

.landing-card:hover {
    box-shadow: 0 24px 46px rgba(42, 55, 78, .14);
    transform: translateY(-4px);
}

.landing-card::before {
    background: #e83f83;
    border-radius: 50%;
    box-shadow: 0 14px 24px rgba(232, 63, 131, .26);
    content: "";
    height: 54px;
    left: 28px;
    position: absolute;
    top: -22px;
    width: 54px;
    z-index: 2;
}

.landing-card:nth-child(4n + 2)::before {
    background: #16bfa8;
    box-shadow: 0 14px 24px rgba(22, 191, 168, .24);
}

.landing-card:nth-child(4n + 3)::before {
    background: #4a90e9;
    box-shadow: 0 14px 24px rgba(74, 144, 233, .24);
}

.landing-card:nth-child(4n + 4)::before {
    background: #ff7d2f;
    box-shadow: 0 14px 24px rgba(255, 125, 47, .24);
}

.landing-card::after {
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    content: "";
    height: 42px;
    left: 34px;
    position: absolute;
    top: -16px;
    width: 42px;
    z-index: 3;
}

.landing-card .landing-preview {
    aspect-ratio: 16 / 7;
    background: #f3f7fb;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    margin-bottom: 14px;
}

.landing-card .landing-preview-empty {
    background: linear-gradient(135deg, #f8fbff, #e8f4fb);
    color: #143f8f;
    font-size: 22px;
}

.landing-card .landing-identity {
    display: block;
    min-width: 0;
    padding-left: 0;
}

.landing-card .landing-identity > img,
.landing-card .landing-identity > .favicon-fallback {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-size: 18px;
    font-weight: 900;
    height: 54px;
    justify-content: center;
    left: 28px;
    object-fit: contain;
    padding: 14px;
    position: absolute;
    top: -22px;
    width: 54px;
    z-index: 4;
}

.landing-card .landing-title-row {
    display: grid;
    gap: 10px;
}

.landing-card .landing-identity h4 {
    color: #252b3a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 7px;
}

.landing-card .landing-description {
    -webkit-line-clamp: 1;
    color: #7b8494;
    font-size: 12px;
    line-height: 1.45;
}

.landing-card .landing-title-side {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    width: 100%;
}

/* Long landing URLs must wrap instead of clipping on card surfaces. */
.landing-card .landing-title-side .mono {
    color: #7b8494;
    font-size: 11px;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
}

.status-pill {
    border-radius: 999px;
    font-size: 10px;
    padding: 3px 7px;
}

.health-pill {
    border: 1px solid #d8e2ec;
    border-radius: 999px;
    color: #40506a;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    white-space: nowrap;
}

.health-ok {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.health-checking {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.health-warning,
.health-neutral {
    background: #f8fbff;
    border-color: #d8e2ec;
    color: #526174;
}

.health-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b42318;
}

.landing-card-metrics {
    border-top: 1px solid #eef2f7;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
    padding-top: 12px;
}

.landing-card-metrics div {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.landing-card-metrics span {
    color: #7b8494;
    font-size: 10px;
}

.landing-card-metrics strong {
    color: #252b3a;
    font-size: 13px;
}

.landing-card-meta {
    color: #8b95a6;
    font-size: 11px;
    gap: 6px 10px;
}

.landing-actions {
    border-top: 1px solid #eef2f7;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
}

.landing-actions button {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    box-shadow: none;
    color: #252b3a;
    font-size: 11px;
    font-weight: 800;
    min-height: 28px;
    padding: 4px 7px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.landing-actions button:hover {
    background: #f5f9fc;
    border-color: #cbd8e6;
    transform: translateY(-1px);
}

.landing-actions .danger {
    color: #b42318;
}

.state-box[role="status"] {
    overflow: hidden;
    position: relative;
}

.state-box[role="status"]::after {
    animation: shimmer 1.2s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    content: "";
    inset: 0 auto 0 -40%;
    position: absolute;
    width: 40%;
}

.auth-shell {
    background: transparent;
    gap: 26px;
}

.auth-visual-window,
.auth-panel {
    animation: panelRise .5s ease-out both;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(38, 50, 72, .14);
}

.auth-visual-window {
    background: rgba(255, 255, 255, .7);
    padding: 18px;
}

.auth-visual-card {
    border-radius: 8px;
    transition: transform .22s ease, box-shadow .22s ease;
}

.auth-visual-card:hover {
    box-shadow: 0 18px 34px rgba(42, 55, 78, .12);
    transform: translateY(-3px);
}

.auth-panel {
    background: #ffffff;
}

.auth-copy h1 {
    color: #252b3a;
    font-size: 31px;
}

@keyframes appFrameIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sidebarIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes contentIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes panelRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(350%);
    }
}

@keyframes pulseDot {
    0%,
    100% {
        opacity: .45;
        transform: scale(.86);
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.compact-table-scroll {
    overflow-x: visible;
}

.stats-dashboard table.top-domains-table {
    min-width: 0;
    table-layout: fixed;
}

.top-domains-table th:last-child,
.top-domains-table td:last-child {
    text-align: right;
    width: 120px;
}

.top-domains-table td:first-child {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 1120px) {
    .admin-window {
        margin: 0;
        min-height: 100vh;
        width: 100%;
    }
}

@media (max-width: 980px) {
    .admin-topbar {
        justify-content: flex-start;
    }

    .admin-topbar-main {
        flex: 0 0 auto;
    }

    .admin-search {
        flex: 0 0 auto;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 24px 18px 38px;
    }

    .landing-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }
}

@media (max-width: 540px) {
    .admin-topbar {
        gap: 12px;
        padding: 16px;
    }

    .admin-layout {
        min-height: auto;
    }

    .admin-sidebar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 12px;
    }

    .admin-nav-link {
        font-size: 12px;
        min-height: 44px;
        padding: 8px 4px;
    }

    .stats-header h3 {
        font-size: 24px;
    }

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

    .landing-card-grid {
        gap: 34px;
        grid-template-columns: 1fr;
    }

    .landing-card {
        min-height: 0;
    }

    .landing-actions button {
        min-height: 44px;
        padding: 8px 10px;
    }

    .auth-copy h1 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-window,
    .admin-sidebar,
    .admin-main,
    .toolbar,
    .metric-grid,
    .panel,
    .landing-card,
    .auth-visual-window,
    .auth-panel,
    .state-box[role="status"]::after {
        animation: none !important;
        transition: none !important;
    }

    .landing-card:hover,
    .landing-actions button:hover,
    .toolbar button:hover,
    .btn-primary:hover,
    .auth-form button:hover,
    .security-form button:hover,
    .auth-visual-card:hover {
        transform: none !important;
    }
}

/* Landing thumbnail card rebuild */
.landing-workbench .landing-card-grid {
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    padding-top: 12px;
}

.landing-card {
    border: 1px solid #e4ebf4;
    border-top: 1px solid #e4ebf4;
    box-shadow: 0 16px 34px rgba(42, 55, 78, .08);
    min-height: 0;
    overflow: hidden;
    padding: 14px;
}

.landing-card::before,
.landing-card::after {
    display: none;
}

.landing-card:hover {
    box-shadow: 0 22px 42px rgba(42, 55, 78, .12);
    transform: translateY(-2px);
}

.landing-card.is-selected {
    border-color: rgba(18, 182, 207, .52);
    box-shadow: 0 22px 46px rgba(18, 182, 207, .16);
    outline: 2px solid rgba(18, 182, 207, .26);
}

.landing-card .landing-preview,
.landing-manager-preview .landing-preview,
.landing-detail-preview .landing-preview {
    aspect-ratio: 16 / 9;
    background: #eef3f8;
    border: 1px solid #dce6f1;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
}

.landing-preview-browserbar {
    align-items: center;
    background: linear-gradient(180deg, #ffffff, #f4f7fb);
    border-bottom: 1px solid #dfe7f1;
    color: #748197;
    display: flex;
    gap: 10px;
    min-height: 32px;
    padding: 0 14px;
}

.landing-preview-browserbar strong {
    display: block;
    flex: 1 1 auto;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: normal;
    padding: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: normal;
}

.landing-preview-dots {
    align-items: center;
    align-self: stretch;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 5px;
}

.landing-preview-dots span {
    background: #c8d3df;
    border-radius: 50%;
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .08);
    height: 7px;
    width: 7px;
}

.landing-card .landing-preview-browserbar strong {
    line-height: 1.2;
    overflow: visible;
    overflow-wrap: anywhere;
    padding: 7px 0;
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
}

.landing-preview-stage {
    background: #f8fafc;
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.landing-preview-stage iframe {
    background: #ffffff;
    border: 0;
    height: 455%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: scale(.22);
    transform-origin: left top;
    width: 455%;
}

.landing-preview-stage img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.landing-preview-fallback {
    align-content: center;
    background:
        linear-gradient(145deg, rgba(18, 182, 207, .08), rgba(59, 130, 246, .06)),
        #f4f8fd;
    display: grid;
    gap: 10px;
    height: 100%;
    justify-items: center;
    padding: 16px;
    text-align: center;
}

.landing-preview-fallback-mark {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe5ef;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(42, 55, 78, .12);
    color: #13b8d0;
    display: inline-flex;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    overflow: hidden;
    width: 42px;
}

.landing-preview-fallback-mark img {
    height: 100%;
    object-fit: contain;
    padding: 9px;
    width: 100%;
}

.landing-preview-fallback-copy {
    display: grid;
    gap: 3px;
    max-width: 100%;
}

.landing-preview-fallback-copy strong {
    color: #202638;
    font-size: 13px;
    overflow: hidden;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
}

.landing-preview-fallback-copy span {
    color: #7b8494;
    font-size: 11px;
    overflow: hidden;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
}

.landing-preview-status {
    align-items: center;
    backdrop-filter: blur(4px);
    background: rgba(239, 246, 255, .92);
    border: 1px solid rgba(191, 219, 254, .9);
    border-radius: 999px;
    bottom: 8px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    gap: 5px;
    left: 8px;
    max-width: calc(100% - 16px);
    overflow-wrap: anywhere;
    padding: 4px 8px;
    position: absolute;
    text-align: left;
    z-index: 2;
}

.landing-preview-status::before {
    animation: pulseDot 1s ease-in-out infinite;
    background: currentColor;
    border-radius: 50%;
    content: "";
    flex: 0 0 auto;
    height: 7px;
    opacity: .65;
    width: 7px;
}

.landing-preview-status.is-error {
    background: rgba(254, 242, 242, .94);
    border-color: rgba(254, 202, 202, .95);
    color: #b42318;
}

.landing-preview-status.is-error::before {
    animation: none;
}

.landing-preview-wireframe {
    display: grid;
    gap: 5px;
    margin-top: 4px;
    width: min(140px, 75%);
}

.landing-preview-wireframe span {
    background: rgba(116, 129, 151, .18);
    border-radius: 999px;
    height: 5px;
}

.landing-preview-wireframe span:nth-child(2) {
    width: 68%;
}

.landing-preview-wireframe span:nth-child(3) {
    width: 42%;
}

.landing-card .landing-identity {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: 32px minmax(0, 1fr);
    margin-bottom: 2px;
}

.landing-card .landing-identity > img,
.landing-card .landing-identity > .favicon-fallback {
    background: #ffffff;
    border: 1px solid #dce6f1;
    border-radius: 8px;
    color: #13b8d0;
    font-size: 13px;
    height: 32px;
    left: auto;
    object-fit: contain;
    padding: 6px;
    position: static;
    top: auto;
    width: 32px;
}

.landing-card .landing-card-main {
    gap: 10px;
}

.landing-card .landing-identity h4 {
    font-size: 15px;
    margin: 0 0 4px;
    overflow-wrap: anywhere;
}

.landing-card .landing-description {
    min-height: 34px;
}

.landing-card .landing-title-side {
    border-top: 1px solid #eef2f7;
    padding-top: 9px;
}

.landing-card-metrics {
    margin-top: 0;
}

.landing-actions {
    justify-content: flex-start;
}

@media (max-width: 620px) {
    .landing-workbench .landing-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-card {
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-card,
    .landing-preview-stage iframe,
    .landing-preview-status::before {
        transition: none !important;
        animation: none !important;
    }

    .landing-card:hover {
        transform: none !important;
    }
}

/* Accessibility utility */
.sr-only {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

/* Focused fixes: responsive filters and profile access workspace */
.admin-account-card {
    border-radius: 8px;
    color: #202638;
    gap: 10px;
    padding: 4px 8px;
    text-decoration: none;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.admin-account-card:hover,
.admin-account-card:focus {
    background: #f7fafd;
    box-shadow: 0 8px 18px rgba(37, 43, 58, .06);
    color: #202638;
    outline: none;
    text-decoration: none;
}

.stats-dashboard .filter-toolbar {
    align-items: end;
    background: #ffffff;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(42, 55, 78, .07);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, 1.35fr) minmax(150px, .8fr) minmax(150px, .8fr) minmax(250px, auto);
    margin: 0 0 18px;
    padding: 16px;
}

.stats-dashboard .landings-filter-toolbar {
    grid-template-columns: minmax(210px, 1fr) minmax(250px, auto);
    justify-content: start;
}

.stats-dashboard .filter-toolbar label {
    min-width: 0;
}

.stats-dashboard .filter-toolbar label > span {
    color: #40506a;
    font-size: 12px;
    line-height: 1.2;
}

.stats-dashboard .filter-toolbar input,
.stats-dashboard .filter-toolbar select {
    font-size: 14px;
    min-width: 0;
    width: 100%;
}

.stats-dashboard .filter-toolbar .checkbox-label {
    align-items: center;
    align-self: end;
    background: #fbfdff;
    border-color: #d9e4f0;
    display: inline-flex !important;
    gap: 8px;
    justify-content: flex-start;
    min-height: 42px;
    min-width: 0;
    white-space: nowrap;
    width: auto;
}

.stats-dashboard .filter-toolbar .checkbox-label input[type="checkbox"] {
    appearance: auto;
    accent-color: var(--admin-primary);
    border-radius: 4px;
    box-shadow: none;
    flex: 0 0 auto;
    height: 18px;
    margin: 0;
    min-height: 18px;
    min-width: 18px;
    padding: 0;
    width: 18px;
}

.stats-dashboard .filter-toolbar .checkbox-label span {
    color: #40506a;
    font-size: 14px;
    line-height: 1;
}

.stats-dashboard .filter-toolbar .toolbar-actions {
    align-items: end;
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-self: start;
    min-width: 0;
}

.stats-dashboard .landings-filter-toolbar .toolbar-actions {
    align-items: stretch;
}

.stats-dashboard .filter-toolbar button,
.stats-dashboard .filter-toolbar .btn-primary {
    align-self: end;
    justify-self: start;
    min-width: 120px;
}

.profile-panel {
    display: grid;
    gap: 18px;
}

.profile-heading {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(42, 55, 78, .07);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 18px 20px;
}

.profile-heading h3 {
    color: #202638;
    font-size: 24px;
    font-weight: 800;
    margin: 2px 0 4px;
}

.profile-heading p {
    color: #6d7789;
    margin: 0;
}

.role-badge {
    background: #eef7ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 7px 10px;
    text-transform: capitalize;
}

.role-badge.role-admin {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.role-badge.role-user {
    background: #f8fafc;
    border-color: #dbe5ef;
    color: #40506a;
}

.profile-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-card,
.profile-users-panel {
    padding: 20px;
}

.role-scope-list {
    display: grid;
    gap: 10px;
}

.role-scope-list > div {
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 12px;
}

.role-scope-list > div.is-current {
    background: #ecfeff;
    border-color: rgba(18, 182, 207, .38);
}

.role-scope-list strong {
    color: #202638;
}

.role-scope-list span {
    color: #6d7789;
}

.user-invite-form {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(260px, 1fr) minmax(150px, 180px) minmax(160px, auto);
    margin-bottom: 18px;
}

.user-invite-form label {
    min-width: 0;
}

.user-invite-form select {
    background: #ffffff;
    border: 1px solid #dde6f1;
    border-radius: 8px;
    min-height: 44px;
    padding: 8px 10px;
}

.user-invite-form .invite-submit {
    min-height: 44px;
    white-space: nowrap;
}

.profile-users-table {
    border: 1px solid #e4ebf4;
    border-radius: 8px;
}

.profile-users-table table {
    min-width: 680px;
}

@media (max-width: 980px) {
    .stats-dashboard .analytics-filter-toolbar {
        grid-template-areas:
            "landing landing"
            "from to"
            "actions actions";
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-dashboard .analytics-filter-toolbar > label:nth-child(1) {
        grid-area: landing;
    }

    .stats-dashboard .analytics-filter-toolbar > label:nth-child(2) {
        grid-area: from;
    }

    .stats-dashboard .analytics-filter-toolbar > label:nth-child(3) {
        grid-area: to;
    }

    .stats-dashboard .filter-toolbar .toolbar-actions {
        grid-area: actions;
    }

    .stats-dashboard .landings-filter-toolbar {
        grid-template-areas: "status actions";
        grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
    }

    .stats-dashboard .landings-filter-toolbar > label:first-child {
        grid-area: status;
    }

    .user-invite-form,
    .profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .admin-account-card {
        padding: 0;
    }

    .stats-dashboard .analytics-filter-toolbar {
        grid-template-areas:
            "landing"
            "from"
            "to"
            "actions";
        grid-template-columns: minmax(0, 1fr);
    }

    .stats-dashboard .landings-filter-toolbar {
        grid-template-areas:
            "status"
            "actions";
        grid-template-columns: minmax(0, 1fr);
    }

    .user-invite-form,
    .profile-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-heading {
        align-items: start;
        flex-direction: column;
    }

    .stats-dashboard .filter-toolbar button,
    .stats-dashboard .filter-toolbar .btn-primary,
    .stats-dashboard .filter-toolbar .checkbox-label {
        width: 100%;
    }

    .stats-dashboard .filter-toolbar .toolbar-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }
}

/* Landings management popup and responsive controls */
.landing-workbench {
    grid-template-columns: minmax(0, 1fr);
}

.landing-workbench .landing-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.landing-card-domain {
    background: #f8fbff;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
}

.landing-card-domain span {
    color: #6d7789;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.landing-card-domain strong {
    color: #202638;
    font-size: 14px;
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.landing-card-domain.is-detail {
    background: #ffffff;
}
.landing-tag-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}
.landing-tag-row.is-detail {
    margin-bottom: 8px;
}
.landing-tag-pill {
    background: #f8fafc;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    color: #64748b;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 100%;
    min-height: 24px;
    min-width: 0;
    overflow: hidden;
    padding: 5px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.landing-tag-pill.is-detected {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}
.landing-tag-row.is-empty .landing-tag-pill {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}
.landing-domain-line {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}
.inline-copy {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    color: #1f2a44;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    min-height: 30px;
    padding: 5px 8px;
    white-space: nowrap;
}
.inline-copy:hover,
.inline-copy:focus {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.landing-domain-link {
    color: inherit;
    display: block;
    min-width: 0;
    text-decoration: none;
}

.landing-domain-link:hover strong,
.landing-domain-link:focus strong {
    color: var(--admin-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-domain-link:focus-visible,
.table-link:focus-visible,
.inline-copy:focus-visible,
.profile-id-chip button:focus-visible,
.icon-button:focus-visible,
.landing-actions button:focus-visible,
.session-card-actions button:focus-visible,
.manager-quick-actions button:focus-visible,
.modal-actions button:focus-visible,
.admin-account-card:focus-visible {
    outline: 3px solid rgba(245, 158, 11, .54);
    outline-offset: 3px;
}

.sessions-card-list {
    display: grid;
    gap: 10px;
}

.session-card {
    align-items: start;
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, .9fr) minmax(360px, 1.45fr) auto;
    padding: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.session-card:hover {
    border-color: #a8d7e1;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.session-card-main,
.session-detail-link-block {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.session-card-heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.session-created {
    color: #202638;
    font-variant-numeric: tabular-nums;
}

.session-event-pill {
    background: #eaf6fb;
    border: 1px solid #bfe3ee;
    border-radius: 999px;
    color: #1f6f8b;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    padding: 4px 8px;
}

.table-link {
    color: #1f6f8b;
    cursor: pointer;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: none;
    text-underline-offset: 3px;
    word-break: break-word;
}

.table-link:hover,
.table-link:focus {
    color: var(--admin-primary);
    text-decoration: underline;
}

.session-path-link {
    color: #475569;
    font-size: 14px;
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
    text-decoration: none;
    word-break: normal;
}

.session-path-link:hover,
.session-path-link:focus {
    color: var(--admin-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.session-domain-empty {
    color: #64748b;
    font-weight: 700;
}

.session-card-meta,
.session-detail-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 0;
    min-width: 0;
}

.session-card-meta div,
.session-detail-grid div,
.session-detail-summary div {
    min-width: 0;
}

.session-card-meta dt,
.session-detail-grid dt,
.session-detail-summary span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .01em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.session-card-meta dd,
.session-detail-grid dd {
    color: #202638;
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

.session-card-actions {
    align-self: stretch;
    display: flex;
}

.session-card-actions button {
    align-self: stretch;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #1f2937;
    cursor: pointer;
    font-weight: 800;
    min-height: 42px;
    padding: 0 16px;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.session-card-actions button:hover {
    background: #eef7fa;
    border-color: #9ccfdd;
    color: #0f5f78;
}

.session-details-modal.modal-panel {
    max-width: 940px;
    width: min(940px, 100%);
}

.session-detail-summary {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.session-detail-summary div,
.session-detail-grid div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
}

.session-detail-summary strong {
    color: #0f172a;
    display: block;
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.session-detail-section {
    border-top: 1px solid #e5e7eb;
    margin-top: 14px;
    padding-top: 14px;
}

.session-detail-section h5 {
    margin: 0 0 8px;
}

@media (max-width: 1180px) {
    .session-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .session-card-actions button {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .session-card,
    .session-detail-summary div,
    .session-detail-grid div {
        padding: 12px;
    }

    .session-card-meta,
    .session-detail-grid,
    .session-detail-summary {
        grid-template-columns: 1fr;
    }
}

.landing-actions,
.manager-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.landing-actions button {
    flex: 1 1 86px;
    min-width: 0;
}

.landing-actions .primary-action {
    background: var(--admin-primary);
    border-color: var(--admin-primary);
    color: #ffffff;
    flex-grow: 1.35;
}

.landing-actions .primary-action:hover,
.landing-actions .primary-action:focus-visible {
    background: #0d9fb5;
    border-color: #0d9fb5;
}

.landing-actions .secondary-action {
    background: #eef7ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.landing-manager-backdrop {
    align-items: center;
}

.landing-management-panel.modal-panel {
    animation: panelRise .28s ease-out both;
    max-height: calc(100vh - 40px);
    max-width: 920px;
    position: static;
    top: auto;
    width: min(920px, 100%);
}

.landing-management-panel .modal-header {
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 0;
    padding-bottom: 14px;
}

.landing-management-panel .modal-header h4 {
    color: #252b3a;
    font-size: 22px;
    font-weight: 900;
}

.landing-management-panel .modal-header p:not(.eyebrow) {
    color: #6d7789;
    margin: 4px 0 0;
}

/* Landing management and preview popups: fullscreen adaptive workspaces */
.landing-manager-backdrop,
.landing-details-backdrop {
    align-items: stretch;
    bottom: 0;
    inset: 0;
    justify-content: stretch;
    left: 0;
    overflow: hidden;
    padding: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 5000;
}

.landing-management-panel.modal-panel,
.landing-details-modal.modal-panel {
    animation: panelRise .22s ease-out both;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: clamp(14px, 2vh, 22px);
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    max-width: none;
    overflow: hidden;
    padding: clamp(18px, 2.4vw, 32px);
    position: static;
    width: 100%;
}

.landing-management-panel.modal-panel {
    gap: clamp(8px, 1.2vh, 14px);
    padding: clamp(10px, 1.4vw, 18px) clamp(14px, 2vw, 28px) 12px;
}

.landing-management-panel .modal-header,
.landing-details-modal .modal-header {
    align-items: start;
    background: #ffffff;
    border-bottom: 1px solid #eef2f7;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 14px;
    position: sticky;
    top: 0;
    z-index: 4;
}

.landing-management-panel .modal-header {
    align-items: center;
    gap: clamp(8px, 1vw, 14px);
    grid-template-columns: minmax(180px, .72fr) minmax(300px, auto) auto;
    min-height: 44px;
    padding-bottom: 6px;
}

.landing-management-panel .modal-header > div,
.landing-details-modal .modal-header > div {
    min-width: 0;
}

.landing-management-panel .landing-manager-title-stack {
    align-content: center;
    gap: 2px;
    grid-column: 1;
    min-width: 0;
}

.modal-header-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.modal-header-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    min-width: 0;
}

.landing-management-panel .modal-header-meta {
    grid-column: 2;
    justify-content: flex-end;
    margin-top: 0;
}

.summary-pill {
    background: #f8fafc;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    color: #40506a;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    padding: 8px 10px;
}

.landing-management-panel .modal-header h4,
.landing-details-modal .modal-header h4 {
    color: #252b3a;
    font-size: clamp(22px, 2.7vw, 30px);
    font-weight: 900;
    line-height: 1.12;
    margin: 0;
    overflow-wrap: anywhere;
}

.landing-management-panel .modal-header h4 {
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-management-panel .modal-header p:not(.eyebrow),
.landing-details-modal .modal-header p:not(.eyebrow) {
    color: #6d7789;
    margin: 4px 0 0;
}

.landing-management-panel .modal-header .icon-button,
.landing-details-modal .modal-header .icon-button {
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(42, 55, 78, .08);
    flex: 0 0 auto;
    height: 40px;
    width: 40px;
}

.landing-management-panel .modal-header .icon-button {
    grid-column: 3;
    height: 34px;
    width: 34px;
}

.landing-management-panel .modal-header .icon-button:hover,
.landing-details-modal .modal-header .icon-button:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.landing-management-panel .summary-pill {
    font-size: 11px;
    padding: 6px 8px;
}

.landing-manager-formwrap {
    margin: -4px -10px 0;
    min-height: 0;
    overflow: auto;
    padding: 4px 10px 18px;
    scrollbar-gutter: stable;
}

.landing-manager-preview {
    align-content: start;
    grid-column: 1;
    grid-row: 1;
    gap: 14px;
    min-width: 0;
    position: static;
}

.landing-manager-preview .landing-thumbnail {
    aspect-ratio: 16 / 9;
    height: clamp(220px, 36vh, 420px);
    max-height: none;
    min-height: 0;
}

.landing-manager-preview .landing-preview-stage {
    align-items: center;
    background: #eef4fa;
    display: flex;
    justify-content: center;
    min-height: 0;
}

.landing-manager-preview .landing-preview-stage img,
.landing-details-modal .landing-preview-stage img {
    background: #f8fafc;
    object-fit: contain;
    object-position: top center;
}

.landing-card .landing-preview-stage img {
    object-fit: cover;
}

.landing-manager-preview .landing-identity.compact {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    padding: 10px;
}

.landing-manager-preview .landing-identity.compact strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-manager-form {
    align-content: start;
    display: grid;
    gap: clamp(10px, 1.25vw, 16px);
    grid-template-columns: minmax(340px, .92fr) minmax(420px, 1.08fr);
    max-height: none;
    min-width: 0;
    overflow: visible;
}

.landing-manager-primary-fields {
    align-content: start;
    display: grid;
    gap: 14px;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
}

.landing-manager-primary-fields .landing-form-field:last-child {
    grid-column: 1 / -1;
}

.landing-manager-form .landing-form-field,
.landing-manager-form .form-actions {
    min-width: 0;
}

.landing-manager-form .profile-ids-field,
.landing-manager-secondary-fields,
.landing-manager-form .manager-quick-actions,
.landing-manager-form .form-actions {
    grid-column: 1 / -1;
}

.landing-manager-form textarea {
    min-height: 68px;
    resize: vertical;
}

.landing-management-panel input:focus,
.landing-management-panel select:focus,
.landing-management-panel textarea:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .12);
    outline: 2px solid #f59e0b;
    outline-offset: -2px;
}

.profile-ids-field {
    background: #fbfdff;
    border: 1px solid #dbe6f2;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-row: 2;
    max-width: 100%;
    padding: 16px;
}

.profile-ids-heading {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.profile-ids-heading > span {
    color: #40506a;
    font-size: 13px;
    font-weight: 900;
}

.profile-ids-heading small {
    color: #6d7789;
    font-size: 12px;
    font-weight: 800;
}

.profile-ids-tools {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(240px, 1.3fr) minmax(160px, .55fr) auto auto;
}

.profile-ids-tools label {
    min-width: 0;
}

.profile-ids-tools input {
    width: 100%;
}

.profile-id-add-button,
.profile-id-clear-button,
.profile-id-bulk-button {
    min-height: 48px;
}

.profile-id-add-button {
    min-width: 82px;
}

.profile-id-clear-button {
    min-width: 96px;
}

.profile-ids-bulk {
    align-items: stretch;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(320px, 1fr) auto;
}

.profile-ids-bulk-controls {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    display: inline-flex;
    gap: 6px;
    padding: 6px;
}

.profile-ids-bulk-controls label {
    align-items: center;
    border-radius: 6px;
    color: #40506a;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    gap: 6px;
    min-height: 34px;
    padding: 0 8px;
}

.profile-ids-bulk-controls input {
    margin: 0;
}

.profile-id-bulk-input {
    min-width: 0;
}

.profile-id-bulk-input textarea {
    min-height: 92px;
    resize: vertical;
    width: 100%;
}

.profile-id-bulk-summary {
    color: #6d7789;
    font-size: 12px;
    font-weight: 800;
    grid-column: 2 / -1;
    line-height: 1.4;
}

.profile-id-list {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: min(34vh, 320px);
    min-height: 132px;
    overflow: auto;
    padding: 10px;
}

.profile-id-list-actions {
    align-items: center;
    color: #6d7789;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 800;
    gap: 10px;
    justify-content: space-between;
}

.profile-id-list-actions button {
    min-height: 34px;
    padding: 6px 12px;
}

.profile-id-chip {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    display: inline-flex;
    flex: 0 1 auto;
    gap: 8px;
    justify-content: flex-start;
    max-width: 100%;
    min-width: 0;
    padding: 8px 10px;
    width: max-content;
}

.profile-id-chip span {
    color: #202638;
    display: block;
    font-family: Consolas, Monaco, monospace;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

.profile-id-chip button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    color: #40506a;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 30px;
}

.profile-id-chip button:hover,
.profile-id-chip button:focus {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.profile-id-empty {
    align-items: center;
    color: #6d7789;
    display: flex;
    min-height: 56px;
    width: 100%;
}

.landing-manager-form input,
.landing-manager-form select,
.landing-manager-form textarea {
    min-height: 48px;
}

.landing-manager-form .form-actions {
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid #eef2f7;
    bottom: 0;
    position: sticky;
    padding-top: 14px;
    z-index: 3;
}

.landing-manager-secondary-fields {
    display: grid;
    gap: 14px;
    grid-row: 3;
    grid-template-columns: minmax(320px, 1.4fr) repeat(2, minmax(180px, .8fr));
    min-width: 0;
}

.landing-manager-secondary-fields .landing-form-field-wide {
    grid-column: auto;
}

.landing-manager-form .manager-quick-actions {
    align-self: start;
    grid-row: 4;
    justify-content: flex-start;
}

.landing-details-modal {
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.landing-details-workspace {
    display: grid;
    gap: clamp(18px, 2vw, 28px);
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    min-height: 0;
    overflow: hidden;
}

.landing-details-modal .landing-detail-preview {
    display: grid;
    min-height: 0;
}

.landing-details-modal .landing-detail-preview .landing-preview {
    aspect-ratio: auto;
    height: 100%;
    min-height: 360px;
}

.landing-details-modal .landing-preview-stage {
    height: calc(100% - 28px);
}

.landing-detail-sidebar {
    align-content: start;
    display: grid;
    gap: 12px;
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
}

.landing-details-modal .landing-identity.compact {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    padding: 12px;
}

.landing-details-modal .detail-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-details-modal .detail-section {
    margin-top: 0;
    padding-top: 12px;
}

.landing-details-modal .detail-section h5 {
    margin-bottom: 6px;
}

.landing-details-modal .snippet {
    display: block;
    max-height: 72px;
    overflow: auto;
}

.landing-details-modal .modal-actions {
    border-top: 1px solid #eef2f7;
    justify-content: flex-end;
    margin-top: 0;
    padding-top: 14px;
}

@media (max-width: 900px) {
    .landing-manager-backdrop,
    .landing-details-backdrop {
        align-items: stretch;
    }

    .landing-management-panel.modal-panel,
    .landing-details-modal.modal-panel {
        padding: 14px;
        overflow-y: auto;
    }

    .landing-management-panel .modal-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .landing-management-panel .landing-manager-status-rail {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .landing-management-panel .modal-header .icon-button {
        grid-column: 2;
    }

    .landing-management-panel.modal-panel {
        gap: 8px;
        padding: 10px;
    }

    .landing-management-panel .modal-header {
        gap: 8px;
        min-height: 0;
        padding-bottom: 8px;
    }

    .landing-management-panel .modal-header h4 {
        font-size: clamp(16px, 4vw, 20px);
    }

    .landing-manager-formwrap,
    .landing-details-workspace {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .landing-manager-preview .landing-thumbnail,
    .landing-details-modal .landing-detail-preview .landing-preview {
        height: auto;
        min-height: 200px;
    }

    .landing-manager-form {
        grid-column: auto;
        grid-template-columns: 1fr;
        grid-row: auto;
        max-height: none;
        overflow: visible;
    }

    .landing-manager-preview,
    .landing-manager-primary-fields,
    .profile-ids-field,
    .landing-manager-secondary-fields,
    .landing-manager-form .manager-quick-actions,
    .landing-manager-form .form-actions {
        grid-column: auto;
        grid-row: auto;
    }

    .landing-manager-primary-fields,
    .landing-manager-secondary-fields {
        grid-template-columns: 1fr;
    }

    .profile-ids-tools {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-manager-form .landing-form-field,
    .landing-manager-form .landing-form-field-wide,
    .landing-manager-form .form-actions {
        grid-column: auto;
    }

    .landing-manager-form .form-actions,
    .landing-manager-form .manager-quick-actions,
    .landing-details-modal .modal-actions {
        justify-content: stretch;
    }

    .landing-manager-form .form-actions button,
    .landing-manager-form .manager-quick-actions button,
    .landing-details-modal .modal-actions button {
        flex: 1 1 auto;
    }

    .landing-workbench .landing-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-actions button {
        flex-basis: calc(50% - 4px);
    }

    .landing-management-panel .modal-header h4,
    .landing-details-modal .modal-header h4 {
        font-size: clamp(20px, 5vw, 28px);
    }

    .landing-management-panel .modal-header h4 {
        font-size: clamp(16px, 4vw, 20px);
    }
}

@media (max-width: 540px) {
    .landing-management-panel.modal-panel,
    .landing-details-modal.modal-panel {
        padding: 14px;
        overflow-y: auto;
    }

    .landing-management-panel .modal-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .landing-management-panel .landing-manager-status-rail {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .landing-manager-formwrap,
    .landing-details-workspace {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .landing-manager-preview .landing-thumbnail,
    .landing-details-modal .landing-detail-preview .landing-preview {
        height: auto;
        min-height: 220px;
    }

    .landing-manager-form {
        grid-column: auto;
        grid-template-columns: 1fr;
        grid-row: auto;
        max-height: none;
        overflow: visible;
    }

    .landing-manager-preview,
    .landing-manager-primary-fields,
    .profile-ids-field,
    .landing-manager-secondary-fields,
    .landing-manager-form .manager-quick-actions,
    .landing-manager-form .form-actions {
        grid-column: auto;
        grid-row: auto;
    }

    .landing-manager-primary-fields,
    .landing-manager-secondary-fields {
        grid-template-columns: 1fr;
    }

    .profile-ids-tools {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-ids-bulk {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-ids-bulk-controls,
    .profile-id-bulk-summary {
        grid-column: auto;
    }

    .profile-ids-bulk-controls {
        justify-content: stretch;
    }

    .profile-ids-bulk-controls label {
        flex: 1 1 0;
        justify-content: center;
    }

    .landing-manager-form .landing-form-field,
    .landing-manager-form .landing-form-field-wide,
    .landing-manager-form .form-actions {
        grid-column: auto;
    }

    .landing-manager-form .form-actions,
    .landing-manager-form .manager-quick-actions,
    .landing-details-modal .modal-actions {
        justify-content: stretch;
    }

    .landing-manager-form .form-actions button,
    .landing-manager-form .manager-quick-actions button,
    .landing-details-modal .modal-actions button {
        flex: 1 1 auto;
    }

    .landing-workbench .landing-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-actions button {
        flex-basis: calc(50% - 4px);
    }

    .landing-actions .primary-action {
        flex-basis: 100%;
    }

    .modal-header-meta {
        gap: 6px;
    }
}

@media (max-width: 420px) {
    .landing-actions button {
        flex-basis: 100%;
    }

    .landing-management-panel .modal-header,
    .landing-details-modal .modal-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .landing-management-panel .modal-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .landing-management-panel .modal-header .icon-button,
    .landing-details-modal .modal-header .icon-button {
        height: 36px;
        width: 36px;
    }

    .landing-management-panel .modal-header .icon-button {
        height: 34px;
        width: 34px;
    }
}

/* LandingCore auth visual: informative product preview with bounded motion */
.auth-shell {
    grid-template-columns: minmax(360px, 520px) minmax(320px, 420px);
}

.auth-visual-window {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(248, 251, 255, .72)),
        linear-gradient(90deg, rgba(18, 182, 207, .08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(59, 130, 246, .07) 1px, transparent 1px);
    background-size: auto, 34px 34px, 34px 34px;
    border: 1px solid rgba(222, 232, 243, .98);
    overflow: hidden;
    position: relative;
}

.auth-visual-top {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: auto 1fr auto;
}

.auth-visual-dots {
    display: inline-flex;
    gap: 7px;
}

.auth-visual-top .auth-visual-dots span {
    background: #c8d5e4;
    border-radius: 50%;
    height: 9px;
    width: 9px;
}

.auth-visual-top > strong {
    color: #202638;
    font-size: 13px;
    font-weight: 900;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-visual-top em,
.auth-live-badge {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    color: #047857;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    padding: 7px 9px;
    text-transform: uppercase;
}

.auth-product-hero {
    align-items: start;
    animation: authVisualRise .34s ease-out .05s both;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 20px 0 16px;
}

.auth-product-hero span {
    color: #1e40af;
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.auth-product-hero strong {
    color: #202638;
    display: block;
    font-size: 22px;
    line-height: 1.18;
}

.auth-live-badge {
    align-items: center;
    background: #eef7ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    display: inline-flex;
    gap: 6px;
    white-space: nowrap;
}

.auth-live-badge i {
    background: #12b6cf;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(18, 182, 207, .14);
    display: inline-block;
    height: 7px;
    width: 7px;
}

.auth-signal-map {
    align-items: stretch;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
    margin-bottom: 14px;
}

.auth-signal-node {
    animation: authVisualRise .34s ease-out both;
    background: #ffffff;
    border: 1px solid #e1eaf4;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(42, 55, 78, .07);
    display: grid;
    gap: 4px;
    min-height: 86px;
    padding: 12px;
}

.auth-signal-node:nth-child(3) {
    animation-delay: .12s;
}

.auth-signal-node:nth-child(5) {
    animation-delay: .2s;
}

.auth-signal-node span {
    color: #12b6cf;
    font-size: 11px;
    font-weight: 900;
}

.auth-signal-node strong {
    color: #202638;
    font-size: 13px;
    line-height: 1.2;
}

.auth-signal-node small {
    color: #6d7789;
    font-size: 11px;
    line-height: 1.25;
}

.auth-signal-line {
    align-self: center;
    background: #dbe5ef;
    border-radius: 999px;
    height: 3px;
    overflow: hidden;
    position: relative;
}

.auth-signal-line::after {
    animation: authSignalSweep 1.15s ease-out .25s both;
    background: #f59e0b;
    border-radius: inherit;
    content: "";
    inset: 0;
    position: absolute;
    transform: translateX(-100%);
}

.auth-visual-window .auth-visual-grid {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
}

.auth-visual-window .auth-visual-card {
    animation: authVisualRise .34s ease-out both;
    min-height: 92px;
    padding: 14px;
}

.auth-visual-window .auth-visual-card:nth-child(1) {
    animation-delay: .18s;
}

.auth-visual-window .auth-visual-card:nth-child(2) {
    animation-delay: .24s;
}

.auth-visual-window .auth-visual-card:nth-child(3) {
    animation-delay: .3s;
    grid-column: auto;
}

.auth-visual-window .auth-visual-card strong {
    color: #202638;
    font-size: 25px;
}

.auth-visual-window .auth-visual-card span {
    font-size: 11px;
    line-height: 1.25;
}

.auth-event-stream {
    animation: authVisualRise .34s ease-out .34s both;
    background: #111827;
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(17, 24, 39, .16);
    display: grid;
    gap: 1px;
    margin-top: 12px;
    overflow: hidden;
}

.auth-event-stream div {
    align-items: center;
    background: rgba(255, 255, 255, .06);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(120px, .8fr) minmax(0, 1fr);
    min-height: 34px;
    padding: 8px 12px;
}

.auth-event-stream span {
    color: #93c5fd;
    font-family: Consolas, "Liberation Mono", monospace;
    font-size: 11px;
}

.auth-event-stream strong {
    color: #f8fafc;
    font-size: 12px;
}

@keyframes authVisualRise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes authSignalSweep {
    to {
        transform: translateX(0);
    }
}

@keyframes authSignalSweepVertical {
    to {
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .auth-shell {
        gap: 20px;
        grid-template-columns: minmax(340px, 500px) minmax(320px, 400px);
        padding: 20px;
    }

    .auth-product-hero strong {
        font-size: 20px;
    }
}

@media (max-width: 980px) {
    .auth-signal-map {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-signal-line {
        height: 20px;
        justify-self: center;
        width: 3px;
    }

    .auth-signal-line::after {
        animation-name: authSignalSweepVertical;
        transform: translateY(-100%);
    }
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: minmax(280px, 440px);
    }

    .auth-visual {
        display: none;
    }
}

@media (max-width: 540px) {
    .auth-product-hero,
    .auth-visual-window .auth-visual-grid,
    .auth-event-stream div {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-product-hero,
    .auth-signal-node,
    .auth-signal-line::after,
    .auth-visual-window .auth-visual-card,
    .auth-event-stream {
        animation: none !important;
        transform: none !important;
    }
}
