@font-face {
  font-family: DM Serif Display;
  src: url(fonts/DMSerifDisplay-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: DM Serif Display;
  src: url(fonts/DMSerifDisplay-Italic.ttf) format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url(fonts/DMSans.ttf) format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --paper: #faf7ef;
  --paper-light: #fffdf7;
  --ink: #302e2a;
  --muted: #655f54;
  --terra: #a14937;
  --terra-dark: #823d30;
  --clay: #e8c9b5;
  --rule: #dcd5c7;
  --sage: #bcc8a9;
  --lavender: #c8bbcd;
  --ochre: #dfbd77;
  --serif: "DM Serif Display", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
  color-scheme: light;
  font: 16px/1.5 var(--body);
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 290px;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
h1,
h2,
h3,
p,
figure,
dl {
  margin: 0;
}
h1,
h2,
h3,
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
}
h1 {
  font-size: clamp(2.65rem, 5.4vw, 5.3rem);
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #326862;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.42;
  cursor: default;
}
main:focus {
  outline: none;
}
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.wrap,
.topbar,
.foot-inner {
  width: min(1248px, calc(100% - 100px));
  margin-inline: auto;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: absolute;
  z-index: 10;
  left: 10px;
  top: 10px;
  padding: 12px;
  background: var(--paper-light);
}
.loading {
  padding: 10vh 7vw;
}
#site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-light);
}
.topbar {
  min-height: 74px;
  display: flex;
  gap: clamp(18px, 3vw, 55px);
  align-items: center;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
}
.brand-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.brand-subtitle {
  color: var(--terra);
  font: italic 0.74rem/1.05 var(--serif);
  letter-spacing: 0;
  margin-top: 0.12rem;
}
.topbar nav {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-left: auto;
}
.topbar nav a,
.foot-inner a:not(.wordmark) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.87rem;
  font-weight: 600;
  min-height: 42px;
}
.topbar nav a:hover,
.topbar nav a[aria-current],
.foot-inner a:hover {
  color: var(--terra);
}
.topbar nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.review-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--rule);
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 0.69rem;
  letter-spacing: 0.025em;
  color: var(--muted);
  white-space: nowrap;
}
.review-tag .icon {
  width: 12px;
  height: 12px;
}
.eyebrow,
.meta {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--terra);
}
.dash {
  display: inline-block;
  width: 27px;
  height: 1px;
  background: currentColor;
}
.meta {
  color: var(--muted);
  letter-spacing: 0.085em;
  font-size: 0.66rem;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: 34px;
  margin-bottom: 54px;
  overflow: hidden;
  background: #f0e7d8;
  border-radius: 4px;
}
.hero-copy {
  padding: clamp(26px, 4.4vw, 68px);
  align-self: center;
}
.hero h1 {
  font-size: clamp(4rem, 6.1vw, 6.9rem);
  letter-spacing: -0.061em;
  line-height: 0.96;
  margin: 20px 0;
}
.hero h1 em {
  font-weight: 400;
  color: var(--terra);
}
.hero-copy p {
  font-size: 1rem;
  color: #514d44;
  max-width: 362px;
  line-height: 1.6;
}
.hero-art {
  position: relative;
  min-height: 310px;
  isolation: isolate;
  background: #283939;
  overflow: hidden;
}
.hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.3s;
}
.hero-art:hover > img {
  transform: scale(1.02);
}
.art-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  background: var(--paper-light);
  border: 1px solid #d6ccba;
  box-shadow: 0 2px 5px #42372916;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  font: 1.2rem var(--serif);
}
.art-label span {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 600 0.7rem var(--body);
  color: var(--muted);
}
.art-label .icon {
  width: 15px;
}
.hero-actions,
.actions,
.evidence-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-actions {
  margin-top: 26px;
}
.actions {
  gap: 12px;
}
.btn,
.text-link,
.back-link,
.icon-btn,
.round-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn {
  border: 1px solid #bfb5a5;
  border-radius: 5px;
  background: var(--paper-light);
  min-height: 44px;
  padding: 9px 16px;
  font-weight: 650;
  font-size: 0.88rem;
  line-height: 1.25;
}
.btn:hover,
.icon-btn:hover,
.round-link:hover {
  background: #efe8db;
}
.btn.primary {
  background: var(--terra);
  border-color: var(--terra);
  color: #fffaf2;
}
.btn.primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
}
.btn.compact {
  font-size: 0.8rem;
  min-height: 40px;
  padding: 8px 12px;
}
.text-link,
.back-link {
  font-weight: 650;
  font-size: 0.85rem;
  min-height: 40px;
}
.text-link {
  text-decoration: underline;
  text-decoration-color: #b5a18d;
  text-underline-offset: 5px;
}
.text-link:hover,
.back-link:hover {
  color: var(--terra);
}
.round-link,
.icon-btn {
  border: 1px solid var(--rule);
  background: transparent;
  width: 39px;
  height: 39px;
  padding: 7px;
  border-radius: 50%;
  color: var(--ink);
}
.round-link .icon {
  width: 17px;
  transform: rotate(-28deg);
}
.icon-btn {
  border-radius: 5px;
}
.shelf {
  padding-bottom: 65px;
}
.shelf:first-child {
  padding-top: 44px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head .eyebrow {
  margin-bottom: 9px;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--rule);
  background: var(--paper-light);
  border-radius: 5px;
  padding: 0 13px;
  min-height: 45px;
  min-width: 230px;
}
.search .icon {
  color: var(--muted);
  width: 16px;
  height: 16px;
}
.search input {
  width: 100%;
  min-width: 0;
  outline-offset: 0;
  border: 0;
  background: transparent;
  padding: 9px 0;
  line-height: 1.3;
  font-size: 0.88rem;
}
.search:focus-within {
  box-shadow: 0 0 0 2px #47736d;
}
.search input:focus {
  outline: 0;
}
.filters {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 2px 2px 12px;
  margin: 0 -2px 16px;
}
.filters button,
.switches a {
  min-height: 37px;
  flex: none;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 99px;
  font-size: 0.81rem;
  font-weight: 600;
  padding: 7px 13px;
  white-space: nowrap;
}
.filters button[aria-pressed="true"],
.switches a[aria-current="true"] {
  background: var(--ink);
  color: var(--paper-light);
  border-color: var(--ink);
}
.filters button:hover:not([aria-pressed="true"]) {
  background: #eee8dc;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 27px 18px;
}
.theme-card {
  min-width: 0;
}
.theme-art {
  display: block;
  position: relative;
  background: var(--tint, #e7dfd0);
  overflow: hidden;
  border: 1px solid #4b39251c;
  border-radius: 4px;
  aspect-ratio: 1.42;
}
.theme-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.theme-art:hover img {
  transform: scale(1.035);
}
.card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 9px 1px 0;
}
.card-info > div {
  min-width: 0;
}
.card-info h3 {
  margin-top: 3px;
}
.card-info h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card-info .round-link {
  width: 32px;
  height: 32px;
}
.ad-reserve {
  grid-column: 1/-1;
  min-height: 68px;
  display: grid;
  place-items: center;
  border: 1px dashed #d2cab9;
  border-radius: 3px;
  background: #f4f0e6;
  color: #746d5f;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 8px 0;
}
.foot-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 30px);
  min-height: 98px;
  flex-wrap: wrap;
}
.foot-inner > .wordmark {
  font-size: 1.18rem;
}
.foot-inner > .wordmark img {
  width: 30px;
  height: 30px;
}
.foot-inner > span {
  font: italic 1rem var(--serif);
  color: var(--muted);
  margin-right: auto;
}
.foot-inner .icon {
  width: 14px;
  height: 14px;
}
#site-footer {
  border-top: 1px solid var(--rule);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 20px 0;
}
.crumbs .icon {
  width: 12px;
  height: 12px;
}
.crumbs a:hover {
  text-decoration: underline;
}
.detail,
.book-page,
.page-view,
.saved,
.checkout {
  padding-bottom: 52px;
}
.detail-hero,
.book-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-light);
}
.detail-image,
.book-jacket {
  display: grid;
  min-height: 290px;
  place-items: center;
  background: #dddace;
  overflow: hidden;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-copy,
.book-copy {
  align-self: center;
  padding: clamp(22px, 4vw, 60px);
}
.detail-copy h1,
.book-copy h1 {
  margin: 12px 0 18px;
}
.detail-copy p,
.book-copy > p,
.checkout-layout section > p,
.page-view > p,
.saved .section-head p,
.empty p,
.concept-panel p {
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.65;
}
.detail-copy .spec {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 20px;
  font-size: 0.82rem;
}
.detail .ad-reserve {
  margin-top: 28px;
}
.concept-panel {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1fr;
  gap: 32px;
  align-items: center;
  border-block: 1px solid var(--rule);
  padding: 25px 0;
  margin-top: 30px;
}
.concept-panel img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
}
.concept-panel h2 {
  margin: 8px 0 12px;
}
.evidence-row {
  margin: 18px 0;
}
.book-intro {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}
.book-jacket {
  background: #d9caba;
  padding: 32px;
  min-height: 380px;
}
.book-jacket img {
  max-height: 410px;
  max-width: 92%;
  width: auto;
  box-shadow: 5px 8px 15px #483d3424;
}
.features {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 8px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}
.features .icon {
  width: 17px;
  height: 17px;
  color: var(--terra);
}
.book-price {
  font: 2.1rem/1.3 var(--serif);
  margin: 9px 0 11px;
}
.book-price small {
  font: 500 0.78rem var(--body);
  color: var(--muted);
  vertical-align: middle;
  margin-left: 5px;
}
.fine {
  font-size: 0.75rem;
  color: var(--muted);
}
.book-copy .fine {
  margin-top: 10px;
}
.book-spread,
.colored-examples {
  margin-top: 44px;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 14px;
}
.sheet-thumb {
  display: block;
  background: #fffef9;
  aspect-ratio: 1.35;
  padding: 9px;
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.sheet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sheet-card:hover .sheet-thumb {
  border-color: var(--terra);
}
.sheet-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  line-height: 1.2;
}
.sheet-caption b {
  color: var(--terra);
  font-size: 0.72rem;
}
.sheet-caption strong {
  font-weight: 550;
  font-size: 0.82rem;
}
.sheet-caption .icon {
  margin-left: auto;
  width: 15px;
  height: 15px;
}
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.example-grid a {
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
}
.example-grid img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}
.example-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  font-size: 0.86rem;
}
.example-grid span .icon {
  width: 15px;
  height: 15px;
}
.page-head,
.viewbar,
.page-turn,
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.page-head h1 {
  font-size: clamp(2.3rem, 4.3vw, 4rem);
  margin: 7px 0 10px;
}
.viewbar {
  margin: 20px 0 12px;
}
.switches {
  display: flex;
  gap: 6px;
}
.switches a {
  display: inline-flex;
  align-items: center;
}
.proof-image {
  display: grid;
  place-items: center;
  padding: clamp(10px, 3vw, 35px);
  background: #e8e3d7;
  border: 1px solid var(--rule);
}
.proof-image img {
  max-height: 77vh;
  width: 100%;
  object-fit: contain;
}
.page-turn {
  margin-top: 15px;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 46px 16px;
  min-height: 190px;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eee6d7;
  color: var(--terra);
  margin-bottom: 13px;
}
.empty h1,
.empty h2,
.empty h3 {
  margin: 4px auto;
}
.empty p {
  margin: 10px auto 18px;
}
.saved .section-head p {
  margin-top: 9px;
}
.saved-cards {
  margin: 23px 0;
}
.saved .empty {
  border: 1px dashed var(--rule);
  background: var(--paper-light);
  border-radius: 4px;
}
.receipt-row {
  border-block: 1px solid var(--rule);
  padding: 14px 0;
  margin-top: 20px;
}
.receipt-row > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-layout {
  border: 1px solid var(--rule);
  background: var(--paper-light);
  border-radius: 5px;
  display: grid;
  grid-template-columns: minmax(230px, 0.6fr) 1fr;
  overflow: hidden;
}
.checkout-layout aside {
  background: #efe8db;
  padding: 28px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-content: center;
  align-items: start;
}
.checkout-layout aside img {
  width: 76px;
  box-shadow: 2px 4px 8px #44331d26;
}
.checkout-layout dl {
  display: grid;
  gap: 9px;
}
.checkout-layout dt {
  font-size: 0.67rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.checkout-layout dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}
.checkout-layout section {
  padding: clamp(24px, 5vw, 70px);
}
.checkout-layout h1 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  margin: 10px 0 15px;
}
.checkout-layout .actions {
  margin-top: 22px;
}
#notice {
  position: fixed;
  z-index: 20;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper-light);
  padding: 10px 16px;
  border-radius: 6px;
  max-width: calc(100% - 24px);
  width: max-content;
  pointer-events: none;
  opacity: 0;
  font-size: 0.85rem;
}
#notice.visible {
  opacity: 1;
}
dialog {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper-light);
  color: var(--ink);
  width: min(420px, calc(100% - 36px));
  padding: 0;
}
dialog::backdrop {
  background: #302a246b;
}
.dialog-content {
  padding: 26px;
}
.dialog-content h2 {
  margin: 8px 0 12px;
}
.dialog-content p {
  color: var(--muted);
  margin-bottom: 17px;
}
.in-studio {
  overflow: hidden;
}
.in-studio #site-footer {
  display: none;
}
.in-studio #site-header .topbar {
  min-height: 50px;
}
.in-studio #site-header .wordmark {
  font-size: 1.2rem;
}
.in-studio #site-header .wordmark img {
  height: 29px;
  width: 29px;
}
.studio {
  height: calc(100dvh - 51px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.studio-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px clamp(14px, 3vw, 42px);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.studio-heading > div,
.studio-summary,
.palette-head,
.toolset,
.more-tools,
.history > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-heading > div:first-child {
  gap: 18px;
}
.studio-heading h1 {
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  margin-top: 3px;
}
.studio-heading .back-link {
  font-size: 0.77rem;
  color: var(--muted);
  border-right: 1px solid var(--rule);
  padding-right: 16px;
}
.studio-heading .eyebrow {
  font-size: 0.58rem;
}
.studio-summary > span {
  font-size: 0.72rem;
  color: var(--muted);
  margin-right: 4px;
}
.workbench {
  display: flex;
  flex: 1;
  min-height: 0;
}
.board-area {
  flex: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
}
.board-area cps-artboard {
  display: block;
  width: 100%;
  height: 100%;
}
.zoom-controls {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--paper-light);
  box-shadow: 0 2px 9px #352f2520;
  border: 1px solid var(--rule);
  border-radius: 99px;
}
.zoom-controls .icon-btn,
.zoom-controls #ratio {
  border: none;
  background: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
}
.zoom-controls #ratio {
  font-size: 0.77rem;
  width: 42px;
}
.toolbox {
  width: 258px;
  padding: 24px 18px;
  overflow: auto;
  flex: none;
  background: var(--paper-light);
  border-left: 1px solid var(--rule);
}
.toolbox-head h2 {
  font-size: 2rem;
  margin: 2px 0 15px;
}
.toolbox-head .eyebrow {
  font-size: 0.6rem;
}
.paint-mode-bar,
.paint-modes {
  display: flex;
  align-items: center;
  gap: 4px;
}
.paint-mode-bar {
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.paint-modes {
  padding: 3px;
  background: #eee9df;
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.paint-modes button,
.paint-help {
  min-height: 36px;
  padding: 4px 8px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: 600 .8rem var(--body);
}
.paint-modes button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
}
.paint-modes button[aria-pressed="true"] {
  color: #fffdf9;
  background: #874538;
}
.paint-modes .icon { width: 15px; height: 15px; }
.paint-help {
  color: var(--terra-dark);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: .2em;
  padding-inline: 2px;
}
#tool-hint {
  margin: 5px 0 10px;
  font-size: .77rem;
  line-height: 1.4;
  color: var(--muted);
}
#brush-options {
  margin-top: 8px;
  padding: 0 9px 2px;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 5px;
  font-size: .8rem;
}
#brush-options[hidden] { display: none; }
#brush-options summary {
  padding: 4px 0;
  min-height: 36px;
  line-height: 28px;
  cursor: pointer;
  font-weight: 600;
}
#brush-sample { float: right; width: 66px; height: 28px; }
#brush-options summary:focus-visible { outline: 2px solid #326862; }
.brush-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 10px;
  padding-bottom: 7px;
}
.brush-medium,
.brush-size-control {
  display: flex;
  align-items: center;
  gap: 6px;
}
.brush-boundaries {
  flex: 1 0 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.brush-boundaries[hidden] { display: none; }
.brush-boundaries label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  align-items: center;
  column-gap: 4px;
  min-height: 43px;
  padding: 4px 5px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  cursor: pointer;
  font: 600 .76rem/1.2 var(--body);
}
.brush-boundaries input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--terra);
}
.brush-boundaries label:has(:checked) { background: #f3e6d8; border-color: #a47158; }
.brush-boundaries label:focus-within { outline: 2px solid #326862; outline-offset: 1px; }
.brush-boundaries small { grid-column: 1/-1; margin-top: 2px; color: var(--muted); font-size: .67rem; font-weight: 400; }
.brush-medium { grid-column: 1/-1; }
.brush-medium { justify-content: space-between; }
.brush-medium select {
  max-width: 100%;
  border: 1px solid var(--rule);
  border-radius: 4px;
  min-height: 35px;
  background: var(--paper-light);
  padding-inline: 5px;
}
.brush-size label {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}
.brush-size-control {
  min-height: 32px;
}
.brush-size-control input { width: 100%; min-height: 29px; margin: 0; accent-color: var(--terra); }
.paint-guide h2:focus { outline: none; }
.paint-guide h3 { font-size: 1.25rem; margin: 17px 0 6px; }
.guide-modes { display: grid; gap: 3px; }
.guide-modes dt { margin-top: 5px; font-weight: 700; }
.guide-modes dd { margin: 0 0 5px; color: var(--muted); line-height: 1.45; }
.guide-effects { margin: 0; padding-left: 1.2em; }
.guide-media { display: block; width: 100%; height: auto; margin-bottom: 10px; }
dialog:has(.paint-guide) { width: min(530px, calc(100% - 24px)); max-height: 88dvh; overflow-y: auto; }
.palette-head {
  justify-content: space-between;
}
.palette-head select {
  max-width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.83rem;
  padding: 5px 0;
}
.custom-color {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.custom-color input {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.custom-color:focus-within {
  outline: 2px solid #47736d;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 9px -2px 14px;
  gap: 3px;
}
.color-dot {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  padding: 2px;
  border-radius: 50%;
  position: relative;
  isolation: isolate;
}
.color-dot:before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid #3c362923;
  z-index: -1;
}
.color-dot[aria-pressed="true"] {
  outline: 2px solid var(--ink);
  outline-offset: -1px;
}
.color-dot .icon {
  width: 16px;
  height: 16px;
  padding: 2px;
  background: #fff7ebd9;
  color: var(--ink);
  border-radius: 50%;
}
.history:not(:empty) {
  border-top: 1px solid var(--rule);
  padding: 9px 0 12px;
}
.history .color-dot {
  width: 26px;
  height: 26px;
}
.history > div {
  gap: 3px;
}
.editor-actions {
  border-top: 1px solid var(--rule);
  padding-top: 13px;
}
.toolset {
  gap: 3px;
}
.toolset .icon-btn {
  width: 37px;
  height: 37px;
}
.toolset [aria-pressed="true"] {
  background: #ebdccd;
  border-color: #b89379;
  color: #793c2e;
}
.tool-divider {
  height: 20px;
  width: 1px;
  background: var(--rule);
  margin: 0 2px;
}
.progress-info {
  display: grid;
  gap: 7px;
  margin: 20px 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.progress-info progress {
  width: 100%;
  height: 5px;
  accent-color: var(--terra);
  appearance: none;
  border: 0;
  background: var(--rule);
}
progress::-webkit-progress-bar {
  background: #e6dfd1;
}
progress::-webkit-progress-value {
  background: var(--terra);
}
.more-tools {
  flex-wrap: wrap;
  gap: 4px;
}
.more-tools .btn {
  min-height: 36px;
  padding-inline: 8px;
}
@media (min-width: 1500px) {
  .hero {
    margin-top: 43px;
  }
  .hero-art {
    min-height: 435px;
  }
}
@media (max-width: 1050px) {
  .wrap,
  .topbar,
  .foot-inner {
    width: calc(100% - 54px);
  }
  .topbar nav {
    gap: 16px;
  }
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-copy {
    padding: 32px;
  }
  .hero h1 {
    font-size: 4.8rem;
  }
  .hero-actions {
    gap: 13px;
  }
  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .wrap,
  .topbar,
  .foot-inner {
    width: calc(100% - 34px);
  }
  .topbar {
    gap: 11px;
    min-height: 59px;
    flex-wrap: wrap;
    padding-block: 9px;
  }
  .topbar .wordmark {
    font-size: 1.21rem;
  }
  .topbar .wordmark img {
    width: 31px;
    height: 31px;
  }
  .topbar nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 24px;
    border-top: 1px solid var(--rule);
    padding-top: 1px;
  }
  .topbar nav a {
    min-height: 34px;
    font-size: 0.79rem;
  }
  .review-tag {
    margin-left: auto;
  }
  .hero {
    margin-top: 19px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 32px;
  }
  .hero-copy {
    padding: 20px;
  }
  .hero h1 {
    font-size: 3.55rem;
    margin: 12px 0;
  }
  .hero-copy p {
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .hero .eyebrow {
    font-size: 0.54rem;
    gap: 6px;
  }
  .hero .dash {
    width: 17px;
  }
  .hero-art {
    min-height: 245px;
  }
  .hero-actions {
    margin-top: 14px;
    gap: 4px 10px;
  }
  .hero-actions .btn {
    font-size: 0.78rem;
    min-height: 40px;
    padding: 7px 10px;
  }
  .hero-actions .text-link {
    font-size: 0.75rem;
    min-height: 30px;
  }
  .art-label {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 6px 8px;
    font-size: 1rem;
  }
  .art-label span {
    font-size: 0;
    gap: 0;
  }
  .section-head {
    align-items: flex-start;
    gap: 13px;
  }
  .search {
    min-width: 0;
    max-width: 210px;
  }
  .book-copy,
  .detail-copy {
    padding: 24px;
  }
  .book-jacket {
    padding: 20px;
    min-height: 260px;
  }
  .book-jacket img {
    max-height: 320px;
  }
  .features {
    margin: 12px 0;
    gap: 4px;
  }
  .cards {
    gap: 22px 12px;
  }
  .book-grid {
    gap: 15px 9px;
  }
  .checkout-layout {
    grid-template-columns: 1fr 1.4fr;
  }
  .checkout-layout aside {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .foot-inner {
    padding-block: 16px;
    gap: 8px 17px;
  }
  .foot-inner > span {
    display: none;
  }
  .in-studio .topbar nav {
    display: none;
  }
  .in-studio .topbar {
    flex-wrap: nowrap;
    padding-block: 4px;
  }
  .toolbox {
    width: 220px;
    padding: 16px 11px;
  }
  .toolset .icon-btn {
    width: 34px;
    height: 34px;
  }
  .studio-summary > span {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  }
  .hero-copy {
    padding: 19px 12px 19px 16px;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 9.6vw, 3.4rem);
  }
  .hero-copy p {
    font-size: 0.8rem;
  }
  .hero-art {
    min-height: 230px;
  }
  .hero-actions .btn .icon {
    display: none;
  }
  .art-label {
    font-size: 0.89rem;
  }
  .section-head {
    flex-wrap: wrap;
  }
  .shelf .section-head {
    display: block;
  }
  .shelf .search {
    max-width: none;
    margin-top: 12px;
    min-height: 42px;
  }
  .section-head .eyebrow {
    margin-bottom: 5px;
  }
  .shelf:first-child {
    padding-top: 23px;
  }
  .filters {
    gap: 6px;
    margin-bottom: 9px;
    padding-bottom: 8px;
  }
  .filters button {
    min-height: 39px;
    padding: 7px 10px;
  }
  .cards,
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-info h3 {
    font-size: 1.15rem;
  }
  .card-info .round-link {
    width: 31px;
    height: 31px;
    flex: none;
  }
  .meta {
    font-size: 0.6rem;
  }
  .theme-art {
    aspect-ratio: 1.27;
  }
  .shelf {
    padding-bottom: 34px;
  }
  .detail-hero,
  .book-intro {
    grid-template-columns: 1fr;
  }
  .detail-image {
    min-height: 125px;
  }
  .detail-image img {
    max-height: 297px;
  }
  .book-jacket {
    min-height: 150px;
    padding: 17px;
  }
  .book-jacket img {
    max-height: 235px;
  }
  .detail-copy,
  .book-copy {
    padding: 21px;
  }
  .concept-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .book-spread,
  .colored-examples {
    margin-top: 29px;
  }
  .example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .example-grid a:last-child {
    grid-column: 1/-1;
  }
  .example-grid a:last-child img {
    aspect-ratio: 2.6;
  }
  .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .viewbar {
    gap: 8px;
  }
  .switches a {
    font-size: 0.75rem;
    padding: 7px 9px;
  }
  .viewbar .text-link {
    font-size: 0.76rem;
  }
  .page-turn {
    gap: 6px;
  }
  .checkout-layout {
    display: flex;
    flex-direction: column;
  }
  .checkout-layout aside {
    display: flex;
    align-items: center;
    gap: 17px;
  }
  .checkout-layout dl {
    grid-template-columns: 1fr 1fr;
  }
  .foot-inner > .wordmark {
    width: 100%;
  }
  .ad-reserve {
    min-height: 52px;
  }
  .in-studio .topbar {
    min-height: 40px !important;
  }
  .in-studio #site-header .wordmark {
    font-size: 1.06rem;
  }
  .in-studio #site-header .wordmark img {
    width: 24px;
    height: 24px;
  }
  .studio {
    height: calc(100dvh - 41px);
  }
  .studio-heading {
    padding: 7px 10px;
    gap: 5px;
  }
  .studio-heading .eyebrow {
    display: none;
  }
  .studio-heading h1 {
    font-size: 1.18rem;
    margin: 0;
  }
  .studio-heading > div:first-child {
    gap: 6px;
    min-width: 0;
  }
  .studio-heading .back-link {
    font-size: 0;
    gap: 0;
    padding-right: 7px;
    min-height: 37px;
  }
  .studio-summary {
    flex: none;
    gap: 4px !important;
  }
  .studio-summary .compact {
    font-size: 0;
    gap: 0;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 6px;
  }
  .workbench {
    flex-direction: column;
  }
  .toolbox {
    width: 100%;
    padding: 7px 12px max(8px, env(safe-area-inset-bottom));
    border-left: 0;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 6px;
    max-height: 42dvh;
  }
  .toolbox-head {
    display: none;
  }
  .palette-head {
    grid-column: 1;
    grid-row: 1;
    gap: 3px;
  }
  .palette-head select {
    font-size: 0.75rem;
  }
  .toolbox .toolset {
    grid-column: 2;
    gap: 2px;
  }
  .editor-actions {
    grid-column: 2;
    grid-row: 1;
    border: 0;
    padding: 0;
  }
  .toolset .icon-btn {
    width: 33px;
    height: 34px;
  }
  .tool-divider {
    margin: 0;
  }
  .swatches {
    grid-column: 1/-1;
    grid-row: 2;
    display: flex;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: thin;
    margin: 2px -2px;
  }
  .swatches .color-dot {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }
  .progress-info {
    grid-column: 1;
    grid-row: 3;
    gap: 3px;
    margin: 2px 0;
    font-size: 0.65rem;
    justify-content: start;
    align-content: center;
  }
  .progress-info progress {
    min-width: 72px;
    height: 3px;
  }
  .more-tools {
    grid-column: 2;
    grid-row: 3;
    justify-content: flex-end;
  }
  .more-tools .compact {
    min-height: 27px;
    padding: 2px 4px;
    font-size: 0.66rem;
  }
  .more-tools .icon {
    width: 13px;
  }
  .history:not(:empty) {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 0;
    padding: 2px 0;
  }
  .history .meta {
    font-size: 0.55rem;
  }
  .history .color-dot {
    width: 25px;
    height: 25px;
  }
  .zoom-controls {
    bottom: 7px;
  }
  .zoom-controls .icon-btn,
  .zoom-controls #ratio {
    height: 32px;
  }
  .toolbox .icon-btn .icon {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 365px) {
  .wrap,
  .topbar,
  .foot-inner {
    width: calc(100% - 24px);
  }
  .topbar {
    gap: 5px;
  }
  .topbar .wordmark {
    font-size: 1.08rem;
    gap: 6px;
  }
  .review-tag {
    font-size: 0.58rem;
    padding: 4px 6px;
  }
  .hero-copy {
    padding: 13px 8px 13px 11px;
  }
  .hero .eyebrow {
    font-size: 0.49rem;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero-copy p {
    font-size: 0.76rem;
  }
  .hero-art {
    min-height: 230px;
  }
  .card-info .round-link {
    width: 26px;
    height: 26px;
  }
  .card-info h3 {
    font-size: 1.03rem;
  }
  .toolbox {
    padding-inline: 7px;
  }
  .toolset .icon-btn {
    width: 30px;
  }
  .art-label {
    left: 5px;
    right: 5px;
  }
  .checkout-layout dd {
    font-size: 0.8rem;
  }
}
@media (max-height: 510px) and (orientation: landscape) {
  .in-studio #site-header {
    display: none;
  }
  .studio {
    height: 100dvh;
    min-height: 225px;
  }
  .studio-heading {
    padding: 4px 10px;
  }
  .studio-heading .eyebrow {
    display: none;
  }
  .studio-heading h1 {
    font-size: 1.3rem;
  }
  .workbench {
    flex-direction: row;
  }
  .toolbox {
    display: block;
    width: 210px;
    max-height: none;
    padding: 8px;
    border-left: 1px solid var(--rule);
  }
  .toolbox-head {
    display: none;
  }
  .swatches {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin: 4px 0;
  }
  .swatches .color-dot {
    width: 29px;
    height: 29px;
  }
  .progress-info {
    margin: 5px 0;
  }
  .toolset {
    gap: 1px;
  }
  .editor-actions {
    padding: 4px 0;
  }
  .history:not(:empty) {
    padding: 2px 0;
  }
  .more-tools {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.custom-color:after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--chosen);
  border: 1px solid var(--paper-light);
  pointer-events: none;
}
.mobile-save {
  display: none;
}
@media (max-width: 600px) and (min-height: 511px) {
  .mobile-save:not(:empty) {
    display: block;
    color: var(--muted);
    font-size: 0.61rem;
  }
  .custom-color:after {
    right: 3px;
    bottom: 3px;
  }
}
.card-media {
  position: relative;
}
.bookmark {
  display: grid;
  place-items: center;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 1px solid #d3cab8;
  border-radius: 50%;
  background: #fffaf0ed;
  color: var(--ink);
}
.bookmark:after {
  content: "";
  position: absolute;
  inset: -5px;
}
.bookmark .icon,
.fav-long .icon {
  width: 15px;
  height: 15px;
}
.bookmark[aria-pressed="true"],
.fav-long[aria-pressed="true"] {
  color: var(--terra);
}
[data-fav][aria-pressed="true"] .icon {
  fill: #c98872;
}
.bookmark-list {
  margin-top: 36px;
}
.bookmark-list h2 {
  margin-bottom: 17px;
}
.planned-book {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 17px 0;
  border-block: 1px solid var(--rule);
}
.planned-book > .icon {
  width: 23px;
  height: 23px;
  color: var(--terra);
}
.planned-book strong {
  font-size: 0.94rem;
}
.planned-book p {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 2px;
}
@media (max-width: 600px) and (min-height: 511px) {
  .studio-heading {
    min-height: 49px;
  }
  .studio-heading > div:first-child > div {
    min-width: 0;
  }
  .studio-heading h1 {
    white-space: normal;
    font-size: 1.08rem;
    line-height: 1.05;
  }
  .studio-heading .back-link {
    min-width: 35px;
  }
  .studio-summary .compact {
    font-size: 0.7rem;
    width: auto;
    min-height: 40px;
    height: auto;
    padding: 5px 7px;
    gap: 3px;
  }
  .studio-summary .compact .icon {
    width: 15px;
  }
  .toolbox {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 4px;
  }
  .palette-head {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }
  .palette-head select,
  .custom-color {
    min-height: 40px;
  }
  .custom-color {
    min-width: 40px;
    border: 0;
  }
  .progress-info {
    grid-column: 2;
    grid-row: 1;
  }
  .swatches .color-dot {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .editor-actions {
    grid-column: 1;
    grid-row: 3;
  }
  .toolset {
    gap: 0;
  }
  .toolset .icon-btn {
    min-width: 39px;
    height: 42px;
    border-color: transparent;
  }
  .toolset .icon-btn[aria-pressed="true"] {
    border-color: #b89379;
  }
  .more-tools {
    grid-row: 3;
  }
  .more-tools .compact {
    min-height: 40px;
    font-size: 0;
    gap: 0;
    width: 37px;
    border-color: transparent;
  }
  .more-tools .icon {
    width: 18px;
    height: 18px;
  }
  .history:not(:empty) {
    grid-row: 4;
  }
  .zoom-controls .icon-btn,
  .zoom-controls #ratio {
    min-height: 40px;
  }
  .color-dot:hover:before {
    border-color: var(--ink);
  }
}

/* Keep the illustrated shelf in the first screen rather than behind a tall masthead. */
@media (min-width: 601px) and (max-width: 1050px) {
  .paint-modes { gap: 0; }
  .paint-modes button { padding-inline: 6px; }
  .paint-help { font-size: .72rem; }
}
@media (max-width: 600px) and (orientation: portrait) {
  .toolbox {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-auto-rows: max-content;
    align-content: start;
  }
  .toolbox .history:empty { display: none; }
  .paint-mode-bar, #tool-hint, #brush-options { grid-column: 1/-1; }
  .paint-mode-bar { grid-row: 1; }
  .paint-modes { padding: 1px; }
  .paint-modes button { min-height: 39px; padding-inline: 13px; }
  .paint-help { min-height: 42px; padding-inline: 6px; }
  #brush-options { grid-row: 2; margin-top: 3px; }
  #brush-options summary { padding: 6px 0; }
  .brush-fields { grid-template-columns: minmax(82px, 1.15fr) repeat(2, minmax(0, 1fr)); gap: 0 10px; padding-bottom: 4px; align-items: center; }
  .brush-medium { grid-column: 1; display: block; min-width: 0; font-size: .72rem; }
  .brush-medium select { display: block; min-width: 0; width: 100%; min-height: 29px; margin-top: 2px; font-size: .76rem; }
  .brush-size { min-width: 0; }
  .brush-size label { font-size: .72rem; line-height: 1.1; }
  .brush-size-control { min-height: 27px; }
  #tool-hint { grid-row: 3; margin: 2px 0; font-size: .73rem; }
  .toolbox .palette-head, .toolbox .progress-info { grid-row: 4; }
  .toolbox .palette-head { grid-column: 1; }
  .toolbox .progress-info { grid-column: 2; max-width: 40vw; }
  .toolbox .swatches { grid-row: 5; }
  .toolbox .editor-actions { grid-row: 6; grid-column: 1; }
  .toolbox .more-tools { grid-row: 6; grid-column: 2; }
  .toolbox .history:not(:empty) { grid-row: 7; }
}
@media (max-width: 600px) and (min-height: 740px) and (orientation: portrait) {
  .toolbox { max-height: 45dvh; }
}
@media (min-width: 761px) {
  .hero { margin-top: 26px; margin-bottom: 34px; }
  .hero-copy { padding: 29px clamp(28px, 3.5vw, 52px); }
  .hero h1 { font-size: clamp(3.75rem, 5vw, 4.95rem); margin: 11px 0; }
  .hero-copy p { max-width: 400px; line-height: 1.45; }
  .hero-actions { margin-top: 16px; }
  .hero-art { min-height: 330px; }
}
@media (max-width: 600px) {
  .hero { display: flex; flex-direction: column; margin-top: 12px; margin-bottom: 25px; }
  .hero-art { order: -1; min-height: 0; height: clamp(125px, 37vw, 172px); }
  .hero-art > img { object-position: 50% 52%; }
  .art-label { left: 9px; right: auto; bottom: 7px; width: fit-content; gap: 8px; padding: 2px 7px; }
  .hero-copy { align-self: stretch; padding: 12px 15px 13px; }
  .hero-copy .eyebrow { display: none; }
  .hero h1 { font-size: clamp(1.85rem, 8.2vw, 2.6rem); line-height: 1.04; margin: 0 0 5px; }
  .hero h1 br { display: none; }
  .hero h1 em { margin-left: .16em; }
  .hero-copy p { max-width: 100%; font-size: .83rem; line-height: 1.4; }
  .hero-actions { margin-top: 9px; gap: 9px 16px; }
  .hero-actions .btn, .hero-actions .text-link { min-height: 40px; }
}
.sample-section {
  margin: 24px 0 38px;
}
.sample-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}
.sample-card { min-width: 0; }
.sample-card .theme-art { aspect-ratio: 4 / 3; }
.shelf > .ad-reserve { margin-top: 32px; }
.shop-panel { max-width: 42rem; margin: 56px auto; }
.shop-panel > * + * { margin-top: 18px; }
.shop-panel h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.shop-panel label { display: grid; gap: 6px; }
.shop-panel input, .shop-panel output { padding: 10px; overflow-wrap: anywhere; max-width: 100%; }
.shop-panel output { display: block; user-select: all; font-family: monospace; }
