:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-soft: #fbfcfe;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --surface-alt: #f2f5f9;
  --text: #172033;
  --text-soft: #5f6b85;
  --text-faint: #8d97aa;
  --line: #e3e8f2;
  --line-strong: #d4dceb;
  --brand: #2563eb;
  --brand-deep: #1d4ed8;
  --brand-soft: #edf4ff;
  --success: #16a34a;
  --success-soft: #ecfdf3;
  --warning: #d97706;
  --warning-soft: #fff7ed;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --content-width: min(1960px, calc(100vw - 16px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.06), transparent 24%),
    linear-gradient(180deg, #f9fbff 0%, #f5f7fb 42%, #eef3f8 100%);
  color: var(--text);
  font-family:
    "Manrope",
    "Noto Sans SC",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-deep);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-faint);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

select[multiple] {
  min-height: 120px;
  padding: 10px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

#app,
.app-shell {
  min-height: 100vh;
}

.app-shell {
  display: flex;
  flex-direction: column;
}

.shell-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(227, 232, 242, 0.9);
}

.shell-topbar::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.2) 50%, transparent 100%);
}

.shell-topbar > * {
  width: var(--content-width);
  margin: 0 auto;
}

.shell-topbar > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 14px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  color: var(--brand);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.site-brand-copy,
.site-brand-text {
  min-width: 0;
}

.site-brand-copy h1,
.site-brand-copy h2,
.site-brand-copy strong,
.site-brand-text h1,
.site-brand-text h2,
.site-brand-text strong {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.site-brand-copy p,
.site-brand-copy span,
.site-brand-text p,
.site-brand-text span {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

.topbar-actions,
.account-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
}

.site-nav button,
.site-nav a,
.site-tab {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  padding: 9px 16px;
  color: var(--text-soft);
  font-weight: 700;
  line-height: 1;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.site-nav button:hover,
.site-nav a:hover,
.site-tab:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}

.site-nav .active,
.site-nav .is-active,
.site-nav [aria-current="page"],
.site-nav [data-active="true"],
.site-tab.active {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: rgba(37, 99, 235, 0.14);
}

.shell-main,
[class*="shell-main"] {
  width: var(--content-width);
  margin: 0 auto;
  padding: 22px 0 36px;
}

.page-hero,
[class*="page-hero"],
.hero-strip,
[class*="hero-strip"] {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.94)),
    linear-gradient(135deg, rgba(219, 234, 254, 0.7), rgba(255, 255, 255, 0));
  border: 1px solid rgba(215, 224, 238, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 26px;
  margin-bottom: 18px;
}

.page-hero::before,
[class*="page-hero"]::before,
.hero-strip::before,
[class*="hero-strip"]::before {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
  pointer-events: none;
}

.page-hero h2,
.page-hero h3,
[class*="page-hero"] h2,
[class*="page-hero"] h3,
.hero-strip h2,
.hero-strip h3,
[class*="hero-strip"] h2,
[class*="hero-strip"] h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-hero p,
[class*="page-hero"] p,
.hero-strip p,
[class*="hero-strip"] p {
  margin: 10px 0 0;
  max-width: 860px;
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-highlights,
.hero-meta,
[class*="hero-highlights"],
[class*="hero-meta"],
.stat-grid,
[class*="stat-grid"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat-card,
[class*="stat-card"] {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(225, 232, 243, 0.92);
  border-radius: 16px;
  padding: 16px 18px;
}

.stat-card strong,
[class*="stat-card"] strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-card span,
[class*="stat-card"] span,
.stat-card p,
[class*="stat-card"] p {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 13px;
}

.tab-panel,
.data-card,
.section-card,
.empty-card,
.chart-card,
.progress-card,
.membership-card,
.invite-card,
.admin-card,
.filters-panel,
.jobs-table-wrap,
[class*="data-card"],
[class*="section-card"],
[class*="empty-card"],
[class*="chart-card"],
[class*="filters-panel"] {
  background: var(--surface);
  border: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tab-panel,
.data-card,
.section-card,
.empty-card,
.chart-card,
.progress-card,
.membership-card,
.invite-card,
.admin-card,
[class*="data-card"],
[class*="section-card"],
[class*="empty-card"],
[class*="chart-card"] {
  padding: 22px;
}

.page-grid,
.content-grid,
.progress-grid,
.membership-grid,
.invite-grid,
.admin-grid,
[class*="page-grid"],
[class*="progress-grid"],
[class*="membership-grid"],
[class*="invite-grid"],
[class*="admin-grid"] {
  display: grid;
  gap: 18px;
}

.page-head,
.section-head,
[class*="page-head"],
[class*="section-head"] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.page-head h2,
.section-head h2,
.page-head h3,
.section-head h3,
[class*="page-head"] h2,
[class*="section-head"] h2,
[class*="page-head"] h3,
[class*="section-head"] h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.page-head p,
.section-head p,
[class*="page-head"] p,
[class*="section-head"] p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.filters-panel,
[class*="filters-panel"] {
  padding: 18px;
  margin-bottom: 16px;
}

.filter-grid,
.form-grid,
[class*="filter-grid"],
[class*="form-grid"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.field,
[class*="field"] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label,
[class*="field"] label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.field--wide,
[class*="field--wide"] {
  grid-column: span 2;
}

.field--full,
[class*="field--full"] {
  grid-column: 1 / -1;
}

.field-actions,
.filter-actions,
[class*="field-actions"],
[class*="filter-actions"] {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.field-note,
.helper-text,
.table-note,
[class*="field-note"],
[class*="helper-text"],
[class*="table-note"] {
  margin-top: 4px;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.5;
}

.multi-select,
[class*="multi-select"] {
  min-height: 118px;
}

.primary-btn,
.ghost-btn,
.secondary-btn,
.danger-btn,
.link-btn,
.member-lock-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--surface-alt);
  color: var(--text);
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.primary-btn:hover,
.ghost-btn:hover,
.secondary-btn:hover,
.danger-btn:hover,
.link-btn:hover,
.member-lock-btn:hover {
  transform: translateY(-1px);
}

.primary-btn {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.primary-btn:hover {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
}

.secondary-btn {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: rgba(37, 99, 235, 0.14);
}

.ghost-btn {
  background: #fff;
  border-color: var(--line);
  color: var(--text-soft);
}

.danger-btn {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(220, 38, 38, 0.12);
}

.primary-btn:disabled,
.ghost-btn:disabled,
.secondary-btn:disabled,
.danger-btn:disabled,
.link-btn:disabled,
.member-lock-btn:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.chip-list,
.saved-filters,
.quick-filters,
[class*="chip-list"],
[class*="saved-filters"],
[class*="quick-filters"] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip,
.tag-chip,
.saved-filter,
.status-pill,
.hero-chip,
.mini-chip,
.tag,
.progress-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(213, 222, 237, 0.92);
  background: #f8fafc;
  color: #425066;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.status-pill,
[class*="status-pill"] {
  font-weight: 700;
}

.jobs-table-wrap,
.table-scroller {
  overflow: auto;
  padding: 0;
}

.jobs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.jobs-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
  color: #4a5872;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
  border-bottom: 1px solid var(--line-strong);
}

th,
td {
  padding: 10px 10px;
  border-bottom: 1px solid #edf1f7;
  vertical-align: top;
}

.jobs-table tbody tr {
  background: #fff;
  transition: background-color 0.15s ease;
}

.jobs-table tbody tr:nth-child(even) {
  background: #fbfcfe;
}

.jobs-table tbody tr:hover {
  background: #f5f9ff;
}

td:first-child,
th:first-child {
  padding-left: 16px;
}

td:last-child,
th:last-child {
  padding-right: 16px;
}

.jobs-table a,
.link-cell a {
  color: var(--brand);
  font-weight: 700;
}

.jobs-table a:hover,
.link-cell a:hover {
  text-decoration: underline;
}

.jobs-table select {
  min-width: 132px;
  padding: 9px 10px;
}

.progress-layout,
.membership-layout,
.invite-layout,
.admin-layout,
[class*="progress-layout"],
[class*="membership-layout"],
[class*="invite-layout"],
[class*="admin-layout"] {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.chart-card canvas,
[class*="chart-card"] canvas {
  width: 100%;
  max-width: 100%;
}

.notice-bar,
[class*="notice-bar"] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--brand);
  font-size: 13px;
}

.empty-card,
[class*="empty-card"] {
  text-align: center;
  color: var(--text-soft);
}

.empty-card strong,
[class*="empty-card"] strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

.announcement,
.membership-banner,
.invite-banner,
.admin-banner,
[class*="announcement"],
[class*="membership-banner"],
[class*="invite-banner"],
[class*="admin-banner"] {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0)),
    #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.qr-panel,
.qr-card,
[class*="qr-panel"],
[class*="qr-card"] {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 260px;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: #fbfdff;
  padding: 18px;
}

.qr-panel img,
.qr-card img,
[class*="qr-panel"] img,
[class*="qr-card"] img {
  width: min(240px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.modal-backdrop,
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(10px);
}

.login-modal,
.modal-card,
.login-modal-card {
  width: min(560px, calc(100vw - 32px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.98));
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.modal-header,
.login-modal__header,
.login-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-header h2,
.modal-header h3,
.login-modal-head h2,
.login-modal-head h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.modal-header p,
.login-modal-head p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.captcha-row,
.code-row,
[class*="captcha-row"],
[class*="code-row"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.list-card,
.summary-list,
[class*="list-card"],
[class*="summary-list"] {
  display: grid;
  gap: 12px;
}

.list-item,
[class*="list-item"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fbfcfe;
}

.list-item strong,
[class*="list-item"] strong {
  font-size: 14px;
}

.muted,
.text-muted,
.muted-xs {
  color: var(--text-soft);
}

.danger,
[class*="danger"] {
  color: var(--danger);
}

.success,
[class*="success"] {
  color: var(--success);
}

.warning,
[class*="warning"] {
  color: var(--warning);
}

.hidden {
  display: none !important;
}

.site-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 18px 0 36px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-bottom: 16px;
  padding: 18px 22px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
}

.site-header-main,
.site-header-nav,
.jobs-page-head,
.jobs-filter-topline,
.login-modal-head,
.section-header,
.card-title-row,
.payment-stage-head,
.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111827, #2563eb);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.2);
}

.site-brand-kicker,
.section-kicker,
.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-brand-title,
.brand-title {
  margin: 2px 0 0;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.site-brand-subtitle,
.brand-subtitle {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.site-user-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.site-user-meta {
  min-width: 0;
  text-align: right;
}

.site-user-meta strong {
  display: block;
  font-size: 14px;
}

.site-user-meta p {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

.site-user-tag,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(213, 222, 237, 0.92);
  background: #f8fafc;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

.site-user-tag.member,
.tag.member {
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: var(--brand);
  border-color: rgba(37, 99, 235, 0.16);
}

.site-header-actions,
.site-account,
.topbar-buttons,
.toolbar,
.membership-actions,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.center-actions {
  justify-content: center;
}

.site-header-actions {
  justify-content: flex-end;
}

.site-account-text {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.site-header-nav {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(227, 232, 242, 0.92);
}

.site-nav {
  gap: 8px;
}

.site-tab,
.top-nav-item {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  font-weight: 800;
}

.site-tab.active,
.top-nav-item.active {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: rgba(37, 99, 235, 0.14);
}

.site-header-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-header-stats span,
.jobs-page-meta span,
.panel-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(227, 232, 242, 0.96);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.site-notice-main,
.site-notice-block {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.site-notice-main {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
}

.site-notice-block {
  margin-bottom: 18px;
}

.site-notice-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 30px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.site-notice-main strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
}

.site-notice-main p {
  margin: 6px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

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

.jobs-kpi-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
}

.jobs-kpi-card span {
  display: block;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.jobs-kpi-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-content,
.page-stack {
  display: grid;
  gap: 18px;
}

.jobs-page,
.panel {
  display: grid;
  gap: 14px;
}

.jobs-page-head,
.section-header {
  padding: 0 4px;
}

.jobs-page-head h2,
.section-header h2 {
  margin: 6px 0 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.jobs-page-head p,
.section-header p {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 760px;
}

.jobs-filter-card,
.filter-panel,
.panel,
.premium-panel,
.sub-panel,
.ad-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.jobs-filter-card,
.filter-panel,
.panel,
.sub-panel {
  padding: 18px;
}

.jobs-filter-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.summary-chip.subtle {
  background: #f8fafc;
  border-color: rgba(227, 232, 242, 0.96);
  color: var(--text-soft);
}

.table-filter-grid {
  margin-top: 14px;
}

.field span {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-soft);
}

.field-multi select {
  min-height: 132px;
  background: #fbfcfe;
}

.field-dropdown {
  position: relative;
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown summary {
  list-style: none;
}

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

.filter-dropdown-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.filter-dropdown[open] .filter-dropdown-summary {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-dropdown-summary span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.filter-dropdown-caret {
  color: var(--text-faint);
  font-size: 12px;
  transition: transform 0.18s ease;
}

.filter-dropdown[open] .filter-dropdown-caret {
  transform: rotate(180deg);
}

.filter-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 25;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.filter-dropdown-search {
  margin-bottom: 10px;
}

.filter-check-list {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.filter-check:hover {
  background: #f8fafc;
}

.filter-check input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 0;
  box-shadow: none;
}

.filter-check span {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.filter-check-all {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: 0;
}

.saved-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.saved-filter-label {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

.saved-filter-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.saved-filter-chip:hover {
  border-color: rgba(37, 99, 235, 0.22);
  color: var(--brand);
}

.jobs-table-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.jobs-table-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(227, 232, 242, 0.92);
  background: #fbfdff;
}

.jobs-table-meta span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.jobs-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(227, 232, 242, 0.92);
  background: #fbfdff;
}

.jobs-pagination-info {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.jobs-pagination-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-shell {
  overflow: auto;
}

.jobs-table {
  min-width: 1760px;
}

.table-index {
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.table-company-cell strong {
  font-size: 14px;
}

.table-chip-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.table-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.table-remark-cell {
  min-width: 200px;
  max-width: 260px;
  color: var(--text-soft);
  white-space: normal;
  line-height: 1.45;
}

.table-chip.blue {
  background: #eef4ff;
  color: #2756c5;
}

.table-chip.sand {
  background: #fff5e6;
  color: #9a5b07;
}

.table-chip.gold {
  background: #fff7d9;
  color: #8a6300;
}

.table-chip.teal {
  background: #eafaf8;
  color: #0d766e;
}

.table-chip.mint {
  background: #eefcef;
  color: #2f7d32;
}

.table-chip.pink {
  background: #fff0f4;
  color: #c24175;
}

.table-chip.lavender {
  background: #f4f1ff;
  color: #6b4fe0;
}

.table-chip.more {
  background: #f8fafc;
  border-color: rgba(227, 232, 242, 0.96);
  color: var(--text-soft);
  cursor: pointer;
}

.table-chip.more.has-tooltip {
  position: relative;
}

.table-chip.more.has-tooltip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 140px;
  max-width: 360px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.96);
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
  text-align: left;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 24;
}

.table-chip.more.has-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

.table-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(227, 232, 242, 0.96);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.table-badge.success {
  background: #ecfdf3;
  border-color: rgba(22, 163, 74, 0.14);
  color: #15803d;
}

.table-link {
  font-weight: 800;
}

.table-link-cell {
  display: grid;
  gap: 6px;
}

.member-lock-btn {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
  font-size: 12px;
  font-weight: 800;
}

.member-lock-btn.small {
  justify-content: flex-start;
  width: fit-content;
}

.progress-cell {
  display: grid;
  gap: 6px;
}

.muted-xs {
  font-size: 12px;
}

.empty-box {
  display: grid;
  place-items: center;
  min-height: 140px;
  color: var(--text-soft);
}

.login-modal-card {
  width: min(560px, calc(100vw - 28px));
  background: #fff;
  border-radius: 26px;
  border: 1px solid rgba(227, 232, 242, 0.96);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.upgrade-hint-card,
.upgrade-checkout-card {
  width: min(560px, calc(100vw - 28px));
  background: #fff;
  border-radius: 26px;
  border: 1px solid rgba(227, 232, 242, 0.96);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.upgrade-checkout-card {
  width: min(860px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.login-modal-copy {
  margin: 0 0 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.upgrade-benefit-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.upgrade-benefit-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(227, 232, 242, 0.96);
  background: #f8fafc;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.upgrade-price-line {
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 14px;
}

.upgrade-price-line strong {
  color: var(--text);
  font-size: 18px;
}

.login-feature-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.login-feature-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(227, 232, 242, 0.96);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.login-refresh-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 12px;
  margin-bottom: 12px;
}

.captcha-box {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.18em;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.full-btn {
  width: 100%;
}

.login-debug-box {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid rgba(217, 119, 6, 0.12);
  color: #9a3412;
}

.summary-card,
.metric-card,
.benefit-card,
.invite-card,
.user-item,
.mini-item,
.payment-detail-card,
.promo-box,
.rich-box {
  background: #fbfcfe;
  border: 1px solid rgba(227, 232, 242, 0.96);
  border-radius: 16px;
}

.progress-summary-grid,
.benefit-grid,
.invite-grid,
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.summary-card,
.metric-card,
.benefit-card,
.invite-card,
.promo-box,
.payment-detail-card {
  padding: 16px;
}

.benefit-card {
  display: grid;
  gap: 6px;
  align-content: start;
}

.benefit-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.45;
}

.benefit-card span {
  display: block;
  color: var(--text-soft);
  line-height: 1.65;
}

.summary-card strong,
.metric-card strong,
.invite-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.summary-card-action {
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease;
}

.summary-card-action:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.16);
  background: #f8fbff;
}

.summary-card-action.active {
  border-color: rgba(37, 99, 235, 0.26);
  background: #eef4ff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.chart-grid,
.mini-list,
.user-list,
.admin-grid {
  display: grid;
  gap: 12px;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: #e5edf9;
  overflow: hidden;
}

.bar-track.compact {
  height: 6px;
  margin-top: 10px;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}

.mini-item,
.user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.progress-tag {
  font-weight: 800;
}

.membership-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
  gap: 16px;
}

.membership-main {
  display: grid;
  gap: 16px;
}

.membership-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.membership-hero h2 {
  margin: 6px 0 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.membership-hero p {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.price-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 84px;
  padding: 0 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #111827, #1f2937);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.payment-stage {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(227, 232, 242, 0.96);
  background: #fbfdff;
}

.payment-stage.success {
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

.payment-stage.active {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
}

.payment-stage.compact {
  padding: 14px;
}

.payment-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.2fr);
  gap: 16px;
}

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

.payment-meta-item {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(227, 232, 242, 0.96);
  background: #fff;
}

.payment-meta-item span {
  display: block;
  color: var(--text-faint);
  font-size: 12px;
}

.payment-meta-item strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.ad-card {
  overflow: hidden;
}

.ad-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ad-content {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1200px) {
  .site-notice-bar,
  .membership-panel,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .filter-grid,
  .form-grid,
  [class*="filter-grid"],
  [class*="form-grid"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .progress-layout,
  .membership-layout,
  .invite-layout,
  .admin-layout,
  [class*="progress-layout"],
  [class*="membership-layout"],
  [class*="invite-layout"],
  [class*="admin-layout"] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --content-width: min(100vw - 20px, 100%);
  }

  .shell-topbar > div {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 0 12px;
  }

  .site-shell {
    width: min(100vw - 16px, 100%);
    padding: 12px 0 28px;
  }

  .site-header {
    padding: 14px;
    border-radius: 20px;
  }

  .topbar-actions,
  .account-actions {
    justify-content: flex-start;
  }

  .site-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

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

  .page-hero,
  [class*="page-hero"],
  .hero-strip,
  [class*="hero-strip"] {
    padding: 20px;
  }

  .site-header-main,
  .site-header-nav,
  .jobs-page-head,
  .jobs-filter-topline,
  .section-header,
  .membership-hero,
  .payment-stage-head {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-grid,
  .form-grid,
  [class*="filter-grid"],
  [class*="form-grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--wide,
  [class*="field--wide"] {
    grid-column: span 2;
  }

  .jobs-table-wrap,
  .table-scroller {
    border-radius: 16px;
  }

  th,
  td {
    padding: 10px 10px;
  }

  .login-modal,
  .modal-card,
  .login-modal-card,
  .upgrade-hint-card,
  .upgrade-checkout-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .jobs-table {
    min-width: 1280px;
  }

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

@media (max-width: 640px) {
  .page-hero h2,
  .page-hero h3,
  [class*="page-hero"] h2,
  [class*="page-hero"] h3,
  .hero-strip h2,
  .hero-strip h3,
  [class*="hero-strip"] h2,
  [class*="hero-strip"] h3 {
    font-size: 22px;
  }

  .tab-panel,
  .data-card,
  .section-card,
  .empty-card,
  .chart-card,
  .progress-card,
  .membership-card,
  .invite-card,
  .admin-card,
  .filters-panel,
  [class*="data-card"],
  [class*="section-card"],
  [class*="empty-card"],
  [class*="chart-card"],
  [class*="filters-panel"] {
    padding: 16px;
  }

  .filter-grid,
  .form-grid,
  [class*="filter-grid"],
  [class*="form-grid"] {
    grid-template-columns: 1fr;
  }

  .field--wide,
  .field--full,
  [class*="field--wide"],
  [class*="field--full"] {
    grid-column: auto;
  }

  .field-actions,
  .filter-actions,
  [class*="field-actions"],
  [class*="filter-actions"],
  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header-actions,
  .toolbar,
  .membership-actions,
  .jobs-pagination-actions {
    align-items: stretch;
  }

  .jobs-pagination-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .captcha-row,
  .code-row,
  [class*="captcha-row"],
  [class*="code-row"] {
    grid-template-columns: 1fr;
  }

  .two-col,
  .payment-meta-grid {
    grid-template-columns: 1fr;
  }

  .shell-main,
  [class*="shell-main"] {
    padding: 14px 0 28px;
  }

  .jobs-kpi-grid {
    grid-template-columns: 1fr;
  }
}
