:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #17191d;
  background: #eef0f3;
  font-synthesis: none;
  --brand-purple: #754df4;
  --brand-purple-dark: #4e2bca;
  --brand-pink: #ef82d8;
  --brand-blue: #3b91ee;
  --brand-green: #00c98a;
  --brand-lime: #a5d900;
  --brand-yellow: #ffc22e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  border-top: 4px solid var(--brand-purple);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) clamp(500px, 30vw, 580px);
  min-height: calc(100vh - 4px);
}

.editor-pane {
  padding: 22px clamp(24px, 3vw, 44px) 44px;
  background: #f8f9fa;
  border-right: 1px solid #dfe2e6;
}

.app-header,
.message-toolbar,
.editor-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.app-header {
  position: relative;
  min-height: 98px;
  margin-bottom: 22px;
  padding: 3px 0 19px;
  overflow: hidden;
  border-bottom: 1px solid #dfe2e6;
}

.app-header::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-pink);
  box-shadow:
    40px 0 0 var(--brand-purple),
    80px 0 0 var(--brand-blue),
    120px 0 0 var(--brand-lime);
  content: "";
}

.brand-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
}

.brand-copy {
  min-width: 0;
}

.brand-artwork {
  flex: 0 0 150px;
  width: 150px;
  height: 88px;
  margin: 0;
  overflow: hidden;
}

.brand-artwork img {
  display: block;
  width: 150px;
  height: 118px;
  object-fit: cover;
  object-position: center 42%;
  mix-blend-mode: multiply;
  transform: translateY(-12px);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--brand-purple-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 30px;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 4px;
  font-size: 19px;
}

.message-toolbar h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-toolbar h2::before {
  width: 15px;
  height: 12px;
  border-radius: 8px 8px 8px 3px;
  background: var(--brand-green);
  content: "";
}

.message-toolbar p {
  margin-bottom: 0;
  color: #747980;
  font-size: 13px;
}

.message-toolbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  margin: 0 -10px;
  padding: 10px;
  border: 1px solid rgba(212, 216, 222, 0.92);
  border-radius: 7px;
  background: rgba(248, 249, 250, 0.96);
  box-shadow: 0 6px 18px rgba(32, 37, 45, 0.09);
  backdrop-filter: blur(10px);
}

.secondary-button,
.icon-button,
.row-actions button {
  border: 0;
  transition: transform 140ms ease, background 140ms ease;
}

.secondary-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--brand-purple);
  border-radius: 6px;
  background: var(--brand-purple);
  color: white;
  font-weight: 700;
}

.secondary-button:hover {
  background: var(--brand-purple-dark);
}

.secondary-button:hover,
.icon-button:hover,
.row-actions button:hover {
  transform: translateY(-1px);
}

.settings-band {
  display: grid;
  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(0, 0.75fr)
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 0.9fr);
  gap: 14px;
  margin: 0 0 26px;
  padding: 0 0 26px;
  border-bottom: 1px solid #dfe2e6;
}

.translation-panel {
  margin: -10px 0 26px;
  border: 1px solid #dfe2e6;
  border-left: 4px solid var(--brand-green);
  border-radius: 7px;
  background: white;
}

.translation-summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 15px;
}

.translation-heading,
.translation-actions,
.translation-field-actions,
.translation-config-actions {
  display: flex;
  align-items: center;
}

.translation-heading {
  min-width: 0;
  gap: 11px;
}

.translation-heading strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.translation-heading p {
  margin: 0;
  color: #747980;
  font-size: 12px;
}

.translation-mark {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: #eafaf4;
  color: #087b58;
  font-size: 15px;
  font-weight: 800;
}

.translation-actions {
  flex: 0 0 auto;
  gap: 12px;
}

.translation-language-field {
  display: grid;
  grid-template-columns: auto 94px;
  align-items: center;
  gap: 7px;
  color: #555c65;
  font-size: 12px;
  font-weight: 700;
}

.translation-language-field select {
  height: 34px;
  padding: 0 26px 0 9px;
  border: 1px solid #d8dce2;
  border-radius: 5px;
  background-color: #fff;
  color: #343941;
  font: inherit;
}

.translation-master-toggle {
  white-space: nowrap;
}

.translation-service-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #d8dce1;
  border-radius: 5px;
  background: #f5f6f7;
  color: #656b73;
  font-size: 11px;
  font-weight: 800;
}

.translation-service-status[data-state="ready"] {
  border-color: #9ddfc8;
  background: #eafaf4;
  color: #087b58;
}

.translation-service-status[data-state="checking"] {
  border-color: #cfc2fb;
  background: #f4f0ff;
  color: #6542cb;
}

.translation-service-status[data-state="error"] {
  border-color: #efb0b7;
  background: #fff1f2;
  color: #b42333;
}

.translation-settings-button,
.text-button,
.translate-message-button {
  min-height: 30px;
  border: 1px solid #d8dce1;
  border-radius: 5px;
  background: white;
  color: #474d55;
  font-size: 12px;
  font-weight: 800;
}

.translation-settings-button {
  padding: 0 10px;
}

.translation-settings-button:hover,
.text-button:hover,
.translate-message-button:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple-dark);
}

.translation-config-note {
  margin: 0;
  padding: 0 15px 12px 60px;
  color: #747980;
  font-size: 11px;
}

.translation-config-note[data-state="success"] {
  color: #087b58;
}

.translation-config-note[data-state="error"] {
  color: #b42333;
}

.name-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
}

.name-control input {
  min-width: 0;
  border-radius: 5px 0 0 5px;
}

.name-control button {
  border: 1px solid #d8dce1;
  border-left: 0;
  border-radius: 0 5px 5px 0;
  background: #f0edff;
  color: var(--brand-purple-dark);
  font-size: 12px;
  font-weight: 800;
}

.name-control button:hover {
  background: #e5dfff;
}

.name-control:focus-within input,
.name-control:focus-within button {
  border-color: var(--brand-purple);
}

.name-control:focus-within {
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(117, 77, 244, 0.12);
}

.name-control input:focus {
  box-shadow: none;
}

label {
  display: grid;
  gap: 7px;
  color: #5f646c;
  font-size: 12px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8dce1;
  border-radius: 5px;
  background: white;
  color: #181b20;
  outline: none;
}

input,
select {
  height: 40px;
  padding: 0 11px;
}

textarea {
  min-height: 64px;
  padding: 10px 11px;
  line-height: 1.45;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(117, 77, 244, 0.12);
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-field span {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 11px;
  border: 1px dashed #bfc5cc;
  border-radius: 5px;
  background: #f8f9fa;
  color: #4d535b;
  cursor: pointer;
}

.file-field span:hover {
  border-color: var(--brand-blue);
  background: #f1f7ff;
  color: #145ba5;
}

.message-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.message-editor {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  padding: 14px;
  border: 1px solid #dfe2e6;
  border-left: 4px solid var(--brand-blue);
  border-radius: 7px;
  background: white;
}

.message-editor:nth-child(4n + 2) {
  border-left-color: var(--brand-purple);
}

.message-editor:nth-child(4n + 3) {
  border-left-color: var(--brand-green);
}

.message-editor:nth-child(4n + 4) {
  border-left-color: var(--brand-pink);
}

.editor-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  align-items: stretch;
  justify-content: stretch;
  gap: 9px;
  padding-right: 2px;
}

.side-field {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.side-field select {
  height: 38px;
  min-width: 0;
  padding-left: 9px;
}

.row-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.row-actions button,
.icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: #edf0f3;
  color: #343941;
  font-weight: 800;
}

.row-actions button {
  width: 100%;
  height: 36px;
}

.row-actions button:disabled {
  cursor: default;
  opacity: 0.35;
  transform: none;
}

.row-actions button[data-action="delete"] {
  color: #d03645;
}

.type-field {
  gap: 5px;
}

.type-field select {
  height: 36px;
}

.text-message-field {
  display: grid;
  grid-template-rows: 22px minmax(104px, 1fr);
  align-content: stretch;
  gap: 8px;
  color: #5f646c;
  font-size: 12px;
  font-weight: 700;
}

.text-message-field > textarea {
  height: 100%;
  min-height: 104px;
}

.field-heading {
  display: flex;
  min-height: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.translation-field-actions {
  min-width: 0;
  justify-content: flex-end;
  gap: 7px;
}

.translate-message-button {
  min-height: 24px;
  padding: 0 8px;
  border-color: #d8d2fb;
  background: #f5f2ff;
  color: var(--brand-purple-dark);
}

.translate-message-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.message-translation-status {
  max-width: 108px;
  overflow: hidden;
  color: #7a8088;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-translation-status[data-state="success"] {
  color: #087b58;
}

.message-translation-status[data-state="error"] {
  color: #b42333;
}

.message-translation-status[data-state="loading"] {
  color: var(--brand-purple-dark);
}

.translation-toggle {
  display: inline-flex;
  grid-auto-flow: initial;
  align-items: center;
  gap: 6px;
  color: #555c65;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.translation-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggle-track {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 20px;
  border: 1px solid #c7ccd3;
  border-radius: 10px;
  background: #dfe2e6;
  transition: border-color 140ms ease, background 140ms ease;
}

.toggle-track::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(27, 31, 38, 0.24);
  transition: transform 140ms ease;
  content: "";
}

.translation-toggle input:checked + .toggle-track {
  border-color: var(--brand-purple);
  background: var(--brand-purple);
}

.translation-toggle input:checked + .toggle-track::after {
  transform: translateX(14px);
}

.translation-toggle input:focus-visible + .toggle-track {
  outline: 3px solid rgba(117, 77, 244, 0.18);
  outline-offset: 2px;
}

.image-message-field {
  display: none;
  grid-column: 2 / -1;
  gap: 6px;
}

.message-editor.is-image-message .text-message-field {
  display: none;
}

.message-editor.is-image-message .image-message-field {
  display: grid;
}

.image-message-heading {
  color: #666d76;
  font-size: 13px;
  font-weight: 700;
}

.image-message-tools {
  position: relative;
}

.message-image-picker {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 112px;
  overflow: hidden;
  border: 1px dashed #bdc3cb;
  border-radius: 5px;
  background: #f8f9fa;
  color: #555c65;
  cursor: pointer;
}

.message-image-picker:hover {
  border-color: var(--brand-purple);
  background: #f6f3ff;
}

.message-image-picker:focus-within {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(117, 77, 244, 0.12);
}

.message-image-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.message-image-empty {
  font-size: 13px;
  font-weight: 700;
}

.message-image-thumbnail {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}

.message-image-picker.has-image .message-image-empty {
  display: none;
}

.message-image-picker.has-image .message-image-thumbnail {
  display: block;
}

.remove-message-image {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: auto;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #ead3d6;
  border-radius: 5px;
  background: #fff7f8;
  color: #c43040;
  font-size: 12px;
  font-weight: 700;
}

.remove-message-image[hidden] {
  display: none;
}

.preview-pane {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 24px;
  overflow: auto;
  background: #eceef2;
}

.preview-toolbar,
.page-switcher {
  display: flex;
  align-items: center;
}

.preview-toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 5px;
  border: 1px solid #d4d8de;
  border-top: 3px solid var(--brand-purple);
  border-radius: 7px;
  background: rgba(248, 249, 251, 0.96);
  box-shadow: 0 4px 14px rgba(32, 37, 45, 0.08);
  backdrop-filter: blur(10px);
}

@media (max-width: 1180px) {
  .brand-artwork {
    display: none;
  }
}

.page-switcher {
  gap: 5px;
}

.page-switcher span {
  min-width: 96px;
  color: #343941;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.page-switcher .icon-button {
  width: 44px;
  height: 38px;
  background: transparent;
  font-size: 23px;
  line-height: 1;
  touch-action: manipulation;
  user-select: none;
}

.page-switcher .icon-button:not(:disabled):hover {
  background: #e7eaee;
}

.page-switcher .icon-button:not(:disabled):active {
  background: #dfe2e7;
  transform: scale(0.94);
}

.page-switcher .icon-button:disabled {
  cursor: default;
  opacity: 0.3;
  transform: none;
}

.phone-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: calc(100vh - 74px);
}

.phone-frame {
  position: relative;
  flex: 0 0 auto;
}

.phone-raster {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.phone-raster.is-ready {
  display: block;
}

.phone-stack {
  display: block;
  width: 728px;
  transform-origin: top left;
}

.phone {
  position: relative;
  width: 728px;
  height: 1457px;
  overflow: hidden;
  background: white;
  box-shadow: 0 18px 60px rgba(28, 32, 40, 0.18);
}

.editable-preview {
  display: none;
  grid-template-rows: 87px 1fr 155px;
  width: 728px;
  height: 1457px;
}

body[data-preview-mode="editable"] .editable-preview,
.phone.export-editable .editable-preview {
  display: grid;
}

body[data-preview-mode="editable"] .phone-page.is-hidden {
  display: none;
}

body[data-capture="true"] {
  width: 728px;
  height: 1457px;
  overflow: hidden;
}

body[data-capture="true"] .app-shell {
  display: block;
  width: 728px;
  min-height: 1457px;
}

body[data-capture="true"] .editor-pane,
body[data-capture="true"] .preview-toolbar {
  display: none;
}

body[data-capture="true"] .preview-pane {
  position: static;
  width: 728px;
  height: 1457px;
  padding: 0;
}

body[data-capture="true"] .phone-stage {
  width: 728px;
  height: 1457px;
}

body[data-capture="true"] .phone {
  box-shadow: none;
}

body[data-capture="true"] .phone-page:not(:first-child) {
  display: none;
}

body[data-capture="true"] .phone-raster {
  display: none;
}

.chat-header {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  padding: 10px 158px 5px 35px;
  background: white;
}

.header-template {
  position: absolute;
  inset: 0;
  display: none;
  width: 728px;
  height: 87px;
}

.chat-header.uses-template .header-template {
  display: block;
}

.chat-header.uses-template .back-icon,
.chat-header.uses-template .contact-copy,
.chat-header.uses-template .header-reference {
  visibility: hidden;
}

.back-icon {
  width: 25px;
  height: 25px;
  border-bottom: 5px solid #17191d;
  border-left: 5px solid #17191d;
  font-size: 0;
  transform: rotate(45deg);
}

.contact-copy {
  display: grid;
  gap: 1px;
}

.contact-copy strong {
  overflow: hidden;
  font-size: 30px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-copy span {
  color: #a6a6aa;
  font-size: 22px;
}

.header-reference {
  position: absolute;
  top: 0;
  right: 0;
  width: 158px;
  height: 87px;
  overflow: hidden;
  background: white;
}

.header-reference img {
  display: block;
  width: 158px;
  height: 87px;
  max-width: none;
}

.conversation {
  padding: 0 22px 18px;
  overflow: hidden;
  background: white;
}

.conversation-content {
  display: flow-root;
  will-change: transform;
}

.message-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 21px;
}

.message-row:first-child {
  margin-top: 24px;
}

.message-row.me {
  flex-direction: row-reverse;
}

.avatar-wrap {
  position: relative;
  flex: 0 0 72px;
  height: 72px;
  margin-top: 0;
}

.avatar-image {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.flag-badge {
  position: absolute;
  top: 37px;
  left: -5px;
  box-sizing: content-box;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
  border: 3px solid white;
  background: white;
  box-shadow: 0 1px 4px rgba(20, 24, 32, 0.22);
  object-fit: cover;
  object-position: center;
}

.message-group {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: calc(100% - 86px);
}

.me .message-group {
  flex-direction: row-reverse;
  max-width: 100%;
}

.bubble {
  min-width: 0;
  width: fit-content;
  max-width: 521px;
  padding: 17px 20px 16px;
  border-radius: 32px;
  background: #f2f2f2;
  color: #151515;
}

.me .bubble {
  background: #efecff;
}

.message-row.them:not(:first-child) .bubble {
  padding-bottom: 17px;
}

.bubble p {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  line-height: 37px;
}

.bubble-image {
  display: block;
  width: auto;
  max-width: 460px;
  max-height: 360px;
  margin: 0;
  border-radius: 22px;
  object-fit: contain;
  background: white;
}

.bubble.image-bubble {
  max-width: 460px;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  background: transparent;
}

.bubble-image-placeholder {
  display: grid;
  place-items: center;
  width: 320px;
  height: 190px;
  border: 2px dashed #cdd1d7;
  border-radius: 22px;
  background: #f5f6f7;
  color: #858b94;
  font-size: 22px;
  font-weight: 700;
}

.bubble .translation {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #fff;
  font-size: 29px;
}

.bubble .translation.translation-only {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.me .bubble .translation {
  border-top-color: #fff;
}

.message-menu-wrap {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
}

.message-menu {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e4e4e4;
}

.message-menu.me {
  background: #e1deef;
}

.message-menu::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-right: 4px solid #111;
  border-bottom: 4px solid #111;
  transform: translate(-50%, -50%) rotate(45deg);
}

.composer-reference {
  position: relative;
  z-index: 2;
  width: 728px;
  height: 155px;
  overflow: hidden;
  background: white;
}

.composer-reference::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 3px;
  background: white;
}

.composer-reference img {
  display: block;
  width: 728px;
  height: 155px;
  max-width: none;
}

@media (max-width: 1000px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .preview-pane {
    position: relative;
    height: auto;
    min-height: 860px;
  }

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

  .translation-summary {
    align-items: flex-start;
  }

  .translation-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .phone-stage {
    height: auto;
  }

  .phone {
    width: 728px;
  }
}

@media (max-width: 720px) {
  .editor-pane {
    padding: 22px 16px 36px;
  }

  .app-header {
    min-height: 82px;
  }

  h1 {
    font-size: 25px;
  }

  .settings-band {
    grid-template-columns: 1fr;
  }

  .translation-summary {
    display: grid;
  }

  .translation-actions {
    justify-content: flex-start;
  }

  .translation-config-note {
    padding-left: 15px;
  }

  .message-editor {
    grid-template-columns: 1fr;
  }

  .editor-topline {
    grid-template-columns: minmax(132px, 180px) 132px;
    align-items: end;
    justify-content: start;
  }

  .image-message-field {
    grid-column: 1;
  }

  .field-heading {
    align-items: flex-start;
  }

  .translation-field-actions {
    flex-wrap: wrap;
  }

  .preview-pane {
    min-height: 780px;
    padding: 20px 12px 36px;
  }
}
