:root {
  --bg: #f6f4ef;
  --card: #fff;
  --ink: #1d2521;
  --mut: #69716c;
  --line: #e7e3da;
  --g: #0e7a55;
  --g2: #0b6346;
  --gbg: #e3efe8;
  --beige: #ece8df;
  --red: #c0392b;
  --redbg: #fce9e6;
  --amb: #8a5a00;
  --ambbg: #fff4d6;
  --ambline: #ebcb6b;
  --dark: #2b3934;
  --ok: #0e7a55;
  --bad: #b3261e;
  --r: 18px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
:root.hc {
  --ink: #000;
  --mut: #2a2f2c;
  --line: #1d2521;
  --g: #00553a;
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.big {
  font-size: 118%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 1rem/1.5 Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  padding-top: var(--sat);
  padding-bottom: calc(76px + var(--sab));
  overflow-x: hidden;
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(1.55rem, 6vw, 2.1rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}
h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.mut {
  color: var(--mut);
  font-size: 0.9rem;
}
.sm {
  font-size: 0.8rem;
}
button,
.btn {
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition:
    transform 0.15s cubic-bezier(0.3, 0.7, 0.4, 1),
    background 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
button:hover,
.btn:hover {
  box-shadow: 0 3px 10px rgba(30, 40, 35, 0.1);
}
button:active,
.btn:active {
  transform: scale(0.96);
}
:focus-visible {
  outline: 3px solid var(--g);
  outline-offset: 2px;
  border-radius: 10px;
}
.bg {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
}
.bg:hover {
  background: var(--g2);
}
.br {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.bd {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}
.bw {
  background: #fff;
  border-color: #fff;
  color: var(--dark);
}
.tx {
  border: 0;
  background: none;
  min-height: 44px;
  padding: 0 4px;
  color: var(--g);
  box-shadow: none !important;
}
svg.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
svg.s {
  width: 15px;
  height: 15px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(14px, 4vw, 20px);
  min-width: 0;
}
.tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.t-g {
  background: var(--gbg);
  color: var(--g);
}
.t-r {
  background: var(--redbg);
  color: var(--red);
}
.t-a {
  background: var(--ambbg);
  color: var(--amb);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 99px;
  white-space: nowrap;
}
.p-v {
  background: var(--gbg);
  color: var(--g);
}
.p-u {
  background: var(--ambbg);
  color: var(--amb);
}
.p-x {
  background: var(--redbg);
  color: var(--bad);
}
.p-b {
  background: var(--beige);
  color: var(--ink);
}
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.sb {
  justify-content: space-between;
}
.hd2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}
.hd2 p {
  margin-top: 2px;
}
.sec {
  display: grid;
  gap: 12px;
}
.col {
  display: grid;
  gap: clamp(14px, 3vw, 22px);
  align-content: start;
  min-width: 0;
}
details summary {
  cursor: pointer;
  color: var(--g);
  font-weight: 600;
  font-size: 0.88rem;
  min-height: 36px;
  display: flex;
  align-items: center;
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}
details[open] summary {
  margin-bottom: 2px;
}
details p {
  color: var(--mut);
  font-size: 0.9rem;
  animation: fade 0.3s;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes pop {
  0% {
    transform: scale(0.6);
  }
  60% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1.25);
  }
}
@keyframes sh {
  to {
    background-position: -200% 0;
  }
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
