/* Central de atendimento: compacta, clara e adaptável. */
html,body{max-width:100%;overflow-x:clip}
.sidebar{background:linear-gradient(180deg,#112b49,#0c1b31);border-right:1px solid #ffffff0d}
.nav-item{padding:13px 15px;border-radius:12px;transition:background .15s}
.nav-item.active{background:linear-gradient(115deg,#1689ff,#006be8);box-shadow:0 6px 18px #007aff25}
.topbar{min-height:72px}.account-badge:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#1689ff;margin-right:7px}
.inbox-content{max-width:none;padding:25px 30px 28px;height:calc(100dvh - 72px);display:flex;flex-direction:column;min-height:480px}
.inbox-content .page-heading{margin-bottom:21px;flex-shrink:0}.inbox-content .eyebrow{font-size:9px;margin-bottom:7px;letter-spacing:2px}
.inbox-content h1{font-size:29px;margin:0 0 8px;letter-spacing:-1px}.inbox-content .page-heading p{font-size:13px}
.inbox{height:auto;min-height:0;flex:1;grid-template-columns:320px minmax(0,1fr);border-color:#dce5ef;border-radius:20px;box-shadow:0 8px 40px #183a6410}
.conversation-list{display:flex;flex-direction:column;overflow:hidden;background:#fff;min-width:0}
.inbox-list-head{padding:22px 20px 17px;border-bottom:1px solid #e8eef5;flex-shrink:0}
.inbox-list-head>div{display:flex;align-items:center;gap:9px;margin-bottom:15px;font-size:16px;letter-spacing:-.3px}
.conversation-count{display:inline-grid;place-items:center;min-width:25px;height:24px;border-radius:8px;background:#eaf3ff;color:#007aff;font-size:11px;font-weight:700}
.inbox-list-head input{font-size:13px;padding:11px 13px;background:#f4f7fb;border:1px solid #e7edf5;border-radius:11px}
.conversation-items{overflow:auto;flex:1;padding:9px}
.conversation{display:flex;align-items:center;gap:12px;border:1px solid transparent;border-radius:12px;padding:15px 11px;margin-bottom:4px;transition:background .15s}
.conversation:hover{background:#f5f8fc}.conversation.selected{background:#edf5ff;border-color:#d7e9ff}
.contact-avatar{flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:linear-gradient(140deg,#e5f1ff,#d4e7ff);color:#126bd1;display:grid;place-items:center;font-size:13px;font-weight:800;letter-spacing:.3px}
.conversation-info{min-width:0;flex:1}.conversation strong{font-size:14px;letter-spacing:-.15px}.conversation small{max-width:100%;font-size:10px;margin-top:3px;color:#8191a7}.conversation small:last-child{font-size:12px;color:#5e728c;margin-top:6px}
.conversation-arrow{font-size:22px;color:#a3b5cd}.conversation.selected .conversation-arrow{color:#007aff}
.chat{background:#f5f8fc}.chat-head{padding:15px 24px;min-height:83px;background:#fff;gap:12px}.chat-person{flex:1;min-width:0}.chat-head strong{font-size:15px}.chat-head small{font-size:11px;color:#8190a5;margin-top:2px}.chat-head .contact-avatar{width:40px;height:40px;flex-basis:40px}
.chat-head .btn{border-color:#d8e5f5;background:#f7faff;color:#326ca9;border-radius:9px;font-size:11px;padding:8px 12px}
.messages{padding:25px 28px;gap:14px;background-color:#f6f8fc;background-image:radial-gradient(#bdd0e03d .8px,transparent .8px);background-size:19px 19px}
.bubble{align-self:flex-start;max-width:min(76%,620px);padding:12px 16px;border:1px solid #e3eaf2;background:#fff;border-radius:3px 16px 16px 16px;box-shadow:0 2px 5px #17395d04;font-size:14px;white-space:normal}
.message-text{white-space:pre-wrap;line-height:1.65}.bubble.out{background:#e3f0ff;border-color:#d0e5ff;border-radius:16px 3px 16px 16px;align-self:flex-end}
.bubble small{font-size:9px;line-height:1.5;margin-top:7px;text-align:right;color:#8090a6;white-space:normal}
.compose{padding:16px 20px;background:#fff;gap:12px;align-items:flex-end;border-top:1px solid #e3eaf3}.compose textarea{height:48px;min-height:48px;max-height:140px;padding:13px 15px;border-radius:12px;background:#f7f9fc;border-color:#e0e9f4;font-size:14px;line-height:1.5;resize:vertical}
.send-message{height:48px;padding:0 19px;border-radius:12px;box-shadow:0 4px 10px #007aff20;gap:10px}.send-message>span:last-child{font-size:20px;font-weight:400}
.chat-welcome{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px;color:#213e62;background:radial-gradient(ellipse at center,#fff,#f2f7fe)}
.welcome-symbol{display:grid;place-items:center;width:76px;height:76px;border-radius:24px;background:#e5f1ff;color:#007aff;font-size:39px;margin-bottom:24px;border:1px solid #d6e8ff}.chat-welcome h2{font-size:24px;letter-spacing:-.7px;margin-bottom:13px}.chat-welcome p{font-size:13px;color:#7a8ca5;max-width:310px;line-height:1.8}.welcome-note{margin-top:30px;font-size:8px;letter-spacing:2px;color:#91a4be}.chat-back{display:none}
@media(max-width:1100px) and (min-width:761px){.inbox{grid-template-columns:270px minmax(0,1fr)}.inbox-content{padding:22px}.chat-head{padding:15px}.messages{padding:20px}.bubble{max-width:88%}}
@media(max-width:760px){.topbar{min-height:66px}.inbox-content{height:calc(100dvh - 66px);min-height:440px;padding:19px 12px 12px}.inbox-content .page-heading{margin-bottom:16px;padding:0 6px}.inbox-content h1{font-size:25px}.inbox-content .eyebrow{display:none}.inbox-content .page-heading p{font-size:12px;max-width:300px}.inbox{display:flex;border-radius:16px;min-height:0}.conversation-list{width:100%;max-height:none;border:0}.inbox-list-head{padding:19px}.conversation-items{padding:8px}.conversation{padding:16px 11px}.conversation strong{font-size:15px}.conversation small{max-width:100%}.inbox .chat{display:none;height:100%;min-height:0;width:100%}.inbox.chat-open .chat{display:flex}.inbox.chat-open .conversation-list{display:none}.chat-back{display:block;border:0;background:none;font-size:31px;color:#007aff;padding:0 5px 3px 0;line-height:1}.chat-head{padding:12px;min-height:74px;gap:9px}.chat-head strong{font-size:14px}.chat-head .contact-avatar{width:34px;height:34px;flex-basis:34px;border-radius:11px;font-size:11px}.chat-head .btn{max-width:109px;padding:7px 8px;font-size:10px;line-height:1.4}.messages{padding:19px 14px;gap:12px}.bubble{max-width:90%;font-size:14px}.bubble small{font-size:9px}.compose{padding:11px 10px calc(11px + env(safe-area-inset-bottom));gap:8px}.compose textarea{font-size:16px;height:46px;min-height:46px;padding:10px 12px}.send-message{width:46px;height:46px;min-height:46px;padding:0}.send-message>span:first-child{display:none}.send-message>span:last-child{font-size:24px}.chat-welcome{padding:25px}}
