:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4ee;
  --brand: #0f766e;
  --brand-2: #0ea5e9;
  --ok: #166534;
  --warn: #a16207;
  --error: #b91c1c;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #f8fafc; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: linear-gradient(135deg, var(--bg) 0%, #13233f 100%); color: #fff; padding: 18px 0; }
.header-wrap, .admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: #fff; font-size: 1.6rem; font-weight: 700; }
.brand span { color: #93c5fd; }
.tagline { margin: 4px 0 0; color: #cbd5e1; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: #fff; }
.hero { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 28px; padding: 42px 0 22px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.hero p { color: var(--muted); line-height: 1.6; }
.checks { padding-left: 18px; color: var(--muted); }
.card { background: var(--card); border-radius: 18px; border: 1px solid var(--line); padding: 22px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); }
.grid-two { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 22px; padding-bottom: 22px; }
.wide { min-width: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 0 22px; }
.stat { background: #e2e8f0; border-radius: 18px; padding: 18px; }
.stat strong { display: block; font-size: 2rem; }
label { display: block; margin: 10px 0 6px; font-weight: 700; }
input[type=text], input[type=password], textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; font-size: 1rem; }
textarea { min-height: 110px; }
button, .button-link { display: inline-block; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; border-radius: 12px; padding: 12px 16px; font-weight: 700; cursor: pointer; text-decoration: none; }
button:hover, .button-link:hover { text-decoration: none; opacity: 0.94; }
.alert { border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.alert.error { background: #fee2e2; color: var(--error); }
.small { color: var(--muted); font-size: .92rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.timeline li { border-left: 4px solid #cbd5e1; padding-left: 12px; }
.timeline li.ok { border-left-color: #16a34a; }
.timeline li.warn { border-left-color: #eab308; }
.timeline li.error { border-left-color: #ef4444; }
.timeline strong { display: block; margin-bottom: 4px; }
.timeline span { color: var(--muted); line-height: 1.45; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f8fafc; position: sticky; top: 0; }
.url-cell { min-width: 260px; word-break: break-word; }
.site-footer { background: var(--bg-soft); color: #cbd5e1; margin-top: 30px; padding: 30px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.footer-grid a { color: #fff; }
.legal { margin-top: 30px; margin-bottom: 30px; }
.admin-login { display: grid; place-items: center; min-height: 100vh; background: linear-gradient(135deg, var(--bg), #1e293b); }
.login-card { width: min(480px, calc(100% - 32px)); }
@media (max-width: 900px) {
  .hero, .grid-two, .stats-grid, .footer-grid { grid-template-columns: 1fr; display: grid; }
  .header-wrap, .admin-bar { align-items: flex-start; flex-direction: column; }
}

.stack-form{display:grid;gap:.65rem}.stack-form input{width:100%}
.alert.success{background:#e8f6ec;border:1px solid #b6dec0;color:#1f5f2c}

.limit-note{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid #d9e2ec;border-radius:10px;background:#f8fafc;margin:8px 0 14px 0;font-size:.95rem}.limit-note span{color:#5b6777;font-size:.85rem}
