/* 시험 성적 — design_handoff_exam_scores */
:root{
  --indigo:#4d5bf0;
  --indigo-deep:#3b48d8;
  --indigo-soft:#eef0fe;
  --indigo-line:#dfe2fb;
  --bg:#f6f7fc;
  --card:#fff;
  --text:#1B1F2E;
  --sub:#5b6070;
  --muted:#6b7180;
  --faint:#9196a3;
  --border:#e6e8ef;
  --border-soft:#e2e4ee;
  --ok:#118049;
  --fail:#d64545;
  --violet:#7c3aed;
  --violet-soft:#f3ebfe;
  --energy:#c85a1c;
  --energy-soft:#fdefe4;
  --g9:#4d5bf0;
  --g7:#118049;
  --g7-soft:#e7f5ee;
  --hae:#0369a1;
  --hae-soft:#e6f2fb;
  --page-max:1060px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--font-sans);
  line-height:1.5;-webkit-font-smoothing:antialiased;
}
a{color:var(--indigo);text-decoration:none}
button,select{font-family:inherit}

.es-hd{
  position:sticky;top:0;z-index:40;
  background:#fff;border-bottom:1px solid #eceef2;
}
.es-hd-inner{
  max-width:var(--page-max);margin:0 auto;padding:12px 16px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
@media(min-width:720px){.es-hd-inner{padding:14px 24px}}
.es-hd-left{display:flex;align-items:center;gap:12px;min-width:0}
.es-back{
  width:32px;height:32px;border-radius:10px;border:0;background:#f1f2f6;color:#5b6070;
  display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;
  cursor:pointer;text-decoration:none;flex-shrink:0;line-height:1;
}
.es-back:hover{background:#e8eaef;color:var(--text);text-decoration:none}
.es-title-wrap{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}
.es-title{font-size:16px;font-weight:900;color:var(--text);letter-spacing:-.3px;white-space:nowrap}
.es-pill{
  font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;white-space:nowrap;
}
.es-pill.gisa{color:var(--violet);background:var(--violet-soft)}
.es-pill.energy{color:var(--energy);background:var(--energy-soft)}
.es-pill.g9{color:var(--g9);background:var(--indigo-soft)}
.es-pill.g7{color:var(--g7);background:var(--g7-soft)}
.es-pill.hae,.es-pill.haegyeong{color:var(--hae);background:var(--hae-soft)}
.es-pill.gongjo{color:#0369a1;background:#e0f2fe}
.es-pill.labsafety{color:#047857;background:#ecfdf5}
.es-pill.electricity{color:#b45309;background:#fef3c7}
.es-pill.gas{color:#0f766e;background:#ccfbf1}
.es-av{
  width:30px;height:30px;border-radius:50%;background:var(--indigo-soft);color:var(--indigo-deep);
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;
  text-decoration:none;flex-shrink:0;
}

.es-body{max-width:var(--page-max);margin:0 auto;padding:20px 16px 56px}
@media(min-width:720px){.es-body{padding:28px 24px 56px}}

.es-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.es-tabs{display:flex;gap:7px;flex-wrap:wrap}
.es-tabs button{
  border:1px solid var(--border-soft);background:#fff;color:var(--muted);
  padding:8px 16px;border-radius:999px;font-size:13px;font-weight:700;
  cursor:pointer;white-space:nowrap;
}
@media(min-width:560px){.es-tabs button{padding:8px 18px}}
.es-tabs button.on{
  border-color:var(--indigo);background:var(--indigo);color:#fff;font-weight:800;
}
.es-tabs button:not(.on):hover{background:#f4f5fb;color:var(--text)}
.es-sort{
  border:1px solid var(--border-soft);background:#fff;padding:8px 14px;border-radius:10px;
  font-size:12.5px;font-weight:700;color:var(--sub);cursor:pointer;
}

.es-stats{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;
}
@media(min-width:640px){.es-stats{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}}
.es-stat{
  background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px 16px;
}
@media(min-width:560px){.es-stat{padding:16px 20px}}
.es-stat .k{font-size:11.5px;font-weight:700;color:var(--faint)}
.es-stat .v{font-size:22px;font-weight:900;color:var(--text);margin-top:4px}
.es-stat .v.ok{color:var(--ok)}
.es-stat .v.ind{color:var(--indigo)}

.es-grid{
  display:grid;grid-template-columns:1fr;gap:14px;margin-top:18px;
}
@media(min-width:720px){.es-grid{grid-template-columns:1fr 1fr}}

.es-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px 16px;
  display:flex;flex-direction:column;gap:0;text-decoration:none;color:inherit;
  transition:border-color .12s,box-shadow .12s;
}
@media(min-width:560px){.es-card{padding:20px}}
.es-card:hover{
  border-color:var(--indigo-line);box-shadow:0 10px 28px -16px rgba(61,72,216,.28);
  text-decoration:none;color:inherit;
}
.es-card-top{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
}
.es-badge{
  font-size:11px;font-weight:800;color:#fff;padding:4px 11px;border-radius:999px;white-space:nowrap;
}
.es-badge.pass{background:var(--ok)}
.es-badge.fail{background:var(--fail)}
.es-type{
  font-size:10.5px;font-weight:700;color:var(--faint);background:#f1f2f6;
  padding:3px 9px;border-radius:999px;white-space:nowrap;
}
.es-mid{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:var(--bg);border-radius:13px;padding:14px 16px;margin-top:12px;
}
.es-mid .title{font-size:16px;font-weight:900;color:var(--text);line-height:1.3}
.es-mid .meta{font-size:11.5px;color:var(--faint);margin-top:3px;font-weight:600}
.es-ring{
  width:64px;height:64px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.es-ring > i{
  width:48px;height:48px;border-radius:50%;background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  line-height:1.1;font-style:normal;
}
.es-ring .sc{font-size:13px;font-weight:900}
.es-ring .un{font-size:8.5px;font-weight:700;color:var(--faint)}

.es-cta{
  width:100%;margin-top:12px;border:0;border-radius:11px;padding:12px;
  font-weight:800;font-size:13px;cursor:pointer;white-space:nowrap;font-family:inherit;
  text-align:center;text-decoration:none;display:block;
}
.es-cta.primary{background:var(--indigo);color:#fff}
.es-cta.primary:hover{filter:brightness(1.04);color:#fff;text-decoration:none}
.es-cta.soft{
  border:1px solid var(--indigo-line);background:var(--indigo-soft);color:var(--indigo-deep);
}
.es-cta.soft:hover{filter:brightness(.98);color:var(--indigo-deep);text-decoration:none}

.es-more-wrap{text-align:center;margin-top:18px}
.es-more{
  display:inline-block;border:1px solid var(--border-soft);background:#fff;color:var(--sub);
  font-weight:700;font-size:12.5px;padding:10px 24px;border-radius:999px;cursor:pointer;
  white-space:nowrap;
}
.es-more:hover{border-color:#d0d4e0;color:var(--text)}
.es-more[hidden]{display:none !important}

.es-empty{
  text-align:center;padding:48px 20px;background:#fff;border:1px solid var(--border);
  border-radius:16px;margin-top:18px;
}
.es-empty b{display:block;font-size:15px;font-weight:900;color:var(--text);margin-bottom:8px}
.es-empty p{margin:0;font-size:13.5px;color:var(--faint);font-weight:600;line-height:1.5}
.es-empty a{
  display:inline-block;margin-top:16px;background:var(--indigo);color:#fff;
  font-weight:800;font-size:13.5px;padding:12px 20px;border-radius:12px;text-decoration:none;
}
.es-empty a:hover{filter:brightness(1.04);color:#fff}

.es-empty-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}
.es-empty-acts a{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 16px;border-radius:11px;font-size:13.5px;font-weight:800;text-decoration:none;
}
.es-empty-acts a.primary{background:#4d5bf0;color:#fff}
.es-empty-acts a.primary:hover{color:#fff;filter:brightness(1.05)}
.es-empty-acts a.ghost{background:#fff;color:#1B1F2E;border:1px solid #e2e4ee}
.es-empty-acts a.ghost:hover{border-color:#c9d2ff;color:#4d5bf0}
