@font-face{font-family:LocalUI;src:local("Segoe UI")}*{box-sizing:border-box}body{margin:0;font-family:LocalUI,"Segoe UI",Arial,sans-serif;color:#19313b;background:#f5f7f9;font-size:14px}button,input,select,textarea{font:inherit}button,a,label.file-button,summary{touch-action:manipulation}button{cursor:pointer;border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;padding:10px 15px;transition:background .15s}button:disabled{opacity:.55;cursor:wait}button:hover{background:#edf2f4}input,select,textarea{width:100%;border:1px solid #dbe3e8;background:#fff;border-radius:8px;padding:11px 12px;outline:none;color:#19313b}input:focus,select:focus,textarea:focus{border-color:#137d82;box-shadow:0 0 0 3px #137d8210}textarea{resize:vertical;line-height:1.6}label{display:block;font-size:12px;color:#647781;font-weight:600;margin:14px 0}label>input,label>select,label>textarea{margin-top:7px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}.hidden{display:none!important}.primary{background:#137d82;color:white;font-weight:600;min-height:42px}.primary:hover{background:#0d696e}.outline{border:1px solid #d4e0e5;background:white;min-height:40px}.subtle{color:#68818c;font-weight:500}.wide{width:100%;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;font-size:19px;font-weight:750;letter-spacing:-.6px;white-space:nowrap}.brandmark{width:39px;height:39px;background:#137d82;color:#fff;display:grid;place-items:center;border-radius:11px;font-size:25px;font-weight:500;letter-spacing:-5px;padding-right:4px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#84959d;margin-top:4px;font-weight:600}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#137d82}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.9px;font-weight:650}h2{font-size:24px;letter-spacing:-.7px;font-weight:650}h3{font-size:17px}p{line-height:1.7}.muted{color:#7c8f98;font-size:12px;line-height:1.7}.notice{background:#eef6f5;color:#477378;padding:12px 15px;border:1px solid #dbeae9;border-radius:9px;font-size:12px;line-height:1.6}.error{background:#fff4f0;border-color:#f5d5c9;color:#a14e38;white-space:pre-line}.brandmark,.avatar{user-select:none}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#ecf4f2;padding:48px 9%;position:relative;display:flex;flex-direction:column;overflow:hidden}.login-copy{max-width:510px;margin:auto 0;padding:65px 0}.login-copy h1{font-size:62px;line-height:1.1;letter-spacing:-2.5px;margin:26px 0;color:#173d42}.login-copy p{font-size:17px;max-width:370px;color:#6b8487}.provider-row{display:flex;gap:10px;align-items:center;margin:36px 0;font-size:12px;color:#5a7479}.provider{display:inline-grid;place-items:center;flex-shrink:0;border-radius:8px;width:30px;height:30px;font-size:15px;font-weight:750}.gmail{background:#fff0ed;color:#d16752}.yahoo{background:#f1eaff;color:#7650b4}.imap{background:#e5f2f1;color:#177e86}.provider-row .provider:not(:first-child){margin-left:16px}.story-note{display:flex;align-items:center;gap:12px;margin-top:65px;color:#2e6266;font-size:12px;line-height:1.6}.story-note small{color:#839c9e}.login-footer{font-size:11px;color:#93a4a5}.login-form{display:grid;place-items:center;background:#fff;padding:50px}.login-form>div{max-width:350px;width:100%}.login-form h2{font-size:31px;margin:20px 0 12px}.login-form form{margin-top:36px}.login-form form .primary{margin-top:18px}.login-help{font-size:11px;color:#8a9aa1;line-height:1.8;margin-top:28px}.workspace{height:100dvh;display:flex;overflow:hidden}.sidebar{width:230px;flex-shrink:0;background:#fbfcfd;border-right:1px solid #e2e8ed;display:flex;flex-direction:column;padding:28px 17px 12px}.sidebar .brand{font-size:17px;gap:9px;margin:0 5px 31px}.sidebar .brandmark{width:34px;height:34px;font-size:23px}.sidebar .brand small{font-size:7px;letter-spacing:1.2px}.compose-button{width:100%;height:46px;justify-content:flex-start;padding-left:20px;margin-bottom:29px;box-shadow:0 5px 10px #137d8214}.nav-label{font-size:9px;letter-spacing:1.6px;color:#9aabb4;font-weight:700;margin:0 12px 14px}nav button{display:flex;justify-content:flex-start;width:100%;gap:13px;font-size:12px;color:#788d96;padding:11px 14px;margin:3px 0}nav button svg{width:18px;height:18px}nav button.active{background:#e4f1ef;color:#137d82;font-weight:650}nav button span{margin-left:auto;font-size:10px;background:white;border-radius:5px;padding:2px 6px;min-width:0}nav button span:empty{display:none}.account-label{display:flex;align-items:center;justify-content:space-between;margin-top:25px}.account-label .nav-label{margin-bottom:0}.icon-button{width:36px;height:36px;padding:8px;flex-shrink:0;color:#7a929e}.icon-button:hover{color:#137d82}.side-accounts{max-height:180px;overflow:auto}.side-account{display:flex;align-items:center;justify-content:flex-start;width:100%;padding:10px 12px;gap:10px;text-align:left}.side-account span:nth-child(2){min-width:0}.side-account strong{font-size:11px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:135px}.side-account small{font-size:9px;color:#9aabb2;display:block;margin-top:3px}.side-account .provider{width:25px;height:25px;font-size:12px}.side-account.active{background:#edf4f3}.manage-accounts{font-size:11px;justify-content:space-between;color:#5b969a;margin:7px 0 15px;padding:11px 12px}.sidebar-bottom{margin-top:auto;border-top:1px solid #e9edf1;padding-top:10px}.sidebar-bottom>button{width:100%;justify-content:flex-start;font-size:12px;padding:12px}.profile{gap:9px;text-align:left}.profile strong{font-size:11px;display:block;font-weight:650}.profile small{display:block;font-size:9px;color:#94a3ab;margin-top:4px}.profile>span:last-child{margin-left:auto}.avatar{width:37px;height:37px;background:#e5efed;color:#528f88;border-radius:12px;display:grid;place-items:center;font-size:14px;font-weight:650;flex-shrink:0}.avatar.small{width:31px;height:31px;border-radius:50%;font-size:12px}.main{flex:1;min-width:0;display:flex;flex-direction:column;background:#f6f8fa}.topbar{height:73px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #e6ecf0;background:#fff;padding:0 30px;flex-shrink:0}.search{display:flex;align-items:center;gap:10px;max-width:580px;flex:1;color:#9badb6}.search input{padding:10px 0;border:0;background:none;font-size:12px;min-width:0;box-shadow:none}.search kbd{font-size:9px;color:#adbac2;border:1px solid #e9edf0;padding:3px 6px;border-radius:4px}.connection{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:10px;color:#8b9ea8;white-space:nowrap}.connection>span{width:5px;height:5px;background:#64ad94;border-radius:50%}.page-heading{padding:27px 31px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0}.breadcrumb{font-size:8px;letter-spacing:1.6px;font-weight:700;color:#a4b2bb;margin-bottom:9px}.page-heading h1{margin-bottom:8px;font-size:27px;display:flex;align-items:center;gap:13px}.page-heading h1 span{font-size:10px;font-weight:500;color:#7c919c;padding:5px 9px;background:#edf1f4;border:1px solid #e2e8ed;border-radius:5px;letter-spacing:0}.page-heading p{font-size:10px;color:#98a8b2;margin-bottom:0}.page-heading button{font-size:11px}.page-heading button svg{width:15px;height:15px}.account-tabs{display:flex;gap:8px;padding:0 31px 20px;overflow:auto;flex-shrink:0}.account-tabs button{border:1px solid #e2e8ed;background:white;font-size:10px;padding:7px 12px;white-space:nowrap;border-radius:7px;color:#8a9da8}.account-tabs button.active{border-color:#8cbfba;background:#eef6f4;color:#26857f}.account-tabs .provider{width:18px;height:18px;font-size:10px;border-radius:4px}.mail-view{margin:0 30px;flex:1;display:flex;background:#fff;min-height:0;border:1px solid #e2e8ed;border-radius:12px;overflow:hidden;box-shadow:0 2px 3px #17344302}.message-list{width:360px;min-width:300px;flex-shrink:0;border-right:1px solid #e7edf1;display:flex;flex-direction:column}.list-toolbar{height:49px;border-bottom:1px solid #edf1f4;display:flex;align-items:center;padding:0 19px;justify-content:space-between;flex-shrink:0;font-size:10px;color:#9aaab4}.check{display:flex;align-items:center;gap:6px;margin:0;font-size:10px;font-weight:400;color:#8fa2ad}.check input{width:12px;height:12px;accent-color:#137d82;margin:0}.message-rows{overflow:auto;flex:1}.message-row{display:flex;text-align:left;gap:12px;padding:18px 17px 16px;border-bottom:1px solid #eef1f4;cursor:pointer;position:relative;border-radius:0}.message-row:hover{background:#f8fbfb}.message-row.selected{background:#f0f7f6;border-left:3px solid #318f89;padding-left:14px}.message-row.unread .sender,.message-row.unread .subject{color:#294550;font-weight:650}.message-row .avatar{width:33px;height:33px;font-size:12px;border-radius:10px;background:#eef1f8;color:#7f8daa}.message-row:nth-child(3n) .avatar{background:#faeee9;color:#b19788}.message-row:nth-child(3n+1) .avatar{background:#e8f2ee;color:#7ca79b}.message-info{min-width:0;flex:1}.message-top{display:flex;align-items:center;gap:8px}.sender{font-size:11px;font-weight:500;color:#8395a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.mail-time{font-size:9px;color:#9cabb5;white-space:nowrap}.subject{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:7px 0 9px;color:#7c909b}.row-bottom{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#a4b2ba}.account-tag{background:#f1f4f6;border-radius:4px;padding:3px 6px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.star-button{padding:0;border-radius:0;color:#bdc8cd;font-size:16px;height:20px;width:22px;flex-shrink:0}.star-button.starred{color:#d7ad57}.unread-dot{width:5px;height:5px;background:#268f88;border-radius:50%;display:inline-block;margin-right:5px}.reader{flex:1;min-width:0;overflow:auto;position:relative}.reader-placeholder{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.empty-art{width:105px;height:105px;background:#f0f7f4;border-radius:30px;display:grid;place-items:center;position:relative;transform:rotate(-7deg);margin-bottom:29px}.empty-art>svg{width:48px;height:48px;stroke:#7cb4a9;stroke-width:1.1}.empty-art>span{background:#c6e0d7;border:5px solid #fff;position:absolute;bottom:0;right:-5px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#619986;font-size:12px}.reader-placeholder .eyebrow{font-size:8px;color:#91a9a4;letter-spacing:1.9px}.reader-placeholder h2{font-size:30px;color:#415f62;margin:15px 0 13px;line-height:1.25;font-weight:550;letter-spacing:-.9px}.reader-placeholder p{color:#a3b1b8;font-size:11px;line-height:1.9}.privacy{display:flex;align-items:center;gap:6px;font-size:8px;color:#adbcc0;border-top:1px solid #edf1f2;padding-top:17px;margin-top:13px}.privacy svg{width:12px;height:12px}.workspace-footer{height:38px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:0 32px;font-size:8px;letter-spacing:.4px;color:#b0bdc4}.workspace-footer>span:first-child{font-weight:650}.load-more{border-radius:0;min-height:38px;color:#468d8a;font-size:11px;border-top:1px solid #edf1f4}.empty-list{padding:35px 25px;text-align:center;color:#93a5ae;font-size:12px;line-height:1.8}.empty-list svg{width:35px;height:35px;margin-bottom:15px;color:#9fbdb5}.empty-list h3{font-size:15px;font-weight:500;color:#657e88}.empty-list button{font-size:11px}.reader-toolbar{display:flex;align-items:center;gap:3px;padding:11px 18px;border-bottom:1px solid #edf1f4;position:sticky;top:0;background:#fff;z-index:1;flex-wrap:wrap}.reader-toolbar button{font-size:11px;padding:7px 8px;color:#7d939f}.reader-toolbar button svg{width:16px;height:16px}.spacer{flex:1}.reader-content{padding:28px 32px}.reader-content h2{font-size:23px;line-height:1.45;overflow-wrap:anywhere;margin-bottom:22px}.reader-meta{font-size:11px;color:#92a4af;line-height:1.9;overflow-wrap:anywhere}.reader-meta strong{color:#5b7885;font-size:12px;font-weight:600}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;line-height:1.85;color:#516e7c;padding:28px 0 18px;margin:15px 0 0;border-top:1px solid #eef1f4}.reader-attachments{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.attachment{font-size:11px;background:#f4f7f9;border:1px solid #e0e8ec;max-width:100%;overflow-wrap:anywhere}.reader-replies{display:flex;gap:8px;margin-top:28px}.reader-replies button{font-size:11px}.reader-mobile-back{display:none}.reader .notice{margin:18px 0}.secondary{padding:0 31px 24px;overflow:auto;flex:1}.panel{background:#fff;border:1px solid #e0e8ec;border-radius:13px;padding:24px;margin-bottom:15px}.panel h2{font-size:18px;margin-bottom:13px}.panel p{font-size:12px;color:#8297a2}.account-card{display:flex;align-items:center;gap:15px}.account-card .provider{width:42px;height:42px}.account-card .account-info{flex:1}.account-card h3{margin-bottom:5px;font-size:16px}.account-card p{margin:0;font-size:11px;word-break:break-word}.account-actions{display:flex;gap:5px}.account-actions button{font-size:11px}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.field-grid label{min-width:0}.modal{border:0;border-radius:16px;padding:0;box-shadow:0 25px 100px #183b4333;width:620px;max-width:calc(100vw - 28px);max-height:90dvh;color:#19313b;background:#fff}.modal::backdrop{background:#18323b59;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 28px 18px;border-bottom:1px solid #edf1f4}.modal-heading h2{margin:8px 0 0;font-size:22px}.modal-heading>.close{font-size:27px;color:#a2b1ba;padding:0 4px;line-height:1}.form-body{padding:4px 28px 18px;max-height:65dvh;overflow:auto}.modal-footer{border-top:1px solid #e7edf1;padding:16px 24px;display:flex;justify-content:flex-end;align-items:center;gap:9px;background:#fafcfd}.modal-footer button{font-size:12px}details{border:1px solid #e5ebef;border-radius:9px;padding:13px 14px;margin:18px 0}summary{font-size:12px;color:#6a8995;cursor:pointer}.compose-modal{width:780px}.compose-body{padding:10px 28px 0;max-height:70dvh;overflow:auto}.compose-modal .modal-footer{justify-content:flex-start}.inline-field{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e9edf1;font-size:11px;font-weight:400;margin:0;min-height:45px;color:#94a6b0}.inline-field input,.inline-field select{border:0;box-shadow:none;font-size:12px;background:none;margin:0;padding:10px 3px;flex:1;min-width:0}.inline-field select{color:#4b7e84}.cc-row{display:flex;gap:25px}.cc-row>*{flex:1;min-width:0}.subject-field input{font-weight:650}.email-body{border:0;border-radius:0;min-height:240px;padding:20px 0 10px;font-size:13px;box-shadow:none!important}.file-button{display:inline-flex;gap:7px;align-items:center;cursor:pointer;font-size:11px;color:#8299a5;margin:0;padding:9px 5px}.file-button input{display:none}.draft-note{font-size:10px;margin:10px 0 15px}.attachment-list{display:flex;flex-wrap:wrap;gap:7px}.attachment-list>span{background:#f0f5f6;padding:6px 8px;font-size:10px;border-radius:5px;display:flex;gap:6px;align-items:center}.attachment-list button{padding:0 3px;font-size:16px}.confirm-modal{width:430px}.confirm-modal>p{padding:20px 28px 6px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.confirm-modal .modal-heading h2{font-size:20px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border-radius:10px;background:#21494e;color:white;box-shadow:0 8px 25px #163a4222;padding:13px 24px;font-size:12px;z-index:9999;max-width:90vw;white-space:pre-line}.setup-page{padding:45px 18px;background:#edf4f2}.setup-card{max-width:650px;margin:auto;background:white;border-radius:18px;padding:35px}.setup-card h1{font-size:26px;margin-top:32px}.setup-card .primary{width:100%;margin-top:15px}.setup-card hr{border:0;border-top:1px solid #e4ebef;margin:25px 0}.setup-card p{font-size:12px;color:#80959f}.setup-card .error{color:#a14e38}.mobile-only{display:none}#errorBanner{margin:0 31px 12px;max-height:100px;overflow:auto;font-size:11px}.busy #refreshButton{animation:spin 1.1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.draft-card{cursor:pointer}.draft-card:hover{border-color:#a7c9c3}.draft-card .muted{margin:0}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.settings-row>div{flex:1}.settings-row h3{margin-bottom:7px;font-size:14px}.settings-row p{margin-bottom:0}.user-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #eef1f3}.user-row strong{font-size:13px}.user-row p{margin:3px 0 0}.link{color:#187d82;text-decoration:underline}.setup-card a{color:#137d82}
@media(min-width:1600px){.message-list{width:410px}.message-row{padding:21px}.reader-content{padding:35px 45px}.login-story{padding:60px 12%}}@media(max-width:1150px){.sidebar{width:210px;padding:24px 12px 10px}.sidebar .brand{font-size:15px}.message-list{width:320px;min-width:280px}.mail-view{margin:0 20px}.topbar{padding:0 22px}.page-heading{padding:24px 22px 15px}.account-tabs{padding:0 22px 17px}.connection{display:none}.account-card{flex-wrap:wrap}.account-actions{width:100%;justify-content:flex-end}.reader-content{padding:24px}.reader-placeholder h2{font-size:25px}.reader-placeholder .eyebrow{font-size:7px}}@media(max-width:850px){.sidebar{width:190px}.sidebar .brand{font-size:14px;gap:7px}.sidebar .brand small{font-size:6px}.sidebar .brandmark{width:30px;height:30px}.message-list{width:100%;border-right:0;min-width:0}.reader{display:none}.reading .reader{display:block;width:100%}.reading .message-list{display:none}.reader-mobile-back{display:inline-flex}.message-row{padding:19px 20px}.reader-placeholder{display:none}.card-grid{grid-template-columns:1fr}.sender,.subject{font-size:12px}.row-bottom{font-size:9px}.login-copy h1{font-size:47px}.login-form{padding:35px}.login-story{padding:35px}.account-card{flex-wrap:nowrap}.account-actions{width:auto}}@media(max-width:600px){.sidebar{display:none;position:fixed;inset:0 auto 0 0;z-index:5;width:235px;box-shadow:8px 0 40px #123a4333}.menu-open .sidebar{display:flex}.topbar{height:60px;padding:0 12px;gap:6px}.mobile-only{display:inline-flex}.search input{font-size:11px}.search kbd{display:none}.page-heading{padding:22px 17px 15px}.page-heading h1{font-size:23px;gap:8px}.page-heading .outline{padding:9px;font-size:0}.page-heading .outline svg{width:20px;height:20px}.page-heading p{max-width:260px;line-height:1.6}.account-tabs{padding:0 17px 16px}.mail-view{margin:0 12px}.workspace-footer{padding:0 17px;font-size:7px}.workspace-footer>span:last-child{max-width:230px;text-align:right}.account-tabs button{padding:8px 10px}.secondary{padding:0 14px 15px}.panel{padding:18px}.account-card{flex-wrap:wrap}.account-actions{width:100%}.login-layout{grid-template-columns:1fr}.login-story{padding:28px 28px 14px}.login-copy{padding:30px 0 10px}.login-copy h1{font-size:37px;margin:15px 0}.login-copy p{font-size:13px;margin-bottom:0}.provider-row{margin:20px 0}.story-note,.login-footer{display:none}.login-form{padding:30px 28px;display:block}.login-form>div{max-width:none}.login-form h2{font-size:26px;margin:12px 0}.login-form form{margin-top:22px}.login-form .eyebrow{font-size:8px}.modal{max-width:100vw;width:100%;max-height:100dvh;border-radius:14px 14px 0 0;margin:auto 0 0}.form-body{max-height:70dvh;padding:5px 20px 15px}.modal-heading{padding:20px}.modal-footer{padding:13px 17px;gap:7px}.modal-footer button{font-size:11px;padding:10px}.compose-body{padding:5px 20px 0;max-height:75dvh}.email-body{min-height:200px}.compose-modal .modal-footer .file-button span{display:none}.reader-content{padding:23px 20px}.reader-content h2{font-size:20px}.reader-toolbar{padding:10px}.reader-toolbar button{font-size:10px}.reader-toolbar button svg{width:14px}.reader-toolbar .spacer{display:none}#errorBanner{margin:0 14px 10px}.field-grid{gap:0 12px}.setup-card{padding:25px 20px}.setup-card .field-grid{grid-template-columns:1fr}.setup-page{padding:18px 10px}.settings-row{align-items:flex-start;flex-wrap:wrap}.brand{font-size:18px}}
/* Readable business email typography on desktop and Android. */
.sender,.subject{font-size:13px}.mail-time{font-size:10px}.row-bottom{font-size:10px}.account-tag{max-width:220px}.message-body{font-size:14px}.reader-meta{font-size:12px}nav button{font-size:13px}.search input{font-size:13px}.list-toolbar{font-size:11px}.reader .reading-placeholder{display:flex}@media(max-width:850px){.reading .reader-placeholder{display:flex}}@media(max-width:600px){.sender,.subject{font-size:12px}.search input{font-size:11px}.row-bottom{font-size:9px}}
/* MultiMail 1.0.2 — theme controls and visible search */
:root{color-scheme:light}:root[data-theme="dark"]{color-scheme:dark}
.topbar{gap:12px}.search{max-width:680px;border:1px solid #dbe5e9;background:#f6f9fa;border-radius:10px;padding:5px 7px 5px 12px;min-height:46px;gap:9px}.search:focus-within{border-color:#318f89;box-shadow:0 0 0 3px #137d8210}.search input{flex:1;width:0;min-width:0;font-size:13px;padding:7px 0}.search input::-webkit-search-cancel-button{display:none}.search .primary{min-height:33px;padding:7px 15px;font-size:12px;border-radius:7px;flex-shrink:0}.clear-search{font-size:23px;width:29px;height:31px;padding:0;color:#7c929e;flex-shrink:0}.theme-toggle{height:38px;min-height:38px;font-size:11px;padding:8px 10px;white-space:nowrap;flex-shrink:0;color:#49737a}.theme-toggle svg{width:17px;height:17px}.search-summary{margin:0 31px 13px;padding:10px 13px;background:#eaf4f2;border:1px solid #d7e8e4;border-radius:8px;font-size:11px;color:#477778;overflow-wrap:anywhere;flex-shrink:0;max-height:90px;overflow:auto}.theme-options{display:flex;gap:7px;flex-wrap:wrap}.theme-options button{font-size:12px}.theme-options .active{background:#e2f1ed;border-color:#6ea9a4;color:#137d82}.theme-options svg{width:16px;height:16px}.account-search-label{max-width:600px;margin:0 0 10px}.account-search-label input{font-size:14px}.account-search-label+p{margin-bottom:18px}button:focus-visible{outline:2px solid #51b7ad;outline-offset:3px}
:root[data-theme="dark"] body{background:#101b26;color:#dce7ee}
:root[data-theme="dark"] .main{background:#101b26}
:root[data-theme="dark"] .sidebar{background:#121f2a;border-color:#2c3e4b}
:root[data-theme="dark"] .topbar,:root[data-theme="dark"] .mail-view,:root[data-theme="dark"] .reader-toolbar,:root[data-theme="dark"] .panel,:root[data-theme="dark"] .modal,:root[data-theme="dark"] .setup-card,:root[data-theme="dark"] .login-form{background:#162530;border-color:#2d414e;color:#dce7ee}
:root[data-theme="dark"] input,:root[data-theme="dark"] select,:root[data-theme="dark"] textarea{background:#11212c;border-color:#344b59;color:#dce7ee}
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:#8da4b2}
:root[data-theme="dark"] input:focus,:root[data-theme="dark"] select:focus,:root[data-theme="dark"] textarea:focus{border-color:#63bdb7;box-shadow:0 0 0 3px #51b7ad24}
:root[data-theme="dark"] button:hover{background:#243a48}
:root[data-theme="dark"] .primary{background:#197e84;color:#fff}
:root[data-theme="dark"] .primary:hover{background:#24969b}
:root[data-theme="dark"] .outline,:root[data-theme="dark"] .account-tabs button{background:#172b37;border-color:#38515f;color:#b6d4dc}
:root[data-theme="dark"] .outline:hover{background:#243e49}
:root[data-theme="dark"] label,:root[data-theme="dark"] .muted,:root[data-theme="dark"] .panel p,:root[data-theme="dark"] .reader-meta,:root[data-theme="dark"] .reader-toolbar button,:root[data-theme="dark"] .side-account small,:root[data-theme="dark"] .brand small,:root[data-theme="dark"] .profile small{color:#9cb2bf}
:root[data-theme="dark"] .brand,:root[data-theme="dark"] .page-heading h1,:root[data-theme="dark"] .reader-content h2,:root[data-theme="dark"] .panel h2,:root[data-theme="dark"] .panel h3,:root[data-theme="dark"] .modal h2{color:#e3edf3}
:root[data-theme="dark"] .eyebrow,:root[data-theme="dark"] .manage-accounts,:root[data-theme="dark"] .link,:root[data-theme="dark"] .theme-toggle{color:#83cdc7}
:root[data-theme="dark"] nav button{color:#a9bdc8}
:root[data-theme="dark"] nav button.active,:root[data-theme="dark"] .side-account.active,:root[data-theme="dark"] .account-tabs button.active,:root[data-theme="dark"] .theme-options .active{background:#244044;color:#a0dfd6;border-color:#578d87}
:root[data-theme="dark"] nav button span{background:#38575a;color:#d4e9e5}
:root[data-theme="dark"] .sidebar-bottom,:root[data-theme="dark"] .message-list,:root[data-theme="dark"] .list-toolbar,:root[data-theme="dark"] .message-row,:root[data-theme="dark"] .message-body,:root[data-theme="dark"] .privacy,:root[data-theme="dark"] .modal-heading,:root[data-theme="dark"] .modal-footer,:root[data-theme="dark"] .inline-field,:root[data-theme="dark"] details,:root[data-theme="dark"] .user-row{border-color:#2b404c}
:root[data-theme="dark"] .message-row:hover{background:#1b303d}
:root[data-theme="dark"] .message-row.selected{background:#213d40;border-left-color:#65c2b5}
:root[data-theme="dark"] .sender,:root[data-theme="dark"] .subject{color:#bacdd8}
:root[data-theme="dark"] .message-row.unread .sender,:root[data-theme="dark"] .message-row.unread .subject{color:#edf5f8}
:root[data-theme="dark"] .mail-time,:root[data-theme="dark"] .row-bottom,:root[data-theme="dark"] .list-toolbar,:root[data-theme="dark"] .check,:root[data-theme="dark"] .page-heading p,:root[data-theme="dark"] .page-heading .breadcrumb,:root[data-theme="dark"] .nav-label,:root[data-theme="dark"] .connection,:root[data-theme="dark"] .workspace-footer{color:#8ea8b6}
:root[data-theme="dark"] .account-tag,:root[data-theme="dark"] .page-heading h1 span{background:#233945;border-color:#3a5360;color:#afc4cf}
:root[data-theme="dark"] .avatar,:root[data-theme="dark"] .message-row .avatar{background:#2a3c54;color:#b2c9eb}
:root[data-theme="dark"] .message-row:nth-child(3n) .avatar{background:#493c38;color:#e0bcaa}
:root[data-theme="dark"] .message-row:nth-child(3n+1) .avatar,:root[data-theme="dark"] .avatar.small{background:#2b4841;color:#b1d9c8}
:root[data-theme="dark"] .gmail{background:#493331;color:#f2b0a5}
:root[data-theme="dark"] .yahoo{background:#392f4b;color:#c9b1ef}
:root[data-theme="dark"] .imap{background:#1e4143;color:#8ed2d0}
:root[data-theme="dark"] .message-body{color:#ccdce5}
:root[data-theme="dark"] .reader-meta strong{color:#c0d9e1}
:root[data-theme="dark"] .reader-placeholder h2{color:#c4dedc}
:root[data-theme="dark"] .reader-placeholder p,:root[data-theme="dark"] .privacy,:root[data-theme="dark"] .empty-list{color:#99b1bd}
:root[data-theme="dark"] .empty-list h3{color:#b7cdd5}
:root[data-theme="dark"] .empty-art{background:#1e393b}
:root[data-theme="dark"] .empty-art>span{background:#3c6c60;border-color:#162530;color:#e2f4e9}
:root[data-theme="dark"] .attachment,:root[data-theme="dark"] .attachment-list>span{background:#213946;border-color:#375363;color:#c7dce5}
:root[data-theme="dark"] .modal::backdrop{background:#0009}
:root[data-theme="dark"] .modal-footer{background:#12212c}
:root[data-theme="dark"] .compose-body .inline-field input,:root[data-theme="dark"] .compose-body .inline-field select,:root[data-theme="dark"] .compose-body .email-body{background:transparent}
:root[data-theme="dark"] summary,:root[data-theme="dark"] .subtle,:root[data-theme="dark"] .icon-button,:root[data-theme="dark"] .file-button,:root[data-theme="dark"] .load-more{color:#9ec8ce}
:root[data-theme="dark"] .notice,:root[data-theme="dark"] .search-summary{background:#1c393c;border-color:#35595b;color:#b6ddd8}
:root[data-theme="dark"] .notice.error,:root[data-theme="dark"] .setup-card .error{background:#432c2b;border-color:#6b4039;color:#f1b6a5}
:root[data-theme="dark"] .search{background:#10212c;border-color:#38515e}
:root[data-theme="dark"] .search input{background:transparent;color:#e4edf2;box-shadow:none}
:root[data-theme="dark"] .clear-search{color:#a7c1cd}
:root[data-theme="dark"] .login-story{background:#112c2e}
:root[data-theme="dark"] .login-copy h1{color:#d3ebe6}
:root[data-theme="dark"] .login-copy p,:root[data-theme="dark"] .provider-row,:root[data-theme="dark"] .story-note,:root[data-theme="dark"] .login-help{color:#a8c3c3}
:root[data-theme="dark"] .login-footer,:root[data-theme="dark"] .story-note small{color:#8aa9aa}
:root[data-theme="dark"] .setup-page{background:#101b26}
@media(max-width:1150px){.search{max-width:none}.theme-toggle{padding:8px}.theme-toggle span{display:none}}
@media(max-width:600px){.topbar{height:auto;min-height:108px;flex-wrap:wrap;padding:10px 13px;gap:7px}.topbar>.mobile-only{order:0}.topbar>.theme-toggle{order:1;margin-left:auto}.topbar>#refreshButton{order:2}.topbar>#installApp{order:3}.topbar>.search{order:4;flex-basis:100%;min-height:43px;max-width:none}.search .primary{padding:6px 13px}.search-summary{margin:0 14px 12px;font-size:10px}.theme-options{width:100%}.theme-options button{flex:1;font-size:11px;padding:9px 8px}.search input{font-size:12px}.theme-toggle span{display:inline}}
.account-tabs{scrollbar-width:none}.account-tabs::-webkit-scrollbar{display:none}

/* Diagnostic navigation is visible before and after a connection check. */
.diagnostic-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.diagnostic-nav a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.diagnostic-report{font-size:12px;line-height:1.6;resize:vertical}
