/* /Components/ConnectionError.razor.rz.scp.css */
dialog[b-7yc1o0cbdi] {
    width: min(24rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 1px solid var(--paper-line, #d6ddd8);
    border-radius: 1.1rem;
    background: var(--panel-surface, #fff);
    color: var(--ink, #182c24);
    box-shadow: 0 1.5rem 5rem #0005;
}

dialog[b-7yc1o0cbdi]::backdrop { background: #071912a8; backdrop-filter: blur(5px); }
.prototype-error-card[b-7yc1o0cbdi] { padding: 2rem; text-align: center; }
.prototype-error-symbol[b-7yc1o0cbdi] { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--hover-surface, #eaf2ec); color: var(--botanical-green, #28734d); font-size: 2rem; }
h2[b-7yc1o0cbdi] { margin: 1rem 0 .7rem; font-size: 1.75rem; }
p[b-7yc1o0cbdi] { margin: 0 0 1.4rem; line-height: 1.75; }
button[b-7yc1o0cbdi] { min-height: 2.75rem; padding: .65rem 1.5rem; border: 0; border-radius: .6rem; background: var(--botanical-green, #28734d); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
button:hover[b-7yc1o0cbdi] { filter: brightness(1.1); }
button:focus-visible[b-7yc1o0cbdi] { outline: 3px solid var(--ink, #182c24); outline-offset: 4px; }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.layout-shell[b-nrae6gfu43] {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 48% -20%, var(--layout-glow), transparent 38%),
        var(--page-bg);
    color: var(--ink);
}

.app-main[b-nrae6gfu43] {
    min-height: 100vh;
    min-height: 100dvh;
}

.app-main:not(:has(> .atlas-shell))[b-nrae6gfu43] {
    padding: env(safe-area-inset-top) env(safe-area-inset-right)
        env(safe-area-inset-bottom) env(safe-area-inset-left);
}
/* /Components/Pages/Index.razor.rz.scp.css */
.atlas-shell[b-bxgwfb78gw] {
    min-height: 100vh;
    color: var(--ink);
}

.branch-browser[b-bxgwfb78gw] {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--paper-line);
}

.branch-list[b-bxgwfb78gw] {
    display: grid;
    gap: 0.3rem;
    margin-top: 0.65rem;
}

.branch-list button[b-bxgwfb78gw],
.load-branches[b-bxgwfb78gw],
.explore-descendants[b-bxgwfb78gw] {
    border: 1px solid var(--paper-line);
    background: color-mix(in srgb, var(--panel-surface) 88%, transparent);
    color: var(--ink);
}

.branch-list button[b-bxgwfb78gw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    text-align: left;
}

.branch-list button span[b-bxgwfb78gw],
.branch-list button strong[b-bxgwfb78gw],
.branch-list button small[b-bxgwfb78gw] {
    display: block;
}

.branch-list button strong[b-bxgwfb78gw] {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.75rem;
    font-style: italic;
}

.branch-list button small[b-bxgwfb78gw] {
    margin-top: 0.12rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.branch-list button:hover[b-bxgwfb78gw],
.branch-list button:focus-visible[b-bxgwfb78gw],
.load-branches:hover[b-bxgwfb78gw],
.load-branches:focus-visible[b-bxgwfb78gw],
.explore-descendants:hover[b-bxgwfb78gw],
.explore-descendants:focus-visible[b-bxgwfb78gw] {
    border-color: color-mix(in srgb, var(--botanical-green) 55%, var(--paper-line));
    color: var(--botanical-green);
    outline: none;
}

.load-branches[b-bxgwfb78gw],
.explore-descendants[b-bxgwfb78gw] {
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.62rem 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.load-branches:disabled[b-bxgwfb78gw] {
    cursor: wait;
    opacity: 0.55;
}

.site-header[b-bxgwfb78gw] {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 66px;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--paper-line);
    background: var(--header-surface);
    box-shadow: 0 3px 16px rgba(63, 51, 33, 0.08);
    backdrop-filter: blur(12px);
}

.site-header[b-bxgwfb78gw]::after {
    position: absolute;
    right: 1.5rem;
    bottom: -4px;
    left: 1.5rem;
    height: 1px;
    content: "";
    background: var(--paper-line);
}

.brand[b-bxgwfb78gw] {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 0.65rem;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark[b-bxgwfb78gw] {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    border: 1px solid rgba(55, 72, 43, 0.38);
    border-radius: 50%;
}

.brand-mark svg[b-bxgwfb78gw] {
    width: 1.35rem;
    fill: none;
    stroke: var(--botanical-green);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.25;
}

.brand-copy[b-bxgwfb78gw] {
    display: flex;
    flex-direction: column;
}

.brand-copy strong[b-bxgwfb78gw] {
    font-family: var(--font-display);
    font-size: 1.03rem;
    font-weight: 600;
    letter-spacing: 0.035em;
}

.brand-copy small[b-bxgwfb78gw],
.plate-title small[b-bxgwfb78gw] {
    margin-top: 0.03rem;
    color: var(--ink-muted);
    font-size: 0.54rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plate-title[b-bxgwfb78gw] {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 0.65rem;
    align-items: baseline;
    justify-items: center;
    text-align: center;
}

.plate-title > span[b-bxgwfb78gw] {
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.plate-title strong[b-bxgwfb78gw] {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.94rem;
    font-style: italic;
    font-weight: 600;
}

.plate-title small[b-bxgwfb78gw] {
    grid-column: 1 / -1;
}

.header-meta[b-bxgwfb78gw] {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 0.9rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.live-indicator[b-bxgwfb78gw] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.live-indicator i[b-bxgwfb78gw] {
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    background: var(--botanical-green);
    box-shadow: 0 0 0 3px rgba(56, 83, 45, 0.1);
}

.catalogue-number[b-bxgwfb78gw] {
    padding-left: 0.9rem;
    border-left: 1px solid var(--paper-line);
}

.atlas-stage[b-bxgwfb78gw] {
    position: relative;
    height: calc(100svh - 66px);
    min-height: 690px;
    overflow: hidden;
    background:
        linear-gradient(var(--atlas-grid-a) 1px, transparent 1px),
        linear-gradient(90deg, var(--atlas-grid-b) 1px, transparent 1px),
        radial-gradient(circle at 48% 45%, var(--atlas-glow), transparent 56%),
        var(--paper);
    background-size: 31px 31px, 31px 31px, auto, auto;
}

.atlas-stage[b-bxgwfb78gw]::before,
.atlas-stage[b-bxgwfb78gw]::after {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    content: "";
}

.atlas-stage[b-bxgwfb78gw]::before {
    inset: 0;
    opacity: 0.18;
    background-image:
        repeating-radial-gradient(circle at 0 0, transparent 0, var(--paper-fibre) 0.7px, transparent 1.1px, transparent 5px);
    mix-blend-mode: var(--texture-blend);
}

.atlas-stage[b-bxgwfb78gw]::after {
    inset: 0.9rem;
    border: 1px solid var(--paper-line);
    box-shadow: inset 0 0 80px rgba(103, 83, 45, 0.05);
}

.tree-panel[b-bxgwfb78gw] {
    position: absolute;
    inset: 0;
}

.tree-panel[b-bxgwfb78gw]  .tree-stage {
    width: 100%;
    min-height: 100%;
    height: 100%;
    border-radius: 0;
}

.figure-caption[b-bxgwfb78gw] {
    position: absolute;
    top: 1.55rem;
    left: clamp(19rem, 23vw, 24rem);
    z-index: 8;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    pointer-events: none;
}

.figure-caption > span[b-bxgwfb78gw] {
    margin-top: 0.22rem;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.figure-caption h1[b-bxgwfb78gw] {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.25rem, 1.7vw, 1.75rem);
    font-weight: 400;
    letter-spacing: -0.025em;
}

.figure-caption p[b-bxgwfb78gw] {
    margin: 0.25rem 0 0;
    color: var(--ink-muted);
    font-size: 0.6rem;
    font-style: italic;
}

.tree-legend[b-bxgwfb78gw] {
    position: absolute;
    top: 1.65rem;
    right: clamp(23rem, 25vw, 26rem);
    z-index: 8;
    display: flex;
    gap: 0.9rem;
    pointer-events: none;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tree-legend span[b-bxgwfb78gw] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tree-legend i[b-bxgwfb78gw] {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
}

.tree-legend .supported[b-bxgwfb78gw],
.species-symbol.supported[b-bxgwfb78gw] {
    background: var(--botanical-green);
}

.tree-legend .disputed[b-bxgwfb78gw],
.species-symbol.disputed[b-bxgwfb78gw] {
    background: var(--rust);
}

.tree-legend .proposed[b-bxgwfb78gw],
.species-symbol.proposed[b-bxgwfb78gw] {
    background: var(--violet-ink);
}

.floating-panel[b-bxgwfb78gw] {
    position: absolute;
    z-index: 12;
    width: clamp(245px, 18vw, 285px);
    border: 1px solid var(--paper-line);
    border-radius: 0.2rem;
    background: var(--panel-surface);
    box-shadow: var(--panel-shadow);
    backdrop-filter: blur(10px);
    transition: opacity 360ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1), background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.collection-overview .detail-panel[b-bxgwfb78gw] {
    pointer-events: none;
    opacity: 0;
}

.collection-overview .explore-panel[b-bxgwfb78gw] {
    pointer-events: auto;
    transform: translateX(0);
    opacity: 1;
}

.collection-overview .detail-panel[b-bxgwfb78gw] {
    transform: translateX(1.5rem);
}

.taxon-tree-view .explore-panel[b-bxgwfb78gw],
.taxon-tree-view .detail-panel[b-bxgwfb78gw] {
    transform: translateX(0);
    opacity: 1;
}

.collection-overview .figure-caption[b-bxgwfb78gw] {
    right: clamp(1.5rem, 5vw, 5rem);
    left: auto;
    max-width: 25rem;
}

.collection-overview .plate-note[b-bxgwfb78gw] {
    right: auto;
    left: 1.5rem;
    transform: none;
}

.floating-panel[b-bxgwfb78gw]::before {
    position: absolute;
    inset: 5px;
    z-index: -1;
    border: 1px solid var(--paper-line);
    content: "";
    pointer-events: none;
}

.explore-panel[b-bxgwfb78gw] {
    top: 1.45rem;
    bottom: 3.15rem;
    left: 1.5rem;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.detail-panel[b-bxgwfb78gw] {
    top: 1.45rem;
    right: 1.5rem;
    bottom: 3.15rem;
    width: clamp(290px, 21vw, 355px);
    padding: 1rem;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) transparent;
}

.panel-heading[b-bxgwfb78gw] {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--paper-line);
}

.section-number[b-bxgwfb78gw] {
    display: grid;
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(59, 72, 46, 0.38);
    border-radius: 50%;
    color: var(--botanical-green);
    font-family: Georgia, serif;
    font-size: 0.62rem;
    font-style: italic;
}

.panel-kicker[b-bxgwfb78gw] {
    margin: 0 0 0.08rem;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.48rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.panel-heading h2[b-bxgwfb78gw] {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.92rem;
    font-weight: 500;
}

.search-box[b-bxgwfb78gw] {
    display: flex;
    align-items: center;
    min-height: 2.35rem;
    margin-bottom: 0;
    padding: 0 0.15rem;
    border: 1px solid var(--paper-line);
    background: var(--field-surface);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-box:focus-within[b-bxgwfb78gw] {
    border-color: var(--focus-ring);
    box-shadow: 0 0 0 2px rgba(55, 78, 42, 0.08);
}

.search-box svg[b-bxgwfb78gw] {
    width: 0.9rem;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--ink-muted);
    stroke-linecap: round;
    stroke-width: 1.5;
}

.search-box input[b-bxgwfb78gw] {
    width: 100%;
    min-width: 0;
    padding: 0 0.55rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.72rem;
}

.search-box input[b-bxgwfb78gw]::placeholder {
    color: var(--ink-muted);
}

.search-box input[b-bxgwfb78gw]::-webkit-search-cancel-button {
    appearance: none;
}

.search-field[b-bxgwfb78gw] {
    position: relative;
    display: flex;
    flex: 1;
    min-width: 0;
}

.search-ghost[b-bxgwfb78gw] {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .search-field input:placeholder-shown:not(:focus)[b-bxgwfb78gw]::placeholder {
        color: transparent;
    }

    .search-field input:placeholder-shown:not(:focus) + .search-ghost[b-bxgwfb78gw] {
        position: absolute;
        inset: 0 0.55rem;
        display: grid;
        align-items: center;
        overflow: hidden;
        color: var(--ink-muted);
        font: 500 0.9rem / 1.25 var(--font-body);
        pointer-events: none;
    }

    .search-ghost span[b-bxgwfb78gw] {
        grid-area: 1 / 1;
        overflow: hidden;
        opacity: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
        animation: rotate-search-example-b-bxgwfb78gw 16s ease infinite;
    }

    .search-ghost span:nth-child(2)[b-bxgwfb78gw] { animation-delay: 4s; }
    .search-ghost span:nth-child(3)[b-bxgwfb78gw] { animation-delay: 8s; }
    .search-ghost span:nth-child(4)[b-bxgwfb78gw] { animation-delay: 12s; }
}

@keyframes rotate-search-example-b-bxgwfb78gw {
    0% { opacity: 0; transform: translateY(0.2rem); }
    2%, 23% { opacity: 1; transform: translateY(0); }
    25%, 100% { opacity: 0; transform: translateY(-0.2rem); }
}

.clear-search[b-bxgwfb78gw],
.search-submit[b-bxgwfb78gw] {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    color: var(--ink-muted);
}

.search-submit svg[b-bxgwfb78gw] {
    width: 1.2rem;
    stroke: currentColor;
}

.clear-search:hover[b-bxgwfb78gw],
.search-submit:hover[b-bxgwfb78gw] {
    background: var(--hover-surface);
    color: var(--ink);
}

.navigation-status[b-bxgwfb78gw] {
    margin: 0.5rem 0.3rem 0.15rem;
    color: var(--botanical-green);
    font-size: 0.8rem;
    line-height: 1.4;
}

.result-label[b-bxgwfb78gw] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.46rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.species-list[b-bxgwfb78gw] {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    overflow: auto;
    margin: 0.3rem 0 0;
    padding: 0;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) transparent;
}

.species-row[b-bxgwfb78gw] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    gap: 0.55rem;
    align-items: center;
    padding: 0.55rem 0.35rem;
    border: 0;
    border-bottom: 1px solid rgba(70, 64, 46, 0.12);
    background: transparent;
    color: inherit;
    text-align: left;
    transition: padding 170ms ease, background 170ms ease;
}

.search-feedback[b-bxgwfb78gw] {
    margin: 0.6rem 0.45rem 0.25rem;
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.search-result-arrow[b-bxgwfb78gw] {
    color: var(--botanical-green);
}

.species-row:hover[b-bxgwfb78gw],
.species-row:focus-visible[b-bxgwfb78gw],
.species-row.active[b-bxgwfb78gw] {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    outline: none;
    background: var(--hover-surface);
}

.species-number[b-bxgwfb78gw] {
    color: var(--ink-muted);
    font-family: Georgia, serif;
    font-size: 0.56rem;
    font-style: italic;
}

.species-copy[b-bxgwfb78gw] {
    min-width: 0;
}

.species-copy strong[b-bxgwfb78gw],
.species-copy small[b-bxgwfb78gw] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.species-copy strong[b-bxgwfb78gw] {
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.72rem;
    font-style: italic;
    font-weight: 600;
}

.species-copy small[b-bxgwfb78gw] {
    margin-top: 0.08rem;
    color: var(--ink-muted);
    font-size: 0.72rem;
}

.species-symbol[b-bxgwfb78gw] {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(57, 77, 44, 0.08);
}

.interaction-note[b-bxgwfb78gw] {
    margin: 0.7rem 0 0;
    padding-top: 0.65rem;
    border-top: 1px solid var(--paper-line);
    color: var(--ink-muted);
    font-family: Georgia, serif;
    font-size: 0.55rem;
    font-style: italic;
    text-align: center;
}

.lineage-path[b-bxgwfb78gw] {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0.9rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.44rem;
    white-space: nowrap;
}

.lineage-path button[b-bxgwfb78gw] {
    overflow: hidden;
    max-width: 68px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink-muted);
    text-overflow: ellipsis;
}

.lineage-path button:hover[b-bxgwfb78gw],
.lineage-path button:focus-visible[b-bxgwfb78gw] {
    color: var(--botanical-green);
    outline: none;
}

.lineage-path strong[b-bxgwfb78gw] {
    overflow: hidden;
    color: var(--ink);
    text-overflow: ellipsis;
}

.identity-topline[b-bxgwfb78gw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.55rem;
}

.rank-label[b-bxgwfb78gw],
.status-label[b-bxgwfb78gw] {
    font-family: var(--font-mono);
    font-size: 0.46rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rank-label[b-bxgwfb78gw] {
    color: var(--rust);
}

.status-label[b-bxgwfb78gw] {
    color: var(--botanical-green);
}

.status-label.disputed[b-bxgwfb78gw] {
    color: var(--rust);
}

.status-label.proposed[b-bxgwfb78gw] {
    color: var(--violet-ink);
}

.taxon-identity h2[b-bxgwfb78gw] {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1;
}

.common-name[b-bxgwfb78gw] {
    margin: 0.3rem 0 0;
    color: var(--botanical-green);
    font-family: Georgia, serif;
    font-size: 0.68rem;
    font-style: italic;
}

.taxon-description[b-bxgwfb78gw] {
    margin: 0.75rem 0 0;
    color: var(--ink-soft);
    font-size: 0.62rem;
    line-height: 1.52;
}

.fact-grid[b-bxgwfb78gw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin: 0.85rem 0 0;
    padding: 0.75rem 0;
    border-top: 1px solid var(--paper-line);
    border-bottom: 1px solid var(--paper-line);
}

.fact-grid div[b-bxgwfb78gw] {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.fact-grid dt[b-bxgwfb78gw] {
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.43rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.fact-grid dd[b-bxgwfb78gw] {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.7rem;
    font-weight: 600;
}

.evidence-section[b-bxgwfb78gw] {
    padding-top: 0.8rem;
}

.evidence-heading[b-bxgwfb78gw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.evidence-heading h3[b-bxgwfb78gw] {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.7rem;
    font-weight: 600;
}

.evidence-heading span[b-bxgwfb78gw] {
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border: 1px solid var(--paper-line);
    border-radius: 50%;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.45rem;
}

.empty-evidence[b-bxgwfb78gw] {
    margin: 0;
    padding: 0.65rem;
    border: 1px dashed var(--paper-line);
    color: var(--ink-muted);
    font-size: 0.55rem;
    font-style: italic;
}

.claim-card[b-bxgwfb78gw] {
    margin-bottom: 0.55rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--paper-line);
}

.claim-meta[b-bxgwfb78gw] {
    display: flex;
    justify-content: space-between;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.42rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.claim-card h4[b-bxgwfb78gw] {
    margin: 0.38rem 0 0;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.68rem;
    line-height: 1.3;
}

.claim-card p[b-bxgwfb78gw] {
    margin: 0.32rem 0 0.45rem;
    color: var(--ink-soft);
    font-size: 0.54rem;
    line-height: 1.42;
}

.claim-card a[b-bxgwfb78gw] {
    color: var(--botanical-green);
    font-family: var(--font-mono);
    font-size: 0.44rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
}

.claim-card a:hover[b-bxgwfb78gw],
.claim-card a:focus-visible[b-bxgwfb78gw] {
    color: var(--rust);
}

.plate-note[b-bxgwfb78gw] {
    position: absolute;
    right: 50%;
    bottom: 0.9rem;
    z-index: 8;
    transform: translateX(50%);
    color: var(--ink-muted);
    font-family: Georgia, serif;
    font-size: 0.52rem;
    font-style: italic;
    white-space: nowrap;
}

.plate-note > span[b-bxgwfb78gw] {
    margin-right: 0.45rem;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.43rem;
    font-style: normal;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.plate-note a[b-bxgwfb78gw] {
    margin-left: 0.55rem;
    color: var(--botanical-green);
    text-decoration: none;
}

.botanical-ornament[b-bxgwfb78gw] {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    fill: var(--ornament-fill);
    stroke: var(--ornament-stroke);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.05;
}

.botanical-ornament .stem[b-bxgwfb78gw] {
    fill: none;
    stroke-width: 1.4;
}

.fern-ornament[b-bxgwfb78gw] {
    bottom: -7rem;
    left: 14rem;
    width: 15rem;
    transform: rotate(-8deg);
}

.blossom-ornament[b-bxgwfb78gw] {
    top: 2rem;
    right: 17rem;
    width: 10rem;
    transform: rotate(7deg);
}

.error-state[b-bxgwfb78gw] {
    display: grid;
    min-height: calc(100vh - 66px);
    place-items: center;
    color: var(--ink-muted);
    font-family: Georgia, serif;
    font-style: italic;
}

.atlas-loading-screen[b-bxgwfb78gw] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    overflow: hidden;
    place-items: center;
    padding: 2rem;
    background:
        linear-gradient(rgba(45, 60, 38, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 60, 38, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--paper-light) 92%, transparent), var(--paper));
    background-size: 34px 34px, 34px 34px, auto;
    color: var(--ink);
}

.atlas-loading-screen[b-bxgwfb78gw]::before,
.atlas-loading-screen[b-bxgwfb78gw]::after {
    position: absolute;
    width: min(34rem, 60vw);
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--paper-line), transparent);
}

.atlas-loading-screen[b-bxgwfb78gw]::before { top: 14%; }
.atlas-loading-screen[b-bxgwfb78gw]::after { bottom: 14%; }

.loading-watermark[b-bxgwfb78gw] {
    position: absolute;
    right: -2rem;
    bottom: -3rem;
    width: min(36rem, 62vw);
    color: var(--botanical-green);
    opacity: 0.055;
    transform: rotate(-7deg);
}

.loading-watermark svg[b-bxgwfb78gw] {
    width: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.loading-card[b-bxgwfb78gw] {
    position: relative;
    z-index: 1;
    width: min(34rem, 100%);
    padding: clamp(1.5rem, 4vw, 2.8rem);
    border: 1px solid var(--paper-line);
    background: color-mix(in srgb, var(--panel-surface) 94%, transparent);
    box-shadow: 0 1.5rem 5rem rgba(30, 36, 26, 0.09), inset 0 0 0 5px color-mix(in srgb, var(--paper-line) 28%, transparent);
    backdrop-filter: blur(16px);
}

.loading-brand[b-bxgwfb78gw] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: clamp(2.2rem, 6vh, 4rem);
}

.loading-brand .brand-mark[b-bxgwfb78gw] {
    width: 2.5rem;
    height: 2.5rem;
}

.loading-brand div[b-bxgwfb78gw],
.loading-brand strong[b-bxgwfb78gw],
.loading-brand span[b-bxgwfb78gw] {
    display: block;
}

.loading-brand strong[b-bxgwfb78gw] {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    font-weight: 500;
}

.loading-brand div > span[b-bxgwfb78gw],
.loading-eyebrow[b-bxgwfb78gw],
.loading-meter-heading[b-bxgwfb78gw],
.loading-stages[b-bxgwfb78gw],
.loading-card > small[b-bxgwfb78gw] {
    font-family: var(--font-mono);
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.loading-brand div > span[b-bxgwfb78gw] {
    margin-top: 0.12rem;
    color: var(--ink-muted);
    font-size: 0.5rem;
}

.loading-eyebrow[b-bxgwfb78gw] {
    margin: 0 0 0.55rem;
    color: var(--botanical-green);
    font-size: 0.55rem;
    font-weight: 700;
}

.loading-card h1[b-bxgwfb78gw] {
    max-width: 28rem;
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.75rem, 4vw, 2.7rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.loading-detail[b-bxgwfb78gw] {
    min-height: 2.8rem;
    margin: 0.8rem 0 1.8rem;
    color: var(--ink-muted);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.55;
}

.loading-meter-heading[b-bxgwfb78gw] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.45rem;
    color: var(--ink-muted);
    font-size: 0.52rem;
}

.loading-meter-heading strong[b-bxgwfb78gw] {
    color: var(--botanical-green);
}

.loading-meter[b-bxgwfb78gw] {
    height: 0.38rem;
    overflow: hidden;
    border: 1px solid var(--paper-line);
    background: color-mix(in srgb, var(--ink) 5%, transparent);
}

.loading-meter > span[b-bxgwfb78gw] {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--botanical-green), color-mix(in srgb, var(--botanical-green) 72%, var(--ink-soft)));
    box-shadow: 0 0 1.2rem color-mix(in srgb, var(--botanical-green) 45%, transparent);
    transition: width 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loading-stages[b-bxgwfb78gw] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 1rem 0 2rem;
    padding: 0;
    color: var(--ink-muted);
    font-size: 0.43rem;
    list-style: none;
}

.loading-stages li[b-bxgwfb78gw] {
    position: relative;
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    text-align: center;
}

.loading-stages li[b-bxgwfb78gw]::before {
    position: absolute;
    top: 0.28rem;
    right: 50%;
    width: 100%;
    height: 1px;
    content: "";
    background: var(--paper-line);
}

.loading-stages li:first-child[b-bxgwfb78gw]::before { display: none; }

.loading-stages i[b-bxgwfb78gw] {
    position: relative;
    z-index: 1;
    width: 0.6rem;
    height: 0.6rem;
    border: 1px solid var(--paper-line);
    border-radius: 50%;
    background: var(--paper);
    transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.loading-stages .complete i[b-bxgwfb78gw],
.loading-stages .active i[b-bxgwfb78gw] {
    border-color: var(--botanical-green);
    background: var(--botanical-green);
}

.loading-stages .active i[b-bxgwfb78gw] {
    transform: scale(1.35);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--botanical-green) 13%, transparent);
}

.loading-stages .complete[b-bxgwfb78gw],
.loading-stages .active[b-bxgwfb78gw] {
    color: var(--ink);
}

.loading-card > small[b-bxgwfb78gw] {
    display: block;
    color: var(--ink-muted);
    font-size: 0.46rem;
    text-align: center;
}

.header-meta form[b-bxgwfb78gw] {
    margin: 0;
}

.theme-toggle[b-bxgwfb78gw],
.coffee-link[b-bxgwfb78gw] {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid var(--paper-line);
    border-radius: 50%;
    background: var(--field-surface);
    color: var(--ink-soft);
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.theme-toggle:hover[b-bxgwfb78gw],
.theme-toggle:focus-visible[b-bxgwfb78gw] {
    transform: rotate(8deg);
}

.theme-toggle:hover[b-bxgwfb78gw],
.theme-toggle:focus-visible[b-bxgwfb78gw],
.coffee-link:hover[b-bxgwfb78gw],
.coffee-link:focus-visible[b-bxgwfb78gw] {
    border-color: var(--botanical-green);
    outline: 0;
    background: var(--hover-surface);
    color: var(--botanical-green);
}

.theme-toggle svg[b-bxgwfb78gw],
.coffee-link svg[b-bxgwfb78gw] {
    width: 0.95rem;
    height: 0.95rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.account-name[b-bxgwfb78gw] {
    overflow: hidden;
    max-width: 10rem;
    color: var(--ink);
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.google-sign-in[b-bxgwfb78gw],
.sign-out-button[b-bxgwfb78gw],
.auth-setup[b-bxgwfb78gw] {
    min-height: 1.75rem;
    padding: 0.45rem 0.62rem;
    border: 1px solid rgba(55, 72, 43, 0.28);
    border-radius: 999px;
    color: var(--botanical-green);
    font-family: var(--font-mono);
    font-size: 0.48rem;
    letter-spacing: 0.06em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.google-sign-in[b-bxgwfb78gw],
.sign-out-button[b-bxgwfb78gw] {
    background: var(--field-surface);
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.google-sign-in:hover[b-bxgwfb78gw],
.google-sign-in:focus-visible[b-bxgwfb78gw],
.sign-out-button:hover[b-bxgwfb78gw],
.sign-out-button:focus-visible[b-bxgwfb78gw] {
    border-color: var(--botanical-green);
    outline: 0;
    background: rgba(55, 72, 43, 0.08);
    color: var(--ink);
}

.auth-setup[b-bxgwfb78gw] {
    border-style: dashed;
    color: var(--ink-muted);
}

.taxon-identity[b-bxgwfb78gw] {
    animation: dossier-reveal-b-bxgwfb78gw 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes dossier-reveal-b-bxgwfb78gw {
    from {
        transform: translateY(5px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.issue-stack[b-bxgwfb78gw] {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.issue-notice[b-bxgwfb78gw] {
    padding: 0.62rem;
    border: 1px solid rgba(153, 83, 51, 0.28);
    border-left: 3px solid var(--rust);
    background: rgba(160, 80, 46, 0.07);
}

.issue-notice.critical[b-bxgwfb78gw] {
    border-left-color: #7b302c;
    background: rgba(123, 48, 44, 0.1);
}

.issue-notice.information[b-bxgwfb78gw] {
    border-color: rgba(55, 72, 43, 0.22);
    border-left-color: var(--botanical-green);
    background: rgba(55, 72, 43, 0.06);
}

.issue-notice > div[b-bxgwfb78gw] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.issue-notice strong[b-bxgwfb78gw],
.issue-notice a[b-bxgwfb78gw] {
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.42rem;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.issue-notice span[b-bxgwfb78gw] {
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.65rem;
    font-weight: 600;
}

.issue-notice p[b-bxgwfb78gw] {
    margin: 0.35rem 0 0.4rem;
    color: var(--ink-soft);
    font-size: 0.53rem;
    line-height: 1.42;
}

.reference-strip[b-bxgwfb78gw] {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.58rem 0;
    border-bottom: 1px solid var(--paper-line);
}

.reference-strip > span[b-bxgwfb78gw] {
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.43rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.reference-strip a[b-bxgwfb78gw],
.reference-strip em[b-bxgwfb78gw] {
    color: var(--botanical-green);
    font-family: Georgia, serif;
    font-size: 0.56rem;
    text-decoration: none;
}

.reference-strip em[b-bxgwfb78gw] {
    color: var(--ink-muted);
}

.dossier-section[b-bxgwfb78gw] {
    padding-top: 0.85rem;
}

.dossier-section + .dossier-section[b-bxgwfb78gw] {
    margin-top: 0.2rem;
    border-top: 1px solid var(--paper-line);
}

.section-heading-row[b-bxgwfb78gw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.55rem;
}

.section-heading-row > div[b-bxgwfb78gw] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.section-heading-row span[b-bxgwfb78gw] {
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-heading-row h3[b-bxgwfb78gw] {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.72rem;
    font-weight: 600;
}

.section-heading-row > b[b-bxgwfb78gw] {
    display: grid;
    width: 1.28rem;
    height: 1.28rem;
    place-items: center;
    border: 1px solid var(--paper-line);
    border-radius: 50%;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.44rem;
    font-weight: 500;
}

.empty-record[b-bxgwfb78gw] {
    margin: 0;
    padding: 0.65rem;
    border: 1px dashed var(--paper-line);
    color: var(--ink-muted);
    font-family: Georgia, serif;
    font-size: 0.54rem;
    font-style: italic;
    line-height: 1.42;
}

.media-empty[b-bxgwfb78gw] {
    display: grid;
    min-height: 5rem;
    place-items: center;
    padding: 0.65rem;
    border: 1px dashed var(--paper-line);
    background:
        linear-gradient(135deg, transparent 48%, rgba(73, 66, 47, 0.05) 49%, rgba(73, 66, 47, 0.05) 51%, transparent 52%);
    color: var(--ink-muted);
    text-align: center;
}

.media-empty-mark[b-bxgwfb78gw] {
    color: rgba(55, 72, 43, 0.5);
    font-size: 1rem;
}

.media-empty p[b-bxgwfb78gw] {
    max-width: 13rem;
    margin: 0;
    font-family: Georgia, serif;
    font-size: 0.53rem;
    font-style: italic;
    line-height: 1.4;
}

.media-grid[b-bxgwfb78gw] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.media-grid figure[b-bxgwfb78gw] {
    margin: 0;
    border: 1px solid var(--paper-line);
    background: var(--subtle-surface);
}

.media-grid img[b-bxgwfb78gw] {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: sepia(0.16) saturate(0.82);
}

.media-file-missing[b-bxgwfb78gw] {
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.4rem;
    text-transform: uppercase;
}

.media-grid figcaption[b-bxgwfb78gw] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.4rem;
}

.media-grid figcaption strong[b-bxgwfb78gw] {
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.52rem;
}

.media-grid figcaption span[b-bxgwfb78gw],
.media-grid figcaption a[b-bxgwfb78gw] {
    color: var(--ink-muted);
    font-size: 0.4rem;
}

.corpus-entry[b-bxgwfb78gw] {
    border-bottom: 1px solid var(--paper-line);
}

.corpus-entry summary[b-bxgwfb78gw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
    color: var(--ink);
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 0.62rem;
    font-weight: 600;
    list-style: none;
}

.corpus-entry summary[b-bxgwfb78gw]::-webkit-details-marker {
    display: none;
}

.corpus-entry summary[b-bxgwfb78gw]::before {
    margin-right: 0.4rem;
    color: var(--rust);
    content: "+";
    font-family: var(--font-mono);
}

.corpus-entry[open] summary[b-bxgwfb78gw]::before {
    content: "−";
}

.corpus-entry summary span[b-bxgwfb78gw] {
    flex: 1;
}

.corpus-entry summary small[b-bxgwfb78gw] {
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.4rem;
    font-weight: 400;
}

.corpus-entry > p[b-bxgwfb78gw] {
    margin: 0 0 0.5rem;
    color: var(--ink-soft);
    font-size: 0.53rem;
    line-height: 1.5;
}

.corpus-entry .corpus-summary[b-bxgwfb78gw] {
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.57rem;
    font-style: italic;
}

.corpus-entry cite[b-bxgwfb78gw] {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--ink-muted);
    font-size: 0.42rem;
    line-height: 1.4;
}

.steward-list[b-bxgwfb78gw] {
    display: grid;
    gap: 0.45rem;
}

.steward-row[b-bxgwfb78gw] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
}

.avatar-seal[b-bxgwfb78gw] {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border: 1px solid rgba(55, 72, 43, 0.35);
    border-radius: 50%;
    color: var(--botanical-green);
    font-family: Georgia, serif;
    font-size: 0.53rem;
    font-style: italic;
}

.steward-row > div[b-bxgwfb78gw] {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.steward-row strong[b-bxgwfb78gw] {
    overflow: hidden;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.57rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.steward-row small[b-bxgwfb78gw] {
    color: var(--ink-muted);
    font-size: 0.42rem;
}

.verified-badge[b-bxgwfb78gw],
.contributor-badge[b-bxgwfb78gw] {
    display: inline-flex;
    align-items: center;
    min-height: 1rem;
    padding: 0.15rem 0.35rem;
    border: 1px solid rgba(55, 72, 43, 0.26);
    border-radius: 999px;
    color: var(--botanical-green);
    font-family: var(--font-mono);
    font-size: 0.35rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contributor-badge[b-bxgwfb78gw] {
    border-color: var(--paper-line);
    color: var(--ink-muted);
}

.sign-in-prompt[b-bxgwfb78gw] {
    margin: 0 0 0.55rem;
    padding: 0.55rem;
    border-left: 2px solid rgba(55, 72, 43, 0.35);
    background: rgba(55, 72, 43, 0.045);
    color: var(--ink-muted);
    font-size: 0.5rem;
    line-height: 1.42;
}

.comment-composer textarea[b-bxgwfb78gw],
.listing-form input[b-bxgwfb78gw],
.listing-form textarea[b-bxgwfb78gw],
.listing-form select[b-bxgwfb78gw] {
    width: 100%;
    border: 1px solid var(--paper-line);
    border-radius: 0;
    outline: 0;
    background: var(--field-surface);
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.55rem;
}

.comment-composer textarea[b-bxgwfb78gw] {
    min-height: 4rem;
    padding: 0.55rem;
    resize: vertical;
}

.comment-composer textarea:focus[b-bxgwfb78gw],
.listing-form input:focus[b-bxgwfb78gw],
.listing-form textarea:focus[b-bxgwfb78gw],
.listing-form select:focus[b-bxgwfb78gw] {
    border-color: var(--focus-ring);
    box-shadow: 0 0 0 2px rgba(55, 72, 43, 0.07);
}

.comment-composer > div[b-bxgwfb78gw],
.listing-form-actions[b-bxgwfb78gw] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.35rem;
}

.comment-composer > div > span[b-bxgwfb78gw],
.listing-form-actions > span[b-bxgwfb78gw] {
    color: var(--rust);
    font-size: 0.43rem;
    line-height: 1.35;
}

.comment-composer button[b-bxgwfb78gw],
.listing-form-actions button[b-bxgwfb78gw],
.listing-toggle[b-bxgwfb78gw] {
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--botanical-green);
    background: var(--botanical-green);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 0.4rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.comment-composer button:disabled[b-bxgwfb78gw],
.listing-form-actions button:disabled[b-bxgwfb78gw] {
    border-color: var(--paper-line);
    background: rgba(70, 64, 46, 0.1);
    color: var(--ink-muted);
}

.comment-list[b-bxgwfb78gw] {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.comment-card[b-bxgwfb78gw] {
    padding: 0.6rem;
    border: 1px solid var(--paper-line);
    background: var(--subtle-surface);
}

.comment-card.expert-comment[b-bxgwfb78gw] {
    border-left: 3px solid var(--botanical-green);
    background: rgba(55, 72, 43, 0.055);
}

.comment-card header[b-bxgwfb78gw] {
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
    justify-content: space-between;
}

.comment-card header > div[b-bxgwfb78gw] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.comment-card header strong[b-bxgwfb78gw] {
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.57rem;
}

.comment-card time[b-bxgwfb78gw] {
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.38rem;
    white-space: nowrap;
}

.comment-card p[b-bxgwfb78gw] {
    margin: 0.45rem 0 0;
    color: var(--ink-soft);
    font-size: 0.52rem;
    line-height: 1.5;
}

.pinned-note[b-bxgwfb78gw] {
    display: block;
    margin-top: 0.4rem;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.37rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.listing-card[b-bxgwfb78gw] {
    padding: 0.65rem;
    border: 1px solid rgba(153, 83, 51, 0.24);
    background: rgba(160, 80, 46, 0.045);
}

.listing-label[b-bxgwfb78gw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.38rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.listing-card > small[b-bxgwfb78gw] {
    color: var(--ink-muted);
    font-family: Georgia, serif;
    font-size: 0.45rem;
    font-style: italic;
}

.listing-card h4[b-bxgwfb78gw] {
    margin: 0.2rem 0 0;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 0.65rem;
}

.listing-card p[b-bxgwfb78gw],
.listing-card em[b-bxgwfb78gw] {
    display: block;
    margin: 0.35rem 0;
    color: var(--ink-soft);
    font-size: 0.5rem;
    line-height: 1.45;
}

.listing-card em[b-bxgwfb78gw] {
    color: var(--ink-muted);
    font-size: 0.42rem;
}

.listing-card a[b-bxgwfb78gw] {
    color: var(--botanical-green);
    font-family: var(--font-mono);
    font-size: 0.4rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
}

.listing-toggle[b-bxgwfb78gw] {
    width: 100%;
    margin-top: 0.55rem;
    border-color: rgba(55, 72, 43, 0.38);
    background: transparent;
    color: var(--botanical-green);
}

.listing-form[b-bxgwfb78gw] {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.55rem;
    padding: 0.65rem;
    border: 1px solid var(--paper-line);
    background: var(--subtle-surface);
}

.listing-form > p[b-bxgwfb78gw] {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.48rem;
    line-height: 1.4;
}

.listing-form label[b-bxgwfb78gw] {
    display: grid;
    gap: 0.2rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.39rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.listing-form input[b-bxgwfb78gw],
.listing-form textarea[b-bxgwfb78gw],
.listing-form select[b-bxgwfb78gw] {
    padding: 0.45rem;
    text-transform: none;
}

.listing-form textarea[b-bxgwfb78gw] {
    min-height: 3.5rem;
    resize: vertical;
}

.supplement-warning[b-bxgwfb78gw] {
    padding: 0.5rem;
    border-left: 2px solid var(--rust);
    background: rgba(160, 80, 46, 0.07);
    color: var(--rust) !important;
}

@media (max-width: 1180px) {
    .figure-caption[b-bxgwfb78gw] {
        left: 18rem;
    }

    .tree-legend[b-bxgwfb78gw] {
        right: 21rem;
    }

    .explore-panel[b-bxgwfb78gw] {
        width: 230px;
    }

    .detail-panel[b-bxgwfb78gw] {
        width: 290px;
    }

    .live-indicator[b-bxgwfb78gw],
    .account-name[b-bxgwfb78gw] {
        display: none;
    }

    .fern-ornament[b-bxgwfb78gw] {
        left: 10rem;
    }

    .collection-overview .figure-caption[b-bxgwfb78gw],
    .collection-overview .plate-note[b-bxgwfb78gw] {
        display: none;
    }
}

@media (max-width: 900px) {
    .site-header[b-bxgwfb78gw] {
        grid-template-columns: 1fr auto;
    }

    .plate-title[b-bxgwfb78gw] {
        display: none;
    }

    .explore-panel[b-bxgwfb78gw] {
        top: 1rem;
        bottom: auto;
        left: 1rem;
        width: 220px;
        max-height: 265px;
    }

    .detail-panel[b-bxgwfb78gw] {
        top: auto;
        right: 1rem;
        bottom: 2.8rem;
        width: 285px;
        max-height: 310px;
    }

    .figure-caption[b-bxgwfb78gw] {
        top: 1.2rem;
        right: 1rem;
        left: auto;
        max-width: calc(100% - 260px);
    }

    .tree-legend[b-bxgwfb78gw] {
        display: none;
    }

    .plate-note[b-bxgwfb78gw] {
        left: 1rem;
        right: auto;
        transform: none;
    }
}

@media (max-width: 620px) {
    .atlas-loading-screen[b-bxgwfb78gw] {
        padding: 0.8rem;
    }

    .loading-card[b-bxgwfb78gw] {
        padding: 1.35rem;
    }

    .loading-brand[b-bxgwfb78gw] {
        margin-bottom: 2.3rem;
    }

    .loading-stages span[b-bxgwfb78gw] {
        display: none;
    }

    .site-header[b-bxgwfb78gw] {
        height: 58px;
        padding: 0 0.85rem;
    }

    .brand-copy small[b-bxgwfb78gw],
    .catalogue-number[b-bxgwfb78gw],
    .auth-setup[b-bxgwfb78gw] {
        display: none;
    }

    .google-sign-in[b-bxgwfb78gw],
    .sign-out-button[b-bxgwfb78gw] {
        max-width: 5.4rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .atlas-stage[b-bxgwfb78gw] {
        height: calc(100svh - 58px);
        min-height: 680px;
    }

    .figure-caption[b-bxgwfb78gw] {
        top: 0.8rem;
        right: 0.8rem;
        max-width: calc(100% - 205px);
    }

    .figure-caption p[b-bxgwfb78gw] {
        display: none;
    }

    .explore-panel[b-bxgwfb78gw] {
        top: 0.8rem;
        left: 0.8rem;
        width: 185px;
        max-height: 225px;
        padding: 0.75rem;
    }

    .explore-panel .panel-heading[b-bxgwfb78gw],
    .interaction-note[b-bxgwfb78gw] {
        display: none;
    }

    .detail-panel[b-bxgwfb78gw] {
        right: 0.8rem;
        bottom: 2.55rem;
        left: 0.8rem;
        width: auto;
        max-height: 225px;
        padding: 0.8rem;
    }

    .detail-heading[b-bxgwfb78gw],
    .taxon-description[b-bxgwfb78gw],
    .evidence-section[b-bxgwfb78gw] {
        display: none;
    }

    .plate-note[b-bxgwfb78gw] {
        right: 0.8rem;
        bottom: 0.65rem;
        left: 0.8rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .plate-note a[b-bxgwfb78gw],
    .plate-note > span[b-bxgwfb78gw] {
        display: none;
    }

    .botanical-ornament[b-bxgwfb78gw] {
        opacity: 0.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .taxon-identity[b-bxgwfb78gw] {
        animation: none;
    }

    .floating-panel[b-bxgwfb78gw],
    .loading-meter > span[b-bxgwfb78gw],
    .loading-stages i[b-bxgwfb78gw] {
        transition: none;
    }
}

.site-header[b-bxgwfb78gw] {
    grid-template-columns: 1fr auto;
    box-shadow: none;
}

.site-header[b-bxgwfb78gw]::after,
.atlas-stage[b-bxgwfb78gw]::before,
.atlas-stage[b-bxgwfb78gw]::after,
.floating-panel[b-bxgwfb78gw]::before {
    content: none;
}

.atlas-stage[b-bxgwfb78gw] {
    min-height: 520px;
    background: radial-gradient(ellipse at center, var(--atlas-glow), var(--paper) 75%);
}

.figure-caption[b-bxgwfb78gw],
.collection-overview .figure-caption[b-bxgwfb78gw] {
    display: block;
    top: 1.4rem;
    right: 1.25rem;
    left: 1.5rem;
    max-width: none;
}

.figure-caption h1[b-bxgwfb78gw] {
    font: 750 clamp(1.6rem, 3vw, 2.65rem) / 1.1 var(--font-display);
}

.figure-caption p[b-bxgwfb78gw] {
    display: block;
    color: var(--ink-soft);
    font: 0.93rem / 1.4 var(--font-body);
}

.figure-caption .scene-ancestry[b-bxgwfb78gw] {
    color: var(--botanical-green);
    font-weight: 700;
}

.life-label[b-bxgwfb78gw] {
    color: var(--ink-soft);
    font: 650 0.78rem / 1.3 var(--font-body);
}

.life-label.extinct[b-bxgwfb78gw] {
    color: var(--extinct-node);
}

.life-label.mixed[b-bxgwfb78gw] {
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(100deg, var(--family-fill), var(--extinct-fill));
    color: var(--ink);
}

.floating-panel[b-bxgwfb78gw] {
    border-radius: 1rem;
    backdrop-filter: none;
}

.explore-panel[b-bxgwfb78gw] {
    top: 1.4rem;
    right: 1.5rem;
    bottom: auto;
    left: auto;
    width: min(19rem, 38vw);
    max-height: min(55vh, 32rem);
    padding: 0.55rem;
    overflow: auto;
    overscroll-behavior: contain;
}

.search-box[b-bxgwfb78gw] {
    min-height: 2.75rem;
    border-radius: 0.65rem;
}

.search-box input[b-bxgwfb78gw],
.species-copy strong[b-bxgwfb78gw] {
    font: 600 0.9rem / 1.25 var(--font-body);
}

.more-facts summary[b-bxgwfb78gw] {
    padding: 0.65rem 0.4rem;
    color: var(--botanical-green);
    cursor: pointer;
    font-weight: 650;
}

.species-row[b-bxgwfb78gw] {
    min-height: 44px;
    border-radius: 0.55rem;
}

.detail-panel[b-bxgwfb78gw] {
    top: 8.1rem;
    right: 1.5rem;
    bottom: auto;
    width: min(22rem, calc(100% - 3rem));
    max-height: calc(100% - 10rem);
}

.detail-heading[b-bxgwfb78gw] {
    position: sticky;
    z-index: 1;
    top: -1rem;
    display: block;
    padding: 0.4rem 0;
    background: var(--panel-surface);
}

.detail-actions[b-bxgwfb78gw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.share-feedback[b-bxgwfb78gw] {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.share-feedback:empty[b-bxgwfb78gw] {
    display: none;
}

.share-link[b-bxgwfb78gw] {
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.45rem;
    border: 1px solid var(--paper-line);
    border-radius: 0.55rem;
    background: var(--field-surface);
    color: var(--ink);
    font-size: 0.8rem;
}

.back-to-tree[b-bxgwfb78gw] {
    min-height: 44px;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--paper-line);
    border-radius: 0.7rem;
    background: var(--field-surface);
    color: var(--botanical-green);
    font-weight: 700;
}

.back-to-tree:focus-visible[b-bxgwfb78gw],
.explore-panel button:focus-visible[b-bxgwfb78gw],
.more-facts summary:focus-visible[b-bxgwfb78gw] {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.google-search-link[b-bxgwfb78gw] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

.google-search-link:hover[b-bxgwfb78gw] {
    color: var(--botanical-green);
    text-decoration: underline;
}

.taxon-identity h2[b-bxgwfb78gw] {
    font: 750 1.6rem / 1.15 var(--font-display);
}

.explore-descendants[b-bxgwfb78gw] {
    min-height: 44px;
    border-radius: 0.65rem;
    font: 700 0.95rem / 1.2 var(--font-body);
    text-transform: none;
}

@media (max-width: 700px) {
    .figure-caption[b-bxgwfb78gw],
    .collection-overview .figure-caption[b-bxgwfb78gw] {
        top: 0.7rem;
        right: 0.85rem;
        left: 0.85rem;
    }

    .explore-panel[b-bxgwfb78gw] {
        top: 8.65rem;
        right: 0.85rem;
        left: 0.85rem;
        width: auto;
        max-height: 42vh;
    }

    .detail-panel[b-bxgwfb78gw] {
        top: auto;
        right: 0.65rem;
        bottom: 0.65rem;
        left: 0.65rem;
        width: auto;
        max-height: 53%;
    }
}

.atlas-shell[b-bxgwfb78gw] {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: contain;
}

.atlas-copyright[b-bxgwfb78gw] {
    position: absolute;
    z-index: 7;
    right: 1rem;
    bottom: 1.2rem;
    color: var(--ink-muted);
    font-size: 0.72rem;
    line-height: 1;
    pointer-events: none;
}

.site-header[b-bxgwfb78gw] {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    justify-content: space-between;
    height: auto;
    padding: 0.65rem 0.9rem;
    pointer-events: none;
    background: transparent;
    border: 0;
    backdrop-filter: none;
}

.brand[b-bxgwfb78gw],
.header-meta > *[b-bxgwfb78gw] {
    pointer-events: auto;
}

.brand-copy[b-bxgwfb78gw],
.header-meta .account-name[b-bxgwfb78gw] {
    display: none;
}

.atlas-stage[b-bxgwfb78gw] {
    height: 100%;
    min-height: 0;
}

.tree-panel[b-bxgwfb78gw]  .tree-stage {
    min-height: 0;
}

.atlas-stage .figure-caption[b-bxgwfb78gw] {
    display: block;
    top: auto;
    right: auto;
    bottom: 1.2rem;
    left: 1rem;
    max-width: 12rem;
}

.figure-caption h1[b-bxgwfb78gw] {
    font-size: 1rem;
}

.figure-caption p[b-bxgwfb78gw] {
    display: none;
}

.explore-menu[b-bxgwfb78gw] {
    position: absolute;
    z-index: 21;
    top: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(29rem, calc(100vw - 8rem));
    transition: opacity 350ms ease;
}

.explore-menu .search-box[b-bxgwfb78gw] {
    border-radius: 2rem;
    background: var(--panel-surface);
    box-shadow: var(--control-shadow);
}

.atlas-shell:has([data-tree-moving]) .explore-menu[b-bxgwfb78gw],
.atlas-shell:has([data-tree-moving]) .brand[b-bxgwfb78gw],
.atlas-shell:has([data-tree-moving]) .header-meta[b-bxgwfb78gw],
.atlas-shell:has([data-tree-moving]) .tree-panel[b-bxgwfb78gw]  .tree-rank-key,
.atlas-shell:has([data-tree-moving]) .tree-panel[b-bxgwfb78gw]  .tree-controls {
    opacity: 0.14;
    transition-duration: 150ms;
}

.brand[b-bxgwfb78gw],
.header-meta[b-bxgwfb78gw] {
    transition: opacity 350ms ease;
}

.explore-menu .species-row[b-bxgwfb78gw] {
    text-decoration: none;
}

.explore-menu .explore-panel[hidden][b-bxgwfb78gw] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .explore-menu[b-bxgwfb78gw],
    .brand[b-bxgwfb78gw],
    .header-meta[b-bxgwfb78gw],
    .tree-panel[b-bxgwfb78gw]  .tree-rank-key,
    .tree-panel[b-bxgwfb78gw]  .tree-controls {
        transition-property: none;
    }
}

.explore-menu .explore-panel[b-bxgwfb78gw] {
    top: calc(100% + 0.45rem);
    right: auto;
    left: 50%;
    width: min(23rem, calc(100vw - 2rem));
    max-height: min(55dvh, 32rem);
    transform: translateX(-50%);
}

.node-overlay[b-bxgwfb78gw] {
    position: absolute;
    z-index: 13;
    inset: 4rem 1rem 4.5rem;
    display: grid;
    grid-template-columns: minmax(0, min(23vw, 21rem)) minmax(0, 1fr) minmax(0, min(24vw, 23rem));
    grid-template-rows: auto minmax(0, 1fr) minmax(0, 48%);
    grid-template-areas:
        "article title facts"
        "article . facts"
        "pictures pictures facts";
    gap: 0.75rem;
    align-items: start;
    pointer-events: none;
}

.node-overlay > .floating-panel[b-bxgwfb78gw] {
    position: static;
    width: 100%;
    max-height: 100%;
    min-height: 0;
    padding: 0.75rem 0.9rem;
    overflow: auto;
    overscroll-behavior: contain;
    pointer-events: auto;
}

.node-overlay > .node-title[b-bxgwfb78gw] {
    grid-area: title;
    justify-self: center;
    width: min(100%, 21rem);
}

.node-title .detail-heading[b-bxgwfb78gw] {
    position: static;
    padding: 0;
    margin-bottom: 0.45rem;
}

.node-title .taxon-identity h2[b-bxgwfb78gw] {
    margin: 0.2rem 0;
    font-size: clamp(1.05rem, 2vw, 1.6rem);
    overflow-wrap: anywhere;
}

.node-overlay .detail-panel[b-bxgwfb78gw] {
    grid-area: facts;
}

.detail-panel > h2[b-bxgwfb78gw] {
    margin: 0 0 0.5rem;
    font: 700 1rem / 1.2 var(--font-body);
}

.quick-facts[b-bxgwfb78gw] {
    display: grid;
    gap: 0.45rem;
    margin: 0 0 0.8rem;
    font-size: 0.87rem;
}

.quick-facts div[b-bxgwfb78gw] {
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
}

.quick-facts dt[b-bxgwfb78gw] {
    color: var(--ink-muted);
}

.quick-facts dd[b-bxgwfb78gw] {
    margin: 0;
    text-align: right;
}

.node-overlay[b-bxgwfb78gw]  .wiki-summary {
    max-height: min(36dvh, 22rem);
}

.node-overlay[b-bxgwfb78gw]  .node-images {
    align-self: stretch;
    height: 100%;
    max-height: none;
}

@media (max-width: 800px), (max-height: 500px) and (pointer: coarse) {
    .atlas-shell[b-bxgwfb78gw] {
        --atlas-top: calc(env(safe-area-inset-top, 0px) + 0.35rem);
        --atlas-left: max(0.45rem, env(safe-area-inset-left, 0px));
        --atlas-right: max(0.45rem, env(safe-area-inset-right, 0px));
        --atlas-footer-bottom: max(0.3rem, env(safe-area-inset-bottom, 0px));
        --atlas-bottom: calc(var(--atlas-footer-bottom) + 1.1rem);
        --atlas-controls-clearance: calc(var(--atlas-bottom) + 3.2rem);
    }

    .atlas-copyright[b-bxgwfb78gw] {
        right: var(--atlas-right);
        bottom: var(--atlas-footer-bottom);
        left: var(--atlas-left);
        text-align: center;
    }

    .atlas-stage .figure-caption[b-bxgwfb78gw] { display: none; }

    .site-header[b-bxgwfb78gw] {
        top: var(--atlas-top);
        padding: 0 var(--atlas-right) 0 var(--atlas-left);
        align-items: start;
    }

    .brand[b-bxgwfb78gw] {
        display: grid;
        width: 2.55rem;
        min-height: 2.6rem;
        place-items: center;
    }

    .brand-mark[b-bxgwfb78gw] { width: 1.85rem; height: 1.85rem; }
    .brand-mark svg[b-bxgwfb78gw] { width: 1.05rem; }
    .theme-toggle svg[b-bxgwfb78gw],
    .coffee-link svg[b-bxgwfb78gw] { width: 0.82rem; height: 0.82rem; }

    .header-meta[b-bxgwfb78gw] {
        display: grid;
        grid-template-columns: auto auto max-content;
        justify-items: end;
        gap: 0.2rem 0.3rem;
    }

    .header-meta .theme-toggle[b-bxgwfb78gw] {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 2.2rem;
        height: 2.2rem;
        margin-top: 0.2rem;
    }

    .header-meta .coffee-link[b-bxgwfb78gw] {
        grid-column: 3;
        grid-row: 2;
        width: 2.2rem;
        height: 2.2rem;
    }

    .header-meta > .sign-out-button[b-bxgwfb78gw] { grid-column: 1; grid-row: 2; }
    .header-meta > form[b-bxgwfb78gw] { grid-column: 2; grid-row: 2; }

    .header-meta > .google-sign-in[b-bxgwfb78gw] {
        grid-column: 1 / 3;
        grid-row: 2;
        max-width: none;
    }

    .explore-menu[b-bxgwfb78gw] {
        top: var(--atlas-top);
        width: min(21rem, 68vw, calc(100% - var(--atlas-left) - var(--atlas-right) - 5.4rem));
    }

    .explore-menu .search-box[b-bxgwfb78gw] { min-height: 2.65rem; padding: 0; }
    .explore-menu .search-box input[b-bxgwfb78gw] { padding-inline: 0.2rem; font-size: 16px; }
    .explore-menu .search-submit[b-bxgwfb78gw],
    .explore-menu .clear-search[b-bxgwfb78gw] { min-width: 2.25rem; min-height: 2.5rem; }
    .explore-menu .search-submit svg[b-bxgwfb78gw] { width: 0.92rem; }
    .explore-menu .search-ghost[b-bxgwfb78gw] { inset-inline: 0.2rem; font-size: 0.82rem; }

    .explore-menu .explore-panel[b-bxgwfb78gw] {
        width: min(23rem, calc(100vw - var(--atlas-left) - var(--atlas-right)));
        max-height: min(53dvh, max(0px, calc(var(--atlas-visible-height, 100dvh) - var(--atlas-top) - 3.55rem)));
        touch-action: pan-y pinch-zoom;
    }

    .explore-menu .species-list[b-bxgwfb78gw] { overflow: visible; }

    .node-overlay[b-bxgwfb78gw] {
        inset: auto var(--atlas-right) var(--atlas-controls-clearance) var(--atlas-left);
        max-height: min(60dvh, 29rem, calc(100% - var(--atlas-top) - var(--atlas-controls-clearance) - 3rem));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow: auto;
        touch-action: manipulation;
        pointer-events: auto;
        overscroll-behavior: contain;
        border: 1px solid var(--paper-line);
        border-radius: 1rem;
        background: var(--panel-surface);
    }

    .node-overlay > .floating-panel[b-bxgwfb78gw],
    .node-overlay > .node-title[b-bxgwfb78gw],
    .node-overlay[b-bxgwfb78gw]  .wiki-summary,
    .node-overlay[b-bxgwfb78gw]  .node-images {
        flex: none;
        width: auto;
        max-height: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .node-overlay .node-title[b-bxgwfb78gw] {
        position: sticky;
        z-index: 1;
        top: 0;
    }

    .node-overlay > .floating-panel[b-bxgwfb78gw],
    .node-overlay[b-bxgwfb78gw]  .wiki-summary { overflow: visible; }

    .node-overlay[b-bxgwfb78gw]  .node-images {
        width: 100%;
        height: min(55dvh, 28rem);
        min-height: 15rem;
        overscroll-behavior-y: auto;
    }
}

@media (max-width: 374px) {
    .atlas-shell[b-bxgwfb78gw] { --atlas-controls-clearance: calc(var(--atlas-bottom) + 5.8rem); }
}


.facts-heading span[b-bxgwfb78gw] {
    color: var(--botanical-green);
    font: 700 0.58rem var(--font-mono);
    letter-spacing: 0.12em;
}
.facts-heading h2[b-bxgwfb78gw] { margin: 0.35rem 0 1rem; font: 700 1.25rem var(--font-body); }
.taxon-facts[b-bxgwfb78gw] { gap: 0; margin: 0; }
.taxon-facts div[b-bxgwfb78gw] { padding: 0.75rem 0; border-bottom: 1px solid var(--paper-line); }
.taxon-facts dd[b-bxgwfb78gw] { max-width: 60%; font-weight: 600; }
.facts-source[b-bxgwfb78gw] { display: inline-block; margin-top: 0.75rem; color: var(--ink-muted); font-size: 0.7rem; }
.branch-browser summary[b-bxgwfb78gw] { display: flex; justify-content: space-between; cursor: pointer; font-weight: 700; }
.branch-browser .lineage-path[b-bxgwfb78gw] { margin-top: 0.8rem; }
/* /Components/PhylogeneticTree.razor.rz.scp.css */
.tree-stage[b-puxm5gqw4e] {
    position: relative;
    min-height: 650px;
    height: min(72vh, 760px);
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    isolation: isolate;
}

.tree-stage[b-puxm5gqw4e]::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    opacity: 0.22;
    background:
        radial-gradient(ellipse at center, transparent 48%, var(--tree-vignette) 100%);
}

.tree-canvas[b-puxm5gqw4e],
.tree-label-layer[b-puxm5gqw4e] {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.tree-canvas[b-puxm5gqw4e] {
    cursor: grab;
    touch-action: none;
    outline: none;
}

.tree-canvas:active[b-puxm5gqw4e] {
    cursor: grabbing;
}

.tree-canvas[data-interactive-target="true"][b-puxm5gqw4e] {
    cursor: pointer;
}

.tree-canvas[data-expanding="true"][b-puxm5gqw4e] {
    cursor: progress;
}

.tree-canvas[data-interactive-target="true"]:active[b-puxm5gqw4e] {
    cursor: grabbing;
}

.tree-canvas:focus-visible[b-puxm5gqw4e] {
    box-shadow: inset 0 0 0 2px var(--focus-ring);
}

.tree-expansion-loading[b-puxm5gqw4e] {
    position: absolute;
    inset: 0;
    z-index: 9;
    display: grid;
    padding: 1.25rem;
    place-items: center;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    background: color-mix(in srgb, var(--paper-light) 58%, transparent);
    backdrop-filter: blur(5px);
    transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.tree-canvas[data-expanding="true"] ~ .tree-expansion-loading[b-puxm5gqw4e] {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.tree-expansion-card[b-puxm5gqw4e] {
    display: flex;
    width: min(27rem, calc(100% - 1rem));
    min-height: 8.6rem;
    padding: 1.25rem 1.35rem;
    gap: 1.1rem;
    align-items: center;
    border: 1px solid var(--paper-line);
    border-radius: 0.18rem;
    background: color-mix(in srgb, var(--panel-surface) 96%, transparent);
    box-shadow: var(--panel-shadow), inset 0 0 0 4px var(--subtle-surface);
}

.tree-expansion-mark[b-puxm5gqw4e] {
    position: relative;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 auto;
    border: 1px solid color-mix(in srgb, var(--botanical-green) 28%, transparent);
    border-radius: 50%;
}

.tree-expansion-mark[b-puxm5gqw4e]::before {
    position: absolute;
    inset: -0.28rem;
    content: "";
    border: 2px solid transparent;
    border-top-color: var(--botanical-green);
    border-right-color: color-mix(in srgb, var(--botanical-green) 42%, transparent);
    border-radius: 50%;
    animation: tree-expansion-spin-b-puxm5gqw4e 900ms linear infinite;
}

.tree-expansion-mark i[b-puxm5gqw4e],
.tree-expansion-mark b[b-puxm5gqw4e] {
    position: absolute;
    display: block;
    background: var(--botanical-green);
}

.tree-expansion-mark i[b-puxm5gqw4e] {
    top: 0.75rem;
    bottom: 0.75rem;
    left: 50%;
    width: 1px;
}

.tree-expansion-mark b[b-puxm5gqw4e] {
    top: 1.05rem;
    left: 50%;
    width: 1rem;
    height: 1px;
    box-shadow: 0 1.25rem 0 color-mix(in srgb, var(--botanical-green) 70%, transparent);
}

.tree-expansion-mark b[b-puxm5gqw4e]::before,
.tree-expansion-mark b[b-puxm5gqw4e]::after {
    position: absolute;
    right: -0.16rem;
    width: 0.38rem;
    height: 0.38rem;
    content: "";
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--botanical-green);
}

.tree-expansion-mark b[b-puxm5gqw4e]::after {
    top: 1.25rem;
    background: color-mix(in srgb, var(--botanical-green) 70%, transparent);
}

.tree-expansion-copy[b-puxm5gqw4e] {
    min-width: 0;
    flex: 1;
}

.tree-expansion-copy > span:first-child[b-puxm5gqw4e] {
    display: block;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tree-expansion-copy strong[b-puxm5gqw4e] {
    display: block;
    margin-top: 0.28rem;
    overflow: hidden;
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tree-expansion-copy small[b-puxm5gqw4e],
.tree-expansion-copy em[b-puxm5gqw4e] {
    display: block;
    margin-top: 0.38rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-style: normal;
    letter-spacing: 0.025em;
    line-height: 1.4;
}

.tree-expansion-copy em[b-puxm5gqw4e] {
    margin-top: 0.18rem;
    color: var(--botanical-green);
}

.tree-expansion-meter[b-puxm5gqw4e] {
    position: relative;
    display: block;
    height: 3px;
    margin-top: 0.7rem;
    overflow: hidden;
    background: color-mix(in srgb, var(--botanical-green) 16%, transparent);
}

.tree-expansion-meter i[b-puxm5gqw4e] {
    position: absolute;
    inset-block: 0;
    left: 0;
    width: 42%;
    background: linear-gradient(90deg, transparent, var(--botanical-green), transparent);
    animation: tree-expansion-progress-b-puxm5gqw4e 1.15s ease-in-out infinite;
}

@keyframes tree-expansion-spin-b-puxm5gqw4e {
    to { transform: rotate(360deg); }
}

@keyframes tree-expansion-progress-b-puxm5gqw4e {
    from { transform: translateX(-110%); }
    to { transform: translateX(340%); }
}

.tree-label-layer[b-puxm5gqw4e] {
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 170px;
    transform: translate(12px, -50%);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.7rem;
    line-height: 1.15;
    white-space: nowrap;
    text-shadow: 0 1px 3px var(--paper-light), 0 1px 8px var(--paper-light);
    transition: color 150ms ease, opacity 150ms ease;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label .scientific {
    display: block;
    overflow: hidden;
    font-style: italic;
    font-weight: 600;
    text-overflow: ellipsis;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label .common {
    display: block;
    margin-top: 0.16rem;
    overflow: hidden;
    color: var(--ink-muted);
    font-size: 0.64rem;
    font-style: normal;
    text-overflow: ellipsis;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.extinct .scientific {
    color: var(--rust);
    opacity: 0.76;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label .lineage-state {
    display: block;
    margin-top: 0.12rem;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.52rem;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.major .scientific,
.tree-label-layer[b-puxm5gqw4e]  .tree-label.selected .scientific {
    color: var(--botanical-green);
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.selected .scientific {
    text-decoration: underline;
    text-decoration-color: rgba(62, 87, 53, 0.35);
    text-underline-offset: 0.2rem;
}

.tree-label-layer[b-puxm5gqw4e]  .axis-label {
    position: absolute;
    bottom: 1.15rem;
    transform: translateX(-50%);
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tree-label-layer[data-orientation="top-down"][b-puxm5gqw4e]  .tree-label {
    transform: translate(-50%, 12px);
    text-align: center;
}

.tree-label-layer[data-orientation="top-down"][b-puxm5gqw4e]  .tree-label.leaf {
    max-width: 145px;
    transform: translate(7px, 8px) rotate(38deg);
    transform-origin: top left;
    text-align: left;
}

.tree-label-layer[b-puxm5gqw4e]  .axis-label.vertical {
    bottom: auto;
    transform: translateY(-50%);
    text-align: left;
}

.tree-label-layer[b-puxm5gqw4e]  .collection-label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: max-content;
    max-width: 13rem;
    padding: 0.34rem 0.5rem 0.3rem;
    transform: translateX(-50%);
    border-radius: 0.15rem;
    background: color-mix(in srgb, var(--paper-light) 72%, transparent);
    box-shadow: 0 0 20px 8px color-mix(in srgb, var(--paper-light) 54%, transparent);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.12;
    text-align: center;
    text-shadow: 0 1px 5px var(--paper-light);
    transition: color 180ms ease, opacity 180ms ease;
}

.tree-label-layer[b-puxm5gqw4e]  .collection-label strong,
.tree-label-layer[b-puxm5gqw4e]  .collection-label em,
.tree-label-layer[b-puxm5gqw4e]  .collection-label small {
    display: block;
}

.tree-label-layer[b-puxm5gqw4e]  .collection-label strong {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.tree-label-layer[b-puxm5gqw4e]  .collection-label em {
    margin-top: 0.16rem;
    color: var(--ink-muted);
    font-size: 0.68rem;
}

.tree-label-layer[b-puxm5gqw4e]  .collection-label small {
    margin-top: 0.25rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.48rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tree-label-layer[b-puxm5gqw4e]  .collection-label.selected strong,
.tree-label-layer[b-puxm5gqw4e]  .collection-label.hovered strong {
    color: var(--botanical-green);
}

.tree-label-layer[b-puxm5gqw4e]  .collection-label.selected strong {
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--botanical-green) 38%, transparent);
    text-underline-offset: 0.22rem;
}

.canvas-breadcrumb[b-puxm5gqw4e] {
    position: absolute;
    top: 1.2rem;
    left: clamp(1rem, 3.2vw, 3.4rem);
    z-index: 6;
    display: flex;
    min-height: 2rem;
    padding: 0.38rem 0.6rem;
    gap: 0.45rem;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--paper-line) 76%, transparent);
    border-radius: 0.15rem;
    background: color-mix(in srgb, var(--panel-surface) 82%, transparent);
    box-shadow: var(--control-shadow);
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    transition: opacity 240ms ease, filter 240ms ease;
}

.canvas-breadcrumb button[b-puxm5gqw4e] {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--botanical-green);
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.canvas-breadcrumb button:hover[b-puxm5gqw4e],
.canvas-breadcrumb button:focus-visible[b-puxm5gqw4e] {
    text-decoration: underline;
    text-underline-offset: 0.18rem;
    outline: none;
}

.canvas-breadcrumb i[b-puxm5gqw4e] {
    color: var(--ink-muted);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.9rem;
    font-style: normal;
}

.canvas-breadcrumb strong[b-puxm5gqw4e] {
    color: var(--ink-soft);
    font-weight: 700;
}

.collection-dock[b-puxm5gqw4e] {
    position: absolute;
    right: 50%;
    bottom: 6.3rem;
    z-index: 6;
    display: flex;
    max-width: min(56rem, calc(100% - 3rem));
    overflow-x: auto;
    transform: translateX(50%);
    border: 1px solid var(--paper-line);
    border-radius: 0.15rem;
    background: color-mix(in srgb, var(--panel-surface) 90%, transparent);
    box-shadow: var(--control-shadow);
    scrollbar-width: thin;
    backdrop-filter: blur(14px);
    transition: opacity 260ms ease, filter 260ms ease;
}

.collection-dock button[b-puxm5gqw4e] {
    min-width: 9.7rem;
    min-height: 3.25rem;
    padding: 0.55rem 0.75rem;
    border: 0;
    border-right: 1px solid var(--paper-line);
    background: transparent;
    color: var(--ink-soft);
    text-align: left;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.collection-dock button:last-child[b-puxm5gqw4e] {
    border-right: 0;
}

.collection-dock button:hover[b-puxm5gqw4e],
.collection-dock button:focus-visible[b-puxm5gqw4e],
.collection-dock button.active[b-puxm5gqw4e] {
    background: var(--hover-surface);
    color: var(--botanical-green);
    outline: none;
}

.collection-dock button.active[b-puxm5gqw4e] {
    box-shadow: inset 0 -2px 0 var(--botanical-green);
}

.collection-dock span[b-puxm5gqw4e],
.collection-dock small[b-puxm5gqw4e] {
    display: block;
}

.collection-dock small b[b-puxm5gqw4e] {
    color: var(--rust);
    font: inherit;
}

.collection-dock span[b-puxm5gqw4e] {
    overflow: hidden;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collection-dock small[b-puxm5gqw4e] {
    margin-top: 0.24rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.46rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.collection-preview[b-puxm5gqw4e] {
    position: absolute;
    top: 5rem;
    right: clamp(1rem, 3vw, 3rem);
    z-index: 5;
    width: min(17.5rem, calc(100% - 2rem));
    padding: 1rem 1.1rem 1.05rem;
    overflow: hidden;
    border: 1px solid var(--paper-line);
    border-radius: 0.15rem;
    background: color-mix(in srgb, var(--panel-surface) 92%, transparent);
    box-shadow: var(--panel-shadow), inset 0 0 0 4px var(--subtle-surface);
    color: var(--ink-soft);
    backdrop-filter: blur(15px);
    animation: collection-card-in-b-puxm5gqw4e 280ms ease-out both;
    transition: opacity 260ms ease, filter 260ms ease;
}

.collection-preview[b-puxm5gqw4e]::before {
    position: absolute;
    top: -2.4rem;
    right: -1.5rem;
    width: 7rem;
    height: 7rem;
    content: "";
    opacity: 0.15;
    border: 1px solid var(--botanical-green);
    border-radius: 50%;
    box-shadow: inset 0 0 0 0.5rem transparent, inset 0 0 0 0.55rem var(--botanical-green);
}

.collection-preview > *[b-puxm5gqw4e] {
    position: relative;
}

.collection-preview p[b-puxm5gqw4e] {
    margin: 0;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.collection-preview h2[b-puxm5gqw4e] {
    margin: 0.42rem 0 0;
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    font-weight: 500;
}

.collection-preview > em[b-puxm5gqw4e] {
    display: block;
    margin-top: 0.12rem;
    color: var(--botanical-green);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.75rem;
}

.collection-preview > span[b-puxm5gqw4e] {
    display: block;
    margin-top: 0.65rem;
    color: var(--ink-muted);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.7rem;
    line-height: 1.45;
}

.collection-preview dl[b-puxm5gqw4e] {
    display: grid;
    margin: 0.85rem 0 0;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--paper-line);
    border-bottom: 1px solid var(--paper-line);
}

.collection-preview dl div[b-puxm5gqw4e] {
    padding: 0.55rem 0;
}

.collection-preview dl div + div[b-puxm5gqw4e] {
    padding-left: 0.8rem;
    border-left: 1px solid var(--paper-line);
}

.collection-preview dt[b-puxm5gqw4e] {
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.46rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.collection-preview dd[b-puxm5gqw4e] {
    margin: 0.16rem 0 0;
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.92rem;
}

.collection-preview > button[b-puxm5gqw4e] {
    width: 100%;
    min-height: 2.75rem;
    margin-top: 0.85rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--botanical-green);
    border-radius: 0.12rem;
    background: var(--botanical-green);
    color: var(--paper-light);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.collection-preview > button:hover[b-puxm5gqw4e],
.collection-preview > button:focus-visible[b-puxm5gqw4e] {
    filter: brightness(1.08);
    outline: 2px solid color-mix(in srgb, var(--botanical-green) 34%, transparent);
    outline-offset: 2px;
}

.collection-preview > button span[b-puxm5gqw4e] {
    margin-left: 0.35rem;
    font-size: 0.8rem;
}

.collection-physics-note[b-puxm5gqw4e] {
    position: absolute;
    right: 50%;
    bottom: 0.8rem;
    z-index: 5;
    max-width: min(34rem, calc(100% - 2rem));
    margin: 0;
    transform: translateX(50%);
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.47rem;
    letter-spacing: 0.045em;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    transition: opacity 240ms ease, filter 240ms ease;
}

.view-collections .orientation-switch[b-puxm5gqw4e] {
    display: none;
}

@keyframes collection-card-in-b-puxm5gqw4e {
    from {
        opacity: 0;
        transform: translateY(0.45rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tree-tooltip[b-puxm5gqw4e] {
    position: absolute;
    z-index: 5;
    display: none;
    width: max-content;
    max-width: min(240px, calc(100% - 24px));
    padding: 0.7rem 0.8rem;
    pointer-events: none;
    border: 1px solid var(--paper-line);
    border-radius: 0.15rem;
    background: var(--tooltip-surface);
    box-shadow: var(--control-shadow), inset 0 0 0 4px var(--subtle-surface);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.75rem;
    backdrop-filter: blur(12px);
}

.tree-tooltip[b-puxm5gqw4e]  strong,
.tree-tooltip[b-puxm5gqw4e]  span {
    display: block;
}

.tree-tooltip[b-puxm5gqw4e]  strong {
    font-style: italic;
}

.tree-tooltip[b-puxm5gqw4e]  span {
    margin-top: 0.16rem;
    color: var(--ink-muted);
}

.branch-hypothesis-trigger[b-puxm5gqw4e],
.branch-hypothesis-panel[b-puxm5gqw4e] {
    position: absolute;
    z-index: 8;
    border: 1px solid var(--paper-line);
    border-radius: 0.8rem;
    background: color-mix(in srgb, var(--panel-surface) 92%, transparent);
    box-shadow: var(--control-shadow);
    backdrop-filter: blur(12px);
    color: var(--ink);
}

.branch-hypothesis-trigger[b-puxm5gqw4e] {
    top: 0;
    left: 0;
    min-width: 3.25rem;
    height: 38px;
    padding: 0 0.42rem;
    border-color: color-mix(in srgb, #e8b72f 55%, var(--paper-line));
    border-radius: 0.65rem;
    translate: -50% -50%;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.branch-hypothesis-trigger:not([hidden])[b-puxm5gqw4e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.hypothesis-warning[b-puxm5gqw4e] {
    display: grid;
    width: 1.15rem;
    height: 1.15rem;
    place-items: center;
    border-radius: 50%;
    background: #e8b72f;
    color: #221a09;
    font-size: 0.8rem;
    line-height: 1;
}

.branch-hypothesis-trigger:hover[b-puxm5gqw4e],
.branch-hypothesis-trigger[aria-expanded="true"][b-puxm5gqw4e] {
    background: var(--hover-surface);
}

.branch-hypothesis-panel[b-puxm5gqw4e] {
    top: 3.8rem;
    right: 0.9rem;
    width: min(23rem, calc(100vw - 1.8rem));
    max-height: min(74dvh, 34rem);
    padding: 1rem;
    overflow: auto;
    overscroll-behavior: contain;
}

.branch-hypothesis-panel header[b-puxm5gqw4e] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.hypothesis-index-link[b-puxm5gqw4e] {
    margin: 0 0 0.25rem;
    padding: 0.15rem 0;
    border: 0;
    background: transparent;
    color: var(--botanical-green);
    font-size: 0.75rem;
    font-weight: 700;
}

.branch-hypothesis-panel h2[b-puxm5gqw4e] {
    margin: 0;
    font: 700 1.15rem var(--font-body);
}

.hypothesis-close[b-puxm5gqw4e],
.hypothesis-list-link[b-puxm5gqw4e],
.hypothesis-preview[b-puxm5gqw4e],
.hypothesis-vote[b-puxm5gqw4e] {
    border: 1px solid var(--paper-line);
    border-radius: 0.55rem;
    background: var(--field-surface);
    color: var(--ink);
}

.hypothesis-close[b-puxm5gqw4e] {
    flex: 0 0 2.5rem;
    height: 2.5rem;
    padding: 0;
    font-size: 1.25rem;
}

.hypothesis-list[b-puxm5gqw4e] {
    display: grid;
    gap: 0.48rem;
    margin: 0.65rem 0 0;
    padding: 0;
    list-style: none;
}

.hypothesis-list-link[b-puxm5gqw4e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.6rem 0.72rem;
    text-align: left;
}

.hypothesis-list-link small[b-puxm5gqw4e] {
    display: block;
    margin-top: 0.15rem;
    color: var(--ink-muted);
    font-size: 0.74rem;
}

.hypothesis-card[b-puxm5gqw4e] {
    display: grid;
    gap: 0.28rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--paper-line);
    border-radius: 0.65rem;
    background: var(--field-surface);
}

.catalogue-card[b-puxm5gqw4e] {
    margin-top: 0.8rem;
    --view-accent: var(--botanical-green);
}

.alternative-card[b-puxm5gqw4e] {
    --view-accent: var(--violet-ink);
}

.hypothesis-card[data-current="true"][b-puxm5gqw4e] {
    border-color: var(--view-accent);
}

.hypothesis-card h3[b-puxm5gqw4e],
.hypothesis-alternatives-heading[b-puxm5gqw4e] {
    margin: 0;
    font: 700 0.8rem var(--font-body);
}

.catalogue-card h3[b-puxm5gqw4e] {
    color: var(--botanical-green);
}

.hypothesis-card strong[b-puxm5gqw4e] {
    line-height: 1.25;
}

.hypothesis-card p[b-puxm5gqw4e] {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.82rem;
}

.hypothesis-alternatives-heading[b-puxm5gqw4e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.9rem;
    color: var(--violet-ink);
}

.hypothesis-alternatives-heading span[b-puxm5gqw4e] {
    min-width: 1.35rem;
    padding: 0.1rem 0.25rem;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--violet-ink) 14%, transparent);
    text-align: center;
}

.branch-hypothesis-trigger:focus-visible[b-puxm5gqw4e],
.branch-hypothesis-panel :is(button, a):focus-visible[b-puxm5gqw4e] {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.hypothesis-source[b-puxm5gqw4e] {
    justify-self: start;
    color: var(--view-accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.hypothesis-actions[b-puxm5gqw4e] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.hypothesis-preview[b-puxm5gqw4e] {
    justify-self: start;
    border-color: var(--view-accent);
    background: color-mix(in srgb, var(--view-accent) 17%, var(--panel-surface));
}

.hypothesis-preview[b-puxm5gqw4e],
.hypothesis-vote[b-puxm5gqw4e] {
    min-height: 2.5rem;
    margin-top: 0.2rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.hypothesis-vote[aria-pressed="true"][b-puxm5gqw4e] {
    border-color: var(--view-accent);
    color: var(--view-accent);
}

.branch-hypothesis-panel button:hover[b-puxm5gqw4e] {
    background: var(--hover-surface);
}

@media (max-width: 600px) {
    .branch-hypothesis-panel[b-puxm5gqw4e] {
        inset: auto 0.65rem 4.25rem;
        width: auto;
        max-height: 46dvh;
    }
}

.tree-rank-key[b-puxm5gqw4e] {
    position: absolute;
    top: 3.8rem;
    left: 0.9rem;
    z-index: 8;
    color: var(--ink);
    transition: opacity 350ms ease;
}

.rank-key-toggle[b-puxm5gqw4e],
.rank-key-panel[b-puxm5gqw4e] {
    border: 1px solid var(--paper-line);
    border-radius: 0.8rem;
    background: color-mix(in srgb, var(--panel-surface) 88%, transparent);
    box-shadow: var(--control-shadow);
    backdrop-filter: blur(12px);
}

.rank-key-toggle[b-puxm5gqw4e] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: max-content;
    min-height: 2.75rem;
    padding: 0.45rem 0.72rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.tree-rank-key > summary[b-puxm5gqw4e] {
    width: max-content;
}

.tree-rank-key summary[b-puxm5gqw4e] {
    cursor: pointer;
    list-style: none;
}

.tree-rank-key summary[b-puxm5gqw4e]::marker {
    content: "";
}

.tree-rank-key summary[b-puxm5gqw4e]::-webkit-details-marker {
    display: none;
}

.rank-key-toggle[b-puxm5gqw4e]::after,
.rank-key-row[b-puxm5gqw4e]::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    flex: 0 0 0.4rem;
    margin: 0 0.1rem 0.16rem 0.15rem;
    border: solid var(--ink-muted);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.tree-rank-key[open] > summary > .rank-key-toggle[b-puxm5gqw4e]::after,
.rank-key-entry[open] > summary > .rank-key-row[b-puxm5gqw4e]::after {
    transform: translateY(0.18rem) rotate(225deg);
}

.rank-key-toggle:hover[b-puxm5gqw4e],
.rank-key-entry > summary:hover[b-puxm5gqw4e] {
    background: var(--hover-surface);
}

.tree-rank-key summary:focus-visible[b-puxm5gqw4e],
.rank-key-source:focus-visible[b-puxm5gqw4e] {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.rank-key-icon[b-puxm5gqw4e] {
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    background: conic-gradient(#CC79A7 0 33%, #009E73 33% 66%, #56B4E9 66% 100%);
}

.rank-key-panel[b-puxm5gqw4e] {
    width: min(19rem, calc(100vw - 2.55rem));
    max-height: min(70dvh, 30rem);
    margin-top: 0.45rem;
    padding: 0.85rem 0.95rem;
    overflow: auto;
    overscroll-behavior: contain;
}

.rank-key-panel h2[b-puxm5gqw4e] {
    margin: 0 0 0.45rem;
    font: 700 1rem var(--font-body);
}

.rank-key-panel h3[b-puxm5gqw4e] {
    margin: 0.65rem 0 0.15rem;
    font: 700 0.85rem var(--font-body);
}

.rank-key-tip[b-puxm5gqw4e] {
    margin: 0.5rem 0;
    color: var(--ink-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.rank-key-list[b-puxm5gqw4e] {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
}

.rank-key-entry[b-puxm5gqw4e] {
    border-bottom: 1px solid var(--paper-line);
}

.rank-key-row[b-puxm5gqw4e] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.82rem;
    padding: 0.22rem 0.15rem;
    border-radius: 0.2rem;
}

.rank-key-label[b-puxm5gqw4e] {
    margin-right: auto;
    font-weight: 700;
}

.rank-key-example[b-puxm5gqw4e] {
    color: var(--ink-muted);
    text-align: right;
}

.rank-key-entry > p[b-puxm5gqw4e] {
    margin: 0;
    padding: 0.15rem 0.15rem 0.65rem 1.5rem;
    color: var(--ink-muted);
    line-height: 1.5;
}

.rank-swatch[b-puxm5gqw4e],
.rank-key-ring[b-puxm5gqw4e] {
    flex: 0 0 0.86rem;
    width: 0.86rem;
    height: 0.86rem;
    border-radius: 50%;
}

.rank-swatch[b-puxm5gqw4e] {
    background: var(--rank-color);
    box-shadow: 0 0 0 1px var(--ink-muted);
}

.rank-key-ring.extinct[b-puxm5gqw4e] {
    border: 2px dashed var(--ink-muted);
}

.rank-key-ring.mixed[b-puxm5gqw4e] {
    border: 2px solid var(--ink-muted);
    border-right-color: var(--extinct-node);
    border-bottom-color: var(--extinct-node);
}

.rank-key-source[b-puxm5gqw4e] {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--botanical-green);
    font-size: 0.72rem;
}

.tree-controls[b-puxm5gqw4e] {
    position: absolute;
    right: 50%;
    bottom: 3.15rem;
    transform: translateX(50%);
    z-index: 6;
    display: flex;
    overflow: hidden;
    border: 1px solid var(--paper-line);
    border-radius: 0.15rem;
    background: var(--panel-surface);
    box-shadow: var(--control-shadow);
    backdrop-filter: blur(12px);
    transition: opacity 220ms ease, filter 220ms ease;
}

.is-transitioning .canvas-breadcrumb[b-puxm5gqw4e],
.is-transitioning .collection-dock[b-puxm5gqw4e],
.is-transitioning .collection-preview[b-puxm5gqw4e],
.is-transitioning .collection-physics-note[b-puxm5gqw4e] {
    pointer-events: none;
    opacity: 0;
    filter: blur(2px);
}

.is-transitioning .collection-preview[b-puxm5gqw4e] {
    animation: none;
}

.is-transitioning .tree-controls[b-puxm5gqw4e] {
    pointer-events: none;
    opacity: 0.18;
    filter: blur(1px);
}

.tree-controls button[b-puxm5gqw4e] {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.3rem 0.65rem;
    border: 0;
    border-right: 1px solid var(--paper-line);
    background: transparent;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1;
}

.tree-controls button:hover[b-puxm5gqw4e],
.tree-controls button:focus-visible[b-puxm5gqw4e] {
    background: var(--hover-surface);
    color: var(--botanical-green);
    outline: none;
}

.tree-controls button:focus-visible[b-puxm5gqw4e],
.collection-dock button:focus-visible[b-puxm5gqw4e] {
    box-shadow: inset 0 0 0 2px var(--focus-ring);
}

.tree-controls button:last-child[b-puxm5gqw4e] {
    border-right: 0;
}

.tree-controls .reset-control[b-puxm5gqw4e] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tree-controls .collections-control[b-puxm5gqw4e] {
    display: flex;
    min-width: 7.1rem;
    gap: 0.42rem;
    align-items: center;
    justify-content: center;
    color: var(--botanical-green);
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.tree-controls .collections-control span[b-puxm5gqw4e] {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    font-weight: 400;
}

.tree-controls .collections-control strong[b-puxm5gqw4e] {
    font: inherit;
}

.orientation-switch[b-puxm5gqw4e] {
    display: flex;
    border-right: 1px solid var(--paper-line);
}

.orientation-switch button[b-puxm5gqw4e] {
    display: flex;
    min-width: 5.9rem;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.orientation-switch button.active[b-puxm5gqw4e] {
    background: var(--hover-surface);
    color: var(--botanical-green);
    box-shadow: inset 0 -2px 0 var(--botanical-green);
}

.orientation-switch button:disabled[b-puxm5gqw4e] {
    cursor: wait;
    opacity: 0.55;
}

@media (max-width: 1180px) {
    .tree-label-layer[data-orientation="top-down"][b-puxm5gqw4e]  .tree-label:not(.species) .common {
        display: none;
    }
}

.orientation-switch svg[b-puxm5gqw4e] {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.interaction-hint[b-puxm5gqw4e] {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 4.7rem;
    width: max-content;
    max-width: min(24rem, calc(100% - 2rem));
    padding: 0.65rem 0.9rem;
    transform: translateX(-50%);
    border: 1px solid var(--paper-line);
    border-radius: 0.8rem;
    background: var(--panel-surface);
    color: var(--ink);
    box-shadow: var(--control-shadow);
    text-align: center;
    font-size: 0.88rem;
    pointer-events: none;
    animation: dismiss-interaction-hint-b-puxm5gqw4e 350ms ease 10s forwards;
}

.interaction-hint-touch[b-puxm5gqw4e] {
    display: none;
}

@media (hover: none) and (pointer: coarse) {
    .interaction-hint-scroll[b-puxm5gqw4e] { display: none; }
    .interaction-hint-touch[b-puxm5gqw4e] { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
    .interaction-hint[b-puxm5gqw4e] { animation-duration: 1ms; }
}

@keyframes dismiss-interaction-hint-b-puxm5gqw4e {
    to { opacity: 0; visibility: hidden; }
}

.tree-journey[b-puxm5gqw4e] {
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 4.7rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: max-content;
    max-width: calc(100% - 2rem);
    padding: 0.55rem 0.65rem 0.55rem 0.9rem;
    transform: translateX(-50%);
    border: 1px solid var(--paper-line);
    border-radius: 0.8rem;
    background: var(--panel-surface);
    color: var(--ink);
    box-shadow: var(--control-shadow);
}

.tree-journey[hidden][b-puxm5gqw4e] {
    display: none;
}

.tree-journey strong[b-puxm5gqw4e],
.tree-journey span[b-puxm5gqw4e] {
    display: block;
}

.tree-journey span[b-puxm5gqw4e] {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.tree-journey .journey-copy[b-puxm5gqw4e] {
    min-width: 0;
}

.journey-countdown[b-puxm5gqw4e] {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.5rem;
    aspect-ratio: 1;
    padding: 2px;
    border-radius: 50%;
    background: conic-gradient(var(--botanical-green) var(--journey-progress, 100%), var(--paper-line) 0);
}

.journey-countdown span[b-puxm5gqw4e] {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--panel-surface);
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.journey-preparing[b-puxm5gqw4e] {
    z-index: 10;
    animation: show-journey-loading-b-puxm5gqw4e 180ms ease 160ms both;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.journey-next .scientific {
    color: var(--botanical-green);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

@keyframes show-journey-loading-b-puxm5gqw4e {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tree-journey button[b-puxm5gqw4e] {
    flex: none;
    min-width: 44px;
    min-height: 44px;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--paper-line);
    border-radius: 0.55rem;
    background: var(--field-surface);
    color: var(--ink);
}

@media (max-width: 720px) {
    .tree-stage[b-puxm5gqw4e] {
        min-height: 560px;
        height: 66vh;
        border-radius: 1rem;
    }

    .tree-expansion-card[b-puxm5gqw4e] {
        min-height: 7.7rem;
        padding: 1rem;
        gap: 0.85rem;
    }

    .tree-expansion-mark[b-puxm5gqw4e] {
        width: 2.8rem;
        height: 2.8rem;
    }

    .tree-expansion-mark i[b-puxm5gqw4e] {
        top: 0.6rem;
        bottom: 0.6rem;
    }

    .tree-expansion-mark b[b-puxm5gqw4e] {
        top: 0.85rem;
        width: 0.8rem;
        box-shadow: 0 1.05rem 0 color-mix(in srgb, var(--botanical-green) 70%, transparent);
    }

    .tree-expansion-mark b[b-puxm5gqw4e]::after {
        top: 1.05rem;
    }

    .tree-label-layer[b-puxm5gqw4e]  .tree-label {
        max-width: 115px;
        font-size: 0.67rem;
    }

    .tree-label-layer[b-puxm5gqw4e]  .tree-label:not(.species) .common {
        display: none;
    }

    .tree-label-layer[data-orientation="top-down"][b-puxm5gqw4e]  .tree-label.leaf {
        max-width: 105px;
        transform: translate(5px, 7px) rotate(55deg);
        font-size: 0.58rem;
    }

    .tree-label-layer[b-puxm5gqw4e]  .collection-label {
        max-width: 8.5rem;
        padding: 0.25rem 0.35rem;
    }

    .tree-label-layer[b-puxm5gqw4e]  .collection-label strong {
        font-size: 0.68rem;
    }

    .tree-label-layer[b-puxm5gqw4e]  .collection-label em {
        font-size: 0.6rem;
    }

    .tree-label-layer[b-puxm5gqw4e]  .collection-label small {
        display: none;
    }

    .canvas-breadcrumb[b-puxm5gqw4e] {
        top: 0.65rem;
        left: 0.7rem;
        max-width: calc(100% - 1.4rem);
        overflow: hidden;
        font-size: 0.48rem;
        white-space: nowrap;
    }

    .collection-preview[b-puxm5gqw4e] {
        top: 3.65rem;
        right: 0.7rem;
        width: min(15.5rem, calc(100% - 1.4rem));
        padding: 0.78rem 0.85rem 0.82rem;
    }

    .collection-preview h2[b-puxm5gqw4e] {
        font-size: 1.05rem;
    }

    .collection-preview > span[b-puxm5gqw4e] {
        display: none;
    }

    .collection-preview dl[b-puxm5gqw4e] {
        margin-top: 0.55rem;
    }

    .collection-preview dl div[b-puxm5gqw4e] {
        padding: 0.4rem 0;
    }

    .collection-preview > button[b-puxm5gqw4e] {
        min-height: 2.75rem;
        margin-top: 0.55rem;
    }

    .collection-dock[b-puxm5gqw4e] {
        right: 0.7rem;
        bottom: 5.2rem;
        left: 0.7rem;
        max-width: none;
        transform: none;
    }

    .collection-dock button[b-puxm5gqw4e] {
        min-width: 8.4rem;
        min-height: 3rem;
        padding: 0.5rem 0.62rem;
    }

    .view-collections .tree-controls[b-puxm5gqw4e] {
        top: auto;
        right: 0.7rem;
        bottom: 2rem;
        transform: none;
    }

    .collection-physics-note[b-puxm5gqw4e] {
        right: 0.7rem;
        bottom: 0.35rem;
        left: 0.7rem;
        max-width: none;
        transform: none;
        font-size: 0.41rem;
    }

    .tree-controls[b-puxm5gqw4e] {
        top: 17rem;
        right: 0.85rem;
        bottom: auto;
        transform: none;
    }

    .orientation-switch button[b-puxm5gqw4e] {
        min-width: 2.5rem;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .orientation-switch span[b-puxm5gqw4e] {
        display: none;
    }

    .tree-controls .collections-control[b-puxm5gqw4e] {
        min-width: 2.75rem;
    }

    .tree-controls .collections-control strong[b-puxm5gqw4e] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .canvas-breadcrumb[b-puxm5gqw4e],
    .collection-preview[b-puxm5gqw4e],
    .collection-dock[b-puxm5gqw4e],
    .collection-physics-note[b-puxm5gqw4e],
    .tree-controls[b-puxm5gqw4e],
    .collection-dock button[b-puxm5gqw4e],
    .tree-label-layer[b-puxm5gqw4e]  .collection-label {
        animation: none;
        transition: none;
    }

    .tree-expansion-loading[b-puxm5gqw4e] {
        transition: none;
    }

    .tree-expansion-mark[b-puxm5gqw4e]::before,
    .tree-expansion-meter i[b-puxm5gqw4e] {
        animation: none;
    }

    .tree-expansion-meter i[b-puxm5gqw4e] {
        width: 100%;
        opacity: 0.65;
    }
}

.tree-photo-layer[b-puxm5gqw4e] {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: var(--photo-diameter, 58px);
    height: var(--photo-diameter, 58px);
    place-items: center;
    font-size: 1.35rem;
    --node-ink: var(--rank-color, var(--ink-soft));
    --node-fill: color-mix(in srgb, var(--node-ink) 20%, var(--field-surface));
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo-disc {
    display: grid;
    width: 100%;
    height: 100%;
    overflow: hidden;
    place-items: center;
    border: 2px solid var(--node-ink);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 24%, var(--paper-light), var(--node-fill) 72%);
    box-shadow: 0 0 0 1px var(--paper-line), 0 2px 8px #09192238;
    transition: scale 240ms cubic-bezier(.2,.75,.35,1), box-shadow 240ms ease;
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo.family .tree-photo-disc {
    border: 5px double var(--node-ink);
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo.extinct .tree-photo-disc {
    border: 3px dashed var(--node-ink);
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo.mixed .tree-photo-disc {
    border-color: var(--node-ink) var(--extinct-node) var(--extinct-node) var(--node-ink);
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo.extinct img {
    filter: sepia(0.35) saturate(0.65);
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo.hovered {
    z-index: 1;
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo.hovered .tree-photo-disc {
    scale: var(--photo-preview-scale);
    box-shadow: 0 0 0 2px var(--botanical-green), 0 4px 16px #09192266;
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo.selected .tree-photo-disc {
    outline: 2px solid var(--focus-ring);
    outline-offset: 3px;
    animation: node-select-b-puxm5gqw4e 360ms cubic-bezier(.2,.75,.35,1);
}

.tree-photo-layer[b-puxm5gqw4e]  .tree-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: photo-appear-b-puxm5gqw4e 240ms ease-out;
}

@keyframes node-select-b-puxm5gqw4e {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.14); }
}

@keyframes photo-appear-b-puxm5gqw4e {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tree-label-layer[b-puxm5gqw4e]  .node-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    justify-content: center;
    margin-top: 0.2rem;
}

.tree-label-layer[b-puxm5gqw4e]  .node-tag {
    padding: 0.11rem 0.4rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.tree-label-layer[b-puxm5gqw4e]  .rank-tag {
    --rank-accent: var(--rank-color, var(--ink-muted));
    background: color-mix(in srgb, var(--rank-accent) 24%, var(--panel-surface));
    box-shadow: inset 0 0 0 1px var(--rank-accent);
    color: var(--ink);
    text-transform: capitalize;
    text-shadow: none;
}

.tree-label-layer[b-puxm5gqw4e]  .node-tag.extinct {
    background: var(--extinct-fill);
    color: var(--extinct-node);
}

.tree-label-layer[b-puxm5gqw4e]  .node-tag.mixed {
    border: 1px solid var(--family-node);
    border-right-color: var(--extinct-node);
    background: linear-gradient(100deg, var(--family-fill), var(--extinct-fill));
    color: var(--ink);
}

.tree-label-layer[b-puxm5gqw4e]  .node-tag.living {
    background: var(--subtle-surface);
    color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
    .tree-photo-layer[b-puxm5gqw4e]  .tree-photo-disc,
    .tree-photo-layer[b-puxm5gqw4e]  .tree-photo img {
        animation: none !important;
        transition: none;
    }
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label {
    transform: translate(var(--photo-label-offset, 35px), -50%);
    font: 700 0.86rem / 1.2 var(--font-body);
    text-shadow: 0 1px 2px var(--paper-light), 0 0 5px var(--paper-light);
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label .scientific {
    font-style: normal;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.species .scientific {
    font-style: italic;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.hovered .scientific,
.tree-label-layer[b-puxm5gqw4e]  .tree-label.selected .scientific {
    padding: 0.24rem 0.46rem;
    border-radius: 0.35rem;
    background: var(--panel-surface);
    box-shadow: 0 0 0 1px var(--paper-line);
    text-shadow: none;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.selected .scientific {
    color: var(--focus-ring);
    text-decoration: none;
}

.tree-label-layer[data-orientation="top-down"][b-puxm5gqw4e]  .tree-label,
.tree-label-layer[data-orientation="top-down"][b-puxm5gqw4e]  .tree-label.leaf {
    transform: translate(-50%, var(--photo-label-offset, 35px));
    text-align: center;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.journey-name {
    z-index: 1;
    max-width: min(17rem, 45vw);
    transform: translate(var(--photo-label-offset, 35px), -50%) scale(var(--journey-name-scale, 1));
    transform-origin: left center;
}

.tree-label-layer[data-orientation="top-down"][b-puxm5gqw4e]  .tree-label.journey-name {
    transform: translate(-50%, var(--photo-label-offset, 35px)) scale(var(--journey-name-scale, 1));
    transform-origin: top center;
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.journey-name .scientific {
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
}

.tree-controls[b-puxm5gqw4e] {
    top: auto;
    right: 50%;
    bottom: 1rem;
    transform: translateX(50%);
    border-radius: 0.8rem;
}

@media (max-width: 800px), (max-height: 500px) and (pointer: coarse) {
    .tree-controls[b-puxm5gqw4e] {
        bottom: var(--atlas-bottom, 0.5rem);
        width: max-content;
        max-width: calc(100% - 2 * max(var(--atlas-left, 0.5rem), var(--atlas-right, 0.5rem)));
        flex-wrap: wrap;
        justify-content: center;
    }

    .tree-controls button[b-puxm5gqw4e] {
        min-width: 2.35rem;
        min-height: 2.6rem;
        padding: 0.25rem 0.44rem;
    }

    .tree-controls .collections-control[b-puxm5gqw4e] { min-width: 2.35rem; }
    .tree-controls .collections-control strong[b-puxm5gqw4e],
    .orientation-switch span[b-puxm5gqw4e] { display: none; }
    .tree-controls .collections-control span[b-puxm5gqw4e],
    .orientation-switch svg[b-puxm5gqw4e] { font-size: 0.83rem; width: 0.83rem; height: 0.83rem; }

    .tree-rank-key[b-puxm5gqw4e] {
        top: calc(var(--atlas-top, 0.5rem) + 3rem);
        left: var(--atlas-left, 0.5rem);
    }

    .rank-key-toggle[b-puxm5gqw4e] { min-height: 2.5rem; padding: 0.35rem 0.55rem; }
    .rank-key-panel[b-puxm5gqw4e],
    .branch-hypothesis-panel[b-puxm5gqw4e] { touch-action: pan-y pinch-zoom; }

    .interaction-hint[b-puxm5gqw4e],
    .tree-journey[b-puxm5gqw4e] { bottom: var(--atlas-controls-clearance, 4.7rem); }

    .tree-journey[b-puxm5gqw4e] {
        gap: 0.5rem;
        padding: 0.5rem 0.6rem;
        max-width: calc(100% - var(--atlas-left, 0.5rem) - var(--atlas-right, 0.5rem));
        font-size: 0.85rem;
    }

    .tree-journey .journey-copy[b-puxm5gqw4e] {
        flex: 1;
        overflow-wrap: anywhere;
    }

    .tree-journey span[b-puxm5gqw4e] { font-size: 0.73rem; }
    .tree-journey .journey-countdown[b-puxm5gqw4e] { width: 2.1rem; }
    .tree-journey button[b-puxm5gqw4e] { padding: 0.3rem 0.45rem; }
    .tree-photo-layer[b-puxm5gqw4e]  .tree-photo { font-size: 1rem; }
}

@media (max-height: 500px) and (pointer: coarse) {
    .branch-hypothesis-panel[b-puxm5gqw4e] {
        inset: auto var(--atlas-right, 0.5rem) var(--atlas-controls-clearance, 4.7rem) auto;
        max-height: 57dvh;
    }
}

.tree-label-layer[b-puxm5gqw4e]  .tree-label.extinct .scientific {
    text-decoration: none;
    opacity: 1;
}
/* /Components/TaxonPhoto.razor.rz.scp.css */
.taxon-overview[b-zh6enomyk9] {
    display: contents;
}

.wiki-summary[b-zh6enomyk9],
.node-images[b-zh6enomyk9] {
    pointer-events: auto;
    padding: 0.9rem 1rem;
    border: 1px solid var(--paper-line);
    border-radius: 1rem;
    background: var(--panel-surface);
    box-shadow: var(--panel-shadow);
    overflow: auto;
    overscroll-behavior: contain;
    min-height: 0;
}

.wiki-summary h2[b-zh6enomyk9],
.node-images h2[b-zh6enomyk9] {
    margin: 0 0 0.5rem;
    color: var(--ink);
    font: 700 1rem / 1.2 var(--font-body);
}

.wiki-summary[b-zh6enomyk9] {
    grid-area: article;
    color: var(--ink-soft);
    font-size: 0.91rem;
    line-height: 1.5;
}

.node-images[b-zh6enomyk9] {
    grid-area: pictures;
}

.wiki-summary p[b-zh6enomyk9] {
    margin: 0 0 0.35rem;
}

.taxon-overview a[b-zh6enomyk9] {
    color: var(--botanical-green);
}

.taxon-photo-placeholder[b-zh6enomyk9] {
    display: flex;
    min-height: 4rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 0.7rem;
    background: var(--field-surface);
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.taxon-gallery ul[b-zh6enomyk9] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0;
    padding: 0 0 0.35rem;
    list-style: none;
}

.taxon-gallery[b-zh6enomyk9]  li {
    min-width: 0;
}

.taxon-gallery[b-zh6enomyk9]  li:only-child {
    grid-column: 1 / -1;
}

.taxon-gallery[b-zh6enomyk9]  img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: 0.7rem;
    background: var(--field-surface);
    object-fit: contain;
}

.taxon-gallery[b-zh6enomyk9]  small {
    display: block;
    margin-top: 0.25rem;
    color: var(--ink-soft);
    font-size: 0.72rem;
}

.taxon-gallery[b-zh6enomyk9]  a {
    color: var(--botanical-green);
}

.wiki-intro:not([hidden]) + .wiki-facts[b-zh6enomyk9] {
    margin-top: 1rem;
}

.wiki-facts dl[b-zh6enomyk9] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 0.45rem 0.7rem;
    margin: 0;
}

.wiki-facts[b-zh6enomyk9]  dd {
    margin: 0;
}

.wiki-summary > :not([hidden]) ~ .taxon-research[b-zh6enomyk9] {
    margin-top: 1rem;
}

.taxon-research ul[b-zh6enomyk9] {
    margin: 0;
    padding-inline-start: 1.25rem;
}

.taxon-research[b-zh6enomyk9]  li + li {
    margin-top: 0.5rem;
}

.taxon-research[b-zh6enomyk9]  small {
    display: block;
}

.taxon-overview [hidden][b-zh6enomyk9] {
    display: none;
}

@media (min-width: 400px) {
    .taxon-gallery ul[b-zh6enomyk9] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Give the photographs the full gallery surface. */
.node-images[b-zh6enomyk9] {
    padding: 0;
    overflow: hidden;
    background: #101713;
}

.taxon-photo-placeholder[b-zh6enomyk9],
.taxon-gallery[b-zh6enomyk9],
.taxon-gallery ul[b-zh6enomyk9] {
    height: 100%;
    min-height: 0;
}

.taxon-photo-placeholder[b-zh6enomyk9] {
    background: transparent;
}

.taxon-gallery ul[b-zh6enomyk9] {
    display: flex;
    gap: 0.35rem;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.taxon-gallery[b-zh6enomyk9]  li {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.taxon-gallery[b-zh6enomyk9]  a {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.taxon-gallery[b-zh6enomyk9]  small {
    color: #e1e8e2;
    padding: 0 0.5rem 0.35rem;
    overflow-wrap: anywhere;
}

.taxon-gallery[b-zh6enomyk9]  small a {
    display: inline;
    color: inherit;
}

.taxon-gallery[b-zh6enomyk9]  img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    background: #101713;
    object-fit: contain;
}
