:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17212b;background:#f4f7fb;line-height:1.45}*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:#1261a0;text-decoration:none}a:hover{text-decoration:underline}.topbar{min-height:70px;display:flex;align-items:center;gap:1rem;padding:0 3vw;background:#102536;color:#fff;box-shadow:0 2px 12px #10253633;white-space:nowrap;overflow:visible;position:relative;z-index:100}.topbar .brand{flex:0 0 auto}.topbar a,.topbar .muted{flex:0 0 auto}.topbar .muted{max-width:260px;overflow:hidden;text-overflow:ellipsis}.topbar form{flex:0 0 auto}.brand{font-size:1.05rem;letter-spacing:.08em;font-weight:800;white-space:nowrap}.topbar a{color:#dbeafe}.topbar .muted{color:#b9c8d5;font-size:.9rem}.topbar form{margin-left:auto;display:inline}.container{width:min(1180px,92vw);margin:0 auto;padding:2.5rem 0 4rem}.narrow{max-width:560px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.75rem}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#5c7080;font-size:.75rem;font-weight:800}.page-head h1{margin:.25rem 0;font-size:clamp(1.7rem,3vw,2.4rem)}.page-head p{margin:.25rem 0;color:#637483}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:1.5rem;background:linear-gradient(135deg,#102536,#1b4b6d 55%,#e9f2fa)}.auth-card{width:min(440px,100%);padding:2.4rem;background:#fff;border-radius:18px;box-shadow:0 20px 60px #07182355}.auth-mark{color:#1f78b4;font-size:1.6rem;font-weight:900;letter-spacing:.16em}.auth-card h1{margin:.4rem 0 0;font-size:2rem}.auth-card .subtitle{margin:.35rem 0 2rem;color:#667887}.field{display:block;margin:1rem 0;color:#304454;font-weight:700}.field input,.field select,.field textarea,input,select,textarea{display:block;width:100%;padding:.82rem .9rem;margin-top:.4rem;border:1px solid #cbd7e1;border-radius:9px;background:#fff;color:inherit;font:inherit}textarea{min-height:100px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,input:focus,select:focus,textarea:focus{outline:3px solid #1983c633;border-color:#1983c6}.button,button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;border:0;border-radius:9px;padding:.78rem 1.05rem;background:#1672b8;color:#fff;font:inherit;font-weight:800;cursor:pointer;text-decoration:none}.button:hover,button:hover{background:#0f5d99;text-decoration:none}.button.secondary{background:#e8f0f6;color:#164769}.button.success{background:#198754}.button.danger{background:#b42318}.button.ghost,.link-button{background:transparent;color:inherit}.full{width:100%}.actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}.stack{display:grid;gap:1rem}.card,.panel,.event-card{background:#fff;border:1px solid #e0e8ef;border-radius:15px;box-shadow:0 8px 24px #1c405d0d}.card,.panel{padding:1.35rem}.event-grid,.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.event-card{padding:1.35rem;display:flex;flex-direction:column;min-height:235px}.event-card h2{margin:.2rem 0 .4rem}.event-card .event-meta{color:#637483;min-height:76px}.event-card .actions{margin-top:auto}.event-status{display:inline-flex;width:max-content;padding:.28rem .6rem;border-radius:999px;background:#e7eef4;color:#425a6b;font-size:.75rem;font-weight:800}.status-active{background:#dff5e8;color:#146c3a}.status-draft{background:#fff1cc;color:#815d00}.status-closed{background:#e6edf4;color:#536676}.status-archived{background:#ece7ef;color:#634d70}.admin-box{margin-top:2rem}.admin-box h2{font-size:1rem;margin-top:0}.dashboard-hero{background:#102536;color:#fff;border-radius:18px;padding:2rem;margin-bottom:1.25rem}.dashboard-hero p{color:#c5d5df;margin:.3rem 0}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.dashboard-card{padding:1.4rem;background:#fff;border-radius:15px;border:1px solid #e0e8ef;min-height:155px;display:flex;flex-direction:column;justify-content:space-between}.dashboard-card h2{font-size:1rem;margin:0;color:#4e6474}.dashboard-card strong{font-size:2rem}.dashboard-card p{color:#6b7d8a;margin:0}.toolbar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}.search-box{flex:1;min-width:230px}.alphabet{display:flex;flex-wrap:wrap;gap:.3rem;margin:1rem 0}.alphabet a{padding:.35rem .5rem;border-radius:7px;background:#e8f0f6;font-weight:700;font-size:.82rem}.summary{display:flex;gap:.75rem;flex-wrap:wrap;margin:1rem 0}.summary span{padding:.5rem .8rem;background:#fff;border:1px solid #e0e8ef;border-radius:9px;font-weight:800}.table-wrap{overflow:auto;background:#fff;border:1px solid #e0e8ef;border-radius:14px}table{width:100%;border-collapse:collapse}th,td{padding:.85rem;border-bottom:1px solid #e7edf2;text-align:left;white-space:nowrap}th{font-size:.76rem;text-transform:uppercase;letter-spacing:.05em;color:#637483;background:#f8fafc}tr:last-child td{border-bottom:0}.participant-name{font-weight:800}.participant-meta{display:block;color:#637483;font-size:.82rem}.inline{display:inline}.flash{padding:.85rem 1rem;margin:1rem 0;border-radius:10px}.flash.success{background:#dff5e8;color:#146c3a}.flash.error{background:#fde5e5;color:#8d1d1d}.steps{display:flex;gap:.35rem;flex-wrap:wrap;margin:0 0 1.5rem}.step{padding:.55rem .8rem;border-radius:999px;background:#e8f0f6;color:#637483;font-size:.8rem;font-weight:800}.step.active{background:#1672b8;color:#fff}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem}.form-grid .wide{grid-column:1/-1}.modal-card{max-width:820px;margin:auto}.empty{padding:2rem;text-align:center;color:#637483}.footer-note{color:#718390;font-size:.85rem;margin-top:1rem}@media(max-width:700px){.topbar{padding:.85rem 4vw;gap:.7rem;flex-wrap:wrap}.topbar form{margin-left:0}.container{padding-top:1.5rem}.page-head{display:block}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}th,td{padding:.65rem}.dashboard-hero{padding:1.4rem}.topbar .brand{width:100%}}.print-label{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4%;background:#fff;border:1px solid #dbe3ee;width:100mm;height:150mm;margin:1rem auto;padding:6mm 8mm 5mm;text-align:center;font-weight:700}.print-label strong{display:block}.print-label span{font-size:12px;font-weight:600}.confirm-print{max-width:520px;margin:1rem auto;text-align:center}.print-sample{width:100mm;min-height:55mm;margin:1rem auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;border:1px dashed #9aa8ba;background:#fff;text-align:center}.print-sample strong{font-size:24px}.print-sample span{font-size:12px}@media print{body{background:#fff}.screen-only{display:none!important}}.print-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:1.25rem}.realtime-label{width:min(100%,560px);max-width:100%;min-height:0;justify-content:flex-start;padding:clamp(16px,5%,28px) 24px 16px;overflow:hidden;gap:clamp(6px,3%,12px);}.realtime-label .preview-primary,.print-label .print-primary{font-size:var(--primary-size,24px);font-weight:800;line-height:1.05;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.realtime-label .preview-secondary,.print-label .print-secondary{font-size:var(--secondary-size,12px);line-height:1.1;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.print-label .print-primary{font-size:var(--primary-size,24px)}.print-label .print-secondary{font-size:var(--secondary-size,12px)}@media(max-width:800px){.print-editor{grid-template-columns:1fr}}.topbar-primary{display:flex;align-items:center;gap:1rem;flex:0 1 auto}.event-current{flex:0 1 260px!important}.admin-menu{position:relative;flex:0 0 auto}.admin-menu summary{cursor:pointer;color:#dbeafe}.admin-menu>div{position:absolute;right:0;top:calc(100% + .5rem);z-index:10;display:grid;min-width:190px;padding:.5rem;background:#102536;border:1px solid #426078;border-radius:8px;box-shadow:0 8px 24px #07182366}.admin-menu>div a{padding:.45rem .6rem}@media(max-width:900px){.topbar{flex-wrap:wrap;overflow-x:visible}.topbar-primary{order:3;width:100%;overflow-x:auto;padding-bottom:.25rem}.topbar form{margin-left:0}}.topbar-primary,.admin-menu{position:relative;z-index:200}.admin-menu>div{z-index:300}.container{position:relative;z-index:1}@media(max-width:900px){.topbar-primary{overflow-x:auto;position:relative;z-index:200}}.alphabet a.active-letter{background:#1672b8;color:#fff}.print-count{display:inline-block;margin-left:.45rem;font-weight:800;color:#4e6474}.icon-action{display:inline-flex;align-items:center;justify-content:center;min-width:2.2rem;height:2.2rem;padding:.35rem .5rem;border-radius:8px;background:#e8f0f6;color:#164769;font-size:1.15rem;font-weight:800;text-decoration:none}.icon-action:hover{background:#d5e5ef;text-decoration:none}.icon-action.danger{border:0;background:#fde5e5;color:#b42318;cursor:pointer}.print-action{background:#1672b8!important;color:#fff!important;white-space:nowrap}.actions form.inline{display:inline-flex;margin:0}.brand-logo{display:inline-flex;align-items:center;height:42px;flex:0 0 auto}.brand-logo img{display:block;width:auto;height:34px;max-width:150px}.auth-logo{display:block;width:auto;height:64px;max-width:100%;margin:0 auto 1rem}
.participant-head{text-align:center;margin-bottom:1.25rem}.participant-title{margin:0;line-height:1.15;overflow-wrap:anywhere}.alphabet-new{display:inline-flex;align-items:center;justify-content:center;min-width:1.8rem;padding:.35rem .55rem;border-radius:7px;background:#1672b8!important;color:#fff!important;font-size:1rem;font-weight:900;line-height:1;text-decoration:none}.alphabet-new:hover{background:#0f5d99!important;text-decoration:none}
.compact-popover{position:relative;display:inline-block}.compact-popover>summary{list-style:none}.compact-popover>summary::-webkit-details-marker{display:none}.compact-form{position:absolute;right:0;top:calc(100% + .4rem);z-index:400;width:260px;padding:.8rem;background:#fff;border:1px solid #d6e0e8;border-radius:10px;box-shadow:0 8px 24px #07182333}.compact-form label{display:block;margin:.45rem 0;font-size:.8rem;font-weight:700}.compact-form input{padding:.5rem;margin-top:.25rem}.status-action{padding:.45rem .6rem;background:transparent;color:#52697a;font-size:.78rem;font-weight:700}.checkbox-field{display:flex;align-items:center;gap:.5rem}.checkbox-field input{display:inline-block;width:auto;margin:0}
.access-actions{margin-bottom:1rem}.access-remove{background:#fff1f1;color:#a52a2a;border:0}.access-remove:hover{background:#ffdede}
.custom-fields-panel{margin-bottom:1.25rem}.custom-field-form{display:grid;grid-template-columns:2fr 1fr 1fr;gap:.75rem;align-items:end}.custom-field-form .custom-options{grid-column:1/-1}.custom-field-form .checkbox-field{margin:0;display:flex;align-items:center;gap:.4rem;font-weight:700}.custom-field-form .checkbox-field input{display:inline-block;width:auto;margin:0}.order-field{max-width:140px}.options-list{display:grid;gap:.5rem;margin-bottom:.6rem}.option-row{display:flex;gap:.5rem;align-items:center}.option-row input{margin:0}.option-row .icon-action{flex:0 0 2.2rem}.custom-field-edit{max-width:760px;margin:.5rem 0}.custom-field-edit summary{cursor:pointer;color:#1261a0;font-weight:800}.custom-field-edit .card{margin-top:.75rem}@media(max-width:800px){.custom-field-form{grid-template-columns:1fr}.custom-field-form .custom-options{grid-column:auto}}.label-slots{display:grid;gap:.75rem}.label-slot-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:.75rem;align-items:end}.label-slot-row .field{margin:0}.slot-size{max-width:120px}.preview-label,.thermal-label{display:grid!important;grid-template-rows:repeat(4,minmax(0,1fr));gap:0!important;align-items:stretch!important;justify-items:center}.preview-label span,.thermal-label span{grid-column:1;display:flex;align-items:center;justify-content:center;width:100%;min-height:0}.preview-label span[data-visible="false"],.thermal-label span[data-visible="false"]{visibility:hidden}.preview-label .preview-primary,.preview-label .preview-secondary,.thermal-label .thermal-primary,.thermal-label .thermal-secondary{font-size:var(--slot-font-size,12px);line-height:1.05}.preview-label span:nth-child(1),.thermal-label span:nth-child(1){grid-row:1}.preview-label span:nth-child(2),.thermal-label span:nth-child(2){grid-row:2}.preview-label span:nth-child(3),.thermal-label span:nth-child(3){grid-row:3}.preview-label span:nth-child(4),.thermal-label span:nth-child(4){grid-row:4}
/* Ajustes finais das telas operacionais */
.auth-card{text-align:center}.auth-card form{text-align:left}.auth-card .full{width:100%}
.mapping-options{margin-top:1rem}.mapping-options legend{font-weight:800}.mapping-help{color:#637483;margin-top:0}.mapping-table select{min-width:230px}.mapping-actions{justify-content:flex-end;margin-top:1rem}.mapping-cancel-form{display:flex;justify-content:flex-end;margin-top:.65rem}
.participant-table{table-layout:fixed}.participant-table th:nth-child(2),.participant-table td:nth-child(2){width:115px}.participant-table th:nth-child(3),.participant-table td:nth-child(3){width:205px}.participant-cell{white-space:normal;overflow-wrap:anywhere}.participant-meta-secondary{font-size:.78rem}.participant-actions-cell{white-space:nowrap}.participant-actions-cell .actions{flex-wrap:nowrap}.system-users-table .user-events-summary{max-width:220px;white-space:normal;line-height:1.3}.user-events-fieldset{margin:1rem 0}.user-events-fieldset.global-role .user-event-options{opacity:.5}.user-event-options{display:grid;gap:.5rem}.user-event-options .checkbox-field{margin:0}
.participant-table .participant-status-col{width:110px}.participant-table .participant-actions-col{width:245px}.participant-actions-cell .actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:.4rem}.participant-actions-cell .print-action{padding:.65rem .75rem}@media(max-width:800px){.participant-table .participant-actions-col{width:225px}.participant-actions-cell .actions{gap:.3rem}.participant-actions-cell .print-action{padding:.55rem .6rem}.participant-actions-cell .icon-action{min-width:2rem;padding:.3rem .4rem}}

.password-dialog{width:min(420px,92vw);max-width:92vw;border:0;border-radius:14px;padding:0;box-shadow:0 20px 70px #07182355}.password-dialog::backdrop{background:#07182399}.password-dialog form{padding:1.4rem;background:#fff}.password-dialog h2{margin:0 0 .35rem}.password-dialog-user{margin:.25rem 0 1rem;color:#637483;font-weight:800}.password-dialog-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1rem}.password-dialog-actions .secondary{border:0}.password-reset-trigger{border:0;cursor:pointer}

.participant-table .participant-actions-col{width:270px}.participant-actions-cell .actions{gap:.35rem}.participant-actions-cell .preview-action{padding:.65rem .7rem;white-space:nowrap}.participant-search-form{margin-top:.75rem}.participant-search-form .search-box{min-width:0;width:100%}@media(max-width:800px){.participant-table .participant-actions-col{width:255px}.participant-actions-cell .preview-action{padding:.55rem .55rem}.participant-actions-cell .actions{gap:.25rem}}
.operation-status strong{display:inline-block;margin:.25rem 0;color:#1672b8;font-size:1.15rem}.operation-status form{margin-top:1rem}.operation-note{max-width:520px}.operation-summary{margin-top:1.25rem}.operation-daily{margin-top:1rem}
.participant-actions-cell .icon-action svg{width:1.05rem;height:1.05rem;display:block;flex:0 0 auto}.participant-actions-cell .print-action{background:#1672b8!important;color:#fff!important}
.participant-edit-link{color:inherit;text-decoration:none;cursor:pointer}.participant-edit-link:hover{color:#1261a0;text-decoration:underline}.participant-actions-cell .preview-action{height:2.2rem;padding:0 .55rem;border-radius:8px;font-size:.82rem;line-height:1;white-space:nowrap}
.participant-record-meta{margin:.25rem 0 1rem;color:#637483;font-size:.82rem}.participant-record-meta strong{color:#304454}
.participant-select-label,.participant-select-row{display:flex;align-items:center;gap:.45rem}.participant-select-label{white-space:nowrap}.participant-select-row{display:flex;align-items:flex-start}.participant-select-row input,.participant-select-label input{width:auto;margin:.18rem 0 0;flex:0 0 auto}.participant-select-row .participant-edit-link{min-width:0}.participant-meta-indent{margin-left:1.7rem}.batch-print-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem;padding:.65rem .8rem;background:#e8f0f6;border:1px solid #cbd7e1;border-radius:9px}.batch-print-button{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem .8rem}.batch-print-button svg{width:1.05rem;height:1.05rem}.batch-print-bar[hidden]{display:none} .category-actions-cell{white-space:nowrap}.category-actions{display:flex;align-items:center;gap:.35rem;flex-wrap:nowrap}.category-actions .inline{display:inline-flex;margin:0}.category-delete-action{min-width:2.2rem;width:2.2rem;height:2.2rem;padding:.35rem;background:#fde5e5;color:#b42318;border:0}.category-delete-action svg{width:1.05rem;height:1.05rem;display:block}@media(max-width:700px){.category-actions .button.secondary{padding:.55rem .65rem;font-size:.82rem}.category-delete-action{min-width:2rem;width:2rem;height:2rem}}
 .custom-field-actions{white-space:nowrap}.custom-field-actions .inline{display:inline-flex;margin:0}.custom-field-edit-dialog{width:min(620px,92vw);max-width:92vw;border:0;border-radius:14px;padding:0;box-shadow:0 20px 70px #07182355}.custom-field-edit-dialog::backdrop{background:#07182399}.custom-field-edit-dialog .card{margin:0;padding:1.4rem}.custom-field-edit-dialog .custom-field-form{display:grid}.custom-field-edit-dialog h2{margin:0}.custom-field-dialog-actions{display:flex;justify-content:flex-end;gap:.6rem}.custom-field-dialog-actions .secondary{border:0}
 .custom-field-edit-dialog .custom-field-form{grid-template-columns:2fr 1fr}.custom-field-edit-dialog h2,.custom-field-edit-dialog .custom-options,.custom-field-dialog-actions{grid-column:1/-1}

.custom-field-textarea{width:100%;min-height:6rem;resize:vertical;white-space:pre-wrap;overflow-wrap:break-word;overflow-x:hidden}
.gate-body{background:#f4f7fb}.gate-header{min-height:64px;display:flex;align-items:center;gap:.9rem;padding:.75rem 4vw;background:#102536;color:#fff}.gate-header .brand{margin-right:auto}.gate-header a{color:#dbeafe}.gate-container{width:min(720px,92vw);margin:0 auto;padding:1.25rem 0 3rem}.gate-title h1{margin:.2rem 0 1rem;font-size:clamp(1.35rem,5vw,2rem)}.gate-panel,.gate-participant{background:#fff;border:1px solid #e0e8ef;border-radius:14px;padding:1rem;margin-bottom:.9rem;box-shadow:0 5px 16px #1c405d0d}.gate-search{display:grid;gap:.7rem}.gate-search label{font-weight:800;color:#304454}.gate-search input,.gate-search select{min-height:3rem;font-size:1rem}.gate-search button,.gate-participant button{min-height:3rem;width:100%}.gate-participant{display:flex;align-items:center;justify-content:space-between;gap:1rem}.gate-participant>div{min-width:0}.gate-participant strong,.gate-participant span,.gate-participant small{display:block}.gate-participant strong{font-size:1.05rem;overflow-wrap:anywhere}.gate-participant span{color:#637483;margin-top:.2rem}.gate-participant small{color:#718390;margin-top:.2rem}.gate-participant form{flex:0 0 12rem}.gate-success{display:grid;gap:.2rem;background:#dff5e8;color:#146c3a;border:1px solid #a9ddbc;border-radius:12px;padding:1rem;margin-bottom:1rem}.gate-recent-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.gate-recent-head h2{font-size:1rem;margin:0}.gate-recent-head strong{color:#1672b8}.gate-recent-head small{display:block;color:#637483;font-weight:600;font-size:.7rem}.gate-recent{list-style:none;padding:0;margin:.75rem 0 0}.gate-recent li{display:flex;gap:.75rem;padding:.65rem 0;border-top:1px solid #e7edf2}.gate-recent time{color:#1672b8;font-weight:800;min-width:3.1rem}.module-toggle{display:grid;gap:1rem}.module-links{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:0}@media(max-width:600px){.gate-header{flex-wrap:wrap}.gate-header .brand{width:100%;margin-right:0}.gate-participant{display:block}.gate-participant form{margin-top:.9rem}.gate-container{width:min(430px,92vw)}.gate-search button{width:100%}}
/* Portaria mobile: layout operacional isolado */
.portaria-page{min-height:100vh;background:#f4f7fb;overflow-x:hidden}
.portaria-header{display:block;min-height:0;padding:18px 20px 16px;background:#102536;color:#fff}
.portaria-logo{display:flex;width:130px;height:auto;margin:0 0 18px;align-items:center}
.portaria-logo img{display:block;width:120px;height:auto;max-width:100%;max-height:34px;object-fit:contain}
.portaria-navigation{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%}
.portaria-navigation a,.portaria-navigation button{color:#fff}
.portaria-navigation .gate-back{font-size:.95rem;font-weight:800;white-space:nowrap}
.portaria-logout{padding:.35rem 0;background:transparent;color:#fff;font-size:.82rem;letter-spacing:.06em;white-space:nowrap}
.portaria-container{width:min(480px,100%);max-width:480px;margin:0 auto;padding:20px 16px 32px}
.portaria-title{margin:0 0 18px}
.portaria-title .eyebrow{font-size:.78rem;color:#637483}
.portaria-title h1{margin:3px 0 0;max-width:100%;font-size:clamp(1.5rem,6vw,1.75rem);line-height:1.15;overflow-wrap:anywhere}
.portaria-card,.portaria-operation-card,.portaria-entries-card,.portaria-participant-card{background:#fff;border:1px solid #e0e8ef;border-radius:13px;box-shadow:0 4px 14px #1c405d0d}
.portaria-success{gap:4px;padding:16px;margin:0 0 14px;border-radius:13px}
.portaria-success strong{color:#146c3a;font-size:1rem}
.portaria-success span{font-size:.95rem}
.portaria-operation-card{padding:16px;margin:0 0 14px}
.portaria-search-form{display:grid;gap:12px}
.portaria-search-form label{display:block;margin:0;color:#304454;font-size:16px;font-weight:800}
.portaria-search-form input,.portaria-search-form select{height:50px;min-height:50px;margin-top:6px;padding:.7rem .8rem;font-size:16px;border-radius:9px}
.portaria-search-form button{width:100%;height:50px;min-height:50px;border-radius:9px}
.portaria-participant-card{display:block;padding:16px;margin:0 0 14px}
.portaria-participant-card strong{font-size:1.1rem;overflow-wrap:anywhere}
.portaria-participant-card span,.portaria-participant-card small{display:block;margin-top:3px;color:#637483}
.portaria-participant-card form{margin-top:14px}
.portaria-participant-card button{width:100%;min-height:50px;border-radius:9px}
.portaria-entries-card{padding:16px;margin:0}
.portaria-entries-head{align-items:flex-start}
.portaria-entries-head h2{font-size:1rem;letter-spacing:.02em}
.portaria-entries-head strong{font-size:1.25rem;text-align:right;line-height:1.05}
.portaria-entries-head small{max-width:82px;margin-top:3px;font-size:.68rem;line-height:1.15;text-align:right}
.portaria-recent-list{margin-top:12px}
.portaria-recent-list li{align-items:center;min-height:44px;padding:10px 0}
.portaria-recent-list time{font-size:1rem}
.portaria-recent-list span{font-size:.95rem;overflow-wrap:anywhere}
@media (min-width:601px){.portaria-header{padding-left:max(20px,calc((100% - 480px)/2));padding-right:max(20px,calc((100% - 480px)/2))}}

/* Usuários do evento: apresentação compacta e dialogs */
.event-access-toolbar{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1rem}
.event-access-panel{margin-top:0}
.event-access-table th:last-child,.event-access-table td:last-child{width:1%;white-space:nowrap}
.event-access-actions{display:flex;align-items:center;gap:.35rem;flex-wrap:nowrap}
.event-access-dialog{width:min(620px,92vw);max-width:92vw}
.event-access-dialog-content{padding:1.4rem}
.event-access-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.event-access-search-form{display:flex;align-items:end;gap:.6rem;margin:1rem 0}
.event-access-search-form .field{flex:1;margin:0}
.event-access-search-results{display:grid;gap:.55rem;margin-top:1rem;max-height:42vh;overflow:auto}
.event-access-result{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem;border:1px solid #d6e0e8;border-radius:8px}
.event-access-result strong,.event-access-result span{display:block}
.event-access-result span{margin-top:.2rem;color:#637483;font-size:.85rem}
.event-access-result form{margin:0}
@media(max-width:700px){
  .event-access-toolbar{display:grid;grid-template-columns:1fr}
  .event-access-toolbar .button{width:100%}
  .event-access-form-grid{grid-template-columns:1fr}
  .event-access-search-form{display:grid;grid-template-columns:1fr}
  .event-access-search-form button{width:100%}
  .event-access-result{align-items:stretch;flex-direction:column}
  .event-access-result button{width:100%}
}


.participant-activity{margin:1rem 0;padding:1rem}.participant-activity h2{margin-top:0}.participant-activity-point{display:grid;gap:.25rem;padding:.7rem 0;border-top:1px solid #e3eaf0}.participant-activity-point:first-of-type{border-top:0}.participant-activity-point strong{color:#243746}.participant-activity-point span{color:#52697a;font-size:.9rem}.participant-activity-point details{margin-top:.3rem}.participant-activity-point summary{cursor:pointer;color:#1261a0;font-weight:700;font-size:.82rem}


.import-tabs,.user-tabs{display:flex;gap:.35rem;flex-wrap:wrap;margin:0 0 1rem;border-bottom:1px solid #d6e0e8}.import-tabs a,.user-tabs a{padding:.7rem .9rem;color:#52697a;text-decoration:none;font-weight:800}.import-tabs a.active,.user-tabs a.active{color:#1261a0;border-bottom:3px solid #1261a0}.import-section form{max-width:520px}.import-section[hidden]{display:none}.user-tabs{margin-top:.5rem}

