.page-heading{min-height:82px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.page-heading h1{margin:5px 0;color:#273129;font-size:29px;line-height:1.2;letter-spacing:-1px}.page-heading p{margin:0;color:#8a938f;font-size:11px;line-height:1.6}.eyebrow{color:var(--green-dark);letter-spacing:.08em;text-transform:uppercase}.eyebrow,.primary-button,.secondary-button{display:inline-flex;align-items:center;font-size:12px;font-weight:700}.primary-button,.secondary-button{min-height:40px;justify-content:center;gap:7px;padding:0 16px;border-radius:7px;cursor:pointer;white-space:nowrap}.primary-button{border:0;background:var(--green-dark);color:#fff}.primary-button:disabled{opacity:.42;cursor:not-allowed}.secondary-button{border:1px solid var(--border-strong);background:#fff;color:#59645f}.factory-list-heading{padding-top:2px}.factory-list-heading .factory-create-button{margin-top:21px}.factory-list-heading p{max-width:560px}.back-link{min-height:32px;display:inline-flex;align-items:center;gap:5px;margin:-4px 0 7px;padding:0;border:0;background:transparent;color:#6f7a74;font-size:10px;cursor:pointer}.factory-status-chip{margin-top:20px;display:inline-flex;padding:6px 9px;border-radius:6px;color:var(--green-dark);background:var(--green-soft);font-size:9px;font-weight:700}.factory-status-chip.warning{color:var(--warning);background:#fff2e6}.section-tabs{min-height:54px;display:flex;align-items:stretch;gap:28px;margin:2px 0 12px;padding:0 18px;border:1px solid var(--border);border-radius:9px;background:#fff;overflow-x:auto}.section-tabs button{position:relative;flex:0 0 auto;padding:0 2px;border:0;background:transparent;color:#7c8580;font-size:11px;cursor:pointer}.section-tabs button.active{color:var(--text);font-weight:700}.section-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--green)}.config-heading{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}.config-heading h2{margin:0;font-size:15px}.config-heading p{margin:5px 0 0;color:#89928e;font-size:9px}.fulfillment-config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.phase-boundary{min-height:62px;margin-top:12px;display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid #eadcae;border-radius:9px;background:#fffaf0;color:#967112}.phase-boundary.compact{min-height:56px;margin-top:0}.phase-boundary>span{display:flex;flex-direction:column;gap:3px}.phase-boundary b{color:#6f5717;font-size:10px}.phase-boundary small{color:#91805a;font-size:9px;line-height:1.5}.factory-config-modal-mask{align-items:center;justify-content:center;padding:20px}.factory-config-modal{width:min(640px,100%);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;border-radius:13px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.factory-config-modal>header{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid var(--border)}.factory-config-modal header span{color:#89928d;font-size:9px}.factory-config-modal h2{margin:5px 0 0;font-size:20px}.factory-config-modal header p{margin:4px 0 0;color:#8b948f;font-size:9px}.factory-config-modal header button{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;cursor:pointer}.factory-config-form{overflow:auto;padding:18px 22px}.factory-config-form .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:12px}.factory-config-form label>span{display:block;margin-bottom:6px;color:#616c66;font-size:9px;font-weight:600}.factory-config-form input,.factory-config-form select{width:100%;height:40px;padding:0 11px;border:1px solid var(--border-strong);border-radius:7px;background:#fff;color:#48534d;font-size:10px}.factory-config-form input[readonly]{background:#f3f5f1;color:#7c8580}.factory-config-modal>footer{min-height:72px;display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:13px 22px;border-top:1px solid var(--border)}.admin-content-shell:has(.platform-factory-detail)>.page-head{display:none}.factory-inventory-page,.platform-factory-detail{color:var(--text)}.inventory-page-heading,.platform-factory-detail-heading{min-height:86px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:2px 0 12px}.inventory-page-heading>div,.platform-factory-detail-heading>div{min-width:0}.inventory-page-heading span,.platform-factory-detail-heading>div>span{color:var(--green-dark);font-size:10px;font-weight:700;letter-spacing:.04em}.inventory-page-heading h1,.platform-factory-detail-heading h1{margin:5px 0 0;color:#273129;font-size:28px;line-height:1.08}.inventory-page-heading p,.platform-factory-detail-heading p{margin:6px 0 0;color:#8a938f;font-size:10px;line-height:1.55}.inventory-page-heading>button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-top:3px;padding:0 15px;border:0;border-radius:7px;background:var(--green-dark);color:#fff;font-size:11px;font-weight:700;cursor:pointer}.inventory-metrics-four{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 12px}.inventory-ledger-note{min-height:58px;display:flex;align-items:center;gap:11px;margin:2px 0 12px;padding:12px 15px;border:1px solid #d8e7dc;border-radius:9px;background:#f2f8f3;color:var(--green-dark)}.inventory-ledger-note>span,.inventory-posting-note>span{display:flex;flex-direction:column;gap:3px}.inventory-ledger-note b,.inventory-posting-note b{color:#35443c;font-size:10px}.inventory-ledger-note small,.inventory-posting-note small{color:#7f8b84;font-size:9px;line-height:1.5}.inventory-simple-card{overflow:hidden;border:1px solid var(--border);border-radius:10px;background:#fff}.inventory-simple-card+.inventory-simple-card{margin-top:12px}.inventory-card-title{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-bottom:1px solid var(--border)}.inventory-card-title h2{margin:0;font-size:14px}.inventory-card-title p{margin:5px 0 0;color:#8a938f;font-size:9px}.inventory-table-scroll{width:100%;overflow-x:auto}.inventory-simple-table{width:100%;border-collapse:collapse;font-size:10px}.inventory-simple-table th{height:42px;padding:0 16px;color:#707a75;background:#fbfcf9;text-align:left;font-size:9px;font-weight:600;white-space:nowrap}.inventory-simple-table td{height:58px;padding:10px 16px;border-top:1px solid #edf0eb;color:#4c5751;vertical-align:middle}.inventory-simple-table td b,.inventory-simple-table td small{display:block}.inventory-simple-table td b{color:#35413a;font-size:10px}.inventory-simple-table td small{margin-top:4px;color:#8d9691;font-size:8px}.inventory-ledger-table{min-width:720px}.inventory-confirm-table{min-width:850px}.inventory-state,.positive-value{color:var(--green-dark)}.inventory-state{display:inline-flex;padding:4px 7px;border-radius:5px;background:var(--green-soft);font-size:9px;white-space:nowrap}.inventory-state.warning{color:var(--warning);background:#fff2e6}.mobile-inventory-list{display:none}.inventory-empty{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#96a09a}.inventory-empty b{color:#556059;font-size:11px}.inventory-empty span{font-size:9px}.inventory-modal-mask{align-items:center;justify-content:center;padding:20px}.inventory-modal{width:min(470px,100%);border-radius:13px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.inventory-modal>header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;border-bottom:1px solid var(--border)}.inventory-modal>header span{color:#89928d;font-size:9px}.inventory-modal h2{margin:5px 0 0;font-size:20px}.inventory-modal header p{margin:4px 0 0;color:#8b948f;font-size:9px}.inventory-modal header button{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;cursor:pointer}.inventory-modal>label{display:flex;align-items:center;justify-content:space-between;margin:22px;padding:14px;border:1px solid var(--border);border-radius:8px;color:#65706a;font-size:11px}.inventory-modal label>div{display:flex;align-items:baseline;gap:6px}.inventory-modal input{width:110px;border:0;outline:0;text-align:right;font-size:21px;font-weight:700}.inventory-modal label b{font-size:10px}.inventory-modal>button.primary{width:calc(100% - 44px);min-height:40px;margin:0 22px 22px;display:flex;align-items:center;justify-content:center;gap:7px}.inventory-modal>label.inventory-product-select{margin-bottom:-10px}.inventory-product-select select{min-width:245px;height:34px;padding:0 9px;border:1px solid var(--border-strong);border-radius:7px;outline:0;background:#fff;color:#46514b;font-size:10px}.inventory-result{min-height:44px;margin:-8px 22px 12px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-radius:8px;background:#f3f7f3;color:#78837d;font-size:10px}.inventory-result b{color:var(--green-dark);font-size:14px}.inventory-posting-note{margin:0 22px 18px;display:flex;align-items:center;gap:9px;padding:11px;border-radius:8px;background:#fff8f1;color:var(--warning)}.inventory-modal-error{margin:-8px 22px 12px;color:#a34437;font-size:10px}.factory-back-link{min-height:32px;display:inline-flex;align-items:center;gap:5px;margin:-4px 0 7px;padding:0;border:0;background:transparent;color:#6f7a74;font-size:10px;cursor:pointer}.platform-factory-detail-heading{min-height:74px}.platform-factory-detail-heading>.factory-status{margin-top:20px}.factory-section-tabs{min-height:54px;display:flex;align-items:center;gap:28px;margin:2px 0 12px;padding:0 18px;border:1px solid var(--border);border-radius:9px;background:#fff;overflow-x:auto}.factory-section-tabs button{position:relative;min-height:52px;display:inline-flex;align-items:center;flex:0 0 auto;border:0;background:transparent;color:#7c8580;font-size:13px;cursor:pointer}.factory-section-tabs button.active{color:var(--text);font-weight:700}.factory-section-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--green)}.platform-inventory-stack{display:grid;grid-gap:12px;gap:12px}.platform-inventory-stack .factory-metrics-grid{margin-bottom:0}.confirm-inventory-button{gap:2px;border:0;background:transparent;color:var(--green-dark);cursor:pointer}.confirm-inventory-button,.confirmed-text{display:inline-flex;align-items:center;font-size:9px;font-weight:700}.confirmed-text{gap:4px;color:var(--green);white-space:nowrap}.factory-inventory-entry{margin-left:auto}.factory-inventory-page .inventory-metrics-four{grid-template-columns:repeat(3,minmax(0,1fr))}.factory-inventory-product-list>header,.inventory-pending-card>header{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--border)}.factory-inventory-product-list>header span,.inventory-pending-card>header span{color:var(--green-dark);font-size:9px;font-weight:700}.factory-inventory-product-list>header h2,.inventory-pending-card>header h2{margin:4px 0 0;font-size:15px}.factory-inventory-product-list>header>small{color:#8a938f;font-size:9px}.factory-inventory-product-row{min-height:86px;display:grid;grid-template-columns:minmax(280px,1.4fr) minmax(300px,1fr);align-items:center;grid-gap:18px;gap:18px;padding:14px 18px;border-top:1px solid #edf0eb}.factory-inventory-product-list>header+.factory-inventory-product-row{border-top:0}.inventory-product-with-warehouse{min-width:0;display:flex;align-items:center;gap:12px}.inventory-product-placeholder,.inventory-product-with-warehouse>img{width:54px;height:54px;flex:0 0 54px;border-radius:8px;border:1px solid var(--border);object-fit:cover;background:#f3f7f3}.inventory-product-placeholder{display:grid;place-items:center;color:var(--green-dark)}.inventory-product-with-warehouse>span{min-width:0;display:flex;flex-direction:column;gap:4px}.inventory-product-with-warehouse b{overflow:hidden;color:#303b34;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.inventory-product-with-warehouse small{color:#87918b;font-size:9px}.inventory-product-with-warehouse em{width:max-content;display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border-radius:5px;background:#edf6ef;color:var(--green-dark);font-size:9px;font-style:normal}.inventory-product-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.inventory-product-facts>span{min-width:0;display:flex;flex-direction:column;gap:5px}.inventory-product-facts small{color:#8a938f;font-size:9px}.inventory-product-facts b{color:#35413a;font-size:12px}.inventory-product-facts span:first-child b{color:var(--green-dark)}.inventory-pending-card{margin-bottom:12px}.inventory-pending-row{min-height:62px;display:grid;grid-template-columns:minmax(0,1fr) 90px 104px;align-items:center;grid-gap:16px;gap:16px;padding:10px 18px;border-top:1px solid #edf0eb}.inventory-pending-row>span{display:flex;flex-direction:column;gap:4px}.inventory-pending-row b{font-size:11px}.inventory-pending-row small{color:#8a938f;font-size:9px}.inventory-pending-row strong{font-size:12px}.inventory-pending-row button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #bdd8c4;border-radius:7px;background:#f2f8f3;color:var(--green-dark);font-size:10px;font-weight:700;cursor:pointer}.inventory-modal>footer{display:grid;grid-template-columns:1fr 1.5fr;grid-gap:10px;gap:10px;padding:0 22px 22px}.inventory-modal>footer button{min-height:40px;border-radius:7px;font-size:11px;font-weight:700;cursor:pointer}.inventory-modal>footer .ghost{border:1px solid var(--border-strong);background:#fff;color:#65706a}.inventory-modal>footer .primary{border:0;background:var(--green-dark);color:#fff}@media(max-width:720px){.page-heading{min-height:78px}.page-heading h1{font-size:25px}.page-heading p{max-width:295px;font-size:10px}.factory-list-heading .factory-create-button{min-height:36px;margin-top:16px;padding:0 11px;font-size:10px}.inventory-page-heading{min-height:102px;align-items:flex-start}.inventory-page-heading h1{font-size:24px}.inventory-page-heading p{max-width:205px}.inventory-page-heading>button{flex:0 0 auto;min-height:40px;padding:0 12px}.inventory-metrics-four{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:9px;gap:9px}.inventory-ledger-note{align-items:flex-start}.inventory-card{overflow:visible;border:0;background:transparent}.inventory-card .inventory-ledger-table{display:none}.mobile-inventory-list{display:grid;grid-gap:10px;gap:10px}.mobile-inventory-list article{overflow:hidden;border:1px solid var(--border);border-radius:11px;background:#fff}.mobile-inventory-list header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border)}.mobile-inventory-list header>span:first-child{display:flex;flex-direction:column;gap:4px}.mobile-inventory-list header b{font-size:12px}.mobile-inventory-list header small{color:#8b948f;font-size:10px}.mobile-inventory-list article>div{display:grid;grid-template-columns:repeat(2,1fr)}.mobile-inventory-list article>div span{min-height:62px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px 14px;color:#87918c;font-size:10px;border-right:1px solid #edf0eb;border-bottom:1px solid #edf0eb}.mobile-inventory-list article>div span:nth-child(2n){border-right:0}.mobile-inventory-list article>div span:nth-last-child(-n+2){border-bottom:0}.mobile-inventory-list article>div b{color:#35413a;font-size:13px}.factory-config-modal-mask,.inventory-modal-mask{align-items:flex-end;padding:0}.factory-config-modal,.inventory-modal{width:100%;max-height:94dvh;border-radius:17px 17px 0 0}.factory-config-form .form-row{grid-template-columns:minmax(0,1fr)}.inventory-product-select select{min-width:0;width:62%}.platform-factory-detail-heading{min-height:84px}.platform-factory-detail-heading h1{font-size:23px}.platform-factory-detail-heading p{max-width:260px}.section-tabs{margin-left:-14px;margin-right:-14px;border-left:0;border-right:0;border-radius:0;gap:24px}.config-heading{align-items:flex-start;flex-direction:row}.config-heading .primary-button{min-height:36px;flex:0 0 auto}.fulfillment-config-grid{grid-template-columns:minmax(0,1fr)}.platform-inventory-stack .inventory-simple-card{overflow:hidden}.platform-inventory-stack .inventory-table-scroll{overflow-x:auto}.factory-inventory-page .inventory-metrics-four{grid-template-columns:repeat(2,minmax(0,1fr))}.factory-inventory-product-row{grid-template-columns:minmax(0,1fr);gap:13px;padding:14px}.inventory-product-facts{padding-top:11px;border-top:1px solid #edf0eb}.inventory-pending-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 14px}.inventory-pending-row>button{grid-column:1/-1}}.factory-inventory-page .inventory-page-heading{min-height:74px}.inventory-heading-actions{display:flex;align-items:center;gap:10px}.inventory-heading-actions button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 15px;border-radius:7px;font-size:11px;font-weight:700;cursor:pointer}.inventory-heading-actions .primary{border:0;background:var(--green-dark);color:#fff}.inventory-heading-actions .secondary{border:1px solid var(--border-strong);background:#fff;color:var(--green-dark)}.factory-inventory-page .inventory-metrics-four{grid-template-columns:repeat(4,minmax(0,1fr))}.factory-inventory-page .factory-metric-card{min-height:116px;padding:18px}.factory-inventory-page .factory-metric-card>span{font-size:12px;font-weight:700}.factory-inventory-page .factory-metric-card strong{font-size:26px}.factory-inventory-page .factory-inventory-product-row{grid-template-columns:minmax(260px,1.2fr) minmax(480px,1.4fr)}.factory-inventory-page .inventory-product-with-warehouse b{font-size:13px}.factory-inventory-page .inventory-product-with-warehouse em,.factory-inventory-page .inventory-product-with-warehouse small{font-size:10px}.factory-inventory-page .inventory-product-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.factory-inventory-page .inventory-product-facts small{font-size:10px}.factory-inventory-page .inventory-product-facts b{font-size:15px}.inventory-history-modal{width:min(900px,calc(100vw - 40px));height:min(760px,calc(100dvh - 40px));display:flex;flex-direction:column;border-radius:13px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.inventory-history-modal>header{min-height:72px;display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid var(--border)}.inventory-history-modal h2{margin:0;font-size:20px}.inventory-history-modal header button{width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer}.inventory-history-body{min-height:0;overflow:auto;padding:20px 24px}.inventory-history-date{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;color:#56615b;font-size:12px;font-weight:700}.inventory-history-date input{width:190px;height:40px;padding:0 11px;border:1px solid var(--border-strong);border-radius:7px;background:#fff;color:#35413a;font-size:12px}.inventory-history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;margin-bottom:14px}.inventory-history-summary span{min-height:82px;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:13px;border:1px solid var(--border);border-radius:8px;color:#68736d;font-size:11px}.inventory-history-summary strong{color:#27352d;font-size:20px}.inventory-history-list{border:1px solid var(--border);border-radius:9px;overflow:hidden}.inventory-history-list article{min-height:66px;display:grid;grid-template-columns:minmax(0,1.3fr) 100px minmax(150px,.7fr);align-items:center;grid-gap:14px;gap:14px;padding:12px 15px;border-top:1px solid #edf0eb}.inventory-history-list article:first-child{border-top:0}.inventory-history-list article>span{display:flex;flex-direction:column;gap:5px}.inventory-history-list b,.inventory-history-list strong{color:#35413a;font-size:12px}.inventory-history-list em{color:#7c8781;font-size:10px;font-style:normal}.inventory-history-empty{min-height:120px;display:grid;place-items:center;color:#7f8983;font-size:12px}@media(max-width:720px){.inventory-page-heading{align-items:flex-start}.inventory-heading-actions{gap:7px;flex-wrap:wrap}.inventory-heading-actions button{min-height:36px;padding:0 10px;font-size:10px}.factory-inventory-page .inventory-metrics-four{grid-template-columns:repeat(2,minmax(0,1fr))}.factory-inventory-page .factory-inventory-product-row{grid-template-columns:minmax(0,1fr)}.factory-inventory-page .inventory-product-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-history-modal{width:100%;height:92dvh;border-radius:17px 17px 0 0}.inventory-history-summary{grid-template-columns:1fr}.inventory-history-list article{grid-template-columns:minmax(0,1fr) auto}.inventory-history-list article>span:last-child{grid-column:1/-1;padding-top:9px;border-top:1px solid #edf0eb}}.factory-inventory-page .inventory-primary-metric{border-color:#b9cff0;background:#f3f7ff;box-shadow:inset 0 3px 0 #4d83cf}.factory-inventory-page .inventory-primary-metric strong,.factory-inventory-page .inventory-primary-metric>span{color:#2867b2}.factory-inventory-page .inventory-primary-metric strong{font-size:31px}.factory-inventory-page .inventory-product-facts span:first-child b{color:#35413a}.factory-inventory-page .inventory-product-facts span:nth-child(3) b{color:#2867b2;font-weight:800}.factory-inventory-page .inventory-metrics-four,.platform-inventory-stack .inventory-metrics-four{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-simple-table{font-size:12px}.inventory-simple-table th{font-size:11px}.inventory-simple-table td{height:62px;padding:9px 14px}.inventory-simple-table td b{font-size:13px}.inventory-simple-table td small{font-size:10px}.confirm-inventory-button,.confirmed-text,.inventory-state{font-size:11px}.inventory-table-product{min-width:0;display:flex;align-items:center;gap:10px}.inventory-table-product-placeholder,.inventory-table-product>img{width:44px;height:44px;flex:0 0 44px;border:1px solid #dfe8e0;border-radius:7px;background:#f3f7f3;object-fit:cover}.inventory-table-product-placeholder{display:grid;place-items:center;color:var(--green-dark)}.inventory-table-product>span:last-child{min-width:0}.inventory-table-product b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.factory-inventory-page .factory-inventory-product-row{grid-template-columns:minmax(260px,1.25fr) minmax(360px,1fr)}.factory-inventory-page .inventory-product-with-warehouse b{font-size:14px}.factory-inventory-page .inventory-product-with-warehouse em,.factory-inventory-page .inventory-product-with-warehouse small{font-size:11px}.factory-inventory-page .inventory-product-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.factory-inventory-page .inventory-product-facts small{font-size:11px}.factory-inventory-page .inventory-product-facts b{font-size:16px}.factory-inventory-page .inventory-product-facts span:first-child b{color:#2867b2;font-weight:800}.factory-inventory-page .inventory-product-facts span:nth-child(3) b{color:#35413a}@media(max-width:720px){.factory-inventory-page .inventory-metrics-four,.platform-inventory-stack .inventory-metrics-four{grid-template-columns:repeat(2,minmax(0,1fr))}.factory-inventory-page .factory-inventory-product-row{grid-template-columns:minmax(0,1fr)}.factory-inventory-page .inventory-product-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}.record-calendar{margin-bottom:14px;border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden}.record-calendar>header{min-height:52px;display:grid;grid-template-columns:40px 1fr 40px;align-items:center;padding:0 10px;border-bottom:1px solid #edf0eb}.record-calendar>header strong{text-align:center;color:#303b34;font-size:15px}.record-calendar>header button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;border-radius:7px;background:transparent;color:#64716a;cursor:pointer}.record-calendar>header button:hover{background:#f1f5f1;color:var(--green-dark)}.record-calendar-grid,.record-calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.record-calendar-weekdays{padding:8px 10px 4px;color:#929b96;font-size:9px;text-align:center}.record-calendar-grid{gap:5px;padding:4px 10px 10px}.record-calendar-grid>button,.record-calendar-grid>span{min-height:76px}.record-calendar-grid>button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:7px;border:1px solid transparent;border-radius:8px;background:#fafbf9;color:#65716a;text-align:left;cursor:pointer}.record-calendar-grid>button b{color:#3c4741;font-size:11px}.record-calendar-grid>button span{color:var(--green-dark);font-size:9px;font-weight:700}.record-calendar-grid>button em{color:#7d8782;font-size:8px;font-style:normal}.record-calendar-grid>button.has-record{border-color:#d9e7dc;background:#f3f8f4}.record-calendar-grid>button.selected{border-color:#73a17f;background:#eaf4ed;box-shadow:0 0 0 1px rgba(71,135,88,.08)}@media(max-width:720px){.factory-inventory-page .inventory-primary-metric strong{font-size:27px}.record-calendar-grid{gap:3px;padding:3px 6px 8px}.record-calendar-grid>button,.record-calendar-grid>span{min-height:54px}.record-calendar-grid>button{padding:5px}.record-calendar-grid>button em{display:none}}.record-calendar-grid>button .record-calendar-detail-list{width:100%;display:flex;flex-direction:column;gap:3px;color:inherit}.record-calendar-grid>button .record-calendar-detail-list em{display:block;width:100%;overflow:hidden;color:var(--green-dark);font-size:9px;font-style:normal;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.inventory-history-day-title{margin:2px 0 12px;color:#35413a;font-size:14px}.inventory-history-list article>strong{color:var(--green-dark);font-size:16px}@media(max-width:720px){.record-calendar-grid>button .record-calendar-detail-list em{display:block;font-size:8px}.inventory-history-day-title{font-size:13px}}.record-calendar-grid>button .record-calendar-detail-list .record-calendar-more{color:#7d8782;font-weight:600}.inventory-history-list{max-height:230px;overflow:auto}.inventory-history-list article{grid-template-columns:minmax(0,1fr) 120px}.inventory-history-list article>strong{text-align:right}.inventory-history-list .inventory-history-product{display:flex;flex-direction:row;align-items:center;gap:10px}.inventory-history-product>i,.inventory-history-product>img{width:42px;height:42px;flex:0 0 42px;border:1px solid #e1e9e2;border-radius:7px;background:#f4f8f4;object-fit:cover}.inventory-history-product>i{display:grid;place-items:center;color:var(--green-dark);font-style:normal}.inventory-history-product>span{min-width:0;display:flex;flex-direction:column;gap:5px}.inventory-history-product b,.inventory-history-product em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:720px){.inventory-history-list{max-height:200px}.inventory-history-list article{grid-template-columns:minmax(0,1fr) auto}.inventory-history-product>i,.inventory-history-product>img{width:36px;height:36px;flex-basis:36px}}.factory-settlement-page,.platform-settlement-page{color:var(--text)}.settlement-page-heading{min-height:86px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:2px 0 12px}.settlement-page-heading>div{min-width:0}.settlement-page-heading span{color:var(--green-dark);font-size:10px;font-weight:700;letter-spacing:.04em}.settlement-page-heading h1{margin:5px 0 0;color:#273129;font-size:28px;line-height:1.08}.settlement-page-heading p{margin:6px 0 0;color:#8a938f;font-size:10px;line-height:1.55}.settlement-metrics-four{grid-template-columns:repeat(4,minmax(160px,1fr));margin-bottom:12px}.factory-payment-boundary,.ledger-note{min-height:58px;display:flex;align-items:center;gap:11px;margin:2px 0 12px;padding:12px 15px;border:1px solid #d8e7dc;border-radius:9px;background:#f2f8f3;color:var(--green-dark)}.factory-payment-boundary{margin-top:0}.factory-payment-boundary>span,.ledger-note>span{display:flex;flex-direction:column;gap:3px}.factory-payment-boundary b,.ledger-note b{color:#35443c;font-size:10px}.factory-payment-boundary small,.ledger-note small{color:#7f8b84;font-size:9px;line-height:1.5}.settlement-simple-card{overflow:hidden}.settlement-card-title{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-bottom:1px solid var(--border)}.settlement-card-title h2{margin:0;font-size:14px}.settlement-card-title p{margin:5px 0 0;color:#8a938f;font-size:9px}.settlement-table-scroll{width:100%;overflow-x:auto}.readonly-tag{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;background:#f0f2ef;color:#7c8580;font-size:8px;font-weight:700;white-space:nowrap}.unpaid-value{color:var(--warning)!important}.goods-ledger-table{min-width:900px}.factory-settlement-table{min-width:860px}.mobile-goods-ledger{display:none}.settlement-row-more{display:inline-flex;align-items:center;gap:2px;padding:0;border:0;background:transparent;color:#4478bd;font-size:9px;font-weight:700;white-space:nowrap;cursor:pointer}.settlement-row-more:disabled{opacity:.5;cursor:wait}.settlement-product-identity{min-width:210px;display:flex;align-items:center;gap:10px}.ledger-drawer-product>img,.settlement-product-identity>img,.settlement-product-placeholder{width:44px;height:44px;flex:0 0 44px;border:1px solid var(--border);border-radius:8px;background:#f3f7f3;object-fit:cover}.settlement-product-placeholder{display:grid;place-items:center;color:var(--green-dark)}.settlement-product-identity>span:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}.settlement-product-identity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ledger-drawer-product{min-width:0;display:flex;align-items:center;gap:11px}.ledger-drawer-product>div{min-width:0}.ledger-drawer-product h2,.ledger-drawer-product p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dual-ledger-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;margin-top:12px}.settlement-readonly-ledger{grid-template-columns:1fr}.compact-ledger-list{display:grid}.compact-ledger-list>div{min-height:66px;display:grid;grid-template-columns:1.2fr .75fr .75fr;align-items:center;grid-gap:10px;gap:10px;padding:10px 16px;border-bottom:1px solid #edf0eb}.compact-ledger-list>div:last-child{border-bottom:0}.compact-ledger-list span{min-width:0;display:flex;flex-direction:column;gap:4px}.compact-ledger-list b{color:#3e4943;font-size:10px}.compact-ledger-list small{overflow:hidden;color:#919995;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.settlement-empty{min-height:96px;display:flex;align-items:center;justify-content:center;margin:0;color:#909994;font-size:10px}.settlement-back-link{min-height:32px;display:inline-flex;align-items:center;gap:5px;margin:-4px 0 7px;padding:0;border:0;background:transparent;color:#6f7a74;font-size:10px;cursor:pointer}.factory-detail-heading{min-height:74px}.settlement-payment-grid{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}.settlement-payment-form{height:100%}.payment-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));grid-gap:12px;gap:12px;padding:16px 18px}.payment-form-grid label{display:flex;flex-direction:column;gap:6px;color:#69756e;font-size:9px}.payment-form-grid input,.payment-form-grid select,.payment-form-grid textarea{min-height:38px;padding:8px 10px;border:1px solid var(--border);border-radius:7px;background:#fff;color:#354039;font:inherit}.payment-form-grid textarea{min-height:70px;resize:vertical}.payment-form-wide{grid-column:1/-1}.payment-form-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:0 18px 16px}.payment-form-actions small{flex:1 1 220px;max-width:310px;color:#8a938e;font-size:8px;line-height:1.5}.payment-form-actions button{min-height:36px;padding:0 15px;border:0;border-radius:7px;background:var(--green-dark);color:#fff;font-size:9px;font-weight:700;cursor:pointer}.payment-form-actions button:disabled{opacity:.5;cursor:not-allowed}.payment-history-card a{color:#4478bd;text-decoration:none}.settlement-proof-picker .proof-picker{min-height:64px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px dashed #b8c8bf;border-radius:8px;background:#f8fbf8;color:var(--green-dark);position:relative;cursor:pointer}.settlement-proof-picker .proof-picker.selected{border-style:solid;background:#eef7f1}.settlement-proof-picker .proof-picker>span{min-width:0;display:flex;flex:1 1;flex-direction:column;gap:3px}.settlement-proof-picker .proof-picker b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#354039;font-size:10px}.settlement-proof-picker .proof-picker small{color:#7c8781;font-size:8px}.settlement-proof-picker .proof-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:0;border:0;opacity:0;cursor:pointer}.settlement-payment-form>.admin-error{margin:0 18px 14px}.settlement-overlay{position:fixed;inset:0;z-index:120;display:flex;justify-content:flex-end;background:rgba(24,35,29,.34);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.ledger-drawer{width:min(540px,100vw);height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:-18px 0 46px rgba(28,40,34,.16)}.ledger-drawer>header{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid var(--border)}.ledger-drawer header span{color:#89928d;font-size:9px}.ledger-drawer h2{margin:5px 0 0;font-size:20px}.ledger-drawer header p{margin:4px 0 0;color:#8b948f;font-size:9px}.ledger-drawer header button{width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer}.ledger-drawer-body{flex:1 1;overflow-y:auto;padding:18px 22px}.mini-finance-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:9px;gap:9px}.mini-finance-grid span{min-height:76px;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:12px;border:1px solid var(--border);border-radius:8px;color:#87908b;font-size:9px}.mini-finance-grid b{color:#344039;font-size:14px}.ledger-formula{margin-top:12px;display:flex;flex-direction:column;gap:5px;padding:13px;border-radius:8px;background:#f2f7f4}.ledger-formula span{color:var(--green-dark);font-size:9px;font-weight:700}.ledger-formula b{color:#3e4943;font-size:11px}.ledger-formula small{color:#87918c;font-size:8px}.drawer-section{margin-top:20px}.drawer-section h3{margin:0 0 9px;font-size:12px}.batch-card{display:grid;grid-template-columns:1.25fr repeat(4,1fr);grid-gap:10px;gap:10px;margin-bottom:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fff}.batch-card>div{min-width:0;display:flex;flex-direction:column;gap:4px}.batch-card span{color:#8a938f;font-size:8px}.batch-card b{color:#3d4842;font-size:9px;white-space:nowrap}@media(max-width:720px){.settlement-page-heading{min-height:94px}.settlement-page-heading h1{font-size:24px}.settlement-page-heading p{max-width:280px}.settlement-metrics-four{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:9px;gap:9px}.factory-payment-boundary,.ledger-note{align-items:flex-start}.settlement-simple-card{overflow:visible;border:0;background:transparent}.goods-ledger-table{display:none}.mobile-goods-ledger{display:grid;grid-gap:10px;gap:10px}.mobile-goods-ledger article{overflow:hidden;border:1px solid var(--border);border-radius:9px;background:#fff}.mobile-goods-ledger header{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-bottom:1px solid var(--border)}.mobile-goods-ledger .settlement-product-identity{min-width:0;flex:1 1}.mobile-goods-ledger .settlement-product-identity>img,.mobile-goods-ledger .settlement-product-placeholder{width:38px;height:38px;flex-basis:38px}.mobile-goods-ledger header b{color:#36423b;font-size:10px}.mobile-goods-ledger header small{color:#8d9691;font-size:8px}.mobile-goods-ledger header button{display:flex;align-items:center;gap:2px;border:0;background:transparent;color:#4478bd;font-size:8px}.mobile-goods-ledger article>div{display:grid;grid-template-columns:1fr 1fr}.mobile-goods-ledger article>div span{min-height:58px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px 12px;color:#8a938e;font-size:8px;border-right:1px solid #edf0eb;border-bottom:1px solid #edf0eb}.mobile-goods-ledger article>div span:nth-child(2n){border-right:0}.mobile-goods-ledger article>div span:nth-last-child(-n+2){border-bottom:0}.mobile-goods-ledger article>div b{color:#3d4942;font-size:10px}.settlement-table-scroll{overflow-x:auto;border:1px solid var(--border);border-radius:9px;background:#fff}.dual-ledger-grid{grid-template-columns:1fr}.compact-ledger-list>div{grid-template-columns:1.1fr .8fr}.compact-ledger-list>div>span:last-child{grid-column:1/-1;padding-top:7px;border-top:1px solid #edf0eb}.batch-card{grid-template-columns:repeat(2,1fr)}.batch-card>div:first-child{grid-column:1/-1}.mini-finance-grid{grid-template-columns:repeat(2,1fr)}.settlement-overlay{align-items:flex-end}.ledger-drawer{width:100%;height:92dvh;border-radius:17px 17px 0 0}.ledger-drawer>header{min-height:75px}.ledger-drawer-body{padding:16px}}.factory-settlement-page .settlement-page-heading{min-height:74px}.settlement-history-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 15px;border:1px solid var(--border-strong);border-radius:7px;background:#fff;color:var(--green-dark);font-size:11px;font-weight:700;cursor:pointer}.factory-settlement-page .factory-metric-card{min-height:116px;padding:18px}.factory-settlement-page .factory-metric-card>span{font-size:12px;font-weight:700}.factory-settlement-page .factory-metric-card strong{font-size:26px}.factory-settlement-page .settlement-card-title h2{font-size:16px}.factory-settlement-page .goods-ledger-table th{font-size:10px}.factory-settlement-page .goods-ledger-table td,.factory-settlement-page .goods-ledger-table td b{font-size:11px}.factory-settlement-page .goods-ledger-table td small{font-size:9px}.settlement-history-modal{width:min(720px,100%);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;border-radius:13px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.settlement-history-modal>header{min-height:72px;display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid var(--border)}.settlement-history-modal h2{margin:0;font-size:20px}.settlement-history-modal header button{width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer}.settlement-history-body{overflow:auto;padding:18px 20px}.settlement-history-date{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;color:#56615b;font-size:12px;font-weight:700}.settlement-history-date input{width:190px;height:40px;padding:0 11px;border:1px solid var(--border-strong);border-radius:7px;background:#fff;color:#35413a;font-size:12px}.settlement-history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;margin-bottom:14px}.settlement-history-summary span{min-height:82px;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:13px;border:1px solid var(--border);border-radius:8px;color:#68736d;font-size:11px}.settlement-history-summary strong{color:#27352d;font-size:20px}.settlement-history-list{border:1px solid var(--border);border-radius:9px;overflow:hidden}.settlement-history-list article{min-height:66px;display:grid;grid-template-columns:minmax(0,1.3fr) 100px minmax(150px,.7fr);align-items:center;grid-gap:14px;gap:14px;padding:12px 15px;border-top:1px solid #edf0eb}.settlement-history-list article:first-child{border-top:0}.settlement-history-list article>span{display:flex;flex-direction:column;gap:5px}.settlement-history-list b,.settlement-history-list strong{color:#35413a;font-size:12px}.settlement-history-list em{color:#7c8781;font-size:10px;font-style:normal}.settlement-history-empty{min-height:120px;display:grid;place-items:center;color:#7f8983;font-size:12px}@media(max-width:720px){.settlement-history-button{min-height:36px;padding:0 10px;font-size:10px}.settlement-history-modal{width:100%;max-height:92dvh;border-radius:17px 17px 0 0}.settlement-history-summary{grid-template-columns:1fr}.settlement-history-list article{grid-template-columns:minmax(0,1fr) auto}.settlement-history-list article>span:last-child{grid-column:1/-1;padding-top:9px;border-top:1px solid #edf0eb}}.settlement-history-list a{color:#2e6eb8;font-weight:700;text-decoration:none}.settlement-history-list a:hover{text-decoration:underline}