:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,Arial,sans-serif;color:#172033;background:#f7f9fc;font-synthesis:none;--brand: #0759b8;--brand-strong: #034b9e;--brand-soft: #eaf3ff;--orange: #f28b00;--coral: #e94562;--danger: #dc2f3f;--warning: #ec7d00;--success: #148a5b;--text: #172033;--muted: #667085;--line: #dfe4ec;--surface: #ffffff;--sidebar-width: 190px;--topbar-height: 88px}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{min-width:320px;background:#f7f9fc}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);display:flex;flex-direction:column;background:#0759b8;color:#fff;z-index:20}.sidebar-brand{height:var(--topbar-height);padding:16px 12px;background:#fff;border-right:1px solid var(--line)}.brand{width:100%;height:100%;display:flex;align-items:center;gap:9px;color:#263143;text-decoration:none}.brand img{width:46px;height:46px;object-fit:contain;flex:0 0 46px;display:block}.brand span{min-width:0;display:grid;line-height:1.15}.brand strong{font-size:19px;letter-spacing:.04em;white-space:nowrap}.brand small{margin-top:4px;color:#7a8493;font-size:11px;letter-spacing:.32em;white-space:nowrap}.brand--compact{width:138px;height:48px}.brand--compact img{width:38px;height:38px;flex-basis:38px}.brand--compact strong{font-size:16px}.brand--compact small{font-size:9px}.sidebar nav{display:grid;gap:4px;padding:16px 8px}.nav-item{min-height:48px;display:flex;align-items:center;gap:11px;padding:0 12px;color:#ffffffe6;text-decoration:none;border-radius:7px;font-size:14px}.nav-item:hover{background:#ffffff17}.nav-item.is-active{background:#ffffff26;box-shadow:inset 3px 0 #fff;color:#fff;font-weight:600}.sidebar-user{margin:auto 10px 14px;padding:10px;border:0;border-top:1px solid rgba(255,255,255,.22);background:transparent;color:#fff;display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:8px;text-align:left}.sidebar-user .avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#ffffff2b}.sidebar-user strong,.sidebar-user small{display:block}.sidebar-user small{margin-top:2px;color:#ffffffad}.app-main{grid-column:2;min-width:0}.topbar{position:sticky;top:0;height:var(--topbar-height);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 28px;background:#fffffff7;border-bottom:1px solid var(--line);z-index:15}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:18px}.breadcrumb span{color:var(--muted)}.breadcrumb i{color:#abb3c1;font-style:normal}.primary-action{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border:1px solid var(--brand);border-radius:7px;background:var(--brand);color:#fff;font-weight:600;box-shadow:none}.primary-action:hover{background:var(--brand-strong)}.secondary-action{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#344054}.secondary-action:hover{border-color:#b9c4d3;background:#f8fafc}.top-actions{display:flex;align-items:center;gap:8px}.back-modules{min-height:42px;display:flex;align-items:center;gap:9px;margin:10px 8px 0;padding:0 12px;border:1px solid rgba(255,255,255,.18);border-radius:7px;background:transparent;color:#fff}.back-modules:hover{background:#ffffff17}.mobile-brand,.bottom-nav{display:none}.dashboard{display:grid;grid-template-columns:minmax(560px,1.75fr) minmax(300px,1fr);background:var(--surface)}.demo-banner{grid-column:1 / -1;min-height:38px;display:flex;align-items:center;gap:10px;padding:7px 24px;background:#fff7e8;border-bottom:1px solid #f4d9a7;color:#80500a;font-size:13px}.demo-banner strong{color:#9a5c00}.attention-panel{min-width:0;padding:18px 24px 0;border-right:1px solid var(--line)}.attention-panel>h1{margin:0 0 12px;font-size:21px;font-weight:650}.task-section{border-bottom:1px solid var(--line)}.task-section+.task-section{margin-top:12px}.task-title{display:flex;align-items:center;min-height:36px;gap:8px}.task-title>span{display:grid;place-items:center;color:var(--warning)}.task-title h2{margin:0;font-size:16px;font-weight:650}.task-title small{color:var(--muted)}.task-rows{margin-top:4px}.task-row{min-height:54px;display:grid;grid-template-columns:minmax(250px,1.7fr) repeat(3,minmax(82px,.55fr)) 80px;align-items:center;gap:14px;border-top:1px solid #edf0f5;font-size:14px}.task-row.compact{grid-template-columns:minmax(280px,1.7fr) minmax(100px,.65fr) minmax(100px,.6fr) 90px}.task-product{display:flex;align-items:center;gap:10px;min-width:0}.task-product span:last-child{min-width:0}.task-product strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-product small,.task-row>div>small{display:block;margin-bottom:3px;color:var(--muted);font-size:12px}.status-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:6px;flex:0 0 30px}.status-icon.warning{color:var(--warning);background:#fff3e0}.status-icon.info{color:var(--brand);background:var(--brand-soft)}.status-icon.pending{color:#b46900;background:#fff5d8}.danger-number{color:var(--danger);font-variant-numeric:tabular-nums}.text-action{border:0;background:transparent;color:var(--brand);font-weight:600;padding:10px 0}.text-action:hover{text-decoration:underline}.empty-row{min-height:56px;display:flex;align-items:center;gap:8px;color:var(--success);border-top:1px solid #edf0f5}.inventory-panel{min-width:0;padding:24px 14px 0 16px}.panel-heading{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-heading h2{margin:0;font-size:18px}.panel-heading span{color:var(--muted);font-size:13px}.inventory-list{margin-top:12px}.inventory-row{width:100%;min-height:56px;display:grid;grid-template-columns:22px 48px minmax(100px,1fr) minmax(76px,auto) 58px;align-items:center;gap:8px;padding:0;border:0;border-top:1px solid #edf0f5;background:transparent;color:inherit;font-size:13px;text-align:left}.inventory-row:not(:disabled):hover{background:#f8fbff}.inventory-row:disabled{opacity:1;cursor:default}.rank{color:#9aa3b2;text-align:center}.code{font-weight:650;font-variant-numeric:tabular-nums}.product-name{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35}.stock-number{display:inline-flex;align-items:baseline;justify-content:flex-end;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.stock-number strong{font-size:16px}.stock-number small{margin-left:2px;color:var(--muted)}.status-text{text-align:right;font-size:12px;font-weight:650}.status-充足{color:var(--success)}.status-留意{color:var(--warning)}.status-需要补印,.status-库存为负{color:var(--danger)}.status-待实盘{color:var(--muted)}.movements-panel{grid-column:1 / -1;padding:16px 24px 32px;border-top:1px solid var(--line);margin-top:10px}.icon-button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--muted)}.collapse-button{min-height:36px;display:inline-flex;align-items:center;gap:5px;margin-left:7px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#475467}.quantity-unit{display:inline-flex!important;align-items:baseline;gap:3px;white-space:nowrap;font-variant-numeric:tabular-nums}.quantity-unit small{color:var(--muted)}.data-table-wrap{margin-top:10px;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{padding:10px 9px;border-bottom:1px solid var(--line);color:var(--muted);text-align:left;font-weight:600;white-space:nowrap}.data-table td{padding:10px 9px;border-bottom:1px solid #edf0f5;vertical-align:middle}.data-table td strong,.data-table td span{display:block}.data-table td span{max-width:260px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.positive{color:var(--success);font-weight:650}.negative{color:var(--danger);font-weight:650}.records-page{min-height:calc(100vh - var(--topbar-height));padding:28px;background:var(--surface)}.records-page>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--line)}.records-page h1{margin:0;font-size:24px}.records-page p{margin:8px 0 0;color:var(--muted)}.page-actions{display:flex;gap:8px}.page-actions button{min-height:40px;display:flex;align-items:center;gap:7px;padding:0 14px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--text)}.records-table{margin-top:20px}.empty-large{padding:80px 20px;color:var(--muted);text-align:center}.report-summary{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));max-width:820px;border:1px solid var(--line);border-radius:8px;margin-top:24px}.report-summary>div{padding:24px;border-right:1px solid var(--line)}.report-summary>div:last-child{border:0}.report-summary span,.report-summary small{color:var(--muted)}.report-summary strong{display:inline-block;margin:10px 4px 0 0;font-size:30px;font-variant-numeric:tabular-nums}.settings-list{max-width:760px;margin-top:24px;border-top:1px solid var(--line)}.settings-list>div{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line)}.settings-list span{color:var(--muted);text-align:right}.settings-layout{max-width:820px}.password-form{display:grid;gap:14px;max-width:520px;margin-top:34px;padding-top:24px;border-top:1px solid var(--line)}.password-form h2{margin:0;font-size:18px}.password-form p{margin:-6px 0 4px;color:var(--muted)}.password-form label{display:grid;gap:6px;color:#344054;font-size:14px;font-weight:600}.password-form input{min-height:44px;border:1px solid #cfd6e2;border-radius:7px;padding:0 12px}.password-form .primary-action{justify-self:start}.form-success{padding:10px 12px;border-left:3px solid var(--success);background:#ecf9f3;color:#0f6a46;font-size:13px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.check-row{display:flex!important;align-items:center;gap:8px!important;font-weight:500!important}.check-row input{width:18px!important;min-height:18px!important}.dialog-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:20px;background:#10182857;z-index:50}.entry-dialog{width:min(620px,100%);max-height:calc(100vh - 40px);overflow-y:auto;background:#fff;border-radius:10px;box-shadow:0 22px 70px #0019413d}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px 16px;border-bottom:1px solid var(--line)}.dialog-header small{color:var(--muted)}.dialog-header h2{margin:4px 0 0;font-size:22px}.dialog-header button{border:0;background:transparent;color:var(--muted)}.entry-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:14px 24px}.entry-tabs button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--muted)}.entry-tabs button.is-active{color:var(--brand);border-color:#9cc7f5;background:var(--brand-soft);font-weight:600}.entry-dialog form{display:grid;gap:16px;padding:8px 24px 24px}.entry-dialog label,.login-panel label{display:grid;gap:7px;color:#344054;font-size:14px;font-weight:600}.entry-dialog input,.entry-dialog select,.login-panel input{width:100%;min-height:44px;border:1px solid #cfd6e2;border-radius:7px;padding:0 12px;background:#fff;color:var(--text)}.entry-dialog input:focus,.entry-dialog select:focus,.login-panel input:focus{outline:3px solid #d8eaff;border-color:var(--brand)}.vendor-picker{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(220px,1.2fr);gap:8px}.selected-stock{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:8px}.selected-stock span{padding:12px;color:var(--muted);font-size:12px;border-right:1px solid var(--line)}.selected-stock span:last-child{border:0}.selected-stock strong{display:block;margin-top:4px;color:var(--text);font-size:18px}.form-error{padding:10px 12px;border-left:3px solid var(--danger);background:#fff0f1;color:#a31f2b;font-size:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:8px}.dialog-actions>button{min-height:44px;padding:0 18px;border:1px solid var(--line);border-radius:7px;background:#fff}.dialog-actions>button.primary-action{border-color:var(--brand);background:var(--brand);color:#fff}.dialog-actions>button.primary-action:hover{background:var(--brand-strong)}.confirm-dialog,.tutorial-dialog,.manage-dialog,.quick-stocktake{width:min(520px,100%);max-height:calc(100vh - 40px);overflow-y:auto;border-radius:11px;background:#fff;box-shadow:0 22px 70px #0019413d}.confirm-dialog header,.manage-dialog header,.quick-stocktake header{display:flex;align-items:flex-start;gap:12px;padding:21px 22px 16px;border-bottom:1px solid var(--line)}.confirm-dialog header>span{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:7px;color:var(--warning);background:#fff4df}.confirm-dialog header>span.danger{color:var(--danger);background:#fff0f1}.confirm-dialog header div,.quick-stocktake header div{min-width:0;flex:1}.confirm-dialog h2,.manage-dialog h2,.quick-stocktake h2{margin:0;font-size:20px}.confirm-dialog header p{margin:5px 0 0;color:var(--muted)}.confirm-dialog header>button,.manage-dialog header>button{width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted)}.confirm-dialog dl{margin:0;padding:8px 22px}.confirm-dialog dl>div{min-height:42px;display:grid;grid-template-columns:120px 1fr;align-items:center;gap:16px;border-bottom:1px solid #edf0f5}.confirm-dialog dt{color:var(--muted)}.confirm-dialog dd{margin:0;text-align:right;font-weight:600}.confirm-dialog footer,.manage-dialog footer,.quick-stocktake footer{display:flex;justify-content:flex-end;gap:8px;padding:16px 22px 20px}.confirm-dialog footer>button,.manage-dialog footer>button,.quick-stocktake footer>button{min-height:42px;padding:0 16px;border:1px solid var(--line);border-radius:7px;background:#fff}.confirm-dialog footer>.primary-action,.manage-dialog footer>.primary-action,.quick-stocktake footer>.primary-action{border-color:var(--brand);background:var(--brand);color:#fff}.danger-button{display:inline-flex;align-items:center;gap:7px;border-color:var(--danger)!important;background:var(--danger)!important;color:#fff}.large-confirm{display:grid;gap:7px;margin:8px 22px;padding:13px;border:1px solid #f0c2c7;border-radius:7px;background:#fff8f8;color:#6c2630}.large-confirm input{min-height:42px;padding:0 11px;border:1px solid #cfd6e2;border-radius:7px;background:#fff}.confirm-dialog>.form-error{margin:8px 22px 0}.manage-dialog{width:min(640px,100%)}.manage-dialog header{justify-content:space-between}.manage-dialog form{display:grid;gap:15px;padding:18px 22px 0}.manage-dialog form>label,.quick-stocktake>label{display:grid;gap:7px;color:#344054;font-size:14px;font-weight:600}.manage-dialog input,.manage-dialog select,.manage-dialog textarea,.quick-stocktake input,.quick-stocktake select{width:100%;min-height:43px;padding:0 11px;border:1px solid #cfd6e2;border-radius:7px;background:#fff;color:var(--text)}.manage-dialog textarea{min-height:84px;padding-top:10px;resize:vertical}.manage-dialog fieldset{margin:0;padding:13px;border:1px solid var(--line);border-radius:8px}.manage-dialog legend{padding:0 6px;color:#344054;font-weight:600}.permission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.tutorial-dialog{position:relative;padding:26px;text-align:center}.tutorial-dialog .close{position:absolute;top:15px;right:15px;width:34px;height:34px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted)}.tutorial-progress{display:flex;justify-content:center;gap:6px;margin-bottom:26px}.tutorial-progress span{width:28px;height:3px;border-radius:2px;background:#dce2ea}.tutorial-progress span.active{background:var(--brand)}.tutorial-icon{color:var(--brand)}.tutorial-dialog>small{display:block;margin-top:14px;color:var(--muted)}.tutorial-dialog h2{margin:8px 0;font-size:24px}.tutorial-dialog>p{min-height:70px;margin:0 auto;max-width:420px;color:#475467;line-height:1.7}.tutorial-dialog footer{display:flex;justify-content:space-between;gap:10px;margin-top:22px}.tutorial-dialog footer button{min-height:42px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border:1px solid var(--line);border-radius:7px;background:#fff}.tutorial-dialog footer .primary-action{border-color:var(--brand);background:var(--brand);color:#fff}.quick-stocktake{width:min(500px,100%)}.quick-stocktake header>svg{color:var(--brand)}.quick-stocktake>.selected-stock{margin:18px 22px;grid-template-columns:repeat(3,1fr)}.quick-stocktake>label{margin:14px 22px}.stocktake-delta{margin:0 22px;padding:10px 12px;border-left:3px solid var(--brand);background:var(--brand-soft)}.tooltip-wrap{position:relative;display:inline-flex}.tooltip-bubble{position:absolute;top:calc(100% + 8px);right:0;width:max-content;max-width:260px;padding:8px 10px;border-radius:6px;background:#172033;color:#fff;font-size:12px;font-weight:400;line-height:1.4;box-shadow:0 8px 24px #0000002e;z-index:80}.module-home{min-height:100vh;display:flex;flex-direction:column;background:#f7f9fc}.module-home>header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid var(--line)}.module-home>header .brand{width:180px}.module-home>header>div{display:flex;align-items:center;gap:14px}.module-home>header button{min-height:36px;padding:0 11px;border:1px solid var(--line);border-radius:7px;background:#fff}.module-home main{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:48px 0}.eyebrow{margin:0;color:var(--brand);font-size:13px;font-weight:650}.module-home h1{margin:8px 0 0;font-size:30px;font-weight:650}.module-intro{margin:10px 0 28px;color:var(--muted)}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:14px}.module-card{min-height:128px;display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:16px;padding:22px;border:1px solid #d8dee8;border-radius:10px;background:#fff;color:var(--text);text-align:left;box-shadow:0 4px 16px #132d4e0a}.module-card:not(:disabled):hover{border-color:#9dc1eb;box-shadow:0 7px 22px #13468217}.module-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:9px;background:var(--brand-soft);color:var(--brand)}.module-card>span:nth-child(2){display:grid;gap:7px}.module-card strong{font-size:18px}.module-card small{color:var(--muted);line-height:1.5}.module-card em{display:flex;align-items:center;gap:5px;color:var(--brand);font-size:13px;font-style:normal;font-weight:600}.module-card.is-planned{opacity:1;background:#fafbfc;color:#667085}.module-card.is-planned .module-icon{background:#eef1f5;color:#778293}.module-card.is-planned em{color:#8d96a5}.module-home>footer{margin-top:auto;padding:22px;color:#8b94a3;text-align:center;font-size:12px}.page-actions-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:20px;border-bottom:1px solid var(--line)}.page-actions-row h1{margin:0}.product-table,.order-list{margin-top:18px;overflow-x:auto}.product-table-head,.product-table-row{min-width:980px;display:grid;grid-template-columns:minmax(260px,1.8fr) 110px 95px 100px 110px 120px 190px;align-items:center;gap:12px;padding:0 12px}.product-table-head{min-height:42px;color:var(--muted);font-size:13px;font-weight:600;border-bottom:1px solid var(--line)}.product-table-row{min-height:66px;border-bottom:1px solid #edf0f5;font-size:13px}.product-table-row>span:first-child{display:grid;gap:4px}.product-table-row small{color:var(--muted)}.product-table-row.is-disabled{background:#fafafa;color:#7e8795}.pattern-tag{display:inline-flex;width:max-content;max-width:100%;padding:3px 7px;border-radius:5px;background:#fff4df;color:#8a5600;font-size:11px;font-style:normal;white-space:nowrap}.stock-link{display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;padding:8px 0;border:0;background:transparent;color:var(--brand);font-weight:650;white-space:nowrap}.row-actions{display:flex;align-items:center;gap:6px}.status-enabled,.status-disabled{font-size:12px;font-style:normal;font-weight:600;white-space:nowrap}.status-enabled{color:var(--success)}.status-disabled{color:var(--muted)}.upload-button{cursor:pointer}.upload-button input{display:none}.text-action.small{padding:7px 4px;font-size:12px}.order-list-head,.order-list-row{min-width:1060px;display:grid;grid-template-columns:140px minmax(220px,1.5fr) 110px minmax(160px,1fr) 110px 110px 90px 52px;align-items:center;gap:12px;padding:0 12px}.order-list-head{min-height:42px;border-bottom:1px solid var(--line);color:var(--muted);font-size:13px;font-weight:600}.order-list-row{min-height:64px;border-bottom:1px solid #edf0f5;font-size:13px}.order-list-row>span:nth-child(2){display:grid;gap:3px}.order-list-row small{color:var(--muted)}.settings-center{display:grid;grid-template-columns:220px minmax(0,1fr);gap:30px;margin-top:18px}.settings-center>aside{display:grid;align-content:start;border-right:1px solid var(--line)}.settings-center>aside button{min-height:48px;display:grid;grid-template-columns:24px 1fr 18px;align-items:center;gap:8px;padding:0 14px;border:0;border-left:3px solid transparent;background:transparent;color:#475467;text-align:left}.settings-center>aside button.active{border-left-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:600}.settings-content{min-width:0}.settings-content h1{margin:0;font-size:23px}.settings-content>p{margin:7px 0 20px;color:var(--muted)}.inline-create{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr)) auto;gap:8px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fafbfc}.inline-create.user-create{grid-template-columns:repeat(4,minmax(120px,1fr)) auto}.inline-create input,.inline-create select{min-width:0;min-height:42px;padding:0 10px;border:1px solid #cfd6e2;border-radius:7px;background:#fff}.admin-list{margin-top:16px;border-top:1px solid var(--line)}.admin-list>div{min-height:62px;display:grid;grid-template-columns:minmax(220px,1fr) 75px auto auto;align-items:center;gap:8px;border-bottom:1px solid #edf0f5}.admin-list span{display:grid;gap:4px}.admin-list small{color:var(--muted)}.admin-list>div>button{min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:#fff}.release-list{border-top:1px solid var(--line)}.release-list>div{border-bottom:1px solid var(--line)}.release-list button{width:100%;min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 4px;border:0;background:transparent;text-align:left}.release-list button span{display:grid;gap:4px}.release-list small{color:var(--muted)}.release-list p{margin:0;padding:0 4px 18px;color:#475467;line-height:1.7}.audit-list{border-top:1px solid var(--line)}.audit-list>div{min-height:58px;display:grid;grid-template-columns:minmax(200px,1fr) minmax(150px,.7fr) 170px;align-items:center;gap:12px;border-bottom:1px solid #edf0f5;font-size:13px}.audit-list span,.audit-list small{color:var(--muted)}.section-title{margin:24px 0 8px;font-size:16px}.operation-list{border-top:1px solid var(--line)}.operation-list>div{min-height:58px;display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid #edf0f5}.operation-list span{display:grid;gap:4px}.operation-list small{color:var(--muted)}.operation-list button{min-height:34px;padding:0 10px;border:1px solid #e6b0b6;border-radius:6px;background:#fff;color:var(--danger)}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f2f6fb}.login-panel{width:min(430px,100%);padding:32px;background:#fff;border:1px solid #dde4ed;border-radius:12px;box-shadow:0 16px 42px #1430521a}.login-brand{width:240px;height:74px;overflow:hidden}.login-brand img{width:100%}.login-copy h1{margin:24px 0 7px;font-size:26px}.login-copy p{margin:0 0 24px;color:var(--muted)}.login-panel form{display:grid;gap:16px}.login-button{min-height:46px;border:0;border-radius:7px;background:var(--brand);color:#fff;font-weight:650}.demo-credentials{margin:18px 0 0;color:var(--muted);font-size:12px;text-align:center}.app-loading,.state-page{min-height:50vh;display:grid;place-content:center;justify-items:center;gap:10px;color:var(--muted);text-align:center}.state-page h2,.state-page p{margin:0}.state-page button{min-height:40px;padding:0 16px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--brand)}.spinner{width:24px;height:24px;border:3px solid #dce7f5;border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}@media(max-width:1080px){:root{--sidebar-width: 76px}.sidebar-brand{padding:20px 7px}.sidebar-brand .brand{justify-content:center}.sidebar-brand .brand img{width:44px;height:44px;flex-basis:44px}.sidebar-brand .brand span{display:none}.back-modules{justify-content:center;padding:0}.back-modules:not(svg){font-size:0}.sidebar .nav-item{justify-content:center;padding:0}.sidebar .nav-item span,.sidebar-user span:not(.avatar){display:none}.sidebar-user{grid-template-columns:1fr;justify-items:center}.sidebar-user>svg{display:none}.dashboard{grid-template-columns:1fr}.attention-panel{border-right:0}.inventory-panel{border-top:1px solid var(--line);padding-bottom:10px}.movements-panel{margin-top:0}.inline-create.user-create{grid-template-columns:1fr 1fr}.inline-create.user-create .primary-action{justify-self:start}}@media(max-width:760px){:root{--topbar-height: 68px}.app-shell{display:block;padding-bottom:72px}.sidebar{display:none}.app-main{width:100%}.topbar{height:var(--topbar-height);padding:0 14px;gap:10px}.mobile-brand{display:block;width:128px}.mobile-brand .brand{gap:6px}.mobile-brand .brand img{width:34px;height:34px;flex-basis:34px}.mobile-brand .brand strong{font-size:14px}.mobile-brand .brand small,.breadcrumb{display:none}.primary-action{min-height:42px;padding:0 12px}.top-actions{gap:5px}.top-actions .secondary-action{width:38px;min-height:38px;padding:0;font-size:0}.top-actions .primary-action{font-size:13px}.tooltip-bubble{display:none}.bottom-nav{position:fixed;inset:auto 0 0;z-index:30;height:calc(66px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);padding-bottom:env(safe-area-inset-bottom);background:#fffffffa;border-top:1px solid var(--line)}.bottom-nav a{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#6b7484;text-decoration:none;font-size:10px}.bottom-nav a.is-active{color:var(--brand);font-weight:650}.dashboard{display:block}.demo-banner{padding:7px 14px;align-items:flex-start}.attention-panel,.inventory-panel,.movements-panel{padding:18px 14px}.attention-panel>h1{font-size:20px}.task-title{flex-wrap:wrap}.task-title small{width:100%;margin-left:30px}.task-row,.task-row.compact{grid-template-columns:1fr 1fr;gap:10px 16px;padding:14px 0}.task-product{grid-column:1 / -1}.task-row>div:nth-of-type(4){display:none}.task-row .text-action{grid-column:2;justify-self:end}.inventory-row{grid-template-columns:24px 58px minmax(110px,1fr) 62px;min-height:58px}.inventory-row .status-text{display:none}.inventory-row .product-name{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.movements-panel .data-table{min-width:760px}.records-page{min-height:auto;padding:18px 14px}.records-page>header{align-items:stretch;flex-direction:column}.page-actions{justify-content:flex-end}.records-table .data-table{min-width:700px}.report-summary{grid-template-columns:1fr}.report-summary>div{border-right:0;border-bottom:1px solid var(--line)}.settings-list>div{align-items:flex-start;flex-direction:column;padding:14px 0;gap:5px}.settings-list span{text-align:left}.dialog-backdrop{align-items:end;padding:0}.entry-dialog{width:100%;max-height:92vh;border-radius:12px 12px 0 0;padding-bottom:env(safe-area-inset-bottom)}.selected-stock{grid-template-columns:1fr 1fr}.vendor-picker{grid-template-columns:1fr}.selected-stock span:nth-child(2){border-right:0}.selected-stock span:nth-child(-n+2){border-bottom:1px solid var(--line)}.login-panel{padding:26px 22px}.module-home>header{height:68px;padding:0 14px}.module-home>header .brand{width:150px}.module-home>header .brand img{width:38px;height:38px;flex-basis:38px}.module-home>header .brand strong{font-size:16px}.module-home>header .brand small{font-size:9px}.module-home>header>div>span{display:none}.module-home main{width:calc(100% - 28px);padding:28px 0}.module-home h1{font-size:25px}.module-grid{grid-template-columns:1fr}.module-card{min-height:112px;grid-template-columns:44px 1fr;padding:17px}.module-card>em{grid-column:2}.module-icon{width:42px;height:42px}.page-actions-row{align-items:stretch;flex-direction:column}.page-actions-row .primary-action{align-self:flex-start}.settings-center{display:block;margin-top:10px}.settings-center>aside{display:flex;overflow-x:auto;margin:0 -14px 20px;padding:0 14px;border-right:0;border-bottom:1px solid var(--line)}.settings-center>aside button{min-width:max-content;grid-template-columns:22px auto;border-left:0;border-bottom:3px solid transparent}.settings-center>aside button>svg:last-child{display:none}.settings-center>aside button.active{border-bottom-color:var(--brand);background:transparent}.inline-create,.inline-create.user-create{grid-template-columns:1fr}.admin-list>div{grid-template-columns:1fr auto;padding:12px 0}.admin-list>div>button{justify-self:end}.audit-list>div{grid-template-columns:1fr;gap:4px;padding:12px 0}.form-grid,.permission-grid{grid-template-columns:1fr}.confirm-dialog,.tutorial-dialog,.manage-dialog,.quick-stocktake{width:100%;max-height:92vh;border-radius:12px 12px 0 0;padding-bottom:env(safe-area-inset-bottom)}.confirm-dialog dl>div{grid-template-columns:100px 1fr}.quick-stocktake>.selected-stock{grid-template-columns:1fr 1fr}.product-table,.order-list{overflow:visible}.product-table-head,.order-list-head{display:none}.product-table-row,.order-list-row{min-width:0;min-height:0;grid-template-columns:1fr 1fr;gap:12px 18px;margin-bottom:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.product-table-row>.mobile-primary,.order-list-row>.mobile-primary,.order-list-row>.mobile-product{grid-column:1 / -1}.product-table-row>span:not(.mobile-primary),.product-table-row>button,.order-list-row>span:not(.mobile-primary):not(.mobile-product){display:grid;justify-items:start;gap:4px}.product-table-row [data-label]:before,.order-list-row [data-label]:before{content:attr(data-label);color:var(--muted);font-size:11px;font-weight:500}.product-table-row .quantity-unit,.order-list-row .quantity-unit,.product-table-row .stock-link{display:flex!important;flex-wrap:wrap;align-items:baseline;column-gap:3px}.product-table-row .quantity-unit:before,.order-list-row .quantity-unit:before,.product-table-row .stock-link:before{flex:0 0 100%}.product-table-row .row-actions{grid-column:1 / -1;display:flex!important;flex-wrap:wrap;align-items:center}.product-table-row .row-actions:before{flex:0 0 100%}.order-list-row>span:last-child{justify-self:end}}:root{--app-bg: #f2f5f9;--glass-bg: rgba(249, 251, 254, .76);--glass-strong: rgba(255, 255, 255, .9);--glass-border: rgba(255, 255, 255, .72);--module-border: #dbe3ed;--module-shadow: 0 12px 34px rgba(27, 62, 101, .08);--ios-ease: cubic-bezier(.32, .72, 0, 1)}body{background:var(--app-bg)}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.quantity-inline{display:inline-flex!important;align-items:baseline;gap:3px;white-space:nowrap;font-variant-numeric:tabular-nums}.quantity-inline small,.quantity-inline em{color:var(--muted);font-size:.72em;font-style:normal;font-weight:500}.sidebar{background:#0759b8}.sidebar-brand{border-right:0}.nav-item{border:1px solid transparent;transition:background .18s ease,border-color .18s ease,transform .18s ease}.nav-item:hover{background:#ffffff1a;transform:translate(2px)}.nav-item.is-active{background:#ffffff2b;border-color:#fff3;box-shadow:inset 3px 0 #fff,inset 0 1px #ffffff26}.topbar{background:var(--glass-bg);border-color:#cfdae7c2;-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);box-shadow:inset 0 1px 0 var(--glass-border)}.top-actions button{transition:transform .16s var(--ios-ease),background .16s ease,box-shadow .16s ease}.top-actions button:active{transform:scale(.96)}.secondary-action{background:#ffffffb8;border-color:#cad5e2d1;box-shadow:inset 0 1px #ffffffd9}.primary-action{box-shadow:0 6px 16px #0759b82e,inset 0 1px #ffffff2e}.v103-dashboard{display:grid;grid-template-columns:minmax(560px,1.65fr) minmax(360px,.85fr);gap:16px;align-items:stretch;padding:18px;background:var(--app-bg)}.work-module{position:relative;min-width:0;overflow:hidden;border:1px solid var(--module-border);border-radius:16px;background:#fffffff0;box-shadow:var(--module-shadow)}.attention-module{grid-column:1;grid-row:1}.inventory-module{grid-column:2;grid-row:1}.movements-module{grid-column:1 / -1;grid-row:2}.brand-watermark,.module-watermark{position:absolute;right:-16px;top:-18px;width:132px;height:132px;color:var(--brand);opacity:.045;pointer-events:none}.brand-watermark{object-fit:contain}.module-heading{position:relative;min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e5eaf1}.module-heading>div{min-width:0}.module-heading p,.v103-page-heading p{margin:0 0 4px;color:var(--brand);font-size:11px;font-weight:700;letter-spacing:.08em}.module-heading h1,.v103-page-heading h1{margin:0;font-size:21px;font-weight:680;letter-spacing:-.02em}.module-heading span,.v103-page-heading span{display:block;margin-top:5px;color:var(--muted);font-size:12px}.module-refresh{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border:1px solid var(--line);border-radius:10px;background:#ffffffc2;color:var(--muted)}.module-refresh svg{width:18px}.inventory-tools,.product-tools{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #e7ebf1}.inventory-module .inventory-tools{align-items:stretch;flex-direction:column}.inventory-search{min-width:0;min-height:42px;display:flex;align-items:center;gap:8px;flex:1;padding:0 11px;border:1px solid #d2dbe7;border-radius:11px;background:#f8fafde6;color:var(--muted)}.inventory-search:focus-within{border-color:#79abe4;box-shadow:0 0 0 3px #2a7eda1f}.inventory-search svg{width:18px;flex:0 0 18px}.inventory-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text)}.filter-chips{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none}.filter-chips::-webkit-scrollbar{display:none}.filter-chips button{min-height:34px;padding:0 12px;border:1px solid #d5dde8;border-radius:10px;background:#ffffffc7;color:#5f6b7a;white-space:nowrap;transition:transform .14s ease,background .16s ease,color .16s ease}.filter-chips button:active{transform:scale(.96)}.filter-chips button.is-active{border-color:#9bc3ef;background:#eaf3ff;color:var(--brand);font-weight:650}.v103-inventory-list{margin:0}.v103-inventory-row{position:relative;width:100%;min-height:68px;display:grid;grid-template-columns:minmax(0,1fr) 112px 62px;align-items:center;gap:10px;padding:10px 16px;border:0;border-bottom:1px solid #e9edf2;background:transparent;color:var(--text);text-align:left;transition:background .16s ease,transform .14s var(--ios-ease)}.v103-inventory-row:last-child{border-bottom:0}.v103-inventory-row:hover{background:#f6faff}.v103-inventory-row:active{transform:scale(.992);background:#edf5ff}.inventory-identity{min-width:0;display:grid;gap:3px}.inventory-code-line{display:flex;align-items:center;gap:7px}.inventory-code-line>strong{font-size:14px;font-variant-numeric:tabular-nums}.stock-status{padding:2px 6px;border-radius:6px;background:#edf8f2;color:var(--success);font-size:10px;font-style:normal;font-weight:650;white-space:nowrap}.status-需要补印,.status-库存为负{background:#fff0f1;color:var(--danger)}.status-留意{background:#fff5e4;color:var(--warning)}.inventory-name{color:#344054;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.inventory-identity .pattern-tag{margin-top:1px}.inventory-stock{display:grid;justify-items:end;gap:2px}.inventory-stock>small,.inventory-stock>span{color:var(--muted);font-size:10px}.inventory-stock strong{color:#101828;font-size:18px;font-weight:720}.inventory-affordance{display:inline-flex;align-items:center;justify-content:flex-end;gap:2px;color:var(--brand);font-size:11px;font-weight:650}.inventory-affordance svg{width:16px}.inventory-empty{min-height:160px;display:grid;place-content:center;justify-items:center;gap:6px;padding:24px;color:var(--muted);text-align:center}.inventory-empty svg{width:28px;height:28px}.inventory-empty strong{color:#344054}.inventory-empty span{font-size:12px}.attention-toggle{width:100%;border:0;background:transparent;color:inherit;text-align:left}.attention-state{width:34px;height:34px;display:grid!important;place-items:center;flex:0 0 34px;margin:0!important;border-radius:50%;font-weight:700}.attention-state.clear{background:#eaf7f1;color:var(--success)}.attention-state.has-task{background:#fff1dc;color:var(--warning)}.attention-chevron{width:20px;color:var(--muted);transition:transform .24s var(--ios-ease)}.attention-module.is-expanded .attention-chevron{transform:rotate(180deg)}.attention-body{padding:0 18px 14px}.attention-body .task-section:last-child{border-bottom:0}.mobile-movement-list{display:none}.desktop-movement-table{margin:0;padding:0 16px 16px}.desktop-movement-table thead{position:sticky;top:var(--topbar-height);z-index:2;background:#fffffff5}.desktop-movement-table tbody tr{transition:background .14s ease}.desktop-movement-table tbody tr:hover{background:#f7faff}.movements-module.is-collapsed .module-heading{border-bottom:0}.stocktake-backdrop{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:20px;background:#11182757;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.stocktake-surface{width:min(560px,100%);max-height:min(760px,calc(var(--visual-height,100vh) - 40px));overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--glass-border);border-radius:24px;background:#f9fbfee0;-webkit-backdrop-filter:blur(28px) saturate(165%);backdrop-filter:blur(28px) saturate(165%);box-shadow:0 28px 90px #0c234040,inset 0 1px #ffffffe6;animation:surface-in .28s var(--ios-ease)}.sheet-handle{display:none}.stocktake-header{display:flex;align-items:flex-start;gap:12px;padding:20px 22px 16px;border-bottom:1px solid rgba(207,217,229,.82)}.stocktake-header-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:11px;background:#eaf3ff;color:var(--brand)}.stocktake-header-icon.warning{background:#fff2dd;color:var(--warning)}.stocktake-header>div{min-width:0;flex:1}.stocktake-header small{color:var(--brand);font-size:11px;font-weight:700;letter-spacing:.06em}.stocktake-header h2{margin:3px 0 0;font-size:22px}.stocktake-header p{margin:4px 0 0;color:var(--muted);line-height:1.45}.surface-close{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border:0;border-radius:10px;background:#ffffff8c;color:var(--muted)}.stocktake-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 22px;overflow:hidden;border:1px solid #d8e0ea;border-radius:14px;background:#ffffffa6}.stocktake-metrics span{padding:14px;border-right:1px solid #dfe6ef;color:var(--muted);font-size:12px}.stocktake-metrics span:last-child{border:0}.stocktake-metrics strong{display:block;margin-top:5px;color:var(--text);font-size:21px;font-variant-numeric:tabular-nums}.stocktake-form{display:grid;gap:14px;padding:0 22px 6px}.stocktake-form label,.stocktake-large-confirm{display:grid;gap:7px;color:#344054;font-size:14px;font-weight:650}.stocktake-form input,.stocktake-form select,.stocktake-large-confirm input{width:100%;min-height:48px;padding:0 13px;border:1px solid #cbd6e3;border-radius:12px;background:#fffc;color:var(--text);font-size:16px}.stocktake-form input:focus,.stocktake-form select:focus,.stocktake-large-confirm input:focus{outline:3px solid rgba(42,126,218,.16);border-color:#65a3e8}.stocktake-difference{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 14px;border-left:3px solid var(--brand);border-radius:0 11px 11px 0;background:#eaf3ffd1}.stocktake-difference>span{color:var(--muted);font-size:13px}.stocktake-difference strong{font-size:18px}.stocktake-review{margin:6px 22px 0}.stocktake-review>div{min-height:52px;display:grid;grid-template-columns:120px 1fr;align-items:center;gap:16px;border-bottom:1px solid #dfe5ed}.stocktake-review dt{color:var(--muted)}.stocktake-review dd{margin:0;text-align:right;font-size:17px;font-weight:650}.stocktake-large-confirm{margin:16px 22px 0;padding:14px;border:1px solid #e9bdc2;border-radius:12px;background:#fff7f8e6;color:#772c35}.stocktake-error{margin:12px 22px 0}.stocktake-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:9px;padding:16px 22px 20px;border-top:1px solid rgba(209,218,230,.82);background:#f9fbfee6;box-shadow:0 -8px 22px #25374e0d}.stocktake-actions button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 17px;border:1px solid #d1dae6;border-radius:12px;background:#ffffffd1}.stocktake-actions .primary-action{border-color:var(--brand);background:var(--brand);color:#fff}.discard-summary{display:grid;grid-template-columns:1fr auto;gap:12px 20px;margin:20px 22px 10px;padding:16px;border:1px solid #dce3ec;border-radius:14px;background:#ffffffa8}.discard-summary span{color:var(--muted)}.readonly-note{margin:0 22px 8px;padding:13px;border-radius:11px;background:#eef2f7d9;color:var(--muted)}.records-page{background:var(--app-bg)}.v103-page-heading{align-items:center}.v103-page-heading>div>span{color:var(--muted);font-size:13px}.product-tools{margin-top:16px;border:1px solid var(--module-border);border-radius:14px 14px 0 0;background:#ffffffe6}.desktop-product-table{margin-top:0;border:1px solid var(--module-border);border-top:0;border-radius:0 0 14px 14px;background:#fffffff0;box-shadow:var(--module-shadow)}.desktop-product-table .product-table-head{position:sticky;top:var(--topbar-height);z-index:3;background:#f9fbfefa}.desktop-product-table .product-table-row{transition:background .14s ease}.desktop-product-table .product-table-row:hover{background:#f7faff}.desktop-product-table .stock-link{font-size:13px}.desktop-product-table svg{width:17px;height:17px}.mobile-product-list{display:none}.nav-item:focus,.mobile-product-summary:focus{outline:0}.nav-item:focus-visible,.mobile-product-summary:focus-visible{outline:3px solid rgba(66,153,249,.45);outline-offset:-3px}.bottom-nav a:focus{outline:0}.bottom-nav a:focus-visible{outline:3px solid rgba(66,153,249,.45);outline-offset:-3px}.v103-manage-dialog{border:1px solid var(--glass-border);border-radius:22px;background:#f9fbfee0;-webkit-backdrop-filter:blur(26px) saturate(160%);backdrop-filter:blur(26px) saturate(160%)}.entry-dialog,.manage-dialog{border:1px solid var(--glass-border);background:var(--glass-bg);-webkit-backdrop-filter:blur(24px) saturate(155%);backdrop-filter:blur(24px) saturate(155%)}.v103-confirm-backdrop{background:#11182757;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.v103-confirm-dialog{border:1px solid var(--glass-border);border-radius:22px;background:#f9fbfee0;-webkit-backdrop-filter:blur(26px) saturate(160%);backdrop-filter:blur(26px) saturate(160%)}.save-toast{position:fixed;left:50%;bottom:28px;z-index:90;min-height:46px;display:flex;align-items:center;gap:8px;padding:0 16px;border:1px solid rgba(255,255,255,.8);border-radius:14px;background:#1b293de6;color:#fff;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 14px 34px #0a182c38;transform:translate(-50%);animation:toast-in .25s var(--ios-ease)}.save-toast svg{color:#6ee7b7}@keyframes surface-in{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}@media(min-width:1081px){.attention-toggle{cursor:default}.attention-chevron{display:none}.attention-body{display:block!important}.inventory-module{display:flex;flex-direction:column;max-height:640px}.inventory-module .v103-inventory-list{min-height:0;overflow-y:auto}.desktop-product-table{overflow:visible}}@media(min-width:761px){.records-page>header{padding:18px;border:1px solid var(--module-border);border-radius:16px;background:#ffffffeb;box-shadow:var(--module-shadow)}.order-list{overflow:hidden;border:1px solid var(--module-border);border-radius:14px;background:#fffffff0;box-shadow:var(--module-shadow)}.settings-center{padding:16px;border:1px solid var(--module-border);border-radius:16px;background:#ffffffeb;box-shadow:var(--module-shadow)}}@media(min-width:761px)and (max-width:1080px){.v103-dashboard{grid-template-columns:1fr}.inventory-module{grid-column:1;grid-row:1}.attention-module{grid-column:1;grid-row:2}.movements-module{grid-column:1;grid-row:3}.inventory-module .inventory-tools{flex-direction:row}}@media(max-width:760px){:root{--topbar-height: 64px}html,body{overflow-x:clip}body{background:#eef3f8}button,a{touch-action:manipulation}.entry-dialog input,.entry-dialog select,.entry-dialog textarea,.manage-dialog input,.manage-dialog select,.manage-dialog textarea,.confirm-dialog input,.password-form input,.inline-create input,.inline-create select{font-size:16px}.app-shell{padding-bottom:94px}.topbar{height:64px;padding:0 12px;background:#f9fbfeb8}.mobile-brand{width:126px}.mobile-brand .brand{gap:7px}.mobile-brand .brand img{width:35px;height:35px;flex-basis:35px}.mobile-brand .brand strong{font-size:15px}.top-actions{gap:5px}.top-actions .secondary-action{width:42px;min-height:42px;border-radius:13px}.top-actions .primary-action{min-height:42px;padding:0 12px;border-radius:13px;font-size:0}.top-actions .primary-action:after{content:"录入";font-size:13px}.bottom-nav{inset:auto 10px max(8px,env(safe-area-inset-bottom)) 10px;width:auto;height:68px;grid-template-columns:repeat(5,1fr);padding:0;border:1px solid var(--glass-border);border-radius:24px;background:#fafcffbd;-webkit-backdrop-filter:blur(26px) saturate(165%);backdrop-filter:blur(26px) saturate(165%);box-shadow:0 14px 34px #1739602e,inset 0 1px #ffffffe6;overflow:hidden}.bottom-nav a{position:relative;min-height:58px;border-radius:18px;font-size:11px;transition:color .16s ease,transform .14s var(--ios-ease)}.bottom-nav a:active{transform:scale(.94)}.bottom-nav a.is-active{background:#e1efffbd}.v103-dashboard{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:12px}.inventory-module{order:1}.attention-module{order:2}.movements-module{order:3}.work-module{border-radius:18px;box-shadow:0 8px 24px #1d426c14}.brand-watermark,.module-watermark{width:112px;height:112px;opacity:.04}.module-heading{min-height:78px;padding:15px 16px}.module-heading h1{font-size:20px}.module-heading span{font-size:12px}.module-refresh{width:42px;height:42px;border-radius:12px}.inventory-tools,.product-tools{align-items:stretch;flex-direction:column;gap:9px;padding:11px 12px}.inventory-search{min-height:46px;border-radius:13px}.inventory-search input{font-size:16px}.filter-chips button{min-height:38px;border-radius:11px}.v103-inventory-row{min-height:96px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:6px 12px;padding:13px 14px}.inventory-identity{grid-column:1;grid-row:1 / 3;gap:4px}.inventory-code-line>strong{font-size:15px}.stock-status{font-size:11px}.inventory-name{font-size:15px;line-height:1.42;overflow:visible;display:block}.inventory-stock{grid-column:2;grid-row:1;align-self:end}.inventory-stock strong{font-size:22px}.inventory-affordance{grid-column:2;grid-row:2;align-self:start;font-size:12px}.inventory-identity .pattern-tag{font-size:11px}.attention-toggle{cursor:pointer}.attention-module.is-collapsed .attention-body{display:none}.attention-body{padding:0 14px 10px}.attention-body .task-section{margin-top:0}.attention-body .task-title{padding:8px 0}.attention-body .task-row,.attention-body .task-row.compact{padding:12px 0}.desktop-movement-table{display:none}.mobile-movement-list{display:block;padding:0 14px 12px}.mobile-movement-list>div{min-height:66px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;border-bottom:1px solid #e6ebf1}.mobile-movement-list>div:last-child{border:0}.mobile-movement-list span{display:grid;gap:4px}.mobile-movement-list small,.mobile-movement-list em{color:var(--muted);font-size:11px;font-style:normal}.mobile-movement-list>div>em{grid-column:1 / -1}.stocktake-backdrop{align-items:end;padding:0}.stocktake-surface{width:100%;max-height:calc(var(--visual-height,100dvh) - 8px);border-radius:26px 26px 0 0;padding-bottom:max(env(safe-area-inset-bottom),8px)}.sheet-handle{width:38px;height:5px;display:block;margin:9px auto 2px;border-radius:5px;background:#5a687b47}.stocktake-header{padding:12px 18px 14px}.stocktake-header h2{font-size:21px}.stocktake-header p{font-size:14px}.stocktake-metrics{grid-template-columns:1fr 1fr;margin:14px 18px}.stocktake-metrics span{min-height:82px;padding:12px}.stocktake-metrics span:nth-child(2){border-right:0}.stocktake-metrics span:last-child{grid-column:1 / -1;border-top:1px solid #dfe6ef}.stocktake-form{gap:13px;padding:0 18px 4px}.stocktake-form label,.stocktake-large-confirm{font-size:15px}.stocktake-form input,.stocktake-form select,.stocktake-large-confirm input{min-height:50px;font-size:16px}.stocktake-review{margin:4px 18px 0}.stocktake-review>div{min-height:54px}.stocktake-large-confirm{margin:14px 18px 0}.stocktake-actions{padding:13px 18px max(14px,env(safe-area-inset-bottom))}.stocktake-actions button{min-height:48px;flex:1;padding:0 12px;font-size:15px}.discard-summary{margin:16px 18px 8px}.readonly-note{margin:0 18px 6px}.records-page{padding:16px 12px}.v103-page-heading{gap:12px;padding:4px 2px 16px}.v103-page-heading h1{font-size:25px}.v103-page-heading .primary-action{align-self:flex-start}.product-tools{margin-top:0;border-radius:16px}.desktop-product-table{display:none}.mobile-product-list{display:grid;gap:10px;margin-top:12px}.mobile-product-card{overflow:hidden;border:1px solid var(--module-border);border-radius:17px;background:#fffffff0;box-shadow:0 7px 22px #1d426c12}.mobile-product-card.is-disabled{background:#f7f8faf0}.mobile-product-summary{position:relative;width:100%;display:grid;gap:12px;padding:15px;border:0;background:transparent;color:var(--text);text-align:left}.mobile-product-title{display:grid;gap:5px;padding-right:28px}.mobile-product-title>span{display:flex;align-items:center;justify-content:space-between;gap:10px}.mobile-product-title strong{font-size:17px}.mobile-product-title small{color:#475467;font-size:15px;line-height:1.4}.mobile-product-highlight{display:flex;align-items:end;justify-content:space-between;gap:14px}.mobile-product-highlight>span{display:grid;justify-items:end;gap:3px}.mobile-product-highlight>span>small{color:var(--muted);font-size:12px}.mobile-product-highlight strong{color:var(--brand);font-size:23px;font-weight:720}.mobile-product-chevron{position:absolute;right:14px;top:16px;width:20px;color:var(--muted);transition:transform .22s var(--ios-ease)}.mobile-product-card.is-expanded .mobile-product-chevron{transform:rotate(180deg)}.mobile-product-details{padding:0 15px 15px;border-top:1px solid #e6ebf1;animation:details-in .22s var(--ios-ease)}.mobile-product-details dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.mobile-product-details dl>div{min-width:0;display:grid;gap:4px;padding:10px;border-radius:11px;background:#f3f6fa}.mobile-product-details dt{color:var(--muted);font-size:11px}.mobile-product-details dd{margin:0;font-size:14px;font-weight:650}.mobile-product-actions{display:flex;flex-wrap:wrap;gap:7px}.mobile-product-actions>button,.mobile-product-actions>label{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:1px solid #d1dae6;border-radius:11px;background:#fff;color:#344054;font-size:13px}.mobile-product-actions>label input{display:none}.mobile-product-actions .primary-action{border-color:var(--brand);background:var(--brand);color:#fff}.mobile-product-actions .danger-text{color:var(--danger)}.v103-manage-dialog,.v103-confirm-dialog{width:100%;max-height:calc(100dvh - 8px);border-radius:26px 26px 0 0;padding-bottom:max(env(safe-area-inset-bottom),8px)}.v103-manage-dialog input,.v103-manage-dialog select,.v103-manage-dialog textarea,.v103-confirm-dialog input{font-size:16px}.save-toast{bottom:calc(88px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 30px)}}@keyframes details-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))){.topbar,.bottom-nav,.stocktake-surface,.v103-confirm-dialog,.v103-manage-dialog{background:#fafcfffa}}@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.topbar,.bottom-nav,.stocktake-surface,.v103-confirm-dialog,.v103-manage-dialog{background:#fbfcfe;-webkit-backdrop-filter:none;backdrop-filter:none;border-color:#bfc9d6}}@media(prefers-reduced-motion:reduce){.stocktake-surface,.save-toast,.mobile-product-details{animation:none!important}.nav-item,.top-actions button,.v103-inventory-row,.filter-chips button,.bottom-nav a,.attention-chevron,.mobile-product-chevron{transition:none!important}}.process-statuses{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.process-chip{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:8px;font-size:12px;font-style:normal;font-weight:650;white-space:nowrap}.process-chip.printing{color:#6d3bd1;background:#f2ebff;border:1px solid #ddceff}.process-chip.production{color:#9a4d00;background:#fff0df;border:1px solid #ffd9ac}.movement-heading-actions{display:flex;align-items:center;gap:8px}.movement-heading-actions button{min-height:38px;display:inline-flex;align-items:center;gap:5px;padding:0 11px;border:1px solid #d8e1ec;border-radius:10px;background:#fff;color:#3d4a5d}.entry-choice{max-width:720px}.entry-choice-grid,.ai-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:22px}.entry-choice-grid button,.ai-type-grid button{min-height:150px;display:grid;justify-items:start;align-content:center;gap:8px;padding:22px;border:1px solid #d6e0ec;border-radius:18px;background:#fff;color:var(--text);text-align:left;box-shadow:0 10px 30px #1c406712}.entry-choice-grid svg,.ai-type-grid svg{width:32px;height:32px;color:var(--brand)}.entry-choice-grid strong,.ai-type-grid strong{font-size:20px}.entry-choice-grid span,.ai-type-grid span{color:var(--muted);line-height:1.5}.entry-choice-grid button:hover,.ai-type-grid button.is-active{border-color:#7eb4ef;background:#eef6ff}.inline-add{display:inline-flex;align-items:center;gap:5px;margin-top:7px;border:0;background:transparent;color:var(--brand);font-weight:650}.field-hint{margin-top:5px;color:#6e7787;font-weight:400}.nested-backdrop{z-index:80;align-items:center}.nested-panel{width:min(500px,calc(100vw - 28px));display:grid;gap:15px;padding:20px;border-radius:20px;background:#fff;box-shadow:0 24px 70px #11233d42}.nested-panel label{display:grid;gap:7px;font-weight:650}.nested-panel input,.nested-panel select{min-height:48px;padding:0 12px;border:1px solid #ccd7e5;border-radius:11px;font-size:16px}.ai-backdrop{z-index:65}.ai-import-dialog{width:min(1060px,calc(100vw - 32px));max-height:calc(100dvh - 30px);overflow:auto}.ai-unconfigured,.ai-processing,.ai-retake,.ai-success{min-height:330px;display:grid;justify-items:center;align-content:center;gap:12px;padding:28px;text-align:center}.ai-unconfigured svg,.ai-retake svg,.ai-success svg{width:48px;height:48px;color:var(--brand)}.ai-unconfigured p,.ai-processing p,.ai-retake p,.ai-success p{max-width:590px;color:var(--muted);line-height:1.65}.ai-upload-zone{margin:0 22px 18px;min-height:150px;display:grid;justify-items:center;align-content:center;gap:7px;border:2px dashed #9fbfe3;border-radius:18px;background:#f5faff;color:#43546a;cursor:pointer}.ai-upload-zone input{position:absolute;opacity:0;pointer-events:none}.ai-file-list{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px 18px}.ai-file-list span{display:grid;padding:8px 10px;border-radius:9px;background:#eff3f8}.ai-file-list small{color:var(--muted)}.ai-recent-jobs{display:grid;gap:7px;margin:0 22px 18px;padding-top:4px}.ai-recent-jobs h3{margin:0 0 3px;font-size:15px}.ai-recent-jobs button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #dce4ee;border-radius:11px;background:#fff;text-align:left}.ai-recent-jobs button span{display:grid;gap:3px}.ai-recent-jobs button small{color:var(--muted)}.ai-recent-jobs button em{color:var(--brand);font-size:12px;font-style:normal;font-weight:700}.ai-document-meta{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:10px;margin:18px 22px}.ai-document-meta label,.ai-document-meta span{display:grid;gap:5px;padding:11px;border-radius:12px;background:#f3f6fa}.ai-document-meta small{color:var(--muted)}.ai-document-meta select{min-height:42px;border:1px solid #ccd7e5;border-radius:9px;background:#fff}.ai-inline-vendor{display:grid;grid-template-columns:1fr auto;gap:6px;padding:0!important;background:transparent!important}.ai-inline-vendor input{min-height:40px;min-width:0;padding:0 8px;border:1px solid #ccd7e5;border-radius:8px}.ai-inline-vendor button{border:0;border-radius:8px;background:var(--brand);color:#fff}.ai-review-list{display:grid;gap:12px;padding:0 22px 20px}.ai-review-list article{padding:15px;border:1px solid #dce4ee;border-radius:15px;background:#fff}.ai-review-list article.needs-review{border-color:#f0b76c;background:#fffaf3}.ai-review-list article header{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.ai-review-list article header span{display:grid;gap:3px}.ai-review-list article header small{color:var(--muted)}.ai-review-list article header em{color:var(--brand);font-style:normal}.ai-line-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:10px}.ai-line-grid label,.ai-review-list article>label{display:grid;gap:5px;color:#4f5e72;font-size:12px;font-weight:650}.ai-line-grid input,.ai-line-grid select,.ai-review-list article>label select{min-height:43px;min-width:0;padding:0 9px;border:1px solid #ccd7e5;border-radius:9px;background:#fff;font-size:14px}.ai-review-list dl{display:grid;grid-template-columns:repeat(4,1fr);margin:12px 0;border:1px solid #e0e7f0;border-radius:10px;overflow:hidden}.ai-review-list dl div{display:grid;gap:4px;padding:10px;border-right:1px solid #e0e7f0}.ai-review-list dl div:last-child{border:0}.ai-review-list dt{color:var(--muted);font-size:11px}.ai-review-list dd{margin:0;font-weight:700}.ai-warning-check{display:flex!important;grid-template-columns:auto 1fr;align-items:center;color:#b04d19!important}.ai-warning-check input{width:20px;height:20px}.line-warning{margin:7px 0 0;color:#a35b14;font-size:12px}.negative-confirm{display:grid;gap:7px;margin:0 22px 14px;padding:12px;border-radius:11px;background:#fff0f1;color:#a81f35;font-weight:650}.negative-confirm input{min-height:44px;padding:0 10px;border:1px solid #e6a2ad;border-radius:9px;font-size:16px}.ai-sticky-actions{position:sticky;bottom:0;z-index:2;background:#fffffff0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.pattern-add{display:grid;grid-template-columns:1fr auto;gap:8px}.pattern-list{display:grid;gap:7px}.pattern-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e5ebf2}.pattern-list>div>label{flex:1;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px}.pattern-list>div>label input{min-height:38px}.pattern-list span{display:flex;gap:5px}.movement-toolbar{display:flex;gap:8px;align-items:center;margin-bottom:12px}.movement-toolbar .inventory-search{flex:1}.movement-toolbar>button,.movement-filters button{min-height:42px;display:inline-flex;align-items:center;gap:5px;padding:0 12px;border:1px solid #d3dce8;border-radius:10px;background:#fff}.movement-filters{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px;padding:12px;border:1px solid #dce4ee;border-radius:14px;background:#f7f9fc}.movement-filters label{display:grid;gap:4px;color:var(--muted);font-size:11px}.movement-filters input,.movement-filters select{min-height:40px;min-width:0;padding:0 8px;border:1px solid #ccd6e3;border-radius:8px;background:#fff}.movement-filters>span{grid-column:1/-1;display:flex;justify-content:flex-end;gap:7px}.mobile-movement-results{display:none}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:14px 0}.pagination button{min-height:38px;padding:0 11px;border:1px solid #d3dce8;border-radius:8px;background:#fff}.mobile-filter-backdrop{display:none}@media(max-width:760px){.v103-dashboard{display:flex;flex-direction:column}.attention-module{order:1}.inventory-module{order:2}.movements-module{order:3}.process-statuses{flex-direction:column;align-items:flex-start}.process-chip{max-width:100%;white-space:normal;text-align:left}.entry-choice-grid,.ai-type-grid{grid-template-columns:1fr;padding:14px}.entry-choice-grid button,.ai-type-grid button{min-height:112px;padding:17px}.entry-choice-grid strong,.ai-type-grid strong{font-size:18px}.ai-import-dialog{width:100%;height:calc(100dvh - 8px);max-height:none;border-radius:26px 26px 0 0}.ai-document-meta{grid-template-columns:1fr 1fr;margin:14px}.ai-document-meta label{grid-column:1/-1}.ai-review-list{padding:0 14px 18px}.ai-line-grid{grid-template-columns:1fr 1fr}.ai-line-grid label:first-child{grid-column:1/-1}.ai-review-list dl{grid-template-columns:1fr 1fr}.ai-review-list dl div:nth-child(2){border-right:0}.ai-review-list dl div:nth-child(n+3){border-top:1px solid #e0e7f0}.negative-confirm{margin:0 14px 12px}.desktop-movement-filters,.full-movement-table{display:none}.mobile-movement-results{display:grid;gap:8px}.mobile-movement-results article{display:grid;gap:5px;padding:13px;border:1px solid #dce4ee;border-radius:13px;background:#fff}.mobile-movement-results header{display:flex;justify-content:space-between}.mobile-movement-results em{font-style:normal;font-weight:700}.mobile-movement-results small{color:var(--muted)}.movement-toolbar .inventory-search{min-width:0}.movement-toolbar>button{padding:0 9px;font-size:0}.movement-toolbar>button svg{width:20px}.mobile-filter-backdrop{display:flex;align-items:end;padding:0}.mobile-filter-sheet{width:100%;max-height:88dvh;overflow:auto;padding:18px 16px max(18px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff}.mobile-filter-sheet header{display:flex;justify-content:space-between;align-items:center}.mobile-filter-sheet .movement-filters{grid-template-columns:1fr 1fr;border:0;padding:8px 0;background:transparent}.mobile-filter-sheet .movement-filters label:nth-child(n+3){grid-column:1/-1}}html,body{max-width:100%;overflow-x:hidden}.dialog-backdrop,.stocktake-backdrop,.guided-tour{overscroll-behavior:contain;touch-action:pan-y;overflow:hidden}.entry-dialog,.manage-dialog,.confirm-dialog,.tutorial-dialog,.ai-import-dialog,.ai-line-editor,.nested-panel,.stocktake-surface{max-width:100%;min-width:0;overflow-x:hidden}.entry-dialog *,.manage-dialog *,.ai-import-dialog *,.ai-line-editor *{min-width:0}.sidebar-brand{padding:10px 12px}.sidebar-brand .brand img{width:58px;height:58px;flex-basis:58px}.sidebar-brand .brand strong{font-size:20px}.back-modules{margin:10px 8px 8px;background:#eef2f7;border-color:#d5dde8;color:#344054;font-weight:650}.back-modules:hover{background:#e2e8f0}.order-kind-tabs{display:flex;gap:8px;margin:14px 0;padding:6px;border:1px solid var(--module-border);border-radius:14px;background:#ffffffe0;width:max-content}.order-kind-tabs button{min-height:42px;display:flex;align-items:center;gap:7px;padding:0 16px;border:0;border-radius:10px;background:transparent;color:#5d6979}.order-kind-tabs button.is-active{background:var(--brand-soft);color:var(--brand);font-weight:700}.help-action svg{display:block;margin:auto}.login-page{position:relative;grid-template-columns:minmax(320px,620px) minmax(340px,430px);gap:clamp(34px,7vw,110px);overflow:hidden;background:radial-gradient(circle at 20% 20%,#14375f 0,#081c36 38%,#030d1c);color:#fff}.login-page:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(90,166,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(90,166,255,.045) 1px,transparent 1px);background-size:42px 42px;-webkit-mask-image:linear-gradient(to bottom,black,transparent 85%);mask-image:linear-gradient(to bottom,black,transparent 85%);pointer-events:none}.login-effects{position:absolute;inset:0;overflow:hidden;pointer-events:none}.login-effects>img{position:absolute;left:6%;top:10%;width:min(42vw,520px);opacity:.055;filter:grayscale(1) brightness(3)}.login-intro{position:relative;z-index:2;max-width:620px}.login-intro>img{width:96px;height:96px;object-fit:contain;filter:drop-shadow(0 0 22px rgba(255,184,38,.28))}.login-intro p{margin:24px 0 8px;color:#ffbd2e;font-size:12px;font-weight:800;letter-spacing:.2em}.login-intro h1{margin:0;font-size:clamp(36px,4.6vw,68px);line-height:1.08;letter-spacing:-.045em}.login-intro span{display:block;max-width:520px;margin-top:22px;color:#a9bad0;font-size:17px;line-height:1.8}.login-panel{position:relative;z-index:3;width:100%;padding:34px;border-color:#97bde83d;border-radius:22px;background:#0a1d35c7;box-shadow:0 32px 90px #00000057,inset 0 1px #ffffff1a;-webkit-backdrop-filter:blur(22px) saturate(130%);backdrop-filter:blur(22px) saturate(130%);overflow:hidden}.login-panel .brand{height:58px}.login-panel .brand strong{color:#fff}.login-panel .brand small{color:#93a8c1}.login-panel .brand img{width:54px;height:54px;flex-basis:54px}.login-copy{margin:30px 0 22px}.login-copy>small{color:#62aefc;font-size:11px;font-weight:800;letter-spacing:.16em}.login-copy h2{margin:7px 0 5px;font-size:28px}.login-copy p{margin:0;color:#92a6bf}.login-panel label{color:#c8d5e5}.login-panel input{border-color:#9cb9db47;border-radius:12px;background:#030d1ca3;color:#fff}.login-panel input:focus{border-color:#55a7ff;outline:3px solid rgba(58,143,238,.2)}.login-button{min-height:50px;border:0;border-radius:12px;background:linear-gradient(135deg,#0d6ad2,#0753aa);color:#fff;font-weight:750;box-shadow:0 12px 28px #0058bc4d}.login-panel>footer{margin-top:20px;color:#7187a1;font-size:11px;text-align:center}.product-image-button{display:inline-grid;padding:0;border:0;border-radius:10px;background:transparent;overflow:hidden}.product-image,.product-image-placeholder{display:grid;place-items:center;flex:0 0 auto;border:1px solid #dce4ed;border-radius:10px;background:#f2f5f9;object-fit:cover;color:#8b98a8;overflow:hidden}.product-image-small{width:44px;height:44px}.product-image-medium{width:72px;height:72px}.product-image-large{width:min(240px,100%);height:auto;aspect-ratio:1}.product-image-placeholder svg{width:40%;height:40%}.image-lightbox{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:28px;background:#030a14e0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);touch-action:pan-y}.image-lightbox>button{position:absolute;right:22px;top:22px;width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:#ffffff1f;color:#fff}.image-lightbox>img{max-width:min(900px,94vw);max-height:90dvh;border-radius:16px;object-fit:contain}.product-table-head,.product-table-row{min-width:1080px;grid-template-columns:64px minmax(220px,1.7fr) 90px 84px 96px 100px 110px 190px}.product-table-row>span:first-child{display:flex;justify-content:center}.mobile-media-preview{display:flex;justify-content:center;padding:14px 0 2px}.inventory-filter-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.advanced-filter-button{min-height:34px;display:inline-flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #d5dde8;border-radius:10px;background:#fff;color:#536174}.advanced-filter-button svg{width:17px}.inventory-filter-sheet{width:min(560px,calc(100vw - 28px));border-radius:20px;background:#fff;box-shadow:0 28px 80px #10213742}.inventory-filter-sheet header,.ai-line-editor header{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 22px;border-bottom:1px solid var(--line)}.inventory-filter-sheet header small,.ai-line-editor header small{color:var(--brand);font-weight:700}.inventory-filter-sheet h2,.ai-line-editor h2{margin:4px 0 0}.inventory-filter-sheet header button,.ai-line-editor header button{width:38px;height:38px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted)}.filter-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px 22px}.filter-form label{display:grid;gap:7px;font-weight:650}.filter-form select{min-height:46px;padding:0 11px;border:1px solid #ccd6e3;border-radius:10px;background:#fff}.inventory-filter-sheet footer,.ai-line-editor footer{display:flex;justify-content:flex-end;gap:8px;padding:15px 22px 20px;border-top:1px solid var(--line)}.inventory-filter-sheet footer button,.ai-line-editor footer button{min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:10px;background:#fff}.inventory-filter-sheet footer .primary-action,.ai-line-editor footer .primary-action{border-color:var(--brand);background:var(--brand);color:#fff}.inventory-identity{display:flex;align-items:center;gap:10px}.inventory-copy{min-width:0;display:grid;gap:3px}.process-chip.production{color:#a12662;background:#fde9f3;border-color:#f6c7dc}.task-section{position:relative;margin:10px 0!important;padding:12px;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;background:#fbfcfe}.task-section-print{background:#fffaf4}.task-section-receive{background:#f7fbff}.task-section-complete{background:#fff7fb}.task-watermark{position:absolute;right:16px;top:10px;color:currentColor;opacity:.055;pointer-events:none}.task-watermark svg{width:72px;height:72px}.task-title,.task-rows{position:relative;z-index:1}.task-row.compact{grid-template-columns:minmax(230px,1.5fr) minmax(90px,.6fr) minmax(90px,.55fr) minmax(220px,auto)}.task-actions{display:flex;justify-content:flex-end;align-items:center;gap:5px}.task-actions>button{min-height:36px;display:inline-flex;align-items:center;gap:4px;padding:0 8px;border:0;background:transparent;color:var(--brand);font-size:12px;font-weight:650}.task-actions svg{width:15px}.task-actions .danger-text,.danger-icon{color:var(--danger)!important}.desktop-movement-table thead{position:static}.order-list-row .mobile-product{display:flex!important;align-items:center;gap:8px}.order-list-row .mobile-product>span{display:grid;gap:3px}.order-list-row .row-actions{display:flex;gap:5px}.danger-icon{border-color:#f0cbd0!important;background:#fff7f8!important}.movement-table-scroll{max-height:62dvh;overflow:auto;margin-top:12px;border:1px solid #dce4ee;border-radius:13px;background:#fff}.movement-table-scroll .data-table{margin:0}.movement-table-scroll thead th{position:sticky;top:0;z-index:2;background:#f8fafc;box-shadow:0 1px #dce4ee}.back-to-inventory{min-height:42px;display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;padding:0 12px;border:1px solid #d5deea;border-radius:10px;background:#fff;color:var(--brand);font-weight:650}.filter-return{display:none}.guided-tour{position:fixed;inset:0;z-index:150;background:#08122029;pointer-events:auto}.tour-spotlight{position:fixed;z-index:151;border:2px solid #62aefc;border-radius:14px;box-shadow:0 0 0 9999px #040c1894,0 0 0 6px #62aefc26;pointer-events:none;transition:all .22s ease}.tour-card{position:fixed;z-index:152;width:360px;padding:22px;border:1px solid rgba(255,255,255,.8);border-radius:18px;background:#fff;box-shadow:0 24px 70px #02142c42}.tour-card>small{color:var(--brand);font-weight:700}.tour-card h2{margin:7px 0}.tour-card p{margin:0;color:#536174;line-height:1.7}.tour-card footer{display:flex;justify-content:space-between;gap:8px;margin-top:18px}.tour-card footer button{min-height:42px;display:flex;align-items:center;gap:5px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.tour-skip{position:fixed;right:18px;top:18px;z-index:153;min-height:42px;display:flex;align-items:center;gap:6px;padding:0 12px;border:1px solid rgba(255,255,255,.35);border-radius:10px;background:#0a182cc7;color:#fff}.ai-import-dialog{width:min(1280px,calc(100vw - 32px));max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.ai-select-view,.ai-upload-view,.ai-drafts-view,.ai-review-view{min-width:0}.ai-type-grid button svg{width:34px;height:34px}.ai-draft-entry{width:calc(100% - 44px);min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 22px 18px;padding:0 16px;border:1px solid #d8e2ee;border-radius:14px;background:#fff;text-align:left}.ai-draft-entry>span{display:grid;grid-template-columns:auto 1fr;column-gap:10px}.ai-draft-entry svg{grid-row:1/3;color:var(--brand)}.ai-draft-entry small{color:var(--muted)}.ai-draft-entry em{color:var(--brand);font-style:normal;font-weight:700}.ai-selected-type{width:calc(100% - 44px);display:flex;align-items:center;gap:12px;margin:16px 22px 12px;padding:13px;border:1px solid #cfe0f2;border-radius:13px;background:#f4f9ff;text-align:left}.ai-selected-type svg{color:var(--brand)}.ai-selected-type span{display:grid;gap:3px}.ai-selected-type small{color:var(--muted)}.ai-upload-zone{margin:0 22px 14px;padding:24px;cursor:default;transition:border-color .15s,background .15s}.ai-upload-zone.is-dragging{border-color:#247bd6;background:#e8f3ff}.ai-upload-zone>svg{width:34px;height:34px;color:var(--brand)}.ai-upload-actions{display:flex;gap:8px;margin:9px 0}.ai-upload-actions label{min-height:42px;display:flex;align-items:center;gap:6px;padding:0 13px;border:1px solid #bdd3ea;border-radius:10px;background:#fff;color:var(--brand);font-weight:700;cursor:pointer}.ai-upload-actions input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.ai-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 22px 14px}.ai-file-grid article{display:grid;grid-template-columns:54px 1fr 34px;align-items:center;gap:9px;padding:8px;border:1px solid #dce4ed;border-radius:11px;background:#fff}.ai-file-grid article>span,.ai-file-grid img{width:54px;height:54px;display:grid;place-items:center;border-radius:8px;background:#eef2f6;object-fit:cover}.ai-file-grid article>div{display:grid;gap:3px;overflow:hidden}.ai-file-grid strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-file-grid small{color:var(--muted)}.ai-file-grid button{width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted)}.upload-progress{position:relative;height:32px;margin:0 22px 10px;overflow:hidden;border-radius:9px;background:#edf2f7}.upload-progress>span{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#0c64c6,#4da3ff);transition:width .2s}.upload-progress>small{position:relative;z-index:1;display:grid;place-items:center;height:100%;color:#172033;font-weight:650}.ai-upload-footer{margin:0 22px 20px;padding:12px 0 0;border-top:1px solid #e1e7ee}.ai-draft-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:16px 22px}.ai-draft-filters select{min-height:42px;padding:0 10px;border:1px solid #d2dce8;border-radius:9px;background:#fff}.ai-draft-list{display:grid;gap:7px;padding:0 22px 16px}.ai-draft-list>button{min-height:70px;display:grid;grid-template-columns:92px minmax(180px,1.5fr) minmax(100px,.5fr) 90px 160px;align-items:center;gap:12px;padding:10px 12px;border:1px solid #dce4ed;border-radius:11px;background:#fff;text-align:left}.ai-draft-list>button>span{display:grid;gap:3px}.ai-draft-list small,.ai-draft-list>button>em{color:var(--muted);font-size:12px;font-style:normal}.draft-status{display:inline-flex!important;place-content:center;padding:5px 8px;border-radius:7px;background:#eaf3ff;color:var(--brand);font-size:12px;font-weight:700}.status-failed,.status-type_mismatch{background:#fff0f1;color:var(--danger)}.status-cancelled,.status-reversed{background:#eef1f5;color:#667085}.status-ready,.status-committed{background:#eaf7f1;color:var(--success)}.ai-document-meta{grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(130px,.65fr))}.ai-vendor-card{display:grid!important;gap:5px!important}.ai-vendor-card>span{padding:0!important;background:transparent!important;color:var(--muted);font-size:12px}.ai-vendor-card>button{min-height:36px;border:0;border-radius:8px;background:var(--brand);color:#fff}.quality-score em{font-size:11px;font-style:normal}.quality-score.is-warning{background:#fff7e7}.quality-score.is-danger{background:#fff0f1;color:var(--danger)}.quality-score.is-good{background:#effaf5}.ai-review-toolbar{display:flex;align-items:center;gap:8px;padding:0 22px 12px}.ai-review-toolbar button{min-height:38px;display:flex;align-items:center;gap:5px;padding:0 11px;border:1px solid #d3dde8;border-radius:9px;background:#fff;color:#344054}.ai-review-toolbar span{margin-left:auto;color:var(--muted);font-size:12px}.ai-review-table-wrap{max-height:54dvh;margin:0 22px 12px;overflow:auto;border:1px solid #dbe3ed;border-radius:12px}.ai-review-table{min-width:1450px;width:100%;border-collapse:collapse;font-size:12px}.ai-review-table th{position:sticky;top:0;z-index:2;padding:10px 8px;background:#f5f8fb;color:#667085;text-align:left;white-space:nowrap}.ai-review-table td{padding:9px 8px;border-top:1px solid #e6ebf1;vertical-align:middle}.ai-review-table tr.needs-review{background:#fffaf2}.ai-review-table tr.is-confirmed{background:#f2fbf7}.ai-review-table td>small{display:block;color:var(--muted)}.ai-review-table input[type=checkbox]{width:19px;height:19px}.ai-review-table td:last-child button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--brand)}.ai-product-cell{display:flex;align-items:center;gap:7px;min-width:190px}.ai-product-cell>span{display:grid;gap:3px}.ai-product-cell small{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.ai-mobile-lines{display:none}.ai-sticky-actions{padding:12px 22px max(16px,env(safe-area-inset-bottom));gap:8px}.ai-sticky-actions .danger-text{color:var(--danger)}.ai-line-editor{width:min(520px,100%);max-height:calc(100dvh - 30px);overflow-y:auto;border-radius:20px;background:#f9fbfe;box-shadow:0 28px 90px #0a1b3247}.line-editor-product{display:flex;justify-content:center;padding:14px 22px 0}.ai-line-editor form{display:grid;gap:13px;padding:16px 22px}.ai-line-editor form>label{display:grid;gap:6px;font-weight:650}.ai-line-editor input,.ai-line-editor select{min-height:45px;padding:0 11px;border:1px solid #ccd7e4;border-radius:10px;background:#fff;font-size:16px}@media(max-width:760px){.sidebar-brand .brand img{width:46px;height:46px;flex-basis:46px}.mobile-brand{width:150px}.mobile-brand .brand img{width:42px;height:42px;flex-basis:42px}.mobile-brand .brand strong{font-size:16px}.top-actions .secondary-action{display:grid;place-items:center;padding:0}.top-actions .secondary-action svg{margin:auto}.login-page{display:grid;grid-template-columns:1fr;align-content:center;padding:20px;background:radial-gradient(circle at 30% 10%,#153b66,#06162b 55%,#020914)}.login-intro{display:none}.login-panel{max-width:430px;margin:auto;padding:25px 22px;border-radius:20px}.login-panel .brand{justify-content:center}.login-copy{text-align:center}.v103-page-heading{align-items:flex-start!important;text-align:left!important;padding-left:0!important}.v103-page-heading>div{text-align:left}.v103-page-heading .primary-action{margin-left:0}.inventory-filter-row{align-items:center}.advanced-filter-button{min-height:38px}.filter-backdrop{align-items:end;padding:0}.inventory-filter-sheet{width:100%;border-radius:24px 24px 0 0;padding-bottom:max(12px,env(safe-area-inset-bottom))}.filter-form{grid-template-columns:1fr}.inventory-identity{align-items:flex-start}.inventory-copy{flex:1}.task-section{padding:12px 10px}.task-row.compact{grid-template-columns:1fr 1fr}.task-row.compact>.task-product{grid-column:1/-1}.task-actions{grid-column:1/-1;justify-content:flex-end;flex-wrap:wrap}.task-watermark svg{width:60px;height:60px}.order-kind-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.order-kind-tabs button{justify-content:center}.order-list-row .row-actions{justify-self:stretch!important;justify-content:flex-end}.movement-table-scroll{display:none}.filter-return{display:flex!important}.mobile-filter-sheet header{gap:8px}.mobile-filter-sheet header h2{font-size:18px}.back-to-inventory{width:100%;justify-content:center}.guided-tour{touch-action:pan-y}.tour-card{left:10px!important;right:10px!important;bottom:max(10px,env(safe-area-inset-bottom));top:auto!important;width:auto;padding:18px}.tour-skip{right:10px;top:10px}.tour-spotlight{border-radius:12px}.ai-import-dialog{width:100%;height:calc(100dvh - 4px);max-height:none;border-radius:24px 24px 0 0}.ai-type-grid{grid-template-columns:1fr}.ai-draft-entry{width:calc(100% - 28px);margin:0 14px 14px}.ai-selected-type{width:calc(100% - 28px);margin:12px 14px}.ai-upload-zone{margin:0 14px 12px;padding:20px 12px}.ai-upload-zone>strong:first-of-type{display:none}.ai-upload-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.ai-upload-actions label{justify-content:center;padding:0 8px}.ai-file-grid{grid-template-columns:1fr;margin:0 14px 12px}.ai-upload-footer{margin:0 14px 16px;justify-content:space-between}.ai-draft-filters{grid-template-columns:1fr;padding:12px 14px}.ai-draft-list{padding:0 14px 14px}.ai-draft-list>button{grid-template-columns:84px 1fr;gap:7px}.ai-draft-list>button>span:nth-of-type(3),.ai-draft-list>button>span:nth-of-type(4),.ai-draft-list>button>em{grid-column:2}.ai-document-meta{grid-template-columns:1fr 1fr;margin:12px 14px}.ai-vendor-card,.quality-score{grid-column:1/-1}.ai-review-toolbar{padding:0 14px 10px;flex-wrap:wrap}.ai-review-toolbar span{width:100%;margin:0}.ai-review-table-wrap{display:none}.ai-mobile-lines{display:grid;gap:8px;padding:0 14px 12px}.ai-mobile-lines article{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:7px 10px;align-items:center;padding:12px;border:1px solid #dce4ee;border-radius:12px;background:#fff}.ai-mobile-lines article>span{display:grid;gap:3px}.ai-mobile-lines article>span:nth-of-type(2){justify-items:end}.ai-mobile-lines article>small{color:var(--muted)}.ai-mobile-lines article>em{grid-column:2;color:var(--brand);font-style:normal}.ai-mobile-lines article>button{grid-column:3;display:flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--brand)}.ai-sticky-actions{justify-content:stretch;flex-wrap:wrap;padding:10px 14px max(14px,env(safe-area-inset-bottom))}.ai-sticky-actions button{flex:1;padding:0 8px}.ai-line-editor{width:100%;max-height:92dvh;border-radius:24px 24px 0 0}.nested-backdrop:has(.ai-line-editor){align-items:end;padding:0}.product-table-head,.desktop-product-table{display:none}.mobile-product-summary{grid-template-columns:72px minmax(0,1fr);align-items:center}.mobile-product-summary>.product-image-placeholder,.mobile-product-summary>.product-image{grid-row:1/3}.mobile-product-title,.mobile-product-highlight{grid-column:2}.mobile-product-details dl{grid-template-columns:repeat(2,1fr)}.image-lightbox{padding:12px}.image-lightbox>img{max-width:96vw;max-height:84dvh}.image-lightbox>button{right:12px;top:12px}}@media(prefers-reduced-motion:reduce){.login-effects{display:none}.tour-spotlight,.nav-item,.product-image-button{transition:none!important}}@media(max-width:760px){.ai-sticky-actions button{padding:0 6px;font-size:12px;white-space:nowrap}}html.modal-isolated{overflow:hidden;overscroll-behavior:none}.sheet-drag-handle{display:none}.order-list-row.is-cancelled{background:#fff9fa}.order-status.is-cancelled{display:inline-flex!important;width:max-content;align-items:center;padding:5px 8px;border:1px solid #f2b6bf;border-radius:7px;background:#fff0f2;color:#c9233d;font-weight:750;white-space:nowrap}.order-list-row.is-cancelled .row-actions button{opacity:.35}.task-row>.task-actions{display:flex!important}.product-gallery{display:grid;gap:10px;margin:12px 0}.gallery-main{display:flex;justify-content:center}.gallery-thumbnails{display:flex;gap:7px;overflow-x:auto;padding:3px 1px 7px}.gallery-thumbnails>button{min-width:70px;display:grid;justify-items:center;gap:3px;padding:5px;border:2px solid transparent;border-radius:10px;background:#f5f7fa;color:#667085;font-size:10px}.gallery-thumbnails>button.is-selected{border-color:var(--brand);background:#edf6ff;color:var(--brand)}.gallery-manager{display:flex;flex-wrap:wrap;gap:6px}.gallery-manager button,.gallery-manager label{min-height:38px;display:flex;align-items:center;gap:4px;padding:0 9px;border:1px solid #d5deea;border-radius:9px;background:#fff;color:#38506c;font-size:12px;cursor:pointer}.gallery-manager input{display:none}.lightbox-controls{position:absolute;left:50%;bottom:max(22px,env(safe-area-inset-bottom));z-index:3;display:flex;gap:8px;transform:translate(-50%)}.lightbox-controls button{width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:#0c1a2cbf;color:#fff}.image-lightbox>.lightbox-close{z-index:3}.image-lightbox>img{transition:transform .12s ease;touch-action:none;-webkit-user-select:none;user-select:none}.ai-confirm-toggle{width:26px;height:26px;display:grid;place-items:center;padding:0;border:2px solid #8c98a8;border-radius:7px;background:#fff;color:transparent;transition:background .15s,border-color .15s,transform .15s}.ai-confirm-toggle svg{width:18px;height:18px;stroke-width:3}.ai-confirm-toggle.is-checked{border-color:var(--brand);background:var(--brand);color:#fff}.ai-confirm-toggle:disabled{border-color:#c9d0da;background:#eef1f5;color:transparent;cursor:not-allowed}.ai-confirm-toggle:not(:disabled):active{transform:scale(.92)}.ai-blocking-reason{display:block;margin-top:4px;color:var(--danger)!important;font-size:11px;line-height:1.35}.ai-bulk-result{margin:0 22px 10px;padding:10px 12px;border-left:3px solid var(--brand);border-radius:7px;background:#eef6ff;color:#24486f;font-size:13px}.ai-type-resolution{max-width:680px;margin:20px auto;padding:24px!important}.ai-type-resolution ul{margin:4px auto 14px;padding-left:22px;color:#5f6c7e;text-align:left}.force-type-entry{width:min(560px,100%);display:grid;gap:8px;margin:14px auto;padding:14px;border:1px solid #efb7c0;border-radius:12px;background:#fff6f7;text-align:left}.force-type-entry label{display:grid;gap:6px;color:#7a2634;font-weight:650}.force-type-entry input{min-height:44px;padding:0 11px;border:1px solid #d8a9b1;border-radius:9px;background:#fff;font-size:16px}.force-type-entry button{min-height:42px;border:1px solid #d53a52;border-radius:9px;background:#fff;color:#c5263e;font-weight:700}.type-forced-warning{margin:0 22px 10px!important}@media(max-width:760px){.mobile-sheet,.v103-manage-dialog,.pattern-manager,.confirm-dialog,.quick-stocktake,.nested-panel{position:relative;overscroll-behavior:contain}.v103-manage-dialog:before,.pattern-manager:before,.confirm-dialog:before,.quick-stocktake:before,.nested-panel:before{content:"";display:block;width:44px;height:5px;margin:8px auto 2px;border-radius:4px;background:#b8c2d0}.sheet-drag-handle{display:block;width:44px;height:5px;margin:8px auto 2px;border-radius:4px;background:#b8c2d0;touch-action:none}.mobile-brand{width:158px!important}.mobile-brand .brand{gap:8px!important}.mobile-brand .brand img{width:46px!important;height:46px!important;flex-basis:46px!important}.mobile-brand .brand strong{font-size:17px!important}.topbar{padding:0 10px!important;gap:6px!important}.top-actions{gap:6px!important}.top-actions .tooltip-wrap{width:44px;height:44px;display:grid;place-items:center}.top-actions .secondary-action{width:44px!important;height:44px!important;min-height:44px!important;display:grid!important;place-items:center!important;padding:0!important;border-radius:13px}.top-actions .secondary-action svg{display:block;margin:0!important;transform:none!important}.top-actions .primary-action{min-height:44px!important;padding:0 13px!important}.task-row.compact{grid-template-columns:1fr 1fr!important}.task-row.compact>.task-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;justify-self:stretch!important}.task-actions>button{min-height:44px!important;justify-content:center;padding:0 6px!important;border:1px solid #d5deea!important;border-radius:10px!important;background:#fff!important;font-size:13px!important}.task-actions>.text-action{grid-column:auto!important;justify-self:stretch!important;border-color:#9ec2eb!important;background:#edf6ff!important}.task-actions>.danger-text{border-color:#efc3ca!important;background:#fff5f6!important}.order-list-row{font-size:15px!important;gap:14px 16px!important;padding:16px!important}.order-list-row .mobile-primary strong{font-size:18px}.order-list-row .mobile-product strong{font-size:17px}.order-list-row .mobile-product small{font-size:14px;line-height:1.45}.order-list-row [data-label]:before{font-size:12px!important}.order-list-row [data-label]{font-size:15px;line-height:1.4}.order-list-row .row-actions{grid-column:1/-1!important;justify-self:stretch!important;justify-content:flex-end!important}.order-status.is-cancelled{font-size:14px}.ai-confirm-toggle{width:28px;height:28px}.ai-mobile-lines article>.ai-confirm-toggle{grid-column:1!important;grid-row:1/3!important;align-self:start!important;color:transparent!important}.ai-mobile-lines article>.ai-confirm-toggle.is-checked{color:#fff!important}.ai-bulk-result{margin:0 14px 10px}.type-forced-warning{margin:0 14px 10px!important}.ai-mobile-lines .ai-blocking-reason{grid-column:1/-1!important}.ai-upload-actions{grid-template-columns:1fr!important}.ai-upload-actions .camera-upload{display:none!important}.mobile-media-preview{margin:12px 0!important}.mobile-media-preview .product-image-large{width:min(220px,62vw)!important;height:min(220px,62vw)!important}.product-gallery .product-image-large{width:200px!important;height:200px!important}}.top-confirm-backdrop{z-index:220!important}.process-chip b{display:inline-grid;place-items:center;min-width:44px;padding:2px 5px;border-radius:6px;background:#ffffffa6;font-size:10px}.task-product>span:last-child{display:grid;gap:4px}.task-product .pattern-tag{display:inline-flex!important}.ai-review-summary{display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:8px 18px;margin:14px 22px;padding:13px 15px;border:1px solid #d9e3ee;border-radius:13px;background:#f8fafc}.ai-review-summary .ai-vendor-card{display:flex!important;align-items:center;gap:8px}.ai-review-summary .ai-vendor-card>span{color:var(--muted);font-size:12px}.ai-review-summary select,.ai-review-summary button{min-height:38px;min-width:0;padding:0 9px;border:1px solid #ccd8e5;border-radius:8px;background:#fff}.ai-review-summary p{display:flex;align-items:center;gap:12px;margin:0;white-space:nowrap}.ai-review-summary p span{color:#5f6d7f}.ai-review-summary>small{grid-column:1/-1;color:var(--muted)}.ai-review-summary.is-warning{background:#fff9ed}.ai-review-summary.is-danger{background:#fff1f3}.orders-page>header{align-items:center}.orders-toolbar{display:flex;align-items:center;gap:7px}.orders-toolbar>button,.view-mode-toggle button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 11px;border:1px solid #d6dfe9;border-radius:9px;background:#fff;color:#38506b}.orders-toolbar>button em{min-width:20px;height:20px;display:grid;place-items:center;border-radius:10px;background:#e83e55;color:#fff;font-size:11px;font-style:normal}.view-mode-toggle{display:flex;padding:3px;border:1px solid #d6dfe9;border-radius:10px;background:#f5f7fa}.view-mode-toggle button{width:38px;min-height:34px;padding:0;border:0;background:transparent}.view-mode-toggle button.is-active{background:#fff;color:var(--brand);box-shadow:0 1px 4px #1e37501f}.manage-dialog input[type=date]{display:block;width:100%!important;min-width:0!important;max-width:100%!important;-webkit-appearance:none;appearance:none;box-sizing:border-box}.ai-confirm-toggle:not(.is-checked){border-color:#60758b!important;background:#eef3f8!important;box-shadow:inset 0 0 0 1px #1f374e14,0 1px 2px #1f374e14;opacity:1!important}.ai-confirm-toggle:not(.is-checked):disabled{border-color:#8293a5!important;border-style:dashed;background:#e7edf3!important;opacity:1!important}@media(max-width:760px){.topbar{display:grid!important;grid-template-columns:minmax(0,1fr) 164px!important;align-items:center!important;padding:0 12px!important;gap:6px!important;overflow:hidden}.mobile-brand{width:auto!important;min-width:0!important;overflow:hidden}.mobile-brand .brand{gap:6px!important;min-width:0}.mobile-brand .brand img{width:52px!important;height:52px!important;flex-basis:52px!important}.mobile-brand .brand strong{font-size:18px!important;letter-spacing:0!important}.top-actions{width:164px!important;display:grid!important;grid-template-columns:42px 42px 72px!important;gap:4px!important;justify-self:end!important;align-items:center!important}.top-actions .tooltip-wrap{width:auto!important;height:42px!important;display:grid!important;place-items:center!important}.top-actions .secondary-action{width:42px!important;height:42px!important;min-height:42px!important;display:grid!important;place-items:center!important;padding:0!important;line-height:0!important}.top-actions .secondary-action svg{display:block!important;margin:0!important;transform:none!important}.top-actions .primary-action{width:72px!important;height:42px!important;min-height:42px!important;display:grid!important;grid-template-columns:22px 28px!important;justify-content:center!important;align-content:center!important;align-items:center!important;justify-items:center!important;padding:0 6px!important;overflow:hidden!important;color:#fff!important;font-size:13px!important;line-height:1!important;white-space:nowrap!important;word-break:keep-all!important;writing-mode:horizontal-tb!important;text-align:center!important}.top-actions .primary-action:after{display:none!important;content:none!important}.top-actions .primary-action svg{margin:0!important}.manage-dialog form{min-width:0}.manage-dialog form>label,.manage-dialog input,.manage-dialog select{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box}.process-chip{line-height:1.45}.process-chip b{margin-right:2px}.task-product small{display:flex!important;align-items:center;flex-wrap:wrap;gap:3px}.task-product small+small{color:#7c8796;font-size:11px}.ai-review-summary{grid-template-columns:1fr;margin:10px 14px;padding:11px}.ai-review-summary .ai-vendor-card{display:grid!important;grid-template-columns:auto 1fr}.ai-review-summary p{flex-wrap:wrap;gap:5px 10px;white-space:normal}.ai-review-summary>small{grid-column:1}.orders-page>header{gap:14px}.orders-toolbar{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.orders-toolbar>.primary-action{grid-column:1}.orders-toolbar>button:not(.primary-action){grid-column:1}.orders-toolbar>.view-mode-toggle{grid-column:2;grid-row:1/3;align-self:stretch}.orders-toolbar .view-mode-toggle button{width:42px}.order-view-compact .order-list-row{min-height:0!important;max-height:86px!important;grid-template-columns:minmax(0,1fr) 96px 82px!important;grid-template-rows:32px 24px!important;align-items:center!important;gap:3px 8px!important;margin-bottom:7px!important;padding:8px 10px!important;overflow:hidden!important}.order-view-compact .mobile-product{grid-column:1!important;grid-row:1/3!important}.order-view-compact .mobile-product>.product-image,.order-view-compact .mobile-product>.product-image-placeholder{width:36px;height:36px}.order-view-compact .mobile-product small{display:none}.order-view-compact .mobile-primary{grid-column:2!important;grid-row:1!important;justify-self:end!important;align-self:center!important}.order-view-compact .mobile-primary strong{max-width:96px;overflow:hidden;text-overflow:ellipsis;font-size:11px!important;color:#687587;white-space:nowrap}.order-view-compact [data-label=下单日期],.order-view-compact [data-label=计划日期],.order-view-compact [data-label=厂家]{display:none!important}.order-view-compact [data-label=计划数量]{grid-column:2!important;grid-row:2!important;justify-self:end!important}.order-view-compact [data-label=计划数量]:before{display:none}.order-view-compact [data-label=已完成]{display:none!important}.order-view-compact .order-status{grid-column:3!important;grid-row:1/3!important;justify-self:end!important;align-self:center!important;font-size:13px!important}.order-view-compact .order-status:before{display:none}.order-view-compact .row-actions{display:none!important}.order-view-compact.is-archive .order-list-row{grid-template-columns:minmax(0,1fr) 96px 82px!important}}.top-actions .secondary-action>span{display:inline}.entry-dialog input[type=date]{display:block;width:100%!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;box-sizing:border-box;-webkit-appearance:none;appearance:none}.production-quantity-field{min-width:0;display:grid;gap:9px;margin:0;padding:12px;border:1px solid #d8e2ed;border-radius:12px;background:#f7f9fc}.production-quantity-field legend{padding:0 5px;color:#27364a;font-weight:700}.production-unit-row{min-width:0;display:grid;grid-template-columns:minmax(110px,1fr) 92px auto minmax(130px,1fr);align-items:end;gap:8px}.production-unit-row label{min-width:0}.production-unit-row input,.production-unit-row select{width:100%;min-width:0;box-sizing:border-box}.quantity-times{align-self:center;color:var(--brand);font-size:22px;font-weight:800}.production-total{min-height:44px;display:flex;align-items:center;justify-content:flex-end;gap:5px;padding:0 12px;border-radius:9px;background:#eaf3ff;color:#38506b}.production-total strong{color:var(--brand);font-size:20px;font-variant-numeric:tabular-nums}.production-quantity-field>small{color:var(--muted)}.task-title .task-count{min-width:24px;height:22px;display:inline-grid;place-items:center;flex:0 0 auto;margin-left:2px;padding:0 6px;border-radius:999px;font-size:12px;font-weight:750;line-height:1;font-variant-numeric:tabular-nums}.task-section-print .task-title>span:first-child{color:#d97800}.task-section-print .task-count{color:#a65b00;background:#ffe8bd}.task-section-receive .task-title>span:first-child{color:var(--brand)}.task-section-receive .task-count{color:#0759b8;background:#dcecff}.task-section-complete .task-title>span:first-child{color:var(--danger)}.task-section-complete .task-count{color:#b32338;background:#ffe0e5}.task-title small{min-width:0;flex:1 1 auto;line-height:1.4}.task-title h2{display:flex;align-items:baseline;gap:7px;margin:0}.task-title h2 em{color:#1f3550;font-family:Arial Narrow,DIN Condensed,Microsoft YaHei UI,sans-serif;font-size:20px;font-style:normal;font-weight:850;letter-spacing:.12em}.task-title h2 strong{color:#17263b;font-size:16px;font-weight:750}.attention-counters{display:flex!important;align-items:center;gap:6px;margin-left:auto!important}.attention-counters b{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:13px;font-variant-numeric:tabular-nums}.attention-counters .print{background:#fff0d2;color:#c56a00}.attention-counters .complete{background:#ffe0e6;color:#bd2841}.task-section-print .task-row>.text-action{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--brand);border-radius:9px;background:var(--brand);color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}.task-section-print .task-row>.text-action:hover{border-color:var(--brand-strong);background:var(--brand-strong);text-decoration:none}.movement-filters .movement-apply-filter{border-color:var(--brand);background:var(--brand);color:#fff;box-shadow:0 5px 12px #0759b829}.movement-filters .movement-apply-filter:hover{border-color:var(--brand-strong);background:var(--brand-strong);color:#fff}.order-status{align-content:center;gap:4px!important}.order-status>span{white-space:nowrap}.order-anomaly{width:max-content;max-width:100%;display:inline-flex;align-items:center;padding:3px 6px;border-radius:6px;font-size:10px;font-style:normal;font-weight:750;white-space:nowrap}.order-anomaly.variance_closed{border:1px solid #f1b85e;background:#fff4df;color:#a85e00}.order-anomaly.unplanned{border:1px solid #ef9cab;background:#fff0f3;color:#b6203a}.order-status>small{max-width:170px;overflow:hidden;color:#7b4b10;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.order-source-quantity{color:#52677e!important}.ai-variance-note{grid-column:2/-1!important;color:#197146!important;font-size:11px!important}.ai-variance-note.is-variance{color:#a85e00!important}.ai-variance-note.is-unplanned{color:#b6203a!important}.orders-page button{-webkit-tap-highlight-color:transparent}.orders-page .orders-toolbar>.primary-action{border-color:var(--brand);background:var(--brand);color:#fff}.orders-page button:focus:not(:focus-visible){outline:0}.orders-page button:focus-visible{outline:3px solid rgba(66,153,249,.45);outline-offset:2px}@media(hover:none),(pointer:coarse){.orders-page .primary-action:hover,.orders-page .primary-action:focus:not(:focus-visible){border-color:var(--brand);background:var(--brand);color:#fff}.orders-page .orders-toolbar>button:hover:not(.primary-action),.orders-page .orders-toolbar>button:focus:not(:focus-visible),.orders-page .order-list-row .icon-button:hover,.orders-page .order-list-row .icon-button:focus:not(:focus-visible){border-color:#d6dfe9;background:#fff;color:#38506b;box-shadow:none}.orders-page .order-kind-tabs button:hover:not(.is-active),.orders-page .order-kind-tabs button:focus:not(:focus-visible){border-color:transparent;background:transparent;color:#5d6979}.orders-page .order-kind-tabs button.is-active:hover,.orders-page .order-kind-tabs button.is-active:focus:not(:focus-visible){background:var(--brand-soft);color:var(--brand)}.orders-page .view-mode-toggle button:hover:not(.is-active),.orders-page .view-mode-toggle button:focus:not(:focus-visible){background:transparent;color:#38506b;box-shadow:none}}@media(max-width:760px){.top-actions .secondary-action>span{display:none}.top-actions .secondary-action{grid-template-columns:1fr!important}.top-actions .secondary-action>svg{margin:0!important}.task-title small{white-space:normal}.task-section-print .task-row>.text-action{min-height:44px;padding:0 10px}.production-unit-row{grid-template-columns:minmax(0,1fr) 82px}.production-unit-row .quantity-times{display:none}.production-unit-row label:last-child{grid-column:1/-1}.production-total{justify-content:center}.task-title{grid-template-columns:auto minmax(0,1fr) auto!important}.task-title h2{align-items:flex-start;flex-direction:column;gap:1px}.task-title h2 em{font-size:19px}.task-title h2 strong{font-size:15px}.attention-counters{gap:4px}.attention-counters b{width:30px;height:30px}.order-status>small{display:none}}.ai-type-grid button em{color:var(--brand);font-size:12px;font-style:normal;font-weight:700}.ai-type-card{display:grid;gap:6px}.ai-type-card>.ai-type-workbench-link{min-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 10px!important;border-radius:10px!important;background:#f1f6fc!important;color:var(--brand)!important;font-size:13px!important;font-weight:750;box-shadow:none!important}.ai-workbench-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 22px 12px;padding:4px;border:1px solid #d6e0eb;border-radius:12px;background:#f2f5f9}.ai-workbench-tabs button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:9px;background:transparent;color:#536276;font-weight:650}.ai-workbench-tabs button.is-active{background:#fff;color:var(--brand);box-shadow:0 2px 8px #1f374e1a}.ai-workbench-tabs em{min-width:20px;height:20px;display:grid;place-items:center;border-radius:10px;background:#e6edf5;font-size:10px;font-style:normal}.ai-workbench-actions{display:flex;justify-content:space-between;gap:8px;margin:0 22px 10px}.ai-workbench-actions button{min-height:40px;display:inline-flex;align-items:center;gap:5px;padding:0 12px;border:1px solid #d3deea;border-radius:9px;background:#fff;color:#38506b}.ai-mobile-filter-button{display:none!important}.ai-draft-filters header{display:none}.ai-draft-filters .ai-filter-apply{display:none}.ai-match-notice{display:flex;align-items:center;gap:7px;margin:0 22px 10px;padding:10px 12px;border:1px solid #acd9bf;border-radius:10px;background:#edfaf2;color:#147a43;font-size:13px;font-weight:650}.ai-global-notice{position:fixed;z-index:260;right:18px;top:86px;max-width:min(420px,calc(100vw - 30px));display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:12px 14px;border:1px solid #9fd5b6;border-radius:12px;background:#effaf3;color:#166b3f;box-shadow:0 14px 40px #143d2a2e;text-align:left}.ai-global-notice.error{border-color:#efb4be;background:#fff2f4;color:#a82038}.ai-global-notice em{font-style:normal;font-weight:750}.ai-global-notice b{font-size:20px}.line-editor-product{display:flex;justify-content:center;padding:8px}.line-editor-product .product-image-large,.line-editor-product .product-image-placeholder{width:180px!important;height:180px!important;object-fit:cover}.ai-add-product{color:var(--brand)!important;font-weight:750!important}.shared-product-form{z-index:2}.compact-entry-field{width:min(100%,320px);justify-self:center}.production-quantity-field{padding:10px;gap:7px}.production-quantity-field h3{width:max-content;margin:-2px 0 2px;padding:4px 9px;border-radius:7px;background:#e7f1ff;color:#0759b8;font-size:14px}.production-unit-row{align-items:end}.production-total{min-height:38px;justify-content:space-between}.production-total strong{font-size:17px}.confirm-dialog dl>div{align-items:start}.confirm-dialog dd{line-height:1.5;overflow-wrap:anywhere}.task-title h2{display:block;font-family:inherit;font-size:18px;font-weight:780;letter-spacing:0}.task-section-print{border-color:#f1c9d0!important;background:#fff5f6!important}.task-section-print .task-title>span:first-child,.task-section-print .task-title h2{color:#c62843}.task-section-print .task-count{color:#a71932;background:#ffdce2}.task-section-print .task-row>.text-action{border-color:#c62843;background:#c62843}.task-section-print .task-row>.text-action:hover{border-color:#a71932;background:#a71932}.task-section-receive .task-title h2{color:#0759b8}.task-section-complete{border-color:#e1d5f3!important;background:#faf7ff!important}.task-section-complete .task-title>span:first-child,.task-section-complete .task-title h2{color:#7447b6}.task-section-complete .task-count{color:#6534a7;background:#ebdfff}.attention-counters .print{background:#ffdce2;color:#b11f39}.attention-counters .receive{background:#dcecff;color:#0759b8}.attention-counters .complete{background:#ebdfff;color:#6534a7}@media(max-width:760px){.ai-import-dialog{height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;margin-top:16px;border-radius:24px 24px 0 0}.ai-workbench-tabs{margin:5px 14px 10px;gap:3px}.ai-workbench-tabs button{min-height:40px;padding:0 4px;font-size:12px}.ai-workbench-tabs em{display:none}.ai-workbench-actions{margin:0 14px 10px}.ai-mobile-filter-button{display:inline-flex!important}.ai-draft-filters{display:none!important}.ai-draft-filters.is-open{position:fixed;z-index:280;left:0;right:0;bottom:0;display:grid!important;grid-template-columns:1fr!important;gap:9px;padding:12px 14px max(16px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:#f8fafc;box-shadow:0 -20px 60px #1329463d}.ai-draft-filters.is-open:before{content:"";position:fixed;z-index:-1;inset:0;background:#111b2a4d}.ai-draft-filters header{display:flex;align-items:center;justify-content:space-between}.ai-draft-filters header h3{margin:0}.ai-draft-filters header button{width:38px;height:38px;display:grid;place-items:center;border:0;background:transparent}.ai-draft-filters .ai-filter-apply{display:flex}.ai-global-notice{left:12px;right:12px;top:auto;bottom:calc(86px + env(safe-area-inset-bottom));max-width:none}.line-editor-product .product-image-large,.line-editor-product .product-image-placeholder{width:156px!important;height:156px!important}.compact-entry-field{width:min(100%,300px)}.production-quantity-field{padding:9px;gap:6px}.production-unit-row{grid-template-columns:minmax(0,1fr) 88px}.production-unit-row input,.production-unit-row select{min-height:42px}.production-total{min-height:36px;padding:0 10px}.production-quantity-field>small{font-size:11px;line-height:1.35}.confirm-dialog dl{display:grid;gap:7px;padding:10px 18px}.confirm-dialog dl>div{min-height:0;display:grid;grid-template-columns:1fr!important;gap:3px;padding:9px 0}.confirm-dialog dt{font-size:12px}.confirm-dialog dd{text-align:left;font-size:15px;font-weight:650}.task-title{grid-template-columns:auto minmax(0,1fr) auto!important}.task-title h2{font-size:17px;white-space:nowrap}.task-title small{grid-column:2/-1}}.ai-select-view .ai-type-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.ai-select-view .ai-type-card,.ai-select-view .ai-type-card>button{height:100%}.ai-total-workbench-card>button{background:#f7f9fc}.ai-workbench-select-view{display:grid;gap:18px;padding:28px 22px}.ai-workbench-select-view>p{margin:0;color:var(--muted)}.ai-workbench-select-view .ai-type-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;width:100%;margin:auto}.ai-upload-workbench-link{min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;margin:0 22px 14px;padding:0 16px;border:1px solid #a9cbee;border-radius:11px;background:#edf6ff;color:var(--brand);font-weight:750}.ai-document-actions{display:flex;align-items:center;gap:8px;margin:0 22px 10px;padding:8px 10px;border:1px solid #d9e4ef;border-radius:11px;background:#f8fbfe}.ai-document-actions button,.ai-locate-button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--brand);font-weight:700}.ai-document-actions small{margin-left:auto;color:var(--muted)}.ai-locate-button.is-missing{color:#a76700}.ai-review-table td:last-child{min-width:112px}.ai-review-table td:last-child button{margin:2px 0}.ai-source-backdrop{z-index:420!important;display:grid;place-items:center;padding:20px}.ai-source-viewer{width:min(1120px,100%);max-height:calc(100dvh - 40px);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #d7e1ec;border-radius:22px;background:#f8fafc;box-shadow:0 28px 90px #142a464d}.ai-source-viewer>header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e1e7ef}.ai-source-viewer>header small{color:var(--brand);font-weight:700}.ai-source-viewer>header h2{margin:3px 0 0}.ai-source-viewer>header button{width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted)}.ai-source-file-tabs{display:flex;gap:6px;padding:9px 18px;overflow:auto;border-bottom:1px solid #e7ebf1}.ai-source-file-tabs button{min-height:36px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #d5dee9;border-radius:8px;background:#fff;color:#53657a}.ai-source-file-tabs button.is-active{border-color:#7eb2e9;background:#eaf4ff;color:var(--brand)}.ai-source-stage{min-height:0;overflow:auto;padding:14px;background:#e9eef4;text-align:center}.ai-source-image-wrap{position:relative;display:inline-block;max-width:100%;line-height:0}.ai-source-image-wrap>img{display:block;max-width:100%;height:auto;max-height:calc(100dvh - 260px);object-fit:contain}.ai-source-highlight{position:absolute;display:block;border:3px solid #14a86b;border-radius:8px;background:#27cf8438;box-shadow:0 0 0 3px #ffffffb8,0 8px 24px #0e704838;pointer-events:none}.ai-source-highlight em{position:absolute;left:-3px;top:-30px;min-width:max-content;padding:4px 7px;border-radius:6px;background:#087b4d;color:#fff;font-size:12px;line-height:1.2;font-style:normal}.ai-source-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 18px;border-top:1px solid #dfe6ef;background:#fff}.ai-source-footer>div{display:grid;gap:3px}.ai-source-footer strong{display:flex;align-items:center;gap:5px}.ai-source-footer strong.is-warning{color:#a76700}.ai-source-footer small{color:var(--muted)}.ai-source-footer>span{display:flex;align-items:center;gap:8px}.ai-source-footer a,.ai-source-footer button{min-height:40px;display:flex;align-items:center;gap:5px;padding:0 11px;border:1px solid #cbd8e6;border-radius:9px;background:#fff;color:var(--brand);text-decoration:none}.ai-source-footer .primary-action{border-color:var(--brand);background:var(--brand);color:#fff}@media(max-width:760px){.ai-select-view .ai-type-grid,.ai-workbench-select-view .ai-type-grid{grid-template-columns:1fr}.ai-select-view .ai-type-card>button{min-height:112px}.ai-workbench-select-view{padding:18px 14px}.ai-upload-workbench-link{margin:0 14px 10px}.ai-document-actions{margin:0 14px 8px;flex-wrap:wrap}.ai-document-actions small{width:100%;margin-left:0}.ai-source-backdrop{padding:14px 0 0;place-items:end center}.ai-source-viewer{width:100%;height:calc(100dvh - 14px);max-height:none;border-radius:24px 24px 0 0}.ai-source-viewer>header{padding:14px}.ai-source-stage{padding:10px}.ai-source-image-wrap>img{max-height:calc(100dvh - 290px)}.ai-source-footer{align-items:stretch;flex-direction:column;padding:11px 14px max(14px,env(safe-area-inset-bottom))}.ai-source-footer>span{display:grid;grid-template-columns:1fr 1fr}.ai-source-footer a,.ai-source-footer button{justify-content:center}.ai-mobile-lines article>.ai-locate-button{grid-column:2/-1;justify-self:start}.ai-workbench-actions{flex-wrap:wrap}}.ai-usage-page{max-width:none}.ai-usage-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ai-usage-cards article{display:grid;gap:7px;padding:16px;border:1px solid #dbe4ee;border-radius:13px;background:#f8fbfe}.ai-usage-cards small,.ai-usage-models small,.ai-usage-recent small{color:var(--muted)}.ai-usage-cards strong{font-size:24px;font-variant-numeric:tabular-nums}.ai-usage-note{margin-top:10px;padding:10px 12px;border-left:4px solid #e6a229;background:#fff8e8;color:#725119}.ai-usage-models,.ai-usage-recent{display:grid;gap:7px}.ai-usage-models article,.ai-usage-recent article{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(170px,1fr) 140px;align-items:center;gap:12px;padding:11px 13px;border-bottom:1px solid #e5ebf1}.ai-usage-models article>span,.ai-usage-recent article>span:first-child{display:grid;gap:3px}.ai-usage-chart{height:190px;display:flex;align-items:flex-end;gap:7px;padding:18px 10px 4px;border:1px solid #e0e7ef;border-radius:12px;overflow-x:auto}.ai-usage-chart article{min-width:48px;height:150px;display:grid;grid-template-rows:1fr auto auto;align-items:end;text-align:center}.ai-usage-chart article>span{width:26px;max-height:110px;justify-self:center;border-radius:5px 5px 2px 2px;background:#4b96e5}.ai-usage-chart small{font-size:10px;color:var(--muted)}.ai-usage-chart em{font-size:10px;font-style:normal;color:#35516f}.ai-usage-recent article{grid-template-columns:minmax(220px,1fr) 130px 100px}.ai-usage-recent>article>strong{text-align:right}@media(max-width:760px){.ai-usage-cards{grid-template-columns:1fr 1fr}.ai-usage-cards strong{font-size:20px}.ai-usage-models article,.ai-usage-recent article{grid-template-columns:1fr 1fr}.ai-usage-models article>span:first-child,.ai-usage-recent article>span:first-child{grid-column:1/-1}.ai-usage-recent>article>strong{text-align:right}}.ai-total-workbench-card>button{position:relative;overflow:hidden;border-color:#5e7897!important;background:linear-gradient(145deg,#223a57,#14273f)!important;color:#f4f9ff!important;box-shadow:inset 0 1px #ffffff2e,0 14px 34px #08192e33!important}.ai-total-workbench-card>button:after{content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,rgba(176,222,255,.12),transparent 42%,rgba(104,174,230,.08))}.ai-total-workbench-card svg,.ai-total-workbench-card strong,.ai-total-workbench-card span{position:relative;z-index:1;color:#f4f9ff!important}.ai-total-workbench-card span{color:#c3d6e8!important}.ai-total-workbench-card>button:hover{border-color:#8bb9e0!important;background:linear-gradient(145deg,#294867,#17304d)!important}.compact-entry-field input[type=date]{height:44px!important;min-height:44px!important;max-height:44px!important;padding:0 38px 0 12px!important;line-height:44px!important;text-align:center!important;font-size:16px!important;box-sizing:border-box!important}.compact-entry-field input[type=date]::-webkit-date-and-time-value{display:flex;align-items:center;justify-content:center;height:44px;margin:0;text-align:center}.compact-entry-field input[type=date]::-webkit-datetime-edit{display:flex;align-items:center;justify-content:center;height:44px;padding:0}.compact-entry-field input[type=date]::-webkit-calendar-picker-indicator{position:absolute;right:10px;margin:0}.process-chip.printing{color:#0759b8!important;background:#e7f3ff!important;border-color:#b9d9fb!important}.process-chip.printing b{color:#0759b8;background:#f7fbff}.process-chip.production{color:#7042ad!important;background:#f1eaff!important;border-color:#d9c8f1!important}.process-chip.production b{color:#6534a7;background:#fbf8ff}.attention-counters{display:flex!important;align-items:center;gap:7px;margin-left:auto!important}.attention-counters b{width:auto!important;min-width:54px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:0 8px!important;border-radius:17px!important;font-size:13px!important}.attention-counters b small{font-size:10px;font-weight:650}.attention-counters .print{background:#ffdce2!important;color:#b11f39!important}.attention-counters .receive{background:#dcecff!important;color:#0759b8!important}.attention-counters .complete{background:#ebdfff!important;color:#6534a7!important}.task-section{position:relative!important;overflow:hidden!important;margin:12px 0!important;padding:0!important;border:1px solid #dfe6ee!important;border-left-width:4px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 7px 20px #19304c0b!important}.task-section-print{border-color:#edc9d0!important;border-left-color:#c62843!important}.task-section-receive{border-color:#cfe1f4!important;border-left-color:#0b68c7!important}.task-section-complete{border-color:#dfd1f0!important;border-left-color:#7447b6!important}.task-title{min-height:66px!important;display:grid!important;grid-template-columns:auto auto auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important;padding:11px 14px!important;border-bottom:1px solid #e5ebf1!important;background:#f8fafc!important}.task-section-print .task-title{background:#fff4f6!important}.task-section-receive .task-title{background:#f2f8ff!important}.task-section-complete .task-title{background:#faf6ff!important}.task-title h2{margin:0!important;white-space:nowrap}.task-title small{min-width:0;line-height:1.45}.task-watermark{display:none!important}.task-rows{padding:0 14px!important;background:#fff}.task-row{min-height:64px!important}.task-rows>.task-row+.task-row{border-top:1px solid #e8edf3}.empty-row{min-height:52px!important;margin:0!important;border:0!important;background:#fff!important}.task-section-print .task-title>span:first-child,.task-section-print .task-title h2{color:#c62843!important}.task-section-receive .task-title>span:first-child,.task-section-receive .task-title h2{color:#0759b8!important}.task-section-complete .task-title>span:first-child,.task-section-complete .task-title h2{color:#7447b6!important}.back-to-inventory,.filter-return,.orders-toolbar>.back-action{align-items:center!important;justify-content:center!important;line-height:1!important;white-space:nowrap!important}.back-to-inventory svg,.filter-return svg{flex:0 0 18px;margin:0!important}.back-to-inventory,.filter-return{justify-content:flex-start!important}.back-to-inventory,.filter-return{min-height:44px!important;gap:6px!important}.back-to-inventory svg,.filter-return svg{width:18px!important;height:18px!important}@media(max-width:760px){.compact-entry-field{width:min(100%,300px)!important}.attention-counters{gap:4px}.attention-counters b{min-width:44px!important;height:32px!important;padding:0 6px!important}.attention-counters b small{display:none}.task-section{margin:10px 0!important}.task-title{grid-template-columns:auto minmax(0,1fr) auto!important;min-height:62px!important;padding:10px 11px!important}.task-title h2{font-size:16px!important}.task-title small{grid-column:2/-1!important;font-size:12px}.task-rows{padding:0 11px!important}.task-row.compact{padding:12px 0!important}.process-chip{width:100%;box-sizing:border-box}.process-chip b{flex:0 0 auto}}.maintenance-banner{position:fixed;z-index:150;inset:0 0 auto;min-height:42px;display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 18px;background:#fff2c7;color:#714b00;border-bottom:1px solid #e6c15b;box-shadow:0 4px 16px #372a051f}.maintenance-banner strong{font-size:14px}.maintenance-banner span{font-size:13px}.maintenance-banner~.app-shell{padding-top:42px}.projected-negative-warning{display:grid;gap:3px;padding:10px 12px;border:1px solid #e7a5ad;border-left:4px solid #b4142d;border-radius:10px;background:#fff1f3;color:#8f1025}.projected-negative-warning strong{font-size:14px}.projected-negative-warning span{font-size:12px;line-height:1.5}.stock-status.status-实物负库存{background:#8f1025;color:#fff;box-shadow:0 0 0 3px #8f10251f}.stock-status.status-预计负库存{background:#fde3e7;color:#a6112b;border:1px solid #d96678}.process-chip{align-items:stretch!important}.process-chip>span{display:flex;flex-wrap:wrap;align-items:center;gap:0 4px}.process-chip>span>small{flex:0 0 100%;font-size:10px;font-weight:600;opacity:.75}.v103-inventory-list,.v103-inventory-row,.inventory-identity,.inventory-copy,.process-statuses{min-width:0!important}.v103-inventory-list{overflow-x:hidden!important}.v103-inventory-list .process-chip{width:100%;max-width:100%;box-sizing:border-box;white-space:normal!important;text-align:left}.v103-inventory-list .process-chip>span{min-width:0}.low-stock-row{grid-template-columns:minmax(230px,1.2fr) auto minmax(260px,1.4fr) auto!important;align-items:start!important;gap:12px 18px!important;padding:15px 0!important}.low-stock-summary{display:flex;gap:24px}.low-stock-timeline{grid-column:1/-1;display:grid;gap:7px}.low-stock-timeline>div{display:grid;grid-template-columns:58px minmax(0,1fr);gap:8px;align-items:center;padding:8px 10px;border-radius:9px}.low-stock-timeline b{display:grid;place-items:center;min-height:28px;border-radius:7px;font-size:11px}.low-stock-timeline span{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}.low-stock-timeline small{flex:0 0 100%;font-size:11px;color:#687589}.low-stock-timeline strong,.low-stock-timeline em{font-size:13px;font-style:normal}.low-stock-timeline .printing{background:#edf6ff;border:1px solid #c9e2fb;color:#0759b8}.low-stock-timeline .printing b{background:#fff}.low-stock-timeline .production{background:#f7f1ff;border:1px solid #dfcff3;color:#7042ad}.low-stock-timeline .production b{background:#fff}.low-stock-row .print-plan-summary{grid-column:1/-2;display:flex!important;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:12px;color:#57657a}.print-plan-summary em{font-style:normal;color:#b32338}.print-plan-summary em.sufficient{color:#087f58}.readonly-note{font-size:12px;color:#788498}.risk-实物负库存{background:linear-gradient(90deg,#fff5f6,#fff)!important}.risk-预计负库存{box-shadow:inset 3px 0 #a6112b}.approval-pending-label{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border-radius:8px;background:#fff1d8;color:#a15a00;font-size:12px;font-weight:700}.task-actions{display:flex!important}.attention-toggle .approval-mail-button{display:inline-flex!important;align-items:center;gap:5px;min-height:36px;padding:0 9px;border:1px solid #ddd0ed;border-radius:10px;background:#faf6ff;color:#7042ad}.approval-mail-button svg{width:18px}.approval-mail-button b{display:grid!important;place-items:center;min-width:21px!important;width:21px!important;height:21px!important;border-radius:50%!important;background:#7042ad;color:#fff;font-size:11px}.approval-mail-button small{font-size:11px;font-weight:700}.approval-inbox{width:min(920px,calc(100% - 32px));max-height:88vh;display:flex;flex-direction:column;border-radius:18px;background:#f6f8fb;box-shadow:0 28px 80px #0e1c3047;overflow:hidden}.approval-inbox>header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;background:#fff;border-bottom:1px solid #e1e7ef}.approval-inbox h2{margin:2px 0 0}.approval-inbox>header button{width:42px;height:42px;display:grid;place-items:center;border:0;background:transparent}.approval-inbox>nav{display:flex;gap:8px;padding:12px 18px;overflow:auto}.approval-inbox>nav button{min-height:38px;padding:0 14px;border:1px solid #d8e0ea;border-radius:9px;background:#fff}.approval-inbox>nav button.is-active{border-color:#1769c2;background:#e8f3ff;color:#0759b8}.approval-list{display:grid;gap:12px;padding:0 18px 18px;overflow:auto}.approval-list article{padding:16px;border:1px solid #dfe6ee;border-radius:14px;background:#fff}.approval-list article>div:first-child{display:flex;justify-content:space-between;gap:12px}.approval-list article>div:first-child span{color:#6a7688;font-size:12px}.approval-list dl{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}.approval-list dl div{padding:9px;border-radius:8px;background:#f5f7fa}.approval-list dt{font-size:11px;color:#69768a}.approval-list dd{margin:4px 0 0;font-weight:750}.approval-list dd.negative{color:#b4142d}.approval-list label{display:grid;gap:6px;font-size:12px}.approval-list input{height:42px}.approval-list footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.role-template-card{display:grid;gap:5px;padding:12px 14px;border:1px solid #d7e3ef;border-radius:10px;background:#f5f9ff}.role-template-card span{font-size:12px;line-height:1.55;color:#5f6d80}.advanced-permissions{padding:0!important;border:1px solid #e0e6ed!important;border-radius:10px;overflow:hidden}.advanced-toggle{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border:0;background:#f7f9fc}.advanced-toggle svg{transition:transform .2s}.advanced-toggle svg.is-open{transform:rotate(180deg)}.advanced-permissions .permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:8px 12px}.permission-switch{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between;gap:12px;padding:10px;border-bottom:1px solid #edf0f4}.permission-switch span{display:grid;gap:2px}.permission-switch small{font-size:10px;color:#6e7988}.permission-switch input{width:22px;height:22px}.order-anomaly.projected-negative{background:#ffe2e7;color:#aa1730}@media(max-width:760px){.maintenance-banner{align-items:flex-start;justify-content:flex-start;gap:3px;flex-direction:column;min-height:52px;padding:7px 12px}.maintenance-banner~.app-shell{padding-top:52px}.low-stock-row{grid-template-columns:1fr!important;gap:10px!important}.low-stock-summary{grid-column:1;justify-content:space-between}.low-stock-timeline,.low-stock-row .print-plan-summary{grid-column:1}.low-stock-timeline>div{grid-template-columns:50px 1fr}.low-stock-timeline span{display:grid;gap:2px}.low-stock-timeline small{font-size:10px}.approval-mail-button{padding:0 8px;min-width:74px;justify-content:center}.approval-mail-button small{display:block;font-size:10px}.approval-inbox{width:100%;max-height:92vh;border-radius:18px 18px 0 0}.approval-inbox>nav{padding:10px 12px}.approval-list{padding:0 12px 14px}.approval-list article>div:first-child{display:grid}.approval-list dl{grid-template-columns:1fr 1fr}.advanced-permissions .permission-grid{grid-template-columns:1fr}.permission-switch{writing-mode:horizontal-tb!important}.permission-dialog{overflow-x:hidden}.permission-dialog form{min-width:0}.task-actions{grid-column:1/-1!important;display:flex!important;justify-content:flex-end!important;flex-wrap:wrap!important}.process-chip>span{display:grid}.process-chip>span>small{font-size:10px}.approval-mail-button{position:absolute;right:48px;bottom:10px}.attention-toggle{position:relative;padding-bottom:48px!important}}.beta-environment-banner{position:sticky;top:0;z-index:120;min-height:30px;display:flex;align-items:center;justify-content:center;gap:8px;padding:5px 14px;background:#5d3cc7;color:#fff;font-size:12px;font-weight:800;letter-spacing:.06em;box-shadow:0 1px #ffffff3d inset}.beta-environment-banner:before{content:"BETA";padding:2px 6px;border:1px solid rgba(255,255,255,.55);border-radius:6px;font-size:9px}.approval-mail-button{position:relative}.approval-mail-button .mail-unread{position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px;border:2px solid #fff;border-radius:12px;background:#e3293e;color:#fff;font-size:10px;font-style:normal;font-weight:850}.workbench-page,.analytics-page{padding:18px;background:var(--app-bg);min-height:100%}.workbench-heading,.analytics-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:18px 20px;border:1px solid #dce5ef;border-radius:18px;background:#ffffffeb;box-shadow:0 8px 26px #223d5b12}.workbench-heading p,.analytics-heading p{margin:0;color:#0b67bd;font-size:11px;font-weight:800;letter-spacing:.1em}.workbench-heading h1,.analytics-heading h1{margin:2px 0;font-size:26px}.workbench-heading span,.analytics-heading span{color:#65748a;font-size:13px}.workbench-heading>button,.analytics-heading>button{min-height:42px;display:flex;align-items:center;gap:6px;padding:0 13px;border:1px solid #d5dfeb;border-radius:11px;background:#fff;color:#43556a}.workbench-error{margin:0 0 12px;padding:10px 12px;border-left:4px solid #e3293e;background:#fff0f2;color:#a51c32}.workbench-section{--tone:#176dc2;--soft:#eef6ff;display:grid;gap:0;margin:0 0 14px;overflow:hidden;border:1px solid color-mix(in srgb,var(--tone) 24%,#dbe3ed);border-radius:18px;background:#fffffff0;box-shadow:0 10px 30px #1c385a12}.workbench-section.printing{--tone:#cb2942;--soft:#fff2f4}.workbench-section.receipts{--tone:#126ec8;--soft:#eef7ff}.workbench-section.completions{--tone:#7551bf;--soft:#f5f0ff}.workbench-section>header{min-height:66px;display:flex;align-items:center;gap:12px;padding:12px 16px;border-left:4px solid var(--tone);background:linear-gradient(100deg,var(--soft),#fff)}.workbench-section>header>span:first-child{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#fff;color:var(--tone);box-shadow:0 3px 12px color-mix(in srgb,var(--tone) 15%,transparent)}.workbench-section>header h2{margin:0;font-size:18px}.workbench-section>header small{display:block;margin-top:3px;color:#68768a}.workbench-section>header em{min-width:28px;height:28px;display:grid;place-items:center;margin-left:auto;border-radius:15px;background:color-mix(in srgb,var(--tone) 14%,#fff);color:var(--tone);font-style:normal;font-weight:850}.workbench-section>header button{width:38px;height:38px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--tone) 25%,#dce4ee);border-radius:10px;background:#fff;color:var(--tone)}.workbench-items{display:grid;gap:9px;padding:11px;background:color-mix(in srgb,var(--soft) 45%,#fff)}.workbench-task{min-width:0;display:grid;grid-template-columns:minmax(240px,1.45fr) minmax(280px,1fr) auto;align-items:center;gap:14px;padding:11px 13px;border:1px solid #e1e7ef;border-radius:13px;background:#fff;box-shadow:0 3px 12px #283d570b}.workbench-task-identity{min-width:0;display:flex;align-items:center;gap:10px}.workbench-task-identity>span{min-width:0}.workbench-task-identity strong,.workbench-task-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-task-identity small{margin-top:3px;color:#718095}.workbench-task-metrics{display:flex;gap:18px}.workbench-task-metrics span{display:grid;gap:2px;color:#738094;font-size:11px}.workbench-task-metrics strong{color:#172235;font-size:16px}.workbench-task-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.workbench-task-actions button,.workbench-task-actions a{min-height:38px;display:inline-flex;align-items:center;gap:5px;padding:0 11px;border:1px solid #d8e1eb;border-radius:9px;background:#fff;color:#31506f;text-decoration:none;font-weight:700}.workbench-task-actions .primary-action{border-color:var(--tone);background:var(--tone);color:#fff}.workbench-empty{min-height:84px;display:grid;place-items:center;color:#13865e}.print-workbench-tabs{display:flex;gap:6px;padding:9px 11px;border-top:1px solid #f1cbd2;background:#fff}.print-workbench-tabs button{min-height:36px;padding:0 12px;border:1px solid #e4d7da;border-radius:9px;background:#fff;color:#72505a}.print-workbench-tabs button.is-active{border-color:#cb2942;background:#cb2942;color:#fff}.workbench-timeline{min-width:0;display:grid;gap:5px}.workbench-timeline-row{min-width:0;min-height:38px;display:grid;grid-template-columns:9px auto minmax(120px,1fr) auto;align-items:center;gap:8px;padding:5px 9px;border:1px solid #e1e6ed;border-radius:9px;background:#f9fafc;color:#69758a;font-size:11px}.workbench-timeline-row i{width:7px;height:7px;border-radius:50%;background:#126ec8}.workbench-timeline-row.production i{background:#7551bf}.workbench-timeline-row strong{color:#4a576a;white-space:nowrap}.workbench-timeline-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-timeline-row em{color:#39475a;font-style:normal;font-variant-numeric:tabular-nums;white-space:nowrap}.print-plan-status{display:inline-flex;align-items:center;gap:6px;color:#16835c;font-size:12px;font-weight:750}.print-plan-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#19a66f}.workbench-filter-sheet{width:min(520px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border-radius:20px;background:#f8fafc}.workbench-filter-sheet>header{display:flex;justify-content:space-between;align-items:center}.workbench-filter-sheet>header h2{margin:3px 0 14px}.workbench-filter-sheet>header button{width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent}.workbench-filter-sheet>label,.workbench-filter-sheet .filter-date-row label{display:grid;gap:6px;margin:10px 0;font-weight:700}.workbench-filter-sheet input,.workbench-filter-sheet select{width:100%;min-width:0;height:44px;padding:0 12px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;font-size:16px}.workbench-filter-sheet .filter-date-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.workbench-filter-sheet footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.analytics-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.analytics-module{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border:1px solid #dbe4ee;border-radius:16px;background:#fff;color:#172235;text-decoration:none;box-shadow:0 8px 24px #213e5f0f}.analytics-module>span:first-child{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#eaf4ff;color:#0968c4}.analytics-module h2{margin:0 0 5px;font-size:18px}.analytics-module p{margin:0;color:#6e7c90;font-size:13px}.product-timeline-panel{margin-top:14px;padding:18px;border:1px solid #dbe4ee;border-radius:17px;background:#fff}.product-timeline-toolbar{display:flex;align-items:end;gap:10px}.product-timeline-toolbar label{flex:1;display:grid;gap:6px;font-weight:700}.product-timeline-toolbar select{height:44px;border:1px solid #cfdae6;border-radius:10px;background:#fff;padding:0 12px}.product-timeline-summary{display:flex;justify-content:space-between;align-items:center;margin:16px 0 8px;padding:12px;border-radius:12px;background:#f2f7fc}.product-timeline-list{position:relative;display:grid;gap:0}.product-timeline-list:before{content:"";position:absolute;top:20px;bottom:20px;left:15px;width:2px;background:#dce5ef}.product-timeline-item{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px 0}.product-timeline-item>i{z-index:1;width:12px;height:12px;margin:auto;border:3px solid #fff;border-radius:50%;background:#168bdd;box-shadow:0 0 0 2px #badcf5}.product-timeline-item.negative>i{background:#dc3850}.product-timeline-item span small{display:block;color:#718096}.product-timeline-item>strong{font-variant-numeric:tabular-nums}.product-timeline-item>a{color:#0968c4;text-decoration:none}.analytics-home,.product-history-picker,.product-timeline-page{min-height:100%;padding:18px;background:var(--app-bg)}.analytics-home>header,.product-history-picker>header,.product-timeline-page>header{margin-bottom:14px;padding:18px 20px;border:1px solid #dce5ef;border-radius:18px;background:#fff}.analytics-home>header p,.product-timeline-page>header p{margin:0;color:#0968c4;font-size:11px;font-weight:800;letter-spacing:.08em}.analytics-home>header h1,.product-history-picker>header h1,.product-timeline-page>header h1{margin:4px 0;font-size:25px}.analytics-home>header span,.product-history-picker>header p,.product-timeline-page>header span{color:#68778b}.analytics-home .analytics-modules button{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:116px;padding:18px;border:1px solid #dbe4ee;border-radius:16px;background:#fff;text-align:left;box-shadow:0 8px 24px #213e5f0f}.analytics-home .analytics-modules button>svg{width:48px;height:48px;padding:12px;border-radius:14px;background:#eaf4ff;color:#0968c4}.analytics-home .analytics-modules button span{display:grid;gap:5px}.analytics-home .analytics-modules button strong{font-size:18px}.analytics-home .analytics-modules button small{color:#6d7b8f}.analytics-home .analytics-modules button em{display:flex;align-items:center;gap:5px;color:#0968c4;font-style:normal;font-weight:750}.product-history-picker>div{display:grid;gap:8px}.product-history-picker>div>button{display:grid;grid-template-columns:90px minmax(0,1fr) 24px;align-items:center;gap:12px;min-height:62px;padding:10px 14px;border:1px solid #dce4ed;border-radius:13px;background:#fff;text-align:left}.product-history-picker>div>button strong{color:#0968c4}.product-history-picker>div>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-timeline-page .product-timeline-list article{position:relative;display:grid;grid-template-columns:16px 150px minmax(220px,1fr) 100px 130px auto;align-items:center;gap:10px;padding:12px 4px}.product-timeline-page .product-timeline-list article>i{z-index:1;width:10px;height:10px;border-radius:50%;background:#159763}.product-timeline-page .product-timeline-list article.decrease>i{background:#d63a50}.product-timeline-page .product-timeline-list article time{color:#728095;font-size:11px}.product-timeline-page .product-timeline-list article div{display:grid}.product-timeline-page .product-timeline-list article div span,.product-timeline-page .product-timeline-list article div small{color:#728095}.product-timeline-page .product-timeline-list article>em{color:#159763;font-style:normal;font-weight:850}.product-timeline-page .product-timeline-list article.decrease>em{color:#d63a50}.product-timeline-page .product-timeline-list article>b{font-variant-numeric:tabular-nums}.product-timeline-page .product-timeline-list article>button{min-height:34px;border:1px solid #cfdbe7;border-radius:8px;background:#fff;color:#0968c4}.manual-delivery-panel,.manual-delivery-review{padding:18px 22px}.manual-delivery-panel>header,.manual-delivery-review>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}.manual-delivery-panel>header h2,.manual-delivery-review>header h2{margin:2px 0}.manual-delivery-panel>header>button:last-child,.manual-delivery-review>header>button{width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent}.manual-delivery-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.manual-delivery-tabs button{min-height:48px;border:1px solid #ced9e6;border-radius:11px;background:#fff;color:#58677a;font-weight:750}.manual-delivery-tabs button.is-active{border-color:#2887d8;background:#eaf5ff;color:#0968c4}.manual-delivery-panel form{display:grid;gap:10px}.manual-delivery-panel form>label{display:grid;gap:6px;font-weight:700}.manual-delivery-panel input,.manual-delivery-panel select,.manual-delivery-panel textarea{width:100%;min-width:0;border:1px solid #ccd7e4;border-radius:10px;background:#fff;padding:0 12px;font-size:16px}.manual-delivery-panel input,.manual-delivery-panel select{height:44px}.manual-delivery-panel textarea{min-height:70px;padding-top:10px}.manual-document-upload{position:relative;min-height:74px;display:flex!important;align-items:center;gap:12px;padding:12px;border:1px dashed #8ebce6;border-radius:12px;background:#f3f9ff;color:#0968c4}.manual-document-upload input{position:absolute;inset:0;opacity:0}.manual-document-upload span{display:grid}.manual-document-upload small{color:#718096}.manual-delivery-panel footer,.manual-delivery-review footer{display:flex;justify-content:space-between;gap:10px;margin-top:10px}.manual-delivery-review dl{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:16px 0;overflow:hidden;border:1px solid #dbe3ed;border-radius:12px;background:#dbe3ed}.manual-delivery-review dl>div{padding:11px;background:#fff}.manual-delivery-review dt{color:#748196;font-size:11px}.manual-delivery-review dd{margin:4px 0 0;font-weight:750}.media-consent-dialog{width:min(500px,100%);max-height:calc(100dvh - 24px);overflow-y:auto;padding:22px;border:1px solid rgba(204,216,230,.95);border-radius:22px;background:#fafcfffa;box-shadow:0 24px 70px #0e223d47;-webkit-backdrop-filter:blur(24px) saturate(155%);backdrop-filter:blur(24px) saturate(155%)}.media-consent-dialog header{display:grid;grid-template-columns:42px minmax(0,1fr) 40px;align-items:center;gap:10px}.media-consent-dialog header>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eaf4ff;color:#0968c4}.media-consent-dialog header>button{width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent}.media-consent-dialog h2{margin:4px 0}.media-consent-dialog .media-consent-copy{padding:10px 0}.media-consent-dialog .media-consent-copy p{margin:8px 0 12px;line-height:1.55}.media-consent-dialog ul{display:grid;gap:8px;margin:0;padding-left:22px;color:#526176;line-height:1.45}.media-consent-dialog footer{display:flex;justify-content:flex-end;gap:8px}.entry-hub{width:min(720px,100%);padding:18px;overflow:auto}.entry-hub .dialog-header,.entry-choice .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 14px}.entry-hub .dialog-header h2,.entry-choice .dialog-header h2{margin:3px 0}.entry-hub .dialog-header>button,.entry-choice .dialog-header>button{width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent}.entry-hub-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.entry-hub-grid>button{min-height:150px;display:grid;grid-template-columns:42px minmax(0,1fr);align-content:center;align-items:center;gap:6px 12px;padding:18px;border:1px solid #d3dfeb;border-radius:16px;background:#fff;color:#172235;text-align:left;box-shadow:0 8px 24px #1e3c5f12}.entry-hub-grid>button>svg{grid-row:1/3;width:34px;height:34px;color:#0968c4}.entry-hub-grid>button strong{font-size:20px}.entry-hub-grid>button span{color:#66758a;line-height:1.45}.stocktake-quick-entry{width:100%;min-height:72px;display:flex;align-items:center;gap:12px;margin-top:12px;padding:12px 16px;border:1px solid #d3deea;border-radius:14px;background:#f7f9fc;color:#334a63;text-align:left}.stocktake-quick-entry>span{display:grid}.stocktake-quick-entry small{color:#718095}.entry-choice{padding:18px}.entry-choice>.back-action{margin:0 22px 18px}.order-groups{display:grid;gap:8px;margin:12px 0}.order-groups>header{display:flex;justify-content:space-between;padding:0 4px;color:#526176}.order-group-card{overflow:hidden;border:1px solid #d7e2ee;border-radius:14px;background:#fff;box-shadow:0 5px 18px #233e5d0e}.order-group-summary{width:100%;min-height:68px;display:grid;grid-template-columns:auto minmax(180px,1.2fr) 90px 150px auto 24px;align-items:center;gap:12px;padding:10px 14px;border:0;background:linear-gradient(105deg,#f4f9ff,#fff);text-align:left}.order-group-summary .group-source{padding:4px 7px;border-radius:7px;background:#e7f2ff;color:#0968c4;font-size:10px;font-weight:850}.order-group-summary strong,.order-group-summary small{display:block}.order-group-summary small{color:#718095}.order-group-summary em{padding:5px 8px;border-radius:8px;background:#edf8f3;color:#12845d;font-style:normal;font-size:11px}.order-group-children{padding:0 12px 10px}.order-group-children>div{display:grid;grid-template-columns:minmax(220px,1fr) 150px 90px 36px;align-items:center;gap:10px;padding:9px 4px;border-top:1px solid #e7ecf2}.order-group-children small{display:block;color:#718095}.order-group-children em{font-style:normal;color:#536276}.order-group-children button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d8e1eb;border-radius:8px;background:#fff}.order-group-children footer{display:flex;justify-content:flex-end;gap:8px;padding:8px 0 0;border-top:1px solid #edf0f4}.order-group-children footer button{width:auto;display:flex;gap:5px;padding:0 10px}.group-builder{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,360px) auto;align-items:center;gap:10px;margin:12px 0;padding:12px 14px;border:1px solid #cbdced;border-radius:14px;background:#eef6ff}.group-builder span small{display:block;color:#68788d}.group-builder input{height:42px;border:1px solid #bfd0e3;border-radius:9px;padding:0 11px}.orders-toolbar>button.is-active{background:#e7f2ff;color:#0968c4}.order-group-check{display:grid!important;place-items:center!important}.order-group-check input{position:absolute;opacity:0}.order-group-check span{width:22px;height:22px;border:2px solid #9cadbf;border-radius:6px;background:#fff}.order-group-check input:checked+span{border-color:#0968c4;background:#0968c4;box-shadow:inset 0 0 0 4px #fff}.order-list.is-grouping .order-list-head,.order-list.is-grouping .order-list-row{grid-template-columns:44px 180px minmax(260px,1fr) 130px 180px 120px 120px 140px 90px}.group-edit-dialog{width:min(430px,100%);padding:20px}.group-edit-dialog>label{display:grid;gap:6px}.group-edit-dialog input{height:44px;border:1px solid #cdd8e5;border-radius:10px;padding:0 12px}.group-edit-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.negative-approval-inbox{width:min(860px,100%);max-height:calc(100dvh - 34px);overflow:auto;padding:20px}.negative-approval-inbox>header{display:flex;justify-content:space-between;align-items:center}.negative-approval-tabs{display:flex;gap:6px;margin:12px 0}.negative-approval-tabs button{min-height:38px;border:1px solid #d3deea;border-radius:9px;background:#fff}.negative-approval-tabs button.is-active{background:#7551bf;color:#fff}.negative-approval-list{display:grid;gap:8px}.negative-approval-list article{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,100px) auto;align-items:center;gap:10px;padding:12px;border:1px solid #e0e5ec;border-radius:12px;background:#fff}.negative-approval-list small{display:block;color:#748095}.negative-approval-list footer{display:flex;gap:6px}.backup-lab{display:grid;gap:14px}.backup-lab-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.backup-lab-actions article{display:grid;gap:8px;padding:14px;border:1px solid #dbe3ec;border-radius:13px;background:#fff}.backup-lab-list{display:grid;gap:7px}.backup-lab-list article{display:grid;grid-template-columns:minmax(160px,1fr) 110px 130px 140px;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e0e6ed;border-radius:10px;background:#fff}.backup-lab-list small{display:block;color:#718095}@media(max-width:760px){.top-actions:has(.mailbox-action){width:206px!important;grid-template-columns:42px 42px 42px 68px!important}.top-actions:has(.mailbox-action) .primary-action{width:68px!important}.beta-environment-banner{font-size:11px}.workbench-page,.analytics-page{padding:11px}.workbench-heading,.analytics-heading{padding:14px;border-radius:15px}.workbench-heading h1,.analytics-heading h1{font-size:23px}.workbench-section{border-radius:16px}.workbench-section>header{min-height:62px;padding:10px 12px}.workbench-items{padding:8px;gap:8px}.workbench-task{grid-template-columns:1fr auto;gap:9px;padding:11px}.workbench-task-identity{grid-column:1/-1}.workbench-task-metrics{gap:14px}.workbench-task-actions{grid-column:1/-1;justify-content:stretch}.workbench-task-actions button,.workbench-task-actions a{flex:1;justify-content:center}.workbench-timeline{grid-column:1/-1}.workbench-timeline-row{min-height:44px;grid-template-columns:8px auto minmax(0,1fr)}.workbench-timeline-row em{grid-column:2/-1}.workbench-filter-sheet{align-self:end;width:100%;max-height:84dvh;border-radius:24px 24px 0 0;padding:18px 14px max(14px,env(safe-area-inset-bottom))}.workbench-filter-sheet .filter-date-row,.analytics-modules{grid-template-columns:1fr}.analytics-module{padding:15px}.product-timeline-toolbar{align-items:stretch;flex-direction:column}.product-timeline-item{grid-template-columns:32px minmax(0,1fr) auto}.product-timeline-item>a{grid-column:2/-1}.manual-delivery-panel,.manual-delivery-review{padding:14px}.manual-delivery-panel>header{grid-template-columns:1fr auto}.manual-delivery-panel>header>.back-action{grid-column:1/-1;justify-self:start}.manual-delivery-review dl{grid-template-columns:1fr}.order-group-summary{grid-template-columns:auto minmax(0,1fr) auto;padding:10px}.order-group-summary>span:nth-of-type(3),.order-group-summary>span:nth-of-type(4){display:none}.order-group-summary em{grid-column:2}.order-group-children>div{grid-template-columns:minmax(0,1fr) auto 34px}.order-group-children>div>span:nth-of-type(2){grid-column:1}.order-group-children>div>em{display:none}.group-builder{grid-template-columns:1fr}.order-list.is-grouping .order-list-row{grid-template-columns:38px minmax(0,1fr) auto!important}.order-list.is-grouping .order-group-check{grid-row:1/3}.order-list.is-grouping .order-list-head{display:none}.negative-approval-inbox{align-self:end;width:100%;max-height:88dvh;border-radius:24px 24px 0 0;padding:16px 14px}.negative-approval-list article{grid-template-columns:1fr 1fr}.negative-approval-list article>span:first-child{grid-column:1/-1}.negative-approval-list footer{grid-column:1/-1}.backup-lab-actions{grid-template-columns:1fr}.backup-lab-list article{grid-template-columns:1fr auto}.backup-lab-list article>span:nth-child(3),.backup-lab-list article>span:nth-child(4){grid-column:1/-1}}@media(max-width:760px){.entry-hub,.entry-choice{align-self:end;width:100%;max-height:88dvh;border-radius:24px 24px 0 0;padding:14px 14px max(14px,env(safe-area-inset-bottom));overflow-y:auto}.entry-hub-grid{grid-template-columns:1fr}.entry-hub-grid>button{min-height:112px;grid-template-columns:34px minmax(0,1fr);padding:14px;border-radius:14px}.entry-hub-grid>button>svg{width:28px;height:28px}.entry-hub-grid>button strong{font-size:17px}.entry-hub-grid>button span{font-size:12px}.stocktake-quick-entry{min-height:66px}.entry-choice>.back-action{margin:0 14px 14px}}@media(max-width:760px){.analytics-home,.product-history-picker,.product-timeline-page{padding:11px}.analytics-home>header,.product-history-picker>header,.product-timeline-page>header{padding:14px;border-radius:15px}.analytics-home .analytics-modules{grid-template-columns:1fr}.analytics-home .analytics-modules button{min-height:98px;padding:14px}.product-timeline-page .product-timeline-list article{grid-template-columns:14px minmax(0,1fr) auto;padding:11px 2px}.product-timeline-page .product-timeline-list article time{grid-column:2}.product-timeline-page .product-timeline-list article div{grid-column:2/-1}.product-timeline-page .product-timeline-list article>em{grid-column:2}.product-timeline-page .product-timeline-list article>b{grid-column:3}.product-timeline-page .product-timeline-list article>button{grid-column:2/-1;justify-self:start}}@media(max-width:430px){.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important;padding-left:4px!important;padding-right:4px!important}.bottom-nav a{min-width:0!important;padding:7px 2px!important;font-size:10px!important}.bottom-nav a svg{width:23px!important;height:23px!important}.workbench-section>header h2{font-size:16px}.workbench-section>header small{font-size:10px}.workbench-timeline-row{font-size:10px}.manual-delivery-tabs button{font-size:13px}.order-group-summary>span:nth-of-type(2) small{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.workflow-section{--tone:#176dc2;--soft:#eef6ff;overflow:hidden;margin:0 0 14px;border:1px solid color-mix(in srgb,var(--tone) 24%,#dbe3ed);border-radius:18px;background:#fffffff0;box-shadow:0 10px 30px #1c385a12}.workflow-section.workflow-print{--tone:#cb2942;--soft:#fff2f4}.workflow-section.workflow-receive{--tone:#126ec8;--soft:#eef7ff}.workflow-section.workflow-complete{--tone:#7551bf;--soft:#f5f0ff}.workflow-section>header{min-height:66px;display:flex;align-items:center;gap:12px;padding:12px 16px;border-left:4px solid var(--tone);background:linear-gradient(100deg,var(--soft),#fff)}.workflow-section>header>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#fff;color:var(--tone)}.workflow-section>header h2{margin:0;font-size:18px}.workflow-section>header small{display:block;margin-top:3px;color:#68768a}.workflow-section>header>b{min-width:28px;height:28px;display:grid;place-items:center;margin-left:auto;border-radius:15px;background:color-mix(in srgb,var(--tone) 14%,#fff);color:var(--tone)}.workflow-section>header>button{min-height:38px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid color-mix(in srgb,var(--tone) 25%,#dce4ee);border-radius:10px;background:#fff;color:var(--tone)}.workflow-items{display:grid;gap:9px;padding:11px;background:color-mix(in srgb,var(--soft) 42%,#fff)}.workflow-tabs{display:flex;gap:6px}.workflow-tabs button{min-height:36px;padding:0 12px;border:1px solid #ead6da;border-radius:9px;background:#fff;color:#72505a}.workflow-tabs button.is-active{border-color:#cb2942;background:#cb2942;color:#fff}.workflow-item{min-width:0;display:grid;grid-template-columns:minmax(250px,1.25fr) minmax(250px,1fr) auto;align-items:center;gap:13px;padding:11px 13px;border:1px solid #e1e7ef;border-radius:13px;background:#fff;box-shadow:0 3px 12px #283d570b}.workflow-item.print-item{grid-template-columns:minmax(250px,1fr) minmax(220px,.8fr) minmax(320px,1.2fr) auto}.workflow-product{min-width:0;display:flex;align-items:center;gap:10px}.workflow-product>span{min-width:0}.workflow-product strong,.workflow-product small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-product small{margin-top:3px;color:#718095}.workflow-metrics,.order-task-details{display:flex;align-items:center;gap:18px}.workflow-metrics span{display:grid;color:#748095;font-size:11px}.workflow-metrics strong{color:#172235;font-size:16px}.order-task-details span{color:#5d6c80;font-size:12px}.order-task-details strong{margin-left:auto;white-space:nowrap}.workflow-item-actions{display:flex;justify-content:flex-end;align-items:center;gap:7px}.workflow-item-actions button{min-height:38px;display:flex;align-items:center;gap:5px;padding:0 11px;border:1px solid #d8e1eb;border-radius:9px;background:#fff;color:#31506f;font-weight:700}.workflow-item-actions .primary-action{border-color:var(--tone);background:var(--tone);color:#fff}.arranged-label,.approval-pending-label{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:8px;background:#edf8f3;color:#16835c;font-size:11px;font-style:normal;font-weight:750}.arranged-label:before{content:"";width:7px;height:7px;border-radius:50%;background:#19a66f}.thin-timeline{min-width:0;display:grid;gap:5px}.thin-timeline>div{min-width:0;min-height:38px;display:grid;grid-template-columns:9px minmax(0,1fr);align-items:center;gap:8px;padding:5px 9px;border:1px solid #e1e6ed;border-radius:9px;background:#f9fafc}.thin-timeline i{width:7px;height:7px;border-radius:50%}.thin-timeline i.printing{background:#126ec8}.thin-timeline i.production{background:#7551bf}.thin-timeline span{min-width:0;display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:8px;align-items:center;color:#69758a;font-size:11px}.thin-timeline small,.thin-timeline strong,.thin-timeline em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thin-timeline strong{color:#4b586b}.thin-timeline em{color:#37465a;font-style:normal;font-variant-numeric:tabular-nums}.workflow-empty{min-height:82px;display:flex;align-items:center;justify-content:center;gap:8px;color:#13865e}@media(max-width:760px){.workflow-section{border-radius:16px}.workflow-section>header{min-height:62px;padding:10px 12px}.workflow-section>header h2{font-size:16px}.workflow-section>header>button{width:38px;padding:0;font-size:0}.workflow-section>header>button svg{width:19px}.workflow-items{padding:8px}.workflow-item,.workflow-item.print-item{grid-template-columns:1fr auto;padding:11px}.workflow-product,.workflow-metrics,.order-task-details,.thin-timeline{grid-column:1/-1}.workflow-item-actions{grid-column:1/-1;justify-content:stretch}.workflow-item-actions button{flex:1;justify-content:center}.thin-timeline span{grid-template-columns:auto minmax(0,1fr)}.thin-timeline em{grid-column:1/-1}.arranged-label{margin-left:auto}}.back-action{min-height:44px;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:0 14px;line-height:1!important;white-space:nowrap!important;writing-mode:horizontal-tb!important}.back-action svg{width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0!important;transform:none!important}.back-action span{display:inline!important;line-height:1!important;white-space:nowrap!important}.dialog-actions,.ai-upload-footer,.ai-sticky-actions,.stocktake-actions{max-width:100%;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.dialog-actions>.back-action:first-child,.stocktake-actions>.back-action:first-child{margin-right:auto}@media(max-width:760px){.back-action{min-width:0;max-width:100%;padding:0 11px}.ai-upload-footer,.ai-sticky-actions,.stocktake-actions{left:auto!important;right:auto!important;width:100%!important;box-sizing:border-box}}.crystal-home{position:relative;isolation:isolate;overflow:hidden;color:#f5fbff;background:radial-gradient(circle at 15% 12%,#3981ad,#14517b 31%,#0a3559 58%,#061c35);background-size:145% 145%;animation:ocean-gradient-shift 16s ease-in-out infinite alternate}.crystal-home:before{content:"";position:fixed;z-index:-2;inset:0;opacity:.2;background-image:linear-gradient(rgba(173,221,255,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(173,221,255,.1) 1px,transparent 1px);background-size:74px 74px;-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 82%);mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 82%)}.crystal-home:after{content:"";position:fixed;z-index:-2;inset:-18%;pointer-events:none;opacity:.24;background:radial-gradient(ellipse at 20% 30%,rgba(164,222,255,.58),transparent 34%),radial-gradient(ellipse at 72% 68%,rgba(71,157,224,.52),transparent 38%);filter:blur(38px);animation:water-surface-flow 17s ease-in-out infinite alternate}.water-ripple-canvas{position:fixed;z-index:-1;inset:0;pointer-events:none}.water-ambient{position:fixed;z-index:-2;width:62vw;height:62vw;border-radius:50%;filter:blur(68px);opacity:.3;pointer-events:none}.water-ambient-one{left:-22vw;top:10vh;background:#3fb4ff;animation:water-drift-a 13s ease-in-out infinite alternate}.water-ambient-two{right:-25vw;bottom:-32vw;background:#536fe0;animation:water-drift-b 17s ease-in-out infinite alternate}.crystal-home>header{position:relative;z-index:2;border-bottom:1px solid rgba(207,235,255,.22);background:#0519308f;box-shadow:0 12px 34px #010c1c2e;-webkit-backdrop-filter:blur(20px) saturate(145%);backdrop-filter:blur(20px) saturate(145%)}.crystal-home>header .brand{color:#fff}.crystal-home>header .brand strong{font-family:PingFang SC,Microsoft YaHei UI,Segoe UI,sans-serif;font-weight:650;letter-spacing:.08em}.crystal-home>header .brand small{color:#c4e2f2;font-family:Bahnschrift,Segoe UI,sans-serif}.crystal-home>header button{border-color:#cae7fc57;background:#def2ff1c;color:#f5fbff}.crystal-home main{position:relative;z-index:1}.module-home-copy{max-width:790px;padding:20px 0 8px}.crystal-home .eyebrow{color:#d7f3ff;font-family:Bahnschrift,DIN Alternate,Segoe UI,sans-serif;font-size:11px;font-weight:650;letter-spacing:.24em;text-shadow:0 0 20px rgba(108,211,255,.42)}.crystal-home h1{width:max-content;max-width:100%;color:#f8fdff;font-family:PingFang SC,Microsoft YaHei UI,Segoe UI,sans-serif;font-size:clamp(32px,4.2vw,54px);font-weight:650;letter-spacing:.02em;text-shadow:0 3px 18px rgba(1,24,51,.35),0 0 28px rgba(113,209,255,.16)}.crystal-home .module-intro{max-width:670px;color:#d0e7f3;font-family:PingFang SC,Microsoft YaHei UI,sans-serif;font-size:16px;line-height:1.75;letter-spacing:.035em}.crystal-home .module-grid{margin-top:20px;gap:18px;perspective:1100px}.crystal-module-card{position:relative;min-height:156px;overflow:hidden;border:1px solid rgba(229,247,255,.62);border-radius:20px;background:linear-gradient(137deg,#e5f6ff4d,#9accec2b);color:#f7fbff;box-shadow:inset 0 1px #ffffff9e,inset 0 -18px 38px #1242671f,0 17px 44px #000c1c33;-webkit-backdrop-filter:blur(27px) saturate(155%);backdrop-filter:blur(27px) saturate(155%);transform:translateZ(0);transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .25s ease,box-shadow .25s ease,opacity .25s ease,filter .25s ease}.crystal-module-card:before{content:"";position:absolute;inset:1px;border-radius:18px;pointer-events:none;opacity:.3;background:radial-gradient(circle at 18% 18%,rgba(255,255,255,.42),transparent 22%),radial-gradient(circle at 78% 68%,rgba(204,236,255,.24),transparent 30%)}.crystal-module-card>*{position:relative;z-index:1}.crystal-module-card:not(:disabled):hover{transform:translateY(-4px);border-color:#f4fdffe6;box-shadow:inset 0 1px #ffffffb8,0 24px 58px #000f2347}.crystal-module-card .module-icon{background:#d8f1ff38;border:1px solid rgba(236,250,255,.34);color:#b8e7ff;box-shadow:inset 0 1px #ffffff75}.crystal-module-card strong{color:#f7fcff;font-family:PingFang SC,Microsoft YaHei UI,Segoe UI,sans-serif;font-size:20px;font-weight:650;letter-spacing:.025em;text-shadow:0 2px 10px rgba(0,20,42,.22)}.crystal-module-card small{color:#d6e8f2;letter-spacing:.018em}.crystal-module-card em{color:#d3f1ff;font-family:Bahnschrift,Segoe UI,sans-serif;font-weight:650;letter-spacing:.06em}.crystal-module-card.is-planned{opacity:.56;border-color:#b8d5ea4d;filter:saturate(.72)}.crystal-module-card.is-planned .module-icon{color:#a8c0d0}.module-card-glint{position:absolute;z-index:2;top:-35%;left:-18%;width:32%;height:180%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);pointer-events:none;transition:left .65s ease}.crystal-module-card:hover .module-card-glint{left:115%}.crystal-module-card.is-sinking{animation:module-water-entry .94s cubic-bezier(.2,.75,.2,1)}.crystal-home.is-entering .crystal-module-card:not(.is-sinking){opacity:.52}.crystal-home>footer{position:relative;z-index:1;color:#a5bfd2}@keyframes ocean-gradient-shift{0%{background-position:0 0}45%{background-position:38% 28%}to{background-position:72% 58%}}@keyframes water-surface-flow{0%{transform:translate3d(-4%,-3%,0) rotate(-2deg) scale(1)}45%{transform:translate3d(8%,5%,0) rotate(2deg) scale(1.1)}to{transform:translate3d(-1%,12%,0) rotate(-1deg) scale(.96)}}@keyframes water-drift-a{0%{transform:translate3d(-4%,-2%,0) scale(1)}50%{transform:translate3d(18%,12%,0) scale(1.12)}to{transform:translate3d(5%,28%,0) scale(.92)}}@keyframes water-drift-b{0%{transform:translate3d(6%,10%,0) scale(.92)}50%{transform:translate3d(-24%,-10%,0) scale(1.1)}to{transform:translate3d(-8%,-28%,0) scale(1)}}@keyframes module-water-entry{0%{transform:none}35%{transform:scale(.93) translateY(12px);filter:brightness(.74)}70%{transform:scale(.98) translateY(-3px)}to{transform:none}}@media(max-width:760px){.crystal-home{min-height:100dvh}.crystal-home>header{background:#051930a3}.crystal-home main{width:calc(100% - 28px);padding:24px 0 30px}.module-home-copy{padding:10px 3px 2px}.crystal-home h1{font-size:30px}.crystal-home .module-intro{margin-bottom:18px;font-size:14px}.crystal-home .module-grid{gap:12px}.crystal-module-card{min-height:122px;border-radius:17px;padding:17px}}@media(prefers-reduced-motion:reduce){.water-ripple-canvas,.module-card-glint{display:none}.crystal-home,.crystal-home:after,.water-ambient{animation:none}.crystal-module-card{transition-duration:.15s}.crystal-module-card.is-sinking{animation:none;opacity:.72}.crystal-module-card:not(:disabled):hover{transform:none}}.crystal-module-card.is-planned{background:linear-gradient(137deg,#add1e824,#538bb517)!important;color:#b5cad9!important}.crystal-module-card.is-planned .module-icon{background:#b5d8ee1a!important;color:#a8c0d0!important}.crystal-module-card.is-planned strong,.crystal-module-card.is-planned small,.crystal-module-card.is-planned em{color:#b5cad9!important}.guided-tour{position:fixed;inset:0;z-index:320;overflow:hidden;overscroll-behavior:contain;touch-action:none;background:#07111f29}.tour-spotlight{position:fixed;z-index:321;border:2px solid #6bb6ff;border-radius:13px;box-shadow:0 0 0 9999px #050e1b9e,0 0 0 6px #53a4f52e;pointer-events:none;transition:left .2s ease,top .2s ease,width .2s ease,height .2s ease}.tour-card{position:fixed;z-index:322;width:370px;display:flex;flex-direction:column;overflow:hidden;padding:0;border:1px solid rgba(255,255,255,.92);border-radius:20px;background:#fff;box-shadow:0 26px 80px #02142c4d}.tour-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 8px}.tour-card-header>small{color:var(--brand);font-weight:750}.tour-skip{position:static!important;min-height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:0 9px!important;border:1px solid #d5dfeb!important;border-radius:9px!important;background:#f7f9fc!important;color:#38506b!important;font-size:12px!important;font-weight:650!important}.tour-skip svg{width:16px;height:16px}.tour-card-scroll{min-height:0;overflow-y:auto;padding:0 16px 9px}.tour-card h2{margin:5px 0 8px;color:#142238;font-size:24px;line-height:1.25}.tour-card p{margin:0;color:#526174;line-height:1.65}.tour-formula-demo{display:grid;gap:6px;margin-top:12px}.tour-formula-demo span{padding:7px 9px;border:1px solid #d8e5f2;border-radius:9px;background:#f6f9fd;color:#35506d;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}.tour-formula-demo b{margin-right:6px;color:var(--brand)}.tour-card .tutorial-progress{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;margin:13px 0 2px}.tour-card .tutorial-progress span{width:auto;height:4px;border-radius:4px;background:#dce4ed}.tour-card .tutorial-progress span.active{background:var(--brand)}.tour-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px 16px;border-top:1px solid #e4eaf1}.tour-card footer button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 14px;border-radius:10px;font-size:14px;font-weight:700;line-height:1;white-space:nowrap}.tour-card footer button svg{width:18px;height:18px;flex:0 0 18px}.tour-back{border:1px solid #cbd9e8;background:#fff;color:var(--brand)}.tour-back:disabled{border-color:#e2e7ed;background:#f8fafc;color:#aab5c2;opacity:1}.tour-next{margin-left:auto;border:1px solid var(--brand)!important;background:var(--brand)!important;color:#fff!important;box-shadow:0 7px 18px #005fbe33}.tour-next:hover,.tour-next:focus-visible{background:var(--brand-strong)!important;color:#fff!important}@media(max-width:760px){.tour-card{width:auto;max-height:34dvh;border-radius:18px}.tour-card-header{padding:10px 13px 5px}.tour-card-scroll{padding:0 13px 6px}.tour-card h2{font-size:20px;margin:4px 0 5px}.tour-card p{font-size:13px;line-height:1.55}.tour-formula-demo{margin-top:8px}.tour-formula-demo span{padding:5px 7px;font-size:10px}.tour-card .tutorial-progress{gap:3px;margin:8px 0 1px}.tour-card footer{padding:8px 13px max(10px,env(safe-area-inset-bottom))}.tour-card footer button{min-height:44px;padding:0 11px}.tour-skip{min-height:32px!important}}@media(prefers-reduced-motion:reduce){.tour-spotlight{transition:none}.tour-card{scroll-behavior:auto}}@media(max-width:760px){.tour-card.tour-card-top{top:12px!important;bottom:auto!important}.tour-card.tour-card-bottom{top:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important}}
