:root{--botanic:#244e36;--botanic-light:#e5ebd9;--paper:#f8f5e9;--paper-line:#e5e0cf}.library-page{background:#fcfbf7}.library-hero{padding:54px 0 32px}.library-hero h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,65px);font-weight:500;margin:8px 0 15px;color:var(--botanic)}.library-hero .lead{max-width:680px;font-size:18px;color:var(--muted)}.library-hero .eyebrow{color:var(--botanic)}.library-controls{background:#fff;border-block:1px solid var(--paper-line);padding:20px 0}.library-filter-row{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.library-filter-row label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:var(--botanic)}.library-filter-row input,.library-filter-row select{font:inherit;font-size:15px;font-weight:400;min-height:44px;border:1px solid #b8c6b9;border-radius:7px;padding:10px 12px;background:#fff;color:#263a2b;max-width:100%}.library-search{flex:1 1 250px}.library-filter-row .zip-input{max-width:110px}.zone-input{max-width:130px}.site-help{font-size:12px;color:var(--muted);margin:12px 0 0}.climate-status{font-size:13px;min-height:20px;margin:8px 0 0}.climate-status[data-error=true]{color:#a03420}.category-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.category-chip{border:1px solid #cbd5c7;background:#fff;border-radius:25px;color:var(--botanic);padding:8px 12px;font:inherit;font-size:13px;cursor:pointer}.category-chip[aria-pressed=true]{background:var(--botanic);color:#fff}.library-count{display:flex;justify-content:space-between;gap:15px;padding:24px 0 16px;color:var(--muted);font-size:14px}.plant-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.plant-card{display:flex;flex-direction:column;position:relative;text-align:left;border:1px solid var(--paper-line);border-radius:12px;overflow:hidden;background:var(--paper);font:inherit;cursor:pointer;color:var(--ink);padding:0;transition:transform .15s,box-shadow .15s}.plant-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #264c3615}.plant-card:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #8b9f36;outline-offset:3px}.plant-card-photo{width:100%;flex:none;aspect-ratio:5/3;background:#e8ebdf;overflow:hidden}.plant-card-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.plant-card-body{width:100%;box-sizing:border-box;flex:1;padding:18px 16px 22px}.plant-card h2{font-family:Georgia,serif;font-size:23px;font-weight:500;line-height:1.15;margin:8px 0}.botanical{font-style:italic;font-size:13px;color:#61715f;margin:4px 0}.category-label{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.1em;color:var(--botanic)}.plant-card-facts{font-size:12px;line-height:1.5;color:#566455;margin:10px 0}.profile-state{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#687764}.card-arrow{position:absolute;bottom:16px;right:15px;color:var(--botanic)}.photo-pending{height:100%;min-height:170px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(ellipse at 70% 25%,#dbe2c9,#e9eadc 65%);color:#4c6341}.photo-pending span{font-size:60px;line-height:1}.photo-pending p{font-size:12px;max-width:150px;line-height:1.3;margin:8px}.library-empty{padding:50px 0;color:var(--muted);text-align:center}.library-more{text-align:center;padding:25px 0 55px}.profile-dialog{width:min(1220px,calc(100% - 28px));max-height:calc(100vh - 32px);border:none;border-radius:12px;padding:0;background:#fcfbf7;color:var(--ink)}.profile-dialog::backdrop{background:#102518b3}.profile-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;background:#fff;border-bottom:1px solid var(--paper-line);position:sticky;top:0;z-index:5}.profile-toolbar .toolbar-actions{display:flex;gap:9px;align-items:center}.profile-close{width:38px;height:38px;border:1px solid var(--paper-line);border-radius:50%;background:#fff;cursor:pointer;font-size:25px}.profile-loading{padding:60px;text-align:center}.profile-sheet{padding:10px;background:var(--paper);font-family:Arial,sans-serif;color:#26332a}.profile-hero{height:340px;position:relative;background:#d5ddc4;overflow:hidden;border-radius:8px}.profile-hero-photo{width:100%;height:100%;object-fit:cover;display:block}.profile-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#11281920 35%,#102116e6 100%);pointer-events:none}.profile-hero .photo-pending{height:100%;padding-bottom:100px}.profile-brand{position:absolute;top:17px;left:17px;z-index:1;background:#234e36e8;color:#fff;letter-spacing:.12em;font-weight:700;font-size:20px;padding:9px 14px;border-radius:7px;line-height:1.2}.profile-brand small{display:block;text-align:center;letter-spacing:.25em;font-size:10px;font-weight:400;margin-top:3px}.hero-type{position:absolute;right:17px;top:17px;max-width:180px;text-align:center;border:1px solid #fff9;border-radius:8px;background:#f6f4dce8;z-index:1;padding:14px;font-size:12px;text-transform:uppercase;font-weight:bold;color:var(--botanic)}.profile-hero-title{position:absolute;left:24px;right:20px;bottom:20px;z-index:1;color:#fff}.profile-hero-title h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(32px,4vw,56px);line-height:1.03;margin:0 0 6px}.profile-hero-title>p{font:italic 24px Georgia,serif;margin:0 0 12px}.trait-pills{display:flex;gap:7px;flex-wrap:wrap}.trait-pills span{background:#43704fdd;border-radius:20px;padding:5px 12px;text-transform:uppercase;font-size:10px;max-width:100%}.image-credit{font-size:10px;margin:5px 3px;color:#66715d}.image-credit a{color:inherit}.profile-metrics{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--paper-line);border-radius:8px;margin:8px 0;overflow:hidden;background:#fffdf4}.profile-metrics>div{padding:13px 9px;text-align:center;border-right:1px solid var(--paper-line)}.profile-metrics>div:last-child{border:0}.metric-icon{display:block;color:#285c3b;font-size:26px;height:32px}.profile-metrics h3{font-size:10px;text-transform:uppercase;margin:5px 0;letter-spacing:.025em}.profile-metrics p{font-size:11px;line-height:1.45;margin:0}.profile-columns{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:8px;margin-top:8px;align-items:stretch}.profile-section{border:1px solid var(--paper-line);border-radius:8px;overflow:hidden;background:#fffdf3;padding:0}.profile-section>h3{font-size:13px;line-height:1.25;background:var(--botanic);color:white;text-transform:uppercase;letter-spacing:.025em;padding:8px 10px;margin:0}.profile-section-body{padding:6px 12px 12px;font-size:12px;line-height:1.5}.profile-section-body>p{margin:5px 0}.profile-section-body ul{margin:7px 0 0;padding-left:17px}.profile-section-body li{margin:3px 0}.profile-rows{margin:0}.profile-rows>div{display:grid;grid-template-columns:32% 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #eae6d9}.profile-rows>div:last-child{border:0}.profile-rows dt{font-size:11px;font-weight:bold;color:#304d38;line-height:1.4}.profile-rows dd{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.profile-footnote{font-size:10px!important;color:#63725e;line-height:1.4!important;margin-top:10px!important}.profile-two{grid-template-columns:1fr 1fr}.profile-sources{font-size:10px;color:#61705b;padding:10px 4px 2px;line-height:1.5}.profile-sources p{margin:4px 0}.profile-sources ul{display:flex;flex-wrap:wrap;gap:5px 18px;margin:5px 0;padding-left:15px}.profile-sources a{color:#355e3d}.unverified{color:#8a7762;font-style:italic}.plant-risk{border:1px solid #bd7b44;background:#fff0d6;padding:12px;margin-top:10px;border-radius:8px;font-size:13px}.pairing-section{padding:28px 26px 34px;border-top:1px solid var(--paper-line)}.pairing-section h2{font:32px Georgia,serif;color:var(--botanic);margin:0 0 8px}.pairing-section>.lead{max-width:760px;font-size:14px;color:#5e6c5d}.pairing-controls{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0;align-items:end}.pairing-controls label{font-size:12px;display:flex;flex-direction:column;gap:5px}.pairing-controls select{padding:10px;min-height:44px;border:1px solid #bdc8b7;border-radius:6px;background:#fff;max-width:360px;font:inherit}.pair-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pair-card{background:#fff;border:1px solid var(--paper-line);border-radius:9px;padding:18px;font-size:13px;line-height:1.5}.pair-card h3{font-family:Georgia,serif;font-weight:500;font-size:24px;margin:4px 0}.pair-card-head{display:flex;justify-content:space-between;gap:14px}.pair-score{color:var(--botanic);font:28px Georgia,serif;text-align:center;flex-shrink:0}.pair-score small{display:block;font:10px Arial,sans-serif}.pair-card>ul{padding-left:17px}.pair-card details{padding:8px 0 14px;color:#5b6956}.pair-card summary{cursor:pointer}.pair-card .btn{margin-top:5px}.pair-spacing{font-size:12px;color:#55644e}.pair-status{min-height:24px;font-size:14px;color:#59634e}.compare-result{padding:15px;background:#eef2e5;border-radius:8px;font-size:13px;margin-bottom:18px}.compare-result ul{padding-left:18px}.library-home{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:center;padding:40px;background:#f8f5e9;border:1px solid #e5e0cf;border-radius:18px}.library-home h2{font:42px Georgia,serif;color:#244e36;margin:12px 0}.library-home p{color:#60705c;line-height:1.6}.library-home-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.library-home-links a{background:#fffdf4;border:1px solid #dce1d1;border-radius:9px;padding:18px;color:#294e35;text-decoration:none;font-weight:600;font-size:15px}.library-home-links a span{display:block;font-size:12px;font-weight:400;margin-top:6px;color:#6a7962}.library-home-links a:hover{background:#e5ecd9}
@media(max-width:1000px){.plant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-metrics{grid-template-columns:repeat(4,1fr)}.profile-metrics>div{border-bottom:1px solid var(--paper-line)}.profile-columns{grid-template-columns:1fr 1fr}.profile-columns>.profile-section:last-child{grid-column:1/-1}.profile-two>.profile-section:last-child{grid-column:auto}.library-home{padding:28px;gap:25px}}
@media(max-width:680px){.library-hero{padding:28px 0 22px}.library-hero .lead{font-size:16px}.plant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.plant-card h2{font-size:19px}.plant-card-body{padding:14px 12px 24px}.plant-card-facts{font-size:11px}.photo-pending{min-height:145px}.category-chip{font-size:12px}.profile-dialog{width:calc(100% - 12px);max-height:calc(100dvh - 12px)}.profile-toolbar{padding:8px 10px}.profile-toolbar>span{font-size:12px}.profile-hero{height:290px}.profile-brand{font-size:15px;left:12px;top:12px;padding:8px}.profile-brand small{font-size:8px}.hero-type{right:12px;top:12px;font-size:10px;padding:10px;max-width:110px}.profile-hero-title{left:15px;bottom:15px}.profile-hero-title>p{font-size:19px}.profile-hero-title h2{font-size:36px}.profile-metrics{grid-template-columns:repeat(2,1fr)}.profile-metrics>div:last-child{grid-column:1/-1}.profile-metrics p{font-size:12px}.profile-columns,.profile-two{grid-template-columns:1fr}.profile-columns>.profile-section:last-child,.profile-two>.profile-section:last-child{grid-column:auto}.profile-section>h3{font-size:14px;padding:10px 12px}.profile-section-body{font-size:14px;padding:5px 14px 12px}.profile-rows dt{font-size:12px}.profile-rows dd{font-size:14px}.profile-sources{font-size:11px}.pair-grid{grid-template-columns:1fr}.pairing-section{padding:24px 14px}.pairing-controls select{max-width:100%}.library-home{grid-template-columns:1fr;padding:22px}.library-home h2{font-size:34px}.library-home-links a{padding:14px;font-size:13px}.library-filter-row{gap:10px}.library-filter-row label{flex:1 1 125px}.library-filter-row label.library-search{flex-basis:100%}.library-count{font-size:12px}.library-count span:last-child{max-width:50%;text-align:right}}
@media print{body{background:white}.site-header,.library-hero,.library-controls,.library-count,.plant-grid,.library-more,.site-footer,.profile-toolbar,.pairing-section{display:none!important}.profile-dialog{display:block;position:static;width:100%;height:auto;max-height:none;overflow:visible;margin:0;padding:0}.profile-sheet{-webkit-print-color-adjust:exact;print-color-adjust:exact}.profile-section{break-inside:avoid}.profile-hero{height:280px}.profile-metrics{grid-template-columns:repeat(7,1fr)}.profile-columns{grid-template-columns:1fr 1.15fr 1fr}.profile-columns>.profile-section:last-child{grid-column:auto}.profile-two{grid-template-columns:1fr 1fr}}
.field-basis{display:block;font-size:9px;color:#7c755b;margin-top:4px;text-transform:none}.leaf-detail{position:absolute;right:20px;top:115px;z-index:2;width:126px;height:126px;border:2px solid #f2f0da;border-radius:5px;overflow:hidden;background:#244e36;box-shadow:0 2px 12px #0004}.leaf-detail img{width:100%;height:100%;object-fit:cover}.leaf-detail span{position:absolute;bottom:0;left:0;right:0;text-align:center;color:white;background:#183e2be6;font-size:9px;font-weight:600;letter-spacing:.08em;padding:5px}.profile-hero-title{right:160px}.profile-hero{height:400px}.metric-icon svg{display:block;margin:auto}.profile-metrics>div:first-child .metric-icon{color:#c79628}.profile-metrics>div:nth-child(2) .metric-icon{color:#4386a2}.profile-metrics>div:last-child .metric-icon{color:#4386a2}
@media(max-width:680px){.leaf-detail{width:76px;height:76px;top:87px;right:14px}.leaf-detail span{font-size:7px;padding:3px}.profile-hero-title{right:14px}.profile-hero{height:340px}.profile-hero-title h2{font-size:32px}.profile-hero-title>p{font-size:18px}.field-basis{font-size:10px}}
.growth-sketch{display:flex;align-items:end;justify-content:space-around;gap:6px;margin:5px 0 2px}.growth-sketch>div{flex:1;text-align:center}.growth-sketch svg{max-width:100%}.growth-sketch span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#51654a}

.card-local-caution{display:block;font-size:11px;line-height:1.4;color:#89552b;margin-top:5px}.source-notes ul{display:block}.source-notes summary{cursor:pointer;font-weight:bold}

/* The original approved illustrated layout is the card. Supporting facts are
   ordinary accessible text, not a substitute card redesign. */
.original-profile{background:#fff;color:#24362c;padding:20px}.profile-accessible-heading{padding:4px 8px 18px}.profile-accessible-heading h2{font:30px Georgia,serif;margin:5px 0}.original-profile-card{margin:0 auto;max-width:1122px}.original-profile-card img{display:block;width:100%;height:auto;border-radius:0}.original-profile-card figcaption{font-size:12px;line-height:1.5;color:#586657;padding:10px 4px}.original-profile-card a{color:#28583b}.profile-art-status{padding:14px 16px;background:#f4f6ef;border-left:3px solid #768b63;font-size:14px}.profile-facts{padding:20px 8px 4px}.profile-facts>h2{font:28px Georgia,serif;margin:0 0 8px}.profile-facts-intro{font-size:14px;line-height:1.6;max-width:750px;color:#5e6c5c}.profile-facts-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 38px;margin-top:25px}.profile-fact-section{font-size:15px;line-height:1.6;min-width:0}.profile-fact-section>h3{font-size:17px;color:#254f36;border-bottom:1px solid #ced7c8;padding-bottom:8px;margin:0 0 12px}.profile-fact-section .profile-rows{margin:0}.profile-fact-section .profile-rows>div{padding:7px 0;border-bottom:1px solid #eff1eb}.profile-fact-section .profile-rows dt{font-size:12px;color:#586b56;margin-bottom:3px}.profile-fact-section .profile-rows dd{font-size:15px;margin:0}.profile-fact-section .field-basis{font-size:11px}.original-profile .profile-sources{font-size:12px;margin-top:25px;border-top:1px solid #ced7c8;padding-top:15px}.original-profile .image-credit{font-size:11px}.original-profile .profile-footnote{font-size:12px;line-height:1.6}.original-profile .plant-risk p{margin:6px 0 0}.original-profile .source-notes{margin:14px 0}
@media(max-width:680px){.original-profile{padding:8px}.profile-accessible-heading h2{font-size:26px}.profile-facts{padding:20px 8px}.profile-facts-grid{grid-template-columns:1fr;gap:25px}.original-profile-card figcaption{font-size:11px}.original-profile .profile-sources{font-size:12px}.profile-fact-section .profile-rows dd{font-size:15px}}
@media print{.original-profile{padding:0}.profile-accessible-heading{display:none}.original-profile-card{break-after:page}.original-profile-card img{max-height:95vh;width:auto;max-width:100%;margin:auto}.original-profile-card figcaption{font-size:9px}.profile-facts-grid{display:block}.profile-fact-section{break-inside:avoid;margin-bottom:20px}.profile-facts{padding:0}}
.card-photo-credit{display:block;margin:4px 0;font-size:11px}
/* Keep the library's compact header within narrow screens. Account actions
   remain available in the mobile menu rather than forcing the grid wider. */
@media(max-width:680px){.library-page .site-header .wrap{grid-template-columns:minmax(0,1fr) auto}.library-page .header-actions{display:none}.library-page .brand{max-width:100%;min-width:0}.library-page .brand-lockup__text small{font-size:11px}.library-filter-row label,.pairing-controls label{min-width:0}.pairing-controls label{max-width:100%}.climate-status,.profile-sources,.card-photo-credit{overflow-wrap:anywhere}}

/* Keep image frames top-aligned and at the same landscape ratio at every size.
   Matched hero crops retain the full checked picture without a second crop. */
.plant-card-photo{position:relative}.plant-card-photo img.profile-hero-thumb{object-fit:contain;box-sizing:border-box;padding:0;background:var(--paper)}.illustrated-preview-label{position:absolute;bottom:7px;left:7px;background:#244e36;color:#fff;border-radius:4px;padding:4px 7px;font-size:10px;line-height:1.2}

/* Keep representative-image labels readable on the narrowest grid tiles. */
.illustrated-preview-label{max-width:calc(100% - 14px);box-sizing:border-box;overflow-wrap:anywhere}
