/* Directed Groups phone Discovery composition; other stages/series unchanged. */
#phoneGroupsSilo{display:none;}
@media(min-width:768px){
 body:has(#workshop) #workshop .lc-footer{display:none!important;}
}
@media(max-width:767px){
 html:has(body.groups-catalog),body.groups-catalog{overflow:clip!important;}
 body.groups-catalog .rooms{position:fixed!important;left:16px;right:16px;width:auto!important;margin:0!important;top:calc(var(--groups-masthead-bottom, var(--mh-h)) + 12px);bottom:calc(76px + env(safe-area-inset-bottom));height:auto!important;}
 body.groups-catalog #workshop{height:100%!important;min-height:0!important;}
 body.groups-catalog #phoneGroupsSilo{display:block;position:relative;flex:none;margin:0 28px 12px 16px;z-index:901;}
 #phoneGroupsSilo .dcur__room{display:flex;align-items:center;gap:8px;min-height:60px;padding:6px;border:1px solid var(--gold-soft);border-radius:6px;background:var(--vellum);color:var(--ink);font:400 18px/1.1 var(--serif);text-align:left;cursor:pointer;}
 #phoneGroupsSilo .dcur__room img{width:44px;height:44px;object-fit:contain;flex:none;}
 #phoneGroupsSilo .dcur__room[aria-pressed="true"]{background:var(--oxblood);color:var(--vellum);}
 #phoneGroupsSilo .dcur__room{flex-direction:column;text-align:center;font-size:16px;gap:6px;}
 #phoneGroupsSilo .dcur__room img{width:34px;height:34px;}
 #phoneGroupsSilo .dcur__room{font-size:18px;padding:8px;}
 #phoneGroupsSilo .dcur__room img{width:24px;height:24px;}
 #phoneGroupsSilo summary{list-style:none;}
 #phoneGroupsSilo summary::-webkit-details-marker{display:none;}
 #phoneGroupsRooms{position:absolute;left:0;right:0;top:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;background:var(--vellum);max-height:calc(var(--ux-vh,100dvh) - 260px);overflow:auto;}
 #phoneGroupsSilo:not([open]) #phoneGroupsRooms{display:none;}
 body.groups-catalog #workshop .floor{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;gap:28px!important;padding:0 0 var(--phone-silo-tail,16px) 16px!important;max-width:none!important;}
 body.groups-catalog #workshop .floor>.silo-card{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;aspect-ratio:4/3!important;scroll-margin-top:0!important;}
 body.groups-catalog #deck{scrollbar-width:none!important;scrollbar-gutter:auto!important;}
 body.groups-catalog #deck::-webkit-scrollbar{display:none!important;width:0!important;}
 body.groups-catalog #workshop .floor:has(>.lc-footer){padding-bottom:0!important;}
 body.groups-catalog #deck{overscroll-behavior-y:contain;}
 body.groups-catalog #workshop .crumb{flex-shrink:0;}
 html:has(body.groups-catalog),body.groups-catalog{scrollbar-width:none!important;}
 html:has(body.groups-catalog)::-webkit-scrollbar,body.groups-catalog::-webkit-scrollbar{display:none!important;width:0!important;}
}
/* Rich's Groups Discovery bottom-bar and rectangle-stack reference, 2026-10-06. */
@media(max-width:767px){
 body.groups-catalog .phone-folds{top:178px;bottom:calc(76px + env(safe-area-inset-bottom));width:20px;gap:12px;}
 body.groups-catalog .phone-folds button{width:20px;height:24px;min-height:24px;flex:0 0 24px;border:0;border-radius:0;background:#764446;opacity:1;}
 body.groups-catalog .phone-folds button.current{background:#efc57d;opacity:1;box-shadow:0 0 6px #efc57d;}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-dock{grid-template-columns:44px minmax(0,1fr) 96px;gap:12px;border-top:0;background:#362424;}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-curator{position:relative;width:44px;height:44px;font-size:0;display:grid;place-items:center;}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-curator::before{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);content:'✦';display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#efc57d;color:#362424;font:24px/1 var(--sans,Manrope,sans-serif);}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-progress{height:44px;gap:0;--milestone-inset:clamp(0px,calc((100vw - 320px)*16/106),16px);}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-steps{align-items:center;justify-content:space-between;width:calc(100% - 2*var(--milestone-inset));margin-inline:auto;}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-steps::before{display:none;}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-steps span{box-sizing:border-box;flex:0 0 26px;width:26px;min-width:26px;height:26px;display:grid;place-items:center;border:1px solid var(--gold);border-radius:50%;font:400 14px/1 var(--sans,Manrope,sans-serif);color:#b6b1a0;background:#362424;}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-steps .reached,body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-steps .current{background:#362424;border-color:#efc57d;color:#efc57d;box-shadow:0 0 8px var(--gold);}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-count{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-disclosure{display:none;top:35px;bottom:auto;right:auto;transform:translateX(-50%);font-size:14px;line-height:16px;color:#efc57d;}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-progress:has(.current:nth-child(1)) .phone-disclosure{left:calc(var(--milestone-inset) + 13px);}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-progress:has(.current:nth-child(2)) .phone-disclosure{left:calc((100% - 2*var(--milestone-inset) - 26px)/3 + var(--milestone-inset) + 13px);}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-progress:has(.current:nth-child(3)) .phone-disclosure{left:calc((100% - 2*var(--milestone-inset) - 26px)*2/3 + var(--milestone-inset) + 13px);}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-progress:has(.current:nth-child(4)) .phone-disclosure{left:calc(100% - var(--milestone-inset) - 13px);}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-dock .phone-forward{position:relative;isolation:isolate;width:96px;height:44px;min-height:44px;padding:0;border:0;border-radius:4px;background:none;color:#ffffff;font:400 18px/1 var(--serif);}
 body:is(.groups-catalog,.groups-cart:not(.groups-shapes)) .phone-dock .phone-forward::before{content:'';position:absolute;inset:7px 0;border-radius:4px;background:#764446;z-index:-1;}
}

/* Groups mobile review: compact selected-effect rows. */
@media(max-width:767px){
 body.groups-cart:not(.groups-shapes){overflow:clip!important;}
 body.groups-cart:not(.groups-shapes) .rooms{position:fixed!important;left:16px;right:16px;top:calc(var(--groups-masthead-bottom, var(--mh-h)) + 12px);bottom:calc(76px + env(safe-area-inset-bottom));width:auto!important;height:auto!important;margin:0!important;}
 body.groups-cart:not(.groups-shapes) #workshop{height:100%!important;min-height:0!important;background:transparent!important;}
 body.groups-cart:not(.groups-shapes) #workshop .crumb{flex:none;min-height:44px;height:44px;margin:0 auto!important;padding:0 8px!important;width:min(100%,280px);font-size:26px;}
 body.groups-cart:not(.groups-shapes) #crumbHere{font:400 clamp(20px,6vw,26px)/1.15 var(--serif);padding:0;overflow:visible;white-space:nowrap;}
 body.groups-cart:not(.groups-shapes) #groupsReviewActions{flex:none;padding:8px 0 24px;}
 body.groups-cart:not(.groups-shapes) #groupsReviewClear{min-height:44px!important;padding:8px 16px!important;}
 body.groups-cart:not(.groups-shapes) #deck{flex:0 1 auto!important;min-height:0;height:auto!important;overflow-y:auto;scrollbar-width:none;}
 body.groups-cart:not(.groups-shapes) #deck::-webkit-scrollbar{display:none;}
 body.groups-cart:not(.groups-shapes) .face--effects{height:auto!important;min-height:0!important;}
 body.groups-cart:not(.groups-shapes) #effectFloor{height:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto;gap:12px 8px!important;padding:0 0 4px!important;align-content:start;}
 body.groups-cart:not(.groups-shapes) #effectFloor .silo-card__image{opacity:1!important;filter:none!important;transform:none!important;}
 body.groups-cart:not(.groups-shapes) #groupsReviewFooter:not([hidden]){flex:none;padding:8px 0 12px!important;}
 body.groups-cart:not(.groups-shapes) #groupsReviewFooter:has(#groupsReviewPages[hidden]){display:none!important;}
 body.groups-cart:not(.groups-shapes) #groupsReviewPages{width:max-content;border:1px solid #764446;border-radius:4px;}
 body.groups-cart:not(.groups-shapes) #groupsReviewPages .cur-mode{min-width:44px;min-height:32px!important;height:32px;background:#f3ede1!important;color:#764446!important;font:400 16px var(--sans);}
 body.groups-cart:not(.groups-shapes) #groupsReviewPages .cur-mode.is-active{background:#764446!important;color:#ffffff!important;}
 body.groups-cart:not(.groups-shapes) .phone-utility .uxphone-back{display:none!important;}
 body.groups-cart:not(.groups-shapes) .phone-utility .phone-curator{min-height:44px;}
}

/* Groups mobile shape chooser; count and actions remain in the shared dock. */
.phone-format-count{display:none;}
@media(max-width:767px){
 body.groups-shapes{overflow:clip!important;}
 body.groups-shapes .rooms{min-height:0!important;position:fixed!important;left:16px;right:16px;top:calc(var(--groups-masthead-bottom, var(--mh-h)) + 12px);bottom:calc(76px + env(safe-area-inset-bottom));width:auto!important;height:auto!important;margin:0!important;}
 body.groups-shapes #workshop{height:100%!important;min-height:0!important;background:transparent!important;}
 body.groups-shapes #groupsShapes{height:100%!important;min-height:0!important;flex:1 1 auto!important;overflow:auto!important;padding:0 12px 20px!important;box-sizing:border-box;scrollbar-width:none;}
 body.groups-shapes #groupsShapes .aspect-gallery{height:100%!important;min-height:0!important;padding:0!important;gap:16px;box-sizing:border-box;overflow:visible;}
 body.groups-shapes #groupsShapes .aspect-gallery__title{flex:none;font:400 clamp(20px,5.8vw,26px)/1.15 var(--serif);margin:0!important;text-align:center;}
 body.groups-shapes #groupsShapes .aspect-row{flex:1;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,auto);gap:8px;}
 body.groups-shapes #groupsShapes .aspect-opt{min-height:0;padding:10px 8px;gap:8px;justify-content:center;}
 body.groups-shapes #groupsShapes .aspect-opt__label{font:400 22px/1 var(--serif);}
 body.groups-shapes #groupsShapes .aspect-opt__say{font:400 14px/1.35 var(--sans);}
}

/* Rich's October 8 corrections: phone presentation only. */
@media(max-width:767px){
 body:has(#workshop) .acct:not(.is-open),
 body:has(#workshop) .pshop:not(.is-open),
 body:has(#workshop) .buy:not(.is-open) .buy-card,
 body:has(#workshop) .lcf-panel:not(.open){box-shadow:none!important;}
 body.groups-catalog .phone-dock .phone-curator::before{width:39px;height:39px;font-size:36px;}
 body.groups-catalog .phone-dock .phone-steps{width:calc(100% - 2*var(--milestone-inset) - 8px);}
 body.groups-cart{background:linear-gradient(rgba(247,242,233,.62),rgba(247,242,233,.62)),url('/textures/limestone.jpg') center/cover no-repeat fixed!important;}
 body.groups-cart .stage,body.groups-cart .rooms,body.groups-cart #workshop,
 body.groups-cart #deck,body.groups-cart .face--effects,body.groups-cart #groupsShapes,
 body.groups-cart .aspect-gallery{background:transparent!important;}
}

/* Approved mobile room-map trigger: same details/summary and room map. */
@media(max-width:767px){
 #phoneGroupsSilo>summary{width:100%;box-sizing:border-box;justify-content:center;align-items:center;}
 #phoneGroupsSilo .phone-effects-map{width:24px;height:24px;flex:none;}
}

/* Populated Groups states use the approved compact controls at phone and tablet sizes. */
@media(max-width:1024px){
 body.creation-mobile-corrected.groups-cart:not(.groups-shapes) #workshop>.revision-review-back{align-self:flex-start;width:auto;flex:none}
 body.creation-mobile-corrected.groups-cart:not(.groups-shapes) #workshop>.crumb{align-self:flex-start;width:calc(100% - 112px);margin:0!important;min-height:44px;padding:0!important}
 body.creation-mobile-corrected.groups-cart:not(.groups-shapes) #crumbHere{font:400 22px/1.2 var(--serif);white-space:normal}
 body.creation-mobile-corrected.groups-cart:not(.groups-shapes) #groupsReviewActions{position:absolute;right:0;top:56px;margin:0;padding:0}
 body.creation-mobile-corrected.groups-cart:not(.groups-shapes) #deck{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;margin-top:12px}
 body.creation-mobile-corrected.groups-cart #effectFloor{padding:0 0 16px!important}
 body.creation-mobile-corrected.groups-cart:not(.groups-shapes) #effectFloor>.silo-card{width:100%!important;max-height:none!important;border:1px solid var(--gold-soft)!important;border-radius:6px!important;flex:none;box-sizing:border-box}
 body.creation-mobile-corrected.groups-cart #effectFloor .silo-card__add{display:grid!important;place-items:center;border:1px solid var(--gold-soft)!important;background:var(--vellum);color:var(--oxblood)}
 body.creation-mobile-corrected.groups-cart #effectFloor .silo-card__content{width:auto;height:auto;margin:0;overflow:visible;clip-path:none}
 body.creation-mobile-corrected.groups-shapes #workshop>.revision-review-back{display:none!important}
 body.creation-mobile-corrected.groups-shapes .phone-format-count{display:none!important}
 body.creation-mobile-corrected.groups-shapes #groupsShapes .aspect-gallery{height:auto!important}
 body.creation-mobile-corrected.groups-shapes #groupsShapes .aspect-row{flex:none;grid-template-rows:repeat(3,auto)}
 body.creation-mobile-corrected.groups-shapes #aspectRow .revision-shape-icon{max-width:112px!important;max-height:112px!important;width:112px!important;height:112px!important}
 body.creation-mobile-corrected.groups-shapes #groupsShapes .aspect-opt{padding:8px;gap:4px;border:1px solid var(--gold-soft)!important}
 body.creation-mobile-corrected.groups-shapes #groupsShapes .aspect-opt__say{font-size:16px}
 body.creation-mobile-corrected.groups-cart .phone-dock .phone-utility{display:block!important}
 body.creation-mobile-corrected.groups-cart .phone-dock .phone-forward{width:100%!important;min-width:112px;height:48px!important;min-height:48px!important;padding:8px 12px!important;background:var(--oxblood)!important;font:400 22px/1 var(--serif)!important;text-transform:none}
 body.creation-mobile-corrected.groups-cart .phone-dock .phone-forward::before{display:none}
 body.creation-mobile-corrected.groups-cart .revision-selection-count{white-space:nowrap;font:400 12px/1.2 var(--sans)!important}
 body.creation-mobile-corrected.ux-groups-curator #cur{height:auto!important;min-height:0!important;gap:12px;padding:0!important}
 body.creation-mobile-corrected.ux-groups-curator #cur .cur-photo{margin:0;width:100%}
 body.creation-mobile-corrected.ux-groups-curator #cur .cur-thumb{width:100%;margin:0 auto;padding-bottom:52px;box-sizing:border-box}
 body.creation-mobile-corrected.ux-groups-curator #cur .cur-thumb img{width:100%!important;height:200px!important;max-height:200px!important;object-fit:contain;aspect-ratio:auto;border:0}
 body.creation-mobile-corrected.ux-groups-curator #curChange{position:absolute!important;right:calc(50% - 22px)!important;bottom:0!important;width:44px;height:44px;margin:0}
 body.creation-mobile-corrected.ux-groups-curator #cur .cur-modebar{width:100%;margin:0}
 body.creation-mobile-corrected.ux-groups-curator #curPick4Btn{width:100%!important;min-width:100%!important;padding:8px 24px!important;min-height:48px;font:400 22px var(--serif)!important;background:var(--oxblood)!important;color:var(--vellum)!important;opacity:1}
 body.creation-mobile-corrected.ux-groups-curator #groupsPackageInfo{padding:8px;margin:0;text-align:center;font:400 22px/1.4 var(--serif)}
 body.creation-mobile-corrected.ux-groups-curator .deep-startover{width:auto!important;align-self:center;margin:8px auto!important;padding:8px 24px!important}
 body.creation-mobile-corrected.ux-groups-curator #curCollection{margin:0!important;padding:12px!important;min-height:0;border:1px solid var(--gold-soft);background:var(--vellum);color:var(--ink)}
 body.creation-mobile-corrected.ux-groups-curator #curCollMilestones{color:var(--ink)}
 body.creation-mobile-corrected.ux-groups-curator #curReviewBtn{min-height:48px;font:400 22px var(--serif);background:var(--oxblood);color:var(--vellum);border:1px solid var(--gold-soft)}
 body.creation-mobile-corrected.ux-groups-curator .creation-curator-tools{display:flex!important;width:100%;gap:12px}
 body.creation-mobile-corrected.ux-groups-curator .ux-curator-close{position:relative;top:auto;align-self:flex-end;flex:none;margin:0 0 12px auto}
}

@media(max-width:1024px){
 body.creation-mobile-corrected.groups-cart #workshop .lc-footer{display:none!important}
 body.creation-mobile-corrected.ux-groups-curator #cur .cur-modebar:not(:has(*)){display:none!important}
 body.creation-mobile-corrected.ux-groups-curator #cur .creation-curator-tools{margin:0!important}
 body.creation-mobile-corrected.ux-groups-curator #curCollMilestones .dcur__milestone{color:var(--ink)!important;text-shadow:none!important}
 body.creation-mobile-corrected.ux-groups-curator #cur .deep-startover{margin:8px auto!important}
}
@media(max-width:767px){
 body.creation-mobile-corrected.groups-shapes #aspectRow .revision-shape-icon{width:80px!important;height:80px!important;max-width:80px!important;max-height:80px!important}
}

@media(min-width:768px) and (max-width:1024px){
 body.creation-mobile-corrected.groups-cart:has(#workshop) .rooms{position:fixed!important;inset:calc(var(--groups-masthead-bottom,64px) + 12px) 16px 76px!important;width:auto!important;padding:0!important;height:auto!important}
 body.creation-mobile-corrected.groups-cart #workshop{height:100%!important;min-height:0!important;padding:0!important;background:transparent!important;overflow:hidden!important}
 body.creation-mobile-corrected.groups-cart #deck{background:transparent!important;padding:0!important}
 body.creation-mobile-corrected.groups-shapes #groupsShapes{display:block!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;overflow-y:auto!important;padding:0 12px 16px!important}
 body.creation-mobile-corrected.groups-shapes #groupsShapes .aspect-gallery{height:auto!important;min-height:0!important;flex:none!important;overflow:visible!important;padding:0!important;width:100%;box-sizing:border-box}
 body.creation-mobile-corrected.groups-cart #lgTray,body.creation-mobile-corrected.groups-cart #groupsReviewFooter,body.creation-mobile-corrected.groups-shapes #groupsShapes>.groups-forward{display:none!important}
 body.creation-mobile-corrected.groups-cart .ux-groups-dock{grid-template-columns:44px minmax(0,1fr) auto;align-items:center;height:76px;min-height:76px;background:var(--vellum);box-sizing:border-box}
 body.creation-mobile-corrected.groups-cart .ux-groups-dock>.ux-back{display:none!important}
 body.creation-mobile-corrected.groups-cart .ux-groups-dock .revision-selection-count{color:var(--ink);font-size:16px!important}
 body.creation-mobile-corrected.groups-cart .ux-groups-dock .ux-forward{min-width:160px;min-height:48px;padding:8px 24px;background:var(--oxblood);color:var(--vellum)}
}

@media(min-width:768px) and (max-width:1024px){
 html:has(body.creation-mobile-corrected.groups-cart),body.creation-mobile-corrected.groups-cart{overflow:clip!important;height:100dvh!important}
 body.creation-mobile-corrected.groups-cart:has(#workshop) #lgTray{display:none!important}
 body.creation-mobile-corrected.groups-shapes #groupsShapes .aspect-gallery{box-shadow:none!important;background:transparent!important}
 body.creation-mobile-corrected.groups-shapes #groupsShapes .aspect-gallery__title{color:var(--oxblood)!important;text-shadow:none!important}
}

@media(min-width:768px) and (max-width:1024px){
 body.creation-mobile-corrected.groups-cart #workshop{box-shadow:none!important}
 body.creation-mobile-corrected.groups-cart #crumbHere{color:var(--oxblood)!important;text-shadow:none!important}
 body.creation-mobile-corrected.groups-cart #groupsReviewClear{background:var(--oxblood)!important;color:var(--vellum)!important;min-height:44px;padding:8px 16px;font:400 20px var(--serif)}
}
@media(max-width:1024px){
 body.creation-mobile-corrected.ux-groups-curator #groupsPackageInfo:empty{display:none!important}
 body.creation-mobile-corrected.ux-groups-curator #curCollection{box-shadow:none!important}
 body.creation-mobile-corrected.ux-groups-curator #curCollection .your-collection__title{color:var(--ink)!important}
}
