:root{color-scheme:light;--accent: #0157ff;--accent-hover: #0046cc;--accent-soft: rgba(1, 87, 255, .1);--accent-ring: rgba(1, 87, 255, .22);--bg: #f5f6f8;--surface: #ffffff;--surface-alt: #f1f3f7;--surface-hover: #eef2f9;--border: #e3e7ef;--border-strong: #d3dae6;--text: #1b2333;--text-muted: #64748b;--text-faint: #94a3b8;--sidebar-bg: #0e1626;--sidebar-bg-2: #0a111d;--sidebar-surface: #162134;--sidebar-text: #c8d3e4;--sidebar-muted: #7f8da3;--sidebar-active: rgba(1, 87, 255, .22);--danger: #e5484d;--danger-soft: rgba(229, 72, 77, .12);--star: #f5a623;--success: #16a34a;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 18px;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);--shadow-md: 0 10px 30px rgba(15, 23, 42, .1);--shadow-lg: 0 24px 60px rgba(15, 23, 42, .18);--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--bg: #0b1220;--surface: #111a2b;--surface-alt: #162134;--surface-hover: #1a2740;--border: #22304a;--border-strong: #2c3d5c;--text: #e6ecf7;--text-muted: #93a3ba;--text-faint: #6b7d97;--accent-soft: rgba(60, 130, 255, .16);--sidebar-bg: #080e19;--sidebar-bg-2: #060a12;--sidebar-surface: #121d30}}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font);font-size:14px;line-height:1.5;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--accent);text-decoration:none}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:999px;border:2px solid transparent;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:var(--text-faint);background-clip:content-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ms{font-family:Material Symbols Rounded;font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24;-webkit-user-select:none;user-select:none;vertical-align:middle}.ms-fill{font-variation-settings:"FILL" 1,"wght" 500,"GRAD" 0,"opsz" 24}.icon-button .ms{font-size:20px}.compose-button .ms,.action-button .ms{font-size:18px}.search-field .ms{font-size:18px;color:var(--text-faint)}.search-clear .ms{font-size:16px}.message-flags .ms{font-size:15px}.attachments-title .ms{font-size:16px}.attachment-card .ms{font-size:18px}.attachment-chip .ms{font-size:16px}.attach-button .ms,.settings-tab .ms,.button .ms{font-size:18px}.form-error .ms{font-size:18px;flex:0 0 auto}.brand-mark .ms{font-size:20px}.brand-mark.large .ms{font-size:24px}.empty-illustration .ms{font-size:30px}.app-shell{display:flex;height:100%;overflow:hidden}.sidebar{width:268px;flex:0 0 268px;display:flex;flex-direction:column;gap:14px;padding:18px 14px 14px;background:linear-gradient(180deg,var(--sidebar-bg) 0%,var(--sidebar-bg-2) 100%);color:var(--sidebar-text);overflow-y:auto;z-index:30}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:2px 6px 6px}.brand-mark{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),#4f8cff);color:#fff;font-size:16px;box-shadow:0 6px 18px #0157ff59}.brand-mark.large{width:46px;height:46px;border-radius:13px;font-size:19px}.brand-text{display:flex;flex-direction:column;line-height:1.15}.brand-name{font-weight:700;font-size:16px;color:#fff;letter-spacing:-.01em}.brand-sub{font-size:11px;color:var(--sidebar-muted);text-transform:uppercase;letter-spacing:.12em}.compose-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:12px 14px;border:0;border-radius:var(--radius-md);background:linear-gradient(135deg,var(--accent),#2f74ff);color:#fff;font-weight:600;font-size:14px;box-shadow:0 8px 22px #0157ff52;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}.compose-button:hover{filter:brightness(1.06);box-shadow:0 10px 26px #0157ff6b}.compose-button:active{transform:translateY(1px)}.folder-nav{display:flex;flex-direction:column;gap:2px}.folder-link{display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:10px;color:var(--sidebar-text);font-size:13.5px;font-weight:500;transition:background .12s ease,color .12s ease}.folder-link .ms{width:17px;text-align:center;font-size:18px;color:var(--sidebar-muted);transition:color .12s ease}.folder-link:hover{background:var(--sidebar-surface);color:#fff}.folder-link:hover .ms{color:#fff}.folder-link.active{background:var(--sidebar-active);color:#fff}.folder-link.active .ms{color:#7fb0ff}.sidebar-section-label{padding:8px 12px 2px;font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--sidebar-muted)}.mailbox-list{display:flex;flex-direction:column;gap:3px}.mailbox-card{display:flex;align-items:center;gap:10px;padding:8px 9px;border-radius:10px;background:transparent;border:1px solid transparent;text-align:left;width:100%;transition:background .12s ease,border-color .12s ease}.mailbox-card.active{background:var(--sidebar-surface);border-color:#5a8cff66}.mailbox-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:9px;display:grid;place-items:center;color:#fff;font-size:11.5px;font-weight:700}.mailbox-meta{display:flex;flex-direction:column;min-width:0;line-height:1.25}.mailbox-name{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#eaf0fa}.mailbox-email{font-size:11.5px;color:var(--sidebar-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-empty{color:var(--sidebar-muted);font-size:12px;padding:6px 12px}.badge{display:inline-flex;align-items:center;padding:1px 6px;border-radius:999px;font-size:9.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.badge.shared{background:#0157ff40;color:#9fc2ff}.sidebar-footer{margin-top:auto;padding-top:12px;border-top:1px solid rgba(255,255,255,.07);display:flex;align-items:center;gap:8px}.user-chip{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.user-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700}.user-meta{display:flex;flex-direction:column;min-width:0;line-height:1.25}.user-name{font-size:12.5px;font-weight:600;color:#eaf0fa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-email{font-size:11px;color:var(--sidebar-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer-actions{display:flex;gap:2px}.sidebar-footer .icon-button{color:var(--sidebar-muted)}.sidebar-footer .icon-button:hover{color:#fff;background:var(--sidebar-surface)}.app-main{flex:1;display:flex;flex-direction:column;min-width:0;background:var(--bg)}.topbar{height:60px;flex:0 0 60px;display:flex;align-items:center;gap:12px;padding:0 22px;background:var(--surface);border-bottom:1px solid var(--border)}.page-title{margin:0;font-size:17px;font-weight:650;letter-spacing:-.01em}.topbar-spacer{flex:1}.topbar-status{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--text-muted);font-weight:500}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--text-faint);display:inline-block}.status-dot.ok{background:var(--success);box-shadow:0 0 0 3px #16a34a26}.status-dot.warn{background:var(--star);box-shadow:0 0 0 3px #f5a62326}.app-content{flex:1;min-height:0;display:flex}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:transparent;border:0;color:var(--text-muted);transition:background .12s ease,color .12s ease}.icon-button:hover{background:var(--surface-hover);color:var(--text)}.icon-button.active{color:var(--star)}.icon-button.danger:hover{background:var(--danger-soft);color:var(--danger)}.icon-button:disabled{opacity:.45;cursor:default}.sidebar-toggle{display:none}.mail-panes{flex:1;display:flex;min-height:0}.message-list-pane{width:388px;flex:0 0 388px;display:flex;flex-direction:column;min-height:0;background:var(--surface);border-right:1px solid var(--border)}.list-toolbar{display:flex;align-items:center;gap:8px;padding:12px 14px 8px}.search-field{flex:1;display:flex;align-items:center;gap:8px;padding:7px 11px;border-radius:999px;background:var(--surface-alt);border:1px solid transparent;transition:border-color .12s ease,box-shadow .12s ease,background .12s ease}.search-field:focus-within{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.search-field .ms{color:var(--text-faint);font-size:18px}.search-field input{flex:1;border:0;background:transparent;outline:none;font-size:13px;color:var(--text)}.search-field input::placeholder{color:var(--text-faint)}.search-clear{border:0;background:transparent;color:var(--text-faint);padding:0 2px}.search-clear:hover{color:var(--text)}.list-meta{display:flex;align-items:center;justify-content:space-between;padding:4px 18px 10px;font-size:11.5px;color:var(--text-faint);font-weight:500}.loading-text{color:var(--accent)}.message-list{flex:1;overflow-y:auto;min-height:0;border-top:1px solid var(--border)}.message-row{display:flex;gap:11px;align-items:flex-start;width:100%;padding:12px 16px;border:0;border-bottom:1px solid var(--border);background:transparent;text-align:left;transition:background .11s ease,box-shadow .11s ease}.message-row:hover{background:var(--surface-hover)}.message-row.active{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.message-row.unread .message-sender{font-weight:700;color:var(--text)}.message-row.unread .message-subject{font-weight:600;color:var(--text)}.avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:700;letter-spacing:.01em}.avatar.small{width:34px;height:34px;flex-basis:34px;font-size:11.5px}.avatar.xl{width:64px;height:64px;flex-basis:64px;font-size:22px}.message-body{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.message-topline{display:flex;align-items:baseline;gap:10px}.message-sender{flex:1;min-width:0;font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-date{flex:0 0 auto;font-size:11px;color:var(--text-faint)}.message-subject{font-size:13px;font-weight:500;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-preview{font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-flags{display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--text-faint);font-size:11px;padding-top:2px}.message-flags .starred{color:var(--star)}.unread-dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}.reading-pane{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--surface)}.reading-pane.empty{background:var(--bg)}.reading-header{padding:16px 26px 18px;border-bottom:1px solid var(--border);background:var(--surface)}.reading-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:14px}.reading-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.reading-back{display:none}.action-button{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:9px;background:var(--surface-alt);border:1px solid var(--border);color:var(--text-muted);font-size:12.5px;font-weight:600;transition:background .12s ease,color .12s ease,border-color .12s ease}.action-button:hover{background:var(--surface-hover);color:var(--text);border-color:var(--border-strong)}.reading-subject{margin:0 0 16px;font-size:21px;line-height:1.3;font-weight:650;letter-spacing:-.015em}.reading-sender{display:flex;align-items:center;gap:12px}.reading-sender-meta{min-width:0;flex:1}.reading-sender-line{display:flex;align-items:center;gap:8px}.reading-sender-line strong{font-size:14px;font-weight:650}.reading-recipients{font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reading-date{font-size:11.5px;color:var(--text-faint);white-space:nowrap}.status-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;background:var(--surface-alt);color:var(--text-muted);border:1px solid var(--border)}.status-pill.sent,.status-pill.received,.status-pill.delivered{background:#16a34a1f;color:var(--success);border-color:transparent}.status-pill.failed,.status-pill.bounced,.status-pill.complained{background:var(--danger-soft);color:var(--danger);border-color:transparent}.status-pill.pending,.status-pill.delayed{background:#f5a62324;color:#b7791f;border-color:transparent}.reading-body{flex:1;min-height:0;display:flex;overflow:hidden;background:#fff}.message-frame{flex:1;width:100%;height:100%;border:0;background:#fff}.message-plain{margin:0;padding:24px 28px;overflow:auto;font-family:var(--font);font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word;color:#1f2937;background:#fff;flex:1}.reading-attachments{border-top:1px solid var(--border);padding:14px 26px 18px;background:var(--surface-alt)}.attachments-title{font-size:12px;font-weight:600;color:var(--text-muted);display:flex;align-items:center;gap:7px;margin-bottom:10px}.attachment-grid{display:flex;flex-wrap:wrap;gap:10px}.attachment-card{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--border);font-size:12.5px;color:var(--text);transition:border-color .12s ease,box-shadow .12s ease}.attachment-card:hover{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.attachment-card .ms{color:var(--accent)}.attachment-name{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-size{color:var(--text-faint);font-size:11px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:52px 28px;color:var(--text-muted);gap:4px}.empty-state h3{margin:10px 0 2px;font-size:15px;color:var(--text);font-weight:650}.empty-state p{margin:0;font-size:12.5px;max-width:280px}.empty-state>.ms{font-size:28px;color:var(--text-faint)}.empty-state.large{flex:1}.empty-illustration{width:74px;height:74px;border-radius:20px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-size:28px}.empty-illustration i{color:var(--accent)}.inline-error,.form-error{display:flex;align-items:flex-start;gap:8px;margin:10px 16px;padding:10px 12px;border-radius:10px;font-size:12.5px;background:var(--danger-soft);color:var(--danger)}.form-error{margin:0}.compose-wrap{flex:1;overflow:auto;padding:28px;display:flex;justify-content:center;align-items:flex-start}.compose-card{width:min(840px,100%);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:22px 24px 18px;display:flex;flex-direction:column;gap:14px}.compose-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.compose-head h2{margin:0;font-size:18px;font-weight:650;letter-spacing:-.01em}.compose-sub{margin:3px 0 0;font-size:12px;color:var(--text-muted)}.field{display:flex;flex-direction:column;gap:6px}.field-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.field-inline-actions{display:flex;gap:10px}.field-inline-actions button{border:0;background:transparent;color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:0}.field input,.field select,.field textarea,.inline-form input,.inline-form select,.stack-form textarea,.stack-form select{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);outline:none;font-size:13.5px;transition:border-color .12s ease,box-shadow .12s ease}.field input:focus,.field select:focus,.field textarea:focus,.inline-form input:focus,.inline-form select:focus,.stack-form textarea:focus,.stack-form select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.body-field textarea{min-height:240px;resize:vertical;line-height:1.6;font-size:14px}.compose-attachments{display:flex;flex-wrap:wrap;gap:8px}.attachment-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:8px;background:var(--surface-alt);border:1px solid var(--border);font-size:12px}.attachment-chip .ms{color:var(--accent)}.attachment-chip-size{color:var(--text-faint);font-size:11px}.attachment-chip button{border:0;background:transparent;color:var(--text-faint);padding:0 2px}.attachment-chip button:hover{color:var(--danger)}.compose-footer{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);margin-top:2px;padding-top:14px}.compose-footer-spacer{flex:1}.attach-button{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:9px;border:1px dashed var(--border-strong);color:var(--text-muted);font-size:12.5px;font-weight:600;cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease}.attach-button:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border-radius:10px;border:1px solid transparent;font-size:13px;font-weight:600;transition:filter .12s ease,background .12s ease,box-shadow .12s ease}.button:disabled{opacity:.55;cursor:default}.button.primary{background:var(--accent);color:#fff;box-shadow:0 6px 16px #0157ff40}.button.ghost{background:transparent;border-color:var(--border-strong);color:var(--text-muted)}.button.ghost:hover{background:var(--surface-hover);color:var(--text)}.button.danger{background:var(--danger-soft);color:var(--danger);border-color:transparent}.button.danger:hover{background:var(--danger);color:#fff}.settings-page{flex:1;overflow:auto;padding:28px}.settings-header h2{margin:0;font-size:22px;font-weight:700;letter-spacing:-.02em}.settings-header p{margin:4px 0 20px;color:var(--text-muted);font-size:13px}.settings-tabs{display:inline-flex;gap:4px;padding:4px;background:var(--surface-alt);border:1px solid var(--border);border-radius:12px;margin-bottom:20px}.settings-tab{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font-size:13px;font-weight:600}.settings-tab:hover{color:var(--text)}.settings-tab.active{background:var(--surface);color:var(--accent);box-shadow:var(--shadow-sm)}.settings-panel{max-width:880px}.settings-stack{display:flex;flex-direction:column;gap:16px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px 22px;box-shadow:var(--shadow-sm)}.panel h3{margin:0 0 14px;font-size:15px;font-weight:650}.profile-row{display:flex;align-items:center;gap:18px;margin-bottom:18px}.profile-row h3{margin:0;font-size:18px}.profile-badges{display:flex;gap:8px;margin-top:8px}.definition-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:0}.definition-grid div{background:var(--surface-alt);border-radius:10px;padding:10px 12px}.definition-grid dt{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-faint);font-weight:700}.definition-grid dd{margin:3px 0 0;font-size:13px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.settings-mailboxes{display:flex;flex-direction:column;gap:8px}.settings-mailbox{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;background:var(--surface-alt)}.settings-mailbox strong{font-size:13.5px;font-weight:600}.inline-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.inline-form select,.inline-form input{flex:1;min-width:180px;width:auto}.stack-form{display:flex;flex-direction:column;gap:10px}.stack-form textarea{resize:vertical;min-height:90px}.stack-form .inline-form select{flex:1}.settings-list{display:flex;flex-direction:column;gap:4px}.settings-list-row{display:flex;align-items:center;gap:12px;padding:9px 8px;border-radius:10px}.settings-list-row:hover{background:var(--surface-hover)}.settings-list-main{display:flex;flex-direction:column;min-width:0;flex:1}.settings-list-main strong{font-size:13.5px;font-weight:600}.signature-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:520px}.muted{color:var(--text-muted)}.panel .muted{font-size:12.5px;margin:0}.login-shell{min-height:100%;display:grid;grid-template-columns:1.05fr 1fr;background:var(--bg)}.login-hero{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:64px clamp(36px,6vw,88px);background:radial-gradient(1200px 600px at 10% 10%,#12203a,#0a1220 55%,#070b14);color:#e8eefb}.hero-glow{position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(1,87,255,.42) 0%,transparent 68%);top:-120px;right:-120px;pointer-events:none}.hero-brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:700;color:#fff;position:relative}.login-hero h1{position:relative;margin:26px 0 0;font-size:clamp(28px,3.2vw,42px);line-height:1.15;letter-spacing:-.03em;font-weight:750;max-width:560px}.hero-copy{position:relative;margin:0;max-width:500px;color:#aebdd6;font-size:15px;line-height:1.65}.hero-features{position:relative;list-style:none;padding:0;margin:18px 0 0;display:flex;flex-direction:column;gap:12px}.hero-features li{display:flex;align-items:center;gap:11px;color:#c9d6ea;font-size:14px}.hero-features .ms{color:#6fa2ff;width:18px;text-align:center;font-size:19px}.login-panel{display:grid;place-items:center;padding:40px 24px}.login-card{width:min(420px,100%);background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:34px 32px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;gap:14px}.login-card h2{margin:0;font-size:24px;font-weight:700;letter-spacing:-.02em}.login-card .muted{margin:0;font-size:13.5px}.discord-button{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:4px;padding:13px 16px;border-radius:12px;background:#5865f2;color:#fff;font-weight:650;font-size:14.5px;box-shadow:0 10px 24px #5865f252;transition:filter .12s ease,transform .12s ease}.discord-button:hover{filter:brightness(1.07)}.discord-button:active{transform:translateY(1px)}.discord-button i{font-size:19px}.login-note{margin:2px 0 0;font-size:11.5px;color:var(--text-faint);line-height:1.55}.login-footer-note{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--text-faint);border-top:1px solid var(--border);padding-top:14px}.full-loader{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--text-muted);font-size:13px}.spinner{width:26px;height:26px;border-radius:50%;border:3px solid var(--border);border-top-color:var(--accent);animation:spin .8s linear infinite}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1120px){.message-list-pane{width:340px;flex-basis:340px}}@media (max-width: 900px){.sidebar{position:fixed;inset:0 auto 0 0;transform:translate(-105%);transition:transform .2s ease;box-shadow:var(--shadow-lg)}.sidebar-open .sidebar{transform:translate(0)}.sidebar-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#03081273;z-index:20}.sidebar-toggle{display:inline-grid}.topbar{padding:0 14px}.message-list-pane{width:100%;flex-basis:100%;border-right:0}.reading-pane,.mail-panes.has-selection .message-list-pane{display:none}.mail-panes.has-selection .reading-pane{display:flex}.reading-back{display:inline-grid}.reading-header{padding:14px 16px}.reading-subject{font-size:18px}.reading-attachments{padding:12px 16px 16px}.action-button span{display:none}.action-button{padding:8px 10px}.message-date{display:none}.login-shell{grid-template-columns:1fr}.login-hero{display:none}.login-panel{min-height:100%;padding:24px}.compose-wrap{padding:14px}.settings-page{padding:16px}.settings-tab span{display:none}}@media (max-width: 520px){.login-card{padding:26px 20px;border-radius:18px}.reading-sender{flex-wrap:wrap}.reading-date{width:100%;margin-left:50px}.attachment-name{max-width:150px}}:root{--accent: #1f2937;--accent-hover: #111827;--accent-soft: rgba(17, 24, 39, .08);--accent-ring: rgba(17, 24, 39, .18);--accent-contrast: #ffffff;--bg: #f7f7f8;--surface: #ffffff;--surface-alt: #f2f2f3;--surface-hover: #ededee;--border: #e5e5e7;--border-strong: #d4d4d8;--text: #18181b;--text-muted: #52525b;--text-faint: #8a8a93;--sidebar-bg: #fbfbfb;--sidebar-bg-2: #f4f4f5;--sidebar-surface: #ececee;--sidebar-text: #27272a;--sidebar-muted: #71717a;--sidebar-active: rgba(0, 0, 0, .07)}@media (prefers-color-scheme: dark){:root{--accent: #f4f4f5;--accent-hover: #ffffff;--accent-soft: rgba(255, 255, 255, .1);--accent-ring: rgba(255, 255, 255, .2);--accent-contrast: #09090b;--bg: #09090b;--surface: #111113;--surface-alt: #18181b;--surface-hover: #202024;--border: #27272a;--border-strong: #3f3f46;--text: #f4f4f5;--text-muted: #a1a1aa;--text-faint: #71717a;--sidebar-bg: #050506;--sidebar-bg-2: #000000;--sidebar-surface: #18181b;--sidebar-text: #e4e4e7;--sidebar-muted: #8b8b94;--sidebar-active: rgba(255, 255, 255, .09)}}.brand-mark{display:none}.brand-logo{height:34px;width:auto;max-width:130px;object-fit:contain}.brand-logo.large{height:52px;max-width:190px}.brand-name{color:var(--sidebar-text)}.brand-sub{color:var(--sidebar-muted)}.sidebar{background:linear-gradient(180deg,var(--sidebar-bg),var(--sidebar-bg-2));border-right:1px solid var(--border)}.mailbox-name,.user-name,.folder-link{color:var(--sidebar-text)}.folder-link .ms{color:var(--sidebar-muted)}.folder-link:hover{background:var(--sidebar-surface);color:var(--sidebar-text)}.folder-link:hover .ms{color:var(--sidebar-text)}.folder-link.active{background:var(--sidebar-active);color:var(--sidebar-text)}.folder-link.active .ms{color:var(--sidebar-text)}.mailbox-card:hover{background:var(--sidebar-surface)}.mailbox-card.active{background:var(--sidebar-surface);border-color:var(--border-strong)}.sidebar-footer{border-top-color:var(--border)}.sidebar-footer .icon-button:hover{color:var(--sidebar-text);background:var(--sidebar-surface)}.badge.shared{background:var(--accent-soft);color:var(--text-muted)}.compose-button{background:var(--accent);color:var(--accent-contrast);box-shadow:0 8px 20px #0000002e}.compose-button:hover{filter:brightness(1.05);box-shadow:0 10px 24px #0000003d}.button.primary{background:var(--accent);color:var(--accent-contrast);box-shadow:0 6px 16px #00000029}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.login-hero{background:linear-gradient(160deg,#fafafa,#efeff1);color:var(--text)}.login-hero h1{color:var(--text)}.hero-copy,.hero-features li{color:var(--text-muted)}.hero-features .ms{color:var(--text)}.hero-glow{background:radial-gradient(circle,rgba(184,50,50,.14) 0%,transparent 68%)}@media (prefers-color-scheme: dark){.login-hero{background:radial-gradient(1200px 600px at 10% 10%,#1b1b1e,#0c0c0e 55%,#050506);color:#f4f4f5}.login-hero h1{color:#f4f4f5}.hero-copy,.hero-features li{color:#c4c4cc}.hero-features .ms{color:#f4f4f5}}.compose-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px;border:1px solid var(--border);border-bottom:0;border-radius:10px 10px 0 0;background:var(--surface-alt)}.editor-tool{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--text-muted)}.editor-tool:hover{background:var(--surface-hover);color:var(--text)}.toolbar-sep{width:1px;height:20px;background:var(--border-strong);margin:0 4px}.rich-editor{min-height:260px;max-height:55vh;overflow:auto;padding:14px 16px;border:1px solid var(--border);border-radius:0 0 10px 10px;background:var(--surface);line-height:1.65;font-size:14px;outline:none}.rich-editor:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.rich-editor:empty:before{content:attr(data-placeholder);color:var(--text-faint);pointer-events:none}.rich-editor blockquote{border-left:3px solid var(--border-strong);margin:8px 0;padding-left:12px;color:var(--text-muted)}.rich-editor a{color:var(--accent);text-decoration:underline}.signature-panel{border:1px dashed var(--border-strong);border-radius:12px;padding:10px 12px;background:var(--surface-alt)}.signature-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.signature-toggle{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--text-muted)}.signature-preview{max-height:180px;overflow:auto;background:#fff;border-radius:8px;padding:10px;color:#202b3c}.signature-preview.text{white-space:pre-wrap;font-family:var(--font);font-size:12px;margin:0}.signature-row{align-items:flex-start}.compose-hint{font-size:11px;color:var(--text-faint);margin-right:4px}.select-all{display:flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:var(--text-faint);font-size:11.5px;font-weight:500}.select-all .ms{font-size:17px}.row-check{flex:0 0 20px;display:grid;place-items:center;margin-top:6px;color:var(--text-faint);opacity:0;transition:opacity .12s ease;cursor:pointer}.message-row:hover .row-check,.message-row.selected .row-check,.message-row:focus .row-check{opacity:1}.message-row.selected{background:var(--accent-soft)}.message-row.selected .row-check{color:var(--accent)}.bulk-actions{display:flex;align-items:center;gap:2px}.bulk-actions .icon-button{width:28px;height:28px}.bulk-actions .danger{color:var(--danger)}.context-menu{position:fixed;z-index:1000;min-width:210px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg)}.context-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:var(--text);font-size:13px;text-align:left}.context-menu button:hover{background:var(--surface-hover)}.context-menu button .ms{font-size:18px;color:var(--text-muted)}.context-menu button.danger,.context-menu button.danger .ms{color:var(--danger)}.context-sep{display:block;height:1px;background:var(--border);margin:5px 4px}.sidebar,.topbar,.list-toolbar,.list-meta,.reading-header,.reading-actions,.compose-head,.compose-toolbar,.compose-footer,.settings-tabs{-webkit-user-select:none;user-select:none}.message-preview,.message-subject,.message-sender,.reading-body,.rich-editor,.signature-preview,input,textarea{-webkit-user-select:text;user-select:text}.message-row{-webkit-user-select:none;user-select:none;cursor:default}.message-row:focus{outline:none}::selection{background:var(--accent-soft)}
