:root,[data-theme=light]{--bg:#f5f7fb;--surface:#fff;--surface-2:#f3f5f9;--border:#e7eaf0;--border-strong:#d0d5dd;--text:#101828;--text-2:#475467;--text-3:#667085;--accent:#4f46e5;--accent-hover:#4338ca;--accent-soft:#eef2ff;--on-accent:#fff;--success:#067647;--success-soft:#ecfdf3;--warning:#b54708;--warning-soft:#fffaeb;--danger:#d92d20;--danger-soft:#fef3f2;--info:#0e7490;--info-soft:#ecfeff;--shadow-card:0 1px 2px #1018280d, 0 1px 3px #1018280a;--shadow-menu:0 4px 12px #1018281a;--shadow-layer:0 16px 40px #1018282e;--scrim:#10182852;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--bg:#0e1116;--surface:#161a22;--surface-2:#1e2430;--border:#262d3a;--border-strong:#364052;--text:#eceff4;--text-2:#a9b2c3;--text-3:#8892a6;--accent:#8b87f5;--accent-hover:#a5a2f8;--accent-soft:#23234a;--on-accent:#0e1116;--success:#47cd89;--success-soft:#0f2e21;--warning:#fdb022;--warning-soft:#33260c;--danger:#f97066;--danger-soft:#3a1715;--info:#2ce;--info-soft:#0b2a33;--shadow-card:0 1px 2px #0000004d;--shadow-menu:0 4px 12px #00000059;--shadow-layer:0 16px 40px #00000073;--scrim:#00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body{margin:0}body.mf{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font:400 14px/22px Inter,IBM Plex Sans Arabic,system-ui,sans-serif}.mf ::selection{background:var(--accent-soft);color:var(--text)}.mf :focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.mf button,.mf input,.mf select,.mf textarea{font:inherit;color:inherit}.mf h1,.mf h2,.mf h3,.mf p{margin:0}.mf a{color:var(--accent);text-underline-offset:3px}.mf a.nav-item,.mf a.btn{text-decoration:none}.mf a.btn-secondary{color:var(--text)}.mf a.btn-ghost{color:var(--text-2)}.mf *{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.num{font-variant-numeric:tabular-nums}.ltr{direction:ltr;unicode-bidi:isolate}.muted{color:var(--text-2)}.meta{color:var(--text-3);font-size:12px;line-height:16px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.mf *{transition:none!important;animation:none!important}}.shell{grid-template-columns:auto 1fr;min-height:100vh;display:grid}.side{background:var(--surface);border-inline-end:1px solid var(--border);flex-direction:column;width:240px;height:100vh;transition:width .18s ease-out;display:flex;position:sticky;top:0}.side.collapsed{width:64px}.side-head{border-bottom:1px solid var(--border);align-items:center;gap:10px;height:56px;padding-inline:16px;display:flex}.side-head b{white-space:nowrap;font-size:15px;font-weight:600}.side nav{flex:1;padding:8px;overflow-y:auto}.nav-item{width:100%;min-height:38px;color:var(--text-2);text-align:start;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:12px;padding:8px 12px;display:flex}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item svg{flex:none}.nav-item .count{margin-inline-start:auto}.side.collapsed .nav-label,.side.collapsed .count,.side.collapsed .side-head b{display:none}.side-foot{border-top:1px solid var(--border);padding:8px}.main{flex-direction:column;min-width:0;display:flex}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:20;align-items:center;gap:12px;height:56px;padding-inline:24px;display:flex;position:sticky;top:0}.crumbs{min-width:0;color:var(--text-3);align-items:center;gap:6px;font-size:13px;display:flex}.crumbs strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:600;overflow:hidden}[dir=rtl] .flip,[dir=ltr] .flip-prev svg,[dir=ltr] .flip-next svg,[dir=ltr] .flip-crumb{transform:scaleX(-1)}.mobile-only{display:none!important}@media (width<=1023px){.mobile-only{display:inline-flex!important}}.search{width:min(340px,40vw);margin-inline-start:auto;position:relative}.search input{border:1px solid var(--border-strong);background:var(--bg);border-radius:6px;width:100%;height:36px;padding-inline:36px 12px}.search svg{inset-inline-start:10px;color:var(--text-3);position:absolute;top:9px}.page{flex-direction:column;gap:24px;padding:24px;display:flex}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.page-head h1{font-size:20px;font-weight:600;line-height:28px}.demo-flag{color:var(--warning);background:var(--warning-soft);border-radius:999px;align-items:center;gap:6px;padding:2px 10px;font-size:12px;display:inline-flex}.scrim{background:var(--scrim);z-index:40;position:fixed;inset:0}@media (width<=1023px){.side{z-index:50;width:264px;box-shadow:var(--shadow-layer);transition:transform .18s ease-out;position:fixed;inset-block:0;inset-inline-start:0;transform:translate(-110%)}[dir=rtl] .side{transform:translate(110%)}.side.open{transform:none!important}.side.collapsed{width:264px}.side.collapsed .nav-label,.side.collapsed .count,.side.collapsed .side-head b{display:revert}.shell{grid-template-columns:1fr}}@media (width<=640px){.topbar{gap:8px;padding-inline:12px}.search{flex:1;width:auto}.page{gap:16px;padding:16px}.hide-sm{display:none!important}}.brand{background:var(--accent);width:32px;height:32px;color:var(--on-accent);letter-spacing:.02em;border-radius:9px;flex:none;place-items:center;font-size:13px;font-weight:600;display:grid}.avatar{background:var(--accent-soft);width:34px;height:34px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:600;display:grid}.side nav{flex-direction:column;gap:2px;padding:12px 10px;display:flex}.nav-item{border-radius:8px}.nav-item[aria-current=page]{background:var(--accent-soft);color:var(--accent);font-weight:600}.search input{background:var(--surface-2);border-color:#0000;border-radius:999px}.search input:focus{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.page-head h1{letter-spacing:-.01em;font-size:24px!important;line-height:32px!important}.kpis{gap:16px;background:0 0!important;border:0!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;overflow:visible!important}.kpi{background:var(--surface);box-shadow:var(--shadow-card);border-radius:14px;position:relative;border:1px solid var(--border)!important;margin:0!important;padding:18px!important}.kpi .value{letter-spacing:-.02em;margin-top:6px;font-size:30px!important;line-height:36px!important}.kpi .label{min-height:40px;padding-inline-end:48px}.kpi-ico{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:12px;place-items:center;display:grid;position:absolute;inset-block-start:16px;inset-inline-end:16px}.btn{border-radius:8px}.btn-primary{box-shadow:0 1px 2px #10182814}@media (width<=640px){.kpis{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.kpi{padding:14px!important}.kpi .value{font-size:22px!important;line-height:28px!important}.kpi .meta.src,.kpi .delta{display:none}.kpi-ico{border-radius:10px;width:32px;height:32px;inset-block-start:12px;inset-inline-end:12px}.kpi .label{min-height:32px;padding-inline-end:36px;font-size:12px;line-height:16px}}.panel{background:var(--surface);border:1px solid var(--border);min-width:0;box-shadow:var(--shadow-card);border-radius:14px;overflow:hidden}.panel-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.panel-head h2{font-size:16px;font-weight:600;line-height:24px}.panel-body{padding:16px}.grid{gap:16px;display:grid}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}@media (width<=1023px){.cols-2,.cols-3{grid-template-columns:1fr}}.cols-side{grid-template-columns:minmax(0,1fr) minmax(0,2.2fr)}@media (width<=1279px){.cols-side{grid-template-columns:1fr}}.btn{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:8px;height:36px;padding-inline:14px;font-weight:500;transition:background .1s,border-color .1s;display:inline-flex}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-secondary{background:var(--surface);border-color:var(--border-strong);color:var(--text)}.btn-secondary:hover:not(:disabled){background:var(--surface-2)}.btn-ghost{color:var(--text-2);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.btn-danger{background:var(--danger);color:#fff}.btn-sm{height:32px;padding-inline:10px;font-size:13px}.btn-icon{width:36px;padding:0}.btn-icon.btn-sm{width:32px}@media (pointer:coarse){.btn{height:44px}.btn-icon{width:44px}}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.badge{white-space:nowrap;background:var(--surface-2);height:22px;color:var(--text-2);border-radius:999px;align-items:center;gap:6px;padding-inline:8px;font-size:12px;font-weight:500;display:inline-flex}.badge:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.badge.plain:before{display:none}.tone-success{background:var(--success-soft);color:var(--success)}.tone-warning{background:var(--warning-soft);color:var(--warning)}.tone-danger{background:var(--danger-soft);color:var(--danger)}.tone-info{background:var(--info-soft);color:var(--info)}.field{flex-direction:column;gap:6px;display:flex}.field label{color:var(--text);font-size:13px;font-weight:500}.field label .opt{color:var(--text-3);font-weight:400}.field label .req{color:var(--danger);margin-inline-start:2px}.input{border:1px solid var(--border-strong);background:var(--surface);border-radius:6px;width:100%;height:36px;padding-inline:10px}.input:focus{outline:2px solid var(--accent);outline-offset:0;border-color:var(--accent)}.input[aria-invalid=true]{border-color:var(--danger)}.field .help{color:var(--text-3);font-size:12px;line-height:16px}.field .err{color:var(--danger);align-items:center;gap:4px;font-size:12px;line-height:16px;display:flex}@media (width<=640px){.input{height:44px;font-size:16px}}.kpis{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));display:grid;overflow:hidden}.kpi{border-inline-end:1px solid var(--border);border-bottom:1px solid var(--border);flex-direction:column;gap:4px;margin-bottom:-1px;padding:16px;display:flex}.kpi .label{color:var(--text-2);font-size:13px}.kpi .value{font-size:26px;font-weight:600;line-height:32px}.kpi .value small{color:var(--text-2);margin-inline-start:4px;font-size:13px;font-weight:400}.kpi .value.na{color:var(--text-3);font-size:16px;font-weight:500;line-height:32px}.kpi .delta{font-size:12px;line-height:16px}.wl{margin:0;padding:0;list-style:none}.wl li{border-bottom:1px solid var(--border);grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 16px;display:grid}.wl li:last-child{border-bottom:0}.wl .ico{background:var(--surface-2);width:32px;height:32px;color:var(--text-2);border-radius:6px;place-items:center;display:grid}.wl .t{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.wl .s{color:var(--text-3);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;line-height:16px;display:flex}.wl .acts{gap:6px;display:flex}@media (width<=640px){.wl li{grid-template-columns:auto 1fr}.wl .acts{grid-column:2}}.tabs{border-bottom:1px solid var(--border);gap:4px;display:flex;overflow-x:auto}.tab{color:var(--text-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:8px;margin-bottom:-1px;padding:10px 12px;display:inline-flex}.tab[aria-selected=true]{color:var(--text);border-bottom-color:var(--accent);font-weight:500}.tbar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;display:flex}.tbar .grow{flex:1;min-width:180px}.bulk{background:var(--accent-soft);border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:8px 16px;display:flex}.twrap{overflow-x:auto}table.dt{border-collapse:collapse;width:100%}.dt th{background:var(--surface-2);color:var(--text-2);text-align:start;border-bottom:1px solid var(--border);white-space:nowrap;height:36px;padding:0 12px;font-size:12px;font-weight:500;position:sticky;top:0}.dt th button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.dt td{border-bottom:1px solid var(--border);white-space:nowrap;height:44px;padding:0 12px}.dt.compact td{height:36px}.dt tbody tr{cursor:pointer}.dt tbody tr:hover td{background:var(--surface-2)}.dt tbody tr[aria-selected=true] td{background:var(--accent-soft)}.dt .r{text-align:end}.dt .chk{width:40px}.dt tr.inactive td{color:var(--text-3)}.cell-edit{cursor:text;color:inherit;font:inherit;background:0 0;border:1px dashed #0000;border-radius:4px;align-items:center;gap:6px;margin-inline:-6px;padding:2px 6px;display:inline-flex}.cell-edit:hover{border-color:var(--border-strong)}.cell-edit svg{opacity:0;color:var(--text-3)}.cell-edit:hover svg,.cell-edit:focus-visible svg{opacity:1}.cell-input{border:1px solid var(--accent);background:var(--surface);text-align:end;border-radius:4px;width:96px;height:30px;padding-inline:8px}.tfoot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.skel{background:var(--surface-2);border-radius:4px;height:12px;animation:1.4s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.55}}.cards{display:none}@media (width<=640px){.twrap{display:none}.cards{margin:0;padding:0;list-style:none;display:block}.cards li{border-bottom:1px solid var(--border);gap:4px;padding:12px 16px;display:grid}.cards .row1{justify-content:space-between;gap:8px;font-weight:500;display:flex}.cards .row2{color:var(--text-2);flex-wrap:wrap;gap:12px;font-size:13px;display:flex}}.menu{z-index:30;inset-inline-end:0;background:var(--surface);border:1px solid var(--border);min-width:220px;box-shadow:var(--shadow-menu);border-radius:8px;padding:6px;position:absolute;top:calc(100% + 4px)}.menu label{cursor:pointer;border-radius:4px;align-items:center;gap:8px;padding:6px 8px;display:flex}.menu label:hover{background:var(--surface-2)}.rel{position:relative}.drawer{background:var(--surface);width:min(480px,100vw);box-shadow:var(--shadow-layer);z-index:60;flex-direction:column;animation:.18s ease-out slide;display:flex;position:fixed;inset-block:0;inset-inline-end:0}@keyframes slide{0%{opacity:.4;transform:translate(24px)}}[dir=rtl] .drawer{animation-name:slide-rtl}@keyframes slide-rtl{0%{opacity:.4;transform:translate(-24px)}}.drawer-head{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:14px 16px;display:flex}.drawer-head h2{flex:1;font-size:16px;font-weight:600}.drawer-body{flex-direction:column;flex:1;gap:16px;padding:16px;display:flex;overflow-y:auto}.drawer-foot{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding:12px 16px;display:flex}.dl{grid-template-columns:140px 1fr;gap:8px 12px;margin:0;display:grid}.dl dt{color:var(--text-3);font-size:13px}.dl dd{margin:0}details.more summary{cursor:pointer;color:var(--accent);padding:4px 0;font-weight:500}.alert{border-radius:6px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:13px;display:flex}.toasts{z-index:70;flex-direction:column;gap:8px;max-width:min(420px,100vw - 32px);display:flex;position:fixed;inset-block-end:16px;inset-inline-start:16px}.toast{background:var(--text);color:var(--bg);box-shadow:var(--shadow-menu);border-radius:8px;align-items:center;gap:10px;padding:10px 12px;animation:.18s ease-out rise;display:flex}.toast.err{background:var(--danger);color:#fff}.toast .btn{height:28px;color:inherit}@keyframes rise{0%{opacity:0;transform:translateY(8px)}}.state{text-align:center;color:var(--text-2);flex-direction:column;align-items:center;gap:10px;padding:32px 16px;display:flex}.state strong{color:var(--text);font-weight:600}.ai{border:1px solid var(--border);background:var(--surface);border-radius:8px}.ai-row{border-bottom:1px dashed var(--border);grid-template-columns:120px 1fr;gap:8px;padding:6px 0;font-size:13px;display:grid}.ai-row:last-child{border-bottom:0}.ai-row span:first-child{color:var(--text-3)}
