/* TN911 AI Search — search-first (not chatbot) */
.tn911-aisearch { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: #0f172a; }
.tn911-aisearch-hero { max-width: 1120px; margin: 0 auto; padding: 30px 20px 20px; }
.tn911-aisearch-hero-split { display: grid; gap: 18px; align-items: start; }
@media (min-width: 900px) { .tn911-aisearch-hero-split { grid-template-columns: 1fr 1fr; } }
.tn911-aisearch-hero .tn911-aisearch-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.02em; }
.tn911-aisearch-hero .tn911-aisearch-subtitle { font-size: 1.05rem; line-height: 1.6; color: #475569; margin: 0; }
.tn911-aisearch-hero-prompts { margin-top: 14px; }
.tn911-aisearch-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
.tn911-aisearch-subtitle { font-size: 1.05rem; line-height: 1.6; color: #475569; margin: 0 0 20px; }
.tn911-aisearch-prompts { display: flex; flex-wrap: wrap; gap: 8px; }
.tn911-aisearch-prompt { border: 1px solid #dbeafe; background: #f8fafc; color: #1e40af; border-radius: 999px; padding: 8px 14px; font-size: 0.85rem; cursor: pointer; transition: background .15s, border-color .15s; }
.tn911-aisearch-prompt:hover { background: #eff6ff; border-color: #93c5fd; }
.tn911-aisearch-bar { position: relative; }
.tn911-aisearch-bar--large .tn911-aisearch-form { display: flex; gap: 10px; align-items: stretch; }
.tn911-aisearch-bar--large .tn911-aisearch-input { flex: 1; min-height: 56px; font-size: 1.05rem; padding: 14px 18px; border: 2px solid #e2e8f0; border-radius: 14px; box-shadow: 0 4px 24px rgba(15,23,42,.06); }
.tn911-aisearch-bar--large .tn911-aisearch-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.tn911-aisearch-bar--large .tn911-aisearch-submit { min-width: 120px; border: 0; border-radius: 12px; background: #2563eb; color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; padding: 0 20px; }
.tn911-aisearch-bar--large .tn911-aisearch-submit:hover { background: #1d4ed8; }
.tn911-aisearch-bar--large .tn911-aisearch-submit:disabled { opacity: .6; cursor: wait; }
.tn911-aisearch-bar--compact .tn911-aisearch-form { display: flex; gap: 8px; }
.tn911-aisearch-bar--compact .tn911-aisearch-input { flex: 1; min-height: 44px; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 0.95rem; }
.tn911-aisearch-bar--compact .tn911-aisearch-submit { border: 0; border-radius: 10px; background: #2563eb; color: #fff; font-weight: 600; padding: 0 16px; cursor: pointer; }
.tn911-aisearch-bar--loading .tn911-aisearch-input { opacity: .7; }
.tn911-aisearch-bar--loading .tn911-aisearch-submit::after { content: '…'; }
.tn911-aisearch-bar-suggestions { margin-top: 12px; }
.tn911-aisearch-bar-suggestions-label { font-size: 0.8rem; color: #64748b; margin-bottom: 8px; }
.tn911-aisearch-results { max-width: 820px; margin: 0 auto; padding: 24px 20px 64px; }
.tn911-aisearch-query { font-size: 1.25rem; font-weight: 700; margin: 0 0 24px; color: #0f172a; }
.tn911-aisearch-section { margin-bottom: 28px; }
.tn911-aisearch-section-title { font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; margin: 0 0 12px; }
.tn911-aisearch-answer { font-size: 1.05rem; line-height: 1.7; color: #1e293b; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; box-shadow: 0 2px 12px rgba(15,23,42,.04); }
.tn911-aisearch-sources { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 20px; }
.tn911-aisearch-sources a { color: #2563eb; text-decoration: none; }
.tn911-aisearch-sources a:hover { text-decoration: underline; }
.tn911-aisearch-related { display: flex; flex-wrap: wrap; gap: 8px; }
.tn911-aisearch-related-chip { border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 0.9rem; color: #334155; cursor: pointer; text-decoration: none; display: inline-block; }
.tn911-aisearch-related-chip:hover { border-color: #2563eb; color: #2563eb; }
.tn911-aisearch-jobs .tn911-pcw-job, .tn911-aisearch-jobs .tn911-aisearch-job-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; margin-bottom: 10px; background: #fff; }
.tn911-aisearch-continue { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; background: #0f172a; color: #fff; font-weight: 600; border: 0; cursor: pointer; font-size: 0.95rem; }
.tn911-aisearch-continue:hover { background: #1e293b; }
.tn911-aisearch-skeleton { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: tn911-aisearch-shimmer 1.2s infinite; border-radius: 8px; height: 1rem; margin-bottom: 10px; }
@keyframes tn911-aisearch-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.tn911-aisearch-snapshot { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 20px; }
.tn911-aisearch-snapshot-stat { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; padding: 14px; }
.tn911-aisearch-snapshot-stat strong { display: block; font-size: 1.25rem; color: #0369a1; }
.tn911-aisearch-snapshot-stat span { font-size: 0.8rem; color: #64748b; }
.tn911-aisearch-compact-wrap { margin-bottom: 24px; padding: 16px; background: linear-gradient(135deg, #f8fafc, #eff6ff); border: 1px solid #dbeafe; border-radius: 14px; }
.tn911-aisearch-compact-label { font-size: 0.85rem; font-weight: 700; color: #1e40af; margin-bottom: 10px; }
.tn911-aisearch-jobs-section { margin-bottom: 28px; padding: 24px; background: linear-gradient(135deg, #f0f9ff, #fff); border: 1px solid #bae6fd; border-radius: 16px; }
.tn911-aisearch-jobs-section h2 { font-size: 1.25rem; font-weight: 800; margin: 0 0 8px; }
.tn911-aisearch-jobs-section p { color: #475569; margin: 0 0 16px; font-size: 0.95rem; }

.tn911-aipage-assistant { margin: 0 auto 24px; max-width: 1200px; padding: 20px; background: linear-gradient(135deg, #f8fafc, #eff6ff); border: 1px solid #dbeafe; border-radius: 16px; }
.tn911-aipage-assistant__title { font-size: 1.2rem; font-weight: 800; margin: 0 0 6px; color: #0f172a; }
.tn911-aipage-assistant__subtitle { font-size: 0.92rem; color: #475569; margin: 0 0 14px; line-height: 1.5; }
.tn911-aipage-assistant__prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tn911-aipage-assistant__prompt { margin: 0; }
.tn911-aisearch-related-content { display: grid; gap: 10px; }
.tn911-aisearch-related-content-card { display: block; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.tn911-aisearch-related-content-card:hover { border-color: #2563eb; box-shadow: 0 4px 16px rgba(37,99,235,.08); color: inherit; }
.tn911-aisearch-related-content-title { display: block; font-weight: 700; color: #1e40af; font-size: 0.95rem; }
.tn911-aisearch-related-content-reason { display: block; margin-top: 4px; font-size: 0.82rem; color: #64748b; }
@media (max-width: 640px) {
  .tn911-aisearch-hero { padding: 24px 16px 18px; }
  .tn911-aisearch-hero-prompts .tn911-aisearch-prompts { flex-wrap: wrap; }
  .tn911-aipage-assistant { padding: 16px; margin-bottom: 20px; }
  .tn911-aipage-assistant__prompts { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tn911-aisearch-related { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}
