:root {
  color-scheme: light;
  --primary: #17845f;
  --primary-strong: #0f6249;
  --mint: #e8f7ef;
  --gold: #d9951e;
  --blue: #2563eb;
  --rose: #c2415d;
  --purple: #7c3aed;
  --ink: #13231c;
  --text: #1c2b25;
  --muted: #66766f;
  --subtle: #8a9a93;
  --bg: #f4f7f5;
  --surface: #f8faf9;
  --surface-strong: #eef4f1;
  --panel: #ffffff;
  --line: #dfe9e4;
  --line-strong: #c8d7d0;
  --hover: rgba(23, 132, 95, 0.08);
  --shadow: rgba(31, 58, 48, 0.08);
  --table-action: #2f9e44;
  --table-action-strong: #23883a;
  --sidebar: 224px;
  --mobile-header: 58px;
  --record-footer: 30px;
}

.theme-dark {
  color-scheme: dark;
  --primary: #48c592;
  --primary-strong: #7ee0b4;
  --mint: #143126;
  --gold: #f0b44c;
  --blue: #76a7ff;
  --rose: #ff8297;
  --purple: #b692ff;
  --ink: #f2f7f4;
  --text: #edf6f1;
  --muted: #b5c5be;
  --subtle: #8fa49a;
  --bg: #101815;
  --surface: #17231f;
  --surface-strong: #20302a;
  --panel: #13201b;
  --line: #2b4239;
  --line-strong: #3d5a50;
  --hover: rgba(72, 197, 146, 0.13);
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.layout-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 8px;
  min-height: calc(100vh - var(--record-footer));
  padding: 8px;
  background: var(--bg);
}

.layout-shell.sidebar-collapsed {
  grid-template-columns: 62px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 8px;
  z-index: 20;
  height: calc(100vh - 16px - var(--record-footer));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  box-shadow: 0 8px 20px var(--shadow);
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.sidebar-collapse {
  margin-left: auto;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--primary);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
}

.brand-copy span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.sidebar-nav {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  padding: 9px 8px;
  scrollbar-width: thin;
}

.nav-group {
  display: grid;
  gap: 3px;
}

.menu-item {
  width: 100%;
  min-height: 36px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 7px 9px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.menu-item span:last-child {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  line-height: 1.2;
}

.menu-item:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.menu-item.active {
  border-color: color-mix(in srgb, var(--primary) 32%, var(--line));
  background: var(--hover);
  color: var(--primary);
  font-weight: 700;
}

.submenu-stack {
  display: none;
  gap: 3px;
  padding: 0 0 3px 36px;
}

.submenu-stack.expanded {
  display: grid;
}

.submenu-item {
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--subtle);
  text-align: left;
  padding: 4px 9px;
  font-size: 12px;
}

.submenu-item:hover,
.submenu-item.active {
  background: var(--surface);
  color: var(--primary);
}

.nav-icon,
.icon-btn svg,
.announcement-icon svg,
.announcement-close svg,
.sort-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
}

.nav-icon svg {
  stroke-width: 2;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 12px;
}

.sidebar-footer span {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.layout-shell.sidebar-collapsed .sidebar-header {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 10px 7px;
}

.layout-shell.sidebar-collapsed .brand-mark {
  width: 38px;
  height: 38px;
}

.layout-shell.sidebar-collapsed .brand-copy,
.layout-shell.sidebar-collapsed .menu-item span:last-child,
.layout-shell.sidebar-collapsed .submenu-stack,
.layout-shell.sidebar-collapsed .sidebar-footer span {
  display: none;
}

.layout-shell.sidebar-collapsed .sidebar-collapse {
  margin-left: 0;
}

.layout-shell.sidebar-collapsed .sidebar-nav {
  padding: 9px 7px;
}

.layout-shell.sidebar-collapsed .menu-item {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 36px;
  padding: 7px;
}

.layout-shell.sidebar-collapsed .sidebar-footer {
  justify-content: center;
  padding: 8px 7px;
}

.mobile-header {
  display: none;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(0, 0, 0, 0.45);
}

.main-container {
  min-width: 0;
  height: calc(100vh - 16px - var(--record-footer));
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.record-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  min-height: var(--record-footer);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 12px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 72%, var(--panel));
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.record-owner,
.record-license,
.record-link,
.record-status {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  white-space: nowrap;
}

.record-owner {
  color: var(--muted);
}

.record-link {
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

.record-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.record-status {
  color: var(--muted);
}

.top-bar {
  flex: 0 0 auto;
}

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: none;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
}

.announcement-icon {
  color: var(--gold);
}

.announcement-prefix {
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 800;
}

#announcementText {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.announcement-close {
  margin-left: auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 2px;
}

.announcement-close svg {
  width: 16px;
  height: 16px;
}

.announcement-close:hover {
  background: var(--surface);
  color: var(--text);
}

.content-inner {
  flex: 1;
  min-height: 0;
}

.progress-route .top-bar {
  display: none;
}

.progress-route .main-container {
  height: calc(100vh - 16px - var(--record-footer));
  gap: 0;
  background: #f4f4f4;
}

.progress-route .content-inner {
  min-height: 0;
  padding: 18px;
}

.recruitment-data,
.static-page {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.recruitment-data {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
}

.progress-route .static-page {
  height: auto;
  min-height: calc(100vh - var(--record-footer) - 48px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.workspace-hero {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--mint) 78%, var(--panel)), var(--panel) 58%),
    var(--panel);
}

.workspace-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.workspace-hero h1 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
}

.workspace-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(88px, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.mode-pill {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
}

.mode-pill.active {
  background: var(--primary);
  color: #fff;
}

.dashboard-section {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  align-items: stretch;
}

.today-title {
  min-height: 36px;
  width: 92px;
  flex: 0 0 92px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  padding: 0 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.today-title.active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--hover);
}

.dashboard-cards {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 690px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 6px;
}

.dashboard-card {
  min-height: 36px;
  width: auto;
  min-width: 96px;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  padding: 5px 8px;
  text-align: left;
  white-space: nowrap;
}

.dashboard-card:hover,
.dashboard-card.active {
  border-color: var(--primary);
  background: var(--hover);
}

.card-label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  font-weight: 700;
}

.card-label.deadline {
  color: var(--rose);
}

.card-value {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.card-unit {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.main-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-section {
  flex: 0 0 auto;
  display: grid;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
}

.filter-label {
  flex: 0 0 auto;
  min-width: 64px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.chip {
  min-height: 26px;
  min-width: 50px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--muted);
  padding: 0 9px;
  font-size: 13px;
  line-height: 24px;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.more-city-panel {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 0 76px;
}

.more-city-panel label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

select,
.search-popover-input,
.auth-card input {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--text);
  padding: 0 10px;
  outline: none;
}

select:focus,
.search-popover-input:focus,
.auth-card input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.select-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.select-row select {
  width: 142px;
}

.filter-actions {
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}

.icon-btn {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
  padding: 0;
}

.icon-btn:hover {
  border-color: var(--primary);
  background: var(--hover);
  color: var(--primary);
}

.view-toggle-btn,
.reset-btn,
.load-more-btn,
.primary-btn,
.ghost-btn,
.link-btn,
.action-btn,
.danger-btn,
.table-action-btn,
.table-link-btn,
.position-view-btn {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--text);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.view-toggle-btn {
  display: none;
}

.primary-btn,
.load-more-btn {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.danger-btn {
  border-color: #f2b8b8;
  background: #f8caca;
  color: #ab2a2a;
}

.danger-btn:disabled {
  opacity: 0.56;
}

.primary-btn:hover,
.load-more-btn:hover {
  background: var(--primary-strong);
}

.ghost-btn:hover,
.reset-btn:hover,
.view-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--hover);
}

.result-toolbar {
  flex: 0 0 auto;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.result-toolbar strong {
  color: var(--primary);
  font-size: 18px;
}

.toolbar-dot {
  width: 4px;
  height: 4px;
  display: inline-block;
  margin: 0 8px 2px;
  border-radius: 999px;
  background: var(--line-strong);
}

.recruit-feed {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.table-container {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.data-table {
  width: max(1536px, 100%);
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12.5px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 6px 7px;
  text-align: left;
  vertical-align: middle;
  overflow: hidden;
  line-height: 1.35;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 34px;
  border-bottom-color: var(--line-strong);
  background: #f1f4f3;
  color: var(--ink);
  white-space: nowrap;
  font-weight: 800;
}

.theme-dark .data-table th {
  background: var(--surface-strong);
}

.data-table td {
  background: var(--panel);
  color: var(--text);
}

.data-table tr:hover td {
  background: color-mix(in srgb, var(--primary) 5%, var(--panel));
}

.data-table .date-col {
  width: 86px;
}

.data-table .company-col {
  width: 116px;
}

.data-table .position-col {
  width: 320px;
}

.data-table .action-col {
  width: 124px;
}

.data-table .location-col {
  width: 140px;
}

.data-table .link-col {
  width: 88px;
}

.data-table .nature-col {
  width: 78px;
}

.data-table .industry-col {
  width: 104px;
}

.data-table .education-col {
  width: 78px;
}

.data-table .deadline-col {
  width: 88px;
}

.data-table .batch-col {
  width: 108px;
}

.data-table .minor-col {
  width: 82px;
}

.data-table .tag-col {
  width: 96px;
}

.data-table .nature-col,
.data-table .industry-col,
.data-table .education-col,
.data-table .batch-col,
.data-table .minor-col {
  white-space: nowrap;
}

.truncate {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sort-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-weight: 800;
}

.sort-button.active {
  color: var(--primary);
}

.sort-icon {
  color: var(--subtle);
}

.link-btn {
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  background: color-mix(in srgb, var(--blue) 8%, var(--panel));
  color: var(--blue);
}

.link-btn:hover {
  border-color: var(--blue);
}

.action-btn {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
  background: color-mix(in srgb, var(--primary) 9%, var(--panel));
  color: var(--primary);
}

.action-btn.added {
  border-color: var(--line);
  background: var(--surface);
  color: var(--subtle);
}

.data-table .link-btn,
.data-table .action-btn {
  min-width: 72px;
  min-height: 24px;
  height: 24px;
  border-color: var(--table-action);
  background: var(--table-action);
  color: #fff;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 22px;
  white-space: nowrap;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.data-table .link-btn:hover,
.data-table .action-btn:hover {
  border-color: var(--table-action-strong);
  background: var(--table-action-strong);
  color: #fff;
}

.data-table .action-btn.added {
  border-color: var(--line);
  background: var(--surface);
  color: var(--subtle);
  box-shadow: none;
}

.tag {
  display: inline-block;
  max-width: 88px;
  margin: 2px 4px 2px 0;
  padding: 1px 6px;
  border: 1px solid color-mix(in srgb, var(--gold) 26%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 10%, var(--panel));
  color: var(--gold);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-strip {
  display: flex;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.no-link,
.no-data {
  color: var(--muted);
}

.no-data {
  padding: 36px 16px;
  text-align: center;
}

.cards-container {
  display: none;
}

.job-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 12px;
}

.job-card + .job-card {
  margin-top: 10px;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.job-card-title {
  min-width: 0;
}

.company-name {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.company-name::before {
  content: "";
  width: 7px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--gold));
  flex: 0 0 auto;
}

.job-card-date {
  color: var(--primary);
  font-size: 12px;
  white-space: nowrap;
}

.job-section {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.job-section:last-child {
  border-bottom: 0;
}

.job-section-title {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.info-grid {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 6px 8px;
  font-size: 13px;
  line-height: 1.45;
}

.info-label {
  color: var(--muted);
  white-space: nowrap;
}

.info-value {
  min-width: 0;
  color: var(--text);
}

.job-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 10px;
}

.load-more-wrap {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.load-more-btn[hidden],
[hidden] {
  display: none !important;
}

.search-popover-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.45);
}

.search-popover {
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.search-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.search-popover-header h2 {
  margin: 0;
  font-size: 17px;
}

.search-popover-body {
  padding: 18px;
}

.search-popover-input {
  width: 100%;
  height: 38px;
}

.search-tips {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 12px;
}

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

.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  max-width: min(360px, calc(100vw - 48px));
  min-width: 148px;
  transform: translate(-50%, -50%);
  padding: 13px 18px;
  border-radius: 8px;
  background: rgba(19, 35, 28, 0.9);
  color: #fff;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.static-page {
  overflow-y: auto;
  padding: 18px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0 18px;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}

.page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-header-actions {
  flex: 0 0 auto;
}

.page-grid,
.knowledge-list,
.pricing-grid,
.metric-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

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

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

.pricing-grid,
.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.guide-flow,
.checklist-panel,
.auth-card,
.profile-card,
.share-panel,
.price-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card {
  min-height: 142px;
  padding: 16px;
}

.feature-card h3,
.guide-flow h2,
.checklist-panel h2,
.auth-card h2,
.share-panel h2,
.price-card h2,
.empty-state h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.feature-card p,
.guide-flow li,
.auth-card p,
.share-panel p,
.price-card p,
.empty-state p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.feature-card p {
  margin: 0;
}

.feature-card span {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--panel));
  font-size: 12px;
}

.guide-flow,
.checklist-panel,
.share-panel,
.empty-state {
  margin-top: 16px;
  padding: 18px;
}

.guide-flow ol {
  margin: 0;
  padding-left: 20px;
}

.checklist-panel {
  display: grid;
  gap: 10px;
}

.checklist-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
}

.page-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.progress-workspace {
  min-height: 100%;
}

.progress-work-header {
  display: grid;
  grid-template-columns: 180px minmax(420px, 1fr) 420px;
  align-items: center;
  gap: 12px;
  padding: 0 0 14px;
}

.progress-page-title,
.progress-sheet-title,
.progress-page-actions {
  min-width: 0;
  display: flex;
  align-items: center;
}

.progress-page-title {
  gap: 10px;
}

.progress-page-title span {
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: var(--table-action);
}

.progress-page-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.progress-sheet-title {
  justify-content: center;
  gap: 9px;
  color: var(--ink);
  text-align: center;
}

.progress-sheet-title strong {
  font-size: 20px;
  font-weight: 900;
}

.progress-total,
.progress-tip-inline {
  color: var(--muted);
  font-size: 12px;
}

.progress-page-actions {
  justify-content: flex-end;
  gap: 9px;
}

.progress-tip-inline {
  white-space: nowrap;
}

.progress-total {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.progress-total b {
  color: var(--ink);
}

.progress-tip {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.progress-table-wrap {
  margin-top: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(19, 35, 28, 0.09);
}

.progress-table-wrap::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}

.progress-table-wrap::-webkit-scrollbar-track {
  background: #d1d1d1;
}

.progress-table-wrap::-webkit-scrollbar-thumb {
  border: 3px solid #d1d1d1;
  border-radius: 999px;
  background: #9f9f9f;
}

.progress-table {
  width: 3050px;
  min-width: 3050px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

.progress-table .col-check {
  width: 44px;
}

.progress-table .col-seq {
  width: 60px;
}

.progress-table .col-date {
  width: 100px;
}

.progress-table .col-deadline {
  width: 120px;
}

.progress-table .col-position {
  width: 150px;
}

.progress-table .col-company {
  width: 120px;
}

.progress-table .col-location {
  width: 200px;
}

.progress-table .col-apply {
  width: 150px;
}

.progress-table .col-notice,
.progress-table .col-nature,
.progress-table .col-industry,
.progress-table .col-education {
  width: 80px;
}

.progress-table .col-date-input {
  width: 135px;
}

.progress-table .col-status {
  width: 120px;
}

.progress-table .col-offer {
  width: 120px;
}

.progress-table .col-note {
  width: 160px;
}

.progress-table th,
.progress-table td {
  border-right: 1px solid #d8e0da;
  border-bottom: 1px solid #e5e5e5;
  padding: 9px 10px;
  text-align: center;
  vertical-align: middle;
}

.progress-table th {
  height: 50px;
  background: #31a53c;
  color: #fff;
  white-space: nowrap;
  font-weight: 900;
}

.progress-table thead tr:nth-child(2) th {
  height: 36px;
  background: #31a53c;
}

.progress-table td {
  height: 58px;
  background: #fff;
  color: #202b25;
}

.progress-table tbody tr:hover {
  background: #f6fbf7;
}

.progress-table tbody tr:hover td {
  background: #f6fbf7;
}

.check-col input {
  width: 16px;
  height: 16px;
  accent-color: var(--table-action);
}

.progress-position,
.progress-company,
.progress-city {
  max-width: 100%;
  text-align: left;
}

.progress-kind {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-top: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.table-action-btn,
.table-link-btn,
.position-view-btn {
  min-height: 26px;
  padding: 0 10px;
  white-space: nowrap;
}

.table-action-btn,
.table-link-btn {
  border-color: var(--table-action);
  background: var(--table-action);
  color: #fff;
}

.table-action-btn:hover,
.table-link-btn:hover {
  background: var(--table-action-strong);
}

.position-view-btn {
  border-color: transparent;
  background: transparent;
  color: var(--text);
  font-weight: 500;
}

.position-view-btn:hover {
  color: var(--primary);
}

.progress-date-input,
.progress-note-input {
  width: 100%;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  padding: 0 7px;
  outline: 0;
}

.progress-date-input:focus,
.progress-note-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.status-select {
  display: inline-flex;
  align-items: center;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
}

.status-select.done {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--line));
  background: var(--mint);
  color: var(--primary);
}

.status-select.waiting {
  border-color: #d7c58d;
  background: #fff8dd;
  color: #8a6400;
}

.status-select.failed {
  border-color: #f1b6b6;
  background: #fff0f0;
  color: #b33333;
}

.status-select:focus-within {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 22%, transparent);
}

.status-select select {
  min-width: 92px;
  height: 28px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  padding: 0 7px;
  outline: 0;
}

.metric-grid div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-size: 13px;
}

.price-card {
  padding: 18px;
}

.price-card strong {
  display: block;
  margin: 12px 0;
  color: var(--primary);
  font-size: 28px;
}

.price-card ul {
  min-height: 92px;
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.auth-card {
  width: min(420px, 100%);
  margin: 18px auto 0;
  padding: 20px;
  display: grid;
  gap: 14px;
}

.auth-card label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 14px;
}

.text-link {
  border: 0;
  background: transparent;
  color: var(--primary);
  padding: 0;
}

.profile-card {
  margin-top: 18px;
  padding: 20px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: center;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.profile-info p {
  margin: 6px 0;
  color: var(--text);
}

.profile-info span {
  color: var(--muted);
}

@media (min-width: 768px) {
  .layout-shell {
    gap: 8px;
    padding: 8px;
  }

  .sidebar {
    top: 8px;
    height: calc(100vh - 16px - var(--record-footer));
  }

  .main-container {
    height: calc(100vh - 16px - var(--record-footer));
    gap: 5px;
  }

  .announcement {
    min-height: 34px;
    padding: 6px 10px;
  }

  .recruitment-data {
    gap: 5px;
    padding: 7px;
  }

  .workspace-hero {
    min-height: 82px;
    padding: 12px 16px;
  }

  .workspace-eyebrow {
    min-height: 16px;
    font-size: 11px;
  }

  .workspace-hero h1 {
    margin: 1px 0 4px;
    font-size: 24px;
  }

  .workspace-hero p {
    font-size: 13px;
    line-height: 1.45;
  }

  .mode-switch {
    padding: 4px;
  }

  .mode-pill {
    min-height: 32px;
  }

  .dashboard-section {
    gap: 6px;
  }

  .today-title,
  .dashboard-card {
    min-height: 36px;
  }

  .today-title {
    padding: 0 10px;
  }

  .dashboard-card {
    min-width: 100px;
  }

  .card-label {
    font-size: 12px;
  }

  .card-value {
    font-size: 20px;
  }

  .main-content {
    gap: 5px;
  }

  .filter-section {
    gap: 5px;
    padding: 7px 9px;
  }

  .filter-row {
    min-height: 28px;
  }

  .chip {
    min-height: 26px;
    line-height: 24px;
    padding: 0 9px;
  }

  select,
  .search-popover-input,
  .auth-card input {
    min-height: 28px;
  }

  .icon-btn {
    width: 30px;
    height: 30px;
  }

.view-toggle-btn,
  .reset-btn,
  .load-more-btn,
  .primary-btn,
  .ghost-btn,
  .link-btn,
  .action-btn {
    min-height: 28px;
  }

  .result-toolbar {
    min-height: 28px;
  }

  .data-table th {
    height: 32px;
  }

  .data-table th,
  .data-table td {
    padding: 6px 8px;
    line-height: 1.35;
  }

  .data-table .link-btn,
  .data-table .action-btn {
    min-height: 24px;
    height: 24px;
    line-height: 22px;
  }
}

@media (max-width: 1180px) {
  .layout-shell {
    grid-template-columns: 208px minmax(0, 1fr);
  }

  :root {
    --sidebar: 208px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .dashboard-cards {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }

  .select-row select {
    width: 132px;
  }

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

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

  .progress-work-header {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .progress-sheet-title {
    justify-content: flex-start;
  }

  .progress-page-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  :root {
    --record-footer: 46px;
  }

  .layout-shell {
    display: block;
    min-height: calc(100vh - var(--record-footer));
    padding: var(--mobile-header) 0 var(--record-footer);
  }

  .mobile-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    height: var(--mobile-header);
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
  }

  .mobile-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--primary);
    font-weight: 900;
  }

  .mobile-brand img {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    flex: 0 0 auto;
  }

  .mobile-brand span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 31;
    width: min(286px, 86vw);
    height: auto;
    min-width: 0;
    max-height: none;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.24s ease;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .layout-shell.sidebar-collapsed .sidebar-header {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 18px;
  }

  .layout-shell.sidebar-collapsed .brand-mark {
    width: 52px;
    height: 52px;
  }

  .layout-shell.sidebar-collapsed .brand-copy {
    display: grid;
  }

  .layout-shell.sidebar-collapsed .menu-item {
    grid-template-columns: 22px 1fr;
    justify-items: start;
    min-height: 42px;
    padding: 8px 12px;
  }

  .layout-shell.sidebar-collapsed .menu-item span:last-child {
    display: block;
  }

  .layout-shell.sidebar-collapsed .submenu-stack.expanded {
    display: grid;
  }

  .layout-shell.sidebar-collapsed .sidebar-footer span {
    display: inline;
  }

  .main-container {
    height: auto;
    min-height: calc(100vh - var(--mobile-header) - var(--record-footer));
    gap: 8px;
  }

  .top-bar {
    padding: 8px 10px 0;
  }

  .announcement {
    align-items: flex-start;
  }

  #announcementText {
    white-space: normal;
  }

  .content-inner {
    min-height: auto;
    padding: 0 10px 12px;
  }

  .recruitment-data,
  .static-page {
    height: auto;
    min-height: calc(100vh - var(--mobile-header) - var(--record-footer) - 68px);
    overflow: visible;
  }

  .recruitment-data {
    padding: 10px;
  }

  .workspace-hero {
    display: grid;
    gap: 14px;
    min-height: 0;
    padding: 14px;
  }

  .workspace-hero h1 {
    font-size: 23px;
  }

  .mode-switch {
    width: 100%;
  }

  .dashboard-section {
    display: block;
  }

  .today-title {
    min-height: 42px;
    text-align: center;
  }

  .dashboard-cards {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    max-width: none;
  }

  .dashboard-cards::-webkit-scrollbar {
    display: none;
  }

  .dashboard-card {
    min-width: 108px;
  }

  .filter-row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
  }

  .filter-label {
    min-width: 0;
    padding-top: 6px;
  }

  .chip-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .chip {
    width: 100%;
    min-width: 0;
    padding: 0 6px;
    text-align: center;
  }

  .city-row {
    grid-template-columns: 78px minmax(0, 1fr) 64px;
  }

  .city-row .chip-group {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-row .more-city-btn {
    grid-column: 3;
    margin-left: 0;
  }

  .more-city-panel {
    grid-column: 1 / -1;
    padding-left: 0;
  }

  .more-city-panel label {
    width: 100%;
  }

  .more-city-panel select {
    flex: 1;
  }

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

  .select-row label {
    width: 100%;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .progress-work-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 2px;
  }

  .progress-page-title h1 {
    font-size: 20px;
  }

  .progress-sheet-title {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .progress-page-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .progress-tip {
    text-align: left;
  }

  .progress-table {
    width: 3050px;
    min-width: 3050px;
  }

  .select-row select {
    width: 100%;
  }

  .filter-actions {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .view-toggle-btn {
    display: inline-flex;
    align-items: center;
  }

  .result-toolbar {
    align-items: flex-start;
    padding: 2px 0;
  }

  .table-container {
    max-height: 62vh;
  }

  .cards-container {
    display: none;
  }

  .recruit-feed.cards-mode .table-container {
    display: none;
  }

  .recruit-feed.cards-mode .cards-container {
    display: block;
  }

  .data-table {
    width: 1180px;
  }

  .job-card-actions {
    justify-content: stretch;
  }

  .job-card-actions button {
    flex: 1;
  }

  .static-page {
    padding: 12px;
  }

  .page-header {
    align-items: flex-start;
    display: grid;
    gap: 12px;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .page-grid,
  .knowledge-list,
  .pricing-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .record-footer {
    flex-wrap: wrap;
    gap: 0 9px;
    align-content: center;
    padding: 5px 10px;
    font-size: 11px;
  }

  .record-owner,
  .record-license,
  .record-link,
  .record-status {
    min-height: 17px;
  }
}
