/* /Components/DebateTranscript.razor.rz.scp.css */
/* --- Transcript Controls --- */
.transcript-controls[b-47wwcuivre] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.btn-transcript-toggle[b-47wwcuivre] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-md);
    color: var(--at-text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms;
}

.btn-transcript-toggle:hover[b-47wwcuivre] {
    background: var(--at-bg-alt);
    border-color: var(--at-primary-light);
    color: var(--at-primary);
}

/* --- Transcript Timeline --- */
.transcript-timeline[b-47wwcuivre] {
    position: relative;
}

.transcript-round[b-47wwcuivre] {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 2.5rem;
    margin-bottom: 0;
}

.transcript-round:last-child[b-47wwcuivre] {
    padding-bottom: 0;
}

.transcript-round:last-child .round-marker-line[b-47wwcuivre] {
    display: none;
}

/* --- Round Marker (timeline dot + line) --- */
.round-marker[b-47wwcuivre] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 0.375rem;
}

.round-marker-dot[b-47wwcuivre] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--at-primary);
    border: 3px solid var(--at-primary-100);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px var(--at-bg);
}

.round-marker-line[b-47wwcuivre] {
    width: 2px;
    flex: 1;
    background: var(--at-border);
    margin-top: 0.5rem;
    border-radius: 1px;
}

/* --- Round Content --- */
.round-content[b-47wwcuivre] {
    flex: 1;
    min-width: 0;
}

/* --- Round Header Toggle (clickable) --- */
.round-header-toggle[b-47wwcuivre] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.375rem 0;
    margin-bottom: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    transition: opacity 150ms;
}

.round-header-toggle:hover[b-47wwcuivre] {
    opacity: 0.8;
}

.round-badge[b-47wwcuivre] {
    display: inline-flex;
    align-items: center;
    padding: 0.3125rem 0.875rem;
    background: var(--at-primary-50);
    color: var(--at-primary);
    border: 1px solid var(--at-primary-100);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.round-word-count[b-47wwcuivre] {
    font-size: 0.75rem;
    color: var(--at-text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.round-chevron[b-47wwcuivre] {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--at-text-muted);
    transition: transform 200ms ease;
}

/* --- Message Bubbles --- */
.round-messages[b-47wwcuivre] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.message-bubble[b-47wwcuivre] {
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-lg);
    padding: 1rem 1.25rem;
}

/* For side — indigo tint */
.message-for[b-47wwcuivre] {
    background: var(--at-side-for-light);
    border-left: 3px solid var(--at-side-for);
    border-color: var(--at-side-for-light);
    border-left-color: var(--at-side-for);
}

/* Against side — pink tint */
.message-against[b-47wwcuivre] {
    background: var(--at-side-against-light);
    border-left: 3px solid var(--at-side-against);
    border-color: var(--at-side-against-light);
    border-left-color: var(--at-side-against);
}

.message-header[b-47wwcuivre] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.message-side-indicator[b-47wwcuivre] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.indicator-for[b-47wwcuivre] {
    color: var(--at-side-for);
}

.indicator-against[b-47wwcuivre] {
    color: var(--at-side-against);
}

.message-time[b-47wwcuivre] {
    font-size: 0.6875rem;
    color: var(--at-text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.message-content[b-47wwcuivre] {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--at-text);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Markdown content styling */
.message-content[b-47wwcuivre]  p {
    margin: 0 0 0.75rem 0;
}

.message-content[b-47wwcuivre]  p:last-child {
    margin-bottom: 0;
}

.message-content[b-47wwcuivre]  strong {
    font-weight: 600;
    color: var(--at-text);
}

.message-content[b-47wwcuivre]  em {
    font-style: italic;
}

.message-content[b-47wwcuivre]  ul,
.message-content[b-47wwcuivre]  ol {
    margin: 0.5rem 0 0.75rem 1.5rem;
    padding-left: 0.5rem;
}

.message-content[b-47wwcuivre]  li {
    margin: 0.25rem 0;
}

.message-content[b-47wwcuivre]  h1,
.message-content[b-47wwcuivre]  h2,
.message-content[b-47wwcuivre]  h3,
.message-content[b-47wwcuivre]  h4,
.message-content[b-47wwcuivre]  h5,
.message-content[b-47wwcuivre]  h6 {
    margin: 1rem 0 0.5rem 0;
    font-weight: 700;
    line-height: 1.3;
    color: var(--at-text);
}

.message-content[b-47wwcuivre]  h1 { font-size: 1.5rem; }
.message-content[b-47wwcuivre]  h2 { font-size: 1.25rem; }
.message-content[b-47wwcuivre]  h3 { font-size: 1.125rem; }
.message-content[b-47wwcuivre]  h4 { font-size: 1rem; }
.message-content[b-47wwcuivre]  h5 { font-size: 0.9375rem; }
.message-content[b-47wwcuivre]  h6 { font-size: 0.875rem; }

.message-content[b-47wwcuivre]  blockquote {
    margin: 0.75rem 0;
    padding: 0.5rem 1rem;
    border-left: 3px solid var(--at-border);
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0 4px 4px 0;
    font-style: italic;
}

.message-content[b-47wwcuivre]  table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.8125rem;
    display: block;
    overflow-x: auto;
}

.message-content[b-47wwcuivre]  thead {
    display: table;
    width: 100%;
    table-layout: auto;
}

.message-content[b-47wwcuivre]  tbody {
    display: table;
    width: 100%;
    table-layout: auto;
}

.message-content[b-47wwcuivre]  th,
.message-content[b-47wwcuivre]  td {
    padding: 0.375rem 0.625rem;
    border: 1px solid var(--at-border);
    text-align: left;
}

.message-content[b-47wwcuivre]  th {
    background: var(--at-bg-alt);
    font-weight: 600;
    color: var(--at-text);
    white-space: nowrap;
}

.message-content[b-47wwcuivre]  td {
    white-space: normal;
    min-width: 6rem;
}

.message-content[b-47wwcuivre]  code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875em;
}

.message-content[b-47wwcuivre]  pre {
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow-x: auto;
}

.message-content[b-47wwcuivre]  pre code {
    background: transparent;
    padding: 0;
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .transcript-round[b-47wwcuivre] {
        gap: 0.75rem;
    }

    .message-bubble[b-47wwcuivre] {
        padding: 0.875rem 1rem;
    }

    .round-marker[b-47wwcuivre] {
        display: none;
    }

    .btn-transcript-toggle span[b-47wwcuivre] {
        display: none;
    }

    .btn-transcript-toggle[b-47wwcuivre] {
        padding: 0.375rem 0.625rem;
    }
}
/* /Components/ErrorAlert.razor.rz.scp.css */
/* --- Error Alert --- */
.error-alert[b-ie58rwesv4] {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: var(--at-danger-light);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-left: 4px solid var(--at-danger);
    border-radius: var(--at-radius-lg);
    margin-bottom: 1.5rem;
}

.error-alert-icon[b-ie58rwesv4] {
    color: var(--at-danger);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.error-alert-content[b-ie58rwesv4] {
    flex: 1;
    min-width: 0;
}

.error-alert-title[b-ie58rwesv4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--at-danger-text);
    margin: 0 0 0.125rem;
}

.error-alert-message[b-ie58rwesv4] {
    font-size: 0.8125rem;
    color: var(--at-danger-text-secondary);
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
}

.error-alert-dismiss[b-ie58rwesv4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    background: transparent;
    color: var(--at-danger-text);
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: var(--at-radius-sm);
    transition: background 150ms;
    flex-shrink: 0;
}

.error-alert-dismiss:hover[b-ie58rwesv4] {
    background: rgba(239, 68, 68, 0.1);
}
/* /Components/FinalPositionCard.razor.rz.scp.css */
/* --- Position Card --- */
.position-card[b-hecv3ki42a] {
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-xl);
    box-shadow: var(--at-shadow-sm);
    overflow: hidden;
    height: 100%;
    position: relative;
}

.position-card-accent[b-hecv3ki42a] {
    height: 5px;
}

.position-for .position-card-accent[b-hecv3ki42a] {
    background: var(--at-side-for-bg);
}

.position-against .position-card-accent[b-hecv3ki42a] {
    background: var(--at-side-against-bg);
}

/* Subtle side-tinted card backgrounds */
.position-for[b-hecv3ki42a] {
    background: var(--at-side-for-light);
    border-color: var(--at-side-for-light);
}

.position-against[b-hecv3ki42a] {
    background: var(--at-side-against-light);
    border-color: var(--at-side-against-light);
}

.position-card-body[b-hecv3ki42a] {
    padding: 1.25rem 1.5rem 1.5rem;
}

.position-card-header[b-hecv3ki42a] {
    margin-bottom: 0.75rem;
}

.position-side-badge[b-hecv3ki42a] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-for[b-hecv3ki42a] {
    background: var(--at-side-for);
    color: white;
}

.badge-against[b-hecv3ki42a] {
    background: var(--at-side-against);
    color: white;
}

.position-agent-meta[b-hecv3ki42a] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--at-text-muted);
    margin-top: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: var(--at-bg-alt);
    border-radius: var(--at-radius-md);
    width: fit-content;
}

.position-agent-meta i[b-hecv3ki42a] {
    font-size: 0.6875rem;
    color: var(--at-text-muted);
}

.position-statement[b-hecv3ki42a] {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--at-text);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Markdown content styling */
.position-statement[b-hecv3ki42a]  p {
    margin: 0 0 0.75rem 0;
}

.position-statement[b-hecv3ki42a]  p:last-child {
    margin-bottom: 0;
}

.position-statement[b-hecv3ki42a]  strong {
    font-weight: 600;
    color: var(--at-text);
}

.position-statement[b-hecv3ki42a]  em {
    font-style: italic;
}

.position-statement[b-hecv3ki42a]  ul,
.position-statement[b-hecv3ki42a]  ol {
    margin: 0.5rem 0 0.75rem 1.5rem;
    padding-left: 0.5rem;
}

.position-statement[b-hecv3ki42a]  li {
    margin: 0.25rem 0;
}

.position-statement[b-hecv3ki42a]  h1,
.position-statement[b-hecv3ki42a]  h2,
.position-statement[b-hecv3ki42a]  h3,
.position-statement[b-hecv3ki42a]  h4,
.position-statement[b-hecv3ki42a]  h5,
.position-statement[b-hecv3ki42a]  h6 {
    margin: 1rem 0 0.5rem 0;
    font-weight: 700;
    line-height: 1.3;
    color: var(--at-text);
}

.position-statement[b-hecv3ki42a]  h1 { font-size: 1.5rem; }
.position-statement[b-hecv3ki42a]  h2 { font-size: 1.25rem; }
.position-statement[b-hecv3ki42a]  h3 { font-size: 1.125rem; }
.position-statement[b-hecv3ki42a]  h4 { font-size: 1rem; }
.position-statement[b-hecv3ki42a]  h5 { font-size: 0.9375rem; }
.position-statement[b-hecv3ki42a]  h6 { font-size: 0.875rem; }

.position-statement[b-hecv3ki42a]  blockquote {
    margin: 0.75rem 0;
    padding: 0.5rem 1rem;
    border-left: 3px solid var(--at-border);
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0 4px 4px 0;
    font-style: italic;
}

.position-statement[b-hecv3ki42a]  table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.8125rem;
    display: block;
    overflow-x: auto;
}

.position-statement[b-hecv3ki42a]  thead {
    display: table;
    width: 100%;
    table-layout: auto;
}

.position-statement[b-hecv3ki42a]  tbody {
    display: table;
    width: 100%;
    table-layout: auto;
}

.position-statement[b-hecv3ki42a]  th,
.position-statement[b-hecv3ki42a]  td {
    padding: 0.375rem 0.625rem;
    border: 1px solid var(--at-border);
    text-align: left;
    white-space: nowrap;
}

.position-statement[b-hecv3ki42a]  th {
    background: var(--at-bg-alt);
    font-weight: 600;
    color: var(--at-text);
}

.position-statement[b-hecv3ki42a]  td {
    white-space: normal;
    min-width: 6rem;
}

.position-statement[b-hecv3ki42a]  code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875em;
}

.position-statement[b-hecv3ki42a]  pre {
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow-x: auto;
}

.position-statement[b-hecv3ki42a]  pre code {
    background: transparent;
    padding: 0;
}
/* /Components/LoadingSpinner.razor.rz.scp.css */
/* --- Loading Indicator --- */
.loading-indicator[b-lebvicq6qv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
}

.loading-animation[b-lebvicq6qv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.loading-dot[b-lebvicq6qv] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--at-primary-light);
    animation: bounce-b-lebvicq6qv 1.4s ease-in-out infinite;
}

.dot-1[b-lebvicq6qv] { animation-delay: 0ms; }
.dot-2[b-lebvicq6qv] { animation-delay: 160ms; }
.dot-3[b-lebvicq6qv] { animation-delay: 320ms; }

@keyframes bounce-b-lebvicq6qv {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.loading-message[b-lebvicq6qv] {
    font-size: 0.9375rem;
    color: var(--at-text-muted);
    margin: 0;
    text-align: center;
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* --- App Shell --- */
.app-shell[b-6uev20o8fi] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-main[b-6uev20o8fi] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-content[b-6uev20o8fi] {
    flex: 1;
}

/* --- Footer --- */
.app-footer[b-6uev20o8fi] {
    position: sticky;
    bottom: 0;
    z-index: 100;
    border-top: 1px solid var(--at-border);
    background: var(--at-surface);
    padding: .5rem 0;
    margin-top: auto;
}

.footer-inner[b-6uev20o8fi] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-brand[b-6uev20o8fi] {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--at-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand-img[b-6uev20o8fi] {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

.footer-text[b-6uev20o8fi] {
    font-size: 0.8125rem;
    color: var(--at-text-muted);
}

.footer-link[b-6uev20o8fi] {
    color: var(--at-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 150ms;
}

.footer-link:hover[b-6uev20o8fi] {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-admin-link[b-6uev20o8fi] {
    font-size: 0.8125rem;
    color: var(--at-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 150ms;
}

.footer-admin-link:hover[b-6uev20o8fi] {
    color: var(--at-primary);
}

@media (max-width: 640px) {
    .footer-inner[b-6uev20o8fi] {
        flex-direction: column;
        text-align: center;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* --- Top Navigation Bar --- */
.app-navbar[b-xfckuvij9b] {
    background: var(--at-navbar-bg);
    border-bottom: 1px solid var(--at-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar-inner[b-xfckuvij9b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}

/* Logo */
.navbar-logo[b-xfckuvij9b] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--at-text);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    transition: opacity 150ms;
}

.navbar-logo:hover[b-xfckuvij9b] {
    opacity: 0.8;
    color: var(--at-text);
}

.navbar-logo-icon[b-xfckuvij9b] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--at-hero-bg);
    color: white;
    border-radius: var(--at-radius-md);
    font-size: 0.875rem;
}

.navbar-logo-img[b-xfckuvij9b] {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-logo-text[b-xfckuvij9b] {
    display: inline;
}

/* Desktop links */
.navbar-links[b-xfckuvij9b] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

[b-xfckuvij9b] .nav-link-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--at-text-secondary);
    text-decoration: none;
    border-radius: var(--at-radius-md);
    transition: all 150ms;
}

[b-xfckuvij9b] .nav-link-item:hover {
    background: var(--at-bg-alt);
    color: var(--at-text);
}

[b-xfckuvij9b] .nav-link-item.active {
    background: var(--at-primary-50);
    color: var(--at-primary-dark);
}

/* Theme toggle */
.theme-toggle[b-xfckuvij9b] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--at-border);
    background: var(--at-surface);
    color: var(--at-text-secondary);
    font-size: 1rem;
    cursor: pointer;
    border-radius: var(--at-radius-md);
    transition: all 150ms;
}

.theme-toggle:hover[b-xfckuvij9b] {
    background: var(--at-bg-alt);
    color: var(--at-primary);
    border-color: var(--at-primary-light);
}

/* Mobile actions */
.navbar-mobile-actions[b-xfckuvij9b] {
    display: none;
    align-items: center;
    gap: 0.375rem;
}

/* Mobile toggle */
.navbar-mobile-toggle[b-xfckuvij9b] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    color: var(--at-text);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: var(--at-radius-md);
    transition: background 150ms;
}

.navbar-mobile-toggle:hover[b-xfckuvij9b] {
    background: var(--at-bg-alt);
}

/* Mobile menu */
.navbar-mobile-menu[b-xfckuvij9b] {
    display: none;
    flex-direction: column;
    padding-bottom: 0.75rem;
    border-top: 1px solid var(--at-border-light);
    margin-top: 0.25rem;
}

[b-xfckuvij9b] .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--at-text-secondary);
    text-decoration: none;
    border-radius: var(--at-radius-md);
    transition: all 150ms;
}

[b-xfckuvij9b] .mobile-nav-link:hover, [b-xfckuvij9b] .mobile-nav-link.active {
    background: var(--at-primary-50);
    color: var(--at-primary-dark);
}

/* Responsive */
@media (max-width: 640px) {
    .navbar-links[b-xfckuvij9b] {
        display: none;
    }

    .navbar-mobile-actions[b-xfckuvij9b] {
        display: flex;
    }

    .navbar-mobile-menu[b-xfckuvij9b] {
        display: flex;
    }
}
/* /Pages/Admin/Dashboard.razor.rz.scp.css */
.admin-dashboard[b-bpv9lyf4cf] {
    padding: 2rem 0;
    min-height: calc(100vh - 8rem);
}

/* Header */
.dashboard-header[b-bpv9lyf4cf] {
    margin-bottom: 2rem;
}

.dashboard-title-row[b-bpv9lyf4cf] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.dashboard-title-row h1[b-bpv9lyf4cf] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--at-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.dashboard-title-row h1 i[b-bpv9lyf4cf] {
    color: var(--at-primary);
}

.dashboard-subtitle[b-bpv9lyf4cf] {
    font-size: 0.875rem;
    color: var(--at-text-secondary);
    margin: 0.25rem 0 0;
}

.logout-btn[b-bpv9lyf4cf] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--at-text-secondary);
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-md);
    cursor: pointer;
    transition: all 150ms;
}

.logout-btn:hover[b-bpv9lyf4cf] {
    color: #ef4444;
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

/* Stats */
.dashboard-stats[b-bpv9lyf4cf] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card[b-bpv9lyf4cf] {
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value[b-bpv9lyf4cf] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--at-text);
}

.stat-label[b-bpv9lyf4cf] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--at-text-muted);
}

/* Loading / Error / Empty */
.loading-state[b-bpv9lyf4cf],
.error-state[b-bpv9lyf4cf],
.empty-state[b-bpv9lyf4cf] {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--at-text-secondary);
}

.spinner-large[b-bpv9lyf4cf] {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--at-border);
    border-top-color: var(--at-primary);
    border-radius: 50%;
    animation: spin-b-bpv9lyf4cf 0.7s linear infinite;
    margin: 0 auto 1rem;
}

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

.error-state i[b-bpv9lyf4cf] {
    font-size: 2rem;
    color: #ef4444;
    display: block;
    margin-bottom: 0.5rem;
}

.retry-btn[b-bpv9lyf4cf] {
    margin-top: 0.75rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--at-primary);
    background: transparent;
    border: 1px solid var(--at-primary);
    border-radius: var(--at-radius-md);
    cursor: pointer;
    transition: all 150ms;
}

.retry-btn:hover[b-bpv9lyf4cf] {
    background: var(--at-primary);
    color: white;
}

.empty-state i[b-bpv9lyf4cf] {
    font-size: 2.5rem;
    color: var(--at-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

/* Table */
.debates-table-container[b-bpv9lyf4cf] {
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-lg);
    overflow-x: auto;
}

.debates-table[b-bpv9lyf4cf] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.debates-table thead th[b-bpv9lyf4cf] {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--at-text-muted);
    background: var(--at-bg-alt);
    border-bottom: 1px solid var(--at-border);
    white-space: nowrap;
}

.debates-table tbody tr[b-bpv9lyf4cf] {
    border-bottom: 1px solid var(--at-border-light);
    transition: background 100ms;
}

.debates-table tbody tr:last-child[b-bpv9lyf4cf] {
    border-bottom: none;
}

.debates-table tbody tr:hover[b-bpv9lyf4cf] {
    background: var(--at-bg-alt);
}

.debates-table tbody tr.row-hidden[b-bpv9lyf4cf] {
    opacity: 0.6;
}

.debates-table tbody td[b-bpv9lyf4cf] {
    padding: 0.75rem 1rem;
    color: var(--at-text);
    white-space: nowrap;
}

.topic-cell[b-bpv9lyf4cf] {
    max-width: 300px;
    white-space: normal !important;
    word-break: break-word;
}

.topic-link[b-bpv9lyf4cf] {
    color: var(--at-primary);
    text-decoration: none;
    font-weight: 500;
}

.topic-link:hover[b-bpv9lyf4cf] {
    text-decoration: underline;
}

.provider-cell[b-bpv9lyf4cf] {
    white-space: normal !important;
}

.model-detail[b-bpv9lyf4cf] {
    color: var(--at-text-muted);
    font-size: 0.75rem;
}

.date-cell[b-bpv9lyf4cf] {
    color: var(--at-text-secondary);
    font-size: 0.8125rem;
}

/* Status badges */
.status-badge[b-bpv9lyf4cf] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 9999px;
}

.status-completed[b-bpv9lyf4cf] {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.status-inprogress[b-bpv9lyf4cf] {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.status-pending[b-bpv9lyf4cf] {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
}

.status-failed[b-bpv9lyf4cf] {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Visibility toggle */
.visibility-toggle[b-bpv9lyf4cf] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-md);
    cursor: pointer;
    transition: all 150ms;
    background: var(--at-surface);
}

.visibility-toggle.is-public[b-bpv9lyf4cf] {
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.3);
}

.visibility-toggle.is-public:hover:not(:disabled)[b-bpv9lyf4cf] {
    background: rgba(34, 197, 94, 0.08);
}

.visibility-toggle.is-hidden[b-bpv9lyf4cf] {
    color: var(--at-text-muted);
    border-color: var(--at-border);
}

.visibility-toggle.is-hidden:hover:not(:disabled)[b-bpv9lyf4cf] {
    background: var(--at-bg-alt);
}

.visibility-toggle:disabled[b-bpv9lyf4cf] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Delete actions */
.delete-btn[b-bpv9lyf4cf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
    color: var(--at-text-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--at-radius-md);
    cursor: pointer;
    transition: all 150ms;
}

.delete-btn:hover:not(:disabled)[b-bpv9lyf4cf] {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

.delete-btn:disabled[b-bpv9lyf4cf] {
    opacity: 0.4;
    cursor: not-allowed;
}

.confirm-delete[b-bpv9lyf4cf] {
    display: flex;
    gap: 0.375rem;
}

.confirm-yes[b-bpv9lyf4cf],
.confirm-no[b-bpv9lyf4cf] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--at-radius-sm);
    cursor: pointer;
    transition: all 150ms;
    border: 1px solid;
}

.confirm-yes[b-bpv9lyf4cf] {
    color: white;
    background: #ef4444;
    border-color: #ef4444;
}

.confirm-yes:hover:not(:disabled)[b-bpv9lyf4cf] {
    background: #dc2626;
}

.confirm-no[b-bpv9lyf4cf] {
    color: var(--at-text-secondary);
    background: var(--at-surface);
    border-color: var(--at-border);
}

.confirm-no:hover:not(:disabled)[b-bpv9lyf4cf] {
    background: var(--at-bg-alt);
}

.confirm-yes:disabled[b-bpv9lyf4cf],
.confirm-no:disabled[b-bpv9lyf4cf] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-stats[b-bpv9lyf4cf] {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-title-row[b-bpv9lyf4cf] {
        flex-direction: column;
        gap: 1rem;
    }

    .debates-table-container[b-bpv9lyf4cf] {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .dashboard-stats[b-bpv9lyf4cf] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Admin/Login.razor.rz.scp.css */
.admin-login-section[b-jo9l3mebfb] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 8rem);
    padding: 2rem 1rem;
}

.admin-login-card[b-jo9l3mebfb] {
    width: 100%;
    max-width: 400px;
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.admin-login-header[b-jo9l3mebfb] {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-login-header i[b-jo9l3mebfb] {
    font-size: 2.5rem;
    color: var(--at-primary);
    display: block;
    margin-bottom: 0.75rem;
}

.admin-login-header h2[b-jo9l3mebfb] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--at-text);
    margin: 0 0 0.25rem;
}

.admin-login-header p[b-jo9l3mebfb] {
    font-size: 0.875rem;
    color: var(--at-text-secondary);
    margin: 0;
}

.form-group[b-jo9l3mebfb] {
    margin-bottom: 1.25rem;
}

.form-group label[b-jo9l3mebfb] {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--at-text);
    margin-bottom: 0.375rem;
}

.form-input[b-jo9l3mebfb] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-md);
    background: var(--at-bg);
    color: var(--at-text);
    transition: border-color 150ms, box-shadow 150ms;
    box-sizing: border-box;
}

.form-input:focus[b-jo9l3mebfb] {
    outline: none;
    border-color: var(--at-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input:disabled[b-jo9l3mebfb] {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-error[b-jo9l3mebfb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--at-radius-md);
    color: #ef4444;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.login-btn[b-jo9l3mebfb] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    background: var(--at-primary);
    border: none;
    border-radius: var(--at-radius-md);
    cursor: pointer;
    transition: background 150ms, transform 100ms;
}

.login-btn:hover:not(:disabled)[b-jo9l3mebfb] {
    background: var(--at-primary-dark);
}

.login-btn:active:not(:disabled)[b-jo9l3mebfb] {
    transform: scale(0.98);
}

.login-btn:disabled[b-jo9l3mebfb] {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner[b-jo9l3mebfb] {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-jo9l3mebfb 0.6s linear infinite;
}

@keyframes spin-b-jo9l3mebfb {
    to { transform: rotate(360deg); }
}
/* /Pages/DebateComparison.razor.rz.scp.css */
/* =============================================
   Comparison Page — Role Inversion Side-by-Side
   ============================================= */

.comparison-page[b-4dtaxpp0hs] {
    min-height: calc(100vh - 3.5rem);
}

.comparison-loading[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

/* =============================================
   Shared component styles (scoped to this page)
   ============================================= */
.btn-back[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 1px solid var(--at-border);
    color: var(--at-text-secondary);
    padding: 0.375rem 0.875rem;
    border-radius: var(--at-radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms;
    text-decoration: none;
}

.btn-back:hover[b-4dtaxpp0hs] {
    background: var(--at-bg-alt);
    color: var(--at-text);
    border-color: var(--at-primary-light);
}

.btn-back i[b-4dtaxpp0hs] {
    font-size: 0.875rem;
}

.meta-chip[b-4dtaxpp0hs] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.625rem;
    background: var(--at-bg-alt);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--at-text-secondary);
    white-space: nowrap;
}

.meta-chip i[b-4dtaxpp0hs] {
    font-size: 0.6875rem;
    opacity: 0.7;
}

.section-header[b-4dtaxpp0hs] {
    margin-bottom: 1.25rem;
}

.section-title[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--at-text);
}

.section-title i[b-4dtaxpp0hs] {
    color: var(--at-primary);
    font-size: 1rem;
}

.section-subtitle[b-4dtaxpp0hs] {
    font-size: 0.8125rem;
    color: var(--at-text-muted);
    margin: 0;
}

.toolbar-inner[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    min-height: 2.75rem;
}

.toolbar-nav[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.toolbar-nav[b-4dtaxpp0hs]::-webkit-scrollbar {
    display: none;
}

.toolbar-link[b-4dtaxpp0hs] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: none;
    border: none;
    border-radius: var(--at-radius-md);
    color: var(--at-text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 150ms;
}

.toolbar-link:hover[b-4dtaxpp0hs] {
    background: var(--at-primary-50);
    color: var(--at-primary);
}

.toolbar-link i[b-4dtaxpp0hs] {
    font-size: 0.75rem;
}

.toolbar-separator[b-4dtaxpp0hs] {
    width: 1px;
    height: 1.5rem;
    background: var(--at-border);
    flex-shrink: 0;
}

.toolbar-actions[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.toolbar-action-btn[b-4dtaxpp0hs] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: none;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-md);
    color: var(--at-text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 150ms;
    text-decoration: none;
}

.toolbar-action-btn:hover[b-4dtaxpp0hs] {
    background: var(--at-bg-alt);
    border-color: var(--at-primary-light);
    color: var(--at-primary);
}

.toolbar-action-btn.action-success[b-4dtaxpp0hs] {
    background: var(--at-success-light);
    border-color: var(--at-success);
    color: var(--at-success);
}

.toolbar-action-btn i[b-4dtaxpp0hs] {
    font-size: 0.875rem;
}

/* =============================================
   Comparison Header
   ============================================= */
.comparison-header-section[b-4dtaxpp0hs] {
    padding: 1.5rem 0 1.25rem;
    border-bottom: 1px solid var(--at-border);
    background: var(--at-bg);
}

.comparison-header[b-4dtaxpp0hs] {
    position: relative;
}

.comparison-nav-row[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.comparison-badge[b-4dtaxpp0hs] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(99, 102, 241, 0.12);
    color: var(--at-primary-light);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.comparison-topic-title[b-4dtaxpp0hs] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--at-text);
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin: 0 0 0.75rem;
    max-width: 52rem;
}

.comparison-meta-row[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.meta-chip-success[b-4dtaxpp0hs] {
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
    background: rgba(16, 185, 129, 0.08);
}

.meta-chip-danger[b-4dtaxpp0hs] {
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
    background: rgba(239, 68, 68, 0.08);
}

/* Progress bars */
.comparison-progress-row[b-4dtaxpp0hs] {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comparison-progress-item[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-label[b-4dtaxpp0hs] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--at-text-secondary);
    min-width: 4.5rem;
}

.comparison-progress-track[b-4dtaxpp0hs] {
    flex: 1;
    height: 4px;
    background: var(--at-bg-alt);
    border-radius: 9999px;
    overflow: hidden;
}

.comparison-progress-fill[b-4dtaxpp0hs] {
    height: 100%;
    background: linear-gradient(90deg, var(--at-primary), var(--at-primary-light));
    border-radius: 9999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 4px;
}

.comparison-progress-fill-inverted[b-4dtaxpp0hs] {
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

.progress-round[b-4dtaxpp0hs] {
    font-size: 0.6875rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--at-text-muted);
    min-width: 3rem;
    text-align: right;
}

/* =============================================
   Sticky Toolbar (reuses DebateResult patterns)
   ============================================= */
.comparison-toolbar[b-4dtaxpp0hs] {
    position: sticky;
    top: 3.5rem;
    z-index: 50;
    background: var(--at-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--at-border);
    box-shadow: var(--at-shadow-sm);
}

/* =============================================
   Comparison Body
   ============================================= */
.comparison-body[b-4dtaxpp0hs] {
    position: relative;
}

.comparison-content-wrap[b-4dtaxpp0hs] {
    padding-top: 0.5rem;
    padding-bottom: 3rem;
}

.comparison-section[b-4dtaxpp0hs] {
    padding: 2rem 0 1.5rem;
    border-top: 1px solid var(--at-border);
}

.comparison-section:first-child[b-4dtaxpp0hs] {
    border-top: none;
    padding-top: 1.25rem;
}

/* =============================================
   Config Comparison
   ============================================= */
.config-grid[b-4dtaxpp0hs] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.config-card[b-4dtaxpp0hs] {
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-xl);
    padding: 1rem 1.25rem;
}

.config-card-label[b-4dtaxpp0hs] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.config-label-original[b-4dtaxpp0hs] {
    color: var(--at-primary-light);
}

.config-label-inverted[b-4dtaxpp0hs] {
    color: #ec4899;
}

.config-row[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
}

.config-row + .config-row[b-4dtaxpp0hs] {
    border-top: 1px solid var(--at-border-light);
}

.config-side[b-4dtaxpp0hs] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-width: 5.5rem;
    flex-shrink: 0;
}

.config-side-for[b-4dtaxpp0hs] {
    color: var(--at-side-for);
}

.config-side-against[b-4dtaxpp0hs] {
    color: var(--at-side-against);
}

.config-detail[b-4dtaxpp0hs] {
    color: var(--at-text);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.config-persona[b-4dtaxpp0hs] {
    color: var(--at-text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.config-swap-indicator[b-4dtaxpp0hs] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: var(--at-bg-alt);
    border: 1px solid var(--at-border);
    color: var(--at-primary);
    font-size: 1rem;
}

/* =============================================
   Statistics Comparison — full-width two-panel
   ============================================= */
.stats-layout[b-4dtaxpp0hs] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.stats-compare-card[b-4dtaxpp0hs] {
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-xl);
    padding: 1rem 1.25rem;
}

.stats-compare-header[b-4dtaxpp0hs] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--at-border-light);
}

.stats-compare-label[b-4dtaxpp0hs] {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stats-label-original[b-4dtaxpp0hs] {
    color: var(--at-primary-light);
    grid-column: 2;
    text-align: right;
}

.stats-label-inverted[b-4dtaxpp0hs] {
    color: #ec4899;
    grid-column: 3;
    text-align: right;
}

.stats-compare-row[b-4dtaxpp0hs] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    padding: 0.375rem 0;
    align-items: center;
}

.stats-compare-row + .stats-compare-row[b-4dtaxpp0hs] {
    border-top: 1px solid var(--at-border-light);
}

.stats-compare-name[b-4dtaxpp0hs] {
    font-size: 0.8125rem;
    color: var(--at-text-secondary);
    font-weight: 500;
}

.stats-compare-value[b-4dtaxpp0hs] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--at-text);
    font-family: 'JetBrains Mono', monospace;
    text-align: right;
}

.stats-value-for[b-4dtaxpp0hs] {
    color: var(--at-side-for);
}

.stats-value-against[b-4dtaxpp0hs] {
    color: var(--at-side-against);
}

/* --- Word balance panel (right column) --- */
.stats-balance-panel[b-4dtaxpp0hs] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.balance-card[b-4dtaxpp0hs] {
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-xl);
    padding: 1rem 1.25rem;
}

.balance-card-label[b-4dtaxpp0hs] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.balance-label-original[b-4dtaxpp0hs] {
    color: var(--at-primary-light);
}

.balance-label-inverted[b-4dtaxpp0hs] {
    color: #ec4899;
}

.balance-bar-track[b-4dtaxpp0hs] {
    display: flex;
    height: 8px;
    border-radius: 9999px;
    overflow: hidden;
    gap: 2px;
}

.balance-bar-for[b-4dtaxpp0hs] {
    background: var(--at-side-for-bg);
    border-radius: 9999px 0 0 9999px;
    transition: width 0.6s ease;
    min-width: 4px;
}

.balance-bar-against[b-4dtaxpp0hs] {
    background: var(--at-side-against-bg);
    border-radius: 0 9999px 9999px 0;
    transition: width 0.6s ease;
    min-width: 4px;
}

.balance-labels[b-4dtaxpp0hs] {
    display: flex;
    justify-content: space-between;
    margin-top: 0.375rem;
}

.balance-label[b-4dtaxpp0hs] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.balance-label-for[b-4dtaxpp0hs] {
    color: var(--at-side-for);
}

.balance-label-against[b-4dtaxpp0hs] {
    color: var(--at-side-against);
}

.balance-count[b-4dtaxpp0hs] {
    color: var(--at-text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 400;
}

/* Delta insight callout */
.balance-insight[b-4dtaxpp0hs] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-lg);
    font-size: 0.8125rem;
    color: var(--at-text-secondary);
    line-height: 1.5;
}

.balance-insight i[b-4dtaxpp0hs] {
    color: var(--at-primary);
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.balance-insight strong[b-4dtaxpp0hs] {
    color: var(--at-text);
    font-weight: 600;
}

/* =============================================
   Comparison Tabs (shared by positions + transcripts)
   ============================================= */
.comparison-tabs[b-4dtaxpp0hs] {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-lg);
    padding: 0.25rem;
}

.comparison-tab[b-4dtaxpp0hs] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: none;
    border: 1px solid transparent;
    border-radius: var(--at-radius-md);
    color: var(--at-text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms;
}

.comparison-tab:hover[b-4dtaxpp0hs] {
    color: var(--at-text-secondary);
    background: var(--at-bg-alt);
}

.comparison-tab-active[b-4dtaxpp0hs] {
    background: var(--at-primary-50);
    color: var(--at-primary);
    border-color: var(--at-primary-100);
    box-shadow: var(--at-shadow-xs);
}

.comparison-tab-inverted-active[b-4dtaxpp0hs] {
    background: rgba(236, 72, 153, 0.08);
    color: #ec4899;
    border-color: rgba(236, 72, 153, 0.2);
}

.comparison-tab i[b-4dtaxpp0hs] {
    font-size: 0.75rem;
}

.comparison-tab-model[b-4dtaxpp0hs] {
    font-weight: 400;
    font-size: 0.6875rem;
    color: var(--at-text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.comparison-tab-active .comparison-tab-model[b-4dtaxpp0hs] {
    color: inherit;
    opacity: 0.7;
}

/* =============================================
   Final Positions — stacked full-width
   ============================================= */
.positions-stacked[b-4dtaxpp0hs] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* =============================================
   Transcript Tab Content — full-width
   ============================================= */
.transcript-tab-content[b-4dtaxpp0hs] {
    min-width: 0;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 991.98px) {
    .config-grid[b-4dtaxpp0hs] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .config-swap-indicator[b-4dtaxpp0hs] {
        justify-self: center;
    }

    .stats-layout[b-4dtaxpp0hs] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .comparison-header-section[b-4dtaxpp0hs] {
        padding: 1.25rem 0 1rem;
    }

    .comparison-topic-title[b-4dtaxpp0hs] {
        font-size: 1.25rem;
    }

    .comparison-nav-row[b-4dtaxpp0hs] {
        gap: 0.5rem;
    }

    .toolbar-link span[b-4dtaxpp0hs],
    .toolbar-action-btn span[b-4dtaxpp0hs] {
        display: none;
    }

    .toolbar-link[b-4dtaxpp0hs],
    .toolbar-action-btn[b-4dtaxpp0hs] {
        padding: 0.375rem 0.5rem;
    }

    .stats-compare-row[b-4dtaxpp0hs] {
        gap: 0.5rem;
    }

    .stats-compare-name[b-4dtaxpp0hs] {
        font-size: 0.75rem;
    }

    .stats-compare-value[b-4dtaxpp0hs] {
        font-size: 0.8125rem;
    }

    /* Tabs stack model name below label on small screens */
    .comparison-tab[b-4dtaxpp0hs] {
        flex-direction: column;
        gap: 0.125rem;
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }

    .comparison-tab-model[b-4dtaxpp0hs] {
        font-size: 0.5625rem;
    }
}

@media (max-width: 480px) {
    .stats-compare-card[b-4dtaxpp0hs] {
        padding: 0.75rem 1rem;
    }

    .comparison-meta-row[b-4dtaxpp0hs] {
        gap: 0.25rem;
    }

    .comparison-tabs[b-4dtaxpp0hs] {
        gap: 0.125rem;
    }
}

/* =============================================
   Print Styles
   ============================================= */
@media print {
    .comparison-toolbar[b-4dtaxpp0hs],
    .btn-back[b-4dtaxpp0hs],
    .toolbar-actions[b-4dtaxpp0hs],
    .comparison-tabs[b-4dtaxpp0hs] {
        display: none !important;
    }

    .comparison-header-section[b-4dtaxpp0hs] {
        background: none !important;
        color: black !important;
        padding: 1rem 0 !important;
        border-bottom: 2px solid #000 !important;
    }

    .comparison-topic-title[b-4dtaxpp0hs] {
        color: black !important;
    }

    .comparison-page[b-4dtaxpp0hs] {
        min-height: auto;
    }
}
/* /Pages/DebateResult.razor.rz.scp.css */
/* =============================================
   Results Page — Polished, professional layout
   ============================================= */

.results-page[b-l8034fj0d4] {
    min-height: calc(100vh - 3.5rem);
}

.results-loading[b-l8034fj0d4] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

/* =============================================
   Results Header — Compact, information-dense
   ============================================= */
.results-header-section[b-l8034fj0d4] {
    padding: 1.5rem 0 1.25rem;
    border-bottom: 1px solid var(--at-border);
    background: var(--at-bg);
}

.results-header[b-l8034fj0d4] {
    position: relative;
}

/* Nav row: back button + status badge */
.results-nav-row[b-l8034fj0d4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.btn-back[b-l8034fj0d4] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 1px solid var(--at-border);
    color: var(--at-text-secondary);
    padding: 0.375rem 0.875rem;
    border-radius: var(--at-radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms;
}

.btn-back:hover[b-l8034fj0d4] {
    background: var(--at-bg-alt);
    color: var(--at-text);
    border-color: var(--at-primary-light);
}

.btn-back i[b-l8034fj0d4] {
    font-size: 0.875rem;
}

/* Status badge */
.results-status-badge[b-l8034fj0d4] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge-success[b-l8034fj0d4] {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-info[b-l8034fj0d4] {
    background: rgba(99, 102, 241, 0.12);
    color: var(--at-primary-light);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.badge-info .spinner-border[b-l8034fj0d4] {
    width: 0.75rem;
    height: 0.75rem;
    border-width: 0.125rem;
    color: var(--at-primary-light);
}

.badge-danger[b-l8034fj0d4] {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-muted[b-l8034fj0d4] {
    background: rgba(255, 255, 255, 0.06);
    color: var(--at-text-muted);
    border: 1px solid var(--at-border);
}

/* Topic title — the hero element */
.results-topic-title[b-l8034fj0d4] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--at-text);
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin: 0 0 0.75rem;
    max-width: 52rem;
}

/* Meta chips row */
.results-meta-row[b-l8034fj0d4] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.meta-chip[b-l8034fj0d4] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.625rem;
    background: var(--at-bg-alt);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--at-text-secondary);
    white-space: nowrap;
}

.meta-chip i[b-l8034fj0d4] {
    font-size: 0.6875rem;
    opacity: 0.7;
}

.meta-chip-for[b-l8034fj0d4] {
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--at-side-for);
    background: rgba(99, 102, 241, 0.08);
}

.meta-chip-for i[b-l8034fj0d4] {
    opacity: 1;
}

.meta-chip-against[b-l8034fj0d4] {
    border-color: rgba(236, 72, 153, 0.3);
    color: var(--at-side-against);
    background: rgba(236, 72, 153, 0.08);
}

.meta-chip-against i[b-l8034fj0d4] {
    opacity: 1;
}

.meta-chip-linked[b-l8034fj0d4] {
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--at-primary-light);
    background: rgba(99, 102, 241, 0.08);
    text-decoration: none;
    cursor: pointer;
    transition: all 150ms;
}

.meta-chip-linked:hover[b-l8034fj0d4] {
    background: rgba(99, 102, 241, 0.15);
    color: var(--at-primary);
}

.meta-chip-vs[b-l8034fj0d4] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--at-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Progress bar for in-progress debates */
.results-progress-track[b-l8034fj0d4] {
    margin-top: 1rem;
    height: 4px;
    background: var(--at-bg-alt);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.results-progress-fill[b-l8034fj0d4] {
    height: 100%;
    background: linear-gradient(90deg, var(--at-primary), var(--at-primary-light));
    border-radius: 9999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 4px;
    position: relative;
}

.results-progress-fill[b-l8034fj0d4]::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    bottom: -2px;
    width: 24px;
    background: linear-gradient(90deg, transparent, var(--at-primary-light));
    border-radius: 9999px;
    animation: progress-pulse-b-l8034fj0d4 1.5s ease-in-out infinite;
}

@keyframes progress-pulse-b-l8034fj0d4 {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Error banner for failed debates */
.results-error-banner[b-l8034fj0d4] {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--at-radius-lg);
    font-size: 0.8125rem;
    color: #fca5a5;
}

.results-error-banner > i[b-l8034fj0d4] {
    color: #f87171;
    font-size: 1rem;
    flex-shrink: 0;
}

.results-error-banner > span[b-l8034fj0d4] {
    flex: 1;
    min-width: 0;
}

.btn-try-again[b-l8034fj0d4] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--at-radius-md);
    color: #fca5a5;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms;
}

.btn-try-again:hover[b-l8034fj0d4] {
    background: rgba(239, 68, 68, 0.25);
    color: #fee2e2;
}

/* =============================================
   Sticky Toolbar (TOC + Actions)
   ============================================= */
.results-toolbar[b-l8034fj0d4] {
    position: sticky;
    top: 3.5rem;
    z-index: 50;
    background: var(--at-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--at-border);
    box-shadow: var(--at-shadow-sm);
}

.toolbar-inner[b-l8034fj0d4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    min-height: 2.75rem;
}

.toolbar-nav[b-l8034fj0d4] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.toolbar-nav[b-l8034fj0d4]::-webkit-scrollbar {
    display: none;
}

.toolbar-link[b-l8034fj0d4] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: none;
    border: none;
    border-radius: var(--at-radius-md);
    color: var(--at-text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 150ms;
}

.toolbar-link:hover[b-l8034fj0d4] {
    background: var(--at-primary-50);
    color: var(--at-primary);
}

.toolbar-link i[b-l8034fj0d4] {
    font-size: 0.75rem;
}

.toolbar-separator[b-l8034fj0d4] {
    width: 1px;
    height: 1.5rem;
    background: var(--at-border);
    flex-shrink: 0;
}

.toolbar-actions[b-l8034fj0d4] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.toolbar-action-btn[b-l8034fj0d4] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: none;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-md);
    color: var(--at-text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 150ms;
}

.toolbar-action-btn:hover[b-l8034fj0d4] {
    background: var(--at-bg-alt);
    border-color: var(--at-primary-light);
    color: var(--at-primary);
}

.toolbar-action-btn.action-success[b-l8034fj0d4] {
    background: var(--at-success-light);
    border-color: var(--at-success);
    color: var(--at-success);
}

.toolbar-action-btn i[b-l8034fj0d4] {
    font-size: 0.875rem;
}

/* =============================================
   Results Body
   ============================================= */
.results-body[b-l8034fj0d4] {
    position: relative;
}

.results-content-wrap[b-l8034fj0d4] {
    padding-top: 0.5rem;
    padding-bottom: 3rem;
}

/* =============================================
   Sections
   ============================================= */
.section-header[b-l8034fj0d4] {
    margin-bottom: 1.25rem;
}

.section-title[b-l8034fj0d4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--at-text);
}

.section-title i[b-l8034fj0d4] {
    color: var(--at-primary);
    font-size: 1rem;
}

.section-subtitle[b-l8034fj0d4] {
    font-size: 0.8125rem;
    color: var(--at-text-muted);
    margin: 0;
}

/* --- Final Positions --- */
.positions-section[b-l8034fj0d4] {
    padding: 2rem 0 1.5rem;
    border-top: 1px solid var(--at-border);
}

.positions-grid[b-l8034fj0d4] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* =============================================
   Statistics Section
   ============================================= */
.stats-section[b-l8034fj0d4] {
    padding: 1.25rem 0 0.75rem;
}

.stats-card[b-l8034fj0d4] {
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-xl);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--at-shadow-xs);
}

/* --- Compact inline metrics row --- */
.stats-summary[b-l8034fj0d4] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--at-border-light);
}

.summary-stat[b-l8034fj0d4] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
}

.summary-value[b-l8034fj0d4] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--at-text);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.01em;
}

.summary-label[b-l8034fj0d4] {
    font-size: 0.75rem;
    color: var(--at-text-muted);
    font-weight: 400;
}

.summary-dot[b-l8034fj0d4] {
    color: var(--at-border);
    font-size: 0.875rem;
    font-weight: 700;
    user-select: none;
}

/* --- Word balance bar --- */
.stats-balance[b-l8034fj0d4] {
    margin-bottom: 1.25rem;
}

.balance-header[b-l8034fj0d4] {
    margin-bottom: 0.5rem;
}

.balance-title[b-l8034fj0d4] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--at-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.balance-bar-track[b-l8034fj0d4] {
    display: flex;
    height: 8px;
    border-radius: 9999px;
    overflow: hidden;
    gap: 2px;
}

.balance-bar-for[b-l8034fj0d4] {
    background: var(--at-side-for-bg);
    border-radius: 9999px 0 0 9999px;
    transition: width 0.6s ease;
    min-width: 4px;
}

.balance-bar-against[b-l8034fj0d4] {
    background: var(--at-side-against-bg);
    border-radius: 0 9999px 9999px 0;
    transition: width 0.6s ease;
    min-width: 4px;
}

.balance-labels[b-l8034fj0d4] {
    display: flex;
    justify-content: space-between;
    margin-top: 0.375rem;
}

.balance-label[b-l8034fj0d4] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.balance-label-for[b-l8034fj0d4] {
    color: var(--at-side-for);
}

.balance-label-against[b-l8034fj0d4] {
    color: var(--at-side-against);
}

.balance-count[b-l8034fj0d4] {
    color: var(--at-text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 400;
}

/* --- Per-round intensity chart --- */
.stats-rounds[b-l8034fj0d4] {
    padding-top: 1rem;
    border-top: 1px solid var(--at-border-light);
}

.rounds-header[b-l8034fj0d4] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.625rem;
}

.rounds-title[b-l8034fj0d4] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--at-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rounds-peak[b-l8034fj0d4] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: var(--at-text-muted);
    font-weight: 500;
}

.rounds-peak i[b-l8034fj0d4] {
    font-size: 0.625rem;
    color: var(--at-primary);
}

.rounds-chart[b-l8034fj0d4] {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    height: 3.5rem;
    margin-bottom: 0.5rem;
}

.round-bar-group[b-l8034fj0d4] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
    min-width: 0;
}

.round-bars[b-l8034fj0d4] {
    display: flex;
    gap: 1px;
    align-items: flex-end;
    flex: 1;
    width: 100%;
}

.round-bar[b-l8034fj0d4] {
    flex: 1;
    border-radius: 2px 2px 0 0;
    min-height: 2px;
    transition: height 0.4s ease, opacity 150ms;
    cursor: default;
}

.round-bar-for[b-l8034fj0d4] {
    background: var(--at-side-for);
    opacity: 0.65;
}

.round-bar-against[b-l8034fj0d4] {
    background: var(--at-side-against);
    opacity: 0.65;
}

.round-bar:hover[b-l8034fj0d4] {
    opacity: 1;
}

.round-bar-label[b-l8034fj0d4] {
    font-size: 0.5625rem;
    color: var(--at-text-muted);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.rounds-legend[b-l8034fj0d4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.legend-item[b-l8034fj0d4] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6875rem;
    color: var(--at-text-muted);
    font-weight: 500;
}

.legend-swatch[b-l8034fj0d4] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.legend-for .legend-swatch[b-l8034fj0d4] {
    background: var(--at-side-for);
}

.legend-against .legend-swatch[b-l8034fj0d4] {
    background: var(--at-side-against);
}

/* --- Transcript Section --- */
.transcript-section[b-l8034fj0d4] {
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--at-border);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 991.98px) {
    .stats-card[b-l8034fj0d4] {
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .results-header-section[b-l8034fj0d4] {
        padding: 1.25rem 0 1rem;
    }

    .results-topic-title[b-l8034fj0d4] {
        font-size: 1.25rem;
    }

    .positions-grid[b-l8034fj0d4] {
        grid-template-columns: 1fr;
    }

    .results-nav-row[b-l8034fj0d4] {
        gap: 0.5rem;
    }

    /* Toolbar responsive */
    .toolbar-inner[b-l8034fj0d4] {
        gap: 0.5rem;
    }

    .toolbar-link span[b-l8034fj0d4] {
        display: none;
    }

    .toolbar-link[b-l8034fj0d4] {
        padding: 0.375rem 0.5rem;
    }

    .toolbar-link i[b-l8034fj0d4] {
        font-size: 0.875rem;
    }

    .toolbar-action-btn span[b-l8034fj0d4] {
        display: none;
    }

    .toolbar-action-btn[b-l8034fj0d4] {
        padding: 0.375rem 0.5rem;
    }

    /* Stats responsive */
    .stats-summary[b-l8034fj0d4] {
        gap: 0.375rem;
    }

    .summary-value[b-l8034fj0d4] {
        font-size: 0.8125rem;
    }

    /* Error banner stacks */
    .results-error-banner[b-l8034fj0d4] {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .stats-card[b-l8034fj0d4] {
        padding: 1rem;
    }

    .rounds-header[b-l8034fj0d4] {
        flex-direction: column;
        gap: 0.125rem;
    }

    .toolbar-separator[b-l8034fj0d4] {
        display: none;
    }

    .results-meta-row[b-l8034fj0d4] {
        gap: 0.25rem;
    }

    .meta-chip[b-l8034fj0d4] {
        font-size: 0.6875rem;
        padding: 0.2rem 0.5rem;
    }
}

/* =============================================
   Print Styles
   ============================================= */
@media print {
    .results-toolbar[b-l8034fj0d4],
    .btn-back[b-l8034fj0d4],
    .toolbar-actions[b-l8034fj0d4] {
        display: none !important;
    }

    .results-header-section[b-l8034fj0d4] {
        background: none !important;
        color: black !important;
        padding: 1rem 0 !important;
        border-bottom: 2px solid #000 !important;
    }

    .results-topic-title[b-l8034fj0d4] {
        color: black !important;
    }

    .meta-chip[b-l8034fj0d4] {
        background: none !important;
        border-color: #ccc !important;
        color: #333 !important;
    }

    .results-page[b-l8034fj0d4] {
        min-height: auto;
    }

    .positions-grid[b-l8034fj0d4] {
        grid-template-columns: 1fr !important;
    }

    .stats-card[b-l8034fj0d4],
    .message-bubble[b-l8034fj0d4],
    .position-card[b-l8034fj0d4] {
        break-inside: avoid;
    }

    .transcript-section[b-l8034fj0d4] {
        border-top: 2px solid #000 !important;
    }
}
/* /Pages/Home.razor.rz.scp.css */
/* --- Hero Section (full-height with side-by-side layout) --- */
.hero-section[b-ctd1voiwnw] {
    color: white;
    padding: 4rem 0 4.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section h1[b-ctd1voiwnw] {
    color: var(--at-text);
}

.hero-section p[b-ctd1voiwnw] {
    color: var(--at-text-secondary);
}

.hero-section .trust-indicators[b-ctd1voiwnw] {
    color: var(--at-text-secondary);
}

.hero-bg-pattern[b-ctd1voiwnw] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* --- Side-by-Side Layout --- */
.hero-layout[b-ctd1voiwnw] {
    display: flex;
    align-items: flex-start;
    gap: 3.5rem;
    position: relative;
}

/* --- Hero Content (left column) --- */
.hero-content[b-ctd1voiwnw] {
    position: relative;
    flex: 1;
    min-width: 0;
    padding-top: 1rem;
}

.hero-badge[b-ctd1voiwnw] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--at-bg-alt);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--at-text);
    margin-bottom: 1.5rem;
    border: 1px solid var(--at-border-light);
}

.hero-badge i[b-ctd1voiwnw] {
    color: var(--at-accent-light);
}

.hero-title[b-ctd1voiwnw] {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: white;
    margin-bottom: 1.25rem;
}

.hero-title-accent[b-ctd1voiwnw] {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle[b-ctd1voiwnw] {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin-bottom: 1.25rem;
}

/* --- Form Column (right column) --- */
.hero-form-column[b-ctd1voiwnw] {
    flex: 0 0 480px;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

/* --- Debate Form Card --- */
.debate-form-card[b-ctd1voiwnw] {
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-2xl);
    box-shadow: var(--at-shadow-xl);
    padding: 1.25rem 1.5rem;
}

.form-card-header[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--at-border-light);
}

.form-card-icon[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--at-radius-lg);
    flex-shrink: 0;
    overflow: hidden;
}

.form-card-logo[b-ctd1voiwnw] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.form-card-title[b-ctd1voiwnw] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--at-text);
}

.form-card-subtitle[b-ctd1voiwnw] {
    font-size: 0.875rem;
    color: var(--at-text-muted);
    margin: 0.25rem 0 0;
}

/* --- Form Groups --- */
.form-group[b-ctd1voiwnw] {
    margin-bottom: 1rem;
}

.form-group .form-label[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group .form-label i[b-ctd1voiwnw] {
    color: var(--at-text-muted);
    font-size: 0.875rem;
}

.label-optional[b-ctd1voiwnw] {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--at-text-muted);
    background: var(--at-bg-alt);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Random Topic Button --- */
.btn-random-topic[b-ctd1voiwnw] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
    padding: 0.1875rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--at-primary);
    background: var(--at-primary-50);
    border: 1px solid transparent;
    border-radius: 9999px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all var(--at-transition-fast);
    line-height: 1.4;
}

.btn-random-topic i[b-ctd1voiwnw] {
    font-size: 0.625rem;
    color: var(--at-primary) !important;
    transition: transform 0.3s ease;
}

.btn-random-topic:hover[b-ctd1voiwnw] {
    background: var(--at-primary-100);
    border-color: var(--at-primary-light);
    color: var(--at-primary-dark);
}

.btn-random-topic:hover i[b-ctd1voiwnw] {
    transform: rotate(180deg);
}

.btn-random-topic:active[b-ctd1voiwnw] {
    transform: scale(0.95);
}

.form-hint[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--at-text-muted);
    margin-top: 0.375rem;
}

.form-hint i[b-ctd1voiwnw] {
    font-size: 0.75rem;
}

.char-count[b-ctd1voiwnw] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--at-text-muted);
    flex-shrink: 0;
}

.form-divider[b-ctd1voiwnw] {
    border: none;
    border-top: 1px solid var(--at-border-light);
    margin: 1rem 0;
}

/* --- Rounds Display --- */
.rounds-display[b-ctd1voiwnw] {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.rounds-value[b-ctd1voiwnw] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--at-primary);
    line-height: 1;
    letter-spacing: -0.03em;
}

.rounds-label[b-ctd1voiwnw] {
    font-size: 0.8125rem;
    color: var(--at-text-muted);
    font-weight: 500;
}

.range-labels[b-ctd1voiwnw] {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--at-text-muted);
    margin-top: 0.25rem;
}

/* --- Dropzone --- */
.dropzone[b-ctd1voiwnw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    border: 2px dashed var(--at-border);
    border-radius: var(--at-radius-lg);
    padding: 0.875rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 200ms ease;
    background: var(--at-bg-alt);
}

.dropzone:hover[b-ctd1voiwnw] {
    border-color: var(--at-primary);
    background: rgba(99, 102, 241, 0.04);
}

.dropzone-active[b-ctd1voiwnw] {
    border-color: var(--at-primary);
    background: rgba(99, 102, 241, 0.08);
    border-style: solid;
}

/* Visually hide the native file input — off-screen but still functional */
.dropzone[b-ctd1voiwnw]  input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dropzone-icon[b-ctd1voiwnw] {
    font-size: 1.25rem;
    color: var(--at-text-muted);
    margin-bottom: 0.125rem;
}

.dropzone-active .dropzone-icon[b-ctd1voiwnw] {
    color: var(--at-primary);
}

.dropzone-text[b-ctd1voiwnw] {
    font-size: 0.875rem;
    color: var(--at-text-muted);
}

.dropzone-browse[b-ctd1voiwnw] {
    color: var(--at-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.4);
    text-underline-offset: 2px;
}

.dropzone-hint[b-ctd1voiwnw] {
    font-size: 0.75rem;
    color: var(--at-text-muted);
    opacity: 0.7;
}

/* --- Uploaded Files List --- */
.uploaded-files-list[b-ctd1voiwnw] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.uploaded-file-item[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4375rem 0.75rem;
    background: var(--at-bg-alt);
    border: 1px solid var(--at-border-light);
    border-radius: var(--at-radius-md);
    font-size: 0.8125rem;
    color: var(--at-text);
}

.uploaded-file-item i:first-child[b-ctd1voiwnw] {
    color: var(--at-primary);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.uploaded-file-name[b-ctd1voiwnw] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--at-text);
}

.uploaded-file-size[b-ctd1voiwnw] {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--at-text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.btn-remove-file[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    background: transparent;
    border: none;
    color: var(--at-text-muted);
    cursor: pointer;
    border-radius: var(--at-radius-sm);
    transition: all 150ms ease;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.btn-remove-file:hover[b-ctd1voiwnw] {
    background: var(--at-bg);
    color: var(--at-danger);
}

.btn-remove-file:active[b-ctd1voiwnw] {
    transform: scale(0.95);
}

/* --- Provider + Model two-column layout --- */
.form-row-2col[b-ctd1voiwnw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* --- Agent Customization Toggle --- */
.agent-toggle-section[b-ctd1voiwnw] {
    margin: 0.75rem 0 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--at-border-light);
}

.agent-toggle[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.agent-toggle input[type="checkbox"][b-ctd1voiwnw] {
    display: none;
}

.agent-toggle-slider[b-ctd1voiwnw] {
    position: relative;
    width: 2.5rem;
    height: 1.375rem;
    background: var(--at-border);
    border-radius: 9999px;
    transition: background 200ms ease;
    flex-shrink: 0;
}

.agent-toggle-slider[b-ctd1voiwnw]::after {
    content: "";
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 50%;
    transition: transform 200ms ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.agent-toggle input:checked + .agent-toggle-slider[b-ctd1voiwnw] {
    background: var(--at-primary);
}

.agent-toggle input:checked + .agent-toggle-slider[b-ctd1voiwnw]::after {
    transform: translateX(1.125rem);
}

.agent-toggle-label[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--at-text);
}

.agent-toggle-label i[b-ctd1voiwnw] {
    color: var(--at-text-muted);
    font-size: 0.8125rem;
}

/* --- Agent Panels Grid --- */
.agent-panels[b-ctd1voiwnw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.agent-panel[b-ctd1voiwnw] {
    background: var(--at-bg-alt);
    border: 1px solid var(--at-border-light);
    border-radius: var(--at-radius-lg);
    padding: 1rem;
    border-top: 3px solid var(--at-border);
}

.agent-panel .form-group[b-ctd1voiwnw] {
    margin-bottom: 0.875rem;
}

.agent-panel .form-group:last-child[b-ctd1voiwnw] {
    margin-bottom: 0;
}

.agent-panel-for[b-ctd1voiwnw] {
    border-top-color: #22c55e;
}

.agent-panel-against[b-ctd1voiwnw] {
    border-top-color: #ef4444;
}

.agent-panel-header[b-ctd1voiwnw] {
    margin-bottom: 0.875rem;
}

.agent-panel-badge[b-ctd1voiwnw] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.agent-badge-for[b-ctd1voiwnw] {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.agent-badge-against[b-ctd1voiwnw] {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.form-label-sm[b-ctd1voiwnw] {
    font-size: 0.75rem !important;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.form-label-sm i[b-ctd1voiwnw] {
    font-size: 0.6875rem !important;
}

/* --- Agent Panel Select Dropdowns --- */
.agent-panel .form-select[b-ctd1voiwnw],
.agent-panel .form-select-sm[b-ctd1voiwnw] {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 2rem 0.5rem 0.625rem;
    line-height: 1.4;
    border: 1.5px solid var(--at-border);
    border-radius: var(--at-radius-md);
    background-color: var(--at-surface);
    color: var(--at-text);
    cursor: pointer;
    transition: border-color var(--at-transition-fast), box-shadow var(--at-transition-fast);
    /* Allow text to show fully on wider screens, truncate on narrow */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M2.22 4.47a.75.75 0 0 1 1.06 0L6 7.19l2.72-2.72a.75.75 0 1 1 1.06 1.06L6.53 8.78a.75.75 0 0 1-1.06 0L2.22 5.53a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 0.75rem;
}

.agent-panel .form-select:hover[b-ctd1voiwnw],
.agent-panel .form-select-sm:hover[b-ctd1voiwnw] {
    border-color: var(--at-primary-light);
}

.agent-panel .form-select:focus[b-ctd1voiwnw],
.agent-panel .form-select-sm:focus[b-ctd1voiwnw] {
    border-color: var(--at-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    outline: none;
}

.agent-panel .form-select option[b-ctd1voiwnw],
.agent-panel .form-select-sm option[b-ctd1voiwnw] {
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.5rem 0.625rem;
    line-height: 1.6;
    color: var(--at-text);
    background: var(--at-surface);
}

/* Smaller text inputs inside agent panels */
.agent-panel .form-control-sm[b-ctd1voiwnw] {
    font-size: 0.8125rem;
    padding: 0.4375rem 0.625rem;
    border: 1.5px solid var(--at-border);
    border-radius: var(--at-radius-md);
}

.temp-value[b-ctd1voiwnw] {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--at-primary);
    background: var(--at-primary-50);
    padding: 0.0625rem 0.375rem;
    border-radius: 9999px;
}

.form-range-sm[b-ctd1voiwnw] {
    height: 0.375rem;
}

/* --- Agent Override Toggles --- */
.agent-override-toggle[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--at-text-muted);
    margin-bottom: 0;
}

.agent-override-toggle input[type="checkbox"][b-ctd1voiwnw] {
    width: 0.875rem;
    height: 0.875rem;
    accent-color: var(--at-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.agent-override-toggle span[b-ctd1voiwnw] {
    line-height: 1.3;
}

/* --- Responsive: Agent Panels --- */
@media (max-width: 600px) {
    .agent-panels[b-ctd1voiwnw] {
        grid-template-columns: 1fr;
    }
}

/* --- Submit Button --- */
.btn-submit[b-ctd1voiwnw] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--at-radius-lg);
    background: var(--at-primary);
    border-color: var(--at-primary);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover:not(:disabled)[b-ctd1voiwnw] {
    background: var(--at-primary-dark);
    border-color: var(--at-primary-dark);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.btn-submit:active:not(:disabled)[b-ctd1voiwnw] {
    transform: translateY(0);
}

/* --- Trust Indicators --- */
.trust-indicators[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.trust-item[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--at-text-muted);
}

.trust-item i[b-ctd1voiwnw] {
    color: var(--at-text-muted);
    font-size: 0.875rem;
}

/* --- Previous Debates Panel --- */
.previous-debates[b-ctd1voiwnw] {
    display: flex;
    flex-direction: column;
    background: var(--at-surface);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-2xl);
    box-shadow: var(--at-shadow-lg);
    overflow: hidden;
    max-height: 480px;
}

.debates-panel-header[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem 0.75rem;
    flex-shrink: 0;
}

.debates-panel-header i[b-ctd1voiwnw] {
    color: var(--at-primary);
    font-size: 1rem;
}

.debates-panel-title[b-ctd1voiwnw] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--at-text);
    margin: 0;
}

.debates-panel-count[b-ctd1voiwnw] {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--at-text-muted);
    background: var(--at-bg-alt);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-left: auto;
}

.debates-search-wrap[b-ctd1voiwnw] {
    padding: 0 1.25rem 0.75rem;
    flex-shrink: 0;
}

.debates-search[b-ctd1voiwnw] {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.8125rem;
    border: 1.5px solid var(--at-border);
    border-radius: var(--at-radius-md);
    background: var(--at-bg-alt);
    color: var(--at-text);
    outline: none;
    transition: border-color var(--at-transition-fast), box-shadow var(--at-transition-fast);
}

.debates-search:focus[b-ctd1voiwnw] {
    border-color: var(--at-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.debates-search[b-ctd1voiwnw]::placeholder {
    color: var(--at-text-muted);
}

.debates-search-container[b-ctd1voiwnw] {
    position: relative;
}

.debates-search-icon[b-ctd1voiwnw] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--at-text-muted);
    font-size: 0.8125rem;
    pointer-events: none;
}

.debates-list[b-ctd1voiwnw] {
    flex: 1;
    overflow-y: auto;
    padding: 0 0.75rem 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--at-border) transparent;
}

.debates-list[b-ctd1voiwnw]::-webkit-scrollbar {
    width: 5px;
}

.debates-list[b-ctd1voiwnw]::-webkit-scrollbar-track {
    background: transparent;
}

.debates-list[b-ctd1voiwnw]::-webkit-scrollbar-thumb {
    background: var(--at-border);
    border-radius: 9999px;
}

.debate-item[b-ctd1voiwnw] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.75rem;
    border-radius: var(--at-radius-lg);
    cursor: pointer;
    transition: background var(--at-transition-fast);
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.debate-item:hover[b-ctd1voiwnw] {
    background: var(--at-bg-alt);
    border-color: var(--at-border-light);
}

.debate-item-topic[b-ctd1voiwnw] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--at-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.debate-item-meta[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.debate-item-badge[b-ctd1voiwnw] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.4375rem;
    border-radius: 9999px;
    line-height: 1.4;
}

.badge-completed[b-ctd1voiwnw] {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.badge-in-progress[b-ctd1voiwnw] {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.badge-failed[b-ctd1voiwnw] {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.badge-pending[b-ctd1voiwnw] {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.debate-item-detail[b-ctd1voiwnw] {
    font-size: 0.6875rem;
    color: var(--at-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.debate-item-detail i[b-ctd1voiwnw] {
    font-size: 0.625rem;
}

.debate-item-separator[b-ctd1voiwnw] {
    color: var(--at-border);
    font-size: 0.5rem;
}

.debate-item-linked-badge[b-ctd1voiwnw] {
    display: inline-flex;
    align-items: center;
    margin-left: 0.375rem;
    padding: 0.1rem 0.375rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--at-radius-md);
    color: var(--at-primary-light);
    font-size: 0.5625rem;
    vertical-align: middle;
}

.debate-item-linked-badge i[b-ctd1voiwnw] {
    font-size: 0.5625rem;
}

.debate-item-inversion[b-ctd1voiwnw] {
    color: var(--at-primary-light);
    font-weight: 600;
}

/* --- Role Inversion Toggle --- */
.role-inversion-section[b-ctd1voiwnw] {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--at-radius-lg);
}

.debates-empty[b-ctd1voiwnw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    text-align: center;
}

.debates-empty-icon[b-ctd1voiwnw] {
    font-size: 1.75rem;
    color: var(--at-text-muted);
    opacity: 0.5;
}

.debates-empty-text[b-ctd1voiwnw] {
    font-size: 0.8125rem;
    color: var(--at-text-muted);
}

.debates-loading[b-ctd1voiwnw] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    color: var(--at-text-muted);
    font-size: 0.8125rem;
}

/* --- Responsive: Tablet --- */
@media (max-width: 991.98px) {
    .hero-section[b-ctd1voiwnw] {
        min-height: auto;
        padding: 3rem 0 3.5rem;
    }

    .hero-layout[b-ctd1voiwnw] {
        flex-direction: column;
        gap: 2.5rem;
        align-items: stretch;
    }

    .hero-content[b-ctd1voiwnw] {
        padding-top: 0;
    }

    .hero-form-column[b-ctd1voiwnw] {
        flex: none;
        max-width: 100%;
    }

    .trust-indicators[b-ctd1voiwnw] {
        justify-content: flex-start;
    }

    .previous-debates[b-ctd1voiwnw] {
        max-height: 360px;
    }

    .form-row-2col[b-ctd1voiwnw] {
        grid-template-columns: 1fr;
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 767.98px) {
    .hero-section[b-ctd1voiwnw] {
        padding: 2.5rem 0 3rem;
    }

    .hero-title[b-ctd1voiwnw] {
        font-size: 2.25rem;
    }

    .hero-subtitle[b-ctd1voiwnw] {
        font-size: 1rem;
    }

    .debate-form-card[b-ctd1voiwnw] {
        padding: 1.5rem;
        border-radius: var(--at-radius-xl);
    }

    .form-card-header[b-ctd1voiwnw] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .trust-indicators[b-ctd1voiwnw] {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title[b-ctd1voiwnw] {
        font-size: 1.875rem;
    }

    .trust-indicators[b-ctd1voiwnw] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
/* /Pages/NotFound.razor.rz.scp.css */
/* --- Not Found Page --- */
.not-found-page[b-gis17btc1j] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 10rem);
    padding: 2rem;
}

.not-found-content[b-gis17btc1j] {
    text-align: center;
    max-width: 420px;
}

.not-found-icon[b-gis17btc1j] {
    font-size: 4rem;
    color: var(--at-text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.not-found-title[b-gis17btc1j] {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.not-found-text[b-gis17btc1j] {
    font-size: 1rem;
    color: var(--at-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}
