@font-face {
  font-family: Jost;
  src: url("/assets/brand/Jost-Welcome.woff") format("woff");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --paper: #f5f3ee;
  --surface: #fffefa;
  --white: #fff;
  --ink: #20211e;
  --muted: #73736c;
  --line: #dcd9cf;
  --soft-line: #ebe8e0;
  --gold: #957631;
  --gold-soft: #f1ead8;
  --burgundy: #753841;
  --danger-bg: #f8eeee;
  --focus: #846826;
  --radius: 3px;
  --shadow: 0 12px 42px #25241808;
  font-family: Jost, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.5;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button,
a,
input,
[contenteditable],
.help {
  touch-action: manipulation;
}
button {
  color: inherit;
}
button svg {
  width: 20px;
  height: 20px;
  flex: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[contenteditable]:focus-visible,
.help:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 38px;
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -1px;
}
h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 16px;
  font-weight: 500;
}
label,
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
input:hover {
  border-color: #aba79a;
}
input::placeholder {
  color: #92928a;
}
input[type="number"] {
  padding-right: 6px;
}
input:invalid:not(:placeholder-shown) {
  box-shadow: none;
}
label + input {
  margin-top: 7px;
}
::selection {
  background: #e5d6aa;
  color: var(--ink);
}
.app-header {
  height: 88px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 450;
  letter-spacing: -0.5px;
}
.brand img {
  width: 27px;
  height: 35px;
  object-fit: contain;
}
.header-end {
  display: flex;
  align-items: center;
  gap: 24px;
}
.environment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5b5c55;
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
}
.status-dot.quiet {
  background: #a5a59d;
}
main {
  flex: 1;
  width: 100%;
}
.workspace {
  max-width: 1400px;
  padding: 48px 48px 64px;
  margin: 0 auto;
}
.workspace-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.1px;
}
.breadcrumb span {
  display: inline-block;
  margin: 0 11px;
  color: #b5b2a8;
}
.lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.connection-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 4px;
}
.workbench {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  border-top: 1px solid var(--line);
}
.signature-sidebar {
  padding-top: 25px;
  min-width: 0;
}
.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  padding-left: 12px;
}
.sidebar-heading h2 {
  font-size: 13px;
  color: var(--muted);
  font-weight: 450;
  letter-spacing: 0.1px;
}
.signature-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.signature-item {
  width: 100%;
  padding: 14px 14px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  display: block;
  position: relative;
}
.signature-item:hover {
  background: #eeece5;
}
.signature-item[aria-current="true"] {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 3px 12px #00000003;
}
.signature-item[aria-current="true"]:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 11px;
  bottom: 11px;
  width: 2px;
  background: var(--gold);
}
.signature-item-name {
  display: block;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.signature-item-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.signature-item-status .status-dot {
  width: 4px;
  height: 4px;
}
.sidebar-note {
  font-size: 12px;
  color: #929087;
  padding: 24px 12px;
  line-height: 1.55;
}
.icon-button {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 350;
  flex: none;
}
.icon-button:hover {
  background: #ebe8df;
}
.add-button {
  font-size: 23px;
  width: 32px;
  height: 32px;
}
.signature-workspace {
  min-width: 0;
}
.editor-heading {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.view-tabs {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 28px;
}
.view-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 1px;
  color: var(--muted);
  font-size: 14px;
}
.view-tabs button[aria-selected="true"] {
  color: var(--ink);
}
.view-tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  background: var(--gold);
}
.tab-count {
  display: inline-block;
  color: #8b8678;
  margin-left: 5px;
  font-size: 12px;
}
.save-status {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.save-status.saved:before {
  content: "✓";
  font-size: 12px;
  color: var(--gold);
}
.save-status.error {
  color: var(--burgundy);
}
.save-status.saving:before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: rotate 0.8s linear infinite;
}
.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.editor-card {
  min-width: 0;
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.name-field {
  margin-bottom: 24px;
}
.content-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.import-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.text-button {
  padding: 3px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  line-height: 1.4;
}
.text-button:hover {
  border-bottom-color: var(--gold);
  color: #765b20;
}
.text-button:disabled {
  border-color: transparent;
}
.help {
  position: relative;
  border: 1px solid #c9c4b7;
  color: #7d7768;
  width: 17px;
  height: 17px;
  font-size: 11px;
  line-height: 15px;
  border-radius: 50%;
  text-align: center;
  cursor: help;
  flex: none;
}
.help [role="tooltip"] {
  display: none;
  position: absolute;
  z-index: 10;
  right: -5px;
  bottom: 26px;
  width: 214px;
  background: var(--ink);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  color: var(--paper);
  text-align: left;
  border-radius: var(--radius);
  font-size: 12px;
  line-height: 1.5;
}
.help:hover [role="tooltip"],
.help:focus [role="tooltip"] {
  display: block;
}
.rich-editor-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.rich-editor-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.format-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #faf9f6;
  border-bottom: 1px solid var(--soft-line);
  padding: 5px 7px;
}
.format-toolbar button {
  background: transparent;
  border: 0;
  border-radius: 2px;
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.format-toolbar button:hover,
.format-toolbar button[aria-pressed="true"] {
  background: #eae4d5;
  color: #675022;
}
.format-toolbar button svg {
  width: 17px;
  height: 17px;
}
.toolbar-divider {
  height: 17px;
  width: 1px;
  background: var(--line);
  margin: 0 5px;
}
.format-toolbar .clear-format {
  font-size: 12px;
  text-decoration: line-through;
}
#signature-editor {
  min-height: 185px;
  max-height: 450px;
  padding: 16px;
  overflow: auto;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  outline: none;
  overflow-wrap: anywhere;
}
#signature-editor:focus-visible {
  outline: 0;
}
#signature-editor:empty:before {
  content: attr(data-placeholder);
  color: #a09e96;
  pointer-events: none;
  font-family: Jost, system-ui, sans-serif;
  font-size: 14px;
}
#signature-editor p {
  margin: 0 0 0.65em;
}
#signature-editor p:last-child {
  margin-bottom: 0;
}
#signature-editor a {
  color: #765b20;
  text-decoration: underline;
}
#signature-editor ul {
  padding-left: 20px;
  margin: 4px 0;
}
#signature-editor img {
  max-width: 100%;
  height: auto;
}
.image-section {
  margin-top: 22px;
}
.optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.image-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: #faf9f5;
  border: 1px dashed #cfcabd;
  padding: 14px;
  font-size: 13px;
  border-radius: var(--radius);
  flex-wrap: wrap;
  text-align: left;
}
.image-upload:hover {
  background: #f2eee2;
  border-color: var(--gold);
}
.image-upload svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.upload-caption {
  font-size: 11px;
  color: #8d897f;
  margin-left: auto;
}
.image-details {
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: var(--radius);
  background: #faf9f5;
}
.image-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.image-summary > img {
  width: 54px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--soft-line);
  padding: 3px;
}
.image-summary > div {
  flex: 1;
}
.image-summary .field-label {
  font-size: 13px;
}
.image-summary .text-button {
  font-size: 12px;
}
.image-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 12px;
}
.image-fields label {
  font-size: 12px;
}
.image-fields input {
  height: 36px;
  font-size: 13px;
  padding: 7px 9px;
}
.preview-card {
  min-width: 0;
  padding-top: 1px;
}
.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 15px;
  padding: 0 1px;
}
.preview-heading h2 {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 500;
}
.quiet-label {
  font-size: 12px;
  color: var(--muted);
}
.native-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.native-preview iframe {
  height: 455px;
}
iframe {
  display: block;
  width: 100%;
  height: 220px;
  min-width: 0;
  border: 0;
  background: white;
}
.preview-status {
  font-size: 12px;
  color: var(--burgundy);
  padding: 9px 1px;
  min-height: 36px;
}
.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.published-status {
  font-size: 12px;
  color: var(--muted);
}
.footer-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 450;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.button.primary:hover:not(:disabled) {
  background: #3d3b30;
  border-color: #3d3b30;
}
.button.primary:focus-visible {
  outline-offset: 4px;
}
.button.secondary {
  border-color: var(--line);
  background: transparent;
}
.button.secondary:hover:not(:disabled) {
  background: #eeebe3;
  border-color: #c2baa7;
}
.button span[aria-hidden] {
  font-size: 17px;
  color: #d4be82;
}
.notice {
  padding: 13px 16px;
  border-left: 2px solid var(--gold);
  background: var(--gold-soft);
  font-size: 13px;
  margin-top: 18px;
  color: #68562b;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.notice.error {
  background: var(--danger-bg);
  border-color: var(--burgundy);
  color: var(--burgundy);
}
#workspace-error {
  margin: 0 0 20px;
}
.field-error {
  font-size: 13px;
  line-height: 1.5;
  color: var(--burgundy);
  margin-top: 12px;
}
.history-heading {
  padding-bottom: 24px;
}
.history-heading h2 {
  font-size: 21px;
  margin-bottom: 7px;
}
.history-heading p {
  color: var(--muted);
  font-size: 14px;
}
.history-entry {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 20px 2px;
}
.history-marker {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2c5a0;
  border-radius: 50%;
  color: var(--gold);
  font-size: 12px;
  margin-top: 2px;
}
.history-entry h3 {
  font-size: 15px;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.history-entry p {
  font-size: 12px;
  color: var(--muted);
}
.history-entry .history-detail {
  margin-top: 7px;
  color: #66675e;
}
.history-entry .text-button {
  font-size: 13px;
  margin-top: 2px;
}
.empty-history {
  padding: 50px 20px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--surface);
}
.empty-history h3 {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 450;
}
.empty-history p {
  font-size: 14px;
  color: var(--muted);
}
.empty-view {
  padding: 80px 24px;
  text-align: center;
}
.empty-symbol {
  display: block;
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 12px;
}
.empty-view h2 {
  font-size: 27px;
  font-weight: 450;
}
.empty-view p {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 25px;
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 24px 27px;
  font-size: 11px;
  color: #99958a;
}
.app-footer img {
  object-fit: contain;
  opacity: 0.65;
  width: 18px;
  height: 24px;
}
.entry-view {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--muted);
  gap: 15px;
}
.entry-card {
  width: 100%;
  max-width: 400px;
  color: var(--ink);
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}
.entry-card h1 {
  font-size: 38px;
  margin-bottom: 12px;
}
.muted {
  color: var(--muted);
}
.entry-card form {
  margin-top: 34px;
}
.entry-card .button {
  width: 100%;
  margin-top: 22px;
}
.loading-mark {
  height: 26px;
  width: 26px;
  border: 1px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}
dialog {
  padding: 32px;
  border: 1px solid #cfc9bb;
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 20px 90px #19191126;
  max-height: calc(100vh - 48px);
  overflow: auto;
}
dialog::backdrop {
  background: #25251e70;
  backdrop-filter: blur(3px);
}
dialog[open] {
  animation: dialog-in 0.16s ease-out;
}
.review-dialog {
  width: min(930px, calc(100vw - 48px));
}
.small-dialog {
  width: min(430px, calc(100vw - 40px));
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
}
.dialog-header h2 {
  font-size: 27px;
  font-weight: 450;
  letter-spacing: -0.6px;
}
.dialog-header .icon-button {
  margin-top: -5px;
  margin-right: -10px;
}
.dialog-caption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 27px;
}
.comparison > section {
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 0;
}
.comparison > section.proposed {
  border-top: 2px solid var(--gold);
}
.comparison-heading {
  padding: 17px 20px;
  background: #faf9f6;
  border-bottom: 1px solid var(--soft-line);
  min-height: 60px;
}
.comparison-heading h3 {
  font-size: 14px;
}
.comparison-heading span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.comparison iframe {
  height: 335px;
  padding: 20px;
}
.comparison-empty {
  padding: 35px 22px;
  color: var(--muted);
  font-size: 14px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 22px;
}
.small-dialog label {
  margin-top: 20px;
}
.small-dialog .dialog-footer {
  margin-top: 25px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .workspace {
    padding-top: 56px;
  }
  .workbench {
    gap: 44px;
  }
  .editor-grid {
    gap: 28px;
  }
  .editor-card {
    padding: 28px;
  }
}
@media (max-width: 1120px) {
  .workspace {
    padding: 36px 32px 48px;
  }
  .workbench {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 25px;
  }
  .editor-grid {
    gap: 18px;
  }
  .editor-card {
    padding: 20px;
  }
  .upload-caption {
    display: none;
  }
  .editor-footer {
    align-items: flex-start;
  }
  .footer-actions {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .published-status {
    padding-top: 11px;
  }
  .mail-body {
    padding: 22px 17px;
  }
}
@media (max-width: 900px) {
  .workspace {
    padding: 32px 25px 45px;
  }
  .workbench {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 24px;
  }
  .editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .preview-card {
    padding-top: 10px;
  }
  .mail-body {
    min-height: 180px;
  }
  .mail-body iframe {
    height: 180px;
  }
  .mail-preview {
    max-width: none;
  }
  .connection-note {
    max-width: 160px;
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.5;
  }
  .connection-note .status-dot {
    margin-top: 5px;
  }
  .editor-footer {
    flex-wrap: wrap;
  }
  .published-status {
    padding-top: 0;
  }
  .footer-actions {
    margin-left: auto;
  }
  .workspace-heading {
    margin-bottom: 26px;
  }
}
@media (max-width: 620px) {
  .app-header {
    height: 70px;
    padding: 0 20px;
  }
  .brand {
    gap: 10px;
    font-size: 23px;
  }
  .brand img {
    width: 23px;
    height: 30px;
  }
  .header-end {
    gap: 14px;
  }
  .environment {
    font-size: 11px;
    padding: 4px 8px;
  }
  .header-end .text-button {
    font-size: 12px;
  }
  .workspace {
    padding: 28px 20px 32px;
  }
  .workspace-heading {
    display: block;
    margin-bottom: 24px;
  }
  .breadcrumb {
    font-size: 12px;
    margin-bottom: 9px;
  }
  .breadcrumb span {
    margin: 0 8px;
  }
  h1 {
    font-size: 32px;
  }
  .lead {
    font-size: 14px;
    margin-top: 8px;
  }
  .connection-note {
    margin-top: 18px;
    max-width: none;
    align-items: center;
    font-size: 11px;
  }
  .connection-note .status-dot {
    margin: 0;
  }
  .workbench {
    display: block;
  }
  .signature-sidebar {
    padding-top: 18px;
  }
  .sidebar-heading {
    padding-left: 0;
    margin-bottom: 10px;
  }
  .signature-list {
    flex-direction: row;
    overflow: auto;
    gap: 9px;
    padding: 3px 3px 8px;
    margin: 0 -3px;
    scrollbar-width: thin;
  }
  .signature-item {
    min-width: 155px;
    max-width: 210px;
    flex: 0 0 auto;
    padding: 10px 13px;
  }
  .signature-item-name {
    font-size: 14px;
  }
  .signature-item-status {
    font-size: 11px;
    margin-top: 3px;
  }
  .sidebar-note {
    display: none;
  }
  .editor-heading {
    height: 67px;
  }
  .view-tabs button[aria-selected="true"]:after {
    bottom: 12px;
  }
  .editor-card {
    padding: 20px 18px;
  }
  .editor-grid {
    gap: 22px;
  }
  .preview-card {
    padding-top: 0;
  }
  .editor-footer {
    margin-top: 16px;
    gap: 15px;
    align-items: center;
  }
  .footer-actions {
    margin: 0 0 0 auto;
  }
  .editor-footer > .published-status {
    width: 100%;
  }
  .editor-footer .button {
    padding: 10px 17px;
  }
  .preview-status:empty {
    display: none;
  }
  .image-fields {
    grid-template-columns: minmax(0, 1fr) 78px;
  }
  .history-entry {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 11px;
  }
  .history-entry > .text-button {
    grid-column: 2;
    justify-self: start;
  }
  .history-heading {
    padding-top: 4px;
  }
  .history-marker {
    width: 23px;
    height: 23px;
  }
  .review-dialog,
  .small-dialog {
    width: calc(100vw - 24px);
    padding: 23px 20px;
    max-height: calc(100dvh - 24px);
  }
  .dialog-header h2 {
    font-size: 24px;
  }
  .dialog-header {
    gap: 14px;
  }
  .dialog-caption {
    font-size: 13px;
  }
  .comparison {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
  }
  .comparison iframe {
    height: 180px;
    padding: 18px;
  }
  .comparison-heading {
    padding: 12px 18px;
    min-height: 49px;
  }
  .dialog-footer {
    gap: 10px;
    padding-top: 18px;
    margin-top: 22px;
    flex-wrap: wrap;
  }
  .dialog-footer .button {
    flex: 1;
    font-size: 13px;
    padding: 10px 12px;
  }
  .app-footer {
    padding-top: 13px;
  }
  .empty-view {
    padding: 50px 20px;
  }
  .notice {
    align-items: flex-start;
    font-size: 12px;
  }
  .entry-card h1 {
    font-size: 34px;
  }
}
@media (max-width: 620px) {
  .signature-item {
    flex-basis: calc((100% - 9px) / 2);
    min-width: 0;
    max-width: none;
  }
  .comparison iframe {
    height: 310px;
  }
  .native-preview iframe {
    height: 455px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .loading-mark {
    border-top-width: 3px;
  }
  .save-status.saving:before {
    animation: none;
  }
}
