*{box-sizing:border-box}
:root{
  --bg:#f3f6fb;
  --panel:#ffffff;
  --line:#e5eaf2;
  --text:#142033;
  --muted:#6b7a90;
  --primary:#1663d6;
  --primary-dark:#0f4fb1;
  --soft:#eef4ff;
  --success:#eaf8ef;
  --success-text:#18794e;
  --danger:#fff1f0;
  --danger-text:#b42318;
  --shadow:0 10px 30px rgba(15,23,42,.06);
  --radius:16px;
}
body{
  margin:0;
  background:linear-gradient(180deg,#f7f9fc 0%,#f2f5fa 100%);
  color:var(--text);
  font:15px/1.6 system-ui,-apple-system,Segoe UI,Arial,sans-serif;
}
.container{
  max-width:1180px;
  margin:40px auto;
  padding:0 20px;
}
.narrow{
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
}
.panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  margin:18px 0;
  box-shadow:var(--shadow);
}
h1{
  font-size:36px;
  line-height:1.15;
  margin:0 0 8px;
  font-weight:750;
  letter-spacing:-0.03em;
}
h2{
  font-size:21px;
  margin:0 0 12px;
  font-weight:700;
}
.top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:8px;
}
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.muted{
  color:var(--muted);
}
.alert{
  background:var(--danger);
  color:var(--danger-text);
  border:1px solid #f7d4d0;
  border-radius:12px;
  padding:12px 14px;
}
.success{
  background:var(--success);
  color:var(--success-text);
  border:1px solid #ccebd7;
  border-radius:12px;
  padding:12px 14px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--soft);
  color:#2553a6;
  padding:7px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}
label{
  display:block;
  font-weight:650;
  margin:16px 0 8px;
}
input{
  display:block;
  width:100%;
  font:inherit;
  border:1px solid #d4dbe6;
  border-radius:12px;
  padding:13px 14px;
  margin:7px 0 14px;
  background:#fff;
  color:var(--text);
  outline:none;
  transition:.18s ease;
}
input:focus{
  border-color:#8bb5ff;
  box-shadow:0 0 0 4px rgba(22,99,214,.10);
}
button,.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--primary);
  color:#fff;
  border:0;
  border-radius:12px;
  padding:11px 18px;
  font:700 14px system-ui;
  cursor:pointer;
  text-decoration:none;
  transition:.18s ease;
}
button:hover,.btn:hover{
  background:var(--primary-dark);
  transform:translateY(-1px);
}
.quiet{
  background:#eef2f7;
  color:#1e2d3d;
}
.quiet:hover{
  background:#e2e8f0;
}
.buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.urlbox{
  padding:14px;
  overflow-wrap:anywhere;
  background:#f3f6fb;
  border:1px solid #e4eaf3;
  border-radius:12px;
  margin-bottom:14px;
  font-size:13px;
  color:#334155;
}
.qr{
  margin:18px 0 20px;
}
.qr canvas{
  max-width:100%;
  height:auto;
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:10px;
  display:block;
}
table{
  width:100%;
  border-collapse:collapse;
}
th,td{
  text-align:left;
  border-bottom:1px solid #eef2f6;
  padding:15px 12px;
}
th{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
}
tr:hover td{
  background:#fafcff;
}
.scroll{
  overflow:auto;
}
a{
  color:var(--primary);
  text-decoration:none;
}
a:hover{
  text-decoration:underline;
}
@media(max-width:750px){
  .grid{grid-template-columns:1fr}
  .top{align-items:flex-start}
  .panel{padding:18px}
  h1{font-size:28px}
}