/* Buyer-specific content, retaining the approved Sellers visual system. */
.description-label{font-weight:500}.offer-panel-top h2{max-width:370px}.offer-panel .fields{gap:15px 12px}.offer-panel .fields>label>textarea{min-height:72px;resize:vertical;font:12px/1.6 Arial;padding:10px 11px}.offer-panel .fields select{font-size:12px}.offer-panel .input-title{display:block}.buyer-menu{position:relative;color:var(--ink)}.buyer-menu summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:41px;background:#fff;border:1px solid #cbd4cf;border-radius:4px;padding:10px 11px;list-style:none;font-size:12px}.buyer-menu summary::-webkit-details-marker{display:none}.buyer-options{background:#fff;border:1px solid #cbd4cf;padding:11px;border-radius:4px;position:absolute;inset:calc(100% + 5px) 0 auto;z-index:8;box-shadow:0 8px 24px #0002}.buyer-options label{display:flex!important;align-items:center;gap:8px;padding:5px 0;color:#26332c;font-size:12px;letter-spacing:0!important;text-transform:none!important}.buyer-options input{width:14px;height:14px;padding:0;margin:0;accent-color:#607d6c}.buyer-options button{color:#52725e;font-size:12px;font-weight:600;margin-top:8px;padding:4px 0}.buyer-extra{border-top:1px solid #54604f;border-bottom:1px solid #54604f;padding:14px 0;margin-top:1px}.buyer-extra>summary{display:flex;justify-content:space-between;gap:10px;cursor:pointer;font-size:12px;font-weight:600;list-style:none;color:#d7e2d8}.buyer-extra>summary:after{content:'+';font-size:16px}.buyer-extra[open]>summary:after{content:'−'}.buyer-extra>summary>span{font-size:10px;color:#aec3b4;margin-left:auto;font-weight:400}.buyer-extra>.fields{margin-top:16px}.buyer-private{display:flex!important;align-items:flex-start;gap:8px!important}.buyer-private input{width:14px!important;height:14px!important;margin-top:2px;flex:none;accent-color:#b9cfc5}.buyer-private span{font-size:11px!important;line-height:1.6!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;color:#d0ded3}.buyer-inline-note{font-size:10px;line-height:1.6;color:#a8beb0}.buyer-local-note{font-size:10px;color:#a8beb0;line-height:1.6;margin-top:12px}.buyer-source-warning{margin-top:12px;font-size:11px;line-height:1.7;color:#746b50}.intro .lead{max-width:780px}.live-label{white-space:nowrap}.source-panel{align-self:stretch;width:100%}.buyer-account{padding:26px 24px;background:var(--paper);border-top:3px solid var(--sage);border-radius:3px;align-self:start}.buyer-account h2{font-size:21px;font-weight:600;margin:10px 0}.buyer-account p{font-size:12px;color:#6c7d71;line-height:1.7}.buyer-account .account-tabs{display:flex;gap:22px;margin:22px 0 18px;border-bottom:1px solid var(--line)}.buyer-account .account-tabs button{padding:8px 0;font-size:13px;color:#6a8072}.buyer-account .account-tabs button[aria-selected=true]{border-bottom:2px solid var(--sage);color:var(--ink)}.buyer-account label{display:grid;gap:6px;margin:14px 0;color:#506556;font-size:12px}.buyer-account input{width:100%;padding:10px 12px;border:1px solid #c7d3cb;border-radius:4px;background:#fff}.buyer-account .account-action{padding:12px 16px;background:#26362c;color:white;border-radius:4px;width:100%;margin-top:12px;font-size:13px}.buyer-account .account-back{font-size:11px;color:var(--sage);padding:0}.checkout-active .source-column>section:not(.buyer-account):not(.company-checkout){display:none}.buyer-account .account-preview-note{font-size:10px;border-top:1px solid var(--line);padding-top:12px;margin-top:18px}.buyer-summary-note{font-size:12px;color:#65786b;line-height:1.7;margin-bottom:18px}.review-grid .review-detail.wide{grid-column:1/-1}.attachment-preview-text{white-space:pre-wrap;overflow-wrap:anywhere}.buyer-empty-required{outline:2px solid #d8b17f!important;outline-offset:2px}.buyer-timing-note{font-size:10px;color:#a8beb0;line-height:1.6}.preview-strip{font-size:11px}.preview-strip button{white-space:nowrap}.offer-panel .confirmation span{font-size:11px;line-height:1.6}.offer-panel .money select{font-size:11px}.offer-panel .money{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.source-status{align-items:flex-start}.source-status .pulse-dot{margin-top:5px}.reference-tag{display:block;color:#abc3b3;font-size:9px;margin-top:2px}.attachment-card .attachment-open{min-height:93px}.offer-panel .fields .full{grid-column:1/-1}.buyer-extra .fields{display:grid;grid-template-columns:1fr 1fr}.buyer-source-warning:empty{display:none}.offer-panel .fields [name=product_category]{font-size:12px}.buyer-account [disabled]{opacity:.65;cursor:default}.buyer-account .account-email{margin-bottom:8px}.preview-status-pill{display:inline-block;padding:6px 9px;border:1px solid #c5d6c9;background:#edf4ee;border-radius:4px;color:#61786a;font-size:10px;margin-top:12px}.buyer-account .account-stage-complete{padding:14px;border:1px solid #c5d6c9;background:#edf4ee;margin:18px 0;border-radius:4px;color:#526c5b}.condition-field{position:relative}.buyer-menu[open]{z-index:5}@media(max-width:740px){.buyer-extra .fields{grid-template-columns:1fr 1fr}.intro .lead{max-width:none}.buyer-account{margin-bottom:24px}}@media(max-width:420px){.buyer-extra .fields{grid-template-columns:1fr}.offer-panel .fields>label>span,.input-title{font-size:10px}.buyer-account{padding:22px 18px}}

.condition-field{min-width:0}.buyer-menu summary{gap:8px}.buyer-menu summary>span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media(max-width:420px){.condition-field{grid-column:1/-1}.offer-panel .fields>.packaging-field{grid-column:1/-1}}

.packaging-field{min-width:0}

.quantity-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.quantity-details label{min-width:0}.quantity-add{color:#bed0c3;text-align:left;font:11px/1.5 Arial;padding:2px 0;grid-column:1/-1}.quantity-note{grid-column:1/-1;color:#afc3b6;font:10px/1.6 Arial;margin:0}.quantity-details [data-sale-scope],.quantity-details [data-packing-details]{grid-column:1/-1}@media(max-width:420px){.quantity-details{grid-template-columns:1fr}}

.location-field{min-width:0;display:grid;gap:6px}.location-field>span:first-child{font:600 9px/1.4 Arial;letter-spacing:.45px;color:#bed0c3}.location-field input,.location-field select{width:100%;height:41px;font:12px Arial;border:1px solid #cbd4cf;border-radius:4px;padding:10px 11px;box-sizing:border-box}.location-field small{font:10px/1.5 Arial;color:#afc3b6}

/* Keep native input and select controls equal despite inherited form rules. */
.offer-panel .fields .location-field>input,.offer-panel .fields .location-field>select{height:36px;min-height:36px;max-height:36px;padding:8px 10px;line-height:18px;box-sizing:border-box;align-self:start;margin:0}
@media(max-width:740px){.offer-panel .fields .location-field>input,.offer-panel .fields .location-field>select{height:40px;min-height:40px;max-height:40px}}

#attachment-empty:empty,#evidence-summary:empty{display:none}

.offer-panel .fields>.panel-separator{grid-column:1/-1;width:100%;height:0;border:0;border-top:1px solid rgba(190,208,195,.24);margin:5px 0 7px}.offer-panel .panel-footer{border-top-color:rgba(190,208,195,.24)}

/* One shared chevron for selects, editable lists and grouped selectors. */
.offer-panel .fields select,.offer-panel .fields input[list],.offer-panel .fields details>summary{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%236b7871' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px 14px;padding-right:34px!important}
.offer-panel .fields input[list]::-webkit-calendar-picker-indicator{opacity:0;cursor:pointer}
.offer-panel .fields details>summary{list-style:none}
.offer-panel .fields details>summary::-webkit-details-marker{display:none}
.offer-panel .fields details>summary::marker{content:''}
.offer-panel .fields details>summary>span:last-child:not(:first-child){display:none}

/* Shared buyer/seller form standard. Keep this block identical on both pages. */
.intro .lead{max-width:760px}
.offer-panel .fields{gap:12px 12px;align-items:start}
.offer-panel .fields>label,.offer-panel .fields .location-field{display:block;min-width:0}
.offer-panel .fields label>span:first-child,.offer-panel .fields .input-title,.offer-panel .fields .location-field>span:first-child{font-family:Arial,Helvetica,sans-serif;font-size:9px;font-weight:600;line-height:1.5;letter-spacing:.7px;margin:0 0 5px;color:var(--sage-light)}
.offer-panel .fields input:not([type=checkbox]),.offer-panel .fields select,.offer-panel .fields details>summary{font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;height:36px;min-height:36px;box-sizing:border-box;padding-top:8px;padding-bottom:8px;margin:0;align-self:start}
.offer-panel .fields .location-field>input,.offer-panel .fields .location-field>select{max-height:36px}
.offer-panel .fields small,.offer-panel .fields .location-field small{font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:14px;min-height:14px;margin:3px 0 0}
.offer-panel .fields .confirmation>span{font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.5;font-weight:400;letter-spacing:0;margin:0;color:#d5dfd8}
.offer-panel .fields .money select{font-size:12px}
@media(max-width:740px){.offer-panel .fields input:not([type=checkbox]),.offer-panel .fields select,.offer-panel .fields details>summary{height:40px;min-height:40px;font-size:13px}.offer-panel .fields .location-field>input,.offer-panel .fields .location-field>select{max-height:40px}.offer-panel .fields .money select{font-size:13px}}

@media(max-width:420px){.offer-panel .fields>label:has(>input[name="condition"]),.offer-panel .fields>label:has(>input[name="packing_marking"]),.offer-panel .fields>.condition-field{grid-column:1/-1}}

/* Give the review title its own full-width line; status sits with the supporting text. */
.offer-panel{container-type:inline-size}
.offer-panel .offer-panel-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:start}
.offer-panel .offer-panel-top>div{display:contents}
.offer-panel #offer-title{grid-column:1/-1;max-width:none;white-space:nowrap;font-size:18px;line-height:1.35}
.offer-panel .offer-panel-top p{grid-column:1;margin:0}
.offer-panel .offer-panel-top .live-label{grid-column:2;margin-top:4px}
@container(max-width:270px){.offer-panel #offer-title{font-size:16px}}

/* Keep description headings intact; allow the examples control to move below on narrow screens. */
.panel-heading{flex-wrap:wrap;align-items:center}
.panel-heading #description-heading{white-space:nowrap;flex-shrink:0}

/* Product-specific detail fields share the existing form grid and typography. */
.offer-panel .fields>.shelf-add{grid-column:1/-1;text-align:left;padding:3px 0;color:#bed0c3;font:11px/1.5 Arial}
.shelf-life-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-block:1px solid rgba(190,208,195,.24);padding:13px 0;margin:2px 0}
.shelf-life-section label{display:block;min-width:0}.shelf-life-section .full{grid-column:1/-1}
.shelf-life-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.offer-panel .shelf-life-heading h3{font:600 12px/1.5 Arial;color:#d5e0d9;margin:0}
.shelf-life-heading button{font:10px/1.5 Arial;color:#b9cfc5;padding:2px 0;text-decoration:underline;text-underline-offset:2px}
.shelf-life-note,.product-category-note{font:10px/1.5 Arial;color:#bac7c0;margin:0;min-width:0;overflow-wrap:anywhere}
.offer-panel .shelf-life-section textarea{min-height:60px;font:12px/1.5 Arial;padding:8px 10px}
@media(max-width:420px){.shelf-life-section{grid-template-columns:1fr}.shelf-life-section label{grid-column:1/-1}}

/* Keep input usable and avoid automatic field zoom on narrow phones. */
@media(max-width:480px){
 .offer-panel .fields{grid-template-columns:minmax(0,1fr)}
 .offer-panel .fields>label,.offer-panel .fields>div,.offer-panel .fields>section{grid-column:1/-1}
 .offer-panel .fields input:not([type=checkbox]),.offer-panel .fields select,.offer-panel .fields textarea,.offer-panel .fields summary{font-size:16px!important;min-height:44px}
 .offer-panel .money{grid-template-columns:minmax(0,1fr);gap:8px}
 .offer-panel .suggestions-menu>[role=option]{font-size:16px;min-height:44px}
}

/* Keep example text distinct while maintaining readable contrast. */
input::placeholder,textarea::placeholder{color:#6b757e;opacity:1}
select:has(option[value=""]:checked),.offer-panel .fields summary.is-placeholder{color:#6b757e}
@media(min-width:481px) and (max-width:740px){.offer-panel .fields select{font-size:13px}}
