/* Meta Page Integrity Monitor — LIGHT mode (ivory / white), premium SaaS. */
:root{
  --bg:#f7f5ef; --surface:#ffffff; --surface-muted:#f1ede3;
  --text:#1c2430; --muted:#6b7280; --border:#e5e0d3;
  --accent:#0b5e4b; --accent-soft:#e6f2ee; --gold:#b9975b;
  --ok:#0b7a45; --warning:#9a6b00; --restricted:#b45309; --suspended:#b91c1c; --unknown:#6b7280;
  --radius:14px; --shadow:0 1px 3px rgba(28,36,48,.08),0 8px 24px rgba(28,36,48,.06);
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}
a{color:var(--accent)}
.muted{color:var(--muted)} .small{font-size:.85rem}
.app{display:flex;min-height:100vh}
.sidebar{width:260px;background:#10201b;color:#eef3f0;padding:24px 16px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}
.brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}
.brand-mark{width:42px;height:42px;border-radius:12px;background:var(--gold);color:#10201b;display:grid;place-items:center;font-weight:800;font-size:22px}
.brand-name{font-weight:700;line-height:1.2}
.sidebar nav{display:flex;flex-direction:column;gap:6px}
.nav-link{color:#cfe0d8;text-decoration:none;padding:10px 12px;border-radius:10px}
.nav-link.active,.nav-link:hover{background:rgba(255,255,255,.12);color:#fff}
.sidebar-foot{margin-top:auto;color:#9fb8ad}
.main{flex:1;min-width:0}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 28px;border-bottom:1px solid var(--border);background:var(--surface)}
.topbar-title{font-weight:700}
.pill{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:6px 12px;font-size:.82rem;font-weight:600}
.content{padding:28px;max-width:1100px}
h1{font-size:1.7rem;margin:.2rem 0 .6rem} h2{font-size:1.2rem;margin:1.6rem 0 .6rem}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:18px 0}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}
.stat-label{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.stat-value{font-size:1.9rem;font-weight:800;margin:6px 0}
.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:.8rem;font-weight:700}
.status-ok{background:#e6f6ec;color:var(--ok)} .status-warning{background:#fff4cc;color:var(--warning)}
.status-restricted{background:#ffedd5;color:var(--restricted)} .status-suspended{background:#fee2e2;color:var(--suspended)}
.status-unknown{background:#eef0f2;color:var(--unknown)}
table{width:100%;border-collapse:collapse;background:var(--surface);border-radius:var(--radius);overflow:hidden}
th,td{padding:12px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}
th{background:var(--surface-muted);font-size:.85rem}
.btn{display:inline-block;background:var(--accent);color:#fff;border:0;border-radius:10px;padding:10px 16px;font-weight:600;cursor:pointer;text-decoration:none}
.btn-ghost{background:transparent;color:inherit;border:1px solid var(--border)}
.btn-secondary{background:#fff;color:var(--text);border:1px solid var(--border)}
input,select,textarea{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;font:inherit}
label{display:block;font-weight:600;margin:12px 0 4px}
.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end}
.alert{padding:12px 14px;border-radius:10px;margin:12px 0;background:#fff8e1;border:1px solid #f0d48a}
.alert-error{background:#fee2e2;border-color:#f5a3a3}
.alert-ok{background:#e6f6ec;border-color:#9fd6b2}
code{background:var(--surface-muted);padding:2px 6px;border-radius:6px;word-break:break-all}
pre{background:#10201b;color:#e6f2ee;padding:14px;border-radius:10px;overflow:auto;font-size:.82rem}
.hero{max-width:900px;margin:0 auto;padding:64px 24px;text-align:center}
.hero h1{font-size:2.4rem}
.landing-nav{display:flex;justify-content:space-between;align-items:center;max-width:1000px;margin:0 auto;padding:20px 24px}
.timeline{list-style:none;padding:0}
.timeline li{border-left:3px solid var(--accent);padding:4px 0 18px 16px;margin-left:6px}
@media (max-width:760px){
  .app{flex-direction:column} .sidebar{width:100%;height:auto;position:static}
  .sidebar nav{flex-direction:row;flex-wrap:wrap} .content{padding:18px}
  .hero h1{font-size:1.8rem}
}
