:root { color-scheme: light dark; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 720px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.5;
}
h1 { font-size: 1.4rem; margin-bottom: 4px; }
p.sub { color: #666; margin-top: 0; }
form { display: flex; gap: 8px; margin: 24px 0; }
input[type=url], input[type=text], input[type=password] {
  flex: 1;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}
button {
  padding: 10px 16px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  cursor: pointer;
}
button:hover { background: #1d4ed8; }
button.danger { background: #dc2626; padding: 4px 10px; font-size: 0.85rem; }
button.danger:hover { background: #b91c1c; }
button.secondary { background: #6b7280; }
button.secondary:hover { background: #4b5563; }
.result {
  display: none;
  padding: 12px 16px;
  background: #f0f4ff;
  border-radius: 8px;
  margin-bottom: 24px;
  word-break: break-all;
}
.result a { color: #1d4ed8; font-weight: 600; }
.result .target { display: block; margin-top: 6px; color: #444; font-size: 0.9rem; word-break: break-all; }
.error { color: #dc2626; margin-bottom: 16px; display: none; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; }
th { color: #888; font-weight: 500; }
.muted { color: #888; font-size: 0.85rem; }
.target-cell { max-width: 320px; word-break: break-all; }
.footer-link { margin-top: 40px; font-size: 0.85rem; }
.footer-link a { color: #888; }
.login-box { max-width: 360px; margin: 80px auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; }
