@font-face {
  font-family: Pretendard;
  src: url("assets/pretendard.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #202c26;
  --green: #117450;
  --deep: #12563d;
  --muted: #66736b;
  --line: #dfe6de;
  --paper: #fafbf8;
  --radius: 17px;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  word-break: keep-all;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
select,
input {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #308e6b;
}
button {
  text-align: inherit;
  letter-spacing: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg,
img {
  display: block;
}
.ico {
  flex-shrink: 0;
}
button:disabled {
  cursor: default;
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin: auto;
}
.skip {
  position: fixed;
  top: -70px;
  left: 10px;
  z-index: 9;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
#site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.head-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.brand img {
  width: 39px;
  height: 39px;
}
.brand b {
  font-size: 27px;
  letter-spacing: -0.09em;
  font-weight: 850;
  color: #174732;
}
.brand > span {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.065em;
  color: #69856f;
  margin: 5px 0 0 -2px;
}
nav {
  align-self: stretch;
  display: flex;
  gap: 34px;
  align-items: stretch;
}
nav a {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 15.5px;
  font-weight: 620;
  color: #54625a;
  white-space: nowrap;
}
nav a[aria-current] {
  color: var(--green);
  font-weight: 760;
}
nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  border-radius: 3px 3px 0 0;
}
.head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.head-divider {
  height: 19px;
  width: 1px;
  background: var(--line);
}
.iconbtn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.iconbtn:hover {
  background: #eef3ec;
}
.saved-link {
  display: flex;
  gap: 7px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.saved-link small {
  background: var(--green);
  color: #fff;
  border-radius: 50px;
  padding: 0 6px;
}
.saved-link.on {
  color: var(--green);
}
main {
  min-height: 75vh;
  outline: none;
}
.home {
  padding: 26px 0 65px;
}
.hero {
  height: clamp(292px, 23.2vw, 325px);
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  background: #d6e8d4 url("assets/hero.webp") right 40% / cover no-repeat;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 30px 4.5%;
}
.hero-badge,
.eyebrow,
.dialog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 690;
}
.hero-badge {
  padding: 4px 11px;
  border: 1px solid #b1d1b9;
  background: #f3f9ecad;
  border-radius: 30px;
  color: #336447;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(38px, 3.4vw, 50px);
  font-weight: 790;
  line-height: 1.17;
  letter-spacing: -0.073em;
  margin: 12px 0 9px;
  color: #20392a;
}
.hero h1 em {
  font-style: normal;
  color: #176944;
}
.hero p {
  font-size: 15px;
  color: #4f6857;
  font-weight: 450;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 42px;
  border-radius: 9px;
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 670;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.green {
  background: var(--green);
  color: #fff;
}
.green:hover {
  background: #0a5c3e;
}
.hero-btn {
  margin-top: 21px;
  padding: 9px 16px;
}
.outline {
  border: 1px solid var(--line);
  background: #fff;
}
.outline:hover {
  background: #f2f7f0;
}
.hero-doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  color: #fff;
  opacity: 0.75;
}
.d1 {
  top: 19%;
  left: 55%;
  transform: rotate(-58deg);
}
.d2 {
  left: 60%;
  top: 58%;
}
.d3 {
  right: 5.4%;
  top: 16%;
  transform: rotate(12deg);
}
.hero-doodle .ico {
  stroke-width: 1.5;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 34px;
}
.category {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-height: 101px;
  font-size: 15px;
  font-weight: 650;
  padding: 9px 3px 11px;
  transition:
    transform 0.16s,
    border-color 0.16s;
}
.category:hover {
  transform: translateY(-3px);
  border-color: #9cbfa6;
  box-shadow: 0 4px 12px #1747320b;
}
.clay {
  display: block;
  width: 52px;
  aspect-ratio: 1;
  flex: none;
  background: url("assets/categories.webp") no-repeat;
  background-size: 400% 200%;
  background-position: calc(var(--col) * 100% / 3) calc(var(--row) * 100%);
  mix-blend-mode: multiply;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 2.64fr) minmax(265px, 1fr);
  gap: 27px;
  align-items: start;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-title h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.055em;
  font-weight: 770;
}
.title-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: #e2efe4;
  color: #167548;
  border-radius: 9px;
}
.title-icon .ico {
  stroke-width: 1.9;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #627066;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 550;
}
.text-link:hover {
  color: var(--green);
}
.sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 1px 1px 4px;
}
.rank-block > .tabs {
  margin: 15px 0 4px;
}
.tabs button {
  border: 1px solid #dce3da;
  background: white;
  color: #576259;
  font-size: 13px;
  border-radius: 24px;
  white-space: nowrap;
  padding: 6px 13px;
  font-weight: 560;
}
.tabs button.active {
  background: #1a694b;
  border-color: #1a694b;
  color: white;
  font-weight: 670;
}
.tabs button:not(.active):hover {
  background: #edf4eb;
  border-color: #b4cfb9;
}
.rank-meta,
.result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rank-meta {
  color: #667469;
  font-size: 12px;
  margin: 6px 0 10px;
}
.rank-meta > span {
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 550;
}
.rank-meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #75a486;
}
.sort,
.select-wrap,
.region-box {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
}
.sort select,
.select-wrap select,
.region-box select {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 2px 17px 2px 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 1.55;
}
.sort > .ico:last-child,
.select-wrap > .ico:last-child,
.region-box > .ico:last-child {
  position: absolute;
  right: 1px;
  pointer-events: none;
}
.sort {
  font-size: 12px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.product {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  min-width: 0;
  overflow: hidden;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.product:hover {
  border-color: #a8c7b0;
  box-shadow: 0 4px 16px #234e2310;
}
.product-visual {
  min-height: 145px;
  position: relative;
  background: #f1f3ed;
  isolation: isolate;
}
.visual-purina {
  background: #f2f1eb;
}
.visual-hill {
  background: #eeeff4;
}
.visual-rc {
  background: #f6f0e6;
}
.product-visual > button:first-child {
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
}
.pack {
  height: 83%;
  max-width: 79%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-visual .clay {
  width: 84px;
}
.rank {
  position: absolute;
  top: 11px;
  left: 11px;
  border-radius: 6px;
  background: #e6e9e2;
  color: #46554d;
  padding: 2px 8px;
  font-weight: 750;
  font-size: 12px;
  pointer-events: none;
}
.save {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #748178;
}
.product-visual .save {
  position: absolute;
  right: 9px;
  top: 8px;
  background: #ffffffb8;
}
.save:hover {
  color: var(--green);
  background: #fff;
}
.save.on {
  color: var(--green);
}
.save.on .ico {
  fill: #d4eade;
}
.product-text {
  width: 100%;
  padding: 13px 15px 12px;
  display: block;
}
.product-text small,
.detail-product small,
.h-body small {
  font-size: 12px;
  color: #69746c;
  font-weight: 540;
}
.product-text h3 {
  font-size: 17px;
  letter-spacing: -0.045em;
  line-height: 1.4;
  margin: 2px 0 9px;
  font-weight: 720;
}
.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tag,
.kind {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 570;
  background: #edf4e9;
  color: #486d4c;
}
.tags .tag:nth-child(even) {
  color: #657166;
  background: #f2f4ee;
}
.metric {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf0e9;
  margin-top: 12px;
  padding-top: 9px;
  font-size: 11px;
  color: var(--muted);
}
.metric b {
  font-size: 13px;
  color: #185e43;
  letter-spacing: -0.025em;
}
.compare-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #3b6c4e;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  background: #eff5ed;
  border-radius: 8px;
  padding: 10px;
}
.compare-link:hover {
  background: #e2eddf;
}
.clinic-promo {
  position: relative;
  background: #e7f1e5;
  isolation: isolate;
  border: 1px solid #d6e5d6;
  border-radius: 17px;
  overflow: hidden;
  padding: 23px 23px 19px;
  min-height: 300px;
}
.eyebrow,
.dialog-kicker {
  color: #367454;
  font-size: 10px;
  letter-spacing: 0.115em;
  font-weight: 750;
}
.clinic-promo h2 {
  margin: 9px 0 5px;
  font-size: 25px;
  letter-spacing: -0.065em;
  font-weight: 760;
  color: #214c36;
}
.clinic-promo p {
  font-size: 14px;
  line-height: 1.55;
  color: #556d5b;
}
.map-art {
  position: absolute;
  width: 69%;
  height: 142px;
  object-fit: contain;
  right: -5px;
  bottom: 64px;
  mix-blend-mode: multiply;
  z-index: -1;
  mask-image: linear-gradient(to right, transparent, #000 12%);
}
.clinic-promo form {
  display: flex;
  gap: 6px;
  align-items: stretch;
  margin-top: 86px;
}
.region-box {
  min-width: 0;
  flex: 1;
  color: #536558;
  border-radius: 8px;
  border: 1px solid #cbdace;
  background: #fff;
  font-size: 13px;
  padding: 0 9px;
  gap: 4px;
}
.region-box select {
  height: 38px;
}
.region-box > .ico:last-child {
  right: 7px;
}
.clinic-promo .btn {
  font-size: 12px;
  gap: 5px;
  padding: 8px 10px;
  min-height: 39px;
}
.mini-guide {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 16px;
  margin-top: 13px;
}
.mini-guide > span:nth-child(2) {
  flex: 1;
}
.mini-guide b,
.mini-guide small {
  display: block;
}
.mini-guide b {
  font-size: 14px;
}
.mini-guide small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}
.shield {
  font-size: 16px;
  color: #6e886d;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f0f4e9;
  width: 38px;
  height: 38px;
}
.mini-guide:hover {
  border-color: #aac2a8;
}
.ency-preview {
  margin-top: 33px;
}
.disease-grid,
.hospital-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.disease-grid {
  margin-top: 15px;
}
.disease-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  width: 100%;
}
.disease-card:hover,
.hospital:hover {
  border-color: #a5c3ab;
}
.disease-icon {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #ebf4df;
  color: #557a38;
  flex: none;
}
.disease-icon.blue {
  color: #4a7893;
  background: #e7f2f7;
}
.disease-icon.gold {
  color: #957341;
  background: #f8f0dc;
}
.disease-info {
  min-width: 0;
  flex: 1;
}
.disease-info > * {
  display: block;
}
.disease-info small {
  color: #708370;
  font-size: 11px;
  font-weight: 600;
}
.disease-info b {
  font-size: 17px;
}
.disease-info > span {
  font-size: 12px;
  color: #69736c;
  margin-top: 4px;
}
.disease-card > .ico {
  color: #879188;
}
.ency-preview .disease-info > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
footer {
  border-top: 1px solid var(--line);
  background: #f4f6f1;
}
.foot-inner {
  min-height: 73px;
  display: flex;
  gap: 18px;
  align-items: center;
  color: #68756b;
  font-size: 12px;
}
.foot-inner strong {
  font-size: 17px;
  color: #4a5b4d;
}
.foot-inner strong span {
  font-size: 12px;
  margin-left: 4px;
}
.foot-inner button {
  margin-left: auto;
}
.subpage {
  padding: 28px 0 72px;
  min-height: 72vh;
}
.page-top {
  margin: 0 0 25px;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 23px;
}
.page-top h1 {
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 770;
  letter-spacing: -0.06em;
}
.page-top p {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.65;
}
.catalog-bar,
.result-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 21px 0 13px;
}
.catalog-bar > div {
  margin-right: auto;
}
.catalog-bar strong,
.result-line b {
  font-size: 19px;
}
.catalog-bar span,
.result-line > span {
  color: var(--muted);
  font-size: 13px;
}
.catalog-bar .sort,
.select-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
}
.catalog-bar .sort > .ico:last-child,
.select-wrap > .ico:last-child {
  right: 7px;
}
.small {
  min-height: 36px;
  font-size: 13px;
  padding: 6px 12px;
}
.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}
.catalog-grid .product-visual {
  min-height: 173px;
}
.catalog-grid .product-text {
  padding: 16px;
}
.clinical-note,
.fine {
  color: var(--muted);
  line-height: 1.65;
}
.clinical-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #ecf2e9;
  border: 1px solid #dde7d9;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 13px;
}
.clinical-note > .ico {
  margin-top: 2px;
  color: #4c7755;
}
.fine {
  font-size: 12px;
  margin: 14px 0 0;
}
.big {
  margin: 24px 0;
}
.big .disease-card {
  min-height: 116px;
}
.subpage h2 {
  font-size: 23px;
  margin: 24px 0 12px;
}
.h-filter {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  border: 1px solid var(--line);
  padding: 18px;
  background: white;
  border-radius: 13px;
}
.h-filter label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  flex: 1;
  max-width: 260px;
}
.h-filter select,
.compare-table select {
  padding: 8px 9px;
  border: 1px solid #cbd8cc;
  background: #fff;
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
}
.h-filter .btn {
  margin-left: auto;
  min-height: 38px;
}
.result-line {
  justify-content: space-between;
}
.result-line em {
  font-style: normal;
  color: var(--green);
}
.hospital-grid {
  margin: 15px 0 24px;
}
.hospital {
  border-radius: 15px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px 19px 0;
  display: flex;
  flex-direction: column;
}
.h-top,
.h-body > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.h-body {
  padding: 11px 0 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.h-body h3 {
  font-size: 19px;
  margin: 2px 0 6px;
}
.h-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}
.h-body > div {
  width: 100%;
  border-top: 1px solid #e9eee7;
  margin-top: 15px;
  padding-top: 12px;
}
.kind {
  background: #f1f3ec;
  color: #626e60;
}
.empty {
  text-align: center;
  border: 1px dashed #cbd8ca;
  border-radius: 13px;
  padding: 30px 15px;
  background: #fff;
}
.empty > div {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f5ee;
  color: #8ea38b;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
}
.empty h3 {
  font-size: 18px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.empty-cta {
  display: flex;
  width: max-content;
  margin: 20px auto;
}
body:has(dialog[open]) {
  overflow: hidden;
}
dialog {
  border: 1px solid #d8e2d7;
  box-shadow: 0 22px 80px #132b2040;
  border-radius: 20px;
  padding: 0;
  width: min(550px, calc(100% - 32px));
  max-height: 86dvh;
  color: var(--ink);
  background: #fdfefb;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #13231bbb;
  backdrop-filter: blur(3px);
}
dialog.comparison-sheet {
  --compare-label-width: 82px;
  --compare-column-min: 150px;
  width: min(calc(100% - 28px), calc(80px + var(--compare-label-width) + var(--columns) * 216px));
  scrollbar-gutter: stable;
}
#dialog-inner {
  position: relative;
  padding: 30px;
}
.x {
  position: absolute;
  right: 13px;
  top: 12px;
  background: #edf2ec;
}
.dialog-kicker {
  font-size: 12px;
  letter-spacing: 0.035em;
  margin-right: 25px;
}
dialog h2 {
  line-height: 1.3;
  margin: 10px 22px 12px 0;
  font-size: 27px;
  letter-spacing: -0.055em;
}
dialog .lead {
  color: var(--muted);
  font-size: 16px;
}
.detail-product {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 13px 0 15px;
}
.detail-pic {
  width: 85px;
  height: 90px;
  background: #f1f3ea;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.detail-product h2 {
  font-size: 23px;
  margin: 1px 0 8px;
}
.detail-pic .pack {
  height: 75px;
}
.detail-part {
  margin-top: 19px;
}
.detail-part h3 {
  font-size: 16px;
  letter-spacing: -0.035em;
  margin-bottom: 4px;
}
.detail-part p,
.record p {
  font-size: 14px;
  color: #536258;
  line-height: 1.7;
}
.sources {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  display: flex;
  gap: 8px 14px;
  flex-wrap: wrap;
  align-items: center;
}
.sources small {
  width: 100%;
  font-size: 11px;
  color: var(--muted);
}
.source {
  color: var(--green);
  font-weight: 620;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.source:hover {
  text-decoration: underline;
}
.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.modal-actions > .btn {
  flex: 1;
}
.record {
  background: #f1f5ee;
  border-radius: 9px;
  padding: 12px;
  margin-top: 8px;
}
.record b {
  font-size: 13px;
  color: #4c7655;
}
.compare-table {
  display: grid;
  grid-template-columns: 90px repeat(2, minmax(0, 1fr));
  font-size: 13px;
  line-height: 1.65;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 18px;
}
.compare-table > div {
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.compare-table > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}
.compare-table .cmp-label {
  font-weight: 650;
  color: #5d7060;
  background: #eff4ed;
}
.compare-table select {
  width: 100%;
  font-size: 12px;
  padding: 7px 3px;
}
.compare-table > div:nth-child(3n + 2) {
  border-right: 1px solid #e5eae3;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 12;
  padding: 9px 16px;
  color: white;
  border-radius: 10px;
  background: #174a34;
  transition: 0.2s;
  font-size: 14px;
  box-shadow: 0 4px 18px #14372220;
}
#notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1450px) {
  .hero-copy {
    padding-top: 36px;
  }
  .category-grid {
    margin-bottom: 38px;
  }
  .product-visual {
    min-height: 158px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 58px);
  }
  .head-inner {
    gap: 42px;
  }
  nav {
    gap: 26px;
  }
  .home-columns {
    gap: 18px;
    grid-template-columns: minmax(0, 2.5fr) minmax(245px, 1fr);
  }
  .clinic-promo {
    padding: 20px 16px 17px;
  }
  .rank-block .tabs {
    gap: 5px;
  }
  .rank-block .tabs button {
    padding: 6px 10px;
  }
  .product-text {
    padding: 11px;
  }
  .product-text h3 {
    font-size: 15.5px;
  }
  .hero-copy {
    padding: 28px 4%;
  }
  .category-grid {
    gap: 9px;
  }
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .disease-card {
    padding: 14px 12px;
    gap: 10px;
  }
  .brand > span {
    font-size: 15px;
  }
  .product-grid {
    gap: 10px;
  }
  .map-art {
    width: 75%;
  }
  .head-actions {
    gap: 11px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .head-inner {
    height: 65px;
    gap: 25px;
  }
  .brand b {
    font-size: 23px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand > span {
    display: none;
  }
  nav {
    gap: 20px;
  }
  nav a {
    font-size: 14px;
  }
  .hero {
    height: 266px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-copy {
    padding: 23px 4%;
  }
  .hero p {
    font-size: 13px;
    max-width: 53%;
  }
  .hero-btn {
    margin-top: 15px;
  }
  .category {
    min-height: 86px;
    font-size: 13px;
  }
  .clay {
    width: 44px;
  }
  .category-grid {
    gap: 6px;
    margin: 13px 0 24px;
  }
  .home-columns {
    grid-template-columns: 1fr;
  }
  .home-sidebar {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 13px;
    align-items: start;
  }
  .clinic-promo {
    min-height: 200px;
  }
  .clinic-promo p br {
    display: none;
  }
  .clinic-promo form {
    margin-top: 33px;
  }
  .map-art {
    width: 120px;
    right: 2px;
    bottom: 46px;
    height: 95px;
    opacity: 0.7;
  }
  .mini-guide {
    margin: 0;
  }
  .product-visual {
    min-height: 150px;
  }
  .product-text h3 {
    font-size: 17px;
  }
  .disease-grid,
  .hospital-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .disease-grid:not(.big) .disease-card:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .head-actions {
    gap: 6px;
  }
  .head-divider {
    display: none;
  }
  .hero-doodle.d1 {
    left: 54%;
  }
  .hero-badge {
    font-size: 11px;
  }
}
@media (max-width: 590px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .head-inner {
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
  }
  .brand {
    height: 52px;
  }
  .brand > span {
    display: block;
    font-size: 14px;
  }
  .head-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }
  .saved-link {
    font-size: 12px;
  }
  .head-inner nav {
    grid-column: 1/-1;
    grid-row: 2;
    display: flex;
    gap: 0;
    justify-content: space-between;
    height: 40px;
  }
  .head-inner nav a {
    justify-content: center;
    flex: 1;
    font-size: 14px;
  }
  .home {
    padding-top: 15px;
  }
  .hero {
    height: 264px;
    border-radius: 16px;
    background-position: 68% bottom;
    background-size: auto 88%;
    background-color: #deeedb;
  }
  .hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        #dfefdc 0%,
        #dfefdc 27%,
        #dfefdcdd 43%,
        #dfefdc00 65%
      ),
      linear-gradient(180deg, #deeedb 0%, #deeedb00 24%);
  }
  .hero-copy {
    padding: 21px 17px;
  }
  .hero h1 {
    font-size: clamp(27px, 6.4vw, 34px);
    line-height: 1.22;
    letter-spacing: -0.075em;
    margin: 13px 0 10px;
  }
  .hero p {
    max-width: 59%;
    font-size: 12.5px;
    line-height: 1.5;
  }
  .hero-btn {
    min-height: 35px;
    font-size: 12px;
    margin-top: 16px;
    padding: 6px 10px;
  }
  .hero-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .hero-doodle.d1 {
    display: none;
  }
  .d2 {
    left: 59%;
    top: 21%;
  }
  .d3 {
    right: 6%;
    top: 9%;
  }
  .hero-doodle svg {
    width: 16px;
  }
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 12px 0 24px;
  }
  .category {
    min-height: 74px;
    border-radius: 11px;
    padding: 6px 2px;
    gap: 1px;
    font-size: 12.5px;
  }
  .clay {
    width: 41px;
  }
  .section-title h2 {
    font-size: 23px;
  }
  .title-icon {
    width: 28px;
    height: 28px;
  }
  .sub {
    font-size: 13px;
  }
  .rank-block > .tabs {
    margin-top: 11px;
  }
  .tabs {
    gap: 5px;
  }
  .tabs button {
    font-size: 12px;
    padding: 6px 10px;
  }
  .rank-meta {
    margin: 6px 0;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  #home-ranking .product-grid:not(.home-food-grid) {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }
  #home-ranking .product-grid:not(.home-food-grid) > .product {
    flex: 0 0 60%;
    scroll-snap-align: start;
  }
  .product-visual,
  .catalog-grid .product-visual {
    min-height: 130px;
  }
  .product-text h3,
  .catalog-grid .product-text h3 {
    font-size: 15px;
  }
  .catalog-grid .product-text {
    padding: 10px;
  }
  .home-sidebar {
    grid-template-columns: 1fr;
  }
  .clinic-promo {
    padding: 18px 19px;
    min-height: 183px;
  }
  .clinic-promo h2 {
    font-size: 22px;
    margin: 5px 0;
  }
  .clinic-promo p {
    width: 70%;
    font-size: 13px;
  }
  .clinic-promo form {
    margin-top: 25px;
    max-width: 100%;
  }
  .map-art {
    width: 130px;
    right: 3px;
    bottom: 39px;
    opacity: 0.9;
  }
  .mini-guide {
    padding: 12px 15px;
  }
  .home {
    padding-bottom: 31px;
  }
  .disease-grid,
  .hospital-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .disease-grid {
    gap: 8px;
  }
  .disease-card {
    padding: 14px;
  }
  .ency-preview {
    margin-top: 22px;
  }
  .disease-info b {
    font-size: 16px;
  }
  .foot-inner {
    padding: 18px 0;
    gap: 5px 12px;
    flex-wrap: wrap;
    font-size: 10.5px;
  }
  .foot-inner strong {
    font-size: 14px;
  }
  .subpage {
    padding-top: 17px;
  }
  .crumb {
    margin-bottom: 14px;
  }
  .page-top {
    margin-bottom: 18px;
  }
  .page-top p {
    font-size: 14px;
  }
  .catalog-bar {
    gap: 5px;
    flex-wrap: wrap;
  }
  .catalog-bar > div {
    width: 100%;
    margin: 0 0 3px;
  }
  .catalog-bar .sort {
    margin-left: auto;
  }
  .small {
    font-size: 12px;
  }
  .h-filter {
    gap: 6px;
    padding: 11px;
    flex-wrap: wrap;
  }
  .h-filter label {
    min-width: 85px;
  }
  .h-filter .btn {
    font-size: 12px;
    padding: 8px;
  }
  .compare-table {
    grid-template-columns: 55px repeat(2, minmax(0, 1fr));
    font-size: 12px;
  }
  .compare-table > div {
    padding: 7px;
  }
  .compare-table select {
    font-size: 11px;
  }
  .big .disease-card {
    min-height: 0;
  }
  #dialog-inner {
    padding: 23px 17px;
  }
  dialog h2 {
    font-size: 23px;
  }
  .detail-product {
    gap: 12px;
  }
  .detail-product h2 {
    font-size: 20px;
  }
  .detail-pic {
    width: 65px;
    height: 75px;
  }
  .detail-pic .pack {
    height: 61px;
  }
  .rank-meta .sort {
    font-size: 11.5px;
  }
  .foot-inner button {
    padding: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.home-columns > * {
  min-width: 0;
}
.product-visual > button:first-child {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.product-visual .pack {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 82%;
  max-height: 82%;
  width: auto;
  max-width: 68%;
}
.map-art {
  mask-image: radial-gradient(
    ellipse 65% 60% at 52% 51%,
    #000 48%,
    transparent 92%
  );
  mix-blend-mode: normal;
}
@media (min-width: 591px) {
  .hero {
    background-color: #dfefdd;
    background-size: auto 100%;
    background-position: right center;
  }
  .hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #dfefdd 0%, #dfefdd 26%, #dfefdd00 48%);
  }
}
@media (max-width: 590px) {
  .hero {
    background-position: 87% bottom;
  }
  .hero:before {
    background:
      linear-gradient(
        90deg,
        #dfefdc 0%,
        #dfefdc 24%,
        #dfefdcf0 39%,
        #dfefdc00 63%
      ),
      linear-gradient(180deg, #deeedb 0%, #deeedb00 22%);
  }
}
.btn:disabled {
  background: #d8e2d9;
  color: #657367;
  cursor: default;
}
@media (max-width: 590px) {
  .hero {
    background: #dfefdc;
  }
  .hero:before {
    background: url("assets/hero.webp") 79% bottom/auto 78% no-repeat;
    mask-image:
      linear-gradient(to right, transparent 31%, #000 65%),
      linear-gradient(to bottom, transparent 20%, #000 38%);
    mask-composite: intersect;
  }
}
.lang-switch {
  font-size: 12px;
  font-weight: 650;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 9px;
  white-space: nowrap;
  color: var(--deep);
  background: #fff;
}
.brand-guide {
  margin-top: 17px;
  padding: 13px 16px;
  border: 1px solid #cee0d2;
  background: #eef5eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-guide b,
.brand-guide span {
  display: block;
}
.brand-guide span {
  font-size: 13px;
  color: #506a56;
}
.brand-guide .btn {
  font-size: 13px;
  min-height: 34px;
  padding: 6px 10px;
}

.catalog-bar {
  flex-wrap: wrap;
}
html[lang="en"] body {
  word-break: normal;
  letter-spacing: -0.012em;
}
html[lang="en"] .brand > span {
  display: none;
}
html[lang="en"] .brand b {
  letter-spacing: -0.04em;
}
html[lang="en"] .tabs {
  flex-wrap: wrap;
}
html[lang="en"] .head-inner {
  gap: 30px;
}
html[lang="en"] .category {
  font-size: 13px;
  text-align: center;
}
html[lang="en"] .hero-copy {
  max-width: 66%;
}
html[lang="en"] .hero h1 {
  letter-spacing: -0.05em;
}
html[lang="en"] .compare-table > div {
  overflow-wrap: anywhere;
}
html[lang="en"] .hero-copy p {
  max-width: 100%;
}
@media (max-width: 800px) {
  html[lang="en"] .head-inner {
    gap: 12px;
  }
  html[lang="en"] nav {
    gap: 12px;
  }
  html[lang="en"] .head-actions {
    gap: 5px;
  }
  .catalog-bar .select-wrap {
    max-width: 170px;
  }
}
@media (max-width: 590px) {
  .brand-guide {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .brand-guide span {
    font-size: 12px;
  }
  .head-actions .lang-switch {
    font-size: 11px;
  }
  html[lang="en"] .head-inner {
    gap: 0;
  }
  html[lang="en"] .hero-copy {
    max-width: 72%;
  }
  html[lang="en"] .hero-copy p {
    max-width: 93%;
    font-size: 12px;
  }
  html[lang="en"] .head-inner nav {
    gap: 5px;
  }
  html[lang="en"] .head-inner nav a {
    font-size: 12px;
  }
  html[lang="en"] .tabs {
    gap: 4px;
  }
  .catalog-bar > div {
    width: 100%;
  }
}

.find-form {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 5px 5px 5px 14px;
  background: white;
  border: 1px solid #b7cdbc;
  border-radius: 13px;
  max-width: 760px;
}
.find-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  color: var(--green);
  cursor: text;
}
.find-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 8px 0;
  outline: 0;
}
.find-form:focus-within {
  outline: 2px solid #8fbc9b;
  outline-offset: 2px;
}
.find-form .btn {
  padding: 8px 22px;
  min-height: 38px;
}
.home > .find-form {
  margin: 17px 0 0;
  max-width: none;
}
.subpage > .find-form {
  margin: 16px 0 22px;
}
.find-page {
  max-width: 1024px;
}
.find-page .find-form {
  max-width: none;
}
.find-controls,
.shop-tabs,
.shop-links,
.stores {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.find-controls {
  margin: 0 0 17px;
}
.shop-tabs {
  margin-right: auto;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #edf3ee;
}
.shop-tab {
  border-radius: 6px;
  padding: 7px 12px;
  color: #52655a;
  font-size: 13px;
  font-weight: 600;
}
.shop-tab[aria-pressed="true"] {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 1px 4px #1a432820;
}
.shop-browse,
.shop-section {
  border: 1px solid #d0e1d5;
  background: #f1f7f0;
  border-radius: 11px;
  padding: 14px 17px;
}
.shop-browse {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.shop-browse small,
.find-identity small {
  display: block;
  color: #52655a;
  font-size: 12px;
  margin-top: 3px;
}
.shop-links .source,
.compare-table .source {
  white-space: normal;
}
.shop-links .source {
  padding: 6px 10px;
  border: 1px solid #b5d0be;
  border-radius: 7px;
  background: #fff;
  font-size: 13px;
}
.shop-section {
  margin: 16px 0;
}
.shop-section h3 {
  margin: 0 0 8px;
}
.shop-search-links {
  margin-top: 7px;
}
.find-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 9px;
}
.find-count button {
  color: var(--green);
  font-size: 12px;
  text-decoration: underline;
}
.find-hit {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto 18px;
  align-items: center;
  text-align: left;
  gap: 12px;
  width: 100%;
  padding: 13px 5px;
  border-top: 1px solid var(--line);
}
.find-hit:hover,
.find-hit:focus-visible {
  background: #f2f7f2;
}
.find-kind {
  font-size: 12px;
  color: #4d6f57;
  font-weight: 600;
}
.find-identity strong {
  font-size: 16px;
}
.find-hit > .ico {
  color: #5c7662;
}
.store-name {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #edf3ea;
  color: #35523b;
  font-weight: 600;
}
.store-coupang {
  background: #f8f0eb;
  color: #733e23;
}
.find-more {
  display: block;
  margin: 16px auto;
}
@media (max-width: 650px) {
  .find-hit {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 7px;
  }
  .find-kind,
  .find-identity {
    grid-column: 1;
  }
  .find-hit .stores {
    grid-column: 2;
    grid-row: 1/3;
    justify-content: flex-end;
  }
  .find-hit > .ico {
    display: none;
  }
  .find-controls .shop-tabs {
    width: 100%;
    justify-content: flex-start;
  }
  .shop-tab {
    flex: 1;
    padding: 7px 5px;
  }
  .find-controls .select-wrap {
    max-width: 100%;
    min-width: 0;
  }
  .find-form {
    padding-left: 10px;
  }
  .find-form input {
    font-size: 14px;
  }
  .find-form .btn {
    padding: 8px 13px;
  }
  .shop-browse {
    align-items: flex-start;
  }
  .find-identity strong {
    font-size: 15px;
  }
}

.pending-list {
  margin-top: 28px;
}
.pending-list h2 {
  margin: 0;
  font-size: 21px;
}
.pending-list > .fine {
  margin: 5px 0 12px;
}
.audit-link,
.audit-heading,
.audit-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.audit-link {
  width: fit-content;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 18px;
}
.audit-totals,
.audit-grid {
  display: grid;
  gap: 14px;
}
.audit-totals {
  grid-template-columns: repeat(4, 1fr);
}
.audit-totals > div,
.label-audit {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.audit-totals strong {
  display: block;
  color: var(--deep);
  font-size: 27px;
}
.audit-counts {
  margin: 15px 0;
  color: var(--muted);
}
.audit-counts b {
  color: var(--deep);
}
.ingredient-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 5px;
}
.skin-use {
  display: block;
  color: var(--deep);
  font-size: 13px;
  font-weight: 650;
  margin: 0 0 7px;
}
.ingredient-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid var(--chip-line, #d9e5dd);
  border-radius: 6px;
  background: var(--chip-bg, #f3f7f3);
  color: var(--chip-ink, #37553f);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: start;
  overflow-wrap: anywhere;
}
.ingredient-chip .ico { flex: none; }
.entry-name {
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: start;
}
.product-text, .find-hit { cursor: pointer; }
.ingredient-list > [role="listitem"] { display: inline-flex; max-width: 100%; }
.ingredient-chip, .inline-term { cursor: help; }
.ingredient-chip > span, .inline-term {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: #708877;
  text-underline-offset: 3px;
}
.ingredient-chip:hover, .ingredient-chip:focus-visible { border-color: currentColor; }
.inline-term {
  display: inline;
  color: inherit;
  padding: 0;
  font: inherit;
  overflow-wrap: anywhere;
  text-align: start;
}
.inline-term:hover, .inline-term:focus-visible { color: var(--deep); }
.ingredient-tooltip {
  position: fixed;
  inset: auto;
  z-index: 100;
  box-sizing: border-box;
  width: max-content;
  max-width: min(292px, calc(100vw - 16px));
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #365a48;
  border-radius: 9px;
  background: #223c30;
  box-shadow: 0 5px 18px #132b232b;
  color: #f6fbf7;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 450;
  text-align: start;
  overflow-wrap: anywhere;
  cursor: auto;
}
.ingredient-tooltip[hidden] { display: none; }
.ingredient-tooltip > b { display: block; margin-bottom: 3px; color: white; font-weight: 700; }
.chip-meat, .chip-poultry { --chip-bg: #fbf2eb; --chip-ink: #794628; --chip-line: #eedacb; }
.chip-drop, .chip-fish { --chip-bg: #edf5f7; --chip-ink: #2c5e69; --chip-line: #d0e3e8; }
.chip-grain, .chip-lipid { --chip-bg: #faf6e9; --chip-ink: #705820; --chip-line: #e9dfc3; }
.chip-capsule, .chip-molecule { --chip-bg: #f5f2fa; --chip-ink: #5c4875; --chip-line: #e0d9eb; }
.ingredient-note { margin: 8px 0 0; }
.find-identity .ingredient-list { margin-top: 6px; }
.card-stores { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.card-stores:empty { display: none; }
.seller-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.seller-link > .ico { flex: none; }
.shop-links .seller-link:hover, .store-name.seller-link:hover { background: #e1eee0; }
@media (max-width: 650px) {
  .find-hit .stores { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; }
}
.comparison-picker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #bfd2c3;
  border-radius: 6px;
  color: var(--deep);
  background: white;
}
.comparison-picker:focus-within { outline: 2px solid var(--green); }
.comparison-choice { display: grid; gap: 2px; line-height: 1.4; }
.comparison-choice small { color: var(--muted); }
.comparison-picker > .ico { flex-shrink: 0; }
.comparison-picker select {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
@media (max-width: 590px) {
  .compare-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-table .cmp-label { grid-column: 1 / -1; padding: 5px 8px; }
  .compare-table > div:not(.cmp-label) { padding: 8px; }
}
.audit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 32px;
}
.label-audit {
  overflow-wrap: anywhere;
}
.label-audit h2 {
  font-size: 19px;
  margin: 10px 0 6px;
}
.label-audit p,
.audit-heading small {
  color: var(--muted);
}
.audit-heading {
  justify-content: space-between;
}
.audit-actions {
  margin: 12px 0;
}
.audit-actions:empty {
  display: none;
}
.label-audit details {
  margin-top: 14px;
}
.label-audit summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--deep);
}
.label-audit .sources {
  margin-top: 8px;
}
@media (max-width: 700px) {
  .audit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .audit-totals {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sort-tools {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
  min-width: 0;
}
.catalog-bar > .sort-tools {
  width: auto;
  margin: 0;
}
.sort-tools .sort {
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
.sort-help {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 5px 9px;
  border: 1px solid #c7dacb;
  border-radius: 8px;
  background: #f3f8f3;
  color: var(--deep);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.sort-help:hover {
  background: #e6f2e8;
}
.sort-help:focus-visible,
.criterion-entry summary:focus-visible,
.other-criteria > summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.guide-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.criterion-color-0 { --mark: #1453a4; --wash: #edf4ff; }
.criterion-color-1 { --mark: #9a4310; --wash: #fff1df; }
.criterion-color-2 { --mark: #61661c; --wash: #f3f5df; }
.criterion-color-3 { --mark: #845021; --wash: #fbefdf; }
.criterion-color-4 { --mark: #495773; --wash: #edf0fb; }
.criterion-color-5 { --mark: #136344; --wash: #e7f5ec; }
.criterion-color-6 { --mark: #9c3853; --wash: #fdebf0; }
.criterion-color-7 { --mark: #684092; --wash: #f3eafa; }
.criterion-color-8 { --mark: #8a3131; --wash: #fceee8; }
.criterion-color-9 { --mark: #126471; --wash: #e6f6f7; }
.food-filters {
  margin: 12px 0 16px;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.filter-heading h3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 16px;
}
.food-filters p {
  margin: 3px 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.criterion-choices, .food-ranks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.list-order { margin-top: 9px; color: var(--muted); font-size: 12px; }
.list-order b { color: var(--ink); }
.criterion-switch, .food-rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mark);
  background: var(--wash);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
}
.criterion-switch {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid transparent;
  cursor: pointer;
}
.criterion-switch i {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font: bold 11px/1 sans-serif;
}
.criterion-switch[aria-pressed="true"] {
  background: var(--mark);
  color: white;
}
.criterion-switch:not(:disabled):hover { border-color: var(--mark); }
.criterion-switch:disabled {
  color: #697169;
  background: #f0f1ee;
  border-color: #dfe2dc;
  cursor: not-allowed;
}
.criterion-switch:focus-visible { outline: 2px solid var(--mark); outline-offset: 2px; }
.food-ranks:not(:empty) { margin: 7px 0 9px; }
.product-visual > .photo-ranks {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  padding: 8px 5px 0 8px;
  line-height: 1;
  pointer-events: none;
}
.photo-ranks::before {
  content: "";
  float: right;
  width: 38px;
  height: 34px;
}
.photo-ranks .food-rank {
  max-width: 100%;
  margin: 0 3px 3px 0;
  vertical-align: top;
}
.product-visual:has(.photo-ranks .food-rank:nth-child(3)) {
  --pack-space: clamp(90px, 10vw, 120px);
  padding-bottom: var(--pack-space);
}
.product-visual:has(.photo-ranks .food-rank:nth-child(3)) .pack {
  top: auto;
  bottom: 6px;
  height: var(--pack-space);
  transform: translateX(-50%);
}
.food-rank {
  padding: 3px 7px;
  flex-wrap: wrap;
  column-gap: 5px;
  row-gap: 0;
  border-inline-start: 3px solid var(--mark);
  font-size: 11px;
}
.food-rank b { white-space: nowrap; }
.food-rank small { font-size: 11px; color: inherit; }
.food-rank.unranked { background: #f6f7f4; color: #5c685f; }
.rank-1,
.food-rank.is-first {
  padding: 4px 9px;
  border: 0;
  background: var(--mark, var(--green));
  color: #fff;
}
.rank-1,
.food-rank.is-first b {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.rank-2, .food-rank.is-second,
.rank-3, .food-rank.is-third {
  border: 0;
  background: color-mix(in srgb, var(--mark) var(--rank-tint), white);
  color: color-mix(in srgb, var(--mark) 70%, black);
}
.rank-2, .food-rank.is-second { --rank-tint: 39%; padding: 3px 9px; }
.rank-3, .food-rank.is-third { --rank-tint: 18%; padding: 3px 8px; }
.rank-2, .food-rank.is-second b { font-size: 14px; font-weight: 750; line-height: 1.25; }
.rank-3, .food-rank.is-third b { font-size: 13px; font-weight: 700; line-height: 1.25; }
.food-facts { margin: 10px 0; font-size: 13px; }
.food-facts h4 { margin: 9px 0 3px; font-size: 12px; color: var(--muted); }
.food-facts dl { display: grid; gap: 2px; margin: 0; }
.food-facts dl div, .ingredient-amounts > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1px 6px;
}
.food-facts dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.food-facts p { margin: 0; color: var(--muted); }
.shopping-link { margin-inline-start: 12px; }
.feedback-nav, .feedback-topics, .feedback-total, .feedback-missing ul {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.feedback-nav a, .feedback-topics li {
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: white; color: var(--deep); font-size: 13px;
}
.feedback-nav a[aria-current] { background: var(--deep); color: white; }
.feedback-total { justify-content: space-between; margin: 18px 0 5px; }
.feedback-total small, .feedback-item > small, .feedback-method { color: var(--muted); }
.feedback-method { margin: 0 0 16px; font-size: 13px; line-height: 1.65; }
.feedback-page section > h2 { margin: 20px 0 8px; font-size: 19px; }
.feedback-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.feedback-item { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 16px; min-width: 0; }
.feedback-item h3 { margin: 5px 0 7px; font-size: 17px; }
.feedback-item h3 button, .feedback-missing button { text-align: start; }
.feedback-summary { margin: 4px 0 8px; font-size: 14px; line-height: 1.6; }
.feedback-topics, .feedback-sources ul, .feedback-missing ul { list-style: none; padding: 0; }
.feedback-topics { margin: 7px 0; }
.feedback-topics li { font-size: 12px; background: #f3f7f1; padding: 3px 7px; }
.feedback-sources summary, .feedback-missing summary { padding: 6px 0; cursor: pointer; font-size: 13px; color: var(--deep); font-weight: 650; }
.feedback-sources li { padding-block: 6px; border-top: 1px solid var(--line); }
.feedback-sources li > span { display: block; color: var(--muted); font-size: 12px; }
.feedback-sources small { margin-inline-start: 6px; color: var(--muted); }
.feedback-sources ul, .feedback-missing ul { margin: 4px 0; }
.feedback-missing { margin-top: 16px; }
.feedback-missing button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; }
@media (max-width: 700px) {
  .feedback-grid { grid-template-columns: minmax(0, 1fr); }
  .shopping-link { margin-inline-start: 0; }
}
.food-origin { margin-top: 9px; padding-top: 6px; border-top: 1px solid var(--line); }
.food-origin > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 3px; font-size: 12px; }
.food-origin > div > span:first-child { color: var(--muted); }
.food-origin .source { font-size: inherit; }
.food-facts .fine, .food-facts > small { display: block; margin-top: 6px; }
.criterion-entry {
  margin: 6px 0;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.criterion-entry.is-current {
  background: #f5faf5;
  border-color: #b9d4c1;
}
.criterion-entry > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 680;
}
.criterion-entry > summary::-webkit-details-marker {
  display: none;
}
.criterion-entry > summary > .ico {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--deep);
}
.criterion-entry[open] > summary > .ico {
  transform: rotate(180deg);
}
.criterion-entry > summary small {
  flex-shrink: 0;
  color: var(--deep);
  font-size: 11px;
}
.criterion-body {
  padding: 0 14px 14px;
  font-size: 14px;
  line-height: 1.6;
}
.criterion-body p {
  margin: 0;
}
.criterion-body p + p,
.criterion-examples {
  margin-top: 10px;
}
.criterion-examples {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.criterion-examples strong {
  color: var(--muted);
  font-size: 12px;
}
.criterion-examples ul {
  list-style: none;
  margin: 3px 0 0;
  padding: 0;
}
.criterion-examples li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) fit-content(50%);
  align-items: baseline;
  gap: 12px;
  padding-top: 3px;
}
.criterion-examples b {
  color: var(--deep);
  text-align: right;
}
.other-criteria {
  margin-top: 14px;
}
.other-criteria > summary {
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

/* Product sheet: keep identity and actions in view while the label scrolls. */
.affiliate-notice { margin: 8px 0 16px; padding: 9px 12px; border-left: 3px solid var(--deep); background: #edf5ef; color: #173f32; font-size: 14px; line-height: 1.5; }
.affiliate-notice p { margin: 0; }
.product-sheet .affiliate-notice { margin: 0; padding-inline: var(--sheet-pad); }
dialog.product-sheet {
  --sheet-pad: clamp(16px, 4vw, 26px);
  width: min(600px, calc(100% - 20px));
  max-height: 92dvh;
  overflow: hidden;
  background: white;
}
.product-sheet #dialog-inner {
  padding: 0;
  max-height: calc(92dvh - 2px);
  display: flex;
  flex-direction: column;
}
.product-sheet .x { z-index: 1; }
.product-sheet .detail-product {
  flex: none;
  gap: 14px;
  padding: 18px 56px 15px var(--sheet-pad);
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.product-sheet .detail-pic { width: 65px; height: 72px; border-radius: 9px; }
.product-sheet .detail-pic .pack { height: 60px; max-width: 90%; object-fit: contain; }
.product-sheet .detail-product h2 { margin: 3px 0; font-size: clamp(18px, 3vw, 23px); overflow-wrap: anywhere; }
.product-sheet .detail-product small { font-size: 12px; color: var(--muted); }
.product-sheet .skin-use { margin: 0; font-size: 13px; }
.sheet-body { overflow: auto; overscroll-behavior: contain; padding: 16px var(--sheet-pad); }
.sheet-body h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.4; }
.product-sheet .food-facts { margin: 0 0 16px; background: none; padding: 0; }
.product-sheet .food-facts dl { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 8px; }
.product-sheet .primary-fact {
  grid-column: span 2;
  display: block;
  padding: 9px 12px;
  margin-bottom: 5px;
  border-radius: 8px;
  background: #edf5ef;
  color: var(--deep);
}
.product-sheet .primary-fact dd { font-size: clamp(18px, 3vw, 25px); line-height: 1.35; }
.product-sheet .food-facts dd small { font-size: 12px; font-weight: 540; white-space: nowrap; }
.product-sheet .secondary-fact {
  grid-column: span 3;
  padding: 4px 5px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.product-sheet .secondary-fact dt, .product-sheet .label-energy span { color: var(--muted); }
.product-sheet .label-energy, .sheet-metric {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 9px;
  margin: 6px 0 0; font-size: 13px;
}
.product-sheet .label-energy b, .sheet-metric b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sheet-ingredients { padding-bottom: 12px; }
.sheet-care { background: var(--paper); border-inline-start: 3px solid var(--green); padding: 9px 12px; margin-bottom: 12px; }
.sheet-care p, .fold-body p { margin: 5px 0; line-height: 1.55; font-size: 14px; }
.sheet-fold { border-top: 1px solid var(--line); }
.sheet-fold > summary {
  min-height: 42px;
  display: flex; align-items: center; gap: 10px;
  list-style: none; cursor: pointer; font-size: 14px; font-weight: 650;
}
.sheet-fold > summary::-webkit-details-marker { display: none; }
.sheet-fold > summary > span { margin-inline-end: auto; }
.sheet-fold > summary > small { color: var(--muted); font-size: 12px; font-weight: 500; text-align: end; }
.sheet-fold > summary > svg { color: var(--muted); flex: none; }
.sheet-fold[open] > summary > svg { transform: rotate(180deg); }
.sheet-fold summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: 4px; }
.fold-body { padding: 2px 3px 12px; }
.fold-body .food-origin { margin: 0; padding: 0; border: 0; }
.sheet-links { display: flex; gap: 5px 12px; flex-wrap: wrap; margin: 7px 0; }
.fold-body .fine, .source-date { color: var(--muted); font-size: 12px; }
.product-sheet .shop-section { margin: 0; padding: 12px 0 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.product-sheet .modal-actions {
  flex: none; padding: 11px var(--sheet-pad); margin: 0; border-top: 1px solid var(--line); background: var(--paper);
}
.product-sheet .modal-actions .btn { min-height: 42px; }
@media (max-width: 480px) {
  .product-sheet .detail-product { padding-top: 14px; padding-bottom: 12px; gap: 10px; }
  .product-sheet .detail-pic { width: 48px; height: 57px; }
  .product-sheet .detail-pic .pack { height: 48px; }
  .product-sheet .primary-fact { padding: 7px 8px; }
  .product-sheet .food-facts dl { column-gap: 5px; }
}
@media (max-width: 700px) {
  .rank-meta {
    flex-wrap: wrap;
    gap: 7px;
  }
}

/* Shared page hierarchy */
.release { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.nav-short { display: none; }
.page-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 18px; }
.page-top h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; }
.page-top small { color: var(--muted); font-size: 13px; }
.page-disclosure { border-block: 1px solid var(--line); padding: 0 3px; margin: 12px 0 16px; }
.page-disclosure > summary { cursor: pointer; padding: 10px 0; font-size: 13px; font-weight: 650; color: var(--deep); }
.page-disclosure > p { color: var(--muted); font-size: 13px; max-width: 85ch; margin: 0 0 12px; }
.page-disclosure summary:focus-visible, .feedback-sources summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.key-observation { margin: 0 0 14px; padding: 12px 14px; border-radius: 8px; color: var(--deep); background: #edf5ef; font-weight: 620; }
.detail-part + .sheet-fold, .key-observation + .sheet-fold { margin-top: 14px; }

/* One search entry and one category chooser on the home page. */
.home .hero { display: flex; align-items: center; height: 210px; margin-bottom: 24px; }
.home .hero-copy { width: 58%; padding: 18px clamp(18px, 3.6vw, 42px); max-width: none; }
.home .hero h1 { margin: 0 0 12px; font-size: clamp(27px, 3.4vw, 42px); line-height: 1.16; }
.home .hero .find-form { margin: 0; max-width: 465px; background: white; }
.hero-link { display: inline-flex; align-items: center; gap: 5px; color: var(--deep); font-size: 14px; font-weight: 640; margin-top: 10px; }
.hero-link:hover { text-decoration: underline; }
.rank-block > .category-tabs { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; margin-top: 14px; overflow: visible; }
.category-tabs button { min-width: 0; display: grid; justify-items: center; align-content: center; gap: 3px; border-radius: 9px; padding: 7px 3px; white-space: normal; line-height: 1.2; }
.category-tabs .clay { width: 36px; }
.category-tabs button.active { border-color: var(--green); background: #edf5ef; color: var(--deep); }
.home-criteria { margin: 0 0 12px; }
.home-food-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; }
.home-food-count strong { font-size: 15px; }
.home-food-count span { color: var(--muted); font-size: 13px; }
.home-criteria summary small, .catalog-criteria summary small { font-size: inherit; font-weight: 500; margin-left: 8px; color: var(--muted); }
.home-criteria .food-filters, .filter-panel .food-filters { border: 0; border-radius: 0; padding: 0; margin: 0 0 10px; background: transparent; }
.home-criteria .filter-heading h3, .catalog-criteria .filter-heading h3 { display: none; }
.filter-panel .catalog-criteria { margin: 0; border-bottom: 0; }
.catalog-criteria .filter-heading { justify-content: flex-end; }
.catalog-criteria .food-filters { border-top: 0; }
.filter-heading { margin-bottom: 6px; }
.clinic-promo { min-height: 0; }
.clinic-promo h2 { margin-top: 0; }
.clinic-promo .map-art { width: 90px; height: 65px; right: 12px; bottom: 66px; }
.clinic-promo form { margin-top: 60px; }
.product-text .primary-fact dd { font-variant-numeric: tabular-nums; }
.rank-meta { margin: 8px 0; }

/* Filters stay together; cards lead with the three comparable label values. */
.filter-panel, .find-controls { background: white; border: 1px solid var(--line); padding: 12px 16px; border-radius: 12px; }
.filter-panel .tabs { margin: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; }
.filter-panel .catalog-bar { flex-wrap: wrap; margin: 10px 0; }
.catalog-bar .catalog-count { flex: 1 1 auto; min-width: fit-content; }
.filter-panel .food-filters { padding-top: 8px; border-top: 1px solid var(--line); margin-bottom: 0; }
.filter-panel .clinical-note { margin: 0; padding: 7px 0 0; background: transparent; border: 0; border-radius: 0; }
.catalog-tools { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 9px 0 12px; }
.catalog-tools .text-link { color: var(--deep); margin: 0; padding: 3px 0; min-height: 28px; }
.product-text .food-facts dl { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
.product-text .food-facts dl > div { display: block; padding: 6px 4px; background: #edf5ef; color: var(--deep); border-radius: 5px; }
.product-text .food-facts dt { font-size: 11px; overflow-wrap: anywhere; }
.product-text .food-facts dd { font-size: 13px; line-height: 1.3; }
.product-text .food-facts h4 { color: var(--ink); }
.card-origin { display: flex; flex-wrap: wrap; gap: 3px 9px; align-items: baseline; color: var(--muted); font-size: 12px; }
.card-stores { padding-top: 6px; }
.overview-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 14px 0; }
.overview-stats > div { background: #edf5ef; border-radius: 8px; padding: 10px 14px; }
.overview-stats dt { color: var(--muted); font-size: 13px; }
.overview-stats dd { margin: 0; color: var(--deep); font-size: 26px; font-weight: 730; line-height: 1.2; font-variant-numeric: tabular-nums; }
.feedback-item .feedback-sources .feedback-topics li { border: 0; padding: 3px 7px; }
.feedback-item h3 button { padding: 0; }
.hospital .h-body h3 { margin: 3px 0; }
.hospital .h-body > div { margin-top: 10px; padding-top: 8px; }
.disease-page .big .disease-card { min-height: 92px; }
.saved-page > h2 { border-top: 1px solid var(--line); padding-top: 12px; }
.label-audit .audit-actions .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: start; }
.find-page .find-controls { margin: 10px 0; }
.find-page .shop-browse { margin-top: 14px; }
.compare-table > .sheet-fold { grid-column: 1 / -1; padding: 0 10px; background: var(--paper); }
.compare-table .fold-body { padding: 0 0 8px; }
.cmp-extra { display: grid; grid-template-columns: 90px repeat(2,minmax(0,1fr)); }
.cmp-extra > div { padding: 8px; border-top: 1px solid var(--line); overflow-wrap: anywhere; background: white; }
.cmp-extra .source { margin-inline-end: 8px; }
.compare-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:14px 0 8px; }
.compare-scroll { overflow-x:auto; overscroll-behavior-x:contain; max-width:100%; }
.compare-scroll .multi-compare, .multi-compare .cmp-extra { grid-template-columns:var(--compare-label-width) repeat(var(--columns),minmax(0,1fr)); }
.compare-scroll .multi-compare { min-width:calc(2px + var(--compare-label-width) + var(--columns) * var(--compare-column-min)); margin-top:0; }
.compare-choice-cell > .pack {
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(76px, 8vw, 100px);
  margin-bottom: 8px;
  padding: 6px;
  border-radius: 6px;
  background: var(--paper);
}
@media (max-width: 590px) {
  dialog.comparison-sheet { --compare-label-width: 64px; --compare-column-min: 126px; }
}
.compare-scroll .multi-compare .cmp-label { grid-column:auto; }
.multi-compare > div:not(.cmp-label), .multi-compare .cmp-extra > div:not(.cmp-label) { border-inline-end:1px solid var(--line); }
.multi-compare .compare-remove { display:block; color:var(--muted); padding:3px 6px; font-size:12px; margin-top:6px; text-decoration:underline; }
.pet-profile-dialog { width:min(560px,calc(100vw - 32px)); max-height:85vh; overflow:auto; border:1px solid var(--line); border-radius:16px; padding:24px; }
.pet-profile-dialog::backdrop { background:#0006; }
.pet-profile-dialog label { display:block; }
.pet-profile-dialog select,.pet-profile-dialog input[name=dogName] { max-width:100%; margin:8px 0; }
.pet-allergen-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.pet-allergen-options label { display:flex; align-items:center; gap:8px; }
.pet-profile-dialog fieldset { margin:16px 0; padding:16px; }
.pet-profile-dialog details { margin-top:20px; }
.allergy-notice { background:#eef5f1; padding:10px 12px; border-radius:8px; font-size:13px; }
.allergy-notice .text-link { margin-inline-end:.45em; }
.allergy-status { display:block; width:fit-content; max-width:100%; font-size:12px; line-height:1.5; padding:2px 7px; border-radius:5px; background:#f2f3f0; color:#49564c; margin:4px 0; }
.allergy-tier-0 { background:#e4f3eb; color:#165a3b; }
.allergy-tier-2 { background:#fbe9df; color:#7b3a19; }
.allergy-detail { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-bottom:8px; }
.food-pairing { border:1px solid var(--line); border-radius:10px; margin:12px 0; color:var(--ink); overflow:hidden; }
.food-pairing summary { display:flex; gap:8px; align-items:center; padding:12px; cursor:pointer; font-weight:650; color:var(--green); background:#eef5f0; }
.food-pairing summary .ico:last-child { margin-inline-start:auto; }
.food-pairing[open] summary .ico:last-child { transform:rotate(180deg); }
.pairing-content { padding:12px; }
.pairing-content h4,.pairing-content ul { margin:0; padding:0; }
.pairing-content li { display:flex; align-items:center; justify-content:space-between; gap:8px; border-bottom:1px solid var(--line); padding:8px 0; }
.pairing-content section + section { margin-top:12px; }
.pairing-content .pair-title { display:block; text-align:start; color:var(--green); font-weight:650; text-decoration:underline; }
.pairing-content small { display:block; color:var(--muted); }
.pairing-content .btn { flex-shrink:0; }
.product-use > .skin-use { display:block; }
.feedback-extreme { padding:10px 0; border-top:1px solid var(--line); }
.feedback-extreme h4 { margin:0 0 5px; }
.feedback-summary strong { color:var(--deep); font-size:16px; }
@media (min-width:701px) {
  .food-pairing { position:relative; overflow:visible; }
  .food-pairing summary { border-radius:9px; }
  .food-pairing[open] { z-index:2; }
  .food-pairing[open] .pairing-content {
    position:absolute; inset:calc(100% + 4px) 0 auto; max-height:min(42vh,320px); overflow:auto;
    background:white; border:1px solid var(--line); border-radius:10px; box-shadow:0 8px 24px #17291c25;
  }
}
@media (max-width: 620px) {
  .home .hero { height: auto; min-height: 160px; margin-bottom: 18px; }
  .home .hero-copy { width: 100%; padding: 16px; }
  .home .hero h1 { max-width: 65%; }
  .home .hero .find-form { margin-top: 22px; }
  .hero-link { font-size: 13px; margin-top: 6px; }
  .rank-block > .category-tabs { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .category-tabs button { display: flex; align-items: center; justify-content: center; padding: 6px 2px; font-size: 12px; }
  .category-tabs .clay { width: 24px; }
  .filter-panel, .find-controls { padding: 10px; }
  .filter-panel .catalog-bar { gap: 5px; }
  .overview-stats > div { padding: 9px; }
  .overview-stats dt { font-size: 12px; }
  .overview-stats dd { font-size: 22px; }
}
@media (max-width: 590px) {
  .cmp-extra { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cmp-extra > .cmp-label { grid-column: 1 / -1; }
  .product-text .food-facts dl { grid-template-columns: 1fr; gap: 0; background: #edf5ef; border-radius: 6px; padding: 3px 6px; }
  .product-text .food-facts dl > div { display: flex; justify-content: space-between; padding: 2px 0; gap: 2px; }
  .head-inner .nav-label { display: none; }
  .head-inner .nav-short { display: inline; }
  #site-header .head-inner { grid-template-columns: minmax(0,1fr) auto; }
  .head-inner nav { min-width: 0; }
  .home .hero:before {
    inset: 0 0 auto auto; width: 40%; height: 76px;
    background: url("assets/hero.webp") right top / auto 100% no-repeat;
    mask-image: linear-gradient(90deg, transparent, black 30%);
  }
  .filter-panel .catalog-bar > .catalog-count { width: auto; order: -2; }
  .filter-panel .catalog-bar > .btn { order: -1; margin-left: auto; }
  .filter-panel .catalog-bar { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filter-panel .catalog-count { grid-column: span 2; }
  .filter-panel .select-wrap { min-width: 0; }
  .filter-panel .tabs { flex-wrap: wrap; }
  .filter-panel .sort-tools { grid-column: 1/-1; }
}
@media (max-width: 760px) {
  .h-filter { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .h-filter label { min-width: 0; max-width: none; }
  .h-filter select { width: 100%; }
  .h-filter .btn { grid-column: 1/-1; justify-self: end; }
}
@media (min-width: 591px) and (max-width: 1200px) {
  #site-header .head-inner { height: auto; display: grid; grid-template-columns: 1fr auto; gap: 0; }
  .head-inner .brand { height: 50px; justify-self: start; }
  .head-inner .head-actions { grid-area: 1 / 2; }
  .head-inner nav { grid-column: 1/-1; justify-content: space-between; height: 38px; }
}

/* Shared grid tracks keep the same parts of adjacent cards on one baseline. */
.product-grid { row-gap: 0; }
.product-grid > .product,
.product-grid .product-text {
  display: grid;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
}
.product-grid > .product { grid-row: span 9; margin-block-end: 12px; }
.product-grid .product-text {
  grid-row: span 8;
  align-items: start;
}
.product-text > small, .product-text .skin-use, .product-text .seller-link > span,
.product-text .ingredient-chip > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-text h3 { margin: 3px 0 5px; }
.product-text h3 .entry-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.product-text .skin-use { margin: 0 0 10px; }
.product-text .food-facts, .product-text .metric { margin: 0 0 10px; }
.product-text .food-facts .facts-heading { margin: 0 0 4px; }
.amount-link {
  display: inline-flex; align-items: center; gap: 3px; padding: 2px 0;
  font: inherit; color: var(--deep);
}
.product-text .amount-section { margin: 0 0 10px; min-width: 0; }
.product-text .amount-section h4 { margin: 0 0 3px; font-size: 12px; }
.amount-unknown { color: var(--muted); font-size: 12px; }
.product-sheet .amount-section { margin: 0 0 16px; }
.product-sheet .amount-section .source { margin-top: 5px; }
.amount-section .ingredient-amounts { overflow-wrap: anywhere; }
.product-text .ingredient-amounts { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 12px; }
.product-text .ingredient-amounts > div { display: inline; }
.product-text .ingredient-amounts b { font-variant-numeric: tabular-nums; }
.ingredient-pair { display: inline-flex; gap: inherit; max-width: 100%; min-width: 0; }
.product-text .ingredient-list [role=listitem] { display: inline-flex; max-width: 100%; min-width: 0; }
.product-text .ingredient-chip { min-width: 0; }
.product-text .card-origin {
  grid-row: 7;
  display: grid;
  align-content: start;
  gap: 3px;
}
.product-text .card-stores { grid-row: 8; align-items: center; }
.product-text .store-name { min-width: 0; max-width: min(100%, 12em); }
.seller-offer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px 7px; max-width: 100%; min-width: 0; }
.offer-price { color: var(--ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer-meta, .offer-unknown, .offer-scope, .review-sample { color: var(--muted); font-size: 12px; }
.offer-meta { flex-basis: 100%; }
.card-stores:has(.seller-offer), .shop-links:has(.seller-offer) { display: grid; justify-items: start; gap: 7px; }
.shop-links .seller-offer + .seller-offer { margin-top: 3px; }
.sheet-tabs {
  display: flex; flex: none; padding: 0 var(--sheet-pad); gap: 20px;
  border-bottom: 1px solid var(--line);
}
.sheet-tabs button { min-height: 43px; padding: 0 2px; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 650; }
.sheet-tabs button[aria-selected=true] { color: var(--deep); border-color: var(--green); }
.sheet-tabs button span { font-size: 12px; }
.product-sheet .sheet-body { min-height: 0; }
.review-sample { margin: 0 0 8px; }
.board-page { max-width: 1150px; min-height: 60vh; padding-bottom: 52px; }
.board-heading, .board-toolbar, .board-toolbar > div, .board-byline, .board-actions, .board-pages, .board-back {
  display: flex; align-items: center; gap: 10px;
}
.board-heading { justify-content: space-between; margin-bottom: 24px; }
.board-heading h1, .board-reader h1 { margin: 0; letter-spacing: -.055em; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.board-layout { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 24px; align-items: start; }
.board-sidebar, .board-panel, .board-paper { background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.board-sidebar { padding: 19px 11px 12px; }
.board-sidebar h2, .board-kicker { margin: 0 10px 10px; font-size: 13px; color: var(--muted); font-weight: 700; }
.board-menu { display: grid; gap: 3px; }
.board-menu a { padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.board-menu a:hover, .board-menu a[aria-current] { background: #eaf4ed; color: var(--deep); }
.board-menu a[aria-current] { box-shadow: inset 3px 0 var(--green); }
.board-mobile-menu { display: none; }
.board-panel { padding: 22px; min-width: 0; }
.board-toolbar { justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.board-toolbar h2, .board-replies h2 { font-size: 21px; line-height: 1.3; }
.board-total, .board-replies h2 span { font-size: 14px; color: var(--green); font-weight: 700; }
.board-description, .board-tip { color: var(--muted); font-size: 14px; line-height: 1.65; }
.board-description { margin: -6px 0 14px; }
.board-form .board-description { margin: 0; font-size: 12px; font-weight: 400; }
.board-form .board-description:empty { display: none; }
.board-search { display: flex; max-width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.board-search label { display: flex; align-items: center; min-width: 0; padding-left: 10px; color: var(--muted); }
.board-search input { width: 155px; min-width: 0; border: 0; background: transparent; padding: 8px; font-size: 13px; }
.board-search button { padding: 0 11px; font-size: 13px; font-weight: 700; color: var(--deep); }
.board-notice { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 9px; background: #edf5ef; color: var(--deep); }
.board-notice span, .reply-count, .board-empty .text-link { display: inline-flex; align-items: center; gap: 5px; }
.board-notice span { font-size: 12px; white-space: nowrap; }
.board-notice strong { flex: 1; font-size: 14px; }
.board-empty { padding: 40px 12px 33px; text-align: center; }
.board-empty > svg { margin: 0 auto 10px; color: #779783; }
.board-empty h3 { font-size: 17px; margin: 0 0 6px; }
.board-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.board-table th, .board-table td { padding: 13px 7px; border-bottom: 1px solid var(--line); text-align: left; }
.board-table th { font-size: 12px; color: var(--muted); }
.board-table td:first-child, .board-date { white-space: nowrap; }
.board-subject { width: 52%; overflow-wrap: anywhere; }
.board-subject a { font-weight: 700; }
.board-subject a:hover, .board-back:hover, .board-guide a:hover { text-decoration: underline; }
.board-author { overflow-wrap: anywhere; }
.board-date, .board-author, .reply-count { color: var(--muted); font-size: 12px; }
.board-badge { display: inline-block; padding: 3px 8px; font-size: 12px; font-weight: 650; border-radius: 6px; background: #edf1f0; color: #3c5653; }
.badge-questions { color: #285571; background: #e8f2f7; }
.badge-food { color: #795921; background: #f7f0df; }
.badge-products { color: #744b67; background: #f7edf3; }
.badge-clinics { color: #58527d; background: #efedf7; }
.board-reader { max-width: 790px; margin: 0 auto; }
.board-back { width: fit-content; margin: 0 0 13px; color: var(--deep); font-size: 14px; font-weight: 650; }
.board-paper { padding: clamp(18px, 4vw, 36px); overflow-wrap: anywhere; }
.board-paper > h1 { margin: 8px 0 20px; }
.board-kicker { margin-left: 0; color: var(--green); }
.board-guide { margin-bottom: 18px; }
.board-guide > div { display: grid; grid-template-columns: 145px 1fr; align-items: baseline; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.board-guide dd { margin: 0; color: var(--muted); font-size: 14px; }
.board-form { display: grid; gap: 16px; }
.board-form label, .board-fields { display: grid; gap: 6px; }
.board-form label { font-weight: 650; font-size: 14px; }
.board-fields { grid-template-columns: 1fr 1fr; gap: 14px; }
.board-form input, .board-form select, .board-form textarea, .board-mobile-menu select {
  width: 100%; min-width: 0; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--ink);
  background: #fff; border: 1px solid #c9d6cc; border-radius: 8px;
}
.board-form textarea { resize: vertical; line-height: 1.65; }
.board-form textarea:focus-visible { outline: 3px solid #308e6b; outline-offset: 3px; }
.board-actions { justify-content: flex-end; }
.board-error { color: #a03128; font-size: 14px; }
.board-error:empty { display: none; }
.board-byline { flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.board-byline a, .board-byline button { padding: 3px 5px; color: var(--deep); text-decoration: underline; }
.board-prose { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.board-body { padding: 22px 0 28px; margin-top: 15px; border-top: 1px solid var(--line); }
.board-replies { padding-top: 20px; border-top: 1px solid var(--line); }
.board-replies ul { list-style: none; padding: 0; margin: 14px 0; }
.board-replies li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.board-replies li p { margin-top: 5px; }
.board-replies .board-form { padding: 15px; background: var(--paper); border-radius: 10px; gap: 10px; }
.board-replies input { max-width: 240px; }
.board-pages { justify-content: center; padding-top: 18px; font-size: 14px; }
.board-pages a { color: var(--green); font-weight: 650; }
@media (max-width: 800px) {
  .board-layout { grid-template-columns: 1fr; gap: 12px; }
  .board-sidebar { padding: 0; border: 0; background: none; }
  .board-sidebar h2, .board-menu { display: none; }
  .board-mobile-menu { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; }
  .board-mobile-menu select { width: auto; flex: 1; }
}
@media (max-width: 590px) {
  .board-panel { padding: 14px; }
  .board-heading { margin-bottom: 16px; }
  .board-toolbar { flex-wrap: wrap; }
  .board-search, .board-search label, .board-search input { flex: 1; }
  .board-search { flex-basis: 100%; }
  .board-fields, .board-guide > div { grid-template-columns: 1fr; }
  .board-table thead { display: none; }
  .board-table tbody, .board-table tr { display: block; }
  .board-table tr { border-bottom: 1px solid var(--line); padding: 11px 0; }
  .board-table td { border: 0; padding: 2px 0; }
  .board-table td:first-child, .board-table .board-subject { display: block; width: 100%; }
  .board-table .board-author, .board-table .board-date { display: inline; margin-right: 8px; }
  .board-notice { padding: 10px; gap: 6px; }
  #site-header .head-inner nav { gap: 3px; }
}
@media (max-width: 590px) {
  #home-ranking .product-grid:not(.home-food-grid) {
    display: grid;
    grid-template-rows: repeat(9, auto);
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 60%;
  }
}

/* Personal care records */
.care-page { max-width: 1120px; min-height: 60vh; padding-bottom: 48px; }
.care-page h1 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.2; letter-spacing: -.05em; }
.care-page h2 { font-size: 20px; line-height: 1.4; }
.care-head, .care-identity, .care-switch, .care-actions, .care-private, .care-section-head,
.care-side h2, .care-entry header, .care-type, .care-editor-actions { display: flex; align-items: center; gap: 9px; }
.care-head, .care-section-head { justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.care-head { margin-bottom: 24px; }
.care-identity { min-width: 0; gap: 14px; overflow-wrap: anywhere; }
.care-identity > span { border-radius: 14px; padding: 12px; background: #deeee0; color: var(--deep); }
.care-switch, .care-actions { flex-wrap: wrap; }
.care-switch label, .care-filters label { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.care-switch select, .care-filters select, .care-filters input { min-width: 0; max-width: 100%; padding: 7px 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; font: inherit; }
.care-switch select { max-width: 160px; }
.care-panel, .care-dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.5vw, 28px); background: #fff; }
.care-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 280px); gap: 18px; align-items: start; }
.care-panel { min-width: 0; }
.care-welcome { position: relative; isolation: isolate; overflow: hidden; margin-top: 22px; padding: clamp(24px, 4vw, 52px); border-radius: 20px; background: #e0eedc; }
.care-welcome::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 42%; background: url("assets/hero.webp") right center / cover no-repeat; mask-image: linear-gradient(90deg, transparent, black 28%); }
.care-welcome > div { max-width: 55%; }
.care-welcome h2 { font-size: clamp(23px, 2.7vw, 32px); letter-spacing: -.045em; }
.care-welcome p { color: #465d4d; margin-top: 8px; }
.care-register { max-width: 415px; grid-template-columns: minmax(100px, 1fr) auto; align-items: end; gap: 8px; margin-top: 25px; }
.care-register input { height: 43px; }
.care-register .btn { min-height: 43px; justify-content: center; }
.care-register .board-error { grid-column: 1/-1; margin: 0; color: #a03128; }
.care-private, .care-hint { color: var(--muted); font-size: 13px; line-height: 1.6; }
.care-private { align-items: baseline; margin: 18px 0 0; }
.care-private svg { align-self: flex-start; margin-top: 3px; }
.care-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 18px 0; padding: 12px 0; border-block: 1px solid var(--line); }
.care-filters [hidden] { display: none; }
.care-side { background: #f1f6ef; }
.care-time { margin: 13px 0; font-size: 20px; color: var(--deep); font-weight: 700; font-variant-numeric: tabular-nums; }
.care-side .care-hint { margin-top: 12px; }
.care-reminder-more { border-top: 1px solid #d4e0d4; margin-top: 14px; padding-top: 10px; }
.care-reminder-more button { display: block; margin-top: 6px; }
.care-empty { text-align: center; padding: 32px 12px; }
.care-empty svg { margin: 0 auto 10px; color: #668b73; }
.care-empty h3 { font-size: 17px; }
.care-empty p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.care-day { margin: 21px 0 8px; font-size: 15px; }
.care-entry { padding: 15px; margin: 8px 0; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.care-entry header { justify-content: space-between; }
.care-entry header a, .care-delete { color: var(--muted); font-size: 13px; text-decoration: underline; }
.care-type { width: fit-content; margin: 0; border-radius: 6px; color: var(--deep); background: #eaf4ec; padding: 3px 8px; font-size: 13px; }
.care-type.visit { color: #765525; background: #f6eddc; }
.care-entry dl { margin: 10px 0 0; }
.care-entry dl:empty { display: none; }
.care-entry dl > div { display: grid; grid-template-columns: minmax(90px, 25%) 1fr; gap: 10px; padding: 4px 0; }
.care-entry dt { font-size: 13px; color: var(--muted); }
.care-entry dd { margin: 0; white-space: pre-wrap; }
.care-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.care-photos > div { position: relative; }
.care-thumb { display: block; width: 68px; height: 68px; padding: 0; border-radius: 9px; background: var(--paper); overflow: hidden; cursor: zoom-in; }
.care-thumb img { width: 100%; height: 100%; object-fit: cover; }
.care-remove { position: absolute; top: 0; right: 0; border-radius: 50%; background: #fff; color: var(--ink); width: 25px; height: 25px; text-align: center; }
.care-more { margin: 12px auto 0; }
.care-page:has(.care-editor) { max-width: 760px; }
.care-editor > h1 { margin-bottom: 20px; }
.care-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.care-field-grid label:has(textarea) { grid-column: 1/-1; }
.care-field-grid textarea { font-family: inherit; }
.care-field-grid input { min-width: 0; }
.care-editor-actions { justify-content: flex-end; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.care-delete { margin-right: auto; color: #934536; }
.care-photo-field .care-hint { margin-top: 6px; }
.care-dialog { position: fixed; margin: auto; width: min(440px, calc(100% - 32px)); max-height: 90vh; }
.care-dialog::backdrop { background: rgb(23 43 33 / .49); }
.care-dialog .care-close { position: absolute; top: 8px; right: 8px; background: var(--paper); }
.care-dialog:has(.care-full-photo) { width: auto; max-width: 94vw; padding: 6px; }
.care-full-photo { max-width: 90vw; max-height: 83vh; object-fit: contain; }
.care-tools,.account-panel { display:grid; gap:12px; align-content:start; }
.account-panel p,.account-panel small { color:var(--muted); font-size:14px; overflow-wrap:anywhere; }
.account-panel hr { width:100%; margin:0; border:0; border-top:1px solid var(--line); }
.account-panel [data-google] { min-width:0; color:var(--muted); font-size:13px; }
.care-welcome + .account-panel { margin-top:18px; }
.care-file-options { border-top:1px solid var(--line); padding-top:12px; }
.care-file-options summary { cursor:pointer; color:var(--muted); font-size:14px; }
.care-file-options > div { display:grid; gap:10px; margin-top:12px; justify-items:start; }
.account-panel > .text-link { justify-self:start; }
.member-trigger { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:36px; padding:4px 10px; border-radius:9px; font-size:14px; font-weight:700; white-space:nowrap; cursor:pointer; }
.member-signin { color:white; background:var(--green,#117653); }
.member-menu { position:relative; }
.member-menu summary { list-style:none; }
.member-menu summary::-webkit-details-marker { display:none; }
.member-avatar { display:grid; place-items:center; width:29px; height:29px; border-radius:50%; background:#e5f1e9; color:#155d46; }
.member-dropdown { position:absolute; z-index:12; right:0; top:calc(100% + 6px); display:grid; gap:4px; min-width:210px; max-width:min(290px,90vw); padding:14px; background:white; border:1px solid var(--line); border-radius:12px; box-shadow:0 7px 24px #193d2b1c; }
.member-dropdown strong { overflow-wrap:anywhere; padding-bottom:9px; border-bottom:1px solid var(--line); }
.member-dropdown small { color:var(--muted); }
.member-dropdown a,.member-dropdown button { text-align:start; padding:7px 3px; font-size:14px; }
.member-gate { display:grid; justify-items:start; gap:15px; max-width:640px; padding:clamp(24px,5vw,44px); margin:14px auto; background:white; border:1px solid var(--line); border-radius:16px; }
.member-gate h2,.member-gate p,.member-login-sheet h2,.member-login-sheet p { margin:0; }
.member-login-sheet { display:grid; gap:17px; padding:28px 16px; }
.remember-login { display:flex; align-items:center; gap:8px; width:fit-content; cursor:pointer; }
.remember-login input { width:16px; height:16px; margin:0; accent-color:var(--green); }
.saved-link [hidden] { display:none; }
@media(max-width:760px){
  .member-caption,.head-actions .saved-link span { display:none; }
  .member-menu .member-trigger { padding:2px; }
  .member-signin { font-size:12px; padding:4px 7px; }
}
.care-sponsor { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:14px 16px; margin-top:18px; background:#f4f5ee; border-radius:9px; color:#525e4e; font-size:13px; }
.care-sponsor a,#support-link { color:var(--deep); font-weight:650; }
#support-page { max-width:740px; }
.support-options { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.support-options a { padding:6px 10px; background:#edf4ed; border-radius:7px; color:var(--deep); }
#support-page form { margin-top:24px; }
#support-page form>.btn { justify-self:start; }
.foot-inner { flex-wrap:wrap; gap:10px; }
.board-form .board-consent,.board-form label:has(input[name="confirm"]) {display:flex;align-items:flex-start;gap:10px;}
.board-form .board-consent input,.board-form input[name="confirm"] {width:auto;flex:none;margin-top:4px;}
.policy-header,.policy-panel,#delete-page { width:min(780px,calc(100% - 36px)); margin-inline:auto; }
.policy-header { display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line); }
.policy-header>a { display:flex;align-items:center;gap:8px;color:var(--deep);font-size:22px;font-weight:800; }
.policy-header nav { font-size:14px; }
.policy-panel { margin-block:30px 54px; }
.policy-article { padding:clamp(18px,4vw,36px);border:1px solid var(--line);border-radius:var(--radius);background:white;line-height:1.75;overflow-wrap:anywhere; }
.policy-article[hidden] { display:none; }
.policy-article h1 { margin:0;font-size:clamp(25px,4vw,33px); }
.policy-article h2 { margin:1.5em 0 .45em;font-size:20px; }
.policy-date { color:var(--muted);font-size:14px; }
.policy-article p,.policy-article dl,.policy-article ul,.policy-article ol { margin:.65em 0; }
.policy-article ul,.policy-article ol { padding-inline-start:1.4em; }
.policy-article dt { font-weight:700;margin-top:1em; }
.policy-article dd { margin:0; }
.policy-article a:not(.btn),.policy-header nav a { color:var(--deep);text-decoration:underline;text-underline-offset:3px; }
#delete-page .care-panel { display:grid;gap:14px; }
@media (max-width: 780px) {
  .care-layout { grid-template-columns: 1fr; }
}
@media (max-width: 590px) {
  #site-header nav { overflow-x: auto; scrollbar-width: thin; }
  #site-header nav a { flex-shrink: 0; }
  .care-welcome { padding: 22px 18px; }
  .care-welcome > div { max-width: none; }
  .care-welcome::before { inset: 0 0 auto auto; width: 30%; height: 90px; }
  .care-welcome h2, .care-welcome > div > p { max-width: 72%; }
  .care-field-grid { grid-template-columns: 1fr; }
  .care-filters { gap: 8px; }
}

