.ohes-market{--ohes-blue:#348dff;--ohes-gold:#f6cf69;--ohes-ink:#f6faff;max-width:1330px;margin:0 auto 50px;padding:0 18px;color:var(--ohes-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ohes-market *{box-sizing:border-box}.ohes-market a{text-decoration:none}.ohes-header{padding:clamp(32px,6vw,80px);margin:24px 0;border-radius:25px;background:radial-gradient(circle at 10% 5%,rgba(62,175,255,.24),transparent 40%),linear-gradient(130deg,#061226,#101e3b);border:1px solid rgba(125,169,241,.22)}
.ohes-eyebrow{font-size:12px;letter-spacing:.14em;font-weight:800;color:#79d9ff}.ohes-header h1{font-size:clamp(35px,6vw,67px);line-height:1.05;margin:14px 0;color:#fff}.ohes-header p{color:#c7d9ef;font-size:clamp(15px,1.8vw,19px);max-width:760px;line-height:1.7}.ohes-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.ohes-cta,.ohes-secondary{display:inline-block;padding:13px 20px;border-radius:10px;font-weight:800}.ohes-cta{background:var(--ohes-gold);color:#111b30!important}.ohes-secondary{background:#1a365b;border:1px solid #486b9e;color:#fff!important}
.ohes-filter{background:#0d203b;color:#fff;border-radius:16px;padding:18px 22px;margin:20px 0}.ohes-filter label{display:block;font-weight:800;margin-bottom:10px}.ohes-filter>div{display:flex;gap:10px;flex-wrap:wrap}.ohes-filter input,.ohes-filter select{min-width:160px;min-height:45px;flex:1 1 190px;background:#fff;color:#12243a;border-radius:9px;border:1px solid #bdd5ee;padding:9px 12px}.ohes-filter button{border:0;border-radius:9px;min-height:45px;background:var(--ohes-blue);color:#fff;font-weight:850;padding:10px 23px;cursor:pointer}
.ohes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:19px}.ohes-product{background:#0d203b;border:1px solid rgba(120,174,244,.28);border-radius:16px;overflow:hidden}.ohes-img{display:flex;align-items:center;justify-content:center;background:#193151;height:210px}.ohes-img img{width:100%;height:100%;object-fit:cover}.ohes-placeholder{font-size:58px;color:#a7ccff}.ohes-item-body{padding:19px}.ohes-seller{color:#7de0e8;font-size:12px;font-weight:800;margin-bottom:9px}.ohes-item-body h2{font-size:20px;line-height:1.3;margin:0 0 12px}.ohes-item-body h2 a{color:#fff}.ohes-price{font-weight:850;color:#f9d97e}.ohes-price *{color:inherit}.ohes-view{display:inline-flex;margin-top:19px;background:#286fe2;color:#fff!important;border-radius:9px;padding:10px 13px;font-weight:800}.ohes-empty,.ohes-info{background:#0f2542;border:1px solid rgba(120,174,244,.27);border-radius:13px;padding:23px;margin:20px 0;color:#dae6f7}.ohes-empty p{margin-bottom:0}.ohes-info a{color:#8ddafa}.ohes-fine{color:#7d95b7;font-size:12px;line-height:1.6}.ohes-pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.ohes-pagination a,.ohes-pagination strong{display:inline-grid;place-items:center;min-width:36px;height:36px;border-radius:8px;background:#1d3c68;color:#fff}.ohes-pagination strong{background:#347ee4}
@media(max-width:680px){.ohes-header{padding:32px 23px}.ohes-filter{padding:16px}.ohes-filter>div>*{width:100%}.ohes-market{padding:0 12px}}
.ohes-owner-host,.ohes-owner-in-engine{color:#e8f3ff;background:#0d203b;border:1px solid #335177;border-radius:16px;padding:22px;margin:18px 0;font-family:system-ui,sans-serif;line-height:1.5}
.ohes-owner-host *,.ohes-owner-in-engine *{box-sizing:border-box}.ohes-owner-h h3{margin:0 0 8px;color:#fff}.ohes-owner-h p{margin:5px 0 17px;color:#bdcee9}
.ohes-owner-host label,.ohes-owner-in-engine label{display:grid;gap:5px;font-size:13px;font-weight:700}
.ohes-owner-host input,.ohes-owner-host select,.ohes-owner-host textarea,.ohes-owner-in-engine input,.ohes-owner-in-engine select,.ohes-owner-in-engine textarea{width:100%;background:#fff!important;color:#16283c!important;border:1px solid #b9d0f1;border-radius:9px;padding:10px;min-height:42px}
.ohes-owner-in-engine textarea,.ohes-owner-host textarea{min-height:90px}.ohes-owner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:13px 0}
.ohes-owner-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.ohes-owner-actions button,.ohes-owner-actions a{background:#296af0;border:0;color:white!important;padding:11px 16px;border-radius:10px;cursor:pointer;font-weight:800;text-decoration:none}
.ohes-owner-actions a{background:#1e4569}.ohes-owner-msg{color:#d1f1ff;min-height:1.3em}.ohes-owner-msg.error{color:#ffc5c5}
.ohes-owner-table{width:100%;border-collapse:collapse}.ohes-owner-table td,.ohes-owner-table th{border-bottom:1px solid #36516e;text-align:left;padding:9px;font-size:13px}.ohes-owner-table td a{color:#8dd9ff}
.ohes-owner-state{padding:10px;background:#193451;border-radius:9px}.ohes-owner-hint{font-size:12px;color:#b4c4db}
@media(max-width:700px){.ohes-owner-grid{grid-template-columns:1fr}.ohes-owner-host,.ohes-owner-in-engine{padding:13px}.ohes-owner-table{display:block;overflow-x:auto}}
/* R87 prominent seller navigation and Engine overlay - survives native Engine re-renders. */
#oaw-app button.ohes-nav-button{display:block!important;position:relative;min-height:42px;margin:8px 6px;padding:9px 13px;border-radius:10px;border:1px solid #65bcff;background:linear-gradient(90deg,#114e92,#13365b);color:#fff;font:inherit;font-size:13px;font-weight:800;text-align:left;cursor:pointer;white-space:normal}
#oaw-app button.ohes-nav-button:hover,#oaw-app button.ohes-nav-button:focus-visible{background:#2675c3;outline:2px solid #c4e8ff}
.ohes-overlay[hidden]{display:none!important}.ohes-overlay{position:fixed;inset:0;z-index:2147482000;background:rgba(0,6,18,.82);display:flex;justify-content:center;align-items:flex-start;padding:4vh 3vw;overflow:auto}
.ohes-overlay-open{overflow:hidden}.ohes-overlay-panel{width:min(1200px,100%);max-height:92vh;overflow:auto;border:1px solid #3b6d9d;border-radius:18px;background:#07172d;box-shadow:0 15px 80px #000b}
.ohes-overlay-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;color:#fff;position:sticky;top:0;background:#102542;z-index:1;border-bottom:1px solid #385c83}
.ohes-overlay-top>div{display:flex;gap:10px;align-items:center}.ohes-overlay-top a{color:#91deff}.ohes-overlay-top button{background:#244e82;color:white;border:1px solid #5d9cd5;padding:9px 11px;border-radius:8px;cursor:pointer}
.ohes-overlay .ohes-owner-in-engine{margin:0;border:0;border-radius:0;min-height:450px}
.ohes-select-source{border:1px solid #2f6798;background:#102c4d;padding:16px;border-radius:12px;margin:20px 0}.ohes-select-source p{color:#b8d2f1;font-size:13px}.ohes-select-source .ohes-owner-actions select{flex:1 1 300px;min-width:0;min-height:46px;background:#fff;color:#17283e;border-radius:9px;padding:10px}
.ohes-owner-capacity{font-size:13px;color:#c7dfff;padding:10px 14px;background:#173451;border-radius:9px}
@media(max-width:700px){.ohes-overlay{padding:0}.ohes-overlay-panel{border-radius:0;max-height:100vh}.ohes-overlay-top{padding:10px;flex-wrap:wrap}.ohes-select-source{padding:11px}.ohes-owner-actions select{width:100%}}
/* R88: engine-first storefront directory, Engine-specific browsing and filters. */
.ohes-store-header{margin-bottom:20px}
.ohes-directory-title{margin:20px 0 10px}.ohes-directory-title h2{font-size:clamp(24px,3vw,34px);color:#fff;margin:0 0 5px}.ohes-directory-title p{color:#b9d4f0;margin:0}
.ohes-directory-count{color:#accdeb;font-size:14px;margin:15px 0;font-weight:700}
.ohes-engine-card{display:flex;flex-direction:column;min-height:300px}
.ohes-engine-card .ohes-item-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1}
.ohes-engine-card h3{font-size:clamp(20px,2.2vw,25px);line-height:1.22;margin:0}.ohes-engine-card h3 a{color:#fff}
.ohes-engine-card .ohes-view{margin-top:auto}
.ohes-engine-card p{color:#c2d5ea;line-height:1.55;margin:5px 0 12px}
.ohes-engine-emblem{background:radial-gradient(circle at 55% 10%,#4a68ad,#142a4d 55%,#0e2140);height:108px;color:#f9d680;font-size:54px;display:grid;place-items:center;border-bottom:1px solid #466693}
.ohes-store-stats{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}
.ohes-store-stats span{padding:5px 8px;border-radius:20px;background:#1e416c;color:#d2e9ff;font-size:12px;font-weight:750}
.ohes-store-breadcrumb{margin:22px 0;color:#a1d8f5;font-size:14px;font-weight:750}
.ohes-store-breadcrumb a{color:#83dcff}.ohes-store-breadcrumb span{padding:0 10px;color:#9cb8d7}
.ohes-detail-header{margin-top:0}
.ohes-kind-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 22px}
.ohes-kind-tabs a{display:inline-flex;align-items:center;gap:8px;color:#dcefff;background:#193657;border:1px solid #476b95;padding:11px 15px;border-radius:11px;font-weight:750}
.ohes-kind-tabs a.ohes-active{background:#266dc3;color:#fff;border-color:#7cc9ff}
.ohes-kind-tabs span{font-size:12px;background:#0e2446;border-radius:15px;padding:3px 7px}
.ohes-offer-art{border-bottom:1px solid #3e5d85}
.ohes-item-body p{color:#bed0e8;line-height:1.6;font-size:14px}
.ohes-support-types{color:#aee7ff!important}
@media(max-width:680px){.ohes-kind-tabs{gap:6px}.ohes-kind-tabs a{padding:9px 10px;font-size:12px}.ohes-engine-emblem{height:88px}}

/* R89: priority OnHosty Admin Engine and explicit owner marketplace enrollment. */
.ohes-engine-featured{border:2px solid #f6cf69;background:linear-gradient(155deg,#1d3153,#112a49 68%);box-shadow:0 0 0 2px rgba(246,207,105,.13),0 22px 55px rgba(0,0,0,.23)}
.ohes-engine-featured .ohes-engine-emblem{background:radial-gradient(circle at 50% 0%,#9c7730,#222e50 70%);color:#ffe7a4}
.ohes-engine-featured .ohes-seller{color:#ffdf91}
.ohes-featured-detail{border:2px solid rgba(246,207,105,.75);background:radial-gradient(circle at 8% 0%,rgba(246,207,105,.18),transparent 35%),linear-gradient(130deg,#061226,#101e3b)}
.ohes-enrollment{border:1px solid #4271a9;background:#142d4e;padding:17px;border-radius:14px;margin:18px 0}
.ohes-enrollment h4{font-size:19px;color:#fff;margin:6px 0}.ohes-enrollment p{color:#c0d8ef;margin:7px 0 13px}
.ohes-enroll-tag{font-size:11px;letter-spacing:.12em;font-weight:850;color:#92d9ff}
.ohes-admin-enrollment{border-color:#c89d52;background:linear-gradient(135deg,#383125,#182b48)}
.ohes-admin-enrollment .ohes-enroll-tag{color:#ffe3a0}

/* R90: Full admin catalog finder and metered market capacity */
.ohes-search-results{max-height:300px;overflow:auto;margin:12px 0}.ohes-search-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(149,171,208,.22)}.ohes-search-row span{min-width:0;overflow-wrap:anywhere}.ohes-search-row button{flex-shrink:0}.ohes-owner-actions input[type=search]{min-width:230px;max-width:100%;flex:1}.ohes-enrollment button:disabled{opacity:.6;cursor:not-allowed}
/* R91: Market-origin sales-page descriptions and safe image galleries */
.ohes-market-offer-detail{max-width:960px;margin:20px auto 42px;padding:20px;border:1px solid rgba(120,150,180,.25);border-radius:16px;background:rgba(22,32,53,.20)}
.ohes-market-offer-detail h1{font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.15;margin:0 0 1rem}
.ohes-market-primary-image img{max-height:420px;width:auto;max-width:100%;object-fit:contain;border-radius:12px}
.ohes-market-gallery{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.ohes-market-gallery img{width:110px;height:110px;object-fit:cover;border-radius:8px}
.ohes-market-description{overflow-wrap:anywhere;margin:20px 0;line-height:1.6}
.ohes-market-description img{max-width:100%;height:auto}

.ohes-catalog-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.ohes-catalog-tabs button[aria-pressed="true"]{background:#2374d6;color:white}.ohes-visual-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.ohes-visual-card{padding:12px;border:1px solid #43617e;border-radius:10px;display:flex;flex-direction:column;gap:6px;min-width:0}.ohes-visual-card strong{overflow-wrap:anywhere}.ohes-visual-card p{font-size:12px;flex:1}.ohes-visual-image{height:120px;background:#172a43;display:grid;place-items:center;border-radius:8px;font-size:30px}.ohes-visual-image img{width:100%;height:100%;object-fit:contain}.ohes-visual-card .ohes-owner-actions{flex-wrap:wrap}.ohes-visual-card button{font-size:12px}.ohes-visual-grid{min-height:60px}@media(max-width:650px){.ohes-visual-items{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* R94: compact accessible buyer-access, asset-picker and private-delivery panels */
.ohes-download-selector{border:1px solid rgba(120,169,226,.28);border-radius:12px;padding:14px;margin:14px 0;background:rgba(14,34,64,.55)}
.ohes-download-selector h4{margin-top:0}.ohes-private-list{max-height:225px;overflow:auto;margin-top:10px}
.ohes-private-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px;border-bottom:1px solid rgba(130,172,229,.18)}
.ohes-private-row span{overflow-wrap:anywhere;min-width:0}.ohes-access-note{font-size:.92rem;margin:10px 0;padding:8px 12px;background:rgba(81,135,200,.08);border-left:3px solid #468dea}
.ohes-owner-in-engine [data-ohes-file-input]{max-width:100%;margin:8px 0 14px}.ohes-select-source [name=catalog-access-mode]{max-width:100%;min-height:35px}
