/* v1.1.186 — Phase 129 governed selector ownership migration. */

.ttv-search-result{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:var(--ttv-space-6);box-shadow:none}
@media (max-width:640px){.ttv-search-result{display:block;gap:10px;padding:15px}}
/* v1.1.57 visual recovery owner: errors and empty states are explicit destinations, not muted text blocks. */
/* v1.1.43 — Search / Location Directory / 404 recovery owner. */
.ttv-search-panel{margin-bottom:14px;position:relative;display:flex;align-items:center;gap:var(--ttv-space-3);padding:var(--ttv-space-4);background:var(--ttv-surface);border:1px solid var(--ttv-line);border-radius:var(--ttv-radius);box-shadow:none;}.ttv-search-panel form{flex:1;min-width:0}.ttv-search-panel__clear{flex:0 0 auto;color:var(--ttv-blue-700);font-size:var(--ttv-text-sm);font-weight:700;white-space:nowrap}.ttv-search-location-fallback__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ttv-search-location-fallback__grid>a{min-height:76px;padding:var(--ttv-space-3) 14px;border:1px solid #d7e3ec;border-radius:var(--ttv-radius-sm);display:flex;align-items:center;justify-content:space-between;gap:var(--ttv-space-3);color:var(--ttv-ink);background:var(--ttv-surface)}.ttv-search-location-fallback__grid>a:hover,.ttv-search-location-fallback__grid>a:focus-visible{border-color:var(--ttv-line-focus);background:var(--ttv-blue-50)}.ttv-search-location-fallback__grid span{min-width:0;display:grid;gap:2px}.ttv-search-location-fallback__grid strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ttv-search-location-fallback__grid small{color:var(--ttv-muted);font-size:var(--ttv-text-xs);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ttv-location-directory__clear{white-space:nowrap}.ttv-location-weather-card.is-unavailable .ttv-location-weather-card__meta{grid-column:1/-1}.ttv-location-weather-card.is-unavailable .ttv-location-weather-card__meta>span{white-space:normal}.ttv-location-weather-card.is-unavailable .ttv-location-weather-card__temp{font-size:0}.ttv-location-weather-card.is-unavailable .ttv-location-weather-card__temp::after{content:"…";font-size:26px;color:#91a4b4}@media (max-width:768px){.ttv-search-panel{align-items:stretch;flex-direction:column}.ttv-search-panel__clear{align-self:flex-start}.ttv-search-location-fallback__grid{grid-template-columns:1fr}.ttv-location-directory__clear{width:100%;justify-content:center}}
.ttv-search-result h3{font-size:var(--ttv-text-emphasis);margin:3px 0 6px}
.ttv-search-page .ttv-search-panel{margin-bottom:14px}.ttv-search-location-results{margin-bottom:18px;padding:var(--ttv-space-5);background:var(--ttv-surface-soft);border-color:var(--ttv-line);box-shadow:none}.ttv-search-content-results{display:grid;gap:10px;margin-top:var(--ttv-space)}.ttv-search-content-results>.ttv-section-title{margin:var(--ttv-space) 0 0}.ttv-search-content-results>.ttv-section-title h2{margin:0;font-size:var(--ttv-title-md)}.ttv-search-content-results>.ttv-section-title p{margin:3px 0 0;color:var(--ttv-muted);font-size:var(--ttv-text-sm)}.ttv-search-empty{text-align:left;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:start;gap:14px;padding:var(--ttv-space-5);border:1px dashed #bcd3e3;border-radius:var(--ttv-radius);background:var(--ttv-surface-detail)}.ttv-search-empty__icon{width:46px;height:46px;border-radius:var(--ttv-radius-sm);display:grid;place-items:center;background:#e8f5ff;color:var(--ttv-blue-800)}.ttv-search-empty__icon .ttv-icon{width:18px;height:18px}.ttv-search-empty h2{margin:0}.ttv-search-empty p{margin:var(--ttv-space) 0 0}.ttv-search-shortcuts{margin-top:var(--ttv-space-3);padding:var(--ttv-section-pad)}
.ttv-recovery-page .ttv-404{display:block;padding:38px var(--ttv-space-8);background:var(--ttv-surface);border-top:4px solid var(--ttv-blue);box-shadow:none}.ttv-recovery-page .ttv-404 .ttv-search-form{max-width:680px;margin:14px auto 0}.ttv-404__primary-actions{margin-top:18px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.ttv-404__primary-actions .ttv-btn{min-width:150px}.ttv-recovery-shortcuts{margin-top:18px;padding:var(--ttv-space-5);background:var(--ttv-surface-muted)}
.ttv-directory-empty .ttv-empty__actions{margin-top:var(--ttv-space-3);display:flex;flex-wrap:wrap;gap:var(--ttv-space-2);justify-content:center}.ttv-directory-empty .ttv-empty__actions .ttv-btn{min-width:160px}
.ttv-global-search__empty .ttv-text-link{margin-top:var(--ttv-space-2)}
@media(max-width:768px){.ttv-search-location-results .ttv-section__head>.ttv-text-link{margin-top:2px}.ttv-404__primary-actions{display:grid;grid-template-columns:1fr 1fr}.ttv-404__primary-actions .ttv-btn{min-width:0}}
@media(max-width:640px){.ttv-search-location-results,.ttv-search-shortcuts,.ttv-recovery-shortcuts{padding:var(--ttv-space-3)}.ttv-search-empty{grid-template-columns:30px minmax(0,1fr)}.ttv-search-empty__icon{width:30px;height:30px}.ttv-404__primary-actions{grid-template-columns:1fr}.ttv-404__primary-actions .ttv-btn,.ttv-directory-empty .ttv-empty__actions .ttv-btn{width:100%;justify-content:center}.ttv-recovery-page .ttv-404 .ttv-search-form{margin-top:var(--ttv-space-3)}}
/* v1.1.54 — final discovery bridge for search, archives and 404 recovery. */
.ttv-directory-task-bridge,.ttv-archive-discovery{margin-top:18px;padding:var(--ttv-space-5);background:#f7fbff}
.ttv-recovery-context{padding:var(--ttv-section-pad)}
.ttv-archive-toolbar{margin-bottom:var(--ttv-space-4)}
.ttv-archive-discovery{margin-bottom:0}
@media(max-width:640px){.ttv-directory-task-bridge,.ttv-archive-discovery,.ttv-recovery-context{padding:var(--ttv-space-3)}.ttv-archive-toolbar{margin-bottom:var(--ttv-space-3)}}

/* v1.1.55 — recovery action text may wrap instead of forcing narrow-phone overflow. */
@media(max-width:390px){
  .ttv-search-panel__clear{white-space:normal}
}

/* v1.1.67 — Phase 10 search intent owner: location / tools / content are distinct tasks. */
.ttv-search-tool-results{margin:0 0 18px;padding:var(--ttv-space-5);background:var(--ttv-surface-soft);border-color:var(--ttv-line);box-shadow:none}
.ttv-search-tool-results .ttv-search-shortcuts__grid>a{background:var(--ttv-surface);border-color:var(--ttv-line)}
.ttv-search-tool-results .ttv-search-shortcuts__grid>a:hover,.ttv-search-tool-results .ttv-search-shortcuts__grid>a:focus-visible{background:var(--ttv-blue-50);border-color:var(--ttv-line-focus)}
.ttv-search-tool-results :where(.ttv-search-shortcuts__grid)>a>.ttv-icon:first-child{color:var(--ttv-blue-700)}
.ttv-search-recovery-locations,.ttv-search-recovery-tools{margin-top:14px;padding:var(--ttv-space-5)}
.ttv-search-recovery-locations{background:var(--ttv-surface-soft);border-color:var(--ttv-line);box-shadow:none}
.ttv-search-recovery-tools{background:var(--ttv-surface-soft);border-color:var(--ttv-line);box-shadow:none}
@media(max-width:640px){.ttv-search-tool-results,.ttv-search-recovery-locations,.ttv-search-recovery-tools{padding:var(--ttv-space-3)}.ttv-search-tool-results{border-width:1px}}

/* v1.1.136 — Phase 79: search/recovery copy must wrap instead of truncating useful recovery context. */
@media(max-width:390px){
  .ttv-search-panel{padding:var(--ttv-space-3);gap:var(--ttv-space-2)}
  .ttv-search-location-fallback__grid strong,.ttv-search-location-fallback__grid small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
  .ttv-search-location-fallback__grid>a{min-height:68px;padding:10px 11px;align-items:flex-start}
  .ttv-recovery-page .ttv-404{padding:22px 14px}
  .ttv-recovery-shortcuts,.ttv-recovery-context{padding:11px}
}
