.account-form{display:grid;gap:14px;max-width:680px;width:100%;margin:12px 0}.account-form h2,.account-form h3{margin:0}.account-form small,.account-row small{color:var(--muted,#64748b);font-size:13px}.account-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.account-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #e2e8f0}.account-row small{display:block;margin-top:4px}.account-list{margin-top:12px}@media(max-width:600px){.account-permissions{grid-template-columns:1fr}.account-row{align-items:flex-start}}.account-owner{display:grid;gap:6px;padding:12px 0 20px;border-bottom:1px solid var(--line)}.account-owner small{color:var(--muted)}.account-role-group{padding:16px 0;border-bottom:1px solid var(--line)}.account-role-group>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-role-group h3{font-size:17px;margin:0;font-weight:600}.account-role-group h3 small{font-size:12px;font-weight:400;margin-left:10px;color:var(--muted)}.role-permission-summary{list-style:none;margin:8px 0 14px;padding:0;display:grid;gap:8px}.role-permission-summary li{display:flex;justify-content:space-between;gap:12px;font-size:13px}.role-permission-summary li>span:last-child{color:var(--muted)}.role-summary-toggle{padding-inline:0;font-size:13px}.role-add-person{margin-top:12px;width:100%;background:#f7f8fa;color:var(--accent);border-color:var(--line)}.account-role-preview{border-block:1px solid var(--line);padding:14px 0}.account-role-preview>strong{font-size:14px}.account-row>div{min-width:0;overflow-wrap:anywhere}.account-row>button{flex-shrink:0}@media(max-width:760px){.account-form input,.account-form select{font-size:16px}.account-form .button-row{justify-content:flex-end}}.commerce-workspace{max-width:1280px;margin:0 auto;min-width:0}.commerce-page-heading{display:flex;align-items:center;gap:14px;margin:0 0 18px;flex-wrap:wrap}.commerce-page-heading h2{font-size:21px;margin:0;min-width:0;overflow-wrap:anywhere;flex:1}.commerce-page-heading button{flex-shrink:0}.commerce-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:12px}.commerce-toolbar .search{flex:1}.commerce-toolbar select{min-width:140px}.commerce-sheet{background:#fff;border:1px solid var(--line);border-radius:6px;padding:22px;margin-bottom:18px;min-width:0}.commerce-sheet h3{margin:0 0 16px;font-size:16px}.commerce-form-grid+h3,.commerce-facts+h3{margin-top:26px;border-top:1px solid var(--line);padding-top:22px}.commerce-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.commerce-form-grid .field{margin:0;min-width:0}.commerce-workspace input,.commerce-workspace textarea,.commerce-workspace select,.commerce-workspace button{border-radius:6px}.commerce-workspace textarea{resize:vertical}.commerce-link-trigger{width:100%;justify-content:space-between;text-align:left;white-space:normal;min-height:46px;background:#fff}.commerce-link-trigger span{min-width:0;overflow-wrap:anywhere}.commerce-link-trigger svg{flex-shrink:0}.commerce-link-field .commerce-clear{align-self:flex-start;font-size:12px;min-height:32px;padding:2px 0}.commerce-checkboxes{display:flex;flex-wrap:wrap;gap:12px 18px}.commerce-checkboxes label{display:flex;align-items:center;gap:7px;min-height:44px;cursor:pointer;white-space:nowrap}.commerce-checkboxes input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;padding:0}.commerce-action-bar{position:sticky;bottom:16px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:14px 18px}.commerce-action-bar>span{color:var(--muted);font-size:13px}.commerce-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0}.commerce-facts>div{min-width:0}.commerce-facts .wide{grid-column:1/-1}.commerce-facts dt{color:var(--muted);font-size:12px;margin-bottom:6px}.commerce-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.commerce-facts dd button{display:flex;padding-inline:0}.commerce-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.commerce-section-heading h3{margin:0}.commerce-stock-docs{display:grid;gap:0}.commerce-stock-docs>button{border:0;border-bottom:1px solid var(--line);border-radius:0;min-width:0;justify-content:space-between;text-align:left;padding:12px 0;white-space:normal}.commerce-stock-docs>button span{min-width:0;overflow-wrap:anywhere}.commerce-stock-docs small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.commerce-shipment,.commerce-receive{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.commerce-shipment>.button-row{justify-content:flex-end;margin-top:18px}.commerce-receive p{color:var(--muted);font-size:13px}.commerce-legacy{margin-top:24px}.commerce-legacy summary{cursor:pointer;padding:12px 0;color:var(--muted)}.commerce-legacy>.commerce-form-grid{padding-top:12px}.commerce-conflicts{border:1px solid #e0b477;background:#fff8ec;padding:16px;margin-bottom:16px;border-radius:6px}.commerce-conflicts>div{border-top:1px solid #e0b477;margin-top:12px;padding-top:12px}.commerce-conflicts p{white-space:pre-wrap;overflow-wrap:anywhere}.commerce-table td{max-width:350px;overflow-wrap:anywhere}.commerce-picker .drawer-body{padding:0}.commerce-picker .drawer-body>.search{position:sticky;top:0;background:#fff;z-index:1;margin:0;padding:16px;border-bottom:1px solid var(--line);border-radius:0}.commerce-picker-list{padding:0 16px 24px}.commerce-picker-list>button{border:0;border-bottom:1px solid var(--line);width:100%;border-radius:0;white-space:normal;justify-content:flex-start;text-align:left;gap:12px;padding:14px 8px}.commerce-picker-list>button[aria-pressed=true]{background:#eef1fc}.commerce-choice-mark{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid var(--line);border-radius:4px;flex-shrink:0}.commerce-picker-list>button[aria-pressed=true] .commerce-choice-mark{background:var(--accent);border-color:var(--accent);color:#fff}.commerce-picker-list>button small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.commerce-record{display:flex;flex-direction:column;text-align:left;align-items:stretch;width:100%;padding:16px;border:0;border-bottom:1px solid var(--line);border-radius:0!important;white-space:normal;gap:9px}.commerce-record-top{display:flex;align-items:flex-start;gap:8px}.commerce-record-top strong{flex:1;min-width:0;overflow-wrap:anywhere}.commerce-record-top>span{font-size:12px;color:var(--muted);white-space:nowrap}.commerce-record-top svg{flex-shrink:0}.commerce-record-products{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.commerce-record-bottom{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}.commerce-record-bottom time{white-space:nowrap}@media(max-width:760px){.commerce-page-heading{gap:10px;margin-bottom:16px}.commerce-page-heading h2{font-size:19px}.commerce-page-heading>.text-button{padding-inline:0}.commerce-toolbar{gap:8px}.commerce-toolbar select{min-width:104px;max-width:120px}.commerce-toolbar .search{min-width:0}.commerce-sheet{padding:16px;margin-bottom:14px}.commerce-form-grid{grid-template-columns:minmax(0,1fr);gap:18px}.commerce-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.commerce-action-bar{bottom:calc(12px + env(safe-area-inset-bottom));padding:12px}.commerce-action-bar>button{flex-shrink:0}.commerce-mobile-list{border:1px solid var(--line);border-radius:6px;overflow:hidden;gap:0}.commerce-record:last-child{border-bottom:0}.commerce-section-heading .button-row{gap:8px}.commerce-section-heading .button-row button{padding-inline:10px}}.commerce-unsaved{font-size:12px;color:var(--muted);font-weight:400;margin-left:10px}.commerce-load-more{display:flex;align-items:center;justify-content:center;gap:16px;padding:20px;font-size:13px;color:var(--muted)}.commerce-product-lines{display:flex;flex-direction:column;gap:4px;min-width:0}.commerce-product-lines>span{display:block;overflow-wrap:anywhere}.commerce-record-products{font-weight:400}.commerce-sales-product{display:block;font-weight:700;white-space:pre-wrap}@media(max-width:760px){.commerce-orders .commerce-page-heading{margin-bottom:8px}}.commerce-new-fab{position:fixed;right:24px;bottom:24px;z-index:10;width:52px;height:52px;min-width:52px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #23318130}.commerce-workspace:has(.commerce-toolbar){padding-bottom:72px}@media(max-width:760px){.commerce-new-fab{right:max(18px,env(safe-area-inset-right,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px))}}.commerce-detail-heading{display:grid;grid-template-columns:1fr auto auto}.commerce-detail-heading>button:first-child{justify-self:start}@media(max-width:760px){.commerce-detail-heading{gap:10px 12px}.commerce-detail-heading>button{font-size:14px}}.commerce-sync-badge{display:inline-flex;align-items:center;align-self:flex-start;max-width:100%;padding:3px 7px;border-radius:4px;background:#f0f2f7;color:var(--muted);font-size:12px;line-height:1.5;font-weight:400;white-space:normal}.commerce-sync-badge.warning{background:#fff3dc;color:#805711}.commerce-sync-badge.ok{background:#edf7ef;color:#347348}.commerce-table .commerce-sync-badge{display:table;margin-top:6px}.commerce-sync-detail{margin-bottom:14px}.commerce-sync-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.commerce-sync-line>small{color:var(--muted);font-size:12px}.commerce-sync-detail .commerce-conflicts{margin-top:12px}.commerce-conflict-field{min-width:0;border:0;border-top:1px solid #e0b477;margin:16px 0;padding:12px 0 0}.commerce-conflict-field legend{font-weight:600;padding:0 8px 0 0}.commerce-conflict-field>small{display:block;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:8px}.commerce-conflict-choice{display:flex;align-items:flex-start;gap:10px;padding:12px;margin-top:8px;border:1px solid #e5d7bc;border-radius:6px;cursor:pointer;background:#fff}.commerce-conflict-choice.selected{border-color:var(--accent);background:#f4f6ff}.commerce-conflict-choice>input{flex:0 0 auto;width:18px;height:18px;margin:3px 0 0}.commerce-conflict-choice>span{min-width:0;display:grid;gap:6px;white-space:pre-wrap;overflow-wrap:anywhere}.commerce-conflict-choice strong{font-size:13px}.commerce-formula-notice{display:block}.commerce-formula-notice p{margin:4px 0}.commerce-formula-notice>button{margin-top:8px}.commerce-queue-settings{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.commerce-queue-settings h3{font-size:15px;margin:0 0 12px}.commerce-queue-settings .notice{display:block}.commerce-queue-settings .notice p{overflow-wrap:anywhere;white-space:pre-wrap;margin:6px 0 0}.mobile-list.commerce-mobile-list{gap:0}.commerce-mobile-list .commerce-record{background:#fff;margin:0;padding:13px 16px;gap:7px}.commerce-record-top strong{font-size:13px;font-weight:500;line-height:1.5}.commerce-record-top .commerce-status{font-size:12px;font-weight:500;line-height:1.5}.commerce-record-top .commerce-status.waiting{color:#a65b08}.commerce-record-top .commerce-status.processing{color:#3556bd}.commerce-record-top .commerce-status.neutral{color:var(--muted)}.commerce-record-bottom>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.commerce-record-bottom .commerce-card-price{white-space:nowrap;color:var(--text);font-weight:500}.commerce-record-bottom{flex-wrap:wrap;gap:6px 10px}.commerce-orders .commerce-record-top strong{font-weight:400}.commerce-orders .commerce-card-models{font-weight:700}@media(max-width:760px){.main-content:has(.commerce-workspace .commerce-toolbar){padding-top:10px}.commerce-workspace .commerce-toolbar{margin-bottom:8px}}.order-inventory-summary{display:grid;gap:10px;margin:10px 0}.order-inventory-item{display:grid;gap:3px;overflow-wrap:anywhere}.order-inventory-item>small{color:var(--muted);line-height:1.5}.order-more-info{margin-top:12px}.order-more-info>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-weight:500}.order-more-info>summary:before{content:"▸"}.order-more-info[open]>summary:before{content:"▾"}.commerce-card-container{border-bottom:1px solid var(--line);background:#fff}.commerce-card-container:last-child{border-bottom:0}.commerce-card-container>.commerce-record{width:100%;border-bottom:0;text-align:left}.commerce-card-extra{display:grid;gap:3px;font-size:13px;line-height:1.5;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.shipping-address>dt{display:flex;align-items:center;justify-content:space-between;gap:12px}.shipping-address-actions{display:flex;gap:12px;flex-shrink:0}.shipping-address-actions .text-button{min-height:44px;padding:4px 0;font-size:13px}.shipping-address>dd{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.order-summary-sheet>.commerce-facts{grid-template-columns:1fr 1fr;gap:0}.order-summary-sheet>.commerce-facts>div{grid-column:1/-1;display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--line);align-items:baseline}.order-summary-sheet>.commerce-facts>div:first-child{display:block;padding-top:0;padding-bottom:12px}.order-summary-sheet>.commerce-facts>div:first-child dt{margin-bottom:6px}.order-summary-sheet>.commerce-facts dt{margin:0;font-size:13px}.order-summary-sheet>.commerce-facts dd{font-size:14px;line-height:1.6}.order-summary-sheet>.commerce-facts>[data-field=quantity],.order-summary-sheet>.commerce-facts>[data-field=amount]{grid-column:auto;grid-template-columns:auto 1fr;gap:10px}.order-summary-sheet>.commerce-facts>.shipping-address{display:block;padding:0}.order-summary-sheet .shipping-address>dt{min-height:46px}.order-summary-sheet .shipping-address>dd:not(.sr-only){padding-bottom:10px}.order-summary-sheet .order-more-info{margin-top:0}.order-summary-sheet .order-more-info>summary{font-size:14px;font-weight:500}.order-summary-sheet>h3{margin-bottom:12px}.commerce-sheet.order-operation-sheet{padding:12px 16px;margin-bottom:10px}.order-operation-sheet .commerce-section-heading{margin-bottom:8px;min-height:44px;gap:8px}.order-operation-sheet .commerce-section-heading>button{min-height:44px;padding:7px 12px;font-size:14px}.order-operation-sheet .order-inventory-summary{margin:0 0 8px;gap:10px}.order-operation-sheet .order-inventory-item{font-size:14px;line-height:1.55;gap:4px}.order-operation-sheet .order-inventory-item>small{font-size:13px}.order-operation-sheet .commerce-stock-docs>button{background:transparent;padding:10px 0;border-top:1px solid var(--line);border-bottom:0;min-height:44px;color:var(--text)}.order-operation-sheet .commerce-stock-docs>button:disabled{background:transparent;opacity:1;color:var(--muted);cursor:default}.order-operation-sheet .commerce-stock-docs>button:disabled>svg{display:none}.order-operation-sheet .commerce-stock-docs>button>span{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-size:13px}.order-operation-sheet .commerce-stock-docs small{margin:0;white-space:nowrap}.order-operation-sheet>p.muted{margin:4px 0;font-size:14px}.order-shipping-sheet>.commerce-facts{grid-template-columns:1fr;gap:0}.order-shipping-sheet>.commerce-facts>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px;padding:8px 0;align-items:baseline}.order-shipping-sheet>.commerce-facts dt{font-size:13px;margin:0}.order-shipping-sheet>.commerce-facts dd{font-size:14px}.commerce-sheet.aftersales-entry{padding:16px;max-width:920px;margin-left:auto;margin-right:auto}.aftersales-entry .commerce-form-grid{gap:14px 20px}.aftersales-entry h3{margin-bottom:14px}.aftersales-entry .commerce-form-grid+h3{margin-top:20px;padding-top:18px}.aftersales-entry .field-label{font-size:13px}.aftersales-entry .field-label small{font-weight:400;color:var(--muted);margin-left:6px}.aftersales-entry .aftersales-wide,.aftersales-entry .aftersales-types,.aftersales-entry .aftersales-pair,.aftersales-entry .aftersales-subheading{grid-column:1/-1;min-width:0}.aftersales-pair,.aftersales-texts,.aftersales-logistics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.aftersales-entry .commerce-checkboxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.aftersales-entry .commerce-checkboxes label{border:1px solid var(--line);border-radius:6px;padding:8px 10px;min-height:44px;white-space:normal;font-size:14px;line-height:1.4}.aftersales-entry .commerce-checkboxes label.is-selected{border-color:#4055c8;background:#f1f3ff;color:#3046b6}.aftersales-entry textarea{min-height:76px;height:76px}.aftersales-entry .commerce-link-field{position:relative}.aftersales-entry .commerce-link-field>.field-label{padding-right:90px}.aftersales-entry .commerce-link-field>.commerce-clear{position:absolute;top:-8px;right:0;min-height:32px}.aftersales-entry .aftersales-subheading{border-top:1px solid var(--line);padding-top:18px;margin:4px 0 0}@media(max-width:700px){.aftersales-entry .commerce-form-grid{grid-template-columns:minmax(0,1fr)}.aftersales-entry .commerce-checkboxes{grid-template-columns:repeat(2,minmax(0,1fr))}.aftersales-texts,.aftersales-logistics{grid-template-columns:minmax(0,1fr)}.aftersales-pair{gap:12px}}.commerce-required,.aftersales-entry .field-label small.commerce-required{color:#a33b16;font-size:12px;font-weight:400;margin-left:6px}.aftersales-save-bar{flex-wrap:wrap}.commerce-pending-icon{display:inline-flex;vertical-align:middle;margin-left:6px;color:var(--muted);align-items:center;flex-shrink:0}.commerce-pending-icon svg{width:14px;height:14px}.commerce-orders .commerce-mobile-list .commerce-record{gap:4px;padding:11px 14px}.commerce-orders .commerce-record-products{font-size:14px;line-height:1.5;margin-top:2px}.commerce-card-vehicle{font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.commerce-orders .commerce-card-extra{gap:2px;margin-top:2px}.commerce-orders .commerce-card-extra>span{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px}.commerce-card-label{color:var(--muted)}.commerce-orders .commerce-record-bottom{align-items:baseline;margin-top:2px}.commerce-orders .commerce-record-bottom .commerce-card-price{font-size:15px;font-weight:600}.after-detail-summary,.after-detail-logistics{padding:14px 16px;margin-bottom:10px}.after-detail-summary .commerce-section-heading{margin-bottom:10px}.after-detail-status{font-size:13px;color:#a65b08}.after-detail-products{font-size:14px;line-height:1.6;font-weight:600;margin-bottom:12px}.after-detail-facts{margin:0;display:grid;gap:10px}.after-detail-facts>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;align-items:baseline}.after-detail-facts dt{color:var(--muted);font-size:13px}.after-detail-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55}.after-detail-facts .text-button{min-height:32px;padding:0;font-size:14px;text-align:left}.after-detail-operation .commerce-section-heading{flex-wrap:wrap}.after-detail-operation .button-row{margin:0;gap:8px}.after-detail-operation .button-row button{font-size:13px;padding:8px 10px;min-height:44px}.after-stock-status{display:flex;gap:18px;color:var(--muted);font-size:13px;margin:0 0 10px}.after-detail-logistics h3{margin-bottom:12px}.after-detail-logistics .order-more-info{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.after-detail-facts{gap:7px}.after-detail-products{margin-bottom:9px}.after-detail-summary,.after-detail-logistics{padding:12px 14px}.aftersales-optional{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}.aftersales-optional summary{cursor:pointer;font-weight:600;font-size:14px;min-height:36px}.aftersales-optional .aftersales-pair{margin-top:12px}.aftersales-edit .commerce-form-grid{gap:12px 16px}.aftersales-edit .commerce-checkboxes{display:flex;flex-wrap:wrap;gap:6px}.aftersales-edit .commerce-checkboxes label{flex:1 0 27%;padding:7px 8px}.aftersales-edit textarea{height:68px;min-height:68px}.aftersales-edit .commerce-form-grid+h3{margin-top:16px;padding-top:14px}.aftersales-edit-status{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line)}.aftersales-edit-status .field{margin:0}.aftersales-edit-order{grid-column:1/-1;min-width:0}.aftersales-edit .commerce-link-trigger{font-size:14px;line-height:1.6;padding:10px 12px}.aftersales-edit>.commerce-form-grid>.commerce-link-field{grid-column:1/-1}.aftersales-edit .commerce-checkboxes label{flex:0 0 auto;padding:8px 12px}.aftersales-edit .commerce-checkboxes{gap:8px}.aftersales-edit .aftersales-edit-order .commerce-link-trigger{min-height:44px}.aftersales-edit .aftersales-pair{gap:12px}.commerce-selected-line{display:block}.commerce-selected-line+.commerce-selected-line{margin-top:4px}.field-validation{color:#a33b16}[aria-invalid=true]{outline:1px solid #a33b16}.optional-summary{display:block;font-size:12px;font-weight:400;color:var(--muted);margin:4px 0 10px}@media(max-width:760px){.commerce-link-field .commerce-clear,.after-detail-facts .text-button{min-height:44px;min-width:44px}.aftersales-entry .commerce-link-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px}.aftersales-entry .commerce-link-field>.field-label{grid-column:1;grid-row:1;padding-right:0}.aftersales-entry .commerce-link-field>.commerce-clear{position:static;grid-column:2;grid-row:1;min-height:44px;padding:4px 8px}.aftersales-entry .commerce-link-field>.commerce-link-trigger,.aftersales-entry .commerce-link-field>small{grid-column:1/-1}.aftersales-optional summary{min-height:44px;padding-block:8px}.commerce-picker-list>button{scroll-margin-block:76px 16px}}.production-workspace{max-width:1280px;margin:0 auto;min-width:0}.production-workspace button{gap:6px}.production-toolbar{display:flex;gap:10px;margin-bottom:12px}.production-toolbar .search{flex:1;min-width:160px}.production-toolbar>label{display:flex;min-width:0}.production-toolbar select{max-width:200px}.production-page-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}.production-page-actions h2{font-size:18px;margin:0}.production-page-actions h2 small{font-size:12px;font-weight:400;margin-left:12px;color:var(--muted,#6b7280)}.production-stage{font-size:12px;white-space:normal;line-height:1.5;display:inline-block;color:#2454a6}.production-stage.finished{color:#6b7280}.production-stage.unknown,.production-paused{color:#9a5a00}.production-table td{vertical-align:middle}.production-table td:first-child{max-width:400px}.production-table td small{white-space:normal;overflow-wrap:anywhere}.production-detail-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid var(--border,#e4e7eb);padding-bottom:18px}.production-detail-title h2{font-size:21px;line-height:1.5;margin:5px 0 0}.production-batch{font-size:13px;color:var(--muted,#6b7280)}.production-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 20px;padding:20px 0;margin:0}.production-facts dt{font-size:12px;color:var(--muted,#6b7280);margin-bottom:5px}.production-facts dd{margin:0;overflow-wrap:anywhere;line-height:1.5}.production-instructions{margin:20px 0}.production-instructions h3,.production-action-form h3{font-size:14px;margin:0 0 10px}.production-instructions table{width:100%;border-collapse:collapse;table-layout:fixed}.production-instructions th,.production-instructions td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--border,#e4e7eb);font-size:13px;overflow-wrap:anywhere}.production-instructions th:first-child{width:120px;white-space:normal}.production-instructions thead th{font-size:12px;font-weight:400;color:var(--muted,#6b7280)}.production-task-actions{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 10px}.production-form{max-width:900px}.production-form fieldset,.production-action-form fieldset{border:0;margin:0;padding:0;min-width:0}.production-form .field,.production-action-form .field{margin-bottom:16px}.production-form .field>input+select{margin-top:6px}.production-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.production-form textarea,.production-action-form textarea{resize:vertical;min-height:70px}.production-action-form{padding:18px 0;margin:18px 0;border-top:1px solid var(--border,#e4e7eb);border-bottom:1px solid var(--border,#e4e7eb);max-width:680px}.production-history{border-top:1px solid var(--border,#e4e7eb);padding-top:18px;margin-top:24px}.production-history summary{cursor:pointer;font-size:14px}.production-history ol{list-style:none;padding:0;margin:12px 0}.production-history li{padding:12px 0;border-bottom:1px solid var(--border,#e4e7eb)}.production-history li>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.production-history strong{font-size:13px}.production-history time,.production-history small{color:var(--muted,#6b7280);font-size:12px}.production-history p{margin:6px 0 0;font-size:13px;white-space:pre-wrap}.production-conflict,.production-uncertain{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.production-conflict p,.production-uncertain p{flex-basis:100%;margin:0}.production-draft-note{display:flex;align-items:center;gap:12px;font-size:13px}button.primary.production-new-fab{position:fixed;right:24px;bottom:24px;z-index:10;width:52px;height:52px;min-width:52px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #23318130}.production-list-page{padding-bottom:76px}.production-card{display:flex;align-items:stretch;white-space:normal;flex-direction:column;width:100%;padding:14px 0;border:0;border-radius:0;border-bottom:1px solid var(--border,#e4e7eb);background:transparent;text-align:left;gap:8px}.production-card-top{display:flex;justify-content:space-between;gap:12px;align-items:start;width:100%;font-size:13px}.production-card strong{font-size:15px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}.production-card-meta,.production-card-quantities{display:flex;justify-content:space-between;gap:12px;width:100%;font-size:12px;color:var(--muted,#6b7280)}.production-card-meta{line-height:1.5}.production-card-meta svg{flex-shrink:0}.production-workspace .read-note p{white-space:pre-wrap;overflow-wrap:anywhere}.production-workspace .notice{overflow-wrap:anywhere}@media(max-width:760px){.production-toolbar{flex-wrap:wrap;gap:8px}.production-toolbar .search{flex-basis:100%}.production-toolbar>label:not(.search){flex:1}.production-toolbar select{width:100%;max-width:none}.production-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.production-form-grid{grid-template-columns:1fr;gap:0}.production-detail-title h2{font-size:18px}.production-detail-title{flex-wrap:wrap;gap:8px}.production-page-actions{gap:8px;margin-bottom:14px}.production-page-actions h2{font-size:16px}.production-task-actions button{flex:1 1 auto}button.primary.production-new-fab{right:max(18px,env(safe-area-inset-right,0px));bottom:calc(82px + env(safe-area-inset-bottom,0px))}.production-instructions th,.production-instructions td{padding:9px 7px}.production-history li>div{align-items:flex-start}.production-history time{white-space:nowrap}.main-content:has(.production-list-page){padding-top:10px}}button.primary.production-new-fab:disabled{background:#e5e5ea;border-color:#e5e5ea;color:#8a8a90;box-shadow:none}.production-receipts{margin-top:22px}.production-receipts h3{font-size:14px}.production-receipts>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.production-receipts strong,.production-receipts small{display:block;font-size:13px}.production-receipts small{font-size:12px;color:var(--muted);margin-top:4px}.production-card-time{font-size:12px;color:var(--muted)}.production-intake{margin:0 0 20px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.production-intake-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-intake-heading h3{font-size:16px;margin:0}.production-intake>p{margin:10px 0;line-height:1.6}.production-intake-actions{display:flex;flex-wrap:wrap;gap:8px}.production-intake>.production-action-form{margin:14px 0 0;padding:14px 0 0;border-bottom:0}.production-receipt-status{display:inline-block;font-size:12px;line-height:1.5;color:#875814}.production-receipt-status.pending,.production-receipt-status.partial{color:var(--accent)}.production-receipt-status.complete{color:#377052}.production-receipt-status.terminated,.production-receipt-status.paused{color:var(--muted)}.production-card-receipt{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--muted)}@media(max-width:760px){.production-intake-actions>.primary{width:100%}.production-intake{padding:14px 0}.production-intake-heading h3{font-size:15px}}.ai-chat-launcher{position:fixed;right:24px;bottom:90px;z-index:105;display:flex;gap:6px;align-items:center;justify-content:center;min-height:44px;padding:10px 13px;border-radius:24px;background:#fff;border:1px solid var(--line);box-shadow:0 3px 12px #18203a18;color:var(--accent)}.ai-chat-panel{position:fixed;right:20px;top:80px;bottom:20px;width:min(410px,calc(100vw - 40px));z-index:120;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 48px #18203a25;display:flex;flex-direction:column;overflow:hidden;outline:none}.ai-chat-head{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--line)}.ai-chat-head>div{display:flex;gap:2px}.ai-chat-head .icon-button{width:36px;min-height:36px}.ai-chat-context{padding:10px 16px;background:#f7f8fb;border-bottom:1px solid var(--line);display:grid;gap:4px}.ai-chat-context>span,.ai-chat-context>small{color:var(--muted);font-size:12px}.ai-chat-context strong{font-size:13px;overflow-wrap:anywhere}.ai-chat-messages{flex:1;min-height:0;overflow-y:auto;padding:16px;overscroll-behavior:contain}.ai-chat-empty{font-size:13px;color:var(--muted);margin:0;line-height:1.6}.ai-message{margin-bottom:16px;min-width:0}.ai-message>small{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.ai-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:14px}.ai-message.user{background:#f3f4fa;padding:10px 12px;border-radius:8px;margin-left:22px}.ai-chat-actions{display:grid;gap:8px;margin:12px 0}.ai-chat-actions button{text-align:left;white-space:normal;min-height:44px;justify-content:flex-start}.ai-chat-actions small{color:var(--muted);font-size:12px}.ai-chat-compose{flex-shrink:0;padding:12px 16px 8px;border-top:1px solid var(--line)}.ai-chat-compose textarea{width:100%;min-height:66px;max-height:140px;resize:vertical;font-size:14px}.ai-chat-send,.ai-chat-retention{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.ai-chat-send>small,.ai-chat-retention{color:var(--muted);font-size:11px}.ai-chat-send button{flex-shrink:0}.ai-chat-retention .text-button{min-height:32px;font-size:12px;padding:2px 0}.ai-chat-unavailable{margin:0 0 10px;font-size:13px;color:var(--muted)}.ai-chat-clear{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:8px;font-size:13px}.ai-chat-clear>span{flex-basis:100%}.ai-settings .checkbox-label{margin-bottom:12px}@media(max-width:760px){.ai-chat-launcher{right:18px;bottom:calc(90px + env(safe-area-inset-bottom,0px))}.ai-chat-panel{inset:0;width:100%;height:100dvh;border:0;border-radius:0;z-index:150}.ai-chat-head{padding-top:max(10px,env(safe-area-inset-top))}.ai-chat-compose{padding-bottom:max(8px,env(safe-area-inset-bottom))}.ai-chat-compose textarea{font-size:16px}.ai-chat-send>small{max-width:190px}}.ai-simulation{font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}.ai-chat-action{display:grid;gap:5px}.ai-chat-action>small{line-height:1.5;overflow-wrap:anywhere}.ai-chat-panel{top:66px;bottom:auto;height:min(62dvh,560px)}.ai-chat-head,.ai-chat-context{flex-shrink:0}.ai-chat-head{padding:6px 14px}.ai-chat-context{display:flex;align-items:center;flex-wrap:wrap;padding:7px 14px;gap:4px 8px}.ai-chat-context small{flex-basis:100%}.ai-chat-compose{padding:8px 14px 6px;max-height:55%;overflow-y:auto}.ai-chat-compose textarea{min-height:48px;max-height:90px}.ai-chat-messages{padding:12px 14px}@media(max-width:760px){.ai-chat-panel{inset:calc(52px + env(safe-area-inset-top,0px)) 8px auto;width:calc(100% - 16px);height:62dvh;max-height:560px;border:1px solid var(--line);border-radius:0 0 14px 14px}.ai-chat-head{padding-top:6px}}.ai-compose-row{display:flex;align-items:flex-end;gap:8px}.ai-compose-row>label{flex:1;min-width:0}.ai-compose-row textarea{display:block;min-height:44px;max-height:90px;padding:11px 12px;border-radius:10px}.ai-compose-row>button{min-height:44px;padding:10px 12px;flex-shrink:0}.ai-compose-note{margin:6px 0 2px;font-size:11px;line-height:1.5;color:var(--muted)}.ai-chat-management summary{cursor:pointer;color:var(--muted);font-size:12px;padding:8px 0;min-height:32px}.ai-chat-management .ai-chat-retention{margin-top:0}.ai-chat-messages .ai-message{margin-bottom:12px}.ai-chat-messages .ai-message.user{margin-left:32px;padding:10px 12px;border-radius:10px}.ai-chat-messages .ai-message.assistant{padding:0 2px}.ai-chat-panel>.ai-chat-clear{flex-shrink:0;padding:10px 14px;border-bottom:1px solid var(--line);background:#fff8f3}.ai-chat-backdrop{position:fixed;inset:0;z-index:119;background:#19223812;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);touch-action:none}@media(max-width:760px){.ai-chat-backdrop{z-index:149}}.ai-chat-panel{top:0;right:0;bottom:auto;width:500px;max-width:100%;border:0;border-radius:0 0 16px 16px}.ai-chat-head{height:65px;box-sizing:border-box;padding:0 24px}.ai-chat-head .icon-button{background:transparent;border-radius:6px}@media(max-width:760px){.ai-chat-panel{inset:0 0 auto;width:100%;box-shadow:none}.ai-chat-head{height:calc(52px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 18px 0}}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#17191c;background:#f5f6f8;font-size:14px;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #17191c;--muted: #67717e;--accent: #3b54c4;--accent-dark: #3046aa;--line: #e3e6eb;--surface: #fff;--danger: #b14536}*{box-sizing:border-box}body{margin:0}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:7px 12px;border:1px solid #dfe4ec;border-radius:6px;background:#fff;color:var(--ink);line-height:1.4;white-space:nowrap;min-width:44px}@media(min-width:761px)and (hover:hover)and (pointer:fine){button:hover:not(:disabled){background:#f4f6f9;border-color:#dfe4ec}}button:disabled{cursor:not-allowed;opacity:1;color:#626b78;background:#f4f6f9;border-color:#dfe4ec}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a9b8f2;outline-offset:2px}a{color:var(--accent)}.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}@media(min-width:761px)and (hover:hover)and (pointer:fine){.primary:hover:not(:disabled){background:var(--accent-dark);border-color:var(--accent-dark)}}.danger{background:var(--danger);border-color:var(--danger);color:#fff}@media(min-width:761px)and (hover:hover)and (pointer:fine){.danger:hover:not(:disabled){background:#963829;border-color:#963829}}.danger-text,.bad-text{color:var(--danger)!important}.good-text{color:var(--accent)!important}.muted{color:var(--muted)}.nowrap{white-space:nowrap}.numeric{text-align:right;font-variant-numeric:tabular-nums}.push{margin-left:auto;flex-shrink:0}.icon-button{border:0;background:transparent;padding:7px;min-width:44px}.text-button{color:var(--accent);background:transparent;border:0;padding:4px 7px;min-height:44px;font-weight:500}@media(min-width:761px)and (hover:hover)and (pointer:fine){.text-button:hover:not(:disabled){background:#edf1ff}}.row-link{border:0;background:none;padding:0;justify-content:flex-start;min-height:44px;white-space:normal;text-align:left;font-weight:600;line-height:1.6;color:#20242b}@media(min-width:761px)and (hover:hover)and (pointer:fine){.row-link:hover:not(:disabled){background:none;text-decoration:underline}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}h1,h2,h3,p{margin:0}h1{font-size:22px;letter-spacing:-.5px;font-weight:650}h2{font-size:19px;font-weight:650;line-height:1.45}h3{font-size:14px;font-weight:650}small{font-size:12px;line-height:1.5}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #dfe4ec;border-radius:5px;min-width:0;max-width:100%;padding:9px 10px;min-height:44px}input::placeholder,textarea::placeholder{color:#626b78}input:disabled,select:disabled,textarea:disabled{background:#f4f6f9;color:#626b78}input[type=number]{font-variant-numeric:tabular-nums}textarea{resize:vertical;line-height:1.65}input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;accent-color:var(--accent)}select{padding-right:28px}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px;white-space:nowrap}.brand img{display:block;width:144px;height:auto}.brand .brand-dark{display:none}.brand-caption{font-size:12px;color:var(--muted);letter-spacing:3px}.sidebar .brand-light{display:none}.sidebar .brand-dark{display:block}.sidebar .brand-caption{color:#929ba9}.app-shell{display:flex;min-height:100vh}.sidebar{width:200px;flex-shrink:0;background:#17191c;color:#f4f5f7;display:flex;flex-direction:column;padding:26px 16px 20px;position:fixed;inset:0 auto 0 0;z-index:20}.sidebar .brand{padding-left:8px;margin-bottom:40px}.module-label{font-size:13px;color:#929ba9;padding:0 12px 13px;letter-spacing:1px}.main-nav{display:flex;flex-direction:column;gap:5px}.main-nav button{justify-content:flex-start;gap:12px;border:0;min-height:44px;border-radius:5px;padding-left:14px;color:#c0c5cf;background:transparent}@media(min-width:761px)and (hover:hover)and (pointer:fine){.main-nav button:hover:not(:disabled){background:#252930}}.main-nav button.active{color:#fff;background:#3b54c4}.module-separator{height:1px;background:#30343c;margin:23px 10px 16px}.material-button,.material-button:disabled{justify-content:flex-start;background:transparent;color:#929ba9;border:0;gap:10px;padding-left:14px;opacity:1}.material-button small{margin-left:auto;font-size:12px}.workspace{margin-left:200px;width:calc(100% - 200px);min-width:0}.topbar{height:69px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);gap:12px}.desktop-breadcrumb{font-size:14px;color:#626b78;white-space:nowrap}.desktop-breadcrumb span{margin:0 10px;color:#626b78}.topbar-actions{display:flex;align-items:center;gap:12px}.sync-status{border:0;background:transparent;min-height:44px;color:#626b78;font-size:14px;padding:6px 3px;gap:6px}.sync-status.has-error{color:var(--danger)}.status-dot{display:inline-block;width:6px;height:6px;background:#bdad82;border-radius:50%;flex-shrink:0}.status-dot.ok{background:#4c9367}.status-dot.error{background:#c05b42}.user-identity{border-left:1px solid var(--line);padding-left:18px;display:flex;flex-direction:column;gap:3px;min-width:60px;max-width:130px}.user-identity strong{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-identity span{font-size:12px;color:var(--muted)}.main-content{padding:26px 30px 40px;max-width:1680px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.page-actions{display:flex;gap:12px;align-items:center}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:15px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dfe4ec;border-radius:6px;flex:1;min-width:220px;max-width:450px;color:#626b78;padding-left:11px}.search input{border:0;outline:none;width:100%;padding-left:0;background:transparent}.search:focus-within{outline:2px solid #a9b8f2;outline-offset:1px}.toolbar>.primary{margin-left:auto}.toolbar select{background:#fff;min-height:44px}.list-caption{display:flex;align-items:center;gap:12px;color:#626b78;font-size:12px;min-height:31px;margin-bottom:9px}.list-caption b{font-size:12px;font-weight:500;margin-left:6px;border-radius:4px;background:#f4f6f9;padding:2px 6px;color:#626b78}.list-caption>.loading{margin-left:auto;padding:0;font-size:12px}.desktop-table{border:1px solid var(--line);border-radius:7px;overflow-x:auto;background:#fff}table{border-collapse:collapse;width:100%;min-width:650px;text-align:left;font-size:14px}th{font-weight:500;color:#626b78;background:#f4f6f9;font-size:14px;padding:13px 16px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:14px 16px;border-bottom:1px solid #f4f6f9;vertical-align:middle;line-height:1.55}tbody tr:last-child td{border-bottom:0}@media(min-width:761px)and (hover:hover)and (pointer:fine){tbody tr:hover{background:#f4f6f9}}td>small{display:block;color:#626b78;font-size:14px;margin-top:3px;max-width:280px;overflow-wrap:anywhere}td>strong{font-weight:550}.type-label{display:flex;align-items:center;gap:7px;white-space:nowrap}.badge{display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1.5;white-space:nowrap;padding:3px 7px;border-radius:4px;background:#f4f6f9;color:#626b78}.badge.in{background:#edf1ff;color:#626b78}.badge.out{background:#f3ede1;color:#626b78}.badge.pending{background:#f6eedc;color:#626b78}.badge.completed{background:#edf1ff;color:#626b78}.badge.cancelled{background:#f4f6f9;color:#626b78}.line-summary{display:flex;flex-direction:column;gap:3px;max-width:350px}.line-summary>span{display:flex;align-items:baseline;gap:18px;justify-content:space-between}.line-summary>span>span{min-width:0;overflow-wrap:anywhere}.line-summary b{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;flex-shrink:0}.line-summary small{color:#626b78;font-size:12px}.location-list{display:flex;flex-wrap:wrap;gap:4px;max-width:260px}.location-list>span{padding:3px 6px;border:1px solid #f4f6f9;border-radius:4px;font-size:14px;background:#f4f6f9}.location-list>span.muted{border:0;background:none;padding:0}.empty{border:1px dashed #dfe4ec;border-radius:7px;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#626b78;background:#f4f6f9}.empty p{font-size:14px}.loading{display:flex;align-items:center;justify-content:center;gap:8px;color:#626b78;font-size:14px;padding:28px}.notice{display:flex;align-items:flex-start;gap:8px;background:#f4f6f9;border:1px solid #dfe4ec;border-radius:5px;padding:11px 12px;margin:13px 0;font-size:14px;line-height:1.65;color:#626b78;overflow-wrap:anywhere}.notice>svg{flex-shrink:0;margin-top:2px}.notice>.text-button{margin-left:auto;font-size:14px;padding:0 5px;min-height:44px}.notice.error{background:#fff5ef;border-color:#eed8cb;color:#aa5740}.notice.error small{display:block;margin-top:4px}.notice.success{background:#edf1ff;border-color:#edf1ff;color:#626b78}.notice>div{min-width:0}.segmented{display:inline-flex;gap:3px;border:1px solid #dfe4ec;border-radius:6px;padding:3px;background:#f4f6f9}.segmented button{border:0;min-height:44px;font-size:14px;background:transparent;color:#626b78;padding:5px 14px}.segmented button.active{background:#fff;color:#3b54c4;box-shadow:0 1px 3px #17191c0a}.record-tabs{margin-bottom:19px}.mobile-list,.mobile-nav,.mobile-brand,.mobile-role{display:none}.overlay{position:fixed;inset:0;background:#17191c66;z-index:100;display:flex;justify-content:flex-end}.drawer{background:#fff;width:500px;max-width:100%;height:100%;display:flex;flex-direction:column;outline:none;box-shadow:-8px 0 40px #17191c20}.drawer.wide{width:650px}.drawer-head{padding:22px 24px 19px;border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:flex-start;justify-content:space-between;flex-shrink:0}.drawer-head>div{min-width:0}.drawer-head h2{overflow-wrap:anywhere}.drawer-head p{color:#626b78;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.drawer-head .icon-button{margin-top:-4px;margin-right:-7px}.drawer-body{overflow-y:auto;padding:23px 24px 30px;overscroll-behavior:contain;min-height:0;flex:1}.drawer-footer{border-top:1px solid var(--line);padding:15px 24px max(15px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0;background:#fff}.footer-status,.footer-hint{margin-right:auto}.footer-hint{color:#626b78;font-size:12px;max-width:220px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;min-width:0}.field-label{font-size:13px;color:#626b78;font-weight:550}.field input,.field select,.field textarea{width:100%}.field>small{font-size:12px;color:#626b78}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 20px;margin:0 0 25px}.details-grid div{min-width:0}.details-grid dt{color:#626b78;font-size:13px;margin-bottom:5px}.details-grid dd{margin:0;font-size:14px;overflow-wrap:anywhere}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:19px 0 13px}.section-heading .muted{font-size:12px}.detail-lines{border-top:1px solid #dfe4ec;border-bottom:1px solid #dfe4ec;margin-bottom:20px}.detail-line{display:flex;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid #f4f6f9}.detail-line:last-child{border-bottom:0}.line-product{flex:1;min-width:0}.line-product strong{font-weight:600;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.line-product small{display:block;color:#626b78;font-size:14px;margin-top:7px}.detail-line .field{width:90px;flex-shrink:0;margin:0}.detail-line .field-label{font-size:13px;color:#626b78}.detail-line input{text-align:center}.quantity{font-size:20px;font-variant-numeric:tabular-nums}.quantity small{font-weight:400;font-size:12px;color:#626b78;margin-left:5px}.read-note>span{color:#626b78;font-size:14px}.read-note p{font-size:14px;margin-top:7px;line-height:1.7;white-space:pre-wrap}.context-note{font-size:14px;line-height:1.8;color:#626b78;margin:14px 0 18px}.action-box{border:1px solid #eadfc7;background:#fffcf4;border-radius:6px;padding:17px;margin:20px 0}.action-box>p{font-size:14px;line-height:1.8;color:#626b78;margin:8px 0 17px}.action-box .field:last-child{margin-bottom:0}.production-summary{background:#f4f6f9;border:1px solid #dfe4ec;border-radius:5px;padding:16px;margin-bottom:18px}.production-summary>strong{font-size:14px}.production-summary dl{display:grid;grid-template-columns:repeat(3,1fr);margin:16px 0 0;gap:10px}.production-summary dt{color:#626b78;font-size:13px;margin-bottom:8px}.production-summary dd{margin:0;font-size:17px;font-weight:600}.create-line{padding:0 0 5px;border-bottom:1px solid #f4f6f9;margin-bottom:14px}.create-line>.section-heading{margin:12px 0}.create-line>.section-heading>strong{font-size:14px;color:#626b78}.create-line .field{margin-bottom:12px}.product-quantity{display:grid;grid-template-columns:minmax(0,1fr) 85px;gap:12px}.add-line{margin-bottom:17px}.stock-line{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 0 20px;margin-bottom:20px}.stock-line>span{font-size:14px;color:#626b78}.stock-line>strong{font-size:27px;font-weight:600;font-variant-numeric:tabular-nums}.stock-line>strong>small{font-size:12px;font-weight:400;margin-left:8px;color:#626b78}.readonly-lines{white-space:pre-wrap;line-height:1.9;font-size:14px;padding:10px 0}.edit-section{border-top:1px solid var(--line);margin-top:25px;padding-top:18px}.edit-section summary{cursor:pointer;color:#3b54c4;font-weight:600;font-size:14px;padding:5px 0;min-height:44px}.edit-section-content{padding-top:2px}.quantity-preview{display:flex;align-items:center;gap:7px;margin:-5px 0 18px;color:#626b78;font-variant-numeric:tabular-nums}.quantity-preview>span{margin-left:auto;font-size:14px}.settings-tabs{margin-bottom:24px;display:flex}.settings-tabs button{flex:1;padding-left:8px;padding-right:8px}.settings-facts{margin:0 0 20px}.settings-facts>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #f4f6f9}.settings-facts dt{color:#626b78;font-size:13px}.settings-facts dd{margin:0;font-size:14px;display:flex;gap:7px;align-items:center;text-align:right}.button-row{display:flex;gap:8px;flex-wrap:wrap}.sync-jobs{margin-top:25px}.sync-jobs h3{margin-bottom:10px}.sync-jobs>div{padding:14px 0;display:grid;grid-template-columns:1fr auto;gap:4px 15px;border-bottom:1px solid #f4f6f9;font-size:14px}.sync-jobs small{grid-column:1/-1;color:#626b78;overflow-wrap:anywhere}.sync-jobs .muted{font-size:12px;grid-column:2;grid-row:auto}.settings-form{padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:22px}.settings-form>h3{margin-bottom:20px}.settings-form>.text-button{margin-left:8px;font-size:14px}.scopes{margin:0 0 20px;padding:0;border:0}.scopes legend{font-size:13px;color:#626b78;margin-bottom:11px}.scopes label{display:flex;align-items:center;gap:7px;margin:10px 0;font-size:14px;min-height:44px}.issued-token{padding:17px;border:1px solid #edf1ff;background:#edf1ff;border-radius:6px;margin-bottom:25px}.issued-token>p{font-size:14px;color:#626b78;line-height:1.8;margin:9px 0 15px}.issued-token textarea{font-size:14px;font-family:ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere;word-break:break-all}.token-row,.user-row{border-bottom:1px solid var(--line);padding:15px 0}.token-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between}.token-row>div:first-child{min-width:0;flex:1}.token-row strong,.user-row strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.token-row small,.user-row>div>small{display:block;font-size:12px;color:#626b78;margin-top:5px;overflow-wrap:anywhere}.token-row .revoke-actions{flex-basis:100%;display:flex;align-items:center;gap:8px;font-size:14px;color:#626b78;padding-top:5px}.user-controls{display:flex;align-items:center;gap:13px;margin-top:12px;flex-wrap:wrap}.user-controls>label:first-child{flex:1}.user-controls select{width:100%;font-size:14px}.checkbox-label{display:flex;align-items:center;gap:6px;font-size:14px;min-height:44px}.user-row>small{display:block;margin-top:10px;font-size:12px}.inline{display:inline!important;font-size:14px;color:#626b78}.mono{font-family:ui-monospace,SFMono-Regular,monospace}.startup,.login-page{min-height:100dvh;display:flex;align-items:center;justify-content:center}.startup{flex-direction:column;gap:24px}.startup .brand div>span,.login-panel .brand div>span{color:#626b78}.login-panel{width:380px;max-width:calc(100% - 40px);padding:35px 32px;background:#fff;border:1px solid #dfe4ec;border-radius:10px;box-shadow:0 15px 50px #17191c08}.login-heading{margin:35px 0 26px}.login-heading h1{font-size:22px}.login-heading p{color:#626b78;font-size:14px;margin-top:10px}.login-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:45px;text-decoration:none;border-radius:6px;font-size:14px}.login-footer{display:block;font-size:12px;color:#626b78;margin-top:30px}.test-mode-label{padding:6px 9px;background:#fff6df;border:1px solid #eddfbb;border-radius:4px;font-size:12px;color:#626b78;margin:-9px 0 16px}@media(min-width:1450px){.main-content{padding:30px 40px 45px}.topbar{padding:0 40px}td{padding-top:17px;padding-bottom:17px}}@media(max-width:1100px){.sidebar{width:170px;padding-left:10px;padding-right:10px}.workspace{margin-left:170px;width:calc(100% - 170px)}.topbar{padding:0 20px}.main-content{padding:23px 20px 35px}.topbar-actions{gap:9px}.desktop-breadcrumb,.sync-status{font-size:14px}.user-identity{padding-left:12px}.desktop-table table{font-size:14px}td,th{padding-left:12px;padding-right:12px}}@media(max-width:760px){:root{font-size:14px}.sidebar,.desktop-breadcrumb,.user-identity{display:none}.workspace{width:100%;margin-left:0}.topbar{height:calc(52px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) max(18px,env(safe-area-inset-right,0px)) 0 max(18px,env(safe-area-inset-left,0px))}.mobile-brand{display:block}.mobile-brand .brand{gap:8px}.mobile-brand .brand-symbol{width:29px;height:31px}.mobile-brand .brand-symbol svg{width:19px}.mobile-brand .brand strong{font-size:14px;letter-spacing:.8px}.mobile-brand .brand div>span{font-size:12px;letter-spacing:1px;color:#626b78}.topbar-actions{gap:8px}.sync-status{display:flex;align-items:center;font-size:14px;gap:5px;max-width:110px;white-space:normal;text-align:left}.topbar-actions>.icon-button{padding:5px;min-width:44px}.back-button{display:none}.mobile-nav{display:flex;align-items:center;background:#fff;padding:0 14px;border-bottom:1px solid var(--line);gap:4px}.mobile-nav button{border:0;background:transparent;border-radius:0;flex:1;font-size:14px;gap:6px;min-height:48px;padding:10px 5px;color:#626b78;border-bottom:2px solid transparent}.mobile-nav button.active{color:#3b54c4;border-bottom-color:#3b54c4;font-weight:600}.mobile-nav button:disabled{background:transparent;flex-direction:column;gap:1px;font-size:14px;opacity:1}.mobile-nav button small{font-size:12px}.main-content{padding:20px 16px 30px}.page-heading{margin-bottom:17px;align-items:center}h1{font-size:21px}.page-actions{gap:9px}.mobile-role{display:block;color:#626b78;font-size:12px;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-actions>.text-button{font-size:14px;padding-right:0;gap:5px}.page-actions>.text-button svg{width:13px}.toolbar{gap:8px;margin-bottom:12px}.search{max-width:none;min-width:0;flex-basis:100%;flex-shrink:0}.search input,.toolbar select{min-height:44px;font-size:14px}.toolbar>.primary{font-size:14px;min-height:44px}.select-label{min-width:0}.select-label select{max-width:100%;padding-left:9px}.list-caption{min-height:24px;font-size:12px;margin-bottom:8px;gap:8px}.desktop-table{display:none}.mobile-list{display:flex;flex-direction:column;gap:9px}.document-card,.inventory-card,.ledger-card{border:1px solid #dfe4ec;border-radius:7px;background:#fff;padding:15px;width:100%;text-align:left;display:block;white-space:normal;min-height:0}.card-row{display:flex;align-items:center;gap:7px;font-size:14px}.card-row>strong{font-size:14px;font-weight:600;line-height:1.55;min-width:0;overflow-wrap:anywhere}.card-row>.badge{font-size:12px;padding:2px 6px;margin-left:3px}.direction-icon{width:26px;height:26px;display:grid;place-items:center;border-radius:5px;flex-shrink:0}.direction-icon.in{background:#edf1ff;color:#626b78}.direction-icon.out{background:#f8f1e2;color:#626b78}.document-card .line-summary{max-width:none;font-size:14px;margin:12px 0 13px;gap:5px}.line-summary b{font-size:14px}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:13px;font-size:12px;color:#626b78;line-height:1.5}.card-meta>span{overflow-wrap:anywhere;min-width:0}.card-meta time{white-space:nowrap;font-size:12px;flex-shrink:0}.card-meta .text-button{font-size:14px;min-height:44px;padding-right:0;padding-left:0;gap:3px}.card-row>.push{color:#626b78}.inventory-card-meta{display:flex;align-items:center;gap:15px;justify-content:space-between;margin-top:11px}.inventory-card-meta>span{color:#626b78;font-size:14px;line-height:1.7;overflow-wrap:anywhere;min-width:0}.inventory-card-meta>b{font-size:22px;white-space:nowrap;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums;flex-shrink:0}.inventory-card-meta>b small{font-size:12px;color:#626b78;font-weight:400}.card-location{display:flex;align-items:flex-start;gap:5px;font-size:14px;color:#626b78;margin-top:11px;line-height:1.6}.card-location svg{flex-shrink:0;margin-top:1px}.inventory-card>.bad-text{display:block;margin-top:10px;font-size:14px}.ledger-card>.card-meta{margin-top:11px}.ledger-card>.card-row>.push{font-size:17px}.ledger-reason{font-size:14px;line-height:1.7;color:#626b78;margin-top:12px;white-space:pre-wrap}.record-tabs{margin-bottom:16px}.empty{min-height:210px}.drawer{width:100%;height:100dvh}.drawer-head{padding:19px 18px 16px}.drawer-head h2{font-size:17px}.drawer-head p{font-size:12px}.drawer-body{padding:19px 18px 25px}.drawer-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));gap:7px}.drawer-footer>button{font-size:14px;min-height:44px;padding-left:10px;padding-right:10px}.footer-hint{font-size:12px;max-width:170px}.footer-status .badge{font-size:12px}.field{margin-bottom:18px}.field-label{font-size:13px}.field input,.field select,.field textarea{min-height:44px;font-size:16px}.field textarea{font-size:14px}.details-grid{gap:16px;margin-bottom:23px}.detail-line{gap:14px;padding:15px 0}.detail-line .field{width:77px}.line-product strong,.line-product small{font-size:14px}.product-quantity{grid-template-columns:minmax(0,1fr) 78px;gap:9px}.context-note{font-size:14px}.action-box{padding:14px}.action-box>p{font-size:14px}.production-summary{padding:14px}.production-summary dt{font-size:13px}.production-summary dd{font-size:17px}.notice{font-size:14px;padding:10px;gap:7px}.notice>.text-button{font-size:14px}.settings-tabs button{min-height:44px;font-size:14px}.settings-form .text-button{margin-left:0;margin-top:8px}.token-row>div:first-child{flex-basis:calc(100% - 75px)}.issued-token textarea{font-size:14px}.sync-jobs>div{font-size:14px}.user-controls{gap:10px}.user-controls select{min-height:44px;font-size:14px}.user-controls button{min-height:44px}.settings-facts dt{font-size:13px}.settings-facts dd{font-size:14px}.scopes label{min-height:44px}.test-mode-label{font-size:12px;margin-top:-3px}.login-panel{padding:30px 26px}.readonly-lines{font-size:14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.full-search{max-width:none;margin-bottom:20px}.production-list{display:flex;flex-direction:column;gap:14px}.production-task{border:1px solid var(--line);border-radius:6px;padding:16px}.production-task>strong{font-size:14px;font-weight:600;line-height:1.6}.production-task>p{font-size:14px;color:#626b78;margin-top:6px;line-height:1.6}.production-values{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0 15px;gap:10px}.production-values dt{color:#626b78;font-size:13px;margin-bottom:7px}.production-values dd{margin:0;font-size:17px;font-weight:550;font-variant-numeric:tabular-nums}.production-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.production-actions button{font-size:14px}.production-task .action-box{margin-bottom:0}.production-task .action-box>p{margin-top:0}.column-filter-trigger{border:0;background:transparent;padding:0;color:inherit;font:inherit;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;min-height:44px}.column-filter-trigger.is-filtered{color:#3046aa}.filter-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.column-filter-panel{position:fixed;inset:auto;margin:0;padding:16px;border:1px solid #dfe4ec;border-radius:8px;background:#fff;color:#20242b;box-shadow:0 8px 30px #17191c20;overflow:auto;box-sizing:border-box}.column-filter-panel:popover-open{display:flex;flex-direction:column;gap:14px}.column-filter-panel label{display:flex;flex-direction:column;gap:6px;font-size:13px}.column-filter-panel input,.column-filter-panel select{width:100%;min-width:0;min-height:44px;font-size:14px}.mobile-column-filters{display:none}@media(max-width:760px){.mobile-column-filters{display:inline-flex}.column-filter-panel input,.column-filter-panel select{font-size:16px}}.column-filter-panel.column-filter-options{padding:6px}.column-filter-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 12px;border:0;background:transparent;text-align:left;font-size:14px}.column-filter-option[aria-pressed=true]{background:#edf1ff;color:#3046aa;font-weight:600}@media(min-width:761px)and (hover:hover)and (pointer:fine){.column-filter-option:hover{background:#f4f6f9}}.column-option-search{padding:8px;position:sticky;top:-6px;background:#fff;z-index:1}.column-filter-option>span:first-child{white-space:normal;overflow-wrap:anywhere}.column-filter-option>span:last-child{flex-shrink:0}.column-custom-range{display:flex;flex-direction:column;gap:12px;padding:12px 8px 8px;border-top:1px solid #dfe4ec}.main-nav button.active{box-shadow:inset 3px 0 #98abff}th{background:#f7f8fa;color:#505a69;font-weight:600}.badge.in{background:#edf1ff;color:#3046aa}.badge.out{background:#eef0f4;color:#3d4654}.badge.completed{background:#edf1ff;color:#3046aa}.badge.pending{background:#eef1f7;color:#526178}.badge.cancelled{background:#f0f1f3;color:#707782}@media(max-width:760px){.mobile-brand .brand{flex-direction:row;align-items:center;gap:10px}.mobile-brand .brand img{width:108px}.mobile-brand .brand-caption{font-size:12px;letter-spacing:1px;border-left:1px solid var(--line);padding-left:10px}}.inventory-brand-filters{gap:16px;align-items:center}@media(max-width:760px){.inventory-brand-filters{display:flex}}.inventory-quantities{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;gap:4px}.production-quantity{display:block;font-size:12px;font-weight:400;color:var(--muted, #626b78);white-space:nowrap}.brand-switch{width:auto;min-height:36px;padding:4px 8px;border:0;background:transparent;color:inherit;font-size:14px;cursor:pointer}.sidebar .brand-switch{color:#fff}.brand-switch option{color:#17191c;background:#fff}@media(max-width:760px){.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;border-top:1px solid var(--line);border-bottom:0;padding-bottom:env(safe-area-inset-bottom,0px)}.mobile-nav button{flex-direction:column;gap:3px;min-height:58px;border-bottom:0}.mobile-nav button.active{background:#f0f3ff}.main-content{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}}.brand-trigger{border:0;background:transparent;padding:0;cursor:pointer;min-height:44px}.business-menu{display:flex;flex-direction:column;gap:8px}.business-menu button{justify-content:flex-start;padding:16px;gap:12px}.business-menu button[aria-current=page]{color:#3b54c4;background:#f0f3ff}.overlay{background:transparent;overflow:hidden;isolation:isolate}.drawer-backdrop{position:absolute;inset:0;background:#17191c66;z-index:-1}.drawer{position:relative}.topbar-actions .sync-status{cursor:default}.stock-group{background:#eef1f6}.stock-group.level-1{background:#f7f8fa}.stock-group td{padding:0}.stock-group-button{width:100%;justify-content:flex-start;gap:10px;border:0;border-radius:0;background:transparent;padding:12px 16px;text-align:left}.stock-group.level-1 .stock-group-button{padding-left:32px}.stock-group-button small{color:var(--muted);font-weight:400}@media(max-width:760px){.inventory-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px;min-width:0;max-width:100%}.inventory-card .card-row{grid-column:1 / -1;min-width:0;align-items:flex-start}.inventory-card .card-row strong{min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:15px;line-height:1.5}.inventory-card .card-row svg{flex-shrink:0}.inventory-card-meta{margin:0;min-width:0}.inventory-quantities{align-items:flex-start;gap:2px}.inventory-quantities b{color:#17202d;font-size:20px;line-height:1.3}.inventory-quantities b small{font-size:12px;font-weight:400}.inventory-card .card-location{margin:0;align-self:center;max-width:140px;overflow-wrap:anywhere;font-size:13px}.inventory-card>.bad-text{grid-column:1 / -1;margin:0}}.product-picker-trigger{width:100%;justify-content:space-between;text-align:left;white-space:normal;gap:10px}.product-picker-trigger span{min-width:0;overflow-wrap:anywhere}.product-picker-trigger svg{flex-shrink:0}.product-picker-panel{border:1px solid var(--line);padding:12px;border-radius:8px}.product-picker-options{max-height:38vh;overflow:auto;overscroll-behavior:contain}.product-picker-options summary{padding:12px 8px;cursor:pointer;font-weight:600}.picker-model{margin-left:12px}.picker-product{width:100%;text-align:left;display:flex;flex-direction:column;align-items:flex-start;white-space:normal;gap:4px;border:0;border-top:1px solid var(--line);padding:12px 8px}.picker-product span{overflow-wrap:anywhere}.picker-product small{color:var(--muted)}@media(max-width:760px){#create-document .create-line{padding:12px;min-width:0}#create-document .section-heading{margin-bottom:10px}#create-document .field{min-width:0}#create-document input[type=number]{width:100%}.product-picker-panel{padding:8px}.product-picker-trigger{min-height:46px;font-size:14px}}.borrow-drawer{width:560px;max-width:100%}.borrow-drawer .drawer-body{padding:20px}.borrow-drawer .drawer-footer{gap:12px;justify-content:space-between}.borrow-total{display:flex;flex-direction:column;gap:4px;min-width:0}.borrow-total strong{font-size:15px}.borrow-total small{font-size:12px;color:#626b78}:is(.borrow-drawer,.borrow-page) #create-document .create-line{padding:12px 0 16px;margin-bottom:8px;border-bottom:1px solid var(--line)}:is(.borrow-drawer,.borrow-page) .create-line>.section-heading{margin:0 0 8px}:is(.borrow-drawer,.borrow-page) .product-picker-trigger{background:#f8f9fc;padding:12px;min-height:48px}:is(.borrow-drawer,.borrow-page) .has-selection{background:#fff}.borrow-quantity{display:flex;align-items:center;justify-content:space-between;font-size:14px;gap:12px}.quantity-stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;overflow:hidden;flex-shrink:0}.quantity-stepper button{min-width:40px;height:40px;border:0;border-radius:0;font-size:20px}:is(.borrow-drawer,.borrow-page) #create-document .quantity-stepper input{width:64px;min-width:0;padding:8px 2px;border:0;border-radius:0;text-align:center;appearance:textfield}.quantity-stepper input::-webkit-inner-spin-button{appearance:none}:is(.borrow-drawer,.borrow-page) .add-line{width:100%;min-height:44px;justify-content:center;border:1px dashed var(--line);margin:8px 0 20px}.picker-search{display:flex;align-items:center;gap:6px}.picker-search .search{min-width:0;flex:1}.picker-search input{min-width:0;width:100%}.picker-group{width:100%;border:0;text-align:left;justify-content:flex-start;gap:8px;background:#f4f6f9;min-height:42px;margin-top:4px}.picker-group[aria-expanded=false] svg{transform:rotate(-90deg)}.picker-group:disabled{opacity:1;color:inherit}:is(.borrow-drawer,.borrow-page) .product-picker-options{max-height:34dvh}@media(max-width:760px){.borrow-drawer{width:100%}.borrow-drawer .drawer-body,.borrow-drawer .drawer-head{padding:16px}.borrow-drawer .drawer-footer>button{flex:0 0 auto;min-width:130px}}.loan-list{display:flex;flex-direction:column;gap:12px}.loan-card{border:1px solid var(--line);border-radius:12px;overflow:hidden}.loan-open{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;padding:16px;gap:8px;border:0;border-radius:0;background:#fff;white-space:normal}.loan-open strong{font-size:18px}.loan-open span{line-height:1.5;overflow-wrap:anywhere}.loan-open small{color:var(--muted);font-weight:400}.loan-open b{color:#3046aa;font-size:14px}.loan-return{padding:16px;border-top:1px solid var(--line)}.loan-return .form-actions{display:flex;justify-content:flex-end;gap:10px}.sync-status.has-warning{color:#946514}.status-dot.warning{background:#b9811b}.notice.warning{color:#805711;background:#fff8e9;border-color:#e9d3a5}.notice>small{display:block;margin-top:4px}.notice.sync-module-status{display:block}.notice.sync-module-status p{margin:6px 0 0}.business-menu-footer{display:flex;align-items:center;justify-content:space-between;width:100%;gap:16px}.business-menu-footer select{min-width:120px}.business-menu-footer button{flex:0 0 auto}:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Segoe UI,sans-serif;--ink:#1d1d1f;--muted:#6e6e73;--accent:#3b54c4;--accent-dark:#3046aa;--line:#e5e5ea;--surface:#fff;--ease-ui:cubic-bezier(.22,1,.36,1);background:#f5f5f7;color:var(--ink)}button{border-radius:12px;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .22s var(--ease-ui)}button:active:not(:disabled){transform:scale(.98)}button:focus-visible,a:focus-visible{outline:3px solid #3b54c466;outline-offset:3px}button.primary{border-color:var(--accent);background:var(--accent);color:#fff;border-radius:12px;box-shadow:none}button:disabled{color:#8a8a90;background:#f0f0f3;border-color:#e5e5ea}input,select,textarea{border-radius:12px;border-color:#dedee3;background:#fafafa;transition:border-color .18s ease,box-shadow .18s ease}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #3b54c41a;outline:none}textarea{line-height:1.6}h1,h2,h3{letter-spacing:-.025em;color:var(--ink)}.sidebar{background:#f8f8fa;color:var(--ink);border-right:1px solid var(--line);padding:28px 16px}.sidebar .brand-light{display:block}.sidebar .brand-dark{display:none}.sidebar .brand-caption,.module-label{color:var(--muted)}.main-nav{gap:6px}.main-nav button{position:relative;isolation:isolate;color:#515158;border-radius:12px;min-height:48px;font-weight:500}.main-nav button.active{color:var(--accent);background:transparent;box-shadow:none}@media(min-width:761px)and (hover:hover)and (pointer:fine){.main-nav button:hover:not(:disabled){background:#ebebf0}}.nav-selection{position:absolute;inset:0;background:#e7eafa;border-radius:12px;z-index:-1;pointer-events:none}.topbar{background:#ffffffed;border-bottom:1px solid #e5e5ea;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.sync-status{font-size:12px;color:var(--muted)}.main-content{animation:workspace-in .26s var(--ease-ui) both}.desktop-table{border-radius:16px;border-color:var(--line);background:#fff}th{background:#fafafa;color:#6e6e73;font-weight:500}td{border-color:#eeeef1}.list-caption{color:var(--muted);font-size:13px}.badge{border-radius:7px;font-size:12px;font-weight:500}.segmented{background:#ebebef;border:0;border-radius:12px;padding:4px;gap:4px}.segmented button{border:0;border-radius:9px;color:var(--muted);background:transparent}.segmented button.active{background:#fff;color:var(--ink);box-shadow:0 1px 5px #0000000d}.inventory-card,.document-card,.ledger-card,.loan-card{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:none}@media(min-width:761px)and (hover:hover)and (pointer:fine){.inventory-card:hover:not(:disabled),.loan-open:hover:not(:disabled){background:#fafaff}}.stock-group{background:#f0f1f5}.stock-group.level-1{background:#fafafa}.stock-group-button{min-height:48px;font-weight:600}.stock-group-button svg{transition:transform .22s var(--ease-ui)}.overlay{background:transparent}.drawer-backdrop{background:#12131b59}.drawer{border-radius:22px 0 0 22px;box-shadow:-16px 0 70px #0000001a;overflow:hidden;background:#fff}.drawer-head{padding:22px 24px 18px;background:#fff;border-color:var(--line)}.drawer-head h2{font-size:23px;font-weight:600;letter-spacing:-.035em}.drawer-head .icon-button{border:0;border-radius:50%;background:#f0f0f3;color:#626269}.drawer-footer{background:#fffffff5;border-top:1px solid var(--line)}.drawer-body{scrollbar-width:thin;scrollbar-color:#c7c7cc transparent}.business-menu{gap:8px}.business-menu button{border:0;border-radius:14px;min-height:56px;background:#f5f5f7;font-weight:500}@media(min-width:761px)and (hover:hover)and (pointer:fine){.business-menu button:hover:not(:disabled){background:#eaeefa;color:var(--accent)}}.business-menu button{animation:menu-in .32s var(--ease-ui) both}.business-menu button:nth-child(2){animation-delay:35ms}.business-menu button:nth-child(3){animation-delay:70ms}.create-line{border-radius:14px;border-color:var(--line)}.loan-open{border-radius:0;padding:18px}.notice{border-radius:12px;line-height:1.5}.notice small{overflow-wrap:anywhere}.field-label{font-weight:500;color:#515158}.quantity-stepper{border-radius:12px;overflow:hidden}@keyframes workspace-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes menu-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}@media(max-width:760px){.topbar{background:#fffffff0}.mobile-nav{background:#fffffff0;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:6px 8px max(6px,env(safe-area-inset-bottom));gap:4px}.mobile-nav button{position:relative;isolation:isolate;border:0;border-radius:12px;color:var(--muted);font-size:11px;font-weight:500;min-height:52px}.mobile-nav button.active{background:transparent;color:var(--accent)}.mobile-nav .nav-selection{background:#eef0fb}.main-content{padding-left:16px;padding-right:16px;padding-bottom:calc(88px + env(safe-area-inset-bottom))}.drawer{border-radius:0;box-shadow:none}.drawer-head{padding:calc(16px + env(safe-area-inset-top,0px)) 20px 16px}.drawer-head h2{font-size:22px}.drawer-body{padding:20px}input,select,textarea{font-size:16px}.drawer-footer{padding-left:20px;padding-right:20px}.inventory-card{padding:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.drawer-scrim{position:fixed;inset:0;z-index:99;background:#12131b59;pointer-events:none}.overlay[inert]{pointer-events:none}.drawer-body{overscroll-behavior:contain}@media(max-width:760px){.drawer{box-shadow:none}.drawer-head,.drawer-footer{flex-shrink:0}}.borrow-page{max-width:880px;margin:0 auto;min-width:0}.borrow-page #create-document{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.borrow-page .record-tabs{margin-bottom:20px}.borrow-page-footer:empty{display:none}.borrow-page-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:16px 20px;background:#fffffff5;border:1px solid var(--line);border-radius:14px;position:sticky;bottom:16px;z-index:5}.borrow-page .loan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}@media(max-width:760px){.borrow-page #create-document{padding:16px}.borrow-page .loan-list{grid-template-columns:minmax(0,1fr)}.borrow-page-footer{bottom:calc(70px + env(safe-area-inset-bottom));padding:12px;gap:8px}.borrow-page-footer .primary{flex-shrink:0}}.loan-card-heading{display:flex;flex-direction:column;gap:6px;padding:18px;border-bottom:1px solid var(--line)}.loan-card-heading strong{font-size:18px}.loan-card-heading small{color:var(--muted);font-size:12px}.loan-product+.loan-product{border-top:1px solid var(--line)}.loan-returned{color:var(--muted);background:#fafafa}.loan-quantity-field{padding:0 18px 16px}.loan-quantity-field .field-label{font-size:12px}.loan-quantity-field input{width:100%}.loan-return .form-actions{align-items:center;flex-wrap:wrap}.loan-return .form-actions>span{margin-right:auto;font-size:13px;color:var(--muted)}.loan-history-list{display:flex;flex-direction:column;gap:12px;margin-top:16px}.loan-history-entry{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.loan-history-entry header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:14px}.loan-history-entry time,.loan-history-entry>small{font-size:12px;color:var(--muted)}.loan-history-line{display:flex;justify-content:space-between;gap:16px;padding:10px 0}.loan-history-line span{overflow-wrap:anywhere;min-width:0}.loan-history-line strong{white-space:nowrap}.return-status-tabs{display:flex;width:fit-content;max-width:100%}.product-disconnect{margin-top:24px;padding-top:16px;border-top:1px solid var(--border, #e5e7eb)}.product-disconnect p{margin:0 0 12px;line-height:1.6}.material-toolbar{flex-wrap:wrap;gap:10px 18px}.material-toolbar .search{flex:1;min-width:180px}.material-stock{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}.material-stock strong{font-size:22px}.material-stock small{font-size:13px;color:var(--muted);font-weight:400}.material-details dd{overflow-wrap:anywhere;white-space:pre-wrap}.material-accounting{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.material-accounting h3{margin-bottom:16px}.material-transfer #material-transfer,.material-review{padding:24px;background:#fff;border:1px solid var(--line);border-radius:16px}.material-transfer .create-line{padding:16px 0;margin:0 0 12px;border:0;border-bottom:1px solid var(--line);border-radius:0}.material-transfer .create-line .section-heading{margin-top:0}.material-transfer .add-line{width:100%;border:1px dashed var(--line);margin-bottom:20px}.material-transfer .notice.success{align-items:center;justify-content:space-between;flex-wrap:wrap}.material-review-lines{margin:16px 0}.material-review-line{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.material-review-line>div,.material-review-line>strong{min-width:0;overflow-wrap:anywhere}.material-review-line small{display:block;margin-top:5px;color:var(--muted)}.material-review-line>b{white-space:nowrap;font-variant-numeric:tabular-nums}.material-review .borrow-page-footer{padding:16px 0 0;border:0;border-radius:0;position:static}.material-card .material-spec{grid-column:1/-1;white-space:normal;overflow-wrap:anywhere;text-align:left;color:var(--muted)}.material-card .material-stock{text-align:left}.material-transfer .field input[type=number]{width:100%}.material-picker-category{display:flex;align-items:center;gap:12px;margin:12px 0}.material-picker-category>span{color:var(--muted);white-space:nowrap}.material-picker-category>select{flex:1;min-width:0}@media(max-width:760px){.material-transfer #material-transfer,.material-review{padding:16px}.material-review .borrow-page-footer{flex-wrap:wrap}.material-review .borrow-page-footer>.button-row{margin-left:auto}.material-toolbar .search{flex-basis:100%}.material-card>.bad-text{grid-column:1/-1;text-align:left;white-space:normal}}.material-stock-group{--material-group-bg:#f0f1f5;background:var(--material-group-bg)}.material-stock-group.level-1{--material-group-bg:#fafafa}.material-stock-group.level-2{--material-group-bg:#fff}@media(min-width:761px)and (hover:hover)and (pointer:fine){.material-stock-group:hover{background:var(--material-group-bg)}}.material-stock-group .stock-group-button,@media (min-width: 761px) and (hover: hover) and (pointer: fine){.material-stock-group .stock-group-button:hover:not(:disabled){background:transparent;transform:none}}.material-quantity-input{display:flex;align-items:center;gap:10px;min-width:0}.material-quantity-input input{flex:1;min-width:0;width:0}.material-quantity-unit{flex-shrink:0;color:var(--ink)}.material-transfer{max-width:1100px}.material-document-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.material-document-heading h2{margin:0;font-size:22px;font-weight:650}.material-direction-tabs{display:flex;gap:0;border-bottom:1px solid var(--line)}.material-direction-tabs button{border:0;border-radius:0;background:transparent;padding:10px 22px;color:var(--muted);border-bottom:2px solid transparent}.material-direction-tabs button.active{color:var(--ink);border-bottom-color:var(--ink);font-weight:650}.material-transfer #material-transfer,.material-transfer .material-review{border-radius:6px;padding:24px}.material-document-fields{display:grid;gap:20px;margin-bottom:28px}.material-document-fields.outbound{grid-template-columns:minmax(180px,1fr) 2fr;align-items:start}.material-transfer .field{margin:0}.material-transfer input,.material-transfer textarea,.material-transfer button{border-radius:6px}.material-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.material-sheet-heading h3{margin:0;font-size:16px}.material-sheet-heading>span{color:var(--muted);font-size:13px}.material-line-columns,.material-entry-row{display:grid;grid-template-columns:44px minmax(0,1fr) 180px 44px;gap:16px;align-items:start}.material-line-columns{padding:12px 0;background:#f5f5f7;border-block:1px solid var(--line);font-size:12px;color:var(--muted)}.material-line-columns>span:first-child{padding-left:8px}.material-entry-row{padding:18px 0;border-bottom:1px solid var(--line)}.material-line-number{padding-top:14px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center;font-size:13px}.material-transfer .product-picker-trigger{border:1px solid var(--line);background:#fff;min-height:46px}.material-entry-quantity .field-label,.mobile-line-prefix{display:none}.material-entry-quantity input{min-height:46px}.material-entry-quantity small{display:block;margin-top:6px}.material-transfer .add-line{width:auto;margin:12px 0 0;border:0;justify-content:flex-start;padding-inline:0}.material-transfer .borrow-page-footer{border-radius:6px}.material-transfer .material-review .borrow-page-footer{position:sticky;bottom:16px;padding:16px 0;background:#fff}.material-select-drawer .drawer-body{padding:0}.material-select-drawer .product-picker-panel{border:0;border-radius:0;padding:0}.material-select-drawer .picker-search{position:sticky;top:0;z-index:2;padding:16px;background:#fff;border-bottom:1px solid var(--line);margin:0}.material-select-drawer .picker-search .search{width:100%}.material-select-drawer .product-picker-options{max-height:none;overflow:visible;padding:0 16px 24px}.material-select-drawer .stock-group-button{white-space:normal}.material-select-drawer .stock-group-button strong{flex:1;text-align:left}.material-select-drawer .stock-group-button small{white-space:nowrap}.material-select-drawer .picker-product{padding:14px 12px;border-radius:0}.material-select-drawer .picker-product[aria-pressed=true]{background:#edf0fb;box-shadow:inset 3px 0 var(--accent)}@media(max-width:760px){.material-document-heading{margin-bottom:16px;gap:8px}.material-document-heading h2{font-size:20px}.material-direction-tabs button{padding:8px 16px}.material-transfer #material-transfer,.material-transfer .material-review{padding:16px}.material-document-fields.outbound{grid-template-columns:minmax(0,1fr);gap:16px}.material-document-fields{margin-bottom:24px}.material-line-columns,.material-remove-placeholder{display:none}.material-entry-row{grid-template-columns:minmax(0,1fr) 44px;gap:10px;padding:16px 0}.material-line-number{grid-column:1;grid-row:1;text-align:left;padding-top:12px}.mobile-line-prefix{display:inline}.material-remove{grid-column:2;grid-row:1}.material-entry-row .product-picker{grid-column:1/-1;grid-row:2}.material-entry-quantity{grid-column:1/-1;grid-row:3}.material-entry-quantity .field{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:12px}.material-entry-quantity .field-label{display:block}.material-transfer .material-review .borrow-page-footer{bottom:calc(70px + env(safe-area-inset-bottom));gap:8px}.material-transfer .material-review .borrow-page-footer>.button-row{gap:8px}.material-transfer .material-review .borrow-page-footer button{padding-inline:10px}.material-sheet-heading{flex-wrap:wrap}}.overlay-left{justify-content:flex-start}.business-menu-drawer{border-radius:0 22px 22px 0}.business-menu-drawer .drawer-head{height:65px;box-sizing:border-box;padding:0 24px;align-items:center}.menu-wordmark{display:block;width:144px;height:auto}@media(max-width:760px){.business-menu-drawer{width:100%;border-radius:0}.business-menu-drawer .drawer-head{height:calc(52px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 18px 0}.menu-wordmark{width:108px}.business-menu-drawer .drawer-head .icon-button{width:36px;height:36px;min-height:36px}}.business-menu-drawer .drawer-body{padding:16px 20px}.business-menu-drawer .business-menu{gap:0}.business-menu-drawer .business-menu button{position:relative;min-height:58px;padding:16px 14px;gap:16px;border-radius:0;background:transparent;border-bottom:1px solid #ededf0;font-size:16px;font-weight:500}.business-menu-drawer .business-menu button:last-child{border-bottom:0}.business-menu-drawer .business-menu button svg{width:19px;height:19px;stroke-width:1.7;color:#777982}.business-menu-drawer .business-menu button[aria-current=page]{background:#f7f8fc;color:#344eb9}.business-menu-drawer .business-menu button[aria-current=page]:before{content:"";position:absolute;left:0;top:20px;bottom:20px;width:3px;border-radius:2px;background:#4058c4}.business-menu-drawer .business-menu button[aria-current=page] svg{color:inherit}@media(min-width:761px)and (hover:hover)and (pointer:fine){.business-menu-drawer .business-menu button:hover:not(:disabled){background:#f7f8fc}}.business-menu-drawer .drawer-head .icon-button{background:transparent;border-radius:6px}.business-menu-drawer .drawer-footer{padding:12px 20px max(12px,env(safe-area-inset-bottom))}.business-menu-drawer .business-menu-footer select{min-width:110px;border:0;background:transparent;border-radius:0;padding-left:4px;font-weight:500}.business-menu-drawer .business-menu-footer button{border:0;background:transparent;padding:10px 4px;gap:8px;color:#60636d}.business-menu-drawer{height:auto;max-height:100dvh;align-self:flex-start;border-radius:0 0 16px 16px;overflow:hidden}.business-menu-drawer .drawer-body{flex:0 1 auto;padding:10px 20px}.business-menu-drawer .business-menu button{min-height:52px;padding-top:13px;padding-bottom:13px}.business-menu-drawer .business-menu button[aria-current=page]:before{top:17px;bottom:17px}.business-menu-drawer .drawer-footer{padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.business-menu-drawer .business-menu button{animation:none}.business-menu-drawer .drawer-body:empty{display:none}.more-menu-drawer{align-self:flex-end;height:auto;max-height:80dvh;border-radius:16px 16px 0 0}.more-menu-drawer .drawer-body{padding:8px 20px max(16px,env(safe-area-inset-bottom))}.more-menu-drawer .business-menu button{background:transparent;border-radius:0;border-bottom:1px solid var(--line);animation:none}.more-menu-drawer .business-menu button:last-child{border-bottom:0}@media(max-width:760px){.bottom-business-nav{display:flex;position:fixed;inset:auto 0 0;z-index:30;background:#fff;border-top:1px solid var(--line);padding:4px 8px max(4px,env(safe-area-inset-bottom));gap:0}.bottom-business-nav button{min-height:54px;flex:1;flex-direction:column;gap:3px;font-size:11px;border:0;border-radius:0;padding:5px 2px;background:transparent}.bottom-business-nav button.active{background:transparent;color:var(--accent);font-weight:700}.bottom-nav-icon{position:relative;display:flex}.bottom-business-nav button .pending-nav-count{position:absolute;top:-5px;left:16px;min-width:15px;height:15px;padding:0 3px;border-radius:9px;background:#bd4b37;color:#fff;font-size:10px;line-height:15px}.main-content{padding-bottom:calc(86px + env(safe-area-inset-bottom))}.commerce-new-fab{bottom:calc(78px + env(safe-area-inset-bottom))!important}.ai-chat-launcher{bottom:calc(142px + env(safe-area-inset-bottom))}.more-menu-drawer{width:100%}}body:has(.overlay) .ai-chat-launcher{visibility:hidden}.topbar-ai-slot{display:flex;align-items:center;flex-shrink:0}.topbar-ai-slot .ai-chat-launcher{position:static;min-width:38px;min-height:44px;padding:0 7px;border:0;border-radius:6px;box-shadow:none;background:transparent;font-size:13px;font-weight:600;z-index:auto}@media(max-width:760px){.topbar-actions{gap:6px}}.business-menu-drawer .business-menu-footer{gap:14px}.business-module-switch{display:flex;flex:1;min-width:0;background:#f5f5f7;border-radius:8px;padding:3px;gap:3px}.business-menu-drawer .business-module-switch button{flex:1;min-width:0;min-height:40px;justify-content:center;padding:7px 12px;border-radius:6px;color:#737680}.business-menu-drawer .business-module-switch button[aria-pressed=true]{background:#fff;color:#344eb9;font-weight:600;box-shadow:0 1px 3px #17191c0d}.business-menu-drawer .business-menu-footer>button{min-height:44px;padding:8px 4px 8px 16px;border-left:1px solid var(--line);border-radius:0;font-size:14px}.business-menu-drawer .drawer-footer{padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.settings-drawer .drawer-body{padding:16px 20px}.settings-menu{display:flex;flex-direction:column}.settings-entry{display:flex;align-items:center;gap:14px;width:100%;min-height:60px;padding:12px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;text-align:left}.settings-entry>span{flex:1;font-weight:500}.settings-entry>svg{color:var(--muted);flex-shrink:0}.settings-back{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.settings-back button{border:0;background:transparent;padding:8px 0;min-height:44px;color:var(--accent)}.settings-back>span{font-size:12px;color:#a45b00}.settings-details{border-top:1px solid var(--line);padding:12px 0;margin:8px 0}.settings-details>summary{cursor:pointer;min-height:32px;line-height:32px;font-weight:500}.settings-details[open]>summary{margin-bottom:12px}.settings-detail-row{display:flex;flex-direction:column;gap:4px;padding:10px 0;font-size:13px}.settings-detail-row>span{color:var(--muted)}.settings-drawer .user-row{display:block;padding:10px 0;border-bottom:1px solid var(--line)}.settings-person{display:grid;grid-template-columns:1fr auto;gap:5px 12px;text-align:left;width:100%;border:0;background:transparent;padding:4px 0;min-height:48px}.settings-person small{grid-column:1;color:var(--muted)}.settings-person svg{grid-column:2;grid-row:1 / 3;align-self:center}.settings-drawer .user-controls{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.settings-drawer .settings-facts{display:grid;grid-template-columns:1fr;gap:0;margin:8px 0 16px}.settings-drawer .settings-facts>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #ededf0}.settings-drawer .settings-facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.settings-drawer .settings-facts dt{flex-shrink:0}.settings-drawer .settings-form{margin-top:12px}.settings-drawer .token-row{flex-wrap:wrap;overflow-wrap:anywhere}.settings-drawer .commerce-queue-settings{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}@media(max-width:760px){.settings-drawer .drawer-body{padding:12px 16px}.settings-drawer .drawer-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom))}}.settings-leave-warning{position:sticky;top:0;z-index:2}.table-sync-list{margin:20px 0}.table-sync-list>section{margin-top:24px}.table-sync-row{padding:14px 0;border-top:1px solid var(--line)}.table-sync-row>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px}.table-sync-row>header>span,.table-sync-row>details{font-size:12px}.table-sync-row>details{margin-top:10px;overflow-wrap:anywhere}.table-sync-row .settings-facts{font-size:12px;margin-bottom:8px}.table-sync-row p{font-size:13px;overflow-wrap:anywhere}@media(max-width:760px){.topbar-ai-slot .ai-chat-launcher{min-width:44px}.ai-chat-management summary,.ai-chat-retention .text-button{min-height:44px}input,select,textarea{scroll-margin-block:80px}button,a,summary{touch-action:manipulation}.drawer-head{padding-top:max(19px,env(safe-area-inset-top))}}:root{--ink:#1d1d1f;--text:var(--ink);--muted:#6e6e73;--accent:#0066cc;--accent-dark:#0054a8;--line:#e5e5ea;--surface:#fff;--control-radius:10px;--section-radius:14px;--section-space:16px;background:#f5f5f7}body{background:#f5f5f7}button,input,select,textarea{font:inherit}button{font-weight:500}button.primary,.commerce-workspace button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button:disabled{background:#f2f2f7;border-color:var(--line);color:#86868b}button:focus-visible,a:focus-visible{outline-color:#0066cc80}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0066cc18}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}input:not([type=checkbox]):not([type=radio]),select,textarea,.commerce-workspace input,.commerce-workspace select,.commerce-workspace textarea,.material-transfer input,.material-transfer textarea{border-radius:var(--control-radius);border-color:#dcdce1;background:#fafafa}.commerce-link-trigger,.aftersales-edit .commerce-link-trigger{border-radius:var(--control-radius);background:#fafafa}.commerce-workspace button:not(.commerce-record):not(.text-button),.material-transfer button,.drawer-footer>button{border-radius:var(--control-radius)}.field-label,.aftersales-entry .field-label{font-size:13px;font-weight:500;color:#515154}.field>small{font-size:12px;line-height:1.5}.field:has([aria-invalid=true]) .field-label,.field-validation{color:#a33b16}.commerce-sheet,.commerce-sheet.aftersales-entry,.commerce-sheet.order-operation-sheet,.commerce-sheet.after-detail-summary,.commerce-sheet.after-detail-logistics,.borrow-page #create-document,.material-transfer #material-transfer,.material-transfer .material-review{border:1px solid var(--line);border-radius:var(--section-radius);background:var(--surface);padding:var(--section-space);margin-bottom:12px;box-shadow:none}.commerce-sheet h3,.commerce-section-heading h3,.material-sheet-heading h3{font-size:16px;font-weight:600;letter-spacing:-.015em;line-height:1.4}.commerce-sheet>h3{margin-bottom:12px}.commerce-page-heading h2{font-size:22px;font-weight:600;letter-spacing:-.025em}.commerce-page-heading,.commerce-detail-heading{min-height:44px;margin-bottom:12px}.commerce-form-grid,.aftersales-entry .commerce-form-grid,.aftersales-edit .commerce-form-grid{gap:16px}.commerce-form-grid+h3,.aftersales-entry .commerce-form-grid+h3{margin-top:20px;padding-top:16px}.commerce-form-grid .field{gap:8px}.commerce-workspace textarea,.aftersales-entry textarea,.aftersales-edit textarea{min-height:80px}.commerce-section-heading,.after-detail-summary .commerce-section-heading{margin-bottom:10px}.commerce-action-bar{border-radius:var(--section-radius);border-color:var(--line);padding:10px 16px;background:#fffffff5}.mobile-list.commerce-mobile-list{border:1px solid var(--line);border-radius:var(--section-radius);background:#fff}.commerce-mobile-list .commerce-record,.commerce-orders .commerce-mobile-list .commerce-record{padding:12px 16px;gap:5px}.commerce-record-top strong,.commerce-orders .commerce-record-top strong{font-size:14px;font-weight:400}.commerce-record-top .commerce-status{font-size:12px;font-weight:500}.commerce-record-top>svg{color:#86868b;align-self:center}.commerce-record-products,.commerce-orders .commerce-record-products{font-size:15px;line-height:1.5;font-weight:600;margin-top:2px}.commerce-sales-product{font-weight:600}.commerce-record-bottom{font-size:13px;align-items:baseline;margin-top:3px}.commerce-record-bottom .commerce-card-price,.commerce-orders .commerce-record-bottom .commerce-card-price{font-size:15px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}.commerce-record-top .commerce-status.processing{color:var(--accent)}.commerce-card-vehicle,.commerce-card-extra{font-size:13px;line-height:1.5}.commerce-new-fab{border-radius:16px;box-shadow:0 3px 10px #0066cc1a}.commerce-facts dt,.after-detail-facts dt,.details-grid dt{font-size:13px;color:var(--muted);font-weight:400}.commerce-facts dd,.after-detail-facts dd,.details-grid dd{font-size:14px;line-height:1.6}.after-detail-facts{gap:0}.after-detail-facts>div{padding:9px 0;border-bottom:1px solid var(--line)}.after-detail-facts>div:last-child{border-bottom:0}.after-detail-products{font-size:15px;font-weight:600;line-height:1.5}.commerce-checkboxes label,.aftersales-entry .commerce-checkboxes label{border-radius:var(--control-radius)}.aftersales-entry .commerce-checkboxes label.is-selected{border-color:var(--accent);background:#edf5ff;color:var(--accent)}.commerce-picker-list>button[aria-pressed=true]{background:#edf5ff}.commerce-picker-list>button[aria-pressed=true] .commerce-choice-mark{background:var(--accent);border-color:var(--accent)}.desktop-table,.inventory-card,.document-card,.ledger-card,.loan-card{border-radius:var(--section-radius);border-color:var(--line);box-shadow:none}.drawer-head h2{font-size:21px;font-weight:600;letter-spacing:-.025em}.drawer-head,.drawer-footer{border-color:var(--line)}.drawer-head .icon-button{border-radius:50%;background:#f2f2f7}.settings-details>summary,.ai-chat-management summary{min-height:44px}.business-module-switch button[aria-pressed=true],.business-menu-drawer .business-module-switch button[aria-pressed=true]{color:var(--accent)}.nav-selection{background:#e8f1fc}.segmented button.active{color:var(--accent)}.numeric{font-variant-numeric:tabular-nums}@media(min-width:761px)and (hover:hover)and (pointer:fine){button.primary:hover:not(:disabled){background:var(--accent-dark);border-color:var(--accent-dark)}}@media(max-width:760px){.commerce-page-heading h2{font-size:20px}.commerce-workspace .commerce-toolbar{gap:8px;margin-bottom:10px}.commerce-toolbar select{min-height:44px}.commerce-sheet,.commerce-sheet.aftersales-entry,.commerce-sheet.order-operation-sheet,.commerce-sheet.after-detail-summary,.commerce-sheet.after-detail-logistics{padding:14px 16px}.commerce-form-grid,.aftersales-entry .commerce-form-grid,.aftersales-edit .commerce-form-grid{gap:14px}.commerce-workspace input,.commerce-workspace select,.commerce-workspace textarea{font-size:16px}.drawer-head h2{font-size:20px}.inventory-card,.document-card,.ledger-card{padding:14px 16px}.bottom-business-nav button.active{font-weight:600}.business-menu-drawer .business-module-switch button{min-height:44px}}button.primary:disabled,.commerce-workspace button.primary:disabled{background:#f2f2f7;border-color:var(--line);color:#86868b}.after-detail-status.waiting{color:#a65b08}.after-detail-status.processing{color:var(--accent)}.after-detail-status.neutral{color:var(--muted)}.material-transfer .material-direction-tabs button{border-radius:0}.material-direction-tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}@media(max-width:760px){.material-transfer #material-transfer,.material-transfer .material-review{padding:14px 16px}}:root{--ink:#17191c;--text:#17191c;--muted:#737980;--accent:#3b54c4;--accent-dark:#2d42a0;--line:#e8eaee;--control-radius:8px;--section-radius:10px;background:#fff}body,.workspace,.main-content{background:#fff}.topbar{background:#fffffff5;border-color:var(--line)}.sidebar{background:#f7f8fa;border-color:var(--line)}.main-nav button{border-radius:8px}.nav-selection{border-radius:8px;background:#e9edf9}.main-content{padding:24px 32px 40px}.commerce-workspace{max-width:1120px}.commerce-toolbar{display:grid;grid-template-columns:1fr minmax(220px,340px) auto;gap:16px;align-items:center;padding:0 0 20px;border-bottom:1px solid var(--line);margin-bottom:0}.commerce-list-title{display:flex;align-items:baseline;gap:12px;min-width:0}.commerce-list-title h2{font-size:26px;font-weight:600;letter-spacing:-.04em;margin:0}.commerce-list-title>span{font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.search,.commerce-toolbar .search{border:0;background:#f2f3f5;border-radius:8px;box-shadow:none;min-height:44px}.search input,.commerce-workspace .search input{background:transparent;border:0;box-shadow:none}.search:focus-within{outline:2px solid #3b54c459;outline-offset:1px}.commerce-toolbar>label:last-child select{background:#fff;border:1px solid var(--line);border-radius:8px}.mobile-list.commerce-mobile-list{border:0;border-radius:0;background:#fff;overflow:visible}.commerce-mobile-list .commerce-record,.commerce-orders .commerce-mobile-list .commerce-record{padding:18px 0;gap:6px}.commerce-card-container{border-bottom:1px solid var(--line)}.commerce-record-top strong,.commerce-orders .commerce-record-top strong{font-size:13px;color:#737980;font-weight:400;letter-spacing:.1px}.commerce-record-top{align-items:center;gap:8px}.commerce-record-top .commerce-status{font-size:11px;padding:3px 7px;border-radius:4px;line-height:1.5}.commerce-status.waiting{background:#fff5e7}.commerce-status.processing{background:#edf0fc}.commerce-status.neutral{background:#f2f3f5}.commerce-record-products,.commerce-orders .commerce-record-products{font-size:16px;font-weight:600;line-height:1.5;margin-top:2px;letter-spacing:-.02em}.commerce-card-vehicle{font-size:13px;color:#737980}.commerce-record-bottom{margin-top:4px}.commerce-record-bottom .commerce-card-price,.commerce-orders .commerce-record-bottom .commerce-card-price{font-size:17px;font-weight:600;letter-spacing:-.03em}.commerce-card-extra{padding-left:10px;border-left:2px solid #e8eaee;margin-top:4px}.commerce-new-fab{width:auto;min-width:52px;height:48px;padding:0 16px;gap:7px;border-radius:8px!important;font-size:13px;box-shadow:0 4px 16px #17191c14}.commerce-new-fab>span{white-space:nowrap}.commerce-sheet,.commerce-sheet.aftersales-entry,.commerce-sheet.order-operation-sheet,.commerce-sheet.after-detail-summary,.commerce-sheet.after-detail-logistics{border:0;border-radius:0;padding:20px 0;margin:0;border-bottom:1px solid var(--line);background:#fff}.commerce-sheet:last-child{border-bottom:0}.commerce-sheet h3,.commerce-section-heading h3,.material-sheet-heading h3{font-size:17px;font-weight:600;letter-spacing:-.025em}.commerce-page-heading,.commerce-detail-heading{padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:0}.commerce-page-heading h2{font-size:24px;letter-spacing:-.04em}.commerce-sheet.aftersales-entry{max-width:none}.commerce-form-grid{column-gap:28px}.commerce-sheet>h3{margin-bottom:18px}.field-label,.aftersales-entry .field-label{font-size:13px;font-weight:500;color:#51565e}input:not([type=checkbox]):not([type=radio]),select,textarea,.commerce-workspace input,.commerce-workspace select,.commerce-workspace textarea,.material-transfer input,.material-transfer textarea{border-color:#e3e5e9;background:#f7f8fa;border-radius:8px}.commerce-link-trigger,.aftersales-edit .commerce-link-trigger{background:#f7f8fa;border-color:#e3e5e9;border-radius:8px;font-weight:400;padding:12px}.commerce-link-trigger>svg{color:#858b96}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #3b54c414}button:focus-visible,a:focus-visible{outline-color:#3b54c480}.commerce-action-bar{border:0;border-top:1px solid var(--line);border-radius:0;background:#fffffff5;padding:12px 0;bottom:0}.commerce-action-bar>button.primary{min-width:112px}.after-detail-products{font-size:17px;line-height:1.55;letter-spacing:-.025em;margin-bottom:16px}.order-summary-sheet>.commerce-facts>div:first-child dd{font-size:16px;font-weight:500}.order-summary-sheet>.commerce-facts>div:first-child{padding-bottom:18px}.order-summary-sheet>.commerce-facts>div:first-child dt{margin-bottom:8px}.after-detail-facts>div,.order-summary-sheet>.commerce-facts>div{padding-block:12px}.after-detail-facts dt,.order-summary-sheet>.commerce-facts dt{color:#737980}.aftersales-entry .commerce-checkboxes label{background:#fff;border-color:#e3e5e9;font-weight:400}.aftersales-entry .commerce-checkboxes label.is-selected{border-color:#3b54c4;background:#f0f2fc;color:#3b54c4}.commerce-picker-list>button[aria-pressed=true]{background:#f0f2fc}.commerce-picker-list>button{padding:16px 8px;font-weight:400}.desktop-table{border:0;border-radius:0}.desktop-table th{background:#f7f8fa;padding-block:14px;font-size:12px}.desktop-table td{padding-block:16px;border-bottom:1px solid var(--line)}.inventory-card,.document-card,.ledger-card,.loan-card{border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;box-shadow:none}.stock-group,.stock-group.level-1{background:#f7f8fa;border-radius:6px}.stock-group-button{font-weight:500}.borrow-page #create-document,.material-transfer #material-transfer,.material-transfer .material-review{border:0;border-radius:0;padding:20px 0}.drawer-head{padding:22px 24px;border-color:var(--line)}.drawer-head h2{font-weight:600;font-size:23px;letter-spacing:-.04em}.drawer-body{background:#fff}.drawer-head .icon-button{background:#f2f3f5;border-radius:50%}.settings-entry{min-height:64px;gap:16px}.settings-entry>span{font-size:15px;font-weight:500}.business-menu-drawer .business-module-switch button[aria-pressed=true]{color:var(--accent)}@media(max-width:760px){.main-content{padding:16px 20px calc(96px + env(safe-area-inset-bottom))}.main-content:has(.commerce-workspace .commerce-toolbar){padding-top:18px}.commerce-workspace .commerce-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:14px 12px;padding-bottom:16px;margin-bottom:0}.commerce-list-title{grid-column:1;grid-row:1;gap:10px}.commerce-list-title h2{font-size:25px}.commerce-toolbar>.search{grid-column:1/-1;grid-row:2;width:100%}.commerce-toolbar>label:last-child{grid-column:2;grid-row:1}.commerce-toolbar>label:last-child select{max-width:128px;min-width:112px}.commerce-mobile-list .commerce-record,.commerce-orders .commerce-mobile-list .commerce-record{padding:16px 0}.commerce-page-heading h2{font-size:22px}.commerce-sheet,.commerce-sheet.aftersales-entry,.commerce-sheet.order-operation-sheet,.commerce-sheet.after-detail-summary,.commerce-sheet.after-detail-logistics{padding:20px 0}.commerce-form-grid,.aftersales-entry .commerce-form-grid,.aftersales-edit .commerce-form-grid{gap:18px}.commerce-workspace input,.commerce-workspace select,.commerce-workspace textarea{font-size:16px}.commerce-action-bar{padding:12px 0}.inventory-card,.document-card,.ledger-card{padding:16px 0}.mobile-list:not(.commerce-mobile-list){gap:0}.bottom-business-nav{border-color:#e8eaee;background:#fffffff5;padding-inline:14px}.bottom-business-nav button{color:#737980;gap:5px;min-height:58px;font-weight:500}.bottom-business-nav button.active{color:var(--accent);font-weight:600}.bottom-business-nav button.active .bottom-nav-icon:after{content:"";position:absolute;top:-10px;left:50%;width:18px;height:2px;background:var(--accent);transform:translate(-50%)}.commerce-new-fab{right:20px;bottom:calc(84px + env(safe-area-inset-bottom))!important}.drawer-head,.drawer-body{padding:20px}.drawer-head h2{font-size:22px}.material-transfer #material-transfer,.material-transfer .material-review{padding:20px 0}}.production-workspace{max-width:1120px}.production-page-actions{min-height:44px;padding-bottom:12px;margin-bottom:16px;border-bottom:1px solid var(--line)}.production-page-actions h2{font-size:22px;font-weight:600;letter-spacing:-.04em}.production-detail-title h2{font-size:20px;font-weight:600;letter-spacing:-.025em}.production-facts dt{font-size:13px}.production-facts dd{font-size:15px}.production-instructions h3,.production-action-form h3{font-size:17px;font-weight:600}.production-stage{color:var(--accent)}.production-history summary{min-height:44px}button.primary.production-new-fab{width:auto;height:48px;padding:0 16px;border-radius:8px;font-size:13px}.production-form input,.production-form select,.production-form textarea{border-radius:8px}@media(max-width:760px){.production-toolbar{flex-wrap:wrap;gap:10px}.production-toolbar>.search{flex:1 0 100%}.production-toolbar>label:not(.search){flex:1}.production-toolbar select{width:100%;max-width:none}.production-form input,.production-form select,.production-form textarea{font-size:16px}button.primary.production-new-fab{bottom:calc(84px + env(safe-area-inset-bottom));right:20px}}.production-migration-correction{margin-top:14px;border-top:1px solid var(--line);padding-top:8px;color:var(--muted);font-size:13px}.production-migration-correction>summary{min-height:44px;line-height:44px;cursor:pointer}.business-menu-drawer .business-menu-footer{flex-wrap:wrap;gap:8px}.business-menu-drawer .business-module-switch{flex-basis:100%}.business-menu-drawer .business-module-switch button{min-height:44px;padding:8px 6px;white-space:nowrap}.business-menu-drawer .business-menu-footer>button{margin-left:auto;border-left:0}.production-create-form{max-width:720px;margin-inline:auto}.production-create-form .production-form-grid{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:16px}.production-create-form .field{margin-bottom:18px}.production-create-form .field>input,.production-create-form .field>select{min-height:46px}.production-create-form textarea{min-height:90px}.production-form-reference{border-top:1px solid var(--line);padding-block:4px}.production-form-reference>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:14px}.production-form-reference>summary:after{content:"⌄";margin-left:auto}.production-form-reference[open]>summary:after{content:"⌃"}.production-save-actions{border-top:1px solid var(--line);padding-top:16px}.production-create-form .production-save-actions{display:flex;flex-direction:row-reverse;justify-content:space-between}.production-create-form .production-save-actions button{min-height:46px}.production-create-form .production-save-actions .primary{flex:1;max-width:240px}.production-group-row{display:flex;flex-direction:column;align-items:stretch;width:100%;padding:18px 0;gap:12px;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;white-space:normal}.production-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-group-heading strong{font-size:17px}.production-group-heading>span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:13px}.production-group-stages{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:var(--muted)}.production-group-stages b{font-weight:500;color:var(--text)}.production-group-remaining{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:13px;color:var(--muted)}.production-group-remaining strong{color:var(--text);font-size:16px}@media(max-width:760px){.order-create-floating,.production-new-fab.primary{display:none!important}.bottom-business-nav .nav-create{color:var(--accent)}.bottom-business-nav .nav-create .bottom-nav-icon{display:flex;align-items:center;justify-content:center;width:42px;height:32px;background:var(--accent);color:#fff;border-radius:10px}.bottom-business-nav .nav-create:disabled{opacity:.45}}.production-group-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.production-group-list .production-group-row{min-width:0;align-items:center;padding:18px 12px 14px;gap:10px;text-align:center;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff)}.production-group-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:16px;background:#3b54c410;color:var(--accent)}.production-group-heading{flex-direction:column;gap:5px}.production-group-heading strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.production-group-stages{justify-content:center;gap:5px 10px;font-size:12px;line-height:1.6}.production-group-remaining{justify-content:center;gap:4px;font-size:12px;margin-top:auto;padding-top:4px}.production-group-remaining strong{font-size:14px}.mobile-list.commerce-mobile-list{border:0;background:transparent;gap:12px;border-radius:0;overflow:visible}.commerce-mobile-list .commerce-card-container,.commerce-mobile-list .commerce-card-container:last-child{border:1px solid #e5e7ec;border-radius:14px;background:#fff;overflow:hidden}.commerce-mobile-list .commerce-record,.commerce-orders .commerce-mobile-list .commerce-record{border:0;border-radius:14px!important;padding:16px}.inventory-card,.document-card,.ledger-card,.loan-card,.production-cards .production-card{border:1px solid #e5e7ec;border-radius:14px;background:#fff;padding:16px;box-shadow:0 2px 6px #18223803}.mobile-list:not(.commerce-mobile-list){gap:12px}.loan-list{display:grid;gap:12px}.commerce-sheet,.commerce-sheet.aftersales-entry,.commerce-sheet.order-operation-sheet,.commerce-sheet.after-detail-summary,.commerce-sheet.after-detail-logistics,.commerce-sheet:last-child{border:1px solid #e5e7ec;border-radius:14px;padding:16px;margin:12px 0;background:#fff}@media(max-width:760px){.main-content{background:#f5f6f8}.mobile-list.commerce-mobile-list{gap:12px}.mobile-list:not(.commerce-mobile-list){gap:12px}.inventory-card,.document-card,.ledger-card,.production-cards .production-card{padding:16px}.commerce-toolbar,.commerce-page-heading,.commerce-detail-heading,.production-page-actions{border-bottom:0}.commerce-toolbar{margin-bottom:12px}}.production-detail-page{max-width:900px;margin-inline:auto}.production-detail-page .production-page-actions{justify-content:space-between;gap:8px;margin-bottom:12px}.production-detail-title{display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:#fff;border:1px solid #e5e7ec;border-radius:14px;padding:16px;margin-bottom:12px}.production-detail-title .production-batch{font-size:12px;color:var(--muted)}.production-detail-title h2{font-size:18px;line-height:1.5;margin:7px 0 0}.production-detail-page .production-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#fff;border:1px solid #e5e7ec;border-radius:14px;padding:16px;margin:0 0 12px}.production-detail-page .production-facts dt{font-size:12px}.production-detail-page .production-facts dd{font-size:17px;line-height:1.5;margin:6px 0 0;font-weight:600}.production-meta{display:grid;gap:10px;background:#fff;border:1px solid #e5e7ec;border-radius:14px;padding:16px;margin:0 0 12px}.production-meta>div{display:flex;justify-content:space-between;gap:16px;font-size:13px;line-height:1.5}.production-meta dt{color:var(--muted);flex-shrink:0}.production-meta dd{margin:0;text-align:right}.production-detail-page .production-task-actions{display:flex;flex-wrap:wrap;margin:0 0 12px;gap:8px}.production-detail-page .production-task-actions .primary{flex-basis:100%;min-height:46px;justify-content:center}.production-detail-page .production-task-actions>button:not(.primary){flex:1;min-height:44px;background:#fff}.production-detail-page .production-intake,.production-detail-page .production-note-card,.production-reference-card,.production-detail-page .production-history,.production-detail-page .production-receipts{background:#fff;border:1px solid #e5e7ec;border-radius:14px;padding:16px;margin:0 0 12px}.production-detail-page .production-intake p{font-size:13px;line-height:1.6}.production-note-card p{margin:8px 0 0;font-size:14px;line-height:1.6}.production-reference-card>summary,.production-detail-page .production-history>summary{font-size:15px;font-weight:600;min-height:28px;cursor:pointer}.production-reference-card .production-instructions{margin-bottom:0}.production-reference-card .production-instructions h3{display:none}.production-edit-form{background:#fff;border:1px solid #e5e7ec;border-radius:14px;padding:16px}.production-edit-form .production-assignee-field{grid-column:1 / -1}.production-edit-form .production-save-actions{border-top:0;padding-top:8px}.production-detail-title .production-detail-model{margin:10px 0 4px;color:inherit;font-size:14px;line-height:1.5}:root{--page-card-gap:8px}.production-page-actions,.production-detail-page .production-page-actions,.commerce-workspace .commerce-page-heading,.commerce-workspace .commerce-detail-heading,.production-toolbar,.commerce-workspace .commerce-toolbar{padding-bottom:0;margin-bottom:var(--page-card-gap);border-bottom:0}.commerce-workspace>.commerce-sheet,.commerce-workspace>.commerce-sheet:last-child{margin-top:0}@media(max-width:760px){.main-content:has(.production-workspace),.main-content:has(.commerce-workspace),.main-content:has(.commerce-workspace .commerce-toolbar){padding-top:12px}}.detail-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.detail-summary-heading h3{margin:0}.detail-summary-heading .detail-edit-button,.commerce-section-heading .detail-edit-button{flex:none;min-height:44px;padding:8px 4px;white-space:nowrap}.production-detail-title>div{width:100%}.production-detail-title .detail-summary-heading{margin-bottom:4px}.after-detail-summary .commerce-section-heading{flex-wrap:wrap;gap:8px}.after-detail-summary .commerce-section-heading h3{margin-right:auto}.after-detail-summary .after-detail-status{order:3;flex-basis:100%}.mobile-list.commerce-mobile-list,.mobile-list:not(.commerce-mobile-list),.loan-list,.production-cards,.production-group-list{gap:var(--page-card-gap)}.commerce-workspace>.commerce-sheet,.commerce-workspace>.commerce-sheet:last-child{margin:0 0 var(--page-card-gap)}.production-detail-title,.production-detail-page .production-facts,.production-meta,.production-detail-page .production-intake,.production-detail-page .production-note-card,.production-reference-card,.production-detail-page .production-history,.production-detail-page .production-receipts,.production-detail-page .production-task-actions{margin-bottom:var(--page-card-gap)}.detail-products{display:grid;gap:12px;margin:0 0 16px;color:var(--text,#17191c)}.detail-products .detail-product-model{margin:0 0 4px;font-size:14px;line-height:1.5;color:inherit}.detail-products h2{margin:0;font-size:18px;line-height:1.5;color:inherit;font-weight:600}.commerce-record-products .detail-products-compact{margin:0;gap:8px;text-align:left}.detail-products-compact .detail-product-model{font-size:14px;margin:0 0 4px}.detail-products-compact h2{font-size:15px;line-height:1.5;font-weight:600}.production-detail-page .production-work-facts{grid-template-columns:1fr}.production-progress{background:#fff;border:1px solid #e5e7ec;border-radius:14px;padding:12px 16px;margin-bottom:8px}.production-progress ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 6px;padding:0;margin:0}.production-progress li{font-size:12px;color:var(--muted);padding-top:6px;border-top:2px solid #e5e7ec}.production-progress li.done{color:#343b45;border-color:#a5b0c8}.production-progress li.current{color:var(--accent,#3b54c4);border-color:currentColor;font-weight:600}.production-progress .notice{margin-bottom:0}.production-intake-inline{margin:0 0 8px}.production-intake-inline .production-intake-actions{display:flex;flex-direction:column;gap:8px}.production-intake-inline .production-intake-button{width:100%;min-height:46px;background:#fff;border:1px solid #dce1eb;border-radius:12px;color:var(--accent,#3b54c4);justify-content:center}.production-detail-title{gap:8px}.production-detail-title .detail-summary-heading{margin-bottom:2px}.production-detail-title .production-detail-model{margin:4px 0 3px}.production-detail-title h2{margin:0;font-size:18px;line-height:1.45}.production-summary-note{width:100%;padding-top:10px;margin-top:2px;border-top:1px solid #edf0f4;display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;font-size:13px;line-height:1.6}.production-summary-note>span{color:var(--muted)}.production-summary-note p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text,#17191c)}.production-summary-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;width:100%}.production-summary-group{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;line-height:1.5;color:var(--text,#17191c)}.production-summary-group>span{color:var(--muted)}.production-summary-time{display:flex;gap:10px;font-size:12px;line-height:1.5;color:var(--text,#17191c)}.production-summary-time>span{color:var(--muted)}
