:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #17211b; background: #f2f4ef; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 90% 0, #dae8d9, transparent 34rem), #f2f4ef; }
main { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0; }
header { max-width: 700px; margin-bottom: 40px; }
.eyebrow { color: #476353; font-size: .72rem; font-weight: 750; letter-spacing: .14em; }
h1 { font-family: Georgia, serif; font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; margin: 12px 0 22px; }
h2 { margin: 6px 0 0; font-size: 1.35rem; }
h3 { margin-top: 32px; }
p { color: #58625c; font-size: 1.05rem; line-height: 1.6; }
#search-form, section { background: rgba(255,255,255,.8); border: 1px solid #d8ddd5; border-radius: 18px; padding: 24px; box-shadow: 0 18px 60px rgba(33,52,40,.07); }
label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 10px; }
.search-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
input, select, button { border: 1px solid #cbd2ca; border-radius: 10px; padding: 13px 15px; font: inherit; background: white; }
input:focus, select:focus { outline: 3px solid #b9d7c1; border-color: #406f51; }
button { border-color: #234c35; background: #234c35; color: white; cursor: pointer; font-weight: 700; }
button:disabled { opacity: .6; cursor: wait; }
button.secondary { background: transparent; color: #234c35; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar nav { display: flex; gap: 6px; }
.text-button { border: 0; padding: 7px 9px; color: #476353; background: transparent; font-size: .78rem; }
#status { min-height: 48px; padding: 15px 4px; color: #6a3b31; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
dl div { border-top: 1px solid #d8ddd5; padding-top: 10px; }
dt { color: #68716b; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
dd { margin: 5px 0 0; font-weight: 650; }
ul { list-style: none; margin: 0; padding: 0; }
li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid #e1e5df; }
li span:last-child { color: #727b75; font-size: .8rem; }
footer { padding: 30px 4px 0; text-align: center; }
.version-button { border: 0; padding: 8px; color: #68716b; background: transparent; font-size: .78rem; font-weight: 600; }
dialog { width: min(560px, calc(100% - 32px)); border: 1px solid #d8ddd5; border-radius: 18px; padding: 28px; color: #17211b; box-shadow: 0 25px 90px rgba(20,35,25,.25); }
dialog::backdrop { background: rgba(20,30,24,.45); backdrop-filter: blur(4px); }
.dialog-close { float: right; border: 0; padding: 0 8px; color: #526057; background: transparent; font-size: 1.7rem; }
.version-entry { margin-top: 24px; padding-top: 18px; border-top: 1px solid #d8ddd5; }
.version-entry strong { font-family: Georgia, serif; font-size: 1.2rem; }
.version-entry ul { margin-top: 10px; padding-left: 20px; list-style: disc; }
.version-entry li { display: list-item; padding: 4px 0; border: 0; color: #58625c; }
.current-badge { margin-left: 8px; border-radius: 999px; padding: 3px 8px; color: #234c35; background: #dcecdf; font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.settings-dialog { width: min(700px, calc(100% - 32px)); max-height: min(850px, calc(100vh - 40px)); }
.dialog-intro { margin-top: 8px; font-size: .9rem; }
.settings-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid #d8ddd5; }
.settings-section label { margin-top: 14px; }
.settings-section input { width: 100%; }
.settings-section > button { margin-top: 16px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.section-heading small { display: block; margin-top: 3px; color: #707b74; }
.status-badge { border-radius: 999px; padding: 5px 9px; color: #7b3f31; background: #f3e1dc; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.status-badge.ready { color: #234c35; background: #dcecdf; }
.status-badge.neutral { color: #535f58; background: #e9ece8; }
.endpoint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.endpoint-grid input { color: #68716b; background: #f3f5f1; font-size: .75rem; }
.field-help { margin: 12px 0 0; font-size: .78rem; }
.national-integration p { margin-bottom: 0; font-size: .85rem; }
#settings-message, #login-status { min-height: 32px; padding-top: 12px; color: #7b3f31; font-size: .86rem; }
.login-page { display: grid; place-items: center; }
.login-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 70px; width: min(1050px, calc(100% - 32px)); padding: 48px 0; }
.login-copy { padding: 0; border: 0; background: transparent; box-shadow: none; }
.login-copy h1 { font-size: clamp(3.3rem, 7vw, 6.5rem); }
.login-card { padding: 30px; border: 1px solid #d8ddd5; border-radius: 18px; background: rgba(255,255,255,.85); box-shadow: 0 18px 60px rgba(33,52,40,.1); }
.login-card h2 { margin-bottom: 26px; font-family: Georgia, serif; font-size: 2rem; }
.login-card label { margin-top: 16px; }
.login-card input, .login-card button { width: 100%; }
.login-card button { margin-top: 22px; }
@media (max-width: 680px) { main { padding: 38px 0; } .search-row { grid-template-columns: 1fr; } .result-head { align-items: flex-start; flex-direction: column; } dl { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .login-layout { grid-template-columns: 1fr; gap: 24px; } .login-copy h1 { font-size: 3.4rem; } .endpoint-grid { grid-template-columns: 1fr; } }
