/* Feedback revision: authentic website identity, compact accessible surfaces. */
.header-brand{width:116px;height:auto;max-height:40px;aspect-ratio:500/154;object-fit:contain;filter:none;opacity:1}
.home-logo{width:200px!important;height:auto!important;max-width:70%;aspect-ratio:500/154!important;object-fit:contain;filter:none;opacity:1}
.onboarding .brand,.auth-brand,.welcome-logo{height:auto;aspect-ratio:500/154;object-fit:contain;filter:none;opacity:1}
[data-cgs-animation]{position:relative;aspect-ratio:2324/1080;width:100%;overflow:hidden;isolation:isolate}
[data-cgs-animation]>img{width:100%;height:100%;object-fit:contain;display:block}
.brand-animation-player{position:absolute;inset:0;width:100%;height:100%}
[data-cgs-animation].animation-ready>img{visibility:hidden}
.main-content{overflow-wrap:break-word}
.main-content>form+.empty,.main-content>form+.card,.main-content>.btn+.card,.main-content>.btn+.empty{margin-top:14px}
.main-content .field{min-width:0}
.main-content select{max-width:100%}
.main-content video{max-width:100%;border-radius:12px;background:#172a14}
@media(prefers-reduced-motion:reduce){.brand-animation-player{display:none}[data-cgs-animation].animation-ready>img{visibility:visible}}
.home-brand img{width:200px;height:auto;aspect-ratio:500/154;object-fit:contain}
.auth-illustration[data-cgs-animation]>.auth-hero{height:100%;max-height:none;aspect-ratio:2324/1080;object-fit:contain}
[hidden],input[type=hidden]{display:none!important}
details:not([open])>:not(summary){display:none}
.app-shell[data-screen=C31] .compact-filters{grid-template-columns:minmax(0,1fr)}
.app-shell[data-screen=C31] .compact-filters{display:block}
.app-shell[data-screen=C31] .compact-filters>.field{display:block;width:100%;margin-bottom:10px}
.app-shell[data-screen=C31] .filter-options{display:flex;width:100%;gap:10px;margin-bottom:10px}
.app-shell[data-screen=C31] .filter-options>.field{flex:1 1 0;width:0;min-width:0}
.garden-inventory{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
.garden-inventory-item{width:100%;max-width:100%}

/* Round two: deliberate separation and equal control sizing across both roles. */
.main-content>form+.btn,.main-content>.btn+form,
.main-content>.btn+.grid,.main-content>.btn+.product-grid,
.main-content>.btn+.source-plant-grid,.main-content>form+.source-plant-grid{margin-top:12px}
.card>form+.btn,.card>.btn+form{margin-top:12px}
form>.field+.btn,form>.field+button,form>.form-row+.btn{margin-top:12px}
.row:has(>.btn),.actions:has(>.btn),.action-row:has(>.btn){align-items:stretch}
.garden-profile .button-row>*{flex:1 1 0;min-width:0}
.garden-profile .button-row{align-items:stretch}
.card>strong+small,.card>strong+time{display:block;margin-top:4px}
.auth-illustration[data-cgs-animation="assets/cgs-consumer-overview-illustration.json"]{aspect-ratio:1161/1108}
.auth-illustration[data-cgs-animation="assets/cgs-consumer-overview-illustration.json"]>.auth-hero{aspect-ratio:1161/1108;height:100%;max-height:none}
.auth-benefits{width:242px;max-width:100%;margin-left:auto;margin-right:auto}
.role-choice-cards{grid-template-rows:repeat(2,minmax(102px,1fr))}
.source-major-heading h2{flex:1;min-width:0;font-size:18px;line-height:1.35;gap:8px}
.source-major-heading>.text-link{flex:none}
.source-major-heading .section-icon{width:32px;height:32px}
.source-plant-grid{grid-auto-rows:minmax(204px,auto)}
.source-plant-card{width:100%;height:100%}
.source-section-heading>h3{flex:1;min-width:0}
.source-section-heading>.text-link{flex:none}
.app-shell[data-screen=C01] .source-section-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.source-major-heading h2{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center}
.source-plant-card{white-space:normal}
.source-plant-card>strong,.source-plant-card>span{white-space:normal;overflow-wrap:break-word}
/* Stable home section columns: the action never takes width from the title. */
.app-shell[data-screen=C01] .source-section-heading{display:block;position:relative;padding-right:56px;min-height:36px}
.app-shell[data-screen=C01] .source-section-heading>h2,
.app-shell[data-screen=C01] .source-section-heading>h3{display:block;width:100%;margin:0;min-width:0}
.app-shell[data-screen=C01] .source-section-heading>.text-link{position:absolute;right:0;top:0;margin:0;padding:4px 0;min-height:32px}
.app-shell[data-screen=C01] .source-major-heading h2{position:relative;padding-left:40px;min-height:32px;line-height:32px}
.app-shell[data-screen=C01] .source-major-heading .section-icon{position:absolute;left:0;top:0}
.source-plant-grid{grid-auto-rows:minmax(232px,auto)}
.app-shell[data-screen=C01] .source-section-heading{width:100%;padding-right:0}
.app-shell[data-screen=C01] .source-subheading>.text-link{position:static;float:right;width:56px;text-align:right}
.app-shell[data-screen=C01] .source-subheading>h3{width:auto;margin-right:64px}
.star-picker{display:block}
.star-picker>legend{margin-bottom:8px}
.star-options{display:flex;gap:8px}
.star-options>label{flex:1 1 0;min-width:0}

/* Round four: keep related content compact, with deliberate breathing room. */
.main-content{border-radius:16px;background:var(--surface)}
.main-content>.badge+form,.main-content>.badge+.card,.main-content>.badge+.notice{margin-top:10px}
.main-content>form+.notice,.main-content>.btn+.notice,.card>form+.notice,.card>.btn+.notice{margin-top:12px}
form>.btn+.field,form>button+.field{margin-top:12px}
.badge+p,.badge+h1,.badge+h2,.badge+h3,.badge+.detail-row,.badge+.summary,.badge+form{margin-top:8px}
.badge+.badge{margin-inline-start:6px}
.actions>.badge+.badge,.card-heading>.badge+.badge{margin-inline-start:0}
.card-heading{flex-wrap:wrap;align-items:center;gap:8px 10px}
.card-heading>h1,.card-heading>h2,.card-heading>h3,.card-heading>div{min-width:0;flex:1 1 160px}
.card-heading>.badge{flex:0 0 auto;max-width:100%;white-space:normal}
.card .badge+p{margin-top:8px}
.growing-profile-notes{margin:12px 0}
.growing-profile-notes h3{font-size:14px;line-height:1.4;margin-bottom:6px}
.growing-profile-notes p{white-space:pre-wrap;line-height:1.55}

/* Status and title receive a whole row, keeping the View action away from edges. */
.card.grower-request-row{display:block;padding:12px 14px;border:1px solid var(--line);border-radius:14px}
.grower-request-row>.request-card-heading{margin:0 0 8px}
.grower-request-row .request-card-heading>h3{font-size:15px;line-height:1.4;margin:0;flex:1 1 140px}
.grower-request-row .grower-row-main{flex:1;min-width:0}
.grower-request-row .grower-row-meta{font-size:14px;line-height:1.5;margin:0 0 5px}
.grower-request-row .grower-row-meta:last-child{margin-bottom:0}
.grower-request-row .request-card-footer>.btn{min-width:64px;margin:0;padding:10px 12px;align-self:center}
.request-card{padding:12px 14px}
.request-card>.request-card-heading{margin:0 0 8px}
.request-card .request-card-heading h3{font-size:15px;line-height:1.4;margin:0}
.request-card>.product-meta{font-size:14px;line-height:1.5;margin:0 0 6px}
.request-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.request-card-footer>p{flex:1;min-width:0;margin:0;font-size:14px;line-height:1.5}
.request-card-footer>.btn{flex:0 0 auto;width:auto;min-width:64px;margin:0;padding:10px 12px}

/* Native progress uses the original CGS green in both Android WebView and Firefox. */
.grower-stepper{display:grid;grid-template-columns:auto minmax(40px,1fr) auto;gap:8px;align-items:center}
.grower-stepper progress{display:block;width:100%;height:8px;appearance:none;-webkit-appearance:none;border:0;border-radius:8px;background:var(--pale);color:var(--green);accent-color:var(--green)}
.grower-stepper progress::-webkit-progress-bar{background:var(--pale);border-radius:8px}
.grower-stepper progress::-webkit-progress-value{background:var(--green);border-radius:8px}
.grower-stepper progress::-moz-progress-bar{background:var(--green);border-radius:8px}

/* Listing details are a vertical card; the thumbnail row is for lists only. */
.grower-listing-detail{display:block;padding:14px}
.grower-listing-detail>.produce-image{display:block;width:100%;height:210px;max-height:260px;object-fit:cover;border-radius:12px;margin:0 0 14px}
.grower-listing-detail>.card-heading{margin:0 0 12px}
.grower-listing-detail>.card-heading h2{font-size:20px;line-height:1.35;margin:0}
.grower-listing-detail .grower-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
.grower-listing-detail .grower-stat{box-sizing:content-box;padding:10px 8px;background:var(--surface)}
.grower-listing-detail .grower-stat strong{font-size:24px;line-height:1.2;overflow-wrap:anywhere}
.grower-listing-detail .grower-stat strong,.grower-listing-detail .grower-stat span{width:100%}
.grower-listing-detail .grower-stat span{display:block;font-size:14px;line-height:1.5}
.grower-listing-detail>.help-details{margin:0}
@media(max-width:359px){.card.grower-request-row,.request-card{padding:12px}.grower-listing-detail{padding:12px}.grower-listing-detail>.produce-image{height:180px}}

/* Private Grower verification photo review. */
.verification-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.verification-photo{min-width:0;display:flex;flex-direction:column;gap:8px}
.verification-photo-image{display:block;width:100%;height:104px;object-fit:cover;border-radius:12px}
.verification-photo .btn{min-height:40px;padding:8px;font-size:14px}

/* Round four: show every corner of the grey content panel against the white shell. */
.app-shell:not([data-screen="S01"]):not([data-screen="S02"]):not([data-screen="S03"]):not([data-screen="S04"]):not([data-screen="S05"]):not([data-screen="S06"]){background:#fff}
.app-shell:not([data-screen="S01"]):not([data-screen="S02"]):not([data-screen="S03"]):not([data-screen="S04"]):not([data-screen="S05"]):not([data-screen="S06"]) .main-content{background:#F2F4F7;border-radius:16px;min-height:calc(100dvh - 150px)}
