:root{
  --bg:#f6f8fb;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --shadow: 0 10px 30px rgba(2,8,23,.08);
  --shadow2: 0 6px 18px rgba(2,8,23,.06);
  --brand:#2563eb;
  --brand2:#0ea5e9;
  --ok:#16a34a;
  --warn:#f59e0b;
  --bad:#ef4444;
  --radius:18px;
  --radius2:14px;
  --max:1160px;
}
*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: Pretendard, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic", sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(37,99,235,.13), transparent 60%),
              radial-gradient(900px 520px at 90% 0%, rgba(14,165,233,.10), transparent 55%),
              var(--bg);
}
a{color:inherit;text-decoration:none;}
a:hover{opacity:.92;}
.container{max-width:var(--max); margin:0 auto; padding:0 18px;}
.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(246,248,251,.78);
  border-bottom:1px solid rgba(226,232,240,.75);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:14px;
}
.brand{display:flex; align-items:center; gap:10px; min-width:220px;}
.brand-badge{
  width:36px; height:36px; border-radius:12px;
  background: linear-gradient(135deg, rgba(37,99,235,1), rgba(14,165,233,1));
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight:800; box-shadow: var(--shadow2);
}
.brand-title{font-weight:800; letter-spacing:-.3px; line-height:1;}
.brand-sub{font-size:12px; color:var(--muted); margin-top:4px;}
.nav{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end;}
.nav a{
  padding:10px 12px; border-radius:999px;
  border:1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.72);
  font-weight:700; font-size:14px; color:#0b1220;
}
.nav a.active{
  border-color: rgba(37,99,235,.45);
  background: rgba(37,99,235,.10);
  color: rgba(37,99,235,1);
}
.main{padding:22px 0 70px;}
.hero{
  padding:20px; border-radius: var(--radius);
  background: rgba(255,255,255,.86);
  border:1px solid rgba(226,232,240,.9);
  box-shadow: var(--shadow);
  overflow:hidden; position:relative;
}
.hero::after{
  content:""; position:absolute; right:-160px; top:-160px;
  width:340px; height:340px; border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(37,99,235,.25), transparent 60%);
}
.hero h1{margin:0; font-size:28px; letter-spacing:-.6px;}
.hero p{margin:8px 0 0; color:var(--muted); font-weight:600; line-height:1.5;}
.hero-row{display:flex; gap:12px; flex-wrap:wrap; align-items:center; justify-content:space-between; margin-top:14px;}
.statusbar{display:flex; gap:8px; flex-wrap:wrap; align-items:center;}
.badge{
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(226,232,240,.95);
  background: rgba(248,250,252,.9);
  font-weight:800; font-size:12px; letter-spacing:.2px;
}
.badge.ok{border-color:rgba(22,163,74,.35); background:rgba(22,163,74,.10); color:rgba(22,163,74,1);}
.badge.live{border-color:rgba(37,99,235,.35); background:rgba(37,99,235,.10); color:rgba(37,99,235,1);}
.badge.missing{border-color:rgba(239,68,68,.35); background:rgba(239,68,68,.10); color:rgba(239,68,68,1);}
.badge.upd{border-color:rgba(100,116,139,.35); background:rgba(100,116,139,.08); color:rgba(15,23,42,.75);}
.controls{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; align-items:center;}
.input{
  display:flex; align-items:center; gap:10px;
  padding:12px 14px; border-radius:14px;
  background:#fff; border:1px solid rgba(226,232,240,.95);
  box-shadow: var(--shadow2);
  min-width:min(560px, 100%); flex: 1 1 420px;
}
.input input{border:0; outline:0; width:100%; font-size:15px; font-weight:700;}
.btn{border:0; border-radius:14px; padding:12px 14px; font-weight:900; cursor:pointer; box-shadow: var(--shadow2); display:inline-flex; align-items:center; gap:8px;}
.btn.primary{background: linear-gradient(135deg, rgba(37,99,235,1), rgba(14,165,233,1)); color:#fff;}
.btn.ghost{background: rgba(255,255,255,.86); border:1px solid rgba(226,232,240,.95); color:#0b1220;}
.chips{display:flex; gap:8px; flex-wrap:wrap; align-items:center;}
.chip{padding:10px 12px; border-radius:999px; background: rgba(255,255,255,.86); border:1px solid rgba(226,232,240,.95); font-weight:800; font-size:13px; cursor:pointer;}
.grid{margin-top:18px; display:grid; grid-template-columns: repeat(12, 1fr); gap:14px;}
.card{
  background: rgba(255,255,255,.90);
  border:1px solid rgba(226,232,240,.92);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding:16px;
}
.card h3{margin:0; font-size:16px; letter-spacing:-.3px;}
.card p{margin:8px 0 0; color:var(--muted); font-weight:600; line-height:1.5;}
.card-top{display:flex; align-items:center; justify-content:space-between; gap:10px;}
.card-cta{margin-top:12px; display:flex; justify-content:flex-end;}
.card-cta a, .card-cta button{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:12px;
  font-weight:900; border:1px solid rgba(226,232,240,.95);
  background: rgba(248,250,252,.92);
  cursor:pointer;
}
.kpi{
  display:flex; flex-direction:column; gap:6px;
  padding:16px; border-radius: var(--radius2);
  background: rgba(248,250,252,.92);
  border:1px solid rgba(226,232,240,.95);
}
.kpi .label{font-size:12px; color:var(--muted); font-weight:800;}
.kpi .value{font-size:18px; font-weight:900; letter-spacing:-.4px;}
.kpi .sub{font-size:12px; color:rgba(15,23,42,.65); font-weight:700;}
.section-title{margin-top:22px; display:flex; align-items:end; justify-content:space-between; gap:12px;}
.section-title h2{margin:0; font-size:18px; letter-spacing:-.4px;}
.section-title .hint{font-size:12px; color:var(--muted); font-weight:700;}
.list{margin-top:12px; display:flex; flex-direction:column; gap:10px;}
.item{
  padding:14px; border-radius:14px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(226,232,240,.92);
  box-shadow: var(--shadow2);
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.item .meta{font-size:12px; color:var(--muted); font-weight:700; margin-top:6px;}
.item .title{font-weight:900; letter-spacing:-.2px; line-height:1.35;}
.item .right{white-space:nowrap; font-size:12px; color:rgba(15,23,42,.75); font-weight:800;}
.tabs{margin-top:14px; display:flex; gap:8px; flex-wrap:wrap;}
.tab{
  padding:10px 12px; border-radius:999px;
  border:1px solid rgba(226,232,240,.95);
  background: rgba(255,255,255,.86);
  font-weight:900; cursor:pointer; font-size:13px;
}
.tab.active{border-color: rgba(37,99,235,.45); background: rgba(37,99,235,.10); color: rgba(37,99,235,1);}
.tabpanes{margin-top:12px;}
.pane{display:none;}
.pane.active{display:block;}
.footer{margin-top:26px; padding:14px 0 0; color:rgba(100,116,139,.95); font-weight:700; font-size:12px;}
.small{font-size:12px; color:rgba(100,116,139,.95); font-weight:700;}
.hr{height:1px; background:rgba(226,232,240,.9); margin:18px 0;}
@media (max-width: 760px){
  .brand{min-width:unset;}
  .nav{justify-content:flex-start;}
  .hero h1{font-size:24px;}
}
