/* GUIDE.CSS (9 Oct 2026, Phase 6)
   The black-and-gold "welcome, jump buttons, icon headings, tiles and steps" look, first built
   for the student User guide tab inside public/account.html (kept there, inline, unchanged).
   This file carries the same rules out to the standalone per-role guide pages this phase adds
   (guide-parent.html, guide-teacher.html, guide-organisation.html, guide-admin.html) so they look
   and feel like the same guide, not a different page. If the look changes in one place, change it
   in both - it is kept in two places, not one shared include, because account.html's guide sits
   inside the wider account page's own CSS cascade and pulling it out risked that unrelated page. */
.guide-wrap { width: min(54rem, calc(100% - 2rem)); margin: 0 auto; padding: 1.6rem 0 3rem; }
.guide-body .ghero { background: #0c0c0e; color: #f7f4ec; border: 1px solid #e4c36a; border-radius: 16px; padding: 1.4rem 1.5rem 1.3rem; margin: 0 0 1.4rem; }
.guide-body .ghero h2 { margin: .2rem 0 .6rem; color: #e4c36a; font-size: 1.6rem; }
.guide-body .ghero p { color: #e6e1d2; }
.guide-body .geyebrow { margin: 0; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #b7b1a4; }
.gjump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .9rem; }
.gjump button { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .8rem 0 .4rem; background: transparent; color: #e4c36a; border: 1px solid #e4c36a; border-radius: 999px; font: inherit; font-size: .9rem; cursor: pointer; }
.gjump button:hover, .gjump button:focus-visible { background: #e4c36a; color: #0c0c0e; outline: 2px solid #f7f4ec; outline-offset: 2px; }
.gjump button:hover .gi, .gjump button:focus-visible .gi { background: #0c0c0e; }
.gi { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #1d4e89; display: inline-grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.gi svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gjump .gi { width: 30px; height: 30px; border: 1px solid rgba(228,195,106,.5); }
.gsec { margin: 0 0 .7rem; scroll-margin-top: 1rem; background: #fff; border: 1px solid #e6e1d6; border-radius: 14px; padding: .15rem .9rem .2rem; }
.gsec summary { display: flex; align-items: center; gap: .7rem; margin: 0; padding: .75rem 0; color: #111; font-size: 1.2rem; font-weight: 650; cursor: pointer; list-style: none; }
.gsec summary::-webkit-details-marker { display: none; }
.gsec .gplus { margin-left: auto; width: 1.6rem; text-align: center; font-weight: 400; font-size: 1.35rem; color: #8a6a1c; }
.gsec .gplus::before { content: '+'; }
.gsec[open] .gplus::before { content: '\2212'; }
.guide-body .gsec h2 { display: flex; align-items: center; gap: .7rem; margin: 0 0 .2rem; color: #111; font-size: 1.35rem; }
.guide-body .glead { color: #8a6a1c; font-weight: 600; margin: 0 0 .8rem; }
.guide-body .gsec h3 { margin: 1.1rem 0 .4rem; font-size: 1.05rem; color: #8a6a1c; }
.gtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .7rem; margin: .4rem 0 1rem; }
.gtile { background: #faf8f2; border: 1px solid #e6e1d6; border-left: 4px solid #e4c36a; border-radius: 12px; padding: .8rem 1rem; }
.gtile > b { display: block; margin-bottom: .2rem; }
.gtile span { color: #444; font-size: .95rem; line-height: 1.45; }
.gsteps { list-style: none; counter-reset: gs; margin: .3rem 0 1rem; padding: 0; display: grid; gap: .6rem; }
.gsteps li { counter-increment: gs; position: relative; padding: .6rem .9rem .6rem 3.1rem; background: #fff; border: 1px solid #e6e1d6; border-radius: 12px; line-height: 1.45; }
.gsteps li::before { content: counter(gs); position: absolute; left: .7rem; top: .55rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #0c0c0e; color: #e4c36a; font-weight: 700; display: grid; place-items: center; }
.gkeys { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .5rem .8rem; margin: .3rem 0 1rem; }
.gkeys > div { display: flex; align-items: center; gap: .7rem; }
.gkeys kbd { flex: none; min-width: 4.4rem; text-align: center; background: #0c0c0e; color: #e4c36a; border: 1px solid #e4c36a; border-radius: 8px; padding: .25rem .5rem; font: 700 .85rem Arial, sans-serif; }
.gkeys span { font-size: .95rem; }
.guide-body .gtip { background: #fffaf0; border: 1px dashed #e4c36a; border-radius: 12px; padding: .7rem 1rem; }
.guide-body p { margin: 0.6rem 0; line-height: 1.6; }
@media (max-width: 640px) {
  .guide-body .ghero h2 { font-size: 1.35rem; }
  .gkeys { grid-template-columns: 1fr; }
  .gjump button { font-size: .85rem; }
}

/* (10 Nov 2026) screenshots in the guides */
.gshot { margin: .9rem 0; }
.gshot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 20px rgba(12,12,14,.32)); }
.gshot figcaption { margin-top: .55rem; font-size: .88rem; line-height: 1.45; color: #5b5446; text-align: center; }
.gshot-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 1.1rem; align-items: center; margin: .9rem 0; }
.gshot-row .gshot { margin: 0; }
.gshot.phone img { max-width: 250px; margin: 0 auto; }
@media (max-width: 620px) { .gshot-row { grid-template-columns: 1fr; } }
