/* 사범넷 — design tokens */
:root {
  --bg: #0b0d10;
  --bg-elevated: #14181f;
  --bg-soft: #1a2029;
  --surface: #f4f6f8;
  --text: #f2f4f7;
  --text-muted: #a7b0bd;
  --text-dark: #12151a;
  --text-dark-muted: #5b6573;
  --accent: #e11d2e;
  --accent-deep: #a40f1c;
  --accent-soft: rgba(225, 29, 46, 0.14);
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(18, 21, 26, 0.1);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  --radius: 12px;
  --container: 1040px;
  --font-display: "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", sans-serif;
  --header-h: 60px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

#latest-jobs,
#latest-board {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.page-jobs .site-header,
.page-job .site-header,
.page-persons .site-header,
.page-person .site-header,
.page-auth .site-header {
  background: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(160px, 42vw);
  object-fit: contain;
  flex-shrink: 0;
}

.brand-mark {
  width: 1.1rem;
  height: 1.1rem;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-left: auto;
}

.nav a {
  color: rgba(242, 244, 247, 0.82);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.nav-cta {
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.nav-cta:hover {
  border-color: #fff;
}

/* Dropdown mega-menu items (연구소 소개 / 연구활동 등) */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -14px;
  right: -14px;
  height: 16px;
}

.nav-item-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(242, 244, 247, 0.55);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-item-toggle svg {
  transition: transform 0.2s var(--ease);
}

.nav-item:hover .nav-item-toggle,
.nav-item .nav-top:hover + .nav-item-toggle {
  color: rgba(242, 244, 247, 0.85);
}

.nav-item:hover .nav-item-toggle svg,
.nav-item.is-open .nav-item-toggle svg {
  transform: rotate(180deg);
}

.nav-item-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 176px;
  padding: 0.4rem;
  border-radius: 10px;
  background: rgba(15, 18, 23, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s var(--ease), visibility 0.18s;
  z-index: 60;
}

.nav-dropdown a {
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 500;
}

.nav-dropdown a:hover,
.nav-dropdown a.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.header-tools {
  display: none;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-login:hover,
.header-login.is-active {
  background: rgba(225, 29, 46, 0.92);
  border-color: transparent;
  color: #fff;
}

.header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-avatar:hover,
.header-avatar.is-active {
  background: rgba(225, 29, 46, 0.92);
  border-color: transparent;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin-inline: auto;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-secondary {
  background: var(--text-dark);
  color: #fff;
}

.btn-success {
  background: #16a34a;
  color: #fff;
}

.btn-success:hover {
  background: #15803d;
}

.btn-danger {
  background: #e11d2e;
  color: #fff;
}

.btn-danger:hover {
  background: #b91c1c;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

/* Hero — full-bleed composition */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.35) 0%, rgba(11, 13, 16, 0.55) 42%, rgba(11, 13, 16, 0.92) 100%),
    linear-gradient(90deg, rgba(11, 13, 16, 0.75) 0%, rgba(11, 13, 16, 0.25) 55%, rgba(11, 13, 16, 0.45) 100%),
    url("../../images/hero-hanam.jpg") center / cover no-repeat;
  transform: scale(1.05);
  animation: hero-zoom 18s var(--ease) infinite alternate;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(225, 29, 46, 0.18), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-silhouette {
  position: absolute;
  right: -4%;
  bottom: 8%;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 40% 40%, rgba(225, 29, 46, 0.35), transparent 55%);
  filter: blur(8px);
  opacity: 0.7;
  animation: pulse-glow 5s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 0 0 auto;
  margin-top: auto;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  max-width: 680px;
  margin-left: max(1rem, calc((100% - var(--container)) / 2));
  margin-right: auto;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-sub {
  margin: 0 0 1.65rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-primary-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  width: min(100%, 22rem);
}

.hero-primary-pair .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.hero-btn-persons {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero-btn-persons:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.hero-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  align-self: center;
  margin-left: 0.15rem;
  color: #fff;
  flex: 0 0 auto;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0.35rem;
  border-radius: 10px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-scroll:hover {
  color: #fff;
  opacity: 0.85;
  transform: translateY(2px);
}

.hero-scroll-mouse {
  display: block;
  width: 20px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-scroll-mouse span {
  display: block;
  width: 3px;
  height: 8px;
  margin: 7px auto 0;
  border-radius: 999px;
  background: #fff;
  animation: scroll-dot 1.6s var(--ease) infinite;
}

.hero-scroll-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2,
.page-hero h1,
.job-detail-body h2,
.empty-state h1,
.empty-state h2,
.cta-copy h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

.section-head p,
.page-lead,
.cta-copy p {
  margin: 0;
  color: var(--text-dark-muted);
}

.section-action {
  margin-top: 1.5rem;
  text-align: center;
}

.section-jobs {
  background:
    radial-gradient(circle at top right, rgba(225, 29, 46, 0.06), transparent 30%),
    var(--surface);
}

.section-regions {
  background: #ebeff3;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.region-link {
  display: grid;
  place-items: center;
  min-height: 56px;
  background: #fff;
  border-bottom: 3px solid transparent;
  font-weight: 700;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.region-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.section-cta {
  padding-top: 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.85rem 2rem;
  color: #fff;
  background:
    linear-gradient(120deg, #12151a 0%, #1b222c 55%, #3a0d12 100%);
  border-radius: calc(var(--radius) + 2px);
}

.cta-copy {
  max-width: 40rem;
}

.cta-band .hero-actions {
  flex-shrink: 0;
}

.cta-copy h2 {
  color: #fff;
}

.cta-copy p {
  color: rgba(242, 244, 247, 0.75);
}

/* Premium / basic job tiers */
.job-tier-section + .job-tier-section {
  margin-top: 2rem;
}

.job-tier-head {
  margin-bottom: 0.85rem;
}

.job-tier-head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}

.job-tier-head p {
  margin: 0;
  color: var(--text-dark-muted);
  font-size: 0.92rem;
}

.job-premium-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.job-platinum-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  height: 100%;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(225, 29, 46, 0.18);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(18, 21, 26, 0.04);
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 29, 46, 0.45);
  box-shadow: 0 10px 24px rgba(18, 21, 26, 0.08);
}

.job-card-head {
  display: flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(120deg, #e11d2e, #b91c1c);
}

.job-card-dojang-name {
  display: block;
  width: 100%;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  padding: 0.7rem 0.75rem 0.65rem;
}

.job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: linear-gradient(120deg, #e11d2e, #9f1239);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-platinum {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
  background: linear-gradient(120deg, #2563eb, #1d4ed8);
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.badge-tier-sm {
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
  flex-shrink: 0;
}

.job-card-platinum {
  position: relative;
  min-height: 0;
  border: 1.5px solid rgba(37, 99, 235, 0.4);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.06),
    0 8px 22px rgba(37, 99, 235, 0.12);
}

.job-card-platinum .job-card-head {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #1e3a8a 0%, #2563eb 40%, #3b82f6 55%, #1d4ed8 100%);
  background-size: 200% 100%;
  animation: platinum-head-shift 6s ease-in-out infinite;
}

.job-card-platinum .job-card-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: platinum-shine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.job-card-platinum .job-card-dojang-name {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
}

@keyframes platinum-head-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes platinum-shine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-card-platinum .job-card-head,
  .job-card-platinum .job-card-head::after {
    animation: none;
  }
}

.job-card-platinum::before {
  display: none;
}

.job-card-platinum:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.1),
    0 12px 28px rgba(37, 99, 235, 0.18);
}

.job-card-platinum h3 {
  font-size: 1.02rem;
  line-height: 1.35;
}

.job-card-platinum .job-card-meta {
  font-size: 0.82rem;
  gap: 0.3rem 0.65rem;
}

.job-card-platinum .job-card-foot .salary {
  font-size: 0.92rem;
  color: #1d4ed8;
}

.section-head-spaced {
  margin-top: 2.15rem;
}

.admin-membership-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.admin-membership-form select {
  min-height: 40px;
  padding: 0 0.55rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  background: #fff;
}

.admin-membership-days {
  min-width: 4.5rem;
}

.admin-expires {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: rgba(18, 21, 26, 0.55);
}

.admin-member-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-member-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.admin-member-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.85rem;
}

.admin-member-title-row .mypage-title {
  margin: 0;
}

.admin-member-title-row .admin-member-stats {
  margin: 0;
}

.mypage-withdraw-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(18, 21, 26, 0.06);
}

.btn-withdraw {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(18, 21, 26, 0.45);
  font: inherit;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.btn-withdraw:hover {
  color: #b91c1c;
}

.admin-member-stat {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  background: #16a34a;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.admin-member-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
  align-items: center;
}

.admin-member-toolbar .admin-member-search {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 42px;
  padding: 0 0.75rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.admin-member-toolbar select {
  min-height: 42px;
  min-width: 7.5rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.admin-member-reset {
  white-space: nowrap;
}

.admin-member-result {
  margin: 0 0 0.85rem;
  color: rgba(18, 21, 26, 0.55);
  font-size: 0.86rem;
}

.admin-member-pagination {
  margin-top: 1.1rem;
}

.admin-member-card {
  padding: 0.75rem 0.8rem 0.8rem;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 10px;
  background: #fafbfc;
}

.admin-member-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.admin-member-card-title {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}

.admin-member-card-title strong {
  font-size: 0.95rem;
  color: var(--text-dark, #12151a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.admin-member-id {
  font-size: 0.72rem;
  color: rgba(18, 21, 26, 0.45);
  flex-shrink: 0;
}

.admin-member-current {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  width: 100%;
}

.admin-member-current .chip {
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
}

.admin-member-current .admin-expires {
  display: inline;
  margin-top: 0;
  font-size: 0.72rem;
  color: rgba(18, 21, 26, 0.55);
}

.admin-member-meta {
  margin: 0.4rem 0 0.7rem;
  color: rgba(18, 21, 26, 0.62);
  font-size: 0.78rem;
  line-height: 1.45;
  word-break: break-word;
}

.admin-member-meta-line {
  margin: 0;
}

.admin-member-meta-line + .admin-member-meta-line {
  margin-top: 0.15rem;
}

.admin-membership-card-form {
  display: grid;
  gap: 0.55rem;
}

.admin-membership-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.admin-membership-field {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.admin-membership-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(18, 21, 26, 0.72);
}

.admin-membership-field select {
  width: 100%;
  min-height: 34px;
  padding: 0 0.5rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
}

.admin-membership-days-field.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.admin-member-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(18, 21, 26, 0.08);
}

.admin-member-card-actions .btn {
  min-height: 34px;
  padding: 0 0.65rem;
  font-size: 0.8rem;
}

.admin-member-card-actions .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-member-board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.admin-member-board-head .mypage-title {
  margin: 0;
}

.admin-member-board-total {
  color: rgba(18, 21, 26, 0.58);
  font-size: 0.9rem;
}

.admin-member-table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 10px;
}

.admin-member-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9rem;
}

.admin-member-table th,
.admin-member-table td {
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(18, 21, 26, 0.08);
  text-align: left;
  vertical-align: middle;
}

.admin-member-table th {
  background: #f5f7f9;
  color: rgba(18, 21, 26, 0.7);
  font-size: 0.8rem;
  white-space: nowrap;
}

.admin-member-table tbody tr {
  transition: background-color 0.15s ease;
}

.admin-member-table tbody tr:hover {
  background: #f8fafc;
}

.admin-member-clickable-row {
  cursor: pointer;
}

.admin-member-clickable-row:focus-visible {
  outline: 2px solid var(--accent, #e11d2e);
  outline-offset: -2px;
}

.admin-member-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-member-table a {
  color: inherit;
  text-decoration: none;
}

.admin-member-name-link {
  font-weight: 700;
}

.admin-member-name-link:hover,
.admin-member-detail-link:hover {
  color: var(--accent, #e11d2e);
  text-decoration: underline;
}

.admin-member-detail-link {
  font-weight: 700;
  white-space: nowrap;
}

.admin-member-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
}

.admin-member-detail-info {
  margin-top: 1rem;
}

.admin-member-detail-divider {
  margin: 1.35rem 0;
  border: 0;
  border-top: 1px solid rgba(18, 21, 26, 0.1);
}

.admin-member-danger-zone {
  margin-top: 1rem;
}

.admin-member-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0 0.5rem;
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.admin-member-back:hover {
  color: var(--accent, #e11d2e);
}

.admin-member-danger-zone form {
  margin: 0;
}

@media (max-width: 1100px) {
  .admin-member-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-member-list {
    grid-template-columns: 1fr;
  }

  .admin-member-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-member-toolbar .btn,
  .admin-member-toolbar select {
    width: 100%;
  }

  .admin-member-card-actions .btn {
    flex: 1 1 auto;
  }

  .admin-member-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-member-board-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
}

.admin-products-form {
  display: grid;
  gap: 1.25rem;
}

.admin-product-block {
  padding: 1rem 1rem 0.25rem;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 12px;
  background: #fafbfc;
}

.admin-product-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.admin-product-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.admin-product-name {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.admin-product-name span {
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-product-name input,
.admin-price-table input {
  width: 100%;
  min-height: 42px;
  padding: 0 0.7rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  background: #fff;
}

.admin-price-table-wrap {
  overflow-x: auto;
}

.admin-price-table th,
.admin-price-table td {
  vertical-align: middle;
}

.admin-price-table input {
  min-width: 7rem;
}

.job-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-dojang {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
  color: var(--text-dark-muted);
  font-size: 0.8rem;
}

.job-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(18, 21, 26, 0.08);
}

.job-card-foot .salary {
  color: var(--accent, #e11d2e);
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Job list — interaction rows, not card grid */
.job-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
}

.job-view-mobile {
  display: none;
}

.job-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 0.1rem;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.2s ease, padding 0.2s var(--ease);
}

.job-row:hover {
  background: rgba(225, 29, 46, 0.04);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.job-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.5rem;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
}

.chip-muted {
  background: rgba(18, 21, 26, 0.06);
  color: var(--text-dark-muted);
}

.chip-role {
  background: rgba(18, 21, 26, 0.08);
  color: var(--text-dark);
}

.time {
  margin-left: auto;
  color: var(--text-dark-muted);
  font-size: 0.85rem;
}

.job-row h3,
.job-detail-top h1 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.job-dojang {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.job-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  text-align: right;
  min-width: 9rem;
}

.salary {
  font-weight: 700;
  color: var(--accent-deep);
}

.job-list-compact .job-row {
  gap: 0.65rem;
  padding: 0.65rem 0.1rem;
}

.job-list-compact .job-row:hover {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.job-list-compact .job-row-meta {
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}

.job-list-compact .chip {
  min-height: 22px;
  padding: 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.job-list-compact .time {
  font-size: 0.74rem;
}

.job-list-compact .job-row h3 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.job-list-compact .job-row-best .job-row-line2 h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
}

.job-list-compact .job-dojang {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-dark);
}

.job-list-compact .job-row-side {
  gap: 0.2rem;
  min-width: 6.5rem;
}

.job-list-compact .job-row-best .job-row-side {
  min-width: 0;
}

.job-list-compact .salary {
  font-size: 0.9rem;
  font-weight: 700;
}

.job-list-compact .dan {
  font-size: 0.74rem;
}

/* Best jobs: left content / right aligned meta */
.job-row-best {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.4rem;
  align-items: center;
  gap: 0.75rem 0.55rem;
  padding: 0.85rem 0.1rem;
  border-bottom: 1px solid var(--line-dark);
}

.job-row-best:hover {
  background: rgba(225, 29, 46, 0.04);
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.job-row-best-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.job-row-best .job-row-line1 .job-row-line-left {
  flex-wrap: nowrap;
  overflow: hidden;
}

.job-row-best .job-dojang-strong {
  flex-shrink: 0;
}

.job-row-best .job-row-line1 .chip,
.job-row-best .job-row-line1 .badge-tier-sm {
  flex-shrink: 0;
}

.job-row-best .job-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.2rem;
  text-align: right;
  min-width: 0;
  width: 100%;
  flex-shrink: 0;
}

.job-row-best .job-row-side .time {
  font-size: 0.78rem;
  color: var(--text-dark-muted);
  margin-left: 0;
}

.job-row-best .job-row-side .salary {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1.25;
  word-break: keep-all;
}

.job-row-best .job-row-side .dan {
  font-size: 0.76rem;
  color: var(--text-dark-muted);
}

.job-row-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.job-row-line-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}

.job-dojang-strong {
  font-weight: 800;
  color: var(--text-dark);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  margin-right: 0.15rem;
}

.job-row-line2 h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-dark);
}

.job-work-time {
  color: var(--text-dark-muted);
  font-size: 0.88rem;
}

.person-row-facts {
  flex-wrap: wrap;
  gap: 0.3rem;
}

.chip-has-applicants {
  background: rgba(22, 163, 74, 0.12);
  color: rgba(21, 128, 61, 0.85);
  border: 1px solid rgba(22, 163, 74, 0.22);
  font-weight: 600;
  animation: chip-applicants-blink 1.4s ease-in-out infinite;
}

@keyframes chip-applicants-blink {
  0%,
  100% {
    opacity: 1;
    background: rgba(22, 163, 74, 0.12);
    color: rgba(21, 128, 61, 0.85);
    box-shadow: none;
  }
  50% {
    opacity: 1;
    background: rgba(22, 163, 74, 0.32);
    color: #15803d;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chip-has-applicants {
    animation: none;
  }
}

.apply-dialog-message {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.notification-item {
  display: block;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 10px;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.notification-item:hover {
  background: rgba(225, 29, 46, 0.03);
  border-color: rgba(225, 29, 46, 0.22);
}

.notification-item.is-unread {
  background: rgba(225, 29, 46, 0.05);
  border-color: rgba(225, 29, 46, 0.2);
}

.notification-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.notification-item p {
  margin: 0;
  color: var(--text-dark-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.notification-item .time {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
}

.notification-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.notification-row .notification-item {
  flex: 1;
  min-width: 0;
}

.notification-delete-form {
  display: flex;
  align-items: center;
}

.notification-delete-btn {
  min-height: 40px;
  padding: 0 0.75rem;
  white-space: nowrap;
}

.push-notify-status {
  margin: 0 0 0.85rem;
  color: var(--text-dark-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.push-notify-status.is-error {
  color: #b91c1c;
}

.job-list-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  column-gap: 1.25rem;
  border-top: 0;
}

.job-list.job-list-split {
  display: grid;
}

.job-list-split .job-row {
  border-top: 1px solid var(--line-dark);
}

.job-list-split .job-row:nth-child(1),
.job-list-split .job-row:nth-child(2) {
  border-top: 1px solid var(--line-dark);
}

.dan {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
}

/* Person list */
.person-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
}

.person-list-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
  border-top: 0;
}

.person-list-split .person-row {
  border-top: 1px solid var(--line-dark);
  padding-left: 0.1rem;
  padding-right: 0.1rem;
}

.person-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.85rem;
  padding: 1rem 0.1rem;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.2s ease;
}

.person-row:hover {
  background: rgba(225, 29, 46, 0.04);
}

.person-row .job-row-meta {
  margin-bottom: 0.4rem;
}

.person-row h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.person-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a2029, #2a313c);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.person-avatar-lg {
  width: 72px;
  height: 72px;
  font-size: 1.5rem;
}

.person-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.78rem;
}

.person-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
}

.person-facts li {
  position: relative;
}

/* 홈 최신 구직등록 — 최신 채용공고(compact)와 동일 크기 */
.person-list-split .person-row {
  gap: 0.75rem;
  padding: 0.55rem 0.1rem;
}

.person-list-split .person-avatar {
  width: 40px;
  height: 40px;
  font-size: 0.92rem;
}

.person-list-split .job-row-meta {
  gap: 0.25rem;
  margin-bottom: 0.2rem;
}

.person-list-split .chip,
.person-list-split .person-name {
  min-height: 20px;
  padding: 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
}

.person-list-split .person-name {
  display: inline-flex;
  align-items: center;
  background: rgba(18, 21, 26, 0.06);
  color: var(--text-dark);
}

.person-list-split .time {
  font-size: 0.72rem;
}

.person-list-split .person-row h3 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.person-list-split .person-facts {
  gap: 0.15rem 0.75rem;
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  line-height: 1.3;
}

.person-view-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.person-view-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.person-view-meta {
  margin: 0.25rem 0 0;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
}

.person-privacy-note {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: #f8fafc;
  border-left: 3px solid var(--brand, #e11d2e);
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.person-detail-top {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.person-detail-top h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: #fff;
}

.person-detail-title {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Inner pages */
.page-hero {
  padding: calc(var(--header-h) + 2rem) 0 1.5rem;
  background:
    linear-gradient(180deg, #0b0d10 0%, #171b22 100%);
  color: #fff;
}

.page-hero-compact {
  padding-bottom: 1.75rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.page-hero h1 {
  position: relative;
  padding-top: 0.55rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #fff;
}

.page-hero h1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2em;
  height: 3px;
  border-radius: 2px;
  background: var(--accent, #e11d2e);
}

.page-lead {
  color: var(--text-muted);
  max-width: 34rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.back-link:hover {
  color: #fff;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.6fr repeat(2, 1fr) auto;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.filter-bar-persons {
  grid-template-columns: 1.4fr repeat(3, 1fr) auto;
}

/* Region filter — 시·도 / 시·군·구 */
.region-filter {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line-dark);
}

.region-sido {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.region-sido-item,
.region-district-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  background: rgba(18, 21, 26, 0.04);
  transition: background 0.2s ease, color 0.2s ease;
}

.region-sido-item:hover,
.region-district-item:hover {
  color: var(--text-dark);
  background: rgba(225, 29, 46, 0.08);
}

.region-sido-item.is-active {
  color: #fff;
  background: var(--accent);
}

.region-districts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-dark);
}

.region-district-item.is-active {
  color: var(--accent-deep);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(225, 29, 46, 0.25);
}

.result-location {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  background: #fff;
  color: var(--text-dark);
}

.filter-bar input:focus,
.filter-bar select:focus {
  outline: 2px solid rgba(225, 29, 46, 0.25);
  border-color: var(--accent);
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark-muted);
}

.reset-link {
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.empty-state {
  padding: 4rem 0;
  text-align: center;
}

.empty-state p {
  color: var(--text-dark-muted);
}

.job-detail-top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
}

.job-detail-top h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: #fff;
}

.job-detail-pay {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.job-detail-pay .salary {
  color: #fff;
  font-size: 1.2rem;
}

.job-detail-pay .dan {
  color: var(--text-muted);
}

.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}

.job-detail-body .lead {
  color: var(--text-dark-muted);
  font-size: 1.05rem;
}

.job-description {
  margin: 1.25rem 0 2rem;
  white-space: normal;
  line-height: 1.75;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefit-list li {
  padding: 0.45rem 0.75rem;
  background: rgba(18, 21, 26, 0.06);
  font-size: 0.92rem;
  font-weight: 600;
}

.aside-panel {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line-dark);
}

.aside-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.detail-dl {
  margin: 0 0 1.25rem;
}

.detail-dl > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-dark);
}

.detail-dl dt {
  color: var(--text-dark-muted);
  font-size: 0.82rem;
}

.detail-dl dd {
  margin: 0;
  font-weight: 600;
}

.aside-note {
  margin: 0.75rem 0 0;
  color: var(--text-dark-muted);
  font-size: 0.82rem;
  text-align: center;
}

.detail-mobile-meta {
  display: none;
  margin: 0 0 2rem;
}

/* Job detail view — card summary + location */
.job-view {
  padding: calc(var(--header-h) + 1.5rem) 0 4rem;
  background: var(--surface);
}

.job-view-inner {
  max-width: 900px;
}

.back-link-dark {
  color: var(--text-dark-muted);
  margin-bottom: 1.25rem;
}

.back-link-dark:hover {
  color: var(--text-dark);
}

.job-view-head {
  margin-bottom: 1.5rem;
}

.job-view-dojang {
  margin: 0 0 0.4rem;
  color: var(--text-dark-muted);
  font-weight: 600;
}

.job-view-head h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-dark);
}

.job-view-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.job-view-head-actions form {
  margin: 0;
}

.job-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.job-summary-card {
  padding: 1.1rem 1rem;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--accent);
}

.job-summary-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-dark-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.job-summary-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  word-break: keep-all;
}

.job-info-panel {
  margin-bottom: 2rem;
  padding: 0.35rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line-dark);
}

.job-info-grid {
  margin: 0;
}

.job-info-grid > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-dark);
}

.job-info-grid > div:first-child {
  border-top: 0;
}

.job-info-grid dt {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.job-info-grid dd {
  margin: 0;
  font-weight: 600;
  color: var(--text-dark);
}

.job-view-section {
  margin-bottom: 2rem;
  padding: 1.4rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line-dark);
}

.job-view-section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.job-view-summary {
  margin: 0 0 1rem;
  color: var(--text-dark-muted);
  font-size: 1.02rem;
}

.job-location-box {
  padding: 1.1rem 1.15rem;
  background: rgba(18, 21, 26, 0.03);
  border-left: 3px solid var(--accent);
}

.job-location-name {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.job-location-address {
  margin: 0;
  color: var(--text-dark-muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.job-location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 0.75rem;
}

.job-location-links a {
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.job-location-links a:hover {
  text-decoration: underline;
}

.job-map-wrap {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #e8ecef;
}

.job-map-frame {
  display: block;
  width: 100%;
  height: min(52vw, 360px);
  min-height: 240px;
  border: 0;
}

.job-apply-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #f3f5f7;
}

.job-apply-deadline {
  margin-bottom: 1rem;
}

.job-apply-label {
  display: inline-block;
  min-width: 5.5rem;
  margin-right: 0.5rem;
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.job-apply-deadline-value {
  display: block;
  margin-top: 0.35rem;
  color: #1d4ed8;
  font-size: 1.35rem;
  font-weight: 700;
}

.job-apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.job-apply-dl {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(18, 21, 26, 0.1);
}

.job-apply-dl > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  padding: 0.35rem 0;
}

.job-apply-dl dt {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.job-apply-dl dd {
  margin: 0;
  font-weight: 600;
}

.job-apply-company-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0;
}

.job-company-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 0.45rem;
  background: rgba(18, 21, 26, 0.08);
  color: var(--text-dark-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.job-notice-box {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  background: #f3f5f7;
}

.job-notice-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #f59e0b;
  color: #ea580c;
  font-size: 1.4rem;
  font-weight: 800;
}

.job-notice-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-dark-muted);
  line-height: 1.7;
}

.job-notice-list .is-alert {
  color: #dc2626;
  font-weight: 600;
}

.job-view-cta {
  text-align: center;
}

.job-view-cta .aside-note {
  margin-top: 0.75rem;
}

.job-mobile-bar {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(12px);
  padding: 0.85rem 1.2rem;
  background: #12151a;
  color: #fff;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
  z-index: 100;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer */
.footer-links-bar {
  background: #f3f5f7;
  border-top: 1px solid #eee;
}

.footer-links-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
  padding: 0.7rem 0;
}

.footer-links-inner a {
  color: #555;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-links-inner a:hover {
  color: var(--accent, #e11d2e);
}

.site-footer {
  padding: 2rem 0;
  background: #fff;
  color: #666;
  border-top: 1px solid #eee;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

.footer-brand:hover {
  color: inherit;
}

.footer-brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  padding: 0.35rem 0.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-sizing: content-box;
}

.footer-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, #e11d2e, #9f1239);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.footer-brand-text {
  display: grid;
  gap: 0.1rem;
}

.footer-brand strong {
  display: block;
  margin: 0;
  color: #555;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.footer-brand-text span {
  color: #999;
  font-size: 0.78rem;
}

.footer-meta {
  flex: 1;
  min-width: min(100%, 280px);
}

.footer-meta p {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #777;
}

.footer-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0;
}

.footer-meta-item {
  display: inline;
}

.footer-meta a {
  color: inherit;
  text-decoration: none;
}

.footer-meta a:hover {
  color: #333;
  text-decoration: underline;
}

.footer-sep {
  margin: 0 0.35rem;
  color: #ccc;
}

.footer-copy {
  margin-top: 0.55rem !important;
  color: #999 !important;
}

/* Service / product guide */
.role-guide-head {
  margin-bottom: 1rem;
}

.role-guide-head h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
}

.role-guide-en {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark-muted);
  letter-spacing: 0;
}

.role-guide-lead {
  margin: 0.35rem 0 0;
  color: var(--text-dark-muted);
  line-height: 1.65;
}

.role-guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.role-guide-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--accent, #e11d2e);
}

.role-guide-list strong {
  color: var(--text-dark);
  font-size: 1rem;
}

.role-guide-list span {
  color: var(--text-dark-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.service-intro {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.service-intro h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.service-intro p {
  margin: 0;
  color: var(--text-dark-muted);
  line-height: 1.7;
}

.service-product-list {
  display: grid;
  gap: 1.5rem;
}

.service-product {
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
}

.service-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.service-badge {
  display: inline-flex;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: linear-gradient(120deg, #e11d2e, #9f1239);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-product-head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.text-platinum {
  color: #12151a;
}

.text-vip {
  color: #1a5f8f;
  font-weight: 700;
}

.service-placement {
  margin: 0.35rem 0 0;
  color: var(--text-dark-muted);
  font-size: 0.92rem;
}

.service-summary {
  margin: 0 0 1.25rem;
  color: var(--text-dark);
  line-height: 1.65;
}

.service-product-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
}

.service-product-body-solo {
  grid-template-columns: 1fr;
}

.service-features h4,
.service-prices h4 {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
}

.service-prices h4 span {
  font-weight: 500;
  color: var(--text-dark-muted);
  font-size: 0.85rem;
}

.service-features ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-dark-muted);
  line-height: 1.7;
}

.service-features li + li {
  margin-top: 0.3rem;
}

.service-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.service-price-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.7rem;
  background: #f7f8fa;
  border: 1px solid rgba(18, 21, 26, 0.08);
  border-radius: 10px;
  text-align: center;
}

.service-price-card strong {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.service-price-original {
  color: #999;
  font-size: 0.8rem;
  text-decoration: line-through;
}

.service-price-card em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent, #e11d2e);
  font-size: 1.05rem;
}

.service-bank-card {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
}

.service-bank-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.auth-admin-link {
  margin: 0.85rem 0 0;
  text-align: center;
}

.auth-admin-link a {
  color: rgba(18, 21, 26, 0.35);
  font-size: 0.78rem;
}

.auth-admin-link a:hover {
  color: rgba(18, 21, 26, 0.6);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(18, 21, 26, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.pagination-link:hover {
  border-color: rgba(225, 29, 46, 0.35);
  color: var(--accent, #e11d2e);
}

.pagination-link.is-active {
  border-color: var(--accent, #e11d2e);
  background: var(--accent, #e11d2e);
  color: #fff;
}

/* About (연구소 소개) */
.about-wrap {
  max-width: 900px;
}

.about-toc {
  position: sticky;
  top: calc(var(--header-h) + 0.5rem);
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 2.25rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(18, 21, 26, 0.06);
}

.about-toc a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 0.85rem;
  color: var(--text-dark);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  text-decoration: none;
  line-height: 1.25;
  background: #f4f6f8;
  border: 1px solid rgba(18, 21, 26, 0.12);
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.about-toc a:hover {
  color: #fff;
  background: var(--accent, #e11d2e);
  border-color: var(--accent, #e11d2e);
  transform: translateY(-1px);
}

.about-toc a:focus-visible {
  outline: 2px solid var(--accent, #e11d2e);
  outline-offset: 2px;
}

.about-toc a.is-active {
  color: #fff;
  background: var(--accent, #e11d2e);
  border-color: var(--accent, #e11d2e);
}

.about-block {
  margin: 0 0 2.75rem;
  /* 고정 헤더 + 스티키 목차 높이만큼 여백 (제목이 가려지지 않게) */
  scroll-margin-top: calc(var(--header-h) + 7.75rem);
}

.about-block h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 7.75rem);
}

.about-block > p {
  margin: 0 0 0.85rem;
  color: var(--text-dark-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.about-purpose-lead,
.about-block-lead {
  margin: 0 0 1.1rem;
  color: var(--text-dark);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.about-block-lead {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark-muted);
}

.about-activity-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-activity-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  padding: 1.15rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
}

.about-activity-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(225, 29, 46, 0.1);
  position: relative;
  flex-shrink: 0;
}

.about-activity-icon::before,
.about-activity-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}

.about-activity-card[data-icon="monitor"] .about-activity-icon::before {
  width: 1.35rem;
  height: 1rem;
  border: 2px solid var(--accent, #e11d2e);
  border-radius: 3px;
}
.about-activity-card[data-icon="monitor"] .about-activity-icon::after {
  top: auto;
  bottom: 0.55rem;
  width: 0.7rem;
  height: 2px;
  background: var(--accent, #e11d2e);
}

.about-activity-card[data-icon="briefing"] .about-activity-icon::before {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--accent, #e11d2e);
  border-radius: 50%;
}
.about-activity-card[data-icon="briefing"] .about-activity-icon::after {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent, #e11d2e);
  box-shadow: 0.45rem 0 0 var(--accent, #e11d2e), -0.45rem 0 0 var(--accent, #e11d2e);
}

.about-activity-card[data-icon="report"] .about-activity-icon::before {
  width: 1.05rem;
  height: 1.3rem;
  border: 2px solid var(--accent, #e11d2e);
  border-radius: 2px;
}
.about-activity-card[data-icon="report"] .about-activity-icon::after {
  width: 0.55rem;
  height: 2px;
  background: var(--accent, #e11d2e);
  box-shadow: 0 0.28rem 0 var(--accent, #e11d2e), 0 0.56rem 0 var(--accent, #e11d2e);
  transform: translateY(-0.2rem);
}

.about-activity-card[data-icon="community"] .about-activity-icon::before {
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--accent, #e11d2e);
  border-radius: 50%;
  transform: translate(-0.35rem, -0.15rem);
}
.about-activity-card[data-icon="community"] .about-activity-icon::after {
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--accent, #e11d2e);
  border-radius: 50%;
  transform: translate(0.35rem, 0.2rem);
}

.about-activity-badge {
  margin: 0 0 0.3rem;
  color: var(--accent, #e11d2e);
  font-size: 0.8rem;
  font-weight: 800;
}

.about-activity-copy h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.about-activity-copy p {
  margin: 0 0 0.55rem;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.about-activity-copy .text-link {
  font-size: 0.9rem;
  font-weight: 700;
}

.about-activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.about-activity-list li {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 12px;
}

.about-activity-list strong {
  color: var(--text-dark);
  font-size: 1.02rem;
}

.about-activity-list span {
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.about-history-year {
  margin: 0 0 1.75rem;
}

.about-history-year-label {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.about-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(18, 21, 26, 0.12);
}

.about-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem 1rem;
  margin: 0 0 1.35rem;
  padding-left: 1.25rem;
}

.about-timeline li::before {
  content: '';
  position: absolute;
  left: -0.4rem;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent, #e11d2e);
  box-shadow: 0 0 0 3px #fff;
}

.about-timeline-date {
  color: var(--accent, #e11d2e);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about-timeline-body strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
  font-size: 1.02rem;
}

.about-timeline-body p {
  margin: 0;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.about-director-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.35rem;
  align-items: start;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
}

.about-director-card.has-photo {
  grid-template-columns: minmax(10rem, 13.5rem) 1fr;
}

.about-director-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #eef1f4;
  aspect-ratio: 4 / 5;
}

.about-director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-director-avatar {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a2332, #2f3f55);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}

.about-director-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin: 0 0 0.95rem;
}

.about-director-name strong {
  font-size: clamp(1.45rem, 2.8vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-dark);
}

.about-director-name span {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(225, 29, 46, 0.1);
  color: var(--accent, #e11d2e);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.about-director-tagline {
  margin: 0 0 0.85rem;
  color: var(--text-dark);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.about-director-greeting {
  margin: 0 0 0.85rem !important;
  color: var(--text-dark) !important;
  font-weight: 700 !important;
}

.about-director-info > p:not(.about-director-name):not(.about-director-tagline):not(.about-director-greeting) {
  margin: 0 0 0.75rem;
  color: var(--text-dark-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.about-director-info > p:last-child {
  margin-bottom: 0;
}

.about-photo-hint {
  margin: 0.75rem 0 0;
  color: var(--text-dark-muted);
  font-size: 0.88rem;
}

.about-photo-hint code {
  font-size: 0.85em;
}

/* Survey */
.survey-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.survey-card {
  padding: 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
}

.survey-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.45rem;
}

.survey-card-head h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.survey-meta {
  margin: 0 0 0.55rem;
  color: var(--text-dark-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.survey-summary {
  margin: 0 0 1rem;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.survey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.survey-section {
  margin-bottom: 2.25rem;
}

.survey-section-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.survey-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.survey-section-head .survey-section-title {
  margin: 0;
}

.survey-section-meta {
  margin: 0;
  color: var(--text-dark-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.survey-pagination {
  margin-top: 1.25rem;
}

.survey-section-completed {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(18, 21, 26, 0.08);
}

.survey-card-completed {
  background: #f7f8fa;
}

.admin-survey-row {
  margin: 0 0 1rem;
  padding: 1.1rem 1rem;
  background: #f7f8fa;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 12px;
}

.admin-survey-row-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr auto;
  gap: 0.65rem 0.75rem;
  margin-bottom: 0.65rem;
}

.admin-survey-row label {
  display: grid;
  gap: 0.3rem;
}

.admin-survey-row label > span:first-child {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark-muted);
}

.admin-survey-row input[type="text"],
.admin-survey-row input[type="url"],
.admin-survey-row select,
.admin-survey-row textarea {
  width: 100%;
}

.admin-survey-publish .admin-survey-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-survey-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

@media (max-width: 800px) {
  .admin-survey-row-grid {
    grid-template-columns: 1fr;
  }
}

.about-director-profile {
  margin-top: 1.75rem;
  scroll-margin-top: calc(var(--header-h) + 7.75rem);
}

.about-profile-heading {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.about-profile-grid {
  display: grid;
  gap: 1rem;
}

.about-profile-card {
  padding: 1.2rem 1.15rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
}

.about-profile-card h3,
.about-profile-card h4 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

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

.about-profile-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 0.95rem;
  color: var(--text-dark);
  font-size: 0.96rem;
  line-height: 1.55;
  border-top: 1px solid rgba(18, 21, 26, 0.06);
}

.about-profile-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.about-profile-list li:last-child {
  padding-bottom: 0;
}

.about-profile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent, #e11d2e);
  transform: translateY(-50%);
}

.about-profile-list li:first-child::before {
  top: 0.55em;
}

.org-chart {
  --org-line: rgba(18, 21, 26, 0.2);
  --org-line-strong: rgba(18, 21, 26, 0.28);
  --org-surface: #f4f6f8;
  --org-surface-strong: #eef1f4;
  margin: 0.5rem 0 0.35rem;
  padding: 1.35rem 1rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 249, 251, 0.98) 100%),
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(225, 29, 46, 0.05), transparent 70%);
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(18, 21, 26, 0.04);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.org-chart-image-wrap {
  margin: 0.5rem 0 0.35rem;
  padding: 0.85rem;
  overflow: hidden;
}

.org-chart-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-organization .about-wrap-org {
  max-width: 1120px;
}

.org-layout {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.org-connect {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.org-side-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: 9.5rem;
  flex: 0 0 9.5rem;
  padding-top: 0.45rem;
  box-sizing: border-box;
}

.org-side-wrap .org-box {
  width: 100%;
  min-width: 0;
}

.org-link-h {
  width: 2.5rem;
  height: 2px;
  margin-top: 1.7rem;
  background: var(--org-line-strong);
  flex: 0 0 2.5rem;
  position: relative;
  z-index: 2;
}

.org-root-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.org-stem-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 3.75rem;
  padding-right: 0;
  box-sizing: border-box;
}

.org-stem {
  width: 2px;
  height: 1.15rem;
  margin: 0 auto;
  background: var(--org-line-strong);
  flex-shrink: 0;
}

.org-stem-long {
  height: 3.75rem;
}

.org-spur {
  position: absolute;
  top: 50%;
  left: calc(50% + 1px);
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  z-index: 2;
  max-width: calc(50% - 0.25rem);
}

.org-spur-line {
  width: 1.75rem;
  height: 2px;
  background: var(--org-line-strong);
  flex-shrink: 0;
}

.org-box {
  display: grid;
  gap: 0.18rem;
  justify-items: center;
  align-content: center;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 0.65rem 0.7rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.12);
  border-radius: 12px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(18, 21, 26, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}

.org-box:hover {
  border-color: rgba(18, 21, 26, 0.2);
  box-shadow: 0 8px 18px rgba(18, 21, 26, 0.06);
}

.org-box-root {
  width: min(100%, 12.5rem);
  min-width: 0;
  padding: 0.8rem 1rem 0.85rem;
  background: #fff;
  border-color: rgba(18, 21, 26, 0.12);
  border-width: 1px;
  box-shadow: 0 4px 14px rgba(18, 21, 26, 0.035);
}

.org-box-root:hover {
  border-color: rgba(18, 21, 26, 0.2);
  box-shadow: 0 8px 18px rgba(18, 21, 26, 0.06);
}

.org-box-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.2;
}

.org-box-title {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--text-dark);
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.org-box-root .org-box-title {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.org-box-side,
.org-box-detached {
  min-width: 0;
  width: 100%;
}

.org-box-side {
  background: var(--org-surface);
  border-color: rgba(18, 21, 26, 0.14);
}

.org-box-detached {
  background: #fff;
  border-style: dashed;
  border-color: rgba(18, 21, 26, 0.28);
  box-shadow: none;
}

.org-box-detached:hover {
  box-shadow: none;
  border-color: rgba(18, 21, 26, 0.36);
}

.org-box-ops {
  min-width: 0;
  width: auto;
  max-width: 100%;
  flex: 1 1 auto;
  background: var(--org-surface-strong);
  border-color: rgba(18, 21, 26, 0.16);
  white-space: nowrap;
}

.org-box-team {
  min-width: 0;
  width: 100%;
  min-height: 4.8rem;
  padding: 0.6rem 0.4rem;
  background: #fff;
  border-color: rgba(18, 21, 26, 0.12);
}

.org-box-deputy-n .org-box-title {
  font-size: 0.8rem;
}

.org-box-sub {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark-muted);
  max-width: none;
}

.org-box-sub-soft {
  font-size: 0.64rem;
  font-weight: 500;
  color: rgba(91, 101, 115, 0.92);
}

.org-teams {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 0.55rem;
  row-gap: 0.7rem;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
  position: relative;
  padding-top: 1.1rem;
  margin-top: 0.1rem;
  box-sizing: border-box;
}

.org-teams::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--org-line-strong);
}

.org-team {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  position: relative;
  height: 100%;
}

.org-team::before {
  content: "";
  position: absolute;
  top: -1.1rem;
  left: 50%;
  width: 2px;
  height: 1.1rem;
  background: var(--org-line-strong);
  transform: translateX(-50%);
}

@media (max-width: 1100px) {
  .org-teams {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    column-gap: 0.7rem;
  }

  .org-teams::before {
    left: 16.66%;
    right: 16.66%;
  }

  .org-spur {
    max-width: none;
  }

  .org-box-ops {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .org-chart {
    padding: 1.1rem 0.8rem 1.05rem;
  }

  .org-layout {
    max-width: 100%;
  }

  .org-connect {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .org-side-wrap {
    width: 100%;
    max-width: 14rem;
    flex: 0 1 auto;
    padding-top: 0;
    order: 3;
    margin-top: 0.85rem;
  }

  .org-link-h {
    width: 2px;
    height: 1.1rem;
    margin-top: 0;
    flex: 0 0 auto;
    order: 1;
  }

  .org-root-stack {
    width: 100%;
    order: 0;
  }

  .org-spur {
    position: static;
    transform: none;
    margin: 0.2rem 0 0.15rem;
    flex-direction: column;
    left: auto;
    max-width: 100%;
  }

  .org-spur-line {
    width: 2px;
    height: 1.1rem;
  }

  .org-stem-block {
    min-height: 0;
  }

  .org-stem-long {
    height: 1.15rem;
  }

  .org-box-ops,
  .org-box-root,
  .org-box-side,
  .org-box-detached {
    width: 100%;
    min-width: 0;
  }

  .org-teams {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    column-gap: 0.65rem;
  }

  .org-teams::before {
    left: 25%;
    right: 25%;
  }

  .org-box-sub {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .org-teams {
    grid-template-columns: 1fr;
    max-width: 17rem;
    padding-top: 0.35rem;
  }

  .org-teams::before,
  .org-team::before {
    display: none;
  }

  .org-box {
    min-width: 0;
    width: 100%;
  }

  .org-box-team {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .org-box {
    transition: none;
  }
}

@media (max-width: 640px) {
  .about-toc {
    top: calc(var(--header-h) + 0.4rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.7rem;
  }

  .about-toc a {
    min-height: 3rem;
    font-size: 1.02rem;
    padding: 0.65rem 0.5rem;
  }

  .about-block,
  .about-block h2,
  .about-director-profile {
    /* 모바일은 목차가 3행이라 더 큰 여백 */
    scroll-margin-top: calc(var(--header-h) + 14rem);
  }

  .about-timeline li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .about-activity-grid {
    grid-template-columns: 1fr;
  }

  .about-director-card,
  .about-director-card.has-photo {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .about-director-photo {
    width: min(100%, 16rem);
  }
}

/* Customer center (legacy bank line styles used by checkout) */
.customer-wrap {
  max-width: 980px;
}

.customer-intro {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  color: var(--text-dark-muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.customer-card {
  padding: 1.4rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
}

.customer-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.customer-phone {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent, #e11d2e);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.customer-bank-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 0;
  line-height: 1.35;
}

.customer-bank-name {
  margin: 0;
  color: var(--text-dark-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.customer-bank-account {
  margin: 0;
  color: var(--accent, #e11d2e);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.customer-bank-holder {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 600;
}

.customer-card-bank {
  padding: 1rem 1.15rem;
}

.customer-card-bank h2 {
  margin-bottom: 0.45rem;
}

.customer-phone:hover {
  text-decoration: underline;
}

.customer-hours {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--text-dark-muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

.customer-email {
  margin: 0 0 1.15rem;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
}

.customer-email a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}

.customer-email a:hover {
  color: var(--accent, #e11d2e);
  text-decoration: underline;
}

.customer-card-desc {
  margin: 0 0 1.15rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
}

.customer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

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

.customer-links li + li {
  border-top: 1px solid rgba(18, 21, 26, 0.08);
}

.customer-links a {
  display: block;
  padding: 0.7rem 0;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}

.customer-links a:hover {
  color: var(--accent, #e11d2e);
}

/* Terms */
.terms-wrap {
  max-width: 860px;
}

.terms-doc {
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
}

.terms-doc h2 {
  margin: 1.6rem 0 0.65rem;
  font-size: 1.08rem;
  color: var(--text-dark);
}

.terms-doc h2:first-child {
  margin-top: 0;
}

.terms-doc p,
.terms-doc li {
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.terms-doc p {
  margin: 0 0 0.65rem;
}

.terms-doc ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.terms-doc li + li {
  margin-top: 0.4rem;
}

.terms-effective {
  margin-top: 1.75rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 21, 26, 0.08);
  color: var(--text-dark) !important;
}

@media (max-width: 900px) {
  .customer-grid {
    grid-template-columns: 1fr;
  }
}

/* Auth / membership */
.auth-wrap {
  max-width: 880px;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.9rem;
  background: rgba(18, 21, 26, 0.06);
  font-weight: 700;
  color: var(--text-dark-muted);
}

.admin-tab.is-active {
  background: var(--accent);
  color: #fff;
}

.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 0.55rem;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.admin-table th {
  color: var(--text-dark-muted);
  font-weight: 700;
}

.admin-table form {
  margin: 0;
}

.admin-table .btn {
  min-height: 36px;
  padding: 0.35rem 0.75rem;
}

.auth-wrap-narrow {
  max-width: 440px;
}

.auth-wrap-wide {
  max-width: 960px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-label {
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 700;
}

.radio-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.radio-fieldset legend {
  padding: 0;
  margin-bottom: 0.45rem;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  align-items: center;
  min-height: 44px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  align-items: start;
}

.region-check-fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.region-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .region-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.auth-form .checkbox-grid .radio-option input[type="checkbox"],
.checkbox-grid .radio-option input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  margin: 0;
  padding: 0;
  flex: 0 0 18px;
  border: 2px solid rgba(18, 21, 26, 0.35);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.auth-form .checkbox-grid .radio-option input[type="checkbox"]:checked,
.checkbox-grid .radio-option input[type="checkbox"]:checked {
  border-color: #2563eb;
  background-color: #2563eb;
  background-image: linear-gradient(45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
    linear-gradient(-45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%);
  background-size: 10px 10px, 6px 12px;
  background-position: 3px 4px, 7px 2px;
  background-repeat: no-repeat;
}

@media (max-width: 720px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* Person skill / career chip panels */
.skill-panels {
  display: grid;
  gap: 1rem;
  margin: 0.35rem 0 0.25rem;
}

.skill-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.skill-panel {
  margin: 0;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(225, 29, 46, 0.045), transparent 48%),
    #fbfcfd;
  min-width: 0;
}

.skill-panel-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  float: none;
}

.skill-panel-title {
  position: relative;
  padding-left: 0.7rem;
  color: var(--text-dark);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.skill-panel-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 3px;
  height: 0.9em;
  border-radius: 2px;
  background: var(--accent, #e11d2e);
}

.skill-panel-hint {
  color: var(--text-dark-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-option {
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.auth-form .chip-option {
  display: inline-flex;
  gap: 0;
}

.chip-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chip-face {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(18, 21, 26, 0.12);
  border-radius: 10px;
  background: #fff;
  color: var(--text-dark);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 1px 0 rgba(18, 21, 26, 0.03);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s var(--ease),
    box-shadow 0.18s ease;
}

.chip-face::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border: 1.5px solid rgba(18, 21, 26, 0.28);
  border-radius: 4px;
  background: #fff;
  flex: 0 0 auto;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.chip-option:hover .chip-face {
  border-color: rgba(225, 29, 46, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(18, 21, 26, 0.06);
}

.chip-option input:checked + .chip-face {
  border-color: rgba(225, 29, 46, 0.55);
  background: linear-gradient(180deg, #fff5f5, #ffe9eb);
  color: var(--accent-deep, #a40f1c);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.chip-option input:checked + .chip-face::before {
  border-color: var(--accent, #e11d2e);
  background: var(--accent, #e11d2e);
  box-shadow:
    inset 0 0 0 1.5px #fff,
    inset 0 0 0 3px var(--accent, #e11d2e);
}

.chip-option input:focus-visible + .chip-face {
  outline: 2px solid rgba(225, 29, 46, 0.35);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .skill-panel-grid {
    grid-template-columns: 1fr;
  }

  .skill-panel {
    padding: 0.9rem 0.9rem 1rem;
  }

  .chip-face {
    font-size: 0.84rem;
    padding: 0.38rem 0.75rem;
  }
}

.auth-form .radio-option,
.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
}

.auth-form .radio-option input[type="radio"],
.radio-option input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  margin: 0;
  padding: 0;
  flex: 0 0 18px;
  border: 2px solid rgba(18, 21, 26, 0.35);
  border-radius: 50%;
  background: #fff;
  vertical-align: middle;
  cursor: pointer;
}

.auth-form .radio-option input[type="radio"]:checked,
.radio-option input[type="radio"]:checked {
  border-color: #2563eb;
  background:
    radial-gradient(circle, #2563eb 0 45%, transparent 46%);
}

.auth-form .radio-option input[type="radio"]:focus,
.radio-option input[type="radio"]:focus {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
  border-color: #2563eb;
}

/* 가입 활동지역·거주지역 — 제목 강조 + 선택 시 빨간 네모 */
.auth-form .region-check-fieldset legend,
.region-check-fieldset legend {
  margin: 0 0 0.65rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #12151a !important;
  letter-spacing: -0.02em;
}

.auth-form .region-check-fieldset .field-required,
.region-check-fieldset .field-required {
  font-weight: 700;
  color: var(--accent, #e11d2e) !important;
  font-size: 0.85rem;
}

.auth-form .region-check-grid .radio-option,
.region-check-grid .radio-option {
  padding: 0.5rem 0.55rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #12151a !important;
  font-weight: 700;
}

.auth-form .region-check-grid .radio-option span,
.region-check-grid .radio-option span {
  color: #12151a !important;
  font-weight: 700;
}

.auth-form .region-check-grid .radio-option:has(input:checked),
.region-check-grid .radio-option:has(input:checked),
.auth-form .region-check-grid .radio-option.is-checked,
.region-check-grid .radio-option.is-checked {
  border-color: var(--accent, #e11d2e);
  background: rgba(225, 29, 46, 0.08);
}

.auth-form .region-check-grid .radio-option input[type="radio"],
.region-check-grid .radio-option input[type="radio"] {
  border-radius: 4px !important;
  border: 2px solid rgba(18, 21, 26, 0.45) !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
}

.auth-form .region-check-grid .radio-option input[type="radio"]:checked,
.region-check-grid .radio-option input[type="radio"]:checked {
  border-color: var(--accent, #e11d2e) !important;
  background: var(--accent, #e11d2e) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.auth-form .region-check-grid .radio-option input[type="radio"]:focus,
.region-check-grid .radio-option input[type="radio"]:focus {
  outline: 2px solid rgba(225, 29, 46, 0.28);
  outline-offset: 2px;
  border-color: var(--accent, #e11d2e) !important;
}

.auth-form select,
.auth-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  background: #fff;
  color: var(--text-dark);
  font: inherit;
  font-size: 16px;
}

.auth-form select {
  min-height: 44px;
}

.auth-form textarea {
  resize: vertical;
  line-height: 1.6;
}

.auth-form select:focus,
.auth-form textarea:focus {
  outline: 2px solid rgba(225, 29, 46, 0.25);
  border-color: var(--accent);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.consent-box {
  margin: 1.5rem 0 0.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(26, 32, 41, 0.12);
  border-radius: 12px;
  background: #fafbfc;
}

.consent-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.auth-form .consent-item {
  display: flex;
  gap: 0.65rem;
}

.consent-item input,
.auth-form .consent-item input {
  width: 1.05rem;
  height: 1.05rem;
  min-height: 0;
  margin-top: 0.2rem;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--brand, #e11d2e);
}

.consent-item span,
.auth-form .consent-item span {
  display: block;
  font-weight: 500;
}

.consent-detail-btn {
  display: inline;
  margin-left: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand, #e11d2e);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.consent-hint {
  margin: 0.15rem 0 0 1.7rem;
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  line-height: 1.5;
}

.consent-dialog {
  width: min(640px, calc(100vw - 2rem));
  max-height: min(85vh, 720px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.consent-dialog::backdrop {
  background: rgba(15, 18, 22, 0.55);
}

.consent-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 720px);
}

.consent-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(26, 32, 41, 0.1);
}

.consent-dialog-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.consent-dialog-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: #333;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.consent-dialog-body {
  padding: 1rem 1.15rem;
  overflow: auto;
}

.consent-lead {
  margin: 0 0 1rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.consent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.consent-table th,
.consent-table td {
  padding: 0.85rem 0.75rem;
  border: 1px solid rgba(26, 32, 41, 0.12);
  vertical-align: top;
  text-align: left;
  line-height: 1.55;
}

.consent-table th {
  width: 32%;
  background: #f4f6f8;
  font-weight: 700;
  color: var(--text-dark);
}

.consent-table ul {
  margin: 0;
  padding-left: 1.1rem;
}

.consent-table li + li {
  margin-top: 0.35rem;
}

.consent-dialog-foot {
  padding: 0.85rem 1.15rem 1.1rem;
  border-top: 1px solid rgba(26, 32, 41, 0.1);
  text-align: right;
}

.member-gate-dialog .consent-dialog-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  text-align: center;
}

.form-success-dark {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #fff;
  color: #fff;
}

.my-jobs-card {
  margin-top: 1rem;
}

.my-jobs-card .mypage-title {
  margin: 0;
}

.job-row-manage {
  align-items: center;
}

.applicant-row .job-row-best-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.applicant-row .job-row-best-main h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dark);
}

.applicant-row .job-manage-actions .time {
  margin-right: 0.15rem;
  color: var(--text-dark-muted);
  font-size: 0.8rem;
}

.job-row-manage h3 {
  margin: 0 0 0.35rem;
}

.job-row-manage h3 a:hover {
  color: var(--accent-deep);
}

.job-manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.job-manage-actions .btn {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
}

.job-manage-actions form {
  margin: 0;
}

.aside-panel form {
  margin-top: 0.55rem;
}

.member-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.member-type-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.6rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.member-type-card:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-2px);
}

.member-type-label {
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.member-type-card strong {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.member-type-card p {
  margin: 0;
  color: var(--text-dark-muted);
  flex: 1;
}

.member-type-action {
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.auth-note {
  margin: 1.1rem 0 0;
  padding: 0.85rem 1rem;
  color: var(--text-dark-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  background: rgba(15, 23, 42, 0.04);
  border-left: 3px solid var(--accent);
}

.auth-note a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form .consent-check,
.consent-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.auth-form .consent-check input[type="checkbox"],
.consent-check input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
}

.auth-form .consent-check span,
.consent-check span {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-dark);
}

.auth-form .consent-check a,
.consent-check a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line-dark);
}

.auth-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.auth-form {
  display: grid;
  gap: 0.8rem;
}

.auth-form label {
  display: grid;
  gap: 0.4rem;
}

.auth-form label.chip-option {
  display: inline-flex;
  gap: 0;
}

.auth-form label span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.auth-form .chip-option .chip-face {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
}

.auth-form .chip-option input:checked + .chip-face {
  color: var(--accent-deep, #a40f1c);
}

.auth-form input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  background: #fff;
  color: var(--text-dark);
  font-size: 16px;
}

.auth-form input:not([type="radio"]):not([type="checkbox"]):focus {
  outline: 2px solid rgba(225, 29, 46, 0.25);
  border-color: var(--accent);
}

.auth-form .field-hint {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-dark-muted);
  line-height: 1.4;
}

.auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
}

.auth-switch a {
  color: var(--accent-deep);
  font-weight: 700;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0;
  color: var(--text-dark-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(18, 21, 26, 0.12);
}

.btn-kakao {
  background: #fee500;
  color: #191919;
  border-color: #fee500;
  font-weight: 700;
}

.btn-kakao:hover {
  background: #f5dc00;
  color: #191919;
}

.btn-naver {
  background: #03c75a;
  color: #fff;
  border-color: #03c75a;
  font-weight: 700;
}

.btn-naver:hover {
  background: #02b350;
  color: #fff;
}

.auth-social-btns {
  display: grid;
  gap: 0.55rem;
}

.auth-type-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.auth-type-fieldset legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.auth-type-radios {
  display: grid;
  gap: 0.45rem;
}

.checkout-summary {
  margin: 1rem 0 0.5rem;
  text-align: center;
}

.checkout-summary p {
  margin: 0.2rem 0;
}

.checkout-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-deep, #a40f1c);
}

.form-errors {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(225, 29, 46, 0.08);
  border-left: 3px solid var(--accent);
}

.form-errors ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--accent-deep);
  font-size: 0.92rem;
}

.form-success {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(18, 21, 26, 0.06);
  border-left: 3px solid var(--text-dark);
  font-weight: 600;
}

.mypage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mypage-dl {
  margin-bottom: 1.25rem;
}

.mypage-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.mypage-desc {
  margin: 0 0 1.1rem;
  color: var(--text-dark-muted);
}

.mypage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mypage-profile-actions {
  margin-top: 1.1rem;
}

.mypage-profile-actions .btn {
  flex: 1;
  text-align: center;
}

.field-optional {
  font-weight: 400;
  color: var(--text-dark-muted);
  font-size: 0.9em;
}

/* Responsive */
@media (max-width: 900px) {
  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar .filter-search {
    grid-column: 1 / -1;
  }

  .filter-bar .btn {
    grid-column: 1 / -1;
  }

  .region-sido {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }

  .region-sido-item {
    flex: 0 0 auto;
  }

  .job-detail-layout,
  .job-detail-top {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .job-detail-pay,
  .job-row-side {
    align-items: flex-start;
    text-align: left;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .btn {
    width: 100%;
  }

  .cta-band .hero-actions {
    width: 100%;
  }

  .time {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 60px;
  }

  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .site-header {
    background: rgba(11, 13, 16, 0.92);
    backdrop-filter: blur(12px);
  }

  .header-inner {
    gap: 0.35rem;
  }

  .header-tools {
    display: flex;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    padding: 0.5rem 1rem calc(1rem + env(safe-area-inset-bottom));
    background: rgba(11, 13, 16, 0.98);
    border-bottom: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 1rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }

  .nav-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .nav-item::after {
    content: none;
  }

  .nav-item > .nav-top {
    flex: 1;
    border-bottom: 0;
  }

  .nav-item-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .nav-dropdown {
    position: static;
    display: none;
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
    left: auto;
    top: auto;
    padding: 0 0 0.5rem 0.75rem;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none !important;
  }

  .nav-item.is-open .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: flex;
    flex-direction: column;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* 터치 기기: hover로 하위메뉴를 띄우지 않음 (토글 버튼만 사용) */
  .nav-item:hover .nav-dropdown {
    display: none;
  }

  .nav-item.is-open:hover .nav-dropdown {
    display: flex;
  }

  .nav-dropdown a {
    padding: 0.65rem 0.5rem;
    border-bottom: 0;
    font-size: 0.95rem;
    color: rgba(242, 244, 247, 0.7);
  }

  .nav-cta {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    text-align: center;
    border-radius: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-gradient {
    background:
      linear-gradient(180deg, rgba(11, 13, 16, 0.12) 0%, rgba(11, 13, 16, 0.28) 42%, rgba(11, 13, 16, 0.72) 100%),
      linear-gradient(90deg, rgba(11, 13, 16, 0.22) 0%, rgba(11, 13, 16, 0.06) 55%, rgba(11, 13, 16, 0.14) 100%),
      url("../../images/hero-hanam.jpg") 62% center / cover no-repeat;
    filter: brightness(1.16) contrast(1.05) saturate(1.06);
  }

  .hero-silhouette {
    width: min(70vw, 280px);
    opacity: 0.45;
  }

  .hero-content {
    width: min(100% - 1.25rem, var(--container));
    max-width: none;
    flex: 0 0 auto;
    margin: auto auto 0;
    padding: 0.75rem 0 calc(3.5rem + env(safe-area-inset-bottom));
  }

  .hero-brand {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    margin-bottom: 0.55rem;
  }

  .hero-title {
    font-size: clamp(0.98rem, 3.9vw, 1.12rem);
    margin-bottom: 0.65rem;
    line-height: 1.4;
  }

  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 1.15rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.7rem;
  }

  .hero-primary-pair {
    width: 100%;
    gap: 0.55rem;
  }

  .hero-primary-pair .btn {
    min-height: 48px;
    font-size: 1rem;
    border-radius: 14px;
  }

  .hero-secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-secondary-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 0.9rem;
  }

  .hero-secondary-actions .btn:only-child {
    grid-column: 1 / -1;
  }

  .hero-scroll {
    align-self: flex-end;
    margin: 0.15rem 0.25rem 0;
  }

  .hero-scroll-label {
    font-size: 0.64rem;
  }

  #latest-board {
    scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.25rem);
  }

  .section {
    padding: 2.85rem 0;
  }

  .section-head {
    margin-bottom: 1.15rem;
  }

  .section-head h2 {
    font-size: 1.4rem;
  }

  .region-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .region-link {
    min-height: 52px;
    font-size: 0.95rem;
  }

  .cta-band {
    padding: 1.5rem;
    border-radius: var(--radius);
  }

  .job-premium-grid,
  .job-platinum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .job-view-desktop {
    display: none !important;
  }

  .job-list.job-view-mobile {
    display: flex;
  }

  .job-card,
  .job-card-platinum {
    min-height: 0;
  }

  .job-card-head {
    min-height: 2.35rem;
    padding: 0.45rem 0.65rem;
  }

  .job-card-dojang-name {
    font-size: 0.92rem;
    font-weight: 800;
  }

  .job-card-body {
    padding: 0.55rem 0.6rem 0.55rem;
    gap: 0.3rem;
  }

  .job-card h3,
  .job-card-platinum h3 {
    font-size: 0.9rem;
  }

  .job-card-meta,
  .job-card-platinum .job-card-meta {
    font-size: 0.72rem;
  }

  .job-card-foot .salary {
    font-size: 0.82rem;
  }

  .badge-tier-sm {
    font-size: 0.6rem;
    padding: 0.08rem 0.32rem;
  }

  .job-list-compact .job-row-meta .badge-platinum,
  .job-list-compact .job-row-meta .badge-premium {
    margin-right: 0.1rem;
  }

  .job-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.9rem 0;
  }

  .job-row.job-row-best {
    grid-template-columns: minmax(0, 1fr) 4.8rem;
    align-items: center;
    gap: 0.5rem 0.4rem;
  }

  .job-row-best .job-row-side {
    min-width: 0;
    gap: 0.12rem;
  }

  .job-row-best .job-row-side .time,
  .job-row-best .job-row-side .dan {
    font-size: 0.7rem;
  }

  .job-row-best .job-row-side .salary {
    font-size: 0.78rem;
  }

  .job-list-compact .job-row {
    gap: 0.35rem;
    padding: 0.7rem 0;
  }

  .job-list-compact .job-row-side {
    gap: 0.35rem 0.65rem;
  }

  .job-list-compact .job-row h3 {
    font-size: 1.05rem;
  }

  .job-list-split {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .person-list-split {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .job-row:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .job-row:active {
    background: rgba(225, 29, 46, 0.05);
  }

  .job-row h3 {
    font-size: 1.05rem;
  }

  .job-row-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    min-width: 0;
  }

  .job-row-meta .time {
    margin-left: 0;
  }

  .page-hero {
    padding: calc(var(--header-h) + 1.35rem) 0 1.25rem;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 7.5vw, 2rem);
  }

  .filter-bar {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .filter-bar-persons {
    grid-template-columns: 1fr;
  }

  .filter-bar .btn {
    width: 100%;
  }

  .filter-bar input,
  .filter-bar select {
    font-size: 16px;
  }

  .person-row {
    grid-template-columns: 48px 1fr;
    gap: 0.75rem;
    padding: 0.9rem 0;
  }

  .person-avatar {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .person-row h3 {
    font-size: 1.05rem;
  }

  .person-list-split .person-row h3 {
    font-size: 1.05rem;
  }

  .person-facts {
    flex-direction: column;
    gap: 0.25rem;
  }

  .person-detail-top {
    align-items: flex-start;
  }

  .region-filter {
    padding: 0.85rem;
  }

  .region-districts {
    max-height: 180px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .region-district-item {
    min-height: 40px;
    font-size: 0.86rem;
  }

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

  .job-apply-box,
  .job-notice-box {
    grid-template-columns: 1fr;
  }

  .job-info-grid > div,
  .job-info-wide {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .job-view {
    padding-bottom: 6rem;
  }

  .job-apply-desktop {
    display: none;
  }

  .job-view-cta {
    display: none;
  }

  .job-mobile-bar:not([hidden]) {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line-dark);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12);
  }

  .job-mobile-bar .btn {
    min-height: 52px;
  }

  .page-job .site-footer {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  }

  .job-detail-top h1 {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
  }

  .job-detail-layout {
    gap: 1.5rem;
    padding-bottom: 5.5rem;
  }

  .aside-panel {
    position: static;
  }

  .detail-mobile-meta {
    display: block;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    transform: translateY(12px);
    text-align: center;
    border-radius: 14px;
  }

  .toast.is-visible {
    transform: translateY(0);
  }

  .footer-links-inner {
    justify-content: center;
    gap: 0.55rem 1rem;
    text-align: center;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: minmax(96px, 0.9fr) minmax(0, 1.4fr);
    align-items: start;
    gap: 0.85rem 1rem;
    text-align: left;
  }

  .footer-brand {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .footer-brand-logo {
    height: 42px;
    max-width: 100%;
    padding: 0.28rem 0.38rem;
  }

  .footer-brand-text {
    justify-items: center;
    width: 100%;
  }

  .footer-brand strong {
    font-size: 1rem;
  }

  .footer-brand-text span {
    font-size: 0.7rem;
  }

  .footer-meta {
    width: 100%;
    min-width: 0;
  }

  .footer-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.55rem;
  }

  .footer-meta-item {
    display: block;
    width: 100%;
    font-size: 0.75rem;
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .footer-sep {
    display: none;
  }

  .footer-copy {
    margin-top: 0.15rem !important;
    font-size: 0.7rem !important;
  }

  .site-footer {
    padding: 1.35rem 0 calc(1.35rem + env(safe-area-inset-bottom));
  }

  .page-job .site-footer,
  .page-person .site-footer {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  }

  .service-product-body {
    grid-template-columns: 1fr;
  }

  .service-price-grid {
    grid-template-columns: 1fr;
  }

  .member-type-grid,
  .mypage-grid,
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .job-row-manage {
    align-items: flex-start;
  }

  .job-manage-actions {
    width: 100%;
  }

  .job-manage-actions .btn,
  .job-manage-actions form {
    flex: 1;
  }

  .job-manage-actions form .btn {
    width: 100%;
  }

  .mypage-actions {
    flex-direction: column;
  }

  .mypage-actions .btn {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .region-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .chip {
    font-size: 0.72rem;
  }
}

@media (hover: none) {
  .btn:hover {
    transform: none;
  }

  .region-link:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-gradient,
  .hero-silhouette,
  .hero-scroll-mouse span {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.career-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.career-toolbar .filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1;
}

.career-toolbar .filter-form input[type="search"] {
  min-width: min(100%, 220px);
  flex: 1;
}

.career-table-wrap {
  margin-top: 8px;
}

.career-table td .text-muted {
  color: var(--text-muted);
  font-size: 0.9em;
}

.career-past-section {
  margin: 8px 0 20px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.page-auth .career-past-section {
  border-color: rgba(18, 21, 26, 0.08);
  background: rgba(18, 21, 26, 0.03);
}

.career-past-item {
  padding: 12px 0;
  border-top: 1px solid rgba(18, 21, 26, 0.08);
}

.career-past-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.career-past-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.career-past-summary {
  margin: 8px 0 0;
  padding-left: 1.1rem;
  color: var(--text-dark-muted, #5b6573);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* 경력증명서 */
.cert-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.cert-sheet-wrap {
  background: #e8eaed;
}

.cert-sheet {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 2.25rem 2rem;
  background: #fff;
  color: #12151a;
  border: 2px solid rgba(18, 21, 26, 0.55);
  outline: 1px solid rgba(18, 21, 26, 0.18);
  outline-offset: -8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: min(92vh, 1100px);
}

.cert-sheet-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cert-org {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5b6573;
}

.cert-title {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
}

.cert-doc-type {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #7a8491;
}

.cert-no {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  color: #5b6573;
}

.cert-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(18, 21, 26, 0.16);
  background: #f7f8fa;
  font-size: 0.88rem;
}

.cert-meta-label {
  display: block;
  margin-bottom: 0.2rem;
  color: #5b6573;
  font-size: 0.78rem;
}

.cert-meta strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cert-lead,
.cert-closing {
  margin: 0 0 1.1rem;
  line-height: 1.7;
  font-size: 0.98rem;
}

.cert-subtitle {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.cert-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cert-table th,
.cert-table td {
  border: 1px solid rgba(18, 21, 26, 0.18);
  padding: 0.65rem 0.75rem;
  vertical-align: top;
}

.cert-table th {
  width: 18%;
  background: #f4f6f8;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.cert-table-list th {
  width: auto;
}

.cert-verify-box {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0.25rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(18, 21, 26, 0.28);
  background: #fafbfc;
}

.cert-verify-copy {
  min-width: 0;
  flex: 1;
}

.cert-verify-title {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.cert-verify-url {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  word-break: break-all;
  color: #1a2330;
  font-weight: 600;
}

.cert-verify-note {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: #5b6573;
  line-height: 1.5;
}

.cert-verify-qr {
  margin: 0;
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cert-verify-qr-code {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto;
  padding: 0.2rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cert-verify-qr-code svg,
.cert-verify-qr-code img {
  width: 100%;
  height: 100%;
  display: block;
}

.cert-verify-qr-caption {
  display: none;
}

.cert-footer {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
}

.cert-date {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.cert-issuer-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 420px;
}

.cert-issuer-text {
  text-align: right;
  min-width: 180px;
}

.cert-issuer-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
}

.cert-issuer-sub,
.cert-issuer-ceo,
.cert-issuer-biz {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: #3a4450;
  font-weight: 600;
}

.cert-issuer {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.55;
}

.cert-seal {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  transform: rotate(-6deg);
}

.cert-seal-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.cert-seal-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cert-disclaimer {
  margin: 1.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #6a7380;
}

.cert-verify-badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid #1b7a45;
  color: #146338;
  background: #eaf7ef;
  font-size: 0.88rem;
  font-weight: 700;
}

.cert-table-list th,
.cert-table-list td {
  text-align: center;
}

.cert-address {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
  color: #5b6573;
}

.cert-print-root {
  position: relative;
}

.cert-print-running,
.cert-page-numbers {
  display: none;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 12mm 16mm;
  }

  .site-header,
  .site-footer,
  .footer-links-bar,
  .no-print,
  .cert-toolbar {
    display: none !important;
  }

  body.page-certificate-print {
    background: #fff !important;
  }

  body.page-certificate-print main {
    padding: 0 !important;
    margin: 0 !important;
  }

  .cert-sheet-wrap {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .cert-sheet-wrap > .container,
  .cert-print-root {
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .cert-sheet {
    max-width: none;
    margin: 0;
    padding: 10mm 5mm 14mm;
    border: 2px solid #12151a;
    outline: none;
    box-shadow: none;
    min-height: 0 !important;
    height: auto !important;
    display: block;
    overflow: visible;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .cert-print-running {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    align-items: center;
    justify-content: space-between;
    padding: 0 2mm 2mm;
    border-bottom: 1px solid rgba(18, 21, 26, 0.25);
    font-size: 8.5pt;
    color: #44505c;
    background: #fff;
  }

  .cert-print-running-title {
    font-weight: 700;
  }

  .cert-page-numbers {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 6;
  }

  .cert-page-num {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 9pt;
    font-weight: 600;
    color: #44505c;
  }

  .cert-sheet-head,
  .cert-meta,
  .cert-lead,
  .cert-closing,
  .cert-verify-box,
  .cert-footer,
  .cert-issuer-block,
  .cert-subtitle {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* 미리보기와 동일하게 배경·테두리 인쇄 */
  .cert-meta {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.65rem;
    margin: 0 0 1.25rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(18, 21, 26, 0.22) !important;
    background: #f7f8fa !important;
    font-size: 0.88rem;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .cert-meta-label {
    display: block;
    margin-bottom: 0.2rem;
    color: #5b6573 !important;
    font-size: 0.78rem;
  }

  .cert-meta strong {
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #12151a !important;
  }

  .cert-table th {
    background: #f4f6f8 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .cert-verify-box {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem;
    background: #fafbfc !important;
    border: 1px dashed rgba(18, 21, 26, 0.28) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .cert-verify-copy {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .cert-verify-qr {
    flex: 0 0 auto !important;
    align-self: center !important;
  }

  .cert-verify-qr-code {
    width: 5.5rem !important;
    height: 5.5rem !important;
  }

  .cert-table {
    break-inside: auto;
    page-break-inside: auto;
  }

  .cert-table thead {
    display: table-header-group;
  }

  .cert-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .cert-footer {
    margin-top: 12mm;
    padding-top: 6mm;
  }

  .cert-seal,
  .cert-seal-img,
  .cert-verify-qr-code,
  .cert-verify-qr-code svg {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  main {
    padding: 0 !important;
  }
}

@media screen {
  .no-screen {
    display: none !important;
  }
}

@media screen and (max-width: 720px) {
  .cert-sheet {
    padding: 1.35rem 1rem 1.2rem;
  }

  .cert-title {
    font-size: 1.45rem;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  .cert-meta {
    grid-template-columns: 1fr;
  }

  .cert-verify-box {
    flex-direction: column;
    align-items: stretch;
  }

  .cert-verify-qr {
    align-self: center;
  }

  .cert-issuer-text {
    text-align: center;
  }

  .cert-table th,
  .cert-table td {
    font-size: 0.88rem;
    padding: 0.5rem;
  }
}

/* Media (SNRI-inspired: HL-TV / 시민브리핑) */
.media-wrap {
  max-width: 960px;
}

.media-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 12px;
}

.media-subnav-item {
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  color: var(--text-dark-muted);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.media-subnav-item:hover {
  color: var(--accent, #e11d2e);
  background: rgba(225, 29, 46, 0.06);
}

.media-subnav-item.is-active {
  color: #fff;
  background: var(--accent, #e11d2e);
}

.media-board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.media-board-title {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.media-board-count {
  margin: 0;
  color: var(--text-dark-muted);
  font-size: 0.92rem;
}

.media-search {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 12px;
}

.media-search select,
.media-search input[type="search"] {
  min-height: 2.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  font: inherit;
}

.media-search select {
  flex: 0 0 auto;
  min-width: 5.5rem;
}

.media-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

.media-search-btn {
  flex: 0 0 auto;
}

.media-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.media-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
  overflow: hidden;
}

.media-card-link {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.media-card-link:hover .media-card-title {
  color: var(--accent, #e11d2e);
}

.media-card-link:hover .media-card-more {
  text-decoration: underline;
}

.media-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #1a2332 0%, #2c3e55 55%, #3d4f66 100%);
  overflow: hidden;
}

.media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-card-thumb-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.media-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(225, 29, 46, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.media-card-play::before {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.9rem;
  border-color: transparent transparent transparent #fff;
}

.media-card-body {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem 1.15rem;
}

.media-card-issue {
  margin: 0;
  color: var(--accent, #e11d2e);
  font-size: 0.82rem;
  font-weight: 700;
}

.media-card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.media-card-summary {
  margin: 0.15rem 0 0;
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-card-more {
  margin-top: 0.45rem;
  color: var(--text-dark-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.media-pagination {
  margin-top: 1.75rem;
}

.media-empty {
  margin-top: 0.5rem;
}

.media-view-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.media-view-kicker a {
  color: inherit;
  text-decoration: none;
}

.media-view-kicker a:hover {
  color: var(--accent, #e11d2e);
}

.media-view-issue {
  margin-right: 0.65rem;
  color: var(--accent, #e11d2e);
  font-weight: 700;
}

.media-view-date {
  color: var(--text-dark-muted);
}

.media-view-article {
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1.5rem;
}

.media-view-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.25rem;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
}

.media-view-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.media-view-figure {
  margin: 0 0 1.25rem;
}

.media-view-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.media-view-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.25rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #1a2332 0%, #2c3e55 55%, #3d4f66 100%);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.4rem;
}

.media-view-summary {
  margin: 0 0 1rem;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 600;
}

.media-view-body p {
  margin: 0 0 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.75;
}

.media-view-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(18, 21, 26, 0.08);
}

.media-view-actions #mediaCopyLink.is-copied {
  border-color: rgba(22, 163, 74, 0.45);
  color: #15803d;
}

.media-view-actions form {
  display: inline;
  margin: 0;
}

.media-cardnews {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
}

.media-cardnews-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(18, 21, 26, 0.08);
  background: #f3f4f6;
}

.media-cardnews-item img {
  display: block;
  width: 100%;
  height: auto;
}

.media-form-keep-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
}

.media-form-keep-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 5.5rem;
  font-size: 0.82rem;
  color: var(--text-dark-muted);
}

.media-form-keep-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(18, 21, 26, 0.1);
}

.media-card-admin-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem 0.85rem;
  border-top: 1px dashed rgba(18, 21, 26, 0.1);
}

.media-card-admin-tools form {
  margin: 0;
}

@media (max-width: 720px) {
  .media-card-list {
    grid-template-columns: 1fr;
  }

  .media-search {
    flex-wrap: nowrap;
    gap: 0.3rem;
    margin-bottom: 0.85rem;
    padding: 0.28rem;
  }

  .media-search select,
  .media-search input[type="search"],
  .media-search .media-search-btn.btn {
    box-sizing: border-box;
    min-height: 30px !important;
    height: 30px !important;
    max-height: 30px !important;
    padding: 0 0.45rem !important;
    font-size: 0.8rem !important;
    line-height: 30px !important;
    border-radius: 6px;
  }

  .media-search select {
    flex: 0 0 auto;
    min-width: 3.4rem;
    max-width: 4.2rem;
    padding-right: 0.2rem !important;
  }

  .media-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
  }

  .media-search .media-search-btn.btn {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 2.8rem;
    white-space: nowrap;
  }
}

/* Citizen briefing */
.briefing-wrap {
  max-width: 920px;
}

.briefing-filters {
  margin: 0 0 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
}

.briefing-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
}

.briefing-filters label {
  display: grid;
  gap: 0.35rem;
}

.briefing-filters label span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark-muted);
}

.briefing-filters select,
.briefing-filters input[type="search"] {
  min-height: 2.55rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.briefing-filter-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.briefing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
}

.briefing-result {
  margin: 0.85rem 0 1rem;
  color: var(--text-dark-muted);
  font-size: 0.92rem;
}

.briefing-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.briefing-card {
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
  overflow: hidden;
}

.briefing-card-link {
  display: flex;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 1rem 1.1rem;
  color: inherit;
  text-decoration: none;
}

.briefing-card-body {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 auto;
}

.briefing-card-thumb {
  display: block;
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 88px;
  order: 0;
  background: #e8edf2;
  border: 1px solid rgba(18, 21, 26, 0.1);
}

.briefing-card-thumb.is-empty {
  background: linear-gradient(145deg, #eef2f6 0%, #e2e8f0 100%);
  border-style: dashed;
}

.briefing-card-thumb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 8px;
}

.briefing-card-thumb-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.briefing-card-thumb img {
  width: 88px !important;
  height: 88px !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}

.briefing-card-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-width: 5.5rem;
  text-align: right;
}

.briefing-card-aside .briefing-likes {
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark-muted, #5b6573);
}

.briefing-card-date {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dark-muted, #5b6573);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.briefing-card-link:hover .briefing-card-title {
  color: var(--accent, #e11d2e);
}

.briefing-card-top {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.briefing-status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.briefing-status.is-reviewing {
  color: #8a5a00;
  background: #fff4d6;
}

.briefing-status.is-delivered {
  color: #0b5cab;
  background: #e7f2ff;
}

.briefing-status.is-improved {
  color: #0f6b3c;
  background: #e6f7ee;
}

.briefing-likes {
  color: var(--text-dark-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.briefing-card-title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.briefing-card-summary {
  margin: 0;
  color: var(--text-dark-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.briefing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.briefing-view-article {
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1.5rem;
}

.briefing-view-summary {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.65;
}

.briefing-view-body p {
  margin: 0 0 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.75;
}

.briefing-engage {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 21, 26, 0.08);
}

/* 불편제로 상세 — 공감·수정 액션 */
.complaint-engage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(18, 21, 26, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
}

.complaint-engage-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.complaint-like-form {
  margin: 0;
}

.complaint-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border: 1px solid rgba(18, 21, 26, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--text-dark);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(18, 21, 26, 0.04);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.complaint-like-btn:hover {
  border-color: rgba(225, 29, 46, 0.35);
  transform: translateY(-1px);
}

.complaint-like-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.complaint-like-btn.is-liked {
  background: #fff;
  border-color: rgba(225, 29, 46, 0.35);
  color: var(--text-dark);
  box-shadow: 0 1px 2px rgba(18, 21, 26, 0.04);
}

.complaint-like-btn.is-liked:hover {
  background: #fff;
  border-color: rgba(225, 29, 46, 0.5);
  color: var(--text-dark);
}

.complaint-like-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--accent);
}

.complaint-like-icon svg,
.complaint-heart {
  width: 100%;
  height: 100%;
  display: block;
}

.complaint-heart.is-outline {
  color: var(--accent);
}

.complaint-heart.is-filled {
  fill: var(--accent);
  color: var(--accent);
}

.complaint-like-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(18, 21, 26, 0.06);
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.complaint-like-btn.is-liked .complaint-like-count {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.complaint-engage-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.complaint-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.complaint-edit-btn:hover {
  color: var(--text-dark);
  border-color: rgba(18, 21, 26, 0.28);
  background: #fff;
}

.complaint-edit-btn svg {
  flex-shrink: 0;
}

button.complaint-edit-btn {
  cursor: pointer;
  font: inherit;
}

.complaint-delete-btn {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.22);
}

.complaint-delete-btn:hover {
  color: #912018;
  border-color: rgba(180, 35, 24, 0.4);
  background: #fff8f7;
}

@media (max-width: 560px) {
  .complaint-engage {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .complaint-engage-tools {
    justify-content: flex-end;
    padding-top: 0.15rem;
    border-top: 1px dashed rgba(18, 21, 26, 0.1);
  }

  .complaint-like-btn {
    width: 100%;
    justify-content: center;
  }
}

.briefing-share {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 21, 26, 0.08);
}

.briefing-share-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.briefing-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.briefing-comment-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.briefing-comment-list li {
  padding: 0.85rem 0.95rem;
  background: #f7f8fa;
  border-radius: 10px;
}

.briefing-comment-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.briefing-comment-head time {
  color: var(--text-dark-muted);
}

.briefing-comment-list p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .briefing-filter-row {
    grid-template-columns: 1fr 1fr;
  }

  .briefing-filter-search,
  .briefing-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .briefing-filter-row {
    grid-template-columns: 1fr;
  }

  .briefing-card-link {
    gap: 0.7rem;
    padding: 0.9rem;
  }

  .briefing-card-thumb {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    flex-basis: 72px;
  }

  .briefing-card-thumb img {
    width: 72px !important;
    height: 72px !important;
  }

  .briefing-card-aside {
    min-width: 4.6rem;
    gap: 0.35rem;
  }

  .briefing-card-aside .briefing-likes,
  .briefing-card-date {
    font-size: 0.78rem;
  }
}

.admin-history-year {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 12px;
  background: #f8f9fb;
}

.admin-history-year-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 0.85rem;
}

.admin-history-year-head label {
  display: grid;
  gap: 0.3rem;
  min-width: 8rem;
}

.admin-history-year-head span,
.admin-history-item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark-muted);
}

.admin-history-year-head input,
.admin-history-item input {
  min-height: 2.4rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.admin-history-items {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.admin-history-item {
  display: grid;
  grid-template-columns: 6.5rem 1fr 1.4fr auto;
  gap: 0.5rem;
  align-items: end;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.08);
  border-radius: 10px;
}

.admin-history-item label {
  display: grid;
  gap: 0.25rem;
}

@media (max-width: 800px) {
  .admin-history-item {
    grid-template-columns: 1fr;
  }
}

.admin-profile-section {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 12px;
  background: #f8f9fb;
}

.admin-profile-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.admin-profile-section-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.admin-profile-items {
  display: grid;
  gap: 0.55rem;
}

.admin-profile-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(18, 21, 26, 0.08);
  border-radius: 10px;
}

.admin-profile-item label {
  display: block;
  min-width: 0;
}

.admin-profile-item input {
  width: 100%;
  min-height: 2.4rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}

.admin-profile-photo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.admin-profile-photo-preview {
  width: 8rem;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f4;
  border: 1px solid rgba(18, 21, 26, 0.1);
  display: grid;
  place-items: center;
}

.admin-profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.admin-profile-photo-empty {
  color: var(--text-dark-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-profile-photo-controls {
  min-width: 0;
}

.admin-profile-photo-file {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark-muted);
}

.admin-profile-photo-file input[type="file"] {
  width: 100%;
  font: inherit;
}

.admin-org-chart-photo {
  align-items: center;
}

.admin-org-chart-preview {
  width: min(100%, 22rem);
  aspect-ratio: 16 / 9;
}

.admin-org-chart-preview img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.admin-profile-photo-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
}

@media (max-width: 640px) {
  .admin-profile-photo {
    grid-template-columns: 1fr;
  }
}

.org-members-block {
  margin-top: 1.75rem;
}

.org-members-table-wrap,
.admin-org-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(18, 21, 26, 0.1);
  border-radius: 12px;
  background: #fff;
}

.org-members-table,
.admin-org-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.org-members-table th,
.org-members-table td,
.admin-org-table th,
.admin-org-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(18, 21, 26, 0.08);
  vertical-align: middle;
}

.org-members-table th,
.admin-org-table th {
  background: #f7f8fa;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  white-space: nowrap;
}

.org-members-table tr:last-child td,
.admin-org-table tr:last-child td {
  border-bottom: 0;
}

.org-members-table td {
  color: var(--text-dark);
  line-height: 1.45;
}

.admin-org-table th:last-child,
.admin-org-table td:last-child {
  width: 8.5rem;
  min-width: 8.5rem;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.admin-org-row-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.admin-org-move-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2rem;
  min-width: 2rem;
  padding: 0.2rem 0.4rem;
  border: 1px solid rgba(18, 21, 26, 0.2);
  border-radius: 6px;
  background: #f7f8fa;
  color: #12151a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.admin-org-move-btn:hover {
  background: #eceef2;
  border-color: rgba(18, 21, 26, 0.35);
}

.admin-org-move-btn-danger {
  min-width: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.28);
  background: #fff5f5;
}

.admin-org-move-btn-danger:hover {
  background: #ffe8e8;
  border-color: rgba(185, 28, 28, 0.45);
}

.admin-org-table input[type="text"],
.admin-org-table select {
  width: 100%;
  min-height: 2.4rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(18, 21, 26, 0.14);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}

.admin-org-table select {
  cursor: pointer;
}





