:root{--app-bg: #f4f6fb;--app-border: #e6e9f0;--app-muted: #64748b;--app-primary: #2563eb;--app-sider-w: 248px;--app-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06)}html,body,#root{height:100%}body{margin:0;background:var(--app-bg);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}.app-shell{min-height:100vh;background:var(--app-bg)}.app-sider{position:sticky!important;top:0;height:100vh;border-right:1px solid var(--app-border);display:flex;flex-direction:column}.app-sider>.ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.app-sider-scroll{flex:1;overflow-y:auto;overflow-x:hidden;padding-bottom:8px}.app-sider-scroll::-webkit-scrollbar{width:6px}.app-sider-scroll::-webkit-scrollbar-thumb{background:#d6dbe5;border-radius:3px}.app-sider-foot{border-top:1px solid var(--app-border);padding:8px}.app-brand{height:60px;display:flex;align-items:center;gap:10px;padding:0 20px;flex-shrink:0}.ant-layout-sider-collapsed .app-brand{justify-content:center;padding:0}.app-brand-mark{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-weight:800;font-size:13px;letter-spacing:.5px}.app-brand-name{font-weight:700;font-size:18px;color:#0f172a}.app-menu.ant-menu{border-inline-end:none!important;background:transparent}.app-menu .ant-menu-item,.app-menu .ant-menu-submenu-title{border-radius:8px}.app-menu .ant-menu-item-selected{font-weight:600}.app-drawer .app-brand{border-bottom:1px solid var(--app-border)}.app-drawer-company{display:flex;flex-direction:column;padding:10px 20px;border-bottom:1px solid var(--app-border);background:#f8fafc}.app-header{position:sticky;top:0;z-index:20;height:60px;line-height:normal;display:flex;align-items:center;gap:8px;padding:0 20px!important;background:#ffffffeb!important;-webkit-backdrop-filter:saturate(180%) blur(8px);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--app-border)}.app-header-context{flex:1;min-width:0;display:flex;align-items:center;gap:8px;overflow:hidden}.app-company-select{min-width:160px;max-width:320px;font-weight:600}.app-company-select .ant-select-selection-item{font-weight:600;font-size:15px}.app-company-name{font-size:15px;max-width:100%}.app-branch-select{min-width:130px}.app-user{cursor:pointer;padding:4px 6px;border-radius:10px;transition:background .15s}.app-user:hover{background:#f1f5f9}.app-avatar{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;font-weight:600;font-size:13px!important}.app-user-text{display:flex;flex-direction:column;line-height:1.2}.app-user-name{font-weight:600;font-size:13px;color:#0f172a}.app-user-role{font-size:11px;color:var(--app-muted)}.app-content{padding:20px;min-width:0}.app-banner{margin-bottom:12px;border-radius:8px}.ant-card{box-shadow:var(--app-shadow)}.ant-card-bordered{border-color:var(--app-border)!important}.ant-card .ant-card-head{min-height:52px}.ant-card .ant-card-head-title{font-weight:600}.ant-table-wrapper .ant-table{border-radius:8px}.ant-table-wrapper .ant-table-thead>tr>th{font-weight:600;font-size:12.5px;text-transform:none;white-space:nowrap}.ant-table-wrapper .ant-table-tbody>tr>td{vertical-align:middle}.ant-table-wrapper{max-width:100%}.ant-table-content,.ant-table-body{overflow-x:auto!important;-webkit-overflow-scrolling:touch}.ant-table-pagination.ant-pagination{flex-wrap:wrap;row-gap:8px}.ant-statistic-title{font-size:13px;color:var(--app-muted)}.ant-drawer .ant-drawer-content-wrapper{max-width:100vw}.ant-descriptions-item-label{white-space:nowrap}pre{white-space:pre-wrap;word-break:break-word}@media(max-width:991px){.app-content{padding:14px}.app-header{padding:0 12px!important}}@media(max-width:767px){.app-content{padding:10px 8px 24px}.app-header{height:56px;gap:4px;padding:0 8px!important}.ant-card .ant-card-head{padding:0 12px}.ant-card .ant-card-head-wrapper{flex-wrap:wrap;row-gap:8px;padding:10px 0}.ant-card .ant-card-head-title{flex:1 1 100%;white-space:normal;padding:0}.ant-card .ant-card-extra{margin-inline-start:0!important;flex:1 1 100%}.ant-card .ant-card-extra>.ant-space,.ant-card .ant-card-extra>.ant-btn{width:100%}.ant-card .ant-card-body{padding:12px}.ant-card-small>.ant-card-body{padding:10px}.ant-space-wrap{width:100%}.ant-space-wrap>.ant-space-item:has(.ant-select,.ant-picker,.ant-input,.ant-input-number,.ant-input-affix-wrapper,.ant-input-group-wrapper,.ant-segmented){flex:1 1 100%}.ant-space-wrap>.ant-space-item>.ant-select,.ant-space-wrap>.ant-space-item>.ant-picker,.ant-space-wrap>.ant-space-item>.ant-input,.ant-space-wrap>.ant-space-item>.ant-input-affix-wrapper,.ant-space-wrap>.ant-space-item>.ant-input-number,.ant-space-wrap>.ant-space-item>.ant-input-number-group-wrapper,.ant-space-wrap>.ant-space-item>.ant-input-group-wrapper,.ant-space-wrap>.ant-space-item>.ant-input-search,.ant-space-wrap>.ant-space-item>div[style*=width]{width:100%!important;max-width:100%!important}.ant-picker-range{width:100%!important}.ant-picker-panels{flex-direction:column}.ant-segmented{max-width:100%;overflow-x:auto}.ant-form .ant-row>.ant-col{flex:0 0 100%!important;max-width:100%!important}.ant-form-item{margin-bottom:14px}.ant-table-wrapper .ant-table-thead>tr>th,.ant-table-wrapper .ant-table-tbody>tr>td{padding:8px!important;font-size:13px}.ant-table-content>table,.ant-table-body>table{min-width:620px}.ant-table-pagination .ant-pagination-options{display:none}.ant-descriptions-bordered .ant-descriptions-row{display:flex;flex-wrap:wrap}.ant-descriptions-bordered .ant-descriptions-item-label,.ant-descriptions-bordered .ant-descriptions-item-content{flex:1 1 100%;display:block}.ant-drawer-right>.ant-drawer-content-wrapper,.ant-drawer-left>.ant-drawer-content-wrapper:not(:has(.app-drawer)){width:100vw!important}.ant-drawer .ant-drawer-body{padding:14px}.ant-drawer .ant-drawer-header{padding:12px 14px}.ant-modal{max-width:calc(100vw - 16px)!important;margin:8px auto!important;top:8px!important;padding-bottom:8px}.ant-modal .ant-modal-content{padding:16px}.ant-statistic-content{font-size:20px!important}.ant-tabs-nav{margin-bottom:10px!important}.ant-typography h4,h4.ant-typography{font-size:18px}.hide-on-phone{display:none!important}}.auth-page{min-height:100vh;display:flex;background:var(--app-bg)}.auth-hero{flex:1 1 50%;display:flex;flex-direction:column;justify-content:space-between;padding:48px;background:radial-gradient(1200px 600px at 0% 0%,#3b82f6,#2563eb,#4338ca 70%,#312e81);color:#fff}.auth-hero h1{font-size:34px;line-height:1.2;margin:0 0 12px;font-weight:700}.auth-hero p{opacity:.85;font-size:15px;max-width:460px}.auth-hero ul{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:10px}.auth-hero li{display:flex;gap:10px;align-items:center;opacity:.95}.auth-panel{flex:1 1 50%;display:flex;align-items:center;justify-content:center;padding:24px 16px}.auth-card{width:100%;max-width:400px}@media(max-width:900px){.auth-hero{display:none}}
