:root {
    --bg: #05070d;
    --ink: #f4f0e8;
    --muted: #cdbca6;
    --line: rgba(245, 186, 73, 0.18);
    --panel: rgba(13, 17, 25, 0.84);
    --panel-strong: rgba(18, 23, 32, 0.92);
    --accent: #ff4c33;
    --accent-2: #f5ba49;
    --accent-3: #77f3ca;
    --danger: #ff8f86;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "IBM Plex Sans", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(245, 186, 73, 0.16), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(255, 76, 51, 0.18), transparent 30%),
        linear-gradient(180deg, #06080c 0%, #0f131b 42%, #080b11 100%);
}

.atmosphere,
.grid-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.atmosphere {
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 76, 51, 0.10), transparent 24%),
        radial-gradient(circle at 80% 20%, rgba(245, 186, 73, 0.08), transparent 22%);
}

.grid-noise {
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
}

.shell {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 20px 72px;
}

.masthead {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.brand-kicker,
.eyebrow,
.tool-badge,
.card-kicker,
.label {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
}

.brand-kicker,
.tool-badge,
.safety-pill,
.portal-chip,
.mini-pill {
    display: inline-flex;
    width: fit-content;
    border: 1px solid rgba(245, 186, 73, 0.28);
    border-radius: 999px;
    padding: 7px 12px;
    color: #f8e8cf;
    background: rgba(17, 22, 32, 0.82);
}

.brand-wordmark {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-family: "Azeret Mono", monospace;
    font-size: clamp(42px, 8vw, 84px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.brand-tengu {
    color: #f8f4ed;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.10);
}

.brand-trade {
    color: var(--accent);
    text-shadow: 0 0 24px rgba(255, 76, 51, 0.24);
}

.portal-user {
    display: flex;
    gap: 12px;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ghost-link {
    color: var(--muted);
    text-decoration: none;
}

.ghost-link:hover {
    color: var(--ink);
}

.hero,
.tool-card,
.status-card,
.login-card,
.monitor-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 18px;
    padding: 28px;
}

.hero-copy h1 {
    margin: 0 0 16px;
    font-family: "Azeret Mono", monospace;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero-copy p,
.status-card p,
.login-card p,
.tool-card p,
.monitor-card p,
.tool-meta {
    color: var(--muted);
    line-height: 1.6;
    font-size: 16px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--accent-2);
}

.wide {
    max-width: 780px;
}

.safety-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.safety-pill {
    border-color: rgba(119, 243, 202, 0.18);
    color: #def8ef;
}

.gate {
    align-items: stretch;
}

.login-card {
    padding: 24px;
    background: var(--panel-strong);
}

.card-head h2 {
    margin: 8px 0 8px;
    font-family: "Azeret Mono", monospace;
    font-size: 28px;
}

.notice {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(119, 243, 202, 0.12);
    border: 1px solid rgba(119, 243, 202, 0.22);
}

.notice.danger {
    color: #ffe0dc;
    background: rgba(255, 76, 51, 0.12);
    border-color: rgba(255, 76, 51, 0.22);
}

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

.login-form label {
    display: grid;
    gap: 8px;
}

.login-form span {
    color: var(--muted);
    font-size: 14px;
}

.login-form input {
    width: 100%;
    border: 1px solid rgba(245, 186, 73, 0.16);
    border-radius: 14px;
    background: rgba(8, 12, 18, 0.88);
    color: var(--ink);
    padding: 14px 16px;
    font: inherit;
}

.login-form input:focus {
    outline: none;
    border-color: rgba(255, 76, 51, 0.42);
    box-shadow: 0 0 0 4px rgba(255, 76, 51, 0.10);
}

.login-form button,
.tool-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border: none;
    border-radius: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #ff6a3d 0%, #ff4230 58%, #f5ba49 100%);
    color: #120e0b;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.status-stack {
    display: grid;
    gap: 14px;
}

.shell-compact {
    max-width: 1800px;
    padding-top: 8px;
}

.shell-compact .masthead {
    align-items: center;
    margin-bottom: 10px;
}

.shell-compact .brand-lockup {
    width: 100%;
}

.shell-compact .brand-wordmark {
    font-size: clamp(28px, 4vw, 48px);
}

.portal-wordmark {
    display: block;
    width: clamp(260px, 30vw, 420px);
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.24));
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 20px;
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 76, 51, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(13, 17, 25, 0.96), rgba(9, 12, 18, 0.88));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.dashboard-copy h1 {
    margin: 0 0 14px;
    font-family: "Azeret Mono", monospace;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.dashboard-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 16px;
}

.dashboard-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.dashboard-visual {
    display: grid;
    gap: 14px;
    align-content: start;
}

.dashboard-brand-art {
    width: 100%;
    display: block;
    border: 1px solid rgba(245, 186, 73, 0.14);
    border-radius: 22px;
    background: rgba(8, 12, 18, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dashboard-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.overview-chip {
    padding: 14px 16px;
    border: 1px solid rgba(245, 186, 73, 0.12);
    border-radius: 18px;
    background: rgba(8, 12, 18, 0.74);
}

.overview-chip span,
.scorecard-metric span,
.scorecard-line span,
.tool-brand-title + p {
    color: var(--muted);
}

.overview-chip span,
.scorecard-metric span,
.scorecard-line span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.overview-chip strong {
    display: block;
    margin-top: 8px;
    font-family: "Azeret Mono", monospace;
    font-size: 18px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.scorecard {
    min-height: 100%;
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(245, 186, 73, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(12, 16, 24, 0.92), rgba(8, 12, 18, 0.88));
}

.scorecard-planned {
    background:
        radial-gradient(circle at top right, rgba(119, 243, 202, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(11, 16, 24, 0.92), rgba(8, 12, 18, 0.88));
}

.scorecard-overall {
    color: #24170a;
    border-color: rgba(145, 93, 6, 0.24);
    background:
        radial-gradient(circle at top right, rgba(255, 245, 206, 0.58), transparent 30%),
        linear-gradient(180deg, #f0c865 0%, #dba635 54%, #c98518 100%);
}

.scorecard-overall .tool-brand {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 248, 225, 0.34), transparent 32%),
        linear-gradient(180deg, rgba(89, 56, 9, 0.18), rgba(72, 44, 8, 0.08));
    border-bottom-color: rgba(92, 57, 6, 0.18);
}

.scorecard-overall .tool-brand::after {
    background:
        radial-gradient(circle at left center, rgba(74, 45, 7, 0.16), transparent 30%),
        radial-gradient(circle at right center, rgba(74, 45, 7, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(244, 214, 126, 0.04) 0%, rgba(145, 93, 6, 0.08) 54%, rgba(94, 57, 6, 0.28) 100%);
}

.scorecard-head {
    display: grid;
    gap: 18px;
    min-height: 0;
    margin-bottom: 16px;
}

.tool-brand {
    position: relative;
    min-width: 0;
    min-height: 248px;
    margin: -24px -24px 0;
    overflow: hidden;
    border-radius: 26px 26px 28px 28px;
    background:
        radial-gradient(circle at 18% 18%, rgba(245, 186, 73, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(12, 16, 24, 0.92), rgba(8, 12, 18, 0.84));
    border-bottom: 1px solid rgba(245, 186, 73, 0.14);
}

.tool-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at left center, rgba(8, 12, 18, 0.56), transparent 30%),
        radial-gradient(circle at right center, rgba(8, 12, 18, 0.56), transparent 30%),
        linear-gradient(180deg, rgba(8, 12, 18, 0.06) 0%, rgba(8, 12, 18, 0.18) 54%, rgba(8, 12, 18, 0.9) 100%);
    pointer-events: none;
}

.scorecard-summary {
    display: grid;
    gap: 16px;
}

.scorecard-subtitle {
    margin: 0;
    color: rgba(242, 231, 211, 0.78);
    font-size: 14px;
    line-height: 1.5;
}

.scorecard-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.scorecard-actions .state-pill,
.scorecard-actions .tool-link {
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.tool-logo {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
}

.tool-logo-art {
    min-height: 248px;
}

.tool-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.96;
    transform: scale(1.02);
    filter: saturate(1.04) contrast(1.02);
}

.tool-logo-block {
    justify-content: center;
    align-items: center;
    min-width: 260px;
    min-height: 248px;
    background:
        radial-gradient(circle at 30% 20%, rgba(245, 186, 73, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(18, 23, 32, 0.96), rgba(8, 12, 18, 0.88));
}

.tool-logo-mark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 180px;
    border-radius: 42px;
    font-family: "Azeret Mono", monospace;
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #0f1116;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

.logo-theme-crypto-spot .tool-logo-mark {
    background: linear-gradient(135deg, #f5ba49 0%, #ff6a3d 100%);
}

.logo-theme-betfair .tool-logo-mark {
    background: linear-gradient(135deg, #f8f4ed 0%, #d8d6d2 100%);
}

.tool-logo-copy strong,
.tool-brand-title {
    display: block;
    font-family: "Azeret Mono", monospace;
    font-size: 22px;
    line-height: 1.08;
}

.tool-logo-copy span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.tool-brand-copy {
    display: grid;
    gap: 8px;
}

.tool-brand-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

.tool-link-static {
    cursor: default;
}

.tool-state-inline {
    margin: 0;
    justify-content: flex-start;
}

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

.scorecard-metric,
.scorecard-line {
    border: 1px solid rgba(245, 186, 73, 0.12);
    border-radius: 18px;
    background: rgba(9, 13, 19, 0.75);
}

.scorecard-metric {
    padding: 14px 16px;
}

.scorecard-metric strong,
.scorecard-line strong {
    display: block;
    margin-top: 8px;
    font-family: "Azeret Mono", monospace;
    font-size: 18px;
    line-height: 1.35;
}

.scorecard-line {
    margin-top: 12px;
    padding: 14px 16px;
}

.issue-line strong {
    font-size: 16px;
    line-height: 1.45;
}

.scorecard-overall .scorecard-metric,
.scorecard-overall .scorecard-line {
    border-color: rgba(94, 57, 6, 0.18);
    background: rgba(255, 248, 230, 0.38);
}

.scorecard-overall .scorecard-metric span,
.scorecard-overall .scorecard-line span,
.scorecard-overall .activity-copy::after {
    color: rgba(60, 36, 6, 0.68);
}

.scorecard-overall .scorecard-metric strong,
.scorecard-overall .scorecard-line strong,
.scorecard-overall .activity-entry,
.scorecard-overall .activity-copy {
    color: #201308;
}

.scorecard-overall .scorecard-actions .state-pill,
.scorecard-overall .scorecard-actions .tool-link {
    border-color: rgba(72, 44, 8, 0.18);
    background: rgba(48, 30, 8, 0.88);
    color: #f8ecd5;
}

.scorecard-overall .tool-link {
    background: rgba(48, 30, 8, 0.88);
}

.activity-list {
    margin-top: 8px;
    display: grid;
    gap: 8px;
}

.activity-entry {
    font-size: 11px;
    line-height: 1.2;
    font-family: "Azeret Mono", monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-ticker {
    margin-top: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}

.activity-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content;
    animation: activity-ticker-loop 32s linear infinite;
    will-change: transform;
}

.activity-copy {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    font-size: 12px;
    line-height: 1.2;
    font-family: "Azeret Mono", monospace;
    white-space: nowrap;
    padding-right: 28px;
}

.activity-copy::after {
    content: "•";
    margin-left: 28px;
    color: var(--accent-2);
}

@keyframes activity-ticker-loop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.snapshot-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 16px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(12, 16, 24, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.snapshot-bar h1 {
    margin: 0;
    font-family: "Azeret Mono", monospace;
    font-size: clamp(22px, 2.5vw, 34px);
    line-height: 1.05;
}

.snapshot-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

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

.compact-card {
    padding: 18px 18px 16px;
    min-height: 0;
}

.compact-head {
    align-items: center;
    margin-bottom: 10px;
}

.compact-card h2 {
    margin: 10px 0 6px;
    font-size: 22px;
    line-height: 1.05;
}

.compact-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.compact-state {
    margin: 0 0 12px;
}

.snapshot-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.snapshot-metric,
.snapshot-line {
    border: 1px solid rgba(245, 186, 73, 0.12);
    border-radius: 16px;
    background: rgba(9, 13, 19, 0.74);
}

.snapshot-metric {
    padding: 12px 14px;
}

.snapshot-metric span,
.snapshot-line span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.snapshot-metric strong,
.snapshot-line strong {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.35;
}

.snapshot-line {
    padding: 12px 14px;
    margin-top: 10px;
}

.status-card {
    padding: 20px;
}

.status-card strong {
    display: block;
    margin: 6px 0 8px;
    font-family: "Azeret Mono", monospace;
    font-size: 24px;
}

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

.future-section {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(11, 15, 23, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
    font-family: "Azeret Mono", monospace;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.05;
}

.section-head p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.monitor-card,
.tool-card {
    padding: 24px;
}

.monitor-head,
.tool-head,
.block-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.monitor-card h3,
.tool-card h2,
.trade-block h3,
.info-block h3 {
    margin: 14px 0 12px;
    font-family: "Azeret Mono", monospace;
}

.tool-card h2 {
    font-size: 32px;
}

.monitor-card h3 {
    font-size: 24px;
}

.tool-state {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.scorecard-actions .tool-link {
    white-space: nowrap;
    min-width: 0;
}

.state-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    border: 1px solid rgba(245, 186, 73, 0.18);
    background: rgba(10, 14, 20, 0.85);
    color: #f2e7d3;
    font-size: 13px;
    letter-spacing: 0.03em;
}

.state-healthy {
    border-color: rgba(119, 243, 202, 0.28);
    color: #d7fff3;
}

.state-guarded {
    border-color: rgba(245, 186, 73, 0.30);
    color: #ffe7b3;
}

.state-degraded,
.state-down {
    border-color: rgba(255, 76, 51, 0.32);
    color: #ffd4ce;
}

.data-source-live {
    border-color: rgba(119, 243, 202, 0.24);
    color: #d7fff3;
}

.data-source-synthetic {
    border-color: rgba(255, 76, 51, 0.28);
    color: #ffd4ce;
}

.data-source-unknown {
    border-color: rgba(245, 186, 73, 0.18);
    color: #f2e7d3;
}

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

.metric,
.health-item {
    border: 1px solid rgba(245, 186, 73, 0.12);
    border-radius: 18px;
    padding: 16px;
    background: rgba(9, 13, 19, 0.75);
}

.metric-label,
.health-item span,
.alert-row span,
.alert-delivery {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.metric-value,
.health-item strong {
    display: block;
    margin-top: 8px;
    font-family: "Azeret Mono", monospace;
    font-size: 20px;
}

.info-block,
.trade-block {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(245, 186, 73, 0.10);
}

.alert-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.alert-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(245, 186, 73, 0.14);
    border-radius: 16px;
    background: rgba(7, 11, 17, 0.76);
}

.alert-copy {
    min-width: 0;
}

.alert-copy strong {
    display: block;
    margin-bottom: 6px;
}

.alert-copy p {
    margin: 0 0 8px;
    font-size: 14px;
}

.alert-meta {
    min-width: 140px;
    text-align: right;
}

.alert-severity {
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.severity-warning {
    border-color: rgba(245, 186, 73, 0.18);
}

.severity-fail,
.severity-error,
.severity-block,
.severity-deny {
    border-color: rgba(255, 76, 51, 0.22);
}

.alert-empty {
    color: var(--muted);
    padding: 16px 0 4px;
}

.placeholder-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(245, 186, 73, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(13, 18, 27, 0.96), rgba(9, 13, 19, 0.88));
}

.placeholder-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -22% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 76, 51, 0.12), transparent 68%);
    pointer-events: none;
}

.tool-link-muted {
    background: rgba(21, 27, 38, 0.92);
    color: #f6ddbf;
    border: 1px solid rgba(245, 186, 73, 0.18);
}

.placeholder-copy {
    margin: 0;
}

.placeholder-domain {
    margin-top: 16px;
    border: 1px dashed rgba(245, 186, 73, 0.18);
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(7, 11, 17, 0.62);
    color: #f6ddbf;
    font-family: "Azeret Mono", monospace;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

.placeholder-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(245, 186, 73, 0.10);
}

.placeholder-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.placeholder-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(119, 243, 202, 0.16);
    background: rgba(8, 12, 18, 0.78);
    color: #dbf8ee;
    font-size: 13px;
    line-height: 1.35;
}

.trade-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.trade-table th,
.trade-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(245, 186, 73, 0.10);
    font-size: 14px;
}

.trade-table th {
    color: var(--muted);
    font-weight: 600;
}

.row-meta {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.muted-cell {
    color: var(--muted);
}

@media (max-width: 1280px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero,
    .dashboard-hero,
    .dashboard-overview,
    .monitor-grid,
    .tool-grid,
    .future-grid {
        grid-template-columns: 1fr;
    }

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

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

    .masthead,
    .monitor-head,
    .tool-head,
    .block-head,
    .section-head,
    .snapshot-bar {
        flex-direction: column;
    }

    .snapshot-status {
        justify-content: flex-start;
    }

    .portal-user {
        position: static;
        transform: none;
    }

    .scorecard-actions {
        grid-template-columns: 1fr;
    }

    .scorecard-head {
        min-height: 0;
    }

    .tool-brand {
        min-height: 220px;
    }

    .tool-state-inline {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .shell {
        padding: 20px 14px 48px;
    }

    .hero,
    .dashboard-hero,
    .tool-card,
    .login-card,
    .monitor-card {
        padding: 20px;
        border-radius: 20px;
    }

    .brand-wordmark {
        font-size: clamp(36px, 14vw, 64px);
    }

    .portal-wordmark {
        width: min(100%, 280px);
    }

    .metric-grid,
    .health-grid,
    .scorecard-metrics {
        grid-template-columns: 1fr;
    }

    .snapshot-grid,
    .snapshot-metrics {
        grid-template-columns: 1fr;
    }

    .tool-brand {
        min-height: 188px;
    }

    .tool-logo-block {
        min-width: 190px;
        min-height: 190px;
    }

    .tool-logo-mark {
        width: 148px;
        height: 148px;
        font-size: 58px;
    }

    .alert-row {
        flex-direction: column;
    }

    .alert-meta {
        text-align: left;
        min-width: 0;
    }
}
