:root{--bg:#f6f5fb;--surface:#fff;--text:#202239;--muted:#9496a6;--sub:#656a82;--border:#eeeef4;--purple:#7466ed;--purple2:#a58dff;--lav:#f1efff;--shadow:0 12px 40px rgba(32,30,86,.045);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-size:14px}body{overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}input,textarea,select{outline:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(116,102,237,.3);outline-offset:2px}[hidden]{display:none!important}
svg{width:19px;height:19px;display:block;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}
.app{height:100vh;height:100dvh;display:flex;flex-direction:column;max-width:100vw;overflow:hidden}
.topbar{height:78px;display:flex;align-items:center;padding:0 31px;background:#fff;border-bottom:1px solid #efedf5;gap:24px;flex-shrink:0;z-index:8}
.brand{width:230px;display:flex;align-items:center;gap:11px;flex-shrink:0;white-space:nowrap}.brand strong{font-size:21px;letter-spacing:-.85px;font-weight:800}.brand em{font-style:normal;color:#8671e8}.logo-symbol{display:grid;place-items:center;background:linear-gradient(135deg,#aa8fff,#6a5fe6);box-shadow:0 7px 18px rgba(128,91,235,.24);width:40px;height:40px;color:white;border-radius:13px;font-size:25px;font-weight:800;line-height:1}.app-version{font-weight:800;letter-spacing:.6px;font-size:9px;color:#7563e7;background:#f0eeff;padding:5px 7px;border-radius:6px;margin-left:1px}
.top-search{height:44px;max-width:640px;flex:1;display:flex;align-items:center;gap:11px;background:#f7f7fb;border:1px solid #f1f0f8;border-radius:12px;padding:0 14px;color:#9693ae}.top-search input{border:0;background:transparent;flex:1;min-width:0;color:#303047}.top-search input::placeholder{color:#aaa8bb}.top-search kbd{border:1px solid #deddeb;background:#fff;border-radius:5px;color:#9c9aae;font-size:11px;padding:2px 6px;font-family:inherit}.top-actions{margin-left:auto;display:flex;align-items:center;gap:14px}.read-only{display:flex;align-items:center;gap:7px;background:#ebfbf5;color:#2aa27a;border-radius:30px;padding:8px 12px;white-space:nowrap;font-size:10px;letter-spacing:.55px;font-weight:800}.status-dot{width:7px;height:7px;background:#35c18a;border-radius:99px;box-shadow:0 0 0 4px rgba(53,193,138,.1)}.icon-btn,.plain-btn{border:0;background:transparent;color:#777a93;display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;flex-shrink:0}.icon-btn:hover,.plain-btn:hover{background:#f0eeff;color:#6f62e0}.icon-btn svg{width:19px;height:19px}.avatar{height:41px;width:41px;border-radius:13px;background:#e9e7fc;color:#7665e0;display:grid;place-items:center;font-weight:850;letter-spacing:-.3px;flex-shrink:0}.own-avatar{border:0;width:37px;height:37px;background:#ede9ff;font-size:12px}.menu-btn,.mobile-compose{display:none}
.workspace{flex:1;min-height:0;display:grid;grid-template-columns:258px minmax(360px,405px) minmax(410px,1fr);background:#faf9fd;padding:14px;gap:13px}
.sidebar,.list-pane,.read-pane{background:var(--surface);min-height:0;border-radius:19px;border:1px solid #f0edf7;box-shadow:var(--shadow)}.sidebar{padding:22px 16px 15px;display:flex;flex-direction:column;overflow:auto;scrollbar-width:thin}.compose-btn{height:49px;width:100%;display:flex;align-items:center;gap:11px;border:0;background:linear-gradient(105deg,#806bef,#9c80f7);border-radius:12px;color:#fff;font-weight:750;padding:0 16px;box-shadow:0 9px 22px #7666ee30;margin-bottom:29px}.compose-btn svg{width:18px;height:18px}.compose-plus{margin-left:auto;font-size:20px;font-weight:400}.compose-btn:hover{filter:brightness(1.04)}.side-section-heading{font-size:10px;letter-spacing:1.25px;font-weight:850;color:#b6b4c4;margin:0 10px 13px}.side-heading-action{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.side-heading-action button{width:26px;height:26px}.side-heading-action svg{width:16px;height:16px}.sidebar-nav{display:flex;flex-direction:column;gap:3px}.nav-item{border:0;width:100%;height:39px;background:transparent;border-radius:10px;display:flex;align-items:center;gap:12px;color:#76788d;text-align:left;padding:0 12px;font-weight:575;font-size:13px;transition:background .15s,color .15s}.nav-item svg{width:18px;height:18px}.nav-item:hover{background:#f8f7ff;color:#6559d8}.nav-item.active{color:#6d59dc;background:#f1efff;font-weight:790}.nav-item strong{margin-left:auto;background:#e8e2ff;color:#735fe6;min-width:24px;padding:3px 6px;text-align:center;font-size:10px;border-radius:6px}.sidebar-separator{height:1px;background:#f1f0f5;margin:21px 5px 20px}.nav-item.label-item{height:34px;gap:11px}.color-dot{width:10px;height:10px;border-radius:4px;flex-shrink:0}.sidebar-bottom{margin-top:auto;padding-top:18px}.mini-profile{border:1px solid #f0edf7;border-radius:13px;padding:10px 9px;display:flex;align-items:center;gap:9px;background:#fdfcff}.mini-profile .avatar{width:35px;height:35px;font-size:11px}.mini-profile-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.mini-profile-copy strong{font-size:12px}.mini-profile-copy span{font-size:10px;color:#a3a0b5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.usage{padding:18px 8px 0}.usage-head{display:flex;justify-content:space-between;font-size:11px;color:#9294a4}.usage-head strong{color:#75748f;font-size:11px}.progress{margin:9px 0;background:#eeeefa;border-radius:99px;height:6px;overflow:hidden}.progress i{display:block;width:4%;height:100%;background:linear-gradient(90deg,#9f92fa,#6b5fe8);border-radius:99px}.usage small{color:#b2b1c0;font-size:10px}
.list-pane{display:flex;flex-direction:column;overflow:hidden}.pane-head{padding:29px 24px 21px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:10px;letter-spacing:1.25px;color:#a09bac;font-weight:850;text-transform:uppercase}.pane-head h1{font-size:27px;letter-spacing:-1.1px;margin:7px 0 6px;font-weight:825}.pane-sub{font-size:12px;color:#aaa9b8}.list-filters{display:flex;align-items:center;gap:8px;padding:0 18px 14px;border-bottom:1px solid #f1f0f6}.segmented{background:#f7f6fa;display:flex;border-radius:10px;padding:3px;gap:1px;flex:1;min-width:0}.segmented button{padding:9px 9px;background:transparent;color:#9d9cac;border:0;white-space:nowrap;font-size:11px;border-radius:8px;flex:1}.segmented button.active{background:white;color:#7463e7;box-shadow:0 2px 10px #d7d2ec4d;font-weight:800}.list-filters select{width:112px;border:1px solid #f0eef6;border-radius:9px;background:#fff;padding:9px 7px;color:#828096;font-size:11px}.list-info{height:39px;display:flex;justify-content:space-between;align-items:center;padding:0 23px;color:#adadbe;font-size:10px;font-weight:620}.message-scroll{overflow:auto;flex:1;scrollbar-width:thin}.message-row{display:flex;gap:12px;padding:17px 16px 16px 20px;border-bottom:1px solid #f5f4f8;cursor:pointer;position:relative;transition:background .15s}.message-row:hover{background:#fcfbff}.message-row.selected{background:#f7f5ff}.message-row.selected:before{content:"";width:3px;background:#886ff5;position:absolute;left:0;top:10px;bottom:10px;border-radius:2px}.message-row.unread .message-title,.message-row.unread .message-subject{font-weight:780;color:#34334c}.message-avatar{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;font-size:12px;font-weight:800;flex-shrink:0}.message-meta{flex:1;min-width:0}.message-top{display:flex;align-items:center;gap:7px;margin-bottom:5px}.message-title{font-weight:610;color:#56566e;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;flex:1}.message-time{color:#b1afbf;font-size:10px;white-space:nowrap;flex-shrink:0}.message-subject{color:#68697f;font-size:12px;margin-bottom:5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.message-snippet{font-size:11px;color:#acabba;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.6}.message-bottom{display:flex;align-items:center;gap:6px;margin-top:8px;min-height:4px}.tiny-label{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:700;border-radius:5px;padding:3px 6px;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tiny-label i{height:5px;width:5px;border-radius:2px;background:currentColor}.tiny-attachment{margin-left:auto;color:#c2c0ce}.tiny-attachment svg{width:14px;height:14px}.star-in-list{border:0;background:transparent;color:#cbc9d5;padding:0 2px;margin-left:2px}.star-in-list.on{color:#e0a535}.star-in-list.on svg{fill:#e0a535}.unread-dot{width:6px;height:6px;border-radius:50%;background:#8c72f0;flex-shrink:0;margin-right:2px}.pagination{height:49px;border-top:1px solid #f4f2f9;display:flex;align-items:center;justify-content:center;gap:14px;color:#a6a4b5;font-size:11px}.pagination button{height:28px;width:28px}
.read-pane{overflow:hidden;display:flex;flex-direction:column}.reader-empty{margin:auto;max-width:420px;text-align:center;padding:30px;display:flex;flex-direction:column;align-items:center}.empty-illustration{height:133px;width:170px;background:radial-gradient(circle,#eeebff 0,#f5f3ff 55%,transparent 71%);display:grid;place-items:center;margin-bottom:11px;color:#8e7cec}.empty-illustration svg{height:76px;width:76px;stroke-width:1.2;transform:rotate(-9deg);filter:drop-shadow(0 10px 5px #a69be22e)}.empty-pill{background:#f2efff;border-radius:999px;color:#8067e7;font-weight:800;font-size:10px;letter-spacing:1px;padding:7px 13px;margin:12px 0 17px}.reader-empty h2{font-size:25px;letter-spacing:-.9px;line-height:1.2;margin:0 0 12px}.reader-empty p{color:#a3a1b5;line-height:1.75;margin:0 0 22px;font-size:12px}.empty-feature{color:#928bb8;font-size:11px;display:flex;align-items:center;gap:8px}.empty-feature svg{height:16px;width:16px;color:#69bb9b}.reader-content{height:100%;display:flex;flex-direction:column}.reader-toolbar{height:62px;border-bottom:1px solid #f2f0f7;display:flex;align-items:center;justify-content:space-between;padding:0 22px;flex-shrink:0}.reader-toolbar-main{display:flex;gap:6px}.local-only-hint{display:flex;align-items:center;gap:7px;color:#b8b7c4;font-size:11px;white-space:nowrap}.local-only-hint svg{width:14px;height:14px}.back-list{display:none}.reader-main{overflow:auto;flex:1;padding:35px 37px;scrollbar-width:thin}.thread-tag{color:#8e80d6;background:#f2efff;width:max-content;border-radius:6px;padding:7px 9px;font-size:10px;font-weight:790;letter-spacing:.6px}.reader-main h1{font-size:27px;line-height:1.25;letter-spacing:-1px;margin:16px 0 16px;font-weight:790}.detail-labels{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:22px}.sender-row{display:flex;align-items:center;gap:12px}.sender-avatar{background:#e9e6fe;color:#7c68e3}.sender-info{min-width:0;display:flex;flex-direction:column;gap:4px}.sender-info strong{font-size:13px}.sender-info span{color:#a5a3b7;font-size:11px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sender-row time{margin-left:auto;color:#aaa8ba;font-size:10px;white-space:nowrap}.mail-divider{height:1px;background:#f0eef5;margin:25px 0}.mail-body{white-space:pre-wrap;word-break:break-word;line-height:1.85;font-size:13px;color:#55596e;min-height:100px}.attachment-list{margin:28px 0;display:flex;flex-direction:column;gap:8px}.attachment-card{border:1px solid #eeedf7;border-radius:11px;display:flex;align-items:center;gap:12px;padding:12px;background:#fdfdff;color:#585971;text-decoration:none}.attachment-card svg{color:#8b79e5}.attachment-card span{display:flex;flex-direction:column;gap:4px}.attachment-card strong{font-size:11px}.attachment-card small{color:#aaa8b6;font-size:10px}.attachment-card .download-svg{margin-left:auto}.reader-bottom{display:flex;gap:10px;border-top:1px solid #f0eef5;padding-top:25px;margin-top:24px}.note-area{margin-top:28px;background:#f8f7fc;border-radius:13px;padding:15px}.note-area label{font-size:11px;color:#88869e;font-weight:700}.note-area textarea{display:block;width:100%;border:1px solid #edeaf6;background:#fff;border-radius:9px;padding:10px;margin:9px 0;font-size:12px;resize:vertical}.text-action{color:#7465dd;border:0;background:transparent;font-size:11px;font-weight:750;display:inline-flex;align-items:center;gap:7px}.text-action svg{width:15px;height:15px}.text-action:hover{text-decoration:underline}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:10px 16px;font-size:12px;font-weight:750;border:1px solid transparent}.btn svg{width:16px;height:16px}.btn.primary{background:linear-gradient(100deg,#7b69ef,#967bf4);color:#fff;box-shadow:0 5px 16px #7666eb32}.btn.secondary{border:1px solid #e7e3f7;color:#7763e1;background:#f9f7ff}.btn.subtle{color:#88889b;background:#f7f7fa}.btn.big{width:100%;height:47px;margin-top:15px}
.login-screen{height:100vh;height:100dvh;background:#f6f5fc;display:grid;place-items:center;position:relative;overflow:hidden}.login-glow{position:absolute;width:500px;height:500px;filter:blur(6px);border-radius:50%;opacity:.75}.glow-one{background:radial-gradient(circle,rgba(181,165,255,.35),transparent 66%);top:-200px;left:-150px}.glow-two{background:radial-gradient(circle,rgba(147,216,206,.28),transparent 65%);bottom:-230px;right:-150px}.login-card{width:min(410px,calc(100% - 38px));background:#fff;border:1px solid #ece9f6;box-shadow:0 25px 90px #50429d16;padding:40px;border-radius:24px;z-index:1;text-align:center}.login-mark .logo-symbol{width:57px;height:57px;margin:0 auto 18px;font-size:35px;border-radius:17px}.login-badge{color:#4ea987;font-size:10px;font-weight:850;letter-spacing:.7px;display:flex;justify-content:center;align-items:center;gap:8px}.login-card h1{font-size:36px;letter-spacing:-1.5px;margin:14px 0 7px}.login-card h1 span{color:#8370ef}.login-card>p{color:#aaa8b7;font-size:12px;line-height:1.7;margin:0 auto 30px;max-width:260px}.login-card form{text-align:left}.login-card label{font-size:11px;color:#7d7b90;font-weight:700;display:block;margin:15px 0 7px}.field-wrap{display:flex;align-items:center;border:1px solid #eae8f2;border-radius:11px;height:46px;padding:0 13px;color:#9c97bd;gap:10px}.field-wrap svg{width:17px;height:17px}.field-wrap:focus-within{border-color:#9684ed}.field-wrap input{border:0;min-width:0;width:100%;font-size:13px}.form-error{font-size:11px;min-height:18px;color:#d94e5a;margin-top:12px}.login-foot{border-top:1px solid #f0eff6;margin-top:18px;padding-top:20px;display:flex;align-items:center;justify-content:center;gap:9px;color:#aaa9bd;font-size:10px}.login-foot svg{width:16px;height:16px;color:#72bb9c}
.modal-overlay{position:fixed;inset:0;background:rgba(28,26,59,.40);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}.modal-card{width:min(610px,100%);max-height:92dvh;overflow-y:auto;background:#fff;border:1px solid #eeeaf8;border-radius:21px;box-shadow:0 24px 100px #1f174c35}.modal-head{padding:22px 26px 17px;display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #f0eef7}.modal-head h2{margin:5px 0 0;font-size:21px;letter-spacing:-.6px}.compose-fields{padding:15px 26px 0}.compose-fields label{display:flex;align-items:center;gap:13px;font-size:11px;color:#9a98ae;padding:7px 0;border-bottom:1px solid #f1eff5}.compose-fields input{flex:1;min-width:0;border:0;padding:8px 0;color:#41425b}.compose-editor{display:block;width:calc(100% - 52px);height:210px;margin:21px 26px 12px;padding:4px 0;border:0;resize:vertical;color:#55566d;line-height:1.7}.compose-tools{padding:10px 26px 14px;display:flex;align-items:center;gap:20px}.attach-label{display:flex;align-items:center;gap:7px;color:#7365d9;font-size:11px;font-weight:750;cursor:pointer}.attach-label svg{width:16px;height:16px}.draft-attachments{padding:0 26px;display:flex;flex-wrap:wrap;gap:7px}.draft-file{background:#f5f2ff;border-radius:7px;color:#7a6ac9;padding:6px 9px;font-size:10px;display:flex;gap:6px;align-items:center}.draft-file button{border:0;background:transparent;color:#9984d8}.compose-footer{background:#fbfaff;padding:16px 26px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:0 0 20px 20px}.compose-warning{display:flex;align-items:center;gap:7px;color:#ad9fc0;font-size:10px}.compose-warning svg{width:14px;height:14px}.compose-footer-btns{display:flex;gap:9px}.settings-modal{width:min(530px,100%)}.setting-block{padding:19px 26px;border-bottom:1px solid #f0eff7}.setting-block h3{font-size:13px;margin:0 0 8px}.setting-block p{font-size:11px;color:#9997ad;line-height:1.6}.setting-block textarea{width:100%;border:1px solid #e9e7f3;border-radius:9px;padding:10px;resize:vertical}.setting-block input[type=number]{width:78px;border:1px solid #e9e7f3;border-radius:8px;padding:7px}.setting-block label{color:#77758a;font-size:12px}.setting-block .security-note{color:#6eae97}.modal-foot{padding:17px 26px;display:flex;justify-content:flex-end;gap:10px}.small-modal{width:min(395px,100%)}.modal-field{display:flex;flex-direction:column;font-size:11px;color:#77788c;font-weight:700;gap:8px;padding:15px 26px 0}.modal-field input:not([type=color]){height:41px;border-radius:9px;border:1px solid #e9e7f3;padding:0 11px}.modal-field input[type=color]{width:64px;height:37px;border:0;background:transparent}.picker-items{padding:18px 25px;display:flex;flex-direction:column;gap:6px}.picker-item{display:flex;align-items:center;gap:11px;padding:11px;border-radius:9px;border:1px solid #f0edf5;background:#fff;text-align:left;font-size:12px;color:#65647d}.picker-item:hover,.picker-item.active{background:#f7f5ff;border-color:#e5dfff}.picker-item .color-dot{margin-right:5px}.picker-item .check{margin-left:auto;color:#7d6ce7}.toast-stack{position:fixed;right:23px;bottom:22px;display:flex;flex-direction:column;gap:8px;z-index:80}.toast{background:#272840;color:#fff;box-shadow:0 8px 30px #16122b35;padding:13px 18px;border-radius:10px;font-size:12px;max-width:370px}.toast.error{background:#ba445b}.no-messages{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#acabba;padding:65px 30px;gap:15px}.no-messages svg{height:45px;width:45px;color:#aaa0ec}.no-messages strong{color:#56546c;font-size:14px}.no-messages span{font-size:12px;line-height:1.7}.mobile-shade{display:none}
@media(max-width:1300px){.workspace{grid-template-columns:228px 350px minmax(370px,1fr)}.brand{width:204px}.sidebar{padding-left:11px;padding-right:11px}.list-filters{padding:0 10px 12px}.list-filters select{max-width:102px}.reader-main{padding:28px 27px}}
@media(max-width:1020px){.workspace{grid-template-columns:212px minmax(310px,1fr) minmax(350px,1.1fr)}.topbar{padding:0 16px}.brand{width:190px}.read-only{display:none}.reader-main{padding:25px 22px}.local-only-hint{display:none}}
@media(max-width:840px){.workspace{grid-template-columns:250px minmax(350px,1fr);gap:10px}.read-pane{display:none}.read-pane.mobile-open{display:flex;position:fixed;inset:68px 10px 10px;z-index:20}.list-pane.mobile-hidden{display:none}.workspace:has(.read-pane.mobile-open){display:block}.back-list{display:grid}.brand{width:auto}.topbar{height:68px}.sidebar{padding-top:16px}.app-version{display:none}.top-search{margin-left:auto}.read-pane .reader-main{padding:28px}}
@media(max-width:640px){.topbar{height:63px;padding:0 12px;gap:10px}.brand strong{font-size:18px}.brand .logo-symbol{height:34px;width:34px;border-radius:10px;font-size:22px}.menu-btn{display:grid;width:28px}.top-search{height:38px;min-width:0;padding:0 8px;max-width:none}.top-search kbd{display:none}.top-search input{font-size:11px}.top-actions{gap:2px}.top-actions .icon-btn{width:31px;height:31px}.own-avatar{display:none}.workspace{display:flex;padding:8px;gap:0}.sidebar{position:fixed;left:-295px;top:63px;bottom:0;width:276px;z-index:35;border-radius:0 16px 16px 0;transition:left .2s;box-shadow:10px 10px 30px #19134a22}.sidebar.mobile-sidebar-open{left:0}.mobile-shade.visible{display:block;position:fixed;inset:63px 0 0;background:#1d173e55;z-index:30}.list-pane{width:100%;border-radius:14px}.pane-head{padding:25px 20px 17px}.pane-head h1{font-size:25px}.mobile-compose{display:grid}.list-filters{padding:0 12px 13px}.segmented button{padding:9px 6px}.list-filters select{width:108px}.read-pane.mobile-open{inset:63px 0 0;border-radius:0;z-index:25}.reader-toolbar{height:55px;padding:0 10px}.reader-toolbar-main{gap:0}.reader-main{padding:25px 20px!important}.reader-main h1{font-size:24px}.sender-row time{font-size:9px}.reader-bottom{flex-wrap:wrap}.modal-overlay{align-items:stretch;padding:0}.modal-card{width:100%;height:100dvh;max-height:none;border-radius:0}.compose-editor{height:calc(100dvh - 450px);min-height:120px}.compose-footer{flex-direction:column;align-items:stretch}.compose-footer-btns{justify-content:flex-end}.toast-stack{right:10px;left:10px;bottom:12px}.toast{max-width:none}}
