:root {
    --bg: #fcfdff;
    --bg-deep: #f4f8fc;
    --panel: rgba(253, 255, 255, 0.92);
    --panel-strong: rgba(250, 253, 255, 0.97);
    --panel-border: rgba(91, 140, 196, 0.14);
    --text: #142234;
    --muted: #5f7794;
    --accent: #0f67dc;
    --accent-strong: #0a4fb5;
    --highlight: #52b7ff;
    --warning: #147ff0;
    --shadow: 0 24px 80px rgba(53, 94, 138, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --content-width: 1560px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(155, 207, 255, 0.12), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(103, 165, 229, 0.06), transparent 24%),
        linear-gradient(145deg, #ffffff 0%, #fbfdff 52%, #f3f8fd 100%);
}

.auth-body {
    overflow: hidden;
}

.auth-shell {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(155, 207, 255, 0.16), transparent 32%),
        radial-gradient(circle at 82% 12%, rgba(103, 165, 229, 0.09), transparent 26%),
        linear-gradient(145deg, #ffffff 0%, #fbfdff 52%, #f3f8fd 100%);
}

.auth-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
}

.auth-glow-one {
    top: 10%;
    left: -40px;
    width: 260px;
    height: 260px;
    background: rgba(82, 183, 255, 0.18);
}

.auth-glow-two {
    right: -60px;
    bottom: 6%;
    width: 320px;
    height: 320px;
    background: rgba(15, 103, 220, 0.12);
}

.auth-card {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 34px;
    border: 1px solid rgba(91, 140, 196, 0.14);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 252, 255, 0.98));
    box-shadow: 0 28px 90px rgba(53, 94, 138, 0.12);
}

.auth-brand {
    margin-bottom: 28px;
}

.auth-copy h1 {
    margin: 10px 0 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.08;
}

.auth-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.auth-alert {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(240, 31, 31, 0.16);
    border-radius: 18px;
    background: rgba(255, 244, 244, 0.95);
    color: #b22020;
    font-weight: 600;
}

.auth-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.auth-field input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(91, 140, 196, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.auth-field input:focus {
    border-color: rgba(15, 103, 220, 0.4);
    box-shadow: 0 0 0 4px rgba(82, 183, 255, 0.14);
}

.auth-submit {
    width: 100%;
    justify-content: center;
}

a {
    color: inherit;
}

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

.page-glow {
    position: fixed;
    border-radius: 999px;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.6;
}

.page-glow-one {
    top: 90px;
    left: -80px;
    width: 280px;
    height: 280px;
    background: rgba(155, 207, 255, 0.1);
}

.page-glow-two {
    top: 220px;
    right: -80px;
    width: 340px;
    height: 340px;
    background: rgba(103, 165, 229, 0.08);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 24px 24px 12px;
}

.topbar-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    border: 1px solid rgba(91, 140, 196, 0.12);
    border-radius: 26px;
    background: rgba(253, 255, 255, 0.86);
    box-shadow: 0 18px 50px rgba(53, 94, 138, 0.06);
    backdrop-filter: blur(14px);
}

.brand,
.topnav,
.glass-card {
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    text-decoration: none;
}

.brand strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f67dc, #52b7ff);
    color: #f7fbff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 103, 220, 0.3);
}

.topnav {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(91, 140, 196, 0.1);
    border-radius: 999px;
    background: rgba(240, 247, 255, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 10px 26px rgba(15, 103, 220, 0.14);
}

.topnav a {
    position: relative;
    padding: 14px 20px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.topnav a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.18));
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.topnav a:hover,
.topnav a.active {
    color: var(--text);
    transform: translateY(-1px);
}

.topnav a:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(223, 240, 255, 0.96));
    box-shadow:
        0 10px 24px rgba(15, 103, 220, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.topnav a:hover::after,
.topnav a.active::after {
    opacity: 1;
}

.topnav a.active {
    color: #f7fbff;
    background: linear-gradient(135deg, #0d5fd7, #43adff);
    box-shadow:
        0 14px 28px rgba(15, 103, 220, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.topnav a.active::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
}

.topbar-note {
    justify-self: end;
    padding: 10px 14px;
    border: 1px solid rgba(91, 140, 196, 0.1);
    border-radius: 18px;
    background: rgba(247, 251, 255, 0.95);
    text-align: right;
}

.topbar-note-label {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.topbar-note strong {
    display: block;
    margin-top: 4px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.98rem;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(240, 247, 255, 0.95);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.topbar-link:hover {
    background: linear-gradient(135deg, #0d5fd7, #43adff);
    color: #f7fbff;
    transform: translateY(-1px);
}

.main {
    position: relative;
    z-index: 1;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 24px 24px 40px;
}

.time-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 6px;
    margin-bottom: 24px;
}

.time-card {
    padding: 18px 20px;
    border: 1px solid rgba(91, 140, 196, 0.1);
    border-radius: 20px;
    background: rgba(252, 254, 255, 0.88);
    box-shadow: 0 10px 24px rgba(53, 94, 138, 0.05);
    overflow: hidden;
}

.time-label {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.time-value {
    display: block;
    margin-top: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.02em;
    line-height: 1.45;
    word-break: break-word;
}

.hero-grid,
.content-grid,
.two-up,
.three-up,
.corr-summary-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: stretch;
    margin-top: 20px;
}

.content-grid {
    margin-top: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.one-up {
    grid-template-columns: 1fr;
}

.two-up {
    grid-template-columns: 1.3fr 1fr;
}

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

.glass-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.99));
    box-shadow: var(--shadow);
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 36%);
    pointer-events: none;
}

.hero-copy h1,
.page-heading h1,
.feature-card h2 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.02;
}

.hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.hero-copy p,
.page-heading p,
.feature-card p,
.metric-card small,
.console-card pre {
    color: var(--muted);
}

.hero-copy p,
.page-heading p {
    max-width: 60ch;
    margin: 18px 0 0;
    font-size: 1.05rem;
    line-height: 1.75;
}

.eyebrow,
.section-kicker,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.eyebrow,
.section-kicker {
    color: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-inline {
    margin-top: 18px;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.button-inline:disabled {
    cursor: wait;
    opacity: 0.7;
}

.button-primary {
    background: linear-gradient(135deg, #176fe2, #69c0ff);
    color: #f7fbff;
    box-shadow: 0 16px 40px rgba(23, 111, 226, 0.3);
}

.button-secondary {
    border: 1px solid rgba(91, 140, 196, 0.12);
    background: rgba(251, 253, 255, 0.9);
    color: var(--text);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    height: 100%;
}

.metric-card,
.feature-card {
    min-height: 100%;
}

.metric-card span {
    display: block;
    color: var(--warning);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.metric-card strong {
    display: block;
    margin-top: 14px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    padding-top: 0.14em;
    padding-bottom: 0.04em;
    text-rendering: geometricPrecision;
    font-variant-numeric: lining-nums tabular-nums;
}

.metric-card small {
    display: block;
    margin-top: 8px;
    line-height: 1.6;
}

.accent-card {
    background: linear-gradient(180deg, rgba(199, 226, 255, 0.98), rgba(237, 247, 255, 0.96));
}

.feature-card h2 {
    margin-top: 14px;
    font-size: 1.55rem;
}

.feature-card p {
    margin-top: 12px;
    line-height: 1.7;
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}

.page-heading h1 {
    margin-top: 10px;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.status-pill {
    flex-shrink: 0;
    padding: 12px 16px;
    border: 1px solid rgba(62, 123, 198, 0.16);
    border-radius: 999px;
    color: var(--text);
    background: rgba(105, 192, 255, 0.2);
}

.compact-card h2 {
    font-size: 1.25rem;
}

.large-metric {
    min-height: 220px;
}

.console-card pre {
    margin: 18px 0 0;
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(240, 247, 255, 0.74);
    border: 1px solid rgba(91, 140, 196, 0.08);
    font-family: Consolas, Monaco, monospace;
    white-space: pre-wrap;
}

.plot-stack {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.plot-card {
    padding: 24px;
}

.plot-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.plot-card-header h2 {
    margin: 8px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.4rem;
}

.plot-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.plot-frame {
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    border: 1px solid rgba(91, 140, 196, 0.08);
    background: rgba(242, 248, 255, 0.82);
    padding: 2px;
    width: 100%;
}

.db-panels {
    align-items: start;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.summary-card {
    padding: 18px;
    border: 1px solid rgba(91, 140, 196, 0.1);
    border-radius: 18px;
    background: rgba(251, 254, 255, 0.8);
}

.summary-card span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.summary-card strong {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-word;
}

.inline-feedback,
.empty-copy {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.field-label {
    display: block;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.number-input {
    width: 100%;
    margin-top: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(91, 140, 196, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
}

.number-input:focus {
    outline: none;
    border-color: rgba(15, 103, 220, 0.42);
    box-shadow: 0 0 0 4px rgba(82, 183, 255, 0.14);
}

.table-wrap {
    margin-top: 18px;
    overflow: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.wide-table {
    min-width: 760px;
}

.data-table th,
.data-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(91, 140, 196, 0.1);
    text-align: left;
    vertical-align: top;
}

.data-table th {
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.log-tail {
    min-height: 360px;
    margin: 18px 0 0;
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(240, 247, 255, 0.78);
    border: 1px solid rgba(91, 140, 196, 0.08);
    font-family: Consolas, Monaco, monospace;
    white-space: pre-wrap;
    overflow: auto;
}

.large-log-tail {
    min-height: 620px;
}

.site-footer {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px 36px;
}

.site-footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
    border: 1px solid rgba(91, 140, 196, 0.1);
    border-radius: 24px;
    background: rgba(252, 254, 255, 0.9);
    box-shadow: 0 10px 30px rgba(53, 94, 138, 0.06);
}

.metric-card.compact-metric strong {
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.14;
    padding-top: 0.16em;
}

.metric-card.compact-metric small {
    font-size: 0.92rem;
}

.site-footer-label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer-shell p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.site-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: right;
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state h2 {
    margin: 12px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.9rem;
}

.empty-state p {
    max-width: 54ch;
    margin: 14px auto 0;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .topbar {
        padding: 18px 18px 10px;
    }

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

    .topbar-shell {
        grid-template-columns: 1fr;
        justify-items: start;
        width: 100%;
    }

    .hero-grid,
    .content-grid,
    .two-up,
    .three-up,
    .corr-summary-grid {
        grid-template-columns: 1fr;
    }

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

    .summary-grid {
        grid-template-columns: 1fr;
    }

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

    .site-footer-shell {
        flex-direction: column;
        align-items: start;
    }

    .site-footer-meta {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .topbar {
        padding: 14px 12px 8px;
    }

    .main {
        padding: 14px 12px 40px;
    }

    .site-footer {
        padding: 0 12px 20px;
    }

    .time-strip {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .time-card {
        padding: 14px 16px;
    }

    .glass-card {
        padding: 18px;
        border-radius: 18px;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .page-heading h1 {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .topnav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 6px;
        gap: 6px;
    }

    .topnav::-webkit-scrollbar {
        display: none;
    }

    .topnav a {
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 0.92rem;
    }

    .topbar-note {
        justify-self: start;
        width: 100%;
        text-align: left;
    }

    .plot-frame {
        aspect-ratio: 1 / 1;
        border-radius: 20px;
        padding: 0;
    }

    .plot-stack {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .plot-card {
        padding: 16px;
    }

    .plot-card-header {
        margin-bottom: 12px;
    }

    .plot-card-header h2 {
        font-size: 1.15rem;
    }

    .plot-meta {
        font-size: 0.82rem;
    }

    .summary-card {
        padding: 14px;
    }

    .data-table {
        font-size: 0.88rem;
    }

    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }

    .log-tail {
        min-height: 260px;
        padding: 14px;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
        min-width: 0;
    }

    .hero-actions {
        flex-direction: column;
    }

.auth-card {
        padding: 26px 22px;
        border-radius: 24px;
    }
}

.algo-config-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.algo-config-form label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 700;
    font-size: 0.98rem;
}

.algo-config-form input {
    border-radius: 14px;
    border: 1px solid rgba(91, 140, 196, 0.16);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
    font-weight: 600;
}

.algo-config-form input:focus {
    outline: none;
    border-color: rgba(15, 103, 220, 0.42);
    box-shadow: 0 0 0 4px rgba(82, 183, 255, 0.14);
}

.algo-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-button {
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #d3a56b, #f0d1a6);
    color: #2c190b;
    font-weight: 700;
    cursor: pointer;
}

.muted-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.algo-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.algo-stat {
    border-radius: 18px;
    padding: 16px;
    background: rgba(250, 253, 255, 0.92);
    border: 1px solid rgba(91, 140, 196, 0.1);
    box-shadow: 0 8px 20px rgba(53, 94, 138, 0.04);
}

.algo-stat strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.algo-mini-console,
.algo-winline,
.large-log-tail {
    white-space: pre-wrap;
}

.algo-mini-console {
    min-height: 180px;
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(91, 140, 196, 0.12);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: auto;
    font-family: Consolas, Monaco, monospace;
}

.algo-winline {
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 600;
}
