:root{--surface:#fff;--surface-subtle:#f8fafc;--surface-hover:#f1f5f9;--canvas:#f8fafc;--ink:#0f172a;--ink-secondary:#334155;--ink-muted:#64748b;--line:#e2e8f0;--line-subtle:#f1f5f9;--primary:#0f766e;--primary-hover:#115e59;--primary-light:#f0fdfa;--primary-border:#99f6e4;--radius-sm:4px;--radius:6px;--radius-lg:10px;--radius-xl:14px;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--shadow-xs:0 1px 2px 0 #0000000a;--shadow-sm:0 1px 3px 0 #0000000d, 0 1px 2px -1px #0000000d;--shadow-md:0 4px 6px -1px #0000000d, 0 2px 4px -2px #0000000d;--shadow-lg:0 10px 15px -3px #0000000f, 0 4px 6px -4px #0000000f}*{box-sizing:border-box}html,body{background:var(--canvas);min-width:320px;min-height:100%;color:var(--ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,PingFang SC,Microsoft YaHei,sans-serif;overflow-x:hidden}.skip-link{z-index:1000;border-radius:var(--radius);color:var(--primary);box-shadow:var(--shadow-lg);background:#fff;padding:6px 12px;font-size:12px;font-weight:500;transition:transform .2s;position:fixed;top:8px;left:8px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}button,a,[role=button]{-webkit-tap-highlight-color:transparent}.app-shell{background:var(--canvas);min-height:100dvh;overflow-x:clip}.app-sider{border-right:1px solid var(--line-subtle);flex-direction:column;height:100dvh;top:0;overflow:hidden auto;background:#fff!important;display:flex!important;position:sticky!important}.app-sider .ant-layout-sider-children{flex-direction:column;height:100%;display:flex}.brand{height:56px;color:var(--ink);white-space:nowrap;border-bottom:1px solid var(--line-subtle);align-items:center;gap:10px;padding:0 16px;text-decoration:none;transition:opacity .15s;display:flex}.brand:hover{color:var(--ink);opacity:.85}.brand-mark{border-radius:var(--radius);color:#fff;background:linear-gradient(135deg,#0f766e 0%,#0284c7 100%);flex:0 0 32px;place-items:center;width:32px;height:32px;font-size:16px;display:grid;box-shadow:0 2px 6px #0f766e40}.brand-copy{flex-direction:column;min-width:0;line-height:1.2;display:flex}.brand-copy strong{letter-spacing:-.2px;color:var(--ink);font-size:14px;font-weight:700}.brand-copy small{color:var(--ink-muted);margin-top:1px;font-size:11px}.sider-nav-wrap{flex:1;padding-top:10px}.sider-footer{border-top:1px solid var(--line-subtle);justify-content:flex-end;align-items:center;margin-top:auto;padding:10px 14px;display:flex}.sider-toggle{justify-content:center;align-items:center;border-radius:var(--radius)!important;width:32px!important;height:32px!important;color:var(--ink-muted)!important;transition:all .15s!important;display:flex!important}.sider-toggle:hover{background:var(--surface-hover)!important;color:var(--ink)!important}.app-header{border-bottom:1px solid var(--line-subtle);-webkit-backdrop-filter:blur(8px);height:56px;color:var(--ink-secondary);z-index:10;justify-content:space-between;align-items:center;padding:0 24px;font-size:13px;display:flex;position:sticky;top:0;box-shadow:0 1px 2px #00000005;background:#fffffff5!important;line-height:normal!important}.header-left{align-items:center;gap:8px;display:flex}.header-mobile-brand{display:none}.header-breadcrumb{color:var(--ink-muted);align-items:center;gap:6px;font-size:13px;font-weight:500;display:flex}.header-breadcrumb .divider{color:#cbd5e1;font-size:12px}.header-breadcrumb .current{color:var(--ink);font-weight:600}.app-header-actions{align-items:center;gap:10px;display:flex}.environment-badge{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9999px;align-items:center;gap:5px;height:24px;padding:0 8px;font-size:11px;font-weight:500;line-height:1;display:inline-flex}.environment-badge .dot{background:#10b981;border-radius:50%;width:6px;height:6px}.current-user{border-radius:var(--radius);border:1px solid var(--line);height:32px;color:var(--ink);background:#fff;align-items:center;gap:6px;padding:0 8px;font-size:12px;font-weight:500;text-decoration:none;transition:all .15s;display:inline-flex}.current-user:hover{color:var(--primary);background:#f8fafc;border-color:#cbd5e1}.current-user-avatar{background:var(--primary-light);width:20px;height:20px;color:var(--primary);border-radius:50%;place-items:center;font-size:11px;font-weight:700;display:grid}.current-user-name{font-weight:600}.current-user-role{color:#64748b;background:#f1f5f9;border-radius:3px;padding:1px 5px;font-size:10px;font-weight:500}.header-icon-link{border-radius:var(--radius);border:1px solid var(--line);width:32px;height:32px;color:var(--ink-muted);background:#fff;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.header-icon-link:hover{color:var(--ink);background:#f8fafc;border-color:#cbd5e1}.logout-form{margin:0;display:flex}.header-logout-btn{justify-content:center;align-items:center;border-radius:var(--radius)!important;border:1px solid var(--line)!important;width:32px!important;height:32px!important;color:var(--ink-muted)!important;background:#fff!important;transition:all .15s!important;display:inline-flex!important}.header-logout-btn:hover{color:#dc2626!important;background:#fef2f2!important;border-color:#fecaca!important}.app-content{width:100%;min-width:0;max-width:1360px;margin:0 auto;padding:24px 28px 40px}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-header h1{color:var(--ink);letter-spacing:-.3px;margin:0;font-size:20px;font-weight:700;line-height:1.3}.page-header p{max-width:64ch;color:var(--ink-muted);margin:4px 0 0;font-size:13px;line-height:1.5}.back-button{margin:-6px 0 6px -6px;color:var(--ink-muted)!important;padding-left:6px!important;font-size:13px!important}.back-button:hover{color:var(--primary)!important}.unsaved-label{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:9999px;align-items:center;margin-left:8px;padding:1px 6px;font-size:11px;font-weight:500;display:inline-flex}.page-actions,.toolbar,.toolbar-group{align-items:center;gap:8px;display:flex}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.parts-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-xs);flex-direction:column;justify-content:space-between;padding:14px 16px;transition:all .15s cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden}.stat-card:hover{box-shadow:var(--shadow-sm);border-color:#cbd5e1;transform:translateY(-1px)}.stat-card-header{color:var(--ink-muted);justify-content:space-between;align-items:center;font-size:12px;font-weight:500;display:flex}.stat-card-icon{border-radius:var(--radius-sm);flex-shrink:0;place-items:center;width:26px;height:26px;font-size:13px;display:grid}.stat-card-icon.primary{color:#0f766e;background:#f0fdfa}.stat-card-icon.success{color:#059669;background:#ecfdf5}.stat-card-icon.warning{color:#d97706;background:#fffbeb}.stat-card-icon.info{color:#0284c7;background:#f0f9ff}.stat-card-value{color:var(--ink);font-size:22px;font-weight:700;line-height:1.2;font-family:var(--font-mono);font-variant-numeric:tabular-nums;letter-spacing:-.3px;margin-top:8px}.stat-card-desc{color:#94a3b8;margin-top:4px;font-size:11px}.toolbar{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:14px}.data-surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-xs);overflow:hidden}.data-surface .ant-table-wrapper{overflow:hidden}.ant-table-thead>tr>th{color:#475569!important;background:#f8fafc!important;padding:10px 14px!important;font-size:12px!important;font-weight:600!important}.ant-table-tbody>tr>td{font-size:13px;padding:11px 14px!important}.sheet-number{font-family:var(--font-mono);font-variant-numeric:tabular-nums;color:#0f766e;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:4px;padding:2px 6px;font-size:12px;font-weight:600;text-decoration:none;transition:all .15s}.sheet-number:hover{color:#115e59;background:#ccfbf1;border-color:#99f6e4}.numeric,.money{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.money{color:#0f172a;font-weight:600}.secondary-text{color:var(--ink-muted);font-size:12px}.status-badge{border-radius:9999px;align-items:center;gap:5px;padding:2px 7px;font-size:11px;font-weight:500;line-height:1.2;display:inline-flex}.status-badge .dot{border-radius:50%;flex-shrink:0;width:5px;height:5px}.status-badge.is-completed{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.status-badge.is-completed .dot{background:#10b981}.status-badge.is-draft{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.status-badge.is-draft .dot{background:#f59e0b}.parts-toolbar-meta{color:var(--ink-muted);white-space:nowrap;font-size:12px;font-weight:500}.parts-grouped-surface,.parts-grouped-table{min-width:0}.part-variant-row{grid-template-columns:minmax(180px,1fr) minmax(150px,220px) 128px;align-items:center;column-gap:24px;display:grid}.parts-groups-list{gap:16px;display:grid}.part-group-panel{border-radius:var(--radius);background:var(--surface);border:1px solid #d7e1eb;position:relative;overflow:hidden;box-shadow:0 1px 2px #0f172a0a}.part-group-panel:before{z-index:1;background:var(--primary);content:"";width:3px;position:absolute;top:0;bottom:0;left:0}.part-group-heading{background:#f8fafc;border-bottom:1px solid #d7e1eb;padding:13px 18px 13px 20px}.part-group-cell{justify-content:space-between;align-items:center;gap:16px;display:flex}.part-group-main{align-items:center;gap:18px;min-width:0;display:flex}.part-name-header{align-items:center;gap:6px;display:flex}.part-group-name{color:var(--ink);font-size:14px;font-weight:700}.part-group-badge{color:#475569;background:#f1f5f9;border-radius:4px;padding:1px 6px;font-size:11px;font-weight:500;display:inline-flex}.part-group-unit{border-left:1px solid #dbe4ec;align-items:center;gap:7px;padding-left:18px;display:inline-flex}.part-group-unit-label{color:var(--ink-muted);font-size:11px;font-weight:500}.part-group-actions{flex:none;align-items:center;gap:2px;display:flex}.part-group-edit{height:28px!important;color:var(--ink-secondary)!important;padding-inline:7px!important;font-size:12px!important}.part-group-add{flex:none;font-weight:500;height:28px!important;color:var(--primary)!important;margin:0!important;padding-inline:6px!important;font-size:12px!important}.part-variant-row{min-height:56px;padding:0 18px 0 20px}.part-variant-row+.part-variant-row{border-top:1px solid #e2e8f0}.part-variant-cell{min-width:0}.part-variant-spec,.part-variant-price,.part-variant-actions{align-items:center;display:flex}.part-variant-spec,.part-variant-price{gap:6px}.part-variant-price,.part-variant-actions{justify-content:flex-end}.part-variant-actions{border-left:1px solid #edf1f5;justify-content:flex-end;padding-left:16px;display:flex}.parts-empty{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:48px 20px}.spec-pill{color:#0f766e;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:4px;padding:2px 8px;font-size:12px;font-weight:600;display:inline-flex}.unit-pill{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:1px 7px;font-size:12px;font-weight:500;display:inline-flex}.price-highlight{font-size:13px}.price-symbol{color:#64748b;margin-right:2px;font-size:11px}.part-variant-label{color:var(--ink-muted);white-space:nowrap;font-size:11px;font-weight:500}.sheet-title-cell{flex-direction:column;display:flex}.sheet-title-text{color:var(--ink);font-size:13px;font-weight:600}.mobile-label,.mobile-btn-text{display:none}.part-form-context{border-radius:var(--radius);background:#f8fafc;border:1px solid #dbe4ec;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:10px 12px;display:flex}.part-form-context-unit{color:var(--ink-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.loading-surface{margin-top:20px;padding:20px}.empty-action{margin-top:12px}.editor-surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow-xs);padding:20px}.sheet-editor-table{min-width:0}.sheet-editor-row{scroll-margin-top:124px}.sheet-editor-mobile-label,.sheet-editor-part-meta,.sheet-editor-row-title,.sheet-editor-mobile-total{display:none}.editor-card-header{border-bottom:1px solid var(--line-subtle);justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:10px;display:flex}.editor-card-title{color:var(--ink);margin:0;font-size:15px;font-weight:600}.editor-meta{grid-template-columns:minmax(280px,2fr) minmax(180px,1fr);gap:16px;margin-bottom:20px;display:grid}.editor-meta .footer-field{grid-column:1/-1;min-width:0;padding-bottom:24px}.field-label{color:var(--ink-secondary);margin-bottom:6px;font-size:12px;font-weight:500;display:block}.required-mark{color:#ef4444;margin-left:3px}.editor-table-header{justify-content:space-between;align-items:center;gap:12px;margin:6px 0 12px;display:flex}.editor-table-header h2{color:var(--ink);margin:0;font-size:15px;font-weight:600}.editor-table-title{align-items:center;gap:8px;display:flex}.editor-table-title>span{background:var(--surface-hover);color:var(--ink-muted);border-radius:9999px;padding:2px 7px;font-size:11px;font-weight:600}.readonly-cell{min-height:24px;color:var(--ink-secondary);font-size:12px;line-height:24px;display:block}.cell-error{color:#ef4444;margin-top:3px;font-size:11px;line-height:1.3;display:block}.table-summary-label{text-align:right;color:var(--ink);font-size:13px;font-weight:600}.table-summary-value{color:var(--primary);font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:16px;font-weight:700}.editor-actions{border-top:1px solid var(--line);background:var(--surface-subtle);border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius);justify-content:flex-end;gap:8px;margin:20px -20px -20px;padding:12px 20px;display:flex}.editor-mobile-add-action{display:none!important}.auth-shell,.auth-content,.auth-page{min-height:100dvh}.auth-shell{background:radial-gradient(circle at 50% 10%,#f0fdfa 0%,#f8fafc 60%,#f1f5f9 100%)}.auth-page{place-items:center;padding:32px 16px;display:grid}.auth-panel{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:min(100%,400px);padding:32px 28px;box-shadow:0 10px 25px -5px #0f172a14,0 0 1px 1px #0f172a0a}.auth-brand{border-radius:var(--radius);color:#fff;background:linear-gradient(135deg,#0f766e 0%,#0284c7 100%);place-items:center;width:44px;height:44px;margin-bottom:20px;font-size:20px;display:grid;box-shadow:0 2px 8px #0f766e4d}.auth-heading{margin-bottom:24px}.auth-kicker{color:var(--primary);letter-spacing:.5px;align-items:center;gap:5px;font-size:11px;font-weight:600;display:inline-flex}.auth-heading h1{letter-spacing:-.3px;color:var(--ink);margin:6px 0 0;font-size:20px;font-weight:700;line-height:1.3}.auth-heading p{color:var(--ink-muted);margin:4px 0 0;font-size:12px}.auth-form,.account-form{gap:16px;display:grid}.auth-form .ant-alert,.account-form .ant-alert{margin-bottom:4px}.account-surface{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);max-width:720px;box-shadow:var(--shadow-xs);overflow:hidden}.account-identity{border-bottom:1px solid var(--line);background:var(--surface-subtle);grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:20px;display:grid}.account-identity div{min-width:0}.account-identity dt{color:var(--ink-muted);margin-bottom:4px;font-size:11px;font-weight:500}.account-identity dd{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:600;overflow:hidden}.account-form{max-width:440px;padding:24px 20px 28px}.field-hint{color:var(--ink-muted);margin-top:4px;font-size:11px;display:block}.ant-btn{transition:all .15s cubic-bezier(.4,0,.2,1)!important}.ant-btn-primary{background:#0f766e!important;border-color:#0f766e!important}.ant-btn-primary:hover{background:#115e59!important;border-color:#115e59!important}@media (min-width:768px){.mobile-tabbar{display:none!important}.editor-table-header{z-index:8;border-bottom:1px solid var(--line-subtle);-webkit-backdrop-filter:blur(8px);background:#fffffff5;padding:8px 0;position:sticky;top:68px}}@media (max-width:767px){.app-sider{display:none!important}.app-header{justify-content:space-between!important;height:52px!important;padding-left:14px!important;padding-right:14px!important}.header-breadcrumb,.environment-label,.environment-badge,.current-user-name,.current-user-role{display:none!important}.header-mobile-brand{align-items:center;gap:8px;display:flex!important}.header-mobile-brand .brand-mark{border-radius:5px;width:28px;height:28px;font-size:14px}.header-mobile-title{color:var(--ink);font-size:15px;font-weight:700}.app-content{padding:14px 12px calc(72px + env(safe-area-inset-bottom,0px))!important;width:100%!important;max-width:100%!important;margin:0!important}.app-content.app-content-sheet-editor{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}.mobile-tabbar{z-index:100!important;height:calc(54px + env(safe-area-inset-bottom,0px))!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;-webkit-backdrop-filter:blur(12px)!important;border-top:1px solid var(--line)!important;background:#fffffff5!important;justify-content:space-around!important;align-items:center!important;display:flex!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;box-shadow:0 -2px 10px #0000000a!important}.mobile-tab-item{height:100%;color:var(--ink-muted);-webkit-tap-highlight-color:transparent;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:10px;font-weight:500;text-decoration:none;transition:color .15s;display:flex}.mobile-tab-item.is-active{color:var(--primary);font-weight:600}.mobile-tab-item .tab-icon{font-size:18px}.stat-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important;margin-bottom:12px!important}.stat-card{border-radius:8px!important;padding:10px 12px!important}.stat-card-header{font-size:11px!important}.stat-card-icon{border-radius:4px!important;width:22px!important;height:22px!important;font-size:11px!important}.stat-card-value{margin-top:4px!important;font-size:18px!important}.stat-card-desc{display:none!important}.page-header{flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin-bottom:14px!important}.page-header h1{font-size:18px!important}.page-actions{gap:8px!important;display:flex!important}.page-actions>*{flex:1!important}.page-actions button{width:100%!important;height:40px!important}.toolbar{flex-direction:column!important;align-items:stretch!important;gap:8px!important;margin-bottom:12px!important}.toolbar-group{gap:8px!important;width:100%!important}.toolbar-group input,.toolbar-group .ant-input-affix-wrapper{flex:1!important;width:auto!important;height:38px!important}.toolbar-group .ant-select{width:105px!important;height:38px!important}.toolbar>a{width:100%!important}.toolbar>a button{width:100%!important;height:40px!important}.parts-toolbar-actions{justify-content:space-between!important}.mobile-label{color:var(--ink-muted)!important;margin-right:4px!important;font-size:11px!important;font-weight:400!important;display:inline-block!important}.mobile-btn-text{margin-left:2px!important;font-size:12px!important;display:inline!important}.data-surface{box-shadow:none!important;background:0 0!important;border:none!important;border-radius:0!important}.sheets-table .ant-table{background:0 0!important}.sheets-table .ant-table-container,.sheets-table .ant-table-content{overflow:visible!important}.sheets-table table{table-layout:auto!important;width:100%!important;min-width:100%!important;display:block!important}.ant-table-cell-fix-right{box-shadow:none!important;position:static!important;right:auto!important}.sheets-table .ant-table-thead{border:1px solid var(--line)!important;border-radius:var(--radius)!important;background:#f1f5f9!important;width:100%!important;margin-bottom:12px!important;padding:7px 12px!important;display:flex!important}.sheets-table .ant-table-thead>tr{justify-content:space-between!important;align-items:center!important;width:100%!important;display:flex!important}.sheets-table .ant-table-thead>tr>th{color:var(--ink-muted)!important;background:0 0!important;border:none!important;padding:0!important;font-size:11px!important;font-weight:600!important;display:inline-flex!important}.sheets-table .ant-table-thead>tr>th:before{display:none!important}.sheets-table .ant-table-tbody{flex-direction:column!important;gap:12px!important;width:100%!important;display:flex!important}.sheets-table tr.ant-table-measure-row,.ant-table-measure-row{height:0!important;box-shadow:none!important;border:none!important;margin:0!important;padding:0!important;display:none!important}.parts-groups-list{gap:14px}.part-group-panel{border-radius:var(--radius);border-color:#cfdbe7}.part-group-heading{padding:11px 12px 11px 15px}.part-group-cell{align-items:center;gap:8px}.part-group-main{flex-direction:column;align-items:flex-start;gap:6px}.part-group-unit{border-left:0;gap:6px;padding-left:0}.part-group-actions{gap:0}.part-group-edit{width:30px;padding-inline:0!important}.part-group-action-text{display:none}.part-variant-row{grid-template-columns:minmax(74px,auto) minmax(90px,1fr) auto;grid-template-areas:"spec price actions";gap:8px;min-height:0;padding:10px 12px 10px 15px}.part-variant-spec{white-space:nowrap;grid-area:spec}.part-variant-price{text-align:left;white-space:nowrap;background:0 0;border:0;grid-area:price;justify-content:flex-end;gap:4px;padding:0}.part-variant-actions{border-left:1px solid #edf1f5;grid-area:actions;align-self:center;padding-left:8px}.sheets-table tbody>tr:not(.ant-table-measure-row){border:1px solid var(--line)!important;border-radius:var(--radius-lg)!important;background:#fff!important;grid-template-columns:1fr auto!important;grid-template-areas:"sheetno status""title title""total updated""actions actions"!important;gap:8px 10px!important;margin:0!important;padding:14px 16px!important;display:grid!important;box-shadow:0 1px 3px #0000000a,0 1px 2px #00000005!important}.sheets-table td.col-sheet-no{background:0 0!important;border:none!important;grid-area:sheetno!important;padding:0!important}.sheets-table td.col-sheet-status{background:0 0!important;border:none!important;grid-area:status!important;justify-content:flex-end!important;align-items:flex-start!important;padding:0!important;display:flex!important}.sheets-table td.col-sheet-title{background:0 0!important;border:none!important;grid-area:title!important;padding:4px 0!important}.sheets-table td.col-sheet-total{background:#f0fdfa!important;border:1px solid #ccfbf1!important;border-radius:6px!important;grid-area:total!important;align-items:center!important;padding:6px 10px!important;display:flex!important}.sheets-table td.col-sheet-updated{background:0 0!important;border:none!important;grid-area:updated!important;justify-content:flex-end!important;align-items:center!important;padding:0!important;display:flex!important}.sheets-table td.col-sheet-actions{border:none!important;border-top:1px solid var(--line-subtle)!important;background:0 0!important;grid-area:actions!important;justify-content:flex-end!important;align-items:center!important;padding:10px 0 0!important;display:flex!important}.part-action-btn,.sheet-action-btn{border:1px solid var(--line)!important;border-radius:var(--radius)!important;height:32px!important;color:var(--ink-secondary)!important;background:#fff!important;justify-content:center!important;align-items:center!important;padding:0 10px!important;font-size:12px!important;display:inline-flex!important}.part-action-btn.danger,.sheet-action-btn.danger{color:#dc2626!important;background:#fef2f2!important;border-color:#fee2e2!important}.part-variant-actions .part-action-btn{width:32px!important;padding:0!important}.part-variant-actions .mobile-btn-text{display:none!important}.editor-surface{box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;padding:0!important}.editor-card-header{border-bottom:0!important;margin-bottom:8px!important;padding-bottom:0!important}.editor-meta{border:1px solid var(--line)!important;border-radius:var(--radius)!important;background:var(--surface)!important;box-shadow:var(--shadow-xs)!important;grid-template-columns:1fr!important;gap:12px!important;margin-bottom:16px!important;padding:14px!important}.editor-meta .footer-field{grid-column:auto!important}.editor-table-header{min-width:0;margin:0 0 10px!important;position:static!important}.editor-table-header>button{display:none!important}.sheet-editor-row{scroll-margin-top:64px}.sheet-editor-table,.sheet-editor-table .ant-spin-nested-loading,.sheet-editor-table .ant-spin-container,.sheet-editor-table .ant-table,.sheet-editor-table .ant-table-container,.sheet-editor-table .ant-table-content,.sheet-editor-table .ant-table-body{width:100%!important;min-width:0!important}.sheet-editor-table .ant-table{background:0 0!important}.sheet-editor-table .ant-table-container,.sheet-editor-table .ant-table-content,.sheet-editor-table .ant-table-body{overflow:visible!important}.sheet-editor-table .ant-table-container:before,.sheet-editor-table .ant-table-container:after,.sheet-editor-table .ant-table-cell-fix-right:after{display:none!important}.sheet-editor-table table{table-layout:auto!important;width:100%!important;min-width:0!important;display:block!important}.sheet-editor-table colgroup,.sheet-editor-table .ant-table-thead,.sheet-editor-table .ant-table-summary{display:none!important}.sheet-editor-table .ant-table-tbody{gap:12px!important;width:100%!important;display:grid!important}.sheet-editor-table .ant-table-tbody>tr.sheet-editor-row{border-radius:var(--radius)!important;background:var(--surface)!important;width:100%!important;min-width:0!important;box-shadow:var(--shadow-xs)!important;border:1px solid #cfdbe7!important;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)!important;grid-template-areas:"actions actions""date type""location location""part part""quantity total"!important;gap:11px 10px!important;margin:0!important;padding:12px!important;display:grid!important}.sheet-editor-table .ant-table-tbody>tr.sheet-editor-row>td{background:0 0!important;border:0!important;width:auto!important;min-width:0!important;padding:0!important;display:block!important}.sheet-editor-table td.sheet-editor-col-date{grid-area:date}.sheet-editor-table td.sheet-editor-col-type{grid-area:type}.sheet-editor-table td.sheet-editor-col-location{grid-area:location}.sheet-editor-table td.sheet-editor-col-part{grid-area:part}.sheet-editor-table td.sheet-editor-col-quantity{grid-area:quantity}.sheet-editor-table td.sheet-editor-col-total{grid-area:total}.sheet-editor-table td.sheet-editor-col-actions{grid-area:actions;z-index:auto!important;box-shadow:none!important;position:static!important;right:auto!important}.sheet-editor-table .ant-table-tbody>tr.sheet-editor-row>td.sheet-editor-col-horsepower,.sheet-editor-table .ant-table-tbody>tr.sheet-editor-row>td.sheet-editor-col-unit,.sheet-editor-table .ant-table-tbody>tr.sheet-editor-row>td.sheet-editor-col-unit-price{display:none!important}.sheet-editor-field,.sheet-editor-table .ant-input,.sheet-editor-table .ant-picker,.sheet-editor-table .ant-select,.sheet-editor-table .ant-input-number{width:100%!important;min-width:0!important;max-width:100%!important}.sheet-editor-table .ant-picker-input,.sheet-editor-table .ant-picker-input>input{min-width:0!important}.sheet-editor-mobile-label{color:var(--ink-muted);margin-bottom:5px;font-size:11px;font-weight:600;display:block}.sheet-editor-part-meta{border:1px solid var(--line-subtle);background:var(--surface-subtle);border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:8px;padding:8px 0;display:grid}.sheet-editor-part-meta>span{flex-direction:column;align-items:center;gap:2px;min-width:0;padding:0 8px;display:flex}.sheet-editor-part-meta>span+span{border-left:1px solid var(--line)}.sheet-editor-part-meta small{color:var(--ink-muted);font-size:10px}.sheet-editor-part-meta strong{max-width:100%;color:var(--ink-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.sheet-editor-row-actions{border-bottom:1px solid var(--line-subtle);justify-content:space-between;align-items:center;min-height:32px;padding-bottom:8px;display:flex}.sheet-editor-row-title{color:var(--ink);font-size:13px;font-weight:600;display:inline}.sheet-editor-row-actions .ant-btn{background:#fff;border:1px solid #fee2e2;border-radius:6px;width:34px;height:34px}.sheet-editor-line-total{min-height:40px;color:var(--primary);background:#f0fdfa;border:1px solid #ccfbf1;border-radius:6px;justify-content:flex-end;align-items:center;padding:0 10px;font-size:14px;font-weight:700;display:flex}.sheet-editor-table .ant-table-placeholder{border:1px dashed var(--line)!important;border-radius:var(--radius)!important;background:var(--surface)!important;padding:20px 12px!important;display:block!important}.sheet-editor-table .ant-table-placeholder>td{border:0!important;padding:0!important;display:block!important}.sheet-editor-mobile-total{border-radius:var(--radius);color:var(--ink-secondary);background:#f0fdfa;border:1px solid #99f6e4;justify-content:space-between;align-items:center;margin-top:12px;padding:11px 12px;font-size:12px;display:flex}.sheet-editor-mobile-total strong{color:var(--primary);font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:16px}.editor-actions{z-index:100!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;border:0!important;border-top:1px solid var(--line)!important;-webkit-backdrop-filter:blur(12px)!important;background:#fffffff5!important;border-radius:0!important;gap:8px!important;margin:0!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;box-shadow:0 -4px 14px #0f172a14!important}.editor-actions button{flex:1!important;width:100%!important;height:44px!important}.editor-actions .editor-cancel-action{display:none!important}.editor-actions .editor-mobile-add-action{display:inline-flex!important}.sheet-editor-page-save-action{display:none!important}.auth-page{padding:20px 12px!important}.auth-panel{padding:24px 16px!important}.account-identity{grid-template-columns:1fr!important;gap:10px!important;padding:14px!important}.account-form{max-width:100%!important;padding:16px 14px!important}.account-form button{width:100%!important;height:42px!important}input,select,textarea,.ant-input,.ant-input-number-input,.ant-select-selection-item,.ant-select-selection-placeholder{font-size:16px!important}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
