﻿:root {
  --ink: var(--theme-ink);
  --ink-soft: var(--theme-ink-soft);
  --accent: var(--theme-accent);
  --accent-dark: var(--theme-accent-dark);
  --teal: var(--theme-teal);
  --cream: var(--theme-cream);
  --sun: var(--theme-sun);
  --shadow: var(--theme-shadow);
  --page-bg: var(--theme-page-bg);
  --surface: var(--theme-surface);
  --surface-muted: var(--theme-surface-muted);
  --surface-subtle: var(--theme-surface-subtle);
  --surface-hover: var(--theme-surface-hover);
  --border: var(--theme-border);
  --border-strong: var(--theme-border-strong);
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page-bg);
  min-height: 100vh;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 3vw 26px;
  position: relative;
  overflow: visible;
}

.page::before {
  content: '';
  position: absolute;
  inset: -20% 0 0 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 28px var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -40px;
  top: -60px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  filter: blur(8px);
  animation: float 8s ease-in-out infinite;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
  animation: fadeUp 0.9s ease-out;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
}

.hero-title {
  font-size: 34px;
  margin: 0;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

.primary {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.35);
}

.ghost {
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--teal);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-square {
  padding: 6px 10px;
  border-radius: 6px;
  min-height: 28px;
  line-height: 1.2;
}

.btn-blue {
  border-color: rgba(37, 99, 235, 0.6);
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.btn-yellow {
  border-color: rgba(234, 179, 8, 0.6);
  color: #b45309;
  background: rgba(234, 179, 8, 0.12);
}

.btn-green {
  border-color: rgba(34, 197, 94, 0.6);
  color: #16a34a;
  background: rgba(34, 197, 94, 0.1);
}

.btn-red {
  border-color: rgba(239, 68, 68, 0.6);
  color: #dc2626;
  background: rgba(239, 68, 68, 0.08);
}

.btn-square:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
}

.btn-square:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.btn-square:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.4);
  outline-offset: 2px;
}

.danger {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-weight: 600;
}

.danger:hover {
  background: #fecaca;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--ink-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px var(--shadow);
  color: var(--ink);
}

.tag.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
  z-index: 1;
}

.stat {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
}

.stat-label {
  font-size: 12px;
  color: var(--ink-soft);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-header h2 {
  margin: 0;
  font-size: 22px;
}

.section-header p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.workspace {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.top-nav {
  position: sticky;
  top: 16px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px var(--shadow);
}

.nav-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  white-space: nowrap;
}

.nav-item {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink-soft);
  text-align: left;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-item.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.nav-item:hover {
  transform: translateY(-1px);
}

.content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.view {
  background: var(--surface);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 26px var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  align-items: start;
}

.view > .view-header,
.view > .hero,
.view > .panel-grid {
  grid-column: 1 / -1;
}

.view.dashboard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.view.dashboard > * {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-kicker {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 10px;
  color: var(--teal);
  font-weight: 600;
  margin: 0 0 4px;
}

.dash-title-main {
  margin: 0;
  font-size: 22px;
}

.dash-subtitle {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--ink-soft);
  max-width: 520px;
}

.dash-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.stat-pill {
  background: var(--surface);
  border-radius: 14px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.stat-pill-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
}

.stat-pill-label {
  font-size: 10px;
  color: var(--ink-soft);
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 12px;
  align-items: start;
}

.dash-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 6px 12px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dash-card-header h3 {
  margin: 0;
  font-size: 13px;
}

.muted {
  font-size: 11px;
  color: var(--ink-soft);
}

.module-compact {
  display: grid;
  gap: 6px;
}

.module-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: center;
  padding: 4px 6px;
  border-radius: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.module-line:hover {
  background: var(--surface-hover);
}

.module-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  color: #ffffff;
  font-weight: 600;
}

.module-name {
  font-size: 12px;
  font-weight: 600;
}

.module-status {
  font-size: 10px;
  color: var(--ink-soft);
}

.batch-compact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.batch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.batch-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.batch-main strong {
  font-size: 12px;
}

.batch-code {
  font-size: 10px;
  color: var(--ink-soft);
}

.batch-row .batch-meta {
  font-size: 10px;
}

.batch-row .badge {
  font-size: 10px;
  padding: 2px 8px;
}

.action-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 6px;
}

.action-chip {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.action-chip-title {
  font-weight: 600;
  font-size: 11px;
}

.action-chip-desc {
  font-size: 10px;
  color: var(--ink-soft);
}

.view-header h2 {
  margin: 0;
  font-size: 20px;
}

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

.view-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.header-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.favorite-star {
  width: 34px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #1fed09;
  font-size: 30px;
  line-height: 1;
}

.favorite-star:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.stat-row-applicants {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.stat-card {
  border-radius: 16px;
  padding: 14px;
  text-align: left;
  background: var(--surface);
  box-shadow: 0 8px 18px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px var(--shadow);
}

.stat-card-label {
  font-size: 12px;
  color: var(--ink-soft);
}

.stat-card-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
}

.subsection {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subsection-header h3 {
  margin: 0;
  font-size: 16px;
}

.subsection-header p {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.panel-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel {
  background: var(--surface);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 14px var(--border);
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 14px;
}


.panel-wide {
  grid-column: 1 / -1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}

.field-inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.field-inline select {
  flex: 1;
}

.field-inline .ghost {
  flex: none;
  white-space: nowrap;
}

.form-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 1px dashed var(--border);
  padding-bottom: 6px;
  margin-top: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 10px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
}

.field textarea {
  min-height: 77px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.form-actions-right {
  width: 100%;
}

.form-actions-right .danger {
  margin-left: auto;
}

.input-inline {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 10px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
  min-width: 220px;
  flex: 1;
}

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

.inline-actions input[type="file"] {
  flex: 1;
}

.form-actions-compact {
  margin-top: 8px;
}

.page[data-page="renewals"] .renewal-filter-panel {
  padding-bottom: 10px;
}

.page[data-page="renewals"] .renewal-filter-row {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(150px, 180px) minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.page[data-page="renewals"] .renewal-filter-row .field {
  min-width: 0;
}

.page[data-page="renewals"] .renewal-filter-row .field > span {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
}

.page[data-page="renewals"] .renewal-filter-row .input-inline,
.page[data-page="renewals"] .renewal-filter-row .field input,
.page[data-page="renewals"] .renewal-filter-row .field select {
  width: 100%;
  min-width: 0;
}

.page[data-page="renewals"] .renewal-batch-combobox {
  position: relative;
}

.page[data-page="renewals"] .renewal-batch-input-wrap {
  display: flex;
  align-items: stretch;
}

.page[data-page="renewals"] .renewal-batch-input-wrap .input-inline {
  min-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.page[data-page="renewals"] .renewal-batch-toggle {
  width: 38px;
  border: 1px solid var(--border-strong);
  border-left: none;
  border-radius: 0 10px 10px 0;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  flex: none;
}

.page[data-page="renewals"] .renewal-batch-toggle:hover {
  background: var(--surface);
}

.page[data-page="renewals"] .renewal-batch-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 12px 26px var(--shadow);
  z-index: 20;
  padding: 4px;
}

.page[data-page="renewals"] .renewal-batch-option {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.page[data-page="renewals"] .renewal-batch-option:hover {
  background: var(--surface-soft);
}

.page[data-page="renewals"] .renewal-batch-empty {
  padding: 8px 10px;
  color: var(--ink-soft);
  font-size: 12px;
}

.page[data-page="renewals"] .renewal-filter-actions {
  margin-top: 0;
  align-self: end;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .page[data-page="renewals"] .renewal-filter-row {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .page[data-page="renewals"] .renewal-filter-row {
    grid-template-columns: 1fr;
  }
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2px 0 6px;
}

.data-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3f7ff 0%, #eaf1ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 8px 16px var(--shadow);
}

.data-pill-label {
  font-size: 12px;
  color: var(--ink-soft);
}

.data-pill-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: max-content;
  border-collapse: collapse;
  min-width: max(680px, 100%);
}

.table th,
.table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}

.table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.table td {
  font-size: 11px;
  transition: background-color 0.15s ease;
}

.table .sticky-col {
  position: sticky;
  left: 0;
  background: var(--surface);
  z-index: 1;
}

.table thead .sticky-col {
  z-index: 2;
}

.table .sticky-col-first {
  box-shadow: 1px 0 0 var(--border);
}

.table tbody tr:hover td {
  background: var(--surface-hover);
}

.table tbody tr:hover .sticky-col {
  background: var(--surface-hover);
}

.table tbody:empty::after {
  content: '暂未查询数据';
  display: block;
  padding: 12px 8px;
  color: var(--ink-soft);
}

.table-nowrap th,
.table-nowrap td {
  white-space: nowrap;
}

.checkbox-cell {
  width: 40px;
  min-width: 40px;
  text-align: center !important;
}

.dash-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-side-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-side-block + .dash-side-block {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 10px;
}

.remark-cell {
  white-space: pre-wrap;
  word-break: break-all;
  max-width: 20ch;
  width: 20ch;
  overflow-wrap: anywhere;
}

.remark-cell-wide {
  max-width: 34ch;
  width: 34ch;
}

.public-notice-table .remark-cell {
  max-width: 36ch;
  width: 36ch;
}

.public-notice-table .action-right {
  min-width: 120px;
}

.content-cell {
  white-space: pre-wrap;
  word-break: break-all;
  min-width: 320px;
}

.textarea-tall {
  min-height: 200px;
}

.modal-card-wide {
  max-width: 760px;
}

.json-pre {
  white-space: pre-wrap;
  word-break: break-all;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
  min-height: 120px;
}

.json-key {
  color: #0f766e;
  font-weight: 600;
}

.json-string {
  color: #2563eb;
}

.json-number {
  color: #b45309;
}

.json-boolean {
  color: #7c3aed;
  font-weight: 600;
}

.json-null {
  color: #64748b;
}

.textarea-result {
  height: 160px;
}

.textarea-height-580 {
  height: 580px;
}

.textarea-header {
  min-height: 140px;
}

.textarea-body {
  height: 380px;
}

.field-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
}

.field-value {
  padding: 6px 0;
  color: var(--ink);
}

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 20;
}

.modal-card {
  width: min(880px, 96vw);
  background: var(--surface);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 95vh;
  overflow: auto;
}

.loading-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.loading-card {
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h3 {
  margin: 0;
  font-size: 16px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.pager-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pager-controls button {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--ink-soft);
}

.pager-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pager-size select {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
}

.pager-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pager-jump input {
  width: 64px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
}

.pager-jump button {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--surface-muted);
  color: var(--ink-soft);
}

.group-row td {
  background: var(--surface-muted);
  color: var(--ink);
  font-weight: 600;
}

.inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.action-right {
  justify-content: flex-end;
}

.text-right {
  text-align: right;
}

.hint {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.notice {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-hover);
  color: var(--teal);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.notice-success {
  background: #e7f6ff;
  color: #0f4c81;
  border-color: rgba(15, 76, 129, 0.2);
}

.notice-error {
  background: #fee2e2;
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.2);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.module-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 18px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.9s ease-out;
}

.module-card h3 {
  margin: 0;
  font-size: 16px;
}

.module-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.4;
  font-size: 13px;
}

.module-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: #fff;
}

.module-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--teal);
}

.link {
  background: transparent;
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.batch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.batch-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 8px 18px var(--shadow);
}

.batch-card h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.batch-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.batch-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 11px;
  color: var(--ink-soft);
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--teal);
  font-weight: 600;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.action-card {
  border-radius: 16px;
  padding: 14px;
  text-align: left;
  background: var(--surface-muted);
  box-shadow: 0 8px 18px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease;
  color: inherit;
  text-decoration: none;
}

.action-card:hover {
  transform: translateY(-2px);
}

.action-title {
  font-weight: 600;
  font-size: 13px;
}

.action-desc {
  color: var(--ink-soft);
  font-size: 12px;
}

.footer {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
}

.footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin: 0 8px;
}

.empty {
  padding: 14px;
  background: var(--surface-subtle);
  border-radius: 12px;
  color: var(--ink-soft);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 1100px) {
  .top-nav {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

  .stat-row-applicants {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 600px) {
  .page {
    padding: 20px 4vw 28px;
  }

  .hero {
    padding: 20px;
  }

  .hero-title {
    font-size: 26px;
  }

  .dash-title-main {
    font-size: 22px;
  }

  .dash-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

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

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

  .table {
    min-width: max(560px, 100%);
  }
}

.nav-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-right: 6px;
  border-right: 1px solid var(--border);
  margin-right: 6px;
}

.nav-user-label {
  font-size: 11px;
  color: var(--ink-soft);
}

.nav-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.login-page {
  font-family: "Manrope", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--page-bg);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-rows: auto 1fr;
  gap: 28px;
  padding: 32px clamp(20px, 6vw, 72px) 48px;
  position: relative;
  overflow: hidden;
}

.login-shell::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), rgba(37, 99, 235, 0));
  filter: blur(2px);
  z-index: 0;
}

.login-shell::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25), rgba(14, 165, 233, 0));
  filter: blur(4px);
  z-index: 0;
}

.login-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}

.login-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
}

.login-logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.login-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
  max-width: 520px;
}

.login-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
}

.login-title {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0;
}

.login-subtitle {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.login-glass {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 24px var(--shadow);
}

.login-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-label {
  font-size: 12px;
  color: var(--ink-soft);
}

.metric-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.login-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.login-tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  color: var(--ink-soft);
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.login-card {
  width: min(420px, 100%);
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 22px 40px var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-card-head h2 {
  margin: 0;
  font-size: 20px;
}

.login-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.login-field input {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface-subtle);
  color: var(--ink);
}

.login-captcha {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-wrap {
  position: relative;
  width: 100%;
  height: 50px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.slider-track {
  position: relative;
  height: 50px;
  border-radius: 14px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-y;
}

.slider-progress {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.22), rgba(14, 165, 233, 0.18));
  transition: width 0.1s ease;
}

.slider-wrap.dragging .slider-progress {
  transition: none;
}

.slider-text {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--ink-soft);
}

.slider-text-success {
  color: #0f766e;
  font-weight: 600;
}

.slider-handle {
  position: absolute;
  top: 3px;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
  cursor: grab;
  z-index: 2;
  transition: background 0.2s ease, border-color 0.2s ease;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slider-handle::before {
  content: '';
  position: absolute;
  inset: -8px;
}

.slider-wrap.dragging .slider-handle {
  cursor: grabbing;
}

.slider-wrap.verified .slider-handle {
  background: #ecfdf5;
  border-color: #a7f3d0;
  cursor: default;
}

.slider-wrap.verified .slider-progress {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}


.login-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

.login-submit {
  width: 100%;
  padding: 12px 18px;
  font-size: 14px;
}

.login-error {
  margin: 0;
  color: #dc2626;
  font-size: 13px;
}

.login-footer {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 980px) {
  .login-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .login-brand {
    order: 2;
  }

  .login-panel {
    order: 1;
  }
}

@media (max-width: 600px) {
  .login-shell {
    padding: 24px 16px 36px;
  }

  .login-captcha {
    gap: 8px;
  }
}

