*{box-sizing:border-box}body{margin:0;background:#f3f6fa;color:#182230;font-family:Inter,Arial,sans-serif}.topbar{height:64px;background:#101827;color:#fff;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.topbar a{color:#fff;text-decoration:none}.topbar strong{font-size:18px}.muted{font-size:12px;color:#9ca3af;margin-left:12px}.container{max-width:1450px;margin:0 auto;padding:25px}.container.narrow{max-width:850px}.hero{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.hero h1{margin:0 0 5px}.hero p{margin:0;color:#64748b}.badge{padding:10px 14px;border-radius:30px;background:#e9eefb;color:#334155;font-size:13px}.grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,1fr);gap:20px}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:22px;box-shadow:0 4px 20px rgba(15,23,42,.05)}h2{font-size:16px;margin:5px 0 12px}label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}input[type=text],input[type=password],input[type=number],input[type=file],select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:11px 12px;background:#fff;font:inherit}input[type=file]{padding:9px}textarea{min-height:480px;resize:vertical;font-family:Consolas,Monaco,monospace;font-size:13px;line-height:1.5}.help{font-size:12px;color:#64748b}.file-info{margin:10px 0;padding:10px;background:#f8fafc;border-radius:8px;font-size:13px}.toolbar{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px}.toolbar button,.secondary{border:1px solid #cbd5e1;background:#fff;border-radius:7px;padding:8px 10px;cursor:pointer}.primary,.send-button{border:0;background:#111827;color:#fff;border-radius:8px;padding:13px 18px;cursor:pointer;font-weight:700}.send-button{width:100%;margin-top:12px}.row{display:flex;gap:10px;margin-top:10px}.preview-panel{min-width:0}.preview-head{display:flex;align-items:center;justify-content:space-between}.preview-wrap{background:#e5e7eb;border-radius:10px;padding:20px;display:flex;justify-content:center;min-height:560px}.preview-wrap iframe{width:100%;height:600px;border:0;background:#fff;border-radius:6px;box-shadow:0 2px 10px rgba(0,0,0,.08)}.preview-wrap.mobile iframe{width:390px}.preview-recipient{margin-top:10px;display:grid;grid-template-columns:110px 1fr 1fr;gap:7px;align-items:center;font-size:12px}.preview-recipient input{padding:8px}.send-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px}.notice{margin-top:15px;padding:12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;font-size:12px;color:#7c2d12}.alert{padding:12px;border-radius:8px;margin-bottom:15px}.alert.error{background:#fee2e2;color:#991b1b}.alert.success{background:#dcfce7;color:#166534}.login-page{min-height:100vh;display:grid;place-items:center}.login-card{background:#fff;padding:30px;border-radius:14px;width:min(400px,92%);box-shadow:0 10px 40px rgba(0,0,0,.08)}.login-card h1{margin-top:0}.login-card button{width:100%;margin-top:14px;padding:12px;border:0;border-radius:8px;background:#111827;color:#fff}.progress{height:14px;background:#e5e7eb;border-radius:20px;overflow:hidden}.progress #bar{height:100%;width:0;background:#111827;transition:width .2s}.result{padding:8px 10px;border-bottom:1px solid #eef2f7;font-size:13px}.result.ok{color:#166534}.result.fail{color:#991b1b}#status{padding:15px 0;font-weight:600}@media(max-width:1000px){.grid{grid-template-columns:1fr}.preview-wrap iframe{height:520px}}@media(max-width:600px){.container{padding:12px}.topbar{padding:0 15px}.hero{display:block}.badge{display:inline-block;margin-top:10px}.preview-recipient{grid-template-columns:1fr}.send-settings{grid-template-columns:1fr}textarea{min-height:400px}}
