:root{font-family:Arial,Helvetica,sans-serif;color:#172b4d;background:#e9eef5;font-synthesis:none;--blue:#2563eb;--line:#d5deeb;--muted:#65758b}*{box-sizing:border-box}body{margin:0;padding:24px;min-height:100dvh;display:grid;place-items:center}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:hover:not(:disabled){filter:brightness(.95)}button:focus-visible,a:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}[hidden]{display:none!important}.app-frame{width:min(1020px,100%);height:min(740px,calc(100dvh - 48px));min-height:520px;display:flex;flex-direction:column;background:#fff;border:1px solid #a8b9d0;border-radius:10px;box-shadow:0 16px 48px #233c5e18;overflow:hidden}header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 22px;background:linear-gradient(180deg,#285382,#183c69);color:white;flex:none}.brand{display:flex;align-items:center;gap:10px;font-size:18px;letter-spacing:-.5px;font-weight:bold;color:#fff;text-decoration:none}.brandmark{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#102d55;border:1px solid #6e97c8;font:italic 22px Georgia;color:#d9eaff}.brand small{font-size:11px;font-weight:400;letter-spacing:.4px;border-left:1px solid #7a96b5;padding-left:12px;margin-left:4px;color:#dce9fa}.header-actions{display:flex;align-items:center;gap:12px}.free{font-size:9px;font-weight:bold;border:1px solid #799bc1;border-radius:4px;padding:4px 6px;letter-spacing:1px}.secondary,.primary{border-radius:5px;font-size:12px;font-weight:600;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:36px}.secondary{color:#21436f;border:1px solid #bbcbe0;background:#fff}.primary{color:#fff;background:var(--blue);border:1px solid #1d4ed8}.primary span{font-size:18px}header .secondary{background:#35669c;border-color:#527da9;color:white}.iconbtn{width:27px;height:27px;border-radius:50%;background:transparent;color:#dce9fa;border:1px solid #7799c0}.tabs{display:flex;background:#f4f7fb;border-bottom:1px solid var(--line);padding:0 20px;gap:5px;flex:none}.tab{border:0;border-bottom:3px solid transparent;background:transparent;padding:15px 20px 12px;color:#64758c;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.tab>span{font-size:17px}.tab.active{color:#1d4ed8;background:#e9f0fd;border-bottom-color:#2563eb}.tab b{font-size:10px;font-weight:500;background:#dfe8f5;color:#416389;padding:2px 6px;border-radius:4px}.notice{flex:none;background:#f8fafc;border-bottom:1px solid var(--line);color:#6b778a;font-size:11px;padding:9px 24px}.notice:before{content:'●';color:#d19837;font-size:8px;margin-right:7px}.notice.error{background:#fff1f2;color:#a12840}.view{min-height:0;flex:1;display:flex;flex-direction:column;overflow:auto}.viewhead{display:flex;align-items:center;justify-content:space-between;padding:21px 28px 15px;flex:none}h1{font-size:18px;margin:0;font-weight:600;letter-spacing:-.4px}h1>span{font-size:12px;padding:3px 7px;background:#edf3fc;color:#3163ab;border-radius:4px;margin-left:6px}.subtle,.optional{font-size:11px;color:#7b889c}.viewbody{padding:0 28px 25px}#compose{display:flex;flex-direction:column;flex:1;min-height:0}.senderrow{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:0 28px 14px;flex:none}label{font-size:11px;font-weight:600;color:#4e6077}input,select{display:block;width:100%;border:1px solid #cdd7e5;border-radius:5px;padding:10px 11px;color:#182e50;background:#fff;margin-top:7px;outline:none;font-size:12px}input:focus,select:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #dbeafe}input::placeholder,textarea::placeholder{color:#93a0b2}.optional{font-size:10px;font-weight:400;margin-left:6px}.fieldline{padding:0 28px 14px;flex:none}.fieldline input{font-size:13px}.messagearea{margin:0 28px;flex:1;min-height:120px;border:1px solid #cdd7e5;border-bottom:0;border-radius:5px 5px 0 0;display:flex}textarea{padding:17px;width:100%;height:100%;min-height:120px;resize:none;outline:none;border:0;border-radius:5px;font-size:13px;line-height:1.75;color:#1b304d;background:white}textarea:focus{box-shadow:inset 0 0 0 1px #3b82f6}.editorbar{display:flex;justify-content:space-between;align-items:center;margin:0 28px;border:1px solid #cdd7e5;border-top:1px solid #e9eef5;border-radius:0 0 5px 5px;background:#f8fafc;padding:5px 10px;font-size:10px;color:#7b889c}.textbtn{border:0;background:none;padding:7px 4px;font-size:11px;color:#41648f}.sendfooter{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 28px;flex:none}.connection{border:0;background:none;display:flex;align-items:center;gap:7px;color:#577297;font-size:11px;padding:8px 0}.statusdot{height:6px;width:6px;background:#c69338;border-radius:50%}.statusdot.active{background:#16a34a}.framefoot{border-top:1px solid #e3eaf3;padding:3px 22px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#8996a8;background:#f8fafc;flex:none}.framefoot .textbtn{font-size:9px}#fileList{list-style:none;padding:0 28px;margin:0;max-height:70px;overflow:auto;font-size:11px}#fileList li{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f7}.help{font-size:12px;line-height:1.65;color:var(--muted)}.dropzone{width:100%;height:160px;border:1px dashed #9cb7dd;border-radius:5px;background:#f5f8fe;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#3469ae;margin:20px 0}.dropzone>span{font-size:26px}.dropzone strong{font-size:13px}.dropzone small{font-size:11px;color:#758ba7}.stats{display:flex;gap:90px;margin:38px 0 26px}.stats>div{display:flex;flex-direction:column;gap:7px}.stats strong{font-size:40px;color:#234f8c;font-weight:500}.stats span{font-size:12px;color:var(--muted)}.progress{height:7px;background:#e9eff8;border-radius:6px;overflow:hidden}.progress>div{height:100%;width:0;background:var(--blue)}.pill{font-size:11px;border:1px solid #d7e1f0;border-radius:4px;padding:5px 9px;background:#f3f7fc;color:#526f94}#queueActions{display:flex;gap:12px;margin-top:25px}.danger{border:0;background:none;color:#bd384d;font-size:12px;padding:9px}.settingsbody{max-width:760px;width:100%;margin:0 auto}#smtpForm{display:grid;grid-template-columns:1fr 1fr;column-gap:22px;row-gap:13px}#smtpForm>.backend-note,#smtpForm>.help,#smtpResult,.modalactions{grid-column:1/-1}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:14px}.backend-note{color:#806936;font-size:11px;line-height:1.6;background:#fffaee;border:1px solid #eadfbd;padding:10px 12px;border-radius:4px}#smtpResult{font-size:12px}.modalactions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:8px}#leadPreview table{width:100%;border-collapse:collapse;font-size:12px}#leadPreview caption{text-align:left;color:var(--muted);font-size:10px;padding:10px 0}#leadPreview td{padding:10px;border-bottom:1px solid #e4eaf3}#leadPreview td:first-child{width:40px;color:#8c9caf}dialog{width:min(510px,94vw);max-height:85dvh;border:1px solid #b9c9de;border-radius:9px;padding:25px;color:#243b5d;box-shadow:0 25px 80px #112b5b38}dialog::backdrop{background:#172c4d65}.modalhead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}h2{font-size:19px;margin:0}h3{font-size:13px;margin:22px 0 8px}.close{border:0;background:#edf2f9;width:30px;height:30px;border-radius:4px;color:#45648d;font-size:23px}.infobody p,dialog>p{font-size:12px;line-height:1.7;color:#65758b}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#173b69;color:white;padding:13px 20px;border-radius:6px;box-shadow:0 6px 24px #0002;font-size:12px;max-width:90vw;z-index:20}@media(max-width:650px){body{padding:0}.app-frame{height:100dvh;width:100%;border:0;border-radius:0;min-height:480px}header{padding:13px 15px}.brand{font-size:16px}.brand small,.free{display:none}.header-actions{gap:9px}.tabs{padding:0 6px;justify-content:space-between;gap:0}.tab{padding:13px 10px 10px;font-size:11px;gap:6px}.tab>span{font-size:15px}.viewhead{padding:18px 18px 15px}.senderrow{padding:0 18px 12px;gap:14px}.fieldline{padding:0 18px 12px}.messagearea,.editorbar{margin-left:18px;margin-right:18px}.sendfooter{padding:15px 18px}.notice{padding:9px 18px}.viewbody{padding:0 18px 20px}.framefoot{padding:3px 18px}#smtpForm{grid-template-columns:1fr}.brandmark{width:28px;height:28px;font-size:20px}.header-actions .secondary{font-size:11px;padding:8px 11px}#fileList{padding:0 18px}.connection{max-width:180px;text-align:left}.stats{gap:70px}}
