:root {
  color-scheme: light;
  --navy: #122442;
  --navy-deep: #0d1b33;
  --ink: #172641;
  --muted: #52627c;
  --line: #e1e7f1;
  --background: #f4f7fb;
  --primary: #244b9a;
  --surface: #fff;
  --radius: 13px;
  font-family: "Pretendard", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  line-height: 1.55;
  font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); }
a { color: #244b9a; font-weight: 650; text-decoration: none; }
a:hover { text-decoration: underline; }
button, select, textarea, input { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px 13px; border: 1px solid #ccd7e8; border-radius: 8px; background: white; color: var(--ink); font-weight: 650; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #eff4fa; text-decoration: none; }
.primary { background: var(--primary); color: white; border-color: var(--primary); }
.primary:hover { background: #1c3c7e; }
:focus-visible { outline: 3px solid #5a83eb; outline-offset: 3px; }
.skip { position: fixed; z-index: 10; top: -100px; left: 12px; color: white; background: var(--navy); padding: 10px; }
.skip:focus { top: 10px; }
.sidebar { position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 226px; padding: 27px 16px; color: #eaf1ff; background: var(--navy-deep); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; letter-spacing: .02em; line-height: 1.08; }
.sidebar .brand { margin: 1px 10px 41px; }
.brand b { display: block; font-size: 23px; }
.brand small { display: block; margin-top: 5px; color: #b1c3e4; font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; background: #3863bc; font-size: 23px; font-weight: 800; color: #fff; }
nav { display: grid; gap: 5px; }
nav a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; color: #c2cfe4; border-radius: 8px; font-size: 14px; }
nav a span { color: #a9bde5; width: 18px; text-align: center; font-size: 18px; }
nav a:hover, nav a.selected { background: #203761; color: white; text-decoration: none; }
.sidebar-footer { color: #b5c4de; margin: auto 9px 2px; border-top: 1px solid #314261; padding-top: 18px; font-size: 12px; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #82c3a9; }
.workspace { margin-left: 226px; }
.topbar { height: 67px; padding: 0 34px; border-bottom: 1px solid var(--line); background: white; display: flex; justify-content: space-between; align-items: center; color: #445471; }
.top-divider { color: #79859a; padding: 0 6px; }
.account { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 650; }
.account small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.avatar { background: #e9f0fc; color: #2a4d8a; border-radius: 50%; display: grid; place-items: center; width: 34px; height: 34px; }
.text-button { padding: 5px 7px; background: transparent; border: none; color: var(--muted); font-size: 12px; }
main { max-width: 1450px; margin: auto; padding: 29px 34px 45px; }
.heading { display: flex; gap: 16px; align-items: end; justify-content: space-between; margin: 0 0 22px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 5px; font-size: clamp(26px, 3.1vw, 34px); line-height: 1.25; letter-spacing: -.045em; }
h2 { margin-bottom: 12px; font-size: 18px; letter-spacing: -.025em; }
.heading p { margin: 0; color: var(--muted); }
.toolbar, .panel-header, .form-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar label { color: var(--muted); font-size: 13px; }
select, textarea, input:not([type=checkbox]):not([type=hidden]) { max-width: 100%; min-height: 38px; border: 1px solid #cbd6e7; border-radius: 8px; padding: 7px 10px; background: white; color: var(--ink); }
textarea { width: 100%; min-width: 115px; resize: vertical; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.metrics article, .panel { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 2px 5px #17264106; min-width: 0; }
.metrics article { padding: 16px 20px; }
.metrics article > span { color: var(--muted); }
.metrics strong { display: block; margin-top: 4px; font-size: 29px; letter-spacing: -.03em; }
.metrics small { margin-left: 4px; font-size: 13px; color: var(--muted); font-weight: 500; }
.panel { margin-bottom: 16px; }
.panel-header { justify-content: space-between; padding: 15px 20px; }
.panel-header h2 { margin: 0; }
.progress-panel { padding: 15px 20px; }
.progress-panel .panel-header, .compact .panel-header { padding: 0 0 9px; }
.progress-panel strong { color: #244b9a; }
progress { width: 100%; height: 8px; border: 0; border-radius: 9px; overflow: hidden; background: #e7eef9; accent-color: #3c62ad; }
progress::-webkit-progress-bar { background: #e7eef9; }
progress::-webkit-progress-value { background: #3c62ad; }
progress::-moz-progress-bar { background: #3c62ad; }
.department-progress { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.department-progress div { display: flex; min-width: 150px; flex: 1; gap: 8px; align-items: center; }
.department-progress span, .department-progress small { white-space: nowrap; color: var(--muted); }
.department-progress progress { height: 5px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
tr > :first-child { padding-left: 20px; }
tr > :last-child { padding-right: 20px; }
thead th { background: #f6f8fc; color: #475972; font-size: 12px; }
tbody tr:hover { background: #fafcff; }
.empty { text-align: center; padding: 26px; }
.block { display: block; }
.muted { color: var(--muted); font-weight: 400; }
.status { display: inline-block; white-space: nowrap; vertical-align: middle; padding: 3px 9px; border-radius: 20px; font-size: 12px; font-weight: 700; color: #465876; background: #edf1f8; }
.status.lead, .status.ceo { color: #284f9a; background: #e8effd; }
.status.ready, .status.approved { color: #684705; background: #fff1d2; }
.status.published, .status.closed { color: #1d614d; background: #e4f3eb; }
.notice { padding: 10px 14px; margin: 0 0 14px; border-radius: 8px; }
.notice ul { margin: 0; padding-left: 20px; }
.success { color: #17553d; background: #e7f6ee; }
.submission-complete { border-left: 4px solid #318565; background: #f2f9f5; }
.submission-complete h2 { color: #17553d; }
.submission-complete p { margin-bottom: 6px; }
.submission-complete .button { margin-top: 6px; }
.notice.error a { color: inherit; text-decoration: underline; }
.notice.error p { margin: 5px 0; }
.field-error { display: block; margin-top: 4px; color: #841e32; }
.review-form [aria-invalid="true"] { border-color: #ad4357; }
.error, .errorlist { color: #841e32; }
.error { background: #fcecf0; }
.compact { padding: 18px 20px; }
.back { display: inline-block; margin-bottom: 12px; }
.facts { display: grid; gap: 7px; margin: 10px 0; }
.facts div { display: grid; grid-template-columns: 105px 1fr; gap: 8px; }
dt { color: #4b5c77; }
dd { margin: 0; overflow-wrap: anywhere; }
.result { border-left: 3px solid #3f63ac; }
.score-line { display: flex; align-items: center; gap: 12px; margin: 9px 0; }
.score-line strong { font-size: 27px; }
.result-areas { display: flex; flex-wrap: wrap; gap: 10px; }
.result-areas div { background: #eef3fa; min-width: 96px; padding: 7px 11px; border-radius: 7px; }
.result-areas dd { font-weight: 700; }
.feedback, .followup { border-top: 1px solid var(--line); padding-top: 8px; overflow-wrap: anywhere; }
.followup p { margin: 5px 0 8px; }
.area th { background: #f1f5fb; color: #294675; }
select.missing { color: #744d10; background: #fff9eb; }
.review-form th { min-width: 170px; }
.review-form td:nth-child(2) { white-space: nowrap; }
.review-form td:nth-child(4) { width: 39%; }
.form-actions { justify-content: flex-end; margin-top: 12px; }
.memo-grid, .management-grid, .action-grid { display: grid; gap: 13px; grid-template-columns: 1fr 1fr; }
.memo-grid { margin-top: 14px; }
.action-grid form { display: grid; justify-items: start; align-content: start; gap: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
label { font-weight: 600; }
.checkbox { display: flex; gap: 4px; align-items: center; }
.management-grid form p { display: grid; gap: 3px; margin: 9px 0; }
.management-grid .code-line { overflow-wrap: anywhere; }
.row-actions { display: inline-flex; gap: 5px; margin-left: 8px; flex-wrap: wrap; }
summary { cursor: pointer; font-weight: 650; }
details .table-wrap { margin-top: 10px; }
.print-guide { margin-bottom: 11px; }
.print-sheet { max-width: 830px; margin-inline: auto; }
.print-sheet h1 { margin-bottom: 14px; }
.public .workspace { margin: 0; }
.public main { min-height: 100vh; display: grid; place-items: center; }
.login-shell { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 435px; width: min(780px, 100%); border: 1px solid var(--line); border-radius: 19px; overflow: hidden; box-shadow: 0 20px 55px #1f365019; background: white; }
.login-brand { background: radial-gradient(ellipse at top right, #254778, var(--navy-deep) 65%); padding: 32px; color: white; display: flex; gap: 25px; flex-direction: column; justify-content: space-between; }
.login-brand h1 { font-size: 39px; }
.login-brand p { color: #c5d6f5; margin-bottom: 4px; }
.login-foot { font-size: 13px; }
.login-form { padding: 38px 30px; align-self: center; }
.login-form form { display: grid; gap: 8px; }
.login-form form button { margin-top: 8px; }
.login-form details { margin-top: 15px; color: var(--muted); }
@media (max-width: 950px) {
  .sidebar { width: 180px; }
  .workspace { margin-left: 180px; }
  .topbar, main { padding-left: 20px; padding-right: 20px; }
  .metrics article { padding: 12px; }
}
@media (max-width: 690px) {
  .sidebar { position: static; width: 100%; padding: 10px 14px; }
  .sidebar .brand { display: none; }
  .sidebar-footer { display: none; }
  nav { display: flex; flex-wrap: wrap; }
  nav a { padding: 5px 8px; font-size: 12px; }
  nav a span { display: none; }
  .workspace { margin: 0; }
  .topbar { height: auto; min-height: 53px; gap: 7px; flex-wrap: wrap; }
  .heading { align-items: start; flex-direction: column; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .management-grid, .action-grid, .memo-grid, .login-shell { grid-template-columns: 1fr; }
  .login-brand { gap: 9px; padding: 20px; }
  .login-brand h1 { font-size: 25px; }
}
@media print {
  @page { size: A4; margin: 15mm; }
  .sidebar, .topbar, .print-guide, .skip { display: none; }
  body, main, .workspace { margin: 0; padding: 0; background: white; }
  .print-sheet { border: 0; box-shadow: none; padding: 0; color: #000; }
  .print-sheet .facts div, .result-areas div { break-inside: avoid; }
}



fieldset { margin: 0 0 16px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
legend { color: var(--ink); font-weight: 700; padding: 0 5px; }
.appeal-fields { display: grid; gap: 12px; margin: 12px 0; }
caption { text-align: left; padding: 10px 0; font-weight: 700; }
.status.peer { color: #284f9a; background: #e8effd; }
.status.provisional { color: #684705; background: #fff1d2; }
.status.final { color: #1d614d; background: #e4f3eb; }

.score-comparison { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 8px; }
.score-card { background: #f5f7fa; border: 1px solid var(--line); border-radius: 10px; padding: 12px 15px; }
.score-card dt { font-weight: 650; overflow-wrap: anywhere; }
.score-card dt small { color: var(--muted); font-weight: 400; }
.score-card .score-line, .self-score-line { min-height: 38px; margin: 4px 0 0; }
.self-score-line { display: flex; align-items: center; }
.self-score-line strong { font-size: 27px; }
.official-score { background: #edf3ff; border-color: #d7e2f6; }
@media (max-width: 460px) { .score-comparison { grid-template-columns: 1fr; } }
@media print { .score-comparison { break-inside: avoid; } }

.score-points { white-space: nowrap; font-variant-numeric: tabular-nums; }
.review-total { background: #edf3ff; }

.criterion-name, .criterion-guide {
  display: block;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.criterion-name { font-weight: 600; }
.criterion-guide { color: var(--muted); font-weight: 400; }



