Files
ep-mail-client/styles.css
T

241 lines
44 KiB
CSS

:root{font-family:'DM Sans',Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#252a28;background:#f4f5f1;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#f4f5f1;--panel:#fff;--line:#eaede8;--text:#252a28;--muted:#8b918b;--subtle:#f7f8f5;--accent:#55816c;--accent-soft:#edf4ef;--shadow:0 2px 10px #2636290b}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg);color:var(--text)}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #7eae90;outline-offset:2px}.app-shell{height:100vh;min-height:640px;display:flex;overflow:hidden}.rail{width:66px;flex:none;background:#edf0ea;border-right:1px solid #e5e9e2;display:flex;align-items:center;flex-direction:column;padding:17px 0 13px;gap:10px}.brand-mark{height:35px;width:35px;border-radius:12px;background:#5b826c;color:white;display:grid;place-items:center;font-size:24px;margin-bottom:21px;box-shadow:0 3px 8px #476c541d}.rail-button{height:39px;width:39px;border:0;background:transparent;color:#7e8780;border-radius:11px;font-size:20px;display:grid;place-items:center;transition:.18s}.rail-button:hover{background:#e2e8e1;color:#446a54}.rail-button.active{color:#477253;background:#dce9dd}.rail-spacer{flex:1}.avatar{border:0;border-radius:50%;height:34px;width:34px;background:#e7cbb6;color:#614c3c;font-size:11px;font-weight:700;display:grid;place-items:center}.avatar.tiny{height:27px;width:27px;font-size:9px}
.sidebar{width:244px;flex:none;background:#fff;border-right:1px solid var(--line);padding:26px 17px 14px;display:flex;flex-direction:column}.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:0 5px;margin-bottom:21px}.eyebrow{color:#969c95;font-size:9px;font-weight:700;letter-spacing:1.25px;margin:0 0 5px}.sidebar-head h1{font-family:'DM Serif Display',Georgia,serif;font-size:24px;font-weight:400;margin:0}.icon-button{border:0;background:transparent;color:#89918a;height:30px;min-width:30px;border-radius:8px;font-size:19px;display:inline-grid;place-items:center}.icon-button:hover{background:var(--subtle);color:#47544a}.account-card{display:flex;align-items:center;gap:10px;padding:10px 9px;background:#f7f8f5;border:1px solid #eff1ec;border-radius:10px;margin:0 0 22px}.account-avatar{height:30px;width:30px;border-radius:9px;background:#dce9dd;color:#477253;display:grid;place-items:center;font-family:Georgia,serif;font-weight:bold}.account-info{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.account-info strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-info span{color:#929891;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#70ad7b}.folder-nav{display:grid;gap:3px}.folder{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:12px;text-align:left;padding:9px 10px;border-radius:8px;font-size:11px;color:#707970}.folder:hover,.label-link:hover{background:#f6f8f5}.folder.active{background:#edf4ee;color:#487354;font-weight:600}.nav-glyph{width:15px;text-align:center;font-size:15px;color:#879188}.folder.active .nav-glyph{color:#578366}.count{margin-left:auto;padding:2px 6px;min-width:19px;text-align:center;border-radius:5px;background:#fff;color:#61836a;font-size:9px}.count.muted{color:#969c95}.sidebar-divider{height:1px;background:#edf0ec;margin:18px 4px 16px}.section-label{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.1px;font-weight:700;color:#a0a59f;padding:0 6px;margin-bottom:9px}.tiny-plus{border:0;background:transparent;color:#929990;font-size:18px}.label-link{border:0;background:transparent;border-radius:7px;text-align:left;display:flex;align-items:center;gap:10px;color:#727970;font-size:11px;padding:8px 10px}.label-dot{width:8px;height:8px;border-radius:50%}.dot-amber{background:#dda854}.dot-blue{background:#79a4c9}.dot-green{background:#82ab83}.sidebar-bottom{margin-top:auto}.storage{padding:13px 10px 14px;border-bottom:1px solid #eef0ec}.storage-top{display:flex;justify-content:space-between;color:#606960;font-size:10px}.storage-top span+span{color:#979d97;font-size:9px}.storage-bar{height:4px;background:#edf0eb;margin:9px 0 7px;border-radius:5px;overflow:hidden}.storage-bar i{display:block;width:28%;height:100%;background:#79a785;border-radius:5px}.storage small{font-size:9px;color:#9ba19a}.settings-button{border:0;background:transparent;color:#7e867f;display:flex;gap:10px;align-items:center;margin:10px 0 0 4px;font-size:11px;padding:7px}
.main-area{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:57px;flex:none;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:10px;color:#969c96}.breadcrumbs strong{font-weight:600;color:#475048}.crumb-divider{color:#c6cbc5}.top-actions{display:flex;align-items:center;gap:13px}.search-wrap{height:31px;width:218px;background:#f6f7f4;border:1px solid #eff0ec;border-radius:8px;display:flex;align-items:center;padding:0 9px;gap:7px;color:#90978f}.search-wrap>span{font-size:19px}.search-wrap input{border:0;outline:0;background:transparent;width:100%;font-size:10px;color:#3f4740}.search-wrap kbd{font:9px 'DM Sans',sans-serif;border:1px solid #e3e6e1;border-radius:4px;padding:2px 4px;white-space:nowrap;color:#999f99}.help-button{font-size:12px;border:1px solid #e7eae6;border-radius:50%;height:20px;min-width:20px;font-weight:600}.top-avatar{width:27px;height:27px;font-size:9px}
.content-view{flex:1;min-height:0}.mail-layout{display:grid;grid-template-columns:minmax(330px,44%) minmax(340px,1fr);padding:18px 20px 20px;gap:14px}.list-pane,.reader-pane{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);min-height:0}.list-pane{display:flex;flex-direction:column;overflow:hidden}.list-heading{padding:20px 19px 15px;display:flex;align-items:center;justify-content:space-between}.date-line{font-size:8px;font-weight:700;letter-spacing:1.25px;color:#a0a69f;margin-bottom:7px}.list-heading h2{font-family:'DM Serif Display',Georgia,serif;font-size:20px;font-weight:400;margin:0;color:#303732}.sun{font-family:sans-serif;font-size:14px;color:#dda95f;vertical-align:2px}.compose-button{border:0;border-radius:7px;background:#5b8068;color:white;padding:8px 12px;font-size:10px;font-weight:600;box-shadow:0 2px 4px #406e4f20}.compose-button:hover{background:#476f56}.compose-button span{font-size:15px;vertical-align:-1px;margin-right:4px}.toolbar{height:39px;border-top:1px solid #f2f3f1;border-bottom:1px solid #f0f2ee;display:flex;align-items:center;padding:0 12px;gap:6px;color:#888f88}.toolbar .icon-button{font-size:15px;height:26px;min-width:26px}.tool-checkbox{font-size:14px;color:#818981;border:0;background:transparent;width:25px}.toolbar-divider{height:16px;width:1px;background:#e9ece8;margin:0 3px}.toolbar-spacer{flex:1}.pagination{font-size:9px;color:#90968f;white-space:nowrap}.message-list{overflow-y:auto;flex:1}.message{min-height:68px;display:grid;grid-template-columns:18px 32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 12px;border-bottom:1px solid #f0f2ef;cursor:pointer;transition:background .14s}.message:hover{background:#fafbf9}.message.selected{background:#f3f7f2;box-shadow:inset 2px 0 #669074}.message.unread .sender,.message.unread .subject{font-weight:700;color:#303832}.row-check{appearance:none;width:13px;height:13px;border:1px solid #d7dcd6;border-radius:3px;cursor:pointer;margin:0}.row-check:checked{appearance:auto;accent-color:#63866d}.contact-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:700;color:#55483d;background:#e9d8c9}.message-body{min-width:0;overflow:hidden}.sender{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#626a63;margin-bottom:4px}.subject{font-size:10px;color:#3e4640;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:3px}.snippet{font-size:9px;color:#a1a69f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-meta{height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;padding:2px 0;min-width:31px}.time{font-size:8px;color:#989e98;white-space:nowrap}.star{border:0;background:transparent;color:#c9cec8;font-size:14px;line-height:1;padding:0}.star.on{color:#dcaa56}.list-foot{height:37px;flex:none;border-top:1px solid #f0f2ef;display:flex;align-items:center;justify-content:space-between;padding:0 14px;color:#929991;font-size:9px}.list-foot .online-dot{margin-right:6px}.text-button{border:0;background:transparent;color:#708878;font-size:9px}.reader-pane{overflow-y:auto;padding:0 24px 24px}.reader-empty{height:100%;display:grid;place-items:center;text-align:center;color:#9ca39c}.empty-icon{height:52px;width:52px;margin:0 auto 12px;border-radius:17px;background:#f1f5ef;color:#71937a;display:grid;place-items:center;font-size:24px}.reader-empty h3{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:19px;color:#525a53;margin:0 0 6px}.reader-empty p{font-size:10px;color:#9aa098;margin:0}.reader-header{padding:24px 0 17px;border-bottom:1px solid #edf0ec}.reader-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.reader-tags{display:flex;gap:6px}.tag{font-size:8px;border-radius:4px;padding:4px 7px;background:#f4f3e9;color:#a38a52}.tag.green{background:#edf4ee;color:#62816a}.reader-tools{display:flex;gap:2px}.reader-subject{font-family:'DM Serif Display',Georgia,serif;font-size:22px;line-height:1.25;margin:0 0 17px;font-weight:400;color:#343a35}.sender-row{display:flex;align-items:center;gap:9px}.sender-row .contact-avatar{width:34px;height:34px;font-size:10px}.sender-details{min-width:0;flex:1}.sender-details strong{display:block;font-size:10px;color:#434a44}.sender-details span{display:block;font-size:9px;color:#999f99;margin-top:3px}.message-date{font-size:8px;color:#999f99;white-space:nowrap}.reader-body{padding:21px 1px 15px;font-size:11px;line-height:1.85;color:#616a62}.reader-body p{margin:0 0 13px}.reader-body .signoff{margin-top:24px}.attachment{margin-top:18px;padding:11px;border:1px solid #e8ece7;border-radius:8px;display:flex;align-items:center;gap:10px;max-width:260px}.file-icon{height:33px;width:30px;border-radius:6px;background:#f4eeec;color:#ad7466;display:grid;place-items:center;font-size:15px}.attachment-info{flex:1}.attachment-info strong{display:block;font-size:9px;color:#59615a}.attachment-info small{font-size:8px;color:#a1a69f}.download{border:0;background:transparent;color:#8b938b}.reply-bar{border-top:1px solid #edf0ec;padding-top:15px;display:flex;gap:8px}.reply-button{padding:8px 12px;border:1px solid #e3e8e3;border-radius:7px;background:#fff;color:#6e786e;font-size:9px}.reply-button:hover{background:#f6f8f5}.reply-button.primary{background:#5b8068;border-color:#5b8068;color:white}.page-view{padding:22px 28px;overflow:auto}.hidden,[hidden]{display:none!important}
.modal-overlay{position:fixed;inset:0;background:#2028204a;z-index:10;display:grid;place-items:center;padding:20px}.compose-modal{width:min(600px,95vw);background:white;border-radius:13px;box-shadow:0 18px 65px #17271c35;overflow:hidden}.modal-head{padding:15px 19px;background:#f6f7f4;border-bottom:1px solid #ebeee9;display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:600}.modal-close{border:0;background:transparent;color:#89908a;font-size:19px}.compose-fields{padding:9px 20px 0}.compose-line{display:flex;align-items:center;gap:10px;min-height:39px;border-bottom:1px solid #f0f1ef;color:#969d96;font-size:10px}.compose-line input{flex:1;border:0;outline:0;font-size:10px;color:#424942}.compose-line input::placeholder{color:#aeb3ad}.compose-subject{border:0;width:100%;font-size:14px!important;padding:15px 0;outline:0;color:#303831}.compose-body{width:100%;height:220px;resize:vertical;border:0;border-top:1px solid #f0f1ef;padding:15px 20px;outline:0;font-size:11px;line-height:1.6;color:#414941}.compose-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 20px 15px}.send-button{border:0;border-radius:6px;background:#5b8068;color:white;padding:8px 16px;font-weight:600;font-size:10px}.discard{border:0;background:transparent;color:#929890;font-size:10px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#293b2e;color:#fff;padding:10px 16px;border-radius:8px;font-size:11px;box-shadow:0 5px 20px #1c2b2030;transition:.2s;z-index:20}.toast.visible{opacity:1;transform:translate(-50%,0)}
/* Wasteland: warm paper, weathered ink and rust. */
body.wasteland{--bg:#eee8db;--panel:#faf6ed;--line:#e6dccb;--text:#373129;--muted:#998a76;--subtle:#f3ede1;--accent:#a75d3d;--accent-soft:#f5e8dc;--shadow:0 2px 10px #44351d0c}body.wasteland .rail{background:#e7dece;border-color:#dfd4c2}body.wasteland .brand-mark{background:#ad6847}body.wasteland .rail-button.active{background:#f1dfcd;color:#a15a39}body.wasteland .rail-button:hover{background:#eee2d2;color:#9a5739}body.wasteland .sidebar,body.wasteland .topbar{background:#faf6ed;border-color:#e6dccb}body.wasteland .account-card{background:#f4eee2;border-color:#ece2d2}body.wasteland .account-avatar{background:#ead8bf;color:#9b633e}body.wasteland .folder.active{background:#f3e6d7;color:#995c3d}body.wasteland .folder.active .nav-glyph{color:#a76645}body.wasteland .count{color:#9e6947}body.wasteland .list-pane,body.wasteland .reader-pane,body.wasteland .compose-modal{background:#faf6ed;border-color:#e6dccb}body.wasteland .compose-button,body.wasteland .send-button,body.wasteland .reply-button.primary{background:#a76645;border-color:#a76645}body.wasteland .compose-button:hover{background:#905538}body.wasteland .message.selected{background:#f5ede0;box-shadow:inset 2px 0 #ad704c}body.wasteland .reader-empty .empty-icon{background:#f3e8d8;color:#a8734c}body.wasteland .reader-button,body.wasteland .reply-button{background:#faf6ed}
@media(max-width:1040px){.sidebar{width:205px;padding-inline:13px}.mail-layout{grid-template-columns:minmax(310px,47%) minmax(320px,1fr);padding:13px;gap:10px}.reader-pane{padding:0 17px 20px}.topbar{padding:0 16px}.message{gap:7px;padding-inline:9px}.list-heading{padding-inline:14px}}
@media(max-width:800px){.sidebar{width:174px;padding-inline:10px}.mail-layout{grid-template-columns:minmax(290px,1fr) minmax(290px,1fr);padding:9px;gap:8px}.reader-pane{padding-inline:13px}.list-heading h2{font-size:17px}.search-wrap{width:170px}}
.page-heading{display:flex;align-items:center;justify-content:space-between;margin:5px 0 20px}.page-heading h2{font-family:'DM Serif Display',Georgia,serif;font-size:28px;font-weight:400;margin:0 0 5px}.page-subtitle{font-size:11px;color:#929991;margin:0}.cal-actions{display:flex;align-items:center;gap:7px}.outline-button{border:1px solid #e3e8e2;background:#fff;border-radius:6px;padding:7px 10px;color:#69736a;font-size:10px}.calendar-card{background:var(--panel);border:1px solid var(--line);border-radius:11px;overflow:hidden;box-shadow:var(--shadow)}.calendar-week{height:38px;display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid var(--line);align-items:center;text-align:center;color:#969d95;font-size:9px;font-weight:600}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.cal-cell{height:100px;border-right:1px solid #f0f1ee;border-bottom:1px solid #f0f1ee;padding:8px 7px;cursor:pointer;min-width:0}.cal-cell:nth-child(7n){border-right:0}.cal-cell:hover{background:#fafbf9}.cal-cell.outside{background:#fafbf9;color:#d3d7d1}.cal-number{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;font-size:9px;color:#737c73;margin-bottom:4px}.cal-cell.today .cal-number{background:#5b8068;color:#fff}.event-chip{padding:4px 5px;margin:3px 0;border-radius:4px;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#edf4ee;color:#5b8068}.event-chip.gold{background:#f7f1e4;color:#a28449}.event-chip.blue{background:#edf2f7;color:#6885a5}.upcoming{margin:20px 0 0}.upcoming h3{font-family:'DM Serif Display',Georgia,serif;font-size:17px;font-weight:400;margin:0 0 8px}.upcoming-row{display:flex;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);background:var(--panel);border-radius:8px;margin:6px 0;max-width:380px}.event-date{width:36px;height:38px;border-radius:7px;background:#edf4ee;color:#62816a;display:grid;place-content:center;text-align:center;font-size:8px;line-height:1.3}.event-date strong{font-size:14px}.gold-date{background:#f7f1e4;color:#a28449}.upcoming-row div{display:grid;gap:4px}.upcoming-row div strong{font-size:10px}.upcoming-row small{font-size:9px;color:#979e97}.contact-search{height:38px;max-width:370px;display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--panel);border:1px solid var(--line);border-radius:8px;color:#8c958c;margin-bottom:15px}.contact-search input{border:0;background:transparent;outline:0;flex:1;font-size:10px}.contacts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:10px}.contact-card{position:relative;display:flex;align-items:center;gap:11px;padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow)}.contact-card>.contact-avatar{height:39px;width:39px;font-size:11px;flex:none}.contact-card>div:nth-child(2){min-width:0;display:grid;gap:4px}.contact-card>div:nth-child(2) strong{font-size:10px}.contact-card>div:nth-child(2) span{font-size:9px;color:#838b83;overflow:hidden;text-overflow:ellipsis}.contact-card>div:nth-child(2) small{font-size:8px;color:#a0a69f}.contact-more{margin-left:auto;align-self:flex-start}.contact-email{position:absolute;right:12px;bottom:10px;border:0;background:transparent;color:#829386;font-size:12px}body.wasteland .outline-button,body.wasteland .upcoming-row{background:#faf6ed;border-color:#e6dccb}body.wasteland .calendar-card{background:#faf6ed;border-color:#e6dccb}body.wasteland .cal-cell:hover{background:#f7f0e4}body.wasteland .event-chip{background:#f2e9da;color:#996445}body.wasteland .cal-cell.today .cal-number{background:#a76645}
.account-card[role="button"]{cursor:pointer;appearance:none}.account-card[role="button"]:hover{border-color:#dce5dc}.account-card[role="button"]:focus-visible{outline:2px solid #7eae90;outline-offset:2px}.account-note{font-size:10px;line-height:1.5;color:#848c84;margin:7px 0 12px}.account-note+.compose-line{margin-top:1px}.account-status{font-size:10px;line-height:1.5;color:#9a6346;min-height:15px;margin:9px 0 2px}
.attachment{box-sizing:border-box;width:100%;max-width:420px;min-width:0}.attachment-info{min-width:0;overflow:hidden}.attachment-info strong{max-width:100%;overflow-wrap:anywhere;word-break:break-word;line-height:1.4}.attachment .download{flex:none}.account-list{max-height:55vh;overflow-y:auto}.account-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf0ec}.account-row-info{min-width:0;display:grid;gap:5px}.account-row-info strong{font-size:11px;overflow-wrap:anywhere}.account-row-info small{font-size:9px;color:#929991;overflow-wrap:anywhere}.account-row-actions{display:flex;align-items:center;gap:8px;flex:none}.account-current{font-size:9px;color:#61836a}.account-row .outline-button{padding:6px 9px}.account-row .discard{padding:6px}
/* EP Wasteland follows the Eternity Project Gitea theme palette. */
body.ep-wasteland{color-scheme:dark;--bg:#161210;--panel:#1b1714;--line:#4a3f33;--text:#d4cbbc;--muted:#a89a86;--subtle:#241e19;--accent:#8fae3d;--accent-soft:#2b301d;--shadow:0 2px 12px #0008;background:var(--bg);color:var(--text)}
body.ep-wasteland .rail,body.ep-wasteland .sidebar-head,body.ep-wasteland .topbar,body.ep-wasteland .modal-head{background:#211b17;border-color:#4a3f33}
body.ep-wasteland .brand-mark,body.ep-wasteland .compose-button,body.ep-wasteland .send-button,body.ep-wasteland .reply-button.primary{background:#8fae3d;border-color:#8fae3d;color:#161210}
body.ep-wasteland .brand-mark{box-shadow:0 3px 10px #0006}
body.ep-wasteland .avatar{background:#4a3f33;color:#e7e2d3}
body.ep-wasteland .compose-button:hover{background:#a2bd5b;border-color:#a2bd5b}
body.ep-wasteland .rail-button{color:#b5a995}
body.ep-wasteland .rail-button:hover,body.ep-wasteland .icon-button:hover,body.ep-wasteland .folder:hover,body.ep-wasteland .label-link:hover{background:#2b241e;color:#e7e2d3}
body.ep-wasteland .rail-button.active,body.ep-wasteland .folder.active{background:#343b22;color:#a2bd5b}
body.ep-wasteland .sidebar,body.ep-wasteland .list-pane,body.ep-wasteland .reader-pane,body.ep-wasteland .page-view{background:#1b1714;color:#d4cbbc}
body.ep-wasteland .sidebar{border-color:#4a3f33}
body.ep-wasteland .account-card,body.ep-wasteland .search-wrap,body.ep-wasteland .toolbar,body.ep-wasteland .calendar-card,body.ep-wasteland .contact-search,body.ep-wasteland .contact-card,body.ep-wasteland .upcoming-row,body.ep-wasteland .compose-modal{background:#211b17;border-color:#4a3f33;color:#d4cbbc}
body.ep-wasteland .account-avatar,body.ep-wasteland .contact-avatar{background:#343b22;color:#a2bd5b}
body.ep-wasteland .account-info span,body.ep-wasteland .storage small,body.ep-wasteland .section-label,body.ep-wasteland .date-line,body.ep-wasteland .page-subtitle,body.ep-wasteland .pagination,body.ep-wasteland .time,body.ep-wasteland .sender-details span,body.ep-wasteland .message-date,body.ep-wasteland .contact-card>div:nth-child(2) span,body.ep-wasteland .contact-card>div:nth-child(2) small,body.ep-wasteland .upcoming-row small{color:#a89a86}
body.ep-wasteland .sidebar-head h1,body.ep-wasteland .breadcrumbs strong,body.ep-wasteland .list-heading h2,body.ep-wasteland .page-heading h2,body.ep-wasteland .upcoming h3,body.ep-wasteland .sender-details strong,body.ep-wasteland .reader-subject,body.ep-wasteland .reader-empty h3,body.ep-wasteland .contact-card>div:nth-child(2) strong,body.ep-wasteland .upcoming-row div strong{color:#e7e2d3}
body.ep-wasteland .eyebrow,body.ep-wasteland .breadcrumbs,body.ep-wasteland .icon-button,body.ep-wasteland .folder,body.ep-wasteland .label-link,body.ep-wasteland .settings-button,body.ep-wasteland .nav-glyph,body.ep-wasteland .search-wrap,body.ep-wasteland .help-button{color:#b5a995}
body.ep-wasteland .online-dot{background:#8fae3d}
body.ep-wasteland .folder.active .nav-glyph,body.ep-wasteland .count,body.ep-wasteland .text-button,body.ep-wasteland .contact-email,body.ep-wasteland .account-current{color:#a2bd5b}
body.ep-wasteland .count{background:#2b301d}
body.ep-wasteland .sidebar-divider,body.ep-wasteland .storage,body.ep-wasteland .storage-bar,body.ep-wasteland .toolbar-divider,body.ep-wasteland .reader-header,body.ep-wasteland .reply-bar,body.ep-wasteland .message,body.ep-wasteland .list-foot,body.ep-wasteland .account-row{border-color:#4a3f33}
body.ep-wasteland .storage-bar{background:#4a3f33}
body.ep-wasteland .storage-bar i{background:#8fae3d}
body.ep-wasteland .message{background:#1b1714}
body.ep-wasteland .message:hover,body.ep-wasteland .message.selected{background:#241e19}
body.ep-wasteland .message.selected{box-shadow:inset 2px 0 #8fae3d}
body.ep-wasteland .sender,body.ep-wasteland .subject,body.ep-wasteland .message.unread .sender,body.ep-wasteland .message.unread .subject{color:#e7e2d3}
body.ep-wasteland .snippet,body.ep-wasteland .list-foot,body.ep-wasteland .reader-body{color:#b5a995}
body.ep-wasteland .star{color:#8f8170}
body.ep-wasteland .star.on{color:#a2bd5b}
body.ep-wasteland .reader-empty{color:#a89a86}
body.ep-wasteland .empty-icon,body.ep-wasteland .event-date,body.ep-wasteland .cal-cell.today .cal-number{background:#343b22;color:#a2bd5b}
body.ep-wasteland .attachment,body.ep-wasteland .file-icon{background:#211b17;border-color:#4a3f33;color:#a2bd5b}
body.ep-wasteland .attachment-info strong,body.ep-wasteland .attachment-info small{color:#d4cbbc}
body.ep-wasteland .reply-button,body.ep-wasteland .outline-button{background:#211b17;border-color:#4a3f33;color:#d4cbbc}
body.ep-wasteland .reply-button:hover,body.ep-wasteland .outline-button:hover{background:#2b241e}
body.ep-wasteland .modal-overlay{background:#000b}
body.ep-wasteland .compose-fields,body.ep-wasteland .compose-footer{background:#1b1714}
body.ep-wasteland .compose-line,body.ep-wasteland .compose-body{border-color:#4a3f33;color:#b5a995}
body.ep-wasteland .compose-line input,body.ep-wasteland .compose-subject,body.ep-wasteland .compose-body,body.ep-wasteland .contact-search input{background:transparent;color:#e7e2d3}
body.ep-wasteland .compose-line input::placeholder,body.ep-wasteland .compose-body::placeholder{color:#8f8170}
body.ep-wasteland .modal-close,body.ep-wasteland .discard{color:#a89a86}
body.ep-wasteland .toast{background:#211b17;color:#e7e2d3;border:1px solid #4a3f33}
body.ep-wasteland .calendar-week{border-color:#4a3f33;color:#a89a86}
body.ep-wasteland .cal-cell{border-color:#342c24;color:#d4cbbc}
body.ep-wasteland .cal-cell:hover,body.ep-wasteland .cal-cell.outside{background:#241e19}
body.ep-wasteland .cal-cell.outside{color:#8f8170}
body.ep-wasteland .cal-number{color:#d4cbbc}
body.ep-wasteland .event-chip,body.ep-wasteland .gold-date{background:#343b22;color:#a2bd5b}
body.ep-wasteland .event-chip.gold,body.ep-wasteland .event-chip.blue{background:#2b241e;color:#d4cbbc}
body.ep-wasteland .tag,body.ep-wasteland .tag.green{background:#343b22;color:#a2bd5b}
body.ep-wasteland .row-check{border-color:#8f8170}
body.ep-wasteland .row-check:checked{accent-color:#8fae3d}
/* EP Daylight follows the Eternity Project Gitea theme palette. */
body.ep-daylight{color-scheme:light;--bg:#f1f1e9;--panel:#fbfbf6;--line:#b9c5bc;--text:#263a3d;--muted:#70827b;--subtle:#e9eee4;--accent:#526a2c;--accent-soft:#e9eee4;--shadow:0 2px 10px #11212b12;background:var(--bg);color:var(--text)}
body.ep-daylight .rail,body.ep-daylight .sidebar-head,body.ep-daylight .topbar,body.ep-daylight .modal-head{background:#e8e9df;border-color:#b9c5bc}
body.ep-daylight .brand-mark,body.ep-daylight .compose-button,body.ep-daylight .send-button,body.ep-daylight .reply-button.primary{background:#526a2c;border-color:#526a2c;color:#f1f1e9}
body.ep-daylight .brand-mark{box-shadow:0 3px 8px #11212b20}
body.ep-daylight .compose-button:hover{background:#435722;border-color:#435722}
body.ep-daylight .sidebar,body.ep-daylight .list-pane,body.ep-daylight .reader-pane,body.ep-daylight .page-view{background:#fbfbf6;color:#263a3d}
body.ep-daylight .sidebar{border-color:#b9c5bc}
body.ep-daylight .account-card,body.ep-daylight .search-wrap,body.ep-daylight .toolbar,body.ep-daylight .calendar-card,body.ep-daylight .contact-search,body.ep-daylight .contact-card,body.ep-daylight .upcoming-row,body.ep-daylight .compose-modal{background:#fbfbf6;border-color:#b9c5bc;color:#263a3d}
body.ep-daylight .rail-button,body.ep-daylight .icon-button,body.ep-daylight .folder,body.ep-daylight .label-link,body.ep-daylight .settings-button,body.ep-daylight .nav-glyph,body.ep-daylight .help-button{color:#59706b}
body.ep-daylight .rail-button:hover,body.ep-daylight .icon-button:hover,body.ep-daylight .folder:hover,body.ep-daylight .label-link:hover,body.ep-daylight .reply-button:hover,body.ep-daylight .outline-button:hover{background:#e9eee4;color:#263a3d}
body.ep-daylight .rail-button.active,body.ep-daylight .folder.active{background:#e9eee4;color:#526a2c}
body.ep-daylight .account-avatar,body.ep-daylight .contact-avatar{background:#e9eee4;color:#526a2c}
body.ep-daylight .avatar{background:#b9c5bc;color:#11212b}
body.ep-daylight .sidebar-head h1,body.ep-daylight .breadcrumbs strong,body.ep-daylight .list-heading h2,body.ep-daylight .page-heading h2,body.ep-daylight .upcoming h3,body.ep-daylight .sender-details strong,body.ep-daylight .reader-subject,body.ep-daylight .reader-empty h3,body.ep-daylight .contact-card>div:nth-child(2) strong,body.ep-daylight .upcoming-row div strong{color:#11212b}
body.ep-daylight .eyebrow,body.ep-daylight .breadcrumbs,body.ep-daylight .date-line,body.ep-daylight .page-subtitle,body.ep-daylight .section-label,body.ep-daylight .account-info span,body.ep-daylight .storage small,body.ep-daylight .pagination,body.ep-daylight .time,body.ep-daylight .sender-details span,body.ep-daylight .message-date,body.ep-daylight .contact-card>div:nth-child(2) span,body.ep-daylight .contact-card>div:nth-child(2) small,body.ep-daylight .upcoming-row small{color:#59706b}
body.ep-daylight .online-dot,body.ep-daylight .storage-bar i{background:#8fae3d}
body.ep-daylight .folder.active .nav-glyph,body.ep-daylight .count,body.ep-daylight .text-button,body.ep-daylight .contact-email,body.ep-daylight .account-current{color:#526a2c}
body.ep-daylight .count{background:#e9eee4}
body.ep-daylight .sidebar-divider,body.ep-daylight .storage,body.ep-daylight .reader-header,body.ep-daylight .reply-bar,body.ep-daylight .message,body.ep-daylight .list-foot,body.ep-daylight .account-row,body.ep-daylight .calendar-week,body.ep-daylight .cal-cell{border-color:#b9c5bc}
body.ep-daylight .storage-bar,body.ep-daylight .toolbar-divider{background:#b9c5bc}
body.ep-daylight .message{background:#fbfbf6}
body.ep-daylight .message:hover,body.ep-daylight .message.selected{background:#e9eee4}
body.ep-daylight .message.selected{box-shadow:inset 2px 0 #8fae3d}
body.ep-daylight .sender,body.ep-daylight .subject,body.ep-daylight .message.unread .sender,body.ep-daylight .message.unread .subject{color:#11212b}
body.ep-daylight .snippet,body.ep-daylight .list-foot,body.ep-daylight .reader-body{color:#59706b}
body.ep-daylight .star{color:#70827b}
body.ep-daylight .star.on{color:#526a2c}
body.ep-daylight .reader-empty{color:#59706b}
body.ep-daylight .empty-icon,body.ep-daylight .event-date,body.ep-daylight .cal-cell.today .cal-number{background:#e9eee4;color:#526a2c}
body.ep-daylight .attachment,body.ep-daylight .file-icon{background:#fbfbf6;border-color:#b9c5bc;color:#526a2c}
body.ep-daylight .attachment-info strong{color:#263a3d}
body.ep-daylight .attachment-info small{color:#59706b}
body.ep-daylight .reply-button,body.ep-daylight .outline-button{background:#fbfbf6;border-color:#b9c5bc;color:#263a3d}
body.ep-daylight .tag,body.ep-daylight .tag.green,body.ep-daylight .event-chip{background:#e9eee4;color:#526a2c}
body.ep-daylight .event-chip.gold,body.ep-daylight .event-chip.blue,body.ep-daylight .gold-date{background:#e8e9df;color:#59706b}
body.ep-daylight .cal-cell{color:#263a3d}
body.ep-daylight .cal-cell:hover,body.ep-daylight .cal-cell.outside{background:#e9eee4}
body.ep-daylight .cal-cell.outside{color:#70827b}
body.ep-daylight .cal-number{color:#263a3d}
body.ep-daylight .modal-overlay{background:#11212b55}
body.ep-daylight .compose-fields,body.ep-daylight .compose-footer{background:#fbfbf6}
body.ep-daylight .compose-line,body.ep-daylight .compose-body{border-color:#b9c5bc;color:#59706b}
body.ep-daylight .compose-line input,body.ep-daylight .compose-subject,body.ep-daylight .compose-body,body.ep-daylight .contact-search input{background:transparent;color:#11212b}
body.ep-daylight .compose-line input::placeholder,body.ep-daylight .compose-body::placeholder{color:#70827b}
body.ep-daylight .modal-close,body.ep-daylight .discard{color:#59706b}
body.ep-daylight .toast{background:#11212b;color:#f1f1e9}
body.ep-daylight .row-check:checked{accent-color:#526a2c}
.compose-modal{max-height:90vh;display:flex;flex-direction:column}.compose-modal>.modal-head,.compose-modal>.compose-footer{flex:none}.compose-fields{min-height:0;flex:0 1 auto;overflow-y:auto}.compose-modal>.compose-body{flex:1 1 120px;min-height:90px;height:auto}
.snooze-options .outline-button{width:100%;text-align:left}
.mail-rules{padding:10px 0;border-bottom:1px solid var(--line)}.mail-rule-row{display:grid;grid-template-columns:1fr 1fr 120px 1fr auto;gap:6px;align-items:center;padding:5px 0}.mail-rule-row input,.mail-rule-row select{box-sizing:border-box;min-width:0;width:100%;padding:7px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);font-size:10px}.mail-rule-row input:disabled{opacity:.55}.mail-rule-row .discard{white-space:nowrap}
@media(max-width:650px){.mail-rule-row{grid-template-columns:1fr 1fr}.mail-rule-row .mail-rule-action,.mail-rule-row .mail-rule-value{grid-column:auto}}
.search-filters{position:absolute;right:78px;top:calc(100% + 8px);z-index:12;display:grid;grid-template-columns:1fr 1fr;gap:10px;width:min(360px,calc(100vw - 32px));padding:14px;border:1px solid var(--border,#d8ddd5);border-radius:12px;background:var(--panel,#fff);box-shadow:0 8px 28px #17201724}.search-filters.hidden{display:none}.search-filters label{display:grid;gap:4px;font-size:12px}.search-filters input,.search-filters select{min-width:0;border:1px solid var(--border,#d8ddd5);border-radius:7px;padding:7px;background:transparent;color:inherit;font:inherit}.search-filters .filter-checkbox{display:flex;align-items:center;gap:7px}.search-filters .filter-checkbox input{min-width:auto}.search-filters .text-button{grid-column:1/-1;justify-self:start}.top-actions{position:relative}
body.ep-wasteland .search-filters{background:#211c18;border-color:#4a3f33;color:#d4cbbc}body.ep-wasteland .search-filters input,body.ep-wasteland .search-filters select{border-color:#4a3f33;color:#d4cbbc}
body.ep-daylight .search-filters{background:#fbfbf6;border-color:#b9c5bc;color:#263a3d}
.mail-safety-warning{margin:10px 16px;padding:12px 14px;border:1px solid #d69b43;border-left:4px solid #b87321;border-radius:8px;background:#fff6df;color:#5b3c17;font-size:12px}.mail-safety-warning strong{display:block}.mail-safety-warning ul{margin:7px 0;padding-left:18px}.mail-safety-warning small{display:block;line-height:1.4}.mail-links{padding:12px 16px;border-top:1px solid var(--line,#eaede8)}.mail-links h3{margin:0 0 8px;font-size:12px}.mail-safety-intro{font-size:11px;color:#8d4a16}.mail-link-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;margin-top:6px;border:1px solid var(--line,#eaede8);border-radius:8px;font-size:11px}.mail-link-row>div{min-width:0;display:grid;gap:3px}.mail-link-row span,.mail-link-row small{overflow-wrap:anywhere;color:#727970}.mail-link-risky{border-color:#d69b43;background:#fff8ea}.mail-link-open{flex:none;border:1px solid #9ba99b;border-radius:6px;background:transparent;padding:6px 8px;font-size:10px}.mail-link-open:disabled{opacity:.55;cursor:wait}
body.ep-wasteland .mail-safety-warning{background:#392719;border-color:#a8793e;color:#f0d4a3}body.ep-wasteland .mail-link-row{border-color:#4a3f33}body.ep-wasteland .mail-link-risky{background:#392719;border-color:#a8793e}body.ep-wasteland .mail-link-row span,body.ep-wasteland .mail-link-row small{color:#cbbba0}
body.ep-daylight .mail-safety-warning{background:#fff6df;color:#5b3c17}body.ep-daylight .mail-link-risky{background:#fff8ea;border-color:#d69b43}
.folder-add{border:0;background:transparent;color:#929990;font-size:18px;cursor:pointer}.folder-add:hover{color:#487354}.section-label+.folder-nav:empty{display:none}.custom-folder span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compose-fields code{font-family:monospace}.shortcut-input{text-transform:none}#reset-shortcuts{margin-top:8px}
.attachments-modal{width:min(720px,94vw)}.attachment-toolbar{display:flex;gap:8px;margin-bottom:10px}.attachment-toolbar input{flex:1}.attachment-list{max-height:60vh;overflow:auto;display:grid;gap:8px}.attachment-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:8px}.attachment-row-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.attachment-row-info strong,.attachment-row-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-preview{flex-basis:100%;max-height:320px;overflow:auto;padding:8px;font-size:12px}.attachment-preview-image{max-width:100%;max-height:300px;display:block}.attachment-preview-text{margin:0;white-space:pre-wrap;word-break:break-word}.preview-attachment{font-size:14px}
.pgp-heading{margin:16px 0 4px;font-size:13px}.pgp-actions{display:flex;gap:8px;margin-top:8px}#open-encryption-keys{margin-top:12px}
.pgp-keys-modal .attachment-list{grid-template-columns:minmax(0,1fr)}.pgp-keys-modal .attachment-row{min-width:0}.pgp-keys-modal .attachment-row-info{flex:1 0 100%}.pgp-keys-modal .attachment-row-info strong,.pgp-keys-modal .attachment-row-info small{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.pgp-keys-modal .attachment-row>button{max-width:100%;padding:8px;font-size:12px}.pgp-keys-modal .attachment-row>.compose-line{flex:1 1 180px;min-width:0}.pgp-keys-modal .pgp-trust{margin-left:0;max-width:100%}.pgp-keys-modal .pgp-actions{flex-wrap:wrap}
.pgp-prompt{z-index:2000}.pgp-prompt-box{max-width:420px}
.pgp-status,.pgp-banner{display:flex;flex-direction:column;gap:2px;margin:10px 0;padding:10px 12px;border-radius:8px;border:1px solid var(--line,#c9d1c8);font-size:13px}
.pgp-status small{opacity:.85}.pgp-ok{border-color:#3d7a4f;background:rgba(61,122,79,.12)}.pgp-warn{border-color:#b8860b;background:rgba(184,134,11,.14)}.pgp-bad{border-color:#b3261e;background:rgba(179,38,30,.14)}
.pgp-banner button,.pgp-status button{align-self:flex-start;margin-top:6px}
.pgp-compose{display:flex;align-items:center;gap:12px;margin-right:auto;font-size:13px}.pgp-compose label{display:flex;align-items:center;gap:4px}.pgp-compose small{opacity:.8}
.pgp-trust{margin-left:8px}
.draft-delete{margin-top:4px;font-size:15px;opacity:.55}.draft-delete:hover{opacity:1;color:#b3261e}.pgp-prompt-box{width:min(380px,92vw)}
.reader-body img{display:block;max-width:100%;height:auto;margin:12px 0;border-radius:6px}.reader-body table{max-width:100%;border-collapse:collapse}.reader-body th,.reader-body td{border:1px solid var(--line);padding:5px}.remote-image-notice{margin:14px 0 0;padding:12px;border:1px solid #d7a85c;border-radius:8px;background:#fff8e9;color:#664a23;font-size:10px;line-height:1.5}.remote-image-notice p{margin:0 0 8px}.remote-image-notice .reply-button{background:transparent;color:inherit;border-color:#d7a85c}body.ep-wasteland .remote-image-notice{background:#3a3022;color:#e6d1a8;border-color:#806b44}body.ep-daylight .remote-image-notice{background:#fff8e9;color:#664a23;border-color:#d7a85c}
.reader-back{display:none;border:0;background:transparent;color:var(--accent);font-size:12px;padding:5px 8px 5px 0;white-space:nowrap}
.mail-security-option input[type=checkbox]{flex:0 0 auto;width:17px;height:17px}
@media(max-width:1000px),(max-height:500px) and (orientation:landscape) and (max-width:1200px){
body{min-width:320px;min-height:100dvh;overflow:hidden}
.app-shell{height:100dvh;min-height:0;flex-direction:column}
.sidebar{order:0;position:relative;width:100%;height:auto;max-height:88px;padding:5px 8px 0;border-right:0;border-bottom:1px solid var(--line);overflow:hidden}
.sidebar-head,.folders-head,.sidebar-divider,.sidebar>.section-label,.sidebar>.label-link,#custom-labels{display:none!important}
.account-card{height:36px;margin:0 64px 4px 0;padding:4px 7px;gap:7px}
.account-avatar{width:26px;height:26px}
.sidebar-bottom{position:absolute;top:3px;right:5px;margin:0;padding:0}
.storage{display:none}
.settings-button{margin:0;padding:8px;font-size:0}
.settings-button span{font-size:17px}
#mail-nav{display:flex;flex:none;gap:3px;min-height:0;max-height:42px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none}
#mail-nav::-webkit-scrollbar{display:none}
#mail-nav .folder{width:auto;min-width:max-content;flex:none;gap:5px;padding:6px 9px}
#mail-nav .nav-glyph{display:none}
#custom-folders{display:contents}
.rail{order:2;width:100%;height:54px;flex-direction:row;justify-content:center;gap:24px;padding:4px 0;border-right:0;border-top:1px solid var(--line)}
.brand-mark,.rail-spacer{display:none}
.rail-button{height:42px;width:42px}
.main-area{order:1;flex:1;min-height:0;width:100%;overflow:hidden}
.topbar{height:48px;padding:0 8px;gap:5px}
.breadcrumbs{display:none}
.top-actions{flex:1;min-width:0;gap:4px}
.search-wrap{flex:1;width:auto;min-width:0}
.search-wrap kbd,.help-button{display:none}
.top-avatar{flex:none}
.mail-layout{display:flex;flex:1;min-height:0;flex-direction:column;padding:0;gap:0;overflow:hidden}
.list-pane,.reader-pane{width:100%;height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}
.reader-pane{display:none;padding:10px 12px 20px;overflow:auto}
body.reader-open .mail-layout .list-pane{display:none}
body.reader-open .mail-layout .reader-pane{display:block}
.reader-back{display:inline-flex}
.reader-topline{gap:8px}
.reader-subject{font-size:19px}
.sender-row{flex-wrap:wrap}
.message{grid-template-columns:16px 30px minmax(0,1fr) auto;gap:6px;padding:8px}
.list-heading{padding:10px 12px}
.date-line{display:none}
.list-heading h2{font-size:20px}
.compose-button{padding:8px 10px}
.page-view{padding:12px;overflow:auto}
.page-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}
.page-heading h2{font-size:24px}
.cal-actions{max-width:100%;flex-wrap:wrap}
.calendar-card{overflow-x:auto}
.calendar-week,.calendar-grid{min-width:560px}
.cal-cell{height:78px;padding:4px}
.contacts-grid{grid-template-columns:1fr}
.contact-card{min-width:0}
.compose-modal{width:100%;max-width:600px;max-height:calc(100dvh - 20px);border-radius:10px}
.modal-overlay{padding:10px}
.compose-fields{padding:8px 12px 0}
.compose-line{min-height:44px;font-size:12px;gap:8px}
.compose-line input,.compose-line select{min-width:0;font-size:14px}
.compose-line input[type=checkbox]{flex:0 0 auto;width:20px;height:20px}
.compose-line span{flex:0 1 54%;line-height:1.25}
.compose-line input:not([type=checkbox]){flex:1;max-width:100%;min-width:0}
.compose-footer{gap:8px;padding:10px 12px;flex-wrap:wrap;justify-content:flex-end}
.compose-footer .pgp-compose{flex:1 0 100%;flex-wrap:wrap;margin-right:0;gap:4px 12px}
.compose-footer .send-button{order:99;padding:10px 18px;font-size:12px}
.compose-body{padding:12px}
.account-note,.account-status{font-size:12px}
.mail-rule-row{grid-template-columns:1fr;gap:6px}
.mail-rule-row>*{grid-column:1}
.search-filters{right:8px;top:calc(100% + 4px)}
}
.sidebar{overflow-y:auto}#mail-nav{overflow-y:auto;min-height:150px;flex:0 1 auto;scrollbar-width:thin;align-content:start}#custom-folders{display:contents}.folders-head{flex:none}.sidebar>:not(#mail-nav){flex-shrink:0}.folders-head+.folder-nav{margin-top:0}
@media(max-width:1000px),(max-height:500px) and (orientation:landscape) and (max-width:1200px){
.reader-pane{overflow-x:hidden}
.reader-header,.reader-topline,.sender-row,.sender-details,.reader-body{min-width:0;max-width:100%}
.reader-subject,.reader-body,.reader-body p,.reader-body li,.reader-body a,.reader-body td,.reader-body th{overflow-wrap:anywhere;word-break:break-word}
.reader-body table{display:block;width:100%;max-width:100%;overflow-x:auto;table-layout:fixed}
.reader-body pre,.reader-body code{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.sender-row .message-date{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.attachment{width:100%;max-width:100%;min-width:0}
}
@media(max-height:500px) and (orientation:landscape) and (max-width:1200px){
.sidebar{max-height:72px;padding-top:3px}
.account-card{height:30px;margin-bottom:2px}
#mail-nav{height:34px;max-height:34px}
#mail-nav .folder{height:29px;padding-block:4px}
.rail{height:44px;gap:14px}
.rail-button{height:36px;width:36px}
.topbar{height:42px}
.list-heading{padding-block:6px}
.toolbar{height:32px}
.message{min-height:54px}
.list-foot{height:30px}
.reader-pane{padding-bottom:10px}
}
@media(max-width:1000px),(max-height:500px) and (orientation:landscape) and (max-width:1200px){.sidebar{overflow:hidden}#mail-nav{display:flex;flex-direction:row;align-items:center;height:42px;min-height:0;max-height:42px;flex:none;overflow-x:auto;overflow-y:hidden;align-content:normal}#mail-nav .folder{height:34px;align-self:center}}
.conversation-toggle{display:block;width:100%;padding:8px 12px;border:0;border-bottom:1px solid var(--border,#ddd);background:transparent;color:inherit;text-align:left;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}
.conversation-toggle:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.conversation-replies .message{padding-left:22px}