@font-face {
  font-family: DM;
  src: url(/assets/sans-400.woff2);
}
@font-face {
  font-family: DM;
  src: url(/assets/sans-600.woff2);
  font-weight: 600 900;
}
@font-face {
  font-family: Playfair;
  src: url(/assets/serif-500.woff2);
  font-weight: 400 900;
}
:root {
  font-family: DM, Arial, sans-serif;
  color: #26291f;
  background: #faf9f5;
  font-size: 15px;
  --border: #dcded4;
  --muted: #5a6156;
  --green: #344b36;
  --paper: #fffefa;
  --accent: #64794d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
input[type="file"] {
  cursor: pointer;
}
button {
  min-height: 44px;
  border: 1px solid var(--border);
  background: #fffefa;
  color: #252c26;
  padding: 0.58em 1em;
  border-radius: 7px;
  font-weight: 600;
}
button:hover:not(:disabled) {
  background: #eaf0e4;
  border-color: #a9b6a2;
}
button:disabled {
  cursor: default;
  color: #777e73;
  background: #f3f3ef;
}
button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
button.primary:hover:not(:disabled) {
  background: #203d28;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
small,
.local-label {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #a26822;
  outline-offset: 2px;
}
.mast {
  padding: 0 clamp(18px, 4vw, 64px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  gap: 18px;
}
.studio-logo {display:inline-flex;align-items:center;gap:.6rem;min-height:44px;text-decoration:none;color:#242647;white-space:nowrap}
.studio-logo img {display:block;width:164px;height:auto}
.studio-logo span {border-left:1px solid #bdbcc9;padding-left:.6rem;font-weight:600}
.site-return {display:inline-flex;align-items:center;min-height:44px;color:#323d83;font-size:.88rem;text-underline-offset:3px}
@media(max-width:600px){.studio-logo{gap:.35rem}.studio-logo img{width:128px}.studio-logo span{padding-left:.35rem}.studio-logo span{font-size:.9rem}.editor-mast .site-return{font-size:.78rem}}
.local-label {
  font-size: 13px;
}
.library {
  width: min(1340px, 100%);
  padding: clamp(30px, 5.2vw, 76px) clamp(20px, 4vw, 64px);
  margin: 0 auto;
}
.library-title {
  margin-bottom: 36px;
}
.library-title h1 {
  font:
    500 clamp(52px, 6vw, 88px) / 1.07 Playfair,
    Georgia,
    serif;
  letter-spacing: -0.065em;
}
.library-title h1 span {
  color: #83986f;
}
.library-title p {
  color: var(--muted);
  margin-top: 15px;
  font-size: 17px;
}
.library h2 {
  font:
    500 27px/1.25 Playfair,
    Georgia,
    serif;
  margin-bottom: 17px;
  letter-spacing: -0.04em;
}
.template-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.template-card {
  text-align: left;
  padding: 0;
  background: var(--paper);
  border-color: #d1d5c9;
  overflow: hidden;
  border-radius: 10px;
}
.template-art {
  height: clamp(195px, 19vw, 270px);
  overflow: hidden;
  position: relative;
  background: var(--hero);
}
.template-art img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
.template-art:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #101612bf);
}
.template-art .art-caption {
  position: absolute;
  bottom: 19px;
  left: 17px;
  right: 14px;
  z-index: 1;
  font:
    500 clamp(25px, 2.4vw, 36px) / 1.12 Playfair,
    Georgia,
    serif;
  letter-spacing: -0.05em;
  color: white;
}
.theme-cobalt .art-caption {
  text-transform: uppercase;
  font:
    700 26px DM,
    sans-serif;
  letter-spacing: -1.5px;
}
.template-copy {
  padding: 17px 15px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  align-items: center;
}
.template-copy small,
.product-label,
.cover-kicker,
.canvas-toolbar {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 650;
}
.template-copy strong {
  display: block;
  font-size: 16px;
  margin-top: 4px;
}
.template-copy > span {
  font-size: 20px;
}
.my-guides {
  margin: 39px 0;
}
.my-guides > p {
  padding: 22px;
  border: 1px dashed #cdd4c6;
  border-radius: 8px;
  color: var(--muted);
}
.my-guides ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.my-guides a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
}
.my-guides a img {
  width: 60px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}
.my-guides a span {
  margin-left: auto;
  color: var(--green);
}
.my-guides a small {
  display: block;
  margin-top: 3px;
}
.editor-mast {
  height: 62px;
  padding: 0 22px;
  gap: 20px;
}
.mast-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status {
  font-size: 13px;
  color: #774f22;
}
.status.ok {
  color: #466142;
}
.status:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 6px;
}
.editor-mast .back,
.canvas-toolbar button {
  border: 0;
  background: transparent;
  color: var(--muted);
}
.workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-bottom: 1px solid var(--border);
  background: #f4f5ee;
  gap: 10px;
}
.workspace-bar > div {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.workspace-bar > div strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-label {
  color: #546449;
  white-space: nowrap;
}
.workspace-bar > span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.editor-grid {
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(0, 1fr) minmax(
      225px,
      270px
    );
  min-height: calc(100vh - 107px);
}
.panel {
  background: var(--paper);
  min-width: 0;
  padding: 22px 15px;
}
.pages {
  border-right: 1px solid var(--border);
}
.inspector {
  border-left: 1px solid var(--border);
}
.panel h2 {
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.04em;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.panel nav {
  display: grid;
  gap: 3px;
}
.panel nav button {
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  overflow-wrap: anywhere;
  font-weight: 450;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
}
.panel nav button[aria-current="page"] {
  background: #e9eddf;
  border-color: #d5ddc8;
  font-weight: 650;
}
.page-icon {
  flex: 0 0 11px;
  width: 11px;
  height: 14px;
  border: 1px solid #858e7e;
  border-radius: 2px;
}
.add-section {
  margin-top: 16px;
  width: 100%;
  border-style: dashed;
}
.canvas-area {
  padding: 0 clamp(12px, 2.2vw, 38px) 45px;
  background: #f0f1eb;
  min-width: 0;
}
.canvas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  color: #606759;
}
.canvas-toolbar button {
  font-size: 12px;
  letter-spacing: normal;
}
.guide-canvas {
  container-type: inline-size;
  min-width: 0;
  overflow-wrap: anywhere;
  background: var(--guest-paper);
  color: var(--guest-ink);
  --guest-paper: #fffef8;
  --guest-ink: #233728;
  --hero: #e1e8ce;
  --muted-guest: #485742;
}
.canvas-area > .guide-canvas {
  border: 1px solid #cdd4c6;
  box-shadow: 0 4px 16px #2d36200a;
}
.theme-meadow {
  --hero: #dce5c8;
  --guest-paper: #fffdf3;
  --guest-ink: #293e2b;
  --muted-guest: #485c40;
}
.theme-petal {
  --hero: #f1dedd;
  --guest-paper: #fff9f6;
  --guest-ink: #593444;
  --muted-guest: #715463;
}
.theme-noir {
  --hero: #222a29;
  --guest-paper: #f5f2eb;
  --guest-ink: #202828;
  --muted-guest: #4c5854;
}
.theme-cobalt {
  --hero: #193b9b;
  --guest-paper: #f8f9ff;
  --guest-ink: #14234b;
  --muted-guest: #435478;
}
.cover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--hero);
  min-height: 245px;
}
.cover-copy {
  align-self: center;
  padding: clamp(20px, 5.4cqw, 72px);
  min-width: 0;
}
.cover-kicker {
  color: var(--muted-guest);
  display: block;
  margin-bottom: 15px;
}
.cover h1 {
  font:
    500 clamp(32px, 7.2cqw, 87px) / 1.025 Playfair,
    Georgia,
    serif;
  letter-spacing: -0.065em;
}
.cover-copy p {
  font-size: clamp(14px, 2.25cqw, 19px);
  line-height: 1.55;
  margin-top: 16px;
  white-space: pre-line;
}
.picture {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #d6dbd2;
}
.picture img,
.frame-pad img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.cover-image {
  min-height: 200px;
  position: relative;
}
.cover-image .picture {
  position: absolute;
  inset: 0;
}
.no-photo {
  height: 100%;
  display: grid;
  place-items: center;
  color: #34403c;
  font: 14px DM;
}
.composition-petal .cover {
  grid-template-columns: 1.15fr 0.85fr;
}
.composition-petal .cover h1 {
  font-style: italic;
}
.composition-petal .cover-image {
  margin: 16px;
  border-radius: 100px 100px 0 0;
  overflow: hidden;
}
.composition-noir .cover,
.composition-cobalt .cover {
  color: #fff;
}
.composition-noir .cover-kicker,
.composition-cobalt .cover-kicker {
  color: #e6e7eb;
}
.composition-noir .cover h1 {
  text-transform: uppercase;
  letter-spacing: -0.035em;
  font-size: clamp(30px, 5.4cqw, 76px);
}
.composition-cobalt .cover h1,
.theme-cobalt .guest-section h2 {
  font-family: DM, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.075em;
}
.composition-cobalt .cover-image {
  border-left: 8px solid #c0df61;
}
.composition-cobalt .cover {
  grid-template-columns: 1.25fr 0.75fr;
}
.guest-section {
  padding: clamp(19px, 5.2cqw, 58px);
}
.section-intro {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 15px;
}
.small-rule {
  width: 23px;
  height: 1px;
  background: var(--guest-ink);
  flex-shrink: 0;
}
.guest-section h2 {
  font:
    500 clamp(25px, 4.5cqw, 49px) / 1.12 Playfair,
    Georgia,
    serif;
  letter-spacing: -0.04em;
}
.guest-section h3 {
  font:
    500 clamp(20px, 3.1cqw, 34px) / 1.25 Playfair,
    Georgia,
    serif;
  letter-spacing: -0.035em;
}
.guest-section p {
  font-size: clamp(14px, 2cqw, 17px);
  line-height: 1.65;
  white-space: pre-line;
}
.guide-block p:not(:first-child) {
  margin-top: 8px;
}
.block-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.guide-block,
.selected-area {
  min-width: 0;
}
.can-edit {
  cursor: pointer;
  border: 1px dashed #c6cdba;
  padding: 13px;
  border-radius: 3px;
}
.can-edit:hover {
  border-color: #829276;
}
.selected {
  outline: 2px solid #899e68;
  outline-offset: -2px;
}
.editable {
  cursor: text;
  min-height: 1em;
}
.editable:empty:before {
  content: attr(data-placeholder);
  opacity: 0.65;
}
.editable:focus {
  outline: 2px solid #c89548;
  outline-offset: 2px;
}
.info-card {
  padding: 18px;
  background: color-mix(in srgb, var(--hero) 28%, var(--guest-paper));
  border-left: 3px solid var(--muted-guest);
}
.info-card small,
.timeline small {
  display: block;
  color: var(--muted-guest);
  margin-bottom: 6px;
}
.feature {
  display: grid;
  gap: 18px;
  align-items: center;
}
.feature .picture,
figure .picture {
  height: auto;
  aspect-ratio: 16/10;
}
.feature.left,
.feature.right {
  grid-template-columns: 1fr 1fr;
}
.feature.right .picture {
  order: 1;
}
.action a,
.contact a,
.timeline a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.contact a {
  display: flex;
}
.divider {
  border-bottom: 1px solid var(--muted-guest);
  padding-bottom: 10px;
}
.lead p {
  font-size: 1.15em;
}
.quote p {
  font-family: Playfair, serif;
  border-left: 2px solid var(--muted-guest);
  padding-left: 15px;
}
.timeline ol {
  list-style: none;
  padding: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: minmax(4em, 0.24fr) 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #949b9e55;
}
.timeline time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.timeline strong {
  display: block;
}
.insertion {
  text-align: center;
  padding-top: 14px;
}
.block-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
  margin: 10px 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.field {
  display: grid;
  gap: 5px;
  margin: 13px 0;
  color: #4f584a;
  font-size: 13px;
}
.field > span,
.field legend {
  font-weight: 600;
}
.field input:not([type="range"]),
.field textarea,
.field select,
.preview-overlay select {
  width: 100%;
  min-height: 44px;
  background: #fff;
  border: 1px solid #ccd1c5;
  border-radius: 5px;
  padding: 8px;
  color: #26291f;
}
.field textarea {
  resize: vertical;
}
.field input[type="file"] {
  padding: 6px;
  font-size: 12px;
  max-width: 100%;
}
.field input[type="file"]::file-selector-button {
  min-height: 31px;
  border: 0;
  background: #e9eddf;
}
.field input[type="range"] {
  width: 100%;
  min-height: 44px;
  accent-color: #435a3c;
}
.field .range-value {
  float: right;
}
.panel fieldset {
  margin: 20px 0 0;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--border);
  min-width: 0;
}
.panel legend {
  font-weight: 650;
  padding-right: 7px;
}
.frame-pad {
  height: 132px;
  touch-action: none;
  overflow: hidden;
  background: #e9eddf;
  display: grid;
  place-items: center;
  cursor: grab;
}
.frame-pad img {
  pointer-events: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.actions button,
.panel fieldset > button {
  font-size: 13px;
}
.danger {
  color: #813e37;
  margin-top: 8px;
}
.error-line,
[role="alert"] {
  color: #81372d;
  background: #fff2e9;
  padding: 10px 18px;
}
.mobile-controls,
.panel-close {
  display: none;
}
.preview-overlay {
  position: fixed;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #e2e5df;
}
.preview-overlay header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.preview-overlay header label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
  text-align: center;
}
.preview-overlay iframe {
  height: 100%;
  border: 0;
  display: block;
  margin: 0 auto;
  max-width: none;
  background: white;
}
.guest {
  background: #f5f5f0;
}
.guest .guide-canvas {
  max-width: 1280px;
  margin: auto;
  min-height: 100vh;
}
.guest .cover {
  min-height: clamp(260px, 34vw, 480px);
}
.guest-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 18px;
  justify-content: center;
  border-block: 1px solid #979d8866;
  padding: 7px 20px;
}
.guest-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
}
.guest .guest-section + .guest-section {
  border-top: 1px solid #a3a89444;
}
@container (min-width:530px) {
  .block-grid.columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container (max-width:480px) {
  .cover,
  .composition-petal .cover,
  .composition-cobalt .cover {
    grid-template-columns: 1fr;
  }
  .cover-image {
    min-height: 160px;
  }
  .composition-petal .cover-image {
    margin: 0 20px 20px;
    border-radius: 70px 70px 0 0;
  }
  .composition-cobalt .cover-image {
    border-left: 0;
    border-top: 6px solid #c0df61;
  }
  .feature.left,
  .feature.right {
    grid-template-columns: 1fr;
  }
  .feature.right .picture {
    order: 0;
  }
  .section-intro {
    gap: 8px;
  }
}
@media (max-width: 1000px) {
  .template-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-grid {
    grid-template-columns: 155px minmax(0, 1fr) 209px;
  }
  .panel {
    padding: 17px 10px;
  }
  .editor-mast {
    padding: 0 14px;
  }
  .template-art {
    height: 230px;
  }
}
@media (max-width: 800px) {
  .mobile-controls {
    display: flex;
    gap: 8px;
    padding: 7px 14px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
  }
  .mobile-controls button {
    flex: 1;
  }
  .editor-grid {
    display: block;
  }
  .editor-grid > .panel {
    display: none;
  }
  .editor-grid > .panel.open {
    display: block;
    position: fixed;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 72dvh;
    overflow: auto;
    box-shadow: 0 -10px 45px #25312433;
    border-radius: 15px 15px 0 0;
    padding: 18px 20px 35px;
    border: 1px solid var(--border);
  }
  .panel-close {
    display: inline-block;
  }
  .panel-head {
    position: sticky;
    top: -18px;
    background: var(--paper);
    z-index: 1;
    padding-block: 4px;
  }
  .canvas-area {
    padding: 0 12px 28px;
  }
  .editor-mast {
    height: auto;
    min-height: 60px;
    gap: 5px;
    flex-wrap: wrap;
    padding: 6px 12px;
  }
  .editor-mast .back {
    font-size: 12px;
    padding-inline: 5px;
  }
  .mast-actions {
    gap: 4px;
  }
  .mast-actions button {
    padding-inline: 9px;
  }
  .workspace-bar {
    padding: 10px 14px;
  }
  .workspace-bar > div {
    display: grid;
    gap: 1px;
  }
  .preview-overlay header {
    flex-wrap: wrap;
  }
  .preview-overlay header > span {
    font-size: 12px;
  }
  .preview-overlay header strong {
    font-size: 15px;
  }
}
@media (max-width: 510px) {
  .library {
    padding-inline: 17px;
  }
  .template-cards {
    gap: 9px;
  }
  .template-art {
    height: 169px;
  }
  .template-art .art-caption {
    left: 10px;
    bottom: 13px;
    font-size: 23px;
  }
  .template-copy {
    padding: 10px;
    align-items: flex-end;
  }
  .template-copy strong {
    font-size: 14px;
  }
  .template-copy small {
    font-size: 9px;
  }
  .library-title h1 {
    font-size: 53px;
  }
  .library-title p {
    font-size: 15px;
  }
  .mast {
    padding-inline: 13px;
  }
  .status {
    font-size: 11px;
  }
  .editor-mast .back {
    order: 2;
  }
  .editor-mast .studio-logo {
    margin-right: auto;
  }
  .mast-actions {
    margin-left: 0;
  }
  .my-guides a span {
    font-size: 12px;
  }
  .panel nav button {
    min-height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.preview-overlay {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  margin: 0;
  border: 0;
  padding: 0;
}
.preview-overlay:not([open]) {
  display: none;
}

.passage p,
.guest-section .info-card p,
.feature p,
.cover-copy p {
  white-space: pre-wrap;
}

button,
.panel a {
  touch-action: manipulation;
}

.demo-session {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.8rem;
}
.demo-session button {
  padding: 0.4rem 0.65rem;
  font: inherit;
}
.preview-back {
  padding: 0.75rem 1rem;
  background: white;
  color: #242525;
}
.my-guides a > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 540px) {
  .library-mast {
    height: auto;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-block: 0.65rem;
  }
  .demo-session {
    justify-content: flex-start;
  }
  .my-guides a {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 4px 12px;
  }
  .my-guides a img {
    width: 52px;
    grid-row: span 2;
  }
  .my-guides a span {
    grid-column: 2;
    margin-left: 0;
  }
}

/* Edition two. Historical starters retain their original composition. */
:is(.edition-editorial,.custom-cover) .cover {
  min-height: clamp(290px, 48cqw, 540px);
  isolation: isolate;
  position: relative;
}
.edition-editorial .cover-kicker {
  font-size: clamp(11px, 1.3cqw, 14px);
  letter-spacing: 0.17em;
  margin-bottom: 1.45em;
}
.edition-editorial .cover-copy p {
  max-width: 34em;
}
.edition-editorial .cover-copy h1 {
  text-wrap: balance;
}
.edition-editorial .guest-nav {
  padding: 0.75rem 5%;
  gap: 0.22rem 1rem;
  justify-content: start;
  border-block: 1px solid currentColor;
  background: var(--guest-paper);
}
.edition-editorial .guest-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.86rem;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.edition-editorial .guest-section {
  padding: clamp(24px, 5cqw, 64px) clamp(20px, 6cqw, 80px);
  scroll-margin-top: 12px;
}
.edition-editorial .guest-section p,
.edition-editorial address {
  max-width: 65ch;
}
.edition-editorial .section-intro {
  margin-bottom: clamp(14px, 2.2cqw, 28px);
}
.edition-editorial .info-card {
  border: 0;
  border-left: 3px solid var(--accent);
  background: var(--wash);
  padding: clamp(18px, 3cqw, 34px);
}
.edition-editorial .guest-section + .guest-section {
  border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}
.edition-editorial.theme-meadow {
  --hero: #eee9d8;
  --guest-paper: #fcf9ee;
  --guest-ink: #253d32;
  --muted-guest: #435a47;
  --accent: #7e542b;
  --wash: #eeecdc;
}
:is(.edition-editorial,.custom-cover).composition-meadow .cover {
  grid-template-columns: 0.86fr 1.14fr;
  padding: 3.2cqw;
  gap: 2cqw;
}
:is(.edition-editorial,.custom-cover).composition-meadow .cover-copy {
  padding: 2cqw 1.8cqw;
}
:is(.edition-editorial,.custom-cover).composition-meadow .cover-image {
  border-radius: 45% 45% 2px 2px;
  overflow: hidden;
}
:is(.edition-editorial,.custom-cover).composition-meadow .cover-kicker {
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1.1em;
}
.edition-editorial.theme-meadow .guest-section:nth-of-type(even) {
  background: #f2f1e5;
}
.edition-editorial.theme-petal {
  --hero: #f1e5df;
  --guest-paper: #fffaf5;
  --guest-ink: #502e39;
  --muted-guest: #6c4550;
  --accent: #986675;
  --wash: #f4e9e3;
}
:is(.edition-editorial,.custom-cover).composition-petal .cover {
  grid-template-columns: 1.05fr 1fr;
  background: #f8f1e9;
  padding: 3.3cqw;
  gap: 1.5cqw;
}
:is(.edition-editorial,.custom-cover).composition-petal .cover-copy {
  text-align: center;
  padding: 3cqw 1.5cqw;
  border-block: 1px solid #a17c79;
}
:is(.edition-editorial,.custom-cover).composition-petal .cover h1 {
  font-style: italic;
  font-size: clamp(40px, 8.5cqw, 100px);
  line-height: 1.02;
  font-weight: 500;
}
:is(.edition-editorial,.custom-cover).composition-petal .cover-image {
  border-radius: 0;
  min-height: 275px;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}
.edition-editorial.theme-petal .section-intro {
  justify-content: center;
  text-align: center;
}
.edition-editorial.theme-petal .section-intro .small-rule {
  display: none;
}
.edition-editorial.theme-petal .guest-section:nth-of-type(odd) {
  background: #f8efe9;
}
.edition-editorial.theme-noir {
  --guest-ink: #2e322b;
  --guest-paper: #f5f2eb;
  --accent: #84633f;
  --wash: #e9e7dc;
}
:is(.edition-editorial,.custom-cover).composition-noir .cover {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  min-height: clamp(320px, 55cqw, 620px);
  background: #1c201b;
}
:is(.edition-editorial,.custom-cover).composition-noir .cover-image {
  position: absolute;
  inset: 0;
  z-index: -1;
}
:is(.edition-editorial,.custom-cover).composition-noir .cover-copy {
  align-self: end;
  padding: clamp(22px, 5cqw, 64px);
  background: linear-gradient(transparent, #10130eea 44%);
  padding-top: 13cqw;
  color: #fffdf3;
}
:is(.edition-editorial,.custom-cover).composition-noir .cover h1 {
  font-size: clamp(38px, 7.4cqw, 98px);
  font-weight: 500;
  letter-spacing: -0.055em;
  text-transform: none;
}
:is(.edition-editorial,.custom-cover).composition-noir .cover-kicker,
:is(.edition-editorial,.custom-cover).composition-noir .cover-copy p {
  color: #fffdf3;
}
.edition-editorial.theme-noir .section-intro {
  border-top: 2px solid #735b3f;
  padding-top: 1.1em;
}
.edition-editorial.theme-noir .small-rule {
  display: none;
}
.edition-editorial.theme-cobalt {
  --hero: #182633;
  --guest-paper: #f6f5ef;
  --guest-ink: #162535;
  --muted-guest: #37495a;
  --accent: #b94c20;
  --wash: #e6eaf0;
}
:is(.edition-editorial,.custom-cover).composition-cobalt .cover {
  grid-template-columns: 1.05fr 1fr;
  background: #192837;
  color: #f6f3e7;
  border-bottom: 9px solid #ff945f;
}
:is(.edition-editorial,.custom-cover).composition-cobalt .cover-image {
  border: 0;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
:is(.edition-editorial,.custom-cover).composition-cobalt .cover h1 {
  font:
    700 clamp(42px, 8.6cqw, 112px) / 0.95 DM,
    Arial,
    sans-serif;
  letter-spacing: -0.075em;
}
:is(.edition-editorial,.custom-cover).composition-cobalt .cover-kicker {
  color: #ffae86;
}
:is(.edition-editorial,.custom-cover).composition-cobalt .cover-copy p {
  color: #f7f4ea;
}
.edition-editorial.theme-cobalt .guest-section h3 {
  font-family: DM, Arial, sans-serif;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.edition-editorial.theme-cobalt .section-intro .small-rule {
  width: 13px;
  height: 13px;
  background: #c15b2f;
}
.gallery-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.gallery-frames figure {
  margin: 0;
  min-width: 0;
}
.gallery-frames figure .picture {
  height: auto;
  aspect-ratio: 4/3;
}
.photo-story.feature {
  display: block;
}
.photo-story.feature .gallery-frames figure:first-child {
  grid-column: 1/-1;
}
.photo-story.feature .gallery-frames figure:first-child .picture {
  aspect-ratio: 2.3;
}
.gallery-frames figcaption,
.schedule-group {
  font-size: 0.85em;
  line-height: 1.4;
  margin: 0.5em 0;
}
.questions summary,
.response-link {
  cursor: pointer;
  min-height: 44px;
  padding: 0.65rem 0.25rem;
}
.questions details {
  border-bottom: 1px solid currentColor;
}
.questions summary {
  font-weight: 600;
}
.occasion,
.venue-card,
.response-card,
.profile {
  border-top: 2px solid var(--accent, currentColor);
  padding: clamp(14px, 3cqw, 30px);
  background: var(--wash, #eeede7);
}
.occasion time,
.event-meta,
.profile small,
.schedule-group {
  font-weight: 600;
}
.profile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.profile .picture {
  width: 28%;
  flex-shrink: 0;
  height: auto;
  aspect-ratio: 4/5;
}
.venue-card address {
  font-style: normal;
  white-space: pre-line;
  font-weight: 600;
}
.response-link,
.edition-editorial .action a,
.venue-card a,
.occasion a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 0.2em;
}
.schedule-group {
  display: block;
}
.guest-section :focus-visible,
.guest-nav :focus-visible {
  outline: 3px solid #ab5429;
  outline-offset: 3px;
}
@container (max-width:540px) {
  :is(.edition-editorial,.custom-cover).composition-meadow .cover,
  :is(.edition-editorial,.custom-cover).composition-petal .cover,
  :is(.edition-editorial,.custom-cover).composition-cobalt .cover {
    grid-template-columns: 1fr;
  }
  :is(.edition-editorial,.custom-cover).composition-meadow .cover-copy,
  :is(.edition-editorial,.custom-cover).composition-petal .cover-copy,
  :is(.edition-editorial,.custom-cover).composition-cobalt .cover-copy {
    padding: 20px;
  }
  :is(.edition-editorial,.custom-cover).composition-petal .cover-image {
    grid-row: auto;
    min-height: 170px;
  }
  :is(.edition-editorial,.custom-cover).composition-meadow .cover-image {
    border-radius: 70px 70px 2px 2px;
  }
  :is(.edition-editorial,.custom-cover).composition-cobalt .cover-image {
    clip-path: none;
  }
  .edition-editorial .cover-image {
    min-height: 160px;
  }
  .edition-editorial .guest-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
  }
  .edition-editorial .guest-nav a {
    flex: none;
  }
}

.attendance-page {
  max-width: 46rem;
  margin: auto;
  padding: clamp(1.5rem, 5vw, 4rem) 1.2rem;
  color: #20362b;
}
.attendance-page h1,
.attendance-page h2 {
  font-family: Playfair, Georgia, serif;
  margin: 1.3rem 0 0.6rem;
  line-height: 1.15;
}
.attendance-page p,
.attendance-page form,
.attendance-page li {
  margin: 1rem 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.attendance-page form,
.reply-list li {
  background: #fffef8;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #c9cfc1;
  border-radius: 0.4rem;
}
.attendance-page label {
  display: block;
  margin: 1rem 0;
}
.attendance-page input:not([type="checkbox"]),
.attendance-page textarea,
.attendance-page select {
  display: block;
  width: 100%;
  padding: 0.65rem;
  margin-top: 0.35rem;
  min-height: 44px;
  font: inherit;
}
.attendance-page button,
.attendance-page a,
.my-guides .responses-nav {
  min-height: 44px;
}
.attendance-page a,
.my-guides .responses-nav {
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
}
.reply-list {
  list-style: none;
  padding: 0;
}
.my-guides .responses-nav {
  border: 0;
  font-size: 0.87rem;
  margin-left: 75px;
}
.edition-editorial .timeline a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 1em;
}

.guest-destination{overflow-wrap:anywhere}.purchase .actions,.trial-row{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.trial-row{margin-block:.75rem}.workspace-bar>button{flex-shrink:0}
.example-link{display:inline-block;padding:.7rem}.template-cards article{min-width:0}.template-card{width:100%}.guide-block .info-card{height:100%;box-sizing:border-box;overflow-wrap:anywhere}
@media(min-width:700px){.block-grid.card-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.card-layout.stack>.guide-block,.card-layout>.card-full{grid-column:1/-1}.card-layout.stack>.card-half{grid-column:span 1}}
@media(max-width:699px){.block-grid.card-layout{grid-template-columns:minmax(0,1fr)}}
.sort-section{display:flex;align-items:center}.sort-section>button:last-child{flex:1}.drag-handle,.pages .drag-handle{touch-action:none;cursor:grab;min-width:32px;width:auto;padding:.35rem}.drop-here{outline:3px dashed #9a501c;outline-offset:-3px}
.guide-block.can-edit{position:relative}.guide-block>.drag-handle{position:absolute;top:2px;right:2px;z-index:1;background:white;color:#222;border-radius:4px}.guide-block.can-edit:has(>.drag-handle){padding-top:32px}
.template-cards article.template-card{display:flex;flex-direction:column;overflow:hidden;cursor:default}.catalogue-details{padding:1rem;text-align:left}.catalogue-details h2{font-size:1.2rem;margin:0 0 .3rem}.catalogue-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin-top:1rem}.catalogue-actions a{font-size:.9rem}.draft-drawer>summary,.sample-selector summary{cursor:pointer;font-weight:600}.sample-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;margin:.5rem 0}.sample-grid button{min-width:0;border:1px solid #c8bfb1;border-radius:5px;padding:2px;text-align:left;font-size:.68rem;line-height:1.15}.sample-grid button[aria-pressed=true]{outline:2px solid #76452b}.sample-grid img{width:100%;aspect-ratio:1.5;object-fit:cover;display:block}.sample-grid span{display:block;padding:.25rem}.drag-handle,.pages .drag-handle{cursor:grab;touch-action:none;font-size:.75rem;font-weight:600;min-height:32px}.drag-handle:active{cursor:grabbing}.drop-before{box-shadow:inset 0 4px #b34b16!important}.drop-after{box-shadow:inset 0 -4px #b34b16!important}.drop-before,.drop-after{background-color:#ffe5cf!important}

.cover-photo-prompt{display:grid;place-items:center;height:100%;min-height:6rem;text-align:center;font:500 .95rem/1.4 DM,sans-serif;color:#37483f;background:#e8eee7;border:1px dashed #87998c;border-radius:4px;padding:.75rem}.template-cards article.template-card{border:1px solid #d1d5c9}.template-cards .template-art:after{display:none}
.design-tools{margin:.5rem 0 1rem}.design-tools summary{cursor:pointer;font-weight:bold}.design-tools fieldset{margin:.7rem 0}.design-tools button{text-transform:capitalize}.design-tools [aria-pressed=true]{outline:2px solid #37564a}.layout-options,.palette-options{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.mini-cover{display:block;position:relative;height:30px;background:#e2d9ca;margin:0 auto 3px;max-width:70px;border:1px solid #62695d}.mini-cover:before{content:"";position:absolute;inset:4px 4px 4px 50%;background:#737f6d}.mini-rounded:before{border-radius:50% 50% 0 0}.mini-panoramic:before{inset:0;background:linear-gradient(#a5b19d,#556350)}.mini-split:before{inset:0 0 0 45%;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%)}.mini-invitation:before{inset:5px 30% 2px;border-radius:50% 50% 0 0}.swatch{display:inline-block;width:.8em;height:.8em;border-radius:50%;background:var(--tone);margin-right:.35em}
.palette-forest{--tone:#294d38;--tint:#e4eee4}.palette-harbour{--tone:#174d60;--tint:#e1eff1}.palette-rose{--tone:#793e4c;--tint:#f6e8ed}.palette-ochre{--tone:#65491d;--tint:#f4ecda}.palette-indigo{--tone:#43406c;--tint:#ebeaf4}
.guide-canvas[class*=" palette-"]{--accent:var(--tone);--hero:var(--tint);--wash:var(--tint);--guest-paper:#fffcf7;--guest-ink:#202720;--muted-guest:#3c473f}.guide-canvas[class*=" palette-"] .guest-section:nth-of-type(even){background:var(--tint)}
.guide-canvas.composition-petal:not(.theme-petal) .cover,.guide-canvas.composition-meadow:not(.theme-meadow) .cover{background:#f2ece2;color:#273b30}.guide-canvas[class*=" palette-"]:not(.composition-noir) .cover{background:var(--tint);border-color:var(--tone);color:var(--tone)}.guide-canvas[class*=" palette-"]:not(.composition-noir) .cover-copy :is(p,.cover-kicker){color:var(--tone)}.guide-canvas[class*=" palette-"] .guest-section a{color:var(--tone)}.guide-canvas[class*=" palette-"] .response-link{background:white}
.guide-canvas.font-classic{font-family:Georgia,serif}.guide-canvas.font-elegant,.guide-canvas.font-contemporary{font-family:DM,Arial,sans-serif}.guide-canvas[class].font-classic :is(h1,h2,h3){font-family:Playfair,Georgia,serif}.guide-canvas[class].font-contemporary :is(h1,h2,h3){font-family:DM,Arial,sans-serif;font-style:normal}.guide-canvas[class].font-elegant :is(h1,h2,h3){font-family:Georgia,serif;font-style:italic;font-weight:500}

.library-title {
  padding: clamp(28px, 5vw, 70px) 0;
  border-bottom: 1px solid #b9c3b6;
}
.library-title h1 em {
  font-weight: 400;
  color: #495f4c;
}
.library-title .blank-start {
  padding: 0.85em 1.35em;
  margin: 1rem 0 0.6rem;
}
.library-title small {
  display: block;
  color: #465346;
}
.library .row-title p {
  max-width: 47rem;
  margin: 0.5rem 0 1rem;
  color: #465346;
}

@font-face {
  font-family: "lora";
  src: url("/type/lora.woff2") format("woff2");
  font-display: swap;
}
.font-lora {
  --heading: "lora", Georgia, serif;
}
@font-face {
  font-family: "cormorant-garamond";
  src: url("/type/cormorant-garamond.woff2") format("woff2");
  font-display: swap;
}
.font-cormorant-garamond {
  --heading: "cormorant-garamond", Georgia, serif;
}
@font-face {
  font-family: "fraunces";
  src: url("/type/fraunces.woff2") format("woff2");
  font-display: swap;
}
.font-fraunces {
  --heading: "fraunces", Georgia, serif;
}
@font-face {
  font-family: "libre-baskerville";
  src: url("/type/libre-baskerville.woff2") format("woff2");
  font-display: swap;
}
.font-libre-baskerville {
  --heading: "libre-baskerville", Georgia, serif;
}
@font-face {
  font-family: "source-serif-4";
  src: url("/type/source-serif-4.woff2") format("woff2");
  font-display: swap;
}
.font-source-serif-4 {
  --heading: "source-serif-4", Georgia, serif;
}
@font-face {
  font-family: "outfit";
  src: url("/type/outfit.woff2") format("woff2");
  font-display: swap;
}
.font-outfit {
  --heading: "outfit", Georgia, serif;
}
@font-face {
  font-family: "nunito-sans";
  src: url("/type/nunito-sans.woff2") format("woff2");
  font-display: swap;
}
.font-nunito-sans {
  --heading: "nunito-sans", Georgia, serif;
}
@font-face {
  font-family: "space-grotesk";
  src: url("/type/space-grotesk.woff2") format("woff2");
  font-display: swap;
}
.font-space-grotesk {
  --heading: "space-grotesk", Georgia, serif;
}
@font-face {
  font-family: "barlow-condensed";
  src: url("/type/barlow-condensed.woff2") format("woff2");
  font-display: swap;
}
.font-barlow-condensed {
  --heading: "barlow-condensed", Georgia, serif;
}
@font-face {
  font-family: "quicksand";
  src: url("/type/quicksand.woff2") format("woff2");
  font-display: swap;
}
.font-quicksand {
  --heading: "quicksand", Georgia, serif;
}
@font-face {
  font-family: "dancing-script";
  src: url("/type/dancing-script.woff2") format("woff2");
  font-display: swap;
}
.font-dancing-script {
  --heading: "dancing-script", Georgia, serif;
}
@font-face {
  font-family: "allura";
  src: url("/type/allura.woff2") format("woff2");
  font-display: swap;
}
.font-allura {
  --heading: "allura", Georgia, serif;
}
@font-face {
  font-family: "patrick-hand";
  src: url("/type/patrick-hand.woff2") format("woff2");
  font-display: swap;
}
.font-patrick-hand {
  --heading: "patrick-hand", Georgia, serif;
}

/* Each composition uses the same guest canvas in examples, editing, publication and export. */
.palette-sage {
  --tone: #253d32;
  --tint: #eee9d8;
}
.guide-canvas.theme-studio {
  --guest-ink: var(--tone);
  --muted-guest: var(--tone);
  --guest-paper: #fffcf7;
  --hero: var(--tint);
  --wash: var(--tint);
  color: var(--tone);
}
.guide-canvas.theme-studio.palette-sage {
  --guest-paper: #fcf9ee;
  --wash: #eeecdc;
}
.guide-canvas.theme-studio.palette-sage .guest-section:nth-of-type(even) {
  background: #f2f1e5;
}
.guide-canvas.theme-studio .guest-nav a,
.guide-canvas.theme-studio .guest-section a {
  color: var(--tone);
}
.guide-canvas.theme-studio .response-link {
  background: var(--guest-paper);
}
.theme-studio .cover {
  isolation: isolate;
  position: relative;
  min-height: clamp(320px, 48cqw, 600px);
  align-items: stretch;
}
.theme-studio .cover-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}
.theme-studio .cover-image {
  min-width: 0;
  min-height: 200px;
  grid-row: 1;
  grid-column: 2;
  isolation: isolate;
}
.theme-studio .cover-copy {
  grid-row: 1;
  grid-column: 1;
}
.theme-studio[data-layout="framed"] .cover {
  padding: clamp(16px, 3cqw, 44px);
  gap: 1cqw;
}
.theme-studio[data-layout="framed"] .cover-image {
  border: 6px solid var(--guest-paper);
  outline: 1px solid var(--tone);
  margin: 5px;
}
.theme-studio[data-layout="invitation"] .cover-image,
.theme-studio[data-side="left"]:is(
    [data-layout="split"],
    [data-layout="soft-fade"]
  )
  .cover-image {
  grid-column: 1;
}
.theme-studio[data-layout="invitation"] .cover-copy,
.theme-studio[data-side="left"]:is(
    [data-layout="split"],
    [data-layout="soft-fade"]
  )
  .cover-copy {
  grid-column: 2;
}
.theme-studio[data-layout="invitation"] .cover {
  padding: 3cqw;
  gap: 3cqw;
}
.theme-studio[data-layout="invitation"] .cover-copy {
  padding: 3cqw 1cqw;
  text-align: center;
  border-block: 1px solid currentColor;
}
.theme-studio[data-layout="split"] .cover-image {
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
.theme-studio[data-layout="split"][data-side="left"] .cover-image {
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}
.theme-studio[data-layout="soft-fade"] .cover-image {
  margin-left: -6cqw;
  --fade: linear-gradient(to right, transparent, #000 32%);
  mask-image: var(--fade);
  -webkit-mask-image: var(--fade);
}
.theme-studio[data-layout="soft-fade"][data-side="left"] .cover-image {
  margin-left: 0;
  margin-right: -6cqw;
  --fade: linear-gradient(to left, transparent, #000 32%);
}
.theme-studio[data-layout="panoramic"] .cover {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
}
.theme-studio[data-layout="panoramic"] .cover-image {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.theme-studio[data-layout="panoramic"] .cover-copy {
  align-self: end;
  padding: clamp(24px, 5cqw, 64px);
  background: linear-gradient(transparent, #0c1413ea 27%);
  padding-top: 9cqw;
}
.guide-canvas.theme-studio[data-layout="panoramic"]
  .cover-copy
  :is(h1, p, .cover-kicker) {
  color: #fffdf5;
}
.theme-studio[data-layout="editorial"] .cover {
  grid-template-columns: 1fr;
  padding: 3cqw;
}
.theme-studio[data-layout="editorial"] .cover-copy {
  grid-row: 1;
  padding: 0 0 2cqw;
  border-top: 3px solid currentColor;
}
.theme-studio[data-layout="editorial"] .cover-kicker {
  margin: 1em 0 0.65em;
}
.theme-studio[data-layout="editorial"] .cover-image {
  grid-column: 1;
  grid-row: 2;
  min-height: clamp(140px, 25cqw, 340px);
}
.guide-canvas.theme-studio .cover h1 {
  letter-spacing: -0.035em;
  font-size: clamp(32px, 6.2cqw, 84px);
}
.font-classic {
  --heading: Playfair, Georgia, serif;
}
.font-contemporary {
  --heading: DM, Arial, sans-serif;
}
.font-elegant {
  --heading: Georgia, serif;
}
.guide-canvas.theme-studio[class] :is(h1, h2, h3),
.type-preview strong,
.font-choice {
  font-family: var(--heading, Playfair), Georgia, serif;
}
.guide-canvas.theme-studio:is(.font-dancing-script, .font-allura)
  :is(h1, h2, h3) {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.13;
}
.font-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  max-height: 17rem;
  overflow: auto;
  padding: 0.4rem;
}
.design-tools .font-choice {
  text-transform: none;
  text-align: left;
  font-size: 1.05rem;
  min-height: 44px;
  padding: 0.5rem;
}
.type-preview {
  padding: 1rem 0.3rem;
  overflow-wrap: anywhere;
}
.type-preview strong,
.type-preview span {
  display: block;
}
.type-preview strong {
  font-size: 1.65rem;
  line-height: 1.25;
}
.type-preview span {
  margin-top: 0.5rem;
}
.restore-design {
  border-top: 1px solid #bcc6b9;
  padding-top: 1rem;
}
.layout-thumb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 88%;
  height: 38px;
  background: #f2eedf;
  margin: 0 auto 0.45em;
  color: #40534b;
}
.layout-thumb i {
  background: #829e8b;
  grid-row: 1;
  grid-column: 2;
  height: 100%;
}
.layout-thumb b {
  grid-row: 1;
  grid-column: 1;
  margin: auto;
  width: 68%;
  height: 7px;
  border-block: 2px solid currentColor;
  z-index: 1;
}
.thumb-framed i {
  margin: 4px;
  height: calc(100% - 8px);
  border: 1px solid white;
  outline: 1px solid #829e8b;
}
.thumb-invitation i,
.thumb-split[data-side="left"] i,
.thumb-soft-fade[data-side="left"] i {
  grid-column: 1;
}
.thumb-invitation b,
.thumb-split[data-side="left"] b,
.thumb-soft-fade[data-side="left"] b {
  grid-column: 2;
}
.thumb-invitation {
  padding: 3px;
  gap: 4px;
}
.thumb-split i {
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.thumb-split[data-side="left"] i {
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}
.thumb-soft-fade i {
  background: linear-gradient(to right, transparent, #829e8b 45%);
}
.thumb-soft-fade[data-side="left"] i {
  background: linear-gradient(to left, transparent, #829e8b 45%);
}
.thumb-panoramic i,
.thumb-editorial i {
  grid-column: 1/-1;
}
.thumb-panoramic b {
  align-self: end;
  color: white;
  margin-bottom: 5px;
}
.thumb-editorial {
  grid-template-rows: 14px 1fr;
  padding: 2px;
}
.thumb-editorial i {
  grid-row: 2;
}
@container (max-width:540px) {
  .theme-studio .cover {
    min-height: 250px;
  }
  .theme-studio .cover-copy {
    padding: 14px;
  }
  .theme-studio .cover-image {
    min-height: 165px;
  }
  .theme-studio .cover-kicker {
    font-size: 10px;
  }
  .guide-canvas.theme-studio .cover h1 {
    font-size: clamp(26px, 8cqw, 42px);
  }
  .theme-studio[data-layout="panoramic"] .cover-copy {
    padding-top: 55px;
  }
}
.theme-studio[data-layout="panoramic"] .cover-image {
  grid-area: auto;
}

.library-title {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.hero-examples {
  position: relative;
  aspect-ratio: 1.85;
}
.hero-examples img {
  position: absolute;
  width: 78%;
  box-shadow: 0 8px 22px #28362c26;
  border: 4px solid #fffdf7;
}
.hero-examples img:first-child {
  right: 0;
  top: 0;
  transform: rotate(4deg);
}
.hero-examples img:last-child {
  left: 0;
  bottom: 0;
  transform: rotate(-3deg);
}
.template-cards .template-art {
  height: auto;
  aspect-ratio: 2.08;
}
.catalogue-actions .use-starter {
  padding: 0.5rem 0.7rem;
  color: #2d4937;
  border-color: #98ad9b;
  font-size: 0.87rem;
}
.catalogue-actions a {
  font-size: 0.84rem;
}
@media (max-width: 760px) {
  .library-title {
    grid-template-columns: 1fr;
  }
  .hero-examples {
    display: none;
  }
}

.theme-studio:is([data-layout="framed"], [data-layout="invitation"], [data-layout="split"], [data-layout="soft-fade"]) .cover {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.palette-terracotta {--tone:#813c27;--tint:#f6e2d6}
.palette-lagoon {--tone:#005852;--tint:#d6f0e9}
.palette-plum {--tone:#653759;--tint:#efdfec}
.palette-slate {--tone:#374656;--tint:#e2e7ec}
.theme-studio:is([data-layout=framed],[data-layout=invitation])[data-side=left] .cover-image {grid-column:1}
.theme-studio:is([data-layout=framed],[data-layout=invitation])[data-side=left] .cover-copy {grid-column:2}
.theme-studio:is([data-layout=framed],[data-layout=invitation])[data-side=right] .cover-image {grid-column:2}
.theme-studio:is([data-layout=framed],[data-layout=invitation])[data-side=right] .cover-copy {grid-column:1}
:is(.thumb-framed,.thumb-invitation)[data-side=left] i {grid-column:1}
:is(.thumb-framed,.thumb-invitation)[data-side=left] b {grid-column:2}
:is(.thumb-framed,.thumb-invitation)[data-side=right] i {grid-column:2}
:is(.thumb-framed,.thumb-invitation)[data-side=right] b {grid-column:1}
.guide-credit {padding:1.2rem 5%;background:var(--guest-paper);color:var(--guest-ink);text-align:center;font-size:.85rem;border-top:1px solid currentColor}
.guide-credit a {color:inherit;display:inline-block;padding:.55rem}

/* Application chrome. Guest page typography and guide palette variables are independent. */
.studio-app .mast,.studio-app .library,.studio-app .panel,.studio-app .workspace-bar,.studio-app .attendance-page {
  --green:#3642a5;--accent:#4a50b1;--muted:#56586a;--border:#d8d9e3;--paper:#fcfbf8;color:#242647;
}
.library .library-title h1,.library .library-title em,.library h2,.library .catalogue-details h2,.panel h2,.attendance-page h1 {font-family:DM,Arial,sans-serif;font-weight:600;letter-spacing:-.038em}
.library .library-title em {color:#4248af;font-style:normal}
.studio-app .mast button.primary,.studio-app .blank-start,.studio-app .use-starter,.studio-app .mast-actions button.primary {background:#3642a5;border-color:#3642a5;color:white}
.studio-app .mast button.primary:hover,.studio-app .blank-start:hover,.studio-app .use-starter:hover {background:#28337b}
.library .library-title {background:#eeedf8}
.studio-app :is(.mast,.library,.panel,.workspace-bar) :focus-visible {outline:3px solid #514aba;outline-offset:2px}
.studio-app .panel [aria-pressed=true],.studio-app .sample-grid button[aria-pressed=true],.studio-app .canvas-area .selected {outline:2px solid #4948b4;outline-offset:2px}
.studio-app .library button.primary:hover:not(:disabled),.studio-app .mast button.primary:hover:not(:disabled),.studio-app .library .use-starter:hover:not(:disabled) {background:#28337b;border-color:#28337b;color:white}
