:root{
  --green-950:#073c28;
  --green-900:#0a4c31;
  --green-800:#0d5b3a;
  --green-700:#176d46;
  --green-600:#2f8555;
  --lime:#79b82a;
  --lime-100:#edf6df;
  --sand:#f2eee4;
  --sand-2:#e7decd;
  --surface:#ffffff;
  --bg:#f5f6f3;
  --text:#202522;
  --muted:#68706b;
  --line:#dfe4df;
  --line-strong:#cdd5ce;
  --warning:#b36b00;
  --danger:#a13a31;
  --blue:#245f95;
  --shadow-sm:0 2px 9px rgba(26,45,34,.06);
  --shadow:0 12px 35px rgba(20,48,31,.10);
  --radius:14px;
  --radius-sm:10px;
  --container:min(1480px,calc(100% - 40px));
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Aptos","Segoe UI Variable","Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.5}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
img{max-width:100%;display:block}
.container{width:var(--container);margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-shell{min-height:100vh}

/* Header */
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.985);box-shadow:0 1px 0 rgba(7,60,40,.10)}
.utility-bar{height:31px;background:var(--green-950);color:#fff;font-size:11px}
.utility-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.utility-inner>span{font-weight:600;letter-spacing:.01em}
.utility-inner nav{display:flex;align-items:center;gap:20px}
.utility-inner button,.utility-inner a{border:0;background:transparent;color:rgba(255,255,255,.82);padding:0;font-size:11px;text-decoration:none}
.utility-inner button:hover,.utility-inner a:hover{color:#fff}
.main-header{height:82px;display:flex;align-items:center;gap:22px}
.brand{width:165px;height:64px;border:0;background:transparent;padding:0;flex:0 0 auto;display:flex;align-items:center;justify-content:flex-start;overflow:hidden}
.brand img{width:146px;height:60px;object-fit:contain;object-position:left center}
.header-search{height:48px;flex:1;min-width:320px;display:flex;align-items:center;background:#fff;border:1px solid var(--line-strong);border-radius:10px;overflow:hidden;box-shadow:0 1px 2px rgba(22,44,31,.03)}
.header-search:focus-within{border-color:var(--green-700);box-shadow:0 0 0 3px rgba(23,109,70,.10)}
.header-search label{height:100%;display:flex;align-items:center}
.search-category{width:155px;border-right:1px solid var(--line)}
.search-category select{width:100%;height:100%;border:0;background:#f8faf8;padding:0 32px 0 13px;color:#414a44;font-size:13px;font-weight:600;outline:0}
.search-query{flex:1;min-width:130px}
.search-query svg,.search-place svg{width:18px;height:18px;color:var(--muted);margin-left:13px;flex:0 0 auto}
.search-query input,.search-place input{width:100%;height:100%;border:0;outline:0;padding:0 12px;background:transparent;color:var(--text)}
.search-place{width:138px;border-left:1px solid var(--line)}
.search-place input{font-weight:600}
.search-submit{height:100%;border:0;background:var(--green-800);color:#fff;padding:0 20px;font-weight:750;display:flex;align-items:center;gap:8px}
.search-submit:hover{background:var(--green-950)}
.search-submit svg{display:none;width:20px}
.header-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.header-action{position:relative;border:0;background:transparent;color:var(--green-950);padding:6px 8px;min-width:64px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:650;white-space:nowrap;border-radius:9px}
.header-action:hover{background:#f2f6f2}
.action-icon{position:relative;display:grid;place-items:center}
.header-action svg{width:21px;height:21px}
.notification{position:absolute;right:-8px;top:-7px;background:#c54b3f;color:#fff;border:2px solid #fff;border-radius:50%;font-size:8px;min-width:17px;height:17px;display:grid;place-items:center}
.profile-avatar{width:23px;height:23px;border-radius:50%;background:var(--green-800);color:#fff;display:grid;place-items:center;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.8}.profile-avatar-hidden{display:none}
.sell-button{height:43px;border:0;border-radius:9px;background:var(--green-800);color:#fff;padding:0 15px;display:flex;align-items:center;gap:8px;font-weight:750;white-space:nowrap;margin-left:4px}
.sell-button:hover{background:var(--green-950)}
.sell-button svg{width:18px}
.menu-button{display:none}
.icon-button{width:40px;height:40px;border:0;background:transparent;place-items:center;color:var(--green-950)}
.icon-button svg{width:24px}
.mobile-search-wrap{display:none}
.category-nav{border-top:1px solid #eef1ee;background:#fff}
.category-nav-inner{height:43px;display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none}
.category-nav-inner::-webkit-scrollbar{display:none}
.category-nav button{height:100%;border:0;background:transparent;padding:0 14px;color:#465049;font-size:12px;font-weight:650;white-space:nowrap}
.category-nav button:hover{color:var(--green-800);background:#f3f7f3}
.category-nav .all-categories{display:flex;align-items:center;gap:8px;color:var(--green-950);font-weight:750;padding-left:0;padding-right:18px;border-right:1px solid var(--line)}
.all-categories svg{width:18px}

.mobile-menu,.menu-backdrop{display:none}

/* Shared controls */
.primary-button,.secondary-button,.ghost-button,.text-button{border-radius:9px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.18s ease}
.primary-button{min-height:44px;border:1px solid var(--green-800);background:var(--green-800);color:#fff;padding:0 18px}
.primary-button:hover{background:var(--green-950);border-color:var(--green-950)}
.secondary-button{min-height:44px;border:1px solid var(--line-strong);background:#fff;color:var(--green-950);padding:0 18px}
.secondary-button:hover{border-color:var(--green-700);background:#f8fbf8}
.ghost-button{min-height:40px;border:1px solid var(--line);background:transparent;color:var(--green-800);padding:0 14px}
.text-button{border:0;background:transparent;color:var(--green-800);padding:6px 0}
.full{width:100%}
.profile-picture-row{display:flex;align-items:center;gap:18px;margin:8px 0 22px}.profile-picture-preview{width:92px;height:92px;border-radius:50%;background:#e8f1ea;color:var(--green-800);display:grid;place-items:center;overflow:hidden;flex:0 0 auto}.profile-picture-preview img{width:100%;height:100%;object-fit:cover}.profile-picture-preview svg{width:48px;fill:none;stroke:currentColor;stroke-width:1.5}
.provider-intent{display:flex;align-items:flex-start;gap:11px;border:1px solid #cfe4d5;background:#f1f8f3;border-radius:10px;padding:13px}.provider-intent input{margin-top:3px;accent-color:var(--green-800)}.provider-intent strong,.provider-intent small{display:block}.provider-intent small{margin-top:3px;color:var(--muted);font-size:11px}
.provider-head{display:flex;align-items:center;gap:22px}.provider-head h1{margin:4px 0}.provider-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;padding-top:22px;padding-bottom:60px}.provider-imprint dl{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px 18px;margin:20px 0 0}.provider-imprint dt{font-weight:750;color:#435148}.provider-imprint dd{margin:0}.provider-imprint a{color:var(--green-700);font-weight:700}@media(max-width:760px){.provider-layout{grid-template-columns:1fr}.provider-imprint dl{grid-template-columns:1fr;gap:3px}.provider-imprint dd{margin-bottom:10px}}

/* Marketplace home */
.market-page{padding:22px 0 64px}
.market-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px}
.market-intro h1{font-size:24px;line-height:1.2;margin:0 0 5px;font-weight:780;letter-spacing:-.025em;color:#17221b}
.market-intro p{margin:0;color:var(--muted);font-size:13px}
.intro-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.intro-actions svg{width:17px}
.market-tabs{background:#fff;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:2px;padding:4px;overflow-x:auto;scrollbar-width:none;margin-bottom:16px;box-shadow:var(--shadow-sm)}
.market-tabs::-webkit-scrollbar{display:none}
.market-tabs button{height:36px;border:0;background:transparent;border-radius:8px;padding:0 15px;white-space:nowrap;color:#58625b;font-size:12px;font-weight:650}
.market-tabs button:hover{background:#f4f7f4;color:var(--green-800)}
.market-tabs button.active{background:var(--green-800);color:#fff}
.market-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:18px;align-items:start}
.filter-panel{position:sticky;top:172px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow-sm)}
.filter-section{padding:16px;border-bottom:1px solid var(--line)}
.filter-section:last-child{border-bottom:0}
.filter-section h3{font-size:13px;margin:0 0 12px;color:#263029}
.category-list{display:flex;flex-direction:column;gap:2px}
.category-list button{width:100%;border:0;background:transparent;border-radius:7px;display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:8px;padding:8px 7px;color:#3f4842;text-align:left;font-size:12px}
.category-list button:hover,.category-list button.active{background:#edf5ee;color:var(--green-900)}
.category-list svg{width:19px;height:19px;color:var(--green-700)}
.category-list strong{font-weight:650}
.category-list small{color:#89918c;font-size:10px}
.filter-field{display:flex;flex-direction:column;gap:7px;margin-bottom:10px}
.filter-field:last-child{margin-bottom:0}
.filter-field label{font-size:10px;font-weight:700;color:#616a64;text-transform:uppercase;letter-spacing:.045em}
.filter-field input,.filter-field select{width:100%;height:38px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;padding:0 10px;outline:0;font-size:12px;color:var(--text)}
.filter-field input:focus,.filter-field select:focus{border-color:var(--green-700);box-shadow:0 0 0 3px rgba(23,109,70,.08)}
.check-list{display:flex;flex-direction:column;gap:9px}
.check-list label{display:flex;align-items:center;gap:8px;font-size:12px;color:#4a534d}
.check-list input{accent-color:var(--green-800)}
.market-content{min-width:0}
.market-toolbar{height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.market-toolbar h2{margin:0;font-size:18px;line-height:1.2;letter-spacing:-.015em}
.market-toolbar h2 span{color:var(--muted);font-size:11px;font-weight:500;margin-left:7px}
.toolbar-actions{display:flex;align-items:center;gap:8px}
.filter-mobile-button{display:none}
.sort-select{height:36px;border:1px solid var(--line-strong);background:#fff;border-radius:8px;padding:0 28px 0 10px;color:#4b554e;font-size:11px;font-weight:600}
.view-buttons{display:flex;border:1px solid var(--line-strong);border-radius:8px;overflow:hidden;background:#fff}
.view-buttons button{width:35px;height:34px;border:0;border-right:1px solid var(--line);background:#fff;color:#7a827d;display:grid;place-items:center}
.view-buttons button:last-child{border-right:0}
.view-buttons button.active{background:#edf5ee;color:var(--green-800)}
.view-buttons svg{width:17px}
.market-notice{min-height:46px;border:1px solid #dbe7d3;background:#f2f8ec;border-radius:10px;margin-bottom:12px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#40503f;font-size:12px}
.market-notice>div{display:flex;align-items:center;gap:10px}
.market-notice svg{width:20px;color:var(--green-700)}
.market-notice strong{color:var(--green-950)}
.market-notice button{border:0;background:transparent;color:var(--green-800);font-weight:750;white-space:nowrap}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.product-grid>.empty-state,.store-grid>.empty-state{grid-column:1/-1;width:100%}
.product-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;position:relative}
.product-card:hover{transform:translateY(-2px);border-color:#c8d3ca;box-shadow:var(--shadow)}
.product-thumb{height:160px;position:relative;display:grid;place-items:center;overflow:hidden;background:#e9eee9}
.product-thumb::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.55),transparent 55%)}
.product-thumb::after{content:"";position:absolute;width:105px;height:105px;border-radius:50%;background:rgba(255,255,255,.35);right:-24px;bottom:-39px}
.product-thumb svg.product-art{position:relative;z-index:1;width:82px;height:82px;stroke-width:1.5}
.thumb-eggs{background:linear-gradient(145deg,#eee7da,#d9cfbc)}
.thumb-eggs .product-art{color:#7b5d3d}
.thumb-wheat{background:linear-gradient(145deg,#f0dfaa,#d7bd63)}
.thumb-wheat .product-art{color:#765c17}
.thumb-tractor{background:linear-gradient(145deg,#d7e8d2,#a9cb9e)}
.thumb-tractor .product-art{color:#1c6039}
.thumb-shop{background:linear-gradient(145deg,#dbe8e1,#accab9)}
.thumb-shop .product-art{color:#115b38}
.thumb-cow{background:linear-gradient(145deg,#e7e3df,#cac2b9)}
.thumb-cow .product-art{color:#5e5148}
.thumb-box{background:linear-gradient(145deg,#e8dfcd,#cdbb97)}
.thumb-box .product-art{color:#6d5330}
.thumb-honey{background:linear-gradient(145deg,#f7e2a1,#e6b84b)}
.thumb-honey .product-art{color:#8b5b00}
.thumb-service{background:linear-gradient(145deg,#dfe8ee,#b6cad7)}
.thumb-service .product-art{color:#315d78}
.thumb-potato{background:linear-gradient(145deg,#e7d8c0,#c9ab7d)}
.thumb-potato .product-art{color:#765732}
.thumb-wood{background:linear-gradient(145deg,#ddc8ae,#ad8b64)}
.thumb-wood .product-art{color:#684726}
.card-badges{position:absolute;left:8px;top:8px;z-index:3;display:flex;gap:5px;flex-wrap:wrap;max-width:80%}
.card-badge{height:21px;padding:0 7px;border-radius:5px;display:inline-flex;align-items:center;font-size:8px;font-weight:800;letter-spacing:.015em;text-transform:uppercase}
.card-badge.top{background:#fff;color:var(--green-900);box-shadow:0 1px 5px rgba(0,0,0,.12)}
.card-badge.urgent{background:#a83f34;color:#fff}
.card-badge.bio{background:#49852e;color:#fff}
.favorite-button{position:absolute;right:8px;top:8px;z-index:4;width:31px;height:31px;border-radius:50%;border:1px solid rgba(20,40,28,.10);background:rgba(255,255,255,.94);display:grid;place-items:center;color:#37403a;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.favorite-button:hover,.favorite-button.active{color:#b43d35;background:#fff}
.favorite-button.active svg{fill:currentColor}
.favorite-button svg{width:17px}
.product-body{padding:11px 11px 12px}
.product-overline{height:17px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#7c847f;font-size:9px;text-transform:uppercase;letter-spacing:.035em;font-weight:650}
.product-overline span:last-child{text-transform:none;letter-spacing:0;font-weight:500}
.product-card h3{font-size:13px;line-height:1.35;margin:5px 0 9px;font-weight:680;color:#202721;min-height:35px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-price{font-size:16px;font-weight:850;color:#087443;margin-bottom:8px;background:#edf8f1;border:1px solid #cfe9d8;border-radius:7px;padding:6px 8px;display:inline-flex;align-items:baseline;gap:5px}
.product-unit{font-size:9px;color:var(--muted);font-weight:500;margin-left:3px}
.product-seller{width:100%;display:flex;align-items:center;gap:6px;border:0;border-top:1px solid #edf0ed;padding:8px 0 0;background:transparent;color:#59635c;font-size:9px;min-width:0;text-align:left;cursor:pointer}
.seller-avatar{width:22px;height:22px;border-radius:50%;background:#e7efe8;color:var(--green-800);display:grid;place-items:center;overflow:hidden;flex:0 0 auto}.seller-avatar img{width:100%;height:100%;object-fit:cover}.seller-avatar svg{width:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.product-seller>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card-actions{display:flex;justify-content:space-between;gap:10px;margin-top:9px;padding-top:8px;border-top:1px solid #edf0ed}.card-actions button{font-size:11px}
.verified-mini{margin-left:auto;display:inline-flex;align-items:center;gap:3px;color:var(--green-700);font-weight:700;white-space:nowrap}
.verified-mini svg{width:12px;height:12px}
.grid-footer{display:flex;justify-content:center;margin:20px 0 2px}
.load-more{min-width:220px}

.promo-row{margin:22px 0 0;display:grid;grid-template-columns:1.25fr .75fr;gap:14px}
.promo-card{min-height:150px;border-radius:13px;padding:22px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;overflow:hidden;position:relative}
.promo-card h3{font-size:20px;margin:0 0 6px;letter-spacing:-.02em}
.promo-card p{font-size:12px;margin:0 0 15px;max-width:460px}
.promo-card.primary{background:var(--green-950);color:#fff}
.promo-card.primary::after{content:"";position:absolute;width:260px;height:260px;border:45px solid rgba(255,255,255,.06);border-radius:50%;right:-95px;top:-100px}
.promo-card.primary p{color:rgba(255,255,255,.75)}
.promo-card.secondary{background:var(--sand);color:#3a3328;border:1px solid #e4d9c5}
.promo-card.secondary p{color:#766b5c}
.promo-card button{position:relative;z-index:2}

.shop-section{margin-top:30px}
.section-title-row{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:12px}
.section-title-row h2{font-size:19px;margin:0 0 3px;letter-spacing:-.015em}
.section-title-row p{margin:0;color:var(--muted);font-size:11px}
.section-title-row button{border:0;background:transparent;color:var(--green-800);font-size:11px;font-weight:750}
.store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.store-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;grid-template-columns:54px 1fr;gap:11px;align-items:center;transition:.18s ease}
.store-card:hover{box-shadow:var(--shadow-sm);border-color:#cbd5cc}
.store-logo{width:54px;height:54px;border-radius:10px;background:#eef4ed;color:var(--green-800);display:grid;place-items:center}
.store-logo svg{width:30px}
.store-card h3{font-size:12px;margin:0 0 3px}
.store-card p{font-size:9px;margin:0;color:var(--muted)}
.store-card .rating{font-size:9px;color:#846414;margin-top:5px;font-weight:700}

.category-shortcuts{margin-top:30px}
.shortcut-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.shortcut-card{height:95px;border:1px solid var(--line);border-radius:11px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#344038;transition:.18s ease}
.shortcut-card:hover{border-color:#b9c8bc;background:#f9fbf9;transform:translateY(-1px)}
.shortcut-card svg{width:26px;height:26px;color:var(--green-700)}
.shortcut-card strong{font-size:11px}
.shortcut-card small{font-size:8px;color:var(--muted)}

/* Marketplace search page */
.results-header{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.results-header h1{margin:0 0 3px;font-size:19px;letter-spacing:-.02em}
.results-header p{margin:0;font-size:10px;color:var(--muted)}
.active-filter{display:inline-flex;align-items:center;gap:6px;background:#edf5ee;color:var(--green-800);height:28px;padding:0 10px;border-radius:7px;font-size:10px;font-weight:700}
.active-filter button{border:0;background:transparent;color:inherit;padding:0;display:grid;place-items:center}
.active-filter svg{width:13px}

/* Form pages */
.page{padding:22px 0 64px}
.page-head{background:#fff;border-bottom:1px solid var(--line);margin-top:-22px;margin-bottom:20px}
.page-head-inner{padding:25px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.page-head h1{font-size:24px;line-height:1.2;margin:0 0 5px;letter-spacing:-.025em}
.page-head p{margin:0;color:var(--muted);font-size:12px}
.step-indicator{display:flex;align-items:center;gap:7px}
.step-indicator span{height:6px;width:42px;border-radius:3px;background:#dde4de}
.step-indicator span.active{background:var(--green-700)}
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.form-main{display:flex;flex-direction:column;gap:14px}
.form-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}
.form-card h2{font-size:16px;margin:0 0 4px}
.form-card>p{font-size:10px;color:var(--muted);margin:0 0 16px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.field{display:flex;flex-direction:column;gap:7px}
.field.span-2{grid-column:span 2}
.field label{font-size:10px;font-weight:700;color:#4f5952}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line-strong);border-radius:8px;background:#fff;color:var(--text);outline:0;padding:0 11px}
.field input,.field select{height:42px}
.field textarea{padding-top:10px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green-700);box-shadow:0 0 0 3px rgba(23,109,70,.08)}
.upload-zone{min-height:170px;border:1.5px dashed #b9c8bc;border-radius:10px;background:#f8faf8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;color:#59645d}
.upload-zone:hover{border-color:var(--green-700);background:#f3f8f3}
.upload-zone input{display:none}
.upload-zone svg{width:32px;color:var(--green-700);margin-bottom:8px}
.upload-zone strong{font-size:12px;color:#263129}
.upload-zone span{font-size:9px;margin-top:4px}
.option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.option-card{border:1px solid var(--line);border-radius:9px;background:#fff;padding:11px;display:flex;align-items:flex-start;gap:8px;min-height:64px}
.option-card:hover{border-color:#bdcbbf}
.option-card input{accent-color:var(--green-800);margin-top:3px}
.option-card strong{display:block;font-size:10px;margin-bottom:2px}
.option-card span span{display:block;font-size:8px;color:var(--muted)}
.form-aside{position:sticky;top:172px;display:flex;flex-direction:column;gap:12px}
.preview-card,.hint-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}
.preview-card h3,.hint-card h3{font-size:12px;margin:0 0 10px}
.preview-box{height:150px;border-radius:9px;background:#e8eee8;display:grid;place-items:center;color:#7d8780;margin-bottom:11px}
.preview-box svg{width:44px}
.preview-lines span{display:block;height:7px;border-radius:4px;background:#edf0ed;margin-bottom:7px}
.preview-lines span:nth-child(1){width:90%}.preview-lines span:nth-child(2){width:65%}.preview-lines span:nth-child(3){width:42%;height:12px;background:#dfe9e1}
.hint-card ul{margin:0;padding-left:17px;color:#58625b;font-size:9px;display:flex;flex-direction:column;gap:6px}

/* Dashboard */
.dashboard-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:18px;align-items:start}
.dashboard-nav{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;position:sticky;top:172px}
.dashboard-profile{padding:16px;border-bottom:1px solid var(--line)}
.dashboard-profile strong{display:block;font-size:13px}
.dashboard-profile span{font-size:9px;color:var(--muted)}
.dashboard-nav button{width:100%;height:42px;border:0;background:#fff;border-bottom:1px solid #f0f2f0;text-align:left;padding:0 14px;color:#505a53;font-size:11px;font-weight:600}
.dashboard-nav button:hover,.dashboard-nav button.active{background:#eef5ef;color:var(--green-900)}
.dash-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.dash-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:15px}
.dash-card span{display:block;font-size:9px;color:var(--muted);margin-bottom:7px}
.dash-card strong{font-size:22px;color:#17251c}
.table-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.table-head{height:52px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.table-head h3{font-size:13px;margin:0}
.listing-row{display:grid;grid-template-columns:48px minmax(0,1fr) 95px 75px 65px;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid #edf0ed;font-size:9px;color:#68716b}
.listing-row:last-child{border-bottom:0}
.row-thumb{width:44px;height:36px;border-radius:7px;background:#edf3ed;display:grid;place-items:center;color:var(--green-700)}
.row-thumb svg{width:24px}
.listing-row strong{font-size:10px;color:#2c352f}
.status{height:23px;border-radius:6px;background:#eaf4ea;color:#39713d;display:inline-grid;place-items:center;font-size:8px;font-weight:700}
.status.pause{background:#f2eee7;color:#876c48}

/* Messages */
.messages-layout{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:610px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.thread-list{border-right:1px solid var(--line)}
.thread-list h2{font-size:16px;margin:0;padding:18px;border-bottom:1px solid var(--line)}
.thread{width:100%;border:0;background:#fff;border-bottom:1px solid #eef0ee;padding:12px;display:flex;align-items:center;gap:10px;text-align:left}
.thread:hover,.thread.active{background:#f1f6f1}
.thread-avatar{width:36px;height:36px;border-radius:50%;background:#e4eee5;color:var(--green-800);display:grid;place-items:center;font-size:9px;font-weight:800;flex:0 0 auto}
.thread-copy{min-width:0}
.thread-copy strong{font-size:10px}
.thread-copy p{margin:2px 0 0;font-size:8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat{display:grid;grid-template-rows:57px 1fr 58px;min-width:0}
.chat-head{padding:0 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:10px}
.chat-head span{font-size:8px;color:var(--muted)}
.chat-body{padding:18px;overflow-y:auto;background:#f8faf8;display:flex;flex-direction:column;gap:10px}
.bubble{max-width:68%;border-radius:12px 12px 12px 3px;background:#fff;border:1px solid var(--line);padding:10px 12px;font-size:10px;align-self:flex-start}
.bubble.mine{align-self:flex-end;background:var(--green-800);color:#fff;border-color:var(--green-800);border-radius:12px 12px 3px 12px}
.chat-compose{border-top:1px solid var(--line);display:flex;align-items:center;padding:8px 10px;gap:8px}
.chat-compose input{flex:1;height:40px;border:1px solid var(--line-strong);border-radius:9px;padding:0 11px;outline:0;font-size:10px}
.chat-compose button{width:40px;height:40px;border:0;border-radius:9px;background:var(--green-800);color:#fff;display:grid;place-items:center}
.chat-compose svg{width:18px}

/* Modal */
.modal-backdrop{position:fixed;inset:0;z-index:120;background:rgba(8,28,17,.56);display:none;align-items:center;justify-content:center;padding:20px}
.modal-backdrop.open{display:flex}
.modal{position:relative;width:min(470px,100%);background:#fff;border-radius:15px;padding:27px;box-shadow:0 30px 90px rgba(0,0,0,.25)}
.modal-close{position:absolute;right:13px;top:13px;width:34px;height:34px;border:0;border-radius:50%;background:#f0f3f0;color:#4f5952;display:grid;place-items:center}
.modal-close svg{width:18px}
.modal-badge{width:47px;height:47px;border-radius:12px;background:#eaf4ea;color:var(--green-700);display:grid;place-items:center;margin-bottom:12px}
.modal-badge svg{width:25px}
.modal-kicker{display:block;font-size:9px;font-weight:800;color:var(--green-700);text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}
.modal h2{font-size:22px;line-height:1.2;margin:0 0 8px;letter-spacing:-.025em}
.modal>p{font-size:10px;color:var(--muted);margin:0 0 17px}
.verification-steps{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-direction:column;gap:8px}
.verification-steps li{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:9px}
.verification-steps li>b{width:25px;height:25px;border-radius:50%;background:var(--green-800);color:#fff;display:grid;place-items:center;font-size:9px}
.verification-steps strong{display:block;font-size:9px}
.verification-steps small{display:block;font-size:8px;color:var(--muted)}

.toast{position:fixed;left:50%;bottom:28px;z-index:150;transform:translate(-50%,25px);opacity:0;background:#1d2c22;color:#fff;border-radius:9px;padding:10px 14px;font-size:10px;font-weight:650;transition:.22s ease;pointer-events:none;box-shadow:var(--shadow)}
.toast.show{transform:translate(-50%,0);opacity:1}

/* Footer */
.site-footer{background:#fff;border-top:1px solid var(--line);padding:38px 0 0}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:42px;padding-bottom:28px}
.footer-brand img{width:150px;height:68px;object-fit:contain;object-position:left center;margin-bottom:8px}
.footer-brand p{max-width:330px;color:var(--muted);font-size:10px;margin:0}
.footer-grid h4{font-size:11px;margin:7px 0 11px}
.footer-grid>div:not(.footer-brand){display:flex;flex-direction:column;align-items:flex-start}
.footer-grid a{font-size:9px;color:#68716b;margin:0 0 7px}
.footer-grid a:hover{color:var(--green-800)}
.footer-bottom{height:48px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#858d88;font-size:8px}
.mobile-bottom-nav{display:none}

@media (max-width:1280px){
  .brand{width:145px}.brand img{width:132px}
  .main-header{gap:14px}
  .search-category{width:135px}.search-place{width:115px}
  .header-action{min-width:55px;padding-inline:5px}
  .sell-button{padding:0 12px}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shortcut-grid{grid-template-columns:repeat(6,minmax(120px,1fr));overflow-x:auto;padding-bottom:5px}
}

@media (max-width:1040px){
  :root{--container:min(100% - 28px,1180px)}
  .utility-bar{display:none}
  .main-header{height:72px}
  .site-header{top:0}
  .header-search{display:none}
  .mobile-search-wrap{display:block;padding-bottom:10px}
  .mobile-search{height:42px;border:1px solid var(--line-strong);border-radius:9px;background:#fff;display:flex;align-items:center;overflow:hidden}
  .mobile-search>svg{width:18px;color:var(--muted);margin-left:12px}
  .mobile-search input{flex:1;min-width:0;border:0;outline:0;padding:0 10px;font-size:12px}
  .mobile-search button{height:100%;border:0;background:var(--green-800);color:#fff;padding:0 14px;font-size:11px;font-weight:700}
  .brand{margin-right:auto}
  .header-actions{margin-left:auto}
  .header-action span:last-child{display:none}
  .header-action{min-width:38px}
  .sell-button span{display:none}
  .sell-button{width:41px;padding:0;justify-content:center}
  .category-nav-inner{height:41px}
  .market-layout{grid-template-columns:205px minmax(0,1fr)}
  .filter-panel,.dashboard-nav,.form-aside{top:135px}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .product-thumb{height:150px}
  .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .promo-row{grid-template-columns:1fr 1fr}
}

@media (max-width:800px){
  :root{--container:calc(100% - 24px)}
  body{font-size:14px;padding-bottom:65px}
  .site-header{position:sticky}
  .main-header{height:61px;gap:8px}
  .menu-button{display:grid;width:36px}
  .brand{width:128px;height:54px}
  .brand img{width:119px;height:51px}
  .profile-action,.header-action[data-route="messages"]{display:none}
  .header-action[data-route="favorites"]{min-width:37px}
  .mobile-search-wrap{padding-bottom:8px}
  .category-nav-inner{height:39px}
  .category-nav button{font-size:10px;padding-inline:11px}
  .category-nav .all-categories{padding-left:0;padding-right:13px}
  .mobile-menu{display:flex;position:fixed;left:0;top:0;bottom:0;width:min(330px,88vw);z-index:110;background:#fff;transform:translateX(-102%);transition:.22s ease;flex-direction:column;padding:15px;box-shadow:20px 0 50px rgba(0,0,0,.18)}
  .mobile-menu.open{transform:translateX(0)}
  .mobile-menu-head{height:42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:8px}
  .mobile-menu-head strong{font-size:14px}
  .mobile-menu-head button{width:35px;height:35px;border:0;background:#f1f3f1;border-radius:50%;display:grid;place-items:center}
  .mobile-menu-head svg{width:18px}
  .mobile-menu>button:not(.mobile-menu-head button){height:45px;border:0;border-bottom:1px solid #eff1ef;background:#fff;text-align:left;color:#374139;font-size:12px;font-weight:600}
  .menu-backdrop{position:fixed;inset:0;z-index:105;background:rgba(3,18,10,.45)}
  .menu-backdrop.open{display:block}
  .market-page{padding-top:14px;padding-bottom:35px}
  .market-intro{align-items:flex-start;margin-bottom:12px}
  .market-intro h1{font-size:20px}
  .market-intro p{font-size:10px}
  .intro-actions .secondary-button{display:none}
  .intro-actions .primary-button{min-height:38px;padding-inline:12px;font-size:10px}
  .market-tabs{margin-bottom:12px;border-radius:9px}
  .market-tabs button{height:34px;padding-inline:12px;font-size:10px}
  .market-layout{display:block}
  .filter-panel{display:none}
  .market-toolbar{height:40px;margin-bottom:8px}
  .market-toolbar h2{font-size:16px}
  .market-toolbar h2 span{display:block;margin:2px 0 0;font-size:8px}
  .filter-mobile-button{height:34px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;display:flex;align-items:center;gap:5px;padding:0 9px;font-size:9px;font-weight:650;color:#4a554d}
  .filter-mobile-button svg{width:14px}
  .sort-select{max-width:130px;font-size:9px}
  .view-buttons{display:none}
  .market-notice{font-size:9px;padding:8px 9px}
  .market-notice button{font-size:9px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .product-thumb{height:132px}
  .product-thumb svg.product-art{width:65px;height:65px}
  .product-body{padding:9px}
  .product-card h3{font-size:11px;min-height:30px;margin:4px 0 7px}
  .product-price{font-size:13px;margin-bottom:6px}
  .product-seller{padding-top:6px}
  .seller-avatar{width:19px;height:19px}
  .verified-mini span{display:none}
  .card-badge{height:19px;font-size:7px}
  .favorite-button{width:28px;height:28px}
  .promo-row{grid-template-columns:1fr;margin-top:18px}
  .promo-card{min-height:130px;padding:18px}
  .promo-card h3{font-size:17px}
  .promo-card p{font-size:10px}
  .shop-section,.category-shortcuts{margin-top:24px}
  .store-grid{grid-template-columns:1fr 1fr;gap:9px}
  .store-card{grid-template-columns:43px 1fr;padding:10px;gap:8px}
  .store-logo{width:43px;height:43px}
  .store-logo svg{width:24px}
  .shortcut-grid{grid-template-columns:repeat(6,115px)}
  .shortcut-card{height:84px}
  .site-footer{display:none}
  .mobile-bottom-nav{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:90;height:62px;background:#fff;border-top:1px solid var(--line);grid-template-columns:repeat(5,1fr);padding-bottom:env(safe-area-inset-bottom)}
  .mobile-bottom-nav button{border:0;background:#fff;color:#5f6962;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:8px}
  .mobile-bottom-nav svg{width:20px;height:20px}
  .mobile-bottom-nav .mobile-create{position:relative;color:var(--green-900);font-weight:700}
  .mobile-create>span{width:43px;height:43px;border-radius:50%;background:var(--green-800);color:#fff;display:grid;place-items:center;margin-top:-22px;border:4px solid #fff;box-shadow:0 3px 10px rgba(13,91,58,.22)}
  .mobile-create>span svg{width:22px}
  .mobile-create b{font-size:8px}
  .page{padding-top:14px;padding-bottom:35px}
  .page-head{margin-top:-14px}
  .page-head-inner{padding:18px 0}
  .page-head h1{font-size:20px}
  .step-indicator{display:none}
  .form-layout{display:block}
  .form-main{gap:10px}
  .form-card{padding:15px}
  .form-grid{gap:10px}
  .option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .form-aside{display:none}
  .dashboard-layout{display:block}
  .dashboard-nav{display:none}
  .dash-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .listing-row{grid-template-columns:44px minmax(0,1fr) 65px}
  .listing-row>span:nth-child(3),.listing-row>.status{display:none}
  .messages-layout{grid-template-columns:1fr;min-height:660px}
  .thread-list{display:none}
  .bubble{max-width:82%}
  .modal{padding:22px}
  .toast{bottom:78px}
}

@media (max-width:480px){
  :root{--container:calc(100% - 18px)}
  .header-action[data-route="favorites"]{display:none}
  .brand{width:121px}.brand img{width:113px}
  .mobile-search button{padding-inline:11px}
  .market-intro{gap:10px}
  .market-intro h1{font-size:18px}
  .intro-actions .primary-button{padding-inline:10px}
  .market-notice>div svg{display:none}
  .product-thumb{height:116px}
  .product-thumb svg.product-art{width:57px;height:57px}
  .product-overline span:last-child{display:none}
  .product-card h3{font-size:10px;min-height:28px}
  .product-price{font-size:12px}
  .product-seller>span:nth-child(2){font-size:8px}
  .store-grid{grid-template-columns:1fr}
  .section-title-row h2{font-size:17px}
  .form-grid{grid-template-columns:1fr}
  .field.span-2{grid-column:span 1}
  .option-grid{grid-template-columns:1fr}
  .dash-cards{grid-template-columns:1fr 1fr}
}


/* AgriKreis readability and dynamic listing forms */
.form-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.form-kicker{display:block;color:var(--green-700);font-size:12px;font-weight:800;letter-spacing:.055em;text-transform:uppercase;margin:0 0 5px}
.listing-type-card{padding:24px}
.listing-type-card h2{font-size:22px}
.listing-type-card p{font-size:14px;margin-bottom:18px}
.listing-type-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.listing-type-option{position:relative;min-height:132px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;padding:16px 13px;text-align:left;color:#344038;display:flex;flex-direction:column;align-items:flex-start;gap:12px;transition:.18s ease}
.listing-type-option:hover{border-color:#91ad98;background:#f8fbf8;transform:translateY(-1px)}
.listing-type-option.active{border:2px solid var(--green-700);background:#eff7f0;padding:15px 12px;box-shadow:0 5px 16px rgba(13,91,58,.09)}
.listing-type-option>svg{width:29px;height:29px;color:var(--green-700)}
.listing-type-option strong{display:block;font-size:14px;line-height:1.2;margin-bottom:5px;color:#1f2d24}
.listing-type-option small{display:block;font-size:11px;line-height:1.35;color:var(--muted);font-weight:500}
.type-check{display:none;position:absolute;right:10px;top:10px;width:22px;height:22px;border-radius:50%;background:var(--green-700);color:#fff;place-items:center}
.type-check svg{width:14px}
.listing-type-option.active .type-check{display:grid}
.dynamic-fields{display:flex;flex-direction:column;gap:14px;scroll-margin-top:175px}
.form-grid-spaced{margin-top:18px}
.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.assortment-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.publish-button{min-height:54px;font-size:16px}
.preview-label{display:block;color:var(--green-700);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px}
.section-actions{display:flex;align-items:center;gap:12px}
.section-add-button{height:38px!important;border:1px solid var(--green-700)!important;border-radius:8px!important;padding:0 13px!important;background:#fff!important;color:var(--green-800)!important}
.section-add-button:hover{background:#eff7f0!important}
.opening-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.opening-heading h2{margin-bottom:4px}
.opening-heading p{margin:0;color:var(--muted);font-size:14px}
.always-open{min-width:245px;border:1px solid #c8d8cb;border-radius:10px;padding:11px 13px;background:#f5faf5;display:flex;align-items:center;gap:10px;cursor:pointer}
.always-open input{accent-color:var(--green-800);width:18px;height:18px}
.always-open strong{display:block;font-size:13px;color:#284331}
.always-open small{display:block;font-size:11px;color:var(--muted);margin-top:1px}
.opening-hours{border:1px solid var(--line);border-radius:11px;overflow:hidden;transition:.18s ease}
.opening-hours.disabled{opacity:.42;pointer-events:none}
.opening-row{min-height:54px;display:grid;grid-template-columns:180px minmax(280px,1fr) 110px;align-items:center;gap:18px;padding:8px 13px;border-bottom:1px solid #edf0ed;background:#fff}
.opening-row:last-child{border-bottom:0}
.day-toggle{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:#35423a}
.day-toggle input{accent-color:var(--green-800);width:17px;height:17px}
.time-range{display:flex;align-items:center;gap:10px}
.time-range input{height:38px;border:1px solid var(--line-strong);border-radius:8px;padding:0 10px;background:#fff;color:var(--text)}
.time-range span{font-size:13px;color:var(--muted)}
.closed-label{display:none;color:#8b918d;font-size:13px;font-weight:650}
.opening-row.closed .time-range{display:none}
.opening-row.closed .closed-label{display:block}
.storefront-intro{border-top:4px solid var(--green-700)}

@media (min-width:801px){
  .utility-bar{height:35px;font-size:13px}
  .utility-inner button,.utility-inner a{font-size:13px}
  .main-header{height:100px;gap:22px}
  .brand{width:225px;height:88px}
  .brand img{width:210px;height:84px}
  .header-search{height:56px}
  .search-category{width:180px}
  .search-category select{font-size:15px}
  .search-query input,.search-place input{font-size:15px}
  .search-place{width:155px}
  .search-submit{padding:0 24px;font-size:15px}
  .header-action{font-size:12px;min-width:72px;gap:5px}
  .header-action svg{width:24px;height:24px}
  .profile-avatar{width:27px;height:27px;font-size:10px}
  .sell-button{height:49px;padding:0 18px;font-size:15px}
  .category-nav-inner{height:50px}
  .category-nav button{font-size:14px;padding-inline:17px}
  .market-page{padding-top:28px}
  .market-intro h1{font-size:31px}
  .market-intro p{font-size:16px}
  .primary-button,.secondary-button{min-height:48px;font-size:15px}
  .market-tabs button{height:42px;font-size:14px;padding-inline:19px}
  .market-layout{grid-template-columns:270px minmax(0,1fr);gap:22px}
  .filter-panel{top:195px}
  .filter-section h3{font-size:15px}
  .category-list button{font-size:14px;padding:10px 8px}
  .category-list small{font-size:12px}
  .filter-field label{font-size:12px}
  .filter-field input,.filter-field select{height:43px;font-size:14px}
  .check-list label{font-size:14px}
  .market-toolbar{height:52px}
  .market-toolbar h2{font-size:22px}
  .market-toolbar h2 span{font-size:13px}
  .sort-select{height:41px;font-size:13px}
  .market-notice{min-height:52px;font-size:14px}
  .product-body{padding:14px}
  .product-overline{font-size:11px}
  .product-card h3{font-size:15px;min-height:41px}
  .product-price{font-size:18px}
  .product-unit{font-size:11px}
  .product-seller{font-size:11px}
  .seller-avatar{width:26px;height:26px;font-size:9px}
  .card-badge{font-size:10px;height:24px}
  .section-title-row h2{font-size:23px}
  .section-title-row p,.section-title-row button{font-size:13px}
  .store-card h3{font-size:15px}
  .store-card p,.store-card .rating{font-size:12px}
  .shortcut-card strong{font-size:14px}
  .shortcut-card small{font-size:11px}
  .results-header h1{font-size:24px}
  .results-header p{font-size:13px}
  .page-head{margin-top:-22px}
  .page-head-inner{padding:31px 0}
  .page-head h1{font-size:31px}
  .page-head p{font-size:15px}
  .form-layout{grid-template-columns:minmax(0,1fr) 345px;gap:22px}
  .form-card{padding:24px}
  .form-card h2{font-size:20px}
  .form-card>p{font-size:14px;margin-bottom:19px}
  .field{gap:8px}
  .field label{font-size:14px}
  .field input,.field select{height:48px;font-size:15px}
  .field textarea{font-size:15px;padding:12px}
  .upload-zone strong{font-size:15px}
  .upload-zone span{font-size:12px}
  .option-card{min-height:76px;padding:13px}
  .option-card strong{font-size:13px}
  .option-card span span{font-size:11px}
  .form-aside{top:198px}
  .preview-card,.hint-card{padding:18px}
  .preview-card h3,.hint-card h3{font-size:15px}
  .hint-card ul{font-size:12px;gap:9px}
  .dashboard-layout{grid-template-columns:260px minmax(0,1fr)}
  .dashboard-profile strong{font-size:16px}
  .dashboard-profile span{font-size:12px}
  .dashboard-nav button{height:48px;font-size:14px}
  .dash-card span{font-size:12px}
  .dash-card strong{font-size:27px}
  .table-head h3{font-size:16px}
  .listing-row{font-size:12px;grid-template-columns:55px minmax(0,1fr) 120px 90px 80px;padding:13px 16px}
  .listing-row strong{font-size:14px}
  .status{font-size:11px}
  .messages-layout{grid-template-columns:350px minmax(0,1fr);min-height:650px}
  .thread-list h2{font-size:21px;padding:21px}
  .thread{padding:15px}
  .thread-avatar{width:43px;height:43px;font-size:12px}
  .thread-copy strong{font-size:14px}
  .thread-copy p{font-size:12px}
  .chat{grid-template-rows:68px 1fr 70px}
  .chat-head{font-size:14px;padding-inline:20px}
  .chat-head span{font-size:12px}
  .chat-body{padding:22px;gap:13px}
  .bubble{font-size:14px;padding:12px 15px}
  .chat-compose{padding:10px 13px}
  .chat-compose input{height:48px;font-size:14px}
  .chat-compose button{width:48px;height:48px}
  .footer-brand img{width:190px;height:85px}
  .footer-brand p{font-size:13px}
  .footer-grid h4{font-size:14px}
  .footer-grid a{font-size:12px}
  .footer-bottom{font-size:11px}
}

@media (max-width:1280px) and (min-width:1041px){
  .brand{width:190px}.brand img{width:178px}
  .main-header{gap:15px}
  .header-action{min-width:60px}
  .listing-type-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .assortment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:1040px){
  .listing-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .assortment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:800px){
  .listing-type-card{padding:15px}
  .listing-type-card h2{font-size:19px}
  .listing-type-card p{font-size:12px}
  .listing-type-grid{grid-template-columns:1fr;gap:8px}
  .listing-type-option{min-height:82px;display:grid;grid-template-columns:34px 1fr 24px;align-items:center;padding:12px;gap:10px}
  .listing-type-option.active{padding:11px}
  .listing-type-option>svg{width:27px;height:27px}
  .listing-type-option strong{font-size:13px}
  .listing-type-option small{font-size:10px}
  .type-check{position:static;display:none}
  .listing-type-option.active .type-check{display:grid}
  .assortment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .opening-heading{display:block}
  .always-open{margin-top:12px;min-width:0}
  .opening-row{grid-template-columns:120px 1fr;gap:8px;padding:10px}
  .closed-label{grid-column:2}
  .time-range{gap:6px}
  .time-range input{min-width:0;width:100%}
  .section-actions{flex-direction:column;align-items:flex-end;gap:4px}
  .section-add-button{height:32px!important;font-size:10px!important}
}

@media (max-width:480px){
  .assortment-grid,.two-columns{grid-template-columns:1fr}
  .opening-row{grid-template-columns:1fr}
  .time-range,.closed-label{grid-column:1}
}

/* AgriKreis readability upgrade */
@media (min-width:1101px){
  body{font-size:17px}
  .utility-bar{height:34px;font-size:12px}
  .utility-inner button,.utility-inner a{font-size:12px}
  .main-header{height:96px;gap:24px}
  .brand{width:230px;height:78px}
  .brand img{width:220px;height:66px;object-fit:contain;object-position:left center}
  .header-search{height:54px}
  .search-category{width:175px}.search-category select{font-size:14px}
  .search-query input,.search-place input{font-size:15px}
  .search-place{width:150px}
  .search-submit{padding:0 24px;font-size:15px}
  .header-action{font-size:12px;min-width:76px;padding:7px 9px}
  .header-action svg{width:24px;height:24px}
  .profile-avatar{width:28px;height:28px;font-size:9px}
  .sell-button{height:48px;padding:0 19px;font-size:15px}
  .category-nav-inner{height:49px}
  .category-nav button{font-size:14px;padding:0 17px}
  .filter-panel{top:190px}
  .market-intro h1{font-size:29px}.market-intro p{font-size:15px}
  .market-tabs button{font-size:14px;height:41px;padding:0 18px}
  .market-layout{grid-template-columns:260px minmax(0,1fr);gap:22px}
  .filter-section h3{font-size:15px}.category-list button{font-size:14px;padding:10px 8px}.category-list small{font-size:11px}
  .filter-field label{font-size:11px}.filter-field input,.filter-field select{height:43px;font-size:14px}.check-list label{font-size:14px}
  .market-toolbar{height:50px}.market-toolbar h2{font-size:22px}.market-toolbar h2 span{font-size:13px}.sort-select{height:41px;font-size:13px}
  .market-notice{font-size:14px;min-height:51px;padding:11px 14px}
  .product-thumb{height:190px}.product-thumb svg.product-art{width:96px;height:96px}
  .product-body{padding:14px 14px 15px}.product-overline{font-size:11px;height:20px}.product-card h3{font-size:16px;min-height:44px;margin:7px 0 11px}.product-price{font-size:19px}.product-unit{font-size:11px}.product-seller{font-size:11px;padding-top:10px}.seller-avatar{width:27px;height:27px;font-size:8px}.verified-mini svg{width:14px;height:14px}
  .card-badge{height:24px;font-size:9px;padding:0 8px}.favorite-button{width:36px;height:36px}.favorite-button svg{width:19px}
  .section-title-row h2{font-size:23px}.section-title-row p,.section-title-row button{font-size:13px}.store-card h3{font-size:15px}.store-card p,.store-card .rating{font-size:11px}.store-logo{width:64px;height:64px}.store-card{grid-template-columns:64px 1fr;padding:17px}
  .shortcut-card{height:112px}.shortcut-card strong{font-size:14px}.shortcut-card small{font-size:10px}.shortcut-card svg{width:31px;height:31px}
  .page-head h1{font-size:31px}.page-head p{font-size:15px}.form-card h2{font-size:20px}.form-card>p{font-size:13px}.field label{font-size:13px}.field input,.field select{height:48px}.field input,.field select,.field textarea{font-size:15px}.form-layout{grid-template-columns:minmax(0,1fr) 340px}.form-card{padding:25px}
  .messages-layout{min-height:650px}.thread-list h2{font-size:22px}.thread{min-height:70px}.thread-copy strong{font-size:14px}.thread-copy p{font-size:12px}.chat-head strong{font-size:16px}.chat-head span{font-size:12px}.bubble{font-size:14px;line-height:1.55;padding:13px 16px}.chat-compose input{font-size:14px;height:48px}
}

/* Account pages */
.auth-page{min-height:calc(100vh - 220px);display:grid;align-items:center;padding:46px 0 70px}
.auth-layout{display:grid;grid-template-columns:minmax(0,720px) minmax(340px,1fr);max-width:1180px;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.auth-card{padding:42px 48px}.auth-card.wide{padding-bottom:38px}.auth-brand img{width:210px;height:58px;object-fit:contain;object-position:left;margin-bottom:24px}.auth-card h1{margin:5px 0 8px;font-size:32px;letter-spacing:-.025em}.auth-card>p{color:var(--muted);margin:0 0 26px;max-width:640px}.auth-form{display:flex;flex-direction:column;gap:16px}.remember-row{display:flex;align-items:center;gap:9px;color:#59645d;font-size:13px}.remember-row input{accent-color:var(--green-800)}.auth-links{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px}.auth-links button{font-size:13px}.auth-aside{background:linear-gradient(145deg,var(--green-950),#0d6a43);color:#fff;padding:54px 46px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-aside:after{content:"";position:absolute;width:360px;height:360px;border:70px solid rgba(255,255,255,.06);border-radius:50%;right:-180px;bottom:-180px}.auth-aside h2{font-size:31px;line-height:1.2;margin:0 0 15px}.auth-aside p{color:rgba(255,255,255,.78);max-width:430px}.auth-benefits{display:flex;flex-direction:column;gap:13px;margin-top:24px;font-weight:650;font-size:14px;position:relative;z-index:1}

/* Admin preview */
.admin-shell{min-height:calc(100vh - 31px);display:grid;grid-template-columns:260px minmax(0,1fr);background:#f1f4f1}
.admin-sidebar{background:#092f21;color:#fff;padding:22px 16px;display:flex;flex-direction:column;min-height:820px;position:sticky;top:0;height:100vh}.admin-logo{padding:8px 8px 25px;border-bottom:1px solid rgba(255,255,255,.11)}.admin-logo img{width:190px;height:50px;object-fit:contain;object-position:left}.admin-logo span{display:block;color:rgba(255,255,255,.58);font-size:11px;letter-spacing:.09em;text-transform:uppercase;margin-top:7px}.admin-sidebar nav{display:flex;flex-direction:column;gap:4px;margin-top:20px}.admin-sidebar nav button{height:43px;border:0;border-radius:8px;background:transparent;color:rgba(255,255,255,.76);text-align:left;padding:0 12px;font-size:13px;font-weight:650;display:flex;justify-content:space-between;align-items:center}.admin-sidebar nav button:hover,.admin-sidebar nav button.active{background:rgba(255,255,255,.10);color:#fff}.admin-sidebar nav b{background:#d79b00;color:#1e1a10;border-radius:20px;min-width:21px;height:21px;display:grid;place-items:center;font-size:10px}.admin-user{margin-top:auto;border-top:1px solid rgba(255,255,255,.11);padding:17px 8px 3px;display:flex;align-items:center;gap:10px}.admin-user>span{width:36px;height:36px;border-radius:50%;background:#f0ae00;color:#273316;display:grid;place-items:center;font-size:11px;font-weight:850}.admin-user strong,.admin-user small{display:block}.admin-user strong{font-size:13px}.admin-user small{font-size:10px;color:rgba(255,255,255,.58)}
.admin-main{padding:34px 38px 65px;min-width:0}.admin-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:25px}.admin-header h1{font-size:31px;margin:4px 0 4px;letter-spacing:-.025em}.admin-header p{margin:0;color:var(--muted);font-size:13px}.admin-header-actions{display:flex;gap:10px}.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.admin-stats article{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px}.admin-stats span,.admin-stats small{display:block;color:var(--muted)}.admin-stats span{font-size:12px;font-weight:700}.admin-stats strong{display:block;font-size:30px;line-height:1.15;margin:7px 0 4px;color:#14291d}.admin-stats small{font-size:10px}.admin-panel{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:var(--shadow-sm)}.admin-panel-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-panel-head h2{font-size:18px;margin:0 0 3px}.admin-panel-head p{font-size:11px;color:var(--muted);margin:0}.admin-table-row{display:grid;grid-template-columns:1.35fr 1fr .8fr .7fr .55fr;gap:14px;align-items:center;padding:14px 20px;border-bottom:1px solid #edf0ed;font-size:12px}.admin-table-row:last-child{border-bottom:0}.admin-table-row strong,.admin-table-row small{display:block}.admin-table-row small{font-size:10px;color:var(--muted);margin-top:2px}.admin-table-labels{background:#f7f9f7;color:#747d77;text-transform:uppercase;font-size:9px;font-weight:800;letter-spacing:.05em;padding-top:10px;padding-bottom:10px}.admin-status{display:inline-flex;width:max-content;align-items:center;height:26px;padding:0 9px;border-radius:15px;font-size:10px;font-weight:750;background:#edf3ee;color:#386246}.admin-status.status-0,.admin-status.status-3{background:#fff2d3;color:#805f05}.admin-status.status-2{background:#ffe8dc;color:#934c27}.admin-row-actions{display:flex;align-items:center;gap:10px}.admin-more{border:0;background:transparent;color:#737c76;font-weight:800}.admin-two-col{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;margin-top:18px}.admin-compact-list article{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}.admin-compact-list article:last-child{border-bottom:0}.admin-compact-list strong,.admin-compact-list small{display:block}.admin-compact-list strong{font-size:12px}.admin-compact-list small{font-size:10px;color:var(--muted)}.admin-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px}.admin-quick-actions button{min-height:64px;border:1px solid var(--line);border-radius:9px;background:#f8faf8;color:var(--green-900);font-weight:700;font-size:11px;padding:10px}.admin-quick-actions button:hover{border-color:var(--green-700);background:#f0f6f0}

@media (max-width:1100px){.auth-layout{grid-template-columns:1fr}.auth-aside{display:none}.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:relative;height:auto;min-height:auto}.admin-sidebar nav{display:grid;grid-template-columns:repeat(2,1fr)}.admin-user{display:none}.admin-main{padding:25px 20px}.admin-stats{grid-template-columns:repeat(2,1fr)}.admin-two-col{grid-template-columns:1fr}}
@media (max-width:700px){.auth-page{padding:18px 0 90px}.auth-layout{width:calc(100% - 22px)}.auth-card{padding:28px 20px}.auth-card h1{font-size:26px}.auth-links{align-items:flex-start;flex-direction:column}.admin-sidebar{display:none}.admin-main{padding:20px 12px 90px}.admin-header{flex-direction:column}.admin-header-actions{width:100%}.admin-header-actions button{flex:1}.admin-stats{grid-template-columns:1fr 1fr;gap:9px}.admin-stats article{padding:14px}.admin-stats strong{font-size:24px}.admin-table{overflow-x:auto}.admin-table-row{min-width:840px}.admin-two-col{grid-template-columns:1fr}.admin-quick-actions{grid-template-columns:1fr}.admin-header h1{font-size:27px}}

/* Audit additions: visibility, live data and clearer desktop sizing */
.admin-only{display:none!important}.admin-only.visible{display:inline-flex!important}
.product-photo{position:relative;z-index:1;width:100%;height:100%;display:block;object-fit:cover}
.module-notice{margin-top:24px;padding:14px 18px;border:1px solid #e6c66e;border-radius:10px;background:#fff8df;color:#624d0a;font-size:14px;line-height:1.5}
.empty-state{padding:54px 24px;text-align:center;border:1px dashed var(--line);border-radius:14px;background:#fff}.empty-state h2{margin:0 0 8px;font-size:23px}.empty-state p{margin:0 0 20px;color:var(--muted)}
.status-text{font-size:17px!important;line-height:1.25!important}.disabled-option{opacity:.58;cursor:not-allowed}.disabled-option input{cursor:not-allowed}

@media (min-width:1101px){
  .brand{width:250px}.brand img{width:240px;height:76px}
  .main-header{min-height:92px}
  .header-search{height:54px}.header-search input,.header-search select{font-size:15px}.search-submit{font-size:15px}
  .header-action{font-size:12px}.header-action .action-icon{width:25px;height:25px}.sell-button{height:50px;font-size:15px}
  .market-intro h1,.results-header h1{font-size:31px}.market-intro p,.results-header p{font-size:15px}
  .product-overline{font-size:12px;height:21px}.product-card h3{font-size:18px;line-height:1.35;min-height:49px}.product-price{font-size:22px}.product-unit{font-size:12px}.product-seller{font-size:13px}.seller-avatar{width:30px;height:30px;font-size:9px}
  .filter-panel h3,.market-toolbar h2{font-size:18px}.category-list button{min-height:48px;font-size:14px}.sort-select{font-size:13px}
  .site-footer{font-size:14px}
}
