
/* Comunicação PRUMMIA — workspace denso inspirado em ferramentas corporativas, sem copiar marca externa. */
.comm-workspace{height:calc(100vh - 112px);min-height:620px;display:flex;flex-direction:column;overflow:hidden}
.comm-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;flex:0 0 auto}
.comm-head h1{margin:0;color:#0f2747}.comm-head-actions{display:flex;gap:10px;align-items:center}
.comm-status-button{display:inline-flex;gap:8px;align-items:center}.comm-filterbar{display:flex;gap:8px;align-items:center;margin-bottom:10px;flex:0 0 auto}
.comm-filter{border:1px solid #d6deea;background:#fff;border-radius:999px;padding:7px 14px;color:#34445c;cursor:pointer}
.comm-filter.active{background:#245bb4;color:#fff;border-color:#245bb4}
.comm-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:0;min-height:0;flex:1;border:1px solid #dbe3ee;border-radius:12px;overflow:hidden;background:#fff}
.comm-list,.comm-room{border:0!important;border-radius:0!important;min-height:0;box-shadow:none!important}
.comm-list{border-right:1px solid #e2e8f0!important;background:#fbfcfe;overflow:auto;padding:0}
.comm-search{display:block;padding:14px;border-bottom:1px solid #e5eaf1}.comm-search input{width:100%;height:42px;border:1px solid #d7dfeb;border-radius:8px;padding:0 12px;background:#fff}
.comm-section-toggle{width:100%;border:0;background:transparent;text-align:left;padding:12px 16px;font-weight:800;color:#44536a;cursor:pointer;border-bottom:1px solid #eef2f6}
.comm-section-toggle span{display:inline-block;margin-right:6px}.comm-empty-list{padding:14px 16px;color:#748198}
.comm-conv{width:100%;border:0;border-left:3px solid transparent;background:transparent;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 13px;text-align:left;cursor:pointer;color:#20324d}
.comm-conv:hover{background:#f0f5fb}.comm-conv.active{background:#eaf2ff;border-left-color:#2867c7}
.comm-avatar{width:40px;height:40px;border-radius:50%;background:#dcecff;color:#174d9a;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;position:relative;flex:0 0 auto}
.comm-avatar .comm-status-dot{position:absolute;right:-1px;bottom:0;border:2px solid #fff}
.comm-conv-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.comm-conv-copy strong,.comm-conv-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.comm-conv-copy small{font-size:12px;color:#718097}.comm-count{min-width:20px;height:20px;border-radius:10px;background:#d92d20;color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center}
.comm-live{font-size:11px;color:#087443;font-weight:800}.comm-status-dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex:0 0 auto}
.comm-status-dot.available{background:#16a34a}.comm-status-dot.busy{background:#dc3545}.comm-status-dot.dnd{background:#d92d20;box-shadow:inset 0 0 0 3px #fff}.comm-status-dot.away{background:#f0a000}.comm-status-dot.offline{background:#8a929d}
.comm-people-results{padding:8px 10px;border-bottom:1px solid #e7ecf3;background:#fff}.comm-people-results>small{display:block;padding:5px 7px;color:#68778e;font-weight:800}
.comm-people-results button{width:100%;display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:8px;align-items:center;border:0;background:transparent;padding:8px;border-radius:7px;text-align:left;cursor:pointer}
.comm-people-results button:hover{background:#f0f5fb}.comm-people-results button small{color:#75849a}
.comm-room{display:flex;flex-direction:column;overflow:hidden;background:#fff}
.comm-room-head{height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid #e3e8ef;flex:0 0 auto}
.comm-room-person{display:flex;align-items:center;gap:11px;min-width:0}.comm-room-person>div{min-width:0}.comm-room-head strong{display:block;font-size:18px;color:#182a45}.comm-room-head small{display:block;color:#65758d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:680px}
.comm-room-actions{display:flex;gap:8px}.comm-icon-btn{border:0;background:#fff;border-radius:8px;min-width:42px;height:40px;padding:0 11px;font-size:17px;cursor:pointer;color:#27476f}
.comm-icon-btn:hover{background:#eef4fb}.comm-messages{flex:1;min-height:0;overflow:auto;padding:24px 28px 18px;display:flex;flex-direction:column;gap:10px;background:#fff}
.comm-msg{max-width:min(680px,76%);border-radius:10px;padding:10px 13px;background:#f1f3f6;color:#1d2d44;align-self:flex-start;border:1px solid #e3e7ec}
.comm-msg.mine{align-self:flex-end;background:#e7f0ff;border-color:#c6dafb}.comm-msg b{display:block;margin-bottom:3px;font-size:12px}.comm-msg p{margin:0 0 5px;white-space:pre-wrap;overflow-wrap:anywhere}.comm-msg>small{color:#68778d;font-size:11px}
.comm-attachment{display:block;margin:7px 0;border:1px solid #cfd9e7;background:#fff;border-radius:7px;padding:7px 9px;color:#174d9a;cursor:pointer;text-align:left}
.comm-compose{flex:0 0 auto;margin:0 18px 16px;border:1px solid #ccd6e5;border-bottom:2px solid #2867c7;border-radius:10px;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto auto auto;gap:5px;align-items:end;padding:8px 10px;background:#fff}
.comm-compose textarea{grid-column:1/-1;width:100%;resize:none;border:0;outline:0;min-height:38px;max-height:120px;padding:7px;font:inherit;color:#1f3048}
.comm-compose-icon,.comm-send-button{border:0;background:transparent;height:34px;min-width:34px;border-radius:6px;cursor:pointer;font-size:17px;color:#3c4f6c}.comm-compose-icon:hover,.comm-send-button:hover{background:#eef4fb}
.comm-send-button{font-size:22px;color:#1f5ebc}.comm-compose #comm-file-name{align-self:center;color:#64748b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.comm-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#728097}.comm-people{max-height:300px;overflow:auto;border:1px solid #e1e7ef;border-radius:8px;padding:8px}
.comm-person{display:flex;gap:8px;align-items:center;padding:8px}.comm-history-choice{display:flex;gap:8px;align-items:center;margin-top:12px}
.comm-participant-list p{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #edf1f5}.comm-participant-list small{margin-left:auto;color:#75849a}
.comm-status-options{display:grid;gap:4px;margin-bottom:14px}.comm-status-options label{display:flex;gap:10px;align-items:center;padding:9px;border-radius:7px}.comm-status-options label:hover{background:#f4f7fb}
.comm-prejoin{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:22px;min-height:430px}.comm-prejoin h2{grid-column:1/-1;text-align:center}
.comm-preview{background:#0d1729;border-radius:10px;min-height:350px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff}.comm-preview video{width:100%;height:100%;object-fit:cover}.comm-preview-off{opacity:.85}
.comm-prejoin-settings{border:1px solid #dce3ec;border-radius:10px;padding:20px;display:flex;flex-direction:column;gap:14px}.comm-prejoin-settings label{padding:13px;border-bottom:1px solid #edf1f5}
.comm-call{min-height:560px;display:flex;flex-direction:column;background:#f6f7f9}.comm-call-stage{flex:1;min-height:0;position:relative;background:#f4f5f7;display:flex;align-items:center;justify-content:center;overflow:hidden}
.comm-calling{text-align:center;z-index:1}.comm-call-avatar{width:150px;height:150px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#d9e5ef;color:#173d5c;font-size:48px;font-weight:700;margin:0 auto 22px}.comm-calling h2{margin:0 0 8px}.comm-calling p{font-size:18px}
.comm-videos{position:absolute;inset:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;padding:8px}.comm-media{width:100%;height:100%;object-fit:cover;background:#0b1322;border-radius:8px}
.comm-call-actions{height:74px;display:flex;justify-content:center;align-items:center;gap:12px;background:#fff;border-top:1px solid #dfe5ed}.comm-call-control{border:0;background:#fff;border-radius:8px;padding:11px 15px;cursor:pointer;color:#273a56}.comm-call-control:hover{background:#edf2f7}.comm-call-control.off{background:#e9edf2}.comm-call-control.danger{color:#b42318}
.comm-nav-badge{margin-left:auto;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#d92d20;color:#fff;font-size:10px;display:inline-flex;align-items:center;justify-content:center}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:900px){.comm-workspace{height:auto;min-height:700px}.comm-layout{grid-template-columns:1fr}.comm-list{max-height:310px;border-right:0!important;border-bottom:1px solid #e2e8f0!important}.comm-room{min-height:520px}.comm-prejoin{grid-template-columns:1fr}.comm-preview{min-height:260px}.comm-head{align-items:flex-start}.comm-head-actions{flex-wrap:wrap;justify-content:flex-end}.comm-msg{max-width:88%}}

/* Reference-aligned communication refinement — 2026-10-22 */
.comm-room-head{min-height:82px;padding:0 22px;display:grid;grid-template-columns:minmax(220px,auto) 1fr auto;align-items:center;gap:22px;border-bottom:1px solid #e2e8f0;background:#fff}
.comm-room-tabs{height:100%;display:flex;align-items:stretch;gap:24px}.comm-room-tabs button{border:0;background:transparent;padding:0 2px;font:inherit;font-size:15px;color:#475569;position:relative;cursor:pointer}.comm-room-tabs button.active{font-weight:700;color:#172554}.comm-room-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;background:#4f46e5}
.comm-room-actions{display:flex;align-items:center;gap:8px}.comm-icon-btn{min-width:44px;height:44px;border:0!important;background:transparent!important;border-radius:8px!important;padding:0 10px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:4px;color:#334155!important}.comm-icon-btn:hover{background:#f1f5f9!important}.comm-call-button{border:1px solid #cbd5e1!important}.comm-svg{width:23px;height:23px}.comm-call-chevron{font-size:16px;line-height:1}.comm-people-count{font-size:14px;margin-left:2px}
.comm-section-toggle{font-weight:700!important;font-size:15px!important;gap:8px!important}.comm-section-toggle span{font-size:15px;display:inline-flex;width:18px;justify-content:center}
.comm-compose{position:relative}.comm-emoji-wrap{position:relative;display:inline-flex}.comm-emoji-picker{position:absolute;right:-90px;bottom:44px;width:276px;padding:10px;background:#fff;border:1px solid #dbe3ee;border-radius:12px;box-shadow:0 14px 35px rgba(15,23,42,.18);display:grid;grid-template-columns:repeat(6,1fr);gap:4px;z-index:15}.comm-emoji-picker[hidden]{display:none!important}.comm-emoji-picker button{border:0;background:transparent;border-radius:6px;font-size:21px;padding:6px;cursor:pointer}.comm-emoji-picker button:hover{background:#eef2ff}
.comm-prejoin-pro{padding:10px 14px 20px}.comm-prejoin-pro>h2{text-align:center;font-size:25px;margin:4px 0 28px;color:#0f172a}.comm-prejoin-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:22px}.comm-preview{height:390px;border:1px solid #d7dde7;border-radius:6px;background:#f8fafc;overflow:hidden;display:grid;place-items:center}.comm-preview video{width:100%;height:100%;object-fit:cover}.comm-preview-off{display:grid;place-items:center;gap:14px;color:#475569}.comm-preview-off span{font-size:30px}.comm-preview-controls{height:58px;margin-top:-59px;position:relative;background:rgba(255,255,255,.96);border-top:1px solid #e2e8f0;display:flex;align-items:center;padding:0 20px}.comm-switch-line{display:flex;align-items:center;gap:10px}.comm-audio-panel{border:1px solid #d7dde7;border-radius:6px;background:#fff;overflow:hidden}.comm-audio-panel h3{margin:0;padding:24px 28px;border-bottom:1px solid #e2e8f0;font-size:18px}.comm-device-row{display:grid;grid-template-columns:120px 1fr auto;align-items:center;gap:12px;padding:18px 28px}.comm-device-row select{min-width:0;border:0;background:transparent;font:inherit;color:#334155}.comm-audio-choice{display:flex;align-items:center;gap:12px;border-top:1px solid #e2e8f0;padding:18px 28px;font-weight:600}.comm-audio-choice input{width:20px;height:20px}
.comm-call-pro{height:min(760px,78vh);display:flex;flex-direction:column;background:#f7f8fa}.comm-meeting-toolbar{height:82px;flex:0 0 82px;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:0 24px;border-bottom:1px solid #dfe3e8;background:#fff}.comm-meeting-control{border:0;background:transparent;min-width:68px;height:64px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;color:#1f2937;cursor:pointer}.comm-meeting-control:hover{background:#f1f5f9}.comm-meeting-control.off{background:#eef2f7}.comm-meeting-control.danger{color:#b91c1c}.comm-call-svg{width:24px;height:24px}.comm-toolbar-sep{height:38px;width:1px;background:#dbe1e8;margin:0 6px}.comm-call-stage{flex:1!important;min-height:0!important;border:0!important;background:#f7f8fa!important;display:grid!important;place-items:center!important}.comm-calling{text-align:center}.comm-call-avatar{width:180px!important;height:180px!important;font-size:58px!important;background:#d9e6ef!important;color:#164e63!important}.comm-calling h2{display:none}.comm-calling p{font-size:24px!important;font-weight:650;color:#202124;margin-top:28px!important}.comm-videos{position:absolute;inset:90px 20px 20px;pointer-events:none}.comm-media{pointer-events:auto}
@media(max-width:900px){.comm-room-head{grid-template-columns:1fr auto}.comm-room-tabs{grid-row:2;grid-column:1/-1;height:38px}.comm-prejoin-grid{grid-template-columns:1fr}.comm-preview{height:300px}.comm-meeting-toolbar{overflow-x:auto;justify-content:flex-start}.comm-meeting-control{min-width:62px}.comm-call-pro{height:75vh}}

.comm-collapse-chevron{width:18px;height:18px;display:inline-flex;transition:transform .16s ease}.comm-collapse-chevron svg{width:18px;height:18px}.comm-section-toggle.collapsed .comm-collapse-chevron{transform:rotate(-90deg)}

/* Corporate iconography and resizable meeting window */
.comm-compose-icon svg,.comm-send-button svg,.comm-window-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.comm-format-icon{gap:2px!important}.comm-format-icon span{font-size:20px}.comm-format-icon svg{width:15px;height:15px}.comm-compose-icon{color:#34445b!important}.comm-compose-icon:hover{background:#eef3f9!important}.comm-send-button{display:grid!important;place-items:center!important}.comm-send-button svg{width:24px;height:24px}
.comm-call-button{height:40px!important;min-width:66px!important;border:1px solid #c8d3e1!important;border-radius:9px!important;background:#f7f9fc!important}.comm-call-button:hover{background:#edf2f8!important;border-color:#aebed1!important}.comm-call-button .comm-svg{width:25px;height:25px}
.comm-emoji-picker{width:328px!important;grid-template-columns:repeat(8,1fr)!important;padding:12px!important;border-radius:14px!important}.comm-emoji-picker button{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif!important;font-size:22px!important}
.comm-meeting-windowbar{height:48px;flex:0 0 48px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #e1e6ec;background:#fff}.comm-meeting-windowbar strong{font-size:15px;color:#20324b}.comm-window-button{width:36px;height:34px;border:1px solid transparent;border-radius:7px;background:transparent;color:#334155;display:grid;place-items:center;cursor:pointer}.comm-window-button:hover{background:#eef2f7}.comm-window-button svg{width:18px;height:18px}
.modal:has(.comm-call-pro){width:min(1380px,96vw)!important;max-width:none!important}.modal.comm-call-maximized{position:fixed!important;inset:8px!important;width:auto!important;max-width:none!important;height:calc(100vh - 16px)!important;margin:0!important}.modal.comm-call-maximized .comm-call-pro{height:calc(100vh - 120px)!important}.modal.comm-call-maximized .card-b{height:100%;overflow:hidden}.modal:has(.comm-call-pro)>.modal-head{display:none}.comm-call-pro{height:min(820px,84vh)!important}
@media(max-width:760px){.comm-emoji-picker{width:280px!important;grid-template-columns:repeat(7,1fr)!important;right:-72px!important}.modal:has(.comm-call-pro){width:100vw!important}.comm-call-pro{height:80vh!important}}
