:root{--bg:#f4f4f5;--surface:#fff;--surface-2:#f4f4f5;--surface-3:#f0f0f3;--hover:#fafafb;--text:#18181b;--text-2:#3f3f46;--muted:#5b5b66;--border:#e4e4e7;--border-soft:#f0f0f2;--primary:#0b63d6;--primary-hover:#084ba3;--primary-ink:#fff;--primary-soft:#e6f0fe;--primary-soft-ink:#0b4fb0;--success:#13803f;--success-ink:#fff;--shadow:0 0 0 1px #18181b0f, 0 1px 3px #18181b0f;--shadow-lg:0 0 0 1px #18181b0f, 0 8px 30px #18181b1f;--c-green-bg:#e3f7ea;--c-green:#116632;--c-amber-bg:#fef3d7;--c-amber:#8a5300;--c-red-bg:#fde4e6;--c-red:#b4152b;--c-blue-bg:#e3eefd;--c-blue:#0b4fb0;--c-slate-bg:#e6ecf3;--c-slate:#3f5670;--c-gray-bg:#ededef;--c-gray:#52525b;--c-orange-bg:#ffe8d9;--c-orange:#a2410a;--c-purple-bg:#eee7fb;--c-purple:#5b2da8;--c-dark-bg:#3f3f46;--c-dark:#fff;--font:Inter, "IBM Plex Sans Arabic", system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0f0f12;--surface:#18181c;--surface-2:#232328;--surface-3:#2a2a30;--hover:#1e1e23;--text:#f4f4f5;--text-2:#d4d4d8;--muted:#a1a1ab;--border:#33333a;--border-soft:#26262c;--primary:#4b92f0;--primary-hover:#7bb0f5;--primary-ink:#08111f;--primary-soft:#14284a;--primary-soft-ink:#a9cbfa;--success:#3fb56f;--success-ink:#08111f;--shadow:0 0 0 1px #ffffff12;--shadow-lg:0 0 0 1px #ffffff17, 0 8px 30px #00000080;--c-green-bg:#12301f;--c-green:#7fdaa0;--c-amber-bg:#3a2c0a;--c-amber:#f3c765;--c-red-bg:#3d1119;--c-red:#ff9aa6;--c-blue-bg:#14284a;--c-blue:#a9cbfa;--c-slate-bg:#222c38;--c-slate:#a9bdd3;--c-gray-bg:#2c2c32;--c-gray:#c1c1ca;--c-orange-bg:#3d2111;--c-orange:#ffb98c;--c-purple-bg:#2a1d47;--c-purple:#c9aef5;--c-dark-bg:#52525b;--c-dark:#fff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[lang=ar]{--font:"IBM Plex Sans Arabic", Inter, system-ui, sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0;font-size:14px;line-height:1.45}a{color:var(--primary);text-decoration:none}a:hover{color:var(--primary-hover)}h1,h2,h3,p{margin:0}button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mut{color:var(--muted)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.num{font-variant-numeric:tabular-nums}.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}.shell{flex-wrap:wrap;min-height:100vh;display:flex}.side{background:var(--surface);border-inline-end:1px solid var(--border);flex-direction:column;flex:none;width:248px;height:100vh;display:flex;position:sticky;top:0}.side-brand{border-bottom:1px solid var(--border-soft);align-items:center;gap:10px;height:64px;padding:0 20px;display:flex}.logo{background:var(--primary);width:34px;height:34px;color:var(--primary-ink);border-radius:10px;justify-content:center;align-items:center;font-family:IBM Plex Sans Arabic,sans-serif;font-size:18px;font-weight:700;display:flex}.side-nav{flex-direction:column;flex:1;gap:2px;padding:12px;display:flex;overflow-y:auto}.nav-sec{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:16px 12px 6px;font-size:11px;font-weight:600}.nav{height:40px;color:var(--text-2);border-radius:12px;align-items:center;gap:12px;padding:0 12px;font-weight:500;transition:background .15s;display:flex}.nav:hover{background:var(--surface-2);color:var(--text-2)}.nav.on{background:var(--primary-soft);color:var(--primary-soft-ink);font-weight:600}.nav .grow{flex:1}.badge{border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;padding:0 7px;font-size:12px;font-weight:600;display:inline-flex}.main-col{flex-direction:column;flex:999 560px;min-width:0;display:flex}.top{background:var(--surface);border-bottom:1px solid var(--border);z-index:20;align-items:center;gap:16px;height:64px;padding:0 24px;display:flex;position:sticky;top:0}.env{letter-spacing:.04em;text-transform:uppercase;border-radius:8px;align-items:center;height:26px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.env.staging{color:#713f00;background:#fde68a}.env.production{color:#fff;background:#c81e3a}.env.dev{background:var(--c-gray-bg);color:var(--c-gray)}.gsearch{background:var(--surface-2);max-width:520px;height:40px;color:var(--muted);border-radius:12px;flex:1;align-items:center;gap:10px;padding:0 12px;display:flex}.gsearch input{min-width:0;color:var(--text);background:0 0;border:0;outline:none;flex:1}.seg{background:var(--surface-2);border-radius:12px;gap:2px;padding:3px;display:flex}.seg button{height:32px;color:var(--c-gray);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 12px;font-size:13px;font-weight:500}.seg button[aria-pressed=true]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #0000001f}.page{flex-direction:column;gap:16px;padding:28px 32px 48px;display:flex}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.page-head>.stack{min-width:0}.page-head h1{overflow-wrap:anywhere;letter-spacing:-.01em;font-size:26px;font-weight:700}.menu{inset-inline-end:0;background:var(--surface);min-width:220px;box-shadow:var(--shadow-lg);z-index:30;border-radius:14px;padding:6px;position:absolute;top:calc(100% + 6px)}.menu button{cursor:pointer;text-align:start;width:100%;height:38px;color:var(--text);background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:0 12px;display:flex}.menu button:hover{background:var(--surface-2)}.card{background:var(--surface);box-shadow:var(--shadow);border-radius:16px}.pad{padding:16px}.stack{flex-direction:column;gap:12px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.grow{flex:1}.btn{cursor:pointer;white-space:nowrap;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 14px;font-weight:500;text-decoration:none;transition:filter .1s;display:inline-flex}.btn:disabled{opacity:.5;cursor:not-allowed}.btn:not(:disabled):hover{filter:brightness(.96)}.btn.sm{border-radius:10px;height:32px;padding:0 12px;font-size:13px}.b-primary{background:var(--primary);color:var(--primary-ink)}.b-primary:hover{color:var(--primary-ink)}.b-success{background:var(--success);color:var(--success-ink)}.b-flat{background:var(--surface-3);color:var(--text-2)}.b-ghost{background:var(--surface);color:var(--text-2);box-shadow:inset 0 0 0 1.5px var(--border)}.b-link{color:var(--primary);background:0 0}.b-am{background:var(--c-amber-bg);color:var(--c-amber)}.b-or{background:var(--c-orange-bg);color:var(--c-orange)}.b-dsoft{background:var(--c-red-bg);color:var(--c-red)}.b-danger{color:#fff;background:#c81e3a}.ib{width:32px;height:32px;color:var(--c-gray);cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;padding:0;display:inline-flex}.ib:hover{background:var(--surface-3)}.ib:disabled{opacity:.4;cursor:not-allowed}.ib.on{background:var(--primary);color:var(--primary-ink);font-weight:600}.chip{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;height:24px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.chip:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.chip.nodot:before{display:none}.t-green{background:var(--c-green-bg);color:var(--c-green)}.t-amber{background:var(--c-amber-bg);color:var(--c-amber)}.t-red{background:var(--c-red-bg);color:var(--c-red)}.t-blue{background:var(--c-blue-bg);color:var(--c-blue)}.t-slate{background:var(--c-slate-bg);color:var(--c-slate)}.t-gray{background:var(--c-gray-bg);color:var(--c-gray)}.t-orange{background:var(--c-orange-bg);color:var(--c-orange)}.t-purple{background:var(--c-purple-bg);color:var(--c-purple)}.t-dark{background:var(--c-dark-bg);color:var(--c-dark)}.field{flex-direction:column;gap:6px;font-size:13px;font-weight:500;display:flex}.input,.select,.textarea{background:var(--surface-2);height:40px;color:var(--text);border:0;border-radius:12px;outline:none;width:100%;padding:0 12px}.textarea{resize:vertical;height:auto;min-height:88px;padding:10px 12px}.input:focus,.select:focus,.textarea:focus{box-shadow:0 0 0 2px var(--primary)}.input.invalid,.textarea.invalid{box-shadow:0 0 0 2px #c81e3a}.hint{color:var(--muted);font-size:12px;font-weight:400}.err{color:var(--c-red);font-size:12px;font-weight:500}.search{background:var(--surface-2);max-width:340px;height:36px;color:var(--muted);border-radius:10px;flex:260px;align-items:center;gap:8px;padding:0 12px;display:flex}.search input{min-width:0;color:var(--text);background:0 0;border:0;outline:none;flex:1}.fl{background:var(--surface);height:36px;box-shadow:inset 0 0 0 1px var(--border);color:var(--text-2);cursor:pointer;white-space:nowrap;border:0;border-radius:10px;align-items:center;gap:8px;padding:0 12px;font-size:13px;display:inline-flex}select.fl{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-inline-end:30px}:root[dir=rtl] select.fl{background-position:10px}.tbl-wrap{overflow-x:auto}.tbl{border-collapse:separate;border-spacing:0;width:100%}.tbl th{text-align:start;color:var(--c-gray);background:var(--surface-2);white-space:nowrap;height:40px;padding:0 10px;font-size:12px;font-weight:600}.tbl th:first-child{border-start-start-radius:12px;border-end-start-radius:12px}.tbl th:last-child{border-start-end-radius:12px;border-end-end-radius:12px}.tbl td{border-bottom:1px solid var(--border-soft);vertical-align:middle;color:var(--text-2);white-space:nowrap;padding:10px}.tbl tr:last-child td{border-bottom:0}.tbl tbody tr:hover td{background:var(--hover)}.tbl .strong{color:var(--text);font-weight:600}.tbl td.act,.tbl th.act{background:var(--surface);position:sticky;inset-inline-end:0;box-shadow:-8px 0 8px -8px #00000026}:root[dir=rtl] .tbl td.act,:root[dir=rtl] .tbl th.act{box-shadow:8px 0 8px -8px #00000026}.tbl th.act{background:var(--surface-2)}.tbl tbody tr:hover td.act{background:var(--hover)}.ell{text-overflow:ellipsis;vertical-align:bottom;max-width:175px;display:inline-block;overflow:hidden}.thumb{background:var(--surface-3) center / cover no-repeat;border-radius:10px;flex:none;width:44px;height:44px;display:block}.avatar{background:var(--primary-soft);width:36px;height:36px;color:var(--primary-soft-ink);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:13px;font-weight:600;display:flex}.pager{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.pager nav{gap:4px;display:flex}.kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}@media (width>=1240px){.kpis{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (width<=600px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.kpi{color:inherit;flex-direction:column;gap:6px;padding:16px;display:flex}a.kpi:hover{color:inherit;box-shadow:var(--shadow-lg)}.kpi .v{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:700}.grid2{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px;display:grid}.bar-row{grid-template-columns:minmax(80px,160px) 1fr 56px;align-items:center;gap:10px;font-size:13px;display:grid}.bar{background:var(--surface-3);border-radius:99px;height:8px;overflow:hidden}.bar>i{background:var(--primary);border-radius:99px;height:100%;display:block}.h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:12px;font-weight:600}.banner{border-radius:12px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:13px;line-height:1.45;display:flex}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:6px;padding:48px 16px;display:flex}.empty strong{color:var(--text);font-size:15px}.skel{background:linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3));background-size:200% 100%;border-radius:8px;height:16px;animation:1.3s linear infinite sh}@keyframes sh{to{background-position:-200% 0}}.tabs{background:var(--surface-3);border-radius:12px;gap:4px;padding:4px;display:flex}.tabs button{height:32px;color:var(--c-gray);cursor:pointer;background:0 0;border:0;border-radius:10px;padding:0 12px;font-size:13px}.tabs button[aria-selected=true]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #0000001f}.detail-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:16px;display:grid}.photos{flex-wrap:wrap;gap:8px;display:flex}.photos button{cursor:zoom-in;background:0 0;border:0;padding:0}.photos img{object-fit:cover;background:var(--surface-3);border-radius:12px;width:120px;height:120px;display:block}dl.kv{grid-template-columns:max-content 1fr;gap:8px 16px;margin:0;display:grid}dl.kv dt{color:var(--muted)}dl.kv dd{color:var(--text);overflow-wrap:anywhere;min-width:0;margin:0}dl.kv.kv-tight{gap:2px 10px;font-size:13px}ul.plain-list{margin:0;padding-inline-start:18px}.tree-row{border-bottom:1px solid var(--border-soft);align-items:center;gap:8px;min-height:44px;padding:4px 12px;display:flex}.tree-row:hover{background:var(--hover)}.scrim{z-index:50;background:#09090b80;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{background:var(--surface);width:100%;max-width:480px;max-height:90vh;box-shadow:var(--shadow-lg);border-radius:20px;flex-direction:column;gap:16px;padding:24px;display:flex;overflow:auto}.dialog.wide{max-width:640px}.dialog h2{font-size:18px;font-weight:700}.dialog .actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.drawer-scrim{justify-content:flex-end;align-items:stretch;padding:0}.drawer{background:var(--surface);width:100%;max-width:560px;box-shadow:var(--shadow-lg);flex-direction:column;display:flex}.drawer-head{border-bottom:1px solid var(--border-soft);flex-direction:column;gap:10px;padding:18px 20px;display:flex}.drawer-body{flex-direction:column;flex:1;gap:20px;padding:20px;display:flex;overflow-y:auto}.toasts{z-index:60;flex-direction:column;gap:8px;width:min(420px,100vw - 32px);display:flex;position:fixed;inset-block-end:20px;inset-inline-start:50%;transform:translate(-50%)}:root[dir=rtl] .toasts{transform:translate(50%)}.toast{color:#fff;box-shadow:var(--shadow-lg);background:#18181b;border-radius:14px;padding:12px 16px;font-size:14px}.toast.error{background:#8f1022}.toast.success{background:#0e5e2e}.login{background:var(--bg);flex-wrap:wrap;min-height:100vh;display:flex}.login-l{flex:520px;justify-content:center;align-items:center;padding:48px 24px;display:flex}.login-r{color:#fff;background:#0b63d6;flex-direction:column;flex:480px;justify-content:flex-end;gap:16px;min-height:420px;padding:56px;display:flex}.otp{direction:ltr;justify-content:space-between;gap:8px;display:flex}.otp input{background:var(--surface-2);text-align:center;border:0;border-radius:12px;outline:none;width:52px;height:56px;font-size:22px;font-weight:600}.otp input:focus{box-shadow:0 0 0 2px var(--primary)}@media (width<=960px){.side{width:100%;height:auto;position:static}.side-nav{flex-flow:wrap}.nav-sec{display:none}.page{padding:20px 16px 40px}.top{flex-wrap:wrap;gap:8px;height:auto;min-height:64px;padding:0 12px}.login-r{display:none}.detail-grid{grid-template-columns:minmax(0,1fr)}}.form-2{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 16px;display:grid}.check{align-items:center;gap:8px;min-height:32px;font-size:13px;display:inline-flex}.pick-row{background:var(--surface-2);color:var(--text);text-align:start;cursor:pointer;border:0;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.pick-row:hover{background:var(--hover)}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;display:grid}.photo-tile{aspect-ratio:1;background:var(--surface-3);border-radius:12px;margin:0;position:relative;overflow:hidden}.photo-tile img{object-fit:cover;width:100%;height:100%;display:block}.photo-tile .cover{background:var(--surface);color:var(--text);border-radius:999px;padding:2px 8px;font-size:11px;position:absolute;inset-block-start:6px;inset-inline-start:6px}.photo-tools{background:color-mix(in srgb, var(--surface) 85%, transparent);justify-content:center;gap:4px;padding:4px;display:flex;position:absolute;inset-block-end:0;inset-inline:0}.photo-tile.add{border:2px dashed var(--border);color:var(--muted);cursor:pointer;background:0 0;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:13px;display:flex}.msg-grid{grid-template-columns:minmax(240px,340px) 1fr;gap:16px;min-height:calc(100vh - 200px);display:grid}@media (width<=860px){.msg-grid{grid-template-columns:1fr}}.msg-list{flex-direction:column;display:flex;overflow:hidden}.msg-items{margin:0;padding:0 8px 8px;list-style:none;overflow-y:auto}.msg-item{color:var(--text);border-radius:12px;align-items:center;gap:10px;padding:10px;text-decoration:none;display:flex}.msg-item:hover{background:var(--hover)}.msg-item.on{background:var(--primary-soft,var(--surface-2))}.msg-thread{min-height:420px;display:flex;overflow:hidden}.msg-thread>.empty{margin:auto}.msg-thread-in{flex-direction:column;flex:1;min-width:0;display:flex}.msg-head{border-bottom:1px solid var(--border-soft);align-items:center;gap:10px;padding:12px 16px;display:flex}.msg-scroll{flex-direction:column;flex:1;gap:8px;max-height:calc(100vh - 330px);padding:16px;display:flex;overflow-y:auto}.bubble-row{justify-content:flex-start;display:flex}.bubble-row.mine{justify-content:flex-end}.bubble{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:4px;max-width:min(520px,80%);padding:8px 12px;display:flex}.bubble.staff{background:color-mix(in srgb, var(--primary) 16%, var(--surface))}.bubble.reported{background:var(--c-red-bg);box-shadow:inset 0 0 0 2px var(--c-red)}.ctx-msgs{background:var(--surface-2);border-radius:12px;gap:8px;margin:0;padding:12px;list-style:none}.ctx-msgs .bubble{background:var(--surface)}.ctx-msgs .bubble.reported{background:var(--c-red-bg)}.bubble-who{align-items:center;gap:6px;font-size:12px;display:flex}.bubble-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.5}.bubble-photo{border-radius:10px;max-width:220px;display:block}.bubble-meta{color:var(--muted);align-self:flex-end;font-size:11px}.msg-compose{border-top:1px solid var(--border-soft);align-items:flex-end;gap:8px;padding:12px 16px;display:flex}.ib.ib-b-success{color:var(--c-green)}.ib.ib-b-or{color:var(--c-orange)}.ib.ib-b-dsoft{color:var(--c-red)}.ib.ib-b-am{color:var(--c-amber)}.ib.ib-b-flat{color:var(--text-2)}.row-actions{flex-wrap:nowrap;align-items:center;gap:2px;display:flex}.ell.ell-sm{max-width:110px}.search-results{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;display:grid}
