@import "./bcyt-pc.css?v=69b765b927a7b9fb";
:root{font:15px "Microsoft YaHei",sans-serif;color:#223f34;background:#f3f6f4}*{box-sizing:border-box}body{margin:0}a{color:#23654c;text-decoration:none}button,.button{background:#185744;border:0;color:white;padding:12px 20px;border-radius:8px;cursor:pointer;font:inherit;display:inline-block}button:disabled{opacity:.5;cursor:wait}input{width:100%;padding:12px;border:1px solid #cedbd2;border-radius:8px;font:inherit;margin-top:8px}label{display:block;margin:20px 0}p{line-height:1.8;color:#64776c}small{color:#718279}.login{width:min(430px,92vw);margin:8vh auto;padding:36px;background:white;border:1px solid #e2e9e4;border-radius:20px}.login button{width:100%}.logo{width:48px;height:48px;display:grid;place-items:center;background:#185744;color:white;border-radius:12px;font-size:28px}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}aside{height:100vh;position:sticky;top:0;overflow:auto;background:white;padding:28px 18px;border-right:1px solid #e2e9e4}.brand{font-size:21px;font-weight:bold}nav{display:grid;gap:5px;margin:25px 0}nav a{padding:12px;border-radius:8px;color:#566b5d}.active{background:#e6f0e9!important;color:#185744!important;font-weight:bold}header{background:white;padding:24px 32px;display:flex;justify-content:space-between}#content{padding:28px 32px;max-width:1600px;margin:auto}h1{font-size:26px;margin:0 0 25px}h2{font-size:19px}.card{background:white;padding:25px;border:1px solid #e2e9e4;border-radius:12px;margin-bottom:22px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stats h2{font-size:28px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.error{color:#a34632}.secondary{background:#eef4ef;color:#185744}.tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.tabs a{padding:9px 15px;background:#f5f7f5;border-radius:7px}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th,td{padding:17px 12px;border-bottom:1px solid #e8ede9}th{background:#f6f8f6;color:#77867b;font-weight:normal}td small{display:block;margin-top:6px}.badge{background:#e8f2eb;color:#185744;padding:5px 9px;border-radius:5px;white-space:nowrap}.notice{background:#fff1df;padding:15px;border-radius:8px}button:focus-visible,a:focus-visible{outline:3px solid #d7a45b;outline-offset:3px}@media(max-width:850px){.layout{grid-template-columns:180px minmax(0,1fr)}.stats{grid-template-columns:1fr 1fr}#content{padding:20px}.grid{grid-template-columns:1fr}table{min-width:600px}}
textarea{width:100%;padding:12px;border:1px solid #cedbd2;border-radius:8px;font:inherit;margin-top:8px;resize:vertical}td button{padding:8px 12px;margin-left:10px}
#product-images{display:flex;gap:12px;flex-wrap:wrap}.product-image{margin:0;width:130px;display:grid;gap:8px}.product-image img{width:130px;height:130px;object-fit:contain;background:#f3f6f4;border-radius:8px}
select{padding:12px;border:1px solid #cedbd2;border-radius:8px;font:inherit;margin-left:12px}.after-sale-photos{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.after-sale-photos img{width:140px;height:140px;object-fit:contain}

/* Adapt BCYT PC sidebar and dense editor to supplier-scoped routes. */
body{background:var(--bg);color:var(--ink);font-size:14px}.layout>aside{background:var(--navy);color:var(--navy-ink);padding:16px 12px}.layout>aside .brand{color:#fff;font-size:17px}.layout>aside p{color:var(--navy-ink-2);font-size:12px}.layout nav a{color:var(--navy-ink);padding:9px 12px;border-radius:9px}.layout nav a:hover{background:var(--navy-2);color:white}.layout nav a.active{background:var(--brand)!important;color:white!important}button,.button{background:var(--brand);border-radius:9px;padding:9px 16px}.secondary{background:var(--brand-soft);color:var(--brand-ink)}header{padding:16px 24px}#content{padding:22px 24px}.card{border-color:var(--line);padding:20px;border-radius:var(--r);box-shadow:var(--sh)}label{margin:10px 0}input,select,textarea{padding:9px 11px;border-color:var(--line);margin-top:6px}select{margin-left:0;width:100%}.grid{gap:12px 18px;align-items:start}.grid>p{grid-column:1/-1;margin:0}.product-editor.modal-overlay{overflow:auto}.product-editor>.modal{width:min(960px,96vw);max-height:90vh;overflow:auto;background:white;border-radius:14px;padding:24px}.product-editor h1{font-size:20px;margin:12px 0}.product-editor form.card{box-shadow:none;border:0;padding:0;margin:0}.product-editor h2{font-size:16px;margin:18px 0 8px}.product-editor form>button[type=submit]{margin-top:18px}.product-editor input[type=file]{background:#f5f7fb}.product-editor #product-images{margin:12px 0}.product-editor .grid{grid-template-columns:1fr 1fr}@media(max-width:650px){.product-editor .grid{grid-template-columns:1fr}.product-editor>.modal{padding:16px}}
/* BCYT PC components applied across all supplier pages. */
.layout>section{min-width:0}.layout nav{gap:0;margin:16px 0}.nav-group>span{display:block;color:var(--navy-ink-2);font-size:11px;padding:12px 12px 4px}.nav-group>a{display:block}.layout>aside{display:flex;flex-direction:column}.layout>aside nav{flex:1}.layout>aside #logout{width:100%;border:1px solid #33415d;background:transparent;color:#dbe3f5}.order-watch-bar{display:flex;align-items:center;gap:14px;padding:10px 24px;border-bottom:1px solid var(--line);background:#fff;font-size:12px;color:var(--ink2)}.order-watch-bar button{padding:6px 12px;font-size:12px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.page-heading h1{font-size:22px;margin:0}.layout a{color:var(--brand)}.layout aside a{color:var(--navy-ink)}.layout .button{color:white}.tabs{border-bottom:1px solid var(--line);gap:4px;padding-bottom:0}.tabs a{border-radius:0;background:transparent!important;padding:10px 14px;border-bottom:2px solid transparent;color:var(--ink2)}.tabs a.active{color:var(--brand)!important;border-color:var(--brand)}.table-wrap{overflow:auto;width:100%}.tbl th,.tbl td{padding:12px 14px;vertical-align:top}.tbl th{background:#f8faff;color:var(--ink3);white-space:nowrap;font-size:12px}.tbl tbody tr:hover{background:#f8faff}.tbl input[type=checkbox],input[type=checkbox]{width:auto;accent-color:var(--brand);margin:0}.badge{background:var(--brand-soft);color:var(--brand-ink)}.stats.kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stats .kpi-cell{margin-bottom:0;padding:16px}.stats h2{margin:6px 0 0;font-size:26px}.stats{margin-bottom:16px}.quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-links>a{border:1px solid var(--line);border-radius:10px;padding:18px;font-weight:600}.quick-links>a:hover{background:var(--brand-soft)}.quick-links span{display:block;color:var(--ink3);font-size:12px;font-weight:400;margin-top:6px}.filter-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.filter-toolbar>label{flex:1;min-width:200px;margin:0}.filter-toolbar>.grid{display:flex;gap:12px;flex:2}.filter-toolbar .grid>label{flex:1;min-width:160px;margin:0}.filter-toolbar>p{flex-basis:100%;margin:0}.filter-toolbar>p:empty{display:none}.workspace-split{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:18px;align-items:start}.workspace-split>.card{min-width:0}.workspace-split form .grid{grid-template-columns:1fr}.workspace-split td details{margin-top:10px}.section-jumps{display:flex;flex-wrap:wrap;gap:8px;position:sticky;top:0;padding:10px;background:var(--bg);z-index:2}.section-jumps button{font-size:12px;padding:7px 10px}#payout-draft h2,#payout-draft h3{scroll-margin-top:80px}.payout-photo-rows{display:flex;flex-wrap:wrap;gap:12px}.payout-photo-rows figure{margin:0;width:150px}.payout-photo-rows img{width:150px;height:120px;object-fit:contain}.payout-photo-section{border:1px dashed var(--line);border-radius:10px;padding:14px}.payout-photo-section input[type=file]{max-width:100%}fieldset{border:1px solid var(--line);border-radius:10px;margin-bottom:14px}legend{padding:0 8px;color:var(--ink2)}.login{min-height:0;display:block;background:white}.layout p{color:var(--ink2)}.layout h2{font-size:17px}.layout input:focus,.layout select:focus,.layout textarea:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}
@media(max-width:1100px){.workspace-split{grid-template-columns:1fr}.stats.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.layout{grid-template-columns:150px minmax(0,1fr)}#content{padding:16px}.filter-toolbar>.grid{flex-wrap:wrap}.order-watch-bar{flex-wrap:wrap;padding:10px 16px}.stats.kpis,.quick-links{grid-template-columns:1fr}.section-jumps{position:static}}
.action-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px}.workspace-split .tbl{min-width:0}.workspace-split .tbl td{overflow-wrap:anywhere}.workspace-split .tbl td button{margin-left:0}#content[data-page=privacy]{max-width:1000px;background:white;margin:24px;border:1px solid var(--line);border-radius:14px}
.layout .button.secondary{color:var(--brand-ink)}
/* Product workspace: compact BCYT toolbar/list, grouped editor with stable action bar. */
.product-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.product-toolbar>label:first-child{flex:1;min-width:240px}.product-toolbar>label:nth-child(2){width:180px}.product-toolbar>label{margin:0}.product-toolbar>.button{margin-bottom:0;white-space:nowrap}.product-list>p[role=status]{font-size:12px;margin:14px 0;color:var(--ink3)}.product-list table{table-layout:fixed;min-width:850px}.product-list th:nth-child(1){width:28%}.product-list th:nth-child(2){width:17%}.product-list th:nth-child(3){width:10%}.product-list th:nth-child(4){width:8%}.product-list th:nth-child(5){width:12%}.product-list th:nth-child(6){width:25%}.product-list td{overflow-wrap:anywhere}.product-actions>div{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}.product-actions a{white-space:nowrap}.product-actions button{margin:0;padding:5px 9px;font-size:12px}.product-editor.modal-overlay{padding:24px;align-items:center}.product-editor>.modal{width:min(1000px,96vw);max-height:92vh;padding:0;overflow:hidden;display:flex;flex-direction:column}.product-dialog-head{flex:none;padding:18px 24px;border-bottom:1px solid var(--line);align-items:center;gap:20px}.product-dialog-head h1{margin:0;font-size:20px}.product-dialog-head p{margin:4px 0 0;font-size:12px}.product-dialog-head>a{white-space:nowrap}.product-editor #product-form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0}.product-dialog-body{overflow:auto;min-height:0;padding:0 24px}.product-section{padding:18px 0;border-bottom:1px solid var(--line)}.product-section:last-child{border-bottom:0}.product-editor .product-section h2{font-size:15px;margin:0 0 14px;padding-left:10px;border-left:3px solid var(--brand)}.product-section p{font-size:12px;margin:8px 0;color:var(--ink3)}.product-editor .grid{gap:12px 20px}.product-editor label{font-size:13px;margin:0 0 10px}.product-editor .grid>label{margin:0}.product-dialog-actions{flex:none;display:flex;justify-content:flex-end;align-items:center;gap:12px;border-top:1px solid var(--line);background:white;padding:14px 24px}.product-dialog-actions #product-error{flex:1;margin:0;font-size:12px}.product-editor .variant-row.grid{grid-template-columns:minmax(180px,2fr) 110px 100px 160px auto;align-items:end;padding:12px;background:#f7f9fc;border:1px solid var(--line);border-radius:8px;margin-bottom:10px;gap:10px}.product-editor .variant-row label{font-size:12px}.product-editor .variant-row button{padding:9px 10px;margin:0;white-space:nowrap}.product-editor #variant-rows{overflow:auto}.product-editor #product-images{margin:0 0 12px}.product-editor .product-image{width:100px}.product-editor .product-image img{width:100px;height:100px}.product-editor .product-image button{font-size:12px;padding:5px}.product-editor input[type=file]{font-size:12px}.product-dialog-body .product-section>label{max-width:100%}@media(max-width:850px){.product-editor .variant-row.grid{min-width:720px}.product-editor.modal-overlay{padding:10px}.product-dialog-body{padding:0 16px}.product-dialog-actions,.product-dialog-head{padding:14px 16px}}@media(max-width:650px){.product-editor .grid{grid-template-columns:1fr}.product-toolbar>label:nth-child(2){width:140px}}
.product-list th:nth-child(1){width:24%}.product-list th:nth-child(2){width:16%}.product-list th:nth-child(4){width:16%}.product-list th:nth-child(6){width:22%}.inline-stock summary{cursor:pointer;list-style:none;color:var(--ink);font-weight:600}.inline-stock summary span{font-size:12px;color:var(--brand);margin-left:5px;font-weight:400}.inline-stock-form{margin-top:10px;min-width:110px}.inline-stock-form label{font-size:12px;margin:8px 0}.inline-stock-form input{padding:7px;min-width:0}.inline-stock-form small{font-size:11px}.inline-stock-form>div{display:flex;gap:6px;margin-top:10px}.inline-stock-form button{padding:5px 9px;margin:0;font-size:12px}.inline-stock-form [role=alert]{font-size:12px;color:var(--red)}
.product-list table{min-width:1050px}.product-list th:nth-child(1){width:21%}.product-list th:nth-child(2){width:13%}.product-list th:nth-child(3){width:15%}.product-list th:nth-child(4){width:9%}.product-list th:nth-child(5){width:13%}.product-list th:nth-child(6){width:10%}.product-list th:nth-child(7){width:19%}.product-list .category-link{background:transparent;color:var(--brand);padding:0;margin:0;text-align:left;font-size:13px;overflow-wrap:anywhere}.category-link span{font-size:11px;color:var(--ink3)}.inline-category-form label{font-size:12px;margin:0 0 10px}.inline-category-form select{padding:7px;min-width:110px}.inline-category-form>div{display:flex;gap:6px}.inline-category-form button{padding:5px 9px;font-size:12px;margin:0}.inline-category-form [role=alert],[data-category-cell]>[role=alert]{font-size:12px;color:var(--red)}
.product-editor .product-upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:110px;border:1px dashed #9bb0ed;border-radius:10px;background:#f7f9ff;cursor:pointer;margin:12px 0 16px;overflow:hidden}.product-upload .upload-title{color:var(--brand);font-size:15px;font-weight:600}.product-upload .upload-hint{color:var(--ink3);font-size:12px}.product-editor .product-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.product-upload:focus-within{outline:2px solid var(--brand);outline-offset:2px}.product-upload:hover{background:var(--brand-soft)}.product-upload:has(input:disabled){opacity:.6;cursor:wait}
.category-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px}.category-tabs button{background:white;border:1px solid var(--line);color:var(--ink2);padding:8px 18px;font-size:13px}.category-tabs button.selected{background:var(--brand);border-color:var(--brand);color:white}.category-tabs button:hover{border-color:var(--brand)}

.payout-upload{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:90px;border:1px dashed #b9c9e5;border-radius:8px;background:#f6f8ff;color:#2453cd;cursor:pointer}.payout-upload span{font-size:12px;color:#748399}.payout-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.payout-upload:focus-within{outline:2px solid #2453cd}.payout-long{display:flex!important;align-items:center;gap:8px;margin-top:8px}.payout-long input{width:auto!important}.payout-date:has(input[type=checkbox]:checked) input[type=date]{display:none}

.payout-date-selects{display:flex;gap:8px;margin-top:8px}.payout-date-selects select,.payout-date-selects input{min-width:0;flex:1}.payout-date:has(input[type=checkbox]:checked) .payout-date-selects{display:none}
