body.toplevel_page_nexus #wpcontent {
    padding-left: 0;
}

body.toplevel_page_nexus #wpbody-content {
    padding-bottom: 0;
}

body.nexus_page_nexus-tasks #wpcontent {
    padding-left: 0;
}

body.nexus_page_nexus-tasks #wpbody-content {
    padding-bottom: 0;
}

body.nexus_page_nexus-dashboard #wpcontent {
    padding-left: 0;
}

body.nexus_page_nexus-dashboard #wpbody-content {
    padding-bottom: 0;
}

body.nexus_page_nexus-dashboard-profiles #wpcontent {
    padding-left: 0;
}

body.nexus_page_nexus-dashboard-profiles #wpbody-content {
    padding-bottom: 0;
}

body.nexus_page_nexus-artifacts #wpcontent {
    padding-left: 0;
}

body.nexus_page_nexus-artifacts #wpbody-content {
    padding-bottom: 0;
}

.nexus-frontend-dashboard {
    margin: 0 auto;
    max-width: 1240px;
}

.nexus-frontend-dashboard * {
    box-sizing: border-box;
}

.nexus-frontend-topbar {
    align-items: center;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    color: var(--nexus-muted);
    display: flex;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 900;
    justify-content: space-between;
    letter-spacing: .08em;
    margin-bottom: 18px;
    padding-bottom: 14px;
    text-transform: uppercase;
}

.nexus-frontend-hero {
    align-items: flex-end;
    background: rgba(2, 6, 23, .24);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 22px;
}

.nexus-frontend-hero h1 {
    color: #fff;
    font-size: 34px;
    line-height: 1.1;
    margin: 6px 0 10px;
}

.nexus-frontend-hero p {
    color: #cbd5e1;
    margin: 0;
    max-width: 760px;
}

.nexus-frontend-main-grid {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.nexus-frontend-main-grid.nexus-full-width {
    grid-template-columns: minmax(0, 1fr);
}

.nexus-frontend-main-grid > .nexus-embedded-surfaces {
    margin-bottom: 0;
}

.nexus-module-section-list {
    display: grid;
    gap: 18px;
}

.nexus-module-section {
    background: rgba(2, 6, 23, .34);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    max-width: 100%;
    min-width: min(100%, 520px);
    padding: 16px;
    width: fit-content;
}

.nexus-module-section .nexus-embedded-surface-list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 440px));
    justify-content: start;
}

.nexus-module-section-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.nexus-module-section-header span {
    color: var(--nexus-muted);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.nexus-module-section-header h3 {
    color: #fff;
    font-size: 22px;
    margin: 0;
}

.nexus-module-section-header em {
    color: var(--nexus-muted);
    font-style: normal;
    font-weight: 800;
}

.nexus-workspace-card {
    background:
        linear-gradient(145deg, rgba(34, 211, 238, .14), transparent 42%),
        rgba(15, 23, 42, .78);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 210px;
    max-width: 440px;
    padding: 18px;
}

.nexus-workspace-card:hover {
    border-color: rgba(34, 211, 238, .48);
    transform: translateY(-1px);
}

.nexus-workspace-card-main {
    flex: 1;
}

.nexus-workspace-card-main span {
    color: var(--nexus-green);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.nexus-workspace-card-main h4 {
    color: #fff;
    font-size: 22px;
    line-height: 1.15;
    margin: 0 0 10px;
}

.nexus-workspace-card-main p {
    color: #cbd5e1;
    margin: 0;
}

.nexus-workspace-card .button {
    justify-content: center;
    width: min(100%, 220px);
}

.nexus-focused-surface-nav {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.nexus-frontend-tasks .nexus-task-card {
    grid-template-columns: minmax(0, 1fr);
}

.nexus-frontend-dashboard .button {
    align-items: center;
    background: rgba(34, 211, 238, .14);
    border: 1px solid rgba(34, 211, 238, .48);
    border-radius: 8px;
    color: #e0faff;
    display: inline-flex;
    font-weight: 800;
    min-height: 38px;
    padding: 8px 12px;
    text-decoration: none;
}

.nexus-frontend-dashboard .button-primary {
    background: #22d3ee;
    color: #07111f;
}

.nexus-login-shell {
    max-width: 900px;
}

.nexus-login-panel {
    align-items: stretch;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
}

.nexus-login-copy {
    background:
        linear-gradient(145deg, rgba(34, 211, 238, .16), transparent 46%),
        rgba(2, 6, 23, .42);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    padding: 28px;
}

.nexus-login-copy h1 {
    color: #fff;
    font-size: 36px;
    line-height: 1.08;
    margin: 8px 0 14px;
}

.nexus-login-copy p {
    color: #cbd5e1;
    font-size: 16px;
    margin: 0;
}

.nexus-login-form {
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 22px;
}

.nexus-login-form label {
    color: #dbeafe;
    font-size: 13px;
    font-weight: 900;
}

.nexus-login-form input[type="text"],
.nexus-login-form input[type="password"] {
    background: rgba(2, 6, 23, .72);
    border: 1px solid rgba(148, 163, 184, .34);
    border-radius: 8px;
    color: #fff;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.nexus-login-check {
    align-items: center;
    display: flex;
    gap: 8px;
}

.nexus-login-error {
    background: rgba(251, 113, 133, .14);
    border: 1px solid rgba(251, 113, 133, .42);
    border-radius: 8px;
    color: #fecdd3;
    font-weight: 800;
    padding: 10px 12px;
}

@media (max-width: 720px) {
    .nexus-frontend-dashboard {
        padding: 16px;
    }

    .nexus-frontend-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .nexus-frontend-hero h1 {
        font-size: 28px;
    }

    .nexus-frontend-main-grid,
    .nexus-login-panel {
        grid-template-columns: 1fr;
    }

    .nexus-login-copy h1 {
        font-size: 28px;
    }
}

.nexus-wrap {
    --nexus-ink: #f8fafc;
    --nexus-muted: #9fb2c8;
    --nexus-panel: rgba(9, 16, 30, .92);
    --nexus-panel-2: rgba(15, 23, 42, .86);
    --nexus-line: rgba(148, 163, 184, .25);
    --nexus-cyan: #22d3ee;
    --nexus-green: #6ee7b7;
    --nexus-pink: #fb7185;
    --nexus-yellow: #fde047;
    --nexus-blue: #60a5fa;
    --nexus-shadow: 0 28px 80px rgba(2, 6, 23, .42);
    color: var(--nexus-ink);
    background:
        linear-gradient(90deg, rgba(34, 211, 238, .12) 1px, transparent 1px),
        linear-gradient(0deg, rgba(251, 113, 133, .08) 1px, transparent 1px),
        repeating-linear-gradient(135deg, rgba(253, 224, 71, .08) 0 2px, transparent 2px 18px),
        linear-gradient(135deg, #08111f 0%, #111827 38%, #23162d 68%, #07131f 100%);
    background-size: 42px 42px, 42px 42px, 100% 100%, 100% 100%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), var(--nexus-shadow);
    box-sizing: border-box;
    margin: 0;
    max-width: none;
    padding: 16px;
    position: relative;
    width: auto;
}

.nexus-wrap::before {
    display: none;
}

.nexus-wrap a {
    color: var(--nexus-cyan);
}

.nexus-hero {
    align-items: center;
    background:
        linear-gradient(110deg, rgba(34, 211, 238, .2), transparent 34%),
        linear-gradient(280deg, rgba(251, 113, 133, .2), transparent 30%),
        rgba(2, 6, 23, .58);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 22px 70px rgba(0,0,0,.38);
    color: #fff;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 150px max-content;
    margin: 0 0 18px;
    min-height: 190px;
    overflow: hidden;
    padding: 30px 34px;
    position: relative;
}

.nexus-hero::before {
    background:
        linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent),
        linear-gradient(90deg, var(--nexus-cyan), var(--nexus-yellow), var(--nexus-pink));
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.nexus-kicker {
    color: var(--nexus-yellow);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.nexus-hero h1 {
    color: #fff;
    font-size: 68px;
    line-height: .9;
    margin: 0 0 14px;
    text-shadow: 0 0 26px rgba(34, 211, 238, .34);
    text-transform: uppercase;
}

.nexus-hero p {
    color: #dbeafe;
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
    max-width: 740px;
}

.nexus-hero-orbit {
    aspect-ratio: 1;
    border: 1px solid rgba(34, 211, 238, .52);
    display: grid;
    height: 126px;
    justify-self: center;
    place-items: center;
    position: relative;
    transform: rotate(45deg);
    width: 126px;
}

.nexus-hero-orbit span {
    border: 1px solid rgba(255,255,255,.28);
    inset: 18px;
    position: absolute;
}

.nexus-hero-orbit span:nth-child(2) {
    border-color: rgba(253, 224, 71, .55);
    inset: 42px;
}

.nexus-hero-orbit span:nth-child(3) {
    background: var(--nexus-cyan);
    border: none;
    box-shadow: 0 0 28px var(--nexus-cyan);
    height: 14px;
    inset: auto;
    width: 14px;
}

.nexus-version {
    align-self: start;
    background: #020617;
    border: 1px solid rgba(253, 224, 71, .45);
    border-radius: 8px;
    box-shadow: 0 0 24px rgba(253, 224, 71, .18);
    color: var(--nexus-yellow);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 800;
    padding: 10px 13px;
}

.nexus-command-strip {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 16px;
}

.nexus-metric {
    background: linear-gradient(180deg, rgba(15, 23, 42, .94), rgba(2, 6, 23, .92));
    border: 1px solid var(--nexus-line);
    border-left: 4px solid var(--nexus-cyan);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(0,0,0,.24);
    padding: 16px;
}

.nexus-metric-link {
    display: block;
    text-decoration: none;
}

.nexus-metric-link:hover {
    border-color: rgba(34, 211, 238, .62);
    transform: translateY(-1px);
}

.nexus-metric:nth-child(2) {
    border-left-color: var(--nexus-yellow);
}

.nexus-metric:nth-child(3) {
    border-left-color: var(--nexus-green);
}

.nexus-metric:nth-child(4) {
    border-left-color: var(--nexus-pink);
}

.nexus-metric span,
.nexus-metric em {
    color: var(--nexus-muted);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.nexus-metric strong {
    color: #fff;
    display: block;
    font-size: 38px;
    line-height: 1;
    margin: 8px 0;
}

.nexus-status-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.nexus-status-filter a {
    background: rgba(15, 23, 42, .82);
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 999px;
    color: var(--nexus-muted);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    text-decoration: none;
}

.nexus-status-filter a.is-active,
.nexus-status-filter a:hover {
    background: rgba(34, 211, 238, .14);
    border-color: rgba(34, 211, 238, .58);
    color: #e0faff;
}

.nexus-job-detail-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 16px;
}

.nexus-job-detail-grid div {
    background: rgba(2, 6, 23, .46);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    padding: 12px;
}

.nexus-job-detail-grid span {
    color: var(--nexus-muted);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.nexus-job-detail-grid strong {
    color: #fff;
    overflow-wrap: anywhere;
}

.nexus-job-error {
    background: rgba(251, 113, 133, .14);
    border: 1px solid rgba(251, 113, 133, .42);
    border-radius: 8px;
    color: #fee2e2;
    margin-top: 14px;
    padding: 14px;
}

.nexus-job-error strong {
    display: block;
    margin-bottom: 6px;
}

.nexus-job-error p {
    margin: 0;
}

.nexus-job-detail-actions,
.nexus-job-actions-cell {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nexus-job-actions-cell {
    justify-content: flex-end;
}

.nexus-job-action-form {
    margin: 0;
}

.nexus-job-action-form .button {
    min-height: 30px;
}

.nexus-job-payload {
    background: rgba(2, 6, 23, .82);
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 8px;
    color: #dbeafe;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-height: 520px;
    overflow: auto;
    padding: 14px;
    white-space: pre-wrap;
}

.nexus-map-console a {
    color: #fff;
    text-decoration: none;
}

.nexus-map-console a:hover {
    color: var(--nexus-cyan);
}

.nexus-health-band {
    background: rgba(2, 6, 23, .72);
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 8px;
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 18px;
    overflow: hidden;
}

.nexus-health-band > div {
    background: rgba(15, 23, 42, .74);
    color: var(--nexus-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    padding: 13px 15px;
    text-transform: uppercase;
}

.nexus-health-band strong {
    color: #fff;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    margin-top: 4px;
    text-transform: none;
}

.nexus-signal {
    background: var(--nexus-muted);
    border-radius: 50%;
    box-shadow: 0 0 16px currentColor;
    display: inline-block;
    height: 8px;
    margin-right: 7px;
    width: 8px;
}

.nexus-signal.is-good {
    background: var(--nexus-green);
    color: var(--nexus-green);
}

.nexus-signal.is-warn {
    background: var(--nexus-yellow);
    color: var(--nexus-yellow);
}

.nexus-signal.is-bad {
    background: var(--nexus-pink);
    color: var(--nexus-pink);
}

.nexus-command-map-panel {
    margin-bottom: 18px;
    overflow: hidden;
}

.nexus-command-map {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.nexus-map-stage {
    background:
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, .2), transparent 24%),
        radial-gradient(circle at 16% 24%, rgba(253, 224, 71, .16), transparent 18%),
        radial-gradient(circle at 78% 62%, rgba(251, 113, 133, .18), transparent 18%),
        rgba(2, 6, 23, .72);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    min-height: clamp(540px, 42vw, 720px);
    overflow: hidden;
    position: relative;
}

.nexus-map-stage::before,
.nexus-map-stage::after {
    content: "";
    pointer-events: none;
    position: absolute;
}

.nexus-map-stage::before {
    background:
        radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(34, 211, 238, .12) 28.3% 28.8%, transparent 29.1% 39%, rgba(253, 224, 71, .08) 39.3% 39.8%, transparent 40.1%),
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, .1), transparent 42%);
    inset: 0;
    opacity: .78;
}

.nexus-map-stage::after {
    animation: nexusSweep 7s linear infinite;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .16), transparent);
    bottom: 0;
    left: -40%;
    top: 0;
    transform: skewX(-18deg);
    width: 34%;
}

.nexus-map-grid {
    background-image:
        linear-gradient(rgba(148, 163, 184, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .12) 1px, transparent 1px);
    background-size: 34px 34px;
    inset: 0;
    mask-image: radial-gradient(circle at 50% 50%, #000, transparent 76%);
    opacity: .7;
    position: absolute;
    z-index: 1;
}

.nexus-map-links {
    inset: 0;
    overflow: visible;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.nexus-map-link {
    opacity: .46;
    stroke: var(--nexus-cyan);
    stroke-dasharray: 1.2 1.8;
    stroke-linecap: round;
    stroke-width: .11;
    vector-effect: non-scaling-stroke;
}

.nexus-map-link-live {
    filter: drop-shadow(0 0 3px currentColor);
    opacity: .68;
    stroke-dasharray: none;
    stroke-width: .16;
}

.nexus-map-link-stored {
    opacity: .16;
}

.nexus-map-link-cyan {
    color: var(--nexus-cyan);
    stroke: var(--nexus-cyan);
}

.nexus-map-link-yellow {
    color: var(--nexus-yellow);
    stroke: var(--nexus-yellow);
}

.nexus-map-link-pink {
    color: var(--nexus-pink);
    stroke: var(--nexus-pink);
}

.nexus-map-link-green {
    color: var(--nexus-green);
    stroke: var(--nexus-green);
}

.nexus-map-link-blue {
    color: var(--nexus-blue);
    stroke: var(--nexus-blue);
}

.nexus-core-node {
    align-items: center;
    aspect-ratio: 1;
    background:
        radial-gradient(circle, rgba(34, 211, 238, .34), rgba(2, 6, 23, .94) 62%),
        #020617;
    border: 1px solid rgba(34, 211, 238, .74);
    border-radius: 50%;
    box-shadow:
        0 0 0 12px rgba(34, 211, 238, .07),
        0 0 0 28px rgba(253, 224, 71, .04),
        0 0 70px rgba(34, 211, 238, .28);
    display: flex;
    flex-direction: column;
    height: 168px;
    justify-content: center;
    left: 50%;
    padding: 18px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 168px;
    z-index: 3;
}

.nexus-core-node::before {
    animation: nexusPulse 2.8s ease-in-out infinite;
    border: 1px solid rgba(34, 211, 238, .36);
    border-radius: 50%;
    content: "";
    inset: -18px;
    position: absolute;
}

.nexus-core-node span {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.nexus-core-node strong,
.nexus-core-node em {
    color: var(--nexus-yellow);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    margin-top: 8px;
    text-transform: uppercase;
}

.nexus-core-node em {
    color: var(--nexus-muted);
    margin-top: 4px;
}

.nexus-map-node {
    background:
        linear-gradient(145deg, rgba(255,255,255,.08), transparent 44%),
        rgba(15, 23, 42, .91);
    border: 1px solid rgba(34, 211, 238, .42);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08);
    color: var(--nexus-muted);
    left: var(--x);
    max-width: 250px;
    min-width: 188px;
    padding: 12px 13px;
    position: absolute;
    top: var(--y);
    transform: translate(-50%, -50%);
    z-index: 4;
}

.nexus-map-node::before {
    background: var(--nexus-cyan);
    border-radius: 999px;
    box-shadow: 0 0 18px currentColor;
    color: var(--nexus-cyan);
    content: "";
    height: 8px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 8px;
}

.nexus-map-node::after {
    background: linear-gradient(90deg, var(--nexus-cyan), transparent);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    right: 42%;
}

.nexus-map-node span,
.nexus-map-node em,
.nexus-map-node small,
.nexus-map-console span {
    color: var(--nexus-muted);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.nexus-map-node strong {
    color: #fff;
    display: block;
    font-size: 16px;
    line-height: 1.2;
    margin: 5px 18px 7px 0;
}

.nexus-map-node small {
    color: #cbd5e1;
    line-height: 1.35;
    margin-top: 8px;
    text-transform: none;
}

.nexus-map-node-stored {
    border-color: rgba(148, 163, 184, .32);
    box-shadow: none;
    filter: grayscale(.75);
    opacity: .48;
}

.nexus-map-node-stored::before,
.nexus-map-node-stored::after {
    background: #94a3b8;
    color: #94a3b8;
}

.nexus-map-node-yellow {
    border-color: rgba(253, 224, 71, .46);
}

.nexus-map-node-yellow::before,
.nexus-map-node-yellow::after {
    background: var(--nexus-yellow);
    color: var(--nexus-yellow);
}

.nexus-map-node-pink {
    border-color: rgba(251, 113, 133, .46);
}

.nexus-map-node-pink::before,
.nexus-map-node-pink::after {
    background: var(--nexus-pink);
    color: var(--nexus-pink);
}

.nexus-map-node-green {
    border-color: rgba(110, 231, 183, .46);
}

.nexus-map-node-green::before,
.nexus-map-node-green::after {
    background: var(--nexus-green);
    color: var(--nexus-green);
}

.nexus-map-node-blue {
    border-color: rgba(96, 165, 250, .5);
}

.nexus-map-node-blue::before,
.nexus-map-node-blue::after {
    background: var(--nexus-blue);
    color: var(--nexus-blue);
}

.nexus-map-empty {
    background: rgba(2, 6, 23, .76);
    border: 1px dashed rgba(148, 163, 184, .42);
    border-radius: 8px;
    color: var(--nexus-muted);
    left: 50%;
    padding: 18px;
    position: absolute;
    text-align: center;
    top: 74%;
    transform: translate(-50%, -50%);
    width: min(360px, 80%);
    z-index: 5;
}

.nexus-map-empty strong {
    color: #fff;
    display: block;
}

.nexus-map-console {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nexus-map-console div {
    background:
        linear-gradient(110deg, rgba(34, 211, 238, .12), transparent 44%),
        rgba(2, 6, 23, .64);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    min-height: 78px;
    padding: 14px;
}

.nexus-map-console strong {
    color: #fff;
    display: block;
    font-size: 22px;
    line-height: 1.1;
    margin-top: 8px;
}

@keyframes nexusSweep {
    from {
        left: -42%;
    }
    to {
        left: 108%;
    }
}

@keyframes nexusPulse {
    0%,
    100% {
        opacity: .35;
        transform: scale(.96);
    }
    50% {
        opacity: .9;
        transform: scale(1.04);
    }
}

.nexus-grid {
    display: grid;
    gap: 18px;
}

.nexus-grid-primary {
    grid-template-columns: minmax(0, 1.35fr) minmax(380px, .65fr);
}

.nexus-grid-secondary {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    margin-top: 18px;
}

.nexus-panel {
    background: var(--nexus-panel);
    border: 1px solid var(--nexus-line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
    padding: 18px;
    position: relative;
}

.nexus-panel::before {
    background: linear-gradient(90deg, var(--nexus-cyan), transparent 35%, var(--nexus-pink));
    content: "";
    height: 2px;
    left: 0;
    opacity: .86;
    position: absolute;
    right: 0;
    top: 0;
}

.nexus-panel-header {
    align-items: center;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.nexus-panel-header h2 {
    color: #fff;
    font-size: 17px;
    letter-spacing: .04em;
    margin: 0;
    text-transform: uppercase;
}

.nexus-panel-header span {
    color: var(--nexus-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.nexus-empty {
    background: rgba(15, 23, 42, .74);
    border: 1px dashed rgba(148, 163, 184, .42);
    border-radius: 8px;
    color: var(--nexus-muted);
    padding: 22px;
}

.nexus-empty strong {
    color: #fff;
    display: block;
}

.nexus-empty p {
    margin-bottom: 0;
}

.nexus-module-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.nexus-card {
    background:
        linear-gradient(145deg, rgba(96, 165, 250, .14), transparent 38%),
        var(--nexus-panel-2);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    color: var(--nexus-muted);
    padding: 16px;
    position: relative;
}

.nexus-card::after {
    background: var(--nexus-cyan);
    content: "";
    height: 10px;
    position: absolute;
    right: 12px;
    top: -1px;
    width: 44px;
}

.nexus-card-top {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.nexus-card h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px;
}

.nexus-card p {
    color: #cbd5e1;
}

.nexus-surface-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.nexus-surface-card .button {
    margin-top: auto;
    width: fit-content;
}

.nexus-dashboard-capabilities {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.nexus-embedded-surfaces {
    margin-bottom: 22px;
}

.nexus-embedded-surface-list {
    display: grid;
    gap: 18px;
}

.nexus-embedded-surface {
    background: rgba(15, 23, 42, .64);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    padding: 18px;
}

.nexus-embedded-surface-full-canvas {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.nexus-embedded-surface-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nexus-embedded-surface-header span {
    color: var(--nexus-muted);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.nexus-embedded-surface-header h3 {
    color: #fff;
    font-size: 20px;
    margin: 0;
}

.nexus-embedded-surface-header code {
    white-space: nowrap;
}

.nexus-embedded-surface-description {
    color: #cbd5e1;
    margin: 0 0 16px;
}

.nexus-embedded-surface-body {
    color: #e5edf7;
}

.nexus-workflow {
    display: grid;
    gap: 18px;
}

.nexus-workflow-actions,
.nexus-workflow-blocks {
    display: grid;
    gap: 14px;
}

.nexus-workflow-actions {
    align-items: stretch;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px));
    justify-content: start;
    max-width: 1160px;
}

.nexus-frontend-dashboard .nexus-workflow-actions {
    align-items: stretch !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px)) !important;
    justify-content: start !important;
    max-width: 1160px !important;
}

.nexus-workflow-form,
.nexus-workflow-reset {
    background: rgba(15, 23, 42, .48);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 14px;
}

.nexus-workflow-form {
    align-content: start;
    min-height: 170px;
}

.nexus-frontend-dashboard .nexus-workflow-form {
    max-width: 360px !important;
    min-width: 0 !important;
    width: 100% !important;
}

.nexus-workflow-reset {
    justify-self: start;
}

.nexus-workflow-form h3,
.nexus-workflow-block-heading h3 {
    color: #fff;
    font-size: 18px;
    margin: 0;
}

.nexus-workflow-form p,
.nexus-workflow-block-heading p {
    color: #9fb2c8;
    margin: 0;
}

.nexus-workflow-fields {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

.nexus-frontend-dashboard .nexus-workflow-fields {
    display: grid !important;
    grid-template-columns: 1fr !important;
}

.nexus-workflow-form-form .nexus-workflow-fields {
    grid-template-columns: 1fr;
}

.nexus-workflow-fields label {
    min-width: 0;
}

.nexus-workflow-fields .button {
    justify-content: center;
    min-width: 150px;
    width: 100%;
}

.nexus-workflow-form label,
.nexus-workflow-report-type span {
    color: #e5edf7;
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 6px;
}

.nexus-workflow-inline {
    display: flex;
    gap: 10px;
}

.nexus-workflow-inline input {
    min-width: 0;
    width: 100%;
}

.nexus-workflow-results {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    max-width: 1180px;
}

.nexus-workflow-result,
.nexus-workflow-report {
    background: rgba(15, 23, 42, .72);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    gap: 16px;
    padding: 14px;
}

.nexus-workflow-result {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-width: 0;
}

.nexus-workflow-report {
    display: grid;
    max-width: 1180px;
}

.nexus-workflow-result-main {
    flex: 1 1 260px;
}

.nexus-workflow-result-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.nexus-workflow-action-form,
.nexus-workflow-action-fields {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nexus-workflow-action-fields label {
    color: #e5edf7;
    display: grid;
    font-size: 12px;
    font-weight: 800;
    gap: 5px;
}

.nexus-workflow-person-result {
    display: grid;
}

.nexus-workflow-children {
    flex-basis: 100%;
    margin-top: 10px;
}

.nexus-workflow-appointments,
.nexus-workflow-children {
    display: grid;
    gap: 10px;
}

.nexus-workflow-appointment {
    align-items: center;
    background: rgba(2, 6, 23, .34);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 12px;
}

.nexus-workflow-result strong,
.nexus-workflow-appointment strong,
.nexus-workflow-report h3 {
    color: #fff;
    display: block;
    font-size: 17px;
    margin: 0 0 4px;
}

.nexus-workflow-result span,
.nexus-workflow-appointment span,
.nexus-workflow-report span,
.nexus-workflow-result p,
.nexus-workflow-report p {
    color: #9fb2c8;
    margin: 0;
}

.nexus-workflow-message {
    border-radius: 8px;
    display: grid;
    gap: 3px;
    font-weight: 700;
    padding: 12px 14px;
}

.nexus-workflow-error {
    background: rgba(251, 113, 133, .12);
    border: 1px solid rgba(251, 113, 133, .34);
    color: #fecdd3;
}

.nexus-workflow-success {
    background: rgba(110, 231, 183, .12);
    border: 1px solid rgba(110, 231, 183, .34);
    color: #bbf7d0;
}

.nexus-workflow-notice {
    background: rgba(96, 165, 250, .12);
    border: 1px solid rgba(96, 165, 250, .34);
    color: #bfdbfe;
}

.nexus-workflow-report-type {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}

.nexus-workflow-block {
    display: grid;
    gap: 12px;
}

.nexus-workflow-panel-actions {
    display: grid;
    gap: 12px;
    max-width: 1180px;
}

.nexus-workflow-panel-action {
    align-items: flex-start;
    background: rgba(15, 23, 42, .72);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    padding: 14px;
}

.nexus-workflow-panel-action-copy {
    flex: 1 1 320px;
}

.nexus-workflow-panel-action-copy strong {
    color: #fff;
    display: block;
    font-size: 16px;
    margin: 0 0 6px;
}

.nexus-workflow-panel-action-copy p,
.nexus-workflow-panel-action-copy li {
    color: #9fb2c8;
}

.nexus-workflow-panel-action-html {
    background: rgba(2, 6, 23, .26);
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 8px;
    color: #dbeafe;
    margin-top: 10px;
    padding: 12px;
}

.nexus-workflow-panel-action-html h4 {
    color: #fff;
    margin: 0 0 8px;
}

.nexus-workflow-panel-action-html ul {
    margin: 6px 0 0 18px;
}

.nexus-workflow-panel-action-controls {
    align-items: flex-start;
    display: flex;
    flex: 0 1 320px;
    justify-content: flex-end;
}

.nexus-workflow-key-value dl {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 0;
}

.nexus-workflow-key-value dl div,
.nexus-workflow-report-meta {
    background: rgba(2, 6, 23, .34);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    padding: 10px;
}

.nexus-workflow-key-value dt {
    color: #9fb2c8;
    font-size: 12px;
    font-weight: 800;
}

.nexus-workflow-key-value dd {
    color: #fff;
    margin: 3px 0 0;
}

.nexus-workflow-report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nexus-workflow-report-body {
    background: #fff;
    border-radius: 8px;
    color: #1f2937;
    padding: 18px;
}

.nexus-workflow-report-details,
.nexus-workflow-panel-action-details {
    display: grid;
    gap: 10px;
}

.nexus-workflow-report-details > summary,
.nexus-workflow-panel-action-details > summary {
    background: rgba(34, 211, 238, .12);
    border: 1px solid rgba(34, 211, 238, .32);
    border-radius: 8px;
    color: #cffafe;
    cursor: pointer;
    font-weight: 900;
    padding: 12px 14px;
}

.nexus-workflow-panel-action-details {
    margin-top: 10px;
}

.nexus-workflow-report-body,
.nexus-workflow-report-body p,
.nexus-workflow-report-body li,
.nexus-workflow-report-body dd {
    color: #1f2937;
}

.nexus-workflow-report-body h1,
.nexus-workflow-report-body h2,
.nexus-workflow-report-body h3,
.nexus-workflow-report-body h4,
.nexus-workflow-report-body dt,
.nexus-workflow-report-body strong {
    color: #0f172a;
}

.nexus-surface-render-error {
    margin-top: 12px;
}

.nexus-status,
.nexus-job-status {
    background: rgba(110, 231, 183, .12);
    border: 1px solid rgba(110, 231, 183, .44);
    border-radius: 8px;
    color: var(--nexus-green);
    display: inline-flex;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 8px;
    text-transform: uppercase;
}

.nexus-status-muted {
    background: rgba(148, 163, 184, .12);
    border-color: rgba(148, 163, 184, .42);
    color: var(--nexus-muted);
}

.nexus-job-failed {
    background: rgba(251, 113, 133, .12);
    border-color: rgba(251, 113, 133, .48);
    color: var(--nexus-pink);
}

.nexus-job-queued,
.nexus-job-needs_input {
    background: rgba(253, 224, 71, .12);
    border-color: rgba(253, 224, 71, .46);
    color: var(--nexus-yellow);
}

.nexus-job-running {
    background: rgba(34, 211, 238, .12);
    border-color: rgba(34, 211, 238, .48);
    color: var(--nexus-cyan);
}

.nexus-artifact-draft,
.nexus-artifact-generated,
.nexus-artifact-needs_review {
    background: rgba(253, 224, 71, .12);
    border-color: rgba(253, 224, 71, .46);
    color: var(--nexus-yellow);
}

.nexus-artifact-reviewed,
.nexus-artifact-approved,
.nexus-artifact-exported {
    background: rgba(110, 231, 183, .12);
    border-color: rgba(110, 231, 183, .44);
    color: var(--nexus-green);
}

.nexus-artifact-failed {
    background: rgba(251, 113, 133, .12);
    border-color: rgba(251, 113, 133, .48);
    color: var(--nexus-pink);
}

.nexus-artifact-superseded,
.nexus-artifact-archived {
    background: rgba(148, 163, 184, .12);
    border-color: rgba(148, 163, 184, .42);
    color: var(--nexus-muted);
}

.nexus-priority-urgent,
.nexus-priority-high,
.nexus-lead-failed,
.nexus-lead-needs_review {
    background: rgba(251, 113, 133, .12);
    border-color: rgba(251, 113, 133, .48);
    color: var(--nexus-pink);
}

.nexus-priority-normal,
.nexus-lead-new,
.nexus-lead-needs_verify,
.nexus-lead-verify_running {
    background: rgba(253, 224, 71, .12);
    border-color: rgba(253, 224, 71, .46);
    color: var(--nexus-yellow);
}

.nexus-priority-low,
.nexus-lead-available,
.nexus-lead-assigned,
.nexus-lead-contacted,
.nexus-lead-signed_up {
    background: rgba(110, 231, 183, .12);
    border-color: rgba(110, 231, 183, .44);
    color: var(--nexus-green);
}

.nexus-job-cancelled {
    background: rgba(148, 163, 184, .12);
    border-color: rgba(148, 163, 184, .42);
    color: var(--nexus-muted);
}

.nexus-meta {
    color: var(--nexus-blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    margin: 12px 0;
    text-transform: uppercase;
}

.nexus-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 12px 0;
}

.nexus-chip-row span {
    background: rgba(34, 211, 238, .1);
    border: 1px solid rgba(34, 211, 238, .3);
    border-radius: 8px;
    color: #a5f3fc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    padding: 4px 7px;
}

.nexus-stats {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 14px 0;
}

.nexus-stats div {
    background: rgba(2, 6, 23, .46);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    padding: 10px;
}

.nexus-stats span {
    color: var(--nexus-muted);
    display: block;
    font-size: 12px;
}

.nexus-stats strong {
    color: #fff;
    display: block;
    font-size: 18px;
    margin-top: 4px;
}

.nexus-health {
    align-items: center;
    border-top: 1px solid rgba(148, 163, 184, .18);
    color: var(--nexus-muted);
    display: flex;
    font-size: 12px;
    gap: 7px;
    margin-bottom: 12px;
    margin-top: 14px;
    padding-top: 12px;
}

.nexus-health-dot {
    background: var(--nexus-green);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--nexus-green);
    display: inline-block;
    flex: 0 0 auto;
    height: 8px;
    width: 8px;
}

.nexus-health-muted {
    background: var(--nexus-muted);
    box-shadow: 0 0 12px rgba(159, 178, 200, .55);
}

.nexus-table {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, .22);
    color: var(--nexus-muted);
}

.nexus-table thead th {
    background: rgba(2, 6, 23, .72);
    border-bottom: 1px solid rgba(148, 163, 184, .22);
    color: var(--nexus-cyan);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    text-transform: uppercase;
}

.nexus-table tbody td {
    background: rgba(15, 23, 42, .42);
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    color: #cbd5e1;
    vertical-align: middle;
}

.nexus-table tbody tr:hover td {
    background: rgba(34, 211, 238, .08);
}

.nexus-table strong {
    color: #fff;
}

.nexus-row-note {
    color: var(--nexus-muted);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    margin-top: 3px;
}

.nexus-capability-list {
    display: grid;
    gap: 10px;
}

.nexus-collapsible-panel {
    align-self: start;
}

.nexus-collapsible-summary {
    cursor: pointer;
    list-style: none;
    margin-bottom: 0;
}

.nexus-collapsible-summary::-webkit-details-marker {
    display: none;
}

.nexus-collapsible-summary::after {
    border: solid var(--nexus-cyan);
    border-width: 0 2px 2px 0;
    content: "";
    height: 8px;
    margin-left: 14px;
    transform: rotate(45deg);
    transition: transform .18s ease;
    width: 8px;
}

.nexus-collapsible-panel[open] .nexus-collapsible-summary::after {
    transform: rotate(225deg);
}

.nexus-collapsible-panel .nexus-empty,
.nexus-collapsible-panel .nexus-capability-list {
    margin-top: 0;
}

.nexus-capability {
    background: rgba(2, 6, 23, .42);
    border: 1px solid rgba(148, 163, 184, .18);
    border-left: 3px solid var(--nexus-yellow);
    border-radius: 8px;
    padding: 12px;
}

.nexus-capability span {
    color: var(--nexus-muted);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.nexus-capability strong {
    color: #fff;
    display: block;
}

.nexus-capability code {
    background: rgba(2, 6, 23, .78);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 999px;
    color: var(--nexus-cyan);
    display: inline-block;
    font-size: 11px;
    margin-top: 7px;
    padding: 3px 7px;
}

.nexus-capability p {
    color: #cbd5e1;
    margin: 8px 0 0;
}

.nexus-capability-flags {
    margin-top: 10px;
}

.nexus-settings-panel {
    max-width: 760px;
}

.nexus-profile-manager-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.nexus-profile-form {
    display: grid;
    gap: 16px;
}

.nexus-profile-form label {
    color: var(--nexus-ink);
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.nexus-profile-form label > span {
    color: #fff;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nexus-profile-form input[type="text"],
.nexus-profile-form input[type="url"],
.nexus-profile-form textarea {
    background: rgba(2, 6, 23, .78);
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 8px;
    color: #fff;
    max-width: none;
    width: 100%;
}

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

.nexus-profile-options {
    display: grid;
    gap: 8px;
}

.nexus-profile-options label {
    align-items: center;
    background: rgba(15, 23, 42, .64);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    color: #dbeafe;
    display: flex;
    font-weight: 700;
    gap: 8px;
    padding: 10px 12px;
}

.nexus-profile-picker,
.nexus-profile-picker-grid section {
    background: rgba(15, 23, 42, .44);
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 8px;
    padding: 14px;
}

.nexus-profile-picker h3,
.nexus-profile-picker-grid h3 {
    color: #fff;
    font-size: 14px;
    letter-spacing: .05em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.nexus-profile-picker p {
    color: var(--nexus-muted);
    margin: 0 0 12px;
}

.nexus-check-list {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-height: 360px;
    overflow: auto;
    padding-right: 4px;
}

.nexus-check-list-compact {
    grid-template-columns: 1fr;
    max-height: 250px;
}

.nexus-check-list label {
    align-items: flex-start;
    background: rgba(2, 6, 23, .5);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    display: flex;
    gap: 9px;
    padding: 10px;
}

.nexus-check-list input {
    margin-top: 3px;
}

.nexus-check-list span {
    color: #fff;
    display: grid;
    font-weight: 800;
    line-height: 1.35;
}

.nexus-check-list em {
    color: var(--nexus-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.nexus-profile-list {
    display: grid;
    gap: 12px;
}

.nexus-profile-row {
    background: rgba(15, 23, 42, .68);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    padding: 14px;
}

.nexus-profile-row strong {
    color: #fff;
    display: block;
    font-size: 15px;
}

.nexus-profile-row span {
    color: var(--nexus-cyan);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 900;
    margin-top: 4px;
}

.nexus-profile-row p {
    color: var(--nexus-muted);
    margin: 10px 0 12px;
}

.nexus-inline-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nexus-inline-actions form {
    margin: 0;
}

.nexus-settings-panel h2,
.nexus-settings-panel p,
.nexus-settings-panel label,
.nexus-settings-panel th,
.nexus-settings-panel td {
    color: var(--nexus-ink);
}

.nexus-hero-compact {
    grid-template-columns: minmax(0, 1fr) max-content;
    min-height: 132px;
}

.nexus-hero-compact h1 {
    font-size: 44px;
}

.nexus-wp-notice {
    margin: 0 0 16px;
}

.nexus-task-dashboard {
    min-height: 280px;
}

.nexus-task-dashboard-header {
    align-items: end;
    gap: 16px;
}

.nexus-task-dashboard-header > div span {
    color: var(--nexus-muted);
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    margin-top: 4px;
    text-transform: uppercase;
}

.nexus-filter-form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.nexus-filter-form label {
    color: var(--nexus-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.nexus-filter-form select {
    max-width: 180px;
}

.nexus-filter-form input[type="text"] {
    max-width: 160px;
}

.nexus-task-list {
    display: grid;
    gap: 12px;
}

.nexus-task-list-compact .nexus-task-card {
    grid-template-columns: minmax(0, 1fr);
}

.nexus-task-list-compact .nexus-task-state {
    align-items: flex-start;
}

.nexus-task-card {
    align-items: center;
    background: rgba(2, 6, 23, .46);
    border: 1px solid rgba(148, 163, 184, .22);
    border-left: 4px solid var(--nexus-cyan);
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(210px, max-content);
    padding: 16px;
}

.nexus-artifact-list {
    display: grid;
    gap: 12px;
}

.nexus-artifact-card {
    align-items: center;
    background: rgba(2, 6, 23, .46);
    border: 1px solid rgba(148, 163, 184, .22);
    border-left: 4px solid var(--nexus-yellow);
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(190px, max-content);
    padding: 16px;
}

.nexus-artifact-main p {
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 12px;
}

.nexus-artifact-lineage {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.nexus-artifact-lineage span,
.nexus-artifact-lineage strong {
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 999px;
    color: var(--nexus-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    padding: 5px 8px;
}

.nexus-artifact-lineage strong {
    color: #fff;
}

.nexus-task-title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.nexus-task-title-row h3 {
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
    min-width: min(100%, 260px);
}

.nexus-task-main p {
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 12px;
}

.nexus-task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.nexus-task-meta span {
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 999px;
    color: var(--nexus-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    padding: 5px 8px;
}

.nexus-task-state {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nexus-task-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
}

.nexus-task-actions form {
    margin: 0;
}

.nexus-task-actions .button {
    min-height: 32px;
}

.nexus-task-status-done {
    background: rgba(110, 231, 183, .16);
    color: var(--nexus-green);
}

.nexus-task-status-cancelled {
    background: rgba(148, 163, 184, .14);
    color: var(--nexus-muted);
}

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

    .nexus-hero-orbit {
        display: none;
    }

    .nexus-grid-primary,
    .nexus-grid-secondary,
    .nexus-profile-manager-grid,
    .nexus-command-strip,
    .nexus-health-band {
        grid-template-columns: 1fr 1fr;
    }

    .nexus-map-console {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nexus-task-card,
    .nexus-artifact-card {
        grid-template-columns: 1fr;
    }

    .nexus-task-state {
        align-items: flex-start;
    }

    .nexus-artifact-lineage {
        align-items: flex-start;
        flex-flow: row wrap;
    }

    .nexus-task-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 782px) {
    .nexus-wrap {
        padding: 10px;
    }

    .nexus-hero,
    .nexus-command-strip,
    .nexus-health-band,
    .nexus-grid-primary,
    .nexus-grid-secondary,
    .nexus-profile-manager-grid,
    .nexus-form-grid,
    .nexus-profile-picker-grid,
    .nexus-map-console {
        grid-template-columns: 1fr;
    }

    .nexus-hero {
        padding: 24px;
    }

    .nexus-hero h1 {
        font-size: 48px;
    }

    .nexus-hero-compact h1 {
        font-size: 36px;
    }

    .nexus-task-dashboard-header,
    .nexus-filter-form {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
    }

    .nexus-module-section {
        min-width: 0;
        width: 100%;
    }

    .nexus-filter-form select,
    .nexus-filter-form input[type="text"],
    .nexus-filter-form .button {
        width: 100%;
    }

    .nexus-map-stage {
        display: grid;
        gap: 12px;
        min-height: 0;
        padding: 16px;
    }

    .nexus-map-stage::before,
    .nexus-map-stage::after,
    .nexus-map-grid,
    .nexus-map-links {
        display: none;
    }

    .nexus-core-node,
    .nexus-map-node,
    .nexus-map-empty {
        left: auto;
        max-width: none;
        min-width: 0;
        position: relative;
        top: auto;
        transform: none;
        width: auto;
    }

    .nexus-core-node {
        aspect-ratio: auto;
        border-radius: 8px;
        height: auto;
        min-height: 132px;
    }

    .nexus-core-node::before {
        display: none;
    }

    .nexus-workflow-inline,
    .nexus-workflow-result,
    .nexus-workflow-appointment,
    .nexus-workflow-panel-action,
    .nexus-workflow-action-form {
        align-items: stretch;
        flex-direction: column;
    }

    .nexus-workflow-fields,
    .nexus-workflow-form-form .nexus-workflow-fields {
        grid-template-columns: 1fr;
    }

    .nexus-workflow-result .button,
    .nexus-workflow-inline .button,
    .nexus-workspace-card .button,
    .nexus-workflow-fields .button,
    .nexus-workflow-panel-action .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nexus-map-stage::after,
    .nexus-core-node::before {
        animation: none;
    }
}
