:root{color-scheme:light dark;--bg:#f5f7fa;--surface:#fff;--text:#172230;--muted:#778392;--line:#e6eaf0;--blue:#2864e8;--soft:#edf3ff;--green:#16865a;--shadow:0 8px 32px #14223b0b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px 'DM Sans',sans-serif;min-width:320px}h1,h2,strong,.brand{font-family:Manrope,sans-serif}h1{font-size:clamp(26px,4vw,34px);letter-spacing:-1.1px;margin:7px 0}p{color:var(--muted);line-height:1.6}.topbar{height:68px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1180px)/2));}.brand{font-weight:800;text-decoration:none;color:var(--text);font-size:18px;display:flex;align-items:center;gap:9px}.brand-icon{width:30px;height:30px;border-radius:9px;background:var(--blue);color:white;display:grid;place-items:center}.topbar nav{display:flex;align-items:center;gap:22px}.navlink,.quiet{color:var(--muted);text-decoration:none}.user-name{font-size:13px;color:var(--muted)}form{margin:0}.quiet{border:0;background:none;font:inherit;min-height:44px;cursor:pointer}.shell{max-width:1180px;margin:0 auto;padding:44px 24px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.page-heading p{margin:7px 0 0}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--blue)}.secure-pill{font-size:12px;color:#536171;background:var(--surface);padding:10px 14px;border-radius:22px;border:1px solid var(--line)}.secure-pill i,.status-dot{display:inline-block;background:#24a36a;border-radius:50%;width:7px;height:7px;margin-right:6px}.workflow,.history{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:27px;margin-bottom:22px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.section-head h2{font-size:17px;margin:0;letter-spacing:-.3px}.section-head p{font-size:13px;margin:5px 0 0}.step,.count{font-size:12px;color:var(--muted)}.step{color:var(--blue);font-weight:700}.step b{color:#b7c1ce;margin:0 5px}.compose-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.dropzone{min-height:304px;border:1.5px dashed #cbd5e2;border-radius:12px;background:#fafbfd;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;cursor:pointer;position:relative;text-align:center;padding:20px}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.dropzone strong{font-size:14px}.dropzone span{font-size:13px;color:var(--muted)}.upload-icon{width:44px;height:44px;background:var(--soft);color:var(--blue)!important;border-radius:12px;display:grid;place-items:center;font-size:24px!important}.file-limit{font-size:9px!important;letter-spacing:1px;margin-top:8px}.dropzone.dragging{border-color:var(--blue);background:var(--soft)}.settings{display:flex;flex-direction:column;gap:15px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#495667}input,select{height:46px;width:100%;border:1px solid #dce2e9;background:var(--surface);color:var(--text);border-radius:8px;padding:0 12px;font:14px 'DM Sans',sans-serif}input:focus,select:focus{outline:2px solid #a8c1ff;border-color:var(--blue)}small{font-weight:400;color:var(--muted)}.printer-note{font-size:11px;color:var(--muted);margin-top:-9px}.options-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary,.secondary{min-height:46px;border-radius:8px;padding:0 16px;font:600 14px 'DM Sans',sans-serif;cursor:pointer}.primary{background:var(--blue);border:1px solid var(--blue);color:white}.primary:hover{background:#1f52c8}.primary:disabled{opacity:.55;cursor:not-allowed}.wide{width:100%}.print-button{display:flex;align-items:center;justify-content:space-between;padding:0 17px;margin-top:2px}.form-foot{text-align:center;font-size:11px;margin:-7px 0 0}.history{padding-bottom:15px}.history .section-head{margin-bottom:16px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;min-width:600px}th{font-size:9px;letter-spacing:1px;color:#8994a1;font-weight:700;padding:12px 10px;border-bottom:1px solid var(--line)}td{font-size:12px;padding:14px 10px;border-bottom:1px solid #eff1f4;color:#546171}tr:last-child td{border-bottom:0}.doc-icon{font-size:9px;background:#fff0ee;color:#d45a50;padding:5px 6px;border-radius:4px;margin-right:9px}.doc-name{font-weight:600;color:var(--text)}.job-status{display:inline-flex;align-items:center;border-radius:12px;padding:5px 9px;background:#edf8f2;color:#198051;font-size:10px}.status-submitted,.status-queued{background:#edf3ff;color:#3566c5}.status-unknown{background:#f1f3f5;color:#667}.empty{min-height:135px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:12px}.empty strong{color:var(--text);font-size:13px}.empty-icon{font-size:22px;color:#a6b3c2}.shell footer{text-align:center;color:#9aa4af;font-size:11px;padding:6px}.shell footer span{padding:0 5px}.alert{padding:12px 14px;border-radius:8px;margin:0 0 18px;font-size:13px}.error{background:#fff0ef;color:#a13f38;border:1px solid #ffd9d6}.auth-wrap{min-height:calc(100vh - 68px);display:grid;place-items:center;padding:24px}.auth-card{width:min(100%,420px);background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:34px;box-shadow:var(--shadow)}.auth-card>p{font-size:14px;margin-bottom:24px}.auth-card form{display:flex;flex-direction:column;gap:18px}.auth-card label{gap:8px}.auth-card button{margin-top:3px}.inline-form{display:flex;gap:12px;align-items:end;padding:0 10px 20px}.inline-form label{flex:1}.secondary{background:var(--surface);border:1px solid var(--line);color:var(--text);min-height:38px;font-size:12px}.secondary:hover{border-color:var(--blue);color:var(--blue)}
@media(prefers-color-scheme:dark){:root{--bg:#111820;--surface:#19232e;--text:#e8edf3;--muted:#9aa9b7;--line:#2b3947;--soft:#203757;--shadow:0 8px 32px #0003}.dropzone{background:#17212b;border-color:#3b4a5a}label{color:#bfccd8}td{color:#b0bdc9;border-color:#273440}th{color:#8999a8}.doc-name{color:var(--text)}.secure-pill{color:#bdc9d5}.error{background:#3a2324;color:#ffb6b0;border-color:#593638}.secondary{color:var(--text)}}
@media(max-width:700px){.topbar{height:60px;padding:0 16px}.topbar nav{gap:12px}.user-name{display:none}.shell{padding:29px 15px}.page-heading{align-items:flex-start}.secure-pill{display:none}.workflow,.history{padding:19px 16px;border-radius:12px}.compose-grid{grid-template-columns:1fr;gap:20px}.dropzone{min-height:218px}.section-head{margin-bottom:18px}.inline-form{flex-direction:column;align-items:stretch}.inline-form button{min-height:44px}.table-wrap{margin:0 -3px}table{min-width:600px}.auth-card{padding:26px 22px}}
.cancel-form{display:inline-block;margin-left:8px}.text-button{border:0;padding:5px;background:none;color:#b44;font:inherit;font-size:10px;cursor:pointer;min-height:32px}
.option-message{font-size:11px;min-height:0;margin:-7px 0 0;color:var(--muted)}
.smtp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:2px 0 16px}.smtp-grid .trusted-check{grid-column:1/-1}.check-label{display:flex;align-items:center;flex-direction:row;min-height:44px;gap:9px}.check-label input{width:18px;height:18px;min-height:18px}.smtp-actions{grid-column:1/-1;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.muted-note{font-size:11px;color:var(--muted);line-height:1.55}.password-row{display:flex;align-items:end;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:16px 0}.password-form{display:flex;align-items:end;gap:10px;flex:1}.password-form label{flex:1}.password-form label span{font-size:10px;font-weight:400;color:var(--muted)}.email-status-line{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 0;color:var(--muted);font-size:11px}.email-status-line strong{color:var(--text);font-weight:600}.toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:10px 0}.toggle-card{border:1px solid var(--line);border-radius:10px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.toggle-card strong{font-size:13px}.toggle-card p{font-size:11px;margin:5px 0 0}.toggle-card button{min-width:82px}.success{background:#eaf7ef;color:#176a42;border:1px solid #cdebd8}.account-email-form{display:grid;grid-template-columns:minmax(140px,1fr) 112px auto;gap:6px;align-items:center}.account-email-form input,.account-email-form select{height:38px;font-size:11px;padding:0 7px}.profile-card{max-width:720px}.profile-form{display:grid;gap:18px}.profile-form .muted-note{margin:0}.profile-form button{width:max-content;min-width:150px}
@media(max-width:700px){.smtp-grid,.toggle-grid{grid-template-columns:1fr}.smtp-grid .trusted-check,.smtp-actions{grid-column:auto}.password-row,.password-form{align-items:stretch;flex-direction:column}.password-row>form:last-child button{width:100%}.toggle-card{align-items:flex-start}.toggle-card form{align-self:center}.account-email-form{grid-template-columns:1fr 112px}.account-email-form button{grid-column:1/-1}.email-status-line{flex-direction:column}.profile-form button{width:100%;min-height:48px}}
