:root{font-family:Segoe UI,Inter,Arial,sans-serif;color:#111b21;background:#e9edef}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{height:100%;padding:22px 30px 28px;position:relative;overflow:hidden}.top-strip{position:fixed;inset:0 0 auto;height:128px;background:#087d68}.app-window{height:100%;max-width:1600px;margin:auto;position:relative;display:grid;grid-template-columns:minmax(330px,420px) 1fr;background:#fff;box-shadow:0 6px 24px #0b141a26;overflow:hidden}.sidebar{min-width:0;display:flex;flex-direction:column;border-right:1px solid #d8dcdf;background:#fff}.sidebar-head,.chat-head{height:60px;min-height:60px;background:#f0f2f5;display:flex;align-items:center;padding:8px 14px;gap:10px}.operator-avatar,.avatar{flex:0 0 auto;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#137e69,#3ca993);color:#fff;font-size:14px;font-weight:700}.sidebar-head>div:nth-child(2),.chat-head>div{min-width:0;flex:1;display:flex;flex-direction:column}.sidebar-head strong,.chat-head strong{font-size:15px}.sidebar-head small,.chat-head small{font-size:12px;color:#667781;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.connection-dot{width:10px;height:10px;border-radius:50%;background:#e0a21a;box-shadow:0 0 0 3px #e0a21a20}.connection-dot.connected{background:#00a884;box-shadow:0 0 0 3px #00a88422}.connection-dot.error,.connection-dot.disconnected{background:#d64545}.icon-button{border:0;background:transparent;color:#54656f;border-radius:50%;width:38px;height:38px;font-size:24px;display:grid;place-items:center}.icon-button:hover{background:#dfe3e5}.connection-banner{min-height:72px;background:#d9fdd3;padding:10px 16px;display:flex;align-items:center;gap:12px}.connection-banner>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#008069;font-weight:800}.connection-banner .offline-icon{color:#b06e00}.connection-banner div{display:flex;flex-direction:column}.connection-banner strong{font-size:14px}.connection-banner small{font-size:12px;color:#54656f;margin-top:2px}.search-wrap{margin:8px 12px 4px;background:#f0f2f5;border-radius:8px;height:38px;display:flex;align-items:center;padding:0 13px;gap:15px;color:#54656f}.search-wrap input{border:0;outline:0;background:transparent;min-width:0;flex:1;font-size:14px}.filters{padding:5px 12px 9px;display:flex;gap:7px;border-bottom:1px solid #eef0f2}.filters button{border:1px solid #d6dce0;background:#fff;border-radius:18px;padding:6px 12px;color:#54656f;font-size:13px}.filters button.active{background:#e7fce8;color:#008069;border-color:#c8f2ce}.filters b{display:inline-grid;place-items:center;background:#00a884;color:#fff;border-radius:12px;min-width:20px;height:20px;margin-left:5px}.conversation-list{flex:1;overflow:auto}.conversation{width:100%;border:0;background:#fff;display:flex;align-items:center;text-align:left;padding:0 12px;min-height:72px}.conversation:hover,.conversation.active{background:#f0f2f5}.conversation .avatar{width:49px;height:49px;font-size:16px;margin-right:12px}.conversation-body{min-width:0;align-self:stretch;flex:1;border-bottom:1px solid #edf0f2;display:flex;flex-direction:column;justify-content:center;gap:5px}.conversation-line{display:flex;align-items:center;gap:8px;min-width:0}.conversation-line strong,.conversation-line>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.conversation-line strong{font-size:16px;font-weight:500}.conversation-line time{font-size:11px;color:#667781}.conversation-line.preview{color:#667781;font-size:13px}.conversation-line.preview b{flex:none;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#25d366;color:#fff;font-size:11px}.list-empty{height:100%;min-height:220px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#667781;padding:30px}.list-empty span{font-size:34px}.list-empty strong{color:#3b4a54;margin-top:10px}.list-empty small{margin-top:4px}.sidebar-foot{height:35px;padding:0 14px;background:#f7f8fa;color:#667781;font-size:11px;display:flex;align-items:center;justify-content:space-between}.chat-panel{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative;background:#efeae2}.welcome{margin:auto;text-align:center;max-width:520px;color:#41525d;padding:30px}.welcome-mark{width:104px;height:104px;border-radius:50%;margin:0 auto 25px;display:grid;place-items:center;background:#d9fdd3;color:#087d68;font-weight:900;font-size:22px;box-shadow:0 4px 12px #0001}.welcome h1{font-size:30px;font-weight:300;margin:0 0 14px}.welcome p{font-size:14px;line-height:1.6}.secure-note{border-top:1px solid #d7dcdf;margin-top:28px;padding-top:22px;color:#667781;font-size:12px}.chat-head{z-index:2;border-left:1px solid #dfe3e5}.mobile-back{display:none;border:0;background:transparent;font-size:34px;color:#54656f}.message-area{flex:1;overflow:auto;padding:18px 7%;display:flex;flex-direction:column;gap:3px;background-color:#efeae2;background-image:radial-gradient(#b8afa21f 1px,transparent 1px);background-size:14px 14px}.day-pill{align-self:center;background:#fff;border-radius:7px;padding:6px 12px;margin:8px 0;font-size:11px;color:#54656f;box-shadow:0 1px 1px #0001}.bubble{position:relative;align-self:flex-start;max-width:min(68%,680px);padding:7px 9px 5px;border-radius:8px;background:#fff;box-shadow:0 1px 1px #0002;display:flex;flex-direction:column}.bubble:before{content:"";position:absolute;left:-7px;top:0;border-top:8px solid #fff;border-left:8px solid transparent}.bubble.outbound{align-self:flex-end;background:#d9fdd3}.bubble.outbound:before{left:auto;right:-7px;border-top-color:#d9fdd3;border-left:0;border-right:8px solid transparent}.message-text{font-size:14px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;padding-right:42px}.message-meta{align-self:flex-end;font-size:10px;color:#667781;margin-top:2px;white-space:nowrap}.message-meta em{font-style:normal;color:#008069;margin-right:4px}.message-meta i{font-style:normal;color:#53bdeb;margin-left:2px;letter-spacing:-3px}.media img,.media-player{display:block;max-width:340px;width:100%;max-height:360px;object-fit:cover;border-radius:6px}.audio-player{width:280px;max-width:100%}.attachment{display:block;padding:12px;background:#f0f2f5;border-radius:6px;color:#027eb5;text-decoration:none}.composer{min-height:62px;background:#f0f2f5;padding:9px 14px;display:flex;align-items:flex-end;gap:7px}.composer textarea{flex:1;resize:none;max-height:130px;min-height:42px;border:0;outline:0;border-radius:9px;padding:11px 14px;color:#3b4a54}.send-button{border:0;width:42px;height:42px;border-radius:50%;background:#00a884;color:#fff;font-size:20px}.send-button:disabled{background:#c8ced1;cursor:not-allowed}.pairing-overlay{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;background:#0b141ab8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:24px}.pairing-card{width:min(800px,100%);background:#fff;border-radius:12px;box-shadow:0 20px 60px #0005;display:grid;grid-template-columns:1fr 300px;gap:34px;padding:38px}.eyebrow{color:#008069;font-size:11px;font-weight:800;letter-spacing:1.5px}.pairing-card h2{font-size:27px;font-weight:400;margin:7px 0 20px}.pairing-card ol{padding-left:21px;line-height:2;color:#3b4a54}.pairing-card p{font-size:12px;color:#667781;line-height:1.5}.pairing-status{margin-top:24px;display:flex;align-items:center;gap:8px;color:#54656f;font-size:13px}.qr-box{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:285px;border:1px solid #e1e5e7;border-radius:10px}.qr-box img{width:250px;height:250px;image-rendering:pixelated}.qr-placeholder{font-size:120px;line-height:1;color:#ccd2d5}.qr-box button{border:0;border-radius:7px;padding:11px 16px;background:#008069;color:#fff}.toast{position:fixed;z-index:30;right:24px;bottom:24px;max-width:430px;background:#b4232d;color:#fff;padding:12px 14px;border-radius:8px;box-shadow:0 5px 20px #0004;display:flex;gap:14px;align-items:center}.toast span{flex:1}.toast button{border:0;background:transparent;color:#fff;font-size:22px}@media(max-width:800px){.app-shell{padding:0}.top-strip{display:none}.app-window{display:block}.sidebar,.chat-panel{height:100%;width:100%}.mobile-hidden{display:none}.chat-panel:not(.mobile-visible){display:none}.mobile-back{display:block}.pairing-card{grid-template-columns:1fr;padding:24px;max-height:94vh;overflow:auto}.pairing-copy{order:2}.qr-box{min-height:260px}.bubble{max-width:88%}.message-area{padding:12px 4%}}.avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.manager-overlay{position:fixed;z-index:40;top:0;right:0;bottom:0;left:0;background:#0b141ab8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:24px}.manager-panel{width:min(980px,100%);height:min(680px,92vh);background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px #0005;display:flex;flex-direction:column}.manager-panel>header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:14px 22px;border-bottom:1px solid #e4e7e9}.manager-panel h2{font-size:24px;font-weight:400;margin:3px 0}.manager-panel>header button{border:0;background:transparent;font-size:30px;color:#667781}.settings-tabs{display:flex;gap:4px;padding:0 20px;border-bottom:1px solid #e4e7e9;background:#f8fafb}.settings-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:12px 15px 10px;color:#667781;font-weight:650}.settings-tabs button.active{color:#008069;border-bottom-color:#00a884}.settings-page{flex:1;min-height:0;overflow:auto;padding:28px;display:grid;align-content:start;gap:22px}.settings-intro{display:flex;align-items:center;gap:15px}.settings-intro>span{width:50px;height:50px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#d9fdd3;color:#008069;font-size:22px}.settings-intro h3{margin:0 0 4px;font-size:21px;font-weight:550}.settings-intro p{margin:0;color:#667781;font-size:13px}.settings-field{max-width:520px;display:grid;gap:8px;font-size:13px;font-weight:700}.settings-field select{padding:11px 12px;border:1px solid #cbd2d6;border-radius:8px;background:#fff}.settings-field small{color:#667781;font-weight:400}.settings-vip-notifications{max-width:650px;display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #e5d7a2;border-radius:10px;background:#fffaf0;color:#5f4a00;cursor:pointer}.settings-vip-notifications input{width:19px;height:19px;flex:0 0 auto;margin-top:2px;accent-color:#d49b00}.settings-vip-notifications span{display:grid;gap:4px}.settings-vip-notifications strong{font-size:14px}.settings-vip-notifications small{color:#6d6550;font-size:12px;line-height:1.45}.settings-note{max-width:680px;border-left:4px solid #00a884;border-radius:5px;background:#f0f8f6;padding:13px 15px;color:#41525d;font-size:13px;line-height:1.5}.settings-test{justify-self:start;border-radius:8px;background:#008069;color:#fff;padding:11px 15px;text-decoration:none;font-size:13px;font-weight:700}.procedure-grid{display:grid;grid-template-columns:repeat(2,minmax(230px,1fr));gap:9px;max-width:720px}.procedure-add{display:flex;gap:8px;max-width:520px}.procedure-add input{flex:1;min-width:0;border:1px solid #cbd2d6;border-radius:8px;padding:10px 12px}.procedure-add button{border:0;border-radius:8px;background:#008069;color:#fff;padding:10px 14px;font-weight:700}.procedure-add button:disabled{background:#b8c1c5}.procedure-grid article{display:grid;gap:11px;padding:13px 14px;border:1px solid #dfe4e7;border-radius:8px}.procedure-title{display:flex;align-items:center;justify-content:space-between}.procedure-title>span{display:flex;gap:4px}.procedure-title button{width:28px;height:28px;border:0;border-radius:50%;background:#f0f2f5;color:#54656f}.procedure-title .procedure-delete{color:#b4232d}.procedure-files{display:grid;gap:6px}.procedure-files>span{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.procedure-files label{position:relative;overflow:hidden;color:#008069;font-size:10px;cursor:pointer}.procedure-files input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.procedure-files em{color:#b06e00;font-size:12px;font-style:normal}.procedure-grid a{color:#008069;font-size:12px;text-decoration:none}.quick-reply-popover{position:absolute;z-index:12;left:18px;bottom:76px;width:min(440px,calc(100% - 36px));max-height:min(460px,65vh);display:flex;flex-direction:column;border:1px solid #dfe5e7;border-radius:16px;background:#fff;box-shadow:0 18px 48px #0b141a35,0 3px 10px #0b141a18;overflow:hidden}.quick-reply-popover>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:linear-gradient(135deg,#f6fffb,#f7fafb);border-bottom:1px solid #e7ecee}.quick-reply-popover>header>div{display:flex;align-items:center;gap:9px;color:#233238}.quick-reply-popover>header>div>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#e6f8f1}.quick-reply-popover>header button{border:0;background:transparent;font-size:22px;color:#667781}.quick-reply-search{margin:12px;height:42px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #dbe2e5;border-radius:11px;background:#f6f8f9;color:#71818a}.quick-reply-search:focus-within{border-color:#00a884;background:#fff;box-shadow:0 0 0 3px #00a88418}.quick-reply-search input{flex:1;min-width:0;border:0;outline:0;background:transparent}.quick-reply-popover>div{min-height:0;overflow:auto;padding:0 9px 10px}.quick-reply-popover>div>button{width:100%;display:grid;gap:6px;border:1px solid transparent;border-radius:10px;background:#fff;padding:11px 12px;text-align:left}.quick-reply-popover>div>button:hover{border-color:#d9eee7;background:#f2fbf7}.quick-reply-popover span{display:flex;align-items:center;justify-content:space-between;gap:8px}.quick-reply-popover small{color:#008069}.quick-reply-popover p{margin:0;color:#667781;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emoji-picker{position:absolute;z-index:13;left:18px;bottom:76px;width:min(310px,calc(100% - 36px));overflow:hidden;border:1px solid #dfe5e7;border-radius:16px;background:#fff;box-shadow:0 18px 48px #0b141a35,0 3px 10px #0b141a18}.emoji-picker header{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;border-bottom:1px solid #e7ecee;color:#34454d}.emoji-picker header button{border:0;background:transparent;color:#667781;font-size:21px}.emoji-picker>div{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:10px}.emoji-picker>div button{aspect-ratio:1;border:0;border-radius:10px;background:transparent;font-size:24px}.emoji-picker>div button:hover{background:#edf7f3;transform:scale(1.08)}.quick-empty{padding:18px;text-align:center;color:#667781}.quick-reply-editor{max-width:760px;display:grid;gap:11px;padding:16px;border:1px solid #dfe4e7;border-radius:9px;background:#f8fafb}.quick-reply-editor>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-reply-editor label{display:grid;gap:6px;color:#41525d;font-size:12px;font-weight:700}.quick-reply-editor input,.quick-reply-editor textarea{width:100%;border:1px solid #cbd2d6;border-radius:7px;padding:9px 10px;background:#fff;resize:vertical}.quick-reply-editor footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.quick-reply-editor footer>label{display:flex;align-items:center;grid-template-columns:auto 1fr}.quick-reply-editor footer input{width:16px;height:16px}.quick-reply-editor footer span{display:flex;gap:7px}.quick-reply-editor button{border:0;border-radius:7px;padding:9px 12px;background:#008069;color:#fff}.quick-reply-editor button.secondary{border:1px solid #cbd2d6;background:#fff;color:#54656f}.quick-reply-admin-list{max-width:760px;display:grid;gap:7px}.quick-reply-admin-list article{position:relative;display:grid;gap:5px;padding:11px 42px 11px 13px;border:1px solid #dfe4e7;border-radius:8px;cursor:pointer}.quick-reply-admin-list article:hover{background:#f8fafb}.quick-reply-admin-list article.inactive{opacity:.58}.quick-reply-admin-list article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.quick-reply-admin-list small{color:#008069}.quick-reply-admin-list p{margin:0;color:#667781;font-size:12px;white-space:pre-wrap}.quick-reply-admin-list article>button{position:absolute;right:9px;top:9px;width:27px;height:27px;border:0;border-radius:50%;color:#b4232d;background:#fee5e7}.away-editor{max-width:760px;display:grid;gap:16px;padding:17px;border:1px solid #dfe4e7;border-radius:9px;background:#f8fafb}.away-editor>label{display:grid;gap:7px;color:#41525d;font-size:12px;font-weight:700}.away-editor textarea,.away-editor input,.away-editor select{border:1px solid #cbd2d6;border-radius:7px;padding:9px 10px;background:#fff}.away-editor textarea{width:100%;resize:vertical}.away-switches{display:flex;flex-wrap:wrap;gap:18px}.away-switches label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:650}.away-switches input,.weekday-list input{width:17px;height:17px;accent-color:#008069}.away-times{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.away-times label{display:grid;gap:6px;color:#41525d;font-size:12px;font-weight:700}.away-editor fieldset{border:1px solid #dfe4e7;border-radius:8px;padding:12px}.away-editor legend{padding:0 6px;color:#008069;font-size:12px;font-weight:750}.weekday-list{display:flex;flex-wrap:wrap;gap:7px}.weekday-list label{display:flex;align-items:center;gap:4px;border-radius:15px;background:#fff;padding:6px 9px;font-size:11px}.away-save{justify-self:end;border:0;border-radius:8px;background:#008069;color:#fff;padding:11px 17px;font-weight:700}.call-allowlist{display:grid;gap:8px;margin-bottom:10px}.call-allow-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:8px}.call-allow-row input{min-width:0}.call-allow-row button{border:1px solid #d7dcdf;border-radius:7px;background:#fff;color:#b42318;padding:8px 10px}.closure-row{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:8px}.closure-row input{min-width:0}.closure-row button{border:1px solid #d7dcdf;border-radius:7px;background:#fff;color:#b42318;padding:8px 10px}.export-link{display:grid;place-items:center;text-decoration:none}.transcribe-button{margin-top:7px;border:0;border-radius:6px;padding:6px 9px;background:#e7f7f2;color:#00745f;font-weight:700}.audio-transcript{margin:8px 0 0;border-left:3px solid #00a884;padding:6px 9px;background:#ffffff8c;color:#33454f;font-size:13px;line-height:1.4}.side-dialog,.dashboard-dialog{width:min(760px,94vw);max-height:88vh;overflow:auto;border-radius:12px;background:#fff;box-shadow:0 18px 55px #0004}.side-dialog>header,.dashboard-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #e4e7e9}.side-dialog>header h2,.dashboard-dialog>header h2{margin:3px 0 0}.side-dialog>header button,.dashboard-dialog>header button{border:0;background:none;font-size:25px}.note-compose{display:grid;gap:9px;padding:18px 22px;background:#f7f9fa}.note-compose textarea{resize:vertical;border:1px solid #ccd3d6;border-radius:8px;padding:10px}.note-compose button{justify-self:end;border:0;border-radius:8px;padding:9px 14px;background:#008069;color:#fff;font-weight:700}.notes-list{display:grid;gap:10px;padding:18px 22px}.notes-list article{position:relative;border-left:4px solid #f1b84b;border-radius:7px;padding:11px 90px 11px 13px;background:#fff8df}.notes-list article p{margin:0 0 7px;white-space:pre-wrap}.notes-list article small{color:#667781}.notes-list article button{position:absolute;right:10px;top:10px;border:0;background:none;color:#b42318}.dashboard-period{display:flex;gap:7px;padding:16px 22px 0}.dashboard-period button{border:1px solid #ccd3d6;border-radius:18px;padding:7px 13px;background:#fff}.dashboard-period button.active{border-color:#00a884;background:#e7f7f2;color:#00745f}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px 22px}.metric-grid article{display:grid;gap:8px;border:1px solid #e1e5e7;border-radius:10px;padding:16px;background:#f8fafb}.metric-grid article small{color:#667781}.metric-grid article strong{font-size:27px}.metric-grid .metric-good{background:#e9f8ee}.metric-grid .metric-alert{background:#fff3e8}.dashboard-dialog>.settings-note{margin:0 22px 22px}.manager-content{flex:1;min-height:0;display:grid;grid-template-columns:340px 1fr}.number-list{display:flex;flex-direction:column;border-right:1px solid #e4e7e9;overflow:auto}.add-number{padding:14px;display:flex;gap:7px;border-bottom:1px solid #e4e7e9}.add-number input{min-width:0;flex:1;border:1px solid #cbd2d6;border-radius:7px;padding:9px}.add-number button,.number-actions button{border:0;border-radius:7px;background:#008069;color:#fff;padding:9px 12px}.number-list>button{border:0;background:#fff;border-bottom:1px solid #eef0f2;min-height:68px;padding:10px 15px;display:flex;align-items:center;text-align:left;gap:12px}.number-list>button:hover,.number-list>button.active{background:#f0f2f5}.number-list>button>span:last-child{display:flex;flex-direction:column}.number-list small{color:#667781;margin-top:3px}.number-state{width:13px;height:13px;border-radius:50%;background:#dca322}.number-state.connected{background:#00a884}.number-state.disconnected,.number-state.error{background:#d64545}.number-detail{min-width:0;min-height:0;display:flex;flex-direction:column;padding:25px;overflow-y:auto;overscroll-behavior:contain}.manager-empty{margin:auto;text-align:center;color:#667781;max-width:350px}.manager-empty>span{display:grid;place-items:center;width:80px;height:80px;margin:auto;border-radius:50%;background:#e7fce8;color:#008069;font-size:35px}.manager-empty h3{color:#3b4a54;font-weight:500}.number-title{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e4e7e9;padding-bottom:18px}.number-title h3{margin:0;font-size:22px;font-weight:500}.number-title p{margin:5px 0;color:#667781}.access-management{margin:16px 0;padding:14px;border:1px solid #dfe4e7;border-radius:9px;background:#f8fafb}.access-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.access-heading>div:first-child{display:flex;flex-direction:column;gap:3px}.access-heading small,.access-list small{color:#667781;font-size:11px}.access-heading>div:last-child{display:flex;gap:5px}.access-heading input{width:155px;border:1px solid #cbd2d6;border-radius:6px;padding:7px}.access-heading button{border:0;border-radius:6px;background:#008069;color:#fff;width:34px}.access-list{max-height:155px;overflow:auto;margin-top:11px;display:grid;gap:5px}.access-list label{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:6px;background:#fff}.access-list label>span{min-width:0;flex:1;display:flex;flex-direction:column}.access-list em{font-style:normal;color:#008069;font-size:10px;background:#e7fce8;border-radius:9px;padding:3px 7px}.status-chip{padding:6px 10px;border-radius:14px;background:#fff1ce;color:#8c6500;font-size:12px}.status-chip.connected{background:#d9fdd3;color:#008069}.managed-qr{flex:0 0 auto;margin:2px auto 14px;text-align:center}.managed-qr img{display:block;width:min(220px,26dvh,70vw);height:auto;max-width:100%;aspect-ratio:1;object-fit:contain}.managed-qr p{color:#667781;font-size:13px}.number-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e4e7e9;padding-top:17px}.number-actions .danger{background:#fff;color:#bd2731;border:1px solid #e6afb3}.number-actions .resync{background:#e7fce8;color:#008069;border:1px solid #b9e7c0}@media(max-width:720px){.manager-overlay{padding:0}.manager-panel{height:100%;border-radius:0}.manager-content{grid-template-columns:1fr}.number-list{max-height:42vh;border-right:0;border-bottom:1px solid #ddd}.number-detail{min-height:0}.managed-qr img{width:190px;height:190px}.settings-tabs{overflow-x:auto;padding:0 8px}.settings-tabs button{white-space:nowrap}.settings-page{padding:20px 16px}.procedure-grid{grid-template-columns:1fr}.quick-reply-editor>div{grid-template-columns:1fr}.away-times,.call-allow-row,.closure-row{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr 1fr}}.interceptor-page{min-height:100%;padding:34px 20px;background:linear-gradient(180deg,#087d68 0,#087d68 150px,#eef1f3 150px)}.interceptor-card{width:min(760px,100%);margin:0 auto;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 12px 38px #0b141a2b}.interceptor-card>header{display:flex;align-items:center;gap:16px;padding:22px 28px;background:#f0f2f5;border-bottom:1px solid #dfe4e7}.interceptor-logo{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#008069;color:#fff;font-size:12px;font-weight:800}.interceptor-card header small{color:#008069;font-weight:800;letter-spacing:1.4px}.interceptor-card h1{margin:3px 0 0;font-size:24px;font-weight:500}.interceptor-form{display:grid;gap:18px;padding:26px 28px 28px}.interceptor-form label{display:grid;gap:7px;color:#3b4a54;font-size:13px;font-weight:650}.interceptor-form input,.interceptor-form select,.interceptor-form textarea{width:100%;border:1px solid #cbd2d6;border-radius:8px;background:#fff;padding:11px 12px;color:#111b21;outline:none}.interceptor-form input:focus,.interceptor-form select:focus,.interceptor-form textarea:focus{border-color:#00a884;box-shadow:0 0 0 3px #00a8841c}.interceptor-form textarea{resize:vertical;line-height:1.45}.interceptor-form fieldset{border:1px solid #dfe4e7;border-radius:9px;padding:14px;background:#f8fafb}.interceptor-form legend{padding:0 7px;color:#008069;font-size:12px;font-weight:750}.interceptor-form .remember-sender{display:flex;grid-template-columns:auto 1fr;align-items:center;margin-top:10px;font-weight:500}.interceptor-form .remember-sender input{width:17px;height:17px;accent-color:#008069}.self-checkin-settings{display:grid;gap:11px}.self-checkin-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pdf-ready{display:block;padding:9px 11px;border-radius:7px;background:#d9fdd3;color:#087d68}.print-choice{margin-top:3px;padding:13px;border:1px solid #cfe1dc;border-radius:9px;background:#f5fbf9;display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px}.print-choice label{min-width:0}.print-choice button{min-height:43px;border:0;border-radius:8px;padding:0 15px;background:#008069;color:#fff;font-weight:700}.print-choice button:disabled{background:#b8c1c5}.print-actions{display:flex;flex-direction:column;gap:7px}.print-choice .skip-print{background:#eef1f2;color:#3b4a54;border:1px solid #d8dee1}.print-skipped{display:block;padding:9px 11px;border-radius:7px;background:#fff4d6;color:#785b00}.interceptor-form footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.interceptor-form footer a{color:#008069;text-decoration:none}.interceptor-form footer button{border:0;border-radius:8px;padding:12px 20px;background:#008069;color:#fff;font-weight:700}.interceptor-form footer button:disabled{background:#b8c1c5;cursor:not-allowed}.interceptor-success,.interceptor-error{border-radius:8px;padding:11px 13px;font-size:13px}.interceptor-success{background:#d9fdd3;color:#087d68}.interceptor-error{background:#fee5e7;color:#a7222c}.push-button{font-size:18px;position:relative}.push-button.on{background:#d9fdd3;color:#087d68}.push-button.on:after{content:"";position:absolute;right:4px;top:4px;width:7px;height:7px;border-radius:50%;background:#00a884;border:2px solid #f0f2f5}.push-button.denied,.push-button.error{color:#b4232d}.push-onboarding-overlay{position:fixed;z-index:70;top:0;right:0;bottom:0;left:0;width:100%;height:100dvh;display:grid;place-items:center;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));overflow:auto;background:#0b141ad1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.push-onboarding-card{width:min(430px,100%);max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:center;padding:clamp(20px,5vh,34px) clamp(18px,6vw,30px) 22px;border-radius:18px;background:#fff;box-shadow:0 24px 70px #0006;text-align:center}.push-onboarding-icon{width:78px;height:78px;display:grid;place-items:center;margin-bottom:18px;border-radius:50%;background:#d9fdd3;font-size:36px}.push-onboarding-card h2{margin:7px 0 12px;color:#111b21;font-size:25px;font-weight:600}.push-onboarding-card p{margin:0 0 24px;color:#54656f;line-height:1.55}.push-onboarding-card button{width:100%;border:0;border-radius:9px;padding:12px 16px;font-weight:750}.push-enable{background:#008069;color:#fff}.push-later{margin-top:7px;background:transparent;color:#667781}@media(max-height:620px),(max-width:380px){.push-onboarding-icon{width:58px;height:58px;margin-bottom:10px;font-size:28px}.push-onboarding-card h2{margin:5px 0 8px;font-size:21px}.push-onboarding-card p{margin-bottom:14px;font-size:13px;line-height:1.4}.push-onboarding-card button{padding:10px 13px}}.pairing-overlay{width:100%;height:100dvh;overflow-y:auto;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.pairing-card{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}.qr-box{min-width:0;overflow:visible;padding:12px}.qr-box img{display:block;width:min(250px,calc(100vw - 80px),42dvh);height:auto;max-width:100%;aspect-ratio:1;object-fit:contain}@media(max-width:800px){.pairing-overlay{place-items:start center}.pairing-card{width:min(520px,100%);margin:auto;grid-template-columns:minmax(0,1fr);gap:14px;padding:clamp(14px,4vw,24px)}.pairing-copy{order:2}.qr-box{order:1;min-height:0}}@media(max-height:600px)and (orientation:landscape){.pairing-card{grid-template-columns:minmax(0,1fr) minmax(180px,38vw);align-items:center}.pairing-copy{order:1}.qr-box{order:2}.qr-box img{width:min(230px,66dvh,34vw)}.pairing-card ol{line-height:1.45;margin:8px 0}.pairing-card h2{margin-bottom:8px}.pairing-status{margin-top:10px}}@media(max-width:600px){.interceptor-page{padding:0;background:#fff}.interceptor-card{min-height:100vh;border-radius:0}.interceptor-card>header,.interceptor-form{padding-left:18px;padding-right:18px}.interceptor-form footer{align-items:stretch;flex-direction:column-reverse}.self-checkin-grid,.print-choice{grid-template-columns:1fr}}.social-calendar-button{border:0;background:#e2f8ed;color:#087d68;border-radius:9px;height:40px;padding:0 12px;display:flex;align-items:center;gap:6px;font-weight:700}.social-calendar-button span{font-size:20px}.social-calendar-dialog{width:min(1180px,96vw);height:min(820px,94vh);background:#fff;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 70px #0005}.social-calendar-dialog>header{min-height:78px;padding:16px 22px;border-bottom:1px solid #e2e6e8;display:flex;align-items:center;justify-content:space-between}.social-calendar-dialog>header h2{margin:4px 0 0;font-weight:400}.social-calendar-dialog>header button{border:0;background:transparent;font-size:30px;color:#667781}.social-calendar-body{min-height:0;flex:1;display:grid;grid-template-columns:350px 1fr}.social-composer{padding:20px;border-right:1px solid #e2e6e8;overflow:auto;background:#f8faf9}.social-composer h3,.social-calendar-heading h3{margin:0 0 14px}.social-composer label{display:flex;flex-direction:column;gap:6px;margin-bottom:13px;font-size:13px;font-weight:600;color:#41525d}.social-composer input,.social-composer select,.social-composer textarea{border:1px solid #ccd4d8;border-radius:8px;padding:10px;background:#fff}.social-file{display:flex;justify-content:space-between;padding:9px;background:#e2f8ed;border-radius:7px;margin:-4px 0 12px;font-size:12px}.social-actions{display:flex;gap:8px}.social-actions button,.social-post-actions button,.social-calendar-heading button{border:0;border-radius:7px;background:#008f75;color:#fff;padding:9px 12px}.social-actions .secondary{background:#e3e8ea;color:#33434c}.social-calendar-list{padding:20px;overflow:auto}.social-calendar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.social-calendar-heading button{background:#eef2f3;color:#41525d}.social-post{display:grid;grid-template-columns:125px 1fr;gap:16px;border:1px solid #e1e6e8;border-left:5px solid #87949b;border-radius:10px;padding:11px;margin-bottom:12px}.social-post.scheduled{border-left-color:#d99a16}.social-post.published{border-left-color:#00a884}.social-post.failed{border-left-color:#d64545}.social-post>img,.social-post>video{width:125px;height:125px;object-fit:cover;border-radius:7px;background:#111}.social-post-title{display:flex;justify-content:space-between;gap:12px}.social-post-title span{font-size:11px;text-transform:uppercase;font-weight:800;color:#667781}.social-post p{white-space:pre-wrap;margin:9px 0;color:#3b4a54;max-height:65px;overflow:hidden}.social-post small{color:#667781}.social-post em{display:block;color:#b4232d;font-size:12px;margin-top:7px}.social-post-actions{display:flex;gap:8px;margin-top:10px;align-items:center}.social-post-actions a{color:#087d68;font-size:13px}.social-post-actions .danger{background:#fff0f0;color:#b4232d}.publish-access{border:1px solid #ccd4d8!important;background:#f5f7f8!important;color:#54656f!important;border-radius:13px!important;padding:4px 8px!important;font-size:11px!important}.publish-access.active{background:#e2f8ed!important;color:#087d68!important;border-color:#99dbc9!important}@media(max-width:800px){.social-calendar-button b{display:none}.social-calendar-body{display:block;overflow:auto}.social-composer{border-right:0;border-bottom:1px solid #e2e6e8}.social-calendar-list{overflow:visible}.social-post{grid-template-columns:85px 1fr}.social-post>img,.social-post>video{width:85px;height:85px}}.app-window{grid-template-rows:minmax(0,1fr);min-height:0}.sidebar,.chat-panel{height:100%;min-height:0;overflow:hidden}.conversation-list,.message-area{min-height:0;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#aebac1 transparent;overscroll-behavior:contain}.conversation-list{height:0;flex:1 1 auto;overflow-y:scroll}.conversation-search-section{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px 6px;border-bottom:1px solid #e9edef;background:#f7f9fa;color:#54656f;font-size:11px;letter-spacing:.04em;text-transform:uppercase}.conversation-search-section span{min-width:20px;padding:2px 6px;border-radius:10px;background:#d9fdd3;color:#087d68;text-align:center;font-weight:700}.message-area{height:0;flex:1 1 auto;overflow-y:scroll;overflow-x:hidden;scrollbar-gutter:stable}.conversation-list::-webkit-scrollbar,.message-area::-webkit-scrollbar{width:9px}.conversation-list::-webkit-scrollbar-thumb,.message-area::-webkit-scrollbar-thumb{background:#aebac1;border:2px solid transparent;border-radius:8px;background-clip:padding-box}.load-older{align-self:center;z-index:1;border:0;border-radius:18px;background:#fff;color:#008069;padding:8px 15px;margin:3px 0 10px;box-shadow:0 1px 4px #0002;font-size:12px}.load-older:disabled{color:#8696a0;cursor:wait}.message-loading{margin:auto;color:#54656f;background:#ffffffd9;border-radius:8px;padding:10px 16px;box-shadow:0 1px 2px #0001;font-size:13px}.new-messages{position:sticky;z-index:4;bottom:10px;align-self:center;border:0;border-radius:20px;background:#fff;color:#008069;padding:9px 16px;box-shadow:0 3px 12px #0003;font-size:12px;font-weight:600}.message-meta i.pending,.message-meta i.sent,.message-meta i.delivered{color:#8696a0}.message-meta i.read,.message-meta i.played{color:#139bd0}.message-meta i.failed{color:#d64545}.composer textarea{transition:height .12s ease}.attachment-batch{align-self:flex-start;display:flex;align-items:center;gap:8px;margin:9px 0 5px;padding:8px 11px 8px 9px;border:1px solid #d7e1e3;border-radius:12px;background:#fff;color:#35474f;box-shadow:0 2px 6px #0b141a12}.attachment-batch.outbound{align-self:flex-end;border-color:#bfe4d2;background:#edfff7}.attachment-batch span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#e2f5ee;color:#087d68;font-size:17px;font-weight:800}.attachment-batch strong{font-size:12px}.attachment-batch small{padding:2px 5px;border-radius:5px;background:#eff2f3;color:#72818a;font-size:9px;font-weight:800}.attachment-batch:hover{border-color:#78c9b0;background:#f4fcf9;transform:translateY(-1px)}.composer{position:relative;min-height:76px;padding:12px 16px;align-items:center;gap:9px;border-top:1px solid #d8e0e2;background:#f4f7f8;box-shadow:0 -5px 20px #0b141a0d}.composer textarea{min-height:50px;padding:13px 16px;border:1px solid #d9e1e3;border-radius:15px;background:#fff;box-shadow:0 2px 5px #0b141a0b;line-height:22px}.composer textarea:focus{border-color:#89d5bd;box-shadow:0 0 0 3px #00a88414}.composer .composer-tool{flex:0 0 auto;width:44px;height:44px;margin:0;border:1px solid #dbe3e5;border-radius:13px;color:#53656e;background:#fff;box-shadow:0 2px 5px #0b141a0b;transition:background .15s ease,color .15s ease,transform .15s ease,border-color .15s ease}.composer .composer-tool svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.composer .quick-reply-trigger{color:#d88700;background:#fffaf0;border-color:#f2dfb7}.composer .quick-reply-trigger .tool-accent{fill:#f7a900;stroke:none}.composer .composer-tool:hover{border-color:#9fdac7;background:#edf9f5;color:#087d68;transform:translateY(-2px)}.composer .composer-tool.active{border-color:#73c9ae;background:#dff6ee;color:#007c68;box-shadow:0 0 0 3px #00a88414}.composer .send-button{flex:0 0 auto;width:50px;height:50px;margin-left:2px;display:grid;place-items:center;border:0;border-radius:15px;background:linear-gradient(145deg,#00ad8a,#07806c);color:#fff;box-shadow:0 6px 16px #0080693d;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}.composer .send-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.composer .send-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 7px 18px #00806945}.composer .send-button:disabled{background:#d8dddf;color:#98a4aa;box-shadow:none}.composer .send-button span{display:block;transform:translate(1px)}.send-spinner{transform:none!important;letter-spacing:2px}@media(max-width:600px){.composer{min-height:64px;gap:5px;padding:8px}.composer .composer-tool{width:38px;height:38px;border-radius:11px}.composer .composer-tool svg{width:20px;height:20px}.composer .send-button{width:44px;height:44px;border-radius:12px}.quick-reply-popover,.emoji-picker{left:8px;width:calc(100% - 16px);bottom:68px}}.bubble{animation:bubble-in .14s ease-out}.file-input{display:none}.attachment-preview{flex:0 0 auto;display:flex;align-items:center;gap:12px;min-height:82px;padding:9px 18px;border-bottom:1px solid #d8dcdf;background:#f0f2f5}.attachment-preview img,.attachment-preview video{width:64px;height:64px;border-radius:7px;object-fit:cover;background:#dfe3e5}.attachment-file-icon{width:56px;height:56px;border-radius:7px;display:grid;place-items:center;background:#fff;font-size:25px}.attachment-preview div{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.attachment-preview strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.attachment-preview small{color:#667781}.attachment-preview button{width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#54656f;font-size:22px}.media{position:relative;display:block;padding:0;border:0;border-radius:6px;overflow:hidden;background:#dfe3e5}.media>span,.video-attachment>button{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;color:#fff;background:#111b21a8;opacity:0;transition:opacity .15s ease}.media:hover>span,.video-attachment:hover>button{opacity:1}.video-attachment{position:relative}.audio-attachment,.attachment-card{min-width:275px;max-width:360px;display:flex;align-items:center;gap:10px;padding:10px;border-radius:7px;background:#f0f2f5}.bubble.outbound .audio-attachment,.bubble.outbound .attachment-card{background:#c8f2ce}.attachment-kind,.audio-attachment>span{flex:0 0 auto;width:43px;height:43px;display:grid;place-items:center;border-radius:8px;background:#fff;font-size:22px}.attachment-card>span:nth-child(2),.audio-attachment>div{min-width:0;flex:1}.attachment-card strong,.audio-attachment strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.attachment-card small{display:block;color:#667781;font-size:11px;margin-top:3px}.attachment-card a{flex:0 0 auto;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;color:#087d68;background:#fff;text-decoration:none;font-size:18px}.attachment-card.unavailable{opacity:.72}.attachment-card.unavailable strong{color:#667781}.audio-attachment .audio-player{display:block;width:235px;height:32px;margin-top:4px}.composer.drag-over{box-shadow:inset 0 0 0 3px #00a884;background:#e0f7ed}.reaction-picker{position:absolute;z-index:5;top:-36px;left:8px;display:flex;gap:1px;padding:4px;border-radius:20px;background:#fff;box-shadow:0 2px 10px #0003;opacity:0;pointer-events:none;transform:translateY(4px);transition:.12s ease}.bubble.outbound .reaction-picker{left:auto;right:8px}.bubble:hover .reaction-picker,.reaction-picker:focus-within{opacity:1;pointer-events:auto;transform:none}.reaction-picker button,.reaction-badges button{border:0;background:transparent;border-radius:50%}.reaction-picker button{width:30px;height:30px;font-size:17px}.reaction-picker button:hover{background:#f0f2f5;transform:scale(1.12)}.reaction-badges{position:absolute;z-index:2;left:8px;bottom:-17px;display:flex;gap:3px}.bubble.outbound .reaction-badges{left:auto;right:8px}.reaction-badges button{min-width:30px;height:24px;padding:1px 7px;background:#fff;box-shadow:0 1px 3px #0003;font-size:14px}.reaction-badges small{margin-left:3px;color:#667781;font-size:10px}.bubble:has(.reaction-badges){margin-bottom:17px}.bubble.deleted{border-left:3px solid #8696a0}.deleted-message-note{margin-bottom:6px;color:#667781;font-size:12px;font-style:italic}.media-lightbox{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#0b141aeb;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.media-lightbox>section{position:relative;width:min(1100px,96vw);height:min(850px,94vh);display:flex;flex-direction:column}.media-lightbox header{flex:0 0 auto;min-height:54px;display:flex;align-items:center;gap:18px;color:#fff}.media-lightbox header strong{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-lightbox header strong small{display:block;margin-top:2px;color:#ffffffa8;font-size:11px;font-weight:400}.media-lightbox header div{display:flex;align-items:center;gap:8px}.media-lightbox .media-zoom-value{min-width:48px;color:#fff;text-align:center;font-size:12px}.media-lightbox header a,.media-lightbox header button{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:50%;color:#fff;background:#ffffff1d;text-decoration:none;font-size:22px}.media-lightbox header button[title="Ripristina zoom"]{font-size:12px}.media-lightbox-stage{min-height:0;flex:1;display:grid;place-items:center;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;cursor:default;-webkit-user-select:none;user-select:none}.media-zoom-canvas{flex:0 0 auto;display:grid;place-items:center;min-width:100%;min-height:100%}.media-zoom-canvas img{width:100%;height:100%;object-fit:contain}.media-lightbox-stage video{width:100%;height:100%;object-fit:contain}.media-lightbox-stage.pdf-stage{background:#525659}.media-lightbox-stage iframe{width:100%;height:100%;border:0;background:#fff}.attachment-preview-button{width:32px;height:32px;flex:0 0 auto;border:0;border-radius:50%;color:#075e54;background:#e4f4ef;font-size:17px}.media-lightbox-stage.zoomed{place-items:start;cursor:grab}.media-lightbox-stage.zoomed.dragging{cursor:grabbing}.media-nav{position:absolute;z-index:2;top:52%;width:48px;height:64px;border:0;border-radius:12px;color:#fff;background:#0b141a99;box-shadow:0 2px 12px #0005;font-size:42px;line-height:1}.media-nav.previous{left:12px}.media-nav.next{right:12px}.media-nav:disabled{opacity:.18;pointer-events:none}@media(max-width:600px){.attachment-card,.audio-attachment{min-width:235px;max-width:100%}.attachment-card a{width:28px;height:28px}.audio-attachment .audio-player{width:185px}.media-lightbox{padding:10px}.media-lightbox header{gap:6px;padding:0 4px}.media-lightbox header div{gap:4px}.media-lightbox header a,.media-lightbox header button{width:32px;height:32px;font-size:18px}.media-lightbox .media-zoom-value{min-width:38px}.media-nav{width:40px;height:56px}.media-nav.previous{left:6px}.media-nav.next{right:6px}}@keyframes bubble-in{0%{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none}}.conversation-search-bar{min-height:52px;display:flex;align-items:center;gap:8px;padding:7px 12px;background:#fff;border-bottom:1px solid #dfe3e5;color:#54656f;z-index:3}.conversation-search-bar>span{font-size:20px}.conversation-search-bar input{min-width:0;flex:1;height:38px;border:1px solid #d6dce0;border-radius:9px;padding:0 12px;outline:none;color:#111b21;background:#f7f8fa}.conversation-search-bar input:focus{border-color:#00a884;box-shadow:0 0 0 2px #00a8841f}.conversation-search-bar small{min-width:72px;text-align:right;white-space:nowrap}.conversation-search-bar button{width:36px;height:36px;flex:0 0 auto;border:0;border-radius:50%;background:#f0f2f5;color:#3b4a54;font-size:19px}.conversation-search-bar button:disabled{opacity:.35;cursor:default}.conversation-line.preview>span:has(.search-result-label){display:flex;align-items:center;gap:6px}.search-result-label{flex:0 0 auto;padding:2px 5px;border-radius:4px;background:#d9fdd3;color:#087d68;font-size:9px;font-weight:700;text-transform:uppercase}.conversation-line.preview mark{padding:0 2px;border-radius:2px;background:#ffe58f;color:inherit}.bubble.search-match{outline:2px solid #f0c94d;outline-offset:1px}.bubble.search-match.active-match{outline:3px solid #00a884;box-shadow:0 3px 12px #00a88433}.message-text mark{background:#ffe77a;color:inherit;border-radius:2px;padding:0 1px}.session-tabs-strip{display:flex;flex-wrap:wrap;gap:7px;overflow-x:hidden;overflow-y:auto;max-height:132px;padding:8px;background:#d9fdd3;border-bottom:1px solid #bfe8bc;scrollbar-width:thin}.session-tabs-strip>button{min-width:0;max-width:none;flex:1 1 calc(50% - 7px);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;border:1px solid #b7dfb4;border-radius:9px;padding:8px 9px;background:#f5fff3;color:#27353c;text-align:left}.session-tabs-strip>button:hover{background:#fff}.session-tabs-strip>button.active{border-color:#008069;background:#fff;box-shadow:inset 0 -3px #00a884}.session-tabs-strip>button>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.session-tabs-strip strong,.session-tabs-strip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-tabs-strip strong{font-size:12px}.session-tabs-strip small{margin-top:2px;color:#667781;font-size:10px}.session-tabs-strip b{min-width:25px;height:25px;padding:0 5px;display:grid;place-items:center;border-radius:13px;background:#00a884;color:#fff;font-size:11px}.session-tabs-strip .number-state{width:10px;height:10px;flex:none}.number-title-actions{display:flex;align-items:center;gap:8px}.number-title-actions>button{border:1px solid #cbd2d6;border-radius:7px;padding:7px 10px;background:#fff;color:#008069;font-weight:650}.number-title-actions>button:hover{background:#e7fce8}.conversation-context-menu{position:fixed;z-index:80;width:220px;padding:6px;background:#fff;border:1px solid #d8dcdf;border-radius:8px;box-shadow:0 8px 28px #0b141a38;max-height:calc(100vh - 20px);overflow-y:auto}.conversation-context-menu button{width:100%;border:0;background:#fff;border-radius:6px;padding:10px 12px;text-align:left;color:#263238}.conversation-context-menu button:hover{background:#f0f2f5;color:#008069}.conversation-context-menu button.selected{background:#e7fce8;color:#008069;font-weight:700}.context-menu-title{margin:6px 7px 3px;padding-top:7px;border-top:1px solid #edf0f2;color:#667781;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}.mine-button{position:relative;flex:0 0 auto;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#54656f;display:grid;place-items:center}.mine-button:hover,.mine-button.active{background:#d9fdd3;color:#008069}.mine-button b{position:absolute;right:-2px;top:-2px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#00a884;color:#fff;font-size:10px;display:grid;place-items:center}.marked-chat{color:#e0a21a;margin-right:5px}.assignment-chip{flex:0 1 auto;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:10px;padding:2px 6px;background:#e7fce8;color:#087d68;font-size:10px;font-style:normal}.group-icon{margin-right:5px;font-size:13px}.group-sender{display:block;margin-bottom:3px;color:#087d68;font-size:12px;font-weight:750}.workflow-filter{min-width:0;flex:1 1 125px;max-width:150px;border:1px solid #d6dce0;border-radius:18px;padding:6px 28px 6px 10px;background:#fff;color:#54656f;font-size:13px;outline:none}.workflow-filter.active{background:#e7fce8;border-color:#00a884;color:#008069}.workflow-chip{flex:0 1 auto;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:10px;padding:2px 6px;font-size:10px;font-style:normal;color:#3b4a54;background:#e9edef}.workflow-chip.da-fatturare{background:#fff1c7;color:#8a5b00}.workflow-chip.da-gestire{background:#dff4ff;color:#08658c}.workflow-chip.urgente{background:#ffe0e0;color:#b4232d}.workflow-chip.in-attesa{background:#eee6ff;color:#6842a8}.workflow-chip.completata{background:#d9fdd3;color:#087d68}.message-area.chat-positioning{visibility:hidden}.message-area{scroll-behavior:auto;overflow-anchor:none}@media(max-width:430px){.filters{overflow-x:auto}.workflow-filter{flex:0 0 135px}}.sidebar-head{gap:7px}.sidebar-head .operator-avatar{width:42px;height:42px;font-size:13px;letter-spacing:.4px;margin-right:auto}.new-chat-button{background:#d9fdd3;color:#008069;font-size:27px;font-weight:500;line-height:1}.new-chat-button:hover{background:#c4f4c8}.directory-button{font-size:19px}.hotel-checkin-button{height:38px;border:0;border-radius:10px;padding:0 10px;display:flex;align-items:center;gap:6px;background:#d9fdd3;color:#087d68;font-size:13px;font-weight:750}.hotel-checkin-button:hover{background:#c5f4bd}.hotel-checkin-button span{font-size:17px}.hotel-send-dialog{width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 70px #0005;padding:0 24px 22px}.hotel-send-dialog>header{padding:22px 0 17px;display:flex;justify-content:space-between;border-bottom:1px solid #e7ebed}.hotel-send-dialog>header h2{margin:4px 0;font-weight:500}.hotel-send-dialog>header p{margin:0;color:#667781;font-size:13px}.hotel-send-dialog>header>button{border:0;background:transparent;font-size:28px;color:#667781}.hotel-send-steps{display:grid;gap:12px;padding:20px 0}.hotel-send-steps label{display:flex;align-items:center;gap:12px}.hotel-send-steps label>b{width:30px;height:30px;flex:none;border-radius:50%;display:grid;place-items:center;background:#d9fdd3;color:#087d68}.hotel-send-steps label>span{flex:1;display:grid;gap:6px;font-size:13px;font-weight:700}.hotel-send-steps select,.hotel-send-steps input{width:100%;padding:11px 12px;border:1px solid #cbd2d6;border-radius:9px;background:#fff}.hotel-sender-summary{display:flex;align-items:center;gap:9px;background:#f0f2f5;border-radius:9px;padding:11px 13px;font-size:13px}.hotel-sender-summary span{color:#667781}.hotel-sender-summary strong{flex:1}.hotel-sender-summary button{border:0;color:#087d68;background:transparent;font-weight:700}.hotel-send-dialog>footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.hotel-send-dialog>footer button{border:0;border-radius:9px;padding:11px 16px;background:#008069;color:#fff;font-weight:700}.hotel-send-dialog>footer button.secondary{background:#eef1f2;color:#3b4a54}.hotel-send-dialog>footer button:disabled{opacity:.45;cursor:not-allowed}.new-chat-dialog{width:min(620px,100%);max-height:min(820px,calc(100dvh - 32px));overflow:hidden}.new-chat-recipient{display:flex;flex-direction:column;gap:7px;margin-top:20px;color:#3b4a54;font-weight:700}.new-chat-recipient input{width:100%;border:1px solid #cfd8dc;border-radius:9px;padding:12px 13px;outline:0;font-weight:400}.new-chat-recipient select{width:100%;border:1px solid #cfd8dc;border-radius:9px;padding:12px 13px;background:#fff;outline:0;font-weight:400}.new-chat-recipient input:focus{border-color:#00a884;box-shadow:0 0 0 3px #00a88418}.new-chat-recipient select:focus{border-color:#00a884;box-shadow:0 0 0 3px #00a88418}.new-chat-recipient small{color:#667781;font-size:12px;font-weight:400}.directory-search{display:flex;flex-direction:column;gap:7px;margin-top:16px;color:#3b4a54;font-weight:700}.directory-search input{width:100%;border:1px solid #cfd8dc;border-radius:10px;padding:12px 13px;outline:0;font-weight:400}.directory-search input:focus{border-color:#00a884;box-shadow:0 0 0 3px #00a88418}.directory-results{display:grid;gap:8px;margin-top:10px;max-height:min(360px,42dvh);overflow-y:auto;padding:2px 3px 2px 0}.directory-results article{border:1px solid #e1e7ea;border-radius:11px;padding:10px;background:#fff}.directory-results article.selected{border-color:#00a884;background:#f0fff9;box-shadow:0 0 0 2px #00a88414}.directory-contact-heading{display:flex;align-items:center;gap:10px;min-width:0}.directory-contact-heading .avatar{width:38px;height:38px;flex:0 0 38px;font-size:13px}.directory-contact-heading>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column}.directory-contact-heading strong,.directory-contact-heading small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.directory-contact-heading small{color:#667781;font-size:12px}.directory-vip{color:#8a6500;background:#fff3c4;border-radius:999px;padding:3px 7px;font-size:10px}.conversation-vip{margin-left:5px;color:#d69500;font-size:14px}.directory-phones{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px;padding-left:48px}.directory-phones button{display:flex;align-items:center;gap:7px;border:1px solid #dce3e6;border-radius:999px;padding:6px 9px;background:#f7f9fa;color:#26363f}.directory-phones button:hover,.directory-phones button.active{border-color:#00a884;background:#e8fbf3}.directory-phones button span{color:#667781;font-size:11px}.directory-phones button strong{font-size:12px}.directory-empty{padding:24px;text-align:center;color:#667781;background:#f6f8f9;border-radius:10px}.directory-selected{margin-top:10px;padding:9px 11px;color:#06765e;background:#e9fbf4;border-radius:9px;font-weight:700}.manual-recipient{margin-top:10px;border-top:1px solid #e1e7ea;padding-top:9px}.manual-recipient summary{cursor:pointer;color:#52636d;font-size:13px;font-weight:700}.manual-recipient .new-chat-recipient{margin-top:10px}.directory-overlay{padding:18px}.directory-dialog{width:min(1080px,100%);height:min(820px,calc(100dvh - 36px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 24px 70px #0005}.directory-dialog>header{flex:none;display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px 15px;border-bottom:1px solid #e5e9eb}.directory-dialog>header h2{margin:3px 0 1px;font-size:26px}.directory-dialog>header p{margin:0;color:#667781;font-size:13px}.directory-dialog>header>button{border:0;background:transparent;color:#667781;font-size:30px;line-height:1}.directory-toolbar{flex:none;display:flex;gap:10px;padding:13px 18px;background:#f7f9fa;border-bottom:1px solid #e5e9eb}.directory-toolbar label{flex:1;display:flex;align-items:center;gap:9px;padding:0 12px;background:#fff;border:1px solid #d7dee2;border-radius:10px;color:#667781}.directory-toolbar input{width:100%;min-width:0;padding:11px 0;border:0;outline:0;background:transparent}.directory-toolbar>button{flex:none;border:0;border-radius:10px;padding:0 16px;background:#008069;color:#fff;font-weight:750}.directory-browser{flex:1;min-height:0;display:grid;grid-template-columns:minmax(300px,42%) 1fr}.directory-list{min-height:0;overflow-y:auto;padding:8px;border-right:1px solid #e5e9eb;background:#fbfcfc}.directory-list>button{width:100%;display:flex;align-items:center;gap:11px;padding:10px;border:0;border-radius:10px;background:transparent;color:#263238;text-align:left}.directory-list>button:hover{background:#eef5f3}.directory-list>button.active{background:#dff7ef;box-shadow:inset 3px 0 #00a884}.directory-list>button .avatar{width:42px;height:42px;flex:0 0 42px;font-size:13px}.directory-list>button>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column}.directory-list>button strong,.directory-list>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.directory-list>button small{color:#667781;font-size:12px}.directory-load-more{padding:14px;color:#667781;font-size:12px;text-align:center}.directory-detail{min-height:0;overflow-y:auto;padding:28px;background:#fff}.directory-detail-title{display:flex;align-items:center;gap:15px;padding-bottom:22px;border-bottom:1px solid #edf0f2}.directory-detail-title .avatar{width:64px;height:64px;flex:0 0 64px;font-size:19px}.directory-detail-title>div{flex:1;min-width:0}.directory-detail-title h3{margin:0;font-size:23px;overflow-wrap:anywhere}.directory-detail-title p{margin:4px 0 0;color:#667781}.directory-edit-button{flex:none;border:1px solid #cbd8d4;border-radius:9px;padding:8px 11px;background:#fff;color:#087b65;font-weight:750}.directory-edit-form{display:grid;gap:13px;padding:20px 0}.directory-edit-form>label:not(.directory-vip-toggle){display:grid;gap:6px;color:#4b5d65;font-size:12px;font-weight:750}.directory-edit-form input,.directory-edit-form select{min-width:0;border:1px solid #cfd8dc;border-radius:9px;padding:10px 11px;background:#fff;outline:0}.directory-edit-form input:focus,.directory-edit-form select:focus{border-color:#00a884;box-shadow:0 0 0 3px #00a88418}.directory-vip-toggle{display:flex;align-items:center;gap:9px;padding:11px 12px;border-radius:10px;background:#fff8dc;color:#775800;font-weight:750}.directory-vip-toggle input{width:18px;height:18px;padding:0;accent-color:#d49b00}.directory-phone-editor{display:grid;gap:8px}.directory-phone-editor>small{color:#667781;font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}.directory-phone-editor>div{display:grid;grid-template-columns:105px 1fr 36px;gap:7px}.directory-phone-editor>div>button{border:0;border-radius:8px;background:#f2f4f5;color:#7a3535;font-size:20px}.directory-add-phone{justify-self:start;border:1px dashed #9ebcb4;border-radius:8px;padding:8px 10px;background:#f3fbf8;color:#087b65;font-weight:700}.directory-save-button{border:0;border-radius:10px;padding:11px 15px;background:#008069;color:#fff;font-weight:800}.directory-save-button:disabled{opacity:.55}.directory-edit-note{color:#667781}.directory-detail-field{padding:18px 0;border-bottom:1px solid #edf0f2}.directory-detail-field>small{display:block;margin-bottom:8px;color:#667781;font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}.directory-detail-field>a{color:#008069;font-weight:700;overflow-wrap:anywhere}.directory-detail-field>p{margin:0;color:#3b4a54}.directory-detail-phones{display:grid;gap:8px}.directory-detail-phones>div{display:grid;grid-template-columns:80px minmax(120px,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:#f5f7f8}.directory-detail-phones span{color:#667781;font-size:12px}.directory-detail-phones strong{overflow-wrap:anywhere}.directory-detail-phones button{border:0;border-radius:8px;padding:8px 11px;background:#008069;color:#fff;font-weight:750}.directory-pagination{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 18px;border-top:1px solid #e5e9eb;background:#f7f9fa;color:#667781;font-size:12px}.directory-pagination>div{display:flex;gap:8px}.directory-pagination button{border:1px solid #d4dce0;border-radius:8px;padding:8px 11px;background:#fff;color:#3b4a54;font-weight:700}.directory-pagination button:disabled{opacity:.45}.directory-pagination>small{color:#7b8991}.schedule-dialog{width:min(560px,94vw);max-height:88vh;display:flex;flex-direction:column;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 20px 65px #0005}.schedule-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid #e4e8ea}.schedule-dialog>header h2{margin:3px 0 0;font-size:21px}.schedule-dialog>header p{margin:4px 0 0;color:#667781}.schedule-dialog>header>button{border:0;background:transparent;color:#667781;font-size:28px}.schedule-body{padding:20px 22px;overflow:auto}.schedule-body>label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#33434c}.schedule-body input{padding:11px 12px;border:1px solid #cbd4d8;border-radius:9px;font:inherit}.schedule-body label small{color:#667781;font-weight:400}.schedule-preview{margin-top:18px;padding:14px;border-radius:10px;background:#f2f7f5}.schedule-preview small{display:block;margin-bottom:6px;color:#667781;text-transform:uppercase;font-weight:800}.schedule-preview p{margin:0 0 8px;white-space:pre-wrap}.schedule-dialog>footer{display:flex;justify-content:flex-end;gap:9px;padding:14px 22px;border-top:1px solid #e4e8ea}.schedule-dialog>footer button{border:0;border-radius:8px;padding:10px 15px;background:#008f75;color:#fff;font-weight:800}.schedule-dialog>footer button.secondary{background:#e8edef;color:#33434c}.schedule-dialog>footer button:disabled{opacity:.55}.scheduled-list{padding:14px 18px 20px;min-height:130px;overflow:auto}.scheduled-list article{margin-bottom:10px;padding:13px;border:1px solid #dce3e6;border-left:4px solid #d99a16;border-radius:9px}.scheduled-list article.failed{border-left-color:#d64545}.scheduled-list article.sending{border-left-color:#1687c9}.scheduled-list article>div{display:flex;justify-content:space-between;gap:12px}.scheduled-list article small{color:#667781}.scheduled-list article p{margin:9px 0;white-space:pre-wrap}.scheduled-list article>span{display:block;color:#53636c;font-size:13px}.scheduled-list article em{display:block;margin-top:7px;color:#b4232d;font-size:12px}.scheduled-list article>button{margin-top:10px;border:0;border-radius:7px;padding:7px 10px;background:#fff0f0;color:#b4232d;font-weight:700}.schedule-trigger:disabled{opacity:.4}@media(max-width:600px){.new-chat-dialog{max-height:calc(var(--app-viewport-height, 100dvh) - 16px)}.directory-results{max-height:38dvh}.directory-phones{padding-left:0}.directory-phones button{flex:1 1 145px;justify-content:space-between}.directory-overlay{padding:0}.directory-dialog{height:var(--app-viewport-height, 100dvh);max-height:none;border-radius:0}.directory-dialog>header{padding:14px 16px 11px}.directory-dialog>header h2{font-size:22px}.directory-toolbar{padding:9px;flex-wrap:wrap}.directory-toolbar label{flex-basis:100%}.directory-toolbar>button{width:100%;min-height:42px}.directory-browser{display:flex;flex-direction:column;overflow-y:auto}.directory-list{flex:0 0 auto;max-height:42dvh;border-right:0;border-bottom:1px solid #e5e9eb}.directory-detail{flex:0 0 auto;padding:18px 14px 30px}.directory-detail-title .avatar{width:50px;height:50px;flex-basis:50px}.directory-detail-title h3{font-size:19px}.directory-detail-phones>div{grid-template-columns:70px 1fr}.directory-detail-phones button{grid-column:1 / -1;width:100%}.directory-pagination{padding:9px}.directory-pagination button{padding:7px 9px}.schedule-dialog{max-height:calc(var(--app-viewport-height, 100dvh) - 24px)}.schedule-dialog>header{padding:14px 16px}.schedule-body{padding:16px}}@media(max-width:560px){.hotel-checkin-button b{display:none}.hotel-checkin-button{width:38px;justify-content:center;padding:0}.hotel-send-overlay{padding:8px}.hotel-send-dialog{padding-inline:16px}}@media(max-width:800px){html,body,#root{width:100%;height:calc(var(--app-viewport-height, 100vh) + var(--app-viewport-top, 0px));min-height:0;overflow:hidden;overscroll-behavior:none}html,body{position:fixed;top:0;right:0;bottom:auto;left:0}button,input,select,textarea{font-size:16px}.app-shell{position:fixed;top:var(--app-viewport-top, 0px);right:0;bottom:auto;left:0;width:100%;height:var(--app-viewport-height, 100vh);min-height:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#f7f8fa}.app-shell:has(.chat-panel.mobile-visible){background:#f0f2f5}.app-window,.sidebar,.chat-panel{width:100%;height:100%;min-height:0}.app-window{position:relative;overflow:hidden}.chat-panel.mobile-visible{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:flex}.sidebar-head,.chat-head{position:relative;z-index:6;flex:0 0 auto;height:54px;min-height:54px;padding:5px 7px;gap:3px;overflow:hidden}.sidebar-head .operator-avatar,.operator-avatar{width:36px;height:36px;margin-right:auto;font-size:12px}.sidebar-head .icon-button,.sidebar-head .mine-button,.sidebar-head .new-chat-button,.sidebar-head .hotel-checkin-button{width:33px;height:33px;min-width:33px;padding:0;font-size:20px}.sidebar-head .mine-button b{min-width:15px;height:15px;font-size:9px}.sidebar-head .connection-dot{width:8px;height:8px}.sidebar-head .hotel-checkin-button b{display:none}.chat-head{padding-left:5px}.chat-head .mobile-back{display:grid;place-items:center;flex:0 0 38px;width:38px;height:42px;padding:0;font-size:35px;line-height:1}.chat-head .avatar{width:36px;height:36px}.chat-head strong{font-size:14px}.chat-head .icon-button{width:34px;height:34px;font-size:20px}.session-tabs-strip{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;max-height:none;min-height:56px;padding:6px 7px;gap:6px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}.session-tabs-strip::-webkit-scrollbar{display:none}.session-tabs-strip>button{flex:0 0 clamp(130px,31vw,190px);min-height:44px;padding:5px 7px;gap:5px;scroll-snap-align:start}.session-tabs-strip strong{font-size:12px}.session-tabs-strip small{font-size:9px}.session-tabs-strip b{min-width:22px;height:22px;font-size:10px}.connection-banner{min-height:58px;padding:8px 10px}.connection-banner>span{width:32px;height:32px}.search-wrap{margin:6px 8px 3px;height:37px}.filters{padding:4px 8px 7px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}.filters::-webkit-scrollbar{display:none}.filters button{flex:0 0 auto;padding:6px 10px}.workflow-filter{flex:0 0 125px}.conversation{min-height:62px;padding:0 9px}.conversation .avatar{width:43px;height:43px;margin-right:9px}.conversation-line strong{font-size:15px}.conversation-line.preview{font-size:12px}.sidebar-foot{padding-bottom:env(safe-area-inset-bottom);height:calc(32px + env(safe-area-inset-bottom))}.message-area{min-height:0;padding:9px 8px;-webkit-overflow-scrolling:touch}.bubble{max-width:94%}.message-text{padding-right:30px;font-size:14px}.media img,.media-player{max-width:min(280px,82vw);max-height:46dvh}.attachment-card,.audio-attachment{min-width:0;width:min(270px,82vw)}.composer{position:relative;z-index:6;flex:0 0 auto;min-height:58px;padding:6px max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));gap:4px}.composer textarea{min-width:0;min-height:40px;padding:9px 10px;border-radius:12px}.composer .composer-tool{width:34px;height:38px;border-radius:10px}.composer .composer-tool svg{width:18px;height:18px}.composer .send-button{width:40px;height:40px;border-radius:11px}.quick-reply-popover,.emoji-picker{left:6px;bottom:calc(60px + env(safe-area-inset-bottom));width:calc(100% - 12px);max-height:min(420px,62dvh)}.manager-overlay,.pairing-overlay,.hotel-send-overlay,.social-overlay{padding:0;align-items:stretch;place-items:stretch}.manager-panel,.hotel-send-dialog,.side-dialog,.dashboard-dialog,.social-calendar-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;box-shadow:none}.manager-panel>header,.social-calendar-dialog>header{min-height:64px;height:auto;padding:max(9px,env(safe-area-inset-top)) 13px 9px}.manager-panel h2,.social-calendar-dialog>header h2{font-size:18px}.manager-panel>header button,.social-calendar-dialog>header button{min-width:42px;min-height:42px}.settings-tabs{flex:0 0 auto;padding:0 5px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.settings-tabs::-webkit-scrollbar{display:none}.settings-tabs button{flex:0 0 auto;padding:10px 11px 8px;font-size:13px}.settings-page{padding:15px 12px max(18px,env(safe-area-inset-bottom));gap:16px}.settings-intro{align-items:flex-start}.settings-intro>span{width:40px;height:40px}.settings-intro h3{font-size:18px}.procedure-add,.quick-reply-editor footer,.number-title,.number-title-actions,.access-heading{flex-wrap:wrap}.procedure-add button{width:100%}.quick-reply-editor,.away-editor{padding:12px}.quick-reply-editor footer>label{width:100%}.quick-reply-editor footer span,.quick-reply-editor footer button{flex:1}.quick-reply-editor footer button{min-height:42px}.manager-content{display:flex;flex-direction:column;min-height:0}.number-list{flex:0 0 auto;max-height:31dvh}.number-detail{flex:1 1 auto;padding:14px 12px max(18px,env(safe-area-inset-bottom))}.add-number{padding:9px}.access-heading>div:last-child{width:100%}.access-heading input{width:auto;min-width:0;flex:1}.access-list{max-height:none}.number-actions{position:sticky;bottom:0;padding:10px 0 max(8px,env(safe-area-inset-bottom));background:#fff}.hotel-send-dialog{display:flex;flex-direction:column;overflow:hidden;padding:0 14px max(14px,env(safe-area-inset-bottom))}.hotel-send-dialog>header{flex:0 0 auto;padding:max(14px,env(safe-area-inset-top)) 0 10px}.hotel-send-dialog>header h2{font-size:20px}.hotel-send-dialog>header p{font-size:12px}.hotel-send-steps,.new-chat-recipient{overflow:visible}.hotel-send-steps{flex:1 1 auto;min-height:0;overflow-y:auto;padding:12px 0}.hotel-send-steps label{align-items:flex-start;gap:8px}.hotel-send-dialog>footer{flex:0 0 auto;margin-top:10px}.hotel-send-dialog>footer button{flex:1;min-height:44px;padding:9px}.new-chat-dialog{overflow-y:auto}.side-dialog>header,.dashboard-dialog>header{padding:max(12px,env(safe-area-inset-top)) 14px 12px}.side-dialog>header h2,.dashboard-dialog>header h2{font-size:18px}.note-compose,.notes-list{padding:13px}.notes-list article{padding-right:65px}.dashboard-period{padding:12px 12px 0;overflow-x:auto}.dashboard-period button{flex:0 0 auto}.metric-grid{grid-template-columns:1fr;padding:12px}.dashboard-dialog>.settings-note{margin:0 12px 18px}.social-calendar-dialog>header{flex:0 0 auto}.social-calendar-body{flex:1;min-height:0;overflow-y:auto}.social-composer,.social-calendar-list{padding:14px 12px}.social-actions{flex-wrap:wrap}.social-actions button{flex:1;min-height:42px}.social-post{grid-template-columns:62px minmax(0,1fr);gap:9px;padding:8px}.social-post>img,.social-post>video{width:62px;height:62px}.social-post-title{flex-direction:column;gap:3px}.social-post-actions{flex-wrap:wrap}.conversation-context-menu{left:8px!important;right:8px!important;top:auto!important;bottom:max(8px,env(safe-area-inset-bottom));width:auto;max-height:70dvh;border-radius:14px}.toast{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));max-width:none}.media-lightbox{padding:0;place-items:stretch}.media-lightbox>section{width:100%;height:100%;max-height:none;border-radius:0;overflow:hidden}.media-lightbox header{position:relative;z-index:5;min-height:calc(54px + env(safe-area-inset-top));padding:max(7px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 7px max(8px,env(safe-area-inset-left));background:#0b141a}.media-lightbox header strong{padding-right:104px;font-size:12px}.media-lightbox header div{flex:0 0 auto;padding-right:50px}.media-lightbox header .media-zoom-value,.media-lightbox header button:not(.media-close),.media-lightbox header a[title="Apri in una nuova scheda"]{display:none}.media-lightbox header .media-close{position:fixed;z-index:10;top:max(7px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));display:grid;width:44px;height:44px;border:1px solid #ffffff55;background:#263238;font-size:30px;line-height:1;touch-action:manipulation}}@media(display-mode:standalone)and (max-width:800px){@supports (-webkit-touch-callout: none){.app-shell{padding-top:max(env(safe-area-inset-top),44px)}}}@media(max-width:380px){.sidebar-head,.chat-head{gap:1px;padding-inline:4px}.sidebar-head .operator-avatar,.operator-avatar{width:34px;height:34px}.sidebar-head .icon-button,.sidebar-head .mine-button,.sidebar-head .new-chat-button,.sidebar-head .hotel-checkin-button{width:31px;min-width:31px;height:32px}.composer .composer-tool{width:31px}.composer{gap:2px;padding-inline:4px}}@media(max-height:500px)and (orientation:landscape){.sidebar-head,.chat-head{height:48px;min-height:48px}.session-tabs-strip>button{min-height:44px}.manager-panel,.hotel-send-dialog,.side-dialog,.dashboard-dialog,.social-calendar-dialog{height:100dvh}}@media(max-width:800px){.conversation-search-bar{min-height:50px;padding:6px max(7px,env(safe-area-inset-right)) 6px max(7px,env(safe-area-inset-left));gap:5px}.conversation-search-bar>span{display:none}.conversation-search-bar input{height:38px;padding:0 10px;font-size:14px}.conversation-search-bar small{min-width:48px;max-width:72px;overflow:hidden;text-overflow:ellipsis;font-size:11px}.conversation-search-bar button{width:34px;height:34px;font-size:18px}}
