:root { color-scheme: light; }
* { box-sizing: border-box; }
body.embed-search-page { margin: 0; background: #f6f8f7; color: #17242c; font-family: Arial, sans-serif; }
.embed-search { width: 100%; padding: 24px; }
.embed-archive-intro h1 { margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(1.65rem, 4.4vw, 2.55rem); line-height: 1.1; }
.embed-archive-intro > p { color: #43545c; font-size: .98rem; line-height: 1.58; margin: 0; max-width: 980px; }
.embed-search-panel { margin-top: 24px; }
.embed-search-panel h2 { font-size: 1.18rem; margin: 0 0 10px; }
.embed-search-form { display: flex; gap: 10px; }
.embed-search-form input { min-width: 0; border: 1px solid #b8c5c7; border-radius: 8px; color: inherit; font: inherit; min-height: 46px; padding: 10px 13px; }
.embed-search-form input[name="q"] { flex: 1 1 auto; }
.embed-search-form .embed-year-input { flex: 0 0 5.5rem; width: 5.5rem; }
.embed-search-form button, .embed-button { align-items: center; border: 1px solid #286c9e; border-radius: 8px; display: inline-flex; font: inherit; font-weight: 600; justify-content: center; min-height: 46px; padding: 10px 16px; text-decoration: none; }
.embed-search-form button, .embed-button.primary { background: #286c9e; color: #fff; cursor: pointer; }
.embed-button { background: transparent; color: #286c9e; }
.embed-search-form button:hover, .embed-search-form button:focus-visible, .embed-button.primary:hover, .embed-button.primary:focus-visible { background: #1f5880; }
.embed-button:hover, .embed-button:focus-visible { background: #e8f1f5; }
.embed-search-form input:focus-visible, .embed-search-form button:focus-visible, .embed-button:focus-visible, a:focus-visible { outline: 3px solid #e0a726; outline-offset: 2px; }
.embed-search-help, .embed-search-summary { color: #52636b; font-size: .86rem; }
.embed-search-help { margin: 10px 0 0; }
.embed-archive-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.embed-search-error { border-left: 4px solid #a93c31; margin: 18px 0; padding-left: 10px; }
.embed-search-empty { color: #52636b; margin: 18px 0; }
.embed-search-result { border-top: 1px solid #ccd7d5; margin-top: 18px; padding-top: 18px; }
.embed-search-result h2 { font-family: Georgia, serif; font-size: 1.12rem; line-height: 1.28; margin: 4px 0 7px; }
.embed-search-result h2 a a, .embed-search-summary a { color: #1e5f50; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.embed-search-result p { font-size: .93rem; line-height: 1.45; margin: 7px 0; }
.embed-search-meta, .embed-search-authors, .embed-search-context { color: #52636b; }
.embed-search-meta { font-size: .82rem !important; }
.embed-search-context { border-left: 3px solid #c6d9ce; padding-left: 9px; }
.sr-only { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 700px) { .embed-search { padding: 18px; } .embed-search-form { flex-wrap: wrap; } .embed-search-form input[name="q"] { flex-basis: 100%; } }
@media (max-width: 400px) { .embed-search-form { flex-direction: column; } .embed-search-form .embed-year-input { flex-basis: auto; width: 100%; } .embed-search-form button { width: 100%; } }
