.garden-workspace h3{font-size:1.1rem;margin:24px 0 12px}
.garden-workspace nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;line-height:1.4}
.garden-workspace nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;box-sizing:border-box;border:1px solid #d9e4d3;border-radius:10px;background:#f4f7ee;text-decoration:none;font-size:.88rem;font-weight:600}
.garden-workspace details{border:1px solid #dce5d5;border-radius:12px;background:#fafbf6;padding:12px 16px;margin:14px 0}
.garden-workspace summary{cursor:pointer;font-weight:650;min-height:44px;align-content:center}
.garden-workspace summary:focus-visible{outline:3px solid #b86e19;outline-offset:3px}
.garden-workspace details p{font-size:.9rem;line-height:1.6}
.garden-workspace section.seed-card,.garden-workspace article.exchange-card{border:1px solid #dce5d5;border-radius:16px;background:#fafbf6;padding:18px;margin:14px 0}
.seed-card h3,.exchange-card h3{margin:0 0 6px;font-size:1.15rem}
.seed-variety{color:#55664f;font-size:.9rem;margin:4px 0 12px}
.seed-meta{font-size:.88rem;color:#44593e;margin:10px 0}
.seed-card .packet-count{display:inline-block;padding:5px 10px;background:#e8f1df;border-radius:8px;font-weight:650;color:#34512d}
.seed-card .seed-description{font-size:.92rem;line-height:1.6}
.seed-card .card-actions{display:flex;gap:8px;flex-wrap:wrap}
.seed-card .card-actions a{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px;box-sizing:border-box;border:1px solid #d4dfcd;border-radius:9px;text-decoration:none;font-size:.9rem;font-weight:600;background:white}
.garden-workspace section form,.garden-workspace article form{margin-top:12px}
.garden-workspace article form{display:inline-block;margin-right:8px}
.garden-workspace button{min-height:48px}
.garden-workspace form[action$="/decline"] button,.garden-workspace form[action$="/dispute"] button{background:#fff8ed;color:#725028;border:1px solid #dec9aa}
.exchange-status{display:inline-block;font-size:.82rem;font-weight:650;padding:6px 10px;border-radius:8px;background:#eef0e7;color:#4d5944;line-height:1.5}
.status-accepted,.status-shipped{background:#eaf1f8;color:#285571}
.status-received_pending_review,.status-pending{background:#fff1d5;color:#71501e}
.status-completed{background:#e4f1dc;color:#345b2c}
.status-disputed{background:#fae8dd;color:#7a4426}
.garden-workspace .seed-search{background:#f4f7ee;border:1px solid #dce5d5;border-radius:12px;padding:14px}
.seed-search label{margin:0 0 10px}
.seed-search button,.seed-card form button{width:100%}
@media(max-width:480px){.garden-workspace nav a{flex:1 1 auto}.garden-workspace section.seed-card,.garden-workspace article.exchange-card{padding:16px}.garden-workspace article form{display:block;margin-right:0}.garden-workspace article button{width:100%}}

.mailing-address{padding:18px;border:1px solid #dce5d5;border-radius:12px;background:#f4f7ee;overflow-wrap:anywhere}.mailing-address address{font-style:normal;line-height:1.7}.garden-workspace form[action$="/mailing"] button{width:100%}

.exchange-guide-steps{display:grid;gap:12px;margin:20px 0}.guide-step{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #dce5d5;border-radius:14px;background:#fafbf6}.guide-number{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#285f38;color:white;font-weight:700}.guide-step>div{min-width:0}.guide-step h3{margin:3px 0 8px}.guide-step p{font-size:.94rem;margin:8px 0}.guide-step a{display:inline-flex;align-items:center;min-height:44px}@media(max-width:360px){.guide-step{padding:12px;gap:8px}.guide-number{width:28px;height:28px}}

.exchange-number{font-size:.78rem;margin:0 0 6px;color:#586650}.exchange-next-step{margin:14px 0;padding:12px 14px;background:white;border-left:3px solid #86a576;border-radius:0 8px 8px 0}.exchange-next-step strong{font-size:.92rem}.exchange-next-step p{font-size:.88rem;margin:5px 0;line-height:1.6}

.request-review-link{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;box-sizing:border-box;border-radius:9px;background:#285f38;color:white;text-decoration:none;font-size:.92rem;font-weight:600}.request-summary{padding:16px;background:#f4f7ee;border:1px solid #dce5d5;border-radius:12px;margin:18px 0}.request-summary h3{margin:0 0 10px}.request-summary p{font-size:.92rem;line-height:1.6}.request-credit-note{border-left:3px solid #bd872c;padding-left:12px}.garden-workspace form[action^="/browse/"] button{width:100%}

.garden-workspace textarea{display:block;width:100%;box-sizing:border-box;min-height:128px;resize:vertical;padding:12px;font:inherit;line-height:1.5;border:1px solid #8b9d8c;border-radius:8px;color:#24452e;background:white}.garden-workspace textarea:focus-visible{outline:3px solid #b86e19;outline-offset:3px}.seed-description{white-space:pre-wrap}

.seed-card .seed-reservation-note{font-size:.82rem;line-height:1.5;color:#55664f;margin:12px 0 0}

.credit-balance{padding:18px 20px;background:#edf6e9;border:1px solid #d5e5cb;border-radius:14px;margin:20px 0}.credit-balance span{font-size:.9rem}.credit-balance strong{display:block;font-size:2.5rem;line-height:1.2}.credit-history{width:100%;border-collapse:collapse;table-layout:fixed}.credit-history th,.credit-history td{padding:14px 10px;border-bottom:1px solid #dce5d5;text-align:left;vertical-align:top;font-size:.92rem}.credit-history th:last-child,.credit-history td:last-child{width:64px;text-align:right}.credit-history th{background:#f4f7ee}.credit-history small a{display:inline-flex;align-items:center;min-height:44px;font-size:.82rem}.credit-change{font-weight:700;white-space:nowrap}.credit-earned{color:#285f38}.credit-used{color:#81562e}

.seed-card .already-requested{font-size:.86rem;font-weight:650;color:#345b2c;padding:10px 12px;background:#e4f1dc;border-radius:8px}.request-existing-link{display:flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;padding:10px 14px;border:1px solid #bcccaf;border-radius:9px;background:white;color:#285f38;font-weight:650;text-decoration:none}.browse-result-count{font-size:.88rem;color:#55664f}

.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-plant{padding:14px;border:1px solid #dce5d5;border-radius:12px;background:#fafbf6;min-width:0}.catalog-plant h4{margin:0 0 8px;font-size:1rem}.catalog-plant a{display:flex;align-items:center;min-height:44px;font-size:.84rem;font-weight:600}.catalog-group{margin:22px 0}@media(max-width:360px){.catalog-grid{grid-template-columns:1fr}}

.catalog-varieties{padding:8px;margin:10px 0 0;min-width:0}
.catalog-varieties summary{font-size:.85rem;overflow-wrap:anywhere}
.catalog-varieties p{font-size:.8rem}
.catalog-varieties ul{list-style:none;padding:0;margin:0}
.catalog-varieties li{border-bottom:1px solid #dce5d8}
.catalog-varieties a{overflow-wrap:anywhere}
.catalog-varieties .catalog-source{font-size:.75rem}

.catalog-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.catalog-varieties a{font-size:.9rem}
.catalog-varieties .catalog-source{font-size:.8rem}

.catalog-varieties li{padding:12px 0}
.catalog-varieties li strong{display:block;font-size:.9rem}
.catalog-varieties li a{font-weight:500}
.seed-search-empty{padding:16px;border:1px solid #dce5d5;border-radius:12px;background:#fafbf6}
.seed-search-empty h3{margin:0 0 8px}
.seed-search-empty a{display:inline-flex;align-items:center;min-height:44px}

.catalog-varieties .catalog-variety-scroll{max-height:240px;overflow-y:auto;scrollbar-gutter:stable;padding:0 8px; border:1px solid #dce5d5;border-radius:8px;background:white;-webkit-overflow-scrolling:touch}
.catalog-variety-scroll:focus-visible{outline:3px solid #b86e19;outline-offset:3px}

.catalog-plant-scroll{max-height:420px;max-height:min(55svh,420px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;padding:4px}
.catalog-plant-scroll:focus-visible{outline:3px solid #b86e19;outline-offset:3px}
.catalog-scroll-hint{font-size:.8rem;color:#55664f;margin:8px 0 12px}

.seed-photo-gallery{display:flex;gap:12px;overflow-x:auto;padding:8px 0;scroll-snap-type:x proximity}
.seed-photo-gallery figure{margin:0;flex:0 0 210px;max-width:85%;scroll-snap-align:start}
.seed-photo-gallery img{display:block;width:100%;height:170px;object-fit:cover;border-radius:10px}
.seed-photo-gallery figcaption{font-size:.85rem;margin-top:6px}
.seed-photo-editor{padding:16px;margin:18px 0;border:1px solid #dce5d5;border-radius:12px}
.seed-photo-editor>img{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:10px}
.seed-photo-editor button,.photo-upload button{width:100%}
.seed-photo-editor .photo-remove{background:white;color:#81562e;border:1px solid #bcccaf}
.photo-upload input[type=file]{font-size:.85rem;overflow:hidden}
.seed-photo-gallery:focus-visible{outline:3px solid #b86e19;outline-offset:3px}

.seed-photo-full{margin:18px 0}
.seed-photo-full img{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain;background:#f4f7ee;border-radius:12px}
.seed-photo-full figcaption{margin:12px 0;font-size:.95rem}
.photo-viewer-navigation{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 20px}
.photo-viewer-navigation a{display:flex;align-items:center;justify-content:center;min-height:48px;flex:1 1 150px;padding:8px 12px;border:1px solid #bcccaf;border-radius:9px;box-sizing:border-box;background:#f4f7ee;text-decoration:none;font-weight:600}
.photo-position{text-align:center;font-size:.88rem;color:#55664f}

.photo-first-label{display:inline-block;padding:6px 10px;margin:12px 0 0;border-radius:8px;background:#edf6e9;color:#285f38;font-size:.85rem;font-weight:600}

.garden-workspace select{display:block;width:100%;box-sizing:border-box;min-height:48px;font:inherit;padding:10px;border:1px solid #8b9d8c;border-radius:8px;background:white;color:#24452e}
.garden-workspace select:focus-visible{outline:3px solid #b86e19;outline-offset:3px}

/* Keep Find Seeds filters visible above an independently scrollable result list. */
.garden-workspace .browse-results-scroll{max-height:min(65vh,650px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:1px solid #dce5d5;border-radius:14px;padding:0 12px;background:#f8faf5}
.garden-workspace .browse-results-scroll:focus-visible{outline:3px solid #b86e19;outline-offset:3px}
.garden-workspace .browse-scroll-hint{font-size:.85rem;color:#55664f;margin:12px 0 6px}
@media(max-width:480px){.garden-workspace .browse-results-scroll{max-height:58vh;padding:0 8px}}

/* Keep lengthy outgoing exchange lists independently scrollable. */
.garden-workspace .sent-requests-scroll{max-height:650px;overflow-y:auto;overscroll-behavior:contain;padding:0 12px 0 2px;scrollbar-gutter:stable;border-radius:12px}
.garden-workspace .sent-requests-scroll:focus-visible{outline:2px solid #527f43;outline-offset:2px}
@media(max-width:600px){.garden-workspace .sent-requests-scroll{max-height:65vh;padding-right:6px}}

/* Ensure the full status border remains visible inside the scroll region. */
.garden-workspace .sent-requests-scroll{padding-left:7px;padding-right:15px;box-sizing:border-box}
.garden-workspace .sent-requests-scroll>.exchange-card{margin-left:2px!important;margin-right:2px!important;box-sizing:border-box}
/* Paginated outgoing requests replace the long nested scrollbar. */
.garden-workspace .sent-requests-scroll{max-height:none;overflow:visible;padding:0;scrollbar-gutter:auto}
.sent-filter-tabs,.sent-pagination,.sent-search-form{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:12px 0}
.sent-filter-tabs a,.sent-pagination a{padding:9px 13px;border:1px solid #cadbc5;border-radius:10px;text-decoration:none;color:#315d3b;background:#f6faf3;font-weight:650}
.sent-filter-tabs a[aria-current=page]{background:#285f38;color:#fff}
.sent-search-form input{flex:1 1 180px;min-width:0}.sent-search-form select{width:auto}.sent-search-form button{min-height:42px}
.sent-page-count,.sent-pagination span{font-size:.84rem;color:#586d59}
.exchange-mailing-alert{padding:12px 14px;border:1px solid #e7c587;border-left:5px solid #b77c20;border-radius:10px;background:#fff6e6;color:#674b19;font-size:.88rem;line-height:1.6}
.exchange-mailing-alert a{font-weight:750}

/* Opt-in gardener messaging: compact, responsive and keyboard-accessible. */
.garden-workspace .sb-message-list{display:grid;gap:10px;max-width:780px;margin:16px auto}
.garden-workspace .sb-message{border:1px solid #dce5d5;background:#fafbf6;border-radius:12px;padding:14px;overflow-wrap:anywhere}
.garden-workspace .sb-message.mine{background:#eaf3e8;border-color:#bad3b9}
.garden-workspace .sb-message p{white-space:pre-wrap;overflow-wrap:anywhere}
.garden-workspace .sb-message-tools{margin-top:10px}
.garden-workspace .sb-message-tools summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.garden-workspace .sb-message-tools input{width:100%;box-sizing:border-box;max-width:100%}
.garden-workspace .sb-message-form{max-width:780px;margin:16px auto}
.garden-workspace .sb-message-form button,.garden-workspace .sb-message-tools button{min-height:44px}
@media(max-width:480px){.garden-workspace .sb-message{padding:12px}.garden-workspace .sb-message-form button,.garden-workspace .sb-message-tools button{width:100%}}
.sb-unread-badge{display:inline-block;border-radius:999px;background:#9d3b22;color:white;padding:2px 8px;font-size:.75rem;line-height:1.6;white-space:nowrap}
.sb-message-alert{padding:14px;border:2px solid #9d3b22;border-radius:12px;background:#fff4e8;font-weight:700}
.sb-message-alert a{display:block;min-height:44px}
