.sfr-rec{
  --rec-bg:#f8fafc;--rec-surface:#ffffff;--rec-surface-soft:#f1f5f9;--rec-surface-strong:#eaf1fb;
  --rec-text:#0f172a;--rec-muted:#64748b;--rec-border:#dbe4ef;--rec-border-strong:#cbd5e1;
  --rec-primary:#1e3a8a;--rec-primary-2:#3b82f6;--rec-success:#0f9f6e;--rec-warning:#d97706;--rec-danger:#dc2626;
  --rec-shadow:0 16px 45px rgba(15,23,42,.08);--rec-radius:18px;--rec-font:"Tajawal","Cairo",system-ui,sans-serif;
  color:var(--rec-text);font-family:var(--rec-font);font-size:16px;line-height:1.7;direction:rtl;max-width:100%;overflow:hidden;
}
html[data-theme="dark"] .sfr-rec,.dark .sfr-rec,[data-sfr-theme="dark"] .sfr-rec{
  --rec-bg:#0b1220;--rec-surface:#111c2e;--rec-surface-soft:#162338;--rec-surface-strong:#192b46;
  --rec-text:#edf4ff;--rec-muted:#9fb0c6;--rec-border:#263955;--rec-border-strong:#365070;
  --rec-primary:#8fb7ff;--rec-primary-2:#5b91ef;--rec-success:#47d7a4;--rec-warning:#f5b84b;--rec-danger:#ff7b7b;
  --rec-shadow:0 18px 55px rgba(0,0,0,.28)
}
.sfr-rec *{box-sizing:border-box}.sfr-rec button,.sfr-rec input,.sfr-rec select,.sfr-rec textarea{font:inherit}.sfr-rec button{cursor:pointer}.sfr-rec [hidden]{display:none!important}.sfr-rec-view{display:block;min-width:0}.sfr-rec-view.is-active{animation:recFade .2s ease}.sfr-rec-subview.is-active{animation:recFade .18s ease}@keyframes recFade{from{opacity:.2;transform:translateY(4px)}to{opacity:1;transform:none}}
.sfr-rec-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px;padding:26px 28px;border:1px solid var(--rec-border);border-radius:22px;background:linear-gradient(135deg,var(--rec-surface),var(--rec-surface-soft));box-shadow:var(--rec-shadow)}
.sfr-rec-page-head h2{font-size:clamp(25px,2.4vw,34px);line-height:1.25;margin:3px 0 8px;color:var(--rec-text);letter-spacing:-.02em}.sfr-rec-page-head p{max-width:840px;margin:0;color:var(--rec-muted);font-size:16px}.sfr-rec-eyebrow{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.12em;color:var(--rec-primary-2)}
.sfr-rec-head-actions,.sfr-rec-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.sfr-rec-btn{min-height:42px;padding:9px 15px;border-radius:11px;border:1px solid var(--rec-border-strong);background:var(--rec-surface);color:var(--rec-text);font-weight:800;transition:.18s ease}.sfr-rec-btn:hover{border-color:var(--rec-primary-2);transform:translateY(-1px)}.sfr-rec-btn-primary{background:linear-gradient(135deg,#1e3a8a,#2563eb);border-color:transparent;color:#fff}.sfr-rec-btn.is-danger{color:var(--rec-danger);border-color:color-mix(in srgb,var(--rec-danger) 45%,var(--rec-border))}.sfr-rec-icon-btn{width:38px;height:38px;border:1px solid var(--rec-border);border-radius:11px;background:var(--rec-surface);color:var(--rec-primary);font-size:25px;line-height:1}
.sfr-rec-panel{min-width:0;margin-bottom:22px;padding:22px;border:1px solid var(--rec-border);border-radius:var(--rec-radius);background:var(--rec-surface);box-shadow:0 10px 32px rgba(15,23,42,.05)}html[data-theme="dark"] .sfr-rec-panel,.dark .sfr-rec-panel,[data-sfr-theme="dark"] .sfr-rec-panel{box-shadow:0 12px 36px rgba(0,0,0,.22)}
.sfr-rec-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.sfr-rec-panel-head h3{margin:0 0 3px;font-size:20px;line-height:1.35}.sfr-rec-panel-head p{margin:0;color:var(--rec-muted);font-size:14px}.sfr-rec-panel-head>div{min-width:0}
.sfr-rec-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:22px}.sfr-rec-kpi{padding:18px;border:1px solid var(--rec-border);border-radius:16px;background:var(--rec-surface)}.sfr-rec-kpi span{display:block;color:var(--rec-muted);font-size:13px;font-weight:700}.sfr-rec-kpi strong{display:block;margin:8px 0 2px;font-size:26px;line-height:1;font-variant-numeric:tabular-nums}.sfr-rec-kpi small{color:var(--rec-muted)}.sfr-rec-kpi.is-success{border-inline-start:4px solid var(--rec-success)}.sfr-rec-kpi.is-warning{border-inline-start:4px solid var(--rec-warning)}.sfr-rec-kpi.is-primary{border-inline-start:4px solid var(--rec-primary-2)}
.sfr-rec-stage-strip{display:grid;grid-template-columns:repeat(7,minmax(115px,1fr));gap:10px;overflow:auto;padding-bottom:4px}.sfr-rec-stage-card{border:1px solid var(--rec-border);border-radius:14px;padding:14px;background:var(--rec-surface-soft);text-align:right;min-width:115px}.sfr-rec-stage-card strong{display:block;font-size:23px;font-variant-numeric:tabular-nums}.sfr-rec-stage-card span{font-weight:800}.sfr-rec-stage-card small{display:block;color:var(--rec-muted)}
.sfr-rec-dashboard-grid,.sfr-rec-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.sfr-rec-alert-list{display:grid;gap:10px}.sfr-rec-alert{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;padding:12px 14px;border:1px solid var(--rec-border);border-radius:12px;background:var(--rec-surface-soft)}.sfr-rec-alert i{width:10px;height:10px;margin-top:7px;border-radius:50%;background:var(--rec-warning)}.sfr-rec-alert.is-danger i{background:var(--rec-danger)}.sfr-rec-alert strong{display:block}.sfr-rec-alert small{color:var(--rec-muted)}.sfr-rec-quality-checklist{display:grid;gap:11px}.sfr-rec-quality-checklist label{display:flex;gap:10px;align-items:flex-start;padding:10px;border-radius:12px;background:var(--rec-surface-soft)}.sfr-rec-quality-checklist input{margin-top:5px;accent-color:var(--rec-success)}.sfr-rec-quality-checklist strong,.sfr-rec-quality-checklist small{display:block}.sfr-rec-quality-checklist small{color:var(--rec-muted)}
.sfr-rec-table-wrap{width:100%;overflow:auto;border:1px solid var(--rec-border);border-radius:14px}.sfr-rec-table{width:100%;border-collapse:collapse;min-width:760px}.sfr-rec-table th,.sfr-rec-table td{padding:12px 13px;border-bottom:1px solid var(--rec-border);text-align:right;vertical-align:top}.sfr-rec-table th{position:sticky;top:0;background:var(--rec-surface-soft);font-size:13px;color:var(--rec-muted);z-index:1}.sfr-rec-table tr:last-child td{border-bottom:0}.sfr-rec-table tbody tr:hover td{background:color-mix(in srgb,var(--rec-primary-2) 5%,var(--rec-surface))}.sfr-rec-table button{border:0;background:none;color:var(--rec-primary-2);font-weight:800;padding:0}.sfr-rec-table .sfr-rec-score{font-weight:900;font-variant-numeric:tabular-nums}
.sfr-rec-status{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:900;background:var(--rec-surface-soft);border:1px solid var(--rec-border)}.sfr-rec-status.is-success{color:var(--rec-success);background:color-mix(in srgb,var(--rec-success) 9%,var(--rec-surface))}.sfr-rec-status.is-warning{color:var(--rec-warning);background:color-mix(in srgb,var(--rec-warning) 10%,var(--rec-surface))}.sfr-rec-status.is-danger{color:var(--rec-danger);background:color-mix(in srgb,var(--rec-danger) 9%,var(--rec-surface))}.sfr-rec-status.is-primary{color:var(--rec-primary-2);background:color-mix(in srgb,var(--rec-primary-2) 10%,var(--rec-surface))}
.sfr-rec-subnav{display:flex;gap:8px;overflow:auto;padding:6px;margin:0 0 20px;border:1px solid var(--rec-border);border-radius:15px;background:var(--rec-surface)}.sfr-rec-subnav button{flex:0 0 auto;min-height:42px;padding:8px 15px;border:0;border-radius:10px;background:transparent;color:var(--rec-muted);font-weight:900}.sfr-rec-subnav button.is-active{background:var(--rec-surface-strong);color:var(--rec-primary)}
.sfr-rec-master-detail{display:grid;grid-template-columns:minmax(275px,.72fr) minmax(0,2fr);gap:22px;align-items:start}.sfr-rec-list-panel{position:sticky;top:92px;max-height:calc(100vh - 115px);overflow:auto}.sfr-rec-entity-list{display:grid;gap:9px}.sfr-rec-entity-item{width:100%;padding:13px;border:1px solid var(--rec-border);border-radius:13px;background:var(--rec-surface);color:var(--rec-text);text-align:right}.sfr-rec-entity-item:hover,.sfr-rec-entity-item.is-selected{border-color:var(--rec-primary-2);background:color-mix(in srgb,var(--rec-primary-2) 7%,var(--rec-surface))}.sfr-rec-entity-item strong,.sfr-rec-entity-item span,.sfr-rec-entity-item small{display:block}.sfr-rec-entity-item span{color:var(--rec-muted);font-size:13px}.sfr-rec-entity-item small{margin-top:5px;color:var(--rec-muted)}.sfr-rec-entity-item .sfr-rec-item-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sfr-rec-search,.sfr-rec-form-grid label,.sfr-rec-textarea-grid label,.sfr-rec-filter-grid label,.sfr-rec-description-toolbar label,.sfr-rec-comparison-toolbar label,.sfr-rec-pipeline-toolbar label,.sfr-rec-report-selector label{display:grid;gap:6px;color:var(--rec-muted);font-size:13px;font-weight:800}.sfr-rec-search{margin-bottom:14px}.sfr-rec input,.sfr-rec select,.sfr-rec textarea{width:100%;min-height:42px;border:1px solid var(--rec-border-strong);border-radius:10px;background:var(--rec-surface);color:var(--rec-text);padding:9px 11px;outline:none}.sfr-rec textarea{resize:vertical;min-height:90px}.sfr-rec input:focus,.sfr-rec select:focus,.sfr-rec textarea:focus{border-color:var(--rec-primary-2);box-shadow:0 0 0 3px color-mix(in srgb,var(--rec-primary-2) 16%,transparent)}.sfr-rec label small{font-weight:500;color:var(--rec-muted)}
.sfr-rec-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.sfr-rec-span-2{grid-column:1/-1}.sfr-rec-textarea-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}.sfr-rec-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.sfr-rec-filter-grid.compact{grid-template-columns:1fr}.sfr-rec-form-actions{justify-content:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid var(--rec-border)}
.sfr-rec-inline-summary,.sfr-rec-offer-total,.sfr-rec-integration-note,.sfr-rec-decision-note{margin-top:18px;padding:14px 16px;border:1px solid var(--rec-border);border-radius:13px;background:var(--rec-surface-soft);color:var(--rec-muted)}.sfr-rec-inline-summary strong,.sfr-rec-offer-total strong{color:var(--rec-text)}.sfr-rec-metric-row{display:flex;flex-wrap:wrap;gap:9px}.sfr-rec-metric-row span{padding:6px 10px;border-radius:999px;background:var(--rec-surface);border:1px solid var(--rec-border);font-size:13px}.sfr-rec-metric-row b{color:var(--rec-text);font-variant-numeric:tabular-nums}
.sfr-rec-approval-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.sfr-rec-approval-step{position:relative;padding:13px;border:1px solid var(--rec-border);border-radius:12px;background:var(--rec-surface-soft)}.sfr-rec-approval-step strong{display:block}.sfr-rec-approval-step small{color:var(--rec-muted)}.sfr-rec-approval-step.is-done{border-color:color-mix(in srgb,var(--rec-success) 50%,var(--rec-border));background:color-mix(in srgb,var(--rec-success) 7%,var(--rec-surface))}
.sfr-rec-description-toolbar,.sfr-rec-comparison-toolbar,.sfr-rec-pipeline-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:16px;padding:16px;border:1px solid var(--rec-border);border-radius:14px;background:var(--rec-surface)}.sfr-rec-description-toolbar label,.sfr-rec-comparison-toolbar label,.sfr-rec-pipeline-toolbar label{min-width:220px}.sfr-rec-job-description-preview{max-width:980px;margin:auto;padding:42px;border:1px solid var(--rec-border);border-radius:20px;background:var(--rec-surface);box-shadow:var(--rec-shadow)}.sfr-rec-description-hero{padding-bottom:22px;margin-bottom:24px;border-bottom:2px solid var(--rec-border)}.sfr-rec-description-hero .sfr-report-document-title{font-size:34px;line-height:1.25;margin:0 0 9px}.sfr-rec-description-meta{display:flex;flex-wrap:wrap;gap:8px}.sfr-rec-description-meta span{padding:5px 10px;border-radius:999px;background:var(--rec-surface-soft);font-weight:700;font-size:13px}.sfr-rec-description-section{margin:24px 0}.sfr-rec-description-section h2{font-size:20px;margin:0 0 8px}.sfr-rec-description-section p{color:var(--rec-muted)}.sfr-rec-description-section ul{margin:0;padding-right:22px}.sfr-rec-description-section li{margin:7px 0}.sfr-rec-description-cta{padding:18px;border-radius:14px;background:linear-gradient(135deg,#1e3a8a,#2563eb);color:#fff;text-align:center}.sfr-rec-description-cta a{color:#fff;font-weight:900}
.sfr-rec-file-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.sfr-rec-file-button{width:100%;padding:14px;border:1px dashed var(--rec-border-strong);border-radius:13px;background:var(--rec-surface-soft);color:var(--rec-text);text-align:right}.sfr-rec-file-button strong,.sfr-rec-file-button small{display:block}.sfr-rec-file-button small{color:var(--rec-muted)}
.sfr-rec-pipeline{display:grid;grid-template-columns:repeat(7,minmax(220px,1fr));gap:12px;overflow:auto;padding-bottom:8px}.sfr-rec-pipeline-column{min-width:220px;padding:12px;border:1px solid var(--rec-border);border-radius:15px;background:var(--rec-surface-soft)}.sfr-rec-pipeline-column>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.sfr-rec-pipeline-column>header h3{margin:0;font-size:15px}.sfr-rec-pipeline-column>header span{font-variant-numeric:tabular-nums}.sfr-rec-pipeline-card{padding:11px;margin-bottom:9px;border:1px solid var(--rec-border);border-radius:11px;background:var(--rec-surface)}.sfr-rec-pipeline-card strong,.sfr-rec-pipeline-card small{display:block}.sfr-rec-pipeline-card small{color:var(--rec-muted)}.sfr-rec-pipeline-actions{display:flex;justify-content:space-between;gap:6px;margin-top:9px}.sfr-rec-pipeline-actions button{border:0;background:var(--rec-surface-soft);color:var(--rec-primary);border-radius:8px;padding:5px 8px;font-weight:900}
.sfr-rec-question-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px;max-height:430px;overflow:auto}.sfr-rec-question-choice{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid var(--rec-border);border-radius:12px;background:var(--rec-surface-soft)}.sfr-rec-question-choice input{width:auto;min-height:0;margin-top:5px}.sfr-rec-question-choice strong,.sfr-rec-question-choice small{display:block}.sfr-rec-question-choice small{color:var(--rec-muted)}.sfr-rec-assessment-runner{margin-top:22px;padding:18px;border:1px solid var(--rec-border);border-radius:14px;background:var(--rec-surface-soft)}
.sfr-rec-scorecard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.sfr-rec-score-item{padding:14px;border:1px solid var(--rec-border);border-radius:12px;background:var(--rec-surface-soft)}.sfr-rec-score-item header{display:flex;justify-content:space-between;gap:10px}.sfr-rec-score-item strong{font-size:15px}.sfr-rec-score-item input[type="number"]{width:90px}.sfr-rec-score-item textarea{margin-top:9px;min-height:72px}
.sfr-rec-comparison-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.sfr-rec-comparison-summary article{padding:15px;border:1px solid var(--rec-border);border-radius:13px;background:var(--rec-surface)}.sfr-rec-comparison-summary strong,.sfr-rec-comparison-summary span{display:block}.sfr-rec-comparison-summary strong{font-size:22px;font-variant-numeric:tabular-nums}.sfr-rec-comparison-summary span{color:var(--rec-muted)}.sfr-rec-comparison-table{min-width:1050px}
.sfr-rec-report-layout{display:grid;grid-template-columns:minmax(240px,.55fr) minmax(0,2fr);gap:22px}.sfr-rec-report-selector{display:grid;align-content:start;gap:12px}.sfr-rec-report-preview{min-height:420px}.sfr-rec-report-card{padding:20px;border:1px solid var(--rec-border);border-radius:14px;background:var(--rec-surface)}.sfr-rec-report-card h2{margin:0 0 4px}.sfr-rec-report-card>p{color:var(--rec-muted)}.sfr-rec-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.sfr-rec-report-kpis div{padding:13px;border-radius:11px;background:var(--rec-surface-soft)}.sfr-rec-report-kpis strong,.sfr-rec-report-kpis span{display:block}.sfr-rec-report-kpis strong{font-size:21px;font-variant-numeric:tabular-nums}.sfr-rec-report-kpis span{color:var(--rec-muted)}
.sfr-rec-backup-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sfr-rec-backup-grid button{padding:18px;border:1px solid var(--rec-border);border-radius:13px;background:var(--rec-surface-soft);color:var(--rec-text);text-align:right}.sfr-rec-backup-grid strong,.sfr-rec-backup-grid small{display:block}.sfr-rec-backup-grid small{color:var(--rec-muted)}.sfr-rec-backup-grid .is-danger{border-color:color-mix(in srgb,var(--rec-danger) 42%,var(--rec-border))}.sfr-rec-audit-list{display:grid;gap:8px;max-height:460px;overflow:auto}.sfr-rec-audit-item{display:grid;grid-template-columns:150px 1fr auto;gap:12px;padding:11px;border-bottom:1px solid var(--rec-border)}.sfr-rec-audit-item time,.sfr-rec-audit-item small{color:var(--rec-muted)}
.sfr-rec-empty{padding:32px;text-align:center;color:var(--rec-muted);border:1px dashed var(--rec-border-strong);border-radius:13px}.sfr-rec-toast{position:fixed;left:24px;bottom:24px;z-index:100000;max-width:390px;padding:14px 16px;border-radius:13px;background:#0f172a;color:#fff;box-shadow:0 18px 50px rgba(0,0,0,.28)}.sfr-rec-toast strong,.sfr-rec-toast span{display:block}.sfr-rec-toast span{color:#cbd5e1}
@media(max-width:1200px){.sfr-rec-kpi-grid{grid-template-columns:repeat(3,1fr)}.sfr-rec-master-detail,.sfr-rec-report-layout{grid-template-columns:1fr}.sfr-rec-list-panel{position:static;max-height:none}.sfr-rec-entity-list{grid-template-columns:repeat(2,minmax(0,1fr))}.sfr-rec-backup-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.sfr-rec-page-head{flex-direction:column;padding:20px}.sfr-rec-head-actions{width:100%}.sfr-rec-head-actions .sfr-rec-btn{flex:1}.sfr-rec-kpi-grid{grid-template-columns:repeat(2,1fr)}.sfr-rec-dashboard-grid,.sfr-rec-settings-grid,.sfr-rec-form-grid,.sfr-rec-textarea-grid,.sfr-rec-scorecard,.sfr-rec-file-row{grid-template-columns:1fr}.sfr-rec-span-2{grid-column:auto}.sfr-rec-approval-flow{grid-template-columns:repeat(2,1fr)}.sfr-rec-comparison-summary,.sfr-rec-report-kpis{grid-template-columns:repeat(2,1fr)}.sfr-rec-question-picker{grid-template-columns:1fr}.sfr-rec-job-description-preview{padding:25px}.sfr-rec-description-hero .sfr-report-document-title{font-size:28px}}
@media(max-width:560px){.sfr-rec{font-size:15px}.sfr-rec-panel{padding:16px}.sfr-rec-kpi-grid,.sfr-rec-entity-list,.sfr-rec-backup-grid,.sfr-rec-approval-flow,.sfr-rec-comparison-summary,.sfr-rec-report-kpis{grid-template-columns:1fr}.sfr-rec-head-actions .sfr-rec-btn{flex-basis:100%}.sfr-rec-page-head h2{font-size:25px}.sfr-rec-audit-item{grid-template-columns:1fr}.sfr-rec-toast{left:12px;right:12px;bottom:12px;max-width:none}}
@media print{
  .sfr-rec{background:#fff!important;color:#111!important}.sfr-rec-page-head,.sfr-rec-subnav,.sfr-rec-head-actions,.sfr-rec-description-toolbar,.sfr-rec-comparison-toolbar,.sfr-rec-pipeline-toolbar,.sfr-rec-toast{display:none!important}.sfr-rec-panel,.sfr-rec-job-description-preview,.sfr-rec-report-card{box-shadow:none!important;border-color:#bbb!important;background:#fff!important}.sfr-rec-table th{background:#eee!important;color:#111!important}.sfr-rec-table th,.sfr-rec-table td{color:#111!important;border-color:#ccc!important}.sfr-rec-job-description-preview{max-width:none;border:0!important;padding:0}.sfr-rec-description-section p,.sfr-rec-report-card>p{color:#333!important}}
