.lv-preview{display:flex;gap:12px;padding:16px 20px;background:var(--bb-lime-wash);border:1px solid var(--bb-line);border-radius:14px;margin-bottom:24px;font-size:16px}.lv-preview b{flex-shrink:0}.lv-layout{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:24px;align-items:start}.lv-section{background:var(--bb-white);border:1px solid var(--bb-line);border-radius:16px;padding:24px;margin-bottom:20px}.lv-section h2{font-size:23px;margin:0 0 8px}.lv-section p{font-size:16px;line-height:1.6;color:var(--bb-muted)}.lv-section button,.lv-section input,.lv-section select{font-size:16px;min-height:48px}.lv-section button{cursor:pointer;padding:10px 16px}.lv-section button:disabled{opacity:.45;cursor:default}.lv-section label{display:grid;gap:8px;font-size:16px;font-weight:650}.lv-section input,.lv-section select{width:100%;min-width:0;border:1px solid var(--bb-field);border-radius:10px;padding:10px;background:white;color:var(--bb-ink)}.lv-channel{margin-top:20px}.lv-channel>div{display:flex;gap:8px;margin:8px 0}.lv-channel button{flex-shrink:0}.lv-channel small{display:block;margin-top:8px;color:var(--bb-muted)}.lv-products{margin-top:16px;max-height:260px;overflow:auto}.lv-products>div{padding:14px 0;border-bottom:1px solid var(--bb-line)}.lv-products span{display:block;margin-top:5px;color:var(--bb-muted)}#lv-comment{display:grid;gap:16px}.lv-secondary{margin-top:16px;width:100%}.lv-feedhead{display:flex;justify-content:space-between;gap:16px;align-items:start}.lv-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.lv-tabs button[aria-pressed=true]{background:var(--bb-ink);color:var(--bb-white)}.lv-comment{padding:24px 0;border-top:1px solid var(--bb-line)}.lv-commenthead{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lv-commenthead small{margin-left:auto;color:var(--bb-muted)}.needs-review .lv-commenthead small{background:var(--bb-lime);color:var(--bb-ink);padding:5px 10px;border-radius:999px}.lv-source{font-size:14px;border:1px solid var(--bb-line);border-radius:6px;padding:4px 8px}.lv-comment .lv-quote{font-size:22px;color:var(--bb-ink);font-weight:650;overflow-wrap:anywhere;margin:16px 0}.lv-review{display:grid;grid-template-columns:2fr 2fr 90px;gap:12px}.lv-reviewactions{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1;margin-top:8px}.lv-help{font-size:14px!important;max-width:65ch}.lv-empty{padding:48px 16px;text-align:center}.lv-empty h3{font-size:22px}.lv-section :focus-visible{outline:3px solid var(--bb-ink);outline-offset:3px}@media(max-width:1000px){.lv-layout{grid-template-columns:1fr}.lv-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}.lv-controls>.lv-section:first-child{grid-column:1/-1}}@media(max-width:620px){.lv-controls{display:block}.lv-section{padding:18px}.lv-preview{display:block}.lv-preview span{display:block;margin-top:8px}.lv-feedhead{display:block}.lv-review{grid-template-columns:1fr 90px}.lv-review label:first-child{grid-column:1/-1}.lv-channel>div{flex-wrap:wrap}.lv-channel button{width:100%}}

.lv-video iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#111}.lv-videoempty{background:var(--bb-panel);padding:32px 18px;text-align:center;border-radius:12px}.lv-label-dialog{width:min(520px,calc(100% - 32px));max-height:85vh;border:1px solid var(--bb-line);border-radius:16px;padding:24px;overflow:auto}.lv-label-dialog::backdrop{background:#1119}.lv-print-controls button{min-height:48px;padding:12px;margin:6px}.lv-print-labels article{padding:20px;border:1px solid var(--bb-ink);margin:16px 0;break-inside:avoid}.lv-print-labels h2{font-size:22px}.lv-print-labels p{font-size:20px}@media print{body:has(.lv-label-dialog)>*:not(.lv-label-dialog){display:none!important}.lv-label-dialog{position:static;display:block;border:0;max-height:none;width:auto;padding:0;overflow:visible}.lv-print-controls{display:none}.lv-print-labels article{break-after:page}.lv-label-dialog::backdrop{display:none}}
.lb-layout{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:24px;align-items:start}.lb-printer{text-align:center}.lb-printer svg{color:var(--bb-ink);margin:12px auto 20px}.lb-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:24px}.lb-stats>div{background:var(--bb-panel);padding:16px 10px;border-radius:12px}.lb-stats small{display:block;font-size:13px}.lb-stats strong{display:block;font-size:28px;margin-top:8px;font-variant-numeric:tabular-nums}.lb-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--bb-line)}.lb-row strong{font-size:18px}.lb-row p{margin:6px 0}.lb-row button{flex-shrink:0}.lb-review{background:var(--bb-lime-wash);padding:16px;border-radius:12px}.lb-review button{display:block;margin-top:12px}.lb-ticket{border:1px dashed var(--bb-field);background:white;color:var(--bb-ink);padding:20px;max-width:340px;margin:20px 0;overflow-wrap:anywhere}.lb-ticket h3{font-size:22px;margin:0 0 12px}.lb-ticket p{font-size:18px;color:var(--bb-ink);margin:8px 0}.lb-ticket small{font-size:13px}.lb-print .lb-ticket{max-width:none}#lb-settings{display:grid;gap:16px;margin-top:20px}#lb-settings .lb-check{display:flex;align-items:center;gap:12px}#lb-settings input[type=checkbox]{width:24px;min-height:24px;height:24px}.lb-layout summary{cursor:pointer;font-size:18px;font-weight:650}@media(max-width:1000px){.lb-layout{grid-template-columns:1fr}}@media(max-width:620px){.lb-row{align-items:start;flex-direction:column}.lb-stats strong{font-size:24px}}
/* Reference-led printer surface: compact, single-column mobile workflow. */
.lb-reference{max-width:440px!important;margin:0 auto!important;padding:16px 10px 32px!important;background:#f5f5f5}.lb-pagehead{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.lb-pagehead h1{font-size:24px;margin:0}.lb-pagehead button{width:auto;min-width:44px;height:44px;background:white;border:0;border-radius:14px;display:grid;place-items:center;cursor:pointer}.lb-reference .lb-layout{display:flex;flex-direction:column;gap:0}.lb-reference .lb-layout>section{width:100%;display:contents}.lb-reference .lv-section{border:0;border-radius:24px;padding:18px;margin:0 0 12px;width:100%}.lb-reference .lb-printer{order:0;background:linear-gradient(115deg,#f1ffd1,#d4fa75);padding:24px 16px 14px;text-align:center}.lb-reference .lb-printer h2{font-size:18px;margin:14px 0 6px}.lb-reference .lb-printer p{font-size:14px;color:#425322;margin:0}.lb-reference .lb-test-link{background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;font-size:13px;min-height:36px;padding:5px;color:#273612}.lb-device{width:152px;height:82px;margin:0 auto;background:#c5f650;border-radius:30px 30px 24px 24px;position:relative;box-shadow:0 8px 0 #b6e446,0 12px 15px #75982a22}.lb-led{position:absolute;right:21px;top:13px;width:9px;height:9px;border-radius:50%;background:white}.lb-face{display:flex;gap:24px;justify-content:center;padding-top:26px}.lb-face span{width:8px;height:12px;background:#111;border-radius:6px}.lb-smile{position:absolute;top:41px;left:69px;width:14px;height:10px;border:3px solid #111;border-top:0;border-radius:0 0 12px 12px}.lb-slot{position:absolute;bottom:7px;left:20px;right:20px;height:6px;border-radius:5px;background:#111}.lb-autohead{display:flex;justify-content:space-between;align-items:center;gap:12px}.lb-reference .lb-autohead h2{font-size:17px;margin:0 0 3px}.lb-reference .lb-autohead p{font-size:13px;margin:0}.lb-switch{width:48px;height:28px;min-height:28px!important;border:0;border-radius:20px;background:#d3d4d1;padding:3px!important;flex-shrink:0}.lb-switch span{display:block;background:white;width:22px;height:22px;border-radius:50%}.lb-reference .lb-stats{margin-top:16px;gap:8px}.lb-reference .lb-stats>div{padding:10px 12px}.lb-reference .lb-stats small{font-size:12px}.lb-reference .lb-stats strong{font-size:23px;margin-top:3px}.lb-reference .lb-stats .lb-unknown{font-size:17px;line-height:28px}.lb-reference .lv-feedhead{display:flex;align-items:center}.lb-reference .lv-feedhead h2,.lb-reference .lb-preview-panel h2{font-size:18px;margin:0}.lb-reference #lb-all{background:#c8f55a;color:#111;min-height:38px;font-size:13px;padding:8px 14px}.lb-reference .lb-row{padding:13px 12px;background:#f5f5f5;border:0;border-radius:14px;margin-top:9px;flex-direction:row;align-items:center;gap:8px}.lb-reference .lb-row strong{font-size:14px;line-height:1.5;display:block}.lb-reference .lb-row p{font-size:12px;margin:3px 0 0}.lb-reference .lb-row>div{min-width:0;overflow-wrap:anywhere}.lb-reference .lb-review-pill,.lb-reference .lb-wait-pill{border:0;min-height:32px;font-size:12px;padding:5px 10px;border-radius:20px;white-space:nowrap}.lb-reference .lb-review-pill{background:#fff1e6;color:#a83c0a}.lb-reference .lb-wait-pill{color:#52545c;background:#e9e9eb}.lb-reference .lb-preview-content{display:flex;gap:16px;align-items:start;margin-top:16px}.lb-reference .lb-ticket{width:44%;flex-shrink:0;margin:0;padding:12px;position:relative;font-size:12px}.lb-reference .lb-ticket h3{font-size:15px;margin-bottom:8px}.lb-reference .lb-ticket p{font-size:12px;margin:5px 0}.lb-reference .lb-ticket small{font-size:10px}.lb-reference .lb-preview-content>.lv-help{font-size:13px!important;margin:0;line-height:1.7}.lb-reference details{order:5}.lb-reference .lv-empty{padding:20px 0}.lb-reference .lv-empty h3{font-size:17px}.lb-reference .lv-empty p{font-size:14px}.lb-reference .lv-section:has(>h2:first-child):last-child{font-size:14px}@media(min-width:1000px){.lb-reference{margin:24px auto!important;padding:20px 12px 36px!important;border-radius:24px}}
.lb-reference #lb-all{background:#c8f55a!important;color:#111!important;border:0!important}.lb-reference .lb-review-pill{background:#fff1e6!important;color:#a83c0a!important;border:0!important}.lb-reference .lb-wait-pill{background:#ececef!important;color:#52545c!important;border:0!important}.lb-reference .lb-switch{background:#d3d4d1!important;border:0!important;box-shadow:none!important}.lb-reference .lb-test-link{background:transparent!important;border:0!important;box-shadow:none!important;color:#273612!important}

/* YouTube-style compact comment rows; action stays separate from original text. */
.lb-reference .lb-chat-row{display:flex;align-items:flex-start;gap:10px;padding:12px 0;background:transparent;border:0;margin:0;min-width:0}.lb-reference .lv-feedhead{margin-bottom:14px}.lb-chat-avatar{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;flex:0 0 26px;color:white;font-size:11px;font-weight:600;line-height:1;margin-top:2px}.lb-chat-body{flex:1;min-width:0;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.lb-chat-author{font-weight:600;color:#606060;margin-right:7px}.lb-chat-message{font-weight:400;color:#111}.lb-chat-body small{display:block;color:#62656f;font-size:12px;line-height:1.6;margin-top:2px}.lb-chat-row .lb-review-pill,.lb-chat-row .lb-wait-pill{flex-shrink:0;min-height:32px!important;margin-top:0;font-size:11px!important;padding:5px 8px!important}.lb-reference .lb-chat-row+.lb-chat-row{border:0}@media(max-width:380px){.lb-chat-row{gap:7px!important}.lb-chat-body{font-size:14px}.lb-chat-avatar{width:24px;height:24px;flex-basis:24px}}

.lb-live-status{display:grid;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--bb-line);font-size:13px}.lb-live-status>span{display:flex;justify-content:space-between;color:#62656f}.lb-live-status b{color:#111;font-weight:600}.lb-live-status small{font-size:12px;line-height:1.6;color:#62656f}
.lb-reference{min-height:0!important;padding-bottom:0!important;align-self:start}.lb-reference .lb-layout{min-height:0;gap:0}.lb-reference .lb-preview-panel{margin-bottom:0!important;padding:14px 18px}.lb-reference .lb-preview-panel:not([open]){order:5}.lb-reference .lb-preview-panel[open]{order:5;margin-bottom:0!important}.lb-reference .lb-layout>section:last-child>.lv-section:first-child{flex:1}.lb-reference .lb-chat-row{padding-top:14px;padding-bottom:14px}
.ps-toolbar{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:28px;align-items:end}.ps-toolbar label{display:grid;gap:8px;font-size:14px}.ps-toolbar input,.ps-toolbar select{min-height:48px;padding:12px;border:1px solid var(--bb-line);border-radius:12px;background:white;font-size:16px}.ps-toolbar label:first-child{flex:1;min-width:180px}.ps-toolbar button{min-height:48px}.ps-dates>section{margin-bottom:32px}.ps-dates h2{font-size:21px;display:flex;justify-content:space-between;gap:12px;align-items:center}.ps-dates h2 small{font-size:13px;color:var(--bb-muted);font-weight:500}.ps-list{display:grid;gap:12px}.ps-card{display:flex;gap:16px;padding:18px;background:white;border-radius:20px;align-items:center}.ps-image{width:84px;height:100px;background:#f5f5f5;border-radius:12px;overflow:hidden;flex-shrink:0;display:grid;place-items:center}.ps-image img{width:100%;height:100%;object-fit:cover}.ps-image span{font-size:12px;color:var(--bb-muted)}.ps-info{flex:1;min-width:0}.ps-info h3{font-size:19px;margin:0 0 7px}.ps-info p{font-size:14px;color:var(--bb-muted);margin:6px 0}.ps-registration{display:inline-block;margin-top:7px;font-size:12px;background:#f4f4f4;padding:4px 7px;border-radius:5px}.ps-count{display:grid;gap:5px;text-align:right;font-size:14px;flex-shrink:0}.ps-count small{color:var(--bb-muted)}.ps-count button{font-size:13px;padding:6px 10px;min-height:36px}.ps-tags{overflow-wrap:anywhere}@media(min-width:1200px){.ps-list{grid-template-columns:1fr 1fr}}@media(max-width:620px){.ps-card{padding:14px;gap:10px}.ps-image{width:64px;height:82px}.ps-info h3{font-size:16px}.ps-count{font-size:12px}.ps-dates h2{font-size:18px}.ps-toolbar label{flex:1}.ps-toolbar input,.ps-toolbar select{width:100%}}
.lb-reference .lb-connection-compact{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;border-radius:14px}.lb-connection-compact b{font-size:15px}.lb-connection-compact span{display:block;font-size:12px;color:#62656f;margin-top:5px}.lb-reference .lb-connection-compact button{min-height:44px;font-size:13px;white-space:nowrap;padding:8px 12px}.lb-reference .lb-auto-compact{padding:16px;border-radius:14px}.lb-reference .lb-auto-compact h2{font-size:16px}.lb-reference .lb-auto-compact p{font-size:12px}.lb-queue-tabs{display:flex;gap:6px;margin:18px 0 12px}.lb-reference .lb-queue-tabs button{flex:1;padding:10px 5px;min-height:46px;font-size:13px;border-radius:10px}.lb-reference .lb-queue-tabs button[aria-pressed=true]{background:#111!important;color:white!important}.lb-queue-tabs b{margin-left:3px}.lb-queue-hint{font-size:13px!important;margin:0 0 12px;color:#62656f}.lb-hold{font-size:13px!important;background:#fff1e6;color:#a83c0a!important;padding:12px;border-radius:10px}.lb-reference #lb-all{font-size:12px;min-height:44px}.lb-reference .lb-chat-row .lb-review-pill,.lb-reference .lb-chat-row .lb-wait-pill{min-height:44px!important;min-width:44px!important;font-size:12px!important}.lb-inline-review{display:grid;gap:16px}.lb-inline-review label{display:grid;gap:8px;font-size:17px}.lb-inline-review label:has(input[type=checkbox]){display:flex;align-items:center}.lb-inline-review input:not([type=checkbox]),.lb-inline-review select{width:100%;min-height:48px;padding:12px;font-size:18px;border:1px solid #888;border-radius:10px}.lb-inline-review input[type=checkbox]{width:24px;height:24px;flex-shrink:0}.lb-review-actions{display:flex;flex-wrap:wrap;gap:8px}.lb-review-actions button{min-height:48px;padding:12px;font-size:16px}
/* Read at a glance while selling: larger type, explicit counts, generous targets. */
.lb-reference{max-width:520px!important}.lb-reference .lb-pagehead h1{font-size:28px}.lb-reference .lb-connection-compact b{font-size:18px}.lb-reference .lb-connection-compact span{font-size:14px;line-height:1.5}.lb-reference .lb-auto-compact h2{font-size:19px}.lb-reference .lb-auto-compact p{font-size:14px;line-height:1.5}.lb-reference .lb-queue-primary{padding:20px 18px}.lb-reference .lv-feedhead h2{font-size:24px}.lb-reference #lb-all{font-size:17px;min-height:54px;padding:12px 16px}.lb-queue-tabs{gap:8px;margin:20px 0 16px}.lb-reference .lb-queue-tabs button{font-size:16px;min-height:82px;padding:12px 4px;line-height:1.4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.lb-queue-tabs b{font-size:28px;line-height:1.1;margin:0;font-variant-numeric:tabular-nums}.lb-reference .lb-queue-tabs button[data-queue-tab=review]{background:#fff5d9!important;color:#725000!important}.lb-reference .lb-queue-tabs button[data-queue-tab=cancel]{background:#fff0eb!important;color:#a03119!important}.lb-reference .lb-queue-tabs button[aria-pressed=true]{outline:3px solid #111;outline-offset:-3px;background:#111!important;color:white!important}.lb-queue-hint{font-size:15px!important;line-height:1.6}.lb-reference .lb-chat-row{padding:20px 0;gap:12px;border-bottom:1px solid #e8e8e8!important;align-items:center}.lb-chat-avatar{width:34px;height:34px;flex-basis:34px;font-size:14px}.lb-chat-body{font-size:20px;line-height:1.65}.lb-chat-author{font-size:17px;display:block;margin:0;color:#535353}.lb-chat-message{font-size:22px;font-weight:650}.lb-chat-body small{font-size:16px;line-height:1.6;margin-top:6px;color:#444}.lb-reference .lb-chat-row .lb-review-pill,.lb-reference .lb-chat-row .lb-wait-pill{min-height:54px!important;min-width:60px!important;font-size:17px!important;padding:12px!important;border-radius:12px}.lb-reference .lb-chat-row .lb-wait-pill{background:#c8f55a!important;color:#111!important}.lb-reference .lb-preview-panel summary{font-size:18px;min-height:44px;align-content:center}.lb-reference .lb-connection-compact button{font-size:16px;min-height:48px}.lb-reference .lv-empty h3{font-size:21px}.lb-reference .lv-empty p{font-size:17px}@media(max-width:380px){.lb-reference .lv-feedhead{align-items:start;gap:8px}.lb-reference .lv-feedhead h2{font-size:22px}.lb-reference #lb-all{font-size:15px;padding:10px 12px}.lb-reference .lb-queue-tabs button{font-size:15px}.lb-reference .lb-chat-body{font-size:18px}.lb-reference .lb-chat-message{font-size:20px}.lb-reference .lb-chat-avatar{width:28px;height:28px;flex-basis:28px;font-size:12px}}

.lb-action-notices{display:grid;gap:10px;margin:18px 0}.lb-reference .lb-action-notices button{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:14px 12px;min-height:54px;border:0!important;border-radius:12px;font-size:16px;text-align:left;line-height:1.5}.lb-reference .lb-action-notices button span:last-child{font-size:14px;white-space:nowrap;flex-shrink:0}.lb-reference .lb-action-review{background:#fff5d9!important;color:#725000!important}.lb-reference .lb-action-cancel{background:#fff0eb!important;color:#a03119!important}.lb-back-ready{min-height:48px;font-size:16px;padding:12px;margin-bottom:12px}.lb-action-notices:empty{display:none}.lb-reference .lv-feedhead{flex-wrap:wrap}.lb-reference .lv-feedhead h2{font-size:23px}
/* Keep the preview anchored where the seller tapped it. */
.lb-reference .lb-preview-panel,.lb-reference .lb-preview-panel[open],.lb-reference .lb-preview-panel:not([open]){order:5!important;margin-bottom:0!important}

.lb-reference .lb-queue-primary>.lb-preview-panel{background:transparent;border:0;border-top:1px solid var(--bb-line);border-radius:0;padding:14px 0 0;margin:16px 0 0!important;width:100%}.lb-reference .lb-queue-primary>.lb-preview-panel summary{font-size:18px;min-height:44px;cursor:pointer}.lb-reference .lb-queue-primary>.lb-preview-panel .lb-preview-content{margin-bottom:0}
.lb-reference .lb-queue-primary>.lb-chat-row:last-of-type{border-bottom:0!important}

.seller-live-studio { font-weight: 700; }
.seller-live-controls { display: grid; gap: 16px; }
.seller-live-hero {
  display: grid;
  grid-template-columns: minmax(100px,160px) minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  border-radius: 20px;
  background: var(--bb-ink);
  color: var(--bb-white);
  padding: 18px;
}
.seller-live-hero > img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 12px; background: var(--bb-panel); }
.seller-live-title h2 { margin: 8px 0 12px; overflow-wrap: anywhere; }
.seller-live-title form { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.seller-live-title label { margin: 0; color: inherit; }
.seller-live-title button.seller-live-record { background: var(--bb-white); color: var(--bb-ink); border: 1px solid var(--bb-line); }
.seller-live-status { display: inline-flex; gap: 5px; padding: 5px 9px; border-radius: 999px; background: #333; font-size: 13px; font-weight: 700; }
.seller-live-status.is-live { background: #b9271d; }
.seller-live-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.seller-live-metrics > div { padding: 10px; border-radius: 10px; background: #292929; }
.seller-live-metrics dt { font-size: 13px; }
.seller-live-metrics dd { margin: 4px 0 0; color: var(--bb-lime); font-weight: 800; }
.seller-live-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.seller-live-history { grid-column: 1 / -1; min-width: 0; }
.seller-live-history .tablewrap { margin-top: 12px; overflow-x: auto; }
.seller-live-history table { min-width: 520px; }
.seller-live-products article time { background: #b9271d; color: white; border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.seller-live-grid h2 { margin: 0; }
.seller-live-products article, .seller-live-history article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  margin-top: 8px;
  border-radius: 10px;
  background: var(--bb-panel);
}
.seller-live-products article > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.seller-live-products article .thumb { width: 44px; height: 44px; border-radius: 8px; }
.seller-live-products small, .seller-live-history small { display: block; margin-top: 4px; color: var(--bb-muted); }
.seller-live-tools summary { min-height: 44px; align-content: center; cursor: pointer; font-weight: 700; }
@media (max-width: 760px) {
  .seller-live-hero { grid-template-columns: 72px minmax(0,1fr); }
  .seller-live-metrics { grid-column: 1 / -1; }
  .seller-live-grid { grid-template-columns: minmax(0,1fr); }
}
.seller-live-products .thumb-manual { display: grid; place-items: center; background: var(--bb-lime-wash); color: var(--bb-lime-text); }
.seller-live-products .thumb-manual svg { width: 24px; height: 24px; fill: none; stroke: currentColor; }

.seller-live-products { grid-column: 1 / -1; }
#main .live-capture-primary {
  background: var(--bb-lime);
  color: var(--bb-ink);
  border-color: transparent;
}
.seller-live-products .panelhead,
.seller-live-products .panelhead > div { display: flex; flex-wrap: wrap; gap: 8px; }
.live-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--bb-panel);
}
.live-action-row small { display: block; margin-top: 4px; color: var(--bb-muted); }
.live-action-row p { margin: 0; }
[data-live-action-status]:empty, [data-live-chat-orders]:empty { display: none; }
[data-live-chat-orders] { padding-inline-start: 20px; overflow-wrap: anywhere; }

.live-youtube-form {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 8px 0 0;
}
.live-youtube-form .field { flex: 1; min-width: 0; margin: 0; }
#main .live-youtube-form :is(input, button) { min-height: 44px; font-size: 16px; }
.live-youtube-link { display: inline-block; margin-top: 12px; }
.live-youtube-preview { max-width: 640px; margin-top: 12px; }
@media (max-width: 620px) {
  .live-youtube-form { flex-direction: column; align-items: stretch; }
  .live-youtube-form button { width: 100%; }
}

.seller-live-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 420px);
}
.seller-live-metrics > div { min-width: 0; padding: 14px; border-radius: 12px; }
.seller-live-metrics dt { font-size: 15px; line-height: 1.4; white-space: nowrap; }
.seller-live-metrics dd { font-size: 24px; line-height: 1.4; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .seller-live-hero { grid-template-columns: 100px minmax(0, 1fr); }
  .seller-live-metrics { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 620px) {
  .seller-live-metrics > div { padding: 12px 8px; }
  .seller-live-metrics dd { font-size: 20px; }
}
.seller-live-metrics,
.seller-live-metrics :is(dt, dd) { text-align: left; }
.seller-live-metrics { justify-self: start; }

.seller-live-hero {
  grid-template-columns: 112px minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  padding: 18px;
}
.seller-live-hero > img { width: 112px; height: 112px; aspect-ratio: auto; object-fit: cover; }
.seller-live-hero .seller-live-metrics { grid-column: auto; width: 100%; }
.seller-live-title h2 { font-size: 24px; line-height: 1.35; margin-block: 8px 12px; }
.seller-live-hero .seller-live-metrics > div { padding: 14px 12px; }
@media (max-width: 1000px) {
  .seller-live-hero { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .seller-live-hero > img { width: 88px; height: 88px; }
  .seller-live-hero .seller-live-metrics { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .seller-live-hero { padding: 16px; }
  .seller-live-title h2 { font-size: 22px; }
  .seller-live-hero .seller-live-metrics > div { padding: 12px 8px; }
}
.live-crop-dialog { width: min(900px, calc(100% - 24px)); max-height: 92dvh; overflow: auto; padding: 20px; border: 1px solid var(--bb-line); border-radius: 20px; }
.live-crop-dialog::backdrop { background: #0009; }
.live-crop-dialog h2 { margin: 0; font-size: 22px; }
.live-crop-dialog p { font-size: 17px; line-height: 1.5; }
.live-crop-dialog canvas { display: block; width: 100%; height: auto; max-height: 62dvh; object-fit: contain; touch-action: none; cursor: crosshair; }
.live-crop-actions { display: flex; gap: 8px; margin-top: 16px; }
.live-crop-actions button { min-height: 52px; font-size: 18px; padding: 12px 16px; border-radius: 14px; }
.live-crop-actions .primary { flex: 1; }
.live-crop-dialog canvas { width: auto; max-width: 100%; margin-inline: auto; }
@keyframes live-capture-spin { to { transform: rotate(360deg); } }
[data-live-capture].is-loading::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: live-capture-spin .8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  [data-live-capture].is-loading::before { animation-duration: 2s; }
}
.seller-live-product-strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
.seller-live-product-strip > article { display: flex; flex-direction: column; align-items: stretch; flex: 0 0 220px; padding: 10px; margin: 0; gap: 12px; scroll-snap-align: start; cursor: pointer; border: 1px solid var(--bb-line); border-radius: 16px; background: var(--bb-panel); }
.seller-live-products .seller-live-product-strip article .thumb { width: 100%; height: 280px; object-fit: contain; border-radius: 10px; background: #e9e9e9; }
.seller-live-products .seller-live-product-strip article > div { flex: none; }
.seller-live-product-strip article b { font-size: 18px; }
.seller-live-product-strip article small { font-size: 16px; }
.seller-live-product-strip article time { align-self: start; margin-top: auto; font-size: 14px; }
.seller-live-product-strip article:focus-visible { outline: 2px solid var(--bb-ink); outline-offset: -2px; }
.seller-live-products .seller-live-product-strip article .thumb { display: block; height: auto; aspect-ratio: auto; max-height: none; object-fit: contain; }
.seller-live-products .seller-live-product-strip article .thumb-manual { height: 220px; }
.seller-live-product-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; overflow: visible; }
.seller-live-product-strip > article { min-width: 0; }
.seller-live-product-strip > article[hidden] { display: none; }
.seller-live-products [data-live-more] { width: 100%; margin-top: 16px; }
@media(max-width:900px){ .seller-live-product-strip { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.live-product-selection { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px; border: 1px solid var(--bb-line); border-radius: 14px; }
.live-product-selection label { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.live-product-selection input, .live-product-check input { width: 22px; height: 22px; accent-color: var(--bb-ink); }
.live-product-selection > div { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.live-product-selection button { min-height: 48px; font-size: 16px; }
.live-product-selection .live-delete-selected { color: #df2929; }
.seller-live-product-strip > article { position: relative; }
.seller-live-product-strip > article.is-picked { outline: 2px solid var(--bb-ink); outline-offset: -2px; }
.live-product-check { position: absolute; top: 18px; left: 18px; z-index: 1; padding: 4px; background: white; border-radius: 6px; display: flex; }
@media(max-width:600px){ .live-product-selection > div { margin: 0; width: 100%; } .live-product-selection button { flex: 1; } }
/* Keep selection visible without a bulky tile over the photograph. */
.live-product-check { top: 12px; left: 12px; width: 32px; height: 32px; padding: 0; background: transparent; border: 0; border-radius: 0; align-items: center; justify-content: center; cursor: pointer; }
.live-product-check input { display: block; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0; padding: 0; cursor: pointer; }

/* Shared seller web/app camera studio. */
.live-studio{margin-bottom:24px;min-width:0}
.live-studio .panelhead{gap:12px;flex-wrap:wrap}
.live-studio [data-studio-state]{font-size:14px;font-weight:700;color:var(--bb-muted)}
.live-studio-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:24px;margin-top:20px;align-items:start}
.live-studio-preview{position:relative;min-width:0;background:var(--bb-ink);color:var(--bb-white);border-radius:12px;overflow:hidden;max-width:480px;width:100%;margin-inline:auto}
.live-studio-preview canvas{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain}
.live-studio-preview video{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none}
.live-studio-preview [data-preview-empty]{position:absolute;inset:0;display:grid;place-content:center;padding:24px;text-align:center;line-height:1.6;margin:0}
.live-studio-preview [data-preview-empty][hidden]{display:none}
.live-studio-settings{min-width:0}
.live-studio-settings fieldset{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0 0;padding:16px 0;border:0;border-block:1px solid var(--bb-line)}
.live-studio-settings legend{font-weight:700;padding:0 0 8px}
.live-studio-settings fieldset label{display:flex;align-items:center;gap:8px;min-height:40px}
.live-studio-settings input[type=checkbox]{width:20px;height:20px;accent-color:var(--bb-ink)}
.live-studio-settings .field{display:grid;gap:8px;margin-top:16px;min-width:0}
.live-studio-settings .field :is(input,select){width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:48px;font-size:16px}
.live-studio-camera,.live-studio-output{display:flex;gap:8px;flex-wrap:wrap}
.live-studio :is(button,summary){min-height:48px;font-size:16px}
.live-studio-output{margin-top:20px}
.live-studio-output button{flex:1}
.live-studio-help{color:var(--bb-muted);font-size:14px;line-height:1.6;margin:12px 0 0}
.live-studio [data-studio-feedback]{min-height:24px;margin:12px 0;font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.live-studio-settings details{margin-top:16px}
@media(max-width:900px){.live-studio-layout{grid-template-columns:minmax(0,1fr)}.live-studio-preview{max-width:400px}.live-studio-camera>*{flex:1}.live-studio-output button{flex-basis:100%}}

.live-studio-product-dialog{box-sizing:border-box;width:min(760px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid var(--bb-line);border-radius:16px;background:var(--bb-white);color:var(--bb-ink)}
.live-studio-product-dialog::backdrop{background:rgb(0 0 0 / .5)}
.live-studio-product-dialog>[data-register-close]{display:block;margin-left:auto;min-height:48px}

[data-live-chat-status][data-connection=reconnecting],[data-live-chat-status][data-connection=error]{padding:12px 14px;background:#f3ddd4;color:#69301f;border:1px solid #d7a99b;border-radius:10px;font-weight:700;line-height:1.5}

.live-auto-connect{margin:0 0 16px}.live-auto-connect-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.live-auto-connect-row button{min-height:44px;padding:8px 16px;font-size:16px}.live-auto-connect p{margin:8px 0;color:var(--bb-muted);font-size:14px;line-height:1.5}.live-auto-connect [data-monitor-video]:empty{display:none}.live-auto-connect iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px}.seller-app-shell .live-auto-connect [data-monitor-video]{display:none}

[data-live-chat-status][data-connection=reconnecting],[data-live-chat-status][data-connection=error]{padding:12px 14px;background:#f3ddd4;color:#69301f;border:1px solid #d7a99b;border-radius:10px;font-weight:700;line-height:1.5}
