.evform [hidden]{display:none!important}.ev-tickets{padding:12px;border:1px solid #dce5d8;border-radius:12px;margin:12px 0}.ev-ticket-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 32px;gap:8px;align-items:end;margin-bottom:12px}.ev-ticket-row label{min-width:0;margin:0!important}.ev-ticket-row input{width:100%;min-width:0;box-sizing:border-box}.ev-ticket-remove{padding:6px!important;min-width:0!important;width:32px!important;background:#f3f5f1!important;color:#345329!important;box-shadow:none!important}.ev-ticket-list p{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e1e7de;padding:8px 0}.ev-ticket-list b{white-space:nowrap}

.evform #ev-ticket-add{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:0!important;min-height:34px!important;padding:7px 12px!important;font-size:13px!important;line-height:1.25!important;border-radius:8px!important;margin:0!important;}
.ev .evform .ev-tickets .ev-ticket-row{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 30px!important;gap:6px!important;align-items:end!important;margin:0 0 10px!important}.ev .evform .ev-ticket-row label{display:flex!important;flex-direction:column;gap:5px!important;font-size:13px!important;margin:0!important;padding:0!important}.ev .evform .ev-ticket-row input{margin:0!important;padding:8px!important;height:38px!important;min-height:0!important;font-size:14px!important}.ev .evform .ev-tickets button.ev-ticket-remove{width:30px!important;height:30px!important;min-height:0!important;min-width:0!important;padding:0!important;margin:0 0 4px!important;border-radius:7px!important;font-size:16px!important;background:#f0f4ed!important;color:#36552b!important;box-shadow:none!important}.ev .evform .ev-tickets button#ev-ticket-add{height:30px!important;min-height:0!important;padding:5px 9px!important;font-size:12px!important;margin:4px 0 0!important;box-shadow:none!important}.ev .evform .ev-tickets{padding:10px!important}.ev .evactions .evadd{width:auto!important;display:inline-flex!important;padding:9px 14px!important;min-height:0!important;font-size:14px!important}.ev .evcard img{width:90px!important;height:76px!important;object-fit:contain!important}.ev .evcard{gap:10px!important}.ev .evstatus{display:inline-block;padding:6px 10px;border-radius:8px;font-size:13px;background:#edf3e9}.ev .evstatus-pending{background:#fff1d5;color:#805500}.ev .evstatus-rejected{background:#fbe9e9;color:#9b3030}.ev .ev-ticket-list p{margin:0!important;padding:8px 0!important}.ev .ev-ticket-list p:last-child{border-bottom:0}.ev .evdetail .evtool{display:inline-flex;padding:8px 12px;border:1px solid #dce5d8;border-radius:8px;color:#345329}.ev .evdetail .evextra h3{margin:8px 0!important}

html body section.ev form.evform section.ev-tickets div.ev-ticket-row {display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 32px!important;align-items:end!important;gap:6px!important;}
html body section.ev form.evform section.ev-tickets button#ev-ticket-add.btn {display:inline-flex!important;width:auto!important;min-width:0!important;height:auto!important;min-height:32px!important;padding:7px 12px!important;font-size:12px!important;line-height:1.3!important;margin:6px 0!important;border:1px solid #58952b!important;border-radius:8px!important;background:linear-gradient(180deg,#559d0c,#347600 65%,#286000)!important;color:white!important;box-shadow:inset 0 1px 2px #ffffff66,0 3px 5px #25490033!important;}
html body section.ev form.evform label.ev-remove-poster {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;margin:10px 0!important;padding:0!important;}
html body section.ev form.evform label.ev-remove-poster input[type=checkbox]{appearance:auto!important;width:16px!important;height:16px!important;min-height:0!important;margin:0!important;padding:0!important;flex:none!important;}
html body section.ev form.evform section.ev-tickets button.ev-ticket-remove {width:32px!important;height:32px!important;min-height:0!important;padding:0!important;margin:0 0 3px!important;}

html body #wm-event-form #ev-ticket-rows .ev-ticket-row{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 32px!important;gap:6px!important;align-items:end!important;margin:0 0 12px!important}
html body #wm-event-form #ev-ticket-rows .ev-ticket-row label{display:flex!important;flex-direction:column!important;gap:4px!important;margin:0!important;padding:0!important;min-width:0!important;font-size:12px!important}
html body #wm-event-form #ev-ticket-rows .ev-ticket-row input{width:100%!important;min-width:0!important;height:38px!important;min-height:0!important;margin:0!important;padding:6px!important;font-size:14px!important;box-sizing:border-box!important}
html body #wm-event-form #ev-ticket-rows button.ev-ticket-remove,html body #wm-event-form #ev-ticket-add{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:0!important;min-width:0!important;max-width:100%!important;line-height:1.2!important;border:1px solid #58952b!important;border-radius:7px!important;background:linear-gradient(180deg,#559d0c,#347600 65%,#286000)!important;color:white!important;box-shadow:inset 0 1px 2px #ffffff66,0 2px 4px #25490033!important}
html body #wm-event-form #ev-ticket-add{width:auto!important;height:32px!important;padding:5px 10px!important;font-size:12px!important;margin:5px 0!important}
html body #wm-event-form #ev-ticket-rows button.ev-ticket-remove{width:32px!important;height:32px!important;padding:0!important;margin:0 0 3px!important;font-size:17px!important}
html body #wm-event-form .ev-remove-poster{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;margin:10px 0!important;padding:0!important}
html body #wm-event-form .ev-remove-poster input{width:16px!important;height:16px!important;min-height:0!important;margin:0!important;padding:0!important;flex:none!important}
#wm-event-form #ev-poster-preview{display:block;width:120px;height:90px;object-fit:contain;background:#f3f5f1;border-radius:8px;margin:8px 0}

html body #wm-event-form,html body #wm-event-form *{box-sizing:border-box!important;min-width:0!important;}
html body #wm-event-form{width:100%!important;max-width:100%!important;}
html body #wm-event-form .evgrid,html body #wm-event-form .ev-tickets{width:100%!important;max-width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr));}
html body #wm-event-form label,html body #wm-event-form input,html body #wm-event-form select,html body #wm-event-form textarea{max-width:100%!important;}
html body #wm-event-form img#ev-poster-preview{display:block!important;width:120px!important;max-width:100%!important;height:80px!important;max-height:80px!important;object-fit:contain!important;margin:8px 0!important;}
html body #wm-event-form img#ev-poster-preview[hidden]{display:none!important;}

/* Final scoped overrides; external stylesheet allowed by CSP. */
#wm-event-form .ev-tickets{display:block;min-width:0;max-width:100%;padding:12px!important}
#wm-event-form .ev-tickets[hidden]{display:none!important}
#wm-event-form #ev-ticket-rows .ev-ticket-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 32px!important}
#wm-event-form #ev-ticket-rows .ev-ticket-row label{margin:0!important;min-height:0!important}
#wm-event-form #ev-ticket-rows .ev-ticket-row input{min-height:0!important;height:38px!important}
#wm-event-form #ev-ticket-add,#wm-event-form #ev-ticket-rows .ev-ticket-remove{max-height:32px!important;align-self:end!important;justify-self:start!important;box-sizing:border-box!important}
#wm-event-form #ev-ticket-add{font-size:12px!important;font-weight:600!important;width:max-content!important;max-width:100%!important}
#wm-event-form .evgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#wm-event-form .evgrid label{min-width:0!important}
#wm-event-form .evgrid [hidden]{display:none!important}

html body main section.ev form#wm-event-form section.ev-tickets div#ev-ticket-rows div.ev-ticket-row {display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 32px!important;align-items:end!important;gap:6px!important}
html body main section.ev form#wm-event-form section.ev-tickets button#ev-ticket-add {display:inline-flex!important;width:auto!important;min-width:0!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0 10px!important;margin:8px 0 0!important;font-size:12px!important;line-height:1!important;border-radius:7px!important;background:linear-gradient(#509c08,#286500)!important;color:white!important;box-shadow:0 2px 4px #0003!important;border:1px solid #559126!important}
html body main section.ev form#wm-event-form section.ev-tickets button.ev-ticket-remove {display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;min-width:0!important;padding:0!important;margin:0!important;font-size:16px!important;background:#eef3eb!important;color:#36552b!important;border:1px solid #d5dfd0!important;box-shadow:none!important}
