/*
 * 职优π enterprise minimal theme.
 * One visual contract for student, parent, partner and administration surfaces.
 */
:root {
  color-scheme: light;
  --minimal-bg: #f7f8fa;
  --minimal-sidebar: #f3f5f8;
  --minimal-surface: #ffffff;
  --minimal-subtle: #f7f9fc;
  --minimal-notice: #edf3ff;
  --minimal-blue: #246bfd;
  --minimal-blue-hover: #1559dc;
  --minimal-blue-soft: #eaf1ff;
  --minimal-text: #1f2937;
  --minimal-heading: #111827;
  --minimal-muted: #6b7280;
  --minimal-faint: #9aa3b2;
  --minimal-border: #e3e8ef;
  --minimal-border-strong: #d5dce6;
  --minimal-danger: #d14343;
  --minimal-success: #1f7a55;

  --canvas: var(--minimal-bg) !important;
  --mist: var(--minimal-subtle) !important;
  --foam: var(--minimal-blue-soft) !important;
  --paper: var(--minimal-surface) !important;
  --ink: var(--minimal-text) !important;
  --soft-ink: #4b5563 !important;
  --muted: var(--minimal-muted) !important;
  --line: var(--minimal-border) !important;
  --green: var(--minimal-blue) !important;
  --green-deep: var(--minimal-heading) !important;
  --coral: var(--minimal-danger) !important;
  --blue: var(--minimal-blue) !important;
  --lilac: var(--minimal-blue-soft) !important;
  --sun: #f5b942 !important;
  --lime: var(--minimal-blue) !important;
  --deep: var(--minimal-heading) !important;
  --shadow: none !important;

  --ui-canvas: var(--minimal-bg) !important;
  --ui-surface: var(--minimal-surface) !important;
  --ui-surface-subtle: var(--minimal-subtle) !important;
  --ui-ink: var(--minimal-text) !important;
  --ui-muted: var(--minimal-muted) !important;
  --ui-border: var(--minimal-border) !important;
  --ui-brand: var(--minimal-blue) !important;
  --ui-brand-deep: var(--minimal-heading) !important;
  --ui-action: var(--minimal-blue) !important;
  --ui-action-ink: #ffffff !important;
  --ui-info: var(--minimal-blue) !important;
  --ui-success: var(--minimal-success) !important;
  --ui-warning: #a66b12 !important;
  --ui-danger: var(--minimal-danger) !important;
  --ui-radius-control: 3px !important;
  --ui-radius-card: 3px !important;
  --ui-radius-pill: 3px !important;
  --ui-shadow-card: none !important;
  --ui-shadow-raised: 0 4px 16px rgba(15,23,42,.08) !important;
  --ui-focus-ring: 0 0 0 2px rgba(36,107,253,.15) !important;

  --system-bg: var(--minimal-bg) !important;
  --system-panel: var(--minimal-surface) !important;
  --system-ink: var(--minimal-text) !important;
  --system-muted: var(--minimal-muted) !important;
  --system-line: var(--minimal-border) !important;
  --system-green: var(--minimal-blue) !important;
  --system-deep: var(--minimal-heading) !important;
  --system-coral: var(--minimal-danger) !important;
  --system-blue: var(--minimal-blue) !important;
  --system-shadow: none !important;

  --command-paper: var(--minimal-bg) !important;
  --command-panel: var(--minimal-surface) !important;
  --command-ink: var(--minimal-text) !important;
  --command-deep: var(--minimal-heading) !important;
  --command-green: var(--minimal-blue) !important;
  --command-lime: var(--minimal-blue-soft) !important;
  --command-line: var(--minimal-border) !important;
  --command-muted: var(--minimal-muted) !important;
  --command-shadow: none !important;

  --zy-ink: var(--minimal-text) !important;
  --zy-muted: var(--minimal-muted) !important;
  --zy-green: var(--minimal-blue) !important;
  --zy-deep: var(--minimal-heading) !important;
  --zy-lime: var(--minimal-blue) !important;
  --zy-mint: var(--minimal-blue-soft) !important;
  --zy-paper: var(--minimal-bg) !important;
  --zy-line: var(--minimal-border) !important;

  --company-deep: var(--minimal-heading) !important;
  --company-green: var(--minimal-blue) !important;
  --company-lime: var(--minimal-blue) !important;
  --company-paper: var(--minimal-bg) !important;
  --company-card: var(--minimal-surface) !important;
  --company-line: var(--minimal-border) !important;
  --company-muted: var(--minimal-muted) !important;
  --company-ink: var(--minimal-text) !important;

  --rewards-ink: var(--minimal-text) !important;
  --rewards-muted: var(--minimal-muted) !important;
  --rewards-line: var(--minimal-border) !important;
  --rewards-lime: var(--minimal-blue) !important;
  --p0-ink: var(--minimal-text) !important;
  --p0-muted: var(--minimal-muted) !important;
  --p0-line: var(--minimal-border) !important;
  --p0-paper: var(--minimal-surface) !important;
  --p0-accent: var(--minimal-blue) !important;
}

html {
  color-scheme: light;
  background: var(--minimal-bg);
}

body,
.system-body,
.application-detail-body,
.exam-detail-body,
.lesson-detail-body {
  color: var(--minimal-text) !important;
  background: var(--minimal-bg) !important;
  background-image: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif !important;
}

body :where(h1, h2, h3, h4, h5, h6, strong, b) {
  color: var(--minimal-heading) !important;
  font-family: inherit !important;
}

body :where(p, small, label, th, td, li, dd, dt) {
  border-color: var(--minimal-border) !important;
}

body :where(a, .text-button, .table-action, [class*="-link"]) {
  color: var(--minimal-blue);
}

::selection {
  color: #ffffff;
  background: var(--minimal-blue);
}

/* Navigation */
body :where(
  .nav, .page-nav, .system-sidebar, .editor-topbar, .company-topbar,
  .zy-header, .application-detail-top
) {
  color: var(--minimal-text) !important;
  background: var(--minimal-sidebar) !important;
  background-image: none !important;
  border-color: var(--minimal-border) !important;
  box-shadow: none !important;
}

body .system-sidebar {
  background: var(--minimal-sidebar) !important;
}

body :where(.system-main, .system-topbar, .site-shell, .company-shell, .editor-shell) {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  background-image: none !important;
  border-color: var(--minimal-border) !important;
  box-shadow: none !important;
}

body :where(.system-brand, .brand, .editor-brand, .company-brand, .zy-brand) {
  color: var(--minimal-heading) !important;
}

body :where(.brand-symbol, .editor-brand img, .company-brand span) {
  color: #ffffff !important;
  background: var(--minimal-blue) !important;
  border-color: var(--minimal-blue) !important;
}

body :where(.system-nav-item, .admin-module-button, .table-filter button) {
  color: #4b5563 !important;
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
}

body :where(.system-nav-item.active, .system-nav-item:hover, .admin-module-button[aria-selected="true"], .table-filter button.is-active) {
  color: var(--minimal-blue) !important;
  background: var(--minimal-blue-soft) !important;
  border-color: transparent !important;
}

/* Enterprise minimal convergence */
body :where(section, .full-section) {
  color: var(--minimal-text) !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--minimal-border) !important;
}

body :where(
  article, dialog, details, fieldset,
  .system-card, .view-panel, .field-section, .repeat-entry, .entry-empty,
  .company-summary article, .company-job-card, .company-insight-card,
  .knowledge-card, .learning-card, .mentor-card,
  .zy-signal-board, .zy-desk, .zy-service-grid > a,
  .company-section, .jobs-section, .learning-section, .mentor-section, .parent-section,
  .opportunity-list-toolbar, .opportunity-direction-tabs,
  .opportunity-filter-disclosure, .opportunity-filter-panel,
  .tenant-domain-guide, .check-line,
  [class$="-card"], [class*="-card "],
  [class$="-panel"], [class*="-panel "]
) {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  background-image: none !important;
  border-color: var(--minimal-border) !important;
  box-shadow: none !important;
}

body :where(
  .material-job-hero, .entry-banner, .company-hero,
  .knowledge-hero, .hero, [class$="-hero"], [class*="-hero "],
  .wallet-hero, .ledger-summary, .global-next-action
) {
  color: var(--minimal-text) !important;
  background: var(--minimal-notice) !important;
  background-image: none !important;
  border: 1px solid #dbe6fb !important;
  box-shadow: none !important;
}

body :where(.job-profile-prompt, .auth-mode, .tenant-save-bar, .enabled, .ui-state, .empty-state, [class*="empty"]) {
  color: var(--minimal-muted) !important;
  background: var(--minimal-subtle) !important;
  background-image: none !important;
  border-color: var(--minimal-border) !important;
  box-shadow: none !important;
}

body .partner-main {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  background-image: none !important;
}

body .opportunity-summary-strip,
body .opportunity-summary-strip article {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  background-image: none !important;
  border-color: var(--minimal-border) !important;
}

body :where(.zy-journey, .zy-cta, .zy-footer, .sidebar-card) {
  color: var(--minimal-text) !important;
  background: var(--minimal-sidebar) !important;
  background-image: none !important;
  border-color: var(--minimal-border) !important;
}

/* Controls */
body :where(input, textarea, select, .material-job-search, .system-search, .opportunity-search, .zy-search-row label, .table-filter input) {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  background-image: none !important;
  border-color: var(--minimal-border-strong) !important;
  box-shadow: none !important;
}

body :where(input, textarea)::placeholder {
  color: var(--minimal-faint) !important;
}

body :where(input, textarea, select):focus {
  border-color: var(--minimal-blue) !important;
  box-shadow: 0 0 0 2px rgba(36,107,253,.12) !important;
  outline: none !important;
}

body :where(
  button, .button, .tiny-button, .soft-button, .ghost-button, .ghost-action,
  .company-secondary, .ranking-tab, .icon-button, .table-action, .zy-secondary
) {
  color: #374151 !important;
  background: var(--minimal-surface) !important;
  background-image: none !important;
  border-color: var(--minimal-border-strong) !important;
  box-shadow: none !important;
}

body :where(
  .button.dark, .button.primary, .tiny-button.primary, .solid-button,
  .primary-button, .solid-action, .wide-action, .company-primary,
  .zy-primary, .zy-search-row > button, .material-job-search button,
  [class*="primary-action"]
) {
  color: #ffffff !important;
  background: var(--minimal-blue) !important;
  background-image: none !important;
  border-color: var(--minimal-blue) !important;
  box-shadow: none !important;
}

body :where(
  .button.dark, .button.primary, .tiny-button.primary, .solid-button,
  .primary-button, .solid-action, .wide-action, .company-primary,
  .zy-primary, .zy-search-row > button, .material-job-search button
):hover {
  background: var(--minimal-blue-hover) !important;
  border-color: var(--minimal-blue-hover) !important;
  transform: none !important;
}

body :where([aria-selected="true"], [aria-pressed="true"], .is-active, .active) {
  color: var(--minimal-blue) !important;
  background: var(--minimal-blue-soft) !important;
  background-image: none !important;
  border-color: #cddcff !important;
}

/* Data, labels and statuses */
body :where(table, thead, tbody, tr, th, td) {
  border-color: var(--minimal-border) !important;
}

body :where(thead, .table-head, [class*="table-head"], .zy-result-bar) {
  color: #4b5563 !important;
  background: var(--minimal-subtle) !important;
}

body :where(.zy-job-row, .opportunity-row, .ledger-entry) {
  background: var(--minimal-surface) !important;
  border-color: var(--minimal-border) !important;
}

body :where(.zy-job-row:hover, .opportunity-row:hover) {
  background: #f9fbff !important;
}

body :where(.status-tag, .ui-status, [class*="-tag"], [class*="-pill"], [class*="-chip"], .opportunity-source-badge, .opportunity-mobile-tags span) {
  color: #365b9d !important;
  background: var(--minimal-blue-soft) !important;
  border-color: #d5e1fb !important;
}

body :where(
  [class*="eyebrow"], [class*="kicker"], [class*="section-label"],
  .view-eyebrow, #viewEyebrow, .auth-panel-title, #authPanelTitle,
  .sidebar-card span, .auth-audience span, .auth-terms a,
  .rewards-loading span, .zy-text-link
) {
  color: var(--minimal-blue) !important;
}

body :where(.editor-intro > div > p, .preview-heading small) {
  color: var(--minimal-blue) !important;
}

body :where(.account-avatar, .tenant-preview-mark, .zy-avatar, .zy-company-logo, .ledger-icon, [class*="icon-tile"], [class*="icon-box"]) {
  color: var(--minimal-blue) !important;
  background: var(--minimal-blue-soft) !important;
  background-image: none !important;
  border-color: #d5e1fb !important;
}

body :where(progress, .mini-progress, [class*="progress"]) {
  accent-color: var(--minimal-blue);
}

body :where(.mini-progress, [class$="-progress"], [class*="-progress "]) {
  background-color: #e9edf3 !important;
}

body :where(.mini-progress i, [class*="progress"] i, [class*="progress"] span) {
  background-color: var(--minimal-blue);
  border-color: var(--minimal-blue);
}

/* Dialogs and feedback */
body :where(dialog, [class*="dialog"], [class*="modal"]) {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  border-color: var(--minimal-border-strong) !important;
  box-shadow: 0 12px 32px rgba(15,23,42,.12) !important;
}

dialog::backdrop {
  background: rgba(15,23,42,.34) !important;
  backdrop-filter: none;
}

body .editor-toast {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  border: 1px solid var(--minimal-border-strong) !important;
  border-left: 3px solid var(--minimal-blue) !important;
  box-shadow: 0 6px 18px rgba(15,23,42,.1) !important;
}

body :where(.company-error, .opportunity-filter-empty, [class*="loading"]) {
  color: var(--minimal-muted) !important;
  background: var(--minimal-subtle) !important;
  border-color: var(--minimal-border) !important;
}

body :where(hr, .divider, [class*="divider"], [class*="separator"]) {
  border-color: var(--minimal-border) !important;
  background-color: var(--minimal-border) !important;
}

/* Tight geometry: almost square, never pill-shaped. */
body * {
  border-radius: 3px !important;
}

body :where(.status-dot, .zy-live-dot, .company-loading span, [class*="live-dot"], [class*="status-dot"]) {
  border-radius: 50% !important;
}

/* A resume is a document, not an application panel. */
body .resume-sheet {
  color: #222b38 !important;
  background: #ffffff !important;
  border-color: #d7dde6 !important;
  box-shadow: none !important;
}

body .resume-sheet :where(h1, h2, h3, h4, strong, b) {
  color: #111827 !important;
}

body .resume-sheet :where(p, span, small) {
  color: #4b5563;
}

/* Service workspace: one calm canvas, with hierarchy carried by type and rules. */
body .global-next-action {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  border: 1px solid var(--minimal-border) !important;
  border-left: 3px solid var(--minimal-blue) !important;
}

body .global-next-action-copy span,
body .global-next-action-copy small {
  color: var(--minimal-muted) !important;
}

body .global-next-action-copy strong {
  color: var(--minimal-heading) !important;
}

body .global-next-action-button,
body .global-next-action-button.secondary {
  color: #ffffff !important;
  background: var(--minimal-blue) !important;
  border: 1px solid var(--minimal-blue) !important;
}

body .p0-service-hub {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  background-image: none !important;
  border: 1px solid var(--minimal-border) !important;
  box-shadow: none !important;
}

body .p0-hub-head,
body .p0-hub-body,
body .p0-commerce,
body .p0-grid {
  background: var(--minimal-surface) !important;
  background-image: none !important;
}

body .p0-hub-head p,
body .p0-next-primary > span,
body .p0-commerce > summary > span:last-child {
  color: var(--minimal-blue) !important;
}

body .p0-next,
body .p0-side-card,
body .p0-product,
body .p0-order,
body .p0-review {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  background-image: none !important;
  border: 1px solid var(--minimal-border) !important;
  box-shadow: none !important;
}

body .p0-next::after {
  display: none;
}

body .p0-next :where(h3, b),
body .p0-side-card :where(h3, b) {
  color: var(--minimal-heading) !important;
}

body .p0-next p,
body .p0-next-meta small,
body .p0-side-card > p {
  color: var(--minimal-muted) !important;
}

body .p0-next-meta {
  gap: 0 !important;
  background: var(--minimal-subtle) !important;
  border: 1px solid var(--minimal-border) !important;
}

body .p0-next-meta span {
  color: var(--minimal-text) !important;
  background: var(--minimal-subtle) !important;
  border-right: 1px solid var(--minimal-border) !important;
}

body .p0-next-meta span:last-child {
  border-right: 0 !important;
}

body .p0-status,
body .p0-chip {
  color: #365b9d !important;
  background: var(--minimal-blue-soft) !important;
  border-color: #d5e1fb !important;
}

body .p0-chip button,
body .p0-button {
  color: #ffffff !important;
  background: var(--minimal-blue) !important;
  border-color: var(--minimal-blue) !important;
}

body .p0-button.secondary {
  color: #374151 !important;
  background: var(--minimal-surface) !important;
  border-color: var(--minimal-border-strong) !important;
}

body .p0-commerce > summary {
  border-top: 1px solid var(--minimal-border) !important;
}

/* Active views are page canvases, not selected controls. */
body .view-panel.active {
  color: var(--minimal-text) !important;
  background: var(--minimal-surface) !important;
  background-image: none !important;
  border-color: var(--minimal-border) !important;
}

/* Resume workspace: status toolbar and compact text tabs replace stacked banners. */
body .resume-profile-summary {
  grid-template-columns: minmax(230px, .8fr) minmax(360px, 1.2fr) auto !important;
  gap: 14px !important;
  margin-bottom: 8px !important;
  padding: 12px 14px !important;
  background: var(--minimal-surface) !important;
  border-color: var(--minimal-border) !important;
}

body .resume-profile-summary-main {
  gap: 2px !important;
}

body .resume-profile-summary-main > span {
  color: var(--minimal-muted) !important;
  font-size: 10px !important;
  letter-spacing: .04em !important;
}

body .resume-profile-summary-main > strong {
  font-size: 16px !important;
}

body .resume-profile-summary-metrics {
  border: 0 !important;
  background: transparent !important;
}

body .resume-profile-summary-metrics article {
  gap: 1px !important;
  padding: 4px 12px !important;
  background: transparent !important;
  border-left: 1px solid var(--minimal-border) !important;
}

body .resume-profile-summary-metrics strong {
  font-size: 16px !important;
}

body .resume-profile-summary-actions {
  flex-wrap: nowrap !important;
}

body .resume-profile-summary-actions :where(label, a, button) {
  min-height: 36px !important;
  padding: 0 11px !important;
  white-space: nowrap;
}

body .resume-mode-bar {
  display: flex !important;
  gap: 22px !important;
  margin-bottom: 10px !important;
  padding: 0 14px !important;
  background: var(--minimal-surface) !important;
  border: 1px solid var(--minimal-border) !important;
  box-shadow: none !important;
}

body .resume-mode-bar button,
body .resume-mode-bar button:hover,
body .resume-mode-bar button.active {
  justify-content: flex-start !important;
  gap: 7px !important;
  width: auto !important;
  min-height: 42px !important;
  padding: 0 2px !important;
  color: var(--minimal-muted) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
}

body .resume-mode-bar button.active {
  color: var(--minimal-blue) !important;
  border-bottom-color: var(--minimal-blue) !important;
}

body .resume-mode-bar button small {
  display: none !important;
}

body .resume-mode-bar button strong {
  font-size: 13px !important;
}

@media (max-width: 820px) {
  body .p0-next-meta span {
    border-right: 0 !important;
    border-bottom: 1px solid var(--minimal-border) !important;
  }

  body .p0-next-meta span:last-child {
    border-bottom: 0 !important;
  }

  body .resume-profile-summary {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .resume-profile-summary-metrics {
    display: none !important;
  }

  body .resume-profile-summary-actions {
    flex-wrap: wrap !important;
  }

  body .resume-mode-bar {
    gap: 16px !important;
    overflow-x: auto;
  }
}

/* Space-saving intro removal: navigation already names the module; content starts with actions. */
body :where(
  .material-job-hero,
  .work-center-hero,
  .sop-hero,
  .page-hero.compact-hero,
  .resume-studio-head,
  .editor-intro,
  .knowledge-copy
) {
  display: none !important;
}

body .knowledge-hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

body :where(.view-panel, .editor-shell, .full-section) {
  scroll-margin-top: 72px;
}

@media print {
  html, body {
    background: #ffffff !important;
  }
}
/* Career planning is one continuous read/edit workspace. */
body [hidden] { display: none !important; }

body .career-plan-card {
  margin-top: 0;
}

body .career-plan-collapsible {
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
  border-color: var(--minimal-line, #dfe3ea);
}

body .career-plan-collapse-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 14px 20px;
  color: #111827;
  background: #fff;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease;
}

body .career-plan-collapse-summary::-webkit-details-marker { display: none; }
body .career-plan-collapse-summary:hover { background: #f7f8fa; }
body .career-plan-collapse-summary > div { display: grid; gap: 3px; }
body .career-plan-collapse-summary strong { font-size: 17px; line-height: 1.35; }
body .career-plan-collapse-summary > div > span { color: #6b7280; font-size: 13px; }
body .career-plan-collapse-action { display: inline-flex; align-items: center; gap: 8px; color: #4b5563; font-size: 13px; white-space: nowrap; }
body .career-plan-collapse-icon { width: 17px; height: 17px; transition: transform 180ms ease; }
body .career-plan-collapse-label.expanded-label { display: none; }
body .career-plan-collapsible[open] .career-plan-collapse-summary { border-bottom: 1px solid var(--minimal-line, #dfe3ea); }
body .career-plan-collapsible[open] .career-plan-collapse-icon { transform: rotate(180deg); }
body .career-plan-collapsible[open] .career-plan-collapse-label.collapsed-label { display: none; }
body .career-plan-collapsible[open] .career-plan-collapse-label.expanded-label { display: inline; }
body .career-plan-collapsible-body { padding: 18px 20px 20px; }

body .career-plan-input-card {
  margin: 12px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--minimal-line, #dfe3ea);
  border-radius: 4px;
}

body .career-plan-basis span,
body .career-plan-needs-form :is(input, textarea),
body .career-plan-report .career-advice-section,
body .career-plan-report .report-hero {
  border-radius: 4px;
}

body .career-plan-empty-state {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 180px;
  padding: 28px;
  color: #667085;
  background: #fff;
  border: 1px solid var(--minimal-line, #dfe3ea);
}

body .career-plan-empty-state.compact { min-height: 132px; }
body .career-plan-empty-state > svg { width: 28px; height: 28px; color: #2f6fed; }
body .career-plan-empty-state span { color: #2f6fed; font-size: 13px; font-weight: 700; }
body .career-plan-empty-state h3 { margin: 4px 0 6px; color: #101828; font-size: 20px; }
body .career-plan-empty-state p { margin: 0; max-width: 720px; }

@media (max-width: 760px) {
  body .career-plan-collapse-summary { min-height: 60px; padding: 12px 14px; }
  body .career-plan-collapse-summary > div > span,
  body .career-plan-collapse-label { display: none !important; }
  body .career-plan-collapsible-body { padding: 14px; }
  body .career-plan-empty-state { grid-template-columns: 36px minmax(0, 1fr); }
  body .career-plan-empty-state .solid-button { grid-column: 1 / -1; justify-self: start; }
}

/* The resume hub is a list of resumes and their own reports; editing lives on one page. */
body #view-resume > :not(#resumeProfileSummary) { display: none !important; }
body #view-resume #resumeProfileSummary { display: block; padding: 0; border: 0; background: transparent; }
body .resume-simple-head,
body .resume-list-row,
body .editor-report-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
body .resume-simple-head { padding: 24px; background: #fff; border: 1px solid #dfe3ea; }
body .resume-simple-head h2 { margin: 4px 0; }
body .resume-simple-head p { margin: 0; color: #667085; }
body .resume-simple-head > div:last-child,
body .resume-list-row > div:last-child,
body .editor-report-head > div:last-child { display: flex; gap: 8px; flex-wrap: wrap; }
body .resume-simple-list { display: grid; gap: 12px; margin-top: 16px; }
body .resume-list-item { padding: 22px; background: #fff; border: 1px solid #dfe3ea; }
body .resume-list-row h3 { margin: 4px 0; font-size: 20px; }
body .resume-list-row p { margin: 0; color: #667085; }
body .resume-template-library {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(420px, 1fr);
  gap: 28px;
  margin-top: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid #dfe3ea;
}
body .resume-template-library > div > span { color: #2f6fed; font-size: 13px; font-weight: 700; }
body .resume-template-library > div > h2 { margin: 6px 0 10px; font-size: 22px; }
body .resume-template-library > div > p { margin: 0; color: #667085; line-height: 1.7; }
body .resume-template-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid #dfe3ea;
}
body .resume-template-preview {
  min-height: 238px;
  padding: 20px 17px;
  background: #fff;
  border: 1px solid #cfd6e1;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}
body .resume-template-preview header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 2px solid #1f2937; }
body .resume-template-preview header b { font-family: "Songti SC", "STSong", serif; font-size: 17px; }
body .resume-template-preview header i { width: 34px; height: 6px; background: #2f6fed; }
body .resume-template-preview section { display: grid; gap: 6px; margin-top: 15px; }
body .resume-template-preview section strong { color: #344054; font-size: 9px; }
body .resume-template-preview section span { display: block; width: 100%; height: 4px; background: #e4e8ef; }
body .resume-template-preview section span:last-child { width: 72%; }
body .resume-template-copy > strong { display: block; color: #101828; font-size: 18px; }
body .resume-template-copy > p { margin: 8px 0 20px; color: #667085; line-height: 1.65; }
body .resume-template-copy .solid-button { display: inline-flex; }

/* Expert companionship: one status line, then only team and conversation. */
body #view-mentor .mentor-service-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #dfe3ea;
}
body #view-mentor .mentor-service-line-main,
body #view-mentor .mentor-service-line-meta { display: flex; align-items: center; min-width: 0; }
body #view-mentor .mentor-service-line-main { gap: 12px; }
body #view-mentor .mentor-service-line-main > span { color: #2f6fed; font-size: 13px; font-weight: 700; white-space: nowrap; }
body #view-mentor .mentor-service-line-main > strong { color: #101828; font-size: 14px; white-space: nowrap; }
body #view-mentor .mentor-service-line-main > i { width: 1px; height: 18px; background: #dfe3ea; }
body #view-mentor .mentor-service-line-main > b { overflow: hidden; color: #475467; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
body #view-mentor .mentor-service-line-meta { flex: 0 0 auto; gap: 14px; color: #667085; font-size: 13px; white-space: nowrap; }
body #view-mentor .mentor-service-line-meta button { padding: 6px 0; border: 0; background: transparent; color: #2f6fed; cursor: pointer; font: inherit; font-weight: 700; }
body #view-mentor .mentor-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  margin-top: 0;
}

body #view-mentor .mentor-chat-card {
  min-height: 620px;
}

body #view-mentor .mentor-team-card {
  min-height: 620px;
}

body #view-mentor .mentor-group-messages {
  height: 476px;
  background: #f7f8fa;
}

body #view-mentor .mentor-team-card .card-head,
body #view-mentor .mentor-chat-card .card-head {
  margin-bottom: 14px;
}

body #view-mentor .mentor-team-card .card-head h2,
body #view-mentor .mentor-chat-card .card-head h2 {
  font-size: 21px;
}

body #view-mentor .mentor-team-list {
  gap: 7px;
}

body #view-mentor .mentor-member-card {
  display: grid;
  grid-template-columns: 32px minmax(86px, auto) minmax(0, 1fr);
  gap: 4px 9px;
  align-items: center;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid #e4e7ec;
  border-left: 1px solid #e4e7ec;
  border-radius: 3px;
}

body #view-mentor .mentor-member-avatar {
  display: grid;
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #344054;
  background: #f2f4f7;
  font-size: 12px;
  font-weight: 750;
}

body #view-mentor .mentor-member-copy {
  display: grid;
  gap: 1px;
}

body #view-mentor .mentor-member-copy strong {
  color: #101828;
  font-size: 13px;
}

body #view-mentor .mentor-member-copy small,
body #view-mentor .mentor-member-availability {
  color: #98a2b3;
  font-size: 10px;
}

body #view-mentor .mentor-member-card > p {
  overflow: hidden;
  margin: 0;
  color: #667085;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body #view-mentor .mentor-member-availability {
  grid-column: 3;
}

body #view-mentor .mentor-advice-box,
body #view-mentor .mentor-guidance-summary {
  font-size: 12px;
}

body #view-mentor .mentor-team-card.is-locked :is(.mentor-advice-box, .mentor-guidance-summary) {
  display: none;
}

body #view-mentor .mentor-membership-prompt {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 390px;
  align-content: end;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d0d5dd;
  box-shadow: 0 18px 45px rgba(16, 24, 40, .12);
}

body #view-mentor .mentor-membership-prompt > span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

body #view-mentor .mentor-membership-prompt h3 {
  margin: 0;
  color: #101828;
  font-size: 22px;
  line-height: 1.35;
}

body #view-mentor .mentor-membership-prompt p {
  margin: 0 0 8px;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

body #view-mentor .mentor-shadow-team {
  position: absolute;
  inset: 26px 24px auto;
  display: grid;
  gap: 10px;
  opacity: .56;
  filter: blur(1px);
}

body #view-mentor .mentor-shadow-team span {
  display: block;
  height: 54px;
  background: #f2f4f7;
  border: 1px solid #d0d5dd;
  box-shadow: 8px 8px 0 #eaecf0;
}

body #view-mentor .mentor-chat-locked {
  display: grid;
  max-width: 500px;
  min-height: 100%;
  align-content: center;
  justify-self: center;
  padding: 40px;
  text-align: center;
}

body #view-mentor .mentor-chat-locked span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

body #view-mentor .mentor-chat-locked h3 {
  margin: 10px 0;
  color: #101828;
  font-size: 24px;
}

body #view-mentor .mentor-chat-locked p {
  margin: 0;
  color: #667085;
  line-height: 1.75;
}

body #view-mentor .mentor-chat-composer.is-locked {
  opacity: .58;
}

/* Career assessment index: each assessment owns a clearly bounded region. */
body #view-career-test .assessment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
  border: 0;
}
body #view-career-test .assessment-list-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 18px 14px;
  min-height: 270px;
  padding: 22px;
  background: #fff;
  border: 1px solid #dfe3ea;
}
body #view-career-test .assessment-list-item.complete { border-top: 3px solid #2f6fed; padding-top: 20px; }
body #view-career-test .assessment-list-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: #667085;
  background: #f3f5f8;
  font-size: 12px;
}
body #view-career-test .assessment-list-content { align-self: start; }
body #view-career-test .assessment-list-title { display: block; }
body #view-career-test .assessment-list-title small { display: block; margin-top: 10px; }
body #view-career-test .assessment-list-status { margin-top: 28px; }
body #view-career-test .assessment-list-result { margin-top: 24px; padding-left: 14px; }
body #view-career-test .assessment-list-action {
  grid-column: 2;
  align-self: end;
  justify-self: start;
  min-width: 0;
  padding: 9px 13px;
  background: #fff;
}

/* Job progress: three facts only — applications, process, and offers. */
body #view-dashboard ::selection {
  color: inherit;
  background: transparent !important;
}

body #view-dashboard,
body #view-dashboard * {
  -webkit-tap-highlight-color: transparent;
}

body #view-dashboard .job-progress-simple {
  display: grid;
  gap: 20px;
}

body #view-dashboard .job-progress-simple-head {
  padding: 4px 0 18px;
  border-bottom: 1px solid #dfe3ea;
}

body #view-dashboard .job-progress-simple-head > span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

body #view-dashboard .job-progress-simple-head h2 {
  margin: 6px 0 4px;
  color: #101828;
  font-size: clamp(24px, 2.4vw, 34px);
}

body #view-dashboard .job-progress-simple-head p {
  margin: 0;
  color: #667085;
}

body #view-dashboard .job-progress-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body #view-dashboard .job-progress-simple-card {
  display: flex;
  min-height: 310px;
  padding: 24px;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dfe3ea;
  border-top-width: 3px;
  padding-top: 22px;
}

body #view-dashboard .job-progress-simple-card:first-child {
  border-top-color: #344054;
}

body #view-dashboard .job-progress-simple-card:nth-child(2) {
  background: #fafafa;
  border-top-color: #98a2b3;
}

body #view-dashboard .job-progress-simple-card:nth-child(3) {
  background: #f5f6f7;
  border-top-color: #d0d5dd;
}

body #view-dashboard .job-progress-simple-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
}

body #view-dashboard .job-progress-simple-label b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #344054;
  background: #eaecf0;
  font-size: 12px;
}

body #view-dashboard .job-progress-simple-value {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 28px 0 22px;
}

body #view-dashboard .job-progress-simple-value strong {
  color: #101828;
  font-size: 58px;
  line-height: 1;
}

body #view-dashboard .job-progress-simple-value small {
  color: #667085;
  font-size: 15px;
}

body #view-dashboard .job-progress-simple-status {
  margin: 32px 0 34px;
  color: #101828;
  font-size: 26px;
  font-weight: 750;
}

body #view-dashboard .job-progress-simple-detail {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eaecf0;
}

body #view-dashboard .job-progress-simple-detail p {
  display: grid;
  gap: 2px;
  margin: 0;
}

body #view-dashboard .job-progress-simple-detail p b {
  overflow: hidden;
  color: #344054;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body #view-dashboard .job-progress-simple-detail p span,
body #view-dashboard .job-progress-simple-detail p.empty {
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

body #view-dashboard .job-progress-stage-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #eaecf0;
}

body #view-dashboard .job-progress-stage-line span {
  display: grid;
  gap: 4px;
  min-width: 58px;
}

body #view-dashboard .job-progress-stage-line span b {
  color: #101828;
  font-size: 22px;
}

body #view-dashboard .job-progress-stage-line span small {
  color: #667085;
  font-size: 12px;
  white-space: nowrap;
}

body #view-dashboard .job-progress-stage-line i {
  height: 1px;
  flex: 1;
  background: #dfe3ea;
}
body .resume-list-report { display: grid; grid-template-columns: 130px 90px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid #eaecf0; }
body .resume-list-report > span { color: #2f6fed; font-weight: 700; }
body .resume-list-report > strong { font-size: 22px; }
body .resume-list-report p { margin: 0; }
body .resume-list-report small { grid-column: 3; color: #667085; }
body .resume-list-report.empty { grid-template-columns: 130px 1fr; color: #667085; }
body .resume-simple-empty { display: grid; place-items: center; gap: 8px; min-height: 260px; margin-top: 16px; padding: 30px; text-align: center; background: #fff; border: 1px solid #dfe3ea; }

@media (max-width: 760px) {
  body .resume-simple-head, body .resume-list-row, body .editor-report-head { align-items: flex-start; flex-direction: column; }
  body .resume-list-report, body .resume-list-report.empty { grid-template-columns: 1fr; }
  body .resume-list-report small { grid-column: auto; }
  body .resume-template-library,
  body .resume-template-card { grid-template-columns: 1fr; }
  body .resume-template-preview { width: min(100%, 240px); }
  body #view-mentor .mentor-service-line,
  body #view-mentor .mentor-service-line-main { align-items: flex-start; flex-direction: column; }
  body #view-mentor .mentor-service-line-main { gap: 5px; }
  body #view-mentor .mentor-service-line-main > i { display: none; }
  body #view-mentor .mentor-service-line-main > b { white-space: normal; }
  body #view-mentor .mentor-service-line-meta { width: 100%; justify-content: space-between; white-space: normal; }
  body #view-mentor .mentor-layout { grid-template-columns: 1fr; }
  body #view-mentor .mentor-chat-card,
  body #view-mentor .mentor-team-card { min-height: 0; }
  body #view-mentor .mentor-group-messages { height: 390px; }
  body #view-mentor .mentor-member-card { grid-template-columns: 32px minmax(82px, auto) minmax(0, 1fr); }
  body #view-career-test .assessment-list { grid-template-columns: 1fr; }
  body #view-career-test .assessment-list-item { min-height: 0; }
  body #view-dashboard .job-progress-simple-grid { grid-template-columns: 1fr; }
  body #view-dashboard .job-progress-simple-card { min-height: 250px; }
}
/* User-provided horizontal brand logo: preserve its complete aspect ratio on every theme. */
body :where(.brand-symbol, .partner-brand-mark, .company-brand span) {
  width: 104px !important;
  height: 50px !important;
  background: #fff !important;
  border-color: #e4e8ed !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
body :where(.brand-symbol img, .partner-brand-mark img, .company-brand img, .editor-brand img, .account-avatar img, .tenant-preview-mark img) {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #fff !important;
  filter: none !important;
}
body .editor-brand img { width: 94px !important; height: 45px !important; padding: 4px !important; }

/* The horizontal logo already contains the brand name: no frame or duplicate label. */
body .system-brand > .brand-symbol {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
body .system-brand > .brand-symbol img {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body .system-brand > .brand-symbol + span { display: none !important; }
