/* Final mobile-first PAMIPO celebration design system, v6. */
.pm-photo-launch{border:1px dashed #b68aad;background:#fff7fc;color:#754573;padding:9px 13px;border-radius:12px;font-size:12px;cursor:pointer;min-height:40px}
.pm-composer-dialog,.pm-feature-dialog{width:min(1050px,calc(100vw - 20px));max-height:min(94dvh,940px);padding:18px clamp(13px,2.2vw,27px);border-radius:23px;border:1px solid #e8d5e3;background:linear-gradient(145deg,#fffdf9,#fff7fc);color:#4d3654}
.pm-composer-dialog::backdrop,.pm-feature-dialog::backdrop{background:#24152aab;backdrop-filter:blur(6px)}
.pm-composer-head,.pm-feature-head{display:flex;align-items:start;justify-content:space-between;gap:15px;padding-bottom:13px;border-bottom:1px solid #ecdbe5}
.pm-composer-head p,.pm-feature-head span{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#9c7098;margin:0}
.pm-composer-head h2,.pm-feature-head h2{font:500 clamp(21px,2.5vw,31px)/1.2 Georgia,serif;margin:4px 0;color:#54345a}
.pm-composer-head span,.pm-feature-head p{display:block;margin:2px 0;color:#927a91;font-size:11px}
#pmComposerClose,#pmFeaturesClose{width:37px;height:37px;border:0;border-radius:50%;background:#f5e8f3;color:#69436b;font-size:24px;cursor:pointer}
.pm-composer-body{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:19px;align-items:start;padding:13px 0}
.pm-composer-controls{min-width:0}.pm-composer-controls h3{font-size:13px;margin:0 0 10px}
.pm-layouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.pm-layouts button{border:1px solid #e1cbdc;border-radius:10px;background:#fff9fc;font-size:11px;color:#6f5177;padding:12px 6px;min-height:48px;cursor:pointer}
.pm-layouts button.active{border-color:#945c91;background:#f9e3f2;box-shadow:inset 0 0 0 1px #945c91;font-weight:800}
.pm-composer-upload{display:flex;gap:9px;flex-wrap:wrap;margin:11px 0}
.pm-composer-upload label{position:relative;display:grid;place-items:center;flex:1 1 100px;min-height:42px;border:1px dashed #ba8da8;border-radius:12px;background:#fff;color:#755079;font-size:11px;cursor:pointer}
.pm-composer-upload input[type=file]{position:absolute;opacity:0;width:1px;height:1px;left:1px;bottom:1px}
.pm-composer-slots{display:flex;gap:7px;margin:7px 0}.pm-slot{font-size:11px;color:#765974;background:#fff;border:1px solid #ead3e3;border-radius:12px;flex:1;min-height:40px;cursor:pointer}
.pm-slot.occupied{color:#46725b;background:#f2fcf5}.pm-slot.selected{border-color:#7c4b80;box-shadow:0 0 0 1px #7c4b80}
.pm-composer-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0}
.pm-composer-config label{display:grid;gap:4px;color:#665068;font-size:11px}
.pm-composer-config select,.pm-composer-config input{width:100%;min-height:37px;border:1px solid #dfccdd;border-radius:9px;background:#fff;padding:6px;color:#56425c}
.pm-composer-hint,.pm-composer-preview-caption{font-size:11px;color:#8b728b;line-height:1.5}
.pm-composer-preview-wrap>span{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#916785}
.pm-composer-preview{height:365px;min-height:365px;margin:7px 0 3px;touch-action:pan-y;user-select:none;overflow:hidden}
.pm-composer-preview:has(.pm-photo-layer){touch-action:none}
.pm-composer-footer{display:flex;gap:10px;justify-content:end;border-top:1px solid #ecdce7;padding-top:12px}
.pm-composer-footer button{min-height:45px;border-radius:13px}
.pm-card-scene{isolation:isolate;position:relative;overflow:hidden}
.pm-card-scene .pm-photo-layer{position:absolute!important;z-index:-2;pointer-events:none;object-fit:cover;object-position:var(--pm-position,50% 50%);background:#e9d5de}
.pm-card-scene>.pm-photo-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,rgba(23,11,25,calc(var(--pm-overlay,.45) + .15)),rgba(31,11,35,var(--pm-overlay,.45)));border-radius:inherit}
.pm-card-scene.pm-scene-background{color:#fffdf2!important;text-shadow:0 2px 10px #29172c}
.pm-scene-background .pm-photo-slot-1{inset:0;width:100%;height:100%;border-radius:inherit}
.pm-scene-background .pm-photo-layer{z-index:-2}
.pm-scene-portrait .pm-photo-slot-1,.pm-scene-classic .pm-photo-slot-1{position:relative!important;z-index:0;width:var(--pm-photo-size,55%);height:125px;min-height:90px;max-width:88%;border:3px solid #fff9;border-radius:var(--pm-photo-shape,18px);box-shadow:0 8px 22px #4b2e492b;margin:3px auto 10px;object-fit:cover}
.pm-scene-portrait.pm-card-scene .pm-photo-slot-1{height:160px}
.pm-scene-split-left .pm-photo-slot-1,.pm-scene-split-right .pm-photo-slot-1{width:40%;height:100%;top:0;bottom:0;border-radius:0}
.pm-scene-split-left .pm-photo-slot-1{left:0}.pm-scene-split-right .pm-photo-slot-1{right:0}
.pm-card-scene.pm-scene-split-left{padding-left:43%;}.pm-card-scene.pm-scene-split-right{padding-right:43%}
.pm-scene-collage .pm-photo-layer{width:33%;height:28%;border:3px solid white;border-radius:var(--pm-photo-shape,18px);box-shadow:0 8px 15px #573c6233}
.pm-scene-collage .pm-photo-slot-1{left:2%;top:4%;transform:rotate(-9deg)}
.pm-scene-collage .pm-photo-slot-2{right:3%;top:5%;transform:rotate(8deg)}
.pm-scene-collage .pm-photo-slot-3{right:4%;bottom:3%;transform:rotate(-6deg)}
.pm-finish-gold{box-shadow:inset 0 0 0 5px #d0a161,0 7px 30px #8e6a452a!important}
.pm-finish-floral:after{border:4px double #d9a8b4!important}
.pm-finish-blush:before{background:radial-gradient(circle at 10% 10%,#eea6c64a,transparent 50%)}
.pm-finish-vignette:before{background:radial-gradient(circle,transparent 12%,#341a3c40 100%)}
.pm-feature-dialog{width:min(760px,calc(100vw - 20px))}
.pm-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}
.pm-feature-option{cursor:pointer;display:flex;gap:11px;align-items:center;min-height:78px;border:1px solid #e4d0df;border-radius:14px;padding:11px;background:white;color:#634769}
.pm-feature-option.chosen{background:#fcf0f9;border-color:#b67da6}
.pm-feature-option input[type=checkbox]{width:17px;height:17px;accent-color:#805380}
.pm-feature-symbol{font-size:25px}.pm-feature-option strong{font-size:12px;display:block}.pm-feature-option small{font-size:10px;display:block;margin-top:4px;color:#8d7488;line-height:1.4}
.pm-feature-check{margin-left:auto;color:#8f6290;font-size:16px}
.pm-feature-next{display:flex;flex-wrap:wrap;align-items:center;justify-content:end;gap:9px;border-top:1px solid #e8d8e5;padding-top:13px}
.pm-feature-next p{margin-right:auto;font-size:11px;color:#775979}.pm-feature-next button{min-height:44px}.pm-feature-next button[hidden]{display:none}
.pm-memory-gallery{margin:18px auto 22px;max-width:1100px;padding:10px 0 25px}
.pm-memory-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 2px}
.pm-memory-heading>div>p{font-size:10px;color:#9c799c;letter-spacing:1.5px;margin:0}
.pm-memory-heading h2{font:500 clamp(24px,3vw,33px)/1.2 Georgia,serif;margin:5px 0;color:#513453}
.pm-memory-heading h2 small{font:500 16px system-ui;color:#8d6c8b}
.pm-memory-heading>div>span{font-size:12px;color:#927b91}
.pm-memory-heading>button{min-height:40px;font-size:11px;flex-shrink:0}
.pm-memory-filters{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;padding:9px 1px 14px}
.pm-memory-filters button{white-space:nowrap;border:1px solid #e8d5e4;background:#fffcfd;border-radius:30px;padding:11px 13px;font-size:12px;color:#654765;cursor:pointer;min-height:43px}
.pm-memory-filters button.selected{background:#633b70;color:white;border-color:#633b70}
.pm-memory-filters small{opacity:.7;margin-left:4px}
.pm-memory-tools{display:flex;gap:9px;align-items:center;margin-bottom:15px;flex-wrap:wrap}
.pm-memory-tools>label:first-child{flex:1;min-width:150px}.pm-memory-tools input,.pm-memory-tools select{min-height:41px;width:100%;border:1px solid #e4d4e4;border-radius:11px;padding:8px 12px;background:#fff;font-size:12px}
.pm-memory-switch{display:flex;gap:4px}.pm-memory-switch button{min-height:41px;padding:9px 12px;border:1px solid #e5d4e2;background:#fff;border-radius:10px;font-size:11px;cursor:pointer}
.pm-memory-switch button.selected{background:#f4e3f1;color:#633e67;font-weight:800}
.pm-memory-highlights{margin:6px 0 13px}.pm-memory-highlights:empty{display:none}.pm-memory-highlights h3{font-size:13px;color:#725176;margin-bottom:8px}
.pm-memory-featured{display:flex;gap:9px;overflow-x:auto}.pm-memory-featured>div{min-width:132px;display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #ebd9e8;border-radius:12px;padding:12px;background:linear-gradient(120deg,#fff5fc,#fff9ee);font-size:11px}.pm-memory-featured small{font-size:10px;color:#876d82}
.pm-memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pm-memory-grid.pm-memory-list{grid-template-columns:1fr}
.pm-memory-item{min-width:0;break-inside:avoid}.pm-memory-item .pg-styled-wish{margin:0;height:100%;padding:18px;overflow-wrap:anywhere}
.pm-memory-more{display:block;margin:18px auto;min-height:44px;font-size:12px}.pm-memory-more[hidden],.pm-memory-empty[hidden]{display:none}
.pm-memory-empty{text-align:center;padding:30px 10px;font-size:12px;color:#92798e}
#pgRecipientGallery{display:block}
@media(max-width:900px){.pm-memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .pm-composer-dialog,.pm-feature-dialog{max-height:100dvh;width:100vw;height:100dvh;max-width:100vw;border-radius:0;margin:0;padding:14px 14px 70px}
 .pm-composer-body{display:flex;flex-direction:column-reverse;gap:6px;padding:8px 0}
 .pm-composer-preview-wrap{width:100%}.pm-composer-preview{height:240px;min-height:240px;max-width:100%;margin:5px 0}
 .pm-composer-controls{width:100%;}.pm-layouts{grid-template-columns:repeat(3,minmax(0,1fr))}
 .pm-composer-dialog .pm-composer-footer,.pm-feature-next{position:sticky;bottom:-70px;background:linear-gradient(#fff9fc,#fff);padding:12px 2px 17px;z-index:20}
 .pm-feature-grid{grid-template-columns:1fr}.pm-feature-option{min-height:60px}
 .pm-memory-grid{grid-template-columns:1fr;gap:10px}.pm-memory-heading{align-items:start}
 .pm-memory-heading>button{font-size:10px}.pm-memory-tools{gap:6px}.pm-memory-tools>label:first-child{flex-basis:100%}
 /* Gift delivery on a phone is a full-screen flow, not a cramped modal within a modal. */
 .pg-delivery-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;padding:12px 13px 86px!important}
 .pg-delivery-layout{display:flex!important;flex-direction:column!important;gap:10px!important}
 .pg-delivery-step{padding:11px!important}.pg-delivery-step h3{font-size:12px!important;margin-bottom:7px!important}
 .pg-delivery-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .pg-delivery-choices label{min-height:48px!important;padding:9px!important;font-size:11px!important}
 .pg-delivery-choices label small{display:none!important}
 .pg-delivery-side{position:static!important;display:block!important;width:100%}
 .pg-delivery-gift{min-height:100px!important;display:flex!important;justify-content:center!important;gap:9px!important;padding:9px!important}
 .pg-delivery-gift>div{font-size:29px!important}
 .pg-delivery-gift h3{font-size:13px!important}
 .pg-delivery-gift>span,.pg-delivery-gift>p{display:none!important}
 .pg-delivery-actions{position:fixed;bottom:0;left:0;right:0;z-index:400;box-shadow:0 -6px 20px #64496827;background:#fffafc;padding:9px 13px 14px;display:flex!important;flex-wrap:nowrap;overflow-x:auto}
 .pg-delivery-actions button{min-height:47px;flex:1;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.pm-card-scene,.pm-composer-dialog,.pm-feature-dialog{scroll-behavior:auto!important}}


/* === Approved Page P01 · clear first action and elegant live preview === */
body[data-active-view="create"] .intro{
  margin:12px 0 12px;min-height:70px;gap:18px
}
body[data-active-view="create"] .intro h1{font-size:clamp(26px,2.4vw,32px);letter-spacing:-.9px}
body[data-active-view="create"] .intro p:not(.eyebrow){margin:4px 0 0}
body[data-active-view="create"] .hero-guide{gap:5px}
body[data-active-view="create"] .workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:14px}
body[data-active-view="create"] .p01-create,body[data-active-view="create"] .p01-preview{padding:16px 19px;min-width:0}
body[data-active-view="create"] .p01-create{display:flex;flex-direction:column;gap:0;justify-content:flex-start}
body[data-active-view="create"] .p01-create .sectionhead{margin-bottom:11px}
body[data-active-view="create"] .p01-create .occasion-shortcuts{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
body[data-active-view="create"] .occasion-chip,body[data-active-view="create"] .occasion-more>summary{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  border-radius:23px;min-height:40px;padding:9px 12px;font-size:11px;line-height:1.2;
  cursor:pointer;font-weight:730;white-space:nowrap
}
body[data-active-view="create"] .occasion-more{position:relative;flex:0 0 auto;z-index:5;max-width:100%}
body[data-active-view="create"] .occasion-more>summary{list-style:none;border:1px solid #dfcddd;background:#fffafd;color:#66466a}
body[data-active-view="create"] .occasion-more>summary::-webkit-details-marker{display:none}
body[data-active-view="create"] .occasion-more[open]>summary{border-color:#915d8e;background:#fbeaf5}
body[data-active-view="create"] .occasion-more label{position:absolute;top:calc(100% + 7px);right:0;display:grid;gap:5px;min-width:min(330px,calc(100vw - 50px));padding:13px;border:1px solid #e1cddd;z-index:7;background:#fff;box-shadow:0 18px 40px #37203935;border-radius:14px;color:#59405d;font-size:11px}
body[data-active-view="create"] .occasion-more select{width:100%;min-height:44px;font-size:13px}
body[data-active-view="create"] .p01-create .formgrid{display:grid;grid-template-columns:1fr;gap:11px}
body[data-active-view="create"] .p01-create .formgrid>.span2{grid-column:1}
body[data-active-view="create"] .p01-create .formgrid label{font-size:12px;gap:7px;min-width:0}
body[data-active-view="create"] .p01-create .formgrid input{min-height:48px;font-size:14px}
body[data-active-view="create"] .p01-create .formgrid textarea{min-height:84px;font-size:14px;resize:vertical;line-height:1.5;padding:11px}
body[data-active-view="create"] .p01-optional{font-size:10px;font-weight:500;color:#967e94;margin-left:5px}
body[data-active-view="create"] .p01-create .inline-inspire{font-size:11px;padding:2px;top:-2px}
body[data-active-view="create"] .p01-message{padding-top:1px}
body[data-active-view="create"] .p01-create .create-cta{
  display:flex;align-items:center;justify-content:center;gap:12px;
  width:100%;min-height:50px;margin:14px 0 0;border-radius:12px;
  font-size:13.5px;letter-spacing:.05px;font-weight:760
}
body[data-active-view="create"] .p01-create .create-cta span{font-size:18px}
body[data-active-view="create"] .p01-assurance{display:flex;justify-content:center;gap:17px;flex-wrap:wrap;padding:11px 2px 6px;font-size:10px;color:#7f7180}
body[data-active-view="create"] .p01-more-options{margin-top:3px;padding:7px 0 0;border-top:1px solid #f0e6ee;font-size:11px;color:#796479}
body[data-active-view="create"] .p01-more-options>summary{cursor:pointer;color:#704f75;font-size:11px;min-height:27px;font-weight:760}
body[data-active-view="create"] .p01-more-options>summary span{font-size:10px;color:#9a879b;font-weight:500;margin-left:4px}
body[data-active-view="create"] .p01-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}
body[data-active-view="create"] .p01-more-grid label{display:grid;gap:5px;font-size:11px}
body[data-active-view="create"] .p01-more-grid input,body[data-active-view="create"] .p01-more-grid select{width:100%;min-height:43px;font-size:12px}
body[data-active-view="create"] .p01-more-options p{color:#9b8995;line-height:1.4;font-size:10px;margin:5px 0}
body[data-active-view="create"] .p01-preview{display:flex;flex-direction:column}
body[data-active-view="create"] .p01-preview .sectionhead{margin-bottom:12px}
body[data-active-view="create"] .p01-preview #cardPreview{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:325px;height:clamp(325px,43vh,390px);width:100%;
  padding:25px 21px 29px;max-width:100%;flex:0 0 auto;
}
body[data-active-view="create"] .p01-preview .card-foil{margin-bottom:10px}
body[data-active-view="create"] .p01-preview #cardPreview h2{font-size:clamp(31px,3.4vw,43px)}
body[data-active-view="create"] .p01-preview #cardPreview #previewMessage{font-size:14px}
body[data-active-view="create"] .p01-preview-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 12px;margin:11px 0 3px}
body[data-active-view="create"] .p01-preview-tools .design-open{
  min-height:44px;width:auto;min-width:205px;max-width:100%;
  border:1px solid #d7bed5;border-radius:12px;padding:10px 16px;
  background:#fff7fd;color:#6c3a6b;font-size:12px;font-weight:760;text-align:center
}
body[data-active-view="create"] .p01-preview-tools .design-open:hover{background:#fbe7f6}
body[data-active-view="create"] .p01-preview-tools .design-selected{font-size:10px;color:#967c92;max-width:100%;line-height:1.4}
body[data-active-view="create"] .p01-preview .previewActions{justify-content:space-between;margin:8px 2px 0;gap:7px;flex-wrap:wrap;font-size:10px}
#designDialog #pmPhotoDesign{width:100%;min-height:45px;display:flex;align-items:center;justify-content:center;gap:5px;margin:7px 0 5px;border:1px dashed #b68aad;background:#fff7fc;border-radius:11px;color:#654466;font-size:12px;font-weight:760;cursor:pointer}
#designDialog #pmPhotoDesign:hover{background:#fbeaf6;border-style:solid}
@media(min-width:921px) and (max-height:840px){
 body[data-active-view="create"] .top{height:65px}
 body[data-active-view="create"] .intro{margin:9px 0 10px;min-height:65px}
 body[data-active-view="create"] .p01-create,body[data-active-view="create"] .p01-preview{padding:13px 16px}
 body[data-active-view="create"] .p01-create .occasion-shortcuts{margin-bottom:11px}
 body[data-active-view="create"] .p01-create .formgrid{gap:8px}
 body[data-active-view="create"] .p01-create .formgrid textarea{min-height:67px}
 body[data-active-view="create"] .p01-create .create-cta{margin-top:10px;min-height:47px}
 body[data-active-view="create"] .p01-assurance{padding:9px 0 5px}
 body[data-active-view="create"] .p01-preview #cardPreview{min-height:305px;height:min(42vh,340px)}
 body[data-active-view="create"] .p01-preview #cardPreview .sparkle{margin-bottom:6px}
}
@media(max-width:920px){
 body[data-active-view="create"] .workspace{grid-template-columns:1fr;gap:12px}
 body[data-active-view="create"] .p01-create{order:0}
 body[data-active-view="create"] .p01-preview{order:1}
 body[data-active-view="create"] .p01-preview #cardPreview{height:auto;min-height:300px}
}
@media(max-width:600px){
 body[data-active-view="create"] .intro{margin:12px 0;min-height:auto}
 body[data-active-view="create"] .intro h1{font-size:clamp(22px,5.7vw,28px);line-height:1.16}
 body[data-active-view="create"] .p01-create,body[data-active-view="create"] .p01-preview{padding:13px}
 body[data-active-view="create"] .p01-create .occasion-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:12px}
 body[data-active-view="create"] .occasion-chip,body[data-active-view="create"] .occasion-more>summary{width:100%;min-height:46px;padding:10px 8px;font-size:11px}
 body[data-active-view="create"] .occasion-more label{right:0;min-width:min(295px,calc(100vw - 46px))}
 body[data-active-view="create"] .p01-create .formgrid textarea{min-height:80px}
 body[data-active-view="create"] .p01-create .create-cta{position:relative;min-height:51px;font-size:14px}
 body[data-active-view="create"] .p01-create .inline-inspire{position:static;float:right;font-size:11px}
 body[data-active-view="create"] .p01-more-grid{grid-template-columns:1fr}
 body[data-active-view="create"] .p01-assurance{gap:8px 13px;font-size:10px}
 body[data-active-view="create"] .p01-preview #cardPreview{min-height:275px;height:auto}
 body[data-active-view="create"] .p01-preview-tools{flex-direction:column}
 body[data-active-view="create"] .p01-preview-tools .design-open{width:100%;min-height:49px}
 body[data-active-view="create"] .p01-preview .previewActions{display:none}
}
@media(max-width:370px){
 body[data-active-view="create"] .p01-create .occasion-shortcuts{gap:5px}
 body[data-active-view="create"] .occasion-chip,body[data-active-view="create"] .occasion-more>summary{font-size:10px}
}


/* P01 mobile refinement: legible card creation with an intentional message mode. */
body[data-active-view="create"] .p01-message{display:grid;gap:6px}
body[data-active-view="create"] .p01-message-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
body[data-active-view="create"] .p01-message-head label{font-size:13px;font-weight:750;color:#473149}
body[data-active-view="create"] .p01-message-head .inline-inspire{
 position:static;float:none;flex:0 0 auto;min-height:38px;
 background:#fbf0f9;border:1px solid #e8d5e5;border-radius:8px;
 padding:7px 10px;color:#713f70;font-weight:750;font-size:11px
}
body[data-active-view="create"] .p01-message textarea{
 display:block;width:100%;min-height:85px;border-radius:11px;padding:12px;
 border:1px solid #e3d7e2;background:white;color:#3f2b46;
 font-size:15px;line-height:1.55
}
body[data-active-view="create"] #p01MessageHint{
 font-size:11px;color:#756274;line-height:1.4;margin:0
}

body[data-active-view="create"] .p01-create :is(input,textarea,select):focus-visible{
 outline-offset:2px;border-color:#795075
}
@media(max-width:600px){
 body[data-active-view="create"] .shell{padding-inline:13px}
 body[data-active-view="create"] .top{padding:10px 0 9px;gap:10px}
 body[data-active-view="create"] .top .brand{font-size:19px}
 body[data-active-view="create"] .top .nav{gap:3px}
 body[data-active-view="create"] .top .nav button{font-size:12px;min-height:43px;padding-inline:7px}
 body[data-active-view="create"] .intro{margin:12px 0 11px}
 body[data-active-view="create"] .intro .eyebrow{font-size:10px;letter-spacing:.9px}
 body[data-active-view="create"] .intro h1{font-size:clamp(26px,7vw,30px);line-height:1.14;letter-spacing:-.7px}
 body[data-active-view="create"] .intro p:not(.eyebrow){font-size:13px;line-height:1.45;margin-top:7px;color:#625368}
 body[data-active-view="create"] .p01-create,body[data-active-view="create"] .p01-preview{
  border-radius:16px;padding:15px 14px;box-shadow:0 6px 25px #4e335314
 }
 body[data-active-view="create"] .sectionhead .panel-title{font-size:16px}
 body[data-active-view="create"] .sectionhead .panel-eyebrow{font-size:10px;letter-spacing:.4px}
 body[data-active-view="create"] .p01-create .occasion-shortcuts{gap:7px;margin-bottom:11px}
 body[data-active-view="create"] .occasion-chip,body[data-active-view="create"] .occasion-more>summary{
  font-size:13px;min-height:46px;padding:9px 5px
 }
 body[data-active-view="create"] .p01-create .formgrid{gap:13px}
 body[data-active-view="create"] .p01-create .formgrid label{font-size:14px;line-height:1.4}
 body[data-active-view="create"] .p01-create .formgrid input{font-size:16px;min-height:49px}






 body[data-active-view="create"] .p01-message-head label{font-size:14px}
 body[data-active-view="create"] .p01-message-head label span{font-size:12px}
 body[data-active-view="create"] .p01-message-head .inline-inspire{font-size:12px;min-height:43px}
 body[data-active-view="create"] .p01-message textarea{font-size:16px!important;min-height:93px;padding:12px}
 body[data-active-view="create"] #p01MessageHint{font-size:12px;line-height:1.45}
 body[data-active-view="create"] .p01-create .create-cta{min-height:52px;margin-top:15px;font-size:15px}
 body[data-active-view="create"] .p01-assurance{justify-content:center;font-size:11px;gap:12px}
 body[data-active-view="create"] .p01-more-options>summary{min-height:43px;display:flex;align-items:center;font-size:13px}
 body[data-active-view="create"] .p01-more-options>summary span{font-size:12px}
 body[data-active-view="create"] .p01-preview{gap:2px}
 body[data-active-view="create"] .p01-preview #cardPreview{min-height:290px}
 body[data-active-view="create"] .p01-preview #cardPreview #previewMessage{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
 body[data-active-view="create"] .p01-preview .previewActions{display:flex;justify-content:center;margin-top:8px}
 body[data-active-view="create"] .p01-preview .previewActions>span:last-child{display:none}

 body[data-active-view="create"] .p01-preview-tools .design-open{font-size:14px;min-height:49px}
 body[data-active-view="create"] .p01-preview-tools .design-selected{font-size:12px}
}
@media(max-width:365px){
 body[data-active-view="create"] .top .nav button{font-size:11px;padding-inline:5px}
 body[data-active-view="create"] .p01-message-head label span{display:none}
}
.pg-solo-board .event-card{cursor:default}
.pg-solo-board .event-card:hover{transform:none;box-shadow:0 22px 65px #4e31542a,0 0 0 7px #f5e7df40}
.pg-solo-board .pg-guest-actions>span{font-size:12px;color:#725575}
.pg-solo-board .pg-guest-actions>.primary{min-height:49px}

/* Final sharing choice lives at review, not on the landing form. */
#reviewDialog .p01-sharing-choice{border:1px solid #d9c2d7;background:linear-gradient(125deg,#fff9fc,#faf2f9);border-radius:14px;padding:12px 14px;margin:12px 0;box-shadow:0 4px 13px #5a3b6010}
#reviewDialog .p01-sharing-label{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;min-height:57px}
#reviewDialog .p01-sharing-copy{display:grid;gap:5px;min-width:0}
#reviewDialog .p01-sharing-copy strong{font-size:15px;font-weight:790;color:#47334f}
#reviewDialog .p01-sharing-copy small{font-size:12px;line-height:1.45;font-weight:460;color:#735b74}
#reviewDialog .p01-switch{position:relative;display:block;flex:0 0 48px;width:48px;height:28px}
#reviewDialog .p01-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:2}
#reviewDialog .p01-switch>span{position:absolute;inset:0;background:#c7b7c5;border-radius:30px;transition:background .16s}
#reviewDialog .p01-switch>span:after{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;background:white;border-radius:50%;box-shadow:0 1px 3px #341b3955;transition:transform .16s}
#reviewDialog .p01-switch input:checked+span{background:#704674}
#reviewDialog .p01-switch input:checked+span:after{transform:translateX(20px)}
#reviewDialog .p01-switch input:focus-visible+span{outline:3px solid #9b639c;outline-offset:3px}
#reviewDialog .p01-review-help{font-size:12px;line-height:1.55;background:#fff7eb;border:1px solid #e9d8b5;padding:10px;border-radius:10px;margin:9px 0 0;color:#66503e}
#reviewDialog .p01-review-help[hidden]{display:none}
#reviewDialog .p01-review-help button{background:none;border:0;text-decoration:underline;text-underline-offset:3px;color:#724d73;cursor:pointer;font-weight:790;min-height:32px;padding:3px}
#reviewDialog .review-confirm{font-size:13px;line-height:1.45;align-items:center}
#reviewDialog .review-confirm input{width:19px;height:19px}
#reviewDialog .actionGroup{display:flex;gap:9px;flex-wrap:wrap}
#reviewDialog .actionGroup button{min-height:47px;font-size:13px}
@media(max-width:600px){
 #reviewDialog{width:calc(100vw - 18px);max-height:95dvh;padding:17px 15px;border-radius:18px}
 #reviewDialog h2{font-size:25px;line-height:1.2}
 #reviewDialog .review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}
 #reviewDialog .review-list>div{padding:9px;border-radius:9px}
 #reviewDialog .review-list dt{font-size:11px}
 #reviewDialog .review-list dd{font-size:13px;max-height:62px}
 #reviewDialog .p01-sharing-choice{padding:11px 12px}
 #reviewDialog .p01-sharing-copy strong{font-size:15px}
 #reviewDialog .p01-sharing-copy small{font-size:13px}
 #reviewDialog .review-confirm{font-size:13px}
 #reviewDialog .actionGroup{position:sticky;bottom:-17px;z-index:2;background:linear-gradient(#fffdfbf2,#fffdfb);padding:10px 0 6px;box-shadow:0 -6px 13px #fffdfbcc}
 #reviewDialog .actionGroup .primary{flex:1;min-width:170px}
}
@media(prefers-reduced-motion:reduce){#reviewDialog .p01-switch>span,#reviewDialog .p01-switch>span:after{transition:none}}


/* Different audiences, unmistakable tone: contributor invitation vs gift reveal. */
.pg-guest-board .pg-guest-actions{gap:9px;padding:16px 12px 20px;text-align:center;max-width:660px;margin:0 auto}
.pg-guest-board .pg-guest-actions>p:first-child{font-size:clamp(16px,2vw,21px);line-height:1.35;font-weight:780;color:#49314e;margin:0}
.pg-guest-board .pg-guest-actions .pg-invite-request{font-size:clamp(14px,1.5vw,17px);line-height:1.5;color:#634d69;max-width:530px;font-weight:500;margin:1px auto 3px}
.pg-guest-board .pg-guest-actions>.primary{min-height:51px;font-size:15px;border-radius:28px;max-width:100%;white-space:normal}
.pg-guest-board .pg-guest-actions>span{font-size:12px;color:#756678;line-height:1.45}
.pg-guest-board .pg-guest-actions .pg-guest-share{min-height:41px;font-size:13px;font-weight:680}
.pg-recipient-welcome{max-width:760px;padding:15px 18px 18px;margin:0 auto 15px;text-align:center;background:linear-gradient(135deg,#fff7fc,#fffdf8);border:1px solid #ead9e5;border-radius:17px}
.pg-recipient-welcome .eyebrow{font-size:10px;color:#906c88;letter-spacing:1px}
.pg-recipient-welcome h2{font:550 clamp(23px,2.8vw,34px)/1.2 Georgia,serif;color:#4e3351;margin:9px 0}
.pg-recipient-welcome>p:last-child{font-size:clamp(14px,1.5vw,16px);line-height:1.55;color:#65516a;margin:0 auto;max-width:620px}
.pg-surprise-entrance h2{overflow-wrap:anywhere;text-wrap:balance}
.pg-surprise-entrance p{font-size:15px;line-height:1.5}
@media(max-width:600px){
 .pg-guest-board .pg-guest-actions{padding:14px 10px 17px;gap:9px}
 .pg-guest-board .pg-guest-actions>p:first-child{font-size:19px;line-height:1.28}
 .pg-guest-board .pg-guest-actions .pg-invite-request{font-size:16px;line-height:1.45}
 .pg-guest-board .pg-guest-actions>.primary{width:100%;font-size:16px;min-height:52px}
 .pg-guest-board .pg-guest-actions .pg-guest-share{font-size:14px;min-height:43px}
 .pg-guest-board .pg-guest-actions>span{font-size:12px}
 .pg-recipient-welcome{margin:6px 8px 15px;padding:14px 12px}
 .pg-recipient-welcome h2{font-size:25px}
 .pg-recipient-welcome>p:last-child{font-size:15px}
 .recipient-card .recipient-card-message{font-size:16px;line-height:1.5}
 .recipient-wishes-heading{font-size:21px;line-height:1.3}
}


/* Guest wish popup: clear core task; all visual controls remain one tap away. */
.pg-wish-studio .pg-wish-style{grid-column:1/-1;border:1px solid #e9d8e7;background:#fffafd;border-radius:12px;padding:0 10px 8px}
.pg-wish-studio .pg-wish-style summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:#6b4770;font-size:13px;font-weight:760;min-height:44px}
.pg-wish-studio .pg-wish-style summary::-webkit-details-marker{display:none}
.pg-wish-studio .pg-wish-style summary small{font-size:11px;font-weight:500;color:#917b92}
.pg-wish-studio .pg-wish-style .pg-wish-design{margin-top:6px}
.pg-wish-studio .pg-wish-style summary:focus-visible{outline:2px solid #704674;outline-offset:3px}
.pg-wish-studio #wishForm>.primary{min-height:48px;font-size:15px}
.pg-wish-studio #wishForm>p.soft{display:block;font-size:12px;line-height:1.45}
@media(max-width:620px){
 .pg-wish-studio{max-height:100dvh;max-width:100vw;width:100vw;border-radius:0;margin:0;padding:15px 13px 18px}
 .pg-wish-studio .pg-wish-dialog-top h2{font-size:23px;line-height:1.2}
 .pg-wish-studio #wishForm{grid-template-columns:1fr;gap:10px}
 .pg-wish-studio #wishForm>*{grid-column:1/-1}
 .pg-wish-studio #wishForm>h3{font-size:18px;line-height:1.3}
 .pg-wish-studio #wishForm>p.soft{display:block;font-size:13px;line-height:1.5}
 .pg-wish-studio label{font-size:13px;line-height:1.4;gap:5px;font-weight:650}
 .pg-wish-studio input:not([type=checkbox]):not([type=file]),.pg-wish-studio textarea,.pg-wish-studio select{min-height:47px;padding:10px 12px;font-size:16px;line-height:1.45}
 .pg-wish-studio textarea{min-height:95px}
 .pg-wish-studio .pg-wish-style summary{font-size:14px;min-height:48px}
 .pg-wish-studio .pg-wish-design label{font-size:13px}
 .pg-wish-studio .wish-media-pickers label,.pg-wish-studio .wish-media-pickers button{min-height:46px;font-size:13px}
 .pg-wish-studio #wishForm>.primary{position:sticky;bottom:-18px;z-index:4;width:100%;border-radius:13px;background:#694475;font-size:16px;min-height:52px}
 .pg-wish-studio .wish-file-status{font-size:12px}
 .pg-wish-studio .pg-wish-preview h4{font-size:17px}
 .pg-wish-studio .pg-wish-preview p{font-size:15px;line-height:1.5}
}


/* Cohesive cross-journey accessibility pass for narrow screens.
   Scope to dialogs and secondary pages; preserve the compact P01 board. */
:root{--pm-focus-ring:#75407f}
:is(button,a,input,select,textarea,summary):focus-visible{
 outline:3px solid var(--pm-focus-ring);outline-offset:3px
}
#explore .cards,#mine .cards,#partner .partnerGrid,
.pm-memory-grid,.pm-composer-body,.pg-info-grid,.pg-formgrid{min-width:0}
:is(#explore,#mine,#partner) :is(h1,h2,h3,p,small,span),
:is(.experienceDialog,.pm-feature-dialog,.pm-composer-dialog,.pg-delivery-dialog) :is(h1,h2,h3,p,small,span){
 overflow-wrap:break-word
}
:is(#explore,#mine,#partner) :is(input,textarea,select),
:is(.experienceDialog,.pm-feature-dialog,.pm-composer-dialog,.pg-delivery-dialog) :is(input,textarea,select){
 max-width:100%
}
#explore :is(button,a),#mine :is(button,a),#partner :is(button,a){
 text-underline-offset:3px
}
.pm-feature-dialog .pm-feature-option:focus-within,.pm-composer-dialog .pm-layouts button:focus-visible{
 outline:3px solid var(--pm-focus-ring);outline-offset:2px
}
@media(max-width:640px){
 /* Prevent iOS focus zoom: 16px text on editable fields. */
 :is(#explore,#mine,#partner,.experienceDialog,.pm-feature-dialog,.pm-composer-dialog,.pg-delivery-dialog,.pm-dialog)
 :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea){
  font-size:16px;min-height:46px;line-height:1.45
 }
 :is(#explore,#mine,#partner,.experienceDialog,.pm-feature-dialog,.pm-composer-dialog,.pg-delivery-dialog,.pm-dialog)
 :is(button,.secondary,.primary){
  min-height:44px
 }
 #explore .sectionhead .panel-title,#mine .sectionhead .panel-title,#partner .sectionhead .panel-title{
  font-size:19px;line-height:1.3
 }
 #explore .section-subcopy,#mine .section-subcopy,#partner .section-subcopy{font-size:14px;line-height:1.55}
 #explore .explore-filters{gap:10px}
 #explore .explore-filters label,#partner .supplier-search label{font-size:14px}
 #explore .cards,#mine .cards{gap:10px}
 #mine .mine-guide h3{font-size:20px}
 #mine .mine-guide p,#mine .mine-tips p{font-size:13px;line-height:1.5}
 #partner .partner-discover h3{font-size:18px}
 #partner .partner-discover .soft{font-size:13px;line-height:1.5}
 .experienceDialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:16px 13px}
 .experienceDialog :is(h2,h3){line-height:1.25}
 .experienceDialog .soft,.experienceDialog .pg-formgrid label{font-size:13px;line-height:1.5}
 .experienceDialog .pg-info-grid,.experienceDialog .pg-formgrid{gap:11px}
 .experienceDialog .pg-line{gap:8px}
 .experienceDialog .pg-line small{font-size:12px}
 .pm-feature-dialog .pm-feature-head h2{font-size:25px}
 .pm-feature-dialog .pm-feature-head p{font-size:13px;line-height:1.45}
 .pm-feature-option strong{font-size:14px}
 .pm-feature-option small{font-size:12px;line-height:1.45}
 .pm-composer-head h2{font-size:24px}
 .pm-composer-head>div>span{font-size:13px;line-height:1.45}
 .pm-composer-control label,.pm-composer-config label{font-size:13px;line-height:1.45}
 .pm-layouts button,.pm-slot{font-size:13px;min-height:46px}
 .pm-composer-hint,.pm-composer-preview-caption{font-size:12px;line-height:1.45}
 #pgRecipientGallery .pm-memory-heading h2{font-size:23px}
 #pgRecipientGallery .pm-memory-switch button{font-size:13px;min-height:45px}
 .pg-delivery-step label{font-size:14px;line-height:1.4}
 .pg-delivery-note{font-size:13px;line-height:1.5}
 .pg-delivery-consent{font-size:13px;line-height:1.45}
}
@media(prefers-reduced-motion:reduce){
 :is(.pm-card-scene,.pg-social-dialog,.experienceDialog,.pm-composer-dialog){scroll-behavior:auto}
}


/* Wish Studio: write first; media and advanced tools are always optional. */
.pg-wish-studio{width:min(740px,calc(100vw - 20px));max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.pg-wish-studio #wishForm{grid-template-columns:minmax(0,1fr);gap:12px;padding:7px 0 5px;background:none;border:0}
.pg-wish-studio #wishForm>*{grid-column:1/-1;min-width:0}
.pg-wish-studio #wishForm>h3{font-size:clamp(21px,2.6vw,26px);line-height:1.26;color:#48304d}
.pg-wish-studio #wishForm>p.soft{display:block;font-size:13px;line-height:1.48;color:#796479}
.pg-wish-studio #wishForm>label{font-size:14px;font-weight:760;line-height:1.4}
.pg-wish-studio #wishForm .pg-wish-message small{display:block;font-size:12px;font-weight:500;color:#7e687e;line-height:1.5}
.pg-wish-studio #wishForm :is(input:not([type=checkbox]):not([type=file]),textarea,select){
 font-size:16px;min-height:47px;line-height:1.5;padding:10px 12px;border-radius:11px;color:#422c48
}
.pg-wish-studio #wishForm textarea{min-height:120px}
.pg-wish-studio .pg-wish-media-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:4px 0 0}
.pg-wish-studio .pg-wish-media-head strong{font-size:14px;color:#563a5c}
.pg-wish-studio .pg-wish-media-head small{font-size:12px;color:#826d83}
.pg-wish-studio .wish-media-pickers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.pg-wish-studio .wish-media-pickers :is(label,button){min-width:0;min-height:48px;padding:10px 5px!important;font-size:13px;border-radius:11px}
.pg-wish-studio .pg-wish-file-choice{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.pg-wish-studio .pg-wish-file-choice .wish-file-status{font-size:12px;color:#736078;line-height:1.5;min-width:150px}
.pg-wish-studio #wishRemoveFile{font-size:12px;min-height:43px;border-color:#d0a7bd;color:#71435b}
.pg-wish-studio #wishRemoveFile[hidden]{display:none!important}
.pg-wish-studio .wish-media-consent{display:flex;flex-wrap:nowrap;gap:11px;align-items:flex-start;border:1px solid #e4cbdb;border-radius:12px;background:#fff8fc;padding:12px!important}
.pg-wish-studio .wish-media-consent[hidden]{display:none!important}
.pg-wish-studio #wishPermission{width:22px;height:22px;min-width:22px;flex:0 0 22px;margin:0;accent-color:#7a4775}
.pg-wish-studio .wish-media-consent span{font-size:13px;font-weight:600;line-height:1.55}
.pg-wish-studio .pg-wish-style,.pg-wish-studio .pg-wish-preview-wrap,.pg-wish-studio .pg-wish-reaction{border:1px solid #e8d7e4;border-radius:12px;padding:0 12px 8px;background:#fffafd}
.pg-wish-studio :is(.pg-wish-style,.pg-wish-preview-wrap,.pg-wish-reaction)>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:46px;cursor:pointer;font-size:13px;font-weight:750;color:#62446a}
.pg-wish-studio :is(.pg-wish-style,.pg-wish-preview-wrap,.pg-wish-reaction)>summary::-webkit-details-marker{display:none}
.pg-wish-studio :is(.pg-wish-style,.pg-wish-preview-wrap,.pg-wish-reaction)>summary small{font-size:11px;font-weight:500;color:#8e7890}
.pg-wish-studio .pg-wish-preview-wrap .pg-wish-preview{margin-top:7px}
.pg-wish-studio .pg-wish-reaction label{font-size:13px}
.pg-wish-studio .pg-wish-money>summary{font-size:13px;min-height:44px}
.pg-wish-studio .pg-wish-error{display:block;border:1px solid #e3a6a7;background:#fff1f1;color:#8d293b;border-radius:12px;padding:12px 14px;font-size:13px;font-weight:680;line-height:1.5}
.pg-wish-studio .pg-wish-error[hidden]{display:none!important}
.pg-wish-studio #wishForm>.primary{border-radius:13px;font-size:16px;min-height:53px}
.pg-wish-studio #wishForm.wish-submitted{padding:8px 2px}
.pg-wish-studio #wishForm.wish-submitted>:not(#wishSuccess){display:none!important}
.pg-wish-studio .pg-wish-success-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;border:1px solid #e5cae1;background:linear-gradient(145deg,#fffdfb,#fceff7);border-radius:19px;min-height:290px;padding:25px 18px;color:#53385b}
.pg-wish-studio .pg-wish-success-screen[hidden]{display:none!important}
.pg-wish-studio .pg-wish-success-emblem{display:grid;place-items:center;width:65px;height:65px;background:#704675;color:white;border-radius:50%;font-size:35px}
.pg-wish-studio .pg-wish-success-screen h3{font-size:24px;line-height:1.22;font-family:Georgia,serif;margin:0}
.pg-wish-studio .pg-wish-success-screen p{font-size:14px;line-height:1.55;margin:0;max-width:490px}
.pg-wish-studio .pg-wish-success-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;width:100%}
.pg-wish-studio .pg-wish-success-actions button{min-height:48px;font-size:14px;border-radius:12px}
@media(max-width:640px){
 .pg-wish-studio{width:100vw;max-width:100vw;max-height:100dvh;border-radius:0;padding:15px 13px}
 .pg-wish-studio #wishForm{gap:11px}
 .pg-wish-studio #wishForm textarea{min-height:120px}
 .pg-wish-studio #wishForm>h3{font-size:21px}
 .pg-wish-studio .pg-wish-media-head{align-items:flex-start;flex-direction:column;gap:2px}
 .pg-wish-studio .wish-media-pickers{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pg-wish-studio .wish-media-pickers :is(label,button){font-size:14px;min-height:48px}
 .pg-wish-studio .pg-wish-success-screen h3{font-size:23px}
 .pg-wish-studio .pg-wish-success-actions{flex-direction:column}
 .pg-wish-studio .pg-wish-success-actions button{width:100%}
}


/* Owner's own wish also gets an unmistakable receipt, not just a toast. */
#celebrationDetail #wishForm.wish-submitted>:not(#wishSuccess){display:none!important}
#celebrationDetail #wishForm .pg-wish-success-screen[hidden]{display:none!important}
#celebrationDetail #wishForm .pg-wish-success-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(145deg,#fffdfb,#fbeef7);border:1px solid #ead1e3;border-radius:17px;padding:22px 16px;text-align:center}
#celebrationDetail #wishForm .pg-wish-success-emblem{display:grid;place-items:center;width:60px;height:60px;background:#704675;border-radius:50%;font-size:34px;color:#fff}
#celebrationDetail #wishForm .pg-wish-success-screen h3{font-family:Georgia,serif;font-size:23px;line-height:1.3;margin:0}
#celebrationDetail #wishForm .pg-wish-success-screen p{font-size:13px;line-height:1.55;color:#705774}
#celebrationDetail #wishForm .pg-wish-success-actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:center}
#celebrationDetail #wishForm .pg-wish-success-actions button{min-height:45px}
#celebrationDetail #wishForm #wishRemoveFile[hidden],#celebrationDetail #wishForm .pg-wish-error[hidden]{display:none!important}
#celebrationDetail #wishForm .pg-wish-error{padding:11px 13px;border:1px solid #e4a6b2;color:#8d293b;border-radius:11px;background:#fff1f1;font-size:13px;line-height:1.5}
#celebrationDetail #wishForm .pg-wish-file-choice{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}
#celebrationDetail #wishForm .pg-wish-media-head{display:grid;gap:3px}
#celebrationDetail #wishForm .pg-wish-media-head strong{font-size:14px}
#celebrationDetail #wishForm .pg-wish-media-head small{font-size:12px}
#celebrationDetail #wishForm .wish-media-consent{align-items:center;display:flex;gap:9px}
#celebrationDetail #wishForm #wishPermission{width:22px;height:22px;min-width:22px;accent-color:#704675}


/* Role-safe sharing: the guest must only have one obvious action.
   Keep the card itself central and make forwarding a secondary choice. */
.pg-guest-board .detailbox{max-width:1050px;margin-inline:auto}
/* The public guest view must not resemble the organiser management dashboard. */
.pg-guest-board .detailbox>div>.share-intro,
.pg-guest-board .detailbox>div>.actionGroup,
.pg-guest-board .detailbox>div>.pg-share-banner,
.pg-guest-board .detailbox>div>.pg-share-main,
.pg-guest-board .detailbox>div>p.soft{display:none!important}
.pg-guest-board .detailbox>.pg-share-banner{display:none}
.pg-guest-board .pg-guest-actions{max-width:740px;margin:12px auto 5px;padding:14px 15px 16px;gap:7px;text-align:center}
.pg-guest-board .pg-guest-actions>p:first-child{font-size:clamp(19px,2.35vw,24px);font-weight:770;line-height:1.27;color:#45304e;margin:0}
.pg-guest-board .pg-guest-actions .pg-invite-request{font-size:clamp(14px,1.6vw,17px);line-height:1.55;max-width:610px;margin:0 auto 5px;color:#70596f}
.pg-guest-board .pg-guest-actions>.primary{min-height:54px;min-width:min(290px,100%);font-size:16px;box-shadow:0 7px 22px #55315a22}
.pg-guest-board .pg-guest-actions .pg-guest-share{margin-top:6px;border:1px solid #dfc9dd;background:#fff8fe;border-radius:24px;padding:9px 14px;font-size:13px;color:#6a456e;font-weight:690}
.pg-guest-board .pg-guest-actions>span{font-size:12px;line-height:1.4}
.pg-guest-board.pg-solo-board .pg-guest-actions{gap:9px}
.pg-solo-board .pg-guest-actions .pg-guest-share{background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;box-shadow:none}
.pg-guest-board .pg-guest-more{font-size:12px;min-height:43px;text-underline-offset:4px}
@media(max-width:600px){
 .pg-guest-board .detailbox{padding:12px}
 .pg-guest-board .pg-guest-actions{padding:14px 9px 17px}
 .pg-guest-board .pg-guest-actions>p:first-child{font-size:21px}
 .pg-guest-board .pg-guest-actions .pg-invite-request{font-size:15px}
 .pg-guest-board .pg-guest-actions>.primary{width:100%;min-height:53px}
 .pg-guest-board .pg-guest-actions .pg-guest-share{font-size:14px;min-height:44px}
}

/* Recipient-only wishbook: full-resolution text/photo layout for browser Save PDF. */
#pmWishbookPages{display:none}
.pm-memory-archive{margin:7px 0;min-width:0;flex-basis:100%}
.pm-memory-archive summary{font-size:12px;color:#826884;cursor:pointer;padding:5px 0;min-height:35px}
.pm-memory-archive button{font-size:12px;min-height:42px}
@media print{
 @page{size:A4 portrait;margin:0}
 html,body{background:#fff!important;padding:0!important;margin:0!important}
 body > :not(#pmWishbookPages){display:none!important}
 #pmWishbookPages{display:block!important;position:static!important;width:210mm!important;max-width:210mm!important;margin:0!important;padding:0!important;color:#432b4d;background:#fff}
 #pmWishbookPages header,#pmWishbookPages article,#pmWishbookPages footer{box-sizing:border-box;width:210mm;min-height:297mm;padding:28mm 23mm;page-break-after:always;break-after:page;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;overflow-wrap:anywhere}
 #pmWishbookPages .pm-wishbook-cover{background:linear-gradient(140deg,#fff7e7,#f7e8f0 52%,#f1e2ee);border:12mm solid #fff9f4;color:#4f2b4f}
 #pmWishbookPages .pm-wishbook-cover>p:first-child{font:700 17pt/1.3 Georgia,serif;letter-spacing:2mm;color:#935c80}
 #pmWishbookPages .pm-wishbook-cover>span,#pmWishbookPages .pm-wishbook-eyebrow{font:700 10pt/1.6 system-ui,sans-serif;letter-spacing:.55mm;color:#9a698a}
 #pmWishbookPages h1{font:500 45pt/1.13 Georgia,serif;margin:22mm 0 11mm;color:#512951}
 #pmWishbookPages h2{font:500 28pt/1.3 Georgia,serif;margin:4mm 0 10mm;color:#573759}
 #pmWishbookPages .pm-wishbook-cover>p:nth-last-child(2){font:15pt/1.6 Georgia,serif;max-width:150mm}
 #pmWishbookPages .pm-wishbook-cover small{font:10pt/1.5 system-ui,sans-serif;color:#826c81}
 #pmWishbookPages .pm-wishbook-page{background:#fffaf8;border:10mm solid white;padding:19mm 22mm}
 #pmWishbookPages .pm-wishbook-page:nth-child(even){background:#fcf0f8}
 #pmWishbookPages .pm-wishbook-page h2{font-size:25pt;margin:8mm 0}
 #pmWishbookPages .pm-wishbook-page .pm-wishbook-message,#pmWishbookPages .pm-wishbook-opening>p:last-child{font:17pt/1.6 Georgia,serif;white-space:pre-wrap;max-width:154mm}
 #pmWishbookPages .pm-wishbook-photo{width:auto;max-width:148mm;max-height:145mm;object-fit:contain;border-radius:4mm;margin-top:10mm}
 #pmWishbookPages .pm-wishbook-media-note{font:11pt/1.5 system-ui,sans-serif;color:#7f6681}
 #pmWishbookPages .pm-wishbook-ending{background:linear-gradient(#f8eaf3,#fff8f2);gap:14mm;color:#6b3868}
 #pmWishbookPages .pm-wishbook-ending p{font:24pt/1.5 Georgia,serif}
 #pmWishbookPages .pm-wishbook-ending strong{font:700 19pt/1.2 system-ui,sans-serif;letter-spacing:2mm}
 #pmWishbookPages footer{page-break-after:auto;break-after:auto}
}



/* Private wishbook controls: readable, clear and resilient on small screens. */
.pm-memory-heading>button#pmMemorySave{font-size:13px;line-height:1.35;min-height:48px;padding:10px 14px;border-radius:12px;max-width:100%;white-space:normal;text-align:center}
.pm-memory-heading>div>span{font-size:13px;line-height:1.5}
.pm-memory-print-error{max-width:650px;border:1px solid #e3afb8;background:#fff3f5;color:#842e48;padding:12px 14px;border-radius:12px;font-size:13px;line-height:1.5;margin:7px 0 13px}
.pm-memory-archive>summary{font-size:13px;min-height:44px;padding:9px 0;cursor:pointer}
.pm-memory-archive>button{min-height:45px;font-size:13px}
@media(max-width:620px){
 .pm-memory-heading{display:flex;flex-direction:column;align-items:stretch;gap:11px}
 .pm-memory-heading>button#pmMemorySave{width:100%;font-size:15px;min-height:51px}
 .pm-memory-heading>div>span{font-size:14px}
 .pm-memory-filters button{font-size:13px;min-height:46px}
 .pm-memory-tools :is(input,select){font-size:16px;min-height:46px}
 .pm-memory-switch button{font-size:13px;min-height:44px}
 .pm-memory-empty{font-size:14px;line-height:1.5}
}
