:root { font-family: system-ui, -apple-system, sans-serif; color: #192a38; background: #f5f7f8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: #136873; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; width: min(100% - 2rem, 1180px); margin: 0 auto; }
.site-header { background: #103943; color: white; }
.nav, .nav nav, .page-heading, .card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav { min-height: 68px; }
.nav a, .nav button { color: white; }
.nav nav { flex-wrap: wrap; }
.brand { font-size: 1.3rem; font-weight: 800; }
main { flex: 1; padding: 2rem 0 4rem; }
footer { padding: 1.25rem; text-align: center; background: #e7edee; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .2rem 0 1.5rem; }
h2 { font-size: 1.15rem; }
.eyebrow { color: #4c777e; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.card, .auth-card, .user-form, .filters { background: white; border: 1px solid #d9e3e5; border-radius: 12px; padding: 1.25rem; box-shadow: 0 3px 12px #1a42470b; }
.card h2 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.badge { background: #e6ecee; padding: .4rem .7rem; border-radius: 99px; white-space: nowrap; font-size: .86rem; font-weight: 700; }
.badge.ok { background: #d8f2e5; color: #166143; }
.badge.warning { background: #fff0c7; color: #795400; }
.badge.critical { background: #fce0dd; color: #8b2420; }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.filters div { flex: 1; min-width: 180px; }
label { display: block; margin-bottom: .35rem; font-weight: 600; }
input, select { width: 100%; padding: .7rem; border: 1px solid #b9cbcf; border-radius: 7px; background: white; font: inherit; margin-bottom: 1rem; }
input[type=submit], .button { width: auto; background: #136873; color: white; border: 0; padding: .75rem 1rem; border-radius: 7px; font-weight: 700; cursor: pointer; display: inline-block; }
input[type=submit]:hover, .button:hover { background: #0c4e57; text-decoration: none; }
.auth-card { max-width: 430px; margin: 3rem auto; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.check input { width: auto; margin: 0; }
fieldset { border: 1px solid #d9e3e5; margin: 1rem 0; }
.user-form { max-width: 700px; }
.flash { padding: .8rem 1rem; border-radius: 7px; }
.notice { background: #d8f2e5; }
.alert { background: #fce0dd; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: white; }
th, td { padding: .8rem; text-align: left; border-bottom: 1px solid #dde7e9; }
th { background: #eaf0f1; }
.link-button { border: 0; background: none; color: #136873; font: inherit; cursor: pointer; padding: 0; }
td form, nav form { display: inline; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f0f4f5; padding: .8rem; border-radius: 7px; max-height: 370px; overflow: auto; }
pre.json { max-height: none; }
.empty { padding: 2rem; text-align: center; }
@media (max-width: 620px) { .nav, .page-heading { align-items: start; flex-direction: column; padding: 1rem 0; } .nav nav { gap: .8rem; } main { padding-top: 1rem; } .filters { display: block; } .filters div { min-width: 0; } }
