/* search-nav.css (Nov 1, 2026): site search for ia9100.co. External stylesheet (strict CSP: no inline styles).
   Colours follow site.css: navy #0b2545, amber #e67e22. */
.sn-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  background: transparent; color: #dbe6f3; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; cursor: pointer;
}
.sn-btn svg { width: 18px; height: 18px; fill: currentColor; }
.sn-btn:hover, .sn-btn[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.12); }
.sn-btn:focus-visible { outline: 2px solid #e67e22; outline-offset: 2px; }
.sn-tools { display: flex; align-items: center; gap: 8px; }
/* Keep the header on one row like live: wide screens put the icon just outside the 1100px column,
   narrower screens tighten the nav spacing slightly (16px -> 10px) to make room. */
@media (min-width: 1240px) {
  .sn-tools { position: relative; }
  .sn-tools .sn-btn { position: absolute; left: calc(100% + 12px); top: 50%; margin-top: -18px; }
}
@media (min-width: 1000px) and (max-width: 1239px) {
  header nav ul { column-gap: 10px; }
}
@media (max-width: 1239px) {
  .sn-tools .sn-btn { width: 32px; height: 32px; }
}
@media (min-width: 761px) {
  .sn-tools { margin-left: auto; }
}
.sn-panel { background: #0b2545; border-bottom: 4px solid #e67e22; box-shadow: 0 10px 24px rgba(11,37,69,.25); position: relative; z-index: 5; }
.sn-panel[hidden] { display: none !important; }
.sn-inner { max-width: 860px; margin: 0 auto; padding: 14px 20px 16px; }
.sn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sn-row { display: flex; gap: 8px; }
.sn-input {
  flex: 1 1 auto; min-width: 0; font: inherit; font-size: 1rem; padding: 10px 12px; border-radius: 4px;
  border: 1px solid #c5d0dc; background: #fff; color: #1d2733; -webkit-appearance: none; appearance: none;
}
.sn-input:focus { outline: 2px solid #e67e22; outline-offset: 1px; }
.sn-close {
  flex: 0 0 auto; font: inherit; font-size: .85rem; font-weight: 600; color: #fff; background: transparent;
  border: 1px solid rgba(255,255,255,.5); border-radius: 4px; padding: 0 14px; cursor: pointer;
}
.sn-close:hover { background: rgba(255,255,255,.12); }
.sn-close:focus-visible { outline: 2px solid #e67e22; outline-offset: 2px; }
.sn-status { margin: 8px 2px 0; font-size: .82rem; color: #c7d4e3; }
.sn-status:empty { display: none; }
.sn-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: min(60vh, 520px); overflow-y: auto; }
.sn-results li { margin: 0; }
.sn-results a { display: block; padding: 9px 12px; border-radius: 6px; color: #fff; text-decoration: none; }
.sn-results a:hover, .sn-results .is-active a { background: rgba(255,255,255,.08); color: #fff; }
.sn-results .is-active a { box-shadow: inset 3px 0 0 #e67e22; }
.sn-t { display: block; font-weight: 700; font-size: .98rem; line-height: 1.35; }
.sn-u { display: block; font-size: .76rem; color: #f0a35e; word-break: break-all; }
.sn-s { display: block; font-size: .85rem; line-height: 1.45; color: #c7d4e3; margin-top: 2px; }
.sn-results mark { background: transparent; color: #f0a35e; font-weight: 700; }
@media (max-width: 640px) { .sn-inner { padding: 12px 16px 14px; } }
