/* V1 operational workspaces: procurement, suppliers, production, profit and documents */
.login-screen{position:fixed;inset:0;z-index:300;background:#eef2f1;display:grid;grid-template-columns:minmax(360px,1fr) minmax(420px,1.12fr);min-height:100vh}.login-brand{background:#103f37;color:#fff;padding:58px clamp(34px,6vw,92px);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.login-brand:after{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-210px;bottom:-240px;box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.018)}.login-logo{display:flex;align-items:center;gap:14px;position:relative;z-index:1}.login-logo .brand-mark{background:#fff}.login-logo strong{font-size:24px}.login-logo small{display:block;color:#a9c8c1;margin-top:3px}.login-copy{max-width:560px;position:relative;z-index:1}.login-copy span{display:inline-flex;padding:6px 10px;border:1px solid rgba(255,255,255,.18);border-radius:20px;color:#bcd3ce;font-size:12px}.login-copy h1{font-size:clamp(32px,4vw,54px);line-height:1.15;margin:22px 0 15px;letter-spacing:-.04em}.login-copy p{font-size:16px;line-height:1.8;color:#c7d9d5;max-width:510px}.login-points{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:32px}.login-points div{border-top:1px solid rgba(255,255,255,.15);padding-top:12px}.login-points b{display:block;font-size:14px}.login-points small{color:#9fbdb6}.login-foot{color:#91ada7;font-size:12px;position:relative;z-index:1}.login-panel{display:grid;place-items:center;padding:32px}.login-card{width:min(420px,100%);background:#fff;border:1px solid #dfe6e3;border-radius:20px;padding:34px;box-shadow:0 24px 70px rgba(18,63,55,.1)}.login-card h2{font-size:25px;margin:0 0 7px}.login-card>p{color:var(--muted);font-size:13px;margin:0 0 25px}.login-card label{display:block;color:#52635e;font-size:13px;margin:15px 0}.login-card input{display:block;width:100%;height:45px;border:1px solid var(--line);border-radius:10px;margin-top:7px;padding:0 12px;font:inherit;outline:none}.login-card input:focus{border-color:var(--brand2);box-shadow:0 0 0 3px rgba(35,123,106,.09)}.login-card button{height:46px;width:100%;border:0;border-radius:10px;background:var(--brand);color:#fff;font:inherit;font-weight:650;cursor:pointer;margin-top:8px}.login-card .login-hint{background:#f3f7f5;border-radius:10px;padding:11px 12px;margin-top:16px;font-size:12px;color:#64746f}.metric-band{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:15px}.metric-band>div{padding:15px 17px;border-right:1px solid var(--line)}.metric-band>div:last-child{border:0}.metric-band small{display:block;color:var(--muted);font-size:12px}.metric-band strong{display:block;font-size:21px;margin-top:5px}.metric-band em{font-style:normal;font-size:11px;color:#2d7b68}.business-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}.business-toolbar .filters{display:flex;gap:7px;flex-wrap:wrap}.toolbar-search{height:37px;width:240px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 11px;font:inherit;font-size:13px}.table-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.table-card table{width:100%;border-collapse:collapse}.table-card th{background:#f6f8f7;color:#6b7975;font-size:11px;font-weight:600;text-align:left;padding:11px 13px;white-space:nowrap}.table-card td{padding:13px;border-top:1px solid var(--line);font-size:13px;vertical-align:middle}.table-card tbody tr{cursor:pointer}.table-card tbody tr:hover{background:#f8fbfa}.table-card .num{text-align:right;font-variant-numeric:tabular-nums}.table-primary{font-weight:650;color:var(--ink)}.table-secondary{display:block;color:var(--muted);font-size:11px;margin-top:3px}.status.green{background:#e5f3ed;color:#25705e}.status.gray{background:#edf0ef;color:#65716e}.status.purple{background:#eeeafb;color:#6751a0}.status.red{background:#faeaea;color:#a84747}.progress-cell{min-width:120px}.progress-line{height:6px;background:#e8eeec;border-radius:8px;overflow:hidden;margin-top:6px}.progress-line i{display:block;height:100%;background:var(--brand2);border-radius:8px}.pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.pagination div{display:flex;gap:5px}.pagination button{height:29px;min-width:29px;border:1px solid var(--line);background:#fff;border-radius:7px;color:#5e6e69}.pagination button.active{background:var(--brand);color:#fff;border-color:var(--brand)}.entity-hero{background:linear-gradient(120deg,#fff,#f1f7f5);border:1px solid #dce7e3;border-radius:16px;padding:19px;margin-bottom:15px}.entity-hero-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.entity-id{display:flex;gap:13px}.entity-icon{width:48px;height:48px;border-radius:13px;background:#deeee9;color:var(--brand);display:grid;place-items:center;font-weight:750}.entity-id h1{font-size:21px;margin:0 0 4px}.entity-id p{font-size:13px;color:var(--muted);margin:0}.entity-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-top:17px}.entity-metrics div{background:rgba(255,255,255,.9);padding:12px}.entity-metrics small{display:block;color:var(--muted);font-size:11px}.entity-metrics strong{display:block;margin-top:4px;font-size:15px}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:15px}.stack-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;margin-bottom:14px}.stack-card h3{font-size:15px;margin:0 0 13px}.kv-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 18px}.kv{padding:9px 0;border-bottom:1px solid var(--line)}.kv small{display:block;color:var(--muted);font-size:11px}.kv b{display:block;margin-top:3px;font-size:13px}.link-card{padding:12px;border-radius:10px;background:#eff6f4;margin-top:10px;font-size:12px}.link-card b{display:block;color:var(--brand);margin-bottom:3px}.task-board{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:12px;overflow:auto;padding-bottom:8px}.task-lane{background:#e9efed;border-radius:13px;padding:10px;min-height:470px}.task-lane>header{display:flex;justify-content:space-between;align-items:center;padding:6px 5px 11px}.task-lane>header b{font-size:13px}.task-lane>header span{background:#fff;border-radius:15px;padding:2px 8px;font-size:11px}.task-card{background:#fff;border:1px solid #dce5e2;border-radius:11px;padding:12px;margin-bottom:9px;cursor:pointer}.task-card:hover{border-color:#9ebcb4;box-shadow:0 7px 18px rgba(18,63,55,.07)}.task-card .task-top{display:flex;justify-content:space-between;gap:8px}.task-card .task-code{color:var(--brand);font-size:11px;font-weight:700}.task-card h3{font-size:14px;margin:9px 0 3px}.task-card p{color:#5d6d68;font-size:12px;margin:0}.product-chip{display:flex;align-items:center;gap:9px;background:#f6f8f7;border-radius:9px;padding:8px;margin:10px 0}.product-thumb{width:38px;height:38px;border-radius:8px;background:linear-gradient(135deg,#d8e4e1,#f6d49c);display:grid;place-items:center;color:#49635c;font-size:11px;font-weight:700}.task-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:10px}.risk-text{color:#aa4949!important;font-weight:650}.profit-highlight{color:#237563}.profit-warning{color:#bd741d}.profit-danger{color:#aa3d3d}.profit-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,.6fr);gap:15px;margin-bottom:15px}.profit-chart{height:260px;display:flex;align-items:flex-end;gap:16px;padding:26px 12px 6px;border-bottom:1px solid var(--line)}.profit-month{flex:1;height:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px;position:relative}.profit-month i{display:block;width:18px;border-radius:5px 5px 0 0;background:#d6e6e1}.profit-month i:last-of-type{background:#2a806d}.profit-month span{position:absolute;bottom:-24px;font-size:10px;color:var(--muted)}.donut-wrap{display:grid;place-items:center;padding:18px 0}.donut{width:152px;height:152px;border-radius:50%;background:conic-gradient(#1f7562 0 42%,#4c91b4 42% 66%,#e0ad45 66% 83%,#9c6ac0 83% 100%);display:grid;place-items:center}.donut:after{content:"渠道";width:88px;height:88px;background:#fff;border-radius:50%;display:grid;place-items:center;color:var(--muted);font-size:12px}.legend-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:12px}.legend-list span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--dot);margin-right:6px}.report-catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.report-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;cursor:pointer;transition:.16s}.report-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(18,63,55,.07);border-color:#b7cdc7}.report-card .report-icon{width:38px;height:38px;border-radius:10px;background:#e8f2ef;color:var(--brand);display:grid;place-items:center;font-weight:700}.report-card h3{font-size:14px;margin:13px 0 5px}.report-card p{font-size:12px;color:var(--muted);margin:0}.document-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:15px}.document-list{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px}.document-item{width:100%;border:0;background:transparent;border-radius:9px;padding:11px;text-align:left;cursor:pointer;margin-bottom:3px}.document-item:hover,.document-item.active{background:#edf5f2}.document-item b{display:block;font-size:13px}.document-item small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.document-preview-shell{background:#dfe4e2;border-radius:14px;padding:24px;overflow:auto}.a4-sheet{width:794px;min-height:1123px;margin:auto;background:#fff;box-shadow:0 12px 35px rgba(28,45,40,.15);padding:48px 54px;color:#26332f}.doc-brand{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:3px solid var(--brand);padding-bottom:17px}.doc-brand h1{font-size:25px;letter-spacing:.12em;margin:0}.doc-brand p{margin:5px 0 0;color:#6e7b77;font-size:12px}.doc-no{text-align:right}.doc-no b{display:block;color:var(--brand)}.doc-title{text-align:center;font-size:25px;letter-spacing:.2em;margin:30px 0 22px}.doc-info{display:grid;grid-template-columns:1fr 1fr;border:1px solid #bbc7c3;border-bottom:0}.doc-info div{padding:8px 10px;border-bottom:1px solid #bbc7c3;font-size:12px}.doc-info div:nth-child(odd){border-right:1px solid #bbc7c3}.doc-table{width:100%;border-collapse:collapse;font-size:12px}.doc-table th,.doc-table td{border:1px solid #bbc7c3;padding:9px;text-align:left}.doc-table th{background:#edf3f1}.doc-table td.num{text-align:right}.doc-require{border:1px solid #bbc7c3;border-top:0;padding:12px;font-size:12px;line-height:1.75}.doc-sign{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:55px;font-size:12px}.doc-sign div{border-bottom:1px solid #62706b;padding-bottom:34px}.doc-foot{text-align:center;color:#7a8682;font-size:10px;margin-top:45px}.back-link{border:0;background:transparent;color:var(--brand);font:inherit;font-size:13px;cursor:pointer;padding:0;margin-bottom:10px}.doc-actions{display:flex;gap:8px;flex-wrap:wrap}.section-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-title-row h2{font-size:16px;margin:0}.empty-action{display:grid;place-items:center;min-height:180px;color:var(--muted);text-align:center}.mobile-card-list{display:none}
@media(max-width:1100px){.metric-band{grid-template-columns:repeat(2,1fr)}.workspace-grid,.profit-grid{grid-template-columns:1fr}.report-catalog{grid-template-columns:repeat(2,1fr)}.entity-metrics{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.login-screen{grid-template-columns:1fr}.login-brand{display:none}.login-panel{padding:16px}.metric-band{grid-template-columns:1fr 1fr}.metric-band>div:nth-child(even){border-right:0}.business-toolbar{align-items:stretch;flex-direction:column}.toolbar-search{width:100%}.table-card{overflow:auto}.entity-hero-top{display:block}.entity-hero .head-actions{margin-top:12px}.entity-metrics{grid-template-columns:1fr 1fr}.workspace-grid{grid-template-columns:1fr}.report-catalog{grid-template-columns:1fr}.document-layout{grid-template-columns:1fr}.document-list{display:flex;overflow:auto}.document-item{min-width:210px}.document-preview-shell{padding:10px}.a4-sheet{transform-origin:top left;transform:scale(.52);margin-bottom:-520px}.doc-actions{margin-top:12px}}
@media print{body>*:not(.app-shell){display:none!important}.sidebar,.topbar,.page-head,.document-list{display:none!important}.main{margin:0}.content{padding:0}.document-layout{display:block}.document-preview-shell{padding:0;background:#fff}.a4-sheet{box-shadow:none;margin:0;width:210mm;min-height:297mm}.app-shell{display:block}}

/* Sales order payment and simplified product entry */
.payment-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:13px 15px 3px}.payment-form-grid label{font-size:11px;color:var(--muted);margin-bottom:10px}.payment-form-grid input,.payment-form-grid select{display:block;width:100%;border:1px solid var(--line);border-radius:9px;padding:8px 9px;margin-top:4px;font:inherit;font-size:12px;color:var(--ink);background:#fff}.is-hidden{display:none!important}.simple-draft-fields{grid-template-columns:.75fr 1.3fr 1fr 1.2fr 1fr .5fr .65fr .7fr}.simple-suborder-table{min-width:1180px}.order-hero .hero-metrics{grid-template-columns:repeat(6,1fr)}.receipt-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:15px}.receipt-summary>div{background:#f8faf9;padding:13px}.receipt-summary small{display:block;color:var(--muted);font-size:11px}.receipt-summary strong{display:block;margin-top:5px;font-size:16px}.receipt-table{overflow:auto}.receipt-table table{min-width:850px}
@media(max-width:1000px){.payment-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-draft-fields{grid-template-columns:repeat(4,1fr)}.order-hero .hero-metrics{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.payment-form-grid{grid-template-columns:1fr 1fr}.simple-draft-fields{grid-template-columns:1fr 1fr}.receipt-summary{grid-template-columns:1fr 1fr}.order-hero .hero-metrics{grid-template-columns:1fr 1fr}}

/* Denser multi-product order entry */
.sales-order-modal .product-draft-section .draft-section-title{padding:9px 13px}.sales-order-modal .product-draft-section .draft-items{padding:7px}.sales-order-modal .product-draft-section .draft-item{grid-template-columns:94px minmax(0,1fr) 34px;gap:8px;padding:8px;margin-bottom:6px;border-radius:9px}.sales-order-modal .product-draft-section .draft-photo{height:68px;border-width:1px;border-radius:8px}.sales-order-modal .product-draft-section .draft-photo-empty i{font-size:18px;margin:0}.sales-order-modal .product-draft-section .draft-photo-empty b{font-size:10px}.sales-order-modal .product-draft-section .draft-photo-empty small{display:none}.sales-order-modal .product-draft-section .draft-photo-actions{gap:3px}.sales-order-modal .product-draft-section .draft-photo-actions button{height:22px;font-size:9px}.sales-order-modal .simple-draft-fields{gap:5px}.sales-order-modal .simple-draft-fields label{font-size:9px}.sales-order-modal .simple-draft-fields input,.sales-order-modal .simple-draft-fields select{height:29px;padding:4px 6px;margin-top:2px;font-size:11px}.sales-order-modal .simple-draft-fields .wide-note{grid-column:span 4}.sales-order-modal .product-draft-section .draft-line-total{height:29px;padding:6px 8px;font-size:11px}.sales-order-modal .product-draft-section .draft-row-actions{gap:4px}.sales-order-modal .product-draft-section .draft-row-actions button{width:29px;height:29px}.simple-suborder-table td{padding:5px 6px}.simple-suborder-table input,.simple-suborder-table select{padding:4px;font-size:11px}.simple-suborder-table .item-photo{width:48px;height:38px}.payment-reminder,.payment-cleared{display:block;font-size:11px;margin-top:5px;white-space:nowrap}.payment-reminder{color:#b44c4c;font-weight:650}.payment-cleared{color:#4a8576}.payment-filter{background:#fff3e6!important;border-color:#efd6b7!important;color:#a86717!important}
.collection-alert{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff8ed;border:1px solid #efd8b7;border-radius:12px;padding:11px 14px;margin-bottom:12px}.collection-alert>div{display:flex;align-items:center;gap:11px}.collection-alert>div>span{width:34px;height:34px;border-radius:9px;background:#f6dfbc;color:#996019;display:grid;place-items:center;font-weight:700}.collection-alert p{margin:0}.collection-alert b{display:block;font-size:13px;color:#765019}.collection-alert small{display:block;color:#9a7549;font-size:11px;margin-top:3px}
@media(max-width:700px){.sales-order-modal .product-draft-section .draft-item{grid-template-columns:70px minmax(0,1fr) 30px}.sales-order-modal .product-draft-section .draft-photo{height:58px}.sales-order-modal .simple-draft-fields{grid-template-columns:1fr 1fr}.sales-order-modal .simple-draft-fields .wide-note{grid-column:1/-1}}

/* Browser-like business workspaces */
.workspace-tabs{position:sticky;top:72px;z-index:18;display:flex;align-items:flex-end;gap:4px;min-height:43px;padding:7px 28px 0;background:rgba(238,242,240,.96);border-bottom:1px solid #d9e1de;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;backdrop-filter:blur(10px)}
.workspace-tab{flex:0 0 auto;max-width:220px;height:35px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid transparent;border-bottom:0;border-radius:10px 10px 0 0;background:transparent;color:#6b7975;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.workspace-tab:hover{background:#e5ece9;color:#27473f}.workspace-tab.active{background:#fff;color:var(--brand);border-color:#d9e1de;box-shadow:0 -3px 10px rgba(18,63,55,.035)}
.workspace-tab>span{width:20px;height:20px;display:grid;place-items:center;border-radius:6px;background:#dce9e5;color:#2c6e5e;font-size:10px;font-weight:750}.workspace-tab.active>span{background:#d9eee8}
.workspace-tab>b{max-width:148px;overflow:hidden;text-overflow:ellipsis;font-weight:600}.workspace-tab>i{width:18px;height:18px;display:grid;place-items:center;margin-left:2px;border-radius:5px;font-size:15px;font-style:normal;color:#87928f}.workspace-tab>i:hover{background:#dbe4e1;color:#324f47}

/* Full-page sales order entry: no modal boundaries, more horizontal room */
.full-order-host{width:100%}.full-order-surface{display:block!important;width:100%;max-height:none;overflow:visible;border-radius:0;background:transparent;box-shadow:none}
.full-order-surface>.modal-head{display:none}.full-order-surface form{padding:0}.full-order-surface .draft-section{box-shadow:0 4px 16px rgba(21,58,50,.025)}
.full-order-surface .order-form-grid{grid-template-columns:1.35fr repeat(4,minmax(120px,1fr))}.full-order-surface .payment-form-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}
.full-order-surface .simple-draft-fields{grid-template-columns:.8fr 1.25fr 1fr 1.3fr 1fr .5fr .65fr .72fr}
.full-order-surface .sales-modal-actions{margin:14px 0 0;border:1px solid var(--line);border-radius:12px;bottom:12px;box-shadow:0 9px 24px rgba(18,63,55,.08)}
.purchase-entry-card{padding:0;overflow:hidden}.purchase-entry-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;background:#f6f8f7;border-bottom:1px solid var(--line)}.purchase-entry-heading b{display:block;font-size:14px}.purchase-entry-heading small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.purchase-entry-heading>span{font-size:11px;color:#8a9793}.purchase-entry-surface{padding:18px}.purchase-page-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.purchase-page-grid label:nth-child(4),.purchase-page-grid label:nth-child(5){grid-column:span 2}.purchase-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:9px;padding-top:15px;border-top:1px solid var(--line)}.purchase-page-actions>span{margin-right:auto;color:var(--muted);font-size:11px}

@media(max-width:1000px){.workspace-tabs{padding-left:20px;padding-right:20px}.full-order-surface .order-form-grid{grid-template-columns:repeat(3,1fr)}.full-order-surface .payment-form-grid{grid-template-columns:repeat(2,1fr)}.full-order-surface .simple-draft-fields{grid-template-columns:repeat(4,1fr)}.purchase-page-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.workspace-tabs{top:62px;min-height:40px;padding:5px 14px 0}.workspace-tab{height:34px;max-width:175px}.workspace-tab>b{max-width:105px}.full-order-surface .order-form-grid,.full-order-surface .payment-form-grid{grid-template-columns:1fr 1fr}.full-order-surface .simple-draft-fields{grid-template-columns:1fr 1fr}.full-order-surface .sales-modal-actions{bottom:7px}.purchase-entry-surface{padding:14px}.purchase-page-grid{grid-template-columns:1fr}.purchase-page-grid label:nth-child(4),.purchase-page-grid label:nth-child(5){grid-column:auto}.purchase-page-actions>span{display:none}.content{padding-top:16px}}

/* Customer-linked product history and refined image picker */
.customer-product-history.history-expanded{flex-wrap:wrap;background:#f8faff;border-color:#dbe4f0}.history-expanded .history-sku-list{flex:1 0 100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;max-height:260px;overflow:auto}.history-sku-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e5e9ef;border-radius:8px;padding:12px}.history-sku-list article>div{min-width:0}.history-sku-list b{display:block;font-size:13px;overflow-wrap:anywhere}.history-sku-list small{display:block;margin-top:4px;color:#64748b;font-size:11px;overflow-wrap:anywhere}.history-sku-list button{flex-shrink:0}
.customer-product-history{display:flex;align-items:center;gap:11px;margin:2px 2px 10px;padding:11px 12px;border:1px solid #dce5e2;border-radius:10px;background:#f7faf9}.customer-product-history.has-history{border-color:#c7ded7;background:#eef7f4}.history-symbol{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#fff;color:var(--brand);font-size:18px;font-weight:700;box-shadow:0 2px 8px rgba(18,63,55,.06)}.history-copy{min-width:0;flex:1}.history-copy b{display:block;font-size:12px;color:#2a403a}.history-copy small{display:block;margin-top:2px;color:var(--muted);font-size:11px;white-space:normal}.customer-product-history select{width:min(390px,42%);height:36px;border:1px solid #bdd4cd;border-radius:9px;background:#fff;padding:0 10px;color:var(--ink);font:inherit;font-size:12px}
.sales-order-modal .product-draft-section .draft-item{grid-template-columns:124px minmax(0,1fr) 34px;gap:12px;padding:11px 10px 11px 12px;border-color:#dce5e2;box-shadow:0 3px 12px rgba(18,63,55,.025)}.sales-order-modal .product-draft-section .draft-item:hover{border-color:#bfd2cc}.sales-order-modal .product-draft-section .draft-photo{height:94px;border:1px solid #cfddd9;border-radius:10px;background:linear-gradient(145deg,#f5faf8,#eaf3f0)}.sales-order-modal .product-draft-section .draft-photo:hover,.sales-order-modal .product-draft-section .draft-photo.is-dragging{border-color:#3f8a78;background:#e5f2ee;box-shadow:0 0 0 3px rgba(46,125,106,.1)}.sales-order-modal .product-draft-section .draft-photo.has-image{background:#fff;border-style:solid}.sales-order-modal .product-draft-section .draft-photo img{object-fit:contain;padding:4px}.sales-order-modal .product-draft-section .draft-photo-empty i{width:28px;height:28px;display:grid;place-items:center;margin:0 auto 5px;border-radius:8px;background:#dcece7;color:#236c5c;font-size:18px;font-style:normal}.sales-order-modal .product-draft-section .draft-photo-empty b{font-size:11px;color:#315c51}.sales-order-modal .product-draft-section .draft-photo-empty small{display:block;margin-top:2px;font-size:9px;color:#81918c}.photo-ready{position:absolute;right:5px;top:5px;padding:2px 5px;border-radius:5px;background:rgba(20,83,69,.88);color:#fff;font-size:9px}.sales-order-modal .product-draft-section .draft-photo-actions{gap:5px}.sales-order-modal .product-draft-section .draft-photo-actions button{height:28px;border-radius:7px;font-size:10px}.sales-order-modal .product-draft-section .draft-photo-actions .photo-upload-btn{background:#eaf4f1;border-color:#c7ddd6;color:#216b5b;font-weight:650}.sales-order-modal .product-draft-section .draft-photo-actions button:disabled{opacity:.42;cursor:not-allowed}
.sales-order-modal .simple-draft-fields{grid-template-columns:1.1fr 1.35fr 1fr 1.3fr 1fr .55fr .65fr .72fr;gap:7px}.sales-order-modal .simple-draft-fields label{font-size:10px}.sales-order-modal .simple-draft-fields input,.sales-order-modal .simple-draft-fields select{height:31px}.full-order-surface .simple-draft-fields{grid-template-columns:1.1fr 1.35fr 1fr 1.3fr 1fr .55fr .65fr .72fr}
.customer-product-library{display:grid;gap:9px}.customer-product-library article{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:13px;padding:10px;border:1px solid var(--line);border-radius:11px;background:#fbfcfc}.customer-product-library article:hover{border-color:#bdd2cb;background:#f7faf9}.history-product-photo{width:68px;height:58px;border-radius:9px;overflow:hidden;display:grid;place-items:center;background:#edf3f1;color:#7a8984;font-size:10px}.history-product-photo img{width:100%;height:100%;object-fit:contain;background:#fff}.history-product-info{min-width:0}.history-product-info>span{display:inline-flex;padding:3px 7px;border-radius:12px;background:#e7f2ee;color:#2d735f;font-size:10px}.history-product-info b{display:block;margin-top:5px;font-size:13px}.history-product-info small,.history-product-info em{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-style:normal}.history-product-info em{color:#6a7b76}
@media(max-width:1000px){.sales-order-modal .simple-draft-fields,.full-order-surface .simple-draft-fields{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.customer-product-history{align-items:flex-start;flex-wrap:wrap}.customer-product-history select{width:100%}.sales-order-modal .product-draft-section .draft-item{grid-template-columns:88px minmax(0,1fr) 30px;gap:8px;padding:9px}.sales-order-modal .product-draft-section .draft-photo{height:76px}.sales-order-modal .product-draft-section .draft-photo-empty small{display:none}.sales-order-modal .simple-draft-fields,.full-order-surface .simple-draft-fields{grid-template-columns:1fr 1fr}.customer-product-library article{grid-template-columns:58px minmax(0,1fr)}.history-product-photo{width:58px;height:52px}.customer-product-library article>.outline-btn{grid-column:2;justify-self:start}}

/* Bluecloud-inspired single-page order entry: flatter sections, compact rows and a persistent working rhythm. */
.bluecloud-entry .draft-section{border-radius:8px;box-shadow:0 2px 10px rgba(31,72,63,.045)}
.bluecloud-entry .draft-section-title{background:#f6f9f8;padding:11px 14px}
.bluecloud-entry .draft-section-title b{color:#21453b}
.bluecloud-entry .order-form-grid{background:#fff}
.bluecloud-entry .product-draft-section .draft-items{background:#fbfcfc;padding:8px}
.bluecloud-entry .product-draft-section .draft-item{border-radius:7px;box-shadow:none;background:#fff}
.bluecloud-entry .product-draft-section .draft-item:hover{box-shadow:0 3px 12px rgba(31,72,63,.08);transform:translateY(-1px)}
.bluecloud-entry .customer-product-history{margin:0 0 8px;border-radius:7px;padding:9px 11px}
.bluecloud-entry .history-copy b{font-size:12px}
.bluecloud-entry .history-sku-list article{border-radius:6px;padding:9px 10px}
.bluecloud-entry .draft-summary{border-radius:8px;background:#f4f8f6}
.bluecloud-entry .sales-modal-actions{border-radius:8px;background:#f3f7f5}
.bluecloud-entry .sales-modal-actions .primary-btn{min-width:132px}
.bluecloud-entry-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 10px;padding:12px 15px;background:#fff;border:1px solid #dce8e3;border-radius:8px}
.bluecloud-entry-intro b{display:block;color:#21453b;font-size:15px}
.bluecloud-entry-intro span{display:block;margin-top:2px;color:#7a8c86;font-size:11px}
.bluecloud-entry-hint{display:flex;align-items:center;gap:7px;color:#71827c;font-size:11px;white-space:nowrap}
.bluecloud-entry-hint i{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#dcece6;color:#236c5c;font-style:normal;font-weight:700}
@media(max-width:760px){.bluecloud-entry-intro{align-items:flex-start;flex-direction:column;gap:9px}.bluecloud-entry-hint{white-space:normal;flex-wrap:wrap}}

/* Sales workbench: records and line-item detail, without profit data */
.sales-view-tabs{display:flex;align-items:center;gap:4px;margin-bottom:13px;padding:4px;border:1px solid var(--line);border-radius:11px;background:#e9efed;width:max-content}.sales-view-tabs button{height:34px;padding:0 17px;border:0;border-radius:8px;background:transparent;color:#64736e;font:inherit;font-size:13px;cursor:pointer}.sales-view-tabs button.active{background:#fff;color:var(--brand);font-weight:700;box-shadow:0 2px 8px rgba(18,63,55,.08)}.sales-toolbar{align-items:center}.sales-batch-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}.sales-batch-actions>span{font-size:12px;color:var(--muted)}.sales-batch-actions b{color:var(--brand)}.data-table .num{text-align:right;font-variant-numeric:tabular-nums}.sales-record-table{min-width:1280px}.sales-detail-table{min-width:1380px}.sales-row-actions{display:flex;align-items:center;gap:4px}.sales-row-actions button{height:28px;padding:0 7px;border:0;border-radius:6px;background:transparent;color:#47615a;font:inherit;font-size:11px;cursor:pointer}.sales-row-actions button:hover{background:#eaf3f0;color:var(--brand)}.sales-row-actions .danger-link{color:#a44b4b}.sales-row-actions .danger-link:hover{background:#faeaea;color:#9b3434}.product-type-tag{display:inline-flex;padding:4px 8px;border-radius:8px;background:#edf4f2;color:#326f60;font-size:11px}.danger-btn{height:38px;padding:0 13px;border:1px solid #e2bcbc;border-radius:9px;background:#fff;color:#a14444;font:inherit;font-size:12px;cursor:pointer}.danger-btn:hover{background:#fff1f1;border-color:#d89999}.sales-order-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;background:#fff;border:1px solid #dce5e2;border-radius:16px;padding:18px 19px;margin-bottom:14px;box-shadow:0 5px 18px rgba(18,63,55,.035)}.sales-order-title{display:flex;align-items:center;gap:13px}.sales-order-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:#dfeee9;color:var(--brand);font-weight:750}.sales-order-title small{color:var(--muted);font-size:11px}.sales-order-title h1{font-size:22px;margin:2px 0}.sales-order-title p{margin:0;color:#697873;font-size:12px}.sales-order-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.sales-order-facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,1fr);gap:1px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--line)}.sales-order-facts>div{padding:11px 13px;background:#f8faf9}.sales-order-facts small{display:block;color:var(--muted);font-size:11px}.sales-order-facts strong{display:block;margin-top:4px;font-size:15px}.sales-order-workarea{width:100%;min-width:0}.order-meta{grid-template-columns:repeat(5,1fr)}.order-meta.editing{border-color:#78aa9d;box-shadow:0 0 0 3px rgba(43,124,105,.09)}
@media(max-width:1100px){.sales-order-head{grid-template-columns:1fr}.sales-order-actions{justify-content:flex-start}.sales-order-facts{grid-column:1}.sales-order-facts{grid-template-columns:repeat(3,1fr)}.order-meta{grid-template-columns:repeat(3,1fr)}.sales-toolbar{align-items:flex-start;flex-direction:column}.sales-batch-actions{width:100%;justify-content:flex-end}}
@media(max-width:700px){.sales-view-tabs{width:100%}.sales-view-tabs button{flex:1}.sales-order-facts{grid-template-columns:1fr 1fr}.sales-order-actions .status{order:-1}.sales-order-actions{gap:6px}.sales-order-actions .outline-btn,.sales-order-actions .danger-btn{flex:1;padding:0 8px}.order-meta{grid-template-columns:1fr}.sales-batch-actions{justify-content:space-between}.sales-batch-actions .outline-btn{height:36px}}

/* Expandable sales records with lifecycle and compound filters */
.sales-summary em{display:block;font-style:normal;color:#ad4a4a;font-size:12px;margin-top:4px}.sales-workbench-nav{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:12px}.sales-workbench-nav .sales-view-tabs{margin:0;flex:none}.sales-record-status-tabs{display:flex;align-items:center;gap:5px;padding:4px;background:#fff;border:1px solid var(--line);border-radius:11px}.sales-record-status-tabs button{height:34px;display:flex;align-items:center;gap:7px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:#61716c;font:inherit;font-size:13px;cursor:pointer}.sales-record-status-tabs button b{min-width:20px;padding:2px 6px;border-radius:10px;background:#edf1f0;color:#7a8783;font-size:11px}.sales-record-status-tabs button:hover{background:#f2f6f5}.sales-record-status-tabs button.active{background:var(--brand);color:#fff;font-weight:700}.sales-record-status-tabs button.active b{background:rgba(255,255,255,.18);color:#fff}
.sales-filter-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 14px 0;margin-bottom:13px;box-shadow:0 3px 12px rgba(18,63,55,.025)}.sales-search-box{height:42px;display:flex;align-items:center;gap:9px;border:1px solid #cfd9d6;border-radius:10px;padding:0 12px;background:#fafcfb}.sales-search-box:focus-within{border-color:#74a99d;box-shadow:0 0 0 3px rgba(43,124,105,.08);background:#fff}.sales-search-box span{font-size:20px;color:#6b7b76;line-height:1}.sales-search-box input{flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:14px;color:var(--ink)}.sales-filter-grid{display:grid;grid-template-columns:repeat(6,minmax(125px,1fr)) auto;gap:8px;align-items:end;padding:11px 0}.sales-filter-grid label{display:block;color:#60706b;font-size:12px}.sales-filter-grid select,.sales-filter-grid input{display:block;width:100%;height:36px;margin-top:4px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:13px}.clear-sales-filters{height:36px;margin-bottom:0}.sales-filter-result{min-height:42px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.sales-filter-result>span b{color:var(--brand);font-size:14px}
.sales-record-table{min-width:1420px}.sales-record-table .expand-col{width:38px}.sales-record-table tbody tr.is-expanded{background:#f3f8f6}.sales-record-table tbody tr.is-voided{opacity:.68}.row-expand{width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;background:#fff;color:#5b7069;font:700 19px/1 sans-serif;cursor:pointer;transition:.18s}.row-expand:hover{border-color:#8bb3a8;color:var(--brand)}.row-expand.open{transform:rotate(90deg);background:#e7f1ee;border-color:#a8c5bd}.sales-expand-row>td{padding:0!important;background:#eef4f2;border-top:0!important}.sales-expand-row:hover{background:#eef4f2!important}.expanded-sales-order{padding:14px 18px 16px 56px;cursor:default}.expanded-order-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:9px}.expanded-order-grid section{display:flex;flex-direction:column;gap:3px;min-height:92px;padding:11px 13px;background:#fff;border:1px solid #dce6e3;border-radius:10px}.expanded-order-grid small{color:var(--muted);font-size:11px}.expanded-order-grid b{font-size:14px}.expanded-order-grid span{color:#62716d;font-size:12px;line-height:1.5}.expanded-product-list{margin-top:9px;background:#fff;border:1px solid #dce6e3;border-radius:10px;overflow:hidden}.expanded-product-head{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:#f8faf9;font-size:12px;color:#667570}.expanded-product-head b{color:var(--ink)}.expanded-product-row{display:grid;grid-template-columns:28px minmax(155px,1.2fr) 105px 135px minmax(190px,1.2fr) 150px 120px;gap:10px;align-items:center;padding:9px 12px;border-top:1px solid var(--line);font-size:12px}.expanded-product-row em{justify-self:start;padding:3px 7px;border-radius:7px;background:#edf4f2;color:#326f60;font-style:normal;font-size:11px}.expanded-product-row .num{text-align:right}.expanded-order-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:10px}.expanded-order-actions button{height:34px}.sales-empty-result{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--muted)}.sales-empty-result b{color:var(--ink);font-size:15px}.sales-empty-result button{margin-top:5px}
@media(max-width:1250px){.sales-filter-grid{grid-template-columns:repeat(3,1fr)}.clear-sales-filters{justify-self:start}.sales-workbench-nav{align-items:flex-start;flex-direction:column}.expanded-product-row{grid-template-columns:26px 1.3fr 95px 120px 1fr 135px 110px}}
@media(max-width:760px){.sales-record-status-tabs{width:100%;overflow:auto}.sales-record-status-tabs button{flex:none}.sales-filter-grid{grid-template-columns:1fr 1fr}.sales-filter-result{align-items:flex-start;flex-direction:column;padding:10px 0}.sales-batch-actions{width:100%}.expanded-sales-order{padding:11px}.expanded-order-grid{grid-template-columns:1fr}.expanded-product-list{overflow:auto}.expanded-product-row{min-width:850px}.expanded-order-actions{justify-content:flex-start;flex-wrap:wrap}}

.receipt-quick-actions{display:flex;gap:4px;margin-top:6px}.receipt-quick-actions button{height:25px;padding:0 7px;border:1px solid #c9d9d5;border-radius:6px;background:#fff;color:#316c5e;font:inherit;font-size:11px;cursor:pointer}.receipt-quick-actions button:last-child{background:#e7f3ef;border-color:#b8d4cc;font-weight:700}.receipt-quick-actions button:hover{border-color:#70a596}.combined-order-info{display:grid;gap:14px}.combined-order-info>section{padding:16px;border:1px solid var(--line);border-radius:13px;background:#fff}.combined-order-info .panel-head{margin-bottom:14px}.receipt-head-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.combined-receipt-table{margin-top:12px}.combined-receipt-table tfoot td{background:#f6f9f8;font-weight:600}.empty-receipt-row td{text-align:center!important;color:var(--muted);padding:28px!important}.receipt-form-hint{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 12px;margin-bottom:16px;padding:12px 14px;border-radius:11px;background:#eef6f3;color:#5c6d67}.receipt-form-hint span{font-size:12px}.receipt-form-hint b{font-size:20px;color:var(--brand)}.receipt-form-hint small{grid-column:1/-1;font-size:12px}.field-grid input[readonly]{background:#f2f5f4;color:#42534e;font-weight:700}
@media(max-width:760px){.receipt-head-actions{width:100%}.receipt-head-actions button{flex:1}.combined-order-info>section{padding:12px}.receipt-quick-actions{flex-direction:column}.receipt-quick-actions button{width:76px}}

/* Sales order stays customer-facing; operational work moves to production */
.sales-focus-note{display:flex;align-items:center;gap:10px;margin:4px 0 12px;padding:10px 13px;border:1px solid #cfe1dc;border-radius:11px;background:#f0f7f5;color:#426059}.sales-focus-note span{flex:0 0 auto;padding:4px 8px;border-radius:7px;background:#d9ebe6;color:var(--brand);font-size:11px;font-weight:700}.sales-focus-note p{margin:0;font-size:12px}.compact-order-tabs{overflow-x:auto;white-space:nowrap}.sales-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:5px 2px}.sales-info-grid label{font-size:11px;color:var(--muted)}.sales-info-grid input,.sales-info-grid select,.sales-info-grid textarea{display:block;width:100%;margin-top:5px;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:12px;resize:vertical}.sales-info-grid select{height:39px;padding:0 10px}.sales-info-grid input:focus,.sales-info-grid select:focus,.sales-info-grid textarea:focus{outline:0;border-color:#4c9482;box-shadow:0 0 0 3px rgba(43,124,105,.09)}.sales-info-grid input:disabled{background:#f3f6f5;color:#53635e}.sales-info-grid .span-all{grid-column:1/-1}
.sales-row-actions .restore-link{color:#176b59;font-weight:700}.sales-row-actions .restore-link:hover{background:#e7f3ef}.quiet-danger{background:transparent;border-color:#ead4d4;color:#996060}.daily-facts{grid-template-columns:1.35fr 1.35fr repeat(3,1fr)}.daily-facts>div{min-height:82px}.daily-facts .fact-primary{background:#f1f8f6}.daily-facts .fact-primary.needs-action{background:#fff7eb}.daily-facts strong .status{font-size:12px}.daily-facts em{display:block;margin-top:5px;color:var(--muted);font-size:11px;font-style:normal}.daily-action-bar,.void-order-banner{display:flex;align-items:center;gap:9px;margin:0 0 13px;padding:13px 15px;border:1px solid #cbded8;border-radius:13px;background:#f1f8f6}.daily-action-bar>div,.void-order-banner>div{min-width:220px;margin-right:auto}.daily-action-bar small{display:block;margin-bottom:3px;color:#5b716a;font-size:11px;font-weight:700}.daily-action-bar b,.void-order-banner b{display:block;font-size:14px}.void-order-banner{border-color:#e8caca;background:#fff4f4}.void-order-banner span{display:block;margin-top:3px;color:#806464;font-size:12px}.order-basic-details{margin-bottom:13px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.order-basic-details summary{display:flex;align-items:center;gap:10px;padding:12px 15px;cursor:pointer;list-style:none}.order-basic-details summary::-webkit-details-marker{display:none}.order-basic-details summary:after{content:'展开';margin-left:auto;color:var(--brand);font-size:12px}.order-basic-details[open] summary:after{content:'收起'}.order-basic-details summary span{font-weight:700}.order-basic-details summary small{color:var(--muted);font-size:12px}.order-basic-details .customer-archive-note{margin:0 14px 10px}.order-basic-details .order-meta{margin:0 14px 14px}.workflow-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:0;background:transparent;border:0;width:100%;overflow:visible}.workflow-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#5d6d68}.workflow-tabs button i{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#e7eeec;color:#59716a;font-size:11px;font-style:normal}.workflow-tabs button.active{border-color:var(--brand);background:#e9f4f1;color:var(--brand);font-weight:700}.workflow-tabs button.active i{background:var(--brand);color:#fff}
@media(max-width:900px){.daily-facts{grid-template-columns:1fr 1fr}.daily-facts>div:last-child{grid-column:1/-1}.daily-action-bar{flex-wrap:wrap}.daily-action-bar>div{width:100%}.workflow-tabs{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.sales-order-head{padding:14px}.sales-order-title{align-items:flex-start}.sales-order-actions{grid-column:1/-1;justify-content:flex-start}.sales-order-actions button{flex:1}.daily-facts{grid-template-columns:1fr 1fr}.daily-facts .fact-primary{grid-column:span 1}.daily-action-bar,.void-order-banner{align-items:stretch;flex-direction:column}.daily-action-bar>div,.void-order-banner>div{min-width:0;margin:0}.daily-action-bar button,.void-order-banner button{width:100%}.order-basic-details summary{align-items:flex-start;flex-wrap:wrap}.order-basic-details summary small{width:100%}.workflow-tabs button{justify-content:flex-start;padding:0 10px}.order-basic-details .order-meta{grid-template-columns:1fr}}

/* Formal sales order preview for printing, image export and customer sharing */
.sales-share-stage{min-height:760px;padding:28px;border:1px solid #dce5e2;border-radius:15px;background:#e9eeec;overflow:auto}.sales-share-sheet{width:1120px;min-height:790px;margin:0 auto;padding:46px 52px 35px;background:#fff;box-shadow:0 15px 40px rgba(22,51,44,.11);color:#15231f}.share-brand{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:17px;padding-bottom:18px;border-bottom:2px solid #245a4d}.share-logo{width:72px;height:58px;display:grid;place-items:center;border-radius:14px 4px 14px 4px;background:#154f43;color:#fff;font-size:20px;font-weight:750;letter-spacing:.08em}.share-brand h1{margin:0;font-size:25px;letter-spacing:.12em}.share-brand p{margin:5px 0 0;color:#6d7a76;font-size:11px;letter-spacing:.08em}.share-order-no{text-align:right}.share-order-no small,.share-order-no span{display:block;color:#7b8884;font-size:10px}.share-order-no b{display:block;margin:3px 0 5px;color:#154f43;font-size:16px}.sales-share-sheet>h2{margin:22px 0 18px;text-align:center;font-size:25px;letter-spacing:.45em}.share-customer{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;border:1px solid #9aa8a3;border-bottom:0}.share-customer>div{padding:9px 11px;border-right:1px solid #bcc6c2;border-bottom:1px solid #9aa8a3}.share-customer>div:nth-child(4){border-right:0}.share-customer .wide{grid-column:1/-1;border-right:0}.share-customer small{display:block;color:#71807b;font-size:10px}.share-customer b{display:block;margin-top:3px;font-size:12px}.share-items{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}.share-items th,.share-items td{padding:8px 7px;border:1px solid #9aa8a3;vertical-align:middle;word-break:break-word}.share-items th{background:#eaf2ef;color:#294a42;font-weight:700}.share-items th:nth-child(1){width:42px}.share-items th:nth-child(2){width:150px}.share-items th:nth-child(5),.share-items th:nth-child(6){width:52px}.share-items th:nth-child(7),.share-items th:nth-child(8){width:78px}.share-items th:nth-child(9){width:120px}.share-items td.num,.share-items th.num{text-align:right}.share-items td small{display:block;margin-top:3px;color:#7e8986}.share-product{display:flex;align-items:center;gap:7px}.share-product img{width:42px;height:34px;object-fit:contain;border:1px solid #dce4e1;border-radius:5px}.share-total{display:grid;grid-template-columns:minmax(0,1fr) 310px;border:1px solid #9aa8a3;border-top:0}.share-notes{padding:13px}.share-notes b{font-size:11px;color:#39554e}.share-notes p{margin:6px 0 0;color:#53645f;font-size:11px;line-height:1.65}.share-amounts{border-left:1px solid #9aa8a3}.share-amounts span{display:flex;justify-content:space-between;padding:7px 10px;border-bottom:1px solid #d2d9d6;font-size:11px}.share-amounts span:last-child{border-bottom:0}.share-amounts .grand{padding:10px;color:#154f43;font-size:14px}.share-payment{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #9aa8a3;border-top:0}.share-payment>div{min-height:52px;padding:9px 11px;border-right:1px solid #9aa8a3}.share-payment>div:last-child{border-right:0}.share-payment small{display:block;color:#74817d;font-size:10px}.share-payment b{display:block;margin-top:4px;font-size:11px}.share-terms{margin-top:16px;padding:12px 15px;border:1px solid #d3dcda;border-radius:7px;background:#fafcfb}.share-terms>b{font-size:11px;color:#315149}.share-terms ol{margin:6px 0 0;padding-left:18px;color:#64726e;font-size:10px;line-height:1.7}.sales-share-sheet footer{display:flex;justify-content:space-between;margin-top:25px;padding-top:12px;border-top:1px solid #d3dcd9;color:#74817d;font-size:10px}

@media(max-width:900px){.sales-info-grid{grid-template-columns:1fr 1fr}.sales-share-stage{padding:12px}.sales-share-sheet{transform-origin:top left;transform:scale(.68);margin-bottom:-250px}}
@media(max-width:600px){.sales-info-grid{grid-template-columns:1fr}.sales-info-grid .span-all{grid-column:auto}.sales-share-sheet{transform:scale(.42);margin-bottom:-450px}.sales-share-stage{min-height:520px}}
@media print{.workspace-tabs{display:none!important}.sales-share-stage{padding:0;border:0;background:#fff;overflow:visible}.sales-share-sheet{width:210mm;min-height:297mm;padding:14mm 12mm;box-shadow:none;transform:none!important;margin:0!important}.sales-share-sheet .share-brand h1{font-size:20px}.sales-share-sheet>h2{font-size:21px}}

/* Production management V21 */
.production-control{display:grid;grid-template-columns:auto minmax(280px,1fr) 135px 135px 145px;gap:9px;align-items:center;margin:14px 0;padding:11px;background:#fff;border:1px solid var(--line);border-radius:14px}.production-modes{display:flex;padding:3px;border-radius:9px;background:#edf2f0}.production-modes button{height:34px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#65746f;font:inherit;font-size:12px;cursor:pointer}.production-modes button.active{background:#fff;color:var(--brand);font-weight:700;box-shadow:0 2px 7px rgba(18,63,55,.09)}.production-search{height:40px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #d2dcd9;border-radius:9px;background:#fafcfb}.production-search:focus-within{border-color:#72a99b;background:#fff;box-shadow:0 0 0 3px rgba(43,124,105,.08)}.production-search span{color:#70807b;font-size:19px}.production-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:13px}.production-control select{height:40px;padding:0 9px;border:1px solid #d2dcd9;border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:12px}.production-board{display:grid;grid-template-columns:repeat(6,minmax(245px,1fr));gap:10px;align-items:start;overflow-x:auto;padding-bottom:10px}.production-lane{min-width:245px;border:1px solid #dce5e2;border-radius:14px;background:#eef3f1;overflow:hidden}.production-lane>header{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #dce5e2;background:#f7f9f8}.production-lane>header div{display:flex;align-items:center;gap:8px}.production-lane>header i{width:8px;height:8px;border-radius:50%;background:#cf9233}.production-lane:nth-child(2)>header i{background:#4386a7}.production-lane:nth-child(3)>header i{background:#865ca3}.production-lane:nth-child(4)>header i{background:#d07238}.production-lane:nth-child(5)>header i{background:#3f8a68}.production-lane>header b{font-size:13px}.production-lane>header span{min-width:24px;padding:3px 7px;border-radius:12px;background:#e2e9e6;color:#61706b;text-align:center;font-size:11px}.production-lane-body{display:grid;gap:9px;padding:9px;min-height:170px}.production-card{padding:11px;border:1px solid #d9e2df;border-radius:11px;background:#fff;box-shadow:0 3px 9px rgba(18,63,55,.035);cursor:pointer;transition:.16s}.production-card:hover{border-color:#87b1a6;transform:translateY(-1px);box-shadow:0 7px 16px rgba(18,63,55,.08)}.production-card.urgent{border-left:3px solid #d95d55}.production-card-top{display:flex;align-items:center;gap:5px}.production-card-top .status{margin-left:auto}.production-card-top em,.production-detail-head em{padding:3px 6px;border-radius:6px;background:#ffe8e5;color:#b84c44;font-size:10px;font-style:normal;font-weight:700}.production-type{display:inline-flex;padding:3px 7px;border-radius:6px;background:#e7f2ee;color:#2e725f;font-size:10px;font-weight:700}.production-type.sample{background:#fff1dc;color:#9b671d}.production-type.repeat{background:#eceafa;color:#6355a2}.production-customer{margin:10px 0 8px}.production-customer b{display:block;font-size:14px}.production-customer small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.production-product{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:9px;padding:8px;border-radius:9px;background:#f5f8f7}.production-product b,.production-product span{display:block}.production-product b{font-size:12px}.production-product span{margin-top:2px;color:#75837f;font-size:10px}.production-photo{width:52px;height:48px;display:grid;place-items:center;border:1px solid #dce5e2;border-radius:8px;overflow:hidden;background:#fff}.production-photo img{width:100%;height:100%;object-fit:contain}.production-photo-empty{background:linear-gradient(145deg,#e0eee9,#f5f9f7);color:#477166;text-align:center}.production-photo-empty b{display:block;font-size:12px}.production-photo-empty small{font-size:9px}.production-photo.large{width:78px;height:72px}.production-qty{display:grid;grid-template-columns:repeat(3,1fr);margin:9px 0 7px;border:1px solid #e1e8e6;border-radius:8px;overflow:hidden}.production-qty span{padding:6px 4px;border-right:1px solid #e1e8e6;color:#71807b;text-align:center;font-size:9px}.production-qty span:last-child{border:0}.production-qty b{display:block;margin-top:2px;color:var(--ink);font-size:12px}.production-card-foot{display:flex;justify-content:space-between;margin-top:8px;color:#697873;font-size:10px}.production-empty{display:grid;place-items:center;min-height:110px;border:1px dashed #cedbd7;border-radius:10px;color:#89958f;font-size:11px}.production-list table{min-width:1080px}.production-open{height:30px}.production-detail-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;margin-bottom:15px;padding:13px;border-radius:12px;background:#f4f8f6}.production-detail-head h2{margin:6px 0 2px;font-size:18px}.production-detail-head p{margin:0;color:var(--muted);font-size:11px}.production-detail-metrics{margin-top:0}.production-detail-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin-top:13px}.production-detail-grid section{padding:13px;border:1px solid var(--line);border-radius:11px}.production-detail-grid h3{margin:0 0 10px;font-size:13px}.production-detail-grid label{display:block;margin-top:8px;color:#61716c;font-size:11px}.production-detail-grid input{width:100%;height:36px;margin-top:4px;padding:0 9px;border:1px solid var(--line);border-radius:8px;font:inherit}.production-detail-grid button{margin-top:10px}.production-flow{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin:16px 0}.production-flow div{position:relative;text-align:center;color:#8b9793;font-size:10px}.production-flow div:after{content:'';position:absolute;top:14px;left:60%;width:80%;height:2px;background:#dbe4e1}.production-flow div:last-child:after{display:none}.production-flow i{position:relative;z-index:1;width:28px;height:28px;display:grid;place-items:center;margin:0 auto 5px;border-radius:50%;background:#e5ebe9;font-style:normal;font-weight:700}.production-flow .active{color:#236b5b;font-weight:700}.production-flow .active i{background:#1f715f;color:#fff}.production-flow .done i{background:#bcd9d1;color:#236b5b}.production-form .field-grid{grid-template-columns:repeat(4,1fr)}.production-form textarea{min-height:72px}.production-form .span-2{grid-column:span 2}
@media(max-width:1150px){.production-control{grid-template-columns:auto 1fr repeat(2,130px)}.production-control select:last-child{grid-column:4}.production-board{grid-template-columns:repeat(6,240px)}.production-form .field-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.production-control{grid-template-columns:1fr 1fr}.production-modes,.production-search{grid-column:1/-1}.production-board{grid-template-columns:repeat(6,225px)}.production-detail-grid{grid-template-columns:1fr}.production-flow{overflow-x:auto;grid-template-columns:repeat(6,90px)}.production-form .field-grid{grid-template-columns:1fr}.production-form .span-2{grid-column:auto}}

/* V22 small-team overview and reconciliation */
.small-team-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:15px}.small-kpi{min-width:0;padding:16px;border:1px solid var(--line);border-top:3px solid #4d927f;border-radius:13px;background:#fff}.small-kpi.order{border-top-color:#4d7fae}.small-kpi.profit{border-top-color:#46a06f}.small-kpi.warn{border-top-color:#d99a37}.small-kpi.danger{border-top-color:#cb6460}.small-kpi.work{border-top-color:#815fa3}.small-kpi small,.small-kpi span{display:block;color:var(--muted);font-size:11px}.small-kpi strong{display:block;margin:8px 0 5px;font-size:21px;white-space:nowrap}.small-team-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:14px;margin-bottom:14px}.simple-stage-list{display:grid;gap:6px}.simple-stage-list>button{width:100%;display:grid;grid-template-columns:90px minmax(0,1fr) 60px;align-items:center;gap:9px;padding:9px;border:0;border-bottom:1px solid #edf1ef;background:#fff;text-align:left;cursor:pointer}.simple-stage-list>button:hover{background:#f6f9f8}.simple-stage-list b,.simple-stage-list small{display:block}.simple-stage-list b{font-size:13px}.simple-stage-list small{margin-top:2px;color:var(--muted);font-size:11px}.simple-stage-list strong{text-align:right;font-size:12px}.today-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.today-actions button{min-height:80px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f7f9f8;color:var(--ink);text-align:left;cursor:pointer}.today-actions button:hover{border-color:#9dbcb3;background:#fff}.today-actions b{display:block;color:var(--brand);font-size:22px}.today-actions span{display:block;margin-top:4px;color:var(--muted);font-size:11px}.dashboard-receipts .panel-head>b{color:var(--brand);font-size:18px}.supplier-statement-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px;padding:19px;border:1px solid #dce6e3;border-radius:15px;background:linear-gradient(120deg,#fff,#f1f7f5)}.supplier-statement-head small{color:var(--brand);font-weight:700}.supplier-statement-head h1{margin:4px 0;font-size:23px}.supplier-statement-head p{margin:0;color:var(--muted);font-size:12px}.supplier-statement-actions{display:flex;gap:7px;flex-wrap:wrap}.supplier-reconcile-list table,.supplier-ledger table{min-width:1050px}.supplier-open{height:31px}.statement-period{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line)}.statement-period b{font-size:14px}.statement-period span{color:var(--muted);font-size:12px}.supplier-ledger tfoot td{background:#f5f8f7}.payment-value{color:#28755f}.statement-note{display:flex;gap:12px;margin-top:12px;padding:12px 14px;border:1px solid #d7e5e1;border-radius:10px;background:#f2f8f6;color:#586c66;font-size:12px}.statement-note b{flex:none;color:var(--brand)}.production-order-items{margin-top:13px;padding:13px;border:1px solid var(--line);border-radius:11px;background:#fff}.production-order-items .section-title-row{margin-bottom:8px}.production-order-items .section-title-row h3{font-size:13px}.production-order-items .section-title-row span{color:var(--muted);font-size:10px}.production-order-items article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #edf1ef}.production-order-items article:last-child{border-bottom:0}.production-order-items img,.production-mini-photo{width:42px;height:38px;object-fit:contain;border:1px solid var(--line);border-radius:7px}.production-mini-photo{display:grid;place-items:center;background:#edf4f2;color:var(--brand);font-weight:700}.production-order-items b,.production-order-items small,.production-order-items span{display:block}.production-order-items b{font-size:12px}.production-order-items small,.production-order-items span{margin-top:2px;color:var(--muted);font-size:10px}.production-order-items article>strong{font-size:12px}
@media(max-width:1200px){.small-team-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.small-team-grid{grid-template-columns:1fr}.small-team-kpis{grid-template-columns:1fr 1fr}.supplier-statement-head{flex-direction:column}.simple-stage-list>button{grid-template-columns:76px minmax(0,1fr) 48px}}
.simple-entry:not(.show-order-more) .order-optional-field{display:none}.simple-entry #toggleOrderMore{height:30px;margin-left:auto}.simple-entry:not(.show-order-more) .order-form-grid{grid-template-columns:1.4fr repeat(3,1fr)}.simple-entry:not(.show-order-more) .payment-form-grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:800px){.simple-entry:not(.show-order-more) .order-form-grid,.simple-entry:not(.show-order-more) .payment-form-grid{grid-template-columns:1fr 1fr}}

/* V23 usability fixes */
.customer-picker-field{position:relative}.customer-picker{grid-template-columns:minmax(0,1fr) auto auto;gap:6px}.customer-picker #clearDraftCustomer{flex:0 0 auto;background:#fff;color:#52645f;border:1px solid #cfdad7}.customer-match-list{position:static;margin-top:6px;padding:6px;border:1px solid #cad9d5;border-radius:10px;background:#fff;box-shadow:0 7px 18px rgba(18,63,55,.09)}.customer-match-list button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:0;border-radius:7px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.customer-match-list button:hover{background:#edf6f3}.customer-match-list button span,.customer-match-list>div{color:var(--muted);font-size:11px}.v23-help{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.receipt-summary em{display:block;margin-top:3px;color:var(--muted);font-size:10px;font-style:normal}.receipt-explain{display:flex;gap:6px;margin:-4px 0 12px;padding:9px 11px;border:1px solid #d8e6e2;border-radius:9px;background:#f2f8f6;color:#526761;font-size:11px}.receipt-explain b{color:var(--brand)}
.production-record-tabs{display:flex;gap:3px;margin:14px 0 0;padding:4px;border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;background:#edf3f1}.production-record-tabs button{height:36px;padding:0 16px;border:0;border-radius:8px;background:transparent;color:#61716c;font:inherit;font-size:12px;cursor:pointer}.production-record-tabs button.active{background:#fff;color:var(--brand);font-weight:700;box-shadow:0 2px 7px rgba(18,63,55,.08)}.production-record-tabs span{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:4px;border-radius:10px;background:#e5ebe9;font-size:10px}.production-control.v23{grid-template-columns:minmax(300px,1fr) 150px auto;margin:0 0 10px;border-radius:0 0 12px 12px}.production-pagination{display:flex;align-items:center;justify-content:space-between;padding:10px 3px;color:var(--muted);font-size:11px}.production-pagination>div{display:flex;gap:6px}.production-pagination button{height:32px}.production-pagination button:disabled{opacity:.4;cursor:not-allowed}.row-actions{display:flex;gap:5px;white-space:nowrap}.row-actions button{height:31px;padding:0 9px}.production-board.compact .production-card{padding:9px}.production-board.compact .production-product{grid-template-columns:42px 1fr}.production-board.compact .production-photo{width:42px;height:40px}
@media(max-width:760px){.customer-picker{grid-template-columns:1fr auto auto}.production-record-tabs{overflow:auto}.production-record-tabs button{flex:none}.production-control.v23{grid-template-columns:1fr 1fr}.production-control.v23 .production-search{grid-column:1/-1}.production-pagination{align-items:flex-start;gap:8px}.row-actions{flex-direction:column}}

/* V2.0 — NO-CRM-inspired restraint, independently implemented for Huadi. */
:root{--brand:#246bfd;--brand2:#1858db;--ink:#172033;--muted:#7a8499;--line:#e8ebf1;--yellow:#246bfd}
body,.app-shell{background:#f5f6f8;color:var(--ink)}
.sidebar{width:218px;background:#fff;color:#3f485b;border-right:1px solid #e8ebf1;box-shadow:none}
.brand{height:72px;padding:0 22px;border-bottom:1px solid #eef0f4}.brand-mark{background:#246bfd;box-shadow:0 8px 20px rgba(36,107,253,.2)}.brand strong{color:#172033;font-size:16px}.brand small{color:#99a1b1}
.nav{padding:14px 12px}.nav>p{margin:18px 10px 7px;color:#a0a7b5;font-size:10px;letter-spacing:.12em}.nav-item{min-height:42px;margin:2px 0;padding:0 11px;border-radius:7px;color:#667085;font-size:13px}.nav-item>span{color:#9098a8}.nav-item:hover{background:#f5f7fb;color:#253046}.nav-item.active,.nav-group.expanded .nav-parent{background:#eef4ff;color:#246bfd;box-shadow:none}.nav-item.active>span,.nav-group.expanded .nav-parent>span{color:#246bfd}.nav-item em{background:#f1f3f6;color:#7f8796}.nav-item em.warn,.nav-item em.danger{background:#fff2e8;color:#d46b2b}.sidebar-bottom{border-top:1px solid #eef0f4;background:#fff}.user-card{background:#f7f8fa;color:#333d50}.user-card small{color:#929aa9}
.main{margin-left:218px}.topbar{height:64px;background:rgba(255,255,255,.96);border-bottom:1px solid #e8ebf1}.content{max-width:1480px;padding:26px 30px 44px}.workspace-tabs{background:#fff;border-bottom:1px solid #e8ebf1}.page-head{margin-bottom:20px}.page-head h1{font-size:24px;letter-spacing:-.02em}.page-head p{margin-top:5px;color:#8a93a3;font-size:12px}
.primary-btn{background:#246bfd;border-color:#246bfd;box-shadow:none}.primary-btn:hover{background:#1858db;border-color:#1858db}.primary-btn:disabled,.outline-btn:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.outline-btn{background:#fff;border-color:#dfe3ea;color:#4d586c}.ghost-btn{color:#657084}.panel,.orders-card,.sales-filter-panel,.summary-strip{border-color:#e5e8ee;border-radius:10px;box-shadow:0 1px 2px rgba(16,24,40,.025)}
.sales-priority-board{margin-bottom:14px;padding:18px;border:1px solid #e2e6ed;border-radius:11px;background:#fff}.priority-board-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.priority-board-title span{display:block;margin-bottom:3px;color:#246bfd;font-size:10px;font-weight:700;letter-spacing:.1em}.priority-board-title b{font-size:16px}.priority-board-title small{color:#9aa2b1;font-size:11px}.priority-board-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.priority-card{min-height:118px;padding:14px 15px;border:1px solid #e8ebf1;border-radius:9px;background:#fafbfc}.priority-card>span{display:block;color:#8790a0;font-size:10px;font-weight:700}.priority-card strong{display:inline-block;margin:9px 8px 3px 0;color:#246bfd;font-size:30px;line-height:1}.priority-card>b{font-size:13px}.priority-card small{display:block;margin-top:8px;color:#8790a0;font-size:11px}.priority-card.urgent{border-color:#ffe0c2;background:#fffaf5}.priority-card.urgent strong{color:#e06b19}
.sales-summary{background:#fff}.sales-summary>div{padding:14px 17px}.sales-summary strong{font-size:18px}.sales-summary small{color:#929aaa}.sales-workbench-nav{border-radius:10px 10px 0 0;background:#fff}.sales-view-tabs button.active,.sales-record-status-tabs button.active{color:#246bfd;border-color:#246bfd}.sales-search-box:focus-within{border-color:#246bfd;box-shadow:0 0 0 3px rgba(36,107,253,.08)}.sales-filter-panel{background:#fff}.data-table th{background:#f8f9fb;color:#7e8797}.data-table tr:hover td{background:#f7f9fd}.order-id{color:#246bfd}.status.blue{background:#edf3ff;color:#246bfd}.status.green{background:#ecf8f3;color:#16805e}.status.orange{background:#fff4e8;color:#c46a1a}
.row-expand:hover{border-color:#9db9fb;color:#246bfd}.row-expand.open{background:#edf3ff;border-color:#b7cafa;color:#246bfd}.sales-expand-row>td{background:#f4f7fc}.expanded-sales-order{padding-left:56px}.expanded-order-grid section,.expanded-product-list{border-color:#e5e9f1;border-radius:8px}.nav-flyout{left:218px;border-color:#e3e7ee;box-shadow:12px 18px 35px rgba(39,51,75,.12)}.nav-subitem:hover,.nav-subitem.active{background:#eef4ff;color:#246bfd}.nav-subitem-primary,.nav-subitem-primary:hover,.nav-subitem-primary.active{background:#246bfd;color:#fff}
.sales-order-head{border-color:#e4e8ef;box-shadow:none}.sales-order-mark{background:#246bfd}.daily-facts .fact-primary{background:#f5f8ff}.daily-facts .fact-primary.needs-action{background:#fff8ef}.daily-action-bar{border-color:#d8e4ff;background:#f4f7ff}.workflow-tabs button.active{border-color:#246bfd;background:#eef4ff;color:#246bfd}.workflow-tabs button.active i{background:#246bfd}
@media(max-width:900px){.priority-board-grid{grid-template-columns:1fr}.priority-card{min-height:98px}.priority-board-title{align-items:start;gap:8px}.priority-board-title small{max-width:180px;text-align:right}}
@media(max-width:760px){.sidebar{width:min(286px,86vw)}.main{margin-left:0}.content{padding:18px 14px 32px}.priority-board-title small{display:none}}
.history-sku-list article>.history-product-thumb{flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border:1px solid #e4e9e7;border-radius:7px;background:#f8faf9}.history-product-thumb img{display:block;width:100%;height:100%;object-fit:contain}.history-product-thumb span{padding:3px;color:var(--muted);font-size:10px;text-align:center}.history-sku-list article>.history-product-details{flex:1;min-width:0}
