:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #282832;
  background: #fff5eb;
  font-synthesis: none;
  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 50% 45%, #fff9f3, #fff5eb 75%); }
main { width: min(100%, 800px); min-height: 100svh; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; justify-content: center; }
.hero { width: 100%; text-align: center; }
.brand { position: relative; display: inline-block; font-size: 48px; font-weight: 750; letter-spacing: -2.4px; line-height: 1.15; margin: 0 0 42px; }
.brand-dot, .brand-icon { color: #f47b20; }
.brand-icon { position: absolute; top: -9px; right: -16px; font-size: 26px; letter-spacing: 0; }

.search-box { display: flex; align-items: center; gap: 0; min-height: 56px; padding: 5px; background: #fff; border: 1px solid #e4dcd5; border-radius: 13px; box-shadow: 0 5px 20px #65442305; }
.search-box:focus-within { border-color: #d49d72; box-shadow: 0 0 0 3px #f47b2010; }
.search-box input[type="search"] { flex: 1; width: 100%; min-width: 0; height: 44px; padding: 0 20px; border: 0; outline: none; font: inherit; font-size: 16px; color: #282832; background: transparent; }
.search-box input[type="search"]::placeholder { color: #93929e; }
.bank-select { position: relative; flex-shrink: 0; width: 158px; border-right: 1px solid #e5e2e0; }
.bank-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 34px; padding: 0 15px; border: 0; background: transparent; color: #55515a; font-size: 14px; }
.bank-toggle svg { flex-shrink: 0; transition: transform .15s; }
.bank-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.bank-panel { position: absolute; top: calc(100% + 16px); left: -6px; z-index: 10; width: 218px; padding: 10px; background: #fff; border: 1px solid #e4dcd5; border-radius: 12px; box-shadow: 0 10px 30px #65442312; text-align: left; }
.bank-panel[hidden] { display: none; }
.bank-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.bank-picker legend { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 5px 10px 8px; color: #55515a; font-size: 12px; }
.bank-count { color: #93909a; }
.bank-picker label { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 0 10px; border-radius: 7px; cursor: pointer; color: #55515a; font-size: 14px; }
.bank-picker label:hover { background: #fff5eb; }
.bank-picker input { width: 16px; height: 16px; margin: 0; accent-color: #dd6916; cursor: pointer; }
.bank-picker input:checked + span { color: #a95014; }
.bank-picker input:indeterminate + span { color: #a95014; }
.bank-picker input:focus-visible { outline: 2px solid #a95014; outline-offset: 3px; }
.bank-all { font-weight: 600; }
.bank-divider { height: 1px; margin: 6px 0; background: #f0e7de; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid #a95014; outline-offset: 3px; }
.search-button { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #fff; }
.search-button::before { content: ""; position: absolute; inset: 4px; background: #f47b20; border-radius: 8px; }
.search-button svg { position: relative; }
.search-button:hover::before { background: #dd6916; }
.search-button:disabled { opacity: .55; cursor: wait; }
.suggestions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.suggestions button { color: #66626a; font-size: 13px; background: transparent; border: 1px solid #e6d6c9; border-radius: 7px; min-height: 34px; padding: 7px 13px; }
.suggestions button:hover { background: #fffaf5; border-color: #d9bca5; }

.has-results main { justify-content: flex-start; padding-top: 64px; }
.has-results .brand { font-size: 38px; margin-bottom: 28px; }
.results { margin-top: 36px; }
.status { color: #827369; font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.show-more { display: block; margin: 24px auto 0; padding: 10px 18px; min-height: 44px; font-size: 14px; color: #a95015; background: transparent; border: 1px solid #d9bca5; border-radius: 8px; }
.show-more:hover { background: #fffaf5; }
.show-more[hidden] { display: none; }
.card { background: #fffdfb; border: 1px solid #e9ded5; border-radius: 13px; padding: 24px; margin: 0 0 14px; }
.card-top { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: #89715f; font-size: 11px; }
.tag { padding: 5px 9px; border-radius: 6px; background: #fcf0e5; }
.card h2 { font-size: 20px; line-height: 1.4; letter-spacing: -.4px; margin: 14px 0 12px; }
.card details { font-size: 14px; color: #7f7064; line-height: 1.65; }
.card summary { cursor: pointer; width: fit-content; }
.card .body { white-space: pre-wrap; overflow-wrap: anywhere; }
.card a { display: inline-block; margin-top: 18px; color: #ca641f; font-size: 13px; font-weight: 700; text-decoration: none; }
.card a:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Light neutral inputs let Dark Reader apply the visitor's palette without brown surfaces. */
:root[data-darkreader-scheme="dark"] { background: #fff !important; }
:root[data-darkreader-scheme="dark"] body { background: #fff !important; }
:root[data-darkreader-scheme="dark"] :is(.search-box, .bank-panel, .card) { background: #e9e9e9 !important; border-color: #aaa !important; }
:root[data-darkreader-scheme="dark"] .search-box:focus-within { border-color: #d49d72 !important; }
:root[data-darkreader-scheme="dark"] :is(.bank-select, .suggestions button, .show-more) { border-color: #aaa !important; }
:root[data-darkreader-scheme="dark"] .bank-divider { background: #aaa !important; }
:root[data-darkreader-scheme="dark"] :is(.tag, .bank-picker label:hover, .suggestions button:hover, .show-more:hover) { background: #ddd !important; }
:root[data-darkreader-scheme="dark"] :is(.status, .card-top, .card details, .bank-picker legend, .bank-count, .bank-toggle, .bank-picker label, .suggestions button) { color: #666 !important; }
:root[data-darkreader-scheme="dark"] .search-box input::placeholder { color: #777 !important; }

@media (max-width: 560px) {
  main { padding: 36px 18px; }
  .brand { font-size: 38px; letter-spacing: -1.8px; margin-bottom: 36px; }
  .brand-icon { font-size: 21px; right: -13px; top: -7px; }
  .search-box input[type="search"] { padding: 0 11px; }
  .bank-select { width: 126px; }
  .bank-toggle { gap: 7px; padding: 0 10px; font-size: 13px; }
  .suggestions { display: none; }
  .has-results main { padding-top: 36px; }
  .has-results .brand { font-size: 32px; margin-bottom: 24px; }
  .results { margin-top: 28px; }
  .card { padding: 20px; }
  .card h2 { font-size: 18px; }
}
