:root {
  --pc-ink: #10213d;
  --pc-ink-soft: #31415d;
  --pc-muted: #68758d;
  --pc-line: #dfe5ef;
  --pc-canvas: #f5f7fb;
  --pc-surface: #ffffff;
  --pc-primary: #5b50ee;
  --pc-primary-dark: #4037c9;
  --pc-primary-soft: #eeecff;
  --pc-blue: #2875eb;
  --pc-blue-soft: #eaf3ff;
  --pc-cyan: #24b7d8;
  --pc-green: #0b8a70;
  --pc-green-soft: #e9f8f3;
  --pc-amber: #b66a09;
  --pc-amber-soft: #fff5df;
  --pc-danger: #c13b5a;
  --pc-danger-soft: #fff0f4;
  --pc-shadow: 0 24px 70px rgba(32, 48, 82, 0.13);
  --pc-shadow-soft: 0 12px 34px rgba(32, 48, 82, 0.09);
  --pc-radius-xl: 32px;
  --pc-radius-lg: 24px;
  --pc-radius-md: 17px;
  --pc-header-height: 78px;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--pc-ink);
  background: var(--pc-canvas);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.pc-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--pc-primary-dark);
  transform: translateY(-150%);
}

.pc-skip-link:focus {
  transform: translateY(0);
}

.pc-preview-bar {
  min-height: var(--pc-header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 12px clamp(18px, 3vw, 44px);
  color: var(--pc-ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(208, 216, 230, 0.88);
  backdrop-filter: blur(18px);
}

.pc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.pc-brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #20b9df, #6555f4 72%);
  box-shadow: 0 12px 24px rgba(68, 91, 232, 0.24);
  font-weight: 900;
  font-size: 1.15rem;
}

.pc-brand-copy strong,
.pc-brand-copy small {
  display: block;
}

.pc-brand-copy strong {
  font-size: 1rem;
}

.pc-brand-copy small {
  margin-top: 2px;
  color: var(--pc-muted);
  font-size: 0.74rem;
}

.pc-preview-title {
  min-width: 0;
}

.pc-preview-title small {
  display: block;
  color: var(--pc-primary);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pc-preview-title strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}

.pc-preview-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pc-badge,
.pc-quiet-button,
.pc-main-button,
.pc-secondary-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
}

.pc-badge {
  min-height: 35px;
  padding: 8px 12px;
  color: var(--pc-primary-dark);
  background: var(--pc-primary-soft);
  border: 1px solid #d8d3ff;
  font-size: 0.73rem;
}

.pc-quiet-button,
.pc-secondary-button {
  padding: 10px 15px;
  color: var(--pc-ink-soft);
  background: #fff;
  border: 1px solid var(--pc-line);
}

.pc-main-button {
  padding: 11px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--pc-primary), #6e5df4);
  border: 0;
  box-shadow: 0 12px 26px rgba(91, 80, 238, 0.25);
}

.pc-main-button:hover {
  background: linear-gradient(135deg, var(--pc-primary-dark), #5747e2);
}

.pc-main-button:focus-visible,
.pc-secondary-button:focus-visible,
.pc-quiet-button:focus-visible,
.pc-deck-dot:focus-visible,
.pc-choice-card:focus-visible,
.pc-mail-button:focus-visible,
.pc-tour-button:focus-visible,
.pc-ai-fab:focus-visible {
  outline: 3px solid rgba(40, 117, 235, 0.34);
  outline-offset: 3px;
}

/* Porte d'entrée */

.pc-gateway-body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(49, 191, 219, 0.13), transparent 26%),
    radial-gradient(circle at 91% 86%, rgba(91, 80, 238, 0.16), transparent 28%),
    #f5f7fb;
}

.pc-gateway {
  height: calc(100vh - var(--pc-header-height));
  height: calc(100dvh - var(--pc-header-height));
  padding: clamp(14px, 2vw, 28px);
}

.pc-gateway-deck {
  width: min(1540px, 100%);
  height: 100%;
  margin: auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(211, 218, 232, 0.92);
  border-radius: var(--pc-radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--pc-shadow);
}

.pc-gateway-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(470px, 1.04fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  padding: clamp(32px, 5vw, 78px);
  visibility: hidden;
  opacity: 0;
  transform: translateX(38px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.pc-gateway-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.pc-slide-copy {
  align-self: center;
  max-height: 100%;
  overflow: auto;
  padding: 6px;
}

.pc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pc-primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pc-eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pc-cyan), var(--pc-primary));
}

.pc-display-title {
  max-width: 760px;
  margin: 17px 0 18px;
  font-size: clamp(2.35rem, 4.5vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.pc-display-title em {
  color: var(--pc-primary);
  font-style: normal;
}

.pc-gateway-lead {
  max-width: 690px;
  margin: 0;
  color: var(--pc-ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.65;
}

.pc-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0;
}

.pc-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #31466c;
  background: #f1f5fb;
  border: 1px solid #e2e8f2;
  font-size: 0.78rem;
  font-weight: 750;
}

.pc-gateway-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
}

.pc-gateway-visual {
  min-width: 0;
  height: min(620px, 70vh);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(155deg, rgba(239, 244, 255, 0.95), rgba(239, 236, 255, 0.88)),
    #f5f7ff;
  border: 1px solid #e2e5f3;
}

.pc-gateway-visual::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  top: -21%;
  right: -17%;
  border-radius: 50%;
  background: rgba(36, 183, 216, 0.18);
  filter: blur(2px);
}

.pc-gateway-visual img {
  width: 88%;
  max-height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 28px 32px rgba(44, 58, 98, 0.17));
}

.pc-floating-proof {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(218, 224, 237, 0.92);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--pc-shadow-soft);
  backdrop-filter: blur(12px);
}

.pc-floating-proof strong,
.pc-floating-proof small {
  display: block;
}

.pc-floating-proof strong {
  font-size: 0.82rem;
}

.pc-floating-proof small {
  margin-top: 2px;
  color: var(--pc-muted);
  font-size: 0.68rem;
}

.pc-floating-proof .pc-proof-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--pc-primary);
  background: var(--pc-primary-soft);
  font-weight: 900;
}

.pc-floating-proof.is-one {
  top: 8%;
  left: 5%;
}

.pc-floating-proof.is-two {
  right: 5%;
  bottom: 8%;
}

.pc-promise-board,
.pc-method-board {
  width: min(620px, 100%);
  display: grid;
  gap: 14px;
}

.pc-promise-step,
.pc-method-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 17px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--pc-line);
  box-shadow: var(--pc-shadow-soft);
}

.pc-promise-step span,
.pc-method-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--pc-primary);
  background: var(--pc-primary-soft);
  font-weight: 900;
}

.pc-promise-step strong,
.pc-promise-step small,
.pc-method-card strong,
.pc-method-card small {
  display: block;
}

.pc-promise-step small,
.pc-method-card small {
  margin-top: 4px;
  color: var(--pc-muted);
  line-height: 1.45;
}

.pc-method-card:nth-child(2) span {
  color: var(--pc-blue);
  background: var(--pc-blue-soft);
}

.pc-method-card:nth-child(3) span {
  color: var(--pc-green);
  background: var(--pc-green-soft);
}

.pc-method-card:nth-child(4) span {
  color: var(--pc-amber);
  background: var(--pc-amber-soft);
}

.pc-proof-stack {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pc-proof-card {
  min-height: 168px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--pc-line);
  box-shadow: var(--pc-shadow-soft);
}

.pc-proof-card .pc-proof-number {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--pc-primary);
  font-weight: 900;
}

.pc-proof-card h3 {
  margin: 16px 0 7px;
  font-size: 0.98rem;
}

.pc-proof-card p {
  margin: 0;
  color: var(--pc-muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.pc-choice-grid {
  width: min(680px, 100%);
  display: grid;
  gap: 12px;
}

.pc-choice-card {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 17px;
  text-align: left;
  color: var(--pc-ink);
  background: #fff;
  border: 2px solid transparent;
  border-radius: 18px;
  box-shadow: var(--pc-shadow-soft);
}

.pc-choice-card:hover,
.pc-choice-card.is-selected {
  border-color: var(--pc-primary);
  background: #fbfaff;
}

.pc-choice-card > span:first-child {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--pc-primary);
  background: var(--pc-primary-soft);
  font-weight: 900;
}

.pc-choice-card strong,
.pc-choice-card small {
  display: block;
}

.pc-choice-card small {
  margin-top: 4px;
  color: var(--pc-muted);
  line-height: 1.42;
}

.pc-choice-status {
  color: var(--pc-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.pc-choice-card.is-selected .pc-choice-status {
  color: var(--pc-primary);
}

.pc-deck-controls {
  position: absolute;
  right: clamp(24px, 4vw, 62px);
  bottom: clamp(18px, 3vw, 36px);
  left: clamp(24px, 4vw, 62px);
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  pointer-events: none;
}

.pc-deck-controls > * {
  pointer-events: auto;
}

.pc-deck-progress {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.pc-deck-dot {
  width: 31px;
  height: 7px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: #dfe4ee;
}

.pc-deck-dot.is-active {
  background: linear-gradient(90deg, var(--pc-cyan), var(--pc-primary));
}

.pc-deck-counter {
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 10;
  min-width: 62px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--pc-muted);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--pc-line);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: right;
}

/* Messagerie d'entraînement */

.pc-mail-body {
  min-height: 100vh;
  overflow: hidden;
  background: #eef2f8;
}

.pc-mail-body .pc-preview-bar {
  position: relative;
  z-index: 45;
}

.pc-work-header-progress {
  width: min(330px, 28vw);
}

.pc-work-header-progress span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--pc-muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.pc-work-header-track {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e5e9f1;
}

.pc-work-header-track i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pc-cyan), var(--pc-primary));
}

.pc-mail-app {
  height: calc(100vh - var(--pc-header-height));
  height: calc(100dvh - var(--pc-header-height));
  display: grid;
  grid-template-columns: 224px minmax(270px, 350px) minmax(0, 1fr);
  gap: 0;
  position: relative;
}

.pc-mail-rail,
.pc-mail-list,
.pc-reading-pane {
  min-width: 0;
  height: 100%;
}

.pc-mail-rail {
  padding: 17px 13px;
  background: #f4f7fb;
  border-right: 1px solid #dfe4ed;
}

.pc-compose {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  color: #15365d;
  background: #ddecff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 7px 14px rgba(40, 117, 235, 0.11);
  font-weight: 800;
}

.pc-compose-copy {
  min-width: 0;
  display: block;
  text-align: left;
}

.pc-compose-copy strong,
.pc-compose-copy small {
  display: block;
}

.pc-compose-copy strong {
  font-size: 0.8rem;
}

.pc-compose-copy small {
  margin-top: 3px;
  color: #647897;
  font-size: 0.64rem;
  font-weight: 650;
}

.pc-mail-folders {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.pc-mail-folder {
  width: 100%;
  min-height: 39px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #53617a;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0 18px 18px 0;
  font-size: 0.78rem;
}

.pc-mail-folder.is-active {
  color: #1e3d67;
  background: #d9e9ff;
  font-weight: 850;
}

.pc-mail-folder b {
  color: #31415d;
  font-size: 0.72rem;
}

.pc-rail-learning {
  margin-top: 23px;
  padding: 14px;
  border-radius: 17px;
  color: #31415d;
  background: #fff;
  border: 1px solid #e0e6ef;
}

.pc-rail-learning strong,
.pc-rail-learning small {
  display: block;
}

.pc-rail-learning strong {
  font-size: 0.78rem;
}

.pc-rail-learning small {
  margin-top: 6px;
  color: var(--pc-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.pc-mail-list {
  background: #fff;
  border-right: 1px solid #dfe4ed;
}

.pc-mail-search {
  padding: 14px;
  border-bottom: 1px solid #e5e9f0;
}

.pc-search-box {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 14px;
  color: var(--pc-muted);
  background: #f1f4f9;
  font-size: 0.78rem;
}

.pc-list-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 15px 9px;
}

.pc-list-title strong {
  font-size: 0.84rem;
}

.pc-list-title small {
  color: var(--pc-muted);
  font-size: 0.69rem;
}

.pc-message-row {
  width: 100%;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px 14px;
  color: var(--pc-ink);
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf0f5;
}

.pc-message-row.is-active {
  background: #eef5ff;
  box-shadow: inset 4px 0 var(--pc-blue);
}

.pc-message-avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #5179df, #6754e9);
  font-size: 0.73rem;
  font-weight: 900;
}

.pc-message-summary strong,
.pc-message-summary span,
.pc-message-summary small {
  display: block;
}

.pc-message-summary strong {
  font-size: 0.76rem;
}

.pc-message-summary span {
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.73rem;
  font-weight: 750;
}

.pc-message-summary small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--pc-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.68rem;
}

.pc-message-time {
  color: var(--pc-muted);
  font-size: 0.65rem;
}

.pc-reading-pane {
  padding: clamp(16px, 2vw, 28px);
  overflow: auto;
  background: #f8fafc;
}

.pc-case-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.pc-case-heading small,
.pc-case-heading strong {
  display: block;
}

.pc-case-heading small {
  color: var(--pc-primary);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pc-case-heading strong {
  margin-top: 7px;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  letter-spacing: -0.02em;
}

.pc-guided-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: #1d63d5;
  background: #edf5ff;
  border: 1px solid #d4e7ff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  white-space: nowrap;
}

.pc-open-mail {
  max-width: 980px;
  margin: auto;
  padding: clamp(20px, 3vw, 38px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e0e5ed;
  box-shadow: var(--pc-shadow-soft);
}

.pc-mail-subject {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8ecf2;
}

.pc-mail-subject h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  letter-spacing: -0.025em;
}

.pc-mail-subject span {
  align-self: center;
  color: var(--pc-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.pc-sender-line {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 19px 0;
}

.pc-sender-avatar {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #233e6d, #5e6e91);
  font-weight: 900;
}

.pc-sender-meta strong,
.pc-sender-meta span,
.pc-sender-meta button {
  display: block;
}

.pc-sender-meta strong {
  font-size: 0.87rem;
}

.pc-sender-meta span {
  margin-top: 3px;
  color: var(--pc-muted);
  font-size: 0.7rem;
}

.pc-recipient-details {
  margin-top: 4px;
  padding: 0;
  color: var(--pc-blue);
  background: none;
  border: 0;
  font-size: 0.68rem;
}

.pc-sender-actions {
  display: flex;
  gap: 6px;
}

.pc-icon-button {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #59657a;
  background: transparent;
  border: 0;
}

.pc-icon-button:hover {
  background: #f0f3f8;
}

.pc-mail-content {
  max-width: 760px;
  padding: 6px 0 20px 59px;
  color: #263751;
  font-size: 0.95rem;
  line-height: 1.75;
}

.pc-mail-signature {
  margin-top: 18px;
  padding-top: 4px;
}

.pc-mail-signature .pc-mail-reference {
  margin-top: 6px;
}

.pc-mail-content p {
  margin: 0 0 15px;
}

.pc-mail-reference {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 9px;
  color: #825003;
  background: var(--pc-amber-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.pc-mail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 0 0 59px;
  border-top: 1px solid #edf0f5;
}

.pc-mail-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  color: #32445f;
  background: #fff;
  border: 1px solid #d7dde7;
  font-weight: 780;
}

.pc-mail-button.primary {
  color: #fff;
  background: var(--pc-blue);
  border-color: var(--pc-blue);
}

.pc-learning-dock {
  max-width: 980px;
  margin: 15px auto 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  color: #3d3c92;
  background: #efefff;
  border: 1px solid #dad8ff;
  border-radius: 17px;
}

.pc-learning-dock > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  font-weight: 900;
}

.pc-learning-dock strong,
.pc-learning-dock small {
  display: block;
}

.pc-learning-dock strong {
  font-size: 0.82rem;
}

.pc-learning-dock small {
  margin-top: 4px;
  color: #62609e;
  font-size: 0.72rem;
}

.pc-tour-shade {
  position: fixed;
  inset: var(--pc-header-height) 0 0;
  z-index: 25;
  background: rgba(11, 22, 43, 0.52);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pc-tour-shade.is-active {
  opacity: 1;
  pointer-events: auto;
}

.pc-tour-focus {
  position: relative;
  z-index: 31 !important;
  isolation: isolate;
  opacity: 1 !important;
  filter: none !important;
  border-radius: 14px;
  background-color: var(--pc-tour-focus-background, #fff) !important;
  box-shadow:
    0 0 0 5px #fff,
    0 0 0 9px var(--pc-cyan),
    0 18px 42px rgba(6, 23, 51, 0.35) !important;
}

.pc-tour-focus *,
.pc-tour-focus *::before,
.pc-tour-focus *::after {
  opacity: 1 !important;
  filter: none !important;
}

.pc-tour-focus input,
.pc-tour-focus textarea,
.pc-tour-focus select {
  opacity: 1 !important;
  color: var(--pc-ink) !important;
  background-color: transparent !important;
  -webkit-text-fill-color: var(--pc-ink) !important;
}

.pc-tour-focus input::placeholder,
.pc-tour-focus textarea::placeholder {
  opacity: 1 !important;
  color: #607089 !important;
  -webkit-text-fill-color: #607089 !important;
}

.pc-tour-focus:disabled,
.pc-tour-focus *:disabled {
  opacity: 1 !important;
}

.pc-tour-card {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 40;
  width: min(620px, calc(100vw - 48px));
  max-height: calc(100dvh - var(--pc-header-height) - 48px);
  padding: clamp(24px, 3vw, 38px);
  overflow-y: auto;
  border-radius: 26px;
  color: var(--pc-ink);
  background: #fff;
  border: 1px solid #dfe5ee;
  box-shadow: 0 26px 70px rgba(7, 22, 51, 0.28);
}

.pc-tour-card.is-left {
  right: auto;
  left: 28px;
}

.pc-tour-card.is-right {
  right: 28px;
  left: auto;
}

.pc-tour-card[hidden] {
  display: none;
}

.pc-tour-meta {
  display: flex;
  justify-content: space-between;
  color: var(--pc-primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pc-tour-card h2 {
  max-width: 18ch;
  margin: 14px 0 13px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.pc-tour-content p {
  margin: 0 0 11px;
  color: var(--pc-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.pc-tour-points {
  display: grid;
  gap: 9px;
  margin: 17px 0;
  padding: 0;
  list-style: none;
}

.pc-tour-points li {
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid #e3e9f2;
  border-radius: 13px;
  background: #f8faff;
}

.pc-tour-points strong {
  color: var(--pc-ink);
  font-size: 0.86rem;
}

.pc-tour-points span {
  color: var(--pc-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.pc-tour-rule {
  display: grid;
  gap: 5px;
  margin-top: 15px;
  padding: 13px 15px;
  border-left: 4px solid var(--pc-primary);
  border-radius: 12px;
  background: #eef3ff;
}

.pc-tour-rule strong {
  color: var(--pc-primary);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pc-tour-rule span {
  color: var(--pc-ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.pc-tour-content .pc-tour-encouragement {
  margin: 13px 0 0;
  padding: 11px 13px;
  border-radius: 12px;
  color: #087560;
  background: #eaf8f4;
  font-weight: 800;
}

.pc-tour-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  margin-top: 21px;
  padding-top: 15px;
  border-top: 1px solid #e8edf4;
}

.pc-tour-button {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 11px;
  font-weight: 800;
}

.pc-tour-button.ghost {
  color: var(--pc-muted);
  background: transparent;
  border: 0;
}

.pc-tour-button.secondary {
  color: var(--pc-ink-soft);
  background: #fff;
  border: 1px solid var(--pc-line);
}

.pc-tour-button.primary {
  color: #fff;
  background: var(--pc-primary);
  border: 0;
}

.pc-ai-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--pc-primary), #705df5);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 15px 32px rgba(91, 80, 238, 0.31);
  font-weight: 850;
}

.pc-ai-drawer {
  position: fixed;
  top: var(--pc-header-height);
  right: 0;
  bottom: 0;
  z-index: 55;
  width: min(430px, 100vw);
  display: flex;
  flex-direction: column;
  background: #f8f9fd;
  border-left: 1px solid #dce2ec;
  box-shadow: -22px 0 60px rgba(20, 35, 65, 0.2);
  transform: translateX(104%);
  transition: transform 0.28s ease;
}

.pc-ai-drawer.is-open {
  transform: translateX(0);
}

.pc-ai-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #fff;
  background: #1b2750;
}

.pc-ai-drawer-header strong,
.pc-ai-drawer-header small {
  display: block;
}

.pc-ai-drawer-header small {
  margin-top: 3px;
  color: #bdc8e5;
  font-size: 0.69rem;
}

.pc-ai-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  font-size: 1.1rem;
}

.pc-ai-drawer-content {
  flex: 1;
  overflow: auto;
  padding: 17px;
}

.pc-ai-notice,
.pc-ai-panel {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--pc-line);
}

.pc-ai-notice {
  color: #31597e;
  background: var(--pc-blue-soft);
  border-color: #d3e5fb;
  font-size: 0.74rem;
  line-height: 1.55;
}

.pc-ai-panel {
  margin-top: 12px;
}

.pc-ai-panel h3 {
  margin: 0 0 8px;
  font-size: 0.86rem;
}

.pc-ai-panel p {
  margin: 0;
  color: var(--pc-muted);
  font-size: 0.73rem;
  line-height: 1.5;
}

.pc-ai-prompt {
  width: 100%;
  min-height: 132px;
  margin-top: 11px;
  padding: 12px;
  resize: vertical;
  color: #24344f;
  background: #f7f8fc;
  border: 1px solid #d8dee9;
  border-radius: 12px;
  line-height: 1.5;
}

.pc-ai-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.pc-ai-actions button {
  min-height: 39px;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 0.73rem;
  font-weight: 800;
}

.pc-copy-prompt {
  color: var(--pc-ink-soft);
  background: #fff;
  border: 1px solid var(--pc-line);
}

.pc-run-simulation {
  color: #fff;
  background: var(--pc-primary);
  border: 0;
}

.pc-simulated-response {
  min-height: 155px;
  margin-top: 11px;
  padding: 13px;
  color: #24334a;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 12px;
  font-size: 0.77rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.pc-simulated-response.is-typing::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--pc-primary);
  animation: pc-caret 0.8s steps(1) infinite;
}

.pc-mobile-mail-nav {
  display: none;
}

@keyframes pc-caret {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1050px) {
  .pc-gateway-slide {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.86fr);
    gap: 28px;
    padding: 38px;
  }

  .pc-display-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
  }

  .pc-mail-app {
    grid-template-columns: 190px 290px minmax(0, 1fr);
  }

  .pc-guided-label {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --pc-header-height: 68px;
  }

  .pc-preview-bar {
    min-height: var(--pc-header-height);
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 9px 13px;
  }

  .pc-brand-mark {
    width: 41px;
    height: 41px;
  }

  .pc-preview-title strong {
    font-size: 0.84rem;
  }

  .pc-preview-title small {
    font-size: 0.58rem;
  }

  .pc-preview-actions,
  .pc-work-header-progress {
    display: none;
  }

  .pc-gateway {
    padding: 8px;
  }

  .pc-gateway-deck {
    border-radius: 22px;
  }

  .pc-gateway-slide {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 20px;
    padding: 27px 20px 82px;
    overflow: auto;
  }

  .pc-slide-copy {
    overflow: visible;
  }

  .pc-display-title {
    margin-top: 13px;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .pc-gateway-lead {
    font-size: 0.94rem;
  }

  .pc-pill-row {
    margin: 18px 0;
  }

  .pc-gateway-actions {
    margin-top: 19px;
  }

  .pc-gateway-visual {
    min-height: 320px;
    height: auto;
  }

  .pc-gateway-visual img {
    max-height: 310px;
  }

  .pc-floating-proof.is-one {
    top: 12px;
    left: 12px;
  }

  .pc-floating-proof.is-two {
    right: 12px;
    bottom: 12px;
  }

  .pc-floating-proof {
    padding: 9px 11px;
  }

  .pc-proof-stack {
    grid-template-columns: 1fr;
  }

  .pc-proof-card {
    min-height: 0;
  }

  .pc-deck-controls {
    right: 16px;
    bottom: 13px;
    left: 16px;
  }

  .pc-deck-counter {
    top: 13px;
    right: 14px;
  }

  .pc-deck-controls .pc-secondary-button,
  .pc-deck-controls .pc-main-button {
    min-width: 44px;
    min-height: 43px;
    padding: 9px 12px;
  }

  .pc-deck-controls .pc-button-label {
    display: none;
  }

  .pc-mail-app {
    display: block;
    height: calc(100vh - var(--pc-header-height) - 57px);
    height: calc(100dvh - var(--pc-header-height) - 57px);
  }

  .pc-mail-rail,
  .pc-mail-list {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 12;
  }

  .pc-mail-rail.is-mobile-open,
  .pc-mail-list.is-mobile-open {
    display: block;
  }

  .pc-mail-rail {
    width: min(310px, 86vw);
    box-shadow: 20px 0 50px rgba(16, 33, 61, 0.18);
  }

  .pc-mail-list {
    width: 100%;
    overflow: auto;
  }

  .pc-reading-pane {
    padding: 12px;
  }

  .pc-case-heading {
    margin-bottom: 10px;
  }

  .pc-open-mail {
    padding: 17px;
    border-radius: 18px;
  }

  .pc-sender-line {
    grid-template-columns: 41px minmax(0, 1fr);
  }

  .pc-sender-actions {
    display: none;
  }

  .pc-mail-content {
    padding-left: 0;
    font-size: 0.9rem;
  }

  .pc-mail-actions {
    padding-left: 0;
  }

  .pc-learning-dock {
    grid-template-columns: 36px minmax(0, 1fr);
    margin-bottom: 16px;
  }

  .pc-learning-dock .pc-main-button {
    grid-column: 1 / -1;
  }

  .pc-mobile-mail-nav {
    height: 57px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 44;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid #dfe5ee;
  }

  .pc-mobile-mail-nav button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    color: #5f6d84;
    background: transparent;
    border: 0;
    font-size: 0.63rem;
    font-weight: 800;
  }

  .pc-mobile-mail-nav button span {
    font-size: 1rem;
  }

  .pc-ai-fab {
    display: none;
  }

  .pc-tour-card {
    right: 12px;
    bottom: 69px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - var(--pc-header-height) - 90px);
    padding: 22px 18px;
  }

  .pc-tour-card.is-left,
  .pc-tour-card.is-right {
    right: 12px;
    left: 12px;
  }

  .pc-tour-shade {
    bottom: 57px;
  }

  .pc-ai-drawer {
    bottom: 57px;
  }
}

@media (max-width: 480px) {
  .pc-brand-copy small {
    display: none;
  }

  .pc-preview-title {
    text-align: right;
  }

  .pc-preview-title strong {
    max-width: 215px;
  }

  .pc-gateway-slide {
    padding-inline: 16px;
  }

  .pc-eyebrow {
    font-size: 0.64rem;
  }

  .pc-pill {
    font-size: 0.69rem;
  }

  .pc-choice-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 13px;
  }

  .pc-choice-status {
    grid-column: 2;
  }

  .pc-mail-subject span {
    display: none;
  }

  .pc-mail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-mail-button {
    justify-content: center;
  }

  .pc-tour-actions {
    grid-template-columns: 1fr 1fr;
  }

  .pc-tour-button.ghost {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* Prologue opérationnel du module e-mail */

.pc-prologue-body {
  --pc-prologue-audit-height: 0px;
}

.pc-prologue-body.pc-prologue-audit-mode {
  --pc-prologue-audit-height: 52px;
}

.pc-prologue-audit {
  min-height: var(--pc-prologue-audit-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 16px;
  color: #713f12;
  background: #fff7d6;
  border-bottom: 1px solid #f2cf6b;
  font-size: 0.74rem;
}

.pc-prologue-audit[hidden] {
  display: none;
}

.pc-prologue-audit strong {
  margin-right: 8px;
}

.pc-prologue-audit button,
.pc-prologue-audit select {
  min-height: 36px;
  padding: 7px 11px;
  color: #55320a;
  background: #fff;
  border: 1px solid #e7c75d;
  border-radius: 9px;
  font-weight: 750;
}

.pc-prologue-audit-mode .pc-mail-app {
  height: calc(100vh - var(--pc-header-height) - var(--pc-prologue-audit-height));
  height: calc(100dvh - var(--pc-header-height) - var(--pc-prologue-audit-height));
}

.pc-prologue-audit-mode .pc-tour-shade {
  top: calc(var(--pc-header-height) + var(--pc-prologue-audit-height));
}

.pc-prologue-stage {
  scroll-behavior: smooth;
  overflow-anchor: none;
}

.pc-prologue-stage:focus {
  outline: none;
}

.pc-prologue-stage.pc-scroll-resetting {
  scroll-behavior: auto !important;
}

.pc-interface-zone-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid #dce6f4;
  border-radius: 14px;
  color: var(--pc-ink);
  background: #f4f8ff;
}

.pc-interface-zone-label strong {
  font-size: 0.92rem;
}

.pc-interface-zone-label span {
  color: var(--pc-muted);
  font-size: 0.8rem;
}

.pc-prologue-body .pc-mail-app:not(.pc-mail-rail-visible) {
  grid-template-columns: minmax(270px, 350px) minmax(0, 1fr);
}

.pc-prologue-body .pc-mail-app:not(.pc-mail-rail-visible) .pc-mail-rail {
  display: none;
}

.pc-prologue-body .pc-mail-app.pc-initial-entry-mode {
  grid-template-columns: minmax(0, 1fr);
}

.pc-mail-app.pc-initial-entry-mode .pc-mail-list {
  display: none;
}

.pc-mail-app.pc-initial-entry-mode .pc-prologue-stage {
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 44px);
  background:
    radial-gradient(circle at 12% 18%, rgba(39, 184, 216, 0.13), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(91, 80, 238, 0.14), transparent 31%),
    #f7f9ff;
}

.pc-mission-entry-card {
  width: min(920px, 100%);
  min-height: min(540px, calc(100dvh - var(--pc-header-height) - var(--pc-prologue-audit-height) - 70px));
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid #dfe4f2;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 255, 0.96));
  box-shadow: 0 28px 70px rgba(31, 48, 91, 0.14);
}

.pc-mission-entry-card::before {
  content: "";
  width: 190px;
  height: 190px;
  position: absolute;
  top: -92px;
  right: -54px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(39, 184, 216, 0.2), rgba(91, 80, 238, 0.18));
}

.pc-mission-entry-glow {
  width: 250px;
  height: 250px;
  position: absolute;
  bottom: -150px;
  left: -110px;
  border-radius: 50%;
  background: rgba(91, 80, 238, 0.1);
  filter: blur(2px);
}

.pc-mission-entry-topline {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.pc-mission-entry-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  color: #344052;
  border: 1px solid #dfe5f1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
}

.pc-mission-entry-badge span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pc-primary), #7667f7);
  font-weight: 900;
}

.pc-mission-entry-guidance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2363c7;
  font-size: 0.78rem;
  font-weight: 800;
}

.pc-mission-entry-guidance > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #2875eb;
}

.pc-mission-entry-card .pc-eyebrow {
  position: relative;
}

.pc-mission-entry-card h1 {
  max-width: 17ch;
  position: relative;
  margin: 12px 0 18px;
  color: var(--pc-ink);
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.pc-mission-entry-lead {
  max-width: 68ch;
  position: relative;
  margin: 0;
  color: #52647e;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.7;
}

.pc-mission-entry-reassurance {
  max-width: 720px;
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 15px 17px;
  color: #29415f;
  border: 1px solid #d8e5fb;
  border-radius: 16px;
  background: #f1f7ff;
}

.pc-mission-entry-reassurance > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 11px;
  background: #168b76;
  font-weight: 900;
}

.pc-mission-entry-reassurance p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.pc-mission-entry-reassurance strong {
  display: block;
  color: var(--pc-ink);
}

.pc-mission-entry-button {
  position: relative;
  min-height: 54px;
  margin-top: 28px;
  padding-inline: 24px;
  font-size: 0.98rem;
}

.pc-initial-reply-launch {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding: 18px 0 0;
  border-top: 1px solid #e6eaf1;
}

.pc-initial-reply-launch .pc-mail-button {
  min-width: 150px;
  justify-content: center;
  font-size: 0.92rem;
}

.pc-first-action-dock {
  width: min(980px, 100%);
  margin: 0 auto 14px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  color: #17476f;
  background: #edf7ff;
  border: 1px solid #cfe8fb;
  border-radius: 17px;
}

.pc-first-action-dock[hidden],
.pc-prologue-task-card[hidden] {
  display: none;
}

.pc-first-action-dock strong,
.pc-first-action-dock small {
  display: block;
}

.pc-first-action-dock strong {
  font-size: 0.86rem;
}

.pc-first-action-dock small {
  margin-top: 4px;
  color: #52718d;
  font-size: 0.73rem;
  line-height: 1.5;
}

.pc-prologue-stage .pc-open-mail {
  padding: clamp(18px, 2.2vw, 30px);
}

.pc-prologue-stage .pc-mail-content {
  line-height: 1.65;
}

.pc-compose:focus-visible,
.pc-mail-folder:focus-visible,
.pc-message-row:focus-visible,
.pc-ai-entry-button:focus-visible,
.pc-ai-simulation-tab:focus-visible,
.pc-copy-prompt:focus-visible,
.pc-run-simulation:focus-visible,
.pc-prologue-audit button:focus-visible,
.pc-prologue-audit select:focus-visible {
  outline: 3px solid rgba(40, 117, 235, 0.34);
  outline-offset: 3px;
}

.pc-mail-text {
  white-space: pre-line;
}

.pc-follow-up-row[hidden] {
  display: none;
}

.pc-prologue-body .pc-mail-folder:disabled,
.pc-prologue-body .pc-message-row:disabled,
.pc-prologue-body .pc-mail-button:disabled {
  cursor: default;
}

.pc-prologue-body .pc-compose:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.pc-prologue-body .pc-mail-button:disabled {
  color: #65738a;
  background: #eef1f5;
  border-color: #dde2e9;
}

.pc-prologue-task-card,
.pc-mail-composer,
.pc-milestone-card,
.pc-compose-launch-card,
.pc-ai-transition-card {
  width: min(980px, 100%);
  margin: 16px auto 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #e0e5ed;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--pc-shadow-soft);
}

.pc-prologue-task-intro,
.pc-practice-instruction,
.pc-orientation-banner,
.pc-decision-pause {
  width: min(980px, 100%);
  margin: 0 auto 15px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid #dcdafe;
  border-radius: 17px;
  color: #3d3c92;
  background: #f0efff;
}

.pc-prologue-task-card .pc-prologue-task-intro {
  width: 100%;
  margin-bottom: 20px;
}

.pc-prologue-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--pc-primary-dark);
  background: #fff;
  box-shadow: 0 6px 16px rgba(67, 55, 201, 0.1);
  font-size: 1.05rem;
  font-weight: 900;
}

.pc-prologue-task-intro strong,
.pc-prologue-task-intro small,
.pc-practice-instruction strong,
.pc-practice-instruction small,
.pc-orientation-banner strong,
.pc-orientation-banner small,
.pc-decision-pause strong,
.pc-decision-pause small {
  display: block;
}

.pc-prologue-task-intro strong,
.pc-practice-instruction strong,
.pc-orientation-banner strong,
.pc-decision-pause strong {
  font-size: 0.86rem;
}

.pc-prologue-task-intro small,
.pc-practice-instruction small,
.pc-orientation-banner small,
.pc-decision-pause small {
  margin-top: 4px;
  color: #64629d;
  font-size: 0.73rem;
  line-height: 1.5;
}

.pc-decision-pause {
  margin-top: 15px;
  color: #754b00;
  background: #fff8e6;
  border-color: #f1d48e;
}

.pc-decision-pause small {
  color: #7a6540;
}

.pc-client-reply-action {
  width: min(980px, 100%);
  margin: 15px auto;
  text-align: center;
}

.pc-refund-warning {
  width: min(980px, 100%);
  margin: 15px auto;
  padding: 18px;
  color: #721c24;
  background: #fff1f2;
  border: 2px solid #dc3545;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(180, 35, 49, 0.12);
}

.pc-refund-warning[hidden],
.pc-client-reply-action[hidden] {
  display: none;
}

.pc-refund-warning p {
  margin: 0 0 13px;
  line-height: 1.55;
}

.pc-refund-warning .pc-main-button {
  display: flex;
  margin: 17px auto 0;
}

.pc-orientation-banner {
  color: #17476f;
  background: #edf7ff;
  border-color: #cfe8fb;
}

.pc-orientation-banner small {
  color: #52718d;
}

.pc-transfer-intro-card {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid #dfe5ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--pc-shadow-soft);
}

.pc-transfer-intro-card h1 {
  max-width: 780px;
  margin: 10px 0 24px;
  color: var(--pc-ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.pc-transfer-intro-content {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  color: #40516a;
  background: #f7f9fc;
  border: 1px solid #dfe5ee;
  border-radius: 18px;
}

.pc-transfer-intro-content p {
  margin: 0;
  line-height: 1.65;
}

.pc-transfer-intro-content strong {
  color: #172b4d;
}

.pc-practice-instruction {
  color: #165b4d;
  background: #edfbf6;
  border-color: #c7eddf;
}

.pc-practice-instruction small {
  color: #477a6e;
}

.pc-transfer-guide {
  width: min(980px, 100%);
  margin: 0 auto 16px;
  padding: clamp(18px, 2.4vw, 25px);
  border: 1px solid #d9e4f4;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fbff, #f4f1ff);
  box-shadow: 0 12px 30px rgba(28, 48, 83, 0.08);
}

.pc-transfer-guide-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.pc-transfer-guide-heading > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pc-primary), #735df4);
}

.pc-transfer-guide-heading strong,
.pc-transfer-guide-heading small {
  display: block;
}

.pc-transfer-guide-heading strong {
  color: var(--pc-ink);
  font-size: 1rem;
}

.pc-transfer-guide-heading small {
  margin-top: 3px;
  color: var(--pc-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.pc-transfer-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-transfer-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  padding: 12px;
  border: 1px solid #e0e7f1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.pc-transfer-steps li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--pc-primary);
  background: #eceaff;
  font-size: 0.76rem;
  font-weight: 900;
}

.pc-transfer-steps strong,
.pc-transfer-steps small {
  display: block;
}

.pc-transfer-steps strong {
  color: var(--pc-ink-soft);
  font-size: 0.78rem;
}

.pc-transfer-steps small {
  margin-top: 4px;
  color: var(--pc-muted);
  font-size: 0.69rem;
  line-height: 1.45;
}

.pc-transfer-value {
  margin: 13px 0 0;
  color: #3e5180;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.5;
  text-align: center;
}

.pc-prologue-task-card > label,
.pc-composer-body > span {
  display: block;
  margin-bottom: 8px;
  color: #33445f;
  font-size: 0.76rem;
  font-weight: 850;
}

.pc-prologue-editor,
.pc-composer-body textarea {
  width: 100%;
  resize: vertical;
  padding: 16px;
  color: var(--pc-ink);
  background: #fbfcfe;
  border: 1px solid #cfd7e3;
  border-radius: 15px;
  outline: 0;
  font-size: 0.91rem;
  line-height: 1.7;
}

.pc-prologue-editor:focus,
.pc-composer-field input:focus {
  border-color: var(--pc-blue);
  box-shadow: 0 0 0 4px rgba(40, 117, 235, 0.13);
}

.pc-prologue-form-footer,
.pc-composer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.pc-prologue-form-footer small,
.pc-composer-actions small {
  max-width: 590px;
  color: var(--pc-muted);
  font-size: 0.71rem;
  line-height: 1.45;
}

.pc-main-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.pc-milestone-card {
  max-width: 920px;
  text-align: center;
}

.pc-milestone-symbol {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, var(--pc-blue), var(--pc-primary));
  box-shadow: 0 16px 35px rgba(73, 77, 227, 0.24);
  font-size: 1.65rem;
  font-weight: 900;
}

.pc-milestone-symbol.success {
  background: linear-gradient(145deg, #0aa47f, #08705c);
}

.pc-transformation-card {
  position: relative;
  isolation: isolate;
  width: min(1040px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(132, 148, 255, 0.28);
  border-radius: 32px;
  color: #f8faff;
  background:
    radial-gradient(circle at 12% 2%, rgba(49, 213, 188, 0.28), transparent 30%),
    radial-gradient(circle at 92% 22%, rgba(124, 92, 255, 0.36), transparent 34%),
    linear-gradient(145deg, #0d1c39 0%, #162a57 48%, #29245e 100%);
  box-shadow:
    0 30px 70px rgba(16, 29, 64, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pc-transformation-card::before,
.pc-transformation-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.pc-transformation-card::before {
  width: 260px;
  height: 260px;
  top: -150px;
  right: -60px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pc-transformation-card::after {
  width: 180px;
  height: 180px;
  top: 120px;
  left: -110px;
  background: rgba(40, 186, 211, 0.08);
}

.pc-transformation-hero {
  padding: clamp(32px, 5vw, 62px) clamp(22px, 5vw, 62px) 34px;
  text-align: center;
}

.pc-transformation-check {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(145deg, #23c9a5, #07866f);
  box-shadow:
    0 18px 45px rgba(3, 167, 137, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-size: 2rem;
  font-weight: 950;
}

.pc-transformation-eyebrow,
.pc-section-kicker,
.pc-portfolio-runway > span,
.pc-transformation-launch > span {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.105em;
}

.pc-transformation-eyebrow {
  color: #7ef0dc;
}

.pc-transformation-hero h1 {
  max-width: 850px;
  margin: 13px auto 15px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.pc-transformation-hero > p {
  max-width: 790px;
  margin: 0 auto;
  color: #cbd6ef;
  font-size: clamp(0.93rem, 1.35vw, 1.08rem);
  line-height: 1.7;
}

.pc-transformation-stats {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px auto 0;
}

.pc-transformation-stats > span {
  min-height: 92px;
  display: grid;
  place-content: center;
  gap: 3px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.pc-transformation-stats strong {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
}

.pc-transformation-stats small {
  color: #bdc9e4;
  font-size: 0.72rem;
  line-height: 1.4;
}

.pc-transformation-body {
  display: grid;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 44px) clamp(24px, 4vw, 44px);
}

.pc-career-core,
.pc-human-ai-foundation,
.pc-portfolio-runway,
.pc-foundation-reference {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.pc-career-core,
.pc-human-ai-foundation {
  padding: clamp(22px, 3vw, 32px);
}

.pc-section-kicker {
  color: #78e8d4;
}

.pc-career-core h2,
.pc-human-ai-foundation h2,
.pc-portfolio-runway h2 {
  margin: 8px 0 10px;
  color: #fff;
  letter-spacing: -0.025em;
}

.pc-career-core h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

.pc-career-core > p,
.pc-portfolio-runway > p {
  margin: 0;
  color: #c9d4ec;
  font-size: 0.88rem;
  line-height: 1.65;
}

.pc-career-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.pc-career-skills span {
  padding: 9px 12px;
  border: 1px solid rgba(126, 240, 220, 0.24);
  border-radius: 999px;
  color: #ddfff9;
  background: rgba(31, 190, 160, 0.1);
  font-size: 0.75rem;
  font-weight: 800;
}

.pc-human-ai-heading {
  max-width: 760px;
}

.pc-human-ai-heading h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
}

.pc-human-ai-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.pc-human-ai-columns article {
  padding: 20px;
  border-radius: 17px;
  text-align: left;
}

.pc-human-ai-columns article.is-human {
  color: #163f36;
  background: linear-gradient(145deg, #e8fff8, #caf7e9);
}

.pc-human-ai-columns article.is-ai {
  color: #343078;
  background: linear-gradient(145deg, #f0efff, #dedcff);
}

.pc-human-ai-columns article > span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.pc-human-ai-columns strong {
  display: block;
  font-size: 0.9rem;
}

.pc-human-ai-columns p {
  margin: 7px 0 0;
  font-size: 0.78rem;
  line-height: 1.58;
}

.pc-human-ai-truth {
  margin: 14px 0 0;
  padding: 15px 17px;
  border-left: 4px solid #7ef0dc;
  border-radius: 0 13px 13px 0;
  color: #dce8ff;
  background: rgba(3, 14, 38, 0.3);
  font-size: 0.82rem;
  line-height: 1.65;
}

.pc-human-ai-truth strong {
  color: #fff;
}

.pc-portfolio-runway {
  padding: clamp(22px, 3vw, 30px);
  border-color: rgba(255, 211, 114, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 203, 92, 0.13), rgba(255, 255, 255, 0.065));
}

.pc-portfolio-runway > span {
  color: #ffd97e;
}

.pc-portfolio-runway h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.pc-foundation-reference {
  color: #d7e1f6;
  overflow: hidden;
}

.pc-foundation-reference summary {
  padding: 16px 19px;
  cursor: pointer;
  color: #e3eaff;
  font-size: 0.8rem;
  font-weight: 800;
}

.pc-foundation-reference > div {
  padding: 0 19px 18px;
  color: #c5d0e8;
  font-size: 0.76rem;
  line-height: 1.6;
}

.pc-foundation-reference p {
  margin: 7px 0 10px;
}

.pc-foundation-reference ul {
  margin: 0;
  padding-left: 19px;
}

.pc-transformation-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 2px 0;
}

.pc-transformation-launch > span {
  max-width: 440px;
  color: #91f3e2;
}

.pc-transformation-button {
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 15px;
  color: #172650;
  background: linear-gradient(135deg, #fff, #dffdf6);
  box-shadow: 0 14px 32px rgba(30, 220, 182, 0.18);
  font: inherit;
  font-size: 0.83rem;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.pc-transformation-button:hover,
.pc-transformation-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(30, 220, 182, 0.26);
}

.pc-ai-activation-card {
  max-width: 940px;
  text-align: center;
  background:
    radial-gradient(circle at 88% 4%, rgba(102, 91, 255, 0.1), transparent 32%),
    #fff;
}

.pc-ai-activation-card .pc-human-ai-balance {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-ai-activation-card .pc-human-ai-balance article {
  text-align: left;
}

@media (max-width: 760px) {
  .pc-transformation-card {
    border-radius: 22px;
  }

  .pc-transformation-hero {
    padding-top: 30px;
  }

  .pc-transformation-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .pc-transformation-stats,
  .pc-human-ai-columns,
  .pc-ai-activation-card .pc-human-ai-balance {
    grid-template-columns: 1fr;
  }

  .pc-transformation-stats {
    gap: 8px;
  }

  .pc-transformation-stats > span {
    min-height: 74px;
  }

  .pc-transformation-launch {
    align-items: stretch;
    flex-direction: column;
  }

  .pc-transformation-button {
    width: 100%;
  }
}

.pc-milestone-card h1,
.pc-compose-launch-card h1,
.pc-ai-transition-card h1 {
  max-width: 780px;
  margin: 10px auto 12px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.pc-milestone-card > p,
.pc-compose-launch-card > p,
.pc-ai-transition-card > p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: var(--pc-muted);
  line-height: 1.7;
}

.pc-strength-list {
  max-width: 720px;
  margin: 22px auto;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
  text-align: left;
}

.pc-strength-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 13px;
  color: #135846;
  background: #ecf9f4;
  font-size: 0.82rem;
  font-weight: 750;
}

.pc-strength-list li span {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pc-green);
  font-size: 0.68rem;
}

.pc-gentle-caution,
.pc-next-learning,
.pc-bcc-ethics,
.pc-revolution-note {
  max-width: 760px;
  margin: 16px auto 22px;
  padding: 17px;
  border-radius: 16px;
  text-align: left;
}

.pc-gentle-caution {
  color: #7a4b08;
  background: #fff7e6;
  border: 1px solid #f2d28d;
}

.pc-next-learning {
  color: #3d3c92;
  background: #f0efff;
  border: 1px solid #dcdafe;
}

.pc-gentle-caution p,
.pc-next-learning p,
.pc-bcc-ethics p,
.pc-revolution-note p {
  margin: 6px 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
}

.pc-learning-recap-grid,
.pc-human-ai-balance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 25px 0;
  text-align: left;
}

.pc-learning-recap-grid article,
.pc-human-ai-balance article {
  padding: 18px;
  border-radius: 17px;
  background: #f7f9fc;
  border: 1px solid #e1e6ee;
}

.pc-learning-recap-grid article > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 10px;
  color: #fff;
  background: var(--pc-primary);
  font-weight: 900;
}

.pc-learning-recap-grid strong,
.pc-human-ai-balance strong {
  display: block;
  font-size: 0.85rem;
}

.pc-learning-recap-grid p,
.pc-human-ai-balance p {
  margin: 7px 0 0;
  color: var(--pc-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.pc-milestone-proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -5px auto 2px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #3d3c92;
  background: #f0efff;
  font-size: 0.78rem;
  font-weight: 850;
}

.pc-transfer-lesson {
  max-width: 790px;
  margin: 22px auto;
  padding: 22px 24px;
  border: 1px solid #e1e6ee;
  border-radius: 18px;
  background: #f8fafc;
  text-align: left;
}

.pc-transfer-lesson p {
  margin: 0 0 13px;
  color: #273654;
  font-size: 0.88rem;
  line-height: 1.65;
}

.pc-transfer-lesson p:last-child {
  margin-bottom: 0;
}

.pc-transfer-warning {
  padding: 13px 15px;
  border: 1px solid #f0cf84;
  border-radius: 13px;
  color: #744707 !important;
  background: #fff7e5;
}

.pc-transfer-golden-rule {
  max-width: 790px;
  margin: 18px auto 25px;
  padding: 18px 20px;
  border-radius: 16px;
  color: #175e4c;
  background: #eaf9f3;
  text-align: left;
}

.pc-transfer-golden-rule > strong,
.pc-transfer-next-rule > strong {
  display: block;
  margin-bottom: 7px;
  font-size: 0.88rem;
}

.pc-transfer-golden-rule p,
.pc-transfer-next-rule p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.pc-transfer-transition {
  max-width: 790px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid #e1e6ee;
  text-align: left;
}

.pc-transfer-transition > strong {
  display: block;
  color: var(--pc-primary);
  font-size: 0.76rem;
  line-height: 1.55;
  letter-spacing: 0.035em;
}

.pc-transfer-transition h2 {
  margin: 15px 0 12px;
  color: #13233f;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.2;
}

.pc-transfer-transition > p {
  margin: 5px 0;
  color: var(--pc-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.pc-transfer-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.pc-transfer-choice button {
  min-height: 62px;
  padding: 13px 15px;
  border: 1px solid #d7deea;
  border-radius: 14px;
  color: #263650;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pc-transfer-choice button:hover,
.pc-transfer-choice button:focus-visible {
  border-color: var(--pc-primary);
  box-shadow: 0 8px 22px rgba(76, 73, 226, 0.12);
  transform: translateY(-1px);
}

.pc-transfer-choice button.is-selected {
  color: #fff;
  border-color: var(--pc-primary);
  background: var(--pc-primary);
}

.pc-transfer-choice button:disabled:not(.is-selected) {
  cursor: default;
  opacity: 0.55;
}

.pc-transfer-answer {
  max-width: 790px;
  margin: 20px auto 0;
  padding: 20px;
  border: 1px solid #dcdafe;
  border-radius: 17px;
  color: #313174;
  background: #f0efff;
  text-align: left;
}

.pc-transfer-answer > p {
  margin: 0 0 12px;
  font-size: 0.84rem;
  line-height: 1.65;
}

.pc-transfer-next-rule {
  margin: 16px 0 18px;
  padding: 15px;
  border-radius: 13px;
  color: #175e4c;
  background: #eaf9f3;
}

.pc-transfer-answer .pc-main-button {
  display: flex;
  margin: 0 auto;
}

.pc-followup-pivot-card {
  width: min(920px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dce4f0;
  border-radius: 30px;
  background: #fff;
  box-shadow:
    0 24px 60px rgba(24, 39, 75, 0.12),
    0 4px 14px rgba(43, 48, 120, 0.05);
}

.pc-followup-pivot-hero {
  position: relative;
  padding: clamp(34px, 5vw, 58px) clamp(24px, 6vw, 72px) clamp(30px, 4vw, 46px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(72, 219, 191, 0.28), transparent 29%),
    radial-gradient(circle at 6% 110%, rgba(62, 183, 238, 0.34), transparent 34%),
    linear-gradient(135deg, #172c57 0%, #30348e 54%, #5748dd 100%);
  text-align: center;
}

.pc-followup-pivot-hero::before,
.pc-followup-pivot-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.pc-followup-pivot-hero::before {
  width: 230px;
  height: 230px;
  top: -154px;
  right: -35px;
}

.pc-followup-pivot-hero::after {
  width: 150px;
  height: 150px;
  bottom: -105px;
  left: -48px;
}

.pc-followup-pivot-symbol {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 19px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #13b58c, #078269);
  box-shadow: 0 14px 32px rgba(0, 30, 65, 0.28);
  font-size: 1.8rem;
  font-weight: 950;
}

.pc-followup-pivot-eyebrow {
  position: relative;
  z-index: 1;
  display: block;
  color: #aef6df;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.11em;
}

.pc-followup-pivot-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 13px auto 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.pc-followup-pivot-hero > p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  line-height: 1.68;
}

.pc-followup-pivot-body {
  padding: clamp(25px, 4vw, 42px) clamp(22px, 5vw, 56px) clamp(30px, 4vw, 46px);
  text-align: center;
}

.pc-followup-definition {
  max-width: 790px;
  margin: 0 auto 23px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  padding: clamp(18px, 2.5vw, 25px);
  border: 1px solid #dcdafe;
  border-left: 6px solid var(--pc-primary);
  border-radius: 18px;
  color: #263458;
  background: linear-gradient(110deg, #f1efff, #f8faff);
  text-align: left;
}

.pc-followup-definition-label {
  max-width: 125px;
  color: var(--pc-primary);
  font-size: 0.75rem;
  font-weight: 950;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.pc-followup-definition p {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.17rem);
  line-height: 1.58;
}

.pc-followup-definition strong {
  color: #172a51;
  font-weight: 900;
}

.pc-followup-case {
  max-width: 750px;
  margin: 0 auto 22px;
  color: #52617a;
  font-size: 0.9rem;
  line-height: 1.65;
}

.pc-followup-case strong {
  color: #1b2f50;
}

.pc-followup-ready {
  max-width: 790px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #12624f;
}

.pc-followup-ready > span {
  color: #0a9a77;
  font-size: 1.15rem;
}

.pc-followup-ready p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: left;
}

.pc-followup-ready strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.pc-followup-gestures {
  max-width: 790px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pc-followup-gesture {
  min-height: 94px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 16px;
  border: 1px solid #dde4ef;
  border-radius: 16px;
  color: #203553;
  background: #fff;
  box-shadow: 0 8px 22px rgba(30, 48, 83, 0.06);
  text-align: left;
}

.pc-followup-gesture > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, var(--pc-blue), var(--pc-primary));
  box-shadow: 0 7px 15px rgba(76, 73, 226, 0.2);
  font-size: 0.79rem;
  font-weight: 950;
}

.pc-followup-gesture strong {
  font-size: 0.79rem;
  font-weight: 850;
  line-height: 1.4;
}

.pc-followup-action-line {
  margin: 0 0 17px;
  color: #31425d;
  font-size: 0.88rem;
  font-weight: 750;
}

.pc-followup-pivot-button {
  min-height: 51px;
  padding-inline: 28px;
  font-size: 0.94rem;
  box-shadow: 0 13px 28px rgba(76, 73, 226, 0.25);
}

@media (max-width: 680px) {
  .pc-transfer-choice {
    grid-template-columns: 1fr;
  }

  .pc-followup-pivot-card {
    border-radius: 21px;
  }

  .pc-followup-pivot-hero {
    padding: 28px 18px 30px;
  }

  .pc-followup-pivot-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .pc-followup-definition {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .pc-followup-definition-label {
    max-width: none;
  }

  .pc-followup-gestures {
    grid-template-columns: 1fr;
  }

  .pc-followup-gesture {
    min-height: 72px;
  }

  .pc-followup-pivot-button {
    width: 100%;
  }
}

.pc-celebration-line {
  max-width: 760px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 15px;
  color: #145e4b;
  background: #eaf9f3;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: left;
}

.pc-celebration-line > span {
  font-size: 1.05rem;
}

.pc-celebration-line strong,
.pc-celebration-line small {
  display: block;
}

.pc-celebration-line small {
  margin-top: 5px;
  color: #3f7769;
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.5;
}

.pc-prologue-centered-action {
  width: min(980px, 100%);
  margin: 16px auto 0;
  text-align: center;
}

.pc-mail-composer {
  overflow: hidden;
  text-align: left;
}

.pc-composer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: -34px -34px 20px;
  padding: 17px 22px;
  color: #fff;
  background: #1f3152;
}

.pc-composer-heading span {
  color: #cbd5e6;
  font-size: 0.71rem;
}

.pc-address-directory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
  padding: 13px 15px;
  border-radius: 13px;
  color: #174b73;
  background: #edf7ff;
  border: 1px solid #d1e9fb;
}

.pc-address-directory b,
.pc-address-directory small {
  display: block;
}

.pc-address-directory small {
  margin-top: 3px;
  color: #5d7890;
  font-size: 0.7rem;
}

.pc-address-directory code {
  padding: 6px 8px;
  border-radius: 8px;
  color: #294464;
  background: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 750;
}

.pc-address-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-copy-address-button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #b8d7ee;
  border-radius: 9px;
  color: #155482;
  background: #fff;
  font-size: 0.7rem;
  font-weight: 850;
}

.pc-copy-address-button:hover,
.pc-copy-address-button:focus-visible {
  border-color: var(--pc-blue);
  box-shadow: 0 0 0 3px rgba(40, 117, 235, 0.12);
}

.pc-field-guidance {
  margin: -4px 0 8px 58px;
  color: var(--pc-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.pc-transfer-rule {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 13px 15px;
  border-left: 4px solid var(--pc-primary);
  border-radius: 12px;
  color: var(--pc-ink-soft);
  background: #eef3ff;
}

.pc-transfer-rule strong {
  color: var(--pc-primary);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pc-transfer-rule span {
  font-size: 0.77rem;
  line-height: 1.55;
}

.pc-address-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-address-directory-grid span,
.pc-address-directory-grid code {
  min-width: 0;
}

.pc-address-directory-grid code {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.pc-composer-field {
  min-height: 49px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid #e2e7ef;
}

.pc-composer-field > span {
  color: #607089;
  font-size: 0.75rem;
  font-weight: 850;
}

.pc-composer-field input {
  width: 100%;
  min-height: 42px;
  padding: 8px 5px;
  color: #21334e;
  background: transparent;
  border: 0;
  outline: 0;
}

.pc-composer-field input[aria-invalid="true"] {
  color: #a51f43;
  background: #fff4f6;
}

.pc-field-error {
  min-height: 18px;
  padding: 3px 0 0 58px;
  color: #a51f43;
  font-size: 0.68rem;
  font-weight: 750;
}

.pc-composer-body {
  display: block;
  margin-top: 17px;
}

.pc-composer-body textarea[readonly] {
  color: #233550;
  background: #fbfcfe;
}

.pc-forwarded-thread {
  margin-top: 15px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #56647a;
  background: #f6f8fb;
  border: 1px solid #e2e7ef;
  font-size: 0.74rem;
  line-height: 1.6;
}

.pc-forwarded-thread summary {
  cursor: pointer;
  color: #31445f;
  font-weight: 800;
}

.pc-compose-launch-card {
  display: grid;
  place-items: center;
  min-height: 480px;
  text-align: center;
}

.pc-compose-entry-card {
  align-content: center;
  gap: 0;
  min-height: 445px;
}

.pc-compose-entry-card .pc-milestone-symbol {
  margin-bottom: 16px;
}

.pc-compose-entry-card > h1 {
  margin-top: 9px;
}

.pc-compose-entry-card > p {
  max-width: 690px;
  margin: 0 auto 10px;
  color: var(--pc-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.pc-compose-entry-card > p strong {
  color: #182946;
}

.pc-compose-entry-instruction {
  width: min(690px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 19px auto 0;
  padding: 16px 18px;
  border: 1px solid #dcdafe;
  border-radius: 15px;
  color: #343484;
  background: #f0efff;
  font-size: 0.88rem;
  line-height: 1.5;
}

.pc-compose-entry-instruction > span {
  font-size: 1.15rem;
}

.pc-recipient-purpose {
  width: min(660px, 100%);
  display: grid;
  gap: 9px;
  margin: 0 auto 22px;
  text-align: left;
}

.pc-recipient-purpose span {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: center;
  padding: 11px 14px;
  border-radius: 12px;
  color: #44546c;
  background: #f6f8fb;
}

.pc-recipient-purpose b {
  color: var(--pc-primary);
}

.pc-mobile-compose-button {
  display: none;
}

.pc-send-checklist {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 14px;
  color: #3d5d54;
  background: #f0faf6;
  border-radius: 13px;
  font-size: 0.72rem;
}

.pc-send-checklist strong {
  color: #174f41;
}

.pc-recipient-recap {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 23px auto;
  text-align: left;
}

.pc-recipient-recap article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px;
  border-radius: 14px;
  background: #f7f9fc;
  border: 1px solid #e1e6ee;
}

.pc-recipient-recap article > b {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--pc-primary);
}

.pc-recipient-recap strong,
.pc-recipient-recap small {
  display: block;
}

.pc-recipient-recap small {
  margin-top: 4px;
  color: var(--pc-muted);
  font-size: 0.72rem;
}

.pc-bcc-ethics {
  color: #604513;
  background: #fff9e9;
  border: 1px solid #f0d996;
}

.pc-bcc-ethics ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #665a43;
  font-size: 0.76rem;
  line-height: 1.6;
}

.pc-ai-transition-card {
  max-width: 980px;
  text-align: center;
  background:
    radial-gradient(circle at 6% 8%, rgba(36, 183, 216, 0.12), transparent 25%),
    radial-gradient(circle at 94% 90%, rgba(91, 80, 238, 0.12), transparent 28%),
    #fff;
}

.pc-human-ai-balance {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-inline: auto;
}

.pc-human-ai-balance article > span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.pc-revolution-note {
  color: #3d3c92;
  background: #f0efff;
  border: 1px solid #dcdafe;
}

.pc-ai-entry-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  color: #fff;
  background: linear-gradient(135deg, #4338ca, #6656f4);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(67, 56, 202, 0.27);
  font-weight: 900;
}

.pc-ai-transition-card > small {
  display: block;
  margin-top: 11px;
  color: var(--pc-muted);
  font-size: 0.7rem;
}

.pc-ai-workspace {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: auto;
  color: var(--pc-ink);
  background: #eef2f8;
}

.pc-ai-workspace[hidden] {
  display: none;
}

.pc-ai-workspace-header {
  min-height: 76px;
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 3vw, 42px);
  color: #fff;
  background: #172542;
  box-shadow: 0 8px 26px rgba(9, 22, 46, 0.18);
}

.pc-ai-workspace-header .pc-quiet-button {
  color: #dbe6ff;
  background: #24395f;
  border-color: #385079;
}

.pc-ai-workspace-header > span small,
.pc-ai-workspace-header > span strong {
  display: block;
}

.pc-ai-workspace-header > span small {
  color: #8fbcff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.pc-ai-workspace-header > span strong {
  margin-top: 4px;
  font-size: 1rem;
}

.pc-ai-offline-badge {
  padding: 8px 11px;
  border-radius: 999px;
  color: #c6f7e8;
  background: #17483e;
  border: 1px solid #2c7563;
  font-size: 0.68rem;
  font-weight: 850;
  white-space: nowrap;
}

.pc-ai-workspace-body {
  width: min(1420px, 100%);
  margin: auto;
  padding: clamp(18px, 3vw, 42px);
}

.pc-ai-workshop-intro {
  max-width: 860px;
  margin: 0 auto 27px;
  text-align: center;
}

.pc-ai-workshop-intro h1 {
  margin: 12px 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}

.pc-ai-workshop-intro p {
  color: var(--pc-muted);
  line-height: 1.7;
}

.pc-ai-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 25px;
}

.pc-ai-method-card {
  min-height: 145px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dfe5ee;
  box-shadow: var(--pc-shadow-soft);
}

.pc-ai-method-card strong {
  color: #263f76;
  font-size: 0.84rem;
}

.pc-ai-method-card p {
  margin: 9px 0 0;
  color: var(--pc-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.pc-ai-simulator {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #dfe5ee;
  box-shadow: var(--pc-shadow);
}

.pc-ai-simulator-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid #e1e6ee;
}

.pc-ai-simulator-heading small,
.pc-ai-simulator-heading strong {
  display: block;
}

.pc-ai-simulator-heading small {
  color: var(--pc-primary);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.pc-ai-simulator-heading strong {
  margin-top: 4px;
}

.pc-ai-simulation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pc-ai-simulation-tab {
  min-height: 39px;
  padding: 8px 11px;
  color: #516078;
  background: #f5f7fa;
  border: 1px solid #dde3eb;
  border-radius: 11px;
  font-size: 0.71rem;
  font-weight: 800;
}

.pc-ai-simulation-tab.is-active {
  color: #fff;
  background: var(--pc-primary);
  border-color: var(--pc-primary);
}

.pc-ai-simulator-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-ai-prompt-column,
.pc-ai-response-column {
  min-width: 0;
  padding: 22px;
}

.pc-ai-prompt-column {
  background: #f7f8fc;
  border-right: 1px solid #e1e6ee;
}

.pc-ai-column-label {
  display: block;
  margin-bottom: 10px;
  color: #31445f;
  font-size: 0.72rem;
  font-weight: 900;
}

.pc-ai-prompt-column pre,
.pc-ai-response-column .pc-simulated-response {
  min-height: 250px;
  max-height: 430px;
  overflow: auto;
  margin: 0;
  padding: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #dfe8ff;
  background: #16243e;
  border-radius: 15px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.65;
}

.pc-ai-response-column .pc-simulated-response {
  color: #263751;
  background: #f8fafc;
  border: 1px solid #e0e5ed;
}

.pc-ai-transparency {
  margin-bottom: 10px;
  padding: 10px 12px;
  color: #6c511b;
  background: #fff8e7;
  border-radius: 11px;
  font-size: 0.7rem;
  line-height: 1.5;
}

.pc-prologue-completion {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  border-radius: 20px;
  color: #155847;
  background: #e9f9f3;
  border: 1px solid #c4ecdd;
}

.pc-prologue-completion > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--pc-green);
  font-size: 1.2rem;
  font-weight: 900;
}

.pc-prologue-completion p {
  margin: 5px 0 0;
  color: #477b70;
  font-size: 0.76rem;
  line-height: 1.5;
}

.pc-prologue-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 32px));
  padding: 13px 16px;
  color: #fff;
  background: #182743;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(10, 27, 55, 0.25);
  font-size: 0.77rem;
  font-weight: 750;
}

.pc-prologue-toast[hidden] {
  display: none;
}

@media (max-width: 1050px) {
  .pc-transfer-steps {
    grid-template-columns: 1fr;
  }

  .pc-address-directory-grid,
  .pc-ai-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-ai-simulator-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .pc-prologue-body.pc-prologue-audit-mode {
    --pc-prologue-audit-height: 94px;
  }

  .pc-mobile-mail-nav.pc-mobile-without-folders {
    grid-template-columns: repeat(3, 1fr);
  }

  .pc-prologue-audit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 7px;
  }

  .pc-prologue-audit strong,
  .pc-prologue-audit label,
  .pc-prologue-audit select {
    grid-column: 1 / -1;
  }

  .pc-prologue-audit strong,
  .pc-prologue-audit label {
    display: none;
  }

  .pc-prologue-audit select {
    min-height: 34px;
  }

  .pc-prologue-audit-mode .pc-mail-app {
    height: calc(100vh - var(--pc-header-height) - 57px - var(--pc-prologue-audit-height));
    height: calc(100dvh - var(--pc-header-height) - 57px - var(--pc-prologue-audit-height));
  }

  .pc-prologue-task-card,
  .pc-mail-composer,
  .pc-milestone-card,
  .pc-compose-launch-card,
  .pc-ai-transition-card {
    margin-top: 10px;
    padding: 19px;
    border-radius: 18px;
  }

  .pc-prologue-task-intro,
  .pc-first-action-dock,
  .pc-practice-instruction,
  .pc-orientation-banner,
  .pc-decision-pause {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 13px;
  }

  .pc-decision-pause .pc-main-button {
    grid-column: 1 / -1;
  }

  .pc-first-action-dock .pc-main-button {
    grid-column: 1 / -1;
  }

  .pc-prologue-form-footer,
  .pc-composer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pc-learning-recap-grid,
  .pc-human-ai-balance,
  .pc-address-directory-grid,
  .pc-ai-method-grid,
  .pc-ai-simulator-columns {
    grid-template-columns: 1fr;
  }

  .pc-composer-heading {
    margin: -19px -19px 18px;
  }

  .pc-address-directory {
    align-items: flex-start;
    flex-direction: column;
  }

  .pc-address-copy {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .pc-address-copy code {
    overflow-wrap: anywhere;
  }

  .pc-field-guidance {
    margin-left: 0;
  }

  .pc-address-directory-grid {
    display: grid;
  }

  .pc-mobile-compose-button {
    display: inline-flex;
  }

  .pc-ai-workspace-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 9px 12px;
  }

  .pc-ai-workspace-header > span:nth-child(2) {
    grid-row: 1;
    grid-column: 1;
  }

  .pc-ai-workspace-header .pc-quiet-button {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .pc-ai-offline-badge {
    grid-row: 1;
    grid-column: 2;
  }

  .pc-ai-workspace-body {
    padding: 16px 10px 30px;
  }

  .pc-mail-app.pc-initial-entry-mode {
    height: calc(100vh - var(--pc-header-height) - var(--pc-prologue-audit-height));
    height: calc(100dvh - var(--pc-header-height) - var(--pc-prologue-audit-height));
  }

  .pc-mail-app.pc-initial-entry-mode .pc-prologue-stage {
    height: 100%;
    padding: 12px;
  }

  .pc-mission-entry-card {
    min-height: 0;
    padding: clamp(24px, 7vw, 38px);
    border-radius: 25px;
  }

  .pc-mission-entry-topline {
    margin-bottom: 17px;
  }

  .pc-mission-entry-card h1 {
    max-width: 14ch;
    margin: 10px 0 15px;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .pc-mission-entry-lead {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .pc-mission-entry-reassurance {
    margin-top: 18px;
    padding: 13px;
  }

  .pc-mission-entry-button {
    width: 100%;
    margin-top: 20px;
  }

  .pc-ai-prompt-column {
    border-right: 0;
    border-bottom: 1px solid #e1e6ee;
  }

  .pc-prologue-completion {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .pc-prologue-completion .pc-main-button {
    grid-column: 1 / -1;
  }

  .pc-prologue-toast {
    right: 10px;
    bottom: 67px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .pc-case-heading {
    display: block;
  }

  .pc-guided-label {
    display: inline-flex;
    margin-top: 9px;
    white-space: normal;
  }

  .pc-milestone-card h1,
  .pc-compose-launch-card h1,
  .pc-ai-transition-card h1 {
    font-size: 1.75rem;
  }

  .pc-prologue-editor,
  .pc-composer-body textarea {
    font-size: 0.86rem;
  }

  .pc-ai-offline-badge {
    max-width: 120px;
    white-space: normal;
    text-align: center;
  }

  .pc-ai-simulation-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .pc-mission-entry-card {
    justify-content: flex-start;
  }

  .pc-mission-entry-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .pc-mission-entry-reassurance {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .pc-mission-entry-reassurance > span {
    width: 30px;
    height: 30px;
  }

  .pc-initial-reply-launch .pc-mail-button {
    width: 100%;
  }
}

/* Visites guidées : l’élément reste prioritaire, puis l’explication s’ouvre dans une vue distincte. */

.pc-tour-card {
  right: auto;
  bottom: auto;
  left: auto;
  width: min(520px, calc(100vw - 24px));
  max-height: none;
  padding: 20px;
  overflow: visible;
  border-radius: 20px;
  transition:
    width 0.18s ease,
    left 0.18s ease,
    top 0.18s ease;
}

.pc-tour-card.is-target {
  overflow: visible;
}

.pc-tour-focus {
  pointer-events: none;
}

.pc-tour-card.is-target h2 {
  max-width: none;
  margin: 12px 0 18px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.pc-tour-card.is-explanation {
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 24px;
}

.pc-tour-card.is-explanation h2 {
  max-width: none;
  font-size: clamp(1.65rem, 2.35vw, 2.15rem);
}

.pc-tour-card.is-explanation .pc-tour-content p {
  max-width: none;
  font-size: 1rem;
  line-height: 1.58;
}

.pc-tour-card.is-explanation .pc-tour-points strong {
  font-size: 0.9rem;
}

.pc-tour-card.is-explanation .pc-tour-points span,
.pc-tour-card.is-explanation .pc-tour-rule span {
  font-size: 0.88rem;
}

.pc-tour-switch-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.pc-tour-toggle {
  margin-left: auto;
}

.pc-tour-toggle[hidden] {
  display: none;
}

.pc-tour-card.is-direct .pc-tour-switch-actions {
  display: none;
}

.pc-tour-card.is-direct {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: hidden;
}

.pc-tour-card.is-direct .pc-tour-content {
  min-height: 0;
  margin-top: 13px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pc-tour-card.is-direct .pc-tour-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  background: #fff;
}

.pc-tour-card.is-explanation .pc-tour-toggle {
  color: var(--pc-primary);
  background: #eef1ff;
  border: 1px solid #d9ddff;
}

.pc-tour-actions {
  grid-template-columns: 1fr auto;
}

.pc-tour-actions[hidden],
.pc-tour-content[hidden] {
  display: none;
}

.pc-tour-card.is-target::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 11px solid transparent;
}

.pc-tour-card.pc-tour-place-left::after {
  top: 50%;
  right: -22px;
  border-left-color: #fff;
  transform: translateY(-50%);
}

.pc-tour-card.pc-tour-place-right::after {
  top: 50%;
  left: -22px;
  border-right-color: #fff;
  transform: translateY(-50%);
}

.pc-tour-card.pc-tour-place-top::after {
  bottom: -22px;
  left: 50%;
  border-top-color: #fff;
  transform: translateX(-50%);
}

.pc-tour-card.pc-tour-place-bottom::after,
.pc-tour-card.pc-tour-place-docked::after {
  top: -22px;
  left: 50%;
  border-bottom-color: #fff;
  transform: translateX(-50%);
}

body.pc-tour-active .pc-prologue-stage {
  padding-bottom: max(320px, 48dvh);
}

@media (min-width: 960px) {
  .pc-tour-card.is-explanation {
    padding: 25px 30px;
  }

  .pc-tour-card.is-explanation .pc-tour-meta {
    font-size: 0.76rem;
  }

  .pc-tour-card.is-explanation .pc-tour-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-tour-card.is-explanation .pc-tour-rule,
  .pc-tour-card.is-explanation .pc-tour-encouragement {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .pc-tour-card,
  .pc-tour-card.is-left,
  .pc-tour-card.is-right {
    right: auto;
    left: auto;
    width: auto;
    max-height: none;
  }

  .pc-tour-card.is-target {
    padding: 16px;
    border-radius: 18px;
  }

  .pc-tour-card.is-direct {
    min-height: 0;
  }

  .pc-tour-card.is-direct .pc-tour-meta,
  .pc-tour-card.is-direct h2,
  .pc-tour-card.is-direct .pc-tour-actions {
    flex: 0 0 auto;
  }

  .pc-tour-card.is-direct .pc-tour-content {
    flex: 1 1 auto;
  }

  .pc-tour-card.is-target .pc-tour-meta {
    font-size: 0.64rem;
  }

  .pc-tour-card.is-target h2 {
    margin: 9px 0 12px;
    font-size: clamp(1.08rem, 5.4vw, 1.4rem);
    line-height: 1.18;
  }

  .pc-tour-card.is-target .pc-tour-switch-actions {
    margin-top: 10px;
  }

  .pc-tour-card.is-explanation {
    padding: 20px 17px;
    border-radius: 20px;
  }

  .pc-tour-card.is-explanation h2 {
    max-width: 19ch;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .pc-tour-card.is-explanation .pc-tour-content {
    overflow: visible;
  }

  .pc-tour-switch-actions {
    position: sticky;
    top: -1px;
    z-index: 2;
    padding: 8px 0 10px;
    background: #fff;
  }
}

@media (max-width: 480px) {
  .pc-tour-card.is-target .pc-tour-button {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .pc-tour-card.is-explanation .pc-tour-switch-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .pc-tour-card.is-explanation .pc-tour-toggle,
  .pc-tour-card.is-explanation .pc-tour-button.ghost {
    width: 100%;
    margin-left: 0;
  }

  .pc-tour-card.is-explanation .pc-tour-actions {
    grid-template-columns: 1fr 1fr;
  }
}
