:root {
    --bmk-green: #83b735;
    --bmk-green-dark: #6e9f2e;
    --bmk-green-soft: #f1f8e9;
    --bmk-text: #20251f;
    --bmk-muted: #747b71;
    --bmk-line: #e8ece5;
    --bmk-bg: #f5f7f3;
    --bmk-card: #fff;
    --bmk-shadow: 0 14px 42px rgba(43, 59, 35, .07);
    --bmk-radius: 22px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bmk-bg); }
body.bmk-seller-app { margin: 0; min-height: 100vh; background: var(--bmk-bg); color: var(--bmk-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
svg { width: 22px; height: 22px; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.bmk-seller-splash { min-height: 100vh; display: grid; grid-template-columns: minmax(0,1.02fr) minmax(420px,.98fr); background: #fff; overflow: hidden; }
.bmk-seller-splash__brand { min-height: 100vh; padding: clamp(34px,6vw,84px); position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg,#79ad31 0%,#83b735 46%,#6b9e29 100%); }
.bmk-seller-splash__brand::before, .bmk-seller-splash__brand::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.bmk-seller-splash__brand::before { width: 420px; height: 420px; right: -180px; top: -150px; background: rgba(255,255,255,.10); }
.bmk-seller-splash__brand::after { width: 330px; height: 330px; left: -150px; bottom: -170px; border: 1px solid rgba(255,255,255,.20); }
.bmk-seller-splash__brand-inner { width: min(100%,620px); position: relative; z-index: 1; }
.bmk-seller-splash__logo { width: 72px; height: 72px; margin-bottom: 28px; border-radius: 24px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 18px 45px rgba(50,82,20,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bmk-seller-splash__logo svg { width: 33px; height: 33px; }
.bmk-seller-splash__eyebrow { display: block; margin-bottom: 12px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.bmk-seller-splash__brand h1 { max-width: 600px; margin: 0; font-size: clamp(40px,5vw,68px); line-height: .98; letter-spacing: -.055em; }
.bmk-seller-splash__brand p { max-width: 540px; margin: 22px 0 0; color: rgba(255,255,255,.83); font-size: clamp(16px,1.6vw,20px); line-height: 1.5; }
.bmk-seller-splash__features { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.bmk-seller-splash__features span { min-height: 34px; padding: 0 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; display: inline-flex; align-items: center; background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); font-size: 12px; font-weight: 800; }
.bmk-seller-splash__panel { min-height: 100vh; padding: clamp(24px,5vw,72px); display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 0,#f3f8ed 0,#fff 46%); }
.bmk-seller-login-card { width: min(100%,460px); }
.bmk-seller-login-card h2 { margin: 0; font-size: clamp(30px,4vw,42px); line-height: 1.04; letter-spacing: -.04em; }
.bmk-seller-login-card__intro { margin: 12px 0 24px; color: var(--bmk-muted); font-size: 15px; line-height: 1.55; }
.bmk-seller-login-form { display: grid; gap: 14px; }
.bmk-seller-field { display: grid; gap: 8px; text-align: left; }
.bmk-seller-field > span { color: #555d52; font-size: 12px; font-weight: 800; }
.bmk-seller-field input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #dfe5da; border-radius: 15px; outline: none; background: #fff; color: var(--bmk-text); font: inherit; font-size: 15px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.bmk-seller-field input:hover { border-color: #ccd8c3; }
.bmk-seller-field input:focus { border-color: var(--bmk-green); box-shadow: 0 0 0 4px rgba(131,183,53,.12); }
.bmk-seller-login-submit { margin-top: 2px; border: 0; cursor: pointer; }
.bmk-seller-login-error { margin: -6px 0 17px; padding: 12px 14px; border: 1px solid #f1d7d4; border-radius: 13px; background: #fff6f5; color: #a64f47; font-size: 12px; line-height: 1.45; font-weight: 700; text-align: left; }

.bmk-seller-auth { min-height: 100vh; padding: 24px; display: grid; place-items: center; background: radial-gradient(circle at 50% 0, #edf7e4 0, var(--bmk-bg) 42%); }
.bmk-seller-auth__card { width: min(100%, 430px); padding: 34px 26px 28px; border: 1px solid var(--bmk-line); border-radius: 28px; background: #fff; box-shadow: var(--bmk-shadow); text-align: center; }
.bmk-seller-auth__mark { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center; background: var(--bmk-green); color: #fff; box-shadow: 0 12px 30px rgba(131,183,53,.25); }
.bmk-seller-auth__mark svg { width: 30px; height: 30px; }
.bmk-seller-auth__mark--soft { background: var(--bmk-green-soft); color: var(--bmk-green-dark); box-shadow: none; }
.bmk-seller-auth__eyebrow, .bmk-seller-kicker, .bmk-seller-topbar__eyebrow { display: block; margin-bottom: 7px; color: var(--bmk-green-dark); font-size: 12px; line-height: 1.2; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bmk-seller-auth h1 { margin: 0; font-size: clamp(28px, 8vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.bmk-seller-auth p { max-width: 340px; margin: 14px auto 24px; color: var(--bmk-muted); font-size: 15px; line-height: 1.55; }
.bmk-seller-primary { width: 100%; min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 15px; background: var(--bmk-green); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(131,183,53,.22); }
.bmk-seller-primary:hover { background: var(--bmk-green-dark); }
.bmk-seller-auth__back { display: inline-block; margin-top: 19px; color: var(--bmk-muted); font-size: 13px; font-weight: 700; text-decoration: none; }

.bmk-seller-primary--ghost { margin-top: 16px; background: #fff; color: var(--bmk-green-dark); border: 1px solid var(--bmk-line); box-shadow: none; }
.bmk-seller-primary--ghost:hover { background: #f8faf7; }
.bmk-seller-connect-banner { margin-top: 18px; padding: 18px; border: 2px dashed #d9e6ca; border-radius: 20px; background: linear-gradient(135deg,#fbfdf8 0,#f4faee 100%); text-align: left; }
.bmk-seller-connect-banner__label { display: inline-flex; min-height: 26px; padding: 0 10px; border-radius: 999px; align-items: center; background: #fff; color: var(--bmk-green-dark); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.bmk-seller-connect-banner h2 { margin: 12px 0 0; font-size: 19px; line-height: 1.2; letter-spacing: -.025em; }
.bmk-seller-connect-banner p { max-width: none; margin: 9px 0 0; color: var(--bmk-muted); font-size: 14px; line-height: 1.55; }
.bmk-seller-connect-banner__button { min-height: 42px; margin-top: 15px; padding: 0 16px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--bmk-green-dark); border: 1px solid #dce7cf; font-size: 14px; font-weight: 800; text-decoration: none; }
.bmk-seller-connect-banner__button:hover { background: #f7fbf2; }

.bmk-seller-layout { min-height: 100vh; }
.bmk-seller-sidebar { width: 254px; padding: 22px 16px 18px; position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--bmk-line); }
.bmk-seller-brand { min-height: 54px; padding: 4px 8px; display: flex; align-items: center; gap: 11px; text-decoration: none; }
.bmk-seller-brand__mark { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 13px; display: grid; place-items: center; background: var(--bmk-green); color: #fff; }
.bmk-seller-brand__mark svg { width: 21px; height: 21px; }
.bmk-seller-brand strong, .bmk-seller-user strong { display: block; font-size: 14px; line-height: 1.25; }
.bmk-seller-brand small, .bmk-seller-user small { display: block; margin-top: 2px; color: var(--bmk-muted); font-size: 11px; line-height: 1.25; }
.bmk-seller-side-nav { margin-top: 28px; display: grid; gap: 5px; }
.bmk-seller-side-nav a { min-height: 47px; padding: 0 13px; border-radius: 14px; display: flex; align-items: center; gap: 11px; color: #5b6258; font-size: 14px; font-weight: 700; text-decoration: none; transition: .18s ease; }
.bmk-seller-side-nav a svg { width: 20px; height: 20px; }
.bmk-seller-side-nav a:hover { background: #f7f8f6; color: var(--bmk-text); }
.bmk-seller-side-nav a.is-active { background: var(--bmk-green-soft); color: var(--bmk-green-dark); }
.bmk-seller-sidebar__footer { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--bmk-line); }
.bmk-seller-user { padding: 0 5px 14px; display: flex; align-items: center; gap: 10px; }
.bmk-seller-user__avatar { width: 37px; height: 37px; flex: 0 0 37px; border-radius: 12px; display: grid; place-items: center; background: #eff2ed; color: #4d5549; font-size: 12px; font-weight: 900; }
.bmk-seller-logout { min-height: 43px; padding: 0 10px; border-radius: 12px; display: flex; align-items: center; gap: 9px; color: #737970; font-size: 13px; font-weight: 700; text-decoration: none; }
.bmk-seller-logout svg { width: 18px; height: 18px; }

.bmk-seller-main { min-height: 100vh; margin-left: 254px; }
.bmk-seller-topbar { min-height: 92px; padding: 20px clamp(22px,4vw,48px); position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: minmax(0,1fr) minmax(150px,max-content) auto; align-items: center; gap: 12px; background: rgba(245,247,243,.88); border-bottom: 1px solid rgba(232,236,229,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.bmk-seller-topbar__eyebrow { margin-bottom: 4px; font-size: 10px; }
.bmk-seller-topbar__heading { min-width: 0; display: flex; align-items: center; gap: 12px; }
.bmk-seller-topbar__title { min-width: 0; }
.bmk-seller-back { width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--bmk-line); border-radius: 13px; display: grid; place-items: center; background: #fff; color: #4f574b; text-decoration: none; box-shadow: 0 5px 16px rgba(43,59,35,.04); transition: transform .16s ease, background .16s ease, color .16s ease; }
.bmk-seller-back:hover { background: var(--bmk-green-soft); color: var(--bmk-green-dark); transform: translateX(-1px); }
.bmk-seller-back:active { transform: scale(.96); }
.bmk-seller-back svg { width: 20px; height: 20px; }
.bmk-seller-topbar h1 { margin: 0; font-size: 25px; line-height: 1.1; letter-spacing: -.025em; }
.bmk-seller-store-chip { min-width: 0; min-height: 38px; max-width: min(320px,32vw); padding: 0 13px; border: 1px solid var(--bmk-line); border-radius: 999px; display: inline-flex; align-items: center; justify-self: end; gap: 8px; background: #fff; color: #697066; font-size: 12px; font-weight: 700; white-space: nowrap; }
.bmk-seller-store-chip > span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bmk-seller-store-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd0c7; }
.bmk-seller-store-chip.is-linked { color: var(--bmk-green-dark); border-color: #dce7cf; background: #f8fbf4; }
.bmk-seller-store-chip.is-linked .bmk-seller-store-chip__dot { background: var(--bmk-green); }
.bmk-seller-topbar__logout { min-height: 38px; padding: 0 12px; border: 1px solid var(--bmk-line); border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: #fff; color: #697066; font-size: 12px; font-weight: 800; text-decoration: none; box-shadow: 0 5px 16px rgba(43,59,35,.04); transition: background .16s ease, color .16s ease, transform .16s ease; }
.bmk-seller-topbar__logout:hover { background: #fff4f2; color: #b14f43; }
.bmk-seller-topbar__logout:active { transform: scale(.97); }
.bmk-seller-topbar__logout svg { width: 17px; height: 17px; flex: 0 0 17px; }
.bmk-seller-content { width: min(100%, 1280px); margin: 0 auto; padding: 32px clamp(22px,4vw,48px) 60px; }

.bmk-seller-welcome { padding: 28px 30px; border-radius: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; background: linear-gradient(135deg,#fff 0,#f4faee 100%); border: 1px solid #e5eddd; box-shadow: var(--bmk-shadow); }
.bmk-seller-welcome h2, .bmk-seller-panel h2, .bmk-seller-section-head h2, .bmk-seller-placeholder h2 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.bmk-seller-welcome p, .bmk-seller-panel p, .bmk-seller-section-head p, .bmk-seller-placeholder p { margin: 9px 0 0; color: var(--bmk-muted); font-size: 14px; line-height: 1.55; }
.bmk-seller-status { flex: 0 0 auto; min-height: 34px; padding: 0 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #687164; font-size: 11px; font-weight: 800; box-shadow: 0 5px 18px rgba(42,55,35,.06); }
.bmk-seller-status span { width: 7px; height: 7px; border-radius: 50%; background: #f3b243; }
.bmk-seller-metrics { margin-top: 18px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.bmk-seller-metric { min-height: 150px; padding: 19px; border: 1px solid var(--bmk-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(43,59,35,.04); }
.bmk-seller-metric__icon { width: 35px; height: 35px; margin-bottom: 17px; border-radius: 11px; display: grid; place-items: center; background: var(--bmk-green-soft); color: var(--bmk-green-dark); }
.bmk-seller-metric__icon svg { width: 18px; height: 18px; }
.bmk-seller-metric__label { display: block; color: var(--bmk-muted); font-size: 11px; font-weight: 700; }
.bmk-seller-metric strong { display: block; margin-top: 4px; font-size: 26px; line-height: 1.1; }
.bmk-seller-metric small { display: block; margin-top: 7px; color: #a1a79e; font-size: 10px; font-weight: 700; }
.bmk-seller-grid { margin-top: 18px; display: grid; gap: 18px; }
.bmk-seller-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.bmk-seller-panel { padding: 24px; border: 1px solid var(--bmk-line); border-radius: var(--bmk-radius); background: #fff; box-shadow: 0 8px 28px rgba(43,59,35,.04); }
.bmk-seller-panel__icon { width: 44px; height: 44px; margin-bottom: 22px; border-radius: 14px; display: grid; place-items: center; background: var(--bmk-green-soft); color: var(--bmk-green-dark); }
.bmk-seller-panel__icon svg { width: 22px; height: 22px; }
.bmk-seller-badge { min-height: 29px; margin-top: 19px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; background: #f5f6f3; color: #7b8278; font-size: 10px; font-weight: 800; }
.bmk-seller-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bmk-seller-panel__head h2 { margin: 0; font-size: 18px; }
.bmk-seller-panel__head a { display: inline-flex; align-items: center; gap: 2px; color: var(--bmk-green-dark); font-size: 11px; font-weight: 800; text-decoration: none; }
.bmk-seller-panel__head a svg { width: 15px; height: 15px; }
.bmk-seller-empty-mini { min-height: 100px; margin-top: 18px; padding: 16px; border-radius: 16px; display: flex; align-items: center; gap: 13px; background: #f8faf7; }
.bmk-seller-empty-mini__icon { width: 39px; height: 39px; flex: 0 0 39px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #9aa294; }
.bmk-seller-empty-mini__icon svg { width: 19px; height: 19px; }
.bmk-seller-empty-mini strong { display: block; font-size: 12px; }
.bmk-seller-empty-mini small { display: block; margin-top: 4px; color: var(--bmk-muted); font-size: 10px; line-height: 1.4; }

.bmk-seller-section-head { margin-bottom: 18px; padding: 0 2px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.bmk-seller-action { min-height: 42px; padding: 0 15px; border: 0; border-radius: 13px; display: inline-flex; align-items: center; gap: 7px; background: #e7ebe4; color: #9da49a; font-weight: 800; cursor: not-allowed; }
.bmk-seller-action svg { width: 17px; height: 17px; }
.bmk-seller-placeholder { min-height: 370px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.bmk-seller-placeholder__icon { width: 62px; height: 62px; margin-bottom: 19px; border-radius: 20px; display: grid; place-items: center; background: var(--bmk-green-soft); color: var(--bmk-green-dark); }
.bmk-seller-placeholder__icon svg { width: 27px; height: 27px; }
.bmk-seller-placeholder p { max-width: 570px; }
.bmk-seller-placeholder__empty { width: min(100%,520px); margin-top: 24px; padding: 17px 18px; border: 1px dashed #d8ddd4; border-radius: 16px; background: #fafbfa; }
.bmk-seller-placeholder__empty strong, .bmk-seller-placeholder__empty span { display: block; }
.bmk-seller-placeholder__empty strong { font-size: 12px; }
.bmk-seller-placeholder__empty span { margin-top: 4px; color: var(--bmk-muted); font-size: 10px; line-height: 1.45; }
.bmk-seller-bottom-nav { display: none; }

@media (max-width: 980px) {
    .bmk-seller-sidebar { width: 220px; }
    .bmk-seller-main { margin-left: 220px; }
    .bmk-seller-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bmk-seller-grid--two { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .bmk-seller-splash { min-height: 100vh; display: block; background: linear-gradient(180deg,#7dad36 0,#83b735 28%,#f7f9f5 28%,#f7f9f5 100%); overflow: visible; }
    .bmk-seller-splash__brand { min-height: auto; padding: 26px 20px 72px; display: block; background: transparent; }
    .bmk-seller-splash__brand::before { width: 210px; height: 210px; right: -100px; top: -110px; }
    .bmk-seller-splash__brand::after { display: none; }
    .bmk-seller-splash__logo { width: 54px; height: 54px; margin-bottom: 19px; border-radius: 18px; }
    .bmk-seller-splash__logo svg { width: 26px; height: 26px; }
    .bmk-seller-splash__eyebrow { margin-bottom: 8px; font-size: 10px; }
    .bmk-seller-splash__brand h1 { max-width: 330px; font-size: 34px; line-height: 1; }
    .bmk-seller-splash__brand p { max-width: 350px; margin-top: 13px; font-size: 14px; line-height: 1.45; }
    .bmk-seller-splash__features { display: none; }
    .bmk-seller-splash__panel { min-height: auto; margin-top: -42px; padding: 0 12px 26px; display: block; background: transparent; position: relative; z-index: 2; }
    .bmk-seller-login-card { width: 100%; padding: 24px 18px 20px; border: 1px solid var(--bmk-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 48px rgba(43,59,35,.11); }
    .bmk-seller-login-card h2 { font-size: 28px; }
    .bmk-seller-login-card__intro { margin: 10px 0 20px; font-size: 14px; }
    .bmk-seller-field input { height: 50px; }
    .bmk-seller-layout { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .bmk-seller-sidebar { display: none; }
    .bmk-seller-main { margin-left: 0; }
    .bmk-seller-topbar { min-height: 66px; padding: 10px 12px; grid-template-columns: minmax(0,1fr) minmax(88px,max-content) 34px; grid-template-areas: "heading store logout"; gap: 8px; }
    .bmk-seller-topbar__heading { grid-area: heading; min-width: 0; }
    .bmk-seller-topbar__title { min-width: 0; }
    .bmk-seller-topbar__title h1 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .bmk-seller-store-chip { grid-area: store; justify-self: end; width: max-content; max-width: clamp(88px, 30vw, 145px); min-height: 31px; padding: 0 9px; font-size: 11px; }
    .bmk-seller-topbar__logout { grid-area: logout; }
    .bmk-seller-topbar h1 { font-size: 20px; }
    .bmk-seller-topbar__heading { gap: 9px; min-width: 0; }
    .bmk-seller-back { width: 36px; height: 36px; flex-basis: 36px; border-radius: 12px; }
    .bmk-seller-back svg { width: 19px; height: 19px; }
    .bmk-seller-topbar__eyebrow { display: none; }
    .bmk-seller-topbar__logout { width: 34px; height: 34px; min-height: 34px; padding: 0; flex: 0 0 34px; border-radius: 11px; }
    .bmk-seller-topbar__logout span { display: none; }
    .bmk-seller-topbar__logout svg { width: 18px; height: 18px; }
    .bmk-seller-content { padding: 18px 12px 28px; }
    .bmk-seller-auth { padding: 16px; }
    .bmk-seller-auth__card { padding: 26px 18px 22px; border-radius: 24px; }
    .bmk-seller-connect-banner { padding: 16px; border-radius: 18px; }
    .bmk-seller-connect-banner h2 { font-size: 17px; }
    .bmk-seller-welcome { padding: 21px 18px; border-radius: 21px; display: block; }
    .bmk-seller-welcome h2 { font-size: 20px; }
    .bmk-seller-welcome p { font-size: 13px; }
    .bmk-seller-status { margin-top: 17px; }
    .bmk-seller-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .bmk-seller-metric { min-height: 132px; padding: 15px; border-radius: 18px; }
    .bmk-seller-metric__icon { width: 31px; height: 31px; margin-bottom: 14px; }
    .bmk-seller-metric strong { font-size: 22px; }
    .bmk-seller-grid { gap: 12px; }
    .bmk-seller-panel { padding: 18px; border-radius: 19px; }
    .bmk-seller-panel__head { align-items: flex-start; }
    .bmk-seller-section-head { display: block; }
    .bmk-seller-action { margin-top: 15px; width: 100%; justify-content: center; }
    .bmk-seller-placeholder { min-height: 330px; }
    .bmk-seller-bottom-nav { height: calc(64px + env(safe-area-inset-bottom)); padding: 6px 6px env(safe-area-inset-bottom); position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: repeat(5,1fr); background: rgba(255,255,255,.94); border-top: 1px solid var(--bmk-line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 -10px 35px rgba(40,55,32,.05); }
    .bmk-seller-bottom-nav a { min-width: 0; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #82887e; font-size: 9px; font-weight: 800; text-decoration: none; }
    .bmk-seller-bottom-nav a svg { width: 20px; height: 20px; }
    .bmk-seller-bottom-nav a.is-active { color: var(--bmk-green-dark); background: var(--bmk-green-soft); }
}

@media (max-width: 390px) {
    .bmk-seller-metrics { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Orders workspace */
.bmk-seller-orders-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:16px; }
.bmk-seller-orders-head h2 { margin:0; font-size:24px; line-height:1.15; letter-spacing:-.025em; }
.bmk-seller-orders-head p { margin:8px 0 0; color:var(--bmk-muted); font-size:14px; line-height:1.5; }
.bmk-seller-orders-sync { min-height:34px; padding:0 11px; border-radius:999px; display:inline-flex; align-items:center; gap:7px; flex:0 0 auto; background:#fff; border:1px solid var(--bmk-line); color:#7d8479; font-size:11px; font-weight:800; }
.bmk-seller-orders-sync > span { width:7px; height:7px; border-radius:50%; background:#c9cec5; }
.bmk-seller-orders-sync.is-connected { color:var(--bmk-green-dark); background:var(--bmk-green-soft); border-color:#dfead3; }
.bmk-seller-orders-sync.is-connected > span { background:var(--bmk-green); }
.bmk-seller-order-tabs { margin-bottom:16px; padding:4px; display:flex; gap:4px; overflow-x:auto; background:#fff; border:1px solid var(--bmk-line); border-radius:15px; scrollbar-width:none; }
.bmk-seller-order-tabs::-webkit-scrollbar { display:none; }
.bmk-seller-order-tabs a { min-height:36px; padding:0 14px; border-radius:11px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; color:#737a70; font-size:12px; font-weight:800; text-decoration:none; }
.bmk-seller-order-tabs a.is-active { background:var(--bmk-green-soft); color:var(--bmk-green-dark); }
.bmk-seller-order-empty { min-height:310px; padding:34px 22px; border:1px solid var(--bmk-line); border-radius:22px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:#fff; text-align:center; box-shadow:0 8px 28px rgba(43,59,35,.04); }
.bmk-seller-order-empty__icon { width:62px; height:62px; border-radius:20px; display:grid; place-items:center; background:var(--bmk-green-soft); color:var(--bmk-green-dark); }
.bmk-seller-order-empty__icon svg { width:27px; height:27px; }
.bmk-seller-order-empty h3 { margin:18px 0 0; font-size:20px; line-height:1.2; letter-spacing:-.02em; }
.bmk-seller-order-empty p { max-width:480px; margin:9px 0 0; color:var(--bmk-muted); font-size:13px; line-height:1.55; }
.bmk-seller-order-empty__admin { margin-top:18px; min-height:40px; padding:0 14px; border-radius:12px; display:inline-flex; align-items:center; background:#f6f8f4; color:var(--bmk-green-dark); font-size:12px; font-weight:800; text-decoration:none; }
.bmk-seller-order-list { display:grid; gap:12px; }
.bmk-seller-order-card { padding:18px; border:1px solid var(--bmk-line); border-radius:19px; background:#fff; box-shadow:0 8px 26px rgba(43,59,35,.04); }
.bmk-seller-order-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.bmk-seller-order-card__label { display:block; margin-bottom:3px; color:var(--bmk-muted); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.bmk-seller-order-card__top strong { display:block; font-size:18px; line-height:1.15; }
.bmk-seller-order-status { min-height:29px; padding:0 10px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; white-space:nowrap; font-size:10px; line-height:1; font-weight:900; }
.bmk-seller-order-status.is-new { background:#fff4dc; color:#9c6a0b; }
.bmk-seller-order-status.is-work { background:#edf5ff; color:#3a6fa7; }
.bmk-seller-order-status.is-ready { background:var(--bmk-green-soft); color:var(--bmk-green-dark); }
.bmk-seller-order-status.is-done { background:#f2f4f0; color:#697066; }
.bmk-seller-order-status.is-cancelled { background:#fff0f0; color:#a74b4b; }
.bmk-seller-order-card__meta { margin-top:15px; display:flex; flex-wrap:wrap; gap:8px 14px; color:#697066; }
.bmk-seller-order-card__meta span { display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; }
.bmk-seller-order-card__meta svg { width:15px; height:15px; }
.bmk-seller-order-card__bottom { margin-top:16px; padding-top:14px; border-top:1px solid #eef1eb; display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.bmk-seller-order-card__bottom small { display:block; color:var(--bmk-muted); font-size:10px; font-weight:700; }
.bmk-seller-order-card__bottom strong { display:block; margin-top:3px; font-size:17px; }
.bmk-seller-order-card__open { display:inline-flex; align-items:center; gap:2px; color:var(--bmk-green-dark); font-size:11px; font-weight:900; }
.bmk-seller-order-card__open svg { width:15px; height:15px; }

@media (max-width:720px) {
    .bmk-seller-orders-head { align-items:flex-start; }
    .bmk-seller-orders-head h2 { font-size:21px; }
    .bmk-seller-orders-head p { font-size:13px; }
    .bmk-seller-orders-sync { min-height:30px; padding:0 9px; font-size:9px; }
    .bmk-seller-order-tabs { margin-left:-2px; margin-right:-2px; }
    .bmk-seller-order-tabs a { min-height:34px; padding:0 12px; font-size:11px; }
    .bmk-seller-order-empty { min-height:280px; padding:28px 18px; border-radius:19px; }
    .bmk-seller-order-card { padding:16px; border-radius:17px; }
}

/* Seller Hub 0.2.9 — live orders and item thumbnails */
.bmk-seller-order-card__open { text-decoration:none; }
.bmk-seller-order-detail { max-width:920px; }
.bmk-seller-order-detail__back { display:inline-flex; margin-bottom:14px; color:var(--bmk-green-dark); font-size:12px; font-weight:800; text-decoration:none; }
.bmk-seller-order-detail__head { padding:22px; border:1px solid var(--bmk-line); border-radius:22px; display:flex; align-items:flex-start; justify-content:space-between; gap:16px; background:#fff; box-shadow:0 8px 28px rgba(43,59,35,.04); }
.bmk-seller-order-detail__head h2 { margin:0; font-size:25px; line-height:1.15; }
.bmk-seller-order-detail__summary { margin-top:14px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.bmk-seller-order-detail__summary > div { min-height:86px; padding:15px; border:1px solid var(--bmk-line); border-radius:16px; background:#fff; }
.bmk-seller-order-detail__summary small { display:block; color:var(--bmk-muted); font-size:10px; font-weight:800; }
.bmk-seller-order-detail__summary strong { display:block; margin-top:6px; font-size:14px; line-height:1.4; }
.bmk-seller-order-detail__items { margin-top:14px; padding:20px; border:1px solid var(--bmk-line); border-radius:20px; background:#fff; }
.bmk-seller-order-detail__section-title { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.bmk-seller-order-detail__section-title h3 { margin:0; font-size:18px; }
.bmk-seller-order-detail__section-title span { color:var(--bmk-muted); font-size:11px; font-weight:800; }
.bmk-seller-order-items { margin-top:12px; display:grid; gap:8px; }
.bmk-seller-order-item { padding:13px 0; border-top:1px solid #eef1eb; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.bmk-seller-order-item:first-child { border-top:0; }
.bmk-seller-order-item strong { display:block; font-size:13px; }
.bmk-seller-order-item small { display:block; margin-top:4px; color:var(--bmk-muted); font-size:10px; }
.bmk-seller-order-item > span { flex:0 0 auto; font-size:13px; font-weight:900; }
.bmk-seller-order-item__media { min-width:0; display:flex; align-items:center; gap:12px; }
.bmk-seller-order-item__thumb { width:54px; height:54px; flex:0 0 54px; border:1px solid #edf0ea; border-radius:12px; display:grid; place-items:center; overflow:hidden; background:#f7f9f5; color:#9ca496; }
.bmk-seller-order-item__thumb img { width:100%; height:100%; display:block; object-fit:cover; }
.bmk-seller-order-item__thumb svg { width:22px; height:22px; }
.bmk-seller-order-item__text { min-width:0; }
.bmk-seller-order-item__text strong { overflow-wrap:anywhere; }
.bmk-seller-order-item__price { flex:0 0 auto; font-size:13px; font-weight:900; white-space:nowrap; }
.bmk-seller-order-detail__notice { margin-top:14px; padding:14px 15px; border:1px dashed #d8ddd4; border-radius:15px; background:#fafbfa; color:var(--bmk-muted); font-size:11px; line-height:1.5; }
.bmk-seller-order-detail__notice--status { border-color:#d9e6ca; background:#f7fbf2; color:#6f786b; }

.bmk-seller-order-action { margin-top:14px; padding:20px; border:1px solid var(--bmk-line); border-radius:20px; display:flex; align-items:center; justify-content:space-between; gap:18px; background:#fff; box-shadow:0 8px 28px rgba(43,59,35,.04); }
.bmk-seller-order-action h3 { margin:0; font-size:18px; line-height:1.2; }
.bmk-seller-order-action p { margin:7px 0 0; color:var(--bmk-muted); font-size:12px; line-height:1.5; }
.bmk-seller-order-action__form { flex:0 0 auto; margin:0; }
.bmk-seller-order-action__button { min-height:44px; padding:0 18px; border:0; border-radius:14px; background:var(--bmk-green); color:#fff; font-size:13px; font-weight:900; cursor:pointer; box-shadow:0 8px 22px rgba(131,183,53,.2); }
.bmk-seller-order-action__button:hover { background:var(--bmk-green-dark); }
.bmk-seller-order-action__button:focus-visible { outline:3px solid rgba(131,183,53,.22); outline-offset:2px; }
.bmk-seller-order-action-notice { margin-top:14px; padding:12px 14px; border-radius:14px; font-size:12px; line-height:1.45; font-weight:800; }
.bmk-seller-order-action-notice.is-success { background:#eff8e7; color:#5f8d28; border:1px solid #dbeacb; }
.bmk-seller-order-action-notice.is-warning { background:#fff7e6; color:#9b6d13; border:1px solid #f1dfb5; }
.bmk-seller-order-action-notice.is-error { background:#fff0f0; color:#a74b4b; border:1px solid #f0cccc; }
.bmk-seller-home-orders { margin-top:14px; display:grid; }
.bmk-seller-home-orders a { min-height:58px; padding:10px 2px; border-top:1px solid #eef1eb; display:flex; align-items:center; justify-content:space-between; gap:12px; text-decoration:none; }
.bmk-seller-home-orders a:first-child { border-top:0; }
.bmk-seller-home-orders a span strong { display:block; font-size:12px; }
.bmk-seller-home-orders a span small { display:block; margin-top:3px; color:var(--bmk-muted); font-size:10px; }
.bmk-seller-home-orders a > strong { font-size:13px; }

@media (max-width:720px) {
    .bmk-seller-order-detail__head { padding:18px; border-radius:19px; }
    .bmk-seller-order-detail__head h2 { font-size:21px; }
    .bmk-seller-order-detail__summary { grid-template-columns:1fr; }
    .bmk-seller-order-detail__summary > div { min-height:0; }
    .bmk-seller-order-detail__items { padding:17px; border-radius:18px; }
    .bmk-seller-order-item { gap:10px; }
    .bmk-seller-order-item__media { gap:10px; }
    .bmk-seller-order-item__thumb { width:48px; height:48px; flex-basis:48px; border-radius:11px; }
    .bmk-seller-order-action { padding:17px; border-radius:18px; display:block; }
    .bmk-seller-order-action__form { margin-top:15px; }
    .bmk-seller-order-action__button { width:100%; min-height:48px; }
}


/* Seller products */
.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.bmk-seller-products-head .bmk-seller-action { opacity:.58; }
.bmk-seller-product-search { margin-top: 4px; padding: 12px; border: 1px solid var(--bmk-line); border-radius: 18px; display: flex; gap: 9px; background: #fff; box-shadow: 0 8px 28px rgba(43,59,35,.035); }
.bmk-seller-product-search label { flex: 1 1 auto; min-width: 0; }
.bmk-seller-product-search input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #dfe5db; border-radius: 13px; outline: none; background: #f9faf8; color: var(--bmk-text); font: inherit; font-size: 14px; }
.bmk-seller-product-search input:focus { border-color: #a9c87b; background: #fff; box-shadow: 0 0 0 3px rgba(131,183,53,.09); }
.bmk-seller-product-search button { height: 44px; padding: 0 18px; border: 0; border-radius: 13px; background: var(--bmk-green); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.bmk-seller-product-filters { margin: 12px 0 14px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.bmk-seller-product-filters::-webkit-scrollbar { display: none; }
.bmk-seller-product-filters a { min-height: 35px; padding: 0 14px; border: 1px solid var(--bmk-line); border-radius: 999px; display: inline-flex; align-items: center; flex: 0 0 auto; background: #fff; color: #6d746a; font-size: 12px; font-weight: 800; text-decoration: none; }
.bmk-seller-product-filters a.is-active { border-color: var(--bmk-green); background: var(--bmk-green); color: #fff; }
.bmk-seller-product-filter-badge { min-width: 19px; height: 19px; padding: 0 5px; margin-left: 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #e85959; color: #fff; font-size: 10px; line-height: 1; font-weight: 900; box-shadow: 0 2px 7px rgba(190,45,45,.18); }
.bmk-seller-product-filters a.is-active .bmk-seller-product-filter-badge { background: #fff; color: #d84b4b; box-shadow: none; }
.bmk-seller-product-summary { margin: 0 2px 12px; display: flex; align-items: baseline; gap: 5px; color: var(--bmk-muted); font-size: 12px; }
.bmk-seller-product-summary strong { color: var(--bmk-text); font-size: 15px; }
.bmk-seller-product-list { display: grid; gap: 9px; }
.bmk-seller-product-card { padding: 11px; border: 1px solid var(--bmk-line); border-radius: 18px; display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 12px; background: #fff; box-shadow: 0 6px 20px rgba(43,59,35,.03); }
.bmk-seller-product-card__media { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #f5f7f3; color: #a0a89b; }
.bmk-seller-product-card__media img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bmk-seller-product-card__media svg { width: 24px; height: 24px; }
.bmk-seller-product-card__body { min-width: 0; }
.bmk-seller-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.bmk-seller-product-card__title-row > div { min-width: 0; }
.bmk-seller-product-card h3 { margin: 0; font-size: 14px; line-height: 1.3; letter-spacing: -.01em; }
.bmk-seller-product-card__title-row p { margin: 3px 0 0; color: var(--bmk-muted); font-size: 10px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bmk-seller-product-visibility { min-height: 24px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; flex: 0 0 auto; background: #f1f2f0; color: #7c8279; font-size: 9px; font-weight: 900; white-space: nowrap; }
.bmk-seller-product-visibility.is-live { background: var(--bmk-green-soft); color: var(--bmk-green-dark); }
.bmk-seller-product-quick { margin-top: 8px; display: grid; grid-template-columns: minmax(100px,1fr) 116px auto; gap: 7px; align-items: end; }
.bmk-seller-product-price { min-width: 0; }
.bmk-seller-product-price > span, .bmk-seller-product-toggle legend { display: block; margin: 0 0 3px 2px; padding: 0; color: var(--bmk-muted); font-size: 8px; line-height: 1.2; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; }
.bmk-seller-product-price input { width: 100%; height: 34px; padding: 0 9px; border: 1px solid #dfe5db; border-radius: 10px; outline: none; background: #fafbfa; color: var(--bmk-text); font: inherit; font-size: 12px; }
.bmk-seller-product-price input:focus { border-color: #a9c87b; background: #fff; box-shadow: 0 0 0 2px rgba(131,183,53,.07); }
.bmk-seller-product-toggle { min-width: 0; margin: 0; padding: 0; border: 0; }
.bmk-seller-product-toggle__options { height: 34px; padding: 2px; border: 1px solid #dfe5db; border-radius: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #f4f6f2; }
.bmk-seller-product-toggle__options label { min-width: 0; margin: 0; cursor: pointer; }
.bmk-seller-product-toggle__options input { position: absolute; opacity: 0; pointer-events: none; }
.bmk-seller-product-toggle__options span { height: 28px; border-radius: 7px; display: grid; place-items: center; color: #7b8277; font-size: 10px; font-weight: 900; transition: background-color .16s ease,color .16s ease,box-shadow .16s ease; }
.bmk-seller-product-toggle__options input[value="publish"]:checked + span { background: var(--bmk-green); color: #fff; box-shadow: 0 2px 7px rgba(131,183,53,.18); }
.bmk-seller-product-toggle__options input[value="draft"]:checked + span { background: #fff; color: #596055; box-shadow: 0 2px 7px rgba(40,50,35,.08); }
.bmk-seller-product-toggle__options input:focus-visible + span { outline: 2px solid rgba(131,183,53,.35); outline-offset: 1px; }
.bmk-seller-product-quick button { height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--bmk-green); color: #fff; font-size: 10px; font-weight: 900; cursor: pointer; }
.bmk-seller-product-readonly { margin-top: 8px; padding: 8px 10px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f8faf7; }
.bmk-seller-product-readonly strong { font-size: 13px; }
.bmk-seller-product-readonly span { color: var(--bmk-muted); font-size: 9px; text-align: right; }
.bmk-seller-product-pagination { margin-top: 13px; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.bmk-seller-product-pagination a { min-height: 34px; padding: 0 12px; border: 1px solid var(--bmk-line); border-radius: 10px; display: inline-flex; align-items: center; background: #fff; color: var(--bmk-green-dark); font-size: 11px; font-weight: 800; text-decoration: none; }
.bmk-seller-product-pagination span { color: var(--bmk-muted); font-size: 11px; font-weight: 700; }
.bmk-seller-products-unavailable { min-height: 280px; }

@media (max-width: 720px) {
    .bmk-seller-product-search { padding: 9px; border-radius: 16px; }
    .bmk-seller-product-search button { padding: 0 13px; }
    .bmk-seller-product-filters { margin: 9px 0 11px; gap: 6px; }
    .bmk-seller-product-filters a { min-height: 32px; padding: 0 11px; font-size: 11px; }
    .bmk-seller-product-card { padding: 10px; grid-template-columns: 58px minmax(0,1fr); gap: 9px; border-radius: 16px; }
    .bmk-seller-product-card__media { width: 58px; height: 58px; border-radius: 12px; }
    .bmk-seller-product-card__media svg { width: 21px; height: 21px; }
    .bmk-seller-product-card__body { display: contents; }
    .bmk-seller-product-card__title-row { grid-column: 2; gap: 6px; align-self: start; }
    .bmk-seller-product-card h3 { font-size: 12px; line-height: 1.25; }
    .bmk-seller-product-card__title-row p { margin-top: 2px; font-size: 9px; }
    .bmk-seller-product-visibility { min-height: 21px; padding: 0 6px; font-size: 8px; }
    .bmk-seller-product-quick { grid-column: 1 / -1; margin-top: 0; grid-template-columns: minmax(82px,1fr) 104px auto; gap: 6px; }
    .bmk-seller-product-price > span, .bmk-seller-product-toggle legend { font-size: 7px; margin-bottom: 2px; }
    .bmk-seller-product-price input, .bmk-seller-product-toggle__options, .bmk-seller-product-quick button { height: 32px; }
    .bmk-seller-product-toggle__options span { height: 26px; font-size: 9px; }
    .bmk-seller-product-quick button { padding: 0 9px; font-size: 9px; }
    .bmk-seller-product-readonly { grid-column: 1 / -1; margin-top: 0; padding: 7px 9px; }
}

@media (max-width: 390px) {
    .bmk-seller-product-card { grid-template-columns: 54px minmax(0,1fr); }
    .bmk-seller-product-card__media { width: 54px; height: 54px; }
    .bmk-seller-product-quick { grid-template-columns: minmax(72px,1fr) 94px 72px; gap: 5px; }
    .bmk-seller-product-quick button { padding: 0 7px; }
}

/* Seller Hub 0.4.0 — full product editor */
.bmk-seller-products-head .bmk-seller-action--primary { opacity:1; background:var(--bmk-green); color:#fff; cursor:pointer; text-decoration:none; box-shadow:0 7px 20px rgba(131,183,53,.16); }
.bmk-seller-products-head .bmk-seller-action--primary:hover { background:var(--bmk-green-dark); }
.bmk-seller-product-card__media { text-decoration:none; }
.bmk-seller-product-card h3 a { color:inherit; text-decoration:none; }
.bmk-seller-product-card h3 a:hover { color:var(--bmk-green-dark); }
.bmk-seller-product-editor-head { margin-bottom:16px; display:flex; align-items:flex-start; gap:12px; }
.bmk-seller-product-editor-head h2 { margin:0; font-size:24px; line-height:1.15; letter-spacing:-.025em; }
.bmk-seller-product-editor-head p { margin:7px 0 0; color:var(--bmk-muted); font-size:13px; line-height:1.5; }
.bmk-seller-product-editor-back { width:40px; height:40px; flex:0 0 40px; border:1px solid var(--bmk-line); border-radius:13px; display:grid; place-items:center; background:#fff; color:var(--bmk-text); text-decoration:none; box-shadow:0 5px 18px rgba(43,59,35,.035); }
.bmk-seller-product-editor-back svg { width:19px; height:19px; }
.bmk-seller-product-editor { max-width:980px; display:grid; gap:12px; }
.bmk-seller-product-editor-card { padding:18px; border:1px solid var(--bmk-line); border-radius:20px; background:#fff; box-shadow:0 7px 24px rgba(43,59,35,.035); }
.bmk-seller-product-editor-photo { display:grid; grid-template-columns:112px minmax(0,1fr); gap:17px; align-items:center; }
.bmk-seller-product-editor-preview { width:112px; height:112px; border:1px solid #edf0ea; border-radius:18px; display:grid; place-items:center; overflow:hidden; background:#f7f9f5; color:#9da598; }
.bmk-seller-product-editor-preview img { width:100%; height:100%; object-fit:contain; background:#fff; }
.bmk-seller-product-editor-preview svg { width:32px; height:32px; }
.bmk-seller-product-editor-photo-copy strong { display:block; font-size:15px; }
.bmk-seller-product-editor-photo-copy p { margin:5px 0 11px; color:var(--bmk-muted); font-size:11px; line-height:1.45; }
.bmk-seller-product-editor-photo-copy small { display:block; min-height:15px; margin-top:7px; color:var(--bmk-green-dark); font-size:10px; font-weight:800; }
.bmk-seller-photo-button { min-height:38px; padding:0 13px; border:1px solid #dce7cf; border-radius:11px; display:inline-flex; align-items:center; background:#f7fbf2; color:var(--bmk-green-dark); font-size:11px; font-weight:900; cursor:pointer; }
.bmk-seller-photo-button input { position:absolute; opacity:0; pointer-events:none; }
.bmk-seller-product-editor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.bmk-seller-field { min-width:0; display:block; }
.bmk-seller-field--wide { grid-column:1 / -1; }
.bmk-seller-field > span, .bmk-seller-field--barcode > span { display:block; margin:0 0 5px 2px; color:var(--bmk-muted); font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.035em; }
.bmk-seller-field input, .bmk-seller-field select, .bmk-seller-field--barcode input { width:100%; height:42px; padding:0 12px; border:1px solid #dfe5db; border-radius:12px; outline:none; background:#fafbfa; color:var(--bmk-text); font:inherit; font-size:13px; }
.bmk-seller-field input:focus, .bmk-seller-field select:focus, .bmk-seller-field--barcode input:focus { border-color:#a9c87b; background:#fff; box-shadow:0 0 0 3px rgba(131,183,53,.08); }
.bmk-seller-barcode-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; }
.bmk-seller-scan-button { height:42px; padding:0 12px; border:1px solid #dce7cf; border-radius:12px; background:#f7fbf2; color:var(--bmk-green-dark); font-size:10px; font-weight:900; cursor:pointer; }
.bmk-seller-product-editor-section-title { margin-bottom:12px; display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.bmk-seller-product-editor-section-title h3 { margin:0; font-size:17px; }
.bmk-seller-product-editor-section-title small { color:var(--bmk-muted); font-size:10px; font-weight:700; }
.bmk-seller-category-picker { max-height:260px; padding:5px; border:1px solid #e5e9e1; border-radius:14px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; overflow:auto; background:#fafbfa; }
.bmk-seller-category-picker label { min-height:38px; padding:0 9px; border-radius:9px; display:flex; align-items:center; gap:8px; cursor:pointer; }
.bmk-seller-category-picker label:hover { background:#f2f7ed; }
.bmk-seller-category-picker input { width:16px; height:16px; accent-color:var(--bmk-green); flex:0 0 16px; }
.bmk-seller-category-picker span { min-width:0; font-size:11px; line-height:1.25; }
.bmk-seller-stock-switch { min-height:42px; padding:8px 10px; border:1px solid #e4e8e0; border-radius:12px; display:flex; align-items:center; gap:9px; background:#fafbfa; cursor:pointer; }
.bmk-seller-stock-switch input { width:17px; height:17px; accent-color:var(--bmk-green); }
.bmk-seller-stock-switch strong { display:block; font-size:11px; }
.bmk-seller-stock-switch small { display:block; margin-top:2px; color:var(--bmk-muted); font-size:9px; }
.bmk-seller-product-toggle--editor legend { margin-bottom:5px; font-size:9px; }
.bmk-seller-product-toggle--editor .bmk-seller-product-toggle__options { height:42px; border-radius:12px; }
.bmk-seller-product-toggle--editor .bmk-seller-product-toggle__options span { height:34px; border-radius:9px; font-size:11px; }
.bmk-seller-product-editor-actions { padding:10px 0 2px; display:flex; align-items:center; justify-content:flex-end; gap:9px; }
.bmk-seller-product-editor-actions a { min-height:42px; padding:0 14px; border:1px solid var(--bmk-line); border-radius:12px; display:inline-flex; align-items:center; color:var(--bmk-muted); font-size:11px; font-weight:900; text-decoration:none; background:#fff; }
.bmk-seller-product-editor-actions button { min-height:44px; padding:0 18px; border:0; border-radius:12px; background:var(--bmk-green); color:#fff; font-size:12px; font-weight:900; cursor:pointer; box-shadow:0 8px 22px rgba(131,183,53,.18); }
.bmk-seller-product-editor-actions button[disabled] { opacity:.6; cursor:wait; }
.bmk-seller-scanner[hidden] { display:none!important; }
.bmk-seller-scanner { position:fixed; inset:0; z-index:1000; padding:20px; display:grid; place-items:center; background:rgba(17,22,15,.72); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.bmk-seller-scanner__panel { width:min(100%,440px); padding:16px; border-radius:22px; background:#fff; box-shadow:0 24px 70px rgba(0,0,0,.24); }
.bmk-seller-scanner__head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.bmk-seller-scanner__head strong { font-size:15px; }
.bmk-seller-scanner__head button { width:34px; height:34px; border:0; border-radius:11px; background:#f2f4f0; color:#61685e; font-size:22px; cursor:pointer; }
.bmk-seller-scanner__video { height:280px; margin-top:12px; border-radius:16px; position:relative; overflow:hidden; background:#111; }
.bmk-seller-scanner__video video { width:100%; height:100%; object-fit:cover; }
.bmk-seller-scanner__video span { width:72%; height:92px; border:2px solid rgba(255,255,255,.9); border-radius:14px; position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); box-shadow:0 0 0 999px rgba(0,0,0,.18); }
.bmk-seller-scanner__panel p { margin:10px 2px 0; color:var(--bmk-muted); font-size:11px; text-align:center; }

@media (max-width:720px) {
    .bmk-seller-product-editor-head { gap:9px; }
    .bmk-seller-product-editor-head h2 { font-size:20px; }
    .bmk-seller-product-editor-back { width:36px; height:36px; flex-basis:36px; border-radius:12px; }
    .bmk-seller-product-editor-card { padding:14px; border-radius:17px; }
    .bmk-seller-product-editor-photo { grid-template-columns:86px minmax(0,1fr); gap:12px; }
    .bmk-seller-product-editor-preview { width:86px; height:86px; border-radius:15px; }
    .bmk-seller-product-editor-photo-copy p { font-size:10px; }
    .bmk-seller-product-editor-grid { grid-template-columns:1fr; gap:10px; }
    .bmk-seller-field--wide { grid-column:auto; }
    .bmk-seller-category-picker { max-height:230px; grid-template-columns:1fr; }
    .bmk-seller-product-editor-actions { position:sticky; bottom:calc(64px + env(safe-area-inset-bottom)); z-index:25; margin:2px -4px 0; padding:9px; border:1px solid rgba(232,236,229,.9); border-radius:16px; background:rgba(255,255,255,.94); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); box-shadow:0 8px 28px rgba(40,55,32,.08); }
    .bmk-seller-product-editor-actions a { display:none; }
    .bmk-seller-product-editor-actions button { width:100%; min-height:47px; }
    .bmk-seller-scanner { padding:12px; }
    .bmk-seller-scanner__video { height:58vh; max-height:420px; }
}

/* Seller Hub 0.4.4 — consolidated mobile layout and custom selects */
html,
body.bmk-seller-app {
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}
body.bmk-seller-modal-open { overflow:hidden!important; touch-action:none; }
.bmk-seller-layout,
.bmk-seller-main,
.bmk-seller-content,
.bmk-seller-product-editor,
.bmk-seller-product-editor-card,
.bmk-seller-product-editor-grid,
.bmk-seller-product-editor-photo,
.bmk-seller-product-editor-photo-copy,
.bmk-seller-product-editor-section-title,
.bmk-seller-category-picker,
.bmk-seller-category-helper,
.bmk-seller-field,
.bmk-seller-stock-switch,
.bmk-seller-product-toggle,
.bmk-seller-product-toggle__options {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
}
.bmk-seller-content { overflow-x:hidden; }
.bmk-seller-product-editor { width:100%; }
.bmk-seller-product-editor-card { width:100%; overflow:hidden; }
.bmk-seller-product-editor-grid > * { min-width:0; }
.bmk-seller-field input,
.bmk-seller-field select,
.bmk-seller-field--barcode input { max-width:100%; box-sizing:border-box; }
.bmk-seller-field__label {
    display:block;
    margin:0 0 5px 2px;
    color:var(--bmk-muted);
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.035em;
}

/* Hidden camera/gallery inputs must not create a horizontal scroll area. */
.bmk-seller-photo-button { position:relative; overflow:hidden; }
.bmk-seller-photo-button input[type="file"] {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    inset:auto!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    border:0!important;
    opacity:0!important;
}

/* Compact photo block with camera + gallery on one row. */
.bmk-seller-product-editor-card.bmk-seller-product-editor-photo {
    grid-template-columns:72px minmax(0,1fr);
    gap:11px;
    padding:11px 13px;
    align-items:center;
}
.bmk-seller-product-editor-photo .bmk-seller-product-editor-preview {
    width:72px;
    height:72px;
    border-radius:13px;
}
.bmk-seller-product-editor-photo-copy { min-width:0; overflow:hidden; }
.bmk-seller-product-editor-photo-copy strong { font-size:13px; line-height:1.2; }
.bmk-seller-product-editor-photo-copy p {
    margin:3px 0 7px;
    max-width:100%;
    color:var(--bmk-muted);
    font-size:9.5px;
    line-height:1.3;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.bmk-seller-product-editor-photo-copy small {
    display:block;
    min-height:11px;
    margin-top:4px;
    font-size:9px;
    line-height:1.2;
    overflow-wrap:anywhere;
}
.bmk-seller-photo-actions {
    width:100%;
    max-width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:6px;
}
.bmk-seller-photo-button {
    width:100%;
    min-width:0;
    min-height:34px;
    padding:0 7px;
    justify-content:center;
    border-radius:10px;
    font-size:9.5px;
    line-height:1;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.bmk-seller-photo-button--camera { background:var(--bmk-green); border-color:var(--bmk-green); color:#fff; }
.bmk-seller-photo-button--camera:hover { background:var(--bmk-green-dark); border-color:var(--bmk-green-dark); }

/* Barcode editor row. */
.bmk-seller-barcode-row {
    width:100%;
    max-width:100%;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:stretch;
}
.bmk-seller-scan-button { min-width:42px; display:inline-flex; align-items:center; justify-content:center; gap:6px; white-space:nowrap; }
.bmk-seller-scan-button svg { width:17px; height:17px; flex:0 0 17px; }

/* Custom Seller Hub dropdown. Native select remains in the form but is not visible. */
.bmk-seller-select-field { min-width:0; }
.bmk-seller-select-control {
    width:100%;
    min-width:0;
    position:relative;
    display:block;
}
.bmk-seller-select-control .bmk-native-select {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    border:0!important;
    opacity:0!important;
    pointer-events:none!important;
}
.bmk-ui-select { width:100%; min-width:0; position:relative; display:block; }
.bmk-ui-select__button {
    width:100%;
    min-width:0;
    height:44px;
    padding:0 42px 0 13px;
    border:1px solid #dfe5db;
    border-radius:13px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    position:relative;
    background:#fafbfa;
    color:var(--bmk-text);
    font:inherit;
    font-size:13px;
    font-weight:700;
    line-height:1.2;
    text-align:left;
    cursor:pointer;
    box-shadow:none;
    transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.bmk-ui-select__button:hover { border-color:#cbd8c0; }
.bmk-ui-select.is-open .bmk-ui-select__button,
.bmk-ui-select__button:focus-visible {
    border-color:#a9c87b;
    background:#fff;
    outline:0;
    box-shadow:0 0 0 3px rgba(131,183,53,.09);
}
.bmk-ui-select__value {
    min-width:0;
    max-width:100%;
    display:block;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.bmk-ui-select__chevron {
    width:18px;
    height:18px;
    position:absolute;
    right:13px;
    top:50%;
    transform:translateY(-50%);
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236c7468' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center/18px 18px no-repeat;
    transition:transform .16s ease;
    pointer-events:none;
}
.bmk-ui-select.is-open .bmk-ui-select__chevron { transform:translateY(-50%) rotate(180deg); }
.bmk-ui-select__menu {
    width:100%;
    min-width:0;
    max-height:220px;
    padding:5px;
    position:absolute;
    z-index:1400;
    top:calc(100% + 6px);
    left:0;
    display:none;
    overflow-y:auto;
    overflow-x:hidden;
    border:1px solid #e0e6dc;
    border-radius:13px;
    background:#fff;
    box-shadow:0 14px 34px rgba(37,50,30,.14);
}
.bmk-ui-select.is-open .bmk-ui-select__menu { display:block; }
.bmk-ui-select__option {
    width:100%;
    min-height:38px;
    padding:7px 10px;
    border:0;
    border-radius:9px;
    display:block;
    background:transparent;
    color:var(--bmk-text);
    font:inherit;
    font-size:12px;
    font-weight:700;
    line-height:1.3;
    text-align:left;
    overflow-wrap:anywhere;
    cursor:pointer;
}
.bmk-ui-select__option:hover { background:#f5f8f2; }
.bmk-ui-select__option.is-selected { background:var(--bmk-green-soft); color:var(--bmk-green-dark); }
.bmk-ui-select__button:disabled { opacity:.6; cursor:not-allowed; }

/* In the category sheet the menu participates in panel flow, so it cannot be clipped. */
.bmk-seller-sheet .bmk-ui-select__menu {
    position:relative;
    top:auto;
    left:auto;
    margin-top:6px;
    box-shadow:none;
}

/* Category helper stays within its card. */
.bmk-seller-category-picker { overflow-y:auto; overflow-x:hidden; }
.bmk-seller-category-picker label { min-width:0; }
.bmk-seller-category-picker span { overflow-wrap:anywhere; }
.bmk-seller-category-helper {
    width:100%;
    margin:10px 0 0;
    padding:9px 10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:8px;
    overflow:hidden;
    box-sizing:border-box;
}
.bmk-seller-category-helper span { flex:1 1 150px; min-width:0; overflow-wrap:anywhere; }
.bmk-seller-category-helper button { flex:0 0 auto; max-width:100%; }

/* Sticky save bar must never extend outside the content width. */
.bmk-seller-product-editor-actions {
    width:100%;
    max-width:100%;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box;
}

/* Catalog search with scanner CTA. */
.bmk-seller-product-search {
    width:100%;
    max-width:100%;
    min-width:0;
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
}
.bmk-seller-product-search label,
.bmk-seller-product-search__input { min-width:0; max-width:100%; }
.bmk-seller-product-search__input input { width:100%; max-width:100%; padding-right:14px; box-sizing:border-box; }
.bmk-seller-product-search__submit-hidden {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}
.bmk-seller-product-search__scan-main {
    min-width:124px;
    height:44px;
    padding:0 15px!important;
    border:0!important;
    border-radius:13px!important;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:7px;
    background:var(--bmk-green)!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:900!important;
    cursor:pointer;
    white-space:nowrap;
    box-shadow:0 6px 18px rgba(131,183,53,.16);
}
.bmk-seller-product-search__scan-main:hover { background:var(--bmk-green-dark)!important; }
.bmk-seller-product-search__scan-main svg { width:17px; height:17px; flex:0 0 17px; }

/* Stable scanner and category modal geometry. */
.bmk-seller-scanner,
.bmk-seller-sheet {
    position:fixed!important;
    inset:0!important;
    z-index:1500;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))!important;
    display:grid!important;
    place-items:center!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain;
}
.bmk-seller-scanner[hidden],
.bmk-seller-sheet[hidden] { display:none!important; }
.bmk-seller-scanner__panel,
.bmk-seller-sheet__panel {
    width:100%!important;
    max-width:460px!important;
    min-width:0!important;
    max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    margin:auto!important;
    border-radius:22px!important;
    box-sizing:border-box!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
}
.bmk-seller-scanner__video {
    width:100%!important;
    height:auto!important;
    aspect-ratio:4 / 3!important;
    max-height:min(58dvh,430px)!important;
    margin-top:13px!important;
    border-radius:17px!important;
}
.bmk-seller-scanner__video video { width:100%!important; height:100%!important; object-fit:cover!important; }
.bmk-seller-scanner__video span { width:78%!important; height:24%!important; min-height:70px!important; max-height:105px!important; }
.bmk-seller-scanner__head button,
.bmk-seller-sheet__head button { display:grid; place-items:center; line-height:1; }

@media (max-width:720px) {
    .bmk-seller-content { width:100%; padding-left:10px; padding-right:10px; overflow-x:hidden; }
    .bmk-seller-product-editor-head { width:100%; min-width:0; }
    .bmk-seller-product-editor-head > div { min-width:0; }
    .bmk-seller-product-editor-head p { overflow-wrap:anywhere; }
    .bmk-seller-product-editor-card { width:100%; padding:13px; }
    .bmk-seller-product-editor-card.bmk-seller-product-editor-photo { grid-template-columns:64px minmax(0,1fr); gap:9px; padding:10px 11px; }
    .bmk-seller-product-editor-photo .bmk-seller-product-editor-preview { width:64px; height:64px; }
    .bmk-seller-photo-actions { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
    .bmk-seller-photo-button { min-height:33px; padding:0 5px; font-size:9px; }
    .bmk-seller-barcode-row { grid-template-columns:minmax(0,1fr) 42px; gap:6px; }
    .bmk-seller-scan-button { width:42px; min-width:42px; padding:0; border-radius:12px; }
    .bmk-seller-scan-button span { display:none; }
    .bmk-seller-product-editor-section-title { align-items:flex-start; }
    .bmk-seller-category-helper { flex-direction:row; align-items:center; }
    .bmk-seller-category-helper button { width:auto; min-height:32px; }
    .bmk-seller-product-editor-actions { margin:2px 0 0!important; }
    .bmk-seller-product-search { grid-template-columns:minmax(0,1fr) auto; gap:7px; }
    .bmk-seller-product-search__scan-main { min-width:110px; padding:0 11px!important; font-size:11px!important; }
    .bmk-seller-scanner,
    .bmk-seller-sheet { padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))!important; }
    .bmk-seller-scanner__panel,
    .bmk-seller-sheet__panel {
        width:100%!important;
        max-width:440px!important;
        max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
        padding:14px!important;
        border-radius:20px!important;
    }
    .bmk-seller-scanner__video { aspect-ratio:4 / 3!important; max-height:52dvh!important; }
}

@media (max-width:390px) {
    .bmk-seller-product-editor-card.bmk-seller-product-editor-photo { grid-template-columns:58px minmax(0,1fr); }
    .bmk-seller-product-editor-photo .bmk-seller-product-editor-preview { width:58px; height:58px; }
    .bmk-seller-product-editor-photo-copy p { font-size:9px; }
    .bmk-seller-photo-actions { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
    .bmk-seller-photo-button { font-size:8.7px; }
    .bmk-seller-product-search { grid-template-columns:minmax(0,1fr) 104px; gap:6px; }
    .bmk-seller-product-search__scan-main { min-width:0; width:104px; padding:0 8px!important; font-size:10px!important; gap:5px; }
    .bmk-seller-category-helper { align-items:flex-start; }
    .bmk-seller-category-helper button { width:100%; }
}



/* Seller Hub 0.4.6 — corrected category dropdown and sales layout. */

/* The category proposal dropdown intentionally uses the exact same component
   geometry as the stock-status dropdown. */
.bmk-seller-sheet .bmk-seller-select-field,
.bmk-seller-sheet .bmk-seller-select-control,
.bmk-seller-sheet .bmk-ui-select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.bmk-seller-sheet .bmk-ui-select__button {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 42px 0 13px;
    border: 1px solid #dfe5db;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background: #fafbfa;
    color: var(--bmk-text);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    box-shadow: none;
}

.bmk-seller-sheet .bmk-ui-select.is-open .bmk-ui-select__button,
.bmk-seller-sheet .bmk-ui-select__button:focus-visible {
    border-color: #a9c87b;
    background: #fff;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(131,183,53,.09);
}

/* Override the older modal-specific relative menu so both dropdowns render the
   same floating white list. */
.bmk-seller-sheet .bmk-ui-select__menu {
    width: 100%;
    min-width: 0;
    max-height: 220px;
    padding: 5px;
    margin-top: 0;
    position: absolute;
    z-index: 1700;
    top: calc(100% + 6px);
    left: 0;
    border: 1px solid #e0e6dc;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(37,50,30,.14);
    overflow-y: auto;
    overflow-x: hidden;
}

.bmk-seller-sheet .bmk-ui-select__option {
    width: 100%;
    min-height: 38px;
    padding: 7px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--bmk-text);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.bmk-seller-sheet .bmk-ui-select__option:hover {
    background: #f5f8f2;
}

.bmk-seller-sheet .bmk-ui-select__option.is-selected {
    background: var(--bmk-green-soft);
    color: var(--bmk-green-dark);
}

/* In the sales card, visibility always owns a full row. */
.bmk-seller-product-editor-grid .bmk-seller-product-toggle--editor {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* Save/Add actions are part of normal document flow. They must never float over
   the visibility control. */
.bmk-seller-product-editor-actions {
    position: static !important;
    inset: auto !important;
    bottom: auto !important;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    z-index: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

@media (max-width: 720px) {
    .bmk-seller-product-editor-actions {
        position: static !important;
        margin: 8px 0 0 !important;
        padding: 0 !important;
    }

    .bmk-seller-product-editor-actions a {
        display: none;
    }

    .bmk-seller-product-editor-actions button {
        width: 100%;
        min-height: 47px;
    }

    .bmk-seller-product-toggle--editor {
        margin-bottom: 0;
    }

    /* Give the floating category menu enough room inside the sheet without
       changing its visual component. */
    .bmk-seller-sheet__panel {
        overflow: visible !important;
    }
}


/* Seller Hub 0.4.7 — complete category proposal sheet component. */
.bmk-seller-sheet {
    background: rgba(23, 31, 18, .38) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.bmk-seller-sheet__panel {
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    padding: 18px !important;
    border: 1px solid #e2e8df !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(28, 40, 20, .20) !important;
    color: var(--bmk-text) !important;
    overflow: visible !important;
}

.bmk-seller-sheet__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 12px;
}

.bmk-seller-sheet__head > div {
    min-width: 0;
}

.bmk-seller-sheet__head strong {
    display: block;
    margin: 0;
    color: var(--bmk-text);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.02em;
}

.bmk-seller-sheet__head .bmk-seller-kicker {
    margin-bottom: 4px;
}

.bmk-seller-sheet__head button[data-bmk-category-suggest-close] {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    display: grid !important;
    place-items: center !important;
    background: #f3f5f1 !important;
    color: #697066 !important;
    font: inherit !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer;
}

.bmk-seller-sheet__intro {
    margin: 0 0 16px !important;
    color: var(--bmk-muted) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.bmk-seller-sheet .bmk-seller-field,
.bmk-seller-sheet .bmk-seller-select-field {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 13px !important;
    display: block !important;
}

.bmk-seller-sheet .bmk-seller-field > span,
.bmk-seller-sheet .bmk-seller-field__label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #5f665c !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

.bmk-seller-sheet input[type="text"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 44px !important;
    padding: 0 13px !important;
    border: 1px solid #dfe5db !important;
    border-radius: 13px !important;
    background: #fafbfa !important;
    color: var(--bmk-text) !important;
    font: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    outline: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.bmk-seller-sheet input[type="text"]:focus {
    border-color: #a9c87b !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(131,183,53,.09) !important;
}

/* Native fallback: still looks correct before/without JS enhancement. */
.bmk-seller-sheet .bmk-seller-select-control > select[data-bmk-styled-select]:not(.bmk-native-select) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 44px !important;
    padding: 0 42px 0 13px !important;
    border: 1px solid #dfe5db !important;
    border-radius: 13px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-color: #fafbfa !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236c7468' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 13px center !important;
    background-size: 18px 18px !important;
    color: var(--bmk-text) !important;
    font: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    outline: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.bmk-seller-sheet .bmk-seller-select-control,
.bmk-seller-sheet .bmk-ui-select,
.bmk-seller-sheet .bmk-ui-select__button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.bmk-seller-sheet .bmk-ui-select__button {
    height: 44px !important;
    padding: 0 42px 0 13px !important;
    border: 1px solid #dfe5db !important;
    border-radius: 13px !important;
    background: #fafbfa !important;
    color: var(--bmk-text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.bmk-seller-sheet .bmk-ui-select.is-open .bmk-ui-select__button,
.bmk-seller-sheet .bmk-ui-select__button:focus-visible {
    border-color: #a9c87b !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(131,183,53,.09) !important;
}

.bmk-seller-sheet .bmk-ui-select__menu {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    max-height: 210px !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    position: absolute !important;
    z-index: 1900 !important;
    margin: 0 !important;
    padding: 5px !important;
    border: 1px solid #e0e6dc !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(37,50,30,.14) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

.bmk-seller-sheet .bmk-ui-select__option {
    width: 100% !important;
    min-height: 39px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 9px !important;
    display: block !important;
    background: transparent !important;
    color: var(--bmk-text) !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

.bmk-seller-sheet .bmk-ui-select__option.is-selected {
    background: var(--bmk-green-soft) !important;
    color: var(--bmk-green-dark) !important;
}

.bmk-seller-sheet__status {
    min-height: 0;
    margin: 2px 0 0;
    color: var(--bmk-muted);
    font-size: 11px;
    line-height: 1.4;
}
.bmk-seller-sheet__status.is-error { color: #b24b45; }
.bmk-seller-sheet__status.is-success { color: var(--bmk-green-dark); }

.bmk-seller-sheet__submit {
    width: 100% !important;
    min-height: 46px !important;
    margin-top: 13px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--bmk-green) !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    box-shadow: 0 7px 20px rgba(131,183,53,.18) !important;
    cursor: pointer;
}
.bmk-seller-sheet__submit:disabled { opacity: .58; cursor: wait; }

@media (max-width: 720px) {
    .bmk-seller-sheet {
        place-items: end center !important;
        padding: max(10px, env(safe-area-inset-top)) 10px 0 !important;
    }
    .bmk-seller-sheet__panel {
        width: 100% !important;
        max-width: none !important;
        margin: auto 0 0 !important;
        padding: 17px 16px calc(17px + env(safe-area-inset-bottom)) !important;
        border-radius: 22px 22px 0 0 !important;
        border-bottom: 0 !important;
        max-height: min(82dvh, 650px) !important;
        overflow-y: auto !important;
        overflow-x: visible !important;
    }
    .bmk-seller-sheet__head strong { font-size: 17px; }
    .bmk-seller-sheet__intro { font-size: 12px !important; }
}


/* Seller Hub 0.4.8 — category suggestion trigger and keyboard behavior. */
.bmk-seller-category-helper button[data-bmk-category-suggest-open] {
    min-height: 36px !important;
    padding: 0 14px !important;
    border: 1px solid var(--bmk-green) !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--bmk-green) !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(131,183,53,.18) !important;
    font: inherit !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease !important;
}
.bmk-seller-category-helper button[data-bmk-category-suggest-open]:hover {
    background: var(--bmk-green-dark) !important;
    border-color: var(--bmk-green-dark) !important;
}
.bmk-seller-category-helper button[data-bmk-category-suggest-open]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(131,183,53,.16) !important;
}
.bmk-seller-category-helper button[data-bmk-category-suggest-open]:focus-visible {
    outline: 3px solid rgba(131,183,53,.18);
    outline-offset: 2px;
}
@media (max-width: 390px) {
    .bmk-seller-category-helper button[data-bmk-category-suggest-open] {
        width: 100% !important;
        min-height: 38px !important;
    }
}


/* Seller Hub 0.4.10 — success modal after creating a product. */
.bmk-seller-product-success__panel {
    width: min(100%, 410px) !important;
    max-width: 410px !important;
    padding: 24px 20px 20px !important;
    text-align: center;
    overflow: hidden !important;
}
.bmk-seller-product-success__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--bmk-green-soft);
    color: var(--bmk-green-dark);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}
.bmk-seller-product-success .bmk-seller-kicker {
    margin-bottom: 7px;
}
.bmk-seller-product-success h3 {
    margin: 0;
    color: var(--bmk-text);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.03em;
}
.bmk-seller-product-success p {
    max-width: 320px;
    margin: 10px auto 20px;
    color: var(--bmk-muted);
    font-size: 13px;
    line-height: 1.5;
}
.bmk-seller-product-success__actions {
    width: 100%;
    display: grid;
    gap: 9px;
}
.bmk-seller-product-success__actions a {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
}
.bmk-seller-product-success__primary {
    border: 1px solid var(--bmk-green);
    background: var(--bmk-green);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(131,183,53,.18);
}
.bmk-seller-product-success__primary:hover {
    background: var(--bmk-green-dark);
}
.bmk-seller-product-success__secondary {
    border: 1px solid #e1e6de;
    background: #f8faf7;
    color: #5e675a !important;
}
.bmk-seller-product-success__secondary:hover {
    background: #f1f5ee;
}
@media (max-width: 720px) {
    .bmk-seller-product-success {
        place-items: center !important;
        padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)) !important;
    }
    .bmk-seller-product-success__panel {
        width: min(100%, 380px) !important;
        max-width: 380px !important;
        margin: auto !important;
        padding: 22px 17px 17px !important;
        border-radius: 22px !important;
        border-bottom: 1px solid #e2e8df !important;
    }
    .bmk-seller-product-success h3 { font-size: 22px; }
}

/* Seller Hub 0.4.11 — product moderation states. */
.bmk-seller-product-visibility.is-review {
    background: #fff6dc;
    color: #9a6a00;
}
.bmk-seller-product-visibility.is-rejected {
    background: #fff0ef;
    color: #b4443e;
}
.bmk-seller-product-moderation-note {
    margin-top: 7px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff7f6;
    color: #a94a44;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
}

/* Seller Hub 0.4.12 — dismissible product notices + moderator comments. */
.bmk-seller-product-notice {
    margin: 0 0 14px;
    padding: 12px 12px 12px 13px;
    border: 1px solid #e1e6de;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) 30px;
    gap: 10px;
    align-items: center;
    background: #fff;
    box-shadow: 0 6px 20px rgba(43,59,35,.035);
    transition: opacity .18s ease, transform .18s ease, margin .18s ease, padding .18s ease;
}
.bmk-seller-product-notice.is-hiding { opacity: 0; transform: translateY(-4px); }
.bmk-seller-product-notice__icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #f2f5ef;
    color: #65705e;
    font-size: 15px;
    font-weight: 900;
}
.bmk-seller-product-notice__content { min-width: 0; }
.bmk-seller-product-notice__content strong { display: block; margin: 0 0 2px; font-size: 12px; line-height: 1.2; }
.bmk-seller-product-notice__content > span { display: block; color: #6e756b; font-size: 11px; line-height: 1.4; }
.bmk-seller-product-notice__close {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: transparent;
    color: #92998f;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.bmk-seller-product-notice__close:hover { background: rgba(0,0,0,.04); color: #596055; }
.bmk-seller-product-notice.is-success { border-color: #dce9cf; background: #fbfdf8; }
.bmk-seller-product-notice.is-success .bmk-seller-product-notice__icon { background: var(--bmk-green-soft); color: var(--bmk-green-dark); }
.bmk-seller-product-notice.is-warning { border-color: #f0dfad; background: #fffaf0; }
.bmk-seller-product-notice.is-warning .bmk-seller-product-notice__icon { background: #fff1c5; color: #9a6a00; }
.bmk-seller-product-notice.is-error { border-color: #efd2cf; background: #fff8f7; }
.bmk-seller-product-notice.is-error .bmk-seller-product-notice__icon { background: #ffe7e4; color: #b4443e; }

.bmk-seller-moderator-comment {
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid #f0d2ce;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 28px minmax(0,1fr);
    gap: 9px;
    align-items: start;
    background: linear-gradient(135deg,#fff9f8 0,#fff4f2 100%);
}
.bmk-seller-moderator-comment__icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #ffe3df;
    color: #b4443e;
    font-size: 13px;
    font-weight: 900;
}
.bmk-seller-moderator-comment strong { display: block; color: #8f3f3a; font-size: 10px; line-height: 1.2; text-transform: uppercase; letter-spacing: .035em; }
.bmk-seller-moderator-comment p { margin: 4px 0 0; color: #5f514f; font-size: 11px; line-height: 1.45; font-weight: 700; }
.bmk-seller-moderator-comment small { display: block; margin-top: 5px; color: #8b7774; font-size: 9px; line-height: 1.4; }
.bmk-seller-moderator-comment--editor { margin: 0 0 14px; padding: 13px 14px; border-radius: 16px; grid-template-columns: 34px minmax(0,1fr); }
.bmk-seller-moderator-comment--editor .bmk-seller-moderator-comment__icon { width: 34px; height: 34px; border-radius: 11px; }
.bmk-seller-moderator-comment--editor strong { font-size: 11px; }
.bmk-seller-moderator-comment--editor p { font-size: 12px; }
.bmk-seller-moderator-comment--editor small { font-size: 10px; }

@media (max-width:720px) {
    .bmk-seller-product-notice { margin-bottom: 11px; padding: 10px; grid-template-columns: 31px minmax(0,1fr) 28px; gap: 8px; border-radius: 14px; }
    .bmk-seller-product-notice__icon { width: 31px; height: 31px; border-radius: 10px; }
    .bmk-seller-product-notice__content strong { font-size: 11px; }
    .bmk-seller-product-notice__content > span { font-size: 10px; }
    .bmk-seller-product-notice__close { width: 28px; height: 28px; }
    .bmk-seller-moderator-comment { grid-column: 1 / -1; margin-top: 0; padding: 9px; }
    .bmk-seller-moderator-comment--editor { margin-bottom: 11px; padding: 11px; }
}


/* Seller Hub 0.4.14 — reliable horizontal product-filter scrolling. */
.bmk-seller-product-filters {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x !important;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 1px 2px 4px !important;
    box-sizing: border-box !important;
}
.bmk-seller-product-filters::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}
.bmk-seller-product-filters > a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    scroll-snap-align: start;
}
@media (max-width: 720px) {
    .bmk-seller-product-filters {
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 6px !important;
        cursor: grab;
    }
    .bmk-seller-product-filters:active { cursor: grabbing; }
}


/* Seller Hub 0.4.15 — separate viewport + track for reliable filter swiping. */
.bmk-seller-product-filters-scroll {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 12px 0 14px !important;
    padding: 1px 0 4px !important;
    position: relative;
    display: block !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    box-sizing: border-box !important;
    touch-action: pan-x pan-y;
}
.bmk-seller-product-filters-scroll::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}
.bmk-seller-product-filters {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 2px !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: visible !important;
    touch-action: inherit !important;
    box-sizing: border-box !important;
}
.bmk-seller-product-filters > a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    user-select: none;
    -webkit-user-select: none;
}
@media (max-width: 720px) {
    .bmk-seller-product-filters-scroll {
        width: 100% !important;
        max-width: 100% !important;
        margin: 9px 0 11px !important;
        padding-bottom: 3px !important;
    }
    .bmk-seller-product-filters { gap: 6px !important; }
}

/* Seller Hub 0.5.0 — live store analytics. */
.bmk-seller-analytics-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.bmk-seller-analytics-head h2 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.bmk-seller-analytics-head p { max-width: 680px; margin: 8px 0 0; color: var(--bmk-muted); font-size: 13px; line-height: 1.5; }
.bmk-seller-analytics-periods {
    flex: 0 0 auto;
    padding: 4px;
    border: 1px solid var(--bmk-line);
    border-radius: 14px;
    display: inline-flex;
    gap: 3px;
    background: #fff;
}
.bmk-seller-analytics-periods a {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6f776b;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.bmk-seller-analytics-periods a.is-active { background: var(--bmk-green); color: #fff; }
.bmk-seller-analytics-metrics {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
}
.bmk-seller-analytics-metrics article {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--bmk-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(43,59,35,.035);
}
.bmk-seller-analytics-metric__icon {
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--bmk-green-soft);
    color: var(--bmk-green-dark);
}
.bmk-seller-analytics-metric__icon svg { width: 18px; height: 18px; }
.bmk-seller-analytics-metrics small { display: block; color: var(--bmk-muted); font-size: 10px; font-weight: 800; }
.bmk-seller-analytics-metrics strong { display: block; margin-top: 5px; font-size: 24px; line-height: 1.05; letter-spacing: -.02em; }
.bmk-seller-analytics-metrics em { display: block; margin-top: 7px; color: #a0a79c; font-size: 9px; line-height: 1.3; font-style: normal; font-weight: 700; }
.bmk-seller-analytics-panel {
    margin-top: 14px;
    padding: 19px;
    border: 1px solid var(--bmk-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(43,59,35,.035);
}
.bmk-seller-analytics-panel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.bmk-seller-analytics-panel__head h3 { margin: 0; font-size: 18px; line-height: 1.2; }
.bmk-seller-analytics-panel__head > span { color: var(--bmk-muted); font-size: 10px; font-weight: 800; }
.bmk-seller-analytics-chart-wrap {
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    padding-bottom: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bmk-seller-analytics-chart-wrap::-webkit-scrollbar { display: none; width: 0; height: 0; }
.bmk-seller-analytics-chart {
    min-width: 100%;
    width: max-content;
    height: 210px;
    padding: 8px 2px 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(30px, 1fr);
    gap: 8px;
    align-items: end;
}
.bmk-seller-analytics-bar { min-width: 30px; height: 100%; display: grid; grid-template-rows: 23px 1fr 20px; align-items: end; text-align: center; }
.bmk-seller-analytics-bar__value { min-height: 18px; color: #747c70; font-size: 8px; line-height: 1.2; font-weight: 800; white-space: nowrap; }
.bmk-seller-analytics-bar__track { width: 100%; height: 138px; position: relative; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid #edf0eb; }
.bmk-seller-analytics-bar__track > span { width: min(72%,22px); min-height: 4px; border-radius: 7px 7px 3px 3px; display: block; background: linear-gradient(180deg,var(--bmk-green) 0,var(--bmk-green-dark) 100%); }
.bmk-seller-analytics-bar small { margin-top: 6px; color: #8b9287; font-size: 8px; font-weight: 700; white-space: nowrap; }
.bmk-seller-analytics-products { margin-top: 13px; display: grid; }
.bmk-seller-analytics-product {
    min-width: 0;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2ee;
    display: grid;
    grid-template-columns: 24px 42px minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
}
.bmk-seller-analytics-product:last-child { border-bottom: 0; padding-bottom: 2px; }
.bmk-seller-analytics-product__rank { width: 22px; height: 22px; border-radius: 8px; display: grid; place-items: center; background: #f3f6f0; color: #687061; font-size: 9px; font-weight: 900; }
.bmk-seller-analytics-product__image { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; overflow: hidden; background: #f7f8f6; color: #9ca498; }
.bmk-seller-analytics-product__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bmk-seller-analytics-product__image svg { width: 19px; height: 19px; }
.bmk-seller-analytics-product__name { min-width: 0; }
.bmk-seller-analytics-product__name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.25; }
.bmk-seller-analytics-product__name small { display: block; margin-top: 3px; color: var(--bmk-muted); font-size: 9px; font-weight: 700; }
.bmk-seller-analytics-product__sum { padding-left: 8px; font-size: 12px; white-space: nowrap; }

@media (max-width: 900px) {
    .bmk-seller-analytics-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
    .bmk-seller-analytics-head { display: block; margin-bottom: 12px; }
    .bmk-seller-analytics-head h2 { font-size: 21px; }
    .bmk-seller-analytics-head p { font-size: 11px; }
    .bmk-seller-analytics-periods { width: 100%; margin-top: 12px; display: grid; grid-template-columns: repeat(3,1fr); }
    .bmk-seller-analytics-periods a { padding: 0 7px; }
    .bmk-seller-analytics-metrics { gap: 8px; }
    .bmk-seller-analytics-metrics article { padding: 14px; border-radius: 17px; }
    .bmk-seller-analytics-metric__icon { width: 31px; height: 31px; margin-bottom: 11px; }
    .bmk-seller-analytics-metrics strong { font-size: 20px; }
    .bmk-seller-analytics-panel { margin-top: 10px; padding: 15px; border-radius: 18px; }
    .bmk-seller-analytics-chart { height: 190px; grid-auto-columns: 30px; gap: 6px; }
    .bmk-seller-analytics-bar__track { height: 120px; }
    .bmk-seller-analytics-product { grid-template-columns: 22px 38px minmax(0,1fr) auto; gap: 8px; }
    .bmk-seller-analytics-product__image { width: 38px; height: 38px; border-radius: 10px; }
    .bmk-seller-analytics-product__sum { font-size: 11px; }
}

/* Seller Hub 0.5.1 — catalog search above barcode scanner. */
.bmk-seller-product-search {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
    align-items:stretch!important;
}
.bmk-seller-product-search__field {
    width:100%;
    min-width:0;
    display:grid;
    gap:6px;
}
.bmk-seller-product-search__label {
    display:block;
    margin-left:2px;
    color:var(--bmk-muted);
    font-size:10px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.035em;
    text-transform:uppercase;
}
.bmk-seller-product-search__input {
    width:100%;
    min-width:0;
    display:block;
}
.bmk-seller-product-search__input input {
    width:100%;
    max-width:100%;
}
.bmk-seller-product-search__scan-main {
    width:100%!important;
    min-width:0!important;
    height:42px!important;
}
@media (max-width:720px) {
    .bmk-seller-product-search { gap:8px!important; }
    .bmk-seller-product-search__scan-main {
        width:100%!important;
        min-width:0!important;
        height:40px!important;
        padding:0 12px!important;
        font-size:11px!important;
    }
}
@media (max-width:390px) {
    .bmk-seller-product-search__scan-main {
        width:100%!important;
        min-width:0!important;
    }
}

/* Seller Hub 0.5.5 — custom analytics date range and clean dashboard. */
.bmk-seller-analytics-range {
    width:100%;
    margin:0 0 14px;
    padding:14px;
    border:1px solid var(--bmk-line);
    border-radius:18px;
    display:grid;
    grid-template-columns:minmax(150px,1fr) minmax(145px,180px) minmax(145px,180px) auto auto;
    gap:10px;
    align-items:end;
    background:#fff;
    box-shadow:0 7px 24px rgba(43,59,35,.035);
}
.bmk-seller-analytics-range__title { min-width:0; align-self:center; }
.bmk-seller-analytics-range__title .bmk-seller-kicker { margin-bottom:4px; }
.bmk-seller-analytics-range__title strong { display:block; overflow:hidden; color:var(--bmk-text); font-size:13px; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }
.bmk-seller-analytics-range label { min-width:0; display:grid; gap:5px; }
.bmk-seller-analytics-range label > span { margin-left:2px; color:var(--bmk-muted); font-size:10px; font-weight:800; text-transform:uppercase; }
.bmk-seller-analytics-range input[type="date"] {
    width:100%;
    min-width:0;
    height:42px;
    padding:0 11px;
    border:1px solid #dde3d8;
    border-radius:13px;
    outline:0;
    background:#fbfcfa;
    color:var(--bmk-text);
    font:inherit;
    font-size:12px;
    font-weight:700;
    color-scheme:light;
}
.bmk-seller-analytics-range input[type="date"]:focus { border-color:var(--bmk-green); box-shadow:0 0 0 3px rgba(131,183,53,.11); background:#fff; }
.bmk-seller-analytics-range button,
.bmk-seller-analytics-range > a {
    height:42px;
    padding:0 15px;
    border-radius:13px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:850;
    text-decoration:none;
    white-space:nowrap;
}
.bmk-seller-analytics-range button { border:0; background:var(--bmk-green); color:#fff; cursor:pointer; }
.bmk-seller-analytics-range button:hover { background:var(--bmk-green-dark); }
.bmk-seller-analytics-range > a { border:1px solid var(--bmk-line); background:#fff; color:#727a6e; }
.bmk-seller-analytics-range__error { margin:-4px 0 14px; padding:10px 12px; border:1px solid #f0d6d2; border-radius:13px; background:#fff5f3; color:#a24b42; font-size:11px; font-weight:750; }
.bmk-seller-home-product-actions { margin-top:14px; display:grid; gap:8px; }
.bmk-seller-home-product-actions > a {
    min-width:0;
    padding:12px;
    border:1px solid #edf0ea;
    border-radius:15px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 18px;
    gap:10px;
    align-items:center;
    background:#f9fbf7;
    color:inherit;
    text-decoration:none;
}
.bmk-seller-home-product-actions > a > svg:first-child { width:18px; height:18px; padding:8px; box-sizing:content-box; border-radius:11px; background:#fff; color:var(--bmk-green-dark); }
.bmk-seller-home-product-actions > a > svg:last-child { width:16px; height:16px; color:#9aa293; }
.bmk-seller-home-product-actions span { min-width:0; }
.bmk-seller-home-product-actions strong { display:block; font-size:12px; line-height:1.25; }
.bmk-seller-home-product-actions small { display:block; margin-top:3px; overflow:hidden; color:var(--bmk-muted); font-size:9px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }

@media (max-width:980px) {
    .bmk-seller-analytics-range { grid-template-columns:1fr 1fr; }
    .bmk-seller-analytics-range__title { grid-column:1 / -1; }
    .bmk-seller-analytics-range button,
    .bmk-seller-analytics-range > a { width:100%; }
}
@media (max-width:720px) {
    .bmk-seller-analytics-range { margin-bottom:10px; padding:12px; border-radius:17px; grid-template-columns:1fr 1fr; gap:8px; }
    .bmk-seller-analytics-range__title { grid-column:1 / -1; }
    .bmk-seller-analytics-range__title strong { font-size:12px; }
    .bmk-seller-analytics-range input[type="date"] { height:40px; padding:0 9px; font-size:11px; }
    .bmk-seller-analytics-range button,
    .bmk-seller-analytics-range > a { height:40px; padding:0 10px; }
    .bmk-seller-home-product-actions > a { padding:11px; }
}
@media (max-width:390px) {
    .bmk-seller-analytics-range { grid-template-columns:1fr; }
    .bmk-seller-analytics-range__title { grid-column:auto; }
}

/* 0.5.7 — current store commission badge */
.bmk-seller-commission-rate { margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 11px; border: 1px solid #dfe8d7; border-radius: 999px; background: #fff; color: #6d7569; font-size: 11px; font-weight: 700; }
.bmk-seller-commission-rate strong { color: var(--bmk-green-dark); font-size: 12px; }

/* Seller Hub 0.6.0 — monthly commission finance. */
.bmk-seller-finance-head {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.bmk-seller-finance-head h2 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.bmk-seller-finance-head p { max-width: 680px; margin: 8px 0 0; color: var(--bmk-muted); font-size: 13px; line-height: 1.5; }
.bmk-seller-finance-rate {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid #dfe8d7;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #6a7365;
    font-size: 11px;
    font-weight: 800;
}
.bmk-seller-finance-rate strong { color: var(--bmk-green-dark); font-size: 13px; }
.bmk-seller-finance-note {
    margin: 10px 0;
    padding: 13px 15px;
    border: 1px solid #e5eadf;
    border-radius: 16px;
    display: grid;
    gap: 4px;
    background: #fff;
    color: #5d6658;
    font-size: 11px;
    line-height: 1.45;
}
.bmk-seller-finance-note strong { color: var(--bmk-text); font-size: 12px; }
.bmk-seller-finance-note.is-warning { border-color: #eadfbf; background: #fffaf0; }
.bmk-seller-finance-note.is-debt { border-color: #efd4cf; background: #fff7f5; }
.bmk-seller-finance-metrics {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
}
.bmk-seller-finance-metrics article {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--bmk-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(43,59,35,.035);
}
.bmk-seller-finance-metrics span,
.bmk-seller-finance-metrics small { display: block; color: var(--bmk-muted); font-size: 10px; font-weight: 750; line-height: 1.35; }
.bmk-seller-finance-metrics strong { display: block; margin-top: 7px; color: var(--bmk-text); font-size: 22px; line-height: 1.05; letter-spacing: -.02em; }
.bmk-seller-finance-metrics small { margin-top: 7px; color: #9ca399; font-size: 9px; }
.bmk-seller-finance-current {
    margin-top: 12px;
    padding: 19px 20px;
    border: 1px solid #e0ead7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(135deg,#fff 0,#f6faef 100%);
}
.bmk-seller-finance-current h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.bmk-seller-finance-current__sum { text-align: right; }
.bmk-seller-finance-current__sum small,
.bmk-seller-finance-current__sum span { display: block; color: var(--bmk-muted); font-size: 9px; font-weight: 750; }
.bmk-seller-finance-current__sum strong { display: block; margin: 3px 0 4px; color: var(--bmk-green-dark); font-size: 23px; line-height: 1.05; }
.bmk-seller-finance-history {
    margin-top: 12px;
    padding: 19px;
    border: 1px solid var(--bmk-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(43,59,35,.035);
}
.bmk-seller-finance-history__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.bmk-seller-finance-history__head h3 { margin: 0; font-size: 18px; line-height: 1.2; }
.bmk-seller-finance-history__head > span { color: var(--bmk-muted); font-size: 10px; font-weight: 800; }
.bmk-seller-finance-periods { margin-top: 12px; display: grid; }
.bmk-seller-finance-period { padding: 15px 2px; border-bottom: 1px solid #edf0eb; }
.bmk-seller-finance-period:last-child { border-bottom: 0; padding-bottom: 2px; }
.bmk-seller-finance-period__main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bmk-seller-finance-period__main > strong { font-size: 13px; }
.bmk-seller-finance-period__main > span {
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 900;
}
.bmk-seller-finance-period__main > span.is-current { background: #f3f6f0; color: #6f776b; }
.bmk-seller-finance-period__main > span.is-paid { background: var(--bmk-green-soft); color: var(--bmk-green-dark); }
.bmk-seller-finance-period__main > span.is-due { background: #fff7e5; color: #a06b14; }
.bmk-seller-finance-period__main > span.is-overdue { background: #fff0ee; color: #b4493d; }
.bmk-seller-finance-period__main > span.is-zero { background: #f5f6f4; color: #7f867c; }
.bmk-seller-finance-period__numbers { margin-top: 12px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.bmk-seller-finance-period__numbers > span { min-width: 0; padding: 9px 10px; border-radius: 12px; background: #f8faf7; }
.bmk-seller-finance-period__numbers small { display: block; color: var(--bmk-muted); font-size: 8px; font-weight: 800; }
.bmk-seller-finance-period__numbers strong { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.bmk-seller-finance-period__foot { margin-top: 9px; color: #8c9488; font-size: 9px; font-weight: 700; }

@media (max-width: 980px) {
    .bmk-seller-finance-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
    .bmk-seller-bottom-nav { grid-template-columns: repeat(6,1fr); padding-left: 3px; padding-right: 3px; }
    .bmk-seller-bottom-nav a { gap: 2px; font-size: 8px; }
    .bmk-seller-bottom-nav a svg { width: 19px; height: 19px; }
    .bmk-seller-finance-head { display: block; margin-bottom: 10px; }
    .bmk-seller-finance-head h2 { font-size: 21px; }
    .bmk-seller-finance-head p { font-size: 11px; }
    .bmk-seller-finance-rate { margin-top: 10px; min-height: 32px; padding: 0 10px; }
    .bmk-seller-finance-metrics { gap: 8px; }
    .bmk-seller-finance-metrics article { padding: 14px; border-radius: 17px; }
    .bmk-seller-finance-metrics strong { font-size: 19px; }
    .bmk-seller-finance-current { padding: 15px; border-radius: 18px; }
    .bmk-seller-finance-current__sum strong { font-size: 20px; }
    .bmk-seller-finance-history { padding: 15px; border-radius: 18px; }
}

@media (max-width: 390px) {
    .bmk-seller-finance-metrics { grid-template-columns: 1fr 1fr; }
    .bmk-seller-finance-current { align-items: flex-start; flex-direction: column; }
    .bmk-seller-finance-current__sum { width: 100%; text-align: left; }
    .bmk-seller-finance-period__numbers { grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
    .bmk-seller-finance-period__numbers > span { padding: 8px 7px; }
}

/* 0.6.2 — compact login splash without changing the 0.6.0 layout model. */
.bmk-seller-login-links { margin-top:18px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px 16px; }
.bmk-seller-login-links a { color:var(--bmk-muted); font-size:12px; font-weight:800; text-decoration:none; }
.bmk-seller-login-links a:first-child { color:var(--bmk-green-dark); }
@media (max-width:720px) {
    .bmk-seller-splash__brand { padding-bottom:58px; }
    .bmk-seller-splash__logo { margin-bottom:14px; }
    .bmk-seller-splash__brand h1 { max-width:300px; font-size:32px; }
    .bmk-seller-login-card { padding-top:20px; padding-bottom:18px; }
    .bmk-seller-login-card h2 { font-size:26px; }
    .bmk-seller-login-links { margin-top:14px; }
}

/* 0.6.3 — store connection onboarding */
.bmk-store-connect-page {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 28px 18px 44px;
    background: radial-gradient(circle at 50% 0, #eef8e6 0, var(--bmk-bg) 38%);
    overflow-x: hidden;
}
.bmk-store-connect-shell {
    width: min(100%, 720px);
    margin: 0 auto;
}
.bmk-store-connect-head {
    min-height: 54px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.bmk-store-connect-back {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid var(--bmk-line);
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--bmk-text);
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(43,59,35,.05);
}
.bmk-store-connect-back svg { width: 20px; height: 20px; }
.bmk-store-connect-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bmk-store-connect-brand__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--bmk-green);
    color: #fff;
}
.bmk-store-connect-brand__icon svg { width: 20px; height: 20px; }
.bmk-store-connect-brand strong { display: block; font-size: 14px; line-height: 1.2; }
.bmk-store-connect-brand small { display: block; margin-top: 2px; color: var(--bmk-muted); font-size: 11px; }
.bmk-store-connect-card,
.bmk-store-connect-success {
    width: 100%;
    padding: 28px;
    border: 1px solid var(--bmk-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--bmk-shadow);
}
.bmk-store-connect-card h1,
.bmk-store-connect-success h1 { margin: 0; font-size: clamp(27px, 5vw, 36px); line-height: 1.08; letter-spacing: -.035em; }
.bmk-store-connect-lead,
.bmk-store-connect-success p { max-width: 560px; margin: 11px 0 0; color: var(--bmk-muted); font-size: 14px; line-height: 1.55; }
.bmk-store-connect-form { margin-top: 24px; display: grid; gap: 15px; }
.bmk-store-connect-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.bmk-store-connect-wide { min-width: 0; }
.bmk-store-connect-form .bmk-seller-field { display: grid; gap: 7px; }
.bmk-store-connect-form .bmk-seller-field > span { margin: 0 0 0 2px; color: #596057; font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.bmk-store-connect-form .bmk-seller-field > span b { color: var(--bmk-green-dark); }
.bmk-store-connect-form .bmk-seller-field > span small { color: #969d93; font-size: 10px; font-weight: 700; }
.bmk-store-connect-form input[type="text"],
.bmk-store-connect-form input[type="tel"],
.bmk-store-connect-form select,
.bmk-store-connect-form textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid #dfe5da;
    border-radius: 14px;
    outline: none;
    background: #fafbfa;
    color: var(--bmk-text);
    font: inherit;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.bmk-store-connect-form input[type="text"],
.bmk-store-connect-form input[type="tel"],
.bmk-store-connect-form select { height: 48px; padding: 0 14px; }
.bmk-store-connect-form textarea { min-height: 88px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.bmk-store-connect-form input:focus,
.bmk-store-connect-form select:focus,
.bmk-store-connect-form textarea:focus { border-color: var(--bmk-green); background: #fff; box-shadow: 0 0 0 4px rgba(131,183,53,.1); }
.bmk-native-select-wrap { position: relative; display: block; min-width: 0; }
.bmk-native-select-wrap::after {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    top: 50%;
    right: 16px;
    border-right: 2px solid #788071;
    border-bottom: 2px solid #788071;
    transform: translateY(-68%) rotate(45deg);
    pointer-events: none;
}
.bmk-native-select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.bmk-store-connect-consent { display: flex; align-items: flex-start; gap: 10px; color: #626960; font-size: 11px; line-height: 1.5; cursor: pointer; }
.bmk-store-connect-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--bmk-green); }
.bmk-store-connect-consent a { color: var(--bmk-green-dark); font-weight: 800; }
.bmk-store-connect-submit { min-height: 50px; margin-top: 2px; border: 0; cursor: pointer; }
.bmk-store-connect-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.bmk-store-connect-success { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.bmk-store-connect-success__icon { width: 70px; height: 70px; margin-bottom: 18px; border-radius: 22px; display: grid; place-items: center; background: var(--bmk-green-soft); color: var(--bmk-green-dark); font-size: 30px; font-weight: 900; }
.bmk-store-connect-success__actions { width: min(100%, 360px); margin-top: 24px; display: grid; gap: 10px; }
.bmk-store-connect-secondary { min-height: 47px; padding: 0 18px; border: 1px solid var(--bmk-line); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--bmk-text); font-size: 13px; font-weight: 800; text-decoration: none; }

@media (max-width: 620px) {
    .bmk-store-connect-page { padding: 16px 12px 28px; }
    .bmk-store-connect-head { margin-bottom: 12px; }
    .bmk-store-connect-card, .bmk-store-connect-success { padding: 21px 17px; border-radius: 21px; }
    .bmk-store-connect-card h1, .bmk-store-connect-success h1 { font-size: 26px; }
    .bmk-store-connect-grid { grid-template-columns: 1fr; gap: 15px; }
    .bmk-store-connect-form { margin-top: 20px; }
    .bmk-store-connect-success { min-height: 360px; }
}

/* Seller Hub 0.6.4 — store application consent + unified category dropdown. */
.bmk-store-connect-category-select .bmk-ui-select__button {
    height: 48px;
    padding: 0 44px 0 14px;
    border-radius: 14px;
    border-color: #dfe5da;
    background: #fafbfa;
    font-size: 14px;
    font-weight: 600;
}
.bmk-store-connect-category-select .bmk-ui-select.is-open .bmk-ui-select__button,
.bmk-store-connect-category-select .bmk-ui-select__button:focus-visible {
    border-color: var(--bmk-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(131,183,53,.10);
}
.bmk-store-connect-category-select .bmk-ui-select__menu {
    max-height: 250px;
    border-radius: 14px;
    z-index: 1800;
}
.bmk-store-connect-category-select .bmk-ui-select__option {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 13px;
}
.bmk-store-connect-consent {
    padding: 12px 13px;
    border: 1px solid #e4e9e1;
    border-radius: 14px;
    background: #fafbfa;
}
.bmk-store-connect-consent:has(input:checked) {
    border-color: #d2e3bf;
    background: #f6faef;
}
.bmk-store-connect-consent a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bmk-store-connect-submit:disabled {
    background: #e4e8e1 !important;
    color: #9aa197 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}


/* Seller Hub 0.6.5 — separate 152-FZ consent block and document. */
.bmk-store-connect-consent-card {
    padding: 15px;
    border: 1px solid #dfe7d8;
    border-radius: 18px;
    background: #fbfdf9;
}
.bmk-store-connect-consent-card__head { display:flex; align-items:center; gap:10px; }
.bmk-store-connect-consent-card__icon { width:34px; height:34px; flex:0 0 34px; border-radius:11px; display:grid; place-items:center; background:var(--bmk-green-soft); color:var(--bmk-green-dark); font-size:15px; font-weight:900; }
.bmk-store-connect-consent-card__head strong { display:block; color:var(--bmk-text); font-size:13px; line-height:1.3; }
.bmk-store-connect-consent-card__head small { display:block; margin-top:2px; color:var(--bmk-muted); font-size:10px; line-height:1.35; }
.bmk-store-connect-consent-card > p { margin:11px 0 0; color:#687065; font-size:11px; line-height:1.55; }
.bmk-store-connect-consent-card__links { margin:10px 0 12px; display:flex; gap:8px 14px; flex-wrap:wrap; }
.bmk-store-connect-consent-card__links a { color:var(--bmk-green-dark); font-size:11px; font-weight:800; text-decoration:none; }
.bmk-store-connect-consent-card__links a:hover { text-decoration:underline; }
.bmk-store-connect-consent-card .bmk-store-connect-consent { margin:0; padding:11px 12px; border-radius:13px; background:#fff; }
.bmk-store-connect-consent-card .bmk-store-connect-consent:has(input:checked) { background:#f4faed; }

.bmk-consent-page { min-height:100vh; padding:24px 16px 40px; background:var(--bmk-bg); }
.bmk-consent-shell { width:min(100%,760px); margin:0 auto; }
.bmk-consent-document { padding:28px; border:1px solid var(--bmk-line); border-radius:26px; background:#fff; box-shadow:var(--bmk-shadow); }
.bmk-consent-document h1 { margin:0; font-size:clamp(27px,5vw,38px); line-height:1.08; letter-spacing:-.035em; }
.bmk-consent-document__lead { margin:12px 0 24px; color:var(--bmk-muted); font-size:14px; line-height:1.6; }
.bmk-consent-document section { padding:16px 0; border-top:1px solid var(--bmk-line); }
.bmk-consent-document section h2 { margin:0 0 7px; font-size:15px; line-height:1.3; }
.bmk-consent-document section p { margin:0; color:#5f665d; font-size:13px; line-height:1.65; }
.bmk-consent-document__policy { margin-top:18px; padding:14px 15px; border-radius:15px; background:#f7f9f5; color:#5f665d; font-size:12px; line-height:1.5; }
.bmk-consent-document__policy a { color:var(--bmk-green-dark); font-weight:800; }
.bmk-consent-document__back { margin-top:18px; text-align:center; }
@media (max-width:620px) {
    .bmk-consent-page { padding:16px 12px 28px; }
    .bmk-consent-document { padding:21px 17px; border-radius:21px; }
    .bmk-consent-document section { padding:14px 0; }
    .bmk-store-connect-consent-card__links { display:grid; gap:7px; }
}

/* 0.6.8 — onboarding for an already signed-in customer without a merchant account. */
.bmk-seller-auth--merchant-offer {
    background:
        radial-gradient(circle at 50% 0, rgba(131,183,53,.14) 0, rgba(131,183,53,0) 38%),
        var(--bmk-bg);
}
.bmk-seller-merchant-offer {
    width: min(100%, 480px);
    padding: 34px 28px 28px;
}
.bmk-seller-merchant-offer__mark {
    background: var(--bmk-green);
    color: #fff;
    box-shadow: 0 12px 30px rgba(131,183,53,.24);
}
.bmk-seller-merchant-offer__lead {
    max-width: 390px !important;
    margin-bottom: 20px !important;
}
.bmk-seller-merchant-offer__benefits {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    text-align: left;
}
.bmk-seller-merchant-offer__benefits span {
    min-height: 40px;
    padding: 10px 13px 10px 38px;
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #e3ecd9;
    border-radius: 14px;
    background: #f8fcf3;
    color: #4d5847;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}
.bmk-seller-merchant-offer__benefits span::before {
    content: '✓';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bmk-green);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}
.bmk-seller-merchant-offer__actions {
    display: grid;
    gap: 10px;
}
.bmk-seller-merchant-offer__actions .bmk-seller-primary {
    margin: 0;
}
@media (max-width: 720px) {
    .bmk-seller-merchant-offer {
        padding: 28px 18px 22px;
    }
    .bmk-seller-merchant-offer__benefits span {
        min-height: 38px;
        font-size: 12px;
    }
}
