.l4u-keepsake-preview { width: min(1120px, 98vw); height: min(900px, 96dvh); max-width: 98vw; max-height: 96dvh; padding: 0; border: 1px solid #d8c2cc; border-radius: 18px; overflow: hidden; color: #513942; background: #fff7fa; }
.l4u-keepsake-preview::backdrop { background: rgb(31 19 29 / .65); }
.l4u-keepsake-preview[open] { display: flex; flex-direction: column; }
.l4u-keepsake-preview header { display: flex; gap: 10px; align-items: center; padding: 10px 14px; }
.l4u-keepsake-preview header > div { flex: 1; min-width: 0; }
.l4u-keepsake-preview h2 { font-size: 15px; font-weight: 700; }
.l4u-keepsake-preview p { font-size: 11px; margin-top: 3px; }
.l4u-keepsake-preview button { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #d8c2cc; border-radius: 12px; background: #fff; font-size: 12px; }
.l4u-keepsake-preview iframe { flex: 1; min-height: 0; width: 100%; border: 0; background: #f9f2f4; }
[data-keepsake-price-hint] { margin: 12px 0; font-size: 13px; line-height: 1.65; }
[data-keepsake-preview][hidden], [data-keepsake-price-hint][hidden] { display: none !important; }
html.l4u-dark .l4u-keepsake-preview, body.l4u-dark .l4u-keepsake-preview { background: #251e29; color: #fff1f5; border-color: #675063; }
html.l4u-dark .l4u-keepsake-preview button, body.l4u-dark .l4u-keepsake-preview button { color: #fff1f5; background: #392d3e; border-color: #675063; }
@media (max-width: 520px) { .l4u-keepsake-preview { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; } .l4u-keepsake-preview header { padding: 8px; gap: 6px; } .l4u-keepsake-preview header p { max-width: 160px; } }

#layeredEditorShell .material-symbols-outlined, .l4u-keepsake-preview .material-symbols-outlined { text-transform: none; letter-spacing: normal; font-variant-ligatures: normal; }

[data-keepsake-preview] .material-symbols-outlined { text-transform: none; letter-spacing: normal; }

/* The hosted editor's actions live in Letter4U's one persistent toolbar. */
body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-toolbar {
  grid-template-columns: auto auto auto minmax(0, 1fr) auto;
}
body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-actions {
  display: flex;
  gap: 6px;
}
body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-action {
  min-width: 44px;
  min-height: 44px;
  gap: 6px;
  letter-spacing: .025em;
  white-space: normal;
}
#layeredEditorShell .l4u-keepsake-toolbar-action svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#layeredEditorShell .l4u-keepsake-toolbar-action:disabled {
  opacity: .55;
  cursor: default;
}
@media (min-width: 1101px) {
  #layeredEditorShell.l4u-keepsake-toolbar-enabled [data-keepsake-toolbar-action="save"] {
    width: 7.5rem;
    flex: 0 0 7.5rem;
    line-height: 1.2;
  }
  #layeredEditorShell [data-keepsake-toolbar-action="save"] .l4u-immersive-editor-action-label {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 1100px) {
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-status {
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    text-align: right;
    overflow-wrap: anywhere;
  }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-metric {
    grid-row: 2;
    min-width: 0;
  }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-metric:nth-child(2) { grid-column: 1; }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-metric:nth-child(3) { grid-column: 2; }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    justify-self: stretch;
  }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled:is([data-keepsake-toolbar-count="3"], [data-keepsake-toolbar-count="6"]) .l4u-immersive-editor-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-action {
    width: 100%;
    min-width: 0;
    padding: 8px;
    font-size: .7rem;
    line-height: 1.25;
  }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled .l4u-immersive-editor-action-label {
    display: inline;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 600px) {
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled:not([data-keepsake-toolbar-count="3"]) .l4u-immersive-editor-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.l4u-body[data-page="create"] #layeredEditorShell.l4u-keepsake-toolbar-enabled[data-keepsake-toolbar-count="8"] .l4u-immersive-editor-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  #layeredEditorShell[data-keepsake-toolbar-count="8"] :is([data-keepsake-toolbar-action="undo"], [data-keepsake-toolbar-action="redo"], [data-keepsake-toolbar-action="more"]) .l4u-immersive-editor-action-label {
    display: none;
  }
}
.l4u-keepsake-overflow > summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #dac5d0; border-radius: 12px; background: #fcf6f9; color: #755368; cursor: pointer; }
.l4u-keepsake-overflow > summary::-webkit-details-marker { display: none; }
.l4u-keepsake-overflow[hidden] { display: none !important; }
.l4u-keepsake-overflow > summary svg { width: 22px; height: 22px; fill: currentColor; }
@media(min-width:761px) {
  .l4u-keepsake-overflow, .l4u-keepsake-overflow-panel { display: contents; }
  .l4u-keepsake-overflow > summary { display: none; }
}
@media(max-width:760px) {
  body.l4u-body[data-page=create] #layeredEditorShell .l4u-immersive-editor-metric:nth-child(2) { grid-column: 1 !important; }
  body.l4u-body[data-page=create] #layeredEditorShell .l4u-immersive-editor-metric:nth-child(3) { grid-column: 2 !important; }
  #layeredEditorShell .l4u-keepsake-overflow { position: relative; flex: 0 0 44px; }
  #layeredEditorShell .l4u-keepsake-overflow-panel { position: absolute; z-index: 25; top: 50px; right: 0; display: grid; gap: 4px; padding: 7px; width: min(220px,75vw); border: 1px solid #dac5d0; border-radius: 15px; background: #fff9fc; box-shadow: 0 10px 30px #39263833; }
  #layeredEditorShell .l4u-keepsake-overflow:not([open]) .l4u-keepsake-overflow-panel { display: none; }
  body.l4u-body[data-page=create] #layeredEditorShell .l4u-keepsake-overflow-panel .l4u-immersive-editor-action { flex: initial; width: 100% !important; padding: 8px 12px !important; justify-content: flex-start; gap: 10px; border: 0; background: transparent; }
  body.l4u-body[data-page=create] #layeredEditorShell .l4u-keepsake-overflow-panel .l4u-immersive-editor-action-label { display: inline !important; font-size: 12px; }
  html.l4u-dark #layeredEditorShell .l4u-keepsake-overflow :is(summary,.l4u-keepsake-overflow-panel) { background: #302532; color: #f4ddec; border-color: #6b5062; }
}
@media(max-width:1100px) {
  #layeredEditorShell.l4u-creator-inline-toolbar .l4u-keepsake-overflow { display: block; position: relative; flex: 0 0 44px; }
  #layeredEditorShell.l4u-creator-inline-toolbar .l4u-keepsake-overflow > summary { display: flex; }
  #layeredEditorShell.l4u-creator-inline-toolbar .l4u-keepsake-overflow-panel {
    position: absolute;
    z-index: 25;
    top: 50px;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 7px;
    width: min(220px,75vw);
    border: 1px solid #dac5d0;
    border-radius: 15px;
    background: #fff9fc;
    box-shadow: 0 10px 30px #39263833;
  }
  #layeredEditorShell.l4u-creator-inline-toolbar .l4u-keepsake-overflow:not([open]) .l4u-keepsake-overflow-panel { display: none; }
  body.l4u-body[data-page=create] #layeredEditorShell.l4u-creator-inline-toolbar .l4u-keepsake-overflow-panel .l4u-immersive-editor-action {
    width: 100% !important;
    min-height: 44px;
    padding: 8px 12px !important;
    gap: 10px;
    justify-content: flex-start;
    border: 0;
    background: transparent;
  }
  body.l4u-body[data-page=create] #layeredEditorShell.l4u-creator-inline-toolbar .l4u-keepsake-overflow-panel .l4u-immersive-editor-action-label { display: inline !important; font-size: 12px; }
  html.l4u-dark #layeredEditorShell.l4u-creator-inline-toolbar .l4u-keepsake-overflow :is(summary,.l4u-keepsake-overflow-panel) {
    background: #242426;
    color: #f1f1f3;
    border-color: #707078;
  }
}
