/* Shared applicant menu on the home and application pages */
.application-choice .application-buttons, nav.document-tabs {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
.application-choice .application-buttons a, nav.document-tabs a,
nav.document-tabs a.paid-menu, nav.document-tabs a[aria-current="page"] {
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 min-height:50px;padding:12px 10px;border:1px solid #573b2a;border-radius:7px;
 background:#573b2a;color:#fffdf9;font-size:14px;font-weight:700;text-align:center;text-decoration:none;
}
.application-choice .application-buttons a:hover, nav.document-tabs a:hover {background:#402a1e}
nav.document-tabs a[aria-current="page"] {box-shadow:inset 0 0 0 2px #dfc5ab}
.application-choice .application-buttons a:focus-visible, nav.document-tabs a:focus-visible {outline:3px solid #99714e;outline-offset:3px}
nav.document-tabs[hidden]{display:none}

main:has(.document-tabs) #lookup-intro {margin-block:12px 24px}
main:has(.document-tabs) #manual-links {margin-block:16px 28px}
.issuance-notice h2 {margin:0 0 12px;font-size:1.1rem}
.issuance-notice p {margin:0;line-height:1.65}
.issuance-notice p + p {margin-top:12px;padding-top:12px;border-top:1px solid #cfc1b0}
.issuance-notice p strong {display:block;color:#493121}
.issuance-notice + #account {margin-top:28px}

#catalog.faq, #qualification-options.faq {
 border-top-color:rgba(100,75,49,.23);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.78);
}
header nav a, header nav a:visited, .application-submenu > a, .application-submenu > a.paid-menu,
main .primary, main button:not(.quiet):not(.person-link):not(:disabled) {
 background-color:#573b2a;color:#fffdf9;border-color:#573b2a;font-weight:700;
}
header nav a:hover,.application-submenu > a:hover,main .primary:hover,
main button:not(.quiet):not(.person-link):not(:disabled):hover {background-color:#402a1e;color:#fffdf9}

/* Preserve the instructor action color, including previously visited links. */
header nav a.nav-instructor,
header nav a.nav-instructor:visited {
 background-color:#1f4d3a;border-color:#1f4d3a;color:#fff;
}
header nav a.nav-instructor:hover,
header nav a.nav-instructor:visited:hover {
 background-color:#16392b;border-color:#16392b;color:#fff;
}
header nav a.nav-instructor:focus-visible {outline:3px solid #7fb89a;outline-offset:3px}

#qualification-options article.card {
 display:flex;flex-direction:column;align-items:stretch;
}
#qualification-options article.card .primary {
 margin-top:auto;display:block;text-align:center;box-sizing:border-box;
}
#qualification-options > .note, #research-career {
 border:1px solid #ded3c3;border-radius:12px;background:#fffcf7;
 box-shadow:0 3px 9px rgba(77,55,34,.08),inset 0 1px 0 #fff;
}
#qualification-options > .note {margin:16px 0 0;padding:14px 18px;text-align:center;line-height:1.7}
#research-career {margin-top:18px;padding:clamp(18px,3vw,30px);box-sizing:border-box}
#research-career h2 {margin-top:0}
#research-career p:last-child {margin-bottom:0}
#qualification-options article.card h3,#qualification-options article.card ul,#research-career {text-align:left}
#qualification-options article.card ul {padding-inline-start:1.2em;margin:0 0 1.25rem}
#qualification-options article.card li + li {margin-top:.45em}
#research-career p {margin:.45em 0;word-break:keep-all;overflow-wrap:anywhere}

.faq-panel {margin-top:46px;padding:clamp(18px,3vw,30px);border:1px solid #e4dbcd;border-radius:16px;background:#f0e6d8}
.faq-panel > .faq:first-child {margin-top:0;padding-top:0;border-top:0}

.faq-panel #faq {color:#285c40}

.faq-panel :is(#education-guide,#issuance-faq) {margin-top:24px;padding-top:16px}
.faq-panel details {padding:0;border-bottom:0}
.faq-panel summary {padding:6px 0;line-height:1.45}
.faq-panel details p {margin:2px 0 8px;line-height:1.55}
.certificate-option-notice {
  width: fit-content;
  box-sizing: border-box;
  max-width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  background-color: #573b29;
  color: #fff;
  line-height: 1.5;
}

/* 2026-11-26 대표 요청: 신청자 화면 행간·여백을 줄여 짧게 보이게 한다. */
#account, .issuance-notice {line-height:1.5}
#account p, .issuance-notice p {margin:.3em 0}
#account label {margin:10px 0}
#account h2 {margin:18px 0 8px}
.issuance-notice.callout {padding:0 14px}
.issuance-notice.callout > summary {font-size:1rem}
.issuance-notice p + p {margin-top:8px;padding-top:8px}
#profile-fold {margin-top:8px}
#account .course-disclosure > summary {padding:10px 0;min-height:0}
#account .course-disclosure[open] > summary {margin-bottom:8px}
#account .course-disclosure[open] {padding-bottom:10px}
