:root {
  color-scheme: light;
  --ink: #1b2e2a;
  --muted: #536861;
  --green: #174f43;
  --pine: #123f35;
  --leaf: #dfecdf;
  --lime: #d8e8ac;
  --line: #d7dfd5;
  --paper: #f5f6f0;
  --white: #fff;
  --amber: #9a572f;
  --radius: 14px;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  font: 100%/1.6 "DM Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden], .hidden { display: none !important; }
html { min-height: 100%; scroll-padding-top: 5.2rem; }
body { min-width: 0; margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--green); text-underline-offset: .22em; }
h1, h2, h3, h4, p, figure { margin: 0; }
p + p { margin-top: .68em; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .58; }
button, input, textarea, select { -webkit-appearance: none; appearance: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #b68436; outline-offset: 3px; }
::selection { color: #09392f; background: #d8e9b8; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  margin: -1px;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
#topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,252,.97);
}
.top-inner, .wrap {
  width: min(100% - 36px, 1080px);
  margin-inline: auto;
}
.top-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.wrap { padding-block: 1.25rem 4rem; }
.brand, a.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  border: 0;
  padding: 0;
  color: var(--pine);
  background: transparent;
  font-weight: 750;
  line-height: 1.18;
  text-decoration: none;
  text-align: left;
}
.brand small { display: block; }
.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px 12px 12px 3px;
  color: #fff;
  background: var(--pine);
  font: 600 1.4rem/1 var(--serif);
}
.brand strong { font-size: 1.32rem; letter-spacing: .05em; }
.brand-sub { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; letter-spacing: .08em; }
.nav, .button-row, .hero-meta, .card-top, .card-foot, .vote-buttons, .actions, .tabs, .pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}
.nav { justify-content: flex-end; gap: .3rem; }
.nav-btn, .flat, .back, .tabs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 40px;
  padding: .43rem .68rem;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.nav-btn.active, .nav-btn[aria-current="page"], .tabs-btn.active, .tabs-btn[aria-selected="true"] {
  color: var(--green);
  background: var(--leaf);
}
.flat, .back { padding-inline: .15rem; color: var(--green); }
.avatar {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #c9d6c9;
  border-radius: 50%;
  color: var(--green);
  background: #e7eee3;
  font-size: .92rem;
  font-weight: 700;
}
.icon { display: inline-block; flex: 0 0 auto; width: 1.17em; height: 1.17em; vertical-align: -.17em; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 182px;
  padding: 1.45rem 1.35rem;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(105deg,#123c32 4%,#185142 68%,#26664f);
}
.hero-copy { position: relative; z-index: 2; max-width: 72%; }
.eyebrow { color: #466b5f; font-size: .82rem; line-height: 1.4; font-weight: 670; letter-spacing: .055em; }
.hero .eyebrow { color: #d6e9c8; }
.hero h1, .hero-title {
  margin: .35rem 0;
  color: inherit;
  font: 650 clamp(1.95rem, 6.7vw, 3.2rem)/1.22 var(--serif);
  letter-spacing: -.038em;
}
.hero p, .hero .meta, .hero-meta { color: #e4eee4; font-size: .88rem; }
.hero-meta { margin-top: .8rem; }
.hero-stat { display: inline-flex; align-items: baseline; gap: .28rem; }
.hero-stat strong { color: #fff; font-size: 1.1rem; }
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 43%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-art::before, .hero-art::after {
  content: "";
  position: absolute;
  width: 168%;
  height: 180%;
  right: -41%;
  top: 5%;
  border-radius: 46%;
  transform: rotate(-14deg);
  background: repeating-radial-gradient(ellipse at 57% 79%,transparent 0 13px,rgba(220,238,180,.32) 13.4px 14.1px,transparent 14.5px 22px);
  mask-image: linear-gradient(to left,#000 40%,transparent 98%);
}
.hero-art::after {
  top: 5%;
  right: -86%;
  width: 150%;
  height: 160%;
  opacity: .66;
  transform: rotate(20deg);
  background: repeating-radial-gradient(ellipse at 53% 77%,transparent 0 12px,rgba(218,240,189,.32) 12.5px 13.2px,transparent 13.6px 20px);
}
.hero .primary { background: var(--lime); color: #123f35; border-color: var(--lime); }
.hero .secondary { color: #fff; background: transparent; border-color: #779e8d; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: 1.7rem 0 .85rem; }
.section-head h1, .section-head h2, .panel > h2, .vote-box > h2 {
  color: var(--ink);
  font: 650 clamp(1.35rem, 4.4vw, 1.78rem)/1.35 var(--serif);
  letter-spacing: -.035em;
}
.section-head h3, .panel h3 { font-size: 1.02rem; font-weight: 710; }
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; margin-bottom: .85rem; }
.pills { gap: .36rem; }
.pill, .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .36rem;
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
}
.pill {
  min-height: 37px;
  padding: .38rem .76rem;
  border: 1px solid #d4ded4;
  border-radius: 50px;
  color: #38564c;
  background: #fdfefa;
}
.pill.active, .pill[aria-pressed="true"] { color: #fff; border-color: var(--green); background: var(--green); }
.search { min-width: 0; flex: 1 1 170px; max-width: 288px; }
.badge { padding: .32rem .58rem; border-radius: 5px; color: #315849; background: #e7eee2; }
.card:nth-child(3n + 2) .badge { color: #745835; background: #f4ecdc; }
.card:nth-child(3n) .badge { color: #3c6076; background: #e6eef2; }
.meta, .tiny { color: var(--muted); font-size: .87rem; line-height: 1.6; }
.tiny { font-size: .8rem; }
.primary, .secondary, .action-button, .vote-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  padding: .58rem .95rem;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 650;
  font-size: .95rem;
  text-decoration: none;
  line-height: 1.45;
}
.secondary, .action-button, .vote-buttons button { color: var(--green); background: #fff; border-color: #bdd0c1; }
.vote-buttons button.active, .vote-buttons button[aria-pressed="true"], .action-button.active, .action-button[aria-pressed="true"] {
  background: var(--green); border-color: var(--green); color: #fff;
}
.actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; margin-block: 1rem; }
.actions > * { min-width: 0; }
.action-button { padding-inline: .28rem; }
.grid { display: grid; grid-template-columns: minmax(0,1fr); gap: .75rem; }
.card, .panel, .vote-box, .empty {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  text-align: start;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card-top { justify-content: space-between; gap: .45rem; }
.card-title { margin: .8rem 0 .45rem; font: 650 1.34rem/1.4 var(--serif); letter-spacing: -.025em; overflow-wrap: anywhere; }
.card-title a { color: inherit; text-decoration: none; }
.card-text {
  display: -webkit-box;
  flex-grow: 1;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: #4c6159;
  font-size: .94rem;
  line-height: 1.65;
}
.card-foot { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid #e7eae2; color: var(--muted); font-size: .8rem; }
.card-foot > :last-child:not(:first-child) { margin-inline-start: auto; }
.panel, .vote-box, .empty { padding: 1.12rem; }
.panel + .panel, .panel + .vote-box, .vote-box + .panel, .comment + .comment { margin-top: .85rem; }
.panel .section-head:first-child, .vote-box .section-head:first-child { margin-top: 0; }
.empty { display: grid; justify-items: center; gap: .7rem; text-align: center; border-style: dashed; padding-block: 2.2rem; }
.empty p, .empty .meta { max-width: 38rem; color: var(--muted); }
.detail-heading { margin-block: .7rem 1.05rem; }
.detail-heading h1, h1.detail-heading {
  margin-block: .45rem;
  color: var(--ink);
  font: 650 clamp(1.75rem, 6vw, 2.75rem)/1.34 var(--serif);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.detail-body, .comment p { color: #273e36; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.78; }
.vote-box { background: #edf3e9; border-color: #d8e4d6; }
.vote-box .meter, .meter { height: 7px; overflow: hidden; border-radius: 10px; background: #d6e1d2; margin-block: .7rem; }
.meter > * { display: block; height: 100%; background: #428168; border-radius: inherit; }
.vote-buttons { margin-block: .85rem 0; }
.comment { padding-block: .8rem; border-bottom: 1px solid var(--line); }
.comment:last-child { border-bottom: 0; }
.comment p { margin-top: .36rem; }
.resource, .file-item {
  display: flex;
  gap: .65rem;
  align-items: center;
  min-width: 0;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf5;
  color: var(--green);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.resource + .resource, .file-item + .file-item { margin-top: .44rem; }
.resource a, .file-item a { overflow-wrap: anywhere; }
.attachments { display: grid; gap: .45rem; margin-block: .65rem; }
.attachments:empty { display: none; }
.stack, .fields { display: grid; gap: 1rem; }
.stack > *, .fields > * { min-width: 0; }
.fields label, label { display: grid; gap: .35rem; color: var(--ink); font-size: .96rem; font-weight: 650; min-width: 0; }
input:not([type="checkbox"]):not([type="radio"]), textarea, select {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid #c7d3c6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.55;
}
input[type="checkbox"], input[type="radio"] { appearance: auto; accent-color: var(--green); }
input[type="file"] { color: var(--muted); font-size: .86rem; }
input::file-selector-button { margin-right: .55rem; padding: .32rem .55rem; border: 0; border-radius: 5px; background: var(--leaf); color: var(--green); }
select {
  padding-right: 2rem;
  background-image: linear-gradient(45deg,transparent 50%,#577066 51%),linear-gradient(135deg,#577066 50%,transparent 51%);
  background-size: 6px 6px;
  background-position: calc(100% - 17px) 50%,calc(100% - 11px) 50%;
  background-repeat: no-repeat;
}
textarea { min-height: 6.2rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid #9ebaac;
  outline-offset: 1px;
  border-color: #457563;
}
input::placeholder, textarea::placeholder { color: #78897d; font-weight: 400; }
.link-row { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.link-row > input, .link-row > label { flex: 1 1 180px; }
.notice, .alert {
  margin-block: .5rem;
  padding: .72rem .85rem;
  border-radius: 6px;
  font-size: .92rem;
  background: #e9f0e5;
  color: #305543;
}
.alert { border-left: 3px solid var(--amber); color: #703b21; background: #f8eee3; }
.tabs { gap: .15rem; margin-block: 1rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(22px,calc(env(safe-area-inset-bottom) + 14px));
  transform: translateX(-50%);
  width: max-content;
  max-width: min(32rem,90vw);
  padding: .6rem .95rem;
  border-radius: 8px;
  color: #fff;
  background: var(--pine);
  box-shadow: 0 4px 16px #193d3528;
  text-align: center;
}
.toast:empty { display: none; }
.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 6;
  display: flex;
  justify-content: space-evenly;
  gap: .28rem;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: .45rem .5rem max(.45rem,env(safe-area-inset-bottom));
}
details { min-width: 0; }
summary { cursor: pointer; color: var(--green); font-weight: 650; }
summary + * { margin-top: .65rem; }
@media (hover:hover) {
  .primary:hover { color: #fff; background: #0e4035; }
  .secondary:hover, .flat:hover, .back:hover, .action-button:hover, .pill:hover, .nav-btn:hover, .tabs-btn:hover { color: var(--pine); background: #e6efe3; }
  a.card:hover, button.card:hover, .card:has(a):hover, .card[tabindex]:hover, .card[data-id]:hover { transform: translateY(-2px); border-color: #9cb5a0; box-shadow: 0 4px 12px #193d350b; }
  .resource:hover, .file-item:hover { border-color: #95b09b; }
}
@media (max-width: 539px) {
  .brand-sub { display: none; }
  .nav-btn { padding-inline: .42rem; min-height: 40px; }
  .toolbar .search { max-width: none; flex-basis: 100%; }
  .wrap { padding-bottom: max(3rem,calc(1rem + env(safe-area-inset-bottom))); }
}
@media (min-width: 650px) {
  .top-inner, .wrap { width: min(100% - 76px,1080px); }
  .top-inner { min-height: 72px; }
  .wrap { padding-top: 1.8rem; }
  .hero { min-height: 210px; border-radius: 19px; padding: 2rem 2.25rem; }
  .hero-copy { max-width: 76%; }
  .hero-art { width: 42%; }
  .hero h1, .hero-title { margin-block: .48rem; }
  .section-head { margin-top: 2.15rem; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; }
  .card { padding: 1.3rem 1.4rem 1.07rem; }
  .card-title { font-size: 1.48rem; }
  .panel, .vote-box { padding: 1.48rem; }
  .primary, .secondary { padding-inline: 1.1rem; }
  .actions { display: flex; }
  .action-button { min-width: 102px; padding-inline: 1rem; }
  .nav { gap: .5rem; }
  .bottom-nav { display: none; }
}
@media (max-width: 365px) {
  .top-inner, .wrap { width: calc(100% - 24px); }
  .nav-btn { font-size: .82rem; padding-inline: .3rem; }
  .hero { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}

.skip-link:focus { position: fixed; z-index: 40; top: .5rem; left: .5rem; width: auto; height: auto; padding: .5rem .8rem; margin: 0; clip: auto; color: #fff; background: var(--pine); }
.avatar { text-decoration: none; }
.hero-new { margin-top: 1.15rem; }
.section-head .search { position: relative; display: flex; align-items: center; flex: 0 1 210px; }
.section-head .search > .icon { position: absolute; left: .72rem; color: #5c7165; pointer-events: none; }
.section-head .search input { min-height: 40px; padding-left: 2.2rem; font-weight: 450; }
.card-top time { font-size: .78rem; color: var(--muted); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--category-color,currentColor); }
.card-foot .meta { display: inline-flex; align-items: center; gap: .32rem; font-size: .82rem; }
.grid > .empty { grid-column: 1/-1; }
.empty-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--green); background: var(--leaf); font-size: 1.2rem; }
.guest-layout { max-width: 860px; margin-inline: auto; }
.guest-hero .hero-meta { display: block; max-width: 23em; }
.invite-row { display: block; text-decoration: none; }
.invite-row h2 { margin: .55rem 0 .4rem; }
.editor { max-width: 780px; margin-inline: auto; }
.editor > h2 { padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.editor .field-label { color: var(--ink); font-weight: 660; font-size: .95rem; }
.editor .editor-links > .field-label { margin-bottom: .5rem; }
.editor .file-item .flat { margin-left: auto; }
.editor .editor-message { margin-top: .85rem; }
.editor .button-row { padding-top: .85rem; border-top: 1px solid var(--line); }
@media (max-width: 460px) {
  .section-head .search { max-width: 52%; }
  .section-head .search input { font-size: 1rem; }
  .editor .link-row { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .editor .link-row input:first-child { grid-column: 1/-1; }
}
@media (min-width: 760px) {
  .guest-layout { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 1.2rem; align-items: stretch; }
  .guest-layout .account-panel { margin: 0; width: auto; }
  .guest-layout .ac-box:last-child { margin-bottom: 0; }
  .guest-hero { align-items: flex-start; min-height: 350px; padding-top: 2.55rem; }
  .guest-hero .hero-copy { max-width: 100%; }
  .guest-hero .hero-art { top: 32%; width: 100%; opacity: .85; }
}

.detail-layout { max-width: 800px; margin-inline: auto; }
.detail-tools { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-bottom: .6rem; }
.detail-tools, .detail-actions { flex-wrap: wrap; }
.detail-actions { display: flex; align-items: center; gap: .75rem; }
.detail-actions .flat { min-height: 44px; }
.detail-main .detail-heading { margin-top: 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.detail-main .detail-heading h1 { margin-block: .72rem .55rem; }
.detail-main > .actions { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.detail-main > details { margin-top: .6rem; }
.topic-materials { margin-top: 1.1rem; }
.topic-materials h3 { margin-bottom: .4rem; }
.resource + .file-item, .file-item + .resource { margin-top: .44rem; }
a.resource > span, a.file-item > span { display: grid; min-width: 0; flex: 1; gap: .12rem; }
a.resource strong, a.file-item strong { color: var(--ink); font-size: .93rem; line-height: 1.48; }
a.resource small, a.file-item small { color: var(--muted); font-size: .78rem; line-height: 1.45; }
a.resource > .icon:last-child, a.file-item > .icon:last-child { color: #647b6e; }
.file-thumb { width: 52px; height: 52px; flex: 0 0 52px; object-fit: cover; border-radius: 5px; background: var(--leaf); }
.vote-progress {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 7px;
  margin: .95rem 0 .32rem;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  accent-color: #35795a;
  color: #35795a;
  background: #d3e0ce;
}
.vote-progress::-webkit-progress-bar { background: #d3e0ce; border-radius: 20px; }
.vote-progress::-webkit-progress-value { background: #35795a; border-radius: 20px; }
.vote-progress::-moz-progress-bar { background: #35795a; border-radius: 20px; }
.vote-buttons + p { margin-top: .8rem; }
.comment-by { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; font-size: .94rem; }
.comment-by .badge { padding: .22rem .4rem; font-size: .73rem; }
.comment-by time { margin-left: auto; font-size: .77rem; }
.comment > :is(.file-item,.resource):first-of-type { margin-top: .5rem; }
#feedback-editor:not(:empty) { margin-top: .95rem; }
#feedback-editor .editor { background: #f8faf6; }
#reference-list { margin-top: .7rem; }
.lookup { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.lookup > summary, .check-panel > summary, #invite-panel > summary { padding-block: .25rem; }
.lookup summary > .icon, .check-panel summary > .icon, #invite-panel summary > .icon { margin-inline: .2rem .4rem; }
.query-fields { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.25fr); gap: .6rem; }
#check-content { display: grid; gap: .65rem; }
#check-content > .notice { margin: 0; }
#check-content > button { justify-self: start; }
#invite-panel .button-row { margin-block: .75rem; align-items: flex-end; }
#manual-share { margin-bottom: .8rem; }
#manual-share .button-row { margin-top: .65rem; }
#manual-share input { font-size: 1rem; }
#manual-share p:last-child { margin-bottom: 0; }
@media (max-width: 390px) {
  .query-fields { grid-template-columns: 1fr; }
  .comment-by { column-gap: .35rem; }
}
@media (min-width: 650px) {
  .detail-main { padding: 2rem; }
  .detail-main > .actions > * { min-width: 122px; }
  .detail-main > .detail-body { font-size: 1.03rem; line-height: 1.85; }
}

.card-cover {
  width: 100%;
  height: clamp(106px, 32vw, 160px);
  object-fit: cover;
  object-position: center;
  margin: .12rem 0 .72rem;
  border-radius: 8px;
  background: #e9eee6;
}
.check-panel > summary {
  position: relative;
  display: block;
  padding-right: 1.45rem;
  list-style: none;
  line-height: 1.7;
}
.check-panel > summary::-webkit-details-marker { display: none; }
.check-panel > summary::after {
  content: "";
  position: absolute;
  right: .15rem;
  top: .84rem;
  width: .48rem;
  height: .48rem;
  border: solid #527463;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.check-panel[open] > summary::after { top: 1rem; transform: rotate(225deg); }
.check-panel > summary .badge {
  max-width: 100%;
  padding: .23rem .65rem;
  margin-inline-start: .28rem;
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: .05em;
  border: 1px solid #d5dfcc;
  border-radius: 20px;
  font-size: .77rem;
  background: #edf2e8;
}
.check-panel[open] > summary { border-bottom: 1px solid var(--line); padding-bottom: .8rem; }

.card-top .archive-badge { background: #eeeee8; color: #5d635b; border-color: #d2d5cc; }
.card-top .archive-badge::before { background: #85887b; }
.card-top time { margin-inline-start: auto; }
.activity-note { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; background: #e8f2e8; color: var(--green); padding: 8px 15px; border: 1px solid #cadbcb; border-radius: 9px; }
.activity-note[hidden] { display: none; }
.comment .flat[data-hide] { padding: 5px 0; color: var(--muted); font-size: .83rem; min-height: 36px; }
.comment .flat[data-hide]:hover { color: #914535; }
.vote-box button:disabled { cursor: default; }
.editor .editor-examples .button-row { border-top: 0; padding-top: 0; }

.topic-scene {
  --stage-color: #81422e;
  position: relative;
  width: min(100%, 640px);
  margin: .65rem auto 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf5;
}
.topic-scene[data-theme="library"] { --stage-color: #355952; }
.stage-controls, .stage-switch, .scene-byline { display: flex; align-items: center; }
.stage-controls { justify-content: space-between; gap: .5rem; padding: .45rem .75rem; }
.stage-switch { gap: .15rem; padding: 3px; border-radius: 2rem; background: #ede9df; }
.stage-switch button { min-height: 40px; padding: .35rem 1rem; border: 0; border-radius: 2rem; font-size: .94rem; font-weight: 650; color: #574d41; background: transparent; }
.stage-switch button[aria-pressed="true"] { color: white; background: var(--stage-color); }
.stage-count { color: #61594f; font-size: .88rem; }
.stage-title { position: absolute; bottom: .55rem; left: .8rem; padding: .15rem .6rem; border-radius: .4rem; background: #342e2cde; color: white; font-size: .88rem; }
.scene-byline { gap: .45rem; }
.speaker-avatar { display: inline-flex; width: 2rem; height: 2rem; flex: 0 0 auto; overflow: hidden; border-radius: 50%; }
