/* Gestão TT | Inscrições */
#view-inscricoes{padding:4px 0 32px}
.tt-enroll-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:wrap}
.tt-enroll-head h2{margin:0;font-size:23px;color:#080808}
.tt-enroll-head p{margin:5px 0 0;color:#626262;font-size:13px}
.tt-enroll-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.tt-enroll-card{background:white;border:1px solid #e7e7e7;border-radius:16px;padding:20px;box-shadow:0 6px 24px #08080807}
.tt-enroll-card h3{font-size:17px;margin:0 0 8px;color:#080808}
.tt-enroll-card p{font-size:12px;color:#626262;margin:6px 0}
.tt-enroll-progress{height:8px;background:#f0efef;border-radius:30px;overflow:hidden;margin:15px 0 8px}
.tt-enroll-progress span{display:block;height:100%;background:#E2001B;border-radius:30px}
.tt-enroll-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.tt-enroll-actions button{font-size:11px;padding:8px 11px;border-radius:9px;border:1px solid #ddd;background:white;color:#080808;cursor:pointer}
.tt-enroll-actions button.primary{background:#080808;color:white;border-color:#080808}
.tt-enroll-empty{padding:46px 20px;text-align:center;background:white;border:1px dashed #ccc;border-radius:18px;color:#626262}
.tt-enroll-dialog{position:fixed;inset:0;background:#080808a0;z-index:50000;display:flex;align-items:center;justify-content:center;padding:15px}
.tt-enroll-panel{background:white;border-radius:18px;width:min(680px,100%);max-height:92vh;overflow:auto;padding:25px;color:#080808}
.tt-enroll-panel h2{margin:0 0 17px;font-size:21px}
.tt-enroll-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.tt-enroll-form label{display:block;font-size:12px;font-weight:700;color:#333}
.tt-enroll-form input,.tt-enroll-form textarea,.tt-enroll-form select{display:block;width:100%;margin-top:6px;border:1px solid #d5d5d5;border-radius:9px;padding:11px;background:white;font-size:13px;color:#080808}
.tt-enroll-span{grid-column:1/-1}
.tt-enroll-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;flex-wrap:wrap}
.tt-enroll-foot button{padding:11px 17px;border:1px solid #ddd;background:white;border-radius:9px;cursor:pointer}
.tt-enroll-foot button.primary{background:#E2001B;color:white;border-color:#E2001B}
.tt-enroll-table{width:100%;border-collapse:collapse;min-width:550px;font-size:12px}
.tt-enroll-table th,.tt-enroll-table td{padding:11px;text-align:left;border-bottom:1px solid #eee}
.tt-enroll-scroll{overflow:auto}
.tt-enroll-qr{display:flex;flex-direction:column;align-items:center;gap:12px}
.tt-enroll-qr #ttQrImage{padding:10px;background:white}
@media(max-width:620px){.tt-enroll-form{grid-template-columns:1fr}.tt-enroll-panel{padding:17px}}

/* Destaques dos tipos de evento, data, horário, local e turma */
#view-inscricoes .tt-enroll-badge{display:inline-flex;align-items:center;background:#E2001B;color:#fff;border-radius:30px;padding:7px 12px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-bottom:12px}
#view-inscricoes .tt-enroll-card{border-color:#F7BCBC;box-shadow:0 10px 25px rgba(8,8,8,.04)}
#view-inscricoes .tt-enroll-card h3{font-size:19px;line-height:1.35}
#view-inscricoes .tt-enroll-turma{display:inline-block;background:#080808;color:white;font-size:11px;font-weight:800;border-radius:8px;padding:7px 10px;margin-bottom:10px}
#view-inscricoes .tt-enroll-info{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}
#view-inscricoes .tt-enroll-info>div{border:1px solid #F7BCBC;background:#F7F7F5;padding:12px;border-radius:11px;display:flex;flex-direction:column;gap:6px;min-width:0}
#view-inscricoes .tt-enroll-info span{color:#99001A;font-size:10px;font-weight:800;letter-spacing:.06em}
#view-inscricoes .tt-enroll-info strong{font-size:15px;color:#080808;overflow-wrap:anywhere}
#view-inscricoes .tt-enroll-info .tt-enroll-location{grid-column:1/-1}
.tt-enroll-panel .tt-enroll-intro{color:#626262;margin:-6px 0 20px;font-size:13px}
.tt-enroll-panel .tt-enroll-type{background:#080808;color:white;padding:16px;border-radius:13px;letter-spacing:.05em}
.tt-enroll-panel .tt-enroll-type select{border:2px solid #E2001B;background:#fff;color:#080808;font-size:16px;font-weight:800}
.tt-enroll-panel .tt-enroll-highlight{background:#F7F7F5;border:1px solid #F7BCBC;border-radius:14px;padding:16px}
.tt-enroll-panel .tt-enroll-highlight-title{color:#99001A;font-size:14px;font-weight:800;margin-bottom:12px}
.tt-enroll-panel .tt-enroll-highlight-grid{gap:12px}
.tt-enroll-panel .tt-enroll-default-fields{border:1px dashed #E2001B;background:#FFF6F6;border-radius:12px;padding:15px;color:#080808}
.tt-enroll-panel .tt-enroll-default-fields p{font-size:13px;margin:5px 0 0;color:#626262}
.tt-enroll-panel .tt-enroll-class small{display:block;margin-top:7px;color:#626262;font-weight:400;line-height:1.45}
.tt-enroll-panel .tt-enroll-form input:focus,.tt-enroll-panel .tt-enroll-form textarea:focus,.tt-enroll-panel .tt-enroll-form select:focus{outline:2px solid #E2001B;outline-offset:1px}
@media(max-width:620px){#view-inscricoes .tt-enroll-info{grid-template-columns:1fr}#view-inscricoes .tt-enroll-info .tt-enroll-location{grid-column:auto}}

/* Formulário compacto de evento: hierarquia clara, sem rolagem desnecessária */
.tt-enroll-editor-dialog{align-items:center;padding:16px;background:rgba(8,8,8,.55);backdrop-filter:blur(2px)}
.tt-enroll-editor-dialog .tt-enroll-panel{width:min(720px,calc(100vw - 28px));max-height:min(92dvh,850px);padding:22px 24px 0;border-radius:18px;box-shadow:0 25px 75px rgba(8,8,8,.2);display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}
.tt-enroll-editor-dialog .tt-enroll-editor-title{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.tt-enroll-editor-dialog .tt-enroll-title-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;background:#FBE5E8;color:#C90020;border-radius:11px;font-size:22px;font-weight:700}
.tt-enroll-editor-dialog .tt-enroll-editor-title>div{flex:1;min-width:0}
.tt-enroll-editor-dialog .tt-enroll-editor-title h2{font-size:20px;margin:0 0 3px;line-height:1.2;color:#080808;font-weight:800}
.tt-enroll-editor-dialog .tt-enroll-intro{font-size:11px;line-height:1.4;margin:0;color:#626262}
.tt-enroll-editor-dialog .tt-enroll-close{align-self:flex-start;margin-left:auto;border:0;background:transparent;border-radius:8px;color:#555;cursor:pointer;width:32px;height:32px;font-size:26px;line-height:1}
.tt-enroll-editor-dialog .tt-enroll-close:hover{background:#F7F7F5;color:#E2001B}
.tt-enroll-editor-dialog .tt-enroll-form{gap:11px 14px;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start}
.tt-enroll-editor-dialog .tt-enroll-form label{font-size:11px;font-weight:750;line-height:1.25;color:#262626;min-width:0}
.tt-enroll-editor-dialog .tt-enroll-form input,.tt-enroll-editor-dialog .tt-enroll-form select,.tt-enroll-editor-dialog .tt-enroll-form textarea{width:100%;min-height:36px;height:36px;padding:7px 10px;margin-top:5px;font-size:12px;border:1px solid #D9D9D9;border-radius:9px;background:#fff;color:#080808;box-shadow:none}
.tt-enroll-editor-dialog .tt-enroll-form textarea{resize:vertical;height:52px;min-height:46px;line-height:1.35;max-height:120px}
.tt-enroll-editor-dialog .tt-enroll-type{background:#FFF0F1;color:#080808;padding:10px 12px;border-radius:11px;letter-spacing:0;text-transform:none;font-size:11px;border:1px solid #F7D5DA}
.tt-enroll-editor-dialog .tt-enroll-type select{border:1px solid #D9B2B8;background:#fff;color:#080808;font-size:13px;font-weight:750;margin-top:5px;min-height:36px}
.tt-enroll-editor-dialog .tt-enroll-class small{display:none}
.tt-enroll-editor-dialog .tt-enroll-highlight{background:#FFF6F7;border:1px solid #F7D5DA;border-radius:12px;padding:11px 13px}
.tt-enroll-editor-dialog .tt-enroll-highlight-title{color:#B5001A;font-size:12px;margin:0 0 8px;font-weight:800}
.tt-enroll-editor-dialog .tt-enroll-highlight-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px}
.tt-enroll-editor-dialog .tt-enroll-highlight-grid .tt-enroll-span{grid-column:1/-1}
.tt-enroll-editor-dialog .tt-enroll-extras{padding:0;border:1px solid #E8E6E6;border-radius:10px;overflow:hidden}
.tt-enroll-editor-dialog .tt-enroll-extras summary{cursor:pointer;list-style:none;padding:10px 12px;font-size:11px;font-weight:800;color:#282828;display:flex;justify-content:space-between;gap:8px;align-items:center}
.tt-enroll-editor-dialog .tt-enroll-extras summary::-webkit-details-marker{display:none}
.tt-enroll-editor-dialog .tt-enroll-extras summary:after{content:'⌄';font-size:17px;color:#E2001B}
.tt-enroll-editor-dialog .tt-enroll-extras[open] summary:after{transform:rotate(180deg)}
.tt-enroll-editor-dialog .tt-enroll-extras summary span{font-weight:500;font-size:11px;color:#626262}
.tt-enroll-editor-dialog .tt-enroll-extras-body{padding:0 12px 12px;border-top:1px solid #eee}
.tt-enroll-editor-dialog .tt-enroll-extras-body p{font-size:11px;color:#626262}
.tt-enroll-editor-dialog .tt-enroll-extras-body label{display:block}
.tt-enroll-editor-dialog .tt-enroll-foot{position:sticky;bottom:0;z-index:2;background:#fff;border-top:1px solid #EEE4E4;margin:2px -24px 0;padding:12px 24px;display:flex;align-items:center;justify-content:space-between}
.tt-enroll-editor-dialog .tt-enroll-foot button{padding:9px 17px;min-height:36px;border-radius:9px;font-size:12px;font-weight:750}
.tt-enroll-editor-dialog .tt-enroll-foot button.primary{background:#E2001B;color:#fff;border-color:#E2001B}
@media(max-width:600px){.tt-enroll-editor-dialog{padding:8px}.tt-enroll-editor-dialog .tt-enroll-panel{width:100%;max-height:96dvh;padding:16px 15px 0;border-radius:15px}.tt-enroll-editor-dialog .tt-enroll-form{grid-template-columns:minmax(0,1fr);gap:10px}.tt-enroll-editor-dialog .tt-enroll-editor-title{margin-bottom:12px}.tt-enroll-editor-dialog .tt-enroll-foot{margin:4px -15px 0;padding:11px 15px}.tt-enroll-editor-dialog .tt-enroll-extras summary{flex-wrap:wrap}.tt-enroll-editor-dialog .tt-enroll-highlight-grid{grid-template-columns:1fr 1fr}}

/* Resumo breve, com contador discreto e visível */
.tt-enroll-editor-dialog .tt-enroll-short-description{position:relative}
.tt-enroll-editor-dialog .tt-enroll-short-description .tt-enroll-char-count{
 float:right;font-size:10px;color:#626262;font-weight:600;margin-top:1px
}
.tt-enroll-editor-dialog .tt-enroll-short-description textarea{
 height:58px;min-height:58px;max-height:90px;resize:vertical
}


/* Evento v2: formulário direto, legível e sem cartões decorativos pesados */
.tt-enroll-editor-dialog .tt-enroll-panel{width:min(660px,calc(100vw - 28px));max-height:92dvh;padding:20px 24px 0;border-radius:20px;background:#fff}
.tt-enroll-editor-dialog .tt-enroll-editor-title{margin-bottom:13px;gap:10px}
.tt-enroll-editor-dialog .tt-enroll-title-icon{width:36px;height:36px;flex-basis:36px;font-size:19px;background:#FCE9EB;color:#E2001B}
.tt-enroll-editor-dialog .tt-enroll-editor-title h2{font-size:20px;letter-spacing:-.025em}
.tt-enroll-editor-dialog .tt-enroll-form-v2{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:10px 12px;align-items:start}
.tt-enroll-editor-dialog .tt-enroll-form-v2 .tt-enroll-span{grid-column:1/-1}
.tt-enroll-editor-dialog .tt-enroll-form-v2 .tt-enroll-section-head{display:flex;align-items:center;gap:9px;border-top:1px solid #EEEEEE;margin-top:3px;padding-top:11px;font-size:12px;font-weight:800;letter-spacing:-.01em;color:#292929}
.tt-enroll-editor-dialog .tt-enroll-form-v2 .tt-enroll-section-head:first-child{border-top:0;margin-top:0;padding-top:0}
.tt-enroll-editor-dialog .tt-enroll-section-head span{display:grid;place-items:center;min-width:23px;height:23px;padding:0 4px;background:#FFE9EC;color:#B90019;border-radius:7px;font-size:10px;font-weight:800;letter-spacing:0}
.tt-enroll-editor-dialog .tt-enroll-form-v2 .tt-enroll-type{background:none;border:0;padding:0;text-transform:none;letter-spacing:0;font-size:11px;font-weight:750;color:#262626}
.tt-enroll-editor-dialog .tt-enroll-form-v2 .tt-enroll-type select{margin-top:5px;border:1px solid #D9D9D9;background:#fff;color:#080808;font-weight:650;font-size:12px;min-height:37px;padding:7px 12px}
.tt-enroll-editor-dialog .tt-enroll-form-v2 label{display:block;min-width:0;color:#292929;font-size:11px;font-weight:750;line-height:1.35}
.tt-enroll-editor-dialog .tt-enroll-form-v2 input,.tt-enroll-editor-dialog .tt-enroll-form-v2 textarea,.tt-enroll-editor-dialog .tt-enroll-form-v2 select{display:block;width:100%;min-width:0;min-height:37px;height:37px;padding:8px 11px;margin-top:5px;background:#FCFCFC;color:#080808;border:1px solid #DCDCDC;border-radius:9px;font-size:12px;font-weight:500;box-shadow:none}
.tt-enroll-editor-dialog .tt-enroll-form-v2 :is(input,textarea,select):focus{outline:2px solid rgba(226,0,27,.23);outline-offset:1px;border-color:#E2001B}
.tt-enroll-editor-dialog .tt-enroll-schedule{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:12px}
.tt-enroll-editor-dialog .tt-enroll-short-description textarea{height:52px;min-height:52px;max-height:85px;resize:vertical}
.tt-enroll-editor-dialog .tt-enroll-char-count{float:right;font-weight:700;color:#777;font-size:10px}
.tt-enroll-editor-dialog .tt-optional{color:#888;font-weight:450}
.tt-enroll-editor-dialog .tt-enroll-state select{max-width:235px}
.tt-enroll-editor-dialog .tt-enroll-form-v2 .tt-enroll-extras{border:1px solid #E9E9E9;border-radius:10px;margin-top:3px;background:#fff}
.tt-enroll-editor-dialog .tt-enroll-extras summary{font-size:11px;padding:9px 11px}
.tt-enroll-editor-dialog .tt-enroll-extras summary span{font-size:10px}
.tt-enroll-editor-dialog .tt-enroll-foot{margin-top:2px;padding-top:11px;padding-bottom:11px}
@media(max-width:640px){.tt-enroll-editor-dialog .tt-enroll-panel{padding:16px 16px 0}.tt-enroll-editor-dialog .tt-enroll-form-v2{grid-template-columns:1fr;gap:10px}.tt-enroll-editor-dialog .tt-enroll-schedule{grid-template-columns:1fr 1fr}.tt-enroll-editor-dialog .tt-enroll-schedule>label:last-child{grid-column:1/-1}.tt-enroll-editor-dialog .tt-enroll-foot{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}}

/* Turmas opcionais: campos específicos de cada turma, sem elementos decorativos no cabeçalho */
.tt-enroll-class-editor .tt-enroll-editor-title{padding:0 0 10px;border-bottom:1px solid #efefef}
.tt-enroll-class-editor .tt-enroll-form-v2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.tt-enroll-class-editor .tt-class-question select{max-width:100%}
.tt-enroll-class-editor .tt-simple-fields[hidden],.tt-enroll-class-editor .tt-multi-fields[hidden]{display:none!important}
.tt-enroll-class-editor .tt-simple-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tt-enroll-class-editor .tt-simple-fields>.tt-enroll-schedule{grid-column:1/-1}
.tt-enroll-class-editor .tt-simple-fields>label{grid-column:1/-1;max-width:200px}
.tt-enroll-class-editor .tt-multi-fields{margin-top:1px}
.tt-enroll-class-editor .tt-turma-quantity{display:flex;align-items:center;justify-content:space-between;gap:15px;max-width:220px}
.tt-enroll-class-editor .tt-turma-quantity input{max-width:90px;margin:0}
.tt-enroll-class-editor .tt-enroll-help{font-size:11px;color:#626262;margin:8px 0 12px}
.tt-enroll-class-editor .tt-turmas-rows{display:grid;gap:11px}
.tt-enroll-class-editor .tt-turma-row{border:1px solid #e9e9e9;background:#fafafa;border-radius:12px;padding:12px}
.tt-enroll-class-editor .tt-turma-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}
.tt-enroll-class-editor .tt-turma-heading strong{font-size:12px;color:#080808}
.tt-enroll-class-editor .tt-turma-heading small{font-size:10px;color:#626262}
.tt-enroll-class-editor .tt-turma-fields{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr) 1fr 1fr;gap:9px 11px}
.tt-enroll-class-editor .tt-turma-fields .tt-turma-location{grid-column:1/-1}
.tt-enroll-class-editor .tt-turma-fields :is(input,select){background:#fff}
.tt-enroll-class-editor .tt-enroll-foot{margin-top:7px}
@media(max-width:640px){
 .tt-enroll-class-editor .tt-enroll-form-v2{grid-template-columns:1fr}
 .tt-enroll-class-editor .tt-simple-fields{grid-template-columns:1fr}
 .tt-enroll-class-editor .tt-turma-fields{grid-template-columns:1fr 1fr}
 .tt-enroll-class-editor .tt-turma-fields .tt-turma-location{grid-column:1/-1}
}


/* Ajuste de proporções da janela de edição: altura controlada com área interna rolável */
.tt-enroll-class-editor{display:flex;align-items:center;justify-content:center;overflow:hidden;padding:20px}
.tt-enroll-class-editor .tt-enroll-panel{
  width:min(600px,calc(100vw - 36px));
  max-width:600px;
  max-height:min(74dvh,610px);
  min-height:0;
  padding:18px 22px 0;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:#d6d6d6 transparent;
  overscroll-behavior:contain;
  border-radius:18px;
}
.tt-enroll-class-editor .tt-enroll-editor-title{
  position:sticky;top:-18px;z-index:3;
  background:#fff;margin:0 -22px 10px;padding:0 22px 12px;
}
.tt-enroll-class-editor .tt-enroll-foot{
  position:sticky;bottom:0;z-index:3;
  margin:8px -22px 0;padding:10px 22px;
  box-shadow:0 -7px 15px rgba(8,8,8,.04);
  background:#fff;
}
@media(max-width:640px){
  .tt-enroll-class-editor{padding:10px}
  .tt-enroll-class-editor .tt-enroll-panel{
    width:100%;max-width:100%;
    max-height:78dvh;
    padding:15px 15px 0;
    border-radius:16px;
  }
  .tt-enroll-class-editor .tt-enroll-editor-title{
    top:-15px;margin:0 -15px 10px;padding:0 15px 11px;
  }
  .tt-enroll-class-editor .tt-enroll-foot{
    margin:8px -15px 0;padding:10px 15px;
  }
}

/* Upload opcional de imagem de capa em cada evento */
.tt-enroll-class-editor .tt-banner-upload{border:1px solid #e8e8e8;border-radius:12px;padding:12px;background:#fbfbfb}
.tt-enroll-class-editor .tt-banner-title{font-size:12px;font-weight:800;color:#080808}
.tt-enroll-class-editor .tt-banner-title span{font-weight:450;color:#777}
.tt-enroll-class-editor .tt-banner-upload>p{color:#626262;font-size:11px;line-height:1.5;margin:5px 0 9px}
.tt-enroll-class-editor .tt-banner-preview{height:103px;background:linear-gradient(120deg,#E2001B,#9B0019);border-radius:10px;display:grid;place-items:center;background-size:cover;background-position:center;overflow:hidden;text-align:center}
.tt-enroll-class-editor .tt-banner-preview span{color:#fff;font-size:12px;font-weight:700;padding:12px;text-shadow:0 1px 4px #08080860}
.tt-enroll-class-editor .tt-banner-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:9px}
.tt-enroll-class-editor .tt-banner-pick,.tt-enroll-class-editor #ttBannerRemove{display:inline-flex;align-items:center;justify-content:center;margin:0;cursor:pointer;min-height:32px;border-radius:8px;padding:7px 11px;font-size:11px;font-weight:750}
.tt-enroll-class-editor .tt-banner-pick{background:#080808;color:white}
.tt-enroll-class-editor #ttBannerRemove{background:#fff;color:#333;border:1px solid #dedede}
.tt-enroll-class-editor #ttBannerInfo{font-size:11px;color:#626262}


/* Janela: título realmente fixo, sem acompanhar a rolagem do formulário */
.tt-enroll-class-editor .tt-enroll-panel{
 display:flex;flex-direction:column;
 overflow:hidden;
 width:min(600px,calc(100vw - 36px));
 max-height:min(78dvh,620px);
 padding:0;
}
.tt-enroll-class-editor .tt-enroll-editor-title{
 position:relative;top:auto;flex:none;
 margin:0;padding:17px 22px 13px;
 border-bottom:1px solid #ededed;
 z-index:4;background:#fff;
}
.tt-enroll-class-editor .tt-enroll-form-v2{
 display:grid;min-height:0;
 max-height:calc(min(78dvh,620px) - 70px);
 overflow-y:auto;overflow-x:hidden;
 overscroll-behavior:contain;
 scrollbar-width:thin;
 scrollbar-color:#d6d6d6 transparent;
 padding:14px 22px 0;
 align-content:start;
}
.tt-enroll-class-editor .tt-enroll-foot{
 bottom:0;z-index:4;
 margin:5px -22px 0;padding:12px 22px;
 background:#fff;border-top:1px solid #eaeaea;
 box-shadow:0 -6px 14px rgba(0,0,0,.045);
}
.tt-enroll-class-editor .tt-banner-upload{
 background:#fff;border:1px solid #e6e6e6;
 padding:14px;border-radius:12px;
}
.tt-enroll-class-editor .tt-banner-upload>p{
 margin:5px 0 11px;line-height:1.5;font-size:11px;
}
.tt-enroll-class-editor .tt-banner-preview{
 height:108px;border-radius:10px;
 background:linear-gradient(120deg,#E2001B,#A30018);
}
.tt-enroll-class-editor .tt-banner-controls{
 gap:9px;margin-top:11px;align-items:center;
}
.tt-enroll-class-editor #ttBannerChoose,
.tt-enroll-class-editor #ttBannerRemove{
 appearance:none;border-radius:8px;
 min-height:36px;padding:9px 13px;
 font-family:inherit;font-size:11px;font-weight:700;line-height:1.2;
 cursor:pointer;transition:background .15s ease;
}
.tt-enroll-class-editor #ttBannerChoose{
 background:#080808;color:#fff;border:1px solid #080808;
}
.tt-enroll-class-editor #ttBannerChoose:hover{background:#333}
.tt-enroll-class-editor #ttBannerRemove{
 background:#fff;color:#555;border:1px solid #dedede;
}
.tt-enroll-class-editor #ttBannerRemove:hover{background:#f7f7f7}
.tt-enroll-class-editor #ttBannerInput{display:none!important}
.tt-enroll-class-editor .tt-banner-feedback{
 margin:7px 0 0!important;color:#626262;font-size:11px;
}
.tt-enroll-class-editor .tt-banner-feedback:empty{display:none}
@media(max-width:640px){
 .tt-enroll-class-editor .tt-enroll-panel{padding:0;max-height:85dvh}
 .tt-enroll-class-editor .tt-enroll-editor-title{
  top:auto;margin:0;padding:15px 16px 12px
 }
 .tt-enroll-class-editor .tt-enroll-form-v2{
  max-height:calc(85dvh - 70px);
  padding:12px 16px 0
 }
 .tt-enroll-class-editor .tt-enroll-foot{
  margin:5px -16px 0;padding:11px 16px
 }
}

/* Dashboard do módulo de Inscrições */
.tt-enroll-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 23px}
.tt-enroll-kpi{position:relative;display:flex;flex-direction:column;gap:13px;padding:19px 20px;background:#fff;border:1px solid #e9e5e6;border-radius:15px;min-height:114px}
.tt-enroll-kpi:before{content:"";position:absolute;left:20px;top:0;width:43px;height:3px;border-radius:0 0 5px 5px;background:#E2001B}
.tt-enroll-kpi span{color:#626262;font-size:12px;font-weight:650;line-height:1.35}
.tt-enroll-kpi strong{font-size:30px;font-weight:800;letter-spacing:-.045em;color:#080808;font-variant-numeric:tabular-nums}
.tt-enroll-subheading{font-size:15px;font-weight:800;margin:0 0 13px;color:#080808}
.tt-enroll-actions button[data-act="presenceQR"]{background:#fff5f6;color:#aa001b;border-color:#f2ccd1}
.tt-enroll-actions button[data-act="attendance"]{background:#fff;color:#080808}
.tt-enroll-qr #ttQrImage{min-height:220px;display:grid;place-items:center}
@media(max-width:700px){.tt-enroll-dashboard{gap:8px}.tt-enroll-kpi{padding:13px 12px;min-height:100px}.tt-enroll-kpi:before{left:12px}.tt-enroll-kpi span{font-size:11px}.tt-enroll-kpi strong{font-size:25px}}
@media(max-width:460px){.tt-enroll-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.tt-enroll-kpi:last-child{grid-column:1/-1}}

/* Exclusão irreversível de presenças registradas na aba Inscrições. */
.tt-presence-delete-button{padding:7px 11px;border:1px solid #F4C8CE;border-radius:8px;background:#FFF3F4;color:#B0001B;font-size:11px;font-weight:750;cursor:pointer}
.tt-presence-delete-button:hover{background:#FCE1E5}
.tt-presence-delete-button:disabled{opacity:.5;cursor:wait}
.tt-presence-delete-error{margin:10px 0;padding:11px 13px;border-radius:9px;background:#FFF0F2;border:1px solid #F7BCBC;color:#A00019;font-size:12px}
.tt-presence-delete-error[hidden]{display:none!important}
.tt-presence-delete-overlay{position:fixed;inset:0;z-index:60000;background:rgba(8,8,8,.57);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(3px)}
.tt-presence-delete-dialog{width:min(425px,100%);border-radius:19px;border:1px solid #EEE6E6;background:#fff;padding:25px 23px 22px;box-shadow:0 24px 72px rgba(0,0,0,.20);text-align:center;color:#080808}
.tt-presence-delete-icon{width:46px;height:46px;display:grid;place-items:center;margin:0 auto 15px;border-radius:13px;background:#FFF0F2;color:#E2001B;font-size:26px;font-weight:850}
.tt-presence-delete-dialog h3{margin:0 0 10px;font-size:19px;line-height:1.3;font-weight:850}
.tt-presence-delete-dialog p{margin:0 0 22px;color:#626262;font-size:12.5px;line-height:1.65}
.tt-presence-delete-dialog p strong{color:#080808}
.tt-presence-delete-actions{display:flex;gap:9px;align-items:center;justify-content:center}
.tt-presence-delete-actions button{min-height:43px;padding:10px 12px;border-radius:10px;border:1px solid #E1E1DE;background:#fff;color:#333;font-size:12px;font-weight:750;cursor:pointer}
.tt-presence-delete-actions [data-presence-keep]{flex:1}
.tt-presence-delete-actions [data-presence-delete]{flex:2;background:#E2001B;border-color:#E2001B;color:#fff}
.tt-presence-delete-actions button:focus-visible,.tt-presence-delete-button:focus-visible{outline:3px solid #F7BCBC;outline-offset:2px}
@media(max-width:420px){.tt-presence-delete-dialog{padding:21px 16px}.tt-presence-delete-actions button{font-size:11px}}

/* Cards de inscrições: dados rápidos compactos. */
#view-inscricoes .tt-enroll-info{gap:6px!important;margin:9px 0!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
#view-inscricoes .tt-enroll-info>div{padding:8px 10px!important;border-radius:9px!important;gap:3px!important;min-height:0!important}
#view-inscricoes .tt-enroll-info span{font-size:9px!important;line-height:1.1!important;letter-spacing:.045em!important}
#view-inscricoes .tt-enroll-info strong{font-size:12px!important;line-height:1.3!important;font-weight:750!important}
#view-inscricoes .tt-enroll-info .tt-enroll-location{grid-column:1/-1!important}
@media(max-width:620px){
 #view-inscricoes .tt-enroll-info{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 #view-inscricoes .tt-enroll-info .tt-enroll-location{grid-column:1/-1!important}
}
/* Seleção múltipla para exclusão de presenças. */
.tt-presence-bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 0 13px;border-bottom:1px solid #ECECEC;margin-bottom:8px}
.tt-presence-select-all{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#252525;cursor:pointer}
.tt-presence-select-all input,.tt-presence-row-check{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;padding:0!important;accent-color:#E2001B;cursor:pointer}
.tt-presence-bulk-toolbar #ttPresenceSelectedCount{font-size:11px;color:#626262;margin-right:auto}
.tt-presence-bulk-toolbar #ttPresenceBulkDelete:disabled{opacity:.45;cursor:not-allowed}
.tt-enroll-table .tt-presence-check-col{width:78px}
.tt-enroll-table td:has(>.tt-presence-row-check){text-align:center}

/* Cadastro de eventos: cabeçalho e rodapé separados da área rolável.
   Impede que as opções da etapa 03 fiquem ocultas sob os botões. */
.tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-panel{
 display:flex!important;flex-direction:column!important;
 width:min(600px,calc(100vw - 24px))!important;
 max-height:min(90dvh,760px)!important;
 min-height:0!important;overflow:hidden!important;
 padding:0!important;
}
.tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-editor-title{
 flex:0 0 auto!important;position:relative!important;top:auto!important;
 margin:0!important;padding:16px 20px 12px!important;
 background:#fff!important;z-index:2!important;
}
.tt-enroll-editor-dialog.tt-enroll-class-editor #ttTrainingForm.tt-enroll-form-v2{
 flex:1 1 auto!important;display:grid!important;
 min-height:0!important;max-height:none!important;
 overflow-y:auto!important;overflow-x:hidden!important;
 scrollbar-width:thin;overscroll-behavior:contain;
 padding:14px 20px 24px!important;margin:0!important;
 align-content:start!important;
}
.tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-panel>.tt-enroll-foot{
 position:relative!important;bottom:auto!important;
 flex:0 0 auto!important;z-index:3!important;
 display:flex!important;justify-content:space-between!important;
 margin:0!important;padding:12px 20px!important;
 background:#fff!important;border-top:1px solid #eaeaea!important;
 box-shadow:0 -3px 10px rgba(8,8,8,.035)!important;
}
@media(max-width:640px){
 .tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-panel{
  max-height:calc(100dvh - 20px)!important;
 }
 .tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-editor-title{
  padding:13px 15px 10px!important;
 }
 .tt-enroll-editor-dialog.tt-enroll-class-editor #ttTrainingForm.tt-enroll-form-v2{
  padding:12px 15px 24px!important;
 }
 .tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-panel>.tt-enroll-foot{
  padding:11px 15px!important;
 }
}

/* Cadastro de inscrições: ações com margens confortáveis e feedback visível. */
.tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-panel>.tt-enroll-foot{
 padding:14px 29px 17px!important;
 gap:14px!important;
 justify-content:space-between!important;
 border-radius:0 0 18px 18px;
}
.tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-panel>.tt-enroll-foot button{
 min-height:38px!important;padding:10px 18px!important;
 margin:0!important;flex:0 0 auto!important;
}
.tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-save-feedback{
 flex:0 0 auto;margin:0!important;padding:8px 29px 9px!important;
 color:#A1001B;font-size:12px;line-height:1.45;font-weight:650;
 background:#FFF5F6;border-top:1px solid #F6D6DA;
}
.tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-save-feedback[hidden]{display:none!important}
@media(max-width:640px){
 .tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-panel>.tt-enroll-foot{
  padding:13px 22px 16px!important;
 }
 .tt-enroll-editor-dialog.tt-enroll-class-editor .tt-enroll-save-feedback{
  padding:8px 22px!important;
 }
}
