html, body {
    font-family: 'Google Sans Code', Arial, sans-serif !important;
    color: #e0e0e0;
    --bs-body-font-family: 'Google Sans Code', Arial, sans-serif;
    --bs-font-sans-serif: 'Google Sans Code', Arial, sans-serif;
    --mud-default-font-family: 'Google Sans Code', Arial, sans-serif;
}

body,
body * {
    font-family: 'Google Sans Code', Arial, sans-serif !important;
}

code,
pre,
kbd,
samp {
    font-family: 'Google Sans Code', Arial, sans-serif !important;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}


.stock-pitch-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
    animation: pitchFadeIn 0.5s ease;
}

@keyframes pitchFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Header ── */

.pitch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

.pitch-header-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.pitch-header-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.3), rgba(128, 128, 128, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    border: 1px solid rgba(255,255,255,0.1);
}

.pitch-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: #f0f0f0;
    font-family: 'Google Sans Code', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.pitch-subtitle {
    margin: 0.3rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.pitch-header-badge .badge-glow {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, rgba(128,128,128,0.2), rgba(128,128,128,0.05));
    border: 1px solid rgba(128,128,128,0.3);
    color: #aaa;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

/* ── Layout Grid ── */

.pitch-layout {
    /* deprecated grid layout replaced by Bootstrap rows/cols */
    display: block;
}

@media (max-width: 992px) {
    .pitch-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Sidebar ── */

.pitch-sidebar {
    position: sticky;
    top: 2rem;
}

/* Sidebar Card */
.sidebar-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.sidebar-card-header svg {
    color: #888;
}

.sidebar-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Input Groups */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #f0f0f0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Google Sans Code', Arial, sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper input:focus {
    border-color: rgba(128,128,128,0.5);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(128,128,128,0.1);
}

.input-wrapper input::placeholder {
    color: #555;
    font-weight: 400;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(128,128,128,0.6), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.input-wrapper input:focus ~ .input-highlight {
    width: 80%;
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #f0f0f0;
    font-size: 0.9rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-wrapper select:focus {
    border-color: rgba(128,128,128,0.5);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(128,128,128,0.1);
}

.select-wrapper select option {
    background: #1a1a1a;
    color: #f0f0f0;
}

.select-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

/* Generate Button */
.generate-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, rgba(128,128,128,0.3), rgba(128,128,128,0.1));
    border: 1px solid rgba(128,128,128,0.3);
    border-radius: 12px;
    color: #f0f0f0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Google Sans Code', Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.generate-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.generate-btn:hover::before {
    width: 400px;
    height: 400px;
}

.generate-btn:hover {
    background: linear-gradient(135deg, rgba(128,128,128,0.4), rgba(128,128,128,0.15));
    border-color: rgba(128,128,128,0.5);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(128,128,128,0.2);
}

.generate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ── Action Buttons ── */

.pitch-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.pitch-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.pitch-action-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.pitch-action-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pitch-action-btn.copy-btn:hover:not(:disabled) {
    border-color: rgba(128,128,128,0.4);
    color: #fff;
}

.pitch-action-btn.pdf-btn:hover:not(:disabled) {
    border-color: rgba(128,128,128,0.4);
    color: #fff;
}

.pitch-action-btn.clear-btn:hover:not(:disabled) {
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.pitch-action-btn.retry-btn:hover:not(:disabled) {
    border-color: rgba(128,128,128,0.4);
    color: #fff;
}

.copy-check {
    display: inline-flex;
    animation: copyPop 0.3s ease;
}

@keyframes copyPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

/* ── Tips Panel ── */

.pitch-tips {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.tips-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tips-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.tips-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #666;
    font-weight: bold;
}

.tips-list li strong {
    color: #aaa;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

/* ── Main Content Area ── */

.pitch-main {
    min-height: 400px;
}

/* ── Loading State ── */

.pitch-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.loading-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(128,128,128,0.06), transparent 70%);
    transform: translate(-50%, -50%);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
}

.loading-spinner-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(128,128,128,0.1);
    border-top-color: rgba(128,128,128,0.6);
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

.loading-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 0.25rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.loading-symbol {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(128,128,128,0.4);
    font-family: 'Google Sans Code', Arial, sans-serif;
    margin-bottom: 0.75rem;
    letter-spacing: 4px;
}

.loading-status {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.loading-progress {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, rgba(128,128,128,0.3), rgba(128,128,128,0.6));
    border-radius: 4px;
    animation: progressSlide 2s ease-in-out infinite;
}

@keyframes progressSlide {
    0% { transform: translateX(-100%); width: 30%; }
    50% { width: 60%; }
    100% { transform: translateX(200%); width: 30%; }
}

.loading-steps {
    display: flex;
    gap: 2rem;
}

.step {
    font-size: 0.8rem;
    font-weight: 500;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Google Sans Code', Arial, sans-serif;
    position: relative;
}

.step.active {
    color: #999;
}

.step.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: rgba(128,128,128,0.5);
    border-radius: 2px;
}

/* ── Error State ── */

.pitch-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 20px;
    text-align: center;
}

.error-icon {
    color: rgba(239, 68, 68, 0.5);
    margin-bottom: 1rem;
}

.error-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 0.75rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.error-detail {
    font-size: 0.9rem;
    color: #999;
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
    word-break: break-word;
}

/* ── Empty State ── */

.pitch-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
}

.empty-icon {
    color: rgba(128,128,128,0.2);
    margin-bottom: 1.5rem;
}

.pitch-empty h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ddd;
    margin: 0 0 0.5rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.pitch-empty p {
    color: #777;
    font-size: 0.9rem;
    max-width: 400px;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.pitch-empty p strong {
    color: #aaa;
}

.empty-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.empty-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #777;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.empty-feature svg {
    color: rgba(128,128,128,0.4);
    flex-shrink: 0;
}

/* ── Tabs ── */

.pitch-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

.pitch-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #777;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Google Sans Code', Arial, sans-serif;
    position: relative;
}

.pitch-tab:hover:not(:disabled) {
    color: #bbb;
    background: rgba(255,255,255,0.04);
}

.pitch-tab.active {
    background: rgba(255,255,255,0.08);
    color: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pitch-tab:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pitch-tab svg {
    opacity: 0.7;
}

.tab-unavailable {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    color: #555;
    font-weight: 600;
}

.pitch-tab-content {
    animation: tabFadeIn 0.35s ease;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Pitch Content / Summary Banner ── */

.pitch-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.summary-banner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

@media (max-width: 768px) {
    .summary-banner {
        grid-template-columns: repeat(2, 1fr);
    }
}

.summary-item {
    text-align: center;
    padding: 0.5rem;
}

.summary-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.4rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.summary-value {
    font-size: 1rem;
    font-weight: 700;
    color: #ddd;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.summary-value.direction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.direction-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.summary-value.long .direction-dot,
.summary-value.positive {
    color: var(--accent-green);
    background: var(--accent-green);
}

.summary-value.short .direction-dot {
    background: var(--accent-red);
}

.summary-value.long { color: var(--accent-green); }
.summary-value.short { color: var(--accent-red); }
.summary-value.price { color: #f0f0f0; }
.summary-value.return.positive { color: var(--accent-green); }
.summary-value.return.negative { color: var(--accent-red); }
.summary-value.conviction { color: #f59e0b; }
.summary-value.horizon { color: #888; }

/* ── Pitch Sections (Accordion) ── */

.pitch-sections {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pitch-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pitch-section:hover {
    border-color: rgba(255,255,255,0.15);
}

.pitch-section.expanded {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
}

.pitch-section-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.pitch-section-header:hover {
    color: #f0f0f0;
    background: rgba(255,255,255,0.03);
}

.section-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-indicator {
    width: 3px;
    height: 16px;
    border-radius: 3px;
    background: rgba(128,128,128,0.3);
    transition: all 0.3s ease;
}

.pitch-section.expanded .section-indicator {
    background: rgba(128,128,128,0.6);
    height: 20px;
}

.section-chevron {
    color: #555;
    transition: transform 0.3s ease;
}

.pitch-section.expanded .section-chevron {
    transform: rotate(180deg);
    color: #888;
}

.pitch-section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pitch-section-body.open {
    max-height: 2000px;
}

.pitch-section-content {
    padding: 0 1.25rem 1.25rem;
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.8;
    font-family: 'Google Sans Code', Arial, sans-serif;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ── Data Sources Bar ── */

.data-sources-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.data-sources-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Google Sans Code', Arial, sans-serif;
    white-space: nowrap;
}

.data-source-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.data-source-chip {
    padding: 0.3rem 0.6rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    font-size: 0.7rem;
    color: #888;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.data-source-chip.unavailable {
    opacity: 0.4;
    text-decoration: line-through;
}

/* ── Pitch Footer ── */

.pitch-footer {
    display: flex;
    gap: 1.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    color: #555;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-item svg {
    opacity: 0.5;
}

/* ── Raw JSON ── */

.raw-json-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.raw-json-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.raw-json-header svg {
    opacity: 0.6;
}

.copy-json-btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: #888;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.copy-json-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #ccc;
}

.raw-json-body {
    padding: 1rem;
    overflow-x: auto;
}

.raw-json-body pre {
    margin: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
}

.raw-json-body code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #999;
    white-space: pre;
}

/* ── Technical Charts ── */

.chart-panel {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.chart-panel-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 600;
    color: #bbb;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.chart-panel-header svg {
    opacity: 0.6;
}

.chart-panel-body {
    padding: 1rem;
    height: 350px;
}

.tech-chart-canvas {
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px;
}

.chart-unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 3rem;
    color: #666;
    font-size: 0.9rem;
    font-family: 'Google Sans Code', Arial, sans-serif;
}

.chart-unavailable svg {
    opacity: 0.3;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .stock-pitch-page {
        padding: 1rem;
    }

    .pitch-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .pitch-header-icon {
        width: 40px;
        height: 40px;
    }

    .pitch-header-icon svg {
        width: 20px;
        height: 20px;
    }

    .pitch-title {
        font-size: 1.2rem;
    }

    .pitch-tabs {
        flex-wrap: wrap;
    }

    .pitch-tab {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .summary-banner {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-panel-body {
        height: 250px;
    }
}
