@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 {
  --section-y: clamp(19px, 5.2cqw, 58px);
  --section-x: var(--section-y);
  padding: var(--section-y) var(--section-x);
}
.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 {
  --section-y: clamp(24px, 5cqw, 64px);
  --section-x: 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}

/* 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}

/* Each pane owns its scroll position. The sheet takes a row of its own. */
.workspace {
  height: 100vh;
  height: var(--visible-height, 100dvh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.workspace > :not(.editor-grid):not(dialog) {
  flex: none;
}
.workspace .editor-grid {
  flex: 1;
  min-height: 0;
  position: relative;
}
.workspace :is(.canvas-area, .pages, .inspector) {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.workspace .panel-head {
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
  margin: 0 0 12px;
  padding-block: 6px;
}
.workspace .inspector {
  scroll-padding-block: 58px 20px;
}
.sheet-size {
  display: none;
}
.canvas-photo {
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.cover-image .canvas-photo {
  position: absolute;
  inset: 0;
}
.canvas-photo.framing {
  touch-action: none;
  cursor: grab;
}
.canvas-photo.framing:active {
  cursor: grabbing;
}
.feature.right .canvas-photo {
  order: 2;
}
.workspace .mast-actions .status {
  line-height: 1.2;
  white-space: nowrap;
}
.save-state small {
  display: block;
  font-size: 0.72rem;
  color: #56586a;
}
.status.working:before {
  background: none;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: studio-spin 0.8s linear infinite;
}
@keyframes studio-spin {
  to {
    transform: rotate(1turn);
  }
}
.theme-studio[data-layout="framed"] .cover {
  column-gap: clamp(12px, 2.6cqw, 38px);
}
.theme-studio[data-layout="framed"] .cover-copy {
  padding-inline: clamp(4px, 1.3cqw, 22px);
}
.theme-studio[data-layout="invitation"] .cover {
  column-gap: clamp(16px, 4cqw, 52px);
}
.theme-studio[data-layout="split"] .cover-copy {
  padding-inline: clamp(14px, 4cqw, 54px);
}
.side-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.side-options button,
.palette-options button {
  min-height: 44px;
}
.palette-options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr));
  gap: 8px;
}
.palette-options button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 6px;
  min-width: 0;
  text-align: left;
}
.palette-options .swatch {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin: 0;
  border: 1px solid #6c6a74;
  border-radius: 50%;
  background: var(--tint);
}
.design-tools button[aria-pressed="true"] {
  background: #ededfb;
}
.account-form,
.studio-app .account-page,
.account-guides {
  font-family: DM, Arial, sans-serif;
  color: #242647;
}
.account-form {
  display: grid;
  gap: 16px;
  width: min(100%, 30rem);
  padding: clamp(16px, 3vw, 30px);
  margin: 1rem 0;
  border: 1px solid #d8d9e3;
  border-radius: 12px;
  background: #fcfbf8;
}
.account-form :is(h2, p),
.account-page h2 {
  margin: 0;
}
.studio-app .account-form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
}
.studio-app .account-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  font: inherit;
  font-size: 16px;
  padding: 8px 12px;
  border: 1px solid #787986;
  border-radius: 7px;
}
.studio-app .account-form input[autocomplete="one-time-code"] {
  max-width: 13rem;
  font-size: 22px;
  letter-spacing: 0.18em;
}
.studio-app :is(.account-page, .account-form, .account-guides) button {
  min-height: 44px;
  font: inherit;
}
.studio-app :is(.account-form, .account-guides, .account-page) .primary,
.account-page button:first-of-type {
  background: #3642a5;
  color: white;
  border-color: #3642a5;
}
.studio-app :is(.account-page, .account-form, .account-guides) :focus-visible {
  outline: 3px solid #514aba;
  outline-offset: 3px;
}
.studio-app .account-page {
  max-width: 42rem;
  padding: clamp(18px, 4vw, 40px);
  line-height: 1.55;
}
.account-page > button {
  margin: 6px 6px 6px 0;
}
.account-page h1 {
  margin-block: 1.2rem 0.6rem;
}
.account-form [role="alert"],
.account-page [role="alert"] {
  border-left: 3px solid #984435;
  padding-left: 0.8rem;
  color: #7e2b26;
}
.library .account-guides {
  margin: 1rem 0 2rem;
}
.account-guides ul {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.account-guides li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  background: white;
}
.account-guides a {
  border: 0;
}
.account-guides .guide-thumbnail {
  flex: 0 0 68px;
  width: 68px;
  height: 54px;
  overflow: hidden;
  border-radius: 6px;
  background: #edeaf6;
  display: grid;
  place-items: center;
}
.account-guides .guide-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.account-guides .guide-thumbnail span {
  margin: 0;
  color: #404383;
  font-size: 22px;
  font-weight: 600;
  grid-column: auto;
}
@media (max-width: 800px) {
  .workspace .editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .workspace .canvas-area {
    grid-area: 1 / 1;
  }
  .workspace .editor-grid > .panel.open {
    position: static;
    grid-area: 2 / 1;
    max-height: none;
    height: clamp(85px, 27dvh, 240px);
    padding: 0 14px max(10px, env(safe-area-inset-bottom));
    border-radius: 13px 13px 0 0;
    box-shadow: 0 -3px 12px #24264712;
  }
  .workspace .editor-grid > .panel.expanded,
  .workspace .editor-grid > .pages.open {
    height: min(56%, 55dvh);
    height: min(55dvh, calc(var(--visible-height, 100dvh) * 0.55));
    align-self: end;
  }
  .sheet-size {
    display: block;
    margin-left: auto;
    margin-right: 8px;
  }
  .workspace .panel-head button,
  .mobile-controls button {
    min-height: 40px;
  }
  .workspace .mobile-controls {
    padding: 3px 12px;
    gap: 8px;
  }
  .workspace .editor-mast {
    padding: 4px 10px;
    min-height: 44px;
  }
  .workspace .workspace-bar {
    min-height: 0;
    padding: 3px 12px;
  }
  .workspace-bar > div {
    display: flex;
  }
  .workspace .canvas-area {
    padding-inline: max(8px, env(safe-area-inset-left));
  }
  .workspace .editor-mast .mast-actions {
    margin-left: auto;
  }
}
@media (min-width: 700px) and (max-width: 1000px),
  (min-width: 520px) and (max-height: 500px) {
  .workspace .editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr);
  }
  .workspace .canvas-area {
    grid-area: 1 / 1;
  }
  .workspace .mobile-controls {
    display: flex;
  }
  .workspace .editor-grid > .panel {
    display: none;
  }
  .workspace .editor-grid > .panel.open,
  .workspace .editor-grid > .panel.expanded.open {
    display: block;
    position: static;
    grid-area: 1 / 2;
    width: clamp(195px, 33vw, 275px);
    height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 0 12px max(10px, env(safe-area-inset-bottom));
  }
  .workspace .panel-close {
    display: block;
  }
  .workspace .sheet-size {
    display: none;
  }
}
@media (max-width: 540px) {
  .account-guides .guide-thumbnail {
    grid-row: span 2;
    width: 52px;
  }
  .workspace .workspace-bar > span {
    display: none;
  }
  .workspace .mast-actions {
    flex-wrap: wrap;
    gap: 5px;
  }
  .workspace .mast-actions button {
    padding: 6px 9px;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .workspace .workspace-bar {
    display: none;
  }
  .workspace .editor-mast {
    height: auto;
    min-height: 40px;
    padding-block: 3px;
  }
  .workspace .mobile-controls {
    padding: 2px 10px;
    gap: 8px;
  }
}
.studio-app :is(.account-page, .account-form) h2 {
  font:
    600 clamp(1.25rem, 3vw, 1.65rem) / 1.2 DM,
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
}
.studio-app .account-form :is(label, input) {
  margin: 0;
}
.profile > .canvas-photo {
  width: 28%;
  flex-shrink: 0;
}
.profile > .canvas-photo .picture {
  width: 100%;
}
@media (max-width: 540px) {
  .workspace .editor-mast {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2px 8px;
    height: auto;
  }
  .workspace .editor-mast .back {
    order: 0;
  }
  .workspace .editor-mast .mast-actions {
    grid-column: 1/-1;
    justify-content: flex-end;
    width: 100%;
    margin: 0;
  }
  .workspace .save-state {
    margin-right: auto;
  }
  .workspace .editor-mast .studio-logo {
    margin: 0;
  }
  .workspace .workspace-bar > div {
    gap: 6px;
  }
}
@media (max-width: 360px) {
  .workspace .editor-mast .studio-logo > span {
    display: none;
  }
}

/* Passage typography and treatments use each guide's existing colour palette. */
.passage {overflow-wrap:anywhere;min-width:0}
.passage p,.passage h4 {white-space:pre-wrap}
.passage p:empty {min-height:.65em}
.passage h4 {font:600 1.16em/1.35 var(--serif,Georgia,serif);margin:1em 0 .4em}
.passage-label {display:block;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.65rem}
.paper-light {background:var(--guest-paper,#fffdf9)}
.paper-tinted {background:var(--tint,var(--wash,#f3f0e8))}
.passage:is(.paper-light,.paper-tinted,.rule-side,.rule-top){padding:var(--passage-space,1.15rem)}
.rule-top {border-top:2px solid var(--accent)}
.rule-side {border-inline-start:3px solid var(--accent)}
.space-compact {--passage-space:.65rem}.space-spacious {--passage-space:1.9rem}
.passage.space-compact p {margin-block:.3em}.passage.space-spacious p {margin-block:1.2em}
.passage-action a {display:inline-block;margin-top:.6em;padding:.65em 1.2em;border:1px solid currentColor;border-radius:2em;text-decoration:none;font-weight:600}
.passage-hit {cursor:text;min-height:2em}.passage-hit>span {color:var(--muted-guest);font-style:italic}
.passage-writing textarea {font:inherit;color:inherit;background:transparent;border:0;border-bottom:1px solid var(--accent);border-radius:0;width:100%;box-sizing:border-box;padding:.5em .15em;resize:vertical;line-height:1.6}
.writing-bar,.passage-link {display:flex;align-items:center;flex-wrap:wrap;gap:.35rem;margin:.5rem 0;font:500 .83rem/1.3 "DM Sans",sans-serif}
.writing-bar button,.passage-link button {min-height:36px;padding:.4rem .65rem;border:1px solid var(--border,#ccc);border-radius:.45rem;background:var(--guest-paper,#fff);color:var(--guest-ink,#232623)}
.writing-bar button[aria-pressed=true] {background:var(--guest-ink,#232623);color:var(--guest-paper,#fff)}
.writing-bar button:disabled {opacity:.48}.passage-link label {width:100%}.passage-link input {display:block;width:100%;font:inherit;padding:.6em}
.passage-writing :focus-visible {outline:2px solid var(--accent);outline-offset:2px}
@media(pointer:coarse){.writing-bar button,.passage-link button{min-height:44px}}
.field .field-error,.passage-link small {color:#8b3531;font-size:.84rem;font-weight:500;line-height:1.45}
.field [aria-invalid=true]{border-color:#98483b}
.passage-settings legend {font-family:"Playfair Display",Georgia,serif}
.history-actions {display:flex;gap:.35rem;align-items:center}
.workspace-bar .history-actions button {padding:.3rem .63rem;border:1px solid currentColor;border-radius:2rem}
.history-actions button:disabled {opacity:.42}
@media(max-width:600px){.workspace-bar strong {max-width:30vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-bar .history-actions{display:flex}}
.guide-block:has(>.passage){min-width:0}.guide-block>.passage:is(.paper-light,.paper-tinted,.rule-side,.rule-top){box-sizing:border-box;height:100%}
.chapter-hint {display:block;line-height:1.45;color:var(--muted);margin:.85rem 0 .5rem}
.heading-toggle {display:flex;gap:.55rem;align-items:center;padding:.6rem 0}

.workspace .workspace-bar .history-actions {display:flex;flex:0 0 auto;gap:.35rem}
@media(max-width:700px){
  .workspace .workspace-bar {display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.4rem;padding:.25rem .65rem}
  .workspace .workspace-bar>div:first-child{display:block;overflow:hidden}
  .workspace .workspace-bar .product-label {display:none}
  .workspace .workspace-bar strong {display:block;max-width:100%}
  .workspace .workspace-bar button {font-size:.78rem;padding:.35rem .55rem;min-height:36px}
}
@media(max-height:500px) and (orientation:landscape) {
  .workspace .workspace-bar {display:flex;padding-block:0;min-height:0}
  .workspace .workspace-bar button {min-height:26px;padding-block:0}
}

.writing-hint{display:block;max-width:62ch;margin:.3rem 0 .55rem;font:400 .8rem/1.45 DM,Arial,sans-serif;color:var(--muted-guest,currentColor)}
@media(min-width:801px) and (max-width:1000px){
  .workspace .mobile-controls{padding:.35rem .8rem;gap:.5rem;background:var(--paper);border-bottom:1px solid var(--border)}
  .workspace .mobile-controls button{min-height:40px}
}

/* Photography and specialist blocks inherit the active guide palette. */
.styled-block {padding:var(--passage-space,1.15rem);min-width:0}
.guide-block.styled-block.rule-top {border-top:2px solid var(--accent)}
.guide-block.styled-block.rule-side {border-inline-start:3px solid var(--accent)}
.gallery-frames figure {min-width:0;margin:0}
.gallery-frames a {display:block}
.photo-story.single .gallery-frames {display:block}
.photo-story.single .picture {aspect-ratio:1.8}
.photo-story.swipe .gallery-frames {display:flex;gap:.8rem;overflow-x:auto;scroll-snap-type:x mandatory}
.photo-story.swipe .gallery-frames figure {flex:0 0 88%;scroll-snap-align:start}
.gallery-nav,.viewer-controls {display:flex;align-items:center;justify-content:space-between;gap:.6em;margin:.5em 0}
.photo-viewer {width:min(88vw,58rem);max-height:90vh;border:0;padding:1.15em;color:inherit;background:var(--guest-paper,#fffdf9);border-radius:.6em}
.photo-viewer::backdrop {background:rgba(0,0,0,.75)}
.photo-viewer figure {margin:.8em 0}
.photo-viewer figure img {display:block;width:100%;height:min(63vh,40rem);object-fit:contain}
.photo-viewer figcaption {margin-top:.5em}
.method-toggle {display:flex;align-items:center;gap:.7em;min-height:40px}
.method-toggle input {width:auto}
.entrance-map {height:16rem;width:100%;margin:1em 0;isolation:isolate}
.venue-pin span {display:block;width:23px;height:23px;background:#454a42;border:3px solid white;border-radius:100% 100% 0 100%;transform:rotate(45deg);box-shadow:0 1px 4px #34382f}
.venue-card p,.occasion p {white-space:pre-line}

/* Gallery navigation adopts the guide's ink and paper, including in preview. */
.gallery-nav, .viewer-rail {
  display: flex; align-items: center; justify-content: center; gap: .85rem;
}
.gallery-nav {margin: 1rem auto .25rem}
.photo-counter {font:600 .82rem/1.2 DM,system-ui,sans-serif;letter-spacing:.09em;font-variant-numeric:tabular-nums}
.gallery-nav .photo-control, .photo-viewer .photo-control {
  display:inline-grid;place-items:center;padding:0;flex:none;width:44px;height:44px;
  border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;
  cursor:pointer;transition:background-color .16s,color .16s;
}
.photo-control svg {display:block;width:20px;height:20px}
.photo-control:disabled {opacity:.38;cursor:default}
.gallery-nav .photo-control:enabled:hover,.photo-viewer .photo-control:hover {
  background:var(--guest-ink,#233728);color:var(--guest-paper,#fffdf9)
}
.photo-viewer {
  box-sizing:border-box;width:min(57rem,calc(100% - 2rem));max-height:calc(100% - 2rem);
  margin:auto;padding:clamp(.8rem,2.2vw,1.65rem);border:1px solid var(--guest-ink,#233728);
  border-radius:1rem;color:var(--guest-ink,#233728);background:var(--guest-paper,#fffdf9);
  box-shadow:0 1.2rem 4rem #10141042;overflow:auto;
}
.photo-viewer::backdrop {background:rgba(21,25,24,.84)}
.photo-viewer .viewer-controls {margin:0 0 .7rem}
.photo-viewer .viewer-controls .photo-counter {padding:.4rem .75rem;border-inline-start:2px solid var(--accent)}
.photo-viewer figure {margin:0}
.viewer-image {overflow:hidden;border-radius:.3rem;background:var(--wash,#eeecdc);touch-action:pan-y pinch-zoom}
.photo-viewer .viewer-image img {height:min(56vh,36rem);width:100%;object-fit:contain}
.photo-viewer figcaption {margin:.7rem 0 0;font:inherit;line-height:1.4;overflow-wrap:anywhere}
.viewer-rail {margin-top:1rem;border-top:1px solid currentColor;padding-top:.75rem}
.viewer-thumbs {min-width:0;display:flex;gap:.4rem;align-items:center;overflow-x:auto;padding:4px}
.viewer-thumbs button {
  flex:none;box-sizing:border-box;display:grid;place-items:center;width:52px;height:44px;padding:3px;
  border:1px solid transparent;border-radius:.35rem;background:transparent;color:inherit;cursor:pointer
}
.viewer-thumbs img {display:block;width:100%;height:34px;object-fit:cover;border-radius:.16rem}
.viewer-thumbs [aria-pressed=true] {border:2px solid currentColor;padding:2px}
.photo-viewer :focus-visible,.gallery-nav :focus-visible,.gallery-frames a:focus-visible {outline:2px solid currentColor;outline-offset:2px}
.gallery-frames figcaption {padding-inline:.05em;overflow-wrap:anywhere;font-size:.92em}
.styled-block > :is(.occasion,.venue-card,.response-card,.profile) {padding:0;background:transparent;border:0}
.guide-block.styled-block.paper-plain {background:transparent}
.guide-block.styled-block.paper-tinted {background:var(--tint,var(--wash))}
.guide-block.styled-block.paper-light {background:var(--guest-paper)}
.studio-app .sample-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
.studio-app .sample-grid button {padding:.2rem;border-radius:.45rem;overflow:hidden;font-size:.78rem;line-height:1.3}
.studio-app .sample-grid img {border-radius:.24rem;aspect-ratio:1.55;object-fit:cover}
.studio-app .sample-grid span {padding:.35rem .2rem}
.writing-bar {row-gap:.5rem;column-gap:.4rem;align-items:center;padding-bottom:.35rem}
.writing-bar button[aria-pressed=true] {background:var(--guest-ink,#233728);color:var(--guest-paper,#fffdf9)}
.writing-bar button:first-child {font-weight:700}
.writing-bar button:nth-child(2) {font-style:italic}
.writing-bar button:last-child {margin-inline-start:auto}
.writing-check {font:400 .9rem/1.5 DM,system-ui,sans-serif;margin:.5rem 0;color:var(--guest-ink)}
.writing-check>button {text-decoration:underline;text-underline-offset:.22em;background:transparent;border:0;padding:.55rem .1rem;color:inherit}
.writing-check section {margin:.4rem 0;padding:.7rem 1rem;border-inline-start:2px solid var(--accent);background:var(--wash)}
.writing-check section p {margin:.4rem 0}
.writing-check del {text-decoration-thickness:1px}
.older-draft li {margin-block:.4rem}
.inspector .field :is(input:not([type=checkbox]), select, textarea) {border-radius:.42rem}
.inspector .method-toggle {gap:.65rem}
.inspector .method-toggle input,.inspector .heading-toggle input {accent-color:#4948b4}
.inspector .actions {row-gap:.45rem}
.inspector :focus-visible,.writing-check :focus-visible {outline:2px solid #4948b4;outline-offset:2px}
.entrance-map:focus-visible {outline:3px solid #4948b4;outline-offset:2px}
@media(max-width:540px) {
  .photo-viewer {width:calc(100% - 1rem);max-height:calc(100% - 1rem);padding:.8rem}
  .viewer-rail {gap:.35rem}
  .viewer-thumbs button {width:46px}
}
@media(max-height:500px) and (orientation:landscape){
  .photo-viewer {width:min(95vw,52rem);max-height:96vh;padding:.5rem .9rem}
  .photo-viewer .viewer-controls {margin:0 0 .2rem}
  .photo-viewer .viewer-image img {height:42vh}
  .viewer-rail {margin-top:.4rem;padding-top:.4rem}
}
@media(prefers-reduced-motion:reduce){.photo-control {transition:none!important}}

/* The entrance picker uses the Studio's own paper, ink and focus treatment. */
.venue-tools,.venue-picker,.venue-business[open]{display:grid;gap:.65rem}
.venue-tools p,.venue-tools small{margin:0}
.venue-tools small,.venue-lookup small{display:block;line-height:1.45}
.venue-picker,.venue-business,.venue-destination{padding:.75rem 0;border-bottom:1px solid var(--border)}
.venue-business summary,.venue-coordinates summary{cursor:pointer;font-weight:600;padding:.45rem 0}
.venue-business[open]>*+*{margin-top:.55rem}
.venue-check-note{font-size:.85rem;line-height:1.5}
.venue-destination a{display:inline-block;margin-top:.4rem}
.venue-dialog{box-sizing:border-box;color:inherit;background:var(--paper);border:1px solid var(--border);border-radius:1rem;box-shadow:0 1.2rem 4rem #15151c33;width:min(52rem,calc(100vw - 1.5rem));max-height:calc(100dvh - 1.5rem);overflow:auto;padding:clamp(.85rem,2.5vw,1.65rem);margin:auto}
.venue-dialog::backdrop{background:#1b1c2ccc}
.venue-dialog-heading,.venue-lookup,.venue-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.venue-dialog-heading h2{font-size:clamp(1.35rem,3vw,1.9rem);margin:0}
.venue-dialog .venue-lookup{padding:.75rem 0}
.venue-lookup strong{overflow-wrap:anywhere}
.venue-dialog .entrance-map{width:100%;height:clamp(16rem,45dvh,30rem);margin:.6rem 0;border-radius:.55rem;border:1px solid var(--border)}
.venue-dialog .venue-map-help,.venue-dialog .venue-map-status{font-size:.9rem;line-height:1.45;margin:.4rem 0}
.venue-dialog .venue-map-status:empty{display:none}
.venue-map-frame{position:relative}
.venue-dialog .venue-map-outage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--paper);color:var(--muted);border:1px solid var(--border);padding:.8rem 1.1rem;border-radius:.55rem;margin:0;max-width:23rem;width:calc(100% - 5rem);pointer-events:none;text-align:center}
.venue-dialog button.primary:disabled{background:var(--paper);border-color:var(--border);color:var(--muted);cursor:default}
.venue-coordinates>div{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.venue-dialog .venue-dialog-footer{padding-top:.75rem;margin-top:.5rem;border-top:1px solid var(--border)}
.venue-dialog button:not(.leaflet-control){min-height:2.6rem}
@media(max-height:500px){.venue-dialog .entrance-map{height:55dvh;min-height:10rem}}

/* The guide owns its paper, ink and spacing. Editor chrome sits above it. */
.guide-canvas {
  --light-paper:var(--wash,var(--guest-paper));
  --tinted-paper:var(--tint,var(--hero));
}
@supports(background:color-mix(in srgb,white,black)){
  .guide-canvas {
    --light-paper:color-mix(in srgb,var(--guest-paper,#fffdf8) 89%,var(--tone,var(--accent,#38583b)));
    --tinted-paper:color-mix(in srgb,var(--tint,var(--wash,#e4e9db)) 77%,var(--tone,var(--accent,#38583b)));
  }
}
.guide-block[data-surface],.guide-block:has(>.region-patches) {position:relative;isolation:isolate;--fill:transparent;--join-top:0px;--join-bottom:0px;--join-left:0px;--join-right:0px;--edge-top:0px;--edge-bottom:0px}
.guide-block[data-surface=light] {--fill:var(--light-paper)}
.guide-block[data-surface=tinted] {--fill:var(--tinted-paper)}
.guide-block[data-edge=fade] {--edge-top:1.35rem;--edge-bottom:1.35rem}
.guide-block[data-surface].styled-block,.guide-block[data-surface]>.passage {background:transparent}
.guide-block[data-surface]::before{
  content:"";position:absolute;pointer-events:none;z-index:-1;
  inset:var(--join-top) var(--join-right) var(--join-bottom) var(--join-left);
  background:linear-gradient(to bottom,transparent 0,var(--fill) var(--edge-top),
    var(--fill) calc(100% - var(--edge-bottom)),transparent 100%);
}
.block-grid {--seam:-7px;gap:14px;align-items:stretch}
.guide-canvas .block-grid.card-layout {display:grid;grid-template-columns:minmax(0,1fr)}
@container (min-width:530px){
  .guide-canvas .block-grid:is(.columns,.card-layout) {grid-template-columns:repeat(2,minmax(0,1fr))}
  .block-grid.stack.card-layout>.guide-block,.block-grid>.guide-block.card-full {grid-column:1/-1}
  .block-grid.stack.card-layout>.guide-block.card-half {grid-column:span 1}
  .wide-join-top{--join-top:var(--seam)!important;--edge-top:0px!important}
  .wide-join-bottom{--join-bottom:var(--seam)!important;--edge-bottom:0px!important}
  .wide-join-left{--join-left:var(--seam)!important}
  .wide-join-right{--join-right:var(--seam)!important}
}
@container(max-width:529.98px){
  .narrow-join-top{--join-top:var(--seam)!important;--edge-top:0px!important}
  .narrow-join-bottom{--join-bottom:var(--seam)!important;--edge-bottom:0px!important}
  .guide-canvas .block-grid>.guide-block {grid-column:auto}
}
/* Editor handles have no frame of their own. Explicit customer edges win. */
.guide-block:where(.can-edit) {border:0}
.guide-block.can-edit,.guide-block.can-edit:has(>.drag-handle) {
  border-radius:0;padding:0;min-height:1.8rem;
}
.guide-block.can-edit.styled-block {padding:var(--passage-space,1.15rem)}

.guide-block>.drag-handle {opacity:0;inset:.15rem .15rem auto auto;transition:opacity .15s}
.guide-block:is(:hover,:focus-within,.selected)>.drag-handle {opacity:1}
.guide-block:has(>.passage) .passage {height:100%}
.passage-columns {display:grid;min-width:0;gap:1rem}
@container(min-width:530px){.passage-columns.paired {grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3cqw,2.25rem)}}
.passage-columns>div,.gallery-frames figure {min-width:0}
.rich-passage {min-height:2.4em;overflow-wrap:anywhere;white-space:pre-wrap}
.passage-edit-prompt {font:500 .8rem/1.35 DM,system-ui,sans-serif;color:var(--muted-guest);text-decoration:underline;text-underline-offset:.2em}
.field-note {font:.84rem/1.5 DM,system-ui,sans-serif;display:block;margin:.1rem 0 .8rem;color:var(--muted,#424c42)}
.prominent-add {width:100%;min-height:44px;margin:.4em 0 .8em;font-weight:600}
.activity-times {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.activity-tools summary {cursor:pointer;padding:.6rem 0}
.contact-method + .contact-method {border-top:1px solid var(--border,#d8d8ce)}
.rsvp-sample {border:1px solid currentColor;border-radius:.35rem;padding:1.2rem;margin:.9rem 0 0}
.rsvp-sample legend {font-size:.87em;padding:0 .4em}
.rsvp-sample label {display:grid;gap:.3rem;margin:.5rem 0;font:500 .92em/1.4 DM,sans-serif}
.rsvp-sample input:not([type=radio]),.rsvp-sample textarea {width:100%;background:var(--guest-paper);color:var(--guest-ink);border:1px solid currentColor;border-radius:.25em;min-height:2rem}
.rsvp-choices {display:flex;flex-wrap:wrap;gap:1rem}
.rsvp-choices label {display:flex;align-items:center;gap:.35rem}
.closing-message .signature-names {font-family:var(--serif,Playfair,Georgia,serif);font-style:italic;font-weight:500;font-size:clamp(1.4rem,4cqw,2.1rem);line-height:1.35;letter-spacing:-.025em}
.closing-centred {text-align:center}.closing-centred p {margin-inline:auto}
.signature-image {display:inline-block;max-width:min(14rem,85%);max-height:6rem;object-fit:contain}
.closing-photo {display:grid;gap:1.2rem;align-items:center}
@container(min-width:530px){.closing-photo:has(.picture){grid-template-columns:minmax(9rem,.8fr) 1.5fr}}
.photo-story.single .gallery-frames {display:block}
.photo-story.single .gallery-frames figure {width:100%;margin:0}
@media(prefers-reduced-motion:reduce){.guide-block>.drag-handle{transition:none}}
.frame-pad.signature-preview {background:var(--paper,#fff);height:6rem;touch-action:auto}
.frame-pad.signature-preview img {width:100%;height:100%;object-fit:contain}
/* Paint intersecting horizontal and vertical fades behind the content. A pair
   of lanes lets each half of a full-width block join its own neighbour. */
.region-patches {display:none}
.guide-block {--fade-room:1.35rem}
@container(min-width:530px){
  .wide-region {--region-on:block;--edge-top:var(--fade-room);--edge-bottom:var(--fade-room)}
  .wide-region::before {display:none}
  .wide-join-left {--outer-left:0px}
  .wide-join-right {--outer-right:0px}
  .wide-patch-top-left>.region-patches i:first-child,.wide-patch-top-right>.region-patches i:last-child {--lane-top:0px;--extend-top:var(--seam)}
  .wide-patch-bottom-left>.region-patches i:first-child,.wide-patch-bottom-right>.region-patches i:last-child {--lane-bottom:0px;--extend-bottom:var(--seam)}
}
@container(max-width:529.98px){
  .narrow-region {--region-on:block;--edge-top:var(--fade-room);--edge-bottom:var(--fade-room)}
  .narrow-region::before {display:none}
}
.guide-block>.region-patches {display:var(--region-on,none);position:absolute;inset:var(--join-top) var(--join-right) var(--join-bottom) var(--join-left);z-index:-1;pointer-events:none}
.region-patches i {position:absolute;top:var(--extend-top,0);bottom:var(--extend-bottom,0);width:50%;background:var(--fill);
  mask-image:linear-gradient(to right,transparent,#000 var(--lane-left),#000 calc(100% - var(--lane-right)),transparent),
    linear-gradient(to bottom,transparent,#000 var(--lane-top,var(--edge-top)),#000 calc(100% - var(--lane-bottom,var(--edge-bottom))),transparent);
  mask-composite:intersect}
.region-patches i:first-child {left:0;--lane-left:var(--outer-left,var(--fade-room));--lane-right:0px}
.region-patches i:last-child {right:0;--lane-left:0px;--lane-right:var(--outer-right,var(--fade-room))}

/* An unavailable photo retains the guide's signed-in media boundary and frame. */
.unavailable-image{display:grid;place-items:center;min-width:0;min-height:2.25rem;width:100%;height:100%;padding:.35rem;background:var(--guest-paper,var(--paper));color:var(--guest-ink,var(--muted));font:400 .85rem/1.4 DM,sans-serif;text-align:center;overflow:hidden}
.sample-grid .unavailable-image,.viewer-thumbs .unavailable-image {min-height:2.7rem;background:var(--paper);border:1px dashed var(--border);border-radius:.3rem}

/* Stage 7G guest questions and specialist block controls */
.guest-form-sample {display:grid;gap:.95rem;max-inline-size:34rem;margin-block-start:1rem}
.guest-form-sample label,.guest-attendance-choice {display:grid;gap:.36rem;font:500 .95rem/1.4 DM,system-ui,sans-serif;color:inherit}
.guest-form-sample input:not([type=radio]),.guest-form-sample textarea {box-sizing:border-box;width:100%;min-width:0;padding:.65rem .8rem;border:1px solid color-mix(in srgb,currentColor 42%,transparent);border-radius:.35rem;background:color-mix(in srgb,var(--guest-paper,#fff) 86%,white);color:inherit;opacity:1;resize:none}
.guest-attendance-choice > div {display:flex;gap:.65rem;flex-wrap:wrap}
.guest-attendance-choice label {display:flex;align-items:center;gap:.45rem;border:1px solid color-mix(in srgb,currentColor 35%,transparent);padding:.5rem .8rem;border-radius:.35rem}
.guest-form-sample button:disabled {justify-self:start;min-height:44px;padding:.55em 1.1em;border:0;border-radius:.4rem;background:var(--guest-ink,#28362b);color:var(--guest-paper,#fff);font:600 .92rem/1.35 DM,sans-serif;opacity:1}
.guide-canvas .feature-subheading {font:600 1.02em/1.4 var(--body,DM,sans-serif);margin:.3em 0 .55em}
.guide-canvas .closing-photo:has(.picture) {display:grid;grid-template-columns:minmax(0,clamp(3.6rem,24%,9rem)) minmax(0,1fr);align-items:start;gap:clamp(.75rem,3cqw,1.6rem)}
.closing-photo .picture {width:100%;height:auto;aspect-ratio:4/5}
.closing-message .name-standard {font-style:normal;font-weight:400}
.closing-message .name-bold {font-style:normal;font-weight:700}
.closing-message .name-handwritten {font:400 clamp(1.8rem,5cqw,2.65rem)/1.25 "allura",cursive;letter-spacing:normal}
.inspector .item-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.9rem 0}
.inspector .item-actions button,.inspector .prominent-add,.inspector .precise-time-toggle {box-sizing:border-box;min-height:44px;padding:.45rem .65rem;line-height:1.25}
.inspector .item-actions .remove-item {grid-column:1/-1;justify-self:start;margin-top:.4rem}
.inspector .faq-add {margin-top:.45rem}
.time-choice {min-width:0}
.time-choice .field {margin-bottom:0}
.inspector .precise-time-toggle {background:transparent;border:0;text-decoration:underline;text-underline-offset:.2em;color:inherit;padding-inline:.15rem;font-size:.85rem}

.venue-dialog .entrance-map{background:#cfdee0}
.venue-land{fill:#e7e8d9;stroke:#aebcaf;stroke-width:.15}
.venue-outage{margin:.5rem 0;padding:.65rem;border:1px solid var(--border);border-radius:.45rem;background:var(--paper)}
.venue-outage p{margin:0 0 .45rem;line-height:1.45}
.venue-outage button+button{margin-inline-start:.45rem}

/* Keep the same native text surface beneath the pointer before and after its
   toolbar opens. The keyboard and caret remain under browser control. */
.rich-passage.passage-hit[data-empty] {position:relative}
.rich-passage.passage-hit[data-empty]::before {
  content:attr(data-edit-prompt);pointer-events:none;position:absolute;inset-inline-start:0;
  color:var(--muted-guest,currentColor);font:500 .86rem/1.5 DM,system-ui,sans-serif;
}
.workspace {inline-size:100%;min-inline-size:0}
.workspace :is(.canvas-area,.pages,.inspector) {min-inline-size:0}
@media(pointer:coarse){
  .workspace :is(input:not([type=range]):not([type=checkbox]),textarea,.rich-passage){font-size:max(16px,1em)}
}
html {text-size-adjust:100%;-webkit-text-size-adjust:100%}
.studio-app {width:100%;min-width:0}

/* Keep finite choices beside the setting, including at the foot of a tablet inspector. */
.inspector .visual-choices {min-width:0;padding:0;margin:.7rem 0;border:0}
.visual-choices legend {font-weight:600;margin-bottom:.4rem}
.choice-tiles {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.32rem}
.spacing-choices .choice-tiles {display:flex;flex-wrap:wrap}
.spacing-choices .choice-tile {flex:1 0 auto}
.spacing-choices .choice-face {white-space:nowrap;padding-inline:.3em}
.surface-choices .choice-tiles {grid-template-columns:repeat(2,minmax(0,1fr))}
.choice-tile {position:relative;display:grid;min-width:0;cursor:pointer}
.inspector .choice-tile input {position:absolute;inset:0;width:100%;height:100%;z-index:1;margin:0;opacity:0;cursor:pointer}
.choice-face {display:flex;align-items:center;justify-content:center;gap:.38em;min-height:44px;padding:.35em .15em;text-align:center;overflow-wrap:anywhere;border:1px solid var(--border);border-radius:.42rem;background:var(--paper);font:500 .83rem/1.2 DM,system-ui,sans-serif}
.choice-tile:hover .choice-face {border-color:var(--muted)}
.choice-tile input:checked+.choice-face {border-color:#4948b4;box-shadow:inset 0 0 0 1px #4948b4;background:#efedf9}
.choice-tile input:focus-visible+.choice-face {outline:2px solid #4948b4;outline-offset:2px}
.gallery-choices .choice-face {flex-direction:column;gap:.3rem;padding:.6rem .15rem}
.gallery-glyph {width:2.6rem;height:1.55rem;display:grid;gap:2px;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;color:#5c5b87}
.gallery-glyph i {background:currentColor;border-radius:2px}
.glyph-feature {grid-template-columns:1.7fr 1fr}
.glyph-feature i:first-child {grid-row:span 2}
.glyph-feature i:last-child {display:none}
.glyph-swipe {grid-template-columns:repeat(3,3px);grid-template-rows:1fr 3px;justify-content:center;position:relative}
.glyph-swipe i:first-child {grid-column:1/-1;justify-self:center;width:2.6rem}
.glyph-swipe i:nth-child(n+3) {opacity:.5}
.paint-swatch {flex:none;width:1.05em;height:1.05em;border-radius:50%;background:var(--swatch);border:1px solid #68696380}
.swatch-plain,.swatch-template,.swatch-paper {--swatch:var(--sample-guest-paper,#fffdf8)}
.swatch-guide,.swatch-plain {--swatch:var(--sample-guide-base,#fffdf8)}
.swatch-hero {--swatch:var(--sample-hero-fill,#dce5c8)}
.swatch-light {--swatch:var(--sample-light-paper,#eeeedd)}
.swatch-tinted {--swatch:var(--sample-tinted-paper,#c4cdb2)}

/* Guide paper and the actual cover base are independently reusable paints. */
.guide-canvas {--hero-fill:var(--hero);--guide-base:var(--guest-paper)}
.guide-canvas:is(.edition-editorial,.custom-cover).composition-noir {--hero-fill:#1c201b}
.guide-canvas:is(.edition-editorial,.custom-cover).composition-cobalt {--hero-fill:#192837}
.guide-canvas:is(.edition-editorial,.custom-cover).composition-petal {--hero-fill:#f8f1e9}
.guide-canvas.composition-petal:not(.theme-petal),.guide-canvas.composition-meadow:not(.theme-meadow) {--hero-fill:#f2ece2}
.guide-canvas[class*=" palette-"]:not(.composition-noir) {--hero-fill:var(--tint)}
.guide-canvas[data-page-paint=hero] {--guide-base:var(--hero-fill)}
.guide-canvas[data-page-paint=light] {--guide-base:var(--light-paper)}
.guide-canvas[data-page-paint=tinted] {--guide-base:var(--tinted-paper)}
.guide-canvas[data-page-paint],.guide-canvas[data-page-paint]>.guest-nav,.guide-canvas[data-page-paint]>.guide-credit,
.guide-canvas.guide-canvas[data-page-paint]>.guest-section:nth-of-type(n) {background:var(--guide-base)}
.guide-block[data-surface=guide] {--fill:var(--guide-base)}
.guide-block[data-surface=hero] {--fill:var(--hero-fill)}
.guide-canvas[data-page-paint] .guide-block[data-surface=plain] {--fill:var(--guide-base)}
.guide-block:is([data-surface=guide],[data-surface=hero])>:is(.passage,.info-card){background:transparent}
.guide-block[data-surface]>.info-card,.guide-block[data-surface]>.contact {background:transparent}
.guide-canvas:is(.composition-noir,.theme-noir:not([class*=" palette-"]),.theme-cobalt:not([class*=" palette-"])) .guide-block[data-surface=hero],
.guide-canvas:is(.composition-noir,.theme-noir:not([class*=" palette-"]),.theme-cobalt:not([class*=" palette-"]))[data-page-paint=hero] :is(.guest-nav,.section-intro,.guide-credit,.guide-block:not([data-surface]),.guide-block[data-surface=guide],.guide-block[data-surface=plain]) {
  color:#fffaf0;--muted-guest:#eee6d8}
.guide-canvas:is(.composition-noir,.theme-noir:not([class*=" palette-"]),.theme-cobalt:not([class*=" palette-"])) .guide-block[data-surface=hero] a {color:inherit}
.guide-block[data-edge=bottom],.guide-canvas[data-hero-edge=bottom]>.cover {border-bottom:2px solid var(--accent)}
.guide-canvas[data-hero-edge=top]>.cover {border-top:2px solid var(--accent)}
.guide-canvas[data-hero-edge=side]>.cover {border-inline-start:3px solid var(--accent)}
.guide-canvas[data-hero-edge]:is([data-hero-edge=none],[data-hero-edge=fade])>.cover {border:none}
.guide-canvas.guide-canvas[data-hero-edge=fade]>.cover {
  position:relative;isolation:isolate;background:transparent;padding:clamp(1.5rem,4cqw,3rem);
  --hero-room:1.35rem}
.guide-canvas[data-hero-edge=fade]>.cover::before {
  content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:var(--hero-fill);
  mask-image:linear-gradient(to right,transparent,#000 var(--hero-room),#000 calc(100% - var(--hero-room)),transparent),
    linear-gradient(to bottom,transparent,#000 var(--hero-room),#000 calc(100% - var(--hero-bottom,var(--hero-room))),transparent);
  mask-composite:intersect}
.guide-canvas[data-hero-edge=fade][data-layout=soft-fade] .cover-image {margin:0;mask-image:none}
.guide-canvas[data-hero-edge=fade]:is([data-layout=panoramic],.composition-noir) .cover-image {inset:clamp(1.5rem,4cqw,3rem)}
@container(min-width:530px){
  .guide-canvas[data-join-wide=both]>.cover {--hero-bottom:0px}
  .guide-canvas[data-join-wide=left]>:is(.cover,.guest-nav,#section-0) {--join-half:linear-gradient(to right,#000 calc(50% - 1.35rem),transparent 50%);--bridge-right:transparent}
  .guide-canvas[data-join-wide=right]>:is(.cover,.guest-nav,#section-0) {--join-half:linear-gradient(to left,#000 calc(50% - 1.35rem),transparent 50%);--bridge-left:transparent}
  .guide-canvas:is([data-join-wide=left],[data-join-wide=right])>.cover::after {content:"";position:absolute;inset:auto 0 0;height:var(--hero-room);pointer-events:none;z-index:-2;background:var(--hero-fill);
    mask-image:var(--join-half),linear-gradient(to right,transparent,#000 var(--hero-room),#000 calc(100% - var(--hero-room)),transparent);mask-composite:intersect}
  .guide-canvas[data-join-wide]>.guest-nav,.guide-canvas[data-join-wide]>#section-0 {--bridge:var(--hero-fill)}
}
@container(max-width:529.98px){
  .guide-canvas[data-join-narrow]>.cover {--hero-bottom:0px}
  .guide-canvas[data-join-narrow]>.guest-nav,.guide-canvas[data-join-narrow]>#section-0 {--bridge:var(--hero-fill)}
}
.guide-canvas[data-hero-edge=fade]>.guest-nav {background-color:var(--guide-base);background-image:linear-gradient(to right,transparent,var(--bridge-left,var(--bridge)) 1.35rem,var(--bridge-left,var(--bridge)) calc(50% - 1.35rem),var(--bridge-right,var(--bridge)) calc(50% + 1.35rem),var(--bridge-right,var(--bridge)) calc(100% - 1.35rem),transparent);border-color:transparent}
.guide-canvas[data-hero-edge=fade]>#section-0 {position:relative;isolation:isolate;overflow:clip;--bridge-indent:clamp(20px,6cqw,80px);--bridge-depth:clamp(24px,5cqw,64px);padding-inline:var(--bridge-indent);padding-top:var(--bridge-depth)}
.guide-canvas[data-hero-edge=fade]>#section-0>.block-grid {position:relative}
.guide-canvas[data-hero-edge=fade]>#section-0>.block-grid::before {content:"";position:absolute;left:calc(-1 * var(--bridge-indent));right:calc(-1 * var(--bridge-indent));bottom:100%;height:100vh;z-index:-1;pointer-events:none;
  background:linear-gradient(to top,transparent,var(--bridge) var(--bridge-depth)),
    linear-gradient(to right,transparent var(--bridge-indent),var(--bridge) calc(var(--bridge-indent) + 1.35rem),var(--bridge) calc(100% - var(--bridge-indent) - 1.35rem),transparent calc(100% - var(--bridge-indent)));
  mask-image:var(--join-half,linear-gradient(#000,#000)),linear-gradient(to right,transparent,#000 1.35rem,#000 calc(100% - 1.35rem),transparent);mask-composite:intersect}

/* Density adjusts the rhythm inside each composition, leaving photographs usable. */
.guide-block[data-spacing=compact] {--rhythm:.36rem;--frame-gap:.65rem;--inset:.65rem}
.guide-block[data-spacing=comfortable] {--rhythm:.64rem;--frame-gap:1.1rem;--inset:1rem}
.guide-block[data-spacing=spacious] {--rhythm:1.06rem;--frame-gap:1.7rem;--inset:1.35rem}
.guide-block[data-spacing].styled-block,.guide-block[data-spacing]>.passage {padding:var(--inset)}
.guide-block[data-spacing] :is(.feature,.profile,.closing-photo,.gallery-frames,.passage-columns,.contact) {gap:var(--frame-gap)}
.guide-block[data-spacing] :is(.occasion,.contact,.closing-message)>:not(:first-child),
.guide-block[data-spacing] :is(h3,.feature-subheading)+*,.guide-block[data-spacing] p:not(:first-child) {margin-block:var(--rhythm) 0}
.guide-block[data-spacing] :is(p,address,figcaption,.event-meta) {line-height:1.55}
.guide-block[data-spacing] h3 {margin-bottom:var(--rhythm)}
.guide-block:is(.wide-region,.narrow-region)[data-spacing].styled-block,
.guide-block:is(.wide-region,.narrow-region)[data-spacing]>.passage {padding:max(var(--inset),1.5rem)}

.save-notices:empty {display:none}
.save-notices {flex:none}

.pages .outline-group {display:grid;gap:.3rem;min-width:0;padding:.5rem 0;border-bottom:1px solid var(--border)}
.pages :is(.outline-item,.outline-cover) {display:block;width:100%;text-align:left;padding:.5rem .75rem;min-height:44px;border:1px solid transparent;background:transparent;color:inherit;font:inherit;overflow-wrap:anywhere}
.pages :is(.outline-item,.outline-cover)[aria-current=true] {border-color:#4948b4;background:#eeeefa}
.pages .outline-group:has(.sort-section) .outline-item {padding-inline-start:1.25rem}
.guide-canvas :is(h1,h2,h3,h4),.panel textarea {overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}
.passage-columns {align-items:stretch}
.passage-part {min-width:0}
.passage-part[data-paint],.passage-columns:has(>.passage-part[data-paint])>.passage-part {padding:clamp(.75rem,2cqw,1.4rem)}
.passage-part[data-paint=plain] {background:var(--guest-paper)}
.passage-part[data-paint=guide] {background:var(--guide-base)}
.passage-part[data-paint=hero] {background:var(--hero-fill)}
.passage-part[data-paint=light] {background:var(--light-paper)}
.passage-part[data-paint=tinted] {background:var(--tinted-paper)}
.passage-part h4 {font-family:inherit;font-size:1.22em;line-height:1.2;margin:0 0 .65em}
.passage-part > :first-child {margin-top:0}
.guide-block .passage > h2 {font-size:clamp(1.8rem,4cqw,3.25rem);line-height:1.12;margin:.3em 0}

.surface-choices .choice-face {justify-content:flex-start;text-align:start;gap:.5rem;padding:.45rem .55rem;height:100%;box-sizing:border-box}
.surface-choices .choice-tiles {grid-auto-rows:1fr;gap:.4rem}
.swatch-template {background:linear-gradient(120deg,var(--sample-guest-paper,#fffdf8) 50%,var(--sample-tint,var(--sample-guest-paper,#fffdf8)) 50%)}
.swatch-plain {--swatch:var(--sample-section,var(--sample-guide-base,#fffdf8))}
.inspector fieldset {min-width:0}
.inspector .danger {margin-block-start:.65rem}
.inspector .paired-controls {display:grid;gap:.85rem}
.inspector .paired-controls .field,.inspector .paired-controls fieldset {margin:0}

.palette-switch,.wheel-modes,.saved-palette-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}
.wheel-modes {grid-auto-rows:1fr}
.wheel-modes button {min-width:0; text-transform:none}
.palette-switch button,.wheel-modes button,.saved-palette-list button,.palette-maker>button {min-height:44px;white-space:normal}
.palette-switch {margin-bottom:.8rem}
.palette-maker {display:grid;gap:.8rem}
.wheel-wrap {display:grid;gap:.65rem}
.palette-wheel {position:relative;width:min(84%,13rem);aspect-ratio:1;justify-self:center;margin:.5rem;touch-action:none;cursor:crosshair;border-radius:50%}
.palette-wheel:focus-visible {outline:3px solid #4948b4;outline-offset:7px}
.palette-wheel canvas {display:block;width:100%;height:100%;pointer-events:none}
.wheel-hub,.wheel-pin {position:absolute;border-radius:50%;pointer-events:none}
.wheel-hub {inset:37.5%;border:1px solid #7778}
.wheel-pin {width:16px;height:16px;box-sizing:border-box;transform:translate(-50%,-50%);border:3px solid white;box-shadow:0 0 0 2px #252839}
.palette-strip {display:flex;width:100%;height:1.15rem;border:1px solid #7777;border-radius:.35rem;overflow:hidden}
.palette-strip i {flex:1}
.saved-palette-list button {display:grid;text-align:left;gap:.35rem;padding:.45rem;overflow-wrap:anywhere}
.saved-palettes details {margin-top:.7rem;padding-top:.65rem;border-top:1px solid var(--border)}
.saved-palettes details>button {display:block;width:100%;margin-block:.4rem;min-height:44px}
.guide-canvas[data-custom-palette] {color:var(--guest-ink);background:var(--guide-base)}
.guide-canvas[data-custom-palette]:not([data-page-paint])>.guest-section:nth-of-type(even) {background:var(--light-paper)}
.guide-canvas[data-custom-palette]>.cover:not(:empty) {color:var(--custom-hero-ink)}
.guide-canvas[data-custom-palette]:not([data-hero-edge=fade])>.cover {background-color:var(--hero-fill)}
.guide-canvas[data-custom-palette] .cover-copy :is(h1,p,.cover-kicker) {color:var(--custom-hero-ink)}
.guide-canvas[data-custom-palette][data-layout=panoramic] .cover-copy {background:var(--hero-fill);color:var(--custom-hero-ink)}
.guide-canvas[data-custom-palette][data-layout=panoramic] .cover-copy :is(h1,p,.cover-kicker) {color:var(--custom-hero-ink)}
.guide-canvas[data-custom-palette] {--base-ink:var(--guest-ink)}
.guide-canvas[data-custom-palette][data-page-paint=hero] {--base-ink:var(--custom-hero-ink)}
.guide-canvas[data-custom-palette][data-page-paint=tinted] {--base-ink:var(--custom-strong-ink)}
.guide-canvas[data-custom-palette] :is(.guest-nav,.guest-section,.guide-credit) {color:var(--base-ink)}
.guide-canvas[data-custom-palette] :is([data-surface=light],[data-paint=light],[data-paint=plain]) {color:var(--guest-ink)}
.guide-canvas[data-custom-palette] :is([data-surface=hero],[data-paint=hero]) {color:var(--custom-hero-ink)}
.guide-canvas[data-custom-palette] :is([data-surface=tinted],[data-paint=tinted]) {color:var(--custom-strong-ink)}
.guide-canvas[data-custom-palette] :is([data-surface=guide],[data-surface=plain],[data-paint=guide]) {color:var(--base-ink)}
.guide-canvas[data-custom-palette] :is(.guest-nav,.guest-section) a {color:inherit;text-decoration:underline}
.guide-canvas[data-custom-palette] :is(.passage-action a,.guest-form-sample button:disabled) {background:var(--custom-button);color:var(--custom-button-ink)}
.guide-canvas[data-custom-palette] :is(.cover-copy,.section-intro) {border-color:var(--custom-rule)}
.guide-canvas.theme-studio[data-custom-palette] .cover-copy :is(h1,p,.cover-kicker) {color:var(--custom-hero-ink)}

/* Paint only the section gutters and half of each grid gap. The panel,
   including its original template treatment, keeps its own paint. */
.guide-block {
  position:relative; isolation:isolate;
  --band-top:7px; --band-right:7px; --band-bottom:7px; --band-left:7px;
}
.guide-block[data-outer=guide] {--outer-fill:var(--guide-base)}
.guide-block[data-outer=hero] {--outer-fill:var(--hero-fill)}
.guide-block[data-outer=paper] {--outer-fill:var(--guest-paper)}
.guide-block[data-outer=light] {--outer-fill:var(--light-paper)}
.guide-block[data-outer=tinted] {--outer-fill:var(--tinted-paper)}
.guide-block[data-outer]::after {
  content:""; position:absolute; pointer-events:none; z-index:-2;
  inset:calc(0px - var(--band-top)) calc(0px - var(--band-right)) calc(0px - var(--band-bottom)) calc(0px - var(--band-left));
  border:solid var(--outer-fill);
  border-width:var(--band-top) var(--band-right) var(--band-bottom) var(--band-left);
}
@container (min-width:530px) {
  .guide-block.wide-outer-left {--band-left:var(--section-x)}
  .guide-block.wide-outer-right {--band-right:var(--section-x)}
  .guide-block.wide-outer-top {--band-top:calc(var(--section-y) + var(--section-seam,0px))}
  .guide-block.wide-outer-bottom {--band-bottom:var(--section-y)}
}
@container (max-width:529.98px) {
  .guide-block.narrow-outer-left {--band-left:var(--section-x)}
  .guide-block.narrow-outer-right {--band-right:var(--section-x)}
  .guide-block.narrow-outer-top {--band-top:calc(var(--section-y) + var(--section-seam,0px))}
  .guide-block.narrow-outer-bottom {--band-bottom:var(--section-y)}
}
.guide-block[data-surface=paper] {--fill:var(--guest-paper);color:var(--guest-ink)}
.passage-part[data-paint=paper] {background:var(--guest-paper);color:var(--guest-ink)}
.inspector .surface-choices + .surface-choices {margin-top:1rem}
/* Include the existing divider when composing heading-free sections. */
.guest-section + .guest-section {--section-seam:1px}

/* A selected outer colour continues beneath a feathered panel. Solid panels
   retain their original template treatment, including transparent defaults. */
.guide-block[data-outer]:has(>.region-patches)::after {background:var(--outer-fill)}
.guide-block[data-outer] {margin-block:.35rem;--outer-margin:.35rem;--band-top:calc(7px + .35rem);--band-bottom:calc(7px + var(--outer-margin,0px))}
@container(min-width:530px){
  .guide-block.wide-outer-top {--band-top:calc(var(--section-y) + var(--section-seam,0px) + var(--outer-margin,0px))}
  .guide-block.wide-outer-bottom {--band-bottom:calc(var(--section-y) + var(--outer-margin,0px))}
  .guide-canvas .block-grid.card-layout>.guide-block.pair-start {grid-column:1}
  .guide-canvas .block-grid.card-layout>.guide-block.pair-end,.guide-canvas .block-grid>.empty-partner {grid-column:2}
  .guide-canvas .block-grid.card-layout>.guide-block.card-half.pair-alone {grid-column:1/-1}
}
@container(max-width:529.98px){
  .guide-block.narrow-outer-top {--band-top:calc(var(--section-y) + var(--section-seam,0px) + var(--outer-margin,0px))}
  .guide-block.narrow-outer-bottom {--band-bottom:calc(var(--section-y) + var(--outer-margin,0px))}
}
@container(min-width:530px){
  .pair-start:has(+.pair-end[data-outer]),.pair-start[data-outer]+.pair-end {margin-block:.35rem}
}
.empty-partner {align-self:stretch;display:grid;align-content:center;justify-items:center;gap:.6rem;border:1px dashed currentColor;border-radius:.45rem;padding:1rem;min-width:0}
.empty-partner button,.name-choices button {min-height:44px;overflow-wrap:anywhere}
.pair-options,.clock-parts,.name-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.guide-block {min-width:0;overflow-wrap:anywhere}
.inspector .activity-times {display:grid;grid-template-columns:minmax(0,1fr);gap:.85rem}
.clock-parts .field {min-width:0}
.clock-parts select {width:100%;min-height:44px}
.preview-overlay .preview-scroll {overflow:hidden;position:relative}
.preview-overlay header {flex-wrap:wrap}
@media(max-width:640px){.preview-overlay header strong {display:none}.preview-overlay header label {flex-wrap:wrap;min-width:0}}
.guide-canvas[class*=" font-"],.type-preview[class],.guide-canvas[class*=" font-"] :is(input,textarea,button,.guest-nav,.cover-kicker) {font-family:var(--body)}
.guide-canvas[class*=" font-"] :is(h1,h2,h3,h4,.feature-subheading,.schedule-group,.timeline li>div>strong) {font-family:var(--heading)}
.type-preview span {font-family:var(--body)}

.name-choices button {display:grid;gap:.3rem;align-content:start;text-align:left;min-width:0;padding:.65rem}
.name-choices small {font:500 .77rem/1.2 DM,sans-serif}
.name-choices span {font-size:1.3rem;line-height:1.25}
.name-choices [aria-pressed=true] {outline:2px solid currentColor;outline-offset:-2px}
.name-standard {font-family:DM,sans-serif;font-weight:400}
.name-bold {font-family:DM,sans-serif;font-weight:700}
.name-italic {font-family:lora,Georgia,serif;font-style:italic}
.name-elegant,.closing-message .name-elegant {font-family:cormorant-garamond,Georgia,serif;font-style:normal}
.name-handwritten,.closing-message .name-handwritten {font-family:allura,cursive;font-style:normal}
.name-script,.closing-message .name-script {font-family:dancing-script,cursive;font-style:normal}
.closing-message .name-standard,.closing-message .name-bold {font-family:DM,sans-serif}
.closing-message .name-italic {font-family:lora,Georgia,serif}
.signoff-draw canvas {display:block;width:100%;height:auto;touch-action:none;border:1px solid #888;border-radius:.4rem}
.drawing-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;margin-top:.6rem}
.signature-preview .signature-image {max-height:100%;object-fit:contain}

@media(max-width:640px){
  .preview-overlay header {display:grid;grid-template-columns:1fr auto;align-items:center;gap:.4rem .65rem}
  .preview-overlay header label {grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:auto 1fr}
  .preview-overlay header select {width:100%}
}

/* Stage 7L editor controls */
.inspector .alignment {min-width:0}
.alignment > div {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}
.alignment button {min-width:0;min-height:44px;display:grid;place-items:center}
.inspector .passage-controls {background:var(--paper);border:1px solid var(--border);border-radius:.55rem;padding:.75rem;min-width:0}
.inspector .passage-controls legend {padding-inline:.3rem}
.inspector .panel-head h2 {min-width:0;overflow-wrap:anywhere}
.inspector .panel-head h2 small {display:block;font:600 .72rem/1.3 DM,sans-serif;color:var(--muted);letter-spacing:.02em}
.inspector .panel-head h2 .current-name {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}


.clock-parts:has(>label:nth-child(3)) {grid-template-columns:repeat(3,minmax(0,1fr))}
.clock-parts select {padding-inline:.3rem}
.inspector .gallery-choices .choice-tiles {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}
.gallery-choices .choice-face {height:100%;min-height:64px;justify-content:center;text-align:center}
.gallery-glyph {grid-auto-rows:1fr;grid-template-rows:none}
.glyph-feature {grid-template-columns:1fr 1fr}
.glyph-feature i:first-child {grid-column:1/-1;grid-row:auto}
.glyph-feature i:last-child {display:block}
.glyph-feature-side:has(i:nth-child(3)) {grid-template-columns:1.35fr 1fr}
.glyph-feature-side:has(i:nth-child(3)) i:first-child {grid-row:span 2}
.glyph-grid i:only-child,.glyph-feature-side i:only-child,
.glyph-grid i:last-child:nth-child(odd),
.glyph-feature-side i:last-child:nth-child(even):nth-child(n+4) {grid-column:1/-1}
.glyph-swipe {display:flex;gap:2px;overflow:hidden}
.glyph-swipe i {flex:0 0 85%;height:100%}
.glyph-swipe i:only-child {flex-basis:100%}

/* The document direction controls reading order. Explicit alignment stays physical. */
[data-heading-align=left] {--heading-align:left}
[data-heading-align=center] {--heading-align:center}
[data-heading-align=right] {--heading-align:right}
[data-body-align=left] {--copy-align:left}
[data-body-align=center] {--copy-align:center}
[data-body-align=right] {--copy-align:right}
.guide-canvas [data-heading-align] :is(h1,h2,h3,.cover-kicker),
.guide-canvas .passage-part[data-heading-align] h4 {text-align:var(--heading-align)}
.guide-canvas [data-body-align] :is(p,address,figcaption,summary,.rich-passage,.event-meta,.schedule-group,.timeline li strong),
.guide-canvas [data-body-align] :is(.personal-signoff,.contact,.guest-form-sample),
.guide-canvas .personal-signoff[data-body-align] {text-align:var(--copy-align)}
.guide-block[data-heading-align] .action {text-align:var(--heading-align)}
.guide-canvas :is(.cover-copy,.guide-block)[data-body-align] p {max-inline-size:none}
.guide-block[data-body-align] :is(.schedule-group,.timeline li strong) {display:block}
.guide-canvas[dir=rtl] :is(input[type=tel],input[type=email],a[href^="tel:"],a[href^="mailto:"]) {direction:ltr;unicode-bidi:isolate}
.guide-block.card-inset {width:min(100%,max(18rem,80%));grid-column:1/-1}
.guide-block[data-panel-align=left] {justify-self:left}
.guide-block[data-panel-align=center] {justify-self:center}
.guide-block[data-panel-align=right] {justify-self:right}
.guide-canvas:dir(rtl) .gallery-nav svg {transform:scaleX(-1)}
.passage-part.lead .rich-passage {font-size:1.15em}
.passage-part.quote :is(p,.rich-passage) {border:0;border-inline-start:2px solid var(--muted-guest);padding:0;padding-inline-start:15px}

/* Top keeps the stored 'feature' arrangement. The side variant mirrors with dir. */
.photo-story.feature-side .gallery-frames:has(figure:nth-child(3)) {grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.photo-story.feature-side .gallery-frames:has(figure:nth-child(3)) figure:first-child {grid-row:span 2;display:flex;flex-direction:column}
.photo-story.feature-side .gallery-frames:has(figure:nth-child(3)) figure:first-child > :is(.canvas-photo,a,.picture) {flex:1;min-height:0;position:relative}
.photo-story.feature-side .gallery-frames:has(figure:nth-child(3)) figure:first-child > :is(.canvas-photo,a) .picture {position:absolute;inset:0;height:100%;width:100%;aspect-ratio:auto}
.photo-story.grid figure:last-child:nth-child(odd),
.photo-story.feature-side figure:last-child:nth-child(even):nth-child(n+4) {grid-column:1/-1}
.photo-story.grid figure:last-child:nth-child(odd):not(:only-child) .picture,

.photo-story.feature-side figure:last-child:nth-child(even):nth-child(n+4) .picture {aspect-ratio:2.3}

/* Blend at the copy edge independently of the outer cover compositor. */
.guide-canvas.theme-studio[data-layout=panoramic] .cover-copy {
  background:linear-gradient(to bottom,transparent,var(--hero-fill) clamp(2rem,7cqw,5rem));
  padding-top:clamp(2.5rem,9cqw,6.5rem)
}
.guide-canvas.theme-studio[data-layout=panoramic] .cover-copy :is(h1,p,.cover-kicker) {color:var(--custom-hero-ink,var(--guest-ink))}
.guide-canvas.theme-studio[data-layout=editorial] .cover-image {
  mask-image:linear-gradient(to bottom,transparent,#000 clamp(1.75rem,6cqw,4.5rem))
}

.guide-block:has(>.outer-rule) {position:relative;isolation:isolate}
.outer-rule {position:absolute;pointer-events:none;z-index:1;
  inset:calc(0px - var(--band-top,0px)) calc(0px - var(--band-right,0px)) calc(0px - var(--band-bottom,0px)) calc(0px - var(--band-left,0px))}
[data-outer-edge=top]>.outer-rule,[data-part-edge=top] {border-block-start:2px solid var(--accent)}
[data-outer-edge=bottom]>.outer-rule,[data-part-edge=bottom] {border-block-end:2px solid var(--accent)}
[data-outer-edge=side]>.outer-rule,[data-part-edge=side] {border-inline-start:3px solid var(--accent)}
[data-outer-edge=border]>.outer-rule,[data-part-edge=border],
.guide-block[data-edge=border].styled-block,.guide-block[data-edge=border]>.passage {border:2px solid var(--accent)}
.guide-block[data-edge=border]>.passage,.passage-part[data-part-edge]:not([data-part-edge=none]) {padding:var(--passage-space,1rem)}
.guide-block[data-outer][data-outer-edge=fade]::after {
  mask-image:linear-gradient(to right,transparent,#000 var(--outer-fade-left,.8rem),#000 calc(100% - var(--outer-fade-right,.8rem)),transparent),
    linear-gradient(to bottom,transparent,#000 var(--outer-fade-top,.8rem),#000 calc(100% - var(--outer-fade-bottom,.8rem)),transparent);
  mask-composite:intersect
}
.passage-part[data-paint=light] {--part-fill:var(--light-paper)}
.passage-part[data-paint=tinted] {--part-fill:var(--tinted-paper)}
.passage-part[data-paint=hero] {--part-fill:var(--hero-fill)}
.passage-part[data-paint=guide] {--part-fill:var(--guide-base)}
.passage-part:is([data-paint=plain],[data-paint=paper]) {--part-fill:var(--guest-paper)}
.passage-part[data-part-edge=fade] {position:relative;isolation:isolate;background:transparent}
.passage-part[data-part-edge=fade]::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--part-fill,transparent);
  mask-image:linear-gradient(to right,transparent,#000 .85rem,#000 calc(100% - .85rem),transparent),
    linear-gradient(to bottom,transparent,#000 .85rem,#000 calc(100% - .85rem),transparent);
  mask-composite:intersect
}
@container(min-width:530px) {
  .wide-outer-join-left {--outer-fade-left:0px}
  .wide-outer-join-right {--outer-fade-right:0px}
  .wide-outer-join-top {--outer-fade-top:0px}
  .wide-outer-join-bottom {--outer-fade-bottom:0px}
}
@container(max-width:529.98px) {
  .narrow-outer-join-left {--outer-fade-left:0px}
  .narrow-outer-join-right {--outer-fade-right:0px}
  .narrow-outer-join-top {--outer-fade-top:0px}
  .narrow-outer-join-bottom {--outer-fade-bottom:0px}
}

.workspace .inspector .panel-head {box-shadow:0 -1.5rem 0 var(--paper)}

.alignment button {align-content:center;gap:.2rem;padding:.3rem .15rem}
.alignment button span {font:500 .77rem/1.15 DM,sans-serif}
.canvas-area [data-selected-section] {outline:2px solid #4948b4;outline-offset:-2px}
.guide-canvas[dir] :is(h1,h2,h3,h4,p,address,figcaption,summary,.rich-passage,.cover-kicker,.event-meta),
.inspector :is(textarea,input)[dir=rtl] {unicode-bidi:plaintext}

/* Measure columns against the content panel, including inside a paired block. */
.contact,.timeline {container-type:inline-size;min-width:0}
.contact-list {display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.contact-person {display:flex;flex-direction:column;align-items:stretch;gap:.3rem;min-width:0;overflow-wrap:anywhere}
.contact-person a {display:block;align-self:stretch;min-height:2.75rem;align-content:center;text-align:var(--copy-align,inherit)}
.guide-canvas[dir=rtl] .contact-person a {text-align:var(--copy-align,right)}
.inspector .rich-passage[dir] {unicode-bidi:plaintext}
.contact-person p {margin:0}
@container(min-width:28rem){.contact-list:has(>:nth-child(2)) {grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(min-width:44rem){.contact-list:has(>:nth-child(3)) {grid-template-columns:repeat(3,minmax(0,1fr))}}
.timeline li {grid-template-columns:minmax(4.5em,auto) minmax(0,1fr);align-items:start;gap:.3rem .85rem;padding-block:.7rem}
.timeline li>.schedule-group {grid-column:1/-1}
.activity-time {grid-column:1}
.activity-name,.activity-description,.activity-links {grid-column:2;min-width:0}
.timeline li .activity-description {margin:0}
.activity-links {display:grid;align-content:start}
.activity-links a {min-height:2.75rem;align-content:center;overflow-wrap:anywhere}
@container(min-width:40rem){
  .timeline li {grid-template-columns:minmax(5em,1fr) minmax(0,1.4fr) minmax(0,1.9fr) minmax(5em,.85fr)}
  .activity-description {grid-column:3}
  .activity-links {grid-column:4}
  .timeline:not(:has(.activity-links)) li {grid-template-columns:minmax(5em,1fr) minmax(0,1.4fr) minmax(0,2fr)}
  .timeline:not(:has(.activity-description)) li {grid-template-columns:minmax(5em,1fr) minmax(0,2fr) 0 minmax(5em,1fr)}
  .timeline:not(:has(.activity-description,.activity-links)) li {grid-template-columns:minmax(5em,1fr) minmax(0,3fr)}
}


/* The outer region occupies its grid cell even when its content panel is inset. */
.guide-canvas .block-grid>.inset-region {grid-column:1/-1;display:grid;min-width:0}
.inset-region[data-outer]::after {background:var(--outer-fill)}
.inset-region>.card-inset {grid-row:1;margin:0}
.selection-outline {
  position:absolute;pointer-events:none;z-index:3;
  inset:calc(0px - var(--band-top)) calc(0px - var(--band-right)) calc(0px - var(--band-bottom)) calc(0px - var(--band-left));
  box-shadow:inset 0 0 0 2px #4948b4;
}
.studio-app .canvas-area .guide-block.selected {outline:0}
.studio-app .canvas-area :is(.cover,.section-intro).selected {outline-offset:-2px}
.workspace .inspector {border:1px solid #7374bd}
.workspace .inspector .panel-head {z-index:4}
.inspector .rich-passage {
  border:1px solid var(--border);border-radius:.45rem;background:white;color:#242335;
  padding:.65rem;min-height:5.5rem;line-height:1.45;cursor:text;
}
.inspector .rich-passage :is(p,h4) {margin:0;min-height:1.45em}
.inspector .writer-label {display:block;margin:.65rem 0 .3rem;font-weight:600}
.inspector .writing-bar button,.inspector .passage-link button {min-height:44px}
.inspector .guide-defaults {margin:.85rem 0;padding:.6rem;border:1px solid var(--border);border-radius:.45rem}
.inspector .guide-defaults summary {cursor:pointer;font-weight:600}
.inspector .surface-choices .choice-tiles {grid-template-columns:repeat(auto-fit,minmax(min(100%,5.5rem),1fr))}
.inspector .surface-choices .choice-face span {overflow-wrap:normal;word-break:normal;text-wrap:balance}
.guide-canvas .passage-part[data-body-align] p,
.guide-canvas .guide-block[data-body-align] address,
.guide-canvas [data-heading-align] :is(h1,h2,h3,h4) {max-width:none;max-inline-size:none}
.guide-canvas .passage-part[data-body-align] .passage-lines h4 {text-align:var(--copy-align);max-width:none}
.inspector .writing-bar {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}
.inspector .writing-bar button {min-width:0;margin:0;padding:.4rem .2rem}
.inspector .writing-bar button:last-child {margin:0;grid-column:3}

.timeline .clock-value {white-space:nowrap}
.timeline li .activity-description:not(:first-child) {margin:0}
.activity-links a {display:block;align-content:start;padding-block:0}
@container(min-width:40rem) {
  .timeline:has(.activity-links,.activity-description) li {grid-template-columns:fit-content(32%) minmax(0,1.3fr) minmax(0,1.65fr) minmax(6.5em,.8fr)}
  .timeline:not(:has(.activity-description)) li {grid-template-columns:fit-content(32%) minmax(0,2fr) 0 minmax(6.5em,1fr)}
  .timeline:not(:has(.activity-links)) li {grid-template-columns:fit-content(32%) minmax(0,1.4fr) minmax(0,2fr)}
  .timeline ol {display:grid;grid-template-columns:fit-content(32%) minmax(0,1.3fr) minmax(0,1.65fr) minmax(6.5em,.8fr)}
  .timeline ol:not(:has(.activity-links)) {grid-template-columns:fit-content(32%) minmax(0,1.4fr) minmax(0,2fr)}
  .timeline ol:not(:has(.activity-description)) {grid-template-columns:fit-content(32%) minmax(0,2fr) 0 minmax(6.5em,1fr)}
  .timeline ol:not(:has(.activity-links,.activity-description)) {grid-template-columns:fit-content(32%) minmax(0,1fr)}
  .guide-canvas .timeline ol>li {grid-column:1/-1;grid-template-columns:subgrid}
}
@container(min-width:28rem) {
  .contact-list:has(>:nth-child(2)) {row-gap:.24rem}
  .contact-list:has(>:nth-child(2)) .contact-person {display:grid;grid-row:span 5;grid-template-rows:subgrid;align-items:start}
  .contact-person [data-method=name] {grid-row:1}
  .contact-person [data-method=email] {grid-row:2}
  .contact-person [data-method=phone] {grid-row:3}
  .contact-person [data-method=whatsapp] {grid-row:4}
  .contact-person [data-method=website] {grid-row:5}
}
.publication-desk {display:grid;gap:1rem;justify-items:start}
.publication-desk :is(h1,h2,p) {margin:0}
.publication-desk .actions {gap:1rem}
.guest-sharing {display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem;width:100%}
.guest-sharing div {display:grid;gap:.65rem;min-width:0;flex:1 1 14rem}
.guest-sharing input {width:100%;min-width:0}
.guest-sharing button {justify-self:start}
.guide-sharing {display:grid;align-content:center;gap:.35rem}

.live-rsvp form {width:100%;display:grid;gap:.75rem;min-width:0}
.live-rsvp select {width:100%;min-height:44px;font:inherit}

.live-rsvp button {justify-self:start;min-height:44px;padding:.55em 1.1em;border:0;border-radius:.4rem;background:var(--custom-button,var(--guest-ink));color:var(--custom-button-ink,var(--guest-paper));font:600 .92rem/1.35 DM,sans-serif}

/* The credit shares the paper at the end of the guide. */
.guide-canvas footer.guide-credit {text-align:center;border:0;padding:.32rem 1rem;margin:0;background:var(--credit-fill,var(--guide-base));color:var(--credit-ink,var(--base-ink,var(--guest-ink)))}
.guide-credit[data-credit=hero] {--credit-fill:var(--hero-fill);--credit-ink:var(--custom-hero-ink,var(--guest-ink))}
.guide-credit[data-credit=light] {--credit-fill:var(--light-paper);--credit-ink:var(--guest-ink)}
.guide-credit[data-credit=tinted] {--credit-fill:var(--tinted-paper);--credit-ink:var(--custom-strong-ink,var(--guest-ink))}
.guide-credit[data-credit=paper] {--credit-fill:var(--guest-paper);--credit-ink:var(--guest-ink)}
.guide-credit[data-credit=accent] {--credit-fill:var(--accent);--credit-ink:var(--accent-ink,white)}
.guide-canvas footer.guide-credit a {display:inline-grid;justify-items:center;align-content:center;min-height:44px;gap:.03rem;background:transparent;color:inherit;text-decoration:none;font:500 .75rem/1.18 DM,system-ui,sans-serif}
.guide-credit strong {font-size:.91rem;letter-spacing:-.03em}
.guide-credit strong span {color:color-mix(in srgb,currentColor 76%,#8075f4)}
.guide-credit a:focus-visible {outline:2px solid currentColor;outline-offset:.2rem}
.guide-canvas footer.guide-credit[data-credit] {background:var(--credit-fill,var(--guide-base))}
.contact-person [data-method] {line-height:1.45;align-content:center}
.contact-person [data-method]:not([data-method=name]) {min-height:2.75rem;display:grid;align-items:center}
.contact-person [data-method]>a {margin:0;padding-block:0;align-content:center}
.guest-attendance-choice {border:0;margin:0;padding:0;min-width:0}
.guest-attendance-choice legend {padding:0;margin-bottom:.35rem}
.guest-attendance-choice input[type=radio] {width:1.1rem;height:1.1rem;min-height:0;accent-color:currentColor}
.guest-attendance-choice label {min-height:44px;box-sizing:border-box}
.reply-privacy {font:inherit;line-height:1.45}.reply-privacy summary {cursor:pointer;font-size:.83rem}
.swatch-accent {--swatch:var(--sample-accent,#253d32)}
.surface-choices :is([data-choice=plain],[data-choice=guide],[data-choice=template],[data-choice=""]) .paint-swatch {display:none}
.surface-choices :is([data-choice=plain],[data-choice=guide],[data-choice=template],[data-choice=""]) .choice-face {border-style:dashed}
.guide-canvas[data-page-paint=accent] {--guide-base:var(--accent);--base-ink:var(--accent-ink,white)}
.guide-canvas[data-page-paint=accent] :is(.guest-nav,.section-intro,.guide-block:not([data-surface]),.guide-block[data-surface=plain],.guide-block[data-surface=guide]) {color:var(--accent-ink,white)}
.guide-block[data-surface=accent] {--fill:var(--accent);color:var(--accent-ink,white)}
.guide-block[data-outer=accent] {--outer-fill:var(--accent)}
.guide-canvas .passage-part[data-paint=accent] {--part-fill:var(--accent);color:var(--accent-ink,white)}
.passage-part[data-paint=accent]:not([data-part-edge=fade]) {background:var(--part-fill)}
.guide-block[data-surface=accent]>:is(.passage,.info-card,.contact) {background:transparent}

/* Account journeys use the Studio brand, keyboard focus and touch targets. */
.journey-brand {padding-bottom:.9rem;margin-bottom:1rem;border-bottom:1px solid #dcdbe5}
.journey-brand img {max-width:10rem;height:auto}
.attendance-page:not(.live-rsvp),.journey-dialog {box-sizing:border-box;margin:clamp(1rem,4vw,3rem) auto;padding:clamp(1rem,3vw,2rem);width:min(100% - 2rem,48rem);border:1px solid #dfdfe7;border-radius:.9rem;background:white;color:#26253f;font:400 1rem/1.5 DM,system-ui,sans-serif}
.attendance-page :is(h1,h2),.journey-dialog h2 {line-height:1.18;letter-spacing:-.025em}
.attendance-page h1 {font-size:clamp(1.65rem,4vw,2.3rem)}
.journey-dialog {margin:auto;max-width:29rem;box-shadow:0 14px 60px #12112a30}
.journey-dialog::backdrop {background:#16152880}
:is(.journey-dialog,.attendance-page,.inline-publication,.guide-sharing,.guide-manage,.account-form) :is(button,.journey-action) {display:inline-flex;align-items:center;justify-content:center;gap:.4rem;box-sizing:border-box;min-height:44px;padding:.5rem .8rem;border:1px solid #cbcadd;border-radius:.5rem;background:white;color:#302e61;text-decoration:none;font:600 .91rem/1.25 DM,system-ui,sans-serif;cursor:pointer}
:is(.journey-dialog,.attendance-page,.inline-publication,.guide-sharing,.account-form) button.primary {background:#45429a;color:white;border-color:#45429a}
:is(.journey-dialog,.attendance-page,.account-form,.account-guides) :focus-visible {outline:3px solid #635bc2;outline-offset:2px}
.journey-progress {display:flex;align-items:center;gap:.65rem;line-height:1.4}
.journey-progress i {width:1rem;height:1rem;border:2px solid #d0cfe1;border-top-color:#4948a4;border-radius:50%;flex:none;animation:journey-spin .85s linear infinite}
@keyframes journey-spin {to {transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){.journey-progress i {animation:none}}
.account-guides li:has(.guide-manage) {display:grid;grid-template-columns:minmax(0,1fr);gap:.5rem}
.account-guides .guide-sharing {display:grid;gap:.45rem}
.guide-sharing .actions,.journey-dialog .actions,.invitation-tools .actions {display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.account-guides .guide-sharing .journey-action {padding:.5rem .8rem;border:1px solid #cbcadd}
.publication-status {justify-self:start;font-size:.84rem;color:#454379}
.guide-manage {justify-self:start;color:#535365;font-size:.86rem}
.guide-manage summary,.invitation-tools summary {cursor:pointer;padding:.45rem 0}
.inline-publication {border-top:1px solid #dfdfe7;padding:.65rem 0;min-width:0}
.account-guides .guide-sharing .inline-publication a {display:inline-flex;width:fit-content;align-items:center;padding:.35rem;flex:none}
.invitation-tools {background:#f7f7fb;border-radius:.7rem;padding:.8rem 1rem;margin:.8rem 0;overflow-wrap:anywhere}
.invitation-tools label {display:grid;gap:.35rem;margin:.5rem 0}
.invitation-tools textarea,.invitation-tools input,.guest-sharing input {width:100%;max-width:100%;box-sizing:border-box}
@media(max-width:600px){.attendance-page {margin:.65rem auto}.account-guides li>a:first-child {flex-wrap:wrap}.guest-sharing {grid-template-columns:minmax(0,1fr)}}

.guide-canvas .guest-section footer.guide-credit {background:transparent;color:inherit;padding-block:.6rem 0}
.guide-canvas:is(.composition-noir,.composition-cobalt):not([data-custom-palette]) .guide-credit[data-credit=hero] {--credit-ink:white}
.guide-canvas[data-page-paint=accent] .guest-nav a,.guide-canvas :is([data-surface=accent],[data-paint=accent]) a {color:inherit}

.rsvp-recipients {margin-block:1.75rem;padding:clamp(1rem,3vw,1.5rem);border:1px solid #cccce1;border-radius:12px}
.rsvp-recipients h2 {margin-block-start:0}
.rsvp-recipients .recipient-list {padding:0;list-style:none}
.rsvp-recipients li,.rsvp-recipients form {display:flex;align-items:end;gap:.75rem;flex-wrap:wrap}
.rsvp-recipients li {align-items:center;border-bottom:1px solid #dbdbe8;padding:.6rem 0}
.rsvp-recipients li div,.rsvp-recipients label {flex:1 1 13rem;min-width:0;overflow-wrap:anywhere}
.rsvp-recipients small,.rsvp-recipients input {display:block}
.rsvp-recipients input {box-sizing:border-box;width:100%;min-height:44px}
.rsvp-recipients button {min-height:44px}

/* Keep editorial controls readable within a narrow inspector. */
.inspector .writing-bar {grid-template-columns:repeat(auto-fit,minmax(min(100%,6.3rem),1fr))}
.inspector .writing-bar button:last-child {grid-column:auto}
.photo-status {display:flex;gap:.5rem;align-items:center}.photo-status span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.photo-status i {width:1rem;height:1rem;border:2px solid #d7d5ed;border-top-color:#454599;border-radius:50%;animation:photo-spin 1s linear infinite}
@keyframes photo-spin {to {transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){.photo-status i {animation:none}}
.attendance-page .actions,.journey-brand {display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}
.attendance-page button:not(.remove-item) {background:#3642a5;color:white;border-color:#3642a5}.journey-brand small {color:#484579}
.guide-canvas .cover-copy h1,.guide-canvas .cover-copy p {text-wrap:balance;white-space:pre-line}
.guide-canvas .cover-copy[data-heading-size=smaller] h1 {font-size:clamp(1.8rem,5cqw,4rem)}
.guide-canvas .cover-copy[data-heading-size=larger] h1 {font-size:clamp(2.6rem,9cqw,7rem)}
.guide-canvas .cover-copy[data-body-size=smaller] p {font-size:clamp(.94rem,1.8cqw,1.1rem)}
.guide-canvas .cover-copy[data-body-size=larger] p {font-size:clamp(1.18rem,3cqw,1.7rem)}
.guide-canvas .guide-block[data-heading-size=smaller] :is(h2,h3) {font-size:clamp(1.17rem,2.6cqw,1.65rem)}
.guide-canvas .guide-block[data-heading-size=larger] :is(h2,h3) {font-size:clamp(1.65rem,4.5cqw,3rem)}
.guide-canvas .guide-block[data-body-size=smaller] p {font-size:clamp(.94rem,1.6cqw,1.05rem)}
.guide-canvas .guide-block[data-body-size=larger] p {font-size:clamp(1.12rem,2.5cqw,1.4rem)}
.guide-canvas .passage-part>h4,.guide-canvas .activity-name strong {display:block;font-size:clamp(1.23rem,2.7cqw,1.85rem);line-height:1.25}
.guide-canvas .timeline li {align-items:center}.activity-name small {display:block}
.guide-canvas .event-meta {font-weight:600}.guide-canvas a.guide-directions {color:inherit;text-decoration:underline;text-underline-offset:.18em}
.guide-canvas footer.guide-credit a:link {color:inherit;text-decoration:none}
.guide-canvas .guest-section:has(>.block-grid):not(:has(>.section-intro)) + .guest-section:not(:has(>.section-intro)) {border-block-start:0;--section-seam:0px}
.guide-canvas .feature.below {grid-template-columns:1fr}.feature.below>:is(.picture,.canvas-photo){order:1}
.feature[data-photo-format=portrait] .picture{aspect-ratio:3/4}.feature[data-photo-format=square] .picture{aspect-ratio:1}.feature[data-photo-format=landscape] .picture{aspect-ratio:16/10}
.feature[data-photo-format=original] .picture {aspect-ratio:auto;height:auto}.feature[data-photo-format=original] .picture img {height:auto}
.feature[data-photo-vertical=top]{align-items:start}.feature[data-photo-vertical=bottom]{align-items:end}.feature[data-photo-vertical=centre]{align-items:center}
.feature:is(.above,.below)[data-photo-size=smaller]>:is(.picture,.canvas-photo) {width:65%;justify-self:center}
.feature:is(.above,.below):not([data-photo-size=larger])[data-photo-size=smaller] .picture {max-width:100%}
@container(min-width:530px){
.feature.left[data-photo-size=smaller],.feature.right[data-photo-size=larger]{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr)}
.feature.left[data-photo-size=larger],.feature.right[data-photo-size=smaller]{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
}
@container(max-width:529px){.guide-canvas .feature:is(.left,.right) {grid-template-columns:1fr}.feature.right>:is(.picture,.canvas-photo){order:0}}
.passage>.passage-part {margin-block-start:var(--frame-gap,1rem)}
.guide-canvas .passage-part[data-part-heading-size=smaller]>h4,.guide-canvas .passage-part[data-subheading-size=smaller] .passage-lines h4 {font-size:1.08rem}
.guide-canvas .passage-part[data-part-heading-size=larger]>h4,.guide-canvas .passage-part[data-subheading-size=larger] .passage-lines h4 {font-size:clamp(1.5rem,3cqw,2rem)}
.guide-canvas .guide-block .passage-part[data-part-body-size=smaller] .passage-lines p {font-size:.94rem}
.guide-canvas .guide-block .passage-part[data-part-body-size=larger] .passage-lines p {font-size:1.24rem}
.guide-canvas .timeline [data-column-align=left],.guide-canvas .timeline [data-column-align=left]>* {text-align:left;justify-items:left}
.guide-canvas .timeline [data-column-align=center],.guide-canvas .timeline [data-column-align=center]>* {text-align:center;justify-items:center}
.guide-canvas .timeline [data-column-align=right],.guide-canvas .timeline [data-column-align=right]>* {text-align:right;justify-items:right}
@container(min-width:40rem){.timeline ol li {grid-template-columns:minmax(0,1.2fr) minmax(0,1.7fr) minmax(0,2.4fr) minmax(0,.95fr)}}
.guide-canvas .activity-time {min-width:0;overflow-wrap:anywhere}.activity-time .clock-value {white-space:nowrap}
.feature.above[data-photo-size=larger],.feature.below[data-photo-size=larger] {gap:var(--frame-gap,1rem)}
.feature:is(.above,.below)[data-photo-format]:not([data-photo-size])>:is(.picture,.canvas-photo){width:85%;justify-self:center}

:is(.attendance-page,.inspector) button.remove-item {color:#842d3b;border-color:#bd8f99;background:#fff8f9}

@container(max-width:27rem) {
  .guide-canvas .timeline li {grid-template-columns:minmax(0,1fr);gap:.25rem}
  .guide-canvas .timeline li>:is(.activity-time,.activity-name,.activity-description,.activity-links) {grid-column:1}
}

.schedule-format fieldset {margin-block:.8rem;min-inline-size:0}
.guide-canvas .timeline [data-schedule-size] {--column-scale:1;font-size:calc(var(--column-base,1rem) * var(--column-scale))}
.guide-canvas .timeline [data-schedule-size=smaller] {--column-scale:.875}
.guide-canvas .timeline [data-schedule-size=larger] {--column-scale:1.18}
.activity-name strong {--column-base:1.14rem}
.activity-name small,.activity-links {--column-base:.95rem}
.guide-canvas .timeline .activity-links a {font-size:inherit}
.reply-confirmation {display:grid;gap:1.3rem;overflow-wrap:anywhere;text-align:inherit}
.reply-confirmation header,.reply-person {display:grid;gap:.6rem;justify-items:var(--reply-align,start)}
.reply-confirmation :is(h3,p) {margin:0}
.reply-confirmation .reply-tick {display:grid;place-items:center;border-radius:50%;width:2rem;height:2rem;background:color-mix(in srgb,currentColor 10%,transparent)}
.reply-confirmation button {justify-self:var(--reply-align,start);min-height:44px;max-width:100%;white-space:normal;padding:.55em 1.05em;border:0;border-radius:.45rem;background:var(--custom-button,var(--guest-ink,#303146));color:var(--custom-button-ink,var(--guest-paper,white));font:600 1rem/1.35 DM,sans-serif}
.reply-confirmation button.reply-secondary {background:transparent;color:inherit;text-decoration:underline;text-underline-offset:.22em;padding-inline:.2em}
[data-body-align=center] .reply-confirmation {--reply-align:center}
[data-body-align=right] .reply-confirmation {--reply-align:right}
[data-body-align=left] .reply-confirmation {--reply-align:left}

<<<<<<< 8B

/* Permanent customer account */
.qr-login{min-height:100svh;display:grid;place-items:center;background:linear-gradient(125deg,#eff4ff,#f8f5ff);padding:1rem;box-sizing:border-box}
.qr-entry,.qr-details,.qr-empty{background:white;border:1px solid #dce1f2;border-radius:1.25rem;padding:clamp(1.2rem,4vw,3rem);color:#212a4b}
.qr-entry{box-sizing:border-box;width:min(100%,31rem);box-shadow:0 1rem 4rem #25346513}
.qr-entry h1,.qr-heading h1,.qr-details h1,.qr-empty h2{font-family:Playfair,Georgia,serif;line-height:1.1;margin:.7em 0}
.qr-entry label,.qr-details form>label,.qr-details details>label{display:grid;gap:.4rem;margin:1rem 0;font-weight:600}
.qr-entry input,.qr-details input:not([type=checkbox]),.qr-details select{font:inherit;padding:.75rem;border:1px solid #8b93ae;border-radius:.5rem;width:100%;min-width:0;box-sizing:border-box}
.qr-entry button,.qr-details button{margin:.35rem .35rem .35rem 0}
.qr-entry .primary,.qr-details .primary{background:#413394;color:white}
.qr-entry [hidden]{display:none!important}.qr-entry #code{letter-spacing:.32em}.qr-tag,.qr-heading p{color:#505877}
.qr-account-nav,.qr-card-tools{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}
.qr-account-nav{border-bottom:1px solid #cbd3e9;padding:.75rem 0}.qr-account-nav a,.qr-card-tools a,.qr-empty a{color:#373385}.qr-account-nav a{padding:.6rem .75rem}
.qr-account-nav [aria-current=page]{background:#eceafa;color:#2b245e;border-radius:.5rem;font-weight:700}
.qr-heading{padding:1.4rem 0}.qr-heading h1{margin:.2em 0}.qr-empty{margin:1.2rem 0;background:linear-gradient(120deg,#f1f5ff,#f7f2ff)}.qr-details{max-width:38rem;margin-top:1.5rem}
.qr-details input[readonly]{background:#f2f3f8}.qr-details label:has(input[type=checkbox]){display:flex;align-items:center;gap:.5rem}
.qr-details details{margin-top:1.8rem}.qr-details summary{cursor:pointer}.qr-card-tools{justify-content:space-between;margin:.75rem 0}
body:has(.qr-dashboard){min-height:100svh;background:linear-gradient(165deg,#f4f6fd,#fbfaff 52%,#f7f5fc)}
.qr-dashboard.library{max-width:1080px;margin:0 auto;padding:clamp(1.2rem,4vw,3.5rem) clamp(1rem,4vw,3rem)}
.qr-dashboard .qr-heading{padding:1.8rem 0 1.4rem}.qr-dashboard .qr-heading h1{font:500 clamp(2.5rem,5vw,4.2rem)/1.02 Playfair,Georgia,serif;letter-spacing:-.05em}
.qr-dashboard .qr-empty{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:1.7rem;overflow:hidden;margin-top:0;min-height:16rem}
.qr-dashboard .qr-empty h2{font:500 clamp(1.65rem,3vw,2.5rem)/1.12 Playfair,Georgia,serif;letter-spacing:-.025em;margin:.15em 0 .45em}
.qr-dashboard .qr-empty-copy p{line-height:1.55;max-width:36ch}
.qr-empty-actions{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}
.qr-dashboard .qr-empty-actions a{display:inline-flex;align-items:center;width:auto;min-height:44px;border-radius:.6rem;background:#3e3c9e;color:white;padding:.65rem 1rem;font-weight:600}
.qr-dashboard .qr-empty-actions button{background:transparent;color:#373385;border:1px solid #acaed5;border-radius:.6rem}
.qr-examples{display:grid;place-items:center;grid-template-columns:1fr 1fr;min-width:0;padding:.8rem}
.qr-examples img{grid-row:1;width:140%;aspect-ratio:1.48;object-fit:cover;border:.3rem solid white;box-shadow:0 .5rem 1.4rem #34366925;border-radius:.4rem}
.qr-examples img:first-child{transform:translateY(-.7rem) rotate(-7deg)}.qr-examples img:last-child{transform:translateY(.7rem) rotate(6deg)}
.qr-dashboard .qr-card-tools a{display:inline-flex;width:auto;padding:.2rem 0}.qr-dashboard .account-guides li{box-shadow:0 .2rem 1rem #36377e0b}
.qr-dashboard .account-guides>p{background:#eeedf8;border:0;border-radius:.7rem;margin:1rem 0;padding:1rem 1.25rem}
@media(max-width:620px){.qr-dashboard .qr-empty{grid-template-columns:1fr;gap:.6rem}.qr-examples{max-width:260px;width:80%;margin:0 auto;padding:.8rem}.qr-dashboard .qr-heading{padding:1.5rem 0}.qr-account-nav{gap:.2rem}.qr-account-nav a{padding:.6rem}}
=======
.photo-drop {position:relative;border:1px dashed #827db2;border-radius:.65rem;padding:1rem;cursor:pointer}.photo-drop input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.photo-drop:focus-within{outline:3px solid #5d50b9}.photo-drop .choose-file{font-weight:650;color:#484172}.photo-status{overflow-wrap:anywhere}
.invite-preview{display:grid;justify-items:start;gap:.65rem;padding:1.25rem;border-top:4px solid;border-radius:.65rem;background:white;overflow-wrap:anywhere}.invite-preview .invite-brand{width:124px;height:auto}.invite-preview .invite-qr,.guest-sharing>img{width:100px;height:100px}.invite-cover{width:100%;max-height:13rem;object-fit:cover}.invite-preview.invitation-elegant{font-family:Georgia,serif}.invite-preview.invitation-celebration{background:#f4efff}.invite-preview>a{color:inherit;font-weight:bold}
.section-navigation-tools{margin:.65rem 0;padding:.65rem;border-block:1px solid #dfddeb}.section-navigation-tools fieldset{min-width:0}.shared-passage-panel{padding:var(--passage-space,1rem);display:grid;gap:var(--frame-gap,1rem)}
.guide-canvas .passage-part.quote :is(p,.rich-passage){border:0;padding-inline:0}.guide-canvas .passage-part.quote>.passage-lines{border-inline-start:3px solid var(--accent);padding-inline-start:1rem;font-style:italic}.guide-canvas .guide-block .passage-part.lead:not([data-part-body-size]) .passage-lines p{font-size:1.17em;line-height:1.55;font-weight:600}
@container(min-width:27.01rem){.guide-canvas .timeline ol li{column-gap:clamp(.85rem,2.6cqw,1.65rem)}}
.guide-canvas .guide-block:is([data-kind=attendance],[data-kind=enquiry]).styled-block:is([data-edge=top],[data-edge=bottom],[data-edge=side],[data-edge=border]){border:0}
.guide-canvas .guide-block:is([data-kind=attendance],[data-kind=enquiry])[data-edge=top]>.response-card{border-top:2px solid var(--accent)}.guide-canvas .guide-block:is([data-kind=attendance],[data-kind=enquiry])[data-edge=bottom]>.response-card{border-bottom:2px solid var(--accent)}.guide-canvas .guide-block:is([data-kind=attendance],[data-kind=enquiry])[data-edge=side]>.response-card{border-inline-start:3px solid var(--accent)}.guide-canvas .guide-block:is([data-kind=attendance],[data-kind=enquiry])[data-edge=border]>.response-card{border:2px solid var(--accent)}.publish-note{padding:.5rem 1rem;font-size:.9rem}.publish-note button{font:inherit}
.decoration-desk{position:fixed;z-index:130;inset:4vh max(1rem,calc((100vw - 47rem)/2)) auto;max-height:90dvh;overflow:auto;overscroll-behavior:contain;background:#faf9ff;color:#252544;padding:clamp(1rem,3vw,2rem);border:1px solid #b6aed7;border-radius:1rem;box-shadow:0 14px 64px #20194e50}.decoration-desk header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.decoration-desk :is(fieldset,details){margin-block:.8rem;min-width:0}.decoration-desk summary{font-weight:650;cursor:pointer}.motif-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(6.5rem,1fr));gap:.4rem}.motif-library button{display:grid;justify-items:center;border:1px solid #dbd8e8;background:white;color:#51417e;border-radius:.6rem}.motif-library button[aria-pressed=true]{outline:2px solid #6551aa}.motif-library svg{width:4.3rem;height:3.5rem}.motif-library span{font-size:.8rem}.cutout-canvas,.library-art{max-width:100%;max-height:48vh;width:auto;height:auto;background:repeating-conic-gradient(#eee 0 25%,white 0 50%) 0 0/16px 16px}.cutout-canvas{touch-action:none;cursor:crosshair;display:block}.cutout-canvas[hidden]{display:none}.library-art{width:8rem;height:5rem;object-fit:contain}.placed-art{display:flex;align-items:center;pointer-events:none;width:100%;overflow:hidden;min-width:0;color:var(--accent);padding:.2rem .4rem}.placed-art[data-anchor$=centre]{justify-content:center}.placed-art[data-anchor$=right]{justify-content:flex-end}.placed-art[data-tone=ink]{color:var(--guest-ink)}.placed-art[data-tone=soft]{color:var(--muted-guest)}.placed-art span{width:clamp(2.2rem,12%,5.5rem);aspect-ratio:1;display:grid;place-items:center}.placed-art[data-size=small] span{width:clamp(1.6rem,9%,3.4rem)}.placed-art[data-size=large] span{width:clamp(3.5rem,20%,8rem)}.placed-art :is(svg,img){width:100%;height:100%;object-fit:contain}
.guest-choices fieldset,.question-editor fieldset{min-inline-size:0;margin-block:.7rem;padding:.75rem;border:1px solid currentColor;border-radius:.5rem}.guest-choices fieldset label{display:flex;align-items:center;gap:.55rem;min-height:2.75rem}.guest-choices fieldset input[type=radio],.guest-choices fieldset input[type=checkbox]{width:auto;min-width:1rem}.guest-choices legend,.question-editor summary{font-weight:650}.guest-choices textarea,.guest-choices input[type=number]{width:100%;box-sizing:border-box}.option-row{display:flex;gap:.3rem;flex-wrap:wrap;align-items:end}.option-row label{flex:1 1 100%}.choice-totals table{border-collapse:collapse;width:100%;overflow-wrap:anywhere}.choice-totals td,.choice-totals th{padding:.35rem;text-align:start;border-bottom:1px solid #bbb}
>>>>>>> 7Q
