:root {
  --bg: #f4f7fa;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --surface-tint: #e7f0f8;
  --surface-warm: #fff9ec;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #526173;
  --line: #cfd9e5;
  --line-strong: #aebdca;
  --brand: #155b9f;
  --brand-strong: #0b355d;
  --brand-soft: #e4f0fa;
  --accent: #8a5a00;
  --accent-soft: #fff2cc;
  --success: #0f6b49;
  --danger: #a12b2b;
  --warning: #7a5200;
  --focus: #2f80ed;
  --shadow-sm: 0 8px 18px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 18px 42px rgba(16, 24, 40, 0.11);
  --shadow-lg: 0 24px 70px rgba(16, 24, 40, 0.16);
  --radius: 8px;
  --radius-lg: 10px;
  --font: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fbfd 0, var(--bg) 320px),
    var(--bg);
  line-height: 1.5;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .65; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: 0; margin-bottom: 18px; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin-bottom: 8px; }
h3 { font-size: 18px; line-height: 1.25; margin-bottom: 8px; }
p { color: var(--ink-soft); }
.text-break,
a,
button,
input,
select,
textarea,
.small,
.muted,
.meta-pill,
.status,
.compact-item,
.management-row,
.card {
  min-width: 0;
  overflow-wrap: anywhere;
}
.text-truncate {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 22px;
}
.public-fallback {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px;
  display: grid;
  gap: 18px;
}
.fallback-hero,
.fallback-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.fallback-hero {
  padding: clamp(30px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(21, 91, 159, .12), rgba(245, 185, 66, .16)),
    var(--surface);
}
.fallback-hero h1,
.fallback-panel h1 {
  max-width: 820px;
}
.fallback-hero p,
.fallback-panel p {
  max-width: 780px;
}
.fallback-panel {
  padding: clamp(22px, 4vw, 36px);
}
.fallback-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
.fallback-job {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.fallback-job:first-of-type {
  border-top: 0;
}
.fallback-job h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.fallback-copy {
  margin-top: 18px;
}
.noscript-message,
.startup-notice {
  margin: 0 auto 18px;
  padding: 14px 16px;
  border: 1px solid #f0d48a;
  border-radius: var(--radius);
  background: #fff8e5;
  color: var(--warning);
}
.startup-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.hidden { display: none !important; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(217, 225, 234, .9);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.app-header.public-header {
  align-items: center;
}
.app-header::before {
  content: "";
  width: 5px;
  align-self: stretch;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), #f5b942);
}
.brand-row { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  padding: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.brand-kicker,
.eyebrow {
  display: block;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.top-actions, .inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.top-actions {
  padding: 4px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.public-header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}
.public-school-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}
.public-school-link:hover {
  color: var(--brand-strong);
  background: var(--surface-soft);
  border-color: var(--line);
  text-decoration: none;
}
.public-menu-toggle {
  display: none;
  min-height: 40px;
  padding: 9px 12px;
  color: var(--brand-strong);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}
.public-nav-shell {
  padding: 0;
  background: transparent;
  border: 0;
}
.public-nav {
  flex: 1;
  justify-content: flex-end;
  max-width: 980px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.public-nav-link,
.public-nav-subtle,
.public-nav-cta {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 850;
  white-space: nowrap;
}
.public-nav-link:hover,
.public-nav-subtle:hover {
  background: var(--surface-soft);
  border-color: var(--line);
}
.public-nav-link.active {
  color: var(--brand-strong);
  background: rgba(21, 91, 159, .08);
  border-color: rgba(21, 91, 159, .14);
}
.public-nav-subtle {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.public-nav-subtle.active {
  color: var(--brand-strong);
  background: rgba(21, 91, 159, .06);
  border-color: rgba(21, 91, 159, .12);
}
.public-nav-cta {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  padding-inline: 14px;
}
.public-nav-cta:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}
.public-nav-cta.active {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}
.public-nav-external {
  display: none;
}
.public-nav-spacer {
  flex: 1;
}
.public-nav-mobile {
  display: none;
}
.public-nav-mobile.open {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.public-nav-mobile-link,
.public-nav-mobile-subtle,
.public-nav-mobile-cta {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  text-align: left;
  font-weight: 850;
  color: var(--ink-soft);
}
.public-nav-mobile-link.active {
  color: var(--brand-strong);
  border-color: rgba(21, 91, 159, .24);
  background: rgba(21, 91, 159, .06);
}
.public-nav-mobile-subtle {
  color: var(--muted);
  font-size: 13px;
}
.public-nav-mobile-cta {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.public-nav-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}
.stack { display: grid; gap: 18px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.content-stack { display: grid; gap: 18px; min-width: 0; }

.card,
.page-panel,
.career-section,
.role-detail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card,
.page-panel,
.career-section,
.role-detail-card { padding: 22px; }
.page-panel,
.career-section { overflow: hidden; }
.page-panel.narrow { max-width: 900px; margin-inline: auto; }
.soft-panel {
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.settings-card {
  display: grid;
  align-content: start;
  gap: 16px;
}
.settings-card h2 {
  margin: 0;
}
.settings-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.settings-action-card {
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 190px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.settings-action-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
}
.settings-action-card p {
  margin-bottom: 0;
  color: var(--muted);
}
.settings-action-card .inline {
  align-items: stretch;
}
.settings-action-card button {
  display: grid;
  gap: 2px;
  min-width: 150px;
  min-height: 48px;
  text-align: left;
}
.settings-action-card button strong,
.settings-action-card button span {
  display: block;
}
.settings-action-card button span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.settings-image-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.settings-image-slot-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.settings-image-slot-grid span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.settings-group {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.compact-pills {
  gap: 8px;
}
.offer-response-box {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  background: #f8fbff;
  border: 1px solid #d9e7f5;
  border-radius: var(--radius);
}
.offer-response-box textarea {
  min-height: 86px;
}
.talent-row {
  border-left: 4px solid #6aa37a;
}
.section-head,
.item-head,
.role-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-head h2,
.section-head h3 { margin-bottom: 4px; }

.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-danger,
.entry-tab,
.progress-step,
.workflow-action-card,
.template-tile {
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 10px 14px;
  font-weight: 750;
  text-align: center;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, color .15s ease;
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.template-tile:hover,
.workflow-action-card:hover {
  transform: translateY(-1px);
}
.btn-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-strong); text-decoration: none; }
.btn-secondary {
  color: #0b355d;
  background: #d9ebfb;
  border-color: #8fb8df;
}
.btn-secondary:hover { background: #c7e0f7; text-decoration: none; }
.btn-ghost {
  color: var(--brand-strong);
  background: #fff;
  border-color: #aebdca;
}
.btn-ghost:hover,
.btn-ghost.active,
.btn-secondary.active {
  color: var(--brand-strong);
  background: var(--surface-tint);
  border-color: #aac7e4;
  text-decoration: none;
}
.btn-danger {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible,
.btn-danger:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 128, 237, .24);
  outline-offset: 2px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .02);
}
input:hover,
select:hover,
textarea:hover,
.rich-surface:hover {
  border-color: #91a8bd;
}
textarea { min-height: 112px; resize: vertical; }
label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}
label > input,
label > select,
label > textarea,
label > .rich-editor {
  margin-top: 1px;
}
.form-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.form-section-title h3 { margin-bottom: 3px; }
.sticky-action-bar {
  position: sticky;
  bottom: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 12px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field-grid.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-grid.preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.compact,
.field-grid.compact-readout { gap: 12px; }
.auth-panel { max-width: 760px; }
.auth-switch {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.auth-switch button {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 750;
}
.auth-switch button.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(190px, auto);
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filter-bar.management-filter {
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 220px) minmax(180px, 220px) auto;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.switch-row input,
.check-grid input { width: auto; }

.public-site { display: grid; gap: 18px; }
.career-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 22px;
  padding: clamp(28px, 5vw, 58px);
  min-height: 480px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(245, 185, 66, .95) 0 9px, transparent 9px),
    linear-gradient(135deg, #082742 0%, #0e4878 54%, #12395d 100%);
  background-repeat: no-repeat;
  background-position: right 7% center;
  background-size: min(420px, 42vw);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(8, 39, 66, .28);
}
.career-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 70%, rgba(255,255,255,.08) 70% 70.5%, transparent 70.5%),
    linear-gradient(0deg, transparent 0 68%, rgba(255,255,255,.07) 68% 68.5%, transparent 68.5%);
  background-size: 64px 64px;
  opacity: .55;
  pointer-events: none;
}
.career-hero .eyebrow { color: #f7c95d; }
.career-hero-copy {
  position: relative;
  z-index: 1;
}
.career-hero h1 {
  color: #fff;
  max-width: 820px;
  text-wrap: balance;
}
.career-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.86);
  font-size: 17px;
}
.career-hero .btn-primary {
  color: #10233a;
  background: #f7c95d;
  border-color: #f7c95d;
}
.career-hero .btn-secondary {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.38);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.career-hero-panel {
  position: relative;
  z-index: 1;
  padding: 22px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.64);
  box-shadow: 0 18px 44px rgba(8, 39, 66, .22);
}
.hero-logo-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 8px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.hero-stat {
  display: grid;
  gap: 2px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.hero-stat span { color: var(--brand); font-size: 50px; line-height: 1; font-weight: 850; }
.process-mini,
.steps-list { display: grid; gap: 12px; }
.process-mini div,
.steps-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 3px 12px;
  align-items: start;
}
.process-mini span,
.steps-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 50%;
  font-weight: 850;
}
.process-mini small,
.steps-list small { color: var(--muted); }
.career-section { display: grid; gap: 18px; }
.split-band {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
}
.value-grid,
.steps-grid,
.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.value-card,
.steps-grid div,
.vacancy-card,
.review-row,
.application-summary-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(23, 32, 51, .04);
}
.value-card { display: grid; gap: 6px; }
.value-card span { color: var(--muted); }
.steps-grid span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 850;
}
.steps-grid p { margin-bottom: 0; }
.help-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: var(--surface-tint);
}

.listing-header,
.workspace-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.listing-header h1,
.workspace-hero h1 { font-size: clamp(28px, 4vw, 42px); max-width: 760px; }
.metric-chip {
  display: grid;
  place-items: center;
  min-width: 136px;
  min-height: 96px;
  padding: 14px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid #bad3ea;
  border-radius: var(--radius);
  text-align: center;
}
.metric-chip strong { font-size: 36px; line-height: 1; }
.vacancy-card { display: grid; gap: 14px; align-content: start; }
.vacancy-card-top,
.vacancy-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.vacancy-footer { align-items: center; padding-top: 4px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.compact-pills { gap: 6px; }
.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}
.required-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 7px;
  margin-left: 6px;
  color: var(--warning);
  background: var(--accent-soft);
  border: 1px solid #e8c168;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}
.file-drop {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.file-drop input { border-style: solid; }
.form-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 850;
  text-transform: capitalize;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
}
.status.PUBLISHED,
.status.SUBMITTED,
.status.SCREENING,
.status.UNDER_REVIEW,
.status.INTERVIEW_1,
.status.INTERVIEW_2,
.status.DEMO_LESSON,
.status.REFERENCE_CHECK,
.status.FINAL_REVIEW,
.status.OFFER_PREPARATION,
.status.OFFER_SENT {
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-color: #bad3ea;
}
.status.DRAFT { color: #344054; background: #f2f4f7; border-color: #d0d5dd; }
.status.SUBMITTED { color: #7a5200; background: #fff2cc; border-color: #e8c168; }
.status.OFFER_ACCEPTED,
.status.HIRED { color: var(--success); background: #e8f7ef; border-color: #bfe4cf; }
.status.REJECTED,
.status.WITHDRAWN,
.status.CLOSED { color: var(--danger); background: #fff0f0; border-color: #f0c4c4; }

.role-detail-card { margin-top: 18px; }
.role-meta-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.role-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  align-items: start;
}
.role-copy h3 { margin-top: 18px; }
.role-copy h3:first-child { margin-top: 0; }
.html-content {
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.html-content ul,
.html-content ol { padding-left: 22px; }
.role-side-panel {
  position: sticky;
  top: 96px;
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.checklist-readout { display: grid; gap: 10px; }
.checklist-readout div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.checklist-readout div:last-child { border-bottom: 0; }

.split-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  min-width: 0;
}
.admin-sidebar {
  padding: 14px;
  background: linear-gradient(180deg, #fff, #f7fafc);
  border-color: #c7d5e2;
}
.sidebar-title {
  padding-bottom: 14px;
  border-bottom: 1px solid #d9e3ee;
  margin-bottom: 14px;
}
.staff-sidebar-identity {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}
.staff-sidebar-identity h3 {
  margin-bottom: 2px;
  font-size: 16px;
}
.sidebar-role-line {
  margin-top: 12px;
  padding: 8px 10px;
  color: var(--brand-strong);
  background: #eef6ff;
  border: 1px solid #c8daed;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.nav-list { display: grid; gap: 8px; }
.nav-list button,
.nav-list .btn-ghost {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}
.nav-button {
  position: relative;
  min-height: 40px;
  padding: 9px 12px 9px 16px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: none;
}
.nav-button.active::before {
  content: "";
  position: absolute;
  inset: 9px auto 9px 7px;
  width: 4px;
  border-radius: 999px;
  background: var(--brand);
}
.nav-button:hover,
.nav-button.active {
  color: var(--brand-strong);
  background: #eef6ff;
  border-color: #c8daed;
  text-decoration: none;
}
.nav-group-label {
  margin: 16px 6px 5px;
  color: #66768a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.sidebar-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #d9e3ee;
}
.sidebar-signout {
  width: 100%;
  justify-content: center;
  min-height: 40px;
  color: #6b3440;
  background: #fff7f7;
  border: 1px solid #edd0d0;
  border-radius: var(--radius);
  font-weight: 850;
}
.sidebar-signout:hover {
  color: var(--danger);
  border-color: #e8b9b9;
}
.profile-ring {
  --value: 0;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(var(--brand) calc(var(--value) * 1%), #e4ebf3 0);
}
.profile-ring strong { color: var(--brand); font-size: 28px; line-height: 1; }
.profile-ring span { color: var(--muted); font-size: 12px; font-weight: 750; }
.metric-card { display: grid; gap: 8px; }
.metric-value { color: var(--brand-strong); font-size: 34px; font-weight: 850; line-height: 1; }
.metric-mini { display: grid; gap: 2px; }
.metric-mini strong { color: var(--brand-strong); font-size: 24px; line-height: 1; }
.metric-mini span { color: var(--muted); font-size: 12px; font-weight: 750; }
.application-board,
.review-queue,
.compact-list,
.list { display: grid; gap: 12px; }
.application-summary-card { display: grid; gap: 10px; }
.application-intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 14px;
  padding: 16px;
  margin-bottom: 16px;
  background: var(--surface-tint);
  border: 1px solid #c9ddec;
  border-radius: var(--radius);
}
.application-intro span { color: var(--ink-soft); display: block; margin-top: 4px; }
.application-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--ink-soft);
  text-align: left;
}
.progress-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
}
.progress-step.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.application-step-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: 18px;
}
.admin-hero {
  background:
    linear-gradient(135deg, #ffffff, #f2f7fb 58%, #fff9ec);
}
.queue-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.queue-stats span {
  padding: 8px 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 13px;
}
.funnel-list { display: grid; gap: 8px; }
.funnel-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.funnel-row:last-child { border-bottom: 0; }
.review-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1.1fr) auto;
  gap: 14px;
  align-items: center;
}
.review-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.review-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.workflow-header { align-items: flex-start; }
.stage-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 16px;
  margin-bottom: 10px;
}
.stage-node {
  min-width: 122px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}
.stage-node.current { border-color: #aac7e4; background: var(--brand-soft); }
.stage-node.done { border-color: #bfe4cf; background: #e8f7ef; }
.stage-node-dot {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 850;
}
.stage-node-label { display: block; font-size: 12px; font-weight: 750; }
.workflow-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.workflow-summary-card {
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.workflow-checklist,
.workflow-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.workflow-check,
.workflow-action-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-align: left;
  color: var(--ink);
}
.workflow-check.done { background: #e8f7ef; border-color: #bfe4cf; }
.workflow-check-mark { color: var(--muted); font-size: 12px; font-weight: 850; }
.workflow-action-card.active { background: var(--brand-soft); border-color: #aac7e4; }
.workflow-action-card span { color: var(--muted); font-weight: 500; }

.management-table { display: grid; gap: 10px; }
.management-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(160px, .7fr) minmax(120px, .45fr) minmax(150px, .65fr) minmax(240px, .95fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.management-row.table-head {
  padding: 10px 14px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.log-row {
  grid-template-columns: minmax(150px,.7fr) minmax(210px,1fr) minmax(260px,1.25fr) minmax(100px,.45fr) minmax(145px,.6fr);
}
.admin-position-workspace {
  border-color: #b8c9da;
  box-shadow: var(--shadow-md);
}
.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.admin-tabs button,
.page-number,
.per-page-select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  padding: 8px 11px;
  font-weight: 800;
}
.admin-tabs button.active,
.page-number.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.single-column { grid-template-columns: 1fr; }
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pagination-bar.compact {
  justify-content: flex-end;
  color: var(--muted);
}
.pagination-summary {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}
.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pagination-gap { color: var(--muted); padding: 0 4px; }
.per-page-select { width: auto; padding-right: 28px; }

.template-groups { display: grid; gap: 18px; }
.template-family-group {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.template-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  margin-bottom: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.template-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}
.template-insight {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.template-insight strong {
  display: block;
  color: var(--brand-strong);
  font-size: 24px;
  line-height: 1;
}
.template-editor-panel {
  margin-top: 18px;
  background:
    linear-gradient(180deg, #fff, #f8fbfd);
  border-color: #b8c9da;
  box-shadow: var(--shadow-lg);
}
.template-editor-panel,
.position-editor-panel {
  scroll-margin-top: 110px;
}
.editor-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.editor-step {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.editor-step strong { color: var(--brand-strong); }
.editor-step span { color: var(--muted); font-size: 12px; }
.template-family-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.template-card-grid,
.position-tile-grid,
.compact-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.admin-responsive-list {
  display: grid;
  gap: 10px;
}
.admin-person-row {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(440px, 1.35fr) minmax(190px, .6fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 5px 14px rgba(23, 32, 51, .035);
}
.admin-person-main {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.admin-person-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(22,75,145,.14);
  border-radius: 14px;
}
.admin-person-avatar.initials {
  display: grid;
  place-items: center;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-color: #bad3ea;
  font-weight: 900;
}
.admin-person-copy {
  min-width: 0;
}
.admin-person-title-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.admin-person-title-line strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
.admin-person-title-line .status,
.admin-person-title-line .meta-pill {
  flex: 0 1 auto;
  max-width: 48%;
}
.admin-person-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.internal-user-list .admin-person-meta {
  grid-template-columns: minmax(0, 1.4fr) minmax(90px, .5fr) minmax(120px, .7fr);
}
.admin-person-meta div {
  min-width: 0;
  padding: 9px 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.admin-person-meta span,
.admin-person-meta strong {
  display: block;
}
.admin-person-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.admin-person-meta strong {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.admin-person-tags {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  grid-column: 1 / span 2;
  min-width: 0;
}
.admin-person-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.compact-more {
  position: relative;
}
.compact-more summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 36px;
  padding: 8px 11px;
  color: var(--brand-strong);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  list-style: none;
  white-space: nowrap;
  overflow-wrap: normal;
}
.compact-more summary::-webkit-details-marker {
  display: none;
}
.compact-more[open] {
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.compact-more[open] summary {
  margin-bottom: 8px;
}
.compact-more button {
  width: 100%;
  justify-content: flex-start;
  margin-top: 6px;
}
.staff-user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.staff-user-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(23, 32, 51, .04);
}
.staff-user-card.inactive {
  background: #f8fafc;
  opacity: .82;
}
.staff-user-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.staff-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid #bad3ea;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 850;
}
.staff-avatar.large {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  font-size: 28px;
}
.staff-profile-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #f8fbfd);
  border: 1px solid #b8c9da;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.staff-profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 16px;
}
.staff-profile-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.staff-profile-identity strong,
.staff-profile-identity span {
  display: block;
}
.staff-profile-identity span {
  color: var(--muted);
  font-size: 13px;
}
.staff-profile-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.staff-profile-facts div {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.staff-profile-facts span,
.staff-profile-facts strong {
  display: block;
}
.staff-profile-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.staff-profile-edit {
  margin-top: 0;
}
.staff-user-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.staff-user-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.template-tile,
.position-manage-tile,
.item,
.compact-item {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.template-tile {
  display: grid;
  gap: 8px;
  text-align: left;
  color: var(--ink);
  min-height: 120px;
  align-content: start;
}
.template-tile:hover,
.template-tile.active {
  border-color: #aac7e4;
  background: #fbfdff;
  box-shadow: var(--shadow-sm);
}
.template-tile-title { font-size: 16px; font-weight: 850; }
.template-tile-meta,
.template-tile-counts { color: var(--muted); font-size: 13px; }
.position-manage-tile { display: grid; gap: 12px; }
.position-tile-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.builder-card { box-shadow: none; }
.builder-list {
  display: grid;
  gap: 10px;
}
.builder-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.builder-row strong { display: block; }
.preview-card {
  min-height: 120px;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rich-editor {
  display: grid;
  gap: 8px;
}
.rich-toolbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rich-toolbar .btn-ghost {
  min-width: 34px;
  min-height: 34px;
  padding: 6px 8px;
}
.rich-select {
  width: auto;
  min-height: 32px;
  padding: 6px 8px;
}
.rich-color-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rich-color-picker input {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
}
.rich-surface {
  min-height: 160px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.rich-surface:focus {
  outline: 3px solid rgba(47, 128, 237, .18);
  border-color: var(--focus);
}
.rich-surface:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
}

.notice,
.toast {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid #c9ddec;
  background: var(--surface-tint);
  color: var(--ink-soft);
}
.notice strong { color: var(--ink); }
.empty,
.strong-empty {
  display: grid;
  gap: 6px;
  padding: 22px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}
.check-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  min-height: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.check-option input { margin-top: 2px; }
.check-option-text { display: grid; gap: 2px; }
.check-option-text small { color: var(--muted); font-weight: 500; }
.strong-empty strong { color: var(--ink); }
.toast-stack {
  position: fixed;
  right: 18px;
  top: 92px;
  z-index: 10000;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
}
.toast {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}
.toast.success { border-color: #bfe4cf; }
.toast.error { border-color: #f0c4c4; }
.toast-title { font-weight: 850; margin-bottom: 4px; }
.loading-line {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  opacity: 0;
  pointer-events: none;
  z-index: 10001;
}
.loading-line.active { opacity: 1; }
.loading-line span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  animation: loadingSweep 1s ease-in-out infinite;
}
.loading-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10002;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 750;
}
@keyframes loadingSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

@media (max-width: 1100px) {
  .career-hero,
  .public-image-split,
  .why-pbs-layout,
  .embedded-location-section,
  .split-shell,
  .dashboard-grid,
  .role-detail-grid,
  .split-band,
  .help-band,
  .application-intro {
    grid-template-columns: 1fr;
  }
  .sidebar,
  .role-side-panel { position: static; }
  .admin-person-row { grid-template-columns: 1fr; align-items: stretch; }
  .admin-person-tags { grid-column: auto; }
  .admin-person-actions { justify-content: flex-start; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-row { grid-template-columns: 1fr; align-items: stretch; }
  .management-row { grid-template-columns: 1fr; align-items: stretch; }
  .management-row.table-head { display: none; }
  .review-actions { justify-content: flex-start; }
  .template-toolbar { grid-template-columns: 1fr; }
  .staff-profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-shell { padding: 12px; }
  .app-header,
  .admin-page-header,
  .listing-header,
  .workspace-hero,
  .vacancy-card-top,
  .vacancy-footer,
  .section-head,
  .item-head,
  .role-detail-header {
    align-items: stretch;
    flex-direction: column;
  }
  .top-actions,
  .hero-actions,
  .inline { width: 100%; }
  .top-actions button,
  .hero-actions button,
  .inline button,
  .inline a { flex: 1 1 auto; }
  .career-hero {
    min-height: auto;
    padding: 26px 18px;
    background-size: auto;
    background-position: center;
  }
  .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .public-nav.open {
    grid-template-columns: 1fr;
  }
  .public-nav button,
  .public-nav a {
    min-width: 0;
  }
  .pbs-image-placeholder {
    min-height: 180px;
  }
  .careers-image-slot {
    min-height: 190px;
  }
  .top-actions button { width: 100%; }
  .career-hero h1 { font-size: 34px; }
  .grid.two,
  .grid.three,
  .grid.four,
  .field-grid,
  .field-grid.wide,
  .field-grid.preview,
  .filter-bar,
  .filter-bar.management-filter {
    grid-template-columns: 1fr;
  }
  .pagination-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .pagination-controls > * {
    flex: 1 1 auto;
  }
  .card,
  .page-panel,
  .career-section,
  .role-detail-card { padding: 16px; }
  .sticky-action-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }
  .builder-row,
  .form-section-title {
    align-items: stretch;
    flex-direction: column;
  }
  .template-insight-grid { grid-template-columns: 1fr; }
  .profile-ring { width: 104px; height: 104px; }
  .profile-ring strong { font-size: 22px; }
}

/* Public site redesign */
.public-site {
  gap: 22px;
}
.public-site > .page-panel {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.public-hero-redesign {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .55fr);
  min-height: 560px;
  padding: clamp(34px, 6vw, 72px);
  background:
    linear-gradient(135deg, rgba(7, 28, 48, .92), rgba(13, 72, 118, .88)),
    url("https://i.postimg.cc/cCVB671d/Logo-icon-Square.png");
  background-repeat: no-repeat;
  background-position: center, right clamp(18px, 8vw, 120px) center;
  background-size: auto, min(420px, 38vw);
  border: 1px solid rgba(255,255,255,.12);
}
.public-hero-redesign::after {
  background: linear-gradient(90deg, rgba(247,201,93,.95) 0 8px, transparent 8px);
  opacity: 1;
}
.public-hero-brand {
  position: absolute;
  left: clamp(28px, 5vw, 58px);
  top: clamp(24px, 4vw, 42px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 850;
}
.public-hero-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 5px;
  background: #fff;
  border-radius: 12px;
}
.public-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 44px;
}
.public-hero-copy .eyebrow {
  color: #f7c95d;
}
.public-hero-copy h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 74px);
  line-height: .98;
  max-width: 880px;
  margin-bottom: 20px;
}
.public-hero-copy p {
  max-width: 720px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
}
.public-hero-card {
  align-self: end;
}
.public-hero-list {
  display: grid;
  gap: 12px;
}
.public-hero-list div {
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.public-hero-list strong,
.public-hero-list span {
  display: block;
}
.public-hero-list span {
  color: var(--muted);
  font-size: 13px;
}
.pbs-image-placeholder {
  display: grid;
  place-items: end start;
  min-height: 240px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 53, 93, .28), rgba(138, 90, 0, .18)),
    repeating-linear-gradient(135deg, #dfeaf3 0 16px, #eef4f8 16px 32px);
  border: 1px solid #c7d7e8;
  border-radius: var(--radius);
  overflow: hidden;
}
.pbs-image-placeholder span {
  max-width: 260px;
  padding: 9px 11px;
  color: #fff;
  background: rgba(11, 53, 93, .82);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}
.careers-image-slot {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 260px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(8, 39, 66, .18), rgba(8, 39, 66, .48)),
    var(--slot-image),
    linear-gradient(135deg, #dce8f1, #f5f7f9 42%, #e8efe6);
  background-size: cover;
  background-position: center;
  border: 1px solid #c7d7e8;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.careers-image-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 48%, rgba(8,39,66,.62));
  pointer-events: none;
}
.careers-image-slot span {
  position: relative;
  z-index: 1;
  max-width: 280px;
  padding: 9px 11px;
  color: #fff;
  background: rgba(11, 53, 93, .82);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}
.public-hero-card .careers-image-slot {
  min-height: 155px;
  margin-bottom: 14px;
}
.homepage-about .careers-image-slot,
.general-application-panel .careers-image-slot,
.why-pbs-page .careers-image-slot {
  min-height: 100%;
}
.hero-image-placeholder {
  min-height: 150px;
  margin-bottom: 14px;
}
.public-image-split,
.why-pbs-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}
.campus-image-placeholder,
.community-image-placeholder {
  min-height: 100%;
}
.public-section {
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.public-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.public-section-head p,
.public-story p {
  color: var(--ink-soft);
  margin-bottom: 0;
}
.public-two-column {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #f5f9fd);
}
.public-story h2 {
  font-size: clamp(28px, 4vw, 44px);
}
.public-value-list {
  display: grid;
  gap: 12px;
}
.public-value-list div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
}
.public-value-list strong,
.public-value-list span {
  display: block;
}
.public-value-list span {
  color: var(--muted);
  margin-top: 3px;
}
.public-about-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.public-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.career-area-card {
  min-height: 150px;
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compact-career-areas {
  background: linear-gradient(135deg, #fff, #f7fbf4);
}
.compact-career-grid .career-area-card,
.compact-reasons .career-area-card {
  min-height: 118px;
}
.compact-reasons {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.why-pbs-teaser .career-area-card {
  min-height: 112px;
}
.general-application-callout .btn-secondary {
  color: #0b355d;
  background: #fff;
  border-color: rgba(255,255,255,.72);
}
.hiring-teaser-section .public-process-grid div {
  min-height: 145px;
}
.embedded-location-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 22px;
  background: #f8fbfd;
  box-shadow: none;
}
.career-area-card strong {
  display: block;
  color: var(--brand-strong);
  font-size: 16px;
}
.career-area-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}
.public-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.public-link-grid a,
.public-link-grid button {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 18px;
  text-align: left;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}
.public-link-grid a:hover,
.public-link-grid button:hover {
  border-color: #9fc4e8;
  box-shadow: var(--shadow-sm);
}
.public-link-grid span {
  color: var(--muted);
  font-weight: 500;
}
.public-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.public-process-grid div {
  min-height: 180px;
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.public-process-grid span {
  display: inline-block;
  margin-right: 4px;
  color: var(--accent);
  font-weight: 900;
}
.public-process-grid p {
  margin-bottom: 0;
}
.public-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  color: #fff;
  background: linear-gradient(135deg, #0b355d, #155b9f);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.public-cta-band h2,
.public-cta-band p {
  color: #fff;
}
.public-cta-band p {
  margin-bottom: 0;
  opacity: .86;
}
.public-jobs-page {
  display: grid;
  gap: 18px;
}
.public-jobs-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  color: #fff;
  background: linear-gradient(135deg, #0b355d, #155b9f);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.public-jobs-hero h1,
.public-jobs-hero p,
.public-jobs-hero .eyebrow {
  color: #fff;
}
.public-jobs-count {
  display: grid;
  place-items: center;
  min-width: 132px;
  min-height: 108px;
  padding: 16px;
  color: var(--brand-strong);
  background: #fff;
  border-radius: var(--radius);
}
.public-jobs-count strong {
  font-size: 40px;
  line-height: 1;
}
.public-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 280px);
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.scope-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 12px;
}
.scope-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 850;
}
.scope-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.scope-tab.active {
  background: rgba(21, 91, 159, .08);
  border-color: rgba(21, 91, 159, .22);
  color: var(--brand-strong);
}
.scope-tab.active span {
  background: #fff;
  border-color: rgba(21, 91, 159, .18);
  color: var(--brand-strong);
}
.public-filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(4, minmax(160px, .8fr)) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.scope-pill {
  border-color: rgba(21, 91, 159, .22);
  background: rgba(21, 91, 159, .06);
  color: var(--brand-strong);
}
.public-auth-layout {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.public-auth-aside {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background: linear-gradient(150deg, #0b355d, #155b9f);
}
.public-auth-aside img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  padding: 9px;
  background: #fff;
  border-radius: 18px;
}
.public-auth-aside h2,
.public-auth-aside p {
  color: #fff;
}
.public-auth-points {
  display: grid;
  gap: 8px;
}
.public-auth-points span {
  padding: 10px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
}
.public-auth-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 46px);
}
.public-auth-switch {
  width: fit-content;
}
.public-auth-switch button {
  border: 0;
}
.public-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.intent-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
}
.intent-card span { color: #fff; }
.school-role-grid,
.action-card-grid,
.quick-filter-row,
.faq-grid,
.process-timeline {
  display: grid;
  gap: 12px;
}
.school-role-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.school-role-grid span {
  padding: 12px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  color: var(--brand-strong);
}
.process-timeline {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.process-timeline article,
.faq-grid article {
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process-timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid #b9d5ee;
  border-radius: 999px;
  font-weight: 900;
}
.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.public-footer {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.public-footer > div,
.public-footer nav {
  display: grid;
  gap: 10px;
}
.public-footer strong,
.public-footer span {
  display: block;
}
.public-footer nav {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.public-footer nav button,
.public-footer nav a {
  padding: 10px 12px;
  color: var(--brand-strong);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
.admin-page-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  background: linear-gradient(135deg, #fff, #f4f9ff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.admin-page-header h2 {
  margin-bottom: 4px;
}
.admin-page-header p {
  margin-bottom: 0;
}
.breadcrumb {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.role-guidance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.role-guidance-grid div {
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.role-guidance-grid strong,
.role-guidance-grid span {
  display: block;
}
.role-guidance-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.clean-notice {
  background: #f8fbfd;
  border-color: var(--line);
}
.warning-notice {
  background: #fff8e5;
  border-color: #f0d48a;
}
.action-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.dashboard-action-card {
  min-height: 118px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.dashboard-action-card:hover {
  transform: translateY(-1px);
  border-color: #9fc4e8;
}
.dashboard-action-card.primary {
  color: #fff;
  background: var(--brand);
}
.dashboard-action-card.primary span,
.dashboard-action-card.primary small { color: #fff; }
.dashboard-action-card .metric-value.compact {
  font-size: 30px;
  line-height: 1;
  color: var(--brand);
}
.hr-action-grid { margin-top: -2px; }
.quick-filter-row {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 14px 0;
}
.quick-filter {
  min-height: 42px;
  padding: 10px 12px;
  color: var(--brand-strong);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}
.quick-filter.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.nav-placeholder {
  padding: 10px 12px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: 13px;
}
.application-detail-panel {
  margin-top: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.status-story {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.status-story p { margin: 0; }
.meta-pill.attention {
  color: var(--warning);
  background: #fff8e5;
  border-color: #f0d48a;
}
.candidate-command-center {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 18px;
  margin: 16px 0;
  background: linear-gradient(135deg, #f8fbfd, #eef6fc);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.candidate-command-main {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.candidate-avatar-block img,
.candidate-avatar-block span {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px solid rgba(21, 91, 159, .18);
}
.candidate-avatar-block img {
  object-fit: cover;
}
.candidate-avatar-block span {
  display: grid;
  place-items: center;
  color: var(--brand-strong);
  background: var(--brand-soft);
  font-size: 30px;
  font-weight: 900;
}
.candidate-command-main h3 {
  margin-bottom: 4px;
  font-size: 24px;
}
.candidate-command-main p {
  margin-bottom: 8px;
}
.candidate-command-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}
.candidate-command-facts div {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.candidate-command-facts span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.candidate-command-facts strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.workspace-jump-nav {
  position: sticky;
  top: 92px;
  z-index: 20;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  margin: 14px 0;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.workspace-jump-nav a {
  padding: 8px 10px;
  color: var(--brand-strong);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 13px;
}
.next-action-line {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.next-action-line.strong {
  color: var(--brand-strong);
  font-weight: 850;
}
.compact-workflow-action {
  border-color: #9fc4e8;
  background: #f4f9ff;
}
.vacancy-card {
  border-color: #c7d7e8;
}
.vacancy-card h3 {
  font-size: 22px;
}
.vacancy-footer {
  gap: 12px;
}
.top-actions {
  max-width: 100%;
  justify-content: flex-end;
}
.text-button {
  display: inline;
  width: auto;
  min-height: auto;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  font-weight: 850;
}
.stage-workspace {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.stage-command-header {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(280px, 1.4fr);
  gap: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #ffffff, #f6f9fc);
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.stage-command-header.tone-attention {
  border-left-color: #c57a10;
}
.stage-command-header.tone-success {
  border-left-color: #188a58;
}
.stage-command-header.tone-closed,
.stage-command-header.tone-pool {
  border-left-color: #6f7782;
}
.stage-candidate-block {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.stage-candidate-block h2 {
  margin: 2px 0 4px;
  font-size: 28px;
}
.stage-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.stage-command-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.stage-command-facts div,
.stage-primary-action {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stage-command-facts span,
.stage-primary-action span,
.profile-readout span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.stage-command-facts strong,
.stage-primary-action strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}
.stage-primary-action {
  grid-column: 1 / -1;
  background: #f4f9ff;
  border-color: #c8daed;
}
.smart-action-panel,
.workspace-tab-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.smart-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.smart-action-grid.compact {
  margin-top: 10px;
}
.smart-action {
  min-height: 96px;
  padding: 14px;
  text-align: left;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
}
.smart-action strong,
.smart-action span {
  display: block;
}
.smart-action strong {
  margin-bottom: 6px;
}
.smart-action span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.smart-action.primary,
.smart-action.active {
  background: #eef6ff;
  border-color: #9fc4e8;
}
.smart-action.danger {
  background: #fff6f4;
  border-color: #efc2b9;
}
.more-actions {
  margin-top: 14px;
}
.more-actions summary {
  cursor: pointer;
  color: var(--brand-strong);
  font-weight: 850;
}
.workspace-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.workspace-tabs button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
}
.workspace-tabs button.active {
  color: var(--brand-strong);
  background: #eef6ff;
  border-color: #c8daed;
}
.workspace-tab-panel .grid.two {
  align-items: start;
}
.nested-list {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 3px solid #dbe8f5;
}
.nested-list .compact-item {
  background: #fff;
}
.workflow-panel p.muted {
  max-width: 760px;
  line-height: 1.55;
}
.workflow-panel textarea {
  min-height: 96px;
}
.workflow-panel .panel-actions {
  margin-top: 14px;
}
.workflow-panel .check-grid {
  max-height: 240px;
  overflow: auto;
  padding: 10px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.leadership-packet-list {
  display: grid;
  gap: 14px;
}
.leadership-packet {
  padding: 16px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.leadership-packet.expanded {
  background: #f7fbff;
  border-color: #c8daed;
}
.leadership-packet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.leadership-packet-grid div {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.leadership-packet-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.leadership-packet-grid strong {
  display: block;
  margin-top: 5px;
}
.decision-summary {
  margin-top: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.decision-summary p {
  margin: 0 0 8px;
  line-height: 1.5;
}
.decision-summary p:last-child {
  margin-bottom: 0;
}
.decision-actions {
  margin-top: 14px;
}
.profile-readout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.profile-readout div {
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.span-all {
  grid-column: 1 / -1;
}
.needs-attention {
  border-color: #e4b46b;
  background: #fff9ef;
}
.timeline-list {
  display: grid;
  gap: 10px;
}
.timeline-event {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--brand);
}
.timeline-dot.message { background: #3b7c89; }
.timeline-dot.interview { background: #7a5cc8; }
.timeline-dot.evaluation { background: #188a58; }
.timeline-dot.note { background: #b56d10; }
.timeline-dot.staff,
.timeline-dot.activity { background: #164b91; }
.timeline-dot.applicant { background: #188a58; }
.timeline-dot.assignment { background: #3b7c89; }
.timeline-dot.system { background: #667085; }
.applicant-next-step {
  margin-top: 12px;
  padding: 12px;
  color: var(--brand-strong);
  background: #f4f9ff;
  border: 1px solid #c8daed;
  border-radius: var(--radius);
  font-weight: 800;
}
.compact-warning {
  margin-top: 10px;
  padding: 10px;
}
.compact-warning span {
  display: block;
  margin-top: 4px;
}
.panel-actions {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .public-hero-redesign,
  .public-two-column,
  .public-image-split,
  .why-pbs-layout,
  .embedded-location-section,
  .public-auth-layout {
    grid-template-columns: 1fr;
  }
  .public-jobs-hero,
  .public-section-head,
  .public-cta-band {
    align-items: stretch;
    flex-direction: column;
  }
  .public-filter-bar {
    grid-template-columns: 1fr;
  }
  .public-filter-grid {
    grid-template-columns: 1fr;
  }
  .app-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
  }
  .brand-row {
    flex: 1 1 auto;
  }
  .brand-row .small {
    display: none;
  }
  .public-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .public-header-actions {
    display: inline-flex;
  }
  .public-nav {
    display: none;
  }
  .admin-person-main {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .admin-person-avatar {
    width: 42px;
    height: 42px;
  }
  .admin-person-title-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .admin-person-title-line .status,
  .admin-person-title-line .meta-pill {
    max-width: 100%;
  }
  .admin-person-meta,
  .internal-user-list .admin-person-meta {
    grid-template-columns: 1fr 1fr;
  }
  .admin-person-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-person-actions > button,
  .admin-person-actions details {
    width: 100%;
  }
  .compact-more summary {
    text-align: center;
  }
  .top-actions:not(.public-nav) {
    width: auto;
    overflow: visible;
    flex-wrap: wrap;
  }
  .status-story {
    grid-template-columns: 1fr;
  }
  .candidate-command-center,
  .candidate-command-facts,
  .stage-command-header,
  .stage-command-facts {
    grid-template-columns: 1fr;
  }
  .stage-candidate-block {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .stage-candidate-block h2 {
    font-size: 23px;
  }
  .candidate-command-main {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .candidate-avatar-block img,
  .candidate-avatar-block span {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  .workspace-jump-nav {
    position: static;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .workspace-jump-nav a {
    white-space: nowrap;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-action-grid {
    grid-template-columns: 1fr;
  }
  .public-link-grid,
  .public-footer {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .public-hero-redesign {
    min-height: auto;
    padding-top: 92px;
    background-size: auto, 220px;
    background-position: center, right -60px top 24px;
  }
  .public-hero-copy h1 {
    font-size: 40px;
  }
}
