.app-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 24px 12px;max-width:600px}.app-quick-actions .button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;width:100%;font-size:15px;font-weight:700}.app-quick-actions img{width:19px;height:19px;filter:brightness(0) invert(1)}
.operator-communications[hidden],.communication-popup[hidden]{display:none}.operator-communications{margin:14px 24px 22px;padding:20px;border:2px solid #315e9d;background:#edf4ff;border-radius:12px;box-shadow:0 4px 16px #315e9d12}.communication-heading h2{margin:5px 0 16px;font-size:23px;color:#183b6b}.communication-heading .eyebrow{font-size:10px;letter-spacing:1px}.communication-counter{display:inline-block;margin-left:9px;padding:4px 8px;border-radius:12px;background:#315e9d;color:white;font-size:11px;vertical-align:middle}.communication-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.communication-card{display:flex;flex-direction:column;gap:10px;text-align:left;background:#fff;border:1px solid #bbcfe9;border-radius:9px;padding:16px;color:#24344c;min-width:0;overflow-wrap:anywhere;cursor:pointer}.communication-card.unread{border-left:5px solid #315e9d}.communication-card.overdue{border-color:#b42332;background:#fff6f4}.communication-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.communication-card-top strong{font-size:16px}.communication-card-top>span{color:#315e9d;font-size:10px;font-weight:700}.communication-card>b{font-size:15px;line-height:1.4}.communication-card-body{font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.communication-deadline{display:block;padding:10px;background:#edf3fa;font-size:12px;line-height:1.5;border-radius:6px}.overdue .communication-deadline{color:#a32130;background:#ffe2df}.communication-link{margin-top:auto;color:#315e9d;font-size:12px;font-weight:700}
.communication-popup{position:fixed;z-index:80;right:24px;bottom:26px;width:min(430px,calc(100vw - 32px));padding:22px;border:2px solid #315e9d;border-top-width:7px;border-radius:13px;background:white;color:#24344c;box-shadow:0 14px 60px #102e5a44}.communication-popup-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.communication-popup-top>span{font-size:10px;font-weight:800;letter-spacing:1px;color:#315e9d}.communication-popup-top button{min-width:36px;min-height:36px}.communication-popup h2{font-size:22px;line-height:1.25;margin:10px 0}.communication-popup p{font-size:14px;line-height:1.65;margin:0 0 18px;overflow-wrap:anywhere}.communication-popup>.button{width:100%;min-height:46px}.communication-popup.urgent{border-color:#b42332}.communication-popup.warning{border-color:#be861d}.communication-popup.success{border-color:#27815a}
.conversation-thread{padding:24px;border:1px solid #cbd6e3;border-radius:12px;background:white}.conversation-thread h2{font-size:22px;margin:0 0 8px}.conversation-help{font-size:13px;color:#64748b}.conversation-events{display:grid;gap:14px;margin:20px 0 28px}.conversation-event{padding:13px 16px;background:#f3f5f8;border-left:3px solid #8a9bb0;border-radius:7px;overflow-wrap:anywhere}.conversation-event>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.conversation-event time{font-size:11px;color:#617187}.conversation-event p{white-space:pre-wrap;font-size:14px;line-height:1.65;margin:8px 0 0}.conversation-event.is-message{background:#ecf3ff;border-color:#315e9d}.conversation-event.from-me{background:#eaf5ee;border-color:#27815a}.communication-message-form{display:grid;gap:12px}.communication-message-form .field{font-size:13px;font-weight:700;display:grid;gap:8px}.communication-message-form textarea{width:100%;min-height:100px;resize:vertical;font:400 15px Arial;padding:12px;border:1px solid #bac9da;border-radius:8px;line-height:1.5}.communication-message-form button{justify-self:end;min-height:46px;min-width:180px}.communication-message-form .dialog-error{margin:0}.sos-live-banner{position:relative;top:auto}
/* Restaura o cabeçalho anterior; a nova identidade permanece no ícone instalado. */
.portal-header-brand>img{width:134px;height:85px;object-fit:contain;flex:none;padding:0;background:transparent;border-radius:0;filter:brightness(1.45)}
@media(max-width:900px){.communication-cards{grid-template-columns:1fr 1fr}.communication-card:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:760px){.app-quick-actions{position:sticky;top:0;z-index:21;margin:0;padding:12px;background:#e8edf3;border-bottom:1px solid #cbd6e3;max-width:none;gap:10px}.app-quick-actions .button{min-height:48px;font-size:15px;box-sizing:border-box}.portal-header-brand>img{width:78px;height:56px}.portal-header-brand strong{font-size:19px}.portal-header-brand{gap:12px;flex:1;min-width:0}.portal-header-brand strong{overflow-wrap:anywhere}.topbar-right{margin-left:auto}.operator-communications{margin:12px;padding:14px}.communication-heading h2{font-size:21px;line-height:1.4}.communication-counter{margin-left:0}.communication-cards{grid-template-columns:1fr}.communication-card:last-child:nth-child(odd){grid-column:auto}.communication-card{padding:14px}.communication-popup{right:12px;bottom:72px;width:calc(100vw - 24px);padding:17px;max-height:65vh;overflow:auto}.communication-popup h2{font-size:21px}.communication-popup p{font-size:14px}.conversation-thread{padding:16px}.conversation-event>div{align-items:flex-start;flex-wrap:wrap}.communication-message-form button{width:100%;justify-self:stretch}.portal-heading>.heading-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:10px}.portal-heading>.heading-actions>.button:first-child{grid-column:1/-1}.portal-heading>.heading-actions .button{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:13px}.ticket-actions>.button{flex:1 1 140px;justify-content:center;min-height:44px}.sos-live-banner{margin:12px;padding:14px}.portal-content{padding-top:8px}.form-steps{top:72px}}
@media print{.app-quick-actions,.operator-communications,.communication-popup{display:none!important}}
