:root {
  --navy: #071a2b;
  --ink: #0b1726;
  --muted: #596b79;
  --line: #d7e2e8;
  --paper: #f1f7f9;
  --white: #fff;
  --blue: #0787b8;
  --mint: #8ce8c0;
  --yellow: #ffe600;
  --orange: #ff684d;
  --shadow: 0 20px 55px rgba(7, 26, 43, 0.11);
}
* {
  box-sizing: border-box;
}
html {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
body {
  margin: 0;
}
.shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
aside {
  height: 100vh;
  position: sticky;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 25px 16px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  text-decoration: none;
  padding: 0 9px 28px;
}
.brand > span {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--mint);
  color: var(--navy);
  display: grid;
  place-items: center;
  font: 900 18px Georgia;
}
.brand b,
.brand small {
  display: block;
}
.brand small {
  font: 600 11px system-ui;
  color: #9eb6c6;
  margin-top: 3px;
}
.brand b {
  font-size: 17px;
}
nav {
  display: grid;
  gap: 6px;
}
.nav {
  border: 0;
  background: transparent;
  color: #aec1cf;
  border-radius: 11px;
  padding: 13px 14px;
  text-align: left;
  font-weight: 800;
  font-size: 15px;
}
.nav-link {
  display: block;
  color: #aec1cf;
  border-radius: 11px;
  padding: 13px 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
}
.nav-link:hover,
.nav-link:focus-visible {
  background: #13354e;
  color: #fff;
}
.nav-link span {
  margin-left: 10px;
}
.nav:hover,
.nav.active {
  background: #13354e;
  color: white;
}
.nav.active {
  box-shadow: inset 3px 0 var(--yellow);
}
.nav span {
  margin-left: 10px;
}
.hub-chip {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  font:
    950 9px/1.2 Inter,
    sans-serif;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}
.product-note {
  margin-top: auto;
  padding: 16px;
  border: 1px solid #2a495f;
  border-radius: 15px;
  background: #0e2a40;
}
.product-note b {
  color: var(--mint);
}
.product-note p {
  color: #a9bfcd;
  font-size: 12px;
  line-height: 1.45;
  margin: 7px 0 0;
}
.studio-home {
  margin-top: 54px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.studio-home-lead {
  max-width: 930px;
  padding: 88px 42px 62px;
}
.studio-home h2 {
  margin: 10px 0 20px;
  max-width: 880px;
  font: 700 clamp(36px, 5vw, 70px)/0.98 Georgia, serif;
  letter-spacing: -0.035em;
}
.studio-home-lead p,
.studio-home-split p,
.studio-home-hub p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.studio-home-band {
  background: var(--navy);
  color: #fff;
}
.studio-home-band > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  column-gap: 28px;
  padding: 42px;
  border-bottom: 1px solid #294457;
}
.studio-home-band > div:last-child {
  border-bottom: 0;
}
.studio-home-band span {
  grid-row: 1 / span 2;
  color: var(--mint);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.studio-home-band h3 {
  margin: 0 0 14px;
  font: 700 29px/1.05 Georgia, serif;
}
.studio-home-band p {
  margin: 0;
  color: #bfd0da;
  font-size: 16px;
  line-height: 1.6;
}
.studio-home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 90px 42px;
  background: #e8f8f1;
}
.studio-home-split h2 {
  font-size: clamp(35px, 4vw, 58px);
}
.studio-home-split > div:last-child {
  align-self: end;
}
.studio-home-split a,
.studio-footer a {
  display: inline-block;
  margin-top: 26px;
  color: var(--navy);
  font-weight: 900;
}
.studio-home-hub {
  padding: 90px 42px;
  border: 3px solid var(--mint);
  background: var(--navy);
  color: #fff;
}
.studio-home-hub .eyebrow {
  color: var(--mint);
}
.studio-home-hub h2 {
  font-size: clamp(38px, 4.5vw, 64px);
}
.studio-home-hub p {
  color: #c6d6df;
}
.studio-home-hub > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.studio-home-hub button,
.studio-home-hub a {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}
.studio-home-hub button {
  border: 0;
  background: var(--mint);
  color: var(--navy);
}
.studio-home-hub a {
  border: 1px solid #608095;
  color: #fff;
}
.studio-footer {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 42px;
  color: var(--muted);
}
.studio-footer b {
  color: var(--navy);
}
.studio-footer a {
  margin: 0 0 0 auto;
}
@media (max-width: 900px) {
  .studio-home-lead,
  .studio-home-split,
  .studio-home-hub {
    padding: 58px 24px;
  }
  .studio-home-band > div {
    display: block;
    padding: 32px 24px;
  }
  .studio-home-band h3 {
    margin-top: 18px;
  }
  .studio-home-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .studio-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 24px;
  }
  .studio-footer a {
    margin: 0;
  }
}
main {
  min-width: 0;
}
header {
  height: 92px;
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 34px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 950;
  color: var(--blue);
}
header h1 {
  font: 700 24px Georgia;
  margin: 4px 0 0;
}
#menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  align-items: center;
  gap: 8px;
}
#menu span {
  color: var(--blue);
  font-size: 23px;
  line-height: 1;
}
.header-actions {
  display: flex;
  gap: 9px;
}
.mobile-preview-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  padding: 11px 16px;
  font-weight: 900;
}
button {
  font: 800 14px inherit;
  cursor: pointer;
}
.primary,
.ghost {
  border-radius: 999px;
  padding: 12px 17px;
}
.primary {
  background: var(--navy);
  color: white;
  border: 1px solid var(--navy);
}
.primary:hover {
  background: #173850;
}
.ghost {
  background: white;
  border: 1px solid var(--line);
}
.view {
  display: none;
  padding: 32px 34px 60px;
  max-width: 1500px;
  margin: auto;
}
.view.active {
  display: block;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 24px;
}
.pill {
  display: inline-block;
  background: #dff8ee;
  color: #087653;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.intro h2,
.page-head h2 {
  font: 700 clamp(40px, 5.4vw, 76px) / 0.93 Georgia;
  margin: 14px 0;
}
.intro h2 em {
  font-style: normal;
  color: var(--blue);
}
.intro p,
.page-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 700px;
}
.steps {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.steps span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #edf2f5;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.steps span b {
  display: none;
}
.steps span.on {
  background: var(--yellow);
}
.steps i {
  width: 24px;
  height: 1px;
  background: var(--line);
}
.studio {
  display: grid;
  grid-template-columns: minmax(400px, 0.85fr) minmax(430px, 1.15fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: visible;
  box-shadow: var(--shadow);
}
.editor {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-radius: 28px 0 0 28px;
}
.section-head,
.preview-bar,
.dialog-head,
.dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.section-head h3 {
  font: 700 27px Georgia;
  margin: 4px 0;
}
.link {
  border: 0;
  background: transparent;
  color: var(--blue);
}
.templates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 17px 0 26px;
}
.template {
  padding: 6px;
  background: white;
  border: 2px solid transparent;
  border-radius: 13px;
  color: var(--muted);
}
.template.active {
  border-color: var(--blue);
  color: var(--ink);
}
.template i {
  display: block;
  height: 62px;
  border-radius: 8px;
  margin-bottom: 7px;
}
.template b {
  font-size: 11px;
}
.t-impact {
  background: linear-gradient(135deg, var(--navy) 58%, var(--mint) 58%);
}
.t-event {
  background: linear-gradient(25deg, var(--orange) 45%, #ffe8ad 45%);
}
.t-urgent {
  background: radial-gradient(
    circle at 75% 25%,
    var(--yellow) 0 22%,
    var(--navy) 23%
  );
}
.t-thanks {
  background: linear-gradient(135deg, #e8f6ff 48%, var(--blue) 49%);
}
.fields {
  display: grid;
  gap: 15px;
}
.fields label {
  font-size: 12px;
  font-weight: 900;
}
.fields input:not([type="color"]),
.fields textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #c7d6df;
  border-radius: 11px;
  font: 15px inherit;
  color: var(--ink);
}
.fields textarea {
  resize: vertical;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fields input[type="color"] {
  display: block;
  width: 100%;
  height: 43px;
  border: 1px solid #c7d6df;
  border-radius: 11px;
  background: white;
  padding: 5px;
  margin-top: 6px;
}
.upload {
  border: 1px dashed #98afbd;
  border-radius: 13px;
  padding: 14px;
}
.upload input {
  display: none;
}
.upload span {
  display: inline-block;
  color: var(--blue);
  margin-left: 8px;
}
.upload small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 5px;
}
.preview-panel {
  background: #eaf2f5;
  padding: 24px;
  border-radius: 0 28px 28px 0;
}
.preview-sticky {
  position: sticky;
  top: 96px;
}
.formats {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.format {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
}
.format.active {
  background: var(--navy);
  color: white;
}
.icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
}
.stage {
  flex: 0 0 auto;
  min-height: 0;
  display: grid;
  place-items: start center;
  padding: 26px 10px;
}
.stage canvas {
  display: block;
  width: min(100%, 540px);
  height: auto;
  max-height: min(600px, calc(100dvh - 290px));
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(7, 26, 43, 0.22);
  background: white;
  transition: 0.2s;
}
.stage canvas.story {
  width: min(65%, 350px);
}
.stage canvas.email {
  width: min(90%, 520px);
}
.preview-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.page-head {
  padding: 20px 0 32px;
}
.page-head h2 {
  font-size: clamp(42px, 5vw, 68px);
  max-width: 950px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards article,
.empty {
  background: white;
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(7, 26, 43, 0.04);
}
.cards article i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #def4fc;
  display: grid;
  place-items: center;
  font: 900 24px Georgia;
  color: var(--blue);
}
.cards h3 {
  font: 700 25px Georgia;
  margin: 18px 0 8px;
}
.cards p,
.empty p {
  color: var(--muted);
  line-height: 1.55;
}
.connect {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 10px 14px;
}
.empty {
  max-width: 760px;
  border-top: 5px solid var(--blue);
}
.empty b {
  font: 700 28px Georgia;
}
dialog {
  width: min(960px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border: 0;
  border-radius: 25px;
  padding: 28px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}
dialog::backdrop {
  background: rgba(7, 26, 43, 0.75);
}
.dialog-head h2 {
  font: 700 34px Georgia;
  margin: 5px 0 18px;
}
.x {
  border: 0;
  background: #e9f1f5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 23px;
}
.channel-tabs {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding-bottom: 12px;
}
.channel-tabs button {
  border: 1px solid var(--line);
  background: white;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.channel-tabs button.active {
  background: var(--navy);
  color: white;
}
.channel-preview {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 23px;
  background: #f7fafb;
  min-height: 280px;
}
.channel-preview .subject {
  font-weight: 950;
  margin-bottom: 15px;
}
.channel-preview .copy {
  white-space: pre-wrap;
  line-height: 1.6;
}
.mock-image {
  height: 170px;
  width: 170px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 14px;
  float: right;
  margin: 0 0 16px 20px;
}
.dialog-actions {
  margin-top: 18px;
}
.dialog-actions small {
  color: var(--muted);
}
.publish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.publish-grid button {
  text-align: left;
  border: 1px solid var(--line);
  background: #f7fafb;
  border-radius: 18px;
  padding: 23px;
}
.publish-grid b,
.publish-grid span {
  display: block;
}
.publish-grid b {
  font: 700 23px Georgia;
}
.publish-grid span {
  color: var(--muted);
  margin-top: 7px;
}
.honest {
  color: var(--muted);
  font-size: 13px;
}
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--navy);
  border-left: 5px solid var(--mint);
  color: white;
  padding: 15px 18px;
  border-radius: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: 0.25s;
  z-index: 50;
}
.toast.show {
  transform: none;
  opacity: 1;
}
@media (max-width: 1050px) {
  .shell {
    grid-template-columns: 82px 1fr;
  }
  aside {
    padding: 22px 10px;
  }
  .brand b,
  .nav span,
  .product-note {
    display: none;
  }
  .brand {
    justify-content: center;
  }
  .nav {
    text-align: center;
  }
  .studio {
    grid-template-columns: 1fr;
  }
  .editor {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .preview-sticky {
    position: static;
  }
  .shell {
    display: block;
  }
  aside {
    position: fixed;
    inset: 0 18% 0 0;
    width: auto;
    height: 100vh;
    transform: translateX(-110%);
    transition: 0.2s;
    box-shadow: 30px 0 80px rgba(0, 0, 0, 0.3);
  }
  aside.open {
    transform: none;
  }
  .brand b,
  .nav span,
  .product-note {
    display: block;
  }
  .nav {
    text-align: left;
  }
  header {
    height: auto;
    padding: 13px 15px;
  }
  #menu {
    display: inline-flex;
  }
  .mobile-preview-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }
  .header-actions #saveTop,
  header .eyebrow,
  header h1 {
    display: none;
  }
  .view {
    padding: 22px 14px 40px;
  }
  .intro {
    display: block;
  }
  .intro h2 {
    font-size: 48px;
  }
  .steps {
    width: max-content;
    margin-top: 18px;
  }
  .studio {
    display: block;
    border-radius: 20px;
  }
  .editor,
  .preview-panel {
    padding: 18px;
  }
  .editor {
    border-radius: 20px 20px 0 0;
  }
  .preview-panel {
    border-radius: 0 0 20px 20px;
  }
  .templates {
    grid-template-columns: 1fr 1fr;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .stage {
    min-height: 390px;
    padding: 20px 0;
  }
  .preview-bar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
  }
  .preview-bar > small {
    text-align: center;
  }
  .formats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    padding: 4px;
  }
  .format {
    width: 100%;
    min-width: 0;
    padding: 11px 4px;
    text-align: center;
    white-space: nowrap;
  }
  .preview-actions {
    display: grid;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .dialog-actions small {
    margin-bottom: 5px;
  }
  .publish-grid {
    grid-template-columns: 1fr;
  }
}
.mobile-preview-dialog {
  width: min(720px, calc(100% - 24px));
  padding: 20px;
  background: #f3f8fa;
  overflow-x: hidden;
}
.mobile-preview-dialog .dialog-head h2 {
  margin-bottom: 12px;
}
.mobile-preview-stage {
  display: grid;
  place-items: center;
  max-height: calc(100dvh - 210px);
  overflow: auto;
  border-radius: 18px;
  background: #dce8ed;
  padding: 12px;
}
#mobilePreviewCanvas {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(7, 26, 43, 0.2);
}
.mobile-preview-close {
  width: 100%;
  margin-top: 12px;
}
@media (min-width: 701px) {
  .mobile-preview-dialog {
    display: none;
  }
}
.canva-bridge {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 16px;
  margin-bottom: 14px;
}
.canva-bridge > b,
.canva-bridge > span,
.canva-bridge > small {
  display: block;
}
.canva-bridge > b {
  font: 700 21px Georgia;
}
.canva-bridge > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 4px 0 12px;
}
.canva-bridge > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.canva-bridge > small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 10px;
}
.import {
  display: inline-flex;
  align-items: center;
}
.import input {
  display: none;
}
.canva-flow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 16px;
  padding: 13px 16px;
  margin: -4px 0 18px;
}
.canva-flow strong {
  font: 700 22px Georgia;
}
.canva-flow span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 880px;
}
.canva-flow a {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 850;
  white-space: nowrap;
}
.canva-flow > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.canva-flow .canva-mode-note {
  display: block;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #e8f8f1;
  color: #173f38;
  font-size: 14px;
  line-height: 1.45;
}
.canva-flow .canva-mode-note[hidden] {
  display: none;
}
@media (max-width: 800px) {
  .canva-flow a,
  .canva-flow .import {
    width: 100%;
    justify-content: center;
  }
}
.hub-callout {
  margin-top: 22px;
  padding: 20px 22px;
  border: 2px solid var(--mint);
  border-radius: 18px;
  background: #e6fbf3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hub-callout h3 {
  margin: 4px 0 6px;
  font: 700 24px Georgia;
}
.hub-callout p {
  margin: 0;
  max-width: 620px;
}
.hub-callout a {
  display: inline-block;
  white-space: nowrap;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
}
.hub-gate-dialog {
  position: relative;
  width: min(760px, calc(100% - 28px));
  padding: 30px;
  color: white;
  background: #0b2a40;
  border: 1px solid #31576e;
  overflow-x: hidden;
}
.hub-gate-dialog .dialog-head {
  align-items: flex-start;
}
.hub-gate-dialog .dialog-head > div {
  min-width: 0;
  max-width: 100%;
}
.hub-gate-dialog .dialog-head h2 {
  margin-bottom: 8px;
  color: white;
  font-size: clamp(32px, 5vw, 47px);
  line-height: 1.02;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.hub-gate-dialog .eyebrow {
  color: var(--mint);
}
.hub-gate-dialog .x {
  flex: 0 0 auto;
  background: var(--mint);
  color: var(--navy);
}
.hub-gate-intro {
  margin: 14px 0 18px;
  color: #d4e2e9;
  font-size: 17px;
  line-height: 1.55;
}
.hub-gate-highlight {
  margin: 0 0 18px;
  padding: 15px 17px;
  border-radius: 14px;
  background: rgba(140, 232, 192, 0.12);
  color: white;
  font-weight: 850;
  line-height: 1.45;
}
.hub-gate-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hub-gate-feature {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid #365b72;
  border-radius: 13px;
  background: #14364d;
}
.hub-gate-feature b,
.hub-gate-feature span {
  display: block;
}
.hub-gate-feature b {
  color: white;
  font-size: 15px;
}
.hub-gate-feature span {
  margin-top: 5px;
  color: #bdd0da;
  font-size: 13px;
  line-height: 1.4;
}
.hub-gate-permanent {
  margin: 18px 0;
  color: var(--mint);
}
.hub-gate-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hub-gate-actions a {
  display: inline-block;
  text-decoration: none;
  font-weight: 850;
}
.hub-gate-actions .primary {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy);
}
.hub-gate-actions .ghost {
  background: transparent;
  border-color: #638094;
  color: white;
}
@media (max-width: 620px) {
  .hub-gate-dialog {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 18px 16px;
    border-radius: 18px;
    overflow-x: hidden;
  }
  .hub-gate-dialog .dialog-head {
    display: block;
    min-width: 0;
  }
  .hub-gate-dialog .dialog-head h2 {
    margin: 4px 0 0;
    padding-right: 48px;
    font-size: clamp(28px, 8.2vw, 34px);
    line-height: 1;
    overflow-wrap: anywhere;
  }
  .hub-gate-dialog .x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    z-index: 2;
  }
  .hub-gate-dialog .eyebrow {
    display: block;
    padding-right: 52px;
    overflow-wrap: anywhere;
  }
  .hub-gate-intro {
    margin: 12px 0;
    font-size: 15px;
    line-height: 1.4;
  }
  .hub-gate-highlight {
    margin-bottom: 12px;
    padding: 12px 13px;
    font-size: 14px;
  }
  .hub-gate-actions {
    margin-bottom: 12px;
  }
  .hub-gate-features {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .hub-gate-feature {
    padding: 10px 12px;
  }
  .hub-gate-feature span {
    margin-top: 3px;
    font-size: 12px;
  }
  .hub-gate-permanent {
    margin: 12px 0 0;
    font-size: 13px;
  }
  .hub-gate-actions a {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 700px) {
  .hub-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}
.working-badge {
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  color: #087653;
  background: #dff8ee;
  padding: 7px 10px;
  border-radius: 999px;
}
.audience-tool {
  max-width: 760px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
}
.audience-tool label {
  font-size: 13px;
  font-weight: 900;
}
.audience-tool input,
.audience-tool textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #c7d6df;
  border-radius: 11px;
  padding: 13px;
  font: 15px inherit;
}
.audience-tool > span {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.audience-tool strong {
  color: #087653;
}
.activity-log {
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.activity-log article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.activity-log time {
  color: var(--muted);
  font-size: 12px;
}
.audience-actions,
.draft-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.danger {
  color: #a02a2a;
  border-color: #e7bcbc;
}
.field-error {
  outline: 3px solid rgba(201, 43, 43, 0.18) !important;
  border-color: #c92b2b !important;
}
.cards article .draft-actions {
  margin-top: 15px;
}
.cards article .draft-actions button {
  flex: 1;
}
.channel-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}
.copy pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  margin: 0;
}
.copy.website {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}
.status-line {
  font-size: 12px;
  font-weight: 850;
  color: #087653;
}

/* Production layout refinements */
.brand {
  align-items: center;
  gap: 8px;
  padding: 0 2px 27px;
  overflow: hidden;
}
.brand > img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: none;
  flex: none;
  background: var(--mint);
  padding: 7px;
  border-radius: 14px;
}
.brand > b {
  font-size: 18px;
  letter-spacing: -0.035em;
  white-space: nowrap;
  min-width: 0;
}
.brand > b > span {
  display: inline;
  color: var(--mint);
  font: 800 11px/1 system-ui;
  margin-left: 5px;
  letter-spacing: 0.01em;
}
.view {
  padding-top: 26px;
}
.intro {
  margin-bottom: 18px;
}
.intro h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.96;
  margin: 10px 0;
  white-space: nowrap;
}
.canva-launch {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.mobile-format-picker {
  display: none;
}
@media (max-width: 900px) {
  .intro h2 {
    white-space: normal;
  }
}
@media (max-width: 700px) {
  .mobile-format-picker {
    display: block;
    margin: 0 0 16px;
    padding: 18px;
    border: 2px solid var(--navy);
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
  }
  .mobile-format-picker h3 {
    margin: 5px 0 14px;
    color: var(--navy);
    font: 800 24px/1.05 system-ui;
    letter-spacing: -0.035em;
  }
  .mobile-format-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .mobile-format-options .format {
    display: flex;
    min-width: 0;
    min-height: 68px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 3px;
    border: 2px solid #bfd0da;
    border-radius: 14px;
    background: #f4f8fa;
    color: var(--navy);
    white-space: normal;
  }
  .mobile-format-options .format b {
    font-size: 15px;
  }
  .mobile-format-options .format small {
    font-size: 10px;
    color: #526b7b;
  }
  .mobile-format-options .format.active {
    border-color: var(--navy);
    background: var(--mint);
  }
  .preview-bar .formats {
    display: none;
  }
}
.quick-publish {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  background: var(--navy);
  color: white;
  border-radius: 18px;
  padding: 12px 14px;
  margin: 0 0 18px;
  box-shadow: var(--shadow);
}
.quick-publish > b {
  margin: 0 7px;
  font: 800 14px system-ui;
}
.quick-publish button {
  border: 1px solid #315066;
  background: #102e44;
  color: white;
  border-radius: 999px;
  padding: 10px 15px;
}
.quick-publish button:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy);
}
.publish-finish {
  margin-top: 20px;
}
.hub-publish-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  background: #dff8ee;
  border: 2px solid #3fbd91;
  border-radius: 18px;
  padding: 18px 20px;
  margin: 0 0 18px;
  color: #075f46;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(7, 26, 43, 0.08);
  max-width: 100%;
  min-width: 0;
}
.hub-publish-note > * {
  min-width: 0;
}
.hub-publish-note b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.hub-publish-note strong {
  display: block;
  white-space: nowrap;
  color: var(--navy);
  font: 700 21px Georgia;
}
.hub-publish-note span {
  font-size: 14px;
  line-height: 1.45;
}
.hub-publish-note em {
  font-style: normal;
  font-weight: 850;
  color: var(--navy);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .quick-publish {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .quick-publish > b {
    grid-column: 1/-1;
  }
  .quick-publish button:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .hub-publish-note {
    display: block;
    width: 100%;
    padding: 17px 18px;
    overflow: hidden;
  }
  .hub-publish-note strong,
  .hub-publish-note span {
    display: block;
  }
  .hub-publish-note span {
    margin-top: 5px;
  }
  .hub-publish-note strong,
  .hub-publish-note em {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
.rich-toolbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 4px 0 0;
}
.rich-toolbar button {
  border: 1px solid #b7c9d5;
  background: #fff;
  border-radius: 8px;
  min-width: 38px;
  padding: 7px 10px;
}
.rich-editor {
  min-height: 430px;
  height: auto;
  max-height: none;
  overflow: visible;
  border: 1px solid #b7c9d5;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  font-size: 16px;
  line-height: 1.55;
}
.email-mode {
  width: min(1240px, calc(100% - 24px));
}
.email-mode > .dialog-head h2 {
  margin-bottom: 8px;
}
.email-builder-head,
.email-send-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.email-builder-head h3 {
  margin-top: 5px;
}
.email-size {
  padding: 8px 12px;
  border-radius: 999px;
  background: #dff8ee;
  color: #087653;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.email-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 4px;
}
.email-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}
.email-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 10px;
}
.email-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}
.email-options input { width: auto; margin: 0; }
.email-preview-panel {
  position: sticky;
  top: 12px;
  min-width: 0;
  border: 1px solid #b7c9d5;
  border-radius: 16px;
  background: #dfe9ee;
  overflow: hidden;
}
.email-preview-panel > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--navy);
  color: #fff;
}
.email-preview-panel span { color: #bcd0dc; font-size: 12px; }
#emailHtmlPreview {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
  background: #eef4f6;
}
.delivery-setup {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 16px 16px;
}
.delivery-setup summary {
  cursor: pointer;
  padding: 16px 0;
  color: var(--navy);
  font-weight: 900;
  font-size: 17px;
}
#emailRecipientCount { float: right; color: var(--blue); font-weight: 800; }
.test-send-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}
.test-send-row label { margin: 0; }
.test-send-row button { min-height: 44px; margin-bottom: 0; }
.message-label {
  margin-top: 8px;
}
.rich-toolbar {
  position: sticky;
  top: -28px;
  z-index: 2;
  padding: 10px;
  background: #edf4f7;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.rich-editor {
  border-radius: 0 0 12px 12px;
  padding: 24px;
  font-size: 17px;
}
.rich-editor p,
.rich-editor div {
  margin: 0 0 1em;
}
.rich-editor a {
  color: var(--blue);
}
.rich-editor a[data-email-button] {
  display: inline-block;
  margin: 8px 8px 8px 0;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.email-send-footer {
  margin-top: 18px;
}
@media (max-width: 700px) {
  dialog {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
    padding: 16px;
    border-radius: 18px;
  }
  .dialog-head {
    align-items: flex-start;
  }
  .dialog-head h2 {
    font-size: 27px;
    line-height: 1.05;
  }
  .email-send {
    padding: 15px;
  }
  .email-builder-head,
  .email-send-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .email-meta {
    grid-template-columns: 1fr;
  }
  .email-workspace { grid-template-columns: 1fr; }
  .email-preview-panel { position: static; }
  #emailHtmlPreview { height: 560px; }
  .test-send-row { grid-template-columns: 1fr; }
  .email-size {
    white-space: normal;
  }
  .rich-editor {
    min-height: 55vh;
    max-height: none;
    overflow: visible;
    padding: 18px;
  }
  .rich-toolbar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 7px;
  }
  .rich-toolbar button {
    min-width: 0;
    width: 100%;
    padding: 10px 4px;
    font-size: 12px;
  }
  .email-send-footer .primary {
    width: 100%;
    min-height: 48px;
  }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .email-workspace { grid-template-columns: 1fr; }
  .email-preview-panel { position: static; }
}
.rich-editor:focus {
  outline: 3px solid rgba(0, 146, 193, 0.18);
  border-color: var(--blue);
}
#copyPublish {
  display: none !important;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fields input[type="range"] {
  display: block;
  width: 100%;
  margin-top: 12px;
}
.fields select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  border: 1px solid #c7d6df;
  border-radius: 11px;
  background: white;
  font: 15px inherit;
}
.fields output {
  display: block;
  color: var(--blue);
  margin-top: 3px;
}
.image-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  background: #f7fafb;
}
.image-controls label {
  font-size: 11px;
}
.image-controls select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid #c7d6df;
  border-radius: 9px;
  background: white;
}
.publish-grid button[hidden] {
  display: none;
}
@media (max-width: 900px) {
  .image-controls {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .three,
  .image-controls {
    grid-template-columns: 1fr;
  }
}
.image-controls > small {
  grid-column: 1/-1;
  color: var(--muted);
}
.stage canvas {
  touch-action: none;
}
.email-send {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #f7fafb;
}
.email-send h3 {
  font: 700 26px Georgia;
  margin: 0 0 6px;
}
.email-send p,
.email-send small {
  color: var(--muted);
}
.email-send label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 13px;
}
.email-send input,
.email-send textarea,
.email-send select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #c7d6df;
  border-radius: 11px;
  background: white;
  font: 15px inherit;
}
.email-send .primary {
  margin-top: 2px;
}
.email-send small {
  display: block;
  margin-top: 10px;
}
.email-send[hidden] {
  display: none;
}
