:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #676767;
  --line: #e3e3e3;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --green: #d81925;
  --green-dark: #97121a;
  --sidebar: #0d0d0e;
  --sidebar-soft: #2a1517;
  --gold: #d81925;
  --shadow: 0 18px 46px rgba(22, 22, 22, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #f6f6f6;
}

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

button,
input {
  font: inherit;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  height: 100vh;
  padding: 24px 18px;
  background: var(--sidebar);
  color: #f1f1f1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 850;
}

.brand-mark,
.panel-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 950;
  letter-spacing: 0;
}

.nav-stack {
  display: grid;
  gap: 7px;
}

.nav-utility {
  margin-top: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  color: #b9b9b9;
  font-weight: 800;
}

.nav-item:hover,
.nav-item.active {
  background: var(--sidebar-soft);
  color: #fff;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.sidebar-card {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-card strong {
  display: block;
  margin: 8px 0 3px;
  font-size: 34px;
  line-height: 1;
}

.sidebar-card span {
  color: #b9b9b9;
  font-size: 15px;
  line-height: 1.4;
}

.workspace {
  min-width: 0;
  max-width: 100vw;
  padding: 28px;
}

.auth-workspace {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding-block: 34px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 520px);
  gap: 22px;
  align-items: stretch;
}

.auth-story,
.auth-panel,
.home-hero,
.workspace-panel,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78)),
    url("https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=1400&q=85")
      center / cover;
}

.eyebrow {
  margin: 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-story h1,
.home-hero h1 {
  max-width: 720px;
  margin: 8px 0 14px;
  font-size: clamp(38px, 4.8vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.auth-story p:not(.eyebrow),
.home-hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.auth-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
  margin-top: 38px;
}

.auth-proof-grid span,
.health-row span {
  display: grid;
  gap: 5px;
  min-height: 48px;
  padding: 14px;
  border: 1px solid rgba(22, 127, 97, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #253630;
  font-weight: 800;
}

.auth-proof-grid small,
.health-row small,
.metric-card small,
.pipeline-list small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.auth-panel-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.auth-panel-head h2,
.section-head h2 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0;
}

.auth-panel-head p:not(.eyebrow) {
  max-width: 360px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.panel-logo {
  width: 44px;
  height: 44px;
  background: var(--green-dark);
  color: #fff;
}

.google-signin-wrap {
  display: grid;
  gap: 12px;
}

.auth-helper {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border: 1px solid #cfe0d9;
  border-radius: 8px;
  background: #f0f7f4;
}

.auth-helper strong {
  color: var(--green-dark);
  font-size: 15px;
}

.auth-helper span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.access-mode-note {
  margin: 10px 0 0;
  color: #727272;
  font-size: 12px;
  line-height: 1.45;
}

.company-signin-helper {
  margin-bottom: 14px;
  border-color: #d7e5dc;
  background: #f6fbf8;
}

.google-signin-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  overflow: hidden;
}

.google-signin-slot > div,
.google-signin-slot iframe {
  width: 100% !important;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: #496159;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  outline: none;
  text-transform: none;
}

.login-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 127, 97, 0.14);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 48px !important;
}

.password-field button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  cursor: pointer;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  border: 0;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.primary-action:hover {
  background: var(--green-dark);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.auth-submit svg {
  width: 18px;
  height: 18px;
}

.auth-message {
  min-height: 42px;
  margin: 18px 0 0;
  padding: 12px 13px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.auth-message:empty {
  padding: 0;
  background: transparent;
}

.auth-message[data-tone="success"] {
  background: #e8f5ef;
  color: var(--green-dark);
}

.auth-message[data-tone="error"] {
  background: #fff0ec;
  color: #a24632;
}

.auth-support {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

.auth-support a {
  color: var(--green-dark);
  font-weight: 850;
}

.home-workspace {
  display: grid;
  gap: 18px;
  align-content: start;
}

/* Pricing */
.pricing-workspace { display: grid; gap: 18px; align-content: start; }
.pricing-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.pricing-header h1 { max-width: 770px; margin: 6px 0 0; font-size: clamp(31px, 3.4vw, 48px); line-height: 1.06; }
.pricing-header .secondary-action { flex: 0 0 auto; }
.pricing-hero, .pricing-card, .add-on-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.pricing-hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: center; padding: 28px; }
.pricing-hero h2 { max-width: 760px; margin: 6px 0 0; font-size: clamp(29px, 3vw, 43px); line-height: 1.08; }
.pricing-trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pricing-trust-row span { padding: 8px 10px; border-radius: 999px; background: #fff0f1; color: #97121a; font-size: 13px; font-weight: 850; }
.pricing-proof { display: grid; gap: 4px; padding: 20px; border: 1px solid #f0bec1; border-radius: 8px; background: #fff0f1; }
.pricing-proof span, .pricing-proof small, .plan-kicker, .feature-list, .add-on-grid p { color: var(--muted); }
.pricing-proof strong { font-size: 38px; line-height: 1; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pricing-card { position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 520px; padding: 24px; cursor: pointer; }
.pricing-card.featured { border-color: #171717; background: linear-gradient(180deg, #171717 0%, #2a1517 100%); color: #fff; }
.pricing-card.featured .plan-head p, .pricing-card.featured .plan-kicker, .pricing-card.featured .price-row span, .pricing-card.featured .feature-list { color: #f1d8da; }
.pricing-card.featured .feature-list li::before { background: #d81925; }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 6px 9px; border-radius: 999px; background: #d81925; color: #fff; font-size: 14px; font-weight: 850; }
.plan-head { display: grid; gap: 8px; padding-right: 18px; }
.plan-head h2, .add-on-panel h2 { margin: 0; font-size: 28px; line-height: 1.1; }
.plan-head p { margin: 0; color: var(--muted); line-height: 1.5; }
.plan-kicker { font-size: 14px; font-weight: 850; text-transform: uppercase; }
.price-row { display: flex; align-items: baseline; gap: 6px; }
.price-row strong { font-size: 52px; line-height: 1; }
.price-row span { color: var(--muted); font-weight: 750; }
.feature-list { display: grid; gap: 11px; margin: 0 0 auto; padding: 0; list-style: none; line-height: 1.4; }
.feature-list li { position: relative; padding-left: 24px; }
.feature-list li::before { position: absolute; top: 0.2em; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--green); content: ""; }
.feature-list li::after { position: absolute; top: 0.39em; left: 4px; width: 5px; height: 3px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg); content: ""; }
.pricing-cta { width: 100%; }
.pricing-card.is-selected { border: 2px solid #d81925; box-shadow: 0 0 0 4px rgba(216, 25, 37, .1), var(--shadow); }
.pricing-card.featured.is-selected { border-color: #ed5961; box-shadow: 0 0 0 4px rgba(237, 89, 97, .22), var(--shadow); }
.pricing-card:focus-visible { outline: 3px solid #1d1d1d; outline-offset: 3px; }
.purchase-selection { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; border: 1px solid #e6c9cb; border-radius: 8px; background: linear-gradient(110deg, #fff8f8, #fff); }
.purchase-selection h2 { margin: 5px 0 6px; color: #1d1c1d; font-size: 25px; letter-spacing: -.04em; }
.purchase-selection p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.selected-plan-checkout { flex: 0 0 auto; min-width: 205px; }
.selected-plan-checkout[aria-disabled="true"] { pointer-events: none; opacity: .48; }
.add-on-panel { display: grid; gap: 20px; padding: 24px; }
.add-on-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.add-on-grid article { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfb; }
.add-on-grid strong, .add-on-grid span { display: block; }
.add-on-grid span { color: #97121a; font-weight: 850; }
.add-on-grid p { margin: 0; line-height: 1.5; }
.add-on-purchase { width: 100%; margin-top: 8px; }
.pricing-sandbox-note { margin: 0; padding: 12px 14px; border: 1px solid #ead8a8; border-radius: 8px; background: #fff8e5; color: #6e5420; font-size: 14px; font-weight: 650; line-height: 1.45; }

/* Plan and usage */
.plan-usage-workspace { gap: 18px; }
.plan-status-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border: 1px solid #ead4d6; border-radius: 12px; background: linear-gradient(125deg, #fffafa, #fff 68%); box-shadow: var(--shadow); }
.plan-status-banner h2 { margin: 4px 0 6px; color: #1d1d1d; font-size: 29px; letter-spacing: -.04em; line-height: 1.08; }
.plan-status-banner p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; font-weight: 650; line-height: 1.5; }
.plan-status-pill { flex: 0 0 auto; padding: 8px 11px; border-radius: 999px; background: #fff0f1; color: #a70f18; font-size: 13px; font-weight: 900; }
.package-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.package-metrics article, .package-detail-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.package-metrics article { display: grid; gap: 7px; min-height: 156px; padding: 22px; }
.package-metrics span { color: var(--muted); font-size: 14px; font-weight: 850; }
.package-metrics strong { color: #a70f18; font-size: 39px; line-height: 1; }
.package-metrics small { color: var(--muted); font-size: 14px; font-weight: 650; line-height: 1.35; }
.package-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.package-detail-card { display: grid; align-content: start; gap: 20px; padding: 24px; }
.package-detail-intro { margin: -8px 0 0; color: var(--muted); font-size: 15px; font-weight: 650; line-height: 1.5; }
.package-inclusion-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.package-inclusion-list li { position: relative; padding-left: 24px; color: #3d3d3d; font-size: 14px; font-weight: 650; line-height: 1.45; }
.package-inclusion-list li::before { position: absolute; top: .25em; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #d81925; content: ""; }
.package-inclusion-list li::after { position: absolute; top: .45em; left: 4px; width: 5px; height: 3px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg); content: ""; }
.credit-card { background: linear-gradient(145deg, #1d1c1d, #322528); color: #fff; }
.credit-card .eyebrow, .credit-card .section-head h2 { color: #fff; }
.credit-balance { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.credit-balance strong { font-size: 44px; line-height: 1; }
.credit-balance span { color: #d5cccf; font-size: 14px; font-weight: 700; }
.credit-meter { height: 11px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.credit-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: #ed5961; transition: width 300ms ease; }
.package-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; }
.package-facts div { padding: 11px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 9px; }
.package-facts dt { color: #c8bcc0; font-size: 10px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.package-facts dd { margin: 5px 0 0; color: #fff; font-size: 13px; font-weight: 800; }
.package-upgrade-link { justify-self: start; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .09); color: #fff; }
.package-upgrade-link:hover { background: rgba(255, 255, 255, .17); }
.package-helper { margin: 0; padding: 12px 14px; border: 1px solid #ead8a8; border-radius: 8px; background: #fff8e5; color: #6e5420; font-size: 14px; font-weight: 650; line-height: 1.45; }
.payment-detail-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 15px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.payment-detail-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: #fff0f1; color: #a70f18; }
.payment-detail-icon svg { width: 23px; height: 23px; }
.payment-detail-card h2 { margin: 4px 0 6px; color: #202020; font-size: 21px; letter-spacing: -.035em; }
.payment-detail-card p:not(.eyebrow) { max-width: 690px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 650; line-height: 1.5; }
.payment-detail-card .secondary-action { flex: 0 0 auto; }
.team-access-card { display: grid; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.team-access-head { align-items: flex-start; }
.team-access-summary { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.team-access-summary .pill { white-space: nowrap; }
.team-invitation-capacity { background: #fff8e5; color: #785515; }
.team-access-head h2 { margin: 4px 0 6px; color: #202020; font-size: 23px; letter-spacing: -.035em; }
.team-access-head p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 650; line-height: 1.5; }
.team-access-content { display: grid; gap: 12px; }
.team-access-empty { margin: 0; padding: 16px; border: 1px dashed #dfc5c7; border-radius: 10px; background: #fffafa; color: var(--muted); font-size: 14px; font-weight: 650; line-height: 1.5; }
.team-member-list { display: grid; gap: 8px; }
.team-member-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid #ececec; border-radius: 10px; background: #fff; }
.team-member-identity { display: flex; align-items: center; min-width: 0; gap: 10px; }
.team-member-initial { display: grid; flex: 0 0 auto; width: 33px; height: 33px; place-items: center; border-radius: 50%; background: #fff0f1; color: #a70f18; font-size: 14px; font-weight: 900; }
.team-member-identity strong, .team-member-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-member-identity strong { color: #242424; font-size: 14px; }
.team-member-identity small { margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 650; }
.team-member-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.team-member-controls select { min-width: 96px; padding: 7px 9px; border: 1px solid #dedede; border-radius: 7px; background: #fff; color: #303030; font: inherit; font-size: 13px; font-weight: 750; }
.team-role-badge { padding: 6px 9px; border-radius: 999px; background: #f3f3f3; color: #555; font-size: 12px; font-weight: 850; }
.text-action { padding: 5px 1px; border: 0; background: transparent; color: #9e1018; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.danger-action { color: #7c3539; }
.team-pending-list { display: grid; gap: 5px; padding: 12px 14px; border-radius: 10px; background: #f9f9f9; color: var(--muted); font-size: 13px; font-weight: 650; }
.team-pending-list p { margin: 0 0 2px; color: #454545; font-weight: 850; }
.team-pending-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-pending-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-invite-form { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; align-items: end; gap: 12px; padding: 18px; border: 1px solid #ead4d6; border-radius: 10px; background: #fffafa; }
.team-invite-heading { grid-column: 1 / -1; }
.team-invite-heading strong, .team-invite-heading small { display: block; }
.team-invite-heading strong { color: #242424; font-size: 15px; }
.team-invite-heading small { margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 650; }
.team-invite-form label { display: grid; gap: 6px; color: #555; font-size: 12px; font-weight: 850; }
.team-invite-form input, .team-invite-form select { min-height: 40px; padding: 0 11px; border: 1px solid #d9d9d9; border-radius: 7px; background: #fff; color: #252525; font: inherit; }
.team-invite-submit { min-height: 40px; }
.team-invite-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; border: 1px solid #c8e2d0; border-radius: 10px; background: #f5fcf7; }
.team-invite-result strong { color: #244d32; font-size: 14px; }.team-invite-result p { margin: 4px 0 0; color: #52705b; font-size: 13px; font-weight: 650; }.team-invite-actions { display: flex; flex: 0 0 auto; gap: 8px; }.team-invite-actions .primary-action, .team-invite-actions .secondary-action { min-height: 38px; }
.team-access-status { min-height: 1.4em; margin: -6px 0 0; color: var(--muted); font-size: 13px; font-weight: 650; }.team-access-status[data-tone="success"] { color: #22743a; }.team-access-status[data-tone="error"] { color: #b21f27; }
@media (max-width: 1100px) { .package-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }.package-detail-layout { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .plan-status-banner, .payment-detail-card, .team-invite-result { align-items: flex-start; flex-direction: column; }.plan-status-banner { padding: 22px; }.package-metrics { grid-template-columns: 1fr; }.package-metrics article, .package-detail-card, .team-access-card { padding: 20px; }.package-facts { grid-template-columns: 1fr; }.package-upgrade-link, .payment-detail-card .secondary-action { width: 100%; }.team-access-summary { justify-content: flex-start; }.team-member-row { align-items: flex-start; flex-direction: column; }.team-member-controls { width: 100%; flex-wrap: wrap; }.team-pending-row { align-items: flex-start; flex-direction: column; }.team-pending-row > span { white-space: normal; }.team-invite-form { grid-template-columns: 1fr; }.team-invite-submit, .team-invite-actions { width: 100%; }.team-invite-actions .primary-action, .team-invite-actions .secondary-action { flex: 1; width: auto; } }

.home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 270px;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1600&q=85")
      center / cover;
}

.secondary-action {
  border: 1px solid rgba(22, 127, 97, 0.22);
  background: #fff;
  color: var(--green-dark);
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  display: grid;
  gap: 5px;
  min-height: 132px;
  padding: 18px;
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-card strong {
  font-size: 42px;
  line-height: 1;
}

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

.workspace-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8f5ef;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.pipeline-list,
.task-list,
.health-row {
  display: grid;
  gap: 10px;
}

.pipeline-list span,
.task-list label {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.task-list label {
  grid-template-columns: auto 1fr;
  align-items: center;
  color: #253630;
  font-weight: 780;
}

.task-list input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.candidate-import {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px dashed rgba(22, 127, 97, 0.4);
  border-radius: 8px;
  background: #f5fbf7;
}

.candidate-import h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.candidate-import p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.import-file-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.import-file-button:hover { background: var(--green-dark); }
.import-file-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.import-status { min-height: 21px; }
.candidate-import-preview { display: grid; gap: 10px; padding-top: 2px; }
.import-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.import-preview-head strong { color: #193c2e; font-size: 14px; }
.import-confirm-button { min-height: 38px; padding: 0 14px; font-size: 13px; cursor: pointer; }
.candidate-import-preview ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.candidate-import-preview li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 10px 12px; border-radius: 6px; background: #fff; color: #33463d; font-size: 13px; }
.candidate-import-preview li span:last-child { color: var(--muted); overflow-wrap: anywhere; }

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

.health-row strong {
  font-size: 34px;
  line-height: 1;
}

.ai-hero {
  min-height: 230px;
  background:
    radial-gradient(circle at 82% 25%, rgba(216, 163, 50, 0.32), transparent 24%),
    linear-gradient(115deg, #0e493c 0%, #126f57 54%, #164c42 100%);
  color: #fff;
}

.ai-hero .eyebrow,
.ai-hero p:not(.eyebrow) {
  color: #d7eee5;
}

.ai-hero h1 {
  color: #fff;
}

.ai-hero .secondary-action {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.ai-tools-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(360px, 1.35fr);
  gap: 18px;
}

.ai-tool-menu {
  align-content: start;
}

.ai-tool-menu .section-head {
  display: block;
  margin-bottom: 12px;
}

.ai-tool-menu h2 {
  font-size: 25px;
}

.ai-tool-choice {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.ai-tool-choice + .ai-tool-choice {
  margin-top: 10px;
}

.ai-tool-choice strong,
.ai-tool-choice span {
  display: block;
}

.ai-tool-choice strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.ai-tool-choice span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.ai-tool-choice:hover,
.ai-tool-choice.selected {
  border-color: rgba(22, 127, 97, 0.52);
  background: #e8f5ef;
}

.ai-tool-choice.selected {
  box-shadow: inset 4px 0 0 var(--green);
}

.ai-tool-group-label {
  margin: 14px 0 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-tool-menu .ai-tool-group-label:first-of-type {
  margin-top: 0;
}

.ai-tool-studio {
  min-height: 390px;
}

.ai-tool-studio textarea {
  width: 100%;
  min-height: 138px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  outline: none;
}

.ai-tool-studio textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 127, 97, 0.14);
}

.ai-tool-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.ai-tool-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #496159;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-tool-field-wide {
  grid-column: 1 / -1;
}

.ai-tool-field input,
.ai-tool-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: normal;
  line-height: 1.45;
  resize: vertical;
  text-transform: none;
}

.ai-tool-field textarea {
  min-height: 96px;
}

.ai-tool-field input:focus,
.ai-tool-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 127, 97, 0.14);
  outline: none;
}

.ai-output {
  min-height: 102px;
  margin: 2px 0 0;
  padding: 16px;
  border: 1px solid #cfe0d9;
  border-radius: 8px;
  background: #f0f7f4;
  color: #29453b;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ai-output > :first-child {
  margin-top: 0;
}

.ai-output > :last-child {
  margin-bottom: 0;
}

.ai-output h2,
.ai-output h3,
.ai-output h4 {
  color: #173c30;
  line-height: 1.2;
}

.ai-output h2 {
  margin: 22px 0 12px;
  font-size: 22px;
}

.ai-output h3 {
  margin: 20px 0 10px;
  font-size: 18px;
}

.ai-output h4 {
  margin: 16px 0 8px;
  font-size: 16px;
}

.ai-output p {
  margin: 0 0 12px;
}

.ai-output ul {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding-left: 22px;
}

.ai-output strong {
  color: #173c30;
}

.ai-studio-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.ai-action-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.credit-usage {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #c8ddd4;
  border-radius: 999px;
  background: #eff8f4;
  color: #17664f;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.resume-upload .resume-credit,
.candidate-resume > .resume-credit {
  align-self: start;
  min-height: 26px;
  width: fit-content;
  padding: 0 8px;
  font-size: 10px;
  line-height: 1.3;
}

.candidate-resume > .resume-credit {
  margin: -2px 12px 0;
}

.detail-profile-status {
  margin: 10px 0 0;
  color: #727272;
  font-size: 12px;
  font-weight: 750;
}

.evidence-checklist {
  display: grid;
  gap: 8px;
  margin: 0 12px 12px;
}

.evidence-checklist label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e3d8d9;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  letter-spacing: normal;
  text-transform: none;
}

.evidence-checklist label:has(input:checked) {
  border-color: #b8d7c2;
  background: #f2faf5;
}

.evidence-checklist input[type="checkbox"] {
  appearance: none;
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.evidence-checklist input[type="checkbox"]:checked {
  border-color: #18704f;
  background: #18704f;
}

.evidence-checklist input[type="checkbox"]:checked::after {
  display: block;
  color: #fff;
  content: "✓";
  font-size: 15px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.evidence-checklist input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(216, 25, 37, .18);
  outline-offset: 2px;
}

.evidence-checklist input[type="checkbox"]:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.evidence-checklist span {
  display: grid;
  gap: 2px;
}

.evidence-checklist b {
  color: #292929;
  font-size: 12px;
}

.evidence-checklist small {
  color: #6d6d6d;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
}

.ai-save-button {
  min-height: 42px;
  padding-inline: 12px;
  font-size: 13px;
}

/* The hidden attribute must win over the shared button display rules. */
#aiToolSave[hidden],
#aiPdfDownload[hidden] {
  display: none !important;
}

.ai-candidate-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.5fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid #dce6e1;
  border-radius: 8px;
  background: var(--surface-soft);
}

.ai-candidate-context label {
  display: grid;
  gap: 6px;
  color: #496159;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-candidate-context select {
  min-height: 44px;
  width: 100%;
  padding: 0 11px;
  border: 1px solid #c8d5cf;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.ai-candidate-context select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(22, 127, 97, 0.14);
}

.ai-candidate-context p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.ai-studio-actions .ai-helper {
  min-width: 0;
  max-width: 820px;
}

.ai-generate-button {
  flex: 0 0 auto;
}

.ai-generate-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ai-helper {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* 3D Studio */
.studio-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 278px;
  background: linear-gradient(118deg, #102321 0%, #155c4e 49%, #1b8270 100%);
  color: #fff;
}

.studio-hero::before,
.studio-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.studio-hero::before {
  top: -130px;
  right: 15%;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.06), 0 0 0 76px rgba(255, 255, 255, 0.035);
}

.studio-hero::after {
  right: -35px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  background: rgba(216, 163, 50, 0.92);
  filter: blur(1px);
}

.studio-hero .eyebrow,
.studio-hero p:not(.eyebrow) {
  color: #d9f0e8;
}

.studio-hero h1 {
  color: #fff;
}

.studio-hero .secondary-action {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.4fr);
  gap: 18px;
}

.studio-ideas {
  align-content: start;
}

.studio-ideas .section-head {
  display: block;
}

.studio-list-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.studio-idea {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.studio-idea + .studio-idea {
  margin-top: 10px;
}

.studio-idea:hover,
.studio-idea.selected {
  border-color: rgba(22, 127, 97, 0.55);
  background: #e8f5ef;
}

.studio-idea.selected {
  box-shadow: inset 4px 0 0 var(--green);
}

.studio-idea:focus-visible {
  outline: 3px solid rgba(22, 127, 97, 0.3);
  outline-offset: 2px;
}

.idea-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--green-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.studio-idea strong,
.studio-idea span {
  display: block;
}

.studio-idea strong {
  margin-bottom: 3px;
  font-size: 16px;
}

.studio-idea span:not(.idea-number) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.studio-canvas {
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(145deg, #f5faf7, #e7f1ed);
}

.studio-canvas .section-head {
  align-items: start;
}

.studio-summary {
  max-width: 440px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.studio-stage {
  position: relative;
  display: grid;
  min-height: 365px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #cee0d7;
  border-radius: 14px;
  background:
    linear-gradient(rgba(19, 101, 80, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 101, 80, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 25%, #fff 0, #eef7f3 52%, #dcebe4 100%);
  background-size: 26px 26px, 26px 26px, auto;
  perspective: 900px;
}

.studio-stage::before {
  position: absolute;
  bottom: 38px;
  width: 250px;
  height: 54px;
  border-radius: 50%;
  background: rgba(11, 52, 42, 0.18);
  filter: blur(13px);
  content: "";
}

.studio-orbit {
  position: absolute;
  width: 265px;
  height: 108px;
  border: 2px solid rgba(22, 127, 97, 0.38);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-14deg);
}

.studio-orbit.orbit-two {
  width: 220px;
  height: 95px;
  border-color: rgba(216, 163, 50, 0.65);
  transform: rotateX(68deg) rotateZ(48deg);
}

.studio-cube {
  position: relative;
  width: 145px;
  height: 145px;
  transform: rotateX(-26deg) rotateY(36deg);
  transform-style: preserve-3d;
  transition: transform 450ms ease;
}

.studio-stage:hover .studio-cube {
  transform: rotateX(-18deg) rotateY(54deg) translateY(-7px);
}

.cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(21, 126, 96, 0.94), rgba(11, 74, 59, 0.92));
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.16);
}

.cube-face.front { transform: translateZ(72px); }
.cube-face.back { transform: rotateY(180deg) translateZ(72px); }
.cube-face.right { background: #0b4a3b; transform: rotateY(90deg) translateZ(72px); }
.cube-face.left { background: #1f9376; transform: rotateY(-90deg) translateZ(72px); }
.cube-face.top { background: #47b796; transform: rotateX(90deg) translateZ(72px); }
.cube-face.bottom { background: #083d31; transform: rotateX(-90deg) translateZ(72px); }

.stage-chip {
  position: absolute;
  min-width: 102px;
  padding: 8px 10px;
  border: 1px solid rgba(22, 127, 97, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.87);
  box-shadow: 0 8px 18px rgba(19, 66, 54, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.chip-one { top: 42px; left: 9%; }
.chip-two { right: 8%; bottom: 52px; }
.chip-three { right: 10%; top: 86px; }

.studio-stage[data-concept="equity"] .studio-cube { transform: rotateX(-26deg) rotateY(-36deg); }
.studio-stage[data-concept="interview"] .studio-orbit { border-color: rgba(216, 163, 50, 0.7); }
.studio-stage[data-concept="skills"] .cube-face.front { background: linear-gradient(135deg, #d8a332, #aa7320); }
.studio-stage[data-concept="onboarding"] .cube-face.top { background: #7bcdb3; }

.studio-footer-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.studio-footer-note::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 127, 97, 0.12);
  content: "";
}

.studio-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 15px 0 0;
}

.studio-detail-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #cfe0d9;
  border-radius: 9px;
  background: rgba(255, 255, 255, .74);
}

.studio-detail-grid dt {
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.studio-detail-grid dd {
  margin: 5px 0 0;
  color: #314a41;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.42;
}

.studio-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.studio-create-panel {
  padding: 26px;
}

.studio-create-panel .section-head {
  margin-bottom: 20px;
}

.studio-create-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.55fr);
  gap: 15px;
}

.studio-create-form label {
  display: grid;
  gap: 7px;
  color: #496159;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.studio-create-form input,
.studio-create-form select,
.studio-create-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: normal;
  line-height: 1.45;
  text-transform: none;
}

.studio-create-form textarea {
  min-height: 92px;
  resize: vertical;
}

.studio-create-form input:focus,
.studio-create-form select:focus,
.studio-create-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(22, 127, 97, .14);
}

.studio-description-field,
.studio-create-actions,
.studio-create-status {
  grid-column: 1 / -1;
}

.studio-create-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.studio-clear-button {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.studio-clear-button:hover {
  border-color: #b5c9c0;
  color: var(--green-dark);
}

.studio-create-status {
  min-height: 18px;
  margin: -3px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
}

.studio-create-tip {
  display: grid;
  align-content: center;
  gap: 9px;
  min-height: 250px;
  padding: 28px;
  border-radius: 10px;
  background: #102722;
  color: #fff;
  box-shadow: var(--shadow);
}

.studio-create-tip .eyebrow { color: #9cd6c2; }
.studio-create-tip strong { font-size: 23px; line-height: 1.1; }
.studio-create-tip span { color: #c9ddd6; font-size: 14px; font-weight: 600; line-height: 1.55; }

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 12px;
  }

  .brand span:not(.brand-mark),
  .nav-item {
    font-size: 0;
  }

  .brand,
  .nav-item {
    justify-content: center;
  }

  .sidebar-card {
    display: none;
  }

  .auth-layout,
  .content-grid,
  .ai-tools-layout,
  .studio-layout,
  .studio-create-layout,
  .pricing-grid,
  .add-on-grid {
    grid-template-columns: 1fr;
  }
  .purchase-selection { align-items: stretch; flex-direction: column; }
  .selected-plan-checkout { width: 100%; }

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

  .auth-story {
    min-height: 420px;
  }

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

@media (max-width: 720px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    max-width: 100vw;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
  }

  .sidebar::-webkit-scrollbar {
    display: none;
  }

  .brand {
    display: none;
  }

  .nav-stack {
    display: flex;
    flex: 0 0 auto;
  }

  .nav-utility {
    margin-left: auto;
  }

  .workspace {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 18px;
  }

  .auth-workspace {
    min-height: auto;
  }

  .auth-story,
  .auth-panel,
  .home-hero,
  .workspace-panel {
    padding: 22px;
  }

  .auth-proof-grid,
  .metric-grid,
  .health-row {
    grid-template-columns: 1fr;
  }

  .home-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-studio-actions {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ai-candidate-context {
    grid-template-columns: 1fr;
  }

  .ai-tool-fields {
    grid-template-columns: 1fr;
  }

  .studio-create-form {
    grid-template-columns: 1fr;
  }

  .studio-detail-grid {
    grid-template-columns: 1fr;
  }

  .studio-description-field,
  .studio-create-actions,
  .studio-create-status {
    grid-column: 1;
  }

  .ai-action-buttons {
    grid-column: 1;
    justify-content: flex-start;
  }

  .pricing-header {
    align-items: stretch;
    flex-direction: column;
  }

  .pricing-header .secondary-action {
    width: 100%;
  }

  .import-preview-head {
    align-items: stretch;
    flex-direction: column;
  }

  .import-confirm-button {
    width: 100%;
  }

  .candidate-import-preview li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .home-hero h1,
  .auth-story h1 {
    font-size: clamp(34px, 12vw, 48px);
  }
}

/* Login route: keep its red, black, and white theme independent from the workspace. */
.login-page {
  min-width: 320px;
  min-height: 100vh;
  background: #f7f7f8;
  color: #101114;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-page .login-shell {
  display: grid;
  grid-template-columns: minmax(420px, 42%) minmax(0, 1fr);
  min-height: 100vh;
}

.login-page .login-story {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px 22px 18vh;
  background:
    radial-gradient(ellipse 80% 52% at -11% 0%, rgba(225, 39, 43, 0.95) 0%, rgba(164, 20, 26, 0.82) 34%, rgba(24, 17, 18, 0.42) 65%, transparent 100%),
    linear-gradient(145deg, #211617 0%, #111112 53%, #101011 100%);
  color: #ffffff;
}

.login-page .login-story::after {
  position: absolute;
  z-index: -1;
  right: -165px;
  bottom: -210px;
  width: min(42vw, 610px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f34043;
  content: "";
}

.login-page .login-brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
}

.login-page .login-brand-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #101114;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
}

.login-page .login-story-copy {
  max-width: 720px;
}

.login-page .login-kicker {
  margin: 0;
  color: #ff9d9f;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.35;
  text-transform: uppercase;
}

.login-page .login-story h1 {
  max-width: 650px;
  margin: 38px 0 42px;
  color: #ffffff;
  font-size: clamp(50px, 5.1vw, 84px);
  font-weight: 830;
  letter-spacing: 0;
  line-height: 0.98;
}

.login-page .login-story-copy > p:last-child {
  max-width: 670px;
  margin: 0;
  color: #cad0d5;
  font-size: 22px;
  line-height: 1.72;
}

.login-page .login-main {
  display: grid;
  min-width: 0;
  min-height: 100vh;
  place-items: center;
  padding: 66px 38px;
  background: #f7f7f8;
}

.login-page .login-form-area {
  width: min(100%, 624px);
}

.login-page .back-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 58px;
  color: #101114;
  font-size: 18px;
  font-weight: 780;
}

.login-page .back-home::before {
  content: "←";
  font-size: 24px;
  line-height: 0.7;
}

.login-page .login-heading {
  margin-bottom: 48px;
}

.login-page .login-heading .login-kicker {
  color: #e8282c;
}

.login-page .login-heading h2 {
  margin: 25px 0 20px;
  color: #101114;
  font-size: 54px;
  font-weight: 860;
  letter-spacing: 0;
  line-height: 0.98;
}

.login-page .login-heading > p:last-child {
  margin: 0;
  color: #5e6670;
  font-size: 21px;
  line-height: 1.5;
}

.login-page .google-login-wrap {
  width: 100%;
}

.login-page .google-signin-slot {
  display: flex;
  width: 100%;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dcdee2;
  border-radius: 17px;
  background: #ffffff;
}

.login-page .google-signin-slot > div,
.login-page .google-signin-slot iframe {
  width: 100% !important;
}

.login-page .login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 48px 0 42px;
  color: #7d858e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.login-page .login-divider::before,
.login-page .login-divider::after {
  height: 1px;
  background: #dedfe3;
  content: "";
}

.login-page .red-login-form {
  gap: 28px;
}

.login-page .red-login-form label:not(.remember-option) {
  gap: 12px;
  color: #141519;
  font-size: 17px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: none;
}

.login-page .red-login-form input[type="email"],
.login-page .red-login-form input[type="password"],
.login-page .red-login-form input[type="text"],
.login-page .red-login-form input[type="url"],
.login-page .red-login-form select {
  min-height: 69px;
  padding: 0 20px;
  border: 1px solid #dcdde1;
  border-radius: 17px;
  background: #ffffff;
  color: #101114;
  font-size: 18px;
  font-weight: 650;
}

.login-page .red-login-form input::placeholder {
  color: #a5abb2;
  opacity: 1;
}

.login-page .red-login-form input:focus {
  border-color: #e8282c;
  box-shadow: 0 0 0 4px rgba(232, 40, 44, 0.13);
}

.login-page .red-login-form .password-field button {
  top: 10px;
  right: 10px;
  width: 49px;
  height: 49px;
  background: transparent;
  color: #5f6871;
}

.login-page .login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: -3px;
}

.login-page .remember-option {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #5e6670;
  font-size: 17px;
  font-weight: 650;
}

.login-page .remember-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #e8282c;
}

.login-page .terms-option {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: #5e6670;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.login-page .terms-option input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: #e8282c;
}

.signup-page .login-heading {
  margin-bottom: 28px;
}

.signup-page .login-main {
  place-items: start center;
  padding: 38px 44px 54px;
}

.signup-page .login-story h1 {
  max-width: 500px;
  margin: 30px 0 24px;
  font-size: 52px;
  line-height: 1;
}

.signup-page .login-shell {
  grid-template-columns: minmax(340px, 36%) minmax(0, 1fr);
}

.signup-page .login-story {
  padding: 28px 28px 74px;
  background: #161516;
}

.signup-page .login-story::after {
  display: none;
}

.signup-page .login-story-copy > p:last-child {
  max-width: 470px;
  color: #c6c4c5;
  font-size: 17px;
  line-height: 1.58;
}

.signup-page .login-kicker {
  font-size: 12px;
  letter-spacing: 2px;
}

.signup-page .login-heading h2 {
  margin: 14px 0 12px;
  font-size: 42px;
  line-height: 1.02;
}

.signup-page .login-heading > p:last-child {
  max-width: 630px;
  font-size: 16px;
  line-height: 1.5;
}

.invitation-signup #companyWorkspaceSection { display: none; }

.signup-page .login-form-area {
  width: min(100%, 680px);
}

.signup-page .signup-form {
  gap: 20px;
}

.signup-page .signup-section {
  display: grid;
  gap: 16px;
  padding: 2px 0 20px;
  border-bottom: 1px solid #e1e1e4;
}

.invite-signup-notice { margin: 0; padding: 12px 14px; border: 1px solid #f0c5c8; border-radius: 8px; background: #fff4f4; color: #8b1c22; font-size: 13px; font-weight: 700; line-height: 1.45; }

.signup-page .signup-section-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.signup-page .signup-section-head > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: #f6e3e4;
  color: #b81820;
  font-size: 12px;
  font-weight: 900;
}

.signup-page .signup-section-head strong,
.signup-page .signup-section-head small {
  display: block;
}

.signup-page .signup-section-head strong {
  color: #151517;
  font-size: 15px;
  font-weight: 850;
}

.signup-page .signup-section-head small {
  margin-top: 4px;
  color: #6e747b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.signup-page .signup-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signup-page .red-login-form label:not(.terms-option) {
  gap: 7px;
  font-size: 13px;
}

.signup-page .red-login-form input[type="email"],
.signup-page .red-login-form input[type="password"],
.signup-page .red-login-form input[type="text"],
.signup-page .red-login-form input[type="url"],
.signup-page .red-login-form select {
  min-height: 54px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 15px;
}

.signup-page .red-login-form .password-field button {
  top: 4px;
  right: 5px;
  width: 44px;
  height: 44px;
}

.signup-page .red-login-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6c7178 50%), linear-gradient(135deg, #6c7178 50%, transparent 50%);
  background-position: calc(100% - 20px) 23px, calc(100% - 14px) 23px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  cursor: pointer;
}

.signup-page .red-login-form label > span:first-child em {
  margin-left: 6px;
  color: #777d84;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

.signup-page .terms-option {
  gap: 10px;
  font-size: 13px;
}

.signup-page .terms-option input {
  width: 17px;
  height: 17px;
}

.signup-page .login-submit {
  min-height: 56px;
  border-radius: 8px;
  font-size: 16px;
}

.signup-page .login-access {
  margin-top: 20px;
  font-size: 14px;
}

@media (max-width: 960px) {
  .signup-page .login-shell {
    grid-template-columns: minmax(290px, 33%) minmax(0, 1fr);
  }

  .signup-page .login-story h1 {
    font-size: 44px;
  }

  .signup-page .login-main {
    padding-inline: 30px;
  }
}

@media (max-width: 720px) {
  .signup-page .login-story h1 {
    font-size: 40px;
  }

  .signup-page .login-main {
    padding: 30px 20px 44px;
  }

  .signup-page .login-heading h2 {
    font-size: 34px;
  }
}

.login-page .login-options a,
.login-page .login-access a {
  color: #e8282c;
  font-size: 17px;
  font-weight: 820;
}

.login-page .login-submit {
  min-height: 72px;
  border: 0;
  border-radius: 17px;
  background: #e8282c;
  color: #ffffff;
  font-size: 20px;
  font-weight: 820;
  cursor: pointer;
}

.login-page .login-submit:hover {
  background: #c91e23;
}

.login-page .login-submit:focus-visible,
.login-page .back-home:focus-visible,
.login-page .login-options a:focus-visible,
.login-page .login-access a:focus-visible {
  outline: 3px solid #e8282c;
  outline-offset: 4px;
}

.login-page .login-message {
  margin: 18px 0 0;
  text-align: center;
}

.login-page .login-message[data-tone="success"] {
  background: #fff0f0;
  color: #b91d22;
}

.login-page .login-provider-note,
.login-page .login-access {
  margin: 26px auto 0;
  color: #5e6670;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.login-page .login-access {
  margin-top: 28px;
}

.login-page .login-access a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (max-width: 960px) {
  .login-page .login-shell {
    grid-template-columns: minmax(300px, 39%) minmax(0, 1fr);
  }

  .login-page .login-story {
    padding: 22px 20px 80px;
  }

  .login-page .login-story h1 {
    margin: 30px 0;
    font-size: clamp(42px, 6.4vw, 62px);
  }

  .login-page .login-story-copy > p:last-child {
    font-size: 18px;
  }

  .login-page .login-main {
    padding: 48px 30px;
  }
}

@media (max-width: 720px) {
  .login-page .login-shell {
    display: block;
  }

  .login-page .login-story {
    min-height: 360px;
    padding: 18px 20px 44px;
  }

  .login-page .login-brand {
    font-size: 20px;
  }

  .login-page .login-brand-mark {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .login-page .login-story h1 {
    max-width: 500px;
    margin: 50px 0 18px;
    font-size: clamp(41px, 11vw, 58px);
  }

  .login-page .login-story-copy > p:last-child {
    font-size: 17px;
    line-height: 1.55;
  }

  .login-page .login-main {
    min-height: auto;
    padding: 38px 20px 56px;
  }

  .login-page .back-home {
    margin-bottom: 46px;
    font-size: 16px;
  }

  .login-page .login-heading {
    margin-bottom: 34px;
  }

  .login-page .login-heading h2 {
    font-size: 45px;
  }

  .login-page .login-heading > p:last-child {
    font-size: 18px;
  }

  .login-page .login-divider {
    margin: 38px 0 34px;
  }

  .login-page .red-login-form {
    gap: 23px;
  }

  .login-page .terms-option {
    font-size: 15px;
  }

  .login-page .red-login-form input[type="email"],
  .login-page .red-login-form input[type="password"],
  .login-page .red-login-form input[type="text"],
  .login-page .red-login-form input[type="url"],
  .login-page .red-login-form select,
  .login-page .login-submit {
    min-height: 62px;
    border-radius: 14px;
  }

  .signup-page .signup-field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .login-page .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

/* Final sizing overrides for the company-workspace onboarding flow. */
.signup-page .login-submit {
  min-height: 56px;
  border-radius: 8px;
  font-size: 16px;
}

@media (max-width: 720px) {
  .signup-page .login-heading h2 {
    font-size: 34px;
  }

  .signup-page .red-login-form input[type="email"],
  .signup-page .red-login-form input[type="password"],
  .signup-page .red-login-form input[type="text"],
  .signup-page .red-login-form input[type="url"],
  .signup-page .red-login-form select,
  .signup-page .login-submit {
    min-height: 52px;
    border-radius: 8px;
  }
}

/* Account overview */
.account-workspace {
  display: grid;
  gap: 18px;
  align-content: start;
}

.account-hero,
.account-profile-card,
.account-stat,
.account-details,
.account-preferences,
.account-security {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.account-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background:
    radial-gradient(circle at 87% 6%, rgba(216, 25, 37, 0.7), transparent 29%),
    linear-gradient(125deg, #101010, #242124 58%, #35171a);
  color: #fff;
}

.account-hero .eyebrow,
.account-hero p:not(.eyebrow) {
  color: #ffcbce;
}

.account-hero h1 {
  max-width: 670px;
  margin: 7px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
}

.account-hero p:not(.eyebrow) {
  max-width: 630px;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.account-hero .secondary-action {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.plan-usage-hero {
  min-height: 0;
  padding: 20px 24px;
}

.plan-usage-hero h1 {
  max-width: 610px;
  margin: 4px 0 7px;
  font-size: clamp(26px, 3vw, 38px);
}

.plan-usage-hero p:not(.eyebrow) {
  max-width: 590px;
  font-size: 14px;
}

.plan-usage-hero .secondary-action {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.account-profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
}

.account-access-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px 28px;
  border: 1px solid #ead4d6;
  border-radius: 12px;
  background: linear-gradient(125deg, #fffafa, #ffffff 68%);
  box-shadow: var(--shadow);
}

.account-access-lead {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.account-access-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: #1b1b1b;
  color: #fff;
}

.account-access-icon svg {
  width: 21px;
  height: 21px;
}

.account-access-lead h2 {
  margin: 4px 0 6px;
  color: #1d1d1d;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.account-access-lead p:not(.eyebrow) {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.account-context-badge {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff0f1;
  color: #a70f18;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.account-context-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-context-grid > div,
.plan-detail-grid > div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid #eee2e3;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
}

.account-context-grid span,
.plan-detail-grid span {
  color: #777;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-context-grid strong,
.plan-detail-grid strong {
  color: #202020;
  font-size: 14px;
}

.account-context-grid small,
.plan-detail-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.account-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e63a44, #a70f18);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.account-profile-copy h2 {
  margin: 4px 0 3px;
  font-size: 25px;
}

.account-profile-copy > p:not(.eyebrow),
.account-email {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.account-email {
  display: inline-block;
  margin-top: 6px;
  color: var(--green-dark);
}

.account-login-source {
  display: table;
  margin-top: 8px;
  padding: 5px 8px;
  border: 1px solid #f0cfd1;
  border-radius: 999px;
  background: #fff7f7;
  color: #a70f18;
  font-size: 12px;
  font-weight: 800;
}

.account-profile-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 10px 13px;
  border: 1px solid #f2c5c8;
  border-radius: 999px;
  background: #fff2f3;
  color: #a70f18;
  font-size: 14px;
  font-weight: 850;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d81925;
  box-shadow: 0 0 0 4px rgba(216, 25, 37, 0.12);
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.account-stat {
  display: grid;
  gap: 6px;
  min-height: 156px;
  padding: 22px;
}

.account-stat > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.account-stat strong {
  color: #a70f18;
  font-size: 31px;
  line-height: 1.08;
}

.account-stat small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.account-layout .workspace-panel {
  min-height: 0;
}

.text-action {
  color: #a70f18;
  font-size: 14px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.account-list > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.account-list dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.account-list dd {
  margin: 0;
  color: #294238;
  font-size: 15px;
  font-weight: 800;
}

.role-badge,
.preference-state {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff0f1;
  color: #a70f18;
  font-size: 12px;
  font-weight: 900;
}

.preference-list {
  display: grid;
  gap: 0;
}

.preference-list > div {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.preference-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-soft);
  color: #a70f18;
}

.preference-icon svg {
  width: 18px;
  height: 18px;
}

.preference-list strong,
.preference-list small {
  display: block;
}

.preference-list strong {
  color: #294238;
  font-size: 15px;
}

.preference-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.account-security {
  grid-column: 1 / -1;
}

.billing-plan {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid #f0cfd1;
  border-radius: 10px;
  background: #fff7f7;
}

.billing-plan > span,
.billing-plan small,
.billing-helper {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.billing-plan > span {
  color: #a70f18;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.billing-plan strong {
  color: #1c1c1c;
  font-size: 20px;
  line-height: 1.15;
}

.plan-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.plan-inclusions {
  padding-top: 2px;
}

.plan-inclusions .eyebrow {
  margin-bottom: 9px;
}

.plan-inclusions ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-inclusions li {
  position: relative;
  padding-left: 20px;
  color: #3d3d3d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.plan-inclusions li::before {
  position: absolute;
  top: 0.32em;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d81925;
  content: "";
}

.payment-method-list {
  display: grid;
  gap: 9px;
}

.payment-loading,
.billing-helper {
  margin: 0;
}

.payment-empty-state {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.payment-method-icon {
  display: grid;
  width: 38px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: #1b1b1b;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.payment-empty-state strong,
.payment-empty-state small {
  display: block;
}

.payment-empty-state strong {
  color: #242424;
  font-size: 14px;
}

.payment-empty-state small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

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

.security-grid > div {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid #d6e6df;
  border-radius: 9px;
  background: #f5faf7;
}

.security-grid strong {
  color: #294238;
  font-size: 15px;
}

.security-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .account-summary-grid,
  .security-grid,
  .account-context-grid {
    grid-template-columns: 1fr;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-security {
    grid-column: auto;
  }

  .plan-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .account-hero,
  .account-profile-card,
  .account-access-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .account-access-card {
    display: flex;
  }

  .account-profile-status {
    margin-left: 0;
  }

  .account-hero .secondary-action {
    width: 100%;
  }

  .plan-usage-hero {
    padding: 18px;
  }

  .plan-usage-hero h1 {
    font-size: 28px;
  }

  .account-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* AI HR Dashboard */
.dashboard-workspace { max-width: 1600px; padding: 34px; }
.dashboard-topbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 26px; }
.dashboard-topbar h1 { margin: 7px 0 8px; color: #111; font-size: clamp(38px, 4vw, 58px); letter-spacing: -0.055em; line-height: 0.95; }
.dashboard-topbar > div:first-child > p:not(.eyebrow) { max-width: 670px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.dashboard-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.dashboard-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 5px; background: #d81925; color: #fff; font-size: 14px; font-weight: 850; }
.dashboard-button:hover { background: #ab111a; }
.dashboard-button-ghost { border: 1px solid #1a1a1a; background: #fff; color: #181818; }
.dashboard-button-ghost:hover { background: #181818; color: #fff; }
.dashboard-alert { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; padding: 13px 16px; border: 1px solid #efc6c8; border-left: 4px solid #d81925; background: #fff; }
.dashboard-alert p { flex: 1; margin: 0; color: #393939; font-size: 14px; line-height: 1.45; }
.dashboard-alert strong { color: #191919; }
.dashboard-alert a { color: #b7101a; font-size: 13px; font-weight: 850; white-space: nowrap; }
.alert-dot { width: 9px; height: 9px; border-radius: 50%; background: #d81925; box-shadow: 0 0 0 5px #fae0e1; }
.dashboard-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.dashboard-kpis article { display: grid; gap: 8px; min-height: 142px; padding: 18px; border: 1px solid #dedede; border-top: 3px solid #191919; background: #fff; }
.dashboard-kpis article:first-child { border-top-color: #d81925; }
.dashboard-kpis span { color: #676767; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.dashboard-kpis strong { color: #171717; font-size: 36px; letter-spacing: -0.045em; line-height: 1; }
.dashboard-kpis small { color: #737373; font-size: 13px; font-weight: 650; }
.dashboard-kpis b { color: #b7101a; font-weight: 850; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.92fr); gap: 18px; align-items: start; }
.dashboard-panel { min-width: 0; padding: 22px; border: 1px solid #dedede; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.035); }
.dashboard-panel-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dashboard-panel-head h2 { margin: 5px 0 0; color: #181818; font-size: 24px; letter-spacing: -0.035em; }
.dashboard-panel-head > a { color: #b7101a; font-size: 13px; font-weight: 850; }
.candidate-table { display: grid; border-top: 1px solid #e7e7e7; }
.candidate-table-head, .candidate-table-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr auto; gap: 14px; align-items: center; }
.candidate-table-head { padding: 10px 12px; color: #7a7a7a; font-size: 11px; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.candidate-table-row { padding: 14px 12px; border-top: 1px solid #ededed; color: #4c4c4c; font-size: 13px; }
.candidate-table-row > span:first-child { display: grid; gap: 3px; }
.candidate-table-row b { color: #181818; font-size: 14px; }
.candidate-table-row small { color: #858585; font-size: 12px; }
.status-chip { display: inline-flex; justify-content: center; padding: 6px 9px; border: 1px solid #d8d8d8; border-radius: 999px; color: #3d3d3d; font-size: 11px; font-weight: 850; white-space: nowrap; }
.status-red { border-color: #f0bec1; background: #fff0f1; color: #ad1119; }
.status-dark { border-color: #242424; background: #202020; color: #fff; }
.dashboard-panel .candidate-import { margin-top: 20px; border-color: #dadada; border-left: 3px solid #d81925; border-radius: 0; background: #fafafa; }
.dashboard-panel .candidate-import h3 { color: #1b1b1b; }
.import-file-button { background: #191919; border-radius: 4px; }
.import-file-button:hover { background: #d81925; }
.import-status[data-tone="success"] { color: #a70f18 !important; }
.import-status[data-tone="error"] { color: #c30f1b !important; }
.candidate-import-preview li { border: 1px solid #e4e4e4; border-radius: 3px; }
.daily-panel { background: #161616; color: #fff; }
.daily-panel .dashboard-panel-head h2, .daily-panel .eyebrow { color: #fff; }
.daily-panel .eyebrow { opacity: 0.65; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 12px; font-weight: 800; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #df2631; }
.agenda-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.agenda-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.15); }
.agenda-list time { color: #ef5860; font-size: 13px; font-weight: 850; }
.agenda-list div { display: grid; gap: 4px; }
.agenda-list strong { font-size: 14px; }
.agenda-list span, .agenda-list em { color: #b8b8b8; font-size: 12px; font-style: normal; }
.decision-stack { display: grid; gap: 5px; margin-top: 9px; padding: 14px; border: 1px solid rgba(255,255,255,0.16); background: #282828; }
.decision-stack strong { color: #fff; font-size: 14px; }
.decision-stack span { color: #bdbdbd; font-size: 13px; line-height: 1.45; }
.decision-stack a { color: #ff6971; font-size: 13px; font-weight: 850; }
.funnel-panel, .action-panel { min-height: 278px; }
.funnel-list { display: grid; gap: 15px; }
.funnel-list > div { display: grid; grid-template-columns: 85px 38px minmax(0,1fr); align-items: center; gap: 10px; }
.funnel-list span { color: #555; font-size: 13px; font-weight: 700; }
.funnel-list b { color: #1d1d1d; font-size: 13px; }
.funnel-list i { display: block; height: 9px; border-radius: 999px; background: #d81925; }
.period-label { color: #757575; font-size: 12px; font-weight: 750; }
.funnel-footer { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #e7e7e7; color: #707070; font-size: 12px; }
.funnel-footer b { color: #191919; }
.action-panel { grid-column: 1 / -1; }
.action-panel .dashboard-panel-head { margin-bottom: 6px; }
.ai-action { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid #e8e8e8; }
.ai-action > span { display: grid; place-items: center; width: 30px; height: 30px; background: #181818; color: #fff; font-size: 11px; font-weight: 850; }
.ai-action div { display: grid; gap: 4px; }
.ai-action strong { color: #1c1c1c; font-size: 14px; }
.ai-action p { margin: 0; color: #717171; font-size: 13px; line-height: 1.45; }
.ai-action a { color: #b7101a; font-size: 13px; font-weight: 850; }

@media (max-width: 1100px) {
  .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .action-panel { grid-column: auto; }
}

@media (max-width: 720px) {
  .dashboard-workspace { padding: 20px; }
  .dashboard-topbar, .dashboard-actions { align-items: stretch; flex-direction: column; }
  .dashboard-actions { width: 100%; }
  .dashboard-button { width: 100%; }
  .dashboard-alert { align-items: flex-start; flex-wrap: wrap; }
  .dashboard-alert a { margin-left: 20px; }
  .dashboard-kpis { grid-template-columns: 1fr; }
  .candidate-table-head { display: none; }
  .candidate-table-row { grid-template-columns: 1fr; gap: 6px; }
  .candidate-table-row > span:nth-child(2)::before { content: "Role: "; color: #888; }
  .candidate-table-row > span:nth-child(3)::before { content: "Next: "; color: #888; }
  .status-chip { width: fit-content; }
  .ai-action { grid-template-columns: 32px minmax(0, 1fr); }
  .ai-action a { grid-column: 2; }
}

/* Friendlier dashboard refinements */
.dashboard-workspace { max-width: 1500px; padding: 30px; }
.dashboard-topbar { align-items: center; min-height: 256px; padding: 32px; border-radius: 18px; background: radial-gradient(circle at 86% 18%, rgba(216, 25, 37, 0.7), transparent 28%), linear-gradient(135deg, #101010 0%, #242124 100%); box-shadow: 0 18px 44px rgba(20, 15, 16, 0.15); }
.dashboard-topbar h1 { max-width: 680px; color: #fff; font-size: clamp(42px, 4.5vw, 64px); letter-spacing: -0.06em; }
.dashboard-topbar > div:first-child > p:not(.eyebrow) { color: rgba(255,255,255,0.78); }
.dashboard-topbar .eyebrow { color: #ffb8bc; }
.dashboard-context { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.dashboard-context span { padding: 7px 10px; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; background: rgba(255,255,255,0.08); color: #fff; font-size: 12px; font-weight: 750; }
.dashboard-topbar .dashboard-button { border-radius: 9px; }
.dashboard-topbar .dashboard-button-ghost { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.09); color: #fff; }
.dashboard-topbar .dashboard-button-ghost:hover { background: #fff; color: #171717; }
.dashboard-alert { margin-top: 18px; border: 0; border-left: 0; border-radius: 12px; background: #fff3f3; box-shadow: none; }
.dashboard-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.dashboard-shortcuts a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 94px; padding: 16px; border: 1px solid #e5e5e5; border-radius: 13px; background: #fff; box-shadow: 0 9px 20px rgba(20,20,20,0.035); transition: transform 160ms ease, border-color 160ms ease; }
.dashboard-shortcuts a:hover { transform: translateY(-2px); border-color: #e4a0a4; }
.shortcut-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #1c1c1c; color: #fff; font-size: 11px; font-weight: 900; }
.dashboard-shortcuts a:nth-child(2) .shortcut-icon { background: #d81925; }
.dashboard-shortcuts strong { display: block; color: #1c1c1c; font-size: 14px; }
.dashboard-shortcuts small { display: block; margin-top: 4px; color: #777; font-size: 12px; line-height: 1.35; }
.dashboard-shortcuts b { color: #c20f19; font-size: 18px; }
.dashboard-kpis { gap: 14px; }
.dashboard-kpis article { min-height: 128px; border: 0; border-radius: 13px; box-shadow: 0 9px 20px rgba(20,20,20,0.035); }
.dashboard-kpis article:first-child { border-top: 0; box-shadow: inset 0 3px 0 #d81925, 0 9px 20px rgba(20,20,20,0.035); }
.dashboard-panel { border: 0; border-radius: 15px; box-shadow: 0 10px 25px rgba(20,20,20,0.045); }
.dashboard-panel-head h2 { font-size: 25px; }
.candidate-table-row { border-radius: 9px; transition: background 160ms ease; }
.candidate-table-row:hover { background: #fafafa; }
.dashboard-panel .candidate-import { border: 1px solid #e7e7e7; border-left: 3px solid #d81925; border-radius: 12px; }
.daily-panel { background: linear-gradient(145deg, #1b1b1c, #2a2022); }
.decision-stack { border-radius: 10px; background: rgba(255,255,255,0.09); }
.funnel-panel { background: linear-gradient(145deg, #fff, #fff8f8); }
.action-panel { background: #fdfdfd; }
.ai-action { padding: 16px 5px; }

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

@media (max-width: 720px) {
  .dashboard-workspace { padding: 16px; }
  .dashboard-topbar { min-height: 0; padding: 24px; border-radius: 14px; }
  .dashboard-context span { font-size: 11px; }
  .dashboard-alert { margin-top: 14px; }
}

/* Dashboard hierarchy: consolidate actions into a clear daily flow. */
.dashboard-section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 24px 0 12px; }
.dashboard-section-title h2 { margin: 4px 0 0; color: #191919; font-size: 22px; letter-spacing: -0.035em; line-height: 1.1; }
.dashboard-section-title > span { color: #777; font-size: 12px; font-weight: 750; }
.dashboard-focus { margin: 24px 0 18px; }
.dashboard-focus .dashboard-section-title { margin-top: 0; }
.dashboard-focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dashboard-focus-grid a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 92px; padding: 16px; border: 1px solid #e5e5e5; border-radius: 13px; background: #fff; box-shadow: 0 9px 20px rgba(20,20,20,0.035); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.dashboard-focus-grid a:hover { border-color: #e4a0a4; box-shadow: 0 12px 24px rgba(20,20,20,0.07); transform: translateY(-2px); }
.dashboard-focus-grid a:nth-child(2) .shortcut-icon { background: #d81925; }
.dashboard-focus-grid strong { display: block; color: #1c1c1c; font-size: 14px; }
.dashboard-focus-grid small { display: block; margin-top: 4px; color: #777; font-size: 12px; line-height: 1.35; }
.dashboard-focus-grid b { color: #c20f19; font-size: 18px; }
.dashboard-kpi-title { margin: 0 0 12px; }
.dashboard-kpis { margin-bottom: 0; }
.dashboard-grid { margin-top: 18px; }
.action-panel { grid-column: auto; }
.action-panel .dashboard-panel-head { margin-bottom: 8px; }
.funnel-panel, .action-panel { min-height: 0; }

/* Dashboard pricing overview */
.home-pricing-overview { margin-top: 18px; padding: 26px; border: 1px solid #dedede; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.035); }
.home-pricing-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.home-pricing-heading h2 { max-width: 700px; margin: 5px 0 7px; color: #181818; font-size: 27px; letter-spacing: -0.045em; }
.home-pricing-heading p:not(.eyebrow) { max-width: 720px; margin: 0; color: #686868; font-size: 13px; line-height: 1.5; }
.home-pricing-heading .secondary-action { flex: 0 0 auto; }
.home-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.home-pricing-grid article { display: grid; gap: 11px; min-width: 0; padding: 18px; border: 1px solid #e4e4e4; border-top: 3px solid #dedede; background: #fcfcfc; }
.home-pricing-grid article.is-featured { border-color: #2a1c1e; border-top-color: #d81925; background: #201b1c; color: #fff; }
.home-pricing-grid article > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #555; font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.home-pricing-grid article.is-featured > span { color: #ffd2d5; }
.home-pricing-grid b { padding: 4px 7px; border-radius: 999px; background: #d81925; color: #fff; font-size: 9px; letter-spacing: .04em; }
.home-pricing-grid strong { color: #1a1a1a; font-size: 31px; letter-spacing: -0.06em; line-height: 1; }
.home-pricing-grid article.is-featured strong { color: #fff; }
.home-pricing-grid strong small { margin-left: 4px; color: #777; font-size: 11px; font-weight: 750; letter-spacing: 0; }
.home-pricing-grid article.is-featured strong small { color: #d4c5c6; }
.home-pricing-grid p { min-height: 38px; margin: 0; color: #696969; font-size: 12px; line-height: 1.45; }
.home-pricing-grid article.is-featured p { color: #dfd5d6; }
.home-pricing-grid ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; color: #4f4f4f; font-size: 12px; font-weight: 700; }
.home-pricing-grid li { position: relative; padding-left: 13px; }
.home-pricing-grid li::before { position: absolute; top: .48em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #d81925; content: ""; }
.home-pricing-grid article.is-featured ul { color: #f0e7e8; }
.home-pricing-grid a { margin-top: auto; color: #ae111a; font-size: 12px; font-weight: 900; }
.home-pricing-grid article.is-featured a { color: #fff; }
@media (max-width: 760px) { .home-pricing-overview { padding: 20px; }.home-pricing-heading { align-items: stretch; flex-direction: column; }.home-pricing-heading .secondary-action { width: 100%; }.home-pricing-grid { grid-template-columns: 1fr; } }

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

@media (max-width: 720px) {
  .dashboard-section-title { align-items: start; flex-direction: column; gap: 6px; }
  .dashboard-focus { margin-top: 20px; }
}

/* Personalized company workspaces keep dynamic company names compact and readable. */
.dashboard-topbar.has-company-workspace h1 {
  max-width: 760px;
  font-size: 48px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.dashboard-topbar.has-company-workspace > div:first-child > p:not(.eyebrow) {
  max-width: 600px;
  font-size: 15px;
}

/* Company workspaces begin empty; sample information is reserved for the Google demo. */
.workspace-empty-state { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 20px 0; padding: 26px; border: 1px solid #e6e6e6; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(20,20,20,0.04); }
.workspace-empty-state h2 { margin: 5px 0 8px; color: #171717; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.04em; }
.workspace-empty-state p:not(.eyebrow) { max-width: 700px; margin: 0; color: #6f6f6f; line-height: 1.55; }
.workspace-empty-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px; }
.workspace-empty-actions .dashboard-button-ghost { color: #191919; }
.dashboard-company-panel { margin-top: 24px; padding: 22px; border: 1px solid #e6e6e6; border-radius: 15px; background: #fff; box-shadow: 0 10px 24px rgba(20,20,20,0.035); }
.dashboard-company-panel .dashboard-section-title { margin: 0 0 16px; }
.dashboard-company-panel .dashboard-section-title > a { color: #b7101a; font-size: 13px; font-weight: 850; }
.company-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.company-info-grid > span { display: grid; gap: 6px; min-height: 82px; padding: 14px; border-radius: 10px; background: #f8f8f8; }
.company-info-grid small { color: #777; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.company-info-grid strong, .company-info-grid a { overflow-wrap: anywhere; color: #1d1d1d; font-size: 14px; font-weight: 800; }
.company-info-grid a { color: #b7101a; text-decoration: underline; text-underline-offset: 3px; }
.dashboard-blank-card, .dashboard-panel-empty { display: grid; gap: 10px; padding: 18px; border: 1px dashed #d7d7d7; border-radius: 11px; background: #fbfbfb; }
.dashboard-blank-card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; margin-top: 6px; }
.blank-card-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffe9ea; color: #bd121c; font-size: 22px; font-weight: 500; }
.dashboard-blank-card strong, .dashboard-panel-empty strong { color: #1c1c1c; font-size: 15px; }
.dashboard-blank-card p, .dashboard-panel-empty p { margin: 3px 0 0; color: #707070; font-size: 13px; line-height: 1.5; }
.dashboard-blank-card > a, .dashboard-panel-empty > a { color: #b7101a; font-size: 13px; font-weight: 850; white-space: nowrap; }
.dashboard-panel-empty { margin-top: 8px; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.dashboard-panel-empty strong { color: #fff; }
.dashboard-panel-empty p { color: rgba(255,255,255,0.7); }
.dashboard-panel-empty > a { color: #ff9da3; }
.dashboard-grid { grid-template-areas: "candidates interviews" "candidates suggestions" "pipeline pipeline"; align-items: stretch; }
.priority-panel { grid-area: candidates; display: flex; flex-direction: column; }
.daily-panel { grid-area: interviews; display: flex; flex-direction: column; }
.funnel-panel { grid-area: pipeline; }
.action-panel { grid-area: suggestions; grid-column: auto; }
.panel-subtitle { max-width: 540px; margin: 7px 0 0; color: #747474; font-size: 13px; font-weight: 650; line-height: 1.45; }
.blank-card-details { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.blank-card-details li { padding: 5px 8px; border-radius: 999px; background: #f1f1f1; color: #565656; font-size: 11px; font-weight: 750; }
.import-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.import-flow li { display: flex; align-items: flex-start; gap: 7px; min-width: 0; padding: 9px; border: 1px solid #e7e7e7; border-radius: 8px; background: #fff; }
.import-flow b, .interview-readiness b { display: grid; flex: 0 0 auto; place-items: center; width: 20px; height: 20px; background: #1c1c1c; color: #fff; font-size: 10px; }
.import-flow span, .interview-readiness span { display: grid; gap: 2px; min-width: 0; }
.import-flow strong, .interview-readiness strong { font-size: 11px; }
.import-flow small, .interview-readiness small { color: #767676; font-size: 10px; line-height: 1.35; }
.daily-panel .dashboard-panel-empty { flex: 1; margin-top: 0; }
.interview-readiness { display: grid; gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.interview-readiness li { display: flex; gap: 9px; align-items: flex-start; }
.interview-readiness strong { color: #fff; }
.interview-readiness small { color: rgba(255,255,255,0.68); }
.funnel-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.funnel-list > div { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 13px; border: 1px solid #e5e5e5; background: rgba(255,255,255,0.7); }
.funnel-list > div > span { display: grid; gap: 3px; }
.funnel-list > div > span strong { color: #363636; font-size: 13px; }
.funnel-list > div > span small { color: #777; font-size: 11px; line-height: 1.35; }
.funnel-list > div > i { grid-column: 1 / -1; width: 100%; height: 4px; }
@media (max-width: 1100px) { .dashboard-grid { grid-template-areas: "candidates" "interviews" "suggestions" "pipeline"; }.funnel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 720px) {
  .workspace-empty-state { align-items: stretch; flex-direction: column; padding: 22px; }
  .workspace-empty-actions { width: 100%; }
  .workspace-empty-actions .dashboard-button { flex: 1 1 180px; }
  .company-info-grid { grid-template-columns: 1fr; }
  .dashboard-blank-card { grid-template-columns: auto minmax(0, 1fr); }
  .dashboard-blank-card > a { grid-column: 2; }
  .import-flow { grid-template-columns: 1fr; }
  .funnel-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .dashboard-topbar.has-company-workspace h1 {
    font-size: 34px;
  }
}

/* Candidates */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.candidates-workspace { max-width: 1600px; padding: 34px; }
.candidates-topbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 26px; }
.candidates-topbar h1 { margin: 7px 0 8px; color: #111; font-size: clamp(40px, 4vw, 58px); letter-spacing: -0.055em; line-height: .95; }
.candidates-topbar > div:first-child > p:not(.eyebrow) { max-width: 670px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.candidates-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.candidate-primary-button, .candidate-ghost-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid #d81925; border-radius: 5px; background: #d81925; color: #fff; font-size: 14px; font-weight: 850; }
.candidate-primary-button:hover { background: #ab111a; border-color: #ab111a; }
.candidate-ghost-button { border-color: #1a1a1a; background: #fff; color: #181818; }
.candidate-ghost-button:hover { background: #181818; color: #fff; }
.candidate-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.candidate-summary article { display: grid; gap: 8px; min-height: 132px; padding: 18px; border: 1px solid #dedede; border-top: 3px solid #1d1d1d; background: #fff; }
.candidate-summary article:first-child { border-top-color: #d81925; }
.candidate-summary span { color: #676767; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.candidate-summary strong { color: #171717; font-size: 34px; letter-spacing: -.045em; line-height: 1; }
.candidate-summary small { color: #737373; font-size: 13px; font-weight: 650; }
.candidate-engine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 24px; align-items: center; margin-bottom: 18px; padding: 24px; border: 1px solid #242424; background: #181818; color: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.candidate-engine .eyebrow { color: #ff8c93; }.candidate-engine h2 { max-width: 530px; margin: 5px 0 9px; font-size: 25px; letter-spacing: -.035em; }.candidate-engine-copy > p:last-child { max-width: 590px; margin: 0; color: #c5c5c5; font-size: 14px; line-height: 1.55; }
.candidate-engine-controls { display: grid; gap: 12px; }.control-range-label { display: flex; align-items: center; justify-content: space-between; color: #f2f2f2; font-size: 13px; font-weight: 800; }.control-range-label strong { color: #ff8f96; font-size: 16px; }.control-range { width: 100%; accent-color: #d81925; cursor: pointer; }.control-readout { display: grid; gap: 3px; padding: 13px; border: 1px solid rgba(255,255,255,.16); background: #282828; }.control-readout span { color: #aaa; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.control-readout strong { font-size: 15px; }.control-readout small { color: #c4c4c4; font-size: 12px; line-height: 1.45; }.candidate-engine .candidate-primary-button { width: 100%; }
.review-lens { display: grid; gap: 5px; color: #f3f3f3; font-size: 12px; font-weight: 800; }.review-lens span { color: #c9c9c9; letter-spacing: .06em; text-transform: uppercase; }.review-lens select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 3px; background: #282828; color: #fff; font: inherit; cursor: pointer; }
.candidate-sync-status { margin: -3px 0 0; color: #c4c4c4; font-size: 12px; line-height: 1.4; }.candidate-sync-status[data-tone="success"] { color: #a8dfbd; }.candidate-sync-status[data-tone="error"] { color: #ff9fa5; }
.candidate-command-center { display: grid; gap: 14px; margin: 0 0 18px; padding: 20px; border: 1px solid #dedede; border-top: 3px solid #d81925; background: #fff; box-shadow: 0 10px 22px rgba(0, 0, 0, .035); }.command-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }.command-heading .eyebrow { margin: 0 0 4px; color: #b81720; }.command-heading h2 { margin: 0; color: #1b1b1b; font-size: 24px; letter-spacing: -.04em; }.command-heading p:last-child { max-width: 680px; margin: 6px 0 0; color: #666; font-size: 13px; line-height: 1.45; }.command-heading .candidate-sync-status { max-width: 230px; margin: 0; padding: 8px 10px; border: 1px solid #e7d2d3; background: #fff9f9; color: #8f1d24; font-size: 11px; font-weight: 700; }.candidate-summary-compact { gap: 8px; margin: 0; }.candidate-summary-compact article { min-height: 0; gap: 4px; padding: 12px 14px; border-top-width: 2px; }.candidate-summary-compact strong { font-size: 26px; }.candidate-summary-compact small { font-size: 11px; }.candidate-summary-compact span { font-size: 10px; }.command-control-row { display: grid; grid-template-columns: minmax(170px, .45fr) minmax(300px, 1fr) auto; gap: 10px; align-items: stretch; }.candidate-command-center .review-lens { gap: 4px; padding: 10px 12px; border: 1px solid #e3e3e3; background: #fafafa; color: #595959; font-size: 11px; }.candidate-command-center .review-lens span { color: #777; }.candidate-command-center .review-lens select { min-height: 28px; padding: 0; border: 0; background: transparent; color: #1f1f1f; font-size: 13px; font-weight: 800; }.candidate-command-center .control-readout { gap: 2px; padding: 10px 12px; border: 1px solid #e3e3e3; background: #fafafa; }.candidate-command-center .control-readout span { color: #7e7e7e; font-size: 10px; }.candidate-command-center .control-readout strong { color: #1e1e1e; font-size: 14px; }.candidate-command-center .control-readout small { color: #686868; font-size: 11px; }.command-control-row .candidate-primary-button { min-width: 152px; }.review-loop-flow-compact { margin: 0; }.review-loop-flow-compact article { min-height: 0; padding: 10px 12px; border-top-width: 2px; }.review-loop-flow-compact article span { margin-bottom: 7px; font-size: 10px; }.review-loop-flow-compact article strong { font-size: 13px; }.review-loop-flow-compact article p { margin-top: 3px; font-size: 11px; }.compact-signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }.compact-signals > article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; align-items: center; min-height: 100px; padding: 12px; border: 1px solid #e4e0e0; background: #fff; }.compact-signals > article > div:first-child { display: grid; gap: 2px; color: #696969; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.compact-signals > article > div:first-child strong { color: #b51620; font-size: 21px; letter-spacing: -.04em; }.compact-signals > article > p { grid-column: 1 / -1; margin: 0; color: #6a6a6a; font-size: 11px; line-height: 1.35; }.compact-ring { width: 58px; height: 58px; margin: 0; }.compact-ring::before { inset: 8px; }.compact-ring b { font-size: 12px; }.compact-signals .quality-bars { width: 118px; gap: 6px; margin: 0; }.compact-signals .quality-bars div { grid-template-columns: 44px minmax(0, 1fr); gap: 5px; font-size: 9px; }.compact-signals .quality-bars i { height: 6px; }.compact-pace-chart { display: flex; align-items: end; gap: 4px; width: 84px; height: 50px; padding: 4px; border-bottom: 1px solid #ece5e5; }.compact-pace-chart i { flex: 1; min-width: 5px; border-radius: 2px 2px 0 0; background: linear-gradient(#ee7076, #bd111b); transition: height .24s ease; }
.candidate-command-center { gap: 10px; padding: 14px 16px; }.command-heading h2 { font-size: 21px; }.command-heading p:last-child { margin-top: 4px; font-size: 12px; }.command-heading .candidate-sync-status { padding: 7px 9px; }.candidate-summary-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }.candidate-summary-compact article { padding: 9px 11px; }.candidate-summary-compact strong { font-size: 23px; }.compact-review-loop { display: flex; align-items: center; gap: 12px; padding-top: 2px; border-top: 1px solid #ededed; color: #626262; }.compact-review-loop > span { color: #a4161e; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }.compact-review-loop p { flex: 1; margin: 0; font-size: 12px; line-height: 1.35; }.compact-review-loop p b { color: #313131; }.compact-review-loop p i { margin: 0 4px; color: #c31a24; font-style: normal; }.compact-review-loop .review-lens { display: flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; white-space: nowrap; }.compact-review-loop .review-lens span { color: #777; }.compact-review-loop .review-lens select { min-height: 28px; padding: 0; }
.candidate-process-overview { display: grid; gap: 12px; margin: 0 0 18px; padding: 15px 16px; border: 1px solid #e2dfdf; background: linear-gradient(90deg, #fff 0%, #fffafa 100%); }.process-overview-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }.process-overview-head .eyebrow { margin: 0 0 3px; color: #b51620; }.process-overview-head h2 { margin: 0; color: #242424; font-size: 18px; letter-spacing: -.025em; }.process-overview-head > p { max-width: 430px; margin: 0; color: #6a6a6a; font-size: 12px; line-height: 1.35; text-align: right; }.process-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }.process-step { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 9px; border: 1px solid #e1dddd; background: #fff; color: #6b6b6b; font: inherit; font-size: 12px; font-weight: 800; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }.process-step span { color: #b61720; font-size: 10px; letter-spacing: .06em; }.process-step:hover, .process-step.is-active { border-color: #cf1923; background: #fff4f4; color: #262626; }.process-step.is-active span { animation: process-step-pulse 1.4s ease-in-out infinite; }.process-progress { height: 3px; overflow: hidden; background: #eee3e3; }.process-progress b { display: block; width: 25%; height: 100%; background: #d81925; transition: width .45s ease; }.process-overview-panel { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; }.process-overview-panel > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #d81925; color: #fff; font-size: 10px; font-weight: 900; }.process-overview-panel strong { color: #252525; font-size: 13px; }.process-overview-panel p { margin: 3px 0 0; color: #696969; font-size: 12px; line-height: 1.35; }.process-overview-panel a { padding: 8px 10px; border: 1px solid #d8d8d8; background: #fff; color: #252525; font-size: 11px; font-weight: 850; text-decoration: none; white-space: nowrap; }.process-overview-panel a:hover { border-color: #242424; background: #242424; color: #fff; }@keyframes process-step-pulse { 50% { color: #d81925; transform: translateY(-1px); } }
.candidate-process-hero { position: relative; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 34px; min-height: 350px; padding: 48px 54px 38px; overflow: hidden; border: 0; border-radius: 30px; background: radial-gradient(circle at 58% 42%, rgba(165, 37, 50, .26), transparent 28%), linear-gradient(112deg, #111 0%, #171516 48%, #7e1721 100%); color: #fff; box-shadow: 0 16px 30px rgba(0,0,0,.12); }.candidate-process-hero::after { position: absolute; right: -100px; bottom: -150px; width: 410px; height: 410px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; }.process-hero-copy { position: relative; z-index: 1; align-self: center; }.candidate-process-hero .eyebrow { margin: 0 0 15px; color: #ffb0b5; font-size: 12px; }.candidate-process-hero h2 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(42px, 5vw, 70px); letter-spacing: -.065em; line-height: .99; }.candidate-process-hero #processOverviewDescription { max-width: 670px; margin: 16px 0 28px; color: #e7e3e3; font-size: 19px; line-height: 1.45; }.candidate-process-hero .process-track { display: flex; flex-wrap: wrap; gap: 8px; }.candidate-process-hero .process-step { min-height: 38px; padding: 0 12px; border-color: rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.08); color: #f8f5f5; font-size: 12px; }.candidate-process-hero .process-step span { color: #ffb0b5; }.candidate-process-hero .process-step:hover, .candidate-process-hero .process-step.is-active { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.18); color: #fff; }.candidate-process-hero .process-step.is-active span { color: #fff; }.process-hero-side { position: relative; z-index: 1; display: grid; align-content: center; gap: 24px; }.candidate-process-hero .process-overview-panel { padding: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.18); }.candidate-process-hero .process-overview-panel > span { width: 36px; height: 36px; background: #e51a28; font-size: 11px; }.candidate-process-hero .process-overview-panel strong { color: #fff; font-size: 15px; }.candidate-process-hero .process-overview-panel p { color: #e4dede; font-size: 13px; }.process-hero-actions { display: flex; gap: 10px; }.process-hero-actions a { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; font-size: 13px; font-weight: 850; text-decoration: none; white-space: nowrap; }.process-hero-actions a:last-child { border-color: #e51a28; background: #e51a28; }.process-hero-actions a:hover { background: #fff; color: #222; }.candidate-process-hero .process-progress { position: absolute; right: 54px; bottom: 20px; left: 54px; z-index: 1; height: 3px; background: rgba(255,255,255,.2); }.candidate-process-hero .process-progress b { background: #ff737d; }
.candidate-process-hero { min-height: 292px; gap: 28px; padding: 32px 42px 28px; }.candidate-process-hero h2 { max-width: 650px; font-size: clamp(38px, 4vw, 56px); }.candidate-process-hero #processOverviewDescription { margin: 11px 0 20px; font-size: 17px; }.candidate-process-hero .eyebrow { margin-bottom: 10px; }.process-hero-side { gap: 14px; }.candidate-process-hero .process-overview-panel { padding: 14px; }.candidate-process-hero .process-overview-panel p { font-size: 12px; }.process-hero-actions a { min-height: 44px; padding: 0 15px; }.candidate-process-hero .process-progress { right: 42px; bottom: 14px; left: 42px; }
.review-loop { margin: 0 0 18px; padding: 24px; border: 1px solid #dedede; background: linear-gradient(135deg, #fff 0%, #fffafa 100%); box-shadow: 0 12px 24px rgba(0, 0, 0, .035); }.review-loop-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }.review-loop .eyebrow { margin: 0; color: #bb1420; }.review-loop h2 { max-width: 600px; margin: 5px 0 8px; color: #1a1a1a; font-size: 25px; letter-spacing: -.04em; }.review-loop-head p:last-of-type { max-width: 660px; margin: 0; color: #626262; font-size: 14px; line-height: 1.55; }.review-loop-pill { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #e3b7ba; border-radius: 999px; background: #fff; color: #a3151e; font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }.review-loop-flow { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr); gap: 8px; align-items: stretch; margin: 24px 0; }.review-loop-flow article { min-height: 126px; padding: 15px; border: 1px solid #e6e1e1; border-top: 3px solid #d81925; background: #fff; }.review-loop-flow article span { display: block; margin-bottom: 16px; color: #c71a24; font-size: 11px; font-weight: 900; letter-spacing: .08em; }.review-loop-flow article strong { color: #1e1e1e; font-size: 15px; }.review-loop-flow article p { margin: 6px 0 0; color: #6b6b6b; font-size: 12px; line-height: 1.45; }.review-loop-flow > i { align-self: center; color: #bf1721; font-size: 20px; font-style: normal; text-align: center; }.review-graphics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }.review-graphic { min-height: 200px; padding: 16px; border: 1px solid #e5e0e0; background: #fff; }.review-graphic-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #696969; font-size: 12px; font-weight: 800; }.review-graphic-head strong { color: #b5151e; font-size: 22px; letter-spacing: -.04em; }.review-graphic > p { margin: 12px 0 0; color: #6a6a6a; font-size: 12px; line-height: 1.45; }.coverage-ring { --coverage: 72%; position: relative; display: grid; width: 106px; height: 106px; place-items: center; margin: 16px auto 6px; border-radius: 50%; background: conic-gradient(#d81925 var(--coverage), #f2e8e8 0); }.coverage-ring::before { position: absolute; inset: 13px; border-radius: 50%; background: #fff; content: ""; }.coverage-ring b { position: relative; color: #232323; font-size: 20px; letter-spacing: -.04em; }.quality-bars { display: grid; gap: 13px; margin-top: 21px; }.quality-bars div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 9px; align-items: center; color: #686868; font-size: 11px; font-weight: 750; }.quality-bars i { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: #f0e8e8; }.quality-bars b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #dc3e46, #b30d17); transition: width .24s ease; }.pace-chart { display: flex; align-items: end; gap: 8px; height: 106px; margin-top: 16px; padding: 9px 5px 0; border-bottom: 1px solid #ece5e5; }.pace-chart i { flex: 1; min-width: 8px; border-radius: 4px 4px 0 0; background: linear-gradient(#ee7076, #bd111b); transition: height .24s ease; }
.candidate-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.candidate-add-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 24px; align-items: start; margin: 0 0 18px; padding: 22px 24px; border: 1px solid #e3d4d5; border-left: 4px solid #d81925; background: #fffafa; }.candidate-add-panel .eyebrow { margin: 0 0 5px; color: #b51620; }.candidate-add-panel h2 { margin: 0; color: #202020; font-size: 21px; letter-spacing: -.035em; }.candidate-add-panel > div > p:last-child { margin: 8px 0 0; color: #676767; font-size: 13px; line-height: 1.5; }.candidate-add-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.candidate-add-form label { display: grid; gap: 6px; color: #5d5d5d; font-size: 11px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }.candidate-add-form .candidate-form-wide, .candidate-add-form > div { grid-column: 1 / -1; }.candidate-add-form input { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #d8d8d8; border-radius: 4px; background: #fff; color: #252525; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: normal; text-transform: none; }.candidate-add-form input:focus { border-color: #d81925; outline: 3px solid rgba(216, 25, 37, .1); }.candidate-add-form .candidate-form-actions { display: flex; gap: 9px; }.candidate-add-form .candidate-primary-button, .candidate-add-form .candidate-secondary-button { width: auto; padding: 0 16px; }
.candidate-search { position: relative; display: block; width: min(420px, 100%); }
.candidate-search::before { position: absolute; top: 50%; left: 14px; width: 10px; height: 10px; border: 2px solid #636363; border-radius: 50%; content: ""; transform: translateY(-65%); }
.candidate-search::after { position: absolute; top: calc(50% + 5px); left: 25px; width: 7px; height: 2px; background: #636363; content: ""; transform: rotate(45deg); }
.candidate-search input { width: 100%; min-height: 46px; padding: 0 16px 0 42px; border: 1px solid #d9d9d9; border-radius: 4px; background: #fff; color: #1c1c1c; font-size: 14px; font-weight: 650; }
.candidate-search input:focus { border-color: #d81925; outline: 3px solid rgba(216, 25, 37, .12); }
.candidate-sort select { min-height: 46px; padding: 0 38px 0 14px; border: 1px solid #d9d9d9; border-radius: 4px; background: #fff; color: #202020; font-size: 13px; font-weight: 750; cursor: pointer; }
.candidate-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.candidate-filter { min-height: 38px; padding: 0 12px; border: 1px solid #dedede; border-radius: 999px; background: #fff; color: #555; font-size: 13px; font-weight: 800; cursor: pointer; }
.candidate-filter span { margin-left: 4px; color: #888; font-size: 11px; }
.candidate-filter:hover, .candidate-filter.is-selected { border-color: #1d1d1d; background: #1d1d1d; color: #fff; }
.candidate-filter.is-selected span { color: #ffb0b5; }
.candidates-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.candidate-directory, .candidate-detail { border: 1px solid #dedede; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .035); }
.candidate-directory-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 22px 22px 17px; border-bottom: 1px solid #e6e6e6; }.candidate-directory-actions { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 7px; }.candidate-directory-actions > p { margin: 0 3px 0 0; color: #777; font-size: 12px; font-weight: 750; }.candidate-directory-button { width: auto !important; min-height: 34px; padding: 0 10px !important; font-size: 11px !important; }.candidate-directory-button:disabled { cursor: not-allowed; opacity: .48; }
.candidate-directory-head h2, .candidate-detail h2 { margin: 5px 0 0; color: #181818; font-size: 24px; letter-spacing: -.035em; }
.candidate-list { display: grid; }
.candidate-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 13px; width: 100%; padding: 15px 22px; border: 0; border-bottom: 1px solid #ededed; background: #fff; color: #202020; text-align: left; cursor: pointer; }
.candidate-row:hover, .candidate-row.is-current { background: #fff4f5; }
.candidate-row.is-current { box-shadow: inset 3px 0 #d81925; }
.candidate-avatar { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 900; letter-spacing: .02em; }
.candidate-avatar-coral { background: #fbe0e1; color: #a90f18; }.candidate-avatar-gold { background: #f7ead1; color: #8a5914; }.candidate-avatar-blue { background: #e1eafa; color: #284f90; }.candidate-avatar-violet { background: #eee2fa; color: #69409b; }.candidate-avatar-green { background: #ddf0e6; color: #1e6f4e; }.candidate-avatar-pink { background: #f9e0ee; color: #9a2f67; }
.candidate-row-main { display: grid; min-width: 0; gap: 3px; }.candidate-row-main b { color: #181818; font-size: 14px; }.candidate-row-main small { overflow: hidden; color: #666; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }.candidate-row-main em { overflow: hidden; color: #8a8a8a; font-size: 12px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.candidate-row-meta { display: grid; justify-items: end; gap: 3px; }.candidate-row-meta strong { color: #181818; font-size: 14px; }.candidate-row-meta > small { color: #888; font-size: 11px; font-weight: 700; }.candidate-stage { margin-top: 2px; padding: 4px 8px; border: 1px solid #dedede; border-radius: 999px; color: #555; font-size: 10px; font-style: normal; font-weight: 850; }.stage-review { border-color: #efc2c5; background: #fff0f1; color: #aa1119; }.stage-interview { border-color: #cbdaf4; background: #f0f5ff; color: #385e9d; }.stage-final { border-color: #222; background: #222; color: #fff; }
.candidate-empty { margin: 0; padding: 40px 22px; color: #777; font-size: 14px; text-align: center; }
.candidate-detail { position: sticky; top: 28px; padding: 24px; }.candidate-detail-intro { display: flex; align-items: center; gap: 13px; padding-bottom: 20px; border-bottom: 1px solid #e7e7e7; }.candidate-detail-intro .candidate-avatar { width: 50px; height: 50px; font-size: 14px; }.candidate-detail-intro h2 { font-size: 22px; }.candidate-detail-intro p:not(.eyebrow) { margin: 4px 0 0; color: #686868; font-size: 13px; font-weight: 650; }
.detail-score { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 20px 0; border-bottom: 1px solid #e7e7e7; }.detail-score span { color: #5e5e5e; font-size: 13px; font-weight: 750; }.detail-score strong { color: #b7101a; font-size: 24px; letter-spacing: -.04em; }.detail-score i { grid-column: 1 / -1; display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #ededed; }.detail-score i b { display: block; height: 100%; border-radius: inherit; background: #d81925; }
.detail-control { display: grid; gap: 14px; padding: 19px 0; border-bottom: 1px solid #e7e7e7; }.detail-control > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }.detail-control > div:first-child span { color: #5e5e5e; font-size: 13px; font-weight: 750; }.detail-control > div:first-child strong { color: #181818; font-size: 25px; letter-spacing: -.04em; }.detail-signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }.detail-signal-grid span { display: grid; gap: 3px; padding: 8px; border: 1px solid #e3e3e3; background: #fafafa; color: #797979; font-size: 10px; font-weight: 800; text-transform: uppercase; }.detail-signal-grid b { color: #202020; font-size: 14px; }
.detail-section { padding: 20px 0; border-bottom: 1px solid #e7e7e7; }.detail-section > p:last-child { margin: 8px 0 0; color: #565656; font-size: 14px; line-height: 1.55; }.detail-next { display: grid; gap: 6px; }.detail-next strong { color: #252525; font-size: 14px; }.detail-next span { color: #7a7a7a; font-size: 12px; font-weight: 650; }
.candidate-record-form { display: grid; gap: 13px; padding-top: 21px; }.candidate-record-form label { display: grid; gap: 6px; color: #5d5d5d; font-size: 11px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }.candidate-record-form input, .candidate-record-form select, .candidate-record-form textarea { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #d8d8d8; border-radius: 4px; background: #fff; color: #252525; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: normal; text-transform: none; resize: vertical; }.candidate-record-form textarea { min-height: 78px; line-height: 1.45; }.candidate-record-form input:focus, .candidate-record-form select:focus, .candidate-record-form textarea:focus { border-color: #d81925; outline: 3px solid rgba(216, 25, 37, .1); }.candidate-record-form input:disabled, .candidate-record-form select:disabled, .candidate-record-form textarea:disabled { background: #f5f5f5; color: #929292; }.detail-notes { display: grid; gap: 8px; }.detail-notes:empty { display: none; }.detail-notes article { padding: 10px; border-left: 3px solid #d81925; background: #faf6f6; }.detail-notes p { margin: 0 0 5px; color: #414141; font-size: 13px; line-height: 1.45; }.detail-notes small { color: #7a7a7a; font-size: 11px; font-weight: 700; }
.candidate-record-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }.candidate-danger-button { min-height: 42px; padding: 0 13px; border: 1px solid #d49ca0; border-radius: 5px; background: #fff; color: #a7141e; font-size: 12px; font-weight: 850; cursor: pointer; }.candidate-danger-button:hover:not(:disabled) { border-color: #a7141e; background: #fff1f1; }.candidate-danger-button:disabled { cursor: not-allowed; opacity: .55; }
.candidate-evidence { display: grid; gap: 13px; padding: 16px; border: 1px solid #ead9da; background: #fff9f9; }.candidate-evidence > div { padding-bottom: 2px; }.candidate-evidence .eyebrow { margin: 0 0 4px; color: #b61620; }.candidate-evidence h3 { margin: 0; color: #202020; font-size: 16px; letter-spacing: -.02em; }.candidate-evidence > div > p:last-child { margin: 6px 0 0; color: #666; font-size: 12px; font-weight: 600; letter-spacing: normal; line-height: 1.45; text-transform: none; }.resume-upload { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 14px; align-items: center; padding: 12px; border: 1px solid #e3d4d5; background: #fff; }.resume-upload > div { display: grid; gap: 3px; }.resume-upload strong { color: #2d2d2d; font-size: 12px; }.resume-upload span { color: #6b6b6b; font-size: 11px; font-weight: 600; letter-spacing: normal; line-height: 1.4; text-transform: none; }.resume-file-label { display: inline-flex !important; min-height: 38px; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid #d2d2d2; border-radius: 4px; background: #fff; color: #242424 !important; font-size: 11px !important; font-weight: 850; letter-spacing: normal !important; text-transform: none !important; cursor: pointer; white-space: nowrap; }.resume-file-label:hover { border-color: #222; background: #222; color: #fff !important; }.resume-file-label input { position: absolute; width: 1px; min-height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }.resume-upload p, .resume-scan-status { grid-column: 1 / -1; margin: 0; color: #777; font-size: 11px; font-weight: 600; letter-spacing: normal; line-height: 1.4; text-transform: none; }.resume-upload p[data-tone="success"], .resume-scan-status[data-tone="success"] { color: #287347; }.resume-upload p[data-tone="error"], .resume-scan-status[data-tone="error"] { color: #b31722; }.candidate-resume { display: grid; gap: 10px; border: 1px solid #e3e3e3; background: #fafafa; }.candidate-resume summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; color: #333; font-size: 12px; font-weight: 850; cursor: pointer; list-style: none; }.candidate-resume summary::-webkit-details-marker { display: none; }.candidate-resume summary > span:first-child { display: grid; gap: 2px; }.candidate-resume summary b { color: #98202a; font-size: 12px; }.candidate-resume summary small { color: #727272; font-size: 10px; font-weight: 700; }.candidate-resume summary > span:last-child { color: #b51620; font-size: 18px; line-height: 1; }.candidate-resume[open] summary > span:last-child { font-size: 0; }.candidate-resume[open] summary > span:last-child::before { content: "−"; font-size: 18px; }.candidate-resume > label, .candidate-resume > .resume-scan-status { margin: 0 12px; }.candidate-resume > label:last-child { margin-bottom: 12px; }.resume-scan-upload { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin: 0 12px; }.resume-scan-upload .candidate-secondary-button { min-height: 38px; padding: 0 11px; font-size: 11px; }.detail-profile-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; color: #a4151e; font-size: 12px; font-weight: 850; text-decoration: none; }.detail-profile-link:hover { color: #601017; text-decoration: underline; }
.candidate-detail-empty { display: grid; gap: 6px; padding: 17px 0 3px; color: #5e5e5e; }.candidate-detail-empty strong { color: #292929; font-size: 15px; }.candidate-detail-empty p { margin: 0; font-size: 13px; line-height: 1.5; }.candidate-record-form { gap: 10px; padding-top: 16px; }.candidate-record-form input, .candidate-record-form select, .candidate-record-form textarea { min-height: 40px; padding: 9px 10px; }.candidate-record-form textarea { min-height: 72px; }.candidate-core-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.candidate-basics, .candidate-notes { border: 1px solid #e3e3e3; background: #fafafa; }.candidate-basics summary, .candidate-notes summary, .candidate-evidence summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; color: #333; font-size: 12px; font-weight: 850; cursor: pointer; list-style: none; }.candidate-basics summary::-webkit-details-marker, .candidate-notes summary::-webkit-details-marker, .candidate-evidence summary::-webkit-details-marker { display: none; }.candidate-basics summary::after, .candidate-notes summary::after { color: #bd1821; content: "+"; font-size: 17px; line-height: 1; }.candidate-basics[open] summary::after, .candidate-notes[open] summary::after { content: "−"; }.candidate-basics > div { display: grid; gap: 10px; padding: 0 12px 12px; }.candidate-notes > label { padding: 0 12px 12px; }.candidate-notes .detail-notes { margin: 0 12px 12px; }.candidate-evidence { gap: 10px; padding: 0; }.candidate-evidence summary > span:first-child { display: grid; gap: 2px; }.candidate-evidence summary b { color: #98202a; font-size: 12px; }.candidate-evidence summary small { color: #727272; font-size: 10px; font-weight: 700; }.candidate-evidence summary > span:last-child { color: #b51620; font-size: 18px; line-height: 1; }.candidate-evidence[open] summary > span:last-child { font-size: 0; }.candidate-evidence[open] summary > span:last-child::before { content: "−"; font-size: 18px; }.candidate-evidence > div, .candidate-evidence > label { margin: 0 12px; }.candidate-evidence > label:last-child { margin-bottom: 12px; }.candidate-evidence > div { padding-bottom: 2px; }.candidate-evidence h3 { font-size: 15px; }.candidate-evidence > div > p:last-child { margin-top: 5px; font-size: 11px; line-height: 1.4; }
.candidate-job-matches { display: grid; gap: 10px; border: 1px solid #dedede; background: #fafafa; }.candidate-job-matches summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; color: #333; font-size: 12px; font-weight: 850; cursor: pointer; list-style: none; }.candidate-job-matches summary::-webkit-details-marker { display: none; }.candidate-job-matches summary > span:first-child { display: grid; gap: 2px; }.candidate-job-matches summary b { color: #98202a; font-size: 12px; }.candidate-job-matches summary small { color: #727272; font-size: 10px; font-weight: 700; }.candidate-job-matches summary > span:last-child { color: #b51620; font-size: 18px; line-height: 1; }.candidate-job-matches[open] summary > span:last-child { font-size: 0; }.candidate-job-matches[open] summary > span:last-child::before { content: "−"; font-size: 18px; }.job-match-controls { display: grid; gap: 9px; margin: 0 12px; }.job-match-controls .candidate-primary-button { min-height: 40px; }.job-match-status { margin: 0 12px; color: #727272; font-size: 11px; font-weight: 650; letter-spacing: normal; line-height: 1.45; text-transform: none; }.job-match-status[data-tone="error"] { color: #ae1822; }.job-match-status[data-tone="success"] { color: #287347; }.job-match-results { display: grid; gap: 8px; margin: 0 12px 12px; }.job-match-results:empty { display: none; }.job-match-summary { margin: 0; color: #555; font-size: 11px; font-weight: 650; line-height: 1.45; }.job-match-saved-heading { margin: 0; color: #941821; font-size: 11px; font-weight: 850; text-transform: uppercase; }.job-match-saved-link { padding: 8px 10px; border-left: 3px solid #d81925; background: #fff5f5; color: #5e151b; font-size: 11px; font-weight: 750; line-height: 1.35; text-decoration: none; }.job-match-saved-link:hover { background: #fee9ea; text-decoration: underline; }.job-match-card { display: grid; gap: 7px; padding: 11px; border: 1px solid #e2d6d7; background: #fff; }.job-match-card h4 { margin: 0; color: #242424; font-size: 13px; letter-spacing: -.015em; }.job-match-card h4 a { color: inherit; text-decoration: none; }.job-match-card h4 a:hover { color: #a4151e; text-decoration: underline; }.job-match-meta { margin: 0; color: #727272; font-size: 10px; font-weight: 750; }.job-match-save { justify-self: start; min-height: 29px; padding: 0 10px; border: 1px solid #d59ba0; border-radius: 4px; background: #fff; color: #a4151e; font-size: 10px; font-weight: 850; cursor: pointer; }.job-match-save:hover:not(:disabled) { border-color: #a4151e; background: #fff2f2; }.job-match-save:disabled { cursor: default; border-color: #b8d7c2; background: #edf8f0; color: #287347; }.job-match-card ul { display: grid; gap: 3px; margin: 0; padding-left: 16px; color: #555; font-size: 11px; line-height: 1.4; }.job-match-card li::marker { color: #bf1922; }.job-match-validate { margin: 0; color: #555; font-size: 11px; line-height: 1.4; }.job-match-validate strong { color: #8c1720; }
.detail-actions { display: grid; gap: 10px; padding-top: 21px; }.detail-actions .candidate-primary-button, .candidate-secondary-button { width: 100%; }.candidate-primary-button:disabled, .candidate-secondary-button:disabled { cursor: not-allowed; opacity: .55; }.candidate-secondary-button { min-height: 42px; border: 1px solid #cfcfcf; border-radius: 5px; background: #fff; color: #252525; font-size: 13px; font-weight: 850; cursor: pointer; }.candidate-secondary-button:hover:not(:disabled) { border-color: #181818; background: #181818; color: #fff; }.candidate-action-status { min-height: 18px; margin: 2px 0 0; color: #777; font-size: 12px; line-height: 1.4; }
@media (max-width: 1100px) { .candidate-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }.candidate-engine { grid-template-columns: 1fr; }.candidate-add-panel { grid-template-columns: 1fr; }.review-graphics { grid-template-columns: repeat(3, minmax(0, 1fr)); }.candidates-layout { grid-template-columns: 1fr; }.candidate-detail { position: static; }.candidate-controls { align-items: stretch; flex-direction: column; }.candidate-search { width: 100%; } }
@media (max-width: 820px) { .review-loop-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }.review-loop-flow > i { display: none; }.review-graphics { grid-template-columns: 1fr; }.review-graphic { min-height: auto; }.coverage-ring { margin-left: 0; }.quality-bars { max-width: 420px; }.pace-chart { max-width: 420px; } }
@media (max-width: 920px) { .command-control-row { grid-template-columns: 1fr 1fr; }.command-control-row .control-readout { grid-column: 1 / -1; }.command-control-row .candidate-primary-button { min-width: 0; }.compact-signals { grid-template-columns: 1fr; }.compact-signals > article { min-height: 0; }.compact-signals .quality-bars { width: min(250px, 100%); }.compact-signals .quality-bars div { grid-template-columns: 55px minmax(0, 1fr); } }
@media (max-width: 1050px) { .candidate-process-hero { grid-template-columns: 1fr; min-height: 0; }.process-hero-side { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }.candidate-process-hero .process-progress { right: 40px; left: 40px; } }
@media (max-width: 820px) { .compact-review-loop { align-items: start; flex-wrap: wrap; padding-top: 9px; }.compact-review-loop p { flex-basis: calc(100% - 120px); }.compact-review-loop .review-lens { margin-left: auto; } }
@media (max-width: 720px) { .process-overview-head { align-items: start; flex-direction: column; }.process-overview-head > p { max-width: none; text-align: left; }.process-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }.process-overview-panel { grid-template-columns: 30px minmax(0, 1fr); }.process-overview-panel a { grid-column: 2; justify-self: start; }.candidate-process-hero { gap: 24px; padding: 34px 26px 30px; border-radius: 22px; }.candidate-process-hero h2 { font-size: 43px; }.candidate-process-hero #processOverviewDescription { margin: 13px 0 22px; font-size: 16px; }.process-hero-side { grid-template-columns: 1fr; gap: 12px; }.process-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }.process-hero-actions a { min-height: 46px; padding: 0 10px; font-size: 12px; }.candidate-process-hero .process-progress { right: 26px; bottom: 14px; left: 26px; } }
@media (prefers-reduced-motion: reduce) { .process-step, .process-progress b { transition: none; }.process-step.is-active span { animation: none; } }
@media (max-width: 720px) { .candidates-workspace { padding: 20px; }.candidates-topbar { align-items: stretch; flex-direction: column; }.candidates-actions { width: 100%; }.candidates-actions > * { flex: 1; }.candidate-summary { grid-template-columns: 1fr; }.candidate-summary-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }.command-heading { align-items: stretch; flex-direction: column; }.command-heading .candidate-sync-status { max-width: none; }.command-heading h2 { font-size: 21px; }.command-control-row { grid-template-columns: 1fr; }.command-control-row .control-readout { grid-column: auto; }.candidate-add-panel { padding: 18px; }.candidate-add-form { grid-template-columns: 1fr; }.candidate-add-form label:last-of-type, .candidate-add-form > div { grid-column: auto; }.candidate-add-form > div { display: grid; grid-template-columns: 1fr; }.review-loop { padding: 18px; }.review-loop-head { align-items: start; flex-direction: column; }.review-loop h2 { font-size: 22px; }.review-loop-flow { grid-template-columns: 1fr; margin: 18px 0; }.review-loop-flow article { min-height: auto; }.candidate-directory-head { align-items: start; flex-direction: column; }.candidate-directory-actions { width: 100%; justify-content: start; }.candidate-directory-actions > p { width: 100%; }.candidate-directory-button { flex: 1; }.candidate-row { grid-template-columns: 38px minmax(0, 1fr); padding: 14px; }.candidate-row-meta { grid-column: 2; grid-row: 2; justify-items: start; grid-template-columns: auto auto auto; column-gap: 7px; }.candidate-row-main em { display: none; }.candidate-stage { margin: 0; }.candidate-detail { padding: 20px; }.candidate-core-fields { grid-template-columns: 1fr; }.candidate-record-actions { grid-template-columns: 1fr; } }

/* AI talent analytics */
.analytics-workspace { max-width: 1540px; padding: 34px; }
.analytics-hero { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 34px; border-radius: 18px; background: radial-gradient(circle at 88% 5%, rgba(216,25,37,.72), transparent 23%), linear-gradient(130deg,#111 0%,#261d20 100%); color:#fff; box-shadow: 0 18px 44px rgba(20,15,16,.15); }
.analytics-hero h1 { max-width: 720px; margin: 7px 0 9px; font-size: clamp(42px,4.4vw,64px); letter-spacing:-.064em; line-height:.94; }
.analytics-hero > div:first-child > p:not(.eyebrow) { max-width: 640px; margin: 0; color: rgba(255,255,255,.78); font-size: 16px; line-height:1.58; }.analytics-hero .eyebrow { color:#ffb8bc; }
.analytics-controls { display:flex; flex-wrap:wrap; gap:9px; }.analytics-controls label { display:grid; gap:6px; color:#ffd4d6; font-size:11px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }.analytics-controls select { min-width:144px; min-height:43px; padding:0 30px 0 11px; border:1px solid rgba(255,255,255,.25); border-radius:7px; background:#fff; color:#202020; font:inherit; font-size:13px; font-weight:750; letter-spacing:0; text-transform:none; }
.analytics-notice { display:flex; align-items:center; gap:12px; margin:18px 0; padding:15px 17px; border:1px solid #f1d8da; border-radius:12px; background:#fff6f6; color:#4c3738; }.analytics-notice span { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#d81925; color:#fff; }.analytics-notice p { margin:0; font-size:13px; line-height:1.5; }.analytics-connection { align-self:end; color:#ffd4d6; font-size:11px; font-weight:750; }
.analytics-empty-state { display:grid; grid-template-columns:38px minmax(0,1fr); align-items:start; gap:13px; min-height:150px; padding:24px 6px; color:#686868; }.analytics-empty-state > span { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:#f4eeee; color:#b7101a; font-size:18px; }.analytics-empty-state strong { display:block; color:#262626; font-size:14px; }.analytics-empty-state p { margin:5px 0 0; font-size:13px; line-height:1.5; }.analytics-connected-callout { min-height:120px; }.analytics-connected-callout .text-link { display:inline-block; margin-top:10px; }.candidate-empty-state { max-width:630px; min-height:120px; padding-bottom:0; }
.analytics-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:18px; }.analytics-kpis article { display:grid; gap:8px; min-height:145px; padding:20px; border-radius:14px; background:#fff; box-shadow:0 10px 25px rgba(20,20,20,.045); }.analytics-kpis article:first-child { box-shadow:inset 0 3px #d81925,0 10px 25px rgba(20,20,20,.045); }.analytics-kpis span { color:#767676; font-size:11px; font-weight:850; letter-spacing:.085em; text-transform:uppercase; }.analytics-kpis strong { color:#191919; font-size:36px; letter-spacing:-.055em; line-height:1; }.analytics-kpis small { color:#6d6d6d; font-size:12px; font-weight:700; }
.analytics-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }.analytics-panel { padding:24px; border-radius:15px; background:#fff; box-shadow:0 10px 25px rgba(20,20,20,.045); }.analytics-panel-head { display:flex; align-items:start; justify-content:space-between; gap:15px; margin-bottom:19px; }.analytics-panel-head h2 { margin:5px 0 0; color:#191919; font-size:25px; letter-spacing:-.042em; }.analytics-panel-head > span:not(.pill) { color:#777; font-size:12px; font-weight:750; }.funnel-analytics { display:grid; gap:16px; }.funnel-analytics > div { display:grid; grid-template-columns:95px 36px minmax(0,1fr) 40px; align-items:center; gap:12px; }.funnel-analytics span { color:#555; font-size:13px; font-weight:750; }.funnel-analytics b { color:#1b1b1b; font-size:13px; }.funnel-analytics i,.stage-list i { display:block; height:10px; overflow:hidden; border-radius:999px; background:#f0eeee; }.funnel-analytics em { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#d81925,#ef757c); }.funnel-analytics small { color:#777; font-size:12px; font-weight:750; text-align:right; }.analytics-caption { margin:21px 0 0; padding-top:15px; border-top:1px solid #ececec; color:#777; font-size:13px; line-height:1.5; }.pacing-panel { background:linear-gradient(145deg,#fff,#fff7f7); }.text-button { padding:0; border:0; background:none; color:#b7101a; font-size:12px; font-weight:850; cursor:pointer; }.stage-list { display:grid; gap:16px; }.stage-list > div { display:grid; grid-template-columns:minmax(125px,1fr) 44px; gap:7px 13px; align-items:center; }.stage-list span { color:#555; font-size:13px; font-weight:750; }.stage-list strong { color:#202020; font-size:14px; text-align:right; }.stage-list i { grid-column:1 / -1; height:7px; }.stage-list b { display:block; height:100%; border-radius:inherit; background:#202020; }.stage-list > div:nth-child(3) b { background:#d81925; }.stage-list small { display:none; grid-column:1 / -1; color:#a20f18; font-size:11px; font-weight:750; }.stage-list.show-target small { display:block; }
.segment-panel { min-height:270px; }.segment-tabs { display:flex; gap:7px; padding-bottom:18px; border-bottom:1px solid #eee; }.segment-tabs button { min-height:34px; padding:0 11px; border:1px solid #ddd; border-radius:999px; background:#fff; color:#666; font-size:12px; font-weight:850; cursor:pointer; }.segment-tabs button.is-active { border-color:#1b1b1b; background:#1b1b1b; color:#fff; }.segment-insight { display:grid; grid-template-columns:62px minmax(0,1fr); gap:14px; align-items:start; padding:19px 0; }.segment-score { display:grid; place-items:center; width:55px; height:55px; border-radius:14px; background:#fff0f1; color:#b7101a; font-size:20px; font-weight:900; letter-spacing:-.06em; }.segment-insight strong { color:#202020; font-size:14px; }.segment-insight p { margin:6px 0 0; color:#727272; font-size:13px; line-height:1.48; }.analytics-use-insight { min-height:39px; border-color:#202020; color:#202020; font-size:12px; }
.ai-analytics-panel { grid-column:1 / -1; min-height:0; background:#1c1b1c; color:#fff; }.ai-analytics-panel .eyebrow { color:#ffb4b8; }.ai-analytics-panel h2 { color:#fff; }.ai-analytics-panel > p { max-width:720px; margin:-5px 0 15px; color:#c6c4c4; font-size:13px; line-height:1.5; }.ai-analytics-panel textarea { width:100%; min-height:96px; resize:vertical; padding:12px; border:1px solid rgba(255,255,255,.2); border-radius:8px; background:#2b292a; color:#fff; font:inherit; font-size:13px; line-height:1.45; }.ai-analytics-panel textarea::placeholder { color:#aaa; }.analytics-ai-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:12px 0; }.analytics-ai-actions .primary-action { min-width:180px; min-height:42px; padding:0 18px; border:0; border-radius:7px; background:#d81925; color:#fff; font-size:12px; white-space:nowrap; }.analytics-ai-actions span { color:#c5c5c5; font-size:11px; font-weight:700; text-align:right; }.analytics-ai-actions .credit-usage { text-align:left; }.analytics-output { min-height:72px; white-space:pre-wrap; padding:13px; border:1px solid rgba(255,255,255,.12); border-radius:8px; background:rgba(255,255,255,.06); color:#f4f4f4; font-size:13px; line-height:1.55; }
.trend-panel { min-height:270px; }.trend-chart { display:grid; grid-template-columns:repeat(4,1fr); gap:17px; align-items:end; height:142px; padding:10px 7px 0; border-bottom:1px solid #e7e7e7; background:repeating-linear-gradient(to bottom, transparent 0, transparent 34px, #f1f1f1 35px); }.trend-chart > div { display:grid; grid-template-columns:1fr 1fr; align-items:end; gap:5px; height:100%; }.trend-chart i,.trend-chart b { display:block; border-radius:6px 6px 0 0; background:#f0b4b8; }.trend-chart b { background:#d81925; }.trend-chart span { grid-column:1 / -1; padding-top:9px; color:#777; font-size:11px; font-weight:800; text-align:center; }.trend-legend { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:16px; color:#666; font-size:11px; font-weight:750; }.trend-legend span { display:flex; align-items:center; gap:5px; }.trend-legend i { width:8px; height:8px; border-radius:50%; background:#f0b4b8; }.trend-legend span:nth-child(2) i { background:#d81925; }.trend-legend strong { margin-left:auto; color:#a91019; font-size:11px; }.source-panel { min-height:270px; }.source-mix { display:flex; align-items:center; gap:28px; padding:4px 6px; }.source-donut { display:grid; flex:0 0 auto; place-items:center; width:145px; height:145px; border-radius:50%; background:conic-gradient(#d81925 0 38%,#292929 38% 69%,#e9aab0 69% 88%,#f0d3d4 88% 100%); }.source-donut > span { display:grid; place-items:center; width:98px; height:98px; border-radius:50%; background:#fff; }.source-donut b { color:#1b1b1b; font-size:23px; letter-spacing:-.06em; }.source-donut small { color:#777; font-size:10px; font-weight:750; }.source-mix ul { display:grid; flex:1; gap:13px; margin:0; padding:0; list-style:none; }.source-mix li { display:grid; grid-template-columns:10px 1fr auto; align-items:center; gap:8px; color:#666; font-size:12px; font-weight:750; }.source-mix li i { width:8px; height:8px; border-radius:50%; background:#d81925; }.source-mix li:nth-child(2) i { background:#292929; }.source-mix li:nth-child(3) i { background:#e9aab0; }.source-mix li:nth-child(4) i { background:#f0d3d4; }.source-mix li b { color:#242424; font-size:13px; }
.candidate-info-panel { grid-column:1 / -1; }.text-link { color:#b7101a; font-size:12px; font-weight:850; }.candidate-info-intro { max-width:760px; margin:-5px 0 19px; color:#727272; font-size:13px; line-height:1.5; }.candidate-info-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr); gap:16px; }.candidate-info-list { display:grid; border:1px solid #ebebeb; border-radius:10px; overflow:hidden; }.analytics-candidate { display:grid; grid-template-columns:39px minmax(0,1fr) auto; align-items:center; gap:11px; width:100%; padding:14px; border:0; border-bottom:1px solid #ebebeb; background:#fff; color:#222; text-align:left; cursor:pointer; }.analytics-candidate:last-child { border-bottom:0; }.analytics-candidate:hover,.analytics-candidate.is-active { background:#fff4f5; }.analytics-candidate.is-active { box-shadow:inset 3px 0 #d81925; }.analytics-candidate strong { display:block; font-size:13px; }.analytics-candidate small { display:block; overflow:hidden; margin-top:3px; color:#707070; font-size:12px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }.analytics-candidate em { padding:4px 7px; border:1px solid #ddd; border-radius:999px; color:#5e5e5e; font-size:10px; font-style:normal; font-weight:850; }.analytics-avatar { display:grid; place-items:center; width:37px; height:37px; border-radius:50%; background:#fbe0e1; color:#a90f18; font-size:11px; font-weight:900; }.analytics-avatar.gold { background:#f7ead1; color:#8a5914; }.analytics-avatar.blue { background:#e1eafa; color:#284f90; }.analytics-avatar.violet { background:#eee2fa; color:#69409b; }.candidate-info-detail { padding:18px; border-radius:11px; background:#1d1c1d; color:#fff; }.candidate-detail-header { display:flex; align-items:center; gap:12px; padding-bottom:15px; border-bottom:1px solid rgba(255,255,255,.14); }.candidate-detail-header h3 { margin:4px 0; font-size:19px; letter-spacing:-.04em; }.candidate-detail-header .eyebrow { color:#ffb4b8; font-size:10px; }.candidate-detail-header p:last-child { margin:0; color:#c4c4c4; font-size:12px; font-weight:650; }.candidate-info-detail dl { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:16px 0; }.candidate-info-detail dl div { padding:10px; border:1px solid rgba(255,255,255,.13); border-radius:7px; }.candidate-info-detail dt { color:#aaa; font-size:10px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }.candidate-info-detail dd { margin:4px 0 0; color:#fff; font-size:12px; font-weight:750; }.candidate-info-detail > p { margin:0 0 15px; color:#d0d0d0; font-size:12px; line-height:1.55; }.candidate-info-detail .secondary-action { min-height:36px; border-color:rgba(255,255,255,.38); background:transparent; color:#fff; font-size:12px; }
@media (max-width:1100px) { .analytics-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }.analytics-grid { grid-template-columns:1fr; } }
@media (max-width:720px) { .analytics-workspace { padding:16px; }.analytics-hero { align-items:stretch; flex-direction:column; padding:24px; border-radius:14px; }.analytics-controls { width:100%; }.analytics-controls label,.analytics-controls select { width:100%; }.analytics-kpis { grid-template-columns:1fr; }.analytics-panel { padding:20px; }.funnel-analytics > div { grid-template-columns:78px 33px minmax(0,1fr); gap:9px; }.funnel-analytics small { display:none; }.analytics-ai-actions { align-items:stretch; flex-direction:column; }.analytics-ai-actions span { text-align:left; } }
@media (max-width:720px) { .source-mix { gap:16px; }.source-donut { width:120px; height:120px; }.source-donut > span { width:80px; height:80px; }.candidate-info-layout { grid-template-columns:1fr; }.trend-legend strong { width:100%; margin-left:0; }.analytics-candidate small { max-width:180px; } }

/* Interview Copilot */
.copilot-workspace { max-width: 1540px; padding: 34px; }.copilot-header { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:18px; }.copilot-header h1 { margin:4px 0 6px; font-size:clamp(32px,4vw,50px); letter-spacing:-.06em; }.copilot-header p:not(.eyebrow) { max-width:720px; margin:0; color:#666; font-size:15px; line-height:1.55; }.copilot-link { width:auto; padding:0 16px; white-space:nowrap; }.copilot-guardrail { display:flex; gap:12px; align-items:flex-start; margin:0 0 18px; padding:13px 16px; border:1px solid #ecd8d9; border-left:4px solid #d81925; background:#fffafa; color:#565656; font-size:13px; line-height:1.5; }.copilot-guardrail span { color:#b51620; font-size:19px; line-height:1; }.copilot-guardrail p { margin:0; }.copilot-guardrail strong { color:#292929; }.copilot-grid { display:grid; grid-template-columns:minmax(340px,.88fr) minmax(450px,1.12fr); gap:18px; align-items:start; }.copilot-panel,.copilot-evidence { border:1px solid #e0e0e0; background:#fff; box-shadow:0 10px 26px rgba(20,20,20,.045); }.copilot-panel { padding:22px; }.copilot-panel-head { display:flex; align-items:start; justify-content:space-between; gap:16px; margin-bottom:20px; }.copilot-panel-head .eyebrow { margin-bottom:4px; color:#b51620; }.copilot-panel h2,.copilot-evidence h2 { margin:0; color:#222; font-size:23px; letter-spacing:-.045em; }.copilot-status { padding:6px 8px; border:1px solid #e4d3d4; background:#fffafa; color:#8c252b; font-size:11px; font-weight:800; text-align:right; }.copilot-field { display:grid; gap:6px; margin:0 0 14px; color:#5c5c5c; font-size:11px; font-weight:850; letter-spacing:.055em; text-transform:uppercase; }.copilot-field input,.copilot-field select,.copilot-field textarea { width:100%; min-height:42px; padding:10px 11px; border:1px solid #d7d7d7; border-radius:4px; background:#fff; color:#262626; font:inherit; font-size:13px; font-weight:600; letter-spacing:normal; text-transform:none; resize:vertical; }.copilot-field textarea { min-height:92px; line-height:1.45; }.copilot-field input:focus,.copilot-field select:focus,.copilot-field textarea:focus { border-color:#d81925; outline:3px solid rgba(216,25,37,.1); }.candidate-context-card { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:4px 12px; align-items:center; margin:0 0 16px; padding:14px; border:1px solid #e6dada; border-top:3px solid #d81925; background:#fcfcfc; }.context-avatar { display:grid; grid-row:span 2; place-items:center; width:42px; height:42px; border-radius:50%; background:#2a1517; color:#fff; font-size:13px; font-weight:900; }.candidate-context-card strong { color:#272727; font-size:15px; }.candidate-context-card p { margin:2px 0 0; color:#6d6d6d; font-size:12px; }.candidate-context-card > span { padding:4px 7px; background:#f3e5e5; color:#97121a; font-size:10px; font-weight:900; text-transform:uppercase; }.candidate-context-card dl { display:grid; grid-column:1/-1; grid-template-columns:1fr 1fr; gap:10px; margin:9px 0 0; padding-top:10px; border-top:1px solid #e7e7e7; }.candidate-context-card dl div { min-width:0; }.candidate-context-card dt { color:#7c7c7c; font-size:10px; font-weight:800; text-transform:uppercase; }.candidate-context-card dd { overflow:hidden; margin:3px 0 0; color:#383838; font-size:12px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }.copilot-choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.copilot-generate { width:100%; margin-top:2px; }.copilot-output-panel { min-height:650px; }.copilot-empty { display:grid; place-items:center; align-content:center; min-height:510px; padding:35px; border:1px dashed #d7d7d7; background:#fafafa; text-align:center; }.copilot-empty div { display:grid; place-items:center; width:46px; height:46px; margin-bottom:12px; border-radius:50%; background:#f0dddd; color:#a71923; font-size:24px; font-weight:900; }.copilot-empty strong { color:#323232; font-size:17px; }.copilot-empty p { max-width:350px; margin:7px 0 0; color:#747474; font-size:13px; line-height:1.5; }.copilot-plan { min-height:510px; padding:18px; border:1px solid #dedede; background:#fdfdfd; color:#303030; font-size:14px; line-height:1.6; white-space:normal; }.copilot-plan section { margin:0 0 16px; }.copilot-plan section:last-child { margin-bottom:0; }.copilot-plan section:first-child { color:#1f1f1f; font-weight:750; }.copilot-actions { display:flex; gap:9px; margin-top:14px; }.copilot-actions .candidate-secondary-button { width:auto; padding:0 16px; }.copilot-evidence { display:grid; grid-template-columns:minmax(250px,.55fr) minmax(0,1.45fr); gap:24px; margin-top:18px; padding:22px; }.copilot-evidence .eyebrow { margin-bottom:4px; color:#b51620; }.copilot-evidence > div > p:not(.eyebrow) { margin:7px 0 0; color:#6b6b6b; font-size:13px; line-height:1.5; }.evidence-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.evidence-item { min-width:0; padding:12px; border:1px solid #e5e5e5; border-top:2px solid #d81925; background:#fff; }.evidence-item.is-empty { border-top-color:#d5d5d5; background:#fafafa; }.evidence-item span { color:#7a7a7a; font-size:10px; font-weight:900; letter-spacing:.055em; text-transform:uppercase; }.evidence-item p { margin:7px 0 0; color:#353535; font-size:12px; font-weight:600; line-height:1.45; white-space:pre-wrap; }.evidence-item.is-empty p,.evidence-placeholder { color:#969696; font-style:italic; }.evidence-placeholder { grid-column:1/-1; margin:0; padding:12px; border:1px dashed #ddd; font-size:13px; }
@media (max-width:1100px) { .copilot-grid { grid-template-columns:1fr; }.copilot-output-panel { min-height:0; }.copilot-empty,.copilot-plan { min-height:330px; }.copilot-evidence { grid-template-columns:1fr; } }
@media (max-width:720px) { .copilot-workspace { padding:20px; }.copilot-header { align-items:stretch; flex-direction:column; }.copilot-link { width:100%; }.copilot-choice-grid,.candidate-context-card dl,.evidence-list { grid-template-columns:1fr; }.copilot-panel,.copilot-evidence { padding:18px; }.copilot-panel-head { align-items:flex-start; flex-direction:column; }.copilot-status { text-align:left; }.copilot-evidence { gap:15px; }.copilot-actions { display:grid; grid-template-columns:1fr; }.copilot-actions .candidate-secondary-button { width:100%; } }

/* Logout confirmation */
.logout-dialog { width: min(calc(100vw - 32px), 430px); margin: auto; padding: 0; border: 0; border-radius: 8px; background: #fff; color: #202020; box-shadow: 0 24px 70px rgba(0, 0, 0, .26); }
.logout-dialog::backdrop { background: rgba(20, 18, 18, .52); }
.logout-dialog-panel { padding: 25px; }
.logout-dialog .eyebrow { margin: 0 0 8px; color: #b7101a; font-size: 11px; }
.logout-dialog h2 { margin: 0; color: #1c1c1c; font-size: 25px; letter-spacing: 0; }
.logout-dialog h2 + p { margin: 9px 0 0; color: #646464; font-size: 14px; line-height: 1.55; }
.logout-dialog-status { min-height: 19px; margin: 13px 0 0; color: #a20f18; font-size: 12px; font-weight: 700; }
.logout-dialog-status:empty { display: none; }
.logout-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.logout-dialog-actions button { min-height: 42px; padding: 0 16px; border-radius: 6px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.logout-cancel { border: 1px solid #d5d5d5; background: #fff; color: #303030; }
.logout-cancel:hover { border-color: #555; background: #fafafa; }
.logout-confirm { border: 1px solid #d81925; background: #d81925; color: #fff; }
.logout-confirm:hover:not(:disabled) { border-color: #af111b; background: #af111b; }
.logout-confirm:disabled { cursor: wait; opacity: .72; }
@media (max-width: 480px) { .logout-dialog-panel { padding: 21px; }.logout-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }.logout-dialog-actions button { width: 100%; } }
