body.ft-shell.ft-messages main.container{padding:20px 28px 16px!important}.ft-messages .page-head{margin:0 0 12px}.ft-messages .page-head h1{font-size:26px}.ft-messages .dm-tabs{margin:0 0 8px;display:flex;gap:6px}.ft-messages .dm-tabs .btn{font-size:12px;padding:7px 12px;min-height:32px;width:auto}.ft-messages .dm-new.card{padding:8px 14px;margin:0 0 10px;max-width:310px;border-radius:12px}.ft-messages .dm-new>summary{font-size:13px;min-height:24px}.ft-messages .dm-layout{display:grid;grid-template-columns:280px minmax(0,1fr);height:var(--chat-height150,65dvh);min-height:0;gap:0;margin:0;overflow:hidden;border:1px solid #dce3ee;border-radius:20px;background:#fff;box-shadow:0 8px 30px #17233c08;align-items:stretch}.ft-messages .dm-list.card{position:static;height:100%;min-height:0;overflow:auto;margin:0;border:0;border-right:1px solid #e8edf5;border-radius:0;padding:12px;background:#fff}.ft-messages .dm-list-search{font-size:11px;color:#6d7d92}.ft-messages .dm-list-search input{font-size:13px;margin:5px 0 12px;padding:9px 12px;min-height:36px}.ft-messages .dm-person{padding:10px 8px;margin:3px 0;border-radius:12px;gap:10px;min-width:0}.ft-messages .dm-person.active{background:#edf3ff}.ft-messages .chat-avatar{width:38px;height:38px;flex-basis:38px;font-size:13px}.ft-messages .chat-preview{min-width:0}.ft-messages .chat-preview strong{font-size:13px}.ft-messages .chat-preview small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ft-messages .dm-conversation.card{display:flex;flex-direction:column;height:100%;min-height:0;max-height:100%;padding:0;border:0;margin:0;border-radius:0;overflow:hidden;background:#f7f9fd}.ft-messages .chat-heading{padding:12px 18px;margin:0;background:white;border-bottom:1px solid #edf0f6;flex-shrink:0}.ft-messages .chat-heading h2{font-size:16px;margin:0}.ft-messages .dm-settings{background:#fff;margin:0;padding:3px 18px;flex-shrink:0;font-size:11px}.ft-messages .dm-settings>summary{font-size:11px;min-height:24px}.ft-messages .dm-settings[open]{max-height:25%;overflow:auto}.ft-messages .dm-log{flex:1 1 0;min-height:0;padding:12px 20px;overflow:auto}.ft-messages .dm-message{max-width:78%;width:fit-content;border:0;border-radius:16px 16px 16px 4px;padding:9px 13px;background:#fff;box-shadow:0 1px 3px #1423410c;font-size:13px;line-height:1.45;margin:8px 0}.ft-messages .dm-message.mine{margin-left:auto;background:#e6efff;border-radius:16px 16px 4px 16px}.ft-messages .dm-message small{font-size:10px;margin:3px 0;color:#6a7c96}.ft-messages .dm-message details>summary{min-height:20px;font-size:10px}.ft-messages .dm-read-form{margin:0!important;padding:0 14px;background:white}.ft-messages .dm-read-form button{font-size:10px;padding:3px 8px;min-height:24px;width:auto}.ft-messages .chat-dock150{flex:0 1 auto;min-height:0;max-height:58%;overflow:auto;overscroll-behavior:contain;border-top:1px solid #e1e8f2;background:#fff;padding:8px 14px}.ft-messages .chat-dock150 .chat-compose{position:static;bottom:auto;margin:0;padding:6px 0 0;border:0;background:#fff}.ft-messages .dm-compose-form{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:end;margin:0}.ft-messages .dm-compose-form label{font-size:0;margin:0;min-width:0}.ft-messages .dm-compose-form textarea{font-size:14px!important;min-height:42px!important;max-height:90px!important;border-radius:18px;background:#f2f5fa;padding:10px 14px!important;resize:none}.ft-messages .dm-compose-form>button{width:40px;height:40px;min-height:40px;border-radius:50%;padding:0;font-size:20px}.ft-messages .screen149{margin:0!important}.ft-messages .screen149>summary.btn{padding:5px 10px;min-height:28px;font-size:11px;border-radius:9px;width:auto}.ft-messages .screen149 form.stack{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center;padding:8px 0!important;margin:0}.ft-messages .screen149 form>label{font-size:11px;min-width:0}.ft-messages .screen149 input[type=file]{font-size:11px;padding:4px;min-height:28px;width:100%}.ft-messages .screen149 form>img{grid-column:2;grid-row:1/4;max-width:110px!important;max-height:72px!important;border-radius:8px}.ft-messages .screen149 form>small{font-size:10px;line-height:1.3}.ft-messages .screen149 form>p{margin:0;font-size:10px;overflow-wrap:anywhere}.ft-messages .screen149 form>div{grid-column:1/-1;position:sticky;bottom:0;background:white;padding:4px 0}.ft-messages .screen149 form .btn{font-size:11px;padding:6px 10px;min-height:30px;width:auto}.ft-messages .ft-chat-tools{margin:0}.ft-messages .ft-chat-tools summary{min-height:20px}.ft-messages .dm-empty-thread{margin:auto;padding:30px;text-align:center;color:#71839d}
@media(max-width:900px){body.ft-shell.ft-messages main.container{padding:8px!important}.ft-messages .dm-layout{display:block;border-radius:12px}.ft-messages .dm-list.card{border:0}.ft-messages.has-dm-peer .dm-list{display:none}.ft-messages:not(.has-dm-peer) .dm-conversation{display:none}.ft-messages .dm-log{padding:10px}.ft-messages .dm-message{max-width:88%}.ft-messages .chat-dock150{padding:6px 8px;max-height:65%}.ft-messages .chat-heading{padding:8px 12px}.ft-messages .screen149 form>img{max-width:72px!important;max-height:56px!important}.ft-messages .dm-compose-form textarea{font-size:16px!important}.ft-messages .dm-conversation .chat-compose{bottom:auto;padding-bottom:0}}
.ft-messages .dm-message.mine{color:#183a6b}.ft-messages .dm-message.mine>div{color:inherit}.ft-messages .dm-list>details>summary{font-size:11px;min-height:24px;padding:4px 0;color:#71839d}.ft-messages .dm-list>details{margin:0}.ft-messages .dm-message.mine a{color:#1254b8}
