:root{font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:#182c39;background:#f3f6f8;font-size:16px;--ink:#14323e;--teal:#007d80;--line:#dfe7eb;--muted:#667985;--blue:#326ac2;--orange:#b96316}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);padding:10px 15px;border-radius:7px;background:white;color:var(--ink);font-size:14px;font-weight:600}button:hover{border-color:var(--teal);color:var(--teal)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--teal);border-color:var(--teal);color:white}button.danger{color:#b63e32}input,select,textarea{border:1px solid #ccd9df;border-radius:7px;padding:10px 12px;color:var(--ink);background:#fff;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #42adae;outline-offset:1px}textarea{width:100%;min-height:110px;line-height:1.7}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.8px;margin-bottom:9px}h2{font-size:19px;margin-bottom:8px}h3{font-size:16px}p{line-height:1.7}small,.muted{color:var(--muted)}small{font-size:13px}pre{font-size:13px;white-space:pre-wrap;word-break:break-word;background:#f3f6f8;padding:16px;max-height:350px;overflow:auto}label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#526773}label span{font-size:13px}nav button{border:0;background:none;text-align:left;color:#a6bdc8;font-weight:400;width:100%;padding:13px 16px;margin-bottom:4px;border-radius:6px}nav button.active{background:#264755;color:#fff;border-left:3px solid #5cd0c1}nav button:hover{background:#203f4c;color:white}.layout{display:grid;grid-template-columns:228px 1fr;min-height:100vh}.sidebar{background:#132f3c;padding:29px 18px;color:white;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-weight:600;font-size:20px;margin-bottom:38px;padding:0 10px}.mark{display:grid;place-items:center;width:34px;height:34px;background:#46b9b1;color:#092e37;border-radius:7px;font-size:22px}.nav-label{font-size:12px;color:#7896a5;letter-spacing:2px;margin:22px 15px 9px}.side-bottom{margin-top:auto;font-size:13px;color:#a6bdc8;padding:20px 10px 0;border-top:1px solid #34505b}.side-bottom strong{display:block;color:white;font-size:14px;margin-bottom:6px}.main{min-width:0}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:white;border-bottom:1px solid var(--line);gap:20px}.breadcrumb{font-size:14px;color:#768794}.top-actions,.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.content{padding:30px 36px;max-width:1750px;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin:0 0 22px}.page-heading p{margin-bottom:0;color:var(--muted);font-size:14px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--teal);margin-bottom:9px;font-weight:700}.badge{display:inline-block;padding:4px 9px;border-radius:4px;background:#e7f3f2;color:#176d65;font-size:12px;white-space:nowrap}.badge.warn{background:#fff0d7;color:#8e5b0f}.badge.bad{background:#fde9e6;color:#a44334}.badge.gray{background:#edf1f5;color:#5f7280}.notice{border-left:3px solid #d89b3b;background:#fff8e9;padding:14px 18px;margin-bottom:22px;font-size:14px;color:#855c24;line-height:1.7}.notice.info{background:#eaf3f7;border-color:#4b9db7;color:#3a6273}.notice button{padding:4px 9px;margin-left:12px;background:transparent}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.card{background:white;border:1px solid var(--line);border-radius:9px;padding:22px}.card .label{color:#526c78;font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.card .value{font-size:31px;font-weight:650;font-variant-numeric:tabular-nums;margin:17px 0 9px;letter-spacing:-.8px}.card .unit{font-size:13px;color:var(--muted);font-weight:400;margin-left:8px;letter-spacing:0}.card small{line-height:1.6}.card.accent{border-top:3px solid var(--teal)}.panel{background:white;border:1px solid var(--line);border-radius:9px;padding:23px;margin-bottom:22px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.panel-head h2{margin-bottom:4px}.grid-two{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stats-row .card{padding:19px}.stats-row .value{font-size:25px}.mini-table{width:100%;border-collapse:collapse}.mini-table td{padding:13px 0;border-bottom:1px solid #edf1f3;font-size:14px}.mini-table td:last-child{text-align:right;font-variant-numeric:tabular-nums}.table-wrap{overflow:auto}table.data{width:100%;border-collapse:collapse;font-size:14px}table.data th{text-align:left;background:#f5f8fa;color:#6b7e8b;font-weight:500;padding:13px 12px;white-space:nowrap;border-bottom:1px solid var(--line)}table.data td{padding:13px 12px;border-bottom:1px solid #edf1f3;line-height:1.5}table.data td.number,table.data th.number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}table.data tbody tr:hover{background:#f8fbfc}table.data td.entity{min-width:170px;max-width:290px}table.data .actions{white-space:nowrap}table.data button{padding:5px 9px;font-size:13px}.pager{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:14px;color:var(--muted)}.empty{text-align:center;padding:56px 20px;color:#7a8c99;line-height:1.9}.empty strong{display:block;color:#405b6a;font-size:20px;margin-bottom:8px}.legend{display:flex;gap:18px;align-items:center;font-size:12px;color:#72838e}.dot{display:inline-block;width:8px;height:8px;background:var(--teal);border-radius:50%;margin-right:6px}.dot.blue{background:#75a4c3}.chart{width:100%;height:250px;display:block}.bar-label{display:flex;justify-content:space-between;margin:15px 0 7px;font-size:13px;gap:12px}.bar-track{height:8px;background:#edf2f5;border-radius:4px;overflow:hidden;display:flex}.bar-stock{background:#008b87}.bar-direct{background:#86b0cb}.rank-list{margin-top:20px}.rank-row{margin-bottom:20px}.rank-row .bar-label{font-size:14px}.number-label{width:20px;color:#8496a2;font-size:12px;display:inline-block}.coverage{display:flex;flex-direction:column;gap:14px}.coverage-line{display:flex;justify-content:space-between;font-size:14px}.coverage-line strong{font-weight:500}.upload-zone{padding:42px;border:2px dashed #bacfd5;border-radius:8px;background:#f7fbfc;text-align:center;margin:20px 0}.upload-zone label{align-items:center}.upload-zone input{max-width:100%}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field-grid .wide{grid-column:1/-1}.form-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}dialog{border:0;padding:0;border-radius:12px;box-shadow:0 30px 90px #0f293854;width:min(850px,94vw);max-height:90vh}dialog::backdrop{background:#0b26385e;backdrop-filter:blur(2px)}#modal-content{padding:28px;max-height:90vh;overflow:auto}.dialog-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}.dialog-heading h2{margin-top:6px}#toast{position:fixed;right:28px;bottom:25px;z-index:100;background:#153e46;color:white;padding:15px 20px;border-radius:8px;box-shadow:0 10px 25px #17374326;max-width:550px;display:none;white-space:pre-wrap}.login{max-width:440px;margin:10vh auto;padding:38px;background:white;border:1px solid var(--line);border-radius:12px}.login .brand{color:var(--ink);margin-bottom:26px;padding:0}.login form{display:grid;gap:20px}.login p{font-size:14px;color:var(--muted)}.boot{padding:80px;text-align:center}.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.work-column{background:#eaf0f4;border-radius:8px;padding:16px}.work-card{padding:17px;background:#fff;border:1px solid var(--line);border-radius:7px;margin-top:12px;cursor:pointer}.work-card h3{line-height:1.6}.work-card p{font-size:13px;color:var(--muted);max-height:65px;overflow:hidden}.work-card small{font-size:12px}.report-body{line-height:1.9;white-space:pre-wrap;font-size:15px}.report-grid{display:grid;grid-template-columns:300px 1fr;gap:22px}.report-list button{display:block;width:100%;text-align:left;margin-bottom:10px;padding:18px;line-height:1.7}.source-cell{font-family:ui-monospace,monospace;font-size:13px}.pill-tabs{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}.pill-tabs button.selected{color:var(--teal);border-color:var(--teal);background:#e6f4f2}.list-line{border-bottom:1px solid var(--line);padding:16px 0;display:flex;justify-content:space-between;gap:20px}.list-line p{font-size:14px;margin:5px 0}.progress{height:7px;background:#e6eef2;border-radius:8px;overflow:hidden}.progress div{height:100%;background:#168f8e;transition:width .2s}.thumbnail{width:38px;height:38px;display:inline-grid;place-items:center;color:#8399a7;background:#edf3f6;border:1px dashed #beccd4;border-radius:5px;margin-right:9px;font-size:12px}details{font-size:14px}summary{cursor:pointer;color:var(--teal)}.error-box{color:#a94332;background:#fff0ee;padding:13px;margin-bottom:15px;white-space:pre-wrap;line-height:1.6}.footer-note{font-size:12px;color:#8b9ca6;margin-top:25px;text-align:right}.negative{color:#a85136}@media(max-width:1100px){.layout{grid-template-columns:190px 1fr}.content{padding:24px}.topbar{padding:0 24px}.grid-two{grid-template-columns:1fr}.cards{gap:12px}.card{padding:17px}.card .value{font-size:25px}.stats-row{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.layout{display:block}.sidebar{position:relative;width:100%;height:auto;padding:16px}.sidebar .brand{margin:0 0 15px}.sidebar nav{display:flex;overflow:auto}.sidebar nav button{white-space:nowrap;width:auto}.nav-label,.side-bottom{display:none}.topbar{height:auto;min-height:65px;padding:12px 18px}.breadcrumb{display:none}.content{padding:20px 15px}.cards{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}.work-grid,.report-grid,.field-grid{grid-template-columns:1fr}.field-grid .wide{grid-column:auto}.card .value{font-size:30px}.work-column{min-height:100px}.toolbar input{max-width:100%}.login{margin:5vh 15px}}@media print{.sidebar,.topbar,.toolbar,.page-heading button,.no-print,#toast{display:none!important}.layout{display:block}.content{padding:0}.panel,.card{break-inside:avoid}.report-grid{display:block}.report-list{display:none}.notice{background:white}body{background:white;color:black}}

.metric-link{border:0;background:transparent;padding:0!important;color:var(--teal);font:inherit;text-align:inherit;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px}.metric-link:hover{background:#eaf5f3;color:#005d60}.metric-link:focus-visible{outline:2px solid var(--teal);outline-offset:4px}

.supplier-cards{grid-template-columns:repeat(5,minmax(0,1fr))}.supplier-cards .value{font-size:26px}@media(max-width:1250px){.supplier-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.supplier-cards{grid-template-columns:1fr}}

.supplier-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.supplier-tag-library{display:flex;gap:14px;flex-wrap:wrap}.supplier-tag-library>div{padding:10px;border:1px solid var(--line);border-radius:7px}.supplier-tag-options{display:flex;gap:18px;flex-wrap:wrap}.supplier-tag-options label{flex-direction:row;align-items:center}

.order-buttons{display:inline-flex;gap:4px;margin-right:10px}.order-buttons button{padding:5px 10px}.order-buttons button:disabled{opacity:.3;cursor:default}.supplier-share strong{font-size:30px;color:var(--accent,#246b55)}.supplier-share p{margin:8px 0}

.import-file-config{text-align:left;margin:16px 0;padding:16px;border:1px solid #d9e3e6;border-radius:10px}.import-file-config legend{font-weight:600;overflow-wrap:anywhere}.import-file-config input{width:auto}

.product-label-identity{overflow-wrap:anywhere}.product-label-options{display:grid;gap:10px;margin:18px 0 22px}#product-label-form label.product-label-option{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:7px;cursor:pointer}#product-label-form .product-label-option input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-width:18px;margin:0;padding:0;accent-color:var(--teal)}.product-label-option span{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}.product-label-option small{color:var(--muted);font-weight:normal}

.order-upload-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.order-upload-entries .upload-zone{min-width:0}.order-upload-entries h3{margin-top:0}@media(max-width:700px){.order-upload-entries{grid-template-columns:1fr}}

.work-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}.work-images figure{margin:0;min-width:0}.work-images img{width:100%;height:160px;object-fit:contain;border:1px solid #ddd;border-radius:8px}.work-images figcaption{overflow-wrap:anywhere;font-size:13px}

.work-card{cursor:default}
.work-card .work-current-situation{font-size:18px;color:#172b3a;line-height:1.85;font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;overflow:visible;margin:16px 0}
#work-form textarea[name="body"]{font-size:18px;color:#172b3a;line-height:1.85;font-weight:500}
.work-list-images{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));margin:16px 0 20px;gap:18px}
.work-list-images img{height:220px;background:#f7f9fb}
.work-list-images figcaption{color:#405565;margin-top:6px}
@media(max-width:480px){.work-list-images{grid-template-columns:1fr}}

.work-list-images{grid-template-columns:repeat(auto-fill,110px);gap:14px}.work-list-images img{width:110px;height:110px}.work-list-images figcaption{font-size:12px}

#work-image-preview{width:fit-content;max-width:94vw;max-height:94vh;padding:16px;border:0;border-radius:12px;overflow:auto}
#work-image-preview::backdrop{background:rgba(0,0,0,.72)}
.work-image-preview-bar{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:12px;font-size:16px;color:#172b3a}
#work-image-preview>img{display:block;max-width:calc(94vw - 32px);max-height:calc(94vh - 100px);width:auto;height:auto;object-fit:contain;margin:auto}
