/* HEROTEC R-P05 – scoped styles only */
.hrp05-article{direction:rtl;text-align:right;color:#243247;line-height:1.9;font-family:inherit;max-width:100%;overflow-wrap:anywhere}
.hrp05-article *{box-sizing:border-box}
.hrp05-article .hrp05-hero,.hrp05-article .hrp05-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:clamp(16px,3vw,28px);margin:0 0 22px}
.hrp05-article .hrp05-hero{background:linear-gradient(135deg,#f7f9fc,#eef3f8);border-color:#dbe4ef}
.hrp05-article .hrp05-kicker{font-weight:700;color:#245770;margin:0 0 8px}
.hrp05-article .hrp05-overline{color:#66758a;font-size:.92rem;margin:0 0 12px}
.hrp05-article .hrp05-lead{font-size:1.12rem;font-weight:600;color:#1a2d4b}
.hrp05-article h2{font-size:1.45rem;line-height:1.5;color:#1a2d4b;margin:0 0 14px}
.hrp05-article h3{font-size:1.12rem;color:#245770;margin:20px 0 8px}
.hrp05-article p{margin:0 0 12px}
.hrp05-article ul,.hrp05-article ol{padding-inline-start:24px;margin:8px 0 16px}
.hrp05-article li{margin:5px 0}
.hrp05-article a{color:#176b87;text-decoration:underline;text-underline-offset:3px}
.hrp05-article .hrp05-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.hrp05-article .hrp05-meta span{display:inline-block;padding:5px 10px;border-radius:20px;background:#e8eff5;color:#34516a;font-size:.82rem}
.hrp05-article .hrp05-table-wrap{display:block;width:100%;overflow-x:auto;margin:14px 0}
.hrp05-article table{width:100%;border-collapse:collapse;min-width:560px;font-size:.92rem}
.hrp05-article th,.hrp05-article td{border:1px solid #dbe3ec;padding:10px;text-align:right;vertical-align:top}
.hrp05-article th{background:#1a2d4b;color:#fff}
.hrp05-article .hrp05-cta{background:#f3f7fa;border-color:#cddbe7}
.hrp05-article .hrp05-tool-mount{margin:18px 0;padding:16px;border:1px dashed #9fb2c5;border-radius:14px;min-height:150px}
.hrp05-article .hrp05-tool-fallback{color:#64748b;text-align:center;padding:28px 10px}
.hrp05-tool{direction:rtl;text-align:right;color:#243247;font-family:inherit;line-height:1.6}
.hrp05-tool *{box-sizing:border-box}
.hrp05-tool .rp05-panel{background:#fff;border:1px solid #dce4ed;border-radius:14px;padding:16px;margin:12px 0}
.hrp05-tool .rp05-stepper{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.hrp05-tool .rp05-step{flex:1 1 120px;border:1px solid #d8e1ea;border-radius:10px;padding:8px;background:#f7f9fb;font-size:.85rem;text-align:center}
.hrp05-tool .rp05-step[aria-current="step"]{background:#e8f0f6;border-color:#7e9ab2;font-weight:700;color:#1a2d4b}
.hrp05-tool .rp05-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hrp05-tool .rp05-field{display:flex;flex-direction:column;gap:5px;min-width:0}
.hrp05-tool label{font-weight:600;font-size:.9rem}
.hrp05-tool input,.hrp05-tool select,.hrp05-tool textarea{width:100%;max-width:100%;border:1px solid #bdc9d6;border-radius:8px;padding:10px;background:#fff;color:#1f2937;font:inherit}
.hrp05-tool textarea{min-height:76px;resize:vertical}
.hrp05-tool input:focus,.hrp05-tool select:focus,.hrp05-tool textarea:focus,.hrp05-tool button:focus-visible{outline:3px solid #8db6d0;outline-offset:2px}
.hrp05-tool .rp05-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.hrp05-tool button{border:1px solid #9eafbf;border-radius:9px;padding:9px 14px;background:#f5f8fa;color:#1a2d4b;font:inherit;cursor:pointer}
.hrp05-tool button.primary{background:#1a2d4b;color:#fff;border-color:#1a2d4b}
.hrp05-tool button.danger{border-color:#c77;color:#8a2c2c}
.hrp05-tool .rp05-note{background:#f4f7fa;border-inline-start:4px solid #7d9db5;padding:10px 12px;border-radius:8px;margin:10px 0}
.hrp05-tool .rp05-error{color:#9b2c2c;font-size:.86rem;margin-top:8px}
.hrp05-tool .rp05-status{font-weight:700;margin:10px 0}
.hrp05-tool .rp05-action-card{border:1px solid #dce4ed;border-radius:12px;padding:12px;margin:12px 0;background:#fbfcfd}
.hrp05-tool .rp05-output h3{color:#1a2d4b}
.hrp05-tool .rp05-output table{width:100%;border-collapse:collapse;min-width:650px}
.hrp05-tool .rp05-output th,.hrp05-tool .rp05-output td{border:1px solid #d8e1ea;padding:8px;text-align:right;vertical-align:top}
.hrp05-tool .rp05-output th{background:#1a2d4b;color:#fff}
.hrp05-tool .rp05-muted{color:#64748b;font-size:.85rem}
@media(max-width:640px){.hrp05-tool .rp05-grid{grid-template-columns:1fr}.hrp05-tool .rp05-step{flex-basis:45%}.hrp05-article .hrp05-hero,.hrp05-article .hrp05-section{border-radius:12px;padding:15px}.hrp05-article h2{font-size:1.25rem}}
@media print{.hrp05-tool .rp05-no-print{display:none!important}.hrp05-tool .rp05-panel,.hrp05-tool .rp05-output{border:0!important;padding:0!important}.hrp05-tool .rp05-output table{min-width:0;font-size:9pt}.hrp05-tool .rp05-output th,.hrp05-tool .rp05-output td{padding:5px}}
