.qurnas-guided-help-button{position:fixed;left:24px;bottom:24px;z-index:1200;border:0;border-radius:999px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer;background:#173b37;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.qurnas-guided-help-button:focus-visible,.qurnas-question-help:focus-visible,.qurnas-help-close:focus-visible{outline:3px solid rgba(23,59,55,.28);outline-offset:3px}
.qurnas-help-backdrop,.qurnas-question-help-backdrop{position:fixed;inset:0;z-index:1190;background:rgba(10,18,18,.22);pointer-events:none}
.qurnas-help-panel,.qurnas-question-help-panel{position:fixed;z-index:1210;left:24px;bottom:84px;width:min(430px,calc(100vw - 32px));max-height:min(72vh,680px);overflow:auto;background:#fff;color:#14211f;border:1px solid rgba(23,59,55,.16);border-radius:18px;padding:18px;box-shadow:0 20px 55px rgba(0,0,0,.22);pointer-events:auto;direction:rtl;text-align:right}
.qurnas-question-help-panel{left:50%;bottom:auto;top:50%;transform:translate(-50%,-50%);width:min(620px,calc(100vw - 32px));max-height:82vh}
.qurnas-help-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.qurnas-help-panel-head h2,.qurnas-help-step h3,.qurnas-question-help-section h3{margin:0 0 8px}
.qurnas-help-panel-head p,.qurnas-help-step p,.qurnas-question-help-section p{margin:4px 0;line-height:1.7}
.qurnas-help-close{border:0;background:transparent;color:inherit;font-size:28px;line-height:1;cursor:pointer;padding:2px 6px}
.qurnas-help-context{padding:10px 12px;background:#f7faf9;border-radius:12px;margin-bottom:12px}
.qurnas-help-context p{margin:5px 0;line-height:1.55}
.qurnas-help-step{padding:12px;border:1px solid rgba(23,59,55,.14);border-radius:12px;background:#fff}
.qurnas-help-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.qurnas-help-target-active{position:relative!important;z-index:1205!important;outline:4px solid rgba(30,117,100,.88)!important;outline-offset:5px!important;border-radius:8px!important;box-shadow:0 0 0 9px rgba(255,255,255,.92),0 0 0 13px rgba(30,117,100,.18)!important;animation:qurnas-help-pulse 1.4s ease-in-out infinite}
.qurnas-help-target-tip{position:fixed;z-index:1220;width:min(310px,calc(100vw - 28px));padding:11px 13px;border-radius:12px;background:#173b37;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.24);direction:rtl;text-align:right;pointer-events:none}
.qurnas-help-target-tip b{display:block;margin-bottom:4px;font-size:.95rem}.qurnas-help-target-tip p{margin:0;line-height:1.55;font-size:.87rem}
.qurnas-help-target-arrow{position:absolute;width:12px;height:12px;background:#173b37;transform:rotate(45deg)}
.qurnas-help-target-tip[data-placement="right"] .qurnas-help-target-arrow{right:100%;top:20px;margin-right:-6px}
.qurnas-help-target-tip[data-placement="left"] .qurnas-help-target-arrow{left:100%;top:20px;margin-left:-6px}
.qurnas-help-target-tip[data-placement="above"] .qurnas-help-target-arrow{top:100%;right:24px;margin-top:-6px}
.qurnas-help-target-tip[data-placement="below"] .qurnas-help-target-arrow{bottom:100%;right:24px;margin-bottom:-6px}
@keyframes qurnas-help-pulse{0%,100%{outline-color:rgba(30,117,100,.78)}50%{outline-color:rgba(30,117,100,1)}}
.qurnas-question-help{display:inline-grid;place-items:center;width:25px;height:25px;margin-inline-start:8px;border-radius:50%;border:1px solid rgba(23,59,55,.32);background:#f5f9f8;color:#173b37;font:inherit;font-weight:800;cursor:pointer;vertical-align:middle}
.qurnas-question-help:hover{background:#e8f2ef}
.qurnas-question-help-section{padding:10px 0;border-bottom:1px solid rgba(23,59,55,.1)}
.qurnas-question-help-section:last-of-type{border-bottom:0}
.qurnas-question-help-section ul,.qurnas-scoring-help{margin:6px 0 0;padding-inline-start:22px}
.qurnas-question-help-section li{margin:5px 0;line-height:1.55}
.qurnas-ai-writing-modes{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.qurnas-ai-writing-modes .btn{font-size:.82rem;padding:6px 9px}
@media(max-width:720px){
  .qurnas-guided-help-button{left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));width:calc(100% - 24px);border-radius:14px}
  .qurnas-help-panel,.qurnas-question-help-panel{left:0;right:0;bottom:0;top:auto;transform:none;width:100%;max-height:62vh;border-radius:20px 20px 0 0;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom));margin:0}
  .qurnas-help-panel[data-mobile-placement="top"]{top:max(8px,env(safe-area-inset-top));bottom:auto;max-height:var(--qurnas-help-mobile-max-height,62vh);border-radius:0 0 20px 20px}
  .qurnas-help-panel[data-mobile-placement="bottom"]{top:auto;bottom:max(0px,env(safe-area-inset-bottom));max-height:var(--qurnas-help-mobile-max-height,62vh)}
  .qurnas-help-panel[data-mobile-placement="floating"]{left:12px;right:12px;top:var(--qurnas-help-mobile-floating-top);bottom:auto;width:calc(100% - 24px);max-height:var(--qurnas-help-mobile-max-height);border-radius:18px}
  .qurnas-question-help-panel{max-height:78vh}
  .qurnas-help-actions{position:sticky;bottom:-16px;background:#fff;padding:10px 0 4px}
  .qurnas-help-target-active{scroll-margin-top:calc(84px + env(safe-area-inset-top));scroll-margin-bottom:calc(190px + env(safe-area-inset-bottom))}
  .qurnas-help-target-tip{width:min(320px,calc(100vw - 20px));font-size:.9rem}
}
@media(prefers-reduced-motion:reduce){.qurnas-help-target-active{animation:none}.qurnas-help-panel,.qurnas-question-help-panel{scroll-behavior:auto}}
