@import url('./provider-badge.css');

.seller-screen { padding-bottom: 40px }
.seller-screen .hf-screen-head { border: 0 }
.seller-screen .hf-screen-head:has(.seller-language) { grid-template-columns: 44px minmax(0,1fr) 72px }
.seller-language { min-width: 56px; min-height: 44px; padding: 0 5px; border: 0; background: transparent; color: var(--ui-muted); font-size: 12px; cursor: pointer }
.seller-body { align-content: start; gap: 16px; padding-block-start: 12px }
.seller-body :is(p,h2) { margin: 0; overflow-wrap: anywhere }
.seller-body .seller-name { font-size: 26px; line-height: 1.14; letter-spacing: -.022em; color: var(--ui-strong) }
.seller-badge-tail { display: inline-block; white-space: nowrap }
.seller-muted { color: var(--ui-muted); font-size: 13px; line-height: 1.55 }
.seller-banner {
  display: grid;
  place-items: center;
  min-height: 136px;
  border-radius: 12px;
  overflow: hidden;
  color: #e4f8ed;
  background: radial-gradient(ellipse at 70% 110%,#2b6457,transparent 64%),
    repeating-linear-gradient(117deg,transparent 0 19px,#ffffff14 20px,transparent 21px 42px),#172f32;
}
.seller-banner[data-cover=mint] { background: radial-gradient(ellipse at 20% 70%,#3e8e69,transparent 65%),#143929 }
.seller-banner[data-cover=blue] { background: radial-gradient(ellipse at 80% 30%,#506ab4,transparent 65%),#172447 }
.seller-banner span {
  display: grid; place-items: center; width: 66px; height: 66px;
  border: 1px solid #ffffff70; border-radius: 14px;
  font-size: 27px; font-weight: 650; letter-spacing: .04em; background: #12211b70;
}
.seller-action {
  min-height: 44px; min-width: 44px; padding: 9px 15px; border: 1px solid var(--ui-line);
  border-radius: 999px; font-size: 14px; font-weight: 650; line-height: 1.25;
  color: var(--ui-text); background: transparent; cursor: pointer;
}
.seller-primary { color: var(--ui-on-yellow); background: var(--ui-yellow); border-color: transparent }
.seller-download { display: grid; place-items: center; text-decoration: none }
.seller-action:disabled { cursor: default; opacity: .46 }
.seller-action:active:not(:disabled),button.seller-row:active { transform: scale(.985) }
.seller-action,button.seller-row { transition: transform 130ms ease }
.seller-action:focus-visible,.seller-row:focus-visible,.seller-field :focus-visible,.seller-choices input:focus-visible,.seller-share-link:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 2px }
.seller-row {
  display: grid; grid-template-columns: 32px minmax(0,1fr) auto;
  align-items: center; gap: 10px; min-height: 52px; width: 100%;
  background: transparent; color: var(--ui-text); text-align: start;
  border: 0; padding: 4px 0; font-size: 14px;
}
button.seller-row { cursor: pointer }
.seller-mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--ui-muted) }
.seller-row svg { flex: none; width: 19px; height: 19px }
.seller-row-copy { display: grid; min-width: 0; gap: 3px; overflow-wrap: anywhere }
.seller-row-copy small { color: var(--ui-muted); font-size: 12px; line-height: 1.4 }
.seller-verification { gap: 18px }
.seller-verification-intro {
  display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 12px; row-gap: 12px;
  align-items: start; padding-block: 4px 16px; border-block-end: 1px solid var(--ui-line);
}
.seller-verification-copy { display: grid; gap: 5px; min-width: 0 }
.seller-verification-label { color: var(--ui-muted); font-size: 12px; font-weight: 560; line-height: 17px }
.seller-verification-intro .seller-verification-level { inline-size: fit-content; max-inline-size: 100%; color: var(--ui-strong); font-size: 25px; font-weight: 720; line-height: 1.18; letter-spacing: -.015em }
.seller-verification-level:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; border-radius: 2px }
.seller-verification-level:focus:not(:focus-visible) { outline: none }
.seller-verification-mark { --provider-badge-size: 32px; display: grid; place-items: center; min-width: 46px; min-height: 48px; color: var(--ui-strong) }
.seller-verification-mark .provider-badge { margin-inline-start: 0 }
.seller-cert-progress {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  padding-block-start: 10px; border-block-start: 1px solid var(--ui-line); font-size: 13px; line-height: 1.45;
}
.seller-cert-progress strong { color: var(--ui-strong); font-weight: 620 }
.seller-cert-progress[data-state=pending] span { color: var(--ui-warning) }
.seller-cert-progress[data-state=declined] span { color: var(--ui-negative) }
.seller-cert-reference,.seller-cert-reason { grid-column: 1 / -1; color: var(--ui-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere }
.seller-cert-reason { color: var(--ui-text); white-space: pre-wrap }
.seller-cert-options { min-inline-size: 0; margin: 0; padding: 0; border: 0 }
.seller-cert-legend { padding: 0; margin-block-end: 5px; color: var(--ui-strong); font-size: 16px; font-weight: 680; line-height: 22px }
.seller-cert {
  display: grid; grid-template-columns: 26px minmax(0,1fr) 22px; align-items: center;
  gap: 10px; min-height: 62px; padding: 8px 2px; border-block-end: 1px solid var(--ui-line);
}
label.seller-cert { cursor: pointer }
.seller-cert-order { color: var(--ui-muted); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center }
.seller-cert-title { color: var(--ui-strong); font-size: 15px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere }
.seller-cert-state[data-state=approved] { color: var(--ui-positive) }
.seller-cert-state[data-state=pending] { color: var(--ui-warning) }
.seller-cert-state[data-state=declined] { color: var(--ui-negative) }
.seller-cert-choice { width: 18px; height: 18px; margin: 0; justify-self: center; accent-color: var(--ui-yellow); cursor: pointer }
.seller-cert:has(.seller-cert-choice:checked) .seller-cert-order { color: var(--ui-strong) }
.seller-cert:has(.seller-cert-choice:focus-visible) { outline: 2px solid var(--ui-accent); outline-offset: -2px }
.seller-verification > .seller-primary { width: 100%; min-height: 48px }
.seller-cert-review { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px }
.seller-cert-review .seller-action { min-width: 0; min-height: 48px; padding-inline: 8px; font-size: 13px }
.seller-form,.seller-review { display: grid; gap: 13px; min-width: 0 }
.seller-field { display: grid; gap: 6px; font-size: 13px; color: var(--ui-text) }
.seller-field :is(input,textarea,select),.seller-share-link {
  width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--ui-line); border-radius: 12px;
  background: var(--ui-bg); color: var(--ui-text); font: inherit;
}
.seller-field textarea { min-height: 72px; resize: vertical }
.seller-choices { display: flex; gap: 6px; padding: 0; margin: 0; border: 0; min-width: 0 }
.seller-choices legend { padding: 0; margin-bottom: 5px; color: var(--ui-muted); font-size: 13px }
.seller-cover-choice,.seller-service-choice { display: flex; gap: 6px; align-items: center; min-height: 44px; font-size: 13px }
.seller-cover-choice { flex: 1; flex-wrap: wrap; padding-inline: 5px; border-radius: 10px; border: 1px solid var(--ui-line) }
.seller-cover-choice:has(input:checked) { border-color: var(--ui-yellow) }
.seller-choices input { accent-color: var(--ui-yellow); margin: 0 2px }
.seller-listings { display: grid; gap: 0 }
.seller-status:empty { display: none }
.seller-status { font-size: 13px; color: var(--ui-text) }
.seller-status[data-error=true] { color: var(--ui-negative) }
.seller-shop-intro { color: var(--ui-text); line-height: 1.5; white-space: pre-line }
.seller-referral,.seller-showcase { display: grid; gap: 8px; border-top: 1px solid var(--ui-line); padding-top: 14px }
.seller-balance { display: grid; gap: 2px; margin-bottom: 6px }
.seller-balance strong,.seller-review>strong { color: var(--ui-strong); font-size: 32px; font-variant-numeric: tabular-nums }
.seller-promotion { min-height: 32px; font-size: 13px; color: var(--ui-muted) }
.seller-poster { display: grid; justify-items: center; gap: 6px; padding: 22px 12px; border: 1px solid var(--ui-line); border-radius: 12px; text-align: center }
.seller-poster canvas { width: min(100%,204px); height: auto; border-radius: 6px; margin-top: 8px }
.seller-share-link { font-size: 12px }
@media(prefers-reduced-motion:reduce) {
  .seller-action,button.seller-row { transition: none }
  .seller-action:active:not(:disabled),button.seller-row:active { transform: none }
}
.seller-provider-stats { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 0; }
.seller-provider-stats div { min-width:0;display:grid;align-content:start;gap:4px; }
.seller-provider-stats dt { font-size:11px;line-height:1.35;color:var(--ui-muted);overflow-wrap:anywhere; }
.seller-provider-stats dd { margin:0;color:var(--ui-strong);font-size:17px;font-weight:650;font-variant-numeric:tabular-nums; }
.seller-store-head { display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px; }
.seller-store-head .seller-name { font-size:20px; }
.seller-store-mark { display:block;width:44px;height:44px;border-radius:12px;object-fit:cover; }
.seller-pick { justify-self:start;padding:2px 6px;border-radius:4px;background:color-mix(in srgb,var(--ui-yellow) 11%,transparent);color:var(--ui-accent);font-size:11px;font-weight:700; }
.seller-trust-bar { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.seller-trust-link { display:grid;align-content:start;min-width:0;min-height:56px;gap:3px;padding:9px 10px;border:1px solid var(--ui-line);border-radius:10px;background:transparent;color:var(--ui-strong);text-align:start;cursor:pointer; }
.seller-trust-link strong { font-size:15px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums; }
.seller-trust-label { display:flex;align-items:center;gap:5px;color:var(--ui-muted);font-size:11px;line-height:1.3; }
.seller-trust-label svg { flex:none;width:13px;height:13px; }
.seller-trust-link small { color:var(--ui-muted);font-size:11px; }
.seller-shop-tabs { display:grid;grid-template-columns:repeat(3,minmax(0,1fr)); }
.seller-shop-tabs button { position:relative;min-height:44px;border:0;background:transparent;color:var(--ui-muted);font-size:14px;cursor:pointer; }
.seller-shop-tabs button[aria-current] { color:var(--ui-strong);font-weight:700; }
.seller-shop-tabs button[aria-current]::after { content:"";position:absolute;inset:auto 0 4px;width:20px;height:2px;margin:auto;border-radius:3px;background:var(--ui-yellow); }
.seller-trust-link:focus-visible,.seller-shop-tabs button:focus-visible { outline:2px solid var(--ui-accent);outline-offset:-2px; }
.seller-info-section { display:grid;gap:9px;padding:10px 0;border-top:1px solid var(--ui-line); }
.seller-info-value { color:var(--ui-strong);font-size:16px;line-height:1.4; }
.seller-info-facts { display:grid;grid-template-columns:minmax(78px,auto) minmax(0,1fr);gap:8px 12px;margin:0;font-size:13px;line-height:1.45; }
.seller-info-facts dt { color:var(--ui-muted); }
.seller-info-facts dd { min-width:0;margin:0;color:var(--ui-strong);overflow-wrap:anywhere; }
.seller-review-summary { display:flex;align-items:baseline;gap:8px;color:var(--ui-muted);font-size:13px; }
.seller-review-summary strong { color:var(--ui-strong);font-size:32px;line-height:1.15;font-variant-numeric:tabular-nums; }
.seller-review-list { margin:0;padding:0;list-style:none; }
.seller-review-item { display:grid;gap:5px;padding:10px 0;border-bottom:1px solid var(--ui-line); }
.seller-review-top { display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;color:var(--ui-muted);font-size:12px; }
.seller-review-top strong { color:var(--ui-strong);font-size:14px; }
.seller-contact-icon { display:grid;place-items:center;width:44px;height:44px;padding:0;color:var(--ui-strong); }
.seller-contact-icon svg { width:20px;height:20px; }
.seller-store-products { display:grid;gap:5px;margin-top:6px; }
.seller-store-products h2 { margin-bottom:4px; }
.seller-store-item { min-width:0;min-height:76px;padding:7px 0;display:grid;grid-template-columns:58px minmax(0,1fr) auto auto;align-items:center;gap:9px;background:transparent;border:0;color:var(--ui-strong);text-align:start; }
button.seller-store-item { cursor:pointer; }
.seller-store-item:focus-visible { outline:2px solid var(--ui-accent);outline-offset:2px; }
.seller-store-item:active .seller-product-art { opacity:.78; }
.seller-store-item > svg { width:15px;height:15px;color:var(--ui-muted); }
.seller-store-item .seller-row-copy strong { font-size:14px;line-height:1.35; }
.seller-store-price { white-space:nowrap;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums; }
.seller-store-line { display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center; }
.seller-store-line .seller-store-item { grid-template-columns:58px minmax(0,1fr); }
.seller-product-art { display:grid;place-items:center;width:58px;height:58px;overflow:hidden;border-radius:10px;background:color-mix(in srgb,var(--ui-text) 6%,var(--ui-bg));color:var(--ui-muted); }
.seller-product-art img { width:100%;height:100%;object-fit:cover; }
.seller-product-art svg { width:24px;height:24px; }
.seller-product-art-large { width:100%;height:clamp(116px,42vw,176px);margin-bottom:8px; }
.seller-product-art-large svg { width:38px;height:38px; }
.seller-product-info,.seller-product-content { display:grid;gap:7px; }
.seller-detail-price { color:var(--ui-strong);font-size:26px;font-variant-numeric:tabular-nums; }
.seller-store-item .seller-store-price { max-width:100px;white-space:normal;overflow-wrap:anywhere;text-align:end }
.seller-workbench-entry { display:grid;justify-items:start;gap:10px;padding:12px 0 10px }
.seller-workbench-entry .seller-section-title { font-size:22px }
.seller-workbench-entry .seller-primary { justify-self:stretch;margin-top:4px }
.seller-workbench-mark { display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--ui-line);border-radius:12px;color:var(--ui-strong) }
.seller-workbench-mark svg { width:24px;height:24px }
.seller-workbench-head { display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;padding:4px 0 }
.seller-workbench-head .seller-store-mark { width:48px;height:48px }
.seller-workbench-head .seller-name { font-size:22px }
.seller-workbench-status { width:fit-content;color:var(--ui-muted);font-size:12px;font-weight:600;line-height:1.35 }
.seller-workbench-status[data-live=true] { color:var(--ui-positive) }
.seller-workbench-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px }
.seller-workbench-actions button { min-width:0;padding-inline:9px }
.seller-workbench-section { display:flex;align-items:baseline;gap:8px;padding-block:3px 8px }
.seller-workbench-products,.seller-workbench-settings { border-top:1px solid var(--ui-line);padding-top:12px }
.seller-workbench-item { width:100%;grid-template-columns:52px minmax(0,1fr) 20px;min-height:68px }
.seller-workbench-item + .seller-workbench-item { border-top:1px solid var(--ui-line) }
.seller-workbench-item .seller-product-art { width:52px;height:52px }
.seller-workbench-meta { display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px }
.seller-workbench-price { font-size:13px;font-weight:650;font-variant-numeric:tabular-nums }
.seller-workbench-settings .seller-section-title { margin-bottom:5px }
.seller-product-editor { padding-bottom:0 }
.seller-product-form { min-width:0 }
.seller-product-form label[hidden] { display:none }
.seller-product-upload { position:relative;display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;min-height:80px;gap:12px;border:1px dashed var(--ui-input-line);border-radius:12px;padding:8px 10px }
.seller-product-upload input { position:absolute;inset:0;inline-size:100%;block-size:100%;opacity:0;cursor:pointer }
.seller-product-upload:focus-within,.seller-product-translation summary:focus-visible { outline:2px solid var(--ui-accent);outline-offset:2px }
.seller-product-upload strong { font-size:14px }
.seller-product-translation { min-width:0 }
.seller-product-translation summary { min-height:44px;padding:12px 0;font-size:13px;color:var(--ui-muted);cursor:pointer }
.seller-product-translation .seller-field + .seller-field { margin-top:10px }
.seller-product-editor-footer { display:grid;gap:6px;padding:4px 0 max(14px,env(safe-area-inset-bottom)) }
.seller-product-editor-footer .seller-primary { min-height:48px }
.seller-product-content ul { margin:0;padding-inline-start:19px;font-size:13px;line-height:1.55;color:var(--ui-muted); }
.seller-product-page { display:flex;flex-direction:column;min-height:inherit;padding-bottom:0; }
.seller-product-page .seller-body { flex:1 0 auto; }
.seller-product-actions { position:sticky;bottom:0;z-index:1;display:flex;justify-content:flex-end;gap:8px;padding:12px 16px max(14px,env(safe-area-inset-bottom));background:var(--ui-bg); }
.seller-product-actions .seller-action { min-height:48px; }
.seller-product-actions .seller-contact-icon { flex:0 0 48px;width:48px; }
.seller-product-actions .seller-primary { flex:1; }
@media(max-width:375px){.seller-product-actions{padding-inline:12px}}
