.fa-dialog,.fa-agenda-page{font-family:Roboto,'Segoe UI',Arial,sans-serif;color:#e9edef;color-scheme:dark;font-size:15px}
.fa-dialog{padding:22px;border:1px solid #344247;border-radius:18px;background:#172126;width:min(540px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;box-sizing:border-box;box-shadow:0 18px 60px #0008;z-index:20000}.fa-dialog::backdrop{background:#0009}.fa-wide{width:min(1200px,calc(100vw - 24px))}
.fa-dialog header,.fa-agenda-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.fa-dialog h2{font-size:20px;margin:0}.fa-dialog h1{font-size:22px;margin:0}.fa-dialog header>button{font-size:24px;background:transparent}
.fa-dialog button,.fa-agenda-page button{border:1px solid #3a494e;background:#27363b;color:#e9edef;border-radius:9px;padding:9px 13px;cursor:pointer;font:inherit;min-height:40px}.fa-dialog button:disabled,.fa-agenda-page button:disabled{opacity:.45;cursor:wait}.fa-dialog input,.fa-dialog textarea,.fa-dialog select,.fa-agenda-page input,.fa-agenda-page select{font:inherit;border:1px solid #4c5c61;border-radius:8px;background:#101a1e;color:#e9edef;padding:10px;min-width:0;box-sizing:border-box;width:100%}.fa-dialog input:focus,.fa-dialog textarea:focus,.fa-dialog select:focus,.fa-agenda-page input:focus,.fa-agenda-page select:focus{outline:2px solid #21c063;outline-offset:1px}
.fa-form{display:flex;flex-direction:column;gap:14px}.fa-field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#aebdc2}.fa-field input,.fa-field textarea{font-size:15px}.fa-field[hidden]{display:none}.fa-check{display:flex;gap:10px;align-items:center}.fa-check input{width:auto}.fa-dialog .fa-primary,.fa-agenda-page .fa-primary{background:#21c063;color:#072416;border-color:#21c063;font-weight:600}.fa-dialog .fa-danger,.fa-agenda-page .fa-danger{color:#ffb0b0;background:#532a2d;border-color:#754144}.fa-secondary{margin-top:10px;margin-right:6px}.fa-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#202c2e;padding:12px;border-radius:10px;color:#bac8cb}.fa-reactions{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.fa-reactions button{font-size:24px;padding:7px 10px}.fa-reactions button:last-child{font-size:14px}.fa-reactions input{width:140px}.fa-error{color:#ffb4b4!important;white-space:pre-wrap}.fa-file-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:5px 0;font-size:13px}.fa-dialog small,.fa-agenda-page small{display:block;color:#a7b7bc;font-size:12px;line-height:1.5}
[id^=message]:has(>.fa-message-menu){position:relative}.fa-message-menu{position:absolute;top:2px;right:2px;width:28px;height:28px;min-height:28px!important;border:0;border-radius:50%;color:#c3d2d5;background:#142126de;cursor:pointer;z-index:3;font-size:20px;line-height:24px;opacity:.6}.fa-message-menu:hover,.fa-message-menu:focus{opacity:1;background:#34454b}.fa-reaction-badge{display:block;margin:3px 0 0 auto;background:#213139;border:1px solid #536369;color:#fff;font-size:16px;border-radius:16px;padding:1px 8px;cursor:pointer}.fa-deleted{background:#653535!important;border:1px solid #a35b5b!important}.fa-deleted-note{font-size:11px;color:#ffc0c0;text-align:right;margin-top:3px}.fa-schedule{display:flex;gap:6px}.fa-schedule button{color:#b9d3d5;font-size:12px;border:1px solid #465c63;border-radius:7px;padding:6px 8px;background:#233238;cursor:pointer}.fa-central-link{position:fixed;left:12px;bottom:110px;width:40px;height:40px;display:grid;place-items:center;z-index:95;border-radius:12px;color:#21c063;background:#202c2e;border:1px solid #435359;font-size:26px;text-decoration:none}
.fa-agenda-page{margin:0;background:#0b1013}.fa-agenda-page main{max-width:1500px;margin:auto;padding:32px 28px}.fa-agenda-title h1{font-size:28px;margin:0}.fa-agenda-title a,.fa-job a{color:#7cdbc6;text-decoration:none}.fa-filters{display:grid;grid-template-columns:2fr repeat(6,minmax(100px,1fr));gap:12px;padding:18px 0;border-top:1px solid #344247;border-bottom:1px solid #344247}.fa-count{font-size:13px;color:#a7b7bc}.fa-job{display:grid;grid-template-columns:155px 180px minmax(150px,1fr) 150px 145px;gap:16px;align-items:start;padding:20px 4px;border-bottom:1px solid #2e3e44}.fa-job p{margin:0 0 7px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:130px;overflow:auto}.fa-when strong{font-size:14px}.fa-job-actions{display:flex;gap:6px;flex-wrap:wrap}.fa-job-actions button{padding:7px 10px;font-size:12px}.fa-status{display:inline-block;border-radius:20px;padding:4px 9px;font-size:12px;background:#32464c;color:#d6e1e4}.fa-status-sent,.fa-status-completed{background:#124531;color:#98efbc}.fa-status-failed,.fa-status-uncertain{background:#5d3030;color:#ffc4c4}.fa-status-cancelled{background:#34383b;color:#b5bec3}.fa-pagination{display:flex;gap:8px;justify-content:flex-end;margin:18px 0}.fa-empty{padding:50px 15px;text-align:center;color:#a7b7bc}
@media(max-width:1000px){.fa-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.fa-job{grid-template-columns:140px 1fr 1fr}.fa-job-content{grid-column:2/4}.fa-job-actions{grid-column:3}.fa-schedule{flex-direction:column}}
@media(max-width:767px){.fa-central-link{display:none}.fa-schedule{display:flex!important;flex-direction:column;width:100%}.fa-schedule button{text-align:left;font-size:14px;padding:10px;background:transparent;border:0}.fa-dialog{padding:16px;max-height:94dvh;width:calc(100vw - 16px);max-width:calc(100vw - 16px)}.fa-agenda-page main{padding:20px 14px}.fa-agenda-title{align-items:flex-start;flex-direction:column}.fa-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fa-filters>.fa-field:first-child{grid-column:1/-1}.fa-job{grid-template-columns:1fr 1fr;gap:12px;padding:20px 0}.fa-job-content{grid-column:1/-1}.fa-job-actions{grid-column:2;justify-content:flex-end}.fa-message-menu{width:30px;height:30px;opacity:.85}.fa-reactions button{min-width:44px;min-height:44px}.fa-dialog .fa-reactions input{flex:1}.fa-reaction-badge{min-height:28px}}

/* Scoped WhatsApp-inspired message actions and media picker. */
.fp-picker,.fm-message-dialog{background:#202c33!important;color:#e9edef!important;box-shadow:0 8px 32px #0006;border:1px solid #ffffff0d!important;border-radius:14px!important;font:14px/1.4 Arial,sans-serif}
.fp-picker{position:fixed;z-index:10050;height:410px;max-height:75vh;display:flex;flex-direction:column;overflow:hidden}
.fp-picker header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#202c33}
.fp-picker button,.fm-message-dialog button{cursor:pointer;color:inherit;border:0;background:transparent}
.fp-picker header>button,.fp-tabs button{min-height:40px;min-width:48px;border-radius:22px;font-size:20px}
.fp-tabs{display:flex;gap:4px}.fp-tabs button[aria-selected=true]{background:#00a88430;color:#53d5b3}.fp-tabs button:nth-child(2){font-size:14px;font-weight:700}
.fp-search{width:calc(100% - 24px)!important;margin:2px 12px 10px!important;box-sizing:border-box!important;border:1px solid #ffffff12!important;background:#111b21!important;color:#e9edef!important;border-radius:22px!important;padding:10px 14px!important;height:40px!important;flex-shrink:0}
.fp-search:focus{outline:1px solid #00a884!important}.fp-emoji-panel,.fm-reaction-picker{min-height:0;display:flex;flex-direction:column;flex:1;overflow:hidden}
.fp-categories{display:flex;padding:0 8px;overflow-x:auto;flex-shrink:0}.fp-categories button{min-width:38px;height:38px;font-size:21px}
.fp-emojis{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:0 10px 10px}.fp-emojis h3{color:#aebac1;font-size:12px;font-weight:400;margin:8px 4px}.fp-emojis section>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:3px}
.fp-emoji{height:38px;font-size:27px!important;display:grid;place-items:center;background:transparent!important;border:0!important;padding:0!important;border-radius:7px!important;cursor:pointer;line-height:1!important}.fp-emoji:hover,.fp-media:hover{background:#ffffff12!important}
.fp-media-grid{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:max-content;align-items:start;align-content:start;gap:6px;padding:4px 12px}
.fp-media{padding:2px;aspect-ratio:1;border-radius:8px;overflow:hidden}.fp-media img,.fp-media video{width:100%;height:100%;object-fit:contain}.fp-empty{grid-column:1/-1;color:#aebac1;text-align:center;padding:30px 12px;font-size:13px}
.fp-picker footer{display:flex;align-items:center;gap:4px;padding:7px 10px;flex-shrink:0;border-top:1px solid #ffffff0a}.fp-picker footer button{padding:8px;border-radius:8px;font-size:12px}.fp-picker footer button[aria-pressed=true]{background:#00a88430}.fp-picker footer button:last-child{margin-left:auto;color:#53d5b3}.fp-picker footer small{color:#aebac1;font-size:11px}
.fp-preview:empty{display:none}.fp-preview{display:flex;align-items:center;gap:10px;padding:8px 12px;border-top:1px solid #ffffff15;background:#111b21}.fp-preview img,.fp-preview video{width:64px;height:64px;object-fit:contain}.fp-preview button{padding:8px;border-radius:8px}.fp-preview .fp-send{background:#00a884;color:white;margin-left:auto}
.fm-message-dialog{position:fixed!important;margin:0!important;padding:6px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto}
.fm-message-dialog::backdrop{background:transparent!important}.fm-message-dialog>header{display:none}.fm-quick-reactions{display:flex;border-bottom:1px solid #ffffff12;padding:3px 0 7px;gap:1px;justify-content:space-around}.fm-quick-reactions button{min-width:38px;height:42px;font-size:26px;border-radius:50%;padding:0}.fm-quick-reactions button:last-child{background:#ffffff12;font:28px Arial;color:#aebac1}.fm-quick-reactions button:hover{background:#ffffff15;transform:scale(1.1)}
.fm-message-options{padding:5px 0}.fm-message-options button{display:block;width:100%;text-align:left;padding:12px 18px;font-size:14px}.fm-message-options button:hover{background:#ffffff0a}.fm-reaction-picker{height:350px}
.fm-recipients{max-width:520px!important}.fm-recipient-list{max-height:45vh;overflow-y:auto}.fm-recipient{display:flex;align-items:center;gap:14px;padding:12px;border-bottom:1px solid #ffffff0a;cursor:pointer}.fm-recipient input{accent-color:#00a884;width:20px;height:20px}.fm-recipient span{display:flex;flex-direction:column;min-width:0}.fm-recipient small{color:#aebac1}.fm-target-summary{font-size:12px;color:#aebac1;overflow-wrap:anywhere;padding:0 12px}
.fm-forward-bar{display:flex;align-items:center;gap:18px;background:#202c33;padding:12px 18px;color:#e9edef;z-index:25}.fm-forward-bar button{background:transparent;border:0;color:#53d5b3;padding:8px;font-size:16px;cursor:pointer}.fm-forward-bar button:last-child{margin-left:auto}.fm-selecting .resizable-editor-wrapper{display:none!important}.fm-message-check{accent-color:#00a884;width:22px!important;height:22px!important;position:absolute;left:8px;top:12px;z-index:8;cursor:pointer}.fm-selected{background:#00a8841a!important}.fm-selecting [id^=message]{position:relative}.fm-selecting .fa-message-menu{display:none!important}
.fm-forwarded-label{display:block;color:#aebac1;font-size:11px;font-style:italic;margin-bottom:4px}.fm-reaction-event{display:none!important}
body.flychat-wa .fm-sticker-message .left-bubble,body.flychat-wa .fm-sticker-message .right-bubble{background:transparent!important;box-shadow:none!important;padding:2px!important;overflow:visible!important}
body.flychat-wa .fm-sticker-message [data-bubble-name=image]>div>img{max-width:180px!important;max-height:180px!important;width:auto!important;height:auto!important;object-fit:contain!important}
body.flychat-wa .fm-sticker-message time{background:#111b21a0;border-radius:5px;padding:3px;color:#aebac1}
.fm-native-reactions{position:relative;align-self:flex-end;border:1px solid #34454e;border-radius:14px;padding:2px 7px;background:#202c33;color:#e9edef;font-size:15px;cursor:pointer;min-height:26px;margin:0 24px 0 -30px;z-index:4}
.fm-gif-attachment{width:220px!important;height:auto!important;max-width:100%!important;contain:none!important;overflow:hidden!important}.fm-gif-attachment>:not(.fm-native-gif){display:none!important}.fm-native-gif{display:block!important;width:100%!important;height:auto!important;border:0!important;padding:0!important;background:transparent!important;cursor:pointer}.fm-native-gif img{display:block!important;width:100%!important;height:auto!important;max-height:260px!important;object-fit:contain!important;border-radius:8px}.fm-gif-large{display:block;max-height:70dvh;max-width:100%;margin:auto;object-fit:contain}
body.flychat-wa .ff-compose-more{margin-left:10px!important;margin-right:10px!important;width:36px!important;min-width:36px!important;height:38px!important;border-radius:20px}
@media(min-width:768px){html:has(#flyup-popup-css) body.flychat-wa .reply-box:has(>.ff-compose-more)>.ff-compose-more{position:absolute!important;left:142px!important;bottom:26px!important;right:auto!important;margin:0!important;z-index:10!important}}
@media(max-width:767px){
 html body.flychat-wa.mc-enabled .reply-box:has(>.ff-compose-more):not(.fx-recording){grid-template-columns:36px 34px minmax(0,1fr) 30px 30px 48px!important;column-gap:3px!important;row-gap:0!important}
 html body.flychat-wa.mc-enabled .reply-box:has(>.ff-compose-more):not(.fx-recording)>.mc-emoji{grid-column:1!important;grid-row:1!important;width:36px!important}
 html body.flychat-wa.mc-enabled .reply-box:has(>.ff-compose-more):not(.fx-recording)>.ff-compose-more{grid-column:2!important;grid-row:1!important;position:relative!important;left:auto!important;bottom:auto!important;margin:0!important;width:34px!important;min-width:34px!important;height:52px!important;align-self:end!important}
 html body.flychat-wa.mc-enabled .reply-box:has(>.ff-compose-more):not(.fx-recording)>.reply-box__top{grid-column:3!important;grid-row:1!important}
 html body.flychat-wa.mc-enabled .reply-box:has(>.ff-compose-more):not(.fx-recording)>.mc-attach{grid-column:4!important;grid-row:1!important;width:30px!important}
 html body.flychat-wa.mc-enabled .reply-box:has(>.ff-compose-more):not(.fx-recording)>.mc-camera-button{grid-column:5!important;grid-row:1!important;width:30px!important}
 html body.flychat-wa.mc-enabled .reply-box:has(>.ff-compose-more):not(.fx-recording) .left-wrap>button[aria-label="Mensagem de voz"],html body.flychat-wa.mc-enabled .reply-box:has(>.ff-compose-more):not(.fx-recording) .right-wrap button:not(:disabled){grid-column:6!important;grid-row:1!important}
 .fp-picker{position:relative!important;left:auto!important;bottom:auto!important;width:100%!important;height:min(310px,44dvh);max-height:44dvh;flex-shrink:0;border-radius:0!important;z-index:60}
 .fp-picker .fp-media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fp-picker .fp-emoji{height:36px;font-size:26px!important}.fp-categories button{min-width:34px;height:32px}.fp-picker header{padding:2px 8px}.fp-picker header>button,.fp-tabs button{min-height:34px}.fp-search{height:34px!important;padding:6px 12px!important;margin-bottom:6px!important}
 body.flychat-wa.mc-enabled .ff-composer:not(.fx-recording){grid-template-columns:36px 34px minmax(0,1fr) 30px 30px 48px!important;column-gap:3px!important}
 body.flychat-wa.mc-enabled .ff-compose-more{margin:0!important;width:34px!important;min-width:34px!important;height:44px!important}
 body.flychat-wa.mc-enabled .mc-emoji{width:36px!important}.fm-message-dialog{border-radius:14px!important}.fm-quick-reactions button{min-width:36px}.fm-recipients{width:calc(100vw - 20px)!important}.fm-forward-bar{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}
