.popup-menu.svelte-1xmzwdr{position:absolute;top:100%;right:0}.menu-anchor.svelte-zh944i{position:relative}.inline-ac.svelte-1u7dext{margin:0 16px}:root{--bg: #dcdbd6;--panel: #faf9f6;--surface: #faf9f6;--surface-2: #edece7;--surface-hover: #f1f0ea;--list-bg: #f1f0eb;--border: #e9e8e1;--border-strong: #dddcd3;--text: #2c2a33;--text-soft: #8b8a93;--text-faint: #b1b0b6;--accent: #7c5cfc;--accent-2: #9d8bff;--accent-soft: #efeafe;--accent-text: #6b4ff0;--danger: #ef5d6f;--star: #f5b945;--unread-bg: #ffffff;--shadow: 0 1px 2px rgba(40,30,80,.05), 0 6px 18px rgba(40,30,80,.06);--shadow-lg: 0 18px 50px rgba(30,20,70,.2);--shadow-card: 0 4px 16px rgba(40,30,80,.09);--radius: 16px;--radius-sm: 11px;--panel-radius: 22px;--row-pad: 12px;--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}html[data-theme=dark]{--bg: #15151c;--panel: #1e1e29;--surface: #1e1e29;--surface-2: #272734;--surface-hover: #2c2c3c;--list-bg: #191921;--border: #2a2a38;--border-strong: #353548;--text: #e7e7f1;--text-soft: #a6a6ba;--text-faint: #76768c;--accent: #9d8bff;--accent-2: #b6a9ff;--accent-soft: #322b54;--accent-text: #b6a9ff;--danger: #ff7a88;--star: #f5c451;--unread-bg: #23232f;--shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.3);--shadow-lg: 0 18px 50px rgba(0,0,0,.55);--shadow-card: 0 4px 16px rgba(0,0,0,.4)}html[data-density=cozy]{--row-pad: 9px}html[data-density=compact]{--row-pad: 6px}*{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:var(--font);background:var(--surface);color:var(--text);font-size:14px;-webkit-font-smoothing:antialiased}#app{height:100%}.icon{width:20px;height:20px;flex:none}.btn{display:inline-flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:var(--radius-sm);padding:10px 18px;font:inherit;font-weight:600;cursor:pointer;background:var(--surface-2);color:var(--text)}.btn:hover{background:var(--surface-hover)}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{filter:brightness(1.06)}.btn-ghost{background:transparent}.btn-ghost:hover{background:var(--surface-hover)}.btn:disabled{opacity:.6;cursor:default;box-shadow:none}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:none;background:transparent;color:var(--text-soft);cursor:pointer}.icon-btn:hover{background:var(--surface-hover);color:var(--accent-text)}.icon-btn.starred{color:var(--star)}.linkish{background:none;border:none;color:var(--accent-text);cursor:pointer;font:inherit;font-weight:600;padding:0}.linkish:hover{text-decoration:underline}.spacer{flex:1 1 auto}.input{width:100%;padding:12px 14px;border:none;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);font:inherit}.input:focus{outline:none;box-shadow:0 0 0 2px var(--accent)}textarea.input{resize:vertical}#app.app-loading,.spinner-center{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-faint)}.spinner-center{padding:40px}.spinner{width:28px;height:28px;border:3px solid var(--border-strong);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:20px;background:var(--list-bg)}.login-card{width:100%;max-width:380px;background:var(--panel);border-radius:22px;padding:40px 34px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;gap:14px;text-align:center}.login-logo{width:60px;height:60px;margin:0 auto;border-radius:18px;color:#fff;background:var(--accent);display:flex;align-items:center;justify-content:center}.login-logo .icon{width:30px;height:30px}.login-card h1{margin:6px 0 0;font-size:23px;font-weight:700}.login-sub{margin:0 0 8px;color:var(--text-soft)}.login-card .input{text-align:left}.login-btn{justify-content:center;margin-top:6px}.login-error{color:var(--danger);font-size:13px;background:#ef5d6f1a;padding:10px 12px;border-radius:var(--radius-sm)}.shell{display:flex;flex-direction:column;height:100vh;width:100%;background:var(--surface);overflow:hidden}.app-shell-loading{height:100vh}.topbar{display:flex;align-items:center;gap:14px;padding:14px 20px;background:transparent;flex:none;z-index:5}.brand{display:flex;align-items:center;gap:9px;font-weight:700;font-size:18px;color:var(--text)}.brand .icon{color:var(--accent)}.menu-toggle{display:none}.searchbar{flex:0 1 380px;margin-left:auto;display:flex;align-items:center;gap:8px;background:var(--surface-2);border-radius:999px;padding:0 16px;height:42px}.searchbar:focus-within{box-shadow:0 0 0 2px var(--accent-soft)}.searchbar .icon{color:var(--text-faint)}.search-input{flex:1;border:none;background:transparent;font:inherit;color:var(--text);height:100%}.search-input:focus{outline:none}.topbar-actions{display:flex;align-items:center;gap:4px}.status-dot{width:9px;height:9px;border-radius:50%;background:var(--text-faint);margin:0 8px}.status-dot[data-status=connected]{background:#35c08a}.status-dot[data-status=disconnected]{background:var(--danger)}.status-dot[data-status=connecting]{background:var(--star)}.shell-body{flex:1 1 auto;display:flex;min-height:0}.sidebar{width:248px;flex:none;background:transparent;padding:14px 12px;overflow-y:auto;display:flex;flex-direction:column;gap:3px}.compose-btn{align-self:stretch;justify-content:center;margin:2px 4px 16px;color:#fff;font-weight:600;padding:13px 18px;border-radius:14px;background:var(--accent)}.compose-btn .icon{color:#fff}.folder-list,.label-list{display:flex;flex-direction:column;gap:2px}.folder-row,.label-row{display:flex;align-items:center;gap:13px;width:100%;border:none;background:transparent;padding:10px 12px;border-radius:12px;cursor:pointer;color:var(--text-soft);font:inherit;font-weight:500;text-align:left}.folder-row .icon,.label-row .icon{color:var(--text-faint);width:19px;height:19px}.folder-row:hover,.label-row:hover{background:var(--surface-hover);color:var(--text)}.folder-row.active{background:var(--accent-soft);color:var(--accent-text);font-weight:700}.folder-row.active .icon{color:var(--accent)}.folder-name,.label-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-count{font-size:11px;font-weight:700;color:var(--accent-text);background:var(--accent-soft);border-radius:999px;padding:2px 9px;min-width:22px;text-align:center}.folder-row.active .folder-count{background:var(--accent);color:#fff}.sidebar-section{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--text-faint);padding:16px 12px 6px;font-weight:700}.label-dot{width:11px;height:11px;border-radius:4px;flex:none}.list-pane{width:384px;flex:none;background:var(--list-bg);margin:6px 6px 10px;border-radius:18px;overflow-y:auto;display:flex;flex-direction:column}.list-toolbar{display:flex;align-items:center;gap:6px;padding:16px 18px 10px;min-height:56px;position:sticky;top:0;background:var(--list-bg);z-index:2}.list-toolbar.selection-mode{background:var(--accent-soft);border-radius:0 0 14px 14px}.list-title{font-size:20px;font-weight:700;margin:0 4px}.sel-all,.msg-chk{width:17px;height:17px;cursor:pointer;accent-color:var(--accent);margin:0 4px}.sel-count{font-weight:600;margin-right:8px}.msg-list{display:flex;flex-direction:column;padding:4px 0 14px}.msg-row{display:flex;align-items:flex-start;gap:11px;padding:var(--row-pad) 18px;cursor:pointer;position:relative;background:transparent}.msg-row:hover{background:var(--surface-hover)}.msg-row.open,.msg-row.selected{background:var(--surface);border-radius:14px;box-shadow:var(--shadow-card);margin:2px 10px}.msg-row.cursor:not(.open):not(.selected){background:var(--surface-hover)}.msg-chk{margin-top:4px}.star-btn{border:none;background:none;cursor:pointer;padding:0;margin-top:3px;color:var(--text-faint)}.star-btn .icon{width:18px;height:18px}.star-btn.starred{color:var(--star)}.avatar{width:40px;height:40px;border-radius:50%;flex:none;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}.avatar-lg{width:46px;height:46px;font-size:17px}.msg-main{flex:1;min-width:0}.msg-line1{display:flex;align-items:center;gap:6px}.msg-from{font-size:14px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.msg-row.unread .msg-from{font-weight:700}.msg-row.unread .msg-from:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:7px;vertical-align:middle}.msg-date{font-size:12px;color:var(--text-faint);flex:none}.msg-row.unread .msg-date{color:var(--accent-text);font-weight:700}.msg-attach{width:15px;height:15px;color:var(--text-faint)}.thread-cont{color:var(--text-faint);font-size:13px}.msg-line2{display:flex;align-items:center;gap:6px;margin-top:2px}.msg-subject{color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}.msg-row.unread .msg-subject{font-weight:700;color:var(--accent-text)}.thread-badge{font-size:11px;font-weight:700;background:var(--accent-soft);border:none;border-radius:999px;padding:1px 8px;color:var(--accent-text);flex:none}.msg-snippet{font-size:13px;color:var(--text-faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.msg-labels{display:flex;gap:4px}.msg-label{font-size:10px;font-weight:700;color:#fff;padding:1px 7px;border-radius:6px;white-space:nowrap}.load-more{margin:14px auto;padding:9px 20px}.read-pane{flex:1 1 auto;overflow-y:auto;background:var(--surface);min-width:0}.read-empty{flex-direction:column;gap:12px;color:var(--text-faint)}.read-empty .icon{width:48px;height:48px;opacity:.4}.read-toolbar{display:flex;align-items:center;gap:4px;padding:14px 22px;position:sticky;top:0;background:var(--surface);z-index:2}.read-back{display:none}.read-header{padding:24px 28px 8px}.read-subject{font-size:26px;font-weight:700;letter-spacing:-.01em;margin:4px 0 18px}.read-meta{display:flex;align-items:flex-start;gap:13px}.read-from{min-width:0}.read-from-line{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.read-from-name{font-weight:700}.read-from-email{color:var(--text-faint);font-size:13px}.read-to{color:var(--text-soft);font-size:13px;margin-top:2px}.read-date{color:var(--text-faint);font-size:13px;white-space:nowrap}.auth-badges{display:flex;gap:6px;margin-top:6px}.auth-badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px}.auth-badge.pass{background:#35c08a29;color:#1f9d6b}.auth-badge.fail{background:#ef5d6f29;color:var(--danger)}html[data-theme=dark] .auth-badge.pass{color:#6fd6a3}.remote-bar{display:flex;align-items:center;gap:12px;margin:10px 28px;padding:11px 16px;background:var(--surface-2);border-radius:var(--radius-sm);font-size:13px;color:var(--text-soft)}.read-body-wrap{padding:10px 28px 0}.read-iframe{width:100%;border:none;min-height:120px;background:#fff;border-radius:var(--radius-sm)}.attach-section{padding:18px 28px;margin-top:14px}.attach-section-head{font-size:13px;font-weight:700;color:var(--text-soft);margin-bottom:12px}.attach-chips{display:flex;flex-wrap:wrap;gap:12px}.attach-dl-chip{display:flex;align-items:center;gap:10px;padding:11px 15px;border-radius:13px;text-decoration:none;color:var(--text);background:var(--surface-2);max-width:260px}.attach-dl-chip:hover{background:var(--surface-hover)}.attach-dl-chip .icon{color:var(--accent)}.attach-dl-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.attach-dl-size{color:var(--text-faint);font-size:12px}.read-reply-foot{display:flex;gap:10px;padding:18px 28px 30px}.inline-reply{margin:18px 28px 28px;background:var(--surface);border:1px solid var(--border);border-radius:18px;display:flex;flex-direction:column;box-shadow:var(--shadow)}.inline-reply-editor{min-height:70px;padding:16px 18px 12px;outline:none;color:var(--text);line-height:1.55}.inline-reply-editor:empty:before{content:attr(data-placeholder);color:var(--text-faint)}.inline-reply-toolbar{display:flex;align-items:center;gap:2px;padding:6px 10px;border-top:1px solid var(--border)}.inline-reply-foot{display:flex;align-items:center;gap:8px;padding:8px 14px 12px}.inline-reply-foot .spacer{flex:1}.inline-reply-send{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff;border:none;border-radius:12px;padding:10px 20px;font:inherit;font-weight:700;cursor:pointer}.inline-reply-send:hover{filter:brightness(1.06)}.inline-reply-send .icon{width:16px;height:16px}.folder-row.has-sub{font-weight:700;color:var(--text)}.folder-row .chev{margin-left:auto;color:var(--text-faint);transition:transform .15s var(--ease)}.folder-row.expanded .chev{transform:rotate(180deg)}.folder-sublist{display:flex;flex-direction:column;gap:2px;margin:2px 0 6px 14px;padding-left:10px;border-left:1px solid var(--border)}.folder-sublist .folder-row{padding:8px 12px;font-size:13.5px}.folder-sublist .folder-row.active{background:var(--accent-soft);color:var(--accent-text)}.sidebar-section-row{display:flex;align-items:center;justify-content:space-between;padding:16px 12px 6px}.sidebar-section-row .sidebar-section{padding:0}.sidebar-section-row .section-more{border:none;background:none;cursor:pointer;color:var(--text-faint);padding:4px;border-radius:6px;display:inline-flex}.sidebar-section-row .section-more:hover{background:var(--surface-hover);color:var(--text)}.sidebar-section-row .section-more .icon{width:14px;height:14px}.contact-list{display:flex;flex-direction:column;gap:2px}.contact-row{display:flex;align-items:center;gap:11px;width:100%;border:none;background:transparent;padding:8px 12px;border-radius:12px;cursor:pointer;color:var(--text);font:inherit;font-weight:500;text-align:left}.contact-row:hover{background:var(--surface-hover)}.contact-row .avatar{width:28px;height:28px;font-size:12px}.sender-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:7px;vertical-align:middle;flex:none}.user-pill{display:inline-flex;align-items:center;padding:2px;border:none;background:transparent;cursor:pointer;border-radius:999px;margin-left:6px}.user-pill:hover{background:var(--surface-hover)}.read-toolbar-from{color:var(--text-soft);font-size:13px;margin-left:4px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.read-toolbar-date{color:var(--text-faint);font-size:13px;margin-left:14px}.read-meta-details{margin-top:4px}.read-meta-details summary{color:var(--text-faint);font-size:12px;cursor:pointer;list-style:none}.read-meta-details summary::-webkit-details-marker{display:none}.read-meta-details summary:hover{color:var(--accent-text)}.read-meta-details[open] summary{color:var(--text-soft);margin-bottom:4px}.msg-avatar-wrap{position:relative;width:40px;height:40px;flex:none}.msg-avatar-wrap .avatar{position:absolute;top:0;right:0;bottom:0;left:0;transition:opacity .12s var(--ease)}.msg-avatar-wrap .msg-chk{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;width:40px;height:40px;border-radius:50%;opacity:0;cursor:pointer;transition:opacity .12s var(--ease);accent-color:var(--accent)}.msg-row:hover .msg-avatar-wrap .msg-chk,.msg-row.selected .msg-avatar-wrap .msg-chk{opacity:1}.msg-row:hover .msg-avatar-wrap .avatar,.msg-row.selected .msg-avatar-wrap .avatar{opacity:0}.msg-row .star-btn{opacity:0;transition:opacity .12s var(--ease)}.msg-row:hover .star-btn,.msg-row .star-btn.starred{opacity:1}.list-title{text-transform:capitalize}.list-title-count{font-size:12px;font-weight:700;color:var(--accent-text);background:var(--accent-soft);border-radius:999px;padding:2px 9px;min-width:22px;text-align:center;margin-left:8px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:50px 20px;color:var(--text-faint);text-align:center;flex:1}.empty-state .icon{width:40px;height:40px;opacity:.4}.toasts{position:fixed;left:50%;bottom:26px;transform:translate(-50%);display:flex;flex-direction:column;gap:10px;z-index:1000;align-items:center}.toast{display:flex;align-items:center;gap:14px;background:#2b2b3a;color:#fff;padding:13px 15px 13px 19px;border-radius:14px;box-shadow:var(--shadow-lg);min-width:280px;max-width:90vw;animation:toast-in .2s ease}.toast[data-type=error]{background:var(--danger)}.toast-msg{flex:1;font-size:14px}.toast-action{background:none;border:none;color:var(--accent-2);font-weight:700;cursor:pointer;font:inherit}.toast[data-type=error] .toast-action{color:#fff;text-decoration:underline}.toast-close{background:none;border:none;color:#ffffffb3;cursor:pointer;display:flex;padding:0}.toast-close .icon{width:18px;height:18px}.toast-out{opacity:0;transform:translateY(8px);transition:.2s}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1912376b;display:flex;align-items:center;justify-content:center;z-index:900;padding:20px;animation:fade-in .15s ease}.modal-out{opacity:0;transition:opacity .15s}@keyframes fade-in{0%{opacity:0}}.modal-box{background:var(--surface);border-radius:18px;box-shadow:var(--shadow-lg);max-height:92vh;overflow:auto}.composer-modal .modal-box{width:640px;max-width:100%}.composer{display:flex;flex-direction:column}.compose-head{display:flex;align-items:center;padding:14px 18px}.compose-title{font-weight:700;flex:1}.recip-row{display:flex;align-items:center;gap:10px;padding:4px 18px}.recip-row label{color:var(--text-faint);font-size:13px;width:28px;flex:none}.recip-input,.subj-input{flex:1;border:none;background:transparent;font:inherit;color:var(--text);padding:11px 0}.recip-input:focus,.subj-input:focus{outline:none}.subj-row{padding:4px 18px}.subj-input{font-weight:600}.compose-toolbar{display:flex;align-items:center;gap:2px;padding:8px 14px;flex-wrap:wrap}.tool-btn{min-width:32px;height:32px;border:none;background:transparent;border-radius:8px;cursor:pointer;color:var(--text-soft);font-weight:700;padding:0 8px}.tool-btn:hover{background:var(--surface-hover);color:var(--accent-text)}.tool-btn .icon{width:18px;height:18px}.tool-sep{width:1px;align-self:stretch;background:var(--border);margin:4px}.compose-editor{min-height:220px;max-height:46vh;overflow-y:auto;padding:18px;outline:none;line-height:1.55}.compose-editor:focus{outline:none}.compose-editor blockquote,.compose-editor .quote{border-left:3px solid var(--border-strong);margin:8px 0;padding-left:12px;color:var(--text-soft)}.attach-list{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 8px}.attach-chip{display:flex;align-items:center;gap:6px;background:var(--surface-2);border-radius:999px;padding:5px 6px 5px 13px;font-size:13px}.attach-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attach-size{color:var(--text-faint)}.attach-rm{border:none;background:none;cursor:pointer;color:var(--text-faint);display:flex;padding:0}.attach-rm .icon{width:16px;height:16px}.compose-foot{display:flex;align-items:center;gap:8px;padding:14px 18px}.compose-status{color:var(--text-faint);font-size:12px}.composer.drag-over{outline:2px dashed var(--accent);outline-offset:-6px}.autocomplete{background:var(--surface);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);z-index:950;overflow:hidden;max-height:260px;overflow-y:auto}.ac-item{display:flex;flex-direction:column;align-items:flex-start;width:100%;border:none;background:none;padding:9px 13px;cursor:pointer;text-align:left}.ac-item:hover{background:var(--surface-hover)}.ac-name{font-weight:600}.ac-email{font-size:12px;color:var(--text-faint)}.popup-menu{background:var(--surface);border-radius:14px;box-shadow:var(--shadow-lg);z-index:950;padding:7px;min-width:200px;max-height:70vh;overflow-y:auto}.popup-item{display:flex;align-items:center;gap:12px;width:100%;border:none;background:none;padding:10px 12px;border-radius:9px;cursor:pointer;color:var(--text);font:inherit;text-align:left}.popup-item:hover{background:var(--surface-hover);color:var(--accent-text)}.popup-item:hover .icon{color:var(--accent)}.popup-item .icon{width:18px;height:18px;color:var(--text-faint)}.popup-item.danger{color:var(--danger)}.popup-sep{height:1px;background:var(--border);margin:6px 0}.help-modal .modal-box{width:460px;max-width:100%;padding:26px}.help-head h2{margin:0 0 16px}.help-grid{display:grid;grid-template-columns:70px 1fr;gap:10px 14px;align-items:center}.help-key{display:inline-block;background:var(--surface-2);border-bottom-width:2px;border-radius:7px;padding:3px 8px;font-family:ui-monospace,monospace;font-size:13px;text-align:center}.help-desc{color:var(--text-soft)}.settings-modal .modal-box{width:760px;max-width:100%;height:88vh;display:flex;flex-direction:column}.settings-view{display:flex;flex-direction:column;height:100%}.settings-close-bar{display:flex;justify-content:flex-end;padding:10px 14px}.settings-body{overflow-y:auto;padding:22px 30px}.settings-head h2{margin:0 0 14px}.settings-tabs{display:flex;gap:4px;margin-bottom:22px;flex-wrap:wrap}.settings-tab{border:none;background:none;padding:10px 14px;cursor:pointer;color:var(--text-soft);font:inherit;font-weight:600;border-bottom:2px solid transparent}.settings-tab.active{color:var(--accent-text);border-bottom-color:var(--accent)}.settings-section h3{margin:0 0 16px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;max-width:420px}.field-label{font-size:13px;font-weight:600;color:var(--text-soft)}.field-row{display:flex;gap:16px;flex-wrap:wrap}.chk{display:flex;align-items:center;gap:8px;margin-bottom:14px;cursor:pointer}.chk input{width:16px;height:16px;accent-color:var(--accent)}.crud-list{display:flex;flex-direction:column;gap:14px;margin-bottom:16px}.crud-item{display:flex;flex-direction:column;gap:8px;padding:15px;border-radius:13px;background:var(--surface-2)}.crud-body{font-family:ui-monospace,monospace;font-size:13px}.crud-actions{display:flex;gap:8px}.filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settings-error{color:var(--danger)}.cat-tabs{display:flex;gap:2px;padding:0 10px;position:sticky;top:56px;background:var(--list-bg);z-index:2;overflow-x:auto;scrollbar-width:none}.cat-tabs::-webkit-scrollbar{display:none}.cat-tab{position:relative;display:flex;align-items:center;gap:8px;flex:1 1 0;min-width:max-content;justify-content:center;border:none;background:none;cursor:pointer;font:inherit;font-weight:600;color:var(--text-soft);padding:11px 14px 13px;white-space:nowrap;transition:color .18s var(--ease),background .18s var(--ease)}.cat-tab .cat-ico{width:18px;height:18px;color:var(--text-faint);transition:color .18s,transform .2s var(--ease)}.cat-tab:hover{background:var(--surface-hover)}.cat-tab.active{color:var(--accent-text)}.cat-tab.active .cat-ico{color:var(--accent);transform:scale(1.08)}.cat-tab:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--accent);transform:scaleX(0);transform-origin:center;transition:transform .22s var(--ease)}.cat-tab.active:after{transform:scaleX(1)}.cat-count{font-size:11px;font-weight:700;min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--surface);color:var(--text-soft);transition:background .18s,color .18s}.cat-tab.active .cat-count{background:var(--accent);color:#fff}:root{--ease: cubic-bezier(.2,.7,.3,1)}.list-pane,.read-pane,.sidebar{scroll-behavior:smooth}.btn,.icon-btn,.tool-btn,.popup-item,.ac-item,.settings-tab,.folder-row,.label-row,.attach-dl-chip,.compose-btn,.linkish{transition:background .15s var(--ease),color .15s var(--ease),transform .12s var(--ease),box-shadow .15s var(--ease),filter .15s}.btn:active,.icon-btn:active,.tool-btn:active{transform:scale(.93)}.compose-btn:hover{filter:brightness(1.06)}.folder-row:active,.label-row:active{transform:translate(1px)}.attach-dl-chip:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.msg-row{transition:background .15s var(--ease),box-shadow .18s var(--ease)}.star-btn .icon{transition:transform .2s var(--ease),color .15s}.star-btn:hover .icon{transform:scale(1.18)}.star-btn.starred .icon{animation:starPop .3s var(--ease)}@keyframes starPop{0%{transform:scale(.5)}60%{transform:scale(1.3)}to{transform:scale(1)}}.msg-list.animate-in .msg-row{animation:rowIn .34s var(--ease) both;animation-delay:calc(var(--i, 0) * 22ms)}@keyframes rowIn{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes paneIn{0%{opacity:0;transform:translate(8px)}to{opacity:1;transform:none}}@media (min-width: 801px){.read-pane.active{animation:paneIn .26s var(--ease)}}.modal-box{animation:modalRise .2s var(--ease)}@keyframes modalRise{0%{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}@media (max-width: 1024px){.sidebar{position:absolute;top:0;bottom:0;left:0;z-index:20;transform:translate(-100%);transition:transform .2s;box-shadow:var(--shadow-lg);background:var(--panel)}.shell.sidebar-open .sidebar{transform:none}.menu-toggle{display:inline-flex}}@media (max-width: 800px){.shell{margin:0;height:100vh;border-radius:0}.shell-body{position:relative}.list-pane{width:100%;margin:0;border-radius:0}.read-pane{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;transform:translate(100%);transition:transform .2s}.shell.reading .read-pane.active{transform:none}.read-back{display:inline-flex}.brand span{display:none}.read-subject{font-size:21px}.filter-grid{grid-template-columns:1fr}}
