.market-service-mode {
  --orange:#00756a;
  --orange-deep:#005e54;
  --soft:#e5f5f0;
}
.market-service-mode .demo-bar {display:none}
.market-service-mode .search {border-color:#00756a}
.market-service-mode .top-nav {margin-bottom:18px}
.market-service-mode .hero.market-service-hero {
  isolation:isolate;
  background:#def3ee;
  border-radius:12px;
  height:166px;
  margin:0 0 18px;
}
.market-service-hero::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0 0 0 auto;
  width:43%;
  background:linear-gradient(90deg,#def3ee,transparent 76%),url('/assets/chair.jpg') center 58% / cover;
}
.market-service-mode .market-service-hero :is(.eyebrow,p) {color:#315d55}
.market-service-mode .market-service-hero h1 {font-size:clamp(26px,4vw,36px)}
.service-quick-searches {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  margin-bottom:24px;
}
.service-quick-searches button {
  display:grid;
  justify-items:center;
  gap:6px;
  padding:8px 2px;
  background:#eef4f2;
  border-radius:8px;
  font-weight:700;
  font-size:13px;
}
.service-quick-searches button:hover {background:#dceee9}
.service-quick-searches img {width:42px;height:42px;border-radius:50%;object-fit:cover}
.platform-login-mode :is(.top-nav,.bottom-nav,.header-actions,.search) {display:none}
.platform-login-mode .header {justify-content:flex-start}
.platform-login {
  width:min(100%,460px);
  margin:42px auto;
  padding:32px;
  border:1px solid #dbe9e5;
  border-radius:14px;
  background:#fff;
}
.platform-login h1 {font-size:28px;margin:0}
.platform-login-intro {margin:8px 0 21px;color:#465f59}
.login-roles {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  border:0;
  padding:0;
  margin:0 0 17px;
}
.login-roles legend {font-weight:700;margin-bottom:8px}
.platform-login .login-roles label {
  display:flex;
  gap:7px;
  align-items:center;
  margin:0;
  padding:11px 8px;
  border:1px solid #dbe9e5;
  border-radius:7px;
  cursor:pointer;
}
.login-roles label:has(input:checked) {border-color:#00756a;background:#e5f5f0}
.login-roles input {margin:0;accent-color:#00756a}
.login-roles span,.login-roles small {display:block}
.login-roles small {margin-top:4px;color:#465f59}
.platform-login .field {margin:12px 0}
.platform-login .field input {
  display:block;
  width:100%;
  margin-top:5px;
  padding:10px;
  min-height:44px;
  border:1px solid #b8cfc8;
  border-radius:7px;
  background:white;
  color:inherit;
}
.login-submit {width:100%;min-height:44px;margin-top:7px}
.login-feedback {color:#8f3d24}
.login-join {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;border-top:1px solid #dbe9e5;padding-top:16px;font-size:13px}
@media(max-width:700px) {
  .market-service-mode .hero.market-service-hero {height:123px;padding:14px}
  .service-quick-searches {gap:4px}
  .service-quick-searches button {font-size:11px}
  .service-quick-searches img {width:30px;height:30px}
  .platform-login {margin-block:22px;padding:19px}
}

.service-storefronts {margin:0 0 28px}
.service-storefronts header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.service-storefronts h2 {font-size:19px;margin:0}
.service-storefronts header a {color:#00675b;font-weight:700;font-size:13px;padding:7px 0}
.service-storefronts > div {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px}
.service-storefronts > div a {display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #dbe9e5;border-radius:8px;background:#fff;color:#23443d;text-decoration:none}
.service-storefronts > div a > span {display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#e5f5f0;color:#00675b}
.service-storefronts > div a > svg {margin-left:auto;color:#00675b}
.service-storefronts svg {width:17px;height:17px}
.service-storefronts > div a:hover {border-color:#00756a}
.market-service-mode .service-mall-hero {margin:0 0 22px;padding:22px 24px;border-color:#dbe9e5;background:#def3ee;color:#23443d}
.service-mall-hero > span {font-size:12px;font-weight:700}
.service-mall-hero h1 {font-size:clamp(24px,4vw,34px);margin:3px 0}
.service-mall-hero p {margin:9px 0 0}

.store-directory {width:min(100% - 32px, 1000px);margin:34px auto}
.store-directory-back {color:#00675b;font-size:13px;font-weight:700}
.store-directory h1 {font-size:clamp(25px,4vw,36px);margin:16px 0}
.store-directory-search {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;max-width:540px}
.store-directory-search label {grid-column:1/-1;font-size:13px;font-weight:700}
.store-directory-search input {min-width:0;min-height:42px;padding:8px 10px;border:1px solid #b8cfc8;border-radius:7px;font:inherit}
.store-directory-pages {display:flex;align-items:center;justify-content:center;gap:16px}
.store-directory-pages[hidden] {display:none}
.store-directory-pages a {padding:8px 12px;border:1px solid #b8cfc8;border-radius:6px;color:#00675b;background:#fff;font-weight:700}

.service-mobile-search-ranking {display:none}
@media(max-width:1000px) {
  .service-mobile-search-ranking {display:block;margin:0 0 18px}
}

.service-mall-logo {display:block;width:72px;height:72px;object-fit:contain;border-radius:8px;background:#fff;margin:8px 0}
.service-contact-info {padding:10px 0;color:#36534c;font-size:13px}
.service-contact-info p {margin:4px 0}
.chat-thread > .service-contact-info {padding:14px 22px;border-bottom:1px solid var(--moa-border);background:#fbfdfc}
@media(max-width:700px){
 .chat-thread > .service-contact-info {padding:12px 14px}
}
.app-mode .chat-thread > .service-contact-info {padding:12px 14px}
.ops-contact-grid {
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));
 gap:12px;
}
.ops-contact-grid fieldset {
 min-inline-size:0;
 margin:0;
 padding:10px;
 border:1px solid #dbe9e5;
 border-radius:10px;
}
.ops-contact-grid fieldset > label {
 display:grid;
 gap:4px;
}
.ops-contact-grid label + label {margin-top:8px}
.ops-contact-grid input[type=time] {
 box-sizing:border-box;
 width:100%;
 min-height:44px;
 max-width:100%;
 padding-inline:10px;
 font:inherit;
 font-size:16px;
}
@media(max-width:480px){
 .ops-contact-grid {grid-template-columns:minmax(0,1fr)}
}
.chat-report {margin-left:6px;font-size:11px}

.chat-read-status{display:block;margin-top:.35rem;font-size:.75rem;opacity:.75}
.chat-retry{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.6rem 1rem;overflow-wrap:anywhere}
.favorite-switch{display:flex;gap:.25rem}
.favorite-switch button{padding:.5rem;min-width:2.5rem;justify-content:center}
.market-service-mode .grid.favorite-list{display:grid;grid-template-columns:minmax(0,1fr);gap:.625rem}
.favorite-list .product-main{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;text-align:left;column-gap:.75rem;padding:.65rem 3rem .65rem .65rem}
.favorite-list .product-main .photo{grid-row:1/3;grid-column:1;aspect-ratio:1;margin:0}
.favorite-list .product-main .photo img{width:100%;height:100%;object-fit:cover}
.favorite-list .product-title,.favorite-list .price{grid-column:2;margin:0;padding:0}
.favorite-list .product-location,.favorite-list .product-bottom,.favorite-list .photo-badge{display:none}

/* Account, checkout, and operations share the same spacing and interaction scale. */
:root{--moa-ink:#172b26;--moa-muted:#52665d;--moa-border:#dce8e2;--moa-paper:#fff;--moa-soft:#f2f8f5;--moa-accent:#116754}
.platform-card,.purchase-tools,.ops-content,.ops-main,.chat-thread,.seller-center-grid>*{min-width:0}
.platform-card :is(p,summary,h2,h3),.purchase-detail :is(p,h2,h4),.chat-thread-head span{overflow-wrap:anywhere}
.platform-card :is(h2,h3){color:var(--moa-ink);letter-spacing:-.025em;margin:0 0 .65rem}
.platform-card p,.purchase-caption,.purchase-info p,.funds-held-card p,.purchase-tools>p,.purchase-history>div,.purchase-history time{color:var(--moa-muted);font-size:.875rem;line-height:1.6}
.platform-card form{display:grid;gap:.65rem;min-width:0}
.platform-card form>fieldset{min-width:0;border:1px solid var(--moa-border);border-radius:12px;padding:12px}
.platform-card form>fieldset legend{padding-inline:.4rem;font-weight:650}
.platform-card :is(.field,.reg-field),.purchase-tools .reg-field{min-width:0;margin:0;font-size:.875rem;font-weight:650;color:var(--moa-ink)}
.platform-card :is(input:not([type=checkbox],[type=radio]),select,textarea),.purchase-detail :is(input:not([type=checkbox],[type=radio]),select,textarea),.modal [data-buyer-dispute] :is(textarea,input){width:100%;min-width:0;max-width:100%;min-height:44px;border-radius:10px;border:1px solid var(--moa-border);padding:.6rem .75rem;font:inherit;color:var(--moa-ink);background:var(--moa-paper);box-sizing:border-box}
.platform-card input[type=file],.modal input[type=file]{font-size:.825rem;padding:.4rem}
.platform-card input[type=file]::file-selector-button,.modal input[type=file]::file-selector-button{border:0;background:#e4f1eb;color:#134d3f;border-radius:7px;padding:.5rem;margin-inline-end:.5rem;font:inherit}
.platform-card :is(.primary,.secondary),.purchase-tools .secondary,.purchase-secondary-actions button,.chat-retry .secondary{min-height:44px;text-align:center;justify-content:center;line-height:1.25;white-space:normal}
.platform-card :is(a,button,input,select,textarea,summary):focus-visible,.purchase-modal :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #147a65;outline-offset:3px}
.platform-card>summary,.purchase-tools>summary,.purchase-history>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:.9rem;font-weight:700;color:var(--moa-ink)}
.platform-card>summary+form{margin-top:.6rem}
.platform-card [role=status]:not(:empty){padding:.6rem .75rem;background:var(--moa-soft);color:var(--moa-accent);border-radius:8px}
.purchase-tools form{display:grid;gap:.65rem;border:1px solid var(--moa-border);border-radius:12px;background:#f7faf8}
.purchase-tools form>p{margin:0;overflow-wrap:anywhere}
.purchase-secondary-actions{gap:.625rem;flex-wrap:wrap;justify-content:flex-start}
.purchase-secondary-actions button{color:#174f42;background:var(--moa-soft);border-radius:10px;padding:.55rem .75rem;text-decoration:none;font-size:.825rem}
.deposit-account,.funds-held-card{background:#eef7f1;border-color:#d9eae0}
.deposit-number,.funds-held-card strong,.purchase-info b,.purchase-form-label>strong{color:#164f41}
.deposit-bank,.deposit-account dt,.deposit-account dd{color:var(--moa-muted);font-size:.8125rem}
.chat-thread>p.help{margin:12px 16px;padding:12px 14px;background:var(--moa-soft);color:var(--moa-muted);border-radius:10px}
.chat-thread>details{padding:0 16px 14px;color:var(--moa-muted);font-size:.875rem}
.chat-thread>details summary{padding:10px 0;cursor:pointer}
.chat-thread>details form{display:grid;gap:.5rem}
.chat-thread>details input{width:100%;min-height:44px;border:1px solid var(--moa-border);border-radius:9px;padding:.5rem}
.ops-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.ops-sidebar nav button{min-height:44px}
@media(max-width:700px){
 .market-service-mode .platform-card,.operations-mode .platform-card{padding:14px;margin-block:12px;border-radius:13px}
 .market-service-mode :is(.seller-center-grid,.platform-grid),.operations-mode .platform-grid{grid-template-columns:minmax(0,1fr)}
 .platform-card :is(input:not([type=file]),select,textarea),.purchase-detail :is(input:not([type=file]),select,textarea),.modal [data-buyer-dispute] textarea{font-size:16px}
 .platform-card form>:is(button,.primary,.secondary),.purchase-tools form>.secondary{width:100%}
 .purchase-modal{max-height:calc(100dvh - 20px);margin-inline:0;border-radius:15px}
 .purchase-modal .modal-body{padding:16px}
 .purchase-detail-title h2,.purchase-application h2{font-size:clamp(1.125rem,5vw,1.375rem);line-height:1.35}
 .purchase-tools form{padding:12px}
 .chat-purchase-card{margin:10px 12px 0;padding:12px;align-items:stretch;flex-wrap:wrap}
 .chat-purchase-card :is(.primary,.secondary){min-height:44px;white-space:normal}
 .ops-main{padding:16px 12px}
 .ops-main h1{font-size:1.2rem;overflow-wrap:anywhere}
 .ops-sidebar nav button{font-size:.8125rem}
}
.wallet-balance{display:grid;gap:.35rem;padding:1rem 1.1rem;background:#eaf6ef;border-radius:13px;color:var(--moa-accent);margin-bottom:.65rem}
.wallet-balance strong{font-size:clamp(1.35rem,5vw,1.8rem);font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.wallet-overview>details{padding:.65rem 0;border-top:1px solid var(--moa-border)}
.wallet-overview>details summary{cursor:pointer;color:var(--moa-ink);font-weight:650;padding:.45rem 0}
.detail-modal{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 24px)}
.detail-modal .modal-head{flex:none}
.detail-modal .detail-layout{min-height:0;overflow:auto;overscroll-behavior:contain}
.detail-modal .detail-info{min-width:0}
.detail-modal .detail-info h2{margin-block:.35rem .6rem;color:var(--moa-ink);line-height:1.3;word-break:keep-all;overflow-wrap:anywhere}
.detail-modal .detail-price{color:var(--moa-ink);font-weight:800;margin-bottom:.4rem}
.detail-modal .detail-stock{color:var(--moa-muted);font-size:.8125rem;margin:.25rem 0 .75rem}
.detail-seller{border-top:1px solid var(--moa-border);padding-top:14px;margin:16px 0 4px}
.detail-links{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;padding-block:.3rem .5rem}
.detail-links :is(a,button){min-height:40px;padding:.45rem .55rem;color:var(--moa-accent);background:var(--moa-soft);border-radius:8px;font-size:.8rem;text-decoration:none}
.detail-modal .detail-action-bar{display:flex;gap:.625rem;justify-content:flex-end;flex:none;margin:0;padding:12px 20px;border-top:1px solid var(--moa-border);background:#fff}
.detail-action-bar button{min-height:44px;white-space:normal;justify-content:center}
@media(max-width:700px){
 .detail-modal{max-height:calc(100dvh - 16px);width:100%;border-radius:14px}
 .detail-modal .detail-layout{display:block}
 .detail-modal .detail-image{width:100%;height:clamp(168px,50vw,235px);object-fit:cover}
 .detail-modal .detail-info{padding:14px}
 .detail-modal .detail-action-bar{padding:10px 12px max(10px,env(safe-area-inset-bottom))}
 .detail-modal .detail-action-bar button{flex:1;min-width:0;padding-inline:8px}
 .registration-mode .reg-field{color:var(--moa-ink)}
 .registration-mode .reg-field :is(input,select,textarea){min-height:44px;font-size:16px;color:var(--moa-ink)}
}
.detail-media{min-width:0}
.detail-thumbs,.ops-product-photos{display:flex;flex-wrap:wrap;gap:.55rem;padding:.55rem}
.detail-thumbs button{padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden}
.detail-thumbs button[aria-pressed=true]{border-color:var(--moa-accent)}
.detail-thumbs img{width:44px;height:44px;object-fit:cover;display:block}
.ops-product-photo{display:grid;grid-template-columns:58px minmax(0,1fr);gap:.55rem;align-items:center;flex:1 1 200px;min-width:0;padding:.5rem;border:1px solid var(--moa-border);border-radius:10px}
.ops-product-photo img{width:58px;height:58px;object-fit:cover;border-radius:7px}
.ops-product-photo div{display:flex;gap:.35rem;align-items:center;flex-wrap:wrap;font-size:.8125rem}
.ops-product-photo .secondary{min-height:40px;padding:.4rem .55rem}
.ops-order-filter{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-block:.75rem;color:var(--moa-ink);font-weight:650;font-size:.875rem}
.ops-order-filter select{min-height:44px;border:1px solid var(--moa-border);background:#fff;color:var(--moa-ink);padding:.4rem .6rem;border-radius:9px;font:inherit}

.role-switch-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}
.role-switch-panel h2{margin:0 0 4px;font-size:17px}
.role-switch-panel p{margin:0;color:#456158}
.role-switch-panel button{flex:none}
@media(max-width:540px){.role-switch-panel{align-items:flex-start;flex-direction:column}.role-switch-panel button{width:100%}}


/* Keep form groups and their actions separate inside narrow dialogs. */
.modal-head {gap:12px}
.modal-head h2 {min-width:0;overflow-wrap:anywhere}
.modal-head > button {flex:none}
#preferred-region-form > .address-entry {
 min-inline-size:0;
 margin:0 0 16px;
 padding:12px;
 border:1px solid var(--moa-border);
 border-radius:12px;
}
#preferred-region-form > .address-entry legend {padding-inline:6px}
#preferred-region-form > .address-entry [data-region-gps] {margin-top:4px}
.operations-mode .modal .reg-summary > div {font-size:.8125rem;align-items:baseline}
.operations-mode .modal .reg-summary dt {width:clamp(105px,36%,145px);word-break:keep-all}
.operations-mode .modal .reg-summary dd {min-width:0}

@media(min-width:1440px) {
 .market-service-mode:not(.app-mode) #shell {
  width:100%;
  max-width:none;
  box-sizing:border-box;
  padding-inline:clamp(32px,3vw,72px);
 }
 .market-service-mode:not(.app-mode) .grid {
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
 }
}

@media(max-width:700px){
 .market-service-mode .managed-product-modal {
  box-sizing:border-box;
  max-height:calc(100dvh - 20px);
  min-width:0;
 }
 .managed-product-modal #managed-product-form label.field:has(>input[type=checkbox]){
  display:flex;
  width:100%;
  min-width:0;
  white-space:normal;
  overflow-wrap:anywhere;
  box-sizing:border-box;
 }
}

@media(max-width:700px){
 .market-service-mode .chat-layout {min-width:0}
 .market-service-mode .chat-layout > .chat-list {
  display:flex;
  gap:8px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
  padding:10px 12px;
  border-right:0;
  border-bottom:1px solid var(--moa-border);
 }
 .market-service-mode .chat-list .chat-contact {
  flex:0 0 min(65%,12rem);
  min-width:0;
  min-height:44px;
  margin:0;
 }
 .market-service-mode .chat-contact span {min-width:0;overflow-wrap:anywhere}
}

.seller-settlement-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.seller-settlement-heading h2{margin:0}
.seller-settlement-balances{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:8px;margin:14px 0}
.seller-settlement-balances>div{border:1px solid #dce7e2;background:#f5faf8;border-radius:10px;padding:12px;min-width:0}
.seller-settlement-balances dt{font-size:.85rem;color:#31584d}
.seller-settlement-balances dd{font-size:1.15rem;font-weight:750;margin:4px 0 0;overflow-wrap:anywhere}
.seller-settlement-dialog{box-sizing:border-box}
.seller-settlement-dialog>form{display:grid;gap:10px}
.seller-settlement-dialog .field{min-width:0}

.header .login-button[hidden] {display:none}

.header .join-button[hidden], .header-account-menu[hidden] {display:none}
.header .header-actions {position:relative}
.header-account-menu {
 position:absolute;
 inset-block-start:calc(100% + 8px);
 inset-inline-end:0;
 z-index:30;
 width:150px;
 padding:5px;
 border:1px solid var(--line,#e3e7e0);
 border-radius:12px;
 background:#fff;
 box-shadow:0 8px 24px #233a2f20;
}
.header-account-menu button {
 display:block;
 width:100%;
 padding:10px 12px;
 text-align:left;
 border-radius:7px;
 font-size:14px;
}
.header-account-menu button:hover, .header-account-menu button:focus-visible {background:#edf5f1}
.header-account-menu [role=status]:empty {display:none}
.header-account-menu [role=status] {margin:5px 8px;font-size:12px}

/* Keep product settings and their controls together inside the modal. */
#managed-product-form .product-option {
 display:flex;align-items:flex-start;gap:12px;padding:12px 14px;
 margin:0 0 12px;border:1px solid var(--moa-border,#dde5df);
 border-radius:12px;background:#f8faf9;cursor:pointer;
}
#managed-product-form .product-option input[type="checkbox"] {
 flex:0 0 18px;width:18px;height:18px;min-height:0;margin:2px 0 0;
 padding:0;accent-color:var(--moa-accent,#1e7265);appearance:auto;
}
#managed-product-form .product-option span {display:grid;gap:4px;min-width:0}
#managed-product-form .product-option small {font-size:.8125rem;color:#50635c;line-height:1.45}
#managed-product-form [hidden] {display:none!important}

.product-review-category-list {list-style:none;padding:0;margin:14px 0;display:grid;gap:6px}
.product-review-category-list li {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;border:1px solid #e1e8e3;border-radius:10px}
.product-review-category-list li span {min-width:0;overflow-wrap:anywhere}
.product-review-category-list button {flex:none}
.product-review-tools {display:flex;justify-content:flex-end;margin-bottom:12px}

.moa-bell-wrap {position:relative;display:flex;align-items:center}
.moa-bell-wrap #notices,.header .chat-shortcut {position:relative}
.moa-unread-badge {position:absolute;right:-3px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#bf263b;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.moa-bell-popover {position:absolute;z-index:60;right:0;top:calc(100% + 10px);width:min(310px,calc(100vw - 28px));padding:14px;background:white;border:1px solid #dce6e1;border-radius:14px;box-shadow:0 14px 40px #192f2226}
.moa-bell-popover[hidden],.moa-unread-badge[hidden] {display:none}
.moa-inbox-titles {padding:0;margin:8px 0;list-style:none}
.moa-inbox-titles li+li {border-top:1px solid #e6ece9}
.moa-inbox-titles button {display:block;text-align:left;width:100%;padding:10px 2px;overflow-wrap:anywhere;color:#28413a}
.moa-inbox-titles button.is-unread {font-weight:700}
.moa-inbox-page .moa-inbox-titles small {display:block;color:#536963;font-weight:400}
.moa-notice-content {white-space:pre-wrap;overflow-wrap:anywhere}
.header .chat-shortcut .notification-dot {display:none}
.header .chat-shortcut.moa-chat-unread .notification-dot {display:block;background:#bf263b;animation:moa-chat-pulse 1.6s ease-in-out infinite}
@keyframes moa-chat-pulse {50%{opacity:.28;transform:scale(.78)}}
@media(prefers-reduced-motion:reduce){.header .chat-shortcut.moa-chat-unread .notification-dot {animation:none}}
@media(max-width:700px){.moa-bell-wrap {position:static}.moa-bell-popover {right:14px;top:calc(100% - 3px)}.header:has(.moa-bell-wrap){position:relative}}
.market-service-mode .header .chat-shortcut {display:inline-flex;align-items:center}
.market-service-mode .header .chat-shortcut .notification-dot {width:7px;height:7px;border-radius:50%;position:absolute;right:0;top:0}
@media(max-width:700px){.market-service-mode .header .chat-shortcut,.market-service-mode.app-mode .header .chat-shortcut {font-size:0;min-width:32px;min-height:38px;justify-content:center;gap:0}}
.moa-seller-workspace .header .search {display:none}
.moa-seller-workspace .header-actions {margin-left:auto}

.moa-linked-malls {max-width:940px;margin:16px auto;padding:clamp(18px,4vw,32px)}
.moa-linked-mall-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}
.moa-linked-mall-grid>a {display:flex;align-items:center;justify-content:space-between;gap:12px;overflow-wrap:anywhere}
.moa-linked-mall-grid svg {flex:0 0 18px;width:18px;height:18px}
.reg-existing-mall {display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:16px 0 22px;padding:10px 14px;border:1px solid #dce6e1;border-radius:12px;font-size:.875rem;color:#405a50}
.reg-existing-mall a {display:inline-flex;align-items:center;gap:6px;min-height:36px;color:#126054;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.reg-existing-mall a:focus-visible {outline-offset:3px}

.market-service-mode .header a.brand {text-decoration:none;color:inherit}

.moa-market-entry {display:inline-flex;align-items:center;color:#126054;font-weight:700;white-space:nowrap;text-decoration:none}
.moa-market-entry[hidden] {display:none}
.moa-member-stores {margin-top:22px}
.moa-public-catalog .favorite,.moa-public-catalog [data-sell] {display:none}
@media(max-width:700px){.moa-market-entry {font-size:12px}}

.moa-primary-nav>a {display:flex;align-items:center;gap:7px;padding:10px 19px;border-radius:25px;font-weight:600;white-space:nowrap;text-decoration:none;color:inherit}
.moa-primary-nav>a[aria-current=page] {background:var(--ink);color:white}
.moa-primary-nav>a svg {width:18px;height:18px}
.community-heading {align-items:center;margin-bottom:14px}
.community-filters,.community-posts {margin-bottom:16px}
.community-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.community-post {display:grid;width:100%;gap:4px;text-align:left;padding:14px 0;border-bottom:1px solid #e5ebe7;overflow-wrap:anywhere}
.community-post strong {font-size:1rem}
.community-post small {color:#536963}
.community-post-body {white-space:pre-wrap;overflow-wrap:anywhere}
.community-compose .field {margin-top:12px}
@media(max-width:700px){.moa-primary-nav>a,.app-mode .moa-primary-nav>a {font-size:11px;padding:8px 9px;gap:4px}.moa-primary-nav>a svg {width:15px;height:15px}}

:is(.community-filters, .community-compose) [data-region-picker] {
 border: 1px solid var(--line, #e9eae6);
 border-radius: 12px;
 min-inline-size: 0;
}
