:root{font-family:Arial,Helvetica,sans-serif;color:#20252e;background:#f4f5f7;font-synthesis:none;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{background:#a6121c;color:#fff;border:1px solid transparent;border-radius:7px;padding:11px 18px;cursor:pointer;font-size:14px;font-weight:600}button:hover{filter:brightness(.94)}button:disabled{opacity:.55;cursor:wait}button.secondary{background:#fff;border-color:#d9dce2;color:#303743}button.ghost{background:none;color:inherit;border:0;padding:7px}button.small{padding:7px 10px;font-size:13px}a{color:inherit}h1,h2,p{margin-top:0}h1{font-size:30px;letter-spacing:-.8px;margin-bottom:0}h2{font-size:18px;letter-spacing:-.2px;margin:0}small,.muted{font-size:13px;color:#727a87}.shell{display:flex;min-height:100vh}.sidebar{width:238px;background:#151a23;color:#d0d5de;padding:34px 20px 22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.wordmark{font-size:24px;font-weight:800;letter-spacing:1.5px;color:inherit}.wordmark span{color:#f33e4b;margin-left:5px}.workspace-label{font-size:10px;letter-spacing:1.8px;color:#838c9c;margin:14px 0 36px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav a{display:flex;gap:13px;align-items:center;padding:12px 14px;border-radius:7px;text-decoration:none;font-size:14px}.sidebar nav a span{font-size:19px;min-width:20px}.sidebar nav a.active{background:#a6121c;color:#fff}.sidebar nav a:hover:not(.active){background:#232936}.profile{margin-top:auto;padding-top:25px;border-top:1px solid #303643;display:flex;flex-direction:column;gap:7px}.profile strong{font-size:14px}.profile small{color:#aab2c0}.profile button{text-align:left;margin-left:-7px;font-weight:400}.shell main{margin-left:238px;min-width:0;flex:1}.topbar{height:70px;background:#fff;border-bottom:1px solid #e2e5ea;display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:13px;color:#6f7785}.online{display:flex;align-items:center;gap:8px}.online i{width:6px;height:6px;border-radius:50%;background:#1f9860}.content{max-width:1500px;padding:34px 36px 50px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#9a4249;margin-bottom:11px}.page-heading .field{width:245px;margin:0}.filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-bottom:24px}.filters .field{margin:0;min-width:155px}.filters small{padding-bottom:12px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;flex:1;min-width:0}.field>span{font-size:13px;font-weight:600;color:#4d5563}.field input,.field select,.field textarea{width:100%;border:1px solid #d7dce4;border-radius:6px;background:#fff;color:#222a35;padding:11px 12px;font-size:14px;min-height:42px}.field textarea{resize:vertical;line-height:1.55}input:focus,select:focus,textarea:focus{outline:2px solid #cb727b;outline-offset:1px}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin-bottom:24px}.metric{background:#fff;border:1px solid #e0e3e8;border-radius:9px;padding:22px;display:flex;flex-direction:column;gap:15px;border-top:3px solid #d9a1a5}.metric span{font-size:13px;color:#687080}.metric strong{font-size:28px;letter-spacing:-.6px;font-weight:650}.panel{background:#fff;border:1px solid #dfe3e9;border-radius:9px;margin-bottom:24px;overflow:hidden}.panel-head{padding:21px 24px;border-bottom:1px solid #edf0f3;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel>form,.panel>p,.panel>.field,.panel>button{margin:22px 24px}.panel>form{margin-bottom:24px}.form-row{display:flex;gap:16px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th{text-align:left;padding:14px 20px;background:#f9fafb;color:#777f8c;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;border-bottom:1px solid #e8ebef}td{padding:16px 20px;border-bottom:1px solid #eef0f3}tbody tr:last-child td{border-bottom:0}.empty{padding:54px 20px;text-align:center;color:#78818e;white-space:normal;font-size:14px}.empty strong{color:#424c5b;font-weight:600}.empty p{margin:10px 0 0}.status{display:inline-flex;padding:5px 8px;border-radius:5px;font-size:12px;background:#eef1f5;color:#576270}.status.delivered,.status.credit,.status.refund{background:#e9f6ee;color:#237c48}.status.failed,.status.undelivered,.status.debit{background:#faeded;color:#ae3740}.status.sent,.status.send{background:#ebf1fd;color:#3a65b0}.status.queued,.status.sending,.status.unknown{background:#fff4de;color:#95721d}.status-summary{display:flex;gap:24px;flex-wrap:wrap;padding:18px 24px;background:#fafbfc;border-top:1px solid #edf0f3;font-size:12px;color:#697282}.status-summary span:last-child{margin-left:auto}.legend{font-size:12px;color:#a6121c}.legend em{color:#209766;font-style:normal}.chart{display:flex;gap:12px;overflow:auto;padding:25px 24px 18px;height:223px;align-items:flex-end}.bar-group{min-width:50px;flex:1;text-align:center}.bars{height:155px;display:flex;align-items:flex-end;gap:3px;justify-content:center;margin-bottom:9px}.bars>div{background:#a6121c;width:16px;border-radius:3px 3px 0 0}.bars>div+div{background:#209766}.bar-group small{font-size:10px}.alert{padding:16px 18px;border-radius:7px;background:#eef1f5;color:#4b5565;margin-bottom:22px;font-size:14px;display:flex;justify-content:space-between;gap:12px;align-items:center}.alert.error{background:#ffeded;color:#ab2330}.alert.success{background:#e9f5ed;color:#1d733e}.compose-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.8fr);gap:24px}.send-info{padding:20px}.send-info p{font-size:13px;line-height:1.7;color:#77818e}.phone-preview{background:#fff;border:8px solid #202733;border-radius:28px;min-height:300px;max-width:300px;margin:0 auto 24px;overflow:hidden}.phone-top{background:#f5f6f8;padding:18px;text-align:center;font-size:12px;color:#76808e}.message-bubble{background:#edf0f5;margin:26px 18px;padding:16px;border-radius:12px;font-size:14px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.check{display:flex;align-items:center;gap:9px;font-size:14px;margin:20px 0}.check input{width:17px;height:17px}.quote{display:flex;justify-content:space-between;padding:16px 0;margin-bottom:12px}.quote span{font-size:13px}.positive{color:#247c46}.negative{color:#aa303b}.actions{display:flex;gap:8px;align-items:center}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#121b2b80;display:grid;place-items:center;z-index:100;padding:20px}.modal{background:#fff;border-radius:12px;max-width:480px;padding:28px}.modal h2{margin-bottom:20px}.modal p{line-height:1.6;font-size:14px}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.login-brand{background:#161d29;color:#fff;padding:70px;display:flex;flex-direction:column;justify-content:center}.login-brand .wordmark{position:absolute;top:50px}.login-brand h1{font-size:44px;line-height:1.2;letter-spacing:-1px;margin:0 0 20px}.login-brand p{color:#a6adba}.login-form{max-width:420px;width:100%;margin:auto;padding:30px}.login-form h2{font-size:26px;margin-bottom:12px}.login-form>p{color:#777f8b;font-size:14px;margin-bottom:32px}.login-form button{width:100%}.loading{padding:60px;text-align:center;color:#727b88}@media (max-width:1000px){.sidebar{width:200px;padding:28px 12px}.shell main{margin-left:200px}.content{padding:25px 20px}.compose-grid{grid-template-columns:1fr}.send-info{display:none}.form-row{flex-wrap:wrap}.form-row>.field{min-width:180px}.login-brand{padding:40px}.login-brand h1{font-size:34px}}@media (max-width:700px){.shell{display:block}.sidebar{position:static;width:100%;padding:20px}.sidebar nav{display:flex;flex-direction:row;overflow:auto;margin-top:16px}.sidebar nav a{white-space:nowrap}.workspace-label,.profile{display:none}.shell main{margin-left:0}.topbar{padding:0 20px;height:50px}.content{padding:22px 16px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading .field{width:100%}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metric{padding:16px}.metric strong{font-size:22px}.filters{gap:10px}.filters .field{min-width:130px}.login{grid-template-columns:1fr}.login-brand{padding:28px;min-height:170px}.login-brand .wordmark{position:static}.login-brand h1,.login-brand p{display:none}.login-form{padding:30px}.panel-head{padding:18px}.panel-head small{max-width:140px}.online{font-size:11px}.status-summary span:last-child{margin-left:0}}.connection-body{padding:24px;font-size:14px;line-height:1.7}.connection-body h3{font-size:16px;margin-top:25px}.connection-body pre{background:#f3f5f8;padding:18px;overflow:auto;border-radius:6px}.connection-body code{font-size:13px}.credential-box{margin-top:20px;padding:20px;border:1px solid #e0e3e9;border-radius:8px}.language-selector{display:flex;align-items:center;gap:8px;font-size:13px;flex-shrink:0}.language-selector select{width:auto;min-width:128px;padding:8px 10px;border:1px solid #dbe2e8;border-radius:8px;background:#fff;color:#16283b;font:inherit}.login-form>.language-selector{justify-content:flex-end;margin-bottom:24px}.topbar{gap:16px;flex-wrap:wrap}.topbar>.language-selector{margin-left:auto}html[lang=zh-CN] body{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}@media (max-width:640px){.topbar>.language-selector{margin-left:0}.language-selector select{max-width:180px}}.brand-logo{display:block;width:100%;height:auto;object-fit:contain;border-radius:6px;flex-shrink:0}.sidebar>.brand-logo{max-width:198px}.sidebar{overflow-y:auto}.login-brand>.brand-logo{width:100%;max-width:500px;margin-bottom:48px}.login-brand{background:#15171b}@media (max-width:700px){.sidebar>.brand-logo{width:220px;max-width:100%}.login-brand>.brand-logo{max-width:360px;margin:0 auto}}.settings-modal{width:min(560px,100%);max-height:90vh;overflow-y:auto}.settings-modal form{margin-top:20px}.report-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;background:#fff;padding:12px 16px;border-radius:9px}.report-brand img{display:block;width:250px;max-width:60%;height:auto;object-fit:contain}.report-brand button{flex-shrink:0}@media print{@page{size:A4 landscape;margin:12mm}body{background:#fff;color:#20252e}.shell{display:block}.sidebar,.topbar,.report-no-print,.alert,button{display:none!important}.shell main{margin-left:0}.content{padding:0;max-width:none}.report-brand{padding:0;border-radius:0;margin:0 0 12px;break-inside:avoid}.report-brand img{width:65mm;max-width:65mm;height:auto}.page-heading{margin-bottom:12px}.eyebrow{display:none}.filters{margin-bottom:12px}.field input,.field select{border:0;padding:2px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.panel{overflow:visible;box-shadow:none;margin-bottom:12px}.table-scroll{overflow:visible}table{white-space:normal;font-size:9px;table-layout:auto}th,td{padding:5px;overflow-wrap:anywhere}thead{display:table-header-group}tr{break-inside:avoid}.panel-head{padding:10px}.metric{padding:10px;break-inside:avoid}.metric strong{font-size:20px}.status{font-size:9px}.filters .field{min-width:110px}}.campaign-summary{display:flex;align-items:center;gap:32px;padding:20px 24px;flex-wrap:wrap}.campaign-pie{width:240px;text-align:center}.campaign-pie svg{width:220px;height:220px}.campaign-counts{flex:1;min-width:230px;max-width:520px}.campaign-total{display:flex;align-items:center;justify-content:space-between;font-size:18px;padding:12px 0;border-bottom:1px solid #ddd}.campaign-total strong{font-size:30px}.campaign-count{display:flex;gap:18px;align-items:center;padding:10px 0;border-bottom:1px solid #eee}.campaign-count span{flex:1}.campaign-count i{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:8px}.campaign-count small{width:60px;text-align:right}@media print{.campaign-summary{break-inside:avoid;padding:10px}}.account-balance{margin-left:auto;text-align:right;display:flex;flex-direction:column;gap:4px;color:#253345}.account-balance strong{font-size:14px}.account-balance small{font-size:11px}.topbar>.account-balance+.language-selector{margin-left:0}.topbar{height:auto;min-height:70px;padding-top:10px;padding-bottom:10px}
