
.email-workspace{max-width:1500px;margin:auto}.email-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.email-topbar h2{margin:0 0 6px;font-size:20px}.email-topbar p{margin:5px 0}.email-main-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.email-more{position:relative}.email-more summary{list-style:none;cursor:pointer}.email-more>div{position:absolute;right:0;top:44px;z-index:5;display:grid;gap:8px;padding:12px;background:#fff;border:1px solid #d9e2ee;border-radius:12px;box-shadow:0 8px 24px #19324d22;width:240px}.email-category-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 14px}.emailCategoryTab{border:1px solid #dae3ec;background:#fff;border-radius:10px;padding:10px 13px;font-weight:650;cursor:pointer;color:#28445b}.emailCategoryTab.active{background:#e1f3ef;border-color:#078884;color:#066c69}.emailCategoryTab span{background:#edf2f6;padding:2px 6px;border-radius:6px;margin-left:4px}.email-searchbar{display:flex;gap:8px;margin-bottom:12px}.email-searchbar input{flex:1;min-width:180px;width:100%;border:1px solid #d9e2ec;border-radius:9px;padding:11px 13px}.email-filters{background:white;border:1px solid #dde5ef;border-radius:10px;padding:12px;margin-bottom:12px}.email-filters summary{cursor:pointer;font-weight:650}.email-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:14px}.email-filter-grid label{display:grid;gap:6px;font-size:12px;color:#496077}.email-filter-grid select,.email-filter-grid input[type=date]{width:100%;padding:9px;border:1px solid #d9e2ec;border-radius:7px;background:#fff}.email-filter-grid .email-check{display:flex;align-items:center}.email-subject{min-width:220px;max-width:440px}.email-subject-link{border:0;background:none;color:#143650;text-align:left;padding:0;font-weight:700;cursor:pointer;font-size:13px}.email-category-label{margin:6px 0;color:#087d78;font-size:11px}.email-empty{padding:25px;text-align:center}.email-empty p{color:#65778b}.email-workspace #emailStatus{padding:6px 0 12px}.email-workspace td{vertical-align:top}.email-workspace .toolbar{justify-content:space-between}@media(max-width:850px){.email-topbar{flex-direction:column}.email-main-actions{justify-content:flex-start}.email-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.email-searchbar{flex-wrap:wrap}.email-searchbar input{flex-basis:100%}}@media(max-width:500px){.email-filter-grid{grid-template-columns:1fr}}

.email-document-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.email-document-facts>div{padding:10px;background:#f2f6fa;border-radius:8px}.email-document-facts dt{color:#60758b;font-size:11px}.email-document-facts dd{margin:5px 0 0;font-weight:600;overflow-wrap:anywhere}

@media(max-width:850px){.email-workspace .table{min-width:0;width:100%;table-layout:fixed}.email-workspace th:nth-child(1),.email-workspace td:nth-child(1),.email-workspace th:nth-child(4),.email-workspace td:nth-child(4),.email-workspace th:nth-child(5),.email-workspace td:nth-child(5){display:none}.email-workspace th:nth-child(2){width:30%}.email-workspace th:nth-child(3){width:50%}.email-workspace th:nth-child(6){width:20%}.email-workspace td{overflow-wrap:anywhere}.email-workspace .email-subject{min-width:0;max-width:none}.email-workspace .email-subject-link{overflow-wrap:anywhere}}

.email-next-action{margin:8px 0 0;color:#4c6378;font-size:11px;line-height:1.45}

.email-message-content{margin:16px 0 24px}.email-message-content .email-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;overflow:visible;font:inherit;line-height:1.6;color:#17324d;background:#f5f8fa;padding:16px;border-radius:8px}.email-body-empty{padding:16px;background:#fff6df;border-radius:8px}

/* Mailbox AI review freshness; scoped to the review notice only. */
.email-ai-freshness{border-radius:10px;padding:14px;margin:12px 0;line-height:1.65;font-size:13px;overflow-wrap:anywhere}.email-ai-freshness.is-warning{background:#fff7e6;border:1px solid #e8ba62;border-inline-start:4px solid #a65e00;color:#543605}.email-ai-freshness strong{display:block;font-size:14px}.email-ai-freshness p{margin:8px 0}.email-ai-freshness.is-warning .btn{background:#fff;border:1px solid #a65e00;color:#543605;margin-block-start:4px}.email-ai-freshness .btn:focus-visible{outline:3px solid #176e78;outline-offset:3px}
