:root{font-family:var(--app-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif);font-size:var(--app-font-size,16px);line-height:var(--app-line-height,1.5);--app-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--app-font-size:16px;--app-font-color:unset;--app-bg-color:unset;--app-accent-color:unset;--app-border-radius:24px;--app-line-height:1.5;--app-spacing:16px}:root,.theme-dark,html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-primary:#0f172a;--bg-secondary:#1e293b;--bg-card:var(--app-card-bg,#0f172ad9);--bg-card-hover:var(--app-card-bg-hover,#1e293be6);--text-primary:var(--app-text-primary,#f8fafc);--text-secondary:var(--app-text-secondary,#cbd5e1);--text-muted:var(--app-text-muted,#94a3b8);--border-color:var(--app-border-color,#94a3b826);--gradient-bg:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#0f172a 100%)}.theme-light,html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-primary:#f1f5f9;--bg-secondary:#e2e8f0;--bg-card:var(--app-card-bg,#ffffffe6);--bg-card-hover:var(--app-card-bg-hover,#f1f5f9f2);--text-primary:var(--app-text-primary,#0f172a);--text-secondary:var(--app-text-secondary,#334155);--text-muted:var(--app-text-muted,#64748b);--border-color:var(--app-border-color,#0f172a1f);--gradient-bg:linear-gradient(135deg,#f1f5f9 0%,#e2e8f0 50%,#f1f5f9 100%)}html,body{background:var(--app-bg-color,var(--gradient-bg));min-height:100%;color:var(--app-font-color,var(--text-primary));margin:0;padding:0}body{min-height:100vh;line-height:var(--app-line-height,1.5);font-family:inherit}a{color:inherit;text-decoration:none}button{font-family:inherit}button.primary,a.primary{color:var(--app-accent-color,#60a5fa)}img{max-width:100%;height:auto;display:block}table{border-collapse:collapse;width:100%}th,td{text-align:left}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page-shell{flex-direction:column;min-height:100vh;display:flex}.card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--app-border-radius,24px);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 20px 60px #00000059}.scroll-shadow{position:relative}.scroll-shadow:before,.scroll-shadow:after{content:"";pointer-events:none;z-index:1;height:16px;position:absolute;left:0;right:0}.scroll-shadow:before{background:linear-gradient(180deg,var(--bg-primary),transparent);top:0}.scroll-shadow:after{background:linear-gradient(0deg,var(--bg-primary),transparent);bottom:0}.responsive-form-grid.master-form-grid--agent,.responsive-form-grid.master-form-grid--customer,.responsive-form-grid.master-form-grid--customer-group,.responsive-form-grid.master-form-grid--supplier-group,.responsive-form-grid.master-form-grid--account-type,.responsive-form-grid.master-form-grid--group,.responsive-form-grid.master-form-grid--screen-item,.responsive-form-grid.master-form-grid--finished-item{align-items:start;flex-direction:unset!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:18px!important;display:grid!important}.responsive-form-grid.master-form-grid--account,.responsive-form-grid.master-form-grid--haste{align-items:start;flex-direction:unset!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:18px!important;display:grid!important}.responsive-form-grid.master-form-grid--agent>div,.responsive-form-grid.master-form-grid--customer>div,.responsive-form-grid.master-form-grid--customer-group>div,.responsive-form-grid.master-form-grid--supplier-group>div,.responsive-form-grid.master-form-grid--account-type>div,.responsive-form-grid.master-form-grid--account>div,.responsive-form-grid.master-form-grid--haste>div,.responsive-form-grid.master-form-grid--group>div,.responsive-form-grid.master-form-grid--screen-item>div,.responsive-form-grid.master-form-grid--finished-item>div{min-width:0;width:auto!important;max-width:none!important}@media (max-width:900px){.responsive-form-grid.master-form-grid--agent,.responsive-form-grid.master-form-grid--customer,.responsive-form-grid.master-form-grid--customer-group,.responsive-form-grid.master-form-grid--supplier-group,.responsive-form-grid.master-form-grid--account-type,.responsive-form-grid.master-form-grid--group,.responsive-form-grid.master-form-grid--screen-item,.responsive-form-grid.master-form-grid--finished-item,.responsive-form-grid.master-form-grid--account,.responsive-form-grid.master-form-grid--haste{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (max-width:520px){.responsive-form-grid.master-form-grid--agent,.responsive-form-grid.master-form-grid--customer,.responsive-form-grid.master-form-grid--customer-group,.responsive-form-grid.master-form-grid--supplier-group,.responsive-form-grid.master-form-grid--account-type,.responsive-form-grid.master-form-grid--group,.responsive-form-grid.master-form-grid--screen-item,.responsive-form-grid.master-form-grid--finished-item,.responsive-form-grid.master-form-grid--account,.responsive-form-grid.master-form-grid--haste{grid-template-columns:minmax(0,1fr)!important}}.master-form-grid--agent .master-city-state-row,.master-form-grid--customer .master-city-state-row,.master-form-grid--customer-group .master-city-state-row,.master-form-grid--supplier-group .master-city-state-row,.master-form-grid--group .master-city-state-row,.master-form-grid--account .master-city-state-row,.master-form-grid--haste .master-city-state-row,.master-form-grid--screen-item .master-city-state-row,.master-form-grid--finished-item .master-city-state-row{align-items:stretch}.master-form-grid--agent .master-city-state-row .master-city-state-add-btn,.master-form-grid--customer .master-city-state-row .master-city-state-add-btn,.master-form-grid--customer-group .master-city-state-row .master-city-state-add-btn,.master-form-grid--supplier-group .master-city-state-row .master-city-state-add-btn,.master-form-grid--group .master-city-state-row .master-city-state-add-btn,.master-form-grid--account .master-city-state-row .master-city-state-add-btn,.master-form-grid--haste .master-city-state-row .master-city-state-add-btn,.master-form-grid--screen-item .master-city-state-row .master-city-state-add-btn,.master-form-grid--finished-item .master-city-state-row .master-city-state-add-btn{align-self:stretch;width:44px;min-width:44px;height:auto;min-height:42px}.master-form-grid--agent .master-quick-add-section-span{grid-column:1/-1}.responsive-form-grid.master-form-grid--agent>.master-quick-add-grid-spacer,.responsive-form-grid.master-form-grid--supplier-group>.master-quick-add-grid-spacer{visibility:hidden;pointer-events:none;border:0;min-height:0;margin:0;padding:0}.master-city-state-row{box-sizing:border-box;flex-wrap:nowrap;align-items:stretch;gap:8px;width:100%;display:flex}.master-city-state-row .master-city-state-select{flex:1 1 0;min-width:0}.master-city-state-row .master-city-state-add-btn{border:1px solid var(--border-color);background:var(--bg-elevated,#ffffff0f);width:44px;min-width:44px;color:var(--text-primary);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;z-index:2;box-sizing:border-box;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;font-size:22px;line-height:1;display:inline-flex;position:relative}.master-city-state-row .master-city-state-add-btn:disabled{opacity:.45;cursor:not-allowed}@media (max-width:768px){.master-city-state-row{gap:10px}.master-city-state-row .master-city-state-add-btn{width:48px;min-width:48px}}@media (min-width:769px){.app-header .app-header-user-card{box-sizing:border-box;min-width:220px;max-width:min(340px,36vw)}.app-header .app-header-user-names span:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:min(240px,22vw);overflow:hidden}}@media (max-width:768px){.app-header-account-menu{box-sizing:border-box!important;border-radius:9px!important;gap:5px!important;width:100%!important;min-width:0!important;max-width:none!important;margin-top:5px!important;padding:5px!important;left:0!important;right:0!important}.app-header-account-menu__btn{box-sizing:border-box!important;border-radius:7px!important;justify-content:flex-start!important;gap:6px!important;width:100%!important;padding:7px 9px!important;font-size:11px!important}.app-header-account-menu__icon{flex-shrink:0;font-size:13px!important}}@media (max-width:380px){.app-header-account-menu__btn{padding:6px 8px!important;font-size:10px!important}.app-header-account-menu{gap:4px!important;padding:4px!important}}@media (max-width:768px){.app-main-layout{flex-direction:column}.app-sidebar{border-right:none;border-bottom:1px solid var(--border-color);max-height:min(45vh,360px);overflow-y:auto;width:100%!important;height:auto!important;padding:12px 0!important;position:static!important;top:auto!important}.home-main-content{width:100%;min-width:0;overflow-x:hidden;max-width:100%!important;padding:12px 10px!important}.app-header{box-sizing:border-box;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;overflow-x:hidden;align-items:center!important;gap:10px!important;min-height:0!important;padding:10px 12px!important;display:grid!important}.app-header-brand{grid-area:1/1;align-self:flex-start;max-width:100%;width:auto!important;min-width:0!important}.app-header-brand-text{min-width:0;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:4px!important}.app-header-brand-text h1{white-space:normal!important;text-overflow:unset!important;max-width:none!important;color:var(--app-text-primary,var(--text-primary))!important;margin:0!important;font-size:16px!important;font-weight:600!important;line-height:1.25!important;overflow:visible!important}.app-header-brand-tagline{display:block;white-space:normal!important;max-width:none!important;color:var(--app-text-muted,var(--text-muted))!important;font-size:11px!important;line-height:1.25!important;overflow:visible!important}.app-header-user{grid-area:1/2;min-width:0;max-width:100%;flex-flow:row!important;justify-content:flex-end!important;align-items:center!important;gap:6px!important;width:auto!important}.app-header-user-card{flex:0 auto;max-width:min(260px,72vw);gap:8px!important;min-width:min(200px,58vw)!important;padding:4px 8px!important}.app-header-user-names{min-width:0;flex-flow:row!important;align-items:baseline!important;gap:4px!important}.app-header-user-names span:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:min(140px,42vw);overflow:hidden;font-size:11px!important}.app-header-user-names span:last-child{flex-shrink:0;font-size:10px!important}.app-header-user-names span:last-child:before{content:"·";color:var(--text-muted);margin-right:4px;font-weight:600}.app-header-actions{flex-flow:row!important;align-items:center!important;gap:6px!important;width:auto!important}.app-header-actions button{flex-shrink:0;min-width:0;width:auto!important;padding:6px 8px!important;font-size:11px!important}.app-header-actions button span:last-child{display:none}.app-header-filters{grid-area:2/1/auto/-1;flex-direction:column!important;flex:none!important;justify-content:flex-start!important;align-items:stretch!important;gap:14px!important;width:100%!important;max-width:100%!important}.app-header-filter-field,.app-header-filter-field select{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important}.master-content-area{box-sizing:border-box;max-width:100%;overflow-x:hidden;padding:14px 12px!important}.settings-module-root{box-sizing:border-box;max-width:100%;overflow-x:hidden}.settings-module-layout{flex-direction:column!important;min-height:0!important}.settings-module-nav{border-bottom:1px solid var(--border-color);flex-shrink:0;border-right:none!important;width:100%!important;max-width:100%!important;padding:12px!important}.settings-module-panel{box-sizing:border-box;max-width:100%;overflow-x:hidden;min-width:0!important;padding:16px 12px!important}.settings-module-panel h2{margin-bottom:16px!important;font-size:18px!important}.settings-field-wrap{box-sizing:border-box;width:100%!important;max-width:100%!important}.settings-field-wrap>*{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.settings-order-textarea{box-sizing:border-box;max-width:100%!important}.settings-color-picker{width:100%;flex-direction:column!important;align-items:stretch!important;gap:10px!important}.settings-color-picker input[type=color]{box-sizing:border-box;max-width:100%;height:44px;width:100%!important}.settings-color-picker-hex{box-sizing:border-box;width:100%!important;max-width:100%!important}.settings-module-actions{flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin-top:24px!important}.settings-module-actions button{box-sizing:border-box;width:100%!important}.responsive-form-grid:not(.master-form-grid--agent):not(.master-form-grid--customer):not(.master-form-grid--customer-group):not(.master-form-grid--supplier-group):not(.master-form-grid--account-type):not(.master-form-grid--account):not(.master-form-grid--haste):not(.master-form-grid--group):not(.master-form-grid--screen-item):not(.master-form-grid--finished-item){flex-direction:column!important;grid-template-columns:none!important;gap:14px!important;display:flex!important}.responsive-form-grid:not(.master-form-grid--agent):not(.master-form-grid--customer):not(.master-form-grid--customer-group):not(.master-form-grid--supplier-group):not(.master-form-grid--account-type):not(.master-form-grid--account):not(.master-form-grid--haste):not(.master-form-grid--group):not(.master-form-grid--screen-item):not(.master-form-grid--finished-item)>*{grid-column:unset!important;width:100%!important;min-width:0!important;max-width:100%!important}.responsive-form-grid:not(.master-form-grid--agent):not(.master-form-grid--customer):not(.master-form-grid--customer-group):not(.master-form-grid--supplier-group):not(.master-form-grid--account-type):not(.master-form-grid--account):not(.master-form-grid--haste):not(.master-form-grid--group):not(.master-form-grid--screen-item):not(.master-form-grid--finished-item) input:not([type=checkbox]):not([type=radio]),.responsive-form-grid:not(.master-form-grid--agent):not(.master-form-grid--customer):not(.master-form-grid--customer-group):not(.master-form-grid--supplier-group):not(.master-form-grid--account-type):not(.master-form-grid--account):not(.master-form-grid--haste):not(.master-form-grid--group):not(.master-form-grid--screen-item):not(.master-form-grid--finished-item) select,.responsive-form-grid:not(.master-form-grid--agent):not(.master-form-grid--customer):not(.master-form-grid--customer-group):not(.master-form-grid--supplier-group):not(.master-form-grid--account-type):not(.master-form-grid--account):not(.master-form-grid--haste):not(.master-form-grid--group):not(.master-form-grid--screen-item):not(.master-form-grid--finished-item) textarea{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important}.order-form-items-table-wrap{width:100%;max-width:100%;overflow-x:visible!important}.order-form-items-table{width:100%;display:block;min-width:0!important}.order-form-items-table thead{display:none}.order-form-items-table tbody{width:100%;display:block}.order-form-items-table tbody tr{border:1px solid var(--border-color);box-sizing:border-box;background:#0f172a59;border-radius:12px;flex-direction:column;gap:10px;width:100%;margin-bottom:16px;padding:14px 12px;display:flex}.order-form-items-table tbody td{box-sizing:border-box;display:block;text-align:left!important;border:none!important;width:100%!important;padding:0!important}.order-form-items-table tbody td:before{content:attr(data-label);color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;font-size:11px;font-weight:600;display:block}.order-form-items-table tbody td input,.order-form-items-table tbody td select,.order-form-items-table tbody td>button{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important}.order-form-items-table tbody td .master-city-state-row{box-sizing:border-box;flex-flow:row!important;align-items:stretch!important;gap:8px!important;width:100%!important;max-width:100%!important;display:flex!important}.order-form-items-table tbody td .master-city-state-row .master-city-state-select{flex:1 1 0!important;min-width:0!important;max-width:none!important}.order-form-items-table tbody td .master-city-state-row .master-city-state-add-btn{box-sizing:border-box!important;flex:0 0 48px!important;align-self:stretch!important;width:48px!important;min-width:48px!important;max-width:48px!important}.order-form-items-tfoot{width:100%;margin-top:8px;display:block}.order-form-items-tfoot tr{background:#38bdf81f;border:1px solid #38bdf859;border-radius:10px;flex-direction:column;gap:6px;padding:12px;display:flex}.order-form-items-tfoot td{width:100%!important;padding:6px 0!important;display:block!important}.order-form-items-tfoot td>div{width:100%!important;max-width:100%!important}.order-form-items-tfoot td[data-label]{box-sizing:border-box;flex-flow:row!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:6px 0!important;display:flex!important}.order-form-items-tfoot td[data-label]:before{content:attr(data-label);min-width:0;color:var(--text-secondary);text-transform:none;letter-spacing:normal;flex:auto;font-size:13px;font-weight:600;display:block;margin-bottom:0!important}.order-form-items-tfoot td[data-label]>div{flex:none;margin-left:auto;text-align:right!important;width:auto!important;max-width:none!important;padding:4px 0!important;font-size:14px!important;font-weight:700!important}.order-form-items-tfoot td.order-form-tfoot-summary-title:before{content:none!important;display:none!important}.order-form-items-tfoot td.order-form-tfoot-empty{border:none!important;height:0!important;margin:0!important;padding:0!important;display:none!important;overflow:hidden!important}.order-form-add-row-desktop{display:none!important}.order-form-items-table tbody tr.order-form-add-row-slot{background:#22c55e0f;border-style:dashed;border-color:#22c55e59;padding:12px!important}.order-form-items-table tbody tr.order-form-add-row-slot td:before{content:none!important;display:none!important}.order-form-order-no-party-row{flex-direction:column!important;align-items:stretch!important;gap:12px!important;max-width:100%!important}.order-form-order-no-party-row .order-form-order-no-field,.order-form-order-no-party-row .order-form-party-order-no-field,.order-form-order-no-party-row .order-form-party-order-no-field input,.order-form-order-no-party-row .order-form-order-no-field>input{width:100%!important;max-width:100%!important}.order-form-order-no-party-row .order-form-order-no-field .order-form-ord-no-row{flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;width:100%!important;min-width:0!important;display:flex!important}.order-form-order-no-party-row .order-form-order-no-field .order-form-ord-no-row input:first-child{flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:none!important}.order-form-order-no-party-row .order-form-order-no-field .order-form-ord-no-row input:last-child{text-align:center!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important}.reports-module-root{box-sizing:border-box;max-width:100%;overflow-x:hidden;padding:14px 12px!important}.reports-module-root>h2{margin-bottom:14px!important;font-size:20px!important}.reports-toolbar{flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin-bottom:14px!important}.reports-toolbar select{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important}.reports-toolbar span{width:100%;padding:4px 0;display:block}.reports-actions{flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin-bottom:12px!important}.reports-actions button{box-sizing:border-box;text-align:center;width:100%!important}.reports-table-wrap{width:100%;max-width:100%;overflow-x:visible!important}.reports-data-table{width:100%;display:block;min-width:0!important}.reports-data-table thead{display:none}.reports-data-table tbody{width:100%;display:block}.reports-data-table tbody tr{border:1px solid var(--border-color);box-sizing:border-box;background:#0f172a59;border-radius:12px;flex-direction:column;gap:10px;margin-bottom:14px;padding:14px 12px;display:flex}.reports-data-table tbody td{word-break:break-word;width:100%!important;color:var(--text-primary,var(--app-text-primary))!important;border:none!important;padding:0!important;display:block!important}.reports-data-table tbody td:before{content:attr(data-label);color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;font-size:11px;font-weight:600;display:block}.report-print-actions{flex-direction:column!important;align-items:stretch!important}.report-print-actions button,.report-print-actions select{box-sizing:border-box;width:100%!important}.report-print-actions label{flex-direction:column!important;align-items:stretch!important;gap:8px!important}:root{font-size:15px}.card{border-radius:20px}}@media (min-width:769px){.order-form-add-row-slot{display:none!important}}@media (max-width:480px){:root{font-size:14px}body{line-height:1.45}}@media print{header,aside,.reports-module-no-print button,.reports-module-no-print select,.reports-module-no-print>h2,.reports-module-no-print>p{display:none!important}.reports-module-no-print .print-report-title{margin-bottom:12px;font-size:18px;font-weight:600;display:block!important}.reports-module-no-print table{font-size:11px}.reports-data-table{width:100%!important;display:table!important}.reports-data-table thead{display:table-header-group!important}.reports-data-table tbody{display:table-row-group!important}.reports-data-table tbody tr{background:0 0!important;border:none!important;border-radius:0!important;margin:0!important;padding:0!important;display:table-row!important}.reports-data-table tbody td{border-bottom:1px solid #ccc!important;padding:6px 8px!important;display:table-cell!important}.reports-data-table tbody td:before{content:none!important;display:none!important}}.print-report-title{display:none}.dashboard-module-root{box-sizing:border-box;width:100%;max-width:100%;overflow-x:clip}.dashboard-module-stat-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,152px),1fr));gap:16px;width:100%;display:grid}.dashboard-module-section{box-sizing:border-box;width:100%;max-width:100%}@media (max-width:640px){.dashboard-module-section{border-radius:16px!important;padding:16px!important}.dashboard-module-stat-grid{grid-template-columns:1fr;gap:12px}.dashboard-module-stat-card{flex:none!important;width:100%!important;min-width:0!important}.dashboard-module-title{font-size:20px!important}.dashboard-module-subtitle{font-size:16px!important}}@media (min-width:641px) and (max-width:900px){.dashboard-module-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
