.dm-inbox-button{position:relative}.dm-inbox-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dm-inbox-button.has-unread:after{content:'';position:absolute;right:7px;top:6px;width:8px;height:8px;border-radius:50%;background:#a9d7ff;box-shadow:0 0 0 2px #142231}
.dm-dialog{box-sizing:border-box;width:min(480px,calc(100% - 24px));height:min(680px,82dvh);max-height:82dvh;border:1px solid #b2d5ff20;border-radius:22px;background:#142130;color:#eaf3ff;padding:0;overflow:hidden}.dm-dialog[open]{display:flex;flex-direction:column}.dm-dialog::backdrop{background:#070e19aa}.dm-header{position:static;display:flex;align-items:center;gap:10px;padding:12px 14px;background:#1b2c3d;border-bottom:1px solid #ffffff08;flex-shrink:0}.dm-header h2{font-size:17px!important;line-height:1.3;margin:0!important;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left!important}.dm-header button{min-width:44px;min-height:44px;border:0;border-radius:12px;background:#ffffff07;color:#cbe5ff;font-size:22px}.dm-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;padding:0 14px}.dm-empty{margin:auto!important;text-align:center;font-size:14px;color:#a6bcd2;line-height:1.7;max-width:280px}.dm-inbox-row{display:flex;gap:12px;align-items:center;background:transparent;color:#dbe9f8;padding:16px 4px;border:0;border-bottom:1px solid #ffffff09;text-align:left;cursor:pointer}.dm-avatar{flex:0 0 44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#487392,#2b455f);color:#e3f1ff}.dm-inbox-row>span:nth-child(2){display:grid;gap:5px;min-width:0;flex:1}.dm-inbox-row strong{font-size:14px}.dm-inbox-row small{font-size:12px;color:#99b0c7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-count{background:#a6d4ff;color:#152639;font-size:10px;min-width:21px;height:21px;border-radius:50%;display:grid;place-items:center}.dm-options{display:flex;justify-content:space-between;gap:10px}.dm-options button{min-height:44px;font-size:12px}.dm-privacy{font-size:10px!important;line-height:1.5!important;color:#8ea6bf;margin:0 0 10px!important;text-align:left!important}.dm-log{flex:1;min-height:70px;overflow:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:6px 0 14px;overscroll-behavior:contain}.dm-message{max-width:85%;background:#22374b;padding:10px 13px;border-radius:16px 16px 16px 5px;flex-shrink:0;overflow-wrap:anywhere}.dm-message.mine{align-self:flex-end;background:#a9d2fa;color:#102d45;border-radius:16px 16px 5px 16px}.dm-message p{font-size:13px!important;line-height:1.6!important;white-space:pre-wrap;margin:0 0 5px!important;text-align:left!important;color:inherit!important}.dm-message small{font-size:9px;opacity:.65}.dm-report{background:transparent;border:0;color:#a6bdd3;font-size:10px;padding:8px;margin:-4px 0 -4px 8px}.dm-earlier{align-self:center;background:transparent;border:0;color:#abcce9;min-height:44px;font-size:12px}.dm-composer{display:flex;gap:8px;align-items:flex-end;padding:12px 14px;border-top:1px solid #ffffff0d;flex-shrink:0}.dm-composer textarea{box-sizing:border-box;flex:1;min-width:0;min-height:44px;max-height:100px;resize:vertical;border:1px solid #adcff51a;background:#ffffff04;color:#edf5ff;border-radius:15px;padding:12px;font:inherit;font-size:16px}.dm-composer button{min-height:44px;border-radius:14px;font-size:12px}.dm-status{font-size:11px!important;margin:0!important;padding:0 14px 10px;color:#a9bed4;flex-shrink:0}.dm-status:empty{padding:0}.dm-tools{font-size:12px;flex-shrink:0}.dm-tools:empty{display:none}.dm-tools p{font-size:12px!important}.dm-tools select{max-width:100%;padding:8px;background:#22374b;color:white;border:1px solid #ffffff20;border-radius:10px}.dm-tools button{min-height:44px;margin:6px}.dm-dialog button:focus-visible{outline:2px solid #a9d2fa;outline-offset:2px}

/* Fadhi blue inbox refinement */
.dm-dialog{background:#101a27;border-radius:26px;box-shadow:0 28px 90px #02081270}.dm-header{background:transparent;padding:16px 18px}.dm-header h2{font-size:20px!important;letter-spacing:-.5px}.dm-body{padding:0 18px}.dm-avatar{border-radius:17px;background:linear-gradient(145deg,#385d7c,#1f364d);font-weight:600}.dm-inbox-row{padding:19px 0}.dm-inbox-row strong{font-size:15px}.dm-inbox-row small{font-size:13px}.dm-message{background:#1e3044;border:1px solid #ffffff05}.dm-message.mine{background:#b7d9ff;border:0}.dm-composer{background:#101a27;padding:14px 18px}.dm-composer textarea{border-radius:19px;background:#182739}.dm-composer button{border-radius:16px;background:#b7d9ff;color:#122c43}.dm-request-panel{padding:12px 0;flex-shrink:0}.dm-request-panel p{font-size:13px!important;color:#a9bdd3}.dm-request-panel button{margin-right:8px;min-height:44px}.dm-dialog button:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.dm-dialog{width:calc(100% - 16px);height:86dvh;max-height:86dvh;border-radius:23px}.dm-header{padding:12px}.dm-body{padding:0 13px}.dm-composer{padding:12px 13px}}

.dm-receipt{font-weight:500}.dm-receipt.is-read{color:#174e83;font-weight:650}

@media(max-width:600px){
 .dm-dialog.dm-keyboard-open{position:fixed;top:var(--dm-visible-top,8px);bottom:auto;margin:0 auto;height:var(--dm-visible-height);max-height:var(--dm-visible-height)}
 .dm-keyboard-open .dm-header{padding:6px 12px}.dm-keyboard-open .dm-options button{min-height:32px}.dm-keyboard-open .dm-composer{padding:8px 13px}.dm-composer textarea{resize:none}
}
