/* LubeWear Live — audience journeys: homepage pathways, programme views, manager approval pack. */

/* Homepage pathways */
.jr-paths { background: linear-gradient(180deg, #f6fafd 0%, var(--white) 100%); }
.jr-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.4rem; margin: 0 auto 2.4rem; max-width: 900px;
  list-style: none; color: var(--slate); font-size: 0.98rem; }
.jr-proof li { display: flex; gap: 0.5rem; align-items: baseline; }
.jr-proof li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); transform: translateY(-1px); }
.jr-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.jr-path { position: relative; display: flex; flex-direction: column; gap: 0.8rem; padding: 1.8rem 1.6rem;
  background: var(--white); border: 1px solid rgba(0, 102, 170, 0.14); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease; }
.jr-path:hover { transform: translateY(-3px); border-color: var(--blue-bright); }
.jr-path-step { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.jr-path h3 { font-size: 1.35rem; }
.jr-path p { color: var(--slate); font-size: 0.97rem; flex: 1; }
.jr-path ul { list-style: none; display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--ink); }
.jr-path li::before { content: '\2713'; color: var(--blue); font-weight: 700; margin-right: 0.45rem; }
.jr-path-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.jr-path-featured { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, var(--blue-deep) 100%); border-color: transparent; }
.jr-path-featured h3, .jr-path-featured li { color: var(--white); }
.jr-path-featured p { color: rgba(255, 255, 255, 0.8); }
.jr-path-featured .jr-path-step, .jr-path-featured li::before { color: #6cc4ff; }

/* Programme audience selector */
.jr-selector-band { padding: 1.4rem 0; background: #f6fafd; border-bottom: 1px solid rgba(0, 102, 170, 0.12); }
.jr-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.jr-tab { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; padding: 0.55rem 1.1rem; border-radius: 999px;
  color: var(--blue-deep); background: var(--white); border: 1px solid rgba(0, 102, 170, 0.25); text-decoration: none; }
.jr-tab:hover { border-color: var(--blue); }
.jr-tab[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.jr-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Programme audience view */
.jr-takeaways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.jr-takeaway { padding: 1.2rem 1.3rem; border-radius: 14px; background: var(--sky); border-left: 4px solid var(--blue); }
.jr-takeaway h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.jr-takeaway p { font-size: 0.93rem; color: var(--slate); }
.jr-view-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.jr-side { display: grid; gap: 1.2rem; position: sticky; top: 100px; }
.jr-group { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin: 1.2rem 0 0.5rem; }
.jr-plan, .jr-moments, .jr-proposed { padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid rgba(0, 102, 170, 0.15); box-shadow: var(--shadow); }
.jr-plan h3, .jr-moments h3, .jr-proposed h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.jr-plan p { color: var(--slate); font-size: 0.94rem; margin-bottom: 1rem; }
.jr-plan ol { list-style: none; display: grid; gap: 0.75rem; margin-bottom: 1.2rem; counter-reset: jr; }
.jr-plan li { display: grid; gap: 0.15rem; padding-left: 2.2rem; position: relative; font-size: 0.93rem; color: var(--slate); counter-increment: jr; }
.jr-plan li::before { content: counter(jr); position: absolute; left: 0; top: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--blue); color: var(--white); font: 700 0.8rem/1.6rem var(--font-head); text-align: center; }
.jr-plan li b { color: var(--ink); font-family: var(--font-head); }
.jr-moments dl { display: grid; gap: 0.8rem; }
.jr-moments dt { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.jr-moments dd { font-size: 0.93rem; color: var(--slate); }
.jr-proposed { background: #fffaf0; border: 1px dashed #e0b85a; box-shadow: none; }
.jr-proposed ul { padding-left: 1.1rem; display: grid; gap: 0.4rem; font-size: 0.93rem; margin-bottom: 0.8rem; }
.jr-proposed p { font-size: 0.82rem; color: #7a5600; }
.jr-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #7a5600; background: #fdf0cf; border-radius: 999px; padding: 0.2rem 0.65rem; margin-bottom: 0.6rem; }
.jr-restricted { margin-top: 1.4rem; }

/* Manager approval pack */
.jr-pack fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
.jr-pack legend { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.8rem; }
.jr-print-title, .jr-print-meta { display: none; }
.jr-sessions { display: grid; gap: 0.45rem; }
.jr-check { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.6rem 0.8rem; border-radius: 10px; background: #f6fafd;
  border: 1px solid rgba(0, 102, 170, 0.12); cursor: pointer; font-size: 0.94rem; }
.jr-check input { margin-top: 0.3rem; accent-color: var(--blue); }
.jr-hint { font-size: 0.84rem; color: var(--slate); margin-bottom: 0.6rem; }
.jr-lines { display: grid; gap: 0.5rem; margin: 0.8rem 0; }
.jr-line { display: grid; grid-template-columns: 1fr 140px auto; gap: 0.5rem; align-items: center; }
.jr-line input { padding: 0.6rem 0.75rem; border: 1px solid #c9d8e5; border-radius: 10px; font: inherit; }
.jr-line-x { background: none; border: 0; color: var(--slate); cursor: pointer; font-size: 0.85rem; text-decoration: underline; }
.jr-total { margin-top: 1rem; font-size: 1.02rem; }
.jr-total b { font-family: var(--font-head); color: var(--blue-deep); }
.jr-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.6rem; }
.jr-status { min-height: 1.4em; font-size: 0.9rem; color: var(--blue-deep); font-weight: 600; }
#packEmailWrap textarea { font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; margin-bottom: 0.6rem; }
.jr-offscreen { position: fixed; left: -9999px; top: 0; }

@media (max-width: 900px) {
  .jr-path-grid, .jr-takeaways, .jr-view-grid { grid-template-columns: 1fr; }
  .jr-side { position: static; }
}
@media (max-width: 560px) {
  .jr-line { grid-template-columns: 1fr 110px; }
  .jr-line-x { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .jr-path { transition: none; }
  .jr-path:hover { transform: none; }
}

/* Site audience: entry question, chooser band, switcher and tailored panel (includes/audience*.php) */
.aud-entry { min-height: 70vh; }
.aud-entry .kicker, .aud-ask .kicker { color: #6cc4ff; }
.aud-ask { padding: 2.2rem 0; background: var(--sky); border-bottom: 1px solid rgba(0, 102, 170, 0.12); }
.aud-ask .kicker { color: var(--blue); }
.aud-ask h2 { font-size: 1.5rem; }
.aud-ask p { color: var(--slate); margin-top: 0.4rem; }
.aud-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.aud-choice { display: grid; gap: 0.4rem; padding: 1.2rem 1.3rem; border-radius: 14px; text-decoration: none; background: var(--white);
  border: 1px solid rgba(0, 102, 170, 0.25); color: var(--slate); box-shadow: var(--shadow); }
.aud-choice b { font-family: var(--font-head); font-size: 1.1rem; color: var(--blue-deep); }
.aud-choice:hover, .aud-choice:focus-visible { border-color: var(--blue); outline: 3px solid var(--gold); outline-offset: 2px; }
.aud-entry .aud-choice { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.85); }
.aud-entry .aud-choice b { color: var(--white); }
.aud-panel { padding: 2rem 0 2.4rem; background: var(--sky); }
.aud-switch { display: grid; gap: 0.75rem; margin-bottom: 1.6rem; padding: 1rem 1.15rem; border-radius: 14px; background: var(--white);
  border: 1px solid rgba(0, 102, 170, 0.22); box-shadow: var(--shadow); }
.aud-switch-label { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--blue-deep); }
.aud-switch-choices { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.aud-chip { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(0, 102, 170, 0.28); background: var(--sky);
  color: var(--blue-deep); text-decoration: none; font-weight: 600; font-size: 0.92rem; line-height: 1.25;
  transition: border-color 0.15s ease, background 0.15s ease; }
.aud-chip:hover, .aud-chip:focus-visible { border-color: var(--blue); outline: 3px solid var(--gold); outline-offset: 2px; }
.aud-chip[aria-current="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.aud-change { margin-left: auto; color: var(--blue-deep); font-weight: 600; }
.aud-panel-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.6rem; align-items: start; }
.aud-panel h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0.2rem 0 0.6rem; }
.aud-panel p { color: var(--slate); }
.aud-points { list-style: none; display: grid; gap: 0.6rem; }
.aud-points li { padding: 0.7rem 0.9rem; border-radius: 12px; background: var(--white); border-left: 4px solid var(--blue); font-weight: 600; }
.aud-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
@media (max-width: 820px) {
  .aud-choices, .aud-panel-body { grid-template-columns: 1fr; }
  .aud-switch-choices { flex-direction: column; align-items: stretch; }
  .aud-chip { text-align: center; }
  .aud-change { margin-left: 0; }
}

/* Programme views open with the selector band: give it nav clearance and a dark backdrop under the fixed nav */
.jr-selector-band { padding: 7.2rem 0 1.4rem; border-bottom: 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, var(--blue-deep) 100%); }
.jr-selector-band .jr-tab { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
.jr-selector-band .jr-tab[aria-current="page"] { background: var(--white); border-color: var(--white); color: var(--blue-deep); }
.jr-selector-band .jr-change a { color: #6cc4ff; }
@media (max-width: 900px) { .jr-selector-band { padding-top: 6rem; } }

/* Audience question at the top of an inner-page hero (dark background) */
.aud-hero-ask { margin: 0 0 2rem; }
.aud-hero-q { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-top: 0.3rem; }
.aud-hero-ask .aud-choices { margin-top: 0.9rem; }
.aud-hero-ask .aud-choice { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.85); }
.aud-hero-ask .aud-choice b { color: var(--white); }
