/* Learning area (/learn/): built on site.css + schemes.css tokens, so every color scheme works. */
body.learn { background: var(--page-bg, var(--ink)); color: var(--soft); min-height: 100vh; display: flex; flex-direction: column; }
.learn-top { position: sticky; top: 0; z-index: 20; background: rgb(var(--bg-rgb) / 0.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.learn-top .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.learn-top .brand { font-family: var(--display, 'Fraunces'), sans-serif; font-weight: 700; color: var(--mist); text-decoration: none; font-size: 1.15rem; }
.learn-top .brand .comma { color: var(--lime); }
.learn-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.learn-nav a, .linkbtn { color: var(--soft); text-decoration: none; padding: 8px 12px; border-radius: 999px; font: inherit; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.learn-nav a:hover, .linkbtn:hover { color: var(--mist); background: rgb(var(--fg-rgb) / 0.06); }
.learn-nav a[aria-current="page"] { color: var(--mist); background: rgb(var(--fg-rgb) / 0.08); }
.inline { display: inline; margin: 0; }
.learn-main { flex: 1; padding: clamp(28px, 5vw, 56px) 0 80px; }
.learn-main .container { max-width: 980px; }
.learn-foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: .88rem; color: var(--muted); }
.learn-foot .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.learn-foot a { color: var(--soft); }
.learn h1 { margin: 0 0 14px; color: var(--mist); }
.learn h2 { color: var(--mist); }
.crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.crumbs a, .learn .small a, .learn p a:not(.btn) { color: var(--mist); border-bottom: 1px solid var(--line-strong); text-decoration: none; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.panel { background: var(--panel, rgb(var(--fg-rgb) / 0.04)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); margin: 18px 0; box-shadow: 0 20px 50px -40px var(--shadow); }
.narrow-panel { max-width: 640px; }
.note-box { padding: 12px 16px; border-radius: 14px; margin: 0 0 16px; background: rgb(var(--accent-rgb) / 0.12); color: var(--mist); border: 1px solid rgb(var(--accent-rgb) / 0.3); }
.note-box.warn { background: rgb(var(--fg-rgb) / 0.06); border-color: var(--line-strong); }
.note-box.error { background: rgb(var(--fg-rgb) / 0.06); border-color: var(--rose); color: var(--mist); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* forms */
.lform { display: grid; gap: 14px; }
.lform label { display: grid; gap: 6px; font-size: .9rem; color: var(--soft); }
.lform small { color: var(--muted); }
.lform input:not([type=radio]):not([type=checkbox]), .lform textarea, .quiz textarea {
  width: 100%; font: inherit; color: var(--mist); background: rgb(var(--fg-rgb) / 0.04); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 12px 14px; }
.lform input:focus, .lform textarea:focus, .quiz textarea:focus { outline: none; border-color: var(--lime); }
.lform .btn { justify-self: start; }
.checkline { display: flex !important; grid-auto-flow: column; align-items: center; gap: 10px !important; }
.checkline input { width: 18px; height: 18px; accent-color: var(--lime); }

/* sign-in pages */
body.learn-bare { display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: min(480px, 100%); padding: clamp(24px, 5vw, 40px); }
.auth-card .brand { display: inline-block; margin-bottom: 18px; font-family: var(--display, 'Fraunces'), sans-serif; font-weight: 700; color: var(--mist); text-decoration: none; }
.auth-card .brand .comma { color: var(--lime); }

/* courses */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.ccard { padding: 0; overflow: hidden; display: grid; }
.ccard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ccard-body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.ccard-body .btn { justify-self: start; }
.bar { height: 8px; border-radius: 99px; background: rgb(var(--fg-rgb) / 0.08); overflow: hidden; }
.bar.big { height: 12px; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--aqua)); border-radius: inherit; transition: width .8s ease; }
.course-top { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin: 18px 0; }
@media (max-width: 640px) { .course-top { grid-template-columns: 1fr; } }
.ltabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 6px 0 18px; }
.ltabs a { padding: 10px 14px; color: var(--soft); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; font-size: .95rem; }
.ltabs a[aria-current="page"] { color: var(--mist); border-bottom-color: var(--lime); }
.dot-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 99px; background: var(--lime); color: var(--on-accent); font-size: .72rem; margin-left: 4px; }
.curriculum { display: grid; gap: 14px; }
.topic { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.topic h2 { margin: 0 0 6px; }
.lessons-l { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.lessons-l li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.lessons-l a { color: var(--mist); text-decoration: none; }
.lessons-l a:hover { text-decoration: underline; }
.lessons-l .ic { color: var(--muted); }
.lessons-l li.done .ic { color: var(--lime); }
.lessons-l li.locked { opacity: .65; }

/* lesson */
.vframe { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin: 10px 0 22px; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
audio { width: 100%; }
.lesson-body { font-size: 1.05rem; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--mist); }
.res { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.res a { color: var(--mist); }
.lesson-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.done-tag { color: var(--lime); font-weight: 700; }
.quiz .qq { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.quiz legend { font-weight: 600; color: var(--mist); margin-bottom: 6px; }
.opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.opt input { accent-color: var(--lime); }
.opt.right { border-color: var(--lime); background: rgb(var(--accent-rgb) / 0.12); }
.opt.wrong { border-color: var(--rose); }

/* forum / messages / reviews */
.topics { list-style: none; padding: 0; margin: 0 0 12px; display: grid; }
.topics li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.topics li a { color: var(--mist); font-weight: 600; text-decoration: none; }
.topics li.unread a { color: var(--lime); }
.posts { display: grid; gap: 12px; }
.post { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.post.staff { border-color: rgb(var(--accent-rgb) / 0.45); background: rgb(var(--accent-rgb) / 0.06); }
.post header { margin-bottom: 8px; color: var(--mist); }
.tagx { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 99px; background: var(--lime); color: var(--on-accent); font-weight: 700; margin-left: 4px; }
.stars { color: #e2a93b; letter-spacing: 2px; }
.star-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.star-pick label { display: flex !important; grid-auto-flow: column; align-items: center; gap: 6px !important; padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; color: #e2a93b; }

/* certificate (print-friendly) */
body.cert-page { margin: 0; background: #f3f1ec; font-family: 'Manrope', system-ui, sans-serif; color: #2a2730; }
.cert { max-width: 1000px; margin: 28px auto; padding: 18px; }
.cert-inner { background: #fffdf8; aspect-ratio: 1.414 / 1; border: 2px solid #c9b88a; outline: 10px solid #fffdf8; box-shadow: 0 0 0 12px #e7dcc0, 0 30px 60px rgba(0,0,0,.12);
  display: grid; align-content: center; justify-items: center; text-align: center; padding: 6% 8%; gap: 8px; }
.cert-brand { font-family: 'Fraunces', sans-serif; font-weight: 700; font-size: 1.3rem; margin: 0; }
.cert-brand span { color: #7aa13a; }
.cert-kicker { letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; color: #8a7a52; margin: 6px 0 18px; }
.cert-small { margin: 0; color: #6b6573; }
.cert-name { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 6px 0; color: #2a2730; }
.cert-course { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(1.4rem, 3.5vw, 2.1rem); margin: 6px 0 12px; }
.cert-date, .cert-sign { margin: 0; }
.cert-sign { margin-top: 10px; font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; }
.cert-code { margin-top: 18px; font-size: .75rem; color: #8b8590; letter-spacing: .1em; }
.cert-actions { text-align: center; }
.cert-print { font: inherit; padding: 10px 18px; border-radius: 99px; border: 1px solid #c9b88a; background: #fff; cursor: pointer; }
@media print {
  body.cert-page { background: #fff; }
  .cert { margin: 0; padding: 0; max-width: none; }
  .cert-inner { box-shadow: none; }
  .cert-actions { display: none; }
  @page { size: landscape; margin: 12mm; }
}

/* store: checkout, purchases, live sessions */
.price { font-family: 'Fraunces', Georgia, serif; font-size: 2.2rem; color: var(--mist); margin: 6px 0 16px; }
.pay-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 12px; }
.co-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 8px 0 16px; }
.row-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.row-links a { color: var(--mist); }
.btn.small { padding: 8px 14px; font-size: .88rem; }
.topics li { grid-template-columns: 1fr auto; align-items: center; }
@media (max-width: 640px) { .topics li { grid-template-columns: 1fr; } }

/* memberships */
.benefits { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 8px; }
.benefits li { padding-left: 26px; position: relative; }
.benefits li::before { content: '✦'; position: absolute; left: 0; color: var(--lime, currentColor); }
.member-card .btn-row { margin-top: 12px; }
.choices { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.choices legend { font-size: .9rem; color: var(--soft); margin-bottom: 6px; }
.choices label { display: flex !important; gap: 12px !important; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; color: var(--mist) !important; }
.choices label:has(input:checked) { border-color: var(--lime); }
.choices input { margin-top: 4px; accent-color: var(--lime); }
.choices small { display: block; color: var(--muted); }
/* welcome-back offer at checkout */
.price .was { font-size: 1.4rem; color: var(--muted); margin-right: 6px; }
.offer-box .offer-clock { font-variant-numeric: tabular-nums; font-weight: 600; }
.learn-foot .legal-links { display: inline-flex; gap: 6px 16px; flex-wrap: wrap; }
.learn-foot .linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--soft); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.choices .promo-line { display: block; color: var(--lime); }
.promo-pill { white-space: normal; }
.learn-top .brand, .auth-card .brand { display: inline-flex; align-items: center; gap: 10px; }
.learn-top .brand .brand-mark { width: 52px; height: auto; }
.auth-card .brand .brand-mark { width: 64px; height: auto; }

/* the add-on tick box at checkout */
.bump-box { display: flex; gap: 12px; align-items: flex-start; flex-basis: 100%; padding: 14px 16px; margin: 0 0 6px; border: 1.5px dashed rgb(var(--accent-rgb) / 0.55); border-radius: 14px; background: rgb(var(--accent-rgb) / 0.08); cursor: pointer; text-align: left; }
.bump-box:has(input:checked) { border-style: solid; background: rgb(var(--accent-rgb) / 0.16); }
.bump-box input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--lime); }
.bump-box .was { opacity: .6; margin-left: 4px; }
.bump-box .bump-text { display: block; margin-top: 4px; font-size: .92rem; color: var(--soft); }

/* the offer on the thank-you page */
.upsell-box { margin-top: 28px; padding: 22px 22px 18px; border-radius: 18px; border: 1px solid rgb(var(--accent-rgb) / 0.45); background: linear-gradient(160deg, rgb(var(--accent-rgb) / 0.14), rgb(var(--accent-rgb) / 0.04)); }
.upsell-box .h3 { margin: 4px 0 8px; }
.upsell-box .price { margin: 10px 0 14px; }
.upsell-box .was { opacity: .6; margin-right: 6px; }

/* quizzes */
.quiz { display: grid; gap: 16px; }
.quiz-q { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.quiz-q legend { margin-bottom: 8px; }
.quiz-a { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.quiz-a:hover { border-color: rgb(var(--accent-rgb) / 0.6); }
.quiz-a:has(input:checked) { border-color: rgb(var(--accent-rgb) / 0.9); background: rgb(var(--accent-rgb) / 0.10); }
.quiz-a input { width: 18px; height: 18px; flex: none; accent-color: var(--lime); }
.quiz-email label:not(.checkline) { display: grid; gap: 4px; }
.quiz-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.quiz.stepped .quiz-q[hidden] { display: none; }
.quiz-result { display: grid; gap: 12px; }

/* before cancelling */
.leaving label:not(.quiz-a) { display: grid; gap: 6px; margin-top: 6px; }
.leaving textarea { width: 100%; }

.ref-link { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; }

/* a message about one field or section, shown right there (learn.js moves it) */
.note-box.msg-here { margin: 8px 0 12px; }
[aria-invalid="true"] { border-color: var(--rose) !important; }

/* a field the input guard refused (code isn't allowed): marked until it's fixed */
.lform .guard-bad { outline: 2px solid #e0646a; outline-offset: 1px; }

/* ---------- forums: the editor (forum-editor.js) and posts (forum tags, lib/forums.php) ---------- */
.fe { display: grid; gap: 0; border: 1px solid var(--fe-line, rgba(127, 127, 127, .35)); border-radius: 12px; overflow: hidden; }
.fe-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--fe-line, rgba(127, 127, 127, .25)); background: rgba(127, 127, 127, .06); }
.fe-btn { appearance: none; border: 1px solid transparent; background: transparent; color: inherit; border-radius: 8px; padding: 5px 9px; font: inherit; font-size: .85rem; cursor: pointer; }
.fe-btn:hover, .fe-btn:focus-visible { border-color: rgba(127, 127, 127, .45); }
.fe-btn.b { font-weight: 800; } .fe-btn.i { font-style: italic; } .fe-btn.u { text-decoration: underline; } .fe-btn.s { text-decoration: line-through; }
.fe-box { min-height: 140px; max-height: 60vh; overflow-y: auto; padding: 12px 14px; line-height: 1.6; outline: none; white-space: pre-wrap; overflow-wrap: anywhere; }
.fe-box:focus { box-shadow: inset 0 0 0 2px rgba(182, 211, 92, .55); }
.fe-box.guard-bad { box-shadow: inset 0 0 0 2px #e0646a; }
.fe-box img { max-width: 240px; max-height: 180px; border-radius: 8px; vertical-align: middle; }
.fe-box pre, .fpost pre.fcode { margin: 8px 0; padding: 10px 12px; border-radius: 8px; background: rgba(127, 127, 127, .12); font: .85rem/1.5 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.fe-box blockquote, .fpost blockquote { margin: 8px 0; padding: 4px 12px; border-left: 3px solid rgba(127, 127, 127, .45); opacity: .9; }
.fe-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(127, 127, 127, .14); font-size: .85rem; }
.fe-status { margin: 0; padding: 4px 12px 8px; min-height: 1.2em; font-size: .82rem; opacity: .8; }
.fpost .fimg img { display: block; max-width: min(100%, 520px); height: auto; border-radius: 10px; margin: 8px 0; }
.fpost .ffile { display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(127, 127, 127, .3); text-decoration: none; margin: 4px 0; }
.fpost .flink.pending, .fpost .flink.rejected { font-style: italic; opacity: .75; }
.fpost ul { margin: 6px 0; padding-left: 1.4em; }


/* checkout: signed out (sign in, or just a name and email); a checkout link's items (lib/checkoutlinks.php) */
.co-auth { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 20px; }   /* side by side only when there's room (the checkout card is narrow) */
.co-auth-col { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgb(var(--fg-rgb) / 0.03); }
.co-auth-col h2 { margin: 0 0 6px; }
.co-auth-col .stack { display: grid; gap: 12px; }
.co-auth-col label { display: grid; gap: 4px; }
.co-auth-col input { width: 100%; min-width: 0; box-sizing: border-box; }
.co-lines { list-style: none; margin: 8px 0 16px; padding: 0; border-top: 1px solid var(--line); }
.co-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }


/* ---------- the client portal (cms/learn_portal.php) ---------- */
.portal-head { margin-bottom: 8px; }
.portal-head .eyebrow { margin-bottom: 6px; }
.portal-attn { border-left: 3px solid var(--lime); }
.portal-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.pcard { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.pcard img { width: 100%; border-radius: 12px; }
.pcard.focus { outline: 2px solid var(--lime); }
.portal-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.post.from-team { border-left: 3px solid var(--aqua); padding-left: 14px; }
.row-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.row-links a[aria-current="page"] { font-weight: 700; text-decoration: underline; }
.btn.small { padding: 6px 14px; font-size: .85rem; min-height: 0; }

/* a proposal (learn_proposals.php): wider than a sign-in card, printable */
.auth-card.wide { width: min(860px, 100%); }
.proposal .eyebrow { margin-bottom: 4px; }
.proposal .intro { margin: 18px 0 26px; }
.prop-items { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line, rgba(127,127,127,.25)); }
.prop-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line, rgba(127,127,127,.25)); align-items: start; }
.prop-items li.off { opacity: .55; }
.prop-items .pick { width: 22px; padding-top: 3px; }
.prop-items .pick input { width: 18px; height: 18px; }
.prop-items .what strong { display: block; }
.prop-items .what p { margin: 4px 0 0; font-size: .92rem; opacity: .85; }
.prop-items .amt { white-space: nowrap; font-weight: 600; text-align: right; }
.prop-items .amt small { display: block; font-weight: 400; opacity: .75; }
.prop-total { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 1.15rem; margin: 6px 0 4px; }
.prop-terms { font-size: .92rem; }
.prop-sign { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--line, rgba(127,127,127,.3)); display: grid; gap: 12px; }
.prop-sign .sig { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 1.6rem; }
.prop-signed { padding: 16px 18px; border-radius: 12px; background: rgba(127, 190, 140, .14); }
.prop-decline summary { cursor: pointer; font-size: .9rem; opacity: .8; }
@media (max-width: 560px) { .prop-items li { grid-template-columns: auto 1fr; } .prop-items .amt { grid-column: 2; text-align: left; } }
@media print { .auth-card.wide { width: 100%; box-shadow: none; border: 0; } .prop-sign form, .prop-decline, .no-print, .cookie-notice { display: none !important; } }

/* getting started (lib/onboarding.php): the checklist and questionnaires */
.steps-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.steps-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(127, 127, 127, .07); }
.steps-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: .8rem; opacity: .7; }
.steps-list li.done .tick { background: #8EB9A5; border-color: transparent; color: #12221b; opacity: 1; }
.steps-list li.done .what { opacity: .65; }
.steps-list .what { flex: 1; }
.qform .q { padding: 6px 0; }
.qform .q fieldset { border: 0; padding: 0; margin: 0; }
.qform .q legend, .qform .q > label { font-weight: 600; margin-bottom: 6px; display: block; }
.qform .q.missing { border-left: 3px solid #e0a050; padding-left: 12px; }
.qform .req { color: #e0a050; }
.qform textarea, .qform input[type=text], .qform input[type=url] { width: 100%; }

/* booking a call (learn_booking.php) */
.booking-page .slots { border: 0; padding: 0; margin: 10px 0; }
.slot-day { border-top: 1px solid rgba(127, 127, 127, .25); padding: 10px 0; }
.slot-day summary { cursor: pointer; font-weight: 600; }
.slot-times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .4); font-variant-numeric: tabular-nums; }
.slot input:checked + span { background: #8EB9A5; color: #12221b; border-color: transparent; font-weight: 600; }
.slot input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 2px; }
.slot .local-time, .slot + .local-time { font-size: .78rem; opacity: .75; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buy me a bev (learn_bev.php) */
.bev h1 { margin: 6px 0 12px; }
.bev-menu { border: 0; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.bev-menu legend { margin-bottom: 12px; }
.bev-card { position: relative; cursor: pointer; }
.bev-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bev-face { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 18px 12px 16px; height: 100%; border-radius: 18px; border: 1.5px solid rgba(127, 127, 127, .3); background: rgba(127, 127, 127, .05); transition: transform .2s ease, border-color .2s, background .2s, box-shadow .2s; }
.bev-card:hover .bev-face { transform: translateY(-3px); }
.bev-card input:checked + .bev-face { border-color: #E27F6D; background: rgba(226, 127, 109, .12); box-shadow: 0 10px 28px rgba(226, 127, 109, .18); }
.bev-card input:focus-visible + .bev-face { outline: 2px solid currentColor; outline-offset: 3px; }
.bev-emoji { font-size: 2.4rem; line-height: 1.1; display: inline-block; }
.bev-emoji.spin { animation: bev-spin .6s ease; }
@keyframes bev-spin { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(200deg) scale(1.25); } 100% { transform: rotate(360deg) scale(1); } }
.bev-price { font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; }
.bev-line { font-size: .8rem; opacity: .75; }
.bev-custom .bev-face { border-style: dashed; }
.bev-custom-fields { padding: 14px 16px; border-radius: 14px; background: rgba(127, 127, 127, .06); }
.bev-amount { display: flex; align-items: center; gap: 6px; }
.bev-amount input { width: 7em; }
.bev-custom-fields .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bev-custom-fields .row input { flex: 1 1 14em; }
.bev-go { font-size: 1.05rem; padding: 14px 26px; }
.bev-thanks { text-align: center; }
.bev-thanks .row { justify-content: center; }
.bev-big { font-size: 3.4rem; margin: 0; }
.bev-note { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 1.2rem; margin: 18px auto; max-width: 30em; }
@media (prefers-reduced-motion: reduce) { .bev-emoji.spin { animation: none; } .bev-face { transition: none; } }

/* meeting types (lib/calendar.php) */
.type-list { display: grid; gap: 12px; margin-top: 18px; }
.type-card { position: relative; display: grid; gap: 4px; padding: 18px 48px 18px 20px; border-radius: 16px; border: 1.5px solid rgba(127, 127, 127, .3); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.type-card:hover, .type-card:focus-visible { border-color: #8EB9A5; transform: translateY(-2px); }
.type-go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; }

/* contracts and printable invoices (lib/contracts.php), hours in the portal */
.contract-body h2 { margin-top: 1.4em; }
.inv-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.inv-meta { margin-bottom: 18px; }
.hours-bar { height: 10px; border-radius: 99px; background: rgba(127, 127, 127, .18); overflow: hidden; }
.hours-bar span { display: block; height: 100%; background: linear-gradient(90deg, #8EB9A5, #DBB66F); border-radius: 99px; }

/* an affiliate's own page (views/learn/partner.php) */
.prop-block { margin: 0 0 26px; padding-top: 18px; border-top: 1px solid var(--line, rgba(127,127,127,.25)); }
.prop-block .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.prop-block .grow { flex: 1 1 260px; display: grid; gap: 4px; }
.wrap-any { overflow-wrap: anywhere; word-break: break-all; }
.proposal .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.proposal .stat { padding: 14px; border-radius: 14px; border: 1px solid var(--line, rgba(127,127,127,.25)); display: grid; gap: 2px; }
.proposal .stat strong { font-size: 1.35rem; font-family: 'Fraunces', Georgia, serif; }
.proposal .stat span { font-size: .85rem; opacity: .8; }
.prop-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prop-table td { padding: 10px 6px; border-bottom: 1px solid var(--line, rgba(127,127,127,.2)); }
.prop-table .num { text-align: right; white-space: nowrap; font-weight: 600; }
