/* Bitki Grubuna Göre Kullanım · dozaj tablosu (tools/dozaj_tablo.py) */
.dz { --dz-fol: #284e43; --dz-fol-soft: #dfe7e2; --dz-drip: #b8892a; --dz-drip-soft: #f6ecd2; --dz-line: #dfe3dc; }

.dz__top { display: grid; gap: 18px 48px; align-items: end; margin-bottom: 26px; }
@media (min-width: 1024px) { .dz__top { grid-template-columns: minmax(0, 1fr) auto; } }
.dz__intro { max-width: 70ch; margin: 0; color: var(--body); font-size: 16px; line-height: 1.6; }
.dz__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--muted); }
.dz__key { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.dz__key svg { padding: 4px; width: 22px; height: 22px; border-radius: 50%; }
.dz__key--fol svg, .dz__th--fol svg, .dz__fol .dz__lbl svg { color: var(--dz-fol); background: var(--dz-fol-soft); }
.dz__key--drip svg, .dz__th--drip svg, .dz__drip .dz__lbl svg { color: var(--dz-drip); background: var(--dz-drip-soft); }

.dz__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dz__chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-size: 14.5px; line-height: 1; color: var(--ink); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.dz__chip span { min-width: 22px; padding: 3px 6px; border-radius: 999px; background: var(--cream); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dz__chip:hover { border-color: var(--ink); }
.dz__chip[aria-pressed="true"] { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.dz__chip[aria-pressed="true"] span { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
.dz__chip:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; }

.dz__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.dz__table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.dz__table thead th {
  position: sticky; top: 72px; z-index: 2; padding: 16px 22px; background: var(--forest-900); color: rgba(255, 255, 255, .92);
  font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; text-align: left;
}
.dz__table thead th:first-child { border-top-left-radius: 14px; }
.dz__table thead th:last-child { border-top-right-radius: 14px; }
.dz__table thead th:nth-child(1) { width: 24%; }
.dz__table thead th:nth-child(2) { width: 30%; }
.dz__th { display: inline-flex; align-items: center; gap: 9px; }
.dz__th svg { padding: 4px; width: 22px; height: 22px; border-radius: 50%; }
.dz__th--fol svg { color: #cfe3d8; background: rgba(255, 255, 255, .1); }
.dz__th--drip svg { color: #f0cf7a; background: rgba(255, 255, 255, .1); }

.dz__row > * { padding: 22px; vertical-align: top; background: #fff; border-bottom: 1px solid var(--dz-line); transition: background .2s var(--ease); }
.dz__row > :first-child { border-left: 1px solid var(--dz-line); }
.dz__row > :last-child { border-right: 1px solid var(--dz-line); }
.dz__row:hover > * { background: #fbfbf7; }
tbody .dz__row:last-of-type > :first-child { border-bottom-left-radius: 14px; }
tbody .dz__row:last-of-type > :last-child { border-bottom-right-radius: 14px; }
.dz__row[hidden] { display: none; }

.dz__crop { text-align: left; font-weight: 400; }
.dz__tag { display: inline-block; margin-bottom: 10px; padding: 3px 9px; border-radius: 999px; background: var(--cream); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.dz__name { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.dz__ex { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.dz__lbl { display: none; }
.dz__lead { margin: 0 0 10px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.dz__steps { margin: 0; padding: 0; list-style: none; }
.dz__steps li { position: relative; padding: 0 0 12px 22px; }
.dz__steps li:last-child { padding-bottom: 0; }
.dz__steps li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.dz__steps li::after { content: ""; position: absolute; left: 5.5px; top: 1.35em; bottom: -.15em; width: 1px; background: var(--line); }
.dz__steps li:last-child::after { display: none; }
.dz__steps strong, .dz__notes strong { font-weight: 600; color: var(--ink); }

.dz__dose { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 12px; padding-left: 12px; border-left: 3px solid var(--dz-fol); }
.dz__drip .dz__dose { border-left-color: var(--dz-drip); }
.dz__dose b { font-size: 28px; font-weight: 500; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dz__dose small { font-size: 13px; color: var(--muted); }
.dz__notes { margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.dz__notes li { position: relative; padding-left: 14px; margin-top: 6px; }
.dz__notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: currentColor; }

.dz__foot { display: grid; gap: 22px 40px; margin-top: 26px; align-items: center; }
@media (min-width: 1024px) { .dz__foot { grid-template-columns: minmax(0, 1fr) auto; } }
.dz__note { max-width: 78ch; margin: 0; padding: 16px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--dz-line); font-size: 14px; line-height: 1.6; color: var(--body); }
.dz__note strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.dz__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* tablet ve mobil: her bitki grubu bir kart */
@media (max-width: 899px) {
  .dz__table, .dz__table tbody { display: block; }
  .dz__table thead { display: none; }
  .dz__row { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; border: 1px solid var(--dz-line); border-radius: 14px; overflow: hidden; background: #fff; }
  .dz__row > * { display: block; padding: 18px; border: 0 !important; border-radius: 0 !important; }
  .dz__crop, .dz__time { grid-column: 1 / -1; }
  .dz__crop { padding-bottom: 6px; }
  .dz__time { padding-top: 10px; }
  .dz__fol, .dz__drip { border-top: 1px solid var(--dz-line) !important; }
  .dz__drip { border-left: 1px solid var(--dz-line) !important; }
  .dz__lbl { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .dz__lbl svg { padding: 3px; width: 20px; height: 20px; border-radius: 50%; }
  .dz__dose b { font-size: 24px; }
}
@media (max-width: 520px) {
  .dz__row { grid-template-columns: 1fr; }
  .dz__drip { border-left: 0 !important; }
  .dz__legend { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dz__chip, .dz__row > * { transition: none; } }
