/* The Language of Business: choose a topic, then how hard you want it. */
.lr-hero{padding:34px 0 30px}
.lr-hero .room-back{margin-bottom:26px}
.lr-hero-grid{display:grid;grid-template-columns:110px minmax(0,1fr) 300px;gap:26px;align-items:center}
.lr-hero .room-icon{width:110px;height:110px;margin:0}
.lr-hero h1{color:var(--red);font-size:clamp(34px,4.6vw,50px)}
.lr-hero .room-intro{margin-top:14px;max-width:47ch}
.lr-quote{margin:0;padding:14px 18px;border-left:4px solid var(--yellow);background:var(--wash);border-radius:0 12px 12px 0}
.lr-quote p{font-weight:800;font-size:18px;line-height:1.4}
.lr-quote cite{display:block;margin-top:6px;font-size:12px;font-style:normal;color:var(--muted)}
.lr-quote a{text-underline-offset:3px}
.lr-intro{margin-top:26px;max-width:74ch}
.lr-intro p{font-size:17px;line-height:1.7;color:var(--muted)}

/* Finder: topic tiles, then level buttons */
.lr-finder{background:var(--wash);border-block:2px solid var(--line);padding:36px 0 32px}
.lr-step{display:flex;align-items:baseline;gap:12px;margin-bottom:16px}
.lr-step b{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:var(--yellow);font-size:15px;font-weight:900;transform:rotate(-4deg)}
.lr-step h2{font-size:clamp(22px,2.6vw,27px)}
.lr-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:34px}
.lr-topic{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;border:2px solid var(--line);border-bottom-width:4px;border-radius:16px;background:#fff;text-decoration:none;color:var(--ink);transition:border-color .15s,transform .15s}
.lr-topic:hover{border-color:var(--red)}
.lr-topic:active{transform:translateY(1px)}
.lr-topic[aria-current=true]{border-color:var(--red);background:var(--tint)}
.lr-topic-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--tint);color:var(--red);font-size:24px;font-weight:900;margin-bottom:4px}
.lr-topic[aria-current=true] .lr-topic-icon{background:#fff}
.lr-topic-icon svg{width:32px;height:32px}
.lr-topic strong{font-size:21px;font-weight:850;color:var(--red);line-height:1.2}
.lr-term{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.lr-topic-q{font-size:15px;color:var(--ink);line-height:1.5}
.lr-pips{display:flex;gap:4px;margin-top:auto;padding-top:8px}
.lr-pips i{width:24px;height:8px;border-radius:4px;background:var(--line)}
.lr-pips i.on{background:var(--green)}
.lr-pips i.hit{outline:2px solid var(--ink);outline-offset:1px}
.lr-topic-status{font-size:12px;font-weight:800;color:var(--green)}
.lr-topic-status.soon{color:var(--muted)}

.lr-levels{display:grid;grid-template-columns:repeat(5,auto);justify-content:start;gap:8px}
.lr-levels button{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px 8px 8px;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:14px;font-weight:800;text-align:left}
.lr-levels button:first-child{padding-left:14px}
.lr-levels button span{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:8px;background:var(--wash);font-size:13px}
.lr-levels button:hover{border-color:var(--red)}
.lr-levels button[aria-pressed=true]{background:var(--red);border-color:var(--dark);color:#fff}
.lr-levels button[aria-pressed=true] span{background:#fff;color:var(--red)}
.lr-how{margin-top:18px;font-size:14px}
.lr-how-grid{display:grid;grid-template-columns:130px repeat(4,minmax(0,1fr));margin-top:12px;background:#fff;border:2px solid var(--line);border-radius:14px;overflow:hidden}
.lr-how-grid>*{padding:10px 12px;border-top:1px solid var(--line);font-size:13px;line-height:1.45}
.lr-how-grid>:nth-child(-n+5){border-top:0;background:var(--wash);font-weight:850}
.lr-how-grid .row-label{font-weight:800;color:var(--muted)}

/* Topic panel: one ladder of levels per topic */
.lr-panel{padding:40px 0 20px;scroll-margin-top:16px}
.lr-panel-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 30px;margin-bottom:26px}
.lr-panel-head h2{color:var(--red)}
.lr-panel-head p{margin-top:8px;color:var(--muted);font-size:17px;max-width:60ch}
.lr-panel-head .lr-covers{font-size:14px;color:var(--ink);font-weight:700;margin-top:10px}
.lr-formula{padding:12px 18px;background:var(--tint);border-radius:12px;color:var(--red);font-size:clamp(17px,2.2vw,22px);font-weight:900;line-height:1.35}
.lr-formula small{display:block;font-size:12px;font-weight:800;color:var(--muted);margin-top:4px}
.lr-ladder{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.lr-level{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:22px;border:2px solid var(--line);border-radius:18px;background:#fff;transition:opacity .2s}
.lr-level.open{border-bottom-width:5px;border-color:var(--red);background:var(--wash)}
.lr-level.soon{padding:14px 22px;align-items:center}
.lr-level.dim{opacity:.45}
.lr-level.focus{outline:3px solid var(--yellow);outline-offset:3px}
.lr-level-tag{font-size:12px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.lr-level h3{font-size:21px;margin-top:4px}
.lr-level.open h3{color:var(--red)}
.lr-traits{list-style:none;padding:0;margin:12px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.lr-traits li{font-size:12px;font-weight:800;padding:4px 9px;border-radius:999px;border:1px solid #b3cfba;background:var(--goodbg);color:var(--green)}
.lr-acts{display:grid;gap:12px}
.lr-act{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;align-items:center;padding:16px 18px;background:#fff;border:2px solid var(--line);border-radius:14px;scroll-margin-top:16px}
.lr-act h4{font-size:18px;font-weight:850;line-height:1.3;margin:6px 0 0}
.lr-act p{font-size:15px;color:var(--ink);line-height:1.55;margin-top:4px}
.lr-act .meta{font-size:13px;color:var(--muted);font-weight:700;margin-top:8px}
.lr-act .button{grid-column:2;grid-row:1 / span 3;white-space:nowrap}
.lr-act.soon{background:transparent;border-style:dashed}
.lr-act.soon h4,.lr-act.soon p{color:var(--muted)}
.lr-sub{display:inline-block;font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;color:var(--red);background:var(--tint);border-radius:6px;padding:3px 8px}
.lr-badge{display:inline-block;font-size:12px;font-weight:800;background:var(--wash);border-radius:999px;padding:6px 12px;color:var(--muted);white-space:nowrap}
.lr-soon-text{font-size:15px;color:var(--muted);line-height:1.55}
.lr-soon-text b{display:inline-block;margin-right:10px;font-size:12px;background:var(--wash);border-radius:999px;padding:3px 10px;color:var(--muted)}
.lr-empty{padding:26px;border:2px dashed var(--line);border-radius:18px;color:var(--muted);font-size:16px;line-height:1.6}
.lr-rooms{border-top:2px solid var(--line);margin-top:30px;padding:30px 0 46px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;font-size:14px;color:var(--muted)}
.lr-rooms strong{color:var(--ink)}
.lr-rooms a{font-weight:800;text-underline-offset:3px}

/* Without JavaScript every topic shows and the level buttons are hidden. */
html.js [data-panel][hidden]{display:none}
html:not(.js) .lr-levels-wrap{display:none}

@media(max-width:980px){.lr-hero-grid{grid-template-columns:90px minmax(0,1fr)}.lr-hero .room-icon{width:90px;height:90px}.lr-quote{grid-column:1 / -1}.lr-levels{grid-template-columns:repeat(2,minmax(0,1fr))}.lr-levels button:first-child{grid-column:1 / -1}}
@media(max-width:820px){.lr-topics{grid-template-columns:1fr}.lr-topic{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:16px;align-items:start}.lr-topic>*:not(.lr-topic-icon){grid-column:2}.lr-topic-icon{grid-row:1 / span 5}}
@media(max-width:760px){.lr-level,.lr-level.soon{grid-template-columns:1fr;gap:14px}.lr-act{grid-template-columns:1fr}.lr-act .button,.lr-act .lr-badge{grid-column:auto;grid-row:auto;justify-self:start}.lr-how{overflow-x:auto}.lr-how-grid{min-width:620px}}
@media(max-width:520px){.lr-hero-grid{grid-template-columns:1fr}.lr-levels{grid-template-columns:1fr}.lr-act .button{width:100%}}
@media(prefers-reduced-motion:reduce){.lr-topic,.lr-level{transition:none}}

/* Shared with the standalone activity pages. */
.activity-return{margin-top:28px;margin-bottom:36px;font-size:14px;font-weight:800;text-underline-offset:4px}
.pc-intro>.room-back{margin-top:0;margin-bottom:25px}
.pc-intro h1{font-size:clamp(28px,4vw,40px);color:var(--red);margin-bottom:18px}

/* A lesson this visitor has finished on this device */
.lr-done{display:inline-block;margin-left:6px;padding:2px 10px;border-radius:999px;background:#e6f3ea;color:#1c6b3c;font-weight:800;font-size:12px;white-space:nowrap}
