:root {
  color-scheme: light;
  --ink: #263c33;
  --muted: #59695f;
  --green: #24664b;
  --green-dark: #174d38;
  --line: #d9e3dc;
  --soft: #f1f6f2;
  --paper: #fff;
  --accent: #a93f60;
  font: 15px/1.7 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: #fafcfb;
}
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select { font: inherit; font-size: 14px; }
button, a, input, select, summary, [tabindex="0"] { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 1px solid #aabfb0; background: white; color: var(--green-dark); padding: 8px 15px; border-radius: 5px; line-height: 1.5; }
button:hover { border-color: var(--green); background: #edf4ef; }
button:disabled { opacity: .48; cursor: not-allowed; }
:focus-visible { outline: 3px solid #b25072; outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
h2 { font-size: 20px; line-height: 1.5; }
h3 { font-size: 18px; line-height: 1.5; }
h4 { font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; }
input, select { min-width: 0; max-width: 100%; border: 1px solid #b8c8bd; background: white; color: var(--ink); border-radius: 4px; min-height: 39px; padding: 7px 10px; }
input::placeholder { color: #66736b; opacity: 1; }
label { display: grid; gap: 5px; font-size: 14px; color: #40584a; font-weight: 600; }
.shell { width: min(1220px, 100%); margin: 0 auto; padding-inline: 28px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; background: white; padding: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.hero { color: white; }
.hero-frame { position: relative; min-height: 308px; background: transparent; overflow: hidden; }
.hero-photo { position: absolute; top: 0; left: 28px; width: calc(100% - 56px); height: 100%; object-fit: cover; object-position: center 47%; }
.hero-shade { position: absolute; inset: 0 28px; background: linear-gradient(90deg, rgba(12, 31, 20, .88), rgba(12, 31, 20, .76) 62%, rgba(12, 31, 20, .58)); }
.hero-inner { position: relative; min-height: 308px; padding: 17px 28px 52px; }
.top-nav { position: absolute; top: 17px; right: 28px; z-index: 2; display: flex; justify-content: flex-end; gap: 21px; margin: 0; font-size: 14px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 36px; color: white; text-decoration: none; background: #163729e6; border: 1px solid #d7e9dc99; padding: 6px 11px; border-radius: 6px; line-height: 1.35; white-space: nowrap; }
.top-nav a:hover { background: #123022; border-color: #fff; text-decoration: none; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(235px, .55fr); align-items: start; gap: 36px; padding: 0; }
.hero-intro .knowledge-intro-copy { min-width: 0; max-width: 800px; }
.hero-intro .knowledge-intro-copy h1 { margin: 0 0 3px; font-family: "Noto Serif SC", "Songti SC", SimSun, serif; font-size: 34px; font-weight: 700; line-height: 1.4; }
.hero-intro .knowledge-tagline { color: #ffe3a9; margin: 0 0 1.15em; }
.hero-intro .knowledge-lead { color: #f4f8f5; max-width: 800px; margin: 0; font-size: 14px; line-height: 1.8; text-indent: 2em; }
.hero-intro .knowledge-lead + .knowledge-lead { margin-top: 9px; }
.hero-intro .knowledge-facts { margin-top: 52px; border-left-color: #d7e9dc80; }
.hero-intro .knowledge-facts div { border-bottom-color: #d7e9dc80; }
.hero-intro .knowledge-facts div:nth-child(odd) { border-right-color: #d7e9dc80; }
.hero-intro .knowledge-facts strong { color: #fff; }
.hero-intro .knowledge-facts span { color: #e6f1e9; }
.hero-intro-overline { position: absolute; right: 44px; bottom: 10px; z-index: 1; max-width: calc(100% - 72px); margin: 0; color: #fff; text-align: right; font-size: 14px; font-weight: 700; line-height: 1.6; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.hero-intro-overline span { display: block; color: #fff; -webkit-text-stroke: 1px #000; paint-order: stroke fill; }
.knowledge-intro { margin-top: 26px; }
.knowledge-intro-copy { min-width: 0; }
.knowledge-kicker { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.knowledge-tagline { margin-top: 3px; color: #8a5a31; font-family: "Noto Serif SC", "Songti SC", SimSun, serif; font-size: 20px; font-weight: 700; }
.knowledge-lead { margin-top: 13px; color: var(--ink); font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.knowledge-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; border-left: 1px solid var(--line); padding-left: 28px; gap: 0; }
.knowledge-facts div { min-height: 103px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.knowledge-facts div:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.knowledge-facts div:nth-child(3), .knowledge-facts div:nth-child(4) { border-bottom: none; }
.knowledge-facts strong { display: block; color: var(--green); font-size: 25px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.knowledge-facts span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.knowledge-resources { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: stretch; gap: 20px; margin-top: 20px; }
.knowledge-resource { min-width: 0; align-self: stretch; display: flex; flex-direction: column; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.knowledge-image-open { position: relative; display: block; width: 100%; aspect-ratio: 1.85 / 1; padding: 8px; border: 0; border-radius: 0; background: #f3f6f3; text-align: left; }
.knowledge-image-open:hover { background: #edf3ee; }
.knowledge-image-open img { width: 100%; height: 100%; object-fit: contain; background: #f3f6f3; }
.knowledge-image-hint { position: absolute; right: 20px; bottom: 20px; padding: 3px 8px; color: white; background: #174d38e8; border-radius: 4px; font-size: 12px; opacity: .88; }
.knowledge-image-open:hover .knowledge-image-hint { opacity: 1; }
.knowledge-resource figcaption { flex: 1; padding: 11px 17px 13px; }
.knowledge-resource:nth-child(2) figcaption { padding: 28px 17px 0; }
.knowledge-resource h3 { font-size: 17px; color: var(--green-dark); }
.knowledge-resource figcaption p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.classification-intro { margin-top: 28px; padding: 24px 26px 25px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.classification-intro .section-heading { margin-bottom: 14px; }
.classification-intro-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.classification-intro-copy p { color: var(--ink); font-size: 14px; line-height: 1.9; text-indent: 2em; overflow-wrap: anywhere; }
.classification-intro-copy p:last-child { grid-column: 1 / -1; }
.browse-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); margin-bottom: 26px; padding-top: 5px; }
.tabs { display: flex; gap: 26px; }
.tabs button { background: transparent; border: none; border-bottom: 3px solid transparent; border-radius: 0; padding: 15px 2px 12px; font-size: 17px; color: var(--muted); }
.tabs button[aria-selected="true"] { color: var(--green-dark); border-color: var(--green); font-weight: 700; }
.browse-note { font-size: 13px; color: var(--muted); }
.load-state { padding: 35px 0; color: var(--muted); }
.overview-strip { display: flex; gap: 25px; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 7px; padding: 16px 22px; margin-bottom: 28px; }
.overview-preview { flex: 0 0 168px; padding: 0; background: white; overflow: hidden; border-color: #c9d5cb; }
.overview-preview img { width: 100%; height: auto; }
.overview-strip h2 { font-size: 19px; }
.overview-strip p { margin: 5px 0; color: var(--muted); font-size: 14px; }
.text-button { border: none; background: transparent; padding: 3px 0; color: var(--green); border-radius: 0; font-weight: 600; text-align: left; }
.text-button:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 16px; }
.section-heading > span, .section-heading p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.dimension-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dimension-card { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: white; }
.dimension-open { border: none; padding: 0; border-radius: 0; display: block; width: 100%; text-align: left; color: var(--ink); background: white; }
.dimension-card:hover { box-shadow: 0 5px 20px #24392b12; border-color: #a2bdac; }
.dimension-open:hover { background: white; }
.dimension-card .photo-frame { display: block; height: 154px; background: #eef3ef; padding: 8px; }
.dimension-card .photo-frame img { height: 100%; width: 100%; object-fit: contain; transition: transform .25s ease; }
.dimension-card:hover .photo-frame img { transform: scale(1.025); }
.dimension-card-text { display: block; padding: 14px 18px 16px; }
.dimension-card-title { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 700; }
.dimension-card-title small { font-size: 12px; color: var(--muted); font-weight: 400; }
.dimension-card-text > small { display: block; margin: 3px 0 6px; font-size: 12px; color: var(--muted); }
.dimension-card-text > span:last-child { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.dimension-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 30px; }
.dimension-aside { align-self: start; position: sticky; top: 16px; }
.dimension-aside > button { margin-bottom: 12px; }
#dimensionNav { display: grid; border-left: 1px solid var(--line); gap: 3px; }
#dimensionNav button { border: none; background: none; border-radius: 0; text-align: left; padding: 9px 13px; color: var(--muted); }
#dimensionNav button[aria-current="true"] { border-left: 3px solid var(--green); margin-left: -2px; color: var(--green-dark); font-weight: bold; background: var(--soft); }
.mobile-dimension { display: none; }
.dimension-heading { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.dimension-heading .english { color: var(--muted); font-size: 14px; }
.dimension-heading p { margin-top: 9px; }
.type-section { border: 1px solid var(--line); border-radius: 6px; padding: 20px; margin-bottom: 19px; background: white; }
.type-section p { margin-top: 8px; overflow-wrap: anywhere; }
.type-children { margin-top: 16px; display: grid; gap: 17px; }
.type-child { border-left: 3px solid #c9dcd0; padding-left: 16px; }
.figure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 13px; margin-top: 14px; }
.source-figure { margin: 0; max-width: 400px; }
.source-figure button { width: 100%; background: #f4f7f5; border: 1px solid var(--line); padding: 10px; }
.source-figure img { height: 190px; width: 100%; object-fit: contain; transition: transform .2s; }
.source-figure button:hover img { transform: scale(1.025); }
.source-figure figcaption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 5px; }
.gallery-heading { margin-bottom: 17px; }
.filter-panel { border: 1px solid var(--line); border-radius: 6px; background: white; padding: 18px 20px; }
.filter-top { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(110px, 1fr)); gap: 15px; }
.filter-bottom { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 25px; margin-top: 14px; }
fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-size: 13px; color: #40584a; font-weight: 600; margin-bottom: 5px; }
.range-inputs { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.range-inputs input { width: 79px; }
.filter-note { font-size: 12px; color: var(--muted); align-self: center; margin-top: 18px; }
.quiet-button { background: #f4f7f5; border-color: var(--line); }
.primary-button { background: var(--green); color: white; border-color: var(--green); font-weight: 600; }
.primary-button:hover { background: var(--green-dark); color: white; }
.result-bar { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-block: 18px; font-size: 13px; color: var(--muted); }
#resultCount { flex: 0 0 auto; color: var(--ink); font-weight: 600; }
#activeFilters { text-align: right; overflow-wrap: anywhere; }
.cultivar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 21px; }
.cultivar-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 7px; background: white; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.cultivar-card:hover { box-shadow: 0 6px 22px #233b2b14; border-color: #a2bdac; }
.cultivar-image { width: 100%; border: none; border-radius: 0; padding: 15px; background: #eff4f0; overflow: hidden; }
.cultivar-image:hover { background: #eff4f0; }
.cultivar-image img { width: 100%; height: 225px; object-fit: contain; transition: transform .3s; }
.cultivar-card:hover .cultivar-image img { transform: scale(1.035); }
.cultivar-info { padding: 16px 18px 0; flex: 1; }
.cultivar-info .meta { font-size: 12px; }
.cultivar-info h3 { margin: 5px 0 9px; overflow-wrap: anywhere; line-height: 1.4; }
.card-params { font-size: 13px; color: var(--green-dark); display: flex; gap: 6px 13px; flex-wrap: wrap; }
.card-description { font-size: 14px; color: var(--muted); margin-top: 9px; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 17px 18px; }
.compare-toggle[aria-pressed="true"] { color: var(--accent); border-color: #bf7a91; background: #fff3f7; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 27px; flex-wrap: wrap; }
.pagination button { min-width: 38px; padding-inline: 11px; }
.pagination button[aria-current="page"] { color: white; border-color: var(--green); background: var(--green); }
.empty-state { padding: 55px 15px; text-align: center; border-bottom: 1px solid var(--line); }
.empty-state p { margin-top: 8px; color: var(--muted); }
.source-details { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 16px; }
summary { cursor: pointer; color: var(--green-dark); font-weight: 600; }
#sourceText { padding-top: 12px; max-width: 950px; font-size: 14px; color: var(--muted); }
#sourceText p { margin-bottom: 12px; overflow-wrap: anywhere; }
.source-history { margin-top: 15px; }
.site-footer { padding-block: 28px 35px; font-size: 12px; color: var(--muted); }
.site-footer p { margin: 4px 0; }
.site-code-version { margin-left: 24px; display: inline-block; }
.meta { font-size: 13px; color: var(--muted); }
.compare-tray { position: sticky; bottom: 0; z-index: 10; background: #fff; box-shadow: 0 -3px 20px #233b2b16; border-top: 1px solid #b8d0c1; }
.compare-tray-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 12px; }
.compare-tray-inner strong { font-size: 14px; }
.compare-names { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.compare-names button { border: none; padding: 1px; background: transparent; font-size: 12px; color: var(--muted); text-align: left; overflow-wrap: anywhere; }
.tray-actions { display: flex; gap: 10px; flex-shrink: 0; }
.toast { position: fixed; z-index: 100; bottom: 100px; left: 50%; transform: translateX(-50%); padding: 12px 20px; color: white; background: #243d30; border-radius: 6px; max-width: calc(100% - 28px); width: max-content; font-size: 14px; box-shadow: 0 5px 25px #0002; }
.dialog-notice { padding: 8px 22px; background: #f0f6f1; color: var(--green-dark); font-size: 14px; border-bottom: 1px solid var(--line); }
dialog { color: var(--ink); border: 1px solid #b7c8bc; border-radius: 8px; padding: 0; max-width: calc(100% - 40px); max-height: calc(100dvh - 48px); background: white; box-shadow: 0 15px 80px #0003; overscroll-behavior: contain; }
dialog[open] { animation: appear .17s ease-out; }
dialog::backdrop { background: #12291e99; }
.detail-dialog { width: 1060px; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 15px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: white; z-index: 2; }
.dialog-top h2 { font-size: 18px; overflow-wrap: anywhere; }
.dialog-tools { display: flex; gap: 12px; align-items: center; }
.icon-button { width: 37px; height: 37px; padding: 0; font-size: 23px; line-height: 1; flex-shrink: 0; }
.detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; padding: 25px; }
.detail-visual { min-width: 0; align-self: start; }
.detail-photo { width: 100%; padding: 17px; background: #f0f4f1; border-color: var(--line); }
.detail-photo img { height: 385px; width: 100%; object-fit: contain; }
.detail-visual > p { margin-top: 9px; font-size: 12px; color: var(--muted); text-align: center; }
.detail-text { min-width: 0; }
.detail-text h2 { font-size: 24px; overflow-wrap: anywhere; line-height: 1.45; }
.detail-text .detail-description { margin-top: 13px; }
.detail-text > button { margin-top: 16px; }
.properties { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 0; border-top: 1px solid var(--line); gap: 0 18px; }
.property { border-bottom: 1px solid var(--line); padding: 9px 0; font-size: 14px; }
.property dt { color: var(--muted); font-size: 12px; }
.property dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.property.wide { grid-column: 1 / -1; }
.dialog-bottom { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding: 14px 22px; }
.image-dialog { width: min(1280px, calc(100% - 36px)); height: calc(100dvh - 50px); overflow: hidden; }
.image-dialog[open] { display: flex; flex-direction: column; }
.image-toolbar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; padding: 10px 20px; flex-shrink: 0; border-bottom: 1px solid var(--line); background: #f7faf8; }
.image-toolbar output { min-width: 48px; text-align: center; font-size: 13px; }
.image-toolbar span { font-size: 12px; color: var(--muted); }
.image-viewport { flex: 1; overflow: auto; min-height: 0; background: #eaf0ec; touch-action: pan-x pan-y pinch-zoom; cursor: grab; overscroll-behavior: contain; }
.image-viewport.dragging { cursor: grabbing; }
.image-canvas { display: grid; place-items: center; min-width: 100%; min-height: 100%; padding: 14px; width: max-content; }
.image-canvas img { max-width: none; flex-shrink: 0; box-shadow: 0 2px 13px #0001; user-select: none; }
.compare-dialog { width: 1160px; }
.compare-scroll { overflow: auto; max-height: calc(100dvh - 170px); overscroll-behavior: contain; }
#compareTable { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
#compareTable th, #compareTable td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; overflow-wrap: anywhere; font-weight: 400; }
#compareTable tr > :first-child { width: 125px; position: sticky; left: 0; z-index: 1; background: #f0f5f1; font-size: 13px; font-weight: 600; }
#compareTable thead th { font-weight: 600; background: #f7faf8; }
#compareTable img { width: 100%; height: 170px; object-fit: contain; margin-bottom: 12px; }
#compareTable thead button { display: block; font-size: 12px; margin-top: 8px; padding: 4px 9px; }
.broken-image { outline: 1px dashed #b46c72; }
.image-error-note { display: block; font-size: 12px; color: #963d47; padding-top: 7px; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (min-width: 1350px) { .cultivar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cultivar-image img { height: 205px; } }
@media (max-width: 1050px) {
  .filter-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-label { grid-column: 1 / -1; }
  .dimension-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; }
  .detail-photo img { height: 300px; }
}
@media (max-width: 800px) {
  .shell { padding-inline: 20px; }
  .hero-frame { min-height: 550px; }
  .hero-photo { left: 20px; width: calc(100% - 40px); }
  .hero-shade { right: 20px; left: 20px; }
  .hero-inner { min-height: 550px; padding: 14px 20px 52px; }
  .top-nav { position: relative; top: auto; right: auto; margin-bottom: 17px; }
  .hero-intro { grid-template-columns: 1fr; gap: 14px; }
  .hero-intro .knowledge-facts { margin-top: 0; }
  .hero-intro-overline { bottom: 10px; }
  .knowledge-facts { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; }
  .knowledge-resources { grid-template-columns: 1fr; }
  .dimension-grid { gap: 15px; }
  .dimension-card .photo-frame { height: 130px; }
  .dimension-card-text { padding: 12px; }
  .dimension-card-title { font-size: 16px; gap: 10px; }
  .dimension-card-title small { display: none; }
  .dimension-card-text > small { font-size: 11px; }
  .cultivar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-body { gap: 20px; padding: 20px; }
  .detail-text h2 { font-size: 21px; }
  .detail-photo img { height: 260px; }
  .properties { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shell { padding-inline: 17px; }
  .hero-frame { min-height: 620px; }
  .hero-photo { left: 17px; width: calc(100% - 34px); }
  .hero-shade { right: 17px; left: 17px; }
  .hero-inner { min-height: 620px; padding: 12px 17px 50px; }
  .knowledge-intro { margin-top: 20px; }
  .hero-intro .knowledge-intro-copy h1 { font-size: 29px; }
  .knowledge-tagline { font-size: 18px; line-height: 1.55; }
  .hero-intro .knowledge-lead { font-size: 13.5px; line-height: 1.72; }
  .knowledge-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .knowledge-facts div { min-height: 86px; padding: 9px 10px; }
  .knowledge-facts div:nth-child(odd) { padding-left: 0; }
  .knowledge-facts strong { font-size: 22px; }
  .knowledge-resources { gap: 14px; margin-top: 14px; }
  .knowledge-image-open { padding: 6px; }
  .knowledge-image-hint { right: 13px; bottom: 13px; font-size: 11px; }
  .knowledge-resource figcaption { padding: 10px 12px 12px; }
  .knowledge-resource:nth-child(2) figcaption { padding: 25px 12px 0; }
  .classification-intro { margin-top: 20px; padding: 18px 15px; }
  .classification-intro-copy { display: block; }
  .classification-intro-copy p + p { margin-top: 13px; }
  .hero-shade { background: #122a1ad9; }
  .top-nav { gap: 16px; font-size: 12px; margin-bottom: 15px; }
  .top-nav a { min-height: 32px; padding: 5px 8px; }
  .hero-intro-overline { right: 31px; bottom: 10px; max-width: calc(100% - 48px); font-size: 12px; }
  .browse-bar { margin-bottom: 20px; }
  .browse-note { display: none; }
  .tabs { gap: 23px; }
  .tabs button { font-size: 16px; }
  .overview-strip { padding: 13px; gap: 13px; align-items: start; }
  .overview-preview { flex-basis: 85px; margin-top: 5px; }
  .overview-strip h2 { font-size: 17px; }
  .overview-strip p { font-size: 13px; }
  .overview-strip .text-button { font-size: 13px; }
  .dimension-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .dimension-card .photo-frame { height: 123px; }
  .dimension-card-text > span:last-child { font-size: 13px; }
  .dimension-card-text > small { overflow-wrap: anywhere; min-height: 31px; line-height: 1.45; }
  .section-heading > span { font-size: 12px; }
  .dimension-layout { display: block; }
  .dimension-aside { position: static; }
  .mobile-dimension { display: grid; margin: 0 0 23px; }
  #dimensionNav { display: none; }
  .type-section { padding: 15px; }
  .type-child { padding-left: 11px; }
  .source-figure img { height: 190px; }
  .filter-panel { padding: 14px; }
  .filter-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .filter-bottom { gap: 12px 16px; }
  .filter-note { margin: 0; font-size: 11px; }
  .range-inputs { gap: 6px; }
  .range-inputs input { width: 69px; }
  .cultivar-grid { gap: 16px; grid-template-columns: 1fr; }
  .cultivar-image img { height: 255px; }
  .cultivar-info h3 { font-size: 19px; }
  .result-bar { display: block; }
  #activeFilters { text-align: left; margin-top: 4px; font-size: 12px; }
  .compare-tray-inner { gap: 8px; padding-block: 10px; }
  .compare-names { display: none; }
  .tray-actions { gap: 7px; }
  .tray-actions button { padding: 7px 11px; }
  dialog { max-width: 100%; max-height: 100dvh; border-radius: 0; }
  .detail-dialog { width: 100%; height: 100dvh; margin: 0; }
  .detail-body { display: block; padding: 17px; }
  .detail-photo img { height: 290px; }
  .detail-text { margin-top: 22px; }
  .properties { grid-template-columns: 1fr 1fr; }
  .dialog-top { padding: 11px 15px; gap: 8px; }
  .dialog-top .meta { font-size: 12px; }
  .dialog-tools { gap: 7px; }
  #copyLink { padding: 7px; font-size: 12px; }
  .image-dialog { margin: 0; width: 100%; height: 100dvh; }
  .image-toolbar { padding: 9px 12px; }
  .image-toolbar span { width: 100%; }
  .compare-dialog { width: 100%; margin: auto 0; }
  #compareTable th, #compareTable td { padding: 10px 12px; }
  #compareTable tr > :first-child { width: 95px; }
  .compare-scroll { max-height: calc(100dvh - 120px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
