/* ==========================================================================
   Classify Page — v5.1 Restyle (Phase 29)
   ========================================================================== */

/* Classify Header Card */
.classify-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--app-bar-bg, #26374a);
  color: #fff;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.classify-header-card__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.classify-header-card__icon {
  font-size: 2rem;
  opacity: 0.85;
}
.classify-header-card__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  color: #fff;
}
.classify-header-card__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  opacity: 0.8;
}
.classify-header-card__badges {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.badge--dadm-compliant {
  background: var(--badge-green-bg, #d4edda);
  color: var(--badge-green-text, #155724);
}
.badge--full-provenance {
  background: var(--pill-oasis-bg, #6f42c1);
  color: #fff;
}
.badge--dadm-level2 {
  background: #fff3e0;
  color: #e65100;
}
.badge--human-review {
  background: #ffebee;
  color: #c62828;
}
.badge--ai-generated {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}

/* TBS 3-Step Dark Card */
.classify-tbs-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.classify-tbs-card__step {
  background: var(--app-bar-bg, #26374a);
  padding: 1.25rem;
  text-align: center;
  color: #fff;
}
.classify-tbs-card__step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-bottom: 0.375rem;
}
.classify-tbs-card__step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.classify-tbs-card__step-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0;
}

/* Orange CTA button */
.classify-cta {
  text-align: center;
  margin-bottom: 2rem;
}
.btn--cta-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e67e22;
  color: #fff;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn--cta-orange:hover {
  background: #d35400;
}

/* Top Result Card */
.classify-top-result {
  margin-bottom: 1.5rem;
}
.classify-result-card {
  background: #fff;
  border: 2px solid var(--app-bar-bg, #26374a);
  border-radius: 8px;
  padding: 1.5rem;
}
.classify-result-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.classify-result-card__title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--app-bar-bg, #26374a);
  margin: 0;
}
.classify-result-card__subtitle {
  font-size: 0.875rem;
  color: var(--text-light, #6c757d);
  margin: 0.25rem 0 0;
}
.classify-result-card__tbs-link {
  font-size: 0.875rem;
  color: var(--accent, #2b4380);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.classify-result-card__tbs-link:hover {
  text-decoration: underline;
}
.classify-result-card__confidence-bar {
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin: 0.75rem 0;
}
.classify-result-card__confidence-fill {
  height: 100%;
  border-radius: 4px;
  background: #43a047;
  transition: width 0.3s;
}
.classify-result-card__summary {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text, #333);
  margin: 0;
}

/* Post-analysis section headings */
.classify-section-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--app-bar-bg, #26374a);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

/* Statement Alignment */
.classify-alignment {
  margin-bottom: 1.5rem;
}
.classify-alignment__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.classify-alignment__columns h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text, #333);
  margin: 0 0 0.5rem;
}
.classify-alignment__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.classify-alignment__list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.classify-alignment__score {
  font-size: 1rem;
  font-weight: 600;
  color: var(--app-bar-bg, #26374a);
  padding: 0.75rem 1rem;
  background: #f0f4f8;
  border-radius: 6px;
  text-align: center;
}

/* Key Evidence - green check bullets */
.classify-key-evidence {
  margin-bottom: 1.5rem;
}
.classify-evidence-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.classify-evidence-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.classify-evidence-bullets li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
  color: #2e7d32;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Caveats - amber warning bullets */
.classify-caveats {
  margin-bottom: 1.5rem;
}
.classify-caveats-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.classify-caveats-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.classify-caveats-bullets li::before {
  content: '\f071';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
  color: #e65100;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Alternative Groups */
.classify-alternatives {
  margin-bottom: 1.5rem;
}

/* Next Step */
.classify-next-step {
  margin-bottom: 1.5rem;
}
.classify-next-step__box {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 6px;
  padding: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.classify-next-step__box a {
  color: var(--accent, #2b4380);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .classify-header-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .classify-tbs-card {
    grid-template-columns: 1fr;
  }
  .classify-alignment__columns {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Classification Step 1: Occupational Group Allocation
   Phase 17-01: Basic structure styles
   Phase 17-02: Recommendation cards, confidence visualization, expanded details
   ========================================================================== */

/* ==========================================================================
   SECTION 1: Classify Section Container
   ========================================================================== */

.classify-section {
    padding: 2rem 0;
}

.classify-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.classify-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--gc-blue, #26374a);
}

.classify-position-title {
    margin: 0.5rem 0 1rem 0;
    font-size: 1.125rem;
    color: var(--text);
    font-weight: 500;
}

.classify-position-title:empty {
    display: none;
}

.classify-status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.classify-status-badge.analyzing {
    background: #e3f2fd;
    color: #1565c0;
}

.classify-status-badge.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.classify-status-badge.warning {
    background: #fff3e0;
    color: #e65100;
}

.classify-status-badge.error {
    background: #ffebee;
    color: #c62828;
}

/* ==========================================================================
   SECTION 2: Loading State
   ========================================================================== */

.classify-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
    text-align: center;
}

.classify-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--accent, #2b4380);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.classify-loading p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
   SECTION 3: Error State
   ========================================================================== */

.classify-error {
    padding: 1rem;
    background: #ffebee;
    border: 1px solid #ef9a9a;
    border-radius: 4px;
    color: #c62828;
    margin-bottom: 1rem;
}

.classify-error-detail {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.classify-error-detail h4 {
    color: #c62828;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.classify-error-detail ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.classify-error-detail li {
    margin-bottom: 0.25rem;
}

.classify-error-detail p {
    color: var(--text);
    margin-top: 0.75rem;
}

/* ==========================================================================
   SECTION 4: Warning States
   ========================================================================== */

.classify-warning {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.classify-warning h4 {
    color: #e65100;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.classify-warning ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.classify-warning-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #fffde7;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text);
}

.classify-warning-item i {
    color: #f9a825;
    margin-top: 0.125rem;
}

/* ==========================================================================
   SECTION 5: Results Layout - Split View
   ========================================================================== */

.classify-results {
    margin-top: 1rem;
}

.classify-layout {
    display: flex;
    gap: 2rem;
}

.recommendations-panel {
    flex: 1;
    max-width: 600px;
}

/* Recommendations headings */
.recommendations-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gc-blue, #26374a);
    margin: 0 0 0.5rem 0;
}

.recommendations-subheading {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
}

/* No recommendations message */
.no-recommendations {
    padding: 2rem;
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 8px;
    text-align: center;
    color: #e65100;
    font-size: 1rem;
}

.evidence-panel {
    flex: 1;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 200px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.evidence-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--gc-blue, #26374a);
    color: white;
    flex-shrink: 0;
}

.evidence-panel-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.evidence-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1rem;
}

.evidence-close:hover {
    opacity: 0.8;
}

.jd-text-viewer {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 6: Recommendation Cards
   ========================================================================== */

.recommendation-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.recommendation-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recommendation-card:focus-within {
    border-color: var(--accent, #2b4380);
    outline: 2px solid var(--accent, #2b4380);
    outline-offset: 2px;
}

/* Top recommendation (rank 1) - larger and highlighted */
.recommendation-card.top-recommendation {
    border-color: var(--accent, #2b4380);
    border-width: 2px;
}

.recommendation-card.top-recommendation .card-summary {
    background: linear-gradient(135deg, #e3f2fd 0%, #fff 100%);
}

.recommendation-card.top-recommendation .card-rank {
    background: var(--accent, #2b4380);
    color: white;
}

/* ==========================================================================
   SECTION 7: Card Summary (collapsed state)
   ========================================================================== */

.card-summary {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    gap: 1rem;
}

.card-rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gc-blue, #26374a);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    flex-shrink: 0;
}

.card-main {
    flex: 1;
    min-width: 0;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.card-group-code {
    font-weight: 600;
    color: var(--gc-blue, #26374a);
}

.card-group-name {
    color: var(--text);
}

.card-rationale-summary {
    font-size: 0.875rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.card-confidence {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
    min-width: 100px;
}

.card-expand-icon {
    color: var(--text-light);
    transition: transform 0.2s;
}

.recommendation-card[aria-expanded="true"] .card-expand-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   SECTION 8: Confidence Visualization
   ========================================================================== */

.confidence-percentage {
    font-size: 1.125rem;
    font-weight: 600;
}

.confidence-bar {
    width: 80px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.confidence-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease-out;
}

.confidence-badge {
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* Confidence tiers - High >= 70% */
.confidence-high .confidence-bar-fill { background: #43a047; }
.confidence-high .confidence-badge { background: #e8f5e9; color: #2e7d32; }
.confidence-high .confidence-percentage { color: #2e7d32; }

/* Confidence tiers - Medium >= 40% */
.confidence-medium .confidence-bar-fill { background: #fb8c00; }
.confidence-medium .confidence-badge { background: #fff3e0; color: #e65100; }
.confidence-medium .confidence-percentage { color: #e65100; }

/* Confidence tiers - Low < 40% */
.confidence-low .confidence-bar-fill { background: #e53935; }
.confidence-low .confidence-badge { background: #ffebee; color: #c62828; }
.confidence-low .confidence-percentage { color: #c62828; }

/* ==========================================================================
   SECTION 9: Card Details (expanded)
   ========================================================================== */

.card-details {
    padding: 0 1rem 1rem 1rem;
    border-top: 1px solid var(--border);
    display: none;
}

.recommendation-card[aria-expanded="true"] .card-details {
    display: block;
}

.detail-section {
    margin-top: 1rem;
}

.detail-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gc-blue, #26374a);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h4 i {
    color: var(--text-light);
}

.detail-section p {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.detail-section blockquote {
    margin: 0.5rem 0;
    padding: 0.75rem;
    background: #f5f5f5;
    border-left: 3px solid var(--accent, #2b4380);
    font-style: italic;
    font-size: 0.875rem;
    line-height: 1.5;
}

.detail-section blockquote footer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-style: normal;
    color: var(--text-light);
}

.detail-section blockquote cite {
    font-weight: 500;
}

/* Evidence links */
.evidence-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--accent, #2b4380);
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 0.5rem;
    background: none;
    border: none;
    padding: 0;
}

.evidence-link:hover {
    color: #1565c0;
}

/* Confidence breakdown */
.confidence-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.breakdown-hint {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    padding: 0.25rem 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: help;
    transition: background 0.2s;
}

.breakdown-item:hover {
    background: #e8e8e8;
}

.breakdown-label {
    color: var(--text-light);
}

.breakdown-value {
    font-weight: 500;
}

/* Allocation checks styling */
.allocation-check {
    margin-bottom: 0.5rem;
}

.allocation-check strong {
    cursor: help;
    border-bottom: 1px dotted var(--text-light);
}

.allocation-check-text {
    color: var(--text);
}

/* Provenance section */
.provenance-section {
    border-top: 1px dashed var(--border);
    padding-top: 1rem;
    margin-top: 1rem;
}

.provenance-meta {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
}

/* ==========================================================================
   SECTION 10: Classification Complete
   ========================================================================== */

.classify-complete {
    text-align: center;
    padding: 2rem;
    background: #e8f5e9;
    border-radius: 8px;
    margin-top: 2rem;
}

.classify-complete-icon {
    font-size: 3rem;
    color: #43a047;
    margin-bottom: 1rem;
}

.classify-complete h3 {
    margin: 0 0 0.5rem 0;
    color: #2e7d32;
}

.classify-complete > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.classify-next-steps {
    text-align: left;
    background: white;
    padding: 1rem;
    border-radius: 4px;
    max-width: 500px;
    margin: 0 auto;
}

.classify-next-steps h4 {
    margin: 0 0 0.5rem 0;
    color: var(--gc-blue, #26374a);
}

.classify-next-steps ul {
    margin: 0;
    padding-left: 1.5rem;
}

.classify-next-steps li {
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   SECTION 11: Mobile Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .classify-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .classify-layout {
        flex-direction: column;
    }

    .recommendations-panel {
        max-width: none;
    }

    .evidence-panel {
        position: static;
        max-height: none;
    }

    .card-summary {
        flex-wrap: wrap;
    }

    .card-confidence {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .confidence-bar {
        flex: 1;
        max-width: 150px;
    }

    .confidence-breakdown {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECTION 12: Coaching Panel - replaces error-style for multi-group results
   ========================================================================== */

/* Coaching Panel - replaces error-style for multi-group results */
.coaching-panel {
    background: #e3f2fd;
    border: 2px solid #1565c0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1.25rem;
}

.coaching-panel--info {
    background: #e3f2fd;
    border-color: #1565c0;
}

.coaching-panel--warning {
    background: #fff3e0;
    border-color: #e65100;
}

.coaching-icon {
    flex-shrink: 0;
    font-size: 2rem;
    color: #1565c0;
    padding-top: 0.25rem;
}

.coaching-content {
    flex: 1;
    min-width: 0;
}

.coaching-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #0d47a1;
    font-weight: 600;
}

.coaching-explanation {
    margin: 0 0 1.25rem 0;
    line-height: 1.6;
    color: #424242;
}

.ranked-recommendations {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.recommendation-card-coaching {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem;
}

.recommendation-card-coaching--primary {
    border: 2px solid #1565c0;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.12);
}

.recommendation-coaching-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.recommendation-coaching-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #263238;
}

.duty-alignment {
    color: #616161;
    font-size: 0.9rem;
}

.duty-alignment p {
    margin: 0 0 0.5rem 0;
}

.duty-list {
    margin: 0.25rem 0 0 1.25rem;
    padding: 0;
    color: #757575;
    font-size: 0.85rem;
}

.duty-list li {
    margin-bottom: 0.25rem;
}

.coaching-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.coaching-accept-btn {
    background: #1565c0;
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.coaching-accept-btn:hover {
    background: #0d47a1;
}

/* Status badge coaching variant */
.classify-status-badge.coaching {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #1565c0;
}

/* Confidence badge tier variants (for coaching cards) */
.confidence-badge--high {
    background: #e8f5e9;
    color: #2e7d32;
}

.confidence-badge--medium {
    background: #fff3e0;
    color: #e65100;
}

.confidence-badge--low {
    background: #fce4ec;
    color: #c62828;
}

/* Stale warning banner */
.classify-stale-warning {
    background: #fff3e0;
    border: 1px solid #e65100;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e65100;
    font-size: 0.9rem;
}

.classify-stale-warning .btn--sm {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    background: #e65100;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Navigation actions at bottom of classify section */
.classify-nav-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 1rem;
}

/* Stale warning banner */
.classify-stale-warning {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-left: 4px solid #f57c00;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #e65100;
}

.classify-stale-warning i {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.classify-stale-warning span {
    flex: 1;
}

.classify-stale-warning .btn--sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    background: #f57c00;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.classify-stale-warning .btn--sm:hover {
    background: #e65100;
}

/* ==========================================================================
   SECTION 13: Hidden Utility
   ========================================================================== */

.hidden {
    display: none !important;
}
