:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  --background: #f4f7fb;
  --surface: #ffffff;
  --text: #162437;
  --muted: #516278;
  --line: #d6dfea;
  --accent: #204fa8;
  --accent-hover: #153d88;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); line-height: 1.5; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid #316dde; outline-offset: 3px; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.shell { max-width: 74rem; margin-inline: auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.nav, .nav-actions, .heading, .actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav, .heading { justify-content: space-between; }
.nav { min-height: 4rem; padding-block: .5rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; color: var(--text); text-decoration: none; font-weight: 750; }
.brand-mark { width: 1rem; height: 1rem; border: .28rem solid var(--accent); border-radius: .28rem; }
.nav-actions form { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
.quiet { color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: .55rem; padding: .4rem .75rem; }
main { padding-top: clamp(2rem, 6vw, 4rem) !important; padding-bottom: 3rem !important; }
.heading { margin-bottom: 1.5rem; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.85rem, 4vw, 2.65rem); line-height: 1.15; letter-spacing: -.045em; overflow-wrap: anywhere; }
h2 { font-size: 1.2rem; overflow-wrap: anywhere; }
.button, .primary { display: inline-block; border-radius: .55rem; border: 1px solid transparent; padding: .6rem .95rem; text-decoration: none; font-weight: 650; }
.primary, .primary:hover { color: white; }
.primary { background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.secondary { background: var(--surface); border-color: var(--line); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1.1rem, 3vw, 1.75rem); }
.website-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.website-card { display: flex; flex-direction: column; align-items: start; min-width: 0; }
.domain { color: var(--muted); margin-top: .22rem; overflow-wrap: anywhere; }
.checks { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1rem 0 0; font-size: .9rem; }
.checks dt { color: var(--muted); }
.checks dd { margin: 0; font-weight: 650; }
.card-actions { margin-top: auto; padding-top: 1.1rem; font-size: .95rem; }
.empty p { color: var(--muted); margin-top: .45rem; }
.login-shell { display: grid; justify-items: center; }
.login-panel, .import-panel { width: min(100%, 32rem); }
.login-panel { margin-top: clamp(0rem, 5vw, 3rem); }
.login-panel h1 { margin-bottom: 1.35rem; }
.login-panel button { width: 100%; }
.field { display: grid; gap: .35rem; margin-block: 1rem; font-weight: 600; }
.field input { max-width: 100%; min-width: 0; }
.field input:not([type=file]) { width: 100%; color: var(--text); border: 1px solid #8798ae; border-radius: .45rem; padding: .6rem .7rem; }
.errorlist { padding-inline-start: 1.25rem; font-weight: 450; color: #a02324; }
.notice { background: #e5f5ee; color: #195b42; border-radius: .55rem; padding: .7rem 1rem; margin-bottom: 1rem; }
.back { display: inline-block; margin-bottom: .9rem; }
pre { background: var(--background); border-radius: .55rem; padding: .8rem; overflow-x: auto; }
