.scn-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#eef2f7;padding:24px}.scn-card{background:#fff;border-radius:14px;box-shadow:0 10px 40px #0f172a1f;width:100%;max-width:420px;overflow:hidden}.scn-header{padding:26px 30px 18px;color:#fff}.scn-brand{font-size:13px;opacity:.9;margin-bottom:8px}.scn-title{font-size:21px;font-weight:700;margin:0}.scn-subtitle{margin:6px 0 0;font-size:14px;opacity:.92}.scn-body{padding:24px 30px 30px}.scn-body label{display:block;font-size:13px;font-weight:600;margin:0 0 5px;color:#475569}.scn-body input{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;margin-bottom:16px;font-size:15px}.scn-body input.scn-readonly{background:#f1f5f9;color:#334155;cursor:default;pointer-events:none}.scn-body button{width:100%;padding:12px;border:none;border-radius:8px;color:#fff;font-size:15px;font-weight:600;cursor:pointer}.scn-extra{margin-top:18px;font-size:13px;color:#64748b}.scn-result{text-align:center;padding:44px 34px}.scn-result .icon{width:64px;height:64px;border-radius:50%;background:#dcfce7;color:#15803d;display:flex;align-items:center;justify-content:center;font-size:32px;margin:0 auto 18px}.scn-result h2{margin:0 0 12px;color:#166534}.scn-maint-icon{width:72px;height:72px;border-radius:50%;background:#fef3c7;color:#b45309;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}.scn-result h2.scn-maint-title{color:#1e293b}.scn-result p{color:#334155;font-size:15px}.scn-note{margin-top:22px;font-size:12px;color:#94a3b8;border-top:1px solid #e2e8f0;padding-top:14px}.delo-wrap{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;background:#e9edf2;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='220'><g fill='none' stroke='%23c3ccd8' stroke-width='1'><polygon points='30,20 120,60 80,150 10,120'/><polygon points='120,60 210,30 240,120 150,140'/><polygon points='80,150 150,140 160,210 60,205'/><circle cx='30' cy='20' r='2.5' fill='%23c3ccd8' stroke='none'/><circle cx='120' cy='60' r='2.5' fill='%23c3ccd8' stroke='none'/><circle cx='210' cy='30' r='2.5' fill='%23c3ccd8' stroke='none'/><circle cx='80' cy='150' r='2.5' fill='%23c3ccd8' stroke='none'/><circle cx='150' cy='140' r='2.5' fill='%23c3ccd8' stroke='none'/><circle cx='240' cy='120' r='2.5' fill='%23c3ccd8' stroke='none'/></g></svg>");background-repeat:repeat;background-size:300px 260px;padding:24px}.delo-col{width:360px;margin-top:150px;position:relative}.delo-badge{width:112px;height:112px;border-radius:50%;border:7px solid #fff;box-shadow:0 2px 10px #0000002e;position:absolute;left:50%;top:-56px;transform:translate(-50%);display:flex;align-items:center;justify-content:center;z-index:2}.delo-badge span{color:#fff;font-weight:800;font-size:52px;line-height:1;font-family:Georgia,Times New Roman,serif}.delo-card{background:#fff;box-shadow:0 2px 18px #141e3c1f;border:1px solid #ededed}.delo-head{background:#f4f2ee;padding:70px 30px 18px;text-align:center;border-bottom:1px solid #d9d5cd}.delo-logo{font-style:italic;font-weight:800;font-size:46px;letter-spacing:1px;line-height:1}.delo-logo-sub{color:#8f8f8f;font-size:9.5px;letter-spacing:1.5px;margin-top:6px}.delo-rule{height:3px;background:linear-gradient(to right,#2a4fb0,#2aa7c0,#3bbf6f,#f2c200,#ef7d1a)}.delo-body{padding:14px 30px 24px}.delo-ver{text-align:center;color:#9a9a9a;font-size:12px;letter-spacing:1px;margin:4px 0 14px}.delo-body label{display:block;color:#9b9b9b;font-size:11px;letter-spacing:1px;margin:10px 0 4px}.delo-fld{position:relative}.delo-body input{width:100%;padding:9px 34px 9px 10px;border:1px solid #cfcac1;border-radius:2px;font-size:15px;background:#fff;color:#2b2b2b;box-sizing:border-box}.delo-body input[type=password]{background:#f4f2ee}.delo-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);cursor:pointer;font-size:15px;-webkit-user-select:none;user-select:none;opacity:.8}.delo-btn{width:100%;margin-top:16px;padding:11px;border-radius:2px;font-size:13px;letter-spacing:1px;font-weight:600;cursor:pointer;border:1px solid}.delo-btn-primary{color:#fff}.delo-btn-ghost{background:#fff}.delo-foot{display:flex;justify-content:space-between;margin-top:16px;font-size:13px}.delo-toast{position:fixed;top:16px;left:50%;transform:translate(-50%);display:flex;align-items:stretch;gap:14px;background:#fff;border:1px solid #e4e4e4;border-radius:4px;box-shadow:0 6px 24px #141e3c2e;padding:0 14px 0 0;max-width:680px;width:calc(100% - 32px);z-index:50}.delo-toast-x{background:#ef4a3d;color:#fff;display:flex;align-items:center;justify-content:center;width:54px;font-size:20px;border-radius:4px 0 0 4px}.delo-toast-msg{flex:1;display:flex;align-items:center;color:#555;font-size:14px;padding:14px 0}.delo-toast-btn{align-self:center;color:#fff;border:none;border-radius:3px;padding:8px 18px;font-size:12px;letter-spacing:1px;font-weight:600;cursor:pointer}:root{--bg: #f4f6f9;--surface: #ffffff;--border: #e2e8f0;--text: #1a202c;--muted: #64748b;--primary: #1f4e79;--primary-dark: #163a5a;--success: #15803d;--warn: #b45309;--danger: #b91c1c;--radius: 10px;--shadow: 0 1px 3px rgba(0, 0, 0, .08);font-family:Segoe UI,system-ui,-apple-system,Roboto,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}a{color:var(--primary)}button{font:inherit;cursor:pointer;border:none;border-radius:8px;padding:9px 16px;background:var(--primary);color:#fff;transition:background .15s}button:hover{background:var(--primary-dark)}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:#eef2f7;color:var(--text)}button.secondary:hover{background:#e2e8f0}button.danger{background:var(--danger)}button.ghost{background:transparent;color:var(--primary);padding:4px 8px}input,textarea,select{font:inherit;width:100%;padding:9px 11px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text)}input:focus,textarea:focus,select:focus{outline:2px solid rgba(31,78,121,.3);border-color:var(--primary)}label{display:block;font-size:13px;font-weight:600;margin-bottom:4px;color:var(--muted)}.field{margin-bottom:14px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.grid{display:grid;gap:16px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:top}th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.03em}.badge{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600}.badge.pending{background:#f1f5f9;color:#475569}.badge.sent{background:#e0f2fe;color:#0369a1}.badge.opened{background:#fef9c3;color:#854d0e}.badge.engaged{background:#fed7aa;color:#9a3412}.badge.completed{background:#dcfce7;color:#15803d}.admin-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:var(--primary-dark);color:#e2e8f0;padding:20px 14px}.sidebar h1{font-size:15px;margin:0 0 20px;color:#fff}.sidebar nav a{display:block;padding:9px 12px;border-radius:8px;color:#cbd5e1;text-decoration:none;margin-bottom:2px;font-size:14px}.sidebar nav a:hover{background:#ffffff14;color:#fff}.sidebar nav a.active{background:var(--primary);color:#fff}.main{padding:26px 32px;overflow:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.page-title{font-size:22px;font-weight:700;margin:0}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin-bottom:16px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.stat .value{font-size:30px;font-weight:700;color:var(--primary)}.stat .label{color:var(--muted);font-size:13px}.row-actions{display:flex;gap:6px}.alert{padding:11px 14px;border-radius:8px;margin-bottom:14px;font-size:14px}.alert.error{background:#fee2e2;color:#991b1b}.alert.success{background:#dcfce7;color:#166534}.alert.info{background:#e0f2fe;color:#075985}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;overflow:auto;z-index:50}.modal{background:#fff;border-radius:12px;width:100%;max-width:640px;padding:24px}.modal h2{margin-top:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.muted{color:var(--muted)}.small{font-size:13px}.mono{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px}.flex{display:flex;gap:10px;align-items:center}.flex-between{display:flex;justify-content:space-between;align-items:center}.chart-row{grid-template-columns:repeat(auto-fit,minmax(380px,1fr))}.chart-header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.chart-header h3{margin:0}.small-btn{padding:5px 12px;font-size:13px}.segmented{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}.segmented button{background:transparent;color:var(--muted);border-radius:0;padding:5px 12px;font-size:13px}.segmented button:hover{background:#eef2f7}.segmented button.active{background:var(--primary);color:#fff}.chart-row>.card{min-width:0}.chart-wrap{position:relative}.chart-wrap svg{display:block;max-width:100%;height:auto}.chart-scroll{max-height:640px;overflow-y:auto;scrollbar-gutter:stable}.chart-hit{outline:none}.chart-hit:focus-visible{stroke:var(--primary);stroke-width:1.5}.chart-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--muted);margin-bottom:12px}.chart-swatch{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}.chart-tooltip{position:fixed;z-index:10;pointer-events:none;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 14px #0f172a1f;padding:8px 10px;font-size:13px;white-space:nowrap}.chart-tooltip-title{font-weight:600;margin-bottom:4px;max-width:340px;white-space:normal}.chart-tooltip-row{display:flex;align-items:center;gap:8px;line-height:1.7}.chart-key{display:inline-block;width:12px;height:3px;border-radius:2px}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
