:root{--ink:#101b1c;--lime:#c8ff42;--paper:#f1efe7;--line:rgba(16,27,28,.16)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif}.wrap{width:min(1120px,calc(100% - 36px));margin:auto}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.logo{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:12px;font-weight:900;letter-spacing:.14em}.logo b{width:31px;height:31px;background:var(--ink);color:var(--lime);display:grid;place-items:center;font-family:Georgia,serif;font-size:18px}.local{font-size:11px;font-weight:700}.local i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#42ca6b;margin-right:6px;box-shadow:0 0 0 4px rgba(66,202,107,.12)}.hero{min-height:390px;display:grid;grid-template-columns:1.3fr .7fr;align-items:center;border-bottom:1px solid var(--line)}.eyebrow{font:700 10px/1 monospace;letter-spacing:.15em;opacity:.48}.hero h1{font-size:clamp(48px,7vw,78px);line-height:.96;letter-spacing:-.06em;margin:16px 0 22px}.hero h1 em{font-style:normal;color:transparent;-webkit-text-stroke:1.5px var(--ink);position:relative}.hero h1 em:after{content:"";position:absolute;left:0;right:0;bottom:1px;height:10px;background:var(--lime);z-index:-1}.hero p{max-width:610px;line-height:1.8;opacity:.62}.hero-icon{justify-self:end;width:220px;height:250px;background:var(--ink);padding:18px;box-shadow:12px 12px 0 var(--lime);transform:rotate(3deg);display:flex;flex-direction:column;gap:14px}.hero-icon img{width:100%;aspect-ratio:1;object-fit:cover}.hero-icon span{color:white;font-weight:900;text-align:center}.builder{margin:75px 0;display:grid;grid-template-columns:1.3fr .7fr;background:var(--ink);color:white;box-shadow:18px 20px 0 rgba(16,27,28,.14)}.form-panel{padding:34px;border-right:1px solid rgba(255,255,255,.14)}.panel-title{display:flex;justify-content:space-between;padding-bottom:22px;border-bottom:1px solid rgba(255,255,255,.14)}.panel-title strong{font-size:14px}.panel-title small{opacity:.45}fieldset{border:0;padding:25px 0 0;margin:0}legend,.field>span{font-size:11px;font-weight:800;margin-bottom:10px}.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tabs button{min-height:57px;border:1px solid rgba(255,255,255,.18);background:transparent;color:white;padding:10px;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.tabs button.active{background:var(--lime);border-color:var(--lime);color:var(--ink)}.tabs small{font:700 8px/1 monospace;opacity:.55}.tabs b{font:900 11px/1 monospace}.field{display:flex;flex-direction:column;margin-top:21px}.field input[type=text],.field input[type=url]{height:48px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.2);color:white;padding:0 14px;outline:0}.field input:focus{border-color:var(--lime)}.two-col{display:grid;grid-template-columns:1.5fr .7fr;gap:14px}.color>div{height:48px;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;gap:10px;padding:8px 12px}.color input{width:27px;height:27px;border:0;padding:0;background:none}.color code{font-size:10px;opacity:.7}.options{display:grid;grid-template-columns:1.2fr 1fr;gap:14px;margin-top:23px}.upload,.switch{min-height:68px;border:1px solid rgba(255,255,255,.18);display:flex;align-items:center;padding:10px 12px;gap:12px}.upload{cursor:pointer;border-style:dashed}.upload input{position:absolute;opacity:0}.upload img{width:44px;height:44px;object-fit:cover}.upload span,.switch span{display:flex;flex-direction:column;gap:5px}.upload b,.switch b{font-size:11px}.upload small,.switch small{font-size:8px;opacity:.45}.switch{justify-content:space-between}.switch input{appearance:none;width:38px;height:21px;border-radius:20px;background:rgba(255,255,255,.14);position:relative;cursor:pointer}.switch input:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:white;top:3px;left:3px;transition:.2s}.switch input:checked{background:var(--lime)}.switch input:checked:after{left:20px;background:var(--ink)}.build{width:100%;height:56px;margin-top:25px;border:0;background:var(--lime);color:var(--ink);font-weight:900;padding:0 20px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.build b{font-size:21px}.message{margin-top:13px;padding:14px;border-left:3px solid var(--lime);background:rgba(200,255,66,.08);font-size:11px;line-height:1.7}.message.error{border-color:#ff9b82;background:rgba(255,155,130,.08)}.preview{padding:34px;background:rgba(0,0,0,.12)}.phone{width:210px;height:365px;margin:30px auto;background:#050b0d;border-radius:31px;padding:11px;box-shadow:18px 24px 40px rgba(0,0,0,.3)}.screen{height:100%;border-radius:21px;background:#eef0e7;display:flex;flex-direction:column;align-items:center;padding:74px 20px 20px;color:var(--ink);overflow:hidden}.screen img{width:83px;height:83px;border-radius:20px;object-fit:cover;box-shadow:0 10px 25px rgba(16,27,28,.22)}.screen strong{margin-top:20px;font-size:17px}.screen small{margin-top:9px;font:9px/1.4 monospace;opacity:.48;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview dl{margin:0}.preview dl div{display:flex;justify-content:space-between;border-top:1px solid rgba(255,255,255,.12);padding:14px 0}.preview dt{font-size:9px;opacity:.42}.preview dd{font:10px/1 monospace;margin:0;color:var(--lime)}.notice{margin-bottom:80px;border:1px solid var(--line);border-left:5px solid var(--lime);padding:22px 24px}.notice b{font-size:13px}.notice p{margin:8px 0 0;font-size:12px;line-height:1.75;opacity:.62}footer{height:80px;border-top:1px solid var(--line);display:flex;align-items:center;font:700 9px/1 monospace;opacity:.48}
@media(max-width:800px){.hero{grid-template-columns:1fr;padding:55px 0}.hero-icon{display:none}.builder{grid-template-columns:1fr}.form-panel{border-right:0;border-bottom:1px solid rgba(255,255,255,.14)}}
@media(max-width:560px){.hero h1{font-size:50px}.builder{margin:45px 0}.form-panel,.preview{padding:23px 17px}.tabs,.two-col,.options{grid-template-columns:1fr}.panel-title{flex-direction:column;gap:6px}.phone{height:340px}}
.field input[type=password]{height:48px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.2);color:white;padding:0 14px;outline:0}.field input[type=password]:focus{border-color:var(--lime)}.build:disabled{opacity:.55;cursor:wait}.message a{display:inline-flex;margin-top:10px;padding:9px 13px;background:var(--lime);color:var(--ink);font-weight:900;text-decoration:none}

/* Account entry */
.auth-layout{min-height:calc(100vh - 76px);display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;padding:70px 0}.auth-intro h1{font-size:clamp(54px,7vw,86px);line-height:.95;letter-spacing:-.065em;margin:16px 0 25px}.auth-intro h1 em{font-style:normal;color:transparent;-webkit-text-stroke:1.5px var(--ink);position:relative}.auth-intro h1 em:after{content:"";position:absolute;left:0;right:0;bottom:3px;height:11px;background:var(--lime);z-index:-1}.auth-intro p{max-width:570px;line-height:1.9;opacity:.66}.auth-points{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}.auth-points span{border:1px solid var(--line);padding:9px 11px;font:700 9px/1 monospace}.auth-card{background:var(--ink);color:white;padding:32px;box-shadow:16px 18px 0 var(--lime)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid rgba(255,255,255,.18);margin-bottom:24px}.auth-tabs a{padding:14px;color:white;text-align:center;text-decoration:none;font-size:13px;font-weight:800;opacity:.45}.auth-tabs a.active{opacity:1;border-bottom:3px solid var(--lime)}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-form label{display:flex;flex-direction:column;gap:8px}.auth-form label span{font-size:11px;font-weight:800}.auth-form input{height:48px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.2);color:white;padding:0 14px;outline:0}.auth-form input:focus{border-color:var(--lime)}.auth-submit{height:54px;border:0;background:var(--lime);font-weight:900;padding:0 17px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.auth-submit b{font-size:20px}.auth-form>small{font-size:10px;opacity:.48;text-align:center}.auth-error{border-left:3px solid #ff9b82;background:rgba(255,155,130,.09);padding:12px 14px;margin-bottom:18px;font-size:12px;line-height:1.6}

/* User dashboard */
.userbar{position:sticky;top:0;background:rgba(241,239,231,.94);backdrop-filter:blur(12px);z-index:20}.user-nav{display:flex;align-items:center;gap:18px;font-size:12px}.user-nav b{color:#4f7100}.user-nav a{color:inherit;text-decoration:none;border:1px solid var(--line);padding:8px 11px;font-weight:800}.user-main{padding-bottom:80px}.user-heading{display:flex;justify-content:space-between;align-items:end;padding:55px 0 30px;border-bottom:1px solid var(--line)}.user-heading h1{font-size:clamp(38px,5vw,60px);letter-spacing:-.05em;margin:10px 0}.user-heading p{margin:0;opacity:.62;font-size:13px}.quota{min-width:150px;background:var(--ink);color:white;padding:18px;display:grid;grid-template-columns:1fr auto;align-items:end}.quota small{grid-column:1/-1;opacity:.5}.quota strong{font-size:48px;line-height:1;color:var(--lime)}.quota span{font-size:11px;opacity:.5}.user-builder{margin-top:38px;margin-bottom:45px}.job-history{border-top:1px solid var(--line);padding-top:35px}.history-title{display:flex;justify-content:space-between;align-items:end}.history-title h2{margin:8px 0 0;font-size:28px}.history-title button{border:1px solid var(--line);background:transparent;padding:9px 13px;font-weight:800;cursor:pointer}.job-list{display:grid;gap:9px;margin-top:22px}.job-item{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);background:rgba(255,255,255,.25);padding:15px 17px}.job-item>div{display:flex;flex-direction:column;gap:5px}.job-item small{font-size:10px;opacity:.5}.job-status{font-size:11px;font-weight:900;padding:8px 12px;text-decoration:none}.job-status.active{color:#7d5e00;background:#fff1b8}.job-status.completed{color:var(--ink);background:var(--lime)}.history-empty{opacity:.55;font-size:12px}

@media(max-width:800px){.auth-layout{grid-template-columns:1fr;gap:35px;padding:45px 0}.auth-intro h1{font-size:55px}.user-heading{align-items:stretch;gap:25px}.quota{min-width:120px}.user-nav span{display:none}}
@media(max-width:560px){.auth-card{padding:24px 18px;box-shadow:8px 9px 0 var(--lime)}.user-heading{flex-direction:column}.quota{width:100%}.job-item{align-items:flex-start;gap:12px}}
.job-status.failed{color:#8b261b;background:#ffd5cf}

/* Admin console */
.admin-main{padding:48px 0 80px}.admin-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid var(--line);padding-bottom:28px}.admin-heading h1{font-size:48px;letter-spacing:-.05em;margin:9px 0}.admin-heading p{margin:0;opacity:.58}.admin-search{display:flex;gap:8px}.admin-search input{height:42px;min-width:260px;border:1px solid var(--line);background:white;padding:0 12px}.admin-search button{border:0;background:var(--ink);color:white;padding:0 17px;font-weight:800}.admin-notice{margin-top:22px;padding:13px 15px;border-left:4px solid}.admin-notice.success{background:#e8f8c1;border-color:#74a400}.admin-notice.error{background:#ffe0db;border-color:#c74435}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.admin-stats article{background:var(--ink);color:white;padding:20px;display:flex;flex-direction:column;gap:9px}.admin-stats small{opacity:.5}.admin-stats strong{font-size:34px;color:var(--lime)}.admin-users{margin-top:30px}.admin-table-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.admin-table-title h2{margin:0}.admin-table-title span{font-size:10px;opacity:.5}.admin-table-wrap{overflow:auto;border:1px solid var(--line);background:rgba(255,255,255,.32)}.admin-table{width:100%}.admin-table-wrap table{width:100%;border-collapse:collapse;min-width:1100px}.admin-table-wrap th,.admin-table-wrap td{padding:13px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;font-size:12px}.admin-table-wrap th{background:var(--ink);color:white;font-size:10px;letter-spacing:.08em}.admin-table-wrap td>strong,.admin-table-wrap td>small{display:block}.admin-table-wrap td small{opacity:.55;margin-top:5px}.admin-badge{display:inline-flex;padding:6px 8px;background:#e5e3db;font-size:10px;font-weight:900}.admin-badge.green{background:#dff3c2;color:#3b6500}.admin-badge.red{background:#ffd7d1;color:#902416}.admin-badge.lime{background:var(--lime);color:var(--ink)}.admin-user-form{display:grid;grid-template-columns:86px 80px 85px auto auto;gap:6px;align-items:end}.admin-user-form label{display:flex;flex-direction:column;gap:4px;font-size:9px}.admin-user-form input,.admin-user-form select,.admin-user-form button{height:34px;border:1px solid var(--line);background:white;padding:0 7px;font-size:10px}.admin-user-form button{background:var(--ink);color:white;border-color:var(--ink);font-weight:800;cursor:pointer}.admin-user-form button.secondary{background:transparent;color:var(--ink)}
@media(max-width:800px){.admin-heading{align-items:stretch;flex-direction:column;gap:20px}.admin-search input{min-width:0;flex:1}.admin-stats{grid-template-columns:1fr}.admin-main{padding-top:28px}}

/* Simplified user and admin interface */
.simple-dashboard{background:#f5f7fa;color:#1f2937;--simple-blue:#2563eb;--simple-border:#dfe3e8}.simple-dashboard .wrap{width:min(1180px,calc(100% - 32px))}.simple-dashboard .topbar{height:62px;background:#fff;border-bottom:1px solid var(--simple-border);position:static;backdrop-filter:none}.simple-dashboard .logo{letter-spacing:.04em}.simple-dashboard .logo b{background:var(--simple-blue);color:#fff}.simple-dashboard .user-nav a{border:0;padding:7px 9px;color:#374151}.simple-dashboard .user-heading{padding:32px 0 20px;align-items:center}.simple-dashboard .user-heading h1{font-size:30px;letter-spacing:-.02em;margin:6px 0}.simple-dashboard .user-heading p{font-size:13px}.simple-dashboard .quota{min-width:150px;background:#fff;color:#1f2937;border:1px solid var(--simple-border);border-radius:8px;padding:14px;box-shadow:none}.simple-dashboard .quota strong{font-size:32px;color:var(--simple-blue)}.simple-dashboard .user-builder{display:grid;grid-template-columns:1fr;margin:22px 0 30px;background:#fff;color:#1f2937;border:1px solid var(--simple-border);border-radius:8px;box-shadow:none;overflow:hidden}.simple-dashboard .form-panel{padding:24px;border:0}.simple-dashboard .panel-title{border-bottom:1px solid var(--simple-border);padding-bottom:16px}.simple-dashboard .panel-title small{opacity:.6}.simple-dashboard .tabs button{border:1px solid var(--simple-border);background:#fff;color:#374151;border-radius:6px}.simple-dashboard .tabs button.active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.simple-dashboard .field input[type=text],.simple-dashboard .field input[type=url],.simple-dashboard .field input[type=password]{background:#fff;border:1px solid #cfd5dc;color:#111827;border-radius:6px}.simple-dashboard .field input:focus{border-color:#60a5fa}.simple-dashboard .color>div,.simple-dashboard .upload,.simple-dashboard .switch{border-color:var(--simple-border);border-radius:6px}.simple-dashboard .upload small,.simple-dashboard .switch small{opacity:.6}.simple-dashboard .switch input{background:#d1d5db}.simple-dashboard .build{background:var(--simple-blue);color:#fff;border-radius:6px}.simple-dashboard .preview{display:none}.simple-dashboard .message{background:#eff6ff;border-color:var(--simple-blue);font-size:12px}.simple-dashboard .message.error{background:#fff1f0;border-color:#dc2626}.simple-dashboard .message a{background:var(--simple-blue);color:#fff}.simple-dashboard .job-history{border-top:0;background:#fff;border:1px solid var(--simple-border);border-radius:8px;padding:22px}.simple-dashboard .history-title h2{font-size:20px}.simple-dashboard .job-item{background:#fff;border-color:var(--simple-border);border-radius:6px}.simple-dashboard .job-status.completed{background:#eaf2ff;color:#1d4ed8}.simple-dashboard .eyebrow{color:#6b7280}.simple-header{height:60px;background:#fff;border-bottom:1px solid #dfe3e8}.simple-header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}.simple-brand{font-weight:800;color:#111827;text-decoration:none}.simple-header nav{display:flex;gap:16px}.simple-header nav a{color:#4b5563;text-decoration:none;font-size:13px}.simple-page-title{display:flex;justify-content:space-between;align-items:end;padding-bottom:20px;border-bottom:1px solid #dfe3e8}.simple-page-title h1{font-size:28px;margin:0 0 6px}.simple-page-title p{margin:0;color:#6b7280;font-size:13px}.admin-main{padding:28px 0 60px}.admin-search input{border:1px solid #cfd5dc;border-radius:6px}.admin-search button,.admin-table-wrap button{background:#2563eb;color:#fff;border:0;border-radius:5px;padding:8px 11px;font-weight:700;cursor:pointer}.plain-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:20px 0}.plain-stats article{background:#fff;border:1px solid #dfe3e8;border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:8px}.plain-stats span{font-size:12px;color:#6b7280}.plain-stats strong{font-size:26px}.plain-panel{background:#fff;border:1px solid #dfe3e8;border-radius:8px;margin-top:18px;padding:18px}.panel-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.panel-heading h2{font-size:18px;margin:0}.panel-heading span{font-size:11px;color:#6b7280}.admin-table-wrap{border:1px solid #e5e7eb;border-radius:6px;background:#fff}.admin-table-wrap th{background:#f8fafc;color:#4b5563;border-color:#e5e7eb}.admin-table-wrap td{border-color:#e5e7eb}.plain-badge{display:inline-flex;padding:4px 7px;border-radius:12px;background:#eef0f2;font-size:10px;font-weight:700}.plain-badge.ok{background:#e8f7ee;color:#167445}.plain-badge.danger{background:#feeceb;color:#b42318}.compact-actions{display:flex;flex-wrap:wrap;gap:5px;min-width:390px}.compact-actions input,.compact-actions select{height:32px;border:1px solid #cfd5dc;border-radius:5px;background:#fff;padding:0 6px;font-size:11px}.compact-actions input{width:70px}.compact-actions button.light{background:#fff;color:#374151;border:1px solid #cfd5dc}.ua-cell{max-width:340px;word-break:break-word;color:#6b7280}.admin-notice{border-radius:6px}.auth-success{border-left:3px solid #16a34a;background:#edf9f0;padding:12px 14px;margin-bottom:18px;color:#166534;font-size:12px}.verify-link{display:block;color:#94a3b8;text-align:center;font-size:11px;margin-top:12px}.plain-link{color:#475569;text-decoration:none;font-size:12px}.verify-layout{min-height:calc(100vh - 76px);display:grid;place-items:center}.verify-card{width:min(440px,100%);background:#101b1c;color:#fff;padding:30px;box-shadow:10px 12px 0 #c8ff42}.verify-card h1{margin:12px 0 8px}.verify-card>p{color:#aeb7b7;font-size:12px;line-height:1.7;margin-bottom:20px}.verify-form .resend-button{height:42px;background:transparent;color:#cbd5e1;border:1px solid rgba(255,255,255,.2);cursor:pointer}.verify-form input[name=code]{font-size:22px;letter-spacing:.25em;text-align:center}
@media(max-width:900px){.plain-stats{grid-template-columns:repeat(2,1fr)}.simple-page-title{align-items:stretch;flex-direction:column;gap:16px}.panel-heading{align-items:flex-start;flex-direction:column;gap:6px}}
@media(max-width:600px){.simple-dashboard .user-heading{align-items:stretch}.plain-stats{grid-template-columns:1fr 1fr}.simple-header nav{gap:9px}.admin-search{width:100%}.verify-card{box-shadow:6px 7px 0 #c8ff42}}

/* SMTP settings */
.smtp-grid{display:grid;grid-template-columns:2fr .7fr 1.2fr;gap:14px}.smtp-grid label{display:flex;flex-direction:column;gap:7px}.smtp-grid label span{font-size:12px;font-weight:700;color:#4b5563}.smtp-grid input,.smtp-grid select{height:40px;border:1px solid #cfd5dc;border-radius:6px;background:#fff;color:#111827;padding:0 10px}.smtp-grid input:focus,.smtp-grid select:focus{outline:2px solid #bfdbfe;border-color:#60a5fa}.smtp-help{margin:14px 0 0;color:#6b7280;font-size:12px}.smtp-actions{display:flex;gap:9px;margin-top:16px}.smtp-actions button{border:0;border-radius:5px;background:#2563eb;color:#fff;padding:10px 14px;font-weight:700;cursor:pointer}.smtp-actions button.light{background:#fff;color:#374151;border:1px solid #cfd5dc}
@media(max-width:900px){.smtp-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.smtp-grid{grid-template-columns:1fr}.smtp-actions{flex-direction:column}.smtp-actions button{width:100%}}
