:root {
  --ink: #ecf7f8;
  --muted: #a9c0c5;
  --bg: #041117;
  --bg-soft: #071a24;
  --surface: rgba(10, 34, 44, 0.84);
  --surface-solid: #0b2430;
  --line: rgba(163, 218, 216, 0.17);
  --teal: #25d4c4;
  --teal-dark: #0ca99e;
  --gold: #e7bd68;
  --gold-soft: #f3d99f;
  --danger: #f2a27f;
  --paper: #fffefb;
  --paper-ink: #17242a;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  --max: 1380px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 5%, rgba(23, 166, 155, 0.13), transparent 30rem),
    radial-gradient(circle at 90% 34%, rgba(231, 189, 104, 0.08), transparent 32rem),
    var(--bg);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--teal);
  color: #001a18;
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(4, 17, 23, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  background: rgba(37, 212, 196, 0.1);
  color: var(--ink);
}

.back-link > span:first-child {
  color: var(--teal);
  font-size: 1.25rem;
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.lang-btn {
  min-width: 42px;
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--ink);
}

.lang-btn.is-active {
  background: var(--teal);
  color: #021b1b;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  min-height: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 20px 76px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 5% 2% 3%;
  border: 1px solid rgba(126, 205, 198, 0.1);
  border-radius: 42px;
  background: linear-gradient(125deg, rgba(10, 39, 48, 0.62), rgba(5, 21, 28, 0.08));
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 32px 0 32px 36px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 710px;
  margin: 18px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-copy > p {
  max-width: 660px;
  margin: 0;
  color: #c1d4d7;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 28px 0;
}

.hero-points > span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-points b {
  color: var(--gold-soft);
  font-size: 1.05rem;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--teal), #5de8dc);
  box-shadow: 0 12px 36px rgba(37, 212, 196, 0.2);
  color: #001c1a;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-cta::after {
  margin-left: 12px;
  content: "↓";
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(37, 212, 196, 0.28);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  overflow: hidden;
  border-radius: 32px;
  line-height: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  border: 1px solid rgba(213, 237, 235, 0.12);
  border-radius: 32px;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(90deg, rgba(4, 17, 23, 0.64), transparent 28%);
  content: "";
  pointer-events: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: calc(var(--max) - 40px);
  margin: -26px auto 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 29, 38, 0.93);
  box-shadow: var(--shadow);
}

.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 21px 28px;
}

.trust-strip > div + div {
  border-left: 1px solid var(--line);
}

.trust-strip span:last-child {
  display: grid;
}

.trust-strip strong {
  font-size: 0.9rem;
}

.trust-strip small {
  color: var(--muted);
  font-size: 0.78rem;
}

.trust-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(37, 212, 196, 0.25);
  border-radius: 50%;
  background: rgba(37, 212, 196, 0.08);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.generator-section,
.how-section,
.faq-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 20px 20px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

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

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(480px, 1.07fr);
  align-items: start;
  gap: 26px;
}

.editor-card,
.preview-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.editor-card {
  padding: 28px;
}

.editor-card fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 28px;
  border: 0;
}

.editor-card fieldset + fieldset {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.editor-card legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
  padding: 0;
  font-size: 1rem;
  font-weight: 850;
}

.editor-card legend > span:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(231, 189, 104, 0.36);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 0.72rem;
}

.field-grid {
  display: grid;
  gap: 17px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-two {
  grid-column: 1 / -1;
}

.field-grid label:not(.check-row) {
  display: grid;
  gap: 7px;
  color: #cce0e1;
  font-size: 0.8rem;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(165, 216, 214, 0.18);
  border-radius: 11px;
  outline: 0;
  background: rgba(2, 16, 22, 0.72);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input {
  min-height: 47px;
  padding: 0 13px;
}

textarea {
  min-height: 96px;
  padding: 12px 13px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #718d94;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 212, 196, 0.12);
}

input.is-invalid,
textarea.is-invalid {
  border-color: var(--danger);
}

label > small {
  justify-self: end;
  color: #76949a;
  font-weight: 500;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
}

.check-row input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.style-option {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3, 18, 24, 0.48);
  cursor: pointer;
  transition: 160ms ease;
}

.style-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.style-option b,
.style-option small {
  grid-column: 2;
}

.style-option b {
  align-self: end;
  font-size: 0.82rem;
}

.style-option small {
  align-self: start;
  color: var(--muted);
  font-size: 0.7rem;
}

.style-option:hover {
  border-color: rgba(37, 212, 196, 0.42);
}

.style-option.is-selected {
  border-color: var(--teal);
  background: rgba(37, 212, 196, 0.09);
  box-shadow: inset 0 0 0 1px rgba(37, 212, 196, 0.08);
}

.style-option:focus-within {
  outline: 3px solid rgba(37, 212, 196, 0.19);
  outline-offset: 2px;
}

.style-icon {
  display: grid;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: rgba(231, 189, 104, 0.1);
  color: var(--gold-soft);
  font-size: 0.64rem;
  font-weight: 900;
}

.warning-option .style-icon {
  background: rgba(242, 162, 127, 0.11);
  color: var(--danger);
}

.form-actions,
.export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 150ms ease, background 150ms ease, opacity 150ms ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:focus-visible,
.lang-btn:focus-visible,
.primary-cta:focus-visible,
.back-link:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(37, 212, 196, 0.38);
  outline-offset: 2px;
}

.btn.primary {
  background: var(--teal);
  color: #001b19;
}

.btn.secondary,
.btn.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.form-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 0.8rem;
}

.preview-card {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 3px 12px;
}

.preview-toolbar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.preview-toolbar h3 {
  margin: 0;
  font-size: 0.85rem;
}

.preview-toolbar > span {
  padding: 5px 10px;
  border: 1px solid rgba(231, 189, 104, 0.25);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(37, 212, 196, 0.08);
}

.letter-paper {
  position: relative;
  width: 100%;
  min-height: 720px;
  padding: clamp(38px, 6vw, 72px);
  overflow: hidden;
  border-radius: 9px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  color: var(--paper-ink);
  color-scheme: light;
}

.letter-paper::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--teal-dark), var(--gold));
  content: "";
}

.letter-content {
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.88rem, 1.25vw, 1rem);
  line-height: 1.75;
}

.letter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dde5e4;
}

.letter-sender strong {
  display: block;
  color: #0b4c53;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
}

.letter-sender span,
.letter-date {
  display: block;
  color: #617276;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.73rem;
  line-height: 1.45;
}

.letter-date {
  max-width: 46%;
  text-align: right;
}

.letter-recipient {
  margin-bottom: 28px;
  color: #43575a;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
}

.letter-recipient strong,
.letter-recipient span {
  display: block;
}

.letter-subject {
  margin: 0 0 28px;
  color: #0b4c53;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.letter-body p {
  margin: 0 0 19px;
}

.letter-signature {
  margin-top: 46px;
}

.signature-line {
  width: 160px;
  margin: 46px 0 8px;
  border-top: 1px solid #9eacab;
}

.letter-signature strong,
.letter-signature span {
  display: block;
}

.letter-signature span {
  color: #65777a;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
}

.empty-preview {
  display: grid;
  min-height: 560px;
  place-items: center;
  align-content: center;
  color: #839295;
  text-align: center;
}

.empty-preview > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid #d8e3e2;
  border-radius: 50%;
  color: #0f8f88;
}

.empty-preview p {
  max-width: 260px;
}

.export-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.export-actions .btn {
  padding-inline: 10px;
  font-size: 0.78rem;
}

.export-actions .btn span:first-child {
  font-size: 0.68rem;
  font-weight: 950;
}

.legal-note {
  margin: 15px 4px 2px;
  padding-left: 12px;
  border-left: 2px solid rgba(231, 189, 104, 0.5);
  color: #94adb1;
  font-size: 0.7rem;
  line-height: 1.5;
}

.how-section,
.faq-section {
  padding-top: 120px;
}

.section-heading.compact {
  max-width: 840px;
  margin-bottom: 34px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps-grid article {
  position: relative;
  min-height: 210px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 42, 52, 0.76), rgba(6, 24, 31, 0.56));
}

.steps-grid article > span {
  position: absolute;
  top: 2px;
  right: 16px;
  color: rgba(37, 212, 196, 0.09);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.steps-grid h3 {
  position: relative;
  margin: 72px 0 8px;
  font-size: 1.02rem;
}

.steps-grid p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.faq-section {
  padding-bottom: 110px;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 50px 24px 4px;
  cursor: pointer;
  font-weight: 780;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  content: "+";
  text-align: center;
  line-height: 25px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: -6px 48px 24px 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

footer img {
  border-radius: 11px;
}

footer a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

footer a:hover {
  color: var(--teal);
}

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 16px;
  transform: translateY(28px);
  border: 1px solid rgba(37, 212, 196, 0.3);
  border-radius: 12px;
  background: #0a2832;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.toast.is-visible {
  transform: none;
  opacity: 1;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 24px;
  }

  .hero-copy {
    padding-left: 24px;
  }

  .workspace {
    grid-template-columns: 1fr;
    max-width: 850px;
    margin-inline: auto;
  }

  .preview-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding-top: 34px;
  }

  .hero::before {
    inset: 2% 12px 2%;
  }

  .hero-copy {
    padding: 28px 20px 32px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.9rem);
  }

  .hero-visual {
    justify-self: center;
    width: calc(100% - 20px);
    max-width: 760px;
    margin: 0 10px 10px;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, rgba(4, 17, 23, 0.18), transparent 45%);
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin: 12px 20px 0;
  }

  .trust-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .steps-grid article {
    min-height: 175px;
  }

  .steps-grid h3 {
    margin-top: 46px;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 60px;
    padding: 8px 12px;
  }

  .back-link {
    padding-inline: 8px;
    font-size: 0.76rem;
  }

  .lang-btn {
    min-width: 36px;
    min-height: 34px;
  }

  .hero {
    padding-inline: 8px;
  }

  .hero-copy {
    padding-inline: 18px;
  }

  .hero-points {
    gap: 9px 14px;
  }

  .hero-visual img,
  .hero-visual::after {
    border-radius: 20px;
  }

  .generator-section,
  .how-section,
  .faq-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .generator-section {
    padding-top: 86px;
  }

  .editor-card,
  .preview-card {
    border-radius: 18px;
  }

  .editor-card {
    padding: 20px 16px;
  }

  .two-cols,
  .style-grid {
    grid-template-columns: 1fr;
  }

  .letter-paper {
    min-height: 600px;
    padding: 36px 26px;
  }

  .letter-head {
    display: grid;
    margin-bottom: 34px;
  }

  .letter-date {
    max-width: none;
    text-align: left;
  }

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

  footer {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 390px) {
  .back-link span:last-child {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .letter-paper {
    padding-inline: 20px;
  }
}

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

@media print {
  @page {
    size: A4;
    margin: 15mm;
  }

  :root {
    color-scheme: light;
  }

  body {
    background: #fff !important;
  }

  body * {
    visibility: hidden !important;
  }

  .preview-card,
  .preview-card *,
  .letter-paper,
  .letter-paper * {
    visibility: visible !important;
  }

  .preview-card {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: #fff;
    box-shadow: none;
  }

  .preview-toolbar,
  .export-actions,
  .legal-note {
    display: none !important;
  }

  .letter-paper {
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }

  .letter-paper::before {
    display: none;
  }

  .letter-content {
    font-size: 11pt;
    line-height: 1.6;
  }
}
