@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap";: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{min-height:100svh}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{font-family:var(--mono);color:var(--text-h);background:var(--code-bg);border-radius:4px;padding:4px 8px;font-size:15px;line-height:135%;display:inline-flex}:root{--accent:#6c63ff;--accent-2:#8f7bff;--accent-bg:#6c63ff0f;--muted:#6b7280;--success:#0c9d4a;--danger:#cc2f2f;--bg:#fff;--surface:#fbf9ff;--border:#ece8ff;--text:#4b5563;--text-h:#0f1724;--card-shadow:0 10px 30px #1018280f;--soft-shadow:0 6px 18px #1018280a;--radius:12px;--gap:12px}*{box-sizing:border-box}html,body,#root{height:100%}body{color:var(--text);background:linear-gradient(#8c74ff08,#0000 220px);margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial}.logon-page{box-sizing:border-box;place-items:center;min-height:100svh;padding:28px;display:grid}h1{color:var(--text-h);margin:0;font-size:20px}h3{color:var(--text-h);margin:0;font-size:16px}.small{color:var(--muted);font-size:13px}.main-page{gap:var(--gap);grid-template-columns:260px 1fr;min-height:100svh;padding:24px;display:grid}.sidebar{border-radius:var(--radius);background:linear-gradient(180deg, var(--surface), #fff);border:1px solid var(--border);min-height:calc(100vh - 48px);box-shadow:var(--soft-shadow);flex-direction:column;gap:12px;padding:18px;display:flex}.sidebar__brand{flex-direction:column;gap:6px;display:flex}.sidebar__title{color:var(--text-h);font-size:18px;font-weight:700}.sidebar__nav{flex-direction:column;gap:12px;margin-top:6px;display:flex}.sidebar-group__title{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:700}.sidebar-item{color:var(--text-h);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;transition:all .18s;display:flex}.sidebar-item:hover{box-shadow:var(--soft-shadow);transform:translateY(-3px)}.sidebar-item__icon{width:18px;height:18px;color:var(--muted);justify-content:center;align-items:center;display:inline-flex}.sidebar-item__label{font-weight:600}.sidebar-item--active{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#fff;box-shadow:var(--card-shadow)}.sidebar-item--active .sidebar-item__icon{filter:brightness(5)saturate(.1)}.content-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel{border:1px solid var(--border);box-shadow:var(--soft-shadow);background:#fff;border-radius:12px;padding:18px}.user-list{box-shadow:none;background:0 0;border:0;padding:0}.list-header{justify-content:space-between;align-items:center;padding:12px 0;display:flex}.toolbar-actions{gap:8px;display:flex}button.primary{background:linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);color:#fff;cursor:pointer;border:0;border-radius:10px;padding:8px 14px;font-weight:700;box-shadow:0 8px 24px #6c63ff24}button.secondary{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:10px;padding:8px 12px}.filter-item{flex-direction:column;gap:6px;min-width:180px;display:flex}.filter-item label{color:var(--muted);font-size:13px}.filter-item input,.filter-item select{border:1px solid var(--border);border-radius:8px;height:40px;padding:8px 10px}.table-wrap{border-radius:8px;width:100%;overflow:auto}th,td{text-align:left;padding:10px 12px}thead th{background:var(--surface);color:var(--muted);font-weight:700}tbody tr:nth-child(odd){background:#fcfbff}tbody tr:hover{background:#fff8ff}td.actions{gap:8px;display:flex}.inline-form-card{border:1px solid var(--border);box-shadow:var(--soft-shadow);background:#fff;border-radius:12px;padding:16px}.modal-form label{color:var(--text-h);font-weight:600}.modal-form input,.modal-form select,.modal-form textarea{border:1px solid var(--border);border-radius:8px;padding:10px}.affiliate-row{border:1px solid var(--border);border-radius:10px;align-items:center;gap:10px;padding:10px;display:flex}.affiliate-row .filter-item{min-width:160px}.affiliate-row-grid{flex-wrap:nowrap;gap:12px;display:flex;overflow:auto}.affiliate-row-actions{align-items:center;display:flex}@media (width<=1024px){.main-page{grid-template-columns:1fr}.sidebar{border-radius:8px;min-height:auto}}.logon-card{border:1px solid var(--border);background:var(--bg);box-sizing:border-box;text-align:left;border-radius:12px;gap:12px;width:min(100%,380px);padding:28px;display:grid}.logon-card h1{text-align:center;margin:0}.subtitle{text-align:center;margin:0 0 8px}.logon-card label{color:var(--text-h);font-size:14px;line-height:1.3}.logon-card input{border:1px solid var(--border);width:100%;height:42px;font:inherit;color:var(--text-h);background:var(--bg);box-sizing:border-box;border-radius:8px;padding:0 12px}.logon-card input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.logon-card button{height:42px;font:inherit;color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:8px;margin-top:8px;font-weight:600}.logon-card button:disabled{opacity:.7;cursor:not-allowed}.status{margin:4px 0 0;font-size:14px}.status.error{color:#cc2f2f}.status.success{color:#0c9d4a}.main-page{background:linear-gradient(#aa3bff0d,#0000 220px);grid-template-columns:240px 1fr;min-height:100svh;display:grid}.sidebar{border-right:1px solid var(--border);background:color-mix(in srgb, var(--bg), #f6f0ff 12%);align-content:start;gap:12px;padding:20px;display:grid}.sidebar__brand{flex-direction:column;gap:6px;margin-bottom:8px;display:flex}.sidebar__title{font-size:18px;font-weight:700}.sidebar__meta{color:var(--text);font-size:12px}.sidebar__nav{flex-direction:column;gap:12px;display:flex}.sidebar-group__title{border-top:1px solid var(--border);color:var(--text);text-transform:uppercase;margin:0;padding-top:6px;font-size:13px;font-weight:700}.sidebar-group__items{flex-direction:column;gap:6px;padding-left:8px;display:flex}.sidebar-item{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:8px 10px}.sidebar-item--active{background:var(--accent-bg);border-color:var(--accent)}.sidebar__logout{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:8px;margin-top:auto;padding:8px}.sidebar-item__icon{opacity:.95;margin-right:8px;font-size:16px}.sidebar-item--active .sidebar-item__icon{color:var(--accent)}.header-meta__right div{background:var(--accent-bg);color:var(--accent);border-radius:10px;padding:6px 10px;font-weight:700}.header-meta__left div{color:var(--muted)}button.primary{background:linear-gradient(90deg, var(--accent) 0%, #8f7bff 100%);box-shadow:0 6px 18px #6c63ff2e}.menu-group{gap:8px;display:grid}.menu-group-title{border-top:1px solid var(--border);color:var(--text);text-transform:uppercase;letter-spacing:.06em;margin:8px 0 0;padding-top:10px;font-size:14px;font-weight:700}.menu{border:1px solid var(--border);background:color-mix(in srgb, var(--bg), #fff 15%);height:40px;color:var(--text-h);font:inherit;text-align:left;cursor:pointer;border-radius:8px;padding:0 12px;transition:transform .15s,box-shadow .15s}.menu-child{width:calc(100% - 12px);margin-left:12px}.menu:hover{transform:translateY(-1px);box-shadow:0 8px 20px #0000000f}.menu.active{border-color:var(--accent);background:var(--accent-bg)}.menu.logout{margin-top:12px}.content{gap:16px;padding:24px;display:grid}.content-header h1{margin:0}.header-meta{justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.header-meta__left,.header-meta__right{align-items:center;gap:8px;display:flex}.header-meta__left div,.header-meta__right div{font-size:14px}.header-meta strong{color:var(--text-h);margin-right:6px}.panel{display:block}.user-list{border:1px solid var(--border);box-sizing:border-box;background:color-mix(in srgb, var(--bg), #fff 14%);border-radius:12px;padding:18px;box-shadow:0 10px 24px #0000000d}.user-list h3{margin:0}.form-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.form-actions.compact{margin-top:4px}.filter-form{flex-wrap:wrap;align-items:end;gap:12px;margin:12px 0 16px;display:flex}.filter-item{flex:220px;gap:4px;min-width:180px;display:grid}.form-field{align-items:center;gap:8px;display:flex}.form-field span{min-width:120px;color:var(--text-h);font-weight:600}.form-field input,.form-field select{flex:auto}.affiliate-section{border:1px solid var(--border);border-radius:10px;gap:10px;padding:12px;display:grid}.affiliate-section-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.affiliate-section-header label{color:var(--text-h);font-size:14px;font-weight:600}.affiliate-row{border:1px solid var(--border);border-radius:10px;gap:10px;padding:10px;display:grid}.affiliate-row-grid{flex-wrap:nowrap;gap:12px;display:flex;overflow-x:auto}.affiliate-row-actions{justify-content:flex-end;display:flex}button.secondary{border:1px solid var(--border);color:var(--text-h);font:inherit;cursor:pointer;background:0 0;border-radius:8px;padding:6px 12px}.primary{background:var(--accent);color:#fff;font:inherit;cursor:pointer;border:0;border-radius:8px;padding:7px 14px;font-weight:600}.list-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.toolbar-actions{flex-wrap:wrap;gap:8px;display:flex}table{border-collapse:collapse;width:100%;font-size:14px}.table-wrap{width:100%;overflow-x:auto}th,td{border-bottom:1px solid var(--border);text-align:left;padding:8px 6px}td.actions{flex-wrap:wrap;gap:6px;display:flex}td.truncate{white-space:nowrap;text-overflow:ellipsis;max-width:280px;overflow:hidden}.modal-backdrop{z-index:999;background:#0b07128c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--border);background:var(--bg);border-radius:14px;width:min(100%,560px);max-height:calc(100svh - 40px);padding:16px;overflow:auto;box-shadow:0 30px 70px #00000059}.inline-form-card{border:1px solid var(--border);background:color-mix(in srgb, var(--bg), #fff 14%);border-radius:14px;padding:16px;box-shadow:0 10px 24px #0000000d}.modal-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.modal-header h3{color:var(--text-h);margin:0}.icon-button{border:1px solid var(--border);width:34px;height:34px;color:var(--text-h);cursor:pointer;background:0 0;border-radius:999px;font-size:22px;line-height:1}.modal-form{gap:8px;display:grid}.modal-form label{color:var(--text-h);font-size:14px}.field-help{color:var(--text);margin:-2px 0 2px;font-size:12px}.modal-form input,.modal-form select{border:1px solid var(--border);height:40px;font:inherit;color:var(--text-h);background:var(--bg);border-radius:8px;padding:0 10px}.modal-form textarea{border:1px solid var(--border);font:inherit;color:var(--text-h);background:var(--bg);resize:vertical;border-radius:8px;min-height:120px;padding:10px}.modal-form input[type=file]{height:auto;padding:8px 10px}@media (width<=1024px){.main-page{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--border)}.list-header{flex-direction:column;align-items:flex-start}}
