/* JFRESH OS — Phase 12 NP-09 Smart Help (HELP-001..007) + global "? Bantuan" panel, spotlight (tour / PANDU SAYA),
   APA INI? mode. Prefix hp12-. Brand tokens only (assets/css/jfresh.css). */

/* ---------- Header help button ---------- */
.hp12-hb { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 15px; }
.hp12-hb .i { width: 22px; height: 22px; }
.hp12-hb:hover, .hp12-hb[aria-expanded="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
@media (max-width: 1239px) { .hp12-hb { width: 48px; padding: 0; justify-content: center; } .hp12-hb-t { display: none; } }
@media (max-width: 699px) { .hp12-hb { width: 44px; height: 44px; } }

/* ---------- Panel: side panel (PC / iPad), bottom sheet (phone) ---------- */
.hp12-pw[hidden] { display: none; }
.hp12-scrim { position: fixed; inset: 0; z-index: 79; background: rgba(11,30,55,.18); }
.hp12-p { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--white); border-left: 1px solid var(--line); box-shadow: -18px 0 48px rgba(11,30,55,.18); }
.hp12-p-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; }
.hp12-p-ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--blue); color: var(--white); }
.hp12-p-ic .i { width: 22px; height: 22px; }
.hp12-p-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.hp12-p-tt b { font-size: 18px; color: var(--blue-ink); }
.hp12-p-tt small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp12-acts { display: flex; gap: 8px; padding: 0 16px 10px; flex-wrap: wrap; }
.hp12-act { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--blue); font-weight: 700; font-size: 14px; }
.hp12-act .i { width: 18px; height: 18px; }
.hp12-act:hover { background: var(--blue-50); }
.hp12-act-p { background: var(--orange); border-color: var(--orange); color: #3A1D00; }
.hp12-act-p:hover { background: var(--orange-2, var(--orange)); }
.hp12-tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.hp12-tabs::-webkit-scrollbar { display: none; }
.hp12-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 10px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; }
.hp12-tab .i { width: 17px; height: 17px; }
.hp12-tab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--orange); }
.hp12-p-b { flex: 1; overflow-y: auto; padding: 14px 16px 20px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.hp12-p-f { display: flex; gap: 6px 16px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--line); }
.hp12-p-f a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--blue); font-weight: 700; font-size: 14px; }
.hp12-p-f .i { width: 17px; height: 17px; }
@media (min-width: 700px) { .hp12-scrim { background: transparent; } }
@media (max-width: 699px) {
  .hp12-scrim { background: rgba(11,30,55,.4); }
  .hp12-p { top: auto; left: 0; width: 100%; max-height: 88vh; border-left: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -18px 48px rgba(11,30,55,.25); }
  .hp12-p::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 999px; background: var(--line); margin: 8px auto 0; }
  .hp12-p-b { padding: 12px 14px 18px; }
  .hp12-act { flex: 1 1 0; justify-content: center; padding: 0 8px; font-size: 13px; white-space: nowrap; }
  .hp12-tab { padding: 0 8px; font-size: 13.5px; }
  .hp12-tab .i { display: none; }
}

/* ---------- Contextual help blocks ---------- */
.hp12-ctx { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hp12-ctx-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hp12-ctx-h > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.hp12-ctx-h b { font-size: 17px; color: var(--blue-ink); }
.hp12-ctx-h small { color: var(--muted); font-size: 13px; }
.hp12-ctx-ic, .hp12-tile-ic, .hp12-res-ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.hp12-ctx-ic .i, .hp12-tile-ic .i, .hp12-res-ic .i { width: 22px; height: 22px; }
.hp12-sec { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.hp12-sec h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--blue-ink); }
.hp12-sec h3 .i { width: 18px; height: 18px; color: var(--blue); }
.hp12-lead { color: var(--ink); line-height: 1.5; margin: 0; }
.hp12-mute { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin: 0; }
.hp12-recl { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.hp12-recl .i { width: 16px; height: 16px; color: var(--blue); }
.hp12-ar { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.hp12-ar > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.hp12-ar > summary::-webkit-details-marker { display: none; }
.hp12-ar > summary .i { width: 18px; height: 18px; color: var(--blue); flex: none; }
.hp12-ar > summary span { flex: 1; min-width: 0; }
.hp12-ar > summary small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.hp12-ar[open] > summary { border-bottom: 1px solid var(--line); }
.hp12-ar-b { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.hp12-ar-b p { margin: 0; line-height: 1.5; }
.hp12-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; line-height: 1.45; }
.hp12-steps li::marker { color: var(--orange-ink); font-weight: 700; }
.hp12-steps-c li { display: flex; flex-direction: column; }
.hp12-steps-c li small { color: var(--muted); font-size: 13px; }
.hp12-steps-c { list-style: decimal; }
.hp12-steps-c li { display: list-item; }
.hp12-steps-c li b { display: block; }
.hp12-steps-c li small { display: block; }
.hp12-need { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--warn-50); color: var(--ink); font-size: 14px; line-height: 1.45; border: 1px solid var(--warn-line); }
.hp12-need .i { width: 18px; height: 18px; color: var(--warn); flex: none; margin-top: 1px; }
.hp12-blk { padding: 10px 12px; border-radius: 12px; background: var(--crit-50); border: 1px solid var(--crit-line); }
.hp12-blk b { color: var(--crit); }
.hp12-blk ul { margin: 6px 0; padding-left: 20px; }
.hp12-btnh { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.hp12-btnh p { margin: 0; line-height: 1.45; }
.hp12-btnh small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }
.hp12-btnh ul { margin: 0; padding-left: 20px; }
.hp12-btnh-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hp12-btnl { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--orange); color: #3A1D00; font-size: 13px; letter-spacing: .02em; }
.hp12-wk { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 0; }
.hp12-wk + .hp12-wk { border-top: 1px solid var(--line); }
.hp12-wk > span { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.hp12-wk > span .i { width: 18px; height: 18px; color: var(--orange-ink); }
.hp12-wk > span small { color: var(--muted); font-size: 13px; width: 100%; padding-left: 26px; }
.hp12-rel { display: flex; flex-direction: column; gap: 2px; }
.hp12-rel > b { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.hp12-rel a { display: flex; align-items: center; gap: 8px; min-height: 40px; color: var(--blue); font-weight: 700; font-size: 14.5px; }
.hp12-rel a .i { width: 16px; height: 16px; flex: none; }
.hp12-contact { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--ink); font-size: 14px; line-height: 1.45; }
.hp12-contact .i { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* Video placeholder (no media files: metadata only) */
.hp12-vid { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, var(--blue-ink), var(--blue)); color: var(--white); min-width: 0; }
.hp12-vid > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hp12-vid b { font-size: 14.5px; overflow-wrap: anywhere; }
.hp12-vid small { color: #CFE0F3; font-size: 12.5px; }
.hp12-vid-p { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #3A1D00; }
.hp12-vid-p .i { width: 18px; height: 18px; }
.hp12-vids { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Article */
.hp12-art { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hp12-art-t { font-size: 18px; color: var(--blue-ink); margin: 0; }
.hp12-art-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hp12-src { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.hp12-src .i { width: 16px; height: 16px; }
.hp12-src a { color: var(--blue); }
.hp12-art-a { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hp12-faq details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.hp12-faq summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.hp12-faq p { margin: 6px 0 0; color: var(--ink); line-height: 1.45; }
.hp12-fb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; }
.hp12-fb small { color: var(--muted); }
.hp12-fbb { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 700; }
.hp12-fbb .i { width: 16px; height: 16px; }
.hp12-fbb.on { background: var(--blue); color: var(--white); border-color: var(--blue); }
.hp12-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; border: 0; background: none; color: var(--blue); font-weight: 700; padding: 0; }
.hp12-back .i { width: 18px; height: 18px; }
.hp12-artc { max-width: 820px; }

/* Search */
.hp12-qbox, .hp12-sbar { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.hp12-qbox > .i, .hp12-sbar > .i { width: 20px; height: 20px; color: var(--muted); flex: none; }
.hp12-qbox input, .hp12-sbar input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.hp12-qbox:focus-within, .hp12-sbar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,168,235,.2); }
.hp12-sbar-l { padding: 6px 6px 6px 16px; border-radius: 16px; }
.hp12-rs { display: flex; flex-direction: column; gap: 8px; }
.hp12-res { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); min-width: 0; }
.hp12-res:hover { border-color: var(--blue-100); background: var(--blue-50); }
.hp12-res-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.hp12-res-b b { color: var(--blue-ink); overflow-wrap: anywhere; }
.hp12-res-b small { color: var(--muted); font-size: 13px; }
.hp12-res-d { color: var(--ink); font-size: 14px; }
.hp12-res-n { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); font-size: 13px; font-weight: 700; }
.hp12-res-n .i { width: 14px; height: 14px; }
.hp12-res-go { width: 18px; height: 18px; color: var(--faint); flex: none; }
.hp12-gls { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.hp12-gl { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--fresh-50, var(--ok-50)); border: 1px solid var(--line); }
.hp12-gl b { color: var(--blue-ink); }
.hp12-none { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line-2, var(--line)); }
.hp12-none > .i { width: 24px; height: 24px; color: var(--muted); }
.hp12-none p { margin: 0; line-height: 1.45; }
.hp12-pop b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.hp12-pop > div { display: flex; flex-wrap: wrap; gap: 6px; }
.hp12-chipb { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 14px; text-align: left; }
.hp12-chipb:hover { background: var(--blue); color: var(--white); }
.hp12-popl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hp12-popl li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--line); }
.hp12-popl li:last-child { border-bottom: 0; }
.hp12-popl a, .hp12-popl li > span { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; min-width: 0; }
.hp12-popl li > span { color: var(--ink); }
.hp12-popl .i { width: 16px; height: 16px; color: var(--muted); flex: none; }

/* Tanya JFRESH */
.hp12-chat { display: flex; flex-direction: column; gap: 10px; }
.hp12-q { align-self: flex-end; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--blue); color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.hp12-ans { align-self: flex-start; max-width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--bg); border: 1px solid var(--line); }
.hp12-ans p { margin: 0; line-height: 1.5; }
.hp12-ans-fb { background: var(--warn-50); border-color: var(--warn-line); }
.hp12-who { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.hp12-who .i { width: 15px; height: 15px; }
.hp12-chat5 { display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.hp12-qbox-l { margin-top: 4px; }

/* Incident report form */
.hp12-inc { display: flex; flex-direction: column; gap: 12px; }
.hp12-inc-2 { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .hp12-inc-2 { grid-template-columns: minmax(0, 1fr); } }
.hp12-inc input[type=file] { min-height: 48px; padding: 10px; border: 1px dashed var(--line-2, var(--line)); border-radius: 12px; background: var(--bg); width: 100%; font-size: 14px; }
.hp12-err { margin: 0; color: var(--crit); font-weight: 700; font-size: 14px; }
.hp12-err:empty { display: none; }
.hp12-ok { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--ok-50); border: 1px solid #BFE5CF; }
.hp12-ok > .i { width: 26px; height: 26px; color: var(--ok); flex: none; }
.hp12-ok > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hp12-ok p { margin: 0; }
.hp12-esc { display: flex; gap: 6px; align-items: center; color: var(--crit); font-weight: 700; }
.hp12-esc .i { width: 16px; height: 16px; }

/* ---------- Spotlight (tour / PANDU SAYA) ---------- */
.hp12-spot { position: fixed; z-index: 85; border-radius: 14px; border: 3px solid var(--orange); box-shadow: 0 0 0 9999px rgba(11,30,55,.42); pointer-events: none; transition: left .18s, top .18s, width .18s, height .18s; }
.hp12-spot[hidden] { display: none; }
.hp12-card { position: fixed; z-index: 86; width: min(360px, calc(100vw - 24px)); display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 14px; border-radius: 18px; background: var(--white); box-shadow: 0 22px 56px rgba(11,30,55,.32); border-top: 4px solid var(--orange); }
.hp12-card[hidden] { display: none; }
.hp12-card-dock { left: auto !important; right: 24px; bottom: 24px; top: auto !important; }
@media (max-width: 699px) { .hp12-card-dock { left: 12px !important; right: 12px; bottom: 84px; width: auto; } }
.hp12-card-h { display: flex; align-items: center; gap: 10px; padding-right: 54px; }
.hp12-card-h b { font-size: 17px; color: var(--blue-ink); }
.hp12-card-n { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--orange-50); color: var(--orange-ink); font-weight: 700; font-size: 12.5px; }
.hp12-card p { margin: 0; line-height: 1.5; color: var(--ink); }
.hp12-card-m { display: flex; gap: 6px; align-items: flex-start; color: var(--muted) !important; font-size: 13.5px; }
.hp12-card-m .i { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.hp12-card-w { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.hp12-card-w .i { width: 15px; height: 15px; color: var(--orange-ink); }
.hp12-dots { display: flex; gap: 5px; }
.hp12-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.hp12-dots i.on { background: var(--orange); }
.hp12-card-a { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hp12-sp { flex: 1; }
.hp12-card-x { position: absolute; top: 10px; right: 10px; min-height: 36px; min-width: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--bg); color: var(--muted); font-weight: 700; font-size: 13px; display: inline-grid; place-items: center; }
.hp12-card-x .i { width: 16px; height: 16px; }
.hp12-lnkb { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 13px; text-decoration: underline; min-height: 40px; padding: 0 4px; }
.hp12-target { position: relative; z-index: 1; }

/* ---------- APA INI? mode ---------- */
.hp12-wi #view *, .hp12-wi #hd *, .hp12-wi .sb *, .hp12-wi .bn * { cursor: help !important; }
.hp12-wib { position: fixed; z-index: 87; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--blue-ink); color: var(--white); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lift); max-width: calc(100vw - 24px); }
.hp12-wib[hidden] { display: none; }
.hp12-wib .i { width: 18px; height: 18px; color: var(--yellow); flex: none; }
.hp12-wi-on { outline: 3px solid var(--orange) !important; outline-offset: 2px; border-radius: 8px; }
.hp12-wbub { position: fixed; z-index: 88; width: min(340px, calc(100vw - 20px)); display: flex; flex-direction: column; gap: 6px; padding: 14px 44px 14px 14px; border-radius: 16px; background: var(--white); box-shadow: 0 18px 44px rgba(11,30,55,.3); border-left: 4px solid var(--orange); }
.hp12-wbub b { color: var(--blue-ink); font-size: 16px; }
.hp12-wbub p { margin: 0; line-height: 1.45; }
.hp12-wbub small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.hp12-wbub ul { margin: 0; padding-left: 18px; }
.hp12-wbub-dock { left: 10px; right: 10px; bottom: 84px; width: auto; }

/* ---------- Screens ---------- */
.hp12-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--blue-ink), var(--blue)); color: var(--white); }
.hp12-hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(255,255,255,.05); pointer-events: none; }
.hp12-hero h1 { font-size: 26px; color: var(--white); margin: 0; }
.hp12-hero p { margin: 4px 0 0; color: #CFE0F3; }
.hp12-hero .hp12-sbar { border-color: transparent; }
.hp12-hero-a { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.hp12-hero-a .btn-ghost { background: rgba(255,255,255,.12); color: var(--white); }
@media (max-width: 1239px) { .hp12-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 699px) { .hp12-hero { padding: 18px 16px; } .hp12-hero h1 { font-size: 22px; } }
.hp12-tiles { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1239px) { .hp12-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .hp12-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.hp12-tile { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); color: var(--ink); text-align: left; font: inherit; box-shadow: 0 1px 2px rgba(11,61,120,.04); }
.hp12-tile:hover { border-color: var(--blue-100); background: var(--blue-50); }
.hp12-tile > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.3; }
.hp12-tile b { color: var(--blue-ink); font-size: 16px; }
.hp12-tile small { color: var(--muted); font-size: 13.5px; }
.hp12-g2 { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.pg > .hp12-g2 { margin-top: 0; }
@media (max-width: 1239px) { .hp12-g2 { grid-template-columns: minmax(0, 1fr); } }
.hp12-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hp12-col > * + * { margin-top: 0; }
.hp12-prog { display: flex; flex-direction: column; gap: 10px; }
.hp12-prog-h { display: flex; align-items: center; gap: 12px; }
.hp12-prog-h b { font-size: 30px; color: var(--blue-ink); }
.hp12-path { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hp12-path li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hp12-path li:last-child { border-bottom: 0; }
.hp12-gll { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.hp12-gll div { padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.hp12-gll dt { font-weight: 700; color: var(--blue-ink); }
.hp12-gll dd { margin: 2px 0 0; color: var(--ink); font-size: 14px; line-height: 1.4; }
@media (max-width: 699px) { .hp12-gll { grid-template-columns: minmax(0, 1fr); } }
.hp12-tourc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-lg); background: var(--orange-50); border: 1px solid var(--orange-100); }
.hp12-tourc > .i { width: 24px; height: 24px; color: var(--orange-ink); }
.hp12-tourc > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hp12-tourc small { color: var(--muted); }
.hp12-pick { max-width: 560px; }
.hp12-ctxc { max-width: 980px; }
.hp12-wkg { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 699px) { .hp12-wkg { grid-template-columns: minmax(0, 1fr); } }
.hp12-wkc { display: flex; flex-direction: column; gap: 12px; }
.hp12-wkc-h { display: flex; align-items: center; gap: 12px; }
.hp12-wkc-h > div { flex: 1; min-width: 0; }
.hp12-wkc-h h3 { font-size: 17px; margin: 0; color: var(--blue-ink); }
.hp12-wkc-h small { color: var(--muted); font-size: 13px; }
.hp12-oth > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; min-height: 44px; }
.hp12-oth > summary .i { width: 18px; height: 18px; color: var(--muted); }
.hp12-oth[open] > summary { margin-bottom: 10px; }
.hp12-oth .hp12-wkg { margin-top: 12px; }
.hp12-ra { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hp12-vers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hp12-vers li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hp12-vers small { width: 100%; color: var(--muted); }
.hp12-h2 { font-size: var(--fs-h2, 22px); color: var(--blue-ink); margin: 8px 0 0; }
.hp12-ku { margin-top: 0; }

/* Learning progress */
.hp12-me { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hp12-me-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hp12-me-t h2 { font-size: 20px; color: var(--blue-ink); margin: 0; }
.hp12-me-t p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hp12-pst { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.hp12-pst li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 13px; }
.hp12-pst li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 12px; }
.hp12-pst li span .i { width: 14px; height: 14px; }
.hp12-pst li.done { color: var(--ok); } .hp12-pst li.done span { background: var(--ok); border-color: var(--ok); color: var(--white); }
.hp12-pst li.now { background: var(--blue-50); color: var(--blue); font-weight: 700; } .hp12-pst li.now span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.hp12-pc { display: flex; flex-direction: column; gap: 10px; }
.hp12-pc-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hp12-pc-h h3 { font-size: 17px; margin: 0; color: var(--blue-ink); }
.hp12-pc-h small { color: var(--muted); font-size: 13px; }
.hp12-pc .pg10 { width: 100%; }
.hp12-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hp12-items li { display: flex; align-items: center; gap: 10px; min-height: 52px; border-bottom: 1px solid var(--line); flex-wrap: wrap; padding: 4px 0; }
.hp12-items li:last-child { border-bottom: 0; }
.hp12-items li > a { flex: 1; min-width: 160px; color: var(--ink); font-weight: 600; }
.hp12-items li.done > a { color: var(--muted); }
.hp12-ck .i { width: 20px; height: 20px; color: var(--faint); }
.hp12-items li.done .hp12-ck .i { color: var(--ok); }

/* Long arrow chains (e.g. "Build→QA→Regression→…") have no spaces: let them wrap on phones. */
.hp12-ctx, .hp12-sec, .hp12-lead, .hp12-ctxc p, .hp12-ctxc li { overflow-wrap: anywhere; min-width: 0; }
[class*="hp12-"] p, [class*="hp12-"] li, [class*="hp12-"] b { overflow-wrap: anywhere; }
