:root{--blue:#2563eb;--blue-dark:#1d4ed8;--ink:#17223b;--muted:#8490a4;--line:#e8edf4;--canvas:#f7f9fc;--green:#25a776;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button,a,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:3px solid #a8c5ff;outline-offset:3px}button svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button{transition:background .16s,border-color .16s,box-shadow .16s}button:disabled:hover{transform:none}[hidden]{display:none!important}.topbar{height:81px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5.2%;gap:20px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:17px;font-weight:650;letter-spacing:.2px}.brand-light{color:#8993a4;font-weight:400;font-size:15px;margin-left:4px}.header-note{font-size:12px;color:#8590a0;display:flex;align-items:center;gap:8px}.secure-dot{width:6px;height:6px;display:inline-block;background:var(--green);border-radius:50%;flex:none}.welcome{max-width:680px;margin:0 auto;padding:70px 24px 54px}.intro{text-align:center;margin-bottom:35px}.eyebrow{font-size:10px;letter-spacing:3.3px;font-weight:700;color:#7d8caa;margin-bottom:18px}.intro h1{font-size:39px;line-height:1.4;letter-spacing:-1.5px;margin:0 0 13px;font-weight:730}.intro h1>span{color:var(--blue)}.intro>p{font-size:14px;color:#7b879b;margin:0;line-height:1.8}.connect-card{background:#fff;border:1px solid #e3e9f2;border-radius:18px;padding:30px 32px 24px;box-shadow:0 12px 40px -22px #283b6750}.card-heading{display:flex;gap:14px;align-items:center;margin-bottom:28px}.card-icon{display:grid;place-items:center;width:44px;height:44px;background:#eff5ff;border:1px solid #e0ebff;border-radius:12px;color:var(--blue)}.card-icon svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.card-heading h2{font-size:17px;margin:0 0 6px;letter-spacing:.1px;font-weight:650}.card-heading p{color:#8a94a5;font-size:12px;margin:0}label{display:block;font-size:12px;font-weight:600;color:#566277;margin:0 0 11px}.textarea-wrap{position:relative}textarea{display:block;width:100%;resize:vertical;min-height:123px;max-height:260px;border:1px solid #dfe5ef;border-radius:10px;padding:15px 33px 15px 15px;background:#fbfcfe;line-height:1.8;outline:none;font-size:12px;font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;word-break:break-all;transition:border-color .15s,box-shadow .15s;color:#374761}textarea:focus{border-color:#83a9f8;box-shadow:0 0 0 3px #2563eb0d;background:#fff}textarea::placeholder{color:#a1aabd;font-size:11px}.clear-input{position:absolute;right:10px;top:8px;border:none;background:transparent;color:#9ca8bb;font-size:22px;line-height:1;padding:3px}.clear-input:hover{color:#43526a}.format-note{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.8;color:#929bad;margin:11px 0 23px}.small-icon{border:1px solid #a4aec0;font-family:Georgia,serif;font-size:9px;line-height:12px;text-align:center;border-radius:50%;width:13px;height:13px;flex:none;margin-top:3px}.format-note code{font-family:inherit;color:#68768b}.primary{background:var(--blue);border:1px solid var(--blue);color:#fff;border-radius:9px;font-weight:550;font-size:13px;display:flex;align-items:center;justify-content:center;gap:12px}.primary:hover{background:var(--blue-dark);box-shadow:0 4px 14px #2563eb20}.connect-button{height:47px;width:100%}.connect-button svg{width:17px}.privacy-note{border-top:1px solid #f0f3f7;padding-top:19px;margin-top:22px;display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:#929dae;line-height:1.6}.privacy-note svg{width:14px;height:14px;stroke:#8d9eaf;stroke-width:1.5;flex:none}.welcome-footer{display:flex;justify-content:center;gap:30px;font-size:11px;color:#95a0b2;padding-top:24px}.welcome-footer span:before{content:'✓';margin-right:7px;color:#8c9aaf}.site-footer{display:flex;justify-content:center;align-items:center;gap:17px;font-size:9px;letter-spacing:1.6px;color:#a9b2c1;padding:15px 20px 25px}.site-footer>span{font-size:10px;letter-spacing:.7px;color:#b0b8c5;border-left:1px solid #dfe4eb;padding-left:17px}.error{color:#ad333c;background:#fff4f3;border:1px solid #f4d9d7;padding:12px 14px;border-radius:8px;line-height:1.7;font-size:12px;margin:0 0 16px;overflow-wrap:anywhere}.secondary{border:1px solid #dfe5ef;background:#fff;color:#66748b;border-radius:8px;padding:9px 13px;display:inline-flex;align-items:center;gap:8px;font-size:12px}.secondary:hover{border-color:#b9c9e1;background:#f9fbff}.secondary svg{width:15px;height:15px}.mailbox{max-width:1440px;margin:auto;padding:30px 4.5% 0}.mailbox-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.account-info{display:flex;align-items:center;gap:13px;min-width:0}.account-avatar{background:#e8efff;color:#4d70bc;border:1px solid #dae5fc;border-radius:12px;width:44px;height:44px;display:grid;place-items:center;font-weight:600;font-size:19px;flex:none}.connected-label{display:flex;align-items:center;gap:5px;color:#7e8c9f;font-size:10px;margin-bottom:5px}.connected-label .secure-dot{width:5px;height:5px}.account-info h1{font-size:16px;font-weight:600;letter-spacing:.1px;margin:0;overflow-wrap:anywhere}.mail-layout{background:#fff;border:1px solid #e1e7f0;border-radius:14px;display:grid;grid-template-columns:345px minmax(0,1fr);height:calc(100dvh - 245px);min-height:490px;max-height:1000px;overflow:hidden;box-shadow:0 6px 25px -20px #20345244}.mail-list-panel{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 19px 13px}.folder-tabs{display:flex;align-items:center;gap:17px}.folder-tab{background:transparent;border:0;padding:6px 0 9px;font-size:12px;color:#8a96a8;border-bottom:2px solid transparent;font-weight:500}.folder-tab.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:650}.icon-button{display:grid;place-items:center;width:29px;height:29px;border:1px solid #e5eaf2;border-radius:7px;background:#fff;color:#8b99ad}.icon-button:hover{color:var(--blue);background:#f3f7ff}.icon-button svg{width:15px;height:15px}.list-meta{display:flex;justify-content:space-between;color:#a3acba;font-size:10px;padding:0 20px 15px;border-bottom:1px solid var(--line)}.message-list{overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#d9e1ed transparent}.message-row{display:block;width:100%;text-align:left;position:relative;padding:18px 20px 17px;background:#fff;border:0;border-bottom:1px solid #f0f3f7;color:var(--ink);border-left:3px solid transparent}.message-row:hover{background:#f8faff}.message-row.selected{background:#eef4ff;border-left-color:var(--blue)}.message-row-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.row-sender{font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:6px;min-width:0}.row-sender-text{overflow:hidden;text-overflow:ellipsis}.unread-dot{width:5px;height:5px;border-radius:50%;background:#4d82ed;flex:none}.row-date{font-size:10px;color:#98a4b7;flex:none;font-weight:400}.row-subject{font-size:12px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500;color:#4d5b74;margin-bottom:5px}.row-preview{color:#9aa5b5;font-size:11px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-row.selected .row-subject{color:#385b9c}.list-bottom{min-height:39px;display:flex;justify-content:center;align-items:center;font-size:10px;color:#b0b8c5;border-top:1px solid #f1f4f8}.load-more{border:0;background:transparent;color:#5983c9;font-size:11px;padding:13px}.load-more:hover{color:var(--blue)}.list-state{padding:70px 20px;text-align:center;font-size:12px;color:#8c99ad;line-height:1.8}.list-state p{margin:0 0 15px}.detail-panel{min-width:0;overflow-y:auto;position:relative;scrollbar-width:thin;scrollbar-color:#d9e1ed transparent}.detail-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:100%;padding:50px 20px}.empty-envelope{background:#f5f8fd;border:1px solid #e9eff7;border-radius:22px;display:grid;place-items:center;width:90px;height:90px;margin-bottom:22px}.empty-envelope svg{width:43px;height:43px;stroke:#b7c7e1;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.detail-empty h2{font-size:16px;font-weight:550;color:#75839b;margin:0 0 11px}.detail-empty p{color:#a0aabc;font-size:12px;margin:0}.detail-header{padding:30px 34px 23px;border-bottom:1px solid var(--line)}.detail-kicker{font-size:9px;color:#9aa7bb;letter-spacing:2px;margin-bottom:13px}.detail-header h2{font-size:21px;font-weight:650;line-height:1.6;letter-spacing:-.3px;margin:0 0 23px;overflow-wrap:anywhere}.sender-row{display:flex;gap:11px;align-items:center;flex-wrap:wrap}.sender-avatar{width:35px;height:35px;display:grid;place-items:center;background:#eff3f9;color:#6c82a2;font-size:14px;border-radius:50%;flex:none}.sender-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.sender-info strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.sender-info span{font-size:10px;color:#9aa6b9;overflow-wrap:anywhere}.sender-row time{color:#9ba6b8;font-size:10px;margin-left:auto;white-space:nowrap}.detail-recipient{font-size:10px;color:#a2adbd;margin-top:15px;overflow-wrap:anywhere;line-height:1.7}.message-body{padding:29px 34px 45px;font-size:13px;color:#57657b;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;min-height:150px}.detail-loading{display:flex;align-items:center;justify-content:center;gap:11px;padding:90px 20px;font-size:12px;color:#8e9bb0}.spinner{width:16px;height:16px;border:2px solid #dce6f7;border-top-color:#4b80dd;border-radius:50%;display:inline-block;animation:spin .8s linear infinite}.detail-read-error{padding:75px 30px;text-align:center;font-size:13px;color:#9d4b51;line-height:1.8}.detail-read-error .secondary{margin-top:10px}.back-to-list{display:none}.mailbox-footer{display:flex;justify-content:space-between;gap:15px;color:#a2adbd;font-size:10px;margin:15px 0 14px}.mailbox-error{margin:0 0 14px}.skeleton-row{padding:22px 21px;border-bottom:1px solid var(--line)}.skeleton-line{height:9px;background:#eef2f8;border-radius:5px;margin-bottom:12px;animation:pulse 1.3s ease-in-out infinite}.skeleton-line:nth-child(1){width:42%}.skeleton-line:nth-child(2){width:86%}.skeleton-line:nth-child(3){width:65%;margin-bottom:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.45}}@media(min-width:1500px){.welcome{padding-top:100px}.intro{margin-bottom:40px}.intro h1{font-size:43px}}@media(max-width:1050px){.mailbox{padding-left:24px;padding-right:24px}.mail-layout{grid-template-columns:300px minmax(0,1fr)}.detail-header{padding:25px}.message-body{padding:25px}.sender-row time{width:100%;margin-left:46px}}@media(max-width:700px){.topbar{height:67px;padding:0 20px}.brand{font-size:16px;gap:9px}.brand img{width:31px;height:31px}.brand-light{font-size:13px}.header-note{font-size:0;gap:0}.header-note .secure-dot{width:7px;height:7px}.welcome{padding:45px 19px 38px}.eyebrow{font-size:9px;letter-spacing:2.6px;margin-bottom:17px}.intro h1{font-size:30px;letter-spacing:-1px;margin-bottom:10px}.intro>p{font-size:12px}.intro{margin-bottom:28px}.connect-card{padding:24px 21px 21px;border-radius:15px}.card-heading{gap:11px;margin-bottom:25px}.card-heading h2{font-size:16px}.card-heading p{font-size:10px}.card-icon{width:39px;height:39px;border-radius:11px}.card-icon svg{width:21px;height:21px}textarea{font-size:12px;min-height:145px}.format-note{font-size:10px;margin-bottom:20px;gap:6px}.privacy-note{font-size:9px;gap:5px;margin-top:20px;padding-top:17px}.welcome-footer{gap:19px;font-size:9px}.welcome-footer span:before{margin-right:4px}.site-footer{font-size:8px;gap:12px}.site-footer>span{font-size:9px;padding-left:12px}.mailbox{padding:23px 15px 0}.mailbox-heading{margin-bottom:20px;gap:8px}.account-info{gap:10px}.account-avatar{width:36px;height:36px;border-radius:10px;font-size:16px}.account-info h1{font-size:12px;max-width:calc(100vw - 180px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mailbox-heading .secondary{padding:8px;font-size:10px;gap:5px;flex:none}.mailbox-heading .secondary svg{width:13px;height:13px}.connected-label{font-size:9px}.mail-layout{display:block;height:calc(100dvh - 235px);min-height:410px;border-radius:12px}.mail-list-panel{height:100%;border:0}.detail-panel{display:none;height:100%}.mail-layout.reading .mail-list-panel{display:none}.mail-layout.reading .detail-panel{display:block}.back-to-list{display:flex;align-items:center;gap:4px;background:#fff;border:0;border-bottom:1px solid var(--line);padding:16px 20px;width:100%;color:#6482b2;font-size:11px;position:sticky;top:0;z-index:1}.back-to-list svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.5}.detail-header{padding:23px 21px}.detail-header h2{font-size:18px;margin-bottom:22px}.message-body{padding:23px 21px 35px;font-size:12px}.sender-row time{font-size:9px}.mailbox-footer{font-size:8px;gap:8px;line-height:1.6}.row-sender,.row-subject{font-size:13px}.row-preview{font-size:11px}.message-row{padding:18px}.list-toolbar{padding-top:16px}.detail-kicker{font-size:8px}.list-bottom{min-height:42px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
