body.brand-page .hero {
  width: 100%;
  min-height: 520px;
  margin-left: 0;
  padding-top: 30px;
  padding-bottom: 30px;
}

body.brand-page .hero-copy {
  width: min(500px, 46%);
  margin-left: 18px;
}

body.brand-page h1 {
  font-size: 62px;
}

body.brand-page .lead {
  max-width: 500px;
  font-size: 19px;
  line-height: 1.65;
}

body.brand-page .hero-panel::before {
  background: rgba(255, 255, 255, 0.28);
}

body.brand-page .hero-food-image {
  object-position: center 50%;
}

body.brand-page .phone-preview {
  right: max(32px, calc((100vw - 1280px) / 2));
  width: min(300px, 24vw);
}

body.brand-page .section {
  padding-top: 48px;
  padding-bottom: 48px;
}

body.brand-page #steps {
  width: 100%;
  margin-left: 0;
  padding: 34px max(24px, calc((100% - 1120px) / 2)) 30px;
  background: #f2f9f4;
}

body.brand-page #steps > div:first-child {
  width: 100%;
  max-width: none;
}

body.brand-page #steps {
  display: block;
}

body.brand-page #steps .section-headline {
  max-width: none;
  margin-bottom: 24px;
  text-align: center;
}

body.brand-page #steps .section-headline h2 {
  margin-bottom: 0;
  font-size: 32px;
}

body.brand-page #steps .step-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.brand-page #steps .step-list article {
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 88px;
  padding: 8px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.brand-page #steps .step-list b {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #13845e;
  color: #fff;
}

body.brand-page #steps .step-list span {
  font-size: 16px;
  font-weight: 600;
}

body.brand-page #steps .guide-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid #dfe9e2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.brand-page #steps .guide-card h3,
body.brand-page #steps .guide-card p {
  margin: 0;
}

body.brand-page #steps .guide-card p {
  flex: 1;
}

body.brand-page #steps .guide-card a {
  flex: 0 0 auto;
  min-height: 42px;
}

body.brand-page #features .section-headline {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

body.brand-page #features .section-headline h2 {
  font-size: 32px;
}

body.brand-page #features .feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

body.brand-page #features .feature-grid article {
  min-width: 0;
  padding: 8px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

body.brand-page #features .feature-grid article:last-child {
  border-right: 0;
}

body.brand-page #features .feature-grid article img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

body.brand-page #features .feature-grid h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

body.brand-page #features .feature-grid p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.5;
}

body.brand-page #reports .report-band > div {
  border-radius: 8px;
  box-shadow: none;
}

body.report-page {
  width: 100%;
  overflow-x: clip;
  background: #eef5f0;
}

body.report-page .toolbar {
  width: 100%;
  box-sizing: border-box;
  min-height: 64px;
  padding: 10px max(16px, calc((100vw - 1180px) / 2));
}

body.report-page .actions {
  align-items: center;
}

body.report-page .actions button,
body.report-page .actions select {
  min-height: 40px;
  border: 1px solid #d6e4da;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
}

body.report-page .actions .button-secondary {
  background: #fff;
  color: var(--brand-strong);
}

body.report-page .paper {
  box-sizing: border-box;
  width: min(calc(100% - 32px), 1040px);
  max-width: calc(100% - 32px);
  margin: 20px auto 40px;
  overflow: hidden;
}

body.report-page .hero {
  min-height: 210px;
  padding: 28px 34px;
}

body.report-page .hero p {
  font-size: 14px;
}

body.report-page .hero h1 {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.2;
}

body.report-page .hero span {
  max-width: 680px;
  font-size: 15px;
}

body.report-page .score {
  width: 124px;
  height: 124px;
  border: 5px solid #b7e1ce;
}

body.report-page .summary {
  gap: 10px;
  padding: 20px 30px 4px;
}

body.report-page .summary article {
  min-height: 92px;
  border-radius: 8px;
  background: #f5faf6;
}

body.report-page .summary strong {
  color: var(--brand-strong);
  background: transparent;
  font-variant-numeric: tabular-nums;
}

body.app-page .report-empty-action {
  min-height: 40px;
  margin-top: 12px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

body.app-page #reportContent .report-card > p + p {
  margin-top: 8px;
}

body.app-page .report-trend-empty {
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #f5f8f6;
  color: var(--muted);
  font-size: 13px;
}

body.app-page .exercise-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

body.app-page .exercise-grid button {
  min-width: 0;
  min-height: 54px;
  padding: 8px 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

body.app-page .exercise-grid button.selected,
body.app-page .exercise-duration-options button.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

body.app-page .exercise-duration {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

body.app-page .exercise-duration > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

body.app-page .exercise-duration-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.app-page .exercise-duration-options button {
  min-width: 0;
  min-height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

body.app-page .exercise-estimate-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

body.app-page [hidden] {
  display: none !important;
}

body.report-page .block {
  margin: 16px 30px 0;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

body.report-page .block h2 {
  margin-bottom: 8px;
  color: var(--brand-strong);
  font-size: 21px;
}

body.report-page .block p {
  margin-bottom: 10px;
}

body.report-page #trendBars {
  height: 190px;
  min-height: 190px;
  margin: 18px 0 28px;
  padding: 0 8px;
}

body.report-page #trendBars i {
  flex: 1 1 0;
  width: auto;
  height: var(--bar-height, 8%);
  min-height: 10px;
  border-radius: 5px 5px 0 0;
  background: #42ad83;
  box-shadow: none;
}

body.report-page #trendBars .report-empty {
  display: grid;
  width: 100%;
  min-height: 120px;
  place-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

body.report-page #trendBars.is-empty {
  height: auto;
  min-height: 0;
  margin: 12px 0 0;
  border-bottom: 0;
}

body.report-page #trendBars.is-empty .report-empty {
  min-height: 0;
  padding: 12px 8px;
}

body.report-page #trendBars b {
  color: #40594d;
  font-size: 11px;
}

body.report-page #trendBars small {
  bottom: -24px;
  color: #63766d;
  font-size: 10px;
  white-space: nowrap;
}

body.report-page .recipes {
  gap: 10px;
}

body.report-page .recipes article {
  padding: 16px;
  border-radius: 8px;
  background: #f5faf6;
}

body.report-page .recipes span {
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}

body.report-page .tags span {
  border-radius: 6px;
  background: #fff3ed;
  color: #9c543d;
}

body.report-page .report-status {
  margin: 16px 30px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #edf7f1;
  color: var(--brand-strong);
  font-size: 14px;
}

body.report-page .report-status[data-tone="error"] {
  background: #fff3ed;
  color: #9c543d;
}

body.report-page .report-status[data-tone="success"] {
  background: #edf7f1;
  color: var(--brand-strong);
}

body.report-page .report-retry {
  display: block;
  margin: 8px 30px 0;
  background: #fff;
  color: var(--brand-strong);
}

body.report-page .report-empty-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px 14px;
  border-radius: 8px;
  background: #f5faf6;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

body.report-page [hidden] {
  display: none !important;
}

body.wecom-page {
  width: 100%;
  overflow-x: clip;
  min-height: 100vh;
  background: #fff;
}

body.wecom-page .wecom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

body.wecom-page .wecom-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-strong);
  font-size: 20px;
  text-decoration: none;
}

body.wecom-page .wecom-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

body.wecom-page .wecom-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 56px;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 42px 0 56px;
}

body.wecom-page .wecom-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.wecom-page .wecom-brand {
  gap: 12px;
}

body.wecom-page .wecom-brand .brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #edf7f1;
}

body.wecom-page .wecom-brand .brand-mark img {
  width: 30px;
  height: 30px;
}

body.wecom-page .wecom-card h1 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.25;
}

body.wecom-page .wecom-lead {
  max-width: 530px;
  margin: 24px 0 0;
  color: #40594d;
  font-size: 18px;
  line-height: 1.65;
}

body.wecom-page .wecom-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f2f8f4;
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 650;
}

body.wecom-page .wecom-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

body.wecom-page .wecom-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

body.wecom-page .wecom-actions.is-hidden {
  display: none;
}

body.wecom-page .wecom-button,
body.wecom-page .wecom-service-link {
  min-height: 48px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

body.wecom-page .wecom-button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--brand-strong);
}

body.wecom-page .wecom-features {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

body.wecom-page .wecom-features article {
  display: grid;
  grid-template-columns: 32px 104px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
}

body.wecom-page .wecom-features img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

body.wecom-page .wecom-features strong {
  color: var(--brand-strong);
  font-size: 14px;
}

body.wecom-page .wecom-features span {
  color: var(--muted);
  font-size: 13px;
}

body.wecom-page .wecom-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 8px;
  background: #f2f8f4;
}

body.wecom-page .wecom-service strong {
  color: var(--brand-strong);
  font-size: 14px;
}

body.wecom-page .wecom-service p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

body.wecom-page .wecom-service-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 42px;
  padding: 0 16px;
}

body.wecom-page .wecom-preview {
  min-width: 0;
}

body.wecom-page .wecom-preview img {
  display: block;
  width: 100%;
  max-height: 470px;
  aspect-ratio: 1.2 / 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 48%;
}

body.wecom-page .wecom-preview-note {
  max-width: 520px;
  margin: 18px 0 0;
}

body.wecom-page .wecom-preview-note strong {
  color: var(--brand-strong);
  font-size: 19px;
}

body.wecom-page .wecom-preview-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

body.admin-page .trend-panel.is-empty {
  min-height: 280px;
}

body.admin-page .meal-trend.is-empty {
  display: flex;
  min-height: 176px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 820px) {
  body.brand-page .hero {
    min-height: 500px;
  }

  body.brand-page .hero-copy {
    width: min(500px, 62%);
  }

  body.brand-page .phone-preview {
    right: 22px;
    width: 270px;
  }

  body.wecom-page .wecom-shell {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  body.brand-page .site-header {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  body.brand-page .site-header nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  body.brand-page .site-header nav a {
    padding: 7px 4px;
    font-size: 12px;
  }

  body.brand-page main {
    width: 100%;
  }

  body.brand-page .hero {
    min-height: 505px;
    padding: 36px 18px 28px;
  }

  body.brand-page .hero-copy {
    width: min(100%, 360px);
    margin-left: 0;
  }

  body.brand-page h1 {
    font-size: 42px;
  }

  body.brand-page .lead {
    font-size: 16px;
  }

  body.brand-page .hero-panel::before {
    background: rgba(255, 255, 255, 0.56);
  }

  body.brand-page .phone-preview {
    display: none;
  }

  body.brand-page #steps {
    padding: 30px 18px 24px;
  }

  body.brand-page #steps .section-headline h2,
  body.brand-page #features .section-headline h2 {
    font-size: 25px;
  }

  body.brand-page #steps .step-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body.brand-page #steps .step-list article {
    min-height: 64px;
    padding: 6px 0;
  }

  body.brand-page #steps .step-list span {
    font-size: 15px;
  }

  body.brand-page #steps .guide-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body.brand-page #features {
    padding: 34px 18px;
  }

  body.brand-page #features .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  body.brand-page #features .feature-grid article {
    padding: 4px 10px;
  }

  body.brand-page #features .feature-grid article:nth-child(2n) {
    border-right: 0;
  }

  body.brand-page #features .feature-grid article p {
    font-size: 12px;
  }

  body.brand-page #reports {
    padding: 32px 18px;
  }

  body.brand-page #reports .report-band {
    gap: 8px;
  }

  body.brand-page #reports .report-band > div {
    padding: 16px;
  }

  body.report-page .toolbar {
    gap: 10px;
  }

  body.report-page .actions {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  body.report-page .actions select {
    flex: 0 0 100%;
  }

  body.report-page .actions button {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    max-width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    white-space: normal;
  }

  body.report-page .actions select {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  body.report-page .paper {
    width: min(calc(100% - 20px), 100%);
    max-width: calc(100% - 20px);
    margin: 10px auto 24px;
  }

  body.report-page .hero {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px;
    min-height: 154px;
    padding: 18px;
  }

  body.report-page .hero > div:first-child {
    min-width: 0;
  }

  body.report-page .hero h1,
  body.report-page .hero span,
  body.report-page .block p {
    overflow-wrap: anywhere;
  }

  body.report-page .hero h1 {
    font-size: 22px;
  }

  body.report-page .hero span {
    font-size: 12px;
  }

  body.report-page .score {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-width: 4px;
  }

  body.report-page .score strong {
    font-size: 28px;
  }

  body.report-page .summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 14px 0;
  }

  body.report-page .summary article {
    min-height: 72px;
    padding: 10px;
  }

  body.report-page .summary strong {
    font-size: 18px;
  }

  body.report-page .block {
    margin: 10px 16px 0;
    padding: 16px 0;
  }

  body.report-page .block h2 {
    font-size: 18px;
  }

  body.report-page #trendBars {
    height: 154px;
    min-height: 154px;
    gap: 5px;
    margin-bottom: 26px;
  }

  body.report-page #trendBars b {
    font-size: 9px;
  }

  body.report-page #trendBars small {
    font-size: 9px;
  }

  body.report-page .recipes {
    grid-template-columns: 1fr;
  }

  body.report-page .report-status,
  body.report-page .report-retry {
    margin-right: 16px;
    margin-left: 16px;
  }

  body.wecom-page .wecom-header {
    width: calc(100vw - 32px);
    max-width: 1120px;
    min-height: 60px;
    gap: 12px;
  }

  body.wecom-page .wecom-header > span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.wecom-page .wecom-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    width: calc(100vw - 32px);
    max-width: 1120px;
    min-height: 0;
    padding: 30px 0 40px;
  }

  body.wecom-page .wecom-card,
  body.wecom-page .wecom-preview {
    min-width: 0;
    width: 100%;
  }

  body.wecom-page .wecom-card h1 {
    font-size: 28px;
  }

  body.wecom-page .wecom-lead {
    margin-top: 18px;
    font-size: 16px;
  }

  body.wecom-page .wecom-features article {
    grid-template-columns: 30px 92px minmax(0, 1fr);
    min-height: 52px;
  }

  body.wecom-page .wecom-service {
    align-items: flex-start;
    flex-direction: column;
  }

  body.wecom-page .wecom-service-link {
    width: 100%;
  }

  body.wecom-page .wecom-preview img {
    max-height: 300px;
  }
}

@media print {
  body.report-page .paper {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.report-page .hero,
  body.report-page .block,
  body.report-page .summary {
    break-inside: avoid;
  }

  body.report-page #trendBars {
    print-color-adjust: exact;
  }
}

body.app-page .poll-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border-color: #dce9df;
}

body.app-page .poll-card > strong {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.app-page .poll-tag {
  max-width: min(70%, 240px);
  overflow: hidden;
  text-overflow: ellipsis;
  background: #edf7f1;
  color: #197a5b;
}

body.app-page .poll-status.is-pending {
  background: #fff5e6;
  color: #9b6412;
}

body.app-page .poll-status.is-rejected {
  background: #fff0ee;
  color: #a33e30;
}

body.app-page .poll-meta,
body.app-page .discussion-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

body.app-page .poll-countdown {
  color: #148665;
  font-variant-numeric: tabular-nums;
}

body.app-page .poll-options {
  gap: 8px;
  margin: 0;
}

body.app-page .poll-option-row {
  min-width: 0;
}

body.app-page .poll-option {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #dce9df;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.app-page button.poll-option {
  cursor: pointer;
  text-align: left;
}

body.app-page .poll-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.app-page .poll-choice.selected {
  border-color: #19845f;
  background: #f1f8f3;
  color: #145c45;
}

body.app-page .poll-choice-mark {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid #9eb8a5;
  border-radius: 50%;
}

body.app-page .poll-choice.selected .poll-choice-mark {
  border: 5px solid #16815e;
}

body.app-page .poll-result {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  isolation: isolate;
  overflow: hidden;
}

body.app-page .poll-result::before {
  z-index: -1;
  background: #e3f2e9;
}

body.app-page .poll-result > * {
  position: relative;
}

body.app-page .poll-result b {
  flex: 0 0 auto;
  color: #167356;
  font-size: 13px;
  white-space: nowrap;
}

body.app-page .poll-result small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

body.app-page .poll-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

body.app-page .poll-vote-submit,
body.app-page .poll-tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 72px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #dce9df;
  border-radius: 7px;
  background: #fff;
  color: #255a47;
  font-size: 13px;
  font-weight: 650;
}

body.app-page .poll-vote-submit {
  border-color: #16815e;
  background: #16815e;
  color: #fff;
}

body.app-page .poll-vote-submit:disabled {
  border-color: #e3e9e5;
  background: #f1f4f2;
  color: #79847d;
  cursor: not-allowed;
}

body.app-page .poll-action-feedback,
body.app-page .poll-vote-hint,
body.app-page .poll-review-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.app-page .poll-action-feedback {
  color: #167356;
}

body.app-page .poll-review-note {
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff8eb;
  color: #75551f;
}

body.app-page .poll-hot-comment {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: #f5f8f6;
  color: #5b6e62;
  text-align: left;
  font-size: 12px;
  line-height: 1.5;
}

body.app-page .poll-hot-comment > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.app-page .poll-hot-comment > span:last-child {
  flex: 0 0 auto;
  color: #167356;
}

body.app-page .poll-discussion-sheet {
  z-index: 30;
}

body.app-page .poll-discussion-sheet .sheet-panel {
  display: flex;
  flex-direction: column;
  width: min(100%, 680px);
  max-height: min(90vh, 920px);
  padding: 20px;
}

body.app-page .poll-discussion-sheet .sheet-head {
  flex: 0 0 auto;
  align-items: center;
  border-bottom: 1px solid #e4ece6;
  padding-bottom: 14px;
}

body.app-page .poll-discussion-sheet .sheet-head .kicker {
  margin: 0 0 3px;
  color: #16815e;
  font-size: 10px;
}

body.app-page .poll-discussion-sheet .sheet-head h2 {
  margin: 0;
  font-size: 20px;
}

body.app-page #pollDiscussionContent {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 2px 4px;
}

body.app-page .discussion-topic {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

body.app-page .discussion-topic > span,
body.app-page .discussion-comment-head > div > span {
  color: #16815e;
  font-size: 12px;
}

body.app-page .discussion-topic strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.app-page .discussion-topic small,
body.app-page .discussion-comments-head span {
  color: var(--muted);
  font-size: 12px;
}

body.app-page .poll-comment-form {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid #dce9df;
  border-radius: 7px;
  background: #f7faf8;
}

body.app-page .poll-comment-form > label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

body.app-page .poll-comment-form textarea,
body.app-page .poll-reply-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d6e3d9;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

body.app-page .poll-comment-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.app-page .poll-comment-form small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

body.app-page .poll-comment-form button,
body.app-page .poll-reply-form button,
body.app-page .discussion-empty button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #16815e;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

body.app-page .discussion-message,
body.app-page .discussion-review-note {
  margin: 0;
  color: #167356;
  font-size: 13px;
  line-height: 1.5;
}

body.app-page .discussion-comments {
  display: grid;
  gap: 10px;
}

body.app-page .discussion-comments-head {
  padding-bottom: 6px;
  border-bottom: 1px solid #e4ece6;
}

body.app-page .discussion-comments-head strong {
  color: var(--ink);
  font-size: 15px;
}

body.app-page .discussion-comment {
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid #e8eee9;
}

body.app-page .discussion-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.app-page .discussion-comment-head > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

body.app-page .discussion-comment-head strong {
  color: var(--ink);
  font-size: 14px;
}

body.app-page .discussion-comment-head > button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #dce9df;
  border-radius: 6px;
  background: #fff;
  color: #167356;
  font-size: 13px;
}

body.app-page .discussion-comment > p {
  margin: 9px 0;
  color: #34483d;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body.app-page .discussion-reply-toggle {
  min-height: 30px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #167356;
  font-size: 12px;
}

body.app-page .discussion-comment-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.app-page .discussion-report-button {
  min-height: 30px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #75847b;
  font-size: 12px;
}

body.app-page .discussion-report-button:disabled {
  color: #167356;
  cursor: wait;
}

body.app-page .discussion-reply {
  margin: 8px 0 0 12px;
  padding: 9px 11px;
  border-left: 2px solid #c9e2d1;
  background: #f7faf8;
  color: #51665a;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.app-page .discussion-reply b {
  color: #275b46;
}

body.app-page .poll-reply-form {
  display: flex;
  gap: 8px;
  margin: 9px 0 0 12px;
}

body.app-page .discussion-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 16px 0;
  color: var(--muted);
}

body.app-page .discussion-empty strong {
  color: var(--ink);
}

body.app-page .discussion-empty p {
  margin: 0;
  font-size: 13px;
}

body.app-page .discussion-loading {
  padding: 20px 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  body.app-page .poll-card {
    gap: 10px;
    margin-top: 12px;
    padding: 14px;
  }

  body.app-page .poll-card > strong {
    font-size: 16px;
  }

  body.app-page .poll-tools {
    justify-content: flex-start;
  }

  body.app-page .poll-discussion-sheet {
    padding: 12px;
    align-items: flex-end;
  }

  body.app-page .poll-discussion-sheet .sheet-panel {
    width: 100%;
    max-height: 90dvh;
    padding: 16px;
    border-radius: 10px 10px 0 0;
  }

  body.app-page .poll-comment-form > div {
    align-items: flex-end;
  }

  body.app-page .poll-comment-form small {
    max-width: 220px;
  }
}
