/* WAHAJ prototype — a new learner's first day: first steps on Home and the Quick Guide */

/* ---------- Home · Your first steps (in the place of Explore by Field) ---------- */
.home .fs { position: absolute; inset-inline-start: 15px; top: 708px; width: 780px; height: 256px; padding: 16px 20px; border-radius: var(--ip-r); border: 1px solid var(--ip-line); background: var(--ip-card)}
.fs-h { display: flex; align-items: center; gap: 14px; height: 26px}
.fs-h h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--text)}
.fs-c { font-size: 13px; color: var(--text-2)}
.fs-h .progress { width: 132px; height: 6px}
.fs-xp { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; font-size: 13px; color: var(--text-2)}
.fs-xp .ico { color: var(--accent)}
.fs-row { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px}
.fs-i { display: flex; flex-direction: column; align-items: flex-start; width: 100%; height: 172px; padding: 12px 12px 14px; border-radius: 10px; border: 1px solid var(--ip-line); background: var(--ip-well); color: var(--text); text-align: start; transition: border-color .2s, background .2s, transform .2s}
.fs-i:hover { border-color: var(--accent-line); transform: translateY(-2px)}
.fs-top { display: flex; align-items: center; justify-content: space-between; width: 100%}
.fs-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-3); font-size: 12.5px; color: var(--text-2)}
.fs-top em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--text-2)}
.fs-ic { margin-top: 14px; color: var(--accent)}
.fs-i b { margin-top: 10px; font-size: 14.5px; line-height: 1.25; font-weight: 600}
.fs-i small { margin-top: 4px; font-size: 12.5px; line-height: 1.3; color: var(--muted)}
.fs-i.next { border-color: var(--accent-line)}
.fs-i.next .fs-n { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600}
.fs-i.next .fs-top em { color: var(--accent)}
.fs-i.done .fs-n { border-color: transparent; background: rgba(135, 135, 135, 0.16); color: var(--accent)}
.fs-i.done .fs-ic { color: var(--muted)}
.fs-i.done b { color: var(--text-2)}

/* ---------- the Quick Guide: a spotlight on the real screen and a card beside it ---------- */
#qg { position: absolute; inset: 0; z-index: 85; animation: qgIn .25s ease both}
#qg .qg-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.74); transition: clip-path .35s cubic-bezier(.2, .7, .2, 1)}
#qg .qg-hole { position: absolute; border-radius: 14px; pointer-events: none; outline: 2px solid var(--accent); outline-offset: 0; box-shadow: none;
  transition: left .35s cubic-bezier(.2, .7, .2, 1), top .35s cubic-bezier(.2, .7, .2, 1), width .35s cubic-bezier(.2, .7, .2, 1), height .35s cubic-bezier(.2, .7, .2, 1)}
#qg .qg-hole.none { box-shadow: none}
#qg .qg-card { position: absolute; width: 388px; padding: 18px 20px 18px; border-radius: 16px; border: 1px solid var(--ip-line-2); background: var(--ip-card); color: var(--text-2); box-shadow: none;
  transition: left .35s cubic-bezier(.2, .7, .2, 1), top .35s cubic-bezier(.2, .7, .2, 1)}
#qg .qg-card.mid { width: 468px; padding: 22px 26px 22px}
.qg-top { display: flex; align-items: center; gap: 10px}
.qg-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(135, 135, 135, 0.1); color: var(--accent)}
.qg-top small { font-size: 13px; color: var(--muted)}
.qg-x { display: grid; place-items: center; width: 32px; height: 32px; margin-inline-start: auto; border-radius: 8px; color: var(--muted)}
.qg-x:hover { background: var(--tile); color: var(--text)}
#qg .qg-card h3 { margin: 14px 0 6px; font-size: 21px; line-height: 1.25; font-weight: 600; color: var(--text)}
#qg .qg-card.mid h3 { font-size: 25px}
#qg .qg-card p { margin: 0; font-size: 15.5px; line-height: 1.55}
.qg-xp { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--accent-line); background: rgba(135, 135, 135, 0.1); color: var(--text); font-size: 15px}
.qg-xp .ico { color: var(--accent)}
.qg-xp b { font-size: 17px}
.qg-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px}
.qg-dots { display: flex; align-items: center; gap: 5px; margin-inline-end: auto}
.qg-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-3); transition: width .25s, background .25s}
.qg-dots i.done { background: var(--accent-line)}
.qg-dots i.on { width: 18px; background: var(--accent)}
#qg .btn { height: 42px; padding: 0 16px; gap: 6px; font-size: 15px}
#qg .qg-card.end .qg-dots { display: none}
#qg .qg-card.end .qg-foot { justify-content: flex-end}
@keyframes qgIn { from { opacity: 0} to { opacity: 1} }
body.reduce-motion #qg, body.reduce-motion #qg .qg-shade, body.reduce-motion #qg .qg-hole, body.reduce-motion #qg .qg-card { animation: none; transition: none}
/* the guide keeps WAHAJ AI's bubbles out of the way */
body.qg-on .ai-bub { display: none}
