/* Coursedent draft styles. No external fonts or scripts. */
:root {
  --ink: #14212b;
  --muted: #5d6b75;
  --line: #dfe5e8;
  --bg: #f6f8f7;
  --card: #ffffff;
  --brand: #0e7c74;
  --brand-ink: #ffffff;
  --brand-soft: #e3f3f1;
  --accent: #e8a33d;
  --danger: #b4372f;
  --ok: #1f7a4a;
  --warm: #f4a582;       /* coral, the welcoming accent */
  --warm-soft: #fde9df;
  --sand: #fbf6ef;
  --mint: #cfeee8;
  --sky: #dbe9fb;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 33, 43, .06), 0 2px 8px rgba(20, 33, 43, .04);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); }
a { color: var(--brand); }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 .4rem; letter-spacing: -.01em; }
h2 { font-size: 1.05rem; margin: 0 0 .75rem; }
h3 { font-size: 1.05rem; margin: .2rem 0 .4rem; }
p { margin: 0 0 .75rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.strong { font-weight: 650; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.center { text-align: center; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.neg { color: var(--danger); }
.pos { color: var(--ok); }
.pad { padding: 1rem 1.25rem; }

/* top bar */
.topbar { display: flex; align-items: center; gap: 1.5rem; padding: .75rem 1.5rem; background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); }
.logo { width: 26px; height: 26px; border-radius: 7px; background: var(--brand) url("/static/icon.svg") center / 18px no-repeat; }
.wordmark { font-weight: 700; letter-spacing: -.01em; font-size: 1.1rem; }
.topnav, .appnav { display: flex; gap: 1.1rem; align-items: center; }
.topnav { margin-left: auto; }
.topnav a, .appnav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.appnav a { padding: .3rem 0; border-bottom: 2px solid transparent; }
.appnav a.active { border-color: var(--brand); color: var(--brand); }
.who { margin-left: auto; display: flex; gap: .75rem; align-items: center; font-size: .9rem; flex-wrap: wrap; }
.who form { margin: 0; }
.tenant { font-weight: 600; }
.switcher { display: flex; gap: .4rem; }
.switcher select { width: auto; padding: .25rem .4rem; }

.page { max-width: 1180px; margin: 0 auto; padding: 1.75rem 1.5rem 3rem; }
.footer { max-width: 1180px; margin: 0 auto; padding: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }

/* cards and layout */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow-x: auto; }
.narrow { max-width: 560px; margin: 2rem auto; }
.narrow-left { max-width: 560px; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack > * { margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.25rem; align-items: start; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .9rem; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
@media (max-width: 860px) { .grid2, .grid-main { grid-template-columns: 1fr; } }

/* forms */
label { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; font-weight: 550; }
input, select, textarea { font: inherit; font-weight: 400; padding: .5rem .6rem; border: 1px solid #c9d2d7; border-radius: 7px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
input:disabled, select:disabled, textarea:disabled { background: #f1f4f5; color: var(--muted); }
textarea { resize: vertical; }
.hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
.check { flex-direction: row; align-items: flex-start; gap: .5rem; font-weight: 400; }
.check input { width: auto; margin-top: .25rem; }
.checks { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .6rem 0; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem 1rem; margin: 0; display: flex; flex-direction: column; gap: .8rem; }
legend { font-weight: 650; padding: 0 .3rem; }
fieldset.optional { background: #fafbfb; }
details summary { cursor: pointer; font-size: .9rem; color: var(--brand); }
.consent { font-size: .85rem; margin-top: .6rem; }

button, .button { display: inline-block; font: inherit; font-weight: 600; font-size: .92rem; padding: .55rem 1rem; border-radius: 7px; border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink); cursor: pointer; text-decoration: none; text-align: center; }
button:hover, .button:hover { filter: brightness(1.07); }
button:disabled { opacity: .45; cursor: not-allowed; }
.ghost { background: transparent; color: var(--brand); }
.danger.ghost { color: var(--danger); border-color: var(--danger); }
button.small, .button.small { padding: .3rem .65rem; font-size: .83rem; }
.block { display: block; width: 100%; }
.actions { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }
.actions form, .actions button { width: 100%; margin: 0; }

/* messages */
.alert { background: #fbeceb; border: 1px solid #efc4c0; color: var(--danger); padding: .6rem .8rem; border-radius: 7px; }
.notice { background: var(--brand-soft); border: 1px solid #bfe2dd; padding: .6rem .8rem; border-radius: 7px; }
.notice ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.blockers { background: #fdf5e7; border: 1px solid #f1d9ad; border-radius: 7px; padding: .6rem .8rem; font-size: .88rem; }
.blockers ul { margin: .3rem 0 0; padding-left: 1.1rem; }

/* tables and lists */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: .55rem .75rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr.current td { background: var(--brand-soft); }
.table tr.dim td { opacity: .55; }
.card .table th:first-child, .card .table td:first-child { padding-left: 0; }
.card.flush .table th:first-child, .card.flush .table td:first-child { padding-left: 1.25rem; }
.list { list-style: none; margin: 0 0 1rem; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.list.compact li { padding: .3rem 0; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0 0 .75rem; font-size: .92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }
.facts.inline dd { text-align: left; }
.facts.price dd { font-variant-numeric: tabular-nums; }

.tabs { display: flex; gap: .3rem; margin-bottom: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs a { padding: .5rem .8rem; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: .92rem; }
.tabs a.active { color: var(--brand); border-color: var(--brand); font-weight: 600; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.tile-label { font-size: .82rem; color: var(--muted); }
.tile-value { font-size: 1.55rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile-note { font-size: .78rem; color: var(--muted); }

/* badges */
.badge { display: inline-block; font-size: .75rem; font-weight: 650; padding: .12rem .5rem; border-radius: 999px; background: #eef1f3; color: var(--muted); white-space: nowrap; }
.status-planned { background: #e8eefb; color: #2f4f9e; }
.status-decided { background: #fdf0d9; color: #8a5a0b; }
.status-published { background: #ddf3e6; color: var(--ok); }
.status-completed { background: #eef1f3; color: #44525c; }
.status-cancelled { background: #fbeceb; color: var(--danger); }
.booking-paid { background: #ddf3e6; color: var(--ok); }
.booking-invoice { background: #e8eefb; color: #2f4f9e; }
.booking-waitlist { background: #fdf0d9; color: #8a5a0b; }
.chip { display: inline-block; font-size: .75rem; background: var(--brand-soft); color: var(--brand); border-radius: 5px; padding: .05rem .4rem; margin: 0 .25rem .2rem 0; }

/* course list on narrow screens: secondary columns move under the title */
.narrow-only { display: none; }
@media (max-width: 860px) {
  .table .wide { display: none; }
  .narrow-only { display: block; }
  .title-cell { min-width: 11rem; }
}

.total-line { font-weight: 650; font-size: 1.05rem; margin: 0; }
.total-line:empty { display: none; }
.outbox { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-direction: column; gap: .4rem; }
.outbox summary { color: var(--ink); }
.outbox .badge { background: #fff; margin-right: .3rem; }
pre.mail { white-space: pre-wrap; font-family: inherit; font-size: .85rem; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: .7rem .8rem; margin: .4rem 0 0; }

/* ---------- organic, welcoming public pages ---------- */
body.public { background: var(--sand); }
.hero.organic, .org-head.organic { position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, #e6f5f2 0%, #f9efe6 60%, #fde9df 100%);
  border-radius: 40px 120px 40px 90px; padding: 3rem 2.5rem 2.6rem; margin-top: .5rem; }
.org-head.organic { padding: 2.2rem 2.5rem; margin-bottom: 1.5rem; border-radius: 32px 90px 32px 70px; }
.hero.organic h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 760px; letter-spacing: -.02em; }
.blob { position: absolute; z-index: -1; pointer-events: none; }
.blob path { fill: currentColor; }
.blob-1 { width: 340px; right: -70px; top: -90px; color: var(--mint); opacity: .9; }
.blob-2 { width: 220px; right: 140px; bottom: -110px; color: var(--warm); opacity: .35; }
.blob-3 { width: 120px; left: 46%; top: 18px; color: var(--sky); opacity: .9; }
.blob-4 { width: 420px; left: -160px; top: -120px; color: var(--warm-soft); }
.blob-org { width: 260px; right: -50px; top: -80px; color: var(--mint); }
.wave { display: block; width: 100%; height: 34px; margin: -6px 0 0; }
.wave path { fill: var(--mint); opacity: .55; }
.hero .search input, .hero .search select { border-radius: 999px; padding-left: 1rem; background: #fffdfb; }
.hero .search button { border-radius: 999px; padding-inline: 1.4rem; }
.hero .eyebrow { color: #b0603b; }
@media (max-width: 700px) {
  .hero.organic { padding: 2rem 1.3rem; border-radius: 28px 60px 28px 48px; }
  .blob-1 { width: 220px; right: -90px; }
  .blob-3 { display: none; }
}

body.public .course-card { border-radius: 22px 22px 22px 6px; border-color: #eadfd3;
  background: radial-gradient(circle at 105% -5%, var(--warm-soft) 0 70px, transparent 71px), #fff; }
body.public .course-card:nth-child(3n+2) { background: radial-gradient(circle at 105% -5%, var(--mint) 0 70px, transparent 71px), #fff; }
body.public .course-card:nth-child(3n) { background: radial-gradient(circle at 105% -5%, var(--sky) 0 70px, transparent 71px), #fff; }
body.public .card { border-radius: 20px; border-color: #eadfd3; }
body.public .buy { border-top: 0; background: linear-gradient(160deg, #fff 60%, var(--mint)); }
body.public .button, body.public button { border-radius: 999px; }

.members { position: relative; isolation: isolate; overflow: hidden; margin: 3rem 0 1rem; padding: 2.5rem 2rem;
  background: #fff; border-radius: 120px 36px 120px 36px; border: 1px solid #eadfd3; }
.members-head { max-width: 640px; }
.members h2 { font-size: 1.7rem; letter-spacing: -.01em; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.perk { padding: 1.2rem; border-radius: 24px; background: var(--sand); }
.perk h3 { margin-top: .6rem; }
.perk p { font-size: .92rem; }
.perk-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 46% 54% 58% 42% / 52% 40% 60% 48%; }
.perk-passport { background: var(--mint); color: var(--brand); }
.perk-bell { background: var(--sky); color: #2f4f9e; }
.perk-percent { background: var(--warm-soft); color: #b0603b; }
.perk-globe { background: #efe6fb; color: #6a46a8; }
.icon { width: 26px; height: 26px; }
.badge.soon { background: #fff; border: 1px solid #eadfd3; }
.members-cta { margin-top: 1.5rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.button.disabled { opacity: .55; cursor: default; }
@media (max-width: 700px) { .members { border-radius: 60px 24px 60px 24px; padding: 2rem 1.2rem; } }

/* ---------- participant account ---------- */
.auth.organic-card { position: relative; isolation: isolate; overflow: hidden; max-width: 520px; margin: 2rem auto;
  background: #fff; border: 1px solid #eadfd3; border-radius: 36px 90px 36px 70px; padding: 2.2rem 2rem; }
.blob-auth { width: 260px; right: -110px; top: -110px; color: var(--mint); }
.account-hero { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.account-hero.organic { position: relative; isolation: isolate; overflow: hidden; padding: 2.2rem 2.4rem;
  background: linear-gradient(135deg, #e6f5f2 0%, #f9efe6 65%, #fde9df 100%); border-radius: 40px 110px 40px 80px; }
.ring-box { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.ring { width: 132px; height: 132px; }
.ring-track { fill: none; stroke: #fff; stroke-width: 12; }
.ring-value { fill: none; stroke: var(--brand); stroke-width: 12; stroke-linecap: round; }
.ring-num { font-size: 26px; font-weight: 700; fill: var(--ink); }
.ring-unit { font-size: 11px; fill: var(--muted); }
.card h2 .icon, .members h2 .icon { width: 22px; height: 22px; vertical-align: -4px; color: var(--brand); margin-right: .2rem; }
.verify { border-left: 6px solid var(--warm); margin-bottom: 1.25rem; }
.perk.link { text-decoration: none; color: var(--ink); transition: transform .15s; }
.perk.link:hover { transform: translateY(-2px); }
.account-links { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
form.inline { display: inline; margin: 0; }
.passport { list-style: none; margin: 0; padding: 0; }
.passport li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.passport li:last-child { border-bottom: 0; }
.passport li.dim { opacity: .5; }
.pp-main { display: flex; flex-direction: column; gap: .15rem; min-width: 14rem; flex: 1; }
.pp-side { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.pp-side form { margin: 0; }
.pp-hours { font-variant-numeric: tabular-nums; font-weight: 600; }
.proof-verified { background: #ddf3e6; color: var(--ok); }
.proof-document { background: var(--sky); color: #2f4f9e; }
.proof-booked { background: var(--warm-soft); color: #9b4f2d; }
.proof-attended_partly { background: #fdf0d9; color: #8a5a0b; }
button.danger { color: var(--danger); border-color: var(--danger); }
.print-page main { max-width: 820px; margin: 2rem auto; padding: 0 1.5rem; }
.print-page tfoot th { border-top: 2px solid var(--ink); text-align: left; }
@media print {
  .no-print { display: none; }
  .print-page main { margin: 0; }
  body { background: #fff; }
}

/* evaluation */
.result { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.result:last-child { border-bottom: 0; }
.result h3 { font-size: .98rem; }
.avg { font-size: 1.4rem; font-weight: 700; margin: 0 0 .3rem; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.bars li { display: grid; grid-template-columns: 7rem 1fr 2rem; align-items: center; gap: .6rem; font-size: .88rem; }
progress { width: 100%; height: .7rem; appearance: none; border: 0; border-radius: 99px; background: #edf1f2; overflow: hidden; }
progress::-webkit-progress-bar { background: #edf1f2; border-radius: 99px; }
progress::-webkit-progress-value { background: var(--brand); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--brand); border-radius: 99px; }
.comments { margin: .3rem 0 0; padding-left: 1.1rem; font-size: .92rem; }
.comments li { margin-bottom: .3rem; }
.qr { display: flex; justify-content: center; }
.qr svg { max-width: 100%; height: auto; }
.qr-screen { display: grid; place-items: center; min-height: 100vh; text-align: center; background: #fff; }
.qr-screen h1 { font-size: 2.4rem; }
.qr.big svg { width: min(70vh, 90vw); height: auto; }
.eval-page { max-width: 560px; margin: 0 auto; }
.eval-form .question { gap: .6rem; }
.eval-form legend { font-weight: 600; }
.scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .5rem; }
.pill { position: relative; flex-direction: row; font-weight: 500; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: block; width: 100%; text-align: center; padding: .7rem .5rem; border: 1px solid #c9d2d7; border-radius: 9px; background: #fff; cursor: pointer; }
.pill input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.booking-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.attendance input[type=checkbox] { width: 18px; height: 18px; }

/* public */
.hero { padding: 2.2rem 0 1.5rem; }
.hero h1 { font-size: 2.1rem; max-width: 720px; }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.search { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: .6rem; margin-top: 1.25rem; max-width: 900px; }
@media (max-width: 700px) { .search { grid-template-columns: 1fr; } }
.section-title { font-size: 1.1rem; margin: 1.25rem 0 .8rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.course-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .3rem; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.course-card:hover { border-color: var(--brand); transform: translateY(-1px); }
.course-card p { font-size: .92rem; }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); font-weight: 650; }
.meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: .2rem 0 .6rem; font-size: .85rem; }
.meta dt { color: var(--muted); font-size: .75rem; }
.meta dd { margin: 0; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; border-top: 1px solid var(--line); padding-top: .7rem; flex-wrap: wrap; }
.seats { font-size: .82rem; color: var(--ok); }
.seats.full { color: #8a5a0b; }
.organizer { font-size: .8rem; color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); }
.prose p { max-width: 70ch; }
.price-big { font-size: 1.8rem; font-weight: 750; margin: 0; }
.buy { border-top: 4px solid var(--brand); }
.seller { background: #fafbfb; }
.org-head { padding: 1.5rem 0 1rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem; }

/* ---------- Coursedent Plus ---------- */
.plus-hero .price-tag { display: flex; flex-direction: column; align-items: flex-end; background: #fff; padding: 1rem 1.4rem; border-radius: 24px 24px 24px 6px; }
.plus-banner { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 0; padding: 1rem 1.3rem; text-decoration: none; color: var(--ink);
  background: linear-gradient(110deg, var(--warm-soft), #fff 70%); border: 1px solid #f1cdb8; border-radius: 22px 60px 22px 60px; }
.plus-banner.is-member { background: linear-gradient(110deg, var(--mint), #fff 70%); border-color: #bfe2dd; }
.plus-banner > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.plus-arrow { font-size: 1.4rem; color: var(--brand); }
.plus-badge { background: var(--warm-soft); color: #9b4f2d; align-self: flex-start; }
.plus-note { background: var(--warm-soft); border-radius: 12px; padding: .5rem .7rem; font-size: .88rem; }
.plus-price { margin: .6rem 0 0; }
.plus-chip { background: var(--warm-soft); color: #9b4f2d; }
a.badge { text-decoration: none; }

/* ---------- lecturers ---------- */
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; font-weight: 700; font-size: .95rem; color: var(--brand);
  background: var(--mint); border-radius: 46% 54% 58% 42% / 52% 40% 60% 48%; }
.avatar.big { width: 76px; height: 76px; font-size: 1.5rem; }
.avatar.small { width: 28px; height: 28px; font-size: .72rem; vertical-align: middle; margin-right: .3rem; }
.lect-head { display: flex; gap: 1rem; align-items: center; }
.lect-head h1, .lect-head h3 { margin: 0; }
.lect-card:nth-child(3n+2) .avatar { background: var(--warm-soft); color: #9b4f2d; }
.lect-card:nth-child(3n) .avatar { background: var(--sky); color: #2f4f9e; }
.rating strong { font-size: 1.05rem; }
.refs { list-style: none; margin: 0; padding: 0; }
.refs li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.refs li:last-child { border-bottom: 0; }
.refs p { margin: .3rem 0 0; }
.ref-actions { display: flex; gap: .8rem; align-items: center; margin-top: .3rem; }
.ref-actions form { margin: 0; }
.ref-actions .icon { width: 16px; height: 16px; vertical-align: -3px; }
.ref-course { background: var(--mint); color: var(--brand); }
.ref-testimonial { background: var(--warm-soft); color: #9b4f2d; }
.dir-search { grid-template-columns: 2fr 1fr 1fr auto; margin: 0 0 1.25rem; }
.lect-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.compact-form { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); gap: .6rem; }

/* ---------- tasks ---------- */
.tasks { list-style: none; margin: 0; padding: 0; }
.task { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .8rem; padding: .7rem 1.25rem; border-bottom: 1px solid var(--line); }
.tasks.compact .task { padding: .55rem 0; }
.task:last-child { border-bottom: 0; }
.task form { margin: 0; }
.task-main { display: flex; flex-direction: column; }
.task.done .task-title { text-decoration: line-through; color: var(--muted); }
.task-due { font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tick { width: 26px; height: 26px; padding: 0; border-radius: 50% 46% 52% 48%; border: 2px solid var(--brand); background: #fff; color: #fff;
  font-size: .9rem; line-height: 1; display: grid; place-items: center; }
.task.done .tick { background: var(--brand); }
.task.overdue .tick { border-color: var(--danger); }
.tick:disabled { opacity: .7; cursor: default; }
.questions { margin: 0; padding-left: 1.3rem; }
.questions li { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.questions li > * { vertical-align: middle; }
.questions li form { display: inline; margin-left: .5rem; }

/* ---------- meetings ---------- */
.actions-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.agenda-item h2 { margin: 0; }
.agenda-item header { margin-bottom: .6rem; }
.pre { white-space: pre-wrap; }
.decision { background: var(--brand-soft); padding: .5rem .7rem; border-radius: 10px; }
.meet-actions { margin-top: .8rem; padding-top: .6rem; border-top: 1px dashed var(--line); }
.meet-actions form { margin: 0; }
.response { display: flex; gap: .4rem; }
.response form { margin: 0; }
.minutes li { margin-bottom: 1rem; }

/* ---------- documents ---------- */
.docs, .folders { list-style: none; margin: 0; padding: 0; }
.docs li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.docs li:last-child { border-bottom: 0; }
.docs form { margin: 0; }
.doc-main { display: flex; flex-direction: column; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.doc-icon { color: var(--brand); }
.doc-icon .icon { width: 22px; height: 22px; }
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; }
.folders li { display: flex; justify-content: space-between; align-items: center; padding: .7rem .8rem; background: var(--sand); border-radius: 14px 14px 14px 4px; }
.folders a { text-decoration: none; color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.folder { width: 18px; height: 14px; background: var(--warm); border-radius: 3px 6px 3px 3px; display: inline-block; }
.upload { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; padding-top: .6rem; border-top: 1px dashed var(--line); }
.upload label { flex: 1; min-width: 220px; }
.doc-search { grid-template-columns: 1fr auto; margin: 0; min-width: 260px; }
.invitation { border-left: 6px solid var(--brand); margin-bottom: 1rem; }
.team-book { margin-bottom: .5rem; }

/* ---------- CV ---------- */
.vis { padding: .5rem 0; }
.talent-filter { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto auto; gap: .6rem; align-items: end; margin-bottom: 1.25rem; }
@media (max-width: 860px) { .talent-filter { grid-template-columns: 1fr 1fr; } }
.request p { margin: .3rem 0; }
.recovery { columns: 2; list-style: none; padding: 0; font-size: 1.05rem; }
.recovery li { padding: .2rem 0; }
.certs { margin-top: 1rem; }
a.badge.status-published { text-decoration: none; }
