/* «؟» واللوح الجانبي للمساعدة (كل الشاشات) */
.helpbtn { width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; font-size: 20px; font-weight: 700; background: var(--brand); color: var(--onBrand); border: 0; box-shadow: 0 4px 14px rgba(0,0,0,.18); cursor: pointer; }
.helpbtn.float { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 40; }
.helpbtn.inline { box-shadow: none; background: var(--tile, var(--brand)); }
.helppanel { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100vw); background: var(--card, #fff); color: var(--ink); z-index: 60; box-shadow: -8px 0 30px rgba(0,0,0,.18);
  transform: translateX(110%); transition: transform .2s ease; display: flex; flex-direction: column; }
[dir=rtl] .helppanel { transform: translateX(-110%); }
.helppanel.open { transform: none !important; }
.hph { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--nav); color: #fff; }
.hph button { background: transparent; color: #fff; border: 0; font-size: 24px; min-height: 32px; }
.hpb { padding: 14px 16px 30px; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.hscreen h3 { margin: 2px 0 4px; font-size: 18px; } .hscreen p { margin: 0; line-height: 1.7; }
.hhead { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.hlist details, .hres details { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 6px; }
.hlist summary, .hres summary { cursor: pointer; font-weight: 600; }
.hq { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; } .hq p { margin: 0; line-height: 1.7; } .hq ol { margin: 0; padding-inline-start: 20px; line-height: 1.8; }
.hres > .hq { border: 1px solid var(--brandSoft, var(--line)); border-radius: 10px; padding: 10px; background: #F8FAFB; }
.hrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hitems { margin: 0; display: grid; gap: 2px 0; } .hitems dt { font-weight: 600; margin-top: 6px; } .hitems dd { margin: 0; color: var(--muted); line-height: 1.6; }
.hask { display: flex; gap: 8px; } .hask input { flex: 1; min-width: 0; }
.hlink { color: var(--brand); cursor: pointer; padding: 4px 0; text-decoration: underline; }
.hfull { margin-top: 8px; font-weight: 600; color: var(--brand); }
@media print { .helpbtn, .helppanel { display: none !important; } }
