.inv-stats,.inv-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:20px 0}.inv-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}.inv-stat{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #dce5dd;border-radius:16px;padding:20px;color:#34493b}.inv-stat strong{font-size:25px;overflow-wrap:anywhere;color:#21432d}.inv-lot{padding:22px;min-width:0;display:flex;flex-direction:column;gap:14px;align-items:stretch}.inv-lot h3,.inv-lot p{margin:0;overflow-wrap:anywhere}.inv-lot small{color:#526559}.inv-lot-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.inv-lot-head h3{margin-top:6px}.inv-balance{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.inv-balance strong{font-size:30px;color:#245d38}.inv-balance span{color:#526559}.inv-lot dl{margin:0;display:grid;gap:10px}.inv-lot dl div{display:flex;justify-content:space-between;gap:16px}.inv-lot dt{color:#526559;font-size:13px}.inv-lot dd{margin:0;text-align:right;overflow-wrap:anywhere;font-size:14px;max-width:65%;font-weight:600}.inv-actions,.inv-links{display:flex;gap:8px;flex-wrap:wrap}.inv-actions{margin-top:auto;padding-top:10px}.inv-actions button,.inv-links button{min-height:44px}.inv-condition{border-radius:20px;padding:6px 10px;font-size:12px;font-weight:700;white-space:nowrap}.inv-condition.great{background:#e5f5eb;color:#166534}.inv-condition.good{background:#fff0d9;color:#914800}.inv-condition.repair{background:#ffe6e5;color:#a32121}.inv-filters{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.inv-filters label{flex:1 1 170px}.inv-filters label:first-child{flex-grow:2}.inv-filters label,.inv-search{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:13px;color:#34493b}.inv-filters input,.inv-filters select,.inv-search input{min-height:44px;width:100%;border:1px solid #c9d7cc;border-radius:10px;padding:10px;background:#fff;color:#23372a;font:inherit}.inv-photos{display:flex;gap:8px;overflow:auto}.inv-photos img{width:74px;height:74px;border-radius:10px;object-fit:cover}.inv-form .form-grid>p,.inv-photo-fields{grid-column:1/-1}.inv-photo-fields{display:grid;gap:12px;padding:14px;background:#f4f7f3;border-radius:12px}.inv-photo-fields input{max-width:100%;font-size:14px}.inv-form label{min-width:0}.inv-form input,.inv-form select,.inv-form textarea{min-height:44px;font-size:16px;max-width:100%}.inv-form #invError{color:#a32121;white-space:normal}.inv-history article{padding:14px 0;border-bottom:1px solid #dde6de}.inv-history p{margin:6px 0}.inv-search{margin:20px 0}.inv-lot .material-symbols-rounded{color:#378348}@media(max-width:600px){.inv-cards{grid-template-columns:1fr;gap:12px}.inv-lot{padding:18px}.inv-stats{gap:10px;grid-template-columns:1fr 1fr}.inv-stat{padding:14px}.inv-stat strong{font-size:21px}.inv-stat:last-child:nth-child(odd){grid-column:1/-1}.inv-form .form-grid{grid-template-columns:1fr}.inv-actions .primary{flex:1}.inv-filters label{flex-basis:130px}.inv-filters label:first-child{flex-basis:100%}}
/* Visual cultivation: photos stay linked to the original receipt. */
.garden-page{--garden-green:#245d3b;--garden-muted:#5c7163;--garden-pale:#edf3e7;--garden-earth:#79543b;color:#243e2f}.garden-page button:focus-visible{outline:3px solid #b77b2c;outline-offset:3px}.garden-area-tabs{display:flex;gap:8px;margin:8px 0 20px}.garden-area-tabs button{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid #d7e1d3;background:#fff;color:#4c6452;border-radius:30px;font-weight:600}.garden-area-tabs button.selected{background:#254e36;color:white;border-color:#254e36}.garden-hero{position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 32px;background:linear-gradient(110deg,#e8f0dd,#f6f8ee);border:1px solid #dbe5ce;border-radius:22px;overflow:hidden}.garden-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#527246}.garden-hero h2{font-size:30px;line-height:1.2;margin:10px 0;color:#21462e}.garden-hero p{font-size:14px;margin:0;color:#51674f;max-width:470px}.garden-hero-plants{display:flex;align-items:flex-end;min-width:180px;transform:rotate(-4deg);align-self:stretch}.garden-hero-plants .garden-sprout{width:72px;height:105px}.garden-hero-plants .garden-sprout:nth-child(2){height:140px;width:100px}.garden-sprout{display:block;width:54px;height:70px}.garden-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 28px}.garden-metrics button{border:1px solid #dce5d8;border-radius:15px;padding:17px;background:#fff;color:#42614c;display:flex;gap:12px;text-align:left;align-items:center;min-width:0}.garden-metrics button>span:last-child{font-size:12px}.garden-metrics strong{display:block;font-size:23px;margin-top:5px;overflow-wrap:anywhere;color:#254e36}.garden-metrics button.selected{border-color:#397348;box-shadow:0 0 0 1px #397348}.garden-map-section{background:#f4f4e9;border:1px solid #e3e5d5;border-radius:22px;padding:22px;margin-bottom:24px}.garden-map-section>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.garden-map-section h3,.garden-section-head h3{margin:0;font-size:18px}.garden-map-section p,.garden-section-head p{font-size:12px;margin:6px 0 0;color:#65715e}.garden-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.garden-bed{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;min-height:155px;padding:12px 10px 10px;background:transparent;border:2px solid transparent;border-radius:16px;color:#314d35;transition:background .15s,border-color .15s}.garden-bed:hover{background:#e7ecda}.garden-bed[aria-pressed=true]{border-color:#44773d;background:#e9efdd}.garden-bed-label{font-size:12px;font-weight:700;align-self:flex-start;background:#fffdf5;border:1px solid #d6d6bd;padding:5px 9px;border-radius:5px;z-index:2;box-shadow:0 2px 0 #dedbc9}.garden-bed-plants{height:62px;display:flex;align-items:flex-end;justify-content:center;position:relative;z-index:1;gap:8px;width:100%}.garden-bed-plants .garden-sprout{height:66px;width:46px;margin-bottom:-9px;filter:drop-shadow(2px 3px 1px #0002)}.garden-bed-ground{display:block;width:100%;height:29px;border-radius:45% 45% 8px 8px;background:repeating-linear-gradient(7deg,#846143 0 8px,#795739 9px 12px);box-shadow:0 6px 0 #65432d,0 10px 7px #4c392422;transform:perspective(150px) rotateX(25deg);border:4px solid #b99263}.garden-bed.vacant .garden-bed-ground{opacity:.6}.garden-bed.vacant .garden-bed-plants>.material-symbols-rounded{font-size:24px;color:#567745;background:#e0e7d2;border:1px dashed #829571;border-radius:50%;padding:7px;margin-bottom:-6px}.garden-bed-caption{font-size:11px;line-height:1.4;margin-top:14px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.garden-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:0 0 20px}.garden-toolbar .inv-search{flex:1 1 220px;position:relative;margin:0}.garden-toolbar .inv-search>.material-symbols-rounded{position:absolute;left:12px;top:12px;color:#788775;font-size:20px}.garden-toolbar .inv-search input{padding-left:40px}.garden-filters{display:flex;gap:4px;flex-wrap:wrap;background:#eaf0e4;padding:5px;border-radius:12px}.garden-filters button{min-height:40px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#4b624f;font-size:12px;font-weight:600}.garden-filters button.selected{background:#fff;box-shadow:0 2px 5px #304c2512;color:#214b2e}.garden-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:24px;align-items:start}.garden-layout.single{grid-template-columns:1fr}.garden-layout [hidden]{display:none!important}.garden-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.garden-section-head>span{background:#edf2e6;padding:5px 9px;border-radius:20px;font-size:11px;white-space:nowrap;color:#4b674b}.garden-crop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}.garden-crop{padding:0!important;gap:0!important;border:1px solid #dde5d6;border-radius:20px;overflow:hidden;background:white;box-shadow:0 6px 18px #33451e08;align-self:start}.garden-crop-scene{height:204px;position:relative;overflow:hidden;background:linear-gradient(#edf5e6,#f7f8ec 73%)}.garden-stage{position:absolute;top:13px;left:14px;background:#ffffffeb;padding:6px 10px;border-radius:20px;font-size:10px;font-weight:700;color:#2c6335;z-index:4}.garden-photo-stake{position:absolute;top:30px;left:50%;transform:translateX(-50%) rotate(-3deg);width:118px;height:124px;background:#fffdf3;border:5px solid #fffdf3;border-bottom-width:20px;border-radius:7px;box-shadow:0 3px 12px #39522a25;z-index:3;padding:0;transition:transform .2s}.garden-photo-stake:hover{transform:translateX(-50%) rotate(0deg) scale(1.04)}.garden-photo-stake:after{content:'';position:absolute;width:9px;height:34px;top:115px;left:50%;background:#b79a69;border-radius:0 0 4px 4px;z-index:-1}.garden-photo-stake img{width:100%;height:100%;object-fit:cover;border-radius:3px;display:block}.garden-no-photo{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f1f4e9}.garden-no-photo .garden-sprout{height:60px;width:50px}.garden-no-photo small{font-size:9px;color:#627454}.garden-crop-sprouts{display:flex;align-items:flex-end;justify-content:space-around;position:absolute;bottom:37px;left:10px;right:10px;z-index:2}.garden-crop-sprouts .garden-sprout{width:44px;height:64px}.garden-crop-sprouts .garden-sprout:nth-child(2),.garden-crop-sprouts .garden-sprout:nth-child(3){height:44px;width:32px}.garden-soil{position:absolute;bottom:0;left:0;right:0;height:52px;background:radial-gradient(ellipse at 15% 30%,#b99b7130 0 3px,transparent 4px),repeating-linear-gradient(6deg,#856344,#856344 9px,#7d5b3c 10px,#7d5b3c 15px);border-top:5px solid #ad8658}.garden-location{position:absolute;bottom:10px;left:14px;background:#fff8e9;border:1px solid #d7c5a4;padding:4px 9px;border-radius:4px;font-size:11px;font-weight:700;color:#664728;z-index:3}.garden-crop-body{padding:18px}.garden-crop-body>small{font-size:10px;color:#73816b}.garden-crop-body h3{font-size:19px;margin:6px 0 12px}.garden-crop-quantity{display:flex;align-items:baseline;gap:10px;margin-bottom:16px}.garden-crop-quantity strong{font-size:27px;color:#2c5838}.garden-crop-quantity strong small{font-size:12px;font-weight:500}.garden-crop-quantity>span{font-size:12px;color:#697962}.garden-crop-body dl{gap:8px;margin-bottom:14px}.garden-crop-body dt,.garden-crop-body dd{font-size:11px}.garden-crop-body .inv-actions{gap:7px}.garden-crop-body .inv-actions button{font-size:12px;padding:8px 11px}.garden-crop-body .inv-actions button .material-symbols-rounded{font-size:16px}.garden-pending-card{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;background:white;border:1px solid #e1e6d8;padding:16px;border-radius:16px;margin-bottom:12px}.garden-pending-photo{width:70px;height:78px;border:0;background:#eef3e4;border-radius:10px;overflow:hidden;padding:0;align-self:start}.garden-pending-photo img{height:100%;width:100%;object-fit:cover}.garden-pending-card h4{font-size:16px;margin:5px 0 8px;overflow-wrap:anywhere}.garden-pending-card small{font-size:10px;color:#74806b}.garden-pending-card strong{font-size:15px;color:#315c3b}.garden-pending-card p{font-size:11px;color:#68765e;margin:7px 0 0;overflow-wrap:anywhere}.garden-pending-card>.primary{grid-column:1/-1;min-height:42px;font-size:13px;display:flex;justify-content:center;gap:8px}.garden-pending-card>.primary .material-symbols-rounded{font-size:19px}.garden-empty{text-align:center;padding:34px 22px;border:1px dashed #c5d3b7;background:#f7f9f2;border-radius:18px;color:#527046}.garden-empty>.garden-sprout,.garden-empty>div>.garden-sprout{margin:0 auto}.garden-empty h3{font-size:17px;line-height:1.4;margin:12px 0 8px}.garden-empty p{font-size:13px;line-height:1.6;color:#6d7c60}.garden-empty.compact{padding:24px 18px}.garden-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:10px 0 20px}.garden-gallery img{width:100%;height:170px;object-fit:cover;border-radius:12px}.garden-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.garden-detail-grid p{margin:0;background:#f4f6ee;padding:14px;border-radius:10px}.garden-detail-grid small,.garden-detail-grid b{display:block}.garden-detail-grid small{font-size:11px;color:#62725b;margin-bottom:6px}.garden-photo-help,.garden-edit-explainer{font-size:13px;color:#65715d;line-height:1.6}.garden-edit-explainer,#gardenEditImpact{grid-column:1/-1}#gardenEditImpact{background:#eef5e7;color:#315d35;padding:12px;border-radius:8px;font-size:13px}#gardenSelection:empty{display:none}#gardenSelection{padding:12px 16px;background:#eaf2df;border-radius:10px;margin-bottom:18px;font-size:13px;color:#315b32}.garden-hydro .garden-hero{background:linear-gradient(110deg,#e5f1eb,#eff8f5);border-color:#d2e6de}.garden-hydro .garden-map-section{background:#eef5f2;border-color:#dce8e2}.garden-hydro .garden-bed-ground{background:repeating-linear-gradient(0deg,#f4f8f6 0 7px,#c7d8d3 8px 10px);border-color:#adc9c0;box-shadow:0 6px 0 #8fac9f,0 10px 7px #254c3420;border-radius:7px}.garden-hydro .garden-soil{background:repeating-linear-gradient(0deg,#ebf3f0 0 12px,#c5d9d0 13px 17px);border-color:#afc9bc}.garden-hydro .garden-location{background:#f5fbf8;border-color:#adc5b9;color:#345748}.garden-hydro .garden-crop-scene{background:linear-gradient(#eaf5f0,#f4faf8)}
@media(min-width:1400px){.garden-map{grid-template-columns:repeat(9,minmax(0,1fr));gap:5px}.garden-bed{padding:8px 4px;min-height:150px}.garden-bed-label{font-size:10px;padding:5px 6px}.garden-bed-plants{gap:0}.garden-bed-plants .garden-sprout{width:30px}.garden-bed-caption{font-size:10px}}
@media(max-width:900px){.garden-layout{grid-template-columns:1fr}.garden-map{gap:8px}.garden-map-section{padding:17px}.garden-crop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#gardenPending{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.garden-pending-card{margin-bottom:0}.garden-hero{padding:24px}.garden-hero h2{font-size:27px}.garden-hero-plants{min-width:140px}.garden-hero-plants .garden-sprout{width:45px}.garden-hero-plants .garden-sprout:nth-child(2){width:65px}.garden-metrics button{padding:14px;gap:8px}.garden-metrics strong{font-size:20px}}
@media(max-width:520px){.garden-area-tabs button{flex:1;padding:9px 10px;font-size:12px;justify-content:center}.garden-area-tabs .material-symbols-rounded{font-size:18px}.garden-hero{padding:22px 18px}.garden-hero h2{font-size:25px}.garden-hero p{font-size:12px;max-width:220px}.garden-eyebrow{font-size:8px;letter-spacing:1px}.garden-hero-plants{min-width:65px;position:absolute;right:-20px;bottom:-16px;opacity:.22}.garden-hero-plants .garden-sprout{width:50px}.garden-hero>div:first-child{position:relative;z-index:1}.garden-metrics{gap:7px;margin:12px 0 22px}.garden-metrics button{padding:12px 9px;display:block}.garden-metrics button>.material-symbols-rounded{font-size:20px;margin-bottom:7px}.garden-metrics button>span:last-child{font-size:10px;display:block}.garden-metrics strong{font-size:18px}.garden-map-section>header{align-items:flex-start}.garden-map-section h3{font-size:16px}.garden-map-section p{font-size:11px}.garden-map-section .text-action{font-size:11px;min-width:60px;min-height:44px}.garden-map{gap:4px}.garden-bed{padding:8px 3px;min-height:142px}.garden-bed-label{font-size:9px;padding:5px}.garden-bed-caption{font-size:9px}.garden-bed-plants{gap:0;height:57px}.garden-bed-plants .garden-sprout{width:29px;height:56px}.garden-toolbar{gap:10px}.garden-filters{width:100%;justify-content:space-between}.garden-filters button{padding:8px;font-size:10px}.garden-crop-grid,#gardenPending{grid-template-columns:1fr}.garden-crop-scene{height:213px}.garden-photo-stake{width:130px;height:135px}.garden-photo-stake:after{top:126px}.garden-crop-sprouts{left:20px;right:20px}.garden-crop-sprouts .garden-sprout{height:71px;width:53px}.garden-crop-body{padding:19px}.garden-crop-body dt,.garden-crop-body dd{font-size:12px}.garden-section-head h3{font-size:18px}.garden-detail-grid{gap:8px}.garden-detail-grid b{font-size:13px}.garden-gallery img{height:150px}}
@media(prefers-reduced-motion:reduce){.garden-page *{transition:none!important;scroll-behavior:auto!important}}
.garden-delete{color:#a52727!important;background:#fff5f3!important;border:1px solid #dfb7b0!important;border-radius:9px;padding:10px 14px;min-height:44px;font-weight:600}.garden-delete:hover{background:#ffe6e1!important}.garden-delete-confirm{grid-column:1/-1;display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;font-size:13px}.garden-delete-confirm input[type=checkbox]{min-height:20px!important;width:20px!important;height:20px;flex-shrink:0;margin-top:2px}

/* User-defined location names must fit narrow mobile beds. */
.garden-bed-label{max-width:100%;overflow-wrap:anywhere;white-space:normal}.garden-location{max-width:calc(100% - 24px);overflow-wrap:anywhere}

.donation-lot-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(100px,1fr);gap:12px;padding:16px;margin:12px 0;border:1px solid #dfe6d8;border-radius:12px;background:#f9fbf6}.donation-lot-row label{min-width:0}.donation-lot-row select{width:100%;max-width:100%}.donation-lot-row small{color:#526344}.donation-lot-row button{min-height:44px}#donationError{color:#a52c25}@media(max-width:600px){.donation-lot-row{grid-template-columns:1fr}.donation-card footer>div{display:flex;flex-wrap:wrap;gap:8px}}
