:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --line: #e8ebef;
  --line-strong: #d9dee5;
  --text: #172033;
  --muted: #6f7785;
  --soft: #f8fafc;
  --accent: #2563eb;
  --accent-soft: #edf4ff;
  --personal: #f6faff;
  --danger: #dc2626;
  --ok: #16a34a;
  --sidebar: #111827;
  --sidebar-soft: #1f2937;
  --sidebar-muted: #9ca3af;
  --shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-content: start;
  transition: grid-template-columns 160ms ease;
}

.shell.sidebar-collapsed {
  grid-template-columns: 58px minmax(0, 1fr);
}

.shell.no-sidebar {
  display: block;
}

.shell.no-sidebar .main {
  min-height: 100vh;
}

.sidebar {
  border-right: 1px solid #0f172a;
  background: var(--sidebar);
  padding: 16px 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.sidebar-toggle {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  margin: 0 0 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  margin-bottom: 18px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  color: #111827;
  font-weight: 700;
}

.brand-title {
  font-weight: 720;
  white-space: nowrap;
  color: #f8fafc;
}

.brand-sub {
  color: var(--sidebar-muted);
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
}

.sidebar-collapsed .brand {
  padding: 4px 0;
}

.sidebar-collapsed .brand > div:last-child,
.sidebar-collapsed .nav span,
.sidebar-collapsed .side-account {
  display: none;
}

.sidebar-collapsed .nav button {
  width: 30px;
  height: 30px;
  padding: 0;
  justify-content: center;
}

.side-account {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  display: grid;
  gap: 8px;
}

.side-email {
  color: var(--sidebar-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-account .btn.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #f8fafc;
}

.side-account .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.10);
}

.nav {
  display: grid;
  gap: 4px;
}

.nav button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sidebar-muted);
  text-align: left;
}

.nav button.active,
.nav button:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.main {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.title h1 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0;
  font-weight: 760;
}

.title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-help {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.userbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfd;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 13px;
}

.btn {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  border-radius: 7px;
  color: var(--text);
  padding: 7px 10px;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.025);
}

.btn:hover {
  border-color: #cbd3de;
  background: #f8fafc;
}

.btn.primary {
  background: #172033;
  color: #fff;
  border-color: #172033;
}

.btn.ghost {
  background: transparent;
}

.btn.danger {
  color: var(--danger);
}

.page-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.filter-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
}

.filter-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  background: currentColor;
  clip-path: polygon(7% 16%, 93% 16%, 60% 54%, 60% 86%, 40% 86%, 40% 54%);
}

.pen-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-block;
}

.pen-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 11px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(42deg);
}

.pen-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 1px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.list-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  background:
    linear-gradient(currentColor 0 0) 0 2px / 14px 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 6px / 14px 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 10px / 14px 2px no-repeat;
}

.star-toolbar-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  background: currentColor;
  clip-path: polygon(50% 4%, 61% 35%, 94% 35%, 67% 54%, 78% 88%, 50% 68%, 22% 88%, 33% 54%, 6% 35%, 39% 35%);
}

.calendar-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  border: 1.8px solid currentColor;
  border-radius: 3px;
  position: relative;
}

.calendar-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 4px;
  border-top: 1.8px solid currentColor;
}

.calendar-icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  left: 4px;
  top: 8px;
  background: currentColor;
  box-shadow: 4px 0 0 currentColor;
}

.account-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.account-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: translateX(-50%);
}

.jobs-brand-banner {
  min-height: 118px;
  padding: 28px 22px 24px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #ffffff;
  text-align: center;
}

.jobs-brand-banner h1 {
  margin: 0;
  color: #111827;
  font-size: 36px;
  line-height: 1.24;
  font-weight: 560;
  letter-spacing: 0;
  text-wrap: balance;
}

.jobs-brand-banner p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 14px;
  margin: 18px auto 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.6;
}

.jobs-brand-banner p > span {
  position: relative;
}

.jobs-brand-banner p > span:not(:last-of-type)::after {
  content: "|";
  margin-left: 14px;
  color: #9ca3af;
}

.jobs-brand-banner mark {
  padding: 1px 5px 2px;
  background: #fff36d;
  color: #111827;
  font-weight: 520;
  cursor: default;
}

.contact-popover {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.jobs-brand-banner .contact-qr {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 80;
  width: 224px;
  padding: 10px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.jobs-brand-banner .contact-qr::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 12px;
  height: 12px;
  border-left: 1px solid #dbe3ee;
  border-top: 1px solid #dbe3ee;
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg);
}

.jobs-brand-banner .contact-qr img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.jobs-brand-banner .contact-popover:hover .contact-qr,
.jobs-brand-banner .contact-popover:focus-within .contact-qr {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 0;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.025);
}

.toolbar .btn {
  min-height: 34px;
  padding: 7px 11px;
}

.type-filter-bar {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 1px 0 3px;
}

.type-filter-option {
  min-width: 104px;
  min-height: 31px;
  padding: 5px 18px;
  border: 1px solid #cfd7e3;
  border-radius: 999px;
  background: #ffffff;
  color: #4b5563;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.type-filter-option:hover {
  border-color: #9ca9ba;
  background: #f6f8fb;
  color: #111827;
}

.type-filter-option.selected {
  border-color: #1f2348;
  background: #1f2348;
  color: #ffffff;
}

.type-filter-option:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.type-filter-option:active {
  transform: translateY(1px);
}

.private-jd-row {
  display: flex;
  justify-content: flex-end;
  padding: 8px 0;
}

.private-jd-button {
  margin-left: 0;
}

.global-account-entry {
  position: fixed;
  z-index: 35;
  top: 14px;
  right: 16px;
  min-height: 34px;
  background: #ffffff;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--panel);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.page-footer-actions {
  margin-top: 12px;
}

.footer-meta {
  display: flex;
  align-items: center;
  min-width: 0;
}

.footer-actions,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.footer-actions {
  justify-content: flex-end;
  margin-left: auto;
}

.table-footer > .footer-nav {
  order: 2;
  margin-left: auto;
}

.table-footer > .chip {
  order: 1;
}

.table-footer > .icon-btn {
  order: 3;
}

.footer-nav button {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  border-radius: 7px;
  color: var(--text);
  padding: 7px 10px;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.025);
}

.footer-nav button:hover,
.footer-nav button.active {
  border-color: #172033;
  background: #172033;
  color: #ffffff;
}

.mobile-zoom-control {
  display: none;
}

.mini-btn {
  min-height: 30px;
  padding: 5px 8px;
}

.zoom-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
}

.search {
  min-width: 250px;
  flex: 1;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fbfcfe;
  color: var(--text);
}

.textarea {
  min-height: 88px;
  resize: vertical;
}

.table-shell {
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--panel);
  overflow: auto;
  max-height: min(510px, calc(100vh - 170px));
  min-height: 360px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  flex: 1 1 auto;
}

.jobs-table-shell {
  border-radius: 0;
  border-color: #f1f4f7;
  scrollbar-color: #9aa7b8 #f8fafc;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.jobs-table-shell::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.jobs-table-shell::-webkit-scrollbar-track {
  border: 3px solid #eef2f6;
  border-radius: 7px;
  background: #f8fafc;
  box-shadow: none;
}

.jobs-table-shell::-webkit-scrollbar-thumb {
  min-height: 44px;
  min-width: 56px;
  border: 3px solid #f8fafc;
  border-radius: 7px;
  background: #9aa7b8;
  background-clip: padding-box;
}

.jobs-table-shell:hover::-webkit-scrollbar-thumb {
  background-color: #7d8ca1;
}

.jobs-table-shell::-webkit-scrollbar-thumb:active {
  background-color: #65758d;
}

.jobs-table-shell::-webkit-scrollbar-corner {
  background: #f8fafc;
}

.jobs-table-frame {
  position: relative;
  min-width: 0;
}

.jobs-table-right-shadow {
  position: absolute;
  z-index: 25;
  top: 0;
  right: 0;
  bottom: 0;
  width: 14px;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset -8px 0 8px -8px rgba(15, 23, 42, 0.28);
}

.jobs-table-frame.has-more-right .jobs-table-right-shadow {
  opacity: 1;
}

.floating-table-scroll {
  position: fixed;
  z-index: 28;
  bottom: 8px;
  height: 16px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.floating-table-scroll[hidden] {
  display: none;
}

.floating-table-scroll:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.55);
  outline-offset: 2px;
}

.floating-table-scroll::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 4px;
  background: #e2e7ed;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.floating-table-scroll::-webkit-slider-thumb {
  width: var(--scroll-thumb-width, 64px);
  height: 12px;
  margin-top: -3px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #f7f9fb;
  border-radius: 7px;
  background: #7d8ca1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
}

.floating-table-scroll:hover::-webkit-slider-thumb {
  background: #65758d;
}

.floating-table-scroll:active::-webkit-slider-thumb {
  background: #4f5e75;
}

.floating-table-scroll::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 4px;
  background: #e2e7ed;
}

.floating-table-scroll::-moz-range-thumb {
  width: var(--scroll-thumb-width, 64px);
  height: 12px;
  border: 2px solid #f7f9fb;
  border-radius: 7px;
  background: #7d8ca1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
}

.jobs-table th,
.jobs-table td {
  border-right-color: #eef2f4;
  border-bottom-color: #e4e9ed;
}

.jobs-table th {
  border-right-color: #2c2e51;
  border-bottom: 1px solid #191c39;
}

.jobs-table th.personal-col,
.jobs-table th.favorite-col {
  background: #202044;
  color: #ffffff;
  border-right-color: #2c2e51;
  border-bottom-color: #191c39;
}

.jobs-table tbody tr td:last-child {
  border-right-color: #e4e9ed;
}

table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.jobs-table {
  zoom: var(--table-zoom, 0.8);
}

th,
td {
  border-right: 1px solid #e6ebef;
  border-bottom: 1px solid #d9e0e5;
  min-width: 128px;
  max-width: 360px;
  padding: 0;
  background: var(--panel);
  vertical-align: middle;
}

th {
  position: sticky;
  top: 0;
  z-index: 5;
  color: #ffffff;
  background: #202044;
  font-size: 13px;
  text-align: left;
  font-weight: 800;
  border-right-color: #34355b;
  border-bottom-color: #151833;
}

.th-inner {
  position: relative;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
}

th .th-inner {
  justify-content: center;
  text-align: center;
}

.header-label small {
  display: inline;
  margin-left: 2px;
  color: #a7abc3;
  font-size: 10px;
  font-weight: 500;
  line-height: inherit;
}

.header-label {
  white-space: nowrap;
}

.th-inner.header-centered {
  justify-content: center;
}

.field-menu-btn {
  position: absolute;
  right: 10px;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  line-height: 1;
}

.field-menu-btn:hover,
.field-menu-btn.active {
  border-color: var(--line);
  background: #ffffff;
  color: var(--text);
}

.direct-sort-btn {
  position: absolute;
  right: 9px;
  width: 24px;
  height: 28px;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #777b99;
  cursor: pointer;
}

.direct-sort-btn svg {
  width: 20px;
  height: 20px;
  overflow: visible;
}

.direct-sort-btn .sort-path {
  fill: none;
  stroke: #5f6383;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.direct-sort-btn:hover .sort-path,
.direct-sort-btn .sort-path.selected {
  stroke: #b7bad0;
}


.resize {
  position: absolute;
  right: -4px;
  top: 0;
  width: 8px;
  height: 100%;
  cursor: col-resize;
}

td {
  height: 40px;
}

td .cell {
  min-height: 39px;
  padding: 7px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation-icon {
  color: var(--text);
  font-size: 15px;
  line-height: 1;
}

.deadline-cell {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.deadline-days {
  color: var(--muted);
  font-size: 12px;
}

.application-flow {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.application-flow-stage,
.application-flow-separator {
  color: var(--muted);
  opacity: 0.48;
}

.application-flow-stage {
  flex: 0 0 auto;
  padding: 2px 3px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 500;
}

.application-flow-stage.active {
  color: var(--accent);
  opacity: 1;
  border-color: #bfdbfe;
  background: var(--accent-soft);
  font-weight: 700;
}

.guest-cell {
  font-size: 12px;
}

.favorite-col {
  position: static;
  z-index: 7;
  min-width: 42px;
  width: 42px;
  max-width: 42px;
  background: #ffffff;
  text-align: center;
}

th.favorite-col {
  z-index: 24;
  background: #202044;
}

.favorite-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #94a3b8;
  font-size: 17px;
  line-height: 1;
}

.favorite-btn:hover {
  background: #f8fafc;
  color: #64748b;
}

.favorite-btn.active {
  color: #f59e0b;
}

.guest-cell::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  margin-top: 12px;
  background: #cbd5e1;
}

td input,
td select {
  width: 100%;
  height: 100%;
  min-height: 40px;
  border: 0;
  background: transparent;
  padding: 7px 10px;
  outline: 0;
}

tr:hover td {
  background: #fbfcfe;
}

.jobs-table tbody tr:nth-child(even) td,
.jobs-table tbody tr:nth-child(even) td input,
.jobs-table tbody tr:nth-child(even) td select {
  background: #f2f4f6;
}

.jobs-table tbody tr:nth-child(odd) td,
.jobs-table tbody tr:nth-child(odd) td input,
.jobs-table tbody tr:nth-child(odd) td select {
  background: #ffffff;
}

.jobs-table tbody tr:hover td,
.jobs-table tbody tr:hover td input,
.jobs-table tbody tr:hover td select {
  background: #eef3f8;
}

.jobs-table tbody tr td.personal-col,
.jobs-table tbody tr td.personal-col input,
.jobs-table tbody tr td.personal-col select,
.jobs-table tbody tr:hover td.personal-col,
.jobs-table tbody tr:hover td.personal-col input,
.jobs-table tbody tr:hover td.personal-col select {
  background: var(--personal);
}

.jobs-table tbody tr td.favorite-col,
.jobs-table tbody tr:hover td.favorite-col {
  background: #ffffff;
  border-right-color: #edf1f5;
  border-bottom-color: #edf1f5;
}

.jobs-table tbody tr td.personal-col {
  border-right-color: #e8eef6;
  border-bottom-color: #e8eef6;
}

.jobs-table tbody tr td.personal-boundary {
  border-right-color: #b8d0ec;
}

.personal-col {
  background: var(--personal);
}

th.personal-col,
td.personal-col,
td.personal-col input,
td.personal-col select {
  background: var(--personal);
}

th.personal-col {
  background: #202044;
  color: #ffffff;
}

.freeze-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 3px;
  position: relative;
}

.freeze-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -2px;
  bottom: -2px;
  width: 2px;
  background: currentColor;
}

.frozen-col {
  position: sticky;
  z-index: 9;
  box-shadow: 1px 0 0 rgba(100, 116, 139, 0.22);
}

th.frozen-col {
  z-index: 26;
}

td.frozen-col {
  z-index: 8;
  background: inherit;
}

th.favorite-col.frozen-col {
  z-index: 30;
}

td.favorite-col.frozen-col {
  z-index: 7;
}

.personal-boundary {
  border-right: 1px solid #b8d0ec;
  box-shadow: 1px 0 0 rgba(184, 208, 236, 0.36);
}

th.personal-boundary {
  border-right-color: #a9c4e3;
}

.freeze-boundary {
  border-right-color: #a9b8cc;
  box-shadow: 1px 0 0 rgba(100, 116, 139, 0.24);
}

th.freeze-boundary {
  border-right-color: #3b3d67;
}

.sticky-col {
  position: static;
  z-index: 4;
}

th.sticky-col {
  z-index: 8;
}

.id-col {
  position: sticky;
  left: 0;
  z-index: 6;
  background: #f8fafc;
}

td.id-col {
  z-index: 5;
  background: #ffffff;
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 4px 7px;
  background: var(--accent-soft);
  color: #275ea8;
  font-size: 12px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.stack {
  display: grid;
  gap: 10px;
}

.row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.field-card {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 10px;
  padding: 11px;
  display: grid;
  gap: 8px;
}

.field-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.30);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 70;
}

.field-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: transparent;
}

.field-menu {
  position: fixed;
  top: 132px;
  left: max(78px, 8vw);
  width: min(304px, calc(100vw - 24px));
  max-height: min(560px, calc(100vh - 160px));
  overflow: auto;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  padding: 0;
}

.date-filter-popover {
  position: fixed;
  top: 128px;
  left: 50%;
  transform: translateX(-50%);
  width: min(360px, calc(100vw - 24px));
  padding-bottom: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
}

.quick-filter-popover {
  width: min(320px, calc(100vw - 24px));
}

.quick-filter-list {
  max-height: min(360px, calc(100vh - 250px));
}

.date-preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 12px 12px 8px;
}

.date-range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 4px 12px 10px;
}

.date-filter-actions {
  justify-content: flex-end;
  padding: 0 12px;
}

.field-menu-title {
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px 9px;
  border-bottom: 1px solid var(--line);
}

.field-menu-section {
  padding: 8px 12px;
  display: grid;
  gap: 5px;
}

.field-menu-section + .field-menu-section {
  border-top: 1px solid var(--line);
}

.sort-section {
  background: #fbfcfe;
}

.filter-section {
  background: #ffffff;
}

.menu-row {
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  padding: 7px 8px;
  text-align: left;
}

.menu-row:hover {
  background: #f3f6fa;
}

.field-menu-search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
  color: var(--text);
  min-height: 30px;
  padding: 5px 8px;
  outline: 0;
}

td .quiet-user-control {
  color: var(--text);
  cursor: text;
}

td select.quiet-user-control {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: none;
}

td select.quiet-user-control::-ms-expand {
  display: none;
}

td .quiet-user-control:focus {
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.note-editor-popover {
  position: fixed;
  z-index: 60;
  margin: 0;
  border: 1px solid #93b4e8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 10px 12px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
  outline: 0;
  resize: none;
  line-height: 1.5;
  overflow: auto;
}

.note-editor-popover:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14), 0 6px 16px rgba(15, 23, 42, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .note-editor-popover {
    scroll-behavior: auto;
  }
}

.field-menu-search:focus {
  border-color: #bfdbfe;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.filter-list {
  display: grid;
  gap: 2px;
  max-height: 244px;
  overflow: auto;
}

.filter-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 8px;
  border-radius: 6px;
  line-height: 1.35;
}

.filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.filter-option-value {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.filter-option-label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-option-count {
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.filter-option:hover {
  background: var(--soft);
}

.mini-empty {
  padding: 12px;
  font-size: 12px;
}

.modal {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.recommendation-backdrop {
  animation: recommendation-fade 160ms ease-out;
}

.recommendation-modal {
  width: min(340px, 100%);
  padding: 24px;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.16);
  text-align: center;
  animation: recommendation-enter 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.recommendation-modal h2 {
  margin: 0;
  font-size: 18px;
}

.recommendation-modal p {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.recommendation-confirm {
  min-width: 88px;
  min-height: 34px;
  padding-inline: 18px;
}

.more-services-modal {
  width: min(320px, 100%);
  padding: 20px;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.16);
  text-align: center;
  animation: recommendation-enter 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.more-services-modal h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.more-services-modal img {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
}

.more-services-icon {
  font-size: 17px;
  line-height: 1;
}

.position-detail-trigger {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.position-detail-trigger:hover {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.job-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(15, 23, 42, 0.34);
  animation: recommendation-fade 160ms ease-out;
}

.job-detail-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(500px, 100vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f7f9fc;
  box-shadow: -12px 0 30px rgba(15, 23, 42, 0.18);
  animation: job-detail-enter 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.job-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 142px;
  padding: 26px 28px 24px;
  border-bottom: 0;
  background: #202044;
}

.job-detail-header p {
  margin: 0 0 9px;
  color: #b9bdd3;
  font-size: 12px;
  font-weight: 600;
}

.job-detail-header h2 {
  margin: 0;
  max-width: 390px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.38;
  font-weight: 700;
  text-wrap: balance;
}

.job-detail-close {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #d9dbea;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.job-detail-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.job-detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 28px 32px;
}

.job-detail-section {
  padding: 25px 0 27px;
  border-bottom: 1px solid var(--line);
}

.job-detail-section:last-child {
  border-bottom: 0;
}

.job-detail-section h3 {
  margin: 0 0 18px;
  color: #202044;
  font-size: 15px;
  font-weight: 750;
}

.job-detail-section dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
}

.job-detail-field {
  min-width: 0;
  padding: 12px 0 13px;
  border-top: 1px solid #e3e8f0;
}

.job-detail-field dt {
  margin-bottom: 6px;
  color: #7c8598;
  font-size: 11px;
  font-weight: 650;
}

.job-detail-field dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #161c2c;
  font-size: 14px;
  line-height: 1.5;
}

.job-detail-field dd.empty-value {
  color: #b0b7c3;
}

.job-detail-field a {
  color: #1d4ed8;
}

.personal-detail-section {
  background: #eef4fb;
  margin-inline: -28px;
  padding-inline: 28px;
}

@keyframes job-detail-enter {
  from { transform: translateX(24px); opacity: 0; }
}

@media (max-width: 560px) {
  .job-detail-header {
    min-height: 126px;
    padding: 20px 18px 18px;
  }

  .job-detail-body {
    padding-inline: 18px;
  }

  .job-detail-section dl {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .personal-detail-section {
    margin-inline: -18px;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-detail-backdrop,
  .job-detail-drawer {
    animation: none;
  }
}

@keyframes recommendation-fade {
  from { opacity: 0; }
}

@keyframes recommendation-enter {
  from { opacity: 0; transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .recommendation-backdrop,
  .recommendation-modal {
    animation: none;
  }
}

.admin-tools-modal {
  width: min(920px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
}

.private-jobs-modal {
  width: min(1180px, calc(100vw - 32px));
  max-height: min(780px, calc(100vh - 32px));
  overflow: auto;
}

.private-jobs-actions {
  justify-content: space-between;
}

.private-jobs-table {
  border-top: 1px solid var(--line);
  border-radius: 8px;
  max-height: min(560px, calc(100vh - 220px));
}

.private-jobs-table table {
  min-width: 900px;
}

.private-jobs-table th {
  background: #202044;
  color: #fff;
  font-weight: 700;
}

.private-jobs-table td,
.private-jobs-table th {
  height: 38px;
}

.private-jobs-table td {
  background: #fff;
}

.private-jobs-table tr:nth-child(even) td {
  background: #f2f4f6;
}

.private-jobs-table td.personal-col,
.private-jobs-table tr:nth-child(even) td.personal-col,
.private-jobs-table td.personal-col input,
.private-jobs-table td.personal-col select {
  background: var(--personal);
}

.private-jobs-table .private-action-col {
  min-width: 92px;
  width: 92px;
  max-width: 92px;
  text-align: center;
}

.private-table-input {
  width: 100%;
  min-height: 37px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.private-table-input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.private-jobs-note {
  margin-top: 10px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-head h2 {
  margin: 0;
}

.admin-tools-modal > .panel {
  border: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
}

.modal h2,
.panel h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #111827;
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  z-index: 40;
  box-shadow: var(--shadow);
}

.empty {
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
}

.admin-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.admin-excel-panel {
  min-width: 0;
}

.admin-excel-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.style-scope,
.style-size {
  width: auto;
  min-width: 94px;
}

.palette {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.palette-group {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.swatch {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.admin-excel-table {
  border-top: 1px solid var(--line);
  border-radius: 12px;
  max-height: calc(100vh - 190px);
  cursor: default;
}

.admin-locked-col {
  color: var(--muted);
  background: #eef2f7 !important;
}

.selected-cell {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.admin-excel-table td,
.admin-excel-table th {
  cursor: default;
}

.admin-excel-table input {
  cursor: text;
  caret-color: #0f172a;
}

.admin-excel-table .resize {
  cursor: col-resize;
}

.archived-row td {
  opacity: 0.45;
}

.admin-job-list {
  max-height: 560px;
  overflow: auto;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}

@media (max-width: 860px) {
  .type-filter-bar {
    gap: 6px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-inline: 2px;
    scrollbar-width: none;
  }

  .type-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .type-filter-option {
    flex: 1 0 auto;
    min-width: 94px;
    padding-inline: 14px;
  }

  .shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .shell.sidebar-collapsed {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 10px;
  }

  .nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shell.sidebar-collapsed .nav {
    display: grid;
  }

  .sidebar-collapsed .nav,
  .sidebar-collapsed .brand > div:last-child,
  .sidebar-collapsed .side-account {
    display: none;
  }

  .sidebar-collapsed .sidebar {
    height: auto;
    min-height: 42px;
    max-height: none;
    padding: 8px 10px;
  }

  .sidebar-collapsed .brand {
    display: none;
  }

  .sidebar-collapsed .sidebar-toggle {
    margin: 0;
  }

  .sidebar-toggle {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
  }

  .brand {
    padding: 4px 2px;
    margin-bottom: 8px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-sub,
  .side-email {
    font-size: 11px;
  }

  .side-account {
    position: static;
    margin-top: 8px;
    gap: 6px;
  }

  .nav button {
    justify-content: center;
    min-height: 32px;
    padding: 6px 5px;
    white-space: nowrap;
    border-radius: 7px;
    font-size: 12px;
  }

  .jobs-brand-banner {
    min-height: 118px;
    padding: 22px 14px 18px;
  }

  .jobs-brand-banner h1 {
    font-size: 24px;
    line-height: 1.28;
    font-weight: 600;
  }

  .jobs-brand-banner p {
    margin-top: 12px;
    gap: 4px 9px;
    font-size: 13px;
    line-height: 1.55;
  }

  .jobs-brand-banner p > span:not(:last-of-type)::after {
    margin-left: 9px;
  }

  .sidebar-collapsed .nav span {
    display: inline;
  }

  .nav button span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main {
    padding: 10px;
    min-height: calc(100vh - 42px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
  }

  .title h1 {
    font-size: 20px;
  }

  .title p {
    line-height: 1.45;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .table-shell {
    max-height: none;
    min-height: 320px;
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }

  .jobs-table-shell {
    overflow-x: auto;
    overflow-y: visible;
    max-height: min(510px, calc(100vh - 152px));
  }

  .jobs-table {
    zoom: var(--table-zoom, 1);
  }

  .mobile-zoom-control {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
  }

  .jobs-table-shell .sticky-col,
  .jobs-table-shell .favorite-col:not(.frozen-col) {
    position: static;
    left: auto;
  }

  .jobs-table-shell th.favorite-col,
  .jobs-table-shell td.favorite-col {
    min-width: 38px;
    width: 38px;
    max-width: 38px;
  }

  .jobs-table-shell .favorite-btn {
    width: 28px;
    height: 28px;
  }

  .jobs-table-shell .personal-boundary {
    border-right-width: 1px;
    box-shadow: none;
  }

  .jobs-table-shell td,
  .jobs-table-shell th {
    height: 38px;
  }

  .jobs-table-shell td .cell {
    min-height: 37px;
    padding: 7px 8px;
  }

  .jobs-table-shell td input,
  .jobs-table-shell td select {
    min-height: 37px;
    padding: 6px 8px;
    touch-action: pan-x pan-y;
  }

  .toolbar {
    align-items: stretch;
    padding: 8px;
    gap: 6px;
    border-radius: 10px;
  }

  .toolbar .btn {
    min-height: 34px;
    padding: 6px 9px;
    font-size: 13px;
  }

  .global-account-entry {
    top: 8px;
    right: 8px;
  }

  .mobile-zoom-control .btn,
  .mobile-zoom-control .zoom-chip {
    min-height: 32px;
    font-size: 13px;
  }

  .search {
    min-width: 0;
    flex: 1 0 100%;
  }

  .toolbar .btn,
  .toolbar .chip {
    flex: 0 0 auto;
  }

  .toolbar .chip {
    max-width: 100%;
    white-space: normal;
  }

  .toolbar .chip:last-child {
    flex: 1 1 100%;
  }

  .table-footer {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .footer-actions,
  .table-footer > .footer-nav {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .footer-nav button,
  .table-footer .icon-btn {
    min-height: 34px;
  }

  .field-menu {
    top: 156px;
    left: 12px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .floating-table-scroll {
    display: none;
  }

  .jobs-table-shell {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .jobs-table-shell .sticky-col,
  .jobs-table-shell .favorite-col:not(.frozen-col) {
    position: static;
    left: auto !important;
  }
}

/* Job tracker homepage */
.main:has(.jobs-page) {
  padding: 0;
  background: #faf9f5;
}

.jobs-page {
  min-height: 100vh;
  color: #111111;
  background: #faf9f5;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

.tracker-topbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 7px 28px;
  border-bottom: 1px solid #dedbd2;
  background: #faf9f5;
}

.tracker-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 16px;
}

.tracker-logo {
  width: 20px;
  height: 20px;
  background: #0b0b0b;
}

.tracker-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 4px;
}

.tracker-nav button {
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #575757;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.tracker-nav button:hover {
  color: #000000;
  background: #f3f0e8;
}

.tracker-nav .tracker-more {
  height: 34px;
  align-self: center;
  margin-inline: 10px;
  padding-inline: 16px;
  background: #f7c515;
  color: #000000;
}

.tracker-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tracker-account > span {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #111111;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
}

.jobs-page .jobs-brand-banner {
  position: relative;
  height: 112px;
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  padding: 10px 28px;
  border: 0;
  background: #faf9f5;
  text-align: left;
}

.jobs-brand-copy {
  position: relative;
  z-index: 2;
}

.jobs-page .jobs-brand-banner h1 {
  margin: 0;
  color: #050505;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 750;
}

.jobs-page .jobs-brand-banner p {
  justify-content: flex-start;
  margin: 10px 0 0;
  color: #6a6862;
  font-size: 11.5px;
}

.jobs-page .jobs-brand-banner p > span:not(:last-of-type)::after {
  color: #bbb5a8;
}

.brand-contact {
  margin-left: 10px;
  padding: 5px 12px;
  border: 1px dashed #111111;
  background: #f7c515;
  color: #111111;
  font-weight: 750;
  cursor: pointer;
}

.tracker-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.tracker-blob-main {
  top: -100px;
  right: -70px;
  width: 250px;
  height: 250px;
  background: #f8e29b;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
}

.tracker-blob-pink {
  top: 34px;
  right: 160px;
  width: 38px;
  height: 38px;
  background: #f5a9b8;
}

.tracker-blob-orange {
  top: 44px;
  right: 236px;
  width: 58px;
  height: 58px;
  background: #f0834a;
}

.tracker-mascot {
  position: absolute;
  z-index: 1;
  top: 4px;
  right: 32px;
  width: 140px;
  text-align: center;
}

.tracker-mascot img {
  width: 130px;
  height: 84px;
  object-fit: contain;
}

.tracker-bubble {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-bottom: 3px;
  padding: 4px 10px;
  border: 1.5px solid #0a0a0a;
  border-radius: 14px;
  background: #ffffff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.tracker-bubble::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -8px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #0a0a0a;
}

.tracker-controls {
  padding: 3px 28px 7px;
  border-bottom: 0;
  background: #fbfaf6;
}

.jobs-page .type-filter-bar {
  justify-content: flex-start;
  gap: 8px;
  padding: 0 0 7px;
}

.jobs-page .type-filter-option {
  min-width: 0;
  min-height: 0;
  padding: 5px 16px;
  border: 1.5px solid #111111;
  border-radius: 0;
  color: #111111;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.jobs-page .type-filter-option:hover {
  border-color: #111111;
  background: #f4f0e4;
}

.jobs-page .type-filter-option.selected {
  border-color: #080808;
  background: #080808;
  color: #f7c515;
}

.jobs-page .tracker-toolbar {
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.jobs-page .tracker-toolbar .btn {
  min-height: 0;
  padding: 7px 12px;
  border: 1px solid #dfdbd0;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  box-shadow: none;
  font-size: 12px;
}

.jobs-page .tracker-toolbar .btn:hover,
.jobs-page .tracker-toolbar .btn.primary {
  border-color: #111111;
  background: #fff9e5;
  color: #111111;
}

.toolbar-group-label {
  color: #77736b;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toolbar-divider {
  width: 1px;
  height: 28px;
  margin-inline: 4px;
  background: #e2ded5;
}

.jobs-page .tracker-toolbar .private-jd-button {
  border: 1px dashed #111111;
  font-weight: 750;
}

.jobs-page .tracker-toolbar .recommendation-entry {
  gap: 8px;
  border-color: #df4a72;
  color: #d33e66;
  font-weight: 750;
}

.jobs-page .tracker-toolbar .recommendation-entry small {
  padding: 4px 6px;
  background: #df4a72;
  color: #ffffff;
  font-size: 10px;
}

.jobs-page .mobile-zoom-control {
  margin-top: 8px;
}

.jobs-page .jobs-table-frame {
  border-top: 0;
  margin-inline: 28px;
}

.jobs-page .jobs-table-shell {
  border: 0;
  border-radius: 0;
  background: #faf9f5;
}

.jobs-page .jobs-table {
  border-collapse: collapse;
}

.jobs-page .jobs-table th {
  height: auto;
  padding: 10px 9px;
  border-color: #090909;
  background: #090909;
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
}

.jobs-page .jobs-table th.personal-col,
.jobs-page .jobs-table th.favorite-col {
  background: #090909;
}

.jobs-page .jobs-table th .field-menu-btn {
  color: #f07b3f;
}

.jobs-page .jobs-table td {
  height: auto;
  padding: 6px 9px;
  border-color: #e3ded2;
  color: #111111;
  font-size: 12px;
}

.jobs-page .jobs-table tbody tr:nth-child(odd) td,
.jobs-page .jobs-table tbody tr:nth-child(odd) td input,
.jobs-page .jobs-table tbody tr:nth-child(odd) td select {
  background: #faf9f5;
}

.jobs-page .jobs-table tbody tr:nth-child(even) td,
.jobs-page .jobs-table tbody tr:nth-child(even) td input,
.jobs-page .jobs-table tbody tr:nth-child(even) td select {
  background: #fff8e6;
}

.jobs-page .jobs-table tbody tr:hover td,
.jobs-page .jobs-table tbody tr:hover td input,
.jobs-page .jobs-table tbody tr:hover td select,
.jobs-page .jobs-table tbody tr:hover td.personal-col,
.jobs-page .jobs-table tbody tr:hover td.personal-col input,
.jobs-page .jobs-table tbody tr:hover td.personal-col select {
  background: #f8c51b;
}

.jobs-page .jobs-table tbody tr {
  cursor: pointer;
}

.jobs-page .jobs-table tbody tr:has(input:hover, select:hover, a:hover, button:hover) {
  cursor: default;
}

.jobs-page .jobs-table td.personal-col,
.jobs-page .jobs-table td.personal-col input,
.jobs-page .jobs-table td.personal-col select {
  background: inherit;
}

.jobs-page .favorite-btn {
  color: #d8d3c7;
}

.jobs-page .favorite-btn.active {
  color: #ffffff;
}

.position-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.position-cell > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-detail-hint {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid #ded8ca;
  background: rgba(255, 255, 255, 0.64);
  color: #6d675d;
  font-size: 10px;
}

.jobs-page .jobs-table tbody tr:hover .row-detail-hint {
  border-color: #111111;
  background: #111111;
  color: #f8c51b;
}

.jobs-page .deadline-days {
  color: #d65d30;
}

.jobs-page .job-detail-header {
  background: #090909;
}

.jobs-page .job-detail-drawer {
  background: #faf9f5;
}

.jobs-page .personal-detail-section {
  background: #fff5d8;
}

.jobs-page .table-footer {
  background: #faf9f5;
}

@media (max-width: 900px) {
  .tracker-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px 0;
  }

  .tracker-nav {
    width: 100%;
    min-height: 42px;
    overflow-x: auto;
  }

  .tracker-nav button {
    flex: 0 0 auto;
  }

  .jobs-page .jobs-brand-banner {
    min-height: 126px;
    padding: 20px 14px;
  }

  .jobs-page .jobs-brand-banner h1 {
    font-size: 21px;
  }

  .tracker-blob,
  .tracker-mascot {
    display: none;
  }

  .tracker-controls {
    padding-inline: 14px;
  }

  .jobs-page .jobs-table-frame {
    margin-inline: 14px;
  }

  .jobs-page .tracker-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .jobs-page .tracker-toolbar > * {
    flex: 0 0 auto;
  }
}

.main:has(.account-reference-page) {
  min-height: 100vh;
  padding: 32px;
  background: #faf9f5;
  color: #0a0a0a;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

.account-reference-page .page-action-row {
  margin: 0 0 24px;
}

.account-reference-page .page-action-row .btn {
  min-height: 0;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #e2e0d6;
  border-radius: 0;
  background: transparent;
  color: #0a0a0a;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
}

.account-reference-page > .topbar {
  display: block;
  min-height: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

.account-reference-page > .topbar h1 {
  margin: 0;
  color: #0a0a0a;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

.account-reference-page > .topbar p {
  margin: 6px 0 0;
  color: #6b6b62;
  font-size: 13px;
}

.account-reference-page > .panel {
  margin: 0 0 16px;
  padding: 24px;
  border: 1px solid #e2e0d6;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.account-reference-page > .panel h2 {
  margin: 0 0 16px;
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 700;
}

.account-reference-page > .panel:first-of-type h2 {
  margin-bottom: 6px;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 17px;
}

.account-reference-page > .panel:first-of-type > div:not(.row) {
  color: #6b6b62;
  font-size: 13px;
}

.account-reference-page .panel .row {
  gap: 8px;
  margin-top: 14px;
}

.account-reference-page .chip {
  min-height: 0;
  padding: 4px 10px;
  border: 1px solid #e2e0d6;
  border-radius: 0;
  background: #ffffff;
  color: #6b6b62;
  font-size: 11px;
}

.account-reference-page .panel .row .btn {
  min-height: 0;
  margin-top: 2px;
  padding: 9px 18px;
  border: 1px solid #0a0a0a;
  border-radius: 0;
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
}

.account-reference-page .panel .stack {
  gap: 0;
}

.account-reference-page .input {
  min-height: 0;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid #e2e0d6;
  border-radius: 0;
  background: #ffffff;
  color: #0a0a0a;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 13px;
}

.account-reference-page .input::placeholder {
  color: #b5b5ac;
}

.account-reference-page form .btn.primary {
  width: 100%;
  min-height: 0;
  margin-top: 6px;
  padding: 12px;
  border: 0;
  border-radius: 0;
  background: #0a0a0a;
  color: #f4c21a;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

.account-reference-page form .btn.primary:hover {
  background: #d9a400;
  color: #0a0a0a;
}

@media (max-width: 640px) {
  .main:has(.account-reference-page) {
    padding: 20px 14px;
  }
}

/* Canonical job tracker reference system */
.main:has(.jobs-page),
.shell.no-sidebar:has(.jobs-page) {
  height: auto;
  min-height: 100vh;
  overflow: visible;
  background: #faf9f5;
}

.jobs-page {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --paper-warm: #faf9f5;
  --yellow: #f4c21a;
  --yellow-deep: #d9a400;
  --yellow-soft: #f8e29b;
  --pink: #f5a9b8;
  --pink-deep: #c24f68;
  --orange: #f0834a;
  --orange-deep: #b94f1e;
  --purple: #8b5fbf;
  --teal: #3b8c8c;
  --gray-600: #6b6b62;
  --gray-300: #e2e0d6;
  --row-alt: #fcf6e4;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100vh;
  overflow: visible;
  background: var(--paper-warm);
  gap: 0;
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

.jobs-page button,
.jobs-page input,
.jobs-page select,
.jobs-page textarea {
  font-family: inherit;
}

.jobs-page ::-webkit-scrollbar {
  width: 10px;
  height: 9px;
}

.jobs-page ::-webkit-scrollbar-track {
  border: 0;
  border-radius: 0;
  background: var(--gray-300);
  box-shadow: none;
}

.jobs-page ::-webkit-scrollbar-thumb {
  border: 0;
  border-radius: 5px;
  background: var(--ink);
  box-shadow: none;
}

.jobs-page ::-webkit-scrollbar-thumb:hover {
  background: var(--yellow-deep);
}

.tracker-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  flex: 0 0 auto;
  min-height: 0;
  padding: 7px 28px;
  border-bottom: 1px solid var(--gray-300);
  background: var(--paper-warm);
}

.tracker-brand {
  gap: 10px;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.tracker-brand strong {
  font-weight: 700;
}

.tracker-logo {
  width: 20px;
  height: 20px;
  background: var(--ink);
}

.tracker-nav {
  align-self: auto;
  gap: 16px;
  color: var(--gray-600);
  font-size: 12.5px;
  font-weight: 600;
}

.tracker-nav button {
  height: auto;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.tracker-nav button:hover {
  color: var(--ink);
  background: transparent;
}

.tracker-nav .tracker-more {
  height: auto;
  margin: 0;
  padding: 8px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.tracker-account {
  gap: 6px;
  color: var(--ink) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.tracker-account > span {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--ink);
  font-size: 11px;
}

.jobs-page .jobs-brand-banner {
  position: relative;
  flex: 0 0 112px;
  width: 100%;
  height: 112px;
  min-height: 112px;
  overflow: hidden;
  padding: 10px 28px;
  background: var(--paper-warm);
}

.jobs-page .jobs-brand-banner::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 16px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(250, 249, 245, 0), var(--paper-warm));
}

.jobs-brand-copy {
  z-index: 2;
  width: 600px;
  max-width: 600px;
  padding-top: 6px;
}

.jobs-page .jobs-brand-banner h1 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  color: var(--ink);
  font-size: 19px;
  line-height: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.jobs-page .jobs-brand-banner p {
  gap: 10px;
  margin: 6px 0 0;
  color: var(--gray-600);
  font-size: 11.5px;
  line-height: normal;
}

.jobs-page .jobs-table th .field-menu-btn.active {
  color: var(--yellow);
}

.jobs-page .jobs-brand-banner p > span {
  display: inline;
}

.jobs-page .jobs-brand-banner p > span:not(:last-of-type)::after {
  content: none;
}

.jobs-page .jobs-brand-banner .tracker-feature-separator {
  color: var(--gray-300);
}

.brand-contact {
  margin-left: 0;
  padding: 4px 12px;
  border: 1px dashed var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.tracker-blob-main {
  z-index: 0;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
}

.tracker-blob-pink {
  z-index: 1;
}

.tracker-blob-orange {
  z-index: 2;
}

.tracker-mascot {
  z-index: 2;
}

.tracker-mascot img {
  display: block;
  width: 130px;
  height: 84px;
  margin: 0 auto;
  object-fit: contain;
}

.tracker-bubble {
  margin-bottom: 3px;
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.tracker-controls {
  position: sticky;
  top: var(--tracker-topbar-height, 39px);
  z-index: 35;
  flex: 0 0 auto;
  padding: 0;
  background: var(--paper-warm);
}

.jobs-page .type-filter-bar {
  position: relative;
  z-index: 2;
  gap: 8px;
  padding: 3px 28px 0;
}

.jobs-page .type-filter-option {
  min-width: 0;
  min-height: 0;
  padding: 5px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
}

.jobs-page .type-filter-option:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.jobs-page .type-filter-option.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--yellow);
}

.jobs-page .tracker-toolbar {
  gap: 0;
  row-gap: 6px;
  padding: 7px 28px;
  border-bottom: 1px solid var(--gray-300);
}

.tracker-toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
  padding-right: 16px;
  border-right: 1px solid var(--gray-300);
}

.tracker-toolbar-actions {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.toolbar-group-label {
  margin-right: 2px;
  color: var(--gray-600);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.jobs-page .tracker-toolbar .btn {
  min-height: 0;
  padding: 8px 13px;
  border: 1px solid var(--gray-300);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  display: block;
  gap: normal;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.jobs-page .tracker-toolbar .btn:hover {
  border-color: var(--ink);
  background: var(--yellow-soft);
  color: var(--ink);
}

.jobs-page .tracker-toolbar .btn.primary,
.jobs-page .tracker-toolbar .btn[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
}

.jobs-page .tracker-toolbar .private-jd-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: var(--ink);
  border-style: dashed;
  background: var(--paper);
  font-weight: 600;
}

.jobs-page .tracker-toolbar .private-jd-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.private-jd-plus {
  color: var(--yellow-deep);
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.jobs-page .tracker-toolbar .recommendation-entry {
  gap: 6px;
  border-color: var(--pink-deep);
  color: var(--pink-deep);
  font-weight: 600;
  display: flex;
  gap: 6px;
}

.jobs-page .tracker-toolbar .filter-icon {
  display: none;
}

.jobs-page .tracker-toolbar .recommendation-entry small {
  padding: 2px 6px;
  background: var(--pink-deep);
  color: var(--paper);
  font-size: 9px;
  font-weight: 700;
}

.jobs-page .mobile-zoom-control {
  display: none;
}

.jobs-page .jobs-table-frame {
  flex: 0 0 auto;
  min-height: 1px;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.jobs-page .jobs-table-shell {
  width: 100%;
  height: auto;
  min-height: 1px;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: var(--paper-warm);
  box-shadow: none;
  scrollbar-color: var(--ink) var(--gray-300);
  scrollbar-width: thin;
  scrollbar-gutter: auto;
}

.jobs-page .jobs-table {
  width: 100%;
  min-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  zoom: 1;
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 12px;
}

.jobs-page .jobs-table th {
  height: auto;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  transition: background 120ms ease, color 120ms ease;
  position: sticky;
  top: calc(var(--tracker-topbar-height, 39px) + var(--tracker-controls-height, 82px));
  z-index: 25;
  overflow: hidden;
  white-space: nowrap;
}

.jobs-page .jobs-table th.frozen-col,
.jobs-page .jobs-table td.frozen-col {
  position: sticky;
}

.jobs-page .jobs-table th.frozen-col {
  top: calc(var(--tracker-topbar-height, 39px) + var(--tracker-controls-height, 82px));
  z-index: 26;
  background: var(--ink);
}

.jobs-page .jobs-table th.favorite-col.frozen-col {
  z-index: 30;
}

.jobs-page .jobs-table th:hover,
.jobs-page .jobs-table th.personal-col:hover,
.jobs-page .jobs-table th.favorite-col:hover {
  background: var(--yellow);
  color: var(--ink);
}

.jobs-page .jobs-table th .th-inner {
  min-height: 0;
  justify-content: flex-start;
  padding: 10.75px 9px;
  text-align: left;
}

.jobs-page .jobs-table th.favorite-col .th-inner {
  justify-content: center;
}

.favorite-header-star {
  color: rgba(250, 249, 245, 0.38);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.jobs-page .jobs-table th .field-menu-btn {
  position: static;
  width: auto;
  height: auto;
  margin-left: 4px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: normal;
}

.jobs-page .jobs-table th:hover .field-menu-btn {
  color: var(--ink);
}

.jobs-page .jobs-table th .field-menu-btn.active {
  color: var(--yellow);
}

.jobs-page .jobs-table th:hover .field-menu-btn.active {
  color: var(--ink);
}

.jobs-page .jobs-table td {
  height: auto;
  min-height: 0;
  padding: 4.5px 9px;
  border: 0;
  border-bottom: 1px solid var(--gray-300);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jobs-page .jobs-table td .cell {
  min-height: 0;
  padding: 0;
  line-height: normal;
}

.jobs-page .jobs-table tbody tr:nth-child(odd),
.jobs-page .jobs-table tbody tr:nth-child(odd) td,
.jobs-page .jobs-table tbody tr:nth-child(odd) td input,
.jobs-page .jobs-table tbody tr:nth-child(odd) td select {
  background: var(--paper-warm);
}

.jobs-page .jobs-table tbody tr:nth-child(even),
.jobs-page .jobs-table tbody tr:nth-child(even) td,
.jobs-page .jobs-table tbody tr:nth-child(even) td input,
.jobs-page .jobs-table tbody tr:nth-child(even) td select {
  background: var(--row-alt);
}

.jobs-page .jobs-table tbody tr:hover,
.jobs-page .jobs-table tbody tr:hover td,
.jobs-page .jobs-table tbody tr:hover td input,
.jobs-page .jobs-table tbody tr:hover td select,
.jobs-page .jobs-table tbody tr:hover td.personal-col,
.jobs-page .jobs-table tbody tr:hover td.personal-col input,
.jobs-page .jobs-table tbody tr:hover td.personal-col select {
  background: var(--yellow);
}

.jobs-page .jobs-table tbody tr:hover td .quiet-user-control,
.jobs-page .jobs-table tbody tr:hover td .quiet-user-control:focus {
  box-shadow: none;
}

.jobs-page .jobs-table tbody tr:hover td select.quiet-user-control:focus,
.jobs-page .jobs-table td select.quiet-user-control option {
  background: var(--paper);
  color: var(--ink);
}

.jobs-page .jobs-table tbody tr {
  cursor: pointer;
}

.jobs-page .private-jobs-table {
  border: 0;
  border-radius: 0;
}

.jobs-page .private-jobs-table th,
.jobs-page .private-jobs-table th.personal-col {
  height: auto;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  text-align: left;
}

.jobs-page .private-jobs-table th .th-inner {
  min-height: 0;
  justify-content: flex-start;
  padding: 10.75px 9px;
  text-align: left;
}

.jobs-page .private-jobs-table th.private-action-col .th-inner {
  justify-content: center;
}

.jobs-page .quiet-user-control {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  font-size: 12px;
}

.jobs-page .favorite-btn {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  line-height: normal;
  color: var(--gray-300);
  font-size: 13px;
}

.jobs-page .favorite-btn.active {
  color: var(--ink);
}

.jobs-page .favorite-btn:hover,
.jobs-page .favorite-btn:focus,
.jobs-page .favorite-btn:focus-visible {
  background: transparent;
  box-shadow: none;
}

.jobs-page .jobs-table td.homepage-comp-col .cell {
  color: var(--ink);
  font-weight: 700;
}

.jobs-page .jobs-table td.homepage-comp-col {
  background: inherit !important;
}

.jobs-page .jobs-table tbody tr:hover td.homepage-comp-col {
  background: var(--yellow) !important;
}

.jobs-page .position-cell {
  gap: 6px;
}

.jobs-page .row-detail-hint {
  padding: 2px 7px;
  border: 1px solid var(--gray-300);
  background: transparent;
  color: var(--gray-600);
  font-size: 10px;
  font-weight: 600;
}

.jobs-page .jobs-table tbody tr:hover .row-detail-hint {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--yellow);
}

.jobs-page .homepage-link-col a {
  border-bottom: 1.5px solid var(--yellow-soft);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.jobs-page .jobs-table td.homepage-link-col .cell {
  display: inline;
  border-bottom: 1.5px solid var(--yellow-soft);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 500;
}

.jobs-page .jobs-table td.homepage-open-col .cell {
  display: inline;
  color: var(--gray-600);
  font-size: 12px;
  letter-spacing: 0.025em;
  overflow: visible;
  white-space: normal;
}

.jobs-page .homepage-open-col .cell b {
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  margin-left: 3px;
  font-size: 12px;
  font-weight: 600;
}

.jobs-page .jobs-table td.homepage-ddl-col .cell {
  color: var(--gray-600);
  font-size: 11.5px;
}

.jobs-page .deadline-cell > span:first-child {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.jobs-page .jobs-table td.homepage-ddl-col .deadline-cell {
  display: inline-flex;
  gap: 0;
}

.jobs-page .deadline-days {
  margin-left: 2px;
  color: var(--gray-600);
  font-size: 10.5px;
}

.jobs-page .deadline-days.urgent {
  color: var(--orange-deep);
  font-weight: 600;
}

.jobs-page .deadline-days.closed {
  color: var(--gray-600);
  font-weight: 400;
}

.tier-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.tier-1 { background: var(--pink); color: var(--pink-deep); }
.tier-2 { background: var(--orange); color: var(--paper); }
.tier-3 { background: var(--purple); color: var(--paper); }
.tier-4 { background: var(--teal); color: var(--paper); }

.tier-none {
  color: var(--gray-600);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
}

.jobs-page .jobs-table td.homepage-have-col .cell {
  display: inline-block;
  padding: 3px 8px;
  border: 1.3px dashed var(--gray-300);
  border-radius: 10px;
  color: var(--gray-600);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  overflow: visible;
}

.jobs-page .jobs-table td.homepage-visa-col .cell {
  color: var(--gray-600);
  font-size: 11.5px;
}

.jobs-page .table-footer {
  position: sticky;
  bottom: 0;
  z-index: 30;
  flex: 0 0 auto;
  min-height: 0;
  justify-content: space-between;
  padding: 6px 28px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0;
  gap: normal;
}

.jobs-page .table-footer .chip {
  order: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  display: block;
  gap: normal;
  border-radius: 0;
}

.tracker-pager {
  order: 1;
  margin-left: auto;
  color: var(--yellow);
  display: flex;
  gap: 14px;
  font-size: 13px;
}

.jobs-page .table-footer .footer-nav {
  margin-left: 20px;
}

.jobs-page .job-detail-backdrop {
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 32px 16px;
  background: rgba(10, 10, 10, 0.55);
}

.jobs-page .job-detail-drawer {
  position: relative;
  top: auto;
  right: auto;
  width: min(520px, 100%);
  height: auto;
  max-height: calc(100vh - 64px);
  overflow: hidden;
  background: var(--paper);
  box-shadow: none;
  animation: recommendation-fade 160ms ease-out;
}

.jobs-page .job-detail-header {
  min-height: 0;
  padding: 18px 20px 16px;
  background: var(--ink);
}

.jobs-page .job-detail-header p {
  margin: 0;
  color: var(--yellow);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
}

.jobs-page .job-detail-header h2 {
  max-width: 420px;
  margin-top: 4px;
  color: var(--paper);
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jobs-page .job-detail-close {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  border: 1.5px solid #444444;
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-size: 14px;
}

.jobs-page .job-detail-close:hover {
  border-color: var(--yellow);
  background: transparent;
  color: var(--yellow);
}

.jobs-page .job-detail-body {
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px 18px;
}

.jobs-page .job-detail-section,
.jobs-page .personal-detail-section {
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
}

.jobs-page .personal-detail-section {
  margin-top: 16px;
}

.jobs-page .job-detail-section h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.jobs-page .job-detail-section dl {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--gray-300);
}

.jobs-page .job-detail-field {
  padding: 9px 12px 9px 0;
  border-top: 0;
  border-bottom: 1px solid var(--gray-300);
}

.jobs-page .job-detail-field:nth-child(odd) {
  padding-right: 14px;
}

.jobs-page .job-detail-field dt {
  margin-bottom: 0;
  color: var(--gray-600);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.jobs-page .job-detail-field dd {
  margin-top: 2px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.jobs-page .job-detail-field dd.empty-value {
  color: var(--gray-600);
}

.jobs-page .job-detail-field a {
  border-bottom: 2px solid var(--yellow-deep);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  .main:has(.jobs-page),
  .shell.no-sidebar:has(.jobs-page),
  .jobs-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .tracker-topbar {
    padding: 7px 14px;
  }

  .tracker-nav {
    gap: 12px;
  }

  .jobs-page .jobs-brand-banner {
    padding-inline: 14px;
  }

  .jobs-page .type-filter-bar,
  .jobs-page .tracker-toolbar {
    padding-inline: 14px;
  }

  .jobs-page .tracker-toolbar {
    flex-wrap: nowrap;
  }

  .jobs-page .jobs-table-frame {
    min-height: 520px;
    padding-inline: 14px;
  }

  .jobs-page .table-footer {
    padding-inline: 14px;
  }
}
