/* Message center; scoped to preserve the existing account and service layouts. */
#bottom{grid-template-columns:repeat(5,minmax(0,1fr))}
#bottom .nav-item{position:relative;flex:1;min-width:0}
.mc-unread{position:absolute;right:5px;top:0;min-width:18px;height:18px;line-height:18px;padding:0 4px;box-sizing:border-box;border-radius:12px;background:#ed414b;color:#fff;font:700 11px/18px system-ui;text-align:center;border:1px solid #fff;box-shadow:0 2px 5px #a1252020;pointer-events:none;z-index:2}
.mc-unread[hidden]{display:none!important}
.float-support{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;overflow:visible!important;z-index:55}
.float-support:active{cursor:grabbing}.float-support .mc-unread{right:-6px;top:-6px}
.mc-page{max-width:900px;margin:0 auto;padding:2px 0 20px;color:#263243}.mc-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 20px}.mc-heading h1{font-size:25px;margin:0 0 5px}.mc-heading p{font-size:13px;color:#7c8795;margin:0}.mc-heading button{font-size:12px;color:#6b5c19;background:#fff5c8;border:1px solid #f1e3a4;border-radius:18px;padding:8px 12px;white-space:nowrap}
.mc-tabs{display:flex;gap:10px;margin-bottom:15px}.mc-tabs button{position:relative;flex:1;border:1px solid #e7e9ed;border-radius:12px;background:#fff;color:#6b7482;font-size:14px;padding:13px 20px}.mc-tabs button[aria-selected="true"]{background:#ffe133;border-color:#ffe133;color:#3e351b;font-weight:700}.mc-tabs .mc-unread{right:8px;top:4px}
.mc-chat-card{background:#fff;border:1px solid #e9ecf0;border-radius:17px;overflow:hidden}.mc-chat-title{padding:17px 16px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #eceff2}.mc-chat-title strong{font-size:15px}.mc-chat-title span{font-size:11px;color:#9098a3}
#mc-thread{height:min(46dvh,460px);min-height:200px;overflow:auto;overscroll-behavior:contain;padding:16px;background:#f6f7f9;scrollbar-width:thin}.mc-bubble-row{display:flex;margin:12px 0;justify-content:flex-start}.mc-bubble-row.mc-mine{justify-content:flex-end}.mc-bubble{max-width:86%;background:#fff;border:1px solid #e9edf1;border-radius:3px 13px 13px;padding:11px 13px;box-shadow:0 2px 5px #25364a04;overflow-wrap:anywhere}.mc-mine .mc-bubble{background:#fff4b9;border-color:#f2e7ac;border-radius:13px 3px 13px 13px}.mc-bubble small{font-size:10px;color:#8a919b}.mc-bubble p{white-space:pre-wrap;font-size:14px;line-height:1.75;margin:5px 0 0}.mc-sent{display:block;text-align:right;font-size:10px;color:#9a8a45;margin-top:4px}.mc-older{display:block;margin:0 auto;background:transparent;color:#848c96;font-size:12px;padding:4px 10px}
#mc-form{padding:14px;background:#fff}.mc-input-label{display:block;font-size:12px;color:#667487;margin-bottom:6px}#mc-input{width:100%;box-sizing:border-box;resize:vertical;border:1px solid #e0e4e9;border-radius:10px;padding:10px 12px;font-family:inherit;font-size:14px;line-height:1.6;background:#fafbfd;color:#263243;min-height:74px}.mc-compose-foot{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:9px}.mc-compose-foot p{font-size:12px;color:#bd4848;flex:1;margin:0}.mc-compose-foot .primary{width:auto;padding:10px 24px;border-radius:10px;font-size:14px}
.mc-empty{padding:38px 18px;text-align:center;color:#8d96a3;font-size:13px}.mc-empty h2{color:#364456;font-size:18px}.mc-empty .primary{margin-top:14px}.mc-feedback{border:1px solid #e8ecf0;border-radius:16px;background:#fff;overflow:hidden}.mc-feedback-row{display:flex;width:100%;align-items:center;gap:12px;text-align:left;padding:18px 15px;background:#fff;border-bottom:1px solid #eff1f4;color:#344152}.mc-feedback-row:last-child{border-bottom:0}.mc-feedback-symbol{width:40px;height:40px;flex-shrink:0;background:#fff5c8;display:grid;place-items:center;border-radius:12px;color:#af8a09}.mc-feedback-symbol svg{width:21px;height:21px}.mc-feedback-row>span:nth-child(2){flex:1;min-width:0}.mc-feedback-row strong{display:block;font-size:14px;line-height:1.5}.mc-feedback-row small{display:block;color:#8a93a0;font-size:11px;line-height:1.7;margin-top:5px}.mc-feedback-row>svg{width:16px;height:16px;color:#b0b6be}.mc-dot{width:8px;height:8px;border-radius:50%;background:#ed414b;flex-shrink:0}.mc-state{font-size:12px;color:#bb4646}.mc-page button:focus-visible,.float-support:focus-visible{outline:3px solid #b68c00;outline-offset:3px}
@media(min-width:900px){body .phone #bottom .nav-item{min-width:80px;flex:0 1 auto}body .phone #bottom .mc-unread{right:1px;top:0}.mc-page{padding:10px 22px 28px}#mc-thread{height:430px;max-height:55dvh}.mc-bubble{max-width:72%}.mc-heading h1{font-size:28px}}

/* Conversation overview, based on the supplied message-center reference. */
body[data-message-view] .mc-list-page{max-width:880px;background:#fff;padding:0 0 24px;min-height:65dvh}
body[data-message-view="list"] #app{background:#fff}
.mc-list-heading{height:64px;display:flex;align-items:center;gap:8px;padding:0 5px 0 0;border-bottom:0}
.mc-list-heading h1{flex:1;text-align:center;font-size:21px;line-height:1.4;font-weight:750;color:#222;margin:0;white-space:nowrap}
.mc-back{width:92px;text-align:left;padding:0 12px;background:none;font:36px/1 system-ui;color:#8b8c8e}
#mc-read-all{width:108px;padding:10px 0;background:none;font-size:13px;white-space:nowrap;color:#333;text-align:right}
#mc-read-all:disabled{color:#a1a3a7;cursor:default}.mc-heading-space{width:92px}
.mc-sound-line{height:30px;text-align:right;padding:0 5px}.mc-sound-line button{font-size:11px;background:none;color:#96999f;padding:0 0 8px}
.mc-conversations{background:#fff}.mc-conversation{display:flex;align-items:center;gap:14px;width:100%;padding:22px 5px;background:#fff;text-align:left;color:#222;min-height:105px;border:0;position:relative}
.mc-conversation:after{content:"";position:absolute;bottom:0;left:75px;right:0;height:1px;background:#f5f5f5}
.mc-conversation-avatar{position:relative;display:grid;place-items:center;flex:0 0 57px;width:57px;height:57px;border-radius:50%;color:#fff}.mc-avatar-gold{background:#ffb000}.mc-avatar-orange{background:#ff7548}.mc-conversation-avatar>svg{width:30px;height:30px;stroke:#fff;stroke-width:1.8;fill:none}.mc-conversation-avatar .mc-unread{right:-3px;top:-3px;min-width:19px;height:19px;line-height:17px}
.mc-conversation-copy{flex:1;min-width:0}.mc-conversation-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.mc-conversation-top strong{font-size:18px;font-weight:650;color:#242424;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mc-conversation-top time{font-size:12px;color:#a3a3a3;white-space:nowrap;flex-shrink:0}.mc-conversation-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.6;color:#999}
body[data-message-view="feedback"] .mc-feedback{border:0;border-radius:0}.mc-list-page .mc-feedback-row{padding:21px 5px;min-height:100px}.mc-list-page .mc-feedback-symbol{border-radius:50%;width:52px;height:52px;background:#ff7548;color:#fff}.mc-list-page .mc-feedback-row strong{font-size:16px}.mc-list-page .mc-feedback-row small{font-size:13px;color:#999}
@media(max-width:360px){.mc-back,.mc-heading-space{width:60px}.mc-list-heading h1{font-size:19px}#mc-read-all{width:101px;font-size:12px}.mc-conversation{gap:12px}.mc-conversation-top strong{font-size:17px}}
@media(min-width:900px){body .phone .mc-list-page{padding:0 30px 35px}.mc-list-heading{height:76px}.mc-list-heading h1{font-size:25px}.mc-conversation{padding:25px 8px;min-height:115px}.mc-conversation-avatar{width:60px;height:60px;flex-basis:60px}.mc-conversation-top strong{font-size:19px}.mc-conversation-preview{font-size:15px}}
