.leaf-cross-section-interactive {
 --leaf-diagram-ink:var(--wiki-text); --leaf-diagram-muted:var(--wiki-text-muted);
 --leaf-cell-fill:var(--wiki-surface); --leaf-chloroplast-fill:#66896d;
 --leaf-xylem-fill:color-mix(in srgb,#8caaad 24%,var(--wiki-surface));
 --leaf-phloem-fill:color-mix(in srgb,#ac9a76 23%,var(--wiki-surface));
 width:100%;min-width:0;margin:1rem auto;container-type:inline-size;color:var(--wiki-text);
}
.leaf-cross-section-interactive,.leaf-cross-section-interactive * {box-sizing:border-box;}
.leaf-cross-section-interactive__card {border:1px solid var(--wiki-line);border-radius:var(--wiki-radius-lg);background:var(--wiki-surface);overflow:hidden;}
.leaf-cross-section-interactive .leaf-cross-section-interactive__header {padding:.8rem 1rem .6rem;display:flex;align-items:baseline;justify-content:space-between;gap:1rem;}
.leaf-cross-section-interactive .leaf-cross-section-interactive__header h3 {margin:0;font-size:1.12rem;line-height:1.3;}
.leaf-cross-section-interactive p {margin:0;max-width:none;}
.leaf-cross-section-interactive__header p {font-size:.8rem;color:var(--wiki-text-muted);}
.leaf-cross-section-interactive__toolbar {display:flex;align-items:center;gap:.6rem;padding:0 1rem .7rem;font-size:.83rem;}
.leaf-cross-section-interactive__toolbar select {font:inherit;color:var(--wiki-text);background:var(--wiki-surface-soft);border:1px solid var(--wiki-line);border-radius:5px;min-height:40px;padding:.35rem .6rem;max-width:100%;min-width:0;}
.leaf-cross-section-interactive__detail {margin-left:auto;display:flex;align-items:center;gap:.3rem;white-space:nowrap;cursor:pointer;}
.leaf-cross-section-interactive__detail input {accent-color:#66896d;width:16px;height:16px;}
.leaf-cross-section-interactive__diagram {background:var(--wiki-surface-soft);padding:.4rem .8rem;border-block:1px solid var(--wiki-line);}
.leaf-cross-section-interactive .leaf-cross-section-interactive__svg {display:block;width:100%;height:clamp(220px,38cqw,min(330px,calc(100svh - var(--interactive-viewport-offset, 100px) - 280px)));overflow:visible;}
.leaf-cross-section-interactive__info {padding:.7rem 1rem;min-height:110px;}
.leaf-cross-section-interactive .leaf-cross-section-interactive__title {font-size:.98rem;margin:0 0 .25rem;line-height:1.3;}
.leaf-cross-section-interactive__desc {font-size:.87rem;line-height:1.5;}
.leaf-cross-section-interactive .leaf-cross-section-interactive__info details,.leaf-cross-section-interactive .leaf-cross-section-interactive__note {box-shadow:none;border:0;background:none;margin:.35rem 0 0;padding:0;font-size:.8rem;}
.leaf-cross-section-interactive .leaf-cross-section-interactive__note {border-top:1px solid var(--wiki-line);padding:.55rem 1rem;margin:0;}
.leaf-cross-section-interactive details summary {background:none;margin:0;padding:.2rem 0;min-height:0;cursor:pointer;color:var(--wiki-text-muted);font-weight:500;}
.leaf-cross-section-interactive details summary::before,.leaf-cross-section-interactive details summary::after {display:none;}
.leaf-cross-section-interactive details summary {list-style:disclosure-closed;display:list-item;margin-left:1em;}
.leaf-cross-section-interactive details[open] summary {list-style:disclosure-open;}
.leaf-cross-section-interactive details p {padding:.4rem 0;line-height:1.55;color:var(--wiki-text-muted);}
.leaf-cross-section-interactive__layer {--leaf-fill:var(--leaf-cell-fill);--leaf-stroke:var(--wiki-text-muted);cursor:pointer;}
.leaf-cross-section-interactive__layer[data-target='palisade-mesophyll'],.leaf-cross-section-interactive__layer[data-target='spongy-mesophyll'],.leaf-cross-section-interactive__layer[data-target='guard-cells'] {--leaf-fill:color-mix(in srgb,#91ac83 10%,var(--wiki-surface));}
.leaf-cross-section-interactive__layer[data-target='xylem'] {--leaf-fill:var(--leaf-xylem-fill);}
.leaf-cross-section-interactive__layer[data-target='phloem'] {--leaf-fill:var(--leaf-phloem-fill);}
.leaf-cross-section-interactive__cell-bg {fill:var(--leaf-fill);stroke:var(--leaf-stroke);stroke-width:1;stroke-linejoin:round;transition:fill .16s,stroke-width .16s;}
.leaf-cross-section-interactive__layer.is-active {--leaf-fill:color-mix(in srgb,#85a879 30%,var(--wiki-surface));--leaf-stroke:var(--wiki-text);}
.leaf-cross-section-interactive__layer.is-active .leaf-cross-section-interactive__cell-bg,.leaf-cross-section-interactive__layer:hover .leaf-cross-section-interactive__cell-bg {stroke-width:1.9;}
.leaf-cross-section-interactive__layer:focus-visible {outline:none;}
.leaf-cross-section-interactive__layer:focus-visible .leaf-cross-section-interactive__cell-bg {stroke:var(--wiki-text);stroke-width:2.5;}
.leaf-cross-section-interactive__chloroplast {fill:var(--leaf-chloroplast-fill);}
.leaf-cross-section-interactive__vacuole {fill:none;stroke:var(--wiki-text-muted);stroke-width:.65;opacity:0;transition:opacity .16s;}
.leaf-cross-section-interactive.has-detail .leaf-cross-section-interactive__vacuole {opacity:.6;}
.leaf-cross-section-interactive__cuticle-bg {fill:color-mix(in srgb,#829f87 30%,var(--wiki-surface));stroke:var(--leaf-stroke);stroke-width:.8;}
.leaf-cross-section-interactive__layer.is-active .leaf-cross-section-interactive__cuticle-bg {stroke-width:2;}
.leaf-cross-section-interactive__bundle path,.leaf-cross-section-interactive__bundle ellipse {fill:var(--wiki-surface);stroke:var(--wiki-text-muted);stroke-width:.8;}
.leaf-cross-section-interactive__lumen {fill:var(--wiki-surface-soft);stroke:var(--wiki-text-muted);stroke-width:.6;pointer-events:none;}
.leaf-cross-section-interactive__pore-wall {fill:none;stroke:var(--wiki-text);stroke-width:2.4;}
.leaf-cross-section-interactive__annotations path,.leaf-cross-section-interactive__stoma-label path {stroke:var(--wiki-text-muted);stroke-width:.8;fill:none;}
.leaf-cross-section-interactive__annotations text,.leaf-cross-section-interactive__stoma-label text {fill:var(--wiki-text-muted);font-family:inherit;font-size:12px;}
@container(max-width:640px) {
 .leaf-cross-section-interactive .leaf-cross-section-interactive__header {display:block;padding:.65rem .75rem .45rem;}
 .leaf-cross-section-interactive__header p {margin-top:.15rem;}
 .leaf-cross-section-interactive__toolbar {padding:0 .75rem .55rem;gap:.35rem;font-size:.77rem;}
 .leaf-cross-section-interactive__toolbar>label:first-child {display:none;}
 .leaf-cross-section-interactive__toolbar select {flex:1;width:50%;min-height:44px;}
 .leaf-cross-section-interactive__detail {font-size:.72rem;}
 .leaf-cross-section-interactive__diagram {padding:.3rem;}
 .leaf-cross-section-interactive .leaf-cross-section-interactive__svg {height:clamp(190px,57cqw,320px);}
 .leaf-cross-section-interactive__annotations {display:none;}
 .leaf-cross-section-interactive__info {padding:.65rem .75rem;min-height:130px;}
 .leaf-cross-section-interactive .leaf-cross-section-interactive__note {padding:.45rem .75rem;}
}
@media(prefers-reduced-motion:reduce) {.leaf-cross-section-interactive * {transition:none!important;}}

.leaf-cross-section-interactive .leaf-cross-section-interactive__note {border-radius:0;}

@container(max-width:640px) {.leaf-cross-section-interactive__stoma-label text {font-size:20px;} .leaf-cross-section-interactive__desc {font-size:.82rem;} }
