:root { font-family: Inter, system-ui, sans-serif; color: #122033; background: #f2f6fb; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; }
.shell { width: min(920px, calc(100% - 32px)); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid #dce5ef; border-radius: 20px; padding: 30px; box-shadow: 0 18px 50px rgba(24, 55, 90, .09); }
.eyebrow { margin: 0 0 8px; color: #2866ad; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
h1, h2 { margin: 0 0 10px; }
h1 { font-size: 36px; }
h2 { font-size: 23px; }
.muted { color: #627084; line-height: 1.55; }
.google-button { min-height: 44px; margin: 24px 0 12px; }
.secondary { border: 1px solid #bccadb; background: #fff; color: #183c68; padding: 10px 18px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.status { padding: 12px 14px; border-radius: 10px; background: #f3f6fa; color: #43536a; }
.status.error { background: #fff0f0; color: #9f2525; }
.status.success { background: #edf9f2; color: #16683e; }
.heading-row { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.badge { background: #e8f1fc; color: #174f8c; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; }
.metric { margin: 26px 0 0; font-size: 52px; font-weight: 800; color: #165ea9; }
.form-card { grid-column: 1 / -1; }
.mode-switch { display: flex; gap: 8px; margin: 20px 0; }
.mode { border: 1px solid #bfd0e3; background: #fff; color: #24435f; border-radius: 9px; padding: 9px 14px; cursor: pointer; }
.mode.active { background: #185fa8; border-color: #185fa8; color: #fff; }
form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
label { display: grid; gap: 7px; color: #33455c; font-size: 13px; font-weight: 750; }
input, select { width: 100%; border: 1px solid #bfccda; border-radius: 9px; padding: 11px 12px; color: #14263a; background: #fff; }
input:focus, select:focus { outline: 3px solid rgba(35, 110, 184, .18); border-color: #256eb4; }
.primary { justify-self: start; border: 0; border-radius: 10px; background: #157347; color: #fff; padding: 12px 18px; font-weight: 800; cursor: pointer; }
.primary:disabled { opacity: .6; cursor: wait; }
.check-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; }
.check-item { display: flex; align-items: center; gap: 9px; border: 1px solid #d5e0eb; border-radius: 9px; padding: 10px 12px; }
.check-item input { width: auto; }
.search-row { grid-template-columns: minmax(240px, 1fr) auto auto; align-items: end; margin: 20px 0; }
.table-wrap { overflow-x: auto; border: 1px solid #d5e0eb; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px 14px; border-bottom: 1px solid #e2e9f1; text-align: left; font-size: 13px; }
th { background: #f4f7fb; color: #33455c; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:last-child td { border-bottom: 0; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 16px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.table-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.table-actions .secondary { padding: 7px 10px; font-size: 12px; white-space: nowrap; }
@media (max-width: 680px) { .search-row { grid-template-columns: 1fr; } }
