.search-page { padding-block: 52px 88px; }
.search-page [hidden] { display: none; }
.search-intro { max-width: 760px; margin-bottom: 30px; }
.search-kicker, .search-section-index { margin: 0 0 9px; color: var(--shell-cyan); font: 600 .68rem/1.3 "DM Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.search-intro h1 { margin: 0; color: var(--shell-text); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.search-intro > p:last-child { max-width: 670px; margin: 14px 0 0; color: var(--shell-muted); font-size: 1rem; line-height: 1.65; }
.search-form { padding: 19px; border: 1px solid rgba(126, 148, 210, .24); border-radius: 8px; background: linear-gradient(135deg, rgba(14, 25, 43, .94), rgba(8, 13, 23, .92)); box-shadow: 0 16px 42px rgba(0, 0, 0, .2); }
.search-form > label { display: block; margin-bottom: 8px; color: #dce7fa; font-size: .82rem; font-weight: 600; }
.search-input-row { display: flex; gap: 10px; }
.search-input-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid rgba(126, 148, 210, .32); border-radius: 5px; outline: none; color: var(--shell-text); background: rgba(4, 8, 15, .82); font: 500 1rem/1.2 var(--shell-font); }
.search-input-row input:focus { border-color: var(--shell-cyan); box-shadow: 0 0 0 3px rgba(62, 229, 255, .12); }
.search-input-row button, .search-more { min-height: 44px; padding: 0 18px; border: 1px solid rgba(62, 229, 255, .52); border-radius: 5px; color: #061117; background: var(--shell-cyan); font: 700 .82rem/1 var(--shell-font); cursor: pointer; }
.search-input-row button:hover, .search-more:hover { filter: brightness(1.08); }
.search-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 13px 0 0; color: var(--shell-muted); font-size: .74rem; }
.search-examples button { padding: 4px 8px; border: 1px solid rgba(126, 148, 210, .2); border-radius: 99px; color: #a9c7e7; background: rgba(12, 22, 37, .72); font: inherit; cursor: pointer; }
.search-examples button:hover { border-color: rgba(62, 229, 255, .55); color: var(--shell-cyan); }
.search-status { min-height: 1.4em; margin: 18px 2px 24px; color: var(--shell-muted); font-size: .83rem; }
.search-status[data-state="error"] { color: #ffad9c; }
.search-results-section { margin-top: 28px; }
.search-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--shell-line); }
.search-section-index { margin-bottom: 5px; font-size: .6rem; }
.search-section-heading h2 { margin: 0; color: var(--shell-text); font-size: 1.35rem; letter-spacing: -.02em; }
.search-section-heading > span { color: var(--shell-muted); font: 500 .76rem/1.4 "DM Mono", ui-monospace, monospace; }
.search-hardware-results, .search-page-results { display: grid; gap: 10px; padding-top: 12px; }
.search-hardware-card, .search-page-card { min-width: 0; padding: 15px 16px; border: 1px solid rgba(126, 148, 210, .19); border-radius: 7px; background: linear-gradient(120deg, rgba(12, 19, 32, .96), rgba(7, 11, 19, .94)); }
.search-hardware-top { display: flex; align-items: flex-start; gap: 12px; }
.search-hardware-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 38px; border: 1px solid rgba(62, 229, 255, .17); border-radius: 5px; color: var(--shell-cyan); background: rgba(62, 229, 255, .045); }
.search-hardware-icon svg { width: 38px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.search-hardware-identity { min-width: 0; flex: 1; }
.search-hardware-identity h3, .search-page-card h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.search-hardware-identity h3 a, .search-page-card h3 a { color: #eaf4ff; text-decoration: none; }
.search-hardware-identity h3 a:hover, .search-page-card h3 a:hover { color: var(--shell-cyan); }
.search-hardware-subtitle { margin: 3px 0 0; color: var(--shell-muted); font-size: .72rem; }
.search-specs { display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 13px 0 0; padding: 10px 0; border-block: 1px solid rgba(126, 148, 210, .12); }
.search-specs div { display: flex; gap: 5px; align-items: baseline; }
.search-specs dt { color: #8796b2; font-size: .74rem; }
.search-specs dd { margin: 0; color: #d5e1f5; font: 500 .76rem/1.4 "DM Mono", ui-monospace, monospace; }
.search-price-basis { color: #f5ce8b !important; }
.search-model-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px; margin-top: 10px; }
.search-model-line { min-width: 0; padding: 9px 10px; border: 1px solid rgba(126, 148, 210, .12); border-radius: 5px; background: rgba(6, 11, 19, .66); }
.search-model-name { margin: 0 0 6px; color: #b7c8e1; font-size: .8rem; font-weight: 650; }
.search-model-rates { display: flex; flex-wrap: wrap; gap: 6px 13px; color: #d9e6f8; font: 500 .82rem/1.4 "DM Mono", ui-monospace, monospace; }
.search-model-rates span { white-space: nowrap; }
.search-model-rates em { color: #9aa9c2; font: 500 .72rem/1.4 var(--shell-font); }
.search-estimate { color: #f3c66f !important; }
.search-missing { color: #8792a8 !important; }
.search-card-links { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 10px; }
.search-card-links a, .search-page-card > a { color: #82dff2; font-size: .7rem; font-weight: 600; text-decoration: none; }
.search-card-links a:hover, .search-page-card > a:hover { text-decoration: underline; }
.search-page-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 16px; }
.search-page-card p { grid-column: 1 / -1; margin: 0; color: var(--shell-muted); font-size: .875rem; line-height: 1.55; }
.search-page-card > a { grid-column: 2; grid-row: 1; align-self: center; white-space: nowrap; }
.search-more { display: block; min-height: 36px; margin: 13px auto 0; padding: 0 14px; color: #9beeff; background: rgba(12, 27, 42, .72); font-size: .72rem; }
.search-noscript { margin-top: 28px; padding: 18px; border: 1px solid rgba(126, 148, 210, .2); border-radius: 7px; background: rgba(10, 16, 27, .85); }
.search-noscript h2 { margin-top: 0; color: var(--shell-text); }
.search-noscript a { color: var(--shell-cyan); }
.search-page a:focus-visible, .search-page button:focus-visible { outline: 2px solid var(--shell-cyan); outline-offset: 3px; }
@media (max-width: 620px) {
  .search-page { padding-block: 34px 60px; }
  .search-form { padding: 14px; }
  .search-input-row { gap: 7px; }
  .search-input-row button { padding-inline: 12px; }
  .search-hardware-card, .search-page-card { padding: 12px; }
  .search-specs { gap: 8px 12px; }
  .search-page-card { grid-template-columns: 1fr; }
  .search-page-card > a { grid-column: 1; grid-row: auto; }
}
