:root {
    --bg-900: #07111f;
    --bg-800: #0d1b2d;
    --bg-700: #172b44;
    --panel: #102238;
    --panel-border: #28496b;
    --text: #f5f8fc;
    --muted: #bdd0e2;
    --accent: #3d7fb4;
    --accent-strong: #8fc5ef;
    --button: #1f5f94;
    --button-hover: #2f7fbd;
    --button-disabled: #40566b;
    --shadow: rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(72, 145, 201, 0.14), transparent 34rem),
        linear-gradient(145deg, var(--bg-900), var(--bg-800) 48%, #091524);
}

.gate-shell,
.app-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.brand-mark {
    position: fixed;
    top: 24px;
    left: 28px;
    z-index: 10;
    color: rgba(218, 232, 245, 0.74);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.32);
}

.admin-mode-badge {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 30;
    padding: 7px 11px;
    border: 1px solid rgba(139, 185, 220, 0.38);
    border-radius: 999px;
    background: rgba(35, 62, 82, 0.78);
    color: rgba(238, 247, 255, 0.94);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.beta-access-bar {
    position: fixed;
    top: 18px;
    left: 22px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border: 1px solid rgba(147, 180, 205, 0.2);
    border-radius: 999px;
    background: rgba(12, 19, 29, 0.88);
    color: rgba(237, 242, 247, 0.88);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

.beta-access-chip {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(96, 139, 171, 0.24);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.beta-access-note,
.beta-access-user {
    font-size: 0.78rem;
    color: rgba(220, 230, 238, 0.82);
}

.beta-access-bar form {
    margin: 0;
}

.beta-access-bar button {
    border: 0;
    background: transparent;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}

.beta-login-card {
    max-width: 760px;
}

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

.beta-login-form label span {
    display: block;
    margin-bottom: 7px;
    color: rgba(232, 240, 247, 0.88);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.beta-login-form input {
    width: 100%;
    border: 1px solid rgba(155, 181, 202, 0.24);
    border-radius: 8px;
    background: rgba(5, 10, 17, 0.62);
    color: #f8fafc;
    padding: 12px;
    font: inherit;
}

.error-status {
    border-color: rgba(248, 113, 113, 0.32);
    color: #fecaca;
    background: rgba(127, 29, 29, 0.16);
}

.inline-admin-action {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.inline-admin-action button {
    padding: 7px 10px;
    border: 1px solid rgba(155, 181, 202, 0.22);
    border-radius: 7px;
    background: rgba(96, 139, 171, 0.16);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(232, 238, 244, 0.82);
    font-size: 0.86rem;
    line-height: 1.25;
}

.inline-check input {
    width: auto;
    accent-color: #8bb9dc;
}

.report-inline-check {
    margin-right: 4px;
}

.gate-card,
.workflow-card {
    width: min(760px, 100%);
    padding: 40px;
    background: linear-gradient(180deg, rgba(27, 36, 48, 0.98), rgba(19, 25, 34, 0.98));
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    box-shadow: 0 24px 70px var(--shadow);
}

.workflow-card {
    width: min(980px, 100%);
}

.placeholder-card {
    max-width: 680px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.screen-header {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    justify-content: space-between;
}

.mode-card {
    width: min(1040px, 100%);
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0 22px;
}

.mode-panel {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(184, 195, 210, 0.16);
    border-radius: 10px;
}

.mode-panel h2 {
    margin: 8px 0 12px;
    font-size: 1.55rem;
}

.mode-panel p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.55;
}

.mode-panel ul {
    margin: 0 0 24px;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.mode-kicker {
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mode-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mode-security-note {
    padding: 14px 16px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(184, 195, 210, 0.14);
    border-radius: 8px;
    line-height: 1.45;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.08;
}

.subtitle {
    max-width: 640px;
    margin: 16px 0 28px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.55;
}

.notice-panel {
    padding: 22px 24px;
    background: rgba(7, 17, 31, 0.48);
    border: 1px solid rgba(184, 195, 210, 0.22);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
}

.schema-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 22px;
    padding: 14px 16px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(184, 195, 210, 0.16);
    border-radius: 8px;
    font-size: 0.9rem;
}

.schema-note strong {
    color: var(--text);
}

.schema-note span {
    padding: 4px 8px;
    border: 1px solid rgba(155, 181, 202, 0.26);
    border-radius: 999px;
    color: #d7dee7;
}

.security-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.security-strip div {
    min-height: 70px;
    display: flex;
    align-items: center;
    padding: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(184, 195, 210, 0.14);
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.35;
}

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

.investor-profile-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 22px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(184, 195, 210, 0.16);
    border-radius: 10px;
}

.investor-profile-panel h2 {
    margin: 10px 0 10px;
    font-size: 1.35rem;
}

.investor-profile-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

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

.investor-question-grid label {
    display: grid;
    gap: 7px;
}

.investor-question {
    padding: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(155, 181, 202, 0.18);
    border-radius: 8px;
}

.investor-question.is-reviewed {
    border-color: rgba(115, 190, 155, 0.4);
    background: rgba(115, 190, 155, 0.045);
}

.investor-question-grid span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.investor-question-grid select,
.investor-question-grid .custom-income-goal-input {
    width: 100%;
    padding: 11px 12px;
    color: var(--text);
    background: rgba(9, 13, 19, 0.62);
    border: 1px solid rgba(155, 181, 202, 0.32);
    border-radius: 8px;
    font: inherit;
}

.report3-run-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.report3-run-summary div {
    padding: 12px;
    border: 1px solid rgba(155, 181, 202, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
}

.report3-run-summary span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report3-run-summary strong {
    color: var(--text);
}

.question-review-state {
    color: rgba(220, 229, 238, 0.56);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
}

.investor-question.is-reviewed .question-review-state {
    color: rgba(171, 230, 199, 0.82);
}

.upload-zone {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(155, 181, 202, 0.48);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.upload-zone:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-strong);
    transform: translateY(-1px);
}

.upload-zone input {
    margin: 18px 0 0;
    color: var(--muted);
}

.upload-kicker {
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.upload-title {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.upload-copy {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.45;
}

.file-name {
    margin-top: 12px;
    color: #d8e0ea;
    font-size: 0.9rem;
}

.template-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    color: var(--text);
    background: rgba(111, 143, 168, 0.16);
    border: 1px solid rgba(155, 181, 202, 0.44);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.template-button:hover {
    background: rgba(111, 143, 168, 0.26);
}

.initialize-button {
    grid-column: 1 / -1;
}

.initialization-panel {
    margin-top: 26px;
    padding: 22px;
    background: rgba(9, 13, 19, 0.4);
    border: 1px solid rgba(184, 195, 210, 0.16);
    border-radius: 10px;
}

.initialization-panel h2 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.initialization-steps {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.step-complete {
    color: #e6edf4;
}

.step-error {
    color: #ffb4a9;
}

.step-complete::marker {
    color: var(--accent-strong);
}

.mission-status {
    display: inline-flex;
    margin: 4px 0 20px;
    padding: 10px 14px;
    color: var(--text);
    background: rgba(111, 143, 168, 0.16);
    border: 1px solid rgba(155, 181, 202, 0.38);
    border-radius: 999px;
    font-weight: 700;
}

.notice-panel h2 {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 700;
}

.notice-panel ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.55;
}

.notice-panel li + li {
    margin-top: 8px;
}

.acceptance-form {
    margin-top: 26px;
}

.accept-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text);
    line-height: 1.45;
    cursor: pointer;
}

.accept-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

.primary-button {
    width: 100%;
    margin-top: 22px;
    padding: 14px 18px;
    border: 0;
    border-radius: 8px;
    background: var(--button);
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

.primary-button:hover:not(:disabled) {
    background: var(--button-hover);
    transform: translateY(-1px);
}

.primary-button:disabled {
    background: var(--button-disabled);
    color: rgba(245, 248, 252, 0.58);
    cursor: not-allowed;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    color: #edf2f7;
    background: rgba(111, 143, 168, 0.16);
    border: 1px solid rgba(155, 181, 202, 0.28);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
}

.secondary-button:hover {
    background: rgba(111, 143, 168, 0.26);
}

.secondary-link {
    display: inline-flex;
    margin-top: 6px;
    color: var(--accent-strong);
    text-decoration: none;
    font-weight: 700;
}

.secondary-link:hover {
    text-decoration: underline;
}

.mission-shell {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 42px 28px 36px;
}

.mission-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

.mission-title-block {
    text-align: center;
}

.mission-title-block h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.status-chip {
    padding: 7px 10px;
    color: #dce5ee;
    background: rgba(111, 143, 168, 0.12);
    border: 1px solid rgba(155, 181, 202, 0.3);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.status-chip-muted {
    color: rgba(220, 229, 238, 0.66);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(184, 195, 210, 0.16);
}

.loaded-state-note {
    margin: -4px 0 20px;
}

.retention-note {
    margin: 0 0 22px;
}

.subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 22px;
}

.report-shell-card {
    max-width: 860px;
}

.report-shell-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 4px;
}

.report-shell-form {
    display: grid;
    gap: 16px;
    margin: 28px 0 18px;
}

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

.report-shell-form span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-shell-form input,
.report-shell-form select,
.report-shell-form textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--text);
    background: rgba(9, 13, 19, 0.62);
    border: 1px solid rgba(155, 181, 202, 0.32);
    border-radius: 8px;
    font: inherit;
}

.report-shell-form textarea {
    resize: vertical;
    min-height: 96px;
}

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

.report-shell-form .report-choice-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: rgba(8, 14, 22, 0.36);
    border: 1px solid rgba(155, 181, 202, 0.18);
    border-radius: 8px;
}

.report-shell-form .report-choice-card input {
    width: auto;
}

.report-shell-form .report-choice-card span {
    color: rgba(237, 242, 247, 0.92);
}

.compact-button {
    padding: 10px 14px;
    min-height: auto;
}

.report-metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.report-metric-strip div {
    padding: 12px;
    background: rgba(8, 14, 22, 0.34);
    border: 1px solid rgba(155, 181, 202, 0.16);
    border-radius: 8px;
}

.report-metric-strip span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.report-metric-strip strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 0.95rem;
}

.table-scroll {
    overflow-x: auto;
}

.report-shell-status {
    margin-top: 16px;
}

.session-timeout-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: rgba(7, 10, 15, 0.72);
    backdrop-filter: blur(6px);
}

.session-timeout-modal[hidden] {
    display: none;
}

.session-timeout-card {
    width: min(420px, calc(100vw - 36px));
    padding: 26px;
    color: var(--text);
    background: linear-gradient(180deg, rgba(30, 39, 52, 0.98), rgba(17, 24, 33, 0.98));
    border: 1px solid rgba(155, 181, 202, 0.36);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.session-timeout-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.session-timeout-card p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.5;
}

.session-timeout-card span {
    display: inline-flex;
    min-width: 42px;
    justify-content: center;
    padding: 8px 10px;
    color: #edf2f7;
    background: rgba(111, 143, 168, 0.18);
    border: 1px solid rgba(155, 181, 202, 0.34);
    border-radius: 999px;
    font-weight: 900;
}

.mission-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
    gap: 20px;
}

.pm-posture-card,
.mission-panel {
    background: linear-gradient(180deg, rgba(28, 37, 49, 0.96), rgba(20, 27, 36, 0.96));
    border: 1px solid rgba(184, 195, 210, 0.16);
    border-radius: 12px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.pm-posture-card {
    grid-row: span 2;
    min-height: 520px;
    padding: 38px;
    border-color: rgba(155, 181, 202, 0.32);
}

.posture-launch-card {
    cursor: pointer;
    transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.posture-launch-card:hover {
    border-color: rgba(155, 181, 202, 0.56);
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.28);
    transform: translateY(-1px);
}

.mission-panel {
    padding: 24px;
}

.card-kicker {
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sample-label {
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 8px;
    color: rgba(220, 229, 238, 0.72);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(184, 195, 210, 0.16);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.report-launch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.report-launch-button,
.panel-drill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #edf2f7;
    background: rgba(111, 143, 168, 0.16);
    border: 1px solid rgba(155, 181, 202, 0.34);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.report-launch-button {
    padding: 12px 16px;
    font-size: 0.82rem;
}

.report-launch-button-secondary {
    background: rgba(255, 255, 255, 0.045);
}

.panel-drill-link {
    margin-top: 16px;
    padding: 9px 12px;
    font-size: 0.7rem;
}

.report-launch-button:hover,
.panel-drill-link:hover {
    background: rgba(111, 143, 168, 0.26);
}

.report-launch-button.is-loading {
    pointer-events: none;
    opacity: 0.72;
    background: rgba(111, 143, 168, 0.30);
}

.source-map-strip {
    margin: 0 0 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(184, 195, 210, 0.12);
    border-radius: 10px;
}

.source-map-title {
    margin-bottom: 10px;
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

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

.source-map-item {
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 195, 210, 0.1);
    border-radius: 8px;
}

.source-map-item span,
.source-map-item strong,
.source-map-item em {
    display: block;
}

.source-map-item span {
    color: #edf2f7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.source-map-item strong {
    margin-top: 5px;
    color: var(--accent-strong);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.source-map-item em {
    margin-top: 5px;
    color: rgba(220, 229, 238, 0.62);
    font-size: 0.72rem;
    font-style: normal;
    line-height: 1.35;
}

.pm-posture-card h2 {
    margin: 18px 0 18px;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 0.98;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mission-panel h2 {
    margin: 12px 0 18px;
    font-size: 1.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.context-synthesis-panel {
    border-color: rgba(155, 181, 202, 0.28);
}

.context-regime {
    display: inline-flex;
    margin-top: 12px;
    padding: 6px 9px;
    color: var(--accent-strong);
    background: rgba(111, 143, 168, 0.12);
    border: 1px solid rgba(155, 181, 202, 0.24);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.context-read {
    margin: 0 0 12px;
    color: #d3dbe4;
    line-height: 1.55;
}

.diagnosis-stack {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.diagnosis-stack div {
    padding: 12px 13px;
    background: rgba(8, 14, 22, 0.3);
    border: 1px solid rgba(155, 181, 202, 0.14);
    border-radius: 8px;
}

.diagnosis-stack .diagnosis-primary {
    background: rgba(96, 139, 171, 0.13);
    border-color: rgba(145, 183, 210, 0.28);
}

.diagnosis-stack span {
    display: block;
    margin-bottom: 5px;
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.diagnosis-stack p {
    margin: 0;
    color: rgba(237, 242, 247, 0.86);
    line-height: 1.48;
}

.beta-feedback-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    padding: 10px 14px;
    border: 1px solid rgba(147, 180, 205, 0.38);
    border-radius: 999px;
    background: rgba(25, 39, 54, 0.94);
    color: rgba(248, 250, 252, 0.96);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.beta-feedback-button:hover {
    border-color: rgba(145, 183, 210, 0.72);
    background: rgba(44, 68, 88, 0.96);
}

.beta-feedback-modal[hidden] {
    display: none;
}

.beta-feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
}

.beta-feedback-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 14, 0.74);
    backdrop-filter: blur(5px);
}

.beta-feedback-card {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    padding: 24px;
    border: 1px solid rgba(145, 183, 210, 0.22);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(23, 34, 47, 0.98), rgba(12, 18, 27, 0.98));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.beta-feedback-card h2 {
    margin: 4px 0 8px;
    color: #ffffff;
}

.beta-feedback-context {
    margin: 0 0 18px;
    color: rgba(215, 226, 235, 0.76);
}

.beta-feedback-card label {
    display: block;
    margin: 14px 0 7px;
    color: rgba(232, 240, 247, 0.88);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.beta-feedback-card select,
.beta-feedback-card textarea {
    width: 100%;
    border: 1px solid rgba(155, 181, 202, 0.24);
    border-radius: 8px;
    background: rgba(5, 10, 17, 0.62);
    color: #f8fafc;
    padding: 11px 12px;
    font: inherit;
}

.beta-feedback-card textarea {
    resize: vertical;
    min-height: 132px;
}

.beta-feedback-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(155, 181, 202, 0.2);
    border-radius: 50%;
    background: rgba(6, 12, 20, 0.4);
    color: rgba(255, 255, 255, 0.84);
    cursor: pointer;
}

.beta-feedback-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.beta-feedback-status {
    min-height: 20px;
    margin: 12px 0 0;
    color: rgba(171, 208, 233, 0.95);
}

.beta-feedback-status.is-error {
    color: #fca5a5;
}

.admin-feedback-shell .report-content {
    max-width: 1180px;
}

.feedback-viewer-topline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 180px));
    gap: 12px;
    margin-bottom: 18px;
}

.feedback-viewer-topline div {
    padding: 13px 14px;
    border: 1px solid rgba(155, 181, 202, 0.14);
    border-radius: 8px;
    background: rgba(8, 14, 22, 0.34);
}

.feedback-viewer-topline span,
.feedback-viewer-topline strong {
    display: block;
}

.feedback-viewer-topline span {
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feedback-viewer-topline strong {
    margin-top: 5px;
    color: #ffffff;
    font-size: 1.15rem;
}

.feedback-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.feedback-filter-pill {
    padding: 8px 11px;
    border: 1px solid rgba(155, 181, 202, 0.18);
    border-radius: 999px;
    color: rgba(230, 238, 245, 0.82);
    background: rgba(8, 14, 22, 0.28);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
}

.feedback-filter-pill.is-active,
.feedback-filter-pill:hover {
    border-color: rgba(145, 183, 210, 0.58);
    color: #ffffff;
    background: rgba(96, 139, 171, 0.2);
}

.feedback-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(184, 195, 210, 0.12);
    border-radius: 8px;
}

.feedback-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.feedback-table th,
.feedback-table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(184, 195, 210, 0.1);
    color: rgba(237, 242, 247, 0.9);
    text-align: left;
    vertical-align: top;
}

.feedback-table th {
    color: var(--accent-strong);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feedback-table td {
    font-size: 0.86rem;
    line-height: 1.35;
}

.feedback-table td:nth-child(5) {
    color: #ffffff;
}

.feedback-type-chip {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(96, 139, 171, 0.18);
    color: #e9f4ff;
    font-size: 0.75rem;
    font-weight: 900;
    white-space: nowrap;
}

.intelligence-drawer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(184, 195, 210, 0.14);
}

.intelligence-drawer summary {
    color: var(--accent-strong);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.intelligence-drawer summary:hover {
    color: #dce8f2;
}

.priority-stack,
.confidence-grid {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.priority-row,
.confidence-row {
    padding: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(184, 195, 210, 0.12);
    border-radius: 8px;
}

.priority-row strong,
.priority-row span,
.confidence-row span,
.confidence-row strong {
    display: inline-flex;
    margin-right: 8px;
}

.priority-row strong,
.confidence-row span {
    color: #edf2f7;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.priority-row span,
.confidence-row strong {
    padding: 3px 7px;
    color: var(--accent-strong);
    background: rgba(111, 143, 168, 0.1);
    border: 1px solid rgba(155, 181, 202, 0.18);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.priority-row p,
.priority-row em,
.confidence-row p {
    display: block;
    margin: 8px 0 0;
    color: var(--muted);
    font-style: normal;
    line-height: 1.45;
}

.market-evidence-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(184, 195, 210, 0.14);
}

.market-evidence-block h3 {
    margin: 12px 0 8px;
}

.market-evidence-block ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.5;
}

.market-evidence-block li + li {
    margin-top: 6px;
}

.compact-heatmap-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(184, 195, 210, 0.14);
}

.compact-heatmap-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.compact-heatmap-cell {
    min-height: 82px;
    padding: 11px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(184, 195, 210, 0.16);
    border-left-width: 4px;
    border-radius: 8px;
}

.compact-heatmap-cell span,
.compact-heatmap-cell strong,
.compact-heatmap-cell em {
    display: block;
}

.compact-heatmap-cell span {
    color: #edf2f7;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.compact-heatmap-cell strong {
    margin-top: 8px;
    color: var(--accent-strong);
    font-size: 1.08rem;
}

.compact-heatmap-cell em {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.7rem;
    font-style: normal;
    text-transform: uppercase;
}

.regime-participation-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(184, 195, 210, 0.14);
}

.regime-participation-block p {
    margin: 0 0 14px;
    color: #d3dbe4;
    line-height: 1.5;
}

.regime-participation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.regime-participation-block h4 {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.regime-remaining-block {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(184, 195, 210, 0.1);
}

.regime-exposure-row {
    display: grid;
    grid-template-columns: minmax(132px, 0.9fr) minmax(120px, 1.4fr) 58px;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    padding: 10px 0;
    color: var(--muted);
    border-bottom: 1px solid rgba(184, 195, 210, 0.08);
}

.regime-exposure-row:last-child {
    border-bottom: 0;
}

.regime-exposure-row span {
    color: #edf2f7;
    font-size: 0.82rem;
    font-weight: 800;
    min-width: 0;
}

.regime-exposure-row strong {
    color: var(--accent-strong);
    text-align: right;
    font-size: 0.86rem;
}

.regime-exposure-row em {
    grid-column: 1 / -1;
    color: rgba(220, 229, 238, 0.58);
    font-size: 0.75rem;
    font-style: normal;
    overflow-wrap: anywhere;
}

.regime-exposure-row-muted span,
.regime-exposure-row-muted strong {
    color: rgba(220, 229, 238, 0.78);
}

.investor-alignment-panel {
    border-color: rgba(155, 181, 202, 0.28);
}

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

.alignment-tile,
.alignment-read,
.alignment-direction {
    padding: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(184, 195, 210, 0.12);
    border-radius: 10px;
}

.alignment-tile span,
.alignment-read span,
.alignment-direction span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alignment-tile strong,
.alignment-read strong {
    display: block;
    color: #edf2f7;
    font-size: 1rem;
    line-height: 1.35;
}

.alignment-read strong {
    color: var(--accent-strong);
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.alignment-tile p,
.alignment-read p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.alignment-read,
.alignment-direction {
    margin-top: 12px;
}

.alignment-direction ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.55;
}

.alignment-direction li + li {
    margin-top: 6px;
}

.posture-interpretation {
    max-width: 680px;
    color: #d3dbe4;
    font-size: 1.24rem;
    line-height: 1.6;
}

.pm-guidance {
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid rgba(184, 195, 210, 0.16);
}

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

.portfolio-upload-summary div {
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(184, 195, 210, 0.14);
    border-radius: 10px;
}

.portfolio-upload-summary span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-upload-summary strong {
    color: #edf2f7;
    font-size: 1rem;
    word-break: break-word;
}

.pm-guidance h3,
.mission-panel h3,
.queue-group h3 {
    margin: 0 0 10px;
    color: #edf2f7;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pm-guidance ul,
.two-column-list ul,
.risk-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.75;
}

.pm-guidance ul {
    font-size: 1.08rem;
}

.two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.risk-list {
    padding-top: 10px;
}

.holding-list {
    display: grid;
    gap: 10px;
    padding-top: 10px;
}

.holding-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(184, 195, 210, 0.1);
}

.holding-row:last-child {
    border-bottom: 0;
}

.holding-row span {
    color: #edf2f7;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.holding-row strong {
    color: var(--muted);
    font-size: 0.9rem;
}

.holding-row em {
    color: var(--accent-strong);
    font-style: normal;
    font-weight: 700;
}

.queue-group {
    padding: 14px 0;
    border-bottom: 1px solid rgba(184, 195, 210, 0.12);
}

.queue-group:last-child {
    border-bottom: 0;
}

.queue-group p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.queue-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.queue-list li + li {
    margin-top: 7px;
}

.driver-list {
    display: grid;
    gap: 12px;
    padding-top: 10px;
}

.driver-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(184, 195, 210, 0.1);
}

.driver-row:last-child {
    border-bottom: 0;
}

.driver-row span {
    display: block;
    margin-bottom: 5px;
    color: #edf2f7;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.driver-row p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.driver-row strong {
    color: var(--accent-strong);
    white-space: nowrap;
    font-size: 0.9rem;
}

.risk-dimension-list {
    display: grid;
    gap: 12px;
    padding-top: 10px;
}

.risk-dimension-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(184, 195, 210, 0.1);
}

.risk-dimension-row:last-child {
    border-bottom: 0;
}

.risk-dimension-row span {
    display: block;
    margin-bottom: 5px;
    color: #edf2f7;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.risk-dimension-row p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.risk-dimension-row strong {
    min-width: 54px;
    padding: 5px 8px;
    color: var(--accent-strong);
    background: rgba(111, 143, 168, 0.1);
    border: 1px solid rgba(155, 181, 202, 0.2);
    border-radius: 999px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.behavior-map-panel {
    grid-column: 1 / -1;
}

.panel-intro {
    margin: 12px 0 14px;
    color: var(--muted);
    line-height: 1.45;
}

.behavior-table-wrap {
    overflow-x: auto;
    margin-top: 12px;
    border: 1px solid rgba(184, 195, 210, 0.12);
    border-radius: 10px;
}

.behavior-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.behavior-table th,
.behavior-table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(184, 195, 210, 0.1);
    text-align: left;
    vertical-align: top;
}

.behavior-table th {
    color: var(--accent-strong);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.behavior-table td {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.behavior-table td:first-child {
    color: #edf2f7;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.behavior-table tr:last-child td {
    border-bottom: 0;
}

.heatmap-table-wrap {
    overflow-x: auto;
    margin-top: 14px;
    border: 1px solid rgba(184, 195, 210, 0.12);
    border-radius: 10px;
}

.heatmap-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.heatmap-table th,
.heatmap-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(184, 195, 210, 0.1);
    color: #e8eef5;
    text-align: left;
}

.heatmap-table th {
    color: var(--accent-strong);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.heat-sector-name {
    color: #ffffff !important;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.heat-cell {
    display: inline-flex;
    min-width: 64px;
    justify-content: center;
    padding: 5px 8px;
    color: #f8fbff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.24);
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.heat-state {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    color: #e8eef5;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(184, 195, 210, 0.18);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.heat-state-broad-risk-on,
.heat-state-cyclical-recovery {
    color: #d7ffe4;
    background: rgba(38, 143, 86, 0.18);
    border-color: rgba(92, 206, 139, 0.34);
}

.heat-state-narrow-leadership,
.heat-state-mixed-fragmented {
    color: #fff0b8;
    background: rgba(199, 143, 36, 0.18);
    border-color: rgba(238, 190, 89, 0.34);
}

.heat-state-defensive-rotation,
.heat-state-deteriorating-breadth {
    color: #ffd6cf;
    background: rgba(180, 65, 52, 0.18);
    border-color: rgba(230, 112, 96, 0.34);
}

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

.deployment-grid div {
    padding: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(184, 195, 210, 0.12);
    border-radius: 8px;
}

.deployment-grid ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.86rem;
}

.exposure-panel {
    grid-column: 1 / -1;
}

.exposure-row {
    display: grid;
    grid-template-columns: 130px 1fr 52px;
    gap: 14px;
    align-items: center;
    padding: 11px 0;
    color: var(--muted);
}

.exposure-track {
    height: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.exposure-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(111, 143, 168, 0.55), rgba(174, 193, 207, 0.82));
    border-radius: inherit;
}

.exposure-row strong {
    color: #edf2f7;
    text-align: right;
}

.mission-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.mission-nav a {
    padding: 11px 16px;
    color: #e4ebf2;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(184, 195, 210, 0.16);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.mission-nav a:hover {
    background: rgba(111, 143, 168, 0.16);
}

.report-shell,
.report-page-shell {
    width: min(1440px, 100%);
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 26px;
    margin: 0 auto;
    padding: 42px 28px 52px;
}

.report-nav {
    position: sticky;
    top: 24px;
    align-self: start;
    display: grid;
    gap: 8px;
    padding: 18px;
    background: rgba(21, 27, 36, 0.92);
    border: 1px solid rgba(184, 195, 210, 0.14);
    border-radius: 12px;
}

.report-nav-title {
    margin-bottom: 8px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.report-nav a {
    padding: 9px 10px;
    color: var(--muted);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
}

.report-nav a:hover {
    color: #edf2f7;
    background: rgba(111, 143, 168, 0.14);
}

.report-nav a.is-active {
    color: #ffffff;
    background: rgba(111, 143, 168, 0.22);
    box-shadow: inset 3px 0 0 rgba(155, 181, 202, 0.9);
}

.report-content,
.report-document {
    display: grid;
    gap: 22px;
}

.report-hero,
.report-section {
    background: linear-gradient(180deg, rgba(28, 37, 49, 0.96), rgba(20, 27, 36, 0.96));
    border: 1px solid rgba(184, 195, 210, 0.16);
    border-radius: 14px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.report-hero {
    display: flex;
    gap: 28px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 34px;
}

.report-hero h1 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.report-hero p,
.report-section-intro {
    max-width: 820px;
    color: var(--muted);
    line-height: 1.55;
}

.report-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.report-header-actions span {
    color: var(--muted);
    font-size: 0.88rem;
}

.report-action-row,
.report-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.section-heading-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.report-section-kicker {
    display: block;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.report-pill {
    padding: 7px 10px;
    color: rgba(237, 242, 247, 0.88);
    background: rgba(111, 143, 168, 0.14);
    border: 1px solid rgba(155, 181, 202, 0.26);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

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

.report-metric-card {
    padding: 16px;
    background: rgba(8, 14, 22, 0.38);
    border: 1px solid rgba(155, 181, 202, 0.16);
    border-radius: 10px;
}

.report-metric-card span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-metric-card strong {
    display: block;
    margin: 8px 0;
    color: #ffffff;
    font-size: 1.7rem;
}

.report-metric-card p,
.report-lede {
    color: rgba(220, 229, 238, 0.82);
    line-height: 1.55;
}

.report-table-wrap {
    overflow-x: auto;
}

.report-data-table {
    width: 100%;
    border-collapse: collapse;
}

.report-data-table th,
.report-data-table td {
    padding: 10px 11px;
    color: rgba(237, 242, 247, 0.9);
    border-bottom: 1px solid rgba(184, 195, 210, 0.12);
    text-align: left;
    vertical-align: top;
}

.report-data-table th {
    color: #ffffff;
    background: rgba(111, 143, 168, 0.12);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.report-chart-figure {
    margin: 18px 0 0;
    padding: 14px;
    border: 1px solid rgba(122, 143, 160, 0.24);
    border-radius: 8px;
    background: rgba(10, 17, 24, 0.28);
}

.report-chart-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.report-chart-figure figcaption,
.report-chart-unavailable {
    margin-top: 10px;
    color: rgba(218, 226, 234, 0.72);
    font-size: 0.86rem;
}

.report-chart-unavailable {
    padding: 16px;
    border: 1px solid rgba(122, 143, 160, 0.22);
    border-radius: 8px;
    background: rgba(10, 17, 24, 0.24);
}

.report-clean-list {
    margin: 14px 0 0;
    padding-left: 18px;
    color: rgba(220, 229, 238, 0.84);
    line-height: 1.55;
}

.report-generation-status {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid rgba(155, 181, 202, 0.26);
    border-radius: 12px;
    background: rgba(7, 13, 22, 0.72);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.report-generation-status[hidden] {
    display: none;
}

.report-generation-status strong {
    display: block;
    color: #f5f8fb;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.report-generation-status p {
    margin: 4px 0 0;
    color: rgba(220, 229, 238, 0.78);
}

.report-spinner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(155, 181, 202, 0.24);
    border-top-color: #9bb5ca;
    animation: report-spin 0.9s linear infinite;
}

@keyframes report-spin {
    to {
        transform: rotate(360deg);
    }
}

.report-section {
    scroll-margin-top: 24px;
    padding: 28px;
}

.report-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.report-mini-chip {
    padding: 6px 9px;
    border: 1px solid rgba(155, 181, 202, 0.22);
    border-radius: 999px;
    background: rgba(8, 14, 22, 0.42);
    color: rgba(237, 242, 247, 0.88);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.report-validation-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.report-validation-strip span {
    padding: 7px 10px;
    border: 1px solid rgba(155, 181, 202, 0.18);
    border-radius: 8px;
    background: rgba(8, 14, 22, 0.34);
    color: rgba(220, 229, 238, 0.82);
    font-size: 0.76rem;
    font-weight: 800;
}

.report-section h2 {
    margin: 0 0 18px;
    color: #edf2f7;
    font-size: 1.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.report-callout {
    padding: 18px;
    background: rgba(111, 143, 168, 0.1);
    border: 1px solid rgba(155, 181, 202, 0.22);
    border-radius: 10px;
}

.report-callout strong,
.report-grid-2 strong,
.report-grid-3 strong,
.report-card-list strong {
    display: block;
    color: #edf2f7;
    line-height: 1.35;
}

.report-callout p,
.report-grid-2 p,
.report-grid-3 p,
.report-card-list p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.report-bullet-list {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.6;
}

.report-grid-2,
.report-grid-3,
.report-card-list {
    display: grid;
    gap: 14px;
}

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

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

.report-grid-2 > div,
.report-grid-3 > div,
.report-card-list > div {
    padding: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(184, 195, 210, 0.12);
    border-radius: 10px;
}

.report-grid-2 span,
.report-grid-3 span,
.report-card-list span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-grid-2 ul,
.report-grid-3 ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.55;
}

.report-details {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(184, 195, 210, 0.14);
}

.report-details summary {
    color: var(--accent-strong);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-details em,
.report-card-list em {
    display: block;
    margin-top: 8px;
    color: rgba(220, 229, 238, 0.66);
    font-style: normal;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .gate-shell,
    .app-shell {
        padding: 24px 14px;
    }

    .gate-card,
    .workflow-card {
        padding: 28px 20px;
        border-radius: 8px;
    }

    .notice-panel {
        padding: 18px;
    }

    .screen-header {
        display: block;
    }

    .brand-mark {
        top: 14px;
        left: 16px;
        font-size: 0.92rem;
    }

    .template-button {
        width: 100%;
        margin: 4px 0 22px;
    }

    .security-strip,
    .upload-grid,
    .mode-grid,
    .source-map-grid,
    .investor-profile-panel,
    .investor-question-grid {
        grid-template-columns: 1fr;
    }

    .mode-panel {
        min-height: auto;
    }

    .mission-shell {
        padding: 52px 14px 24px;
    }

    .mission-topbar,
    .mission-grid,
    .two-column-list,
    .compact-heatmap-grid,
    .regime-participation-grid,
    .report3-run-summary,
    .alignment-tile-grid,
    .deployment-grid,
    .report-shell,
    .report-grid-2,
    .report-grid-3 {
        grid-template-columns: 1fr;
    }

    .report-nav {
        position: static;
    }

    .report-hero {
        display: block;
        padding: 26px 20px;
    }

    .report-action-row {
        justify-content: flex-start;
        margin-top: 18px;
    }

    .status-chip-row {
        justify-content: center;
    }

    .pm-posture-card {
        min-height: auto;
        padding: 28px 20px;
    }

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

    .exposure-row {
        grid-template-columns: 96px 1fr 44px;
    }

    .regime-exposure-row {
        grid-template-columns: minmax(96px, 0.9fr) minmax(90px, 1.3fr) 48px;
    }
}
