:root {
  color-scheme: light;
  font-family: Inter, "Microsoft YaHei", system-ui, sans-serif;
  color: #17201d;
  background: #eef2ef;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
.shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.checker { width: min(100%, 620px); padding: 40px; background: #fff; border: 1px solid #d8dfda; border-radius: 8px; box-shadow: 0 16px 48px rgba(23, 32, 29, .08); }
.eyebrow { margin: 0 0 8px; color: #32735b; font-size: 13px; font-weight: 700; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 42px); line-height: 1.15; }
.intro { margin: 18px 0 24px; color: #52605b; line-height: 1.75; }
.notice { padding: 16px; border-left: 3px solid #c48a27; background: #fff9ec; }
.notice p { margin: 6px 0 0; color: #655634; line-height: 1.6; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 16px; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: #247456; }
button { min-height: 44px; border: 0; border-radius: 6px; padding: 0 18px; color: #fff; background: #247456; font-weight: 700; cursor: pointer; }
button:hover { background: #195f45; }
button:disabled { cursor: not-allowed; opacity: .45; }
.result { margin-top: 22px; padding-top: 22px; border-top: 1px solid #e1e6e3; }
.result span, .result small { display: block; color: #68746f; }
.result output { display: block; margin: 6px 0; overflow-wrap: anywhere; font: 700 28px ui-monospace, monospace; }
.geo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 22px 0 14px; }
.geo-grid div { min-width: 0; }
.geo-grid dt { color: #68746f; font-size: 13px; }
.geo-grid dd { margin: 4px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.geo-note { margin: 0 0 14px; color: #68746f; font-size: 13px; line-height: 1.55; }
.error { color: #a83232; }
.muted { color: #68746f; }
.admin-shell { width: min(1100px, calc(100% - 32px)); margin: 48px auto; }
.admin-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.admin-header h1 { font-size: 32px; }
.login { max-width: 560px; padding: 24px; background: #fff; border: 1px solid #d8dfda; border-radius: 8px; }
.login label { display: block; margin-bottom: 8px; font-weight: 700; }
.login-row { display: flex; gap: 8px; }
.login input { min-width: 0; flex: 1; height: 44px; border: 1px solid #aeb9b2; border-radius: 6px; padding: 0 12px; }
.danger { background: #a83232; }
.danger:hover { background: #872626; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #d8dfda; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 16px; border-bottom: 1px solid #e1e6e3; text-align: left; vertical-align: top; }
th { color: #52605b; background: #f8faf8; font-size: 13px; }
td:last-child { max-width: 520px; overflow-wrap: anywhere; }
tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .checker { padding: 26px 20px; }
  .login-row { flex-direction: column; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  .geo-grid { grid-template-columns: 1fr; }
}
