:root {
    --ink: #14281d;
    --muted: #5b6c63;
    --bg: #f5efe2;
    --panel: rgba(255, 251, 244, 0.92);
    --line: rgba(20, 40, 29, 0.12);
    --accent: #215f43;
    --accent-strong: #113a29;
    --warm: #a95d2d;
    --error: #9b2c2c;
    --warning: #9a6700;
    --guidance: #0d5f7a;
    --info: #3f4f46;
    --shadow: 0 18px 40px rgba(17, 58, 41, 0.08);
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at top right, rgba(169, 93, 45, 0.18), transparent 34%),
        radial-gradient(circle at left center, rgba(33, 95, 67, 0.16), transparent 36%),
        var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", "Aptos", sans-serif;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

button {
    font: inherit;
}

.shell {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shell--centered {
    justify-content: center;
}

.hero,
.panel,
.empty-state {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
}

.hero h1,
.panel h2,
.empty-state h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
}

.hero-copy,
.muted,
.selection-preview,
.finding-copy,
.code-block {
    color: var(--muted);
}

.hero-actions,
.document-type-row,
.section-heading,
.finding-header,
.finding-footer,
.pill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.section-heading--compact {
    margin-top: 12px;
}

.hero-actions {
    align-self: flex-start;
}

.button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--accent);
    color: #fffaf2;
    cursor: pointer;
    transition: transform 140ms ease, background 140ms ease;
}

.button:hover,
.button:focus-visible {
    background: var(--accent-strong);
    transform: translateY(-1px);
    color: white;
}

.button--secondary,
.button--ghost {
    background: transparent;
    color: var(--accent-strong);
    border: 1px solid rgba(17, 58, 41, 0.18);
}

.button--ghost {
    padding: 6px 12px;
}

.document-type-select-wrap {
    position: relative;
    display: block;
    min-width: 0;
    width: 100%;
}

.document-type-select-wrap--loading::after {
    display: none;
}

.document-type-skeleton {
    width: 100%;
}

.document-type-skeleton__field {
    position: relative;
    width: 100%;
    height: 48px;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(20, 40, 29, 0.08);
}

.document-type-skeleton__field::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
    animation: section-skeleton-shimmer 1.25s ease-in-out infinite;
}

.document-type-select {
    width: 100%;
    border: 1px solid rgba(17, 58, 41, 0.18);
    border-radius: 14px;
    padding: 12px 40px 12px 14px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--accent-strong);
    appearance: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.document-type-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-strong);
    border-bottom: 2px solid var(--accent-strong);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.document-type-select:focus-visible {
    outline: 2px solid rgba(33, 95, 67, 0.28);
    outline-offset: 2px;
}

.panel {
    padding: 18px;
}

.panel--status,
.status-grid,
.panel--split {
    display: grid;
    gap: 16px;
}

.panel--snapshot {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel--chat {
    padding: 0;
    overflow: hidden;
}

.panel--chat-standalone {
    padding: 12px;
}

.chat-notices {
    display: grid;
    gap: 6px;
    padding: 14px 18px 4px;
    color: var(--warm);
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
}

.chat-notices p {
    margin: 0;
}

@media (min-width: 881px) {
    .shell {
        padding: 36px;
    }

    .panel--chat-standalone {
        width: min(100%, 1180px);
        margin: 0 auto;
    }
}

.panel--status {
    grid-template-columns: 1.2fr 1fr;
}

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

.panel--compact .code-block {
    min-height: 220px;
}

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

.panel-label,
.eyebrow {
    margin: 0 0 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    color: var(--warm);
}

.pill,
.status-chip,
.finding-badge,
.summary-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 700;
}

.pill {
    background: rgba(33, 95, 67, 0.12);
    color: var(--accent-strong);
}

.status-chip {
    background: rgba(169, 93, 45, 0.14);
    color: var(--warm);
}

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

.summary-card {
    min-height: 120px;
    aspect-ratio: 1 / 1;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.summary-card p {
    margin: 0;
}

.summary-card .summary-label {
    color: var(--muted);
    font-size: 12px;
}

.summary-card .summary-value {
    margin-top: 10px;
    padding: 0;
    justify-content: flex-start;
    border-radius: 0;
    background: transparent;
    font-size: 28px;
}

.stream-log,
.findings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-toolbar,
.chat-actions {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.chat-shell {
    display: flex;
    flex-direction: column;
    min-height: 640px;
    background:
        linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(248, 242, 231, 0.95)),
        radial-gradient(circle at top left, rgba(33, 95, 67, 0.08), transparent 28%);
}

.chat-shell__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(20, 40, 29, 0.08);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
}

.chat-toolbar {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(20, 40, 29, 0.08);
    background: rgba(255, 255, 255, 0.38);
}

.chat-toolbar__field {
    flex: 1;
    min-width: 0;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    max-height: 400px;
    overflow-y: auto;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(245, 239, 226, 0.1), rgba(245, 239, 226, 0.65)),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.45), transparent 62%);
}

.chat-message {
    display: flex;
    width: 100%;
}

.chat-message__bubble {
    max-width: min(82%, 820px);
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(20, 40, 29, 0.08);
    box-shadow: 0 10px 24px rgba(17, 58, 41, 0.06);
}

.chat-message p {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.55;
}

.chat-message__content p {
    margin: 0;
}

.chat-message__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message__typing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
}

.chat-message__typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(33, 95, 67, 0.5);
    animation: chat-typing-bounce 1.1s infinite ease-in-out;
}

.chat-message__typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-message__typing span:nth-child(3) {
    animation-delay: 0.3s;
}

.chat-markdown-quote {
    margin: 0;
    padding: 10px 12px;
    border-left: 3px solid rgba(33, 95, 67, 0.35);
    border-radius: 12px;
    background: rgba(20, 40, 29, 0.05);
    color: inherit;
}

.chat-markdown-code {
    margin: 0;
    padding: 12px 14px;
    overflow-x: auto;
    border-radius: 12px;
    background: rgba(20, 40, 29, 0.08);
    color: inherit;
}

.chat-markdown-heading {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.chat-markdown-list {
    margin: 0;
    padding-left: 20px;
}

.chat-markdown-list li + li {
    margin-top: 4px;
}

.chat-markdown-table-wrap {
    overflow-x: auto;
    margin: 12px 0;
}

.chat-markdown-table {
    border-collapse: collapse;
    min-width: 100%;
    font-size: 0.92em;
    text-align: left;
}

.chat-markdown-table th,
.chat-markdown-table td {
    border: 1px solid var(--line);
    padding: 7px 9px;
    vertical-align: top;
}

.chat-markdown-table th {
    background: var(--panel);
    font-weight: 700;
}

.chat-message__content code {
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(20, 40, 29, 0.08);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.92em;
}

.chat-message__content pre code {
    padding: 0;
    background: transparent;
}

.chat-message__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.chat-message__sender,
.chat-message__time {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.chat-message__sender {
    color: var(--warm);
}

.chat-message__time {
    color: var(--muted);
}

.chat-message__details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(20, 40, 29, 0.08);
}

.chat-message__detail {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.chat-citation-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.chat-citation-item,
.chat-citation-link {
    color: var(--guidance);
    font-size: 12px;
    line-height: 1.4;
}

.chat-citation-link {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.chat-citation-link:hover,
.chat-citation-link:focus-visible {
    color: var(--guidance);
}

@keyframes chat-typing-bounce {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.chat-message--user {
    justify-content: flex-end;
}

.chat-message--user {
    justify-content: flex-end;
}

.chat-message--user .chat-message__bubble {
    background: linear-gradient(135deg, #215f43, #174530);
    color: #fffaf2;
    border-bottom-right-radius: 6px;
}

.chat-message--user .chat-message__sender,
.chat-message--user .chat-message__time,
.chat-message--user .chat-message__detail {
    color: rgba(255, 250, 242, 0.82);
}

.chat-message--bot {
    justify-content: flex-start;
}

.chat-message--bot .chat-message__bubble {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-left-radius: 6px;
}

.chat-message--system {
    justify-content: center;
}

.chat-message--system .chat-message__bubble {
    background: rgba(169, 93, 45, 0.1);
    max-width: 100%;
}

.chat-query {
    width: 100%;
    border: 1px solid rgba(17, 58, 41, 0.18);
    border-radius: 18px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink);
    font: inherit;
    resize: vertical;
    min-height: 84px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: inset 0 1px 2px rgba(20, 40, 29, 0.06);
}

.chat-query:focus-visible {
    outline: 2px solid rgba(33, 95, 67, 0.28);
    outline-offset: 2px;
}

 .chat-composer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(20, 40, 29, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 880px) {
    .chat-toolbar,
    .chat-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.section-checklist-item {
    padding-left: 4px;
    border-bottom: 1px solid rgba(20, 40, 29, 0.08);
}

.section-checklist-row {
    width: 100%;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-align: left;
    color: var(--ink);
    cursor: pointer;
}

.section-checklist-item--loading .section-checklist-row {
    cursor: default;
}

.finding-card--skeleton {
    min-height: 160px;
}

.section-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-skeleton--phantom-list {
    padding: 6px 0;
}

.section-skeleton__phantom-row {
    position: relative;
    width: 100%;
    height: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20, 40, 29, 0.14), rgba(20, 40, 29, 0.08));
}

.section-skeleton__phantom-row--short {
    width: 74%;
}

.section-skeleton__phantom-row::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 24%, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, 0.12) 76%, transparent 100%);
    animation: section-skeleton-shimmer 1s linear infinite;
}

.section-skeleton--phantom-select {
    gap: 0;
}

.section-skeleton--review-block {
    gap: 10px;
    margin-top: 8px;
    padding: 10px 0;
}

.section-skeleton__line,
.section-skeleton__chip,
.section-skeleton__control,
.section-skeleton__button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(20, 40, 29, 0.14), rgba(20, 40, 29, 0.08));
}

.section-skeleton__line::after,
.section-skeleton__chip::after,
.section-skeleton__control::after,
.section-skeleton__button::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 24%, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, 0.12) 76%, transparent 100%);
    animation: section-skeleton-shimmer 1s linear infinite;
}

.section-skeleton__line {
    height: 10px;
    border-radius: 999px;
}

.section-skeleton__line--title {
    width: 54%;
    height: 14px;
}

.section-skeleton__line--body {
    width: 100%;
}

.section-skeleton__line--medium {
    width: 68%;
}

.section-skeleton__line--short {
    width: 42%;
}

.section-skeleton__line--label {
    width: 24%;
    height: 9px;
}

.section-skeleton__chips,
.section-skeleton__toolbar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-skeleton__chip {
    display: inline-flex;
    width: 132px;
    height: 26px;
    border-radius: 999px;
}

.section-skeleton__chip--short {
    width: 88px;
}

.section-skeleton__toolbar,
.section-skeleton__footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(17, 58, 41, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.52);
}

.section-skeleton__control {
    flex: 1 1 220px;
    min-width: 0;
    height: 42px;
    border-radius: 12px;
}

.section-skeleton__control.small {
    height: 10px !important;
    max-height: 28px;
}

.section-skeleton__button {
    width: 96px;
    height: 38px;
    border-radius: 999px;
}

.section-checklist-row:hover,
.section-checklist-row:focus-visible {
    background: transparent;
    color: var(--accent-strong);
}

@keyframes section-skeleton-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.section-checklist-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    color: #ffffff;
}

.section-checklist-item[data-status="present"] .section-checklist-status {
    background: var(--accent);
}

.section-checklist-item[data-status="missing_optional"] .section-checklist-status {
    background: var(--warning);
}

.section-checklist-item[data-status="needs_context"] .section-checklist-status {
    background: var(--guidance);
}

.section-checklist-item[data-status="missing_required"] .section-checklist-status {
    background: var(--error);
}

.section-checklist-title {
    font-weight: 700;
}

.section-checklist-meta {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-checklist-details {
    padding: 0 0 14px 36px;
}

.section-checklist-details--phantom {
    padding-left: 0;
}

.section-checklist-loading {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-checklist-loading-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(20, 40, 29, 0.12);
}

.section-checklist-loading-fill {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    animation: section-loading-slide 1.1s ease-in-out infinite;
}

.section-checklist-content[hidden],
.section-checklist-loading[hidden] {
    display: none !important;
}

.section-placeholder-tools {
    margin: 14px 0 16px;
    padding: 14px;
    border: 1px solid rgba(17, 58, 41, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

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

.section-placeholder-notice {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 600;
}

.section-placeholder-notice--success {
    background: rgba(33, 95, 67, 0.12);
    color: var(--accent-strong);
}

.section-placeholder-notice--warning {
    background: rgba(154, 103, 0, 0.12);
    color: var(--warning);
}

.section-placeholder-select {
    flex: 1 1 220px;
    min-width: 0;
    border: 1px solid rgba(17, 58, 41, 0.18);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fffef9;
    color: var(--accent-strong);
    font: inherit;
}

.section-placeholder-select:focus-visible {
    outline: 2px solid rgba(33, 95, 67, 0.28);
    outline-offset: 2px;
}

.section-placeholder-select:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.section-checklist-actions {
    display: flex;
    align-items: center;
}

@keyframes section-loading-slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(260%);
    }
}

.button--compact {
    padding: 8px 12px;
}

.proposal-panel[hidden] {
    display: none;
}

.proposal-grid,
.proposal-actions,
.finding-actions {
    display: flex;
    gap: 12px;
}

.proposal-grid {
    align-items: stretch;
}

.proposal-grid > div,
.proposal-actions {
    flex: 1;
}

.proposal-actions {
    justify-content: space-between;
    align-items: center;
}

.finding-actions {
    flex-wrap: wrap;
}

.link-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.link-button:hover,
.link-button:focus-visible {
    color: var(--accent-strong);
}

.link-button--small {
    font-size: 12px;
    font-weight: 600;
}

.footer-link-row {
    display: flex;
    justify-content: center;
    padding: 0 4px 8px;
}

.stream-entry,
.finding-card {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}

.stream-entry {
    position: relative;
    padding-left: 18px;
}

.stream-entry::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.finding-card h3,
.finding-card p,
.stream-entry p {
    margin: 0;
}

.finding-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.finding-card[data-status="present"] {
    border-left: 4px solid var(--accent);
}

.finding-card[data-status="partial"] {
    border-left: 4px solid var(--warning);
}

.finding-card[data-status="missing"] {
    border-left: 4px solid var(--error);
}

.finding-card[data-status="not_applicable"] {
    border-left: 4px solid var(--guidance);
}

.finding-badge[data-severity="error"] {
    background: rgba(155, 44, 44, 0.12);
    color: var(--error);
}

.finding-badge[data-severity="warning"] {
    background: rgba(154, 103, 0, 0.14);
    color: var(--warning);
}

.finding-badge[data-severity="guidance"] {
    background: rgba(13, 95, 122, 0.12);
    color: var(--guidance);
}

.finding-badge[data-severity="information"] {
    background: rgba(63, 79, 70, 0.12);
    color: var(--info);
}

.code-block {
    margin: 0;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(19, 31, 24, 0.92);
    color: #e8f1ea;
    font-size: 12px;
    line-height: 1.5;
    overflow: auto;
    white-space: pre-wrap;
}

.redline-preview {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.redline-label {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 241, 234, 0.72);
}

.redline-original__text {
    color: #e8f1ea;
}

.redline-original--empty .redline-original__text {
    color: rgba(232, 241, 234, 0.72);
    font-style: italic;
}

.redline-additions {
    border-top: 1px solid rgba(232, 241, 234, 0.14);
    padding-top: 12px;
}

.redline-entry {
    margin-top: 10px;
    padding: 10px 12px;
    border-left: 4px solid #f97066;
    border-radius: 10px;
    background: rgba(185, 28, 28, 0.14);
}

.redline-entry__meta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fecaca;
}

.redline-entry__text {
    margin-top: 8px;
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #fca5a5;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.redline-entry__instruction {
    margin-top: 8px;
    color: #fecaca;
    font-size: 12px;
}

.empty-state {
    max-width: 680px;
    padding: 32px;
}

.selection-preview {
    margin: 0;
}

@media (max-width: 960px) {
    .hero,
    .panel--status,
    .status-grid,
    .panel--split {
        grid-template-columns: 1fr;
    }

    .summary-card {
        aspect-ratio: auto;
        min-height: 96px;
    }

    .hero {
        display: grid;
    }

    .hero-actions,
    .section-heading,
    .document-type-row,
    .finding-header,
    .finding-footer,
    .pill-row,
    .proposal-grid,
    .proposal-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}