:root {
  --navy: #063f3d;
  --navy-2: #0b5a55;
  --teal: #128f7e;
  --mint: #e6f6f1;
  --gold: #37b77c;
  --ink: #20303f;
  --muted: #6c7b87;
  --canvas: #f4f7f8;
  --card: #ffffff;
  --line: #dce5e8;
  --danger: #bf4b45;
  --warning: #ca8b28;
  --success: #1c8b70;
  --shadow: 0 14px 38px rgba(19, 43, 67, .09);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.login { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.login-aside { background: radial-gradient(circle at 18% 20%, rgba(55,183,124,.28), transparent 28%), linear-gradient(145deg, #073d3b, #0f7165); color: white; padding: 74px clamp(28px, 7vw, 112px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.login-aside::before { content:""; position:absolute; inset:0; opacity:.16; background-image: radial-gradient(circle, #7edbc2 2px, transparent 2.5px); background-size: 28px 28px; mask-image: linear-gradient(135deg, #000 0%, transparent 62%); }
.login-aside::after { content:""; position:absolute; left:-9rem; bottom:-8rem; width:24rem; height:24rem; border: 1px solid rgba(126,219,194,.28); border-radius:50%; box-shadow: 0 0 0 52px rgba(126,219,194,.08), 0 0 0 104px rgba(126,219,194,.04); }
.brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-family: "Noto Kufi Arabic"; font-weight: 700; }
.brand-name { font-family: "Noto Kufi Arabic"; font-size: 13px; line-height: 1.65; }
.identity-brand { gap:13px; }
.brand-logos { display:flex; align-items:center; gap:7px; }
.brand-logo { width:58px; height:44px; background:#fff; border-radius:8px; display:grid; place-items:center; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.16); }
.brand-logo img { width:100%; height:100%; object-fit:contain; }
.ministry-logo { width:72px; padding:3px; }
.primary-ministry-logo { width:96px; height:58px; padding:5px 8px; border-radius:12px; }
.ministry-only-brand { align-items:center; gap:14px; }
.school-logo { background:linear-gradient(135deg, var(--gold), #f2d28b); color:var(--navy); font-family:"Noto Kufi Arabic"; font-weight:800; font-size:22px; }
.side .identity-brand { align-items:flex-start; }
.side .brand-logos { flex-direction:column; gap:5px; }
.side .brand-logo { width:68px; height:36px; }
.side .ministry-logo { width:86px; height:48px; }
.login-copy { position:relative; z-index:1; max-width: 530px; }
.eyebrow { color: #90e4ce; letter-spacing: .04em; font-size: 13px; font-weight: 700; }
h1 { font-family: "Noto Kufi Arabic"; font-size: clamp(27px, 3vw, 48px); line-height: 1.65; margin: 18px 0; }
.login-copy p { color: #dce8ec; font-size: 18px; line-height: 2; }
.login-panel { align-self: center; max-width: 470px; width: calc(100% - 48px); padding: 38px; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); }
.login-panel h2 { font-family: "Noto Kufi Arabic"; font-size: 20px; margin: 0 0 10px; }
.login-panel p { color: var(--muted); line-height: 1.9; margin: 0 0 25px; }
.login-form { display:grid; gap:15px; }
.login-form .field input, .login-form .field select { width:100%; min-height:44px; }
.login-submit { width:100%; margin-top:3px; min-height:46px; }
.login-error { color:#a84340; background:#fff0ef; border-right:3px solid #bf4b45; border-radius:7px; padding:9px 11px; font-size:12px; }
.role-stack { display: grid; gap: 12px; }
.role-btn { border: 1px solid var(--line); background: #fff; border-radius: 15px; padding: 17px; display:flex; align-items:center; justify-content:space-between; text-align:right; color: var(--ink); transition: .2s; }
.role-btn:hover { border-color: var(--teal); background: #f3fbf9; transform: translateY(-1px); }
.role-btn strong { display:block; margin-bottom: 4px; }
.role-btn small { color: var(--muted); }
.arrow { color: var(--teal); font-size: 20px; }

.dashboard { display:grid; grid-template-columns: 252px 1fr; min-height:100vh; }
.side { background: linear-gradient(180deg, #073d3b, #0b524d); color: white; padding: 22px 14px; display:flex; flex-direction:column; gap: 30px; }
.side .brand { padding: 5px 8px; }
.nav { display:grid; gap: 6px; }
.nav button { border:0; color:#d4e0e6; background:transparent; border-radius: 10px; padding: 13px 14px; text-align:right; font-size:14px; }
.nav button:hover, .nav button.active { color:white; background: rgba(255,255,255,.12); }
.nav i { font-style:normal; display:inline-block; width:25px; color:#86d6cf; }
.side-footer { margin-top:auto; padding:14px; border-top:1px solid rgba(255,255,255,.12); color:#b9c8d1; font-size:12px; line-height:1.75; }
.side-footer button { color:white; border:1px solid rgba(255,255,255,.22); background:transparent; border-radius:8px; margin-top:9px; padding:7px 10px; }
.main { min-width: 0; }
.topbar { min-height: 80px; background:rgba(255,255,255,.92); border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; padding: 15px clamp(20px, 4vw, 54px); position:sticky; top:0; z-index:5; backdrop-filter: blur(12px); }
.topbar h2 { margin:0; font-family:"Noto Kufi Arabic"; font-size:17px; }
.topbar p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.profile { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:13px; }
.avatar { background:#dff4f1; color:var(--teal); width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-weight:700; }
.content { padding: 32px clamp(20px, 4vw, 54px) 54px; max-width: 1600px; }
.section-title { display:flex; align-items:end; justify-content:space-between; gap:15px; margin-bottom:20px; }
.section-title h3 { font-family:"Noto Kufi Arabic"; font-size:17px; margin:0; }
.section-title span { color:var(--muted); font-size:13px; }
.section-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.reset-entry { border:1px solid #f0c1bd; color:#a84340; background:#fff7f6; border-radius:10px; padding:9px 12px; font-size:12px; font-weight:700; }
.reset-entry:hover { background:#fff0ef; border-color:#e5a49f; }
.school-select { background:white; border:1px solid var(--line); border-radius:9px; padding:9px 12px; color:var(--ink); }
.summary-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap:16px; margin-bottom: 32px; }
.metric-card { background: var(--card); padding: 19px; border-radius: 15px; border: 1px solid #e7edef; box-shadow: 0 4px 15px rgba(19,43,67,.035); }
.metric-card .label { color:var(--muted); font-size:13px; }
.metric-card strong { display:block; font-size:29px; color:var(--navy); margin-top:8px; font-family:"Noto Kufi Arabic"; }
.metric-card .note { color:var(--teal); font-size:12px; margin-top:4px; }
.layout-two { display:grid; grid-template-columns: 1.5fr 1fr; gap:22px; }
.sales-layer { margin-top:22px; }
.card { background:var(--card); border:1px solid #e7edef; border-radius:16px; padding:22px; box-shadow: 0 4px 15px rgba(19,43,67,.035); }
.card h4 { margin:0; font-family:"Noto Kufi Arabic"; font-size:14px; }
.table-wrap { overflow:auto; margin-top:16px; }
table { width:100%; border-collapse:collapse; font-size:13px; min-width: 570px; }
th { background:#f3f7f7; color:#53636e; font-weight:600; padding:11px 9px; text-align:right; border-bottom:1px solid var(--line); }
td { padding:12px 9px; border-bottom:1px solid #edf1f2; vertical-align:middle; }
tr:last-child td { border-bottom:0; }
.school-name { font-weight:700; color:var(--navy); }
.progress { background:#e7ecee; height:7px; overflow:hidden; border-radius:100px; width:105px; }
.progress > span { display:block; height:100%; background:var(--teal); border-radius:100px; }
.school-progress { display:flex; align-items:center; gap:8px; }
.school-progress b { min-width:31px; color:var(--navy); font-size:12px; }
.status { display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border-radius:20px; font-size:11px; font-weight:600; white-space:nowrap; }
.status::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.approved { color:#197759; background:#e8f6ef; }
.review { color:#9b6818; background:#fff5df; }
.returned { color:#a84340; background:#fff0ef; }
.draft { color:#667783; background:#eff3f4; }
.maturity { display:inline-flex; align-items:center; border-radius:20px; padding:5px 8px; font-size:11px; font-weight:700; white-space:nowrap; }
.maturity-none { color:#667783; background:#eff3f4; }
.maturity-pending { color:#7a681e; background:#fff9d9; }
.maturity-weak { color:#a84340; background:#fff0ef; }
.maturity-basic { color:#9b6818; background:#fff5df; }
.maturity-medium { color:#256c8f; background:#eaf6fb; }
.maturity-good { color:#197759; background:#e8f6ef; }
.maturity-strong { color:#0b6257; background:#dff7f1; }
.area-list { margin-top:14px; display:grid; gap:14px; }
.area-row { display:grid; grid-template-columns: 1fr auto; gap:6px 18px; align-items:center; }
.area-row .area-label { font-size:13px; font-weight:600; }
.area-row small { color:var(--muted); }
.area-row .progress { grid-column:1 / -1; width:100%; height:8px; }
.alert-list { display:grid; gap:10px; margin-top:16px; }
.alert { background:#fff9ed; border-right:3px solid var(--gold); padding:11px 12px; border-radius:8px; font-size:12px; line-height:1.7; }
.alert b { display:block; color:#7b5a1d; }
.filters { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:20px; }
.filter-btn { border:1px solid var(--line); background:white; color:#52626c; border-radius:30px; padding:8px 13px; font-size:12px; }
.filter-btn.active { color:white; background:var(--teal); border-color:var(--teal); }
.indicator-grid { display:grid; gap:13px; }
.target-group-grid { display:grid; gap:13px; }
.target-group { background:#fff; border:1px solid #e0e9eb; border-radius:15px; overflow:hidden; box-shadow:0 4px 15px rgba(19,43,67,.035); }
.target-group.open { border-color:#9dcfcb; }
.target-group-head { width:100%; border:0; background:#fff; color:var(--ink); display:flex; align-items:center; justify-content:space-between; gap:18px; padding:17px; text-align:right; }
.target-group-head:hover { background:#fbfdfd; }
.target-group h4 { margin:0; font-size:14px; line-height:1.85; }
.target-group p { color:var(--muted); font-size:12px; margin:5px 0 0; }
.target-group-summary { display:flex; align-items:center; gap:11px; color:var(--teal); font-size:12px; white-space:nowrap; }
.practice-list { border-top:1px solid #e7edef; background:#fbfcfc; padding:8px 15px; }
.practice-row { display:grid; grid-template-columns:1fr auto auto auto; align-items:center; gap:12px; padding:11px 2px; border-bottom:1px solid #e8eef0; }
.practice-row:last-child { border-bottom:0; }
.practice-row b { display:block; font-size:13px; line-height:1.7; }
.practice-row small { display:block; margin-top:3px; color:var(--muted); font-size:11px; }
.indicator { background:white; border:1px solid #e6edef; border-radius:14px; padding:17px; display:grid; grid-template-columns: 1fr auto; align-items:center; gap:18px; transition:.2s; }
.indicator:hover { border-color:#b6d8d5; box-shadow:0 6px 18px rgba(19,43,67,.06); }
.indicator-meta { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:7px; }
.area-tag { color:var(--teal); background:var(--mint); border-radius:5px; padding:3px 7px; font-size:11px; font-weight:700; }
.school-scope { color:#536a78; background:#eef3f5; border-radius:5px; padding:3px 7px; font-size:11px; font-weight:700; }
.indicator h4 { margin:0; font-size:14px; line-height:1.8; }
.indicator p { color:var(--muted); margin:5px 0 0; font-size:12px; }
.indicator-side { display:flex; gap:11px; align-items:center; }
.ring { --p:0; width:48px; height:48px; border-radius:50%; background:conic-gradient(var(--teal) calc(var(--p)*1%), #e8eeef 0); display:grid; place-items:center; position:relative; color:var(--navy); font-weight:700; font-size:12px; }
.ring::before { content:""; position:absolute; inset:6px; border-radius:50%; background:white; }
.ring span { position:relative; z-index:1; }
.icon-button { border:1px solid var(--line); color:var(--teal); background:white; border-radius:8px; padding:8px 10px; font-size:12px; }
.icon-button:hover { background:var(--mint); }
.report-button { font-weight:700; background:#f1fbf8; border-color:#a9d7cf; }
.admin-card h4 { margin-bottom:14px; }
.admin-form { display:grid; gap:13px; margin-top:14px; }
.admin-form .btn { justify-self:start; min-width:140px; }
.check-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:8px; border:1px solid var(--line); border-radius:10px; padding:10px; background:#fbfdfd; }
.check-pill { display:flex; align-items:center; gap:7px; color:#53636e; font-size:12px; background:white; border:1px solid #e4ebed; border-radius:9px; padding:8px 10px; }
.check-pill input { accent-color:var(--teal); }
.field-help { color:var(--muted); font-size:11px; line-height:1.7; }
.danger-link { color:var(--danger); border-color:#efc4c0; }
.danger-link:hover { background:#fff0ef; }
.level-excellent { border-color:#9edcca; background:#f3fbf8; }
.level-good { border-color:#b8d8ef; background:#f4f9fd; }
.level-basic { border-color:#f0d6a7; background:#fffaf0; }
.level-low { border-color:#efc4c0; background:#fff7f6; }
.selfeval-grid { display:grid; gap:16px; }
.self-phase-card { background:#fff; border:1px solid #e0e9eb; border-radius:16px; padding:18px; box-shadow:0 4px 15px rgba(19,43,67,.035); }
.self-phase-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.self-phase-head h4 { margin:0; font-family:"Noto Kufi Arabic"; font-size:14px; color:var(--navy); }
.self-phase-head p { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.8; }
.self-task-list { display:grid; gap:9px; }
.self-task { display:grid; grid-template-columns:1fr 145px minmax(150px,240px); align-items:center; gap:10px; border:1px solid #e7edef; border-radius:10px; padding:10px; background:#fbfdfd; }
.self-task b { display:block; font-size:12px; line-height:1.7; color:var(--ink); }
.self-task small { color:var(--muted); font-size:11px; }
.self-task select, .self-task input { border:1px solid var(--line); border-radius:8px; padding:8px; background:white; color:var(--ink); font-size:12px; }
.team-list { display:grid; gap:9px; margin-top:12px; }
.team-row { display:grid; grid-template-columns:1fr 1fr 1.2fr auto; gap:8px; align-items:center; border:1px solid #e7edef; border-radius:10px; padding:10px; background:#fbfdfd; }
.team-row input { border:1px solid var(--line); border-radius:8px; padding:8px; color:var(--ink); background:white; font-size:12px; }
.readiness-form textarea { min-height:74px; }
.document-groups { display:grid; gap:13px; margin-top:14px; }
.document-group { border:1px solid #e4ebed; border-radius:12px; padding:13px; background:#fbfdfd; }
.document-group h4 { color:var(--navy); margin-bottom:9px; }
.doc-check { display:flex; align-items:center; gap:9px; padding:8px 9px; border-radius:8px; color:#53636e; font-size:12px; }
.doc-check:hover { background:#f1fbf8; }
.doc-check.done { color:#197759; background:#e8f6ef; }
.doc-check input { accent-color:var(--teal); }
.readiness-meter { display:flex; align-items:center; gap:14px; margin:16px 0; }
.readiness-meter b { color:var(--navy); font-family:"Noto Kufi Arabic"; font-size:13px; }
.readiness-meter p { margin:5px 0 0; color:var(--muted); line-height:1.8; font-size:12px; }
.advice-box ul { margin:8px 0 0; padding-right:18px; }
.advice-box li { margin:5px 0; }
.empty { text-align:center; padding:42px; color:var(--muted); }
.small-empty { padding:18px; font-size:12px; }
.improvement-list, .audit-list { display:grid; gap:10px; margin-top:14px; }
.improvement-item, .audit-item { border:1px solid #e4ebed; background:#fbfdfd; border-radius:10px; padding:10px 12px; }
.improvement-item b, .audit-item b { display:block; color:var(--navy); font-size:12px; line-height:1.8; }
.improvement-item span, .audit-item span { display:block; color:var(--muted); font-size:11px; margin-top:2px; }
.improvement-item p { margin:7px 0 0; color:#53636e; font-size:12px; line-height:1.8; }
.audit-item small { display:block; color:#697b82; font-size:11px; margin-top:4px; line-height:1.6; }
.in-modal { margin-top:0; }
.plan-tip { border-right:4px solid var(--teal); background:#fbfdfd; margin:14px 0 18px; }
.plan-tip b { color:var(--navy); font-family:"Noto Kufi Arabic"; font-size:13px; }
.plan-tip p { margin:6px 0 0; color:var(--muted); line-height:1.9; font-size:12px; }
.plan-list { display:grid; gap:14px; margin-top:16px; }
.plan-card { background:#fff; border:1px solid #e0e9eb; border-radius:16px; padding:18px; box-shadow:0 4px 15px rgba(19,43,67,.035); }
.plan-card.plan-done { border-color:#9edcca; background:#f7fffb; }
.plan-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; border-bottom:1px solid #edf2f3; padding-bottom:12px; margin-bottom:12px; }
.plan-card h4 { margin:0; font-family:"Noto Kufi Arabic"; font-size:14px; line-height:1.85; color:var(--navy); }
.plan-card p { margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.8; }
.plan-form { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.plan-field { display:grid; gap:7px; }
.plan-field.full { grid-column:1 / -1; }
.plan-field label { color:#4f616e; font-size:12px; font-weight:700; }
.plan-field input, .plan-field select, .plan-field textarea { border:1px solid var(--line); padding:10px; border-radius:8px; color:var(--ink); background:white; min-width:0; }
.plan-field textarea { min-height:72px; resize:vertical; }
.plan-field input:disabled, .plan-field select:disabled, .plan-field textarea:disabled { background:#f5f8f8; color:#6c7b87; }
.plan-actions { margin-top:12px; padding-top:12px; border-top:1px solid #edf2f3; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.plan-actions small { color:var(--muted); font-size:11px; }
.journey-flow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0 0 18px; }
.journey-step { display:flex; gap:11px; align-items:flex-start; background:#fff; border:1px solid #e0e9eb; border-radius:15px; padding:15px; box-shadow:0 4px 15px rgba(19,43,67,.035); }
.journey-step span { width:34px; height:34px; flex:0 0 34px; border-radius:50%; display:grid; place-items:center; background:#eef5f5; color:var(--navy); font-family:"Noto Kufi Arabic"; font-weight:800; }
.journey-step.done { border-color:#a7dfd4; background:#f6fffc; }
.journey-step.done span { background:var(--teal); color:white; }
.journey-step.current { border-color:#f0c26b; background:#fffaf0; }
.journey-step.current span { background:var(--gold); color:#123047; }
.journey-step.blocked { opacity:.72; background:#f8fafb; }
.journey-step.blocked span { background:#edf1f3; color:#7c8c94; }
.journey-step b { display:block; color:var(--navy); font-family:"Noto Kufi Arabic"; font-size:12px; line-height:1.7; }
.journey-step p { margin:4px 0 0; color:var(--muted); font-size:11px; line-height:1.7; }
.journey-actions { align-items:center; }
.journey-actions > div { display:flex; gap:8px; flex-wrap:wrap; }
.external-eval-card .ring { margin-inline-start:auto; }
.external-list { display:grid; gap:10px; margin-top:14px; }
.external-row { display:grid; grid-template-columns:1.1fr 110px 1.5fr; gap:10px; align-items:start; border:1px solid #e4ebed; background:#fbfdfd; border-radius:12px; padding:12px; }
.external-row b { display:block; color:var(--navy); font-size:12px; line-height:1.8; }
.external-row small { color:var(--muted); font-size:11px; }
.external-row input, .external-row textarea { border:1px solid var(--line); padding:10px; border-radius:8px; color:var(--ink); background:white; min-width:0; }
.external-row textarea { min-height:46px; resize:vertical; }
.external-row input:disabled, .external-row textarea:disabled { background:#f5f8f8; color:#6c7b87; }
.plan-tabs { display:flex; gap:9px; flex-wrap:wrap; margin:0 0 12px; }
.plan-tabs button, .filter-tabs button { border:1px solid var(--line); background:#fff; color:#53636e; border-radius:999px; padding:9px 14px; font-weight:700; font-size:12px; }
.plan-tabs button.active, .filter-tabs button.active { background:var(--teal); border-color:var(--teal); color:white; }
.filter-tabs { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 16px; }
.filter-tabs.compact button { padding:8px 12px; font-size:11px; }
.compact-select { min-width:120px; }

.modal-backdrop { position:fixed; inset:0; z-index:10; background:rgba(16,35,51,.44); display:grid; place-items:center; padding:20px; }
.modal { width:min(760px,100%); max-height:90vh; overflow:auto; border-radius:20px; background:white; box-shadow:0 24px 70px rgba(0,0,0,.23); }
.modal-head { background:var(--navy); color:white; padding:21px 24px; display:flex; gap:14px; align-items:flex-start; justify-content:space-between; }
.modal-head h3 { font-family:"Noto Kufi Arabic"; font-size:15px; line-height:1.8; margin:0; }
.close { border:0; background:rgba(255,255,255,.12); color:white; border-radius:8px; width:32px; height:32px; font-size:19px; }
.modal-body { padding:22px 24px 26px; }
.reset-modal { width:min(680px,100%); }
.danger-box { background:#fff7f6; border:1px solid #efc4c0; border-right:4px solid var(--danger); border-radius:10px; padding:14px 16px; color:#653532; line-height:1.9; margin-bottom:16px; }
.danger-box b { display:block; color:#a84340; font-family:"Noto Kufi Arabic"; font-size:13px; margin-bottom:4px; }
.danger-box p { margin:0 0 8px; font-size:13px; }
.danger-box ul { margin:0; padding-right:18px; color:#6f4c4a; font-size:12px; }
.backup-button { width:100%; border:1px solid #a9d7cf; background:#f1fbf8; color:var(--teal); border-radius:10px; padding:11px 14px; font-weight:700; margin-bottom:16px; }
.backup-button:hover { background:#e6f6f1; }
.target-box { background:#f3f8f8; border-right:3px solid var(--teal); padding:12px; color:#42545d; font-size:13px; line-height:1.8; border-radius:7px; margin-bottom:20px; }
.practice-box { background:#fffaf0; border:1px solid #f2dfbb; border-radius:9px; padding:12px 15px; margin-bottom:20px; }
.practice-box h4 { color:#77551c; font-family:"Noto Kufi Arabic"; font-size:12px; margin:0 0 8px; }
.practice-box ul { margin:0; padding-right:18px; color:#5d6062; font-size:12px; line-height:1.9; }
.evidence-guide { background:#f4fbf9; border:1px solid #cfe7e1; border-radius:12px; padding:14px; margin-bottom:18px; }
.evidence-guide h4 { margin:0 0 5px; color:var(--navy); font-family:"Noto Kufi Arabic"; font-size:13px; }
.evidence-guide p { margin:0; color:#53636e; font-size:12px; line-height:1.8; }
.guide-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
.guide-grid div { background:white; border:1px solid #e2eeee; border-radius:9px; padding:10px 12px; }
.guide-grid b { color:var(--teal); font-size:12px; }
.guide-grid ul { margin:7px 0 0; padding-right:18px; color:#60717c; font-size:11px; line-height:1.8; }
.template-library { margin-top:14px; border-top:1px solid #dcecea; padding-top:12px; }
.template-library h4 { margin-bottom:9px; }
.template-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.template-button { border:1px solid #cfe7e1; background:#fff; color:var(--ink); border-radius:10px; padding:10px 11px; text-align:right; display:grid; gap:3px; }
.template-button:hover { background:#f1fbf8; border-color:#9bd5ca; }
.template-button b { color:var(--teal); font-size:12px; }
.template-button span { color:#6c7b87; font-size:11px; line-height:1.6; }
.advice-box { background:#f8fbfb; border:1px solid #dce8e8; border-right:3px solid var(--teal); border-radius:8px; padding:11px 12px; color:#53636e; font-size:12px; line-height:1.9; }
.maturity-card { min-height:43px; border:1px solid #dce8e8; border-radius:9px; padding:9px 11px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.maturity-card b { font-size:12px; }
.maturity-card span { font-weight:800; font-family:"Noto Kufi Arabic"; }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:15px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1 / -1; }
.field label { color:#4f616e; font-size:12px; font-weight:600; }
.field input, .field select, .field textarea { border:1px solid var(--line); padding:10px; border-radius:8px; color:var(--ink); background:white; }
.field textarea { min-height:82px; resize:vertical; }
.evidence-list { background:#f7f9fa; border:1px dashed #ccd8dc; border-radius:9px; padding:10px; margin-top:4px; color:#60717c; font-size:12px; line-height:1.8; }
.file-input { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
.upload-control { display:inline-block; }
.upload-note { color:#7b8a94; display:inline-block; margin:0 8px 7px 0; font-size:11px; }
.evidence-item { display:flex; align-items:center; justify-content:space-between; gap:12px; background:white; border:1px solid #e4ebed; border-radius:7px; padding:7px 9px; margin-top:7px; }
.evidence-item button { border:0; color:var(--danger); background:transparent; }
.evidence-item button[data-action="download-evidence"] { color:var(--teal); font-weight:700; }
.evidence-item small { color:#84939c; }
.actions { margin-top:20px; display:flex; justify-content:flex-end; gap:9px; flex-wrap:wrap; position:sticky; bottom:-26px; background:#fff; padding:14px 0 0; border-top:1px solid #edf1f2; }
.btn { border:0; border-radius:8px; padding:10px 15px; font-weight:700; font-size:13px; }
.btn-secondary { color:#52616b; background:#edf2f3; }
.btn-primary { color:white; background:var(--teal); }
.btn-warn { color:white; background:var(--warning); }
.btn-danger { color:white; background:var(--danger); }
.toast { position:fixed; z-index:20; bottom:22px; left:22px; background:var(--navy); color:white; padding:11px 16px; border-radius:10px; box-shadow:var(--shadow); font-size:13px; animation:show .25s ease; }
@keyframes show { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }

@media (max-width: 1000px) { .login { grid-template-columns:1fr; } .login-aside { min-height:340px; padding:38px 30px; } .login-panel { margin:30px auto; } .dashboard { grid-template-columns:1fr; } .side { padding:14px; gap:15px; } .nav { grid-template-columns:repeat(3,1fr); } .side-footer { display:none; } .layout-two { grid-template-columns:1fr; } .summary-grid { grid-template-columns:repeat(2,1fr); } .journey-flow { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 620px) { .topbar { padding:14px 16px; } .topbar p, .profile span { display:none; } .content { padding:22px 16px; } .nav { grid-template-columns:1fr 1fr; } .nav button { font-size:12px; padding:10px; } .summary-grid { gap:10px; } .metric-card { padding:14px; } .metric-card strong { font-size:23px; } .indicator { grid-template-columns:1fr; } .indicator-side { justify-content:space-between; } .form-grid, .guide-grid, .template-grid, .plan-form, .journey-flow, .external-row { grid-template-columns:1fr; } .self-task, .team-row { grid-template-columns:1fr; } .self-phase-head, .readiness-meter, .plan-card-head, .plan-actions { align-items:flex-start; flex-direction:column; } .field.full, .plan-field.full { grid-column:auto; } .plan-tabs, .filter-tabs { gap:6px; } }
