@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/be-vietnam-pro-vietnamese-400-normal-CRcqvyg1.woff2) format("woff2"),url(/assets/be-vietnam-pro-vietnamese-400-normal-BuGn0gnm.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/be-vietnam-pro-latin-ext-400-normal-CiZNW1ec.woff2) format("woff2"),url(/assets/be-vietnam-pro-latin-ext-400-normal-DYBYyMQr.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/be-vietnam-pro-latin-400-normal-PpnXBOrz.woff2) format("woff2"),url(/assets/be-vietnam-pro-latin-400-normal-bXgqVju9.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/be-vietnam-pro-vietnamese-500-normal-DREgrEoJ.woff2) format("woff2"),url(/assets/be-vietnam-pro-vietnamese-500-normal-CfdwVo8-.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/be-vietnam-pro-latin-ext-500-normal-h0Fp6aX0.woff2) format("woff2"),url(/assets/be-vietnam-pro-latin-ext-500-normal-CK0UkkKf.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/be-vietnam-pro-latin-500-normal-B6LVzGNe.woff2) format("woff2"),url(/assets/be-vietnam-pro-latin-500-normal-BJkVuMHw.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/be-vietnam-pro-vietnamese-600-normal-nyU-ZL2p.woff2) format("woff2"),url(/assets/be-vietnam-pro-vietnamese-600-normal-DkpCIyan.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/be-vietnam-pro-latin-ext-600-normal-BNd8euf0.woff2) format("woff2"),url(/assets/be-vietnam-pro-latin-ext-600-normal-BeUwKxhG.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/be-vietnam-pro-latin-600-normal-BZDkUTrt.woff2) format("woff2"),url(/assets/be-vietnam-pro-latin-600-normal-5IO4e7bK.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/be-vietnam-pro-vietnamese-700-normal-Csr0PCuG.woff2) format("woff2"),url(/assets/be-vietnam-pro-vietnamese-700-normal-By_5yT39.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/be-vietnam-pro-latin-ext-700-normal-C8_gqRu2.woff2) format("woff2"),url(/assets/be-vietnam-pro-latin-ext-700-normal-4Hjo2OtD.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/be-vietnam-pro-latin-700-normal-DlW1Zbsh.woff2) format("woff2"),url(/assets/be-vietnam-pro-latin-700-normal-C2EtzaOi.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lora;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/lora-cyrillic-ext-600-normal-CYLe3Bq4.woff2) format("woff2"),url(/assets/lora-cyrillic-ext-600-normal-BobJ8QCm.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Lora;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/lora-cyrillic-600-normal-DuzuWObJ.woff2) format("woff2"),url(/assets/lora-cyrillic-600-normal-j6UMqgXb.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Lora;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/lora-math-600-normal-B9Wi-uy2.woff2) format("woff2"),url(/assets/lora-math-600-normal-soY6uGQW.woff) format("woff");unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}@font-face{font-family:Lora;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/lora-symbols-600-normal-DaMEG5Dn.woff2) format("woff2"),url(/assets/lora-symbols-600-normal-CURAubwP.woff) format("woff");unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF}@font-face{font-family:Lora;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/lora-vietnamese-600-normal-B_IFhWKN.woff2) format("woff2"),url(/assets/lora-vietnamese-600-normal-BnEhOXH8.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Lora;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/lora-latin-ext-600-normal-CURVZmIT.woff2) format("woff2"),url(/assets/lora-latin-ext-600-normal-BX8pxmH4.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lora;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/lora-latin-600-normal-B-3RcLOQ.woff2) format("woff2"),url(/assets/lora-latin-600-normal-Dc3EneHn.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.ui-table-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--table-border);border-radius:var(--radius);background:var(--page)}.ui-table-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.ui-table{width:100%;border-collapse:collapse;font-size:13px}.ui-table th,.ui-table td{padding:12px;border-bottom:1px solid var(--table-border)}.ui-table .ui-table-group th{text-align:left;background:var(--table-group-bg);color:var(--accent);font-weight:600}.ui-success-notice{display:flex;align-items:center;gap:12px;margin-block:16px;padding:14px 16px;border:1px solid var(--success);border-radius:var(--radius);background:var(--success-soft);color:var(--success);animation:ui-success-enter .24s ease-out}.ui-success-notice strong{flex:1;min-width:0;overflow-wrap:anywhere}.ui-success-notice button{flex-shrink:0}.ui-success-check{width:40px;height:40px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.ui-success-check path{stroke-dasharray:40;animation:ui-success-draw .45s ease-out}@keyframes ui-success-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes ui-success-draw{0%{stroke-dashoffset:40}to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.ui-success-notice,.ui-success-check path{animation:none}}.sync-page{padding:28px 0 48px}.sync-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin:20px 0}.sync-panel h2{font-size:20px;margin:0}.sync-heading,.sync-summary{display:flex;align-items:center;justify-content:space-between;gap:16px}.sync-state{color:var(--accent);background:var(--soft);padding:5px 10px;border-radius:6px;font-size:12px;white-space:nowrap}.sync-source{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.sync-source label{display:grid;gap:8px;flex:1;min-width:200px}.sync-source input{max-width:100%;width:100%}.sync-panel small{display:block;color:var(--secondary);margin-top:12px}.sync-panel select{width:100%;min-width:0}.sync-panel p{color:var(--secondary);font-size:14px;line-height:1.7}.sync-details{border-top:1px solid var(--border);margin-top:20px;padding-top:16px}.sync-details summary{cursor:pointer;color:var(--accent);font-weight:600;font-size:14px}.sync-details>label{display:block;margin:20px 0 8px;font-size:14px}.sync-table-wrap{overflow-x:auto;margin:20px 0}.sync-table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:14px}.sync-table-wrap caption{text-align:left;padding-bottom:12px;color:var(--secondary)}.sync-table-wrap th,.sync-table-wrap td{text-align:left;padding:12px;border-bottom:1px solid var(--border)}.sync-table-wrap thead{background:var(--soft)}.sync-warning{background:var(--soft);padding:12px;border-radius:6px}.sync-delete-confirm{display:flex;align-items:start;gap:10px;margin:16px 0;font-size:14px}.sync-delete-confirm input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0}@media(max-width:600px){.sync-panel{padding:16px}.sync-source>button{width:100%}.sync-summary{flex-wrap:wrap}}.sync-download-actions{display:flex;flex-wrap:wrap;gap:10px}.sync-download-button{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid var(--border);border-radius:6px;color:var(--accent);background:var(--surface);text-decoration:none;font-size:13px;font-weight:600}.sync-download-button:hover{background:var(--soft)}.sync-document-link{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:6px;color:var(--accent);text-decoration:none}.sync-document-link:hover{background:var(--soft)}.sync-document-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.data-page{padding:28px 0 48px}.data-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:12px}.data-tabs a{padding:10px 14px;border-radius:var(--radius);text-decoration:none;color:var(--text)}.data-tabs a[aria-current=page]{background:var(--accent);color:var(--surface)}.data-tabs a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.data-page .sync-page{padding:8px 0 0}.data-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-top:24px;padding:24px}.data-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.data-panel h2{margin:0;font-size:20px}.data-panel p{line-height:1.7}.data-connection-status{display:flex;align-items:center;gap:8px}.data-connection-status .status-dot{flex-shrink:0}.data-storage-state{color:var(--secondary)}.data-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0 0}.data-fields dt{color:var(--secondary);font-size:13px;margin-bottom:6px}.data-fields dd{margin:0;overflow-wrap:anywhere}@media(max-width:600px){.data-panel{padding:16px}.data-fields{grid-template-columns:1fr}.data-tabs a{padding:10px 12px;font-size:14px}}.role-layout .role-list{gap:10px}.role-search input{width:100%;min-width:0;font-size:13px}.role-options{display:grid;gap:2px;max-height:460px;overflow-y:auto}.role-list .role-options button{padding:10px 8px;font-size:13px;border-radius:6px}.role-options small{font-size:11px}.permission-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.permission-search{flex:1;min-width:200px}.permission-search input{width:100%}.permission-toolbar .check-row{font-size:13px}.permission-help{font-size:12px;line-height:1.7;color:var(--secondary)}.ui-table.permission-table{min-width:450px}.permission-table tbody th[scope=row]{font-size:13px;font-weight:500;text-align:left;padding:10px 12px}.permission-table td{padding:8px 10px}.permission-table input[type=checkbox]{width:18px;height:18px;margin:0;cursor:pointer}.permission-table input:disabled{cursor:default}.permission-table thead th:not(:first-child){text-align:center;width:58px}.permission-group-label{display:flex;align-items:center;justify-content:space-between;gap:10px}.permission-group-label small{font-size:11px;font-weight:400}@media(max-width:760px){.role-layout .role-list{display:flex}.role-options{grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px}.role-list .role-options button{min-width:0;flex-wrap:wrap;gap:3px}}.customer-orders-page{padding:28px 0 48px}.customer-orders-heading{margin:28px 0}.customer-orders-heading p{margin:0 0 6px;color:var(--secondary);font-size:13px}.customer-orders-heading h1{color:var(--accent);font-size:28px;margin:0 0 12px;overflow-wrap:anywhere}.customer-orders-heading>span{background:var(--soft);padding:4px 10px;font-size:13px;border-radius:4px;color:var(--accent)}.customer-orders-tabs{display:flex;border-bottom:1px solid var(--border);gap:8px}.customer-orders-tabs button{display:flex;align-items:center;gap:8px;min-height:48px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--secondary)}.customer-orders-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent);background:var(--soft)}.customer-orders-tabs button span{font-size:11px;background:var(--page);padding:2px 6px;border-radius:4px}.customer-orders-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:24px 0}.customer-orders-filters label{display:grid;gap:7px;font-size:12px}.customer-orders-filters .customer-orders-search{flex:1 1 280px}.customer-orders-filters input,.customer-orders-filters select,.customer-orders-filters button{min-height:44px}.customer-orders-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;padding:18px;border:1px solid var(--border);border-radius:8px;background:var(--soft)}.customer-orders-totals>div,.customer-order-metrics>div{display:grid;gap:7px;align-content:start}.customer-orders-totals>div>span,.customer-order-metrics>div>span{color:var(--secondary);font-size:12px}.customer-orders-totals strong{font-size:17px;font-weight:600}.customer-order-value{display:block;overflow-wrap:anywhere}.customer-order-value small{font-size:11px;font-weight:400;color:var(--secondary)}.customer-orders-note{font-size:12px;color:var(--secondary);line-height:1.6;margin:12px 0 22px}.customer-orders-list{display:grid;gap:16px}.customer-order-card{border:1px solid var(--border);border-radius:8px;min-width:0;overflow:hidden}.customer-order-heading{display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:12px;padding:18px 20px 0}.customer-order-heading h2{margin:0;font:600 18px var(--body-font);overflow-wrap:anywhere}.customer-order-heading p{margin:7px 0 0;font-size:12px;color:var(--secondary)}.customer-order-status{font-size:11px;padding:5px 9px;background:var(--soft);border-radius:4px;color:var(--accent)}.customer-order-status.needs-review{color:var(--danger)}.customer-order-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:16px;padding:20px}.customer-order-metrics strong{font-size:14px;font-weight:500}.customer-order-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding:6px 12px;gap:8px}.customer-order-actions button{display:inline-flex;align-items:center;gap:6px;min-height:44px;background:transparent;border:0;color:var(--accent)}.customer-order-actions a{font-size:13px;padding:12px 8px}.customer-order-items{overflow-x:auto;border-top:1px solid var(--border)}.customer-order-items table{width:100%;border-collapse:collapse;font-size:12px}.customer-order-items th{background:var(--soft);color:var(--accent);text-align:left;padding:12px;white-space:normal}.customer-order-items td{padding:12px;border-top:1px solid var(--border);vertical-align:middle}.customer-order-product{display:flex;align-items:center;gap:12px;min-width:200px;max-width:310px}.customer-order-product>div:last-child{min-width:0;overflow-wrap:anywhere}.customer-order-product small{display:block;font-size:11px;margin-top:5px;color:var(--secondary)}.customer-orders-page .product-card-image{display:grid;align-content:center;justify-items:center;gap:4px;flex:0 0 56px;width:56px;height:64px;border-radius:4px;background:var(--soft);color:var(--secondary)}.customer-orders-page .product-card-image span{font-size:8px;text-align:center}.customer-orders-page .product-card-image img{width:56px;height:64px;object-fit:contain}.customer-orders-empty{padding:32px;text-align:center;color:var(--secondary);border:1px dashed var(--border)}.customer-card>a+a{margin-left:20px}@media(max-width:760px){.customer-orders-heading h1{font-size:23px}.customer-orders-tabs button{flex:1;font-size:12px;padding:10px 7px;justify-content:center}.customer-orders-filters{display:grid;grid-template-columns:1fr 1fr}.customer-orders-filters .customer-orders-search{grid-column:1/-1}.customer-orders-filters input,.customer-orders-filters select{width:100%;min-width:0;font-size:16px}.customer-orders-totals,.customer-order-metrics{grid-template-columns:1fr 1fr}.customer-order-items thead{display:none}.customer-order-items table,.customer-order-items tbody,.customer-order-items tr{display:block}.customer-order-items tr{padding:12px 16px;border-top:1px solid var(--border)}.customer-order-items td{display:grid;grid-template-columns:42% minmax(0,1fr);gap:10px;border:0;padding:6px 0;overflow-wrap:anywhere}.customer-order-items td:before{content:attr(data-label);color:var(--secondary)}.customer-order-items td:first-child{display:block;padding-bottom:12px}.customer-order-items td:first-child:before{display:none}.customer-order-product{max-width:none;min-width:0}}.customers-page{padding:28px 0 48px}.customers-heading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;margin:20px 0}.customers-heading h1{margin:0;font-size:28px;color:var(--accent)}.customers-heading>span{font-size:13px;color:var(--secondary)}.customer-filters{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin-bottom:24px}.customer-filters label{width:200px}.customer-filters .customer-search{width:min(360px,100%)}.customer-filter-actions{display:flex;gap:8px}.customer-filters button{min-height:44px}.customer-filters>button:last-child{margin-left:auto}.customers-page button:disabled{cursor:not-allowed}.customer-table-scroll{border-radius:6px}.customer-table{table-layout:fixed;min-width:1340px;line-height:1.45}.customer-number-col{width:46px}.customer-code-col{width:78px}.customer-name-col{width:240px}.customer-table th,.customer-table td{padding:7px 5px;border-right:1px solid var(--border);text-align:center}.customer-table th:last-child,.customer-table td:last-child{border-right:0}.customer-table thead{background:var(--soft);color:var(--accent)}.customer-table thead th{padding:14px 5px;font-weight:600}.customer-table .customer-name,.customer-table .customer-code{text-align:left;padding-left:10px;overflow-wrap:anywhere}.customer-table .customer-name{font-weight:500}.customer-country th{text-transform:uppercase;background:var(--table-group-bg);color:var(--accent);font-size:12px;letter-spacing:.04em;padding:7px}.customer-table .customer-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:4px;border:0;background:transparent;color:var(--accent)}.customer-table .customer-icon:disabled{opacity:.35}.customer-table .customer-icon:hover:not(:disabled){background:var(--soft)}.pagination .customer-page-number{margin-right:0}@media(max-width:1404px){.customer-country th{text-align:left;padding-left:12px}}@media(max-width:760px){.customers-heading h1{font-size:24px}.customer-filters{gap:12px}.customer-filters label,.customer-filters .customer-search{width:100%}.customer-filters>button:last-child{margin-left:0}.customer-filters input,.customer-filters select{min-height:44px;font-size:16px}}.customer-clear{display:inline-flex;align-items:center;gap:6px}.customer-clear svg{color:var(--danger)}.customer-icon{text-decoration:none}.customer-mobile-list{display:none}.customer-profile-page{padding:28px 0 48px}.profile-back{display:inline-flex;align-items:center;gap:8px}.customer-profile-heading{margin:24px 0}.customer-profile-heading p{color:var(--secondary);margin:0 0 6px;font-size:13px}.customer-profile-heading h1{margin:0;color:var(--accent);font-size:30px;overflow-wrap:anywhere}.profile-sections{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.profile-sections a{font-size:13px;padding:6px 10px;border:1px solid var(--border);border-radius:6px;text-decoration:none;background:var(--surface)}.profile-sections a:hover{background:var(--soft)}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}.profile-section,.profile-source{padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:8px;min-width:0;scroll-margin-top:20px}.profile-section h2{margin:0 0 16px;font-size:20px}.profile-fields{margin:0}.profile-fields>div{display:grid;grid-template-columns:minmax(100px,35%) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.profile-fields>div:last-child{border-bottom:0}.profile-fields dt{color:var(--secondary);font-size:12px;overflow-wrap:anywhere}.profile-fields dd{margin:0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.profile-fields .profile-fields>div{grid-template-columns:1fr;gap:4px;padding-top:0;margin-bottom:8px}.profile-records{margin:0;padding-left:20px}.profile-records>li+li{margin-top:16px}.profile-source{margin-top:20px}.profile-source summary{color:var(--secondary);cursor:pointer;font-size:13px}@media(max-width:760px){.customer-table-scroll,.customer-table-note{display:none}.customer-mobile-list{display:grid;gap:12px}.customer-mobile-list h2{margin:12px 0 0;font:600 13px var(--body-font);color:var(--accent);text-transform:uppercase}.customer-card{padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.customer-card-meta{display:flex;justify-content:space-between;gap:12px;color:var(--secondary);font-size:12px;overflow-wrap:anywhere}.customer-card-meta span:first-child{color:var(--accent);font-weight:600}.customer-card h3{margin:8px 0 14px;font-size:16px;font-weight:600;overflow-wrap:anywhere}.customer-card a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--accent);font-size:13px;text-decoration:none}.profile-grid{grid-template-columns:1fr}.customer-profile-heading h1{font-size:24px}.profile-section{padding:16px}.profile-back,.profile-sections a{min-height:44px;display:inline-flex;align-items:center}.profile-fields>div{grid-template-columns:1fr;gap:4px}}@media(max-width:900px){.profile-grid{grid-template-columns:1fr}}.customer-profile-heading{display:flex;align-items:center;gap:18px;padding:24px 0;border-bottom:1px solid var(--border)}.customer-profile-avatar{display:grid;place-items:center;flex:0 0 64px;height:64px;border-radius:12px;background:var(--soft);color:var(--accent)}.customer-profile-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:12px;font-size:13px;color:var(--secondary)}.customer-profile-meta strong{padding:4px 10px;border-radius:4px;background:var(--soft);color:var(--accent)}.customer-profile-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}.customer-profile-page .profile-sections{position:sticky;top:20px;display:grid;gap:4px}.customer-profile-page .profile-sections a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:10px 12px;border:1px solid transparent;background:transparent;color:var(--secondary)}.customer-profile-page .profile-sections a[aria-current],.customer-profile-page .profile-sections a:hover{background:var(--soft);color:var(--accent);border-color:var(--border)}.customer-profile-content{min-width:0}.customer-profile-mobile-nav{display:none}.customer-profile-section-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-bottom:18px;margin-bottom:4px;border-bottom:1px solid var(--border)}.customer-profile-section-heading h2{margin:0}.customer-profile-empty-toggle{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--secondary);cursor:pointer;min-height:32px}.customer-profile-empty-toggle input{width:16px;height:16px;margin:0}.customer-profile-page .profile-fields>div{grid-template-columns:minmax(120px,26%) minmax(0,1fr);padding:14px 0}.customer-profile-page .profile-fields>.profile-field-group{display:block;padding:18px 0}.customer-profile-page .profile-field-group>dt{font-size:14px;font-weight:600;color:var(--accent);margin-bottom:12px}.customer-profile-page .profile-fields .profile-fields>div{display:grid;grid-template-columns:minmax(120px,26%) minmax(0,1fr);padding:10px 0;margin:0}.customer-profile-page .profile-records{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}.customer-profile-page .profile-records>li{padding:16px;background:var(--page);border:1px solid var(--border);border-radius:6px;margin:0}.customer-profile-page .profile-records>li>.profile-fields>div{grid-template-columns:1fr;gap:4px}.customer-profile-page .profile-records .profile-fields>div:first-child dd{font-weight:600}.customer-profile-empty{color:var(--secondary);padding:20px 0;font-size:14px}@media(max-width:760px){.customer-profile-heading{gap:12px;padding:12px 0 20px;margin:18px 0;align-items:start}.customer-profile-avatar{flex-basis:44px;height:44px;border-radius:8px}.customer-profile-heading h1{font-size:22px;line-height:1.4}.customer-profile-layout{display:block}.customer-profile-page .profile-sections{display:none}.customer-profile-mobile-nav{display:grid;gap:8px;margin-bottom:16px;font-size:13px}.customer-profile-mobile-nav select{min-height:48px;width:100%;font-size:16px}.customer-profile-page .profile-fields>div,.customer-profile-page .profile-fields .profile-fields>div{grid-template-columns:1fr;gap:5px}.customer-profile-page .profile-fields dt{font-size:12px}.customer-profile-page .profile-fields dd{line-height:1.65}.customer-profile-empty-toggle{min-height:44px}}.warehouse-page header,.warehouse-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:20px 0}.warehouse-actions button{display:inline-flex;gap:8px;align-items:center}.warehouse-page label,.warehouse-form label{display:flex;flex-direction:column;gap:8px}.warehouse-page>label{max-width:540px}.warehouse-table{overflow-x:auto;border:1px solid var(--border);border-radius:10px}.warehouse-table table{width:100%;border-collapse:collapse;min-width:700px}.warehouse-table th{background:var(--soft);color:var(--accent);text-align:left;white-space:nowrap}.warehouse-table th,.warehouse-table td{padding:12px;border-bottom:1px solid var(--border);font-size:13px}.warehouse-materials-table th:first-child{width:14%}.warehouse-materials-table th:nth-child(3){width:80px}.warehouse-materials-table th:nth-child(4){width:110px}.warehouse-materials-table th:nth-child(5){width:170px}.warehouse-materials-table th:last-child{width:200px}.warehouse-material-name,.warehouse-supplier{display:block;overflow-wrap:anywhere}.warehouse-supplier{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}.warehouse-quantity{white-space:nowrap}.warehouse-status{white-space:nowrap;padding:5px 8px;border-radius:6px;background:var(--soft)}.warehouse-status.empty,.warehouse-status.low{color:#9b3428;background:#fce9df}.warehouse-status.enough{color:#366045;background:#edf3e9}.warehouse-form{display:grid;gap:16px;max-width:100%;padding-bottom:8px}.warehouse-form fieldset{border:0;padding:0;display:grid;gap:16px;min-width:0}.warehouse-lines>div{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--border)}.warehouse-lines span{flex:1;min-width:140px}.warehouse-lines label{max-width:140px}.warehouse-form textarea{min-height:70px}@media(max-width:600px){.warehouse-page h1{font-size:1.4rem}.warehouse-form input,.warehouse-form select{min-width:0;width:100%}}.warehouse-filters{display:flex;gap:16px;margin-bottom:16px;flex-wrap:wrap;align-items:end}.warehouse-filters label:first-child{flex:1;max-width:540px;min-width:220px}.warehouse-filters label:last-child input[type=number]{max-width:160px}@media(max-width:600px){.warehouse-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-filters label:first-child{grid-column:1 / -1;min-width:0;max-width:none}.warehouse-filters input,.warehouse-filters select{min-width:0;width:100%}}.modal.warehouse-slip-modal{width:min(1200px,calc(100vw - 32px));max-width:calc(100vw - 32px)}.warehouse-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.warehouse-form-grid input{width:100%;min-width:0}.warehouse-form summary{cursor:pointer;color:var(--accent)}.warehouse-picker{border:1px solid var(--border);border-radius:8px;max-height:280px;overflow:auto}.warehouse-picker button{display:flex;justify-content:space-between;text-align:left;gap:12px;width:100%;border:0;border-bottom:1px solid var(--border);border-radius:0;color:var(--text);background:var(--surface);padding:12px}.warehouse-picker button:hover{background:var(--soft)}.warehouse-picker small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.warehouse-picker p{padding:12px}.warehouse-entry-table input{min-width:100px;width:110px}.warehouse-entry-table td:last-child button{display:block;margin:6px 0}.warehouse-entry-table td:last-child{min-width:180px}.warehouse-entry-table td:nth-child(2){min-width:180px}.warehouse-total{text-align:right;font-weight:600}.warehouse-print-actions{text-align:right}.warehouse-document header{display:flex;justify-content:space-between;gap:16px}.warehouse-document small{color:var(--muted)}.warehouse-signatures{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:32px}.warehouse-signatures>div{display:grid;text-align:center;gap:8px;min-height:100px}@media(max-width:650px){.warehouse-form-grid{grid-template-columns:1fr}.warehouse-picker button{flex-direction:column}.modal.warehouse-slip-modal{padding:16px}}@media print{body:has(.warehouse-document) *{visibility:hidden}body:has(.warehouse-document) .warehouse-document,body:has(.warehouse-document) .warehouse-document *{visibility:visible}.warehouse-slip-modal:has(.warehouse-document){position:absolute;inset:0;margin:0;padding:0;width:100%;max-width:none;max-height:none;height:auto;overflow:visible;border:0}.warehouse-slip-modal:has(.warehouse-document) .modal-heading,.warehouse-print-actions{display:none}.warehouse-document .warehouse-table{overflow:visible}.warehouse-document table{min-width:0;font-size:10px}.warehouse-document th,.warehouse-document td{padding:5px;font-size:10px;white-space:normal}.warehouse-document tr,.warehouse-signatures{break-inside:avoid}}.modal.warehouse-slip-modal .modal-heading{position:sticky;top:0;z-index:2;background:var(--surface);padding-bottom:12px}.modal.warehouse-slip-modal .modal-heading{top:-24px;margin:-24px -24px 16px;padding:24px}@media(max-width:650px){.modal.warehouse-slip-modal .modal-heading{top:-16px;margin:-16px -16px 16px;padding:16px}}.warehouse-material-link{border:0;background:transparent;padding:0;color:var(--accent);font-weight:600;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.warehouse-filters select{min-height:42px}.warehouse-movements-table td:first-child,.warehouse-movements-table td:nth-child(2),.warehouse-movements-table td:nth-child(3){white-space:nowrap}.production-page{min-width:0}.production-toolbar,.production-actions,.production-tabs{display:flex;flex-wrap:wrap;gap:.6rem;align-items:end;margin:1rem 0}.production-toolbar label,.production-editor label{display:flex;flex-direction:column;gap:.4rem}.production-toolbar input,.production-editor input,.production-editor select,.production-editor textarea{max-width:100%;min-height:2.75rem}.production-check{flex-direction:row!important;align-items:center}.production-check input{width:auto}.production-directory-scroll{overflow:auto;max-width:100%;border:1px solid var(--border);border-radius:.7rem}.production-directory{min-width:1100px;width:100%;border-collapse:separate;border-spacing:0}.production-page th,.production-drawer th{background:var(--soft)}.production-page td,.production-drawer td{background:var(--page)}.production-page th,.production-page td,.production-drawer th,.production-drawer td{padding:.65rem;border-bottom:1px solid var(--border);vertical-align:middle;text-align:left}.production-page small,.production-drawer small{display:block;font-size:.76rem;margin-top:.3rem}.production-directory .selected td{background:var(--soft)}.production-status{font-size:.8rem;padding:.3rem .5rem;border-radius:.4rem;display:inline-block;background:var(--soft)}.production-filter{position:relative}.production-filter summary{cursor:pointer;white-space:nowrap}.production-filter>div{position:absolute;top:100%;left:0;min-width:14rem;max-width:90vw;max-height:min(22rem,60dvh);overflow:auto;background:var(--page);border:1px solid var(--border);box-shadow:0 3px 15px #0002;padding:.75rem;z-index:3}.production-filter label{display:flex;align-items:center;gap:.5rem;font-weight:400;padding:.3rem 0}.production-filter input{width:auto}.production-drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(1000px,92vw);max-width:100vw;padding:1.25rem;border:0;border-left:1px solid var(--border);background:var(--page);color:var(--text);overflow:auto}.production-drawer::backdrop{background:#24180e50}.production-panel-heading{position:sticky;top:-1.25rem;background:var(--page);display:flex;align-items:center;justify-content:space-between;gap:1rem;z-index:4;padding:.75rem 0}.production-panel-heading h2{font-size:1.2rem;overflow-wrap:anywhere}.production-tabs button[aria-pressed=true]{background:var(--accent);color:#fff}.production-editor,.production-sheet{border:1px solid var(--border);border-radius:.6rem;padding:1rem;margin:1rem 0}.production-editor fieldset{border:0;padding:0;display:grid;gap:.75rem}.production-editor input:not([type=checkbox]),.production-editor textarea,.production-editor select{width:100%}.production-dimensions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.production-sheet header{display:flex;justify-content:space-between;gap:.5rem}.production-sheet-voided{opacity:.65;border-style:dashed}.production-drawer table{border-collapse:collapse;min-width:800px;width:100%}.production-drawer td input{width:6rem}.production-extra td{background:#f6edcc}.production-batch-save{position:sticky;bottom:0;margin-top:1rem;background:var(--accent);color:#fff}@media(max-width:700px){.production-drawer{width:100vw;padding:.75rem}.production-panel-heading{top:-.75rem}.production-toolbar>label{flex:1 1 130px}.production-toolbar input{width:100%}.production-dimensions{gap:.3rem}.production-drawer button{min-height:44px}}.production-filter-trigger{display:inline-flex;gap:.4rem;align-items:center;background:transparent;border:0;padding:.25rem;font:inherit;color:inherit;text-align:left}.modal:has(.production-filter-content){max-height:calc(100dvh - 24px);display:flex;flex-direction:column;width:min(420px,calc(100vw - 24px))}.production-filter-content{min-height:0;display:flex;flex-direction:column;gap:.5rem}.production-filter-options{overflow:auto;min-height:0;max-height:40dvh}.production-filter-options label{display:flex;align-items:center;gap:.5rem;padding:.35rem 0}.production-filter-options input{width:auto}.schedule-page{min-width:0}.schedule-heading{display:flex;justify-content:space-between;align-items:center;margin:1.3rem 0}.schedule-heading h1{margin:0;font-size:1.8rem}.schedule-page button{display:inline-flex;gap:.5rem;align-items:center;justify-content:center;min-height:42px}.schedule-board{border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden}.schedule-weekbar,.schedule-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;padding:20px;border-bottom:1px solid var(--border)}.schedule-page label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--secondary)}.schedule-page input,.schedule-page select{min-height:42px;width:100%;font-size:13px;padding:8px 12px}.schedule-weekbar label{width:165px}.schedule-count{margin-left:auto;align-self:center;font-size:12px;color:var(--secondary)}.schedule-filters>label{min-width:145px}.schedule-search{flex:1}.schedule-groups{padding:18px 20px}.schedule-group{margin-bottom:18px;border:1px solid var(--border);border-radius:8px;overflow:hidden}.schedule-page .schedule-group-heading{width:100%;justify-content:flex-start;border:0;border-radius:0;background:var(--soft);color:var(--accent);padding:15px 18px;min-height:54px;font-size:16px}.schedule-group-heading span{margin-left:auto;font-size:12px}.schedule-group-heading svg.collapsed{transform:rotate(-90deg)}.schedule-table-scroll{overflow-x:auto}.schedule-page table{width:100%;min-width:1050px;border-collapse:collapse;table-layout:fixed}.schedule-page th{font-size:12px;color:var(--accent);background:var(--page);text-align:left;padding:12px 14px;font-weight:600}.schedule-page td{padding:15px 14px;font-size:13px;vertical-align:middle;border-top:1px solid var(--border);overflow-wrap:anywhere}.schedule-page tbody tr:nth-child(odd){background:color-mix(in srgb,var(--page) 55%,var(--surface))}.schedule-index{width:6%}.schedule-product{width:24%}.schedule-image{width:10%}.schedule-customer{width:7%}.schedule-quantity{width:9%}.schedule-status{width:17%}.schedule-product-code{font-weight:700;display:block;margin-bottom:9px}.schedule-po{display:block;font-size:11px;text-decoration:none;color:var(--secondary)}.schedule-image-link{font-size:11px}.schedule-number{background:var(--soft);color:var(--accent);border-radius:50%;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.schedule-page small{font-size:11px;color:var(--secondary);display:block;margin-top:7px}.schedule-badge{display:inline-block;border-radius:4px;padding:3px 6px;font-size:11px;background:var(--soft);color:var(--accent)}.schedule-badge.waiting{background:var(--page);color:var(--secondary)}.schedule-pagination{display:flex;gap:15px;justify-content:flex-end;align-items:center;padding:16px 20px;border-top:1px solid var(--border);font-size:12px}.schedule-empty{text-align:center;padding:25px;color:var(--secondary)}@media(max-width:760px){.schedule-heading h1{font-size:1.3rem}.schedule-weekbar,.schedule-filters,.schedule-groups{padding:12px;gap:8px}.schedule-filters>label{flex:1 1 130px;min-width:0}.schedule-filters>.schedule-search{flex-basis:100%}.schedule-weekbar label{flex-basis:100%}.schedule-count{margin-left:0}.schedule-pagination{justify-content:center}}.products-page{padding:28px 0 48px}.products-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:16px;margin:24px 0}.products-heading h1,.product-profile-heading h1{color:var(--accent);margin:0;font-size:28px;overflow-wrap:anywhere}.products-heading>span,.product-profile-heading>p{color:var(--secondary);font-size:13px}.product-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-bottom:24px}.product-filters label{width:180px;min-width:0}.product-filters .product-search{width:420px}.product-filter-actions{display:flex;flex-wrap:wrap;gap:8px}.product-filters button,.product-profile-link,.product-back{min-height:44px}.product-clear,.product-profile-link,.product-back{display:inline-flex;align-items:center;gap:6px}.product-clear svg{color:var(--danger)}.product-table{width:100%;table-layout:fixed;min-width:800px}.product-table th,.product-table td{padding:12px;overflow-wrap:anywhere;text-align:left}.product-table th:first-child{width:55px}.product-table th:nth-child(3){width:20%}.product-table th:last-child{width:145px}.product-table .product-group th{text-align:left;text-transform:uppercase;background:var(--table-group-bg);color:var(--accent);font-size:12px;letter-spacing:.04em;padding:7px 12px}.product-code{font-weight:600}.product-profile-link{text-decoration:none}.product-cards{display:none}.product-profile-heading{margin:24px 0}.product-subtitle{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0;color:var(--secondary);overflow-wrap:anywhere}.product-subtitle strong{color:var(--accent)}.product-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--border);padding-bottom:16px;margin-bottom:24px}.product-tabs button{min-height:44px}.product-tabs [aria-selected=true],.product-tabs [aria-selected=true]:hover:not(:disabled){background:var(--accent);color:var(--surface);border-color:var(--accent)}.product-detail-grid,.product-orders,.product-bom-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.product-panel,.product-bom-list>article{padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:8px;min-width:0;overflow-wrap:anywhere}.product-panel{margin-bottom:16px}.product-panel h2{margin-top:0;font-size:20px}.product-panel h3,.product-bom-list h3{margin-top:0;font-size:16px}.product-panel summary{cursor:pointer;min-height:44px;align-content:center;color:var(--accent)}.product-panel summary span{color:var(--secondary)}.product-fields{margin:0}.product-fields>div{display:grid;grid-template-columns:minmax(90px,35%) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.product-fields>div:last-child{border:0}.product-fields dt{color:var(--secondary);font-size:12px;overflow-wrap:anywhere}.product-fields dd{margin:0;font-size:14px;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.product-fields .product-fields>div{grid-template-columns:1fr;gap:4px}.product-fields ol,.product-records{padding-left:20px}.product-records>li{padding:12px 0;border-bottom:1px solid var(--border)}.product-bom-list{margin-bottom:16px}@media(max-width:900px){.product-detail-grid,.product-orders,.product-bom-list{grid-template-columns:1fr}}@media(max-width:760px){.product-table-wrap{display:none}.product-cards{display:grid;gap:12px}.product-cards>h2{font-size:14px;color:var(--accent);margin:12px 0 0}.product-cards article{padding:18px;border:1px solid var(--border);border-radius:8px;background:var(--surface);min-width:0;overflow-wrap:anywhere}.product-card-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--accent)}.product-cards h3{font-size:17px;margin:12px 0}.product-cards p{color:var(--secondary);font-size:13px}.product-filters label,.product-filters .product-search{width:100%}.product-filters input,.product-filters select{min-height:44px;font-size:16px}.products-heading h1,.product-profile-heading h1{font-size:24px}.product-panel,.product-bom-list>article{padding:16px}.product-fields>div{grid-template-columns:1fr;gap:4px}.product-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.product-tabs button{font-size:12px;padding:8px}}.product-group-carcass{display:block;margin-top:4px;font-weight:400;color:var(--secondary);font-size:12px}.product-customer-name,.profile-table small{display:block;margin-top:5px;font-size:12px;color:var(--secondary)}.product-table{min-width:660px}.product-table th:nth-child(4){width:auto}.product-table th:last-child{width:130px}.product-filters .product-search{flex:1 1 290px;width:auto}.column-filter-trigger{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:4px;min-height:44px;font-weight:600}.column-filter-trigger.active{color:var(--accent);background:var(--soft)}.mobile-column-filters{display:none}.column-filter-dialog{width:min(360px,calc(100vw - 32px));position:fixed;inset:auto;margin:0;max-height:min(640px,calc(100dvh - 16px));overflow:hidden;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text)}.column-filter-dialog::backdrop{background:#24190e55}.column-filter-content{padding:20px;display:flex;flex-direction:column;gap:12px}.column-filter-body{display:grid;grid-auto-rows:max-content;gap:12px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.column-filter-content h2,.column-filter-footer{flex-shrink:0}.column-filter-footer{padding-top:12px;border-top:1px solid var(--border)}.column-filter-content h2{margin:0;font-size:18px}.column-filter-content label{display:grid;gap:6px}.filter-value-list{max-height:28dvh;overflow:auto}.filter-value-list label{display:flex;align-items:center;min-height:44px;overflow-wrap:anywhere}.filter-value-list input[type=checkbox]{width:18px;height:18px;min-height:18px;flex-shrink:0}.filter-selection-actions{display:flex;flex-wrap:wrap;gap:8px}.filter-selection-actions button{min-height:44px}.product-spec-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:20px;align-items:start}.product-info-table{width:100%;border-collapse:collapse;table-layout:fixed}.product-info-table th,.product-info-table td{padding:12px 8px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap}.product-info-table th{width:38%;font-size:12px;color:var(--secondary)}.responsive-table-wrap{max-width:100%;overflow-x:auto}.profile-table{border-collapse:collapse;width:100%;font-size:13px}.profile-table th,.profile-table td{padding:12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top;overflow-wrap:anywhere}.profile-table th{background:var(--soft);color:var(--accent)}.version-table{table-layout:fixed;min-width:650px}.version-table th:first-child{width:65px}.version-table th:nth-child(2){width:155px}.version-upload{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:16px;background:var(--soft);border-radius:8px;margin-bottom:24px}.version-upload label{display:grid;gap:8px;min-width:0}.version-upload input[type=file]{width:100%;min-height:44px}.version-upload button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px}.version-upload small{align-self:center;color:var(--secondary)}.empty-document{border:1px dashed var(--border);padding:24px;border-radius:8px}.material-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.material-tabs button{min-height:44px}.material-tabs [aria-pressed=true]{background:var(--accent);color:var(--surface)}.quotation-table{min-width:750px}@media(max-width:760px){.product-spec-layout,.version-upload{grid-template-columns:minmax(0,1fr)}.mobile-column-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.profile-table{display:block;min-width:0;table-layout:auto}.profile-table thead{display:none}.profile-table tbody{display:grid;gap:12px}.profile-table tr{display:grid;border:1px solid var(--border);border-radius:8px;padding:12px}.profile-table td{display:block;padding:8px 0;border:0;white-space:normal}.profile-table td:before{content:attr(data-label);display:block;margin-bottom:4px;font-size:11px;color:var(--secondary)}.version-upload input,.version-upload textarea{font-size:16px}}.product-info-table{min-width:0}.product-spec-layout>div{min-width:0}.product-image-placeholder{min-height:140px;display:grid;place-items:center;border:1px dashed var(--border);border-radius:8px;color:var(--secondary);background:var(--background)}@media(max-width:1100px){.product-spec-layout{grid-template-columns:minmax(0,1fr)}}.product-overview-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}.product-overview-grid .product-image-placeholder{width:100%;height:210px;min-height:0}.packaging-summary{line-height:1.8;overflow-wrap:anywhere}@media(max-width:760px){.product-overview-grid{grid-template-columns:minmax(0,1fr)}.product-overview-grid .product-image-placeholder{max-width:280px}}.technical-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%}.technical-tabs button{flex-shrink:0;white-space:nowrap}.production-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 32px;padding-left:28px}.production-stages li{padding:12px;background:var(--surface, #f5f0e8);border-radius:8px}.document-workspace{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:20px;align-items:start}.document-workspace>*,.document-current-content{min-width:0}.document-versions .version-table{min-width:0}.document-versions .version-table thead{display:none}.document-versions .version-table tbody,.document-versions .version-table tr,.document-versions .version-table td{display:block;width:auto}.document-versions .version-table td:before{content:attr(data-label);display:block;font-size:12px;color:var(--secondary)}.document-versions p,.document-versions small{overflow-wrap:anywhere}.packaging-summary{padding:16px;border:1px solid var(--border);border-radius:8px;margin-bottom:16px}.packaging-summary p{margin:0 0 10px;line-height:1.8;white-space:normal}.packaging-summary p:last-child{margin-bottom:0}.product-info-stack>.product-panel{width:100%;min-width:0;box-sizing:border-box}@media(max-width:900px){.document-workspace{grid-template-columns:minmax(0,1fr)}}.document-stack{display:grid;gap:20px;min-width:0}.document-stack>.product-panel{margin:0;min-width:0}.document-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.document-panel-heading h2{margin:0}.document-panel-heading button{flex-shrink:0}.document-detail-content>.product-panel{border:0;padding:0;box-shadow:none;margin:20px 0 0}.document-upload-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--surface, #fff);color:inherit}.document-upload-dialog::backdrop{background:#23181273}.document-upload-dialog input,.document-upload-dialog textarea{max-width:100%;box-sizing:border-box}@media(max-width:600px){.document-panel-heading{align-items:flex-start}.document-panel-heading h2{font-size:18px}.document-upload-dialog{padding:16px}}.document-upload-dialog .version-upload{display:flex;flex-direction:column;align-items:stretch;padding:0;background:none}.document-upload-dialog .version-upload label{display:flex;flex-direction:column;gap:8px}.product-group-link{color:inherit;text-underline-offset:3px}.product-group-link:hover{color:var(--accent)}.product-table thead th:nth-child(2){width:18%}.product-customer-code{display:block;font-size:15px;font-weight:600}.product-customer-name{line-height:1.4;overflow-wrap:anywhere}.product-table-wrap,.product-table tbody td,.product-cards article{background:var(--page)}.product-table thead th{background:var(--soft);color:var(--accent)}.product-price-conversion{display:inline-flex;flex-direction:column;gap:3px;white-space:nowrap}.product-price-conversion small,.product-price-rate{color:var(--muted);font-size:11px;font-weight:400}@media(max-width:760px){.product-card-main{display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:start}.product-card-copy{min-width:0}.product-card-image{width:104px;height:112px;border-radius:6px;background:var(--soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--secondary)}.product-card-image span{font-size:10px}.product-card-image img{width:100%;height:100%;object-fit:contain;border-radius:inherit}.product-cards .product-card-copy h3{font-family:var(--body-font);font-size:19px;line-height:1.35;color:var(--accent);margin:4px 0 6px}.product-cards .product-card-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12px;line-height:1.5;margin:0}.product-cards .product-card-customer{margin:10px 0 4px}.product-cards .product-card-customer .product-customer-code{font-size:12px}.product-cards .product-card-customer .product-customer-name{font-size:10px}.product-cards article>.product-profile-link{display:flex;justify-content:center;margin-top:14px;padding-top:10px;min-height:44px;border-top:1px solid var(--border)}}.technical-profile-identity{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px}.technical-profile-identity h1{font-size:clamp(28px,3vw,36px);line-height:1.25}.technical-profile-identity>span{color:var(--text);font-size:16px;overflow-wrap:anywhere}.product-profile-heading>.technical-profile-description{margin:10px 0 16px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.delivery-page{width:100%;min-width:0}.delivery-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.delivery-heading h1{margin-bottom:.4rem}.delivery-heading p,.delivery-note{color:var(--secondary);font-size:.85rem}.delivery-tabs{display:flex;gap:.4rem;flex-wrap:wrap;border-bottom:1px solid var(--border);margin:1.2rem 0;padding-bottom:.5rem}.delivery-tabs button{background:transparent;color:var(--accent);border:1px solid transparent}.delivery-tabs button[aria-selected=true]{background:var(--accent);color:#fff}.delivery-panel{border:1px solid var(--border);background:var(--page);border-radius:10px;padding:1rem;margin:1rem 0}.delivery-panel summary{font-weight:600;cursor:pointer}.delivery-controls{display:flex;gap:.8rem;align-items:end;flex-wrap:wrap;margin:.9rem 0}.delivery-controls label,.delivery-mapping label{display:grid;gap:.35rem;min-width:0;font-size:.85rem}.delivery-controls input,.delivery-controls select{max-width:100%;min-height:40px}.delivery-search{flex:1;min-width:200px!important}.delivery-mapping{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.8rem;margin:1rem 0}.delivery-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.6rem;margin:1rem 0}.delivery-metrics>div{padding:.8rem;background:var(--soft);border-radius:8px;display:grid;gap:.4rem}.delivery-metrics strong{font-size:1.1rem;color:var(--accent)}.delivery-scroll{max-width:100%;overflow:auto;border:1px solid var(--border);border-radius:8px;margin:1rem 0}.delivery-scroll table{border-collapse:collapse;width:100%;font-size:.85rem}.delivery-scroll th{background:var(--table-header-bg);color:var(--table-header-text);white-space:nowrap;text-align:left}.delivery-scroll td,.delivery-scroll th{padding:.75rem;border-bottom:1px solid var(--border);vertical-align:middle}.delivery-scroll small{display:block;color:var(--secondary);font-size:.75rem;max-width:200px}.delivery-details{min-width:1700px}.delivery-details td{min-width:90px}.delivery-details img{width:70px;height:55px;object-fit:contain}.delivery-page .estimate{background:#f9e2d5;color:#a13b26}.delivery-filter{border:1px solid var(--border);border-radius:6px;position:relative;padding:.65rem;align-self:end}.delivery-filter summary{cursor:pointer;font-size:.9rem}.delivery-filter>div{position:absolute;z-index:2;top:100%;left:0;background:var(--surface);padding:1rem;border:1px solid var(--border);border-radius:6px;min-width:190px;max-height:min(320px,45dvh);overflow:auto;box-shadow:0 6px 22px #4d2b1620}.delivery-filter label{display:flex;align-items:center;gap:.5rem;padding:.4rem 0}.delivery-filter input[type=checkbox]{width:18px;min-height:18px}.delivery-issues{max-height:450px}.delivery-dialog{border:1px solid var(--border);border-radius:12px;padding:1.3rem;max-width:680px;width:calc(100% - 2rem);max-height:90dvh;overflow:auto}.delivery-dialog::backdrop{background:#28190e66}.delivery-dialog header{display:flex;justify-content:space-between;gap:1rem;align-items:center}.delivery-dialog textarea{display:block;width:100%}.delivery-dialog input{width:100%}.delivery-page [role=alert]{color:#a13b26}@media(max-width:600px){.delivery-heading{align-items:start;flex-direction:column}.delivery-controls>label{flex:1 1 140px}.delivery-metrics{grid-template-columns:1fr 1fr}.delivery-tabs button{flex:1 1 140px;font-size:.8rem}.delivery-filter>div{max-width:calc(100vw - 50px)}.delivery-heading h1{font-size:1.6rem}}.delivery-tabs button[aria-selected=true]:hover{background:var(--accent-hover);color:#fff}.delivery-scroll td{white-space:nowrap}.delivery-scroll small{white-space:normal;min-width:100px}.delivery-sort{padding:0;border:0;background:transparent;color:inherit;font:inherit;white-space:nowrap}.revenue-page{min-width:0}.revenue-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:28px 0}.revenue-heading h1{margin:0 0 12px}.revenue-heading p{margin:0;color:var(--secondary)}.revenue-heading .revenue-eyebrow{margin-bottom:8px;font-size:.8rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.revenue-currency{display:flex;flex-shrink:0;padding:4px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.revenue-currency button{background:transparent;color:var(--accent);border:0;min-height:42px}.revenue-page .revenue-currency button[aria-pressed=true],.revenue-page .revenue-currency button[aria-pressed=true]:hover{background:var(--accent);color:#fff}.revenue-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.revenue-filters label{display:grid;gap:8px;font-size:.9rem}.revenue-filters input{width:100%;min-width:0;min-height:44px}.revenue-rate{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;padding:20px 0;font-size:.8rem;color:var(--secondary)}.revenue-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.revenue-kpi,.revenue-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;min-width:0}.revenue-kpi h2{font:500 .85rem var(--body-font);margin:0 0 14px;color:var(--secondary)}.revenue-kpi strong{display:block;font-size:clamp(1.1rem,1.6vw,1.7rem);letter-spacing:-.025em;color:var(--accent);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.revenue-kpi p{font-size:.75rem;color:var(--secondary);margin:12px 0 0}.revenue-kpi:nth-child(3){background:var(--soft)}.revenue-kpi:last-child strong{color:var(--danger)}.revenue-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.revenue-chart-heading h2{margin:0;font-size:1.25rem}.revenue-legend{display:flex;gap:18px;font-size:.8rem}.revenue-legend span{display:flex;gap:8px;align-items:center}.revenue-legend i{display:block;width:12px;height:12px;border-radius:3px}.revenue-page .actual{background:var(--accent)}.revenue-page .forecast{background:#d7b18b}.revenue-muted{font-size:.8rem;color:var(--secondary)}.revenue-chart-scroll{max-width:100%;overflow-x:auto;padding:24px 6px 10px}.revenue-chart{display:flex;height:310px;padding-bottom:36px}.revenue-axis{position:relative;width:72px;flex-shrink:0;font-size:.72rem;color:var(--secondary)}.revenue-axis span{position:absolute;right:12px;transform:translateY(-50%)}.revenue-plot{position:relative;flex:1;min-width:0}.revenue-grid{position:absolute;inset:0;pointer-events:none}.revenue-grid div{position:absolute;width:100%;border-top:1px dashed var(--border)}.revenue-bars{position:relative;display:flex;height:100%;gap:12px;padding:0 12px}.revenue-week{flex:1;min-width:0;height:100%;text-align:center;position:relative}.revenue-page .revenue-bar{max-width:44px;margin-inline:auto;display:flex;flex-direction:column;justify-content:end;width:100%;height:100%;min-height:0;padding:0;background:transparent;border:0;border-radius:4px;box-shadow:none}.revenue-bar:hover,.revenue-bar[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:4px}.revenue-segment{display:block;flex-shrink:0;width:100%}.revenue-week-label{position:absolute;top:calc(100% + 12px);left:50%;transform:translate(-50%);font-size:.7rem;white-space:nowrap;color:var(--secondary)}.revenue-selection{display:flex;flex-wrap:wrap;gap:12px 24px;padding:16px;margin-top:8px;background:var(--soft);border-radius:6px;font-size:.85rem}.revenue-notes{color:var(--secondary);font-size:.78rem;line-height:1.8;margin:20px 0}.revenue-notes p{margin:6px 0}.revenue-notice{background:var(--soft);border:1px solid var(--border);padding:16px;border-radius:var(--radius);margin-bottom:20px;font-size:.85rem;line-height:1.7}.revenue-page summary{cursor:pointer;font-weight:600}.revenue-table-scroll{overflow-x:auto;margin-top:18px}.revenue-table-scroll table{width:100%;border-collapse:collapse;font-size:.85rem;font-variant-numeric:tabular-nums}.revenue-table-scroll th,.revenue-table-scroll td{padding:14px 12px;text-align:right;border-bottom:1px solid var(--border);white-space:nowrap}.revenue-table-scroll th:first-child,.revenue-table-scroll td:first-child{text-align:left}@media(max-width:1000px){.revenue-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.revenue-heading{align-items:start;flex-direction:column;gap:20px}.revenue-heading h1{font-size:1.7rem}.revenue-kpis{gap:10px}.revenue-kpi{padding:14px}.revenue-kpi strong{font-size:1.05rem}.revenue-panel{padding:16px}.revenue-filters label{width:calc(50% - 6px)}.revenue-selection{flex-direction:column}}.revenue-page .revenue-bar:hover{background:transparent}.revenue-toolbar,.revenue-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.revenue-toolbar{justify-content:space-between;margin-bottom:24px}.revenue-page .revenue-week-label{white-space:normal;width:72px;font-size:.65rem;line-height:1.4}.revenue-page .revenue-chart{padding-bottom:44px}.revenue-period-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:28px 0 16px}.revenue-period-heading label{display:grid;gap:8px;font-size:.85rem;max-width:100%}.revenue-period-heading select{max-width:100%}.revenue-progress{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px}.revenue-progress h2{font-size:1rem;margin:0 0 12px}.revenue-progress strong{color:var(--accent);font-size:1.3rem}.revenue-progress p{color:var(--secondary);font-size:.8rem;max-width:700px;margin-bottom:0;line-height:1.7}.revenue-progress-meter{min-width:180px;display:grid;gap:12px}.revenue-progress-meter progress{width:100%;accent-color:var(--accent);height:10px}.revenue-status{padding:4px 8px;border-radius:5px;background:var(--soft);color:var(--accent);font-size:.75rem;white-space:nowrap}.revenue-status.shipped,.revenue-status.past{color:#3c6345;background:#eaf2ea}.revenue-status.overdue{color:var(--danger);background:#fbeeee}.revenue-page .revenue-kpi:last-child strong{color:var(--accent)}.revenue-customer-panel,.revenue-detail-panel{margin-top:22px}.revenue-customer-panel h2,.revenue-detail-panel h2{font-size:1.2rem;margin:0}.revenue-responsive-table small{display:block;margin-top:6px;font-size:.7rem;color:var(--secondary);font-weight:400}.revenue-page .revenue-customer-link{text-align:left;color:var(--accent);border:0;padding:0;background:transparent;font-weight:600;white-space:normal;min-width:120px}.revenue-responsive-table tr[aria-selected=true]{background:var(--soft)}.revenue-responsive-table .revenue-product-name{min-width:160px;max-width:250px;white-space:normal}.revenue-pagination{display:flex;align-items:center;justify-content:end;gap:14px;margin-top:20px;font-size:.8rem}.revenue-report-footer{border-top:1px solid var(--border);padding-top:10px;margin-top:28px}.revenue-report-footer .revenue-rate{padding:8px 0}@media(max-width:700px){.revenue-progress{flex-direction:column;align-items:stretch}.revenue-progress strong{font-size:1.05rem;overflow-wrap:anywhere}.revenue-period-heading label{width:100%}.revenue-navigation{gap:8px}.revenue-responsive-table thead{display:none}.revenue-responsive-table,.revenue-responsive-table tbody{display:block;min-width:0;width:100%}.revenue-responsive-table tr{display:block;border-bottom:1px solid var(--border);padding:10px 0}.revenue-page .revenue-responsive-table td{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr);gap:4px 12px;border:0;padding:7px 0;text-align:right;white-space:normal;overflow-wrap:anywhere}.revenue-responsive-table td:before{content:attr(data-label);text-align:left;color:var(--secondary);font-size:.75rem;grid-row:1 / span 5}.revenue-responsive-table td>*{grid-column:2}.revenue-responsive-table .revenue-customer-link{min-width:0;text-align:right}.revenue-responsive-table .revenue-product-name{min-width:0;max-width:none}.revenue-pagination{justify-content:space-between;gap:6px}}.revenue-detail-panel td:nth-child(3){white-space:normal;min-width:130px;max-width:180px}.revenue-responsive-table .revenue-product-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}@media(max-width:700px){.revenue-detail-panel td:nth-child(3){min-width:0;max-width:none}}.analytics-tabs,.analytics-controls{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0;align-items:end}.analytics-tabs button[aria-pressed=true],.analytics-tabs button[aria-pressed=true]:hover:not(:disabled){background:var(--accent);color:#fff}.analytics-controls label{display:grid;gap:8px;max-width:100%}.analytics-controls select{max-width:100%}.analytics-chart-panel{margin:24px 0}.analytics-chart-panel h2{font-size:1.3rem;margin:0 0 18px}.analytics-chart-scroll,.analytics-table-scroll{overflow:auto;max-width:100%}.analytics-chart-scroll svg{display:block;font:12px var(--body-font);color:var(--text)}.analytics-chart-scroll svg text{fill:currentColor}.analytics-chart-scroll [role=button]{cursor:pointer}.analytics-chart-scroll [role=button]:focus{outline:2px solid var(--accent);outline-offset:-2px}.analytics-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin-bottom:18px;font-size:.8rem}.analytics-legend span{display:inline-flex;align-items:center;gap:7px}.analytics-legend i{display:inline-block;width:12px;height:12px;border-radius:2px}.analytics-legend .analytics-line{width:24px;height:0;border-top:2px solid #30271f}.analytics-legend .analytics-line.secondary{border-top:2px dashed #425e72}.analytics-inspector{display:flex;flex-wrap:wrap;gap:12px 24px;padding:16px;background:var(--soft);border-radius:6px;font-size:.85rem;min-height:60px}.analytics-data{margin-top:16px}.analytics-data summary{cursor:pointer;font-weight:600;padding:10px 0}.analytics-table-scroll{max-height:380px}.analytics-table-scroll table{min-width:650px}.analytics-notes{color:var(--secondary);font-size:.8rem}@media(max-width:600px){.analytics-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-controls label{min-width:0}.analytics-controls select{width:100%}.analytics-chart-panel{padding:14px}.analytics-tabs button{flex:1 1 40%}}.analytics-legend .analytics-line.tertiary{border-top:2px dotted #69724c}.contribution-plot{position:relative}.contribution-tooltip{position:absolute;top:35px;z-index:5;width:360px;max-width:100%;box-sizing:border-box;padding:10px 12px;max-height:280px;overflow-y:auto;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 18px #2b1d1426;pointer-events:auto;font-size:.8rem}.contribution-tooltip p{margin:6px 0}.contribution-tooltip ul{list-style:none;padding:0;margin:10px 0}.contribution-tooltip li{display:grid;grid-template-columns:minmax(0,1fr);gap:4px 10px;padding:7px 0;border-top:1px solid var(--border)}.contribution-tooltip li span{overflow-wrap:anywhere}.contribution-tooltip li small{grid-column:1 / -1;color:var(--secondary)}.contribution-tooltip-heading{display:flex;justify-content:space-between;align-items:center}.contribution-tooltip-heading button{padding:2px 8px;font-size:1rem}.analytics-axis-period{cursor:pointer;text-decoration:underline}.customer-period-details h3{font-size:1rem;margin:20px 0 12px}.analytics-table-scroll tr[aria-selected=true]{background:var(--soft)}.monthly-comparison-details h3{font-size:1rem;margin:20px 0 12px}.monthly-comparison-details table{min-width:0;width:100%}.monthly-comparison-details th,.monthly-comparison-details td{white-space:normal;overflow-wrap:anywhere}.analytics-chart-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px}.analytics-chart-heading h2{margin:0}.analytics-compare-toggle{display:inline-flex;align-items:center;gap:8px;margin-left:auto;min-height:44px;white-space:nowrap}.analytics-switch-track{display:inline-flex;align-items:center;width:34px;height:20px;padding:3px;border-radius:20px;background:var(--secondary)}.analytics-switch-track span{width:14px;height:14px;border-radius:50%;background:#fff}.analytics-compare-toggle[aria-checked=true] .analytics-switch-track{background:var(--accent)}.analytics-compare-toggle[aria-checked=true] .analytics-switch-track span{transform:translate(14px)}.analytics-current-summary{margin:16px 0;padding:12px 16px;border:1px solid var(--border);border-radius:10px}.analytics-current-summary dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.analytics-current-summary dt{font-size:.75rem;color:var(--secondary)}.analytics-current-summary dd{margin:4px 0 0;font-size:1rem;font-weight:600;overflow-wrap:anywhere}.analytics-current-summary dd small{font-size:.7rem;font-weight:400}.analytics-current-summary p{margin:8px 0 0;font-size:.7rem;color:var(--secondary)}@media(max-width:800px){.analytics-current-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:801px){.analytics-current-summary dl.analytics-year-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.orders-page{min-width:0}.orders-page label{display:grid;gap:8px;margin-block:12px}.orders-page input,.orders-page select,.orders-page textarea{max-width:100%;min-width:0;box-sizing:border-box}.orders-page textarea{min-height:76px}.orders-page .profile-table input,.orders-page .profile-table select{width:100%}.order-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:24px}.order-summary>div{display:grid;grid-template-columns:150px minmax(0,1fr);border-bottom:1px solid var(--border);padding:12px;gap:12px}.order-summary dt{color:var(--secondary)}.order-summary dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.order-lines{min-width:780px;table-layout:auto}.order-lines td{min-width:74px;max-width:230px;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.order-lines td:nth-child(4),.order-lines td:nth-child(10){min-width:175px}.order-lines small{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:6px}.order-image-empty{display:grid;place-content:center;width:80px;min-height:60px;border:1px dashed var(--border);color:var(--secondary);font-size:11px}.order-hint{color:var(--secondary)}.order-lines-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:3px}@media(max-width:760px){.order-summary{grid-template-columns:minmax(0,1fr)}.order-summary>div{grid-template-columns:115px minmax(0,1fr);padding-inline:0}.orders-page .order-lines{min-width:0;width:100%}.orders-page .order-lines td{min-width:0;max-width:none}.orders-page .profile-table tr{min-width:0}.orders-page .profile-table input,.orders-page .profile-table select,.orders-page .profile-table textarea{font-size:16px;width:100%}}.shipment-history{margin-top:24px}.shipment-history-entry{border:1px solid var(--border);border-radius:8px;padding:14px;margin-block:10px}.shipment-history-entry summary{cursor:pointer;line-height:1.8;overflow-wrap:anywhere}.shipment-history-entry summary span{margin-left:12px;color:var(--secondary);font-size:12px}.shipment-history-entry .profile-table{margin-top:16px}@media(max-width:760px){.shipment-history-entry summary span{display:block;margin-left:0}}.order-detail-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid var(--border);border-radius:6px;text-decoration:none;white-space:nowrap}.order-detail-link:hover{background:var(--soft)}.di-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.di-table{width:100%;min-width:1450px;border-collapse:collapse;font-size:13px}.di-table th,.di-table td{padding:12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}.di-table th{white-space:nowrap;overflow-wrap:normal;word-break:normal;background:var(--soft);color:var(--accent)}.di-table td{white-space:nowrap}.di-table td:nth-child(8),.di-table td:last-child{min-width:220px;max-width:320px;white-space:normal;overflow-wrap:break-word}.di-print-root{border:0;padding:0;width:calc(100vw - 32px);max-width:1800px;height:calc(100dvh - 32px);max-height:none;border-radius:8px;background:var(--page);color:var(--text);font:13px/1.4 Arial,sans-serif}.di-print-root::backdrop{background:#2b1d1488}.di-print-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:var(--surface);border-bottom:1px solid var(--border)}.di-print-toolbar div{display:flex;gap:8px}.di-print-toolbar button{min-height:44px;padding:8px 14px;color:var(--surface);background:var(--accent);border:0;border-radius:4px;font:inherit;cursor:pointer}.di-paper-scroll{height:calc(100% - 69px);overflow:auto;padding:20px}.di-paper{background:var(--surface);padding:20px;min-width:1200px;font:11px/1.35 Arial,sans-serif}.di-paper h1,.di-paper h2,.di-paper h3{font-family:Arial,sans-serif;color:var(--accent);margin:0}.di-print-title{text-align:center;padding:10px 0 18px}.di-print-title h1{font-size:20px}.di-print-title h2{font-size:18px;font-style:italic}.di-print-meta{display:grid;grid-template-columns:1fr 1fr 1.5fr 1.5fr 2fr;border:1px solid var(--border);text-align:center}.di-print-meta b,.di-print-meta span{display:block;padding:3px 5px}.di-print-meta b,.di-parties h3,.di-terms h3{background:var(--soft);color:var(--accent);font-size:10px}.di-parties{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:8px 0 0}.di-parties section{border:1px solid var(--border)}.di-parties h3,.di-parties strong{display:block;text-align:center}.di-parties p{padding:0 5px;margin:10px 0}.di-parties span{float:right}.di-print-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9px}.di-print-table th,.di-print-table td{border:1px solid var(--border);padding:6px 3px;text-align:center;vertical-align:middle;overflow-wrap:break-word}.di-print-table th{background:var(--soft);color:var(--accent);word-break:normal}.di-print-table small{display:block;font-size:8px;font-style:italic;margin-top:3px}.di-print-table .di-description{text-align:left}.di-below{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:8px 0 30px}.di-print-totals{min-width:0;font-size:inherit;width:100%;border-collapse:collapse}.di-print-totals th{text-align:left}.di-print-totals td{text-align:right;white-space:nowrap}.di-print-totals th,.di-print-totals td{padding:3px}.di-terms{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border)}.di-terms section{padding:5px}.di-terms section+section{border-left:1px solid var(--border)}.di-terms p{margin:3px 0;white-space:pre-wrap}.di-terms h3{text-align:center}.di-signature{display:grid;grid-template-columns:1fr 1fr;margin-top:16px;gap:20px}@media(max-width:600px){.di-print-toolbar{align-items:flex-start;flex-direction:column}.di-paper-scroll{height:calc(100% - 100px);padding:8px}}@media print{@page{size:A3 landscape;margin:8mm}body:has(.di-print-root)>:not(.di-print-root){display:none!important}.di-print-root{display:block!important;position:static!important;width:auto;height:auto;max-width:none;max-height:none;margin:0;padding:0;overflow:visible;border:0;background:var(--surface)}.di-print-root::backdrop,.di-print-toolbar{display:none!important}.di-paper-scroll{height:auto;padding:0;overflow:visible}.di-paper{min-width:0;padding:0;font-size:9px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.di-print-table{font-size:8px}.di-print-table thead{display:table-header-group}.di-print-table tr,.di-terms,.di-signature{break-inside:avoid}}.di-print-table th:first-child{white-space:nowrap;overflow-wrap:normal}.di-print-table thead{display:table-header-group}.di-print-table tbody{display:table-row-group}.di-print-table tr{display:table-row}.di-print-table th,.di-print-table td{display:table-cell}.di-print-table{border:1px solid var(--border);border-bottom:1px solid var(--border)!important}.di-print-table tbody tr:last-child td{border-bottom:1px solid var(--border)!important}.di-sign-line{display:inline-block;width:170px;border-bottom:1px solid var(--text);min-height:12px}.di-print-message{margin:0;padding:8px 18px;background:var(--surface)}.di-print-editor{background:var(--surface);padding:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.di-print-editor fieldset{min-width:0;border:1px solid var(--border)}.di-print-editor label{display:grid;gap:4px;margin:10px 0}.di-print-editor textarea{width:100%;min-height:65px;resize:vertical;padding:8px;border:1px solid var(--border);color:var(--text);background:var(--surface);font:14px/1.4 Arial,sans-serif}.di-paper-editing{display:none}.di-print-toolbar{flex-wrap:wrap}.di-print-toolbar>div{flex-wrap:wrap}@media print{.di-print-editor,.di-print-message{display:none!important}.di-paper-editing{display:block}.di-sign-line{border-bottom:1px solid var(--text)!important}}.di-totals-section{margin:1rem 0;min-width:0}.di-totals-section .di-print-totals{min-width:0;font-size:inherit;width:100%}.di-print-totals .di-total-deposit{color:var(--danger)}.di-print-totals .di-total-balance{font-weight:700;border-top:1px solid currentColor}.di-totals-note{font-size:.85em}.di-paper .di-totals-section{margin:0}@media(max-width:600px){.di-totals-section th{overflow-wrap:anywhere}.di-totals-section td{white-space:nowrap}}.di-paper .di-print-totals th,.di-paper .di-print-totals td{font-size:10px}.technical-heading{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap}.technical-heading span{color:var(--secondary)}.technical-search{display:flex;align-items:end;gap:.75rem;margin:1.5rem 0;flex-wrap:wrap}.technical-search label{flex:1;min-width:15rem;display:grid;gap:.5rem}.technical-search button{display:inline-flex;align-items:center;gap:.4rem}.technical-desktop{min-width:0}.technical-table{border-collapse:collapse;width:100%;text-align:left}.technical-table th,.technical-table td{padding:.8rem;border-bottom:1px solid var(--border)}.technical-table thead{background:var(--table-header-bg);color:var(--accent)}.technical-po span+span{margin-left:1.5rem;font-size:.85rem;font-weight:400}.technical-product{display:flex;align-items:center;gap:.75rem}.technical-product .product-card-image{flex:0 0 64px;width:64px;height:64px;aspect-ratio:1}.technical-product .product-card-image span{display:none}.technical-quantity{white-space:nowrap}.technical-table td:nth-child(3){width:35%;overflow-wrap:anywhere}.technical-mobile{display:none}@media(max-width:640px){.technical-desktop{display:none}.technical-mobile{display:grid;gap:1rem}.technical-po-cards{min-width:0}.technical-po-cards h2{padding:.8rem;background:var(--table-group-bg);border-radius:10px;font-size:1rem;overflow-wrap:anywhere}.technical-po-cards h2 small{display:block;font-size:.75rem;font-weight:400;margin-top:.35rem}.technical-card{display:grid;grid-template-columns:80px minmax(0,1fr);gap:.75rem;padding:1rem 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.technical-card .product-card-image{width:80px;height:80px;aspect-ratio:1}.technical-card .product-card-image span{display:none}.technical-card p{font-size:.8rem;margin:.35rem 0}.technical-search label{min-width:0;flex-basis:100%}}.technical-color{white-space:pre-wrap;overflow-wrap:anywhere}.bom-designer{margin-bottom:24px}.bom-heading,.bom-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bom-heading{justify-content:space-between}.bom-heading p,.bom-dirty-note{font-size:13px;color:var(--secondary)}.bom-actions{margin:12px 0}.bom-actions button{min-height:36px}.bom-message{padding:12px;background:var(--soft);border-left:3px solid var(--accent)}.bom-inputs{border:0;padding:0;margin:0;min-width:0}.bom-inputs:disabled input,.bom-inputs:disabled textarea{color:var(--text);opacity:1;-webkit-text-fill-color:var(--text)}.bom-designer label{font-size:12px;display:flex;flex-direction:column;gap:5px}.bom-designer input{min-width:0;width:100%;padding:9px;border:1px solid var(--border);border-radius:4px;font:inherit;background:var(--surface)}.bom-dimensions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.bom-photo{border:1px dashed var(--border);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px;color:var(--secondary)}.bom-photo img{width:100%;height:72px;object-fit:contain}.bom-photo button{font-size:11px}.bom-table-scroll{overflow:auto;width:100%;margin:12px 0}.bom-edit-table{min-width:1210px;table-layout:fixed;width:100%;border-collapse:collapse}.bom-edit-table th,.bom-edit-table td,.bom-hardware-table th,.bom-hardware-table td{border:1px solid var(--border);padding:0}.bom-edit-table th,.bom-hardware-table th{padding:10px 5px;background:var(--soft);text-align:center;font-size:12px}.bom-edit-table td:first-child{text-align:center;color:var(--secondary);font-size:12px}.bom-edit-table input,.bom-edit-table textarea,.bom-hardware-table input,.bom-hardware-table textarea{border:0;border-radius:0;background:transparent;width:100%;padding:10px 7px;font:inherit;min-height:48px}.bom-edit-table input{text-align:center}.bom-edit-table textarea,.bom-hardware-table textarea{resize:vertical;line-height:1.5;display:block;font-size:13px}.bom-edit-table td:last-child button{padding:3px;min-width:24px;border:0;background:transparent}.bom-edit-table .bom-group td{background:var(--soft)}.bom-edit-table .bom-group input{text-align:left;font-weight:700}.bom-hardware-table{min-width:800px;width:100%;border-collapse:collapse}.bom-history{margin-top:20px}.bom-edit-table td.bom-size-warning{background:#fee2e2;box-shadow:inset 0 0 0 1px #f87171}.bom-size-warning input{color:#a71919!important}.bom-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 140px;align-items:start;gap:var(--control-gap);margin-bottom:12px}.bom-meta-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--control-gap);padding-top:9px}.bom-dimension-group{min-width:0;margin:0;padding:12px 14px 14px;border:1px solid var(--border);border-radius:7px;background:var(--page)}.bom-dimension-group legend{font-size:12px;font-weight:600;color:var(--secondary);padding:0 5px}.bom-general-note{margin-bottom:18px}.bom-general-note textarea{font:inherit;border:1px solid var(--border);border-radius:5px;background:var(--surface);padding:10px;width:100%;min-height:42px;resize:vertical;line-height:1.5}@media(max-width:1100px){.bom-meta{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bom-photo{grid-column:2;grid-row:1 / 3;width:140px;justify-self:end}.bom-dimension-group{grid-column:1}}@media(max-width:650px){.bom-meta{grid-template-columns:minmax(0,1fr)}.bom-photo{grid-column:1;grid-row:auto;justify-self:start}}.bom-designer{padding:24px;min-width:0}.bom-heading h2{margin:0}.bom-toolbar{justify-content:flex-end;margin:0}.bom-admin-import{order:9}.bom-history{padding:18px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.bom-history summary{cursor:pointer;font-weight:600}.bom-readonly-table{width:100%;min-width:780px;border-collapse:collapse}.bom-readonly-table th,.bom-readonly-table td{padding:12px;border:1px solid var(--border);text-align:left;white-space:pre-wrap}.bom-readonly-table th{background:var(--soft)}.bom-readonly-table td:last-child{font-weight:600}.bom-list .bom-actions{align-items:flex-end}.bom-version-dialog{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;width:min(1000px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}.bom-version-dialog::backdrop{background:#0006}.bom-review{border:1px solid var(--border);padding:14px;background:var(--page)}@media(max-width:650px){.bom-designer{padding:12px}.bom-meta-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bom-meta{min-width:0}.bom-toolbar a{width:100%}.bom-readonly-table{display:table}}.bom-scroll-hint{font-size:12px;color:var(--secondary);margin:20px 0 0}.bom-table-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.bom-save-issues{max-height:45dvh;overflow-y:auto;padding-left:24px;overflow-wrap:anywhere}.bom-save-issues li{margin-block:8px}.bom-save-dialog .bom-actions{justify-content:flex-end}.bom-history-table{min-width:640px}.bom-history-table td:nth-child(2) small{display:block;color:var(--secondary);margin-top:4px}.bom-history-table td:last-child a{display:block}.bom-edit-table tbody tr:last-child td,.bom-hardware-table tbody tr:last-child td,.bom-readonly-table tbody tr:last-child td{border-bottom:1px solid var(--border)}.bom-heading{margin-bottom:16px}input,select,textarea{width:100%;min-width:0;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:10px 12px}input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent);flex-shrink:0}button{border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);padding:8px 12px}button:hover:not(:disabled){background:var(--soft)}.primary-button{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:600}.primary-button:hover:not(:disabled){background:var(--accent-hover)}form{display:grid;gap:18px}label{display:grid;gap:6px;font-size:14px;font-weight:500}label small,.form-hint,.muted{color:var(--secondary);font-size:12px;font-weight:400}.auth-card{max-width:440px;margin:64px auto;padding:32px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.auth-card h1{font-size:28px;margin:0 0 12px}.auth-card>p{color:var(--secondary);margin:0 0 24px}.auth-card .form-hint{margin:20px 0 0}.auth-card .group-label{margin:0 0 12px;font-size:11px;letter-spacing:.08em}.error-message{color:#9a2929;background:#fff1ef;border-radius:6px;padding:10px 12px;font-size:14px}.account-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.account-actions span{font-size:13px;margin-right:8px}.admin-page{padding:28px 0 48px}.admin-heading h1{margin:20px 0 6px;font-size:28px}.admin-heading p{color:var(--secondary);margin:0 0 24px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--border);margin-bottom:24px}.admin-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:12px 16px}.admin-tabs button[aria-current=page]{border-bottom-color:var(--accent);color:var(--accent);font-weight:600}.admin-toolbar,.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.admin-toolbar{justify-content:space-between;margin-bottom:20px}.filters{flex:1}.filters input{flex:1;min-width:180px}.filters select{width:auto;max-width:220px}.table-card{width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface)}table{border-collapse:collapse;width:100%;min-width:700px;font-size:13px;text-align:left}th,td{border-bottom:1px solid var(--border);padding:14px 12px;vertical-align:middle}thead{color:var(--secondary);background:var(--soft)}tbody tr:last-child td,tbody tr:last-child th{border-bottom:0}.pill{display:inline-block;margin:2px 4px 2px 0;padding:3px 8px;border-radius:20px;background:var(--soft);font-size:11px;white-space:nowrap}.pill.active{color:#24603c;background:#e4f0e7}.pill.locked{color:#962f2f;background:#f9e5e3}.block{display:block}.row-actions{display:flex;gap:4px;flex-wrap:wrap;min-width:170px}.row-actions button{padding:4px 6px;background:transparent;border:0;color:var(--accent);font-size:12px}.pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:16px;font-size:13px}.pagination span{margin-right:auto;color:var(--secondary)}.modal{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid var(--border);border-radius:12px;padding:24px;color:var(--text);background:var(--surface);font:inherit}.modal::backdrop{background:#21170d70}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.modal-heading h2{margin:0;font-size:21px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}fieldset{border:1px solid var(--border);border-radius:6px;padding:12px}.check-row{display:flex;align-items:center;gap:8px;margin:6px 0}.temporary-password{font:18px monospace;text-align:center}.role-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.role-list{display:flex;flex-direction:column;gap:4px;align-self:start;padding:8px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.role-list button{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:8px;padding:14px 10px;border:0}.role-list small{white-space:nowrap;color:var(--secondary)}.role-list button[aria-pressed=true]{background:var(--soft);color:var(--accent);font-weight:600}.role-detail{min-width:0}.role-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.role-heading h2{margin:0;font-size:21px}.role-heading p{margin:6px 0 0;font-size:13px;color:var(--secondary)}.role-heading button{flex-shrink:0}.role-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.permission-table{min-width:500px}.permission-table td{text-align:center}.permission-group{background:var(--soft);color:var(--secondary);text-transform:uppercase;font-size:11px}.empty-home{padding:48px 0;color:var(--secondary)}@media(max-width:760px){.role-layout{grid-template-columns:1fr}.role-list{display:grid;grid-template-columns:1fr 1fr}.role-heading{flex-direction:column}.role-meta{grid-template-columns:1fr}.account-actions span{display:none}.account-actions button{font-size:12px;padding:6px 8px}.admin-heading h1{font-size:24px}.auth-card{margin:32px auto;padding:24px}.admin-toolbar>button{width:100%}.filters{width:100%}.filters input{flex-basis:100%}.filters select{flex:1;min-width:140px;max-width:none}.admin-tabs button{padding:10px 8px;font-size:13px}.role-list button{padding:10px 6px;font-size:12px}}.account-actions .logout-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:8px;border:0;background:transparent}.account-page{max-width:640px;padding:28px 0 48px}.account-panel{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:24px;margin-top:20px}.account-panel h2{margin:0 0 20px;font-size:21px}.account-panel>p{color:var(--secondary);font-size:14px;margin:0 0 20px}.account-panel input[readonly]{background:var(--soft);color:var(--secondary)}.workspace,.di-print-root{--page: #f6f1ea;--surface: #fff;--text: #2b1d14;--secondary: #6b5a4c;--border: #e3d9cc;--danger: #9a2929;--success: #24654d;--success-soft: #e4f0e7;--accent: #7a4a2b;--soft: #f1e4d4;--accent-hover: #60391f;--table-header-bg: var(--soft);--table-header-text: var(--accent);--table-group-bg: #f0e9df;--table-border: var(--border);--primary: var(--accent);--background: var(--page);--muted: var(--secondary);--surface-soft: var(--soft);--radius: 10px;--heading-font: "Lora", Georgia, serif;--body-font: "Be Vietnam Pro", sans-serif}.workspace{--page-gutter: clamp(16px, 2vw, 32px);--page-padding-top: 24px;--page-padding-bottom: 48px;--section-gap: 24px;--panel-padding: 20px;--control-gap: 12px;--table-cell-padding-x: 12px;--table-cell-padding-y: 10px;--table-header-padding-y: 12px;--table-group-padding-y: 8px}@media(max-width:760px){.workspace{--page-padding-top: 20px;--page-padding-bottom: 32px;--section-gap: 16px;--panel-padding: 16px}}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}button:disabled{cursor:wait;opacity:.6}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2{font-family:var(--heading-font)}.workspace{min-height:100dvh;background:var(--page);color:var(--text);font:15px/1.6 var(--body-font)}.app-container{width:calc(100% - 2 * var(--page-gutter));min-width:0;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;height:100px;border-bottom:1px solid var(--border)}.brand{font-size:24px;font-weight:700;letter-spacing:.08em;text-decoration:none;color:var(--accent)}.home-groups{display:grid;gap:40px;padding:44px 0 56px}.home-group h2{margin:0 0 16px;font-size:18px;font-weight:600}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.module-link{display:flex;align-items:center;justify-content:center;min-height:104px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:8px;text-align:center;text-decoration:none;font-size:16px;font-weight:500;transition:border-color .15s,background .15s}.module-link:hover{border-color:var(--accent);background:var(--soft)}footer{padding:20px 0 28px;border-top:1px solid var(--border)}.connection{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--secondary);font-size:12px}.status-dot{width:7px;height:7px;border-radius:50%;background:#9b7028;flex-shrink:0}.status-dot.online{background:#24654d}.connection button{border:0;padding:6px 8px;text-decoration:underline;color:inherit;background:transparent}.module-page{padding:40px 0 80px;min-height:420px}.module-page h1{margin:4px 0 12px;font-size:30px;line-height:1.4}.module-page p{color:var(--secondary)}.group-label{margin:32px 0 0;font-size:13px}.back-link{color:var(--accent);text-underline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip-link{position:absolute;top:-100px;left:16px;background:var(--surface);padding:12px;z-index:10}.skip-link:focus{top:12px}@media(max-width:900px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.topbar{height:76px}.home-groups{gap:28px;padding:28px 0 36px}.module-grid{gap:12px}.module-link{padding:16px 12px;min-height:96px;font-size:14px}.home-group h2{font-size:17px;margin-bottom:12px}}@media(prefers-reduced-motion:reduce){.module-link{transition:none}}@media screen{.workspace table:not(:where(.di-paper *,.warehouse-document *))>thead>tr>:is(th,td){background:var(--table-header-bg);color:var(--table-header-text);border-color:var(--table-border);font-family:var(--body-font);font-size:13px;font-weight:600;line-height:1.5;padding:var(--table-header-padding-y) var(--table-cell-padding-x);vertical-align:middle;word-break:normal;overflow-wrap:normal}.workspace :is(.bom-edit-table,.bom-hardware-table)>thead>tr>th{padding-inline:5px}}@media screen and (min-width:761px){.workspace table:not(:where(.di-paper *,.warehouse-document *,.bom-edit-table,.bom-hardware-table))>tbody>tr>:is(th,td){padding:var(--table-cell-padding-y) var(--table-cell-padding-x)}.workspace table>tbody>:is(.ui-table-group,.product-group,.customer-country)>th{padding-block:var(--table-group-padding-y)}}@media screen{.workspace #main-content{min-width:0}.workspace #main-content>:is(.module-page,.products-page,.customers-page,.customer-profile-page,.admin-page,.data-page,.sync-page,.delivery-page,.production-page,.schedule-page,.warehouse-page,.revenue-page){width:100%;min-width:0;max-width:none;padding-block:var(--page-padding-top) var(--page-padding-bottom)}.workspace :is(.products-heading,.customers-heading,.product-profile-heading,.technical-heading,.revenue-heading,.schedule-heading,.warehouse-page>header){gap:var(--control-gap);margin-block:var(--section-gap)}.workspace :is(.customer-filters,.product-filters,.technical-search,.production-toolbar,.revenue-filters,.warehouse-actions,.warehouse-filters,.analytics-controls){gap:var(--control-gap);margin-block:var(--section-gap)}.workspace :is(.product-panel,.data-panel,.sync-panel,.delivery-panel,.revenue-panel,.profile-section){min-width:0;padding:var(--panel-padding);margin-block:var(--section-gap)}.workspace :is(.product-detail-grid,.product-orders,.product-bom-list,.product-spec-layout,.document-layout){gap:var(--section-gap)}.workspace :is(.ui-table-scroll,.table-card,.responsive-table-wrap,.customer-table-scroll,.product-table-wrap,.bom-table-scroll,.production-directory-scroll,.schedule-table-scroll,.warehouse-table,.revenue-table-scroll,.sync-table-wrap,.delivery-scroll,.analytics-table-scroll){min-width:0;max-width:100%;width:100%}.workspace .schedule-weekbar,.workspace .schedule-filters,.workspace .schedule-groups,.workspace .schedule-pagination{padding:var(--panel-padding)}.workspace .bom-meta{gap:var(--section-gap)}.workspace .bom-meta>*{min-width:0}}
