:root{--bg: #0b0d14;--surface: #121622;--surface-2: #171c2a;--surface-3: #1d2333;--border: #282f42;--text: #edf0fa;--muted: #929bb1;--accent: #8978ff;--accent-hover: #7461f0;--green: #49d6a0;--red: #ff7788}html{scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text)}.app-shell{width:100%;min-height:100vh;background:radial-gradient(ellipse at 75% 0%,#4b3a8b12,transparent 40%),var(--bg)}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:250px;padding:29px 18px 20px;display:flex;flex-direction:column;background:#10131d;border-right:1px solid var(--border)}.brand{display:flex;align-items:center;gap:11px;padding:0 7px;color:var(--text);font-size:22px;font-weight:800;letter-spacing:-.8px;text-decoration:none}.brand-mark{width:41px;height:41px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:linear-gradient(135deg,#a092ff,#6551e9);color:#fff;font-size:25px;box-shadow:0 5px 22px #7160ef35}.brand-dot{color:var(--accent)}.nav-label{margin:47px 10px 15px;color:#727c95;font-size:10px;font-weight:700;letter-spacing:1.8px}.nav-item{display:flex;align-items:center;gap:12px;min-height:47px;margin-bottom:7px;padding:0 13px;border:1px solid transparent;border-radius:10px;color:#a0a9bf;font-size:13px;text-decoration:none;transition:.2s ease}.nav-item:hover{background:#1b2030;color:#fff}.nav-item.active{background:#25213e;border-color:#39315e;color:#c3baff}.nav-icon{width:21px;text-align:center;font-size:19px}.nav-count{margin-left:auto;padding:4px 8px;border-radius:6px;background:#35304f;color:#d3ccff;font-size:11px}.sidebar-bottom{margin-top:auto}.help-card{padding:18px 15px;border:1px solid #2e3047;border-radius:13px;background:linear-gradient(140deg,#201e35,#171b29)}.help-symbol{margin-bottom:12px;color:#a89aff;font-size:23px}.help-card strong{display:block;font-size:12px}.help-card p{margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.7}.main-area{min-width:0;min-height:100vh;margin-left:250px}.topbar{position:sticky;top:0;z-index:10;height:72px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--border);background:#0d1019ed;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.breadcrumb{color:#b6bfd2;font-size:12px;font-weight:500}.online-label{display:flex;align-items:center;gap:9px;color:#929bb1;font-size:12px}.online-label:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 12px #49d6a044}.page-content{width:100%;max-width:1600px;margin:0 auto;padding:43px 5% 32px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:30px}.eyebrow{margin:0 0 12px;color:var(--accent);font-size:10px;font-weight:800;letter-spacing:2px}h1,h2,h3,p{margin-top:0}h1{margin-bottom:12px;color:#f4f3ff;font-size:clamp(29px,3vw,43px);font-weight:800;line-height:1.2;letter-spacing:-1.7px}h1>span{color:var(--accent)}.page-subtitle{max-width:650px;margin-bottom:0;color:var(--muted);font-size:13px;line-height:1.8}.primary-button,.secondary-button{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 18px;border:1px solid transparent;border-radius:9px;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}.primary-button{background:var(--accent);color:#fff;box-shadow:0 5px 20px #8978ff19}.primary-button:hover{background:var(--accent-hover);transform:translateY(-1px)}.secondary-button{background:#191e2b;border-color:var(--border);color:#c3cadd}.secondary-button:hover{background:#22283a}.heading-button{flex-shrink:0}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:25px}.stat-card{min-width:0;padding:22px;background:linear-gradient(145deg,#161b29,#121622);border:1px solid var(--border);border-radius:14px;transition:border-color .2s,transform .2s}.stat-card:hover{border-color:#484064;transform:translateY(-2px)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#a0a9bf;font-size:12px;font-weight:600}.stat-icon{width:37px;height:37px;display:grid;place-items:center;flex-shrink:0;border-radius:11px;font-size:18px}.stat-icon.purple{color:#b4a9ff;background:#31294e}.stat-icon.green{color:#68e2b4;background:#19392f}.stat-icon.orange{color:#ffb779;background:#3c2d25}.stat-value{margin:17px 0 6px;color:#fff;font-size:32px;font-weight:800;letter-spacing:-1px}.stat-note{margin-bottom:0;color:#818ba3;font-size:11px}.panel{min-width:0;margin-bottom:25px;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:15px;box-shadow:0 12px 40px #0000000a}.form-panel{padding:29px}.panel-heading,.heading-left{display:flex;align-items:center}.panel-heading{justify-content:space-between;gap:15px;margin-bottom:28px}.heading-left{gap:14px}.panel-icon{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;border:1px solid #39325d;border-radius:12px;background:#25203c;color:#b6aaff;font-size:24px}.panel-heading h2,.contacts-heading h2{margin-bottom:7px;color:#f1f2fa;font-size:17px;font-weight:750;letter-spacing:-.3px}.panel-heading p,.contacts-heading p{margin-bottom:0;color:var(--muted);font-size:12px;line-height:1.6}.required-note{color:#8993aa;font-size:11px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 25px}.field{min-width:0;display:flex;flex-direction:column;gap:10px;color:#cbd1e2;font-size:12px;font-weight:600}.field>span b{color:#ff8e9d}.field input,.field textarea,.field select{width:100%;min-width:0;min-height:47px;padding:13px 14px;border:1px solid #30374b;border-radius:9px;outline:none;background:#0e121c;color:#f0f1fa;font-size:12px;font-weight:400;transition:border-color .2s,box-shadow .2s,background .2s}.field textarea{min-height:105px;resize:vertical;line-height:1.7}.field input::placeholder,.field textarea::placeholder{color:#6e7890}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8978ff;background:#111522;box-shadow:0 0 0 3px #8978ff19}.full-width{grid-column:1 / -1}.field input[type=file]{cursor:pointer}.field input[type=file]::file-selector-button{margin-right:12px;padding:6px 12px;border:1px solid #30374b;border-radius:7px;background:#1a2030;color:#f0f1fa;cursor:pointer}.field-hint{color:#6e7890;font-size:11px}.attachment-links{display:flex;flex-direction:column;gap:4px}.attachment-links a,.attachment-list a{max-width:180px;overflow:hidden;color:#a99cff;font-size:11px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.attachment-list a{max-width:none;font-size:12px}.attachment-links a:hover,.attachment-list a:hover{text-decoration:underline}.attachment-list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.attachment-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border:1px solid #30374b;border-radius:8px;background:#0e121c}.attachment-list button{border:0;background:none;color:#ff7a8a;font-size:11px;cursor:pointer}.primary-button:disabled{opacity:.6;cursor:not-allowed}.form-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-top:27px;padding-top:22px;border-top:1px solid var(--border)}.form-footer>p{margin:0;color:#858fa6;font-size:11px;line-height:1.6}.form-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.notice{display:flex;align-items:center;gap:10px;margin-bottom:22px;padding:13px 15px;border:1px solid #285643;border-radius:9px;background:#142a22;color:#78e0b3;font-size:12px}.notice button{margin-left:auto;border:0;background:transparent;color:inherit;font-size:20px;cursor:pointer}.contacts-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:25px 27px 20px}.total-pill{padding:7px 11px;border:1px solid #3b345d;border-radius:7px;background:#25203d;color:#c2b9ff;font-size:11px;white-space:nowrap}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:0 27px 20px}.search-box{width:min(100%,400px);min-height:42px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #30374b;border-radius:9px;background:#0e121c}.search-box>span{color:#929bb1;font-size:23px}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:12px}.search-box input::placeholder{color:#717b92}.search-box button{border:0;background:transparent;color:var(--muted);font-size:19px}.table-scroll{width:100%;overflow-x:auto}.contacts-table{width:100%;border-collapse:collapse;text-align:left}.contacts-table th{padding:15px 17px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#171c29;color:#8792aa;font-size:10px;font-weight:700;letter-spacing:1px;white-space:nowrap}.contacts-table th:first-child,.contacts-table td:first-child{padding-left:27px}.contacts-table td{padding:17px;border-bottom:1px solid #252b3b;color:#b9c1d4;font-size:12px;white-space:nowrap}.contacts-table tbody tr{transition:background .2s}.contacts-table tbody tr:hover{background:#191e2b}.contact-cell{display:flex;align-items:center;gap:12px}.contact-avatar{width:39px;height:39px;display:grid;place-items:center;flex-shrink:0;border:1px solid #40386c;border-radius:11px;background:#2a2446;color:#c3baff;font-size:14px;font-weight:700}.contact-details strong,.contact-details span{display:block}.contact-details strong{margin-bottom:5px;color:#edf0fa;font-size:12px}.contact-details span{color:#8d97ad;font-size:11px}.status-pill{display:inline-flex;align-items:center;padding:6px 9px;border:1px solid #285744;border-radius:6px;background:#173126;color:#6fe0b0;font-size:10px}.action-group{display:flex;gap:7px}.edit-action,.delete-action{padding:7px 10px;border:1px solid #363c50;border-radius:7px;background:#1b2030;color:#c7cde0;font-size:11px}.edit-action:hover{border-color:#6555df;color:#c3baff}.delete-action{border-color:#4a2c3a;background:#281923;color:#ff98a6}.delete-action:hover{background:#40202d}.empty-state{padding:55px 20px;text-align:center;white-space:normal}.empty-illustration{width:55px;height:55px;display:grid;place-items:center;margin:0 auto 17px;border:1px solid #3b345d;border-radius:15px;background:#25203d;color:#b8acff;font-size:26px}.empty-state h3{margin-bottom:8px;color:#eef0fa;font-size:15px}.empty-state p{margin-bottom:18px;color:var(--muted);font-size:12px}.text-button{border:0;background:transparent;color:#b8acff;font-size:12px;cursor:pointer}.table-footer{padding:17px 27px;border-top:1px solid var(--border);color:#8792aa;font-size:11px}.edit-form{margin:0 27px 22px;padding:20px;border:1px solid #393253;border-radius:12px;background:#171725}.edit-form h3{margin-bottom:18px;font-size:15px}.edit-form .form-actions{margin-top:20px}.bottom-link{margin:22px 0;color:var(--muted);text-align:center;font-size:12px}.bottom-link a{margin-left:5px;color:#b7aaff;font-weight:700;text-decoration:none}.bottom-link a:hover{text-decoration:underline}@media (max-width: 1100px){.sidebar{width:220px}.main-area{margin-left:220px}.page-content,.topbar{padding-right:28px;padding-left:28px}.stats-grid{gap:12px}.stat-card{padding:17px}.form-panel{padding:23px}}@media (max-width: 700px){html,body,#root{width:100%;min-width:320px}.sidebar{position:relative;inset:auto;width:100%;padding:15px 14px 10px;border-right:0;border-bottom:1px solid var(--border)}.brand{margin-bottom:17px;padding:0 3px;font-size:20px}.brand-mark{width:35px;height:35px;font-size:22px}.nav-label,.sidebar-bottom{display:none}.sidebar .nav-item{display:inline-flex;width:auto;min-height:39px;margin:0 5px 0 0;padding:0 10px;font-size:11px}.nav-icon{font-size:16px}.main-area{width:100%;min-width:0;margin-left:0}.topbar{position:static;height:54px;padding:0 17px}.breadcrumb,.online-label{font-size:10px}.page-content{width:100%;padding:28px 14px 22px}.page-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:22px}h1{font-size:clamp(27px,7vw,35px);letter-spacing:-1px}.page-subtitle{font-size:12px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:17px}.stat-card{padding:15px;border-radius:11px}.stat-top{font-size:10px}.stat-icon{width:30px;height:30px}.stat-value{margin:12px 0 5px;font-size:27px}.stat-note{font-size:10px;line-height:1.5}.panel{margin-bottom:17px;border-radius:12px}.form-panel{padding:19px 15px}.panel-heading{align-items:flex-start;margin-bottom:22px}.panel-icon{width:37px;height:37px}.panel-heading h2,.contacts-heading h2{font-size:15px}.panel-heading p,.contacts-heading p{font-size:11px}.required-note{max-width:95px;font-size:10px;text-align:right}.form-grid{grid-template-columns:minmax(0,1fr);gap:18px}.full-width{grid-column:auto}.field{font-size:12px}.field input,.field textarea{min-height:45px;font-size:13px}.form-footer{align-items:stretch;flex-direction:column;gap:15px;margin-top:22px;padding-top:18px}.form-footer>p{font-size:10px}.form-actions{width:100%}.form-actions button{flex:1}.contacts-heading{align-items:flex-start;padding:19px 15px}.total-pill{font-size:10px}.table-toolbar{padding:0 15px 17px}.search-box{width:100%;min-width:0}.contacts-table{min-width:720px}.contacts-table th:first-child,.contacts-table td:first-child{padding-left:15px}.contacts-table th,.contacts-table td{padding:14px 12px}.table-footer{padding:15px}.edit-form{margin:0 12px 18px;padding:15px}}@media (max-width: 380px){.page-content{padding-right:10px;padding-left:10px}.sidebar{padding-right:9px;padding-left:9px}.sidebar .nav-item{gap:6px;padding:0 7px;font-size:10px}.stat-card{padding:12px}.form-actions{gap:7px}.form-actions button{padding:0 10px;font-size:11px}}:root{font-family:Inter,Segoe UI,sans-serif;color:#edf0fa;background:#0b0d14;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto}*{box-sizing:border-box}html{min-width:320px;min-height:100%;scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;width:100%;background:#0b0d14}body,#root{width:100%;min-height:100vh}#root{margin:0;max-width:none;text-align:left}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #8a7cff;outline-offset:3px}::selection{color:#fff;background:#6555df}
