/* 사범넷 — 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%;
}

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: space-between;
  gap: 1rem;
}

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

.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;
  gap: 1.25rem;
}

.nav a {
  color: rgba(242, 244, 247, 0.82);
  font-weight: 500;
  font-size: 0.9rem;
  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;
}

.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: grid;
  align-items: 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("https://images.unsplash.com/photo-1555597673-b21d5c935865?auto=format&fit=crop&w=2000&q=80") 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 {
  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.3rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

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

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

.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;
}

.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;
}

@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-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 */
.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;
}

.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;
}

/* Customer center */
.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;
}

.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 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-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-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;
}

.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;
}

/* 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);
  }

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

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 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.05rem;
  }

  .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;
    align-items: end;
  }

  .hero-gradient {
    background:
      linear-gradient(180deg, rgba(11, 13, 16, 0.45) 0%, rgba(11, 13, 16, 0.7) 38%, rgba(11, 13, 16, 0.96) 100%),
      linear-gradient(90deg, rgba(11, 13, 16, 0.7) 0%, rgba(11, 13, 16, 0.35) 100%),
      url("https://images.unsplash.com/photo-1555597673-b21d5c935865?auto=format&fit=crop&w=1200&q=75") 62% center / cover no-repeat;
  }

  .hero-silhouette {
    width: min(70vw, 280px);
    opacity: 0.45;
  }

  .hero-content {
    width: min(100% - 1.25rem, var(--container));
    max-width: none;
    margin: 0 auto;
    padding: calc(var(--header-h) + 2rem) 0 calc(3.5rem + env(safe-area-inset-bottom));
  }

  .hero-brand {
    font-size: clamp(1.85rem, 10vw, 2.5rem);
  }

  .hero-title {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    align-self: flex-end;
    margin: 0.15rem 0.25rem 0;
  }

  .hero-scroll-label {
    font-size: 0.64rem;
  }

  .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;
}

