:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}.dashboard-page{max-width:1350px;margin:0 auto;padding:24px}.dashboard-header{color:#fff;background:linear-gradient(135deg,#0f172a,#2563eb);border-radius:20px;justify-content:space-between;align-items:center;margin-bottom:24px;padding:28px 36px;display:flex;box-shadow:0 12px 30px #0f172a40}.dashboard-header h1{margin:0;font-size:34px;font-weight:800}.dashboard-header p{color:#dbeafe;margin:8px 0 0;font-size:16px}.logout-btn,button{cursor:pointer;color:#fff;background:#2563eb;border:none;border-radius:10px;padding:10px 18px;font-weight:700;transition:all .2s}button:hover{background:#1d4ed8;transform:translateY(-1px)}.logout-btn{color:#1d4ed8;background:#fff}.stats-grid{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px;display:grid}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:22px;box-shadow:0 8px 22px #0f172a14}.stat-card h3{color:#64748b;margin:0;font-size:15px}.stat-card p{color:#0f172a;margin:10px 0 0;font-size:30px;font-weight:800}.card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;margin-bottom:24px;padding:24px;box-shadow:0 8px 22px #0f172a14}.card h2{color:#0f172a;margin-top:0;font-size:24px}.customer-form{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}input,select,textarea{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:12px 14px;font-size:14px}input:focus,select:focus,textarea:focus{background:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.customer-form button{background:#16a34a}.customer-form button:hover{background:#15803d}.customer-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:14px}.customer-table th{color:#334155;text-align:left;background:#f1f5f9;border-bottom:1px solid #e2e8f0;padding:14px 12px;font-weight:800}.customer-table td{vertical-align:middle;word-break:break-word;border-bottom:1px solid #e5e7eb;padding:14px 12px}.customer-table tr:hover{background:#f8fafc}.customer-table td:last-child{white-space:nowrap;min-width:170px}.customer-table td button{border-radius:8px;margin:3px 4px 3px 0;padding:8px 12px;font-size:13px;display:inline-block}.customer-table td button:first-child{background:#0ea5e9}.customer-table td button:first-child:hover{background:#0284c7}.customer-table td button:last-child{background:#ef4444}.customer-table td button:last-child:hover{background:#dc2626}.login-page{background:linear-gradient(135deg,#0f172a,#2563eb);justify-content:center;align-items:center;min-height:100vh;display:flex}.login-box{background:#fff;border-radius:20px;width:380px;padding:32px;box-shadow:0 20px 50px #00000040}.login-box h1{color:#0f172a;margin:0}.login-box p{color:#64748b}.login-box form{gap:14px;display:grid}.message{color:#dc2626;font-weight:700}@media (width<=1000px){.stats-grid,.customer-form{grid-template-columns:repeat(2,1fr)}.dashboard-header{flex-direction:column;align-items:flex-start;gap:18px}}@media (width<=700px){.stats-grid,.customer-form{grid-template-columns:1fr}.customer-table{white-space:nowrap;display:block;overflow-x:auto}.dashboard-header h1{font-size:26px}}body{color:#222;background:#f4f6f8;margin:0;font-family:Arial,sans-serif}.groups-page{max-width:1200px;margin:auto;padding:25px}.groups-page h1{color:#1f2937;margin-bottom:20px}.groups-grid{grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;display:grid}.card{background:#fff;border-radius:12px;margin-bottom:18px;padding:20px;box-shadow:0 2px 10px #0000000f}.card h2{color:#111827;margin-top:0}input,select,textarea{box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;width:100%;margin-top:8px;margin-bottom:12px;padding:12px;font-size:15px}textarea{resize:vertical}button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:11px 18px;font-size:15px}button:hover{background:#1d4ed8}.secondary-btn{background:#374151}.secondary-btn:hover{background:#1f2937}.danger-btn{background:#dc2626;padding:8px 12px}.danger-btn:hover{background:#b91c1c}.success-box{color:#166534;background:#dcfce7;border-radius:8px;margin-bottom:18px;padding:12px}.hint{color:#6b7280;font-size:14px}.send-box{grid-template-columns:1fr 160px 180px;align-items:center;gap:12px;display:grid}.select-row{align-items:center;gap:14px;margin:15px 0;display:flex}.contacts-table{border-collapse:collapse;width:100%;margin-top:10px}.contacts-table th,.contacts-table td{text-align:left;border:1px solid #e5e7eb;padding:12px}.contacts-table th{color:#374151;background:#f9fafb}.contacts-table tr:hover{background:#f9fafb}.contacts-table input[type=checkbox]{width:auto;margin:0}@media (width<=768px){.groups-grid,.send-box{grid-template-columns:1fr}.groups-page{padding:15px}.contacts-table{font-size:13px}}
