/* MallPlot shared visual foundation. Loaded after the approved page styles. */
:root {
  color-scheme: light;
  --mp-ink: #173f32;
  --mp-muted: #52675a;
  --mp-green: #075640;
  --mp-gold: #b18226;
  --mp-line: #dce4db;
  --mp-radius: 16px;
  --mp-space: clamp(20px, 3vw, 44px);
  font-size: 16px;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--mp-ink);
  text-rendering: optimizeLegibility;
}
button,
input,
select,
textarea {
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}
button,
[role='button'],
input[type='submit'] {
  min-height: 46px;
  max-width: 100%;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.16s,
    color 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
button {
  white-space: normal;
  overflow-wrap: break-word;
}
button:not(.icon):not(.account-close):not(.drawer-close) {
  border-radius: 9px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--mp-gold);
  outline-offset: 4px;
}
input:not([type='checkbox']):not([type='radio']),
select,
textarea {
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid #b9c9bd;
  background-color: #fff;
  color: var(--mp-ink);
}
textarea {
  min-height: 124px;
  resize: vertical;
}
input[type='checkbox'],
input[type='radio'] {
  min-width: 18px;
  min-height: 18px;
  accent-color: var(--mp-green);
  flex-shrink: 0;
}
input::placeholder,
textarea::placeholder {
  color: #64766a;
  opacity: 1;
}
body label {
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 550;
}
body :is(p, li) {
  line-height: 1.7;
}
body
  :is(
    .muted,
    .auth-note,
    .account-note,
    .reg-note,
    .secure-notice,
    .dependency-heading p,
    .manufacturer-status p,
    .workspace-note,
    .seller-sidebar-foot,
    .secure-footer
  ) {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--mp-muted);
}
body :is(.eyebrow, .secure-eyebrow, .about-kicker, .reg-counter, .admin-live-dot) {
  font-size: 12px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.12em;
  font-weight: 650;
}
body :is(.pill, .connection-status, .msg-tag) {
  font-size: 12px !important;
  line-height: 1.4 !important;
  padding: 6px 10px;
}
body
  :is(
    .seller-main,
    .secure-main,
    .auth-form,
    .secure-card,
    .panel,
    .dependency-card,
    .msg-panel,
    .seller-workspace
  ) {
  min-width: 0;
}
body :is(.seller-main, .secure-main) p {
  font-size: 16px;
}
body :is(.seller-intro h1, .secure-main h1, .msg-top h1) {
  font-size: clamp(30px, 2.7vw, 44px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.035em !important;
  font-weight: 650 !important;
  text-wrap: balance;
}
body :is(.seller-welcome h1, .manufacturer-hero h1, .admin-welcome h1) {
  font-size: clamp(34px, 3.4vw, 54px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  font-weight: 550 !important;
  text-wrap: balance;
}
body :is(.seller-main h2, .secure-main h2, .seller-section-heading h2) {
  font-size: clamp(21px, 1.8vw, 28px) !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}
body :is(.seller-main h3, .secure-main h3, .panel h3) {
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}
body :is(.seller-intro p, .seller-welcome p, .manufacturer-hero p, .admin-welcome p) {
  font-size: 17px !important;
  line-height: 1.7 !important;
  max-width: 60ch;
}
body :is(.seller-sidebar nav button, .secure-sidebar nav button) {
  font-size: 15px !important;
  line-height: 1.4 !important;
  min-height: 46px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
body :is(.seller-identity strong, .seller-sidebar .seller-platform) {
  font-size: 16px !important;
  line-height: 1.5 !important;
}
body
  :is(
    .seller-identity small,
    .seller-identity > span,
    .seller-sidebar-foot a,
    .admin-sidebar-title small
  ) {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.seller-app {
  grid-template-columns: 250px minmax(0, 1fr);
}
.seller-sidebar {
  padding: 28px 18px;
  min-width: 0;
  overflow-y: auto;
}
.seller-sidebar nav {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.seller-header {
  height: auto;
  min-height: 88px;
  align-items: center;
  padding: 18px var(--mp-space);
  gap: 16px;
}
body .seller-header > span {
  font-size: 15px !important;
  line-height: 1.4;
}
.seller-header > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.seller-main,
.admin-app .seller-main.secure-main {
  width: 100%;
  max-width: 1600px;
  padding: var(--mp-space) !important;
  margin-inline: auto;
}
body :is(.panel, .dependency-card) {
  border-color: var(--mp-line);
  border-radius: var(--mp-radius);
  padding: clamp(20px, 2.2vw, 32px);
  box-shadow: 0 3px 16px #123e3005;
}
body :is(.seller-welcome, .manufacturer-hero, .admin-welcome) {
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--mp-radius);
}
.admin-welcome p {
  color: #e0eade !important;
}
.admin-welcome .eyebrow {
  color: #e6cb8d !important;
}
.seller-section-heading {
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.seller-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 34px;
}
body .seller-metrics .stat {
  font-size: 14px !important;
  line-height: 1.5;
  padding: 22px;
  min-width: 0;
  display: block;
  border: 1px solid #dfe7d8;
  border-radius: 14px;
}
body .seller-metrics .stat strong {
  display: block;
  font-size: clamp(25px, 2.3vw, 36px) !important;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.035em;
  margin-top: 10px;
  overflow-wrap: anywhere;
  color: #234a35;
}
body :is(table, .market-table) {
  font-size: 14px !important;
  line-height: 1.55;
}
body :is(th, td) {
  padding: 16px 14px !important;
  vertical-align: middle;
}
body th {
  font-weight: 650;
  color: #365542;
}
body :is(td, th) .muted {
  font-size: 13px !important;
}
.market-table-wrap,
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.panel:has(> table) {
  overflow-x: auto;
}
body .admin-attention {
  font-size: 16px;
  gap: 16px;
  min-height: 58px;
}
body .admin-attention strong {
  font-size: 24px;
  font-weight: 600;
}
.seller-stock-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 24px;
}
.seller-stock-card {
  border-radius: 15px;
  border: 1px solid var(--mp-line);
  box-shadow: 0 3px 14px #123e3005;
}
.seller-stock-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.seller-stock-image :is(img, svg) {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
body .seller-stock-copy {
  padding: 20px;
}
body .seller-stock-copy h3 {
  font-size: 20px !important;
  line-height: 1.4;
}
body .seller-stock-copy p,
body .seller-stock-copy small,
body .seller-base {
  font-size: 14px !important;
  line-height: 1.55;
}
.seller-stock-card button {
  width: 100%;
  margin-top: 10px;
}
.seller-stock-toolbar {
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.seller-stock-toolbar input {
  min-width: 180px;
  flex: 1;
}
.grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px 24px;
}
.grid > * {
  min-width: 0;
}
body :is(.product h3, .store-card h3) {
  font-size: 20px;
  line-height: 1.4;
}
body :is(.product p, .product small, .store-card p) {
  font-size: 15px;
  line-height: 1.6;
}
img,
svg,
video {
  max-width: 100%;
}
img {
  object-fit: contain;
}
.form-grid {
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid > * {
  min-width: 0;
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
}
body :is(.manufacturer-guidance li, .manufacturer-guidance p) {
  font-size: 15px;
  line-height: 1.65;
}
.manufacturer-product-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 24px;
}
body .manufacturer-status {
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
body .manufacturer-status p {
  max-width: 70ch;
}
body .auth-layout {
  max-width: 1320px;
  min-height: 640px;
  margin: clamp(24px, 4vw, 60px) auto;
  grid-template-columns: 1.05fr 1fr;
}
body .auth-form {
  padding: clamp(28px, 4vw, 60px);
}
body .auth-form h2,
body .secure-card h2 {
  font-size: clamp(30px, 2.8vw, 42px) !important;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
body .auth-form > p,
body .secure-card p {
  font-size: 16px;
  line-height: 1.65;
}
body .auth-story {
  padding: clamp(28px, 4vw, 60px);
}
body .auth-story p {
  font-size: 18px;
  line-height: 1.7;
  color: #e4eddf;
}
body .auth-story h1 {
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
body :is(.auth-footer, .secure-brand small, .auth-brand small) {
  font-size: 13px;
  line-height: 1.5;
}
body .auth-secondary {
  font-size: 15px !important;
  min-height: 44px;
}
body .auth-form input {
  font-size: 16px !important;
  min-height: 50px;
}
body .auth-form .auth-submit {
  min-height: 50px;
  width: 100%;
  font-size: 16px !important;
}
body .auth-form label {
  margin-block: 18px;
}
body .index-brand {
  font-size: clamp(30px, 2.7vw, 42px);
  letter-spacing: -0.045em;
  font-weight: 650;
}
body .index-brand span {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  margin-top: 8px;
}
body .index-lower > a {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 550;
  line-height: 1.5;
  padding-block: 12px;
}
body .index-footer,
body .index-footer a {
  font-size: 14px;
  line-height: 1.5;
}
body .footer,
body .footer a {
  font-size: 14px;
  line-height: 1.6;
}
body .about-page p {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
}
body .about-footer {
  font-size: 14px;
}
body .msg-panel {
  min-width: 0;
  border-radius: 14px;
}
body :is(.msg-contact, .msg-recipient, .msg-rule, .msg-meta, .msg-counter, .msg-panel-head) {
  font-size: 14px !important;
  line-height: 1.55;
}
body .msg-composer {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
body .market-editor :is(input, select, textarea) {
  font-size: 16px !important;
}
@media (hover: hover) {
  button:not(:disabled):hover {
    filter: brightness(0.97);
    box-shadow: 0 3px 10px #173f3215;
  }
  .seller-stock-card:hover {
    border-color: #aabcaa;
    box-shadow: 0 8px 24px #173f3210;
  }
}
@media (min-width: 1800px) {
  :root {
    font-size: 17px;
  }
  .seller-main {
    max-width: 1680px;
  }
  .seller-app {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}
@media (max-width: 1100px) {
  .seller-app {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .seller-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .manufacturer-product-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .manufacturer-guidance {
    display: block;
  }
  .seller-stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seller-header {
    flex-wrap: wrap;
  }
  .admin-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .seller-app {
    grid-template-columns: minmax(0, 1fr);
  }
  .seller-sidebar,
  .admin-app .seller-sidebar {
    position: static;
    height: auto;
    padding: 22px 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--mp-line);
    overflow: visible;
  }
  .seller-sidebar nav,
  .admin-app .seller-sidebar nav {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    padding-bottom: 12px;
    gap: 8px;
    flex: none;
  }
  .seller-sidebar nav button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .seller-sidebar-foot {
    display: none;
  }
  .seller-identity {
    display: none;
  }
  .seller-sidebar .seller-platform {
    margin-bottom: 18px;
  }
  .seller-header {
    min-height: 80px;
    padding: 16px 20px;
  }
  .seller-main,
  .admin-app .seller-main.secure-main {
    padding: 24px 20px !important;
  }
  .manufacturer-hero-mark {
    opacity: 0.3;
    right: -40px;
  }
  .seller-welcome-art {
    max-width: 40%;
  }
  .seller-header > div {
    min-width: 0;
  }
  .admin-sidebar-title {
    position: static;
    margin: 12px 0;
  }
  .auth-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    display: flex;
    flex-direction: column;
  }
  .auth-story {
    min-height: 220px;
  }
  .auth-story h1 {
    max-width: 18ch;
  }
  .secure-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .secure-header {
    gap: 18px;
    flex-wrap: wrap;
  }
  .secure-card {
    padding: 32px 24px;
  }
  .secure-story {
    padding: 32px 24px;
  }
  .index-lower {
    gap: 20px;
  }
  .index-header {
    gap: 20px;
  }
  .msg-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .msg-panel {
    width: 100%;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .seller-stock-grid,
  .grid,
  .form-grid,
  .manufacturer-product-layout .form-grid,
  .seller-mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .seller-metrics {
    gap: 12px;
  }
  .seller-metrics .stat {
    padding: 16px !important;
    font-size: 13px !important;
  }
  .seller-metrics .stat strong {
    font-size: 26px !important;
  }
  .seller-welcome-art {
    display: none;
  }
  .seller-header > div {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seller-header > div button {
    padding: 10px;
  }
  .seller-section-heading {
    align-items: flex-start;
  }
  .seller-main,
  .admin-app .seller-main.secure-main {
    padding: 22px 16px !important;
  }
  .manufacturer-product-layout .form-grid .wide {
    grid-column: auto;
  }
  .auth-page {
    padding-inline: 16px;
  }
  .auth-form,
  .auth-story {
    padding: 28px 22px !important;
  }
  .auth-footer {
    flex-wrap: wrap;
    gap: 14px;
  }
  .index-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 150px;
    padding-top: 22px;
    align-content: start;
  }
  .index-header .index-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .index-header .index-menu {
    grid-column: 2;
    grid-row: 1;
  }
  .index-header .index-entry {
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: start;
  }
  .index-page {
    grid-template-rows: 190px minmax(260px, 1fr) auto auto !important;
    padding-inline: 20px !important;
  }
  .index-lower {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-block: 24px;
  }
  .index-lower > a {
    font-size: 17px;
  }
  .index-brand span {
    max-width: 25ch;
  }
  .index-footer {
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 20px;
  }
  .reg-phone {
    min-width: 0;
  }
  .reg-phone input {
    min-width: 0;
  }
  .reg-buttons,
  .dependency-actions {
    flex-wrap: wrap;
  }
  .reg-buttons > button {
    flex: 1 1 140px;
  }
  dialog {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px;
    overflow: auto;
  }
  .msg-tools {
    flex-wrap: wrap;
  }
  .msg-top .msg-tools {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-header {
    flex-wrap: wrap;
    gap: 20px;
  }
  .about-page {
    overflow-wrap: break-word;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* Readable supporting copy, including original storefront and footer metadata. */
body p {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
body small {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
body
  :is(
    .store-overline,
    .store-product-category,
    .store-feature-label,
    .store-feature-caption,
    .seller-platform small,
    .seller-sidebar-foot > span
  ) {
  font-size: 12px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.09em;
}
body :is(.store-product-copy, .store-product-info, .store-product-footer) {
  font-size: 15px !important;
  line-height: 1.55;
}
body .store-feature-caption span {
  font-size: 13px !important;
}
body .store-product strong {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 650;
}
body .store-product h3 {
  font-size: 20px !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em;
}
body :is(.store-footer, .store-footer a, .auth-footer a, .about-footer a, .index-footer a) {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
body :is(.store-footer, .auth-footer, .about-footer, .index-footer) a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
}
body .store-section-heading p {
  font-size: 16px !important;
}
body :is(.seller-platform small, .seller-sidebar-foot > span) {
  letter-spacing: 0.06em;
}
@media (max-width: 520px) {
  .store-collection,
  .store-steps,
  .store-service {
    padding-inline: 20px;
  }
  .store-footer {
    gap: 18px;
    flex-wrap: wrap;
  }
  .store-product {
    min-width: 0;
  }
  .store-product-image,
  .store-product-art {
    aspect-ratio: 4/3;
    overflow: hidden;
  }
  .store-header input {
    width: 100%;
  }
}
body :is(.seller-stock-toolbar, .seller-stock-copy, .seller-stock-image) span {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
body .seller-stock-image > span {
  padding: 6px 9px;
  letter-spacing: 0.04em;
}
body :is(.seller-mini, .seller-stock-copy, .seller-stock-toolbar) {
  color: #425d4a;
}
body :is(.workspace-note, .preview) {
  font-size: 12px !important;
  line-height: 1.6 !important;
}
body :is(.manufacturer-hero, .seller-welcome, .seller-intro, .manufacturer-guidance) p {
  color: #4a624c !important;
}
body :is(.seller-platform, .seller-sidebar-foot) small {
  color: #53654e !important;
}
body :is(.market-metrics article > span, .market-metrics article > small) {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #526454;
}
body :is(.manufacturer-hero, .manufacturer-guidance) .eyebrow {
  color: #795c25 !important;
}
/* Manufacturer workspace navigation, approved 21 October 2026. */
body:has(.manufacturer-app) > .site-notice {
  display: none;
}
.manufacturer-account-actions {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--mp-line);
  display: grid;
  gap: 10px;
}
.manufacturer-account-actions button {
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  min-height: 46px;
}
.manufacturer-site-navigation {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
}
.manufacturer-site-navigation > summary {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--mp-line);
  border-radius: 10px;
  background: #fff;
  color: var(--mp-green);
  font-size: 25px;
  line-height: 1;
}
.manufacturer-site-navigation > summary::-webkit-details-marker {
  display: none;
}
.manufacturer-site-navigation[open] > summary {
  background: #edf2e7;
}
.manufacturer-site-navigation > nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;
  width: 240px;
  max-width: calc(100vw - 40px);
  padding: 10px;
  border: 1px solid var(--mp-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 35px #123e3020;
  display: grid;
  gap: 3px;
}
.manufacturer-site-navigation > nav a {
  padding: 10px 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--mp-green);
  text-decoration: none;
  border-radius: 7px;
}
.manufacturer-site-navigation > nav a:hover {
  background: #edf2e7;
}
@media (max-width: 800px) {
  .manufacturer-account-actions {
    margin-top: 16px;
    padding-block: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .manufacturer-account-actions button {
    width: auto;
    flex: 1 1 160px;
  }
  .manufacturer-app .seller-sidebar-foot {
    display: none;
  }
  .manufacturer-app .seller-header {
    flex-wrap: nowrap;
  }
  .manufacturer-app .seller-sidebar nav {
    margin-bottom: 0;
  }
}
/* Manufacturer logo control mirrors the existing sidebar navigation. */
.manufacturer-site-navigation > summary img {
  width: 34px;
  height: 28px;
  display: block;
  object-fit: contain;
}
.manufacturer-site-navigation > nav {
  width: 300px;
  max-height: min(75dvh, 680px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.manufacturer-site-navigation > nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  text-align: left;
  padding: 11px 14px;
  border: 0;
  background: transparent;
  color: var(--mp-green);
  font-size: 15px !important;
  font-weight: 550;
}
.manufacturer-site-navigation > nav button.active,
.manufacturer-site-navigation > nav button:hover {
  background: #edf2e7;
}
.manufacturer-site-navigation > nav button span {
  width: 20px;
  flex-shrink: 0;
  text-align: center;
  color: #8d793f;
}
.manufacturer-dropdown-account:not(:empty) {
  border-top: 1px solid var(--mp-line);
  margin-top: 8px;
  padding-top: 8px;
  display: grid;
  gap: 3px;
}
/* Clear workspace identity and a complete menu without internal scrolling. */
.manufacturer-app .seller-sidebar > .seller-identity {
  margin-top: 0;
  padding-top: 0;
}
.manufacturer-site-navigation > summary {
  width: auto;
  min-width: 170px;
  height: auto;
  min-height: 76px;
  padding: 6px 10px;
  gap: 7px;
  border: 0;
  background: transparent;
  justify-items: center;
  border-radius: 10px;
}
.manufacturer-site-navigation > summary img {
  width: 42px;
  height: 30px;
}
.manufacturer-site-navigation > summary .manufacturer-workspace-label {
  display: block;
  color: #164c38;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.025em;
  text-align: center;
}
.manufacturer-site-navigation > nav {
  top: calc(100% + 5px);
  width: 280px;
  max-height: none;
  overflow: visible;
  gap: 0;
  padding: 8px;
}
.manufacturer-site-navigation > nav button,
.manufacturer-site-navigation > nav a {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px !important;
  line-height: 1.35 !important;
}
.manufacturer-dropdown-account:not(:empty) {
  gap: 0;
  margin-top: 5px;
  padding-top: 5px;
}
@media (max-width: 800px) {
  .manufacturer-app .seller-sidebar > .seller-identity {
    display: flex;
    margin: 0 0 18px;
    gap: 8px;
  }
  .manufacturer-app .seller-identity strong {
    max-width: 100%;
    white-space: normal;
  }
  .manufacturer-app .seller-header {
    padding: 10px 16px;
    min-height: 96px;
  }
  .manufacturer-site-navigation > summary {
    min-width: 156px;
    max-width: 180px;
  }
  .manufacturer-site-navigation > summary .manufacturer-workspace-label {
    font-size: 13px;
  }
}
@media (max-height: 650px) {
  .manufacturer-site-navigation > nav {
    width: min(520px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }
  .manufacturer-dropdown-account:not(:empty) {
    display: contents;
  }
  .manufacturer-site-navigation > nav button,
  .manufacturer-site-navigation > nav a {
    min-height: 42px;
    padding: 7px 10px;
    font-size: 14px !important;
  }
  .manufacturer-app .seller-header {
    padding-block: 8px;
    min-height: 82px;
  }
  .manufacturer-site-navigation > summary {
    min-height: 62px;
    gap: 4px;
  }
}
@media (max-height: 450px) {
  .manufacturer-site-navigation > nav button,
  .manufacturer-site-navigation > nav a {
    min-height: 36px;
    padding: 5px 10px;
    font-size: 13px !important;
  }
  .manufacturer-site-navigation > summary img {
    height: 25px;
  }
  .manufacturer-site-navigation > summary {
    min-height: 56px;
  }
}
@media (max-width: 520px) and (max-height: 650px) {
  .manufacturer-site-navigation > nav {
    position: fixed;
    top: auto;
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
}
/* Manufacturer product catalogue and shipment workflow. */
.mp-product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--mp-line);
}
.mp-product-tabs button {
  padding: 12px 20px;
  min-height: 46px;
}
.mp-product-tabs .active {
  background: var(--mp-green);
  color: #fff;
}
.mp-feedback {
  padding: 16px 20px;
  background: #ecf3e8;
  color: #234a35;
  border: 1px solid #c5d6be;
  border-radius: 10px;
  line-height: 1.6;
  margin: 18px 0;
}
.mp-feedback.error {
  background: #fff1eb;
  color: #823c24;
  border-color: #e4c0ad;
}
.mp-feedback[hidden] {
  display: none;
}
.manufacturer-products-host label {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.manufacturer-products-host .wide {
  grid-column: 1/-1;
}
.manufacturer-products-host input,
.manufacturer-products-host select,
.manufacturer-products-host textarea {
  width: 100%;
}
.mp-table {
  overflow-x: auto;
}
.mp-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.mp-table code,
.mp-product-details code,
.manufacturer-products-host > code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 5px;
  color: #52675a;
  max-width: 300px;
}
.mp-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 170px;
}
.mp-row-actions button {
  font-size: 14px !important;
  padding: 8px 12px;
  min-height: 40px;
}
.mp-dispatch-controls {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 20px;
  align-items: end;
}
.mp-dispatch-controls label {
  margin: 0;
}
.mp-dispatch-controls button {
  min-height: 48px;
  padding: 12px 18px;
}
.mp-shipment-product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 25px;
  align-items: start;
}
.mp-product-details {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  font-size: 15px;
  line-height: 1.6;
}
.mp-product-details dt {
  color: #52675a;
}
.mp-product-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.mp-photo-stage {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  background: #f0f3ed;
  border: 1px solid var(--mp-line);
  border-radius: 12px;
  overflow: hidden;
}
.mp-photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
}
.mp-photo-stage p {
  text-align: center;
  padding: 24px;
}
.mp-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.mp-gallery-controls button {
  width: 48px;
}
.mp-gallery-controls span {
  font-size: 14px;
  color: #52675a;
}
.mp-table input[type='number'] {
  min-width: 80px;
  width: 100px;
}
@media (max-width: 1100px) {
  .mp-dispatch-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .mp-dispatch-controls button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .mp-shipment-product {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .mp-product-tabs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .mp-dispatch-controls {
    grid-template-columns: minmax(0, 1fr);
  }
  .mp-dispatch-controls button {
    width: 100%;
    justify-self: stretch;
  }
  .mp-product-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
  .mp-product-details dd {
    margin-bottom: 12px;
  }
  .manufacturer-products-host .form-grid .wide {
    grid-column: auto;
  }
  .mp-table code {
    max-width: 220px;
  }
}
.mp-shipment-product > div > code,
.manufacturer-products-host code {
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.6;
}
.mp-shipment-product > div > code {
  display: block;
}
/* Manufacturer product collection and photo studio. */
.mp-product-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 260px;
}
.mp-product-identity > div {
  min-width: 0;
  max-width: 260px;
}
.mp-product-identity strong {
  display: block;
  font-size: 16px;
  line-height: 1.45;
}
.mp-product-identity code {
  display: block;
  margin-top: 7px;
  font-size: 11px !important;
  color: #687b71;
  max-width: 230px;
}
.manufacturer-products-host button.mp-product-thumbnail {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 1px solid #e2e8df;
  border-radius: 12px;
  background: #f2f5ef;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #8c9b8f;
  font-size: 28px;
}
.mp-product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mp-product-library table {
  min-width: 950px;
}
.mp-product-library td {
  vertical-align: middle;
  padding: 22px 16px !important;
}
.mp-product-library th {
  font-size: 12px !important;
  letter-spacing: 0.03em;
}
.mp-product-library .mp-row-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}
.manufacturer-products-host .mp-icon-action {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 8px;
  background: transparent;
  color: #235540;
  border: 1px solid transparent;
  border-radius: 9px;
  box-shadow: none;
  font-size: 25px;
  line-height: 1;
  flex-shrink: 0;
}
.manufacturer-products-host .mp-icon-action:hover {
  background: #edf2e9;
  border-color: #d9e3d5;
}
.mp-icon-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mp-photo-count {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.mp-photo-count span {
  color: #7c897f;
}
.mp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mp-product-editor {
  width: min(940px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid #dce4d8;
  border-radius: 22px;
  background: #fff;
  color: #173f31;
  box-shadow: 0 30px 100px #102e334d;
  overscroll-behavior: contain;
}
.mp-product-editor::backdrop {
  background: #0d271fd1;
  backdrop-filter: blur(5px);
}
.mp-editor-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid #e7ebe3;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.mp-editor-heading h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 5px 0 !important;
}
.mp-editor-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  color: #a17c32;
}
.mp-editor-heading code {
  font-size: 11px !important;
  color: #718076;
  display: block;
  overflow-wrap: anywhere;
}
.mp-editor-body {
  padding: 24px 28px;
}
.mp-product-editor .mp-photo-stage {
  height: clamp(220px, 48dvh, 520px);
  min-height: 0;
  background: #f6f7f3;
  border: 1px solid #e8ece2;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mp-product-editor .mp-photo-stage img {
  height: 100%;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.mp-product-editor .mp-gallery-controls {
  justify-content: center;
  gap: 24px;
  margin: 14px 0 20px;
}
.mp-editor-photo-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.mp-editor-photo-tools > span {
  margin-left: auto;
  font-size: 13px;
  color: #728276;
}
.mp-upload-button {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: #174c38;
  color: white;
  padding: 11px 17px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  margin: 0 !important;
}
.mp-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
}
.mp-upload-button:focus-within {
  outline: 3px solid #c3a151;
  outline-offset: 3px;
}
.mp-product-editor .mp-delete-photo {
  font-size: 13px;
  color: #934632;
  padding: 10px 14px;
  min-height: 40px;
  border-radius: 9px;
}
.mp-editor-details {
  margin-top: 24px;
  border-top: 1px solid #e7ebe3;
  padding-top: 18px;
}
.mp-editor-details > summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  padding: 6px 0;
}
.mp-editor-details .seller-intro {
  display: none;
}
.mp-editor-details .panel {
  box-shadow: none;
  border: 0;
  padding: 20px 0 0;
  margin: 0;
}
.mp-editor-details label:has(#mp-product-files),
.mp-editor-details #mp-file-summary {
  display: none;
}
.mp-editor-details .form-grid {
  gap: 16px;
}
.mp-editor-details input,
.mp-editor-details textarea {
  font-size: 15px;
}
@media (max-width: 600px) {
  .mp-product-editor {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
  }
  .mp-editor-heading {
    padding: 17px 16px;
  }
  .mp-editor-heading h2 {
    font-size: 19px;
  }
  .mp-editor-body {
    padding: 16px;
  }
  .mp-editor-photo-tools {
    gap: 8px;
  }
  .mp-editor-photo-tools > span {
    width: 100%;
    margin: 4px 0 0;
  }
  .mp-product-editor .mp-photo-stage {
    height: 36dvh;
    min-height: 200px;
  }
  .mp-product-identity {
    gap: 12px;
  }
  .manufacturer-products-host button.mp-product-thumbnail {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
}
.mp-product-editor .mp-photo-stage {
  width: 100%;
  aspect-ratio: auto;
}
.mp-product-editor {
  overflow-x: hidden;
  box-sizing: border-box;
  contain: layout paint;
}
.mp-editor-body,
.mp-editor-heading,
.mp-editor-details {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.mp-editor-details:not([open]) > :not(summary) {
  display: none;
}
.mp-editor-details .form-grid {
  min-width: 0;
}
.mp-editor-details input,
.mp-editor-details textarea {
  max-width: 100%;
  box-sizing: border-box;
}
.manufacturer-products-host div.mp-product-thumbnail {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border: 1px solid #e2e8df;
  border-radius: 12px;
  background: #f2f5ef;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #8c9b8f;
  font-size: 28px;
}
.mp-shipment-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 12px;
  flex-wrap: wrap;
}
.mp-shipment-toolbar > div {
  display: flex;
  gap: 8px;
}
.mp-shipment-toolbar button {
  font-size: 14px;
  padding: 10px 20px;
  min-height: 42px;
}
.mp-shipment-toolbar > span {
  font-size: 13px;
  color: #5f7265;
}
.mp-shipment-selected {
  background: #f3f7ef;
}
.manufacturer-products-host input.mp-shipment-check {
  appearance: none;
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border: 1.5px solid #91a595;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  display: block;
}
.manufacturer-products-host input.mp-shipment-check:checked {
  background: #17553c;
  border-color: #17553c;
  box-shadow: inset 0 0 0 4px #fff;
}
.manufacturer-products-host input.mp-shipment-check:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.manufacturer-products-host input.mp-shipment-quantity {
  width: 84px;
  min-height: 40px;
  padding: 8px;
  font-size: 14px;
}
.mp-review-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 24px;
}
.mp-review-summary dt {
  color: #748176;
  font-size: 12px;
  margin-bottom: 6px;
}
.mp-review-summary dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.mp-review-summary small {
  display: block;
  font-weight: 400;
  margin-top: 4px;
}
.mp-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.mp-shipment-review .mp-table {
  overflow-x: auto;
}
.mp-shipment-review table {
  min-width: 850px;
}
.mp-shipment-review .mp-product-identity {
  min-width: 240px;
}
@media (max-width: 600px) {
  .mp-review-summary {
    grid-template-columns: 1fr;
  }
  .manufacturer-products-host div.mp-product-thumbnail {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
  .mp-review-actions button {
    flex: 1;
  }
}
.mp-shipment-row-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.manufacturer-products-host input.mp-shipment-check {
  width: 26px;
  height: 26px;
  min-height: 26px;
  border: 3px solid #12613f;
  flex: 0 0 26px;
}
.manufacturer-products-host input.mp-shipment-check:checked {
  background: #12613f;
  border-color: #12613f;
  box-shadow: inset 0 0 0 4px white;
}
.manufacturer-products-host input.mp-shipment-check:disabled {
  opacity: 0.65;
}
.mp-shipment-row-controls .mp-icon-action {
  color: #12613f;
}
.mp-shipment-row-controls svg {
  stroke-width: 2;
}
.mp-product-shipping-state {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 600;
  color: #6e796e;
  padding: 2px 8px;
  border-radius: 20px;
  background: #eef1eb;
}
.mp-product-shipping-state.is-shipped {
  color: #12613f;
  background: #e2efdf;
}
.mp-quantity-note {
  display: block;
  max-width: 130px;
  margin-top: 6px;
  color: #7a7055;
  font-size: 11px;
  line-height: 1.5;
}
/* Keep the complete manufacturer sidebar visible within desktop height. */
@media (min-width: 801px) {
  .manufacturer-app .seller-sidebar {
    height: 100dvh;
    max-height: 100dvh;
    box-sizing: border-box;
    padding: clamp(10px, 2vh, 20px) 16px;
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1.2vh, 12px);
    overflow: visible;
  }
  .manufacturer-app .seller-sidebar > .seller-identity {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0 0 clamp(8px, 1.8vh, 16px);
    border-bottom: 1px solid #e1e7dc;
  }
  .manufacturer-app .seller-sidebar > .seller-identity > span,
  .manufacturer-app .seller-sidebar > .seller-identity > img {
    width: clamp(32px, 6vh, 48px);
    height: clamp(32px, 6vh, 48px);
    min-height: 0;
    flex: none;
    border-radius: 14px;
    margin: 0;
    object-fit: contain;
    display: grid;
    place-items: center;
    font-size: 20px !important;
  }
  body .manufacturer-app .seller-sidebar > .seller-identity strong {
    font-size: 14px !important;
    line-height: 1.3 !important;
    max-width: 100%;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body .manufacturer-app .seller-sidebar > .seller-identity small {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin: 0;
  }
  .manufacturer-app .seller-sidebar > nav {
    display: grid;
    gap: clamp(2px, 0.5vh, 5px);
    margin: 0;
    flex: none;
    overflow: visible;
  }
  body .manufacturer-app .seller-sidebar > nav > button {
    height: clamp(30px, 5.4vh, 44px);
    min-height: 0 !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    box-shadow: none;
  }
  .manufacturer-app .seller-sidebar > .manufacturer-account-actions {
    margin-top: auto;
    padding-top: 8px;
    gap: 4px;
    flex: none;
    display: grid;
  }
  body .manufacturer-app .manufacturer-account-actions button {
    min-height: 0;
    height: clamp(30px, 5.4vh, 42px);
    padding: 6px 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }
}
@media (min-width: 801px) and (max-height: 520px) {
  .manufacturer-app .seller-sidebar > .seller-identity small {
    display: none;
  }
  .manufacturer-app .seller-sidebar > .seller-identity {
    gap: 3px;
    padding-bottom: 6px;
  }
  .manufacturer-app .seller-sidebar {
    gap: 5px;
    padding-block: 8px;
  }
  body .manufacturer-app .seller-sidebar > nav > button {
    height: 30px;
  }
  .manufacturer-app .seller-sidebar > .seller-identity > span,
  .manufacturer-app .seller-sidebar > .seller-identity > img {
    width: 28px;
    height: 28px;
  }
}
/* Stack manufacturer identity clearly; never compress its name into a row. */
@media (min-width: 801px) {
  .manufacturer-app .seller-sidebar > .seller-identity {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 5px;
  }
  body .manufacturer-app .seller-sidebar > .seller-identity strong {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    text-overflow: clip;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow-wrap: anywhere;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  body .manufacturer-app .seller-sidebar > .seller-identity small {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  .manufacturer-app .seller-sidebar > .seller-identity > span,
  .manufacturer-app .seller-sidebar > .seller-identity > img {
    margin: 0 auto 2px;
  }
}
@media (min-width: 801px) and (max-height: 520px) {
  .manufacturer-app .seller-sidebar > .seller-identity {
    gap: 2px;
  }
  body .manufacturer-app .seller-sidebar > .seller-identity strong {
    font-size: 12px !important;
  }
  body .manufacturer-app .seller-sidebar > .seller-identity small {
    font-size: 10px !important;
  }
  .manufacturer-app .seller-sidebar > nav {
    gap: 1px;
  }
  body .manufacturer-app .seller-sidebar > nav > button {
    height: 28px;
    font-size: 13px !important;
  }
}
@media (min-width: 801px) {
  body .manufacturer-app .seller-sidebar > .seller-identity strong {
    max-width: 190px;
    margin-inline: auto;
  }
}
/* A single logo-led navigator on phone and tablet; desktop keeps its sidebar. */
.manufacturer-mobile-identity,
.admin-mobile-identity,
.admin-site-navigation {
  display: none;
}
@media (max-width: 1024px) {
  .manufacturer-app,
  .admin-app {
    display: block;
    grid-template-columns: minmax(0, 1fr);
  }
  .manufacturer-app > .seller-sidebar,
  .admin-app > .seller-sidebar {
    display: none !important;
  }
  .manufacturer-app .seller-workspace,
  .admin-app .seller-workspace {
    min-width: 0;
    width: 100%;
  }
  .manufacturer-app .seller-header,
  .admin-app .seller-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    min-height: 104px;
    padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
    background: #fff;
    border-bottom: 1px solid #e2e7dd;
  }
  .manufacturer-app .seller-header > span,
  .admin-app .seller-header > span,
  .admin-app .seller-header > #signout {
    display: none !important;
  }
  .manufacturer-app .seller-header > .manufacturer-mobile-identity {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    width: auto;
    max-width: calc(100% - 140px);
    margin: 0;
    padding: 0;
    border: 0;
    text-align: left;
  }
  .manufacturer-app .manufacturer-mobile-identity > span,
  .manufacturer-app .manufacturer-mobile-identity > img {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-height: 36px;
    margin: 0;
    object-fit: contain;
    border-radius: 11px;
    background: #194d39;
    color: #d3b46b;
    border: 1px solid #b2934f;
    font: 20px Georgia;
  }
  body .manufacturer-app .manufacturer-mobile-identity strong {
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 650;
    max-width: 220px;
    white-space: normal !important;
    text-align: left !important;
    margin: 0;
    overflow-wrap: anywhere;
    text-overflow: clip;
  }
  .manufacturer-app .manufacturer-mobile-identity small {
    display: none;
  }
  .manufacturer-app .manufacturer-site-navigation {
    margin-left: auto;
    align-self: center;
  }
  .manufacturer-app .manufacturer-site-navigation > summary {
    min-width: 116px;
    max-width: 132px;
    min-height: 72px;
    padding: 5px 0;
    gap: 5px;
    border-radius: 10px;
  }
  .manufacturer-app .manufacturer-site-navigation > summary img {
    width: 36px;
    height: 29px;
  }
  .manufacturer-app .manufacturer-site-navigation > summary .manufacturer-workspace-label {
    font-size: 11px !important;
    line-height: 1.3;
    letter-spacing: 0;
    max-width: 125px;
  }
  .manufacturer-site-navigation > nav {
    right: 0;
    top: calc(100% + 12px);
    width: 290px;
    max-width: calc(100vw - 32px);
    padding: 8px;
    box-shadow: 0 18px 48px #123e3030;
  }
  .manufacturer-site-navigation > nav button {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 14px !important;
    line-height: 1.3 !important;
    box-shadow: none;
  }
  .manufacturer-site-navigation .manufacturer-dropdown-account button {
    min-height: 38px;
  }
  .admin-app .seller-header > .admin-mobile-identity {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    width: auto;
    font-size: 13px;
    font-weight: 650;
    color: #194d39;
  }
  .admin-mobile-identity img {
    width: 36px;
    height: 30px;
    object-fit: contain;
  }
  .admin-site-navigation {
    display: block;
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
  }
  .admin-site-navigation > summary {
    display: grid;
    place-items: center;
    gap: 6px;
    list-style: none;
    cursor: pointer;
    min-width: 112px;
    min-height: 70px;
    padding: 5px;
    border-radius: 10px;
    color: #174d38;
    font-size: 11px;
    font-weight: 650;
  }
  .admin-site-navigation > summary::-webkit-details-marker {
    display: none;
  }
  .admin-site-navigation > summary img {
    width: 36px;
    height: 29px;
    object-fit: contain;
  }
  .admin-site-navigation > nav {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: min(420px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid #dbe4d5;
    background: white;
    box-shadow: 0 18px 48px #123e3030;
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
  }
  .admin-site-navigation > nav button {
    display: flex;
    align-items: center;
    gap: 7px;
    text-align: left;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 12px !important;
    line-height: 1.3 !important;
    background: transparent;
    color: #194d39;
    box-shadow: none;
    border: 0;
    white-space: normal;
    border-radius: 8px;
  }
  .admin-site-navigation > nav button.active,
  .admin-site-navigation > nav button:hover {
    background: #edf3e8;
  }
  .admin-site-navigation #mobile-admin-signout {
    grid-column: 1/-1;
    border-top: 1px solid #dfe7da;
    border-radius: 0;
    margin-top: 4px;
    font-weight: 650;
  }
  .admin-app .admin-welcome,
  .manufacturer-app .manufacturer-hero {
    padding: 24px !important;
    border-radius: 16px;
  }
  body .admin-app .admin-welcome h1,
  body .manufacturer-app .manufacturer-hero h1 {
    font-size: clamp(28px, 6vw, 40px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.04em;
    max-width: 21ch;
  }
  body .admin-app .admin-welcome p,
  body .manufacturer-app .manufacturer-hero p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    max-width: 40ch;
  }
  .admin-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-welcome-actions button {
    flex: 1 1 150px;
    min-width: 0;
    white-space: normal;
    min-height: 44px;
    font-size: 13px !important;
    padding: 10px 14px;
  }
  .manufacturer-app .seller-metrics,
  .admin-app .seller-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .manufacturer-app .seller-main,
  .admin-app .seller-main.secure-main {
    padding: 20px 16px !important;
  }
  .manufacturer-app .seller-main .panel,
  .admin-app .seller-main .panel {
    min-width: 0;
  }
  .manufacturer-app .manufacturer-product-layout,
  .admin-app .admin-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .manufacturer-products-host .mp-product-tabs {
    gap: 6px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .manufacturer-products-host .mp-product-tabs button {
    font-size: 12px !important;
    min-width: 0;
    min-height: 44px;
    padding: 10px 6px;
    white-space: normal;
    line-height: 1.3;
  }
  .mp-dispatch-controls {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
  }
  .mp-dispatch-controls > button {
    width: 100%;
    min-height: 46px;
  }
  .manufacturer-app input,
  .manufacturer-app select,
  .manufacturer-app textarea,
  .admin-app input,
  .admin-app select,
  .admin-app textarea {
    font-size: 16px !important;
  }
}
@media (max-width: 380px) {
  .manufacturer-app .manufacturer-mobile-identity {
    max-width: calc(100% - 125px) !important;
  }
  .manufacturer-app .manufacturer-site-navigation > summary {
    min-width: 106px;
    max-width: 116px;
  }
  .manufacturer-app .manufacturer-site-navigation > summary .manufacturer-workspace-label {
    font-size: 10px !important;
  }
  .admin-site-navigation > nav button {
    padding: 8px 6px;
    font-size: 11px !important;
  }
}
@media (max-width: 1024px) and (max-height: 650px) {
  .manufacturer-site-navigation > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(440px, calc(100vw - 32px));
  }
  .manufacturer-site-navigation .manufacturer-dropdown-account {
    display: contents;
  }
  .manufacturer-site-navigation > nav button {
    min-height: 40px;
    font-size: 12px !important;
  }
  .admin-site-navigation > nav button {
    min-height: 36px;
  }
  .manufacturer-app .seller-header,
  .admin-app .seller-header {
    min-height: 86px;
    padding-block: 7px;
  }
}
@media (max-width: 600px) {
  .manufacturer-app #partner-account-status {
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
    border-radius: 12px;
  }
  .manufacturer-app #partner-account-status p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0;
  }
  .manufacturer-products-host > .mp-table {
    padding: 0 !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .manufacturer-products-host > .mp-table > table {
    display: block;
    min-width: 0 !important;
    width: 100%;
  }
  .manufacturer-products-host > .mp-table > table > thead {
    display: none;
  }
  .manufacturer-products-host > .mp-table > table > tbody {
    display: grid;
    gap: 14px;
  }
  .manufacturer-products-host > .mp-table > table > tbody > tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid #dfe6d9;
    border-radius: 14px;
    min-width: 0;
  }
  .manufacturer-products-host > .mp-table > table > tbody > tr.mp-shipment-selected {
    background: #f0f6e9;
    border-color: #8ca67e;
  }
  .manufacturer-products-host > .mp-table > table > tbody > tr > td {
    display: block;
    min-width: 0;
    border: 0 !important;
    padding: 0 !important;
    white-space: normal;
    font-size: 14px !important;
    line-height: 1.5;
  }
  .manufacturer-products-host > .mp-table > table > tbody > tr > td:first-child,
  .manufacturer-products-host > .mp-table > table > tbody > tr > td:last-child {
    grid-column: 1/-1;
  }
  .manufacturer-products-host
    > .mp-table
    > table
    > tbody
    > tr
    > td[data-label]:not(:first-child):not(:last-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    color: #748274;
    font-weight: 500;
    margin-bottom: 4px;
  }
  .manufacturer-products-host > .mp-table .mp-product-identity {
    min-width: 0;
    width: 100%;
    gap: 12px;
  }
  .manufacturer-products-host > .mp-table .mp-product-identity > div {
    min-width: 0;
  }
  .manufacturer-products-host > .mp-table .mp-product-identity code {
    max-width: 100%;
    font-size: 10px !important;
  }
  .manufacturer-products-host > .mp-table .mp-row-actions {
    justify-content: flex-end;
  }
  .manufacturer-products-host > .mp-table .mp-shipment-row-controls {
    justify-content: flex-end;
    border-top: 1px solid #e7ecdf;
    padding-top: 10px;
  }
  .manufacturer-products-host .seller-intro h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
  .manufacturer-products-host .seller-intro p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}
@media (max-width: 1024px) {
  .manufacturer-app .seller-header > .manufacturer-mobile-identity {
    position: static !important;
    inset: auto !important;
    flex: 1 1 0;
    width: auto;
    max-width: calc(100% - 140px) !important;
    transform: none;
  }
  .manufacturer-app .manufacturer-mobile-identity strong {
    width: 100%;
    max-width: 100% !important;
  }
  .manufacturer-app .manufacturer-site-navigation {
    margin-left: 0;
  }
  .manufacturer-app .seller-header {
    column-gap: 12px;
  }
  .admin-app .seller-header > .admin-mobile-identity {
    position: static;
    inset: auto;
    flex: 1 1 0;
  }
}
@media (min-width: 1025px) {
  .manufacturer-app .seller-header > .manufacturer-mobile-identity,
  .admin-app .seller-header > .admin-mobile-identity,
  .admin-site-navigation {
    display: none !important;
  }
}
.admin-mobile-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #194d39;
  color: #d3b46b;
  border: 1px solid #b2934f;
  font: 20px Georgia;
}
@media (min-width: 601px) and (max-width: 1024px) and (max-height: 500px) {
  .admin-site-navigation > nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(660px, calc(100vw - 32px));
  }
}
/* Stock requests: the manufacturer's direct connection to requested goods. */
.manufacturer-request-entry {
  display: grid;
  place-items: center;
  gap: 7px;
  width: 100%;
  padding: 0 !important;
  min-height: 0;
  background: transparent !important;
  color: #184d38 !important;
  border: 1px solid #dfe7d6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none !important;
  margin: clamp(6px, 1.5vh, 14px) 0 0;
  flex: 0 1 auto;
}
.manufacturer-request-entry img {
  display: block;
  width: 100%;
  height: clamp(44px, 12vh, 110px);
  object-fit: cover;
}
.manufacturer-request-entry span {
  font-size: 14px;
  font-weight: 650;
  padding-bottom: 9px;
}
.manufacturer-request-entry:hover {
  border-color: #a58b4a;
  box-shadow: 0 5px 18px #174c3812 !important;
}
.stock-request-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.stock-request-title h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  margin: 8px 0 12px;
  letter-spacing: -0.035em;
}
.stock-request-title p {
  color: #677e69;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.stock-request-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px;
}
.stock-request-card {
  display: block !important;
  text-align: left;
  padding: 0 !important;
  border: 1px solid #dce5d5;
  border-radius: 15px;
  overflow: hidden;
  background: #fff !important;
  color: #194b37 !important;
  box-shadow: 0 5px 18px #123e3005;
  min-width: 0;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.stock-request-card:hover {
  transform: translateY(-3px);
  border-color: #9bae8e;
}
.stock-request-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #f0f4ec;
  overflow: hidden;
}
.stock-request-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stock-request-card-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.stock-request-card-copy strong {
  font-size: 16px;
  line-height: 1.4;
}
.stock-request-card-copy small {
  font-size: 12px;
  color: #73816e;
  font-weight: 400;
}
.stock-request-empty {
  grid-column: 1/-1;
}
.stock-request-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 26px;
}
.stock-request-large {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #f4f6ef;
  border: 1px solid #e2e8db;
  border-radius: 14px;
  overflow: hidden;
}
.stock-request-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stock-request-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 4px 0 28px;
}
.stock-request-facts > div {
  display: grid;
  gap: 8px;
}
.stock-request-facts span {
  font-size: 12px;
  color: #778773;
}
.stock-request-facts strong {
  font-size: 16px;
}
.stock-request-specifications {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.75;
  color: #4c6652;
}
.stock-request-form {
  padding: 26px;
  display: grid;
  gap: 18px;
}
.stock-request-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.stock-request-form input,
.stock-request-form textarea,
.stock-request-form select {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  min-width: 0;
  padding: 12px;
  border: 1px solid #cedbc5;
  border-radius: 9px;
}
.stock-request-form small {
  font-size: 12px;
  font-weight: 400;
  color: #73816e;
}
.stock-request-admin-photos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stock-request-admin-photos > div {
  width: 110px;
  display: grid;
  gap: 7px;
}
.stock-request-admin-photos img {
  width: 110px;
  height: 100px;
  object-fit: contain;
  border: 1px solid #dce4d5;
  border-radius: 10px;
}
.stock-request-admin-photos button {
  font-size: 11px;
  padding: 7px;
  min-height: 30px;
}
.stock-request-dialog .mp-icon-action {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 6px;
  color: #194c37;
  background: transparent;
  border: 0;
  font-size: 25px;
  flex-shrink: 0;
}
.stock-request-title button {
  flex-shrink: 0;
}
.stock-request-detail h3 {
  font-size: 18px;
  margin: 0 0 14px;
}
@media (min-width: 801px) and (max-height: 650px) {
  .manufacturer-request-entry {
    grid-template-columns: 68px 1fr;
    gap: 10px;
    margin-top: 4px;
    flex: none;
  }
  .manufacturer-request-entry img {
    height: 46px;
    width: 68px;
  }
  .manufacturer-request-entry span {
    padding: 0;
    text-align: left;
    font-size: 13px;
  }
  .manufacturer-app .seller-sidebar > .manufacturer-account-actions {
    margin-top: auto;
  }
}
@media (max-width: 1024px) {
  .stock-request-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .stock-request-title {
    align-items: flex-start;
  }
  .stock-request-title h1 {
    font-size: 30px;
  }
  .stock-request-detail {
    gap: 18px;
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .stock-request-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .stock-request-card-copy {
    padding: 12px;
    gap: 6px;
  }
  .stock-request-card-copy strong {
    font-size: 14px;
  }
  .stock-request-card-copy small {
    font-size: 11px;
  }
  .stock-request-title {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
  }
  .stock-request-title h1 {
    font-size: 28px;
  }
  .stock-request-title p {
    font-size: 14px;
  }
  .stock-request-title button {
    justify-self: start;
    min-height: 44px;
  }
  .stock-request-detail {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
    gap: 16px;
  }
  .stock-request-large {
    max-height: 40dvh;
    aspect-ratio: auto;
    height: 300px;
  }
  .stock-request-facts {
    margin-bottom: 22px;
  }
  .stock-request-form {
    padding: 18px;
  }
  .stock-request-form input,
  .stock-request-form textarea,
  .stock-request-form select {
    font-size: 16px;
  }
}
.manufacturer-request-entry.active {
  border-color: #b69851;
  background: #f0f4e8 !important;
}
.stock-request-large {
  position: relative;
}
.stock-request-large img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
/* Phones show only the manufacturer's logo in the compact header. */
@media (max-width: 600px) {
  .manufacturer-app .seller-header > .manufacturer-mobile-identity strong,
  .manufacturer-app .seller-header > .manufacturer-mobile-identity small {
    display: none !important;
  }
}
/* Give manufacturer identity a fluid, uncropped logo on phones. */
@media (max-width: 600px) {
  .manufacturer-app .seller-header > .manufacturer-mobile-identity {
    max-width: calc(100% - 140px) !important;
    min-width: 0;
  }
  .manufacturer-app .seller-header > .manufacturer-mobile-identity > img,
  .manufacturer-app .seller-header > .manufacturer-mobile-identity > span {
    width: clamp(42px, 13vw, 64px);
    height: clamp(42px, 13vw, 64px);
    min-height: 0;
    max-width: 100%;
    flex: none;
    box-sizing: border-box;
    border-radius: 12px;
    margin: 0;
    object-fit: contain;
    object-position: center;
    font-size: clamp(22px, 6vw, 30px) !important;
  }
  .manufacturer-app .seller-header > .manufacturer-mobile-identity > img {
    background: #fff;
    padding: 3px;
  }
}
/* Partner sign-in: fit the complete experience within the available viewport. */
body .auth-page:is(.producer-auth, .shop-owner-auth) {
  box-sizing: border-box;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px clamp(16px, 3vw, 48px);
  width: 100%;
  align-items: center;
}
body .auth-page:is(.producer-auth, .shop-owner-auth) .auth-header {
  padding: 0 !important;
  min-height: 52px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  justify-self: center;
  box-sizing: border-box;
}
body .auth-page .auth-header .index-brand {
  font-size: 27px;
  line-height: 1.1;
}
.auth-page .auth-header .index-brand span {
  font-size: 10px !important;
  margin-top: 5px;
}
.auth-page .auth-home-logo img {
  width: 36px;
  height: 32px;
  object-fit: contain;
}
body .auth-page:is(.producer-auth, .shop-owner-auth) .auth-layout {
  width: min(1120px, 100%);
  max-width: 1120px;
  min-height: 0;
  box-sizing: border-box;
  margin: 0 auto !important;
  align-self: center;
  grid-template-columns: 1fr 1fr;
  display: grid;
  border-radius: 20px;
}
body .auth-page .auth-story {
  padding: clamp(24px, 3vw, 44px) !important;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
body .auth-page .auth-story h1 {
  font-size: clamp(30px, 3.3vw, 44px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em;
  margin: 18px 0 !important;
}
.auth-page .auth-story > p,
.auth-page .auth-owner-message p {
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 0;
}
.auth-page .auth-benefits {
  margin-top: 22px;
}
.auth-page .auth-benefits > div {
  padding: 12px 0;
  font-size: 12px;
  line-height: 1.4;
}
.auth-page .auth-mark {
  margin-top: 24px;
  font-size: 9px;
}
body .auth-page .auth-form {
  padding: clamp(22px, 2.8vw, 36px) !important;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body .auth-page .auth-form > .eyebrow {
  font-size: 10px !important;
  line-height: 1.4 !important;
}
body .auth-page .auth-form h2 {
  font-size: 30px !important;
  line-height: 1.15 !important;
  margin: 8px 0 !important;
}
body .auth-page .auth-form > .muted {
  font-size: 14px !important;
  line-height: 1.45 !important;
  margin: 0 0 18px !important;
}
.auth-page .auth-form > form {
  display: grid;
  gap: 12px;
}
.auth-page .auth-email-field {
  gap: 6px;
}
.auth-page .auth-email-row {
  flex-wrap: wrap;
  gap: 4px 8px;
}
.auth-page .auth-email-row > span {
  font-size: 10px;
  white-space: normal;
}
body .auth-page .auth-form label {
  margin: 0 !important;
  gap: 6px;
  display: grid;
  font-size: 13px !important;
  line-height: 1.35 !important;
}
body .auth-page .auth-form input {
  min-height: 44px;
  height: 44px;
  padding: 10px 12px;
  font-size: 16px !important;
  box-sizing: border-box;
}
body .auth-page .auth-form .password-field input {
  padding-right: 65px;
}
.auth-page .password-field button {
  font-size: 12px !important;
}
body .auth-page .auth-options label {
  display: flex;
  gap: 7px;
  font-size: 12px !important;
  align-items: center;
}
.auth-page .auth-options {
  min-height: 28px;
  gap: 10px;
}
.auth-page .auth-options > button {
  font-size: 12px !important;
  min-height: 28px;
}
body .auth-page .auth-options input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  flex: none;
}
body .auth-page .auth-form .auth-submit {
  min-height: 44px;
  height: 44px;
  padding: 10px;
  font-size: 15px !important;
  margin: 0;
}
.auth-page .auth-divider {
  margin: 18px 0 14px;
}
.auth-page .auth-divider span {
  font-size: 10px;
  line-height: 1.2;
}
.auth-page .auth-secondary {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 13px !important;
}
body .auth-page .auth-form .auth-note {
  font-size: 11px !important;
  line-height: 1.45 !important;
  margin: 12px 0 !important;
}
.auth-page .auth-switch {
  font-size: 12px !important;
  line-height: 1.4;
  margin-top: 4px;
}
body .auth-page:is(.producer-auth, .shop-owner-auth) .auth-footer {
  box-sizing: border-box;
  max-width: 1120px;
  width: 100%;
  padding: 0 !important;
  min-height: 22px;
  gap: 10px;
  align-items: center;
  line-height: 1.4;
  font-size: 11px;
  justify-self: center;
  margin: 0 auto;
}
@media (max-width: 800px) {
  body .auth-page:is(.producer-auth, .shop-owner-auth) {
    padding: 12px 16px;
    gap: 10px;
  }
  body .auth-page:is(.producer-auth, .shop-owner-auth) .auth-header {
    min-height: 44px;
  }
  body .auth-page:is(.producer-auth, .shop-owner-auth) .auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(500px, 100%);
    border-radius: 16px;
  }
  .auth-page .auth-header .index-brand span {
    max-width: 28ch;
  }
  body .auth-page .auth-story {
    padding: 16px 22px !important;
  }
  .auth-page .auth-story .eyebrow {
    font-size: 9px !important;
    letter-spacing: 0.08em !important;
  }
  body .auth-page .auth-story h1 {
    font-size: 25px !important;
    line-height: 1.12 !important;
    margin: 8px 0 0 !important;
  }
  .auth-page .auth-story > p,
  .auth-page .auth-owner-message,
  .auth-page .auth-benefits,
  .auth-page .auth-mark {
    display: none;
  }
  body .auth-page .auth-form {
    padding: 20px 22px !important;
  }
  body .auth-page .auth-form h2 {
    font-size: 27px !important;
  }
  body .auth-page .auth-form > .muted {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }
  .auth-page .auth-footer {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .auth-page .auth-form > form {
    gap: 10px;
  }
}
@media (max-height: 700px) {
  body .auth-page:is(.producer-auth, .shop-owner-auth) {
    padding-block: 10px;
    gap: 8px;
  }
  body .auth-page .auth-header {
    min-height: 40px !important;
  }
  body .auth-page .auth-form {
    padding: 18px 24px !important;
  }
  body .auth-page .auth-form h2 {
    font-size: 26px !important;
    margin: 6px 0 !important;
  }
  body .auth-page .auth-form > .muted {
    margin-bottom: 12px !important;
  }
  .auth-page .auth-form > form {
    gap: 8px;
  }
  .auth-page .auth-divider {
    margin: 14px 0 10px;
  }
  body .auth-page .auth-form .auth-note {
    margin: 8px 0 !important;
    font-size: 10px !important;
  }
  .auth-page .auth-mark {
    display: none;
  }
  .auth-page .auth-benefits > div {
    padding: 8px 0;
  }
  body .auth-page .auth-story {
    padding: 20px 24px !important;
  }
  .auth-page .auth-benefits {
    margin-top: 16px;
  }
}
@media (max-width: 800px) and (max-height: 740px) {
  body .auth-page .auth-story {
    padding: 12px 20px !important;
  }
  body .auth-page .auth-story h1 {
    font-size: 21px !important;
    margin-top: 5px !important;
  }
  body .auth-page .auth-form {
    padding: 16px 20px !important;
  }
  .auth-page .auth-divider {
    margin: 12px 0 9px;
  }
  body .auth-page .auth-form .auth-note {
    font-size: 10px !important;
    margin: 7px 0 !important;
  }
  .auth-page .auth-secondary {
    min-height: 36px;
  }
  .auth-page .auth-form > form {
    gap: 8px;
  }
  .auth-page .auth-switch {
    font-size: 11px !important;
  }
}
@media (max-height: 550px) and (min-width: 650px) {
  body .auth-page:is(.producer-auth, .shop-owner-auth) {
    padding: 8px 18px;
    gap: 6px;
  }
  body .auth-page:is(.producer-auth, .shop-owner-auth) .auth-layout {
    grid-template-columns: 0.8fr 1.2fr;
    max-width: 1050px;
    width: 100%;
  }
  body .auth-page .auth-story {
    padding: 18px !important;
  }
  .auth-page .auth-benefits,
  .auth-page .auth-story > p,
  .auth-page .auth-owner-message {
    display: none;
  }
  body .auth-page .auth-story h1 {
    font-size: 28px !important;
  }
  body .auth-page .auth-form {
    padding: 12px 20px !important;
  }
  body .auth-page .auth-form h2 {
    font-size: 23px !important;
    margin: 4px 0 !important;
  }
  body .auth-page .auth-form > .muted {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  .auth-page .auth-form > form {
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
  }
  .auth-page .auth-options,
  .auth-page .auth-submit {
    grid-column: 1/-1;
  }
  body .auth-page .auth-form input {
    height: 38px;
    min-height: 38px;
    padding: 7px 10px;
  }
  .auth-page .auth-email-row > span {
    display: none;
  }
  .auth-page .auth-options {
    min-height: 24px;
  }
  body .auth-page .auth-form .auth-submit {
    height: 36px;
    min-height: 36px;
    padding: 7px;
  }
  .auth-page .auth-divider {
    margin: 10px 0 8px;
  }
  .auth-page .auth-secondary {
    min-height: 32px;
    padding: 6px;
    font-size: 12px !important;
  }
  body .auth-page .auth-form .auth-note {
    font-size: 10px !important;
    line-height: 1.25 !important;
    margin: 6px 0 !important;
  }
  .auth-page .auth-switch {
    font-size: 10px !important;
    margin: 0;
  }
  body .auth-page .auth-options input {
    height: 16px;
    min-height: 0;
  }
  .auth-page .auth-header .index-brand {
    font-size: 23px !important;
  }
  .auth-page .auth-header .index-brand span {
    display: none;
  }
}
/* Compact decorative content on short viewports; keep every sign-in control. */
.auth-page:is(.producer-auth, .shop-owner-auth) .auth-footer::before {
  top: 0;
  bottom: 0;
}
@media (max-width: 800px) and (max-height: 700px) {
  body .auth-page .auth-story {
    display: none !important;
  }
}
@media (min-width: 650px) and (max-height: 500px) {
  body .auth-page .auth-form > h2,
  body .auth-page .auth-form > .muted {
    display: none !important;
  }
  body .auth-page .auth-form > .eyebrow {
    margin-bottom: 10px;
    font-size: 11px !important;
  }
}
@media (max-height: 700px) {
  body .auth-page:is(.producer-auth, .shop-owner-auth) {
    padding-block: 6px;
  }
}
@media (min-width: 650px) and (max-height: 500px) {
  body .auth-page:is(.producer-auth, .shop-owner-auth) {
    padding-block: 4px;
  }
  .auth-page .auth-email-row {
    position: relative;
  }
  .auth-page .auth-email-row > span {
    display: block !important;
    position: absolute;
    right: 0;
    top: -24px;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
  }
}
/* Shop owner workspace shares the manufacturer's navigation and visual rhythm. */
body:has(.shop-owner-app) > .site-notice {
  display: none;
}
.shop-owner-app .workspace-note {
  display: none;
}
.shop-mobile-identity {
  display: none;
}
.shop-owner-app .seller-sidebar {
  height: 100dvh;
  max-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: clamp(10px, 2vh, 20px) 16px;
  gap: 10px;
  overflow: visible;
}
.shop-owner-app .seller-sidebar > .seller-identity {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid #e0e7d9;
  text-align: center;
}
.shop-owner-app .seller-sidebar > .seller-identity > span,
.shop-owner-app .seller-sidebar > .seller-identity > img {
  width: 44px;
  height: 44px;
  min-height: 0;
  margin: 0;
  object-fit: contain;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #194d39;
  color: #d3b46b;
  font: 20px Georgia;
  border: 1px solid #b2934f;
}
body .shop-owner-app .seller-sidebar > .seller-identity strong {
  max-width: 190px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
  line-height: 1.3 !important;
  font-size: 14px !important;
  margin: 0;
  text-align: center;
}
body .shop-owner-app .seller-sidebar > .seller-identity small {
  font-size: 11px !important;
  margin: 0;
  line-height: 1.3 !important;
}
.shop-owner-app .seller-sidebar > nav {
  display: grid;
  gap: 3px;
  margin: 0;
  flex: none;
  overflow: visible;
}
body .shop-owner-app .seller-sidebar > nav > button {
  min-height: 0;
  height: clamp(30px, 5.4vh, 44px);
  padding: 6px 12px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  box-shadow: none;
}
.shop-account-actions {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #dfe7d9;
}
.shop-account-actions button {
  width: 100%;
  min-height: 0;
  height: clamp(30px, 5.4vh, 42px);
  padding: 6px 10px !important;
  text-align: left;
  white-space: nowrap;
  font-size: 13px !important;
  line-height: 1.2 !important;
}
.shop-site-navigation {
  position: relative;
  margin-left: auto;
  flex: 0 0 auto;
}
.shop-site-navigation > summary {
  display: grid;
  place-items: center;
  gap: 6px;
  min-width: 170px;
  min-height: 76px;
  padding: 6px 10px;
  list-style: none;
  cursor: pointer;
  border-radius: 10px;
  color: #164c38;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}
.shop-site-navigation > summary::-webkit-details-marker {
  display: none;
}
.shop-site-navigation > summary img {
  width: 42px;
  height: 30px;
  object-fit: contain;
}
.shop-site-navigation > nav {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  width: 280px;
  max-width: calc(100vw - 32px);
  padding: 8px;
  border: 1px solid #dce5d5;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 48px #123e3028;
  display: grid;
  gap: 0;
}
.shop-site-navigation > nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  text-align: left;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #184d37;
  font-size: 14px !important;
  line-height: 1.3 !important;
}
.shop-site-navigation > nav button > span {
  width: 20px;
  color: #967c3b;
}
.shop-site-navigation > nav button.active,
.shop-site-navigation > nav button:hover {
  background: #edf3e8;
}
.shop-store-actions,
.shop-dropdown-account {
  display: grid;
  gap: 0;
  border-top: 1px solid #dfe7d8;
  margin-top: 5px;
  padding-top: 5px;
}
.shop-live-host {
  min-width: 0;
}
.shop-live-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 30px;
  background: #eaf1e3;
  border: 1px solid #dce6d3;
  border-radius: 16px;
}
.shop-live-welcome h1 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  margin: 10px 0;
  color: #174b36;
  letter-spacing: -0.035em;
}
.shop-live-welcome p {
  font-size: 15px;
  line-height: 1.6;
  color: #60775e;
  margin: 0;
}
.shop-live-welcome button {
  flex-shrink: 0;
  font-size: 14px;
  min-height: 44px;
}
.shop-live-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 28px;
}
.shop-live-metrics article {
  padding: 20px;
  border: 1px solid #dce5d4;
  border-radius: 14px;
  background: white;
  min-width: 0;
}
.shop-live-metrics span {
  font-size: 13px;
  color: #75856b;
}
.shop-live-metrics strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.2;
  color: #214d37;
  overflow-wrap: anywhere;
  letter-spacing: -0.03em;
}
.shop-live-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.shop-live-product {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dee7d7;
  border-radius: 14px;
  background: white;
  min-width: 0;
}
.shop-live-product > div:last-child {
  min-width: 0;
}
.shop-live-image {
  display: grid;
  place-items: center;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  background: #f0f4eb;
  border: 1px solid #e3e9db;
  border-radius: 12px;
  overflow: hidden;
  color: #94a18c;
  font-size: 25px;
}
.shop-live-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.shop-live-product h3,
.shop-live-product h2 {
  font-size: 16px;
  line-height: 1.4;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.shop-live-product strong {
  display: block;
  font-size: 15px;
  margin: 8px 0;
}
.shop-live-product p {
  font-size: 12px;
  color: #7c8a71;
  line-height: 1.5;
  margin: 6px 0;
}
.shop-live-category {
  font-size: 11px;
  color: #9f8140;
}
.shop-live-product code {
  font-size: 10px;
  display: block;
  overflow-wrap: anywhere;
  color: #798a77;
}
.shop-live-product button {
  font-size: 12px;
  min-height: 36px;
  padding: 7px 12px;
  margin-top: 8px;
}
.shop-live-empty {
  grid-column: 1/-1;
}
.shop-live-table {
  overflow-x: auto;
  max-width: 100%;
}
.shop-live-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}
.shop-live-table th {
  padding: 14px;
  font-size: 12px;
  color: #6e8168;
  text-align: left;
  border-bottom: 1px solid #dfe7d8;
}
.shop-live-table td {
  padding: 16px 14px;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid #e8ede2;
  vertical-align: middle;
}
.shop-live-table code {
  display: block;
  font-size: 10px;
  overflow-wrap: anywhere;
  max-width: 240px;
}
.shop-icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  background: transparent;
  color: #184f38;
  border: 0;
  box-shadow: none;
  padding: 5px;
  font-size: 23px;
}
.shop-live-search {
  display: grid;
  gap: 8px;
  max-width: 500px;
  margin-bottom: 22px;
  font-size: 13px;
}
.shop-live-settings {
  max-width: 700px;
}
.shop-live-settings form,
.shop-live-form {
  display: grid;
  gap: 18px;
}
.shop-live-form {
  padding: 26px;
}
.shop-live-settings label,
.shop-live-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.shop-live-settings input,
.shop-live-settings textarea,
.shop-live-form input {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  font-size: 16px;
  padding: 12px;
  border: 1px solid #d7e1cf;
  border-radius: 9px;
}
.shop-live-settings small {
  font-size: 11px;
  color: #7b8870;
}
.shop-live-dialog .shop-icon-button {
  flex-shrink: 0;
}
.public-shop-page {
  max-width: 1240px;
  margin: auto;
  padding: 24px;
}
.public-shop-page > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.public-shop-page > header img {
  width: 46px;
  height: 40px;
}
.public-shop-heading {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0 0 32px;
  padding: 28px;
  border-radius: 16px;
  background: #eaf1e4;
}
.public-shop-heading > img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.public-shop-heading h1 {
  font-size: 32px;
  margin: 8px 0;
}
.public-shop-heading p {
  font-size: 15px;
}
.public-shop-page .shop-live-product {
  display: block;
}
.public-shop-page .shop-live-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
@media (max-width: 1200px) {
  .shop-live-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-live-product {
    gap: 12px;
    padding: 16px;
  }
  .shop-live-image {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
}
@media (max-height: 700px) and (min-width: 1025px) {
  .shop-live-welcome {
    padding: 18px 24px;
  }
  .shop-live-metrics {
    margin: 16px 0 20px;
  }
  .shop-live-metrics article {
    padding: 16px;
  }
  .shop-live-products {
    gap: 12px;
  }
  .shop-live-product {
    padding: 12px;
  }
}
@media (max-width: 1024px) {
  .shop-owner-app {
    display: block;
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-owner-app > .seller-sidebar {
    display: none !important;
  }
  .shop-owner-app .seller-workspace {
    min-width: 0;
    width: 100%;
  }
  .shop-owner-app .seller-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 104px;
    padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
    background: #fff;
    border-bottom: 1px solid #e1e7da;
    box-sizing: border-box;
  }
  .shop-owner-app .seller-header > span {
    display: none !important;
  }
  .shop-owner-app .seller-header > .shop-mobile-identity {
    position: static !important;
    inset: auto;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    flex: 1 1 0;
    max-width: calc(100% - 140px);
    min-width: 0;
  }
  .shop-owner-app .shop-mobile-identity > img,
  .shop-owner-app .shop-mobile-identity > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-height: 0;
    object-fit: contain;
    background: #194d39;
    color: #d3b46b;
    border: 1px solid #b2934f;
    border-radius: 11px;
    margin: 0;
    font: 20px Georgia;
  }
  body .shop-owner-app .shop-mobile-identity strong {
    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    text-align: left !important;
    max-width: 100%;
    margin: 0;
  }
  .shop-owner-app .shop-mobile-identity small {
    display: none;
  }
  .shop-site-navigation {
    margin-left: 0;
  }
  .shop-site-navigation > summary {
    min-width: 116px;
    max-width: 132px;
    min-height: 72px;
    padding: 5px 0;
    gap: 5px;
    font-size: 11px;
  }
  .shop-site-navigation > summary img {
    width: 36px;
    height: 29px;
  }
  .shop-site-navigation > summary > span {
    text-align: center;
    max-width: 125px;
  }
  .shop-site-navigation > nav {
    top: calc(100% + 12px);
    width: 290px;
  }
  .shop-site-navigation > nav button {
    min-height: 36px;
  }
  .shop-owner-app .seller-main {
    padding: 20px 16px !important;
  }
  .shop-owner-app #partner-account-status {
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
    border-radius: 12px;
  }
  .shop-owner-app #partner-account-status p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0;
  }
  .shop-live-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .shop-live-welcome {
    padding: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .shop-live-welcome h1 {
    font-size: 30px;
  }
  .shop-live-metrics article {
    padding: 16px;
  }
  .shop-live-metrics strong {
    font-size: 26px;
  }
  .shop-live-metrics span {
    font-size: 12px;
  }
}
@media (min-width: 1025px) {
  .shop-owner-app .seller-header > .shop-mobile-identity {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .shop-owner-app .shop-mobile-identity strong {
    display: none !important;
  }
  .shop-owner-app .shop-mobile-identity > img,
  .shop-owner-app .shop-mobile-identity > span {
    width: clamp(42px, 13vw, 64px);
    height: clamp(42px, 13vw, 64px);
    max-width: 100%;
    object-fit: contain;
    font-size: clamp(22px, 6vw, 30px) !important;
  }
  .shop-owner-app .shop-mobile-identity > img {
    background: white;
    padding: 3px;
    box-sizing: border-box;
  }
  .shop-live-products {
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-live-product {
    padding: 16px;
  }
  .shop-live-table table {
    display: block;
    min-width: 0;
  }
  .shop-live-table thead {
    display: none;
  }
  .shop-live-table tbody {
    display: grid;
    gap: 12px;
  }
  .shop-live-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border: 1px solid #e0e7d9;
    border-radius: 12px;
  }
  .shop-live-table td {
    padding: 0;
    border: 0;
    min-width: 0;
    font-size: 13px;
  }
  .shop-live-table td:first-child {
    grid-column: 1/-1;
  }
  .shop-live-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    color: #78866e;
    margin-bottom: 4px;
  }
  .shop-live-form {
    padding: 18px;
  }
  .public-shop-page {
    padding: 16px;
  }
  .public-shop-heading {
    padding: 20px;
    gap: 14px;
  }
  .public-shop-heading h1 {
    font-size: 26px;
  }
  .public-shop-page > header > a {
    font-size: 13px;
  }
}
@media (max-width: 1024px) and (max-height: 650px) {
  .shop-site-navigation > nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(440px, calc(100vw - 32px));
  }
  .shop-store-actions,
  .shop-dropdown-account {
    display: contents;
  }
  .shop-site-navigation > nav button {
    min-height: 38px;
    font-size: 12px !important;
  }
  .shop-owner-app .seller-header {
    min-height: 86px;
    padding-block: 7px;
  }
}
.shop-owner-app #partner-account-status {
  padding: 14px 18px !important;
  margin-bottom: 16px !important;
  border-radius: 12px;
}
.shop-owner-app #partner-account-status p {
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin: 0;
}
.shop-live-welcome {
  padding: 18px 24px;
}
.shop-live-welcome h1 {
  font-size: 30px;
  margin: 6px 0;
}
.shop-live-welcome p {
  font-size: 14px;
  line-height: 1.5;
}
.shop-live-metrics {
  margin: 18px 0 22px;
}
.shop-live-metrics article {
  padding: 16px;
}
.shop-live-metrics strong {
  font-size: 29px;
  margin-top: 9px;
}
@media (min-width: 1025px) {
  .shop-owner-app .seller-header {
    min-height: 84px;
    padding: 8px 28px;
  }
  .shop-site-navigation > summary {
    min-height: 64px;
  }
  .shop-owner-app .seller-main {
    padding: 24px 28px !important;
  }
  .shop-live-product {
    padding: 14px;
    gap: 12px;
  }
  .shop-live-image {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }
  .shop-live-product h3 {
    font-size: 15px;
  }
  .shop-live-product p {
    font-size: 11px;
  }
}
.shop-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.shop-panel-heading h2 {
  margin: 0;
}
.shop-profile-panel {
  margin-top: 20px;
}
.shop-security-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.shop-security-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  min-width: 0;
}
.shop-security-form input,
.shop-security-form select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid #bdcdbf;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: #174c38;
}
.shop-security-form input[readonly] {
  background: #f3f6ef;
}
.shop-security-form small {
  font-weight: 400;
  color: #657768;
}
.shop-security-form [role='status'] {
  grid-column: 1/-1;
  margin: 0;
}
.shop-security-form button {
  justify-self: start;
}
.shop-security-form [data-security-fields],
.shop-security-form [data-security-note] {
  grid-column: 1/-1;
}
.shop-security-form [data-security-fields] {
  display: grid;
  gap: 18px;
}
.shop-verification {
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #d4dccb;
  border-radius: 99px;
  padding: 7px 12px;
  background: #f3f5ec;
  color: #687251;
}
.shop-verification.is-verified {
  background: #e4f3e8;
  border-color: #a6cbb1;
  color: #116638;
}
.shop-withdraw-action {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.shop-withdraw-action small {
  color: #5f7567;
}
.shop-live-dialog .shop-security-form {
  grid-template-columns: 1fr;
}
.shop-live-dialog {
  max-height: 90dvh;
  overflow-y: auto;
}
.shop-id-preview {
  width: 100%;
  max-height: 55dvh;
  object-fit: contain;
  background: #f6f7f2;
  border-radius: 12px;
}
.shop-review-dialog {
  width: min(760px, calc(100vw - 40px));
  padding: 24px;
  border: 1px solid #d5dfd0;
  border-radius: 20px;
  color: #174c38;
}
.shop-review-dialog::backdrop {
  background: #123b2e88;
}
.shop-review-dialog form {
  display: grid;
  gap: 12px;
}
.shop-review-dialog textarea {
  min-height: 80px;
  padding: 12px;
  font: inherit;
}
.shop-review-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.shop-review-dialog footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .shop-security-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .shop-panel-heading {
    align-items: flex-start;
  }
  .shop-profile-panel {
    padding: 18px !important;
  }
  .shop-withdraw-action {
    gap: 10px;
  }
  .shop-review-dialog {
    padding: 16px;
  }
  .shop-security-form input,
  .shop-security-form select {
    font-size: 16px;
  }
}
.shop-live-metrics [data-withdraw] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 12px;
  padding: 10px 8px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  letter-spacing: 0;
}
.category-field {
  grid-column: 1/-1;
}
.category-field select,
.shop-live-settings select {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #bdcdbf;
  border-radius: 10px;
  background: #fff;
  color: #174c38;
  font: inherit;
}
.category-selection {
  grid-column: 1/-1;
  border: 1px solid #d8dfcc;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  margin: 12px 0 22px;
}
.category-selection[hidden] {
  display: none !important;
}
.category-art {
  padding: 12px;
  background: #edf1e5;
}
.category-main {
  display: block;
  width: 100%;
  aspect-ratio: 3.7;
  object-fit: cover;
  border-radius: 8px;
}
.category-thumbnails {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.category-thumbnails li {
  min-width: 0;
}
.category-thumbnails img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.category-copy {
  padding: 18px;
}
.category-copy h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 8px 0 14px;
  color: #174c38;
}
.category-copy .eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8e6c2c;
}
.category-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.category-items li {
  display: grid;
  gap: 4px;
  line-height: 1.5;
  font-size: 14px;
  color: #506757;
}
.category-items strong {
  color: #174c38;
  font-size: 14px;
}
.shop-category-panel {
  flex: 1 1 auto;
  min-height: 0;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid #dbe2d1;
  border-radius: 12px;
  background: #f4f7ee;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.shop-category-panel > img {
  width: 100%;
  height: clamp(40px, 7vh, 72px);
  object-fit: cover;
  border-radius: 7px;
}
.shop-category-panel .eyebrow {
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-top: 3px;
}
.shop-category-panel h3 {
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
  color: #174c38;
}
.shop-category-caption {
  font-size: 11px;
  color: #63765c;
}
.shop-category-panel > ul {
  padding-left: 14px;
  margin: 1px 0;
  font-size: 11px;
  line-height: 1.4;
  color: #506757;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  flex: 0 1 auto;
  min-height: 0;
  overflow: hidden;
}
.shop-category-panel button {
  font-size: 12px !important;
  min-height: 32px !important;
  padding: 7px 9px !important;
  white-space: nowrap;
}
.shop-category-details {
  background: none !important;
  color: #24543d !important;
  text-align: left;
  border: 0 !important;
  text-decoration: underline;
}
.shop-category-panel .shop-list-request {
  margin-top: auto;
  background: #174c38;
  color: white;
  border-radius: 8px;
}
.shop-category-panel p {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.category-list-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: 85dvh;
  overflow: auto;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #ccd6c4;
  border-radius: 18px;
  background: #fff;
  color: #174c38;
}
.category-list-dialog::backdrop {
  background: #123b2d88;
}
.category-list-dialog header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.category-list-dialog h2 {
  font-size: 23px;
  margin: 0;
}
.category-list-dialog header button {
  font-size: 22px;
  min-width: 40px;
  min-height: 40px;
}
.shop-owner-app .seller-sidebar {
  gap: 0;
}
.shop-category-mobile {
  display: none;
}
@media (max-height: 800px) and (min-width: 1025px) {
  .shop-category-panel {
    padding: 9px;
    gap: 3px;
    margin: 5px 0;
  }
  .shop-category-panel > img {
    display: none;
  }
  .shop-category-panel > ul {
    font-size: 10px;
    line-height: 1.3;
    gap: 1px;
  }
  .shop-category-panel h3 {
    font-size: 12px;
  }
  .shop-category-panel button {
    min-height: 28px !important;
    padding: 4px 7px !important;
  }
}
@media (max-height: 650px) and (min-width: 1025px) {
  .shop-category-panel > ul,
  .shop-category-caption,
  .shop-category-details {
    display: none !important;
  }
  .shop-category-panel .eyebrow {
    display: none;
  }
}
@media (max-width: 1024px) {
  .shop-category-mobile {
    display: block;
    margin: 18px 0;
  }
  .shop-category-mobile .shop-category-panel {
    margin: 0;
  }
  .shop-category-mobile .shop-category-panel > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 13px;
  }
  .shop-category-mobile .shop-category-panel h3 {
    font-size: 16px;
  }
  .shop-category-mobile .shop-category-panel > img {
    height: 90px;
  }
  .shop-category-mobile .shop-category-panel button {
    min-height: 44px !important;
  }
}
@media (max-width: 600px) {
  .category-copy {
    padding: 14px;
  }
  .category-art {
    padding: 8px;
  }
  .category-main {
    aspect-ratio: 3;
  }
  .category-copy h3 {
    font-size: 18px;
  }
  .category-field select,
  .shop-live-settings select {
    font-size: 16px;
  }
  .category-list-dialog {
    padding: 18px;
  }
}
.category-wide {
  grid-column: 1/-1;
}
.category-list-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #bdcdbf;
  border-radius: 10px;
  font: inherit;
  color: #174c38;
}
.shop-request-history {
  margin-top: 24px;
  border-top: 1px solid #d7e0d1;
  padding-top: 16px;
}
.shop-request-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e1e6da;
  font-size: 13px;
}
.shop-admin-request {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #d7e0d1;
}
.shop-admin-request h3 {
  margin: 8px 0;
}
.shop-admin-request p {
  white-space: pre-wrap;
}
.shop-admin-request label {
  display: grid;
  align-content: start;
  gap: 8px;
}
.shop-admin-request select {
  min-height: 44px;
  font: inherit;
  padding: 8px;
  border: 1px solid #bdcdbf;
  border-radius: 8px;
}
@media (max-width: 600px) {
  .shop-admin-request {
    flex-direction: column;
  }
  .shop-request-row {
    flex-direction: column;
    gap: 4px;
  }
}
@media (max-width: 600px) {
  .shop-registration .reg-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .shop-registration .reg-progress > i {
    display: none;
  }
  .shop-registration .reg-progress > span {
    min-width: 0;
    gap: 4px;
    align-items: flex-start;
    white-space: normal;
    font-size: 11px;
  }
  .shop-registration .reg-progress small {
    font-size: 10px;
    white-space: normal;
    line-height: 1.35;
  }
}
@media (min-width: 1025px) {
  .shop-owner-app .seller-sidebar nav button {
    min-height: 36px;
    height: 36px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .shop-category-panel {
    padding: 10px;
    gap: 4px;
    flex: 1 1 auto;
  }
  .shop-category-panel > ul {
    flex: 0 0 auto;
    overflow: visible;
    line-height: 1.35;
    gap: 1px;
  }
  .shop-owner-app .shop-category-panel > ul > li {
    font-size: 12px;
    line-height: 1.35;
  }
  .shop-category-panel h3 {
    font-size: 13px;
  }
  .shop-category-panel > img {
    height: 40px;
  }
  .shop-category-panel button {
    min-height: 30px !important;
  }
  .shop-category-panel .shop-list-request {
    min-height: 34px !important;
  }
}
@media (min-width: 1025px) and (max-height: 800px) {
  .shop-category-panel > img {
    display: none;
  }
  .shop-category-panel {
    padding: 9px;
    gap: 3px;
  }
  .shop-owner-app .shop-category-panel > ul > li {
    font-size: 11px;
    line-height: 1.35;
  }
}
@media (min-width: 1025px) and (max-height: 650px) {
  .shop-owner-app .seller-identity {
    padding-bottom: 8px;
    gap: 4px;
  }
  .shop-owner-app .seller-identity > span,
  .shop-owner-app .seller-identity > img {
    width: 32px;
    height: 32px;
  }
  .shop-owner-app .seller-identity small {
    display: none;
  }
  .shop-owner-app .seller-sidebar nav button {
    height: 30px;
    min-height: 30px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .shop-owner-app .shop-account-actions button {
    min-height: 32px;
    height: 32px;
    padding: 6px 10px;
  }
  .shop-owner-app .shop-account-actions {
    padding-top: 6px;
    gap: 4px;
  }
  .shop-category-panel > ul {
    display: grid !important;
  }
  .shop-category-panel .shop-category-details {
    display: block !important;
  }
  .shop-category-panel .shop-category-caption,
  .shop-category-panel .eyebrow {
    display: none;
  }
}
@media (min-width: 1025px) and (max-height: 540px) {
  .shop-category-panel > ul {
    display: none !important;
  }
}
@media (min-width: 1025px) {
  .shop-owner-app .seller-sidebar nav {
    gap: 2px;
  }
  .shop-category-panel .eyebrow {
    line-height: 1.2;
  }
  .shop-category-caption {
    line-height: 1.3;
  }
}
@media (min-width: 1025px) and (max-height: 800px) {
  .shop-owner-app .seller-sidebar nav button {
    height: 34px;
    min-height: 34px;
  }
  .shop-owner-app .seller-identity {
    padding-bottom: 8px;
  }
  .shop-category-panel {
    gap: 2px;
  }
}
@media (min-width: 1025px) and (max-height: 650px) {
  .shop-owner-app .seller-sidebar nav button {
    height: 30px;
    min-height: 30px;
  }
}
@media (min-width: 1025px) and (max-height: 750px) {
  .shop-category-panel .eyebrow,
  .shop-category-panel .shop-category-caption {
    display: none;
  }
  .shop-category-panel {
    padding: 8px;
    gap: 2px;
  }
}
@media (min-width: 1025px) and (max-height: 650px) {
  .shop-owner-app .seller-sidebar nav button {
    height: 28px;
    min-height: 28px;
  }
  .shop-owner-app .seller-sidebar nav {
    gap: 1px;
  }
  .shop-category-panel button {
    min-height: 26px !important;
    padding: 4px 7px !important;
  }
  .shop-category-panel .shop-list-request {
    min-height: 30px !important;
  }
}
@media (min-width: 1025px) and (max-height: 650px) {
  .shop-owner-app .seller-sidebar .seller-identity {
    padding-bottom: 0;
    gap: 3px;
  }
  .shop-owner-app .seller-sidebar nav {
    gap: 0;
  }
}
.shop-registration .account-consent {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.shop-registration .account-consent input[type='checkbox'] {
  display: inline-block;
  width: 18px;
  height: 18px;
  min-height: 18px;
  vertical-align: middle;
  margin: 0 9px 0 0;
}
.shop-registration .account-consent a {
  display: inline;
  white-space: normal;
}
/* Account controls share the same centered alignment on every workspace. */
[data-account-signout],
#signout,
#mobile-admin-signout {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.partner-security-dialog.shop-live-dialog {
  width: min(440px, calc(100vw - 28px));
  max-width: 440px;
  padding: 0;
  max-height: calc(100dvh - 32px);
  border-radius: 22px;
  overflow: auto;
}
.partner-security-dialog .mp-editor-heading {
  padding: 22px 24px 18px;
  gap: 16px;
  align-items: center;
}
.partner-security-dialog .mp-editor-heading h2 {
  font-size: 25px;
  line-height: 1.2;
  margin: 0;
}
.partner-security-dialog .shop-security-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 24px 24px;
  margin: 0;
}
.partner-security-dialog .shop-security-form label {
  font-size: 14px;
  gap: 8px;
  margin: 0;
}
.partner-security-dialog input,
.partner-security-dialog select {
  height: 48px;
  min-height: 48px;
  font-size: 16px;
  padding: 10px 13px;
  width: 100%;
  box-sizing: border-box;
}
.partner-security-dialog .shop-security-form > button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  margin: 0;
}
.partner-security-dialog [data-security-note],
.partner-security-dialog [role='status'] {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.partner-security-dialog [role='status']:empty {
  display: none;
}
.withdraw-destination {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f2f5ed;
  border: 1px solid #dce5d8;
  border-radius: 14px;
  padding: 16px;
  font-size: 14px;
}
.withdraw-destination .eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.withdraw-destination strong {
  font-size: 17px;
}
.withdraw-destination .bank-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.withdraw-balance {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  margin: 0;
}
#shop-list-request-dialog {
  width: min(680px, calc(100vw - 28px));
  padding: 0;
  border-radius: 22px;
  max-height: calc(100dvh - 28px);
  overflow: auto;
}
#shop-list-request-dialog > header {
  padding: 22px 26px 18px;
  align-items: center;
  gap: 16px;
}
#shop-list-request-dialog h2 {
  font-size: 28px;
  line-height: 1.15;
  margin: 6px 0 0;
}
#shop-list-request-dialog .eyebrow {
  font-size: 10px;
}
#shop-list-request-dialog > header button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  background: #f0f4ed;
  color: #17503e;
  font-size: 24px;
}
#shop-list-request-dialog .shop-security-form {
  padding: 22px 26px;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 120px;
  margin: 0;
}
#shop-list-request-dialog label {
  font-size: 13px;
  gap: 7px;
  margin: 0;
}
#shop-list-request-dialog label:first-child {
  grid-column: 1/-1;
}
#shop-list-request-dialog small {
  font-size: 11px;
  line-height: 1.4;
}
#shop-list-request-dialog input {
  height: 46px;
  min-height: 46px;
  font-size: 15px;
  padding: 10px 12px;
  box-sizing: border-box;
}
#shop-list-request-dialog textarea {
  font-size: 15px;
  padding: 12px;
  min-height: 96px;
  height: 96px;
  box-sizing: border-box;
}
#shop-list-request-dialog form > button {
  font-size: 14px;
  min-height: 46px;
  grid-column: 1/-1;
  justify-content: center;
}
#shop-list-request-dialog .shop-request-history {
  padding: 18px 26px 22px;
  margin: 0;
  background: #f8faf6;
  border-top: 1px solid #e0e7db;
}
#shop-list-request-dialog h3 {
  font-size: 16px;
  margin: 0 0 12px;
}
#shop-list-request-dialog .shop-request-row {
  font-size: 12px;
  padding: 9px 0;
}
#shop-list-request-dialog [role='status'] {
  font-size: 12px;
  grid-column: 1/-1;
  margin: 0;
}
#shop-list-request-dialog [role='status']:empty {
  display: none;
}
.request-photos {
  grid-column: 1/-1;
  min-width: 0;
}
.request-photo-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}
.request-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.request-photo-tile {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid #d4dfcf;
  border-radius: 10px;
  background: #f3f6ef;
  overflow: hidden;
  min-width: 0;
}
.request-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.request-photo-tile button {
  position: absolute;
  top: 4px;
  right: 4px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  min-height: 0;
  padding: 0;
  background: #fff;
  color: #164c3a;
  font-size: 18px;
}
.request-photo-add {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  font-size: 11px !important;
  text-align: center;
}
.request-photo-add span {
  font-size: 24px;
}
.request-photo-add input {
  position: absolute;
  opacity: 0;
  inset: 0;
  height: 100% !important;
  cursor: pointer;
}
.request-admin-photos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.request-admin-photos img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
}
.request-admin-photos a {
  display: block;
}
@media (max-width: 480px) {
  #shop-list-request-dialog > header {
    padding: 18px;
  }
  #shop-list-request-dialog .shop-security-form {
    padding: 18px;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 88px;
  }
  #shop-list-request-dialog .shop-request-history {
    padding: 16px 18px;
  }
  .request-photo-grid {
    gap: 6px;
  }
  .request-photo-add {
    font-size: 9px !important;
  }
  .partner-security-dialog .shop-security-form {
    padding: 18px;
  }
  .partner-security-dialog .mp-editor-heading {
    padding: 18px;
  }
}
.category-guide-dialog.category-list-dialog {
  width: min(900px, calc(100vw - 28px));
  padding: 0;
  border-radius: 24px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
.category-guide-dialog > header {
  padding: 24px 28px 20px;
  gap: 20px;
  align-items: center;
}
.category-guide-dialog > header h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 7px 0 0;
  max-width: 650px;
}
.category-guide-dialog .eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.category-guide-dialog > header button {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  background: #eff4eb;
  color: #174c3b;
  font-size: 24px;
}
.category-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 28px;
  padding: 24px 28px 28px;
  align-items: start;
}
.category-guide-art {
  position: sticky;
  top: 24px;
  overflow: hidden;
  border-radius: 16px;
  background: #f1f5eb;
}
.category-guide-art img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.category-guide-art > span {
  display: block;
  padding: 13px 16px;
  color: #60775e;
  font-size: 12px;
}
.category-guide-dialog .category-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.category-guide-dialog .category-items li {
  padding: 13px 0;
  border-bottom: 1px solid #e4eadf;
  line-height: 1.55;
}
.category-guide-dialog .category-items li:first-child {
  padding-top: 0;
}
.category-guide-dialog .category-items li:last-child {
  border: 0;
  padding-bottom: 0;
}
.category-guide-dialog .category-items strong {
  display: block;
  font-size: 15px;
  color: #164b39;
  margin-bottom: 4px;
}
.category-guide-dialog .category-items span {
  font-size: 13px;
  color: #60745f;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .category-guide-dialog > header {
    padding: 20px;
  }
  .category-guide-dialog > header h2 {
    font-size: 22px;
  }
  .category-guide-layout {
    grid-template-columns: 1fr;
    padding: 0 20px 22px;
    gap: 20px;
  }
  .category-guide-art {
    position: static;
  }
  .category-guide-art img {
    aspect-ratio: 16/7;
  }
  .category-guide-art > span {
    display: none;
  }
  .category-guide-dialog .category-items {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
  .category-guide-dialog .category-items li {
    padding: 12px 0 !important;
  }
  .category-guide-dialog .category-items strong {
    font-size: 14px;
  }
  .category-guide-dialog .category-items span {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .category-guide-dialog .category-items {
    grid-template-columns: 1fr;
  }
}
.category-guide-dialog .category-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
}
.category-guide-art img {
  aspect-ratio: 1/1;
}
.category-guide-dialog .category-items li {
  padding-top: 0;
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.category-guide-dialog .category-items strong {
  font-size: 14px;
}
.category-guide-dialog .category-items span {
  font-size: 12px;
}
#partner-account-actions [data-account-signout],
.manufacturer-dropdown-account [data-account-signout],
.shop-dropdown-account [data-account-signout] {
  justify-content: center !important;
  text-align: center !important;
}
@media (max-width: 600px) {
  .category-guide-art img {
    aspect-ratio: 16/7;
  }
  .category-guide-dialog .category-items {
    column-gap: 16px;
  }
  .category-guide-dialog .category-items li {
    margin: 0;
  }
}
@media (max-width: 360px) {
  .category-guide-dialog .category-items {
    grid-template-columns: 1fr;
  }
}
#shop-list-request-dialog form > button[type='submit'] {
  width: 100%;
}

/* Centre the shop-opening entry in both account menus. */
.shop-owner-app button[data-open-shop] {
  display: flex;
  align-items: center;
  justify-content: center !important;
  text-align: center !important;
}
