.company-portal-nav{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}
.company-portal-nav a{display:inline-flex;align-items:center;padding:9px 14px;background:#eaf4ec;border:1px solid #b7d1bc;border-radius:9px;color:#21563a;text-decoration:none;font-weight:700}
.company-editor{display:block;max-width:100%}
.company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:16px}
.company-grid label,.company-editor>label:not(.company-check){display:flex;flex-direction:column;gap:6px;font-weight:700;color:#225239}
.company-grid label.full{grid-column:1/-1}
.company-grid :is(input,select,textarea),.company-editor>label:not(.company-check) textarea{display:block;width:100%;padding:12px 13px;border:1px solid #b9d2c1;border-radius:9px;background:white;font:inherit;color:#19372a;box-sizing:border-box}
.company-grid textarea,.company-editor textarea{min-height:100px;resize:vertical}
.company-check{display:flex;align-items:flex-start;gap:9px;line-height:1.5;margin:14px 0;font-size:13px}
.company-check input{flex:0 0 17px;margin-top:3px}
.company-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e1e9e2;padding:13px 3px;flex-wrap:wrap}
.company-row p{margin:4px 0;font-size:13px;color:#667e6b}
.company-description{white-space:normal;line-height:1.75;max-width:850px;margin:24px 0}
.company-actions{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}
@media(max-width:650px){.company-grid{grid-template-columns:1fr}.company-row{align-items:flex-start}.company-row>div:last-child{width:100%}}

/* Restore readable label: market.css .section-head>a:last-child
   sets green text over the green .btn background. */
.section-head.page-heading > a.btn:last-child,
.section-head.page-heading > a.btn:last-child:link,
.section-head.page-heading > a.btn:last-child:visited,
.section-head.page-heading > a.btn:last-child:hover,
.section-head.page-heading > a.btn:last-child:focus-visible {
  color: #ffffff;
  background-color: #175b3d;
  border-color: #175b3d;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

/* Canonical company index inside the Gardensel marketplace. */
.gs-dir-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;
 border:1px solid #d5e5d9;background:#edf5ee;border-radius:12px;padding:16px 20px;margin:17px 0;}
.gs-dir-intro>div:first-child{max-width:760px;min-width:0}
.gs-dir-intro strong{color:#20563b;font-size:15px}
.gs-dir-intro p{margin:5px 0 0;color:#4e6558;font-size:13px;line-height:1.65}
.gs-dir-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.gs-dir-actions .btn{white-space:nowrap}
.gs-dir-filter{display:grid;grid-template-columns:minmax(210px,1.5fr) minmax(145px,.85fr)
 minmax(145px,.85fr) auto auto;gap:12px;align-items:end;margin:18px 0 12px}
.gs-dir-filter label{display:flex;flex-direction:column;gap:7px;font-weight:700;
 color:#234e38;font-size:12px;min-width:0}
.gs-dir-filter :is(input,select){display:block;width:100%;min-width:0;height:44px;
 border:1px solid #c6d9cc;border-radius:8px;padding:10px 12px;
 color:#234331;background:#fff;box-sizing:border-box}
.gs-dir-filter .btn{display:inline-flex;justify-content:center;align-items:center;
 height:44px;white-space:nowrap;color:#fff;background:#175b3d}
.gs-dir-filter .btn.light{color:#175b3d;background:#fff}
.gs-dir-resultbar{display:flex;justify-content:space-between;align-items:center;gap:10px;
 color:#52695c;padding:12px 2px;font-size:13px;flex-wrap:wrap}
.gs-dir-resultbar strong{color:#174e36;font-size:17px}
.gs-dir-resultbar>a{font-weight:700;color:#1e6444}
.gs-dir-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:7px 0 22px}
.gs-dir-card{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:18px 15px;
 border-radius:12px;border:1px solid #d7e5d9;background:white;text-decoration:none;
 color:#1b4130;min-height:121px;transition:border-color .12s ease,box-shadow .12s ease}
.gs-dir-card:hover,.gs-dir-card:focus-visible{border-color:#82ac8e;
 box-shadow:0 4px 16px #204b3620;color:#17482f;outline-offset:3px}
.gs-dir-avatar{display:flex;flex:0 0 40px;align-items:center;justify-content:center;
 height:40px;width:40px;border-radius:11px;background:#d9ebdc;color:#225d3c;
 font-weight:800;font-size:17px}
.gs-dir-detail{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.gs-dir-detail strong{font-size:14px;line-height:1.4;font-weight:760;overflow-wrap:anywhere}
.gs-dir-detail>small{font-size:12px;color:#627767;line-height:1.45}
.gs-dir-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:4px}
.gs-dir-tags span{display:inline-flex;border-radius:6px;border:1px solid #d9e7dd;
 background:#f1f7f1;padding:2px 7px;color:#35694a;font-size:10.5px;
 font-weight:650;line-height:1.5}
.gs-dir-arrow{color:#4e8c69;font-size:22px;font-weight:500;align-self:center}
.gs-dir-pager{display:flex;align-items:center;justify-content:center;gap:6px;
 flex-wrap:wrap;margin:22px 0 26px}
.gs-dir-pager a,.gs-dir-pager span{display:inline-flex;align-items:center;justify-content:center;
 min-width:35px;height:36px;padding:0 9px;border:1px solid #d3e1d5;
 border-radius:8px;background:#fff;color:#1f5940;font-weight:700}
.gs-dir-pager a[aria-current=page]{background:#1e6445;color:#fff;border-color:#1e6445}
.gs-dir-empty h2{font-size:19px}
.gs-dir-market-sellers{margin-top:24px}
.gs-dir-market-sellers .gs-dir-grid{margin-bottom:0}
@media(max-width:1100px){
 .gs-dir-filter{grid-template-columns:repeat(3,minmax(0,1fr))}
 .gs-dir-filter label:first-child{grid-column:1/-1}
 .gs-dir-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:690px){
 .gs-dir-intro{flex-direction:column;align-items:flex-start;padding:14px}
 .gs-dir-actions{justify-content:flex-start}
 .gs-dir-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gs-dir-filter label:first-child{grid-column:1/-1}
 .gs-dir-grid{grid-template-columns:minmax(0,1fr)}
 .gs-dir-card{min-height:90px;padding:14px}
}
@media(max-width:390px){.gs-dir-filter{grid-template-columns:minmax(0,1fr)}.gs-dir-filter label:first-child{grid-column:auto}}
