:root {
  /* 글자 굵기는 이 네 가지만 쓴다. 관리자 화면도 함께 쓰는 값이라 모든 영역이 불러오는 이 파일에 둔다. */
  --fw-display: 400; /* 홈 장면의 큰 제목 */
  --fw-body: 500;    /* 본문 */
  --fw-strong: 600;  /* 라벨, 탭, 보조 제목 */
  --fw-heading: 700; /* 제목, 버튼 */
  --input-border-hover: #78899e;
  --button-state-primary: #123862;
  --button-state-primary-hover: #0b2848;
  --button-state-hover-bg: #edf3fa;
  --button-state-hover-border: #78899e;
  --button-state-focus: #4c88ce;
  --button-state-danger: #b42318;
  --button-state-danger-bg: #fff1f1;
  --button-state-duration: 140ms;
}
:where(input, textarea, select) { transition: border-color 140ms ease; }
:is(button, [role="button"], .button-link, .button, .icon-button, .quick-link, .btn, .header-contact, .text-link, .insight-article-back, .login-back) {
  box-shadow: none;
  transition: background-color var(--button-state-duration) ease, border-color var(--button-state-duration) ease, color var(--button-state-duration) ease, opacity var(--button-state-duration) ease;
}
:is(button, [role="button"], .button-link, .button, .icon-button, .quick-link, .btn, .header-contact, .text-link, .insight-article-back, .login-back):focus-visible {
  outline: 2px solid var(--button-state-focus);
  outline-offset: 2px;
  box-shadow: none;
}
:is(button, [role="button"], .button-link, .button, .icon-button, .quick-link, .btn, .header-contact, .text-link, .insight-article-back, .login-back):focus:not(:focus-visible) { outline: none; }
:where(button, [role="button"], .button-link, .button, .icon-button, .btn):is(:disabled, [aria-disabled="true"]) { opacity: .45; }
:is(button, [role="button"], .button-link, .btn):is(:disabled, [aria-disabled="true"]) { cursor: default; }
:is(button, [role="button"], .button-link, .btn)[aria-busy="true"] { cursor: wait; }
:is(.site-header, .site-footer) { --button-state-focus: #2076c3; }
.insight-filters, .insight-pagination { --button-state-focus: #16181c; }
@media (prefers-reduced-motion: reduce) {
  :is(button, [role="button"], .button-link, .button, .icon-button, .quick-link, .btn, .header-contact, .text-link, .insight-article-back, .login-back) { transition: none; }
}
#app-root, .react-app { display: contents; }
.app-route-pending #app-root { visibility: hidden; }
.route-loading { display: grid; min-height: 70svh; place-content: center; justify-items: center; gap: 14px; padding: 40px 24px; color: var(--button-state-primary); font: 500 16px/1.6 Pretendard, sans-serif; }
.route-loading::before { width: 28px; height: 28px; border: 3px solid #d9e2ec; border-top-color: var(--button-state-primary); border-radius: 50%; content: ''; animation: route-loading-spin .8s linear infinite; }
@keyframes route-loading-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .route-loading::before { animation-duration: 2.4s; } }
.not-found { display: grid; min-height: 100svh; justify-items: center; align-content: center; gap: 24px; padding: 40px 24px; text-align: center; }
.not-found .brand { margin-bottom: 12px; }
.not-found .brand img { width: 148px; height: auto; }
.not-found h1 { font-size: clamp(28px, 4vw, 44px); font-weight: var(--fw-heading); word-break: keep-all; }
.not-found p { font-size: 16px; color: var(--muted, #3f4c5e); }
