/* Picorae v18.112 | Mock-led product shell, not another decorative patch.
   Design direction: one warm ivory canvas, real photography, compact
   event collection, clear actions and progressively disclosed host tools.
   Existing event/Stripe/privacy/QR handlers are not replaced. */
:root{
 --p112-cream:#fbf7ef;
 --p112-paper:#fffdfa;
 --p112-ink:#30251b;
 --p112-muted:#786b5b;
 --p112-gold:#a9762c;
 --p112-gold-dark:#855b23;
 --p112-line:#e8ddca;
 --p112-shadow:0 7px 24px rgba(56,39,17,.07);
 --p112-ease:cubic-bezier(.2,.75,.3,1);
}
body:has(#dashboardView:not(.hidden)),
body:has(#createView:not(.hidden)),
body:has(#manageView:not(.hidden)){
 background:linear-gradient(160deg,#fffdf9 0%,#fbf5ea 48%,#f8f0e3 100%)!important;
}
body:has(#dashboardView:not(.hidden)) .topbar,
body:has(#createView:not(.hidden)) .topbar,
body:has(#manageView:not(.hidden)) .topbar{
 background:rgba(255,253,248,.97)!important;
 border-bottom:1px solid rgba(165,129,75,.17)!important;
 box-shadow:0 2px 16px rgba(70,49,24,.035)!important;
}
@supports(backdrop-filter:blur(8px)){
 body:has(#dashboardView:not(.hidden)) .topbar,
 body:has(#createView:not(.hidden)) .topbar,
 body:has(#manageView:not(.hidden)) .topbar{
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
 }
}
:is(#dashboardView,#createView,#manageView,#profileView) :is(h2,h3,.section-title,.dashboard-title,.create-premium-title){
 font-family:Georgia,'Times New Roman',serif!important;
 letter-spacing:-.025em!important;
}
:is(#dashboardView,#createView,#manageView,#profileView) :is(p,.micro,.sub,small){
 line-height:1.48;
}
:is(#dashboardView,#createView,#manageView,#profileView) :is(button,a.btn,summary):focus-visible{
 outline:3px solid #967038!important;
 outline-offset:2px!important;
}
:is(#dashboardView,#createView,#manageView) .btn.primary{
 background:linear-gradient(115deg,#a77936 0%,#bd934a 47%,#986a2e 100%)!important;
 border:1px solid #a67a38!important;
 color:#fffefa!important;
 box-shadow:0 4px 12px rgba(116,79,32,.13);
 font-weight:750!important;
}
:is(#dashboardView,#createView,#manageView) .btn:not(.primary){
 background:#fffdfa;
 border-color:var(--p112-line);
 color:#5f4830;
}
:is(#dashboardView,#createView,#manageView) :is(.btn,button){
 touch-action:manipulation;
}
@media(prefers-reduced-motion:no-preference){
 :is(#dashboardView,#createView,#manageView) .btn{
  transition:background .2s var(--p112-ease),border-color .2s var(--p112-ease),box-shadow .2s var(--p112-ease);
 }
}
/* Real event collection: prominent photographic cards instead of a text wall. */
#dashboardView .dashboard-premium-shell{
 width:min(100%,1100px);
 margin:auto;
 gap:14px!important;
}
#dashboardView .dashboard-hero-card{
 background:linear-gradient(134deg,#fffdf8,#f6ecdb)!important;
 border:1px solid #eadcca!important;
 border-radius:21px!important;
 box-shadow:var(--p112-shadow)!important;
}
#dashboardView .dashboard-hero-inner{align-items:center;gap:14px}
#dashboardView .dashboard-kicker,
#dashboardView .dashboard-event-type{
 color:var(--p112-gold-dark)!important;
 letter-spacing:.12em!important;
 font-size:10px!important;
 text-transform:uppercase;
 font-weight:800;
}
#dashboardView .dashboard-title{
 font-size:clamp(30px,6vw,47px)!important;
 color:var(--p112-ink)!important;
 line-height:1.06;
}
#dashboardView .dashboard-intro{
 max-width:54ch;
 font-size:14px!important;
 color:var(--p112-muted)!important;
}
#dashboardView .dashboard-events-card{
 padding:15px!important;
 background:rgba(255,253,249,.92)!important;
 border:1px solid var(--p112-line)!important;
 border-radius:22px!important;
 box-shadow:var(--p112-shadow)!important;
}
#dashboardView .dashboard-section-title{
 font-size:clamp(26px,4vw,33px)!important;
 color:var(--p112-ink)!important;
}
#dashboardView .dashboard-section-intro{
 font-size:12px;
 color:var(--p112-muted);
 margin:4px 0 13px!important;
}
#dashboardView #eventList{
 display:grid!important;
 grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));
 gap:12px!important;
}
#dashboardView #eventList .dashboard-event-card{
 display:grid!important;
 grid-template-columns:1fr 32px;
 grid-template-rows:auto auto;
 gap:0!important;
 align-items:center;
 border:1px solid #e8d8bd!important;
 border-radius:18px!important;
 overflow:hidden!important;
 background:#fffdf9!important;
 box-shadow:0 8px 19px rgba(61,43,20,.07)!important;
 padding:0!important;
 min-height:0!important;
 text-align:left;
 transition:box-shadow .2s var(--p112-ease),border-color .2s var(--p112-ease);
}
#dashboardView #eventList .dashboard-event-card:hover{
 border-color:#b99558!important;
 box-shadow:0 10px 25px rgba(61,43,20,.12)!important;
}
#dashboardView #eventList .dashboard-event-art{
 grid-column:1/-1;
 width:100%!important;
 height:auto!important;
 aspect-ratio:16/9;
 min-height:148px;
 max-height:250px;
 display:grid;
 place-items:center;
 position:relative;
 border-radius:0!important;
 background:linear-gradient(120deg,#ece0c9,#d2b78a,#f8f1e5)!important;
 overflow:hidden;
}
#dashboardView #eventList .dashboard-event-art img{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 object-fit:contain!important;
 object-position:center;
 z-index:2;
}
#dashboardView #eventList .dashboard-event-symbol{
 font-family:Georgia,serif;
 color:#85602f;
 font-size:40px;
}
#dashboardView #eventList .dashboard-event-copy{
 grid-column:1;
 padding:14px 6px 15px 16px!important;
 align-self:center;
 min-width:0;
}
#dashboardView #eventList .dashboard-event-name{
 font-family:Georgia,serif!important;
 font-size:clamp(22px,3.8vw,29px)!important;
 color:var(--p112-ink)!important;
 line-height:1.13;
 margin:5px 0!important;
 overflow-wrap:anywhere;
}
#dashboardView #eventList .dashboard-event-date{
 color:var(--p112-muted);
 font-size:11px!important;
}
#dashboardView #eventList .dashboard-event-arrow{
 grid-column:2;
 align-self:center;
 justify-self:end;
 padding-right:12px;
 color:var(--p112-gold-dark);
 font-size:23px;
}
#dashboardView .dashboard-tools-heading{
 margin-top:12px!important;
}
#dashboardView .dashboard-account-tools{
 gap:10px!important;
}
#dashboardView .dashboard-tool-card{
 border:1px solid var(--p112-line)!important;
 background:#fffdfa!important;
 border-radius:18px!important;
 box-shadow:none!important;
}
#dashboardView .dashboard-tool-card h3{font-family:Georgia,serif}
/* A genuinely short host overview, with direct 2x2 real actions. */
#manageView #hostEventTab{
 gap:12px!important;
}
#manageView #hostEventTab #hostEventHero{
 border-radius:22px!important;
 border-color:#e3d3b7!important;
}
#manageView #hostEventTab #hostEventHero.p109-cover-ready #hostHeroCover{
 height:clamp(190px,44vw,285px)!important;
 max-height:285px!important;
}
#manageView #hostEventTab #hostEventHero.p109-cover-ready .host-hero-content{
 min-height:116px!important;
 padding:16px 18px 17px!important;
}
#manageView #hostEventTab #hostEventHero #adminName{
 font:600 clamp(27px,5.4vw,37px)/1.13 Georgia,serif!important;
 color:var(--p112-ink)!important;
}
#manageView #hostEventTab .host-stat-grid{
 display:grid!important;
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:7px!important;
 margin:0!important;
}
#manageView #hostEventTab .host-stat-grid .host-stat{
 min-width:0!important;
 min-height:75px!important;
 border:1px solid #e5d8c4!important;
 border-radius:14px!important;
 background:#fffdfa!important;
 padding:9px 4px!important;
 box-shadow:0 3px 10px rgba(58,38,18,.035);
}
#manageView #hostEventTab .host-stat-grid .host-stat b{
 font:600 clamp(21px,3.7vw,29px)/1.1 Georgia,serif!important;
 color:#725023;
}
#manageView #hostEventTab .host-stat-grid .host-stat span{
 font-size:10px!important;
 font-weight:650;
 color:#6a5b4c;
 line-height:1.25;
}
#manageView #p112OverviewActions{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
 margin:1px 0 3px;
}
#manageView #p112OverviewActions .p112-action{
 min-width:0;min-height:125px;
 padding:15px 9px 13px;
 display:flex;
 flex-direction:column;
 justify-content:center;
 align-items:center;
 text-align:center;
 gap:5px;
 background:linear-gradient(150deg,#fffdf8,#faf2e5);
 border:1px solid #e5d4b5;
 border-radius:16px;
 color:#362a1e;
 box-shadow:0 6px 18px rgba(58,38,17,.06);
 cursor:pointer;
}
#manageView #p112OverviewActions .p112-action:hover,
#manageView #p112OverviewActions .p112-action:focus-visible{
 border-color:#b99257;
 background:#fff7e7;
}
#manageView #p112OverviewActions .p112-symbol{
 display:grid;place-items:center;
 font-size:25px;
 color:#a37836;
 font-family:Georgia,serif;
 line-height:1;
 width:38px;height:36px;
}
#manageView #p112OverviewActions .p112-action b{
 font-size:12px;
 font-weight:800;
 line-height:1.25;
}
#manageView #p112OverviewActions .p112-action small{
 font-size:10px;
 color:#806d54;
 max-width:19ch;
 line-height:1.3;
}
#manageView #p112OverviewActions .p112-action[data-primary="true"]{
 background:linear-gradient(145deg,#fbf1db,#fffaf0);
 border-color:#c9a66b;
}
/* Real controls remain in the DOM and are one accessible tap away.
   This is native disclosure, not a second navigation system. */
#manageView #hostEventTab .p112-more-panel{
 padding:0;
 border:1px solid #e4d5be;
 border-radius:18px;
 background:#fffdfa;
 box-shadow:0 3px 13px rgba(42,32,18,.045);
 min-width:0;
}
#manageView #hostEventTab .p112-more-panel > summary{
 display:flex;align-items:center;justify-content:space-between;
 gap:12px;cursor:pointer;list-style:none;
 min-height:58px;padding:13px 17px;
 color:#6d4c24;font-weight:800;
 font-size:13px;
}
#manageView #hostEventTab .p112-more-panel > summary::-webkit-details-marker{display:none}
#manageView #hostEventTab .p112-more-panel > summary::after{
 content:"⌄";font-size:18px;color:#9a7136;
}
#manageView #hostEventTab .p112-more-panel[open] > summary::after{content:"⌃"}
#manageView #hostEventTab .p112-more-panel .p112-panel-content{
 display:grid;gap:11px;padding:0 11px 12px;
}
#manageView #hostEventTab .p112-more-panel .p112-panel-content > .host-card,
#manageView #hostEventTab .p112-more-panel .p112-panel-content > .host-feature-grid{
 margin:0!important;
 min-width:0;
 box-shadow:none!important;
}
#manageView #hostEventTab .p112-more-panel .host-qr-layout{
 grid-template-columns:minmax(110px,160px) minmax(0,1fr);
}
#manageView #hostEventTab .p112-more-panel .host-card-head h3{
 font-size:22px!important;
}
#manageView #hostEventTab .p112-more-panel p{
 color:var(--p112-muted);
 font-size:12px;
}
#manageView #hostEventTab .p112-more-panel .host-feature-grid{gap:10px!important}
/* Wizard, preview, RSVP/settings and memory gallery share one component language. */
#createView .create-premium-shell,
#manageView .host-shell{
 width:min(100%,1120px);
 margin-inline:auto;
}
#createView .create-premium-hero,
#manageView .host-gallery-hero,
#manageView .host-settings-hero{
 background:linear-gradient(142deg,#fffdf9,#f7eddd)!important;
 border:1px solid var(--p112-line)!important;
 border-radius:21px!important;
 box-shadow:var(--p112-shadow)!important;
}
#createView .create-premium-title,
#manageView .host-gallery-hero h2,
#manageView .host-settings-hero h2{
 font-family:Georgia,serif!important;
 font-size:clamp(27px,4.7vw,38px)!important;
 color:var(--p112-ink)!important;
}
#createView .create-step-nav{
 gap:7px!important;
 padding:5px!important;
 background:#f8eedf!important;
 border:1px solid #e7d7bc!important;
 border-radius:15px!important;
}
#createView .create-step-btn{
 min-height:47px!important;
 border-radius:11px!important;
 color:#705c43;
}
#createView .create-step-btn.active{
 background:#fffdf9!important;
 border-color:#cfae78!important;
 color:#6d4b23!important;
 box-shadow:0 4px 12px rgba(77,51,17,.07);
}
#createView .create-step-panel:not(.hidden){
 background:#fffdfa!important;
 border:1px solid var(--p112-line)!important;
 border-radius:22px!important;
 padding:clamp(14px,3vw,25px)!important;
 box-shadow:var(--p112-shadow)!important;
}
#createView .create-panel-head h3{
 font:600 clamp(24px,4vw,32px)/1.12 Georgia,serif!important;
}
#createView :is(input,select,textarea),
#manageView #hostSettingsTab :is(input,select,textarea){
 background:#fffefa!important;
 border:1px solid #e1d4be!important;
 border-radius:11px!important;
 min-height:44px;
 color:#403326;
}
#manageView #hostGalleryTab #adminGallery{
 gap:9px!important;
}
#manageView #hostGalleryTab #adminGallery .media-card{
 border-radius:13px!important;
 overflow:hidden;
}
#manageView #hostSettingsTab #hostSettingsTools{
 background:#f6ebd9;
 padding:5px;
 border-radius:14px;
}
#manageView #hostSettingsTab .settings-tool-panel{
 border-color:var(--p112-line)!important;
 border-radius:16px!important;
}
/* Better guest-facing visual continuity, without affecting child/privacy logic. */
#eventView:not(.hidden) :is(.card,.guest-card,.guest-upload-card){
 border-radius:17px;
}
#eventView:not(.hidden) :is(.guest-upload-card,.guest-media-card){
 border-color:#e6d9c5;
}
@media(max-width:800px){
 #manageView #p112OverviewActions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #manageView #p112OverviewActions .p112-action{min-height:105px;padding:13px 8px}
}
@media(max-width:600px){
 #dashboardView .dashboard-hero-inner{
  flex-direction:column!important;align-items:stretch!important;
 }
 #dashboardView .dashboard-new-btn{
  width:100%;min-height:46px!important;
 }
 #dashboardView #eventList{grid-template-columns:minmax(0,1fr)}
 #dashboardView .dashboard-events-card{padding:12px!important}
 #dashboardView #eventList .dashboard-event-art{
  min-height:168px;aspect-ratio:16/9;max-height:225px;
 }
 #manageView #hostEventTab .host-stat-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 #manageView #hostEventTab .host-stat-grid .host-stat{min-height:68px!important}
 #manageView #p112OverviewActions .p112-action b{font-size:12px}
 #manageView #hostEventTab .p112-more-panel .host-qr-layout{
  grid-template-columns:minmax(0,1fr);
 }
 #manageView #hostEventTab .p112-more-panel .host-feature-grid{
  grid-template-columns:1fr!important;
 }
 #createView .create-step-btn b{font-size:11px}
}
@media(max-width:350px){
 #manageView #p112OverviewActions .p112-action small{font-size:9px}
 #manageView #hostEventTab .host-stat-grid .host-stat b{font-size:21px!important}
}
@media(prefers-reduced-motion:reduce){
 #dashboardView #eventList .dashboard-event-card,
 #manageView #p112OverviewActions .p112-action{
  transition:none!important;
 }
}

/* Visual occasion picker is the real paid-event type control. */
#createView #p112OccasionChoices{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:8px;
 margin:8px 0 11px;
}
#createView #p112OccasionChoices{
 grid-column:1/-1;
}
#createView .p112-occasion-label{
 grid-column:1/-1;
 margin:0 0 1px;
 color:#52402d;
 font-size:13px;
 font-weight:750;
}
#createView .p112-occasion-choice{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:7px;min-width:0;min-height:88px;
 background:linear-gradient(145deg,#fffefa,#f8f0e5);
 border:1px solid #e5d8c2;
 border-radius:14px;
 color:#5a4835;
 cursor:pointer;
}
#createView .p112-occasion-choice span{
 font:600 23px/1 Georgia,serif;
 color:#ad7b39;
}
#createView .p112-occasion-choice b{
 font-size:11px;font-weight:780;
 overflow-wrap:anywhere;
}
#createView .p112-occasion-choice.selected,
#createView .p112-occasion-choice[aria-pressed="true"]{
 background:linear-gradient(140deg,#fff3dd,#f8ead0);
 border-color:#ac7b35;
 box-shadow:inset 0 0 0 1px #c69a59;
 color:#5a3718;
}
#createView .p112-occasion-choice:focus-visible{
 outline:3px solid #ac7b35;outline-offset:2px;
}
#createView .p112-custom-occasion-hint{
 display:block;margin:5px 0;
 color:#83705b;
 font-weight:500;
 font-size:11px;
}
@media(max-width:360px){
 #createView #p112OccasionChoices{gap:5px}
 #createView .p112-occasion-choice{min-height:80px}
 #createView .p112-occasion-choice b{font-size:10px}
}
