.encyclopedia-page { background: #f3f0e8; }
.encyclopedia-page [hidden] { display: none !important; }
.encyclopedia-page main { padding-top: 88px; }
.encyclopedia-page :focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.plant-guide-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 55px 0 70px; }
.guide-back { display: inline-flex; gap: 9px; font-size: 12px; margin-bottom: 35px; color: var(--muted); }
.plant-guide-intro .eyebrow { color: var(--forest); font-size: 10px; letter-spacing: .18em; }
.plant-guide-intro h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(42px, 5.1vw, 72px); font-weight: 400; letter-spacing: -.045em; line-height: 1; margin: 22px 0; }
.plant-guide-intro h1 em { font-weight: 400; color: #81965d; }
.guide-description { font-size: 14px; color: var(--muted); max-width: 440px; line-height: 1.85; }
.guide-highlights { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; font-size: 10px; color: var(--forest); }
.guide-highlights span::before { content: ''; display: inline-block; width: 5px; height: 5px; background: #81965d; border-radius: 50%; margin-right: 7px; }
.guide-photo { position: relative; margin: 10px 0 0; align-self: stretch; min-height: 330px; }
.guide-photo img { width: 100%; height: 100%; object-fit: cover; }
.guide-photo figcaption { position: absolute; bottom: 18px; left: 18px; right: 18px; padding: 14px 16px; display: flex; justify-content: space-between; background: var(--white); color: var(--forest); font-size: 9px; letter-spacing: .1em; }
.plant-collection { border-top: 1px solid var(--line); padding: 55px max(32px, calc((100% - 1180px) / 2)); scroll-margin-top: 90px; }
.collection-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.collection-heading .eyebrow { font-size: 9px; color: var(--muted); letter-spacing: .14em; }
.collection-heading h2, .plant-guide-cta h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 37px; letter-spacing: -.025em; font-weight: 400; margin: 10px 0 0; }
.collection-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.plant-search { display: flex; align-items: center; gap: 14px; padding: 0 20px; background: var(--white); border: 1px solid #cbd1c3; }
.plant-search input { min-width: 0; width: 100%; height: 60px; border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--ink); }
.search-hint { white-space: nowrap; color: #8c9585; font-size: 8px; letter-spacing: .12em; }
.plant-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 30px; }
.plant-categories button { padding: 10px 17px; border: 1px solid #cdd2c6; background: transparent; color: var(--forest); font: inherit; font-size: 11px; cursor: pointer; transition: background .2s, color .2s; }
.plant-categories button:hover { background: #e5e9db; }
.plant-categories button[aria-pressed=true] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.collection-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 32px; align-items: start; }
.plant-filters { position: sticky; top: 100px; padding-right: 24px; border-right: 1px solid var(--line); }
.filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 25px; }
.filter-heading h3 { margin: 0; font-size: 14px; }
.reset-filters { border: 0; padding: 0; background: transparent; font: inherit; color: var(--muted); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.plant-filters > label { display: block; font-size: 10px; font-weight: 700; margin: 20px 0 8px; }
.plant-filters > select { display: block; width: 100%; padding: 11px 8px; color: var(--ink); background: var(--white); border: 1px solid var(--line); font: inherit; font-size: 11px; }
.filter-tip { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; color: #70825b; }
.filter-tip h4 { font-size: 12px; line-height: 1.55; margin: 12px 0; }
.filter-tip p { font-size: 10px; color: var(--muted); line-height: 1.8; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; font-size: 11px; }
.results-toolbar p { margin: 0; color: var(--muted); }
.results-toolbar select { background: transparent; color: var(--forest); font: inherit; font-size: 11px; border: 0; padding: 5px; max-width: 180px; }
#plant-status { color: var(--clay); font-size: 12px; }
#plant-status:empty { display: none; }
.plant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.plant-card { background: var(--white); border: 1px solid #dcded2; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.plant-card:hover { border-color: #98a582; transform: translateY(-3px); }
.plant-art { height: 175px; position: relative; background: #e9eddf; display: grid; place-items: center; overflow: hidden; }
.plant-art::before { content: ''; width: 140px; height: 140px; border: 1px solid #d7dfca; border-radius: 50%; position: absolute; }
.plant-art svg { height: 145px; width: 160px; position: relative; }
.plant-photo::before { display: none; }
.plant-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit { position: absolute; bottom: 0; left: 0; right: 0; padding: 6px 9px; font-size: 8px; line-height: 1.5; color: var(--white); background: rgba(23, 33, 28, .78); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-credit:focus-visible { white-space: normal; }
.photo-fallback-note { position: absolute; bottom: 5px; font-size: 8px; color: var(--muted); }
.plant-card[data-category=flowers] .plant-art, .plant-card[data-category=shrubs] .plant-art { background: #ede8dd; }
.plant-card[data-category=succulents] .plant-art { background: #e0e7dc; }
.plant-card[data-category=palms] .plant-art { background: #e9e7d9; }
.plant-card-body { padding: 18px 16px; flex: 1; }
.plant-category-label { font-size: 8px; letter-spacing: .13em; text-transform: uppercase; color: #778664; }
.plant-card h3 { font-family: Georgia, 'Times New Roman', serif; color: var(--forest); font-size: 20px; font-weight: 400; margin: 8px 0 3px; line-height: 1.2; }
.plant-scientific { color: var(--muted); font-size: 9px; font-style: italic; margin: 0 0 15px; }
.plant-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.plant-facts span { font-size: 8px; background: #f0f2e9; padding: 4px 7px; color: var(--forest); }
.plant-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--line); }
.plant-card-actions button { padding: 3px 0; border: 0; background: transparent; font: inherit; font-size: 10px; color: var(--forest); cursor: pointer; }
.plant-card-actions button:first-child { font-weight: 700; }
.plant-card-actions button[aria-pressed=true] { color: var(--clay); }
.plant-card-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
.skeleton .plant-art { opacity: .5; }
.skeleton-line { height: 12px; background: #e9e9de; margin-bottom: 14px; width: 85%; }
.skeleton-line:last-child { width: 55%; }
.plant-message { text-align: center; padding: 50px 20px; background: var(--white); border: 1px solid var(--line); }
.plant-message h3 { font-family: Georgia, serif; font-weight: 400; font-size: 26px; }
.plant-message p { color: var(--muted); font-size: 13px; }
.plant-message .reset-filters { padding: 12px 18px; }
.plant-source-note { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 36px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.plant-source-note p { max-width: 860px; margin: 0 0 8px; }
.plant-source-note a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.plant-guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 55px max(32px, calc((100% - 1180px) / 2)); background: #e3e8d5; }
.plant-guide-cta p { font-size: 12px; color: var(--muted); max-width: 480px; }
.plant-guide-cta .eyebrow { font-size: 9px; color: var(--forest); }
.plant-guide-cta h2 { margin-bottom: 15px; }
.compare-tray { position: fixed; z-index: 25; bottom: 22px; left: 50%; transform: translateX(-50%); width: min(950px, calc(100% - 36px)); padding: 20px 24px; background: var(--white); box-shadow: var(--shadow); border: 1px solid #bec8af; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.compare-tray .eyebrow { font-size: 8px; margin: 0 0 8px; color: var(--muted); }
#compare-selection { display: flex; flex-wrap: wrap; gap: 7px; }
#compare-selection button { background: #e9eddf; color: var(--forest); border: 0; padding: 6px 9px; font: inherit; font-size: 10px; cursor: pointer; }
.compare-actions { display: flex; align-items: center; gap: 15px; }
.compare-actions > button:first-child { background: transparent; border: 0; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; }
.compare-actions .button { font-size: 11px; padding: 12px 18px; white-space: nowrap; }
.compare-actions .button:disabled { opacity: .45; cursor: not-allowed; }
.encyclopedia-page:has(.compare-tray:not([hidden])) { padding-bottom: 120px; }
#plant-dialog { border: 1px solid var(--line); color: var(--ink); background: var(--white); width: min(930px, calc(100% - 30px)); max-height: 88vh; padding: 35px; }
#plant-dialog::backdrop { background: rgba(23, 33, 28, .65); }
.dialog-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; color: var(--forest); font-size: 30px; cursor: pointer; padding: 3px 9px; }
.detail-layout { display: grid; grid-template-columns: 230px 1fr; gap: 32px; }
.detail-layout .plant-art { height: 280px; }
.detail-layout .plant-photo img { object-fit: contain; }
.photo-attribution { color: var(--muted); font-size: 10px; line-height: 1.7; padding-top: 10px; overflow-wrap: anywhere; }
.photo-attribution h3 { font-size: 11px; color: var(--forest); }
.photo-attribution p { margin: 8px 0; }
.photo-attribution a { display: block; color: var(--forest); text-decoration: underline; margin: 6px 0; }
.plant-use-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 20px; }
.plant-use-list li { padding: 6px 10px; background: #e9eddf; color: var(--forest); font-size: 10px; }
.plant-share { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; }
.plant-share button { font-size: 11px; padding: 11px 15px; }
.share-status { color: var(--forest); font-size: 11px; }
.share-status:empty { display: none; }
.share-fallback { width: 100%; padding: 9px; font: inherit; font-size: 10px; color: var(--forest); border: 1px solid var(--line); }
#dialog-title { font-family: Georgia, serif; font-weight: 400; font-size: 34px; margin: 12px 0 8px; }
.detail-copy { font-size: 13px; color: var(--muted); line-height: 1.8; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 25px 0; }
.detail-facts div { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.detail-facts dt { font-size: 9px; color: var(--muted); }
.detail-facts dd { margin: 5px 0 0; font-size: 12px; color: var(--forest); }
.detail-content h3 { font-size: 13px; margin: 20px 0 8px; }
.detail-source { color: var(--forest); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.comparison-scroll { overflow-x: auto; }
.comparison-table th, .comparison-table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 15px 12px; min-width: 145px; }
.comparison-table thead th { font-family: Georgia, serif; font-size: 20px; font-weight: 400; color: var(--forest); }
.comparison-table th .plant-art { height: 110px; margin-bottom: 12px; }
.comparison-name { display: block; }
.comparison-table .photo-credit { font-family: Inter, sans-serif; font-size: 7px; }
.comparison-table tbody th { font-size: 10px; color: var(--muted); font-weight: 500; }
.embed-open { display: none; }
.embedded-guide main { padding: 0; }
.embedded-guide .site-header, .embedded-guide .plant-guide-hero, .embedded-guide .plant-guide-cta, .embedded-guide .site-footer, .embedded-guide .contractor-disclosure, .embedded-guide .plant-source-note, .embedded-guide .collection-heading, .embedded-guide .search-hint { display: none; }
.embedded-guide .plant-collection { padding: 28px 32px; border: 0; }
.embedded-guide .plant-filters { position: static; }
.embedded-guide .embed-open { display: inline-block; margin-top: 24px; font-size: 12px; }
.embedded-guide .plant-art { height: 140px; }
.embedded-guide .plant-art svg { height: 125px; }
.filter-control { margin-top: 20px; }
.filter-control label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 700; }
.filter-control select { width: 100%; padding: 11px 8px; color: var(--ink); background: var(--white); border: 1px solid var(--line); font: inherit; font-size: 11px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.active-filters:empty { display: none; }
.active-filters button { background: #e3e8d5; color: var(--forest); padding: 7px 10px; font: inherit; font-size: 10px; border: 1px solid #c6d0b8; cursor: pointer; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
@media (max-height: 850px) { .plant-filters { position: static; } }
@media (max-width: 700px) { .plant-filters { grid-template-columns: 1fr 1fr; } .filter-control { margin: 5px 0; } .filter-control select { padding: 10px 6px; font-size: 10px; } .filter-control label { font-size: 9px; } .detail-layout .plant-art { height: 230px; } }
@media (max-width: 1050px) { .plant-guide-hero { gap: 35px; } .plant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .search-hint { display: none; } .collection-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 22px; } }
@media (max-width: 700px) { .encyclopedia-page main { padding-top: 75px; } .plant-guide-hero { grid-template-columns: 1fr; width: calc(100% - 36px); gap: 25px; padding-top: 30px; padding-bottom: 35px; } .guide-back { margin-bottom: 25px; } .plant-guide-intro h1 { font-size: clamp(39px, 9vw, 62px); } .guide-photo { height: 240px; min-height: 0; } .plant-collection { padding: 35px 18px; } .collection-heading { display: block; } .collection-heading h2 { font-size: 32px; } .collection-heading > p { margin-top: 15px; } .plant-search { padding: 0 12px; gap: 9px; } .plant-search input { font-size: 12px; } .plant-categories { gap: 6px; } .plant-categories button { padding: 9px 12px; font-size: 10px; } .collection-layout { grid-template-columns: 1fr; gap: 25px; } .plant-filters { position: static; padding-right: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px 10px; } .filter-heading { grid-column: 1 / -1; margin-bottom: 5px; } .plant-filters > label { grid-row: 2; margin: 8px 0; } .plant-filters > select { grid-row: 3; padding: 10px 3px; font-size: 10px; } .filter-tip { display: none; } .plant-grid { gap: 12px; } .plant-card-body { padding: 13px 11px; } .plant-card h3 { font-size: 18px; } .plant-art { height: 155px; } .plant-art svg { width: 135px; height: 130px; } .plant-card-actions { padding: 11px; flex-wrap: wrap; } .plant-guide-cta { padding: 40px 18px; flex-direction: column; align-items: flex-start; gap: 15px; } .compare-tray { padding: 13px 15px; flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; } .compare-actions { justify-content: space-between; } .encyclopedia-page:has(.compare-tray:not([hidden])) { padding-bottom: 190px; } #plant-dialog { padding: 35px 20px 24px; } .detail-layout { grid-template-columns: 1fr; gap: 20px; } .detail-layout .plant-art { height: 170px; } #dialog-title { font-size: 28px; } .embedded-guide main { padding: 0; } .embedded-guide .plant-collection { padding: 22px 18px; } }
@media (max-width: 360px) { .plant-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .skeleton { animation: plant-pulse 1.3s ease-in-out infinite alternate; } @keyframes plant-pulse { from { opacity: .5; } to { opacity: 1; } } }
@media (prefers-reduced-motion: reduce) { html:has(.encyclopedia-page) { scroll-behavior: auto; } .encyclopedia-page * { animation: none !important; transition: none !important; } }
@media (max-width: 700px) { .plant-filters { grid-template-columns: 1fr 1fr; } .detail-layout .plant-art { height: 230px; } }
