:root{font:16px system-ui;color:#183440;background:#f3f6f8}body{margin:0}header{background:#125f70;color:white;padding:20px;display:flex;gap:24px;align-items:center;flex-wrap:wrap}header span{flex:1}main{max-width:1400px;margin:auto;padding:24px}section{min-width:0}h1{font-size:1.6rem}h2{font-size:1.2rem}label{display:block;margin:12px 0}input,select,textarea,button{font:inherit;box-sizing:border-box;padding:10px;border:1px solid #a6bac3;border-radius:5px}input,select,textarea{display:block;width:100%;background:white}button{cursor:pointer;background:#125f70;color:white;margin:4px}button:disabled{opacity:.55;cursor:wait}nav{display:flex;flex-wrap:wrap;margin:20px 0}nav button[aria-current=true]{background:#173442}.columns{display:grid;grid-template-columns:1fr 1fr;gap:28px}.columns>section,#summary{background:white;padding:20px;border-radius:8px}pre{white-space:pre-wrap;word-break:break-word;font:14px ui-monospace}.record{border-bottom:1px solid #d8e1e5;padding:12px 0}.record button{background:#edf5f7;color:#125f70;text-align:left;width:100%}.toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap}#message{min-height:1.5em;color:#8e2d1a}.line{display:grid;grid-template-columns:1fr 100px 46px;gap:8px;align-items:end}.muted{color:#526d78}#reportForm{display:flex;gap:16px;align-items:end;flex-wrap:wrap}#reportForm label{min-width:180px;flex:1}[hidden]{display:none!important}@media(max-width:850px){.columns{grid-template-columns:1fr}main{padding:12px}}

button{overflow-wrap:anywhere}input,select,textarea{min-width:0}

dt{font-weight:600;margin-top:10px}dd{margin-left:14px;overflow-wrap:anywhere}dl{margin:8px 0}

fieldset{min-inline-size:0;overflow-wrap:anywhere}

.page-nav{display:flex;gap:12px;margin:0 0 20px}.page-nav a{padding:10px 16px;border-radius:6px;background:#fff;color:#125f70;text-decoration:none;font-weight:650}.page-nav a[aria-current="page"]{background:#125f70;color:#fff}
.inbox-layout{display:grid;grid-template-columns:minmax(260px,390px) minmax(0,1fr);gap:18px}.inbox-layout>section{background:#fff;border-radius:8px;padding:16px;min-width:0}
#inboxList{max-height:72vh;overflow:auto}.inbox-thread{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:7px 9px;text-align:left;background:#f5f9fa;color:#173442;margin:0 0 4px;font-size:14px;line-height:20px}.inbox-thread-name{display:flex;align-items:center;gap:5px;flex:1;min-width:0}.inbox-thread strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inbox-unread{flex-shrink:0;font-size:11px;font-weight:650;color:#125f70}.inbox-thread small{flex-shrink:0;white-space:nowrap;font-size:10.5px;line-height:16px;color:#526d78}.inbox-thread:focus-visible{outline:2px solid #125f70;outline-offset:1px}
.inbox-controls{display:flex;gap:12px}.inbox-controls label{flex:1}.inbox-conversation{min-height:520px}
.inbox-thread{padding:4px 8px;gap:8px;line-height:16px}.inbox-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#dcebee;color:#125f70;font-size:11px;font-weight:650;overflow:hidden}.inbox-thread-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.inbox-thread-top,.inbox-thread-bottom{display:flex;align-items:center;gap:6px;min-width:0}.inbox-thread-top{height:16px}.inbox-thread-name{font-size:13.5px;line-height:16px}.inbox-thread-bottom{height:14px}.inbox-preview{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526d78;font-size:11.5px;line-height:14px}.inbox-thread-bottom .inbox-unread{font-size:10px;line-height:14px;min-width:14px;text-align:center;box-sizing:border-box}
.inbox-sidebar{display:flex;flex-direction:column;max-height:72vh}.inbox-search-label{margin:0 0 10px;font-size:13px;color:#526d78}.inbox-search-label input{margin-top:4px;font-size:14px;padding:8px}.inbox-sidebar #inboxList{min-height:0;flex:1}.inbox-thread[aria-pressed="true"]{background:#dceef0;border-color:#125f70;box-shadow:inset 3px 0 #125f70}.inbox-unread{background:#d6eee7;border-radius:9px;padding:0 5px}
#inboxMessages{height:min(48vh,490px);overflow:auto;background:#f6f8f9;border-radius:6px;padding:14px}
.inbox-message{background:white;border:1px solid #dce6e9;border-radius:8px;padding:10px 14px;margin:8px 0;max-width:85%;overflow-wrap:anywhere}.inbox-message.outbound{margin-left:auto;background:#e6f5f2}.inbox-message.internal{background:#fff4dc}.inbox-message small{color:#526d78}.inbox-message p{margin:7px 0}
@media(max-width:850px){.inbox-layout{grid-template-columns:1fr}#inboxList{max-height:220px}.inbox-controls{display:block}}


/* Inbox fills the viewport; only the list and history scroll. */
:root{--ral-header:#125f70}
body.inbox-active{height:100dvh;overflow:hidden;display:flex;flex-direction:column}
body.inbox-active>header{min-height:48px;flex:0 0 auto;box-sizing:border-box;padding:6px 16px;gap:16px;background:var(--ral-header);font-size:14px}
body.inbox-active>header button{margin:0;padding:6px 12px;font-size:13px}
body.inbox-active>main{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:none;box-sizing:border-box;padding:6px 12px 10px}
body.inbox-active #message{flex-shrink:0;margin:0;font-size:12px;line-height:16px;max-height:48px;overflow:auto}
body.inbox-active #message:empty{display:none}
body.inbox-active #app{display:flex;flex-direction:column;flex:1;min-height:0}
body.inbox-active .page-nav{flex-shrink:0;margin:0;gap:6px}
body.inbox-active .page-nav a{padding:4px 8px;font-size:12px}
body.inbox-active #inboxLink{display:none}
body.inbox-active .page-nav:has(#salesLink[hidden]):has(#departmentTasksLink[hidden]):has(#customerAllocationLink[hidden]){display:none}
body.inbox-active #inboxPage{display:flex;flex-direction:column;flex:1;min-height:0}
.inbox-active .inbox-toolbar{flex-shrink:0;min-height:44px;gap:12px;flex-wrap:nowrap}
.inbox-active .inbox-toolbar h1{font-size:18px;margin:0;flex:1}
.inbox-active .inbox-toolbar label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px}
.inbox-active .inbox-toolbar select{width:130px;padding:5px 8px;font-size:13px}
.inbox-active .inbox-toolbar button{margin:0;padding:6px 10px;font-size:13px}
.inbox-active .inbox-layout{flex:1;min-height:0;grid-template-rows:minmax(0,1fr);gap:10px}
.inbox-active .inbox-sidebar{min-height:0;max-height:none;padding:10px}
.inbox-active #inboxList{max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.inbox-active .inbox-conversation{min-height:0;display:flex;flex-direction:column;padding:0;overflow:hidden}
.inbox-conversation-header{display:flex;align-items:center;gap:12px;flex-shrink:0;min-height:48px;padding:6px 12px;box-sizing:border-box;border-bottom:1px solid #dce6e9}
.inbox-conversation-header h2{flex:1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.inbox-active .inbox-controls{display:flex;gap:8px}
.inbox-active .inbox-controls label{display:flex;align-items:center;gap:4px;flex:0 1 auto;margin:0;font-size:11px;white-space:nowrap}
.inbox-active .inbox-controls select{width:165px;padding:5px;font-size:12px}
.inbox-active #inboxStatus{width:90px}
.inbox-message-area{position:relative;flex:1;min-height:0}
.inbox-active #inboxMessages{height:100%;box-sizing:border-box;min-height:0;border-radius:0;overscroll-behavior:contain;overflow-anchor:none;padding:10px 12px}
#inboxJumpLatest{position:absolute;right:16px;bottom:8px;font-size:12px;box-shadow:0 2px 8px #18344026}
.inbox-composer{flex-shrink:0;border-top:1px solid #dce6e9;background:white;padding:7px 12px}
.inbox-composer #inboxWindow{font-size:11px;line-height:15px;margin:0 0 4px}
.inbox-reply-row{display:flex;align-items:flex-end;gap:8px}
.inbox-reply-row label{flex:1;min-width:0;margin:0}
.inbox-reply-row textarea{min-height:38px;max-height:96px;resize:vertical;padding:8px;font-size:14px;line-height:20px}
.inbox-reply-row button{margin:0;min-height:38px;padding:7px 12px;font-size:13px;flex-shrink:0}
.inbox-field-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.inbox-note-panel{margin-top:4px;font-size:12px;color:#526d78}
.inbox-note-panel summary{cursor:pointer;width:max-content}
.inbox-note-panel[open] .inbox-reply-row{margin-top:4px}
@media(max-width:1100px){.inbox-conversation-header{flex-wrap:wrap;gap:4px}.inbox-conversation-header h2{flex-basis:100%}.inbox-active .inbox-controls{width:100%}.inbox-active .inbox-controls label:first-child{flex:1}.inbox-active .inbox-controls select{width:100%;min-width:0}}
@media(max-width:850px){body.inbox-active>header{padding:6px 10px}body.inbox-active>header span{display:none}body.inbox-active>header strong{flex:1}body.inbox-active>main{padding:4px 6px 6px}.inbox-active .inbox-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(96px,27%) minmax(0,1fr);gap:6px}.inbox-active .inbox-toolbar{gap:6px}.inbox-active .inbox-toolbar h1{font-size:15px}.inbox-active .inbox-toolbar select{width:105px}.inbox-active .inbox-toolbar label{gap:3px}.inbox-active .inbox-sidebar{padding:6px}.inbox-active .inbox-search-label{margin-bottom:5px}.inbox-active .inbox-search-label input{padding:5px 8px}.inbox-conversation-header{padding:5px 8px;min-height:38px}.inbox-composer{padding:5px 8px}.inbox-reply-row button{padding:7px 8px}.inbox-composer #inboxWindow{font-size:10px;line-height:12px}}
#workspaceBrand{flex:1;min-width:0;white-space:nowrap}
@media(max-width:850px){body.inbox-active>header{gap:8px}body.inbox-active #workspaceBrand{font-size:12px}body.inbox-active>header #logout{padding:5px 7px;font-size:11px}}
.product-credit{flex:0 0 auto;padding:3px 12px 5px;color:#526d78;font-size:14px;line-height:16px;text-align:left;height:20px;box-sizing:border-box;padding-top:1px;padding-bottom:3px}
.inbox-message{width:fit-content;max-width:min(85%,760px);box-sizing:border-box;min-width:0;padding:5px 9px;margin:4px 0;border-radius:8px;font-size:16px;line-height:22px;overflow-wrap:anywhere}
.inbox-message::after{content:"";display:table;clear:both}
.inbox-message-content{white-space:pre-wrap}
.inbox-message-attachment{display:inline;font-size:13px}
.inbox-message-meta{float:right;display:inline-block;margin:4px 0 0 10px;font-size:10.5px;line-height:14px;white-space:nowrap;color:#526d78}
.inbox-message-author{display:inline-block;max-width:130px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;font-weight:600}
.inbox-message-receipt.read{color:#087eb2}
.inbox-message-receipt.failed,.inbox-message-receipt.unknown{color:#8e2d1a}
.inbox-send-failure{display:block;max-width:48ch;margin-top:3px;font-size:13px;line-height:18px;color:#8e2d1a}
@media(max-width:850px){.inbox-message{max-width:94%}}

/* Compact product identity; subtitle belongs only to Samvaad. */
.workspace-identity{flex:1;min-width:0}.workspace-identity #workspaceBrand{display:block;white-space:nowrap;line-height:18px}.workspace-identity small{display:block;font-size:10.5px;line-height:14px;color:#fff;opacity:.9}.page-nav a{display:inline-flex;align-items:center;gap:6px}.app-icon{width:16px;height:16px;flex:none}
@media(max-width:850px){.workspace-identity small{font-size:10px;line-height:13px}}

.inbox-attachment-card{display:flex;flex-direction:column;gap:4px;white-space:normal;min-width:180px;max-width:300px;padding:6px 0}.inbox-attachment-card button{align-self:flex-start;font-size:12px;margin:0;padding:4px 8px}.inbox-attachment-card small{font-size:11px}.inbox-media-thumbnail{display:block;max-width:240px;max-height:200px;object-fit:contain;cursor:zoom-in}.inbox-attachment-card audio,.inbox-attachment-card video{width:100%;max-width:280px;max-height:220px}.inbox-image-dialog{max-width:90vw;max-height:90dvh;padding:12px;border:0;border-radius:8px}.inbox-image-dialog img{display:block;max-width:85vw;max-height:75dvh;object-fit:contain}.inbox-image-dialog::backdrop{background:#0009}.inbox-attachment-draft{font-size:12px;line-height:16px;padding:4px 0;overflow-wrap:anywhere}.inbox-attachment-draft button{padding:2px 6px;font-size:11px;margin:0}.inbox-media-error{font-size:12px;color:#8e2d1a}

/* Department requests share only selected text; full chats retain existing rights. */
.inbox-message-meta .inbox-task-request{font:inherit;font-size:11px;margin:0 0 0 6px;padding:0 3px;line-height:16px;background:transparent;color:#125f70;border:0}
.department-task-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:20px}
.department-task-layout>section{background:white;border-radius:8px;padding:14px;max-height:65dvh;overflow:auto}
.department-task{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;background:#eef5f7;color:#183440;margin:0 0 8px;overflow-wrap:anywhere}
.department-task span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.department-task small{color:#526d78}
#departmentTaskDetail p,#departmentTaskDetail blockquote,.task-event{white-space:pre-wrap;overflow-wrap:anywhere}
#departmentTaskDetail blockquote{margin:8px 0;padding:10px;border-left:3px solid #125f70;background:#f3f6f8}
.task-event{padding:10px 0;border-bottom:1px solid #d8e1e5;font-size:14px}
.department-task-dialog{max-width:540px;width:calc(100% - 40px);box-sizing:border-box;max-height:90dvh;overflow:auto;border:1px solid #a6bac3;border-radius:10px;color:#183440}.department-task-dialog::backdrop{background:#18344066}
.task-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:700px){.department-task-layout{grid-template-columns:1fr}.department-task-layout>section{max-height:48dvh}#departmentTasksPage .toolbar{gap:8px}#departmentTasksPage .toolbar label{flex:1;min-width:120px}}
body.tasks-active{height:100dvh;overflow:hidden;display:flex;flex-direction:column}
body.tasks-active>header{min-height:48px;flex:none;padding:6px 16px;gap:12px;box-sizing:border-box;font-size:14px}
body.tasks-active>header button{font-size:13px;padding:6px 10px;margin:0}
body.tasks-active>main{display:flex;flex-direction:column;flex:1;min-height:0;max-width:none;width:100%;padding:6px 12px;box-sizing:border-box}
body.tasks-active #app,#departmentTasksPage{display:flex;flex-direction:column;flex:1;min-height:0}
body.tasks-active .page-nav{margin:0;gap:6px;flex:none}body.tasks-active .page-nav a{font-size:12px;padding:4px 8px}
body.tasks-active #message{font-size:12px;margin:0;min-height:0;flex:none}
#departmentTasksPage>.toolbar{gap:10px;flex:none}#departmentTasksPage h1{font-size:18px;margin:4px 0;flex:1}
#departmentTasksPage>.toolbar label{font-size:12px;margin:4px 0}#departmentTasksPage>.toolbar select,#departmentTasksPage button{font-size:13px;padding:6px 8px}
#departmentTasksPage>.muted{font-size:12px;margin:4px 0 8px;flex:none}.task-filter{font-size:12px;flex:none}
.department-task-layout{flex:1;min-height:0}.department-task-layout>section{min-height:0;max-height:none}
@media(max-width:700px){body.tasks-active>header{gap:8px}body.tasks-active #workspaceBrand{font-size:12px}body.tasks-active #logout{font-size:11px;padding:5px 7px}.department-task-layout{grid-template-rows:minmax(80px,25%) minmax(0,1fr);gap:8px}.department-task-layout>section{max-height:none;padding:10px}#departmentTasksPage>.toolbar label{min-width:100px;margin:2px 0}#departmentTasksPage .task-filter{gap:4px}}

.customer-allocation-table{overflow:auto;max-height:50dvh;background:white}.customer-allocation-table table{border-collapse:collapse;width:100%;font-size:14px}.customer-allocation-table th,.customer-allocation-table td{text-align:left;padding:8px;border-bottom:1px solid #d8e1e5;min-width:130px}.customer-allocation-editor{max-width:700px;background:white;padding:12px;margin-top:12px}.customer-allocation-editor:empty{display:none}#customerAllocationPage .toolbar input{max-width:300px}#inboxCustomerAllocation{display:block;font-size:11px;line-height:15px;overflow-wrap:anywhere}

/* Keep navigation on the conversation toolbar; allow one compact scroll row on small screens. */
.inbox-active .inbox-toolbar h1{flex:0 0 auto}
.inbox-active .inbox-toolbar .page-nav{flex:1;min-width:0;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}
.inbox-active .inbox-toolbar .page-nav a{flex:none}
.inbox-active .inbox-toolbar>label{margin-left:auto}
.account-menu{position:relative;flex:none}
header .account-menu #accountToggle{display:grid;place-items:center;width:36px;height:36px;padding:7px;margin:0;border-color:#ffffff66;border-radius:50%;background:transparent}
.account-menu svg{width:20px;height:20px}
.account-panel{position:absolute;z-index:20;right:0;top:calc(100% + 6px);min-width:140px;padding:5px;border:1px solid #dce6e9;border-radius:8px;box-shadow:0 4px 18px #18344026;background:white}
header .account-panel #logout{display:block;width:100%;margin:0;padding:9px 12px;text-align:left;background:white;color:#183440;border:0;font-size:14px}
.account-menu button:focus-visible,.inbox-image-open:focus-visible,.inbox-media-download:focus-visible{outline:2px solid #087eb2;outline-offset:2px}
.inbox-media-visual{position:relative;align-self:flex-start;max-width:100%}
.inbox-attachment-card .inbox-image-open{display:block;padding:0;border:0;background:transparent;max-width:100%;border-radius:5px;overflow:hidden;cursor:zoom-in}
.inbox-media-thumbnail{max-width:220px;max-height:160px;width:auto;height:auto}
.inbox-attachment-card .inbox-media-download{display:grid;place-items:center;position:absolute;right:4px;bottom:4px;width:32px;height:32px;padding:6px;border:1px solid #ffffff99;border-radius:50%;background:#125f70;color:white;box-shadow:0 1px 4px #0003}
.inbox-media-download svg{width:18px;height:18px}
.inbox-attachment-card:has(.inbox-media-visual){min-width:0;max-width:220px;padding:2px 0;gap:2px}
.inbox-attachment-card:has(.inbox-media-visual)>strong{font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.inbox-attachment-card:has(.inbox-media-visual)>small{font-size:10px;line-height:14px}
.inbox-media-error:empty{display:none}
.inbox-message{display:flow-root;position:relative;width:fit-content;max-width:min(85%,760px)}
.inbox-message-content a{color:#086b93;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.inbox-message:has(.inbox-attachment-visual){width:max-content;max-width:min(85%,760px)}
.inbox-attachment-card.inbox-attachment-visual{position:relative;width:max-content;min-width:0;max-width:100%;padding:2px 0}
.inbox-message:has(.inbox-attachment-visual) .inbox-message-meta{float:none;display:block;margin:2px 0 0;text-align:right;white-space:normal}
.inbox-attachment-visual .inbox-media-thumbnail{max-width:min(220px,60vw);max-height:160px}
.inbox-message-actions{float:right;display:grid;place-items:center;width:24px;height:22px;margin:0 -4px 0 5px;padding:0;border:0;background:transparent;color:#526d78;font-size:18px;line-height:22px;border-radius:4px}
.inbox-message-actions:hover,.inbox-message-actions:focus-visible{background:#125f7014;outline:2px solid #125f70;outline-offset:1px}
.inbox-attachment-visual .inbox-message-actions{position:absolute;z-index:1;right:4px;top:4px;float:none;margin:0;background:#fffffff2;border:1px solid #dce6e9;color:#125f70;box-shadow:0 1px 3px #0002}
.inbox-message-menu{position:fixed;margin:0;padding:4px;min-width:160px;max-width:calc(100vw - 16px);border:1px solid #dce6e9;border-radius:8px;box-shadow:0 4px 18px #18344026;color:#183440;background:white}
.inbox-message-menu::backdrop{background:transparent}
.inbox-message-menu button{display:block;width:100%;margin:0;padding:8px 12px;text-align:left;background:transparent;color:#183440;border:0;font-size:13px}
.inbox-message-menu button:hover,.inbox-message-menu button:focus-visible{background:#edf5f7}
.inbox-forward-dialog{max-width:420px;width:calc(100% - 32px);box-sizing:border-box;border:1px solid #a6bac3;border-radius:10px;color:#183440}
.inbox-forward-dialog::backdrop{background:#18344066}
.inbox-forward-dialog h2{margin:0 0 8px}.inbox-forward-dialog p{font-size:13px}.inbox-forward-dialog p[role=status]{color:#8e2d1a}
.inbox-context-quote{display:flex;flex-direction:column;gap:2px;min-width:0;max-width:100%;width:100%;box-sizing:border-box;padding:5px 8px;margin:0 0 5px;border:0;border-left:3px solid #125f70;border-radius:4px;background:#125f7010;color:#183440;text-align:left;white-space:normal}
.inbox-context-quote strong{font-size:12px;color:#125f70;line-height:16px}.inbox-context-quote span{font-size:12px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.inbox-reply-preview{display:flex;align-items:center;gap:6px;margin-bottom:5px;max-height:58px;min-width:0}.inbox-reply-preview .inbox-context-quote{flex:1;margin:0}.inbox-reply-preview>button{flex:none;width:28px;height:28px;margin:0;padding:0;background:transparent;color:#526d78;border:0;font-size:21px}
.inbox-message:has(>.inbox-context-quote){min-width:min(220px,60vw)}
.inbox-forwarded-label{display:block;font-size:11px;font-style:italic;line-height:16px;color:#526d78}
.inbox-message-highlight{outline:2px solid #125f70;outline-offset:2px}
.inbox-context-quote.has-thumb{display:grid;grid-template-columns:minmax(0,1fr) 40px;column-gap:6px}.inbox-context-quote.has-thumb strong,.inbox-context-quote.has-thumb span{grid-column:1}.inbox-context-thumb{grid-column:2;grid-row:1 / 3;width:40px;height:40px;object-fit:cover;border-radius:3px}
@media(max-width:700px){.inbox-active .inbox-toolbar{flex-wrap:wrap;gap:4px;min-height:38px}.inbox-active .inbox-toolbar .page-nav{order:4;flex-basis:100%;max-height:30px}.inbox-attachment-card .inbox-media-download{width:36px;height:36px}}


.inbox-day-divider{display:flex;justify-content:center;clear:both;margin:10px 0;flex:0 0 auto}
.inbox-day-divider time{font-size:12px;line-height:18px;padding:3px 10px;border-radius:7px;background:#e3ecef;color:#3b5967;box-shadow:0 1px 2px #18344018}
.inbox-forward-dialog{max-height:calc(100dvh - 32px);overflow:auto}
.inbox-forward-dialog input[type=search]{width:100%;box-sizing:border-box}
.inbox-forward-results{max-height:220px;overflow:auto;display:grid;gap:4px;margin-bottom:12px}
.inbox-forward-recipient{display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:#f4f8f9;color:#183440;text-align:left;padding:8px 10px;border:1px solid #b4c9d0;border-radius:6px;overflow-wrap:anywhere}
.inbox-forward-recipient[aria-pressed=true]{background:#dceef1;border-color:#146174;box-shadow:inset 3px 0 #146174}
.inbox-forward-recipient span{font-size:13px}

.inbox-forward-dialog .inbox-forward-search-status{color:#526d78}
.inbox-history-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;flex-shrink:0;padding:4px 10px;border-bottom:1px solid #dce6e9;font-size:11px;background:#fff}.inbox-history-bar[hidden]{display:none}.inbox-history-bar button{font-size:11px;padding:4px 7px}.inbox-search-dialog{width:min(680px,92vw);max-height:85vh;overflow:auto;border:1px solid #c5d7de;border-radius:10px}.inbox-search-dialog form{display:flex;gap:8px;flex-wrap:wrap}.inbox-search-dialog input{flex:1;min-width:140px}.inbox-search-results{display:grid;gap:6px;margin:10px 0}.inbox-search-result{display:grid;gap:5px;text-align:left;width:100%;white-space:normal;overflow-wrap:anywhere;background:#f6f8f9;color:#183440}.inbox-search-result small{color:#526d78}.inbox-search-dialog::backdrop{background:#18344055}


/* Contact directory has no compose action for contacts without conversations. */
.inbox-directory-dialog{max-width:540px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;border:1px solid #a6bac3;border-radius:10px;color:#183440}
.inbox-directory-dialog::backdrop{background:#18344066}
.inbox-directory-dialog form{display:flex;gap:8px}.inbox-directory-dialog input{min-width:0;flex:1}
.inbox-directory-dialog p{font-size:13px}.inbox-directory-results{display:grid;gap:8px;margin:12px 0}
.inbox-directory-contact{display:flex;flex-direction:column;align-items:flex-start;gap:3px;background:#f4f8f9;color:#183440;text-align:left;padding:10px;border:1px solid #b4c9d0;border-radius:6px;overflow-wrap:anywhere}
.inbox-directory-contact span{font-size:14px}.inbox-directory-contact small{font-size:12px;color:#526d78}
