/* Zebra Admin Academy. Light pages, one black "route" band, Impact Green as the single accent.
   Cues from zebra.com: floating gray pill nav, black band with diagonal energy streaks, white cards on top,
   green pill buttons, pill tab switchers. Zebra Sans / Mono load only if installed on the viewer's machine. */
:root {
  --white: #fff; --g50: #f2f2f2; --g100: #e6e6e6; --g200: #bdbdbd; --g500: #757575; --g700: #565656; --g800: #303030;
  --black: #000; --green: #a8f931; --green50: #e2ffb6; --green700: #528406; --orange: #ff4d00; --magenta: #ff40fc;
  --r: 16px; --pill: 999px;
  --head: "Zebra Sans Cnd ExtraBold", "Zebra Sans Condensed Extrabold", "Arial Narrow", "HelveticaNeue-CondensedBold", "Helvetica Neue Condensed Bold", "Roboto Condensed", Arial, sans-serif;
  --body: "Zebra Sans", Arial, Helvetica, sans-serif;
  --mono: "Zebra Mono", "Trebuchet MS", monospace;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--black); font: 16px/1.2 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--green700); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: .94; letter-spacing: 0; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.small { font-size: 14px; color: var(--g700); line-height: 1.3; }

/* Buttons: zebra.com style pills with a chevron */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: var(--pill); padding: 12px 20px; font-size: 15px; font-weight: 700; text-decoration: none; background: var(--green); color: var(--black); transition: background .15s; }
.btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: 2px; }
.btn:hover { background: #bdff5c; }
.btn.dark { background: var(--black); color: var(--white); }
.btn.dark:hover { background: var(--g800); }
.btn.line { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.line:hover { background: rgba(0, 0, 0, .05); }
.btn.plain::after { display: none; }

/* Floating nav */
.top { position: sticky; top: 0; z-index: 20; background: var(--white); padding: 12px 0; }
.navbar { display: flex; align-items: center; gap: 20px; background: var(--g50); border-radius: var(--r); padding: 10px 12px 10px 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.brand img { height: 24px; width: auto; }
.brand span { font-family: var(--head); font-weight: 800; font-size: 20px; padding-left: 12px; border-left: 1.5px solid var(--g200); white-space: nowrap; }
.tabs { display: flex; gap: 2px; margin-left: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; border-radius: var(--pill); font-size: 15px; color: var(--black); white-space: nowrap; }
.tabs button:hover { background: var(--white); }
.tabs button.on { background: var(--black); color: var(--white); }
.me { display: flex; align-items: center; gap: 8px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 0; }

/* Route band: the signature element. Black, diagonal energy streaks, the 11 paths as stops on a route. */
.band { position: relative; background: var(--black); color: var(--white); overflow: hidden; margin-top: 8px; }
.band::before { content: ""; position: absolute; inset: -40% -10% -40% 45%; background:
  repeating-linear-gradient(115deg, transparent 0 46px, rgba(168, 249, 49, .55) 46px 58px, transparent 58px 120px, rgba(255, 77, 0, .45) 120px 128px, transparent 128px 190px),
  repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 64, 252, .25) 22px 26px, transparent 26px 150px);
  filter: blur(6px); mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
.band .wrap { position: relative; padding-top: 56px; padding-bottom: 48px; }
.band h1 { font-size: clamp(42px, 6vw, 76px); max-width: 13ch; }
.band .lead { font-size: 18px; line-height: 1.35; color: var(--g200); max-width: 46ch; margin: 18px 0 28px; }
.band .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.band .btn.line { color: var(--white); }
.band .btn.line:hover { background: rgba(255, 255, 255, .08); }

.route { margin-top: 48px; }
.route .lbl { display: flex; justify-content: space-between; font-size: 14px; color: var(--g200); margin-bottom: 14px; }
.stops { display: grid; grid-template-columns: repeat(var(--np, 11), 1fr); position: relative; }
.stops::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 3px; background: var(--g800); }
.stops .fill { position: absolute; left: 0; top: 17px; height: 3px; background: var(--green); width: 0; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; color: var(--g200); padding: 0 2px; }
.stop i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--head); font-weight: 800; font-size: 17px; background: var(--black); border: 3px solid var(--g800); color: var(--g500); transition: transform .15s; }
.stop.has i { border-color: var(--g500); color: var(--white); }
.stop.started i { border-color: var(--green); color: var(--green); }
.stop.done i { background: var(--green); border-color: var(--green); color: var(--black); }
.stop span { font-size: 12px; line-height: 1.15; text-align: center; max-width: 11ch; }
.stop:hover i { transform: scale(1.12); }
.stop:not(.has) { cursor: default; }
.stop:not(.has):hover i { transform: none; }

/* White cards sitting on the band edge, like zebra.com stats */
.lift { position: relative; margin-top: -1px; background: linear-gradient(var(--black) 0 64px, var(--white) 64px); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.statc { background: var(--white); border-radius: var(--r); padding: 26px 28px; box-shadow: 0 0 0 1px var(--g100); }
.statc b { display: block; font-family: var(--head); font-weight: 800; font-size: 64px; line-height: .9; }
.statc p { margin: 8px 0 0; font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1.05; }
.statc .bar { margin-top: 16px; }

/* Sections */
section.block { padding: 56px 0 8px; }
.shead { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.shead h2 { font-size: clamp(30px, 3.4vw, 44px); }
.shead p { margin: 8px 0 0; color: var(--g700); font-size: 16px; line-height: 1.3; max-width: 60ch; }
.rule { height: 0; border: 0; border-top: 4px solid var(--black); margin: 0 0 3px; }
.rule + .rule2 { border-top: 1px solid var(--black); margin: 0 0 24px; }

.bar { height: 6px; border-radius: 3px; background: var(--g100); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green700); border-radius: 3px; }
.band .bar, .statc.dark .bar { background: var(--g800); }

/* Path cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.pcard { position: relative; background: var(--g50); border-radius: var(--r); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; text-align: left; border: 0; min-height: 250px; transition: background .2s; }
.pcard:hover { background: var(--g100); }
.pcard .top2 { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.pcard .n { font-family: var(--head); font-weight: 800; font-size: 56px; line-height: .8; color: var(--g200); }
.pcard.started .n { color: var(--green700); }
.pcard h3 { font-size: 28px; }
.pcard p { margin: 0; color: var(--g700); font-size: 15px; line-height: 1.3; flex: 1; }
.pcard .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--g700); }
.pcard.soon { cursor: default; background: transparent; box-shadow: inset 0 0 0 1.5px var(--g100); }
.pcard.soon .n, .pcard.soon h3 { color: var(--g200); }
.save { border: 0; background: var(--white); border-radius: var(--pill); padding: 7px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.save.on { background: var(--black); color: var(--green); }

/* Video cards */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px 18px; margin-bottom: 40px; }
.vcard { cursor: pointer; text-align: left; background: none; border: 0; padding: 0; }
.vcard .th { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--g50); box-shadow: inset 0 0 0 1px var(--g100); }
.vcard .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.vcard:hover .th img { transform: scale(1.04); }
.vcard .dur { position: absolute; right: 10px; bottom: 10px; background: var(--black); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.vcard .seen { position: absolute; left: 10px; top: 10px; background: var(--green); color: var(--black); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 6px; }
.vcard .resume { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0, 0, 0, .2); }
.vcard .resume i { display: block; height: 100%; background: var(--green); }
.vcard .tx { padding: 12px 2px 0; }
.vcard .tt { font-weight: 700; font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vcard .ty { font-size: 13px; color: var(--g500); margin-top: 6px; text-transform: capitalize; }

/* Path page header */
.phead { background: var(--black); color: var(--white); }
.phead .wrap { padding-top: 40px; padding-bottom: 44px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: end; }
.phead .crumb { border: 0; background: none; color: var(--g200); padding: 0; margin-bottom: 22px; font-size: 14px; }
.phead h1 { font-size: clamp(38px, 5vw, 64px); max-width: 16ch; }
.phead p { color: var(--g200); line-height: 1.35; margin: 16px 0 0; max-width: 60ch; }
.phead .side b { font-family: var(--head); font-weight: 800; font-size: 72px; line-height: .9; color: var(--green); }
.phead .side p { margin: 4px 0 14px; }
.phead .milestone { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--g800); font-size: 15px; }
.sub { font-size: 26px; margin: 8px 0 18px; }

/* Topic chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; background: var(--g50); border-radius: var(--r); padding: 8px; margin-bottom: 32px; }
.chips button { border: 0; background: none; border-radius: var(--pill); padding: 9px 14px; font-size: 14px; }
.chips button:hover { background: var(--white); }
.chips button.on { background: var(--black); color: var(--white); }

/* My learning */
.empty { background: var(--g50); border-radius: var(--r); padding: 28px; color: var(--g700); line-height: 1.4; }
.hist { display: grid; gap: 0; }
.hist button { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border: 0; border-bottom: 1px solid var(--g100); background: none; text-align: left; }
.hist img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--g100); }
.hist .when { font-size: 13px; color: var(--g500); white-space: nowrap; }

/* Find my path teaser */
.guide { background: var(--g50); border-radius: var(--r); padding: 48px; }
.guide h2 { font-size: clamp(36px, 4.5vw, 56px); margin-bottom: 14px; }
.guide p { color: var(--g700); max-width: 56ch; line-height: 1.35; font-size: 17px; }
.journey { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 30px; }
.journey span { background: var(--white); border-radius: var(--pill); padding: 10px 16px; font-weight: 700; font-size: 14px; }

footer { margin-top: 64px; border-top: 4px solid var(--black); }
footer .wrap { padding: 20px 24px 40px; font-size: 12px; color: var(--g500); line-height: 1.4; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Player */
dialog { width: min(1080px, 96vw); border: 0; border-radius: var(--r); padding: 0; background: var(--white); overflow: hidden; }
dialog::backdrop { background: rgba(0, 0, 0, .78); }
dialog video { width: 100%; display: block; background: var(--black); aspect-ratio: 16 / 9; }
dialog .info { padding: 22px 28px 26px; display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: start; }
dialog h2 { font-size: 30px; }
dialog .outcome { margin: 10px 0 0; color: var(--g700); line-height: 1.35; }
dialog .acts { display: flex; gap: 10px; }

/* Login */
body.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.login .left { padding: 40px clamp(24px, 6vw, 88px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.login .left > img { height: 28px; width: auto; align-self: flex-start; }
.login h1 { font-size: clamp(44px, 5.5vw, 72px); margin-bottom: 16px; max-width: 10ch; }
.login .lead { color: var(--g700); font-size: 18px; line-height: 1.35; margin: 0 0 30px; max-width: 40ch; }
.login form { max-width: 420px; }
.login label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.login input { width: 100%; padding: 15px 18px; border-radius: var(--pill); border: 1.5px solid var(--g200); font: 17px var(--body); margin-bottom: 14px; }
.login input:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px var(--green50); }
.login #code { letter-spacing: .35em; font-size: 22px; }
.login .msg { min-height: 20px; color: var(--g700); font-size: 14px; margin-top: 14px; }
.login .link { border: 0; background: none; padding: 0; margin-left: 16px; text-decoration: underline; color: var(--g700); font-size: 14px; }
.login .legal { font-size: 11px; color: var(--g500); line-height: 1.4; max-width: 60ch; margin: 0; }
.login .right { position: relative; background: var(--black); color: var(--white); padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.login .right::before { content: ""; position: absolute; inset: -30% -30% 30% -10%; background:
  repeating-linear-gradient(115deg, transparent 0 46px, rgba(168, 249, 49, .6) 46px 60px, transparent 60px 120px, rgba(255, 77, 0, .5) 120px 128px, transparent 128px 190px),
  repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 64, 252, .3) 22px 26px, transparent 26px 150px);
  filter: blur(5px); mask-image: linear-gradient(180deg, #000 30%, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 75%); }
.login .right > * { position: relative; }
.login .right h2 { font-size: clamp(32px, 3.6vw, 50px); max-width: 15ch; margin-bottom: 28px; }
.login .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.login .facts div { background: var(--white); color: var(--black); border-radius: var(--r); padding: 18px; }
.login .facts b { display: block; font-family: var(--head); font-weight: 800; font-size: 44px; line-height: .9; }
.login .facts span { font-size: 14px; line-height: 1.2; display: block; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 980px) {
  .tabs { order: 3; width: 100%; overflow-x: auto; margin-left: 0; }
  .navbar { flex-wrap: wrap; }
  .me { margin-left: auto; }
  .stops span { display: none; }
  .cards3 { grid-template-columns: 1fr; }
  .phead .wrap { grid-template-columns: 1fr; }
  body.login { grid-template-columns: 1fr; }
  .login .right { display: none; }
  dialog .info { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  .stop i { width: 26px; height: 26px; font-size: 13px; border-width: 2px; }
  .stops::before, .stops .fill { top: 12px; }
  .guide { padding: 28px 22px; }
  .hist button { grid-template-columns: 88px 1fr; }
  .hist img { width: 88px; }
  .hist .when { display: none; }
}

/* Roadmap placeholders */
.vcard.soon { cursor: default; }
.vcard .th.ph { display: flex; flex-direction: column; justify-content: space-between; padding: 14px; background: var(--g50);
  background-image: repeating-linear-gradient(115deg, transparent 0 18px, rgba(0, 0, 0, .035) 18px 20px); }
.vcard .th.ph .kind { font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--g200); text-transform: capitalize; }
.vcard .th.ph .badge { align-self: flex-start; background: var(--white); border-radius: 6px; padding: 4px 9px; font-size: 12px; font-weight: 700; color: var(--g700); }
.vcard.soon .tt { color: var(--g700); font-weight: 400; }
.vcard.soon .dur { background: var(--white); color: var(--g700); }
.statc b small { font-size: 28px; color: var(--g500); }
.chips .cnt { color: var(--g500); font-size: 12px; margin-left: 4px; }
.chips button.on .cnt { color: var(--g200); }

/* Fixes after visual review */
.vcard { display: block; width: 100%; font: inherit; color: inherit; vertical-align: top; }
.vgrid { align-items: start; }
.vcard .ty { text-transform: none; }
.vcard .ty::first-letter { text-transform: uppercase; }
.phead .bar { background: var(--g800); }
.phead .bar i { background: var(--green); }

/* Topic tiles with icons */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 40px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; border: 0; background: var(--g50); border-radius: var(--r); padding: 18px 18px 16px; min-height: 160px; transition: background .15s; }
.tile:hover { background: var(--g100); }
.tile .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--black); }
.tile .tn { font-family: var(--head); font-weight: 800; font-size: 19px; line-height: 1; flex: 1; }
.tile .tc { font-size: 13px; color: var(--g700); }
.tile .tb { position: absolute; left: 18px; right: 18px; bottom: 0; height: 4px; border-radius: 2px 2px 0 0; background: transparent; overflow: hidden; }
.tile .tb i { display: block; height: 100%; background: var(--green700); }
.tile.later .ic { color: var(--g500); }
.tile.later .tn { color: var(--g700); }
.tile.on { background: var(--black); color: var(--white); }
.tile.on .ic { background: var(--green); color: var(--black); }
.tile.on .tc { color: var(--g200); }
.tile.on .tn { color: var(--white); }
.tile.on .tb i { background: var(--green); }
.thead { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding-top: 22px; border-top: 4px solid var(--black); scroll-margin-top: 90px; }
.thead .ic.big { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green); flex: none; }

/* Resources */
.rgroup { margin-bottom: 40px; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.rcard { display: flex; flex-direction: column; gap: 6px; background: var(--g50); border-radius: var(--r); padding: 18px 20px; text-decoration: none; color: var(--black); transition: background .15s; }
.rcard:hover { background: var(--g100); }
.rcard b { font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1; }
.rcard span { font-size: 14px; color: var(--g700); line-height: 1.3; flex: 1; }
.rcard small { font-size: 12px; color: var(--g500); }
.rcard small::after { content: " \2197"; }

/* Welcome */
dialog.welcome { width: min(760px, 94vw); padding: 0; border-radius: var(--r); }
.welcome .wtop { display: flex; justify-content: space-between; align-items: center; padding: 24px 32px 0; }
.welcome .wtop img { height: 22px; width: auto; }
.welcome .dots { display: flex; gap: 6px; }
.welcome .dots i { width: 28px; height: 4px; border-radius: 2px; background: var(--g100); }
.welcome .dots i.on { background: var(--black); }
.welcome .wmain { padding: 28px 32px 8px; }
.welcome .wk { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--green700); }
.welcome h2 { font-size: clamp(32px, 4.4vw, 48px); max-width: 18ch; }
.welcome .wl { color: var(--g700); font-size: 17px; line-height: 1.35; margin: 14px 0 24px; max-width: 52ch; }
.welcome .wfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.welcome .wfacts div { background: var(--g50); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.welcome .wfacts b { font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1; }
.welcome .wfacts span { font-size: 14px; color: var(--g700); line-height: 1.3; }
.welcome .wroles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wrole { text-align: left; border: 0; background: var(--g50); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: background .15s; }
.wrole:hover { background: var(--g100); }
.wrole b { font-family: var(--head); font-weight: 800; font-size: 21px; line-height: 1; }
.wrole span { font-size: 14px; color: var(--g700); line-height: 1.3; }
.wrole.on { background: var(--black); color: var(--white); }
.wrole.on span { color: var(--g200); }
.welcome .wnav { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px 28px; }
.welcome .link { border: 0; background: none; text-decoration: underline; color: var(--g700); font-size: 14px; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
@media (max-width: 640px) { .welcome .wfacts, .welcome .wroles { grid-template-columns: 1fr; } }

/* Product family switcher */
.fam { position: relative; }
.famb { border: 0; background: var(--white); border-radius: var(--pill); padding: 9px 14px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.famb::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.fammenu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: 330px; background: var(--white); border-radius: var(--r); padding: 8px; box-shadow: 0 18px 50px rgba(0, 0, 0, .18); display: grid; gap: 2px; }
.fammenu button { display: flex; gap: 12px; align-items: center; text-align: left; border: 0; background: none; border-radius: 10px; padding: 10px; }
.fammenu button:hover { background: var(--g50); }
.fammenu .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--g50); display: grid; place-items: center; flex: none; }
.fammenu button.on .ic { background: var(--green); }
.fammenu b { display: block; font-size: 14px; }
.fammenu small { color: var(--g500); font-size: 12px; }
.ic.big.fam { width: 72px; height: 72px; border-radius: 50%; background: var(--g50); display: grid; place-items: center; margin-bottom: 18px; }

/* Find my path */
.gbox { background: var(--g50); border-radius: var(--r); padding: 44px clamp(22px, 4vw, 52px); }
.gbox h2 { font-size: clamp(34px, 4.4vw, 56px); max-width: 20ch; }
.gk { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--green700); }
.gl { color: var(--g700); font-size: 17px; line-height: 1.35; margin: 14px 0 26px; max-width: 56ch; }
.gacts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.ribbon { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; }
.cp { position: relative; text-align: left; border: 0; background: var(--white); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; transition: background .15s, transform .15s; }
.cp:hover { transform: translateY(-2px); }
.cp i { font-style: normal; font-family: var(--head); font-weight: 800; font-size: 34px; line-height: .9; color: var(--g200); }
.cp b { font-family: var(--head); font-weight: 800; font-size: 22px; line-height: 1; }
.cp span { font-size: 13px; color: var(--g700); line-height: 1.25; }
.cp.on { background: var(--black); color: var(--white); }
.cp.on i { color: var(--green); }
.cp.on span { color: var(--g200); }
.gchips { display: flex; flex-wrap: wrap; gap: 8px; }
.gchips button { border: 0; background: var(--white); border-radius: var(--pill); padding: 11px 16px; font-size: 14px; font-weight: 700; }
.gchips button.on { background: var(--black); color: var(--white); }
.gchips.big button { padding: 16px 24px; font-size: 16px; }
.gnav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; gap: 12px; }
.gnav.sticky { position: sticky; bottom: 16px; background: var(--white); border-radius: var(--pill); padding: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.gnav .link { border: 0; background: none; text-decoration: underline; color: var(--g700); font-size: 14px; }
.kcard { background: var(--white); border-radius: var(--r); padding: 30px; border-left: 6px solid var(--green); max-width: 760px; }
.kcard h3 { font-size: clamp(24px, 2.8vw, 34px); margin: 10px 0 24px; }
.kbtns { display: flex; gap: 10px; flex-wrap: wrap; }
.kstacks { display: flex; gap: 24px; margin-top: 16px; font-size: 14px; color: var(--g700); }
.kstacks b { font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--black); }
.why { margin: 16px 0 26px; }
.why p { margin: 0 0 6px; color: var(--g700); line-height: 1.35; }
.why p::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green700); margin-right: 10px; }
.mypath { display: flex; justify-content: space-between; align-items: end; gap: 20px; background: var(--g50); border-radius: var(--r); padding: 24px 26px; margin-bottom: 20px; }
.mypath > div { flex: 1; max-width: 520px; }
.mypath h3 { font-size: 28px; margin-bottom: 6px; }
.empty a { color: var(--black); font-weight: 700; }
.welcome .wfam { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.welcome .wfam .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; margin-bottom: 4px; }
.welcome .wfam .wrole.on .ic { background: var(--green); color: var(--black); }
@media (max-width: 980px) { .ribbon { grid-template-columns: 1fr 1fr; } .fam { order: 2; } }
@media (max-width: 640px) { .welcome .wfam { grid-template-columns: 1fr; } .mypath { flex-direction: column; align-items: stretch; } }

/* Feedback under the video */
dialog .fb { padding: 0 28px 24px; border-top: 1px solid var(--g100); margin-top: -4px; padding-top: 18px; }
dialog .fb p { margin: 0 0 10px; }
.fbrow { display: flex; gap: 10px; align-items: stretch; }
.thumb { border: 0; background: var(--g50); border-radius: 12px; width: 52px; font-size: 22px; flex: none; }
.thumb.on { background: var(--green); }
.fbrow textarea { flex: 1; border: 1.5px solid var(--g200); border-radius: 12px; padding: 10px 14px; font: 15px var(--body); resize: vertical; min-height: 48px; }
.fbrow textarea:focus { outline: none; border-color: var(--black); }
.fbrowa { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--g100); align-items: start; }
.fbrowa .r { font-size: 22px; }

/* Badges */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.badge { background: var(--g50); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 6px; opacity: .55; }
.badge .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--g500); }
.badge b { font-family: var(--head); font-weight: 800; font-size: 18px; line-height: 1; }
.badge small { font-size: 12px; color: var(--g700); line-height: 1.25; }
.badge.on { opacity: 1; background: var(--black); color: var(--white); }
.badge.on .ic { background: var(--green); color: var(--black); }
.badge.on small { color: var(--g200); }
@media (max-width: 640px) { .fbrow { flex-wrap: wrap; } .fbrow textarea { flex-basis: 100%; order: 3; } }

/* Nav fit */
.famb { white-space: nowrap; }
.tabs button { padding: 10px 11px; }
@media (max-width: 1320px) { .brand span { display: none; } }

.fammenu[hidden] { display: none; }

/* Phones: compact top bar, app-style tab bar at the bottom */
.tabs .ti { display: none; }
.tabs { scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  .top { padding: 8px 0; }
  .navbar { flex-wrap: nowrap; padding: 8px 8px 8px 14px; gap: 10px; }
  .brand img { height: 20px; }
  .famb { padding: 8px 12px; font-size: 13px; margin-left: auto; }
  .me { margin-left: 0; }
  .avatar { width: 34px; height: 34px; }
  .fammenu { left: auto; right: -50px; width: min(330px, 92vw); }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; width: auto; margin: 0; order: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: var(--white); border-top: 1px solid var(--g100); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); gap: 0; overflow: visible; }
  .tabs button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; font-size: 11px; font-weight: 700; color: var(--g700); }
  .tabs button .ti { display: block; line-height: 0; }
  .tabs button.on { background: transparent; color: var(--black); }
  .tabs button.on .ti { background: var(--green); border-radius: 999px; padding: 3px 14px; }
  .tabs button .tl { white-space: nowrap; max-width: 72px; overflow: hidden; text-overflow: ellipsis; }
  #admintab { display: none !important; }
  body { padding-bottom: 76px; }
  dialog .acts { flex-wrap: wrap; }
  .band .wrap { padding-top: 36px; padding-bottom: 36px; }
  .band h1 { font-size: 40px; }
  .band .lead { font-size: 16px; }
  .route .lbl { flex-direction: column; gap: 4px; }
  .lift { background: linear-gradient(var(--black) 0 40px, var(--white) 40px); }
  .statc { padding: 20px 22px; }
  .statc b { font-size: 48px; }
  section.block { padding-top: 36px; }
  .shead { flex-direction: column; align-items: flex-start; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .vcard .tt { font-size: 14px; }
  .vcard .dur, .vcard .seen { font-size: 11px; }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 140px; padding: 14px; }
  .tile .tn { font-size: 16px; }
  .phead .wrap { padding-top: 28px; padding-bottom: 30px; gap: 20px; }
  .phead .side b { font-size: 52px; }
  .gbox { padding: 28px 18px; }
  .ribbon { grid-template-columns: 1fr 1fr; }
  .cp { min-height: 120px; }
  .kcard { padding: 22px; }
  .gnav.sticky { bottom: 84px; }
  .rgrid { grid-template-columns: 1fr; }
  footer { margin-bottom: 0; }
  footer .wrap { padding-bottom: 24px; }
  dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: auto 0 0; border-radius: var(--r) var(--r) 0 0; overflow-y: auto; }
  dialog .info { padding: 16px 18px; }
  dialog h2 { font-size: 24px; }
  dialog .fb { padding: 14px 18px 22px; }
  dialog.welcome { width: 100vw; max-width: 100vw; }
  .welcome .wtop, .welcome .wmain, .welcome .wnav { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 380px) { .vgrid, .tgrid { grid-template-columns: 1fr; } .famb span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; } }

.tabs .ts { display: none; }
@media (max-width: 760px) {
  .tabs .tl { display: none; }
  .tabs .ts { display: block; white-space: nowrap; }
  .fam { order: 1; margin-left: auto; }
  .famb { margin-left: 0; }
  .me { order: 2; }
}

.pwrap { background: var(--black); aspect-ratio: 16 / 9; }
.pwrap video { width: 100%; height: 100%; display: block; background: var(--black); }

/* Player fits any window: width limited by the height left for the video (short laptop screens) */
dialog#player { width: min(1080px, 96vw, calc((92dvh - 250px) * 16 / 9)); min-width: min(520px, 96vw); max-height: 94dvh; overflow-y: auto; }
dialog#player .info { grid-template-columns: 1fr auto; }
@media (max-height: 700px) and (min-width: 761px) {
  dialog#player h2 { font-size: 22px; }
  dialog#player .info { padding: 14px 22px; }
  dialog#player .fb { padding: 12px 22px 16px; }
  .fbrow textarea { min-height: 40px; }
  .band .wrap { padding-top: 36px; padding-bottom: 32px; }
  .band h1 { font-size: 52px; }
  .route { margin-top: 28px; }
}

/* Short, wide windows (laptops at 125-150% scaling): video left, details right */
@media (max-height: 760px) and (min-width: 900px) {
  dialog#player { width: min(1280px, 96vw); min-width: 0; max-height: 94dvh; display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto 1fr; overflow: hidden; }
  dialog#player:not([open]) { display: none; }
  dialog#player .pwrap { grid-row: 1 / span 2; grid-column: 1; align-self: center; width: 100%; max-height: 94dvh; aspect-ratio: 16 / 9; }
  dialog#player .info { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; padding: 22px 22px 12px; }
  dialog#player .acts { flex-wrap: wrap; }
  dialog#player .pside { grid-column: 2; grid-row: 2; overflow-y: auto; min-height: 0; }
  dialog#player .fb { border-top: 1px solid var(--g100); margin: 0; padding: 14px 22px 20px; }
  dialog#player .quiz { padding: 14px 22px 16px; }
  dialog#player .fbrow { flex-wrap: wrap; }
  dialog#player .fbrow textarea { flex-basis: 100%; order: 3; }
}

.pwrap { position: relative; }
.resumebox { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 16px; }
.resumebox p { margin: 0; font-family: var(--head); font-weight: 800; font-size: 26px; }
.resumebox div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.resumebox .btn.line { color: var(--white); }

/* Phones: player stacks (video, title, buttons, feedback) and fills the width */
@media (max-width: 760px) {
  dialog#player { width: 100vw; max-width: 100vw; min-width: 0; max-height: 100dvh; }
  dialog#player .info { grid-template-columns: 1fr; gap: 12px; padding: 16px 18px; }
  dialog#player h2 { font-size: 24px; }
  dialog#player .outcome { font-size: 15px; }
  dialog#player .acts { justify-content: flex-start; }
  dialog#player .acts .btn { padding: 10px 16px; font-size: 14px; }
}

h1, h2, h3, .n, .stat b, .statc b, .cp b, .tile .tn, .rcard b, .badge b, .wrole b { font-stretch: condensed; }

.band .tourbtn { color: var(--white); box-shadow: none; text-decoration: underline; text-underline-offset: 4px; padding-left: 8px; }

.wtour { margin: 0 0 16px; border-radius: 12px; overflow: hidden; background: var(--black); aspect-ratio: 16 / 9; }
.wtour video { width: 100%; height: 100%; display: block; }
.tourcard { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--green50); border-radius: var(--r); padding: 22px 26px; flex-wrap: wrap; }
.tourcard h3 { font-size: 26px; margin-bottom: 6px; }
.tourcard .link { border: 0; background: none; text-decoration: underline; color: var(--g700); font-size: 14px; }

/* The hidden attribute always wins over component display rules (buttons, panels) */
[hidden] { display: none !important; }
.fbacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fbacts .btn { padding: 6px 14px; font-size: 13px; }

/* Admin Production page (production.js): only admins get the tab and the data */
.prod .ptiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 44px; }
.prod .ptiles .statc { padding: 20px 22px; }
.prod .ptiles .statc b { font-size: 52px; }
.prod .ptiles .statc p { font-size: 17px; }
.prod .statc.dark { background: var(--black); color: var(--white); box-shadow: none; }
.prod .statc.dark b { color: var(--green); }
.prod .plead { margin: -10px 0 16px; }
.prod .link { border: 0; background: none; padding: 0; text-decoration: underline; color: var(--black); font-size: inherit; font-weight: 700; cursor: pointer; }
.prod .eyebrow { font-family: var(--mono); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; color: var(--g700); }
.prod .chips .cnt { margin-left: 6px; }
.wlist { border-top: 1px solid var(--g100); }
.witem { display: grid; grid-template-columns: 96px 1fr 72px; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--g100); align-items: start; }
.witem .wk { display: flex; flex-direction: column; gap: 4px; }
.witem .wk b { font-family: var(--head); font-weight: 800; font-size: 22px; line-height: 1; }
.witem .wq { margin: 0; font-size: 16px; line-height: 1.35; }
.witem .wm { margin: 6px 0 0; }
.witem .wn { text-align: right; }
.witem .wn b { display: block; font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1; }
.witem .wn span { font-size: 12px; color: var(--g700); }
.witem .wmore { margin-top: 10px; font-size: 14px; }
.witem.open { background: var(--g50); border-radius: var(--r); padding: 18px; margin: 6px 0; border-bottom: 0; }
.wsteps { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 14px 0 4px; font-size: 14px; line-height: 1.35; }
.wsteps dt { font-weight: 700; }
.wsteps dd { margin: 0; color: var(--g800); }
.vids { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.vid { border: 0; background: var(--g50); border-radius: var(--pill); padding: 4px 10px; font: 12px var(--mono); cursor: pointer; }
.witem.open .vid { background: var(--white); }
.vid:hover { background: var(--black); color: var(--white); }
.ptools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.ptools .chips { margin: 0; }
.ptools input { flex: 1; min-width: 200px; border: 1.5px solid var(--g200); border-radius: var(--pill); padding: 11px 18px; font: 15px var(--body); }
.ptools input:focus { outline: none; border-color: var(--black); }
.prod .pnav { margin-bottom: 20px; }
.prod .pnav button { font-size: 13px; }
.prod .pgoal { margin: -10px 0 18px; max-width: 75ch; }
.psec { font-family: var(--head); font-weight: 800; font-size: 19px; margin: 28px 0 4px; }
.psec .small { font-family: var(--body); font-weight: 400; margin-left: 6px; }
.vrow { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--g100); }
.vrow.flash { animation: vflash 2.4s ease-out; }
@keyframes vflash { 0%, 40% { background: var(--green50); } 100% { background: transparent; } }
.vidl { font: 13px var(--mono); padding-top: 3px; }
.vrow .vt { font-size: 16px; line-height: 1.3; }
.vrow .vm { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 8px; }
.vrow .vm a { color: var(--black); }
.vrow .vnote { margin: 8px 0 0; }
.st { display: inline-flex; align-items: center; gap: 7px; border-radius: var(--pill); padding: 4px 11px; font-size: 13px; font-weight: 700; background: var(--g50); color: var(--g700); }
.st.ok { background: var(--green); color: var(--black); }
.st.you { background: var(--black); color: var(--white); }
.st.you::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.st.blocked { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.st.blocked::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.blk { list-style: none; margin: 10px 0 0; padding: 10px 14px; background: var(--g50); border-radius: 12px; font-size: 14px; line-height: 1.35; display: grid; gap: 6px; }
.sd { margin-top: 8px; font-size: 14px; }
.sd summary { cursor: pointer; color: var(--g700); }
.sd ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; line-height: 1.35; }
@media (max-width: 980px) { .prod .ptiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .prod .ptiles { grid-template-columns: 1fr 1fr; }
  .prod .ptiles .statc:first-child { grid-column: 1 / -1; }
  .prod .ptiles .statc b { font-size: 40px; }
  .prod .ptiles .statc p { font-size: 15px; }
  .witem { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .witem .wk { flex-direction: row; align-items: baseline; gap: 10px; }
  .witem .wt { grid-column: 1 / -1; grid-row: 2; }
  .witem .wn { grid-column: 2; grid-row: 1; }
  .witem .wn b { display: inline; font-size: 24px; margin-right: 4px; }
  .wsteps { grid-template-columns: 1fr; gap: 2px; }
  .wsteps dd { margin-bottom: 8px; }
  .ptools .chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .ptools .chips button { white-space: nowrap; }
  .prod .pnav { flex-wrap: nowrap; overflow-x: auto; }
  .prod .pnav button { white-space: nowrap; }
  .vrow { grid-template-columns: 44px 1fr; gap: 10px; }
}
.prod .pnav { margin-bottom: 8px; }
.prod .plegend { margin: 0 0 22px; }
@media (max-width: 1520px) { body.admin .brand span { display: none; } }  /* two extra admin tabs need the room */

/* Knowledge check under the video (optional, after the video is watched) */
dialog .quiz { padding: 18px 28px; border-top: 1px solid var(--g100); }
dialog .quiz p { margin: 0 0 8px; }
.quiz .qhead { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.quiz .qhead p:last-child { margin-bottom: 0; }
.quiz .qnum { color: var(--g700); margin-bottom: 4px; }
.quiz .qq { font-weight: 700; font-size: 17px; line-height: 1.3; }
.quiz .qscore { font-family: var(--head); font-weight: 800; font-stretch: condensed; font-size: 26px; line-height: 1.1; }
.qopts { display: grid; gap: 8px; margin: 10px 0 4px; }
.qopt { text-align: left; border: 0; background: var(--g50); border-radius: 12px; padding: 12px 14px; font: 15px/1.3 var(--body); color: var(--black); box-shadow: inset 0 0 0 1.5px transparent; }
.qopt:not(:disabled):hover { box-shadow: inset 0 0 0 1.5px var(--black); }
.qopt:disabled { cursor: default; color: var(--g700); }
.qopt.right { background: var(--green); color: var(--black); font-weight: 700; }
.qopt.wrong { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); text-decoration: line-through; }
.qafter { margin-top: 10px; }
.qafter p { font-size: 15px; line-height: 1.4; }
.qacts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.qacts .btn, .quiz .qhead .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 760px) { dialog .quiz { padding: 14px 18px; } }
.fbrowa .r.qpct { font-size: 16px; font-weight: 700; padding-top: 2px; }
.endbox .endsub { font-size: 15px; color: var(--g200); margin-top: -6px; }
@media (max-width: 760px) { .resumebox p { font-size: 22px; } }

/* Running knowledge check on the video frame (laptops and desktops): big, centered, video paused */
.quiz .qin { position: relative; }
.qclose { position: absolute; top: 0; right: 0; border: 0; background: none; font-size: 13px; color: var(--g700); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.quiz .qin > .qnum { padding-right: 130px; }
dialog#player .pwrap .quiz.onvideo { position: absolute; inset: 0; z-index: 3; display: flex; background: rgba(0, 0, 0, .94); color: var(--white); border: 0; padding: 24px 32px; overflow-y: auto; }
.quiz.onvideo .qin { margin: auto; width: 100%; max-width: 760px; }
.quiz.onvideo .qnum, .quiz.onvideo .small { color: var(--g200); }
.quiz.onvideo .qq { font-family: var(--head); font-weight: 800; font-stretch: condensed; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin-bottom: 14px; }
.quiz.onvideo .qopts { gap: 10px; }
.quiz.onvideo .qopt { background: rgba(255, 255, 255, .1); color: var(--white); font-size: 16px; padding: 14px 18px; }
.quiz.onvideo .qopt:not(:disabled):hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.quiz.onvideo .qopt:disabled { color: var(--g200); }
.quiz.onvideo .qopt.right { background: var(--green); color: var(--black); }
.quiz.onvideo .qopt.wrong { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.quiz.onvideo .qafter p { font-size: 16px; }
.quiz.onvideo .btn.dark { background: var(--green); color: var(--black); }
.quiz.onvideo .btn.line { color: var(--white); }
.quiz.onvideo .qclose { color: var(--g200); }
.quiz.onvideo .qscore { font-size: 40px; }
@media (max-height: 760px) and (min-width: 761px) {
  dialog#player .pwrap .quiz.onvideo { padding: 16px 24px; }
  .quiz.onvideo .qq { font-size: 22px; margin-bottom: 10px; }
  .quiz.onvideo .qopt { padding: 10px 14px; font-size: 15px; }
  .quiz.onvideo .qopts { gap: 8px; }
}
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 20; }
.pwrap.quizzing video { visibility: hidden; }

/* Under the player: description, sample files, links */
dialog .vres { padding: 16px 28px 18px; border-top: 1px solid var(--g100); }
dialog .vres .about { margin: 0 0 12px; color: var(--g800); line-height: 1.45; font-size: 15px; }
dialog .vres .rh { margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--g700); }
dialog .vres .about + .rh, dialog .vres .rh:first-child { margin-top: 0; }
dialog .vres ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
dialog .vres .rlinks a { font-weight: 700; color: var(--black); text-decoration: underline; text-decoration-color: var(--green700); text-underline-offset: 3px; }
dialog .vres .rlinks span { display: block; font-size: 13px; color: var(--g500); }
dialog .vres .rfiles li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
dialog .vres .rfiles .btn { padding: 8px 14px; font-size: 14px; }
dialog .vres .rfiles span { font-size: 14px; color: var(--g700); }
@media (max-height: 760px) and (min-width: 900px) { dialog#player .vres { padding: 14px 22px 14px; } }
@media (max-width: 760px) { dialog .vres { padding: 14px 18px 16px; } }

/* Admin Traffic page (2026-11-07) */
.traf .tctl { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.traf .tctl .chips { margin: 0; }
.traf .tmine { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--g800); }
.traf .tmine input { width: 18px; height: 18px; accent-color: var(--black); }
.traf .ptiles { margin-bottom: 14px; }
.traf .ptiles .statc b small { font-size: 24px; color: var(--g500); }
.traf .tnote { margin: 0 0 6px; max-width: 90ch; }
.traf .tnever { margin: 0 0 6px; max-width: 90ch; }
.traf h3.sub { margin: 36px 0 14px; }
.traf .tchart { position: relative; height: 220px; margin: 0 0 40px 34px; }
.traf .tylines { position: absolute; inset: 0; pointer-events: none; }
.traf .tylines span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--g100); }
.traf .tylines span:last-child { border-top-color: var(--g200); }
.traf .tylines em { position: absolute; right: calc(100% + 8px); top: -8px; font-style: normal; font-size: 12px; line-height: 16px; color: var(--g500); }
.traf .tcols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); }
.traf .tcol { position: relative; border: 0; background: none; padding: 0 1px; height: 100%; display: flex; align-items: flex-end; cursor: default; }
.traf .tcol i { display: block; width: 100%; max-width: 28px; margin: 0 auto; background: var(--g800); border-radius: 4px 4px 0 0; }
.traf .tcol.today i { background: var(--green700); }
.traf .tcol:hover i, .traf .tcol:focus-visible i { background: var(--black); }
.traf .tcol span { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--g700); white-space: nowrap; }
.traf .ttip { position: absolute; transform: translateY(-100%); background: var(--black); color: var(--white); border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.4; white-space: nowrap; pointer-events: none; z-index: 2; }
.traf .tdaily { margin: 0 0 8px; }
.traf .tdaily summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--g800); }
.traf .tdaily .ttab { margin-top: 12px; max-width: 640px; }
.traf .tsplit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.traf .ttab { width: 100%; border-collapse: collapse; font-size: 14px; }
.traf .ttab th { text-align: left; font-weight: 700; color: var(--g700); font-size: 13px; padding: 8px 10px 8px 0; border-bottom: 2px solid var(--black); white-space: nowrap; }
.traf .ttab td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--g100); vertical-align: top; line-height: 1.3; }
.traf .ttab td:not(:first-child), .traf .ttab th:not(:first-child) { text-align: right; white-space: nowrap; }
.traf #tallv { margin-top: 12px; }
@media (max-width: 1000px) { .traf .tsplit { grid-template-columns: 1fr; gap: 8px; } .traf .ptiles { grid-template-columns: repeat(2, 1fr); } .traf .ptiles .statc:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .traf .tchart { height: 180px; } .traf .ptiles .statc b { font-size: 40px; } .traf .tcol span { font-size: 11px; } }
/* Find my path: role suggestion tag and card coverage list (2026-11-07) */
.cp .sug, .gchips .sug { font-style: normal; font-size: 11px; font-weight: 700; color: var(--green700); }
.cp .sug { margin-top: auto; }
.cp.on .sug { color: var(--green); }
.gchips .sug { margin-left: 8px; }
.gchips button.on .sug { color: var(--green); }
.kcan { list-style: none; margin: 12px 0 24px; padding: 0; display: grid; gap: 10px; }
.kcan li { font-family: var(--head); font-weight: 800; font-size: clamp(19px, 2vw, 24px); line-height: 1.1; padding-left: 22px; position: relative; }
.kcan li::before { content: ""; position: absolute; left: 0; top: .38em; width: 10px; height: 10px; border-radius: 50%; background: var(--green700); }

/* Draft notice (2026-11-07): not an official Zebra program until approved. Remove these and the matching HTML once Zebra approves. */
.draftnote { background: var(--black); color: var(--white); font-size: 12px; line-height: 1.35; margin: -12px 0 12px; padding: 6px 0; }
.draftnote .wrap { padding-top: 0; padding-bottom: 0; }
.drafttag { position: absolute; top: 10px; left: 10px; z-index: 2; pointer-events: none; background: rgba(0, 0, 0, .7); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.draftnote-login { font-size: 13px; line-height: 1.4; max-width: 60ch; margin: 0 0 12px; padding: 10px 14px; border-left: 4px solid var(--black); background: var(--g50); }
.draftnote .short { display: none; }
@media (max-width: 760px) { .draftnote { margin: -8px 0 8px; font-size: 11px; } .draftnote .long { display: none; } .draftnote .short { display: inline; } }
