/* Calm unified controls; fixed modal states with explicit direction. */
#main #event-studio details.info45>summary{display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;box-sizing:border-box!important;text-indent:0!important;padding:0!important;margin:0!important}
#main #event-studio details.info45>summary span{display:block;width:auto!important;height:auto!important;line-height:1!important;text-align:center;margin:0!important;padding:0!important;transform:none!important}
#main #event-studio details.info45>summary::marker{content:""}
#main #event-studio details.info45>summary::before,#main #event-studio details.info45>summary::after{display:none!important;content:none!important}
.smart-draft-head44{flex-wrap:wrap;align-items:center}
.smart-draft-head44>div{flex:1;min-width:130px}
.refresh-suggestion46{font-size:12px;min-height:44px}
#main #event-studio #plan-form>.age-field46{grid-column:1/-1;max-width:230px}
#event-dialog:not(.gift-wide46){width:min(550px,calc(100vw - 28px))!important;height:auto!important;max-height:calc(100dvh - 28px)!important;overflow:auto!important}
#event-dialog:not(.gift-wide46) #event-form{display:block!important;height:auto!important;overflow:visible!important}
#event-dialog.gift-wide46{width:min(1120px,calc(100vw - 28px))!important;height:min(810px,calc(100dvh - 28px))!important;max-height:calc(100dvh - 28px)!important;overflow:hidden!important}
#event-dialog.gift-wide46 #event-form{display:grid!important;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr) auto;height:100%!important;overflow:hidden!important}
#event-dialog.gift-wide46 .event-studio-fields{grid-column:1;grid-row:1;overflow:auto!important;min-height:0}
#event-dialog.gift-wide46 .smart-gifts44{grid-column:2;grid-row:1/3;min-height:0;overflow:auto;padding:20px!important}
#event-dialog .smart-gifts44:not([hidden]) #event-gift-assistant{display:block}
#event-dialog .gift-expand46{margin:0 24px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;width:calc(100% - 48px)}
#event-dialog.gift-wide46 .gift-expand46{grid-column:1;grid-row:2}
#event-dialog .gift-expand46 span{font-size:20px}
#event-dialog .smart-gifts44[hidden]{display:none!important}
#event-dialog .event-studio-fields>.age-field46{min-width:0}
.event-actions{flex-wrap:wrap}
.calendar-wrap46{position:relative;min-width:0;width:100%}
.calendar-trigger46{width:100%;min-height:44px;text-align:left;justify-content:space-between}
.calendar-trigger46 svg{width:19px;height:19px;flex:none}
.calendar46{position:fixed;z-index:10000;overflow:auto;background:white;border:1px solid #e0d9eb;border-radius:14px;box-shadow:0 10px 32px #29203826;padding:12px;color:#332b40;font:13px/1.3 system-ui}
.calendar46 button{border:1px solid transparent;background:white;color:#332b40;border-radius:8px;min-height:36px;font:600 13px/1 system-ui;cursor:pointer;padding:4px;box-shadow:none}
.calendar46 button:hover{background:#f0eafa}
.calendar46 button:disabled{opacity:.35;cursor:not-allowed}
.calendar46 button:focus-visible{outline:2px solid #7955bf;outline-offset:1px}
.cal-head46,.cal-footer46,.cal-jump46{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cal-head46 button{width:38px;font-size:23px;border-color:#e6dfee}
.cal-jump46{justify-content:center;margin:7px 0;color:#62586d}
.cal-jump46 input{width:92px!important;min-height:32px!important;padding:4px 8px!important;font:inherit;border:1px solid #e6dfee;border-radius:7px}
.cal-grid46{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.cal-week46{text-align:center;color:#62586d;font-size:11px;padding:5px 0}
.calendar46 .cal-day46{min-width:0;min-height:34px}
.calendar46 .cal-day46.today46{border-color:#b8a5da}
.calendar46 .cal-day46[aria-pressed=true]{background:#6543b8;color:white}
.cal-footer46{border-top:1px solid #eee9f2;margin-top:8px;padding-top:5px}
.cal-footer46 button{color:#6045a5;padding-inline:10px}
@media(max-width:760px){#event-dialog.gift-wide46{overflow:auto!important}#event-dialog.gift-wide46 #event-form{display:block!important;height:auto!important;overflow:visible!important}#event-dialog.gift-wide46 .event-studio-fields,#event-dialog.gift-wide46 .smart-gifts44{overflow:visible!important}#event-dialog .gift-expand46{margin-inline:16px;width:calc(100% - 32px)}.smart-draft-head44>div{min-width:100%}.refresh-suggestion46{margin-right:auto}.cal-day46{min-height:36px!important}}
.suggestion-venue46{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:9px;margin:9px 0}
.suggestion-card46{display:block;max-width:100%;width:180px;max-height:210px;object-fit:contain;object-position:center;border-radius:9px;margin:9px auto}
/* Keep the real date input for form validation, but render only one date control. */
body .calendar-wrap46>input.tt-control-native[type=date]{position:absolute!important;inset:auto!important;width:1px!important;height:1px!important;min-height:0!important;min-width:0!important;max-width:1px!important;max-height:1px!important;padding:0!important;margin:0!important;border:0!important;opacity:0!important;clip-path:inset(50%)!important;pointer-events:none!important}
.venue-label47{color:#62586d;font-size:12px}
#suggested-viewer47{background:#f0eff3;border-radius:10px;overflow:hidden;min-width:0}
#suggested-viewer47 .venue-viewport{height:clamp(210px,30vw,340px);touch-action:none;cursor:grab}
#suggested-viewer47 .venue-viewport canvas{display:block;width:100%;height:100%}
#suggested-viewer47 .venue-view-top,#suggested-viewer47 .venue-tools{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;padding:8px;font-size:12px}
#suggested-viewer47 .venue-tools button{border:1px solid #e1dbe9;background:white;border-radius:7px;min-height:36px;font-size:11px;padding:5px 8px;color:#6045aa}
#suggested-viewer47 .venue-gestures{font-size:11px;padding:8px;margin:0}
.seat-sketch45.layout-round .seat-group45{border-radius:50%;aspect-ratio:1;max-width:45px;width:100%;justify-self:center}
.seat-sketch45.layout-square .seat-group45{border-radius:4px;aspect-ratio:1;max-width:45px;width:100%;justify-self:center}
.seat-sketch45.layout-banquet{grid-template-columns:repeat(2,minmax(0,1fr))}
.seat-sketch45.layout-banquet .seat-group45{border-radius:4px;min-height:25px}
.seat-sketch45.layout-theatre{grid-template-columns:1fr}
.seat-sketch45.layout-theatre .seat-group45{border-radius:4px;min-height:20px}
#suggested-viewer47 .venue-gestures,#suggested-viewer47 .venue-view-mode{color:#554b63}
