/* مركز المساعدة (apexfy.store/help) — فوق platform.css: أبيض وأسود + برتقالي واحد */
.hp-svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
[dir=rtl] .hp-dir,.hp-rev{transform:scaleX(-1)}
[dir=rtl] .hp-rev{transform:none}
.hp-hero{background:radial-gradient(900px 300px at 50% -40%,rgba(232,70,26,.14),transparent 70%),#fbfaf8;border-bottom:1px solid var(--line);padding:64px 0 44px;text-align:center}
.hp-hero h1{font-family:var(--fh);font-size:clamp(30px,4.4vw,46px);line-height:1.15;margin:0 0 8px;letter-spacing:-.02em}
.hp-hero p{color:var(--muted);margin:0 0 26px;font-size:17px}
.hp-search{position:relative;display:flex;align-items:center;gap:10px;max-width:640px;margin:0 auto;background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:0 18px;box-shadow:0 10px 30px -12px rgba(0,0,0,.18);transition:border-color .15s,box-shadow .15s}
.hp-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 4px rgba(232,70,26,.14),0 10px 30px -12px rgba(0,0,0,.18)}
.hp-search .hp-svg{color:var(--muted)}
.hp-search input{flex:1;border:0;outline:0;font:inherit;font-size:17px;padding:16px 0;background:none;min-width:0}
.hp-results{max-width:640px;margin:10px auto 0;background:#fff;border:1px solid var(--line);border-radius:16px;text-align:start;overflow:hidden;box-shadow:0 16px 40px -16px rgba(0,0,0,.2)}
.hp-results a{display:block;padding:12px 18px;border-bottom:1px solid #f1f0ec}
.hp-results a:last-child{border-bottom:0}
.hp-results a:hover,.hp-results a.on{background:#fff4ef}
.hp-results b{display:block;font-weight:600}
.hp-results small{color:var(--muted);font-size:13.5px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-results mark{background:#ffe0d3;color:inherit;border-radius:3px;padding:0 1px}
.hp-results p{margin:0;padding:16px 18px;color:var(--muted)}
.hp-home{padding-block:44px 72px}
.hp-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
.hp-cat{border:1px solid var(--line);border-radius:20px;padding:22px;background:#fff;transition:box-shadow .2s,border-color .2s}
.hp-cat:hover{box-shadow:0 14px 34px -18px rgba(0,0,0,.25);border-color:#ddd}
.hp-cat-h{display:flex;gap:14px;align-items:flex-start;margin-bottom:12px}
.hp-cat-h h2{font-family:var(--fh);font-size:18px;margin:2px 0 2px}
.hp-cat-h p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.55}
.hp-cat-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#fff1ec;color:var(--brand);flex:0 0 auto}
.hp-cat ul{list-style:none;margin:0;padding:0}
.hp-cat li a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 0;border-top:1px solid #f1f0ec;font-weight:500}
.hp-cat li a:hover{color:var(--brand)}
.hp-cat li .hp-svg{width:16px;height:16px;color:#aaa}
.hp-help-more{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:28px;padding:24px 26px;border-radius:20px;background:var(--ink);color:#fff}
.hp-help-more h2{font-family:var(--fh);margin:0 0 4px;font-size:20px}
.hp-help-more p{margin:0;color:#c9c9c9}
.hp-help-more .p-btn{background:var(--brand);color:#fff}
/* المقالة */
.hp-art-wrap{display:grid;grid-template-columns:250px minmax(0,1fr);gap:44px;padding-block:36px 72px;align-items:start}
.hp-side{position:sticky;top:84px;font-size:14.5px}
.hp-back{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-weight:500;margin-bottom:16px}
.hp-back:hover{color:var(--ink)}
.hp-back .hp-svg{width:16px;height:16px}
.hp-side-h{display:block;font-family:var(--fh);margin-bottom:6px}
.hp-side ul{list-style:none;margin:0;padding:0;border-inline-start:2px solid var(--line)}
.hp-side li a{display:block;padding:6px 12px;margin-inline-start:-2px;border-inline-start:2px solid transparent;color:var(--muted);line-height:1.45}
.hp-side li a:hover{color:var(--ink)}
.hp-side li a[aria-current]{color:var(--brand);border-color:var(--brand);font-weight:600}
.hp-art{max-width:820px;min-width:0}
.hp-crumb{display:flex;gap:8px;color:var(--muted);font-size:14px;margin-bottom:10px}
.hp-crumb a:hover{color:var(--brand)}
.hp-art h1{font-family:var(--fh);font-size:clamp(28px,3.6vw,40px);line-height:1.2;margin:0 0 10px;letter-spacing:-.02em}
.hp-lead{font-size:18px;color:#444;margin:0 0 16px}
.hp-open{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--brand);border:1.5px solid #ffd3c4;background:#fff7f4;border-radius:12px;padding:9px 14px;margin-bottom:22px}
.hp-open:hover{background:#fff0ea}
.hp-open .hp-svg{width:17px;height:17px}
.hp-toc{background:#fbfaf8;border:1px solid var(--line);border-radius:16px;padding:16px 20px;margin:0 0 26px}
.hp-toc b{font-family:var(--fh);font-size:15px}
.hp-toc ol{margin:8px 0 0;padding-inline-start:20px;columns:2;column-gap:28px}
.hp-toc li{font-size:15px;break-inside:avoid;padding:2px 0}
.hp-toc a:hover{color:var(--brand)}
.hp-body{font-size:16.5px;line-height:1.8;color:#222}
.hp-body h2{font-family:var(--fh);font-size:24px;margin:40px 0 12px;scroll-margin-top:84px;letter-spacing:-.01em}
.hp-body h3{font-family:var(--fh);font-size:19px;margin:28px 0 8px;scroll-margin-top:84px}
.hp-body p{margin:0 0 14px}
.hp-body a{color:var(--brand);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.hp-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;background:#f3f2ef;border:1px solid #e8e6e1;border-radius:6px;padding:1px 6px;white-space:nowrap}
.hp-body kbd{font:600 13px/1 var(--fb);padding:3px 7px;border-radius:6px;border:1px solid #d9d7d2;border-bottom-width:2px;background:#fafaf8}
.hp-body ul{padding-inline-start:22px;margin:0 0 16px}
.hp-body ul li{margin:4px 0}
.hp-steps{list-style:none;counter-reset:st;padding:0;margin:8px 0 22px}
.hp-steps>li{counter-increment:st;position:relative;padding-inline-start:52px;margin:0 0 26px}
.hp-steps>li::before{content:counter(st);position:absolute;inset-inline-start:0;top:0;width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font:700 16px/1 var(--fh);box-shadow:0 6px 14px -6px rgba(232,70,26,.7)}
.hp-steps>li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:16px;top:40px;bottom:-22px;border-inline-start:2px dashed #f3c6b5}
.hp-li>p{margin:6px 0 0}
.hp-fig{margin:14px 0 6px}
.hp-fig a{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 14px 34px -20px rgba(0,0,0,.35);background:#f7f7f5;cursor:zoom-in}
.hp-fig img{display:block;width:100%;height:auto}
.hp-fig figcaption{font-size:13.5px;color:var(--muted);margin-top:8px;text-align:center}
.hp-call{display:flex;gap:12px;border-radius:14px;padding:14px 16px;margin:18px 0;font-size:15.5px;line-height:1.7}
.hp-call-ic{flex:0 0 auto;width:22px;height:22px;border-radius:50%;margin-top:2px;position:relative}
.hp-call-ic::after{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font:700 13px/22px var(--fb);text-align:center}
.hp-tip{background:#effaf4;border:1px solid #c7eed8}.hp-tip .hp-call-ic{background:#0e9f6e}.hp-tip .hp-call-ic::after{content:"✓"}
.hp-note{background:#f1f5ff;border:1px solid #d6e1ff}.hp-note .hp-call-ic{background:#3e63dd}.hp-note .hp-call-ic::after{content:"i"}
.hp-warn{background:#fff6ea;border:1px solid #fbdcad}.hp-warn .hp-call-ic{background:#d97706}.hp-warn .hp-call-ic::after{content:"!"}
.hp-tbl{overflow-x:auto;margin:14px 0 20px;border:1px solid var(--line);border-radius:14px}
.hp-tbl table{width:100%;border-collapse:collapse;font-size:15px}
.hp-tbl th{background:#fbfaf8;text-align:start;font-weight:600;padding:10px 14px;border-bottom:1px solid var(--line);white-space:nowrap}
.hp-tbl td{padding:10px 14px;border-bottom:1px solid #f1f0ec;vertical-align:top}
.hp-tbl tr:last-child td{border-bottom:0}
.hp-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:40px;padding:18px 20px;border-radius:16px;background:#fbfaf8;border:1px solid var(--line)}
.hp-feedback span{font-weight:600;margin-inline-end:6px}
.hp-feedback button{font:inherit;font-weight:600;border:1px solid var(--line);background:#fff;border-radius:10px;padding:6px 18px;cursor:pointer}
.hp-feedback button:hover{border-color:var(--brand);color:var(--brand)}
.hp-feedback p{flex-basis:100%;margin:4px 0 0;color:var(--muted)}
.hp-feedback a{color:var(--brand);font-weight:600}
.hp-lb{position:fixed;inset:0;z-index:100;background:rgba(10,10,10,.82);display:grid;place-items:center;padding:24px;cursor:zoom-out}
.hp-lb img{max-width:min(1400px,100%);max-height:100%;border-radius:12px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
@media (max-width:900px){
  .hp-art-wrap{grid-template-columns:1fr;gap:16px;padding-top:20px}
  .hp-side{position:static;border-bottom:1px solid var(--line);padding-bottom:12px}
  .hp-side ul,.hp-side-h{display:none}
  .hp-toc ol{columns:1}
}
@media (max-width:560px){
  .hp-hero{padding:40px 0 30px}
  .hp-steps>li{padding-inline-start:44px}
  .hp-steps>li::before{width:30px;height:30px;font-size:14px}
  .hp-steps>li:not(:last-child)::after{inset-inline-start:14px}
  .hp-cats{grid-template-columns:1fr}
  .hp-body{font-size:16px}
}
