:root{
  --bg:#f8f8f8;
  --text:#222222;
  --accent:#6b705c;
  --accent-2:#a5a58d;
  --white:#ffffff;
  --card:#ffffff;
  --muted:#777777;
}
*{box-sizing:border-box}
body{font-family: 'Inter', system-ui, Arial, sans-serif; background:var(--bg); color:var(--text); margin:0; padding:0;}
.topbar{background:var(--white); box-shadow:0 1px 6px rgba(0,0,0,0.06); position:sticky; top:0; z-index:50;}
.topbar-inner{max-width:1100px; margin:0 auto; padding:18px 20px; display:flex; align-items:center; justify-content:center;}
.brand{ text-align:center; }
.brand-title{ font-family: 'Playfair Display', serif; font-size:28px; color:var(--accent); letter-spacing:0.6px; }
.brand-sub{ font-size:13px; color:var(--muted); margin-top:4px; }
.main-content{ max-width:1000px; margin:28px auto; padding:0 18px; }
.card{ background:var(--card); border-radius:10px; padding:18px; box-shadow:0 10px 30px rgba(0,0,0,0.05); margin-bottom:18px; }
h1{ margin:0 0 12px 0; font-size:20px; }
label{ display:block; font-weight:600; margin-bottom:6px; }
.grid{ display:grid; grid-template-columns: 1fr 220px; gap:12px; align-items:center; margin-bottom:12px; }
select, input[type="text"], input[type="password"]{ width:100%; padding:10px 12px; border-radius:8px; border:1px solid #e6e6e6; background:transparent; }
.btn{ display:inline-block; background:var(--accent); color:white; padding:10px 16px; border-radius:10px; text-decoration:none; border:none; cursor:pointer; font-weight:700;}
.btn:hover{ background:var(--accent-2); }
.muted{ color:var(--muted); font-size:13px; }
ul.simple{ padding-left:18px; margin:8px 0; color:var(--muted); }
.perf{ border:1px solid #eee; padding:12px; border-radius:8px; margin-bottom:12px; background:#fff; }
.score{ font-weight:800; color:var(--accent); float:right; }
.back{ display:inline-block; margin-top:12px; text-decoration:none; color:var(--accent); }
/* admin */
.admin-grid{ display:flex; gap:12px; flex-wrap:wrap; }
.admin-card{ flex:1 1 260px; min-width:220px; }
.list-table{ width:100%; border-collapse:collapse; }
.list-table th, .list-table td{ padding:8px 10px; border-bottom:1px solid #f0f0f0; text-align:left; }
.input-range{ width:100%; }
.small{ font-size:13px; color:var(--muted); }
.top-actions{ display:flex; gap:8px; align-items:center; justify-content:flex-end; margin-bottom:10px; }
.center{ text-align:center; }
@media(max-width:700px){
  .grid{ grid-template-columns: 1fr 140px; }
  .topbar-inner{ padding:12px 14px; }
}
