/* The Hall. Brand variables from CLAUDE.md. Spacing in multiples of 8px (4px inside components); line-heights in multiples of 4. */
:root {
  --ink: #26303A; --ocean: #2E6B8E; --ocean-dk: #234F69; --sky: #CFE2F0; --sky-soft: #E7F1F8;
  --green: #7FA05A; --green-dp: #5E7D40; --celery: #CBDCA8; --tan: #C49A66;
  --cream: #F7F2E7; --paper: #FCF9F1; --line: #E4DAC6; --text: #33312E;
  --display: "Marcellus", Georgia, serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 28px; }
a { color: var(--ocean-dk); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }

.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { max-width: 960px; margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ocean-dk); text-decoration: none; margin-right: auto; }
.brand img { display: block; width: 40px; height: 42px; flex: none; }
.brand-words { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 22px; line-height: 24px; white-space: nowrap; }
.brand-kind { font-size: 12px; line-height: 16px; letter-spacing: .18em; text-transform: uppercase; color: var(--green-dp); font-weight: 700; }
.top nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 0; }
.top nav a[aria-current="page"] { color: var(--ocean-dk); box-shadow: inset 0 -3px 0 var(--ocean); }
.testbar { background: var(--celery); color: var(--ink); text-align: center; padding: 4px 16px; font-size: 16px; line-height: 24px; }

main { max-width: 960px; margin: 0 auto; padding: 32px 24px 64px; }
main.narrow { max-width: 520px; }
h1 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 48px; color: var(--ocean-dk); margin: 0 0 16px; }
h2 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 36px; color: var(--ocean-dk); margin: 40px 0 16px; }
p { margin: 0 0 16px; }
.lead { font-size: 20px; line-height: 32px; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.room { display: block; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; text-decoration: none; color: var(--text); }
.room:hover { border-color: var(--ocean); }
.room strong { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 32px; color: var(--ocean-dk); margin-bottom: 4px; }
.tag { display: inline-block; background: var(--sky-soft); color: var(--ocean-dk); border-radius: 999px; padding: 0 12px; font-size: 16px; line-height: 28px; font-weight: 600; white-space: nowrap; }
.tag.green { background: var(--celery); color: var(--ink); }
.tag.tan { background: #F1E3D0; color: var(--ink); }

label { display: block; font-weight: 600; margin: 16px 0 8px; }
input[type="email"], input[type="password"], input[type="text"], input[type="search"], input[type="date"], select {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #B9AE97; border-radius: 8px; padding: 12px 16px; min-height: 48px;
}
input.code { font-size: 32px; line-height: 40px; letter-spacing: 8px; text-align: center; }
button, .btn { display: inline-block; font: inherit; font-weight: 700; color: #fff; background: var(--ocean); border: 0; border-radius: 8px; padding: 12px 24px; min-height: 48px; cursor: pointer; text-decoration: none; }
button:hover, .btn:hover { background: var(--ocean-dk); }
button.quiet { background: transparent; color: var(--ocean-dk); border: 1px solid var(--ocean); }
button.quiet:hover { background: var(--sky-soft); }
button.small { white-space: nowrap; padding: 4px 16px; min-height: 40px; font-size: 16px; line-height: 24px; }
.wide { width: 100%; margin-top: 24px; }
.note { background: var(--sky-soft); border-left: 4px solid var(--ocean); border-radius: 8px; padding: 16px; margin: 0 0 24px; }
.note.problem { background: #F8E9DA; border-color: var(--tan); }
.row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: end; }
.row > * { flex: 1 1 200px; }
.row > button { flex: 0 0 auto; }
.inline { display: inline; }

.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--paper); }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--sky-soft); color: var(--ocean-dk); }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 16px; }
dt { font-weight: 600; }
dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  main { padding: 24px 16px 48px; }
  .top-in { padding: 12px 16px; }
  h1 { font-size: 32px; line-height: 40px; }
  dl { grid-template-columns: 1fr; gap: 0; }
  dd { margin-bottom: 12px; }
}

/* ---------- Stage 2: the Library, the course, search ---------- */
.crumbs { margin: 0 0 16px; font-size: 16px; line-height: 24px; }
.desc { display: block; margin: 4px 0 12px; }
.context { font-size: 16px; line-height: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.list { list-style: none; padding: 0; margin: 0; }
.list li { border-bottom: 1px solid var(--line); }
.list a { display: block; padding: 16px 8px; text-decoration: none; color: var(--text); }
.list a:hover { background: var(--paper); }
.list strong { display: block; font-size: 20px; line-height: 28px; color: var(--ocean-dk); margin-top: 4px; }
.list .desc { margin-bottom: 0; }
mark { background: var(--celery); color: var(--ink); padding: 0 2px; border-radius: 2px; }

.reading { max-width: 720px; }
.byline { font-size: 16px; line-height: 24px; margin: 0 0 8px; }
.reading h1 + .byline { margin: -8px 0 24px; }
.prose { font-size: 19px; line-height: 32px; overflow-wrap: break-word; }
.prose h2 { font-size: 28px; line-height: 36px; margin: 40px 0 12px; }
.prose h3, .prose h4 { font-family: var(--body); font-size: 21px; line-height: 28px; color: var(--ocean-dk); margin: 32px 0 8px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table, .prose pre { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 4px solid var(--tan); padding: 4px 0 4px 20px; color: var(--ink); }
.prose img { max-width: 100%; height: auto; border-radius: 8px; }
.prose figcaption { font-size: 16px; line-height: 24px; margin-top: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; }
.prose table { display: block; overflow-x: auto; }
.prose hr { border: 0; border-top: 2px solid var(--line); margin: 32px 0; }
.prose pre { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; overflow-x: auto; font-size: 16px; line-height: 24px; }
.docview { display: block; width: 100%; height: 75vh; min-height: 480px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin: 0 0 24px; }
.listen { display: block; width: 100%; margin: 0 0 24px; }
.fileactions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
@media (max-width: 640px) { .docview { height: 60vh; min-height: 320px; } }
.player { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 12px; margin: 0 0 24px; }

.progress p { margin: 0 0 12px; }
.bar { height: 12px; background: var(--sky); border-radius: 999px; overflow: hidden; margin: 0 0 20px; }
.bar span { display: block; height: 100%; background: var(--green-dp); border-radius: 999px; }
.lessons { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lessons li + li { border-top: 1px solid var(--line); }
.lessons a { display: flex; align-items: center; gap: 16px; padding: 16px; text-decoration: none; color: var(--text); }
.lessons a:hover { background: var(--sky-soft); }
.lessons .tick { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #B9AE97; display: grid; place-items: center; font-size: 16px; line-height: 16px; font-weight: 700; color: #fff; }
.lessons .done .tick { background: var(--green-dp); border-color: var(--green-dp); }
.lessons .name { flex: 1 1 auto; font-weight: 600; color: var(--ocean-dk); }
.lessons .meta { flex: 0 0 auto; font-size: 16px; line-height: 24px; white-space: nowrap; }
/* On a phone the note goes under the name, lined up with it, instead of being squeezed off the edge. */
@media (max-width: 640px) {
  .lessons a { flex-wrap: wrap; row-gap: 4px; }
  .lessons a .name { flex: 1 1 0; min-width: 0; }
  .lessons a .meta { flex: 1 1 100%; white-space: normal; padding-left: 44px; }
}
.lessonnav { margin-top: 40px; max-width: 720px; }
.lessonnav form p { margin: 0; }
.prevnext { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 24px 0 0; }
.btn.quietlink { background: transparent; color: var(--ocean-dk); border: 1px solid var(--ocean); }
.btn.quietlink:hover { background: var(--sky-soft); }

/* ---------- Stage 3: discussion, profiles, the directory ---------- */
.headrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.headrow h1 { margin: 0; }
.meta { display: block; font-size: 16px; line-height: 24px; }
span.meta a, p.meta a { color: var(--ocean-dk); }
.hint { font-size: 16px; line-height: 24px; margin: 8px 0 16px; }
textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #B9AE97; border-radius: 8px; padding: 12px 16px; resize: vertical; }
textarea:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }
input[type="file"] { font: inherit; max-width: 100%; }
label.check { display: flex; align-items: center; gap: 12px; font-weight: 400; min-height: 32px; }
label.check input { width: 24px; height: 24px; flex: 0 0 24px; accent-color: var(--ocean); }
.writing { max-width: 720px; }
button.linkish { background: none; border: 0; padding: 0; min-height: 0; font: inherit; font-weight: 400; color: var(--ocean-dk); text-decoration: underline; cursor: pointer; }
button.linkish:hover { background: none; color: var(--ink); }
button.like { background: transparent; color: var(--ocean-dk); border: 1px solid var(--ocean); padding: 4px 16px; min-height: 40px; font-size: 16px; line-height: 24px; white-space: nowrap; }
button.like:hover { background: var(--sky-soft); }
button.like.on { background: var(--sky); border-color: var(--ocean-dk); }

.face { display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--sky); color: var(--ocean-dk); font-weight: 700; object-fit: cover; line-height: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chips a { display: inline-block; padding: 4px 16px; border-radius: 999px; border: 1px solid var(--ocean); color: var(--ocean-dk); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 28px; }
.chips a[aria-current="page"] { background: var(--ocean); color: #fff; }

.feed, .people, .comments { list-style: none; padding: 0; margin: 0; }
.feed li { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: 12px; }
.feed li.pinned { border-color: var(--tan); }
.feed a { display: flex; gap: 16px; padding: 16px; text-decoration: none; color: var(--text); }
.feed a:hover { background: var(--sky-soft); border-radius: 12px; }
.feed .body, .people .body { flex: 1 1 auto; min-width: 0; }
.feed strong { display: block; font-size: 20px; line-height: 28px; color: var(--ocean-dk); margin: 4px 0; overflow-wrap: anywhere; }
.feed .desc { margin: 0 0 8px; overflow-wrap: anywhere; }

.author { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 16px 0 0; font-size: 16px; line-height: 24px; }
.thread { max-width: 720px; margin-top: 40px; }
.comments li { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.comments li.child { margin-left: 52px; }
.comments .body { flex: 1 1 auto; min-width: 0; }
.comments .meta { margin: 0 0 4px; }
.prose.small { font-size: 18px; line-height: 28px; }
.prose.small p, .prose.small ul { margin-bottom: 12px; }
.thread form.card { margin-top: 16px; }
:target { scroll-margin-top: 16px; }
.comments li:target { background: var(--sky-soft); border-radius: 8px; padding-left: 12px; padding-right: 12px; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.people a { display: flex; gap: 16px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--text); }
.people a:hover { border-color: var(--ocean); }
.people strong { font-size: 20px; line-height: 28px; color: var(--ocean-dk); }
.people .desc { margin: 4px 0; }
.people .meta { margin-bottom: 8px; }
.profilehead { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-bottom: 24px; }
.profilehead h1 { margin-bottom: 8px; }
.profilehead p { margin: 0 0 8px; }
.photorow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }

.welcome { background: var(--sky-soft); border: 1px solid var(--sky); border-radius: 12px; padding: 24px; margin: 0 0 32px; }
.welcome .headrow h2 { font-size: 24px; line-height: 32px; }
.topiclist { list-style: none; padding: 0; margin: 0 0 16px; max-width: 520px; }
.topiclist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 600px) {
  .comments li.child { margin-left: 24px; }
  .feed a { gap: 12px; }
}

/* ---------- Stage 4: sessions and cohort classes ---------- */
.sessions { list-style: none; padding: 0; margin: 0 0 16px; }
.session { border: 1px solid var(--line); border-left: 4px solid var(--ocean); border-radius: 8px; background: var(--paper); margin-bottom: 12px; }
.session a { display: block; padding: 16px; text-decoration: none; color: var(--text); }
.session a:hover { background: var(--sky-soft); }
.session .when { display: block; font-weight: 700; color: var(--ink); }
.session strong { display: block; font-size: 20px; line-height: 28px; color: var(--ocean-dk); margin: 4px 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
input[type="datetime-local"] { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #B9AE97; border-radius: 8px; padding: 12px 16px; min-height: 48px; }
.cohortgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 40px; }
.weekhead { font-family: var(--body); font-size: 20px; line-height: 28px; color: var(--ocean-dk); margin: 24px 0 8px; }
.lessons.locked li { color: var(--text); }
.lessons.locked .row2 { display: flex; align-items: center; gap: 16px; padding: 16px; }
.lessons.locked .tick { border-style: dashed; }
.lessons.locked .name { color: var(--text); font-weight: 400; }
.teamreply { background: var(--sky-soft); border-left: 4px solid var(--ocean); border-radius: 8px; padding: 12px 16px; margin: 12px 0 0; }
.teamreply .prose p:last-child { margin-bottom: 0; }
table.roster td.full { background: var(--celery); }
table.roster tr.quiet td { background: #F8E9DA; }
table.roster th { white-space: nowrap; }

/* ---------- Stage 5: joining and billing ---------- */
.offers { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.offers h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 32px; color: var(--ocean-dk); margin: 0 0 4px; }
.offers .price { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.offers label, .card form.row label { font-weight: 600; }
.offers form label { margin: 12px 0 0; }
.offers form label input { margin-top: 8px; }
.offers form button { margin-top: 16px; width: 100%; }
button:disabled { background: #B9AE97; cursor: not-allowed; }
.card form.row label select { margin-top: 8px; }

/* ---------- The Classroom ---------- */
.classes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.classes li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.classes a, .classes .nolink { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); }
.classes a:hover { background: var(--sky-soft); }
.classes li:has(a:hover) { border-color: var(--ocean); }
.cover { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--ocean-dk); overflow: hidden; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover.plain { display: grid; place-items: center; padding: 16px; background: linear-gradient(135deg, var(--ocean-dk), var(--ocean)); }
.covername { font-family: var(--display); font-size: 28px; line-height: 36px; color: #fff; text-align: center; }
.locked .cover img, .locked .covername { opacity: 0.35; }
.lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; background: rgba(38, 48, 58, 0.55); color: #fff; font-weight: 700; font-size: 20px; line-height: 28px; text-align: center; }
.classbody { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; flex: 1 1 auto; }
.classbody strong { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 32px; color: var(--ocean-dk); }
.classbody .desc { margin: 0; flex: 1 1 auto; }
.classbody .bar { margin: 8px 0 0; }
.unlockline { font-weight: 700; color: var(--ink); margin-top: 8px; }
.btnlike { display: inline-block; background: var(--ocean); color: #fff; border-radius: 8px; padding: 8px 16px; margin-right: 8px; font-weight: 700; }
.btnlike.quiet { background: transparent; color: var(--ocean-dk); border: 1px solid var(--ocean); }
.classrows { list-style: none; padding: 0; margin: 0 0 16px; }
.classrows > li { margin-bottom: 16px; }
.classrow { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.thumb { flex: 0 0 200px; aspect-ratio: 16 / 9; background: var(--sky); border-radius: 8px; overflow: hidden; display: grid; place-items: center; font-size: 16px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.classmain { flex: 1 1 280px; min-width: 0; }
.offers li:target { border-color: var(--ocean); box-shadow: 0 0 0 3px var(--sky); }

/* ---------- The header: search, messages, notices, your menu, and the row of places ---------- */
.top-in { flex-wrap: nowrap; gap: 16px; padding: 12px 24px; }
.brand { margin-right: 0; flex: 0 0 auto; }
.plainnav { margin-left: auto; }
.topsearch { flex: 1 1 auto; min-width: 0; max-width: 520px; margin: 0 auto; }
.topsearch input { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #B9AE97; border-radius: 999px; padding: 8px 20px; min-height: 44px; }
.topicons { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.iconlink { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.iconlink:hover, .iconlink[aria-current="page"] { background: var(--sky-soft); color: var(--ocean-dk); }
.count { position: absolute; top: 0; right: 0; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 999px; background: #B5452C; color: #fff; font-size: 12px; line-height: 20px; font-weight: 700; text-align: center; }
details.me { position: relative; }
details.me summary { list-style: none; cursor: pointer; border-radius: 50%; display: block; }
details.me summary::-webkit-details-marker { display: none; }
details.me summary:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }
.memenu { position: absolute; right: 0; top: 52px; z-index: 20; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 8px 24px rgba(38, 48, 58, 0.18); }
.memenu .who { margin: 0; padding: 8px 12px 12px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.memenu a, .memenu button.linkish { display: block; width: 100%; text-align: left; padding: 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.memenu a:hover, .memenu button.linkish:hover { background: var(--sky-soft); }
.tabs { border-top: 1px solid var(--line); background: var(--paper); }
.tabs-in { max-width: 960px; margin: 0 auto; padding: 0 24px; display: flex; gap: 8px 28px; overflow-x: auto; scrollbar-width: none; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs a { flex: 0 0 auto; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--ocean-dk); box-shadow: inset 0 -3px 0 var(--ocean); }

/* ---------- The passport ---------- */
.passport { background: var(--ocean-dk); color: #fff; border-radius: 16px; padding: 24px; margin: 0 0 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.passport h1 { color: #fff; margin: 0; flex: 1 1 260px; }
.passport .tally { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.passport .tally div { min-width: 96px; }
.passport dt { font-size: 16px; line-height: 24px; font-weight: 400; color: var(--sky); }
.passport dd { margin: 0; font-family: var(--body); font-weight: 700; font-size: 32px; line-height: 40px; }
.passport dd small { font-weight: 400; font-size: 18px; line-height: 28px; color: var(--sky); }
.stamps { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.stamps > li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.stamps a { display: flex; gap: 16px; align-items: center; height: 100%; padding: 16px; text-decoration: none; color: var(--text); border-radius: 12px; }
.stamps a:hover { background: var(--sky-soft); }
.stamps .words { flex: 1 1 auto; min-width: 0; }
.stamps strong { display: block; font-size: 20px; line-height: 28px; color: var(--ocean-dk); overflow-wrap: anywhere; }
.stamps .meta { margin-top: 2px; }
.stamp { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.stamp.inked { border: 3px double var(--green-dp); color: var(--green-dp); transform: rotate(-8deg); background: #F1F6E6; }
.stamp.blank { border: 2px dashed #B9AE97; color: var(--text); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 14px; }
.libhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }

/* ---------- Notices and messages ---------- */
.inboxlist { list-style: none; padding: 0; margin: 0; }
.inboxlist li { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: 12px; }
.inboxlist li.unread { border-left: 4px solid var(--ocean); background: #fff; }
.inboxlist a { display: block; padding: 16px; text-decoration: none; color: var(--text); border-radius: 12px; }
.inboxlist a:hover { background: var(--sky-soft); }
.inboxlist strong { display: block; font-size: 20px; line-height: 28px; color: var(--ocean-dk); }
.inboxlist .unread strong::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ocean); margin-right: 8px; vertical-align: middle; }

@media (max-width: 700px) {
  .top-in { flex-wrap: wrap; padding: 12px 16px; }
  .topsearch { order: 3; flex: 1 0 100%; max-width: none; margin: 0; }
  .tabs-in { padding: 0 16px; gap: 8px 24px; }
  .passport { padding: 20px; }
  .memenu { right: 0; }
}

/* ---------- The town: the passport drawn as a small place to walk around ---------- */
.town { position: relative; border-radius: 16px; overflow: hidden; margin: 0 0 40px; border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 34% at 18% 100%, var(--celery) 0 99%, transparent 100%),
    radial-gradient(ellipse 70% 30% at 82% 100%, #DCE8C4 0 99%, transparent 100%),
    linear-gradient(var(--sky) 0%, var(--sky-soft) 55%, var(--cream) 100%);
  padding: 24px 24px 0; }
.marquee { display: flex; align-items: stretch; max-width: 640px; margin: 0 auto 28px; background: var(--ink); color: var(--cream); border-radius: 12px; text-decoration: none; box-shadow: 0 6px 0 var(--ocean-dk), 0 14px 24px rgba(38, 48, 58, 0.25); }
.marquee:hover .marquee-foot { text-decoration: underline; }
.marquee:focus-visible { outline: 3px solid var(--ocean); outline-offset: 4px; }
.bulbs { flex: 0 0 18px; margin: 10px 0; background: radial-gradient(circle, var(--cream) 0 3.5px, transparent 4.5px) center top / 18px 18px repeat-y; }
.marquee-in { flex: 1 1 auto; min-width: 0; padding: 16px 12px; text-align: center; border-top: 4px dotted var(--cream); border-bottom: 4px dotted var(--cream); margin: 10px 0; }
.marquee-title { display: block; font-family: var(--display); font-size: 16px; line-height: 24px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--celery); margin-bottom: 8px; }
.marquee-row { display: block; padding: 6px 0; }
.marquee-row + .marquee-row { border-top: 1px solid rgba(247, 242, 231, 0.25); }
.marquee-when { display: block; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--sky); text-transform: uppercase; letter-spacing: 0.06em; }
.marquee-what { display: block; font-family: var(--display); font-size: 24px; line-height: 32px; overflow-wrap: anywhere; }
.marquee-row.quiet { font-size: 18px; line-height: 28px; }
.marquee-foot { display: block; margin-top: 10px; font-size: 16px; line-height: 24px; color: var(--celery); }

.street { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 8px 12px; align-items: end; }
.bld a { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); padding: 8px 4px 16px; border-radius: 12px; }
.bld a:hover .art svg { transform: translateY(-4px); }
.bld a:hover .sign { background: var(--ocean); }
.bld a:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }
.art { position: relative; display: block; width: 100%; max-width: 190px; }
.art svg { display: block; width: 100%; height: auto; transition: transform 0.15s ease; }
@media (prefers-reduced-motion: reduce) { .art svg { transition: none; } .bld a:hover .art svg { transform: none; } }
.f-wall { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.f-wall.alt { fill: var(--sky-soft); }
.f-roof { fill: var(--ocean-dk); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.f-door { fill: var(--tan); stroke: var(--ink); stroke-width: 2; }
.f-win { fill: var(--sky); stroke: var(--ink); stroke-width: 2; }
.f-trim { fill: var(--cream); stroke: var(--ink); stroke-width: 1.5; }
.f-step { fill: var(--line); stroke: var(--ink); stroke-width: 1.5; }
.f-flag { fill: var(--green-dp); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.bld-school .f-roof { fill: var(--green-dp); }
.bld-porch .f-roof { fill: var(--tan); }
.bld-porch .f-door { fill: var(--ocean); }
.bld-houses .f-roof { fill: var(--ocean); }
.bld-office .f-roof { fill: var(--ink); }
.townstamp { position: absolute; top: 2px; right: 2px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; border: 3px double var(--green-dp); color: var(--green-dp); background: #F1F6E6; font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; transform: rotate(-10deg); }
.sign { display: inline-block; margin-top: 4px; background: var(--ocean-dk); color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 6px; font-size: 16px; line-height: 24px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.line { display: block; margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--ink); }
.ground { height: 10px; margin: 0 -24px; background: repeating-linear-gradient(90deg, var(--tan) 0 28px, #B48A58 28px 30px); border-top: 2px solid var(--ink); }
.kerb { list-style: none; margin: 0 -24px; padding: 12px 24px; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: center; background: var(--paper); }
.kerb a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.kerb a:hover { background: var(--sky-soft); }
@media (max-width: 600px) {
  .town { padding: 16px 12px 0; }
  .street { grid-template-columns: repeat(2, 1fr); }
  .ground, .kerb { margin: 0 -12px; }
  .marquee-what { font-size: 21px; line-height: 28px; }
  .townstamp { width: 52px; height: 52px; font-size: 11px; }
}
.stampshead { margin-top: 0; }
.stampgroup { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 32px; margin: 24px 0 12px; }
.stampgroup a { color: var(--ocean-dk); }

/* ---------- The island: the Guild drawn from blocks, seen from above ---------- */
:root { --ember: #B5452C; --stone: #D9D2C2; }
.town { background: linear-gradient(color-mix(in srgb, var(--sky) 70%, var(--ocean)) 0%, var(--sky) 100%); padding-bottom: 0; }
.isle-wrap { overflow-x: auto; margin: 0 -24px; -webkit-overflow-scrolling: touch; }
.isle { display: block; width: 100%; min-width: 720px; height: auto; }
.vx polygon { stroke: color-mix(in srgb, var(--ink) 40%, transparent); stroke-width: 0.6; stroke-linejoin: round; }
.vt { fill: var(--c); }
.vr { fill: color-mix(in srgb, var(--c) 82%, var(--ink)); }
.vl { fill: color-mix(in srgb, var(--c) 64%, var(--ink)); }
.t-grass { --c: var(--green); } .t-leaf { --c: var(--green-dp); } .t-sand { --c: var(--cream); } .t-wood { --c: var(--tan); }
.t-wall { --c: var(--paper); } .t-blue { --c: var(--ocean); } .t-navy { --c: var(--ocean-dk); } .t-ink { --c: var(--ink); }
.t-glass { --c: var(--sky); } .t-celery { --c: var(--celery); } .t-ember { --c: var(--ember); } .t-stone { --c: var(--stone); }
.ripple { fill: color-mix(in srgb, #fff 55%, transparent); }
.isle-b { cursor: pointer; }
.isle-b .isle-body { transition: transform 0.15s ease; }
.isle-b:hover .isle-body, .isle-b:focus-visible .isle-body { transform: translateY(-4px); }
.isle-b:focus-visible { outline: none; }
.isle-b:focus-visible .vx polygon { stroke: var(--ink); stroke-width: 1.6; }
.isle-b.is-locked .isle-body { opacity: 0.6; }
@media (prefers-reduced-motion: reduce) { .isle-b .isle-body { transition: none; } .isle-b:hover .isle-body, .isle-b:focus-visible .isle-body { transform: none; } }
.isle-sign .board { fill: var(--ocean-dk); stroke: #fff; stroke-width: 1.5; }
.isle-sign.locked .board { fill: var(--ink); }
.isle-sign .post { fill: var(--ink); }
.isle-sign text { fill: #fff; font-family: var(--body); font-size: 15px; font-weight: 700; }
.isle-sign .tickring { fill: #F1F6E6; stroke: var(--green-dp); stroke-width: 1.5; }
.isle-sign .tick { fill: none; stroke: var(--green-dp); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.isle-sign .padlock { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.isle-signlink:hover .board { fill: var(--ocean); }
.slidehint { display: none; text-align: center; font-size: 16px; line-height: 24px; margin: 0 0 4px; color: var(--ink); }
@media (max-width: 760px) { .slidehint { display: block; } .isle-wrap { margin: 0 -12px; } }

/* ---------- The writing box ---------- */
.editor-box { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.editor-box:focus-within { border-color: var(--ocean); box-shadow: 0 0 0 2px var(--sky); }
.editor-surface { padding: 16px; }
.editor-surface .tiptap { min-height: 160px; outline: none; }
#reply .editor-surface .tiptap { min-height: 96px; }
.editor-surface .tiptap > :last-child { margin-bottom: 0; }
.editor-surface .tiptap img.ProseMirror-selectednode, .editor-surface .tiptap iframe.ProseMirror-selectednode { outline: 3px solid var(--ocean); }
.editor-surface.editor-missing { box-shadow: inset 0 0 0 2px var(--ember, #B5452C); border-radius: 8px; }
.editor-bar { display: flex; gap: 4px; padding: 8px; border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 8px 8px; flex-wrap: wrap; }
button.editor-btn { flex: none; background: transparent; color: var(--ink); border: 1px solid transparent; padding: 4px 12px; min-height: 40px; min-width: 40px; font-size: 16px; line-height: 24px; font-weight: 700; white-space: nowrap; }
button.editor-btn:hover { background: var(--sky-soft); }
button.editor-btn[aria-pressed="true"] { background: var(--sky); border-color: var(--ocean); }
button.editor-btn[data-key="italic"] { font-style: italic; }
.editor-panel { padding: 8px; border-top: 1px solid var(--line); background: var(--paper); }
.editor-link { display: flex; gap: 8px; flex-wrap: wrap; }
.editor-link input { flex: 1 1 200px; margin: 0; }
.editor-link button { padding: 4px 16px; min-height: 48px; }
.emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 4px; }
button.emoji { background: transparent; padding: 0; min-height: 40px; font-size: 24px; line-height: 40px; }
button.emoji:hover { background: var(--sky-soft); }
.prose li > p { margin: 0; }
.writing .editor-box ~ .row { margin-top: 16px; }
.editor-surface .tiptap img { display: block; }
.editor-surface .tiptap iframe { pointer-events: none; }
.editor-status { margin: 8px 0 0; }

/* ---------- Approval and reports ---------- */
.count.inline { position: static; display: inline-block; margin-left: 8px; vertical-align: 2px; }
a.quietlink { color: var(--text); font-size: 16px; }
.card.review { margin-bottom: 24px; }
.card.review h3 { margin-top: 8px; }
.reviewform { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.reviewform .decline { flex: 1 1 320px; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.reviewform .decline label { flex: 1 1 100%; margin: 0; }
.reviewform .decline input { flex: 1 1 200px; margin: 0; }
fieldset.choices { border: 0; padding: 0; margin: 0 0 16px; }
fieldset.choices legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
label.choice { display: flex; gap: 12px; align-items: center; font-weight: 400; margin: 0; min-height: 48px; }
label.choice input { width: 24px; height: 24px; margin: 0; flex: none; }
ul.plainlist { list-style: none; padding: 0; margin: 16px 0; }
ul.plainlist li { margin-bottom: 8px; }

/* ---------- Questions for office hours ---------- */
.questions { margin-top: 32px; }
ul.qlist { list-style: none; padding: 0; margin: 24px 0 0; }
ul.qlist li { padding: 16px 0; border-top: 1px solid var(--line); }
ul.qlist .qbody { font-size: 19px; line-height: 28px; margin: 4px 0 8px; overflow-wrap: break-word; }
ul.qlist.team .reviewform { border-top: 0; padding-top: 0; margin-top: 8px; }

/* ---------- Pulse ---------- */
table.pulse th[scope="row"] { text-align: left; font-weight: 400; }
table.pulse td.num, table.pulse thead th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
table.pulse td.num { font-weight: 700; }
table.pulse td.num .meta { font-weight: 400; }
.chart { margin: 24px 0; }
.chart figcaption { font-weight: 700; margin-bottom: 8px; }
.chart svg { display: block; width: 100%; height: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.chart .bar { fill: var(--ocean); }
.chart g:hover .bar { fill: var(--ocean-dk); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { stroke: var(--tan); stroke-width: 1; }
.chart .tick { font-family: var(--body); font-size: 12px; fill: var(--text); }
details.daytable { margin: 16px 0 32px; }
details.daytable summary { cursor: pointer; color: var(--ocean-dk); text-decoration: underline; min-height: 48px; display: flex; align-items: center; }

/* ---------- The invitation to write, at the top of a discussion room ---------- */
a.invite { display: flex; align-items: center; gap: 16px; padding: 16px; margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); }
a.invite:hover, a.invite:focus-visible { border-color: var(--ocean); box-shadow: 0 0 0 2px var(--sky); }
a.invite .face { flex: none; }
a.invite .invite-words { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
a.invite strong { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 32px; color: var(--ocean-dk); }
a.invite .desc { font-size: 16px; line-height: 24px; }
a.invite .btn { flex: none; }
@media (max-width: 560px) { a.invite .btn { display: none; } a.invite strong { font-size: 21px; line-height: 28px; } }

/* ---------- Team: the Library ---------- */
ul.shelflist { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
ul.shelflist li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
ul.shelflist .shelfhead { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
ul.shelflist .shelfhead a { font-size: 19px; line-height: 28px; }
form.mover { display: flex; gap: 16px; flex: none; }
form.mover button:disabled { color: var(--line); text-decoration: none; cursor: default; }

/* ---------- Revision history ---------- */
ul.history { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--line); }
ul.history li a { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
ul.history li a:hover strong { text-decoration: underline; }
ul.history strong { color: var(--ocean-dk); }
ins.diff { background: var(--celery); color: var(--ink); text-decoration: none; border-radius: 2px; padding: 0 2px; }
del.diff { background: #F3D9D2; color: var(--ink); text-decoration: line-through; border-radius: 2px; padding: 0 2px; }
.changes p { margin: 0 0 12px; padding-left: 12px; border-left: 4px solid transparent; }
.changes p.change-added { border-left-color: var(--green); }
.changes p.change-removed { border-left-color: #B5452C; }
.changes p.change-changed { border-left-color: var(--tan); }

/* ---------- Team: lessons ---------- */
section.outline { margin: 32px 0; }
section.outline .headrow { margin-bottom: 8px; }
iframe.player { border: 0; height: auto; }

/* ---------- Lessons in order, and quizzes ---------- */
.lessons li.locked .lockedrow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text); opacity: .7; flex-wrap: wrap; }
.lessons li.locked .name { flex: 1 1 200px; }
.card.quiz { margin-top: 32px; }
.card.quiz fieldset.choices { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.card.quiz fieldset.choices.wrong { background: #FBEDEA; box-shadow: inset 4px 0 0 #B5452C; }
button:disabled { opacity: .5; cursor: not-allowed; }
details.quizbuilder { margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 0 16px 16px; background: #fff; }
details.quizbuilder summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; }
fieldset.quizq { border: 0; border-top: 1px solid var(--line); padding: 16px 0 0; margin: 16px 0 0; }
fieldset.quizq legend { font-weight: 700; padding: 0; }
fieldset.quizq > input { margin-bottom: 8px; }
.quizo { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.quizo input[type=radio] { width: 24px; height: 24px; flex: none; margin: 0; }
.quizo input[type=text] { margin: 0; flex: 1 1 auto; }

/* ---------- Certificates ---------- */
.certificate { background: #fff; padding: 24px; max-width: 880px; margin: 0 auto; border: 1px solid var(--line); }
.cert-frame { border: 2px solid var(--ocean); outline: 1px solid var(--line); outline-offset: -10px; padding: 48px 56px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.certificate p { margin: 0; }
.cert-logo { display: block; height: 72px; width: auto; }
.cert-kind { font-family: var(--display); font-size: 40px; line-height: 48px; color: var(--ocean-dk); margin-top: 32px !important; }
.cert-tan { display: block; width: 64px; border-top: 1px solid var(--tan); margin: 16px 0; }
.cert-line { font-size: 16px; line-height: 24px; color: var(--text); }
.cert-name { font-family: var(--display); font-size: 48px; line-height: 56px; color: var(--ink); max-width: 720px; margin-top: 24px !important; overflow-wrap: break-word; }
.cert-name span { display: inline-block; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.cert-name.mid { font-size: 40px; line-height: 48px; }
.cert-name.long { font-size: 32px; line-height: 40px; }
.cert-name + .cert-line { margin: 24px 0 !important; }
.cert-title { font-family: var(--display); font-size: 28px; line-height: 36px; color: var(--ocean); max-width: 640px; overflow-wrap: break-word; }
.cert-title.long { font-size: 24px; line-height: 32px; }
.cert-ran { font-size: 14px; line-height: 20px; color: var(--text); max-width: 720px; margin-top: 16px !important; }
.cert-fine { font-size: 12px; line-height: 16px; color: var(--text); margin-top: 24px !important; }
.cert-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: 100%; margin-top: 56px; }
.cert-sign, .cert-when { flex: 1 1 0; display: flex; flex-direction: column; min-width: 0; }
.cert-sign { text-align: left; }
.cert-when { text-align: right; }
.cert-sigbox { display: block; height: 56px; }
.cert-signature { display: block; max-height: 56px; max-width: 224px; width: auto; height: auto; margin-bottom: -4px; position: relative; top: 4px; }
.cert-rule { display: block; width: 224px; max-width: 100%; border-top: 1px solid var(--ink); margin-bottom: 8px; }
.cert-signer { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); }
.cert-seal { display: block; width: 96px; height: auto; flex: none; }
.cert-label { font-size: 12px; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--ocean); font-weight: 700; }
.cert-date { font-size: 14px; line-height: 20px; color: var(--text); }
.cert-small { font-size: 12px; line-height: 16px; color: var(--text); }
.cert-sign .cert-small { font-size: 14px; line-height: 20px; }
img.sigpreview { max-height: 80px; max-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.note.certnote { border-left-color: var(--green); background: var(--celery); }
.certmark { display: inline-block; }
@media (max-width: 640px) {
  .certificate { padding: 12px; } .cert-frame { padding: 32px 20px 24px; }
  .cert-kind { font-size: 28px; line-height: 36px; margin-top: 24px !important; }
  .cert-name, .cert-name.mid { font-size: 32px; line-height: 40px; } .cert-name.long { font-size: 26px; line-height: 32px; }
  .cert-title, .cert-title.long { font-size: 22px; line-height: 28px; }
  .cert-foot { flex-direction: column; align-items: center; gap: 24px; margin-top: 40px; }
  .cert-sign, .cert-when { text-align: center; align-items: center; flex: none; width: 100%; }
}
@media print {
  @page { size: landscape; margin: 0; }
  .testbar, header.top, .noprint, .crumbs { display: none !important; }
  html, body, main { background: #fff !important; margin: 0 !important; padding: 0 !important; max-width: none !important; }
  .certificate { max-width: none; border: 0; padding: 10mm; height: 100vh; box-sizing: border-box; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .cert-frame { height: 100%; box-sizing: border-box; padding: 12mm 18mm 10mm; justify-content: center; }
  .cert-foot { margin-top: auto; padding-top: 8mm; }
  .cert-logo { margin-bottom: auto; }
  .cert-fine { margin-top: 6mm !important; }
}
@media (max-width: 560px) { .brand-name { font-size: 18px; line-height: 20px; } .brand img { width: 32px; height: 34px; } }

/* A poll on a post */
.poll { margin: 24px 0; }
.poll h2 { margin-top: 0; }
.poll .meta { margin: 16px 0 0; }
.poll form.inline { display: block; margin-top: 8px; }
.poll-results { list-style: none; padding: 0; margin: 0 0 16px; }
.poll-results li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin-bottom: 12px; }
.poll-results li.mine .poll-label { font-weight: 700; }
.poll-label { overflow-wrap: anywhere; }
.poll-count { color: var(--text); white-space: nowrap; }
.poll-bar { grid-column: 1 / -1; height: 12px; background: var(--sky-soft); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.poll-bar span { display: block; height: 100%; background: var(--ocean); }
.pollform { margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.pollform summary { cursor: pointer; font-weight: 700; color: var(--ocean-dk); }
