:root {
  --bg: #f6f2ea;
  --bg-strong: #efe5d6;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(15, 23, 42, 0.1);
  --text: #172033;
  --muted: #5f6b7a;
  --teal: #0f766e;
  --teal-deep: #115e59;
  --amber: #d97706;
  --coral: #d96d4f;
  --navy: #1f3558;
  --success: #15803d;
  --warning: #b45309;
  --danger: #b91c1c;
  --shadow: 0 24px 60px rgba(23, 32, 51, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-body: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Trebuchet MS", "Avenir Next", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, #f5f0e7 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: 80px;
  right: -80px;
  background: rgba(15, 118, 110, 0.38);
}

body::after {
  bottom: 40px;
  left: -80px;
  background: rgba(217, 119, 6, 0.34);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.portal-body {
  padding-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(20px);
  background: rgba(251, 248, 242, 0.7);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  box-shadow: 0 16px 32px rgba(17, 94, 89, 0.3);
}

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

.site-nav a,
.side-nav a,
.auth-switch button {
  padding: 10px 16px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.site-nav a:hover,
.side-nav a:hover,
.auth-switch button:hover {
  background: rgba(255, 255, 255, 0.75);
}

.site-nav a.is-active,
.side-nav a.is-active,
.auth-switch button.is-active {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(217, 119, 6, 0.16));
  color: var(--teal-deep);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.08);
}

.page-main {
  padding-top: 34px;
}

.hero-section,
.inner-hero,
.auth-hero {
  padding: 34px 0 18px;
}

.hero-grid,
.split-layout,
.auth-layout,
.shell-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.92rem;
  color: var(--teal-deep);
}

.hero-copy h1,
.inner-hero h1,
.auth-copy h1 {
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.inner-hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero-copy p,
.inner-hero p,
.auth-copy p,
.section-heading p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.hero-actions,
.tag-row,
.auth-switch,
.table-actions,
.template-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff;
  box-shadow: 0 18px 34px rgba(17, 94, 89, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(17, 94, 89, 0.28);
}

.button.secondary {
  background: linear-gradient(135deg, var(--amber), var(--coral));
  box-shadow: 0 18px 34px rgba(217, 119, 6, 0.24);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.button.small {
  padding: 10px 14px;
  font-size: 0.94rem;
}

.panel,
.glass-card,
.stat-card,
.form-card,
.preview-card,
.table-card,
.side-panel,
.message-item,
.job-card,
.timeline-item,
.gallery-card,
.notice-board,
.empty-card,
.pricing-banner {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--surface);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.panel,
.glass-card,
.form-card,
.preview-card,
.table-card,
.message-item,
.job-card,
.notice-board,
.empty-card,
.pricing-banner {
  padding: 24px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -80px -20px auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.58), transparent 62%);
}

.badge-row,
.hero-metrics,
.card-grid,
.stat-grid,
.feature-grid,
.field-grid,
.message-list,
.job-list,
.timeline,
.gallery-grid,
.quick-links {
  display: grid;
  gap: 18px;
}

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

.badge {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.badge strong,
.value {
  display: block;
  margin-top: 6px;
  font-size: 1.5rem;
  font-weight: 800;
}

.mini-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding-top: 36px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2,
.form-card h2,
.preview-card h2,
.table-card h2,
.side-panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

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

.glass-card {
  position: relative;
  overflow: hidden;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 65%);
}

.glass-card h3,
.job-card h3,
.message-item h3,
.timeline-item h3,
.gallery-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.glass-card p,
.job-card p,
.message-item p,
.timeline-item p,
.gallery-card p,
.side-panel p,
.form-card p,
.preview-card p,
.table-card p,
.notice-board p,
.empty-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.soft-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.soft-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.soft-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  flex: none;
}

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

.stat-card {
  padding: 22px;
}

.shell-grid {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 102px;
  padding: 24px;
}

.side-nav {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-stack {
  display: grid;
  gap: 24px;
}

.split-layout,
.auth-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.field {
  display: grid;
  gap: 10px;
}

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

.field label {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.avatar-block,
.upload-box,
.gallery-card,
.resume-preview,
.illustration-block {
  border: 1px dashed rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 22px;
}

.avatar-block,
.upload-box,
.gallery-card,
.illustration-block {
  padding: 20px;
}

.avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--teal-deep);
  font-size: 0.92rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.status-pill.success {
  color: var(--success);
  background: rgba(21, 128, 61, 0.12);
}

.status-pill.warning,
.status-pill.pending {
  color: var(--warning);
  background: rgba(180, 83, 9, 0.12);
}

.status-pill.info {
  color: var(--teal-deep);
  background: rgba(15, 118, 110, 0.12);
}

.status-pill.danger {
  color: var(--danger);
  background: rgba(185, 28, 28, 0.12);
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--teal), var(--amber));
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.portal-table th,
.portal-table td {
  text-align: left;
  padding: 16px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  vertical-align: top;
}

.portal-table th {
  color: var(--muted);
  font-weight: 700;
}

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

.job-header,
.message-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.message-list {
  grid-template-columns: 1fr;
}

.message-item.unread {
  border-color: rgba(15, 118, 110, 0.22);
}

.message-side {
  display: flex;
  gap: 14px;
}

.message-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(217, 119, 6, 0.24));
  display: grid;
  place-items: center;
  color: var(--teal-deep);
  font-weight: 800;
  flex: none;
}

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

.timeline-item {
  padding: 22px;
}

.timeline-time {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.template-pills .pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.template-pills .pill.active {
  color: var(--teal-deep);
  border-color: rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.08);
}

.resume-preview {
  padding: 24px;
}

.resume-preview section + section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.resume-preview h3 {
  margin: 0 0 10px;
}

.resume-preview ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

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

.gallery-card {
  min-height: 160px;
}

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

.quick-links a {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: 0.25s ease;
}

.quick-links a:hover {
  transform: translateY(-2px);
}

.auth-layout {
  align-items: start;
}

.auth-copy {
  padding-right: 24px;
}

.auth-panel-stack {
  display: grid;
  gap: 18px;
}

.auth-card {
  padding: 26px;
}

.auth-card h2 {
  margin: 0 0 8px;
}

.auth-tip {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(15, 118, 110, 0.08);
}

.auth-page .page-main,
.auth-page-main {
  min-height: 100vh;
}

.auth-page {
  padding-bottom: 0;
}

.auth-page-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.auth-simple {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.auth-simple__card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 244, 0.88)),
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(31, 53, 88, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  box-shadow:
    0 34px 80px rgba(23, 32, 51, 0.18),
    0 10px 28px rgba(15, 118, 110, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  padding: 34px 32px 28px;
  backdrop-filter: blur(22px) saturate(1.16);
}

.auth-simple__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent) 0 0 / 100% 1px no-repeat,
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), transparent 34%, rgba(217, 119, 6, 0.08) 74%, transparent);
  opacity: 0.85;
}

.auth-simple__card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 24px;
  pointer-events: none;
}

.auth-simple__card > * {
  position: relative;
  z-index: 1;
}

.auth-simple__header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-simple__header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.12rem;
  font-weight: 800;
  color: #132238;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.88);
}

.auth-simple__header p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 0.94rem;
}

.auth-role-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 2px rgba(23, 32, 51, 0.04);
}

.auth-role-tabs button {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #7a879b;
  padding: 10px 10px;
  font-size: 0.98rem;
  font-weight: 700;
  transition: 0.22s ease;
}

.auth-role-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #1f3558);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.2);
}

.auth-role-notice {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(217, 119, 6, 0.08));
  color: #115e59;
  font-size: 0.95rem;
  font-weight: 600;
}

.auth-role-notice__icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f766e, #1f3558);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex: none;
}

.auth-form-simple {
  margin-top: 22px;
}

.auth-mode-panel {
  display: grid;
  gap: 16px;
}

.auth-form-simple .field {
  gap: 10px;
}

.auth-form-simple .field label {
  font-size: 0.96rem;
  color: #23314a;
}

.auth-form-simple .field input {
  min-height: 54px;
  padding: 13px 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.74);
  color: #172033;
  font-size: 0.98rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 20px rgba(23, 32, 51, 0.04);
}

.auth-form-simple .field input::placeholder {
  color: #9aa6b8;
}

.auth-form-simple .field input:focus {
  border-color: rgba(15, 118, 110, 0.52);
  box-shadow:
    0 0 0 4px rgba(15, 118, 110, 0.12),
    0 14px 28px rgba(15, 118, 110, 0.08);
}

.auth-form-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #556174;
  font-size: 0.98rem;
}

.auth-check input {
  width: 22px;
  height: 22px;
  margin: 0;
}

.auth-form-meta a,
.auth-toggle-link {
  color: #0f766e;
}

.auth-submit-button {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 22px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #0f766e 0%, #1f3558 58%, #d97706 145%);
  color: #fff;
  font-size: 1.04rem;
  font-weight: 700;
  box-shadow:
    0 18px 34px rgba(15, 118, 110, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.auth-submit-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 42px rgba(15, 118, 110, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.auth-toggle-text {
  margin: 22px 0 0;
  text-align: center;
  color: #48556a;
  font-size: 0.96rem;
}

.auth-toggle-link {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  padding: 0;
  text-underline-offset: 4px;
}

.pricing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.notice-board {
  padding: 26px;
}

.notice-board h3 {
  margin: 0 0 10px;
}

.empty-card {
  text-align: center;
  padding: 36px 24px;
}

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

.stack-sm {
  display: grid;
  gap: 10px;
}

.stack-md {
  display: grid;
  gap: 16px;
}

.stack-lg {
  display: grid;
  gap: 24px;
}

.mt-18 {
  margin-top: 18px;
}

.mt-24 {
  margin-top: 24px;
}

.animate-up {
  animation: slideUp 0.6s ease both;
}

@keyframes slideUp {
  from {
    transform: translateY(18px);
    opacity: 0;
  }

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

@media (max-width: 1100px) {
  .card-grid,
  .feature-grid,
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-list,
  .timeline,
  .gallery-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .side-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero-grid,
  .split-layout,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-copy {
    padding-right: 0;
  }

  .auth-simple__card {
    padding: 28px 24px 24px;
    border-radius: 24px;
  }

  .auth-simple__header h1 {
    font-size: 1.95rem;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .card-grid,
  .feature-grid,
  .job-list,
  .field-grid,
  .timeline,
  .gallery-grid,
  .quick-links,
  .stat-grid,
  .badge-row {
    grid-template-columns: 1fr;
  }

  .panel,
  .glass-card,
  .form-card,
  .preview-card,
  .table-card,
  .message-item,
  .job-card,
  .timeline-item,
  .notice-board,
  .pricing-banner,
  .side-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .section-heading {
    align-items: start;
  }

  .portal-table,
  .portal-table thead,
  .portal-table tbody,
  .portal-table tr,
  .portal-table th,
  .portal-table td {
    display: block;
    width: 100%;
  }

  .portal-table thead {
    display: none;
  }

  .portal-table tr {
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .portal-table td {
    padding: 8px 0;
    border: 0;
  }

  .pricing-banner {
    align-items: start;
    flex-direction: column;
  }

  .auth-page-main {
    padding: 16px 10px;
  }

  .auth-simple__card {
    padding: 24px 14px 20px;
    border-radius: 20px;
  }

  .auth-simple__header {
    margin-bottom: 20px;
  }

  .auth-simple__header h1 {
    font-size: 1.72rem;
  }

  .auth-simple__header p {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .auth-role-tabs button {
    padding: 8px 8px 12px;
    font-size: 0.94rem;
  }

  .auth-role-notice {
    margin-top: 18px;
    padding: 11px 13px;
    font-size: 0.94rem;
  }

  .auth-form-simple {
    margin-top: 18px;
  }

  .auth-form-simple .field input {
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .auth-form-meta {
    margin-top: 18px;
    font-size: 0.94rem;
  }

  .auth-submit-button {
    min-height: 50px;
    margin-top: 18px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .auth-toggle-text {
    margin-top: 20px;
  }
}


/* =========================================
   鎵惧洖瀵嗙爜椤典笓鐢ㄦ牱寮忚ˉ鍏�
   ========================================= */

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 0 10px;
}
.step {
  text-align: center;
  flex: 1;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 60%;
  right: -40%;
  height: 2px;
  background: var(--line, rgba(15, 23, 42, 0.1));
  z-index: 1;
}
.step.is-active:not(:last-child)::after {
  background: var(--navy, #1f3558);
}
.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-strong, #efe5d6);
  color: var(--muted, #5f6b7a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.step.is-active .step-number {
  background: var(--navy, #1f3558);
  color: white;
}
.step-label {
  font-size: 12px;
  color: var(--muted, #5f6b7a);
}
.step.is-active .step-label {
  color: var(--navy, #1f3558);
  font-weight: 500;
}

.captcha-wrap {
  display: flex;
  gap: 12px;
}
.btn-send-code {
  white-space: nowrap;
  padding: 0 16px;
  background: var(--bg-strong, #efe5d6);
  border: 1px solid var(--line, rgba(15, 23, 42, 0.1));
  border-radius: var(--radius-sm, 12px);
  color: var(--navy, #1f3558);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-send-code:hover {
  background: var(--navy, #1f3558);
  color: white;
}
.btn-send-code:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-full {
  width: 100%;
  display: block;
  text-align: center;
  border: none;
  cursor: pointer;
}

.step-success {
  text-align: center;
  padding: 20px 0;
}
.step-success .success-icon {
  font-size: 48px;
  color: var(--success, #15803d);
  margin-bottom: 16px;
}
.step-success h2 {
  font-size: 20px;
  color: var(--text, #172033);
  margin-bottom: 10px;
}
.step-success p {
  color: var(--muted, #5f6b7a);
  margin-bottom: 30px;
}

/* =========================================
   绯荤粺鍚庡彴/涓汉涓績 閫氱敤甯冨眬鏍峰紡
   ========================================= */

.dashboard-layout {
  max-width: var(--container, 1180px);
  margin: 30px auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 0 20px;
}

/* 宸︿晶瀵艰埅鑿滃崟 */
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface-strong, #fff);
  padding: 20px;
  border-radius: var(--radius-lg, 22px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.side-nav-item {
  padding: 12px 16px;
  border-radius: var(--radius-sm, 12px);
  color: var(--text, #172033);
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.side-nav-item:hover {
  background: var(--bg-strong, #efe5d6);
}
.side-nav-item.is-active {
  background: var(--navy, #1f3558);
  color: white;
}
.badge {
  background: var(--danger, #b91c1c);
  color: white;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
}

/* 鍙充晶涓诲唴瀹瑰尯 */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.page-header h1 {
  font-size: 1.5rem;
  color: var(--text, #172033);
}
.header-buttons {
  display: flex;
  gap: 12px;
}
.content-card {
  background: var(--surface-strong, #fff);
  padding: 30px;
  border-radius: var(--radius-lg, 22px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

/* 琛ㄥ崟涓庣粍浠舵牱寮� */
.section-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--navy, #1f3558);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--navy, #1f3558);
  border-radius: 2px;
}

.basic-info-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.avatar-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 120px;
}
.avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg-strong, #efe5d6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px dashed var(--line, rgba(15,23,42,0.1));
  background-size: cover;
  background-position: center;
}
.avatar-placeholder {
  font-size: 12px;
  color: var(--muted, #5f6b7a);
}

.form-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text, #172033);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line, rgba(15, 23, 42, 0.1));
  border-radius: var(--radius-sm, 12px);
  background: var(--surface, rgba(255,255,255,0.8));
  transition: all 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy, #1f3558);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 53, 88, 0.1);
}
.disabled-input {
  background: var(--bg, #f6f2ea) !important;
  color: var(--muted, #5f6b7a);
  cursor: not-allowed;
}
.divider {
  border: none;
  border-top: 1px solid var(--line, rgba(15,23,42,0.1));
  margin: 30px 0;
}

/* 鎸夐挳鏍峰紡 */
.btn-primary {
  background: var(--navy, #1f3558);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm, 12px);
  cursor: pointer;
  transition: background 0.3s;
}
.btn-primary:hover { background: #162743; }
.btn-outline {
  background: transparent;
  color: var(--navy, #1f3558);
  border: 1px solid var(--navy, #1f3558);
  padding: 10px 20px;
  border-radius: var(--radius-sm, 12px);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--navy, #1f3558);
  color: white;
}
.btn-text {
  background: none;
  border: none;
  color: var(--teal, #0f766e);
  cursor: pointer;
  font-size: 0.9rem;
}
.btn-text:hover { text-decoration: underline; }
.btn-dashed {
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 2px dashed var(--line, rgba(15,23,42,0.1));
  border-radius: var(--radius-sm, 12px);
  color: var(--muted, #5f6b7a);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}
.btn-dashed:hover {
  border-color: var(--navy, #1f3558);
  color: var(--navy, #1f3558);
}
.form-actions {
  margin-top: 40px;
  text-align: center;
}
.btn-large {
  padding: 14px 40px;
  font-size: 1.1rem;
}

.project-item {
  background: var(--bg-strong, #efe5d6);
  padding: 20px;
  border-radius: var(--radius-sm, 12px);
  margin-bottom: 15px;
}

/* 绉诲姩绔嚜閫傚簲 */
@media (max-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .basic-info-layout {
    flex-direction: column;
    align-items: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* =========================================
   鑱屼綅娴忚涓庢姇閫掗〉 涓撶敤鏍峰紡
   ========================================= */

.filter-bar {
  margin-bottom: 24px;
  padding: 20px;
}
.filter-group {
  display: flex;
  gap: 15px;
  align-items: center;
}
.filter-input {
  flex: 2;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}
.filter-input:focus { border-color: var(--navy); }
.filter-select {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  outline: none;
}
.search-btn {
  padding: 12px 30px;
  white-space: nowrap;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PC绔袱鍒� */
  gap: 24px;
}

.job-card {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.job-title {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 5px 0;
}
.job-salary {
  color: var(--coral);
  font-weight: bold;
  font-size: 1rem;
}
.company-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.job-company {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 15px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.tag {
  background: var(--bg-strong);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.job-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1; 
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-action {
  border-top: 1px dashed var(--line);
  padding-top: 15px;
  text-align: right;
}

.btn-apply {
  width: 100%;
  border-radius: 8px;
}
.btn-apply.is-applied {
  background: var(--bg-strong);
  color: var(--muted);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-apply.is-applied:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

@media (max-width: 768px) {
  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }
  .job-grid {
    grid-template-columns: 1fr; /* 鎵嬫満绔崟鍒� */
  }
}

/* =========================================
   鑱屼綅鍗曞垪鍒楄〃涓庤鎯呭睍寮�鏍峰紡
   ========================================= */
.job-grid.single-column {
  grid-template-columns: 1fr !important; /* 寮哄埗鍗曞垪 */
  max-width: 850px; 
  margin: 0 auto;
}
.job-company-row {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 6px;
}
.job-location::before {
  content: "路";
  margin: 0 8px;
}
.job-expanded-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  animation: slideDown 0.3s ease-out;
}
.detail-section {
  margin-bottom: 16px;
}
.detail-section h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.detail-section p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}
.job-action {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 15px;
}
.btn-view-detail {
  min-width: 100px;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.btn-view-detail:hover {
  background: var(--bg-strong);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .job-action {
    flex-direction: column;
  }
  .btn-view-detail, .btn-apply {
    width: 100%;
  }
}

/* =========================================
   娑堟伅閫氱煡椤� 涓撶敤鏍峰紡
   ========================================= */

.message-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.msg-tab {
  background: none;
  border: none;
  padding: 10px 5px;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.msg-tab:hover { color: var(--navy); }
.msg-tab.is-active {
  color: var(--navy);
  font-weight: bold;
  border-bottom-color: var(--navy);
}
.text-badge {
  background: var(--danger);
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

.message-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.message-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid transparent;
  transition: all 0.3s;
}
.message-card.is-unread {
  background: #f0f9ff;
  border-color: #bae6fd;
}
.message-card:hover {
  box-shadow: 0 4px 12px rgba(15,23,42,0.05);
}

.msg-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}
.bg-blue { background: #3b82f6; }
.bg-yellow { background: #f59e0b; }
.bg-gray { background: #94a3b8; }

.msg-content {
  flex: 1;
}
.msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.msg-title {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0;
}
.message-card.is-unread .msg-title {
  font-weight: bold;
}
.message-card.is-unread .msg-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.msg-time {
  font-size: 0.85rem;
  color: var(--muted);
}
.msg-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.message-card.is-unread .msg-desc {
  color: var(--text);
}

.msg-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .message-card {
    flex-wrap: wrap;
  }
  .msg-content {
    min-width: 100%;
    order: 3;
    margin-top: 10px;
  }
  .msg-header {
    margin-bottom: 4px;
  }
  .msg-actions {
    width: 100%;
    order: 4;
    justify-content: flex-end;
    margin-top: 10px;
    border-top: 1px dashed var(--line);
    padding-top: 10px;
  }
}

/* =========================================
   鎴戠殑鎶曢�掕褰曢〉 涓撶敤鏍峰紡
   ========================================= */

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

.delivery-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.delivery-card:hover {
  background: var(--surface-strong);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.delivery-info {
  flex: 2;
}
.delivery-job {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.delivery-salary {
  font-size: 0.95rem;
  color: var(--coral);
  font-weight: normal;
}
.delivery-company {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 6px 0;
}
.delivery-time {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.delivery-status-area {
  flex: 1;
  text-align: center;
}

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}
.status-pending { background: #fef3c7; color: #b45309; }
.status-viewed { background: #e0f2fe; color: #0369a1; }
.status-interview { background: #dcfce7; color: #15803d; }
.status-rejected { background: #f1f5f9; color: #64748b; }
.status-withdrawn { background: #fee2e2; color: #b91c1c; }

.delivery-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 768px) {
  .delivery-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }
  .delivery-info, .delivery-status-area, .delivery-actions {
    width: 100%;
    text-align: left;
  }
  .delivery-actions {
    justify-content: flex-start;
    border-top: 1px dashed var(--line);
    padding-top: 12px;
  }
}

/* =========================================
   椤圭洰缁忓巻鍒犻櫎鎸夐挳鏍峰紡
   ========================================= */
.project-item {
  position: relative; 
  padding-top: 35px;
}

.btn-delete-project {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.btn-delete-project:hover {
  background: var(--danger);
  color: white;
}

/* =========================================
   浼佷笟绔細璧勮川涓婁紶涓庢彁绀烘鏍峰紡
   ========================================= */
.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 25px;
}
.alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.alert-icon {
  width: 24px;
  height: 24px;
  background: #f59e0b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
.alert-content strong {
  display: block;
  color: #b45309;
  margin-bottom: 5px;
  font-size: 1rem;
}
.alert-content p {
  margin: 0;
  color: #d97706;
  font-size: 0.9rem;
  line-height: 1.5;
}

.license-upload-area {
  width: 100%;
  max-width: 400px;
  height: 200px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.license-preview {
  width: 100%;
  height: 100%;
  background: var(--bg-strong);
  border: 2px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s;
}
.license-preview:hover {
  border-color: var(--navy);
  background-color: #e2e8f0;
}

.logo-preview {
  border-radius: 12px !important;
}

@media (max-width: 768px) {
  .alert-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* =========================================
   浼佷笟绔細鑱屼綅绠＄悊鍗＄墖鏍峰紡
   ========================================= */
.publish-form-card {
  border: 2px solid var(--navy);
  animation: slideDown 0.3s ease-out;
}

.job-manage-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-manage-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all 0.3s;
}
.job-manage-card:hover {
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.job-manage-card.is-closed {
  background: var(--bg);
  opacity: 0.8;
}
.job-manage-card.is-closed .jmc-title {
  color: var(--muted);
}

.jmc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.jmc-title {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 8px 0;
}
.jmc-salary {
  color: var(--coral);
  font-size: 1rem;
  margin-left: 10px;
}
.jmc-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.jmc-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 16px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--navy);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.jmc-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .jmc-header {
    flex-direction: column;
    gap: 10px;
  }
  .jmc-stats {
    gap: 20px;
    justify-content: space-between;
  }
}

/* =========================================
   浼佷笟绔細绠�鍘嗙鐞嗕笌鏀惰垂鎻愮ず鏍峰紡
   ========================================= */
.download-counter {
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--bg-strong);
  padding: 8px 16px;
  border-radius: 20px;
}
#download-count {
  font-weight: bold;
  color: var(--navy);
}

.pricing-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  animation: fadeIn 0.3s ease;
}
.pricing-content strong {
  display: block;
  color: #9a3412;
}
.pricing-content span {
  font-size: 0.85rem;
  color: #c2410c;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
}
.portal-table th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.portal-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.user-info-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cell-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-strong);
}
.cell-actions {
  display: flex;
  gap: 10px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.modal-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 400px;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .portal-table thead { display: none; }
  .portal-table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px;
    background: white;
  }
  .portal-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 5px;
    border: none;
    text-align: right;
  }
  .portal-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: var(--muted);
    text-align: left;
  }
  .cell-actions { justify-content: flex-end; flex-wrap: wrap; }
  .pricing-banner { flex-direction: column; gap: 15px; text-align: center; }
}

/* =========================================
   浼佷笟绔細瀹炰範鐢熺鐞嗛〉 涓撶敤鏍峰紡
   ========================================= */
.intern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.intern-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.3s;
}
.intern-card:hover {
  background: white;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
  border-color: var(--navy);
}

.intern-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--line);
}
.intern-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-strong);
}
.intern-main {
  flex: 1;
}
.intern-name {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text);
}
.intern-job {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 2px 0 0 0;
}

.intern-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.detail-item {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin:5px 0px;
}
.detail-item .label {
  color: var(--muted);
}
.detail-item .value {
  color: var(--text);
  font-weight: 500;
  margin-top: 0px;
}

.intern-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

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


/* =========================================
   楂樼瀵艰埅鏍� - 鏍″洯娣辫摑鐗� (鐜荤拑鎷熸��)
   ========================================= */

.commercial-header {
  background: rgba(31, 53, 88, 0.96); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(23, 32, 51, 0.15);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px; 
}

.commercial-header .header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.commercial-header .logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.top-nav {
  display: flex;
  gap: 32px;
  margin-left: 60px;
  height: 100%;
}

.top-nav-item {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.top-nav-item:hover {
  color: white;
}



.top-nav-item.is-active {
  color: white;
  font-weight: 600;
}

.commercial-header .header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.commercial-header .user-greeting {
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-xl); 
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.commercial-header .logout-link {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  transition: color 0.3s;
}

.commercial-header .logout-link:hover {
  color: var(--coral);
}

/* 灞呬腑涓诲唴瀹瑰尯 */
.commercial-main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

/* 鍟嗕笟鍖栧ぇ鎼滅储妗� */
.commercial-search-box {
  background: white;
  padding: 25px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 30px;
}
.search-input-group {
  display: flex;
  margin-bottom: 20px;
}
.search-input-main {
  flex: 1;
  padding: 15px 20px;
  font-size: 1.1rem;
  border: 2px solid var(--navy);
  border-radius: 8px 0 0 8px;
  outline: none;
}
.search-btn-large {
  padding: 0 40px;
  font-size: 1.1rem;
  border-radius: 0 8px 8px 0;
}
.search-filters {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-label {
  color: var(--muted);
  font-weight: bold;
}
.filter-tag {
  color: var(--text);
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}
.filter-tag:hover {
  background: var(--bg-strong);
}
.filter-tag.is-active {
  background: var(--navy);
  color: white;
}

/* 鍟嗕笟鍖栧崱鐗囪璁� */
.commercial-job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px;
}
.commercial-job-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid transparent;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.commercial-job-card:hover {
  box-shadow: 0 12px 30px rgba(31, 53, 88, 0.1);
  transform: translateY(-4px);
  border-color: rgba(31, 53, 88, 0.1);
}

.cjc-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cjc-title {
  font-size: 1.2rem;
  margin: 0;
  color: var(--text);
  transition: color 0.2s;
}
.commercial-job-card:hover .cjc-title {
  color: var(--navy);
}
.cjc-salary {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--coral);
}
.cjc-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}
.cjc-tags span {
  background: var(--bg);
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.cjc-middle {
  flex-grow: 1;
}
.cjc-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cjc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.cjc-company {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.cjc-company-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.btn-apply-commercial {
  padding: 8px 24px;
  border-radius: 20px;
  opacity: 0; 
  transform: translateX(10px);
  transition: all 0.3s;
}
.commercial-job-card:hover .btn-apply-commercial {
  opacity: 1;
  transform: translateX(0);
}

/* 绉诲姩绔�傞厤 (閽堝鍟嗕笟鐗�) */
@media (max-width: 768px) {
  .commercial-job-grid {
    grid-template-columns: 1fr;
  }
  .top-nav {
    display: none; /* 鎵嬫満绔殣钘忛《閮ㄨ彍鍗� */
  }
  .commercial-header .header-actions {
    display: none; /* 鎵嬫満绔殣钘忔搷浣滃尯浠ラ槻姝㈡嫢鎸� */
  }
  .search-input-group {
    flex-direction: column;
  }
  .search-input-main {
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .search-btn-large {
    border-radius: 8px;
    padding: 12px;
  }
  .btn-apply-commercial {
    opacity: 1;
    transform: translateX(0);
  }
}


/* =========================================
   闂ㄦ埛棣栭〉涓撶敤鏍峰紡 (浠� BOSS 缁撴瀯)
   ========================================= */

.home-container {
  max-width: var(--container, 1180px);
  margin: 0 auto;
  padding: 0 20px;
}

/* 鎼滅储鍖� */
.home-search-section {
  padding: 40px 0 20px;
  text-align: center;
}
.home-search-bar {
  display: flex;
  max-width: 800px;
  margin: 0 auto 15px;
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 118, 110, 0.1);
}
.search-dropdown {
  padding: 15px 20px;
  background: var(--bg-strong);
  color: var(--text);
  border-right: 1px solid var(--line);
  cursor: pointer;
}
.search-input {
  flex: 1;
  border: none;
  padding: 15px 20px;
  font-size: 1rem;
  outline: none;
}
.search-btn {
  background: var(--teal);
  color: white;
  border: none;
  padding: 0 40px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.search-btn:hover { background: var(--teal-deep); }
.hot-searches {
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.hot-searches a { color: var(--teal); transition: 0.2s; }
.hot-searches a:hover { text-decoration: underline; }

/* 鑿滃崟涓庡箍鍛婃爡鏍� */
.home-hero-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.home-sidebar-menu {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: 15px 0;
  box-shadow: var(--shadow);
}
.menu-item {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.menu-item:hover { background: var(--bg-strong); }
.menu-title { font-weight: bold; width: 80px; color: var(--text); }
.menu-sub { flex: 1; font-size: 0.85rem; color: var(--muted); }
.menu-arrow { color: var(--muted); font-size: 1.2rem; }

.home-banner-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
}
.banner-large {
  grid-row: span 2;
  border-radius: var(--radius-lg);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner-large h2 { font-size: 2.5rem; margin: 0 0 10px 0; }
.banner-small {
  border-radius: var(--radius-lg);
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner-small h3 { font-size: 1.3rem; margin: 0 0 5px 0; }

/* 鏍囬涓庣綉鏍� */
.home-section {
  margin-top: 0px;
}
.home-section-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 25px;
  font-family: var(--font-display);
}
.home-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--line);
}
.home-tab {
  font-size: 1.1rem;
  color: var(--muted);
  padding-bottom: 15px;
  cursor: pointer;
  position: relative;
}
.home-tab.is-active { color: var(--teal); font-weight: bold; }
.home-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

.home-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 浼佷笟鍗＄墖 */
.company-card {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 15px rgba(15,23,42,0.03);
  transition: transform 0.3s, box-shadow 0.3s;
}
.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}
.cc-header { display: flex; gap: 15px; margin-bottom: 20px; }
.cc-logo { width: 50px; height: 50px; border-radius: 12px; }
.cc-name { margin: 0 0 5px 0; font-size: 1.1rem; }
.cc-meta { margin: 0; font-size: 0.85rem; color: var(--muted); }
.cc-jobs { border-top: 1px dashed var(--line); padding-top: 15px; margin-bottom: 15px; }
.cc-job-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }
.cc-job-name { color: var(--text); }
.cc-more { display: block; text-align: center; color: var(--teal); font-size: 0.9rem; background: var(--bg); padding: 8px; border-radius: 6px; transition: 0.2s; }
.cc-more:hover { background: var(--bg-strong); }

/* 鍩庡競鍗＄墖 */
.city-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
.city-card {
  height: 90px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 20px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  cursor: pointer;
  overflow: hidden;
}
.city-card::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.3); transition: 0.3s;
}
.city-card:hover::before { background: rgba(0,0,0,0.1); }
.city-content { position: relative; z-index: 1; font-size: 1.2rem; font-weight: bold; }

/* 搴曢儴 Footer */
.site-footer {
  background: #1e293b;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 20px;
}
.footer-grid {
  max-width: var(--container, 1180px);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col a, .footer-col p { display: block; margin-bottom: 12px; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
}

/* 鍝嶅簲寮� */
@media (max-width: 992px) {
  .home-hero-layout { grid-template-columns: 1fr; }
  .home-sidebar-menu { display: none; } /* 绉诲姩绔殣钘忓乏渚у垎绫� */
  .home-banner-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .home-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .home-search-bar { flex-direction: column; }
  .search-dropdown { border-right: none; border-bottom: 1px solid var(--line); }
  .home-grid-3 { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* 椤堕儴瀵艰埅鐧诲綍閾炬帴涓撶敤 */
.auth-links .top-nav-item:hover {
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}



/* =========================================
   鑱屼綅椤碉細BOSS鐩磋仒椋庢牸 (宸﹀彸鑱斿姩甯冨眬)
   ========================================= */

/* 1. 椤堕儴鎼滅储涓庣瓫閫夊尯 */
.boss-search-wrapper {
  background: white;
  padding: 20px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 25px;
}
.boss-search-bar {
  display: flex;
  margin-bottom: 20px;
}
.boss-search-input {
  flex: 1;
  padding: 15px 20px;
  font-size: 1.05rem;
  border: 2px solid var(--teal);
  border-radius: 8px 0 0 8px;
  outline: none;
}
.boss-search-btn {
  background: var(--teal);
  color: white;
  border: none;
  padding: 0 40px;
  font-size: 1.1rem;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: 0.3s;
}
.boss-search-btn:hover { background: var(--teal-deep); }

.boss-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--line);
  padding-top: 15px;
}
.boss-filter-items {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text);
}
.filter-dropdown {
  appearance: none;
  min-width: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 16px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 10px) 50% / 6px 6px no-repeat,
    white;
  color: var(--text);
  padding: 8px 28px 8px 12px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.filter-dropdown:hover,
.filter-dropdown:focus {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.08);
}
.boss-filter-clear {
  color: var(--muted);
  font-size: 0.9rem;
}
.boss-filter-clear:hover { color: var(--text); }

/* 2. 鏍稿績宸﹀彸甯冨眬 */
.boss-board-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  align-items: start;
}

/* 3. 宸︿晶锛氳亴浣嶅垪琛� */
.boss-job-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* 鍥哄畾楂樺害骞跺厑璁稿唴閮ㄦ粴鍔� */
  height: 85vh;
  overflow-y: auto;
  padding-right: 5px;
}
/* 缇庡寲婊氬姩鏉� */
.boss-job-list::-webkit-scrollbar { width: 6px; }
.boss-job-list::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.15); border-radius: 4px; }

.boss-list-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.boss-list-card:hover {
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.08);
}
/* 婵�娲荤姸鎬� */
.boss-list-card.is-active {
  border-color: var(--teal);
  background: #f0fdfa; /* 鏋佹祬鐨勯潚鑹茶儗鏅� */
}

.blc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.blc-title { font-size: 1.1rem; margin: 0; color: var(--text); }
.blc-salary { color: var(--coral); font-weight: bold; font-size: 1.05rem; }
.blc-tags { display: flex; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.blc-tags span { background: var(--bg); color: var(--muted); padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; }
.blc-company { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text); }
.blc-logo { width: 24px; height: 24px; border-radius: 4px; }
.blc-comp-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blc-comp-meta { color: var(--muted); font-size: 0.85rem; }

/* 4. 鍙充晶锛氳亴浣嶈鎯呴潰鏉� */
.boss-job-detail {
  position: sticky;
  top: 100px; /* 闅忛〉闈㈡粴鍔ㄦ椂鎮诞 */
}

/* 椤堕儴鎰忓悜寮曞妯箙 */
.detail-banner {
  background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
  border-radius: var(--radius-lg);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.db-text h3 { margin: 0 0 5px 0; color: var(--teal-deep); font-size: 1.2rem; }
.db-text p { margin: 0 0 15px 0; color: var(--teal); font-size: 0.9rem; }
.db-btn { background: white; border-color: var(--teal); color: var(--teal); padding: 6px 16px; border-radius: 20px; }
.db-illu { height: 80px; }

/* 璇︽儏鍗＄墖涓讳綋 */
.detail-content-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.dc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.dc-title-area h1 { margin: 0 0 10px 0; font-size: 1.8rem; color: var(--text); }
.dc-salary { color: var(--coral); font-size: 1.5rem; font-weight: bold; }
.dc-actions { display: flex; gap: 15px; }
.dc-meta-row { display: flex; gap: 20px; color: var(--muted); font-size: 1rem; }
.dc-divider { height: 1px; background: dashed var(--line); margin: 25px 0; border-top: 1px dashed var(--line); }

.dc-section h3 { font-size: 1.1rem; margin: 0 0 15px 0; color: var(--text); }
.dc-tags { display: flex; gap: 10px; margin-bottom: 20px; }
.dc-tags span { background: var(--bg-strong); color: var(--text); padding: 6px 12px; border-radius: 4px; font-size: 0.85rem; }
.dc-desc-text { font-size: 0.95rem; color: var(--text); line-height: 1.8; }
.dc-desc-text p { margin: 0; }

/* 鏍稿績锛氭湭鐧诲綍娓愬彉閬僵灞� */
.position-relative { position: relative; }
.login-prompt-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1) 70%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
}
.login-prompt-btn {
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  background: white;
  padding: 8px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(15, 118, 110, 0.15);
  transition: all 0.3s;
}
.login-prompt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.25);
}

/* 鎷涜仒鑰呬俊鎭� */
.dc-recruiter { display: flex; align-items: center; gap: 15px; }
.recruiter-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-strong); }
.recruiter-info { flex: 1; }
.recruiter-info h4 { margin: 0 0 5px 0; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.status-online { color: var(--success); font-size: 0.8rem; font-weight: normal; }
.recruiter-info p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.recruiter-app-tip { text-align: right; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* 鍦板浘鍗犱綅 */
.map-placeholder {
  position: relative;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.btn-map-view {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 绉诲姩绔�傞厤 */
@media (max-width: 992px) {
  .boss-board-layout { grid-template-columns: 1fr; }
/*   .boss-job-detail { display: none; } */
  .boss-job-list { height: auto; overflow-y: visible; }
}



/* =========================================
   鍏徃娴忚椤� 涓撶敤鏍峰紡
   ========================================= */

/* 1. 椤堕儴澶氱淮搴︾瓫閫夊尯 */
.multi-filter-wrapper {
  background: white;
  padding: 30px 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 30px;
}
.filter-group-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.filter-row {
  display: flex;
  align-items: flex-start;
  position: relative;
}
.filter-title {
  width: 90px;
  flex-shrink: 0;
  color: var(--text);
  font-weight: bold;
  font-size: 0.95rem;
  padding-top: 5px;
}
.filter-options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.filter-options a {
  color: var(--text);
  font-size: 0.9rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
}
.filter-options a:hover {
  color: var(--teal);
}
.filter-options a.is-active {
  background: var(--teal);
  color: white;
}
.filter-clear-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}
.filter-clear-btn:hover {
  color: var(--text);
}

/* 2. 鍏徃鍗＄墖鍒楄〃鍖� */
.company-list-section {
  margin-bottom: 40px;
}
.list-tabs-row {
  margin-bottom: 20px;
}
.list-tabs {
  display: inline-flex;
  background: white;
  border-radius: var(--radius-sm);
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.list-tab {
  padding: 8px 20px;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}
.list-tab.is-active {
  background: var(--bg-strong);
  color: var(--teal);
  font-weight: bold;
}

/* 4鍒楃綉鏍� */
.company-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.comp-list-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
}
.comp-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.1);
}

.clc-top {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}
.clc-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
}
.clc-info {
  flex: 1;
  overflow: hidden;
}
.clc-name {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clc-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.divider-dot::after {
  content: "路";
  margin: 0 4px;
}

.clc-bottom {
  border-top: 1px dashed var(--line);
  padding-top: 15px;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clc-job {
  color: var(--teal);
  text-decoration: none;
}
.clc-job:hover {
  text-decoration: underline;
}

/* 3. 搴曢儴 SEO 鐑棬閾炬帴鍖� */
.seo-links-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 60px;
}
.seo-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}
.seo-tab {
  font-size: 1.05rem;
  color: var(--text);
  padding-bottom: 12px;
  cursor: pointer;
  position: relative;
}
.seo-tab.is-active {
  color: var(--teal);
  font-weight: bold;
}
.seo-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

.seo-content {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
}
.seo-content a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.seo-content a:hover {
  color: var(--teal);
}

/* 绉诲姩绔�傞厤 */
@media (max-width: 1024px) {
  .company-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .multi-filter-wrapper { padding: 20px; }
  .filter-row { flex-direction: column; gap: 8px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
  .filter-clear-btn { position: static; margin-top: 10px; display: inline-block; }
  .company-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .seo-links-wrapper { padding: 20px; }
}
@media (max-width: 480px) {
  .company-grid-4 { grid-template-columns: 1fr; }
}


/* =========================================
   娑堟伅閫氱煡椤碉細鍗虫椂閫氳 (IM) 甯冨眬鏍峰紡
   ========================================= */

.chat-app-container {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 140px); /* 璁╄亰澶╂閾烘弧灞忓箷鍓╀綑楂樺害 */
  min-height: 600px;
  overflow: hidden;
  margin-top: 10px;
}

/* 椤堕儴鐘舵�� Tab */
.chat-top-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 30px;
  height: 60px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.chat-tab {
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.chat-tab:hover { color: var(--teal); }
.chat-tab.is-active {
  color: var(--teal);
  font-weight: bold;
}
.chat-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}
.dot-badge {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--danger);
  border-radius: 50%;
  position: absolute;
  top: 18px;
  right: -8px;
}

/* 宸﹀彸鍒嗘爮 */
.chat-split-view {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* 宸︿晶鑱旂郴浜哄垪琛ㄥ尯鍩� */
.chat-sidebar {
  width: 320px;
  background: white;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.chat-sidebar-header {
  padding: 15px 20px 10px;
  border-bottom: 1px solid var(--line);
}
.chat-search-box {
  background: var(--bg);
  border-radius: 20px;
  padding: 8px 15px;
  margin-bottom: 15px;
  border: 1px solid transparent;
  transition: 0.2s;
}
.chat-search-box:focus-within {
  border-color: var(--teal);
  background: white;
}
.chat-search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
}
.chat-filter-row {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}
.chat-filter-row span { cursor: pointer; }
.chat-filter-row span:hover { color: var(--teal); }
.chat-filter-row .active-filter { color: var(--teal); font-weight: bold; }
.chat-filter-row .batch-btn { margin-left: auto; color: var(--text); }

.chat-sidebar-banner {
  margin: 15px 20px;
  padding: 15px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.chat-sidebar-banner strong { display: block; color: var(--warning); font-size: 0.95rem; margin-bottom: 4px; }
.chat-sidebar-banner p { margin: 0; color: #9a3412; font-size: 0.85rem; }

/* 鑱旂郴浜烘粴鍔ㄥ垪琛� */
.chat-contact-list {
  flex: 1;
  overflow-y: auto;
}
.chat-contact-list::-webkit-scrollbar { width: 4px; }
.chat-contact-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 4px; }

.chat-contact-item {
  display: flex;
  padding: 15px 20px;
  gap: 15px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.chat-contact-item:hover { background: #f8fafc; }
.chat-contact-item.is-active {
  background: #f0fdfa; /* 鏋佹祬鐨勯潚鑹� */
  border-left-color: var(--teal);
}

.avatar-wrap {
  position: relative;
}
.contact-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-strong);
  object-fit: cover;
}
.unread-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
  border: 1px solid white;
}
/* 濡傛灉涓嶆槸鏈鐘舵�侊紝闅愯棌绾㈢偣 */
.chat-contact-item:not(.unread) .unread-count { display: none; }

.contact-info {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.ci-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-name { font-size: 1rem; color: var(--text); font-weight: 500; }
.contact-company { font-size: 0.8rem; color: var(--muted); font-weight: normal; margin-left: 6px; }
.contact-time { font-size: 0.8rem; color: var(--muted); }
.ci-bottom {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-msg { font-size: 0.85rem; color: var(--muted); }

/* 鍙充晶涓昏亰澶╁尯 (绌虹姸鎬�) */
.chat-main-area {
  flex: 1;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-empty-state {
  text-align: center;
  color: var(--muted);
}
.empty-illu {
  width: 200px;
  margin-bottom: 20px;
  opacity: 0.8;
}
.chat-empty-state h3 {
  margin: 0 0 10px 0;
  color: var(--text);
  font-size: 1.2rem;
}
.chat-empty-state p {
  margin: 0;
  font-size: 0.9rem;
}

/* 绉诲姩绔�傞厤 */
@media (max-width: 768px) {
  .chat-split-view { flex-direction: column; }
  .chat-sidebar { width: 100%; height: 100%; border-right: none; }
  .chat-main-area { display: none; /* 绉诲姩绔殣钘忓彸渚ц亰澶╃獥锛岀偣鍑诲悗瑕嗙洊鏄剧ず */ }
  .chat-top-nav { padding: 0 15px; gap: 15px; overflow-x: auto; white-space: nowrap; }
}


/* =========================================
   浼佷笟椋庨噰锛氬鍥句笂浼犻瑙堝尯鍩熸牱寮�
   ========================================= */
.multi-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.upload-trigger-box {
  width: 120px;
  height: 120px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--bg);
  transition: all 0.3s ease;
}
.upload-trigger-box:hover {
  border-color: var(--teal);
  background: rgba(15, 118, 110, 0.05);
}

.photo-preview-item {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  position: relative;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  animation: slideUp 0.3s ease;
}

.photo-delete-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: var(--danger);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border: 2px solid white;
  transition: transform 0.2s;
  box-shadow: 0 2px 5px rgba(185, 28, 28, 0.3);
}
.photo-delete-btn:hover {
  transform: scale(1.15);
}

/* =========================================
   Mobile responsive hardening
   ========================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

main,
section,
article,
aside,
header,
footer,
.commercial-main,
.home-container,
.container,
.content-card,
.commercial-job-card,
.company-card,
.comp-list-card,
.job-manage-card,
.chat-app-container {
  min-width: 0;
}

.commercial-header .header-inner {
  width: min(var(--container), calc(100% - 32px));
}

.top-nav,
.header-actions,
.filter-group,
.boss-filter-items,
.search-filters,
.hot-searches,
.home-tabs,
.seo-tabs,
.jmc-actions,
.intern-actions,
.form-actions,
.dc-actions,
.dc-meta-row,
.dc-tags,
.cjc-tags,
.chat-filter-row {
  min-width: 0;
  flex-wrap: wrap;
}

.top-nav-item,
.filter-tag,
.filter-dropdown,
.home-tab,
.seo-tab,
.btn-primary,
.btn-outline,
.btn-text,
.search-btn,
.search-btn-large,
.boss-search-btn {
  white-space: nowrap;
}

.cjc-title,
.cjc-salary,
.blc-title,
.blc-salary,
.dc-title-area,
.dc-salary,
.jmc-title,
.jmc-meta,
.contact-name,
.contact-company,
.contact-time {
  min-width: 0;
}

.commercial-job-grid,
.home-grid-3,
.company-grid-4,
.city-grid,
.footer-grid,
.form-grid,
.field-grid,
.intern-grid,
.jmc-stats {
  min-width: 0;
}

@media (max-width: 1050px) {
  .commercial-header {
    height: auto;
  }

  .commercial-header .header-inner {
    min-height: 68px;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    height:auto;
  }

  .commercial-header .logo {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(1.05rem, 4vw, 1.35rem);
    line-height: 1.25;
  }

  .commercial-header .header-actions {
    display: flex;
    order: 2;
    width: 100%;
    margin-left: 0;
    gap: 8px;
    flex-wrap: wrap;
    overflow: visible;
    padding: 2px 0 4px;
  }

  .commercial-header .header-actions .top-nav-item {
    margin-left: 0 !important;
    flex: 1 1 auto;
    justify-content: center;
  }

  .commercial-header .auth-links {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  .top-nav {
    display: grid;
    order: 3;
    width: 100%;
    height: auto;
    margin-left: 0;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    overflow: visible;
    padding: 4px 0 2px;
  }

  .top-nav-item {
    justify-content: center;
    text-align: center;
    min-height: 36px;
    padding: 8px 10px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }

  .top-nav-item.is-active {
    background: rgba(255, 255, 255, 0.16);
  }

  .commercial-main,
  .home-container {
    width: 100%;
    margin: 22px auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-search-section {
    padding-top: 24px;
  }

  .boss-board-layout,
  .home-hero-layout,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .boss-job-detail {
    position: static;
  }
}

@media (max-width: 768px) {
  .commercial-header .header-actions {
    display: flex;
  }

  .top-nav {
    display: grid;
  }

  .page-header,
  .page-header[style] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .header-buttons {
    width: 100%;
  }

  .header-buttons .btn-primary,
  .header-buttons .btn-outline {
    width: 100%;
  }

  .content-card,
  .commercial-search-box,
  .boss-search-wrapper,
  .multi-filter-wrapper,
  .seo-links-wrapper,
  .detail-content-card,
  .publish-form-card[style] {
    padding: 20px !important;
    border-radius: var(--radius-md);
  }

  .home-search-bar,
  .boss-search-bar,
  .search-input-group {
    flex-direction: column;
    gap: 10px;
    overflow: visible;
  }

  .search-dropdown,
  .search-input,
  .search-input-main,
  .boss-search-input,
  .search-btn,
  .search-btn-large,
  .boss-search-btn {
    width: 100%;
    border-radius: 10px !important;
  }

  .search-input,
  .search-input-main,
  .boss-search-input {
    min-width: 0;
  }

  .hot-searches,
  .search-filters,
  .boss-filter-row,
  .boss-filter-items {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
  }

  .boss-filter-row {
    flex-direction: column;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-input,
  .filter-select,
  .filter-group .btn-primary,
  .filter-group .btn-outline,
  .filter-group .search-btn {
    width: 100% !important;
    max-width: none !important;
    flex: none;
  }

  .home-tabs,
  .seo-tabs,
  .list-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .home-tabs::-webkit-scrollbar,
  .seo-tabs::-webkit-scrollbar,
  .list-tabs::-webkit-scrollbar {
    display: none;
  }

  .home-tab,
  .seo-tab,
  .list-tab {
    flex: 0 0 auto;
  }

  .banner-large,
  .banner-small {
    min-height: 150px;
    padding: 24px;
  }

  .banner-large h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .commercial-job-grid,
  .home-grid-3,
  .company-grid-4,
  .city-grid,
  .footer-grid,
  .form-grid,
  .field-grid,
  .intern-grid {
    grid-template-columns: 1fr !important;
  }

  .commercial-job-card,
  .company-card,
  .comp-list-card,
  .job-manage-card {
    padding: 18px;
  }

  .cjc-title-row,
  .cjc-bottom,
  .dc-header,
  .detail-banner,
  .pricing-banner,
  .jmc-header,
  .intern-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cjc-salary,
  .dc-salary,
  .jmc-salary {
    margin-left: 0;
  }

  .cjc-tags,
  .dc-tags {
    flex-wrap: wrap;
  }

  .btn-apply-commercial {
    width: 100%;
    text-align: center;
  }

  .dc-actions,
  .jmc-actions,
  .form-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }

  .form-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn-primary,
  .form-actions .btn-outline {
    width: 100%;
    margin-left: 0 !important;
  }

  .jmc-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .stat-item {
    min-width: 0;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.65);
  }

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

  .portal-table td,
  .portal-table th {
    word-break: break-word;
  }

  .chat-app-container {
    height: calc(100dvh - 170px);
    min-height: 460px;
    border-radius: var(--radius-md);
  }

  .chat-split-view {
    min-height: 0;
  }

  .chat-sidebar {
    min-height: 0;
  }

  .chat-contact-item {
    padding: 14px 16px;
    gap: 12px;
  }

  .ci-top {
    gap: 8px;
  }

  .contact-name,
  .contact-company,
  .contact-time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .multi-preview-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upload-trigger-box,
  .photo-preview-item {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
  }
}

@media (max-width: 520px) {
  .commercial-header .header-inner {
    width: calc(100% - 24px);
    padding-top: 10px;
    padding-bottom: 10px;
  }

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

  .top-nav-item {
    white-space: normal;
    line-height: 1.25;
    min-height: 40px;
    font-size: 0.86rem !important;
  }

  .commercial-header .header-actions .top-nav-item {
    flex: 1 1 calc(50% - 8px);
  }

  .commercial-main,
  .home-container,
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .commercial-main,
  .home-container {
    margin-top: 16px;
  }

  .content-card,
  .commercial-search-box,
  .boss-search-wrapper,
  .multi-filter-wrapper,
  .seo-links-wrapper,
  .detail-content-card,
  .commercial-job-card,
  .company-card,
  .comp-list-card,
  .job-manage-card {
    padding: 16px !important;
    border-radius: 14px;
  }

  .home-section {
    margin-top: 38px;
  }

  .home-section-title,
  .page-header h1 {
    font-size: clamp(1.35rem, 7vw, 1.65rem);
  }

  .cjc-title,
  .blc-title,
  .dc-title-area h1,
  .jmc-title {
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .city-grid {
    grid-template-columns: 1fr !important;
  }

  .jmc-stats {
    grid-template-columns: 1fr;
  }

  .jmc-actions,
  .dc-actions,
  .intern-actions {
    flex-direction: column;
  }

  .jmc-actions .btn-text,
  .dc-actions .btn-primary,
  .dc-actions .btn-outline,
  .intern-actions .btn-primary,
  .intern-actions .btn-outline {
    width: 100%;
  }

  .chat-app-container {
    height: auto;
    min-height: 520px;
  }

  .chat-top-nav {
    height: 54px;
  }

  .chat-sidebar-header,
  .chat-sidebar-banner {
    margin-left: 14px;
    margin-right: 14px;
  }

  .multi-preview-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
