/* Road to success (2026-10-29): banner on Tools\Default.aspx and the full-screen overlay (Scripts\success-road.js).
   Navy and gold only; fonts are the site's (Source Serif 4 headings, Inter body, Montserrat labels). */
.fw { display: none; margin: 6px 0 26px; }
.fw.is-on { display: block; }

/* ---- banner */
.rdb { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 22px 26px; border-radius: 18px 18px 0 0; background: linear-gradient(135deg, #0C2743 0%, #123A62 60%, #1D4E7E 100%); border: 1px solid rgba(227, 181, 80, .55); border-bottom: 0; color: #fff; }
.rdb-text small { display: block; color: #E3B550; letter-spacing: .08em; text-transform: uppercase; font: 600 .72rem var(--ff-brand); }
.rdb-text b { display: block; font: 600 1.3rem var(--ff-head); margin: 4px 0; }
.rdb-text span { color: #C9D6E3; font-size: .92rem; }
.rdb-open { display: inline-flex; align-items: center; gap: 10px; background: #C89A40; color: #0C2743; border: 0; border-radius: 99px; padding: 13px 26px; font: 700 .95rem var(--ff-brand); cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.rdb-open:hover, .rdb-open:focus-visible { background: #E3B550; outline: 3px solid rgba(255, 255, 255, .7); }
.rdb-dots { display: flex; align-items: center; padding: 16px 22px 20px; background: #0C2743; border: 1px solid rgba(227, 181, 80, .55); border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 18px 18px; overflow-x: auto; }
.rdb-link { flex: 1 1 8px; min-width: 6px; height: 3px; background: repeating-linear-gradient(90deg, #C89A40 0 6px, transparent 6px 11px); opacity: .6; }
.rdb-dot, .rd-dot { flex: 0 0 auto; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 99px; border: 2px solid #C89A40; background: #123A62; color: #fff; font: 700 .72rem var(--ff-brand); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.rdb-dot i, .rd-dot i { font-style: normal; }
.rdb-dot:hover, .rdb-dot:focus-visible, .rd-dot:hover, .rd-dot:focus-visible { transform: scale(1.12); outline: 2px solid #fff; outline-offset: 2px; }
.s-done { background: #E3B550 !important; color: #0C2743 !important; border-color: #fff3d0 !important; }
.s-wip { background: #2B6AA3 !important; }
.s-new { background: #123A62 !important; }
.s-locked, .s-soon { background: #31485f !important; border-color: #6c8299 !important; color: #C9D6E3 !important; }
.s-soon { border-style: dashed !important; }
.rdb-dot.is-cur { box-shadow: 0 0 0 4px rgba(227, 181, 80, .45); }

/* ---- overlay */
.rd-lock, .rd-lock body { overflow: hidden; }
.rd { position: fixed; inset: 0; z-index: 100000; background: #0C2743; color: #fff; font-family: var(--ff-body); }
.rd[hidden] { display: none; }
.rd-stage { position: absolute; inset: 0; }
.rd-stage canvas { width: 100%; height: 100%; display: block; }
.rd:not(.rd-3d) .rd-stage { background: radial-gradient(ellipse at 70% 30%, #1D4E7E 0%, #0C2743 70%); }
.rd-top { position: absolute; z-index: 3; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 22px; padding: 16px 24px; background: linear-gradient(180deg, rgba(12, 39, 67, .92), rgba(12, 39, 67, 0)); pointer-events: none; }
.rd-top > * { pointer-events: auto; }
.rd-brand small { display: block; color: #E3B550; letter-spacing: .1em; text-transform: uppercase; font: 600 .68rem var(--ff-brand); }
.rd-brand b { font: 600 1.35rem var(--ff-head); }
.rd-prog { margin-left: auto; display: flex; align-items: center; gap: 12px; font: 600 .78rem var(--ff-brand); color: #E9DDBF; }
.rd-prog i { width: 150px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.rd-prog u { display: block; height: 100%; background: linear-gradient(90deg, #C89A40, #E3B550); }
.rd-close { background: rgba(12, 39, 67, .8); color: #fff; border: 1px solid rgba(227, 181, 80, .7); border-radius: 99px; padding: 9px 18px; font: 700 .8rem var(--ff-brand); cursor: pointer; }
.rd-close:hover, .rd-close:focus-visible { background: #C89A40; color: #0C2743; outline: 0; }

.rd-card { position: absolute; z-index: 3; left: 24px; top: 84px; bottom: 100px; width: min(440px, calc(100% - 48px)); overflow-y: auto; padding: 26px 26px 24px; border-radius: 20px; background: rgba(251, 247, 240, .97); color: #2C3A47; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); border-top: 5px solid #C89A40; outline: 0; }
.rd-flat .rd-card { left: 50%; transform: translateX(-50%); width: min(640px, calc(100% - 48px)); }
.rdc-kick { display: flex; justify-content: space-between; gap: 10px; color: #8A6716; font: 700 .72rem var(--ff-brand); letter-spacing: .08em; text-transform: uppercase; }
.rdc-kick span { color: #5A6874; font-weight: 600; }
.rd-card h2 { margin: 8px 0 10px; font: 600 1.55rem/1.2 var(--ff-head); color: #123A62; }
.rdc-state { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rdc-state b { font: 700 1.3rem var(--ff-head); color: #123A62; }
.rdc-pill { display: inline-block; padding: 4px 12px; border-radius: 99px; font: 700 .72rem var(--ff-brand); letter-spacing: .04em; border: 1px solid transparent; }
.rdc-pill.s-done { background: #F7EFDD !important; color: #8A6716 !important; border-color: #E6D3AA !important; }
.rdc-pill.s-wip { background: #EAF0F6 !important; color: #1D4E7E !important; border-color: #c7d6e6 !important; }
.rdc-pill.s-new { background: #fff !important; color: #123A62 !important; border: 1px solid #c7d6e6 !important; }
.rdc-pill.s-locked, .rdc-pill.s-soon { background: #EEF1F4 !important; color: #5A6874 !important; border-color: #d5dbe1 !important; }
.rdc-bar { height: 9px; border-radius: 99px; background: #E2E6EB; overflow: hidden; margin: 0 0 14px; }
.rdc-bar.sm { height: 6px; margin: 8px 0 6px; }
.rdc-bar i { display: block; height: 100%; background: linear-gradient(90deg, #C89A40, #E3B550); border-radius: 99px; }
.rdc-lead { margin: 0 0 8px; font: italic 500 1.02rem var(--ff-head); color: #1D4E7E; }
.rdc-desc { margin: 0 0 14px; font-size: .93rem; line-height: 1.6; }
.rd-card h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 8px; font: 700 .78rem var(--ff-brand); letter-spacing: .06em; text-transform: uppercase; color: #123A62; }
.rd-card h3 span { color: #5A6874; font-weight: 600; text-transform: none; letter-spacing: 0; }
.rdc-tools { list-style: none; margin: 0; padding: 0; }
.rdc-tools li { padding: 12px 14px; margin: 0 0 8px; background: #fff; border: 1px solid #E8DFD1; border-radius: 12px; }
.rdc-tt { display: flex; justify-content: space-between; gap: 10px; }
.rdc-tt b { color: #123A62; font-size: .95rem; }
.rdc-tt em { font-style: normal; font: 700 .85rem var(--ff-brand); color: #8A6716; }
.rdc-tools p { margin: 4px 0 0; font-size: .82rem; line-height: 1.5; color: #5A6874; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rdc-open { display: inline-block; margin-top: 8px; font: 700 .76rem var(--ff-brand); color: #1D4E7E; text-decoration: none; }
.rdc-open:hover { color: #C89A40; }
.rdc-lock { display: inline-block; margin-top: 8px; font: 600 .76rem var(--ff-brand); color: #5A6874; }
.rdc-next { margin-top: 16px; padding: 16px; border-radius: 14px; background: #123A62; color: #fff; }
.rdc-next small { display: block; color: #E3B550; letter-spacing: .08em; text-transform: uppercase; font: 700 .68rem var(--ff-brand); margin-bottom: 6px; }
.rdc-next p { margin: 0 0 10px; font-size: .9rem; line-height: 1.5; color: #E4ECF4; }
.rdc-btn { display: inline-block; background: #C89A40; color: #0C2743; border-radius: 99px; padding: 10px 20px; font: 700 .84rem var(--ff-brand); text-decoration: none; }
.rdc-btn:hover, .rdc-btn:focus-visible { background: #E3B550; outline: 2px solid #fff; }
.rdc-ghost { display: block; margin-top: 10px; color: #E3B550; font-size: .8rem; }

.rd-nav { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 99px; background: rgba(12, 39, 67, .88); border: 1px solid rgba(227, 181, 80, .5); max-width: calc(100% - 24px); }
.rd-nav > button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #C89A40; background: transparent; color: #E3B550; cursor: pointer; flex: 0 0 auto; }
.rd-nav > button:hover:not([disabled]), .rd-nav > button:focus-visible { background: #C89A40; color: #0C2743; outline: 0; }
.rd-nav > button[disabled] { opacity: .35; cursor: default; }
.rd-dots { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.rd-dot { min-width: 34px; height: 34px; }
.rd-dot.is-cur { box-shadow: 0 0 0 3px rgba(227, 181, 80, .6); transform: scale(1.12); }
.rd-hint { position: absolute; z-index: 2; left: 24px; bottom: 36px; color: #C9D6E3; font-size: .76rem; text-shadow: 0 1px 4px #000; }
.rd-tip { position: fixed; z-index: 5; max-width: 300px; background: #FBF7F0; color: #123A62; border: 1px solid #C89A40; border-radius: 8px; padding: 6px 10px; font: 600 .78rem var(--ff-body); pointer-events: none; }

@media (max-width: 900px) {
  .rd-card { left: 8px; right: 8px; width: auto; top: auto; bottom: 84px; max-height: 50vh; padding: 18px; }
  .rd-hint, .rd-prog i { display: none; }
  .rd-top { padding: 12px 14px; }
  .rd-brand b { font-size: 1.1rem; }
  .rd-nav { bottom: 8px; padding: 8px 10px; }
  .rd-dot { min-width: 30px; height: 30px; font-size: .64rem; padding: 0 7px; }
  .rdb { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .rdb-dot, .rd-dot { transition: none; } }

/* ---- the link that opens the road map (hero) and the button in the views bar (2026-10-29) */
.road-link { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px 12px 16px; border-radius: 99px; background: linear-gradient(135deg, #0C2743, #1D4E7E); border: 1px solid #C89A40; color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(12, 39, 67, .25); transition: transform .15s ease, box-shadow .15s ease; }
.road-link:hover, .road-link:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(12, 39, 67, .35); outline: 3px solid rgba(200, 154, 64, .5); outline-offset: 2px; color: #fff; }
.road-link > i:first-child { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #C89A40; color: #0C2743; font-size: .95rem; }
.road-link > i:last-child { color: #E3B550; }
.road-link span { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.road-link b { font: 700 .95rem var(--ff-brand); }
.road-link small { color: #C9D6E3; font-size: .78rem; }
.tv-road { margin-left: 8px; padding: 6px 16px; border-radius: 99px; border: 1px solid #C89A40; background: #C89A40; color: #0C2743; font: 700 .78rem var(--ff-brand); cursor: pointer; }
.tv-road:hover, .tv-road:focus-visible { background: #E3B550; outline: 2px solid #123A62; }
.rd-hint { left: 50%; right: auto; transform: translateX(-50%); bottom: 84px; text-align: center; white-space: nowrap; }
@media (max-width: 900px) { .rd-hint { display: none; } .road-link { width: 100%; justify-content: space-between; } }

/* ---- Courses tab: 3D bookshelf and richer cards (Scripts\courses-stage.js, 2026-10-29) */
.cs-stage { display: none; position: relative; margin: 0 0 20px; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #1D4E7E 0%, #123A62 55%, #0C2743 100%); border: 1px solid rgba(227, 181, 80, .5); box-shadow: 0 10px 30px rgba(12, 39, 67, .25); }
.cs-stage.is-on { display: block; }
.cs-3d { height: 400px; }
.cs-3d canvas { width: 100%; height: 100%; display: block; animation: cs-in .6s ease both; }
@keyframes cs-in { from { opacity: 0; } to { opacity: 1; } }
.cs-cap { position: absolute; z-index: 2; left: 22px; top: 16px; color: #fff; pointer-events: none; }
.cs-cap small { display: block; color: #E3B550; letter-spacing: .08em; text-transform: uppercase; font: 600 .7rem var(--ff-brand); }
.cs-cap b { font: 600 1.25rem var(--ff-head); }
.cs-tip { position: absolute; z-index: 3; max-width: 270px; background: #FBF7F0; color: #123A62; border: 1px solid #C89A40; border-radius: 8px; padding: 7px 11px; pointer-events: none; }
.cs-tip b { display: block; font: 700 .86rem var(--ff-body); }
.cs-tip span { color: #5A6874; font: 500 .76rem var(--ff-body); }
.cs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.cs-card { display: flex; gap: 18px; align-items: flex-end; justify-content: space-between; padding: 20px 22px; background: #fff; border: 1px solid var(--line-warm); border-left: 5px solid #1D4E7E; border-radius: 16px; box-shadow: var(--sh-sm); transition: transform .18s ease, box-shadow .18s ease; }
.cs-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.cs-card.cs-wip { border-left-color: #C89A40; }
.cs-card.cs-done { border-left-color: #E3B550; background: linear-gradient(135deg, #fff, #FBF7F0); }
.cs-main { flex: 1; min-width: 0; }
.cs-main h4 { margin: 0 0 6px; font: 600 1.15rem var(--ff-head); color: var(--navy); }
.cs-main p { margin: 0 0 10px; font-size: .88rem; color: #5A6874; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-main .pill.gold { background: #F7EFDD; color: #8A6716; border: 1px solid #E6D3AA; }
.cs-bar { height: 8px; border-radius: 99px; background: #E2E6EB; overflow: hidden; margin-bottom: 8px; }
.cs-bar i { display: block; height: 100%; background: linear-gradient(90deg, #C89A40, #E3B550); border-radius: 99px; }
.cs-main .cs-meta { margin: 0; font-size: .78rem; display: block; }
.cs-state { font: 700 .76rem var(--ff-brand); color: var(--navy); }
.cs-act .btn { white-space: nowrap; }
@media (max-width: 700px) { .cs-3d { height: 270px; } .cs-list { grid-template-columns: 1fr; } .cs-card { flex-direction: column; align-items: stretch; } }

/* ---- road v2: card only on click, icon header, overview button (2026-10-29) */
.rd-card[hidden] { display: none; }
.rd-card { animation: rdc-in .28s ease both; padding-top: 30px; }
@keyframes rdc-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.rd-flat .rd-card { animation: none; }
.rdc-x { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #E6D3AA; background: #fff; color: #123A62; cursor: pointer; }
.rdc-x:hover, .rdc-x:focus-visible { background: #C89A40; color: #0C2743; outline: 0; }
.rdc-head { display: flex; gap: 14px; align-items: center; padding-right: 36px; }
.rdc-head h2 { margin: 6px 0 0; }
.rdc-ico { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; border: 3px solid #C89A40; }
.rdc-ico.s-done { color: #0C2743 !important; }
.rdc-ico.s-wip, .rdc-ico.s-new { color: #F3D58A; }
.rdc-ico.s-locked, .rdc-ico.s-soon { color: #b9c7d4; border-color: #7f95aa; }
.rd-nav > .rd-over { width: auto; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid #C89A40; background: transparent; color: #E3B550; font: 700 .76rem var(--ff-brand); cursor: pointer; white-space: nowrap; }
.rd-nav > .rd-over:hover, .rd-nav > .rd-over:focus-visible, .rd-nav > .rd-over.is-cur { background: #C89A40; color: #0C2743; outline: 0; }
.rd-hint { bottom: 86px; }
.rd-flat .rd-over { display: none; }

/* ---- guided tour (2026-10-29): caption bar with controls; no card while touring */
.rd-tourbtn { background: #C89A40; color: #0C2743; border: 0; border-radius: 99px; padding: 9px 18px; font: 700 .8rem var(--ff-brand); cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.rd-tourbtn:hover, .rd-tourbtn:focus-visible { background: #E3B550; outline: 2px solid #fff; }
.rd-top .rd-prog { margin-left: auto; }
.rd-tour { position: absolute; z-index: 4; left: 50%; bottom: 92px; transform: translateX(-50%); width: min(880px, calc(100% - 28px)); padding: 16px 20px 14px; border-radius: 18px; background: rgba(12, 39, 67, .93); border: 1px solid rgba(227, 181, 80, .6); box-shadow: 0 16px 50px rgba(0, 0, 0, .5); color: #fff; }
.rd-tour[hidden] { display: none; }
.rdt-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.rdt-count { color: #E3B550; font: 700 .7rem var(--ff-brand); letter-spacing: .08em; text-transform: uppercase; }
.rdt-title { font: 600 1.15rem var(--ff-head); }
.rdt-chip { margin-left: auto; padding: 3px 12px; border-radius: 99px; font: 700 .7rem var(--ff-brand); background: #1D4E7E; border: 1px solid #C89A40; }
.rdt-chip.s-done { background: #E3B550 !important; color: #0C2743; }
.rdt-chip.s-locked, .rdt-chip.s-soon { background: #31485f !important; border-color: #7f95aa; color: #C9D6E3; }
.rdt-cap { margin: 8px 0 10px; font-size: .98rem; line-height: 1.55; color: #E8EEF4; max-height: 7.8em; overflow-y: auto; }
.rdt-bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .18); overflow: hidden; margin-bottom: 10px; }
.rdt-bar i { display: block; width: 0; height: 100%; background: #E3B550; }
.rdt-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rdt-ctl button { height: 36px; min-width: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid #C89A40; background: transparent; color: #E3B550; font: 700 .74rem var(--ff-brand); cursor: pointer; }
.rdt-ctl button:hover, .rdt-ctl button:focus-visible { background: #C89A40; color: #0C2743; outline: 0; }
.rdt-play { background: #C89A40 !important; color: #0C2743 !important; }
.rdt-note { margin-left: auto; color: #9FB4C7; font-size: .74rem; }
.is-touring .rd-hint { display: none; }
@media (max-width: 900px) { .rd-tour { bottom: 78px; padding: 12px 14px; } .rdt-cap { max-height: 5.2em; font-size: .88rem; } .rdt-note { display: none; } .rd-tourbtn { padding: 8px 12px; } }
.rdt-who { display: inline-flex; border: 1px solid #C89A40; border-radius: 99px; overflow: hidden; }
.rdt-ctl .rdt-who button { border: 0; border-radius: 0; height: 34px; min-width: 0; padding: 0 14px; background: transparent; color: #E3B550; }
.rdt-ctl .rdt-who button[aria-pressed="true"] { background: #C89A40; color: #0C2743; }

/* ---- report an issue (Scripts\issue-report.js), drawn inside the overlay so it shows in full screen */
.rd-issuebtn { background: rgba(12, 39, 67, .8); color: #E3B550; border: 1px solid rgba(227, 181, 80, .7); border-radius: 99px; padding: 9px 16px; font: 700 .78rem var(--ff-brand); cursor: pointer; }
.rd-issuebtn:hover, .rd-issuebtn:focus-visible { background: #C89A40; color: #0C2743; outline: 0; }
.cir-wrap { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: rgba(7, 22, 42, .78); padding: 14px; }
.cir-card { width: min(720px, 100%); max-height: 94vh; overflow: auto; background: #FBF7F0; color: #2C3A47; border-radius: 18px; border-top: 5px solid #C89A40; padding: 22px 24px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); font-family: var(--ff-body); }
.cir-card h3 { margin: 0 0 4px; font: 600 1.35rem var(--ff-head); color: #123A62; }
.cir-card h3 i { color: #C89A40; margin-right: 6px; }
.cir-lead { margin: 0 0 12px; font-size: .9rem; color: #5A6874; }
.cir-pic { min-height: 70px; margin-bottom: 12px; border: 1px dashed #E6D3AA; border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; background: #fff; font-size: .85rem; color: #5A6874; }
.cir-pic img { max-width: 100%; max-height: 32vh; border-radius: 8px; display: block; }
.cir-nopic i { color: #C89A40; }
.cir-note { width: 100%; height: 130px; box-sizing: border-box; border-radius: 10px; border: 1px solid #D9DFE6; background: #fff; color: #16212C; font: 15px/1.5 var(--ff-body); padding: 10px 12px; resize: vertical; }
.cir-note:focus { border-color: #C89A40; box-shadow: 0 0 0 3px rgba(200, 154, 64, .22); outline: 0; }
.cir-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.cir-msg { margin-right: auto; font-size: .82rem; color: #1F6349; }
.cir-row button { padding: 9px 18px; border-radius: 99px; border: 1px solid #C89A40; font: 700 .8rem var(--ff-brand); cursor: pointer; background: #fff; color: #123A62; }
.cir-row .cir-save { background: #C89A40; color: #0C2743; }
.cir-row .cir-mic.on { background: #123A62; color: #fff; }
.cir-row button:disabled { opacity: .5; cursor: wait; }
.cir-row button:hover:not(:disabled), .cir-row button:focus-visible { background: #E3B550; color: #0C2743; outline: 0; }
@media (max-width: 900px) { .rd-issuebtn span, .rd-issuebtn { padding: 8px 12px; } }

/* ---- report an issue v2 additions + tour speed button */
.rdt-ctl .rdt-speed { min-width: 52px; font-variant-numeric: tabular-nums; }
.cir-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.cir-tag input { position: absolute; opacity: 0; pointer-events: none; }
.cir-tag span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; border: 1px solid #D9DFE6; background: #fff; color: #123A62; font: 600 .76rem var(--ff-brand); cursor: pointer; }
.cir-tag span i { color: #C89A40; }
.cir-tag input:checked + span { background: #123A62; color: #fff; border-color: #123A62; }
.cir-tag input:checked + span i { color: #E3B550; }
.cir-tag input:focus-visible + span { outline: 3px solid rgba(200, 154, 64, .6); outline-offset: 2px; }
.cir-pics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.cir-fig { margin: 0; flex: 1 1 260px; border: 1px solid #E8DFD1; border-radius: 12px; background: #fff; padding: 6px; }
.cir-fig img { width: 100%; max-height: 26vh; object-fit: contain; border-radius: 8px; display: block; }
.cir-fig figcaption { font-size: .72rem; color: #5A6874; text-align: center; padding-top: 4px; }
.cir-det { margin-top: 10px; font-size: .8rem; color: #5A6874; }
.cir-det summary { cursor: pointer; font-weight: 600; color: #123A62; }
.cir-det pre { max-height: 150px; overflow: auto; background: #fff; border: 1px solid #E8DFD1; border-radius: 8px; padding: 8px; font: 11px/1.4 Consolas, monospace; white-space: pre-wrap; }
.cir-tabbtn { background: #fff; }
.cir-toast { position: absolute; z-index: 29; left: 50%; top: 74px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: #0C2743; color: #fff; border: 1px solid #C89A40; border-radius: 99px; padding: 8px 10px 8px 16px; font: 600 .82rem var(--ff-body); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.cir-toast i { color: #E3B550; }
.cir-toast button { border-radius: 99px; border: 1px solid #C89A40; background: #C89A40; color: #0C2743; font: 700 .74rem var(--ff-brand); padding: 5px 12px; cursor: pointer; }
.cir-toast .cir-t-x { background: transparent; color: #E3B550; padding: 5px 9px; }

/* report an issue in the bottom bars (2026-10-30): the dots strip may shrink so the extra button stays on screen at phone width */
.rd-dots { min-width: 0; }
.rd-nav > .rd-issue2 { font-size: .9rem; }
.rdt-ctl .rdt-issue { white-space: nowrap; }
@media (max-width: 520px) { .rdt-ctl .rdt-issue { font-size: 0; padding: 0; width: 36px; } .rdt-ctl .rdt-issue i { font-size: .8rem; } }

/* ---- volume control, same look as the film bar (2026-10-30) */
.rdt-ctl .rdt-vol { gap: 6px; }
.rdt-ctl .rdt-volb { padding: 0; width: 36px; }
.rdt-volr { -webkit-appearance: none; appearance: none; width: 84px; height: 18px; margin: 0; background: transparent; cursor: pointer; --v: 100%; }
.rdt-volr::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #E3B550 0, #E3B550 var(--v), rgba(201, 214, 227, .3) var(--v)); }
.rdt-volr::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(201, 214, 227, .3); }
.rdt-volr::-moz-range-progress { height: 4px; border-radius: 4px; background: #E3B550; }
.rdt-volr::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #E3B550; border: 2px solid #0C2743; box-shadow: 0 0 0 1px #E3B550; }
.rdt-volr::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #E3B550; border: 2px solid #0C2743; box-shadow: 0 0 0 1px #E3B550; }
.rdt-volr:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.rdt-vol { position: relative; display: inline-flex; align-items: center; }
.rdt-ctl .rdt-volb.is-muted { color: #C9D6E3; border-color: rgba(201, 214, 227, .4); }
@media (max-width: 640px) {
  .rdt-volr { display: none; position: absolute; bottom: calc(100% + 8px); left: 0; width: 130px; padding: 10px 12px; box-sizing: content-box; background: #0C2743; border: 1px solid rgba(227, 181, 80, .7); border-radius: 12px; z-index: 5; }
  .rdt-vol.open .rdt-volr { display: block; }
}
/* 2026-10-30 (user, Example1.png): a mini screenshot on every course card, with the name and a play button */
.cs-card { align-items: center; }
.cs-thumb { position: relative; flex: 0 0 220px; aspect-ratio: 16 / 9; display: block; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #0C2743, #1D4E7E) center / cover no-repeat; border: 1px solid rgba(7, 22, 42, .3); box-shadow: 0 6px 16px rgba(7, 22, 42, .25); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.cs-thumb::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 22, 42, 0) 0%, rgba(7, 22, 42, .5) 48%, rgba(7, 22, 42, .88) 100%); }
.cs-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--acc, #E3B550); }
.cs-tt { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 50%; color: #fff; font: 700 .92rem/1.18 var(--ff-head, 'Source Serif 4', Georgia, serif); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); z-index: 1; }
.cs-play { position: absolute; left: 47%; top: 50%; transform: translate(-50%, -50%); width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--acc, #E3B550); color: #0C2743; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255, 255, 255, .25); z-index: 1; transition: transform .2s; }
.cs-play i { margin-left: .15em; }
.cs-thumb:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(7, 22, 42, .35); } .cs-thumb:hover .cs-play { transform: translate(-50%, -50%) scale(1.12); }
@media (max-width: 700px) { .cs-thumb { flex: none; width: 100%; } .cs-tt { font-size: 1.05rem; } }
/* thumbnail layout fix: title along the bottom, play button centred above it */
.cs-thumb { flex: 0 0 190px; min-width: 190px; }
.cs-thumb::before { background: linear-gradient(0deg, rgba(7, 22, 42, .85) 0%, rgba(7, 22, 42, .05) 55%, rgba(7, 22, 42, 0) 100%); }
.cs-tt { left: 0; right: 0; top: auto; bottom: 5px; transform: none; width: auto; padding: 18px 9px 6px; font-size: .78rem; text-align: center; }
.cs-play { left: 50%; top: 40%; width: 2.5rem; height: 2.5rem; }
@media (max-width: 700px) { .cs-thumb { flex: none; width: 100%; min-width: 0; } .cs-tt { font-size: 1rem; } }
/* 2026-10-30 (user, Tools > Courses): each card picture carries its course colour, not just the play button. A colour wash over the still, a coloured frame, and the title in the accent. */
.cs-thumb { border: 2px solid var(--acc, #E3B550); }
.cs-thumb::before { background: linear-gradient(0deg, rgba(7, 22, 42, .85) 0%, rgba(7, 22, 42, .05) 55%, rgba(7, 22, 42, 0) 100%), linear-gradient(135deg, color-mix(in srgb, var(--acc, #E3B550) 55%, transparent) 0%, color-mix(in srgb, var(--acc, #E3B550) 14%, transparent) 70%); mix-blend-mode: normal; }
.cs-thumb .cs-tt { color: color-mix(in srgb, var(--acc, #E3B550) 35%, #fff); }
