:root {
    color-scheme: light;
    font: 14px/1.55 "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    color: #192d38;
    background: #f6f8f9;
    --ink: #152e3a;
    --green: #07675d;
    --line: #d8e1e3;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button, input, select { border: 1px solid #b5c5c9; border-radius: 5px; padding: .55rem .8rem; background: white; color: inherit; }
button { cursor: pointer; font-weight: 600; }
button:hover { background: #eff5f3; }
button.primary { color: white; background: var(--green); border-color: var(--green); }
button.primary:hover { background: #05554d; }
:focus-visible { outline: 3px solid #1d9dba; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 3; padding: .6rem; background: white; }
.shell { display: grid; grid-template-columns: 218px minmax(0,1fr); min-height: 100vh; }
.rail { background: var(--ink); color: #fff; padding: 29px 15px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: inherit; letter-spacing: -.055em; }
a.brand:hover { text-decoration: none; }
.rail .brand { padding: 0 9px 30px; }
.brand b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: #a4e6ca; color: #173b35; font: bold 21px/1 Arial,sans-serif; }
.brand small { font-size: 12px; font-weight: 500; margin-left: 3px; color: #b4c8cf; }
.rail nav a { display: block; border-radius: 5px; padding: 10px 13px; font-weight: 500; color: #f1f6f8; }
.rail nav a:hover { background: #254450; text-decoration: none; }
.rail nav a[aria-current] { background: #2c5056; color: #c8f9df; box-shadow: inset 3px 0 #9fe2c6; }
.nav-group { margin-top: 24px; }
.nav-group strong { display: block; font-weight: 500; color: #b0c6cd; font-size: 12px; padding: 0 13px 5px; }
main { min-width: 0; }
.account { height: 57px; display: flex; align-items: center; justify-content: flex-end; gap: 15px; padding-inline: clamp(18px,4vw,58px); background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; }
.text-button { padding: .25rem .55rem; font-size: 12px; }
.page { max-width: 1530px; padding: 33px clamp(18px,4vw,58px) 64px; margin: auto; }
.page-head, .panel header { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.page-head { margin-bottom: 23px; }
h1, h2, p, dl, dd { margin: 0; }
h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.35; letter-spacing: -.07em; }
h2 { font-size: 17px; line-height: 1.4; letter-spacing: -.045em; }
h2 span { margin-left: .5em; font-size: 13px; font-weight: 500; color: #516771; }
.sub, dt { color: #516771; }
.sub, .page-head a, .panel header a { font-size: 13px; }
.metrics, .columns { display: grid; gap: 18px; }
.metrics { grid-template-columns: repeat(3,1fr); margin-bottom: 22px; }
.metrics > div, .panel { border: 1px solid var(--line); border-radius: 8px; background: white; }
.metrics > div { padding: 18px 22px; }
.metrics dd { font-size: 31px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.metrics small { font-size: 13px; padding-left: 5px; color: #52656e; }
.columns { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.panel { min-width: 0; overflow: hidden; }
.panel header { padding: 19px 20px; border-bottom: 1px solid var(--line); }
.tools, .tools form, .facts, .pager { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tools { margin-bottom: 18px; gap: 12px; }
.tools form + form { margin-left: 12px; }
.tools label, .login label { font-weight: 600; }
.tools input[type=search] { width: min(280px, 100%); }
.facts { align-items: stretch; gap: 12px 26px; padding: 17px 20px; }
.facts dt { font-size: 12px; }
.facts dd { margin-top: 2px; font-weight: 600; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.members { min-width: 730px; }
.scores { min-width: 835px; }
th, td { padding: 11px 13px; border-bottom: 1px solid #e8edef; text-align: left; }
thead th { background: #f0f4f5; color: #48616b; font-size: 12px; font-weight: 600; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: #f7faf9; }
tbody th { font-weight: 600; }
.scores td, .scores thead th, .num { text-align: right; }
.scores thead th:nth-child(-n+3), .scores td:nth-child(-n+2) { text-align: left; }
.scores th[scope=row] { min-width: 135px; overflow-wrap: anywhere; }
.scores .cut > * { border-bottom: 2px solid #9bbdb4; }
.total { color: #075d53; font-weight: 700; }
.top { padding: 2px 6px; background: #e0f2eb; border-radius: 4px; color: #165b49; font: 700 10px/1.5 Arial,sans-serif; }
.notice, .empty { padding: 18px 20px; color: #516771; }
.notice { background: #faf7ec; }
.pager { justify-content: center; margin: 14px; }
.error { margin-block: 10px; color: #a42d31; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-form { width: min(390px,100%); background: white; border: 1px solid var(--line); padding: 32px; border-radius: 10px; }
.login .brand { margin-bottom: 25px; }
.login h1 { font-size: 24px; margin-bottom: 18px; }
.login form { display: grid; gap: 8px; }
.login label:not(:first-of-type), .login button { margin-top: 9px; }
@media(max-width: 930px) {
    .shell { grid-template-columns: 185px minmax(0,1fr); }
    .columns { grid-template-columns: 1fr; }
}
@media(max-width: 700px) {
    .shell { display: block; }
    .rail { padding: 13px 16px; }
    .rail .brand { padding: 0 0 10px; }
    .rail nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
    .rail nav a { padding: 7px; font-size: 13px; }
    .nav-group { margin: 0; }
    .nav-group strong { position: absolute; clip-path: inset(50%); }
    .account { height: 44px; }
    .page { padding: 21px 14px 45px; }
    .metrics { gap: 7px; }
    .metrics > div { padding: 12px 9px; }
    .metrics dt, .metrics small { font-size: 11px; }
    .metrics dd { font-size: 23px; }
    .tools form + form { margin-left: 0; }
    .tools form { flex-wrap: wrap; }
    .tools input[type=search] { width: min(185px,55vw); }
    th, td { padding: 9px; }
}
