@font-face {
  font-family: Ppmori;
  src:
    url("https://cdn.prod.website-files.com/6828ca4de4eedca9a6b78379/68428caa2892792d2811c46c_PPMori-Regular.woff2")
      format("woff2"),
    url("https://cdn.prod.website-files.com/6828ca4de4eedca9a6b78379/68428caabf66ac396e01785a_PPMori-Regular.woff")
      format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Ppmori;
  src: url("https://cdn.prod.website-files.com/6828ca4de4eedca9a6b78379/682d85404f42467e9d48e428_PPMori-SemiBold.otf")
    format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #050505;
  --muted: #5e6670;
  --line: #e7dfd6;
  --paper: #f1eee8;
  --white: #ffffff;
  --orange: #fb5900;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Ppmori, "PP Mori", Arial, Helvetica, sans-serif;
  margin: 0;
}

.app-shell {
  min-height: 100vh;
  padding: 32px;
}

.workspace {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 460px) minmax(520px, 1fr);
  margin: 0 auto;
  max-width: 1120px;
}

.editor-panel,
.preview-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

h2 {
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 12px;
  text-transform: uppercase;
}

p,
li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.heading-row p {
  margin-top: 10px;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 24px;
}

label {
  color: var(--ink);
  display: grid;
  font-size: 12px;
  gap: 6px;
  text-transform: uppercase;
}

input {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  min-height: 42px;
  padding: 10px 12px;
}

input:focus {
  border-color: var(--orange);
  outline: 2px solid rgba(251, 89, 0, 0.16);
}

.checkbox-row,
button {
  grid-column: 1 / -1;
}

.checkbox-row {
  align-items: center;
  display: flex;
  gap: 10px;
  text-transform: none;
}

.checkbox-row input {
  accent-color: var(--orange);
  min-height: 0;
}

button {
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  min-height: 44px;
  text-transform: uppercase;
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.instructions {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}

.instructions ol {
  margin: 0;
  padding-left: 20px;
}

.preview-panel {
  align-self: start;
  overflow-x: auto;
}

.signature-preview {
  background: var(--white);
  display: inline-block;
  min-width: 520px;
}

.status {
  margin-top: 14px;
  min-height: 22px;
}

.copy-page {
  background: var(--white);
}

.copy-target {
  display: inline-block;
  padding: 0;
}

.copy-target:empty::before {
  color: var(--muted);
  content: "No generated signature found. Go back to the generator first.";
  display: block;
  padding: 24px;
}

@media (max-width: 960px) {
  .app-shell {
    padding: 18px;
  }

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

}
