/* Scoped kit components, real event data and existing actions. */
.kit-team{padding:24px;min-width:0}
.kit-team-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.kit-team-head h2{font-size:18px;font-weight:600;line-height:1.4;margin:0}
.kit-team-head p{font-size:14px;color:#5b6577;margin:4px 0 0}
.kit-team table{width:100%;border-collapse:collapse;font-size:14px}
.kit-team th{position:relative;font-size:13px;color:#5b6577;font-weight:600;text-align:left;white-space:nowrap;text-transform:none;letter-spacing:normal;background:#fff}
.kit-team th,.kit-team td{padding:16px 12px;border-bottom:1px solid #edf0f6;vertical-align:top}
.kit-team th:first-child,.kit-team td:first-child{padding-left:0}
.kit-team td:first-child{min-width:150px}
.kit-team td:nth-child(4){min-width:180px}
.kit-team td strong{display:block;font-weight:600;overflow-wrap:anywhere}
.kit-team td small{display:block;font-size:13px;color:#5b6577;line-height:1.5;overflow-wrap:anywhere}
.kit-team-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;min-width:160px}
.kit-team-access{margin-top:8px;font-size:13px;color:#5b6577}
.kit-team-access summary{cursor:pointer;padding:8px 0;min-height:32px;font-weight:500}
.kit-team-access dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:8px 0}
.kit-team-access dd{margin:0}
.kit-team-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:20px}
.kit-team-footer small{font-size:13px;color:#5b6577;line-height:1.5;max-width:560px}
[data-layout-kit] .kit-team-footer .btn{border:0;background:transparent;color:#1d3fd8;padding:0;white-space:nowrap}
@media(max-width:700px){.kit-team{padding:20px}.kit-team table{min-width:670px}.kit-team-footer{align-items:flex-start;flex-direction:column}.kit-team-head>.btn{width:100%}}
.kit-event-page{display:flex;flex-direction:column;gap:24px;min-width:0}
.kit-event-page .breadcrumb{font-size:13px;color:#5b6577;margin:0}
.kit-event-page .page-head{display:flex;align-items:flex-start;gap:16px;margin:0}
.kit-event-page h1{font-size:28px;line-height:1.2;letter-spacing:normal;margin:0;overflow-wrap:anywhere}
.kit-event-page .page-head p{font-size:15px;color:#5b6577;line-height:1.45;margin:4px 0 0}
.kit-event-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.kit-event-page .kit-event-tabs{display:flex;flex-wrap:wrap;gap:4px 24px;border-bottom:1px solid #dfe4ee;margin:0;overflow:visible;white-space:normal;padding:0;min-height:46px}
.kit-event-page .kit-event-tabs button{font-size:15px;color:#4a5568;padding:10px 0;background:none;border:0;border-bottom:3px solid transparent;flex:0 1 auto;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px;border-radius:0;font-weight:500;margin:0}
.kit-event-page .kit-event-tabs button.active{color:#1d3fd8;border-bottom-color:#1d3fd8}
.kit-event-more{position:relative;flex:none;font-size:14px}
.kit-event-more>summary{list-style:none;cursor:pointer;min-height:44px;padding:0 16px;border:1px solid #cfd6e4;border-radius:14px;background:#fff;display:flex;align-items:center;font-weight:600;white-space:nowrap}
.kit-event-more>summary::-webkit-details-marker{display:none}
.kit-event-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:10;width:190px;padding:8px;border:1px solid #dfe4ee;border-radius:14px;background:#fff;box-shadow:0 10px 28px #14213d20;display:grid;gap:4px}
[data-layout-kit] .kit-event-menu .btn{justify-content:flex-start;min-height:44px;padding:0 12px;border:0;border-radius:8px;text-align:left}
.kit-tickets{display:flex;flex-direction:column;gap:24px;min-width:0}
.kit-tickets h2{font-size:28px;line-height:1.2;letter-spacing:normal;margin:0}
.kit-event-page .card{border:0;border-radius:20px;box-shadow:none}
.kit-sector{padding:24px;min-width:0}
.kit-sector-head{display:flex;align-items:center;gap:12px}
.kit-sector-eyebrow{font-size:13px;letter-spacing:.1em;font-weight:700;color:#5b6577;text-transform:uppercase}
.kit-sector h3{font-size:20px;font-weight:600;margin:0;line-height:1.45;overflow-wrap:anywhere}
[data-layout-kit] .kit-event-page .kit-secondary{background:#e8edff;color:#1d3fd8;border:0}
.kit-lot{display:grid;grid-template-columns:minmax(160px,1.5fr) minmax(85px,.7fr) minmax(75px,.6fr) minmax(100px,1fr) auto auto;gap:14px;align-items:center;padding:14px 0;border-top:1px solid #edf0f6}
.kit-lot:first-child{margin-top:12px}
.kit-lot>div{min-width:0}.kit-lot strong{font-size:15px;font-weight:600;overflow-wrap:anywhere;display:block}
.kit-lot small,.kit-lot>div>span{font-size:13px;color:#5b6577;display:block;line-height:1.45}
.kit-lot .btn{min-height:44px;padding:0 18px}
.kit-lot-stock strong{font-size:13px;max-width:170px}
.kit-lot-ativo{background:#e8f6ef;color:#0b7a4b}.kit-lot-pausado,.kit-lot-encerrado,.kit-lot-expirado,.kit-lot-esgotado{background:#f0f2f7;color:#5b6577}.kit-lot-agendado,.kit-lot-aguardando{background:#fff4db;color:#946200}
.kit-event-empty{text-align:center;padding:32px 20px;color:#5b6577}
.kit-event-empty h3{font-size:18px;color:#14213d;margin:0 0 8px}.kit-event-empty p{margin:0;font-size:14px}
.kit-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.kit-overview-main,.kit-overview-side{display:flex;flex-direction:column;gap:24px;min-width:0}
.kit-event-hero{background:#14213d;color:#fff;border-radius:20px;padding:28px;display:flex;gap:32px;align-items:flex-end;flex-wrap:wrap}
.kit-hero-label{font-size:13px;line-height:1.45;color:#b9c3dc}.kit-hero-big{font-size:44px;font-weight:700;line-height:1.1;white-space:nowrap}.kit-hero-big small{font-size:18px;color:#b9c3dc;font-weight:500}
.kit-hero-number{font-size:28px;line-height:1.2;display:block;overflow-wrap:anywhere}
.kit-event-hero progress{display:block;appearance:none;height:8px;border:0;border-radius:99px;width:100%;background:#2b3a5e;margin:12px 0 8px;overflow:hidden}
.kit-event-hero progress::-webkit-progress-bar{background:#2b3a5e}.kit-event-hero progress::-webkit-progress-value{background:#7f9bff}.kit-event-hero progress::-moz-progress-bar{background:#7f9bff}
[data-layout-kit] .kit-event-hero .kit-hero-link{display:inline;background:none;border:0;padding:0;color:#fff;font-size:13px;min-height:32px;text-decoration:underline}
.kit-overview-card{padding:24px;min-width:0}.kit-overview-card h2{font-size:20px;letter-spacing:normal;margin:0 0 12px;line-height:1.45}
.kit-event-link{display:inline-block;font-size:14px;font-weight:600;margin-top:14px;min-height:32px;line-height:32px}
.kit-event-timeline{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:16px}
.kit-event-timeline li{display:flex;align-items:flex-start;gap:12px}.kit-event-timeline strong{font-weight:600;font-size:15px}
.kit-event-timeline small{display:block;font-size:13px;color:#5b6577;line-height:1.45;overflow-wrap:anywhere}
.kit-timeline-dot{width:12px;height:12px;background:#dfe4ee;border-radius:50%;margin-top:5px;flex:none}.kit-timeline-dot.done{background:#0b7a4b}
.kit-activity-list{list-style:none;margin:0;padding:0}.kit-activity-list li{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #edf0f6}.kit-activity-list li:first-child{border:0}
.kit-activity-list strong{font-size:15px;font-weight:600}.kit-activity-list small,.kit-activity-list time{display:block;font-size:13px;color:#5b6577;overflow-wrap:anywhere}.kit-activity-list time{font-size:12px;margin-top:4px}
.kit-activity-icon{width:36px;height:36px;border-radius:50%;background:#e8edff;color:#1d3fd8;display:flex;align-items:center;justify-content:center;flex:none}
.kit-activity-loading{padding:24px;color:#5b6577;font-size:13px;background:#f4f6fb;border-radius:12px}
.kit-activity-loading div{display:grid;gap:14px}.kit-activity-loading div>span{display:block;height:14px;background:#dfe4ee;border-radius:6px;width:85%}.kit-activity-loading div>span:nth-child(2){width:65%}.kit-activity-loading div>span:nth-child(3){width:75%}
.kit-event-hint{font-size:13px;line-height:1.5;color:#5b6577;margin:8px 0 0}
.kit-event-alert{padding:14px 18px;background:#fff4db;color:#775000;border:1px solid #ead6a9;border-radius:12px;font-size:14px;line-height:1.5}
.kit-overview-details{padding:16px 24px}.kit-overview-details>summary{font-size:15px;font-weight:600;cursor:pointer;min-height:32px}.kit-overview-details[open]>summary{margin-bottom:16px}
[data-layout-kit] .kit-overview-card .kit-setting-button{display:flex;border:0;border-top:1px solid #edf0f6;border-radius:0;width:100%;justify-content:flex-start;padding:14px 0;font-size:15px;min-height:48px;text-align:left}
.kit-setting-details{border-top:1px solid #edf0f6;padding:14px 0;font-size:13px;color:#5b6577}.kit-setting-details>summary{font-size:15px;font-weight:600;cursor:pointer;color:#14213d;min-height:32px}.kit-setting-status{font-size:12px;color:#1d3fd8;float:right;background:#e8edff;border-radius:8px;padding:3px 8px}.kit-setting-details p{margin:12px 0}.kit-setting-details .btn{margin:6px 0}.kit-setting-details input{max-width:100%}.kit-setting-details img{max-width:100%}
@media(max-width:1250px){.kit-lot{grid-template-columns:minmax(160px,1fr) repeat(3,minmax(80px,1fr))}.kit-lot>.kit-event-actions{grid-column:2/-1;justify-content:flex-end}}
@media(max-width:1100px){.kit-overview-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.kit-event-page .page-head,.kit-sector-head{flex-wrap:wrap}.kit-event-page .page-head>.kit-grow{flex-basis:100%}.kit-sector-head>.kit-grow{flex-basis:100%}.kit-lot{grid-template-columns:repeat(2,minmax(0,1fr))}.kit-lot-name{grid-column:1/-1}.kit-lot>.kit-event-actions{grid-column:1/-1}.kit-lot-stock strong{max-width:none}.kit-event-hero{padding:24px;gap:24px}.kit-event-hero>.kit-grow{flex-basis:100%}.kit-sector,.kit-overview-card{padding:20px}.kit-event-page h1,.kit-tickets h2{font-size:26px}}
/* Native dialogs retain validation, focus trapping and Escape behavior. */
dialog[data-kit-event-dialog]:has(#edit-event-form,#sector-form,#lot-form,#edit-sector-form,#edit-lot-form,#member-form,#edit-member-form,#manual-admit-form,#waitlist-config-form){font-family:'Acesso Kit Inter',Inter,system-ui,sans-serif;font-optical-sizing:none;color:#14213d;border-radius:20px;max-height:calc(100dvh - 32px)}
dialog[data-kit-event-dialog] .field label{font-size:14px;font-weight:600}dialog[data-kit-event-dialog] .field input,dialog[data-kit-event-dialog] .field select,dialog[data-kit-event-dialog] textarea{border-radius:14px;border-color:#cfd6e4;min-height:48px;font-size:15px}
dialog[data-kit-event-dialog] .btn{border-radius:14px;min-height:48px;font-size:14px}dialog[data-kit-event-dialog] .btn.primary{background:#1d3fd8}
dialog[data-kit-event-dialog] form>.row:last-child{justify-content:flex-end;flex-direction:row-reverse;position:sticky;bottom:-28px;background:#fff;padding:16px 0;border-top:1px solid #edf0f6}
dialog[data-kit-event-dialog] .kit-inventory-section{display:flex;flex-direction:column;gap:14px;margin-top:18px}dialog[data-kit-event-dialog] .kit-inventory-section+.kit-inventory-section{border-top:1px solid #edf0f6;padding-top:18px}
dialog[data-kit-event-dialog] .kit-inventory-section h3{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#5b6577;margin:0;font-weight:700}dialog[data-kit-event-dialog] .kit-inventory-section .field{margin:0}
dialog[data-kit-event-dialog] .kit-inventory-section p{font-size:13px;color:#5b6577;line-height:1.5;margin:0}dialog[data-kit-event-dialog] .kit-inventory-section fieldset{margin:0}
dialog[data-kit-event-dialog] .kit-inventory-help{border:1px solid #dfe4ee;border-radius:12px;padding:12px 16px;font-size:14px;color:#5b6577}dialog[data-kit-event-dialog] .kit-inventory-help summary{cursor:pointer;font-weight:600;min-height:32px}dialog[data-kit-event-dialog] .kit-inventory-help ul{margin:8px 0 4px;padding-left:18px;line-height:1.6}
dialog[data-kit-event-dialog]:has(#edit-event-form){width:min(460px,100%);height:100dvh;max-height:100dvh;max-width:100%;position:fixed;inset:0 0 0 auto;margin:0;border-radius:0}
dialog[data-kit-event-dialog]:has(#edit-event-form) .content{min-height:100%;padding:28px}dialog[data-kit-event-dialog] .edit-event-section{margin-top:18px}
