@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --canvas: #ffffff;
  --surface-soft: #f4f4f4;
  --surface-lavender: #fff6ee;
  --surface-sky: #fef0e5;
  --surface-sky-strong: #ffd7b2;
  --surface-page: #ffffff;
  --surface-hero: #fef0e5;
  --surface-card: #ffffff;
  --ink-deep: #251e1c;
  --ink: #333333;
  --muted: #555555;
  --hairline: #d9d1ca;
  --primary: #ff7224;
  --primary-deep: #904d27;
  --tab-sky: #904d27;
  --tab-sky-deep: #733410;
  --teal: #ff9e16;
  --green: #ff7224;
  --purple: #904d27;
  --warning: #ff9e16;
  --critical: #d84b3e;
  --shadow: 0 16px 42px rgba(37, 30, 28, 0.14);
  --shadow-soft: 0 8px 24px rgba(37, 30, 28, 0.08);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 1240px;
  --display-font: "Paperozi", Pretendard, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--primary-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 209, 202, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  color: var(--ink-deep);
  text-decoration: none;
}

.brand-copy {
  color: var(--ink-deep);
  font-size: 1.03rem;
  font-weight: 950;
  white-space: nowrap;
}

.top-nav,
.tab-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  color: var(--ink-deep);
  background: #fff;
  border-radius: 999px;
  padding: 10px 17px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav-link:hover,
.tab-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 114, 36, 0.42);
}

.nav-link.is-active,
.tab-button.is-active {
  background: var(--ink-deep);
  color: #fff;
  border-color: var(--ink-deep);
}

.hero {
  position: relative;
  width: 100%;
  padding-bottom: 80px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 20%, transparent 20% 100%),
    var(--surface-hero);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 760px;
  padding: 58px 0 120px;
  display: flex;
  align-items: flex-start;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -6%;
  display: block;
  width: 560px;
  height: 250px;
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(255, 158, 22, 0.16) 44% 47%, transparent 47% 100%),
    linear-gradient(135deg, transparent 0 62%, rgba(144, 77, 39, 0.1) 62% 64%, transparent 64% 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  min-width: 0;
  transform: none;
  padding-left: 0;
}

.hero .organizer {
  display: inline-flex;
}

.organizer {
  width: min(420px, 100%);
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 22px;
  min-height: 84px;
  padding: 18px 36px;
  color: #fff;
  background: var(--teal);
  border: 0;
  border-radius: 60px;
  font-family: var(--display-font);
  font-size: 2.1rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--display-font);
  font-size: clamp(3rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 700;
  text-shadow: none;
}

.headline-line {
  display: inline-block;
  white-space: nowrap;
}

.headline-title {
  display: block;
  white-space: nowrap;
}

.hero h1 strong {
  color: var(--primary);
  font: inherit;
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero-desc {
  display: none;
  max-width: none;
  margin: 14px 0 0;
  color: #444444;
  font-size: 0.98rem;
  font-weight: 750;
  white-space: nowrap;
}

.hero-actions {
  display: none;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-action,
.secondary-action,
.text-action {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 26px;
  border: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.primary-action {
  color: #fff;
  background: var(--primary-deep);
  box-shadow: none;
}

.primary-action:hover {
  background: var(--tab-sky-deep);
}

.primary-action:disabled,
.primary-action[disabled] {
  background: #d7d0c9;
  color: #f8f5f1;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.secondary-action {
  color: var(--ink-deep);
  background: #fbfdff;
  border: 2px solid rgba(37, 30, 28, 0.16);
}

.text-action {
  color: var(--muted);
  background: transparent;
}

.text-action.danger {
  color: var(--critical);
}

.primary-action.full {
  width: 100%;
  margin-top: 18px;
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 48px 0 0;
}

.hero-facts div {
  min-width: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-facts div::before {
  content: none;
}

.hero-facts div:first-child {
  grid-template-columns: 220px max-content;
}

.hero-facts div:nth-child(2) {
  grid-template-columns: 220px max-content;
}

.hero-facts div:nth-child(3) {
  align-items: flex-start;
  grid-template-columns: 220px max-content;
}

.hero-facts dt {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--teal);
  border-radius: 5px;
  font-family: var(--display-font);
  font-size: 1.708rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-facts dt::after {
  content: none;
}

.hero-facts dd {
  margin: 0;
  color: #121212;
  font-size: 1.666rem;
  font-weight: 500;
  line-height: 1.35;
  word-break: keep-all;
}

.hero-facts div:nth-child(2) dd {
  white-space: nowrap;
}

.hero-facts div:first-child dd {
  white-space: nowrap;
}

.hero-facts div:nth-child(3) dd {
  position: relative;
  padding-top: 0;
}

/* 공모 방법의 점 목록을 라벨('공모 방법') 세로 중앙에 맞춰 위로 당긴다. */
.hero-facts div:nth-child(3) .hero-method-list {
  position: relative;
  top: -13px;
}

.hero-method-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 상위 항목의 동그라미 점을 같은 세로선에 맞춰 일렬로 정렬한다. */
.hero-method-list > li {
  position: relative;
  margin: 0.18em 0;
  padding-left: 1.05em;
}

.hero-method-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: currentColor;
  border-radius: 50%;
}

.hero-method-list > li:first-child {
  white-space: nowrap;
}

.hero-method-list ul {
  margin: 0.12em 0 0;
  padding-left: 1.2em;
  list-style-type: disclosure-closed;
}

/* '(합계 500MB까지 첨부 가능)' 문구를 아랫줄로 내리고 한 칸 띄워 배경 이미지에 가려지지 않게 한다. */
.attach-note {
  display: inline-block;
  margin-top: 0.35em;
}

.hero-art {
  position: absolute;
  left: calc((100% - min(1240px, 100% - 40px)) / 2 + min(1240px, 100% - 40px) * 0.52);
  right: calc((100% - min(1240px, 100% - 40px)) / 2);
  bottom: 0;
  top: 0;
  z-index: 0;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  border: 0;
}

.hero-art img {
  width: min(100%, 520px);
  max-width: 520px;
  height: auto;
  transform: translate(38px, 0);
  display: block;
}

.tabs-band {
  width: min(var(--max), calc(100% - 40px));
  margin: -80px auto 0;
  position: relative;
  z-index: 5;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: transparent;
  padding: 0;
  border-radius: 4px 4px 0 0;
  border: 0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.14);
  gap: 1px;
  overflow: visible;
}

.tab-button {
  min-height: 80px;
  justify-content: center;
  border: 0;
  border-radius: 4px 4px 0 0;
  background: var(--tab-sky);
  color: #fff;
  font-family: var(--display-font);
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: none;
}

.tab-button:hover {
  transform: none;
  background: var(--tab-sky-deep);
  border-color: rgba(255, 255, 255, 0.38);
}

.tab-button.is-active {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.page-panel {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 72px;
  padding-top: 40px;
}

.content-grid,
.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.notice-main,
.deadline-panel,
.topic-section,
.info-columns article,
.contact-strip,
.legacy-guide,
.form-shell,
.check-layout > div,
.check-result,
.admin-shell {
  background: var(--surface-card);
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}

.notice-main,
.deadline-panel,
.topic-section,
.info-columns article,
.legacy-guide,
.form-shell,
.check-layout > div,
.check-result,
.admin-shell {
  padding: 30px;
}

.notice-main h2,
.topic-section h2,
.legacy-guide > h2,
.section-heading h2,
.admin-shell h2 {
  margin: 0 0 22px;
  color: #000;
  font-family: var(--display-font);
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 900;
}

.legacy-guide > h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0;
  border-bottom: 0;
  z-index: 0;
}

.legacy-guide > h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 12px;
  background: rgba(255, 182, 120, 0.5);
  z-index: -1;
}

.overview-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.overview-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.overview-quick div {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  padding: 16px;
  background: var(--surface-soft);
  border: 0;
  border-radius: 2px;
}

.overview-quick strong,
.overview-quick span:not(.quick-icon) {
  min-width: 0;
}

.overview-quick strong {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 900;
}

.overview-quick span:not(.quick-icon) {
  grid-column: 2;
  color: var(--ink-deep);
  font-weight: 700;
}

.quick-icon {
  grid-row: 1 / span 2;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 5px;
  background: var(--primary);
  box-shadow: none;
}

.quick-icon::before,
.quick-icon::after {
  content: "";
  position: absolute;
  background: #fff;
}

.quick-deadline {
  background: var(--primary);
}

.quick-deadline::before {
  left: 9px;
  top: 10px;
  width: 20px;
  height: 18px;
  border-radius: 5px;
  background: transparent;
  border: 2px solid #fff;
}

.quick-deadline::after {
  left: 13px;
  top: 17px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
}

.quick-team {
  background: var(--primary);
}

.quick-team::before {
  left: 8px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  box-shadow: 13px 0 0 #fff, 6px 11px 0 3px #fff;
}

.quick-plan {
  background: var(--primary-deep);
}

.quick-plan::before {
  left: 11px;
  top: 8px;
  width: 16px;
  height: 22px;
  border-radius: 4px;
  background: transparent;
  border: 2px solid #fff;
}

.quick-plan::after {
  left: 15px;
  top: 16px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  box-shadow: 0 5px 0 #fff;
}

.guide-block {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid #dddddd;
}

.guide-block > *,
.guide-content,
.caution-panel {
  min-width: 0;
}

.guide-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.guide-block h3 {
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--display-font);
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-content p {
  margin: 0;
  color: #333333;
  font-weight: 500;
}

.contest-row {
  align-items: start;
  gap: 34px;
  padding: 22px 0;
}

/* 본문이 한 줄인 행(예: 다. 기타)은 제목을 본문과 수직 중앙에 맞춘다. */
.contest-row-center {
  align-items: center;
}

.contest-row h3 {
  position: relative;
  padding-left: 16px;
  font-size: 1.08rem;
  line-height: 1.45;
  gap: 0;
}

.contest-row h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 4px;
  height: 16px;
  background: var(--primary-deep);
}

.contest-row .guide-content {
  color: #343434;
  font-size: 1rem;
  line-height: 1.75;
}

.contest-emphasis {
  color: var(--primary) !important;
  font-weight: 900 !important;
  font-size: 1.18rem;
}

.contest-subhead {
  color: #1f3c5f !important;
  font-weight: 900 !important;
  margin-bottom: 14px !important;
}

.overview-section-title {
  position: relative;
  display: inline-block;
  margin: 58px 0 10px;
  padding: 0 0 6px;
  color: #111111;
  font-family: var(--display-font);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.overview-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: rgba(255, 153, 42, 0.32);
  z-index: -1;
}

.contest-method-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contest-method-list > li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #444444;
  font-weight: 600;
}

.method-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ffad55;
  border-radius: 2px;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
}

.contest-method-list ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #555555;
  font-weight: 500;
}

.contest-method-list ul li {
  margin-top: 4px;
}

.contest-score-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #333333;
  font-size: 0.96rem;
}

.contest-score-table th {
  padding: 15px 18px;
  color: #fff;
  background: #8b979d;
  font-weight: 800;
  text-align: center;
}

.contest-score-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #d9d9d9;
  text-align: center;
  font-weight: 500;
}

.contest-list li {
  margin-top: 7px;
}

/* 요청사항 8: 공모전 개요 탭 본문 글씨를 1pt(=1.33px=0.078rem) 키운다.
   rem 기준이라 중첩되어도 크기가 누적되지 않는다. */
#panel-overview .guide-content,
#panel-overview .guide-content p,
#panel-overview .check-list li,
#panel-overview .contest-row .guide-content,
#panel-overview .contest-method-list > li,
#panel-overview .contest-method-list ul {
  font-size: 1.078rem;
}

#panel-overview .contest-emphasis {
  font-size: 1.258rem;
}

#panel-overview .contest-score-table {
  font-size: 1.038rem;
}

#panel-overview .contest-note {
  font-size: 1.028rem;
}

#panel-overview .contest-contact strong {
  font-size: 1.158rem;
}

.contest-note {
  margin-top: 8px !important;
  color: #555555 !important;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contest-contact p + p {
  margin-top: 14px;
}

.contest-contact strong {
  color: #1f3c5f;
  font-size: 1.08rem;
  font-weight: 900;
}

.contest-contact a {
  color: #445070;
  font-weight: 800;
  text-decoration: none;
}

.contest-contact a + a {
  margin-left: 0;
}

.contest-apply-area {
  display: flex;
  justify-content: center;
  padding: 54px 0 0;
}

.guide-intro {
  padding: 24px;
  margin-top: 20px;
  border: 0;
  border-radius: 2px;
  background: var(--surface-soft);
}

.guide-icon {
  --icon-color: var(--primary);
  flex: 0 0 auto;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: var(--icon-color);
  box-shadow: none;
}

.guide-icon::before,
.guide-icon::after {
  content: "";
  position: absolute;
  background: #fff;
}

.guide-icon::before {
  left: 9px;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: transparent;
  border: 2px solid #fff;
}

.guide-icon::after {
  right: 8px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.icon-info { --icon-color: var(--primary); }
.icon-purpose { --icon-color: var(--primary-deep); }
.icon-target { --icon-color: var(--primary); }
.icon-topic { --icon-color: var(--primary-deep); }
.icon-activity { --icon-color: var(--primary); }
.icon-apply { --icon-color: var(--primary-deep); }
.icon-schedule { --icon-color: var(--primary); }
.icon-contact { --icon-color: var(--primary-deep); }
.icon-qna { --icon-color: var(--primary); }
.icon-caution { --icon-color: #5c6471; }

.note-list,
.number-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #444444;
  font-weight: 500;
}

.note-list li,
.number-list li {
  margin-top: 7px;
}

.help-text {
  margin-top: 12px !important;
  color: var(--primary-deep) !important;
  font-weight: 850 !important;
}

.outline-table {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink-deep);
}

.outline-table div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hairline);
}

.outline-table strong {
  color: var(--primary);
  font-weight: 900;
}

.outline-table span {
  color: #333333;
  font-weight: 500;
}

.activity-list {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
  counter-reset: activity-counter;
}

.activity-list > li {
  counter-increment: activity-counter;
  margin-top: 16px;
  padding-left: 0;
}

.activity-list > li::before {
  content: counter(activity-counter, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}

.activity-label {
  display: inline;
  color: #333333;
  font-weight: 700;
  margin: 0;
}

.activity-note {
  color: #555;
  font-size: 0.92em;
  font-weight: 500;
  display: block;
  margin-top: 4px;
  padding-left: 28px;
}

.activity-list > li > .activity-note {
  padding-left: 28px;
}

.activity-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  border-top: 2px solid var(--ink-deep);
  font-size: 0.95em;
}

.activity-table th,
.activity-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  text-align: left;
}

.activity-table th {
  width: 160px;
  color: var(--primary-deep);
  font-weight: 800;
  background: #f4f4f4;
  white-space: pre-line;
  text-align: center;
  vertical-align: middle;
}

.activity-table td ul {
  margin: 0;
  padding-left: 16px;
  color: #444444;
  font-weight: 500;
}

.activity-table td strong {
  background: rgba(255, 182, 120, 0.5);
  border-radius: 2px;
  padding: 0 2px;
}

.activity-table td ul li {
  margin-top: 4px;
}

.activity-table td ul li.note {
  list-style: none;
  margin-left: -16px;
  color: #555;
  font-size: 0.9em;
  font-weight: 500;
}

.activity-list mark {
  background: #fff3a3;
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}

.qna-list {
  margin: 0;
}

.qna-list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}

.qna-list div:first-child {
  padding-top: 0;
}

.qna-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.qna-list dt {
  color: var(--ink-deep);
  font-weight: 950;
}

.qna-list dd {
  margin: 8px 0 0;
  color: #444444;
  font-weight: 500;
}

.contact-content a {
  font-weight: 900;
}

.caution-section {
  border-bottom: 0;
  padding-bottom: 0;
}

.caution-panel {
  padding: 28px;
  background: #f4f4f4;
  border: 1px solid #dddddd;
  border-radius: 2px;
  box-shadow: none;
}

.caution-row {
  display: block;
}

.caution-row + .caution-row {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid #dddddd;
}

.caution-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding-left: 14px;
  color: var(--ink-deep);
  font-size: 1.08rem;
  font-family: var(--display-font);
  font-weight: 800;
}

.caution-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 3px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary-deep);
}

.caution-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.caution-list li {
  position: relative;
  margin-top: 12px;
  padding-left: 16px;
  color: #444444;
  font-weight: 500;
  word-break: keep-all;
}

.caution-list li:first-child {
  margin-top: 0;
}

.caution-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--ink-deep);
}

.caution-contact h4 {
  margin: 0 0 14px;
  color: var(--ink-deep);
  font-size: 1.22rem;
  font-weight: 950;
}

.caution-contact p {
  margin: 0;
  color: #334a64;
  font-weight: 800;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
}

.contact-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px 0 38px;
  border-radius: 999px;
  color: var(--ink-deep);
  background: #fff;
  border: 1px solid #d3dce8;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
}

.contact-chip::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: var(--purple);
}

.contact-chip::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(45deg);
  border: 2px solid #fff;
  border-left: 0;
  border-bottom: 0;
}

.mail-chip::after {
  left: 16px;
  width: 8px;
  height: 6px;
  border: 2px solid #fff;
  border-top: 0;
  transform: translateY(-58%) rotate(0);
}

.portal-contact {
  color: var(--muted) !important;
  font-size: 0.93rem;
}

.portal-contact a {
  font-weight: 900;
}

.caution-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.notice-action {
  min-width: 230px;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.button-label {
  display: inline-block;
  line-height: 1;
}

.notice-action .button-icon {
  display: none;
}

.notice-action::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.notice-main p,
.section-heading p,
.admin-shell p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.section-heading p a {
  color: var(--primary, #1a6ec5);
  text-decoration: underline;
  font-weight: 650;
}

.section-heading p a:hover {
  opacity: 0.8;
}

.summary-table {
  margin-top: 24px;
  border-top: 2px solid var(--ink-deep);
}

.summary-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--hairline);
}

.summary-table strong {
  color: var(--primary-deep);
  font-weight: 900;
}

.deadline-panel h3,
.info-columns h3,
.check-result h3,
.contact-strip h3 {
  margin: 0 0 14px;
  color: var(--ink-deep);
  font-size: 1.22rem;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.timeline span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin-top: 4px;
  color: var(--ink-deep);
}

.topic-section {
  margin-top: 24px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.topic-grid article {
  padding: 18px;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  border: 0;
}

.topic-grid strong {
  display: block;
  color: var(--ink-deep);
  font-size: 1.03rem;
  font-weight: 800;
}

.topic-grid span {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 900;
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.check-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 11px;
  color: #444444;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.contact-strip {
  margin-top: 24px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
}

.contact-strip p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 24px;
}

.application-form {
  border-top: 2px solid var(--ink-deep);
}

.form-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}

.compact-choice-row {
  align-items: center;
  padding: 12px 0;
}

fieldset.form-row {
  border-top: 0;
  border-right: 0;
  border-left: 0;
  min-inline-size: 0;
}

.form-row > label,
.form-row > legend,
.form-row > .form-label {
  color: var(--ink-deep);
  font-family: var(--display-font);
  font-weight: 700;
  padding-top: 10px;
}

.form-row > label span[aria-hidden="true"],
.form-row > legend span[aria-hidden="true"],
.form-row > .form-label span[aria-hidden="true"] {
  color: var(--critical);
  margin-left: 2px;
}

/* 아이디 입력칸 + '회원가입' 버튼을 한 줄에 나란히 둔다(입력칸 오른쪽). */
.id-input-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.id-input-row input {
  flex: 1 1 auto;
  min-width: 0;
}

/* 아이디 입력칸 오른쪽 '회원가입' 버튼 — i-누리 학부모 회원가입 페이지로 이동한다. */
.signup-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 18px;
  min-height: 46px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  background: #fff4ec;
  color: var(--primary-deep);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.signup-link:hover,
.signup-link:focus-visible {
  background: var(--primary);
  color: #fff;
}

/* 사람+ 아이콘(SVG 마스크). 링크 색상을 그대로 따라간다. */
.signup-link-icon {
  width: 17px;
  height: 17px;
  background-color: currentColor;
  -webkit-mask: var(--signup-icon) center / contain no-repeat;
  mask: var(--signup-icon) center / contain no-repeat;
}

/* 좁은 화면에서는 버튼이 눌리지 않도록 아래로 줄바꿈한다. */
@media (max-width: 520px) {
  .id-input-row {
    flex-wrap: wrap;
  }
  .signup-link {
    flex: 1 1 100%;
  }
}

:root {
  --signup-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' y1='8' x2='19' y2='14'/%3E%3Cline x1='22' y1='11' x2='16' y2='11'/%3E%3C/svg%3E");
}

.field-area input[type="text"],
.field-area input[type="tel"],
.field-area select,
.check-form input,
.member-form input,
.admin-toolbar input,
.admin-toolbar select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #cccccc;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font-weight: 500;
}

#topicArea {
  max-width: 360px;
  background-image: none;
}

#representativeName {
  max-width: 460px;
}

#teamName {
  max-width: 620px;
}

#representativeId {
  max-width: 360px;
}

#emailLocal,
#emailDomain {
  max-width: none;
}

.field-area input:focus,
.field-area select:focus,
.check-form input:focus,
.member-form input:focus,
.admin-toolbar input:focus,
.admin-toolbar select:focus {
  outline: 3px solid rgba(255, 114, 36, 0.22);
  border-color: var(--primary);
}

.choice-field {
  display: grid;
  gap: 4px;
}

.radio-options,
.segment-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-options label,
.segment-group label {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid #d8d0c8;
  color: var(--ink-deep);
  font-weight: 700;
}

.radio-options input,
.segment-group input {
  accent-color: var(--primary);
}

.privacy-consent-row {
  align-items: center;
}

.privacy-consent-row > .form-label {
  padding-top: 0;
}

.privacy-consent-card {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid #c9d5e6;
  border-radius: 6px;
  background: #fbfdff;
  color: var(--ink-deep);
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.privacy-consent-card input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.privacy-consent-row .field-error:empty {
  display: none;
}

.organization-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.member-add-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--primary-deep);
  font-weight: 900;
  box-shadow: none;
}

.member-add-button:hover {
  background: var(--tab-sky-deep);
}

.inline-alert,
.field-alert {
  margin: 0;
  color: #ff7d7d;
  font-size: 0.92rem;
  font-weight: 900;
  word-break: keep-all;
}

.field-alert {
  margin-top: 8px;
}

.member-list {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #c9b7aa;
  border-radius: var(--radius-md);
  background: #fff8f2;
}

.member-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.member-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}

.member-item:first-child {
  padding-top: 0;
}

.member-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.member-item strong {
  color: var(--ink-deep);
  font-weight: 950;
}

.member-item span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.member-remove {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(215, 45, 71, 0.2);
  border-radius: 999px;
  color: var(--critical);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.phone-fields,
.email-fields {
  display: grid;
  align-items: center;
  gap: 8px;
}

.phone-fields {
  grid-template-columns: minmax(66px, 0.9fr) auto minmax(80px, 1fr) auto minmax(80px, 1fr);
  max-width: 760px;
}

.email-fields {
  grid-template-columns: minmax(100px, 1fr) auto minmax(150px, 1fr);
  max-width: 780px;
}

.member-phone-fields {
  max-width: none;
}

.member-phone-fields input {
  min-width: 0;
}

/* 연락처 칸의 010/0000 예시가 실제 입력값처럼 진하게 보이지 않도록 흐리게 처리한다. */
.phone-fields input::placeholder,
.check-phone-fields input::placeholder {
  color: var(--muted);
  opacity: 0.45;
}

.phone-fields span,
.email-fields span {
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.file-upload {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid #cccccc;
  border-radius: var(--radius-md);
  background: #fff8f2;
}

.file-upload:focus-within {
  outline: 3px solid rgba(255, 114, 36, 0.22);
  border-color: var(--primary);
}

.file-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.file-trigger {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: none;
}

.file-trigger-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.file-trigger-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -5px;
  width: 7px;
  height: 5px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 3px 3px 0 0;
}

.file-name {
  min-width: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-name.has-file {
  color: var(--ink-deep);
}

/* 업로드/제출 중 화면 전체 로딩 오버레이 */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 30, 48, 0.55);
  backdrop-filter: blur(2px);
}

.loading-overlay[hidden] {
  display: none;
}

.loading-box {
  width: min(100%, 360px);
  padding: 32px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border: 5px solid rgba(23, 109, 209, 0.18);
  border-top-color: var(--primary, #176dd1);
  border-radius: 50%;
  animation: loading-spin 0.8s linear infinite;
}

@keyframes loading-spin {
  to { transform: rotate(360deg); }
}

.loading-message {
  margin: 0 0 8px;
  color: var(--ink-deep, #1a2b45);
  font-size: 1.1rem;
  font-weight: 900;
}

.loading-hint {
  margin: 0;
  color: var(--muted, #6b7a90);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .loading-spinner { animation-duration: 1.6s; }
}

/* 누적 선택된 첨부파일 목록(파일마다 삭제 버튼). */
.selected-file-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.selected-file-list > li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface-soft, #f4f7fb);
  border: 1px solid var(--hairline, #dbe4ee);
  border-radius: 10px;
}

.selected-file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

/* 각 파일 오른쪽에 표시하는 용량 텍스트 */
.selected-file-size {
  flex-shrink: 0;
  color: var(--muted, #6b7280);
  font-weight: 700;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.selected-file-remove {
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 999px;
  background: #fff;
  color: var(--danger, #c0392b);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
}

.selected-file-remove:hover {
  background: #fdecea;
}

/* 목록 맨 아래 합계 행 — 삭제 버튼 없이 파일 개수·합계 용량만 보여준다. */
.selected-file-total {
  background: #fff4ec;
  border-color: var(--primary);
}

.selected-file-total .selected-file-name {
  color: var(--primary-deep);
}

.selected-file-total .selected-file-size {
  color: var(--primary-deep);
  font-weight: 800;
}

/* 합계가 500MB 를 넘으면 경고(빨강) 강조 */
.selected-file-total.is-over {
  background: #fdecea;
  border-color: var(--critical);
}

.selected-file-total.is-over .selected-file-name,
.selected-file-total.is-over .selected-file-size {
  color: var(--critical);
}

.field-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.field-error {
  min-height: 20px;
  margin: 7px 0 0;
  color: var(--critical);
  font-size: 0.9rem;
  font-weight: 800;
}

.compact-choice-row .field-error {
  min-height: 0;
  margin-top: 0;
}

.compact-choice-row .field-error:empty {
  display: none;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.submit-result {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #ecfff6;
  border: 1px solid rgba(0, 168, 107, 0.3);
  color: #075b3f;
  font-weight: 800;
}

.submit-result.is-error {
  background: #fff1f0;
  border-color: rgba(214, 48, 49, 0.35);
  color: #a32219;
}

.check-layout {
  align-items: start;
}

.check-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.check-heading h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 42px;
  padding-bottom: 6px;
}

.check-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: rgba(255, 153, 42, 0.32);
  z-index: -1;
}

.check-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.check-card h3 {
  position: relative;
  margin: 8px 0 0;
  padding-left: 16px;
  color: var(--ink-deep);
  font-family: var(--display-font);
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.35;
}

.check-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 4px;
  height: 16px;
  background: var(--primary-deep);
}

.check-form {
  display: grid;
  gap: 14px;
  padding: 44px 54px;
  background: var(--surface-soft);
}

.check-form label {
  color: var(--ink-deep);
  font-weight: 650;
}

.check-form .primary-action {
  justify-self: center;
  width: 180px;
  min-height: 58px;
  margin-top: 38px;
  background: var(--primary-deep);
}

.check-field-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 300px);
  gap: 22px;
  align-items: center;
}

.check-phone-fields {
  display: grid;
  grid-template-columns: 82px auto 92px auto 92px;
  gap: 8px;
  align-items: center;
}

.check-phone-fields span {
  color: #444444;
  font-weight: 700;
  text-align: center;
}

.check-result {
  min-height: 250px;
  margin-top: 32px;
}

.result-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.result-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

.result-card strong {
  color: var(--ink-deep);
}

/* 첨부파일 미첨부는 눈에 띄게 표시한다. */
.result-missing {
  color: var(--danger, #c0392b);
  font-weight: 600;
}

/* 신청확인 결과에서 첨부파일이 여러 개면 파일마다 한 줄씩 나열한다. */
.check-file-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.check-file-list > li {
  word-break: break-all;
}

/* 확인 결과의 '수정하기' 버튼은 우측 정렬한다. */
.result-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(130px, 0.7fr) minmax(220px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-top: 22px;
  padding: 16px;
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
}

.admin-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--ink-deep);
  font-size: 0.88rem;
  font-weight: 900;
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
}

.admin-table {
  width: 100%;
  min-width: 1760px;
  border-collapse: collapse;
  background: #fff;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: middle;
  font-size: 0.94rem;
  word-break: keep-all;
}

.admin-table th {
  color: var(--ink-deep);
  background: #f4f4f4;
  font-weight: 950;
}

.admin-table td {
  color: #444444;
  font-weight: 600;
}

.file-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(144, 77, 39, 0.22);
  background: #fff;
  color: var(--primary-deep);
  font-weight: 900;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff1e6;
  color: var(--primary-deep);
  font-weight: 900;
}

.admin-member-list {
  display: grid;
  gap: 6px;
  min-width: 360px;
}

.admin-member-list span,
.admin-member-empty {
  display: block;
  color: #444444;
  font-size: 0.88rem;
  font-weight: 750;
}

.admin-member-list strong {
  color: var(--ink-deep);
  font-weight: 950;
}

.admin-member-empty {
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(37, 30, 28, 0.42);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  width: min(100%, 520px);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(217, 209, 202, 0.9);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(37, 30, 28, 0.24);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.modal-kicker {
  margin: 0 0 4px;
  color: var(--primary-deep);
  font-size: 0.86rem;
  font-weight: 950;
}

.modal-head h2 {
  margin: 0;
  color: var(--ink-deep);
  font-size: 1.58rem;
  line-height: 1.2;
}

.modal-close {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid #d3dce8;
  border-radius: 999px;
  background: #f7fbff;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 18px;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink-deep);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.member-form {
  display: grid;
  gap: 9px;
}

.member-form label {
  color: var(--ink-deep);
  font-weight: 900;
}

.member-form label span[aria-hidden="true"] {
  color: var(--critical);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.admin-site {
  --admin-max: 1840px;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 169, 206, 0.08), transparent 24%),
    linear-gradient(180deg, #f6f9fd 0%, #ffffff 42%, #f7fbff 100%);
}

.admin-hero {
  width: min(var(--admin-max), calc(100% - 40px));
  margin: 40px auto 0;
  padding: 38px 44px;
  background: var(--ink-deep);
  color: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.admin-hero h1 {
  margin: 6px 0 10px;
  font-size: 3.05rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.admin-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.admin-hero .organizer {
  color: #9eeaf8;
}

.admin-page-panel {
  width: min(var(--admin-max), calc(100% - 40px));
  margin-top: 24px;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 42px;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1120px) {
  .hero-inner {
    padding: 48px 0 76px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-copy {
    transform: none;
  }

  .hero-art img {
    width: min(100%, 270px);
    transform: translate(101px, -80px);
  }

  .hero-facts,
  .overview-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .top-nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-inner {
    padding: 42px 0 64px;
    min-height: auto;
  }

  .hero-copy {
    transform: none;
  }

  .hero-art {
    grid-column: auto;
    min-height: auto;
    order: 2;
    margin-top: 16px;
    justify-content: center;
  }

  .hero-art img {
    width: min(100%, 250px);
    transform: translate(81px, -75px);
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .content-grid,
  .check-layout,
  .info-columns {
    grid-template-columns: 1fr;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-block,
  .guide-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .admin-hero,
  .tabs-band,
  .page-panel,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .top-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-link {
    padding: 9px 10px;
  }

  .hero {
    width: 100%;
    margin-top: 0;
    grid-template-columns: 1fr;
    padding: 0;
    border-radius: 0;
  }

  .hero-copy,
  .hero-art {
    grid-column: 1;
    transform: none;
  }

  .admin-hero {
    margin-top: 18px;
    padding: 24px;
    border-radius: 20px;
  }

  .admin-hero h1 {
    font-size: 2.35rem;
  }

  .organizer {
    font-size: 1.76rem;
  }

  .hero h1 {
    font-size: 1.76rem;
    line-height: 1.12;
  }

  .headline-title,
  .hero-desc {
    white-space: normal;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .topic-grid,
  .overview-quick,
  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 320px;
    padding: 30px 0 78px;
    align-items: flex-start;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
  }

  .organizer {
    margin-right: auto;
    margin-left: auto;
    width: min(312px, 100%);
    min-height: 72px;
    padding: 14px 20px;
    font-size: 1.76rem;
  }

  .hero-facts {
    display: none;
  }

  .tab-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 4px 4px 0 0;
  }

  .tabs-band {
    margin-top: -40px;
  }

  .tab-button {
    min-height: 40px;
    padding: 0 4px;
    border-radius: 4px 4px 0 0;
    font-size: 0.75rem;
  }

  .hero-art {
    left: 0;
    right: 0;
    top: auto;
    height: 150px;
    min-height: auto;
    border-radius: 0;
    opacity: 0.86;
  }

  .hero-art img {
    width: min(78%, 260px);
    transform: translate(calc(50vw - 142px), 20px);
  }

  .notice-main,
  .deadline-panel,
  .topic-section,
  .info-columns article,
  .legacy-guide,
  .form-shell,
  .check-layout > div,
  .check-result,
  .admin-shell {
    padding: 22px;
    border-radius: 16px;
  }

  .summary-table div,
  .form-row,
  .outline-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row > label,
  .form-row > legend,
  .form-row > .form-label {
    padding-top: 0;
  }

  .phone-fields,
  .email-fields {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .phone-fields span,
  .email-fields span {
    display: none;
  }

  .caution-panel {
    padding: 22px;
  }

  .check-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .check-form {
    padding: 28px 20px;
  }

  .check-field-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .check-phone-fields {
    grid-template-columns: 1fr auto 1fr auto 1fr;
  }

  .overview-section-title {
    margin-top: 42px;
    font-size: 1.36rem;
  }

  .contest-row {
    gap: 10px;
    padding: 19px 0;
  }

  .contest-method-list > li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
  }

  .method-number {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }

  .contest-score-table {
    font-size: 0.84rem;
  }

  .contest-score-table th,
  .contest-score-table td {
    padding: 12px 8px;
  }

  .contest-contact a {
    display: inline-block;
    margin-top: 6px;
  }

  .contest-contact a + a {
    margin-left: 0;
    margin-right: 12px;
  }

  .caution-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .caution-row + .caution-row {
    margin-top: 22px;
    padding-top: 22px;
  }

  .contact-links,
  .caution-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-chip,
  .notice-action {
    width: 100%;
    justify-content: center;
  }

  .contact-chip {
    padding-left: 42px;
  }

  .organization-line,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .member-add-button {
    width: 100%;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal-dialog {
    max-height: calc(100vh - 24px);
    padding: 22px;
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .hero,
  .form-shell,
  .legacy-guide,
  .check-layout > div,
  .check-result {
    padding: 18px;
  }

  .hero {
    padding: 0;
  }

  .hero h1 {
    font-size: 1.58rem;
  }

  .admin-hero h1 {
    font-size: 1.72rem;
  }

  .notice-main h2,
  .topic-section h2,
  .legacy-guide > h2,
  .section-heading h2,
  .admin-shell h2 {
    font-size: 1.48rem;
  }

  .hero-desc,
  .overview-lead,
  .guide-content p,
  .note-list,
  .number-list,
  .check-list li,
  .outline-table span,
  .caution-list li,
  .portal-contact {
    font-size: 0.92rem;
  }

  .overview-quick div {
    padding: 14px;
  }

  .guide-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .guide-icon::before {
    left: 8px;
    top: 8px;
    width: 14px;
    height: 14px;
  }

  .guide-icon::after {
    right: 7px;
    top: 7px;
  }

  .primary-action,
  .secondary-action,
  .text-action {
    width: 100%;
    padding: 0 16px;
  }

  .file-upload {
    align-items: stretch;
    flex-direction: column;
  }

  .file-trigger {
    justify-content: center;
  }

  .file-name {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
