.app-feedback-layer{position:fixed;z-index:12000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(19,32,45,.48);backdrop-filter:blur(2px);animation:app-feedback-layer-in .18s ease-out}.app-feedback-card{--feedback:#348fe2;width:min(430px,100%);overflow:hidden;border:1px solid rgba(255,255,255,.75);border-radius:15px;background:#fff;box-shadow:0 22px 65px rgba(18,38,58,.3);animation:app-feedback-card-in .2s ease-out}.app-feedback-card.success{--feedback:#18b394}.app-feedback-card.warning{--feedback:#f39c12}.app-feedback-card.error{--feedback:#dc3545}.app-feedback-head{display:flex;align-items:center;gap:13px;padding:20px 22px 15px}.app-feedback-main-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:color-mix(in srgb,var(--feedback) 12%,white);color:var(--feedback);font-size:19px}.app-feedback-heading{min-width:0}.app-feedback-heading strong{display:block;color:#263f55;font-size:17px;line-height:1.25}.app-feedback-heading p{margin:3px 0 0;color:#718394;font-size:11px;line-height:1.45}.app-feedback-heading p .app-feedback-highlight{display:inline;color:#34495e;font-size:inherit;font-weight:800;line-height:inherit}.app-feedback-close{align-self:flex-start;margin-left:auto;width:27px;height:27px;border:0;border-radius:50%;background:transparent;color:#96a4af}.app-feedback-close:hover{background:#f0f3f5;color:#34495e}.app-feedback-steps{display:grid;grid-template-columns:repeat(3,1fr);padding:8px 20px 22px}.app-feedback-step{position:relative;display:grid;justify-items:center;gap:7px;color:#8b9aa6;font-size:10px;font-weight:700;text-align:center}.app-feedback-step:before{content:'';position:absolute;z-index:0;top:13px;right:50%;left:-50%;height:2px;background:#e1e8ed}.app-feedback-step:first-child:before{display:none}.app-feedback-step span{position:relative;z-index:1;display:grid;place-items:center;width:28px;height:28px;border:2px solid #dce5eb;border-radius:50%;background:#fff;color:#9aa9b5}.app-feedback-card.loading .app-feedback-step span{animation:app-feedback-step-pulse 2.4s ease-in-out infinite}.app-feedback-card.loading .app-feedback-step:nth-child(2) span{animation-delay:.8s}.app-feedback-card.loading .app-feedback-step:nth-child(3) span{animation-delay:1.6s}.app-feedback-card.loading .app-feedback-step:nth-child(2):before{animation:app-feedback-line-fill 2.4s ease-in-out infinite}.app-feedback-card.loading .app-feedback-step:nth-child(3):before{animation:app-feedback-line-fill 2.4s .8s ease-in-out infinite}.app-feedback-result{display:flex;align-items:center;gap:9px;margin:0 22px 20px;padding:11px 13px;border-radius:9px;background:color-mix(in srgb,var(--feedback) 8%,white);color:#52697b;font-size:11px}.app-feedback-result i{color:var(--feedback)}.app-feedback-actions{display:flex;justify-content:center;align-items:center;gap:10px;padding:0 22px 20px}.app-feedback-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-width:108px;font-weight:700}.app-feedback-actions .btn-light{border:1px solid #d5dde3;background:#f7f9fa;color:#52697b}.app-feedback-actions .btn-light:hover{background:#edf1f4;color:#34495e}@keyframes app-feedback-layer-in{from{opacity:0}to{opacity:1}}@keyframes app-feedback-card-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes app-feedback-step-pulse{0%,25%,100%{border-color:#dce5eb;background:#fff;color:#9aa9b5}35%,60%{border-color:var(--feedback);background:var(--feedback);color:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--feedback) 13%,transparent)}}@keyframes app-feedback-line-fill{0%,30%,100%{background:#e1e8ed}45%,70%{background:var(--feedback)}}@media(max-width:575px){.app-feedback-layer{padding:14px}.app-feedback-head{padding:18px 18px 14px}.app-feedback-result{margin:0 18px 18px}.app-feedback-actions{padding:0 18px 18px}}@media(prefers-reduced-motion:reduce){.app-feedback-layer,.app-feedback-card,.app-feedback-step span,.app-feedback-step:before{animation:none!important}}
/* Compacta o feedback e impede herança de altura de layouts da página. */
body #app-feedback-layer{grid-template-rows:max-content!important;align-content:center!important;align-items:center!important}
body #app-feedback-layer > .app-feedback-card{display:block!important;height:auto!important;min-height:0!important;max-height:calc(100vh - 40px)!important;align-self:center!important}
/* Exports use the same centered, blurred feedback as the rest of the system. */
body #app-feedback-layer.app-feedback-toast{inset:0;display:grid;place-items:center;width:100%;height:100%;max-width:none;max-height:none;box-sizing:border-box;margin:0;padding:20px;border:0;background:rgba(19,32,45,.48);backdrop-filter:blur(2px);overflow:auto;color:inherit;pointer-events:auto}
body #app-feedback-layer.app-feedback-toast>.app-feedback-card{width:min(430px,100%);pointer-events:auto}
@media(max-width:575px){body #app-feedback-layer.app-feedback-toast{padding:14px}}

/* Project-wide cancellation action: red, legible and identifiable. */
body .btn.app-btn-cancel,body .swal2-cancel,body .swal-button--cancel{background:#b42318!important;border-color:#b42318!important;color:#fff!important;font-weight:600}
body .btn.app-btn-cancel:hover,body .swal2-cancel:hover,body .swal-button--cancel:hover{background:#912018!important;border-color:#912018!important;color:#fff!important}
body .btn.app-btn-cancel:focus-visible,body .swal2-cancel:focus-visible,body .swal-button--cancel:focus-visible{outline:3px solid #f6a69e!important;outline-offset:3px;box-shadow:none}
body .swal2-cancel:before,body .swal-button--cancel:before{content:'\00d7';display:inline-block;margin-right:6px;font-size:1.2em;font-weight:700;line-height:1}
