/* Path course page (session C). Matches the course page of reference/time-and-level-options.html, option 11, course layout B "Path". Colours and fonts from tokens.css. */
.hp { min-height: 100vh; min-height: 100dvh; background: var(--sea); display: flex; flex-direction: column; overflow-x: hidden; }
.hp-screen { flex: 1; display: flex; flex-direction: column; padding: 8px max(20px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); }
.hp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp-note { text-align: center; color: var(--ink-2); margin: 40px 0; }
.hp-back { align-self: flex-start; border: 0; background: none; color: var(--navy); font-weight: 700; padding: 4px 0 12px; font-size: 14px; }
.hp-err-title { margin: 0; font: 400 24px/1.15 var(--display); }

.hp-course { display: grid; gap: 16px; width: min(1000px, 100%); margin: 0 auto; text-align: left; }
.hp-head { display: grid; gap: 8px; min-width: 0; }
.hp-head h1 { margin: 0; font: 400 clamp(30px, 4.6vw, 44px)/1.05 var(--display); text-wrap: balance; overflow-wrap: anywhere; }
.hp-countdown { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; }
.hp-countdown b { font: 400 40px/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.hp-countdown span { font-weight: 700; }

.hp-banner { border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; }
.hp-banner.amber { background: var(--amber); color: var(--amber-ink); }
.hp-banner.blue { background: var(--blue); color: var(--navy-ink); }
.hp-banner strong { font-size: 15px; }
.hp-banner span { font-size: 14px; }
.hp-banner:focus { outline: none; }
.hp-banner:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.hp-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.hp-quick button { border: 1.5px solid var(--navy-2); background: var(--paper); color: var(--navy); border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 13px; }
.hp-quick button[disabled] { opacity: .6; cursor: default; }
.hp-quick button:not([disabled]):active { background: var(--blue); transform: scale(.97); }

.hp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; align-items: start; }
.hp-side { display: grid; gap: 12px; min-width: 0; }
@media (max-width: 760px) { .hp-grid { grid-template-columns: minmax(0, 1fr); } }

.hp-card { background: var(--paper); border-radius: 18px; padding: 16px; box-shadow: 0 1px 0 var(--line); display: grid; gap: 10px; }
.hp-card h2 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hp-card p { margin: 0; }

/* the path */
.hp-path-wrap { min-width: 0; }
.hp-path { list-style: none; margin: 0; padding: 0; display: grid; }
.hp-stop { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.hp-rail { display: flex; flex-direction: column; align-items: center; }
.hp-rail i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--sea-deep); background: var(--paper); flex: none; font-style: normal; font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; color: var(--ink-3); }
.hp-rail b { flex: 1; width: 3px; background: var(--sea-deep); min-height: 18px; }
.hp-stop:last-child .hp-rail b { display: none; }
.hp-stop.cur .hp-rail i { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 5px var(--blue); }
.hp-stop.mock .hp-rail i { border-color: var(--glow); }
.hp-stop.exam .hp-rail i { background: var(--glow); border-color: var(--glow); color: var(--ink); }
.hp-stop.known .hp-rail i { background: var(--good); border-color: var(--good); color: #fff; }
.hp-body { padding-bottom: 16px; display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.hp-when { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hp-body h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.hp-items { font-size: 14px; color: var(--ink-2); }
.hp-mins { font-size: 12px; font-weight: 700; color: var(--navy-2); }
.hp-stop.cur .hp-body { background: var(--paper); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; box-shadow: 0 1px 0 var(--line); }
.hp-tag { justify-self: start; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; padding: 2px 6px; background: var(--amber); color: var(--amber-ink); }
.hp-tag.good { background: var(--good-bg); color: var(--good); }
.hp-start { justify-self: start; margin-top: 6px; }

/* rescue stops, opened in place */
.hp-rescue { display: grid; gap: 10px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.hp-rescue:focus { outline: none; }
.hp-rescue h4 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hp-rescue ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.hp-rescue p { margin: 0; }
.hp-rescue > .hs-go { justify-self: start; }
.hp-qnum { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.hp-qtext { font-weight: 700; }
.hp-opts { display: grid; gap: 6px; }
.hp-opt { text-align: left; border: 1.5px solid var(--line-2); background: var(--paper); border-radius: 12px; padding: 9px 12px; font-weight: 600; font-size: 14px; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .hp-opt:not([disabled]):hover { border-color: var(--navy-2); } }
.hp-opt, .hp-quick button, .hp-pick span { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.hp-opt:not([disabled]):active { border-color: var(--navy-2); background: var(--blue); }
.hp-opt[disabled] { cursor: default; }
.hp-opt.right { background: var(--good-bg); border-color: var(--good); color: var(--good); }
.hp-opt.wrong { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }
.hp-why { font-size: 14px; border-radius: 10px; padding: 8px 10px; }
.hp-why.right { background: var(--good-bg); color: var(--sage-ink); }
.hp-why.wrong { background: var(--bad-bg); color: var(--bad); }

/* ready on the day */
.hp-scale { position: relative; height: 14px; border-radius: 999px; background: var(--sea-2); margin-top: 4px; }
.hp-scale .band { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--glow); }
.hp-scale .aim { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; background: var(--navy); border-radius: 2px; }
.hp-scale-lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); font-weight: 700; }
.hp-ready-text { font-size: 14px; color: var(--ink-2); }
.hp-ready-text b { color: var(--ink); }
.hp-reach { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; color: var(--ink); font-weight: 600; }

/* your plan */
.hp-settings { display: grid; gap: 6px; font-size: 14px; margin: 0; }
.hp-settings div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.hp-settings dt { color: var(--ink-3); }
.hp-settings dd { margin: 0; font-weight: 700; text-align: right; }
.hp-change { justify-self: start; font-size: 14px; }

/* The plan card's Change box (owner, 23 November): date, plan and the kind of questions, saved at once */
.hp-edit-form { display: grid; gap: 12px; }
.hp-edit fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.hp-edit legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.hp-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-pick { position: relative; }
.hp-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hp-pick span { display: inline-block; border: 1.5px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.hp-pick span:active { background: var(--blue); }
.hp-pick input:checked + span { background: var(--blue); border-color: var(--navy-2); color: var(--navy-ink); }
.hp-pick input:focus-visible + span { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.hp-date { justify-self: start; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper); padding: 7px 10px; font-size: 14px; }
.hp-edit-actions { display: flex; align-items: center; gap: 12px; }
.hp-edit-note { font-size: 13px; color: var(--sage-ink); }
.hp-edit-note.bad { color: var(--bad); }
.hp-remove { justify-self: start; margin-top: 4px; color: var(--ink-2); font-size: 13px; }
.hp-remove-ask p { margin: 6px 0 10px; font-size: 14px; }
.hp-start-err { margin: 8px 0 0; font-size: 14px; color: var(--bad); }

/* Juno on the Path page (path.js junoBits): today's items for this course, each with its why, and Juno's quiet help.
   The calm Juno look (white cards, navy, the note colours), as her own pieces use everywhere. */
.hp-juno-help { margin: 10px 0 0; display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #FFF1CC; color: #7A5410; font-size: 15px; text-align: left; }
.hp-juno-help a { color: #7A5410; font-weight: 700; }
.hp-jdot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #214985; color: #fff; display: inline-grid; place-items: center; font: 400 12px/1 var(--display); }
.hp-today { margin-top: 12px; background: #fff; border: 1px solid #E5EAEC; border-radius: 20px; padding: 14px 16px; text-align: left; }
.hp-today h2 { margin: 0 0 6px; font: 700 16px/1.3 var(--body); color: #16191D; }
.hp-today ol { list-style: none; margin: 0; padding: 0; }
.hp-today li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-top: 1px solid #EEF2F3; }
.hp-today li:first-child { border-top: 0; }
.hp-today-n { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #C8D3D8; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #6A7178; }
.hp-today li.done .hp-today-n { background: #1F7A4D; border-color: #1F7A4D; color: #fff; }
.hp-today-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hp-today-t a, .hp-today-t b { color: #16191D; font-weight: 600; }
.hp-today-t span { color: #6A7178; font-size: 14px; }
.hp-today li.done .hp-today-t a, .hp-today li.done .hp-today-t b { color: #6A7178; text-decoration: line-through; }
.hp-today-m { flex: none; color: #6A7178; font-size: 14px; }
