.candidate-app {
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, .12), transparent 30%),
    radial-gradient(circle at 96% 8%, rgba(15, 118, 110, .12), transparent 34%),
    linear-gradient(180deg, #eef4ff 0, #f6f8fb 360px, #edf1f6 100%);
}

.candidate-layout {
  width: min(1760px, calc(100% - 28px));
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.candidate-product-page {
  width: min(1500px, calc(100% - 28px));
  display: grid;
  gap: 22px;
  padding-top: 14px;
  padding-bottom: 42px;
}

.candidate-account-actions .admin-entry button { min-height: 36px; }

.candidate-product-hero {
  position: relative;
  min-height: 332px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(196, 207, 224, .9);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,244,255,.88)),
    radial-gradient(circle at 86% 22%, rgba(15,118,110,.16), transparent 32%);
  box-shadow: 0 22px 58px rgba(16, 24, 40, .1);
}

.candidate-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.candidate-hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-copy-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  gap: 24px;
  align-items: center;
  justify-items: stretch;
  padding: 24px 48px;
  text-align: left;
}

.hero-trend-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center 66%;
  padding: 34px 12px 0;
  transform: scale(1.03);
  transform-origin: center 66%;
}

.candidate-product-hero h1 {
  max-width: 760px;
  margin: 4px 0 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.candidate-entry-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  max-width: 980px;
}

.candidate-entry-choices button {
  min-height: 210px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 13px;
  padding: 28px;
  border: 1px solid rgba(178, 204, 255, .95);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  color: #101828;
  text-align: left;
  box-shadow: 0 22px 48px rgba(16, 24, 40, .12);
}

.candidate-entry-choices button:first-child {
  color: #fff;
  border-color: rgba(23, 92, 211, .45);
  background: linear-gradient(135deg, #175cd3, #0f766e);
}

.candidate-entry-choices i {
  width: 34px;
  height: 34px;
}

.candidate-entry-choices strong {
  font-size: 30px;
  line-height: 1.1;
}

.candidate-entry-choices span {
  max-width: 360px;
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
}

.candidate-entry-choices button:first-child span {
  color: rgba(255, 255, 255, .86);
}

.candidate-choice-mode .candidate-product-hero {
  min-height: calc(100vh - 182px);
  display: grid;
  align-items: center;
}

.candidate-choice-mode .mode-switch,
.candidate-choice-mode .service-material-grid,
.candidate-choice-mode .weight-card,
.candidate-choice-mode .mode-panel,
.candidate-choice-mode .page-bottom-note {
  display: none;
}

.candidate-app:not(.candidate-choice-mode) .candidate-entry-choices {
  display: none;
}

.hero-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(199, 215, 254, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.hero-flow span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(178, 204, 255, .9);
  border-radius: 999px;
  color: #344054;
  background: #f8fbff;
  font-size: 15px;
  font-weight: 950;
}

.hero-flow i {
  color: #175cd3;
  font-style: normal;
  font-weight: 950;
  font-size: 17px;
}

.service-guide {
  justify-content: flex-start;
  margin-top: 18px;
}

.self-guide {
  justify-content: flex-start;
  margin-top: 10px;
}

.self-guide strong {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.candidate-hero-controls {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.candidate-hero-controls button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  border-color: rgba(23, 92, 211, .28);
  color: #175cd3;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(16, 24, 40, .12);
}

.candidate-hero-controls button.active {
  color: #fff;
  background: #175cd3;
}

.service-board {
  width: min(300px, 100%);
  justify-self: center;
  transform: translate(-12px, -10px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(199, 215, 254, .85);
  border-radius: 16px;
  background: linear-gradient(145deg, #175cd3, #0f766e);
  color: #fff;
}

.service-board div {
  min-height: 72px;
  display: grid;
  align-content: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.10);
}

.service-board b { font-size: 34px; line-height: 1; }
.service-board span { margin-top: 6px; color: #dbeafe; font-size: 13px; }

.mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(196, 207, 224, .9);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}

.mode-switch button {
  min-height: 62px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid #d8e1ee;
  background: #fff;
  box-shadow: none;
  text-align: left;
}

.mode-switch button span {
  display: grid;
  gap: 2px;
}

.mode-switch button strong {
  font-size: 15.5px;
  line-height: 1.15;
}

.mode-switch button small {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.mode-switch button.active {
  color: #fff;
  border-color: #175cd3;
  background: linear-gradient(180deg, #2563eb, #175cd3);
  box-shadow: 0 12px 26px rgba(23, 92, 211, .22);
}

.mode-switch button.active small {
  color: rgba(255, 255, 255, .82);
}

.service-material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-material-grid .card {
  min-width: 0;
}

.service-material-grid .card-body {
  display: grid;
  align-content: start;
  gap: 8px;
}

.self-material-card { display: none; }
.candidate-app.self-mode .self-material-card { display: block; }
.candidate-app.self-mode .service-material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.candidate-note-input-large {
  width: 100%;
  min-height: 154px;
  resize: vertical;
  font-size: 15px;
  line-height: 1.62;
}

.mode-panel { display: none; }
.mode-panel.active { display: block; }

.managed-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.managed-service-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 16px;
  align-items: stretch;
}

.managed-inline-checkout {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: linear-gradient(180deg, #eff6ff, #fff);
}

.managed-inline-checkout i {
  width: 52px;
  height: 52px;
  color: #175cd3;
}

.managed-inline-checkout strong {
  color: #101828;
  font-size: 24px;
  line-height: 1.1;
}

.managed-inline-checkout span {
  color: #667085;
  line-height: 1.6;
}

.managed-inline-checkout .full-button {
  min-height: 48px;
  color: #fff;
  background: #175cd3;
  border-color: #175cd3;
}

.managed-inline-checkout .full-button span {
  color: #fff;
  font-weight: 950;
}

.self-service-intro {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 14px;
  align-items: stretch;
  margin: 14px 0;
}

.self-service-intro > .card {
  height: 100%;
}

.delivery-preview-card {
  grid-column: 1 / -1;
}

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

.delivery-preview-grid article {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid #d8e1ee;
  border-radius: 12px;
  background: #fff;
}

.delivery-preview-grid strong { font-size: 17px; }
.delivery-preview-grid span { color: #667085; line-height: 1.7; }

.delivery-preview-grid ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.delivery-preview-grid article.preview-tone-blue {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #eff6ff, #fff);
}

.delivery-preview-grid article.preview-tone-green {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #ecfdf3, #fff);
}

.delivery-preview-grid article.preview-tone-amber {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb, #fff);
}

.managed-progress-preview {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #c7d7fe;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
}

.progress-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #344054;
}

.progress-preview-head span {
  color: #667085;
  font-size: 13px;
}

.service-progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.service-progress-steps span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e1ee;
  border-radius: 999px;
  color: #667085;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.service-progress-steps span.done {
  color: #067647;
  border-color: #86efac;
  background: #dcfce7;
}

.service-progress-steps span.active {
  color: #175cd3;
  border-color: #93c5fd;
  background: #dbeafe;
}

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

.service-plan-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(201, 211, 225, .9);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.service-plan-card:hover,
.service-plan-card.active {
  border-color: #175cd3;
  box-shadow: 0 18px 38px rgba(23, 92, 211, .14);
  transform: translateY(-1px);
}

.service-plan-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #344054;
  font-weight: 950;
}

.service-plan-card span em {
  padding: 4px 7px;
  border-radius: 999px;
  color: #b45309;
  background: #fef3c7;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.service-plan-card strong {
  margin-top: 10px;
  font-size: 42px;
  line-height: 1;
}

.service-plan-card strong small {
  color: #667085;
  font-size: 14px;
}

.service-plan-card b { font-size: 16px; }
.service-plan-card p { margin: 0; color: #667085; line-height: 1.7; }

.self-plan-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.self-plan-notes span {
  min-height: 44px;
  display: grid;
  align-content: center;
  padding: 11px 12px;
  border: 1px solid #d8e1ee;
  border-radius: 10px;
  color: #344054;
  background: #f8fafc;
  font-size: 13.5px;
  line-height: 1.5;
}

.service-actions {
  display: grid;
  gap: 10px;
}

.service-actions button:disabled {
  cursor: not-allowed;
  opacity: .62;
  filter: grayscale(.15);
}

.full-button { width: 100%; }

.checkout-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #d8e1ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.checkout-summary strong {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

.checkout-summary b {
  color: #175cd3;
  font-size: 28px;
}

.checkout-summary p {
  margin: 0;
  color: #667085;
  line-height: 1.65;
}

.checkout-summary ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #344054;
  font-size: 13px;
}

.checkout-summary li::before {
  content: "✓";
  margin-right: 7px;
  color: #067647;
  font-weight: 950;
}

.service-pay-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.service-qr {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  gap: 5px;
  overflow: hidden;
  border: 1px solid #c8d3e2;
  border-radius: 10px;
  background: #fff;
  color: #175cd3;
  font-size: 12px;
  font-weight: 900;
}

.service-qr img {
  width: 100%;
  height: 106px;
  object-fit: contain;
  padding: 6px;
}

.payment-modal-card {
  width: min(900px, calc(100% - 28px));
}

.payment-modal-card .service-pay-card {
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 22px;
}

.payment-modal-card .service-qr {
  width: min(396px, 100%);
  height: 414px;
  justify-self: center;
  font-size: 14px;
}

.payment-modal-card .service-qr img {
  height: 378px;
  padding: 10px;
}

.service-pay-card p { margin: 8px 0 0; color: #667085; line-height: 1.65; }

.service-code-form { padding: 0; }

.analysis-gate {
  padding: 8px 10px;
  border: 1px solid #fedf89;
  border-radius: 10px;
  color: #b54708;
  background: #fffaeb;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
}

.self-progress-card .card-head {
  min-height: 58px;
  padding: 12px 14px;
}

.self-progress-card .card-body {
  padding: 14px;
}

.analysis-gate.ready {
  color: #067647;
  border-color: #abefc6;
  background: #ecfdf3;
}

.analysis-mode-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.analysis-mode-cards button {
  min-height: 72px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-content: center;
  justify-content: start;
  text-align: left;
  gap: 2px 8px;
  padding: 10px 12px;
  border-color: #d8e1ee;
  background: #fff;
  box-shadow: none;
}

.analysis-mode-cards button svg {
  grid-row: span 2;
  color: #175cd3;
}

.analysis-mode-cards button strong { font-size: 19px; }

.analysis-mode-cards button span {
  color: #667085;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.analysis-mode-cards button.active {
  border-color: #175cd3;
  background: #eef4ff;
  box-shadow: 0 14px 28px rgba(23, 92, 211, .12);
}

.weight-card:not(.manual-mode) .weight-toolbar,
.weight-card:not(.manual-mode) .dimension-editor {
  display: none;
}

.weight-card:not(.manual-mode) .analysis-mode-cards {
  margin-bottom: 0;
}

.weight-card {
  margin-top: -4px;
  border-color: #175cd3;
  border-left: 6px solid #0b3b85;
  background: linear-gradient(180deg, #dbeafe, #fff);
  box-shadow: 0 20px 48px rgba(23, 92, 211, .2);
}

.weight-card .card-head {
  min-height: 50px;
  padding: 10px 14px;
  color: #082f6f;
  background: linear-gradient(135deg, #bfdbfe, #eff6ff);
}

.weight-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.weight-title > svg {
  width: 25px;
  height: 25px;
  padding: 4px;
  border-radius: 8px;
  color: #fff;
  background: #175cd3;
  box-shadow: 0 8px 18px rgba(23, 92, 211, .26);
}

.weight-card .card-body {
  padding: 12px;
}

.weight-card.collapsed .card-head {
  border-bottom: 0;
}

.analysis-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.analysis-stepper span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e1ee;
  border-radius: 999px;
  color: #667085;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.analysis-stepper span.done {
  color: #067647;
  border-color: #abefc6;
  background: #ecfdf3;
}

.analysis-stepper span.active {
  color: #175cd3;
  border-color: #b2ccff;
  background: #eef4ff;
}

.candidate-orders-list {
  display: grid;
  gap: 10px;
}

.empty-service-state {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #f8fafc;
  color: #667085;
}

.candidate-order-item {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.candidate-order-item strong,
.candidate-order-item span { display: block; }
.candidate-order-item span { color: #667085; font-size: 12px; margin-top: 3px; }

.candidate-payment-proof {
  display: inline-block;
  margin-top: 7px;
  padding: 5px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #175cd3;
  font-size: 12px;
  font-weight: 900;
}

.service-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #b54708;
  background: #fffaeb;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.service-status.pending_confirm { color: #175cd3; background: #eef4ff; }
.service-status.completed,
.service-status.paid,
.service-status.active { color: #067647; background: #ecfdf3; }
.service-status.failed,
.service-status.closed { color: #b42318; background: #fef3f2; }

.candidate-downloads {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.candidate-downloads a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #c8d3e2;
  border-radius: 8px;
  color: #175cd3;
  background: #eef4ff;
  font-size: 12px;
  font-weight: 900;
}

.candidate-downloads span { color: #98a2b3; font-size: 12px; }

.self-analysis-layout {
  display: block;
}

.candidate-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.candidate-auth-modal[hidden] { display: none !important; }

.candidate-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(10px);
}

.candidate-auth-card {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 28px 82px rgba(16, 24, 40, .18);
}

.payment-modal-card {
  width: min(900px, calc(100% - 28px));
}

.orders-modal-card {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
}

.modal-pay-card {
  margin: 14px 0;
}

.orders-modal-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 12px;
}

.candidate-auth-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.candidate-auth-head h2 {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.08;
}

.candidate-auth-head button {
  width: 36px;
  min-height: 36px;
  padding: 0;
}

.candidate-auth-card p {
  margin: 10px 0 14px;
  color: #667085;
}

.candidate-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}

.candidate-auth-tabs button {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.candidate-auth-tabs button.active {
  color: #fff;
  background: #111827;
}

.candidate-auth-form {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}

.candidate-auth-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.candidate-auth-consent input {
  width: auto;
  min-height: auto;
  margin-top: 2px;
}

.candidate-auth-card[data-mode="login"] .register-only { display: none; }
#candidate-server-status.success { color: #067647; }
#candidate-server-status.error { color: #b42318; }

.candidate-side {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 10px;
}

.candidate-main {
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.candidate-app .card {
  border-color: rgba(196, 207, 224, .9);
  border-left: 5px solid #175cd3;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 44px rgba(16, 24, 40, .08);
}

.candidate-app .card:nth-of-type(3n + 2) {
  border-left-color: #0f766e;
}

.candidate-app .card:nth-of-type(3n) {
  border-left-color: #b45309;
}

.candidate-app .card-head {
  border-bottom-color: rgba(199, 215, 254, .86);
  background: linear-gradient(180deg, rgba(239, 246, 255, .98), rgba(247, 250, 255, .92));
}

.candidate-app .card:nth-of-type(3n + 1) .card-head {
  background: linear-gradient(180deg, #eff6ff, #f8fbff);
}

.candidate-app .card:nth-of-type(3n + 2) .card-head {
  background: linear-gradient(180deg, #ecfdf3, #f8fbff);
}

.candidate-app .card:nth-of-type(3n) .card-head {
  background: linear-gradient(180deg, #fffbeb, #f8fbff);
}

.candidate-side .card-head {
  min-height: 49px;
  padding: 10px 11px;
}

.candidate-side .card-title {
  font-size: 14.5px;
}

.candidate-side .card-sub {
  margin-top: 1px;
  font-size: 12.5px;
  line-height: 1.25;
}

.candidate-side .card-body {
  padding: 11.5px;
}

.hero-carousel-card {
  position: relative;
  width: 100%;
  aspect-ratio: auto;
  height: 272px;
  min-height: 272px;
  max-height: 272px;
  overflow: hidden;
  border: 1px solid rgba(196, 207, 224, .9);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .95) 0 61.8%, rgba(15, 23, 42, .92) 61.8% 100%),
    radial-gradient(circle at 85% 22%, rgba(20, 184, 166, .25), transparent 34%);
  box-shadow: 0 22px 58px rgba(16, 24, 40, .1);
}

.hero-slide {
  position: absolute;
  inset: 0;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}

.hero-slide-copy {
  display: grid;
  align-items: center;
  padding: 22px 28px;
  opacity: 1;
  pointer-events: auto;
  animation: heroCopyCycle 30s infinite;
}

.hero-copy-inner {
  width: 61.8%;
  max-width: 900px;
}

.hero-copy-inner h1 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy-inner p {
  max-width: 760px;
  margin: 0 0 8px;
  color: #526071;
  font-size: 14px;
  line-height: 1.7;
}

.hero-slide-insight {
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  animation: heroInsightCycle 30s infinite;
}

.hero-carousel-card:hover .hero-slide {
  animation-play-state: paused;
}

.image-placeholder {
  min-height: 198px;
  width: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px dashed rgba(219, 234, 254, .62);
  border-radius: 16px;
  color: #eaf2ff;
  text-align: center;
  background: rgba(255, 255, 255, .08);
}

.employment-trend-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: inherit;
  background: #fff;
  box-shadow: none;
}

.carousel-dots {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}

.carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .58);
}

.carousel-dots span.active {
  width: 22px;
  background: #175cd3;
  animation: dotCopyCycle 30s infinite;
}

.carousel-dots .dot-insight {
  animation: dotInsightCycle 30s infinite;
}

@keyframes heroCopyCycle {
  0%, 46% { opacity: 1; pointer-events: auto; }
  50%, 96% { opacity: 0; pointer-events: none; }
  100% { opacity: 1; pointer-events: auto; }
}

@keyframes heroInsightCycle {
  0%, 46% { opacity: 0; pointer-events: none; }
  50%, 96% { opacity: 1; pointer-events: auto; }
  100% { opacity: 0; pointer-events: none; }
}

@keyframes dotCopyCycle {
  0%, 46% { width: 22px; background: #175cd3; }
  50%, 96% { width: 7px; background: rgba(148, 163, 184, .58); }
  100% { width: 22px; background: #175cd3; }
}

@keyframes dotInsightCycle {
  0%, 46% { width: 7px; background: rgba(148, 163, 184, .58); }
  50%, 96% { width: 22px; background: #175cd3; }
  100% { width: 7px; background: rgba(148, 163, 184, .58); }
}

.image-placeholder svg {
  width: 42px;
  height: 42px;
}

.image-placeholder strong {
  font-size: 18px;
}

.image-placeholder span {
  max-width: 280px;
  color: #cbdaf2;
  font-size: 13px;
  line-height: 1.65;
}

.hero-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-guide span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 11px 6px 8px;
  border: 1px solid rgba(199, 215, 254, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: #344054;
  font-size: 12.5px;
  font-weight: 850;
}

.hero-guide strong {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #175cd3, #0f766e);
  font-size: 12px;
}

.analysis-button {
  min-height: 74px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: #fff;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #175cd3, #0f766e);
  box-shadow: 0 24px 50px rgba(23, 92, 211, .24);
}

.side-analysis-button {
  width: 100%;
  min-height: 64px;
  border-radius: 12px;
}

.side-analysis-button svg {
  width: 24px;
  height: 24px;
}

.side-analysis-button span {
  font-size: 15px;
}

.analysis-button svg {
  width: 24px;
  height: 24px;
}

.analysis-button span {
  font-size: 15px;
  font-weight: 950;
  line-height: 1.3;
  text-align: center;
}

.weight-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto 110px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.candidate-note-field {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.candidate-note-field span {
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}

.candidate-note-field textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: #f8fafc;
  color: #101828;
  font-size: 13px;
  line-height: 1.55;
}

.candidate-note-field textarea:focus {
  border-color: rgba(47, 100, 255, .55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 100, 255, .12);
  outline: none;
}

.weight-total {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8fafc;
}

.weight-total span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.weight-total strong {
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}

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

.dimension-card {
  padding: 9px;
  border: 1px solid rgba(201, 211, 225, .9);
  border-left: 4px solid var(--dim-color);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.dimension-card.disabled {
  opacity: .52;
}

.dimension-card-head {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 64px 24px;
  align-items: center;
  gap: 8px;
}

.dimension-toggle {
  width: 15px;
  min-height: 15px;
  padding: 0;
  border-radius: 999px;
  background: #e4e7ec;
}

.dimension-toggle.on {
  border-color: var(--dim-color);
  background: var(--dim-color);
}

.dimension-name,
.dimension-weight input {
  min-height: 28px;
  padding: 4px 7px;
  font-size: 12px;
  font-weight: 850;
}

.dimension-weight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin: 0;
}

.dimension-weight span {
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.dimension-delete {
  min-height: 24px;
  padding: 0;
  color: #b42318;
  border-color: #fecdca;
  background: #fef3f2;
}

.dimension-desc {
  min-height: 54px;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.45;
}

.dimension-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}

.dimension-meter::before {
  content: "";
  display: block;
  grid-column: 1;
  grid-row: 1;
  height: 6px;
  border-radius: 999px;
  background: #e8edf4;
}

.dimension-meter span {
  display: block;
  grid-column: 1;
  grid-row: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--dim-color);
}

.dimension-meter em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  text-align: right;
}

.candidate-dropzone {
  min-height: 108px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: #dbeafe;
  border-color: rgba(59, 130, 246, .28);
  background:
    linear-gradient(135deg, rgba(9, 20, 38, .86), rgba(15, 23, 42, .78)),
    repeating-linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(34, 211, 238, .08) 1px, transparent 1px, transparent 18px);
}

.candidate-dropzone:hover,
.candidate-dropzone.drag-over {
  border-color: #38bdf8;
  background:
    linear-gradient(135deg, rgba(12, 35, 64, .9), rgba(15, 46, 69, .82)),
    repeating-linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(34, 211, 238, .12) 1px, transparent 1px, transparent 18px);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .18);
}

.candidate-dropzone.has-file {
  border-color: #34d399;
  background: linear-gradient(180deg, rgba(6, 78, 59, .66), rgba(15, 23, 42, .78));
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .2);
}

.candidate-dropzone svg {
  width: 21px;
  height: 21px;
  color: #67e8f9;
}

.candidate-dropzone strong {
  color: #f8fafc;
  font-size: 14.5px;
}

.candidate-dropzone span {
  display: block;
  max-width: 230px;
  margin: 4px auto 0;
  color: #b9c7d9;
  font-size: 12.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#candidate-job-file-name {
  max-width: 230px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.drop-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.candidate-dropzone button {
  min-height: 32px;
  padding: 5px 10px;
  color: #dbeafe;
  border-color: rgba(148, 163, 184, .3);
  background: rgba(15, 23, 42, .72);
  font-size: 12.5px;
}

.candidate-dropzone button.primary {
  color: #fff;
  border-color: #0f766e;
  background: linear-gradient(180deg, #0f766e, #0b625c);
  box-shadow: 0 10px 22px rgba(15, 118, 110, .18);
}

.candidate-side .candidate-status {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.35;
}

.candidate-status {
  margin-top: 10px;
  border-left: 4px solid rgba(148, 163, 184, .5);
  overflow-wrap: anywhere;
}

.candidate-status.success {
  color: #05603a;
  border-color: #abefc6;
  border-left-color: #12b76a;
  background: #ecfdf3;
}

.candidate-status.warn {
  color: #93370d;
  border-color: #fedf89;
  border-left-color: #f79009;
  background: #fffaeb;
}

.candidate-status.error {
  color: #912018;
  border-color: #fecdca;
  border-left-color: #f04438;
  background: #fef3f2;
}

.candidate-job-list {
  margin-top: 12px;
}

.candidate-job-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px 9px 0 0;
  background: #f8fafc;
}

.candidate-job-summary span {
  color: var(--muted);
  font-size: 12px;
}

.candidate-job-queue {
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 9px 9px;
  background: #fff;
}

.candidate-job-item {
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
}

.candidate-job-item span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--brand);
  background: #dbeafe;
  font-size: 12px;
  font-weight: 950;
}

.candidate-job-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-job-item em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.progress-count {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand);
  background: #eef4ff;
  font-size: 13px;
  font-weight: 950;
}

.progress-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf4;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #175cd3, #0f766e);
  transition: width .24s ease;
}

.html-report-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-left: 5px solid #175cd3;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #f8fffd);
}

.html-report-callout strong {
  display: block;
  color: #0f3d91;
  font-size: 14px;
}

.html-report-callout span {
  display: block;
  margin-top: 4px;
  color: #344054;
  font-size: 12px;
  line-height: 1.65;
}

.html-report-button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}

.candidate-table-wrap {
  max-height: min(720px, calc(100vh - 280px));
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(23, 92, 211, .08), rgba(15, 118, 110, .07)),
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(245, 249, 255, .94));
}

.match-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 10px;
  padding: 8px;
  background: transparent;
}

.match-table .col-role-score { width: 18.2%; }
.match-table .col-dim-conclusion { width: 15.1%; }
.match-table .col-evidence { width: 27.2%; }
.match-table .col-risk { width: 20%; }
.match-table .col-interview { width: 19.5%; }

.match-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 9px;
  color: #edf4ff;
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(17, 24, 39, .96));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.match-table th:first-child {
  border-radius: 12px 0 0 12px;
}

.match-table th:last-child {
  border-radius: 0 12px 12px 0;
}

.match-table td {
  max-width: none;
  padding: 11px 9px;
  border-top: 1px solid rgba(205, 216, 232, .9);
  border-bottom: 1px solid rgba(205, 216, 232, .9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(247, 250, 255, .98));
  font-size: 12.5px;
  line-height: 1.55;
  vertical-align: top;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .045);
}

.match-table td:first-child {
  min-width: 0;
  border-left: 1px solid rgba(205, 216, 232, .9);
  border-radius: 14px 0 0 14px;
}

.match-table td:last-child {
  border-right: 1px solid rgba(205, 216, 232, .9);
  border-radius: 0 14px 14px 0;
}

.match-table td:nth-child(-n+2) {
  padding-left: 7px;
  padding-right: 7px;
}

.match-table tr.sample-row td {
  border-top-color: #bfdbfe;
  border-bottom-color: #bfdbfe;
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.match-table tr.sample-row td:first-child {
  border-left-color: #93c5fd;
}

.match-table tr.sample-row td:last-child {
  border-right-color: #bfdbfe;
}

.role-score-cell,
.dimension-conclusion-cell {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.company-role-cell strong,
.company-role-cell span,
.company-role-cell small {
  display: block;
  overflow-wrap: anywhere;
}

.company-role-cell strong {
  color: #101828;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.35;
}

.company-role-cell span {
  margin-top: 4px;
  color: #175cd3;
  font-weight: 900;
  font-size: 12.5px;
  line-height: 1.35;
}

.company-role-cell small {
  margin-top: 7px;
  color: var(--weak);
  font-size: 11.5px;
  line-height: 1.35;
}

.score-cell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(199, 215, 254, .9);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(238, 244, 255, .98), rgba(255, 255, 255, .95));
}

.score-cell small {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.25;
  text-align: right;
}

.score-orb {
  width: auto;
  height: auto;
  display: flex;
  align-items: baseline;
  gap: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.score-orb strong {
  color: #175cd3;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.score-orb span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.score-orb.high {
  border-color: #12b76a;
  box-shadow: none;
}

.score-orb.high strong { color: #067647; }
.score-orb.mid {
  border-color: #f79009;
  box-shadow: none;
}
.score-orb.mid strong { color: #b54708; }
.score-orb.low {
  border-color: #f04438;
  box-shadow: none;
}
.score-orb.low strong { color: #b42318; }

.muted-score {
  color: var(--muted);
  background: #f2f4f7;
}

.dim-score-list {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.dim-score-row {
  display: grid;
  grid-template-columns: minmax(48px, 64px) max-content minmax(30px, 1fr);
  align-items: center;
  column-gap: 5px;
  min-height: 18px;
}

.dim-score-row span,
.dim-score-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.1;
}

.dim-score-row span {
  max-width: 64px;
  color: #344054;
}

.dim-score-row strong {
  min-width: 34px;
  font-size: 12px;
  text-align: left;
}

.dim-score-row em {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5eaf2;
}

.dim-score-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.insight-list {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-list li {
  position: relative;
  padding: 8px 10px 8px 25px;
  border: 1px solid rgba(199, 215, 254, .75);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(242, 247, 255, .86));
  color: #243247;
  box-shadow: inset 3px 0 0 rgba(23, 92, 211, .18);
  overflow-wrap: anywhere;
}

.insight-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #175cd3;
}

.insight-list strong {
  color: #0f3d91;
  font-weight: 950;
}

.insight-list.risk li {
  background: linear-gradient(180deg, #fffaf0, #fff6e6);
  border-color: #fddcab;
  box-shadow: inset 3px 0 0 rgba(247, 144, 9, .22);
}

.insight-list.risk li::before { background: #f79009; }

.insight-list.advice li {
  background: #eefcf6;
  border-color: #abefc6;
}

.insight-list.advice li::before { background: #12b76a; }

.insight-list.interview li {
  background: linear-gradient(180deg, #f7f5ff, #f1edff);
  border-color: #d9d6fe;
  box-shadow: inset 3px 0 0 rgba(122, 90, 248, .2);
}

.insight-list.interview li::before { background: #7a5af8; }

.conclusion-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 950;
  white-space: nowrap;
}

.conclusion-pill.good {
  color: #067647;
  background: #ecfdf3;
  border: 1px solid #abefc6;
}

.conclusion-pill.mid {
  color: #b54708;
  background: #fffaeb;
  border: 1px solid #fedf89;
}

.conclusion-pill.neutral {
  color: #175cd3;
  background: #eef4ff;
  border: 1px solid #c7d7fe;
}

.conclusion-pill.info {
  color: #475467;
  background: #f2f4f7;
  border: 1px solid #d0d5dd;
}

.conclusion-pill.low {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
}

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

.export-actions button {
  min-height: 32px;
  padding: 5px 10px;
  color: #175cd3;
  border-color: #c7d7fe;
  background: #eef4ff;
  font-size: 12px;
}

.export-pdf-sheet {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  padding: 24px;
  background: #f4f7fb;
  color: #101828;
  pointer-events: none;
  z-index: 9999;
}

.export-pdf-sheet h1 { margin: 0 0 10px; font-size: 28px; }
.export-pdf-sheet h2 { margin: 24px 0 10px; font-size: 18px; }
.export-pdf-sheet .summary {
  padding: 16px;
  border: 1px solid #dbe5f2;
  border-radius: 14px;
  background: #fff;
  white-space: pre-wrap;
}
.export-pdf-sheet table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 14px;
  background: #fff;
  border: 1px solid #dbe5f2;
}
.export-pdf-sheet th {
  padding: 8px;
  color: #fff;
  background: #111827;
  text-align: left;
}
.export-pdf-sheet td {
  padding: 8px;
  border-top: 1px solid #e8eef6;
  vertical-align: top;
}
.export-pdf-sheet ul { margin: 0; padding-left: 18px; }

.analysis-table-export {
  width: 1320px;
}

.analysis-table-export h1 {
  color: #0f172a;
}

.analysis-table-export h2 {
  color: #0f3d91;
}

.analysis-table-export td,
.analysis-table-export th {
  font-size: 12px;
  line-height: 1.6;
}

.report-only-export {
  width: 860px;
  padding: 30px;
  background: #fff;
}

.report-only-export main {
  max-width: 100%;
}

.report-only-export p,
.report-only-export .report-line {
  margin: 8px 0;
  line-height: 1.82;
}

.report-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.analysis-report {
  min-height: 220px;
  padding: 0;
  color: #243145;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  line-height: 1.68;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .07);
}

.report-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e7edf6;
  background: linear-gradient(135deg, #0f172a, #175cd3 58%, #0f766e);
  color: #fff;
}

.report-panel-title span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  font-size: 12px;
  font-weight: 950;
}

.report-panel-title strong {
  color: #fff;
  font-size: 14px;
}

#job-pool-report,
#career-report {
  max-height: 560px;
  overflow: auto;
  padding: 16px 18px 18px;
}

.analysis-report h1,
.analysis-report h2,
.analysis-report h3 {
  margin: 0 0 9px;
  color: #0f172a;
  letter-spacing: 0;
}

.analysis-report h1 {
  padding-bottom: 10px;
  border-bottom: 1px solid #e7edf6;
  font-size: 22px;
}

.analysis-report h2 {
  margin-top: 17px;
  padding: 9px 10px;
  border: 1px solid #dbe7ff;
  border-left: 4px solid #175cd3;
  border-radius: 9px;
  background: #eef4ff;
  color: #0f3d91;
  font-size: 16px;
}

.analysis-report h3 {
  margin-top: 14px;
  color: #175cd3;
  font-size: 14px;
}

.analysis-report p {
  margin: 7px 0;
}

.analysis-report .report-line {
  margin: 7px 0;
  padding: 9px 10px;
  border: 1px solid #e7edf6;
  border-radius: 9px;
  background: #fff;
}

.analysis-report .report-list {
  display: grid;
  gap: 7px;
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}

.analysis-report .report-list li {
  position: relative;
  padding: 8px 10px 8px 28px;
  border: 1px solid #e7edf6;
  border-radius: 9px;
  background: #fbfdff;
}

.analysis-report .report-list li::before {
  content: "•";
  position: absolute;
  left: 12px;
  top: 8px;
  color: #175cd3;
  font-weight: 950;
}

.analysis-report strong {
  color: #175cd3;
}

.analysis-report code {
  padding: 1px 5px;
  border-radius: 5px;
  background: #eef4ff;
  color: #0f3d91;
}

.analysis-report hr {
  height: 1px;
  margin: 18px 0;
  border: 0;
  background: #e7edf6;
}

.report-example {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: linear-gradient(180deg, #eff6ff, #fff);
}

.report-example p {
  margin: 0;
  color: #475467;
}

.report-example ul,
.report-example ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #344054;
}

.report-example li {
  line-height: 1.45;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.format-menu {
  position: relative;
}

.format-menu summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #c8d3e2;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.format-menu summary::-webkit-details-marker { display: none; }

.format-menu div {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 8;
  display: grid;
  gap: 6px;
  min-width: 150px;
  padding: 8px;
  border: 1px solid #d8e1ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 24, 40, .14);
}

.format-menu:not([open]) div { display: none; }

.format-menu div button {
  justify-content: flex-start;
  width: 100%;
}

.report-actions button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.report-actions svg {
  width: 15px;
  height: 15px;
}

.row-failed {
  background: #fff8f8;
}

.empty-cell {
  height: 120px;
  color: #344054;
  background: rgba(255, 255, 255, .9);
  text-align: center;
  font-weight: 850;
}

button.loading {
  opacity: .72;
  cursor: wait;
}

.config-card {
  opacity: .9;
}

@media (max-width: 1120px) {
  .candidate-layout,
  .hero-copy-slide,
  .service-material-grid,
  .managed-layout,
  .self-service-intro,
  .self-analysis-layout,
  .weight-toolbar {
    grid-template-columns: 1fr;
  }
  .report-actions {
    justify-content: flex-start;
  }
  .dimension-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .candidate-side {
    position: static;
  }
  .html-report-callout {
    grid-template-columns: 1fr;
  }
  .html-report-button {
    width: 100%;
  }
  .service-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .analysis-button {
    min-height: 74px;
  }
}

@media (max-width: 720px) {
  .candidate-layout,
  .candidate-product-page {
    width: calc(100% - 20px);
  }
  .candidate-product-hero {
    min-height: 0;
    height: 540px;
  }
  .hero-copy-slide { padding: 20px; }
  .candidate-product-hero h1 {
    font-size: 40px;
  }
  .mode-switch,
  .service-plan-grid,
  .service-material-grid,
  .service-board,
  .self-service-intro,
  .delivery-preview-grid,
  .service-progress-steps,
  .analysis-mode-cards,
  .analysis-stepper,
  .candidate-order-item {
    grid-template-columns: 1fr;
  }
  .service-pay-card {
    grid-template-columns: 1fr;
  }
  .payment-modal-card .service-pay-card {
    grid-template-columns: 1fr;
  }
  .payment-modal-card .service-qr {
    width: min(320px, 100%);
    height: 320px;
  }
  .payment-modal-card .service-qr img {
    height: 280px;
  }
  .candidate-downloads {
    justify-content: flex-start;
  }
  .hero-carousel-card,
  .hero-slide {
    min-height: 330px;
    aspect-ratio: auto;
  }
  .hero-slide-copy {
    padding: 20px;
  }
  .hero-copy-inner {
    width: 100%;
  }
  .hero-copy-inner h1 {
    font-size: 27px;
  }
  .candidate-job-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .dimension-editor {
    grid-template-columns: 1fr;
  }
}


.managed-report-card {
  border-top: 3px solid #0f766e;
}

.managed-report-preview {
  min-height: 150px;
}

.managed-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.managed-report-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.managed-report-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  background: #f8fafc;
}

.managed-report-item.ready {
  border-color: #86efac;
  background: #ecfdf5;
}

.managed-report-item strong,
.managed-report-item span {
  display: block;
}

.managed-report-item strong {
  color: #101828;
  font-size: 13px;
}

.managed-report-item span,
.managed-report-item em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.managed-report-item button.small {
  min-height: 32px;
  white-space: nowrap;
}


.report-only-export p,
.report-only-export .report-line,
.a4-html-document .a4-page-content p,
.a4-html-document .a4-page-content li { font-size: 13.6px; line-height: 1.78; }
.a4-html-document .a4-page-content h2 { font-size: 21px; }
.a4-html-document .a4-page-content h3 { font-size: 17px; }

.single-report-grid { grid-template-columns: 1fr; }
.single-report-grid .report-panel { min-width: 0; }


/* 20260529: tighter personal-job cover */
.topbar .nav a.active {
  border-color: rgba(23, 92, 211, .48);
  color: #0b4fb3;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  box-shadow: 0 8px 20px rgba(23, 92, 211, .14);
}
.candidate-product-hero {
  min-height: 156px;
  border-radius: 16px;
}
.hero-copy-slide {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 22px 32px;
}
.candidate-product-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.08;
}
@media (min-width: 1180px) {
  .candidate-product-hero h1 { white-space: nowrap; }
}
@media (max-width: 720px) {
  .candidate-product-hero { min-height: 148px; }
  .hero-copy-slide { padding: 20px; }
  .candidate-product-hero h1 { font-size: 28px; }
}

.candidate-choice-mode .candidate-product-hero {
  height: auto;
  min-height: calc(100vh - 182px);
}

@media (max-width: 720px) {
  .candidate-choice-mode .candidate-product-hero {
    min-height: calc(100vh - 150px);
  }
  .candidate-entry-choices {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }
  .candidate-entry-choices button {
    min-height: 154px;
    padding: 22px;
  }
  .candidate-entry-choices strong {
    font-size: 24px;
  }
  .candidate-entry-choices span {
    font-size: 14px;
  }
}

.candidate-choice-mode .mode-switch,
.candidate-choice-mode .service-material-grid,
.candidate-choice-mode .weight-card,
.candidate-choice-mode .mode-panel,
.candidate-choice-mode .mode-panel.active,
.candidate-choice-mode .page-bottom-note {
  display: none !important;
}

/* 20260531: product-grade candidate UI */
.candidate-product-page {
  gap: 18px;
  padding-bottom: 28px;
}

.candidate-product-hero {
  border-radius: 8px;
  border-color: #dbe3ee;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(242,247,255,.94)),
    radial-gradient(circle at 88% 18%, rgba(15,118,110,.13), transparent 30%);
  box-shadow: 0 12px 34px rgba(16, 24, 40, .08);
}

.candidate-entry-choices {
  max-width: 1040px;
}

.candidate-entry-choices button {
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .09);
}

.candidate-entry-choices button:first-child {
  background: #155eef;
}

.mode-switch {
  border-radius: 8px;
  background: #fff;
}

.mode-switch button,
.service-plan-card,
.delivery-preview-grid article,
.managed-inline-checkout {
  border-radius: 8px;
}

.service-material-grid,
.managed-service-body,
.delivery-preview-grid {
  gap: 14px;
}

.candidate-dropzone {
  min-height: 168px;
}

.managed-inline-checkout {
  background: #f8fbff;
  border-color: #c7d7fe;
}

.managed-inline-checkout i {
  width: 56px;
  height: 56px;
}

.managed-inline-checkout .full-button {
  margin-top: 4px;
}

.delivery-preview-card .card-body {
  display: grid;
  gap: 14px;
}

.managed-report-preview {
  overflow: hidden;
}

@media (max-width: 920px) {
  .managed-service-body {
    grid-template-columns: 1fr;
  }
}

/* 20260531: cinematic entry cards */
.candidate-choice-mode .candidate-product-page {
  width: min(1280px, calc(100% - 28px));
  min-height: calc(100vh - 98px);
  align-content: center;
}

.candidate-choice-mode .candidate-product-hero {
  min-height: min(720px, calc(100vh - 140px));
  border: 1px solid rgba(208, 218, 232, .95);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 18%, rgba(91, 141, 239, .16), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(74, 168, 153, .16), transparent 30%),
    linear-gradient(135deg, #f7fafc 0%, #ffffff 46%, #f2f7f6 100%);
  box-shadow: 0 28px 76px rgba(38, 55, 77, .13);
}

.candidate-choice-mode .hero-copy-slide {
  place-items: center;
  padding: clamp(26px, 5vw, 64px);
}

.candidate-choice-mode .hero-copy-slide > div {
  width: min(1120px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
}

.candidate-choice-mode .candidate-product-hero h1 {
  max-width: 980px;
  white-space: normal;
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 1.04;
}

.candidate-choice-mode .candidate-entry-choices {
  width: min(1080px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  margin-top: clamp(32px, 5vw, 56px);
}

.candidate-choice-mode .candidate-entry-choices button {
  position: relative;
  min-height: clamp(260px, 32vh, 360px);
  overflow: hidden;
  align-content: end;
  gap: 16px;
  padding: clamp(26px, 3.8vw, 42px);
  border-radius: 22px;
  border: 1px solid rgba(199, 211, 226, .94);
  background:
    radial-gradient(circle at 84% 12%, rgba(88, 166, 147, .18), transparent 29%),
    linear-gradient(145deg, #f2faf7 0%, #ffffff 48%, #f4f8fb 100%);
  box-shadow: 0 24px 56px rgba(39, 54, 76, .13);
  transform: translateY(0);
}

.candidate-choice-mode .candidate-entry-choices button::before {
  content: "";
  position: absolute;
  right: 26px;
  top: 26px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 36%, rgba(255,255,255,.9), rgba(255,255,255,.28) 34%, transparent 35%),
    conic-gradient(from 140deg, rgba(88,166,147,.24), rgba(91,141,239,.18), rgba(88,166,147,.24));
  opacity: .95;
}

.candidate-choice-mode .candidate-entry-choices button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255,255,255,.42), transparent 32%, rgba(255,255,255,.28) 68%, transparent);
}

.candidate-choice-mode .candidate-entry-choices button:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 94, 239, .45);
  box-shadow: 0 34px 76px rgba(16, 24, 40, .18);
}

.candidate-choice-mode .candidate-entry-choices button:first-child {
  color: #111827;
  border-color: rgba(188, 205, 231, .96);
  background:
    radial-gradient(circle at 84% 12%, rgba(91, 141, 239, .20), transparent 30%),
    linear-gradient(145deg, #f3f7ff 0%, #ffffff 48%, #f2faf7 100%);
}

.candidate-choice-mode .candidate-entry-choices button:first-child::before {
  background:
    radial-gradient(circle at 38% 36%, rgba(255,255,255,.9), rgba(255,255,255,.28) 34%, transparent 35%),
    conic-gradient(from 140deg, rgba(91,141,239,.28), rgba(88,166,147,.16), rgba(91,141,239,.28));
}

.candidate-choice-mode .candidate-entry-choices button:first-child::after {
  background:
    linear-gradient(120deg, rgba(255,255,255,.42), transparent 32%, rgba(255,255,255,.28) 68%, transparent);
}

.candidate-choice-mode .candidate-entry-choices i {
  position: absolute;
  z-index: 1;
  left: 48px;
  top: 48px;
  width: 38px;
  height: 38px;
  padding: 10px;
  box-sizing: content-box;
  color: #496fb8;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,245,252,.82));
  box-shadow: 0 16px 34px rgba(39, 54, 76, .13);
}

.candidate-choice-mode .candidate-entry-choices strong,
.candidate-choice-mode .candidate-entry-choices span {
  position: relative;
  z-index: 1;
}

.candidate-choice-mode .candidate-entry-choices strong {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: 0;
}

.candidate-choice-mode .candidate-entry-choices span {
  max-width: 430px;
  color: #5f6b7a;
  font-size: 16px;
  line-height: 1.75;
}

.candidate-choice-mode .candidate-entry-choices button:first-child span {
  color: #5f6b7a;
}

.candidate-choice-mode .candidate-entry-choices button:first-child i {
  color: #496fb8;
}

.candidate-choice-mode .candidate-entry-choices button:nth-child(2) i {
  color: #3b8176;
}

/* 20260531: refined in-flow modules */
.service-material-grid > .card,
.weight-card,
.mode-panel .card {
  border: 1px solid rgba(213, 222, 234, .96);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,251,253,.96));
  box-shadow: 0 14px 34px rgba(39, 54, 76, .075);
}

.service-material-grid > .card .card-head,
.mode-panel .card .card-head,
.weight-card .card-head {
  min-height: 62px;
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
}

.service-material-grid > .card .card-title,
.mode-panel .card .card-title,
.weight-card .card-title {
  font-size: 16px;
}

.service-material-grid > .card {
  overflow: hidden;
}

.service-material-grid > .card::before,
.mode-panel .card::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #6f97dc, #58a693);
}

.candidate-dropzone {
  min-height: 184px;
  border: 1px solid rgba(184, 196, 212, .9);
  border-radius: 12px;
  background:
    radial-gradient(circle at 78% 18%, rgba(91,141,239,.10), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7fafc);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75);
}

.candidate-dropzone i {
  width: 34px;
  height: 34px;
  padding: 10px;
  color: #496fb8;
  border-radius: 16px;
  background: #eef4ff;
}

.candidate-note-input-large {
  min-height: 184px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #ffffff, #fbfcfe);
}

.analysis-gate,
.checkout-summary,
.managed-progress-preview,
.html-report-callout {
  border: 1px solid rgba(213, 222, 234, .96);
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 10px 24px rgba(39, 54, 76, .055);
}

@media (max-width: 820px) {
  .candidate-choice-mode .candidate-product-hero {
    min-height: auto;
  }
  .candidate-choice-mode .candidate-entry-choices {
    grid-template-columns: 1fr;
  }
  .candidate-choice-mode .candidate-entry-choices button {
    min-height: 230px;
  }
}

/* 20260531: guided workflow pass */
.service-material-grid > .card,
.self-service-intro > .card,
.managed-layout > .card,
.delivery-preview-card,
.result-card,
.report-card {
  border-top: 3px solid #e2e8f0;
}

.service-material-grid > .card:first-child,
.managed-layout > .card:first-child {
  border-top-color: #155eef;
}

.self-material-card,
.self-service-intro > .card:first-child {
  border-top-color: #0f766e;
}

.weight-card.collapsed {
  opacity: .92;
}

.weight-card.collapsed .card-head {
  border-bottom: 0;
}

.analysis-gate {
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
}

.analysis-button {
  min-height: 56px;
  font-size: 16px;
}

.html-report-callout {
  border-radius: 8px;
  border-color: #dbe3ee;
  background: #fff;
}

.managed-report-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.managed-report-actions .small {
  min-height: 32px;
}


/* 20260606: candidate action board */
.candidate-choice-mode .candidate-product-page {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  align-content: center;
}

.candidate-choice-mode .candidate-product-hero {
  min-height: auto;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(61, 124, 82, .14), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(72, 92, 180, .12), transparent 27%),
    linear-gradient(135deg, #f6fbf7 0%, #ffffff 48%, #f4f7fb 100%);
  box-shadow: none;
}

.candidate-choice-mode .hero-copy-slide {
  padding: clamp(28px, 4vw, 48px) 0;
}

.candidate-choice-mode .hero-copy-slide > div {
  justify-items: stretch;
  text-align: left;
}

.candidate-board-head {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.candidate-board-head > span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #2f7a46;
  background: rgba(231, 246, 236, .92);
  font-size: 12px;
  font-weight: 900;
}

.candidate-choice-mode .candidate-product-hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.06;
}

.candidate-choice-mode .candidate-entry-choices.candidate-action-board {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}

.candidate-choice-mode .candidate-action-board .entry-tile {
  position: relative;
  min-height: 172px;
  display: grid;
  align-content: end;
  gap: 9px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(207, 217, 211, .86);
  border-radius: 18px;
  color: #142018;
  text-align: left;
  text-decoration: none;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 14px 34px rgba(25, 46, 32, .08);
  transform: none;
  cursor: pointer;
}

.candidate-choice-mode .candidate-action-board .entry-tile::before {
  content: "";
  position: absolute;
  inset: auto 16px 16px auto;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  opacity: .75;
}

.candidate-choice-mode .candidate-action-board .entry-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.5), transparent 38%);
}

.candidate-choice-mode .candidate-action-board .entry-tile:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: rgba(50, 122, 70, .36);
  box-shadow: 0 20px 44px rgba(25, 46, 32, .12);
}

.candidate-choice-mode .candidate-action-board .entry-tile > * {
  position: relative;
  z-index: 1;
}

.candidate-choice-mode .candidate-action-board .entry-tile i {
  position: static;
  width: 22px;
  height: 22px;
  padding: 8px;
  color: currentColor;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.74);
  box-shadow: none;
  box-sizing: content-box;
}

.candidate-choice-mode .candidate-action-board .entry-tile em {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: rgba(20, 32, 24, .72);
  background: rgba(255,255,255,.72);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.candidate-choice-mode .candidate-action-board .entry-tile strong {
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.candidate-choice-mode .candidate-action-board .entry-tile span {
  max-width: 100%;
  color: rgba(39, 52, 43, .78);
  font-size: 13px;
  line-height: 1.58;
}

.candidate-choice-mode .candidate-action-board .entry-primary {
  grid-row: span 2;
  min-height: 358px;
  color: #102316;
  background:
    radial-gradient(circle at 76% 18%, rgba(105, 177, 126, .26), transparent 34%),
    linear-gradient(145deg, #e8f7ec 0%, #ffffff 62%);
}

.candidate-choice-mode .candidate-action-board .entry-teal {
  background:
    radial-gradient(circle at 82% 12%, rgba(65, 151, 139, .2), transparent 31%),
    linear-gradient(145deg, #eefaf8 0%, #ffffff 60%);
}

.candidate-choice-mode .candidate-action-board .entry-ink {
  color: #f8fafc;
  border-color: rgba(20, 32, 24, .8);
  background:
    radial-gradient(circle at 82% 12%, rgba(102, 122, 180, .34), transparent 32%),
    linear-gradient(145deg, #17231b 0%, #26392b 100%);
}

.candidate-choice-mode .candidate-action-board .entry-ink span,
.candidate-choice-mode .candidate-action-board .entry-ink em {
  color: rgba(248, 250, 252, .78);
}

.candidate-choice-mode .candidate-action-board .entry-violet {
  background:
    radial-gradient(circle at 82% 12%, rgba(99, 102, 241, .17), transparent 31%),
    linear-gradient(145deg, #f4f5ff 0%, #ffffff 60%);
}

.candidate-choice-mode .candidate-action-board .entry-soon {
  cursor: not-allowed;
  opacity: 1;
  color: #69736c;
  background:
    repeating-linear-gradient(135deg, rgba(229, 236, 231, .56), rgba(229, 236, 231, .56) 8px, rgba(255,255,255,.72) 8px, rgba(255,255,255,.72) 18px);
}

.candidate-choice-mode .candidate-action-board .entry-soon em {
  color: #7a827d;
  background: rgba(235, 240, 237, .9);
}

@media (max-width: 980px) {
  .candidate-choice-mode .candidate-entry-choices.candidate-action-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .candidate-choice-mode .candidate-action-board .entry-primary {
    grid-row: auto;
    min-height: 210px;
  }
}

@media (max-width: 640px) {
  .candidate-choice-mode .candidate-entry-choices.candidate-action-board {
    grid-template-columns: 1fr;
  }

  .candidate-choice-mode .candidate-action-board .entry-tile {
    min-height: 158px;
  }
}


/* 20260606: show workflow immediately after choosing candidate action */
.candidate-app:not(.candidate-choice-mode) .candidate-product-hero {
  display: none;
}

.candidate-app:not(.candidate-choice-mode) .candidate-product-page {
  padding-top: 24px;
}


/* 20260606: fix visible candidate entry board */
.candidate-choice-mode .candidate-product-page {
  align-content: start;
}

.candidate-choice-mode .candidate-product-hero {
  min-height: min(720px, calc(100vh - 112px));
  display: grid;
  align-items: center;
}

.candidate-choice-mode .candidate-hero-slide {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
}

.candidate-choice-mode .hero-copy-slide {
  min-height: inherit;
  align-items: center;
}


/* 20260606: candidate board feature boundaries and tighter workflow */
.candidate-app {
  background:
    radial-gradient(circle at 8% 0%, rgba(59, 130, 246, .10), transparent 30%),
    radial-gradient(circle at 96% 8%, rgba(47, 122, 70, .12), transparent 34%),
    linear-gradient(180deg, #f3f8f5 0, #f7f9fb 360px, #eef3f1 100%);
}

.candidate-choice-mode .candidate-product-hero {
  min-height: min(690px, calc(100vh - 112px));
  border: 1px solid rgba(205, 222, 211, .72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 18%, rgba(89, 166, 112, .18), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(72, 92, 180, .12), transparent 27%),
    linear-gradient(135deg, #f0faf3 0%, #ffffff 50%, #f3f7fb 100%);
  box-shadow: 0 22px 58px rgba(31, 54, 38, .10);
}

.candidate-choice-mode .candidate-action-board .entry-soon {
  border-color: rgba(207, 217, 211, .78);
  box-shadow: none;
  filter: grayscale(.1);
}

.candidate-choice-mode .candidate-action-board .entry-soon i {
  background: rgba(255,255,255,.66);
}

.candidate-choice-mode .candidate-action-board .entry-primary {
  background:
    radial-gradient(circle at 76% 18%, rgba(105, 177, 126, .28), transparent 34%),
    linear-gradient(145deg, #e5f7ea 0%, #ffffff 62%);
}

.candidate-choice-mode .candidate-action-board .entry-teal {
  background:
    radial-gradient(circle at 82% 12%, rgba(57, 143, 129, .20), transparent 31%),
    linear-gradient(145deg, #eefaf7 0%, #ffffff 60%);
}

.candidate-app:not(.candidate-choice-mode) .candidate-product-page {
  width: min(1260px, calc(100% - 28px));
  margin-top: 10px;
  gap: 12px;
  padding-top: 10px;
}

.candidate-app:not(.candidate-choice-mode) .mode-switch {
  max-width: 760px;
  justify-self: center;
  width: 100%;
  padding: 4px;
  border-color: rgba(203, 218, 208, .9);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 26px rgba(31, 54, 38, .06);
}

.candidate-app:not(.candidate-choice-mode) .mode-switch button {
  min-height: 50px;
  border-radius: 9px;
}

.candidate-app:not(.candidate-choice-mode) .mode-switch button.active {
  border-color: #2f7a46;
  background: linear-gradient(180deg, #3f9a5d, #276d3f);
  box-shadow: 0 10px 22px rgba(47, 122, 70, .20);
}

.candidate-app:not(.candidate-choice-mode) .service-material-grid {
  gap: 12px;
}

.candidate-app:not(.candidate-choice-mode):not(.self-mode) .service-material-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
}

.candidate-app:not(.candidate-choice-mode) .service-material-grid > .card,
.candidate-app:not(.candidate-choice-mode) .managed-layout > .card,
.candidate-app:not(.candidate-choice-mode) .delivery-preview-card {
  border-color: rgba(211, 223, 215, .95);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(31, 54, 38, .065);
}

.candidate-app:not(.candidate-choice-mode) .service-material-grid > .card .card-head,
.candidate-app:not(.candidate-choice-mode) .managed-layout > .card .card-head,
.candidate-app:not(.candidate-choice-mode) .delivery-preview-card .card-head {
  min-height: 50px;
  background: linear-gradient(180deg, #ffffff, #f7faf8);
}

.candidate-app:not(.candidate-choice-mode) .candidate-dropzone {
  min-height: 126px;
  border-color: rgba(192, 211, 199, .92);
  background: #fbfdfb;
}

.candidate-app:not(.candidate-choice-mode) .candidate-note-input-large {
  min-height: 118px;
}

.candidate-app:not(.candidate-choice-mode) .managed-layout {
  gap: 12px;
}

.candidate-app:not(.candidate-choice-mode) .managed-service-body {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
  gap: 12px;
}

.candidate-app:not(.candidate-choice-mode) .managed-inline-checkout {
  padding: 16px;
  border-color: rgba(77, 151, 98, .30);
  background:
    radial-gradient(circle at 90% 0%, rgba(105, 177, 126, .20), transparent 38%),
    linear-gradient(180deg, #f0faf3, #ffffff);
}

.candidate-app:not(.candidate-choice-mode) .managed-inline-checkout i {
  width: 40px;
  height: 40px;
  color: #2f7a46;
}

.candidate-app:not(.candidate-choice-mode) .managed-inline-checkout strong {
  font-size: 20px;
}

.candidate-app:not(.candidate-choice-mode) .delivery-preview-grid {
  gap: 12px;
}

.candidate-app:not(.candidate-choice-mode) .delivery-preview-grid article {
  padding: 14px;
}

@media (max-width: 900px) {
  .candidate-app:not(.candidate-choice-mode):not(.self-mode) .service-material-grid,
  .candidate-app:not(.candidate-choice-mode) .managed-service-body {
    grid-template-columns: 1fr;
  }
}


/* 20260606: richer candidate entry cards */
.candidate-choice-mode .candidate-product-page {
  width: min(1220px, calc(100% - 32px));
}

.candidate-board-head {
  max-width: 940px;
}

.candidate-choice-mode .candidate-product-hero h1 {
  max-width: 940px;
}

.candidate-choice-mode .candidate-entry-choices.candidate-action-board {
  grid-template-columns: 1.28fr .94fr .94fr;
  gap: 16px;
  margin-top: 26px;
}

.candidate-choice-mode .candidate-action-board .entry-tile {
  min-height: 168px;
  align-content: space-between;
  gap: 11px;
  padding: 20px;
  border-color: rgba(199, 216, 204, .88);
  background: rgba(255, 255, 255, .84);
}

.candidate-choice-mode .candidate-action-board .entry-tile::before {
  right: 14px;
  top: 14px;
  inset: 14px 14px auto auto;
  width: 68px;
  height: 68px;
}

.candidate-choice-mode .candidate-action-board .entry-primary {
  min-height: 374px;
  border-color: rgba(92, 161, 112, .34);
  background:
    radial-gradient(circle at 82% 16%, rgba(116, 196, 139, .34), transparent 30%),
    radial-gradient(circle at 14% 86%, rgba(47, 122, 70, .10), transparent 34%),
    linear-gradient(145deg, #dff4e5 0%, #fbfffc 60%);
  box-shadow: 0 20px 50px rgba(47, 122, 70, .14);
}

.candidate-choice-mode .candidate-action-board .entry-teal {
  border-color: rgba(65, 151, 139, .26);
  background:
    radial-gradient(circle at 82% 12%, rgba(65, 151, 139, .23), transparent 30%),
    linear-gradient(145deg, #eaf8f5 0%, #ffffff 62%);
}

.candidate-choice-mode .candidate-action-board .entry-ink {
  border-color: rgba(28, 41, 33, .86);
  background:
    radial-gradient(circle at 84% 10%, rgba(98, 116, 181, .32), transparent 31%),
    linear-gradient(145deg, #18251c 0%, #263d2e 100%);
  box-shadow: 0 18px 44px rgba(24, 37, 28, .15);
}

.candidate-choice-mode .candidate-action-board .entry-soon {
  border-style: dashed;
  border-color: rgba(190, 201, 194, .9);
  color: #757f78;
  background:
    linear-gradient(145deg, rgba(248, 250, 249, .9), rgba(238, 242, 239, .86));
}

.entry-icon-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
}

.candidate-choice-mode .candidate-action-board .entry-icon-row i {
  position: static;
}

.entry-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.entry-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.entry-stats b {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 122, 70, .18);
  border-radius: 12px;
  color: #225d35;
  background: rgba(255, 255, 255, .68);
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}

.entry-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.entry-tags small {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #2b6840;
  background: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 900;
}

.entry-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding-top: 2px;
}

.entry-flow span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #315a3b;
  background: rgba(225, 244, 231, .9);
  font-size: 11px;
  font-weight: 900;
}

.candidate-choice-mode .candidate-action-board .entry-primary strong {
  font-size: 28px;
}

.candidate-choice-mode .candidate-action-board .entry-primary .entry-copy span {
  font-size: 14px;
  line-height: 1.62;
}

@media (max-width: 980px) {
  .candidate-choice-mode .candidate-entry-choices.candidate-action-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .candidate-choice-mode .candidate-action-board .entry-primary {
    min-height: 288px;
  }
}

@media (max-width: 640px) {
  .candidate-choice-mode .candidate-entry-choices.candidate-action-board {
    grid-template-columns: 1fr;
  }

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