/* Seeds and breeding systems page. The search box, tree and entry layout are
   shared in assets/tree.css. Status of a pollination check uses the
   status colours, always with a symbol and a sentence. */

.sd-sci i { font-style: italic; }
.sd-author { font-size: 0.6em; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.sd-common { color: var(--ink-2); font-size: 0.85em; }
.a-row a .sd-common { font-size: 0.82rem; }
.sd-names { margin: 0 0 6px; }
.sd-names .a-lang { margin-right: 2px; }

.sd-glance { margin: 10px 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.sd-system { margin: 0 0 6px; }
.sd-sys { font-weight: 700; }
.sd-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-flag {
  display: inline-block; font-size: 0.85rem; padding: 2px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink); text-decoration: none;
}
a.sd-flag:hover { border-color: var(--cyan); }

.sd-block { margin: 14px 0; }
.sd-block h3 { font-size: 1rem; margin-bottom: 4px; }
.sd-block p { margin: 0; }
.sd-list { margin: 4px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.sd-true { font-weight: 700; color: var(--green-ink); }
.sd-true-no { color: var(--danger); }
.sd-true-varies { color: var(--ink-2); }
.sd-cultivar { border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; }
.sd-cultivar .kv th { width: 9em; color: var(--ink-2); font-weight: 600; }
.sd-pairs { margin-top: 8px; }
.sd-pairs h4 { font-size: 0.85rem; color: var(--ink-2); margin: 0 0 4px; }
.sd-chip-plain { color: var(--ink-2); }

.sd-check { border: 1px solid var(--cyan); border-radius: 10px; padding: 10px 12px; background: color-mix(in oklab, var(--cyan-wash) 30%, var(--surface)); }
.sd-check .fields { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.sd-check .fields .field.select { grid-column: auto; }
.sd-pair-result { margin: 10px 0 4px !important; font-weight: 600; }
.sd-verdict { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; color: #fff; font-weight: 800; }
.sd-v-compatible { background: #0ca30c; }
.sd-v-semi { background: #fab219; color: #10201c; }
.sd-v-incompatible { background: #d03b3b; }
.sd-v-unknown { background: var(--muted); }

.sd-concepts { margin: 8px 0 18px; }
.sd-concept-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.sd-concept.is-target { border-color: var(--cyan); box-shadow: 0 0 0 2px var(--cyan-wash); }
.sd-concept p { font-size: 0.93rem; }
.sd-concept p:last-child { margin-bottom: 0; }
.sd-concept-group { margin: 14px 0 6px; }
.sd-group-h { font-size: 1.05rem; color: var(--ink-2); margin: 0 0 8px; }
.sd-concept h4 { font-size: 1rem; margin: 0 0 6px; }
.sd-concept-grid { align-items: start; }

.sd-overview { margin: 0 0 18px; }
.sd-two { display: grid; gap: 4px 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); font-size: 0.93rem; }
.sd-table-wrap { overflow-x: auto; margin-top: 6px; }
.sd-table { min-width: 760px; }
.sd-table thead th { font-size: 0.8rem; color: var(--ink-2); font-weight: 650; }
.sd-table tbody th { font-weight: 500; min-width: 11em; }
.sd-table td { font-size: 0.88rem; }
