:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#213248;background:#f5f7fa;color-scheme:light;--muted:#7a8799;--line:#e7ecf2;--blue:#245fdb;--green:#16835d;--amber:#a87514;--red:#be4141;--sidebar:224px;font-synthesis:none}
.two-columns+.panel,.account-grid+.panel,.reply-section{margin-top:19px}
.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:16px;color:var(--muted);font-size:12px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,summary{touch-action:manipulation}button,a,input,select,textarea,summary{outline-offset:3px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #aac5fb}button{border:1px solid #dce4ed;background:#fff;color:#39506d;border-radius:7px;padding:9px 13px;font-size:12px;cursor:pointer;white-space:nowrap}button:hover:not(:disabled){border-color:#a9c0e2;background:#f6f9ff}button:disabled{opacity:.4;cursor:default}button.primary{background:var(--blue);border-color:var(--blue);color:#fff}button.primary:hover:not(:disabled){background:#194fc1}button.danger{color:var(--red);border-color:#eed2d2}button.quiet{background:transparent;border-color:transparent;color:#718096}button.small{padding:6px 9px;font-size:11px}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin:0}h1{font-size:24px;letter-spacing:-.5px;font-weight:650}h2{font-size:15px;font-weight:650}h3{font-size:13px;font-weight:600}.hidden{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:29px 17px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:0 7px}.brand-mark{display:grid;place-items:center;width:37px;height:37px;flex:none;border-radius:11px;background:#ffdf62;color:#433714;font-size:21px;font-weight:700}.brand strong{font-size:14px}.brand small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.nav-label{font-size:10px;letter-spacing:1px;color:#a0aabb;margin:37px 13px 12px}nav{display:flex;flex-direction:column;gap:5px}nav button{border:0;background:transparent;display:flex;gap:12px;align-items:center;padding:12px 14px;color:#718096;font-size:12px;text-align:left}nav button.active{background:#edf3ff;color:var(--blue);font-weight:600}nav button:hover:not(.active){background:#f8fafc}.sidebar-foot{margin-top:auto;display:flex;align-items:center;gap:7px;padding:25px 12px 0;font-size:10px;color:#99a3b1}.connection-dot{width:6px;height:6px;border-radius:50%;background:#1b9a6d}.main-shell{margin-left:var(--sidebar);width:calc(100% - var(--sidebar));padding:27px 32px 0;max-width:1750px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px;min-height:60px}.breadcrumb{display:block;font-size:10px;color:#929eae;margin-bottom:9px}.topbar-actions{display:flex;align-items:center;gap:8px}.topbar-actions select{min-width:160px}select,input,textarea{color:#314760;border:1px solid #dce4ed;background:#fff;border-radius:7px;padding:9px 11px;font-size:12px;max-width:100%}select{cursor:pointer}textarea{resize:vertical;line-height:1.8;min-height:100px}input::placeholder,textarea::placeholder{color:#a2acba}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:19px}.page-heading p,.muted{color:var(--muted);font-size:12px;line-height:1.8}.page-heading h2{font-size:17px;margin-bottom:6px}.button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;padding:21px 23px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.panel-title>span{font-size:10px;color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 20px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.stat-label{font-size:11px;color:var(--muted)}.stat strong{font-size:29px;font-weight:600;display:block;letter-spacing:-.7px;margin:13px 0 9px;font-variant-numeric:tabular-nums}.stat small{font-size:10px;color:#8d99aa}.two-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:19px}.stack{display:flex;flex-direction:column;gap:18px}.banner{display:flex;justify-content:space-between;align-items:center;gap:14px;border-radius:8px;padding:13px 16px;margin-bottom:18px;font-size:12px;line-height:1.8}.banner.warning{background:#fff7e9;border:1px solid #f2e4c8;color:#93661c}.banner.info{background:#edf4ff;border:1px solid #dbe7fb;color:#44638f}.banner.success{background:#edf8f2;border:1px solid #d9eee2;color:#2d7955}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:4px 8px;font-size:10px;line-height:1.4;background:#f0f3f7;color:#7e8a9a;white-space:nowrap}.pill.green{background:#eaf6ef;color:#27805c}.pill.blue{background:#edf3ff;color:#336ed6}.pill.amber{background:#fff5e4;color:#9c731c}.pill.red{background:#fbeeee;color:#bc5353}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:9px;background:#fff}table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}th{padding:13px 15px;font-weight:500;color:#8c98a8;background:#fafbfd;white-space:nowrap}td{padding:15px;border-top:1px solid #eff2f6;vertical-align:middle;line-height:1.7}td strong{font-weight:600;font-size:12px}td small{display:block;font-size:10px;color:#929dad;margin-top:3px}.nowrap{white-space:nowrap}.mono{font-variant-numeric:tabular-nums;font-family:Consolas,"Segoe UI",monospace;font-size:11px}.truncate{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty{padding:48px 20px;text-align:center;color:#8d9aad;font-size:12px;line-height:2}.empty strong{display:block;font-size:14px;color:#67778d;font-weight:500;margin-bottom:7px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.toolbar input{min-width:220px}.notice-list{display:flex;flex-direction:column;gap:11px}.notice{display:flex;gap:12px;align-items:flex-start;padding-bottom:13px;border-bottom:1px solid #eff2f6}.notice:last-child{border:0;padding-bottom:0}.notice-bullet{width:7px;height:7px;background:#dba549;border-radius:50%;margin-top:5px;flex:none}.notice.info .notice-bullet{background:#7c9fe1}.notice-content{flex:1;min-width:0}.notice-content strong{font-size:11px;font-weight:550}.notice-content p{font-size:11px;color:#8c98a8;line-height:1.8;margin-top:4px;overflow-wrap:anywhere}.notice-content time{font-size:10px;color:#a0aab7}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.account-card .account-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#edf2fa;color:#5f789c;font-size:15px;flex:none}.account-name{display:flex;align-items:center;gap:10px;min-width:0}.account-name h3{font-size:14px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-name small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.account-detail{font-size:11px;color:#8b97a7;line-height:1.8;margin-bottom:18px;min-height:20px}.account-metrics{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #eff2f6;border-bottom:1px solid #eff2f6;padding:16px 0;margin-bottom:16px;gap:8px}.account-metrics span{font-size:10px;color:#98a3b2;display:block}.account-metrics strong{display:block;font-size:15px;margin-top:7px;font-weight:550}.account-auto{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:15px;border-top:1px solid #eff2f6}.account-auto p{font-size:11px;color:var(--muted);line-height:1.8}.pool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.pool-card{cursor:pointer}.pool-card.selected{border-color:#9cbcf2;box-shadow:0 0 0 2px #edf3ff}.pool-card .pool-number{font-size:28px;font-weight:600;margin:17px 0 8px}.pool-card .pool-meta{display:flex;gap:16px;color:#929dad;font-size:10px;margin-bottom:18px}.inbox{height:min(720px,calc(100vh - 190px));min-height:480px;background:white;border:1px solid var(--line);border-radius:11px;display:grid;grid-template-columns:290px minmax(0,1fr);overflow:hidden}.conversation-list{border-right:1px solid var(--line);overflow-y:auto;padding:8px}.conversation{width:100%;border:0;border-radius:7px;padding:14px;display:block;text-align:left;white-space:normal;background:#fff}.conversation.selected{background:#edf3ff}.conversation-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.conversation-head strong{font-size:12px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-head time{font-size:9px;color:#9aa5b4}.conversation p{font-size:11px;color:#8a97a9;margin:8px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation small{font-size:9px;color:#9ba7b7}.chat{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-heading{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.chat-heading p{font-size:10px;color:var(--muted);margin-top:5px}.message-list{flex:1;overflow-y:auto;padding:20px;background:#fbfcfe;min-height:0}.message{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:18px}.message.outgoing{align-items:flex-end}.message-meta{font-size:9px;color:#9ca7b5;margin-bottom:6px;display:flex;gap:9px}.bubble{font-size:12px;line-height:1.9;background:#fff;border:1px solid #e7ecf3;border-radius:0 10px 10px 10px;padding:10px 14px;max-width:85%;white-space:pre-wrap;overflow-wrap:anywhere}.outgoing .bubble{background:#edf3ff;border-color:#dfe9fc;border-radius:10px 0 10px 10px}.system .bubble{background:#f3f5f8;color:#7e8a9a;font-size:11px}.message-state{font-size:9px;color:#a77822;margin-top:5px}.composer{border-top:1px solid var(--line);padding:14px 18px}.composer textarea{width:100%;min-height:73px;max-height:160px;border:0;padding:0;outline:none;font-size:12px}.composer-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.composer-foot span{font-size:10px;color:#a0aabb}.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}.mini-grid dt{font-size:10px;color:var(--muted)}.mini-grid dd{margin:7px 0 0;font-size:15px;font-weight:550}.event-row{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;border-top:1px solid #eff2f6;padding:12px 0;font-size:11px;line-height:1.8}.event-row time{color:#a0aab8;font-size:10px}.event-row small{display:block;color:#9aa5b4;font-size:10px}.log-list{max-height:640px;overflow:auto}.pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;border:1px solid #e7ecf3;border-radius:7px;padding:14px;font-size:12px;line-height:1.9;max-height:350px;overflow:auto}.description{font-size:12px;line-height:1.9;color:#7d8b9d}.description p{margin-bottom:12px}.key-values{display:grid;grid-template-columns:105px 1fr;gap:10px 15px;font-size:12px;line-height:1.8;margin:0 0 18px}.key-values dt{color:var(--muted)}.key-values dd{margin:0;overflow-wrap:anywhere}dialog{padding:0;border:1px solid #dce5f0;border-radius:12px;box-shadow:0 18px 80px #172b422b;width:min(650px,calc(100vw - 32px));max-height:90vh;color:#263b55}dialog::backdrop{background:#1e2d4147;backdrop-filter:blur(2px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 23px;border-bottom:1px solid var(--line)}.modal-heading h2{font-size:16px}.icon-button{border:0;background:none;font-size:23px;line-height:1;padding:4px;color:#9aa7b7}.modal-body{padding:21px 23px;max-height:65vh;overflow-y:auto}.modal-footer{display:flex;justify-content:flex-end;gap:9px;padding:15px 23px;border-top:1px solid var(--line);background:#fbfcfe}.modal-body label{display:block;font-size:11px;color:#718096;line-height:1.8;margin-bottom:17px}.modal-body label input:not([type=checkbox]),.modal-body label select,.modal-body label textarea{display:block;width:100%;margin-top:7px}.modal-body label small{display:block;font-size:10px;color:#9aa5b3;margin-top:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.form-grid .wide{grid-column:1/-1}.check-label{display:flex!important;align-items:flex-start;gap:8px}.check-label input{margin:4px 0 0}.hint{background:#f4f7fc;border-radius:7px;color:#7c8ca2;padding:11px 13px;font-size:11px;line-height:1.9;margin-bottom:18px}.error{font-size:12px;color:var(--red);line-height:1.8}#modal-error{padding:0 23px 16px}.toast{position:fixed;bottom:28px;left:calc(50% + 80px);transform:translateX(-50%);background:#213650;color:#fff;padding:12px 19px;border-radius:9px;box-shadow:0 8px 35px #1d30452b;font-size:12px;line-height:1.8;z-index:100;max-width:min(580px,90vw)}.toast.bad{background:#a34444}footer{padding:27px 0;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#9ca7b5}footer a{color:#899ab1}.signin{min-height:100vh;display:grid;place-items:center;padding:24px}.signin-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:34px;width:min(400px,100%)}.signin-card h1{font-size:22px;margin:20px 0 10px}.signin-card>p{font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:23px}.signin-card label{display:block;font-size:11px;color:var(--muted);margin-bottom:16px}.signin-card input{display:block;width:100%;margin-top:8px}.signin-card button{width:100%}.signin-card .error{margin:15px 0 0;color:var(--red)}.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}
@media(min-width:1600px){.main-shell{padding-left:40px;padding-right:40px}}@media(max-width:1200px){:root{--sidebar:195px}.main-shell{padding:23px}.account-grid,.pool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{gap:11px}.stat{padding:17px}.two-columns{grid-template-columns:1fr}.inbox{grid-template-columns:240px minmax(0,1fr)}}@media(max-width:900px){:root{--sidebar:0px}.app-shell{display:block}.sidebar{position:relative;inset:auto;width:100%;height:auto;padding:17px 20px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0}.nav-label,.sidebar-foot{display:none}nav{margin-top:17px;flex-direction:row;overflow-x:auto;gap:4px}nav button{padding:9px 12px;gap:7px;flex:none}nav svg{width:15px;height:15px}.main-shell{margin:0;width:100%;padding:23px 20px 0}.topbar{margin-bottom:21px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inbox{height:650px}.toast{left:50%}}@media(max-width:600px){.topbar{align-items:flex-start;gap:10px}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.topbar-actions select{min-width:120px;max-width:150px}.account-grid,.pool-grid{grid-template-columns:1fr}.page-heading{flex-direction:column;gap:12px}.inbox{display:flex;flex-direction:column;height:760px}.conversation-list{height:170px;min-height:170px;border-right:0;border-bottom:1px solid var(--line);display:flex;overflow-x:auto;overflow-y:hidden;gap:6px}.conversation{min-width:220px;width:220px}.chat{flex:1;min-height:0}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.panel{padding:18px}.stat strong{font-size:26px}.main-shell{padding:20px 14px 0}.mini-grid{gap:12px}.key-values{grid-template-columns:80px 1fr}.toolbar input{min-width:150px;flex:1}.modal-body{padding:18px}footer{line-height:1.9}}

.attention-marker{color:#aa6c11;font-weight:600}

/* 收件箱头像：图片不可用时保留昵称首字。 */
.conversation{display:flex;align-items:flex-start;gap:10px}.conversation-content{min-width:0;flex:1}.conversation-avatar{width:38px;height:38px;flex:none;position:relative;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#edf2fa;color:#5f789c;font-size:15px;font-weight:600}.conversation-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#edf2fa}.chat-peer{display:flex;align-items:center;gap:10px;min-width:0}.chat-peer>div{min-width:0}

.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin-top:18px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px;display:flex;gap:14px;min-width:0}
.product-card-body{min-width:0;flex:1;display:flex;flex-direction:column;gap:9px}
.product-card-top{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}
.product-card-top strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card-top .pill{flex:none}.product-card-meta{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.product-card-meta strong{font-size:15px;color:#d45f33}.product-card-meta span,.product-account,.product-updated{font-size:11px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.product-card .button-row{margin-top:auto}.product-toolbar{flex-wrap:wrap}
.product-cover{display:grid;place-items:center;position:relative;flex:none;width:48px;height:48px;overflow:hidden;border-radius:9px;background:#eef2f7;color:#9baabc}.product-cover.large{width:96px;height:96px;border-radius:10px}.product-cover.detail{width:128px;height:128px;border-radius:12px}.product-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#eef2f7}.product-cover-placeholder{display:grid;place-items:center}.product-cover.large svg,.product-cover.detail svg{width:30px;height:30px}.product-inline{display:flex;gap:10px;align-items:center;min-width:0}.product-inline>span:not(.product-cover){min-width:0}.product-selection{padding:10px;background:#f7f9fc;border:1px solid var(--line);border-radius:9px;margin-bottom:12px}.product-selection strong,.product-selection small{display:block}.product-selection small{color:var(--muted);font-size:11px;margin-top:5px}.product-detail{display:grid;grid-template-columns:128px minmax(0,1fr);gap:18px;align-items:start;margin-bottom:18px}.product-detail h3{margin-bottom:12px;overflow-wrap:anywhere}
@media(max-width:600px){.product-grid{grid-template-columns:1fr}.product-cover.large{width:76px;height:76px}.product-detail{grid-template-columns:90px minmax(0,1fr)}.product-cover.detail{width:90px;height:90px}}
