:root{--navy:#16205C;--navy-2:#2a3790;--red:#D40000;--bg:#f6f8fc;--surface:#fff;--fg:#1f1f1f;--muted:#5f6368;--line:#e3e6ec;--sel:#e3e8f7;--hover:#f2f4f8;--row:#fff;--row-read:#f6f8fc;--search:#eaf0fb;--shadow:0 1px 2px rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);--shadow-2:0 4px 8px 3px rgba(60,64,67,.15),0 1px 3px rgba(60,64,67,.3);--side:256px;--top:64px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;height:100%}body{background:var(--bg);color:var(--fg);font-size:14px;line-height:1.4;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer}svg{width:20px;height:20px;fill:currentColor;flex:none}.hide{display:none!important}.grow{flex:1}.top{position:fixed;inset:0 0 auto 0;height:var(--top);display:flex;align-items:center;gap:8px;padding:8px 12px 8px 12px;background:var(--bg);z-index:5}.brand{display:flex;align-items:center;width:200px;padding-left:4px}.brand img{height:30px;width:auto}.search{flex:1;max-width:720px;height:48px;display:flex;align-items:center;gap:2px;background:var(--search);border-radius:24px;padding:0 6px;transition:background .15s,box-shadow .15s}.search:focus-within{background:#fff;box-shadow:var(--shadow)}.search input{flex:1;border:0;background:transparent;outline:0;font:inherit;font-size:16px;color:var(--fg);min-width:0}.search input::-webkit-search-cancel-button{display:none}.topr{margin-left:auto;display:flex;align-items:center;gap:6px}.ib{width:40px;height:40px;border:0;border-radius:50%;background:transparent;display:inline-grid;place-items:center;color:#444746;padding:0}.ib:hover{background:rgba(68,71,70,.08)}.ib:focus-visible,.compose:focus-visible,.avatar:focus-visible{outline:2px solid var(--navy);outline-offset:1px}.ib:disabled{opacity:.35;cursor:default;background:none}.avatar{width:34px;height:34px;border-radius:50%;border:0;background:var(--navy);color:#fff;font-weight:600;font-size:15px;margin:0 6px}.side{position:fixed;top:var(--top);left:0;bottom:0;width:var(--side);padding:8px 16px 16px 8px;overflow-y:auto;z-index:4;background:var(--bg)}.compose{display:flex;align-items:center;gap:12px;height:56px;padding:0 24px 0 18px;border:0;border-radius:16px;background:var(--navy);color:#fff;font-weight:500;font-size:14px;margin:0 0 16px 0;box-shadow:none;transition:box-shadow .15s}.compose:hover{box-shadow:var(--shadow)}.compose svg{width:22px;height:22px}.folders{list-style:none;margin:0;padding:0}.folders a{display:flex;align-items:center;gap:16px;height:32px;padding:0 12px 0 22px;border-radius:0 16px 16px 0;color:#202124;text-decoration:none;font-size:14px}.folders a:hover{background:#e9ebf0}.folders a.on{background:var(--sel);color:var(--navy);font-weight:700}.folders a.unread{font-weight:700}.folders a .n{margin-left:auto;font-size:12px;font-weight:700}.folders a.on .n{color:var(--navy)}.folders a svg{color:#444746}.folders a.on svg{color:var(--navy)}.newf{display:flex;align-items:center;gap:16px;height:32px;padding:0 12px 0 22px;border:0;background:none;color:var(--muted);margin-top:8px;width:100%;border-radius:0 16px 16px 0}.newf:hover{background:#e9ebf0}.main{position:fixed;top:var(--top);left:var(--side);right:16px;bottom:16px;background:var(--surface);border-radius:16px;overflow:hidden;display:flex}.pane{flex:1;display:flex;flex-direction:column;min-width:0}.bar{height:48px;display:flex;align-items:center;gap:2px;padding:0 8px 0 10px;border-bottom:1px solid transparent;flex:none}.bar .ib{width:36px;height:36px}.bar svg{width:18px;height:18px}.cb{width:36px;height:36px;display:grid;place-items:center;border-radius:50%}.cb:hover{background:rgba(68,71,70,.08)}.cb input{width:16px;height:16px;margin:0;accent-color:var(--navy);cursor:pointer}.bulk{display:flex;gap:2px;margin-left:6px}.pager{display:flex;align-items:center;gap:2px;color:var(--muted);font-size:12px}.pager span{margin-right:8px}.txtbtn{border:0;background:none;color:var(--navy);font-weight:500;padding:6px 10px;border-radius:6px}.txtbtn:hover{background:var(--hover)}.list{flex:1;overflow-y:auto;overscroll-behavior:contain;contain:strict}.row{display:flex;align-items:center;height:40px;padding:0 16px 0 10px;border-bottom:1px solid #f1f3f4;cursor:pointer;background:var(--row-read);position:relative;content-visibility:auto;contain-intrinsic-size:auto 40px}.row.unread{background:var(--row)}.row.unread .who,.row.unread .subj,.row.unread .when{font-weight:700;color:#202124}.row:hover{box-shadow:inset 1px 0 0 #dadce0,inset -1px 0 0 #dadce0,0 1px 2px rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);z-index:1}.row.sel{background:#c2dbff33}.row.sel.unread,.row.sel{background:#e8eefc}.row.focus:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--navy)}.row .cb{flex:none}.star{width:32px;height:32px;border:0;background:none;display:grid;place-items:center;color:#c4c7c5;border-radius:50%;padding:0;flex:none}.star:hover{color:#7a7d7d}.star.on{color:var(--red)}.star svg{width:19px;height:19px}.who{width:200px;flex:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 18px 0 8px;color:#202124}.mid{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted)}.subj{color:#202124}.snip{color:var(--muted)}.when{flex:none;width:76px;text-align:right;font-size:12px;color:var(--muted)}.row.unread .when{color:var(--navy)}.att{width:16px;height:16px;color:var(--muted);margin-left:6px;vertical-align:-3px}.row .hov{display:none;position:absolute;right:8px;background:inherit;gap:2px}.row:hover .hov{display:flex}.row:hover .when{visibility:hidden}.row .hov .ib{width:36px;height:36px}.row .hov svg{width:18px;height:18px}.empty{padding:64px 24px;text-align:center;color:var(--muted)}.empty b{display:block;color:#202124;font-size:16px;font-weight:500;margin-bottom:6px}.skel{height:40px;border-bottom:1px solid #f1f3f4;background:linear-gradient(90deg,#f6f8fc 25%,#eef1f6 37%,#f6f8fc 63%);background-size:400% 100%;animation:sk 1.2s ease infinite}@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}.msg{flex:1;overflow-y:auto;padding:8px 24px 40px 72px}.msg h1{font-size:22px;font-weight:400;margin:12px 0 20px;color:#1f1f1f;word-break:break-word}.mhead{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px -56px}.mav{width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:600;flex:none}.mfrom{flex:1;min-width:0}.mfrom b{font-weight:700;font-size:14px}.mfrom .addr{color:var(--muted);font-size:12px}.mfrom .to{color:var(--muted);font-size:12px;margin-top:2px}.mdate{color:var(--muted);font-size:12px;white-space:nowrap;padding-top:2px}.mbody{border:0;width:100%;min-height:60px;display:block}.imgnote{display:flex;align-items:center;gap:10px;background:#f6f8fc;border-radius:8px;padding:8px 12px;margin-bottom:12px;font-size:13px;color:var(--muted)}.imgnote button{border:0;background:none;color:var(--navy);font-weight:600;padding:2px 4px}.atts{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}.attc{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:8px 12px;color:#202124;text-decoration:none;max-width:240px}.attc:hover{background:var(--hover)}.attc span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.attc small{color:var(--muted);flex:none}.actions{display:flex;gap:10px;margin-top:28px}.pill{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 20px 0 16px;border:1px solid #747775;border-radius:19px;background:#fff;font-weight:500;color:#444746}.pill:hover{background:var(--hover)}.pill svg{width:18px;height:18px}.compose-host{position:fixed;right:24px;bottom:0;display:flex;align-items:flex-end;gap:16px;z-index:20;pointer-events:none}.cw{pointer-events:auto;width:560px;height:min(600px,calc(100vh - 80px));background:#fff;border-radius:12px 12px 0 0;box-shadow:var(--shadow-2);display:flex;flex-direction:column;overflow:hidden}.cw.min{height:40px;width:300px}.cw.max{position:fixed;inset:6vh 10vw;width:auto;height:auto;border-radius:12px}.cwh{height:40px;flex:none;display:flex;align-items:center;padding:0 6px 0 16px;background:#f2f6fc;font-weight:500;font-size:14px;cursor:pointer}.cwh span{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cwh .ib{width:28px;height:28px}.cwh svg{width:16px;height:16px}.cw.min .cwb{display:none}.cwb{flex:1;display:flex;flex-direction:column;min-height:0}.cf{display:flex;align-items:center;border-bottom:1px solid #f1f3f4;margin:0 16px;min-height:38px}.cf label{color:var(--muted);width:44px;flex:none}.cf input{flex:1;border:0;outline:0;font:inherit;padding:8px 0;min-width:0;background:transparent}.cf .lnk{border:0;background:none;color:var(--muted);padding:4px 6px;font-size:13px}.cf .lnk:hover{color:var(--fg);text-decoration:underline}.editor{flex:1;overflow-y:auto;padding:12px 16px;outline:0;font-size:14px;line-height:1.5;min-height:80px;word-wrap:break-word}.editor:empty:before{content:attr(data-ph);color:#9aa0a6}.editor blockquote{margin:0 0 0 .8ex;border-left:1px solid #ccc;padding-left:1ex;color:#555}textarea.editor{border:0;resize:none;font:inherit;font-size:14px}textarea.src{font:12.5px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;background:#fbfbfd}.tb{display:flex;flex-wrap:wrap;align-items:center;gap:1px;margin:0 12px 4px;padding:2px 4px;border-radius:8px;background:#f2f6fc}.tb button{border:0;background:none;min-width:30px;height:30px;border-radius:4px;font-size:14px;color:#444746;padding:0 6px}.tb button:hover{background:#e3e8f2}.tb button.on{background:#d3dcf3;color:var(--navy)}.tb .sep{width:1px;height:20px;background:#d5d9e0;margin:0 4px}.tb select{border:0;background:none;font:inherit;font-size:13px;height:30px;color:#444746;border-radius:4px}.cfoot{display:flex;align-items:center;gap:8px;padding:10px 16px 14px}.send{height:36px;padding:0 24px;border:0;border-radius:18px;background:var(--navy);color:#fff;font-weight:500}.send:hover{box-shadow:0 1px 3px rgba(22,32,92,.5);background:var(--navy-2)}.send:disabled{opacity:.6}.mode{display:inline-flex;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-left:4px}.mode button{border:0;background:#fff;font-size:12px;padding:6px 10px;color:var(--muted)}.mode button.on{background:var(--sel);color:var(--navy);font-weight:600}.chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 6px}.chip{display:inline-flex;align-items:center;gap:6px;background:#f2f6fc;border-radius:14px;padding:3px 4px 3px 10px;font-size:12.5px;max-width:220px}.chip span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chip button{border:0;background:none;width:20px;height:20px;border-radius:50%;padding:0;display:grid;place-items:center}.chip svg{width:14px;height:14px}.saved{font-size:12px;color:var(--muted)}.toast{position:fixed;left:24px;bottom:24px;background:#202124;color:#e8eaed;padding:12px 16px 12px 20px;border-radius:6px;box-shadow:var(--shadow-2);display:flex;align-items:center;gap:16px;z-index:40;font-size:14px;max-width:calc(100vw - 48px)}.toast button{border:0;background:none;color:#a8c7fa;font-weight:600;padding:4px 6px}.menu{position:fixed;background:#fff;border-radius:8px;box-shadow:var(--shadow-2);padding:6px 0;z-index:50;min-width:200px;max-height:60vh;overflow:auto}.menu button,.menu a{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;text-align:left;padding:9px 18px;font-size:14px;color:#202124;text-decoration:none}.menu button:hover,.menu a:hover{background:var(--hover)}.menu .mh{padding:12px 18px 8px;border-bottom:1px solid var(--line);margin-bottom:6px}.menu .mh b{display:block}.menu .mh small{color:var(--muted)}.modal{position:fixed;inset:0;background:rgba(32,33,36,.45);display:grid;place-items:center;z-index:60;padding:16px}.dlg{background:#fff;border-radius:24px;padding:24px;width:100%;max-width:440px;box-shadow:var(--shadow-2)}.dlg h2{font-size:22px;font-weight:400;margin:0 0 16px}.dlg label{display:block;font-size:12px;color:var(--muted);margin:12px 0 4px}.dlg input{width:100%;height:42px;border:1px solid #c4c7c5;border-radius:6px;padding:0 12px;font:inherit;font-size:15px}.dlg input:focus{outline:2px solid var(--navy);border-color:transparent}.dlg .btns{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.dlg .btns button{height:36px;padding:0 18px;border-radius:18px;border:0;background:none;color:var(--navy);font-weight:500}.dlg .btns button.pri{background:var(--navy);color:#fff}.meter{height:6px;background:#e8eaed;border-radius:3px;overflow:hidden;margin:6px 0 4px}.meter i{display:block;height:100%;background:var(--navy)}.small{font-size:12.5px;color:var(--muted)}body.mini{--side:72px}body.mini .side .compose{width:56px;padding:0;justify-content:center}body.mini .side .compose span,body.mini .folders a span,body.mini .folders a .n,body.mini .newf span{display:none}body.mini .folders a{width:48px;padding:0 0 0 14px;border-radius:16px;margin-left:4px}body.mini .newf{width:48px;padding:0 0 0 14px;border-radius:16px;margin-left:4px}@media (max-width:900px){.who{width:140px}.brand{width:auto}}@media (max-width:720px){:root{--top:60px}body{--side:0px}.brand{display:none}.top{padding:8px}.side{transform:translateX(-100%);transition:transform .2s;width:280px;box-shadow:var(--shadow-2);background:#fff}body.navopen .side{transform:none}.main{left:0;right:0;bottom:0;border-radius:16px 16px 0 0}.row{height:auto;min-height:72px;flex-wrap:wrap;padding:10px 12px;align-content:center}.row .cb{display:none}.who{order:1;width:auto;flex:1;padding:0}.when{order:2;width:auto}.mid{order:3;flex-basis:calc(100% - 36px);white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px}.star{order:4;margin-left:auto;width:28px;height:28px}.row:hover .hov{display:none}.row:hover .when{visibility:visible}.msg{padding:8px 16px 40px}.mhead{margin-left:0}.cw,.cw.max{position:fixed;inset:0;width:auto;height:auto;border-radius:0}.compose-host{right:0;left:0}.pager span{display:none}.compose.fab{position:fixed;right:16px;bottom:16px;z-index:10;box-shadow:var(--shadow-2)}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}