/* Handheld seller surface; desktop management and buyer pages are unchanged. */
body.seller-app-mode { background: #e9e9e9; }
.seller-app-shell { display: block; width: min(100%,480px); min-height: 100dvh; margin-inline: auto; background: var(--bb-paper,#f6f6f6); }
.seller-app-shell .workspace { min-width: 0; width: 100%; padding: 0; }
.seller-app-shell .sa-header { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: var(--bb-paper); }
.sa-header h1 { margin: 0; font-size: 23px; line-height: 1.3; letter-spacing: -.03em; }
.sa-header .sa-header-action { margin-left: auto; min-height: 44px; padding: 8px 14px; border: 1px solid var(--bb-line); border-radius: 12px; font-size: 16px; white-space: nowrap; }
.sa-live { display: inline-flex; gap: 5px; padding: 6px 9px; border-radius: 20px; background: #dc2b20; color: white; text-decoration: none; font-size: 13px; font-weight: 750; white-space: nowrap; }
.seller-app-shell #main { width: 100%; min-width: 0; padding: 8px 16px calc(100px + env(safe-area-inset-bottom)); }
.seller-app-shell #main > .heading { margin: 0 0 12px; }
.seller-app-shell #main > .heading h1, .seller-app-shell #main .eyebrow { display: none; }
.seller-app-shell #main > .heading:not(:has(.headactions)) { display: none; }
.seller-app-shell .heading .headactions { width: 100%; }
.sa-tabs { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 25; width: min(100%,480px); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bb-line); background: white; }
.sa-tabs button { display: grid; place-items: center; align-content: center; gap: 5px; min-height: 58px; padding: 4px; border: 0; background: transparent; color: #626672; border-radius: 12px; font-size: 14px; font-weight: 700; }
.sa-tabs button[aria-current=page] { background: #f1f6e5; color: #456f0c; }
.sa-tabs svg { width: 24px; height: 24px; }
.sa-store { display: flex; align-items: center; gap: 14px; padding: 18px 0 24px; }
.sa-store img { width: 64px; height: 64px; object-fit: cover; border-radius: 18px; }
.sa-store h2 { margin: 0 0 6px; font-size: 22px; }
.sa-store p { margin: 0; color: var(--bb-muted); }
.sa-more-list { display: grid; border-radius: 18px; overflow: hidden; background: white; }
.sa-more-list > :is(button,a) { display: flex; align-items: center; gap: 14px; padding: 18px 16px; border: 0; border-bottom: 1px solid var(--bb-line); background: white; text-decoration: none; color: var(--bb-ink); text-align: left; }
.sa-more-list > :is(button,a) > span:first-of-type { display: grid; flex: 1; gap: 6px; }
.sa-more-list small { font-size: 14px; color: var(--bb-muted); }
.sa-more-list svg { width: 24px; height: 24px; }
.seller-app-shell #main .panel { padding: 16px; margin-block: 12px; }
.seller-app-shell #main .panelhead { flex-wrap: wrap; gap: 12px; }
.seller-app-shell #main .panelhead h2 { font-size: 20px; }
.seller-app-shell #main .seller-live-hero { display: block; padding: 0; margin: 16px 0; background: transparent; }
.seller-app-shell #main .seller-live-hero > img, .seller-app-shell #main .seller-live-title { display: none; }
.seller-app-shell #main .seller-live-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; }
.seller-app-shell #main .seller-live-metrics > div { min-width: 0; padding: 12px; background: white; color: var(--bb-ink); border-radius: 14px; }
.seller-app-shell #main .seller-live-metrics dt { color: var(--bb-muted); font-size: 14px; }
.seller-app-shell #main .seller-live-metrics dd { font-size: 21px; color: var(--bb-ink); margin-top: 8px; }
.sa-live-stage { position: relative; border-radius: 18px; overflow: hidden; background: #111; }
.sa-live-stage [data-sa-video] { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.sa-live-stage iframe { width: 100%; height: 100%; border: 0; }
.sa-live-stage img { max-width: 100%; height: 140px; object-fit: contain; }
.sa-live-stage small { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 8px; background: white; color: #111; font-size: 14px; pointer-events: none; }
.sa-capture-actions { display: grid; grid-template-columns: minmax(0,1fr) 56px; gap: 10px; margin-top: 12px; }
.seller-app-shell #main .sa-capture-actions button { width: 100%; height: 56px; min-height: 56px; font-size: 18px; border-radius: 16px; }
.seller-app-shell #main .sa-capture-actions [data-live-capture] { background: var(--bb-lime); color: #111; border-color: transparent; }
.seller-app-shell #main .sa-capture-actions [data-live-voice] { display: grid; place-items: center; background: #111; color: var(--bb-lime); padding: 0; }
.seller-app-shell #main .seller-live-grid { display: block; }
.seller-app-shell #main .seller-live-actions:has([data-live-action-status]), .seller-app-shell #main .seller-live-tools, .seller-app-shell #main .seller-live-controls > .heading { display: none; }
.seller-app-shell #main .seller-live-controls > [data-live-action-status] { margin: 8px 0; font-size: 16px; color: #a4271b; }
.seller-app-shell #main .sa-chat-orders ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.seller-app-shell #main .sa-chat-orders li { padding: 12px 0; border-bottom: 1px solid var(--bb-line); font-size: 16px; overflow-wrap: anywhere; }
.seller-app-shell #main .sa-printer-strip { width: 100%; padding: 12px; border-radius: 12px; background: #111; color: white; font-size: 14px; line-height: 1.6; text-align: left; }
.seller-app-shell #main .sa-printer-strip.is-connected { color: var(--bb-lime); }
.seller-app-shell #main .seller-live-product-strip { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.seller-app-shell #main .seller-live-products .panelhead > div { width: 100%; }
.seller-app-shell #main .seller-live-history .tablewrap { overflow-x: auto; }
.seller-app-shell #main .ps-toolbar { grid-template-columns: repeat(2,minmax(0,1fr)); }
.seller-app-shell #main .ps-toolbar label:first-child { grid-column: 1 / -1; }
.seller-app-shell #main .ps-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.seller-app-shell #main .ps-card[data-seller-product] { padding: 10px; }
.seller-app-shell #main .ps-info :is(h3,b) { font-size: 17px; }
.sa-order-counts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.seller-app-shell #main .sa-order-counts button { display: grid; gap: 8px; padding: 14px 10px; text-align: left; border: 0; background: white; border-radius: 16px; }
.sa-order-counts button:first-child { background: #fff0e9 !important; color: #a6390e; }
.sa-order-counts button:last-child { background: #f2fbdc !important; color: #45620f; }
.sa-order-counts span { font-size: 14px; }
.sa-order-counts b { font-size: 28px; }
.seller-app-shell #main .seller-order-list :is(table,tbody) { display: block; width: 100%; min-width: 0; }
.seller-app-shell #main .seller-order-list thead { display: none; }
.seller-app-shell #main .seller-order-list tbody tr { position: relative; display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; margin-bottom: 14px; border: 1px solid var(--bb-line); padding: 16px; border-radius: 16px; background: white; }
.seller-app-shell #main .seller-order-list td { display: block; width: auto; min-width: 0; padding: 0; border: 0; }
.seller-app-shell #main .seller-order-list td::before { display: none; }
.seller-app-shell #main .seller-order-list td.pickcol { position: absolute; right: 14px; top: 14px; }
.seller-app-shell #main .seller-order-list td:nth-child(2) { padding-right: 28px; }
.seller-app-shell #main .seller-order-list td:nth-child(2) > b { font-size: 14px; }
.seller-app-shell #main .seller-orders-panel > .seller-periods { display: none; }
.seller-app-shell #main .order-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.seller-app-shell #main .order-tools .filter { flex: 1; min-width: 0; }
.seller-app-shell #main .tabs { flex-wrap: nowrap; overflow-x: auto; }
.seller-app-shell #main .tabs button { flex: 0 0 auto; }
.seller-app-shell #main .bulkbar { padding: 12px; }
.seller-app-shell #main .lb-monitor-grid { grid-template-columns: 1fr; height: auto; }
.seller-app-shell #main .lb-monitor-panel { height: 45dvh; min-height: 280px; }
.seller-app-shell #main .lb-heading { display: block; }
.seller-app-shell #main .lb-header-actions { display: flex; flex-wrap: wrap; }
body.seller-app-mode #lbFocus { width: min(100%,480px); left: 50%; right: auto; transform: translateX(-50%); }
body.seller-app-mode #lbFocus .lb-fh { flex-wrap: wrap; }
body.seller-app-mode #lbFocus .lb-ft { flex-basis: calc(100% - 60px); }
body.seller-app-mode #lbFocus .lb-focus-columns { grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) minmax(0,1fr); }
body.seller-app-mode #lbFocus .lb-live-toggle { flex-basis: 100%; }
@media(prefers-reduced-motion:reduce){ .seller-app-shell * { scroll-behavior: auto; } }
.seller-app-shell #main[data-app-screen=live] > .heading, .seller-app-shell #main[data-app-screen=products] > .heading, .seller-app-shell #main[data-app-screen=orders] > .heading { display: none; }
.seller-app-shell #main .seller-live-metrics dd { font-size: 18px; white-space: nowrap; }
.seller-app-shell #main .order-tools .filter { display: flex; flex-wrap: nowrap; gap: 8px; }
.seller-app-shell #main .order-tools .filter input { width: 0; min-width: 0; flex: 1; }
.seller-app-shell #main .order-tools .filter button { flex: 0 0 auto; }

.seller-social-login{display:grid;gap:12px;margin-top:24px}.seller-social-login p{font-size:16px;line-height:1.5;margin:0;color:#62666e}.seller-social-button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;padding:12px 16px;border:1px solid #dedede;border-radius:14px;background:#fff;color:#111;font-family:inherit;font-size:18px;font-weight:600;line-height:1.4;cursor:pointer}.seller-social-button span{font-size:18px;font-weight:600}.seller-social-button svg{width:24px;height:24px;flex-shrink:0}.seller-social-apple{background:#111;color:#fff;border-color:#111}.seller-social-kakao{background:#fee500;color:#191919;border-color:#fee500}.seller-social-button:focus-visible{outline:3px solid #668b20;outline-offset:3px}#socialLoginMessage:empty{display:none}

.seller-auth.buyerbody{padding:16px 12px;min-height:100dvh;box-sizing:border-box}.seller-auth>.buyer{max-width:440px;padding:20px;border-radius:24px;min-height:0}.seller-auth .bio{padding:0;margin:0 0 20px}.seller-auth .bio .brand{font-size:26px;gap:8px}.seller-auth .bio .brand img{width:36px;height:36px}.seller-auth .bio>p{display:none}.seller-auth .buyercontent{padding:0}.seller-auth .buyertitle{font-size:24px;line-height:1.3;margin:0 0 6px}.seller-auth .auth-intro{font-size:16px;line-height:1.4;margin:0 0 16px;color:#62666e}.seller-auth .seller-social-login{margin:0;gap:10px}.seller-auth .seller-social-login>p:first-child{display:none}.seller-auth .seller-social-button{height:52px;min-height:52px}.seller-auth .seller-social-apple{background:#111;color:#fff;border-color:#111}.seller-auth .seller-social-kakao{background:#fee500;color:#191919;border-color:#fee500}.seller-auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0 14px;color:#62666e;font-size:15px}.seller-auth-divider:before,.seller-auth-divider:after{content:"";height:1px;background:#e5e5e5;flex:1}.seller-auth #authform{display:grid;gap:12px}.seller-auth #authform .field{margin:0;font-size:16px;line-height:1.3;display:grid;gap:6px}.seller-auth #authform input{height:48px;min-height:48px;box-sizing:border-box;margin:0;padding:10px 14px;font-size:16px}.seller-auth #authform .login{min-height:48px;height:48px;margin:0;font-size:17px;padding:10px 14px}.seller-auth #autherror{font-size:15px!important;margin:0;line-height:1.4}.seller-auth #autherror:empty{display:none}
/* Keep the selected destination visible over shared button styles. */
.seller-app-shell .sa-tabs button[aria-current="page"]{background:#d0f65a!important;color:#172500!important;border-color:transparent!important;font-weight:800}
.seller-app-shell .sa-tabs button:not([aria-current="page"]){background:#fff!important;color:#626672!important;border-color:transparent!important}
.seller-app-shell #productForm .bee-camera-controls .bee-gallery-label{display:block!important;width:100%;min-height:52px;font-size:17px}

.seller-app-shell .sa-header [hidden]{display:none!important}
.seller-app-shell .sa-more-list>:is(button,a){display:grid!important;grid-template-columns:24px minmax(0,1fr) 20px;align-items:center;gap:14px;width:100%;min-height:80px;box-sizing:border-box;padding:16px!important;margin:0!important;border:0!important;border-bottom:1px solid #e5e5e5!important;border-radius:0!important;background:#fff!important;color:#111!important;font-family:inherit;text-align:left;box-shadow:none}
.seller-app-shell .sa-more-list>:is(button,a):last-child{border-bottom:0!important}
.seller-app-shell .sa-more-list>:is(button,a)>svg{width:24px;height:24px;margin:0}
.seller-app-shell .sa-more-list>:is(button,a)>span:first-of-type{display:grid;gap:5px;min-width:0}
.seller-app-shell .sa-more-list b{font-size:18px;font-weight:700;line-height:1.4}
.seller-app-shell .sa-more-list small{font-size:15px;font-weight:400;line-height:1.4;color:#626672}
.seller-app-shell .sa-more-list>:is(button,a)>span:last-child{font-size:22px;color:#626672;text-align:center}
/* Mobile management uses content-sized cards, never desktop table tracks. */
.seller-app-shell #main :is(.seller-orders-panel,.seller-dashboard,.seller-customers,.dashboard-workspace){min-width:0}
.seller-app-shell .sa-header{gap:8px}
.seller-app-shell .sa-header h1{min-width:0;white-space:nowrap;font-size:22px}
.seller-app-shell .sa-header-action{flex-shrink:0}
.seller-app-shell #main .tabs{display:flex;flex-wrap:wrap!important;gap:4px;overflow:visible!important;padding-bottom:8px}
.seller-app-shell #main .tabs button{flex:1 1 calc(33.333% - 8px);min-width:0;min-height:48px;padding:10px 4px!important;font-size:15px!important;white-space:nowrap}
.seller-app-shell #main .order-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%}
.seller-app-shell #main .order-tools .filter{display:flex!important;width:100%;min-width:0;margin:0}
.seller-app-shell #main .order-tools .filter input{flex:1 1 0;width:0;min-width:0;font-size:16px}
.seller-app-shell #main .order-tools>label{display:flex;align-items:center;gap:12px;min-width:0}
.seller-app-shell #main .order-tools select{min-width:0;flex:1;width:100%;font-size:16px}
.seller-app-shell #main .seller-order-list.ordercards{overflow:visible}
.seller-app-shell #main .seller-order-list.ordercards tbody tr:not(.daygroup){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px;padding:16px;margin-top:12px}
.seller-app-shell #main .seller-order-list.ordercards td{grid-area:auto!important;grid-column:1/-1!important;width:auto!important;min-width:0!important;max-width:none;word-break:normal;overflow-wrap:anywhere;text-align:left!important}
.seller-app-shell #main .seller-order-list.ordercards td.pickcol{position:absolute!important;right:14px;top:14px;width:24px!important}
.seller-app-shell #main .seller-order-list.ordercards td:nth-child(2){padding-right:36px!important}
.seller-app-shell #main .seller-order-list.ordercards td.pickcol~td:nth-child(5){margin:0}
.seller-app-shell #main .seller-order-item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:center;width:100%}
.seller-app-shell #main .seller-order-item>div:last-child{min-width:0}
.seller-app-shell #main .seller-order-item :is(img,.seller-order-no-photo){width:88px;height:112px;object-fit:contain;border-radius:12px}
.seller-app-shell #main .seller-order-item strong{font-size:18px;white-space:nowrap}
.seller-app-shell #main .seller-order-item b{font-size:17px;line-height:1.4}
.seller-app-shell #main .seller-order-list :is(.order-phone,.order-time){white-space:nowrap}
.seller-app-shell #main .seller-tracking-details{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:14px;background:var(--bb-panel);border-radius:12px;min-width:0}
.seller-app-shell #main .seller-tracking-details b{display:block;font-size:18px;letter-spacing:0;white-space:nowrap}
.seller-app-shell #main .seller-tracking-details button{width:100%;min-height:48px;font-size:16px}
.seller-app-shell #main .seller-shipping-panel .headactions{display:grid;grid-template-columns:1fr}
.seller-app-shell #main>.heading .headactions{display:grid;grid-template-columns:1fr;gap:8px}
.seller-app-shell #main>.heading .headactions button{width:100%;min-height:48px;font-size:16px;white-space:normal}
.seller-app-shell .dashboard-heading>div:first-child{display:none}
.seller-app-shell .dashboard-heading-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%}
.seller-app-shell .dashboard-heading-actions>a{grid-column:1/-1;min-width:0;overflow-wrap:anywhere;text-align:center}
.seller-app-shell .dashboard-heading-actions>button{min-height:48px;font-size:16px}
.seller-app-shell .dashboard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.seller-app-shell .dashboard-actions>button:last-child{grid-column:1/-1}
.seller-app-shell .dashboard-order-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.seller-app-shell .dashboard-payment-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}
.seller-app-shell .dashboard-payment-tabs button{min-width:0;padding:10px 4px;min-height:48px;white-space:nowrap;font-size:15px}
.seller-app-shell .dashboard-table{display:block;width:100%;min-width:0}
.seller-app-shell .dashboard-table thead{display:none}
.seller-app-shell .dashboard-table tbody{display:grid;gap:12px;width:100%}
.seller-app-shell .dashboard-table tbody tr{position:relative;display:grid;grid-template-columns:1fr;gap:12px;width:100%;min-width:0;padding:16px;border:1px solid var(--bb-line);border-radius:14px}
.seller-app-shell .dashboard-table td{display:block;grid-area:auto!important;grid-column:1/-1!important;width:auto!important;min-width:0;padding:0!important;border:0!important;text-align:left!important;overflow-wrap:anywhere}
.seller-app-shell .dashboard-table td:first-child{position:absolute;right:14px;top:14px}
.seller-app-shell .dashboard-table td:first-child:before{display:none}
.seller-app-shell .dashboard-table td:nth-child(2){padding-right:28px!important}
.seller-app-shell .dashboard-table td:before{display:none}
.seller-app-shell .dashboard-table .dashboard-item{display:flex;gap:12px;align-items:center}
.seller-app-shell .dashboard-table .dashboard-item img{width:88px;height:112px;object-fit:contain}
.seller-app-shell .dashboard-table td[data-label="주문 금액"]{font-size:20px;font-weight:700}
.seller-app-shell .dashboard-table td[data-label="닉네임 / 이름"] button{font-size:17px;text-align:left;min-width:0;max-width:100%;height:auto;white-space:normal}
.seller-app-shell #main .seller-customer>summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start;padding:16px 0;font-size:16px}
.seller-app-shell #main .seller-customer>summary>span:first-child{grid-column:1/-1}
.seller-app-shell #main .seller-customer-history article{display:grid;gap:12px;min-width:0}
body.seller-app-mode dialog.shippingdialog{box-sizing:border-box;width:calc(100vw - 24px);max-width:456px;max-height:calc(100dvh - 32px);padding:16px;overflow-y:auto}
body.seller-app-mode dialog.shippingdialog :is(.panelhead,.seller-detail-meta){gap:12px;min-width:0}
body.seller-app-mode dialog.shippingdialog .panelhead h2{min-width:0;overflow-wrap:anywhere}
body.seller-app-mode dialog.shippingdialog dl>div{grid-template-columns:90px minmax(0,1fr)}
body.seller-app-mode dialog.shippingdialog dd{overflow-wrap:anywhere;min-width:0}
@media(max-width:360px){.seller-app-shell .sa-header{padding-inline:12px;gap:6px}.seller-app-shell .sa-header h1{font-size:20px}.seller-app-shell .sa-header-action{font-size:15px;padding:8px 10px}.seller-app-shell .sa-live{font-size:12px;padding:6px}.seller-app-shell #main{padding-inline:12px}.seller-app-shell #main .tabs button{flex-basis:calc(50% - 4px)}}

.seller-app-shell #main .sa-excel-tools{width:100%;border:1px solid var(--bb-line);border-radius:14px;background:#fff;margin-bottom:12px}
.seller-app-shell #main .sa-excel-tools summary{padding:14px 16px;font-size:16px;font-weight:600;cursor:pointer}
.seller-app-shell #main .sa-excel-tools .headactions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:0 12px 12px}
.seller-app-shell #main .sa-excel-tools button{width:100%;min-height:48px;font-size:16px}
.seller-app-shell .link-quick-setup ol{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.seller-app-shell .link-quick-setup ol li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;min-height:0;padding:12px;align-items:start}
.seller-app-shell .link-quick-setup ol li>small{grid-column:1;grid-row:1;white-space:nowrap}
.seller-app-shell .link-quick-setup ol li>b{grid-column:2;font-size:16px}
.seller-app-shell .link-quick-setup ol li>span{grid-column:1/-1;font-size:15px;line-height:1.5}
.seller-app-shell .link-quick-setup ol li>button{grid-column:1/-1;min-height:48px;font-size:16px}
.seller-app-shell .channel-save-row{min-width:0}
.seller-app-shell .channel-save-row input{width:0;min-width:0;flex:1;font-size:16px}
.seller-app-shell .channel-save-row button{min-height:48px;font-size:16px;white-space:nowrap}
.seller-app-shell #main :is(.seller-customer-stats,.dashboard-actions){margin-bottom:16px}
.seller-app-shell #main .seller-customer-stats .panel{margin:0}
body.seller-app-mode #toast{bottom:calc(94px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);overflow-wrap:anywhere}
.seller-app-shell #main .lb .lb-form h2{font-size:20px!important;line-height:1.4}
.seller-app-shell #main .lb .lb-row{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:16px;text-align:left;min-height:56px;padding:12px 0}
.seller-app-shell #main .lb .lb-row>div{flex:1;min-width:0;font-size:16px;line-height:1.5;text-align:left}
.seller-app-shell #main .lb .lb-row small{font-size:14px;line-height:1.5;margin-top:4px}
.seller-app-shell #main .lb .lb-row input[type=checkbox]{flex:0 0 22px!important;width:22px!important;height:22px!important;min-height:22px!important;margin:0!important;align-self:center}
.seller-app-shell #main .lb .lb-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.seller-app-shell #main .lb .lb-two .field{min-width:0}
.seller-app-shell #main .lb :is(input:not([type=checkbox]),select){width:100%;min-width:0;min-height:48px;font-size:16px;box-sizing:border-box}
.seller-app-shell #main .lb .lb-row>div label{font-size:inherit;font-weight:inherit;cursor:pointer}
body.seller-app-mode .seller-order-dialog dl>div{grid-template-columns:minmax(104px,34%) minmax(0,1fr);gap:16px}
body.seller-app-mode .seller-order-dialog dt{font-size:16px;line-height:1.5;white-space:normal}
body.seller-app-mode .seller-order-dialog dd{font-size:16px;line-height:1.5}
body.seller-app-mode .seller-order-dialog dl>div:has(.seller-carrier){font-weight:400}
body.seller-app-mode .seller-order-dialog .seller-carrier{font-weight:400!important}

/* Compact focus toolbar; reserve the remaining height for live work. */
#lbFocus .lb-focus-columns { min-height: 0; }
#lbFocus .lb-focus-video { flex-basis: min(40dvh, 56.25vw); height: min(40dvh, 56.25vw); }
@media(max-width:760px) {
  #lbFocus .lb-fh, body.seller-app-mode #lbFocus .lb-fh { display:grid; grid-template-columns:minmax(0,1fr) repeat(4,auto); gap:4px 6px; padding:calc(4px + env(safe-area-inset-top)) 8px 4px; }
  #lbFocus .lb-ft, body.seller-app-mode #lbFocus .lb-ft { grid-column:1 / -2; grid-row:1; display:flex; align-items:center; gap:8px; flex-basis:auto; }
  #lbFocus .lb-ft b { font-size:14px; white-space:nowrap; }
  #lbFocus .lb-ft div { font-size:11px; gap:6px; }
  #lbFocus .lb-fh #lbFClose { grid-column:5; grid-row:1; order:0; }
  #lbFocus .lb-live-toggle, body.seller-app-mode #lbFocus .lb-live-toggle { grid-column:1; grid-row:2; order:0; flex-basis:auto; min-height:36px; font-size:13px; }
  #lbFocus .lb-fh :is(#lbFRun,#lbFSmaller,#lbFBigger) { grid-row:2; order:0; flex:none; }
  #lbFocus .lb-fh button { height:36px; min-height:36px; min-width:36px; padding:0 8px; font-size:13px; border-radius:8px; }
  #lbFocus #lbFRun { grid-column:2 / 4; font-size:13px; }
  #lbFocus #lbFSmaller { grid-column:4; }
  #lbFocus #lbFBigger { grid-column:5; }
  #lbFocus .lb-focus-columns { gap:4px; padding:4px 4px calc(4px + env(safe-area-inset-bottom)); }
  #lbFocus .lb-focus-panel { padding:6px 8px; border-radius:10px; }
  #lbFocus .lb-focus-panel h2 { font-size:14px; margin-bottom:4px; }
  #lbFocus .lb-focus-chat { gap:8px; padding:6px 0; font-size:calc(14px * var(--fz,1)); line-height:1.35; }
  #lbFocus .lb-focus-chat p { margin-top:2px; }
  #lbFocus [data-print-chat] { min-height:36px; min-width:44px; padding:4px 8px; font-size:13px; }
  #lbFocus .lb-fb { padding:8px!important; border-width:1px!important; }
  #lbFocus .lb-fb .fname { font-size:calc(22px * var(--fz)); }
  #lbFocus .lb-fb .fsub { font-size:calc(13px * var(--fz)); }
  #lbFocus #lbFList .lb-sw { margin-bottom:6px; }
}

@media(max-width:760px){
 body #lbFocus .lb-fh,body.seller-app-mode #lbFocus .lb-fh{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px}
 body #lbFocus .lb-ft,body.seller-app-mode #lbFocus .lb-ft{display:block!important;flex:1 1 0!important;min-width:0;order:0}
 body #lbFocus .lb-ft b{font-size:18px}
 body #lbFocus .lb-ft div{font-size:13px}
 body #lbFocus .lb-focus-toolbar{order:2;flex:0 0 100%!important;width:100%;display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:8px;overflow-x:auto}
 body #lbFocus .lb-focus-toolbar .lb-live-toggle{font-size:16px!important;min-height:48px;flex:0 0 auto!important;gap:6px}
 body #lbFocus .lb-focus-toolbar button{font-size:16px!important;height:48px!important;min-height:48px!important;min-width:0!important;padding:0 10px!important;flex:0 0 auto!important}
 body #lbFocus .lb-fh>#lbFClose{order:2!important;width:48px;height:48px;min-height:48px;min-width:48px;padding:0;flex:0 0 48px;font-size:32px}
}

body #lbFocus:not(.has-queue) .lb-focus-columns { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); }

/* Fit every focus control on one line, including narrow phones. */
body #lbFocus .lb-focus-toolbar,body.seller-app-mode #lbFocus .lb-focus-toolbar { display:flex!important; width:100%; gap:4px!important; overflow:visible; }
body #lbFocus .lb-focus-toolbar .lb-live-toggle { flex:0 0 auto!important; font-size:13px!important; min-height:36px!important; gap:3px!important; }
body #lbFocus .lb-focus-toolbar input { width:18px; height:18px; }
body #lbFocus .lb-focus-toolbar button { flex:1 1 0!important; min-width:0!important; height:36px!important; min-height:36px!important; padding:0 4px!important; font-size:13px!important; border-radius:8px!important; }
body #lbFocus .lb-focus-toolbar #lbFClose { flex:0 0 32px!important; width:32px; }
#lbFocus .lb-registration-actions { flex:0 0 auto; padding:4px 8px; }
.lb-registration-actions>div { display:grid; grid-template-columns:minmax(0,1fr) 96px; gap:6px; }
.lb-registration-actions button { min-height:40px; padding:6px 10px; font-size:15px; }
.lb-registration-actions [data-live-capture] { background:var(--bb-ink);color:var(--bb-white); }
.lb-registration-actions [role=status] { margin:4px 0; font-size:13px; }
.lb-registration-actions [role=status]:empty { display:none; }
.seller-app-shell #main .seller-live-controls { gap:8px; }
.seller-app-shell #main .sa-capture-actions { margin:0; gap:6px; }
.seller-app-shell #main .seller-live-controls>[data-live-action-status]:empty { display:none; }
.seller-app-shell #main .seller-live-controls>.seller-live-hero:has(>.seller-live-title[hidden]) { display:none; }
.dashboard-live-summary { margin:12px 0; }
.dashboard-live-summary h2 { margin:0 0 8px; font-size:18px; }
.dashboard-live-summary .seller-live-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0; }
.dashboard-live-summary dd { margin:4px 0 0; font-size:18px; font-weight:700; }

/* Keep scrolling while removing the indicator over the print controls. */
#lbFocus :is(#lbFFeed,#lbFList),.lb :is(#lbFeedBox,#lbList) { scrollbar-width:none; }
#lbFocus :is(#lbFFeed,#lbFList)::-webkit-scrollbar,.lb :is(#lbFeedBox,#lbList)::-webkit-scrollbar { display:none; }
.lb-registration-actions>div { grid-template-columns:minmax(0,1fr) 44px; }
.lb-registration-actions [data-live-capture] { background:var(--bb-lime);color:var(--bb-ink);border-color:transparent; }
.lb-registration-actions [data-live-voice] { display:grid;place-items:center;padding:0;background:var(--bb-ink);color:var(--bb-lime); }
@media(max-width:760px) {
 body #lbFocus .lb-fh,body.seller-app-mode #lbFocus .lb-fh { flex-wrap:nowrap!important;gap:4px;padding:calc(4px + env(safe-area-inset-top)) 6px 4px; }
 body #lbFocus .lb-ft,body.seller-app-mode #lbFocus .lb-ft { flex:0 0 auto!important;max-width:68px; }
 body #lbFocus .lb-ft b { font-size:12px;white-space:nowrap; }
 body #lbFocus .lb-ft div { display:none; }
 body #lbFocus .lb-focus-toolbar,body.seller-app-mode #lbFocus .lb-focus-toolbar { flex:1 1 0!important;width:auto;gap:3px!important;min-width:0; }
 body #lbFocus .lb-focus-toolbar .lb-live-toggle { min-height:30px!important;font-size:11px!important;gap:2px!important; }
 body #lbFocus .lb-focus-toolbar input { width:14px;height:14px; }
 body #lbFocus .lb-focus-toolbar button { height:30px!important;min-height:30px!important;padding:0 3px!important;font-size:11px!important;border-radius:6px!important; }
 body #lbFocus .lb-focus-toolbar #lbFClose { flex:0 0 26px!important;width:26px; }
 #lbFocus .lb-registration-actions { padding:4px; }
 #lbFocus .lb-registration-actions button { min-height:36px;height:36px;font-size:14px;padding:4px 8px; }
}
body #lbFocus .lb-registration-actions [data-live-capture],body .seller-app-shell #main .lb-registration-actions [data-live-capture] { background:var(--bb-lime)!important;color:var(--bb-ink)!important;border-color:transparent!important; }
body #lbFocus .lb-registration-actions [data-live-voice],body .seller-app-shell #main .lb-registration-actions [data-live-voice] { background:var(--bb-ink)!important;color:var(--bb-lime)!important;border-color:transparent!important; }

/* Compact the normal label workspace as well as focus mode. */
body.seller-app-mode:has(#lbRoot) .sa-header { padding:calc(6px + env(safe-area-inset-top)) 12px 6px;gap:8px; }
body.seller-app-mode:has(#lbRoot) #main { padding:4px 10px calc(88px + env(safe-area-inset-bottom)); }
body .seller-app-shell #main .heading:has(.lb-header-actions) { margin:0 0 6px; }
body .seller-app-shell #main .lb-header-actions { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px; }
body .seller-app-shell #main .lb-header-actions button { min-height:34px;height:34px;font-size:12px;padding:4px 6px;border-radius:8px; }
body .seller-app-shell #main #lbRoot .lb-tabs { margin:0 0 6px;padding:3px;border-radius:10px; }
body .seller-app-shell #main #lbRoot .lb-tabs button { min-height:32px;height:32px;padding:4px;font-size:13px;border-radius:7px; }
#lbRoot .lb-operation-toolbar { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:20px; }
body .seller-app-shell #main #lbRoot .lb-info:empty { display:none; }
body .seller-app-shell #main #lbRoot .lb-registration-actions { margin:4px 0 6px; }
body .seller-app-shell #main #lbRoot .lb-monitor-panel { padding:0;min-height:0;height:auto;border-radius:0; }
body .seller-app-shell #main #lbRoot #lbFeed { max-height:55dvh; }
body .seller-app-shell #main #lbRoot .lb-fl { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px; }
body .seller-app-shell #main #lbRoot .lb-fl>b { grid-column:1;grid-row:1;font-size:14px;width:auto; }
body .seller-app-shell #main #lbRoot .lb-fl>span { grid-column:1;grid-row:2;font-size:16px;line-height:1.5;min-width:0; }
body .seller-app-shell #main #lbRoot .lb-fl>button { grid-column:2;grid-row:1 / 3;align-self:center;min-height:44px;padding:8px 12px;font-size:14px; }
body .lb-registration-actions>div { grid-template-columns:minmax(0,1fr) 40px;align-items:center; }
body #lbFocus .lb-registration-actions [data-live-voice],body .seller-app-shell #main .lb-registration-actions [data-live-voice] { width:40px!important;min-width:40px!important;height:36px;min-height:36px;padding:0!important;display:grid;place-items:center;overflow:visible;box-sizing:border-box; }
.lb-registration-actions [data-live-voice] svg { display:block;width:20px;height:20px;flex:none;overflow:visible; }

/* Make focus-mode orders and print actions readable at a glance. */
body #lbFocus .lb-focus-chat { align-items:center;gap:10px;padding:10px 8px;font-size:calc(18px * var(--fz,1));line-height:1.45; }
body #lbFocus .lb-focus-chat b { color:#17665e;font-size:calc(15px * var(--fz,1));font-weight:800; }
body #lbFocus .lb-focus-chat p { color:var(--bb-ink);font-weight:650;margin:4px 0 0; }
body #lbFocus .lb-focus-chat.matched { background:var(--bb-lime-wash);border-radius:8px; }
body #lbFocus .lb-chat-match { display:inline-block;margin-left:6px;color:#355b0b;font-size:12px;font-weight:750; }
body #lbFocus .lb-focus-chat [data-print-chat] { min-width:64px;min-height:48px;padding:8px 12px;font-size:calc(17px * var(--fz,1));font-weight:800;background:var(--bb-ink)!important;color:var(--bb-white)!important;border:0;border-radius:10px; }
body #lbFocus .lb-focus-chat [data-print-chat]:disabled { background:var(--bb-panel)!important;color:#62666e!important;opacity:1; }
body #lbFocus .lb-fb { padding:12px!important;border-width:2px!important; }
body #lbFocus .lb-fb .fname { font-size:calc(30px * var(--fz));color:var(--bb-ink); }
body #lbFocus .lb-fb .fsub { font-size:calc(17px * var(--fz)); }
body #lbFocus .lb-fb .finfo { color:#45494f; }
body #lbFocus .lb-fb .frow { flex-wrap:wrap;gap:8px; }
body #lbFocus .lb-fb .fact { display:inline-flex;align-items:center;justify-content:center;min-width:88px;min-height:52px;padding:8px 16px;font-size:calc(21px * var(--fz));border-radius:10px; }
body #lbFocus .lb-focus-panel h2 { font-size:16px;font-weight:800; }

[data-print-chat-row] { cursor:pointer; }
[data-print-chat-row]:has([data-print-chat]:disabled) { cursor:default; }
[data-print-chat-row]:focus-visible { outline:2px solid var(--bb-ink);outline-offset:-2px;border-radius:8px; }

/* Share one work-area gutter and button size in the expanded label view. */
body #lbFocus .lb-registration-actions{padding:8px 12px 0;margin:0}
body #lbFocus .lb-registration-actions>div{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;align-items:stretch;margin:0}
body #lbFocus .lb-registration-actions :is([data-live-capture],[data-live-voice]){height:48px!important;min-height:48px!important;max-height:48px;box-sizing:border-box;margin:0;padding:0 12px!important;border-radius:12px;font-size:16px;line-height:1}
body #lbFocus .lb-registration-actions [data-live-voice]{width:48px!important;min-width:48px!important;padding:0!important}
body #lbFocus .lb-focus-columns{padding:8px 12px 12px!important;gap:8px}
body #lbFocus #lbFClose{width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;flex:0 0 48px!important;padding:0!important;font-size:32px!important;line-height:1}

/* Keep close on the title row at every viewport; controls get their own row. */
body #lbFocus .lb-fh,body.seller-app-mode #lbFocus .lb-fh{display:grid!important;grid-template-columns:minmax(0,1fr) 48px;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px}
body #lbFocus .lb-ft,body.seller-app-mode #lbFocus .lb-ft{grid-column:1;grid-row:1;max-width:none!important;min-width:0;order:0!important}
body #lbFocus .lb-ft b{font-size:18px}
body #lbFocus .lb-fh>#lbFClose{grid-column:2;grid-row:1;order:0!important;align-self:start;justify-self:end;margin:0}
body #lbFocus .lb-focus-toolbar,body.seller-app-mode #lbFocus .lb-focus-toolbar{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:auto auto minmax(0,1fr) minmax(44px,.7fr) minmax(44px,.7fr);gap:6px!important;width:100%;min-width:0;order:0!important}
body #lbFocus .lb-focus-toolbar button{height:44px!important;min-height:44px!important;font-size:14px!important}
body #lbFocus .lb-focus-toolbar .lb-live-toggle{min-height:44px!important;font-size:13px!important}
/* Shared YouTube-style rows: a neutral person, original handle, inline message. */
body .seller-app-shell #main #lbRoot .lb-fl.lb-chat-row,body #lbRoot .lb-fl.lb-chat-row,body #lbFocus .lb-focus-chat.lb-chat-row{display:flex!important;align-items:flex-start;gap:10px;padding:6px 8px!important;margin:0;border:0;border-radius:6px;background:var(--bb-white)!important;color:var(--bb-ink)!important;opacity:1}
body :is(#lbRoot,#lbFocus) .lb-chat-row .lb-chat-person{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#e9eef3;color:#758492!important;overflow:hidden}
body :is(#lbRoot,#lbFocus) .lb-chat-person svg{width:20px;height:20px}
body :is(#lbRoot,#lbFocus) .lb-chat-row .lb-chat-copy{display:block;flex:1;min-width:0;font-size:calc(14px * var(--fz,1));line-height:1.65;white-space:normal;overflow-wrap:anywhere;color:var(--bb-ink)!important}
body :is(#lbRoot,#lbFocus) .lb-chat-row .lb-chat-copy b{display:inline;margin-right:5px;font-size:inherit;font-weight:650;color:#606060!important}
body :is(#lbRoot,#lbFocus) .lb-chat-row .lb-chat-copy>span{color:var(--bb-ink)!important;white-space:normal}
body :is(#lbRoot,#lbFocus) .lb-chat-row .lb-chat-status{flex:none;align-self:center;font-size:11px;white-space:nowrap;color:#52625a}
body :is(#lbRoot,#lbFocus) .lb-chat-row[data-print-state=pending],body :is(#lbRoot,#lbFocus) .lb-chat-row[data-print-state=queued],body :is(#lbRoot,#lbFocus) .lb-chat-row[data-print-state=printing]{background:#edf2f7!important}
body :is(#lbRoot,#lbFocus) .lb-chat-row[data-print-state=printed]{background:#f0f5ee!important}
body :is(#lbRoot,#lbFocus) .lb-chat-row .lb-chat-action{display:flex;flex:none;align-self:center;white-space:nowrap}

body #lbFocus .lb-focus-toolbar>*{grid-column:auto!important;grid-row:auto!important;order:0!important}

/* Compact, single-line live header with readable, separated chat rows. */
body #lbFocus .lb-fh,body.seller-app-mode #lbFocus .lb-fh{display:grid!important;grid-template-columns:minmax(58px,1fr) auto 32px;gap:4px;padding:calc(6px + env(safe-area-inset-top)) 8px 6px;align-items:center}
body #lbFocus .lb-ft,body.seller-app-mode #lbFocus .lb-ft{grid-column:1;grid-row:1}
body #lbFocus .lb-ft b{font-size:13px;white-space:nowrap}
body #lbFocus .lb-ft div{display:none}
body #lbFocus .lb-focus-toolbar,body.seller-app-mode #lbFocus .lb-focus-toolbar{grid-column:2;grid-row:1;display:flex!important;flex-wrap:nowrap!important;gap:3px!important;width:auto}
body #lbFocus .lb-focus-toolbar .lb-live-toggle{flex:0 0 auto!important;min-height:32px!important;font-size:11px!important;gap:2px!important}
body #lbFocus .lb-focus-toolbar input{width:13px;height:13px;margin:0}
body #lbFocus .lb-focus-toolbar button{flex:0 0 auto!important;width:auto;min-width:28px!important;height:32px!important;min-height:32px!important;padding:0 5px!important;font-size:11px!important}
body #lbFocus .lb-fh>#lbFClose{grid-column:3;grid-row:1;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;flex:0 0 40px!important;font-size:28px!important}
body .seller-app-shell #main #lbRoot .lb-fl.lb-chat-row,body #lbRoot .lb-fl.lb-chat-row,body #lbFocus .lb-focus-chat.lb-chat-row{margin:0 0 8px;padding:9px 10px!important;border-radius:8px;background:#f5f6f8!important}
@media(max-width:359px){
 body #lbFocus .lb-fh,body.seller-app-mode #lbFocus .lb-fh{gap:2px;padding-inline:6px;grid-template-columns:minmax(48px,1fr) auto 32px}
 body #lbFocus .lb-ft b{font-size:11px}
 body #lbFocus .lb-focus-toolbar,body.seller-app-mode #lbFocus .lb-focus-toolbar{gap:2px!important}
 body #lbFocus .lb-focus-toolbar button{min-width:24px!important;padding-inline:3px!important;font-size:10px!important}
 body #lbFocus .lb-focus-toolbar .lb-live-toggle{font-size:10px!important}
 body #lbFocus .lb-fh>#lbFClose{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}
}

/* Expanded header controls share one 32px, 8px-radius button specification. */
body #lbFocus .lb-focus-toolbar button,body #lbFocus .lb-fh>#lbFClose{height:32px!important;min-height:32px!important;border-radius:8px!important;box-sizing:border-box}
body #lbFocus .lb-fh>#lbFClose{width:32px!important;min-width:32px!important;max-width:32px;flex:0 0 32px!important;padding:0!important;font-size:22px!important;line-height:1;border:1px solid var(--bb-line)!important;background:var(--bb-white)!important;color:var(--bb-ink)!important;box-shadow:none!important}

/* One gutter and control scale across the handheld seller pages. */
body.seller-app-mode:has(#lbRoot) .sa-header{padding:calc(12px + env(safe-area-inset-top)) var(--bb-page-gutter) 12px}
body.seller-app-mode:has(#lbRoot) #main{padding:8px var(--bb-page-gutter) calc(88px + env(safe-area-inset-bottom))}
.seller-app-shell #main .sa-capture-actions{grid-template-columns:minmax(0,1fr) 48px;gap:8px}
.seller-app-shell #main .sa-capture-actions button{height:48px;min-height:48px;border-radius:12px;font-size:16px}
.seller-app-shell #main .sa-chat-orders{margin-block:8px;padding:16px}
.seller-app-shell #main .sa-chat-orders>div{padding:0;margin:0;background:transparent}
.seller-app-shell #main #profile.link-settings-form>:is(.link-quick-setup,.link-brand-card,.link-kakao-card,.profile-extra,.link-qr-card){padding:16px;border-radius:16px}
.seller-app-shell #main .seller-customer>summary>time{grid-column:1/-1;font-size:14px;color:var(--bb-muted)}
.seller-app-shell #main .seller-customer>summary>b small{display:block;margin:0 0 4px}
.seller-app-shell #main #profile .profile-savebar{position:static;left:auto;right:auto;bottom:auto;margin:16px 0 0;padding:0;border:0;box-shadow:none;background:transparent}
.seller-app-shell #productForm .bee-camera-controls .bee-gallery-label,.seller-app-shell #productForm .bee-retry{box-sizing:border-box;height:48px;min-height:48px;padding:10px 16px;font-size:16px;border-radius:12px}
body .seller-auth .seller-social-button,body .buyer-login-benefits .seller-social-button,.seller-social-button{box-sizing:border-box;height:48px;min-height:48px;padding:10px 16px;border-radius:12px;font-size:16px;line-height:1.5}
body .seller-auth .seller-social-button span,.seller-social-button span{font-size:16px}
/* Captions must not cover the channel connection button on narrow phones. */
.sa-live-stage>small{position:static;display:block;padding:8px 12px;margin:0;border-radius:0;text-align:right;background:var(--bb-white);color:var(--bb-ink)}
@media(max-width:360px){:root{--bb-page-gutter:12px}body.seller-app-mode:has(#lbRoot) .sa-header h1{font-size:20px}}
/* Text tabs size from their labels; longer states move to the next row. */
.seller-app-shell #main .dashboard-payment-tabs{display:flex;flex-wrap:wrap;gap:8px}
.seller-app-shell #main .dashboard-payment-tabs>button{flex:1 1 auto;width:max-content;min-width:0;max-width:100%;height:auto;min-height:48px;padding:10px 8px;white-space:normal;overflow-wrap:anywhere}
.seller-app-shell #main :is(.seller-orders-panel,.seller-customers) .tabs>button{flex:1 1 auto;width:max-content;min-width:0;max-width:100%;height:auto;min-height:48px;padding:10px 8px!important;white-space:normal;overflow-wrap:anywhere}

/* Bounded newest-first chat; the whole shaded row is the print action. */
body .seller-app-shell #main #lbRoot .lb-monitor-panel:has(#lbFeedBox){height:55dvh;max-height:600px;min-height:240px;overflow:hidden}
body #lbRoot #lbFeedBox{min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;scrollbar-width:thin}
body .seller-app-shell #main #lbRoot #lbFeed{max-height:none;overflow:visible}
body #lbFocus #lbFFeed{overflow-anchor:none;scrollbar-width:thin}
body #lbRoot .lb-fl.lb-chat-row,body .seller-app-shell #main #lbRoot .lb-fl.lb-chat-row,body #lbFocus .lb-focus-chat.lb-chat-row{background:#dfe5ec!important;border:1px solid #bdc7d3;color:var(--bb-ink);cursor:pointer}
body :is(#lbRoot,#lbFocus) .lb-chat-row[data-print-state=printed]{background:#dbe8d4!important}
body :is(#lbRoot,#lbFocus) .lb-chat-row:is([data-print-state=pending],[data-print-state=queued],[data-print-state=printing]){background:#cbd8e8!important;cursor:wait}
body :is(#lbRoot,#lbFocus) .lb-chat-row[data-print-state=failed]{background:#efd5d3!important}
body :is(#lbRoot,#lbFocus) .lb-chat-status:empty{display:none}
body :is(#lbRoot,#lbFocus) .lb-chat-status{white-space:normal;max-width:80px;text-align:right;color:#344357}
@media(hover:hover){body :is(#lbRoot,#lbFocus) .lb-chat-row[aria-disabled=false]:hover{background:#cdd8e3!important}}
.seller-live-controls [data-live-chat-orders]{max-height:45dvh;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none}

body .seller-app-shell #main #lbRoot .lb-fl.lb-chat-row[data-print-state=printed]{background:#dbe8d4!important}
body .seller-app-shell #main #lbRoot .lb-fl.lb-chat-row:is([data-print-state=pending],[data-print-state=queued],[data-print-state=printing]){background:#cbd8e8!important}
body .seller-app-shell #main #lbRoot .lb-fl.lb-chat-row[data-print-state=failed]{background:#efd5d3!important}
