:root{
  --bg: #f6f8ff;
  --card: rgba(255,255,255,.78);
  --card-border: rgba(15,23,42,.08);
  --text: #0f172a;
  --muted: rgba(15,23,42,.65);
  --brand: #4f46e5;
  --brand2: #06b6d4;
  --danger: #ef4444;
  --ok: #16a34a;
  --shadow: 0 18px 55px rgba(15,23,42,.12);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 15% 10%, rgba(79,70,229,.18), transparent 55%),
    radial-gradient(900px 650px at 85% 20%, rgba(6,182,212,.18), transparent 55%),
    radial-gradient(900px 650px at 50% 95%, rgba(34,197,94,.10), transparent 55%),
    var(--bg);
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(1120px, 92vw);
  margin:0 auto;
}

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  background:#fff; padding:10px 12px; border-radius:10px; box-shadow: var(--shadow);
  z-index:9999;
}

header.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(246,248,255,.68);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:12px;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand-mark{
  width:38px; height:38px; border-radius:12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 25px rgba(79,70,229,.25);
}
.brand-title{
  display:flex; flex-direction:column; line-height:1.1;
}
.brand-title strong{ font-size:15px; letter-spacing:.2px; }
.brand-title span{ font-size:12px; color:var(--muted); }

nav.nav{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.nav a{
  padding:10px 12px;
  border-radius:12px;
  color: rgba(15,23,42,.78);
}
.nav a:hover{
  background: rgba(79,70,229,.08);
  text-decoration:none;
}
.nav a.active{
  background: rgba(79,70,229,.12);
  color: var(--text);
}

main{ padding: 26px 0 56px; }

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
  margin: 14px 0 18px;
}
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
}

.card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{ padding: 18px; }

.h-title{
  font-size: 26px;
  margin: 0 0 8px;
  letter-spacing: -.3px;
}
.h-sub{
  margin:0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.badges{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px;}
.badge{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.7);
  color: rgba(15,23,42,.78);
}

.form-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.input{
  flex:1;
  min-width: 220px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
  font-size: 14px;
}
.input:focus{
  border-color: rgba(79,70,229,.55);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}

.btn{
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
}
.btn.primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(79,70,229,.24);
}
.btn.primary:hover{ filter: brightness(1.02); }
.btn.ghost{
  background: rgba(255,255,255,.8);
  border:1px solid rgba(15,23,42,.10);
  color: var(--text);
}
.btn.danger{
  background: rgba(239,68,68,.10);
  border:1px solid rgba(239,68,68,.25);
  color: #991b1b;
}

.notice{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.notice strong{ color: var(--text); }

.kpi{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
@media (max-width: 560px){
  .kpi{ grid-template-columns: 1fr; }
}
.kpi .k{
  padding:12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(15,23,42,.08);
}
.k .label{ font-size:12px; color:var(--muted); }
.k .value{ font-size:18px; font-weight:760; margin-top:6px; }

.table-wrap{
  overflow:auto;
  border-radius: var(--radius);
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.72);
}
table{
  width:100%;
  border-collapse: collapse;
  min-width: 1020px;
}
thead th{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,.10);
  padding: 12px 12px;
  font-size: 12px;
  text-align:left;
  color: rgba(15,23,42,.72);
  white-space:nowrap;
}
tbody td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(15,23,42,.06);
  font-size: 13px;
  color: rgba(15,23,42,.88);
  vertical-align: top;
}
tbody tr:hover{
  background: rgba(79,70,229,.06);
}
.mono{ font-variant-numeric: tabular-nums; font-feature-settings:"tnum"; }
.link{
  color: #1d4ed8;
  text-decoration: none;
}
.link:hover{ text-decoration: underline; }

.row-actions{
  display:flex; gap:10px; flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin: 12px 0;
}
.small{
  font-size: 12px;
  color: var(--muted);
}

.auth-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px){
  .auth-grid{ grid-template-columns: 1fr; }
}
.oauth-btn{
  width:100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  gap:10px;
  font-weight: 750;
}
.oauth-btn:hover{ background: rgba(255,255,255,.96); }
.oauth-btn .dot{
  width: 10px; height: 10px; border-radius: 999px;
}
.dot.google{ background: linear-gradient(135deg, #4285F4, #34A853); }
.dot.kakao{ background: #FEE500; border: 1px solid rgba(0,0,0,.12); }

footer.site-footer{
  padding: 24px 0 36px;
  color: rgba(15,23,42,.62);
  font-size: 12px;
}
.footer-inner{
  display:flex; gap:10px; flex-wrap:wrap;
  justify-content:space-between; align-items:center;
  border-top: 1px solid rgba(15,23,42,.08);
  padding-top: 16px;
}
