.matt-strip{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px}.matt-chip{display:inline-flex;align-items:stretch;max-width:100%;border:1px solid #e8e2db;border-radius:9px;background:#fff;overflow:hidden;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.matt-chip:hover,.matt-chip.is-active,.matt-chip:focus-within{border-color:#d3c3a8;background:#fffcf7;box-shadow:0 2px 8px #7a60401f}.matt-chip-main{display:inline-flex;align-items:center;gap:7px;min-width:0;padding:4px 6px 4px 5px;border:0;background:transparent;color:#3d342c;font:inherit;font-size:12px;text-align:left;cursor:zoom-in}.matt-chip-name{min-width:0;max-width:220px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:600}.matt-chip-size{flex:none;color:#9a8f84;font-size:11px;font-variant-numeric:tabular-nums}.matt-chip-dl{display:grid;place-items:center;width:28px;border:0;border-left:1px solid #f0ebe4;background:transparent;color:#9a8f84;cursor:pointer}.matt-chip-dl:hover,.matt-chip-dl:focus-visible{background:#faf7f2;color:#7a6040}.matt-badge{flex:none;display:grid;place-items:center;width:24px;height:28px;border-radius:4px;background:#8c959f;color:#fff;font-size:8px;font-weight:800;letter-spacing:.03em;clip-path:polygon(0 0,70% 0,100% 22%,100% 100%,0 100%)}.matt-badge.is-pdf{background:#d13438}.matt-badge.is-doc{background:#2b579a}.matt-badge.is-xls{background:#217346}.matt-badge.is-ppt{background:#c43e1c}.matt-badge.is-img{background:#8764b8}.matt-badge.is-zip{background:#6b7280}.matt-badge.is-mail{background:#0f6cbd}.matt-badge.is-txt{background:#57606a}.matt-card{position:fixed;z-index:2600;display:flex;flex-direction:column;border:1px solid #e8e2db;border-radius:14px;background:#fffdfa;box-shadow:0 18px 48px #2d211438,0 2px 6px #2d211414;overflow:hidden;animation:matt-in .14s ease-out}@keyframes matt-in{0%{opacity:0;transform:translateY(4px) scale(.985)}to{opacity:1;transform:none}}.matt-card-head{display:flex;align-items:center;gap:9px;padding:10px 12px;border-bottom:1px solid #f0ebe4;background:#fff}.matt-card-title{display:grid;flex:1;min-width:0;line-height:1.25}.matt-card-title b{overflow:hidden;color:#2f2721;font-size:13px;white-space:nowrap;text-overflow:ellipsis}.matt-card-title span{overflow:hidden;color:#9a8f84;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.matt-card-btn{display:inline-grid;place-items:center;flex:none;min-width:30px;height:30px;padding:0 10px;border:1px solid #e8e2db;border-radius:8px;background:#fff;color:#7c7168;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.matt-card-btn:hover{background:#faf7f2;color:#7a6040}.matt-card-btn.is-primary{border-color:#7a6040;background:#7a6040;color:#fff}.matt-card-btn.is-primary:hover{background:#654f34;color:#fff}.matt-card-body{flex:1;min-height:120px;padding:12px 16px 14px;overflow:auto;overscroll-behavior:contain;background:#f4f0ea}.matt-pdf{display:grid;gap:10px;justify-items:center}.matt-pdf-page{display:block;border-radius:3px;background:#fff;box-shadow:0 1px 4px #2d21142e}.matt-image{display:block;max-width:100%;margin:0 auto;border-radius:6px;background:#fff;box-shadow:0 1px 4px #2d21142e}.matt-text{margin:0;padding:12px;border-radius:6px;background:#fff;color:#3d342c;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word}.matt-sheet{overflow:auto;border-radius:6px;background:#fff}.matt-sheet-name{padding:6px 8px;color:#7c7168;font-size:11px;font-weight:600}.matt-sheet table{border-collapse:collapse;font-size:11px}.matt-sheet td{max-width:160px;padding:4px 7px;border:1px solid #efe9e1;overflow:hidden;color:#3d342c;white-space:nowrap;text-overflow:ellipsis}.matt-sheet tr:first-child td{background:#faf7f2;font-weight:600}.matt-card-note{margin:8px 0 0;color:#7c7168;font-size:12px;text-align:center}.matt-skeleton{display:grid;gap:10px;padding:4px}.matt-skeleton span{display:block;height:120px;border-radius:6px;background:linear-gradient(90deg,#ece6de,#f8f5f0,#ece6de);background-size:200% 100%;animation:matt-shimmer 1.1s linear infinite}.matt-skeleton span:nth-child(2){height:18px;width:70%}.matt-skeleton span:nth-child(3){height:18px;width:45%}@keyframes matt-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.matt-card,.matt-skeleton span{animation:none}}.matt-strip.eml-attachments-strip{gap:8px;margin-top:16px}.matt-mail,.matt-archive{display:grid;gap:4px;padding:12px 14px;border-radius:6px;background:#fff;color:#3d342c;font-size:12px}.matt-mail b,.matt-archive b{font-size:13px;color:#2f2721}.matt-mail span{color:#7c7168}.matt-mail p{margin:8px 0 0;white-space:pre-wrap;line-height:1.5}.matt-archive ul{margin:4px 0 0;padding-left:16px}.matt-archive li{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.eml-shell{--eml-accent: #0f6cbd;--eml-accent-strong: #0f548c;--eml-accent-soft: #e8f2fb;--eml-accent-softer: #f3f8fd;--eml-ink: #1f2328;--eml-ink-2: #3d444d;--eml-muted: #656d76;--eml-faint: #8c959f;--eml-line: #e4e7eb;--eml-line-soft: #eef0f3;--eml-hover: #f4f6f8;--eml-field: #f3f5f7;--eml-danger: #c4314b;--eml-flag: #d13438;--eml-success: #107c41;--eml-ai: #6d28d9;--eml-ai-soft: #f5f0ff;--eml-radius: 14px;--eml-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);--eml-shadow-md: 0 6px 18px rgba(16, 24, 40, .08), 0 1px 3px rgba(16, 24, 40, .05);--eml-shadow-lg: 0 24px 64px rgba(16, 24, 40, .22), 0 4px 12px rgba(16, 24, 40, .08);display:flex;flex-direction:column;gap:10px;height:calc(100dvh - 180px);min-height:560px;color:var(--eml-ink);font-family:var(--font-main, "Inter", system-ui, sans-serif)}.eml-shell button{font-family:inherit}.eml-shell :focus-visible{outline:2px solid var(--eml-accent);outline-offset:1px}.eml-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:34px;padding:0 14px;border:1px solid var(--eml-line, #e4e7eb);border-radius:9px;background:#fff;color:var(--eml-ink, #1f2328);font:600 13px/1 var(--font-main, "Inter", system-ui, sans-serif);white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,transform .08s ease}.eml-btn:hover:not(:disabled){background:var(--eml-hover, #f4f6f8);border-color:#d3d8de}.eml-btn:active:not(:disabled){transform:translateY(1px)}.eml-btn:disabled{opacity:.55;cursor:not-allowed}.eml-btn--primary{border-color:var(--eml-accent, #0f6cbd);background:linear-gradient(180deg,#1673c6,#0f6cbd);color:#fff;box-shadow:0 1px 2px #0f6cbd59,inset 0 1px #ffffff26}.eml-btn--primary:hover:not(:disabled){border-color:#115ea3;background:#115ea3;color:#fff}.eml-btn--ghost{border-color:transparent;background:transparent;color:var(--eml-muted, #656d76)}.eml-btn--ai{border-color:#e4dafc;background:var(--eml-ai-soft, #f5f0ff);color:var(--eml-ai, #6d28d9)}.eml-btn--ai:hover:not(:disabled){border-color:#cdb9f8;background:#efe6ff}.eml-btn--lg{height:42px;padding:0 22px;font-size:14px}.eml-icon-btn{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--eml-muted, #656d76);cursor:pointer;transition:background .15s ease,color .15s ease}.eml-icon-btn:hover:not(:disabled){background:var(--eml-hover, #f4f6f8);color:var(--eml-ink, #1f2328)}.eml-icon-btn.is-on{color:var(--eml-accent)}.eml-icon-btn:disabled{opacity:.5;cursor:not-allowed}.eml-icon-btn.is-spinning svg{animation:email-tb-spin .9s linear infinite}.eml-link{padding:0;border:0;background:none;color:var(--eml-accent);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.eml-link:hover{text-decoration:underline}.eml-kbd{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:1px solid #d0d7de;border-bottom-width:2px;border-radius:5px;background:#fff;color:var(--eml-ink-2, #3d444d);font:600 11px/1 var(--font-main, "Inter", system-ui, sans-serif);white-space:nowrap}.eml-spinner{display:inline-block;flex:none;width:14px;height:14px;border:2px solid #cfe3f5;border-top-color:var(--eml-accent, #0f6cbd);border-radius:50%;animation:email-tb-spin .8s linear infinite}.eml-spinner.is-light{border-color:#ffffff59;border-top-color:#fff}@keyframes email-tb-spin{to{transform:rotate(360deg)}}@keyframes eml-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes eml-pop{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes eml-fade{0%{opacity:0}to{opacity:1}}.eml-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.eml-topbar-group{display:flex;align-items:center;gap:6px;min-width:0}.eml-sync{display:inline-flex;align-items:center;gap:10px;height:34px;padding:0 12px;border:1px solid var(--eml-line);border-radius:999px;background:#fff;font-size:12.5px;white-space:nowrap}.eml-sync-dot{width:8px;height:8px;border-radius:50%;background:#c4cad1}.eml-sync-dot.is-on{background:#10b981;box-shadow:0 0 0 3px #10b9812e}.eml-sync-dot.is-busy{background:var(--eml-accent);animation:eml-pulse 1s ease-in-out infinite}@keyframes eml-pulse{0%,to{box-shadow:0 0 #0f6cbd59}50%{box-shadow:0 0 0 5px #0f6cbd00}}.eml-sync-select{width:auto;height:24px;padding:0 22px 0 8px;border:0;border-radius:6px;background-color:var(--eml-field);color:var(--eml-ink-2);font-size:12px;box-shadow:none;cursor:pointer}.eml-sync-select:disabled{opacity:.5;cursor:not-allowed}.eml-sync-last{color:var(--eml-muted);font-variant-numeric:tabular-nums}.email-switch{position:relative;display:inline-flex;align-items:center;gap:8px;margin:0;cursor:pointer;font-size:12.5px;font-weight:600;color:var(--eml-ink, #1f2328)}.email-switch input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.email-switch-track{position:relative;width:28px;height:16px;border-radius:999px;background:#cdd3da;transition:background .18s ease}.email-switch-track:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .18s ease}.email-switch input:checked+.email-switch-track{background:#0f6cbd}.email-switch input:checked+.email-switch-track:after{transform:translate(12px)}.email-switch input:focus-visible+.email-switch-track{box-shadow:0 0 0 3px #0f6cbd40}.eml-segment{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--eml-line);border-radius:9px;background:#fff}.eml-segment button{display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--eml-muted);cursor:pointer}.eml-segment button:hover{color:var(--eml-ink)}.eml-segment button.is-on{background:var(--eml-accent-soft);color:var(--eml-accent)}.eml-layout{flex:1;min-height:0;display:grid;grid-template-columns:var(--eml-folders-w, 264px) var(--eml-list-w, 400px) minmax(0,1fr);gap:10px}.eml-shell.is-folders-hidden .eml-layout{grid-template-columns:var(--eml-list-w, 400px) minmax(0,1fr)}.eml-pane{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--eml-line);border-radius:var(--eml-radius);background:#fff;box-shadow:var(--eml-shadow-sm)}.eml-splitter{position:absolute;top:12px;bottom:12px;right:-9px;z-index:4;width:8px;border-radius:4px;cursor:col-resize;touch-action:none}.eml-splitter:after{content:"";position:absolute;top:0;bottom:0;left:3px;width:2px;border-radius:2px;background:transparent;transition:background .15s ease}.eml-splitter:hover:after,.eml-splitter:focus-visible:after,body.eml-is-resizing .eml-splitter:after{background:#0f6cbd73}.eml-splitter:focus-visible{outline:none}body.eml-is-resizing{cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none}body.eml-is-resizing iframe{pointer-events:none}.eml-folders-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:10px 8px 12px;border-radius:inherit;scrollbar-width:thin}.mft{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}.mft-mailbox{display:grid;grid-template-columns:minmax(0,1fr);gap:1px;min-width:0}.mft-mailbox+.mft-mailbox{padding-top:10px;border-top:1px solid var(--eml-line-soft, #eef0f3)}.mft-mailbox-head{display:flex;align-items:center;gap:8px;width:100%;padding:6px;border:0;border-radius:9px;background:transparent;color:var(--eml-ink, #1f2328);font:inherit;font-size:13px;font-weight:650;text-align:left;cursor:pointer}.mft-mailbox-head:hover{background:var(--eml-hover, #f4f6f8)}.mft-avatar{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:linear-gradient(135deg,#0f6cbd,#2899f5);box-shadow:0 2px 6px #0f6cbd38;color:#fff;font-size:10px;font-weight:800}.mft-mailbox:not(.is-current) .mft-avatar{background:linear-gradient(135deg,#8a9bb0,#b4c1d1);box-shadow:none}.mft .mft-mailbox .mft-avatar--fav{background:linear-gradient(135deg,#d4a017,#f2c94c);box-shadow:0 2px 6px #d4a01747}.mft-mailbox-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mft-list{display:grid;grid-template-columns:minmax(0,1fr);gap:1px;min-width:0;margin:0;padding:0;list-style:none}.mft-list>li,.mft-row{min-width:0}.mft-row{position:relative;display:flex;align-items:center;gap:2px;border-radius:8px;transition:background .12s ease,box-shadow .12s ease}.mft-row:hover{background:var(--eml-hover, #f4f6f8)}.mft-row.is-active{background:var(--eml-accent-soft, #e8f2fb)}.mft-row.is-active:before{content:"";position:absolute;top:7px;bottom:7px;left:0;width:3px;border-radius:3px;background:var(--eml-accent, #0f6cbd)}.mft-row.is-drop{background:var(--eml-accent-soft, #e8f2fb);box-shadow:inset 0 0 0 2px var(--eml-accent, #0f6cbd)}.mft-chevron,.mft-chevron-spacer{flex:none;width:18px;height:24px}.mft-chevron{display:inline-grid;place-items:center;padding:0;border:0;background:transparent;color:var(--eml-faint, #8c959f);cursor:pointer;transition:transform .15s ease,color .12s ease}.mft-chevron:hover{color:var(--eml-accent, #0f6cbd)}.mft-chevron.is-open{transform:rotate(90deg)}.mft-label{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:6px 6px 6px 2px;border:0;background:transparent;color:var(--eml-ink-2, #3d444d);font:inherit;font-size:13px;text-align:left;cursor:pointer}.mft-icon{flex:none;display:inline-grid;place-items:center;width:18px;color:var(--eml-muted, #656d76)}.mft-row.is-active .mft-icon{color:var(--eml-accent, #0f6cbd)}.mft-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mft-row.has-unread .mft-name{font-weight:650;color:var(--eml-ink, #1f2328)}.mft-row.is-active .mft-name{font-weight:650;color:var(--eml-accent-strong, #0f548c)}.mft-badge{flex:none;min-width:20px;padding:1px 7px;border-radius:999px;background:var(--eml-accent, #0f6cbd);color:#fff;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;text-align:center}.mft-badge.is-muted{background:#eef1f5;color:var(--eml-muted, #656d76)}.mft-favorites{padding-bottom:10px;border-bottom:1px solid var(--eml-line-soft, #eef0f3)}.mft-favorites+.mft-mailbox{padding-top:0;border-top:0}.mft-mailbox-tag{flex:none;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 6px;border-radius:6px;background:#eef1f5;color:#5b6b7d;font-size:10px;font-weight:600;line-height:16px}.mft-star{flex:none;display:inline-grid;place-items:center;width:24px;height:24px;margin-right:2px;padding:0;border:0;border-radius:6px;background:transparent;color:#b8c2cc;cursor:pointer;opacity:0;transition:opacity .12s ease,color .12s ease}.mft-row:hover .mft-star,.mft-star:focus-visible,.mft-star.is-on{opacity:1}.mft-star:hover,.mft-star.is-on{color:#d4a017}.mft-favorites .mft-star.is-on{opacity:0}.mft-favorites .mft-row:hover .mft-star.is-on{opacity:1}.mft button:focus{outline:none}.mft button:focus-visible{outline:2px solid #2899f5;outline-offset:-2px;border-radius:8px}.mft-hint{padding:4px 8px 6px 30px;color:var(--eml-muted, #656d76);font-size:12px}.mft-hint.is-error{color:#b91c1c}.mft-retry{padding:0;border:0;background:none;color:#0f6cbd;font:inherit;text-decoration:underline;cursor:pointer}.mft-skeleton{display:grid;gap:8px;padding:6px 8px 6px 30px}.mft-skeleton i{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,#eef1f5 25%,#f7f9fb,#eef1f5 75%);background-size:200% 100%;animation:eml-shimmer 1.2s linear infinite}.mft-skeleton i:nth-child(2){width:75%}.mft-skeleton i:nth-child(3){width:55%}.eml-list-head{display:grid;gap:10px;padding:14px 14px 10px}.eml-list-title{display:grid;gap:2px;min-width:0}.eml-list-title h3{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--eml-ink);font-size:17px;font-weight:700;letter-spacing:-.01em}.eml-list-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--eml-muted);font-size:12px}.eml-list-title b{color:var(--eml-accent);font-weight:600}.eml-search{display:flex;align-items:center;gap:8px;height:36px;padding:0 8px 0 11px;border:1px solid transparent;border-radius:10px;background:var(--eml-field);color:var(--eml-muted);transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.eml-search:focus-within{border-color:var(--eml-accent);background:#fff;box-shadow:0 0 0 3px #0f6cbd24}.eml-search input,.eml-search input:hover,.eml-search input:focus,.eml-search input:focus-visible{flex:1;min-width:0;width:auto;height:100%;padding:0;border:0;border-radius:0;outline:none;background:transparent;box-shadow:none;color:var(--eml-ink);font-size:13px}.eml-search input:focus-visible{outline:none}.eml-search-clear{display:inline-grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:#e1e5ea;color:var(--eml-ink-2);cursor:pointer}.eml-search-key{color:var(--eml-faint)}.eml-search:focus-within .eml-search-key{display:none}.eml-chips{display:flex;flex-wrap:wrap;gap:5px}.eml-chip{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 9px;border:1px solid var(--eml-line);border-radius:999px;background:#fff;color:var(--eml-ink-2);font-size:12px;font-weight:550;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.eml-chip:hover{border-color:#cfd5dc;background:var(--eml-hover)}.eml-chip span{min-width:18px;padding:0 5px;border-radius:999px;background:var(--eml-field);color:var(--eml-muted);font-size:11px;font-weight:700;line-height:17px;text-align:center;font-variant-numeric:tabular-nums}.eml-chip.is-on{border-color:var(--eml-accent);background:var(--eml-accent);color:#fff}.eml-chip.is-on span{background:#ffffff38;color:#fff}.eml-bulk-bar{display:flex;flex:none;align-items:center;gap:8px;margin:0 10px 8px;padding:6px 8px;border:1px solid #cfe2f5;border-radius:10px;background:var(--eml-accent-soft)}.eml-bulk-label{display:grid;flex:1;min-width:0}.eml-bulk-label strong{color:var(--eml-accent-strong);font-size:13px}.eml-bulk-label span{overflow:hidden;color:var(--eml-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.eml-bulk-actions{display:flex;gap:2px}.eml-list-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding-bottom:8px;border-top:1px solid var(--eml-line-soft);border-radius:0 0 var(--eml-radius) var(--eml-radius);scrollbar-width:thin}.eml-group-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:8px;margin:0;padding:10px 16px 6px;background:#fffffff0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--eml-muted);font-size:12px;font-weight:650;letter-spacing:.01em}.eml-group-head span{color:var(--eml-faint);font-weight:500;font-variant-numeric:tabular-nums}.eml-rows{margin:0;padding:0 6px;list-style:none}.eml-row{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;margin:1px 0;padding:10px 10px 10px 14px;border-radius:10px;cursor:pointer;transition:background .12s ease}.eml-row:hover{background:var(--eml-hover)}.eml-row.is-selected{background:var(--eml-accent-soft)}.eml-row.is-selected:before{content:"";position:absolute;top:10px;bottom:10px;left:0;width:3px;border-radius:3px;background:var(--eml-accent)}.eml-row[draggable=true]:active{cursor:grabbing}.eml-row-unread-dot{position:absolute;top:24px;left:4px;width:7px;height:7px;border-radius:50%;background:var(--eml-accent);opacity:0;transform:scale(.4);transition:opacity .15s ease,transform .15s ease}.eml-row.is-unread .eml-row-unread-dot{opacity:1;transform:none}.eml-row.is-selected .eml-row-unread-dot{opacity:0}.eml-avatar{flex:none;display:inline-grid;place-items:center;border-radius:50%;font-weight:650;letter-spacing:.02em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.eml-row-main{display:grid;gap:2px;min-width:0}.eml-row-line{display:flex;align-items:baseline;gap:8px;min-width:0}.eml-row-sender{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--eml-ink-2);font-size:13.5px;font-weight:500}.eml-row-meta{display:inline-flex;align-items:center;gap:5px;flex:none;color:var(--eml-faint);font-size:11.5px;font-variant-numeric:tabular-nums}.eml-row-meta svg{display:block}.eml-row-important{color:var(--eml-danger)}.eml-row-flag{color:var(--eml-flag)}.eml-row-subject{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--eml-ink-2);font-size:13px}.eml-row-preview{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:var(--eml-muted);font-size:12.5px;line-height:1.45}.eml-row.is-unread .eml-row-sender,.eml-row.is-unread .eml-row-subject{color:var(--eml-ink);font-weight:650}.eml-row.is-unread .eml-row-meta time{color:var(--eml-accent);font-weight:600}.eml-row.is-flagged{background:#fdf6f6}.eml-row.is-flagged.is-selected{background:var(--eml-accent-soft)}.eml-row mark,.eml-read mark{padding:0 1px;border-radius:3px;background:#fff1b8;color:inherit}.eml-row-actions{position:absolute;top:6px;right:8px;display:flex;gap:1px;padding:2px;border:1px solid var(--eml-line);border-radius:9px;background:#fff;box-shadow:var(--eml-shadow-md);opacity:0;pointer-events:none;transform:translateY(-2px);transition:opacity .12s ease,transform .12s ease}.eml-row:hover .eml-row-meta,.eml-row:focus-within .eml-row-meta{visibility:hidden}.eml-row:hover .eml-row-actions,.eml-row:focus-within .eml-row-actions{opacity:1;pointer-events:auto;transform:none}.eml-row-actions button{display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--eml-muted);cursor:pointer}.eml-row-actions button:hover{background:var(--eml-hover);color:var(--eml-ink)}.eml-row-actions button.is-on{color:var(--eml-flag)}.eml-list-scroll.is-compact .eml-row{gap:10px;padding:6px 10px 6px 14px;align-items:center}.eml-list-scroll.is-compact .eml-row-unread-dot{top:50%;margin-top:-3px}.eml-list-scroll.is-compact .eml-row-sender{font-size:13px}.eml-list-scroll.is-compact .eml-row-subject{font-size:12.5px}.eml-list-scroll.is-compact .eml-row-actions{top:50%;transform:translateY(-50%)}.eml-list-scroll.is-compact .eml-row:hover .eml-row-actions{transform:translateY(-50%)}.eml-load-more{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;color:var(--eml-muted);font-size:12.5px}.eml-load-more.is-end{color:var(--eml-faint)}.eml-empty{display:grid;justify-items:center;gap:8px;padding:56px 24px;text-align:center;color:var(--eml-muted);font-size:13px;animation:eml-fade .25s ease}.eml-empty strong{color:var(--eml-ink);font-size:15px}.eml-empty p{max-width:280px;margin:0;line-height:1.5}.eml-empty-icon{display:grid;place-items:center;width:56px;height:56px;margin-bottom:4px;border-radius:18px;background:var(--eml-field);color:var(--eml-muted)}.eml-empty-icon.is-success{background:#e7f6ee;color:var(--eml-success)}.eml-empty.is-error .eml-empty-icon{background:#fdecee;color:var(--eml-danger)}.eml-skeleton-list{display:grid;gap:4px;padding:10px 12px}.eml-skeleton-row{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:8px 4px}.eml-skeleton-row>div{display:grid;gap:7px}.eml-skeleton-row i,.eml-body-skeleton i,.eml-read-header-skeleton i,.eml-ai-shimmer i{display:block;height:10px;border-radius:6px;background:linear-gradient(90deg,#eef1f5 25%,#f7f9fb,#eef1f5 75%);background-size:200% 100%;animation:eml-shimmer 1.3s linear infinite}.eml-skeleton-row .eml-skeleton-avatar{width:36px;height:36px;border-radius:50%}.eml-reading{container-type:inline-size}@container (max-width: 760px){.eml-cmd:not(.is-primary):not(.eml-cmd--ai) span{display:none}.eml-cmd:not(.is-primary):not(.eml-cmd--ai){justify-content:center;width:32px;padding:0}.eml-read-header,.eml-read-body{padding-left:20px;padding-right:20px}}@container (max-width: 600px){.eml-cmd--ai span{display:none}.eml-cmd--ai{justify-content:center;width:32px;padding:0}.eml-cmd-pos{display:none}}@container (max-width: 440px){.eml-cmd span{display:none}.eml-cmd{justify-content:center;width:32px;padding:0}.eml-cmd-sep{display:none}}.eml-read{display:flex;flex-direction:column;height:100%;min-height:0}.eml-read-toolbar{display:flex;align-items:center;gap:2px;flex-wrap:wrap;padding:7px 10px;border-bottom:1px solid var(--eml-line-soft)}.eml-cmd-group{display:flex;align-items:center;gap:2px}.eml-cmd{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--eml-ink-2);font-size:13px;font-weight:550;white-space:nowrap;cursor:pointer;transition:background .12s ease,color .12s ease}.eml-cmd:hover:not(:disabled){background:var(--eml-hover);color:var(--eml-ink)}.eml-cmd:disabled{opacity:.4;cursor:default}.eml-cmd.is-icon{justify-content:center;width:32px;padding:0}.eml-cmd.is-primary{color:var(--eml-accent)}.eml-cmd.is-primary:hover:not(:disabled){background:var(--eml-accent-softer);color:var(--eml-accent-strong)}.eml-cmd.is-on{background:#fdecee;color:var(--eml-flag)}.eml-cmd--ai{color:var(--eml-ai)}.eml-cmd--ai:hover:not(:disabled){background:var(--eml-ai-soft);color:var(--eml-ai)}.eml-cmd--ai.is-on{background:var(--eml-ai-soft);color:var(--eml-ai)}.eml-cmd-sep{width:1px;height:20px;margin:0 6px;background:var(--eml-line)}.eml-cmd-nav{display:flex;align-items:center;gap:2px;margin-left:auto}.eml-cmd-pos{padding:0 6px;color:var(--eml-faint);font-size:12px;font-variant-numeric:tabular-nums}.eml-read-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;border-radius:0 0 var(--eml-radius) var(--eml-radius);scrollbar-width:thin}.eml-read-header,.eml-compose-head,.eml-dialog-head{margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}.eml-read-header{display:block;padding:22px 28px 14px;animation:eml-fade .2s ease}.eml-read-subject{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px;color:var(--eml-ink);font-size:21px;font-weight:700;letter-spacing:-.015em;line-height:1.3;overflow-wrap:anywhere}.eml-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:600;letter-spacing:0}.eml-tag.is-danger{background:#fdecee;color:var(--eml-danger)}.eml-tag.is-flag{background:#fdeeee;color:var(--eml-flag)}.eml-read-from{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start}.eml-read-from-text{display:grid;gap:4px;min-width:0}.eml-read-sender{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;color:var(--eml-ink);font-size:14.5px}.eml-read-sender strong{font-weight:650}.eml-read-sender span{color:var(--eml-muted);font-size:12.5px}.eml-read-recipients{display:flex;gap:6px;min-width:0;color:var(--eml-muted);font-size:12.5px}.eml-read-recipients-label{flex:none;padding-top:2px;color:var(--eml-faint);font-weight:600}.eml-read-recipients-list{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.eml-person-chip{display:inline-flex;align-items:baseline;gap:5px;max-width:100%;padding:1px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:999px;background:var(--eml-field);color:var(--eml-ink-2)}.eml-person-chip em{color:var(--eml-faint);font-size:11.5px;font-style:normal}.eml-person-more{padding:1px 6px;color:var(--eml-accent);font-weight:600}.eml-read-side{display:grid;justify-items:end;gap:6px;color:var(--eml-muted);font-size:12.5px;white-space:nowrap}.eml-read-header-skeleton{display:grid;gap:12px;padding:4px 0 8px}.eml-read-header-skeleton i:nth-child(1){width:70%;height:18px}.eml-read-header-skeleton i:nth-child(2){width:40%}.eml-read-header-skeleton i:nth-child(3){width:55%}.eml-ai-card{margin-top:16px;padding:12px 16px 12px 14px;border:1px solid #e6dcfb;border-radius:12px;background:linear-gradient(135deg,#faf7ff,#f3f7ff);animation:eml-pop .22s ease}.eml-ai-card-head{display:flex;align-items:center;gap:7px;color:var(--eml-ai);font-size:12.5px;letter-spacing:.01em}.eml-ai-card ul{display:grid;list-style:disc;gap:4px;margin:8px 0 0;padding-left:20px;color:var(--eml-ink-2);font-size:13.5px;line-height:1.5}.eml-ai-card li::marker{color:#a78bfa}.eml-ai-next{display:flex;align-items:flex-start;gap:6px;margin:10px 0 0;padding:7px 10px;border-radius:8px;background:#ffffffbf;color:var(--eml-ink-2);font-size:13px}.eml-ai-next svg{flex:none;margin-top:2px;color:var(--eml-ai)}.eml-ai-error{margin:8px 0 0;color:var(--eml-danger);font-size:13px}.eml-ai-shimmer{display:grid;gap:8px;margin-top:10px}.eml-ai-shimmer i{background:linear-gradient(90deg,#ece4fd 25%,#f7f3ff,#ece4fd 75%);background-size:200% 100%}.eml-ai-shimmer i:nth-child(2){width:82%}.eml-ai-shimmer i:nth-child(3){width:60%}.eml-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.eml-attachment{display:flex;align-items:center;gap:10px;min-width:190px;max-width:290px;height:50px;padding:6px 10px 6px 8px;border:1px solid var(--eml-line);border-radius:10px;background:#fff;color:var(--eml-ink);text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.eml-attachment:hover{border-color:#b9d3ec;box-shadow:var(--eml-shadow-md)}.eml-attachment-text{display:grid;flex:1;min-width:0}.eml-attachment-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:600}.eml-attachment-size{color:var(--eml-faint);font-size:11.5px}.eml-attachment-dl{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;color:var(--eml-muted);opacity:0;transition:opacity .15s ease}.eml-attachment:hover .eml-attachment-dl{opacity:1;background:var(--eml-hover)}.eml-file-badge{flex:none;display:grid;place-items:center;width:30px;height:36px;border-radius:6px;background:#8c959f;color:#fff;font-size:9px;font-weight:800;letter-spacing:.03em;clip-path:polygon(0 0,72% 0,100% 22%,100% 100%,0 100%)}.eml-file-badge.is-pdf{background:#d13438}.eml-file-badge.is-doc{background:#2b579a}.eml-file-badge.is-xls{background:#217346}.eml-file-badge.is-ppt{background:#c43e1c}.eml-file-badge.is-img{background:#8764b8}.eml-file-badge.is-zip{background:#6b7280}.eml-file-badge.is-mail{background:#0f6cbd}.eml-file-badge.is-txt{background:#57606a}.eml-read-body{padding:4px 28px 32px}.eml-read-body .email-body-frame{display:block;width:100%;border:0;background:#fff}.eml-body-skeleton{display:grid;gap:12px;padding-top:12px}.eml-body-skeleton i:nth-child(3n+1){width:92%}.eml-body-skeleton i:nth-child(3n+2){width:78%}.eml-body-skeleton i:nth-child(3n){width:64%}.eml-read-error{display:flex;align-items:center;gap:8px;margin:12px 0;color:var(--eml-danger);font-size:13px}.eml-read-empty{display:grid;place-content:center;justify-items:center;gap:8px;height:100%;min-height:360px;padding:32px;text-align:center;color:var(--eml-muted)}.eml-read-empty-art{display:grid;place-items:center;width:96px;height:96px;margin-bottom:8px;border-radius:30px;background:radial-gradient(circle at 30% 25%,#ffffff 0%,var(--eml-accent-soft) 70%);box-shadow:inset 0 0 0 1px #d6e7f7;color:var(--eml-accent)}.eml-read-empty h3{margin:0;color:var(--eml-ink);font-size:17px;font-weight:700}.eml-read-empty p{max-width:320px;margin:0;font-size:13px;line-height:1.5}.eml-read-empty-keys{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin:14px 0 0;padding:0;list-style:none;font-size:12px}.eml-read-empty-keys li{display:inline-flex;align-items:center;gap:4px}.eml-compose-overlay{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a52;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:eml-fade .15s ease}.eml-compose{position:relative;display:flex;flex-direction:column;width:min(880px,100%);max-height:min(92vh,940px);overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 64px #10182838,0 4px 12px #10182814;color:#1f2328;font-family:var(--font-main, "Inter", system-ui, sans-serif);animation:eml-pop .2s ease}.eml-shell .eml-compose-head,.eml-compose-head{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:10px 10px 10px 18px;border-bottom:1px solid #eef0f3}.eml-compose-mode{display:inline-flex;align-items:center;gap:8px;flex:none;color:#0f548c;font-size:14px;font-weight:700}.eml-compose-context{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#656d76;font-size:12.5px}.eml-compose-head .eml-icon-btn{margin-left:auto}.eml-compose-fields{padding:0 18px}.eml-compose-row{display:flex;align-items:center;gap:12px;min-height:44px;margin:0;border-bottom:1px solid #eef0f3}.eml-compose-row>span:first-child{flex:none;width:52px;color:#8c959f;font-size:12.5px;font-weight:600}.eml-compose-row input,.eml-compose-row select{flex:1;min-width:0;height:40px;padding:0;border:0;outline:none;background:transparent;box-shadow:none;color:#1f2328;font-size:14px}.eml-compose-row select:disabled{opacity:1;color:#656d76;cursor:default}.eml-compose-row input:focus-visible,.eml-compose-row select:focus-visible{outline:none}.eml-compose-row:focus-within{border-bottom-color:#0f6cbd}.eml-compose-toggles{display:flex;gap:2px}.eml-compose-toggles button{padding:4px 8px;border:0;border-radius:6px;background:transparent;color:#656d76;font-size:12.5px;font-weight:600;cursor:pointer}.eml-compose-toggles button:hover{background:#f4f6f8;color:#0f6cbd}.eml-compose-body{flex:1;min-height:0;overflow-y:auto;padding:14px 18px 10px}.eml-compose-body textarea{display:block;width:100%;min-height:220px;padding:0;border:0;outline:none;resize:none;overflow:hidden;background:transparent;box-shadow:none;color:#1f2328;font-family:Calibri,Segoe UI,Arial,sans-serif;font-size:15px;line-height:1.5}.eml-compose-body textarea:focus-visible{outline:none}.eml-compose-quote-hint{display:flex;align-items:center;gap:6px;margin:12px 0 0;padding-top:10px;border-top:1px dashed #e4e7eb;color:#8c959f;font-size:12px}.eml-compose-attachments{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 18px 10px}.eml-compose-attachment{display:inline-flex;align-items:center;gap:8px;max-width:300px;padding:4px 4px 4px 5px;border:1px solid #e4e7eb;border-radius:10px;background:#fff;font-size:12.5px}.eml-compose-attachment .eml-file-badge{width:22px;height:26px;font-size:7px}.eml-compose-attachment-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;border:0;background:none;color:#1f2328;font:inherit;font-weight:600;cursor:pointer}.eml-compose-attachment-name:hover{color:#0f6cbd;text-decoration:underline}.eml-compose-attachment-size{flex:none;color:#8c959f;font-size:11.5px}.eml-compose-attachment-remove{display:inline-grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:6px;background:transparent;color:#8c959f;cursor:pointer}.eml-compose-attachment-remove:hover{background:#fdecee;color:#c4314b}.eml-compose-attachments-total{color:#8c959f;font-size:12px}.eml-compose-error{display:flex;align-items:flex-start;gap:8px;margin:0 18px 10px;padding:9px 12px;border-radius:9px;background:#fdf3f4;color:#b42318;font-size:13px;line-height:1.45}.eml-compose-error svg{flex:none;margin-top:2px}.eml-compose-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid #eef0f3;background:#fbfcfd}.eml-compose-hint{display:inline-flex;align-items:center;gap:3px;margin-left:auto;color:#8c959f;font-size:12px}.eml-compose-drop{position:absolute;inset:10px;z-index:5;display:grid;place-content:center;justify-items:center;gap:10px;border:2px dashed #0f6cbd;border-radius:12px;background:#e8f2fbf0;color:#0f548c;font-size:15px;font-weight:700;pointer-events:none}.eml-overlay{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a52;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:eml-fade .15s ease}.eml-dialog{width:min(760px,100%);max-height:88vh;overflow-y:auto;border-radius:16px;background:#fff;box-shadow:0 24px 64px #10182838,0 4px 12px #10182814;color:#1f2328;font-family:var(--font-main, "Inter", system-ui, sans-serif);animation:eml-pop .2s ease}.eml-overlay .eml-dialog-head{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:14px 12px 14px 20px;border-bottom:1px solid #eef0f3;color:#0f6cbd}.eml-dialog-head h3{flex:1;margin:0;color:#1f2328;font-size:16px;font-weight:700}.eml-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px 28px;padding:18px 20px 22px}.eml-shortcuts h4{margin:0 0 8px;color:#8c959f;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.eml-shortcuts dl{display:grid;gap:6px;margin:0}.eml-shortcuts dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.eml-shortcuts dt{flex:none;white-space:nowrap;display:inline-flex;align-items:center;gap:3px;order:2}.eml-shortcuts dt i{margin:0 2px;color:#8c959f;font-style:normal;font-size:11px}.eml-shortcuts dd{margin:0;color:#3d444d}.eml-toasts{position:fixed;left:50%;bottom:24px;z-index:1400;display:grid;gap:8px;justify-items:center;transform:translate(-50%);pointer-events:none}.eml-toast{display:flex;align-items:center;gap:10px;max-width:min(560px,calc(100vw - 32px));padding:9px 8px 9px 14px;border-radius:12px;background:#1f2328;box-shadow:0 12px 32px #10182847;color:#f6f8fa;font-family:var(--font-main, "Inter", system-ui, sans-serif);font-size:13px;pointer-events:auto;animation:eml-pop .2s ease}.eml-toast>svg{flex:none;color:#8cc8ff}.eml-toast.is-success>svg{color:#6ee7a7}.eml-toast.is-error>svg{color:#ff9b9b}.eml-toast-text{line-height:1.4}.eml-toast-action{display:inline-flex;align-items:center;gap:5px;flex:none;padding:5px 9px;border:0;border-radius:7px;background:#ffffff1a;color:#8cc8ff;font:inherit;font-weight:650;cursor:pointer}.eml-toast-action:hover{background:#ffffff2e}.eml-toast-close{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#9aa4ae;cursor:pointer}.eml-toast-close:hover{background:#ffffff1a;color:#fff}.eml-auth{display:grid;justify-items:center;gap:12px;max-width:520px;margin:48px auto;padding:36px 32px;border:1px solid #e4e7eb;border-radius:20px;background:#fff;box-shadow:0 12px 32px #10182814;text-align:center}.eml-auth h2{margin:0;font-size:20px;font-weight:700}.eml-auth p{margin:0;color:#656d76;font-size:13.5px;line-height:1.55}.eml-auth-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:linear-gradient(135deg,#0f6cbd,#2899f5);box-shadow:0 8px 20px #0f6cbd4d;color:#fff}.eml-auth .eml-auth-hint{margin-top:8px;color:#8c959f;font-size:12px}@media(max-width:1280px){.eml-sync-select,.eml-sync-last{display:none}}@media(max-width:1080px){.eml-shell{height:auto}.eml-layout,.eml-shell.is-folders-hidden .eml-layout{grid-template-columns:minmax(0,1fr)}.eml-folders{max-height:320px}.eml-list{height:520px}.eml-reading{min-height:520px}.eml-splitter{display:none}}@media(prefers-reduced-motion:reduce){.eml-shell *,.eml-compose,.eml-dialog,.eml-toast{animation:none!important;transition:none!important}}
