@font-face {
  font-family: DM;
  font-display: swap;
  font-weight: 100 1000;
  src: url("/fonts/DM.woff2") format("woff2");
}
@font-face {
  font-family: DM;
  font-display: swap;
  font-weight: 100 1000;
  src: url("/fonts/DM-Latin.woff2") format("woff2");
  unicode-range: U+0000-024F, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+2212;
}
* {
  box-sizing: border-box;
}
:root {
  --bg: #faf9f6;
  --ink: #232125;
  --mut: #625e65;
  --purple: #5434a5;
  --line: #dcd9de;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px DM,
    Arial,
    sans-serif;
}
:where(a[href]) {
  color: var(--link-ink, var(--ink));
  text-decoration: underline;
  text-underline-offset: var(--link-offset, .24em);
}
:where(a[href]):hover {
  color: var(--pencil, var(--ink));
}
:where(a.brand, a.action, a.quiet, a.outline) {
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #7754c9;
  outline-offset: 3px;
}
summary:focus-visible,
.skip:focus-visible {
  outline: 3px solid #303030;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 10;
  transform: translateY(calc(-100% - 14px));
  padding: 10px 14px;
  background: #fff;
  color: #222;
}
.skip:focus {
  transform: none;
}
@media (forced-colors: active) {
  :is(a,button,input,select,textarea,summary):focus-visible {
    outline: 3px solid Highlight;
  }
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button {
  border: 0;
  background: none;
}
header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 24px;
  letter-spacing: -1.5px;
  font-weight: 760;
  padding: 0;
}
.brand svg {
  width: 32px;
  height: 34px;
}
header .quiet {
  font-size: 14px;
}
.quiet {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  font-weight: 560;
}
.quiet svg,
.action svg,
.status svg {
  width: 19px;
  height: 19px;
}
.frame {
  max-width: 1240px;
  padding: 0 48px;
  margin: auto;
}
.steps {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mut);
  font-size: 13px;
  font-weight: 520;
  margin: 29px 0 37px;
}
.steps b {
  color: var(--purple);
  font-weight: 700;
}
.steps span:nth-child(even) {
  color: #99939b;
}
.intro {
  margin: 0 0 25px;
}
.intro h1,
h1 {
  font-size: clamp(37px, 4vw, 56px);
  font-weight: 570;
  letter-spacing: -0.065em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.intro p,
p {
  line-height: 1.5;
}
.intro p {
  color: var(--mut);
  margin: 0;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(295px, 1fr);
  gap: 32px;
  align-items: start;
}
.board {
  border: 1px solid #d4cfd8;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.boardtop,
.boardfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  gap: 12px;
  font-size: 13px;
}
.boardtop {
  background: #fff;
  font-weight: 630;
}
.boardfoot {
  border-top: 1px solid var(--line);
  color: var(--mut);
  min-height: 46px;
}
.swatches {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sw {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
}
.sw.active {
  border-color: #9c90b4;
}
.sw i {
  width: 17px;
  height: 17px;
  border: 1px solid #c6c1c9;
  border-radius: 50%;
}
.paper {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.86;
  min-height: 230px;
  background: #f4f1f9;
  isolation: isolate;
}
.paper.dark {
  background: #27252d;
}
.paper.check {
  background-color: white;
  background-image: conic-gradient(
    #dedce3 25%,
    transparent 0 50%,
    #dedce3 0 75%,
    transparent 0
  );
  background-size: 18px 18px;
}
.art {
  width: 76%;
  height: 87%;
  display: grid;
  place-items: center;
}
.art > svg,
.art > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.crop {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #aca0ba;
  border-style: solid;
  opacity: 0.8;
}
.tl {
  left: 21px;
  top: 20px;
  border-width: 1px 0 0 1px;
}
.tr {
  right: 21px;
  top: 20px;
  border-width: 1px 1px 0 0;
}
.bl {
  left: 21px;
  bottom: 20px;
  border-width: 0 0 1px 1px;
}
.br {
  right: 21px;
  bottom: 20px;
  border-width: 0 1px 1px 0;
}
.status {
  display: flex;
  gap: 6px;
  align-items: center;
}
.boardfoot .status {
  color: #4a3c62;
}
.sidebar {
  padding: 0 0 0 3px;
}
.sidebar h2,
.panel h2 {
  font-size: 22px;
  letter-spacing: -0.055em;
  margin: 0 0 12px;
  font-weight: 650;
}
.option {
  display: flex;
  text-align: left;
  width: 100%;
  align-items: center;
  padding: 13px 12px;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 7px 0;
}
.option.active {
  border-color: var(--purple);
  background: #f2eefb;
  box-shadow: inset 0 0 0 0.4px var(--purple);
}
.radio {
  width: 16px;
  height: 16px;
  flex: none;
  border: 1.3px solid #a8a4ae;
  border-radius: 50%;
}
.active > .radio {
  border: 4.5px solid var(--purple);
}
.option strong {
  display: block;
  font-size: 15px;
}
.option small,
.minor {
  display: block;
  font-size: 13px;
  color: var(--mut);
  line-height: 1.45;
}
.action,
.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--purple);
  color: #fff;
  font-weight: 650;
  border-radius: 8px;
  min-height: 46px;
  padding: 10px 18px;
}
.action:hover {
  background: #412583;
}
.wide {
  width: 100%;
  margin-top: 12px;
}
.outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.link {
  color: var(--purple);
  font-weight: 630;
  padding: 10px 0;
}
.subaction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 8px;
  flex-wrap: wrap;
}
.subaction .quiet {
  color: var(--mut);
  font-size: 14px;
}
.controls {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 15px;
}
.raster-cleanup:not([hidden]) {
  display: grid;
  gap: 7px;
}
.controls label,
label.field {
  font-size: 14px;
  font-weight: 650;
}
.controls input,
.controls select,
.controls textarea,
.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #aaa4ae;
  background: white;
  border-radius: 7px;
  color: var(--ink);
}
.controls textarea,
.field textarea {
  min-height: 76px;
  resize: vertical;
}
.inline {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.inline button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  background: white;
  font-size: 14px;
}
.inline .sel {
  background: #eee7fc;
  color: var(--purple);
  border-color: var(--purple);
}
.panel {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding: 18px 0;
}
.panel summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
}
.panel p {
  font-size: 14px;
  color: var(--mut);
}
.narrow {
  max-width: 660px;
  margin: 0 auto;
  padding-bottom: 22px;
}
.searchhero {
  margin: 48px 0 26px;
}
.searchbox {
  display: flex;
  align-items: center;
  border: 1.4px solid #aea5bd;
  border-radius: 10px;
  background: white;
  padding: 5px 5px 5px 15px;
  gap: 10px;
}
.searchbox input {
  border: 0;
  min-width: 0;
  flex: 1;
  outline: none;
  padding: 8px 0;
}
.searchbox:focus-within {
  outline: 2px solid var(--purple);
}
.searchbox svg {
  width: 21px;
}
.example button {
  padding: 6px 0;
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rows {
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.row {
  display: flex;
  width: 100%;
  align-items: center;
  text-align: left;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 17px 2px;
}
.row span:nth-child(2) {
  flex: 1;
}
.tile {
  display: grid;
  place-items: center;
  background: #ece7f3;
  border-radius: 9px;
  color: #543f66;
  font:
    24px Georgia,
    serif;
  width: 45px;
  height: 45px;
}
.notice {
  margin-top: 10px;
  font-size: 14px;
  color: #684d17;
}
.mocknote {
  max-width: 1144px;
  margin: 36px auto 24px;
  border-top: 1px solid #e1dde0;
  padding-top: 13px;
  font-size: 12px;
  color: #746e77;
  letter-spacing: 0.005em;
}
dialog {
  position: fixed;
  width: min(420px, 92vw);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
dialog::backdrop {
  background: #24212755;
}
dialog h2 {
  margin-top: 0;
}
#print {
  display: none;
}
@media (max-width: 800px) {
  .frame {
    padding: 0 24px;
  }
  .layout {
    gap: 19px;
    grid-template-columns: 1.4fr 1fr;
  }
  .steps {
    margin-bottom: 25px;
  }
  .paper {
    aspect-ratio: 1.36;
  }
  .boardfoot {
    flex-wrap: wrap;
  }
}
@media (max-width: 650px) {
  header {
    height: 60px;
    padding: 0 18px;
  }
  .brand {
    font-size: 22px;
  }
  .frame {
    padding: 0 18px;
  }
  .steps {
    font-size: 12px;
    margin: 19px 0 23px;
    gap: 8px;
  }
  .intro {
    margin-bottom: 18px;
  }
  .intro p {
    font-size: 14px;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .boardtop,
  .boardfoot {
    padding: 8px 12px;
  }
  .paper {
    min-height: 175px;
    aspect-ratio: 2.06;
  }
  .sidebar {
    padding: 0;
  }
  .sidebar h2 {
    font-size: 20px;
  }
  .searchhero {
    margin-top: 45px;
  }
  .searchbox {
    gap: 7px;
  }
  .option {
    min-height: 50px;
  }
  .mocknote {
    margin-top: 22px;
  }
  .panel {
    margin: 12px 0;
  }
  .subaction {
    margin-top: 3px;
  }
  .boardfoot {
    font-size: 12px;
  }
  .boardfoot,
  .boardtop {
    min-height: 37px;
  }
}
@page {
  size: A4;
  margin: 0;
}
@media print {
  body {
    background: white;
  }
  header,
  .frame,
  dialog {
    display: none !important;
  }
  #print {
    display: flex;
    width: 210mm;
    height: 296mm;
    align-items: center;
    justify-content: center;
  }
  #print svg,
  #print img {
    max-height: 270mm;
    object-fit: contain;
  }
}
@font-face {
  font-family: Sketch;
  font-display: swap;
  src: url("/fonts/Sketch.woff2") format("woff2");
  font-weight: 400 700;
}
@font-face {
  font-family: Sketch;
  font-display: swap;
  font-weight: 400 700;
  src: url("/fonts/Sketch-Latin.woff2") format("woff2");
  unicode-range: U+0000-024F, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+2212;
}
@font-face {
  font-family: Kalam;
  font-display: swap;
  src: url("/fonts/Kalam.woff2") format("woff2");
}
:root {
  --ink: #252525;
  --bg: #f8f8f6;
  --mut: #595959;
  --purple: #282828;
  --line: #ccc;
}
.frame {
  max-width: 1240px;
  padding: 0 46px;
}
body {
  background: var(--bg);
  color: var(--ink);
}
header {
  height: 68px;
  background: #fff;
  border-bottom: 1px solid #aaa;
}
.brand {
  font:
    700 38px/1 Sketch,
    cursive;
  letter-spacing: -1.5px;
}
.brand svg {
  width: 43px;
  height: 40px;
}
.quiet,
.subaction .quiet {
  color: #414141;
}
header .quiet {
  font:
    20px Kalam,
    sans-serif;
}
.steps {
  margin: 22px 0 24px;
  font:
    20px Sketch,
    cursive;
  gap: 18px;
}
.steps b {
  color: #111;
  position: relative;
}
.steps b:after,
.under:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 1px;
  right: 0;
  height: 4px;
  border-bottom: 2px solid #666;
  border-radius: 50%;
  transform: rotate(-1.5deg);
}
.intro h1,
h1 {
  font:
    650 clamp(46px, 5.4vw, 76px) / 0.97 Sketch,
    cursive;
  letter-spacing: -2.5px;
}
.intro p {
  font-size: 15px;
}
.intro {
  margin-bottom: 22px;
}
.layout {
  grid-template-columns: minmax(0, 1.68fr) minmax(300px, 0.9fr);
  gap: 40px;
}
.board {
  background: #ececea;
  border: 0;
  border-radius: 3px;
  overflow: visible;
  position: relative;
  padding: 0 25px 12px;
  background-image: radial-gradient(#bdbdb9 0.7px, transparent 0.9px);
  background-size: 8px 8px;
}
.boardtop,
.boardfoot {
  background: transparent;
  border: 0;
}
.boardtop {
  padding: 11px 1px 12px;
  font:
    21px Sketch,
    cursive;
}
.boardfoot {
  padding: 12px 0 0;
  font:
    17px Sketch,
    cursive;
  min-height: 28px;
  color: #383838;
}
.boardfoot .status {
  color: #444;
}
.sw {
  width: 29px;
  height: 29px;
}
.sw.active {
  border-color: #444;
}
.sw i {
  border-color: #999;
}
.paper {
  background: #fefefd;
  min-height: 0;
  aspect-ratio: 1.64;
  border: 1px solid #c6c6c3;
  box-shadow:
    2px 3px #d1d1cc,
    3px 5px #d9d9d5;
  transform: rotate(-0.65deg);
}
.paper:before,
.paper:after {
  content: "";
  position: absolute;
  top: -6px;
  height: 19px;
  width: 73px;
  background: repeating-linear-gradient(
    106deg,
    #cececa88 0 2px,
    #d5d5d188 2px 5px
  );
  z-index: 1;
  clip-path: polygon(
    1% 3%,
    98% 0,
    96% 22%,
    100% 31%,
    97% 54%,
    99% 80%,
    100% 97%,
    2% 100%,
    4% 80%,
    0 64%,
    4% 42%,
    1% 32%
  );
}
.paper:before {
  left: 8%;
  transform: rotate(-13deg);
}
.paper:after {
  right: 8%;
  transform: rotate(11deg);
}
.paper.dark {
  background: #292929;
}
.art {
  width: 85%;
  height: 82%;
}
.crop {
  display: none;
}
.sidebar {
  padding: 0;
}
.sidebar h2,
.panel h2,
.printHead {
  font:
    650 33px/1.1 Sketch,
    cursive;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.option {
  position: relative;
  min-height: 40px;
  padding: 8px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed #c2c2bf;
  border-radius: 0;
  gap: 12px;
  margin: 0;
}
.option.active {
  background: transparent;
  border-color: #aaa;
  box-shadow: none;
}
.option strong {
  font:
    400 19px Kalam,
    sans-serif;
}
.option small {
  display: none;
}
.radio {
  border: 1.5px solid #696969;
  border-radius: 46% 43% 45% 52%;
  height: 17px;
  width: 17px;
}
.active > .radio {
  background: repeating-linear-gradient(
    -48deg,
    #303030 0 1.8px,
    #eee 2px 2.8px
  );
  border: 1.5px solid #303030;
}
.action,
.outline {
  border-radius: 4px 8px 3px 6px;
  color: white;
  background: #282828;
  min-height: 43px;
}
.action:hover {
  background: #111;
}
.outline {
  background: white;
  color: var(--ink);
}
.palette {
  border: 0;
  padding: 0;
  margin: 17px 0 0;
  min-width: 0;
}
.palette legend {
  font:
    600 27px/1.2 Sketch,
    cursive;
  padding: 0;
}
.paintbox {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 5px 0;
}
.paint {
  padding: 4px 5px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  font:
    12px DM,
    sans-serif;
}
.paint.selected {
  border: 1px solid #555;
  background: #fff;
}
.chips {
  height: 18px;
  display: flex;
  width: 47px;
  margin: auto auto 2px;
  transform: rotate(-2deg);
  clip-path: polygon(3% 12%, 98% 0%, 96% 84%, 1% 100%);
}
.chips i {
  height: 100%;
  flex: 1;
}
.editink {
  font-size: 12px;
  color: var(--mut);
}
.editink summary,
.controls summary {
  cursor: pointer;
}
.inkfields {
  margin-top: 7px;
  display: flex;
  gap: 10px;
}
.inkfields label {
  display: grid;
  gap: 3px;
}
.inkfields input {
  width: 49px;
  height: 27px;
  border: 0;
  padding: 0;
}
.inline .sel {
  background: #e8e8e6;
  color: #161616;
  border-color: #333;
}
.subaction {
  margin-top: 8px;
}
.mocknote {
  border-color: #ccc;
}
.tile {
  background: #e8e8e7;
  color: #222;
}
.steps span:nth-child(even) {
  color: #777;
}
.status,
.notice {
  color: #474747;
}
.searchhero {
  margin-top: 65px;
}
.searchbox {
  border: 1.5px solid #444;
  border-radius: 6px 12px 6px 4px;
}
.boardsig {
  font:
    15px Sketch,
    cursive;
}
.controls textarea {
  min-height: 55px;
}
.mat {
  border: 1px solid #ccc;
  background: #e5e5e2;
  background-image: radial-gradient(#c2c2be 0.7px, transparent 1px);
  background-size: 8px 8px;
  padding: 17px;
}
.sheet {
  background: white;
  box-shadow: 2px 3px 0 #c5c5c1;
  position: relative;
  margin: auto;
  max-width: 100%;
}
.piece {
  position: absolute;
  display: grid;
  place-items: center;
}
.piece svg,
.piece img {
  width: 100%;
  height: 100%;
  display: block;
}
.caption {
  font:
    20px Sketch,
    cursive;
  text-align: center;
  margin-top: 12px;
}
.fieldgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fieldgrid label,
.stack {
  display: grid;
  gap: 3px;
  font-size: 13px;
  font-weight: 600;
}
.fieldgrid input,
.stack input,
.stack select,
.fieldgrid select {
  padding: 7px 8px;
  border: 1px solid #aaa;
  background: #fff;
  border-radius: 4px;
  width: 100%;
  min-height: 36px;
}
.stack,
.fieldgrid {
  margin: 9px 0;
}
.print-position {
  margin: 12px 0;
  min-width: 0;
  border: 1px solid #c5c5c1;
  border-radius: 4px;
  padding: 0 10px 5px;
}
.print-position legend {
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
}
.print-position .position-value {
  font-variant-numeric: tabular-nums;
}
.print-position input[type="range"] {
  padding: 0;
  accent-color: #343434;
  min-width: 0;
  background: transparent;
  border: 0;
}
.position-scale {
  display: flex;
  justify-content: space-between;
  font-weight: 400;
}
.modegroup {
  margin: 4px 0 8px;
}
.warn {
  font-size: 13px;
  color: #404040;
}
.bad {
  border-left: 3px solid #333;
  padding-left: 8px;
}
.pager {
  display: flex;
  justify-content: center;
  gap: 9px;
  align-items: center;
  margin-top: 10px;
}
.pager button {
  border: 1px solid #888;
  border-radius: 3px;
  background: white;
}
.steps span,
b {
  white-space: normal;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-color: #333;
}
.mocknote {
  margin-top: 24px;
}
.creativebrief {
  margin: 10px 0 0;
}
.creativebrief summary {
  font-size: 14px;
  cursor: pointer;
}
.creativebrief textarea {
  width: 100%;
}
#print .sheet {
  box-shadow: none;
  margin: 0;
  max-width: none;
  page-break-after: always;
  break-after: page;
}
#print .sheet:last-child {
  break-after: auto;
  page-break-after: auto;
}
@media (max-width: 800px) {
  .frame {
    padding: 0 23px;
  }
  .layout {
    gap: 21px;
    grid-template-columns: 1.3fr 1fr;
  }
  .paper {
    aspect-ratio: 1.28;
  }
}
@media (max-width: 650px) {
  header {
    height: 57px;
  }
  .brand {
    font-size: 32px;
  }
  .brand svg {
    width: 31px;
  }
  .frame {
    padding: 0 16px;
  }
  .steps {
    font-size: 17px;
    gap: 8px;
    margin: 16px 0 19px;
  }
  .intro h1 {
    font-size: 46px;
  }
  .intro {
    margin-bottom: 15px;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .board {
    padding: 0 14px 8px;
  }
  .boardtop {
    padding: 5px 0 7px;
    font-size: 19px;
  }
  .boardfoot {
    padding: 7px 0 0;
  }
  .paper {
    aspect-ratio: 1.95;
  }
  .paper:before,
  .paper:after {
    width: 48px;
    height: 13px;
  }
  .palette {
    margin-top: 10px;
  }
  .art {
    width: 80%;
    height: 86%;
  }
  .sidebar h2 {
    font-size: 28px;
  }
  .option {
    padding: 5px 3px;
  }
  .sw {
    width: 32px;
    height: 32px;
  }
  .searchhero {
    margin-top: 35px;
  }
  .paint {
    min-height: 43px;
  }
  .wide {
    margin-top: 8px;
  }
}
@media print {
  body,
  html {
    margin: 0;
    padding: 0;
  }
  #print {
    display: block;
    width: auto;
    height: auto;
  }
  #print svg,
  #print img {
    max-height: none;
  }
  .sheet {
    overflow: hidden;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
/* All navigation, actions and labels share the same handwriting. */
@media screen {
  :root {
    --hand: Sketch, "Segoe Print", cursive;
    --read: DM, Arial, sans-serif;
    --pencil: #292927;
    --graphite: #62625e;
    --paper: #fff;
    --link-ink: var(--graphite);
    --link-offset: .24em;
    --paper-hover: #f0f0ed;
    --paper-border: #bdbdb7;
    --paper-shadow: 2px 3px 0 #deded9;
    --edge: 7px 3px 8px 4px / 3px 7px 4px 8px;
    --hatching: repeating-linear-gradient(
      116deg,
      #fff0 0 3px,
      #ffffff16 3.4px 4px,
      #fff0 4.4px 6px
    );
  }
  body {
    font-family: var(--read);
    background-color: #f8f8f6;
  }
  .intro h1,
  h1,
  .brand {
    font-family: var(--hand);
    font-weight: 650;
  }
  .sidebar h2,
  .palette legend,
  .panel h2,
  dialog h2 {
    font: 650 32px/1.07 var(--hand);
    letter-spacing: -0.6px;
  }
  .steps,
  .boardtop,
  .boardfoot,
  .caption {
    font-family: var(--hand);
  }
  button,
  .option strong,
  .palette button,
  .controls label,
  .fieldgrid label,
  .stack,
  .creativebrief summary,
  .editink summary,
  header .quiet,
  .quiet,
  .subaction .quiet,
  .field label,
  .inkfields label,
  .link,
  .pager,
  .example button {
    font: 580 21px/1.13 var(--hand);
    letter-spacing: 0;
  }
  button:disabled {
    cursor: default;
    opacity: 0.5;
  }
  .action,
  .outline,
  .quiet,
  .subaction .quiet,
  .inline button,
  .pager button,
  .link,
  .searchbox,
  .fieldgrid input,
  .controls input,
  .controls textarea,
  .fieldgrid select,
  .stack select,
  .stack input,
  .creativebrief textarea {
    border: 1.4px solid var(--pencil);
    border-radius: var(--edge);
  }
  .action,
  .outline,
  .quiet,
  .subaction .quiet,
  .link,
  .inline button,
  .pager button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 8px;
    padding: 6px 15px;
  }
  .action {
    font: 650 25px/1.1 var(--hand);
    color: #fff;
    background: var(--hatching), #333331;
    border: 1.8px solid #282827;
    box-shadow: 1px 2px 0 #a9a9a4;
  }
  .action:hover {
    background: var(--hatching), #20201f;
  }
  .action svg,
  .quiet svg {
    width: 20px;
    height: 20px;
    flex: none;
  }
  .outline,
  .quiet,
  .subaction .quiet,
  .link,
  .pager button {
    color: var(--pencil);
    background: #fcfcfa;
  }
  .outline:hover,
  .quiet:hover,
  .link:hover,
  .pager button:hover,
  .inline button:hover {
    background-color: #eaeae6;
  }
  header .quiet {
    border-color: #9b9b96;
    min-height: 39px;
    padding: 4px 14px;
  }
  .subaction {
    gap: 10px;
    margin-top: 16px;
  }
  .subaction .quiet {
    min-height: 42px;
  }
  .sidebar .wide {
    margin-top: 15px;
  }
  .option {
    min-height: 43px;
    padding: 8px 3px;
  }
  .option strong {
    font-size: 24px;
  }
  .option.active .radio {
    position: relative;
    background: #fff;
    border-color: var(--pencil);
  }
  .option.active .radio:after {
    content: "";
    position: absolute;
    inset: 2.4px;
    background: repeating-linear-gradient(
      122deg,
      #292927 0 2px,
      #aaa 2.3px 2.8px
    );
    border-radius: 49% 45% 44% 50%;
  }
  .controls,
  .fieldgrid,
  .stack {
    gap: 7px;
  }
  .controls label,
  .fieldgrid label,
  .inkfields label,
  .stack,
  .editink summary,
  .creativebrief summary {
    font: 550 20px/1.25 var(--hand);
    color: #30302d;
  }
  .controls input,
  .controls textarea,
  .fieldgrid input,
  .fieldgrid select,
  .stack input,
  .stack select,
  .creativebrief textarea {
    background-color: #fff;
    color: var(--pencil);
    border-color: #898983;
    min-height: 43px;
    font: 450 16px/1.4 var(--read);
    padding: 8px 12px;
    box-shadow: 0 1px 0 #e0e0db;
  }
  .fieldgrid {
    gap: 12px;
  }
  .fieldgrid input,
  .fieldgrid select {
    margin-top: 3px;
  }
  .fieldgrid select {
    appearance: none;
    padding-right: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='m2 3 5 5 7-6' fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: right 9px center;
  }
  .inline {
    gap: 7px;
    align-items: stretch;
    flex-wrap: wrap;
  }
  .inline button {
    position: relative;
    flex: 1;
    min-height: 43px;
    font: 570 21px/1.1 var(--hand);
    color: var(--pencil);
    background: white;
    border-color: #9a9a93;
    padding: 7px 12px;
  }
  .inline .sel,
  .inline [aria-pressed="true"] {
    background: #f1f1ed;
    border-color: #272726;
  }
  .inline .sel:after {
    content: "";
    position: absolute;
    bottom: 3px;
    width: 30px;
    height: 3px;
    border-bottom: 2px solid #3c3c37;
    border-radius: 50%;
    transform: rotate(-3deg);
  }
  .controls .inline {
    margin: 0 0 6px;
  }
  .creativebrief summary,
  .editink summary {
    padding: 6px 0;
    min-height: 35px;
  }
  .paintbox {
    gap: 5px;
    margin: 5px 0 1px;
  }
  .palette .paint {
    min-height: 47px;
    font: 550 18px/1.1 var(--hand);
    padding: 4px 5px;
    border-radius: var(--edge);
  }
  .paint.selected {
    border-color: #292927;
  }
  .chips {
    width: 42px;
  }
  .inkfields input {
    width: 55px;
    height: 35px;
    background: white;
    border: 1px solid #999;
    border-radius: var(--edge);
    padding: 3px;
  }
  .sw {
    min-width: 34px;
    min-height: 34px;
    border-radius: var(--edge);
  }
  .sw.active {
    background: white;
    border-color: #74746e;
  }
  :where(button, input, textarea, select, summary, [tabindex]):focus-visible {
    outline: 2px dashed #292927 !important;
    outline-offset: 3px !important;
  }
  button:active:not(:disabled) {
    translate: 0 1px;
  }
  .brand:active {
    translate: none;
  }
  .searchpage {
    max-width: 786px;
    margin: 42px auto 0;
    padding: 38px 46px 33px;
    border-radius: 2px 5px 2px 3px;
    border: 1px solid #c7c7c0;
    background: white;
    box-shadow:
      3px 4px #e5e5df,
      4px 5px #c8c8c3;
    position: relative;
  }
  .searchpage:before {
    content: "";
    position: absolute;
    left: 38px;
    top: -10px;
    width: 75px;
    height: 19px;
    background: repeating-linear-gradient(
      103deg,
      #cacac392 0 2px,
      #ddddd690 2px 5px
    );
    transform: rotate(-5deg);
    pointer-events: none;
  }
  .searchhero {
    margin: 0 0 23px;
  }
  .searchhero h1 {
    font-size: 67px;
  }
  .searchhero p {
    font-size: 15px;
    color: #595954;
  }
  .searchlabel {
    display: block;
    font: 580 21px/1.15 var(--hand);
    margin: 0 0 6px;
  }
  .searchbox {
    min-height: 62px;
    background: white;
    padding: 5px 6px 5px 15px;
    border-color: #686861;
    box-shadow: 1px 2px #cfcec8;
    gap: 10px;
  }
  .searchbox:focus-within {
    outline: 0;
    box-shadow:
      0 0 0 1px #363633,
      2px 3px #d6d6d0;
  }
  .searchbox input {
    font: 450 17px/1.4 var(--read);
    min-width: 0;
    background: transparent;
    padding: 10px 0;
    outline: none !important;
  }
  .searchbox svg {
    width: 23px;
    flex: none;
  }
  .searchbox .action {
    min-height: 45px;
    padding: 5px 20px;
    box-shadow: none;
    font-size: 25px;
  }
  .samplehead {
    font: 600 25px/1.1 var(--hand);
    margin: 26px 0 10px;
  }
  .samples {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .sample {
    min-width: 0;
    text-align: left;
    background: #fafaf7;
    border: 1px solid #c4c4bd;
    border-radius: var(--edge);
    padding: 12px 13px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }
  .sample:hover {
    border-color: #494944;
    background: #f1f1eb;
  }
  .sample strong,
  .row strong {
    font: 600 22px/1.15 var(--hand);
  }
  .sample small,
  .row small {
    font: 400 13px/1.5 var(--read);
    color: #5b5b54;
  }
  .sample svg {
    width: 36px;
    height: 30px;
    margin: 0 0 4px;
    stroke: #343430;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .sample .sampleName {
    display: flex;
    align-items: baseline;
    gap: 5px;
  }
  .sample .sampleName:after {
    content: "↗";
    font: 16px var(--hand);
    color: #666;
  }
  .row {
    padding: 12px 3px;
  }
  .row:focus-visible {
    outline-offset: 0 !important;
  }
  .searchpage .rows {
    margin: 0;
  }
  .searchpage .minor {
    font: 14px var(--read);
  }
  @media (max-width: 650px) {
    .searchpage {
      margin-top: 27px;
      padding: 27px 16px 19px;
    }
    .searchhero h1 {
      font-size: 45px;
    }
    .searchhero p {
      font-size: 14px;
    }
    .searchhero {
      margin-bottom: 18px;
    }
    .searchbox {
      padding-left: 8px;
      gap: 6px;
      min-height: 54px;
    }
    .searchbox .action {
      padding: 5px 12px;
      font-size: 23px;
    }
    .searchbox input {
      font-size: 16px;
    }
    .searchbox svg {
      width: 20px;
    }
    .samples {
      grid-template-columns: 1fr;
      gap: 6px;
    }
    .sample {
      display: grid;
      grid-template-columns: 38px 1fr auto;
      justify-content: start;
      align-items: center;
      padding: 8px 10px;
      min-height: 44px;
      gap: 7px;
    }
    .sample svg {
      margin: 0;
    }
    .sample small {
      font-size: 12px;
    }
    .sample .sampleName:after {
      display: none;
    }
    .samplehead {
      margin-top: 21px;
    }
    .subaction .quiet {
      font-size: 20px;
      padding: 5px 10px;
    }
    .subaction {
      margin-top: 11px;
    }
    .paintbox {
      gap: 4px;
    }
    .palette .paint {
      min-width: 49px;
    }
    .sw {
      min-width: 40px;
      min-height: 40px;
    }
    .editink summary,
    .creativebrief summary {
      min-height: 40px;
    }
    .sidebar h2,
    .palette legend {
      font-size: 29px;
    }
  }
}
@media screen {
  .lettering {
    margin-top: 13px;
    border-top: 1px dashed #bdbdb7;
    border-bottom: 1px dashed #bdbdb7;
  }
  .lettering summary {
    cursor: pointer;
    min-height: 43px;
    padding: 8px 0;
    font: 590 22px/1.15 var(--hand);
  }
  .lettering summary span {
    float: right;
    color: #5f5f58;
    font: 450 13px/24px var(--read);
  }
  .typegrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 2px 0 12px;
  }
  .typecard {
    position: relative;
    min-width: 0;
    background: #fff;
    border: 1px solid #bdbdb7;
    border-radius: var(--edge);
    padding: 8px 9px;
    text-align: left;
    color: #292927;
  }
  .typecard:hover,
  .typecard[aria-pressed="true"] {
    background: #f1f1eb;
    border-color: #343430;
  }
  .typecard[aria-pressed="true"]:after {
    content: "✓";
    position: absolute;
    bottom: 5px;
    right: 8px;
    font: 16px var(--hand);
  }
  .typesample {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 400;
  }
  .typecard small {
    display: block;
    font: 450 11px/1.35 var(--read);
    color: #53534d;
  }
}

@font-face {
  font-family: DmLogo;
  font-display: swap;
  src: url("/fonts/DmLogo.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: SpectralLogo;
  font-display: swap;
  src: url("/fonts/SpectralLogo.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: BreeLogo;
  font-display: swap;
  src: url("/fonts/BreeLogo.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: BarlowLogo;
  font-display: swap;
  src: url("/fonts/BarlowLogo.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: DancingLogo;
  font-display: swap;
  src: url("/fonts/DancingLogo.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: CaveatLogo;
  font-display: swap;
  src: url("/fonts/CaveatLogo.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@media screen {
  .boardfoot span,
  .panel small,
  .row small {
    overflow-wrap: anywhere;
  }
  .controls input[type="checkbox"] {
    min-height: 0;
    width: auto;
  }
  .controls .file-picker {
    position: relative;
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid var(--pencil);
    border-radius: var(--edge);
    background: var(--paper);
    cursor: pointer;
  }
  .file-picker input {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    cursor: pointer;
  }
  .file-picker:focus-within {
    outline: 3px solid #7754c9;
    outline-offset: 3px;
  }
  .controls .cleanup-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    cursor: pointer;
  }
  .controls .cleanup-option input {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    accent-color: var(--pencil);
  }
  .frame h1 {
    overflow-wrap: anywhere;
  }
  #downloads a,
  .subaction a {
    color: var(--pencil);
    text-underline-offset: 4px;
  }
  #downloads a {
    text-decoration: none;
    display: flex;
  }
  #message {
    position: sticky;
    bottom: 8px;
    background: #fff;
    padding: 9px 12px;
    border-left: 3px solid #444;
    color: #222;
  }
  #message:empty {
    display: none;
  }
}

/* Proofing and revision controls share the studio's graphite rules. */
.research-row {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: .5rem 1rem;
  border-bottom: 1px solid #d0ceca;
  padding: .7rem 0;
}
.research-row > span {
  flex: 1 1 15rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.research-row small {
  display: block;
}
.research-results h3 {
  margin: 1.2rem 0 .25rem;
}
.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  padding: .75rem;
}
.comparison[hidden] {
  display: none;
}
.comparison figure {
  margin: 0;
  min-width: 0;
}
.comparison img {
  display: block;
  width: 100%;
  height: 9rem;
  object-fit: contain;
  background: repeating-conic-gradient(#deddda 0% 25%, #fff 0% 50%) 0 0 / 12px 12px;
}
.workspace-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin-block: 1.25rem;
}
.workspace-progress .steps {
  margin: 0;
}
#draft-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .65rem;
  margin: 0;
  color: var(--pencil);
  background: var(--paper-hover);
  border: 1px solid var(--paper-border);
  border-radius: var(--edge);
  font-size: .85rem;
  font-weight: 650;
}
#draft-status:empty {
  display: none;
}
#draft-status::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #6b675d;
  flex: none;
}
#draft-status[data-state="saved"]::before {
  background: #37764c;
}
#draft-status[data-state="error"]::before {
  background: #a84045;
}
.panel iframe {
  width: 100%;
  min-height: 24rem;
  border: 0;
}
@media (max-width: 400px) {
  .comparison { grid-template-columns: 1fr; }
}
.search-city {
  margin-top: .7rem;
  max-width: 18rem;
}
#use-generated[hidden] {
  display: none;
}

.research-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1rem;
}

@font-face {
  font-family: NotoStudio;
  src: url("/fonts/NotoSans-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: NotoArabic;
  src: url("/fonts/NotoSansArabic-Regular.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0600-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: NotoCJK;
  src: url("/fonts/NotoSansCJKsc-Regular.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+3000-30FF, U+3400-9FFF, U+F900-FAFF, U+20000-3FFFD;
}
@font-face {
  font-family: NotoSymbols;
  src: url("/fonts/NotoSansSymbols2-Regular.woff2") format("woff2");
  font-display: swap;
}

.portal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 18px;
}
.portal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.language-picker {
  position: relative;
  flex: none;
  margin: 0;
  color: var(--pencil);
  font: 650 .875rem/1.2 var(--read);
}
.language-picker summary,
.language-options a {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: 0 .65rem;
}
.language-picker summary {
  appearance: none;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid var(--paper-border);
  border-radius: var(--edge);
  background: var(--paper);
}
.language-picker summary::-webkit-details-marker {
  display: none;
}
.language-picker summary:hover,
.language-picker[open] summary,
.language-options a:hover,
.language-options [aria-current="page"] {
  background: var(--paper-hover);
}
.language-chevron {
  width: .45rem;
  height: .45rem;
  margin-inline: .15rem .1rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.12rem) rotate(45deg);
}
.language-picker[open] .language-chevron {
  transform: translateY(.1rem) rotate(225deg);
}
.language-options {
  position: absolute;
  z-index: 5;
  inset: calc(100% + .4rem) 0 auto auto;
  min-inline-size: max(100%, 10rem);
  margin: 0;
  padding: .25rem;
  list-style: none;
  border: 1px solid var(--paper-border);
  border-radius: var(--edge);
  background: var(--paper);
  box-shadow: var(--paper-shadow);
}
.language-options a {
  color: inherit;
  text-decoration: none;
  border-radius: var(--edge);
}
.language-options [aria-current="page"]::after {
  content: "";
  inline-size: .45rem;
  block-size: .7rem;
  margin-inline-start: auto;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.language-flag {
  flex: none;
  width: 1.125rem;
  aspect-ratio: 3 / 2;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #0002;
}
.flag-en {
  background:
    linear-gradient(90deg, transparent 41%, #c8102e 41% 59%, transparent 59%),
    linear-gradient(transparent 37%, #c8102e 37% 63%, transparent 63%),
    linear-gradient(90deg, transparent 35%, white 35% 65%, transparent 65%),
    linear-gradient(transparent 28%, white 28% 72%, transparent 72%),
    linear-gradient(34deg, transparent 45%, #c8102e 45% 55%, transparent 55%),
    linear-gradient(-34deg, transparent 45%, #c8102e 45% 55%, transparent 55%),
    linear-gradient(34deg, transparent 39%, white 39% 61%, transparent 61%),
    linear-gradient(-34deg, transparent 39%, white 39% 61%, transparent 61%),
    #012169;
}
.flag-nl {
  background: linear-gradient(#ae1c28 33.33%, white 33.33% 66.67%, #21468b 66.67%);
}
.flag-fr {
  background: linear-gradient(90deg, #002395 33.33%, white 33.33% 66.67%, #ed2939 66.67%);
}
.flag-de {
  background: linear-gradient(black 33.33%, #d00 33.33% 66.67%, #ffce00 66.67%);
}
.flag-it {
  background: linear-gradient(90deg, #009246 33.33%, white 33.33% 66.67%, #ce2b37 66.67%);
}

.mast-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 26px);
}
.mast-actions button {
  min-height: 44px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  header {
    padding-inline: 16px;
  }
  .brand {
    gap: 5px;
    font-size: 20px;
  }
  .brand svg {
    width: 28px;
  }
  .mast-actions button {
    font-size: 13px;
  }
}

.mast-actions a {
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}
.mast-actions [hidden] {
  display: none;
}
@media (max-width: 480px) {
  .mast-actions {
    gap: 5px;
  }
  .mast-actions .quiet {
    font-size: 13px;
    padding-inline: 7px;
  }
}


.feedback-trigger[hidden] {
  display: none;
}
.feedback-dialog {
  width: min(29rem, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: clamp(16px, 4vw, 28px);
  overflow: auto;
  border: 1px solid #90918a;
  border-radius: var(--edge);
  background: #fff;
  color: #292927;
}
.feedback-dialog::backdrop {
  background: #21232077;
}
.feedback-dialog form {
  display: grid;
  gap: 12px;
}
.feedback-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.feedback-head h2 {
  margin: 0;
}
.feedback-dialog .feedback-close {
  align-self: start;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid #b8b9b2;
  border-radius: var(--edge);
  font: 24px/1 DM, Arial, sans-serif;
}
.feedback-preview {
  padding: 8px;
  background: #f2f3ee;
  border: 1px solid #e0e1dc;
}
.feedback-preview img {
  display: block;
  width: 100%;
  height: 104px;
  object-fit: contain;
}
.feedback-dialog [hidden] {
  display: none;
}
.feedback-dialog fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.feedback-dialog legend,
#feedback-comment-label {
  padding: 0;
  font-size: .94rem;
  font-weight: 650;
}
#feedback-topic label {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-height: 36px;
  margin-right: 12px;
  font-size: .87rem;
}
.feedback-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}
.feedback-scale label {
  position: relative;
  display: grid;
  cursor: pointer;
}
.feedback-scale input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.feedback-scale span {
  display: grid;
  place-content: center;
  min-height: 44px;
  border: 1px solid #aeafa7;
  border-radius: 5px 3px 5px 4px;
}
.feedback-scale input:checked + span {
  background: #293f34;
  border-color: #293f34;
  color: #fff;
}
.feedback-scale input:focus-visible + span {
  outline: 3px solid #7754c9;
  outline-offset: 2px;
}
.feedback-scale-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}
.feedback-dialog textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #90918a;
  border-radius: 4px;
  padding: 8px;
  font: inherit;
}
.feedback-scale-labels,
.feedback-help,
.feedback-result {
  margin-bottom: 0;
  color: #52534c;
  font-size: .84rem;
}
.feedback-help,
.feedback-result {
  margin-top: 0;
}
.feedback-result:empty {
  display: none;
}

/* Both grid levels must shrink below the intrinsic dimensions of the source. */
.paper, .art { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.art, .art > img, .art > svg { min-width: 0; min-height: 0; }
.boardfoot span, .research-row { min-width: 0; overflow-wrap: anywhere; }
.layout > div { min-width: 0; }
.start-file { border-top:1px solid var(--line); margin-top:22px;padding:16px 0 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap }
.match-row { width:100%; display:grid;grid-template-columns:48px minmax(0,1fr) auto;text-align:left;align-items:center;gap:12px;overflow-wrap:anywhere }
.match-thumb {width:48px;height:40px;display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center}
.match-thumb img {min-width:0;min-height:0;width:100%;height:100%;object-fit:contain}
.match-thumb .dark-thumb {background:#292929;border-radius:3px}
#places-frame {width:100%;border:0;min-height:64px}
.search-results {margin:18px 0}
.search-results small a {color:inherit}
.searchpage [hidden] {display:none}
#art {text-align:center}

/* Keep the working proof and its controls in view while the editor scrolls. */
.artwork-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
}
.artwork-preview {
  position: sticky;
  top: 16px;
  z-index: 3;
}
.artwork-preview .paper { max-height: 62svh; }
.artwork-preview .paper .art { height: 100%; width: 100%; }
.artwork-preview .comparison { max-height: 22svh; overflow: auto; }
.artwork-controls { min-width: 0; }
.artwork-controls .panel { margin-block: 10px; }
.artwork-utilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.artwork-utilities .subaction { margin: 0; }
.concept-workbench {
  border-block: 1px solid #d8dbd2;
  padding-block: 16px;
  margin-block: 16px;
  display: grid;
  gap: 12px;
}
.concept-workbench h3 { font: 650 1.1rem/1.3 DM, sans-serif; margin: 0; }
.concept-workbench .creativebrief { margin: 0; }
.concept-workbench .creativebrief textarea { min-height: 5rem; }
.concept-workbench p:empty { display: none; }
.concept-actions, .dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.generated-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 10px; }
.generated-choices:empty { display: none; }
.concept { margin: 0; border: 1px solid #d8dbd2; min-width: 0; background: #fff; }
.concept img { display: block; width: 100%; height: 118px; object-fit: contain; padding: 6px; }
.concept figcaption { display: grid; gap: 3px; padding: 6px 9px; background: #f0f2eb; font-size: .87rem; }
.concept figcaption button { justify-self: start; min-height: 44px; }
.assisted-import summary { cursor: pointer; font: 600 .875rem/1.5 DM, sans-serif; }
.generation-brief-quote { white-space: pre-wrap; overflow-wrap: anywhere; background: #f2f3ee; border-left: 3px solid #819486; padding: 12px 16px; max-height: 35svh; overflow: auto; }
.dialog-actions { justify-content: flex-end; }
.feedback-dialog { border-color: #a4b1a5; background: #fdfdfa; box-shadow: 0 14px 48px #161f1933; }
.feedback-dialog .feedback-head { border-bottom: 1px solid #d8dbd2; padding-bottom: 10px; }
.feedback-dialog :is(button, textarea) { scroll-margin-top: 10px; }
.feedback-dialog .feedback-help { color: #4d5b51; }
.feedback-dialog #feedback-send { justify-self: end; min-height: 44px; }
button[hidden] { display: none !important; }

@media (max-width: 760px) {
  .artwork-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .artwork-preview { top: 0; }
  .artwork-preview .board { padding-inline: 12px; }
  .artwork-preview .boardtop { padding-block: 3px 6px; min-height: 44px; }
  .artwork-preview .paper { aspect-ratio: 2.05; max-height: 27svh; transform: none; }
  .artwork-preview .paper::before, .artwork-preview .paper::after { display: none; }
  .artwork-preview .boardfoot { padding-top: 6px; overflow: hidden; max-height: 2.6em; }
  .artwork-controls :is(button, input, textarea, select, summary) { scroll-margin-top: min(38svh, 256px); }
}
@media (max-height: 380px) {
  .artwork-preview { position: static; }
}

.export-survey:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #b8c6ba;
  padding-inline: 12px;
  background: #edf2eb;
}
.export-survey .quiet { min-width: 44px; min-height: 44px; }

.export-survey #dismiss-export-feedback {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}
.export-survey .export-suggestion {
  grid-column: 1;
  justify-self: start;
  padding-block: 0 .5rem;
  min-height: 44px;
  font-weight: 600;
}

.area-dialog {
  width: min(37rem, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: clamp(12px, 4vw, 24px);
  border: 1px solid var(--paper-border);
  border-radius: var(--edge);
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.area-dialog::backdrop { background: #21232077; }
.area-dialog h2 { margin: 0; }
.area-dialog .minor { margin: 8px 0; }
.area-frame {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 8px;
  background: var(--paper-hover);
}
#area-image {
  position: relative;
  display: grid;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: clip;
  cursor: crosshair;
  background: repeating-conic-gradient(#dedce3 0% 25%, #fff 0% 50%) 0 0 / 18px 18px;
}
#area-image[aria-busy="true"] { cursor: wait; }
#area-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(48dvh, 480px);
  pointer-events: none;
}
.area-cursor {
  display: none;
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid white;
  outline: 1px solid #252525;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
#area-image:focus-visible .area-cursor { display: block; }
.area-actions { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.area-actions button, #edit-areas { min-height: 44px; }
#edit-areas { justify-self: start; }
