:root {
  --sel-border: #e5eef8;
  --sel-bg: #f7fbff;
  --sel-primary: #3d94ef;
}

.selector-container {
  width: min(1100px, 96%);
  margin: 18px auto 40px;
}

.search-bar .search-tip {
  border: 1px solid #faecd8;
  border-radius: 10px;
  background: #fdf6ec;
  color: #303133;
  padding: 10px 12px;
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-left: 3px solid #e6a23c;
  box-shadow: 0 6px 14px rgba(230, 162, 60, 0.08);
  transition: opacity 200ms ease, transform 200ms ease, max-height 200ms ease, margin-bottom 200ms ease;
  will-change: opacity, transform, max-height;
  animation: tipFadeIn 220ms ease-out;
}

.search-bar .search-tip .tip-text {
  flex: 1;
}

.search-bar .search-tip .tip-close {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: #e6a23c;
  font-size: 18px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.search-bar .search-tip .tip-close:hover {
  color: #d69432;
}

.search-bar .search-tip .tip-link {
  color: #409EFF;
  text-decoration: underline;
}

.search-bar .search-tip .tip-link:hover {
  text-decoration: underline;
  color: #66b1ff;
}

.search-bar .search-tip .tip-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6a23c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex: 0 0 20px;
}

.search-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 12px;
  background: var(--sel-bg);
  border: 1px solid var(--sel-border);
  border-radius: 12px;
  margin-bottom: 24px;
}

.stats-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filters-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #606266;
  position: relative;
  flex-shrink: 0;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.stats-group .stat-item+.stat-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed #bcd6f3;
  opacity: 0.9;
}

.stat-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--sel-primary);
  font-family: 'DIN Alternate', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1;
}

.stat-item[data-stat="weekly-exam"] .stat-value,
.stat-item[data-stat="weekly-soe"] .stat-value {
  cursor: pointer;
  transition: opacity 0.2s;
}

.stat-item[data-stat="weekly-exam"] .stat-value:hover,
.stat-item[data-stat="weekly-soe"] .stat-value:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.stat-label {
  font-size: 13px;
  color: #909399;
}

.filter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  min-width: 80px;
  flex-shrink: 0;
}

.filter-item:hover {
  border-color: rgba(61, 148, 239, 0.35);
  box-shadow: 0 4px 10px rgba(61, 148, 239, 0.08);
  background: rgba(61, 148, 239, 0.06);
}

.filter-item.active {
  background: rgba(61, 148, 239, 0.05);
  border-color: var(--sel-primary);
}

.filter-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--sel-primary);
  font-family: 'DIN Alternate', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1;
}

.filter-label {
  font-size: 12px;
  color: var(--sel-primary);
  font-weight: 500;
}

.icon-stat,
.icon-filter {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
}

.icon-total {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d94ef'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z'/%3E%3C/svg%3E");
}

.icon-month {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d94ef'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
}

.icon-day {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d94ef'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.icon-campus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d94ef'%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E");
}

.icon-intern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d94ef'%3E%3Cpath d='M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z'/%3E%3C/svg%3E");
}

.icon-social {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d94ef'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1z'/%3E%3C/svg%3E");
}

.icon-major-unlimited {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d94ef'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.icon-soe {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d94ef'%3E%3Cpath d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2z'/%3E%3C/svg%3E");
}

.icon-exam {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233d94ef'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

.search-bar .search-tip.tip-collapsing {
  opacity: 0;
  transform: translateY(-4px);
  max-height: 0;
  margin-bottom: 0;
  pointer-events: none;
}

@keyframes tipFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

.search-bar .search-input {
  display: flex;
  gap: 8px;
  width: 500px;
  margin: 0;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url('../image/icon_search.png') no-repeat center/contain;
  z-index: 1;
  cursor: text;
}

.search-bar input[type="text"] {
  flex: 1;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--sel-border);
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
}

.search-bar input[type="text"]:focus {
  outline: none;
  box-shadow: none;
}

.filters-card {
  border: 1px solid var(--sel-border);
  border-radius: 12px;
  background: #fff;
  padding: 6px 8px;
  margin-top: 10px;
  box-shadow: 0 6px 14px rgba(61, 148, 239, 0.06);
}

.filters-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--sel-border);
  border-radius: 10px;
  background: #fff;
  margin-top: 10px;
}

.filters-row .row-label {
  color: #909399;
  font-size: 15px;
  min-width: 40px;
}

.filters-row .row-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}

.filters-row .opt {
  border: 1px solid var(--sel-border);
  border-radius: 12px;
  padding: 4px 8px;
  background: #f7fbff;
  color: #2d3f55;
  cursor: pointer;
  font-size: 15px;
}

.filters-row .opt.city.active {
  background: #eaf4ff;
  color: #0969da;
  border-color: #bcd6f3;
}

.filters-row .opt.dropdown {
  background: #fff;
}

.filters-row .opt.more {
  background: #fff;
}

.caret {
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: #8aa6c9;
  transform: translateY(1px);
}

.dropdown.open .caret,
.opt.more.open .caret {
  border-top-color: #0969da;
  transform: rotate(180deg);
}

.sort-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 0;
  flex: 0 0 auto;
  width: auto;
}

.tab {
  border: 1px solid var(--sel-border);
  border-radius: 6px;
  padding: 3px 8px;
  min-width: 0;
  background: #fff;
  color: #2d3f55;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s ease;
}

.tab.active {
  background: #2d7bd9;
  color: #fff;
  border-color: #2d7bd9;
  box-shadow: 0 2px 6px rgba(45, 123, 217, 0.16);
}

body.require-login.logged-out .search-bar,
body.require-login.logged-out .results-head,
body.require-login.logged-out #results,
body.require-login.logged-out #pager,
body.require-login.logged-out #citySheet,
body.require-login.logged-out #moreSheet {
  display: none !important;
}

.tab:hover {
  border-color: #bcd6f3;
  box-shadow: 0 2px 6px rgba(61, 148, 239, 0.10);
}

.results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
  padding: 0 4px;
  flex-wrap: nowrap;
}

.results-head .left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.results-head .right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
}

#resultCount {
  font-size: 13px;
}

.count-number {
  color: #e53935;
  font-weight: 600;
}

.results {
  display: grid;
  gap: 14px;
}

.results .error,
.results .loading {
  text-align: center;
  color: #606266;
  padding: 24px;
}

.results .empty {
  text-align: center;
  color: #606266;
  padding: 24px;
}

.job-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #ebeef5;
  border-radius: 10px;
  background: #fff;
  padding: 12px 12px 12px 12px;
  min-height: auto;
  text-align: left;
  transition: all 0.2s ease;
  min-width: 0;
}

.job-item:hover {
  background-color: #f7fbff;
  border-color: #bcd6f3;
  box-shadow: 0 4px 12px rgba(61, 148, 239, 0.1);
}

.status-corner-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  border-top-right-radius: 10px;
}

.status-corner {
  position: absolute;
  top: 3px;
  right: -16px;
  transform: rotate(45deg);
  transform-origin: center;
  background: #ef4444;
  color: #fff;
  padding: 2px 18px;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.18);
  pointer-events: none;
  white-space: nowrap;
}

.status-corner.direct {
  background: #50d4ac;
  box-shadow: 0 4px 10px rgba(80, 212, 172, 0.18);
}

.job-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  position: relative;
  margin: 0;
  padding: 0;
  padding-bottom: 0;
}

.job-title {
  font-weight: 600;
  color: #303133;
  font-size: 16px;
  line-height: 1.35;
  flex: 1 1 auto;
  margin: 0;
  padding-right: 130px;
  overflow-wrap: anywhere;
}

.job-title .major-hint {
  margin-left: 8px;
  color: #909399;
  font-size: 12.5px;
  font-weight: 400;
}

.job-title .summary-hint {
  margin-left: 8px;
  color: #909399;
  font-size: 12.5px;
  font-weight: 400;
}

.job-summary {
  margin: 2px 0 0;
  color: #606266;
  font-size: 13px;
  line-height: 1.5;
  padding-right: 130px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.job-title .major-hint .major-link {
  color: #909399;
  text-decoration: none;
}

.job-title .major-hint .major-link:hover,
.job-title .major-hint .major-link:focus {
  color: #2d7bd9;
  text-decoration: underline;
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 0;
  top: 0;
}

.job-actions .detail-btn {
  padding: 4px 10px;
  border: 1px solid #409EFF;
  background: #409EFF;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  transition: all .15s ease;
  will-change: transform;
}

.job-actions .more-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #e4e7ed;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all .15s ease;
}

.job-actions .more-menu-btn img {
  width: 18px;
  height: 18px;
}

.job-actions .more-menu-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.job-actions .more-menu,
.results-table .actions-cell .more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--sel-border);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  padding: 8px 0;
  z-index: 4000;
}

.job-actions .more-menu .menu-item,
.results-table .actions-cell .more-menu .menu-item {
  display: block;
  width: 100%;
  text-align: center;
  padding: 8px 12px;
  font-size: 13.5px;
  color: #2d3f55;
  background: transparent;
  border: none;
  cursor: pointer;
}

.job-actions .more-menu .menu-item:hover,
.results-table .actions-cell .more-menu .menu-item:hover {
  background: #f7fbff;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  border: 1px solid #e4e7ed;
  background: #f9fafb;
  color: #606266;
  border-radius: 10px;
  padding: 0 6px;
  height: 18px;
  box-sizing: border-box;
  line-height: 1;
}

.tag.city {
  background: #eef2ff;
  border-color: #dbe2ff;
  color: #5b7cff;
}

.tag.salary {
  background: #fff1f2;
  border-color: #ffe4e6;
  color: #e53935;
}

.job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  padding: 0;
}

.job-footer .company {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  color: #606266;
  font-size: 14px;
  line-height: 18px;
}

.job-footer .company .company-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.nature-tag {
  flex-shrink: 0;
  margin-right: 4px;
}

.job-date {
  font-size: 13px;
  color: #909399;
  background: #f5f7fa;
  border-radius: 4px;
  padding: 4px 8px;
}

#condTags {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  max-width: none;
  flex: 0 1 auto;
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
}

.cond-tag {
  font-size: 13px;
  border: 1px solid #e4e7ed;
  background: #f9fafb;
  color: #606266;
  border-radius: 10px;
  padding: 3px 6px;
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cond-tag .remove {
  margin-left: 4px;
  color: #909399;
  cursor: pointer;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.page-btn {
  border: 1px solid var(--sel-border);
  border-radius: 8px;
  padding: 6px 10px;
  background: #fff;
  color: #2d3f55;
  cursor: pointer;
}

.page-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.page-num {
  border: 1px solid var(--sel-border);
  border-radius: 8px;
  padding: 6px 10px;
  background: #fff;
  cursor: pointer;
}

.page-num.active {
  background: #eaf4ff;
  color: #0969da;
  border-color: #bcd6f3;
}

.sheet {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 24, 48, 0.32);
  backdrop-filter: blur(2px);
  z-index: 5000;
}

.sheet[hidden] {
  display: none;
}

.sheet-dialog {
  width: min(880px, 96%);
  background: #fff;
  border: 1px solid var(--sel-border);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(61, 148, 239, 0.18);
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--sel-border);
}

.sheet-head strong {
  font-size: 15px;
}

.sheet-close {
  background: transparent;
  border: none;
  font-size: 21px;
  color: #2d7bd9;
  cursor: pointer;
}

.sheet-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 10px 12px;
  border-top: 1px solid var(--sel-border);
  width: 100%;
}

#moreSheet .sheet-dialog {
  width: clamp(300px, 50vw, 400px);
}

#citySheet .sheet-dialog {
  width: 560px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 400px) {
  #moreSheet .sheet-dialog {
    min-width: 300px;
  }

  #citySheet .sheet-dialog {
    min-width: 300px;
  }
}

#moreSheet .filters {
  padding: 8px 10px;
}

#moreSheet .filter-title {
  margin-bottom: 8px;
  font-size: 13px;
}

#moreSheet .filter-options .opt {
  padding: 4px 6px;
  border-radius: 8px;
  font-size: 12.5px;
}

.filters {
  padding: 8px 12px;
}

.filter-group {
  margin-bottom: 10px;
}

.filter-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.filter-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.opt {
  border: 1px solid var(--sel-border);
  border-radius: 12px;
  padding: 5px 8px;
  background: #fff;
  color: #2d3f55;
  cursor: pointer;
}

.opt.active {
  background: #eaf4ff;
  color: #0969da;
  border-color: #bcd6f3;
}

.city-grid {
  display: flex;
  min-height: 300px;
  flex: 1 1 auto;
  overflow: hidden;
}

.city-col {
  flex: 1;
  border-right: 1px solid var(--sel-border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.city-col:last-child {
  border-right: none;
}

.city-grid .provinces {
  padding: 6px;
  display: grid;
  grid-auto-rows: min-content;
  gap: 6px;
  flex: 1 1 auto;
  overflow-y: auto;
  flex: 0 0 40%;
}

.city-grid .cities {
  padding: 6px;
  display: grid;
  grid-auto-rows: min-content;
  gap: 6px;
  flex: 1 1 auto;
  overflow-y: auto;
  flex: 0 0 60%;
}

.city-empty-tip {
  padding: 8px 10px;
  color: #66748a;
  font-size: 13px;
}

.city-btn {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.city-btn:hover {
  background: #f7fbff;
}

.city-btn.active {
  background: #eaf4ff;
  color: #0969da;
}

.opt:focus,
.opt.dropdown:focus,
.popover .pop-item:focus,
.popover .pop-item:active,
.job-actions .more-menu .menu-item:focus,
.job-actions .more-menu .menu-item:active {
  outline: none;
  box-shadow: none;
}

@media (max-width: 1000px) {
  .selector-container {
    width: 96%;
    min-width: 1350px !important;
  }

  /* 移动端未登录时（无数据），去除最小宽度限制，避免横向滚动 */
  body.logged-out .selector-container {
    min-width: auto !important;
  }

  .sheet-dialog {
    width: 96%;
  }

  #moreSheet .sheet-dialog {
    width: max-content !important;
    max-width: 94vw;
  }
}

.filters-card .filters-row {
  border: none;
  background: transparent;
  margin-top: 0;
  padding: 6px 8px;
  border-radius: 0;
}

.filters-card .filters-row+.filters-row {
  border-top: 1px dashed var(--sel-border);
}

.dropdown-wrap {
  position: relative;
}

.results-head .left .sort-tabs {
  flex: 0 0 auto;
  max-width: none;
}

.popover[hidden] {
  display: none;
}

.popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--sel-border);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  padding: 8px 0;
  z-index: 4000;
}

.pop-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: #2d3f55;
  cursor: pointer;
  font-size: 13.5px;
}

.pop-item:hover {
  background: #f7fbff;
}

.time-custom {
  padding: 12px 12px 10px;
  min-width: 260px;
}

.time-custom .time-custom-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.time-custom .time-custom-row label {
  flex: 0 0 72px;
  font-size: 13px;
  color: #556987;
}

.time-custom .time-custom-row input[type="date"] {
  flex: 1 1 auto;
  padding: 6px 8px;
  border: 1px solid var(--sel-border);
  border-radius: 6px;
  font-size: 14px;
}

.time-custom .time-custom-row input[type="date"]:focus,
.time-custom .time-custom-row input[type="date"]:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: var(--sel-border);
}

.time-custom .time-custom-row input[type="date"]::-webkit-datetime-edit-year-field:focus,
.time-custom .time-custom-row input[type="date"]::-webkit-datetime-edit-month-field:focus,
.time-custom .time-custom-row input[type="date"]::-webkit-datetime-edit-day-field:focus,
.time-custom .time-custom-row input[type="date"]::-webkit-datetime-edit-fields-wrapper:focus,
.time-custom .time-custom-row input[type="date"]::-webkit-datetime-edit-text:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
}

.time-custom .time-custom-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 8px;
}

.cities-row .row-label,
.type-time-row .row-label {
  font-size: 13px;
}

.flatpickr-calendar {
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.flatpickr-months .flatpickr-month {
  font-weight: 600;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day:hover {
  background: #409EFF;
  border-color: #409EFF;
  color: #fff;
}

.flatpickr-day.today {
  box-shadow: inset 0 0 0 1px #409EFF;
}

.flatpickr-time input {
  color: #2d3f55;
}

.flatpickr-calendar {
  font-size: 12.5px;
}

.flatpickr-weekdays {
  font-size: 11.5px;
}

.flatpickr-months .flatpickr-month {
  font-size: 12.5px;
}

.flatpickr-current-month {
  font-size: 12.5px !important;
}

.flatpickr-current-month .cur-month {
  font-size: 12.5px !important;
}

.flatpickr-current-month .numInputWrapper input {
  font-size: 12.5px !important;
}

.flatpickr-monthDropdown-months {
  font-size: 12.5px !important;
}

.flatpickr-day {
  height: 26px;
  line-height: 26px;
}

@media (max-width: 420px) {

  .sheet-dialog {
    padding: 10px;
  }

  .sheet-head {
    padding: 8px 10px;
  }

  .sheet-head strong {
    font-size: 14px;
  }

  .sheet-actions {
    padding-top: 6px;
    gap: 6px;
  }

  .sheet-actions .btn {
    padding: 6px 10px;
    font-size: 13px;
  }

  .popover {
    padding: 8px;
    border-radius: 8px;
  }

  .pop-item {
    padding: 6px 10px;
    font-size: 12px;
  }

  .job-actions .more-menu {
    padding: 8px;
    border-radius: 8px;
  }

  .job-actions .more-menu .menu-item {
    padding: 6px 10px;
    font-size: 12px;
  }

  .time-custom {
    padding: 10px;
    min-width: 240px;
  }

  .time-custom .time-custom-row {
    gap: 6px;
    padding: 4px 0;
  }

  .time-custom .time-custom-row label {
    flex: 0 0 64px;
    font-size: 12px;
  }

  .time-custom .time-custom-row input[type="date"] {
    padding: 4px 6px;
    font-size: 13px;
  }

  .flatpickr-calendar {
    font-size: 12px;
  }

  .flatpickr-weekdays {
    font-size: 11px;
  }

  .flatpickr-months .flatpickr-month {
    font-size: 12px;
  }

  .flatpickr-current-month {
    font-size: 12px !important;
  }

  .flatpickr-current-month .cur-month {
    font-size: 12px !important;
  }

  .flatpickr-current-month .numInputWrapper input {
    font-size: 12px !important;
  }

  .flatpickr-monthDropdown-months {
    font-size: 12px !important;
  }

  .flatpickr-day {
    height: 24px;
    line-height: 24px;
  }

  .city-empty-tip {
    font-size: 12px;
  }
}

.cities-row .opt,
.type-time-row .opt {
  font-size: 13px;
}

.job-actions .detail-btn {
  font-size: 14px;
}

.job-actions .detail-btn:hover {
  background: #3a8ee6;
  border-color: #3a8ee6;
  box-shadow: 0 2px 8px rgba(58, 142, 230, .35);
  transform: translateY(-1px);
}

.company-link {
  cursor: pointer;
}

.major-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.company-link:hover,
.company-link:focus {
  color: #2d7bd9;
  text-decoration: none;
}

.major-link:hover,
.major-link:focus {
  color: #2d7bd9;
  text-decoration: underline;
}

.selector-container.wide {
  width: min(1680px, 99%);
}

.view-toggle {
  margin-left: 4px;
  border: 1px solid var(--sel-border);
  background: #fff;
  color: #2d3f55;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-toggle:hover {
  border-color: #bcd6f3;
  box-shadow: 0 2px 8px rgba(61, 148, 239, 0.08);
}

.results-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--sel-border);
  border-radius: 10px;
}

.results-table th,
.results-table td {
  padding: 8px 8px;
  border-bottom: 1px solid var(--sel-border);
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
  color: #303133;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.results-table thead th {
  background: var(--sel-bg);
  color: #2d3f55;
  font-weight: 600;
}

.results-table thead th+th,
.results-table tbody td+td {
  border-left: 1px solid var(--sel-border);
}

.results-table tr:last-child td {
  border-bottom: none;
}

.results-table tbody tr:hover td {
  background: #f7fbff;
}

.nature-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  padding: 0 6px;
  min-width: 32px;
  height: 18px;
  box-sizing: border-box;
  border-radius: 3px;
  border: 1px solid #ffcdd2;
  font-size: 12px;
  line-height: 1;
  color: #e53935;
  vertical-align: middle;
}

.results-table .company {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #606266;
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.results-table .title-cell {
  color: #2d3f55;
  font-weight: 400;
}

.results-table .majors-cell {
  color: #606266;
}

.results-table .summary-cell {
  max-width: 360px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #606266;
}

.results-table .actions-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: visible;
}

.results-table .actions-cell .detail-btn {
  border: 1px solid var(--sel-border);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 13px;
  background: #fff;
  color: #0969da;
  cursor: pointer;
  transition: all .15s ease;
}

.results-table .actions-cell .detail-btn:hover {
  border-color: #bcd6f3;
  box-shadow: 0 2px 6px rgba(61, 148, 239, 0.10);
  background: #fff;
}

.results-table .actions-cell .more-menu-btn {
  appearance: none;
  border: 1px solid var(--sel-border);
  background: #fff;
  border-radius: 4px;
  padding: 0;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}

.results-table .actions-cell .more-menu-btn:hover {
  border-color: #bcd6f3;
  box-shadow: 0 2px 6px rgba(61, 148, 239, 0.10);
}

.results-table .actions-cell .more-menu-btn img {
  width: 14px;
  height: 14px;
}

.results-table {
  table-layout: fixed;
}

.results-table thead th {
  position: relative;
}

.results-table thead th:first-child {
  border-top-left-radius: 10px;
}

.results-table thead th:last-child {
  border-top-right-radius: 10px;
}

.results-table thead th::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  vertical-align: text-bottom;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23909399'%3E%3Cpath d='M8 5h13v2H8zM3 5h3v2H3zm5 6h13v2H8zM3 11h3v2H3zm5 6h13v2H8zM3 17h3v2H3z'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
}

.results-table .col-resizer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  cursor: col-resize;
  opacity: 0.4;
}

.results-table .title-cell {
  font-weight: 400;
}

.view-toggle .view-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.view-toggle {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.view-toggle .view-label {
  font-size: 12px;
  line-height: 1;
  color: #2d3f55;
}

.job-type-badge {
  display: inline-block;
  vertical-align: 2px;
  margin-right: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: normal;
  color: #fff;
  border: none;
}

.job-type-badge.type-part {
  background: #f56c6c;
}

.job-type-badge.type-intern {
  background: #67c23a;
}

.job-type-badge.type-notice {
  background: #66b1ff;
}

.job-type-badge.type-direct {
  background: #50d4ac;
}

.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  line-height: 1;
  border-radius: 50%;
  background-color: #c0c4cc;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  cursor: help;
  margin-left: 2px;
  vertical-align: middle;
  transition: background-color 0.2s;
  transform: scale(0.8);
  transform-origin: left center;
  position: relative;
  top: -1px;
}

.help-icon::before {
  content: '?';
}

.help-icon:hover {
  background-color: var(--primary-700, #2d7bd9);
}

.results-table thead th.with-help::after {
  margin-left: 0;
}