@font-face {
  font-family: Inter;
  src: local("Inter");
  font-display: swap;
}
:root {
  --bg: #f4f5f2;
  --paper: #fff;
  --ink: #1b211d;
  --muted: #68706a;
  --line: #e0e5de;
  --lime: #d2f871;
  --green: #277048;
  --green-soft: #edf5e9;
  --red: #b34743;
  --red-soft: #fff0ed;
  --purple: #67518b;
  --purple-soft: #f1edf8;
  --dark: #1b241e;
  --shadow: 0 16px 48px #1423180a;
  --radius: 18px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button,
select {
  min-height: 42px;
}
button {
  border: 0;
  background: none;
}
button svg,
a svg {
  flex-shrink: 0;
}
svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 750;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.15rem;
}
p {
  margin-bottom: 1rem;
}
small,
.small {
  font-size: 0.8125rem;
}
strong {
  font-weight: 650;
}
::selection {
  background: var(--lime);
  color: #162317;
}
:focus-visible {
  outline: 3px solid #6b9628;
  outline-offset: 4px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--lime);
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.boot {
  padding: 100px;
  text-align: center;
}
.muted {
  color: var(--muted);
}
.flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
.between {
  justify-content: space-between;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.grow {
  flex: 1;
  min-width: 0;
}
.hidden {
  display: none !important;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 750;
  text-transform: uppercase;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  white-space: nowrap;
}
.badge svg {
  width: 13px;
  height: 13px;
}
.badge.neutral {
  color: var(--muted);
  background: var(--bg);
}
.badge.warn {
  background: #fff0d9;
  color: #815114;
}
.badge.purple {
  background: var(--purple-soft);
  color: var(--purple);
}
.dot-sep {
  color: #b1b7b1;
}
.primary,
.secondary,
.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 700;
  min-height: 44px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary {
  background: var(--ink);
  color: #fff;
}
.primary:hover {
  background: #364f3a;
}
.primary.lime {
  background: var(--lime);
  color: #1b2819;
}
.primary.lime:hover {
  background: #c0e75e;
}
.secondary {
  background: var(--paper);
  border: 1px solid var(--line);
}
.secondary:hover {
  background: var(--bg);
}
.danger {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid #eed1cd;
}
.text-button {
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 650;
  padding: 3px 0;
  min-height: 32px;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  padding: 9px;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button:hover {
  background: var(--bg);
}
.wide {
  width: 100%;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.wrap {
  flex-wrap: wrap;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e7ede1;
  color: #49633f;
  font-size: 0.75rem;
  font-weight: 750;
  flex-shrink: 0;
}
.avatar.big {
  width: 64px;
  height: 64px;
  font-size: 1.3rem;
}
.avatar.editorial {
  background: #e6ebe3;
  color: #4c5f47;
}
.pill {
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--bg);
  font-size: 0.75rem;
  color: var(--muted);
}
.topbar {
  height: 82px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.top-inner {
  height: 100%;
  max-width: 1530px;
  padding: 0 36px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  height: 37px;
  width: 37px;
}
.wordmark {
  font-size: 0.9375rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.wordmark > span {
  display: block;
}
.wordmark em {
  font-style: normal;
  color: var(--green);
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 28px;
  height: 100%;
  font-size: 0.875rem;
  font-weight: 600;
}
.top-nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--muted);
}
.top-nav a.active {
  color: var(--ink);
}
.top-nav a.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-picker {
  position: relative;
  width: 142px;
  height: 40px;
  flex: 0 0 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}
.language-picker:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.language-picker select {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 30px 0 11px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 0.8125rem !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  box-shadow: none !important;
}
.gtranslate_engine {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}
.language-picker option {
  background: var(--paper);
  color: var(--ink);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--bg);
  max-width: 255px;
  height: 40px;
  color: var(--muted);
}
.search-box input {
  border: 0;
  background: none;
  outline: 0;
  min-width: 0;
  width: 100%;
  font-size: 0.875rem;
  color: var(--ink);
}
.search-box:focus-within {
  outline: 2px solid var(--green);
}
.search-box kbd {
  font-family: inherit;
  font-size: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 5px;
  background: var(--paper);
}
.mobile-menu {
  display: none;
}
.notice-bar {
  background: #eef2e7;
  color: #4e6146;
  padding: 7px 24px;
  text-align: center;
  font-size: 0.8125rem;
  border-bottom: 1px solid #e2e8d8;
}
.notice-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 9px;
}
.layout {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr) 280px;
  max-width: 1460px;
  gap: 32px;
  margin: 0 auto;
  padding: 34px 36px 70px;
}
.sidebar {
  font-size: 0.875rem;
  align-self: start;
  position: sticky;
  top: 112px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--muted);
  font-weight: 550;
  min-height: 44px;
}
.side-nav a:hover {
  background: #e9eee3;
  color: var(--ink);
}
.side-nav a.active {
  background: #e5edda;
  color: #2b5426;
  font-weight: 700;
}
.side-nav a svg {
  width: 18px;
  height: 18px;
}
.side-label {
  margin: 30px 13px 11px;
  color: #8a928a;
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.side-note {
  padding: 20px 14px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.side-note .flex {
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 8px;
}
.side-note svg {
  color: var(--green);
}
.main {
  min-width: 0;
}
.page-heading {
  margin-bottom: 24px;
}
.page-heading .eyebrow {
  color: var(--green);
  margin: 0 0 8px;
}
.page-heading h1 {
  margin-bottom: 10px;
}
.page-heading p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
}
.page-heading .flex {
  gap: 16px;
}
.page-heading .primary {
  white-space: nowrap;
}
.rail {
  min-width: 0;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  margin-bottom: 20px;
}
.panel h3 {
  margin: 0 0 15px;
}
.panel h3 svg {
  margin-right: 7px;
}
.panel p {
  font-size: 0.875rem;
  color: var(--muted);
}
.mini-label {
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 9px;
}
.panel.dark {
  background: var(--dark);
  color: #fff;
  border: 0;
}
.panel.dark p {
  color: #becabb;
}
.panel.dark .eyebrow {
  color: var(--lime);
}
.panel.dark h3 {
  font-size: 1.6rem;
  line-height: 1.23;
  letter-spacing: -0.035em;
  margin: 12px 0;
}
.panel.dark .primary {
  margin-top: 6px;
}
.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.rule-list li {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
}
.rule-list .n {
  color: var(--green);
  background: var(--green-soft);
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border-radius: 7px;
  flex-shrink: 0;
}
.rule-list strong {
  display: block;
  font-size: 0.8125rem;
}
.rule-list p {
  font-size: 0.8125rem;
  margin: 3px 0 0;
  line-height: 1.5;
}
.rail-footer {
  font-size: 0.75rem;
  color: #7d857e;
  padding: 0 8px;
}
.rail-footer nav {
  display: flex;
  gap: 7px 13px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.rail-footer a:hover {
  text-decoration: underline;
}
.rail-footer p {
  line-height: 1.7;
}
.topic-short {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.topic-short:last-child {
  border: 0;
  padding-bottom: 0;
}
.topic-icon {
  height: 31px;
  width: 31px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #46503f;
}
.topic-icon svg {
  width: 16px;
}
.topic-short > svg {
  margin-left: auto;
  width: 15px;
  color: var(--muted);
}
.featured {
  background: var(--dark);
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 27px;
}
.featured:after {
  content: "";
  position: absolute;
  inset: auto -60px -190px auto;
  width: 310px;
  height: 310px;
  border: 1px solid #657b5759;
  border-radius: 50%;
  pointer-events: none;
}
.featured .eyebrow {
  color: var(--lime);
}
.featured h2 {
  font-size: clamp(1.55rem, 2.1vw, 1.9rem);
  font-weight: 650;
  line-height: 1.25;
  margin: 17px 0 12px;
  max-width: 660px;
  letter-spacing: -0.035em;
}
.featured h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.featured .subtitle {
  color: #bdc9bc;
  font-size: 0.875rem;
  max-width: 600px;
  margin-bottom: 22px;
}
.featured .meta {
  color: #becbb9;
}
.featured .badge {
  color: #d7e3cd;
  background: #ffffff12;
}
.featured .vote-buttons {
  position: relative;
  z-index: 1;
}
.featured .vote {
  background: #ffffff09;
  color: #fff;
  border: 1px solid #65745f;
}
.featured .vote.right {
  color: #d2f871;
  border-color: #93ac62;
}
.featured .vote.wrong {
  color: #ffb3a5;
}
.featured .vote.complicated {
  color: #d6c8ef;
}
.featured .vote:hover {
  background: #ffffff18;
}
.featured .vote.selected {
  background: var(--lime);
  color: #203015;
  border-color: var(--lime);
}
.featured-bottom {
  margin-top: 20px;
  color: #b5c3b0;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.featured-bottom a {
  color: #e3eddf;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.featured-bottom svg {
  width: 15px;
}
.vote-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.vote {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 650;
  border: 1px solid var(--line);
  transition: background 0.15s;
}
.vote.right {
  background: var(--green-soft);
  color: var(--green);
  border-color: #d4e5cc;
}
.vote.wrong {
  background: var(--red-soft);
  color: var(--red);
  border-color: #f0d6d1;
}
.vote.complicated {
  background: var(--purple-soft);
  color: var(--purple);
  border-color: #e3dcec;
}
.vote:hover {
  filter: brightness(0.96);
}
.vote.selected {
  box-shadow: inset 0 0 0 2px currentColor;
}
.vote svg {
  width: 17px;
  height: 17px;
}
.filters {
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 12px 14px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 0;
  min-height: 46px;
}
.filter:first-child {
  padding-left: 0;
  padding-right: 15px;
}
.filter.active {
  border-bottom-color: var(--ink);
  color: var(--ink);
}
.filter svg {
  width: 16px;
  height: 16px;
}
.count-label {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px 24px;
  margin-bottom: 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.card:hover {
  border-color: #c5d2bb;
  box-shadow: 0 5px 18px #14231806;
}
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 0.75rem;
}
.category-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  font-weight: 750;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.card-top .icon-button {
  border: 0;
  height: 32px;
  width: 32px;
  min-height: 32px;
  padding: 5px;
  color: var(--muted);
}
.card h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 9px;
  letter-spacing: -0.025em;
}
.card h2 a:hover {
  color: var(--green);
}
.excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.65;
}
.verdict-bar {
  display: flex;
  gap: 3px;
  height: 5px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
  margin: 16px 0 9px;
}
.verdict-bar span {
  min-width: 0;
}
.bar-right {
  background: #9fc870;
}
.bar-wrong {
  background: #e59080;
}
.bar-complicated {
  background: #b6a4d0;
}
.verdict-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  gap: 12px;
}
.verdict-legend strong {
  color: var(--green);
  font-weight: 650;
}
.card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--muted);
}
.card-footer a,
.card-footer button {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: inherit;
  min-height: 28px;
  padding: 0;
}
.card-footer svg {
  width: 15px;
  height: 15px;
}
.card-footer .read-link {
  margin-left: auto;
  font-weight: 650;
  color: var(--ink);
}
.empty {
  padding: 42px 24px;
  text-align: center;
  border: 1px dashed #c9d5c1;
  border-radius: 14px;
  background: var(--paper);
}
.empty > svg {
  width: 30px;
  height: 30px;
  color: var(--green);
  margin-bottom: 13px;
}
.empty h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.empty p {
  color: var(--muted);
  max-width: 430px;
  margin: 0 auto 20px;
  font-size: 0.9375rem;
}
.load-more {
  width: 100%;
  margin-top: 10px;
}
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.topic-card:hover {
  border-color: #9bab8d;
}
.topic-card .topic-icon {
  width: 44px;
  height: 44px;
}
.topic-card h2 {
  font-size: 1.1rem;
  margin: 0;
}
.topic-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}
.topic-card > svg {
  align-self: flex-end;
  color: var(--green);
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.case-story {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.case-story h1 {
  font-size: clamp(1.9rem, 2.7vw, 2.55rem);
  line-height: 1.18;
  margin: 18px 0 20px;
}
.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.byline strong {
  display: block;
  color: var(--ink);
}
.prose {
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.prose p:last-child {
  margin-bottom: 0;
}
.sample-note {
  font-size: 0.8125rem;
  padding: 12px 15px;
  border-left: 3px solid #b7c89e;
  background: var(--bg);
  color: var(--muted);
  margin: 22px 0;
}
.case-tools {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.case-tools .secondary {
  padding: 7px 12px;
  min-height: 38px;
  font-size: 0.8125rem;
}
.vote-panel {
  margin: 20px 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.vote-panel h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.vote-panel .hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 18px;
}
.vote-panel .verdict-bar {
  height: 9px;
  margin-top: 22px;
}
.verdict-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.verdict-stat {
  font-size: 0.75rem;
  color: var(--muted);
}
.verdict-stat b {
  display: block;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}
.discussion-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 30px 0 12px;
}
.discussion-heading h2 {
  margin: 0;
}
.argument {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
  margin: 14px 0;
}
.argument .body {
  margin: 15px 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.argument-side {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--green);
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--green-soft);
}
.argument-side.wrong {
  color: var(--red);
  background: var(--red-soft);
}
.argument-side.complicated {
  color: var(--purple);
  background: var(--purple-soft);
}
.arg-actions {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.arg-actions button {
  font-size: inherit;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0;
}
.arg-actions svg {
  width: 16px;
  height: 16px;
}
.arg-actions .selected {
  color: var(--green);
}
.reply {
  border-left: 2px solid var(--line);
  padding-left: 15px;
  margin: 20px 0 0;
}
.source {
  font-size: 0.8125rem;
  color: var(--green);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.update-box {
  padding: 20px;
  border: 1px solid #d6e2c7;
  background: var(--green-soft);
  border-radius: 12px;
  margin-top: 20px;
}
.update-box h3 {
  font-size: 0.9375rem;
  margin-bottom: 10px;
}
.update-box p {
  font-size: 0.9375rem;
  white-space: pre-wrap;
  margin: 0;
}
.guide-section {
  margin: 28px 0;
}
.guide-section h2 {
  font-size: 1.3rem;
}
.guide-section li {
  margin-bottom: 8px;
}
.guide-section ul {
  padding-left: 22px;
}
.legal-note {
  padding: 15px;
  background: #fff4df;
  border-radius: 10px;
  color: #805f26;
  font-size: 0.875rem;
  margin: 18px 0;
}
dialog {
  padding: 0;
  border: 0;
  border-radius: 20px;
  width: min(590px, calc(100% - 28px));
  max-height: 90dvh;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 100px #0f221b33;
}
dialog::backdrop {
  background: #16261bc4;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 26px 0;
  gap: 14px;
}
.modal-head h2 {
  margin: 0;
  font-size: 1.6rem;
}
.modal-head .icon-button {
  border: 0;
  width: 30px;
  min-height: 30px;
  padding: 4px;
}
.modal-body {
  padding: 20px 26px 26px;
}
.modal-body > p {
  font-size: 0.9375rem;
  color: var(--muted);
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 650;
  margin-bottom: 7px;
}
input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  border: 1px solid #d6ded2;
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 13px;
  font-size: 1rem;
  min-height: 44px;
}
textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
textarea.long {
  min-height: 230px;
}
input::placeholder,
textarea::placeholder {
  color: #8b9589;
  font-weight: 400;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.field {
  margin-bottom: 18px;
}
.field small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 6px;
  font-weight: 400;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 400;
}
.check-label a {
  text-decoration: underline;
}
.form-error {
  padding: 12px 14px;
  background: var(--red-soft);
  border: 1px solid #edcac3;
  color: var(--red);
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.form-success {
  padding: 14px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 8px;
  font-size: 0.9375rem;
}
.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 21px;
  font-size: 0.875rem;
}
.form-help {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.composer {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.composer-intro {
  font-size: 0.9375rem;
  color: var(--muted);
}
.draft-state {
  color: var(--muted);
  font-size: 0.75rem;
}
.compose-preview {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  margin-bottom: 18px;
}
.compose-preview h2 {
  font-size: 1.4rem;
}
.compose-preview p {
  white-space: pre-wrap;
  font-size: 0.9375rem;
}
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #dce5ce;
  background: #eef4e6;
  color: #526642;
  border-radius: 10px;
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.alert svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.alert a {
  text-decoration: underline;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.stat-box {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat-box strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}
.stat-box span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.notification {
  padding: 17px;
  display: flex;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
}
.notification.unread {
  border-left: 3px solid var(--green);
}
.notification p {
  font-size: 0.9375rem;
  margin: 0 0 4px;
}
.notification small {
  color: var(--muted);
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.admin-nav button {
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.875rem;
}
.admin-nav .active {
  background: var(--ink);
  color: var(--paper);
}
.admin-item {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  margin-bottom: 12px;
}
.admin-item h3 {
  font-size: 1.05rem;
}
.admin-item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
}
.admin-item .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.admin-item .actions button {
  font-size: 0.8125rem;
  padding: 6px 10px;
  min-height: 36px;
}
.settings-section {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.settings-section:first-child {
  padding-top: 0;
}
.settings-section:last-child {
  border: 0;
}
.settings-section h3 {
  font-size: 1.1rem;
}
.settings-section p {
  font-size: 0.875rem;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid #475541;
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 0.875rem;
  max-width: min(530px, calc(100% - 30px));
  box-shadow: 0 9px 30px #0002;
  z-index: 100;
  transition:
    transform 0.22s,
    opacity 0.22s;
  opacity: 0;
  pointer-events: none;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.mobile-bottom {
  display: none;
}
.mobile-search {
  display: none;
}
[data-theme="dark"] {
  --bg: #141a16;
  --paper: #1d251f;
  --ink: #e7eddf;
  --muted: #a2af9c;
  --line: #354232;
  --green: #bddb98;
  --green-soft: #2b3b27;
  --red: #f2a294;
  --red-soft: #452c27;
  --purple: #ccb8e7;
  --purple-soft: #382e45;
  --dark: #253222;
  --shadow: none;
}
[data-theme="dark"] .primary {
  background: var(--lime);
  color: #1d2a16;
}
[data-theme="dark"] .primary:hover {
  background: #bdda73;
}
[data-theme="dark"] .side-nav a.active {
  background: #314527;
  color: #d2eeab;
}
[data-theme="dark"] .side-nav a:hover {
  background: #253420;
}
[data-theme="dark"] .notice-bar {
  background: #2b3825;
  color: #c6d8b4;
  border-color: var(--line);
}
[data-theme="dark"] .secondary:hover {
  background: #2b3926;
}
[data-theme="dark"] .avatar {
  background: #34462b;
  color: #c5dfaa;
}
[data-theme="dark"] .alert {
  background: #2b3824;
  color: #c2d5b0;
  border-color: var(--line);
}
[data-theme="dark"] .topic-icon {
  color: #293827;
}
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  border-color: var(--line);
}
[data-theme="dark"] .legal-note {
  background: #423620;
  color: #e8cc92;
}
@media (min-width: 1500px) {
  .layout {
    gap: 38px;
    grid-template-columns: 210px minmax(0, 1fr) 285px;
  }
}
@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 185px minmax(0, 1fr) 240px;
    gap: 22px;
    padding: 28px 24px 60px;
  }
  .top-inner {
    padding: 0 24px;
    gap: 20px;
  }
  .top-nav {
    margin-left: 10px;
    gap: 18px;
  }
  .search-box {
    max-width: 180px;
  }
  .language-picker {
    width: 124px;
    flex-basis: 124px;
  }
  .rail .panel {
    padding: 19px;
  }
  .top-nav a:last-child {
    display: none;
  }
  .card {
    padding: 20px;
  }
  .featured {
    padding: 24px;
  }
  .sidebar .side-nav a {
    padding-left: 10px;
    gap: 8px;
    font-size: 0.8125rem;
  }
}
@media (max-width: 1020px) {
  .layout {
    grid-template-columns: 175px minmax(0, 1fr);
    max-width: 970px;
    gap: 24px;
  }
  .rail {
    display: none;
  }
  .top-nav {
    display: none;
  }
  .top-actions {
    gap: 9px;
  }
  .search-box {
    max-width: 280px;
  }
  .topbar {
    height: 76px;
  }
  .sidebar {
    top: 100px;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
  .topbar {
    height: 67px;
  }
  .top-inner {
    padding: 0 18px;
    gap: 12px;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    height: 31px;
    width: 31px;
  }
  .wordmark {
    font-size: 0.8125rem;
  }
  .top-actions {
    gap: 6px;
  }
  .language-picker {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    background: var(--paper);
  }
  .language-picker::before {
    content: "🌐";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1rem;
    pointer-events: none;
  }
  .language-picker select {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
  }
  .top-actions > .search-box,
  .top-actions > .new-case,
  .desktop-only {
    display: none !important;
  }
  .top-actions > .primary {
    padding: 8px 12px;
    font-size: 0.8125rem;
    min-height: 38px;
  }
  .top-actions > .icon-button {
    width: 36px;
    min-height: 36px;
    height: 36px;
    padding: 7px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .layout {
    display: block;
    padding: 24px 17px 98px;
    max-width: 660px;
  }
  .sidebar {
    display: none;
  }
  .sidebar.open {
    display: block;
    position: fixed;
    inset: 67px 0 64px;
    background: var(--paper);
    z-index: 25;
    padding: 16px 25px;
    overflow: auto;
  }
  .sidebar.open .side-nav {
    max-width: 460px;
    margin: auto;
  }
  .sidebar.open .side-label {
    max-width: 434px;
    margin-left: auto;
    margin-right: auto;
  }
  .sidebar.open .side-note {
    display: none;
  }
  .page-heading {
    margin-bottom: 21px;
  }
  .page-heading h1 {
    font-size: 2.15rem;
    margin-bottom: 8px;
  }
  .page-heading p {
    font-size: 0.875rem;
  }
  .page-heading .eyebrow {
    font-size: 0.6875rem;
  }
  .page-heading .primary {
    display: none;
  }
  .notice-bar {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  .notice-bar .extra {
    display: none;
  }
  .featured {
    padding: 22px;
    border-radius: 15px;
    margin-bottom: 20px;
  }
  .featured h2 {
    font-size: 1.6rem;
    margin-top: 16px;
  }
  .featured .subtitle {
    font-size: 0.8125rem;
    margin-bottom: 18px;
  }
  .featured-bottom {
    gap: 5px;
    flex-wrap: wrap;
  }
  .vote {
    font-size: 0.8125rem;
    gap: 5px;
    padding: 9px 4px;
    line-height: 1.25;
  }
  .vote svg {
    width: 16px;
    height: 16px;
  }
  .vote.complicated {
    font-size: 0.75rem;
  }
  .filter {
    font-size: 0.8125rem;
    padding: 10px 10px 12px;
  }
  .filter svg {
    width: 15px;
  }
  .filters .count-label {
    display: none;
  }
  .card {
    padding: 19px;
    margin-bottom: 12px;
  }
  .card h2 {
    font-size: 1.15rem;
  }
  .excerpt {
    font-size: 0.875rem;
  }
  .card-footer {
    gap: 13px;
  }
  .card-footer .read-link {
    font-size: 0.6875rem;
  }
  .card .meta {
    font-size: 0.6875rem;
  }
  .card .category-label {
    font-size: 0.625rem;
  }
  .verdict-legend {
    font-size: 0.6875rem;
  }
  .mobile-bottom {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    z-index: 35;
    justify-content: space-around;
    padding: 7px 6px max(7px, env(safe-area-inset-bottom));
  }
  .mobile-bottom a,
  .mobile-bottom button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    justify-content: center;
    color: var(--muted);
    font-size: 0.625rem;
    min-height: 44px;
    min-width: 55px;
  }
  .mobile-bottom svg {
    width: 20px;
    height: 20px;
  }
  .mobile-bottom .active {
    color: var(--green);
  }
  .mobile-bottom .mobile-add {
    background: var(--lime);
    color: #1c2c19;
    border-radius: 12px;
    min-width: 48px;
    width: 48px;
    height: 43px;
    margin-top: 1px;
    min-height: 43px;
  }
  .mobile-add svg {
    width: 24px;
    height: 24px;
  }
  .mobile-search {
    display: flex;
    margin-bottom: 18px;
    max-width: none;
    width: 100%;
    height: 44px;
  }
  .mobile-search input {
    min-height: 0;
    border: 0;
    padding: 0;
  }
  .topic-grid {
    gap: 10px;
  }
  .topic-card {
    padding: 20px 16px;
  }
  .topic-card h2 {
    font-size: 1rem;
  }
  .topic-card p {
    font-size: 0.8125rem;
  }
  .case-story {
    padding: 22px 20px;
    border-radius: 14px;
  }
  .case-story h1 {
    font-size: 1.9rem;
  }
  .prose {
    font-size: 1rem;
    line-height: 1.8;
  }
  .case-tools {
    gap: 7px;
  }
  .case-tools .secondary {
    font-size: 0.75rem;
    padding: 7px 9px;
  }
  .vote-panel {
    padding: 22px 19px;
  }
  .discussion-heading h2 {
    font-size: 1.25rem;
  }
  .discussion-heading .secondary {
    font-size: 0.8125rem;
    padding: 8px 12px;
  }
  .argument {
    padding: 19px;
  }
  .composer {
    padding: 22px 19px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-foot {
    flex-wrap: wrap;
  }
  .stat-grid {
    gap: 8px;
  }
  .stat-box {
    padding: 14px 10px;
  }
  .stat-box strong {
    font-size: 1.4rem;
  }
  .stat-box span {
    font-size: 0.75rem;
  }
  .modal-head {
    padding: 23px 22px 0;
  }
  .modal-body {
    padding: 18px 22px 24px;
  }
  .modal-head h2 {
    font-size: 1.4rem;
  }
  #toast {
    bottom: 83px;
    font-size: 0.8125rem;
    width: max-content;
  }
  .card-top .meta .avatar {
    width: 25px;
    height: 25px;
    font-size: 0.625rem;
  }
}
@media (max-width: 460px) {
  .top-actions > .primary {
    display: none;
  }
}
.featured .vote.right,
.featured .vote.wrong,
.featured .vote.complicated {
  background: #ffffff09;
}
.featured .vote.selected {
  background: var(--lime);
  color: #203015;
}
.featured .vote:hover {
  background: #ffffff18;
}
.featured .vote.selected:hover {
  background: #c0e75e;
}
form.search-box input {
  border: 0;
  background: none;
  min-height: 0;
  height: 100%;
  padding: 0;
  font-size: 0.875rem;
  box-shadow: none;
}
form.search-box input:focus {
  outline: 0;
}
.search-box input::placeholder {
  font-size: 0.8125rem;
}
.search-box svg {
  flex-shrink: 0;
}
.brand-mark {
  border-radius: 10px;
}
#arguments,
#main {
  scroll-margin-top: 96px;
}
@media (max-width: 410px) {
  .vote {flex-direction:column;gap:5px;padding:10px 5px;}
  .side-legal {padding-top:20px;}
}
@media (max-width: 350px) {
  .vote-buttons {grid-template-columns:1fr;}
  .vote {flex-direction:row;gap:8px;}
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .topbar,
  .sidebar,
  .rail,
  .mobile-bottom,
  .notice-bar,
  .case-tools,
  .vote-buttons,
  .filters,
  #toast {
    display: none !important;
  }
  .layout {
    display: block;
    padding: 0;
  }
  .case-story,
  .card,
  .vote-panel {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  body {
    background: #fff;
    color: #111;
  }
}
