/* ============================================================
   DevynHub · pages — page-level composition
   Breakpoints: sm ≤480 · md ≤760 · lg ≤1080 · xl ≥1180
   ============================================================ */

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app main { flex: 1; }

/* SSR views: hidden is controlled by the browser attribute, not JS-only CSS */
.view[hidden] { display: none !important; }

/* ---------- public home ---------- */

.home {
  position: relative;
}

.home .section--rail {
  padding-top: 76px;
}

.home .section--rail + .section {
  padding-top: 0;
}

.home__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head__aside {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- shared page header ---------- */

.page-head {
  padding-block: 56px 44px;
}

.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

/* ---------- empty / status blocks ---------- */

.empty-state {
  padding: 56px 24px;
  border: 1px dashed var(--line);
  background: var(--paper-card);
  text-align: center;
  color: rgba(15, 44, 56, .55);
  font-size: 13px;
}

/* ---------- word cloud page ---------- */

.cloud {
  margin-top: 32px;
}

.cloud-pager {
  margin-top: 36px;
}

/* ---------- auth pages (T09) ---------- */

.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px var(--pad);
}

.auth__card {
  width: 100%;
  max-width: 404px;
  padding: 36px 32px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}

.auth__brand { margin-bottom: 32px; }

.auth__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.auth__form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.auth__field { display: grid; gap: 8px; }

.auth__field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-mute);
}

.auth__field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper-card);
  font-size: 13px;
}

.auth__field input:focus { border-color: var(--mist); }
.auth__submit { width: 100%; margin-top: 4px; }

.auth__error {
  margin-top: 16px;
  padding: 10px 12px;
  border-left: 2px solid var(--bad);
  background: rgba(166, 86, 74, .07);
  color: var(--bad);
  font-size: 12px;
  line-height: 1.6;
}

.auth__error[hidden] { display: none; }
.auth__back { margin-top: 24px; font-size: 12px; }

.auth__card--wide { max-width: 560px; }

.auth-tabs {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.auth-tab {
  position: relative;
  min-height: 46px;
  padding: 0;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--text-mute);
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.auth-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
}

.auth-tab:hover,
.auth-tab.is-active { color: var(--ink); }
.auth-tab.is-active { font-weight: 600; }
.auth-tab.is-active::after { transform: scaleX(1); }
.auth-tab:focus-visible { outline: 2px solid var(--mist); outline-offset: 2px; }
.auth__card [role="tabpanel"][hidden] { display: none; }

.auth__section-title {
  margin: 24px 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.auth__hint {
  margin: 0;
  color: var(--text-mute);
  font-size: 12px;
  line-height: 1.6;
}

.auth__send { justify-self: start; }

.auth__status {
  margin: 0;
  padding: 10px 12px;
  border-left: 2px solid var(--ok);
  background: rgba(79, 122, 92, .07);
  color: var(--ok);
  font-size: 12px;
  line-height: 1.6;
}

.auth__status[hidden] { display: none; }
.auth__register-link { margin-top: 24px; }

@media (max-width: 760px) {
  .auth { padding-block: 28px; }
  .auth__field input { font-size: 16px; }
  .auth-tabs { gap: 18px; }
}

@media (pointer: coarse) {
  .auth-tab,
  .auth__send,
  .auth__submit { min-height: 44px; }
}

/* ============================================================
   xl ≥1180
   ============================================================ */

@media (min-width: 1180px) {
  .home .container { padding-inline: 48px; }
  .cloud { min-height: 460px; }
}

/* ============================================================
   lg ≤1080
   ============================================================ */

@media (max-width: 1080px) {
  .page-head__grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
  .home .section--rail { padding-top: 64px; }
  .home__split { gap: 24px; }

  /* stacked hero: never span the 12-col placement inside a 1-col grid */
  .hero__copy { grid-column: 1 / -1; }
  .hero__card {
    grid-column: 1 / -1;
    margin-bottom: 0;
    max-width: 440px;
  }
}

/* ============================================================
   md ≤760
   ============================================================ */

@media (max-width: 760px) {
  .page-head { padding-block: 36px 28px; }
  .page-head__grid { grid-template-columns: 1fr; gap: 24px; }
  .home__split { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-head__aside { width: 100%; justify-content: space-between; }

  .hero__card { max-width: none; margin-top: 36px; }
}

/* ============================================================
   sm ≤480
   ============================================================ */

@media (max-width: 480px) {
  .home .section--rail { padding-top: 48px; }
  .auth__card { padding: 28px 20px; }
  .empty-state { padding: 40px 16px; }
}

/* ---------- products & search (T08) ---------- */

.product-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 4px 0 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-cats a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(15, 44, 56, .55);
}

.product-cats a:hover { color: var(--ink); }

.product-group { margin-top: 40px; }

.product-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.product-group__count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(15, 44, 56, .5);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 132px;
  min-width: 0;
  padding: 18px 20px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--mist);
  transition: transform .28s var(--ease), border-color .25s var(--ease);
}

.product-card:hover { transform: translateY(-2px); border-top-color: var(--ink); }

.product-card__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.product-card__desc {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(15, 44, 56, .58);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .05em;
  color: rgba(15, 44, 56, .5);
}

.search-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  max-width: 520px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--paper-card);
  font-size: 13px;
  color: var(--ink);
}

.search-form input:focus { outline: 2px solid var(--mist); outline-offset: 1px; }

.search-hint, .search-meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: rgba(15, 44, 56, .5);
}

.search-meta { margin: 0 0 8px; }

.search-section { margin-top: 40px; }

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
}

.pager__link {
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.pager__link:hover { border-color: var(--ink); }

.pager__status { color: rgba(15, 44, 56, .45); }

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-form { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---------- activity page (T07) ---------- */

.page-body { padding-bottom: 96px; }

.act > .label { margin-bottom: 10px; }

.act .cover { margin-bottom: 18px; }

@media (max-width: 760px) {
  .act > .label { margin-bottom: 8px; }
  .act .cover { margin-bottom: 14px; }
}

/* ---------- community layout (T06) ---------- */

.community {
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  gap: 48px;
}

.side-link__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(15, 44, 56, .4);
}

.feed-more {
  display: flex;
  justify-content: center;
  padding: 28px 0 0;
}

.side-card {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper-card);
}

.side-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.side-card__link {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(15, 44, 56, .68);
}

.side-card__link:hover { color: var(--ink); }

.notice__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  background: var(--clay);
  vertical-align: middle;
}

.tool-list + .tool-list,
.home__split > div > .label + .tool-list { margin-top: 12px; }

.home__split > div > .label { margin-bottom: 12px; }

@media (max-width: 1180px) {
  .community { grid-template-columns: 200px minmax(0, 1fr) 250px; gap: 36px; }
}

@media (max-width: 1080px) {
  .community { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .community > aside:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .community { grid-template-columns: 1fr; gap: 36px; }
  .community > aside:last-child { grid-column: auto; }
}

/* ---------------- post detail ---------------- */

.postdetail {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.postdetail__back { font-size: 12px; }

.postdetail__banner {
  margin-top: 20px;
  padding: 10px 14px;
  border-left: 2px solid var(--clay);
  background: rgba(181, 97, 46, .08);
  font-size: 12px;
  color: var(--clay);
}

.postdetail__head { margin-top: 28px; }

.postdetail__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-mute);
}

.postdetail__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.03em;
}

.postdetail__stats {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}

.postdetail__lang {
  margin-top: 28px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  font-size: 12px;
  color: var(--text-mute);
}

.postdetail__body {
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(15, 44, 56, .86);
}

.postdetail__body h1,
.postdetail__body h2,
.postdetail__body h3,
.postdetail__body h4 {
  margin: 36px 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.postdetail__body p { margin: 0 0 18px; }
.postdetail__body ul,
.postdetail__body ol { margin: 0 0 18px; padding-left: 22px; }
.postdetail__body li { margin-bottom: 6px; }

.postdetail__body blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--line-strong);
  color: var(--text-mute);
}

.postdetail__body pre {
  margin: 0 0 18px;
  padding: 16px;
  overflow-x: auto;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
}

.postdetail__body code {
  font-family: var(--font-mono);
  font-size: .92em;
}

.postdetail__body :not(pre) > code {
  padding: 2px 5px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.postdetail__body img { max-width: 100%; height: auto; }

.postdetail__body a {
  color: var(--clay);
  border-bottom: 1px solid rgba(181, 97, 46, .35);
}

.postdetail__tags { margin-top: 28px; }

.postdetail__actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.postdetail__favorite.is-active { border-color: var(--clay); color: var(--clay); }
.postdetail__count { margin-left: 6px; font-family: var(--font-mono); font-size: 11px; }

.postdetail__error {
  margin-top: 16px;
  padding: 10px 12px;
  border-left: 2px solid var(--bad);
  background: rgba(166, 86, 74, .07);
  color: var(--bad);
  font-size: 12px;
}

.postdetail__error[hidden] { display: none; }

.comments {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.comments__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.comments__title span { font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); }

.comments__list { margin-top: 22px; }

.comment { padding: 18px 0; border-bottom: 1px solid var(--line); }

.comment__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.comment__author { font-weight: 500; }
.comment__time { color: var(--text-mute); font-family: var(--font-mono); font-size: 11px; }

.comment__body {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15, 44, 56, .84);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.comments__empty { padding: 20px 0; color: var(--text-mute); font-size: 13px; }
.comments__login { margin-top: 20px; font-size: 13px; }

.commentform { display: grid; gap: 12px; margin-top: 24px; }

.commentform textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper-card);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  resize: vertical;
}

.commentform textarea:focus { border-color: var(--mist); }
.commentform .btn { justify-self: start; }



/* ---------------- admin moderation (T11) ---------------- */

.moderation {
  align-self: start;
  justify-self: center;
  width: 100%;
  max-width: 1040px;
  display: grid;
  gap: 20px;
  text-align: left;
}

.moderation__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.moderation__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.moderation__subtitle {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mute);
}

.moderation__back { font-size: 12px; flex: none; }

.moderation__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.moderation__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--text-mute);
  font-size: 13px;
  cursor: pointer;
}

.moderation__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.moderation__count {
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.moderation__panel {
  background: var(--paper-card);
  border: 1px solid var(--line);
}

.moderation__panel[hidden] { display: none; }

.moderation__list { margin: 0; padding: 0; list-style: none; }

.moderation__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.moderation__item:last-child { border-bottom: 0; }

.moderation__body { flex: 1; min-width: 0; }

.moderation__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}

.moderation__name {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.moderation__excerpt {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mute);
}

.moderation__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.moderation__tags li {
  padding: 2px 8px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
}

.moderation__actions {
  display: flex;
  flex-wrap: wrap;
  flex: none;
  gap: 8px;
}

.moderation__empty {
  padding: 48px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}

.moderation__error {
  padding: 10px 12px;
  border-left: 2px solid var(--bad);
  background: rgba(166, 86, 74, .07);
  color: var(--bad);
  font-size: 12px;
  line-height: 1.6;
}

.moderation__error[hidden] { display: none; }

.moderation__dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: var(--paper-card);
  box-shadow: var(--shadow-2);
}

.moderation__dialog::backdrop { background: rgba(15, 44, 56, .32); }

.moderation__dialog-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.moderation__label {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}

.moderation__textarea {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font: inherit;
  font-size: 13px;
  resize: vertical;
}

.moderation__textarea:focus {
  border-color: var(--mist);
  outline: none;
}

.moderation__dialog .moderation__error { margin-top: 12px; }

.moderation__dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 760px) {
  .moderation__head { flex-direction: column; }
  .moderation__item { flex-direction: column; gap: 14px; }
  .moderation__actions { width: 100%; }
}

/* Knowledge moderation: owner list, full detail and immutable history. */
.moderation__toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}

.moderation__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
  font-size: 12px;
}

.moderation__loading {
  padding: 32px 20px;
  color: var(--text-mute);
  font-size: 12px;
  text-align: center;
}

.moderation__loading[hidden],
.moderation__empty[hidden],
.moderation__success[hidden],
.moderation__detail-actions [hidden],
.moderation__review-note[hidden] {
  display: none;
}

.moderation__pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 11px;
}

.moderation__success {
  padding: 10px 12px;
  border-left: 2px solid var(--ok);
  background: rgba(79, 122, 92, .08);
  color: var(--ok);
  font-size: 12px;
}

.moderation__status {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.moderation__status--pending { color: var(--warn); background: rgba(154, 111, 44, .12); }
.moderation__status--approved { color: var(--ok); background: rgba(79, 122, 92, .12); }
.moderation__status--rejected { color: var(--bad); background: rgba(166, 86, 74, .12); }
.moderation__status--idle { color: var(--text-mute); background: rgba(15, 44, 56, .07); }

.moderation__dialog--wide {
  width: min(860px, calc(100vw - 32px));
  max-height: 90vh;
  overflow: auto;
}

.moderation__dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.moderation__dialog-head .moderation__dialog-title {
  overflow-wrap: anywhere;
}

.moderation__detail-meta {
  margin-top: 18px;
}

.moderation__review-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 2px solid var(--bad);
  background: rgba(166, 86, 74, .07);
  color: var(--bad);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.moderation__review-note strong {
  display: block;
  margin-bottom: 4px;
}

.moderation__detail-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 18px 0;
}

.moderation__detail-fields div { min-width: 0; }

.moderation__detail-fields dt {
  margin-bottom: 4px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 10px;
}

.moderation__detail-fields dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.moderation__section-title {
  margin: 20px 0 8px;
  font-size: 13px;
  font-weight: 600;
}

.moderation__content {
  max-height: 380px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--line);
  background: rgba(15, 44, 56, .035);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.moderation__detail-actions {
  justify-content: flex-start;
}

.moderation__history {
  margin-top: 24px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.moderation__history-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.moderation__history-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.moderation__history-transition,
.moderation__history-note {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.moderation__history-note {
  color: var(--text-mute);
  white-space: pre-wrap;
}

.moderation__empty--small { padding: 24px 12px; }
.moderation__history .moderation__pagination { padding-right: 0; padding-left: 0; }
.moderation__error .btn { margin-left: 10px; }

@media (max-width: 760px) {
  .moderation__tabs { overflow-x: auto; }
  .moderation__tab { flex: 0 0 auto; padding-right: 12px; padding-left: 12px; }
  .moderation__toolbar { justify-content: stretch; }
  .moderation__filter { width: 100%; justify-content: space-between; }
  .moderation__detail-fields { grid-template-columns: 1fr; }
  .moderation__dialog-head { flex-direction: column; }
  .moderation__dialog--wide { padding: 18px; }
}

.note {
  max-width: 760px;
  margin: 72px auto 96px;
  line-height: 1.95;
}
.note h1 { margin: 10px 0 14px; }
.note .lede { margin-bottom: 36px; }
.note p { margin: 0 0 18px; }
.note__sign { margin-top: 40px; color: var(--muted); }
