:root {
  --bg: #f5f1e8;
  --bg-soft: #fbfaf7;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --menu-surface: rgba(255, 255, 255, 0.96);
  --surface-muted: rgba(244, 240, 233, 0.88);
  --text: #16181d;
  --muted: #676d76;
  --border: rgba(22, 24, 29, 0.1);
  --field-border: rgba(22, 24, 29, 0.27);
  --light-control-border: rgba(22, 24, 29, 0.23);
  --light-control-border-strong: rgba(22, 24, 29, 0.36);
  --light-control-bg: rgba(220, 224, 228, 0.9);
  --light-control-bg-hover: rgba(207, 213, 219, 1);
  --border-strong: rgba(22, 24, 29, 0.16);
  --primary: #17354b;
  --primary-strong: #0f283a;
  --primary-soft: #dbe8f1;
  --gold: #b59663;
  --success: #227452;
  --danger: #b54e4e;
  --shadow: 0 18px 48px rgba(20, 24, 30, 0.08);
  --shadow-soft: 0 10px 28px rgba(20, 24, 30, 0.05);
  --menu-shadow:
    0 26px 70px rgba(15, 40, 58, 0.24),
    0 10px 26px rgba(15, 40, 58, 0.14);
  --idea-frame-green: #e4f2e1;
  --idea-source-ease-sine: cubic-bezier(0.9, 0, 0.1, 1);
  --page-max-width: 1160px;
  --marketing-max-width: 1160px;
  --workflow-max-width: 1520px;
  --linkedin-feed-width: 640px;
}

/* d3-cloud owns topic-selector placement; interaction styling remains on the buttons. */
.ideaTopicDialog.is-d3-cloud .ideaTopicDialogPanel {
  grid-template-rows: minmax(210px, 28vh) minmax(0, 1fr);
  gap: 0;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicDialogPanel:has(> .ideaTopicCloud:not(:empty)):has(> .ideaTopicCustomCloud:not([hidden])) {
  grid-template-rows: minmax(200px, 25vh) minmax(0, 1fr) minmax(160px, 26vh);
}

.ideaTopicDialog.is-d3-cloud .ideaTopicDialogPanel:has(> .ideaTopicCloud:empty):has(> .ideaTopicCustomCloud:not([hidden])) {
  grid-template-rows: minmax(0, 1fr) minmax(160px, 26vh);
}

.ideaTopicDialog.is-d3-cloud .ideaTopicDialogPanel:has(> .ideaTopicCloud:empty):not(:has(> .ideaTopicCustomCloud:not([hidden]))) {
  grid-template-rows: minmax(0, 1fr);
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloud,
.ideaTopicDialog.is-d3-cloud .ideaTopicCustomCloud {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloud:empty,
.ideaTopicDialog.is-d3-cloud .ideaTopicCustomCloud[hidden] {
  display: none;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloud.is-cloud-laying-out button:not(.is-cloud-positioned),
.ideaTopicDialog.is-d3-cloud .ideaTopicCustomCloud.is-cloud-laying-out button:not(.is-cloud-positioned) {
  opacity: 0;
}

.ideaTopicDialog.is-d3-cloud button.ideaTopicWord,
.ideaTopicDialog.is-d3-cloud button.ideaTopicWord.is-wide,
.ideaTopicDialog.is-d3-cloud button.ideaTopicWord.is-featured,
.ideaTopicDialog.is-d3-cloud button.ideaTopicWord.is-wide.is-featured,
.ideaTopicDialog.is-d3-cloud button.ideaTopicWord.is-hero,
.ideaTopicDialog.is-d3-cloud .ideaTopicCustomCloud button.ideaTopicWord,
.ideaTopicDialog.is-d3-cloud .ideaTopicCustomCloud.is-dense button.ideaTopicWord {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  grid-column: auto;
  width: max-content;
  min-width: 0;
  max-width: calc(100% - 20px);
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 6px 9px;
  line-height: 1.08;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition:
    left 780ms var(--idea-source-ease-sine),
    top 780ms var(--idea-source-ease-sine),
    font-size 520ms var(--idea-source-ease-sine),
    font-weight 520ms var(--idea-source-ease-sine),
    color 420ms var(--idea-source-ease-sine),
    text-shadow 420ms var(--idea-source-ease-sine),
    opacity 360ms var(--idea-source-ease-sine),
    transform 360ms var(--idea-source-ease-sine);
}

.ideaTopicDialog.is-d3-cloud button.ideaTopicWord:hover,
.ideaTopicDialog.is-d3-cloud button.ideaTopicWord:active {
  transform: translate(-50%, -50%);
}

.ideaTopicDialog.is-d3-cloud button.ideaTopicWord .ideaTopicLabelText {
  display: inline-grid;
  width: auto;
  max-width: 100%;
  line-height: 1.04;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicLabelLine {
  max-width: 100%;
  white-space: nowrap;
}

#ideaTopicDialog.is-d3-cloud .ideaTopicDialogPanel,
#ideaTopicDialog.is-d3-cloud.is-topic-compact .ideaTopicDialogPanel,
#ideaTopicDialog.is-d3-cloud.has-many-custom-topics .ideaTopicDialogPanel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage > .ideaTopicCloud,
.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage > .ideaTopicCustomCloud {
  position: static;
  display: contents;
  width: auto;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage > .ideaTopicCustomCloud[hidden] {
  display: none;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage.is-cloud-laying-out button:not(.is-cloud-positioned) {
  opacity: 0;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord,
.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord.is-wide,
.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord.is-featured,
.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord.is-hero {
  position: absolute;
  width: max-content;
  min-width: 0;
  max-width: calc(100% - 16px);
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 3px 5px;
  line-height: 1;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  font-family: inherit;
  line-height: 1;
  text-align: center;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage .ideaTopicLabelText {
  display: inline;
  width: auto;
  max-width: none;
  white-space: nowrap;
  line-height: 1;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage .ideaTopicLabelLine {
  display: inline;
  max-width: none;
  white-space: nowrap;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage .ideaTopicLabelLine + .ideaTopicLabelLine::before {
  content: " ";
}

@media (max-width: 640px) {
  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicDialogPanel {
    grid-template-rows: auto minmax(0, 1fr);
    padding: 14px 14px 116px;
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicDialogPanel:has(> .ideaTopicCloud:not(:empty)):has(> .ideaTopicCustomCloud:not([hidden])) {
    grid-template-rows: auto minmax(0, 1fr);
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicDialogPanel:has(> .ideaTopicCloud:empty):has(> .ideaTopicCustomCloud:not([hidden])) {
    grid-template-rows: auto minmax(0, 1fr);
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicDialogPanel:has(> .ideaTopicCloud:empty):not(:has(> .ideaTopicCustomCloud:not([hidden]))) {
    grid-template-rows: auto minmax(0, 1fr);
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicCloud,
  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicCustomCloud {
    display: block;
    min-height: 0;
    padding: 0;
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage > .ideaTopicCloud,
  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage > .ideaTopicCustomCloud {
    display: contents;
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage > .ideaTopicCustomCloud[hidden] {
    display: none;
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud button.ideaTopicWord,
  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud button.ideaTopicWord.is-wide,
  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud button.ideaTopicWord.is-featured,
  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud button.ideaTopicWord.is-hero {
    width: max-content;
    min-width: 0;
    max-width: calc(100% - 12px);
    min-height: 0;
    margin: 0;
    padding: 4px 6px;
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicDialogActions {
    width: calc(100% - 28px);
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicCustomControls {
    display: flex;
    flex: 1 1 100%;
    min-width: 100%;
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicCustomInput {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  body[data-page="step1"] .ideaTopicDialog.is-d3-cloud .ideaTopicAddBtn {
    width: auto;
    flex: 0 0 auto;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body.authPending .workflowNav,
body.authPending > main,
body.authRequired .workflowNav,
body.authRequired > main {
  display: none !important;
}

.workflowAuthGate {
  width: min(720px, calc(100% - 32px));
  margin: clamp(52px, 10vh, 112px) auto;
}

.workflowAuthGateCard {
  padding: clamp(32px, 6vw, 58px);
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(15, 40, 58, 0.14);
  text-align: center;
}

.workflowAuthGateCard h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.workflowAuthGateCard p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.workflowAuthGateActions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 560px) {
  .workflowAuthGateActions {
    flex-direction: column;
  }

  .workflowAuthGateActions button {
    width: 100%;
  }
}

.textDanger {
  color: var(--danger);
}

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

.status.is-error,
#authStatus.is-error,
#authResumeStatus.is-error {
  color: var(--danger);
}

html {
  font-size: 18px;
  scroll-padding-top: 148px;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(23, 53, 75, 0.08), transparent 60%),
    radial-gradient(700px 420px at 88% 8%, rgba(181, 150, 99, 0.12), transparent 52%),
    linear-gradient(180deg, #fbfaf7 0%, #f3efe7 48%, #f5f1e8 100%);
}

.container {
  width: min(var(--page-max-width), calc(100% - 36px));
  margin: 0 auto;
}

body[data-page="step1"],
:is(body[data-page="step2"], body[data-combined-workflow="true"]),
:is(body[data-page="step3"], body[data-combined-workflow="true"]),
body[data-page="step4"],
body[data-page="engage"] {
  --page-max-width: var(--workflow-max-width);
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 20px 0 14px;
  background: transparent;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.siteHeader.container {
  padding-left: max(18px, calc((100% - var(--page-max-width)) / 2));
  padding-right: max(18px, calc((100% - var(--page-max-width)) / 2));
}

.brandRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brandLockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brandLogo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.brandName {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.workflowNav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(780px, 100%);
  margin-top: 16px;
  isolation: isolate;
  filter:
    drop-shadow(0 9px 14px rgba(15, 40, 58, 0.2))
    drop-shadow(0 2px 3px rgba(255, 255, 255, 0.8));
}

.workflowNavItem {
  --workflow-arrow-size: 15px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 35px;
  margin-left: calc(var(--workflow-arrow-size) * -1);
  padding: 4px 16px 4px calc(16px + var(--workflow-arrow-size));
  clip-path: polygon(
    0 0,
    calc(100% - var(--workflow-arrow-size)) 0,
    100% 50%,
    calc(100% - var(--workflow-arrow-size)) 100%,
    0 100%,
    var(--workflow-arrow-size) 50%
  );
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.02) 36%, rgba(15, 40, 58, 0.12)),
    linear-gradient(110deg, #355f78 0%, #4f7d96 48%, #739bae 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(6, 24, 36, 0.3);
  transition:
    transform 220ms ease,
    filter 220ms ease,
    color 220ms ease;
}

.workflowNavItem:first-child {
  margin-left: 0;
  padding-left: 16px;
  clip-path: polygon(
    0 0,
    calc(100% - var(--workflow-arrow-size)) 0,
    100% 50%,
    calc(100% - var(--workflow-arrow-size)) 100%,
    0 100%
  );
}

.workflowNavItem:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.03) 36%, rgba(15, 40, 58, 0.1)),
    linear-gradient(110deg, #466f87 0%, #628da3 50%, #82a8b9 100%);
}

.workflowNavItem:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.04) 36%, rgba(15, 40, 58, 0.09)),
    linear-gradient(110deg, #5b8195 0%, #789aaa 52%, #9ab7c3 100%);
}

.workflowNavItem:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.05) 36%, rgba(15, 40, 58, 0.08)),
    linear-gradient(110deg, #718f9e 0%, #8da9b5 52%, #b0c4cc 100%);
}

.workflowNavItem:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.08) 36%, rgba(15, 40, 58, 0.06)),
    linear-gradient(110deg, #899fa9 0%, #a5b8c0 52%, #c8d3d8 100%);
}

.workflowNavItem:hover,
.workflowNavItem:focus-visible {
  z-index: 8;
  color: #ffffff;
  filter: brightness(1.1) saturate(1.08);
  transform: translateY(-2px);
}

.workflowNavItem:focus-visible {
  outline: 3px solid rgba(115, 155, 174, 0.7);
  outline-offset: 3px;
}

.workflowNavItem.active,
.workflowNavItem[aria-current="step"] {
  z-index: 10;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.04) 34%, rgba(5, 22, 34, 0.26)),
    linear-gradient(110deg, #0f283a 0%, #204f69 46%, #54839a 78%, #dbe8f1 142%);
  color: #ffffff;
  font-weight: 400;
  filter:
    drop-shadow(0 7px 11px rgba(15, 40, 58, 0.36))
    drop-shadow(0 0 7px rgba(219, 232, 241, 0.62));
  transform: translateY(-2px);
}

.workflowNavItem.active::after,
.workflowNavItem[aria-current="step"]::after {
  position: absolute;
  right: calc(var(--workflow-arrow-size) + 14px);
  bottom: 4px;
  left: calc(var(--workflow-arrow-size) + 14px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffffff 24%, #dbe8f1 76%, transparent);
  box-shadow: 0 0 8px rgba(219, 232, 241, 0.8);
  content: "";
}

.workflowNavItem:first-child.active::after,
.workflowNavItem:first-child[aria-current="step"]::after {
  left: 14px;
}

.coverPage .siteHeader.is-over-dark-section .brandName {
  color: #ffffff;
  text-shadow:
    0 2px 10px rgba(4, 12, 24, 0.82),
    0 0 22px rgba(255, 255, 255, 0.28);
}

.coverPage .siteHeader.is-over-dark-section .brandLockup {
  color: #ffffff;
}

.authMenu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.authUserLabel {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobileMenuButton {
  display: none;
}

.pageNav,
.stepList {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pageNavLink,
.stepPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--light-control-border);
  background: var(--light-control-bg);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.pageNavLink:hover,
.stepPill:hover {
  border-color: var(--light-control-border-strong);
  background: var(--light-control-bg-hover);
  transform: translateY(-3px) scale(1.035);
  box-shadow: 0 12px 22px rgba(15, 40, 58, 0.12);
}

.pageNavLink:active,
.stepPill:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 5px 12px rgba(15, 40, 58, 0.1);
}

.pageNavLink.active,
.stepPill.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fbfaf7;
  box-shadow: 0 14px 28px rgba(15, 40, 58, 0.2);
}

.guideMenu {
  position: relative;
}

.guideMenu summary {
  list-style: none;
  cursor: pointer;
}

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

.guideMenuPanel {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 60;
  display: grid;
  gap: 6px;
  width: max-content;
  min-width: 190px;
  max-width: calc(100vw - 36px);
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-top: 0;
  border-radius: 18px 0 18px 18px;
  background: var(--menu-surface);
  box-shadow: var(--menu-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 180ms ease;
}

.guideMenu[open] .guideMenuPanel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.guideMenuPanel a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}

.guideMenuPanel a:hover,
.guideMenuPanel a.active {
  background: var(--primary);
  color: #fbfaf7;
}

.guideMenu[open] > summary {
  border-color: var(--border-strong);
  border-bottom-color: transparent;
  border-radius: 18px 18px 0 0;
  background: var(--menu-surface);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(15, 40, 58, 0.1);
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 700;
}

h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 650;
}

h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.muted {
  margin: 0;
  color: var(--muted);
}

.layout {
  padding: 16px 0 40px;
  display: grid;
  gap: 20px;
}

.workspace {
  display: grid;
  gap: 18px;
}

@media (min-width: 1120px) {
  .layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.84fr);
    align-items: start;
  }
}

.layout.singleColumnLayout {
  grid-template-columns: minmax(0, 1fr);
}

.singleColumnLayout .workspace {
  width: 100%;
}

:is(body[data-page="step2"], body[data-combined-workflow="true"]) .workspace,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .workspace,
body[data-page="step4"] .workspace,
body[data-page="engage"] .workspace {
  gap: 20px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 26px;
}

.heroCard,
.introCard {
  display: grid;
  gap: 14px;
}

.introCard h1 {
  max-width: 17ch;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
}

.stepIntroCard h1 {
  max-width: none;
  font-size: clamp(2.25rem, 4.15vw, 3.35rem);
  line-height: 0.98;
}

@media (min-width: 900px) {
  .stepIntroCard h1 {
    white-space: nowrap;
  }
}

.heroCard {
  padding: 24px;
}

.eyebrow,
.sectionLabel {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(22, 24, 29, 0.08);
  background: rgba(255, 255, 255, 0.6);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heroText,
.coverLead {
  max-width: 34rem;
  margin: 0;
  color: #535a64;
  font-size: 1.02rem;
  line-height: 1.6;
}

.salesLines {
  display: grid;
  gap: 10px;
}

.salesLines p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.52);
}

.cardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.sectionLead {
  margin-top: 6px;
}

.resumeDatabaseStatus {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.resumeDatabaseStatus.is-ok {
  color: #24724f;
}

.resumeDatabaseStatus.is-warning {
  color: #9f2f2f;
}

.actions,
.row,
.coverActions,
.formatToolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.row {
  margin-top: 12px;
}

.ideaIterationWarning,
.postIterationWarning,
.imageIterationWarning {
  align-self: center;
  font-weight: 700;
}

.ideaIterationCounter,
.postIterationCounter,
.imageIterationCounter {
  align-self: center;
  margin: 0;
  color: #24724f;
}

.ideaIterationWarning,
.postIterationWarning,
.imageIterationWarning {
  color: var(--danger);
}

.bottomCta {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

label {
  display: block;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.3;
}

.outputLabel {
  margin-top: 28px;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.45;
}

textarea:focus,
input:focus,
select:focus {
  border-color: rgba(23, 53, 75, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 4px rgba(23, 53, 75, 0.08);
}

.srOnlyTextarea,
.srOnlySelect {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.srOnlyLabel {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

@media (min-width: 880px) {
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
}

button {
  appearance: none;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #f8f8f5;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 20px rgba(15, 40, 58, 0.12);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

button:hover {
  transform: translateY(-4px) scale(1.035);
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  box-shadow: 0 18px 30px rgba(15, 40, 58, 0.2);
}

button:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 14px rgba(15, 40, 58, 0.16);
}

button.secondary,
.formatToolbar button,
.formatToolbar select {
  border-color: var(--light-control-border);
  background: var(--light-control-bg);
  color: var(--text);
  box-shadow: none;
}

button.secondary:hover,
.formatToolbar button:hover,
.formatToolbar select:hover {
  background: var(--light-control-bg-hover);
  border-color: var(--light-control-border-strong);
  box-shadow: 0 14px 24px rgba(15, 40, 58, 0.1);
}

:is(body[data-page="step2"], body[data-combined-workflow="true"]) #usePostForImageBtn {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 40, 58, 0.12);
}

:is(body[data-page="step2"], body[data-combined-workflow="true"]) #usePostForImageBtn:hover {
  border-color: var(--primary-strong);
  background: var(--primary-strong);
  color: #fff;
  box-shadow: 0 18px 30px rgba(15, 40, 58, 0.2);
}

#signInBtn.authButton {
  border-color: var(--primary);
  background: var(--primary);
  color: #f8f8f5;
  box-shadow: 0 10px 20px rgba(15, 40, 58, 0.12);
}

#signInBtn.authButton:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  box-shadow: 0 18px 30px rgba(15, 40, 58, 0.2);
}

#registerBtn.authButton {
  border-color: var(--light-control-border);
  background: var(--light-control-bg);
  color: var(--text);
  box-shadow: none;
}

#registerBtn.authButton:hover {
  background: var(--light-control-bg-hover);
  border-color: var(--light-control-border-strong);
  box-shadow: 0 14px 24px rgba(15, 40, 58, 0.1);
}

button:disabled,
button:disabled:hover {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
  box-shadow: none;
}

button.is-saving-draft::after {
  content: "...";
  display: inline-block;
  width: 1.4em;
  overflow: hidden;
  vertical-align: bottom;
  animation: savingDraftDots 1s steps(4, end) infinite;
}

@keyframes savingDraftDots {
  0% {
    width: 0;
  }

  100% {
    width: 1.4em;
  }
}

.buttonLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #f8f8f5;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 20px rgba(15, 40, 58, 0.12);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.buttonLink:hover {
  transform: translateY(-4px) scale(1.035);
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  box-shadow: 0 18px 30px rgba(15, 40, 58, 0.2);
}

.buttonLink.secondary {
  border-color: var(--light-control-border);
  background: var(--light-control-bg);
  color: var(--text);
  box-shadow: none;
}

.buttonLink.secondary:hover {
  background: var(--light-control-bg-hover);
  border-color: var(--light-control-border-strong);
  box-shadow: 0 14px 24px rgba(15, 40, 58, 0.1);
}

.cookieConsent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: auto;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(15, 40, 58, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.cookieConsentText {
  display: grid;
  gap: 4px;
}

.cookieConsentText strong,
.cookieConsentText p {
  margin: 0;
}

.cookieConsentText p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookieConsentActions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookieConsentActions button {
  min-width: 112px;
}

.authDialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.authDialog[hidden] {
  display: none;
}

.messageDialog {
  z-index: 1300;
}

.scheduleConfirmDialog {
  z-index: 1600;
}

.messageDialog .authDialogBackdrop {
  background: rgba(7, 14, 20, 0.5);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.messageDialog .messageDialogPanel {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.authDialogBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 24, 29, 0.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.authDialogPanel {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: var(--surface-strong);
  box-shadow: 0 24px 70px rgba(15, 40, 58, 0.22);
}

.createScheduleDialog {
  z-index: 1200;
}

body.createScheduleDialogOpen {
  overflow: hidden;
}

.createScheduleDialogPanel {
  display: grid;
  gap: 20px;
  width: min(820px, 100%);
}

.createScheduleDialogPanel > .card {
  width: 100%;
  margin: 0;
}

.createScheduleDialog .publishNowCard,
.createScheduleDialog .schedulePostCard {
  background: #fffdfa;
}

.createScheduleDialog #postLinkedInNowBtn,
.createScheduleDialog #scheduleLinkedInPostBtn {
  min-height: 44px;
  white-space: nowrap;
}

@media (min-width: 620px) {
  .createScheduleDialog .scheduleTimeControls {
    grid-template-columns: minmax(220px, 1fr) auto;
  }
}

.authDialogHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.messageDialogPanel {
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
}

.messageDialogBody {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-line;
}

.messageDialogActions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.scheduleConfirmPanel {
  width: min(calc(var(--linkedin-feed-width) + 40px), 100%);
}

.scheduleConfirmReview {
  display: grid;
  gap: 16px;
}

.scheduleConfirmMeta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.scheduleConfirmMeta div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.scheduleConfirmMeta dt {
  font-weight: 900;
  color: var(--ink);
}

.scheduleConfirmMeta dd {
  margin: 0;
  color: var(--muted);
}

.scheduleConfirmPostPreview {
  width: 100%;
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
  background: #fff;
  color: var(--ink);
  line-height: 1.55;
}

.scheduleConfirmImagePreviewWrap {
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
}

.scheduleConfirmImagePreviewWrap[hidden] {
  display: none;
}

.scheduleConfirmImagePreview {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #fff;
}

.scheduleConfirmActions {
  gap: 10px;
}

.linkButton {
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary-strong);
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.linkButton:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
  text-decoration: underline;
}

.authForgotPasswordBtn {
  margin-top: 8px;
}

.authResumeStatus:empty {
  display: none;
}

.authForm {
  display: grid;
  gap: 14px;
}

.authForm > div:has(> input:required) > label::after {
  content: " *";
  color: var(--danger);
  font-weight: 900;
}

.authForm input[readonly] {
  background: var(--surface);
  color: var(--muted);
  cursor: default;
}

.authTrialNotice {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(23, 53, 75, 0.14);
  border-radius: 12px;
  background: rgba(219, 232, 241, 0.45);
  color: var(--text);
  line-height: 1.45;
}

.authForm .profileFieldMissing {
  padding: 10px;
  border: 1px solid rgba(34, 116, 82, 0.32);
  border-radius: 10px;
  background: #e7f6ed;
}

.authForm .profileFieldMissing > input {
  border-color: var(--success);
  background: #f7fcf9;
}

.authForm[data-mode="profile"] #authGoogleField {
  display: none !important;
}

.googleSignInButton {
  display: inline-grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #1a73e8;
  border-radius: 4px;
  background: #1a73e8;
  color: #fff;
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 2px 5px rgba(60, 64, 67, 0.24);
}

.googleSignInButton:hover {
  border-color: #1765cc;
  background: #1765cc;
  box-shadow: 0 3px 8px rgba(60, 64, 67, 0.28);
}

.googleSignInIconBox {
  display: grid;
  width: 42px;
  height: 32px;
  place-items: center;
  background: #fff;
}

.googleSignInIcon {
  width: 20px;
  height: 20px;
  display: block;
}

.googleSignInText {
  display: block;
  padding: 0 14px 0 12px;
  text-align: left;
  white-space: nowrap;
}

.formatToolbar {
  position: relative;
  align-items: center;
  margin: 0 0 10px;
}

.formatToolbar .toolButton {
  position: relative;
  min-width: 46px;
  min-height: 42px;
  padding: 0 12px;
  border-color: var(--light-control-border);
  border-radius: 8px;
  background: var(--light-control-bg);
  color: var(--text);
  font-size: inherit;
  font-weight: 800;
  box-shadow: none;
}

.formatToolbar .toolbarSelectLabel {
  margin: 0;
}

.formatToolbar .fontSelect {
  width: auto;
  min-width: 166px;
  min-height: 42px;
  padding: 0 36px 0 12px;
  border-radius: 8px;
  font-size: 1.058rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.formatToolbar .fontSelect option:not(.fontOptionDefault) {
  font-weight: 750;
}

.formatToolbar .toolButton.wide {
  font-weight: 400;
}

.formatToolbar .toolButton:hover {
  border-color: var(--light-control-border-strong);
  background: var(--light-control-bg-hover);
  box-shadow: 0 14px 24px rgba(15, 40, 58, 0.1);
}

.formatToolbar .toolButton:disabled,
.formatToolbar .toolButton:disabled:hover {
  cursor: not-allowed;
  opacity: 0.42;
  border-color: var(--light-control-border);
  background: var(--light-control-bg);
  color: var(--muted);
  box-shadow: none;
}

.formatToolbar .toolButton.is-active,
.formatToolbar .toolButton[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: #f8f8f5;
  box-shadow: 0 10px 20px rgba(15, 40, 58, 0.12);
}

.formatToolbar .toolButton.is-active:hover,
.formatToolbar .toolButton[aria-pressed="true"]:hover {
  border-color: var(--primary-strong);
  background: var(--primary-strong);
  color: #f8f8f5;
}

.formatToolbar .toolButton.wide {
  min-width: 74px;
}

.formatToolbar .toolButton[data-style="bold"] {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
}

.formatToolbar .toolButton[data-style="italic"] {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.formatToolbar .toolButton[data-style="doubleUnderline"] {
  text-decoration-line: underline;
  text-decoration-style: double;
  text-underline-offset: 3px;
}

.formatToolbar .toolButton[data-style="strikethrough"] {
  text-decoration-line: line-through;
}

.formatToolbar .toolButton[data-style="monospace"] {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.toolbarDivider {
  width: 1px;
  height: 28px;
  margin: 0 2px;
  background: var(--border-strong);
}

.postIdeaActions {
  margin-top: 12px;
  justify-content: flex-start;
  align-items: center;
}

:is(body[data-page="step2"], body[data-combined-workflow="true"]) .postOutputPanel .postIdeaActions {
  width: 100%;
  justify-content: flex-start;
  margin: 0 0 2px;
}

.postAdjustmentOptions {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding: 0 14px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.postCustomizationOptions {
  margin-top: 10px;
}

.postCustomizationOptions > summary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 40, 58, 0.18);
}

.postCustomizationOptions > summary:hover {
  border-color: var(--primary-strong);
  background: var(--primary-strong);
}

.postCustomizationOptionsBody {
  gap: 16px;
}

.postIdeaOptions {
  margin-top: 0;
}

.postIdeaOptionsBody {
  gap: 8px;
}

.postIdeaOptionsBody #postIdeaLabel {
  margin: 0;
}

.postSourceControls:has(> .postIdeaOptions:not([open])):has(> .postCustomizationOptions:not([open])) {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.postSourceControls:has(> .postIdeaOptions:not([open])):has(> .postCustomizationOptions:not([open])) .postCustomizationOptions {
  margin-top: 0;
}

.postAdditionalInstructionsWrap {
  display: grid;
  grid-column: 1 / -1;
}

.postAdjustmentOptions h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
}

.postAdjustmentGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.postAdjustmentGrid label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 625;
}

.postAdjustmentGrid select {
  margin-top: 8px;
  font-weight: 400;
}

.postOutputPanel {
  display: grid;
  gap: 10px;
  width: 100%;
}

:is(body[data-page="step2"], body[data-combined-workflow="true"]) .postOutputPanel {
  width: min(100%, var(--linkedin-feed-width));
  max-width: var(--linkedin-feed-width);
  margin-right: auto;
  margin-left: auto;
}

:is(body[data-page="step2"], body[data-combined-workflow="true"]) #postOutput,
:is(body[data-page="step2"], body[data-combined-workflow="true"]) .postFormatterSection,
:is(body[data-page="step2"], body[data-combined-workflow="true"]) .postTextEditorSection,
:is(body[data-page="step2"], body[data-combined-workflow="true"]) .postOutputPanel .formatToolbar,
:is(body[data-page="step2"], body[data-combined-workflow="true"]) .postOutputPanel .emojiPanel,
:is(body[data-page="step2"], body[data-combined-workflow="true"]) .postOutputPanel .row {
  width: 100%;
}

.postFormatterSection {
  padding: 16px 0 0;
  border-top: 1px solid rgba(23, 53, 75, 0.18);
  background: transparent;
  box-shadow: none;
}

.postFormatterSection .formatToolbar {
  margin: 0;
}

.postFormatterSection .emojiPanel {
  margin-top: 10px;
}

.postTextEditorSection {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}

.postTextEditorSection #postOutput {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(15, 40, 58, 0.06);
}

.postStatistics {
  display: grid;
  gap: 5px;
  width: fit-content;
  margin-top: 4px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
}

.postStatistics dl {
  display: grid;
  gap: 2px;
  margin: 0;
}

.postStatistics dl > div {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 5px;
}

.postStatistics dt,
.postStatistics dd {
  margin: 0;
}

.postStatistics dd {
  color: var(--muted);
}

:is(body[data-page="step2"], body[data-combined-workflow="true"]) #postOutput {
  min-height: 640px;
  line-height: 1.55;
}

:is(body[data-page="step2"], body[data-combined-workflow="true"]) #postStrikethroughBtn + .toolbarDivider {
  flex: 0 0 100%;
  width: 100%;
  height: 0;
  margin: 0;
  background: transparent;
}

:is(body[data-page="step2"], body[data-combined-workflow="true"]) #postBulletListBtn,
:is(body[data-page="step2"], body[data-combined-workflow="true"]) #postDividerBtn {
  min-width: 96px;
}

@media (min-width: 1280px) {
  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px 30px;
    align-items: start;
    width: fit-content;
    min-width: min(100%, calc(var(--linkedin-feed-width) + 52px));
    max-width: 100%;
    justify-self: center;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"] > .cardHeader {
    grid-column: 1 / -1;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postSourceControls {
    grid-column: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 62px;
    width: min(100%, var(--linkedin-feed-width));
    margin-right: auto;
    margin-left: auto;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postSourceControls:has(> .postIdeaOptions:not([open])):has(> .postCustomizationOptions:not([open])) {
    padding-top: 44px;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postSourceControls > .ideaCustomizationOptions {
    display: block;
    width: 100%;
    order: 1;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postSourceControls > .ideaCustomizationOptions[open] {
    padding: 0;
    border-color: transparent;
    background: transparent;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postSourceControls > .ideaCustomizationOptions.is-post-panel-top {
    order: 0;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postSourceControls > .postIdeaOptions > summary {
    position: absolute;
    top: 0;
    left: calc(50% - 89px);
    z-index: 2;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postSourceControls > .postCustomizationOptions > summary {
    position: absolute;
    top: 0;
    left: calc(50% - 10px);
    z-index: 2;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postSourceControls > .ideaCustomizationOptions[open] > .ideaCustomizationOptionsBody {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid rgba(22, 24, 29, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postSourceControls > .postIdeaOptions[open] > .postIdeaOptionsBody {
    border-color: rgba(104, 142, 99, 0.24);
    background: var(--idea-frame-green);
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postOutputPanel {
    grid-column: 1;
    width: min(100%, var(--linkedin-feed-width));
    max-width: var(--linkedin-feed-width);
    margin-right: auto;
    margin-left: auto;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions[open]
  ),
  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postCustomizationOptions[open]
  ) {
    grid-template-columns: minmax(420px, 560px) minmax(520px, var(--linkedin-feed-width));
    width: min(100%, calc(560px + 30px + var(--linkedin-feed-width) + 54px));
    min-width: 0;
    justify-self: center;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions[open]
  ) > .postSourceControls,
  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postCustomizationOptions[open]
  ) > .postSourceControls {
    grid-column: 1;
    width: 100%;
    padding-top: 0;
    margin-right: 0;
    margin-left: 0;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions[open]
  ) > .postSourceControls > .postCustomizationOptions,
  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postCustomizationOptions[open]
  ) > .postSourceControls > .postCustomizationOptions {
    margin-top: 0;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions[open]
  ) > .postSourceControls > .postIdeaOptions > summary,
  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postCustomizationOptions[open]
  ) > .postSourceControls > .postIdeaOptions > summary {
    left: calc(100% + 30px);
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions[open]
  ) > .postSourceControls > .postCustomizationOptions > summary,
  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postCustomizationOptions[open]
  ) > .postSourceControls > .postCustomizationOptions > summary {
    left: calc(100% + 109px);
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions[open]
  ) > .postOutputPanel,
  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postCustomizationOptions[open]
  ) > .postOutputPanel {
    grid-column: 2;
    width: min(100%, var(--linkedin-feed-width));
    margin-top: 62px;
    margin-right: 0;
    margin-left: 0;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions:not([open])
  ):has(
    > .postSourceControls > .postCustomizationOptions:not([open])
  ) {
    grid-template-columns: minmax(0, 1fr);
    width: fit-content;
    min-width: min(100%, calc(var(--linkedin-feed-width) + 52px));
    max-width: 100%;
    justify-self: center;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions:not([open])
  ):has(
    > .postSourceControls > .postCustomizationOptions:not([open])
  ) > .postSourceControls,
  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions:not([open])
  ):has(
    > .postSourceControls > .postCustomizationOptions:not([open])
  ) > .postOutputPanel {
    grid-column: 1;
    width: min(100%, var(--linkedin-feed-width));
    margin-right: auto;
    margin-left: auto;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions:not([open])
  ):has(
    > .postSourceControls > .postCustomizationOptions:not([open])
  ) > .postOutputPanel {
    max-width: var(--linkedin-feed-width);
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions:not([open])
  ):has(
    > .postSourceControls > .postCustomizationOptions:not([open])
  ) > .postSourceControls > .postIdeaOptions > summary {
    left: 0;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) section[aria-labelledby="post-title"]:has(
    > .postSourceControls > .postIdeaOptions:not([open])
  ):has(
    > .postSourceControls > .postCustomizationOptions:not([open])
  ) > .postSourceControls > .postCustomizationOptions > summary {
    left: 79px;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postOutputPanel .outputLabel {
    margin-top: 0;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) #postOutput {
    min-height: 780px;
  }

  :is(body[data-page="step2"], body[data-combined-workflow="true"]) .postAdjustmentGrid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
}

.ideaConfigurationLayout {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.ideaCustomizationOptions {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(22, 24, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.ideaCustomizationOptions summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--light-control-border);
  border-radius: 999px;
  background: var(--light-control-bg);
  color: var(--text);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 650;
  list-style: none;
  box-shadow: none;
}

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

.ideaCustomizationOptions summary:hover {
  border-color: var(--light-control-border-strong);
  background: var(--light-control-bg-hover);
}

.ideaCustomizationOptionsBody {
  display: grid;
  gap: 12px;
}

.ideaCustomizationOptions:not([open]) {
  align-content: start;
  padding: 0;
  border-color: transparent;
  background: transparent;
}

.ideaCustomizationOptions:not([open]) .ideaCustomizationOptionsBody {
  display: none;
}

.ideaCustomizationGrid {
  display: grid;
  gap: 12px;
}

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

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

.ideaCustomizationGrid label {
  min-width: 0;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 625;
}

.ideaCustomizationGrid select {
  min-width: 0;
  width: 100%;
  margin-top: 8px;
  font-weight: 400;
}

.ideaInstructionsHeading {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
}

.ideaAdditionalInstructions {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 14px;
  border: 1px solid rgba(22, 24, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.ideaAdditionalInstructions #ideaInput {
  min-height: 0;
  flex: 1;
  font-size: 0.85rem;
  resize: vertical;
}

@media (min-width: 1180px) {
  body[data-page="step1"] .ideaConfigurationLayout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .ideaCustomizationPrimaryRow,
  .ideaCustomizationSecondaryRow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ideaCustomizationPrimaryRow,
  .ideaCustomizationSecondaryRow {
    grid-template-columns: 1fr;
  }
}

.postAdditionalInstructionsLabel {
  display: block;
  margin-top: 2px;
  font-size: 0.9rem;
  font-weight: 625;
}

.postAdditionalInstructions {
  width: 100%;
  min-height: 66px;
  margin-top: 8px;
  resize: vertical;
}

.formatToolbar [data-tooltip]::before,
.formatToolbar [data-tooltip]::after,
.emojiPanel [data-tooltip]::before,
.emojiPanel [data-tooltip]::after {
  position: absolute;
  left: 0;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.formatToolbar [data-tooltip]::before,
.emojiPanel [data-tooltip]::before {
  content: attr(data-tooltip);
  top: calc(100% + 8px);
  width: max-content;
  max-width: 220px;
  padding: 7px 9px;
  border-radius: 7px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(22, 33, 47, 0.18);
}

.formatToolbar [data-tooltip]::after,
.emojiPanel [data-tooltip]::after {
  content: "";
  top: calc(100% + 2px);
  left: 18px;
  border: 6px solid transparent;
  border-bottom-color: var(--text);
}

.formatToolbar [data-tooltip]:hover::before,
.formatToolbar [data-tooltip]:hover::after,
.formatToolbar [data-tooltip]:focus-visible::before,
.formatToolbar [data-tooltip]:focus-visible::after,
.emojiPanel [data-tooltip]:hover::before,
.emojiPanel [data-tooltip]:hover::after,
.emojiPanel [data-tooltip]:focus-visible::before,
.emojiPanel [data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.emojiPanel {
  display: grid;
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 99;
  width: min(920px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  overflow: auto;
  transform: translate(-50%, -50%);
  gap: 14px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 0 0 9999px rgba(22, 24, 29, 0.26),
    var(--menu-shadow);
}

.emojiPanel[hidden] {
  display: none;
}

.emojiPanelTitle {
  margin: 0;
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 850;
  line-height: 1.2;
}

.emojiButton {
  position: relative;
  width: 55px;
  min-height: 52px;
  padding: 0;
  border: 1px solid var(--light-control-border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 29px;
  box-shadow: none;
}

.emojiButton:hover {
  border-color: var(--light-control-border-strong);
  background: var(--primary-soft);
  box-shadow: none;
}

.emojiSearch {
  min-height: 42px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  outline: none;
}

.emojiSearch:focus {
  border-color: rgba(23, 53, 75, 0.34);
  box-shadow: 0 0 0 4px rgba(23, 53, 75, 0.08);
}

.emojiCategoryChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.emojiCategoryChip {
  min-height: 38px;
  border: 1px solid var(--light-control-border);
  border-radius: 999px;
  background: var(--light-control-bg);
  color: var(--text);
  cursor: pointer;
  font-size: 19px;
  font-weight: 400;
  box-shadow: none;
}

.emojiCategoryChip {
  padding: 0 14px;
}

.emojiCategoryChip:hover {
  border-color: var(--light-control-border-strong);
  background: var(--primary-soft);
  box-shadow: none;
}

.emojiCategoryChip.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.emojiResults {
  display: grid;
  gap: 12px;
  max-height: min(480px, calc(100vh - 260px));
  overflow: auto;
  padding-right: 2px;
}

.emojiGroupSection {
  display: grid;
  gap: 8px;
}

.emojiGroupHeader {
  justify-self: start;
  min-height: 36px;
  padding: 0 0 0 10px;
  border: 0;
  border-left: 4px solid var(--light-control-border-strong);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: none;
}

.emojiGroupHeader:hover {
  border-left-color: var(--primary);
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.emojiGroupHeader.active {
  border-left-color: var(--primary);
  background: transparent;
  color: var(--primary);
}

.emojiGroupGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.emojiEmpty {
  padding: 10px 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .emojiPanel {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    padding: 16px;
    border-radius: 20px;
  }
}

#postPlainBtn {
  font-weight: 400;
}

.hint,
.status,
.monitorSubtitle,
.metricLabel,
.monitorEntryBody,
.imageEmptyState {
  color: var(--muted);
}

.monitorSubtitle {
  margin-top: 4px;
  font-size: 0.84rem;
}

.metricLabel {
  display: block;
  font-size: 0.82rem;
}

.hint {
  margin: 8px 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.status {
  min-height: 18px;
  margin-top: 12px;
  font-size: 0.92rem;
}

.statusError {
  color: var(--danger);
}

.monitorCard {
  overflow: hidden;
}

@media (min-width: 1120px) {
  .monitorCard {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
  }
}

.monitorSummary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.metric {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.66);
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.monitorLog {
  display: grid;
  gap: 10px;
  max-height: 58vh;
  overflow: auto;
  padding-right: 4px;
}

.monitorEntry {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
}

.monitorEntryHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.monitorEntryTitle {
  font-size: 0.92rem;
  font-weight: 650;
}

.monitorEntryTime {
  font-size: 0.8rem;
  color: #8b9098;
}

.monitorEntryBody {
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.monitorEntry.ok {
  border-color: rgba(34, 116, 82, 0.22);
}

.monitorEntry.error {
  border-color: rgba(181, 78, 78, 0.24);
}

.monitorEntry.pending {
  border-color: rgba(23, 53, 75, 0.22);
}

.imageOutput {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(22, 24, 29, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.imageOutput.is-generating {
  border-style: solid;
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.78);
}

.combinedCreatePage .imageOutput:not(.is-generating):has(.imagePreview[hidden]) {
  display: none;
}

.imageGenerationWait {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(360px, 100%);
  color: var(--primary-strong);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

.imageGenerationWait[hidden] {
  display: none;
}

.textGenerationWait {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(460px, 100%);
  margin: 18px auto 8px;
  padding: 18px 22px;
  border: 1px solid rgba(23, 53, 75, 0.38);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #08283d;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

.textGenerationWait[hidden] {
  display: none;
}

.aiCancelButton {
  width: auto;
  min-width: 96px;
  min-height: 38px;
  padding: 8px 18px;
  border-color: rgba(139, 35, 35, 0.32);
  color: #8b2323;
  cursor: pointer;
}

.aiCancelButton:hover,
.aiCancelButton:focus-visible {
  border-color: #8b2323;
  background: #fff4f2;
  color: #6f1717;
}

.imageGenerationWaitText::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: imageWaitDots 1.2s steps(4, end) infinite;
}

.aiWaitProgressPercent {
  --ai-wait-progress-fill: rgba(73, 221, 210, 0.62);
  --ai-wait-progress-track: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 8em;
  min-height: 26px;
  box-sizing: border-box;
  padding: 3px 10px;
  border: 1px solid rgba(23, 53, 75, 0.2);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--ai-wait-progress-fill) 0,
    var(--ai-wait-progress-fill) var(--ai-wait-progress, 0%),
    var(--ai-wait-progress-track) var(--ai-wait-progress, 0%),
    var(--ai-wait-progress-track) 100%
  );
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1.15;
  box-shadow: 0 6px 16px rgba(23, 53, 75, 0.12);
}

@keyframes imageWaitDots {
  0% {
    content: "";
  }

  25% {
    content: ".";
  }

  50% {
    content: "..";
  }

  75%,
  100% {
    content: "...";
  }
}

@media (prefers-reduced-motion: reduce) {
  .imageGenerationWaitText::after,
  .signalFlow i {
    animation: none;
  }
}

/* Final Create-page column layout: controls left, generated content right. */
.combinedCreatePage .createStage-idea .stepOneCard,
.combinedCreatePage .createStage-post > .card,
.combinedCreatePage .createStage-image > .card {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
}

.combinedCreatePage .createIdeaWorkspaceGrid {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.combinedCreatePage :is(
  .createIdeaSettingsColumn,
  .createIdeaOutputColumn,
  .createPostSettingsColumn,
  .postOutputPanel,
  .imageControlPanel,
  .imagePreviewPanel
) {
  min-width: 0;
}

.combinedCreatePage .createIdeaOutputColumn {
  align-content: start;
}

.combinedCreatePage .createIdeaQuickControls {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.combinedCreatePage .createIdeaQuickControls > .ideaCustomizationOptions {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
}

.combinedCreatePage .createIdeaQuickControls > .ideaCustomizationOptions[open] {
  flex: 1 0 100%;
  width: 100%;
}

.combinedCreatePage .createIdeaQuickControls > .ideaCustomizationOptions > summary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--executive-navy);
  border-radius: 10px;
  background: var(--executive-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(17, 37, 56, 0.1);
  font-weight: 700;
  white-space: nowrap;
}

.combinedCreatePage .createIdeaQuickControls > .ideaCustomizationOptions > summary:hover,
.combinedCreatePage .createIdeaQuickControls > .ideaCustomizationOptions > summary:focus-visible,
.combinedCreatePage .createIdeaQuickControls > .ideaCustomizationOptions[open] > summary {
  border-color: #17384f;
  background: #17384f;
  color: #fff;
}

.combinedCreatePage .createIdeaQuickControls .ideaCustomizationSecondaryRow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.combinedCreatePage .createIdeaQuickControls .ideaCustomizationGrid select {
  box-sizing: border-box;
  min-height: 34px;
  height: 34px;
  margin-top: 4px;
  padding: 2px 30px 2px 10px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.86);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23112238'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m6%209%206%206%206-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px 14px;
  font-size: 0.86rem;
  appearance: none;
}

.combinedCreatePage .createIdeaOutputColumn:has(#generatedIdeaCards[hidden]):has(#ideaGenerationWait[hidden]) {
  display: none;
}

.combinedCreatePage .createIdeaWorkspaceGrid:has(
  > .createIdeaOutputColumn #generatedIdeaCards[hidden]
):has(
  > .createIdeaOutputColumn #ideaGenerationWait[hidden]
) {
  grid-template-columns: minmax(0, 1fr);
}

.combinedCreatePage .createPostSettingsColumn {
  display: grid;
  align-content: start;
  gap: 14px;
}

.combinedCreatePage .createStage-post .postSourceControls {
  position: static;
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.combinedCreatePage .createStage-post .postAdjustmentGrid select {
  box-sizing: border-box;
  min-height: 34px;
  height: 34px;
  margin-top: 4px;
  padding: 2px 28px 2px 10px;
  font-size: 0.86rem;
  line-height: 1;
}

.combinedCreatePage .createStage-post .postSourceControls > .ideaCustomizationOptions {
  width: 100%;
  margin: 0;
}

.combinedCreatePage .createStage-post .postCustomizationOptions[open] {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.combinedCreatePage .createStage-post .postCustomizationOptions[open] > .postCustomizationOptionsBody {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.combinedCreatePage .createStage-post .createPostSettingsColumn .postSourceControls > details.postCustomizationOptions[open],
body.combinedCreatePage .createStage-post .createPostSettingsColumn .postCustomizationOptionsBody,
body.combinedCreatePage .createStage-post .createPostSettingsColumn .postAdjustmentOptions,
body.combinedCreatePage .createStage-post .createPostSettingsColumn .postAdjustmentGrid {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.combinedCreatePage .createStage-post .postSourceControls > .ideaCustomizationOptions > summary {
  position: static;
  inset: auto;
}

.combinedCreatePage .createStage-post .createPostSettingsColumn > .postIdeaActions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}

.combinedCreatePage .createStage-post .postOutputPanel {
  width: 100%;
  max-width: none;
  margin: 0;
}

.combinedCreatePage .createStage-post .createFormattingOptions {
  margin-top: 0;
}

.combinedCreatePage .createStage-post #postOutput {
  box-sizing: border-box;
  width: 100%;
  min-height: 620px;
}

@media (min-width: 980px) {
  .combinedCreatePage .createIdeaWorkspaceGrid {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .combinedCreatePage .createStage-post > .card {
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(0, var(--linkedin-feed-width));
    gap: 26px;
    align-items: start;
  }

  .combinedCreatePage .createStage-post .createPostSettingsColumn {
    grid-column: 1;
  }

  .combinedCreatePage .createStage-post .postOutputPanel {
    grid-column: 2;
    width: min(100%, var(--linkedin-feed-width));
    justify-self: end;
  }

  .combinedCreatePage .createStage-image > .card {
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(0, var(--linkedin-feed-width));
    gap: 26px;
    align-items: start;
  }

  .combinedCreatePage .createStage-image .imageControlPanel {
    grid-column: 1;
  }

  .combinedCreatePage .createStage-image .imagePreviewPanel {
    grid-column: 2;
    width: min(100%, var(--linkedin-feed-width));
    justify-self: end;
  }
}

@media (max-width: 979px) {
  .combinedCreatePage .createIdeaWorkspaceGrid,
  .combinedCreatePage .createStage-post > .card,
  .combinedCreatePage .createStage-image > .card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .combinedCreatePage .createStage-post #postOutput {
    min-height: 440px;
  }
}

/* Unified Idea, Post, and Image creation flow */
.combinedCreatePage .combinedCreateLayout {
  display: block;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.combinedCreatePage:has(.createPersistentOutput:not([hidden])) .combinedCreateLayout {
  padding-bottom: 0;
}

.combinedCreateWorkspace {
  display: grid;
  gap: 22px;
}

.combinedCreateIntro {
  max-width: 760px;
  padding: 14px 8px 0;
}

.combinedCreateEyebrow {
  margin: 0 0 8px;
  color: #315a76;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.combinedCreateIntro h1 {
  max-width: 680px;
  margin: 0;
  color: var(--executive-ink);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.combinedCreateIntro > p:last-child {
  max-width: 660px;
  margin: 18px 0 0;
  color: #627180;
  font-size: 1.05rem;
  line-height: 1.55;
}

.createStageNav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(17, 37, 56, 0.15);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 14px 34px rgba(17, 37, 56, 0.08);
}

.createStageItem {
  min-width: 0;
}

.combinedCreatePage .createStageItem,
.combinedCreatePage .createStageItem > .createStage,
.combinedCreatePage .createStageItem > .createStage > .card {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  justify-self: stretch;
}

.createStageButton,
.createStageButton:hover,
.createStageButton:focus-visible {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 10px 18px;
  border: 1px solid rgba(17, 37, 56, 0.22);
  border-radius: 12px;
  background: #fffdfa;
  color: var(--executive-ink);
  box-shadow: none;
  font-size: 1rem;
  font-weight: 850;
  text-align: left;
  transform: none;
}

.createStageButton::after {
  content: "+";
  color: #315a76;
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
}

.createStageButton:hover,
.createStageButton:focus-visible {
  background: #c6d3da;
}

.createStageButton.active,
.createStageButton.active:hover,
.createStageButton.active:focus-visible {
  border-color: #315a76;
  background: #e7eef1;
  color: var(--executive-ink);
}

.createStageButton.active::after {
  content: "−";
}

.combinedWorkflowMount {
  min-width: 0;
}

.combinedWorkflowLoading,
.combinedWorkflowError {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 37, 56, 0.14);
  border-radius: 22px;
  background: #fffdfa;
  color: #627180;
  font-weight: 700;
}

.createStage[hidden] {
  display: none !important;
}

.createStage {
  display: grid;
  gap: 12px;
  margin: 8px 0 18px;
  scroll-margin-top: 24px;
}

.createStage > .card,
.createStage-idea > .card,
.createAdvancedPanel {
  border-color: rgba(17, 37, 56, 0.14);
  border-radius: 22px;
  background: #fffdfa;
  box-shadow: 0 16px 40px rgba(17, 37, 56, 0.08);
}

.createStage > .card {
  margin: 0;
}

.createStage-idea .stepOneCard {
  padding-top: 26px;
}

.createAdvancedPanel {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 37, 56, 0.14);
  box-shadow: none;
}

.createAdvancedPanel > summary {
  padding: 15px 18px;
  color: var(--executive-ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.createAdvancedPanel > summary::-webkit-details-marker {
  display: none;
}

.createAdvancedPanel > summary::after {
  content: "+";
  float: right;
  color: #315a76;
  font-size: 1.25rem;
}

.createAdvancedPanel[open] > summary::after {
  content: "−";
}

.createInlineOptions {
  position: relative;
}

.createInlineOptions > summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(17, 37, 56, 0.2);
  border-radius: 9px;
  background: transparent;
  color: var(--executive-ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  list-style: none;
}

.createInlineOptions > summary::-webkit-details-marker {
  display: none;
}

.createFormattingOptions {
  margin: 10px 0;
}

.createFormattingOptions .postFormatterSection {
  margin-top: 8px;
}

.createImageProviderOptions[open] {
  display: flex;
  align-items: center;
  gap: 8px;
}

.createAdvancedPanel .ideaTopicCard,
.createAdvancedPanel .savedIdeasCard {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(17, 37, 56, 0.12);
  border-radius: 0;
  box-shadow: none;
}

.createStage-idea .ideaGenerationActions,
.createStage-post .postIdeaActions,
.createStage-image .imageGenerateAction {
  justify-content: flex-start;
}

.createStage-idea #ideaRunBtn,
.createStage-post #postRunBtn,
.createStage-image #imageRunBtn,
.createStage-image #imageRunGeminiBtn,
.createStage-image #reviewScheduleBtn {
  min-height: 46px;
}

.createStage-post .postSourceControls,
.createStage-image .imageCreationGrid {
  margin-top: 0;
}

.combinedCreatePage #status:empty {
  display: none;
}

.combinedCreatePage:not(.createStageOpen) #combinedWorkflowMount > #status {
  display: none;
}

@media (max-width: 760px) {
  .combinedCreatePage .combinedCreateLayout {
    width: min(100% - 20px, 1440px);
    padding-top: 20px;
  }

  .combinedCreateIntro {
    padding-inline: 4px;
  }

  .combinedCreateIntro h1 {
    font-size: clamp(2.5rem, 14vw, 4.3rem);
  }

  .createStageNav {
    grid-template-columns: 1fr;
  }

  .createStageButton,
  .createStageButton:hover,
  .createStageButton:focus-visible {
    display: flex;
    justify-content: space-between;
    min-width: 0;
    padding: 10px 15px;
    text-align: left;
  }

  .createStage > .card,
  .createStage-idea > .card {
    border-radius: 16px;
  }
}

/* Keep the combined Image accordion within its columns. */
.combinedCreatePage .createStage-image .imageCustomizationOptions {
  min-width: 0;
  overflow: hidden;
}

.combinedCreatePage .imageAiProviderControl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  line-height: 1;
}

.combinedCreatePage .imageAiProviderControl select {
  box-sizing: border-box;
  width: 92px;
  min-height: 30px;
  height: 30px;
  margin: 0;
  padding: 0 26px 0 9px;
  font-size: 0.84rem;
  line-height: 1;
}

.combinedCreatePage .createStage-image .imageCustomizationOptions .grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.combinedCreatePage .createStage-image .imageCustomizationOptions :is(
  button.colorThemeSelected,
  button.stylePickerSelected,
  button.tonePickerSelected,
  button.compositionPickerSelected,
  button.textTreatmentPickerSelected,
  button.visualDensityPickerSelected
) {
  box-sizing: border-box;
  grid-template-columns: minmax(72px, 82px) minmax(0, 1fr) 14px;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 96px;
  padding: 9px 10px;
  overflow: hidden;
}

.combinedCreatePage .createStage-image .imageCustomizationOptions :is(
  .colorThemeSelectedLabel,
  .styleSelectedLabel,
  .toneSelectedLabel,
  .compositionSelectedLabel,
  .textTreatmentSelectedLabel,
  .visualDensitySelectedLabel
) {
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.combinedCreatePage .createStage-image .imageCustomizationOptions :is(
  .colorThemeSelected .colorThemeSwatchColors,
  .stylePickerSelected .stylePreview,
  .tonePickerSelected .tonePreview,
  .compositionPickerSelected .compositionPreview,
  .textTreatmentPickerSelected .textTreatmentPreview,
  .visualDensityPickerSelected .visualDensityPreview
) {
  width: 100%;
  min-width: 0;
  height: 72px;
  border-radius: 12px;
}

.combinedCreatePage .createStage-image .imagePreviewPanel,
.combinedCreatePage .createStage-image .imageOutput,
.combinedCreatePage .createStage-image .imagePreview {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1280px) {
  .combinedCreatePage .createStage-image section[aria-labelledby="image-title"] {
    grid-template-columns: minmax(340px, 1fr) minmax(0, var(--linkedin-feed-width));
  }
}

@media (max-width: 900px) {
  .combinedCreatePage .createStage-image .imageCustomizationOptions .grid2 {
    grid-template-columns: 1fr;
  }
}

/* Collapsible vertical workflow navigation */
.executiveAppPage.workflowSideNavReady .siteHeader {
  position: relative;
  top: auto;
}

.executiveAppPage.workflowSideNavReady .workflowNav {
  --workflow-menu-active: var(--executive-navy);
  --workflow-menu-header: #315a76;
  --workflow-menu-hover: #c6d3da;
  position: fixed;
  top: 132px;
  left: 12px;
  z-index: 120;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 5px;
  width: 60px;
  max-height: calc(100vh - 148px);
  margin: 0;
  padding: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(17, 37, 56, 0.16);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 18px 42px rgba(17, 37, 56, 0.18);
  filter: none;
  transform: none;
  transition: width 260ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.executiveAppPage.workflowSideNavReady.workflowNavExpanded .workflowNav {
  width: min(430px, calc(100vw - 24px));
  box-shadow: 0 24px 54px rgba(17, 37, 56, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .executiveAppPage.workflowSideNavReady .workflowNav:hover {
    width: min(430px, calc(100vw - 24px));
    box-shadow: 0 24px 54px rgba(17, 37, 56, 0.22);
  }

  .executiveAppPage.workflowSideNavReady .workflowNav:hover .workflowNavLabel {
    max-width: 160px;
    opacity: 1;
    transform: translateX(0);
    transition-delay: 70ms;
  }
}

.executiveAppPage.workflowSideNavReady .workflowNavToggle,
.executiveAppPage.workflowSideNavReady .workflowNavItem,
.executiveAppPage.workflowSideNavReady .workflowNavItem:first-child,
.executiveAppPage.workflowSideNavReady .workflowUtilityNav .pageNavLink,
.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenu > summary.pageNavLink {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: none;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--executive-ink);
  box-shadow: none;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  filter: none;
  transform: none;
  transition: background 160ms ease, color 160ms ease;
}

.executiveAppPage.workflowSideNavReady .workflowNavToggle:hover,
.executiveAppPage.workflowSideNavReady .workflowNavToggle:focus-visible,
.executiveAppPage.workflowSideNavReady .workflowNavItem:hover,
.executiveAppPage.workflowSideNavReady .workflowNavItem:focus-visible,
.executiveAppPage.workflowSideNavReady .workflowUtilityNav .pageNavLink:hover,
.executiveAppPage.workflowSideNavReady .workflowUtilityNav .pageNavLink:focus-visible {
  border: 0;
  background: var(--workflow-menu-hover);
  color: var(--executive-ink);
  box-shadow: none;
  filter: none;
  transform: none;
}

.executiveAppPage.workflowSideNavReady .workflowNavItem.active,
.executiveAppPage.workflowSideNavReady .workflowNavItem[aria-current="step"],
.executiveAppPage.workflowSideNavReady .workflowUtilityNav > .pageNavLink.active {
  background: var(--workflow-menu-active);
  color: #fff;
  box-shadow: none;
}

.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenu > summary.pageNavLink,
.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenu[open] > summary.pageNavLink {
  background: var(--workflow-menu-header);
  color: #fff;
}

.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenu > summary.pageNavLink:hover,
.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenu > summary.pageNavLink:focus-visible {
  background: #264a64;
  color: #fff;
}

.workflowNavIcon,
.workflowNavToggleIcon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

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

.executiveAppPage.workflowSideNavReady .workflowUtilityNav {
  display: grid;
  gap: 5px;
  width: 100%;
  margin-top: 3px;
  padding-top: 8px;
  border-top: 1px solid rgba(17, 37, 56, 0.14);
}

.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenu {
  width: 100%;
}

.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenuPanel {
  position: static;
  display: none;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 2px 0 5px;
  padding: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: rgba(17, 37, 56, 0.055);
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenu[open] .guideMenuPanel {
  display: grid;
}

.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenuPanel a {
  padding: 9px 11px 9px 54px;
  border-radius: 7px;
  color: var(--executive-ink);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenuPanel a:hover,
.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenuPanel a:focus-visible {
  background: var(--workflow-menu-hover);
  color: var(--executive-ink);
}

.executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenuPanel a.active {
  background: var(--workflow-menu-active);
  color: #fff;
}

.executiveAppPage.workflowSideNavReady .mobileMenuButton {
  display: none;
}

.workflowNavToggleIcon {
  align-content: center;
  gap: 4px;
}

.workflowNavToggleIcon i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: width 180ms ease, transform 220ms ease;
}

.workflowNavExpanded .workflowNavToggleIcon i:first-child {
  width: 13px;
  transform: translateX(-2px) rotate(-35deg);
}

.workflowNavExpanded .workflowNavToggleIcon i:last-child {
  width: 13px;
  transform: translateX(-2px) rotate(35deg);
}

.workflowNavLabel {
  display: block;
  min-width: 150px;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transform: translateX(-8px);
  transition: max-width 260ms ease, opacity 160ms ease, transform 220ms ease;
}

.workflowNavExpanded .workflowNavLabel {
  max-width: 160px;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 70ms;
}

@media (min-width: 761px) {
  .executiveAppPage.workflowSideNavReady > main {
    padding-left: 72px;
  }
}

@media (max-width: 760px) {
  .executiveAppPage.workflowSideNavReady .workflowNav {
    top: 116px;
    left: 6px;
    width: 54px;
    padding: 4px;
    border-radius: 14px;
  }

  .executiveAppPage.workflowSideNavReady.workflowNavExpanded .workflowNav {
    width: calc(100vw - 18px);
  }

  .executiveAppPage.workflowSideNavReady .workflowNavToggle,
  .executiveAppPage.workflowSideNavReady .workflowNavItem,
  .executiveAppPage.workflowSideNavReady .workflowNavItem:first-child,
  .executiveAppPage.workflowSideNavReady .workflowUtilityNav .pageNavLink,
  .executiveAppPage.workflowSideNavReady .workflowUtilityNav .guideMenu > summary.pageNavLink {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 44px;
    border-radius: 9px;
    font-size: 0.8rem;
  }

  .workflowNavIcon,
  .workflowNavToggleIcon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .executiveAppPage.workflowSideNavReady > main {
    padding-left: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .executiveAppPage.workflowSideNavReady .workflowNav,
  .workflowNavLabel,
  .workflowNavToggleIcon i {
    transition: none;
  }
}

.imageCustomizationOptions {
  display: grid;
  gap: 16px;
  margin: 18px 0 22px;
}

.imageCustomizationOptions[hidden] {
  display: none;
}

.imageOptionsToggleBtn {
  width: fit-content;
}

.imagePanelToggleActions {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.imageControlPanel,
.imagePreviewPanel {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.imageControlPanel > .imagePostPanel,
.imageControlPanel > .imageCustomizationOptions {
  order: 1;
}

.imageControlPanel > .imagePostPanel.is-image-panel-top,
.imageControlPanel > .imageCustomizationOptions.is-image-panel-top {
  order: 0;
}

.imagePostToggleBtn {
  width: fit-content;
}

.imagePostPanel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.imagePostPanel[hidden] {
  display: none;
}

.imagePostPanel textarea {
  width: 100%;
}

.imagePreviewPanel {
  align-content: start;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .imagePreviewPanel .hint {
  max-width: var(--linkedin-feed-width);
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .imageOutput,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .imagePreview {
  width: 100%;
  max-width: var(--linkedin-feed-width);
}

@media (min-width: 1280px) {
  :is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, var(--linkedin-feed-width));
    gap: 18px 30px;
    align-items: start;
  }

  :is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"] > .cardHeader {
    grid-column: 1 / -1;
  }

  :is(body[data-page="step3"], body[data-combined-workflow="true"]) .imageControlPanel {
    grid-column: 1;
  }

  :is(body[data-page="step3"], body[data-combined-workflow="true"]) .imagePreviewPanel {
    grid-column: 2;
  }
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"]:has(
  #imagePostPanel[hidden]
):has(
  #imageCustomizationOptions[hidden]
) .imageControlPanel {
  display: none;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"]:has(
  #imagePostPanel[hidden]
):has(
  #imageCustomizationOptions[hidden]
) {
  width: fit-content;
  min-width: min(100%, calc(var(--linkedin-feed-width) + 52px));
  max-width: 100%;
  justify-self: center;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"]:has(
  #imagePostPanel[hidden]
):has(
  #imageCustomizationOptions[hidden]
) .imagePreviewPanel {
  grid-column: 1 / -1;
  width: min(100%, var(--linkedin-feed-width));
  justify-self: center;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"]:has(
  #imagePostPanel[hidden]
):has(
  #imageCustomizationOptions[hidden]
) .imagePanelToggleActions,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"]:has(
  #imagePostPanel[hidden]
):has(
  #imageCustomizationOptions[hidden]
) .imageGenerateAction,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"]:has(
  #imagePostPanel[hidden]
):has(
  #imageCustomizationOptions[hidden]
) .imageReviewAction {
  box-sizing: border-box;
  width: 100%;
  padding-inline: clamp(14px, 3vw, 24px);
  justify-content: flex-start;
  justify-self: stretch;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"]:has(
  #imagePostPanel[hidden]
):has(
  #imageCustomizationOptions[hidden]
) .imageSecondaryReviewAction {
  box-sizing: border-box;
  width: 100%;
  padding-inline: clamp(14px, 3vw, 24px);
  justify-content: flex-start;
  justify-self: stretch;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"]:has(
  #imagePostPanel[hidden]
):has(
  #imageCustomizationOptions[hidden]
) .hint {
  text-align: center;
  justify-self: center;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) section[aria-labelledby="image-title"]:has(
  #imagePostPanel[hidden]
):has(
  #imageCustomizationOptions[hidden]
) .imageOutput {
  justify-self: center;
}

.imagePostPanel h3,
.imageCustomizationOptions h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.3;
}

.imageCustomizationOptions .grid2 {
  align-items: start;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeControl,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerControl,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .tonePickerControl,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .compositionPickerControl,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .textTreatmentPickerControl,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .visualDensityPickerControl {
  min-width: 0;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerOptions,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .tonePickerOptions,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .compositionPickerOptions,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .textTreatmentPickerOptions,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .visualDensityPickerOptions {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.imageCustomizationOptions label {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 725;
}

.colorThemeControl {
  display: grid;
  gap: 8px;
  align-content: start;
  align-self: start;
  position: relative;
}

.colorThemeSwatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.colorThemeSwatches[hidden] {
  display: none;
}

button.colorThemeSelected {
  display: grid;
  grid-template-columns: minmax(116px, 0.38fr) 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.colorThemeSelected:hover {
  transform: none;
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(15, 40, 58, 0.08);
}

.colorThemeSelectedLabel {
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.2;
}

.colorThemeSelectedIcon {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.customColorFields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid rgba(22, 24, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.customColorFields[hidden] {
  display: none;
}

.customColorFields label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.customColorFields input[type="color"] {
  min-height: 42px;
  padding: 4px;
  border-radius: 14px;
  cursor: pointer;
}

button.colorThemeSwatch {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.colorThemeSwatch:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 23px 41px rgba(15, 40, 58, 0.18);
}

button.colorThemeSwatch.is-selected {
  border-color: rgba(23, 53, 75, 0.6);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(23, 53, 75, 0.08);
}

.colorThemeSwatchColors {
  display: block;
  height: 52px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: var(--swatch-gradient, linear-gradient(90deg, #0a66c2 0 33.333%, #f4b400 33.333% 66.666%, #f8fafc 66.666% 100%));
  background-clip: padding-box;
  box-shadow: none;
  clip-path: inset(0 round 16px);
}

button.colorThemeSwatch .colorThemeSwatchColors {
  border: 0;
}

.colorThemeSelected .colorThemeSwatchColors {
  height: 96px;
}

.colorThemeSelected .colorThemeSwatchColors,
.colorThemeSwatch[data-color-theme="linkedin-blue-gold"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #0a66c2 0 33.333%, #f4b400 33.333% 66.666%, #f8fafc 66.666% 100%);
}

.colorThemeSwatch[data-color-theme="clean-monochrome"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #111827 0 33.333%, #9ca3af 33.333% 66.666%, #f9fafb 66.666% 100%);
}

.colorThemeSwatch[data-color-theme="warm-neutral"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #8a6a47 0 33.333%, #d8c3a5 33.333% 66.666%, #f7f1e8 66.666% 100%);
}

.colorThemeSwatch[data-color-theme="bold-contrast"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #111827 0 33.333%, #ff4d4d 33.333% 66.666%, #ffd166 66.666% 100%);
}

.colorThemeSwatch[data-color-theme="calm-green"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #1b6f5c 0 33.333%, #8ecae6 33.333% 66.666%, #eef6f0 66.666% 100%);
}

.colorThemeSwatch[data-color-theme="executive-navy-copper"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #0f172a 0 25%, #1e3a5f 25% 50%, #b7791f 50% 75%, #f8fafc 75% 100%);
}

.colorThemeSwatch[data-color-theme="fresh-teal-coral"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #006d77 0 25%, #83c5be 25% 50%, #ff6b6b 50% 75%, #fff3e0 75% 100%);
}

.colorThemeSwatch[data-color-theme="product-brights"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #2563eb 0 20%, #14b8a6 20% 40%, #f97316 40% 60%, #facc15 60% 80%, #f8fafc 80% 100%);
}

.colorThemeSwatch[data-color-theme="soft-pastels"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #a7c7e7 0 25%, #f7c8e0 25% 50%, #c8e6c9 50% 75%, #fff7ed 75% 100%);
}

.colorThemeSwatch[data-color-theme="premium-dark"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #111827 0 25%, #374151 25% 50%, #d4af37 50% 75%, #f9fafb 75% 100%);
}

.colorThemeSwatch[data-color-theme="earth-sage-clay"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #5f6f52 0 20%, #a3b18a 20% 40%, #c9704a 40% 60%, #f2e8cf 60% 80%, #fffaf0 80% 100%);
}

.colorThemeSwatch[data-color-theme="slate-lavender-mint"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #334155 0 25%, #a78bfa 25% 50%, #5eead4 50% 75%, #f8fafc 75% 100%);
}

.colorThemeSwatch[data-color-theme="custom"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #d946ef 0 33.333%, #22c55e 33.333% 66.666%, #f97316 66.666% 100%);
}

#imageColorThemeToggle[data-color-theme="linkedin-blue-gold"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #0a66c2 0 33.333%, #f4b400 33.333% 66.666%, #f8fafc 66.666% 100%);
}

#imageColorThemeToggle[data-color-theme="clean-monochrome"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #111827 0 33.333%, #9ca3af 33.333% 66.666%, #f9fafb 66.666% 100%);
}

#imageColorThemeToggle[data-color-theme="warm-neutral"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #8a6a47 0 33.333%, #d8c3a5 33.333% 66.666%, #f7f1e8 66.666% 100%);
}

#imageColorThemeToggle[data-color-theme="bold-contrast"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #111827 0 33.333%, #ff4d4d 33.333% 66.666%, #ffd166 66.666% 100%);
}

#imageColorThemeToggle[data-color-theme="calm-green"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #1b6f5c 0 33.333%, #8ecae6 33.333% 66.666%, #eef6f0 66.666% 100%);
}

#imageColorThemeToggle[data-color-theme="executive-navy-copper"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #0f172a 0 25%, #1e3a5f 25% 50%, #b7791f 50% 75%, #f8fafc 75% 100%);
}

#imageColorThemeToggle[data-color-theme="fresh-teal-coral"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #006d77 0 25%, #83c5be 25% 50%, #ff6b6b 50% 75%, #fff3e0 75% 100%);
}

#imageColorThemeToggle[data-color-theme="product-brights"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #2563eb 0 20%, #14b8a6 20% 40%, #f97316 40% 60%, #facc15 60% 80%, #f8fafc 80% 100%);
}

#imageColorThemeToggle[data-color-theme="soft-pastels"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #a7c7e7 0 25%, #f7c8e0 25% 50%, #c8e6c9 50% 75%, #fff7ed 75% 100%);
}

#imageColorThemeToggle[data-color-theme="premium-dark"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #111827 0 25%, #374151 25% 50%, #d4af37 50% 75%, #f9fafb 75% 100%);
}

#imageColorThemeToggle[data-color-theme="earth-sage-clay"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #5f6f52 0 20%, #a3b18a 20% 40%, #c9704a 40% 60%, #f2e8cf 60% 80%, #fffaf0 80% 100%);
}

#imageColorThemeToggle[data-color-theme="slate-lavender-mint"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #334155 0 25%, #a78bfa 25% 50%, #5eead4 50% 75%, #f8fafc 75% 100%);
}

#imageColorThemeToggle[data-color-theme="custom"] .colorThemeSwatchColors {
  --swatch-gradient: linear-gradient(90deg, #d946ef 0 33.333%, #22c55e 33.333% 66.666%, #f97316 66.666% 100%);
}

.colorThemeSwatchLabel {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.2;
}

.stylePickerControl {
  display: grid;
  gap: 8px;
  align-content: start;
  align-self: start;
}

.stylePickerOptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.stylePickerOptions[hidden] {
  display: none;
}

button.stylePickerSelected {
  display: grid;
  grid-template-columns: minmax(116px, 0.38fr) 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.stylePickerSelected:hover {
  transform: none;
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(15, 40, 58, 0.08);
}

button.styleOption {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 10px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.styleOption:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 23px 41px rgba(15, 40, 58, 0.18);
}

button.styleOption.is-selected {
  border-color: rgba(23, 53, 75, 0.6);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(23, 53, 75, 0.08);
}

.styleSelectedLabel {
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.2;
}

.styleSelectedIcon {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.styleOptionLabel {
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.2;
}

.stylePreview {
  position: relative;
  display: block;
  height: 96px;
  overflow: hidden;
  border: 1px solid rgba(22, 24, 29, 0.12);
  border-radius: 16px;
  background-color: #f8fafc;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -18px 28px rgba(15, 40, 58, 0.04);
}

.style-editorial-illustration {
  background-image: url("./assets/style-previews/editorial-illustration.jpg");
}

.style-minimal-vector {
  background-image: url("./assets/style-previews/minimal-vector.jpg");
}

.style-modern-3d {
  background-image: url("./assets/style-previews/modern-3d.jpg");
}

.style-infographic {
  background-image: url("./assets/style-previews/infographic.jpg");
}

.style-hand-drawn {
  background-image: url("./assets/style-previews/hand-drawn.jpg");
}

.style-paper-cutout {
  background-image: url("./assets/style-previews/paper-cutout.jpg");
}

.style-aesthetic-pixel-art {
  background-image: url("./assets/style-previews/aesthetic-pixel-art.jpg");
}

.style-cyberpunk-gradient {
  background-image: url("./assets/style-previews/cyberpunk-gradient.jpg");
}

.style-analog-film-photography {
  background-image: url("./assets/style-previews/analog-film-photography.jpg");
}

.tonePickerControl {
  display: grid;
  gap: 8px;
  align-content: start;
  align-self: start;
}

.tonePickerOptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.tonePickerOptions[hidden] {
  display: none;
}

button.tonePickerSelected {
  display: grid;
  grid-template-columns: minmax(116px, 0.38fr) 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.tonePickerSelected:hover {
  transform: none;
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(15, 40, 58, 0.08);
}

button.toneOption {
  display: grid;
  gap: 8px;
  min-height: 260px;
  padding: 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.toneOption:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 23px 41px rgba(15, 40, 58, 0.18);
}

button.toneOption.is-selected {
  border-color: rgba(23, 53, 75, 0.6);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(23, 53, 75, 0.08);
}

.toneSelectedLabel {
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.2;
}

.toneSelectedIcon {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.toneOptionLabel {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.2;
}

.tonePreview {
  position: relative;
  display: block;
  height: 132px;
  overflow: hidden;
  border: 1px solid rgba(22, 24, 29, 0.12);
  border-radius: 16px;
  background-color: #f8fafc;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -18px 28px rgba(15, 40, 58, 0.04);
}

.tonePickerSelected .tonePreview {
  height: 82px;
}

.tone-confident {
  background-image: url("./assets/tone-previews/confident.jpg");
}

.tone-warm {
  background-image: url("./assets/tone-previews/warm.jpg");
}

.tone-analytical {
  background-image: url("./assets/tone-previews/analytical.jpg");
}

.tone-optimistic {
  background-image: url("./assets/tone-previews/optimistic.jpg");
}

.tone-calm {
  background-image: url("./assets/tone-previews/calm.jpg");
}

.tone-bold {
  background-image: url("./assets/tone-previews/bold.jpg");
}

.compositionPickerControl {
  display: grid;
  gap: 8px;
  align-content: start;
  align-self: start;
}

.compositionPickerOptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.compositionPickerOptions[hidden] {
  display: none;
}

button.compositionPickerSelected {
  display: grid;
  grid-template-columns: minmax(116px, 0.38fr) 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.compositionPickerSelected:hover {
  transform: none;
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(15, 40, 58, 0.08);
}

button.compositionOption {
  display: grid;
  gap: 8px;
  min-height: 260px;
  padding: 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.compositionOption:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 23px 41px rgba(15, 40, 58, 0.18);
}

button.compositionOption.is-selected {
  border-color: rgba(23, 53, 75, 0.6);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(23, 53, 75, 0.08);
}

.compositionSelectedLabel {
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.2;
}

.compositionSelectedIcon {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.compositionOptionLabel {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.2;
}

.compositionPreview {
  position: relative;
  display: block;
  height: 132px;
  overflow: hidden;
  border: 1px solid rgba(22, 24, 29, 0.12);
  border-radius: 16px;
  background-color: #f8fafc;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -18px 28px rgba(15, 40, 58, 0.04);
}

.compositionPickerSelected .compositionPreview {
  height: 82px;
}

.composition-centered-metaphor {
  background-image: url("./assets/composition-previews/centered-metaphor.jpg");
}

.composition-process-steps {
  background-image: url("./assets/composition-previews/process-steps.jpg");
}

.composition-before-after {
  background-image: url("./assets/composition-previews/before-after.jpg");
}

.composition-single-hero-object {
  background-image: url("./assets/composition-previews/single-hero-object.jpg");
}

.composition-dashboard-abstract {
  background-image: url("./assets/composition-previews/dashboard-abstract.jpg");
}

.textTreatmentPickerControl {
  display: grid;
  gap: 8px;
  align-content: start;
  align-self: start;
}

.textTreatmentPickerOptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.textTreatmentPickerOptions[hidden] {
  display: none;
}

button.textTreatmentPickerSelected {
  display: grid;
  grid-template-columns: minmax(116px, 0.38fr) 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.textTreatmentPickerSelected:hover {
  transform: none;
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(15, 40, 58, 0.08);
}

button.textTreatmentOption {
  display: grid;
  gap: 8px;
  min-height: 260px;
  padding: 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.textTreatmentOption:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 23px 41px rgba(15, 40, 58, 0.18);
}

button.textTreatmentOption.is-selected {
  border-color: rgba(23, 53, 75, 0.6);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(23, 53, 75, 0.08);
}

.textTreatmentSelectedLabel {
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.2;
}

.textTreatmentSelectedIcon {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.textTreatmentOptionLabel {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.2;
}

.textTreatmentPreview {
  position: relative;
  display: block;
  height: 132px;
  overflow: hidden;
  border: 1px solid rgba(22, 24, 29, 0.12);
  border-radius: 16px;
  background-color: #f8fafc;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -18px 28px rgba(15, 40, 58, 0.04);
}

.textTreatmentPickerSelected .textTreatmentPreview {
  height: 82px;
}

.text-treatment-no-text {
  background-image: url("./assets/text-treatment-previews/no-text.jpg");
}

.text-treatment-short-headline {
  background-image: url("./assets/text-treatment-previews/short-headline.jpg");
}

.text-treatment-small-labels {
  background-image: url("./assets/text-treatment-previews/small-labels.jpg");
}

.visualDensityPickerControl {
  display: grid;
  gap: 8px;
  align-content: start;
  align-self: start;
}

.visualDensityPickerOptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.visualDensityPickerOptions[hidden] {
  display: none;
}

button.visualDensityPickerSelected {
  display: grid;
  grid-template-columns: minmax(116px, 0.38fr) 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.visualDensityPickerSelected:hover {
  transform: none;
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(15, 40, 58, 0.08);
}

button.visualDensityOption {
  display: grid;
  gap: 8px;
  min-height: 260px;
  padding: 14px;
  border-radius: 18px;
  border-color: var(--field-border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

button.visualDensityOption:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 23px 41px rgba(15, 40, 58, 0.18);
}

button.visualDensityOption.is-selected {
  border-color: rgba(23, 53, 75, 0.6);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(23, 53, 75, 0.08);
}

.visualDensitySelectedLabel {
  font-size: 1.03rem;
  font-weight: 400;
  line-height: 1.2;
}

.visualDensitySelectedIcon {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.visualDensityOptionLabel {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.2;
}

.visualDensityPreview {
  position: relative;
  display: block;
  height: 132px;
  overflow: hidden;
  border: 1px solid rgba(22, 24, 29, 0.12);
  border-radius: 16px;
  background-color: #f8fafc;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -18px 28px rgba(15, 40, 58, 0.04);
}

.visualDensityPickerSelected .visualDensityPreview {
  height: 82px;
}

.visual-density-balanced {
  background-image: url("./assets/visual-density-previews/balanced.jpg");
}

.visual-density-minimal {
  background-image: url("./assets/visual-density-previews/minimal.jpg");
}

.visual-density-detailed {
  background-image: url("./assets/visual-density-previews/detailed.jpg");
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches:not([hidden]),
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerOptions:not([hidden]),
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .tonePickerOptions:not([hidden]),
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .compositionPickerOptions:not([hidden]),
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .textTreatmentPickerOptions:not([hidden]),
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .visualDensityPickerOptions:not([hidden]) {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 1500;
  width: min(773px, calc(100vw - 32px));
  max-height: min(638px, calc(100vh - 16px));
  overflow: hidden;
  transform: translate(-50%, -50%);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 0 0 9999px rgba(22, 24, 29, 0.26),
    var(--menu-shadow);
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches:not([hidden])::before,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerOptions:not([hidden])::before,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .tonePickerOptions:not([hidden])::before,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .compositionPickerOptions:not([hidden])::before,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .textTreatmentPickerOptions:not([hidden])::before,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .visualDensityPickerOptions:not([hidden])::before {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.2;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches:not([hidden])::before {
  content: "Select color theme";
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches:not([hidden]) {
  width: min(940px, calc(100vw - 32px));
  max-height: min(590px, calc(100vh - 16px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches:not([hidden])::before {
  font-size: 1rem;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches:not([hidden]) button.colorThemeSwatch {
  min-height: 78px;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 14px;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches:not([hidden]) .colorThemeSwatchColors {
  height: 34px;
  border-radius: 13px;
  clip-path: inset(0 round 13px);
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches:not([hidden]) .colorThemeSwatchLabel {
  font-size: 0.82rem;
  line-height: 1.12;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerOptions:not([hidden])::before {
  content: "Select image style";
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .tonePickerOptions:not([hidden])::before {
  content: "Select image tone";
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .compositionPickerOptions:not([hidden])::before {
  content: "Select composition";
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .textTreatmentPickerOptions:not([hidden])::before {
  content: "Select text treatment";
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .visualDensityPickerOptions:not([hidden])::before {
  content: "Select visual density";
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerOptions:not([hidden]),
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .tonePickerOptions:not([hidden]),
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .compositionPickerOptions:not([hidden]),
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .textTreatmentPickerOptions:not([hidden]),
  :is(body[data-page="step3"], body[data-combined-workflow="true"]) .visualDensityPickerOptions:not([hidden]) {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerOptions:not([hidden]) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerOptions:not([hidden]) .stylePreview,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .tonePickerOptions:not([hidden]) .tonePreview,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .compositionPickerOptions:not([hidden]) .compositionPreview,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .textTreatmentPickerOptions:not([hidden]) .textTreatmentPreview,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) .visualDensityPickerOptions:not([hidden]) .visualDensityPreview {
  height: auto;
  aspect-ratio: 16 / 10;
  background-size: contain;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerOptions:not([hidden]) .stylePreview {
  height: 70px;
  aspect-ratio: auto;
}

.imageCustomizationOptions select,
.imageCustomizationOptions textarea {
  margin-top: 8px;
  font-weight: 400;
}

@media (max-width: 520px) {
  .customColorFields {
    grid-template-columns: 1fr;
  }

  :is(body[data-page="step3"], body[data-combined-workflow="true"]) .colorThemeSwatches:not([hidden]),
  :is(body[data-page="step3"], body[data-combined-workflow="true"]) .stylePickerOptions:not([hidden]),
  :is(body[data-page="step3"], body[data-combined-workflow="true"]) .tonePickerOptions:not([hidden]),
  :is(body[data-page="step3"], body[data-combined-workflow="true"]) .compositionPickerOptions:not([hidden]),
  :is(body[data-page="step3"], body[data-combined-workflow="true"]) .textTreatmentPickerOptions:not([hidden]),
  :is(body[data-page="step3"], body[data-combined-workflow="true"]) .visualDensityPickerOptions:not([hidden]) {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    grid-template-columns: 1fr;
    padding: 17px;
    border-radius: 20px;
  }
}

.imageGenerateAction {
  display: flex;
  gap: 10px 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 4px 0 12px;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) .imagePreviewPanel .imageGenerateAction {
  width: 100%;
  max-width: var(--linkedin-feed-width);
  justify-self: start;
}

:is(body[data-page="step3"], body[data-combined-workflow="true"]) #imageRunBtn,
:is(body[data-page="step3"], body[data-combined-workflow="true"]) #imageRunGeminiBtn {
  padding-inline: 13px;
}

.imageReviewAction,
.imageSecondaryReviewAction {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 12px;
}

.imageSecondaryReviewAction {
  margin-top: 10px;
}

.combinedCreatePage .imageReviewAction,
.combinedCreatePage .imageSecondaryReviewAction {
  flex-wrap: nowrap;
  align-items: center;
}

@media (max-width: 640px) {
  .combinedCreatePage .imageReviewAction,
  .combinedCreatePage .imageSecondaryReviewAction {
    flex-wrap: wrap;
  }
}

.combinedCreatePage .imagePostUtilities {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  margin-top: 14px;
}

.combinedCreatePage .imagePostUtilities .postStatistics,
.combinedCreatePage .imagePostUtilities > .row {
  width: 100%;
  margin: 0;
}

.combinedCreatePage .imagePostUtilities .draftSaveStatus {
  min-width: 150px;
  margin: 0;
  padding: 0 0 0 14px;
  border-top: 0;
  border-left: 1px solid rgba(17, 37, 56, 0.12);
  white-space: pre-line;
}

@media (max-width: 640px) {
  .combinedCreatePage .imagePostUtilities {
    grid-template-columns: minmax(0, 1fr);
  }

  .combinedCreatePage .imagePostUtilities .draftSaveStatus {
    padding: 10px 0 0;
    border-top: 1px solid rgba(17, 37, 56, 0.12);
    border-left: 0;
  }
}

.draftSaveStatus {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 37, 56, 0.12);
  color: #1f6f48;
  font-size: 0.86rem;
  font-weight: 750;
}

.draftSaveStatus.is-error {
  color: #a12a2a;
}

.imagePreview {
  display: block;
  max-width: 100%;
  max-height: 680px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.imagePreview.isStreamingPreview {
  filter: saturate(0.82) contrast(0.92);
  opacity: 0.84;
}

.imagePreview[hidden],
.imagePreview:not([src]) {
  display: none;
}

.imageEmptyState {
  font-size: 0.9rem;
  text-align: center;
}

.finalReviewGrid {
  display: grid;
  gap: 18px;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}

.step4MainGrid {
  display: grid;
  gap: 20px;
  align-items: start;
}

.step4ScheduleColumn {
  display: grid;
  gap: 20px;
  min-width: 0;
}

body[data-page="step4"] .finalReviewCard,
body[data-page="step4"] .schedulePostCard,
body[data-page="step4"] .scheduledPostsCard {
  width: 100%;
}

@media (min-width: 1120px) {
  .step4MainGrid {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  }

  body[data-page="step4"] .step4ScheduleColumn {
    grid-column: 1;
    grid-row: 1;
  }

  body[data-page="step4"] .finalReviewCard {
    grid-column: 2;
    grid-row: 1;
  }

  body[data-page="step4"] .scheduleGrid {
    grid-template-columns: 1fr;
  }

  body[data-page="step4"] .scheduleActions {
    justify-content: stretch;
  }

  body[data-page="step4"] .scheduleActions button,
  body[data-page="step4"] .scheduleActions select {
    width: 100%;
  }
}

.finalPostPanel,
.finalImagePanel {
  min-width: 0;
  width: 100%;
}

.finalPostPanel .outputLabel {
  margin-top: 0;
}

.finalPostPanel textarea {
  box-sizing: border-box;
  border: 1px solid var(--field-border);
  min-height: 430px;
  max-width: var(--linkedin-feed-width);
  line-height: 1.55;
}

body[data-page="step4"] .finalImagePanel:has(.finalImagePreview[hidden]) {
  display: none;
}

.finalImageFrame {
  display: grid;
  place-items: center;
  max-width: var(--linkedin-feed-width);
  min-height: 360px;
  padding: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(22, 24, 29, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.finalImagePreview {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: none;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.finalImagePreview[hidden],
.finalImagePreview:not([src]) {
  display: none;
}

.finalReviewActions {
  align-items: center;
}

.finalPostPanel .finalReviewActions {
  justify-content: flex-start;
}

.finalImagePanel .finalReviewActions {
  justify-content: space-between;
}

.finalReviewSecondaryActions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.finalPublishActions {
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-top: 18px;
}

.finalPublishActions #saveDraftPostBtn {
  margin-left: auto;
}

@media (max-width: 720px) {
  .finalPublishActions {
    flex-wrap: wrap;
  }

  .finalPublishActions #saveDraftPostBtn {
    margin-left: 0;
  }
}

.linkedinConnectionStatus {
  margin: 6px 0 0;
  color: #24724f;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 650;
  white-space: pre-line;
}

.linkedinConnectionStatus.isError {
  color: var(--danger);
}

.linkedinAccountGrid,
.scheduleGrid {
  display: grid;
  gap: 14px;
  align-items: end;
  grid-template-columns: 1fr;
}

.schedulePostCard {
  align-self: start;
}

@media (min-width: 760px) {
  .linkedinAccountGrid {
    grid-template-columns: minmax(220px, 0.72fr) minmax(320px, 1.28fr);
  }

  .scheduleGrid {
    grid-template-columns: minmax(390px, 0.7fr) minmax(220px, auto);
  }
}

.linkedinAccountActions,
.scheduleActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.scheduleTimeControls {
  display: grid;
  gap: 10px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr);
}

.scheduleTimeControls label {
  margin: 0;
}

.scheduleTimeControls input {
  height: 44px;
  min-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
}

@media (min-width: 620px) {
  .scheduleTimeControls {
    grid-template-columns: minmax(220px, 1fr) auto auto;
  }
}

@media (min-width: 1280px) {
  body[data-page="step4"] .scheduleGrid {
    grid-template-columns: 1fr;
  }

  body[data-page="step4"] .scheduleTimeControls {
    grid-template-columns: minmax(240px, 1fr) auto auto;
  }

  body[data-page="step4"] .scheduleActions {
    justify-content: stretch;
  }

  body[data-page="step4"] .scheduleActions button,
  body[data-page="step4"] .scheduleActions select {
    width: 100%;
  }
}

body[data-page="step4"] .scheduleActions select {
  width: min(320px, 100%);
}

.scheduleTimeControls button,
.scheduleActions button {
  white-space: nowrap;
  min-width: max-content;
}

.engageControlCard .cardHeader {
  align-items: center;
}

body[data-page="engage"] .engageControlCard {
  border-bottom-color: transparent;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: none;
}

.engageHeaderActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.engageHeaderActions select {
  width: min(280px, 100%);
  min-height: 44px;
}

body[data-page="engage"] select {
  font-weight: 400;
}

.engageWorkspaceGrid {
  display: grid;
  gap: 20px;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}

body[data-page="engage"] .engageWorkspaceGrid {
  margin-top: -20px;
}

body[data-page="engage"] .engagePostsCard {
  border-top-color: transparent;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

body[data-page="engage"] .engagePostsCard .scheduledPostsTableWrap {
  margin-top: 8px;
}

@media (min-width: 1180px) {
  .engageWorkspaceGrid {
    grid-template-columns: minmax(620px, 1.1fr) minmax(440px, 0.9fr);
  }

  body[data-page="engage"] .workspace > :is(.stepIntroCard, .engageControlCard) {
    width: calc((100% - 20px) * 0.55);
    min-width: 620px;
    max-width: 100%;
  }
}

.engagePostsTable th:nth-child(1),
.engagePostsTable th:nth-child(2),
.engagePostsTable th:nth-child(3),
.engagePostsTable td:nth-child(1),
.engagePostsTable td:nth-child(2),
.engagePostsTable td:nth-child(3) {
  white-space: nowrap;
}

.engageCommentsList {
  display: grid;
  gap: 10px;
  max-height: 560px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.engageEmptyState {
  padding: 18px;
  border: 1px dashed rgba(22, 24, 29, 0.16);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
}

.engageCommentItem {
  margin: 0;
}

.engageCommentButton {
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 0;
  padding: 14px 16px;
  border: 1px solid rgba(106, 124, 145, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  text-align: left;
  box-shadow: none;
}

.engageCommentButton:hover,
.engageCommentButton:focus-visible,
.engageCommentItem.is-selected .engageCommentButton {
  border-color: rgba(23, 53, 75, 0.42);
  background: rgba(221, 234, 243, 0.86);
  transform: none;
  box-shadow: 0 10px 22px rgba(23, 53, 75, 0.08);
}

.engageCommentMeta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.engageCommentText {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: pre-wrap;
}

.engageCommentReplies {
  display: grid;
  gap: 8px;
  margin: 8px 0 0 24px;
  padding: 0;
  list-style: none;
}

.engageCommentReply {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-left: 3px solid rgba(23, 53, 75, 0.32);
  background: rgba(238, 244, 248, 0.72);
}

.engageReplyBox {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.commentDraftGenerator {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.commentDraftGenerator h3,
.commentDraftGenerator h4 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
}

.commentCustomizationOptions {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.commentCustomizationOptions > summary {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  border-color: #c9dce1;
  border-radius: 10px;
  background: #c9dce1;
  color: #112538;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 850;
  text-align: left;
}

.commentCustomizationOptions > summary::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: 16px;
  border-right: 3px solid #203f52;
  border-bottom: 3px solid #203f52;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.commentCustomizationOptions > summary:hover,
.commentCustomizationOptions[open] > summary {
  border-color: #203f52;
  background: #203f52;
  color: #ffffff;
}

.commentCustomizationOptions > summary:hover::after,
.commentCustomizationOptions[open] > summary::after {
  border-color: #d9e9ee;
}

.commentCustomizationOptions[open] > summary::after {
  transform: rotate(225deg);
}

.commentCustomizationPanel {
  display: grid;
  gap: 12px;
}

.commentCustomizationPanel[hidden] {
  display: none;
}

.commentCustomizationGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.commentCustomizationGrid label,
.commentCustomizationLabel {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 625;
}

.commentCustomizationGrid select {
  box-sizing: border-box;
  min-height: 34px;
  height: 34px;
  margin-top: 4px;
  padding: 2px 28px 2px 10px;
  font-size: 0.86rem;
  font-weight: 400;
}

.commentDraftCards {
  display: grid;
  gap: 10px;
}

.commentDraftCard {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(106, 124, 145, 0.24);
  background: rgba(255, 255, 255, 0.76);
}

.commentDraftCard p {
  margin: 0;
  line-height: 1.5;
  white-space: pre-wrap;
}

.commentDraftCard button {
  justify-self: end;
}

.engageReplyBox textarea {
  min-height: 140px;
  resize: vertical;
}

.engageReplyActions {
  justify-content: space-between;
}

@media (max-width: 720px) {
  .engageControlCard .cardHeader,
  .engageHeaderActions {
    align-items: stretch;
  }

  .engageHeaderActions,
  .engageReplyActions {
    justify-content: stretch;
  }

  .engageHeaderActions button,
  .engageHeaderActions select,
  .engageReplyActions button {
    width: 100%;
  }

  .engageCommentsList {
    max-height: 420px;
  }

  .engageCommentReplies {
    margin-left: 12px;
  }

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

.scheduleDateTimePicker {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  transform: translate(-50%, -50%);
  z-index: 1400;
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(17, 37, 56, 0.18);
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 24px 70px rgba(15, 40, 58, 0.24);
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
}

.scheduleDateTimePicker[hidden] {
  display: none;
}

.schedulePickerTop,
.schedulePickerActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedulePickerTop strong {
  flex: 1;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 750;
}

.schedulePickerTop button,
.schedulePickerActions button {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 0.88rem;
  font-weight: 650;
}

.schedulePickerWeekdays,
.schedulePickerDays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  text-align: center;
}

.schedulePickerWeekdays {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.schedulePickerDay {
  min-width: 0;
  min-height: 42px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 450;
}

.schedulePickerDay:hover,
.schedulePickerDay:focus-visible {
  border-color: var(--muted);
  background: var(--muted);
  color: #fff;
}

.schedulePickerDay.isSelected,
.schedulePickerDay.isSelected:hover,
.schedulePickerDay.isSelected:focus-visible {
  border-color: var(--primary-strong);
  background: var(--primary-strong);
  color: #fff !important;
  font-weight: 750;
  box-shadow: inset 0 0 0 2px #fff;
}

.schedulePickerDay.isOutsideMonth {
  color: var(--muted);
}

.schedulePickerDay.isOutsideMonth.isSelected {
  color: #fff;
}

.schedulePickerTime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.schedulePickerTime label {
  font-size: 0.82rem;
  font-weight: 600;
}

.schedulePickerTime select {
  min-height: 48px;
  font-size: 1rem;
  font-weight: 400;
}

.executiveAppPage .scheduleDateTimePicker .schedulePickerDay {
  min-height: 42px;
  padding: 4px;
  border-color: transparent;
  background: transparent;
  color: #17384d;
  font-weight: 450;
}

.executiveAppPage .scheduleDateTimePicker .schedulePickerDay:hover,
.executiveAppPage .scheduleDateTimePicker .schedulePickerDay:focus-visible {
  border-color: #315f78;
  background: #d8e7ee;
  color: #0c2638;
  box-shadow: 0 0 0 2px rgba(49, 95, 120, 0.2);
}

.executiveAppPage .scheduleDateTimePicker .schedulePickerDay.isSelected {
  border-color: #071f31;
  background: #10384f;
  color: #fff !important;
  font-weight: 750;
  box-shadow:
    inset 0 0 0 2px #fff,
    0 0 0 3px #c59032;
}

.executiveAppPage .scheduleDateTimePicker .schedulePickerDay.isSelected:hover,
.executiveAppPage .scheduleDateTimePicker .schedulePickerDay.isSelected:focus-visible {
  border-color: #071f31;
  background: #071f31;
  color: #fff !important;
  box-shadow:
    inset 0 0 0 2px #fff,
    0 0 0 4px #d6a84f;
}

.executiveAppPage .scheduleDateTimePicker .schedulePickerTop button,
.executiveAppPage .scheduleDateTimePicker .schedulePickerActions button {
  min-height: 38px;
  padding: 7px 11px;
  font-weight: 650;
}

.executiveAppPage .scheduleDateTimePicker select {
  font-weight: 400;
}

.executiveAppPage .scheduleDateTimePicker select:focus {
  border-color: #10384f;
  box-shadow: 0 0 0 3px rgba(197, 144, 50, 0.35);
}

.scheduledPostsCard {
  margin-top: 0;
}

.scheduledPostsTableWrap {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface-strong);
}

.scheduledPostsTable {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.scheduledPostsTable th,
.scheduledPostsTable td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.scheduledPostsTable th {
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
}

.scheduledPostsTable tbody tr {
  cursor: pointer;
}

.scheduledPostsTable tbody tr:hover,
.scheduledPostsTable tbody tr:focus-visible {
  background: rgba(23, 53, 75, 0.07);
  outline: none;
}

.scheduledPostsTable tbody tr.is-selected {
  background: var(--primary-soft);
}

.scheduledPostsTable td:first-child {
  white-space: nowrap;
}

.scheduledPostsEmptyCell {
  color: var(--muted);
  text-align: center;
}

.footer {
  padding-bottom: 30px;
}

@property --job-search-ring-phase {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.jobSearchLanding {
  display: grid;
  min-height: calc(100svh - 112px);
  padding: 22px 0 0;
}

.jobSearchHero {
  position: relative;
  display: grid;
  place-items: center;
  width: min(var(--marketing-max-width), 100%);
  min-height: min(780px, calc(100svh - 156px));
  justify-self: center;
  overflow: visible;
  isolation: isolate;
  background: transparent;
}

.jobSearchHero::before,
.jobSearchHero::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
}

.jobSearchHero::before {
  width: min(72vw, 940px);
  height: min(72vw, 940px);
  border: 1px solid rgba(128, 151, 190, 0.2);
  background:
    repeating-radial-gradient(circle,
      rgba(255, 255, 255, 0.78) calc(var(--job-search-ring-phase) + 0px),
      rgba(205, 214, 231, 0.54) calc(var(--job-search-ring-phase) + 48px),
      rgba(198, 220, 244, 0.5) calc(var(--job-search-ring-phase) + 96px),
      rgba(190, 230, 219, 0.48) calc(var(--job-search-ring-phase) + 144px),
      rgba(249, 226, 190, 0.42) calc(var(--job-search-ring-phase) + 192px),
      rgba(215, 212, 201, 0.4) calc(var(--job-search-ring-phase) + 240px),
      rgba(255, 255, 255, 0.78) calc(var(--job-search-ring-phase) + 288px));
  background-position: center;
  background-repeat: no-repeat;
  box-shadow:
    0 0 0 72px rgba(205, 197, 235, 0.13),
    0 0 0 150px rgba(190, 224, 226, 0.1);
  animation: job-search-rainbow-rings 9s linear infinite;
}

.jobSearchHero::after {
  right: -110px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  background: rgba(168, 218, 215, 0.15);
  filter: blur(18px);
}

.jobSearchGrid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(116, 139, 171, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 139, 171, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at center, #000 0, transparent 72%);
  mask-image: radial-gradient(circle at center, #000 0, transparent 72%);
}

.jobSearchGlow {
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.5;
  animation: job-search-glow 7s ease-in-out infinite alternate;
}

.jobSearchGlowOne {
  top: -120px;
  left: -80px;
  background: rgba(167, 188, 231, 0.62);
}

.jobSearchGlowTwo {
  right: 4%;
  bottom: -160px;
  background: rgba(158, 218, 208, 0.58);
  animation-delay: -3s;
}

.jobSearchHeroContent {
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.5vw, 28px);
  width: min(920px, calc(100% - 48px));
  padding: 70px 0;
  text-align: center;
}

.jobSearchEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(52, 92, 153, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #466083;
  box-shadow: 0 12px 30px rgba(54, 81, 128, 0.08);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jobSearchEyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #43bfc3;
  box-shadow: 0 0 0 6px rgba(67, 191, 195, 0.12);
}

.jobSearchHero h1 {
  max-width: 10ch;
  margin: 0;
  color: #23395f;
  font-size: clamp(4.4rem, 9.5vw, 9.2rem);
  font-weight: 850;
  line-height: 0.84;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.jobSearchHero h1 span {
  color: transparent;
  background: linear-gradient(105deg, #5274ac 12%, #7388c5 52%, #58a9aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 10px 22px rgba(91, 112, 151, 0.12));
}

.jobSearchHeroContent > p {
  max-width: 680px;
  margin: 0;
  color: #5c6f8c;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
  text-wrap: balance;
}

.jobSearchStartButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 190px;
  min-height: 62px;
  margin-top: 4px;
  padding: 0 27px 0 31px;
  border: 1px solid rgba(100, 123, 158, 0.26);
  border-radius: 999px;
  background: linear-gradient(135deg, #627faa, #69a7a7);
  color: #fffefb;
  box-shadow:
    0 18px 34px rgba(91, 117, 146, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    filter 220ms ease;
}

.jobSearchStartButton i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-style: normal;
  transition: transform 220ms ease;
}

.jobSearchStartButton:hover,
.jobSearchStartButton:focus-visible {
  transform: translateY(-5px) scale(1.035);
  box-shadow:
    0 24px 44px rgba(91, 117, 146, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  filter: saturate(1.12);
}

.jobSearchStartButton:hover i,
.jobSearchStartButton:focus-visible i {
  transform: translateX(4px);
}

.jobSearchStartButton:active {
  transform: translateY(0) scale(0.98);
}

.jobSearchBenefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 12px;
  color: #758197;
  font-size: 0.82rem;
  font-weight: 700;
}

.jobSearchBenefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jobSearchBenefits i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8db5b3;
}

.executivePowerFloatingLogoFrame {
  position: absolute;
  right: 3%;
  top: 8%;
  z-index: 1;
  display: block;
  place-items: initial;
  width: clamp(112px, 11vw, 156px);
  height: auto;
  opacity: 0.92;
  padding: 5px;
  border: 1px solid rgba(246, 220, 151, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 236, 176, 0.34), rgba(255, 255, 255, 0.04) 28%, rgba(0, 0, 0, 0.38) 68%, rgba(255, 236, 176, 0.18)),
    #080c12;
  box-shadow:
    0 48px 78px rgba(8, 12, 20, 0.42),
    0 22px 36px rgba(7, 10, 16, 0.34),
    0 5px 10px rgba(0, 0, 0, 0.28),
    inset 2px 2px 0 rgba(255, 246, 211, 0.22),
    inset -3px -3px 0 rgba(0, 0, 0, 0.42);
  pointer-events: none;
  animation: executive-power-float 6.4s ease-in-out infinite;
}

.executivePowerFloatingLogoFrame::before {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 235, 174, 0.22);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%, rgba(0, 0, 0, 0.18) 72%, rgba(255, 221, 143, 0.12));
  pointer-events: none;
  content: "";
}

.executivePowerFloatingLogoFrame::after {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 7%;
  height: 24%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
  opacity: 0.7;
  pointer-events: none;
  content: "";
}

.executivePowerFloatingLogo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.executivePowerFloatingLogoFrame::before {
  width: auto;
  height: auto;
}

.visibilitySuccessSection {
  position: relative;
  display: grid;
  align-items: end;
  width: 100vw;
  min-height: min(900px, 100svh);
  justify-self: center;
  margin-top: clamp(24px, 5vw, 72px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(28px, 6vw, 84px);
  overflow: hidden;
  border-radius: 0;
  background: #10233a;
  box-shadow: 0 34px 90px rgba(22, 35, 58, 0.16);
}

.visibilitySuccessSection::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 221, 143, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(9, 20, 36, 0.84), rgba(9, 20, 36, 0.34) 48%, rgba(9, 20, 36, 0.08)),
    linear-gradient(0deg, rgba(9, 20, 36, 0.72), transparent 46%);
  pointer-events: none;
  content: "";
  z-index: 1;
}

.visibilitySuccessImageWrap,
.visibilitySuccessCopy {
  position: relative;
  z-index: 2;
}

.visibilitySuccessImageWrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  background: #10233a;
  box-shadow: none;
}

.visibilitySuccessImage {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.visibilitySuccessImageWrap::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 32, 56, 0.3), transparent 48%),
    linear-gradient(0deg, rgba(18, 32, 56, 0.36), transparent 42%);
  pointer-events: none;
  content: "";
}

.visibilitySuccessMetric {
  position: absolute;
  z-index: 1;
  right: clamp(22px, 5vw, 80px);
  top: clamp(22px, 5vw, 80px);
  left: auto;
  bottom: auto;
  display: grid;
  gap: 3px;
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(12, 28, 49, 0.22);
  backdrop-filter: blur(14px);
}

.visibilitySuccessMetric strong {
  color: #23395f;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.visibilitySuccessMetric span {
  color: #5d7ea5;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visibilitySuccessCopy {
  display: grid;
  gap: 18px;
  min-width: 0;
  width: min(620px, 100%);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(8, 17, 31, 0.26);
  backdrop-filter: blur(18px);
}

.visibilitySuccessEyebrow {
  color: rgba(255, 221, 143, 0.92);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visibilitySuccessCopy h2 {
  max-width: 13ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.85rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.visibilitySuccessCopy p {
  max-width: 58ch;
  margin: 0;
  color: rgba(245, 249, 252, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 650;
  line-height: 1.72;
}

.engageVisibilitySection {
  position: relative;
  display: grid;
  grid-template-columns: minmax(620px, 1.26fr) minmax(340px, 0.74fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: 100vw;
  min-height: min(860px, 96svh);
  justify-self: center;
  margin-top: -1px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(34px, 6vw, 92px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 228, 171, 0.42), transparent 28%),
    radial-gradient(circle at 90% 82%, rgba(142, 195, 196, 0.26), transparent 34%),
    linear-gradient(135deg, #f8efe1 0%, #eef6f4 48%, #e7eef5 100%);
}

.engageVisibilitySection::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.52), transparent 48%),
    radial-gradient(circle at 52% 50%, rgba(255, 255, 255, 0.68), transparent 38%);
  pointer-events: none;
  content: "";
}

.engageVisibilityCopy,
.engageVisibilityImageWrap {
  position: relative;
  z-index: 1;
}

.engageVisibilityCopy {
  justify-self: end;
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 560px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 34px 74px rgba(55, 68, 88, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(18px);
}

.engageVisibilityEyebrow {
  color: #9b7a42;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.engageVisibilityCopy h2 {
  max-width: 11.5ch;
  margin: 0;
  color: #23395f;
  font-size: clamp(2.35rem, 4.3vw, 4.35rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.engageVisibilityCopy p {
  margin: 0;
  color: #53647f;
  font-size: clamp(1rem, 1.32vw, 1.14rem);
  font-weight: 650;
  line-height: 1.72;
}

.engageVisibilityTakeaway {
  padding-left: 18px;
  border-left: 4px solid rgba(181, 150, 99, 0.56);
}

.engageVisibilityImageWrap {
  justify-self: stretch;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 42px;
  background: #5a3925;
  box-shadow:
    0 44px 90px rgba(59, 69, 89, 0.24),
    0 18px 38px rgba(59, 69, 89, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.engageVisibilityImage {
  display: block;
  width: 100%;
  height: min(720px, 74svh);
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.engageVisibilityImageWrap::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(36, 24, 15, 0.42), transparent 46%),
    linear-gradient(90deg, rgba(36, 24, 15, 0.26), transparent 42%);
  pointer-events: none;
  content: "";
}

.engageVisibilityBadge {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 2.2vw, 28px);
  right: auto;
  bottom: clamp(16px, 2.2vw, 28px);
  display: grid;
  gap: 3px;
  max-width: 210px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 42px rgba(24, 31, 45, 0.24);
  backdrop-filter: blur(14px);
}

.engageVisibilityBadge strong {
  color: #23395f;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.engageVisibilityBadge span {
  color: #5d7ea5;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.homeSeoSection,
.homeFaqSection {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  width: min(var(--marketing-max-width), calc(100vw - 48px));
  justify-self: center;
  padding: clamp(34px, 6vw, 74px) 0;
}

.homeSeoSectionCompact {
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(24px, 3.5vw, 42px) 0;
}

.homeSeoIntro {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.homeSeoSectionCompact .homeSeoIntro {
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  align-items: end;
  gap: clamp(18px, 3vw, 38px);
  max-width: none;
}

.homeSeoSectionCompact .homeSeoIntro .executiveSectionKicker {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.homeSeoIntro h2,
.homeFaqSection h2 {
  margin: 0;
  color: #17354b;
  font-size: clamp(2rem, 4.3vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.homeSeoSectionCompact .homeSeoIntro h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  line-height: 0.95;
}

.homeSeoIntro p:not(.executiveSectionKicker),
.homeFaqSection > p:not(.executiveSectionKicker) {
  margin: 0;
  max-width: 760px;
  color: #5f6d7d;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 650;
  line-height: 1.7;
}

.homeSeoSectionCompact .homeSeoIntro p:not(.executiveSectionKicker) {
  max-width: 58ch;
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.55;
}

.homeSeoGrid,
.homeFaqGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.homeSeoSectionCompact .homeSeoGrid {
  gap: 12px;
}

.homeSeoCard,
.homeFaqCard {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
}

.homeSeoSectionCompact .homeSeoCard {
  position: relative;
  min-height: 0;
  gap: 9px;
  padding: 16px 16px 17px;
  overflow: hidden;
  border-color: rgba(23, 53, 75, 0.12);
  background:
    radial-gradient(circle at 88% 8%, rgba(10, 102, 194, 0.12), transparent 46px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(250, 247, 239, 0.9));
}

.homeSeoSectionCompact .homeSeoCard::after {
  position: absolute;
  right: -20px;
  bottom: -24px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(182, 147, 75, 0.11);
  content: "";
}

.homeSeoIcon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #102b3d;
  color: #f4d38a;
  box-shadow: 0 12px 24px rgba(16, 43, 61, 0.15);
  font-size: 1.05rem;
  font-weight: 900;
}

.homeSeoCard h3,
.homeFaqCard h3 {
  margin: 0;
  color: #17354b;
  font-size: clamp(1.12rem, 1.65vw, 1.45rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.homeSeoSectionCompact .homeSeoCard h3 {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
}

.homeSeoCard p,
.homeFaqCard p {
  margin: 0;
  color: #5f6d7d;
  font-size: 0.96rem;
  line-height: 1.58;
}

.homeSeoSectionCompact .homeSeoCard p {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  overflow: hidden;
  color: #596979;
  font-size: 0.86rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.homeSeoCard a {
  align-self: end;
  margin-top: 4px;
  color: #17354b;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.homeSeoSectionCompact .homeSeoCard a {
  position: relative;
  z-index: 1;
  margin-top: 0;
  font-size: 0.78rem;
  line-height: 1.25;
}

.homeSeoCard a:hover,
.homeSeoCard a:focus-visible {
  color: #0a66c2;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .homeSeoSectionCompact .homeSeoIntro {
    grid-template-columns: 1fr;
  }

  .homeSeoSectionCompact .homeSeoIntro .executiveSectionKicker {
    grid-column: auto;
    margin-bottom: 0;
  }

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

@media (max-width: 640px) {
  .homeSeoSection,
  .homeFaqSection {
    width: calc(100vw - 24px);
    padding: 28px 0;
  }

  .homeSeoGrid,
  .homeFaqGrid {
    grid-template-columns: 1fr;
  }

  .homeSeoSectionCompact .homeSeoCard {
    grid-template-columns: auto 1fr;
    column-gap: 12px;
  }

  .homeSeoSectionCompact .homeSeoCard h3,
  .homeSeoSectionCompact .homeSeoCard p,
  .homeSeoSectionCompact .homeSeoCard a {
    grid-column: 2;
  }

  .homeSeoSectionCompact .homeSeoCard p {
    -webkit-line-clamp: 4;
  }
}

.workflowHeroSection {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: 100vw;
  min-height: min(800px, 94svh);
  justify-self: center;
  margin: -1px calc(50% - 50vw) 0;
  padding: clamp(34px, 6vw, 96px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 232, 185, 0.55), transparent 30%),
    radial-gradient(circle at 78% 20%, rgba(132, 198, 204, 0.34), transparent 34%),
    radial-gradient(circle at 64% 88%, rgba(119, 145, 202, 0.26), transparent 36%),
    linear-gradient(135deg, #f7efe3 0%, #ecf6f5 48%, #e8edf7 100%);
}

.workflowHeroSection::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(35, 57, 95, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 57, 95, 0.07) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.36;
  -webkit-mask-image: radial-gradient(circle at 64% 50%, #000 0, transparent 68%);
  mask-image: radial-gradient(circle at 64% 50%, #000 0, transparent 68%);
  content: "";
}

.workflowHeroCopy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
  max-width: 660px;
  padding: clamp(24px, 4.2vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 34px 84px rgba(47, 64, 91, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.workflowHeroLogo {
  display: inline-block;
  width: clamp(44px, 4.5vw, 66px);
  height: clamp(44px, 4.5vw, 66px);
  padding: 5px;
  margin-right: 0.18em;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    0 18px 34px rgba(47, 64, 91, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  vertical-align: 0.02em;
  object-fit: contain;
}

.workflowHeroCopy h2 {
  max-width: 11.5ch;
  margin: 0;
  color: #23395f;
  font-size: clamp(2.2rem, 4.35vw, 4.65rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.workflowHeroCopy > p {
  max-width: 54ch;
  margin: 0;
  color: #526984;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 650;
  line-height: 1.65;
}

.workflowHeroStartButton {
  justify-self: start;
  margin-top: 4px;
}

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

.workflowHeroButton {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  color: #23395f;
  box-shadow:
    0 18px 42px rgba(67, 82, 109, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  text-decoration: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.workflowHeroButton:hover,
.workflowHeroButton:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(92, 129, 171, 0.34);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 28px 58px rgba(67, 82, 109, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.workflowHeroButtonIndex {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(145deg, #23395f, #68a9a8);
  color: #fff;
  box-shadow:
    0 12px 24px rgba(35, 57, 95, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.workflowHeroButtonText {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.workflowHeroButtonText strong {
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.workflowHeroButtonText small {
  color: #64728a;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.workflowHeroVisual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.workflowShapeHalo {
  position: absolute;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    conic-gradient(from 90deg, rgba(255, 224, 164, 0.44), rgba(93, 151, 183, 0.38), rgba(98, 119, 184, 0.34), rgba(113, 185, 168, 0.4), rgba(255, 224, 164, 0.44));
  filter: blur(34px);
  opacity: 0.56;
  animation: workflow-halo-shift 8s ease-in-out infinite alternate;
}

.workflowShapeScene {
  --workflow-shape-size: clamp(204px, 23.1vw, 326px);
  position: relative;
  width: var(--workflow-shape-size);
  height: var(--workflow-shape-size);
  perspective: 1300px;
  filter: drop-shadow(0 34px 44px rgba(35, 57, 95, 0.3));
}

.workflowShapePointerFrame {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.workflowShape {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  transition: transform 900ms linear;
  will-change: transform;
}

.workflowShapeFace {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: clamp(56px, 5.6vw, 78px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(13px, 2vw, 22px);
  padding: clamp(15px, 2.4vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(75, 111, 153, 0.34);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 1), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(222, 243, 244, 0.84));
  color: #23395f;
  box-shadow:
    0 24px 54px rgba(35, 57, 95, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(81, 124, 154, 0.14);
  text-decoration: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.workflowCubeStep::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.56), transparent 38%),
    radial-gradient(circle at 82% 86%, rgba(72, 145, 158, 0.24), transparent 42%);
  pointer-events: none;
  content: "";
}

.workflowCubeStep:hover,
.workflowCubeStep:focus-visible {
  border-color: rgba(92, 129, 171, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
  filter: saturate(1.08);
  outline: none;
}

.workflowCubeStepIcon,
.workflowCubeStepBody {
  position: relative;
  z-index: 1;
}

.workflowCubeStepIcon {
  display: block;
  width: clamp(56px, 5.6vw, 78px);
  height: clamp(56px, 5.6vw, 78px);
  padding: clamp(5px, 0.8vw, 8px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: clamp(17px, 2vw, 24px);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(196, 225, 232, 0.7));
  box-shadow:
    0 18px 34px rgba(35, 57, 95, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  object-fit: contain;
}

.workflowCubeStepLogo {
  padding: 0;
  overflow: hidden;
}

.workflowCubeStepBody {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.workflowCubeStepBody strong {
  font-size: clamp(1.18rem, 2.45vw, 1.78rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.workflowCubeStepBody small {
  color: #52627a;
  font-size: clamp(0.78rem, 1.12vw, 0.98rem);
  font-weight: 760;
  line-height: 1.18;
}

.workflowCubeStepMuted {
  justify-items: center;
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.78), transparent 42%),
    linear-gradient(135deg, rgba(35, 57, 95, 0.32), rgba(104, 169, 168, 0.28));
}

.workflowShapeFaceFront {
  transform: translateZ(calc(var(--workflow-shape-size) / 2));
}

.workflowShapeFaceBack {
  transform: rotateY(180deg) translateZ(calc(var(--workflow-shape-size) / 2));
}

.workflowShapeFaceRight {
  transform: rotateY(90deg) translateZ(calc(var(--workflow-shape-size) / 2));
}

.workflowShapeFaceLeft {
  transform: rotateY(-90deg) translateZ(calc(var(--workflow-shape-size) / 2));
}

.workflowShapeFaceTop {
  transform: rotateX(90deg) translateZ(calc(var(--workflow-shape-size) / 2));
}

.workflowShapeFaceBottom {
  transform: rotateX(-90deg) translateZ(calc(var(--workflow-shape-size) / 2));
}

.workflowOrbit {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #314b75;
  box-shadow:
    0 22px 44px rgba(51, 68, 99, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: workflow-orbit-float 5.4s ease-in-out infinite;
}

.workflowOrbitOne {
  top: 13%;
  left: 4%;
}

.workflowOrbitTwo {
  top: 24%;
  right: 2%;
  animation-delay: -1.8s;
}

.workflowOrbitThree {
  right: 10%;
  bottom: 16%;
  animation-delay: -3.2s;
}

@keyframes job-search-glow {
  from {
    transform: translate3d(-10px, -10px, 0) scale(0.92);
  }
  to {
    transform: translate3d(24px, 18px, 0) scale(1.08);
  }
}

@keyframes job-search-rainbow-rings {
  from { --job-search-ring-phase: 0px; }
  to { --job-search-ring-phase: 288px; }
}

@keyframes executive-power-float {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 -16px;
    rotate: -2deg;
  }
}

@keyframes workflow-shape-spin {
  0%,
  12% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  18%,
  30% {
    transform: rotateX(0deg) rotateY(-90deg) rotateZ(0deg);
  }

  36%,
  48% {
    transform: rotateX(0deg) rotateY(-180deg) rotateZ(0deg);
  }

  54%,
  66% {
    transform: rotateX(0deg) rotateY(-270deg) rotateZ(0deg);
  }

  72%,
  84% {
    transform: rotateX(-90deg) rotateY(-360deg) rotateZ(0deg);
  }

  92%,
  100% {
    transform: rotateX(0deg) rotateY(-360deg) rotateZ(0deg);
  }
}

@keyframes workflow-halo-shift {
  from {
    transform: scale(0.94) rotate(0deg);
    opacity: 0.58;
  }
  to {
    transform: scale(1.08) rotate(32deg);
    opacity: 0.82;
  }
}

@keyframes workflow-orbit-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@media (max-width: 900px) {
  .jobSearchHero {
    min-height: calc(100svh - 150px);
  }

  .visibilitySuccessSection {
    min-height: 92svh;
    text-align: left;
  }

  .visibilitySuccessCopy {
    justify-items: start;
  }

  .visibilitySuccessCopy h2,
  .visibilitySuccessCopy p {
    max-width: 640px;
  }

  .engageVisibilitySection {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .engageVisibilityCopy {
    justify-self: stretch;
    max-width: 760px;
  }

  .engageVisibilityCopy h2 {
    max-width: 13ch;
  }

  .engageVisibilityImageWrap {
    transform: rotate(0);
  }

  .engageVisibilityImage {
    height: min(560px, 58svh);
  }

  .executivePowerFloatingLogoFrame {
    right: 3%;
    top: 8%;
    width: clamp(88px, 14vw, 120px);
  }

  .workflowHeroSection {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .workflowHeroCopy {
    max-width: 760px;
  }

  .workflowHeroCopy h2 {
    max-width: 12.5ch;
  }

  .workflowHeroVisual {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .jobSearchLanding {
    min-height: calc(100svh - 180px);
    padding: 10px 0 0;
  }

  .jobSearchHero {
    min-height: calc(100svh - 200px);
  }

  .jobSearchHeroContent {
    gap: 18px;
    width: calc(100% - 28px);
    padding: 90px 0 80px;
  }

  .jobSearchEyebrow {
    min-height: 36px;
    padding: 0 13px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .jobSearchHero h1 {
    max-width: 9ch;
    font-size: clamp(3.45rem, 19vw, 5.35rem);
    line-height: 0.88;
  }

  .jobSearchHeroContent > p {
    max-width: 32ch;
    font-size: 1rem;
    line-height: 1.5;
  }

  .jobSearchStartButton {
    width: auto;
    min-width: 184px;
    min-height: 58px;
  }

  .jobSearchBenefits {
    display: grid;
    justify-items: start;
    gap: 8px;
    margin-top: 12px;
    text-align: left;
  }

  .executivePowerFloatingLogoFrame {
    right: 2%;
    top: 15%;
    width: 70px;
    opacity: 0.74;
  }

  .visibilitySuccessSection {
    margin-top: 20px;
    min-height: 86svh;
    padding: 18px;
  }

  .visibilitySuccessSection::before {
    background:
      linear-gradient(0deg, rgba(9, 20, 36, 0.86), rgba(9, 20, 36, 0.26) 58%, rgba(9, 20, 36, 0.08)),
      linear-gradient(90deg, rgba(9, 20, 36, 0.56), transparent);
  }

  .visibilitySuccessImageWrap {
    border-radius: 0;
  }

  .visibilitySuccessImage {
    min-height: 100%;
    object-position: 58% center;
  }

  .visibilitySuccessMetric {
    right: 14px;
    top: 14px;
    left: auto;
    bottom: auto;
    padding: 12px 14px;
    border-radius: 17px;
  }

  .visibilitySuccessCopy {
    gap: 10px;
    padding: 18px;
    border-radius: 22px;
  }

  .visibilitySuccessCopy h2 {
    font-size: clamp(1.85rem, 10vw, 2.65rem);
  }

  .visibilitySuccessCopy p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .engageVisibilitySection {
    gap: 18px;
    padding: 18px;
  }

  .engageVisibilityCopy {
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
  }

  .engageVisibilityCopy h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .engageVisibilityCopy p {
    font-size: 0.92rem;
    line-height: 1.56;
  }

  .engageVisibilityImageWrap {
    border-radius: 24px;
  }

  .engageVisibilityImage {
    height: 380px;
    min-height: 380px;
  }

  .engageVisibilityBadge {
    left: 12px;
    right: auto;
    bottom: 12px;
    max-width: 170px;
    padding: 12px 14px;
    border-radius: 17px;
  }

  .workflowHeroSection {
    gap: 18px;
    padding: 18px;
  }

  .workflowHeroCopy {
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
  }

  .workflowHeroCopy h2 {
    font-size: clamp(1.8rem, 9.5vw, 2.85rem);
  }

  .workflowHeroCopy > p {
    font-size: 0.92rem;
    line-height: 1.56;
  }

  .workflowHeroActions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .workflowHeroButton {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 72px;
    padding: 12px;
    border-radius: 18px;
  }

  .workflowHeroButtonIndex {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .workflowHeroVisual {
    min-height: 310px;
  }

  .workflowShapeScene {
    --workflow-shape-size: 177px;
  }

  .workflowShapeFace {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
    border-radius: 20px;
  }

  .workflowCubeStepIcon {
    width: 46px;
    height: 46px;
    padding: 5px;
    border-radius: 14px;
  }

  .workflowCubeStepBody {
    gap: 5px;
  }

  .workflowCubeStepBody strong {
    font-size: 1.05rem;
  }

  .workflowCubeStepBody small {
    font-size: 0.66rem;
    line-height: 1.16;
  }

  .workflowOrbit {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.62rem;
  }

  .workflowOrbitOne {
    top: 9%;
    left: 2%;
  }

  .workflowOrbitTwo {
    top: 16%;
    right: 1%;
  }

  .workflowOrbitThree {
    right: 5%;
    bottom: 10%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jobSearchHero::before,
  .jobSearchGlow,
  .executivePowerFloatingLogoFrame,
  .workflowShape,
  .workflowShapeHalo,
  .workflowOrbit {
    animation: none;
  }
}

.coverLayout {
  display: grid;
  gap: 28px;
  padding: 30px 0 48px;
}

.coverHero {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
  gap: 20px;
  justify-self: center;
  width: min(var(--marketing-max-width), 100%);
  margin-top: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  align-items: start;
}

.coverHeroMain {
  display: grid;
  align-content: start;
  gap: 22px;
  padding-top: 0;
  min-width: 0;
}

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

.coverHeroCopy h1 {
  max-width: 14ch;
  font-size: clamp(1.6rem, 2.95vw, 2.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.coverHeroCopy .eyebrow {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  letter-spacing: 0.06em;
}

.coverLead {
  max-width: 38rem;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.34;
  white-space: normal;
}

.coverActions {
  gap: 14px;
  margin-top: 6px;
}

.coverPrimaryAction,
.coverSecondaryAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.coverPrimaryAction {
  color: #fbfaf7;
  border: 1px solid var(--primary);
  background: var(--primary);
  box-shadow: 0 18px 28px rgba(15, 40, 58, 0.12);
}

.coverPrimaryAction:hover {
  transform: translateY(-4px) scale(1.035);
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  box-shadow: 0 22px 34px rgba(15, 40, 58, 0.2);
}

.coverPrimaryAction:active,
.coverSecondaryAction:active {
  transform: translateY(0) scale(0.97);
}

.coverSecondaryAction {
  color: var(--text);
  border: 1px solid rgba(178, 191, 213, 0.92);
  background: rgba(241, 245, 250, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.coverSecondaryAction:hover {
  transform: translateY(-4px) scale(1.035);
  border-color: rgba(160, 174, 197, 0.98);
  background: rgba(245, 248, 252, 0.92);
  box-shadow: 0 16px 26px rgba(15, 40, 58, 0.1);
}

.coverHeroPanel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  background: transparent;
  padding: 0 0 24px;
  overflow: visible;
}

.coverWorkflow {
  width: min(560px, 100%);
}

.processAnimationSection {
  position: relative;
  display: grid;
  gap: 24px;
  width: min(var(--marketing-max-width), 100%);
  justify-self: center;
  margin: 18px 0 6px;
  padding: clamp(24px, 3.2vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(132, 148, 168, 0.32);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(23, 53, 75, 0.055) 1px, transparent 1px) 0 0 / 76px 100%,
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 246, 249, 0.84));
  box-shadow:
    0 18px 46px rgba(15, 40, 58, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.processAnimationSection::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  border: 1px solid rgba(23, 53, 75, 0.07);
  pointer-events: none;
}

.landingProcessAnimation {
  margin: clamp(34px, 5vw, 72px) 0 clamp(36px, 6vw, 84px);
}

.processAnimationHeader {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.processAnimationHeader h2 {
  max-width: 720px;
  font-size: clamp(1.28rem, 2.1vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.processAnimationRail {
  position: relative;
  z-index: 1;
  height: 10px;
  margin: 2px 8px 0;
}

.processAnimationTrack,
.processAnimationFill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.processAnimationTrack {
  background: rgba(23, 53, 75, 0.12);
  box-shadow: inset 0 0 0 1px rgba(23, 53, 75, 0.06);
}

.processAnimationFill {
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  box-shadow: 0 0 24px rgba(181, 150, 99, 0.22);
  transition: width 620ms ease;
}

.processAnimationFill.without-transition {
  transition: none;
}

.processAnimationFill.progress-0 {
  width: 0%;
}

.processAnimationFill.progress-25 {
  width: 25%;
}

.processAnimationFill.progress-50 {
  width: 50%;
}

.processAnimationFill.progress-75 {
  width: 75%;
}

.processAnimationFill.progress-100 {
  width: 100%;
}

.processAnimationSteps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.processAnimationStep {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(166, 178, 196, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  text-decoration: none;
  transform-origin: center;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.processAnimationStep:hover,
.processAnimationStep:focus-visible,
.processAnimationStep.active {
  border-color: rgba(23, 53, 75, 0.52);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 4px rgba(23, 53, 75, 0.07),
    0 18px 34px rgba(15, 40, 58, 0.14);
}

.processStepMarker {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(23, 53, 75, 0.14);
  background: rgba(219, 232, 241, 0.72);
  color: var(--primary-strong);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.processAnimationStep.active .processStepMarker,
.processAnimationStep:hover .processStepMarker,
.processAnimationStep:focus-visible .processStepMarker {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.processStepBody {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.processStepBody strong {
  font-size: 1.02rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.processStepBody span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.28;
}

@media (min-width: 981px) {
  .signalStory {
    width: min(100%, 655px);
    min-height: clamp(468px, 33.6vw, 554px);
    padding: clamp(15px, 2.1vw, 24px);
  }

  .signalPageDeck {
    min-height: clamp(360px, 26vw, 454px);
  }

  .signalPage {
    padding: clamp(15px, 2.1vw, 24px);
  }

  .signalPageVisual,
  .estimateVisual {
    min-height: clamp(286px, 20vw, 361px);
  }

  .growthGraphic,
  .thinkingVisual,
  .commentsVisual {
    width: min(504px, 100%);
    min-height: clamp(269px, 19vw, 344px);
  }
}

.signalStory {
  display: grid;
  grid-template-rows: 1fr auto auto;
  width: min(100%, 780px);
  min-height: clamp(560px, 40vw, 660px);
  margin-top: 0;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(132, 148, 168, 0.32);
  border-radius: 24px;
  position: relative;
  background:
    radial-gradient(circle at 18% 14%, rgba(23, 53, 75, 0.16), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(181, 150, 99, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 250, 0.92)),
    repeating-linear-gradient(90deg, rgba(23, 53, 75, 0.04) 0 1px, transparent 1px 78px);
  box-shadow:
    0 20px 48px rgba(15, 40, 58, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.signalStory::before,
.signalStory::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.signalStory::before {
  inset: 24px;
  border: 1px solid rgba(23, 53, 75, 0.08);
  box-shadow: inset 0 0 42px rgba(23, 53, 75, 0.05);
}

.signalStory::after {
  width: 260px;
  height: 260px;
  right: -96px;
  top: -88px;
  background: radial-gradient(circle, rgba(181, 150, 99, 0.2), transparent 66%);
}

.signalPageDeck {
  position: relative;
  min-height: clamp(430px, 31vw, 540px);
  perspective: 1200px;
  z-index: 1;
  pointer-events: none;
}

.signalPage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(15, 40, 58, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateX(42px) rotateY(-16deg) scale(0.96);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.signalPage.active {
  opacity: 1;
  pointer-events: none;
  transform: translateX(0) rotateY(0) scale(1);
}

.signalPageVisual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(340px, 24vw, 430px);
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.96), transparent 26%),
    radial-gradient(circle at 78% 76%, rgba(181, 150, 99, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(23, 53, 75, 0.08), rgba(181, 150, 99, 0.1)),
    rgba(247, 250, 252, 0.92);
}

.signalPageVisual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(23, 53, 75, 0.045) 1px, transparent 1px) 0 0 / 100% 42px,
    linear-gradient(90deg, rgba(23, 53, 75, 0.035) 1px, transparent 1px) 0 0 / 56px 100%;
  -webkit-mask-image: linear-gradient(135deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(135deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.signalPageCopy {
  display: grid;
  gap: 8px;
}

.signalPageCopy span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signalPageCopy h3 {
  max-width: 30rem;
  font-size: clamp(1.04rem, 1.55vw, 1.35rem);
}

.signalPageCopy strong {
  color: var(--primary-strong);
  font-size: clamp(1.12rem, 2.2vw, 1.8rem);
  line-height: 1.12;
}

.estimateVisual,
.thinkingVisual,
.commentsVisual {
  position: relative;
  z-index: 2;
  width: min(520px, 96%);
  min-height: 210px;
}

.estimateVisual {
  display: grid;
  place-items: center;
  align-content: center;
  width: min(620px, 98%);
  min-height: clamp(340px, 24vw, 430px);
}

.growthGraphic {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.86fr);
  grid-template-rows: auto minmax(170px, 1fr);
  gap: 14px 18px;
  align-items: stretch;
  width: min(600px, 100%);
  min-height: clamp(320px, 23vw, 410px);
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 53, 75, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(181, 150, 99, 0.26), transparent 28%),
    radial-gradient(circle at 16% 92%, rgba(34, 116, 82, 0.12), transparent 30%),
    linear-gradient(135deg, #fbfdfe 0%, #e8f0f5 100%);
  box-shadow:
    0 26px 56px rgba(15, 40, 58, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.growthGraphic::before {
  content: "";
  position: absolute;
  inset: -38% -18% auto;
  height: 68%;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.76) 48%, transparent 72%);
  transform: translateX(-42%) rotate(10deg);
  opacity: 0.62;
  pointer-events: none;
}

.growthPlan {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
}

.growthPlan span {
  padding: 11px 16px;
  border: 1px solid rgba(23, 53, 75, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #071826;
  font-size: clamp(1.02rem, 1.42vw, 1.2rem);
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(15, 40, 58, 0.08);
}

.growthChart {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 1px solid rgba(23, 53, 75, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(rgba(23, 53, 75, 0.06) 1px, transparent 1px) 0 0 / 100% 34px,
    rgba(255, 255, 255, 0.74);
}

.growthBars {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(72%, 230px);
  height: calc(100% - 40px);
  display: flex;
  align-items: end;
  justify-content: center;
  gap: clamp(10px, 4.2%, 18px);
  transform: translateX(-50%);
}

.growthBars i {
  flex: 0 0 clamp(28px, 14%, 42px);
  border-radius: 999px 999px 6px 6px;
  background: rgba(23, 53, 75, 0.22);
  transform-origin: bottom;
}

.growthBars i:nth-child(1) {
  height: 30%;
}

.growthBars i:nth-child(2) {
  height: 48%;
  animation-delay: 120ms;
}

.growthBars i:nth-child(3) {
  height: 68%;
  background: rgba(23, 53, 75, 0.42);
  animation-delay: 240ms;
}

.growthBars i:nth-child(4) {
  height: 92%;
  background: var(--primary);
  animation-delay: 360ms;
}

.growthTrend {
  position: absolute;
  left: 34px;
  bottom: 42px;
  width: 150px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  transform: rotate(-26deg);
  transform-origin: left center;
}

.growthArrow {
  position: absolute;
  right: 22px;
  top: 32px;
  width: 0;
  height: 0;
  border-left: 11px solid var(--gold);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  transform: rotate(-26deg);
}

.growthTrend,
.growthArrow {
  display: none;
}

.signalFlow {
  --signal-edge-offset: 0px;
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}

.signalFlow i {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow:
    0 0 0 8px rgba(181, 150, 99, 0.12),
    0 0 22px rgba(181, 150, 99, 0.38);
  opacity: 0;
  animation: signalChartEdge 7.2s linear infinite;
}

.signalFlow i:nth-child(1) {
  animation-delay: 0ms;
}

.signalFlow i:nth-child(2) {
  background: #227452;
  box-shadow:
    0 0 0 8px rgba(34, 116, 82, 0.11),
    0 0 22px rgba(34, 116, 82, 0.34);
  animation-delay: 520ms;
}

.signalFlow i:nth-child(3) {
  background: var(--primary);
  box-shadow:
    0 0 0 8px rgba(23, 53, 75, 0.1),
    0 0 22px rgba(23, 53, 75, 0.32);
  animation-delay: 1040ms;
}

.growthResult {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 3;
  display: grid;
  align-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #06131f, var(--primary));
  box-shadow:
    0 28px 56px rgba(15, 40, 58, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.growthResult::before {
  content: "";
  position: absolute;
  inset: -30% auto -30% -44%;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(18deg);
  pointer-events: none;
}

.growthResult strong {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.growthResult span {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.42vw, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.compactGrowthResult {
  gap: 8px;
  padding: 16px;
}

.compactGrowthResult strong {
  max-width: 100%;
  font-size: clamp(1.18rem, 1.7vw, 1.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
}

.compactGrowthResult strong span {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: none;
}

.compactGrowthResult .nowrap {
  white-space: nowrap;
}

.compactGrowthResult span {
  font-size: clamp(0.76rem, 1.05vw, 0.95rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.growthResultRange {
  display: flex;
  align-items: baseline;
  gap: 0.14em;
  flex-wrap: wrap;
}

.growthResult .growthResultPercent {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.45rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-transform: none;
}

.growthResult .growthResultJoiner {
  color: #fff;
  font-size: clamp(0.9rem, 1.45vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.thinkingVisual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.86fr);
  grid-template-rows: auto minmax(170px, 1fr);
  gap: 14px 18px;
  align-items: stretch;
  width: min(600px, 100%);
  min-height: clamp(320px, 23vw, 410px);
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 53, 75, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(181, 150, 99, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fbfc 0%, #eaf1f5 100%);
  box-shadow: 0 22px 48px rgba(15, 40, 58, 0.14);
}

.thinkingBoard {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 1px solid rgba(23, 53, 75, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(rgba(23, 53, 75, 0.06) 1px, transparent 1px) 0 0 / 100% 34px,
    rgba(255, 255, 255, 0.74);
}

.thinkingPost {
  display: grid;
  gap: 13px;
  width: min(220px, 78%);
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 40, 58, 0.12);
}

.thinkingPost span {
  height: 12px;
  border-radius: 999px;
  background: rgba(23, 53, 75, 0.14);
}

.thinkingPost span:nth-child(2) {
  width: 78%;
}

.thinkingPost span:nth-child(3) {
  width: 58%;
}

.thinkingSignal {
  position: absolute;
  right: 18px;
  top: 18px;
  display: flex;
  gap: 8px;
}

.thinkingSignal i {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(181, 150, 99, 0.22);
}

.thinkingSignal i:nth-child(2) {
  background: rgba(23, 53, 75, 0.16);
  animation-delay: 400ms;
}

.thinkingSignal i:nth-child(3) {
  background: rgba(34, 116, 82, 0.16);
  animation-delay: 800ms;
}

.commentsVisual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.86fr);
  grid-template-rows: auto minmax(170px, 1fr);
  gap: 14px 18px;
  align-items: stretch;
  width: min(600px, 100%);
  min-height: clamp(320px, 23vw, 410px);
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 53, 75, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(181, 150, 99, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fbfc 0%, #eaf1f5 100%);
  box-shadow: 0 22px 48px rgba(15, 40, 58, 0.14);
}

.commentBoard {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 1px solid rgba(23, 53, 75, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(rgba(23, 53, 75, 0.06) 1px, transparent 1px) 0 0 / 100% 34px,
    rgba(255, 255, 255, 0.74);
}

.commentThread {
  display: grid;
  gap: 12px;
  width: min(230px, 78%);
}

.commentThread span {
  display: block;
  height: 46px;
  border: 1px solid rgba(23, 53, 75, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(15, 40, 58, 0.08);
}

.commentThread span:nth-child(2) {
  margin-left: 34px;
  background: rgba(219, 232, 241, 0.72);
}

.commentThread span:nth-child(3) {
  width: 72%;
}

.commentPath {
  position: absolute;
  inset: 22px 16px auto;
  display: flex;
  justify-content: space-between;
}

.commentPath i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #fff;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 900;
  background: var(--primary);
  box-shadow: 0 12px 24px rgba(15, 40, 58, 0.14);
}

.anime-enhanced .growthBars i,
.anime-enhanced .growthTrend,
.anime-enhanced .growthArrow,
.anime-enhanced .thinkingSignal i,
.anime-enhanced .commentPath i {
  animation: none;
}

.commentPath i:nth-child(2) {
  background: var(--gold);
  animation-delay: 500ms;
}

.commentPath i:nth-child(3) {
  background: #227452;
  animation-delay: 900ms;
}

.signalPageControls {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.signalPageButton {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 999px;
  font-size: 1.08rem;
  line-height: 1;
}

.signalPageCounter {
  display: none;
}

.signalPageDots {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 66px;
  margin-top: 0;
}

.signalPageDots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(23, 53, 75, 0.18);
  transition:
    width 180ms ease,
    background 180ms ease;
}

.signalPageDots span.active {
  width: 34px;
  background: var(--primary);
}

@keyframes bubbleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes growthBarRise {
  0%,
  100% {
    transform: scaleY(0.72);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes growthTrendSweep {
  0%,
  100% {
    opacity: 0.7;
    transform: rotate(-26deg) scaleX(0.78);
  }
  50% {
    opacity: 1;
    transform: rotate(-26deg) scaleX(1);
  }
}

@keyframes growthArrowPulse {
  0%,
  100% {
    transform: translate(-8px, 8px) rotate(-26deg) scale(0.9);
  }
  50% {
    transform: translate(0, 0) rotate(-26deg) scale(1);
  }
}

@keyframes signalChartEdge {
  0% {
    left: calc(100% + var(--signal-edge-offset));
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.62);
  }
  5% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  8% {
    left: calc(100% + var(--signal-edge-offset));
    top: calc(0% - var(--signal-edge-offset));
  }
  22% {
    left: calc(0% - var(--signal-edge-offset));
    top: calc(0% - var(--signal-edge-offset));
  }
  36% {
    left: calc(0% - var(--signal-edge-offset));
    top: calc(100% + var(--signal-edge-offset));
  }
  50% {
    left: calc(100% + var(--signal-edge-offset));
    top: calc(100% + var(--signal-edge-offset));
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  58% {
    left: calc(100% + var(--signal-edge-offset));
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  62%,
  100% {
    left: calc(100% + var(--signal-edge-offset));
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.62);
  }
}

@keyframes numberPop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.coverWorkflowHeader {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 14px;
}

.workflowEyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflowExplanation {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(127, 142, 159, 0.32);
}

.workflowMobileExplanation {
  display: none;
}

.workflowIntroduction {
  margin: 0;
  padding: 16px 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.workflowExplanationStep {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(127, 142, 159, 0.24);
}

.workflowExplanationNo {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 800;
}

.workflowExplanationStep h2 {
  font-size: 1.04rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.workflowExplanationStep p {
  margin: 7px 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.48;
}

.workflowExplanationStep a {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration-color: rgba(23, 53, 75, 0.34);
  text-underline-offset: 3px;
}

.workflowExplanationStep a:hover {
  color: var(--primary-strong);
  text-decoration-color: currentColor;
}

.workflowExplanationLinks {
  display: flex;
  gap: 8px 14px;
  flex-wrap: wrap;
}

.workflowCardList {
  display: grid;
  gap: 18px;
}

.workflowCard {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 112px;
  padding: 24px 28px;
  border-radius: 24px;
  border: 1px solid rgba(183, 190, 205, 0.72);
  background: linear-gradient(180deg, rgba(239, 244, 251, 0.76), rgba(255, 255, 255, 0.88));
  box-shadow: 0 18px 28px rgba(30, 40, 55, 0.05);
  text-decoration: none;
  color: var(--text);
  transform-origin: center left;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.workflowCard:hover {
  transform: none;
  border-color: rgba(183, 190, 205, 0.72);
  background: linear-gradient(180deg, rgba(239, 244, 251, 0.76), rgba(255, 255, 255, 0.88));
  box-shadow: 0 18px 28px rgba(30, 40, 55, 0.05);
}

.workflowCard:active {
  transform: translateY(-2px) scale(0.99);
  box-shadow:
    0 0 0 3px rgba(23, 53, 75, 0.08),
    0 12px 24px rgba(15, 40, 58, 0.14);
}

.workflowCard.active {
  border-color: rgba(169, 182, 205, 0.84);
  background: linear-gradient(180deg, rgba(231, 238, 249, 0.86), rgba(255, 255, 255, 0.96));
}

.workflowCardNo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  border: 1px solid rgba(185, 190, 200, 0.9);
  background: rgba(255, 255, 255, 0.98);
  color: #2c313b;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.workflowCard:hover .workflowCardNo,
.workflowCard:focus-visible .workflowCardNo {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  transform: scale(1.04);
}

.workflowCard strong {
  display: block;
  font-size: clamp(1.18rem, 1.7vw, 1.58rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.workflowCard p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.projectedWorkflowCard {
  z-index: 3;
}

.projectedWorkflowCard::before {
  content: none;
  position: absolute;
  left: 100%;
  top: 0;
  width: 72px;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(122, 153, 176, 0.36), rgba(122, 153, 176, 0.2) 56%, transparent 100%);
  clip-path: polygon(0 0, 100% 32%, 100% 68%, 0 100%);
  filter: blur(0.4px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-14px) scaleX(0.62);
  transform-origin: left center;
  transition:
    opacity 180ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.workflowPopover {
  position: absolute;
  left: calc(100% + 34px);
  top: 50%;
  width: min(420px, 42vw);
  padding: 22px 24px;
  border: 1px solid rgba(169, 182, 205, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.74) inset,
    0 0 34px rgba(219, 232, 241, 0.76),
    0 24px 60px rgba(15, 40, 58, 0.18);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: translate(-16px, -50%) scale(0.96);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.workflowPopover::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  width: 72px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(122, 153, 176, 0.34));
  clip-path: polygon(0 32%, 100% 0, 100% 100%, 0 68%);
  transform: none;
}

.workflowPopover::after {
  content: none;
}

.workflowPopover strong {
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.workflowPopover p {
  margin: 10px 0 0;
  color: #535a64;
  font-size: 0.9rem;
  line-height: 1.5;
}

.workflowPopover ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #454b55;
  font-size: 0.86rem;
  line-height: 1.45;
}

.workflowPopover li + li {
  margin-top: 7px;
}

.projectedWorkflowCard:hover,
.projectedWorkflowCard:focus-visible {
  z-index: 8;
}

.projectedWorkflowCard:hover .workflowPopover,
.projectedWorkflowCard:focus-visible .workflowPopover {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.projectedWorkflowCard:hover::before,
.projectedWorkflowCard:focus-visible::before {
  content: none;
}

.stepOneCard,
.settingsCard,
.inputPanel {
  background: var(--surface);
}

.stepOneCard,
.settingsCard {
  padding: 24px;
}

.stepOneCard {
  scroll-margin-top: 148px;
}

body[data-page="step1"] .stepOneCard,
body[data-page="step1"] .savedIdeasCard,
body[data-page="step1"] .coverLayout > #status {
  width: 100%;
}

@media (min-width: 1280px) {
  body[data-page="step1"] .stepOneCard,
  body[data-page="step1"] .savedIdeasCard {
    padding: 26px;
  }

  body[data-page="step1"] .generatedIdeaCards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
  }

  body[data-page="step1"] .savedIdeaControls {
    grid-template-columns: minmax(280px, 360px) minmax(560px, 1fr);
  }
}

.stepOneIntro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.stepOneIntro h1 {
  max-width: none;
  font-size: clamp(2.25rem, 4.15vw, 3.35rem);
  line-height: 0.98;
}

.ideaTopicCard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px 18px;
  margin-bottom: 18px;
}

.ideaTopicHeader {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.ideaTopicHeader h2 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
}

.ideaTopicSummary {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

html.ideaTopicDialogOpen,
body.ideaTopicDialogOpen {
  overflow: hidden;
}

body[data-page="step1"] > :not(.ideaTopicDialog):not(.messageDialog):not(script):not(style) {
  transform-origin: center;
  transition:
    filter 920ms var(--idea-source-ease-sine),
    transform 920ms var(--idea-source-ease-sine);
}

body.ideaTopicDialogOpen > :not(.ideaTopicDialog):not(.messageDialog):not(script):not(style) {
  filter: blur(16px) saturate(0.72) brightness(0.46);
  transform: scale(1.01);
  pointer-events: none;
  user-select: none;
}

.ideaTopicControls {
  grid-column: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  flex-wrap: wrap;
  justify-self: start;
}

.ideaTopicCard,
.ideaTopicCard *,
.ideaTopicDialog,
.ideaTopicDialog * {
  animation-timing-function: var(--idea-source-ease-sine);
  transition-timing-function: var(--idea-source-ease-sine);
}

.ideaTopicOpenBtn {
  flex: 0 0 auto;
}

.resumeTopicsBtn {
  flex: 0 0 auto;
}

.resumeTopicsWait {
  grid-column: 2;
  display: grid;
  align-self: center;
  justify-self: start;
  gap: 9px;
  width: min(420px, 100%);
  min-width: min(100%, 280px);
  padding: 10px 14px;
  border: 1px solid rgba(23, 53, 75, 0.38);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #08283d;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  box-shadow:
    0 12px 28px rgba(23, 53, 75, 0.16),
    0 0 20px rgba(96, 217, 255, 0.16);
}

.resumeTopicsWait[hidden] {
  display: none;
}

.ideaTopicCustomControls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 520px;
  min-width: min(100%, 420px);
  max-width: 520px;
  margin-right: auto;
}

.ideaTopicCustomInput {
  flex: 1 1 420px;
  width: min(440px, 100%);
  min-height: 38px;
  padding: 0 2px 6px;
  border: 0;
  border-bottom: 2px solid rgba(251, 250, 247, 0.58);
  border-radius: 0;
  background: transparent;
  color: var(--idea-source-text);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.ideaTopicCustomInput::placeholder {
  color: rgba(251, 250, 247, 0.62);
}

.ideaTopicCustomInput:focus {
  border-color: rgba(139, 211, 255, 0.86);
  background: transparent;
  box-shadow: none;
  outline: none;
}

.ideaTopicAddBtn {
  flex: 0 0 auto;
}

.ideaTopicSelectedSummary {
  grid-column: 2;
  display: grid;
  gap: 8px;
  min-height: 34px;
  min-width: 0;
  align-self: center;
}

.ideaTopicSelectedSummary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ideaTopicSummaryGroup {
  display: grid;
  gap: 0;
  min-width: 0;
}

.ideaTopicSummaryChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ideaTopicSummaryChip {
  --summary-chip-size: 0.78rem;
  --summary-chip-max-size: 1.256rem;
  --summary-chip-label-ch: 8;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: calc((var(--summary-chip-label-ch) * var(--summary-chip-max-size) * 0.62) + 22px);
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3f4650;
  cursor: pointer;
  font-size: var(--summary-chip-size);
  font-weight: 400;
  line-height: 1.12;
  white-space: nowrap;
  box-shadow: none;
  overflow: visible;
  transition:
    font-size 420ms var(--idea-source-ease-sine),
    border-color 220ms var(--idea-source-ease-sine),
    background 220ms var(--idea-source-ease-sine);
}

.ideaTopicSummaryChip:hover {
  border-color: rgba(22, 24, 29, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  transform: none;
}

.ideaTopicSummaryChip:active {
  box-shadow: none;
  transform: none;
}

.ideaTopicSummaryCloud {
  --summary-cloud-height: 180px;
  position: relative;
  width: 100%;
  height: var(--summary-cloud-height);
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(34, 87, 122, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 22%, rgba(42, 157, 143, 0.09), transparent 34%),
    radial-gradient(circle at 84% 78%, rgba(106, 76, 147, 0.08), transparent 36%),
    rgba(250, 251, 252, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ideaTopicSummaryCloud.is-cloud-laying-out .ideaTopicSummaryWord:not(.is-cloud-positioned) {
  opacity: 0;
}

.ideaTopicSummaryChip.ideaTopicSummaryWord {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: max-content;
  min-width: 0;
  min-height: 0;
  max-width: calc(100% - 20px);
  height: auto;
  padding: 3px 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--summary-word-color, #22577a);
  font-size: var(--summary-chip-size);
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  opacity: 1;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition:
    left 620ms var(--idea-source-ease-sine),
    top 620ms var(--idea-source-ease-sine),
    font-size 420ms var(--idea-source-ease-sine),
    color 220ms ease,
    text-shadow 220ms ease,
    opacity 220ms ease;
}

.ideaTopicSummaryChip.ideaTopicSummaryWord:hover {
  border: 0;
  background: transparent;
  color: var(--summary-word-color, #22577a);
  text-shadow:
    0 0 8px color-mix(in srgb, var(--summary-word-color, #22577a) 58%, transparent),
    0 0 18px color-mix(in srgb, var(--summary-word-color, #22577a) 34%, transparent);
  box-shadow: none;
  transform: translate(-50%, -50%);
}

.ideaTopicSummaryChip.ideaTopicSummaryWord:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.ideaTopicSummaryChip.ideaTopicSummaryWord:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--summary-word-color, #22577a) 72%, white);
  outline-offset: 3px;
}

.ideaTopicDialog {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: stretch;
  padding: 0;
  overflow: hidden;
}

.ideaTopicDialogBackdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(7, 28, 44, 0.5), rgba(8, 80, 88, 0.42)),
    rgba(4, 10, 18, 0.34);
  -webkit-backdrop-filter: blur(14px) saturate(0.82) brightness(0.76);
  backdrop-filter: blur(14px) saturate(0.82) brightness(0.76);
  animation: ideaTopicBackdropIn 920ms var(--idea-source-ease-sine) forwards;
}

.ideaRelatedTopicsWait {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  cursor: wait;
  touch-action: none;
  background: rgba(3, 12, 20, 0.68);
  -webkit-backdrop-filter: blur(12px) saturate(1.08) brightness(0.9);
  backdrop-filter: blur(12px) saturate(1.08) brightness(0.9);
}

.ideaRelatedTopicsWait[hidden] {
  display: none;
}

.ideaRelatedTopicsWaitCard {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(460px, calc(100vw - 48px));
  padding: 18px 22px;
  border: 1px solid rgba(23, 53, 75, 0.38);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.32),
    0 0 36px rgba(96, 217, 255, 0.24);
  color: #08283d;
  text-align: center;
}

.ideaRelatedTopicsWaitText {
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.3;
}

.ideaRelatedTopicsWait .aiWaitProgressPercent {
  --ai-wait-progress-fill: rgba(73, 221, 210, 0.62);
  --ai-wait-progress-track: rgba(255, 255, 255, 0.82);
  width: 100%;
  color: #08283d;
}

html.is-adding-related-topics,
body.is-adding-related-topics {
  overflow: hidden;
  cursor: wait;
}

.ideaTopicDialogPanel {
  --idea-source-text: #fbfaf7;
  --idea-source-selected: #ff9b9b;
  --idea-topic-row-height: clamp(58px, 6.7vh, 78px);
  --idea-topic-custom-row-height: clamp(58px, 6.8vh, 78px);
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  width: 100vw;
  height: 100vh;
  max-height: none;
  overflow: hidden;
  padding: clamp(18px, 3vw, 40px) clamp(56px, 7vw, 112px) 78px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: ideaTopicPanelIn 600ms var(--idea-source-ease-sine) both;
}

.ideaTopicDialog.is-topic-compact .ideaTopicDialogPanel {
  --idea-topic-row-height: clamp(46px, 5.4vh, 62px);
  --idea-topic-custom-row-height: clamp(46px, 5.4vh, 62px);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 2px;
}

.ideaTopicDialog.has-many-custom-topics .ideaTopicDialogPanel {
  grid-template-rows: auto minmax(0, 1fr);
}

.ideaTopicDialogPanel h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ideaTopicDialogDescription {
  position: relative;
  z-index: 3;
  justify-self: center;
  align-self: start;
  max-width: min(100%, 42rem);
  margin: 0;
  color: #9ed7ff;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 8px rgb(5 18 30 / 0.28);
  pointer-events: none;
}

.ideaTopicDialogActions {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  width: min(100% - 160px, 1260px);
  margin: 0;
  padding: 0;
  border-top: 0;
  background: transparent;
  transform: translateX(-50%);
}

.ideaTopicDialogActions button {
  flex: 0 0 auto;
  width: auto;
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
}

.ideaTopicUndoBtn:disabled,
.ideaTopicRedoBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

button.ideaTopicWord .ideaTopicLabelText {
  display: inline-grid;
  gap: 0.02em;
  width: 100%;
  max-width: 100%;
  justify-self: center;
  align-self: center;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

button.ideaTopicWord {
  grid-template-columns: auto auto;
  column-gap: 0.19em;
}

.ideaTopicAddMark {
  position: relative;
  display: inline-block;
  width: 0.92em;
  height: 0.92em;
  border: 0.08em solid currentColor;
  border-radius: 50%;
  color: #35bf43;
  font-size: 0.72em;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    box-shadow 180ms ease;
}

.ideaTopicAddMark.is-loading {
  pointer-events: none;
  animation: ideaTopicAddMarkLoading 760ms ease-in-out infinite alternate;
}

.ideaTopicAddMark::before,
.ideaTopicAddMark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56%;
  height: 0.1em;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.ideaTopicAddMark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

button.ideaTopicWord .ideaTopicLabelText {
  transition: text-shadow 180ms ease;
}

button.ideaTopicWord .ideaTopicLabelText:hover {
  text-shadow:
    0 0 5px currentColor,
    0 0 12px currentColor,
    0 0 22px rgba(139, 211, 255, 0.72);
}

button.ideaTopicWord .ideaTopicAddMark:hover {
  color: #55e263;
  text-shadow:
    0 0 4px currentColor,
    0 0 9px currentColor;
  box-shadow:
    0 0 6px currentColor,
    0 0 15px rgba(53, 191, 67, 0.88),
    0 0 26px rgba(53, 191, 67, 0.5);
}

.ideaTopicDialog.is-d3-cloud button.ideaTopicWord.is-related-topic-entering {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
}

.ideaTopicLabelLine {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

button.ideaTopicWord.is-hero .ideaTopicLabelText {
  transform: none;
}

.ideaTopicCloud button.ideaTopicWord:not(.is-selected) .ideaTopicLabelText {
  transform: none;
}

button.ideaTopicWord::before,
.ideaTopicSummaryChip::before {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1000;
  display: grid;
  place-items: center;
  min-width: 1.4rem;
  color: #8bd3ff;
  content: attr(data-weight-flash);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  text-shadow:
    0 0 12px rgba(139, 211, 255, 0.72),
    0 2px 8px rgba(4, 12, 18, 0.44);
  transform: translate(-50%, -50%) scale(0.72);
}

button.ideaTopicWord.is-weight-flashing::before,
.ideaTopicSummaryChip.is-weight-flashing::before {
  animation: ideaTopicWeightFlash 1000ms var(--idea-source-ease-sine) both;
}

button.ideaTopicWord.is-weight-flashing,
.ideaTopicSummaryChip.is-weight-flashing {
  z-index: 1000 !important;
  isolation: isolate;
  overflow: visible;
}

button.ideaTopicWord.is-zero-weight,
button.ideaTopicWord.is-zero-weight:hover,
button.ideaTopicWord.is-zero-weight:active {
  color: #8d949b;
  opacity: 0.72;
  text-shadow: none;
}

.ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord.is-zero-weight.is-cloud-positioned {
  opacity: 0.72 !important;
}

.ideaTopicCloud {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(var(--idea-topic-row-height), auto);
  align-items: center;
  justify-items: center;
  justify-content: stretch;
  gap: clamp(12px, 1.8vh, 24px) clamp(18px, 2.2vw, 34px);
  align-content: start;
  align-self: stretch;
  min-height: 0;
  overflow: visible;
  margin-top: 0;
  padding: 0 0 10px;
  background: transparent;
}

.ideaTopicDialog.is-topic-compact .ideaTopicCloud {
  gap: clamp(6px, 0.9vh, 12px) clamp(16px, 2vw, 28px);
  padding-bottom: 2px;
}

.ideaTopicCloud.has-custom-topics {
  gap: clamp(8px, 1.2vh, 16px) clamp(18px, 2.5vw, 42px);
  align-content: space-evenly;
}

.ideaTopicCloud.has-custom-topics.is-dense {
  grid-auto-rows: minmax(var(--idea-topic-row-height), auto);
  gap: clamp(6px, 0.85vh, 10px) clamp(16px, 2.2vw, 34px);
  align-content: space-evenly;
}

.ideaTopicCloud:has(.is-weight-flashing),
.ideaTopicCustomCloud:has(.is-weight-flashing) {
  z-index: 1002;
}

.ideaTopicCustomCloud {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(var(--idea-topic-custom-row-height), auto);
  align-items: center;
  justify-items: center;
  justify-content: stretch;
  align-content: start;
  gap: clamp(16px, 2.4vh, 30px) clamp(22px, 4vw, 56px);
  min-height: 0;
  overflow: visible;
  margin-top: 0;
  padding: 4px clamp(132px, 15vw, 220px) 8px clamp(28px, 5vw, 72px);
  background: transparent;
  transform: none;
}

.ideaTopicDialog.is-topic-compact .ideaTopicCustomCloud {
  gap: clamp(6px, 0.9vh, 12px) clamp(18px, 2.4vw, 36px);
  padding-top: 0;
  padding-bottom: 2px;
}

.ideaTopicDialog.has-many-custom-topics .ideaTopicCustomCloud {
  padding-top: clamp(4px, 0.8vh, 8px);
}

.ideaTopicCustomCloud[hidden] {
  display: none;
}

.ideaTopicCustomCloud button.ideaTopicWord {
  min-height: var(--topic-min-height, max(86px, calc(var(--topic-max-font-size) * 2.35)));
  min-width: min(100%, 9.5rem);
}

.ideaTopicCustomCloud.is-dense {
  grid-auto-rows: minmax(var(--idea-topic-custom-row-height), auto);
  gap: clamp(6px, 0.8vh, 10px) clamp(18px, 2.6vw, 38px);
  padding-right: clamp(132px, 13vw, 188px);
}

.ideaTopicCustomCloud.is-dense button.ideaTopicWord {
  min-height: var(--topic-min-height, max(44px, calc(var(--topic-max-font-size) * 1.55)));
  padding-block: 2px;
  line-height: 1.03;
}

.ideaTopicCustomCloud.is-dense button.ideaTopicWord.is-wide,
.ideaTopicCustomCloud.is-dense button.ideaTopicWord.is-featured,
.ideaTopicCustomCloud.is-dense button.ideaTopicWord.is-hero {
  min-height: var(--topic-min-height, max(48px, calc(var(--topic-max-font-size) * 1.65)));
}

.ideaTopicCloud.is-entering,
.ideaTopicCustomCloud.is-entering {
  animation: ideaTopicCloudIn 520ms var(--idea-source-ease-sine) both;
}

button.ideaTopicWord {
  --topic-font-size: 0.82rem;
  --topic-max-font-size: 2.35rem;
  --topic-font-weight: 520;
  --topic-entry-delay: 0s;
  --topic-entry-x: 0px;
  --topic-entry-y: 0px;
  --topic-wave-delay: 0s;
  --entry-x: 0px;
  --entry-y: 0px;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 1 auto;
  grid-column: span 2;
  width: 100%;
  min-width: min(100%, 7rem);
  min-height: var(--topic-min-height, max(76px, calc(var(--topic-max-font-size) * 2.05)));
  max-width: 100%;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--idea-source-text);
  box-shadow: none;
  font-size: var(--topic-font-size);
  font-weight: var(--topic-font-weight);
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
  overflow: visible;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  transform-origin: center;
  transform: translate(var(--entry-x), var(--entry-y));
  will-change: transform, translate;
  transition:
    --topic-font-size 520ms var(--idea-source-ease-sine),
    --topic-font-weight 520ms var(--idea-source-ease-sine),
    font-size 520ms var(--idea-source-ease-sine),
    font-weight 520ms var(--idea-source-ease-sine),
    min-height 520ms var(--idea-source-ease-sine),
    color 420ms var(--idea-source-ease-sine),
    text-shadow 420ms var(--idea-source-ease-sine);
}

.ideaTopicDialog.is-topic-compact button.ideaTopicWord {
  min-height: var(--topic-min-height, max(44px, calc(var(--topic-max-font-size) * 1.6)));
  padding: 2px 6px;
}

.ideaTopicDialog.is-topic-compact button.ideaTopicWord.is-wide,
.ideaTopicDialog.is-topic-compact button.ideaTopicWord.is-featured {
  min-height: var(--topic-min-height, max(48px, calc(var(--topic-max-font-size) * 1.7)));
}

.ideaTopicDialog.is-topic-compact button.ideaTopicWord.is-wide.is-featured,
.ideaTopicDialog.is-topic-compact button.ideaTopicWord.is-hero {
  min-height: var(--topic-min-height, max(56px, calc(var(--topic-max-font-size) * 1.9)));
  margin-block: 2px;
}

button.ideaTopicWord.is-wide {
  grid-column: span 4;
  justify-self: center;
  flex-basis: 100%;
  width: 100%;
  min-height: var(--topic-min-height, max(86px, calc(var(--topic-max-font-size) * 2.25)));
}

button.ideaTopicWord.is-featured {
  justify-self: center;
  flex-basis: 100%;
  width: 100%;
  min-height: var(--topic-min-height, max(86px, calc(var(--topic-max-font-size) * 2.25)));
  text-shadow: 0 4px 18px rgba(251, 250, 247, 0.1);
}

button.ideaTopicWord.is-wide.is-featured {
  flex-basis: 100%;
  width: 100%;
  min-height: var(--topic-min-height, max(118px, calc(var(--topic-max-font-size) * 2.55)));
  margin-block: 6px;
}

button.ideaTopicWord.is-hero {
  grid-column: 1 / -1;
  justify-self: center;
  flex-basis: 100%;
  width: 100%;
  height: auto;
  min-height: var(--topic-min-height, max(166px, calc(var(--topic-max-font-size) * 3.05)));
  margin-block: 12px 14px;
  padding-block: 8px;
  text-shadow:
    0 5px 24px rgba(251, 250, 247, 0.14),
    0 1px 0 rgba(251, 250, 247, 0.12);
}

.ideaTopicDialog.is-topic-compact button.ideaTopicWord {
  min-height: var(--topic-min-height, max(44px, calc(var(--topic-max-font-size) * 1.6)));
  padding: 2px 6px;
}

.ideaTopicDialog.is-topic-compact button.ideaTopicWord.is-wide,
.ideaTopicDialog.is-topic-compact button.ideaTopicWord.is-featured {
  min-height: var(--topic-min-height, max(48px, calc(var(--topic-max-font-size) * 1.7)));
}

.ideaTopicDialog.is-topic-compact button.ideaTopicWord.is-wide.is-featured,
.ideaTopicDialog.is-topic-compact button.ideaTopicWord.is-hero {
  min-height: var(--topic-min-height, max(56px, calc(var(--topic-max-font-size) * 1.9)));
  margin-block: 2px;
}

button.ideaTopicWord:nth-child(8n + 1) {
  --topic-wave-delay: 0s;
}

button.ideaTopicWord:nth-child(8n + 2) {
  --topic-wave-delay: -0.6s;
}

button.ideaTopicWord:nth-child(8n + 3) {
  --topic-wave-delay: -1.2s;
}

button.ideaTopicWord:nth-child(8n + 4) {
  --topic-wave-delay: -1.8s;
}

button.ideaTopicWord:nth-child(8n + 5) {
  --topic-wave-delay: -2.4s;
}

button.ideaTopicWord:nth-child(8n + 6) {
  --topic-wave-delay: -3s;
}

button.ideaTopicWord:nth-child(8n + 7) {
  --topic-wave-delay: -3.6s;
}

button.ideaTopicWord:nth-child(8n) {
  --topic-wave-delay: -4.2s;
}

button.ideaTopicWord:hover {
  border-color: transparent;
  background: transparent;
  color: var(--idea-source-text);
  box-shadow: none;
  transform: translate(var(--entry-x), var(--entry-y));
}

button.ideaTopicWord:active {
  box-shadow: none;
  transform: translate(var(--entry-x), var(--entry-y));
}

button.ideaTopicWord:focus,
.ideaTopicDialog.is-d3-cloud button.ideaTopicWord.is-related-topic:not(.is-related-topic-entering) {
  border-color: transparent;
  outline: none;
  box-shadow: none;
}

button.ideaTopicWord:focus-visible {
  outline: none;
  text-shadow: 0 0 18px rgba(139, 211, 255, 0.5);
}

button.ideaTopicWord.is-selected {
  color: var(--idea-source-text);
  text-shadow: none;
}

.ideaTopicCloud.is-entering button.ideaTopicWord,
.ideaTopicCustomCloud.is-entering button.ideaTopicWord {
  animation: ideaTopicItemIn 900ms var(--idea-source-ease-sine) both;
  animation-delay: var(--topic-entry-delay);
}

.ideaTopicCloud.is-entering button.ideaTopicWord:nth-child(8n + 1) {
  --topic-entry-delay: 40ms;
  --topic-entry-x: -118vw;
  --topic-entry-y: -16vh;
}

.ideaTopicCustomCloud.is-entering button.ideaTopicWord:nth-child(8n + 1) {
  --topic-entry-delay: 40ms;
  --topic-entry-x: -118vw;
  --topic-entry-y: 18vh;
}

.ideaTopicCloud.is-entering button.ideaTopicWord:nth-child(8n + 2) {
  --topic-entry-delay: 100ms;
  --topic-entry-x: 118vw;
  --topic-entry-y: -10vh;
}

.ideaTopicCustomCloud.is-entering button.ideaTopicWord:nth-child(8n + 2) {
  --topic-entry-delay: 100ms;
  --topic-entry-x: 118vw;
  --topic-entry-y: 18vh;
}

.ideaTopicCloud.is-entering button.ideaTopicWord:nth-child(8n + 3) {
  --topic-entry-delay: 160ms;
  --topic-entry-x: -112vw;
  --topic-entry-y: 12vh;
}

.ideaTopicCustomCloud.is-entering button.ideaTopicWord:nth-child(8n + 3) {
  --topic-entry-delay: 160ms;
  --topic-entry-x: -112vw;
  --topic-entry-y: 22vh;
}

.ideaTopicCloud.is-entering button.ideaTopicWord:nth-child(8n + 4) {
  --topic-entry-delay: 220ms;
  --topic-entry-x: 112vw;
  --topic-entry-y: 14vh;
}

.ideaTopicCustomCloud.is-entering button.ideaTopicWord:nth-child(8n + 4) {
  --topic-entry-delay: 220ms;
  --topic-entry-x: 112vw;
  --topic-entry-y: 22vh;
}

.ideaTopicCloud.is-entering button.ideaTopicWord:nth-child(8n + 5) {
  --topic-entry-delay: 280ms;
  --topic-entry-x: -105vw;
  --topic-entry-y: 28vh;
}

.ideaTopicCustomCloud.is-entering button.ideaTopicWord:nth-child(8n + 5) {
  --topic-entry-delay: 280ms;
  --topic-entry-x: -105vw;
  --topic-entry-y: 18vh;
}

.ideaTopicCloud.is-entering button.ideaTopicWord:nth-child(8n + 6) {
  --topic-entry-delay: 340ms;
  --topic-entry-x: 105vw;
  --topic-entry-y: 28vh;
}

.ideaTopicCustomCloud.is-entering button.ideaTopicWord:nth-child(8n + 6) {
  --topic-entry-delay: 340ms;
  --topic-entry-x: 105vw;
  --topic-entry-y: 18vh;
}

.ideaTopicCloud.is-entering button.ideaTopicWord:nth-child(8n + 7) {
  --topic-entry-delay: 400ms;
  --topic-entry-x: -116vw;
  --topic-entry-y: 2vh;
}

.ideaTopicCustomCloud.is-entering button.ideaTopicWord:nth-child(8n + 7) {
  --topic-entry-delay: 400ms;
  --topic-entry-x: -116vw;
  --topic-entry-y: 20vh;
}

.ideaTopicCloud.is-entering button.ideaTopicWord:nth-child(8n) {
  --topic-entry-delay: 460ms;
  --topic-entry-x: 116vw;
  --topic-entry-y: 2vh;
}

.ideaTopicCustomCloud.is-entering button.ideaTopicWord:nth-child(8n) {
  --topic-entry-delay: 460ms;
  --topic-entry-x: 116vw;
  --topic-entry-y: 20vh;
}

@property --topic-font-size {
  syntax: "<length>";
  inherits: false;
  initial-value: 0.82rem;
}

@property --topic-font-weight {
  syntax: "<number>";
  inherits: false;
  initial-value: 520;
}

@keyframes ideaTopicWave {
  0%,
  100% {
    translate: 0 0;
  }

  35% {
    translate: 0 -9px;
  }

  70% {
    translate: 0 5px;
  }
}

@keyframes ideaTopicAddMarkLoading {
  from {
    opacity: 0.45;
    box-shadow: 0 0 5px rgba(53, 191, 67, 0.45);
  }

  to {
    opacity: 1;
    box-shadow:
      0 0 8px currentColor,
      0 0 20px rgba(53, 191, 67, 0.9);
  }
}

@keyframes ideaTopicBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes ideaTopicPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ideaTopicCloudIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes ideaTopicItemIn {
  0% {
    opacity: 0;
    scale: 0.92;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}

@keyframes ideaTopicWeightFlash {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ideaTopicCloud.is-entering,
  .ideaTopicCustomCloud.is-entering,
  .ideaTopicDialogBackdrop,
  .ideaTopicDialogPanel,
  button.ideaTopicWord {
    animation: none;
    transform: none;
    translate: none;
  }
}

.anatomyLayout {
  display: grid;
  gap: 20px;
  padding: 16px 0 48px;
}

.anatomyHero {
  display: grid;
  gap: 14px;
  padding: 32px;
}

.anatomyHero h1 {
  max-width: 840px;
  font-size: clamp(2.25rem, 5vw, 4.1rem);
}

.anatomyGrid {
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .anatomyGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anatomyGrid > .anatomyPart.wide {
    grid-column: span 2;
  }
}

.anatomyPart {
  display: grid;
  align-content: start;
  gap: 12px;
}

.anatomyNumber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(23, 53, 75, 0.16);
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.anatomyPart p,
.anatomyPart li,
.anatomyPart blockquote {
  line-height: 1.55;
}

.anatomyPart p {
  margin: 0;
}

.examplePair {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .examplePair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.examplePair > div,
.anatomyPart blockquote {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.examplePair ul,
.exampleList {
  margin: 0;
  padding-left: 20px;
}

.examplePair li + li,
.exampleList li + li {
  margin-top: 8px;
}

.exampleLabel {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.formulaCard {
  display: grid;
  gap: 12px;
  background: var(--surface-strong);
}

.formulaCard h2 {
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.signalIntro p {
  max-width: 760px;
  margin: 0;
  color: #454b55;
  font-size: 1.08rem;
  line-height: 1.6;
}

.signalTableCard {
  overflow: hidden;
}

.signalTableWrap {
  overflow-x: auto;
}

.signalTable {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.signalTable th,
.signalTable td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.signalTable th {
  color: var(--primary-strong);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signalTable tr:last-child td {
  border-bottom: 0;
}

.signalTable td:last-child {
  width: 32%;
  font-weight: 750;
}

.sourceCard {
  display: grid;
  gap: 12px;
}

.sourceList {
  margin: 0;
  padding-left: 20px;
  color: #454b55;
}

.sourceList li {
  line-height: 1.55;
}

.sourceList li + li {
  margin-top: 10px;
}

.sourceList a {
  color: var(--primary-strong);
  font-weight: 700;
}

.contactLayout {
  padding-bottom: 56px;
}

.contactHero h1 {
  max-width: 880px;
}

.contactFormCard {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-bottom: 18px;
}

.contactForm {
  display: grid;
  gap: 18px;
}

.privacyLayout {
  padding-bottom: 56px;
}

.privacyHero h1 {
  max-width: 900px;
}

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

.privacySection {
  display: grid;
  gap: 14px;
  align-content: start;
}

.privacySection h2,
.privacySection h3,
.privacySection p,
.privacySection ul {
  margin: 0;
}

.privacySection h3 {
  margin-top: 8px;
  color: var(--primary-strong);
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.privacySection p,
.privacySection li {
  color: #454b55;
  line-height: 1.65;
}

.privacySection ul {
  display: grid;
  gap: 9px;
  padding-left: 20px;
}

.privacySection a:not(.privacyContactAction) {
  color: var(--primary-strong);
  font-weight: 700;
}

.privacyCommitment {
  border-color: rgba(36, 114, 79, 0.32);
}

.privacyContactAction {
  justify-self: start;
}

.privacyEffectiveDate {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .privacyGrid {
    grid-template-columns: 1fr;
  }
}

/* Shared executive application theme */
.executiveAppPage {
  --executive-ink: #112538;
  --executive-navy: #10293d;
  --executive-blue: #2d526c;
  --executive-gold: #b6934b;
  --executive-gold-soft: #d8c38f;
  --executive-white: #fffdf8;
  --text: #112538;
  --muted: #66717c;
  --border: rgba(17, 37, 56, 0.12);
  --border-strong: rgba(17, 37, 56, 0.18);
  --field-border: rgba(17, 37, 56, 0.24);
  --light-control-border: rgba(17, 37, 56, 0.2);
  --light-control-border-strong: rgba(17, 37, 56, 0.34);
  --light-control-bg: #f1eee7;
  --light-control-bg-hover: #e8e2d7;
  --surface: rgba(255, 253, 248, 0.94);
  --surface-strong: #fffdf8;
  --surface-muted: #f1eee7;
  --menu-surface: rgba(255, 253, 248, 0.99);
  --primary: #10293d;
  --primary-strong: #091d2c;
  --primary-soft: #e4e9eb;
  --gold: #9a762f;
  --shadow: 0 16px 38px rgba(17, 37, 56, 0.08);
  --shadow-soft: 0 8px 22px rgba(17, 37, 56, 0.06);
  background: linear-gradient(180deg, #f7f4ed 0%, #eee9df 100%);
  color: var(--executive-ink);
}

.executiveAppPage .layout,
.executiveAppPage .anatomyLayout {
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 56px;
}

.executiveAppPage .card,
.executiveAppPage .workflowAuthGateCard {
  border-color: rgba(17, 37, 56, 0.13);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 30px rgba(17, 37, 56, 0.07);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.executiveAppPage .card .card {
  background: rgba(247, 244, 237, 0.72);
  box-shadow: none;
}

.executiveAppPage h1,
.executiveAppPage h2,
.executiveAppPage h3 {
  color: var(--executive-ink);
}

.executiveAppPage h1 {
  font-weight: 800;
  letter-spacing: -0.045em;
}

.executiveAppPage h2,
.executiveAppPage h3 {
  font-weight: 700;
}

.executiveAppPage .anatomyHero,
.executiveAppPage .notFoundCard {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border-color: var(--executive-navy);
  background: linear-gradient(135deg, #10293d 0%, #17384f 100%);
  color: #fff;
  box-shadow: 0 20px 48px rgba(17, 37, 56, 0.16), inset 0 3px 0 var(--executive-gold);
}

.executiveAppPage .anatomyHero::after,
.executiveAppPage .notFoundCard::after {
  position: absolute;
  top: 30px;
  right: 32px;
  width: 54px;
  height: 2px;
  background: var(--executive-gold-soft);
  content: "";
}

.executiveAppPage .anatomyHero h1,
.executiveAppPage .notFoundCard h1 {
  max-width: 16ch;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.executiveAppPage .anatomyHero .heroText,
.executiveAppPage .anatomyHero .muted,
.executiveAppPage .notFoundCard p {
  max-width: 760px;
  color: #c5d0d8;
}

.executiveAppPage .eyebrow,
.executiveAppPage .sectionLabel {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--executive-gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.executiveAppPage .anatomyHero .eyebrow {
  color: var(--executive-gold-soft);
}

.executiveAppPage[data-page^="step"] .workspace > .card:first-child,
.executiveAppPage[data-page="engage"] .workspace > .stepIntroCard {
  border-top: 3px solid var(--executive-gold);
}

.executiveAppPage[data-page^="step"] .stepOneIntro,
.executiveAppPage[data-page^="step"] .cardHeader:first-child {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 37, 56, 0.12);
}

.executiveAppPage[data-page^="step"] .stepOneIntro h1,
.executiveAppPage[data-page^="step"] .stepIntroCard h1,
.executiveAppPage[data-page^="step"] .cardHeader h1,
.executiveAppPage[data-page="engage"] .stepIntroCard h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.executiveAppPage .workflowNav {
  gap: 4px;
  width: min(760px, 100%);
  margin-top: 10px;
  padding: 5px;
  border: 1px solid rgba(17, 37, 56, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.96);
  filter: none;
}

.executiveAppPage .workflowNavItem,
.executiveAppPage .workflowNavItem:first-child {
  min-height: 38px;
  margin-left: 0;
  padding: 6px 12px;
  clip-path: none;
  border-radius: 8px;
  background: transparent;
  color: var(--executive-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-shadow: none;
  filter: none;
  transform: none;
}

.executiveAppPage .workflowNavItem:hover,
.executiveAppPage .workflowNavItem:focus-visible {
  background: rgba(17, 37, 56, 0.07);
  color: var(--executive-ink);
  filter: none;
  transform: none;
}

.executiveAppPage .workflowNavItem.active,
.executiveAppPage .workflowNavItem[aria-current="step"] {
  background: var(--executive-navy);
  color: #fff;
  font-weight: 700;
  filter: none;
  box-shadow: none;
  transform: none;
}

.executiveAppPage .workflowNavItem.active::after,
.executiveAppPage .workflowNavItem[aria-current="step"]::after {
  content: none;
}

:is(.executiveLandingPage, .executiveAppPage) button:not(:where(.authButton, .mobileMenuButton, .ideaTopicWord, .colorThemeSwatch, .styleOption, .toneOption, .compositionOption, .textTreatmentOption, .visualDensityOption, .engageCommentButton)),
:is(.executiveLandingPage, .executiveAppPage) .buttonLink {
  min-height: 46px;
  padding-inline: 18px;
  border-color: var(--executive-navy);
  border-radius: 10px;
  background: var(--executive-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(17, 37, 56, 0.1);
  font-weight: 700;
}

:is(.executiveLandingPage, .executiveAppPage) button:not(:where(.authButton, .mobileMenuButton, .ideaTopicWord, .colorThemeSwatch, .styleOption, .toneOption, .compositionOption, .textTreatmentOption, .visualDensityOption, .engageCommentButton)):is(:hover, :focus-visible),
:is(.executiveLandingPage, .executiveAppPage) .buttonLink:is(:hover, :focus-visible) {
  border-color: var(--executive-navy);
  background: #17384f;
  box-shadow: 0 10px 22px rgba(17, 37, 56, 0.14);
  transform: translateY(-1px);
}

:is(.executiveLandingPage, .executiveAppPage) button.secondary:not(.authButton),
:is(.executiveLandingPage, .executiveAppPage) .buttonLink.secondary,
:is(.executiveLandingPage, .executiveAppPage) .formatToolbar button,
:is(.executiveLandingPage, .executiveAppPage) .formatToolbar select {
  border-color: rgba(17, 37, 56, 0.2);
  background: var(--executive-white);
  color: var(--executive-ink);
  box-shadow: none;
}

:is(.executiveLandingPage, .executiveAppPage) button.secondary:not(.authButton):is(:hover, :focus-visible),
:is(.executiveLandingPage, .executiveAppPage) .buttonLink.secondary:is(:hover, :focus-visible),
:is(.executiveLandingPage, .executiveAppPage) .formatToolbar button:is(:hover, :focus-visible),
:is(.executiveLandingPage, .executiveAppPage) .formatToolbar select:is(:hover, :focus-visible) {
  border-color: rgba(17, 37, 56, 0.34);
  background: #f5f0e5;
  color: var(--executive-ink);
  box-shadow: 0 8px 18px rgba(17, 37, 56, 0.08);
  transform: translateY(-1px);
}

:is(.executiveLandingPage, .executiveAppPage) :is(button, .buttonLink):focus-visible {
  outline: 3px solid rgba(45, 82, 108, 0.28);
  outline-offset: 3px;
}

:is(.executiveLandingPage, .executiveAppPage) button.ideaTopicWord:focus,
:is(.executiveLandingPage, .executiveAppPage) button.ideaTopicWord:focus-visible {
  border-color: transparent;
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}

:is(.executiveLandingPage, .executiveAppPage) button.danger {
  border-color: #9f3f43;
  background: #9f3f43;
  color: #fff;
}

:is(.executiveLandingPage, .executiveAppPage) button.danger:is(:hover, :focus-visible) {
  border-color: #842f34;
  background: #842f34;
}

.executiveAppPage textarea,
.executiveAppPage input,
.executiveAppPage select,
.executiveAppPage .pricingCardElement {
  border-color: rgba(17, 37, 56, 0.22);
  border-radius: 10px;
  background: #fffefa;
}

.executiveAppPage textarea:focus,
.executiveAppPage input:focus,
.executiveAppPage select:focus {
  border-color: var(--executive-gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(182, 147, 75, 0.15);
}

.executiveAppPage label {
  color: var(--executive-ink);
  font-weight: 700;
}

.executiveAppPage .anatomyNumber {
  border-color: var(--executive-navy);
  border-radius: 10px;
  background: var(--executive-navy);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--executive-gold);
}

.executiveAppPage .formulaCard,
.executiveAppPage .privacyCommitment {
  border-left: 3px solid var(--executive-gold);
  background: rgba(255, 253, 248, 0.98);
}

.executiveAppPage .examplePair > div,
.executiveAppPage .anatomyPart blockquote,
.executiveAppPage .pricingUsageMetric,
.executiveAppPage .pricingUsageStats,
.executiveAppPage .pricingPaymentSummary,
.executiveAppPage .finalImageFrame,
.executiveAppPage .engageEmptyState {
  border-color: rgba(17, 37, 56, 0.13);
  border-radius: 12px;
  background: #f7f4ed;
}

.executiveAppPage .pricingCardFeatured {
  border: 2px solid var(--executive-gold);
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(17, 37, 56, 0.11);
}

.executiveAppPage .pricingPrice,
.executiveAppPage .privacySection h3,
.executiveAppPage .sourceList a,
.executiveAppPage .privacySection a:not(.privacyContactAction) {
  color: var(--executive-blue);
}

.executiveAppPage .signalTable,
.executiveAppPage .scheduledPostsTable,
.executiveAppPage .engagePostsTable {
  border: 1px solid rgba(17, 37, 56, 0.12);
  border-radius: 12px;
  background: #fffefa;
}

.executiveAppPage .signalTable th,
.executiveAppPage .scheduledPostsTable th,
.executiveAppPage .engagePostsTable th {
  background: #f0ece3;
  color: var(--executive-ink);
  letter-spacing: 0.04em;
}

.executiveAppPage .workflowAuthGateCard {
  border-top: 3px solid var(--executive-gold);
}

.executiveAppPage .cookieConsent {
  border-color: rgba(17, 37, 56, 0.16);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 18px 42px rgba(17, 37, 56, 0.16);
}

@media (max-width: 760px) {
  .executiveAppPage .layout,
  .executiveAppPage .anatomyLayout {
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 36px;
  }

  .executiveAppPage .card {
    padding: 20px;
    border-radius: 14px;
  }

  .executiveAppPage .anatomyHero,
  .executiveAppPage .notFoundCard {
    padding: 28px 22px;
  }

  .executiveAppPage .anatomyHero::after,
  .executiveAppPage .notFoundCard::after {
    top: 20px;
    right: 20px;
    width: 36px;
  }

  .executiveAppPage .workflowNav {
    width: 100%;
    gap: 2px;
    padding: 4px;
  }

  .executiveAppPage .workflowNavItem,
  .executiveAppPage .workflowNavItem:first-child {
    min-height: 34px;
    padding: 5px 4px;
    border-radius: 7px;
    font-size: clamp(0.6rem, 2.7vw, 0.72rem);
  }
}

.pricingLayout {
  padding-bottom: 56px;
}

.pricingHero h1 {
  max-width: 880px;
}

.pricingUsagePanel {
  display: grid;
  gap: 18px;
}

.pricingUsageHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pricingUsageHeader h2 {
  margin: 4px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.pricingUsageStatus {
  margin: 0;
  font-weight: 650;
}

.pricingUsageContent {
  display: grid;
  gap: 18px;
}

.pricingUsageMetrics {
  display: grid;
  gap: 12px;
}

@media (min-width: 820px) {
  .pricingUsageMetrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pricingUsageMetric {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
}

.pricingUsageMetric span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
}

.pricingUsageMetric strong {
  align-self: end;
  color: var(--text);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.08;
}

#usageLastPurchaseDate {
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  white-space: nowrap;
}

.pricingUsageMetricPrimary {
  border-color: rgba(23, 53, 75, 0.28);
  background: rgba(219, 232, 241, 0.55);
}

.pricingUsageStats {
  display: grid;
  gap: 12px;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.pricingUsageStats h3 {
  margin: 0;
  font-size: 1.08rem;
}

.pricingUsageStats ul {
  display: grid;
  grid-template-columns: max-content 4ch;
  column-gap: 28px;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricingUsageStats li {
  display: contents;
  color: #414851;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
}

.pricingUsageStats li span,
.pricingUsageStats strong {
  padding: 10px 0;
  border-top: 1px solid rgba(22, 24, 29, 0.1);
  align-self: center;
}

.pricingUsageStats strong {
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  text-align: left;
}

.pricingGrid {
  display: grid;
  gap: 18px;
}

@media (min-width: 880px) {
  .pricingGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pricingCard {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  gap: 20px;
}

.pricingCardFeatured {
  border-color: rgba(23, 53, 75, 0.24);
  background: rgba(255, 255, 255, 0.86);
}

.pricingCardHeader {
  display: grid;
  gap: 8px;
}

.pricingBadge {
  position: absolute;
  top: 26px;
  right: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--executive-gold);
  color: var(--executive-ink);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.pricingCardFeatured .pricingCardHeader {
  padding-right: 132px;
}

@media (max-width: 420px) {
  .pricingBadge {
    position: static;
    justify-self: start;
  }

  .pricingCardFeatured .pricingCardHeader {
    padding-right: 0;
  }
}

.pricingCard h2,
.pricingPrice {
  margin: 0;
}

.pricingPrice {
  color: var(--primary);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 0.95;
}

.pricingUsageTitle {
  margin: 0 0 -8px;
  color: var(--text);
  font-size: 1rem;
}

.pricingUsageList {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #414851;
  line-height: 1.45;
}

.pricingCard button {
  justify-self: start;
  align-self: end;
  min-width: 140px;
  white-space: nowrap;
}

.pricingStatus {
  margin: 0;
  padding: 0 4px;
  font-weight: 650;
}

.pricingPaymentPanel {
  max-width: 520px;
}

.pricingPaymentSummary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.pricingPaymentSummary strong {
  font-size: 1.2rem;
}

.pricingPaymentSummary span {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
}

.pricingWalletSection {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.pricingWalletSection h3 {
  margin: 0;
  font-size: 1rem;
}

#pricingExpressCheckoutElement {
  min-height: 48px;
}

.pricingWalletAvailability {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.pricingPaymentDivider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.pricingPaymentDivider::before,
.pricingPaymentDivider::after {
  content: '';
  height: 1px;
  background: var(--border-strong);
}

.pricingCardElementWrap {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.pricingCardField {
  display: grid;
  gap: 8px;
}

.pricingCardField label {
  margin: 0;
}

.pricingCardFieldGrid {
  display: grid;
  gap: 12px;
}

@media (min-width: 520px) {
  .pricingCardFieldGrid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.pricingCardElement {
  min-height: 48px;
  padding: 14px 16px;
  border: 1px solid var(--field-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.pricingPaymentStatus {
  min-height: 24px;
  margin: 0;
  padding: 0;
}

.pricingPaymentActions {
  justify-content: flex-end;
}

.pricingPaymentStripeNote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
}

.pricingPaymentStripeNote:hover,
.pricingPaymentStripeNote:focus-visible {
  color: var(--primary);
}

.pricingPaymentStripeNote img {
  width: 52px;
  height: 22px;
  border-radius: 4px;
}

.contactActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contactBackAction {
  margin-left: auto;
}

.contactFormStatus {
  margin-top: 0;
}

.contactFormStatus:empty {
  display: none;
}

.contactFormStatus.is-success {
  color: var(--success);
}

.contactFormStatus.is-error {
  color: var(--danger);
}

.notFoundLayout {
  display: grid;
  min-height: calc(100vh - 112px);
  align-items: center;
  padding: 16px 0 48px;
}

.notFoundCard {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.notFoundActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.featureInputs {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.inputPanel {
  border: 1px solid rgba(22, 24, 29, 0.08);
  border-radius: 22px;
}

.inputPanel {
  padding: 16px;
}

.settingsCard .row {
  margin-top: 16px;
}

.savedIdeasCard {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.savedIdeasCard h2 {
  margin: 0;
  font-size: 1.15rem;
}

.savedIdeaControls {
  display: grid;
  grid-template-columns: minmax(280px, 1fr);
  gap: 22px;
  margin: 0;
  align-items: start;
}

.generatedIdeaHeader {
  margin-top: 18px;
}

.generatedIdeaHeader h3 {
  margin: 0;
  font-size: 1.05rem;
}

.generatedIdeaCards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  body[data-page="step1"] .generatedIdeaCards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.generatedIdeaEmpty {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.generatedIdeaCard {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 12px;
  height: 100%;
  padding: 16px;
  border: 1px solid rgba(106, 124, 145, 0.2);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(247, 250, 252, 0.96), rgba(238, 244, 248, 0.74));
  box-shadow: 0 12px 24px rgba(30, 45, 62, 0.04);
}

.generatedIdeaCard h3 {
  margin: 0;
  color: #17354b;
  font-size: 1rem;
}

.generatedIdeaCard.is-empty {
  border-color: rgba(170, 178, 190, 0.24);
  background: linear-gradient(180deg, rgba(249, 250, 250, 0.88), rgba(243, 246, 248, 0.66));
  opacity: 0.9;
}

.generatedIdeaCards .generatedIdeaCard:nth-child(1) {
  border-color: rgba(65, 111, 146, 0.38);
  background: linear-gradient(180deg, rgba(220, 235, 246, 0.98), rgba(194, 218, 235, 0.92));
}

.generatedIdeaCards .generatedIdeaCard:nth-child(2) {
  border-color: rgba(91, 134, 98, 0.38);
  background: linear-gradient(180deg, rgba(225, 240, 223, 0.98), rgba(199, 224, 201, 0.92));
}

.generatedIdeaCards .generatedIdeaCard:nth-child(3) {
  border-color: rgba(159, 124, 68, 0.38);
  background: linear-gradient(180deg, rgba(245, 232, 204, 0.98), rgba(232, 211, 174, 0.92));
}

.generatedIdeaCards .generatedIdeaCard:nth-child(4) {
  border-color: rgba(116, 99, 157, 0.36);
  background: linear-gradient(180deg, rgba(232, 225, 247, 0.98), rgba(213, 203, 235, 0.92));
}

.generatedIdeaCards .generatedIdeaCard:nth-child(5) {
  border-color: rgba(153, 99, 88, 0.36);
  background: linear-gradient(180deg, rgba(248, 224, 218, 0.98), rgba(235, 201, 193, 0.92));
}

.generatedIdeaCards .generatedIdeaCard:nth-child(6) {
  border-color: rgba(64, 132, 135, 0.38);
  background: linear-gradient(180deg, rgba(218, 240, 240, 0.98), rgba(190, 223, 224, 0.92));
}

.generatedIdeaBody {
  min-height: 260px;
  max-height: 70vh;
  overflow: auto;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid rgba(127, 142, 159, 0.22);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--text);
  font: inherit;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
}

body[data-page="step1"] .generatedIdeaCard .generatedIdeaBody {
  height: 300px;
  min-height: 170px;
  max-height: 70vh;
}

.postIdeaFormatted {
  min-height: 170px;
  max-height: 60vh;
  resize: vertical;
}

.postIdeaFormatted:focus,
.selectedIdeaEditorFormatted:focus {
  border-color: rgba(23, 53, 75, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 4px rgba(23, 53, 75, 0.08);
  outline: none;
}

.postIdeaFormatted:empty::before,
.selectedIdeaEditorFormatted:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
}

.generatedIdeaBody p,
.generatedIdeaBody ul,
.generatedIdeaBody ol,
.generatedIdeaBody h4 {
  margin: 0 0 12px;
}

.generatedIdeaBody p:last-child,
.generatedIdeaBody ul:last-child,
.generatedIdeaBody ol:last-child,
.generatedIdeaBody h4:last-child {
  margin-bottom: 0;
}

.generatedIdeaBody h4 {
  font-size: 1rem;
  line-height: 1.35;
}

.generatedIdeaBody p {
  line-height: 1.6;
}

.generatedIdeaBody ul,
.generatedIdeaBody ol {
  margin-top: -2px;
  padding-left: 22px;
}

.generatedIdeaBody li + li {
  margin-top: 6px;
}

.generatedIdeaLabel {
  display: inline;
  min-width: 0;
  margin-right: 0;
  color: #4f5661;
  font-weight: 700;
}

.generatedIdeaBody code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(22, 24, 29, 0.07);
  font-size: 0.92em;
}

.generatedIdeaActions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.generatedIdeaActions button {
  min-height: 46px;
  padding: 0 16px;
  font-size: 0.86rem;
  flex: 0 1 150px;
  min-width: 0;
  white-space: nowrap;
}

.generatedIdeaActions button.secondary {
  flex-basis: 150px;
}

.savedIdeaPanel {
  display: grid;
  align-content: start;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(106, 124, 145, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 251, 252, 0.92), rgba(241, 246, 248, 0.7));
}

.savedIdeaSelectPanel {
  min-width: 240px;
  grid-template-rows: auto;
  padding: 20px;
  border-color: rgba(106, 124, 145, 0.22);
  background: rgba(248, 251, 252, 0.88);
  box-shadow: 0 14px 28px rgba(22, 24, 29, 0.05);
}

.savedIdeasTableWrap {
  max-height: 360px;
  overflow: auto;
  border: 1px solid rgba(127, 142, 159, 0.24);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.92);
}

.savedIdeasTable {
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
}

.savedIdeasTable th,
.savedIdeasTable td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(127, 142, 159, 0.16);
  font-size: 0.86rem;
  text-align: left;
  vertical-align: top;
}

.savedIdeasTable th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #edf3f6;
  color: #17354b;
  font-size: 0.78rem;
  font-weight: 800;
}

.savedIdeasTable tbody tr {
  cursor: pointer;
}

.savedIdeasTable tbody tr:hover,
.savedIdeasTable tbody tr:focus-visible {
  background: rgba(219, 232, 241, 0.52);
  outline: none;
}

.savedIdeasTable tbody tr.is-selected {
  background: #d8e7ef;
}

.savedIdeasEmptyCell {
  color: var(--muted);
  text-align: center;
}

.selectedIdeaEditorPanel {
  margin-top: 0;
}

.selectedIdeaEditorPanel textarea:not(.srOnlyTextarea) {
  min-height: 240px;
}

.selectedIdeaEditorFormatted {
  min-height: 240px;
}

.selectedIdeaActions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.selectedIdeaActions button {
  min-height: 50px;
  padding: 0 20px;
}

.savedIdeaSelectPanel label {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.savedIdeaControls button {
  min-height: 58px;
  padding: 0 28px;
}

.savedIdeaSelect select {
  min-height: 58px;
}

@media (max-width: 980px) {
  .coverHero {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .coverHeroMain {
    gap: 22px;
    padding-top: 12px;
  }

  .coverHeroPanel {
    justify-content: center;
    padding-bottom: 24px;
  }

  .signalStory {
    margin-top: 28px;
    min-height: 0;
  }

  .signalPageDeck {
    min-height: 430px;
  }

  .signalPageVisual {
    min-height: 330px;
  }

  .estimateVisual {
    min-height: 330px;
  }

  .growthGraphic,
  .thinkingVisual,
  .commentsVisual {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.86fr);
    grid-template-rows: auto minmax(136px, 1fr);
    gap: 14px 18px;
    min-height: 320px;
    padding: 18px;
  }

  .growthChart,
  .thinkingBoard,
  .commentBoard {
    min-height: 220px;
  }

  .workflowPopover {
    left: 0;
    right: 0;
    top: calc(100% + 18px);
    width: min(100%, 520px);
    transform: translateY(-10px) scale(0.96);
  }

  .workflowPopover::before {
    right: auto;
    left: 0;
    top: auto;
    bottom: 100%;
    width: 100%;
    height: 38px;
    background: linear-gradient(180deg, transparent, rgba(122, 153, 176, 0.34));
    clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
    transform: none;
  }

  .workflowPopover::after {
    content: none;
  }

  .projectedWorkflowCard:hover .workflowPopover,
  .projectedWorkflowCard:focus-visible .workflowPopover {
    transform: translateY(0) scale(1);
  }

  .projectedWorkflowCard::before {
    content: none;
    left: 0;
    top: 100%;
    width: 100%;
    height: 58px;
    background: linear-gradient(180deg, rgba(122, 153, 176, 0.36), rgba(122, 153, 176, 0.2) 64%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 62% 100%, 38% 100%);
    transform: translateY(-10px) scaleY(0.65);
    transform-origin: top center;
  }

  .projectedWorkflowCard:hover::before,
  .projectedWorkflowCard:focus-visible::before {
    content: none;
  }

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

  .processAnimationStep:last-child {
    grid-column: 1 / -1;
  }

}

@media (max-width: 760px) {
  .workflowNav {
    width: calc(100vw - 32px);
    max-width: 100%;
    margin-top: 8px;
    justify-self: start;
    filter: drop-shadow(0 7px 12px rgba(15, 40, 58, 0.2));
  }

  .workflowNavItem {
    --workflow-arrow-size: 8px;
    min-height: 28px;
    padding: 3px 3px 3px calc(3px + var(--workflow-arrow-size));
    font-size: clamp(0.52rem, 2.18vw, 0.68rem);
    font-weight: 400;
  }

  .workflowNavItem:first-child {
    padding-left: 3px;
  }

  .workflowNavItem.active,
  .workflowNavItem[aria-current="step"] {
    transform: translateY(-2px);
  }

  .workflowNavItem.active::after,
  .workflowNavItem[aria-current="step"]::after {
    right: calc(var(--workflow-arrow-size) + 3px);
    bottom: 3px;
    left: calc(var(--workflow-arrow-size) + 3px);
    height: 1px;
  }

  .workflowNavItem:first-child.active::after,
  .workflowNavItem:first-child[aria-current="step"]::after {
    left: 3px;
  }

  .container {
    width: min(var(--page-max-width), calc(100% - 24px));
  }

  .siteHeader {
    padding: 10px 0 8px;
  }

  .siteHeader.container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brandRow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .brandLockup {
    gap: 10px;
  }

  .brandLogo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brandName {
    font-size: 1.18rem;
  }

  .pageNav {
    width: 100%;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .pageNavLink {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .authMenu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    width: 100%;
  }

  .authUserLabel {
    max-width: none;
    font-size: 0.78rem;
    text-align: left;
  }

  .authMenu .authButton {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

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

  .cookieConsentActions {
    width: 100%;
  }

  .cookieConsentActions button {
    flex: 1 1 0;
  }

  .guideMenuPanel {
    left: 0;
    right: auto;
  }

  .coverHero {
    gap: 18px;
  }

  .coverHeroMain {
    padding-top: 8px;
  }

  .coverLead {
    white-space: normal;
  }

  .coverWorkflowHeader {
    align-items: start;
    gap: 6px;
  }

  .workflowCard {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    min-height: 92px;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .workflowCardNo {
    width: 42px;
    height: 42px;
    font-size: 0.78rem;
  }

  .workflowCard strong {
    font-size: 1rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  .workflowCard p {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .processAnimationSection {
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
  }

  .processAnimationHeader h2 {
    font-size: 1.34rem;
    letter-spacing: -0.04em;
  }

  .processAnimationRail {
    display: none;
  }

  .processAnimationSteps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .processAnimationStep,
  .processAnimationStep:last-child {
    grid-column: auto;
  }

  .processAnimationStep {
    min-height: 82px;
    padding: 13px 14px;
    border-radius: 18px;
  }

  .processStepBody strong {
    font-size: 0.98rem;
  }

  .processStepBody span {
    font-size: 0.8rem;
  }

  .cardHeader,
  .stepOneIntro {
    align-items: stretch;
  }

  .monitorSummary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--page-max-width), calc(100% - 18px));
  }

  .siteHeader {
    padding: 6px 0 6px;
  }

  .siteHeader.container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .brandRow {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
  }

  .brandLockup {
    grid-column: 1;
    grid-row: 1;
    gap: 8px;
    min-width: 0;
  }

  .brandLogo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brandName {
    font-size: 0.96rem;
    line-height: 1;
    white-space: nowrap;
  }

  .mobileMenuButton {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--light-control-border);
    background: var(--light-control-bg);
    color: var(--text);
    box-shadow: 0 10px 18px rgba(15, 40, 58, 0.08);
    cursor: pointer;
    z-index: 91;
    touch-action: manipulation;
  }

  .mobileMenuButton span,
  .mobileMenuButton::before,
  .mobileMenuButton::after {
    content: "";
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .mobileMenuButton {
    gap: 3px;
  }

  .pageNav {
    grid-column: 1 / -1;
    grid-row: 3;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 80;
    display: none;
    width: min(360px, calc(100vw - 18px));
    max-height: calc(100vh - 92px);
    gap: 6px;
    order: 3;
    padding: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(127, 142, 159, 0.28);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--menu-shadow);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
  }

  body.mobileNavOpen .pageNav {
    display: flex !important;
  }

  .pageNavLink,
  .guideMenu > summary.pageNavLink {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    padding: 0 12px;
    border-color: rgba(127, 142, 159, 0.32);
    background: #e1e4e8;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: none;
  }

  .pageNavLink:hover,
  .pageNavLink:active,
  .pageNavLink.active,
  .guideMenu > summary.pageNavLink:hover,
  .guideMenu > summary.pageNavLink:active,
  .guideMenu > summary.pageNavLink.active {
    transform: none;
    border-color: rgba(127, 142, 159, 0.42);
    background: #e1e4e8;
    color: var(--text);
    box-shadow: none;
  }

  .guideMenu {
    width: 100%;
  }

  .guideMenu > summary.pageNavLink,
  .guideMenuPanel {
    box-sizing: border-box;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .guideMenu[open] > summary.pageNavLink {
    border-bottom-color: transparent;
    border-radius: 14px 14px 0 0;
    background: #e1e4e8;
    box-shadow: 0 10px 22px rgba(15, 40, 58, 0.12);
  }

  .guideMenuPanel {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: -1px 0 4px;
    padding: 5px 0 8px;
    border-color: var(--light-control-border);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 34px rgba(15, 40, 58, 0.16);
  }

  .guideMenu[open] .guideMenuPanel {
    display: grid;
  }

  .guideMenuPanel a {
    position: relative;
    padding: 8px 10px;
    background: transparent;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .guideMenuPanel a:hover,
  .guideMenuPanel a:active,
  .guideMenuPanel a:focus-visible,
  .guideMenuPanel a.active {
    background: transparent;
    color: var(--text);
  }

  .guideMenuPanel a + a {
    margin-top: 4px;
    padding-top: 12px;
  }

  .guideMenuPanel a + a::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 10px;
    right: 10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(127, 142, 159, 0.38) 14%, rgba(127, 142, 159, 0.38) 86%, transparent);
  }

  .authMenu {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 5px;
    order: 2;
  }

  .authUserLabel {
    font-size: 0.68rem;
    line-height: 1.1;
  }

  .authMenu .authButton {
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.68rem;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .coverPage .workflowCardList {
    gap: 16px;
  }

  .coverPage .workflowCard {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 102px;
    padding: 18px 22px;
  }

  .coverPage .workflowCardNo {
    width: 50px;
    height: 50px;
    font-size: 0.84rem;
  }

  .coverPage .workflowCard strong {
    font-size: 1.18rem;
  }

  .coverPage .workflowCard p {
    margin-top: 5px;
    font-size: 0.86rem;
  }
}

@media (max-width: 640px) {
  .workflowDesktopCards {
    display: none;
  }

  .workflowMobileExplanation {
    display: grid;
  }

  body[data-page="step1"] .stepOneCard,
  body[data-page="step1"] .ideaTopicCard,
  body[data-page="step1"] .savedIdeasCard,
  body[data-page="step1"] .coverLayout > #status {
    width: 100%;
  }

  body[data-page="step1"] .ideaTopicCloud {
    justify-content: flex-start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(66px, auto);
    min-height: 0;
    padding: 8px 14px;
    gap: 10px;
  }

  body[data-page="step1"] .ideaTopicCustomCloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(58px, auto);
    margin-top: -8px;
    padding: 0 14px 4px;
    gap: 10px;
  }

  body[data-page="step1"] button.ideaTopicWord {
    grid-column: span 1;
    width: 100%;
    max-width: 100%;
  }

  body[data-page="step1"] button.ideaTopicWord.is-wide,
  body[data-page="step1"] button.ideaTopicWord.is-featured,
  body[data-page="step1"] button.ideaTopicWord.is-hero {
    grid-column: 1 / -1;
    width: min(100%, 30rem);
  }

  body[data-page="step1"] .ideaTopicDialog {
    padding: 0;
  }

  body[data-page="step1"] .ideaTopicDialogPanel {
    height: 100vh;
    max-height: none;
    padding: 20px 24px 76px;
    border-radius: 0;
  }

  body[data-page="step1"] .ideaTopicDialogActions {
    z-index: 30;
    left: 50%;
    right: auto;
    bottom: 14px;
    width: calc(100% - 48px);
    margin: 0;
    padding: 0;
  }

  body[data-page="step1"] .ideaTopicCard {
    grid-template-columns: 1fr;
  }

  body[data-page="step1"] .ideaTopicControls {
    grid-column: 1;
    width: 100%;
  }

  body[data-page="step1"] .ideaTopicOpenBtn {
    width: 100%;
  }

  body[data-page="step1"] .ideaTopicCustomControls,
  body[data-page="step1"] .ideaTopicCustomInput,
  body[data-page="step1"] .ideaTopicAddBtn {
    width: 100%;
  }

  body[data-page="step1"] .ideaTopicCustomControls {
    flex: 1 1 100%;
    min-width: 100%;
  }

  body[data-page="step1"] .ideaTopicSelectedSummary {
    grid-column: 1;
  }

  body[data-page="step1"] .resumeTopicsWait {
    grid-column: 1;
    width: 100%;
  }

  body[data-page="step1"] button.ideaTopicWord {
    width: 100%;
    max-width: 100%;
  }

  body[data-page="step1"] .generatedIdeaCards {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  body[data-page="step1"] .generatedIdeaCard .generatedIdeaBody {
    height: 220px;
    min-height: 170px;
    max-height: 70vh;
  }

  body[data-page="step1"] .generatedIdeaActions {
    gap: 8px;
  }

  body[data-page="step1"] .generatedIdeaActions button {
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.76rem;
    flex: 1 1 0;
  }

  body[data-page="step1"] .generatedIdeaActions button.secondary {
    flex-basis: 0;
  }

  body[data-page="step1"] .savedIdeasTable {
    min-width: 100%;
  }

  body[data-page="step1"] .savedIdeasTable th,
  body[data-page="step1"] .savedIdeasTable td {
    padding: 10px;
    font-size: 0.8rem;
  }

  .stepOneCard,
  .settingsCard,
  .card {
    padding: 20px;
    border-radius: 24px;
  }

  .coverHero {
    gap: 16px;
    padding: 0;
    border-radius: 0;
  }

  .coverHeroCopy {
    gap: 10px;
  }

  .coverHeroCopy h1 {
    font-size: clamp(2.15rem, 12vw, 3.1rem);
  }

  .coverLead {
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .workflowCardList {
    gap: 10px;
  }

  .workflowIntroduction {
    padding: 13px 0 15px;
    font-size: 0.86rem;
  }

  .workflowExplanationStep {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 0;
  }

  .workflowExplanationNo {
    width: 30px;
    height: 30px;
    font-size: 0.66rem;
  }

  .workflowExplanationStep h2 {
    font-size: 0.98rem;
  }

  .workflowExplanationStep p {
    margin: 5px 0 9px;
    font-size: 0.82rem;
  }

  .workflowExplanationLinks {
    display: grid;
    gap: 6px;
  }

  .coverHeroPanel {
    justify-content: center;
    padding-bottom: 12px;
  }

  .signalStory {
    width: 100%;
    min-height: 0;
    margin-top: 18px;
    padding: 10px;
    border-radius: 20px;
  }

  .signalStory::before {
    inset: 10px;
    border-radius: 16px;
  }

  .signalPageDeck {
    min-height: 390px;
  }

  .signalPage {
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
  }

  .signalPageVisual,
  .estimateVisual {
    min-height: 0;
    border-radius: 14px;
  }

  .growthGraphic,
  .thinkingVisual,
  .commentsVisual {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px;
    width: 100%;
    min-height: 0;
    padding: 10px;
    border-radius: 16px;
  }

  .growthPlan {
    gap: 6px;
  }

  .growthPlan span {
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .growthChart,
  .thinkingBoard,
  .commentBoard,
  .growthResult {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .growthChart,
  .thinkingBoard,
  .commentBoard {
    height: 118px;
    min-height: 118px;
    border-radius: 13px;
  }

  .growthResult {
    gap: 5px;
    padding: 11px;
    border-radius: 14px;
  }

  .growthResult .growthResultPercent {
    font-size: clamp(1.55rem, 9vw, 2.15rem);
  }

  .growthResult span,
  .compactGrowthResult span {
    font-size: 0.68rem;
  }

  .signalPageControls {
    gap: 10px;
    margin-top: 10px;
  }

  .processAnimationSection {
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }

  .processAnimationSection::before {
    inset: 8px;
    border-radius: 15px;
  }

  .processAnimationStep {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    min-height: 72px;
    padding: 10px;
    border-radius: 15px;
  }

  .processStepMarker {
    width: 40px;
    height: 40px;
  }

  .workflowCard {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    min-height: 88px;
    padding: 13px 14px;
    border-radius: 20px;
  }

  .workflowCardNo {
    width: 40px;
    height: 40px;
    font-size: 0.76rem;
  }

  .workflowCard strong {
    font-size: 0.98rem;
  }

  .workflowCard p {
    display: block;
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .savedIdeaControls {
    grid-template-columns: 1fr;
  }

  .coverActions,
  .actions,
  .row {
    align-items: stretch;
  }

  .coverPrimaryAction,
  .coverSecondaryAction,
  button {
    width: 100%;
  }

  .signalPageButton {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .formatToolbar button {
    width: auto;
  }
}

/* Final breakpoint override for the unified horizontal word cloud. */
body[data-page="step1"] #ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord,
body[data-page="step1"] #ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord.is-wide,
body[data-page="step1"] #ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord.is-featured,
body[data-page="step1"] #ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage button.ideaTopicWord.is-hero {
  display: inline-grid;
  width: max-content;
  min-width: 0;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 3px 5px;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

body[data-page="step1"] #ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage .ideaTopicLabelText {
  display: inline-flex;
  width: max-content;
  max-width: none;
  gap: 0.4em;
  white-space: nowrap;
  overflow-wrap: normal;
}

body[data-page="step1"] #ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage .ideaTopicLabelLine {
  display: inline;
  width: auto;
  max-width: none;
  white-space: nowrap;
}

body[data-page="step1"] #ideaTopicDialog.is-d3-cloud .ideaTopicCloudStage .ideaTopicLabelLine + .ideaTopicLabelLine::before {
  content: none;
}

/* Executive landing page */
.executiveLandingPage {
  --executive-ink: #112538;
  --executive-navy: #10293d;
  --executive-blue: #2d526c;
  --executive-gold: #b6934b;
  --executive-gold-soft: #d8c38f;
  --executive-white: #fffdf8;
  background: radial-gradient(circle at 84% 8%, rgba(182, 147, 75, 0.11), transparent 27rem), linear-gradient(180deg, #f8f6f0 0%, #eee9df 100%);
  color: var(--executive-ink);
}

:is(.executiveLandingPage, .executiveAppPage) .siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 12px;
  padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(248, 246, 240, 0.98), rgba(248, 246, 240, 0.9));
  box-shadow: 0 1px 0 rgba(17, 37, 56, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

:is(.executiveLandingPage, .executiveAppPage) .brandRow {
  padding: 9px 14px;
  border: 1px solid rgba(17, 37, 56, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 12px 32px rgba(17, 37, 56, 0.1);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

:is(.executiveLandingPage, .executiveAppPage) .brandName,
:is(.executiveLandingPage, .executiveAppPage) .siteHeader.is-over-dark-section .brandName,
:is(.executiveLandingPage, .executiveAppPage) .siteHeader.is-over-dark-section .brandLockup {
  color: var(--executive-ink);
  text-shadow: none;
}

@media (min-width: 761px) {
  :is(.executiveLandingPage, .executiveAppPage) .pageNav {
    align-items: center;
    gap: 5px;
    padding: 5px;
    border: 1px solid rgba(17, 37, 56, 0.1);
    border-radius: 12px;
    background: rgba(17, 37, 56, 0.045);
    flex-wrap: nowrap;
  }

  :is(.executiveLandingPage, .executiveAppPage) .pageNavLink {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--executive-ink);
    box-shadow: none;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
  }

  :is(.executiveLandingPage, .executiveAppPage) .pageNavLink:hover,
  :is(.executiveLandingPage, .executiveAppPage) .pageNavLink:focus-visible {
    border: 0;
    background: rgba(255, 253, 248, 0.96);
    color: var(--executive-blue);
    box-shadow: 0 7px 16px rgba(17, 37, 56, 0.08);
    transform: translateY(-1px);
  }

  :is(.executiveLandingPage, .executiveAppPage) .pageNavLink.active {
    background: var(--executive-navy);
    color: #fff;
    box-shadow: none;
  }

  :is(.executiveLandingPage, .executiveAppPage) .guideMenu[open] > summary.pageNavLink {
    border: 0;
    border-radius: 8px;
    background: var(--executive-navy);
    color: #fff;
    box-shadow: none;
  }

  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel {
    top: 100%;
    padding: 8px;
    border: 1px solid rgba(17, 37, 56, 0.16);
    border-radius: 12px;
    background: rgba(255, 253, 248, 0.99);
    box-shadow: 0 20px 44px rgba(17, 37, 56, 0.16);
    transform-origin: top center;
  }

  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel a {
    padding: 13px 15px;
    border-radius: 8px;
    color: var(--executive-ink);
    font-size: 0.9rem;
    line-height: 1.35;
  }

  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel a:hover,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel a.active {
    background: var(--executive-navy);
    color: #fff;
  }

  :is(.executiveLandingPage, .executiveAppPage) .authMenu {
    gap: 9px;
  }

  :is(.executiveLandingPage, .executiveAppPage) .authUserLabel {
    color: #68727d;
    max-width: 280px;
    font-size: 0.84rem;
    line-height: 1.3;
  }

  :is(.executiveLandingPage, .executiveAppPage) .authMenu .authButton {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid rgba(17, 37, 56, 0.22);
    border-radius: 8px;
    background: transparent;
    color: var(--executive-ink);
    box-shadow: none;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
  }

  :is(.executiveLandingPage, .executiveAppPage) .authMenu #registerBtn,
  :is(.executiveLandingPage, .executiveAppPage) .authMenu #profileBtn {
    border-color: var(--executive-navy);
    background: var(--executive-navy);
    color: #fff;
    box-shadow: none;
  }

  :is(.executiveLandingPage, .executiveAppPage) .authMenu .authButton:hover,
  :is(.executiveLandingPage, .executiveAppPage) .authMenu .authButton:focus-visible {
    border-color: var(--executive-navy);
    background: var(--executive-white);
    color: var(--executive-ink);
    box-shadow: 0 7px 16px rgba(17, 37, 56, 0.1);
    transform: translateY(-1px);
  }
}

.executiveLandingPage .jobSearchLanding {
  display: grid;
  gap: 20px;
  min-height: 0;
  padding-top: 6px;
  padding-bottom: 36px;
}

.executiveLandingPage .jobSearchHero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.68fr);
  place-items: stretch;
  align-items: start;
  gap: clamp(36px, 4.5vw, 68px);
  min-height: 0;
  padding: clamp(38px, 4.5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(17, 37, 56, 0.13);
  border-radius: 34px;
  background: linear-gradient(112deg, rgba(255, 253, 248, 0.98) 0 57%, rgba(232, 226, 213, 0.92) 57% 100%);
  box-shadow: 0 28px 80px rgba(17, 37, 56, 0.13);
}

.executiveLandingPage .jobSearchHero::before {
  inset: auto auto -190px -110px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(182, 147, 75, 0.22);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 70px rgba(182, 147, 75, 0.035), 0 0 0 140px rgba(16, 41, 61, 0.025);
  opacity: 1;
  animation: none;
}

.executiveLandingPage .jobSearchHero::after {
  top: 36px;
  right: 38px;
  width: 62px;
  height: 2px;
  border: 0;
  background: var(--executive-gold);
  opacity: 0.8;
  content: "";
}

.executiveLandingPage .jobSearchHeroContent {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: start;
  gap: 20px;
  width: auto;
  max-width: 760px;
  padding: 0;
  text-align: left;
}

.executiveLandingPage .jobSearchHeroContent::before {
  width: 72px;
  height: 3px;
  margin-bottom: 4px;
  background: var(--executive-navy);
  content: "";
}

.executiveEyebrow,
.executiveSectionKicker {
  margin: 0;
  color: #8a6d32;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.executiveLandingPage .jobSearchHeroContent > .executiveEyebrow,
.executiveLandingPage .visibilitySuccessCopy > .executiveSectionKicker,
.executiveLandingPage .engageVisibilityCopy > .executiveSectionKicker,
.executiveLandingPage .workflowHeroCopy > .executiveSectionKicker {
  max-width: none;
  margin: 0;
  color: #8a6d32;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.executiveLandingPage .jobSearchHero h1 {
  max-width: none;
  margin: 0;
  color: var(--executive-ink);
  font-size: clamp(3.8rem, 4.75vw, 5.55rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.executiveLandingPage .jobSearchHero h1 span {
  display: block;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.executiveLandingPage .jobSearchHero h1 .executiveHeadlineLead {
  color: var(--executive-ink);
  white-space: nowrap;
}

.executiveLandingPage .jobSearchHero h1 .executiveHeadlineAccent {
  margin-top: 0.08em;
  color: var(--executive-blue);
  font-family: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  font-size: 1.08em;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.065em;
}

.executiveLandingPage .executiveHeroLead {
  max-width: 580px;
  margin: 0;
  color: #536373;
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  line-height: 1.66;
}

.executiveHeroActions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.executiveLandingPage .jobSearchStartButton {
  min-height: 58px;
  padding: 0 20px 0 26px;
  border: 1px solid var(--executive-navy);
  border-radius: 12px;
  background: var(--executive-navy);
  color: #fff;
  box-shadow: 0 16px 30px rgba(16, 41, 61, 0.18);
  font-size: 0.9rem;
  letter-spacing: 0.015em;
}

.executiveLandingPage .jobSearchStartButton i {
  background: rgba(216, 195, 143, 0.18);
  color: var(--executive-gold-soft);
}

.executiveLandingPage .jobSearchStartButton:hover,
.executiveLandingPage .jobSearchStartButton:focus-visible {
  transform: translateY(-3px);
  background: #183a53;
  box-shadow: 0 20px 34px rgba(16, 41, 61, 0.24);
  filter: none;
}

.executiveTextLink {
  padding: 10px 2px 7px;
  border-bottom: 1px solid var(--executive-gold);
  color: var(--executive-ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.executiveLandingPage .jobSearchBenefits {
  justify-content: flex-start;
  gap: 12px 26px;
  margin-top: 8px;
  color: #617180;
  font-size: 0.76rem;
  letter-spacing: 0.025em;
}

.executiveLandingPage .jobSearchBenefits i {
  width: 5px;
  height: 5px;
  background: var(--executive-gold);
}

.executiveHeroPanel {
  position: relative;
  z-index: 2;
  align-self: start;
  min-height: 0;
  padding: clamp(26px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 35%), var(--executive-navy);
  box-shadow: 0 32px 58px rgba(16, 41, 61, 0.22);
  color: #fff;
}

.executiveHeroPanel::before {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  pointer-events: none;
  content: "";
}

.executivePanelBrand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.executivePanelBrand img {
  width: 78px;
  border-radius: 5px;
}

.executivePanelBrand span {
  color: #d8e0e5;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
}

.executiveHeroPanel h2 {
  position: relative;
  max-width: 14ch;
  margin: 20px 0 12px;
  color: #fff;
  font-size: clamp(1.75rem, 2.15vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.executiveHeroPanel > p {
  position: relative;
  margin: 0;
  color: #bdc8d0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.executivePanelSteps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.executivePanelSteps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.executivePanelSteps li > span {
  grid-row: 1 / 3;
  color: var(--executive-gold-soft);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.executivePanelSteps strong { color: #fff; font-size: 0.84rem; }
.executivePanelSteps small { color: #97a8b5; font-size: 0.69rem; line-height: 1.35; }

.executiveLandingPage .visibilitySuccessSection,
.executiveLandingPage .engageVisibilitySection {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  min-height: 0;
  width: 100%;
  justify-self: center;
  margin: 0;
  padding: clamp(34px, 4.5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(17, 37, 56, 0.12);
  border-radius: 28px;
  background: var(--executive-white);
  box-shadow: 0 18px 54px rgba(17, 37, 56, 0.08);
}

.executiveLandingPage .visibilitySuccessSection::before,
.executiveLandingPage .engageVisibilitySection::before { display: none; }

.executiveLandingPage .visibilitySuccessImageWrap,
.executiveLandingPage .engageVisibilityImageWrap {
  position: relative;
  inset: auto;
  z-index: 1;
  min-height: 360px;
  border-radius: 20px;
  transform: none;
}

.executiveLandingPage .visibilitySuccessImage,
.executiveLandingPage .engageVisibilityImage {
  width: 100%;
  height: 360px;
  min-height: 0;
  border-radius: 20px;
  filter: saturate(0.72) contrast(1.02);
  object-fit: cover;
}

.executiveLandingPage .visibilitySuccessImageWrap {
  min-height: 0;
  aspect-ratio: 1356 / 901;
  overflow: hidden;
  border: 1px solid rgba(17, 37, 56, 0.12);
  background: #e8e5dd;
  box-shadow: 0 18px 42px rgba(17, 37, 56, 0.12);
}

.executiveLandingPage .visibilitySuccessImage {
  height: 100%;
  object-fit: contain;
  filter: saturate(0.82) contrast(1.03);
}

.executiveLandingPage .visibilitySuccessMetric,
.executiveLandingPage .engageVisibilityBadge {
  top: auto;
  right: -18px;
  bottom: 24px;
  left: auto;
  min-width: 150px;
  padding: 18px 20px;
  border: 1px solid rgba(216, 195, 143, 0.36);
  border-radius: 12px;
  background: var(--executive-navy);
  color: #fff;
  box-shadow: 0 18px 34px rgba(16, 41, 61, 0.24);
  transform: none;
}

.executiveLandingPage .visibilitySuccessMetric {
  top: 18px;
  right: auto;
  bottom: auto;
  left: 18px;
}

.executiveLandingPage .visibilitySuccessMetric strong,
.executiveLandingPage .engageVisibilityBadge strong { color: var(--executive-gold-soft); }

.executiveLandingPage .visibilitySuccessMetric span,
.executiveLandingPage .engageVisibilityBadge span { color: #c2ccd3; }

.executiveLandingPage .visibilitySuccessCopy,
.executiveLandingPage .engageVisibilityCopy {
  display: grid;
  gap: 18px;
  width: auto;
  max-width: 690px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.executiveLandingPage .visibilitySuccessCopy h2,
.executiveLandingPage .engageVisibilityCopy h2,
.executiveLandingPage .workflowHeroCopy h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--executive-ink);
  font-size: clamp(2.7rem, 4.3vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.executiveLandingPage .visibilitySuccessCopy h2 {
  max-width: 15ch;
  font-size: clamp(2.7rem, 3.8vw, 4.35rem);
  line-height: 1;
}

.executiveLandingPage .visibilitySuccessCopy > p:not(.executiveSectionKicker),
.executiveLandingPage .engageVisibilityCopy > p:not(.executiveSectionKicker),
.executiveLandingPage .workflowHeroCopy > p:not(.executiveSectionKicker) {
  max-width: 54ch;
  margin: 0;
  color: #60707e;
  font-size: 1.08rem;
  line-height: 1.7;
}

.executiveProofLine {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 37, 56, 0.13);
}

.executiveProofLine strong { color: var(--executive-blue); font-size: 2rem; letter-spacing: -0.04em; }
.executiveProofLine span { color: #667682; font-size: 0.82rem; line-height: 1.45; }

.executiveLandingPage .visibilitySuccessSection {
  position: relative;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 4vw, 58px);
  border-color: rgba(17, 37, 56, 0.12);
  background:
    radial-gradient(circle at 12% 12%, rgba(216, 195, 143, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(245, 241, 231, 0.96) 48%, rgba(232, 226, 213, 0.92) 100%);
  box-shadow: 0 24px 64px rgba(17, 37, 56, 0.12);
}

.executiveLandingPage .visibilitySuccessSection::after {
  position: absolute;
  top: 28px;
  right: 34px;
  width: 72px;
  height: 2px;
  background: var(--executive-gold);
  opacity: 0.86;
  content: "";
}

.executiveLandingPage .visibilitySuccessImageWrap {
  min-height: 0;
  aspect-ratio: 1356 / 901;
  padding: 0;
  border: 1px solid rgba(17, 37, 56, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(245, 241, 231, 0.92)),
    #f6f1e7;
  box-shadow:
    0 24px 48px rgba(17, 37, 56, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.executiveLandingPage .visibilitySuccessImageWrap::before {
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 18px;
  pointer-events: none;
  content: "";
}

.executiveLandingPage .visibilitySuccessImageWrap::after {
  background:
    linear-gradient(180deg, transparent, rgba(17, 37, 56, 0.12)),
    linear-gradient(90deg, rgba(255, 253, 248, 0.08), transparent 48%);
}

.executiveLandingPage .visibilitySuccessImage {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 26px;
  filter: saturate(0.82) contrast(1.03);
  object-fit: contain;
  object-position: center;
}

.executiveLandingPage .visibilitySuccessMetric {
  top: 26px;
  left: 26px;
  min-width: 136px;
  padding: 16px 18px;
  border-color: rgba(216, 195, 143, 0.42);
  border-radius: 14px;
  background: rgba(16, 41, 61, 0.92);
  box-shadow: 0 18px 36px rgba(4, 14, 24, 0.38);
}

.executiveLandingPage .visibilitySuccessCopy {
  position: relative;
  z-index: 3;
  gap: 16px;
  max-width: 650px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(17, 37, 56, 0.12);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow:
    0 20px 46px rgba(17, 37, 56, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.executiveLandingPage .visibilitySuccessCopy::before {
  width: 64px;
  height: 2px;
  margin-bottom: 2px;
  background: var(--executive-gold);
  content: "";
}

.executiveLandingPage .visibilitySuccessCopy h2 {
  max-width: 13ch;
  color: var(--executive-ink);
  font-size: clamp(2.55rem, 3.55vw, 4.05rem);
  line-height: 0.96;
}

.executiveLandingPage .visibilitySuccessCopy > p:not(.executiveSectionKicker) {
  max-width: 52ch;
  color: #5f6e7b;
  font-size: 1.02rem;
  line-height: 1.64;
}

.executiveLandingPage .visibilitySuccessCopy .executiveProofLine {
  border-top-color: rgba(17, 37, 56, 0.12);
}

.executiveLandingPage .visibilitySuccessCopy .executiveProofLine strong {
  color: var(--executive-blue);
}

.executiveLandingPage .visibilitySuccessCopy .executiveProofLine span {
  color: #667682;
}

.executiveLandingPage .engageVisibilitySection {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  background: #e9e5db;
}

.executiveLandingPage .engageVisibilityImageWrap { grid-column: 2; grid-row: 1; }
.executiveLandingPage .engageVisibilityCopy { grid-column: 1; grid-row: 1; }

.executiveLandingPage .engageVisibilityTakeaway {
  padding: 18px 0 0 22px;
  border-top: 1px solid rgba(17, 37, 56, 0.13);
  border-left: 3px solid var(--executive-gold);
  color: var(--executive-ink) !important;
  font-weight: 800;
}

.executiveLandingPage .workflowHeroSection {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(38px, 5vw, 72px);
  min-height: 0;
  width: 100%;
  justify-self: center;
  margin: 0;
  padding: clamp(38px, 4.5vw, 58px);
  border: 1px solid rgba(216, 195, 143, 0.2);
  border-radius: 28px;
  background: radial-gradient(circle at 12% 12%, rgba(182, 147, 75, 0.15), transparent 24rem), var(--executive-navy);
  box-shadow: 0 28px 70px rgba(16, 41, 61, 0.2);
}

.executiveLandingPage .workflowHeroSection::before { display: none; }

.executiveLandingPage .workflowHeroCopy {
  position: sticky;
  top: 30px;
  display: grid;
  gap: 22px;
  max-width: 510px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.executiveLandingPage .workflowHeroCopy h2 { color: #fff; }
.executiveLandingPage .workflowHeroCopy > p:not(.executiveSectionKicker) { color: #b9c5cd; }

.executiveLandingPage .workflowHeroStartButton {
  justify-self: start;
  margin-top: 8px;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

.executiveWorkflow { display: grid; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); list-style: none; }
.executiveWorkflow li { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }

.executiveWorkflow a {
  display: grid;
  grid-template-columns: 52px minmax(120px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 14px 8px;
  color: #fff;
  text-decoration: none;
  transition: padding 180ms ease, background 180ms ease;
}

.executiveWorkflow a:hover,
.executiveWorkflow a:focus-visible { padding-right: 18px; padding-left: 18px; background: rgba(255, 255, 255, 0.055); }
.executiveWorkflow span { color: var(--executive-gold-soft); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; }
.executiveWorkflow strong { font-size: 1.18rem; letter-spacing: -0.025em; }
.executiveWorkflow small { color: #9fafba; font-size: 0.82rem; line-height: 1.5; }

@media (max-width: 980px) {
  .executiveLandingPage .jobSearchHero,
  .executiveLandingPage .visibilitySuccessSection,
  .executiveLandingPage .engageVisibilitySection,
  .executiveLandingPage .workflowHeroSection { grid-template-columns: 1fr; }
  .executiveLandingPage .jobSearchHero { min-height: 0; background: var(--executive-white); }
  .executiveHeroPanel { width: 100%; min-height: 0; }
  .executiveLandingPage .engageVisibilityImageWrap,
  .executiveLandingPage .engageVisibilityCopy { grid-column: 1; }
  .executiveLandingPage .engageVisibilityImageWrap { grid-row: 1; }
  .executiveLandingPage .engageVisibilityCopy { grid-row: 2; }
  .executiveLandingPage .workflowHeroCopy { position: static; }
}

@media (max-width: 640px) {
  :is(.executiveLandingPage, .executiveAppPage) .siteHeader { padding: 10px 12px; }
  :is(.executiveLandingPage, .executiveAppPage) .brandRow { padding: 8px 10px; border-radius: 14px; }
  .executiveLandingPage .jobSearchLanding { gap: 18px; padding: 4px 12px 30px; }
  .executiveLandingPage .jobSearchHero,
  .executiveLandingPage .visibilitySuccessSection,
  .executiveLandingPage .engageVisibilitySection,
  .executiveLandingPage .workflowHeroSection { min-height: 0; padding: 32px 22px; border-radius: 20px; }
  .executiveLandingPage .jobSearchHeroContent { gap: 18px; width: 100%; padding: 0; }
  .executiveLandingPage .jobSearchHeroContent::before { width: 52px; height: 2px; }
  .executiveLandingPage .jobSearchHero h1 { font-size: clamp(2.25rem, 11.5vw, 3.8rem); line-height: 0.92; }
  .executiveHeroActions { align-items: flex-start; flex-direction: column; }
  .executiveHeroPanel { padding: 28px 24px; border-radius: 18px; }
  .executivePanelBrand { align-items: flex-start; }
  .executivePanelBrand img { width: 78px; }
  .executiveLandingPage .engageVisibilityImageWrap { min-height: 310px; }
  .executiveLandingPage .engageVisibilityImage { height: 310px; }
  .executiveLandingPage .engageVisibilityBadge { right: 12px; }
  .executiveLandingPage .visibilitySuccessMetric { top: 12px; right: auto; bottom: auto; left: 12px; }
  .executiveLandingPage .visibilitySuccessCopy h2,
  .executiveLandingPage .engageVisibilityCopy h2,
  .executiveLandingPage .workflowHeroCopy h2 { font-size: clamp(2.45rem, 12vw, 3.65rem); }
  .executiveWorkflow a { grid-template-columns: 36px 1fr; gap: 7px 12px; min-height: 112px; }
  .executiveWorkflow small { grid-column: 2; }
}

@media (max-width: 760px) {
  :is(.executiveLandingPage, .executiveAppPage) .siteHeader {
    padding: 8px;
  }

  :is(.executiveLandingPage, .executiveAppPage) .mobileMenuButton {
    border-color: var(--executive-navy);
    border-radius: 9px;
    background: var(--executive-navy);
    color: #fff;
    box-shadow: none;
  }

  :is(.executiveLandingPage, .executiveAppPage) .pageNav {
    border-color: rgba(17, 37, 56, 0.16);
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.99);
    box-shadow: 0 20px 44px rgba(17, 37, 56, 0.18);
  }

  :is(.executiveLandingPage, .executiveAppPage) .pageNavLink,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenu > summary.pageNavLink {
    min-height: 42px;
    padding: 0 14px;
    border-color: transparent;
    border-radius: 9px;
    background: rgba(17, 37, 56, 0.06);
    color: var(--executive-ink);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
  }

  :is(.executiveLandingPage, .executiveAppPage) .pageNavLink:hover,
  :is(.executiveLandingPage, .executiveAppPage) .pageNavLink:active,
  :is(.executiveLandingPage, .executiveAppPage) .pageNavLink.active,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenu > summary.pageNavLink:hover,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenu > summary.pageNavLink:active,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenu > summary.pageNavLink.active,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenu[open] > summary.pageNavLink {
    border-color: var(--executive-navy);
    background: var(--executive-navy);
    color: #fff;
    box-shadow: none;
  }

  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel {
    border-color: rgba(17, 37, 56, 0.14);
    background: rgba(17, 37, 56, 0.035);
    box-shadow: none;
  }

  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel a:hover,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel a:active,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel a:focus-visible,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel a.active {
    background: rgba(182, 147, 75, 0.14);
    color: var(--executive-ink);
  }

  :is(.executiveLandingPage, .executiveAppPage) .authMenu .authButton {
    border-color: rgba(17, 37, 56, 0.22);
    border-radius: 8px;
    background: transparent;
    color: var(--executive-ink);
    box-shadow: none;
    font-size: 0.74rem;
    font-weight: 700;
  }

  :is(.executiveLandingPage, .executiveAppPage) .authMenu #registerBtn,
  :is(.executiveLandingPage, .executiveAppPage) .authMenu #profileBtn {
    border-color: var(--executive-navy);
    background: var(--executive-navy);
    color: #fff;
    box-shadow: none;
  }
}

@keyframes executiveMenuOpen {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0 round 12px);
    transform: translateY(-12px) scale(0.96);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 12px);
    transform: translateY(0) scale(1);
  }
}

@keyframes executiveMenuItemOpen {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:is(.executiveLandingPage, .executiveAppPage) .guideMenu[open] .guideMenuPanel {
  animation: executiveMenuOpen 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

:is(.executiveLandingPage, .executiveAppPage) .guideMenu[open] .guideMenuPanel a {
  animation: executiveMenuItemOpen 260ms ease-out both;
  animation-delay: 90ms;
}

:is(.executiveLandingPage, .executiveAppPage) .guideMenu[open] .guideMenuPanel a:nth-child(2) {
  animation-delay: 135ms;
}

:is(.executiveLandingPage, .executiveAppPage) .guideMenu[open] .guideMenuPanel a:nth-child(3) {
  animation-delay: 180ms;
}

:is(.executiveLandingPage, .executiveAppPage) .guideMenu[open] .guideMenuPanel a:nth-child(4) {
  animation-delay: 225ms;
}

@keyframes executiveMobileMenuOpen {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  :is(.executiveLandingPage, .executiveAppPage).mobileNavOpen .pageNav {
    transform-origin: top center;
    animation: executiveMobileMenuOpen 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  :is(.executiveLandingPage, .executiveAppPage).mobileNavOpen .pageNav > * {
    animation: executiveMenuItemOpen 260ms ease-out both;
    animation-delay: 90ms;
  }

  :is(.executiveLandingPage, .executiveAppPage).mobileNavOpen .pageNav > :nth-child(2) {
    animation-delay: 135ms;
  }

  :is(.executiveLandingPage, .executiveAppPage).mobileNavOpen .pageNav > :nth-child(3) {
    animation-delay: 180ms;
  }

  :is(.executiveLandingPage, .executiveAppPage).mobileNavOpen .pageNav > :nth-child(4) {
    animation-delay: 225ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.executiveLandingPage, .executiveAppPage) .guideMenuPanel,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenu[open] .guideMenuPanel,
  :is(.executiveLandingPage, .executiveAppPage) .guideMenu[open] .guideMenuPanel a,
  :is(.executiveLandingPage, .executiveAppPage).mobileNavOpen .pageNav,
  :is(.executiveLandingPage, .executiveAppPage).mobileNavOpen .pageNav > * {
    animation: none;
    transition: none;
  }
}

/* Persistent Create-page output pane. */
.combinedCreatePage button.createStageButton,
.combinedCreatePage button.createStageButton:hover,
.combinedCreatePage button.createStageButton:focus-visible {
  border-color: #c9dce1;
  background: #c9dce1;
  color: #112538;
  box-shadow: none;
  transform: none;
}

.combinedCreatePage button.createStageButton:hover,
.combinedCreatePage button.createStageButton:focus-visible {
  border-color: #203f52;
  background: #203f52;
  color: #fff;
}

.combinedCreatePage button.createStageButton.active,
.combinedCreatePage button.createStageButton.active:hover,
.combinedCreatePage button.createStageButton.active:focus-visible {
  border-color: #203f52;
  background: #203f52;
  color: #fff;
}

.combinedCreatePage button.createStageButton::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: 16px;
  border-right: 3px solid #203f52;
  border-bottom: 3px solid #203f52;
  color: transparent;
  font-size: 0;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.combinedCreatePage button.createStageButton:hover::after,
.combinedCreatePage button.createStageButton:focus-visible::after,
.combinedCreatePage button.createStageButton.active::after {
  border-color: #d9e9ee;
}

.combinedCreatePage button.createStageButton.active::after {
  transform: rotate(225deg);
}

.combinedCreatePage .createPostBrief {
  order: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fffdfa;
  box-shadow: 0 12px 30px rgba(17, 37, 56, 0.07);
}

.combinedCreatePage .createPostBrief label {
  margin: 0;
  color: var(--executive-navy);
  font-weight: 800;
}

.combinedCreatePage .createPostBrief textarea {
  width: 100%;
  min-height: 74px;
  height: 74px;
  resize: none;
  overflow-anchor: none;
}

.combinedCreatePage .createPostBrief textarea.srOnlyTextarea {
  position: absolute;
  width: 1px;
  min-width: 0;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.executiveAppPage .editableTextBoxControlHost,
.combinedCreatePage .createPostBriefEditor {
  position: relative;
  width: 100%;
}

.executiveAppPage .editableTextBoxControlHost > textarea {
  width: 100%;
  padding-right: 112px;
}

.combinedCreatePage .createPostBrief .postIdeaFormatted.createPostBriefFormatted {
  width: 100%;
  min-height: 74px;
  height: 74px;
  max-height: 180px;
  padding: 12px 112px 12px 16px;
  overflow: auto;
  resize: vertical;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  background: #fff;
  color: var(--executive-navy);
  overflow-anchor: none;
}

.executiveAppPage .createPostBriefIcon {
  position: absolute;
  top: 6px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 37, 56, 0.1);
  color: rgba(17, 37, 56, 0.88);
  box-shadow: none;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transform: none;
}

.executiveAppPage .createPostBriefClear {
  right: 10px;
}

.executiveAppPage .createPostBriefRedo {
  right: 44px;
}

.executiveAppPage .createPostBriefUndo {
  right: 78px;
}

.executiveAppPage .editableTextBoxControlHost > .postAdditionalInstructions ~ .createPostBriefIcon,
.executiveAppPage .editableTextBoxControlHost > #imageAdditionalInstructions ~ .createPostBriefIcon {
  top: 16px;
}

.combinedCreatePage .createPostBriefEditor .createPostBriefClear {
  right: 32px;
}

.combinedCreatePage .createPostBriefEditor .createPostBriefRedo {
  right: 66px;
}

.combinedCreatePage .createPostBriefEditor .createPostBriefUndo {
  right: 100px;
}

.executiveAppPage .createPostBriefIcon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

.executiveAppPage .createPostBriefIcon:hover,
.executiveAppPage .createPostBriefIcon:focus-visible {
  background: rgba(17, 37, 56, 0.12);
  color: var(--executive-navy);
  transform: none;
  padding: 0;
}

.executiveAppPage .editableTextBoxControlHost.is-empty .createPostBriefClear,
.combinedCreatePage .createPostBriefEditor.is-empty .createPostBriefClear {
  opacity: 0;
  pointer-events: none;
}

.executiveAppPage .editableTextBoxControlHost:not(.has-undo) .createPostBriefUndo,
.combinedCreatePage .createPostBriefEditor:not(.has-undo) .createPostBriefUndo {
  opacity: 0;
  pointer-events: none;
}

.executiveAppPage .editableTextBoxControlHost:not(.has-redo) .createPostBriefRedo,
.combinedCreatePage .createPostBriefEditor:not(.has-redo) .createPostBriefRedo {
  opacity: 0;
  pointer-events: none;
}

.combinedCreatePage .combinedCreateWorkspace,
.combinedCreatePage .createSettingsPane {
  overflow-anchor: none;
}

.combinedCreatePage .createSettingsPane,
.combinedCreatePage .createPersistentOutput {
  min-height: 0;
  contain: layout;
}

.combinedCreatePage .createPrimaryActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-top: 4px;
}

.combinedCreatePage .createPrimaryActions:empty {
  min-height: 46px;
}

.combinedCreatePage .createPrimaryActions > button {
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.combinedCreatePage .createPrimaryActions > #postRunBtn {
  grid-column: 1;
}

.combinedCreatePage .createPrimaryActions > #imageGenerateSelectedBtn {
  grid-column: 2;
}

.combinedCreatePage .createSettingsPane {
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 22px;
  min-width: 0;
}

.combinedCreatePage.imagePickerDialogOpen .createSettingsPane {
  position: relative;
  z-index: 3000;
  contain: none;
}

.combinedCreatePage.imagePickerDialogOpen .createPersistentOutput {
  z-index: 1;
}

.combinedCreatePage .createSettingsPane > .createStageNav {
  order: 3;
}

.combinedCreatePage .createScheduledPostsCard {
  min-width: 0;
}

.combinedCreatePage .createScheduledPostsCard .scheduledPostsTableWrap {
  max-height: 520px;
  overflow: auto;
}

.combinedCreatePage .createIdeaOutputColumn .generatedIdeaCards {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: auto;
}

.combinedCreatePage .createIdeaOutputColumn .generatedIdeaCard {
  min-width: 0;
  height: auto;
  gap: 8px;
  padding: 12px;
}

.combinedCreatePage .createIdeaOutputColumn .generatedIdeaCard.is-selected {
  border: 3px solid #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12), 0 14px 30px rgba(17, 37, 56, 0.1);
}

.combinedCreatePage .createIdeaOutputColumn .generatedIdeaCard h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.combinedCreatePage .selectedIdeaBadge {
  padding: 4px 7px;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.combinedCreatePage .createIdeaOutputColumn .generatedIdeaCard .generatedIdeaBody {
  box-sizing: border-box;
  width: 100%;
  height: 170px;
  min-height: 170px;
  max-height: 60vh;
  overflow-x: hidden;
  overflow-y: auto;
  resize: vertical;
}

.combinedCreatePage .createIdeaOutputColumn .generatedIdeaActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.combinedCreatePage .createIdeaOutputColumn .generatedIdeaActions button {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
}

@media (min-width: 1350px) {
  .combinedCreatePage .createIdeaOutputColumn .generatedIdeaCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.combinedCreatePage .createPersistentOutput {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
}

.combinedCreatePage .createPersistentOutput[hidden],
.combinedCreatePage .createPersistentPanel[hidden] {
  display: none !important;
}

.combinedCreatePage .createSavedIdeasPanel .savedIdeasCard {
  min-width: 0;
  padding: 16px;
}

.combinedCreatePage .createSavedIdeasPanel .savedIdeaControls {
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 0.64fr);
  gap: 14px;
  align-items: stretch;
  min-width: 0;
}

.combinedCreatePage .createSavedIdeasPanel .savedIdeaPanel {
  box-sizing: border-box;
  min-width: 0;
  height: 100%;
  padding: 14px;
}

.combinedCreatePage .createSavedIdeasPanel .savedIdeaSelectPanel {
  grid-template-rows: minmax(0, 1fr);
}

.combinedCreatePage .createSavedIdeasPanel .savedIdeasTableWrap {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 520px;
  overflow: auto;
}

.combinedCreatePage .createSavedIdeasPanel .savedIdeasTable {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.combinedCreatePage .createSavedIdeasPanel .savedIdeasTable :is(th, td) {
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combinedCreatePage .createSavedIdeasPanel .selectedIdeaEditorFormatted {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 360px;
  max-height: 520px;
  overflow: auto;
  overflow-wrap: anywhere;
}

.combinedCreatePage .createSavedIdeasPanel .selectedIdeaActions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.combinedCreatePage .createSavedIdeasPanel .selectedIdeaActions button {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
}

.combinedCreatePage .createSavedIdeasPanel .selectedIdeaEditorPanel.is-selected-for-post {
  border: 3px solid #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12), 0 14px 30px rgba(17, 37, 56, 0.1);
}

.combinedCreatePage .createSavedIdeasPanel .selectedIdeaEditorPanel.is-selected-for-post::before {
  content: "Selected Idea";
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.combinedCreatePage .ideaTopicCustomControls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.combinedCreatePage .ideaTopicCustomControls .ideaTopicCustomInput {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  padding: 8px 2px 7px;
  overflow: hidden;
  border: 0;
  border-bottom: 2px solid rgba(251, 250, 247, 0.68);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1;
  white-space: nowrap;
}

.combinedCreatePage .ideaTopicCustomControls .ideaTopicCustomInput:focus {
  border: 0;
  border-bottom: 2px solid rgba(139, 211, 255, 0.96);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.combinedCreatePage .ideaTopicCustomControls .ideaTopicAddBtn {
  width: auto;
  min-width: 72px;
  white-space: nowrap;
}

.combinedCreatePage .createPersistentPanel {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(17, 37, 56, 0.14);
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 16px 40px rgba(17, 37, 56, 0.08);
}

.combinedCreatePage #createPostOutputPanel:not([hidden]):has(+ #createImageOutputPanel:not([hidden])) {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: none;
}

.combinedCreatePage #createPostOutputPanel:not([hidden]) + #createImageOutputPanel:not([hidden]) {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
}

.combinedCreatePage .createPersistentOutput:has(
  > #createPostOutputPanel:not([hidden]) + #createImageOutputPanel:not([hidden])
) {
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(17, 37, 56, 0.08);
}

.combinedCreatePage .createPersistentPanel > h2 {
  margin: 0 0 12px;
  color: var(--executive-ink);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.combinedCreatePage :is(#createPostOutputSlot, #createImageOutputSlot) {
  min-width: 0;
}

.combinedCreatePage #createPostOutputSlot .postOutputPanel,
.combinedCreatePage #createImageOutputSlot .imagePreviewPanel {
  width: 100%;
  max-width: var(--linkedin-feed-width);
  margin: 0;
}

.combinedCreatePage #createPostOutputSlot #postOutput {
  box-sizing: border-box;
  width: 100%;
  min-height: 195px;
  scrollbar-width: none;
}

.combinedCreatePage #createPostOutputSlot #postOutput::-webkit-scrollbar {
  display: none;
}

.combinedCreatePage #createPostOutputSlot .formatToolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
}

.combinedCreatePage #createPostOutputSlot .formatToolbar::-webkit-scrollbar {
  display: none;
}

.combinedCreatePage #createPostOutputSlot .toolbarSelectLabel {
  flex: 1 1 130px;
  min-width: 105px;
  max-width: 145px;
}

.combinedCreatePage #createPostOutputSlot .formatToolbar select {
  width: 100%;
  min-width: 0;
}

.combinedCreatePage #createPostOutputSlot .formatToolbar button {
  flex: 0 0 auto;
  width: auto;
  min-width: 36px;
  padding-inline: 8px;
}

.combinedCreatePage #createPostOutputSlot #postStrikethroughBtn + .toolbarDivider,
.combinedCreatePage #createPostOutputSlot .formatToolbar .toolbarDivider {
  flex: 0 0 1px;
  width: 1px;
  height: 28px;
  margin: 0 2px;
  background: rgba(17, 37, 56, 0.18);
}

.combinedCreatePage #createImageOutputSlot :is(.imageOutput, .imagePreview) {
  width: 100%;
  max-width: 100%;
}

.combinedCreatePage #createImageOutputSlot .imageOutput:not(.is-generating):has(.imagePreview:not([hidden])) {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.combinedCreatePage #createImageOutputSlot .imagePreview {
  box-shadow: none;
}

.combinedCreatePage .createStage-post > .card,
.combinedCreatePage .createStage-image > .card {
  display: block;
}

.combinedCreatePage .createStage-image > .card {
  padding: 10px 14px 14px;
}

.combinedCreatePage .createStage-image .imageCustomizationOptions {
  margin: 0 0 12px;
}

.combinedCreatePage .createStage-image .imageControlPanel {
  display: grid !important;
  width: 100%;
}

.combinedCreatePage .createStage-image .imagePanelToggleActions,
.combinedCreatePage .createStage-image .imageGenerateAction {
  width: 100%;
}

@media (min-width: 1080px) {
  .combinedCreatePage .combinedCreateWorkspace {
    grid-template-columns: minmax(340px, 1fr) minmax(0, var(--linkedin-feed-width));
    align-items: start;
  }

  .combinedCreatePage .combinedCreateWorkspace:has(> .createPersistentOutput[hidden]) {
    grid-template-columns: minmax(340px, calc(100% - var(--linkedin-feed-width) - 22px));
    justify-content: center;
  }

  .combinedCreatePage .combinedCreateWorkspace > .stepIntroCard {
    grid-column: 1;
    grid-row: 1;
  }

  .combinedCreatePage .createSettingsPane {
    grid-column: 1;
    grid-row: 2;
  }

  .combinedCreatePage .createStageNav {
    grid-column: 1;
    grid-row: 2;
  }

  .combinedCreatePage .createPersistentOutput {
    position: sticky;
    top: 18px;
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-height: calc(100vh - 18px);
    overflow: auto;
    overflow-anchor: none;
    scrollbar-gutter: stable;
  }

  .combinedCreatePage .createPersistentOutput * {
    overflow-anchor: none;
  }

  .combinedCreatePage #createPostOutputPanel {
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .combinedCreatePage #createPostOutputSlot #postOutput {
    height: 281px;
    min-height: 281px;
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .combinedCreatePage .combinedWorkflowMount {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .combinedCreatePage .createIdeaWorkspaceGrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1079px) {
  .combinedCreatePage .combinedCreateWorkspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .combinedCreatePage .createSettingsPane,
  .combinedCreatePage .createStageNav,
  .combinedCreatePage .createPrimaryActions,
  .combinedCreatePage .createPersistentOutput,
  .combinedCreatePage .combinedWorkflowMount {
    grid-column: 1;
  }

  .combinedCreatePage .createPersistentOutput {
    position: static;
  }
}

@media (max-width: 720px) {
  .combinedCreatePage .createSavedIdeasPanel .savedIdeaControls {
    grid-template-columns: minmax(0, 1fr);
  }

  .combinedCreatePage .createSavedIdeasPanel .selectedIdeaActions {
    grid-template-columns: minmax(0, 1fr);
  }
}
