#costControlView { --cc-ink:#17315e; --cc-muted:#7e91af; --cc-blue:#0860ff; min-width:0; padding:4px; color:var(--cc-ink); font-family:'IBM Plex Sans Arabic',sans-serif; background:linear-gradient(135deg,#f3faff,#eaf4ff) !important; }
#costControlView * { font-family:inherit; }
#costControlView .cc-hero { position:relative; isolation:isolate; min-height:100px; padding:18px 18px 12px; margin-bottom:12px; overflow:hidden; border:1px solid #e0ebfa; border-radius:9px; background:linear-gradient(100deg,#e0edfc99,#f8fbff); }
#costControlView .cc-skyline { position:absolute; left:0; bottom:0; height:100%; width:48%; z-index:-1; opacity:.65; }
#costControlView .page-title { display:flex; align-items:center; gap:8px; margin:0 0 5px; font-size:23px; font-weight:700; color:#152955; }
#costControlView .page-subtitle { color:var(--cc-muted); font-size:12px; margin:0; }
#costControlView .cc-heading-icon { display:inline-grid; place-items:center; width:25px; height:25px; margin-inline-end:6px; border-radius:5px; color:#fff; background:#173b7f; }
#costControlView .card { border:1px solid #e4eefc; border-radius:9px; box-shadow:0 3px 14px #365c9d08; background:#fff; }
#costControlView .card-body { padding:13px; }
#costControlView .cc-selectors>.card-body { gap:14px !important; padding:12px 16px; }
#costControlView .cc-selectors .form-group { margin:0; min-width:0 !important; }
#costControlView .cc-selectors label { display:block; margin-bottom:5px; color:#60769e; font-size:12px; font-weight:600; }
#costControlView .cc-selectors select { width:100%; min-height:34px; padding:5px 10px; border:1px solid #dbe7f9; border-radius:5px; background:#fbfdff; color:#405b88; font-size:12px; text-overflow:ellipsis; }
#costControlView .btn { border-radius:5px; padding:6px 12px; font-size:12px; }
#costControlView .btn-primary { background:#0860ff; border-color:#0860ff; box-shadow:0 2px 6px #0860ff22; color:#fff; }
#costControlView .btn:disabled { opacity:.5; cursor:not-allowed; }
#costControlView #ccContractMeta { border:0; background:transparent; box-shadow:none; }
#costControlView .cc-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:0; }
#costControlView .cc-metric { --cc-tone:#0964ff; --cc-tint:#e7f2ff; position:relative; min-width:0; padding:17px 14px 17px 66px; min-height:95px; border:1px solid #e8effb; border-inline-end:4px solid var(--cc-tone); border-radius:9px; background:linear-gradient(110deg,var(--cc-tint),#fff 48%); box-shadow:0 4px 12px #3568a70a; }
#costControlView .cc-metric-1 { --cc-tone:#ff9338; --cc-tint:#fff0e2; }
#costControlView .cc-metric-2 { --cc-tone:#9544ff; --cc-tint:#f0e4ff; }
#costControlView .cc-metric-3 { --cc-tone:#03b38e; --cc-tint:#dcf9ef; }
#costControlView .cc-metric .text-muted { color:var(--cc-tone) !important; font-size:12px !important; margin-bottom:9px; }
#costControlView .cc-metric .fw-bold { font-size:23px; line-height:1.3; color:var(--cc-ink); font-weight:700; direction:ltr; text-align:right; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#costControlView .cc-metric-icon { position:absolute; left:13px; top:22px; display:grid; place-items:center; width:40px; height:43px; font-size:26px; color:var(--cc-tone); border-radius:9px; background:var(--cc-tint); box-shadow:0 4px 13px var(--cc-tint); }
#costControlView :is(.cc-metric-icon,.cc-item-icon,.cc-heading-icon) svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
#costControlView .cc-items-toolbar { margin:0 0 10px !important; }
#costControlView .cc-items-toolbar .btn { font-size:11px; padding:5px 10px; }
#costControlView .cc-main-item { margin-bottom:12px !important; overflow:hidden; }
#costControlView .cc-main-item>.card-header { display:flex; justify-content:space-between; align-items:center; gap:10px; direction:ltr; padding:9px 14px; background:#edf5ff; border:0; }
#costControlView .cc-section-toggle { display:flex; align-items:center; gap:10px; flex:1; min-width:0; border:0; background:transparent; color:#193967; font-size:14px; font-weight:700; text-align:left; cursor:pointer; }
#costControlView .cc-section-toggle bdi { overflow-wrap:anywhere; }
#costControlView .cc-chevron { color:#5673a5; font-size:18px; transition:transform .15s; }
#costControlView .cc-section-toggle[aria-expanded="false"] .cc-chevron { transform:rotate(-90deg); }
#costControlView .cc-item-icon { display:grid; place-items:center; width:27px; height:27px; border-radius:6px; background:#deebff; color:#075bff; font-size:18px; }
#costControlView .cc-section-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
#costControlView .cc-section-actions .badge { border-radius:12px; padding:4px 10px; margin:0 !important; font-size:11px; background:#dfe8f5 !important; color:#7187a6 !important; }
#costControlView .cc-main-item[data-cost-type="DIRECT"] .badge { color:#fff !important; background:#0860ff !important; }
#costControlView .cc-main-item>.card-body { overflow-x:auto; padding:10px 14px 14px; }
#costControlView .cc-main-item>.card-body[hidden] { display:none !important; }
#costControlView .cc-sub-actions { display:flex; justify-content:flex-end; margin-bottom:5px; }
#costControlView .cc-sub-actions .btn { font-size:11px; padding:5px 11px; }
#costControlView .cc-no-items { display:grid; justify-items:center; gap:4px; padding:2px 8px 10px; text-align:center; color:#8197b8; }
#costControlView .cc-no-items svg { width:32px; height:32px; fill:none; stroke:#a8bfdc; stroke-width:1.5; }
#costControlView .cc-no-items strong { font-size:12px; font-weight:600; }
#costControlView .cc-no-items span { font-size:10px; }
#costControlView .cc-sub-table { width:100%; border-collapse:collapse; table-layout:fixed; margin:0; }
#costControlView .cc-sub-table :is(th,td) { padding:8px 6px !important; border:1px solid #dce9fa !important; color:#405d89; text-align:center !important; vertical-align:middle; font-size:12px; white-space:normal; overflow-wrap:anywhere; }
#costControlView .cc-sub-table thead th { background:#eaf4ff !important; font-size:11px; font-weight:600; }
#costControlView .cc-sub-table tbody tr:nth-child(even) td { background:#f5f9ff; }
#costControlView .cc-sub-table tfoot th { background:#eaf4ff; color:#173f90; font-weight:700; }
#costControlView .cc-sub-table .form-control { width:100%; min-width:0; border:1px solid #d7e6f9; border-radius:4px; padding:5px; min-height:31px; font-size:12px; text-align:center; background:#fff; }
#costControlView .cc-sub-table input[type="number"] { direction:ltr; }
#costControlView #ccGrandTotalCard { margin:15px 0 !important; border:1px solid #244878 !important; border-radius:7px; box-shadow:0 3px 10px #24487812 !important; overflow:hidden; }
#costControlView #ccGrandTotalCard>.card-header { background:#244878 !important; color:white; font-size:13px; padding:10px 13px !important; }
#costControlView .cc-grand-options { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:8px 12px; color:#7e91af; font-size:11px; background:#f5f9ff; }
#costControlView .cc-grand-options label { display:flex; align-items:center; gap:5px; margin:0; direction:ltr; }
#costControlView .cc-grand-options input { accent-color:#0860ff; }
#costControlView #ccGrandTotalCard.cc-hide-study :is(th,td,col):nth-child(2),
#costControlView #ccGrandTotalCard.cc-hide-btd :is(th,td,col):nth-child(4),
#costControlView #ccGrandTotalCard.cc-hide-budget :is(th,td,col):nth-child(5) { display:none; }
#costControlView #ccSummaryCard { margin-top:15px !important; }
#costControlView #ccSummaryCard>.card-header { padding:11px 14px; background:#fff; border-bottom:1px solid #e9f0fa; font-size:15px; color:#173763; }
#costControlView #ccSummaryWrap { padding:10px 14px 14px; overflow-x:auto; }
#costControlView #ccSummaryToolbar { justify-content:flex-end !important; margin-bottom:10px !important; }
#costControlView #ccSummaryToolbar .btn { color:#7188b5; background:white; border:1px solid #dbe7fa; font-size:11px; padding:5px 9px; }
#costControlView #ccSummaryGrid .cc-summary-table { direction:rtl !important; border-collapse:collapse; table-layout:fixed; }
#costControlView #ccSummaryGrid .cc-summary-table :is(th,td) { padding:7px 10px !important; font-size:12px; border:1px solid #e5edf8 !important; overflow-wrap:anywhere; }
#costControlView #ccSummaryGrid .cc-summary-table thead tr { background:#eaf4ff !important; color:#33537f !important; }
#costControlView #ccSummaryGrid .cc-summary-table :is(th,td):first-child { text-align:right !important; }
#costControlView #ccSummaryGrid .cc-summary-table :is(th,td):last-child { text-align:center !important; direction:ltr; font-variant-numeric:tabular-nums; }
#costControlView #ccEmptyState .card-body { color:#7e91af; font-size:13px; }
@media (max-width:1100px) { #costControlView .cc-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { #costControlView .cc-hero { min-height:85px; padding:13px 9px; } #costControlView .cc-skyline { width:65%; opacity:.35; } #costControlView .page-title { font-size:18px; } #costControlView .page-subtitle { font-size:10px; } #costControlView .cc-selectors>.card-body { flex-direction:column; align-items:stretch !important; } #costControlView .cc-selectors .form-group { width:100%; } #costControlView .cc-metrics { gap:8px; } #costControlView .cc-metric { padding:12px 8px; min-height:90px; } #costControlView .cc-metric-icon { display:none; } #costControlView .cc-metric .fw-bold { font-size:18px; } #costControlView .cc-metric .text-muted { font-size:10px !important; } #costControlView .cc-main-item>.card-header { padding:8px; } #costControlView .cc-section-toggle { font-size:12px; gap:6px; } #costControlView #ccSummaryWrap { padding:8px; } #costControlView #ccSummaryGrid .cc-summary-table :is(th,td) { font-size:11px; padding:6px !important; } }
@media print { #costControlView .cc-skyline,#costControlView .cc-grand-options,#costControlView .cc-sub-actions { display:none !important; } #costControlView .cc-main-item>.card-body[hidden] { display:block !important; } #costControlView .card { box-shadow:none; break-inside:auto; } #costControlView .cc-main-item>.card-body { overflow:visible; } #costControlView .cc-sub-table { min-width:0 !important; } #costControlView .cc-sub-table :is(th,td) { font-size:8px; padding:3px !important; } }
