@charset "UTF-8";
/* CSS Document */

/* ============================================================
   EDUCATION.CSS — IKANIKON EDUCATION TRACK PAGES
   ============================================================ */

/* Base brand variables */
@import url("global-tokens.css");

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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  font-family: var(--font-primary);
  font-size: 24px;
  line-height: 1.7;
  color: var(--root-charcoal);
  background: var(--gold-gradient); /* clean, soft, ADA-friendly */
}

/* ===================== LINKS ===================== */
a {
  color: var(--turquoise);
  font-weight: 700;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--sienna);
}

/* ===================== LESSON HEADER ===================== */
.lesson-header {
  width: 100%;
  background: var(--burgundy);
  color: var(--sunshine);
  padding: 45px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.lesson-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ===================== MAIN LESSON CONTENT ===================== */
.lesson-content {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 25px;
  color: var(--charcoal);
}

.lesson-content p {
  margin: 1.2rem 0;
}

.lesson-content h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
}

.lesson-content h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.lesson-content ul {
  margin: 1rem 0 1.5rem 1.3rem;
  padding: 0;
}

.lesson-content li {
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

/* Highlight callouts */
.lesson-content .callout {
  background: var(--canvas);
  border-left: 5px solid var(--sienna);
  padding: 20px 25px;
  margin: 2rem 0;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* ===================== NEXT LESSON BUTTON ===================== */
.next-buttons {
  text-align: center;
  margin: 60px auto;
}

.next-btn {
  display: inline-block;
  background: var(--burgundy);
  color: var(--sunshine);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
  margin-right: 20px;
  text-decoration: none;
}

.next-btn:hover {
  background: var(--sienna);
}

.home-link {
  font-size: 1.05rem;
  color: var(--charcoal);
  text-decoration: underline;
  cursor: pointer;
}

/* ===================== MOBILE ===================== */
@media (max-width: 600px) {
  .lesson-header h1 {
    font-size: 1.45rem;
  }
  .lesson-content {
    padding: 0 18px;
  }
  .next-btn {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* ===================== PM3 APP NAVIGATION ===================== */
body.pm3-shell-active {
  padding-top: 68px;
}

.pm3-app-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid rgba(255,255,255,.13);
  color: #fff;
  background: rgba(75,1,2,.97);
  box-shadow: 0 7px 25px rgba(40,10,11,.18);
  backdrop-filter: blur(14px);
}

.pm3-app-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}

.pm3-app-brand b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #351314;
  background: linear-gradient(135deg, #f2e7bd, #b09c63);
  font-size: 19px;
}

.pm3-app-brand span {
  display: grid;
  line-height: 1.15;
}

.pm3-app-brand strong { font-size: 19px; }
.pm3-app-brand small { color: rgba(255,255,255,.58); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.pm3-stage-indicator { margin-right: auto; color: rgba(255,255,255,.66); font-size: 17px; }
.pm3-stage-indicator strong { color: #fff; }
.pm3-app-actions { display: flex; align-items: center; gap: 8px; }
.pm3-app-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.pm3-app-actions a:last-child { border-color: #b09c63; color: #351314; background: #d5c58f; }

/* ===================== GENERATED OUTPUT ===================== */
.pm3-generated-result { margin: 24px 0; color: #2e292a; }
.pm3-result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 19px;
  border-radius: 13px;
  color: #fff;
  background: #4b0102;
}
.pm3-result-toolbar span, .pm3-result-toolbar strong { display: block; }
.pm3-result-toolbar span { color: #d6c58e; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pm3-result-toolbar strong { margin-top: 3px; font-size: 20px; }
.pm3-result-toolbar button, .pm3-result-card header button {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.pm3-result-sections { display: grid; gap: 12px; margin-top: 12px; }
.pm3-result-card {
  overflow: hidden;
  border: 1px solid #e2d9d5;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(49,30,31,.07);
}
.pm3-result-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid #eee8e5;
  background: #fcfaf8;
}
.pm3-result-card header > span {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #4b0102;
  font-size: 15px;
  font-weight: 700;
}
.pm3-result-card h2 { flex: 1; margin: 0; color: #2b2425; font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-size: 24px; font-weight: 500; }
.pm3-result-card header button { border-color: #ded4cf; color: #4b0102; background: #fff; }
.pm3-result-copy { padding: 19px 20px; font-family: Arial, sans-serif; font-size: 20px; line-height: 1.65; }
.pm3-result-copy p:first-child { margin-top: 0; }
.pm3-result-copy p:last-child { margin-bottom: 0; }
.pm3-result-copy li { margin-bottom: 6px; }
.pm3-output-empty { padding: 30px; border: 1px dashed #cfc3be; border-radius: 12px; color: #756e6f; text-align: center; }

@media (max-width: 650px) {
  .pm3-app-nav { gap: 8px; padding-inline: 11px; }
  .pm3-stage-indicator { display: none; }
  .pm3-app-actions a:first-child { display: none; }
  .pm3-app-brand { margin-right: auto; }
  .pm3-app-brand small { display: none; }
  .pm3-app-actions a { padding-inline: 9px; font-size: 14px; }
  .pm3-result-toolbar { align-items: flex-start; flex-direction: column; }
}

/* ===================== POWERHOUSE LESSON WORKSPACE ===================== */
.pm3-stage-page {
  --stage-burgundy: #4b0102;
  --stage-burgundy-2: #6d1516;
  --stage-gold: #b09c63;
  --stage-gold-soft: #f2ecd9;
  --stage-ink: #241f20;
  --stage-muted: #756f70;
  --stage-line: #e7e0dc;
  --stage-canvas: #f7f5f3;
  --stage-surface: #fff;
  min-width: 0;
  color: var(--stage-ink);
  background: var(--stage-canvas);
  font-family: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 21px;
  line-height: 1.6;
}

.pm3-stage-page .pm3-app-nav {
  min-height: 72px;
  background:
    radial-gradient(circle at 12% 0%, rgba(176,156,99,.17), transparent 24%),
    rgba(75,1,2,.98);
  backdrop-filter: none;
}
.pm3-stage-page .pm3-stage-indicator { display: flex; align-items: center; gap: 4px; }

.pm3-stage-page .lesson-header {
  width: 100%;
  padding: 55px clamp(20px, 5vw, 72px) 45px;
  color: var(--stage-ink);
  background:
    radial-gradient(circle at 88% 15%, rgba(176,156,99,.2), transparent 24%),
    linear-gradient(135deg, #fff 0%, #f8f4ef 100%);
  box-shadow: none;
  text-align: left;
}

.pm3-lesson-hero-inner {
  display: grid;
  max-width: 1380px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: end;
  gap: clamp(35px, 6vw, 90px);
}

.pm3-lesson-kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--stage-burgundy-2);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pm3-stage-page .lesson-header h1 {
  margin: 0;
  max-width: 850px;
  color: var(--stage-ink);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: none;
}

.pm3-lesson-hero-copy > p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--stage-muted);
  font-size: 22px;
  line-height: 1.6;
}

.pm3-stage-track-card {
  padding: 20px;
  border: 1px solid rgba(75,1,2,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 16px 40px rgba(49,30,31,.07);
}

.pm3-stage-track-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--stage-muted);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pm3-stage-track-heading strong { color: var(--stage-burgundy); }
.pm3-stage-progress-bar {
  height: 5px;
  margin: 12px 0 15px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9e2df;
}
.pm3-stage-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--stage-burgundy), var(--stage-gold));
}
.pm3-stage-dots { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; }
.pm3-stage-dots a {
  display: grid;
  min-width: 0;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #ded5d1;
  border-radius: 50%;
  color: #625b5c;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.pm3-stage-dots a:hover { border-color: var(--stage-gold); color: var(--stage-burgundy); }
.pm3-stage-dots a.passed { border-color: #d2c394; color: #4a3812; background: #eee5c8; }
.pm3-stage-dots a.active { border-color: var(--stage-burgundy); color: #fff; background: var(--stage-burgundy); box-shadow: 0 0 0 3px rgba(75,1,2,.1); }

.pm3-stage-page .lesson-content.pm3-lesson-workspace {
  width: min(1380px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 30px 0 70px;
  color: var(--stage-ink);
}

.pm3-workspace-tabs {
  position: sticky;
  top: 72px;
  z-index: 40;
  display: flex;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 4px;
  border: 1px solid var(--stage-line);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(49,30,31,.08);
  backdrop-filter: none;
}
.pm3-workspace-tabs button {
  min-width: 150px;
  padding: 9px 16px;
  border: 0;
  border-radius: 8px;
  color: var(--stage-muted);
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.pm3-workspace-tabs button.active { color: #fff; background: var(--stage-burgundy); }

.pm3-workspace-panel { scroll-margin-top: 135px; }
.pm3-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: start;
  gap: 20px;
}
.pm3-guide-card {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: clamp(28px, 5vw, 65px);
  border: 1px solid var(--stage-line);
  border-radius: 18px;
  background: var(--stage-surface);
  box-shadow: 0 18px 55px rgba(49,30,31,.07);
}
.pm3-guide-card > p:first-child { margin-top: 0; }
.pm3-guide-card p { max-width: 900px; margin: 1.15rem 0; color: #4b4445; font-size: 21px; line-height: 1.75; }
.pm3-guide-card h2 {
  margin: 2.6rem 0 .75rem;
  padding-top: .35rem;
  color: var(--stage-ink);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(25px, 2.7vw, 35px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
  scroll-margin-top: 145px;
}
.pm3-guide-card h3 {
  margin: 2rem 0 .6rem;
  color: var(--stage-burgundy);
  font-size: 22px;
  font-weight: 700;
}
.pm3-guide-card ul, .pm3-guide-card ol { max-width: 850px; margin: 1rem 0 1.5rem; padding-left: 1.25rem; }
.pm3-guide-card li { margin-bottom: .6rem; padding-left: .3rem; color: #4e4748; line-height: 1.65; }
.pm3-guide-card hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--stage-line); }
.pm3-guide-card .callout {
  margin: 2rem 0;
  padding: 22px 24px;
  border: 1px solid #eadfbf;
  border-left: 4px solid var(--stage-gold);
  border-radius: 10px;
  background: #fcf8ee;
  box-shadow: none;
}
.pm3-guide-rail { position: sticky; top: 142px; display: grid; gap: 12px; }
.pm3-rail-card {
  padding: 20px;
  border: 1px solid var(--stage-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(49,30,31,.055);
}
.pm3-rail-label {
  display: block;
  margin-bottom: 9px;
  color: var(--stage-burgundy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pm3-rail-card h2 { margin: 0 0 8px; color: var(--stage-ink); font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-size: 23px; font-weight: 500; }
.pm3-rail-card p { margin: 0 0 17px; color: var(--stage-muted); font-size: 17px; line-height: 1.6; }
.pm3-contents-card a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f0ece9;
  color: #61595a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.pm3-contents-card a:last-child { border-bottom: 0; }
.pm3-contents-card a:hover { color: var(--stage-burgundy); }
.pm3-primary-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--stage-burgundy);
  box-shadow: 0 9px 20px rgba(75,1,2,.17);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.pm3-primary-action:hover { background: var(--stage-burgundy-2); }
.pm3-guide-complete {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 50px -20px -20px;
  padding: 22px 24px;
  border: 1px solid #e6ddda;
  border-radius: 13px;
  background: linear-gradient(135deg, #fbf8f5, #f3ecdf);
}
.pm3-guide-complete span, .pm3-guide-complete strong { display: block; }
.pm3-guide-complete span { color: var(--stage-burgundy); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pm3-guide-complete strong { flex: 1; font-size: 19px; }

.pm3-worksheet-panel {
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--stage-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(49,30,31,.08);
}
.pm3-worksheet-heading {
  padding: 33px clamp(24px, 5vw, 55px) 28px;
  border-bottom: 1px solid var(--stage-line);
  background:
    radial-gradient(circle at 90% 10%, rgba(176,156,99,.2), transparent 30%),
    #fcfaf8;
}
.pm3-worksheet-heading h2 { margin: 0; color: var(--stage-ink); font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.pm3-worksheet-heading p { max-width: 700px; margin: 12px 0 0; color: var(--stage-muted); font-size: 19px; }

.pm3-modern-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
  margin: 0;
  padding: clamp(24px, 5vw, 55px);
  color: var(--stage-ink);
}
.pm3-modern-form > * { min-width: 0; }
.pm3-modern-form > h2,
.pm3-modern-form > h3,
.pm3-modern-form > hr,
.pm3-modern-form > p,
.pm3-modern-form > button,
.pm3-modern-form > fieldset,
.pm3-modern-form > .pm3-full-field,
.pm3-modern-form > .pm3-form-progress,
.pm3-modern-form > .pm3-autofill-notice,
.pm3-modern-form > .pm3-generation-note,
.pm3-modern-form > .pm3-generation-summary {
  grid-column: 1 / -1;
}
.pm3-modern-form > h3 {
  margin: 26px 0 3px;
  padding: 18px 0 2px;
  border-top: 1px solid var(--stage-line);
  color: var(--stage-ink);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.015em;
}
.pm3-modern-form > h3:first-of-type { margin-top: 8px; border-top: 0; }
.pm3-modern-form > hr { width: 100%; margin: 12px 0 0; border: 0; border-top: 1px solid var(--stage-line); }
.pm3-modern-form .pm3-layout-break { display: none; }
.pm3-modern-form label {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  color: #5f5758;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.4;
  text-transform: none;
}
.pm3-modern-form label > strong { display: flex; align-items: center; gap: 8px; color: #51494a; font-size: 16px; }
.pm3-required-mark {
  display: inline-flex;
  padding: 2px 5px;
  border-radius: 99px;
  color: #7d5d19;
  background: #f4ebd1;
  font-size: 13px;
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  align-self: flex-start;
}
.pm3-modern-form input:not([type="checkbox"]):not([type="radio"]),
.pm3-modern-form textarea,
.pm3-modern-form select {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #dcd4d0;
  border-radius: 9px;
  color: var(--stage-ink);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(42,24,25,.025);
  font: 13px/1.45 Inter, "Avenir Next", Arial, sans-serif;
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.pm3-modern-form textarea { min-height: 110px; resize: vertical; }
.pm3-modern-form input:hover, .pm3-modern-form textarea:hover, .pm3-modern-form select:hover { border-color: #c7bbb6; }
.pm3-modern-form input:focus, .pm3-modern-form textarea:focus, .pm3-modern-form select:focus {
  border-color: var(--stage-gold);
  box-shadow: 0 0 0 4px rgba(176,156,99,.14);
}
.pm3-modern-form label.pm3-field-complete > input,
.pm3-modern-form label.pm3-field-complete > textarea,
.pm3-modern-form label.pm3-field-complete > select { border-color: #b8d5c5; background: #fbfffc; }

.pm3-sample-loader {
  display: grid !important;
  grid-template-columns: minmax(170px, .75fr) minmax(250px, 1.25fr);
  align-items: center;
  gap: 20px !important;
  padding: 18px 20px;
  border: 1px solid #e4d8b5;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbf7e9, #fff);
}
.pm3-sample-loader > strong { color: #5d4817 !important; font-size: 17px !important; }
.pm3-sample-loader select { border-color: #d6c58f !important; }

.pm3-autofill-notice {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 15px 17px;
  border: 1px solid #ddd2ee;
  border-radius: 11px;
  color: #443062;
  background: #f6f2fb;
  font: inherit;
}
.pm3-autofill-notice > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #5a3696;
}
.pm3-autofill-notice strong, .pm3-autofill-notice small { display: block; }
.pm3-autofill-notice strong { font-size: 17px; }
.pm3-autofill-notice small { margin-top: 2px; color: #746786; font-size: 15px; font-weight: 500; }

.pm3-form-progress {
  position: sticky;
  top: 132px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 1px 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--stage-line);
  border-radius: 11px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 25px rgba(49,30,31,.06);
  backdrop-filter: none;
}
.pm3-form-progress > div:first-child span, .pm3-form-progress > div:first-child strong { display: block; }
.pm3-form-progress > div:first-child span { color: var(--stage-muted); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pm3-form-progress > div:first-child strong { font-size: 17px; }
.pm3-form-meter { height: 5px; overflow: hidden; border-radius: 99px; background: #ebe5e2; }
.pm3-form-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--stage-burgundy), var(--stage-gold)); transition: width .25s ease; }
.pm3-form-progress.complete .pm3-form-meter span { background: #2f7553; }
.pm3-draft-tools { display: flex; align-items: center; gap: 8px; color: var(--stage-muted); font-size: 15px; }
.pm3-draft-tools button { padding: 4px 7px; border: 0; color: var(--stage-burgundy); background: transparent; font-size: 15px; font-weight: 700; cursor: pointer; }

.pm3-choice-field {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center;
  gap: 8px 10px !important;
  padding: 15px;
  border: 1px solid var(--stage-line);
  border-radius: 10px;
  background: #fcfbfa;
}
.pm3-choice-field > strong { width: 100%; }
.pm3-modern-form label.pm3-choice-option,
.pm3-modern-form > label.pm3-choice-field:not(:has(label)) {
  display: inline-flex;
  width: auto;
  min-height: 36px;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #dfd8d4;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.pm3-modern-form input[type="checkbox"],
.pm3-modern-form input[type="radio"] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  accent-color: var(--stage-burgundy);
}

.pm3-modern-form fieldset.business-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
  margin: 26px 0 3px;
  padding: 24px;
  border: 1px solid #ddd3cf;
  border-radius: 13px;
  background: #fbf9f7;
}
.pm3-modern-form fieldset legend {
  padding: 0 8px;
  color: var(--stage-burgundy);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 23px;
  font-weight: 500;
}
.pm3-generation-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 0;
  padding: 17px 19px;
  border: 1px solid #e5dcc2;
  border-radius: 11px;
  color: #4c4126;
  background: #fbf7eb;
  font-size: 17px !important;
  line-height: 1.5;
}
.pm3-generation-summary strong { flex: 0 0 auto; color: #4f3d10; }
.pm3-generation-note {
  margin: -3px 0 0;
  color: var(--stage-muted) !important;
  font: 10px/1.5 Inter, Arial, sans-serif !important;
  text-align: center;
}
.pm3-modern-form .generate-btn {
  position: relative;
  min-height: 54px;
  margin: 4px 0 0;
  padding: 14px 25px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--stage-burgundy);
  box-shadow: 0 12px 28px rgba(75,1,2,.2);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.pm3-modern-form .generate-btn:hover { background: var(--stage-burgundy-2); transform: translateY(-1px); }
.pm3-modern-form .generate-btn:disabled { opacity: .72; cursor: wait; transform: none; }
.pm3-modern-form.is-submitting::after {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(37,16,17,.56);
  backdrop-filter: blur(3px);
  content: "Powerhouse is generating your marketing assets…";
  font-size: 20px;
  font-weight: 700;
}
.pm3-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pm3-spin .8s linear infinite;
  vertical-align: middle;
}
@keyframes pm3-spin { to { transform: rotate(360deg); } }

.pm3-stage-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 15px;
  border: 1px solid var(--stage-line);
  border-radius: 13px;
  background: #fff;
}
.pm3-stage-footer a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--stage-burgundy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.pm3-stage-footer a:nth-child(2) { color: var(--stage-muted); text-align: center; }
.pm3-stage-footer a:last-child { text-align: right; }
.pm3-stage-footer a.primary { color: #fff; background: var(--stage-burgundy); }

@media (max-width: 1000px) {
  .pm3-lesson-hero-inner { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .pm3-stage-track-card { max-width: 650px; }
  .pm3-guide-layout { grid-template-columns: 1fr; }
  .pm3-guide-rail { position: static; grid-row: 1; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .pm3-stage-page .pm3-stage-indicator { display: none; }
  .pm3-stage-page .lesson-header { padding: 36px 18px 30px; }
  .pm3-stage-page .lesson-header h1 { font-size: 40px; }
  .pm3-stage-page .lesson-content.pm3-lesson-workspace { width: min(100% - 22px, 1380px); padding-top: 18px; }
  .pm3-workspace-tabs { top: 67px; width: 100%; }
  .pm3-workspace-tabs button { min-width: 0; flex: 1; }
  .pm3-guide-card { padding: 26px 20px; }
  .pm3-guide-rail { grid-template-columns: 1fr; }
  .pm3-contents-card { display: none; }
  .pm3-guide-complete { align-items: flex-start; flex-direction: column; margin: 35px 0 0; }
  .pm3-modern-form { grid-template-columns: 1fr; padding: 22px 16px 28px; }
  .pm3-modern-form > * { grid-column: 1 !important; }
  .pm3-sample-loader { grid-template-columns: 1fr; gap: 8px !important; }
  .pm3-form-progress { position: static; grid-template-columns: 1fr; gap: 8px; }
  .pm3-draft-tools { justify-content: space-between; }
  .pm3-modern-form fieldset.business-context { grid-template-columns: 1fr; padding: 18px 14px; }
  .pm3-generation-summary { align-items: flex-start; flex-direction: column; }
  .pm3-stage-footer { grid-template-columns: 1fr; }
  .pm3-stage-footer a, .pm3-stage-footer a:last-child { text-align: center; }
  .pm3-stage-dots { gap: 2px; }
  .pm3-stage-dots a { font-size: 13px; }
}

/* ===================== POWERHOUSE GENERATED RESULTS ===================== */
.pm3-result-page {
  min-width: 0;
  color: #241f20;
  background: #f7f5f3 !important;
  font-family: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif !important;
}

.pm3-result-page .pm3-app-nav { backdrop-filter: none; }

.pm3-result-page .pm3-result-shell {
  width: min(1280px, calc(100% - 40px)) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 42px 0 75px !important;
}

.pm3-result-hero {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid #e7e0dc;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 8%, rgba(176,156,99,.2), transparent 28%),
    linear-gradient(135deg, #fff, #faf6f1);
  box-shadow: 0 18px 55px rgba(49,30,31,.07);
}

.pm3-result-check {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #2f7553;
  box-shadow: 0 10px 24px rgba(47,117,83,.2);
  font-size: 21px;
  font-weight: 700;
}

.pm3-result-hero-copy { min-width: 0; flex: 1; }
.pm3-result-hero h1 {
  margin: 0;
  color: #241f20;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 55px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.pm3-result-hero p {
  max-width: 780px;
  margin: 13px 0 0;
  color: #756f70;
  font-size: 19px;
  line-height: 1.65;
}
.pm3-result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pm3-result-actions a,
.pm3-result-actions button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid #ded5d1;
  border-radius: 9px;
  color: #4b0102;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.pm3-result-actions a.primary,
.pm3-result-actions button.pm3-result-download { border-color: #4b0102; color: #fff; background: #4b0102; box-shadow: 0 9px 22px rgba(75,1,2,.16); }

.pm3-result-page .pm3-generated-result { margin: 0; }
.pm3-result-page .pm3-result-toolbar {
  position: sticky;
  top: 78px;
  z-index: 35;
  margin-bottom: 13px;
  padding: 17px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: #4b0102;
  box-shadow: 0 12px 30px rgba(75,1,2,.15);
}
.pm3-result-page .pm3-result-toolbar span { color: #d8c78f; }
.pm3-result-page .pm3-result-toolbar button { min-height: 38px; padding-inline: 14px; }
.pm3-result-page .pm3-result-sections { gap: 13px; margin: 0; }
.pm3-result-page .pm3-result-card {
  border-color: #e5ddda;
  border-radius: 15px;
  box-shadow: 0 12px 35px rgba(49,30,31,.055);
}
.pm3-result-page .pm3-result-card header {
  padding: 14px 18px;
  background: #fcfaf8;
}
.pm3-result-page .pm3-result-card h2 {
  color: #292324;
  font-size: clamp(18px, 2vw, 23px);
}
.pm3-result-page .pm3-result-copy {
  padding: clamp(19px, 3vw, 30px);
  color: #3f3839;
  font: 14px/1.72 Inter, "Avenir Next", Arial, sans-serif;
}
.pm3-result-page .pm3-result-copy p { margin: 0 0 1rem; }
.pm3-result-page .pm3-result-copy p:last-child { margin-bottom: 0; }
.pm3-result-page .pm3-result-copy strong { color: #241f20; font-weight: 700; }
.pm3-result-page .pm3-result-copy em { color: #51494a; }
.pm3-result-page .pm3-result-copy ul,
.pm3-result-page .pm3-result-copy ol { margin: .5rem 0 1.15rem; padding-left: 1.4rem; }
.pm3-result-page .pm3-result-copy li { margin-bottom: .45rem; padding-left: .2rem; }
.pm3-result-page .pm3-result-copy h3,
.pm3-result-page .pm3-result-copy h4,
.pm3-result-page .pm3-result-copy h5 {
  margin: 1.6rem 0 .65rem;
  color: #4b0102;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.25;
}
.pm3-result-page .pm3-result-copy h3 { font-size: 22px; }
.pm3-result-page .pm3-result-copy h4 { font-size: 19px; }
.pm3-result-page .pm3-result-copy h5 { font-size: 22px; }
.pm3-result-page .pm3-result-copy hr { margin: 1.5rem 0; border: 0; border-top: 1px solid #e7e0dc; }
.pm3-result-page .pm3-result-copy blockquote {
  margin: 1.2rem 0;
  padding: 14px 17px;
  border-left: 4px solid #b09c63;
  border-radius: 0 8px 8px 0;
  color: #574b32;
  background: #fbf7eb;
}
.pm3-result-page .pm3-result-copy code {
  padding: 2px 5px;
  border-radius: 4px;
  color: #5f2030;
  background: #f3ecee;
  font: .9em SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
.pm3-result-page .pm3-result-copy a { color: #6d1516; text-decoration: underline; text-underline-offset: 2px; }
.pm3-result-page .pm3-result-footer-nav,
.pm3-result-page .navlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 16px;
  border: 1px solid #e7e0dc;
  border-radius: 12px;
  background: #fff;
}
.pm3-result-page .pm3-result-footer-nav a,
.pm3-result-page .navlinks a { color: #4b0102; font-size: 16px; font-weight: 700; }
.pm3-result-page > h1,
.pm3-result-page > p:not(.pm3-result-footer-nav),
.pm3-result-page > .action-buttons { display: none; }

@media (max-width: 700px) {
  .pm3-result-page .pm3-result-shell { width: min(100% - 22px, 1280px) !important; padding-top: 20px !important; }
  .pm3-result-hero { flex-direction: column; padding: 23px 19px; }
  .pm3-result-page .pm3-result-toolbar { position: static; align-items: flex-start; flex-direction: column; }
  .pm3-result-actions { display: grid; width: 100%; grid-template-columns: 1fr; }
  .pm3-result-actions a, .pm3-result-actions button { justify-content: center; }
  .pm3-result-page .pm3-result-card header { align-items: flex-start; }
}
