.commerce-summary{padding:30px 34px;background:linear-gradient(120deg,#e8efe4,#f5f4e9);border:1px solid #dce4d7;border-radius:16px;margin-bottom:26px}.commerce-summary h2{font-size:25px}.commerce-summary p:last-child{color:#6d7f70;font-size:13px;margin-bottom:0;max-width:750px;line-height:1.9}.commerce-toolbar{display:flex;gap:22px;align-items:end;justify-content:space-between;margin:26px 0}.commerce-toolbar form{display:flex;align-items:end;gap:12px}.commerce-toolbar label{margin:0}.commerce-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.commerce-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;min-width:0}.commerce-card h3{margin:10px 0;font-size:19px}.commerce-card p{font-size:13px;color:#748273}.commerce-card .card-actions{margin-top:24px}.commerce-card .card-actions button{padding:10px 13px}.commerce-stat{display:flex;gap:22px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0}.commerce-stat strong{display:block;font-size:21px;font-weight:500;color:#2e5143}.commerce-stat span{font-size:11px;color:#748273}.commerce-meta{display:flex;flex-wrap:wrap;gap:8px}.commerce-meta span{font-size:11px;background:#f0f3eb;border-radius:5px;padding:5px 8px;color:#5c735e}.sidebar nav button{display:block;width:100%;text-align:left;color:#bdcfc3;background:transparent;border-radius:6px;margin:6px 0;padding:15px 12px;font-weight:400}.sidebar nav button[aria-current=page]{color:#f5f8f0;background:#2d5442}#editor{width:min(760px,calc(100% - 28px));max-height:90vh;padding:30px;border:1px solid #dce4d7;border-radius:16px;color:#213c37}#editor::backdrop{background:#12291f88;backdrop-filter:blur(3px)}#editor-error,#feedback{padding:13px 17px;border-radius:8px;background:#e8efe3;font-size:13px}#editor-error,.error{color:#873d2c!important;background:#fff0e9!important}.variant-row{display:grid;grid-template-columns:minmax(0,1fr) 125px auto;align-items:end;gap:10px;margin:16px 0}.variant-row label{margin:0}.variant-row select{font-size:12px}.variant-row button{margin-bottom:1px}.variant-tools{display:flex;gap:10px;margin:16px 0 22px;align-items:end}.variant-tools label{flex:1;margin:0}.break{overflow-wrap:anywhere}#editor-fields>p{font-size:12px;color:#748273}#editor-fields h3{margin-top:28px}.commerce-toolbar input{min-width:240px}.commerce-card .id{font-size:10px}.commerce-card .warning{color:#9b6c37}#list .empty{grid-column:1/-1;background:#fff;border-radius:14px;border:1px dashed var(--line);padding:60px 20px}@media(max-width:1100px){.commerce-list{grid-template-columns:1fr}.commerce-toolbar{flex-wrap:wrap}}@media(max-width:760px){.commerce-summary{padding:24px}.commerce-card{padding:22px}.commerce-toolbar{gap:18px}.commerce-toolbar form{width:100%}.commerce-toolbar form label{flex:1;min-width:0}.commerce-toolbar input{min-width:0}.sidebar nav{gap:5px}.sidebar nav button{width:auto;font-size:12px;padding:10px;margin:0}.variant-row{grid-template-columns:1fr 92px}.variant-row label:first-child{grid-column:1/-1}.variant-tools{flex-wrap:wrap}#editor{padding:22px}.login-layout .intro{padding:0}.login-layout .intro h2{font-size:26px}.commerce-stat{gap:18px}}

.commerce-stat{flex-wrap:wrap}.stock-preview{margin-top:22px;padding:0 16px;max-height:260px;overflow:auto;border-left:3px solid #d9c598}.stock-preview:empty{display:none}.stock-preview p{font-size:12px;line-height:1.8}.stock-preview .error{padding:8px;border-radius:6px}

@media(max-width:760px){.commerce-toolbar #search-form{flex:1 0 100%}}

.commerce-toolbar{align-items:flex-start}.commerce-toolbar form{flex-wrap:wrap;flex:1;gap:12px}.commerce-toolbar .card-actions{flex-shrink:0;margin-top:25px}.commerce-toolbar label{min-width:160px}.commerce-toolbar input{min-width:0}.commerce-toolbar form>label:first-child{min-width:240px;flex:1}#supply-order-detail{width:min(760px,calc(100% - 28px));max-height:90vh;padding:30px;border:1px solid var(--line);border-radius:16px;color:#213c37}#supply-order-detail::backdrop{background:#12291f88;backdrop-filter:blur(3px)}#order-detail-content p{font-size:13px;line-height:1.9;overflow-wrap:anywhere}#order-detail-content h3{margin-top:28px}.supply-next-step{padding:18px;background:#f0f3eb;border-radius:10px}#order-detail-error{padding:12px;color:#873d2c;background:#fff0e9;border-radius:8px}@media(max-width:760px){.commerce-toolbar form>label,.commerce-toolbar form>label:first-child{flex-basis:100%;min-width:0}.commerce-toolbar .card-actions{margin-top:0}#supply-order-detail{padding:22px}}

/* Supplier overview: all counters navigate to the matching owned collection. */
.overview-head{margin:0 0 24px}.overview-head p{font-size:12px;line-height:1.8;margin:4px 0}.overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.overview-metric{display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:left;border:1px solid var(--line);border-radius:14px;padding:24px;background:#fff;color:#2e5143;font-weight:400;min-width:0}.overview-metric strong{font-size:32px;line-height:1.2;font-weight:500}.overview-metric span:first-child{font-size:13px}.overview-metric span:last-child{font-size:11px;color:#748273;line-height:1.8}.overview-metric:hover{background:#f1f5ed;border-color:#9bb3a0}.overview-section-heading{margin:36px 0 20px}.overview-section-heading h3{margin:0 0 8px;font-size:21px}.overview-section-heading p{font-size:12px;margin:0}.overview-tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.overview-task{display:flex;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}.overview-task .overview-task-label{font-size:15px;color:#355346;margin:0}.overview-task-count{display:flex;gap:10px;align-items:baseline;margin:18px 0 6px}.overview-task-count strong{font-size:34px;font-weight:500;line-height:1.2}.overview-task-count span{font-size:12px;color:#748273}.overview-task>p{font-size:12px;line-height:1.9;color:#748273}.overview-task .card-actions{margin-top:auto;padding-top:16px}.overview-task.attention{background:#fbf8f1;border-color:#e4d8c2}.overview-task.attention .overview-task-count strong{color:#9b6c37}.overview-task.clear .overview-task-count strong{color:#8fa296}.overview-welcome,.overview-guide{padding:26px 30px;background:#edf2e9;border-radius:14px;margin-top:28px}.overview-welcome h3,.overview-guide h3{font-size:18px;margin-top:0}.overview-welcome p,.overview-guide p{font-size:13px;color:#748273;line-height:1.9}.overview-guide .card-actions,.overview-welcome .card-actions{margin-top:20px}#supplier-overview>.empty{padding:44px 20px;background:#fff;border:1px dashed var(--line);border-radius:14px;color:#748273}@media(max-width:1100px){.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-tasks{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.overview-metrics{gap:12px}.overview-metric{padding:20px 16px}.overview-metric strong{font-size:28px}.overview-tasks{grid-template-columns:1fr;gap:16px}.overview-task{padding:24px}.overview-welcome,.overview-guide{padding:24px}.overview-section-heading{margin-top:30px}}@media(prefers-reduced-motion:no-preference){.overview-metric{transition:background .18s ease,border-color .18s ease}}

.admission-layout{display:grid;grid-template-columns:1fr;gap:24px}.admission-panel{padding:28px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:20px;min-width:0}.admission-layout .admission-panel{margin-bottom:0}.admission-status{background:#f4f6ef}.admission-panel h2{font-size:24px;margin:12px 0}.admission-panel h3{font-size:18px}.admission-panel p{font-size:13px;line-height:1.9;overflow-wrap:anywhere}.admission-facts{display:grid;grid-template-columns:145px minmax(0,1fr);gap:14px;font-size:13px;line-height:1.8}.admission-facts dt{color:#748273}.admission-facts dd{margin:0;overflow-wrap:anywhere}.admission-note{padding:16px;background:#edf1e6;border-radius:8px}.admission-event{padding:20px 0;border-bottom:1px solid var(--line)}.admission-event strong{font-size:14px}.admission-categories{border:1px solid var(--line);border-radius:8px;margin:22px 0;padding:16px}.admission-categories label{display:flex;gap:12px;align-items:center}.admission-categories input{width:auto}.admission-history>.card-actions{margin-top:20px}#admission-detail{width:min(800px,calc(100% - 28px));max-height:90vh;padding:28px;border:1px solid var(--line);border-radius:16px;color:#213c37}#admission-detail::backdrop{background:#12291f88;backdrop-filter:blur(3px)}@media(max-width:760px){.admission-panel{padding:22px}.admission-facts{grid-template-columns:1fr;gap:5px}.admission-facts dd{margin-bottom:12px}#admission-detail{padding:18px}.admission-panel h2{font-size:21px}}

#settlement-detail{width:min(940px,calc(100% - 28px));max-height:90vh;padding:28px;border:1px solid var(--line);border-radius:16px;color:#213c37}#settlement-detail::backdrop{background:#12291f88;backdrop-filter:blur(3px)}#settlement-content{margin-top:24px}#settlement-error{padding:14px;background:#fff0e9;color:#873d2c;border-radius:8px}.settlement-filters{display:flex;gap:14px;flex-wrap:wrap;align-items:end;margin:20px 0}.settlement-filters label{min-width:180px;flex:1;margin:0}.settlement-bills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settlement-bills>.admission-panel{margin:0}.settlement-bills h2{font-size:28px}@media(max-width:760px){#settlement-detail{padding:18px}.settlement-bills{grid-template-columns:1fr}.settlement-filters label{flex-basis:100%}}

/* Platform linkage preserves the current list and opens focused business details. */
#platform-detail{width:min(920px,calc(100% - 28px));max-height:90vh;padding:28px;border:1px solid var(--line);border-radius:16px;color:#213c37}#platform-detail::backdrop{background:#12291f88;backdrop-filter:blur(3px)}#platform-content{margin-top:24px}#platform-error{padding:14px;background:#fff0e9;color:#873d2c;border-radius:8px}.platform-task{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.platform-task .card-actions{margin:0}.product-version{margin:22px 0;padding:20px;border:1px solid var(--line);border-radius:10px;background:#fafbf7}.product-version h4{margin:0;font-size:15px}.product-version summary{cursor:pointer;font-size:13px;padding-top:10px}.platform-sku{padding:18px 0;border-bottom:1px solid var(--line);font-size:13px}.platform-sku:last-child{border-bottom:0}.platform-sku .card-actions{margin-top:10px}.platform-sku strong{font-weight:500}#supplier-scope{margin-bottom:24px}#supplier-scope button{margin-left:16px}@media(max-width:760px){#platform-detail{padding:18px}.product-version{padding:16px}.platform-task{align-items:flex-start}.platform-task .card-actions{flex-shrink:0}#supplier-scope button{margin:12px 0 0}}

#platform-detail,#settlement-detail{max-width:calc(100% - 28px)}

#editor.publication-editor{width:1040px;max-width:calc(100% - 28px)}
.publication-versions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}
.publication-spec{white-space:pre-line;padding:16px 0;border-top:1px solid var(--border,#e7e9e3);font-size:14px;line-height:1.8}
.publication-ack{display:flex;align-items:flex-start;gap:12px;background:#f0f3ec;padding:18px;border-radius:12px;margin:24px 0}
.publication-ack input{width:18px;min-width:18px;margin-top:3px;order:-1}
@media(max-width:640px){.publication-versions{grid-template-columns:1fr}.publication-editor .admission-panel{padding:18px}}

#business-detail{width:min(980px,94vw);max-width:calc(100% - 28px);max-height:92vh}#business-content{gap:18px;margin-top:20px}#business-content>h3,#business-content>p{margin:0}.business-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.business-source{min-width:0}.business-source p{font-size:13px}#editor.sales-editor{width:1040px;max-width:calc(100% - 28px)}.business-spec-card{border:1px solid var(--line,#e4e7e5);border-radius:18px;padding:24px;background:#fff}.business-spec-card h3{margin:10px 0}.business-source{padding:18px;margin:16px 0;border-radius:12px;background:#f5f7f5}.business-source h4{margin:0 0 12px}.business-terms{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.variant-row{grid-template-columns:1fr 1.6fr 130px auto}@media(max-width:700px){.business-sources{grid-template-columns:1fr}.variant-row{grid-template-columns:1fr}.business-spec-card{padding:16px}.business-source{padding:14px}}

.product-points-dialog{width:min(820px,calc(100vw - 40px));max-height:85vh;overflow:auto;border:1px solid #ded6c8;border-radius:20px;padding:28px}.product-points-dialog::backdrop{background:#15243477}.product-points-dialog>button{float:right}

.sales-editor .variant-row{grid-template-columns:1fr 1.6fr 120px 160px auto}.sales-editor .variant-row label{min-width:0}@media(max-width:900px){.sales-editor .variant-row{grid-template-columns:1fr 1fr}.sales-editor .variant-row label:nth-child(2){grid-column:1/-1}}@media(max-width:600px){.sales-editor .variant-row{grid-template-columns:1fr}}

.admission-material{padding:16px 0;border-bottom:1px solid var(--line);min-width:0}.admission-material:last-child{border-bottom:0}.admission-material>label:last-child{flex-direction:column;align-items:stretch;gap:6px;font-size:12px;color:#748273}.admission-material input[type=text]{width:100%;min-width:0}.admission-material input:disabled{background:#f5f6f2;color:#98a18f}

#source-detail{width:min(900px,94vw);max-width:calc(100% - 28px);max-height:90vh;overflow:auto}#source-content{margin-top:22px;gap:14px}#source-content>h3,#source-content>p{margin:0}#source-content>.business-source{margin:0}#source-content .admission-event{padding:14px 0}#source-content .admission-event p{margin:5px 0;font-size:13px}#source-content .admission-event .id{font-size:11px}#source-content details{padding:12px 0}#source-content summary{cursor:pointer;font-size:13px}#source-content details .admission-panel{margin-top:16px}@media(max-width:760px){#source-detail{padding:18px}#source-detail .card-top h2{font-size:18px}#source-content{gap:12px}}

#manual-detail{width:min(900px,94vw);max-width:calc(100% - 28px);max-height:90vh;overflow:auto}#manual-content{margin-top:20px;gap:14px}#manual-content>h3,#manual-content>p{margin:0}#manual-content .eyebrow{margin-bottom:0}#manual-content .admission-event{padding:14px 0}#manual-content .admission-event p{margin:6px 0;font-size:13px;overflow-wrap:anywhere}.manual-target{padding:16px;background:#edf4ef;border:1px solid #cedccd;border-radius:12px;font-weight:600;overflow-wrap:anywhere}@media(max-width:760px){#manual-detail{padding:18px}#manual-detail .card-top h2{font-size:18px}}
#supplycare-detail{width:min(900px,94vw);max-width:calc(100% - 28px);max-height:90vh;overflow:auto}#supplycare-content{margin-top:20px;gap:14px}#supplycare-content>p,#supplycare-content>h3,#supplycare-content>.eyebrow{margin:0}#supplycare-content .admission-event p{margin:6px 0;font-size:13px;overflow-wrap:anywhere}#supplycare-content .admission-event{padding:14px 0}@media(max-width:760px){#supplycare-detail{padding:18px}}

/* Platform supply comparison: scan the current offer, open details for its history. */
.resource-mode .commerce-summary{padding:0;border:0;background:none;margin-bottom:20px}
.resource-mode .commerce-summary>.eyebrow{display:none}
.resource-mode .commerce-summary h2{font-size:23px;margin-bottom:6px}
.resource-mode .commerce-summary p:last-child{margin:0}
#list.supply-resource-list{display:block;min-width:0}
.resource-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:14px}
.resource-table-wrap:focus-visible{outline:3px solid #c5974d;outline-offset:3px}
.resource-table{width:100%;min-width:1080px;table-layout:auto}
.resource-table thead th{padding:14px 12px;background:#eef3ed;font-size:12px;color:#64776b;font-weight:500}
.resource-table tbody th,.resource-table td{padding:18px 12px;background:none;vertical-align:middle;white-space:normal;line-height:1.5}
.resource-table tbody tr:last-child th{border-bottom:0}
.resource-table tbody tr:hover,.resource-table tbody tr:focus-within{background:#f8faf6}
.resource-table .resource-product{min-width:190px;width:24%;font-weight:400}
.resource-product strong{display:block;font-size:14px;font-weight:550;color:#24473a}
.resource-table small,.resource-product small{display:block;margin:6px 0 0;color:#7c897f;font-size:11px;line-height:1.5}
.resource-table .resource-partner{min-width:108px;color:#5c6d63;font-size:12px}
.resource-table .resource-price{white-space:nowrap;min-width:88px;font-variant-numeric:tabular-nums}
.resource-price strong{font-size:16px;color:#2e5143;font-weight:550}
.resource-stock{min-width:104px}
.resource-reference{min-width:104px;font-variant-numeric:tabular-nums}
.resource-fee{min-width:92px;font-variant-numeric:tabular-nums}
.resource-cost{font-size:12px;color:#365649;font-variant-numeric:tabular-nums}
.resource-order-table .resource-product{min-width:210px;width:25%}
.resource-table .resource-order-id{font-size:10px;overflow-wrap:anywhere}
.resource-time{white-space:nowrap}
.resource-table .resource-state small{margin-top:7px}
.resource-main{display:block;font-size:12px;color:#365649}
.resource-status{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.resource-chip{display:inline-block;font-size:11px;line-height:1.4;padding:4px 7px;border-radius:5px;background:#eef2eb;color:#607263;white-space:nowrap}
.resource-chip.positive{background:#eaf3e9;color:#406846}
.resource-chip.neutral{background:#f0f1ef;color:#7a8278}
.resource-chip.attention{background:#faf0dd;color:#936735}
.resource-muted{color:#7c897f;font-size:12px}
.resource-table .resource-warning,.resource-warning{color:#936735}
.resource-table .resource-tools{width:72px;white-space:nowrap}
.resource-table .resource-detail-button{margin:0;background:none;color:#38634f;font-size:12px;padding:7px 8px;font-weight:500}
.resource-detail-button:hover{background:#edf3e9}
.resource-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#supply-resource-detail{width:min(760px,calc(100% - 28px));max-width:calc(100% - 28px);max-height:88vh;max-height:88dvh;padding:28px;overflow:auto}
#supply-resource-content{margin-top:22px}
.resource-detail-heading{padding-bottom:22px;border-bottom:1px solid var(--line)}
.resource-detail-heading h3{font-size:22px;margin:0}
.resource-detail-heading p{margin:8px 0 14px;font-size:13px;color:#7c897f}
.resource-detail-heading .resource-status{flex-direction:row;flex-wrap:wrap}
.resource-detail-section{padding:24px 0;border-bottom:1px solid var(--line)}
.resource-detail-section h3{font-size:15px;margin:0 0 18px}
.resource-detail-section p{font-size:12px;margin:12px 0 0}
.resource-detail-section .card-actions{margin-top:18px}
.resource-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.resource-amounts span{display:block;font-size:11px;color:#7c897f;margin-bottom:8px}
.resource-amounts strong{font-size:22px;font-weight:500;font-variant-numeric:tabular-nums}
.resource-facts{display:grid;grid-template-columns:135px minmax(0,1fr);gap:12px;margin:16px 0 0;font-size:12px;line-height:1.6}
.resource-facts dt{color:#7c897f}.resource-facts dd{margin:0;overflow-wrap:anywhere}
.resource-detail-note{margin:20px 0 0;color:#8b978b;font-size:11px}
@media(max-width:1400px){
 .resource-table{min-width:0;display:block}
 .resource-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .resource-table tbody{display:block}
 .resource-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px;padding:20px;border-bottom:1px solid var(--line)}
 .resource-table tbody tr:last-child{border-bottom:0}
 .resource-table tbody th,.resource-table td{padding:0;border:0;min-width:0;width:auto}
 .resource-table .resource-product{grid-column:1/-1;min-width:0;width:auto}
 .resource-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;color:#8b978b;margin-bottom:5px}
 .resource-table .resource-tools{width:auto;align-self:end;justify-self:end}
 .resource-table .resource-detail-button{background:#edf3e9;padding:9px 14px}
 .resource-status{gap:4px;flex-direction:row;flex-wrap:wrap}
}
@media(max-width:760px){
 .resource-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}
 #supply-resource-detail{padding:20px}
 .resource-amounts{gap:10px}.resource-amounts strong{font-size:19px}
 .resource-facts{grid-template-columns:110px minmax(0,1fr)}
}

.heading-links{display:flex;align-items:center;gap:18px;font-size:13px;flex-wrap:wrap}.heading-links a{color:#5e7966;text-decoration:none}.heading-links a:hover{text-decoration:underline}

.backoffice label.seller-declaration { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; line-height: 1.7; font-size: 13px; }
.backoffice .seller-declaration input[type="checkbox"] { width: 16px; height: 16px; flex: 0 0 16px; margin: 3px 0 0; }

.fuli-batch-preview .bo-table{min-width:0}

.fp-history-pages { display:flex; align-items:center; justify-content:flex-end; gap:16px; margin-top:20px; }
.fp-history-filters { flex-wrap:wrap; }
.fp-history-filters input[type="datetime-local"] { min-width:180px; }
