/*
Theme Name: CTP Theme
*/

/* ==========================================================================
   CareerTransitionPlan.com Theme Stylesheet
   Rebuild candidate: 2026-05-17
   Product model: cloud-based application UI, not a generic website portal.
   Scope: CSS only. No plugin, API, backend, database, auth, billing, or shortcode logic.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Core typography */
  --ctp-font-sans: Arial, Helvetica, sans-serif;

  /* Working analytical workspace */
  --ctp-work-bg: #020b16;
  --ctp-work-header: #06111f;
  --ctp-work-header-border: #24435f;
  --ctp-work-panel: #061b31;
  --ctp-work-panel-strong: #08233e;
  --ctp-work-panel-soft: #07182d;
  --ctp-work-control: #061424;
  --ctp-work-border: #285174;
  --ctp-work-border-strong: #2c567b;
  --ctp-work-text: #eaf4ff;
  --ctp-work-text-strong: #ffffff;
  --ctp-work-muted: #c8d8ea;
  --ctp-work-muted-2: #8fa6bd;
  --ctp-work-accent: #67d7ff;
  --ctp-work-accent-2: #5db8ff;
  --ctp-work-success-bg: #033a28;
  --ctp-work-success-border: #30b873;
  --ctp-work-success-text: #e4fff0;
  --ctp-work-danger: #ff5a67;

  /* Institutional product/legal surfaces */
  --ctp-product-bg: #eef3f7;
  --ctp-product-surface: #f8fafc;
  --ctp-product-panel: #ffffff;
  --ctp-product-border: #b9c8d8;
  --ctp-product-border-strong: #8fa6bd;
  --ctp-product-text: #061426;
  --ctp-product-muted: #425873;
  --ctp-product-header: #08111d;
  --ctp-product-accent: #0b4f7a;
  --ctp-product-accent-2: #0f6b9a;

  /* Shared dimensions */
  --ctp-max-work: 1520px;
  --ctp-max-product: 1220px;
  --ctp-page-pad: 24px;
  --ctp-card-pad: 24px;
  --ctp-card-gap: 22px;
  --ctp-header-min: 86px;
}

/* --------------------------------------------------------------------------
   2. Global reset/base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--ctp-font-sans);
  line-height: 1.5;
  background: var(--ctp-product-bg);
  color: var(--ctp-product-text);
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

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

.screen-reader-text,
.wp-block-navigation__responsive-container-open:not(:focus):not(:active) {
  clip: rect(1px, 1px, 1px, 1px);
}

/* --------------------------------------------------------------------------
   3. Shared header/footer base
   -------------------------------------------------------------------------- */

.site-header,
.site-footer {
  max-width: var(--ctp-max-product);
  margin: 0 auto;
  padding: 24px var(--ctp-page-pad) 18px var(--ctp-page-pad);
}

.site-header {
  background: var(--ctp-product-header);
  color: var(--ctp-work-text);
  border-bottom: 1px solid var(--ctp-work-header-border);
}

.site-footer {
  border-top: 1px solid var(--ctp-product-border);
  color: var(--ctp-product-muted);
  font-size: 14px;
}

.site-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .01em;
  color: inherit;
}

.site-title a,
.site-branding a {
  color: inherit;
  text-decoration: none;
}

.main-navigation,
.site-header nav {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-header a {
  color: inherit;
}

main,
.site-main {
  max-width: var(--ctp-max-product);
  margin: 0 auto;
  padding: 40px var(--ctp-page-pad) 56px var(--ctp-page-pad);
}

.entry-content {
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Generic product components
   -------------------------------------------------------------------------- */

.ctp-dashboard {
  display: grid;
  gap: 18px;
}

.ctp-card {
  background: var(--ctp-product-panel);
  border: 1px solid var(--ctp-product-border);
  padding: 28px;
  color: var(--ctp-product-text);
}

.ctp-section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--ctp-product-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.ctp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.ctp-button,
.ctp-button-secondary,
button.ctp-button,
button.ctp-button-secondary,
a.ctp-button,
a.ctp-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--ctp-product-border-strong);
  border-radius: 0;
  background: var(--ctp-product-header);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.ctp-button-secondary,
button.ctp-button-secondary,
a.ctp-button-secondary {
  background: transparent;
  color: var(--ctp-product-text);
}

.ctp-button:hover,
.ctp-button-secondary:hover,
button.ctp-button:hover,
button.ctp-button-secondary:hover,
a.ctp-button:hover,
a.ctp-button-secondary:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.ctp-button:disabled,
.ctp-button[disabled],
button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

/* --------------------------------------------------------------------------
   5. Working analytical application pages
      Confirmed pages:
      /cv/ = page-id-21
      /career-plan/ = page-id-49
      /enrichment/ = page-id-19
      /job-assessment/ = page-id-63
   -------------------------------------------------------------------------- */

body.page-id-21:not(.ctpruv2-page),
body.page-id-49,
body.page-id-19:not(.ctpenv2-page),
body.page-id-63 {
  background: var(--ctp-work-bg);
  color: var(--ctp-work-text);
}

/* Working-page header: one shared rhythm for active analytical pages. */
body.page-id-21:not(.ctpruv2-page) .site-header,
body.page-id-49 .site-header,
body.page-id-19:not(.ctpenv2-page) .site-header,
body.page-id-21:not(.ctpruv2-page) header.site-header,
body.page-id-49 header.site-header,
body.page-id-19:not(.ctpenv2-page) header.site-header,
body.page-id-63 header.site-header {
  max-width: none;
  min-height: var(--ctp-header-min);
  margin: 0;
  padding: 22px var(--ctp-page-pad) 14px var(--ctp-page-pad);
  background: var(--ctp-work-header);
  border-bottom: 1px solid var(--ctp-work-header-border);
  color: var(--ctp-work-text);
}

/* Keep inner header objects aligned without changing header.php. */
body.page-id-21:not(.ctpruv2-page) .site-header .site-branding,
body.page-id-49 .site-header .site-branding,
body.page-id-19:not(.ctpenv2-page) .site-header .site-branding,
body.page-id-63 .site-header .site-branding,
body.page-id-21:not(.ctpruv2-page) .site-header .site-title,
body.page-id-49 .site-header .site-title,
body.page-id-19:not(.ctpenv2-page) .site-header .site-title,
body.page-id-63 .site-header .site-title,
body.page-id-21:not(.ctpruv2-page) .site-header .main-navigation,
body.page-id-49 .site-header .main-navigation,
body.page-id-19:not(.ctpenv2-page) .site-header .main-navigation,
body.page-id-63 .site-header .main-navigation,
body.page-id-21:not(.ctpruv2-page) .site-header nav,
body.page-id-49 .site-header nav,
body.page-id-19:not(.ctpenv2-page) .site-header nav,
body.page-id-63 .site-header nav {
  color: var(--ctp-work-text);
}

/* Working-page main shell. */
body.page-id-21:not(.ctpruv2-page) main,
body.page-id-49 main,
body.page-id-19:not(.ctpenv2-page) main,
body.page-id-63 main,
body.page-id-21:not(.ctpruv2-page) .site-main,
body.page-id-49 .site-main,
body.page-id-19:not(.ctpenv2-page) .site-main,
body.page-id-63 .site-main {
  max-width: none;
  margin: 0;
  padding: 28px var(--ctp-page-pad) 56px var(--ctp-page-pad);
  background: var(--ctp-work-bg);
  color: var(--ctp-work-text);
}

body.page-id-21:not(.ctpruv2-page) .entry-content,
body.page-id-49 .entry-content,
body.page-id-19:not(.ctpenv2-page) .entry-content,
body.page-id-63 .entry-content {
  width: 100%;
  max-width: var(--ctp-max-work);
  margin: 0 auto;
}

/* Job Assessment workspace alignment.
   Page-id-63 only. Normalize JD root to match shared analytical app-root behavior.
   Functional gate, polling, storage, submit, and clear behavior remain plugin-owned. */
body.page-id-63 .ctp-jd-assessment-workspace {
  width: 100%;
  max-width: var(--ctp-max-work);
  margin: 0 auto;
  padding: 0 0 34px 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}

/* Job Assessment vertical section rhythm.
   Page-id-63 only. Restore separation between JD hero and lower work grid. */
body.page-id-63 .ctp-jd-assessment-workspace > .ctp-jd-assessment-panel + .ctp-jd-assessment-grid {
  margin-top: var(--ctp-card-gap);
}

/* Job Assessment internal visual polish.
   Page-id-63 only. Preserve the wider result pane because output is the value area. */
body.page-id-63 .ctp-jd-assessment-grid {
  grid-template-columns: minmax(420px, .95fr) minmax(560px, 1.35fr);
  gap: var(--ctp-card-gap);
}

body.page-id-63 .ctp-jd-assessment-panel {
  min-height: 100%;
}

body.page-id-63 .ctp-jd-assessment-textarea {
  min-height: 360px;
}

body.page-id-63 .ctp-jd-assessment-results {
  min-height: 360px;
}

/* Working app roots. */
body.page-id-21 #ctpcv-app.ctp-dashboard,
body.page-id-19:not(.ctpenv2-page) #ctpen-app.ctp-dashboard,
body.page-id-21 .ctp-dashboard#ctpcv-app,
body.page-id-19:not(.ctpenv2-page) .ctp-dashboard#ctpen-app {
  width: 100%;
  max-width: var(--ctp-max-work);
  margin: 0 auto;
  padding: 0 0 34px 0;
  gap: var(--ctp-card-gap);
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}

/* Career Plan plugin uses its own shell classes. */
body.page-id-49 .ctp-career-plan-shell,
body.page-id-49 .ctp-fork-shell {
  width: 100%;
  max-width: var(--ctp-max-work);
  margin: 0 auto;
}

/* Working panels/cards. */
body.page-id-21 #ctpcv-app > .ctp-card,
body.page-id-19:not(.ctpenv2-page) #ctpen-app > .ctp-card,
body.page-id-49 .ctp-career-plan-intro,
body.page-id-49 .ctp-fork-shell,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-shell ~ section,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-shell ~ div {
  width: 100%;
  margin: 0;
  padding: var(--ctp-card-pad);
  border: 1px solid var(--ctp-work-border);
  border-radius: 2px;
  background: var(--ctp-work-panel);
  color: var(--ctp-work-text);
  box-shadow: none;
}

/* Intro/primary panels. */
body.page-id-21 #ctpcv-app > .ctp-card:first-child,
body.page-id-19:not(.ctpenv2-page) #ctpen-app > .ctp-card:first-child,
body.page-id-49 .ctp-career-plan-intro {
  background: linear-gradient(180deg, var(--ctp-work-panel-strong) 0%, var(--ctp-work-panel) 100%);
}

/* Working labels. */
body.page-id-21 #ctpcv-app .ctp-section-label,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-section-label,
body.page-id-49 .ctp-section-label,
body.page-id-49 .ctp-fork-kicker,
body.page-id-49 .ctp-fork-rank,
body.page-id-49 .ctp-fork-subhead,
body.page-id-49 .ctp-fork-metric-title,
body.page-id-49 .ctp-career-plan-intro > :first-child {
  color: var(--ctp-work-accent);
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 12px;
}

/* Working headings/text. */
body.page-id-21 #ctpcv-app .ctp-card h1,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-card h1,
body.page-id-49 .ctp-career-plan-intro h1,
body.page-id-49 .ctp-career-plan-intro h2,
body.page-id-49 .ctp-fork-card h2 {
  max-width: 980px;
  margin-top: 0;
  color: var(--ctp-work-text-strong);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.025em;
}

body.page-id-21 #ctpcv-app .ctp-card h2,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-card h2,
body.page-id-49 .ctp-career-plan-shell h2,
body.page-id-49 .ctp-career-plan-shell h3,
body.page-id-49 .ctp-fork-branch h3 {
  margin-top: 0;
  color: var(--ctp-work-text-strong);
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: -.012em;
}

body.page-id-21 #ctpcv-app .ctp-card p,
body.page-id-21 #ctpcv-app .ctp-muted,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-card p,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-muted,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctpen-answer-meta,
body.page-id-49 .ctp-career-plan-shell p,
body.page-id-49 .ctp-career-plan-shell .ctp-muted,
body.page-id-49 .ctp-fork-card p,
body.page-id-49 .ctp-fork-rationale,
body.page-id-49 .ctp-fork-metric-caption,
body.page-id-49 .ctp-fork-bullets,
body.page-id-49 .ctp-fork-bullets li {
  max-width: 1120px;
  color: var(--ctp-work-muted);
}

/* Working forms/buttons. */
body.page-id-21 #ctpcv-app .ctp-actions,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-actions,
body.page-id-49 .ctp-actions {
  gap: 10px;
  margin-top: 16px;
}

body.page-id-21 #ctpcv-app .ctp-button,
body.page-id-21 #ctpcv-app .ctp-button-secondary,
body.page-id-21 #ctpcv-app button.ctp-button,
body.page-id-21 #ctpcv-app button.ctp-button-secondary,
body.page-id-21 #ctpcv-app a.ctp-button,
body.page-id-21 #ctpcv-app a.ctp-button-secondary,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-button,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-button-secondary,
body.page-id-19:not(.ctpenv2-page) #ctpen-app button.ctp-button,
body.page-id-19:not(.ctpenv2-page) #ctpen-app button.ctp-button-secondary,
body.page-id-19:not(.ctpenv2-page) #ctpen-app a.ctp-button,
body.page-id-19:not(.ctpenv2-page) #ctpen-app a.ctp-button-secondary,
body.page-id-49 .ctp-career-plan-shell button,
body.page-id-49 .ctp-career-plan-shell .button,
body.page-id-49 .ctp-career-plan-shell a.button,
body.page-id-49 .ctp-career-plan-shell a[href*="/cv"],
body.page-id-49 .ctp-career-plan-shell a[href*="/enrichment"],
body.page-id-49 .ctp-career-plan-shell a[href*="/jd"] {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--ctp-work-border-strong);
  border-radius: 0;
  background: var(--ctp-work-panel-soft);
  color: var(--ctp-work-text-strong);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .005em;
  text-decoration: none;
}

body.page-id-21 #ctpcv-app .ctp-button:disabled,
body.page-id-21 #ctpcv-app .ctp-button[disabled],
body.page-id-21 #ctpcv-app button:disabled,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-button:disabled,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-button[disabled],
body.page-id-19:not(.ctpenv2-page) #ctpen-app button:disabled {
  background: var(--ctp-work-control);
  border-color: #243f5d;
  color: #7f8fa2;
  opacity: .82;
}

body.page-id-21 #ctpcv-app input[type="file"],
body.page-id-19:not(.ctpenv2-page) #ctpen-app textarea {
  border: 1px solid var(--ctp-work-border-strong);
  border-radius: 0;
  background: var(--ctp-work-control);
  color: var(--ctp-work-text);
}

body.page-id-21 #ctpcv-app input[type="file"] {
  max-width: 360px;
  min-height: 42px;
  padding: 8px;
}

body.page-id-19:not(.ctpenv2-page) #ctpen-app textarea {
  min-height: 96px;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
}

body.page-id-19:not(.ctpenv2-page) #ctpen-app textarea:focus {
  outline: 1px solid var(--ctp-work-accent-2);
  border-color: var(--ctp-work-accent-2);
}

/* Working page footer. */
body.page-id-21:not(.ctpruv2-page) .site-footer,
body.page-id-49 .site-footer,
body.page-id-19:not(.ctpenv2-page) .site-footer,
body.page-id-63 .site-footer,
body.page-id-21:not(.ctpruv2-page) footer,
body.page-id-49 footer,
body.page-id-19:not(.ctpenv2-page) footer
body.page-id-63 footer {
  max-width: none;
  margin: 0;
  padding: 24px var(--ctp-page-pad);
  background: var(--ctp-work-bg);
  color: var(--ctp-work-muted-2);
  border-top: 1px solid var(--ctp-work-header-border);
}

/* --------------------------------------------------------------------------
   6. CV-specific working components
   -------------------------------------------------------------------------- */

body.page-id-21 #ctpcv-app .ctpcv-progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

body.page-id-21 #ctpcv-app .ctpcv-progress-step {
  min-height: 46px;
  padding: 11px 12px;
  border-radius: 0;
  background: var(--ctp-work-panel-soft);
  border: 1px solid var(--ctp-work-border-strong);
  color: #d8e6f7;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(102, 217, 255, .06);
}

body.page-id-21 #ctpcv-app .ctpcv-progress-step.is-complete {
  background: linear-gradient(180deg, rgba(3, 58, 40, .96), rgba(3, 41, 31, .98));
  border-color: var(--ctp-work-success-border);
  color: var(--ctp-work-success-text);
  box-shadow:
    inset 0 1px 0 rgba(168, 255, 207, .16),
    0 0 0 1px rgba(48, 184, 115, .06);
}

body.page-id-21 #ctpcv-app #ctpcv-upload-panel,
body.page-id-21 #ctpcv-app #ctpcv-processing-panel,
body.page-id-21 #ctpcv-app #ctpcv-meter-panel,
body.page-id-21 #ctpcv-app #ctpcv-decision-panel,
body.page-id-21 #ctpcv-app #ctpcv-message-panel {
  padding: var(--ctp-card-pad);
}

body.page-id-21 #ctpcv-app #ctpcv-meter-lines {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   7. Career Plan / Fork-specific working components
   -------------------------------------------------------------------------- */

body.page-id-49 .ctp-fork-grid {
  display: grid;
  gap: 12px;
}

body.page-id-49 .ctp-fork-grid.ctp-fork-grid-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-id-49 .ctp-fork-grid.ctp-fork-grid-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-id-49 .ctp-fork-grid.ctp-fork-grid-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-id-49 .ctp-fork-branch,
body.page-id-49 .ctp-fork-card {
  padding: 18px;
  border: 1px solid var(--ctp-work-border);
  border-radius: 2px;
  background: var(--ctp-work-panel);
  color: var(--ctp-work-text);
}

body.page-id-49 .ctp-fork-band {
  color: var(--ctp-work-accent);
  font-weight: 900;
}

body.page-id-49 .ctp-fork-checkbox {
  accent-color: var(--ctp-work-accent-2);
}

body.page-id-49 .ctp-fork-metric-box,
body.page-id-49 .ctp-fork-explainer-grid {
  border: 1px solid var(--ctp-work-border);
  background: var(--ctp-work-panel-soft);
  padding: 12px;
}

/* --------------------------------------------------------------------------
   8. Enrichment-specific working components
   -------------------------------------------------------------------------- */

body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctpen-question {
  margin-top: 20px;
  margin-bottom: 22px;
}

body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctpen-question label,
body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctpen-question legend {
  color: var(--ctp-work-text-strong);
  font-weight: 800;
  line-height: 1.35;
}

body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctpen-required-dot {
  color: var(--ctp-work-danger);
  text-shadow: 0 0 8px rgba(255, 90, 103, .22);
}

body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctpen-choice-list {
  border: 1px solid var(--ctp-work-border-strong);
  border-radius: 0;
  padding: 18px 20px;
  margin-top: 12px;
  background: var(--ctp-work-panel-soft);
  color: var(--ctp-work-text);
}

body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctpen-choice-list legend {
  display: block;
  width: auto;
  max-width: 100%;
  padding: 0 8px 12px 0;
  margin-bottom: 8px;
  background: transparent;
  color: var(--ctp-work-text-strong);
  white-space: normal;
}

body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctpen-choice-option {
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--ctp-work-text);
}

/* --------------------------------------------------------------------------
   9. Institutional product/account pages
      Confirmed:
      /login/ = 32, /sign-up/ = 39, /password-reset/ = 36,
      /account/ = 13, /home/ = 11
   -------------------------------------------------------------------------- */

body.page-id-11 {
  background: var(--ctp-product-bg);
  color: var(--ctp-product-text);
}

body.page-id-11 .site-header,
body.page-id-11 header.site-header {
  max-width: var(--ctp-max-product);
  background: var(--ctp-product-header);
  color: var(--ctp-work-text);
  border-bottom: 1px solid var(--ctp-work-header-border);
}

body.page-id-11 main,
body.page-id-11 .site-main {
  max-width: var(--ctp-max-product);
  padding: 28px var(--ctp-page-pad) 56px var(--ctp-page-pad);
}

body.page-id-11 .ctp-dashboard {
  max-width: var(--ctp-max-product);
  margin: 0 auto;
}

body.page-id-11 .ctp-card {
  background: var(--ctp-product-surface);
  border: 1px solid var(--ctp-product-border);
  color: var(--ctp-product-text);
}

body.page-id-11 .ctp-card h1 {
  margin-top: 0;
  color: var(--ctp-product-text);
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

body.page-id-11 .ctp-card h2 {
  margin-top: 0;
  color: var(--ctp-product-text);
  font-size: 22px;
  line-height: 1.18;
}

body.page-id-11 input,
body.page-id-11 textarea,
body.page-id-11 select {
  max-width: 520px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--ctp-product-border);
  border-radius: 0;
  background: #ffffff;
  color: var(--ctp-product-text);
}

/* --------------------------------------------------------------------------
   10. Legal / policy pages
      Created:
      /terms-and-conditions/ = 61
      /usage-policy/ = 62
      Existing draft:
      /privacy-policy/ = 3
   -------------------------------------------------------------------------- */

body.page-id-61,
body.page-id-62,
body.page-id-3 {
  background: var(--ctp-product-bg);
  color: var(--ctp-product-text);
}

body.page-id-61 .site-header,
body.page-id-62 .site-header,
body.page-id-3 .site-header,
body.page-id-61 header.site-header,
body.page-id-62 header.site-header,
body.page-id-3 header.site-header {
  max-width: var(--ctp-max-product);
  background: var(--ctp-product-header);
  color: var(--ctp-work-text);
  border-bottom: 1px solid var(--ctp-work-header-border);
}

body.page-id-61 main,
body.page-id-62 main,
body.page-id-3 main,
body.page-id-61 .site-main,
body.page-id-62 .site-main,
body.page-id-3 .site-main {
  max-width: var(--ctp-max-product);
  padding: 32px var(--ctp-page-pad) 64px var(--ctp-page-pad);
}

body.page-id-61 .entry-content,
body.page-id-62 .entry-content,
body.page-id-3 .entry-content,
.ctp-policy-page {
  max-width: 960px;
  margin: 0 auto;
}

body.page-id-61 h1,
body.page-id-62 h1,
body.page-id-3 h1,
.ctp-policy-page h1 {
  color: var(--ctp-product-text);
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

body.page-id-61 p,
body.page-id-62 p,
body.page-id-3 p,
.ctp-policy-page p {
  color: var(--ctp-product-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   11. Documentation route/page styling
      Documentation routes may be generated by plugin and not listed as WP pages.
      Use classes if present; keep readable and institutional, not trader desktop.
   -------------------------------------------------------------------------- */

.ctp-doc-page,
.ctp-documentation-page,
body[class*="documentation"] .entry-content {
  color: var(--ctp-product-text);
}

.ctp-doc-page .ctp-card,
.ctp-documentation-page .ctp-card {
  background: var(--ctp-product-surface);
  border: 1px solid var(--ctp-product-border);
}

.ctp-doc-nav,
.ctp-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

/* --------------------------------------------------------------------------
   12. Responsive rules
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --ctp-page-pad: 18px;
    --ctp-card-pad: 18px;
    --ctp-card-gap: 18px;
  }

  body.page-id-21 #ctpcv-app .ctpcv-progress-steps {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    min-width: 1120px;
  }

  body.page-id-49 .ctp-fork-grid.ctp-fork-grid-count-2,
  body.page-id-49 .ctp-fork-grid.ctp-fork-grid-count-3,
  body.page-id-49 .ctp-fork-grid.ctp-fork-grid-count-4 {
    grid-template-columns: 1fr;
  }

  body.page-id-21 #ctpcv-app .ctp-card h1,
  body.page-id-19:not(.ctpenv2-page) #ctpen-app .ctp-card h1,
  body.page-id-49 .ctp-career-plan-intro h1,
  body.page-id-49 .ctp-career-plan-intro h2 {
    font-size: 28px;
  }

  .site-header,
  .site-footer,
  main,
  .site-main {
    padding-left: var(--ctp-page-pad);
    padding-right: var(--ctp-page-pad);
  }
}

/* --------------------------------------------------------------------------
   13. Safety/accessibility utilities
   -------------------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--ctp-work-accent-2);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

/* End CareerTransitionPlan.com theme rebuild candidate */

/* ==========================================================================
   CTP shared header correction v1
   Scope: style.css only. Uses actual header.php classes:
   .site-header-row, .site-nav, .site-account-menu, .site-account-panel.
   ========================================================================== */

.site-header {
  max-width: none !important;
  margin: 0 !important;
  background: #06111f !important;
  color: #eaf4ff !important;
  border-bottom: 1px solid #24435f !important;
}

.site-header-row {
  max-width: 1520px !important;
  min-height: 86px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.site-title {
  margin: 0 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: .01em !important;
  color: #eaf4ff !important;
  flex: 0 0 auto !important;
}

.site-title a {
  color: #eaf4ff !important;
  text-decoration: none !important;
}

.site-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  margin-left: auto !important;
  color: #d8e6f7 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.site-nav > a {
  color: #d8e6f7 !important;
  text-decoration: none !important;
}

.site-nav > a:hover,
.site-nav > a:focus {
  color: #67d7ff !important;
  text-decoration: none !important;
}

.site-account-menu {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.site-account-menu summary {
  width: 34px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 1px solid #2c567b !important;
  background: #07182d !important;
  color: #67d7ff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  list-style: none !important;
}

.site-account-menu summary::-webkit-details-marker {
  display: none !important;
}

.site-account-menu summary::marker {
  content: "" !important;
}

.site-account-icon {
  display: block !important;
  color: #67d7ff !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.site-account-panel {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  min-width: 220px !important;
  padding: 12px !important;
  z-index: 9999 !important;
  background: #061b31 !important;
  border: 1px solid #2c567b !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35) !important;
  color: #eaf4ff !important;
  text-align: left !important;
}

.site-account-title {
  padding: 4px 4px 10px 4px !important;
  margin-bottom: 8px !important;
  border-bottom: 1px solid #24435f !important;
  color: #c8d8ea !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  overflow-wrap: anywhere !important;
}

.site-account-panel a,
.site-account-panel button {
  width: 100% !important;
  min-height: 34px !important;
  padding: 8px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #eaf4ff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-align: left !important;
  text-transform: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.site-account-panel a:hover,
.site-account-panel button:hover,
.site-account-panel a:focus,
.site-account-panel button:focus {
  background: #07182d !important;
  border-color: #2c567b !important;
  color: #67d7ff !important;
  text-decoration: none !important;
}

.site-account-panel form {
  margin: 0 !important;
}

/* Logged-out header: keep login/sign-up right aligned, no account dropdown. */
body:not(.logged-in) .site-nav {
  gap: 20px !important;
}

/* Product/legal/account pages use the same product header object layout, but keep content pages light. */
body.page-id-11 .site-header-row,
body.page-id-61 .site-header-row,
body.page-id-62 .site-header-row,
body.page-id-3 .site-header-row {
  max-width: 1220px !important;
}

/* Responsive header behavior. */
@media (max-width: 900px) {
  .site-header-row {
    min-height: auto !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .site-nav {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 12px 16px !important;
    white-space: normal !important;
  }

  .site-account-panel {
    left: 0 !important;
    right: auto !important;
  }
}

/* === end CTP shared header correction v1 === */

/* ==========================================================================
   CTP product/account/legal body refinement v1
   Header is already accepted; this block does not alter header layout.
   Scope: style.css only. No plugin, backend, database, or header.php changes.
   ========================================================================== */

/* Institutional product pages: make the body feel like product software, not generic WordPress. */
body.page-id-11,
body.page-id-61,
body.page-id-62,
body.page-id-3 {
  background: #eef3f7 !important;
  color: #061426 !important;
}

/* Consistent product page width and rhythm below the accepted header. */
body.page-id-11 main,
body.page-id-61 main,
body.page-id-62 main,
body.page-id-3 main,
body.page-id-11 .site-main,
body.page-id-61 .site-main,
body.page-id-62 .site-main,
body.page-id-3 .site-main {
  max-width: none !important;
  margin: 0 !important;
  padding: 28px 24px 56px 24px !important;
  background: #eef3f7 !important;
}

body.page-id-11 .entry-content,
body.page-id-61 .entry-content,
body.page-id-62 .entry-content,
body.page-id-3 .entry-content {
  width: 100% !important;
  max-width: 1420px !important;
  margin: 0 auto !important;
}

/* Product/account cards: institutional panels, less WordPress, more application surface. */
body.page-id-11 .ctp-card,
body.page-id-61 .ctp-card,
body.page-id-62 .ctp-card,
body.page-id-3 .ctp-card,
body.page-id-61 .ctp-policy-page,
body.page-id-62 .ctp-policy-page,
body.page-id-3 .ctp-policy-page {
  background: #f8fafc !important;
  border: 1px solid #b8c8d8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #061426 !important;
}

/* If legal pages use only block-group wrappers, make them behave like cards. */
body.page-id-61 .ctp-policy-page,
body.page-id-62 .ctp-policy-page,
body.page-id-3 .ctp-policy-page {
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: 34px !important;
}

/* Product page labels/headings/copy. */
body.page-id-11 .ctp-section-label {
  color: #36536f !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
}

body.page-id-11 .ctp-card h1,
body.page-id-61 h1,
body.page-id-62 h1,
body.page-id-3 h1 {
  color: #061426 !important;
  font-size: 42px !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  margin-top: 0 !important;
}

body.page-id-11 .ctp-card h2,
body.page-id-61 h2,
body.page-id-62 h2,
body.page-id-3 h2 {
  color: #061426 !important;
  font-size: 22px !important;
  line-height: 1.18 !important;
  margin-top: 0 !important;
}

body.page-id-11 .ctp-card p,
body.page-id-61 p,
body.page-id-62 p,
body.page-id-3 p,
body.page-id-11 .ctp-muted {
  color: #29435f !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* Product/account form fields. */
body.page-id-11 input,
body.page-id-11 textarea,
body.page-id-11 select {
  max-width: 560px !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  border: 1px solid #9fb2c5 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #061426 !important;
}

body.page-id-11 input:focus,
body.page-id-11 textarea:focus {
  outline: 2px solid #0f6b9a !important;
  outline-offset: 1px !important;
}

/* Product/account buttons: institutional, not browser-default. */
body.page-id-11 .ctp-button,
body.page-id-11 button,
body.page-id-11 input[type="submit"] {
  min-height: 42px !important;
  padding: 10px 16px !important;
  border: 1px solid #061426 !important;
  border-radius: 0 !important;
  background: #061426 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Keep secondary action links visually distinct but not browser-default. */
body.page-id-11 .ctp-button-secondary,
body.page-id-11 a.ctp-button-secondary {
  border: 1px solid #8fa6bd !important;
  background: transparent !important;
  color: #061426 !important;
}

/* Legal/policy pages should not look like working pages. */
body.page-id-61 .site-footer,
body.page-id-62 .site-footer,
body.page-id-3 .site-footer {
  background: #eef3f7 !important;
  color: #425873 !important;
  border-top: 1px solid #b8c8d8 !important;
}

/* Career Plan lower panels: fix overly dim secondary section text without disturbing fork card content. */
/* Legacy Career Plan lower-panel text-only correction disabled 2026-05-18.
   Reason: this block corrected text color only and allowed non-fork fallback cards
   such as Profile Actions and Status to render as light/white panels.
   Kept here as change history; replaced immediately below with a bounded
   non-fork direct-card correction.
*/
/*
body.page-id-49 .ctp-career-plan-shell > .ctp-card h2,
body.page-id-49 .ctp-career-plan-shell > .ctp-card h3,
body.page-id-49 .ctp-career-plan-shell > section h2,
body.page-id-49 .ctp-career-plan-shell > section h3,
body.page-id-49 .ctp-career-plan-shell > div h2,
body.page-id-49 .ctp-career-plan-shell > div h3 {
  color: #ffffff !important;
}

body.page-id-49 .ctp-career-plan-shell > .ctp-card p,
body.page-id-49 .ctp-career-plan-shell > section p,
body.page-id-49 .ctp-career-plan-shell > div p {
  color: #c8d8ea !important;
}
*/

/* CTP Career Plan non-fork fallback panel correction v1.
   Scope: direct Career Plan cards only. Does not touch fork workspace selectors,
   fork shell, fork grid, fork cards, fork branches, or fork market charts.
*/
body.page-id-49 .ctp-career-plan-shell > .ctp-card:not(.ctp-career-plan-intro) {
  background: #061b31 !important;
  border: 1px solid #285174 !important;
  border-radius: 2px !important;
  color: #eaf4ff !important;
  box-shadow: none !important;
}

body.page-id-49 .ctp-career-plan-shell > .ctp-card:not(.ctp-career-plan-intro) h2,
body.page-id-49 .ctp-career-plan-shell > .ctp-card:not(.ctp-career-plan-intro) h3 {
  color: #ffffff !important;
}

body.page-id-49 .ctp-career-plan-shell > .ctp-card:not(.ctp-career-plan-intro) p,
body.page-id-49 .ctp-career-plan-shell > .ctp-card:not(.ctp-career-plan-intro) li,
body.page-id-49 .ctp-career-plan-shell > .ctp-card:not(.ctp-career-plan-intro) .ctp-muted {
  color: #c8d8ea !important;
}

body.page-id-49 .ctp-career-plan-shell > .ctp-card:not(.ctp-career-plan-intro) .ctp-section-label {
  color: #67d7ff !important;
}

/* === end CTP product/account/legal body refinement v1 === */
/* ==========================================================================
   CTP checkbox focus correction v1
   Scope: style.css only. Removes oversized global focus rectangle from checkbox/radio controls.
   ========================================================================== */

input[type="checkbox"],
input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  margin: 0 10px 0 0 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 1px solid #0f6b9a !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* Keep signup/legal checkbox rows aligned like product UI, not browser-default blocks. */

/* === end CTP checkbox focus correction v1 === */
/* ==========================================================================
   CTP signup checkbox row alignment v1
   Scope: /sign-up/ only. CSS-only. Aligns legal checkbox controls with text.
   ========================================================================== */





/* === end CTP signup checkbox row alignment v1 === */

/*
   CTP Career Plan active secondary action link visual correction v1
   Purpose: active Career Plan secondary links should look like enabled action buttons.
   Disabled spans remain visually disabled.
*/

body.page-id-49 .ctp-career-plan-shell a.ctp-button-secondary,
body.page-id-49 .ctp-career-plan-shell a.ctp-button-secondary:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid #2c567b;
    background: #07182d;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    opacity: 1;
    cursor: pointer;
}

body.page-id-49 .ctp-career-plan-shell a.ctp-button-secondary:hover,
body.page-id-49 .ctp-career-plan-shell a.ctp-button-secondary:focus {
    border-color: #5db8ff;
    color: #ffffff;
    text-decoration: none;
}

body.page-id-49 .ctp-career-plan-shell span.ctp-button-secondary[aria-disabled="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid #2c567b;
    background: #07182d;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 700;
    text-decoration: none;
    opacity: 0.55;
    cursor: not-allowed;
}

/* === end CTP Career Plan active secondary action link visual correction v1 === */

/* --------------------------------------------------------------------------
   Career Plan / Market Fork inactive-access state override
   Scope: Career Plan page only. CSS-only correction for fork plugin display.
   Purpose: keep historical fork / inactive paid-access state aligned to the
   Bloomberg-style professional trading-desk theme.
   -------------------------------------------------------------------------- */

body.page-id-49 .ctp-career-plan-shell .ctp-fork-shell {
  color: #e8f2ff !important;
}

body.page-id-49 .ctp-career-plan-shell .ctp-fork-card,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-access-card,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-hero {
  background: linear-gradient(135deg, #061827 0%, #071f33 100%) !important;
  border: 1px solid #245071 !important;
  color: #e8f2ff !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.page-id-49 .ctp-career-plan-shell .ctp-fork-card h2,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-card h3,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-card p,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-access-card h2,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-access-card h3,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-access-card p {
  color: #e8f2ff !important;
}

body.page-id-49 .ctp-career-plan-shell .ctp-fork-card .ctp-fork-kicker,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-card .ctp-fork-rank,
body.page-id-49 .ctp-career-plan-shell .ctp-fork-card .ctp-fork-subhead {
  color: #55c8ff !important;
}

body.page-id-49 .ctp-career-plan-shell .ctp-fork-access-note {
  background: rgba(251, 191, 36, 0.08) !important;
  border: 1px solid rgba(251, 191, 36, 0.42) !important;
  border-left: 4px solid #fbbf24 !important;
  color: #f8d36c !important;
  font-weight: 800 !important;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.04) !important;
}

body.page-id-49 .ctp-career-plan-shell .ctp-fork-message {
  background: rgba(14, 75, 120, 0.28) !important;
  border-left-color: #55c8ff !important;
  color: #d8efff !important;
}

body.page-id-49 .ctp-career-plan-shell .ctp-fork-card strong {
  color: #ffffff !important;
}

/* CTP_ACCOUNT_PASSWORD_UI_20260621 */
.ctp-account-page-shell .ctp-password-change-form input[type="password"] {
  width: 100%;
  max-width: 620px;
  box-sizing: border-box;
}

.ctp-account-page-shell .ctp-required {
  color: #b00020;
}

.ctp-account-page-shell .ctp-password-message {
  width: 100%;
  max-width: 620px;
  box-sizing: border-box;
  margin: 12px 0 0 0;
  padding: 10px 12px;
  border: 1px solid #9fb3c8;
  border-left: 4px solid #0b2a44;
  background: #f8fafc;
  color: #0b2a44;
  font-weight: 600;
}


.ctp-account-page-shell .ctp-required {
  color: #b00020;
}

