:root {
  font-family: Pretendard, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-synthesis: none;
  color: #172c3c;
  background: #f7fafc;
  --blue: #005596;
  --muted: #536877;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus-visible { color: #003860; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #c38d00; outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1 { margin: 10px 0 16px; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.3; letter-spacing: -.04em; }
h2 { font-size: 22px; line-height: 1.5; letter-spacing: -.025em; }
h3 { font-size: 19px; font-weight: 650; line-height: 1.5; letter-spacing: -.02em; color: var(--blue); }
.skip { position: fixed; z-index: 20; top: -100px; left: 16px; padding: 12px; background: white; }
.skip:focus { top: 10px; }
header { background: white; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1160px; margin: auto; padding: 25px 36px; }
.brand { display: flex; align-items: center; gap: 24px; color: #233f53; }
.brand img { width: 185px; height: auto; }
.brand span { font-size: .9rem; font-weight: 650; }
nav { display: flex; align-items: center; gap: 24px; }
nav a, nav button { font-size: .95rem; font-weight: 650; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
nav button { min-height: 44px; border: 0; border-radius: 6px; padding: 9px 16px; background: #eaf2f7; color: var(--blue); }
nav button:hover { background: #dceaf3; }
main { max-width: 1160px; min-height: 75vh; margin: auto; padding: 40px 36px 80px; }
.eyebrow { font-size: .9rem; font-weight: 750; color: var(--blue); }
.intro { max-width: 740px; font-size: 1.06rem; color: #3e5667; }
.muted, .file-meta { font-size: .9rem; color: var(--muted); }
.page-heading { padding: 20px 0 32px; }
#updated-at { margin-top: 20px; }
.date-card { margin-bottom: 28px; padding: 36px; border-radius: 14px; background: white; overflow-wrap: anywhere; }
.record-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 20px; }
.record-date { font-size: 19px; font-weight: 650; color: var(--blue); }
.record-summary { margin-top: 20px; max-width: 920px; color: #3e5667; white-space: pre-line; }
.status-section, .update-group, .record-files { margin-top: 48px; }
.status-section > h3, .update-group > h3, .record-files > h3 { margin-bottom: 16px; padding: 14px 18px; border-radius: 6px; background: #173e59; color: #fff; }
.status-items { display: grid; gap: 8px; }
.status-item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0; background: #f5f8fa; border-radius: 6px; overflow: hidden; }
.status-item dt { padding: 18px; background: #e9f0f5; font-size: 16px; font-weight: 650; line-height: 1.75; }
.status-item dd { padding: 18px 22px; margin-top: 0; font-size: 16px; line-height: 1.75; color: #354f61; white-space: pre-line; }
.status-item dt[hidden] + dd { grid-column: 1 / -1; }
.status-label { display: block; margin: 6px 0 0; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--muted); }
.status-label:first-child { margin-left: 0; }
.update-group ul { margin: 0; padding-left: 22px; }
.update-group li + li { margin-top: 10px; }
.files-list { display: grid; gap: 28px; }
.file { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.file-info { flex: 1; min-width: 0; }
.file-title { display: block; font-size: 16px; font-weight: 600; }
.file-info p { margin-top: 5px; }
.file-meta { overflow-wrap: anywhere; }
.file-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 14px; border-radius: 6px; background: #edf4f8; font-size: .9rem; font-weight: 650; }
.file-link:hover { background: #dcecf6; }
.file audio { display: block; width: 100%; height: 44px; margin-top: 4px; }
.term-explainer { white-space: nowrap; }
.term-trigger { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -10px -3px -10px -5px; padding: 0; vertical-align: middle; border: 0; border-radius: 50%; background: transparent; color: #315977; font-size: 13px; font-weight: 650; line-height: 1; isolation: isolate; }
/* The visual mark stays small inside the full 44px button target. */
.term-trigger::before { content: ''; position: absolute; z-index: -1; width: 24px; height: 24px; border-radius: 50%; background: #eaf2f7; }
.term-trigger:hover, .term-trigger[aria-describedby] { color: #003860; }
.term-trigger:hover::before, .term-trigger[aria-describedby]::before { background: #cfe3f0; }
.term-tooltip { position: fixed; z-index: 50; width: max-content; max-width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 16px 18px; border-radius: 8px; background: #173e59; color: white; font-size: 15px; font-weight: 400; line-height: 1.7; overflow-wrap: anywhere; white-space: normal; box-shadow: 0 5px 18px #173e5926; }
.term-tooltip strong { font-size: 15px; font-weight: 650; }
.term-tooltip p { margin-top: 6px; white-space: pre-line; }
.login-panel { max-width: 430px; margin: 5vh auto 12vh; }
.login-panel form { display: grid; gap: 10px; margin-top: 32px; }
.login-panel label { margin-top: 12px; font-weight: 650; }
.login-panel input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #8c9faa; border-radius: 6px; background: white; }
.primary { min-height: 48px; margin-top: 12px; border: 0; border-radius: 6px; background: var(--blue); color: white; font-weight: 700; }
.primary:hover { background: #004678; }
.error { min-height: 1.6em; margin-top: 6px; font-size: .94rem; color: #a12e24; }
.retry { display: block; margin-top: 16px; padding: 10px 16px; border: 1px solid var(--blue); border-radius: 6px; background: white; color: var(--blue); }
footer { max-width: 1160px; margin: auto; padding: 24px 36px 40px; font-size: .85rem; color: var(--muted); }
@media (max-width: 700px) {
  .header-inner { align-items: flex-start; gap: 20px; padding: 20px; }
  .brand { display: block; }
  .brand img { width: 150px; }
  .brand span { display: block; margin-top: 6px; font-size: .78rem; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 12px; }
  nav a, nav button { font-size: .86rem; }
  nav button { padding: 8px 10px; }
  main { padding: 26px 20px 56px; }
  .page-heading { padding-top: 8px; }
  .date-card { padding: 26px 20px; }
  .record-heading { gap: 8px; }
  .record-date { width: 100%; }
  .record-heading h2 { font-size: 20px; }
  .status-item { grid-template-columns: 1fr; gap: 0; }
  .status-item dt { padding: 12px 16px; }
  .status-item dd { padding: 16px; }
  .file { align-items: flex-start; }
  .file-info { flex-basis: 100%; }
  .login-panel { margin: 4vh auto 10vh; }
  footer { padding: 24px 20px; }
}
@media (max-width: 380px) {
  .header-inner, main { padding-left: 16px; padding-right: 16px; }
  .brand img { width: 132px; }
  .date-card { padding-left: 16px; padding-right: 16px; }
}

.record-nav{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:24px 0 0}.record-nav a{display:flex;align-items:center;min-height:44px;padding:8px 13px;border-radius:6px;background:#e7f0f7;color:#154b6d;font-size:14px;font-weight:600}.record-nav a:hover{background:#d4e5f1}.status-section{scroll-margin-top:20px}

.term-help-line{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-top:12px;white-space:normal}.term-help-label{font-size:12px;color:var(--muted);margin-right:2px}.term-help-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 10px;border:0;border-radius:5px;background:#e4edf4;color:#235775;font-size:13px;font-weight:500;line-height:1.5}.term-help-button:hover,.term-help-button[aria-describedby]{background:#cfe1ed;color:#163e59}@media(pointer:coarse){.term-help-button{min-height:44px}}
