/* Universal Skills & Career Hub — learning & career portal (member + public pages). Uses the tokens of base.css. */
.lr-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.lr-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lr-chip:hover { border-color: var(--green); color: var(--green); }
.lr-chip.active { background: var(--green); border-color: var(--green); color: var(--on-green); }

.lr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.lr-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
a.lr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lr-top { display: flex; align-items: center; gap: 12px; padding: 16px 16px 0; }
.lr-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--green-50); color: var(--green); }
.lr-ico svg { width: 23px; height: 23px; }
.lr-ico.gold { background: var(--gold-50); color: #b97800; }
.lr-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; justify-content: flex-end; }
.lr-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lr-body h3 { margin: 0; font-size: 1.04rem; line-height: 1.3; }
.lr-body p { margin: 0; color: var(--ink-2); font-size: .88rem; line-height: 1.5; }
.lr-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-3); margin-top: auto; padding-top: 6px; }
.lr-meta span { display: inline-flex; align-items: center; gap: 5px; }
.lr-meta svg { width: 14px; height: 14px; }
.lr-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line-2); background: var(--surface-2); font-size: .82rem; font-weight: 600; }
.lr-foot .progress { flex: 1; }
.lr-lock { color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.lr-lock svg { width: 15px; height: 15px; }
.lr-card.locked .lr-ico { background: var(--surface-2); color: var(--ink-3); }

/* course player */
.lp { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.lp-list { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 84px; }
.lp-list h3 { margin: 0; padding: 14px 16px; font-size: .95rem; border-bottom: 1px solid var(--line-2); }
.lp-list a { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-top: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: .88rem; line-height: 1.35; }
.lp-list a:first-of-type { border-top: 0; }
.lp-list a:hover { background: var(--table-hover); }
.lp-list a.cur { background: var(--green-50); font-weight: 700; }
.lp-n { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--surface-2); color: var(--ink-2); }
.lp-list a.done .lp-n { background: var(--ok); color: #fff; }
.lp-list a.done .lp-n svg { width: 13px; height: 13px; }
.lp-list small { display: block; color: var(--ink-3); font-weight: 500; }
.lp-main { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; min-width: 0; }
.lp-main h2 { margin: 0 0 4px; font-size: 1.35rem; }
.lp-video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #000; margin: 14px 0; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-text { font-size: .97rem; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.lp-text p { margin: 0 0 12px; }
.lp-text ul, .lp-text ol { margin: 0 0 12px; padding-left: 22px; }
.lp-text li { margin: 4px 0; }
.lp-text code { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; font-size: .88em; }
.lp-res { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.lp-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2); }
@media (max-width: 900px) { .lp { grid-template-columns: 1fr; } .lp-list { position: static; } .lp-main { padding: 16px; } }

/* list rows: jobs, schemes, sessions */
.lr-list { display: grid; gap: 12px; }
.lr-row { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 16px; }
.lr-row-h { display: flex; gap: 12px; align-items: flex-start; }
.lr-row-h h3 { margin: 0 0 2px; font-size: 1.02rem; line-height: 1.3; }
.lr-row-h .org { color: var(--ink-2); font-size: .86rem; }
.lr-row .lr-tags { margin-left: auto; }
.lr-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 16px; margin: 12px 0 0; font-size: .85rem; }
.lr-facts div { display: flex; gap: 7px; align-items: flex-start; color: var(--ink-2); min-width: 0; }
.lr-facts svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--green); }
.lr-facts b { color: var(--ink); font-weight: 600; }
.lr-row p.sum { margin: 10px 0 0; color: var(--ink-2); font-size: .9rem; line-height: 1.55; }
.lr-row details { margin-top: 10px; }
.lr-row summary { cursor: pointer; font-weight: 600; font-size: .86rem; color: var(--link); }
.lr-row details .lp-text { margin-top: 8px; font-size: .9rem; }
.lr-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.lr-note { font-size: .8rem; color: var(--ink-3); }
.lr-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.15rem; font-weight: 800; letter-spacing: .18em; background: var(--gold-50); color: #8a5a00; border: 1px dashed #e0b24a; border-radius: 8px; padding: 4px 12px; display: inline-block; }
.lr-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lr-inline input[type=text] { width: 150px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

/* certificate */
.cert-wrap { max-width: 980px; margin: 0 auto; }
.cert { position: relative; background: #fffdf6; color: #14213d; border: 10px solid #0b1f4d; outline: 2px solid #d9a521; outline-offset: -18px; border-radius: 6px; padding: 54px 48px 40px; text-align: center; box-shadow: var(--shadow-lg); font-family: Georgia, "Times New Roman", serif; }
.cert img.logo { height: 62px; width: auto; margin-bottom: 8px; }
.cert .org { font-family: var(--font); font-weight: 800; letter-spacing: .14em; font-size: .86rem; color: #0b1f4d; text-transform: uppercase; }
.cert h1 { font-size: 2.5rem; margin: 14px 0 2px; color: #0b1f4d; letter-spacing: .04em; font-family: Georgia, serif; }
.cert .sub { color: #b07c00; letter-spacing: .3em; font-size: .8rem; text-transform: uppercase; font-family: var(--font); font-weight: 700; }
.cert .to { margin-top: 26px; color: #475569; font-style: italic; }
.cert .name { font-size: 2.1rem; color: #1a4fd6; margin: 6px auto 0; padding: 0 20px 6px; border-bottom: 2px solid #d9a521; display: inline-block; }
.cert .for { margin: 18px auto 0; max-width: 620px; line-height: 1.7; color: #334155; }
.cert .course { font-weight: 700; color: #0b1f4d; font-size: 1.25rem; }
.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 40px; font-family: var(--font); font-size: .82rem; color: #475569; text-align: left; }
.cert-foot div:last-child { text-align: right; }
.cert-foot b { display: block; color: #0b1f4d; font-size: .92rem; }
.cert-seal { width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe08a, #d9a521 60%, #a87400); display: grid; place-items: center; color: #5b3d00; flex: none; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.cert-seal svg { width: 40px; height: 40px; }
@media (max-width: 640px) { .cert { padding: 34px 18px 26px; border-width: 6px; outline-offset: -12px; } .cert h1 { font-size: 1.6rem; } .cert .name { font-size: 1.45rem; } .cert-foot { flex-direction: column; align-items: center; text-align: center; } .cert-foot div:last-child { text-align: center; } }
@media print {
  body * { visibility: hidden !important; }
  .cert, .cert * { visibility: visible !important; }
  .cert { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: A4 landscape; margin: 10mm; }
}
.lr-foot svg { width: 16px; height: 16px; vertical-align: -3px; }
.lr-foot .progress { background: var(--line); }
.lr-foot a { color: var(--link); text-decoration: none; }

/* ── public website additions ── */
.uh-words { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.uh-words span { padding: 5px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.uh-tile { aspect-ratio: 1.25; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3b74ff, #0b1f4d); }
.uh-tile.t2 { background: linear-gradient(135deg, #ffcf54, #e08a00); color: #3d2600; }
.uh-tile.t3 { background: linear-gradient(135deg, #22c1a4, #0b5f7a); }
.uh-tile svg { width: 42%; height: 42%; stroke-width: 1.6; }
.hp-card .hp-cap { display: flex; flex-direction: column; gap: 1px; padding: 9px 8px 6px; }
.uh-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.uh-list li { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 600; font-size: .95rem; }
.uh-list svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.uh-list.bad svg { color: var(--bad); } .uh-list.ok svg { color: var(--ok); }
.uh-aud { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.uh-aud-c { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 20px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: var(--shadow); }
.uh-aud-c span { width: 50px; height: 50px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; }
.uh-aud-c svg { width: 23px; height: 23px; }
.uh-aud-c small { color: var(--ink-2); font-size: .8rem; }
.uh-pk { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); max-width: 900px; margin: 0 auto; }
.uh-pk .pk li { align-items: flex-start; } .uh-pk .pk li svg { flex: none; margin-top: 3px; }
.uh-pk .pk .hot-tag { top: 20px; }
.uh-steps { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.uh-inc { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.uh-big { font-size: 1.7rem; font-weight: 800; color: #ffd35c; line-height: 1.1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.uh-rew { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.uh-rew-c { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 14px; box-shadow: var(--shadow); }
.uh-rew-c small { display: block; width: 100%; color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .04em; padding: 6px 4px; }
.uh-rew-c span { width: 54px; height: 54px; border-radius: 16px; background: var(--gold-50); color: #b97800; display: grid; place-items: center; margin-top: 6px; }
.uh-rew-c svg { width: 26px; height: 26px; }
.uh-rew-c b { font-size: .86rem; padding: 0 8px; line-height: 1.3; }
.uh-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 0; }
.uh-flow span { padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .86rem; }
.uh-flow i { color: var(--gold); font-style: normal; font-weight: 800; }
.uh-tbl td, .uh-tbl th { white-space: nowrap; }

.uh-msg { padding: 28px; }
.uh-msg-who { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.uh-msg-who img, .uh-msg-av { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--gold); }
.uh-msg-av { display: grid; place-items: center; background: var(--green-50); color: var(--green); }
.uh-msg-av svg { width: 36px; height: 36px; }
.uh-msg-who b { display: block; font-size: 1.2rem; } .uh-msg-who small { color: var(--ink-2); }
.uh-msg-sign { font-weight: 700; color: var(--heading); margin: 12px 0 0; text-align: right; }

.lp-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
