#execPositionView { --ep-blue:#0758ff; --ep-ink:#181d57; --ep-muted:#7c8db5; width:100%; min-width:0; color:var(--ep-ink); font-family:'IBM Plex Sans Arabic',sans-serif; background:linear-gradient(130deg,#f4faff,#edf6ff) !important; padding:4px; }
#execPositionView * { font-family:inherit; }
#execPositionView .ep-icon { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; vertical-align:middle; }
#execPositionView .ep-header { margin-bottom:18px; }
#execPositionView .ep-header h2 { display:flex; align-items:center; gap:9px; font-size:22px; font-weight:700; margin:0 0 6px; }
#execPositionView .ep-header h2 .ep-icon { color:#fff; background:#123bb5; padding:4px; width:30px; height:30px; border-radius:6px; }
#execPositionView .ep-header p { color:var(--ep-muted); font-size:12px; margin:0; }
#execPositionView .ep-kpis { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:9px; margin-bottom:20px; }
#execPositionView .ep-kpi { --ep-tone:#1465ff; --ep-tint:#e9f2ff; position:relative; isolation:isolate; overflow:hidden; min-width:0; min-height:112px; padding:13px 9px 13px 43px; border-radius:9px; background:#ffffffed; box-shadow:0 4px 16px #437acc09; }
#execPositionView .ep-violet { --ep-tone:#8d43ff; --ep-tint:#f2e8ff; }
#execPositionView .ep-green { --ep-tone:#00ad92; --ep-tint:#dff8f1; }
#execPositionView .ep-red { --ep-tone:#ff4b59; --ep-tint:#ffe8ec; }
#execPositionView .ep-amber { --ep-tone:#ff9c14; --ep-tint:#fff1d9; }
#execPositionView .ep-kpi::after { content:''; position:absolute; z-index:-1; bottom:-20px; left:-10%; width:125%; height:45px; background:var(--ep-tint); border-radius:50% 65% 0 0; transform:rotate(-9deg); }
#execPositionView .ep-kpi-icon { position:absolute; left:8px; top:15px; display:grid; place-items:center; width:29px; height:32px; border-radius:7px; background:var(--ep-tint); color:var(--ep-tone); box-shadow:0 4px 14px var(--ep-tint); }
#execPositionView .ep-kpi .kpi-label { color:var(--ep-tone); font-size:11px; font-weight:600; margin:0 0 8px; }
#execPositionView .ep-kpi .kpi-value { display:block; color:var(--ep-ink); font-size:21px; line-height:1.4; direction:ltr; text-align:right; margin:0 0 4px; font-variant-numeric:tabular-nums; }
#execPositionView .ep-kpi .kpi-sub { color:var(--ep-muted); font-size:10px; }
#execPositionView .ep-panel { border:1px solid #edf4ff; border-radius:12px; padding:15px; margin-bottom:18px; background:#ffffffed; box-shadow:0 5px 20px #366ca508; }
#execPositionView .ep-panel-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:12px; }
#execPositionView .ep-panel-heading h3 { display:flex; align-items:center; gap:8px; margin:0; font-size:17px; font-weight:700; }
#execPositionView .ep-panel-heading h3>.ep-icon { color:var(--ep-blue); background:#edf5ff; border-radius:5px; padding:3px; width:28px; height:28px; }
#execPositionView .ep-panel-heading .btn { display:flex; align-items:center; gap:8px; border:0; border-radius:6px; padding:8px 13px; font-size:12px; }
#execPositionView .btn-primary { background:#0758ff; box-shadow:0 3px 8px #0758ff22; }
#execPositionView .btn-danger { background:#ff4d59; box-shadow:0 3px 8px #ff4d5922; }
#execPositionView button:disabled { opacity:.5; cursor:not-allowed; }
#execPositionView .ep-input-toolbar { display:flex; flex-direction:row-reverse; align-items:end; justify-content:space-between; gap:12px; margin-bottom:10px; }
#execPositionView #execScopeHint { color:var(--ep-muted); font-size:12px; margin:0 0 5px; }
#execPositionView .ep-input-toolbar .form-group { flex:0 0 245px; margin:0; }
#execPositionView .ep-input-toolbar label { display:block; font-size:12px; color:var(--ep-muted); margin-bottom:5px; }
#execPositionView .ep-input-toolbar label span { color:#ff4d59; }
#execPositionView .ep-input-toolbar input { min-height:32px; font-size:12px; border:1px solid #d8e7fb; border-radius:5px; }
#execPositionView .data-table-wrapper { margin:0; border:1px solid #d2e5fc; border-radius:6px; max-height:none; overflow:auto; box-shadow:none; }
#execPositionView table.data-table { width:100%; border-collapse:collapse; table-layout:fixed; margin:0; }
#execPositionView table.data-table :is(th,td) { border:1px solid #e2edfc !important; padding:7px 10px !important; font-size:12px !important; line-height:1.5; color:#344374; text-align:right; vertical-align:middle; }
#execPositionView table.data-table th { background:#e7f3ff !important; color:#173b94 !important; font-weight:600; position:static; }
#execPositionView table.data-table :is(th,td) .ep-icon { color:var(--ep-blue); width:17px; height:17px; margin-inline-end:7px; }
#execPositionView table.data-table tbody tr:nth-child(even) td { background:#f3f8ff; }
#execPositionView table.data-table tfoot td { background:#e4f1ff !important; font-weight:700; color:#0758ff !important; }
#execPositionView #tblExecInputs th:first-child { width:34%; }
#execPositionView #tblExecInputs td { padding:4px 10px !important; }
#execPositionView #tblExecInputs input { height:29px; min-height:0; padding:3px 8px; border:1px solid #d9e7f9; border-radius:4px; font-size:12px; text-align:left; direction:ltr; background:#fff; }
#execPositionView #tblExecInputs input[readonly] { color:#7d8eaf; background:#f9fbff; }
#execPositionView #tblExecInputs :is(td,th):nth-child(n+2) { text-align:left; }
#execPositionView #tblExecComparison :is(td,th):nth-child(n+2) { text-align:center; font-variant-numeric:tabular-nums; }
#execPositionView #tblExecComparison th:nth-child(2) { color:#0758ff !important; }
#execPositionView #tblExecComparison th:nth-child(3) { background:#f2eaff !important; color:#8c43ff !important; }
#execPositionView #tblExecComparison th:nth-child(4) { background:#e2f8f4 !important; color:#00a58b !important; }
#execPositionView #tblExecComparison td:nth-child(2) { color:#0758ff !important; }
#execPositionView #tblExecComparison td:nth-child(3) { color:#8c43ff !important; }
#execPositionView #tblExecComparison td:nth-child(4) { color:#00a58b !important; }
#execPositionView .ep-history-sort { display:flex; justify-content:flex-start; align-items:center; gap:7px; border-top:1px solid #edf2fa; padding-top:10px; margin-bottom:10px; color:var(--ep-muted); font-size:11px; }
#execPositionView .ep-history-sort select { width:auto; max-width:200px; min-height:30px; padding-block:3px; font-size:11px; border:1px solid #dce8fa; color:#6a7fb0; }
#execPositionView #tblExecHistory th:first-child { width:5%; }
#execPositionView #tblExecHistory :is(th,td) { text-align:center; white-space:normal !important; overflow-wrap:anywhere; word-break:normal; }
#execPositionView #tblExecHistory th:nth-child(2) { width:40%; }
#execPositionView #tblExecHistory th:nth-child(3),
#execPositionView #tblExecHistory th:nth-child(4) { width:14%; }
#execPositionView #tblExecHistory th:nth-child(5) { width:19%; }
#execPositionView #tblExecHistory th:nth-child(6) { width:8%; }
#execPositionView #tblExecHistory td:nth-child(2) { text-align:right; }
#execPositionView #tblExecHistory .ep-history-contract { display:block; line-height:1.7; }
#execPositionView #tblExecHistory .ep-history-version { display:block; margin-top:3px; color:var(--ep-muted); font-size:11px; }
#execPositionView #tblExecHistory td:nth-child(3),
#execPositionView #tblExecHistory td:nth-child(5) { white-space:nowrap !important; }
#execPositionView .ep-empty { padding:28px !important; color:var(--ep-muted); }
#execPositionView .ep-empty .ep-icon { display:block; width:42px; height:42px; margin:0 auto 9px; padding:7px; background:#f0f4fc; border-radius:9px; color:#7b8db5; }
#execPositionView .ep-empty strong,#execPositionView .ep-empty span { display:block; margin:3px; }
#execPositionView .ep-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media (max-width:1250px) { #execPositionView .ep-kpis { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:650px) { #execPositionView .ep-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } #execPositionView .ep-panel { padding:10px; } #execPositionView .ep-panel-heading h3 { font-size:14px; } #execPositionView .ep-input-toolbar { flex-wrap:wrap; } #execPositionView .ep-input-toolbar .form-group { flex-basis:100%; } #execPositionView #tblExecHistory { min-width:600px; } #execPositionView table.data-table :is(th,td) { padding:5px !important; font-size:11px !important; } }
@media print { #execPositionView .ep-kpis { grid-template-columns:repeat(8,minmax(0,1fr)); } #execPositionView :is(.ep-history-sort,.btn) { display:none !important; } #execPositionView .ep-panel { break-inside:auto; box-shadow:none; } }
