/**
 * Guided Demo Flow Styles
 * Step-by-step ITS demonstration experience
 */

/* Shared progress, breadcrumb, step, back-btn, and card styles are in main.css
   under .wizard-* classes. Guided-specific overrides only below. */

/* ===== DATA SOURCE BADGE ===== */

.guided-data-source {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.guided-data-source--captured {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

/* ===== GUIDED-SPECIFIC CARD EXTRAS ===== */

.guided-card-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--text-tertiary);
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    font-weight: 500;
}

.guided-card-detail {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-style: italic;
}

/* ===== SCENARIO SUMMARY ===== */
.guided-scenario-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.guided-summary-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.guided-summary-tag .tag-label {
    color: var(--text-tertiary);
    font-weight: 400;
}

.guided-summary-tag .tag-value {
    color: var(--primary);
    font-weight: 700;
}

/* ===== INFERENCE CALLOUT ===== */
.guided-inference-callout {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    background: rgba(235, 203, 139, 0.08);
    border: 1px solid var(--warning, #ebcb8b);
    border-left: 4px solid var(--warning, #ebcb8b);
    margin-bottom: 20px;
}

.guided-inference-callout-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--warning, #ebcb8b);
    color: var(--bg-primary);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.guided-inference-callout-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.guided-inference-callout-text strong {
    color: var(--text-primary);
}

/* ===== PROMPT AREA ===== */
.guided-prompt-area {
    padding: 24px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-left: 4px solid var(--primary);
    margin-bottom: 24px;
}

.guided-prompt-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    font-weight: 600;
    margin-bottom: 10px;
}

.guided-prompt-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* ===== SUBMIT AREA ===== */
.guided-submit-area {
    text-align: center;
    margin-top: 24px;
}

.guided-submit-btn {
    font-size: 16px;
    padding: 14px 40px;
}

.guided-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== RESPONSES ===== */
.guided-responses {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .guided-responses.two-col {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .guided-responses.three-col {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    }
}

.guided-response-pane {
    background: var(--bg-primary);
    padding: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    animation: wizardFadeIn 0.4s ease-out;
    min-width: 0;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.guided-response-pane.its-pane {
    border-color: var(--primary);
}

.guided-response-pane.frontier-pane {
    border-color: var(--success);
}

.guided-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.guided-pane-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guided-pane-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.guided-pane-indicator.baseline { background: var(--text-tertiary); }
.guided-pane-indicator.its { background: var(--primary); }
.guided-pane-indicator.frontier { background: var(--success); }

.guided-pane-badges {
    display: flex;
    gap: 8px;
    font-size: 11px;
}

.guided-pane-badge {
    padding: 3px 8px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
}

/* ===== FINAL ANSWER + REASONING TOGGLE ===== */
.guided-pane-final-answer {
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: center;
}

.guided-final-answer-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.guided-final-answer-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.guided-final-answer-value p {
    margin: 0;
}

.guided-reasoning-toggle {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.guided-reasoning-summary {
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    cursor: pointer;
    background: var(--bg-secondary);
    border: none;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.guided-reasoning-summary::-webkit-details-marker {
    display: none;
}

.guided-reasoning-summary::before {
    content: '▶';
    font-size: 9px;
    transition: transform 0.2s ease;
}

details.guided-reasoning-toggle[open] > .guided-reasoning-summary::before {
    transform: rotate(90deg);
}

.guided-reasoning-summary:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.guided-reasoning-toggle .guided-pane-response {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    height: 400px;
    overflow-y: auto;
}

.guided-pane-response .katex {
    font-size: 1em;
}

.guided-pane-response .katex-display {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0;
    max-width: 100%;
}

.guided-pane-response .katex-display > .katex {
    max-width: 100%;
    overflow-x: auto;
}

.guided-pane-response {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
    overflow-x: auto;
    min-width: 0;
}

.guided-pane-response p {
    margin: 0 0 10px 0;
}

.guided-pane-response p:last-child {
    margin-bottom: 0;
}

/* ===== QUESTION BANNER ===== */

.guided-question-banner {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary);
    padding: 14px 18px;
    margin-bottom: 4px;
}

/* ===== INSIGHT BOX ===== */

.guided-insight-box {
    background: rgba(251, 191, 36, 0.08);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 16px;
}

.guided-insight-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.guided-insight-icon {
    font-size: 20px;
}

.guided-insight-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--warning);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.guided-insight-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.guided-question-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 6px;
}

.guided-question-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.guided-expected-answer-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(163, 190, 140, 0.12);
    border: 3px solid #a3be8c;
    border-radius: 8px;
    color: #a3be8c;
    font-weight: 700;
}

.guided-expected-answer-bar .guided-expected-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #a3be8c;
    white-space: nowrap;
}

.guided-expected-answer-bar .guided-expected-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #a3be8c;
}

/* ===== TRACE AREA ===== */
.guided-trace-area {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 2px solid var(--border-color);
}

.guided-trace-header {
    text-align: center;
    margin-bottom: 24px;
}

.guided-trace-header h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.guided-trace-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

.guided-trace-btn-area {
    text-align: center;
    margin-bottom: 24px;
}

.guided-trace-btn {
    font-size: 14px;
    padding: 10px 24px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.2s ease;
}

.guided-trace-btn:hover {
    background: var(--primary);
    color: var(--bg-primary);
}

/* Trace animation container */
.guided-trace-animation {
    position: relative;
    overflow: hidden;
}

.guided-trace-phase {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-bottom: 20px;
}

.guided-trace-phase.visible {
    opacity: 1;
    transform: translateY(0);
}

.guided-trace-phase-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guided-trace-phase-label .phase-number {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ===== TRACE CANDIDATE ROWS + DETAIL ===== */
.guided-trace-candidates-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.guided-trace-row {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--bg-primary);
}

.guided-trace-row:hover {
    border-color: var(--primary);
}

.guided-trace-row.active {
    border-color: var(--primary);
    background: rgba(136, 176, 225, 0.06);
}

.guided-trace-row.selected {
    border-color: #a3be8c;
    background: rgba(163, 190, 140, 0.06);
}

.guided-trace-row.selected.active {
    border-color: #a3be8c;
    background: rgba(163, 190, 140, 0.12);
}

.guided-trace-row-summary {
    display: grid;
    grid-template-columns: 110px 1fr 80px;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
}

.guided-trace-row-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.guided-trace-row.selected .guided-trace-row-label {
    color: #a3be8c;
    font-weight: 700;
}

.guided-trace-row-answer {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guided-trace-row-bar-container {
    height: 14px;
    background: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
}

.guided-trace-row-bar {
    height: 100%;
    background: var(--bg-elevated);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.guided-trace-row-bar.top-score {
    background: #ebcb8b;
}

.guided-trace-row-metric {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-align: right;
    white-space: nowrap;
}

.guided-trace-row-metric.winner {
    color: #a3be8c;
    font-weight: 700;
}

.guided-trace-candidate-detail {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.guided-trace-candidate-header {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.guided-trace-candidate-content {
    padding: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-primary);
    height: 300px;
    overflow-y: auto;
}

.guided-trace-candidate-content p {
    margin: 0 0 8px 0;
}

.guided-trace-candidate-content p:last-child {
    margin-bottom: 0;
}

/* ===== TRACE EXPLAINER ===== */
.guided-trace-explainer {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-tertiary);
    font-style: italic;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* ===== NEXT AREA ===== */
.guided-next-area {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

/* ===== PERFORMANCE PAGE ===== */
.guided-perf-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
}

.guided-perf-summary-item {
    flex: 1;
    min-width: 150px;
    padding: 12px 16px;
    text-align: center;
}

.guided-perf-summary-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    font-weight: 600;
    margin-bottom: 4px;
}

.guided-perf-summary-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Performance charts grid */
.guided-perf-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .guided-perf-charts {
        grid-template-columns: 1fr;
    }
}

.guided-perf-chart {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    padding: 24px;
    animation: wizardFadeIn 0.4s ease-out;
}

.guided-perf-chart:nth-child(1) { animation-delay: 0.05s; }
.guided-perf-chart:nth-child(2) { animation-delay: 0.1s; }
.guided-perf-chart:nth-child(3) { animation-delay: 0.15s; }
.guided-perf-chart:nth-child(4) { animation-delay: 0.2s; }

.guided-chart-title {
    font-family: 'Azeret Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* Bar chart rows */
.guided-chart-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guided-chart-bar-row {
    display: grid;
    grid-template-columns: 110px 1fr 90px;
    align-items: center;
    gap: 10px;
}

.guided-bar-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.guided-bar-track {
    height: 28px;
    background: var(--bg-secondary);
    overflow: hidden;
    position: relative;
}

.guided-bar-fill {
    height: 100%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 2px;
}

.guided-bar-fill.baseline { background: #64748b; }
.guided-bar-fill.its { background: var(--primary); }
.guided-bar-fill.frontier { background: var(--success); }

.guided-bar-fill.best {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.guided-bar-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
}

.guided-bar-value.best {
    color: var(--success);
}

/* Restart button */
/* ===== PERFORMANCE TAKEAWAY ===== */

.guided-takeaway {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--primary);
    border-left: 4px solid var(--primary);
}

.guided-takeaway-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

.guided-takeaway-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.guided-restart-area {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

/* ===== TOOL CALL DISPLAY ===== */

.guided-tool-call-display {
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 12px;
}

.guided-tool-call-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.guided-tool-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.guided-tool-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.guided-tool-call-args {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guided-tool-args-json {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    padding: 10px 12px;
    border-radius: 4px;
    margin: 0;
    overflow-x: auto;
    white-space: pre-wrap;
}

.guided-tool-trace-name {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--primary);
}

/* ===== TOOL CALLING EXPECTED ANSWER + VERDICT ===== */

.guided-tool-expected {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 16px;
}

.guided-tool-expected-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.guided-tool-expected-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.guided-tool-expected-tool {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.guided-tool-expected-args {
    margin-bottom: 20px !important;
    font-size: 11px !important;
}

.guided-tool-verdict {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 768px) {
    .guided-tool-verdict {
        grid-template-columns: 1fr;
    }
}

.guided-tool-verdict-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.guided-tool-verdict-item.correct {
    background: rgba(163, 190, 140, 0.08);
    border-color: rgba(163, 190, 140, 0.3);
}

.guided-tool-verdict-item.incorrect {
    background: rgba(191, 97, 106, 0.08);
    border-color: rgba(191, 97, 106, 0.3);
}

.guided-tool-verdict-icon {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1.3;
}

.guided-tool-verdict-item.correct .guided-tool-verdict-icon {
    color: #a3be8c;
}

.guided-tool-verdict-item.incorrect .guided-tool-verdict-icon {
    color: #bf616a;
}

.guided-tool-verdict-item strong {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.guided-tool-verdict-item p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== BENCHMARK ATTRIBUTION CALLOUT ===== */

.guided-benchmark-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 18px;
    background: rgba(94, 129, 172, 0.08);
    border: 1px solid rgba(94, 129, 172, 0.25);
    border-radius: 8px;
    margin-bottom: 20px;
}

.guided-benchmark-badge {
    flex-shrink: 0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    background: rgba(94, 129, 172, 0.2);
    border: 1px solid rgba(94, 129, 172, 0.4);
    border-radius: 4px;
    color: var(--primary);
    margin-top: 1px;
}

.guided-benchmark-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.5;
}

.guided-benchmark-text strong {
    color: var(--text-primary);
}

.guided-benchmark-text span {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ===== RAW API RESPONSE VIEWER ===== */

.guided-raw-data-section {
    text-align: left;
}

.guided-raw-data-toggle {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.guided-raw-data-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    list-style: none;
}

.guided-raw-data-btn::-webkit-details-marker {
    display: none;
}

.guided-raw-data-btn::before {
    content: '▶';
    font-size: 10px;
    transition: transform 0.2s;
}

details[open] > .guided-raw-data-btn::before {
    transform: rotate(90deg);
}

.guided-raw-data-source {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-tertiary);
    padding: 2px 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.guided-raw-data-content {
    border-top: 1px solid var(--border-color);
    padding: 12px 16px;
}

.guided-raw-data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.guided-raw-data-copy {
    font-size: 11px;
    padding: 4px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
}

.guided-raw-data-copy:hover {
    background: var(--bg-secondary);
}

.guided-raw-data-json {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    padding: 12px;
    border-radius: 4px;
    margin: 0;
    max-height: 500px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.guided-tool-result {
    padding: 4px;
}

.guided-tool-result .guided-tool-args-json {
    font-size: 11px;
}

.guided-available-tools {
    display: flex !important;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
    align-items: center;
}

.guided-available-tool-tag {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(94, 129, 172, 0.12);
    border: 1px solid rgba(94, 129, 172, 0.25);
    border-radius: 4px;
    color: var(--text-secondary);
    white-space: nowrap;
}
