.market-cta{margin-top:1.25rem;padding:1rem;border:1px solid var(--border);border-radius:14px;background:var(--panel)}
.notification-action{color:var(--brand);text-decoration:underline;font-weight:750!important}.list-row{scroll-margin-top:160px}.navigation-target{outline:3px solid var(--brand);outline-offset:5px;border-radius:8px}#market-role-nav{scroll-margin-top:100px}
.button-link{display:inline-block;padding:.7rem 1rem;border-radius:10px;background:var(--accent);color:#fff;text-decoration:none;font-weight:700}
.admin-market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
#market-status:not(:empty){position:fixed;z-index:95;right:1rem;left:auto;bottom:1rem;width:min(430px,calc(100vw - 2rem));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.8rem .85rem;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 12px 34px #0003}
#market-status.status-error{border-color:#e0a5a5;background:#fff7f7}
#market-status.status-success{border-color:#b8d8c0;background:#f7fff9}
#market-status .market-status-close{min-width:34px;width:34px;height:34px;min-height:34px;padding:0;border-radius:999px;background:transparent;color:var(--ink);border:1px solid var(--line);font-size:1rem;line-height:1}
#market-status .market-status-close:hover,#market-status .market-status-close:focus-visible{background:var(--brand-soft)}
[hidden]{display:none!important}
.market-location-card{margin-top:.75rem}.location-state{font-weight:800;margin:.5rem 0}.service-map{width:100%;height:260px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.location-map-actions,.location-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin-top:.65rem}.location-map-actions .button-link{min-height:44px}.market-location-card .point-meta{margin:.45rem 0}
.service-lifecycle,.service-review{display:grid;gap:.65rem;margin-top:.75rem}.service-lifecycle label,.service-review label{display:grid;gap:.3rem;min-width:0}.service-lifecycle input[type=file]{display:block;width:100%;max-width:100%;min-width:0;overflow:hidden}.service-event{border-top:1px solid var(--line);padding:.75rem 0;display:grid;gap:.4rem}.service-event strong,.service-event p,.service-event span{display:block;margin:0}.service-history{margin-top:.75rem}.service-review textarea{min-height:5rem}.review-checks{display:grid;gap:.45rem}.review-checks label{grid-template-columns:auto 1fr;align-items:center}.reputation-chip{display:inline-block;background:#eef2f7;color:#0f2d5b;border:1px solid #cbd5e1;border-radius:999px;padding:.35rem .65rem;font-weight:700}
.provider-rating{font-weight:800;color:#0f2d5b}
@media(max-width:900px){.admin-market-grid{grid-template-columns:1fr}}
@media(max-width:760px){.service-map{height:220px}.location-actions button,.location-map-actions .button-link{width:100%;text-align:center}}

/* v0.18 visual foundation */
:root{--brand:#0f2d5b;--brand-strong:#0f2d5b;--brand-light:#0f2d5b;--brand-soft:#eef2f7;--accent:#0f2d5b;--ink:#0f2d5b;--muted:#64748b;--line:#e2e8f0;--soft:#eef2f7}
body{background:#f3f6fa;color:var(--ink)}
.topbar{border-bottom-color:var(--line);box-shadow:0 2px 14px #0f2d5b0d}.brand{display:flex;align-items:center;gap:.7rem;color:var(--brand);text-decoration:none}.brand img{width:60px;height:60px;filter:brightness(.72)}.brand>span{display:grid;line-height:1}.brand strong{font-size:1.12rem;letter-spacing:-.03em}.brand strong span{color:inherit}.brand small{font-size:.72rem;color:var(--muted);margin-top:.18rem}.brand .pill{display:inline-flex;margin-left:.2rem}
.workspace-head{padding:1.5rem 0 .5rem}.workspace-head h1{max-width:780px}.eyebrow{color:var(--accent)}.panel{box-shadow:0 8px 24px #0f2d5b0a;border-color:var(--line)}button,.button-link{background:var(--brand)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #cd944b;outline-offset:2px}
.role-nav{position:sticky;top:72px;z-index:8;display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1rem 0;padding:.5rem;border:1px solid var(--line);border-radius:16px;background:#fffffff2;box-shadow:0 8px 24px #0b234718;backdrop-filter:blur(12px)}.role-nav button{display:grid;gap:.1rem;background:transparent;color:var(--muted);border:1px solid transparent}.role-nav button.active{background:var(--brand);color:#fff;box-shadow:0 5px 16px #0b234730}.role-nav small{font-weight:600;opacity:.8}.role-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem;align-items:start}.role-panel .dashboard-card:first-child{grid-row:span 2}.dashboard-card{margin:0}.dashboard-card h2{margin:.2rem 0 1rem}
@media(max-width:760px){.topbar>a:last-child{font-size:.82rem}.brand img{width:48px;height:48px}.brand strong{font-size:1rem}.brand .pill{font-size:.68rem}.role-nav{top:70px;margin:.65rem 0}.role-panel{grid-template-columns:1fr}.role-panel .dashboard-card:first-child{grid-row:auto}.dashboard-card{margin:0}.helmet-rating [role=radiogroup]{max-width:none}.workspace-head{padding:.75rem .15rem .25rem}}
@media(max-width:380px){.topbar{gap:.35rem}.topbar>a:last-child{max-width:92px;text-align:right}.brand{gap:.35rem}.brand img{width:34px}.rating-step{min-height:42px;padding:.25rem}}
/* v0.19 notifications foundation */
.market-topbar-actions{display:flex;align-items:center;gap:.65rem}.market-topbar-actions>a{color:var(--brand);font-weight:750;text-decoration:none}.notification-toggle{position:relative;display:flex;align-items:center;gap:.45rem;min-height:44px;padding:.55rem .75rem;background:transparent;color:var(--brand);border:1px solid var(--line)}.notification-toggle:hover{background:var(--brand-soft)}.notification-toggle svg{width:22px;height:22px;fill:currentColor}.notification-badge{display:grid;place-items:center;min-width:22px;height:22px;padding:0 .35rem;border-radius:999px;background:var(--brand);color:#fff;font-size:.72rem}.notification-panel{scroll-margin-top:90px}.notification-panel h2{margin:.15rem 0}.notification-list{display:grid;gap:.45rem;margin-top:1rem}.notification-item{width:100%;display:grid;grid-template-columns:10px 1fr;gap:.65rem;text-align:left;align-items:start;background:#fff;color:var(--ink);border:1px solid var(--line);padding:.8rem}.notification-item:hover{background:var(--brand-soft)}.notification-item.unread{border-color:#cbd5e1;background:#fffaf0}.notification-item>span:last-child{display:grid;gap:.2rem}.notification-item small{color:var(--muted);font-weight:600}.notification-item span span{font-weight:500}.notification-dot{width:8px;height:8px;margin-top:.35rem;border-radius:999px;background:transparent}.notification-item.unread .notification-dot{background:var(--brand)}
@media(max-width:760px){.market-topbar-actions{gap:.3rem}.notification-toggle{padding:.5rem}.notification-toggle>span{display:none}.market-topbar-actions>a{font-size:.78rem}.notification-panel .section-head{display:grid}.notification-panel .section-head button{width:100%}}

.market-account-primary{display:inline-flex;align-items:center;min-height:44px;padding:.55rem .8rem;border-radius:10px;background:var(--brand);color:#fff!important}.market-logout{min-height:44px}.market-auth-shell{width:min(960px,94vw);display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:2rem;align-items:start;margin-top:6vh}.market-auth-intro h1{font-size:clamp(2.1rem,5vw,3.8rem);line-height:1.02;margin:.25rem 0 1rem}.market-auth-benefits{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem}.market-auth-benefits span{padding:.45rem .7rem;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-weight:750;font-size:.85rem}.market-auth-card{margin:0}.auth-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;margin-bottom:1.1rem}.auth-mode-tabs button.active{background:var(--brand);color:#fff}.market-auth-policy{font-size:.82rem}.market-auth-consent{display:flex!important;align-items:flex-start;gap:.55rem;font-size:.9rem;line-height:1.4}.market-auth-consent input{width:auto!important;margin-top:.2rem;flex:0 0 auto}.market-auth-consent a{color:var(--brand);font-weight:800}.market-qr{display:grid;justify-items:start;gap:.35rem;margin:.75rem 0 1rem}.market-qr img{width:min(230px,100%);background:#fff;border:1px solid var(--line);border-radius:12px}.market-qr code{max-width:100%;overflow-wrap:anywhere}.market-auth-shell #market-auth-status:not(:empty){position:fixed;z-index:60;left:5%;bottom:1rem;width:90%;box-shadow:0 8px 28px #0004}.market-auth-shell pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:1rem;border-radius:12px;background:var(--soft)}
@media(max-width:760px){.market-auth-shell{grid-template-columns:1fr;gap:.75rem;margin-top:1rem}.market-auth-intro h1{font-size:2.25rem}.market-topbar-actions #market-register-link{display:none}.market-account-primary{padding:.5rem .65rem}.auth-mode-tabs{position:sticky;top:74px;z-index:3;background:#fff;padding:.35rem 0}}

/* v0.19.3 graphical Market wall */
.market-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:1rem;align-items:stretch;margin:1.2rem 0 1rem}.market-hero-copy,.market-hero-note{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 28px #0f2d5b0c}.market-hero-copy{padding:clamp(1.25rem,3vw,2.25rem)}.market-hero-copy h1{font-size:clamp(2rem,4.7vw,3.75rem);line-height:1.02;letter-spacing:-.045em;max-width:930px;margin:.25rem 0 1rem}.market-hero-copy>p:not(.eyebrow){font-size:1.06rem;max-width:760px}.market-hero-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.4rem}.market-hero-actions button{min-height:52px;padding:.8rem 1.1rem;font-size:1rem}.market-hero-actions .secondary{background:#fff;color:var(--brand);border:1px solid var(--brand)}.market-hero-note{display:grid;align-content:end;gap:.4rem;padding:1.4rem;background:linear-gradient(145deg,var(--brand-soft),#fff)}.market-hero-note strong{font-size:1.35rem;color:var(--brand)}.market-hero-note span{color:var(--muted)}
.market-listing-create{scroll-margin-top:95px}.listing-photo-input input{padding:.75rem;background:var(--soft);border-radius:10px}.market-wall-section{margin:1rem 0 1.3rem}.market-wall-head{display:flex;justify-content:space-between;gap:1rem;align-items:end;margin-bottom:.7rem}.market-wall-head h2{margin:.15rem 0}.wall-kind-filters{display:flex;gap:.4rem;flex-wrap:wrap}.wall-kind-filters button{background:#fff;color:var(--brand);border:1px solid var(--line);min-height:42px}.wall-kind-filters button.active{background:var(--brand);color:#fff;border-color:var(--brand)}.market-wall-search{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(180px,1fr) minmax(140px,.55fr);gap:.55rem;margin-bottom:.85rem}.market-wall-search input[name="q"]{grid-column:1/-1}.market-wall-search button{min-width:140px}.market-results-head{display:flex;align-items:end;justify-content:space-between;gap:.8rem;margin:.95rem 0 .65rem}.market-results-head .eyebrow{margin-bottom:.1rem}.market-wall-search input,.market-wall-search button{min-height:46px}.market-wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}.market-listing-card{overflow:hidden;display:grid;grid-template-rows:auto 1fr;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 7px 22px #0f2d5b0d;min-width:0}.market-listing-media{position:relative;aspect-ratio:4/3;background:linear-gradient(145deg,#eef2f7,#f8fafc);overflow:hidden}.market-listing-media img{width:100%;height:100%;object-fit:cover;display:block}.market-listing-placeholder{height:100%;display:grid;place-items:center;padding:1rem;text-align:center;color:var(--brand);font-weight:850;font-size:1.05rem}.market-listing-type{position:absolute;left:.65rem;top:.65rem;padding:.35rem .6rem;border-radius:999px;background:#fffefcdd;color:var(--ink);font-weight:850;font-size:.75rem;box-shadow:0 3px 12px #0002}.market-listing-type.offer{background:#eef2f7ed;color:var(--brand)}.market-listing-content{display:grid;align-content:start;gap:.5rem;padding:.85rem}.market-listing-content h3{font-size:1.05rem;line-height:1.2;margin:0}.market-listing-content p{margin:0}.market-listing-meta{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.78rem;color:var(--muted)}.market-listing-price{font-size:1.05rem;color:var(--brand);font-weight:850}.market-listing-tags{display:flex;flex-wrap:wrap;gap:.3rem}.market-listing-tags span{padding:.25rem .45rem;border-radius:999px;background:var(--soft);font-size:.72rem;font-weight:700;color:#64748b}.market-listing-footer{display:flex;justify-content:space-between;gap:.55rem;align-items:center;margin-top:.2rem}.market-listing-footer small{color:var(--muted)}.market-listing-footer-actions{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}.market-listing-footer button{min-height:42px;padding:.55rem .7rem}.market-ad-slot{display:grid;justify-items:center;gap:.15rem;margin:.85rem 0;padding:.8rem;border:1px dashed #cbd5e1;border-radius:14px;color:var(--muted);background:#f8fafc;text-align:center}.market-ad-slot span{font-weight:750}.market-ad-slot small{font-size:.75rem}.provider-directory{margin-top:1rem}.admin-tag-row{display:grid;gap:.5rem;padding:.75rem 0;border-bottom:1px solid var(--line)}.admin-tag-actions{display:flex;gap:.4rem;flex-wrap:wrap}.admin-tag-actions button{min-height:40px}
@media(max-width:980px){.market-wall{grid-template-columns:repeat(2,minmax(0,1fr))}.market-hero{grid-template-columns:1fr}.market-hero-note{min-height:140px}}
@media(max-width:650px){.market-hero{margin:.65rem 0}.market-hero-copy{padding:1rem}.market-hero-copy h1{font-size:2.15rem}.market-hero-actions{display:grid;grid-template-columns:1fr 1fr}.market-hero-actions button{width:100%;padding:.7rem .45rem}.market-wall-head{display:grid;align-items:start}.wall-kind-filters{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.market-wall-search{grid-template-columns:1fr}.market-wall-search input[name="q"]{grid-column:auto}.market-wall-search button{width:100%}.market-results-head{display:grid;align-items:start}.market-wall{grid-template-columns:1fr}.market-listing-media{aspect-ratio:16/10}.market-listing-content{padding:.8rem}.market-listing-footer{align-items:end}}

/* v0.19.4 mobile provider publishing and reputation UX */
.provider-listing-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center;margin:1rem 0;padding:1rem;border:1px solid #cbd5e1;border-radius:14px;background:var(--brand-soft)}
.provider-listing-cta div{display:grid;gap:.2rem}.provider-listing-cta strong{color:var(--brand);font-size:1.05rem}.provider-listing-cta span{color:var(--muted);font-weight:600}.provider-listing-cta button{white-space:nowrap}
.provider-trades{margin:0;padding:1rem;border:1px solid var(--line);border-radius:14px}.provider-trades legend{padding:0 .35rem;font-weight:800}.provider-trades-help{margin:.1rem 0 .75rem}.provider-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.provider-category-option{display:flex;align-items:center;gap:.65rem;min-height:48px;padding:.6rem .7rem;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.provider-category-option:hover{background:var(--brand-soft)}.provider-category-option input[type=checkbox],.provider-publish-toggle input[type=checkbox]{appearance:auto;width:1.2rem;height:1.2rem;min-width:1.2rem;min-height:1.2rem;margin:0;padding:0;flex:0 0 1.2rem;accent-color:var(--brand)}.provider-category-option span{line-height:1.25}.provider-publish-toggle{display:flex;align-items:center;gap:.65rem;min-height:48px;padding:.65rem .75rem;border:1px solid var(--line);border-radius:10px;background:#fff}.provider-publish-toggle span{line-height:1.25}.provider-custom-service{display:grid;gap:.45rem;margin-top:.9rem;padding-top:.9rem;border-top:1px solid var(--line)}.provider-custom-service>label{display:block}.provider-custom-service>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem}.provider-custom-service small{color:var(--muted)}
@media(max-width:760px){.role-nav{position:static;top:auto;z-index:auto}.provider-listing-cta{grid-template-columns:1fr}.provider-listing-cta button{width:100%;white-space:normal}.provider-category-grid{grid-template-columns:1fr}.provider-custom-service>div{grid-template-columns:1fr}.provider-custom-service button{width:100%}.provider-category-option{min-height:52px}.provider-publish-toggle{min-height:52px}}

/* v0.19.4 actionable listing detail and interest bridge */
.market-listing-card{cursor:pointer}.market-listing-card:hover{box-shadow:0 10px 30px #0f2d5b18;border-color:#cbd5e1}.market-listing-card:focus-visible{outline:3px solid #cd944b;outline-offset:3px}.market-listing-footer button{position:relative;z-index:1}.market-listing-detail{scroll-margin-top:90px}.listing-detail-card{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:1.2rem;align-items:start}.listing-detail-media{position:relative;min-height:260px;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:linear-gradient(145deg,#eef2f7,#f8fafc)}.listing-detail-media img{width:100%;height:100%;object-fit:cover;display:block}.listing-detail-copy{display:grid;gap:.75rem;align-content:start}.listing-detail-copy h3{font-size:clamp(1.45rem,3vw,2.2rem);line-height:1.1;margin:0}.listing-detail-copy>p{margin:0;line-height:1.5}.listing-detail-author{color:var(--muted)}.listing-detail-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.35rem}.listing-detail-actions button{min-height:48px;padding:.75rem 1rem}.listing-owner-note{display:inline-flex;align-items:center;min-height:44px;padding:.6rem .8rem;border-radius:10px;background:var(--brand-soft);color:var(--brand);font-weight:800}.listing-interest-list{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}.listing-interest-list h3{margin:.1rem 0 .8rem}.listing-interest-row{display:flex;justify-content:space-between;gap:.8rem;align-items:center;padding:.7rem 0;border-bottom:1px solid var(--line)}.listing-interest-row>div{display:grid;gap:.15rem}.listing-interest-row small{color:var(--muted)}.listing-interest-row .pill{white-space:nowrap}.listing-interest-row button{min-height:42px}.market-listing-detail .market-listing-placeholder{min-height:260px}
@media(max-width:760px){.listing-detail-card{grid-template-columns:1fr}.listing-detail-media{min-height:220px;aspect-ratio:16/10}.listing-detail-actions{display:grid}.listing-detail-actions button{width:100%}.listing-interest-row{align-items:stretch;flex-direction:column}.listing-interest-row button{width:100%}}

/* v0.19.5 calmer browsing CTA, clearer helmet language and approximate-zone preview */
.market-listing-footer [data-view-listing]{background:#eef2f7;color:var(--ink);border:1px solid #e2e8f0;font-weight:800}
.market-listing-footer [data-view-listing]:hover{background:var(--brand-soft);color:var(--brand)}
.listing-area-preview{display:grid;grid-template-columns:minmax(135px,.75fr) minmax(0,1.25fr);gap:.8rem;align-items:stretch;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#ffffff}
.listing-area-sketch{position:relative;min-height:135px;background:linear-gradient(145deg,#eef2f7,#f8fafc);overflow:hidden}
.listing-area-sketch::before,.listing-area-sketch::after{content:"";position:absolute;border-radius:999px;background:#fff;border:1px solid #e2e8f0}
.listing-area-sketch::before{width:170%;height:18px;left:-35%;top:46%;transform:rotate(-17deg)}
.listing-area-sketch::after{width:150%;height:14px;left:-24%;top:30%;transform:rotate(26deg)}
.map-road{position:absolute;background:#fff;border:1px solid #e2e8f0;border-radius:999px;z-index:1}.road-a{width:120%;height:10px;left:-10%;top:68%;transform:rotate(8deg)}.road-b{width:100%;height:8px;left:12%;top:18%;transform:rotate(-30deg)}.road-c{width:80%;height:8px;left:30%;top:54%;transform:rotate(48deg)}
.map-pin{position:absolute;z-index:3;width:30px;height:30px;border-radius:50% 50% 50% 0;background:var(--brand);left:50%;top:46%;transform:translate(-50%,-50%) rotate(-45deg);box-shadow:0 4px 12px #0002}.map-pin::after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:#fff;left:10px;top:10px}
.listing-area-copy{display:grid;align-content:center;gap:.35rem;padding:.75rem}.listing-area-copy strong{font-size:1rem}.listing-area-copy small{color:var(--muted);line-height:1.35}.listing-area-copy button,.listing-area-copy .button-link{justify-self:start;margin-top:.2rem}.listing-area-map{width:100%;min-height:170px;border:0;background:var(--soft)}
@media(max-width:560px){.listing-area-preview{grid-template-columns:1fr}.listing-area-sketch{min-height:115px}.listing-area-map{min-height:200px}.helmet-rating [role=radiogroup]{grid-template-columns:repeat(5,minmax(44px,1fr));width:100%;max-width:none}.rating-step{min-width:44px}.rating-step .close2we-helmet-mark{width:34px;height:26px}.helmet-unit{width:20px;height:16px;flex-basis:20px}.helmet-fill .close2we-helmet-mark{width:20px;height:16px}}

/* v0.19.7 listing-interest conversation recovery + privacy bridge */
.listing-interest-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.listing-chat-panel{scroll-margin-top:90px}.listing-chat-messages{display:grid;gap:.65rem;max-height:420px;overflow:auto;padding:.8rem;border:1px solid var(--line);border-radius:14px;background:#f8fafc}.listing-chat-message{max-width:min(84%,680px);padding:.7rem .8rem;border-radius:14px;background:white;border:1px solid var(--line);box-shadow:0 2px 8px #0f2d5b0d}.listing-chat-message.mine{justify-self:end;background:var(--brand-soft);border-color:#cbd5e1}.listing-chat-message.other{justify-self:start}.listing-chat-message strong,.listing-chat-message small{display:block}.listing-chat-message p{margin:.25rem 0;white-space:pre-wrap;overflow-wrap:anywhere}.listing-chat-message small{color:var(--muted)}.listing-chat-form{display:grid;grid-template-columns:1fr auto;gap:.7rem;align-items:end;margin-top:.8rem}.listing-chat-form label{display:grid;gap:.35rem}.listing-chat-form textarea{resize:vertical}.listing-chat-form button{min-height:48px}.listing-conversation-note{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.listing-conversation-note .pill{background:var(--brand-soft);color:var(--brand)}
@media(max-width:760px){.listing-interest-actions{display:grid;width:100%}.listing-interest-actions button{width:100%}.listing-chat-form{grid-template-columns:1fr}.listing-chat-messages{max-height:52vh}.listing-chat-message{max-width:92%}}

/* v0.19.7: an interested person must never be a dead-end row. */
.listing-interest-actions button[data-interest-chat]{background:var(--brand);color:#fff}.listing-interest-row .pill{justify-self:start}.listing-interest-row[data-interest-row]{border-radius:12px;padding:.85rem}.listing-interest-row[data-interest-row]:focus-within{outline:3px solid #cd944b55;outline-offset:2px}

/* v0.19.8: task-based Market navigation, listing ownership and governance */
.market-main-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.45rem;margin:1rem 0;padding:.45rem;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 24px #0f2d5b0d;position:sticky;top:76px;z-index:9}

.market-main-nav.staff-enabled{grid-template-columns:repeat(6,minmax(0,1fr))}
.staff-role-inline,.staff-role-badge{display:inline-flex;align-items:center;width:max-content;padding:.22rem .48rem;border-radius:999px;background:var(--brand);color:#fff;font-size:.72rem;font-weight:850;letter-spacing:.02em}.staff-role-inline{margin-left:.35rem;vertical-align:middle}.admin-panel-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.admin-panel-head h2{margin:.15rem 0}.market-admin-panel{scroll-margin-top:150px}
.market-main-nav button{min-height:54px;display:grid;place-content:center;gap:.12rem;background:transparent;color:var(--muted);border:1px solid transparent;padding:.5rem .65rem}
.market-main-nav button span{font-weight:850}.market-main-nav button small{font-size:.72rem;font-weight:650;line-height:1.15}.market-main-nav button.active{background:var(--brand);color:#fff;box-shadow:0 4px 14px #0b234724}
.publish-hub{scroll-margin-top:150px}.publish-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:1rem}.publish-choice-grid button{min-height:120px;display:grid;text-align:left;align-content:center;gap:.35rem;padding:1rem}.publish-choice-grid button strong{font-size:1.08rem}.publish-choice-grid button span{font-weight:600;line-height:1.4;opacity:.88}.publish-choice-grid .secondary{background:#fff;color:var(--brand);border:1px solid var(--brand)}
.handle-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.handle-input>span{padding:0 .1rem 0 .8rem;color:var(--muted);font-weight:800}.handle-input input{border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0}.handle-input:focus-within{outline:3px solid #cd944b;outline-offset:2px}.handle-input:focus-within input{outline:0}
.listing-manage-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.7rem}.listing-manage-actions button{min-height:42px}.danger{color:#8c2323!important;border-color:#d9aaaa!important}.danger:not(.ghost){background:#8c2323!important;color:#fff!important}.moderation-note{padding:.65rem .75rem;border-radius:10px;background:#fff4e5;border:1px solid #efd39a;color:#704800}.my-listing-row,.conversation-row,.admin-account-row,.admin-listing-row{align-items:flex-start}
.admin-wide{grid-column:1/-1}.admin-inline-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem;margin:.7rem 0}.admin-inline-search.with-status{grid-template-columns:minmax(0,1fr) minmax(150px,.4fr) auto}.admin-account-title{display:flex;gap:.5rem;flex-wrap:wrap;align-items:baseline}.admin-account-title span{color:var(--brand);font-weight:750}.admin-account-controls{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin-top:.6rem}.admin-account-controls select{width:auto;min-width:150px}.admin-listing-row p{margin:.45rem 0}.conversation-row button{margin-top:.35rem}
#account-profile-form{margin-bottom:1rem}.account-identity-card{margin-bottom:1rem}
.account-notification-card,.account-danger-card{margin-top:1rem}.account-preference-toggle{display:flex;align-items:flex-start;gap:.75rem;padding:.85rem;border:1px solid var(--line);border-radius:14px;background:#fff}.account-preference-toggle input{width:1.15rem;height:1.15rem;margin-top:.15rem;flex:0 0 auto}.account-preference-toggle span{display:grid;gap:.25rem}.account-preference-toggle strong{color:var(--brand)}.account-preference-toggle small{color:var(--muted);font-weight:600;line-height:1.4}.account-danger-card{border-color:#e2b8b8;background:#fffafa}.account-danger-card h2{color:#7b2323}.account-danger-card form{max-width:620px}.account-danger-card label strong{color:#7b2323}
@media(max-width:760px){
  body{padding-bottom:86px}.shell{padding-bottom:1rem}
  .market-main-nav{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:80;margin:0;padding:.35rem max(.35rem,env(safe-area-inset-right)) calc(.35rem + env(safe-area-inset-bottom)) max(.35rem,env(safe-area-inset-left));grid-template-columns:repeat(5,1fr);gap:.2rem;border-radius:0;border-width:1px 0 0;background:#fffffff4;box-shadow:0 -8px 24px #0f2d5b1a;backdrop-filter:blur(14px)}
  .market-main-nav.staff-enabled{grid-template-columns:repeat(6,1fr)}
  .market-main-nav button{min-height:58px;padding:.3rem .08rem;border-radius:10px}.market-main-nav button span{font-size:.76rem}.market-main-nav.staff-enabled button span{font-size:.7rem}.market-main-nav button small{display:none}
  #market-status:not(:empty){right:.65rem;bottom:82px;width:calc(100vw - 1.3rem)}
  .market-auth-shell #market-auth-status:not(:empty){bottom:82px}
  .publish-choice-grid{grid-template-columns:1fr}.publish-choice-grid button{min-height:105px}
  .listing-manage-actions{display:grid;grid-template-columns:1fr;width:100%}.listing-manage-actions button{width:100%}
  .admin-inline-search,.admin-inline-search.with-status{grid-template-columns:1fr}.admin-inline-search button{width:100%}.admin-account-controls{display:grid;grid-template-columns:1fr;width:100%}.admin-account-controls select,.admin-account-controls button{width:100%}
}
/* v0.19.8 safety governance: report, block and exceptional-access UX */
.listing-safety-actions,.chat-safety-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.4rem}.listing-safety-actions{padding-top:.7rem;border-top:1px solid var(--line)}.chat-safety-actions{margin:.4rem 0 .7rem}.link-button{margin-top:.35rem;padding:0;background:transparent!important;color:var(--muted)!important;border:0!important;min-height:auto!important;text-decoration:underline;font-size:.78rem}.link-button:hover{color:#8c2323!important}.admin-report-row blockquote{margin:.65rem 0;padding:.65rem .8rem;border-left:4px solid var(--line);background:var(--soft);white-space:pre-wrap;overflow-wrap:anywhere}.account-safety-card{margin-top:1rem}#admin-breakglass-review{margin-top:.8rem}#admin-breakglass-review .listing-chat-messages{margin-top:.7rem;max-height:360px}
@media(max-width:760px){.listing-safety-actions,.chat-safety-actions{display:grid}.listing-safety-actions button,.chat-safety-actions button{width:100%}}

/* v0.19.11 role-aware admin subnavigation and compact rating control */
.admin-section-nav{position:sticky;top:142px;z-index:12;display:flex;gap:.45rem;overflow-x:auto;padding:.55rem;margin:.85rem 0 1rem;background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 24px rgba(17,51,31,.08);scrollbar-width:thin;scroll-snap-type:x proximity;scroll-padding-inline:.55rem;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.admin-section-nav button{flex:0 0 auto;min-height:42px;padding:.55rem .8rem;background:#fff;color:var(--text);border:1px solid var(--line);border-radius:10px;scroll-snap-align:start}.admin-section-nav button.active{background:var(--brand);border-color:var(--brand);color:#fff}.admin-section-stack{display:block}.admin-section-panel{min-width:0}.admin-section-panel[hidden]{display:none!important}.admin-section-panel .notice{margin:.65rem 0}
@media(max-width:760px){.admin-section-nav{top:126px;margin-left:-.25rem;margin-right:-.25rem;border-radius:12px}.admin-section-nav button{min-height:44px}.admin-section-panel .admin-inline-search{grid-template-columns:1fr}.admin-section-panel .admin-inline-search select,.admin-section-panel .admin-inline-search button{width:100%}}

/* v0.19.12 brand activation, owner listing media and public preview */
.market-brand-manifesto{font-size:clamp(1.15rem,2.2vw,1.6rem)!important;line-height:1.2;color:var(--muted);margin:.2rem 0 1rem!important}.market-brand-manifesto strong{color:var(--brand)}.market-hero-mark{display:grid;place-items:center;width:88px;height:88px;border-radius:24px;background:#fff;box-shadow:0 10px 26px #0b23471a;margin-bottom:auto}.market-hero-mark img{width:72px;height:72px;object-fit:contain;filter:brightness(.72)}
.my-listing-row{display:grid;grid-template-columns:160px minmax(0,1fr);gap:1rem}.my-listing-photo{position:relative;min-height:125px;border-radius:14px;overflow:hidden;background:var(--soft)}.my-listing-photo img{width:100%;height:100%;min-height:125px;object-fit:cover;display:block}.my-listing-photo>span{position:absolute;left:.5rem;bottom:.5rem;padding:.25rem .45rem;border-radius:999px;background:#ffffffe8;color:var(--ink);font-size:.72rem;font-weight:800}.my-listing-photo.empty{display:grid;place-items:center;color:var(--muted)}.my-listing-photo.empty>span{position:static;background:transparent}
.listing-existing-photos{display:grid;grid-template-columns:120px minmax(0,1fr);gap:.8rem;align-items:center;padding:.7rem;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.listing-existing-photos img{width:120px;height:90px;object-fit:cover;border-radius:9px}.listing-existing-photos div{display:grid;gap:.25rem}.listing-existing-photos span{color:var(--muted);font-size:.85rem}
@media(max-width:650px){.market-brand-manifesto{font-size:1.08rem!important}.market-hero-mark{width:70px;height:70px}.market-hero-mark img{width:58px;height:58px}.my-listing-row{grid-template-columns:1fr}.my-listing-photo{min-height:180px}.my-listing-photo img{min-height:180px}.listing-existing-photos{grid-template-columns:88px minmax(0,1fr)}.listing-existing-photos img{width:88px;height:70px}}
@media(max-width:360px){.market-hero-copy h1{font-size:1.85rem}.market-hero-actions{grid-template-columns:1fr}.my-listing-photo{min-height:150px}.my-listing-photo img{min-height:150px}}

/* v0.19.15 canonical negotiation inside listing detail */
.listing-negotiations{margin-top:1.25rem;padding-top:1.25rem;border-top:2px solid var(--line);scroll-margin-top:90px}.listing-negotiation-head{display:grid;gap:.8rem}.listing-negotiation-head h3{margin:.1rem 0}.listing-negotiation-selector{display:flex;gap:.55rem;flex-wrap:wrap}.listing-negotiation-selector button{display:grid;gap:.15rem;text-align:left;min-width:170px;background:#fff;color:var(--text);border:1px solid var(--line)}.listing-negotiation-selector button.active{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.listing-negotiation-selector small{color:var(--muted);font-weight:500}.listing-negotiation-card{margin-top:1rem;display:grid;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:16px;background:#fff}.listing-negotiation-summary{display:grid;gap:.45rem}.listing-negotiation-summary .amount{font-size:clamp(1.7rem,4vw,2.4rem);font-weight:900}.listing-negotiation-actions{display:flex;gap:.6rem;flex-wrap:wrap}.listing-negotiation-actions button{min-height:46px}.listing-negotiation-form{display:grid;grid-template-columns:minmax(140px,.35fr) minmax(0,1fr);gap:.75rem;align-items:end;padding:.9rem;border-radius:14px;background:var(--brand-soft)}.listing-negotiation-form label{display:grid;gap:.35rem}.listing-negotiation-form .span-2{grid-column:1/-1}.listing-negotiation-history{display:grid;gap:.65rem}.listing-negotiation-history h4{margin:0}.listing-proposal{padding:.8rem;border:1px solid var(--line);border-radius:12px;background:#fff}.listing-proposal.current-proposal{border-color:var(--brand)}.listing-proposal.proposal-focus{outline:3px solid var(--brand-soft);outline-offset:2px}.listing-proposal header{display:flex;justify-content:space-between;gap:.5rem;align-items:center;flex-wrap:wrap}.listing-proposal p{margin:.35rem 0}.listing-negotiation-empty{padding:1rem;border-radius:12px;background:var(--brand-soft)}
@media(max-width:760px){.listing-negotiation-selector{display:grid}.listing-negotiation-selector button{width:100%;min-width:0}.listing-negotiation-form{grid-template-columns:1fr}.listing-negotiation-form .span-2{grid-column:auto}.listing-negotiation-actions{display:grid}.listing-negotiation-actions button{width:100%}}


/* v0.19.16 visible brand and Market polish */
.product-preview-link{display:inline-flex!important;align-items:center;gap:.28rem;padding:.45rem .65rem;border-radius:999px;background:var(--brand-soft);color:var(--brand)!important}.product-preview-link small{font-size:.62rem;text-transform:uppercase;letter-spacing:.06em;opacity:.72}.market-hero{position:relative;gap:1.15rem;margin-top:1.35rem}.market-hero-copy{position:relative;overflow:hidden;padding:clamp(1.4rem,4vw,3.25rem);background:linear-gradient(135deg,#ffffff 0%,#f8fafc 58%,#eef2f7 100%)}.market-hero-copy:after{content:"W";position:absolute;right:-.04em;bottom:-.29em;font-size:clamp(11rem,24vw,23rem);font-weight:950;line-height:1;color:rgba(0,138,26,.045);pointer-events:none}.market-hero-copy>*{position:relative;z-index:1}.market-hero-kicker{display:inline-flex;align-items:center;gap:.5rem;padding:.42rem .7rem;margin-bottom:.85rem;border:1px solid #f3e2c1;border-radius:999px;background:#fffaf0;color:#0b2347;font-size:.82rem;font-weight:800}.market-live-dot{width:.58rem;height:.58rem;border-radius:999px;background:var(--brand);box-shadow:0 0 0 5px rgba(0,138,26,.1)}.market-hero-copy h1{max-width:820px;font-size:clamp(2.45rem,5.6vw,5rem);line-height:.94;letter-spacing:-.06em}.market-hero-copy h1 em{font-style:normal;color:var(--brand)}.market-hero-lead{max-width:690px!important;font-size:clamp(1rem,1.6vw,1.18rem)!important;line-height:1.62!important;color:#64748b}.market-hero-examples{max-width:760px;margin:.8rem 0 0;color:#0b2347;font-size:.9rem;font-weight:760}.market-nearby-signals{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1rem}.market-nearby-signals span{padding:.38rem .62rem;border-radius:999px;background:#fff;border:1px solid #e2e8f0;color:#0b2347;font-size:.78rem;font-weight:760}.market-hero-note{position:relative;overflow:hidden;align-content:start;padding:1.65rem;background:#0b2347;color:#fff;border-color:#0b2347}.market-hero-note .eyebrow{color:#f3e2c1}.market-hero-note>strong{font-size:clamp(1.35rem,2.4vw,2rem);line-height:1.08;letter-spacing:-.035em;margin-top:.8rem}.market-hero-note>span:last-of-type{color:#eef2f7;line-height:1.5}.market-hero-mark{background:#fff}.market-meet-teaser{display:grid;gap:.12rem;margin-top:auto;padding:1rem;border-radius:16px;background:#fff;color:#0b2347;text-decoration:none}.market-meet-teaser span{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:#64748b}.market-meet-teaser strong{font-size:1rem}.market-wall-head{align-items:center}.market-wall-head h2{font-size:clamp(1.55rem,3vw,2.25rem);letter-spacing:-.035em}.market-wall-search{padding:.6rem;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 22px #0f2d5b0a}.market-wall-search input{border-color:transparent;background:var(--soft)}.market-listing-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;border-radius:22px}.market-listing-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(23,33,27,.13)}.market-listing-media{aspect-ratio:16/11}.market-listing-media:after{content:"";position:absolute;left:0;right:0;bottom:0;height:35%;background:linear-gradient(transparent,rgba(7,25,13,.28));pointer-events:none}.market-listing-type{z-index:2;backdrop-filter:blur(8px);letter-spacing:.035em}.market-listing-content{gap:.62rem;padding:1rem 1rem 1.05rem}.market-listing-meta{font-weight:720;color:#64748b}.market-listing-content h3{font-size:1.12rem;letter-spacing:-.02em}.market-listing-content>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45;color:#64748b}.market-listing-price{display:inline-flex;width:max-content;max-width:100%;padding:.35rem .55rem;border-radius:9px;background:var(--brand-soft);font-size:.94rem}.market-listing-footer{padding-top:.25rem;border-top:1px solid #eef2f7}.market-listing-footer button{border-radius:999px;padding:.55rem .9rem}.listing-photo-input{display:grid;gap:.5rem;padding:1rem!important;border:1px dashed #cbd5e1!important;background:#f8fafc!important}.listing-photo-input>span:first-child{font-weight:850}.listing-photo-preview{display:grid;grid-template-columns:110px minmax(0,1fr);gap:.8rem;align-items:center;margin-top:.2rem;padding:.65rem;border-radius:14px;background:#fff;border:1px solid var(--line)}.listing-photo-preview img{width:110px;height:82px;object-fit:cover;border-radius:10px}.listing-photo-preview span{display:grid;gap:.2rem}.listing-photo-preview small{color:var(--muted)}
@media(max-width:900px){.market-hero{grid-template-columns:1fr}.market-hero-note{min-height:290px}.market-hero-mark{margin-bottom:.4rem}.market-meet-teaser{margin-top:1.2rem}}
@media(max-width:760px){.product-preview-link{display:none!important}.market-hero{margin-top:.7rem}.market-hero-copy{padding:1.25rem}.market-hero-copy h1{font-size:clamp(2.2rem,11vw,3.5rem)}.market-nearby-signals{display:grid;grid-template-columns:1fr 1fr}.market-nearby-signals span:last-child{grid-column:1/-1}.market-hero-note{min-height:auto;padding:1.25rem}.market-wall-search{grid-template-columns:1fr}.market-wall{grid-template-columns:1fr}.market-listing-media{aspect-ratio:16/10}.listing-photo-preview{grid-template-columns:88px minmax(0,1fr)}.listing-photo-preview img{width:88px;height:70px}}
@media(max-width:380px){.market-nearby-signals{grid-template-columns:1fr}.market-nearby-signals span:last-child{grid-column:auto}.market-hero-copy h1{font-size:2.2rem}.listing-photo-preview{grid-template-columns:1fr}.listing-photo-preview img{width:100%;height:150px}}

/* v0.19.19 mobile identity header: account access must not compete with product switches. */
.market-account-header{min-height:44px;padding:.55rem .75rem;background:var(--brand);color:#fff}
@media(max-width:760px){
  .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;padding:.55rem .7rem}
  .topbar .brand{min-width:0}.topbar .brand img{width:40px;height:40px}.topbar .brand strong{font-size:.95rem}.topbar .brand small{font-size:.64rem}.topbar .brand .pill{display:none}
  .market-topbar-actions{justify-self:end;gap:.3rem;min-width:0}
  .market-topbar-actions .market-product-secondary,#market-register-link{display:none!important}
  .market-header-auth{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.5rem .7rem;border-radius:10px;background:var(--brand);color:#fff!important;font-size:.84rem!important;font-weight:850!important}
  #market-logout{padding:.45rem .55rem;min-height:42px;font-size:.75rem}
  .notification-toggle{min-width:42px;min-height:42px;padding:.45rem;justify-content:center}
}

/* v0.19.21: Meet is a primary product destination. */
.market-meet-primary{display:inline-flex!important;align-items:center;justify-content:center;padding:.55rem .85rem;border-radius:999px;background:var(--brand);color:#fff!important;font-weight:900;text-decoration:none}
@media(max-width:760px){.market-topbar-actions .market-meet-primary{display:inline-flex!important;min-height:42px;padding:.5rem .68rem;font-size:.82rem}.market-topbar-actions .market-product-secondary{display:none!important}}
/* v0.19.22 local-first Market discovery */
.market-local-controls{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:.85rem 0}.market-local-controls label{display:flex;align-items:center;gap:.45rem;font-weight:700}.market-local-controls select{min-height:42px}.market-local-controls .active{box-shadow:0 0 0 2px var(--brand) inset}.market-community-chips{display:flex;gap:.45rem;overflow-x:auto;padding:.15rem 0 .7rem}.market-community-chips button{white-space:nowrap}.market-location-optin{display:grid!important;grid-template-columns:auto 1fr;column-gap:.65rem;align-items:start}.market-location-optin input{width:1.15rem!important;height:1.15rem;margin-top:.15rem;accent-color:var(--brand)}.market-location-optin small{grid-column:2}.market-distance-pill{margin-left:.35rem;padding:.16rem .45rem;border-radius:999px;background:color-mix(in srgb,var(--brand) 12%,white);font-weight:800}.market-discovery-map{margin:.8rem 0 1rem}.market-map-canvas{position:relative;height:min(52vh,480px);min-height:280px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#eef2f7}.market-map-canvas iframe{width:100%;height:100%;border:0;pointer-events:none}.market-map-overlay{position:absolute;inset:0;pointer-events:none}.market-map-marker{position:absolute;transform:translate(-50%,-100%);width:34px;height:34px;border-radius:50% 50% 50% 8px;rotate:-45deg;padding:0;pointer-events:auto;box-shadow:0 3px 10px #0004}.market-map-marker span{display:block;rotate:45deg;font-weight:900}.market-map-marker.need{background:#fff;color:var(--brand)}.market-map-marker.offer{background:var(--brand);color:#fff}@media(max-width:760px){.market-local-controls{display:grid;grid-template-columns:1fr auto}.market-local-controls #market-nearby-toggle{grid-column:1}.market-local-controls #market-map-toggle{grid-column:2}.market-local-controls label{grid-column:1/-1}.market-map-canvas{height:340px}}
/* v0.19.24 admin activity + readable audit */
.admin-activity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:.8rem 0 1rem}.admin-metric-card{display:grid;gap:.2rem;padding:.9rem;border:1px solid var(--line);border-radius:14px;background:var(--soft)}.admin-metric-card span{font-weight:750;color:var(--muted);font-size:.78rem}.admin-metric-card strong{font-size:1.65rem;color:var(--brand)}.admin-metric-card small{color:var(--muted);line-height:1.3}.admin-source-panel{padding:.9rem;border:1px solid var(--line);border-radius:14px;background:#fff}.admin-source-list{display:flex;gap:.5rem;flex-wrap:wrap}.admin-source-list span{display:flex;gap:.55rem;align-items:center;padding:.45rem .65rem;border-radius:999px;background:var(--soft)}.admin-source-list em{font-style:normal;font-weight:850;color:var(--brand)}.admin-audit-row code{display:inline-block;margin-top:.4rem;font-size:.72rem;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:760px){.admin-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.admin-activity-grid{grid-template-columns:1fr}}


/* v0.20.4: H14YOU public access is neutral with a restrained coral accent. */
.market-meet-primary{background:#fff!important;color:#0f2d5b!important;border:1px solid #e2e8f0;box-shadow:0 2px 10px rgba(23,33,27,.08)}
.market-meet-primary:hover,.market-meet-primary:focus-visible{border-color:#dc8796;box-shadow:0 0 0 3px rgba(220,135,150,.16)}
.market-meet-primary .h14you-word,.market-meet-teaser .h14you-word{color:#b94f63!important;font-weight:950;letter-spacing:.025em}
.market-meet-teaser .h14you-word{text-transform:uppercase}

/* v0.20.1 CLOSE2WE identity + universal rating language */
.close2we-lockup img{width:48px;height:48px;object-fit:contain;filter:none!important;flex:0 0 48px}.brand.close2we-lockup,.business-brand.close2we-lockup{gap:.55rem}.star-score{display:inline-flex;align-items:center;gap:.35rem;color:var(--brand)}.star-scale{display:inline-flex;gap:.08rem}.star-unit{position:relative;display:inline-block;width:1.05rem;height:1.15rem;line-height:1.15rem;color:#c7d2cc}.star-empty{position:absolute;inset:0}.star-fill{position:absolute;inset:0 auto 0 0;width:var(--star-fill);overflow:hidden;color:var(--brand);white-space:nowrap}.star-score-number{font-size:.92rem;line-height:1}.verified-service{font-size:.82rem;color:var(--brand);font-weight:800}.star-rating{border:0;padding:0;margin:.2rem 0;min-width:0}.star-rating legend{font-weight:800;margin-bottom:.5rem}.star-rating [role=radiogroup]{display:grid;grid-template-columns:repeat(5,minmax(48px,56px));gap:.35rem;max-width:max-content}.star-rating .rating-step{font-size:1.8rem;line-height:1;color:#c7d2cc}.star-rating .rating-step.active{color:var(--brand)}.star-rating output{display:block;margin-top:.4rem;color:var(--brand);font-weight:800}.reputation-with-stars{display:inline-flex;align-items:center;gap:.4rem;flex-wrap:wrap}@media(max-width:760px){.close2we-lockup img{width:38px;height:38px;flex-basis:38px}.star-rating [role=radiogroup]{max-width:none}}
.provider-rating{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin:.35rem 0;background:transparent}.reputation-chip,.provider-rating{color:var(--brand)}

/* v0.20.2 approved CLOSE2WE horizontal master lockup */
.close2we-lockup .close2we-horizontal-logo{display:block;width:clamp(170px,22vw,245px);height:auto;max-height:62px;object-fit:contain;filter:none!important;flex:0 1 auto}.close2we-lockup{gap:.45rem!important;align-items:center}.close2we-lockup>span:not(.pill){display:none!important}.market-hero-mark img{width:76px;height:76px;object-fit:contain;filter:none!important}@media(max-width:760px){.close2we-lockup .close2we-horizontal-logo{width:150px;max-height:44px}.market-hero-mark img{width:58px;height:58px}}

/* v0.20.2 first-party offer modal */
.market-dialog{border:0;padding:0;border-radius:20px;max-width:min(92vw,560px);width:100%;box-shadow:0 28px 80px rgba(4,24,14,.32)}.market-dialog::backdrop{background:rgba(5,23,14,.55);backdrop-filter:blur(3px)}.market-dialog-card{display:grid;gap:1rem;padding:1.2rem;background:#fff}.market-dialog-card label{display:grid;gap:.4rem;font-weight:800}.market-dialog-card textarea{resize:vertical}.market-dialog-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}@media(max-width:600px){.market-dialog{max-width:calc(100vw - 24px)}.market-dialog-actions{display:grid;grid-template-columns:1fr}.market-dialog-actions button{width:100%}}

/* v0.20.8 automated image moderation exception queue */
.admin-photo-review-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:1rem;align-items:start}
.admin-review-photo{width:150px;height:150px;object-fit:cover;border-radius:14px;border:1px solid var(--line);background:var(--soft)}
@media(max-width:600px){.admin-photo-review-row{grid-template-columns:1fr}.admin-review-photo{width:100%;height:auto;max-height:360px}}

.tag-suggestions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.55rem;padding:.55rem;border:1px solid rgba(20,42,58,.14);border-radius:.8rem;background:rgba(255,255,255,.86)}
.tag-suggestions[hidden]{display:none}
.tag-suggestion-chip{width:auto;min-height:2rem;padding:.35rem .65rem;border-radius:999px;font-size:.82rem}

.discipline-summary{display:grid;gap:.9rem}
.discipline-records{display:grid;gap:.65rem}
.discipline-record{display:grid;gap:.35rem;padding:.75rem;border:1px solid rgba(20,42,58,.14);border-radius:.8rem;background:rgba(255,255,255,.72)}
.discipline-record>div:first-child{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;align-items:center}
.discipline-record p,.discipline-record small{margin:0}
#market-discipline-panel .discipline-records{margin:.9rem 0}


/* v0.21.2 acceptance polish: gold signals attention; blue remains structural. */
.notification-badge,
.admin-pending-badge{
  min-width:24px!important;
  height:22px!important;
  padding:0 .42rem!important;
  border-radius:999px!important;
  background:#CD944B!important;
  color:#fff!important;
  border:1px solid #B57A2E!important;
  box-shadow:0 2px 7px rgba(154,104,37,.24)!important;
  font-weight:900!important;
  line-height:1!important;
}
.notification-toggle .notification-badge{margin-left:.08rem}
.notification-item.unread .notification-dot{background:#CD944B!important;box-shadow:0 0 0 3px rgba(205,148,75,.16)}
.staff-role-inline,
.staff-role-badge{
  background:#CD944B!important;
  color:#fff!important;
  border:1px solid #B57A2E!important;
  box-shadow:0 3px 9px rgba(154,104,37,.20)!important;
}
.market-main-nav [data-main-view="admin"] .admin-pending-badge{
  margin-left:.25rem;
  vertical-align:middle;
}
.admin-section-nav{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:.5rem!important;
  overflow:visible!important;
  padding:.6rem!important;
  border-top:2px solid #F3E2C1!important;
  scrollbar-width:none!important;
  scroll-snap-type:none!important;
}
.admin-section-nav::-webkit-scrollbar{display:none!important}
.admin-section-nav button{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.38rem!important;
  padding:.55rem .5rem!important;
  white-space:normal!important;
  text-align:center!important;
}
.admin-section-nav button .notification-badge{flex:0 0 auto}
.admin-section-nav button.active{
  background:#0F2D5B!important;
  border-color:#0F2D5B!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(15,45,91,.16)!important;
}
.market-hero-kicker{border-color:#F3E2C1!important}
.market-live-dot{background:#CD944B!important;box-shadow:0 0 0 5px rgba(205,148,75,.16)!important}
.market-listing-type.offer{background:#FBF5EA!important;color:#6E4B1F!important;border:1px solid #E7CFA8!important}
@media(max-width:1000px){
  .admin-section-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;position:static!important}
}
@media(max-width:620px){
  .admin-section-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-left:0!important;margin-right:0!important}
  .admin-section-nav button{min-height:48px!important;font-size:.82rem!important}
}

/* v0.21.3 Market multiple-photo gallery */
.market-listing-media{position:relative}
.market-photo-count{position:absolute;right:.55rem;bottom:.55rem;z-index:2;padding:.26rem .48rem;border-radius:999px;background:rgba(15,45,91,.9);color:#fff;font-size:.72rem;font-weight:850;box-shadow:0 3px 10px rgba(15,45,91,.18)}
.listing-detail-gallery{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;background:#eef2f7}
.listing-detail-gallery img{flex:0 0 100%;width:100%;height:100%;min-height:0;object-fit:cover;scroll-snap-align:start;scroll-snap-stop:always}
.listing-detail-photo-count{position:absolute;right:.55rem;bottom:.55rem;z-index:3;padding:.3rem .52rem;border-radius:999px;background:rgba(15,45,91,.9);color:#fff;font-size:.72rem;font-weight:850;pointer-events:none;box-shadow:0 3px 10px rgba(15,45,91,.18)}
.listing-photo-manager-head{display:flex;justify-content:space-between;align-items:end;gap:.75rem;margin-bottom:.65rem}
.listing-photo-manager-head small{color:var(--muted);text-align:right}
.listing-photo-manager-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.listing-photo-tile{display:grid;align-content:start;gap:.45rem;min-width:0;padding:.5rem;border:1px solid #e2e8f0;border-radius:16px;background:#fff}
.listing-photo-image{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:#eef2f7}
.listing-photo-image img,.listing-photo-tile.legacy img{width:100%;height:100%;object-fit:cover}
.listing-photo-position{position:absolute;left:.4rem;bottom:.4rem;padding:.22rem .42rem;border-radius:999px;background:rgba(15,45,91,.9);color:#fff;font-size:.68rem;font-weight:850}
.listing-photo-tile-copy{display:grid;gap:.4rem}.listing-photo-tile-copy>small{color:var(--muted);line-height:1.25}
.listing-photo-controls{display:flex;gap:.35rem;flex-wrap:wrap}.listing-photo-controls button{min-height:34px;padding:.35rem .55rem}
.listing-local-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;width:100%}
.listing-local-preview-grid figure{margin:0;min-width:0}.listing-local-preview-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.listing-local-preview-grid figcaption{margin-top:.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;color:var(--muted)}
@media(max-width:760px){
 .listing-photo-manager-grid,.listing-local-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .listing-photo-manager-head{align-items:flex-start;flex-direction:column}.listing-photo-manager-head small{text-align:left}
 .listing-detail-photo-count{font-size:.68rem}
}
@media(max-width:420px){.listing-photo-manager-grid,.listing-local-preview-grid{grid-template-columns:1fr 1fr;gap:.45rem}}

/* v0.21.4 additive Market photo builder */
.listing-photo-input{display:grid;gap:.65rem}.listing-photo-picker-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.listing-photo-picker-actions button{min-height:46px}.listing-photo-picker-actions strong{padding:.4rem .7rem;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--brand)}
.listing-photo-preview{display:grid;gap:.65rem}.listing-pending-head{display:flex;justify-content:space-between;gap:.6rem;align-items:end}.listing-pending-head small{color:var(--muted)}.listing-local-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.listing-local-photo{position:relative;margin:0;padding:.45rem;border:1px solid var(--line);border-radius:14px;background:#fff}.listing-local-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;display:block}.listing-local-photo figcaption{margin-top:.35rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.72rem;color:var(--muted)}.listing-local-controls{display:flex;gap:.3rem;margin-top:.4rem;flex-wrap:wrap}.listing-local-controls button{min-height:36px;padding:.35rem .55rem}.listing-local-photo .listing-photo-position{top:.65rem;left:.65rem}
@media(max-width:650px){.listing-local-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-photo-picker-actions button{width:auto}.listing-pending-head{display:grid}}

/* v0.21.5: branded Government action dialog; replaces browser prompt/confirm in active admin flows. */
.app-dialog{width:min(560px,calc(100vw - 2rem));border:0;padding:0;border-radius:22px;background:transparent;box-shadow:0 24px 70px rgba(15,45,91,.26)}
.app-dialog::backdrop{background:rgba(10,20,35,.48);backdrop-filter:blur(3px)}
.app-dialog-card{display:grid;gap:.85rem;padding:1.25rem;background:#fff;border:1px solid var(--line);border-radius:22px}
.app-dialog-card h2{margin:.05rem 0;font-size:1.55rem}.app-dialog-card p{margin:0;line-height:1.5}
.app-dialog-card label{display:grid;gap:.38rem;font-weight:760}.app-dialog-card textarea{width:100%;resize:vertical;min-height:96px}
.app-dialog-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:.25rem}.app-dialog-actions button{min-height:46px}
.app-dialog-actions .danger{background:#a51f32;border-color:#a51f32;color:#fff}
@media(max-width:560px){.app-dialog-actions{display:grid;grid-template-columns:1fr}.app-dialog-actions button{width:100%}}

/* v0.21.5: superuser-only presence marker in Gobierno. */
.admin-online-light{display:inline-block;width:.66rem;height:.66rem;margin-right:.38rem;border-radius:50%;background:#1db954;box-shadow:0 0 0 3px rgba(29,185,84,.14);vertical-align:.04rem}
.admin-online-light[hidden]{display:none}.admin-email-state{font-size:.74rem}
/* v0.21.6 acceptance: Gobierno presence + listing-title navigation. */
.admin-listing-title-link{appearance:none;background:none;border:0;padding:0;margin:.18rem 0 .12rem;color:var(--navy,#0d315f);font:inherit;font-weight:800;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.15em}
.admin-listing-title-link:hover,.admin-listing-title-link:focus-visible{text-decoration-thickness:.14em}
.admin-online-light{width:.78rem;height:.78rem;box-shadow:0 0 0 3px rgba(29,185,84,.18),0 0 8px rgba(29,185,84,.34)}

/* v0.21.7: account + staff support workflow. */
.account-support-card{margin-top:1rem}.account-support-card form{max-width:760px}
.support-case-row{transition:box-shadow .2s ease,border-color .2s ease,background .2s ease}
.support-case-main{width:100%;display:grid;gap:.55rem}.support-case-main p{margin:.15rem 0;line-height:1.5}
.support-case-history{margin-top:.35rem;padding:.55rem .65rem;border:1px solid var(--line);border-radius:12px;background:#f8fafc}
.support-case-history summary{cursor:pointer;font-weight:750;color:var(--brand)}.support-case-history ul{margin:.55rem 0 0;padding-left:1.2rem;color:var(--muted);font-size:.82rem;line-height:1.5}
.support-case-focus{border-color:#cd944b!important;background:#fffaf0!important;box-shadow:0 0 0 4px rgba(205,148,75,.16)}
@media(max-width:650px){.support-case-row .section-head{align-items:flex-start;display:grid}.support-case-row .pill{justify-self:start}.account-support-card button{width:100%}}


/* v0.21.8: Market local discovery / conversion home. */
@media(min-width:1180px){.shell{width:min(1480px,96vw)}}
.market-local-home{margin:1rem 0 1.35rem;padding:1.15rem;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(15,45,91,.06)}
.market-local-home-head{display:flex;justify-content:space-between;align-items:end;gap:1rem}
.market-local-home-head h2{margin:.1rem 0 .25rem;font-size:clamp(1.65rem,3vw,2.35rem);letter-spacing:-.035em}
.market-local-home-head p{margin:.2rem 0;max-width:760px}
.market-local-home-actions{display:flex;gap:.55rem;flex-wrap:wrap;justify-content:flex-end}
.market-local-home-state{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-top:.9rem;padding:.9rem 1rem;border:1px solid #dbe5f0;border-radius:16px;background:linear-gradient(135deg,#f8fbff,#eef2f7)}
.market-local-home-state span{color:var(--muted);text-align:right}
.market-local-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.market-local-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}
.market-local-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(15,45,91,.12)}
.market-local-card:focus-visible{outline:3px solid #cd944b;outline-offset:2px}
.market-local-card-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:#eef2f7}
.market-local-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.market-local-card-placeholder{height:100%;display:grid;place-items:center;padding:.7rem;color:var(--brand);font-weight:850;text-align:center}
.market-local-card-copy{display:grid;gap:.38rem;padding:.7rem}
.market-local-card-copy strong{font-size:.96rem;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.market-local-card-meta{display:flex;gap:.3rem;min-width:0;color:var(--muted);font-size:.7rem;font-weight:720;white-space:nowrap;overflow:hidden}
.market-local-card-meta span{overflow:hidden;text-overflow:ellipsis}
.market-local-card-price{color:var(--brand);font-size:.8rem;font-weight:850}
.market-local-more{display:block;margin:.9rem auto 0}
.market-location-dialog .app-dialog-card{max-width:620px}
@media(max-width:760px){
  .market-local-home{padding:.85rem;border-radius:16px}
  .market-local-home-head{display:grid;align-items:start}
  .market-local-home-actions{display:grid;grid-template-columns:1fr 1fr;justify-content:stretch}
  .market-local-home-actions button{width:100%;padding:.65rem .45rem}
  .market-local-home-state{display:grid;gap:.25rem}
  .market-local-home-state span{text-align:left}
  .market-local-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
  .market-local-card-copy{padding:.6rem}
  .market-local-card-copy strong{font-size:.9rem}
  .market-local-card-meta{font-size:.66rem}
}
@media(max-width:380px){.market-local-home-actions{grid-template-columns:1fr}}
.market-online-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.12rem .42rem;border-radius:999px;background:#eaf8ef;color:#176b38;font-size:.68rem;font-weight:850;vertical-align:middle;white-space:nowrap}
.market-online-pill::before{content:"";width:.42rem;height:.42rem;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px rgba(23,107,56,.12)}

/* H14YOU contextual promotion inside Market connections category */
.market-h14-promo{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.05rem;border:1px solid #d7b47a;border-radius:16px;background:linear-gradient(135deg,#fffaf1 0%,#fff 62%,#f4f7fb 100%);box-shadow:0 8px 22px #0f2d5b12}
.market-h14-promo[hidden]{display:none!important}
.market-h14-promo-copy{display:flex;align-items:flex-start;gap:.8rem;min-width:0}
.market-h14-promo-mark{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#fff0f3;color:#d91f3d;font-size:1.45rem;font-weight:900;box-shadow:0 0 14px #d91f3d20}
.market-h14-promo-copy strong{display:block;color:var(--brand);font-size:1rem}
.market-h14-promo-copy p{margin:.25rem 0 0;color:var(--muted);line-height:1.45}
.market-h14-promo-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:42px;padding:.6rem .9rem;border-radius:10px;background:var(--brand);color:#fff!important;font-weight:850;text-decoration:none}
.market-h14-promo-link:hover{filter:brightness(1.06)}
@media(max-width:760px){.market-h14-promo{align-items:stretch;flex-direction:column}.market-h14-promo-link{width:100%}}

/* v0.22.2 — restore two-column nearby mosaic on mobile */
@media(max-width:760px){
  .market-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
  .market-listing-media{aspect-ratio:1/1}
  .market-listing-content{padding:.65rem;gap:.38rem}
  .market-listing-content h3{font-size:.92rem;line-height:1.15}
  .market-listing-content>p{font-size:.78rem;-webkit-line-clamp:2}
  .market-listing-meta{font-size:.68rem;gap:.22rem}
  .market-listing-price{font-size:.82rem;padding:.28rem .4rem}
  .market-listing-footer{display:grid;grid-template-columns:1fr;gap:.35rem;align-items:stretch}
  .market-listing-footer button{width:100%;min-height:38px;padding:.45rem .5rem;font-size:.78rem}
}

/* 2026-10-02 Market share actions */
.market-share-dialog .app-dialog-card{max-width:620px}
.market-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.9rem}
.market-share-actions .button-link,.market-share-actions button{display:flex;align-items:center;justify-content:center;min-height:46px;text-align:center;text-decoration:none}
.market-share-actions #market-share-copy{grid-column:1/-1}
.market-share-url{overflow-wrap:anywhere;margin-top:.8rem}
@media(max-width:520px){.market-share-actions{grid-template-columns:1fr}.market-share-actions #market-share-copy{grid-column:auto}.market-listing-footer-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.market-listing-footer-actions button{width:100%}}

/* 2026-10-01 CLOSE2WE hero rotator */
.market-hero-rotator{position:relative;min-height:390px;max-height:575px;aspect-ratio:16/9;border:1px solid var(--line);border-radius:20px;background:#071a36;box-shadow:0 10px 28px #0f2d5b0c;overflow:hidden}
.market-hero-slide{position:absolute;inset:0}
.market-hero-slide[hidden]{display:none!important}
.market-hero-video-slide{display:grid;place-items:center;background:#071a36;overflow:hidden}
.market-hero-video-slide video{width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center!important;display:block;background:#071a36}
.market-hero-rotator .market-hero-copy{border:0;border-radius:0;box-shadow:none;overflow:auto;padding-bottom:5rem;background:#fff}
.market-hero-carousel-controls{position:absolute;z-index:5;left:50%;bottom:.65rem;transform:translateX(-50%);display:flex;align-items:center;gap:.38rem;padding:.38rem .48rem;border-radius:999px;background:rgba(7,24,49,.88);box-shadow:0 5px 18px #0003;backdrop-filter:blur(7px)}
.market-hero-carousel-controls button{min-height:36px;height:36px;border:0;border-radius:999px;padding:.35rem .62rem;background:rgba(255,255,255,.12);color:#fff;font-weight:850}
.market-hero-carousel-controls button:hover,.market-hero-carousel-controls button:focus-visible{background:#fff;color:var(--brand)}
.market-hero-control{min-width:36px;font-size:1rem}
.market-hero-dots{display:flex;gap:.25rem}
.market-hero-dots button{font-size:.72rem;padding:.35rem .62rem}
.market-hero-dots button[aria-current="true"]{background:#fff;color:var(--brand)}
.market-hero-dots span{display:block;white-space:nowrap}

@media(max-width:980px){.market-hero-rotator{min-height:430px}}
@media(max-width:650px){
  .market-hero-rotator{min-height:500px;border-radius:16px}
  .market-hero-video-slide{background:#071a36}
  .market-hero-carousel-controls{width:calc(100% - 1rem);justify-content:center;bottom:.5rem}
  .market-hero-dots{flex:1;justify-content:center}
  .market-hero-dots button{padding:.3rem .44rem;font-size:.66rem}
  .market-hero-rotator .market-hero-copy{padding-bottom:5.2rem}
}
@media(prefers-reduced-motion:reduce){
  .market-hero-carousel-controls{backdrop-filter:none}
}

/* 2026-10-01 Market listing lifecycle */
.market-advertiser-inactive{display:block;margin:.45rem 0;padding:.45rem .6rem;border-radius:10px;background:#fff4e5;border:1px solid #efd39a;color:#704800;font-size:.78rem;font-weight:750;line-height:1.35}
.my-listing-sections{margin:.8rem 0}
.my-listing-row .pill{margin-left:.2rem}
@media(max-width:650px){
  .my-listing-sections{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%}
  .my-listing-sections button{width:100%}
}

/* 2026-10-01 responsive hero fit: no internal scrolling, no media cropping */
@media(min-width:901px){
  .market-main-nav{position:relative;top:auto}
  .market-hero{--c2w-hero-h:clamp(350px,calc(100dvh - 245px),900px);align-items:stretch}
  .market-hero-rotator,.market-hero-note{height:var(--c2w-hero-h);min-height:0!important;max-height:none}
  .market-hero-rotator{aspect-ratio:auto}
  .market-hero-rotator .market-hero-copy{display:grid;align-content:center;overflow:hidden;padding:clamp(.85rem,1.55vw,1.45rem) clamp(1rem,2vw,1.9rem) 4.15rem}
  .market-hero-rotator .market-hero-copy .eyebrow{font-size:clamp(.68rem,.78vw,.8rem);margin:0 0 .2rem}
  .market-hero-rotator .market-hero-copy h1{font-size:clamp(2rem,2.8vw,2.85rem);line-height:.98;letter-spacing:-.045em;margin:.1rem 0 .5rem}
  .market-hero-rotator .market-hero-copy>p:not(.eyebrow){font-size:clamp(.78rem,.95vw,.95rem)!important;line-height:1.32!important;margin:.18rem 0}
  .market-hero-rotator .market-hero-examples{font-size:clamp(.72rem,.86vw,.86rem)!important;margin:.38rem 0 0!important}
  .market-hero-rotator .market-nearby-signals{gap:.32rem;margin-top:.55rem}
  .market-hero-rotator .market-nearby-signals span{padding:.28rem .48rem;font-size:.68rem}
  .market-hero-rotator .market-hero-actions{gap:.45rem;margin-top:.7rem}
  .market-hero-rotator .market-hero-actions button{min-height:42px;padding:.55rem .8rem;font-size:.84rem}
  .market-hero-note{overflow:hidden;padding:clamp(.9rem,1.5vw,1.35rem)}
  .market-hero-note>strong{font-size:clamp(1.15rem,1.75vw,1.7rem);margin-top:.35rem}
  .market-meet-teaser{padding:.7rem;margin-top:auto}
}
@media(max-width:900px){
  .market-hero-rotator{max-height:none;min-height:0;aspect-ratio:auto}
  .market-hero-rotator[data-active-slide="brand"],
  .market-hero-rotator[data-active-slide="yeyvoz"],
  .market-hero-rotator[data-active-slide="h14you"]{height:auto;aspect-ratio:16/9}
  .market-hero-rotator[data-active-slide="explore"]{height:clamp(430px,58svh,520px)}
  .market-hero-rotator .market-hero-copy{overflow:hidden;padding:1rem 1rem 4.3rem}
  .market-hero-rotator .market-hero-copy h1{font-size:clamp(1.9rem,8.7vw,2.85rem);line-height:.98;margin:.15rem 0 .6rem}
  .market-hero-rotator .market-hero-copy>p:not(.eyebrow){font-size:.88rem!important;line-height:1.35!important}
  .market-hero-rotator .market-nearby-signals{margin-top:.65rem}
  .market-hero-rotator .market-hero-actions{margin-top:.8rem}
}

/* Force the media element itself to the hero box; prevents intrinsic 16:9 min-size overflow. */
.market-hero-video-slide{position:absolute!important;inset:0!important;display:block!important;min-width:0!important;min-height:0!important;overflow:hidden!important}
.market-hero-video-slide video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center center!important}

@media(min-width:901px) and (max-height:800px){
  .market-hero-rotator .market-hero-copy{
    grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);
    grid-template-rows:auto auto auto;
    column-gap:1.1rem;
    row-gap:.25rem;
    align-content:center;
    padding:1rem 1.15rem 4rem;
  }
  .market-hero-rotator .market-hero-copy .eyebrow{grid-column:1;grid-row:1}
  .market-hero-rotator .market-hero-copy h1{grid-column:1;grid-row:2;font-size:clamp(2rem,2.65vw,2.65rem);margin:.1rem 0 .35rem}
  .market-hero-rotator .market-hero-lead{grid-column:1;grid-row:3;margin:0!important;font-size:.86rem!important;line-height:1.3!important}
  .market-hero-rotator .market-hero-examples{grid-column:2;grid-row:1;margin:0!important;align-self:end;font-size:.78rem!important;line-height:1.3!important}
  .market-hero-rotator .market-nearby-signals{grid-column:2;grid-row:2;margin:.3rem 0 0;align-self:center}
  .market-hero-rotator .market-hero-actions{grid-column:2;grid-row:3;display:grid;grid-template-columns:1fr 1fr;margin:.35rem 0 0;align-self:start}
  .market-hero-rotator .market-hero-actions button{min-width:0;min-height:40px;padding:.45rem .55rem;font-size:.76rem}
  .market-hero-rotator .market-hero-copy:after{font-size:min(18rem,38vh);right:-.02em;bottom:-.2em}
}


/* CLOSE2WE Market modes: standard, trueque y gratis */
.listing-mode-summary{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.8rem 1rem;border:1px solid #e1d5bf;border-radius:14px;background:#fffaf1}
.listing-mode-summary strong{color:var(--brand);letter-spacing:.04em}.listing-mode-summary span{color:var(--muted);font-weight:650;text-align:right}
.listing-barter-fields{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;padding:1rem;border:1px solid #e7cfa8;border-radius:14px;background:#fffaf3}
.listing-barter-fields legend{padding:0 .4rem;font-weight:850;color:var(--brand)}
.market-barter-summary{display:grid;gap:.2rem;margin:.25rem 0;padding:.55rem .65rem;border-left:4px solid #cd944b;border-radius:8px;background:#fff8ed}
.market-barter-summary strong{font-size:.68rem;letter-spacing:.08em;color:#6e4b1f}.market-barter-summary span{font-size:.82rem;font-weight:720;color:var(--brand)}
.market-listing-type.barter{background:#fff0d5!important;color:#6e4315!important;border:1px solid #d7a65e!important}
.market-listing-type.free{background:#eaf7ef!important;color:#24613a!important;border:1px solid #9ac8aa!important}
.wall-mode-filters{margin-top:.45rem}.wall-mode-filters button{font-size:.78rem}
.market-barter-reputation{display:inline-flex;align-items:center;gap:.25rem;margin:.35rem 0;padding:.32rem .55rem;border-radius:999px;background:#f7f1e7;color:#5f472b;font-size:.76rem}
.market-barter-reputation.new{font-weight:700;color:var(--muted)}
.barter-status{margin-top:.3rem}
.barter-status.accepted,.barter-status.completed{background:#eaf7ef;color:#24613a}
.barter-status.declined{background:#f5f5f5;color:#6b7280}
.barter-state-note{display:inline-flex;align-items:center;padding:.45rem .6rem;border-radius:10px;background:#f6f2ea;color:#5d4b33;font-size:.8rem;font-weight:700}
.barter-state-note.declined{background:#f5f5f5;color:#6b7280}
.barter-interest-row{border-left:4px solid #cd944b}
@media(max-width:760px){.listing-mode-summary{display:grid}.listing-mode-summary span{text-align:left}.listing-barter-fields{grid-template-columns:1fr}.wall-mode-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.market-wall-head>div:last-child{width:100%}}


/* v0.25.4: primary publishing CTA and clear create-vs-search hierarchy */
.market-main-nav button[data-main-view="publish"]{
  border:2px solid #cd944b;
  background:linear-gradient(180deg,#fffdf8 0%,#fff7e8 100%);
  color:var(--brand);
  box-shadow:0 6px 16px rgba(154,104,37,.18),inset 0 1px 0 #fff;
  transform:translateY(-1px);
}
.market-main-nav button[data-main-view="publish"]:hover,
.market-main-nav button[data-main-view="publish"]:focus-visible{
  background:#fff4dc;
  box-shadow:0 8px 20px rgba(154,104,37,.24),inset 0 1px 0 #fff;
}
.market-main-nav button[data-main-view="publish"].active{
  background:var(--brand);
  color:#fff;
  border-color:#cd944b;
  box-shadow:0 7px 20px rgba(15,45,91,.24),0 0 0 2px rgba(205,148,75,.16);
}
.market-publish-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin:.75rem 0;
  padding:.8rem .9rem;
  border:1px solid #cd944b;
  border-radius:14px;
  background:#fffaf0;
  box-shadow:0 5px 16px rgba(154,104,37,.10);
}
.market-publish-cta>div{display:grid;gap:.16rem}
.market-publish-cta strong{color:var(--brand);font-size:1rem}
.market-publish-cta span{color:var(--muted);font-weight:600;line-height:1.35}
.market-publish-cta button{
  flex:0 0 auto;
  min-height:46px;
  padding:.65rem 1rem;
  border:2px solid #cd944b;
  background:var(--brand);
  color:#fff;
  box-shadow:0 5px 14px rgba(15,45,91,.18);
}
@media(max-width:650px){
  .market-publish-cta{display:grid}
  .market-publish-cta button{width:100%}
  .market-main-nav button[data-main-view="publish"]{transform:none}
}


/* v0.29.0 — Gobierno: vista de usuarios tipo Detalles + presencia por producto */
.admin-user-details-head{display:grid;grid-template-columns:1.05fr 1.45fr .95fr 1.15fr .9fr .95fr;gap:0;border:1px solid #d8e1ea;border-radius:13px 13px 0 0;background:#f5f8fb;overflow:hidden;margin-top:.75rem}
.admin-user-details-head button{appearance:none;border:0;border-right:1px solid #d8e1ea;border-radius:0;background:transparent;color:#40566d;min-height:42px;padding:.58rem .7rem;text-align:left;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}
.admin-user-details-head button:last-child{border-right:0}
.admin-user-details-head button:hover,.admin-user-details-head button:focus-visible{background:#eaf1f7;color:#0f2d5b}
.admin-user-details-head button.active{background:#e2ebf4;color:#0f2d5b}
.admin-user-details-head button span{float:right;font-size:.68rem}
.admin-presence-legend{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;padding:.62rem .75rem;border:1px solid #e1e7ed;border-top:0;background:#fff;color:#52677c;font-size:.76rem}
.admin-presence-legend>span{display:inline-flex;align-items:center;gap:.3rem;font-weight:750}
.admin-presence-legend small{margin-left:auto;color:#64788b}
.presence-dot,.admin-product-dot{display:inline-block;width:.62rem;height:.62rem;border-radius:50%;box-shadow:0 0 0 2px rgba(255,255,255,.85)}
.presence-dot.market,.admin-product-dot.product-market{background:#0f2d5b}
.presence-dot.h14,.admin-product-dot.product-h14you{background:#d91f3d}
.presence-dot.yeyvoz,.admin-product-dot.product-yeyvoz{background:#00b8a9}
.presence-dot.business,.admin-product-dot.product-business{background:#d4a62a}
.admin-user-details{gap:.5rem}
.admin-account-row{display:block!important;position:relative;border:1px solid #dfe6ed;border-radius:13px;background:#fff;padding:.72rem .8rem;overflow:visible}
.admin-account-row.has-product-presence{border:3px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--presence-frame) border-box;padding:calc(.72rem - 2px) calc(.8rem - 2px)}
.admin-user-detail-grid{display:grid;grid-template-columns:1.05fr 1.45fr .95fr 1.15fr .9fr .95fr;gap:.7rem;align-items:center}
.admin-detail-cell{min-width:0;color:#40566d;font-size:.79rem;line-height:1.35}
.admin-presence-cell{display:flex;align-items:center;gap:.35rem;min-height:28px}
.admin-presence-cell>strong{color:#1f6d3b;font-size:.76rem}
.admin-active-products{display:inline-flex;gap:.22rem;margin-left:.15rem}
.admin-user-name{display:grid;gap:.08rem}.admin-user-name strong{color:#0f2d5b;font-size:.9rem}.admin-user-name span{color:#60758a;font-size:.76rem}
.admin-user-secondary{display:grid;gap:.38rem;margin-top:.62rem;padding-top:.58rem;border-top:1px solid #edf1f5}
.admin-user-secondary .admin-account-controls{margin-top:.12rem}
.muted-pill{opacity:.72}
@media(max-width:980px){
  .admin-user-details-head{display:none}
  .admin-presence-legend small{width:100%;margin-left:0}
  .admin-user-detail-grid{grid-template-columns:1fr 1fr;gap:.55rem .8rem}
  .admin-detail-cell{display:grid;grid-template-columns:minmax(90px,.55fr) 1fr;gap:.45rem;align-items:center}
  .admin-detail-cell::before{content:attr(data-label);color:#718397;font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
  .admin-user-name strong,.admin-user-name span{grid-column:2}
  .admin-presence-cell{display:grid}
}
@media(max-width:580px){
  .admin-user-detail-grid{grid-template-columns:1fr}
  .admin-account-row{padding:.75rem}
}

/* v0.30.3 — mobile product switch: keep H14YOU and YEYVOZ reachable */
.market-mobile-product-switch{display:none}
@media(max-width:760px){
  .market-topbar-actions .market-meet-primary{display:none!important}
  .market-mobile-product-switch{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.5rem;
    width:100%;
    padding-top:.12rem;
  }
  .market-mobile-product-link{
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d8e1ea;
    border-radius:999px;
    background:#fff;
    text-decoration:none;
    font-weight:900;
    box-shadow:0 4px 12px rgba(15,45,91,.06);
  }
  .market-mobile-h14{color:#d91f3d!important;background:#fff5f7;border-color:#f3c5ce}
  .market-mobile-yeyvoz{color:#0f2d5b!important;background:#e8fbf7;border-color:#b8eee5}
  .market-mobile-yeyvoz .yeyvoz-voz,.market-mobile-yeyvoz .yeyvoz-audio-mark{color:#00a995}
}

/* v0.31.8 Market: responsive discovery, stronger native blue/gold hierarchy.
   Visual layer only; preserve original discovery, listing and account workflows. */
.market-wall-section{min-width:0}
.market-wall-search{border:1px solid #d4e1ed;border-top:3px solid #cd944b;box-shadow:0 10px 28px rgba(15,45,91,.09)}
.market-wall-search :is(input,select){min-width:0;max-width:100%;border:1px solid #cfdae7;border-radius:11px}
.market-wall-search :is(input,select):focus-visible{outline:3px solid #cd944b;outline-offset:2px}
.market-wall-search button{background:#0f2d5b;color:#fff;border:1px solid #cd944b;font-weight:850}
.market-listing-card{border-color:#d2dce8;box-shadow:0 9px 24px rgba(15,45,91,.09)}
.market-listing-content{min-width:0}
.market-listing-content h3{color:#0f2d5b;overflow-wrap:anywhere}
.market-listing-content>p{overflow-wrap:anywhere}
.market-listing-price{color:#0f2d5b;background:#fff4da;border:1px solid #dfc38e;font-weight:900}
.market-publish-cta{border-width:2px;background:linear-gradient(110deg,#fff9eb,#eff4fa)}
.market-publish-cta button{font-weight:900}
.publish-choice-grid>button{border:1px solid #cad7e7;box-shadow:0 8px 20px rgba(15,45,91,.08)}
.publish-choice-grid>button:focus-visible{outline:3px solid #cd944b;outline-offset:3px}
@media(min-width:1180px){.market-wall{grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}}
@media(min-width:380px) and (max-width:760px){
  .market-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
  .market-listing-media{aspect-ratio:4/3}
  .market-listing-content{padding:.72rem;gap:.4rem}
  .market-listing-content h3{font-size:.98rem}
  .market-listing-meta,.market-listing-footer small{font-size:.73rem}
  .market-listing-footer{align-items:stretch;flex-direction:column}
  .market-listing-footer-actions{width:100%;justify-content:stretch}
  .market-listing-footer-actions button{display:block;width:100%;flex:1 0 100%;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:.55rem .4rem}
}
@media(max-width:379px){.market-wall{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.market-listing-card{transition:none}.market-listing-card:hover{transform:none}}
/* Black: charcoal surfaces instead of white cards; gold remains an accent,
   not a low-contrast text/background pairing. */
:root[data-c2w-theme="black"] .market-wall-search,
:root[data-c2w-theme="black"] .market-listing-card,
:root[data-c2w-theme="black"] .publish-choice-grid>button{
  background:#1b293b!important;color:#eef4ff!important;border-color:#415673!important;
}
:root[data-c2w-theme="black"] .market-wall-search{border-top-color:#d6a656!important}
:root[data-c2w-theme="black"] .market-wall-search :is(input,select){
  background:#0f1d30!important;color:#f1f5fd!important;border-color:#526882!important;
}
:root[data-c2w-theme="black"] .market-wall-search input::placeholder{color:#b6c9e2!important;opacity:1}
:root[data-c2w-theme="black"] .market-listing-content h3{color:#f2f6ff!important}
:root[data-c2w-theme="black"] .market-listing-content :is(p,small,.market-listing-meta){color:#c7d5e9!important}
:root[data-c2w-theme="black"] .market-listing-price{
  color:#ffdc98!important;background:#28384d!important;border-color:#927345!important;
}
:root[data-c2w-theme="black"] .market-listing-tags span{background:#2a3b52!important;color:#e6f0ff!important}
:root[data-c2w-theme="black"] .market-listing-media{background:#102239!important}
:root[data-c2w-theme="black"] .market-listing-type{background:#263c58ee!important;color:#fff3d6!important}
:root[data-c2w-theme="black"] .market-publish-cta{
  background:linear-gradient(105deg,#20334e,#17263a)!important;border-color:#d6a656!important;
}
:root[data-c2w-theme="black"] .market-publish-cta strong{color:#ffdb94!important}
:root[data-c2w-theme="black"] .market-publish-cta span{color:#dfebfd!important}
:root[data-c2w-theme="black"] .market-publish-cta button,
:root[data-c2w-theme="black"] .market-wall-search button{
  background:#e2ad55!important;color:#13243b!important;border-color:#ffe0a1!important;
}
:root[data-c2w-theme="black"] .publish-choice-grid>button :is(strong,span){color:#f2f6ff!important}
:root[data-c2w-theme="black"] .market-listing-card:hover{border-color:#d6a656!important}

/* Black product navigation: light lettering must never sit on a pale pill. */
:root[data-c2w-theme="black"] .market-mobile-product-switch .market-mobile-yeyvoz{
  background:#123b45!important;border-color:#61d5c9!important;
}
:root[data-c2w-theme="black"] .market-mobile-product-switch .market-mobile-yeyvoz :is(.yeyvoz-yey,.yeyvoz-voz,.yeyvoz-audio-mark){
  color:#bcfff0!important;-webkit-text-fill-color:#bcfff0!important;
}
:root[data-c2w-theme="black"] .market-mobile-product-switch .market-mobile-h14{
  background:#54263a!important;border-color:#f39ab4!important;color:#ffe1eb!important;
}
:root[data-c2w-theme="black"] .market-mobile-h14 .h14you-word{
  color:#ffe1eb!important;-webkit-text-fill-color:#ffe1eb!important;
}
/* The theme-swapped transparent W mark should not regain a white tile in Market. */
:root[data-c2w-theme="black"] .market-hero-mark{
  background:transparent!important;box-shadow:none!important;border:0!important;
}

/* Force an entire tap target in two-column mobile cards, not a narrow pill. */
@media(min-width:380px) and (max-width:760px){
 .market-wall .market-listing-card .market-listing-footer-actions{display:flex!important;width:100%!important}
 .market-wall .market-listing-card .market-listing-footer-actions>button{width:100%!important;min-width:100%!important;flex:0 0 100%!important;white-space:nowrap!important;font-size:.79rem}
}

/* v0.31.8: legible publishing modality summary under Black theme. */
:root[data-c2w-theme="black"] #listing-mode-summary{
  background:#24354b!important;color:#eef4fe!important;border:1px solid #b48c52!important;
}
:root[data-c2w-theme="black"] #listing-mode-summary strong{
  color:#ffda95!important;-webkit-text-fill-color:#ffda95!important;
}
:root[data-c2w-theme="black"] #listing-mode-summary span{
  color:#e9f1ff!important;-webkit-text-fill-color:#e9f1ff!important;
}

/* Four homepage video nav dots */
@media(max-width:650px){.market-hero-dots button{min-width:0;padding:.28rem .3rem;font-size:.59rem}.market-hero-carousel-controls{gap:.22rem}.market-hero-dots{gap:.15rem}}
