/* Seller profiles and advert seller panels share the existing sales components. */
.kmh-marketplace .kmh-seller-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;padding:1.5rem 0;border-bottom:1px solid var(--kmh-marketplace-line)}
.kmh-marketplace .kmh-seller-heading__identity{max-width:48rem;min-width:0}
.kmh-marketplace .kmh-seller-heading h1{margin:.35rem 0 .8rem;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.15;overflow-wrap:anywhere}
.kmh-marketplace .kmh-seller-introduction{max-width:46rem;white-space:pre-line;line-height:1.7}
.kmh-marketplace .kmh-seller-type{font-size:.85rem;color:var(--kmh-marketplace-muted);font-weight:600;margin:0 0 .4rem}
.kmh-marketplace .kmh-seller-actions{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap;margin:1rem 0 0}
.kmh-marketplace .kmh-seller-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:44px;text-decoration:none}
.kmh-marketplace .kmh-seller-button-secondary{background:#fff;color:var(--kmh-marketplace-accent);border:1px solid var(--kmh-marketplace-accent)}
.kmh-marketplace .kmh-seller-about{display:flex;flex-wrap:wrap;gap:1rem 3rem;padding:1.25rem 0;border-bottom:1px solid var(--kmh-marketplace-line)}
.kmh-marketplace .kmh-seller-about h2{font-size:1.05rem;margin:0 0 .5rem}
.kmh-marketplace .kmh-seller-parks{display:flex;flex-wrap:wrap;gap:.4rem 1rem;list-style:none;margin:0;padding:0}
.kmh-marketplace .kmh-seller-stock{margin-top:2rem}
.kmh-marketplace .kmh-seller-stock>header{display:flex;gap:1rem;align-items:baseline;justify-content:space-between;flex-wrap:wrap}
.kmh-marketplace .kmh-seller-stock h2{font-size:1.5rem;margin:0}
.kmh-marketplace .kmh-seller-stock>header p{margin:0;color:var(--kmh-marketplace-muted)}
.kmh-marketplace .kmh-seller-panel{padding:1.25rem;background:#f4f8f8;border:1px solid var(--kmh-marketplace-line);border-radius:.5rem;min-width:0}
.kmh-marketplace .kmh-seller-panel h2{font-size:.9rem;color:var(--kmh-marketplace-muted);margin:0 0 .6rem}
.kmh-marketplace .kmh-seller-panel__name{font-size:1.3rem;line-height:1.35;font-weight:700;overflow-wrap:anywhere;margin:0 0 .35rem}
.kmh-marketplace .kmh-advert-summary{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:1.5rem;align-items:start;margin:1.5rem 0}
.kmh-marketplace .kmh-advert-summary .kmh-marketplace-price{font-size:1.8rem;margin:0 0 1rem;padding-bottom:0}
.kmh-marketplace.kmh-marketplace-detail .kmh-advert-summary .kmh-marketplace-advert-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1rem;margin:1rem 0}
.kmh-marketplace.kmh-marketplace-detail .kmh-advert-summary .kmh-marketplace-advert-facts>div{padding:0;background:transparent;border-radius:0}
.kmh-marketplace.kmh-marketplace-detail .kmh-advert-summary .kmh-marketplace-advert-facts dt{font-size:.8rem;line-height:1.35}
.kmh-marketplace.kmh-marketplace-detail .kmh-advert-summary .kmh-marketplace-advert-facts dd{font-size:1rem;line-height:1.35;margin:.1rem 0 0}
.kmh-marketplace .kmh-featured-badge{display:inline-block;padding:.15rem .55rem;border:1px solid #b9a77c;border-radius:.25rem;background:#faf6ec;color:#554728;font-size:.8rem;font-weight:600;line-height:1.5}
.kmh-marketplace .kmh-seller-enquiry{max-width:44rem;margin-top:2.5rem;scroll-margin-top:150px}
.kmh-marketplace .kmh-seller-enquiry h2{font-size:1.5rem}
.kmh-marketplace .kmh-seller-profile-form{max-width:52rem}
.kmh-marketplace .kmh-seller-profile-form textarea{min-height:8rem}
.kmh-marketplace .kmh-seller-profile-form .kmh-marketplace-grid{gap:1rem}
.kmh-marketplace .kmh-featured-controls{border-top:1px solid var(--kmh-marketplace-line);padding-top:1rem;margin-top:1rem}
.kmh-marketplace .kmh-featured-controls form{max-width:44rem;margin-top:1rem}
.kmh-marketplace .kmh-featured-controls summary{cursor:pointer;padding:.6rem 0;font-weight:600}
.kmh-marketplace .kmh-seller-admin-section{margin:1.5rem 0}
.kmh-marketplace .kmh-seller-admin-section summary{cursor:pointer;font-weight:600;padding:.65rem 0}
.kmh-marketplace .kmh-seller-admin-section h2{font-size:1.35rem}
.kmh-marketplace .kmh-seller-admin-section dl{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:.4rem 1rem}
.kmh-marketplace .kmh-seller-admin-section dt,.kmh-marketplace .kmh-seller-admin-section dd{margin:0;overflow-wrap:anywhere}
@media(max-width:900px){.kmh-marketplace .kmh-seller-heading{gap:1rem}.kmh-marketplace .kmh-advert-summary{grid-template-columns:1fr 1fr}.kmh-marketplace .kmh-seller-panel .kmh-seller-actions{flex-direction:column;align-items:stretch}}
@media(max-width:600px){.kmh-marketplace .kmh-seller-heading{display:block;padding:1rem 0}.kmh-marketplace .kmh-advert-summary{grid-template-columns:1fr;gap:1rem}.kmh-marketplace .kmh-seller-panel .kmh-seller-actions{flex-direction:row}.kmh-marketplace .kmh-seller-actions{align-items:stretch}.kmh-marketplace .kmh-seller-actions a{flex:1 1 130px}.kmh-marketplace .kmh-seller-about{gap:1rem}.kmh-marketplace .kmh-seller-admin-section dl{grid-template-columns:1fr}.kmh-marketplace .kmh-seller-admin-section dd{margin-bottom:.6rem}}
.kmh-marketplace .kmh-seller-heading p,.kmh-marketplace .kmh-seller-about p,.kmh-marketplace .kmh-seller-stock>header p,.kmh-marketplace .kmh-seller-panel p{padding-bottom:0}
.kmh-marketplace .kmh-seller-heading>.kmh-seller-actions{flex-shrink:0}
.kmh-marketplace .kmh-seller-parks li{list-style:none;margin:0;padding:0}

@media(max-width:600px){.kmh-seller-admin .kmh-marketplace-table thead{display:none}.kmh-seller-admin .kmh-marketplace-table,.kmh-seller-admin .kmh-marketplace-table tbody,.kmh-seller-admin .kmh-marketplace-table tr,.kmh-seller-admin .kmh-marketplace-table td{display:block;width:auto}.kmh-seller-admin .kmh-marketplace-table td:before{content:attr(data-label);display:block;font-size:.8rem;color:var(--kmh-marketplace-muted)}.kmh-seller-admin .kmh-marketplace-table tr{border-bottom:1px solid var(--kmh-marketplace-line);padding:.7rem 0}}
.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-card p{padding-bottom:0;margin-top:0;margin-bottom:.65rem}
.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-card h2{margin-top:.8rem;margin-bottom:.35rem;font-size:1.15rem;line-height:1.35}
.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-advert-facts{gap:.6rem 1rem;margin-top:.75rem;margin-bottom:.75rem}
.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-advert-facts>div{background:transparent;padding:0;border-radius:0}
.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-advert-facts dt{font-size:.75rem;line-height:1.3}
.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-advert-facts dd{font-size:.9rem;line-height:1.35;margin-top:.1rem}

/* Profile layouts stay within the existing KMH sales shell. */
.kmh-marketplace.kmh-seller-profile{max-width:1240px!important;margin:0 auto;padding:clamp(1rem,3vw,2rem);color:#173b45}
.kmh-seller-profile .kmh-seller-breadcrumb{font-size:.85rem;line-height:1.5;margin:0 0 1.25rem;padding:0}
.kmh-marketplace.kmh-seller-profile .kmh-seller-heading{padding:clamp(1.25rem,3vw,2rem);border:1px solid #d8e7e7;border-radius:1rem;background:linear-gradient(120deg,#eef8f6,#f8fafc);align-items:center;box-shadow:0 6px 24px #163e4610}
.kmh-seller-profile .kmh-seller-heading__identity{display:flex;gap:1.35rem;align-items:flex-start;max-width:none;flex:1}
.kmh-seller-profile .kmh-seller-heading__copy{min-width:0;max-width:45rem}
.kmh-marketplace .kmh-seller-brand{display:grid;place-items:center;flex:0 0 104px;width:104px;height:104px;padding:.65rem;border:1px solid #d5e5e4;border-radius:.75rem;background:#fff;overflow:hidden}
.kmh-marketplace .kmh-seller-brand img{display:block;width:100%;height:100%;object-fit:contain}
.kmh-marketplace .kmh-seller-brand--initial{color:#176968;background:#fff;font-size:2.7rem;line-height:1;font-weight:700;text-transform:uppercase}
.kmh-marketplace.kmh-seller-profile .kmh-seller-heading h1{font-size:clamp(1.75rem,3vw,2.6rem)!important;line-height:1.15!important;letter-spacing:-.025em;margin:.3rem 0 .75rem}
.kmh-marketplace .kmh-seller-type,.kmh-marketplace .kmh-seller-eyebrow{font-size:.75rem!important;line-height:1.45!important;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#326b70;margin:0 0 .4rem;padding:0}
.kmh-seller-profile .kmh-seller-introduction{font-size:1rem;line-height:1.7;margin:0;max-width:62ch}
.kmh-seller-profile .kmh-seller-stock-count{font-size:.85rem!important;line-height:1.5!important;font-weight:600;color:#52666b;margin:.8rem 0 0;padding:0}
.kmh-marketplace.kmh-seller-profile .kmh-seller-about{display:flex;align-items:baseline;gap:.65rem 1.5rem;border:0;padding:1.1rem .2rem;margin:0}
.kmh-seller-profile .kmh-seller-about h2{font-size:.85rem!important;line-height:1.5!important;margin:0;color:#52666b}
.kmh-seller-profile .kmh-seller-parks{font-size:.9rem;line-height:1.5}
.kmh-marketplace .kmh-seller-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:clamp(1.25rem,3vw,2rem);align-items:start;margin-top:1.7rem}
.kmh-marketplace .kmh-seller-layout--single{grid-template-columns:minmax(0,1fr)}
.kmh-marketplace.kmh-seller-profile .kmh-seller-stock{margin:0;min-width:0}
.kmh-seller-profile .kmh-seller-stock>header{margin:0 0 1.1rem;align-items:center}
.kmh-seller-profile .kmh-seller-stock>header h2{font-size:1.4rem!important;line-height:1.35!important;margin:0}
.kmh-seller-profile .kmh-seller-stock>header p:not(.kmh-seller-eyebrow){font-size:.85rem;line-height:1.5}
.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-listings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0}
.kmh-seller-profile .kmh-marketplace-card{min-width:0;border-radius:.75rem;overflow:hidden;background:#fff;box-shadow:0 3px 16px #173b4509}
.kmh-seller-profile .kmh-marketplace-card .kmh-marketplace-price{font-size:1.35rem!important;line-height:1.35!important}
.kmh-seller-profile .kmh-seller-sidebar{display:grid;gap:1rem;min-width:0}
.kmh-seller-profile .kmh-seller-contact-card,.kmh-seller-profile .kmh-seller-enquiry,.kmh-seller-profile .kmh-seller-empty{padding:1.35rem;border:1px solid #d8e5e5;border-radius:.75rem;background:#fff;box-shadow:0 3px 16px #173b4507}
.kmh-seller-profile .kmh-seller-contact-card h2,.kmh-seller-profile .kmh-seller-enquiry h2,.kmh-seller-profile .kmh-seller-empty h3{font-size:1.2rem!important;line-height:1.35!important;margin:0 0 1rem}
.kmh-seller-profile .kmh-seller-contact-list{display:grid;gap:.85rem;list-style:none;margin:0;padding:0}
.kmh-seller-profile .kmh-seller-contact-list li{list-style:none;margin:0;padding:0;font-size:.95rem;line-height:1.5;overflow-wrap:anywhere}
.kmh-seller-profile .kmh-seller-contact-list span{display:block;font-size:.75rem;color:#52666b;margin-bottom:.1rem}
.kmh-marketplace.kmh-seller-profile .kmh-seller-enquiry{max-width:none;margin:0;scroll-margin-top:150px}
.kmh-seller-profile .kmh-seller-enquiry form,.kmh-seller-profile .kmh-seller-enquiry label{min-width:0;font-size:.85rem;line-height:1.5}
.kmh-seller-profile .kmh-seller-enquiry input,.kmh-seller-profile .kmh-seller-enquiry textarea{width:100%;box-sizing:border-box}
.kmh-seller-profile .kmh-seller-enquiry .kmh-marketplace-grid{grid-template-columns:1fr}
.kmh-marketplace.kmh-seller-profile-editor{max-width:1060px;margin:0 auto;color:#173b45}
.kmh-seller-profile-editor .kmh-seller-editor-intro{display:flex;justify-content:space-between;align-items:center;gap:1.25rem;margin:0 0 1.4rem;padding:1.4rem 1.6rem;border:1px solid #d8e7e7;border-radius:.8rem;background:linear-gradient(120deg,#eef8f6,#f8fafc)}
.kmh-seller-profile-editor .kmh-seller-editor-intro h2{font-size:1.55rem!important;line-height:1.3!important;margin:0 0 .55rem}
.kmh-seller-profile-editor .kmh-seller-editor-intro p:not(.kmh-seller-eyebrow){max-width:58ch;font-size:.95rem;line-height:1.65;margin:0;padding:0}
.kmh-seller-profile-editor .kmh-seller-editor-intro>.kmh-seller-actions{margin:0;flex:0 0 190px;align-items:flex-start;flex-direction:column;font-size:.9rem}
.kmh-marketplace .kmh-seller-profile-form{max-width:none}
.kmh-seller-profile-editor .kmh-seller-editor-card{padding:clamp(1.1rem,3vw,1.65rem);border:1px solid #d8e5e5;border-radius:.8rem;background:#fff;box-shadow:0 3px 16px #173b4505;margin:0 0 1rem}
.kmh-seller-profile-editor .kmh-seller-editor-card>header{margin-bottom:1.2rem;padding-bottom:1rem;border-bottom:1px solid #e7eeee}
.kmh-seller-profile-editor .kmh-seller-editor-card h2{font-size:1.2rem!important;line-height:1.4!important;margin:0 0 .3rem}
.kmh-seller-profile-editor .kmh-seller-editor-card header p,.kmh-seller-profile-editor .kmh-seller-editor-footer p{font-size:.9rem;line-height:1.6;color:#52666b;margin:0;padding:0}
.kmh-seller-profile-editor .kmh-seller-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.2rem}
.kmh-seller-profile-editor .kmh-seller-field-wide{grid-column:1/-1}
.kmh-seller-profile-editor .kmh-seller-field-grid label{display:grid;gap:.4rem;align-content:start;font-size:.9rem;line-height:1.5;font-weight:600;min-width:0;margin:0}
.kmh-seller-profile-editor .kmh-seller-field-grid input,.kmh-seller-profile-editor .kmh-seller-field-grid textarea{width:100%;box-sizing:border-box;border:1px solid #c8d9dc!important;border-radius:.4rem!important;background:#fbfdfd!important;color:#173b45!important;padding:.75rem .85rem!important;font-size:1rem!important;line-height:1.5!important;box-shadow:none!important}
.kmh-seller-profile-editor .kmh-seller-field-grid input:focus,.kmh-seller-profile-editor .kmh-seller-field-grid textarea:focus{outline:2px solid #21817c;outline-offset:2px}
.kmh-seller-profile-editor .kmh-seller-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1rem .2rem 1.5rem}
.kmh-seller-profile-editor .kmh-seller-editor-footer p{max-width:40ch}
.kmh-seller-profile-editor .kmh-seller-editor-footer .kmh-seller-actions{margin:0;flex-shrink:0}
@media(max-width:1000px){.kmh-marketplace .kmh-seller-layout{grid-template-columns:minmax(0,1fr) 300px}.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-listings{grid-template-columns:1fr}.kmh-marketplace .kmh-seller-layout--single{grid-template-columns:1fr}}
@media(max-width:760px){.kmh-marketplace .kmh-seller-layout{grid-template-columns:1fr}.kmh-marketplace.kmh-seller-profile .kmh-seller-heading{display:block}.kmh-seller-profile .kmh-seller-heading>.kmh-seller-actions{margin-top:1.1rem}.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-listings{grid-template-columns:repeat(2,minmax(0,1fr))}.kmh-seller-profile-editor .kmh-seller-editor-intro,.kmh-seller-profile-editor .kmh-seller-editor-footer{display:block}.kmh-seller-profile-editor .kmh-seller-editor-intro>.kmh-seller-actions{margin-top:1rem}.kmh-seller-profile-editor .kmh-seller-editor-footer .kmh-seller-actions{margin-top:1rem}.kmh-seller-profile-editor .kmh-seller-field-grid{grid-template-columns:1fr}}
@media(max-width:520px){.kmh-seller-profile .kmh-seller-heading__identity{gap:1rem;flex-direction:column}.kmh-marketplace .kmh-seller-brand{width:80px;height:80px;flex-basis:80px}.kmh-seller-profile .kmh-seller-stock .kmh-marketplace-listings{grid-template-columns:1fr}.kmh-seller-profile-editor .kmh-seller-editor-footer .kmh-seller-actions{display:grid;grid-template-columns:1fr}.kmh-seller-profile-editor .kmh-seller-editor-footer button{width:100%}}
.kmh-seller-profile-editor [hidden]{display:none!important}
.kmh-seller-profile-editor .kmh-seller-optional{display:inline-block;vertical-align:middle;margin-left:.4rem;padding:.15rem .5rem;border-radius:1rem;background:#eef5f5;color:#52666b;font-size:.7rem!important;line-height:1.4!important;font-weight:500}
.kmh-seller-profile-editor .kmh-seller-image-editor{display:flex;gap:1.5rem;align-items:flex-start}
.kmh-seller-profile-editor .kmh-seller-image-saved{width:120px;height:120px;flex-basis:120px}
.kmh-seller-profile-editor .kmh-seller-image-controls{min-width:0;flex:1}
.kmh-seller-profile-editor .kmh-seller-image-controls label{display:block;font-size:.9rem;line-height:1.5;margin:0 0 .75rem}
.kmh-seller-profile-editor .kmh-seller-image-controls input[type=file]{display:block;width:100%;max-width:100%;font-size:.9rem;margin-top:.45rem;padding:.6rem;border:1px dashed #b9d1d2;border-radius:.4rem;background:#f5faf9;box-sizing:border-box}
.kmh-seller-profile-editor .kmh-seller-image-help,.kmh-seller-profile-editor .kmh-seller-image-size,.kmh-seller-profile-editor .kmh-seller-image-placeholder,.kmh-seller-profile-editor [data-profile-image-status]{font-size:.85rem;line-height:1.6;color:#52666b;margin:0 0 .75rem;padding:0}
.kmh-seller-profile-editor .kmh-seller-image-selection{display:flex;align-items:center;gap:.8rem;margin:.8rem 0}
.kmh-seller-profile-editor .kmh-seller-image-selection img{width:80px;height:80px;object-fit:contain;border:1px solid #d8e5e5;border-radius:.4rem;background:#fff}
.kmh-seller-profile-editor .kmh-seller-image-selection p{font-size:.85rem;line-height:1.5;margin:0;padding:0;overflow-wrap:anywhere}
.kmh-seller-profile-editor [data-profile-image-clear]{padding:.4rem .7rem;font-size:.85rem;border:1px solid #b9d1d2;border-radius:.35rem;background:#fff;color:#173b45}
.kmh-seller-profile-editor button:disabled{opacity:.55;cursor:wait}
@media(max-width:520px){.kmh-seller-profile-editor .kmh-seller-image-editor{flex-direction:column;gap:1rem}}

/* Sales enquiries use the existing authenticated seller workspace. */
.kmh-marketplace .kmh-sales-inbox{max-width:1100px;margin:0 auto}
.kmh-marketplace .kmh-enquiry-inbox-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 1.25rem;padding:1.5rem;border:1px solid #d7e7e5;border-radius:.8rem;background:linear-gradient(120deg,#eff8f6,#f8fafc)}
.kmh-marketplace .kmh-enquiry-inbox-heading h2{font-size:1.6rem!important;line-height:1.3!important;margin:0 0 .5rem}
.kmh-marketplace .kmh-enquiry-inbox-heading p:not(.kmh-seller-eyebrow){font-size:.9rem;line-height:1.6;margin:0;padding:0}
.kmh-marketplace .kmh-enquiry-inbox-count{flex-shrink:0;color:#176968;font-weight:700}
.kmh-marketplace .kmh-enquiry-inbox-count span{display:block;color:#62747c;font-size:.8rem;font-weight:400;text-align:right}
.kmh-marketplace .kmh-enquiry-inbox-list{list-style:none;margin:0;padding:0;display:grid;gap:.85rem}
.kmh-marketplace .kmh-enquiry-inbox-list>.kmh-enquiry-row{list-style:none;margin:0;padding:1.25rem 1.4rem;background:#fff;border:1px solid #d9e4e6;border-left:4px solid #d9e4e6;border-radius:.65rem}
.kmh-marketplace .kmh-enquiry-inbox-list>.is-unread{border-left-color:#21817c;background:#fcfefe}
.kmh-marketplace .kmh-enquiry-row-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.kmh-marketplace .kmh-enquiry-row h3{font-size:1.1rem!important;line-height:1.4!important;margin:.4rem 0 .2rem}
.kmh-marketplace .kmh-enquiry-row time,.kmh-marketplace .kmh-enquiry-detail time{font-size:.8rem;line-height:1.5;color:#62747c;white-space:nowrap}
.kmh-marketplace .kmh-enquiry-context{font-size:.85rem;line-height:1.5;color:#52666b;margin:0;padding:0;overflow-wrap:anywhere}
.kmh-marketplace .kmh-enquiry-status{display:inline-block;font-size:.7rem;line-height:1.4;font-weight:700;padding:.2rem .55rem;border-radius:1rem;background:#edf1f3;color:#52666b}
.kmh-marketplace .is-unread .kmh-enquiry-status{background:#dff2ec;color:#176968}
.kmh-marketplace .kmh-enquiry-message-preview{font-size:.95rem;line-height:1.7;color:#354e56;margin:1rem 0;padding:0;overflow-wrap:anywhere}
.kmh-marketplace .kmh-enquiry-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem 1rem;margin-top:1rem}
.kmh-marketplace .kmh-enquiry-actions form{margin:0}
.kmh-marketplace .kmh-enquiry-actions a,.kmh-marketplace .kmh-enquiry-text-button{font-size:.85rem;line-height:1.5}
.kmh-marketplace .kmh-enquiry-text-button{padding:.35rem 0;border:0;background:transparent;color:#176968;text-decoration:underline;cursor:pointer}
.kmh-marketplace .kmh-enquiry-empty{padding:2rem;text-align:center;border:1px dashed #b9d1d2;border-radius:.75rem;background:#f8fbfb}
.kmh-marketplace.kmh-enquiry-detail{max-width:900px;margin:0 auto;padding:clamp(1.25rem,3vw,2rem);background:#fff;border:1px solid #d9e4e6;border-radius:.8rem}
.kmh-marketplace .kmh-enquiry-detail-heading{display:flex;gap:1rem;align-items:center;margin:1rem 0}
.kmh-enquiry-detail dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:.65rem 1.25rem;margin:1.5rem 0}
.kmh-enquiry-detail dt{font-size:.8rem;color:#62747c}
.kmh-enquiry-detail dd{font-size:1rem;line-height:1.75;margin:0;overflow-wrap:anywhere}
.kmh-marketplace .kmh-enquiry-reply-help{font-size:.85rem;line-height:1.6;color:#62747c;margin:1rem 0 0;padding:0}
.kmh-marketplace .kmh-enquiry-confirmation{margin:1rem 0;padding:1rem 1.25rem;border:1px solid #b5ded0;border-left:4px solid #21817c;border-radius:.5rem;background:#eef9f3;color:#173b45}
.kmh-marketplace .kmh-enquiry-confirmation strong{display:block;font-size:1.05rem;line-height:1.4}
.kmh-marketplace .kmh-enquiry-confirmation p{font-size:.9rem;line-height:1.6;margin:.35rem 0 0;padding:0}
.kmh-seller-profile .kmh-seller-enquiry select{width:100%;max-width:100%;font-size:.95rem;box-sizing:border-box}
@media(max-width:600px){.kmh-marketplace .kmh-enquiry-inbox-heading,.kmh-marketplace .kmh-enquiry-row-heading{align-items:flex-start;flex-direction:column}.kmh-marketplace .kmh-enquiry-inbox-count span{display:inline;margin-left:.4rem}.kmh-marketplace .kmh-enquiry-inbox-list>.kmh-enquiry-row{padding:1rem}.kmh-enquiry-detail dl{grid-template-columns:1fr;gap:.25rem}.kmh-enquiry-detail dd{margin-bottom:.8rem}.kmh-marketplace .kmh-enquiry-actions{gap:.6rem 1rem}}

.kmh-marketplace .kmh-seller-enquiry{scroll-margin-top:150px}
.kmh-marketplace .kmh-enquiry-confirmation--error{border-color:#e6c3bb;border-left-color:#a83c2e;background:#fff5f2}

/* Explicit sales controls override Salient link/button typography in every state. */
html body .kmh-marketplace .kmh-enquiry-actions a,
html body .kmh-marketplace .kmh-enquiry-actions button,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions a,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;height:auto!important;padding:.7rem 1rem!important;margin:0!important;box-sizing:border-box!important;border:1px solid #176968!important;border-radius:6px!important;font-family:inherit!important;font-size:.9rem!important;font-weight:600!important;line-height:1.2!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;box-shadow:none!important;transform:none!important;cursor:pointer}
html body .kmh-marketplace .kmh-enquiry-actions .kmh-marketplace-button,
html body .kmh-marketplace .kmh-enquiry-actions .kmh-marketplace-button:visited,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-marketplace-button,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-marketplace-button:visited{background:#176968!important;color:#fff!important}
html body .kmh-marketplace .kmh-enquiry-actions .kmh-marketplace-button:hover,
html body .kmh-marketplace .kmh-enquiry-actions .kmh-marketplace-button:focus,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-marketplace-button:hover,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-marketplace-button:focus{background:#104e4d!important;color:#fff!important}
html body .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-reply,
html body .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-text-button,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-reply,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-text-button{background:#fff!important;color:#176968!important}
html body .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-reply:visited,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-reply:visited{color:#176968!important}
html body .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-reply:hover,
html body .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-reply:focus,
html body .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-text-button:hover,
html body .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-text-button:focus,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-reply:hover,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-reply:focus,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-text-button:hover,
html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-actions .kmh-enquiry-text-button:focus{background:#edf7f4!important;color:#104e4d!important}
html body .kmh-marketplace .kmh-enquiry-actions a:focus-visible,html body .kmh-marketplace .kmh-enquiry-actions button:focus-visible{outline:2px solid #176968!important;outline-offset:3px!important}
.kmh-marketplace .kmh-enquiry-actions{align-items:center;gap:.65rem}
.kmh-marketplace .kmh-enquiry-replies{margin-top:1.8rem;border-top:1px solid #d9e4e6;padding-top:1.4rem}
.kmh-marketplace .kmh-enquiry-replies h3,.kmh-marketplace .kmh-enquiry-composer h3{font-size:1.2rem!important;line-height:1.4!important;margin:0 0 .85rem}
.kmh-marketplace .kmh-enquiry-reply-record{padding:1.1rem 1.2rem;border:1px solid #d4e5e1;border-radius:.6rem;background:#f3faf7;margin-bottom:.85rem}
.kmh-marketplace .kmh-enquiry-reply-record header{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;font-size:.85rem}
.kmh-marketplace .kmh-enquiry-reply-record>p{font-size:.95rem;line-height:1.7;margin:.8rem 0 0;padding:0;overflow-wrap:anywhere}
.kmh-marketplace .kmh-enquiry-reply-record>.kmh-enquiry-delivery{font-size:.8rem;color:#52666b}
.kmh-marketplace .kmh-enquiry-composer{scroll-margin-top:150px;margin-top:1.5rem;padding:1.3rem;border:1px solid #d7e5e7;border-radius:.65rem;background:#f8fbfc}
.kmh-marketplace .kmh-enquiry-composer>p{font-size:.9rem;line-height:1.6;color:#52666b;margin:0 0 1rem;padding:0}
.kmh-marketplace .kmh-enquiry-composer label{display:block;font-size:.9rem;line-height:1.5;font-weight:600}
.kmh-marketplace .kmh-enquiry-composer textarea{display:block;width:100%;margin-top:.45rem;box-sizing:border-box;font-size:1rem!important;line-height:1.6!important;padding:.8rem!important;border:1px solid #b9cfd2!important;border-radius:5px!important;background:#fff!important;color:#173b45!important}
@media(max-width:600px){.kmh-marketplace .kmh-enquiry-reply-record header{align-items:flex-start;flex-direction:column;gap:.25rem}.kmh-marketplace .kmh-enquiry-composer{padding:1rem}}

/* Filtered sales inbox: compact headers reveal one complete enquiry at a time. */
.kmh-marketplace .kmh-enquiry-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 .75rem}
html body .kmh-marketplace .kmh-enquiry-filters a,html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-filters a{display:inline-flex!important;align-items:center!important;gap:.5rem!important;padding:.6rem .85rem!important;min-height:40px!important;border:1px solid #b9cece!important;border-radius:6px!important;background:#fff!important;color:#176968!important;font-size:.9rem!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important;text-decoration:none!important;box-sizing:border-box!important}
html body .kmh-marketplace .kmh-enquiry-filters a:visited,html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-filters a:visited{color:#176968!important}
html body .kmh-marketplace .kmh-enquiry-filters a[aria-current=page],html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-filters a[aria-current=page]{background:#176968!important;border-color:#176968!important;color:#fff!important}
html body .kmh-marketplace .kmh-enquiry-filters a:hover,html body #ajax-content-wrap .kmh-marketplace .kmh-enquiry-filters a:hover{border-color:#176968!important}
html body .kmh-marketplace .kmh-enquiry-filters a:focus-visible{outline:2px solid #176968!important;outline-offset:3px!important}
.kmh-marketplace .kmh-enquiry-filters a span{font-size:.75rem;opacity:.8}
.kmh-marketplace .kmh-enquiry-filter-summary{font-size:.8rem;line-height:1.5;color:#62747c;margin:0 0 1rem;padding:0}
.kmh-marketplace .kmh-enquiry-accordion{display:grid;gap:.65rem}
.kmh-marketplace .kmh-enquiry-accordion>.kmh-enquiry-row{padding:0;border:1px solid #d9e4e6;border-left:4px solid #d9e4e6;border-radius:.65rem;background:#fff;overflow:hidden;scroll-margin-top:145px}
.kmh-marketplace .kmh-enquiry-accordion>.kmh-enquiry-row.is-unread{border-left-color:#21817c}
.kmh-marketplace .kmh-enquiry-accordion summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.2rem;cursor:pointer;list-style:none;position:relative}
.kmh-marketplace .kmh-enquiry-accordion summary::-webkit-details-marker{display:none}
.kmh-marketplace .kmh-enquiry-accordion summary::after{content:'+';font-size:1.35rem;line-height:1;color:#176968;flex:0 0 1rem;text-align:center}
.kmh-marketplace .kmh-enquiry-accordion details[open]>summary::after{content:'-'}
.kmh-marketplace .kmh-enquiry-accordion details[open]>summary{background:#f3faf7;border-bottom:1px solid #d9e4e6}
.kmh-marketplace .kmh-enquiry-accordion summary:focus-visible{outline:2px solid #176968;outline-offset:-4px;border-radius:.5rem}
.kmh-marketplace .kmh-enquiry-summary-copy{min-width:0;flex:1}
.kmh-marketplace .kmh-enquiry-summary-name{display:block;font-size:1rem;line-height:1.4;font-weight:600;color:#173b45;overflow-wrap:anywhere}
.kmh-marketplace .kmh-enquiry-summary-copy>.kmh-enquiry-context{display:block;font-size:.85rem;line-height:1.5;margin-top:.2rem}
.kmh-marketplace .kmh-enquiry-summary-meta{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;flex-wrap:wrap}
.kmh-marketplace .kmh-enquiry-summary-meta time{flex-basis:100%;text-align:right}
.kmh-marketplace .kmh-enquiry-status--replied{background:#e9eef8;color:#315582}
.kmh-marketplace .kmh-enquiry-expanded{padding:1.2rem}
.kmh-marketplace .kmh-enquiry-buyer-email{font-size:.85rem;color:#62747c;margin:0 0 1rem;padding:0;overflow-wrap:anywhere}
.kmh-marketplace .kmh-enquiry-original-message h3{font-size:1rem!important;line-height:1.4!important;margin:0 0 .5rem}
.kmh-marketplace .kmh-enquiry-original-message p{font-size:.95rem;line-height:1.75;margin:0;padding:0;overflow-wrap:anywhere}
.kmh-marketplace .kmh-enquiry-expanded .kmh-enquiry-composer{scroll-margin-top:145px}
@media(max-width:600px){.kmh-marketplace .kmh-enquiry-accordion summary{gap:.6rem;padding:.85rem}.kmh-marketplace .kmh-enquiry-summary-meta{max-width:125px;gap:.3rem}.kmh-marketplace .kmh-enquiry-summary-meta time{font-size:.7rem;white-space:normal}.kmh-marketplace .kmh-enquiry-expanded{padding:1rem}}
