:root { color-scheme: light; font-family: "Segoe UI", "Malgun Gothic", sans-serif; color: #172033; background: #f3f6fb; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(1080px, calc(100% - 32px)); margin: 32px auto; }
.card { background: #fff; border: 1px solid #dbe2ee; border-radius: 14px; padding: 24px; box-shadow: 0 8px 24px #20304d0d; margin-bottom: 20px; }
.login-card { max-width: 420px; margin: 12vh auto; }
h1, h2 { margin: 0 0 16px; }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
.muted { color: #68758a; margin-left: 10px; }
label { display: block; margin: 14px 0; font-weight: 600; }
input, select { width: 100%; border: 1px solid #c8d2e2; border-radius: 8px; padding: 11px 12px; margin-top: 7px; font: inherit; background: #fff; }
button { border: 0; border-radius: 8px; padding: 10px 15px; background: #2459d6; color: white; font: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.secondary { background: #e8edf6; color: #25334d; }
.topbar, .section-heading, .actions, .snapshot-actions { display: flex; align-items: center; gap: 10px; }
.topbar, .section-heading { justify-content: space-between; margin-bottom: 20px; }
.actions { margin-top: 16px; flex-wrap: wrap; }
.error { color: #b42318; min-height: 20px; }
.message { color: #176b3a; min-height: 20px; }
.snapshot-list { display: grid; gap: 12px; }
.snapshot { border: 1px solid #dbe2ee; border-radius: 10px; padding: 15px; display: grid; gap: 8px; }
.snapshot-head { display: flex; justify-content: space-between; gap: 12px; }
.snapshot-meta { color: #55647c; font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.status { font-weight: 700; }
.empty { color: #68758a; padding: 18px 0; }
dialog { border: 0; border-radius: 12px; padding: 12px; max-width: 95vw; max-height: 95vh; box-shadow: 0 16px 50px #0005; }
dialog::backdrop { background: #0b1324aa; }
dialog img { display: block; max-width: 90vw; max-height: 88vh; object-fit: contain; }
.close { position: absolute; right: 8px; top: 8px; border-radius: 50%; padding: 3px 10px; background: #172033cc; font-size: 20px; }
@media (max-width: 600px) { .shell { width: min(100% - 20px, 1080px); margin: 16px auto; } .card { padding: 17px; } .topbar { align-items: flex-start; } }
