.event-manager-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.8fr);gap:1rem}.ceremony-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}.ceremony-card{border:1px solid #d7dde5;border-radius:18px;background:#fff;padding:1rem;display:grid;gap:.8rem}.ceremony-card.active-event{border-color:#b9943e;box-shadow:inset 4px 0 #b9943e}.ceremony-card h3{margin:0;color:#13243d}.ceremony-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.ceremony-meta div{background:#f7f9fc;border-radius:10px;padding:.65rem}.ceremony-meta span{display:block;font-size:.75rem;color:#667085}.ceremony-actions{display:flex;gap:.5rem;flex-wrap:wrap}.template-list{display:grid;gap:.55rem}.template-item{padding:.7rem;border:1px solid #dde3ea;border-radius:12px;background:#fff}.template-item strong{display:block}.ceremony-dialog{width:min(620px,92vw);border:0;border-radius:20px;padding:1.25rem}.ceremony-dialog::backdrop{background:rgba(8,24,44,.55)}.ceremony-dialog form{display:grid;gap:.85rem}.ceremony-dialog label{display:grid;gap:.35rem}@media(max-width:900px){.event-manager-layout,.ceremony-card-grid{grid-template-columns:1fr}}

.event-manager-brand-logo{display:block;width:min(260px,70%);height:auto;object-fit:contain;margin:0 0 14px}


/* GUIDON FIX18 Event Manager polish */
#eventIdentityStrip{display:none!important}
.event-manager-brand-logo{display:block;width:min(320px,72%);max-height:94px;object-fit:contain;object-position:left center;margin:0 0 14px}
.ceremony-card{grid-template-rows:auto auto 1fr}
.ceremony-actions{margin-top:auto;padding-top:.75rem;border-top:1px solid #e5e9ef;align-items:center}
.ceremony-actions .button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.ceremony-actions .open-event{font-weight:850}
.ceremony-actions .archive-event{margin-left:auto}
@media(max-width:620px){.ceremony-actions .archive-event{margin-left:0}.event-manager-brand-logo{width:min(260px,86%)}}

/* GUIDON FIX19: Event Manager action hierarchy */
.ceremony-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:auto;padding-top:12px;border-top:1px solid #e5e9ef}
.ceremony-actions .button{appearance:none;-webkit-appearance:none;border-radius:9px!important;padding:9px 12px!important;min-height:40px!important;font:inherit!important;font-weight:800!important;text-decoration:none!important;cursor:pointer!important;box-sizing:border-box!important}
.ceremony-actions .open-event{background:#0d2a49!important;color:#fff!important;border:1px solid #0d2a49!important}
.ceremony-actions .setup-event,.ceremony-actions .copy-event,.ceremony-actions a.button{background:#fff!important;color:#17324f!important;border:1px solid #aeb9c6!important}
.ceremony-actions .archive-event{margin-left:0!important;background:#fff!important;color:#8b1e2d!important;border:1px solid #caa3aa!important}
@media(max-width:620px){.ceremony-actions{grid-template-columns:1fr}}

/* GUIDON FIX28C: ceremony selection and lifecycle controls */
.ceremony-manager-tools{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(160px,.7fr) minmax(150px,.6fr) 1fr;gap:12px;align-items:end;padding:14px 0 2px;border-top:1px solid #e5e9ef}
.ceremony-manager-tools label{display:grid;gap:5px;font-size:.73rem;font-weight:800;color:#55657a;text-transform:uppercase;letter-spacing:.04em}
.ceremony-manager-tools select{min-height:39px;border:1px solid #b9c4d0;border-radius:9px;background:#fff;padding:7px 10px;color:#14263d;font:inherit;text-transform:none;letter-spacing:0;font-weight:650}
.ceremony-result-count{justify-self:end;align-self:center;color:#667085;font-size:.82rem}
.ceremony-card small{display:block;color:#637083;margin-top:3px;overflow-wrap:anywhere}.ceremony-card .ceremony-uuid{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem}
.ceremony-card.archived-event{background:#f8f9fb;border-style:dashed}.ceremony-card.archived-event .ceremony-actions{grid-template-columns:1fr 1fr}.ceremony-card .restore-event{background:#fff!important;color:#17324f!important;border:1px solid #aeb9c6!important}.ceremony-card .delete-event{background:#fff!important;color:#8b1e2d!important;border:1px solid #bd707b!important}
.ceremony-empty{grid-column:1/-1;border:1px dashed #cbd4df;border-radius:14px;padding:28px;text-align:center;color:#667085;display:grid;gap:5px}
@media(max-width:900px){.ceremony-manager-tools{grid-template-columns:1fr 1fr}.ceremony-result-count{justify-self:start}}@media(max-width:620px){.ceremony-manager-tools{grid-template-columns:1fr}}
/* GUIDON FIX11GO · Ball-only user-facing creation */
.event-manager-layout:has(> aside[hidden]){grid-template-columns:minmax(0,1fr)!important}
.ceremony-dialog .wizard-callout{display:flex;gap:10px;padding:14px 16px;border-left:4px solid #c99c36;background:#fffaf0;border-radius:8px;margin:8px 0 16px}.ceremony-dialog .wizard-callout span{color:#52647b}

/* HZ27: per-Ball authoritative snapshot */
.ball-snapshot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}
.ball-snapshot>div{padding:12px;background:#f3f6f9;border-radius:8px;min-width:0}
.ball-snapshot span{display:block;font-size:.72rem;color:#52647b;font-weight:700}
.ball-snapshot strong{display:block;font-size:1.15rem;color:#10243d;margin-top:4px}
.ball-snapshot strong small{display:inline;font-size:.7rem}
.ball-setup-checks{border-top:1px solid #e2e7ed;padding:12px 0;color:#52647b;font-size:.85rem}
.ball-setup-checks summary{cursor:pointer;font-weight:700;color:#17324f}
.ball-setup-checks li{margin:5px 0}.portfolio-export{margin-top:12px}
@media(max-width:650px){.ball-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ceremony-card{grid-template-rows:auto auto auto auto 1fr;align-content:start}
.ceremony-card>.ceremony-actions{align-self:end}


/* HZ42: Event Manager card presentation, matching approved mock-up */
.ceremony-card{border-radius:16px;padding:18px 20px;gap:12px;grid-template-rows:auto auto auto auto auto;background:#fff;box-shadow:none}
.ceremony-card.active-event{border-color:#c99c36;box-shadow:inset 3px 0 #c99c36}
.ceremony-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.ceremony-card-head .eyebrow{display:inline-block;margin:0 0 8px;padding:5px 10px;border-radius:7px;background:#fff4d7;color:#a87408;font-size:.72rem;font-weight:850;letter-spacing:.05em}
.ceremony-card-head h3{font-size:1.35rem;line-height:1.15;margin:0 0 6px}
.ceremony-card-head small{display:block;color:#637083;font-size:.78rem}
.ceremony-card-head .admin-url a{color:#075bd8}.copy-admin-url{border:0;background:transparent;color:#075bd8;font:inherit;font-size:.72rem;font-weight:800;padding:0 3px;cursor:pointer}
.ceremony-status-badge{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border-radius:999px;padding:6px 12px;background:#dff5e8;color:#126b3b;font-size:.76rem;font-weight:800}.ceremony-status-badge i{width:8px;height:8px;border-radius:50%;background:#11864a}.ceremony-status-badge.is-archived{background:#eef1f5;color:#596779}.ceremony-status-badge.is-archived i{background:#7a8796}
.card-icon{width:23px;height:23px;flex:0 0 23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:#10243d}
.ceremony-meta{gap:10px}.ceremony-meta div{display:flex;align-items:center;gap:13px;background:#f5f7fa;border-radius:9px;padding:13px 15px;min-height:66px}.ceremony-meta span{font-size:.75rem;color:#52647b}.ceremony-meta strong{display:block;margin-top:3px;color:#10243d;font-size:1rem}
.ball-snapshot{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.ball-snapshot>div{display:flex;align-items:center;gap:13px;background:#f5f7fa;border-radius:9px;padding:13px 15px;min-height:66px}.ball-snapshot>div>span{font-size:.75rem;color:#52647b;font-weight:500}.ball-snapshot strong{font-size:1.05rem;margin-top:3px}.ball-snapshot strong small{font-size:inherit}
.ball-setup-checks{padding:11px 2px;border-top:1px solid #e2e7ed;border-bottom:1px solid #e2e7ed}.ball-setup-checks summary{font-size:.86rem}.ball-setup-checks summary::marker{color:#17324f}
.ceremony-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ceremony-primary-actions .button{min-height:44px;border-radius:8px!important;font-weight:800!important;display:flex;align-items:center;justify-content:center;gap:9px}.ceremony-primary-actions .button .card-icon{width:19px;height:19px;flex-basis:19px}.ceremony-primary-actions .open-event{background:#082844!important;color:#fff!important;border:1px solid #082844!important}.ceremony-primary-actions .open-event .card-icon{color:#fff}.ceremony-primary-actions .setup-event{background:#fff!important;color:#10243d!important;border:1px solid #c9d2dc!important}
.manage-ball{border:1px solid #cbd5df;border-radius:9px;background:#fff}.manage-ball>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:11px 14px;cursor:pointer;color:#10243d}.manage-ball>summary::-webkit-details-marker{display:none}.manage-ball>summary span{display:grid;gap:1px}.manage-ball>summary strong{font-size:.9rem}.manage-ball>summary small{font-size:.72rem;color:#637083}.manage-ball>summary b{margin-left:auto;font-size:1.2rem;transition:transform .15s ease}.manage-ball[open]>summary b{transform:rotate(180deg)}.manage-ball-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 12px}.manage-ball-actions .button{min-height:38px!important;border-radius:8px!important;padding:8px 10px!important;font-size:.8rem!important;font-weight:750!important}.manage-ball-actions .purge-guest-data{grid-column:1/-1;color:#a9151d!important;border-color:#e3a9ad!important;background:#fff!important}
.ceremony-card>.ceremony-actions{display:none!important}
@media(max-width:650px){.ceremony-card-head{display:grid}.ceremony-status-badge{justify-self:start}.ceremony-meta,.ball-snapshot,.ceremony-primary-actions,.manage-ball-actions{grid-template-columns:1fr}.manage-ball-actions .purge-guest-data{grid-column:auto}}


/* HZ43: compact approved Event Manager cards */
.ceremony-card-grid{gap:14px}
.ceremony-card{padding:14px 16px;gap:9px;min-width:0;overflow:visible}
.ceremony-card-head{gap:12px;min-width:0}.ceremony-card-head>div{min-width:0;flex:1}
.ceremony-card-head .eyebrow{margin-bottom:6px;padding:4px 9px}.ceremony-card-head h3{font-size:1.22rem;margin-bottom:4px}
.admin-url{display:flex!important;align-items:center;gap:4px;min-width:0;max-width:100%;white-space:nowrap}.admin-url>span{flex:0 0 auto}.admin-url a{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-admin-url{flex:0 0 auto;border:1px solid #d3dbe5!important;border-radius:7px!important;padding:5px 9px!important;color:#10243d!important;background:#fff!important}
.ceremony-status-badge{padding:5px 10px;font-size:.72rem}
.ceremony-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ceremony-meta div{gap:10px;padding:10px 12px;min-height:55px}.ceremony-meta span{display:grid;gap:1px}.ceremony-meta strong{order:0;margin:0;font-size:.92rem;white-space:nowrap}.ceremony-meta span small{order:1;font-size:.68rem;color:#637083}
.ball-snapshot{gap:8px}.ball-snapshot>div{gap:10px;padding:10px 12px;min-height:55px}.ball-snapshot strong{font-size:.96rem}.ball-snapshot>div>span{font-size:.68rem}
.ball-setup-checks{padding:8px 2px}.ball-setup-checks summary{font-size:.8rem}
.ceremony-primary-actions{grid-template-columns:1.1fr 1fr .9fr;gap:8px;position:relative}.ceremony-primary-actions .button{min-height:38px;padding:7px 10px!important;font-size:.82rem!important}
.manage-ball{position:relative;border:1px solid #aebdcd;border-radius:8px;background:#fff;min-width:0}.manage-ball>summary{height:38px;padding:7px 11px;gap:8px;justify-content:center}.manage-ball>summary .card-icon{width:18px;height:18px;flex-basis:18px}.manage-ball>summary strong{font-size:.82rem}.manage-ball>summary b{margin-left:6px;font-size:1rem}
.manage-ball-actions{position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:min(300px,calc(100vw - 48px));display:grid;grid-template-columns:1fr;gap:0;padding:6px;background:#fff;border:1px solid #d4dce5;border-radius:9px;box-shadow:0 12px 30px rgba(10,35,60,.16)}
.manage-ball-actions .button{min-height:34px!important;border:0!important;border-radius:6px!important;padding:8px 10px!important;font-size:.77rem!important;font-weight:650!important;text-align:left!important;justify-content:flex-start!important;background:#fff!important;color:#10243d!important}.manage-ball-actions .button:hover{background:#f4f7fa!important}.manage-ball-actions .purge-guest-data,.manage-ball-actions .delete-event{grid-column:auto;color:#a9151d!important;border-top:1px solid #e7eaf0!important;border-radius:0 0 6px 6px!important;margin-top:4px;padding-top:10px!important}
@media(max-width:1050px){.ceremony-meta{grid-template-columns:1fr}.ceremony-primary-actions{grid-template-columns:1fr 1fr}.manage-ball{grid-column:1/-1}.manage-ball-actions{left:0;right:auto}}
@media(max-width:650px){.ceremony-meta,.ball-snapshot,.ceremony-primary-actions{grid-template-columns:1fr}.manage-ball{grid-column:auto}.admin-url{max-width:100%}}

/* FIX11HZ44: approved hosting-unit badge and Manage menu hierarchy. */
.host-unit-badge{display:block!important;max-width:min(360px,70%);width:max-content;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 5px!important;padding:5px 10px!important;border-radius:8px;background:#fff2c9;color:#a87612!important;letter-spacing:.06em}
.manage-ball-actions .manage-separator{height:1px;background:#e7eaf0;margin:4px}
.manage-ball-actions .delete-event,.manage-ball-actions .purge-guest-data{color:#b42318!important}


/* FIX11HZ45: three-up compact portfolio and true Manage list menu. */
@media(min-width:1280px){
  .ceremony-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
}
.ceremony-card{padding:11px 12px;gap:7px;border-radius:14px}
.ceremony-card-head{gap:8px}
.ceremony-card-head .host-unit-badge{margin-bottom:4px!important;padding:3px 8px!important;font-size:.67rem!important;max-width:72%}
.ceremony-card-head h3{font-size:1.08rem;margin-bottom:3px}
.ceremony-card-head small{font-size:.69rem}
.ceremony-status-badge{padding:4px 8px;font-size:.65rem}
.admin-url{gap:3px}.copy-admin-url{padding:4px 7px!important;font-size:.68rem!important}
.ceremony-meta,.ball-snapshot{gap:6px}
.ceremony-meta div,.ball-snapshot>div{min-height:48px;padding:7px 9px;gap:8px}
.ceremony-meta strong{font-size:.82rem}.ceremony-meta span small,.ball-snapshot>div>span{font-size:.62rem}.ball-snapshot strong{font-size:.86rem}
.card-icon{width:19px;height:19px;flex-basis:19px}
.ball-setup-checks{padding:6px 1px}.ball-setup-checks summary{font-size:.72rem}
.ceremony-primary-actions{grid-template-columns:1.05fr 1fr .78fr;gap:6px;align-items:stretch;position:relative}
.ceremony-primary-actions .button,.manage-ball>summary{min-height:34px;height:34px!important;padding:5px 8px!important;font-size:.72rem!important}
.manage-ball{grid-column:auto;position:relative;border-radius:7px;min-width:0}
.manage-ball>summary{justify-content:center;box-sizing:border-box;gap:6px}
.manage-ball>summary .card-icon{width:16px;height:16px;flex-basis:16px}.manage-ball>summary strong{font-size:.72rem}.manage-ball>summary b{font-size:.85rem;margin-left:3px}
.manage-ball-actions{right:0;left:auto;top:calc(100% + 5px);width:min(265px,calc(100vw - 32px));padding:5px 0;gap:0;border-radius:8px;overflow:hidden}
.manage-ball-actions .button{display:flex!important;width:100%;min-height:31px!important;height:auto!important;margin:0!important;padding:7px 12px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#10243d!important;font-size:.72rem!important;font-weight:600!important;text-align:left!important;justify-content:flex-start!important;box-shadow:none!important;text-decoration:none!important}
.manage-ball-actions .button:hover,.manage-ball-actions .button:focus-visible{background:#f3f6f9!important}
.manage-ball-actions .manage-separator{height:1px;background:#e4e8ee;margin:4px 0}
.manage-ball-actions .delete-event,.manage-ball-actions .purge-guest-data{color:#b42318!important;border-top:0!important;margin:0!important;padding-top:7px!important;border-radius:0!important}
@media(max-width:1279px) and (min-width:801px){.ceremony-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.ceremony-card-grid{grid-template-columns:1fr}.ceremony-primary-actions{grid-template-columns:1fr 1fr 1fr}.ceremony-meta{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.ceremony-primary-actions{grid-template-columns:1fr}.ceremony-meta,.ball-snapshot{grid-template-columns:1fr}.manage-ball-actions{left:0;right:auto}}


/* FIX11HZ46: Manage is a true menu, matching the approved reference. */
.manage-ball-actions{width:min(292px,calc(100vw - 32px))!important;padding:7px 0!important;border:1px solid #d8e0e8!important;border-radius:8px!important;background:#fff!important;box-shadow:0 12px 28px rgba(10,35,60,.16)!important;overflow:hidden!important}
.manage-ball-actions .button{appearance:none!important;display:flex!important;align-items:center!important;gap:11px!important;width:100%!important;min-height:38px!important;height:auto!important;margin:0!important;padding:8px 14px!important;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#10243d!important;font-size:.78rem!important;font-weight:600!important;line-height:1.2!important;text-align:left!important;justify-content:flex-start!important;text-decoration:none!important}
.manage-ball-actions .button:hover,.manage-ball-actions .button:focus-visible{background:#f4f7fa!important;box-shadow:none!important}
.manage-ball-actions .button:focus-visible{outline:2px solid #2b6fc7!important;outline-offset:-2px!important}
.manage-ball-actions .manage-menu-icon{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.manage-ball-actions .button span{min-width:0;white-space:nowrap}
.manage-ball-actions .manage-separator{height:1px!important;background:#e3e8ee!important;margin:5px 12px!important}
.manage-ball-actions .delete-event,.manage-ball-actions .purge-guest-data{color:#d52222!important;margin:0!important;padding:8px 14px!important;border:0!important;border-radius:0!important;background:transparent!important}
.manage-ball-actions .delete-event:hover,.manage-ball-actions .purge-guest-data:hover{background:#fff5f5!important}

/* FIX11HZ47: Event Manager Manage menu rows must remain list rows after the global design system loads. */
body.event-manager-page .manage-ball-actions .button,
body.event-manager-page .manage-ball-actions .button.secondary,
body.event-manager-page .manage-ball-actions .button.danger-outline {
  appearance:none!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
body.event-manager-page .manage-ball-actions .button:hover,
body.event-manager-page .manage-ball-actions .button.secondary:hover,
body.event-manager-page .manage-ball-actions .button.danger-outline:hover,
body.event-manager-page .manage-ball-actions .button:focus-visible {
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#f4f7fa!important;
}
body.event-manager-page .manage-ball-actions .delete-event,
body.event-manager-page .manage-ball-actions .purge-guest-data,
body.event-manager-page .manage-ball-actions .delete-event:hover,
body.event-manager-page .manage-ball-actions .purge-guest-data:hover {
  border:0!important;
  border-radius:0!important;
  color:#d52222!important;
}
body.event-manager-page .manage-ball-actions .delete-event:hover,
body.event-manager-page .manage-ball-actions .purge-guest-data:hover {
  background:#fff5f5!important;
}
