:root {
  --color-navy: #051d40;
  --color-orange: #fe7908;
  --color-yellow: #fab326;
  --color-red: #e43917;
  --color-slate: #394a63;
  --color-background: #f5f7fb;
  --color-white: #fff;
  --color-border: #dfe5ee;
  --color-muted: #66758a;
  --color-success: #176b4d;
  --shadow-sm: 0 2px 12px rgb(5 29 64 / 8%);
  --shadow-md: 0 16px 40px rgb(5 29 64 / 14%);
  --radius-sm: .65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --container: 76rem;
  --header-height: 4.5rem;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--color-background); color: var(--color-navy); line-height: 1.55; }
body.has-overlay { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; opacity: .62; }
:focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .65em; color: var(--color-navy); line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 6vw, 3.15rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.35rem, 4vw, 2.1rem); letter-spacing: -.02em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
main { min-height: 55vh; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(2.2rem, 6vw, 4.5rem); }
.section--compact { padding-block: 1.5rem; }
.section--white { background: var(--color-white); }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-header p { color: var(--color-muted); }
.surface { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-white); box-shadow: var(--shadow-sm); }
.surface__body { padding: clamp(1rem, 3vw, 1.5rem); }
.stack { display: grid; gap: 1rem; }
.stack--large { gap: 1.5rem; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.split > * { min-width: 0; }
.muted { color: var(--color-muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: .5rem; left: .5rem; transform: translateY(-150%); border-radius: .5rem; background: var(--color-white); padding: .8rem 1rem; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .45rem; border: 1px solid transparent; border-radius: .75rem; padding: .65rem 1rem; font-weight: 750; line-height: 1.1; text-align: center; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--color-orange); color: var(--color-white); box-shadow: 0 6px 16px rgb(254 121 8 / 22%); }
.button--primary:hover { background: #df6500; }
.button--secondary { border-color: #aab8ca; background: var(--color-white); color: var(--color-navy); }
.button--danger { background: var(--color-red); color: var(--color-white); }
.button--ghost { border-color: transparent; background: transparent; color: inherit; }
.button--small { min-height: 44px; padding: .55rem .85rem; font-size: .9rem; }
.button--wide { width: 100%; }
.icon-button { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--color-border); border-radius: .75rem; background: var(--color-white); color: var(--color-navy); font-size: 1.35rem; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; border: 0; background: none; color: #ac4d00; font-weight: 700; text-decoration: underline; }

.site-header { position: sticky; z-index: 80; top: 0; border-bottom: 1px solid var(--color-border); background: rgb(255 255 255 / 96%); backdrop-filter: blur(12px); }
.header-row { display: flex; min-height: var(--header-height); align-items: center; gap: .75rem; }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: .55rem; color: var(--color-navy); font-size: 1.08rem; font-weight: 850; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand--compact img { width: 40px; height: 40px; }
.brand--center { display: flex; justify-content: center; font-size: 1.25rem; }
.brand--center img { width: 72px; height: 72px; }
.header-search { position: relative; display: none; flex: 1; max-width: 32rem; }
.header-search input { width: 100%; min-height: 44px; border: 1px solid var(--color-border); border-radius: .75rem 0 0 .75rem; padding: .65rem .85rem; background: var(--color-background); }
.header-search .button { border-radius: 0 .75rem .75rem 0; }
.desktop-nav { display: none; margin-left: auto; align-items: center; gap: .25rem; }
.desktop-nav > a:not(.button) { min-height: 44px; align-content: center; padding: .6rem .55rem; font-size: .9rem; font-weight: 650; text-decoration: none; }
.mobile-only { margin-left: auto; }
.suggestions { position: absolute; z-index: 95; top: calc(100% + .4rem); right: 0; left: 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: .8rem; background: var(--color-white); box-shadow: var(--shadow-md); }
.suggestions a, .suggestions [role="option"] { display: block; min-height: 44px; padding: .7rem .85rem; text-decoration: none; }
.suggestions a:hover, .suggestions [aria-selected="true"] { background: #fff4e9; }

.drawer { position: fixed; z-index: 110; inset-block: 0; left: 0; width: min(88vw, 21rem); overflow-y: auto; transform: translateX(-105%); background: var(--color-white); box-shadow: var(--shadow-md); transition: transform .22s ease; }
.drawer--right { right: 0; left: auto; transform: translateX(105%); padding: 1rem; }
.drawer.is-open { transform: translateX(0); }
.drawer a { display: flex; min-height: 48px; align-items: center; border-bottom: 1px solid var(--color-border); padding: .65rem; font-weight: 700; text-decoration: none; }
.drawer__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.drawer-backdrop { position: fixed; z-index: 100; inset: 0; border: 0; background: rgb(5 29 64 / 58%); }

.hero { overflow: hidden; background: linear-gradient(145deg, var(--color-navy), #0d376c); color: var(--color-white); }
.hero__inner { display: grid; min-height: clamp(29rem, 62vw, 38rem); align-items: center; gap: 1.5rem; padding-block: 3rem; }
.hero h1, .hero h2 { color: var(--color-white); }
.hero__copy > p { max-width: 44rem; color: #dce7f5; font-size: clamp(1rem, 2.5vw, 1.2rem); }
.hero__art { display: none; justify-self: center; width: min(100%, 25rem); filter: drop-shadow(0 22px 34px rgb(0 0 0 / 24%)); }
.hero-search { max-width: 47rem; border-radius: var(--radius-md); background: var(--color-white); padding: .55rem; box-shadow: var(--shadow-md); color: var(--color-navy); }
.hero-search__type { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-bottom: .55rem; }
.segmented input { position: absolute; opacity: 0; }
.segmented label { display: flex; min-height: 44px; align-items: center; justify-content: center; border-radius: .6rem; background: var(--color-background); font-weight: 750; cursor: pointer; }
.segmented input:checked + label { background: var(--color-navy); color: var(--color-white); }
.hero-search__row { display: flex; gap: .4rem; }
.hero-search__row input { min-width: 0; flex: 1; border: 1px solid var(--color-border); border-radius: .65rem; padding: .7rem; }
.trust-points { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: 1rem; color: #dce7f5; font-size: .9rem; }

.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.category-card { display: grid; min-height: 7rem; align-content: center; gap: .35rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-white); padding: 1rem; box-shadow: var(--shadow-sm); text-decoration: none; }
.category-card__icon { font-size: 1.7rem; }
.category-card span:last-child { color: var(--color-muted); font-size: .83rem; }
.listing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.listing-card { position: relative; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-white); box-shadow: var(--shadow-sm); }
.listing-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9edf4; }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.listing-card:hover .listing-card__media img { transform: scale(1.025); }
.listing-card__body { padding: 1rem; }
.listing-card h3 { min-height: 2.5em; margin-bottom: .35rem; }
.listing-card h3 a { text-decoration: none; }
.listing-card__price { color: #b54e00; font-size: 1.13rem; font-weight: 850; }
.listing-card__meta, .listing-card__seller { display: flex; justify-content: space-between; gap: .5rem; color: var(--color-muted); font-size: .82rem; }
.listing-card__seller { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--color-border); }
.badge { position: absolute; top: .65rem; left: .65rem; border-radius: 999px; padding: .32rem .58rem; background: var(--color-navy); color: var(--color-white); font-size: .75rem; font-weight: 800; }
.badge--wanted { background: var(--color-red); }
.badge--featured { right: .65rem; left: auto; background: var(--color-yellow); color: var(--color-navy); }
.verified { color: var(--color-success); font-weight: 750; }
.favorite-button { position: absolute; top: .55rem; right: .55rem; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--color-slate); font-size: 1.3rem; box-shadow: var(--shadow-sm); }
.listing-card .favorite-button { top: 3.3rem; }
.favorite-button.is-active { color: var(--color-red); }

.breadcrumbs { padding-block: 1rem; overflow-x: auto; color: var(--color-muted); font-size: .86rem; white-space: nowrap; }
.breadcrumbs ol { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; margin-right: .4rem; color: #9ba7b7; }
.page-header { padding-block: 1.5rem 1rem; }
.page-header p { max-width: 50rem; color: var(--color-muted); }
.content-grid { display: grid; gap: 1rem; }
.filter-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.filter-panel { padding: 1rem; }
.filter-panel__header { display: flex; align-items: center; justify-content: space-between; }
.results-area[aria-busy="true"] { opacity: .55; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.pagination > :last-child { justify-self: end; }

.field { display: grid; gap: .35rem; }
.field label, .field legend { font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; border: 1px solid #aab8ca; border-radius: .68rem; background: var(--color-white); padding: .7rem .8rem; color: var(--color-navy); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-orange); box-shadow: 0 0 0 3px rgb(254 121 8 / 13%); outline: none; }
.field__hint { color: var(--color-muted); font-size: .83rem; }
.field__error { min-height: 1.15em; color: #b6230a; font-size: .84rem; font-weight: 650; }
.field-row { display: grid; gap: 1rem; }
.choice { display: flex; min-height: 44px; align-items: flex-start; gap: .65rem; }
.choice input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: 0 0 auto; accent-color: var(--color-orange); }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: .5rem; }
.form-summary { border-left: 4px solid var(--color-red); border-radius: .5rem; background: #fff1ee; padding: .8rem 1rem; color: #7b1807; }
.password-meter { height: .35rem; overflow: hidden; border-radius: 999px; background: var(--color-border); }
.password-meter span { display: block; width: var(--strength, 0%); height: 100%; background: var(--color-orange); transition: width .2s ease; }

.alert { border: 1px solid; border-radius: .75rem; padding: .8rem 1rem; }
.alert--success { border-color: #9dceb9; background: #edf9f4; color: #10563e; }
.alert--danger { border-color: #efb1a5; background: #fff1ee; color: #861d0b; }
.alert--warning { border-color: #e9cb7c; background: #fff9e7; color: #674800; }
.alert--info { border-color: #a9c9e9; background: #eff7ff; color: #123f6d; }
.empty-state { display: grid; min-height: 16rem; place-items: center; align-content: center; border: 1px dashed #b8c2d0; border-radius: var(--radius-md); background: var(--color-white); padding: 2rem 1rem; text-align: center; }
.empty-state__icon { font-size: 2.5rem; }
.skeleton { position: relative; overflow: hidden; min-height: 1rem; border-radius: .4rem; background: #e5eaf1; }
.skeleton::after { position: absolute; inset: 0; content: ''; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / 75%), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.spinner { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

.modal { position: fixed; z-index: 150; inset: 0; display: grid; align-items: end; padding: 0; background: rgb(5 29 64 / 62%); }
.modal[hidden] { display: none; }
.modal__panel { max-height: 92dvh; overflow-y: auto; border-radius: 1.25rem 1.25rem 0 0; background: var(--color-white); padding: 1.25rem; box-shadow: var(--shadow-md); }
.modal__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.toast-region { position: fixed; z-index: 210; right: 1rem; bottom: calc(5.5rem + env(safe-area-inset-bottom)); left: 1rem; display: grid; gap: .5rem; pointer-events: none; }
.toast { border-radius: .75rem; background: var(--color-navy); padding: .85rem 1rem; color: var(--color-white); box-shadow: var(--shadow-md); pointer-events: auto; }
.toast--error { background: #8f230f; }
.toast--success { background: var(--color-success); }
.cookie-banner { position: fixed; z-index: 130; right: 1rem; bottom: calc(5.5rem + env(safe-area-inset-bottom)); left: 1rem; border: 1px solid var(--color-border); border-radius: 1rem; background: var(--color-white); padding: 1rem; box-shadow: var(--shadow-md); }
.cookie-banner p { color: var(--color-muted); font-size: .9rem; }

.mobile-bottom-nav { position: fixed; z-index: 75; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); min-height: calc(4.25rem + env(safe-area-inset-bottom)); padding: .35rem .2rem env(safe-area-inset-bottom); border-top: 1px solid var(--color-border); background: rgb(255 255 255 / 97%); }
.mobile-bottom-nav a { display: grid; min-width: 0; min-height: 52px; place-items: center; align-content: center; gap: .08rem; color: var(--color-slate); font-size: .66rem; font-weight: 700; text-align: center; text-decoration: none; }
.mobile-bottom-nav a span:first-child { font-size: 1.2rem; }
.mobile-bottom-nav__create { transform: translateY(-.65rem); border-radius: .9rem; background: var(--color-orange); color: var(--color-white) !important; box-shadow: var(--shadow-md); }
.site-footer { margin-bottom: 4.25rem; background: var(--color-navy); padding-block: 2.5rem 1.2rem; color: #dce7f5; }
.site-footer h2 { color: var(--color-white); font-size: 1rem; }
.site-footer a { color: inherit; text-decoration: none; }
.footer-grid { display: grid; gap: 1.7rem; }
.footer-grid nav { display: grid; align-content: start; gap: .45rem; }
.footer-grid nav a { width: fit-content; opacity: .86; transition: color .16s ease, opacity .16s ease, transform .16s ease; }
.footer-grid nav a:hover, .footer-grid nav a:focus-visible { color: var(--color-white); opacity: 1; transform: translateX(2px); }
.brand--footer { color: var(--color-white); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / 18%); font-size: .82rem; }
.footer-bottom small { font-size: .92rem; }
.footer-payments { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; margin-left: auto; }
.footer-payment-logo { display: block; width: 44px; height: 28px; flex: 0 0 44px; object-fit: contain; border: 1px solid rgb(255 255 255 / 18%); border-radius: .28rem; background: #fff; padding: 3px 4px; }

.listing-detail { display: grid; gap: 1rem; }
.gallery { display: grid; gap: .5rem; }
.gallery__main { overflow: hidden; border-radius: var(--radius-md); background: #e7ebf1; aspect-ratio: 4 / 3; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-auto-columns: 4.5rem; grid-auto-flow: column; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; }
.gallery__thumbs button { width: 4.5rem; height: 4.5rem; overflow: hidden; border: 2px solid transparent; border-radius: .6rem; padding: 0; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--color-orange); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price { color: #b54e00; font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 900; }
.detail-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; color: var(--color-muted); }
.key-value { display: grid; grid-template-columns: minmax(7rem, 40%) 1fr; margin: 0; }
.key-value dt, .key-value dd { margin: 0; padding: .65rem; border-bottom: 1px solid var(--color-border); }
.key-value dt { color: var(--color-muted); }
.seller-card { padding: 1.1rem; }
.store-cover { min-height: 11rem; overflow: hidden; background: linear-gradient(135deg, var(--color-navy), var(--color-slate)); }
.store-cover img { width: 100%; height: 14rem; object-fit: cover; }
.seller-card__head { display: flex; gap: .8rem; align-items: center; }
.avatar { display: grid; width: 3.5rem; height: 3.5rem; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 50%; background: #e7edf6; font-weight: 850; }
.sticky-actions { position: sticky; z-index: 40; bottom: calc(4.25rem + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0 -1rem; padding: .75rem 1rem; border-top: 1px solid var(--color-border); background: var(--color-white); box-shadow: 0 -8px 18px rgb(5 29 64 / 8%); }
.review-stars { color: #a15d00; }

.dashboard-layout { display: grid; gap: 1rem; }
.dashboard-nav { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; }
.dashboard-nav a { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; border: 1px solid var(--color-border); border-radius: .7rem; background: var(--color-white); padding: .55rem .8rem; font-weight: 700; text-decoration: none; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.metric { border: 1px solid var(--color-border); border-radius: .8rem; background: var(--color-white); padding: 1rem; }
.metric strong { display: block; font-size: 1.6rem; }
.status { display: inline-flex; min-height: 28px; align-items: center; border-radius: 999px; padding: .2rem .55rem; background: #e9edf4; color: var(--color-slate); font-size: .78rem; font-weight: 800; }
.status--active, .status--approved, .status--accepted, .status--resolved { background: #e4f5ee; color: #12563f; }
.status--pending, .status--reviewing { background: #fff5d9; color: #6f5000; }
.status--rejected, .status--ban, .status--deleted { background: #ffebe7; color: #8a1e0b; }
.list-row { display: grid; gap: .7rem; border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.list-row:last-child { border-bottom: 0; }
.conversation-layout { display: grid; min-height: 34rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: var(--color-white); }
.conversation-list { border-bottom: 1px solid var(--color-border); }
.conversation-list a { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; min-height: 68px; align-items: center; padding: .75rem; border-bottom: 1px solid var(--color-border); text-decoration: none; }
.message-panel { display: grid; grid-template-rows: auto 1fr auto; min-height: 34rem; }
.messages { display: flex; flex-direction: column; gap: .5rem; overflow-y: auto; padding: 1rem; }
.message { max-width: 82%; border-radius: .9rem .9rem .9rem .2rem; background: #edf1f7; padding: .65rem .8rem; }
.message--mine { align-self: flex-end; border-radius: .9rem .9rem .2rem .9rem; background: #fff0e2; }
.message-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--color-border); }
.message-form textarea { min-width: 0; min-height: 46px; max-height: 8rem; flex: 1; resize: vertical; border: 1px solid #aab8ca; border-radius: .7rem; padding: .65rem; }

.wizard-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; margin-bottom: 1.2rem; }
.wizard-progress span { height: .35rem; border-radius: 999px; background: var(--color-border); }
.wizard-progress span.is-done, .wizard-progress span.is-current { background: var(--color-orange); }
.wizard-steps { margin-bottom: 1rem; overflow: hidden; }
.wizard-steps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.wizard-steps li { display: grid; min-width: 0; justify-items: center; gap: .3rem; padding-inline: .15rem; color: var(--color-muted); font-size: clamp(.68rem, 2.8vw, .85rem); line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.wizard-steps li span { display: grid; width: 2rem; height: 2rem; place-items: center; border: 2px solid var(--color-border); border-radius: 50%; background: var(--color-white); font-weight: 800; }
.wizard-steps li[aria-current="step"] { color: var(--color-navy); font-weight: 750; }
.wizard-steps li[aria-current="step"] span { border-color: var(--color-orange); background: var(--color-orange); color: var(--color-white); }
.upload-zone { display: grid; min-height: 12rem; place-items: center; border: 2px dashed #9eabbc; border-radius: 1rem; padding: 1.2rem; text-align: center; }
.upload-progress { min-height: 1.5rem; color: var(--color-muted); }
.upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.upload-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: .8rem; background: #e8edf4; }
.upload-item img { width: 100%; height: 100%; object-fit: cover; }

.auth-shell { min-height: 100dvh; background: linear-gradient(150deg, #f5f7fb, #fff0e3); }
.auth-header { padding: 1rem; text-align: center; }
.auth-main { display: grid; width: min(100% - 2rem, 34rem); min-height: calc(100dvh - 7rem); margin-inline: auto; align-content: center; padding-block: 1rem 3rem; }
.auth-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-white); padding: clamp(1.1rem, 5vw, 2rem); box-shadow: var(--shadow-md); }
.auth-card .split a { display: inline-flex; min-height: 44px; align-items: center; }

.admin-shell { background: #eef2f7; }
.admin-topbar { position: sticky; z-index: 85; top: 0; display: flex; min-height: 4.2rem; align-items: center; justify-content: space-between; gap: .7rem; border-bottom: 1px solid var(--color-border); background: var(--color-white); padding: .55rem 1rem; }
.admin-topbar .brand span { display: none; }
.admin-layout { display: grid; }
.admin-nav { padding: .8rem; }
.admin-nav nav { display: grid; }
.admin-content { width: 100%; max-width: 100%; padding: 1rem; overflow: hidden; }
.data-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--color-border); border-radius: .8rem; background: var(--color-white); }
.data-table { width: 100%; min-width: 44rem; border-collapse: collapse; }
.data-table th, .data-table td { padding: .75rem; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.data-table th { background: #f0f3f7; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.data-table td:last-child { white-space: nowrap; }
.admin-filters { display: grid; gap: .75rem; margin-bottom: 1rem; }
.chart { display: flex; min-height: 10rem; align-items: end; gap: .5rem; padding: 1rem; }
.chart__bar { min-width: 1.2rem; flex: 1; height: var(--value, 20%); border-radius: .35rem .35rem 0 0; background: linear-gradient(var(--color-orange), var(--color-yellow)); }

.eyebrow { display: block; margin-bottom: .45rem; color: #b65200; font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.site-header { box-shadow: 0 4px 20px rgb(5 29 64 / 5%); }
.desktop-nav > a:not(.button):hover { border-radius: .6rem; background: #fff4e9; color: #9b4500; }
.hero { position: relative; background: linear-gradient(140deg, #031831 0%, var(--color-navy) 42%, #0c3e76 100%); }
.hero::before { position: absolute; width: 28rem; height: 28rem; border-radius: 50%; background: radial-gradient(circle, rgb(254 121 8 / 22%), transparent 68%); content: ''; right: -10rem; top: -13rem; }
.hero__inner { position: relative; min-height: clamp(26rem, 54vw, 33rem); gap: 2rem; }
.hero__art { width: min(100%, 22rem); border: 1px solid rgb(255 255 255 / 14%); border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 13%), rgb(255 255 255 / 2%) 66%); padding: 1.5rem; }
.hero .alert--warning { color: #674800 !important; }
.category-card { position: relative; min-height: 7.5rem; overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.category-card::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--color-orange); content: ''; opacity: 0; transition: opacity .18s ease; }
.category-card:hover { transform: translateY(-3px); border-color: #f5b47e; box-shadow: var(--shadow-md); }
.category-card:hover::before { opacity: 1; }
.listing-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.listing-card:hover { transform: translateY(-3px); border-color: #c8d5e4; box-shadow: var(--shadow-md); }
.seller-card h3 a, .article-card h2 a { text-decoration: none; }
.article-card { overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.prose { max-width: 54rem; margin-inline: auto; }
.prose h2, .prose h3 { margin-top: 1.8em; margin-bottom: .6em; }
.prose p, .prose li { color: var(--color-slate); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .45rem; }
.page-content { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.home-guide { display: grid; gap: 1.5rem; }
.home-guide > div:first-child { max-width: 52rem; }
.home-guide__steps { display: grid; gap: .8rem; }
.home-guide__steps article { border-left: 3px solid var(--color-orange); border-radius: .5rem; background: var(--color-background); padding: 1rem; }
.home-guide__steps article > strong { color: var(--color-orange); font-size: 1.35rem; }
.home-guide__steps h3 { margin: .15rem 0 .35rem; }
.home-guide__steps p { margin: 0; color: var(--color-muted); }

.admin-topbar { border-bottom-color: rgb(255 255 255 / 12%); background: var(--color-navy); color: var(--color-white); box-shadow: 0 8px 28px rgb(5 29 64 / 18%); }
.admin-topbar .brand { color: var(--color-white); }
.admin-topbar .icon-button { border-color: rgb(255 255 255 / 25%); background: rgb(255 255 255 / 10%); color: var(--color-white); }
.admin-topbar__actions { display: flex; align-items: center; gap: .35rem; }
.admin-user { display: none; max-width: 15rem; overflow: hidden; color: #c9d8e9; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-nav { border-right: 1px solid var(--color-border); background: #f9fbfd; }
.admin-nav nav { gap: .16rem; }
.admin-nav nav a { min-height: 44px; gap: .65rem; border: 0; border-radius: .65rem; color: var(--color-slate); font-size: .9rem; }
.admin-nav nav a > span { display: inline-grid; width: 1.4rem; place-items: center; color: #64758b; }
.admin-nav nav a:hover { background: #edf2f8; color: var(--color-navy); }
.admin-nav nav a.is-active { background: var(--color-navy); color: var(--color-white); box-shadow: 0 7px 16px rgb(5 29 64 / 16%); }
.admin-nav nav a.is-active > span { color: var(--color-yellow); }
.admin-nav__label { margin: 1rem .65rem .25rem; color: #8492a5; font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.admin-nav__label:first-child { margin-top: .3rem; }
.metric { background: linear-gradient(145deg, var(--color-white), #f8fbff); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.metric:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.metric small { color: var(--color-muted); }
.admin-welcome { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.admin-dashboard-grid { display: grid; gap: 1rem; }
.health-list { display: grid; gap: .3rem; }
.health-list > div { display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid var(--color-border); padding: .7rem 0; }
.health-list > div:last-child { border-bottom: 0; }
.health-list span:last-child { display: grid; }
.health-list small, .compact-list small { display: block; color: var(--color-muted); }
.health-dot { width: .7rem; height: .7rem; flex: 0 0 auto; border-radius: 50%; }
.health-dot.is-ok { background: #20a372; box-shadow: 0 0 0 4px rgb(32 163 114 / 12%); }
.health-dot.is-warning { background: #d78900; box-shadow: 0 0 0 4px rgb(215 137 0 / 13%); }
.compact-list { display: grid; }
.compact-list > a { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: .75rem; border-bottom: 1px solid var(--color-border); padding: .65rem 0; text-decoration: none; }
.compact-list > a:hover strong { color: #a94900; }
.admin-page-grid { display: grid; gap: .65rem; }
.admin-page-grid a { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: .7rem; border: 1px solid var(--color-border); border-radius: .7rem; padding: .75rem; text-decoration: none; }
.admin-page-grid a:hover { border-color: #f2ad72; background: #fff8f2; }
.admin-page-grid strong { color: #a94900; font-size: .85rem; }
.empty-cell { padding: 2rem !important; color: var(--color-muted); text-align: center !important; }
.update-panel { max-width: 48rem; margin-top: 1rem; }
.update-panel code, .page-header code { border-radius: .35rem; background: #e9eef5; padding: .12rem .35rem; font-size: .9em; }

.install-shell { min-height: 100dvh; background: var(--color-background); }
.install-main { width: min(100% - 2rem, 44rem); margin-inline: auto; padding-block: 1.5rem 3rem; }
.stepper { display: flex; justify-content: center; gap: .45rem; margin-block: 1rem; }
.stepper span { width: 2.1rem; height: .35rem; border-radius: 99px; background: var(--color-border); }
.stepper .is-active { background: var(--color-orange); }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--color-border); }

.error-page { display: grid; min-height: 65vh; place-items: center; padding: 2rem 1rem; text-align: center; }
.error-code { color: var(--color-orange); font-size: clamp(4rem, 20vw, 9rem); font-weight: 950; line-height: 1; }

@media (min-width: 36rem) {
  .admin-topbar .brand span { display: inline; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .upload-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
  .list-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .cookie-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .toast-region { right: 1.5rem; bottom: 1.5rem; left: auto; width: min(25rem, calc(100% - 3rem)); }
}

@media (min-width: 48rem) {
  .container { width: min(100% - 3rem, var(--container)); }
  .header-search { display: flex; }
  .hero__inner { grid-template-columns: minmax(0, 1.4fr) minmax(15rem, .6fr); }
  .hero__art { display: block; }
  .category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
  .filter-panel { position: sticky; top: calc(var(--header-height) + 1rem); }
  .filter-panel.drawer { position: sticky; z-index: auto; inset: auto; width: auto; transform: none; box-shadow: var(--shadow-sm); }
  .listing-detail { grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .75fr); align-items: start; }
  .listing-detail__aside { position: sticky; top: calc(var(--header-height) + 1rem); }
  .sticky-actions { position: static; margin: 0; padding: .75rem 0 0; border: 0; box-shadow: none; }
  .dashboard-layout { grid-template-columns: 14rem minmax(0, 1fr); align-items: start; }
  .dashboard-nav { position: sticky; top: calc(var(--header-height) + 1rem); display: grid; overflow: visible; }
  .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .conversation-layout { grid-template-columns: 19rem minmax(0, 1fr); }
  .conversation-list { border-right: 1px solid var(--color-border); border-bottom: 0; }
  .modal { place-items: center; padding: 1rem; }
  .modal__panel { width: min(100%, 34rem); border-radius: var(--radius-md); }
  .admin-filters { grid-template-columns: 2fr repeat(2, 1fr) auto; align-items: end; }
  .home-guide__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-dashboard-grid { grid-template-columns: minmax(0, 1.45fr) minmax(18rem, .75fr); }
  .admin-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .desktop-nav { display: flex; }
  .mobile-only, .mobile-bottom-nav { display: none; }
  .site-footer { margin-bottom: 0; }
  .cookie-banner { bottom: 1rem; }
  .listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-layout { grid-template-columns: 15rem minmax(0, 1fr); }
  .admin-nav { position: sticky; z-index: auto; top: 4.2rem; width: auto; height: calc(100dvh - 4.2rem); transform: none; box-shadow: none; }
  .admin-content { padding: 1.5rem 2rem; }
  .admin-user { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .mobile-bottom-nav, .button, .cookie-banner, .toast-region { display: none !important; }
  body { background: #fff; color: #000; }
  .surface { box-shadow: none; }
}

/* Sector tools */
.sector-page { padding-bottom: clamp(3rem,7vw,5rem); }
.sector-feature-grid { display:grid; grid-template-columns:repeat(1,minmax(0,1fr)); gap:.85rem; }
.sector-feature { display:grid; gap:.4rem; min-height:8rem; padding:1.1rem; text-decoration:none; transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease; }
.sector-feature:hover { transform:translateY(-2px); border-color:#f5b47e; box-shadow:var(--shadow-md); }
.sector-feature strong { font-size:1.08rem; }
.sector-feature span { color:var(--color-muted); font-size:.9rem; }
.sector-note { margin-top:1rem; }
.market-stat-grid { display:grid; grid-template-columns:repeat(1,minmax(0,1fr)); gap:.8rem; }
.market-stat-card { display:grid; gap:.7rem; padding:1rem; text-decoration:none; }
.market-stat-price { font-size:1.45rem; font-weight:850; color:#b54e00; }
.market-stat-price small { color:var(--color-muted); font-size:.75rem; font-weight:650; }
.market-stat-range { display:flex; justify-content:space-between; gap:.6rem; color:var(--color-muted); font-size:.82rem; }
.weather-tool,.incubation-tool { display:grid; gap:1rem; }
.weather-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; }
.weather-grid > div { border:1px solid var(--color-border); border-radius:.75rem; background:var(--color-background); padding:.8rem; }
.weather-grid small,.weather-grid strong { display:block; }
.weather-grid strong { margin-top:.2rem; font-size:1.25rem; }
.weather-advice { border-left:4px solid var(--color-orange); border-radius:.6rem; background:#fff7ef; padding:1rem; }
.weather-advice ul { margin:.6rem 0 0; padding-left:1.2rem; }
.incubation-result { display:grid; gap:.25rem; border-left:4px solid var(--color-success); border-radius:.6rem; background:#edf9f4; padding:1rem; }
.incubation-result strong { font-size:1.15rem; }
.incubation-result span,.incubation-result small { color:var(--color-slate); }
@media (min-width:36rem) {
  .sector-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .market-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:64rem) {
  .sector-feature-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .market-stat-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .weather-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}


/* Storefront 2.0 */
.storefront{padding-bottom:clamp(3rem,7vw,5rem)}
.storefront-hero{overflow:hidden}
.storefront-cover{position:relative;min-height:12rem;background:linear-gradient(135deg,#092443,#1f4b73)}
.storefront-cover img{width:100%;height:clamp(12rem,28vw,23rem);object-fit:cover}
.storefront-cover__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgb(5 29 64 / 52%))}
.storefront-identity{position:relative;display:grid;gap:1rem;align-items:end;padding:0 1.1rem 1.2rem}
.storefront-logo{display:grid;width:7rem;height:7rem;margin-top:-3.6rem;place-items:center;overflow:hidden;border:5px solid var(--color-white);border-radius:1.2rem;background:var(--color-white);box-shadow:var(--shadow-md);font-size:2.2rem;font-weight:900}
.storefront-logo img{width:100%;height:100%;object-fit:contain}
.storefront-title h1{margin:0;font-size:clamp(1.8rem,5vw,2.65rem)}
.storefront-tagline{margin:.35rem 0;color:var(--color-slate);font-size:1.05rem;font-weight:700}
.storefront-subline{display:flex;flex-wrap:wrap;gap:.45rem 1rem;color:var(--color-muted);font-size:.9rem}
.storefront-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.storefront-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:1rem 0}
.storefront-stats>div{display:grid;gap:.15rem;border:1px solid var(--color-border);border-radius:.8rem;background:var(--color-white);padding:.85rem}
.storefront-stats strong{font-size:1.3rem;color:var(--color-navy)}
.storefront-stats span{color:var(--color-muted);font-size:.78rem}
.storefront-layout{display:grid;gap:1rem}
.storefront-main,.storefront-sidebar{display:grid;align-content:start;gap:1rem}
.storefront-description{max-width:58rem;margin:0;color:var(--color-slate);line-height:1.75}
.storefront-tags{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1rem}
.storefront-tags span{border:1px solid #f0c7a3;border-radius:999px;background:#fff8f1;padding:.35rem .65rem;color:#91440a;font-size:.82rem;font-weight:750}
.storefront-category-nav{display:flex;gap:.5rem;overflow:auto;padding:.15rem 0 .35rem}
.storefront-category-nav a{display:flex;flex:0 0 auto;align-items:center;gap:.45rem;border:1px solid var(--color-border);border-radius:999px;background:var(--color-white);padding:.55rem .8rem;text-decoration:none;font-weight:750}
.storefront-category-nav a.is-active{border-color:var(--color-navy);background:var(--color-navy);color:#fff}
.storefront-category-nav small{opacity:.72}
.storefront-filter{display:grid;gap:.55rem;margin-bottom:1rem;padding:.75rem}
.storefront-filter .field{margin:0}
.storefront-filter input,.storefront-filter select{min-height:44px}
.storefront-listings-header{align-items:end}
.storefront-info dl{display:grid;gap:.2rem;margin:0}
.storefront-info dl>div{display:grid;gap:.2rem;border-bottom:1px solid var(--color-border);padding:.75rem 0}
.storefront-info dl>div:last-child{border-bottom:0}
.storefront-info dt{color:var(--color-muted);font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.storefront-info dd{margin:0;color:var(--color-slate)}
.storefront-contact{display:grid;gap:.55rem}
.storefront-contact .button{width:100%}
.storefront-socials{display:flex;gap:.5rem;padding-top:.4rem}
.storefront-socials a{flex:1;border-radius:.55rem;background:var(--color-background);padding:.55rem;text-align:center;text-decoration:none;font-size:.85rem;font-weight:750}
.storefront-trust{display:grid;gap:.7rem}
.storefront-trust>div{display:flex;gap:.65rem;align-items:flex-start}
.storefront-trust>div>span{display:grid;width:1.8rem;height:1.8rem;flex:0 0 auto;place-items:center;border-radius:50%;background:#e5f6ef;color:#126044;font-weight:900}
.storefront-trust p{display:grid;margin:0}.storefront-trust small{color:var(--color-muted)}
.storefront-reviews{display:grid;gap:.65rem}.storefront-reviews article{border:1px solid var(--color-border);border-radius:.75rem;background:var(--color-background);padding:.85rem}.storefront-reviews article p{margin:.45rem 0 0;color:var(--color-slate)}
.dashboard-nav__label{display:none;color:#8996a7;font-size:.68rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.dashboard-nav a{gap:.55rem}.dashboard-nav a>span{display:grid;width:1.35rem;place-items:center;color:#718095}
.dashboard-nav a.is-active{border-color:var(--color-navy);background:var(--color-navy);color:#fff}.dashboard-nav a.is-active>span{color:var(--color-yellow)}
.dashboard-page-header{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:1rem}
.store-admin-summary{display:grid;gap:1rem}.store-admin-summary h2{margin:.45rem 0 .1rem}.store-admin-metrics{margin:0}
.settings-section{display:grid;gap:1rem}.settings-section__head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:.7rem;border-bottom:1px solid var(--color-border);padding-bottom:.8rem}.settings-section__head h2{margin:0}
.settings-choice-grid{display:grid;gap:.6rem}.settings-choice{align-items:flex-start;border:1px solid var(--color-border);border-radius:.7rem;background:var(--color-background);padding:.8rem}.settings-choice span{display:grid;gap:.15rem}.settings-choice small{color:var(--color-muted);font-weight:500}
.input-prefix{display:flex;align-items:stretch}.input-prefix>span{display:flex;align-items:center;border:1px solid #aab8ca;border-right:0;border-radius:.6rem 0 0 .6rem;background:#edf1f6;padding:0 .65rem;color:var(--color-muted);font-size:.84rem}.input-prefix>input{border-radius:0 .6rem .6rem 0}
.store-admin-savebar{position:sticky;z-index:35;bottom:calc(4.3rem + env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem;border:1px solid var(--color-border);border-radius:.85rem;background:rgb(255 255 255 / 96%);padding:.85rem 1rem;box-shadow:0 -8px 28px rgb(5 29 64 / 9%);backdrop-filter:blur(12px)}
.store-admin-savebar>div{display:grid}.store-admin-savebar span{color:var(--color-muted);font-size:.82rem}
.empty-store-panel{max-width:46rem}
@media(min-width:48rem){
  .storefront-identity{grid-template-columns:auto minmax(0,1fr) auto;padding:0 1.5rem 1.5rem}
  .storefront-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
  .storefront-filter{grid-template-columns:minmax(12rem,1.5fr) minmax(10rem,.7fr) minmax(10rem,.7fr) auto;align-items:end}
  .dashboard-nav__label{display:block;margin:.8rem .55rem .1rem}.dashboard-nav__label:first-child{margin-top:0}
  .settings-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .store-admin-savebar{bottom:1rem}
}
@media(min-width:64rem){
  .storefront-layout{grid-template-columns:minmax(0,1fr) 19rem;align-items:start}
  .storefront-sidebar{position:sticky;top:calc(var(--header-height) + 1rem)}
}


/* Public profile 2.0 */
.profile-admin-summary{overflow:hidden}
.profile-admin-cover{height:9rem;background:linear-gradient(135deg,#0a2a4e,#d85e00)}
.profile-admin-cover img{width:100%;height:100%;object-fit:cover}
.profile-admin-identity{display:flex;gap:1rem;align-items:center;padding:0 1rem 1rem}
.profile-admin-avatar{display:grid;width:6rem;height:6rem;margin-top:-2.4rem;flex:0 0 auto;place-items:center;overflow:hidden;border:4px solid #fff;border-radius:50%;background:#e8eef5;box-shadow:var(--shadow-sm);font-size:2rem;font-weight:900}
.profile-admin-avatar img{width:100%;height:100%;object-fit:cover}
.profile-admin-identity h2{margin:.5rem 0 .1rem}
.public-profile{padding-bottom:clamp(3rem,7vw,5rem)}
.profile-hero{overflow:hidden}
.profile-hero__cover{height:clamp(10rem,25vw,20rem);background:linear-gradient(135deg,#0a2a4e,#2f5f86)}
.profile-hero__cover img{width:100%;height:100%;object-fit:cover}
.profile-hero__body{display:grid;gap:1rem;align-items:end;padding:0 1rem 1.2rem}
.profile-hero__avatar{display:grid;width:7rem;height:7rem;margin-top:-3.6rem;place-items:center;overflow:hidden;border:5px solid #fff;border-radius:50%;background:#e8eef5;box-shadow:var(--shadow-md);font-size:2rem;font-weight:900}
.profile-hero__avatar img{width:100%;height:100%;object-fit:cover}
.profile-hero__identity h1{margin:0}.profile-handle{margin:.15rem 0;color:var(--color-muted);font-weight:700}
.profile-meta-line{display:flex;flex-wrap:wrap;gap:.4rem 1rem;color:var(--color-muted);font-size:.88rem}
.profile-hero__actions{display:flex;flex-wrap:wrap;gap:.5rem}
.profile-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:1rem 0}
.profile-stat-grid>div{display:grid;gap:.1rem;border:1px solid var(--color-border);border-radius:.8rem;background:#fff;padding:.85rem}
.profile-stat-grid strong{font-size:1.35rem;color:var(--color-navy)}.profile-stat-grid span{color:var(--color-muted);font-size:.78rem}
.profile-public-layout{display:grid;gap:1rem}.profile-public-sidebar{display:grid;align-content:start;gap:1rem}
.profile-bio{margin:0;color:var(--color-slate);line-height:1.75}
.profile-verifications{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1rem}.profile-verifications span{border-radius:999px;background:#e6f6ef;padding:.35rem .6rem;color:#145f45;font-size:.8rem;font-weight:800}
.profile-company-link{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;border:1px solid #f1c39d;border-radius:.75rem;background:#fff7ee;padding:.8rem 1rem;text-decoration:none}.profile-company-link span{color:var(--color-muted);font-size:.8rem}.profile-company-link strong{color:#93430a}
.profile-kv{display:grid;margin:0}.profile-kv>div{display:grid;gap:.15rem;border-bottom:1px solid var(--color-border);padding:.7rem 0}.profile-kv>div:last-child{border-bottom:0}.profile-kv dt{color:var(--color-muted);font-size:.73rem;font-weight:800;text-transform:uppercase}.profile-kv dd{margin:0}
.profile-trust-card{display:flex;gap:.8rem;align-items:center}.profile-trust-score{display:grid;width:4rem;height:4rem;flex:0 0 auto;place-items:center;border-radius:50%;background:var(--color-navy);color:#fff;font-size:1.35rem;font-weight:900}.profile-trust-card p{margin:.2rem 0 0;color:var(--color-muted);font-size:.84rem}
@media(min-width:48rem){
 .profile-hero__body{grid-template-columns:auto minmax(0,1fr) auto;padding:0 1.5rem 1.5rem}
 .profile-stat-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(min-width:64rem){
 .profile-public-layout{grid-template-columns:minmax(0,1fr) 18rem;align-items:start}
 .profile-public-sidebar{position:sticky;top:calc(var(--header-height) + 1rem)}
}
