:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#182d32;background:#f6f8f8;font-size:14px;--teal:#147d76;--muted:#7a898d;--line:#e6eceb}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:wait;opacity:.5}input,textarea,select{width:100%;border:1px solid #dce5e3;border-radius:8px;padding:11px 12px;background:white;color:#20373b;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 3px #147d7612}button:focus-visible{outline:2px solid var(--teal);outline-offset:3px}textarea{resize:vertical;line-height:1.7}label{display:block;font-size:13px;font-weight:600;margin:19px 0 0}label input,label textarea,label select{margin-top:8px}h1,h2,p{margin-top:0}.primary{background:var(--teal);color:white;border-radius:8px;padding:12px 18px;font-weight:600}.primary:hover{background:#0d6862}.secondary{padding:9px 13px;border:1px solid var(--line);background:white;border-radius:7px}.muted{color:var(--muted);line-height:1.8;font-size:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#81918e}.brand{font-size:34px;font-weight:900;letter-spacing:-5px;color:var(--teal)}.brand-dot{color:#e4ab63}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:white}.auth-art{padding:70px 13%;background:#eaf3f0;display:flex;flex-direction:column;justify-content:center}.auth-art .brand{margin-bottom:65px}.auth-art h1{font-size:44px;line-height:1.5;letter-spacing:-1px;font-weight:600}.auth-art p{color:#687c78;line-height:1.9}.auth-art small{font-size:10px;letter-spacing:2px;color:#81958f}.art-line{height:1px;width:70px;background:#b3ccc3;margin:70px 0 24px}.login{max-width:400px;width:100%;justify-self:center;align-self:center;padding:40px}.login h2{margin:20px 0 12px;font-size:27px}.login>p{color:var(--muted);line-height:1.7}.login .primary{width:100%;margin-top:26px}.login small{display:block;text-align:center;margin-top:28px;color:var(--muted);font-size:11px}.error{color:#b5443b!important;font-size:12px}.workspace{height:100vh;display:flex;overflow:hidden}.sidebar{width:246px;flex-shrink:0;background:#f2f6f4;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:25px 18px 0}.wordmark{display:flex;gap:17px;align-items:center;padding:0 10px 25px}.wordmark strong{font-size:18px;letter-spacing:-.5px}.compose{margin:0 2px 30px}.nav-title{font-size:10px;color:#8b9b96;padding:0 14px 10px;letter-spacing:1px}.sidebar nav button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px 14px;border-radius:8px;text-align:left;color:#657872;margin:3px 0}.sidebar nav button.active{background:#deeee8;color:#126e60;font-weight:600}.count{font-size:11px;background:#c6e3d7;border-radius:5px;padding:2px 6px}.domains-title{margin-top:27px;display:flex;align-items:center;justify-content:space-between}.domains-title button{font-size:19px}.mailboxes{overflow:auto;flex:1}.mailbox{display:flex;width:100%;align-items:center;gap:10px;padding:12px 9px;text-align:left;border-radius:8px}.mailbox.active{background:#e2ebe6}.box-icon{width:29px;height:29px;border-radius:8px;background:#e2ebe5;display:grid;place-items:center;color:#5c7e70;font-size:13px}.mailbox strong{font-weight:500;font-size:12px;display:block}.mailbox small{font-size:10px;color:#81928a;display:block;margin-top:4px}.sidebar-bottom{margin-top:25px;border-top:1px solid #dfe8e2;padding-top:10px}.sidebar-bottom>button{display:block;width:100%;text-align:left;padding:12px 13px;font-size:12px;color:#677c71}.account{margin-top:14px;padding:20px 0;display:flex;gap:9px;align-items:center;border-top:1px solid #dfe8e2}.avatar{background:#e4dacc;color:#8a7352;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-size:12px}.account strong{font-size:11px;display:block}.account small{font-size:9px;display:block;color:#849188;margin-top:4px}.account>button{margin-left:auto}main{flex:1;min-width:0;display:flex;flex-direction:column;padding:32px 35px 0}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}header h1{font-size:26px;font-weight:600;margin:10px 0 0;letter-spacing:-.7px}.header-right{display:flex;align-items:center;gap:8px;font-size:11px;color:#81918a}.header-right button{margin-left:17px}.status-dot{width:6px;height:6px;background:#68a68d;border-radius:50%}.notice{display:flex;gap:15px;align-items:center;background:#edf3f0;border:1px solid #dfebe4;border-radius:9px;padding:13px 17px;margin-bottom:23px;font-size:11px;color:#70847b}.notice strong{color:#476c59;white-space:nowrap;font-size:11px}.mail-area{background:white;border:1px solid var(--line);border-radius:12px 12px 0 0;flex:1;min-height:0;display:grid;grid-template-columns:minmax(300px,38%) 1fr;overflow:hidden}.message-list{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.list-heading{padding:23px 22px 17px;display:flex;align-items:center;justify-content:space-between}.list-heading h2{font-size:15px;margin:0;font-weight:600}.list-heading span{font-size:11px;color:#91a09a}.search-wrap{padding:0 20px 18px;border-bottom:1px solid var(--line)}.search-wrap input{background:#f7f9f8;font-size:11px;border-color:transparent;padding:11px}#message-list{overflow:auto;flex:1}.message-row{width:100%;padding:21px;text-align:left;display:block;border-bottom:1px solid #eff3f1}.message-row.selected{background:#eff7f3;border-left:3px solid var(--teal);padding-left:18px}.message-top{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:12px}.message-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.message-top time{font-size:10px;white-space:nowrap;color:#9ba7a2}.message-row.unread .message-top strong{font-weight:700}.message-row .subject{font-size:12px;color:#41564e;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-row p{font-size:11px;color:#9aa69f;line-height:1.7;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-row .mailbox-tag{font-size:9px;color:#6e9080;display:inline-block;margin-top:11px}.message-detail{overflow:auto;padding:35px;min-width:0}.empty-detail{height:100%;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.mail-symbol{width:72px;height:72px;background:#eef5f1;color:#87ab98;display:grid;place-items:center;border-radius:24px;font-size:34px;margin-bottom:25px;transform:rotate(-8deg)}.empty-detail h2{font-size:18px;font-weight:500;color:#627b6d}.empty-detail p{font-size:12px;color:#9aa99f;line-height:1.9}.empty-tags{display:flex;gap:9px;margin-top:22px}.empty-tags span{font-size:10px;color:#8b9d91;border:1px solid #e6ede8;border-radius:20px;padding:6px 10px}.list-empty{padding:65px 22px;text-align:center;color:#99a79d;font-size:12px;line-height:2}.detail-title{font-size:23px;line-height:1.6;overflow-wrap:anywhere;font-weight:600}.detail-meta{font-size:11px;color:#81928a;line-height:2;padding-bottom:20px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.detail-toolbar{display:flex;gap:9px;margin:22px 0;flex-wrap:wrap}.detail-body{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#40594c;line-height:1.9}.attachments{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.attachments a{color:var(--teal);font-size:12px;text-decoration:none;border:1px solid var(--line);padding:10px;border-radius:6px}.ai-result{background:#f1f6f3;padding:20px;margin-top:25px;border:1px solid #deebe2;border-radius:9px}.ai-result h3{font-size:13px;color:#38745a}.ai-result pre{font:12px/1.9 inherit;white-space:pre-wrap;overflow-wrap:anywhere}.ai-result small{font-size:10px;color:#879c8c}dialog{width:min(680px,94vw);max-height:90vh;border:1px solid var(--line);border-radius:14px;padding:27px 32px;box-shadow:0 25px 100px #183b3026}dialog::backdrop{background:#102f2866;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font-size:20px;margin:0}.dialog-heading button{font-size:25px;color:#8c9a91}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#mailbox-form>.primary{margin-top:20px}.audit-row{padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.audit-row small{display:block;color:#91a095}#toast{position:fixed;z-index:20;bottom:28px;left:50%;transform:translateX(-50%);background:#173e32;color:white;padding:13px 22px;border-radius:9px;font-size:13px;max-width:90vw;box-shadow:0 10px 30px #153c3029}[hidden]{display:none!important}@media(min-width:1600px){main{padding:42px 48px 0}.sidebar{width:260px}.mail-area{grid-template-columns:420px 1fr}}@media(max-width:1000px){.sidebar{width:205px;padding-left:10px;padding-right:10px}main{padding:24px 18px 0}.header-right{font-size:0}.header-right button{font-size:12px}.mail-area{grid-template-columns:290px 1fr}.message-detail{padding:23px}.notice{line-height:1.8}.account small{font-size:8px}}@media(max-width:760px){.auth{display:block}.auth-art{display:none}.login{margin:12vh auto}.workspace{height:auto;min-height:100vh;overflow:visible}.sidebar{width:145px;padding:18px 8px;position:sticky;top:0;height:100vh}.wordmark{padding:0 4px 24px;gap:10px}.wordmark strong{font-size:12px}.brand{font-size:27px}.compose{font-size:11px;padding:12px 5px}.sidebar nav button{font-size:11px;padding:12px 7px}.mailbox strong{font-size:10px}.mailbox small{display:none}.box-icon{display:none}.sidebar-bottom>button{font-size:10px;padding:12px 4px}.account .avatar{display:none}.account small{display:none}main{padding:22px 12px 0}header h1{font-size:21px}.eyebrow{font-size:8px}.header-right{display:none}.notice{display:block;padding:12px;font-size:10px}.notice strong{display:block}.mail-area{display:block;overflow:visible}.message-list{max-height:50vh;border-right:0;border-bottom:1px solid var(--line)}.message-detail{min-height:300px;padding:20px}.list-heading{padding:20px 14px}.search-wrap{padding:0 14px 14px}.detail-title{font-size:18px}.empty-tags{flex-direction:column}dialog{padding:22px}}
