/* HEROTEC R-P03 | Editorial system + Smart Risk Register Builder | v1.3.0 */
#herotec-risk-article.hr-rp03 {
  --hr-navy:#17365d; --hr-blue:#286ba6; --hr-blue-deep:#1d527f; --hr-teal:#187f78;
  --hr-ink:#202d3c; --hr-muted:#657487; --hr-line:#dbe3eb; --hr-soft:#f2f6fa;
  --hr-paper:#fff; --hr-pale-blue:#eaf2f9; --hr-pale-teal:#eaf5f3;
  --hr-low:#e7f2eb; --hr-watch:#f3f3dd; --hr-caution:#faedcf; --hr-high:#f8e5e0;
  direction:rtl; unicode-bidi:embed; width:100%; max-width:100%; margin:0 auto;
  color:var(--hr-ink); background:#fff; font-family:Tahoma,Arial,"Noto Sans Arabic",sans-serif;
  font-size:16px; line-height:1.92; overflow-wrap:anywhere;
}
#herotec-risk-article.hr-rp03 *, #herotec-risk-article.hr-rp03 *::before, #herotec-risk-article.hr-rp03 *::after {box-sizing:border-box;}
#herotec-risk-article.hr-rp03 img, #herotec-risk-article.hr-rp03 svg {max-width:100%;}
#herotec-risk-article.hr-rp03 a {color:var(--hr-blue-deep); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px;}
#herotec-risk-article.hr-rp03 a:hover {color:var(--hr-teal);}
#herotec-risk-article.hr-rp03 a:focus-visible, #herotec-risk-article.hr-rp03 button:focus-visible, #herotec-risk-article.hr-rp03 input:focus-visible, #herotec-risk-article.hr-rp03 select:focus-visible, #herotec-risk-article.hr-rp03 textarea:focus-visible, #herotec-risk-article.hr-rp03 summary:focus-visible {outline:3px solid rgba(40,107,166,.25); outline-offset:2px;}
#herotec-risk-article.hr-rp03 .hr-shell {width:min(100% - 44px,1120px); margin:0 auto; padding:28px 0 64px;}
#herotec-risk-article.hr-rp03 h2, #herotec-risk-article.hr-rp03 h3, #herotec-risk-article.hr-rp03 p {margin-top:0;}
#herotec-risk-article.hr-rp03 p {margin-bottom:16px;}
#herotec-risk-article.hr-rp03 h2 {font-size:clamp(22px,2.4vw,30px); line-height:1.55; color:var(--hr-navy); margin-bottom:14px; letter-spacing:-.02em;}
#herotec-risk-article.hr-rp03 h3 {font-size:19px; line-height:1.55; color:var(--hr-navy); margin-bottom:8px;}
#herotec-risk-article.hr-rp03 .hr-overline {display:block; font-size:11px; letter-spacing:.1em; color:var(--hr-blue); font-weight:800; margin:0 0 3px;}
#herotec-risk-article.hr-rp03 .hr-section-index {display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border:1px solid #c9d8e7; color:var(--hr-blue); background:#f7fafd; border-radius:10px; font:700 13px/1 Arial,sans-serif; direction:ltr;}
#herotec-risk-article.hr-rp03 .hr-section-heading {display:flex; align-items:flex-start; gap:13px; margin:0 0 18px;}
#herotec-risk-article.hr-rp03 .hr-section-heading h2 {margin:0;}
#herotec-risk-article.hr-rp03 .hr-hero {display:grid; grid-template-columns:minmax(0,1.55fr) minmax(250px,.85fr); gap:34px; align-items:center; padding:24px 0 34px; border-bottom:1px solid var(--hr-line);}
#herotec-risk-article.hr-rp03 .hr-kicker {display:inline-flex; align-items:center; gap:8px; margin:0 0 22px; color:var(--hr-navy); background:var(--hr-pale-blue); border-right:3px solid var(--hr-teal); padding:5px 11px; border-radius:4px; font-size:12px; font-weight:800;}
#herotec-risk-article.hr-rp03 .hr-eyebrow {font-size:14px; font-weight:700; color:var(--hr-teal); margin:0 0 8px;}
#herotec-risk-article.hr-rp03 .hr-lead {font-size:clamp(18px,2vw,21px); font-weight:600; line-height:1.95; color:#273d55; margin:0 0 12px;}
#herotec-risk-article.hr-rp03 .hr-hero-deck {font-size:16px; color:var(--hr-muted); margin:0; max-width:740px;}
#herotec-risk-article.hr-rp03 .hr-hero-deck strong {color:var(--hr-navy);}
#herotec-risk-article.hr-rp03 .hr-hero-meta {display:flex; flex-wrap:wrap; gap:8px; margin-top:22px;}
#herotec-risk-article.hr-rp03 .hr-hero-meta span {font-size:12px; padding:5px 10px; border:1px solid var(--hr-line); border-radius:4px; color:#506277; background:#fff;}
#herotec-risk-article.hr-rp03 .hr-hero-visual {position:relative; background:linear-gradient(145deg,#f5f8fb,#edf3f8); border:1px solid #e2eaf1; padding:18px 18px 12px; border-radius:12px; min-width:0;}
#herotec-risk-article.hr-rp03 .hr-visual-label {font:800 10px/1 Arial,sans-serif; letter-spacing:.18em; color:#7890a8; text-align:left; direction:ltr;}
#herotec-risk-article.hr-rp03 .hr-hero-visual svg {display:block; width:100%; height:auto; max-height:225px; margin:5px auto 0;}
#herotec-risk-article.hr-rp03 .hr-visual-caption {font-size:12px; text-align:center; color:var(--hr-muted); border-top:1px solid #dce6ee; padding-top:9px;}

#herotec-risk-article.hr-rp03 .hr-reading-summary {padding:28px 0 24px; border-bottom:1px solid var(--hr-line);}
#herotec-risk-article.hr-rp03 .hr-summary-head, #herotec-risk-article.hr-rp03 .hr-toc-heading {display:flex; gap:12px; align-items:center; margin-bottom:16px;}
#herotec-risk-article.hr-rp03 .hr-summary-head h2, #herotec-risk-article.hr-rp03 .hr-toc-heading h2 {font-size:21px; margin:0;}
#herotec-risk-article.hr-rp03 .hr-summary-grid {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--hr-line); border-radius:9px; overflow:hidden;}
#herotec-risk-article.hr-rp03 .hr-summary-item {position:relative; padding:16px 16px 14px; background:#fff; border-left:1px solid var(--hr-line); min-width:0;}
#herotec-risk-article.hr-rp03 .hr-summary-item:last-child {border-left:0;}
#herotec-risk-article.hr-rp03 .hr-summary-no {display:block; font:800 11px/1 Arial,sans-serif; color:var(--hr-teal); margin-bottom:10px; direction:ltr;}
#herotec-risk-article.hr-rp03 .hr-summary-item strong {display:block; color:var(--hr-navy); font-size:15px; margin-bottom:4px;}
#herotec-risk-article.hr-rp03 .hr-summary-item p {font-size:13px; color:var(--hr-muted); margin:0; line-height:1.7;}

#herotec-risk-article.hr-rp03 .hr-toc {padding:24px 0 26px; border-bottom:1px solid var(--hr-line);}
#herotec-risk-article.hr-rp03 .hr-toc ol {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:35px; row-gap:4px; margin:0; padding:0 20px 0 0;}
#herotec-risk-article.hr-rp03 .hr-toc li {padding:2px 0; color:#90a0b0;}
#herotec-risk-article.hr-rp03 .hr-toc a {font-size:14px; color:#334e6a; text-decoration:none;}
#herotec-risk-article.hr-rp03 .hr-toc a:hover {color:var(--hr-teal); text-decoration:underline;}

#herotec-risk-article.hr-rp03 .hr-key-concepts {padding:30px 0 10px;}
#herotec-risk-article.hr-rp03 .hr-concept-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px;}
#herotec-risk-article.hr-rp03 .hr-concept-card {border:1px solid var(--hr-line); border-top:3px solid var(--hr-blue); border-radius:7px; padding:15px 17px; background:#fff; min-width:0;}
#herotec-risk-article.hr-rp03 .hr-concept-number {display:inline-grid; place-items:center; width:27px; height:27px; border-radius:6px; background:var(--hr-pale-blue); color:var(--hr-blue); font:800 11px/1 Arial,sans-serif; direction:ltr; margin-bottom:9px;}
#herotec-risk-article.hr-rp03 .hr-concept-card h3 {font-size:16px; margin-bottom:6px;}
#herotec-risk-article.hr-rp03 .hr-concept-card p {font-size:13px; color:var(--hr-muted); margin:0; line-height:1.8;}

#herotec-risk-article.hr-rp03 .hr-article-section {padding:32px 0 8px; scroll-margin-top:30px;}
#herotec-risk-article.hr-rp03 .hr-article-section > p {max-width:940px;}
#herotec-risk-article.hr-rp03 .hr-editorial-note {margin:22px 0; padding:15px 18px; background:#f6f9fc; border-right:3px solid var(--hr-teal); border-radius:4px;}
#herotec-risk-article.hr-rp03 .hr-editorial-note strong {color:var(--hr-navy); font-size:14px;}
#herotec-risk-article.hr-rp03 .hr-editorial-note p {margin:3px 0 0; color:#425a72; font-size:14px;}
#herotec-risk-article.hr-rp03 .hr-formula-card {margin:22px 0 24px; padding:19px 21px; border:1px solid #d7e3ee; border-right:4px solid var(--hr-blue); background:#f4f8fc; border-radius:8px;}
#herotec-risk-article.hr-rp03 .hr-formula-top {display:flex; align-items:center; justify-content:space-between; gap:12px; color:#70839a; font:800 10px/1.4 Arial,sans-serif; letter-spacing:.12em; direction:ltr;}
#herotec-risk-article.hr-rp03 .hr-formula-mark {font-family:Tahoma,Arial,sans-serif; direction:rtl; letter-spacing:0; color:var(--hr-teal); font-size:12px;}
#herotec-risk-article.hr-rp03 .hr-formula-main {font-size:18px; font-weight:700; text-align:center; color:var(--hr-navy); margin:14px 0; line-height:2;}
#herotec-risk-article.hr-rp03 .hr-formula-main b {color:var(--hr-blue);}
#herotec-risk-article.hr-rp03 .hr-formula-example {border-top:1px solid #dce6ef; padding-top:10px; margin:0; color:#53677d; font-size:13px;}

#herotec-risk-article.hr-rp03 .hr-fields-visual {display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; margin:20px 0 20px;}
#herotec-risk-article.hr-rp03 .hr-field-card {min-width:0; padding:14px 12px; border:1px solid var(--hr-line); border-radius:7px; background:#fff; position:relative;}
#herotec-risk-article.hr-rp03 .hr-field-card span {display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--hr-navy); color:#fff; font:700 11px Arial,sans-serif; direction:ltr; margin-bottom:12px;}
#herotec-risk-article.hr-rp03 .hr-field-card strong {display:block; color:var(--hr-navy); font-size:14px; margin-bottom:5px;}
#herotec-risk-article.hr-rp03 .hr-field-card p {font-size:12px; line-height:1.75; margin:0; color:var(--hr-muted);}
#herotec-risk-article.hr-rp03 .hr-table-wrap {width:100%; max-width:100%; margin:20px 0 24px; border:1px solid var(--hr-line); border-radius:8px; overflow:hidden;}
#herotec-risk-article.hr-rp03 .hr-content-table {width:100%; border-collapse:collapse; table-layout:fixed; font-size:14px;}
#herotec-risk-article.hr-rp03 .hr-content-table th, #herotec-risk-article.hr-rp03 .hr-content-table td {text-align:right; vertical-align:top; padding:12px 14px; border-bottom:1px solid var(--hr-line);}
#herotec-risk-article.hr-rp03 .hr-content-table th {background:#f2f6fa; color:var(--hr-navy); font-size:13px;}
#herotec-risk-article.hr-rp03 .hr-content-table tr:last-child td {border-bottom:0;}
#herotec-risk-article.hr-rp03 .hr-content-table td:first-child {font-weight:700; color:var(--hr-navy); width:20%;}

#herotec-risk-article.hr-rp03 .hr-process {display:flex; align-items:stretch; gap:7px; margin:22px 0 24px; padding:16px; background:#f6f9fc; border:1px solid var(--hr-line); border-radius:8px;}
#herotec-risk-article.hr-rp03 .hr-process-step {flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; text-align:center; padding:7px 5px;}
#herotec-risk-article.hr-rp03 .hr-process-step span {display:grid; place-items:center; width:31px; height:31px; background:var(--hr-navy); color:white; border-radius:50%; font:700 12px Arial,sans-serif; direction:ltr; margin-bottom:8px;}
#herotec-risk-article.hr-rp03 .hr-process-step strong {font-size:14px; color:var(--hr-navy);}
#herotec-risk-article.hr-rp03 .hr-process-step small {font-size:11px; line-height:1.6; color:var(--hr-muted); margin-top:3px;}
#herotec-risk-article.hr-rp03 .hr-process-arrow {display:grid; place-items:center; color:var(--hr-teal); font-size:18px; font-weight:bold;}

#herotec-risk-article.hr-rp03 .hr-equation-card {display:flex; align-items:center; justify-content:space-between; gap:18px; background:#f4f8fc; border:1px solid #d7e3ee; border-radius:8px; padding:17px 20px; margin:18px 0 20px;}
#herotec-risk-article.hr-rp03 .hr-equation-card h3 {margin:2px 0 3px; font-size:18px;}
#herotec-risk-article.hr-rp03 .hr-equation-card p {margin:0; font-size:13px; color:var(--hr-muted);}
#herotec-risk-article.hr-rp03 .hr-equation-value {font:800 22px/1.3 Arial,sans-serif; color:var(--hr-navy); background:#fff; padding:12px 16px; border-radius:6px; border:1px solid var(--hr-line); white-space:nowrap;}
#herotec-risk-article.hr-rp03 .hr-matrix-figure {margin:24px 0; padding:18px 19px 14px; background:#fbfcfd; border:1px solid var(--hr-line); border-radius:9px;}
#herotec-risk-article.hr-rp03 .hr-matrix-heading {display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:13px;}
#herotec-risk-article.hr-rp03 .hr-matrix-heading strong {display:block; color:var(--hr-navy); font-size:17px;}
#herotec-risk-article.hr-rp03 .hr-matrix-note {font-size:12px; color:var(--hr-muted);}
#herotec-risk-article.hr-rp03 .hr-matrix-scroll {max-width:100%;}
#herotec-risk-article.hr-rp03 .hr-matrix {width:100%; max-width:650px; margin:0 auto; table-layout:fixed; border-collapse:separate; border-spacing:5px; font:700 14px/1.2 Arial,sans-serif; direction:ltr;}
#herotec-risk-article.hr-rp03 .hr-matrix th {font-weight:700; color:#53677d; font-size:12px; padding:8px 4px; background:#edf2f7; border-radius:4px;}
#herotec-risk-article.hr-rp03 .hr-matrix th:first-child {width:118px; direction:rtl; font-family:Tahoma,Arial,sans-serif;}
#herotec-risk-article.hr-rp03 .hr-matrix td {height:43px; text-align:center; border-radius:5px; border:1px solid rgba(30,55,80,.08); color:#263c52;}
#herotec-risk-article.hr-rp03 .hr-matrix td.low {background:var(--hr-low);}
#herotec-risk-article.hr-rp03 .hr-matrix td.watch {background:var(--hr-watch);}
#herotec-risk-article.hr-rp03 .hr-matrix td.caution {background:var(--hr-caution);}
#herotec-risk-article.hr-rp03 .hr-matrix td.high {background:var(--hr-high); color:#873f34;}
#herotec-risk-article.hr-rp03 .hr-matrix-figure figcaption {display:flex; flex-wrap:wrap; justify-content:center; gap:9px 18px; padding-top:14px; font-size:12px; color:#596b7e;}
#herotec-risk-article.hr-rp03 .hr-legend-swatch {display:inline-block; width:9px; height:9px; border-radius:2px; margin-left:4px;}
#herotec-risk-article.hr-rp03 .hr-legend-swatch.low {background:#78a88b;}
#herotec-risk-article.hr-rp03 .hr-legend-swatch.watch {background:#c6bb61;}
#herotec-risk-article.hr-rp03 .hr-legend-swatch.caution {background:#d29c42;}
#herotec-risk-article.hr-rp03 .hr-legend-swatch.high {background:#c06e5c;}
#herotec-risk-article.hr-rp03 .hr-matrix-footnote {margin:10px 0 0; font-size:11px; color:#6d7d8e; text-align:center;}

#herotec-risk-article.hr-rp03 .hr-emv-card {margin:20px 0; padding:19px 20px; border:1px solid #d5e3ec; border-radius:8px; background:linear-gradient(135deg,#f6f9fc,#f1f7f6);}
#herotec-risk-article.hr-rp03 .hr-emv-label {display:flex; justify-content:space-between; align-items:center; gap:15px;}
#herotec-risk-article.hr-rp03 .hr-emv-label span {font:800 10px Arial,sans-serif; letter-spacing:.1em; direction:ltr; color:#8092a4;}
#herotec-risk-article.hr-rp03 .hr-emv-label strong {color:var(--hr-navy); font-size:14px;}
#herotec-risk-article.hr-rp03 .hr-emv-equation {text-align:center; direction:ltr; font:700 18px/1.5 Arial,sans-serif; color:var(--hr-navy); margin:15px 0;}
#herotec-risk-article.hr-rp03 .hr-emv-example {display:flex; align-items:center; justify-content:center; gap:17px; padding-top:14px; border-top:1px solid #dce6ee;}
#herotec-risk-article.hr-rp03 .hr-emv-example > div {text-align:center; min-width:0;}
#herotec-risk-article.hr-rp03 .hr-emv-example small {display:block; font-size:11px; color:var(--hr-muted);}
#herotec-risk-article.hr-rp03 .hr-emv-example b {display:block; font-size:19px; color:var(--hr-navy); direction:ltr;}
#herotec-risk-article.hr-rp03 .hr-emv-example > span {color:var(--hr-teal); font:700 18px Arial,sans-serif; direction:ltr;}
#herotec-risk-article.hr-rp03 .hr-emv-result b {color:var(--hr-teal);}
#herotec-risk-article.hr-rp03 .hr-warning-note {margin:18px 0; border-right:3px solid #c29142; background:#fbf7ed; padding:13px 17px; border-radius:4px;}
#herotec-risk-article.hr-rp03 .hr-warning-note strong {font-size:14px; color:#78591e;}
#herotec-risk-article.hr-rp03 .hr-warning-note p {margin:3px 0 0; color:#6e6046; font-size:13px;}

#herotec-risk-article.hr-rp03 .hr-case-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; margin:20px 0;}
#herotec-risk-article.hr-rp03 .hr-case-card {border:1px solid var(--hr-line); border-top:3px solid var(--hr-blue); border-radius:7px; padding:17px; min-width:0;}
#herotec-risk-article.hr-rp03 .hr-case-alert {border-top-color:#b85e4e;}
#herotec-risk-article.hr-rp03 .hr-case-tag {font-size:11px; font-weight:800; color:var(--hr-teal);}
#herotec-risk-article.hr-rp03 .hr-case-alert .hr-case-tag {color:#a34c3f;}
#herotec-risk-article.hr-rp03 .hr-case-card h3 {margin:5px 0 8px; font-size:17px;}
#herotec-risk-article.hr-rp03 .hr-case-card p {font-size:13px; color:#52677d; margin:0 0 12px;}
#herotec-risk-article.hr-rp03 .hr-case-card dl {margin:0; border-top:1px solid var(--hr-line); padding-top:9px;}
#herotec-risk-article.hr-rp03 .hr-case-card dl div {display:grid; grid-template-columns:100px minmax(0,1fr); gap:8px; padding:4px 0;}
#herotec-risk-article.hr-rp03 .hr-case-card dt {font-size:12px; color:var(--hr-muted);}
#herotec-risk-article.hr-rp03 .hr-case-card dd {font-size:12px; margin:0; color:var(--hr-ink); font-weight:700;}
#herotec-risk-article.hr-rp03 .hr-treatment-rail {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--hr-line); border-radius:7px; overflow:hidden; margin:20px 0;}
#herotec-risk-article.hr-rp03 .hr-treatment-rail > div {padding:13px; border-left:1px solid var(--hr-line); background:#fff;}
#herotec-risk-article.hr-rp03 .hr-treatment-rail > div:last-child {border-left:0;}
#herotec-risk-article.hr-rp03 .hr-treatment-rail b {display:block; color:var(--hr-navy); margin-bottom:3px;}
#herotec-risk-article.hr-rp03 .hr-treatment-rail small {display:block; color:var(--hr-muted); font-size:11px; line-height:1.7;}

#herotec-risk-article.hr-rp03 .hr-download-card {display:flex; align-items:center; gap:17px; margin:20px 0; padding:18px; border:1px solid var(--hr-line); border-radius:8px; background:#f8fafc;}
#herotec-risk-article.hr-rp03 .hr-download-icon {display:grid; place-items:center; width:54px; height:58px; flex:0 0 54px; background:#e6f1ea; color:#21744e; font:800 15px Arial,sans-serif; border-radius:7px; direction:ltr;}
#herotec-risk-article.hr-rp03 .hr-download-copy {min-width:0; flex:1;}
#herotec-risk-article.hr-rp03 .hr-download-copy h3 {font-size:17px; margin:2px 0 5px;}
#herotec-risk-article.hr-rp03 .hr-download-copy p {font-size:13px; margin:0 0 6px; color:var(--hr-muted);}
#herotec-risk-article.hr-rp03 .hr-download-copy .hr-download-status {color:#55736c; font-size:12px; margin-bottom:0;}
#herotec-risk-article.hr-rp03 .hr-download-badge {flex:0 0 auto; font-size:11px; color:#55736c; border:1px solid #c9ddd5; border-radius:4px; padding:5px 8px; background:#f2f8f5;}

#herotec-risk-article.hr-rp03 .hr-tool-intro {display:flex; align-items:center; justify-content:space-between; gap:25px; margin:34px 0 0; padding:20px 22px; border:1px solid #dce6ed; border-right:4px solid var(--hr-teal); border-radius:8px; background:#f6faf9;}
#herotec-risk-article.hr-rp03 .hr-tool-intro h2 {font-size:22px; margin:2px 0 6px;}
#herotec-risk-article.hr-rp03 .hr-tool-intro p {font-size:13px; color:var(--hr-muted); margin:0; max-width:750px;}
#herotec-risk-article.hr-rp03 .hr-tool-intro-meta {display:grid; grid-template-columns:repeat(2,minmax(90px,1fr)); gap:5px; flex:0 0 auto;}
#herotec-risk-article.hr-rp03 .hr-tool-intro-meta span {font-size:10px; padding:5px 7px; text-align:center; color:#43625e; background:#eaf4f2; border-radius:4px; white-space:nowrap;}

#herotec-risk-article.hr-rp03 .hr-error-list {display:grid; gap:0; border-top:1px solid var(--hr-line);}
#herotec-risk-article.hr-rp03 .hr-error-list article {display:grid; grid-template-columns:38px minmax(0,1fr); gap:11px; padding:12px 3px; border-bottom:1px solid var(--hr-line);}
#herotec-risk-article.hr-rp03 .hr-error-list article > b {display:grid; place-items:center; width:29px; height:29px; background:var(--hr-pale-blue); color:var(--hr-blue); border-radius:6px; font:800 11px Arial,sans-serif; direction:ltr;}
#herotec-risk-article.hr-rp03 .hr-error-list strong {color:var(--hr-navy); font-size:14px;}
#herotec-risk-article.hr-rp03 .hr-error-list p {margin:2px 0 0; color:var(--hr-muted); font-size:13px;}
#herotec-risk-article.hr-rp03 .hr-action-checklist ul {margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 18px;}
#herotec-risk-article.hr-rp03 .hr-action-checklist li {position:relative; padding:8px 30px 8px 5px; background:#f7f9fb; border-radius:5px; font-size:13px; color:#41566c;}
#herotec-risk-article.hr-rp03 .hr-action-checklist li::before {content:"✓"; position:absolute; right:10px; top:9px; color:var(--hr-teal); font-weight:800;}
#herotec-risk-article.hr-rp03 .hr-faq details {border-bottom:1px solid var(--hr-line); padding:12px 0;}
#herotec-risk-article.hr-rp03 .hr-faq details:first-of-type {border-top:1px solid var(--hr-line);}
#herotec-risk-article.hr-rp03 .hr-faq summary {cursor:pointer; color:var(--hr-navy); font-weight:700; font-size:15px; list-style:none; position:relative; padding-left:30px;}
#herotec-risk-article.hr-rp03 .hr-faq summary::-webkit-details-marker {display:none;}
#herotec-risk-article.hr-rp03 .hr-faq summary::after {content:"+"; position:absolute; left:5px; top:-3px; color:var(--hr-teal); font:700 21px Arial,sans-serif;}
#herotec-risk-article.hr-rp03 .hr-faq details[open] summary::after {content:"−";}
#herotec-risk-article.hr-rp03 .hr-faq details p {font-size:13px; color:var(--hr-muted); margin:8px 28px 0 0;}
#herotec-risk-article.hr-rp03 .hr-cta {display:flex; justify-content:space-between; align-items:center; gap:24px; margin:34px 0 28px; padding:23px 24px; border-radius:8px; background:var(--hr-navy); color:#fff;}
#herotec-risk-article.hr-rp03 .hr-cta .hr-overline {color:#9fd3cc;}
#herotec-risk-article.hr-rp03 .hr-cta h2 {color:#fff; font-size:22px; margin:3px 0 7px;}
#herotec-risk-article.hr-rp03 .hr-cta p {color:#dce7f1; font-size:13px; margin:0; max-width:730px;}
#herotec-risk-article.hr-rp03 .hr-cta a {flex:0 0 auto; display:inline-flex; gap:12px; align-items:center; border:1px solid rgba(255,255,255,.65); border-radius:5px; color:var(--hr-navy); background:#fff; padding:10px 13px; font-weight:700; text-decoration:none; font-size:12px;}
#herotec-risk-article.hr-rp03 .hr-sources {margin-top:28px; padding:20px; background:#f6f8fa; border:1px solid var(--hr-line); border-radius:8px;}
#herotec-risk-article.hr-rp03 .hr-sources h2 {font-size:21px;}
#herotec-risk-article.hr-rp03 .hr-sources ol {margin:0; padding:0 23px 0 0;}
#herotec-risk-article.hr-rp03 .hr-sources li {font-size:12px; color:#53677d; margin:6px 0;}
#herotec-risk-article.hr-rp03 .hr-footer-note {border-top:1px solid var(--hr-line); padding-top:14px; margin-top:25px; color:#728093; font-size:12px;}

/* Tool frame and interaction system */
#herotec-risk-register.rr-tool {--rr-navy:#17365d;--rr-blue:#286ba6;--rr-teal:#187f78;--rr-ink:#202d3c;--rr-muted:#66778a;--rr-line:#dbe3eb;--rr-soft:#f4f7fa;--rr-white:#fff; width:100%; max-width:100%; margin:0; padding:20px; direction:rtl; font-family:Tahoma,Arial,"Noto Sans Arabic",sans-serif; color:var(--rr-ink); background:#fff; border:1px solid #dce5ed; border-radius:11px; line-height:1.75; box-shadow:0 4px 18px rgba(23,54,93,.045); overflow:hidden;}
#herotec-risk-register.rr-tool *,#herotec-risk-register.rr-tool *::before,#herotec-risk-register.rr-tool *::after {box-sizing:border-box;}
#herotec-risk-register.rr-tool button,#herotec-risk-register.rr-tool input,#herotec-risk-register.rr-tool select,#herotec-risk-register.rr-tool textarea {font:inherit;}
#herotec-risk-register.rr-tool button {cursor:pointer;}
#herotec-risk-register.rr-tool button:disabled {opacity:.44; cursor:not-allowed;}
#herotec-risk-register.rr-tool button:focus-visible,#herotec-risk-register.rr-tool input:focus-visible,#herotec-risk-register.rr-tool select:focus-visible,#herotec-risk-register.rr-tool textarea:focus-visible {outline:3px solid rgba(40,107,166,.23); outline-offset:2px; border-color:var(--rr-blue);}
#herotec-risk-register .rr-tool-top {display:flex; justify-content:space-between; align-items:center; gap:16px; padding:0 0 16px; border-bottom:1px solid var(--rr-line);}
#herotec-risk-register .rr-tool-brand {display:flex; gap:12px; align-items:center; min-width:0;}
#herotec-risk-register .rr-brand-mark {display:grid; place-items:center; width:45px; height:45px; flex:0 0 45px; border-radius:8px; color:#fff; background:var(--rr-navy); font:700 20px Georgia,serif;}
#herotec-risk-register .rr-overline {display:block; color:#7b8ea2; font:800 9px/1.4 Arial,sans-serif; letter-spacing:.14em; direction:ltr;}
#herotec-risk-register .rr-tool-brand h2 {font-size:21px; line-height:1.4; margin:1px 0 0; color:var(--rr-navy);}
#herotec-risk-register .rr-tool-brand p {font-size:11px; margin:1px 0 0; color:var(--rr-muted);}
#herotec-risk-register .rr-version-chip {display:flex; align-items:center; gap:7px; color:#54716d; border:1px solid #d8e8e3; background:#f5faf8; border-radius:4px; padding:6px 9px; font-size:10px; white-space:nowrap;}
#herotec-risk-register .rr-live-dot {width:7px; height:7px; border-radius:50%; background:#2c9689;}
#herotec-risk-register .rr-tool-notice {font-size:12px; color:#53677d; background:#f4f8fb; border-right:3px solid var(--rr-blue); padding:9px 12px; margin:15px 0 17px; border-radius:4px;}
#herotec-risk-register .rr-tool-notice strong {color:var(--rr-navy);}
#herotec-risk-register .rr-workspace {display:grid; grid-template-columns:220px minmax(0,1fr); border:1px solid var(--rr-line); border-radius:8px; overflow:hidden; min-width:0;}
#herotec-risk-register .rr-stepper {background:#f7f9fb; border-left:1px solid var(--rr-line); padding:12px 10px; display:flex; flex-direction:column; gap:6px; min-width:0;}
#herotec-risk-register .rr-step {display:flex; align-items:center; gap:9px; text-align:right; border:1px solid transparent; background:transparent; padding:10px 8px; border-radius:6px; color:#738196; width:100%; min-width:0;}
#herotec-risk-register .rr-step:not(:disabled):hover {background:#fff; border-color:#e1e7ed;}
#herotec-risk-register .rr-step.is-active {background:#fff; border-color:#cbd9e6; box-shadow:inset -3px 0 var(--rr-blue); color:var(--rr-navy);}
#herotec-risk-register .rr-step.is-complete .rr-step-no {background:#e6f2ee; color:#217d70; border-color:#cde3dc;}
#herotec-risk-register .rr-step-no {display:grid; place-items:center; width:32px; height:32px; flex:0 0 32px; background:#edf1f5; border:1px solid #e0e6ec; border-radius:6px; color:#6a7b8d; font:800 10px Arial,sans-serif; direction:ltr;}
#herotec-risk-register .rr-step b {display:block; font-size:12px; color:inherit;}
#herotec-risk-register .rr-step small {display:block; font-size:9px; color:#8290a0; line-height:1.55; margin-top:2px;}
#herotec-risk-register .rr-step i {margin-right:auto; font-style:normal; color:#bdc9d3; font-size:10px;}
#herotec-risk-register .rr-step.is-active i {color:var(--rr-blue);}
#herotec-risk-register .rr-step.is-complete i {color:var(--rr-teal);}
#herotec-risk-register .rr-stepper-foot {margin-top:auto; padding:14px 6px 3px;}
#herotec-risk-register .rr-progress-track {display:block; height:4px; background:#e3e9ef; border-radius:4px; overflow:hidden;}
#herotec-risk-register .rr-progress-track i {display:block; width:25%; height:100%; background:var(--rr-teal); transition:width .2s ease;}
#herotec-risk-register .rr-stepper-foot small {display:block; color:#7a8796; font-size:10px; margin-top:6px;}
#herotec-risk-register .rr-form {padding:19px 21px 16px; min-width:0; background:#fff;}
#herotec-risk-register .rr-form-heading {display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding-bottom:14px; border-bottom:1px solid #edf0f3; margin-bottom:15px;}
#herotec-risk-register .rr-form-heading h3 {margin:1px 0 2px; color:var(--rr-navy); font-size:20px;}
#herotec-risk-register .rr-form-heading p {margin:0; color:var(--rr-muted); font-size:11px;}
#herotec-risk-register .rr-required-hint {font-size:10px; color:#8b98a6; padding-top:12px; white-space:nowrap;}
#herotec-risk-register .rr-step-panel[hidden] {display:none !important;}
#herotec-risk-register .rr-field-block {display:block; width:100%; min-width:0; margin:0 0 14px;}
#herotec-risk-register .rr-field-block label {display:block; color:#30475f; font-size:12px; font-weight:700; margin:0 0 5px;}
#herotec-risk-register .rr-field-block label em {color:#b75c4b; font-style:normal;}
#herotec-risk-register .rr-field-block textarea {display:block; width:100%; min-width:0; max-width:100%; min-height:92px; padding:9px 11px; border:1px solid #cfd9e2; border-radius:5px; background:#fff; color:var(--rr-ink); font:inherit; font-size:12px; line-height:1.75; resize:vertical;}
#herotec-risk-register .rr-field-block textarea:focus-visible {outline:3px solid rgba(40,107,166,.23); outline-offset:2px; border-color:var(--rr-blue);}
#herotec-risk-register .rr-field-block textarea::placeholder {color:#a1acb7; opacity:1;}
#herotec-risk-register .rr-field-block small {display:block; color:#8491a0; font-size:10px; line-height:1.6; margin-top:5px;}
#herotec-risk-register .rr-fields-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px 15px; min-width:0;}
#herotec-risk-register .rr-field {min-width:0;}
#herotec-risk-register .rr-field-full {grid-column:1/-1;}
#herotec-risk-register .rr-field label {display:block; color:#30475f; font-size:12px; font-weight:700; margin-bottom:5px;}
#herotec-risk-register .rr-field label em {color:#b75c4b; font-style:normal;}
#herotec-risk-register .rr-field input,#herotec-risk-register .rr-field select,#herotec-risk-register .rr-field textarea {width:100%; min-width:0; max-width:100%; border:1px solid #cfd9e2; border-radius:5px; background:#fff; color:var(--rr-ink); min-height:41px; padding:8px 10px; font-size:12px; line-height:1.6;}
#herotec-risk-register .rr-field textarea {resize:vertical; min-height:73px;}
#herotec-risk-register .rr-field input::placeholder,#herotec-risk-register .rr-field textarea::placeholder {color:#a1acb7;}
#herotec-risk-register .rr-field small {display:block; color:#8491a0; font-size:10px; line-height:1.55; margin-top:4px;}
#herotec-risk-register .rr-field-note {display:flex; align-items:flex-start; gap:8px; background:#f6f9fb; border:1px solid #e6edf2; border-radius:5px; padding:9px 10px;}
#herotec-risk-register .rr-field-note p {margin:0; color:#6d7f90; font-size:10px;}
#herotec-risk-register .rr-note-icon {display:grid; place-items:center; width:17px; height:17px; flex:0 0 17px; border-radius:50%; background:#e7eff7; color:var(--rr-blue); font:700 11px Arial,sans-serif;}
#herotec-risk-register .rr-calc-panel {display:grid; grid-template-columns:minmax(0,1.35fr) minmax(110px,.65fr); gap:12px; margin:16px 0; padding:14px; border:1px solid #dce5ed; border-radius:7px; background:#f7f9fb;}
#herotec-risk-register .rr-calc-main > span,#herotec-risk-register .rr-calc-side span {display:block; color:#7b8da0; font:800 9px Arial,sans-serif; letter-spacing:.14em; direction:ltr;}
#herotec-risk-register .rr-calc-main > strong {display:inline-block; font:800 29px/1.4 Arial,sans-serif; color:var(--rr-navy); direction:ltr; margin:3px 8px 0 0;}
#herotec-risk-register .rr-calc-main > b {display:inline-block; font-size:11px; padding:4px 8px; border-radius:4px; background:#edf1f5; color:#68788a; vertical-align:5px;}
#herotec-risk-register .rr-calc-main > b.rr-level-low {background:#e7f2eb;color:#2d6b4b;}
#herotec-risk-register .rr-calc-main > b.rr-level-watch {background:#f3f3dd;color:#716921;}
#herotec-risk-register .rr-calc-main > b.rr-level-caution {background:#faedcf;color:#8b5c16;}
#herotec-risk-register .rr-calc-main > b.rr-level-high {background:#f8e5e0;color:#923f34;}
#herotec-risk-register .rr-calc-main p {font-size:11px; color:#687a8c; margin:2px 0 0;}
#herotec-risk-register .rr-calc-side {border-right:1px solid #dce4eb; padding-right:12px; display:flex; flex-direction:column; justify-content:center;}
#herotec-risk-register .rr-calc-side strong {font:700 20px Arial,sans-serif; color:var(--rr-navy); direction:ltr; margin:4px 0 0;}
#herotec-risk-register .rr-calc-side small {font-size:10px; color:#8190a0;}
#herotec-risk-register .rr-emv-output {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:5px 14px; border-top:1px solid #edf0f3; border-bottom:1px solid #edf0f3; padding:11px 2px; margin:9px 0;}
#herotec-risk-register .rr-emv-output span {font-size:12px; color:#52677d; font-weight:700;}
#herotec-risk-register .rr-emv-output strong {font-size:17px; color:var(--rr-teal); direction:ltr;}
#herotec-risk-register .rr-emv-output small {width:100%; color:#8793a0; font-size:10px;}
#herotec-risk-register .rr-inline-note {font-size:10px; color:#7b6a46; background:#fbf7ed; padding:8px 10px; border-right:2px solid #c39a4d; border-radius:3px;}
#herotec-risk-register .rr-residual-panel {margin-top:14px; padding:13px; background:#f7faf9; border:1px solid #dce9e5; border-radius:7px;}
#herotec-risk-register .rr-subheading {display:flex; gap:9px; align-items:center; margin-bottom:12px;}
#herotec-risk-register .rr-mini-step {display:grid; place-items:center; width:25px; height:25px; border-radius:6px; background:#e7f2ef; color:var(--rr-teal); font:800 12px Arial,sans-serif;}
#herotec-risk-register .rr-subheading strong {display:block; color:var(--rr-navy); font-size:12px;}
#herotec-risk-register .rr-subheading small {display:block; color:var(--rr-muted); font-size:10px;}
#herotec-risk-register .rr-residual-result {margin-top:10px; display:flex; align-items:center; gap:9px; padding-top:10px; border-top:1px solid #e1ebe7;}
#herotec-risk-register .rr-residual-result span {font-size:11px; color:#536a64;}
#herotec-risk-register .rr-residual-result strong {font:800 20px Arial,sans-serif; color:var(--rr-teal); direction:ltr;}
#herotec-risk-register .rr-residual-result small {font-size:10px; color:#83928d;}
#herotec-risk-register .rr-save-summary {display:flex; gap:10px; align-items:flex-start; margin-top:15px; padding:12px; border:1px solid #dce9e5; background:#f5faf8; border-radius:6px;}
#herotec-risk-register .rr-save-icon {display:grid; place-items:center; width:26px; height:26px; flex:0 0 26px; background:#e5f2ed; color:var(--rr-teal); border-radius:50%;}
#herotec-risk-register .rr-save-summary strong {font-size:12px; color:var(--rr-navy);}
#herotec-risk-register .rr-save-summary p {font-size:10px; margin:2px 0 0; color:var(--rr-muted);}
#herotec-risk-register .rr-errors {margin:13px 0; padding:10px 13px; border:1px solid #e7c6bf; border-right:3px solid #b85c4b; background:#fff8f6; color:#873f34; border-radius:5px; font-size:11px;}
#herotec-risk-register .rr-errors[hidden] {display:none;}
#herotec-risk-register .rr-errors ul {margin:0; padding-right:17px;}
#herotec-risk-register .rr-form-actions {display:flex; align-items:center; gap:8px; padding-top:15px; margin-top:17px; border-top:1px solid #edf0f3;}
#herotec-risk-register .rr-action-spacer {flex:1;}
#herotec-risk-register .rr-btn {min-height:39px; border:1px solid transparent; border-radius:5px; padding:8px 14px; font-size:11px; font-weight:700; transition:background .15s ease,border-color .15s ease;}
#herotec-risk-register .rr-btn-primary {color:#fff; background:var(--rr-navy); border-color:var(--rr-navy);}
#herotec-risk-register .rr-btn-primary:hover {background:#214a78;}
#herotec-risk-register .rr-btn-light {background:#fff; border-color:#d4dde6; color:#485e74;}
#herotec-risk-register .rr-btn-ghost {background:transparent; color:#627386; border-color:transparent;}
#herotec-risk-register .rr-btn-ghost:hover {background:#f3f6f9;}
#herotec-risk-register .rr-btn-outline {background:#fff; border-color:#cad7e3; color:var(--rr-blue);}

#herotec-risk-register .rr-register-area {margin-top:24px; padding-top:20px; border-top:1px solid var(--rr-line);}
#herotec-risk-register .rr-register-head {display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px;}
#herotec-risk-register .rr-register-head h3 {font-size:19px; color:var(--rr-navy); margin:2px 0;}
#herotec-risk-register .rr-register-head p {font-size:10px; color:var(--rr-muted); margin:0;}
#herotec-risk-register .rr-sample-banner {display:flex; justify-content:space-between; align-items:center; gap:10px; padding:8px 11px; margin:10px 0; background:#f7f8ef; border:1px solid #e7e7cd; border-radius:5px; color:#6f6b3d; font-size:10px;}
#herotec-risk-register .rr-sample-banner[hidden] {display:none;}
#herotec-risk-register .rr-sample-banner button {background:transparent; color:#6e6333; border:0; text-decoration:underline; font-size:10px; font-weight:700;}
#herotec-risk-register .rr-kpi-grid {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin:12px 0;}
#herotec-risk-register .rr-kpi {padding:12px 13px; border:1px solid var(--rr-line); border-radius:6px; background:#fff; min-width:0;}
#herotec-risk-register .rr-kpi span {display:block; font-size:10px; color:#68798b;}
#herotec-risk-register .rr-kpi strong {display:block; font:800 25px/1.35 Arial,sans-serif; color:var(--rr-navy); direction:ltr; text-align:right;}
#herotec-risk-register .rr-kpi small {display:block; font-size:9px; color:#8c98a5;}
#herotec-risk-register .rr-kpi-red {border-top:3px solid #b85c4b;}
#herotec-risk-register .rr-kpi-red strong {color:#9a493d;}
#herotec-risk-register .rr-kpi-owner {border-top:3px solid #c39a4d;}
#herotec-risk-register .rr-kpi-overdue {border-top:3px solid var(--rr-blue);}
#herotec-risk-register .rr-distribution {padding:12px 13px; background:#f7f9fb; border:1px solid #e5ebf0; border-radius:6px; margin:12px 0;}
#herotec-risk-register .rr-distribution-head {display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:9px;}
#herotec-risk-register .rr-distribution-head strong {font-size:11px; color:var(--rr-navy);}
#herotec-risk-register .rr-distribution-head small {font-size:9px; color:#8996a3;}
#herotec-risk-register .rr-distribution-items {display:flex; flex-wrap:wrap; gap:7px;}
#herotec-risk-register .rr-dist-item {display:flex; align-items:center; gap:7px; border:1px solid var(--rr-line); background:#fff; padding:5px 8px; border-radius:4px; font-size:10px; color:#52677d;}
#herotec-risk-register .rr-dist-item b {font:800 12px Arial,sans-serif; color:var(--rr-navy); direction:ltr;}
#herotec-risk-register .rr-dist-dot {width:7px; height:7px; border-radius:50%; background:#8797a8;}
#herotec-risk-register .rr-dist-item[data-level="منخفض"] .rr-dist-dot {background:#54916d;}
#herotec-risk-register .rr-dist-item[data-level="مراقبة"] .rr-dist-dot {background:#b2a64b;}
#herotec-risk-register .rr-dist-item[data-level="تحفظ"] .rr-dist-dot {background:#cb963b;}
#herotec-risk-register .rr-dist-item[data-level="أحمر / فوري"] .rr-dist-dot {background:#b85c4b;}
#herotec-risk-register .rr-dist-empty {font-size:10px; color:#8794a1;}
#herotec-risk-register .rr-controls-bar {display:grid; grid-template-columns:minmax(185px,1.5fr) repeat(4,minmax(105px,1fr)) minmax(115px,1fr); gap:7px; margin:14px 0 9px;}
#herotec-risk-register .rr-search-field {display:flex; align-items:center; gap:6px; min-width:0; padding:0 9px; border:1px solid #d4dde6; border-radius:5px; background:#fff;}
#herotec-risk-register .rr-search-field > span {font-size:17px; color:#8292a2;}
#herotec-risk-register .rr-search-field input {width:100%; min-width:0; height:35px; border:0; outline:0; color:var(--rr-ink); font-size:10px; background:transparent;}
#herotec-risk-register .rr-search-field input:focus-visible {outline:0;}
#herotec-risk-register .rr-filter {display:block; min-width:0;}
#herotec-risk-register .rr-filter > span {display:block; font-size:9px; color:#7d8b99; margin:0 0 2px;}
#herotec-risk-register .rr-filter select {width:100%; min-width:0; height:35px; padding:4px 7px; border:1px solid #d4dde6; border-radius:5px; background:#fff; color:#455b71; font-size:10px;}
#herotec-risk-register .rr-register-meta {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; border-bottom:1px solid #edf0f3; padding:9px 0;}
#herotec-risk-register #rr-record-count {color:#6b7c8e; font-size:10px;}
#herotec-risk-register .rr-utility-actions {display:flex; align-items:center; flex-wrap:wrap; gap:6px 11px;}
#herotec-risk-register .rr-text-btn {border:0; background:transparent; color:var(--rr-blue); padding:3px 0; font-size:10px; font-weight:700;}
#herotec-risk-register .rr-text-btn:hover {text-decoration:underline;}
#herotec-risk-register .rr-text-btn:disabled {text-decoration:none;}
#herotec-risk-register .rr-text-danger {color:#a34e41;}
#herotec-risk-register .rr-save-toggle {display:inline-flex; align-items:center; gap:5px; color:#718092; font-size:10px; cursor:pointer;}
#herotec-risk-register .rr-save-toggle input {width:14px; height:14px; accent-color:var(--rr-teal); margin:0;}
#herotec-risk-register .rr-table-wrap {width:100%; max-width:100%; overflow:hidden; border:1px solid var(--rr-line); border-radius:6px; margin-top:10px;}
#herotec-risk-register .rr-register-table {width:100%; table-layout:fixed; border-collapse:collapse; font-size:10px;}
#herotec-risk-register .rr-register-table th,#herotec-risk-register .rr-register-table td {padding:9px 7px; border-bottom:1px solid #edf0f3; text-align:right; vertical-align:top; overflow-wrap:anywhere;}
#herotec-risk-register .rr-register-table th {background:#f4f7fa; color:#5a6f84; font-size:9px; font-weight:800; white-space:normal;}
#herotec-risk-register .rr-register-table th:nth-child(1) {width:8%;}
#herotec-risk-register .rr-register-table th:nth-child(2) {width:27%;}
#herotec-risk-register .rr-register-table th:nth-child(3) {width:10%;}
#herotec-risk-register .rr-register-table th:nth-child(4) {width:11%;}
#herotec-risk-register .rr-register-table th:nth-child(5) {width:15%;}
#herotec-risk-register .rr-register-table th:nth-child(6) {width:11%;}
#herotec-risk-register .rr-register-table th:nth-child(7) {width:11%;}
#herotec-risk-register .rr-register-table th:nth-child(8) {width:7%;}
#herotec-risk-register .rr-register-table tr:last-child td {border-bottom:0;}
#herotec-risk-register .rr-risk-statement {color:#334b63; font-weight:600;}
#herotec-risk-register .rr-risk-id {font:800 10px Arial,sans-serif; direction:ltr; color:#59718a; white-space:nowrap;}
#herotec-risk-register .rr-score-badge {display:inline-flex; align-items:center; gap:5px; font:800 11px Arial,sans-serif; direction:ltr; color:var(--rr-navy);}
#herotec-risk-register .rr-level-badge {display:inline-block; margin-top:3px; padding:2px 5px; border-radius:3px; font:700 9px Tahoma,Arial,sans-serif; direction:rtl; white-space:nowrap;}
#herotec-risk-register .rr-level-badge[data-level="منخفض"] {background:#e7f2eb; color:#2d6b4b;}
#herotec-risk-register .rr-level-badge[data-level="مراقبة"] {background:#f3f3dd; color:#716921;}
#herotec-risk-register .rr-level-badge[data-level="تحفظ"] {background:#faedcf; color:#8b5c16;}
#herotec-risk-register .rr-level-badge[data-level="أحمر / فوري"] {background:#f8e5e0; color:#923f34;}
#herotec-risk-register .rr-status-badge {display:inline-block; font-size:9px; padding:2px 6px; border:1px solid #e0e6ec; background:#f8fafc; color:#607286; border-radius:3px;}
#herotec-risk-register .rr-review-late {color:#a1473b; font-weight:800;}
#herotec-risk-register .rr-row-button {border:1px solid #d4dde6; background:#fff; color:#536b82; border-radius:4px; padding:4px 6px; font-size:9px; margin:1px;}
#herotec-risk-register .rr-detail-row td {background:#f8fafc; padding:12px 15px;}
#herotec-risk-register .rr-detail-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 15px;}
#herotec-risk-register .rr-detail-item span {display:block; color:#8793a0; font-size:9px;}
#herotec-risk-register .rr-detail-item b {display:block; color:#465c72; font-size:10px; font-weight:600;}
#herotec-risk-register .rr-empty-cell {padding:24px !important; text-align:center !important; color:#8593a2;}
#herotec-risk-register .rr-risk-cards {display:none;}
#herotec-risk-register .rr-privacy {margin:11px 0 0; color:#82909e; font-size:10px;}
#herotec-risk-register .rr-tool-footer {display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px 15px; padding-top:13px; margin-top:15px; border-top:1px solid var(--rr-line); color:#8895a2; font-size:9px;}
#herotec-risk-register .rr-visually-hidden {position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important;}

@media (max-width:980px) {
  #herotec-risk-article.hr-rp03 .hr-shell {width:min(100% - 32px,900px);}
  #herotec-risk-register .rr-controls-bar {grid-template-columns:repeat(3,minmax(0,1fr));}
  #herotec-risk-register .rr-search-field {grid-column:span 2;}
}
@media (max-width:820px) {
  #herotec-risk-article.hr-rp03 .hr-shell {width:min(100% - 28px,760px);}
  #herotec-risk-article.hr-rp03 .hr-hero {grid-template-columns:minmax(0,1fr) 240px; gap:20px;}
  #herotec-risk-article.hr-rp03 .hr-summary-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  #herotec-risk-article.hr-rp03 .hr-summary-item:nth-child(2) {border-left:0;}
  #herotec-risk-article.hr-rp03 .hr-summary-item:nth-child(-n+2) {border-bottom:1px solid var(--hr-line);}
  #herotec-risk-article.hr-rp03 .hr-fields-visual {grid-template-columns:repeat(3,minmax(0,1fr));}
  #herotec-risk-register .rr-workspace {grid-template-columns:175px minmax(0,1fr);}
  #herotec-risk-register .rr-stepper {padding:9px 7px;}
  #herotec-risk-register .rr-form {padding:16px;}
  #herotec-risk-register .rr-kpi-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  #herotec-risk-register .rr-table-wrap {display:none;}
  #herotec-risk-register .rr-risk-cards {display:grid; gap:9px; margin-top:10px;}
  #herotec-risk-register .rr-risk-card {border:1px solid var(--rr-line); border-right:3px solid #a6b4c2; border-radius:6px; padding:11px 12px; background:#fff; min-width:0;}
  #herotec-risk-register .rr-risk-card[data-level="أحمر / فوري"] {border-right-color:#b85c4b;}
  #herotec-risk-register .rr-risk-card[data-level="تحفظ"] {border-right-color:#cb963b;}
  #herotec-risk-register .rr-risk-card[data-level="مراقبة"] {border-right-color:#b2a64b;}
  #herotec-risk-register .rr-risk-card[data-level="منخفض"] {border-right-color:#54916d;}
  #herotec-risk-register .rr-risk-card-top {display:flex; align-items:flex-start; justify-content:space-between; gap:10px;}
  #herotec-risk-register .rr-risk-card-top strong {display:block; color:var(--rr-navy); font-size:12px;}
  #herotec-risk-register .rr-risk-card-top small {display:block; color:#8793a0; font:700 9px Arial,sans-serif; direction:ltr;}
  #herotec-risk-register .rr-risk-card p {font-size:11px; margin:7px 0; color:#435a71;}
  #herotec-risk-register .rr-risk-card-meta {display:flex; flex-wrap:wrap; gap:5px 10px; color:#708093; font-size:9px;}
  #herotec-risk-register .rr-risk-card details {border-top:1px solid #edf0f3; margin-top:8px; padding-top:7px;}
  #herotec-risk-register .rr-risk-card summary {font-size:10px; color:var(--rr-blue); font-weight:700; cursor:pointer;}
  #herotec-risk-register .rr-risk-card .rr-detail-grid {grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:8px;}
  #herotec-risk-register .rr-risk-card-actions {display:flex; flex-wrap:wrap; gap:5px; margin-top:9px;}
  #herotec-risk-register .rr-risk-card-actions .rr-row-button {font-size:10px; padding:5px 8px;}
  #herotec-risk-register .rr-empty-card {padding:20px; border:1px dashed var(--rr-line); border-radius:6px; text-align:center; color:#8793a0; font-size:11px;}
}
@media (max-width:600px) {
  #herotec-risk-article.hr-rp03 .hr-shell {width:calc(100% - 30px); padding-top:16px; padding-bottom:40px;}
  #herotec-risk-article.hr-rp03 .hr-hero {grid-template-columns:minmax(0,1fr); gap:17px; padding:10px 0 24px;}
  #herotec-risk-article.hr-rp03 .hr-hero-visual {max-width:390px; margin:0 auto;}
  #herotec-risk-article.hr-rp03 .hr-hero-visual svg {max-height:180px;}
  #herotec-risk-article.hr-rp03 .hr-lead {font-size:18px;}
  #herotec-risk-article.hr-rp03 .hr-summary-item {padding:12px;}
  #herotec-risk-article.hr-rp03 .hr-toc ol {grid-template-columns:1fr;}
  #herotec-risk-article.hr-rp03 .hr-concept-grid {grid-template-columns:1fr; gap:8px;}
  #herotec-risk-article.hr-rp03 .hr-concept-card {padding:12px 14px;}
  #herotec-risk-article.hr-rp03 .hr-fields-visual {grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px;}
  #herotec-risk-article.hr-rp03 .hr-field-card:last-child {grid-column:1/-1;}
  #herotec-risk-article.hr-rp03 .hr-field-card {padding:11px;}
  #herotec-risk-article.hr-rp03 .hr-field-card p {font-size:11px;}
  #herotec-risk-article.hr-rp03 .hr-content-table thead {display:none;}
  #herotec-risk-article.hr-rp03 .hr-content-table,#herotec-risk-article.hr-rp03 .hr-content-table tbody,#herotec-risk-article.hr-rp03 .hr-content-table tr {display:block; width:100%;}
  #herotec-risk-article.hr-rp03 .hr-content-table tr {padding:8px 10px; border-bottom:1px solid var(--hr-line);}
  #herotec-risk-article.hr-rp03 .hr-content-table tr:last-child {border-bottom:0;}
  #herotec-risk-article.hr-rp03 .hr-content-table td {display:grid; grid-template-columns:95px minmax(0,1fr); gap:8px; padding:5px 0; border:0; width:100% !important; font-size:11px;}
  #herotec-risk-article.hr-rp03 .hr-content-table td::before {font-weight:700; color:#8090a0; font-size:10px;}
  #herotec-risk-article.hr-rp03 .hr-content-table td:nth-child(1)::before {content:"الحقل";}
  #herotec-risk-article.hr-rp03 .hr-content-table td:nth-child(2)::before {content:"المطلوب";}
  #herotec-risk-article.hr-rp03 .hr-content-table td:nth-child(3)::before {content:"مثال";}
  #herotec-risk-article.hr-rp03 .hr-process {display:grid; grid-template-columns:1fr; padding:12px; gap:2px;}
  #herotec-risk-article.hr-rp03 .hr-process-step {display:grid; grid-template-columns:30px minmax(0,1fr); grid-template-rows:auto auto; align-items:center; text-align:right; column-gap:10px; padding:7px;}
  #herotec-risk-article.hr-rp03 .hr-process-step span {grid-row:1/3; margin:0;}
  #herotec-risk-article.hr-rp03 .hr-process-step strong {font-size:12px;}
  #herotec-risk-article.hr-rp03 .hr-process-step small {font-size:10px; margin:0;}
  #herotec-risk-article.hr-rp03 .hr-process-arrow {transform:rotate(90deg); height:12px; font-size:14px;}
  #herotec-risk-article.hr-rp03 .hr-equation-card {align-items:flex-start; flex-direction:column; gap:12px; padding:14px;}
  #herotec-risk-article.hr-rp03 .hr-equation-value {font-size:18px; white-space:normal; width:100%; text-align:center;}
  #herotec-risk-article.hr-rp03 .hr-matrix-figure {padding:12px 9px;}
  #herotec-risk-article.hr-rp03 .hr-matrix th:first-child {width:80px; font-size:9px;}
  #herotec-risk-article.hr-rp03 .hr-matrix th {font-size:10px; padding:6px 2px;}
  #herotec-risk-article.hr-rp03 .hr-matrix td {height:36px; font-size:12px;}
  #herotec-risk-article.hr-rp03 .hr-matrix {border-spacing:3px;}
  #herotec-risk-article.hr-rp03 .hr-matrix-heading {align-items:flex-start; flex-direction:column; gap:3px;}
  #herotec-risk-article.hr-rp03 .hr-emv-card {padding:14px;}
  #herotec-risk-article.hr-rp03 .hr-emv-label {align-items:flex-start; flex-direction:column; gap:2px;}
  #herotec-risk-article.hr-rp03 .hr-emv-equation {font-size:15px; overflow-wrap:anywhere;}
  #herotec-risk-article.hr-rp03 .hr-emv-example {gap:8px;}
  #herotec-risk-article.hr-rp03 .hr-emv-example b {font-size:15px;}
  #herotec-risk-article.hr-rp03 .hr-emv-example small {font-size:9px;}
  #herotec-risk-article.hr-rp03 .hr-case-grid {grid-template-columns:1fr;}
  #herotec-risk-article.hr-rp03 .hr-treatment-rail {grid-template-columns:repeat(2,minmax(0,1fr));}
  #herotec-risk-article.hr-rp03 .hr-treatment-rail > div {border-bottom:1px solid var(--hr-line);}
  #herotec-risk-article.hr-rp03 .hr-treatment-rail > div:nth-child(even) {border-left:0;}
  #herotec-risk-article.hr-rp03 .hr-treatment-rail > div:nth-last-child(-n+2) {border-bottom:0;}
  #herotec-risk-article.hr-rp03 .hr-download-card {align-items:flex-start; gap:10px; flex-wrap:wrap; padding:13px;}
  #herotec-risk-article.hr-rp03 .hr-download-icon {width:43px; height:46px; flex-basis:43px;}
  #herotec-risk-article.hr-rp03 .hr-download-copy {flex:1 1 calc(100% - 60px);}
  #herotec-risk-article.hr-rp03 .hr-download-badge {margin-right:53px;}
  #herotec-risk-article.hr-rp03 .hr-tool-intro {display:block; padding:15px;}
  #herotec-risk-article.hr-rp03 .hr-tool-intro h2 {font-size:19px;}
  #herotec-risk-article.hr-rp03 .hr-tool-intro-meta {grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:12px; gap:4px;}
  #herotec-risk-article.hr-rp03 .hr-tool-intro-meta span {font-size:9px; padding:5px 3px;}
  #herotec-risk-article.hr-rp03 .hr-action-checklist ul {grid-template-columns:1fr;}
  #herotec-risk-article.hr-rp03 .hr-cta {display:block; padding:17px;}
  #herotec-risk-article.hr-rp03 .hr-cta h2 {font-size:19px;}
  #herotec-risk-article.hr-rp03 .hr-cta a {margin-top:14px;}
  #herotec-risk-register.rr-tool {padding:13px 11px; border-radius:7px;}
  #herotec-risk-register .rr-tool-top {align-items:flex-start; flex-direction:column; gap:8px;}
  #herotec-risk-register .rr-tool-brand h2 {font-size:18px;}
  #herotec-risk-register .rr-version-chip {align-self:flex-start;}
  #herotec-risk-register .rr-workspace {display:block;}
  #herotec-risk-register .rr-stepper {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; padding:8px; border-left:0; border-bottom:1px solid var(--rr-line);}
  #herotec-risk-register .rr-step {display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; padding:6px 2px; border-radius:4px;}
  #herotec-risk-register .rr-step.is-active {box-shadow:inset 0 -2px var(--rr-blue);}
  #herotec-risk-register .rr-step-no {width:27px; height:27px; flex-basis:27px; font-size:9px;}
  #herotec-risk-register .rr-step b {font-size:9px; line-height:1.4;}
  #herotec-risk-register .rr-step small {display:none;}
  #herotec-risk-register .rr-step i {display:none;}
  #herotec-risk-register .rr-stepper-foot {grid-column:1/-1; margin-top:2px; padding:4px 4px 0;}
  #herotec-risk-register .rr-stepper-foot small {font-size:9px; text-align:center;}
  #herotec-risk-register .rr-form {padding:14px 12px;}
  #herotec-risk-register .rr-form-heading {display:block;}
  #herotec-risk-register .rr-form-heading h3 {font-size:18px;}
  #herotec-risk-register .rr-required-hint {display:block; padding-top:5px;}
  #herotec-risk-register .rr-fields-grid {grid-template-columns:minmax(0,1fr); gap:11px;}
  #herotec-risk-register .rr-field-full {grid-column:auto;}
  #herotec-risk-register .rr-calc-panel {grid-template-columns:minmax(0,1fr) 90px; padding:11px; gap:7px;}
  #herotec-risk-register .rr-calc-side {padding-right:8px;}
  #herotec-risk-register .rr-calc-main > strong {font-size:25px;}
  #herotec-risk-register .rr-form-actions {flex-wrap:wrap; gap:6px;}
  #herotec-risk-register .rr-form-actions .rr-btn {flex:1 1 auto; padding:8px 9px;}
  #herotec-risk-register .rr-action-spacer {display:none;}
  #herotec-risk-register #rr-next,#herotec-risk-register #rr-save-risk {flex:1 1 100%;}
  #herotec-risk-register .rr-register-head {align-items:flex-start; flex-direction:column;}
  #herotec-risk-register .rr-register-head .rr-btn {width:100%;}
  #herotec-risk-register .rr-controls-bar {grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px;}
  #herotec-risk-register .rr-search-field {grid-column:1/-1;}
  #herotec-risk-register .rr-filter {min-width:0;}
  #herotec-risk-register .rr-register-meta {align-items:flex-start; flex-direction:column;}
  #herotec-risk-register .rr-utility-actions {gap:8px 12px;}
  #herotec-risk-register .rr-utility-actions .rr-text-btn {font-size:9px;}
  #herotec-risk-register .rr-kpi {padding:10px;}
  #herotec-risk-register .rr-kpi strong {font-size:22px;}
  #herotec-risk-register .rr-risk-card .rr-detail-grid {grid-template-columns:minmax(0,1fr);}
  #herotec-risk-register .rr-sample-banner {align-items:flex-start; flex-direction:column;}
  #herotec-risk-register .rr-tool-footer {flex-direction:column;}
}
@media (max-width:370px) {
  #herotec-risk-register.rr-tool {padding:10px 8px;}
  #herotec-risk-register .rr-step b {font-size:8px;}
  #herotec-risk-register .rr-step-no {width:24px; height:24px; flex-basis:24px;}
  #herotec-risk-register .rr-kpi-grid {gap:6px;}
  #herotec-risk-register .rr-kpi {padding:8px;}
  #herotec-risk-register .rr-distribution-items {gap:5px;}
  #herotec-risk-register .rr-dist-item {font-size:9px; padding:4px 6px;}
  #herotec-risk-article.hr-rp03 .hr-matrix th:first-child {width:68px;}
  #herotec-risk-article.hr-rp03 .hr-matrix td {height:32px; font-size:11px;}
}
@media print {
  #herotec-risk-article.hr-rp03 > .hr-shell > *:not(#herotec-risk-register) {display:none !important;}
  #herotec-risk-article.hr-rp03 .hr-shell {width:100% !important; padding:0 !important;}
  #herotec-risk-register.rr-tool {border:0 !important; box-shadow:none !important; padding:0 !important;}
  #herotec-risk-register .rr-tool-top,#herotec-risk-register .rr-tool-notice,#herotec-risk-register .rr-workspace,#herotec-risk-register .rr-controls-bar,#herotec-risk-register .rr-utility-actions,#herotec-risk-register .rr-privacy,#herotec-risk-register .rr-sample-banner,#herotec-risk-register .rr-tool-footer {display:none !important;}
  #herotec-risk-register .rr-table-wrap {display:block !important; border:0 !important; overflow:visible !important;}
  #herotec-risk-register .rr-risk-cards {display:none !important;}
  #herotec-risk-register .rr-register-table {font-size:8pt !important;}
  #herotec-risk-register .rr-register-table th,#herotec-risk-register .rr-register-table td {padding:4px !important;}
  #herotec-risk-register .rr-detail-row {display:table-row !important;}
  #herotec-risk-register .rr-row-button {display:none !important;}
  #herotec-risk-register .rr-kpi-grid {grid-template-columns:repeat(4,1fr) !important;}
  #herotec-risk-register tr {break-inside:avoid;}
}


/* v1.3.1 hotfix: prevent WordPress theme figure floats from squeezing article text */
#herotec-risk-article.hr-rp03 figure.hr-article-image {
  display:block !important;
  float:none !important;
  clear:both !important;
  position:relative;
  width:100% !important;
  max-width:760px !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  margin:26px auto !important;
}
#herotec-risk-article.hr-rp03 figure.hr-article-image img {
  display:block !important;
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 auto !important;
}
/* Keep the article hero from forming a cramped text column on tablet widths. */
@media (max-width:820px) {
  #herotec-risk-article.hr-rp03 .hr-hero {
    grid-template-columns:minmax(0,1fr) !important;
    gap:17px !important;
  }
  #herotec-risk-article.hr-rp03 .hr-hero-copy,
  #herotec-risk-article.hr-rp03 .hr-hero-visual {
    width:100%;
    min-width:0;
  }
  #herotec-risk-article.hr-rp03 .hr-hero-visual {
    max-width:460px;
    margin-inline:auto;
  }
}


/* v1.3.2: force the R-P03 editorial hero into a vertical reading sequence.
   Introductory text -> visual -> supporting text. This is intentionally
   independent of viewport breakpoints so theme/container widths cannot
   turn the hero back into side-by-side columns. */
#herotec-risk-article.hr-rp03 .hr-hero.hr-hero-stacked {
  display:flex !important;
  flex-direction:column !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  grid-template-columns:none !important;
  gap:18px !important;
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
#herotec-risk-article.hr-rp03 .hr-hero.hr-hero-stacked > .hr-hero-copy {
  display:block !important;
  order:1;
  flex:0 0 auto !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  float:none !important;
  clear:both !important;
}
#herotec-risk-article.hr-rp03 .hr-hero.hr-hero-stacked > .hr-hero-visual-stacked {
  display:block !important;
  order:2;
  position:relative !important;
  float:none !important;
  clear:both !important;
  flex:0 0 auto !important;
  width:100% !important;
  max-width:440px !important;
  min-width:0 !important;
  margin:8px auto !important;
  align-self:center !important;
  box-sizing:border-box !important;
}
#herotec-risk-article.hr-rp03 .hr-hero.hr-hero-stacked > .hr-hero-visual-stacked svg {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 auto !important;
}
#herotec-risk-article.hr-rp03 .hr-hero.hr-hero-stacked > .hr-hero-copy-after {
  order:3;
  margin-top:0 !important;
}
/* Every editorial image is a separate full-width block; theme float rules
   must never cause body text to wrap beside an illustration. */
#herotec-risk-article.hr-rp03 figure.hr-article-image {
  display:block !important;
  position:relative !important;
  float:none !important;
  clear:both !important;
  width:100% !important;
  max-width:760px !important;
  min-width:0 !important;
  margin:26px auto !important;
  box-sizing:border-box !important;
}
#herotec-risk-article.hr-rp03 figure.hr-article-image img {
  display:block !important;
  position:static !important;
  float:none !important;
  clear:both !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
}
