@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --ink: #18212f;
  --muted: #667085;
  --subtle: #8a95a6;
  --line: #dfe5ee;
  --panel: #f6f9fc;
  --teal: #087b83;
  --teal-dark: #055d65;
  --coral: #f26b4f;
  --navy: #111827;
  --yellow: #a66400;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 229, 238, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 19px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(9, 139, 148, 0.98), rgba(5, 93, 101, 1));
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  font-weight: 800;
  isolation: isolate;
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: -1;
  width: 22px;
  height: 15px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.78);
  border-right: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 0 0 6px 0;
  transform: skewX(-18deg) rotate(-8deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(242, 107, 79, 0.18);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  color: #384454;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a.is-active {
  color: var(--teal);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  color: #344054;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.login-link {
  border-radius: 7px;
}

.post-button,
.search-button,
.filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 800;
}

.post-button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--teal);
  color: #fff;
  background: var(--teal);
  font-size: 14px;
}

.home-search {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  overflow: hidden;
  display: grid;
  align-content: center;
  padding: clamp(56px, 8vw, 92px) clamp(18px, 5vw, 64px);
  color: #fff;
  background: #071723;
}

.portal-overview,
.home-dashboard,
.category-section,
.home-grid,
.calendar-section {
  padding-left: clamp(18px, 5vw, 64px);
  padding-right: clamp(18px, 5vw, 64px);
}

.portal-overview {
  padding-top: 46px;
  padding-bottom: 28px;
  background: #fff;
}

.section-head {
  width: min(1120px, 100%);
  margin: 0 auto 20px;
}

.section-head.compact {
  margin-bottom: 14px;
}

.section-kicker {
  margin-bottom: 7px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.section-head h2,
.ai-panel h2,
.home-card h2,
.calendar-section h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 800;
}

.signal-strip {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.signal-strip a {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: #fff;
}

.signal-strip strong {
  font-size: 28px;
  line-height: 1;
}

.signal-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.home-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 28px;
  background: #f8fafc;
}

.ai-panel,
.job-showcase,
.home-card,
.schedule-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  align-items: end;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(8, 123, 131, 0.08), rgba(242, 107, 79, 0.08)),
    #fff;
}

.ai-panel p,
.home-card p {
  color: var(--muted);
  line-height: 1.75;
}

.match-card {
  padding: 18px;
  border: 1px solid rgba(8, 123, 131, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.match-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(8, 123, 131, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.match-card strong,
.job-showcase strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.match-card a,
.home-card a {
  color: var(--teal);
  font-weight: 800;
}

.job-showcase {
  padding: 22px;
}

.job-showcase article {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.job-showcase article:first-of-type {
  border-top: 0;
}

.job-showcase span,
.job-showcase p,
.schedule-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.category-section {
  padding-top: 44px;
  padding-bottom: 48px;
  background: #fff;
}

.category-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-link {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.category-link:hover {
  border-color: rgba(8, 123, 131, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-link strong {
  font-size: 18px;
}

.category-link span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 40px;
  padding-bottom: 40px;
  background: #f8fafc;
}

.home-card {
  padding: 24px;
}

.calendar-section {
  padding-top: 44px;
  padding-bottom: 64px;
  background: #fff;
}

.schedule-list {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.schedule-list article {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
}

.schedule-list time {
  color: var(--coral);
  font-size: 20px;
  font-weight: 800;
}

.home-search::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 23, 35, 0.92), rgba(7, 23, 35, 0.64) 46%, rgba(7, 23, 35, 0.78)),
    linear-gradient(180deg, rgba(7, 23, 35, 0.28), rgba(7, 23, 35, 0.88));
  pointer-events: none;
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(7, 23, 35, 0.98), rgba(8, 65, 77, 0.86) 48%, rgba(14, 23, 38, 0.98)),
    var(--navy);
  box-shadow: none;
  transform: none;
}

.hero-motion::before,
.hero-motion::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-motion::before {
  background:
    linear-gradient(90deg, rgba(39, 225, 218, 0.18), transparent 32%, rgba(242, 107, 79, 0.12) 62%, transparent),
    radial-gradient(circle at 26% 38%, rgba(39, 225, 218, 0.26), transparent 18%),
    radial-gradient(circle at 78% 60%, rgba(242, 107, 79, 0.2), transparent 21%);
  opacity: 0.8;
  animation: motionGlow 8s ease-in-out infinite alternate;
}

.hero-motion::after {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: gridDrift 12s linear infinite;
}

.motion-grid,
.motion-scan,
.motion-line,
.motion-node {
  position: absolute;
  display: block;
}

.motion-grid {
  inset: auto -8% -22px;
  height: 36%;
  background:
    linear-gradient(rgba(47, 226, 219, 0.22), transparent 1px),
    linear-gradient(90deg, rgba(47, 226, 219, 0.22), transparent 1px);
  background-size: 36px 22px;
  transform: perspective(420px) rotateX(64deg);
  transform-origin: center bottom;
  animation: floorRun 5.5s linear infinite;
}

.motion-scan {
  inset: 0;
  background: linear-gradient(105deg, transparent 10%, rgba(255, 255, 255, 0.18) 46%, transparent 58%);
  transform: translateX(-90%);
  animation: scanPass 4.8s cubic-bezier(0.62, 0, 0.22, 1) infinite;
}

.motion-line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(47, 226, 219, 0.92), rgba(242, 107, 79, 0.8), transparent);
  box-shadow: 0 0 20px rgba(47, 226, 219, 0.36);
}

.line-a {
  left: 8%;
  top: 24%;
  width: 50%;
  animation: lineMoveA 6.4s ease-in-out infinite alternate;
}

.line-b {
  right: 5%;
  bottom: 28%;
  width: 38%;
  animation: lineMoveB 7s ease-in-out infinite alternate;
}

.motion-node {
  width: 9px;
  height: 9px;
  border: 2px solid rgba(47, 226, 219, 0.92);
  border-radius: 50%;
  background: rgba(8, 123, 131, 0.74);
  box-shadow: 0 0 0 8px rgba(47, 226, 219, 0.08), 0 0 24px rgba(47, 226, 219, 0.45);
  animation: nodePulse 2.4s ease-in-out infinite;
}

.node-a { left: 18%; top: 24%; }
.node-b { right: 24%; top: 42%; animation-delay: 0.5s; }
.node-c { left: 58%; bottom: 24%; animation-delay: 1s; }

.hero-copy,
.search-panel {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hero-copy {
  margin-bottom: 34px;
}

.hero-copy h1,
.page-head h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 800;
}

.hero-copy p,
.page-head p {
  max-width: 780px;
  margin-bottom: 0;
  color: #4b5870;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
}

.home-search .hero-copy h1 {
  color: #fff;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.home-search .hero-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 132px;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-portal-dock {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-portal-dock article {
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.hero-portal-dock span {
  display: block;
  margin-bottom: 8px;
  color: rgba(79, 229, 222, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.hero-portal-dock strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.hero-portal-dock p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.hero-portal-dock a {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.search-field,
.location-field,
.sort-control {
  display: grid;
  gap: 6px;
}

.search-field,
.location-field {
  padding: 10px 14px;
  border: 1px solid rgba(199, 209, 222, 0.86);
  border-radius: 7px;
  background: rgba(246, 249, 252, 0.94);
}

.search-field span,
.location-field span,
.sort-control span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

.search-field input,
.location-field select,
.sort-control select {
  width: 100%;
  min-height: 30px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
}

.search-button {
  gap: 8px;
  border: 0;
  color: #fff;
  background: var(--coral);
  font-size: 16px;
}

.button-icon {
  position: relative;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.button-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 58px clamp(18px, 5vw, 64px) 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(8, 123, 131, 0.07), rgba(242, 107, 79, 0.04)), #fff;
}

.page-head.compact h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.page-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  overflow: hidden;
  min-width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.page-stats div {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.9);
}

.page-stats dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.page-stats dd {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 800;
}

.job-search-area,
.jobs-layout {
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
  background: #f8fafc;
}

.job-search-area {
  padding-top: 24px;
  padding-bottom: 16px;
}

.jobs-search-panel {
  box-shadow: var(--shadow);
}

.filter-actions {
  position: relative;
  width: min(1120px, 100%);
  margin: 14px auto 0;
  display: flex;
  align-items: start;
  gap: 10px;
}

.filter-toggle {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--teal);
  color: #fff;
  background: var(--teal);
  font-size: 13px;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-filter,
.source-tab,
.filter-group button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #405066;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.quick-filter.is-active,
.source-tab.is-active,
.filter-group button.is-selected {
  border-color: rgba(8, 123, 131, 0.22);
  color: var(--teal);
  background: rgba(8, 123, 131, 0.09);
}

.filter-panel {
  width: min(1120px, 100%);
  margin: 12px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.filter-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.filter-panel-head button {
  border: 0;
  color: var(--teal);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.filter-group span {
  width: 82px;
  color: #2f3a4c;
  font-size: 14px;
  font-weight: 800;
}

.jobs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
  padding-top: 8px;
  padding-bottom: 58px;
}

.result-column {
  min-width: 0;
}

.result-toolbar,
.document-panel,
.company-panel,
.job-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 18px 20px;
}

.eyeline {
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.result-toolbar h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.sort-control {
  min-width: 156px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}

.active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.active-tags:empty {
  margin-bottom: 0;
}

.active-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(8, 123, 131, 0.2);
  border-radius: 999px;
  color: var(--teal);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.job-list {
  display: grid;
  gap: 10px;
}

.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px;
}

.company-line,
.job-meta,
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.company-line {
  align-items: center;
  margin-bottom: 8px;
  color: #536176;
  font-size: 13px;
  font-weight: 800;
}

.source-badge,
.deadline-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.source-badge {
  color: var(--teal);
  background: rgba(8, 123, 131, 0.09);
}

.deadline-badge {
  color: var(--yellow);
  background: rgba(255, 190, 92, 0.18);
}

.job-title {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
}

.job-meta {
  margin-bottom: 12px;
  color: #556376;
  font-size: 13px;
  font-weight: 700;
}

.skill-list span {
  padding: 5px 8px;
  border-radius: 6px;
  color: #435168;
  background: #f0f4f8;
  font-size: 12px;
  font-weight: 800;
}

.job-side {
  display: grid;
  align-content: space-between;
  justify-items: end;
  gap: 14px;
  min-width: 132px;
}

.salary {
  font-size: 17px;
  font-weight: 800;
}

.save-button {
  min-width: 92px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #465368;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.save-button.is-saved {
  border-color: rgba(242, 107, 79, 0.28);
  color: var(--coral);
  background: rgba(242, 107, 79, 0.08);
}

.empty-state {
  padding: 44px 20px;
  border: 1px dashed #c7d1de;
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.right-rail {
  display: grid;
  gap: 14px;
}

.document-panel,
.company-panel {
  padding: 18px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-title h2 {
  margin-bottom: 0;
  font-size: 18px;
}

.panel-title span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

.source-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.source-tab {
  flex: 1;
  border-radius: 7px;
}

.doc-list,
.company-list {
  display: grid;
  gap: 10px;
}

.doc-item,
.company-item {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.doc-item strong,
.company-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
}

.doc-item p,
.company-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.company-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.company-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 34px clamp(18px, 5vw, 64px) 74px;
  background: #f8fafc;
}

.info-card {
  padding: 24px;
}

.info-card h2 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.info-card a {
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 34px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.68);
  background: #080d16;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

@keyframes motionGlow {
  from { transform: translateX(-2%); opacity: 0.62; }
  to { transform: translateX(2%); opacity: 0.9; }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 38px, 42px 0; }
}

@keyframes floorRun {
  from { background-position: 0 0; }
  to { background-position: 0 88px; }
}

@keyframes scanPass {
  0%, 28% { transform: translateX(-90%); }
  72%, 100% { transform: translateX(90%); }
}

@keyframes lineMoveA {
  from { transform: translateX(-18px); }
  to { transform: translateX(58px); }
}

@keyframes lineMoveB {
  from { transform: translateX(28px); }
  to { transform: translateX(-62px); }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(0.82); opacity: 0.72; }
  50% { transform: scale(1.2); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-motion *,
  .hero-motion::before,
  .hero-motion::after {
    animation: none !important;
  }
}

@media (max-width: 1120px) {
  .page-head,
  .jobs-layout {
    grid-template-columns: 1fr;
  }

  .page-head {
    display: grid;
  }

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

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

  .home-dashboard,
  .home-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-button {
    min-height: 50px;
  }

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

  .filter-actions {
    display: grid;
  }

  .filter-toggle {
    width: max-content;
  }

  .filter-group span {
    width: 100%;
  }

  .right-rail {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

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

  .ai-panel {
    grid-template-columns: 1fr;
  }

  .schedule-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .header-actions .text-button {
    display: none;
  }

  .brand-text {
    font-size: 17px;
  }

  .home-search {
    min-height: 760px;
    align-content: start;
    padding-top: 42px;
  }

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

  .hero-motion {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .hero-copy h1,
  .page-head h1 {
    font-size: 34px;
  }

  .page-stats,
  .content-grid,
  .category-grid,
  .signal-strip,
  .job-card,
  .result-toolbar {
    grid-template-columns: 1fr;
  }

  .job-side {
    justify-items: start;
  }
}

/* Home portal rebuild: faithful to the approved recruits.kr concept */

:root {
  --home-max: 1316px;
  --home-ink: #172233;
  --home-muted: #66758a;
  --home-soft: #f6f9fc;
  --home-line: #dfe7f0;
  --home-teal: #087d85;
  --home-teal-2: #15b9bd;
  --home-deep: #061724;
  --home-coral: #f56850;
  --home-shadow: 0 16px 34px rgba(18, 38, 63, 0.07);
}

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

.home-page {
  background: #fff;
  color: var(--home-ink);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-page .site-header,
.site-header {
  min-height: 74px;
  padding: 0 clamp(24px, 4.2vw, 54px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 231, 240, 0.9);
  box-shadow: 0 8px 24px rgba(16, 31, 49, 0.05);
}

.home-page .site-header {
  position: relative;
  top: auto;
}

.brand {
  gap: 11px;
  color: #172233;
  font-size: 22px;
  font-weight: 800;
}

.brand-symbol {
  display: block;
  width: 46px;
  height: 46px;
}

.brand-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}

.logo-teal {
  fill: var(--home-teal);
}

.logo-light,
.logo-coral,
.logo-arrow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-light {
  stroke: #b9eef0;
  stroke-width: 5;
}

.logo-coral,
.logo-arrow {
  stroke: var(--home-coral);
  stroke-width: 4.6;
}

.nav-links {
  gap: clamp(28px, 4vw, 58px);
  color: #172233;
  font-size: 15px;
  font-weight: 800;
}

.nav-links a {
  padding: 27px 0 25px;
}

.nav-links a:hover {
  color: var(--home-teal);
}

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

.text-button {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.post-button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: #087d85;
  box-shadow: 0 8px 16px rgba(8, 125, 133, 0.18);
  color: #fff;
}

.hero-home {
  position: relative;
  isolation: isolate;
  min-height: 678px;
  overflow: hidden;
  padding: 70px clamp(24px, 4.2vw, 54px) 38px;
  color: #fff;
  background: #061724;
}

.hero-bg,
.hero-bg span {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.hero-bg {
  z-index: -2;
  background:
    radial-gradient(circle at 77% 70%, rgba(244, 105, 73, 0.23), transparent 18%),
    radial-gradient(circle at 27% 46%, rgba(18, 196, 202, 0.2), transparent 24%),
    linear-gradient(90deg, #061724 0%, #082536 47%, #061724 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 23, 36, 0.85), rgba(6, 23, 36, 0.24) 52%, rgba(6, 23, 36, 0.58)),
    linear-gradient(180deg, rgba(6, 23, 36, 0) 55%, rgba(6, 23, 36, 0.72));
  z-index: 2;
}

.hero-grid {
  z-index: 1;
  background:
    linear-gradient(rgba(24, 207, 212, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 207, 212, 0.11) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  animation: portalGrid 18s linear infinite;
}

.hero-particles {
  z-index: 1;
  background-image:
    radial-gradient(circle, rgba(22, 214, 220, 0.95) 0 1.5px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 191, 90, 0.9) 0 1.4px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 255, 255, 0.66) 0 1px, transparent 1.4px);
  background-size: 78px 78px, 116px 116px, 148px 148px;
  background-position: 10px 24px, 40px 92px, 110px 12px;
  opacity: 0.74;
  animation: portalSpark 11s ease-in-out infinite alternate;
}

.hero-beam {
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 220, 224, 0.65), rgba(255, 183, 84, 0.48), transparent);
  box-shadow: 0 0 18px rgba(18, 220, 224, 0.3);
  transform-origin: left;
}

.hero-beam-a {
  top: 44%;
  left: -4%;
  width: 82%;
  transform: rotate(-8deg);
}

.hero-beam-b {
  top: 58%;
  right: -7%;
  width: 72%;
  transform: rotate(9deg);
}

.hero-columns {
  z-index: 1;
  top: auto;
  right: 5%;
  bottom: 78px;
  left: 41%;
  height: 220px;
  background:
    repeating-linear-gradient(90deg, transparent 0 19px, rgba(23, 219, 220, 0.55) 19px 21px, transparent 21px 34px),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 186, 83, 0.5) 30px 32px, transparent 32px 48px);
  mask-image: linear-gradient(180deg, transparent, #000 48%, transparent);
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  width: min(var(--home-max), 100%);
  height: 318px;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(660px, 100%);
  margin: 0;
}

.hero-copy h1 {
  max-width: 640px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.16;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.hero-copy h1 span {
  color: #47d4d5;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
}

.hero-stats {
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(30px, 4vw, 64px);
}

.hero-stats article {
  display: grid;
  grid-template-columns: 36px auto;
  column-gap: 12px;
  min-width: 150px;
  color: #fff;
}

.hero-stats p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.hero-stats strong {
  display: block;
  margin-bottom: 3px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.hero-stats em {
  color: #42d6d8;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.stat-icon {
  grid-row: 1 / 4;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(61, 224, 226, 0.38);
  border-radius: 50%;
  color: #38d4d6;
  background: rgba(10, 64, 75, 0.58);
}

.stat-icon::before,
.stat-icon::after,
.float-icon::before,
.float-icon::after {
  content: "";
  display: block;
}

.stat-bag::before {
  width: 13px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.stat-bag::after {
  position: absolute;
  width: 8px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  transform: translateY(-8px);
}

.stat-building::before {
  width: 13px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 2px;
  box-shadow: inset 0 -5px 0 rgba(61, 224, 226, 0.2);
}

.stat-doc::before {
  width: 13px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.hero-float {
  position: absolute;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.float-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(64, 223, 225, 0.3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 96, 109, 0.92), rgba(7, 43, 59, 0.8));
  box-shadow: 0 0 0 11px rgba(17, 204, 208, 0.04), 0 18px 34px rgba(0, 0, 0, 0.22);
  color: #62eceb;
}

.float-icon::before {
  width: 16px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.float-icon::after {
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.hero-float-a { left: 53%; top: 170px; }
.hero-float-b { left: 65%; top: 245px; }
.hero-float-c { right: 19%; top: 138px; }
.hero-float-d { right: 6%; top: 218px; }

.hero-search {
  position: relative;
  z-index: 5;
  width: min(1126px, calc(100% - 92px));
  margin: 8px auto 0;
  padding: 23px 24px 19px;
  border: 1px solid rgba(210, 225, 238, 0.25);
  border-radius: 8px;
  background: rgba(27, 45, 59, 0.88);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.search-tabs {
  display: flex;
  gap: 34px;
  height: 33px;
  margin-bottom: 14px;
}

.search-tabs button {
  position: relative;
  border: 0;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
}

.search-tabs button.is-active {
  color: #fff;
}

.search-tabs button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 205px 180px;
  gap: 10px;
}

.keyword-box,
.region-box {
  display: flex;
  align-items: center;
  min-height: 68px;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  background: #fff;
}

.keyword-box {
  padding: 0 20px;
}

.keyword-box input,
.region-box select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #283548;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
}

.keyword-box input::placeholder {
  color: #8a97aa;
}

.region-box {
  gap: 10px;
  padding: 0 16px;
}

.pin-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid #6a7687;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #6a7687;
}

.search-button {
  min-height: 68px;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--home-coral);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 15px 26px rgba(245, 104, 80, 0.22);
}

.button-icon {
  width: 18px;
  height: 18px;
}

.search-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.quick-chips a,
.detail-filter summary,
.detail-panel button,
.pill-tabs button {
  min-height: 33px;
  border: 1px solid rgba(214, 226, 238, 0.5);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.quick-chips a {
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.detail-filter {
  position: relative;
}

.detail-filter summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 112px;
  padding: 0 13px;
  color: #fff;
  list-style: none;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.detail-filter summary::-webkit-details-marker {
  display: none;
}

.filter-lines {
  position: relative;
  width: 18px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.filter-lines::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.filter-lines::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -10px 7px 0 currentColor, -3px 14px 0 currentColor;
}

.detail-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  display: grid;
  gap: 12px;
  width: min(560px, 86vw);
  padding: 18px;
  border: 1px solid rgba(218, 229, 240, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(9, 22, 36, 0.18);
}

.detail-panel div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.detail-panel strong {
  width: 44px;
  color: #263346;
  font-size: 13px;
}

.detail-panel button {
  padding: 0 13px;
  color: #405066;
  background: #f7fafc;
}

.dashboard-wrap {
  padding: 26px clamp(24px, 4.2vw, 54px) 18px;
  background: #fff;
}

.dashboard-layout {
  width: min(var(--home-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.84fr) 268px;
  gap: 20px;
  align-items: start;
}

.portal-card,
.job-categories {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 38, 63, 0.035);
}

.portal-card {
  overflow: hidden;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 20px 22px 0;
}

.card-head h2,
.section-title-row h2 {
  margin: 0;
  color: #152236;
  font-size: 22px;
  font-weight: 800;
}

.card-head a,
.section-title-row a,
.card-more {
  color: #7a8798;
  font-size: 13px;
  font-weight: 800;
}

.card-head a::after,
.section-title-row a::after,
.card-more::after {
  content: "›";
  margin-left: 7px;
  color: #9aa8ba;
}

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 22px 9px;
}

.pill-tabs.small {
  padding: 0;
}

.pill-tabs button {
  min-height: 30px;
  padding: 0 13px;
  color: #67758a;
  background: #fff;
  border-color: #dce5ef;
}

.pill-tabs button.is-active {
  border-color: rgba(8, 125, 133, 0.2);
  color: #fff;
  background: var(--home-teal);
}

.pill-tabs.small button.is-active {
  color: var(--home-teal);
  background: rgba(8, 125, 133, 0.1);
}

.job-mini-list {
  padding: 0 20px;
}

.job-mini {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid #edf2f7;
}

.job-mini.compact {
  grid-template-columns: 50px minmax(0, 1fr) max-content;
  min-height: 80px;
}

.company-logo {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.job-mini > .company-logo {
  width: 58px;
  height: 44px;
}

.job-mini.compact > .company-logo {
  width: 42px;
  height: 42px;
}

.job-mini small {
  display: block;
  margin-bottom: 5px;
  color: #7a8798;
  font-size: 12px;
  font-weight: 800;
}

.job-mini strong {
  display: block;
  overflow: hidden;
  margin-bottom: 5px;
  color: #182437;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-mini p {
  margin: 0;
  color: #8793a4;
  font-size: 12px;
  font-weight: 700;
}

.job-price {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.job-price strong {
  color: #087d85;
  font-size: 14px;
}

.job-price em {
  color: #f04438;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.card-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
}

.logo-woowa { background: #f3f6f9; color: #111827; }
.logo-naver { background: #03c75a; color: #fff; }
.logo-kakao { background: #fee500; color: #111827; }
.logo-toss { background: linear-gradient(135deg, #2388ff, #2dd4bf); }
.logo-samsung { background: #f7f9fc; color: #1b4fb6; border: 1px solid #dce5ef; font-size: 10px; }
.logo-line { background: #07c755; }
.logo-hyundai { background: #f7f9fc; color: #1b4fb6; border: 1px solid #dce5ef; }
.logo-dunamu { background: #163b78; }
.logo-lg { background: #c70d3a; }
.logo-red { background: #e23838; }
.logo-sk { background: #f47a22; }
.logo-m { background: #234a7d; }

.side-stack {
  display: grid;
  gap: 14px;
}

.resume-card {
  min-height: 256px;
  padding: 25px 24px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(58, 219, 220, 0.18), transparent 34%),
    linear-gradient(145deg, #0a7880, #00515c);
  box-shadow: 0 18px 36px rgba(0, 94, 103, 0.2);
}

.resume-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.48;
}

.resume-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.resume-card li {
  position: relative;
  padding-left: 21px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.resume-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4be0e0;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.28);
}

.resume-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
}

.viewed-card .card-head {
  padding-top: 17px;
}

.viewed-card .card-head h2 {
  font-size: 18px;
}

.viewed-card .card-head strong {
  color: var(--home-teal);
  font-size: 16px;
}

.viewed-list {
  display: grid;
  padding: 4px 16px 0;
}

.viewed-list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 36px;
  gap: 9px;
  align-items: center;
  min-height: 39px;
}

.viewed-list .company-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  font-size: 10px;
}

.viewed-list strong {
  overflow: hidden;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewed-list em {
  color: #f04438;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.job-categories,
.insight-grid,
.resource-grid,
.partner-strip {
  width: min(var(--home-max), calc(100% - clamp(48px, 8.4vw, 108px)));
  margin-right: auto;
  margin-left: auto;
}

.job-categories {
  margin-top: 26px;
  padding: 20px 20px 22px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(11, minmax(84px, 1fr));
  gap: 12px;
}

.category-rail a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 118px;
  border: 1px solid #e2eaf3;
  border-radius: 7px;
  background: #fff;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-rail a:hover {
  border-color: rgba(8, 125, 133, 0.3);
  box-shadow: 0 12px 24px rgba(18, 38, 63, 0.08);
  transform: translateY(-2px);
}

.category-rail strong {
  color: #1f2b3b;
  font-size: 14px;
  font-weight: 800;
}

.category-rail em {
  min-height: 16px;
  color: #75849a;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.mini-icon {
  position: relative;
  display: block;
  width: 35px;
  height: 35px;
  border: 2px solid #0d7690;
  border-radius: 7px;
}

.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
}

.mini-icon {
  color: #0d7690;
}

.mini-icon.dev::before {
  inset: 8px 6px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.mini-icon.design {
  transform: rotate(-18deg);
}

.mini-icon.design::before {
  left: 13px;
  top: -8px;
  width: 6px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.mini-icon.marketing::before {
  left: 5px;
  top: 13px;
  width: 20px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 17px solid currentColor;
}

.mini-icon.sales::before {
  left: 11px;
  top: 6px;
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mini-icon.sales::after {
  left: 7px;
  bottom: 5px;
  width: 18px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 12px 12px 0 0;
}

.mini-icon.plan::before,
.mini-icon.data::before {
  inset: 7px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.mini-icon.hr::before {
  left: 6px;
  top: 7px;
  width: 20px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 12px 12px 0 0;
}

.mini-icon.finance::before {
  left: 5px;
  top: 11px;
  width: 22px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mini-icon.factory::before {
  left: 5px;
  bottom: 6px;
  width: 22px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mini-icon.engineer::before {
  left: 8px;
  top: 8px;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mini-icon.all {
  border: 0;
}

.mini-icon.all::before {
  left: 5px;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor, 20px 0 0 currentColor;
}

.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.24fr);
  gap: 20px;
  margin-top: 24px;
}

.region-card,
.salary-card {
  padding-bottom: 0;
}

.region-card .card-head {
  justify-content: flex-start;
}

.region-body {
  display: grid;
  grid-template-columns: 120px minmax(150px, 1fr) 120px;
  gap: 18px;
  align-items: center;
  padding: 24px 22px 10px;
  border-top: 1px solid #edf2f7;
}

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

.region-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid #e4ebf3;
  border-radius: 6px;
  color: #5e6b80;
  font-size: 12px;
  font-weight: 800;
}

.region-list strong {
  color: #748298;
  font-weight: 800;
}

.korea-map {
  display: grid;
  min-height: 226px;
  place-items: center;
}

.korea-map span {
  position: relative;
  display: block;
  width: 150px;
  height: 196px;
  background: #e8edf2;
  clip-path: polygon(48% 0, 67% 8%, 78% 24%, 72% 38%, 84% 50%, 68% 60%, 72% 76%, 58% 94%, 42% 86%, 30% 98%, 22% 78%, 10% 67%, 17% 50%, 9% 36%, 24% 22%, 31% 8%);
  filter: drop-shadow(0 14px 18px rgba(87, 104, 124, 0.1));
}

.korea-map span::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 42% 58% 53% 47%;
  transform: rotate(17deg);
}

.korea-map span::after {
  content: "";
  position: absolute;
  right: 25px;
  bottom: -18px;
  width: 42px;
  height: 24px;
  border-radius: 50%;
  background: #e8edf2;
}

.salary-card .pill-tabs {
  padding: 10px 22px 18px;
}

.salary-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  padding: 0 36px 22px;
}

.salary-table a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: center;
  min-height: 51px;
}

.salary-table .company-logo {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  font-size: 10px;
}

.salary-table strong {
  overflow: hidden;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.salary-table em {
  color: #536176;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(285px, 0.78fr);
  gap: 20px;
  margin-top: 24px;
}

.resource-card,
.calendar-card {
  min-height: 396px;
}

.resource-card .pill-tabs {
  padding: 10px 22px 15px;
}

.article-list,
.training-list {
  display: grid;
  padding: 0 22px;
}

.article-list a,
.training-list a {
  display: grid;
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid #edf2f7;
}

.article-list a {
  grid-template-columns: 58px minmax(0, 1fr) 72px;
  gap: 12px;
}

.article-list strong,
.training-list strong {
  display: block;
  overflow: hidden;
  margin-bottom: 4px;
  color: #243044;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-list p,
.training-list p {
  margin: 0;
  overflow: hidden;
  color: #7a8798;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-list em {
  color: #8996a8;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.thumb,
.course-thumb {
  display: block;
  border-radius: 6px;
  background-color: #dae8f8;
}

.thumb {
  width: 48px;
  height: 40px;
}

.thumb-blue { background: linear-gradient(135deg, #005a9f, #34d4d6); }
.thumb-cyan { background: linear-gradient(135deg, #e9f5ff, #45bad0); }
.thumb-light { background: linear-gradient(135deg, #f4f7fb, #b8c9da); }
.thumb-mint { background: linear-gradient(135deg, #d9fff9, #087d85); }

.training-list a {
  grid-template-columns: 78px minmax(0, 1fr) 58px;
  gap: 12px;
  min-height: 78px;
}

.course-thumb {
  width: 68px;
  height: 56px;
}

.course-a { background: radial-gradient(circle at 50% 40%, #ff4ed3, transparent 20%), linear-gradient(135deg, #103c8a, #0cb9c2); }
.course-b { background: linear-gradient(135deg, #112a43, #7fd8ff); }
.course-c { background: linear-gradient(135deg, #006b6d, #d7fff5); }
.course-d { background: linear-gradient(135deg, #0d2b48, #4cc7d7); }

.training-list em {
  color: #f2a622;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.training-list b {
  display: inline-grid;
  min-height: 28px;
  place-items: center;
  border: 1px solid rgba(8, 125, 133, 0.22);
  border-radius: 5px;
  color: #087d85;
  font-size: 12px;
}

.calendar-card {
  padding-bottom: 0;
}

.calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 8px;
}

.calendar-top strong {
  color: #243044;
  font-size: 15px;
}

.calendar-top button {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid #dfe7f0;
  border-radius: 6px;
  background: #fff;
}

.calendar-top button::before {
  content: "";
  position: absolute;
  inset: 11px 9px 11px 12px;
  border-top: 2px solid #7a8798;
  border-left: 2px solid #7a8798;
  transform: rotate(-45deg);
}

.calendar-top button:last-child::before {
  inset: 11px 12px 11px 9px;
  transform: rotate(135deg);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  padding: 4px 25px 16px;
  text-align: center;
}

.calendar-grid span,
.calendar-grid b,
.calendar-grid i {
  display: grid;
  min-height: 25px;
  place-items: center;
  color: #77859a;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.calendar-grid span {
  color: #9aa6b8;
}

.calendar-grid b.today {
  border-radius: 50%;
  color: #fff;
  background: var(--home-teal);
}

.calendar-events {
  padding: 4px 24px 0;
}

.calendar-events strong {
  display: block;
  margin-bottom: 12px;
  color: #243044;
  font-size: 14px;
}

.calendar-events p {
  margin: 0 0 8px;
  color: #536176;
  font-size: 12px;
  font-weight: 800;
}

.calendar-events span {
  display: inline-block;
  width: 42px;
  color: #7a8798;
}

.partner-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(6, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  min-height: 72px;
  margin-top: 25px;
  margin-bottom: 20px;
  padding: 0 23px;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #fff;
}

.partner-strip strong,
.partner-strip span {
  display: grid;
  align-content: center;
  min-height: 44px;
  color: #405066;
  font-size: 13px;
  font-weight: 800;
}

.partner-strip span {
  justify-items: center;
  border-left: 1px solid #edf2f7;
  text-align: center;
}

.partner-strip em {
  color: #8a97aa;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.site-footer {
  padding: 0;
  color: #66758a;
  background: #f6f9fc;
}

.footer-inner {
  position: relative;
  width: min(var(--home-max), calc(100% - clamp(48px, 8.4vw, 108px)));
  margin: 0 auto;
  padding: 25px 0 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 19px;
}

.footer-links a {
  color: #405066;
  font-size: 13px;
  font-weight: 800;
}

.footer-meta {
  display: grid;
  gap: 5px;
  max-width: 860px;
}

.footer-meta p {
  margin: 0;
  color: #8a97aa;
  font-size: 12px;
  font-weight: 700;
}

.footer-social {
  position: absolute;
  right: 0;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #2f3f52;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(18, 38, 63, 0.06);
}

.footer-social select {
  height: 38px;
  min-width: 150px;
  padding: 0 12px;
  border: 1px solid #dfe7f0;
  border-radius: 6px;
  color: #66758a;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

@keyframes portalGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 96px, 96px 0; }
}

@keyframes portalSpark {
  from { transform: translateY(-6px); opacity: 0.62; }
  to { transform: translateY(6px); opacity: 0.9; }
}

@media (max-width: 1180px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    right: 0;
    left: 0;
    top: auto;
    bottom: -2px;
    gap: 18px;
  }

  .hero-stats article {
    min-width: 0;
  }

  .hero-inner {
    height: 390px;
  }

  .hero-float {
    display: none;
  }

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

  .side-stack {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .category-rail {
    overflow-x: auto;
  }

  .partner-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 14px;
  }

  .partner-strip strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 70px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .nav-links {
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding: 0 0 10px;
    white-space: nowrap;
  }

  .hero-home {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-inner {
    height: auto;
    padding-bottom: 28px;
  }

  .hero-stats {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search-button {
    min-height: 56px;
  }

  .hero-search {
    width: min(100%, 720px);
  }

  .dashboard-layout,
  .resource-grid,
  .side-stack {
    grid-template-columns: 1fr;
  }

  .region-body {
    grid-template-columns: 1fr;
  }

  .salary-table {
    grid-template-columns: 1fr;
  }

  .footer-social {
    position: static;
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 18px 0;
  }

  .brand {
    font-size: 19px;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .header-actions .text-button {
    display: none;
  }

  .hero-home {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .hero-stats article {
    grid-template-columns: 1fr;
    row-gap: 4px;
    padding-right: 4px;
  }

  .stat-icon {
    display: none;
  }

  .hero-stats p {
    font-size: 10px;
  }

  .hero-stats strong {
    font-size: 17px;
  }

  .hero-stats em {
    font-size: 10px;
  }

  .hero-search {
    padding: 18px;
  }

  .search-tabs {
    gap: 18px;
    overflow-x: auto;
  }

  .search-bottom {
    display: grid;
  }

  .detail-filter summary {
    width: max-content;
  }

  .detail-panel {
    right: auto;
    left: 0;
  }

  .dashboard-wrap,
  .job-categories,
  .insight-grid,
  .resource-grid,
  .partner-strip,
  .footer-inner {
    width: calc(100% - 36px);
  }

  .dashboard-wrap {
    padding-right: 18px;
    padding-left: 18px;
  }

  .job-categories,
  .insight-grid,
  .resource-grid,
  .partner-strip {
    margin-right: auto;
    margin-left: auto;
  }

  .job-mini,
  .job-mini.compact {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .job-price {
    grid-column: 2;
    grid-template-columns: 1fr auto;
    justify-items: start;
  }

  .article-list a,
  .training-list a {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .article-list em,
  .training-list b {
    grid-column: 2;
    justify-self: start;
  }

  .partner-strip {
    grid-template-columns: 1fr;
  }

  .partner-strip span {
    border-left: 0;
    border-top: 1px solid #edf2f7;
    padding: 10px 0;
  }
}

/* Login and admin surfaces */

.login-page,
.admin-page {
  min-height: 100vh;
  background: #f6f9fc;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 48px));
  margin: 42px auto 72px;
  align-items: start;
}

.auth-hero {
  min-height: 560px;
  padding: 44px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(245, 104, 80, 0.26), transparent 28%),
    linear-gradient(145deg, #061724, #0b5962);
  box-shadow: var(--home-shadow);
}

.auth-hero p {
  margin: 0 0 18px;
  color: #54e0df;
  font-size: 14px;
  font-weight: 800;
}

.auth-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.12;
}

.auth-hero span {
  display: block;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

.login-panel {
  padding: 28px;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.login-form {
  display: grid;
  gap: 18px;
}

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

.role-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: 18px;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.role-card input {
  position: absolute;
  right: 16px;
  top: 16px;
  accent-color: var(--home-teal);
}

.role-card:has(input:checked) {
  border-color: rgba(8, 125, 133, 0.36);
  background: rgba(8, 125, 133, 0.07);
  box-shadow: inset 0 0 0 1px rgba(8, 125, 133, 0.12);
}

.role-card strong {
  color: #172233;
  font-size: 18px;
}

.role-card span {
  max-width: 210px;
  color: #66758a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field span {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.auth-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #dfe7f0;
  border-radius: 7px;
  color: #172233;
  background: #fff;
  outline: 0;
  font-size: 15px;
  font-weight: 700;
}

.auth-field input:focus {
  border-color: rgba(8, 125, 133, 0.52);
  box-shadow: 0 0 0 4px rgba(8, 125, 133, 0.1);
}

.auth-options {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #66758a;
  font-size: 13px;
  font-weight: 800;
}

.auth-options input {
  accent-color: var(--home-teal);
}

.auth-submit {
  min-height: 56px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--home-teal);
  font-size: 16px;
  font-weight: 800;
}

.auth-note {
  margin: 0;
  color: #7a8798;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.admin-page {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  color: #172233;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 26px 20px;
  color: #d8f4f4;
  background: #061724;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--home-teal);
  font-size: 22px;
  font-weight: 800;
}

.admin-brand strong {
  color: #fff;
  font-size: 17px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a,
.admin-public-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.admin-sidebar nav a.is-active,
.admin-sidebar nav a:hover,
.admin-public-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.admin-public-link {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.admin-main {
  min-width: 0;
  padding: 28px clamp(22px, 4vw, 48px) 58px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-topbar p {
  margin: 0 0 6px;
  color: var(--home-teal);
  font-size: 13px;
  font-weight: 800;
}

.admin-topbar h1 {
  margin: 0;
  color: #172233;
  font-size: clamp(28px, 4vw, 42px);
}

.admin-user-chip {
  display: grid;
  min-width: 150px;
  padding: 12px 16px;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #fff;
}

.admin-user-chip span {
  color: #7a8798;
  font-size: 12px;
  font-weight: 800;
}

.admin-user-chip strong {
  color: #172233;
  font-size: 16px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-metrics article,
.admin-card {
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.admin-metrics article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.admin-metrics span {
  color: #66758a;
  font-size: 13px;
  font-weight: 800;
}

.admin-metrics strong {
  color: #172233;
  font-size: 30px;
  line-height: 1;
}

.admin-metrics em {
  color: var(--home-teal);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.admin-wide {
  grid-column: span 1;
}

.admin-card {
  padding: 22px;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card-head h2 {
  margin: 0;
  color: #172233;
  font-size: 22px;
}

.admin-card-head span {
  color: #7a8798;
  font-size: 13px;
  font-weight: 800;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-action-grid button {
  display: grid;
  gap: 7px;
  min-height: 98px;
  padding: 16px;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #f8fafc;
  text-align: left;
}

.admin-action-grid strong {
  color: #172233;
  font-size: 16px;
}

.admin-action-grid span {
  color: #66758a;
  font-size: 12px;
  font-weight: 800;
}

.admin-profile-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.admin-profile-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.admin-profile-list dt {
  color: #7a8798;
  font-size: 13px;
  font-weight: 800;
}

.admin-profile-list dd {
  margin: 0;
  color: #172233;
  font-size: 14px;
  font-weight: 800;
}

.admin-table {
  display: grid;
}

.admin-table-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 120px 90px 120px;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid #edf2f7;
  color: #536176;
  font-size: 13px;
  font-weight: 800;
}

.admin-table-head {
  min-height: 38px;
  color: #8a97aa;
  font-size: 12px;
}

.admin-table-row strong {
  color: #172233;
}

.admin-table-row em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
}

.admin-table-row .ok {
  color: #087d85;
  background: rgba(8, 125, 133, 0.1);
}

.admin-table-row .wait {
  color: #a66400;
  background: rgba(255, 190, 92, 0.18);
}

.admin-table-row .hold {
  color: #c2410c;
  background: rgba(245, 104, 80, 0.12);
}

.admin-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  height: 210px;
  padding-top: 18px;
}

.admin-bars span {
  display: block;
  height: var(--bar);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #31d2d2, #087d85);
}

@media (max-width: 1080px) {
  .auth-shell,
  .admin-page,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

@media (max-width: 680px) {
  .auth-shell {
    width: calc(100% - 36px);
    margin-top: 24px;
  }

  .auth-hero {
    min-height: 0;
    padding: 30px 24px;
  }

  .role-grid,
  .admin-metrics,
  .admin-action-grid,
  .admin-sidebar nav {
    grid-template-columns: 1fr;
  }

  .login-panel,
  .admin-card {
    padding: 18px;
  }

  .admin-topbar,
  .auth-options {
    display: grid;
  }

  .admin-table-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }
}
