/* Public Services only: directory, detail and PeepSo Services segment. */
.mws-marketplace .mws-message-provider[hidden]{display:none!important}
.mws-marketplace .mws-message-provider{margin-top:12px}
.mws-marketplace .mws-message-provider button{width:100%}
.mws-marketplace .mws-message-provider button:hover{text-decoration:underline}
.mws-marketplace .mws-message-provider p{font-size:13px;color:var(--mws-ink);margin:8px 0}
.mws-marketplace .mws-message-provider button:disabled{cursor:wait}
.mws-marketplace{--mws-ink:#18212f;--mws-muted:#6b7280;--mws-line:#e1e6ed;max-width:1240px;margin:24px auto 64px;color:var(--mws-ink);line-height:1.6;min-width:0}
.mws-marketplace *,.mws-marketplace *:before,.mws-marketplace *:after{box-sizing:border-box}
.mws-marketplace :is(h1,h2,h3){color:var(--mws-ink);line-height:1.25;letter-spacing:-.02em}.mws-marketplace h2{font-size:25px}.mws-marketplace h3{font-size:21px}
.mws-marketplace .mws-directory-header{margin-bottom:28px}.mws-marketplace .mws-directory-header h2{font-size:clamp(30px,4vw,42px);margin:0 0 12px}.mws-marketplace .mws-directory-header p{color:var(--mws-muted);margin:0;max-width:720px;font-size:17px}
.mws-marketplace .mws-marketplace-search{container: mws-filters / inline-size;padding:22px;background:#fff;border:1px solid var(--mws-line);border-radius:18px;box-shadow:0 6px 24px rgba(15, 23, 42, 0.04)}
.mws-marketplace .mws-search-primary{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:end}
.mws-marketplace label{display:block;font-size:13px;font-weight:600;min-width:0}.mws-marketplace :is(input:not([type=hidden]),select,textarea){display:block;width:100%;max-width:100%;min-width:0;min-height:46px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:var(--mws-ink);font:inherit;font-size:16px;padding:11px 12px;line-height:1.4;margin-top:6px}
.mws-marketplace button,.mws-marketplace .mws-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:var(--mws-ink);font:inherit;font-size:14px;font-weight:600;line-height:1.45;cursor:pointer;text-decoration:none;white-space:normal}
.mws-marketplace .mws-search-primary button,.mws-marketplace .mws-inquiry-form button{background:var(--mws-accent);color:var(--mws-on-accent);border-color:var(--mws-accent)}

.mws-marketplace .mws-active-filters{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap;font-size:13px;margin:16px 0}.mws-marketplace .mws-filter-chip{background:var(--mws-accent-soft);border-radius:20px;padding:6px 12px;overflow-wrap:anywhere}.mws-marketplace .mws-active-filters a{padding:8px 0;text-decoration:underline}
.mws-marketplace .mws-results-count{font-size:14px;font-weight:600;margin:24px 0 16px}.mws-marketplace .mws-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0}
.mws-marketplace .mws-public-card{border:1px solid var(--mws-line);border-radius:18px;background:#fff;box-shadow:0 3px 14px rgba(15, 23, 42, 0.04);overflow:hidden}
.mws-marketplace .mws-card-image{display:block;aspect-ratio:4/3;overflow:hidden;background:#f5f7fa}.mws-marketplace .mws-card-image>img{display:block;width:100%;height:100%;object-fit:cover}.mws-marketplace .mws-card-image .mws-visual{width:100%;height:100%;aspect-ratio:4/3;border:0}
.mws-marketplace .mws-card-content{padding:20px;gap:10px;min-width:0}.mws-marketplace .mws-card-content :is(h3,p){margin:0}.mws-marketplace .mws-card-content h3 a{color:var(--mws-ink);text-decoration:none}.mws-marketplace .mws-card-content h3 a:hover{text-decoration:underline}
.mws-marketplace .mws-category{font-size:12px;font-weight:600;color:var(--mws-muted)}.mws-marketplace .mws-provider{font-size:14px}.mws-marketplace .mws-location{font-size:13px;color:var(--mws-muted)}
.mws-marketplace .mws-card-description{font-size:14px;color:var(--mws-muted);line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mws-marketplace .mws-type-chips{display:flex;gap:6px;flex-wrap:wrap;list-style:none;padding:0;margin:0;font-size:11px;line-height:1.4}.mws-marketplace .mws-type-chips li{padding:5px 9px;border-radius:20px;background:#f5f7fa;max-width:100%}
.mws-marketplace .mws-card-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;width:100%;margin-top:auto;padding-top:10px;border-top:1px solid #f5f7fa}.mws-marketplace .mws-price{font-size:14px}.mws-marketplace .mws-card-view{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:600;text-decoration:none}
.mws-marketplace .mws-pagination{justify-content:center;gap:8px;margin:36px 0}.mws-marketplace .mws-pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;border:1px solid var(--mws-line);border-radius:10px;text-decoration:none}.mws-marketplace .mws-pagination [aria-current]{background:var(--mws-accent-soft);border-color:var(--mws-accent)}
.mws-marketplace .mws-marketplace-empty{padding:64px 24px;text-align:center;background:#f5f7fa;border-radius:18px}.mws-marketplace .mws-marketplace-empty h3{margin:0 0 12px}.mws-marketplace .mws-marketplace-empty p{color:var(--mws-muted)}
.mws-marketplace .mws-breadcrumb{font-size:13px;color:var(--mws-muted);margin-bottom:24px}.mws-marketplace .mws-service-header h1{font-size:clamp(30px,4vw,44px);margin:10px 0 20px}.mws-marketplace .mws-service-header .mws-types{color:var(--mws-muted);font-size:13px}.mws-marketplace .mws-service-provider-row{display:flex;align-items:center;gap:16px 24px;flex-wrap:wrap}.mws-marketplace .mws-lead{max-width:780px;font-size:17px;color:var(--mws-muted);margin:20px 0 28px}
.mws-marketplace .mws-hero{display:grid;gap:10px;border-radius:20px;overflow:hidden;margin-bottom:40px;background:#f5f7fa}.mws-marketplace .mws-hero>.mws-image-frame{aspect-ratio:16/8;max-height:560px;border-radius:0}.mws-marketplace .mws-hero--mosaic{grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));height:clamp(320px,40vw,560px)}.mws-marketplace .mws-hero--mosaic>.mws-image-frame{grid-row:1/3;aspect-ratio:auto;height:100%}.mws-marketplace .mws-hero figure{margin:0;overflow:hidden;min-height:0}.mws-marketplace .mws-hero figure:last-child:nth-child(2){grid-row:1/3}.mws-marketplace .mws-hero figure img{width:100%;height:100%;object-fit:cover;display:block}.mws-marketplace .mws-visual--detail{margin:0;height:100%;max-height:none}
.mws-marketplace .mws-detail-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,1fr);gap:48px;align-items:start}.mws-marketplace .mws-detail-content{min-width:0}.mws-marketplace .mws-detail-content>section{margin:0 0 36px;padding-bottom:32px;border-bottom:1px solid var(--mws-line)}.mws-marketplace .mws-detail-content h2{margin:0 0 20px}.mws-marketplace .mws-description{font-size:16px;line-height:1.85}.mws-marketplace .mws-description img{max-width:100%;height:auto}.mws-marketplace .mws-description :is(table,pre){max-width:100%;overflow:auto;display:block}
.mws-marketplace .mws-included{list-style:none;padding:0;display:grid;gap:12px}.mws-marketplace .mws-included li{position:relative;padding-left:28px;margin:0}.mws-marketplace .mws-included li:before{content:'✓';position:absolute;left:0;color:#18212f;font-weight:700}
.mws-marketplace .mws-details{gap:16px 24px}.mws-marketplace .mws-details>div{border:0;padding:0}.mws-marketplace .mws-details dt{font-size:14px;color:var(--mws-muted);font-weight:400}.mws-marketplace .mws-details dd{font-size:15px;font-weight:500}
.mws-marketplace .mws-action-card{position:sticky;top:110px;border:1px solid var(--mws-line);border-radius:18px;background:#fff;padding:26px;box-shadow:0 8px 30px rgba(15, 23, 42, 0.05);min-width:0}.mws-marketplace .mws-action-card:has(details[open]){position:static}.mws-marketplace .mws-action-card h2{font-size:14px;color:var(--mws-muted);letter-spacing:0;font-weight:500;margin:0 0 8px}.mws-marketplace .mws-action-price{font-size:26px;font-weight:700;line-height:1.3;margin:0 0 20px}.mws-marketplace .mws-action-area{font-size:14px;margin:0 0 24px}.mws-marketplace .mws-action-area>span{display:block;color:var(--mws-muted);font-size:12px;margin-bottom:4px}
.mws-marketplace .mws-inquiry-form{border:0;padding:0;margin:12px 0}.mws-marketplace .mws-inquiry-form summary{border:1px solid var(--mws-accent-border);border-radius:10px;padding:12px 14px;min-height:46px;text-align:center;font-size:14px;color:var(--mws-accent-ink);background:var(--mws-accent-soft)}.mws-marketplace .mws-inquiry-form form{margin:16px 0 24px;padding-top:8px}.mws-marketplace .mws-inquiry-form form p{font-size:12px;color:var(--mws-muted)}.mws-marketplace .mws-inquiry-form label{font-size:13px;margin-top:16px}
.mws-marketplace .mws-internal-actions>.mws-inquiry-form:last-child summary{background:var(--mws-accent);color:var(--mws-on-accent);border-color:var(--mws-accent)}.mws-marketplace .mws-external-actions{display:flex;flex-direction:column;gap:10px;margin-top:12px}.mws-marketplace .mws-external-actions .mws-button{width:100%;font-size:13px}.mws-marketplace .mws-inquiry-form button{width:100%}
.mws-marketplace .mws-more{margin:44px 0}.mws-marketplace .mws-more>h2{margin-bottom:24px}.mws-marketplace .mws-consultation{background:var(--mws-accent-soft);border:1px solid var(--mws-accent-border);border-radius:18px;padding:32px;max-width:100%;margin-top:40px}.mws-marketplace .mws-consultation>p{color:var(--mws-muted);max-width:680px}.mws-marketplace .mws-consultation>.mws-inquiry-form{max-width:680px}
.mws-marketplace--profile{container: mws-profile / inline-size;padding:24px 16px;margin:0}.mws-marketplace--profile .mws-profile-services-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--mws-line)}.mws-marketplace--profile .mws-profile-services-header h2{margin:0}.mws-marketplace.mws-marketplace--profile .mws-grid{grid-template-columns:minmax(0,1fr);gap:20px}
.mws-marketplace :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--mws-focus);outline-offset:4px}.mws-marketplace .mws-card-image:focus-visible{outline-offset:-5px}
@supports not selector(:has(*)){.mws-marketplace .mws-action-card{position:static}}
@media(max-width:1000px){.mws-marketplace .mws-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mws-marketplace .mws-detail-layout{gap:28px;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}.mws-marketplace .mws-action-card{padding:20px}}
@media(max-width:800px){.mws-marketplace .mws-detail-layout{display:flex;flex-direction:column;gap:28px}.mws-marketplace .mws-action-card{position:static;width:100%}.mws-marketplace .mws-detail-content{width:100%}.mws-marketplace .mws-hero--mosaic{height:360px}}
@media(max-width:600px){.mws-marketplace{margin:16px auto 40px}.mws-marketplace .mws-grid,.mws-marketplace .mws-details{grid-template-columns:minmax(0,1fr)}.mws-marketplace .mws-marketplace-search{padding:18px}.mws-marketplace .mws-search-primary button{width:100%}.mws-marketplace .mws-card-content{padding:20px}.mws-marketplace .mws-hero--mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;height:auto}.mws-marketplace .mws-hero--mosaic>.mws-image-frame{grid-column:1/-1;grid-row:auto;aspect-ratio:4/3}.mws-marketplace .mws-hero figure{aspect-ratio:4/3}.mws-marketplace .mws-hero figure:last-child:nth-child(2){grid-row:auto;grid-column:1/-1;aspect-ratio:16/8}.mws-marketplace .mws-hero>.mws-image-frame{aspect-ratio:4/3}.mws-marketplace .mws-service-header h1{font-size:30px}.mws-marketplace .mws-consultation{padding:22px}.mws-marketplace .mws-public-gallery{grid-template-columns:minmax(0,1fr)}.mws-marketplace--profile{padding:20px 12px}.mws-marketplace .mws-card-footer{gap:6px}}

@media(max-height:760px){.mws-marketplace .mws-action-card{position:static}}

/* Phase D: layout follows the actual Services container, not the viewport. */
.mws-marketplace .mws-profile-count{margin:6px 0 0;color:var(--mws-muted);font-size:13px}
.mws-marketplace .mws-profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.mws-marketplace .mws-profile-primary{background:var(--mws-accent);border-color:var(--mws-accent);color:var(--mws-on-accent)}
.mws-marketplace .mws-marketplace-search .mws-active-filters{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--mws-line)}
@container mws-profile (min-width:560px){.mws-marketplace.mws-marketplace--profile .mws-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container mws-profile (min-width:900px){.mws-marketplace.mws-marketplace--profile .mws-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container mws-profile (max-width:559px){.mws-marketplace .mws-profile-actions{width:100%}.mws-marketplace .mws-profile-actions .mws-button{flex:1 1 140px}}
@container mws-filters (min-width:560px){.mws-marketplace .mws-search-primary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container mws-filters (min-width:850px){.mws-marketplace .mws-search-primary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container mws-filters (min-width:1120px){.mws-marketplace .mws-search-primary{grid-template-columns:minmax(190px,1.4fr) repeat(4,minmax(125px,1fr)) auto;gap:12px}}
