:root{--brand: #9e1b2a;--brand-dark: #6e1019;--brand-soft: #f8e9eb;--ink: #22191a;--ink-2: #4a3a3c;--muted: #84777a;--line: #eee7e4;--surface: #ffffff;--canvas: #f6f4f2;--shadow-sm: 0 1px 2px rgba(60, 20, 24, .04), 0 2px 8px rgba(60, 20, 24, .05);--shadow-md: 0 6px 20px rgba(60, 20, 24, .1)}html,body,#root,#root>.ant-app{height:100%;margin:0}body{background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app-shell{min-height:100vh}.app-sider{height:100vh;position:sticky!important;top:0;overflow:hidden;border-right:1px solid var(--line);box-shadow:1px 0 #00000003}.ant-layout-sider-children{height:calc(100vh - 48px);overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column}.ant-layout-sider-trigger{border-top:1px solid var(--line)}.app-sider .ant-menu{border-inline-end:none!important;padding-bottom:12px}.app-sider .ant-menu-item-selected{font-weight:600}.app-sider .ant-menu-item-selected:after{display:none}.app-sider .ant-menu-submenu-selected>.ant-menu-submenu-title{color:var(--brand);font-weight:600}.app-sider .ant-menu-sub .ant-menu-item{font-size:12.5px}.app-main{min-width:0}.side-brand{display:flex;align-items:center;gap:10px;padding:16px 16px 14px;margin-bottom:8px;border-bottom:1px solid var(--line);cursor:pointer;flex:0 0 auto}.side-brand img{width:46px;height:46px;object-fit:contain;flex:0 0 auto}.side-brand-name{color:var(--brand);font-weight:700;font-size:14px;letter-spacing:.04em;line-height:1.2;white-space:nowrap}.side-brand-sub{color:var(--muted);font-size:11px;margin-top:2px;letter-spacing:.02em}.side-brand.collapsed{justify-content:center;padding:14px 4px}.side-brand.collapsed img{width:40px;height:40px}.app-header{background:#ffffffeb!important;-webkit-backdrop-filter:saturate(160%) blur(8px);backdrop-filter:saturate(160%) blur(8px);padding:0 24px!important;height:60px!important;line-height:60px!important;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.app-header-left,.app-header-right{display:flex;align-items:center;gap:10px;min-width:0}.app-header-left{flex:1 1 auto}.app-header-right{flex:0 0 auto;gap:6px}.company-select{width:320px;max-width:100%;flex:0 1 320px;min-width:160px}.company-select .ant-select-selector{font-weight:600}.header-roles{display:inline-flex;gap:4px;white-space:nowrap;overflow:hidden}.header-roles .ant-tag{margin:0;border-radius:999px;padding:0 10px;font-size:11.5px;font-weight:500}.header-user-btn{display:inline-flex!important;align-items:center;gap:8px;height:40px!important;padding:4px 10px 4px 4px!important;border-radius:999px!important}.header-avatar{width:30px;height:30px;border-radius:50%;background:var(--brand);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:13px;line-height:1}.header-user{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:var(--ink-2);line-height:1}.app-content{padding:24px 28px 32px;min-width:0;max-width:1680px;width:100%;box-sizing:border-box}@media (max-width: 991px){.header-roles{display:none}}@media (max-width: 767px){.app-header{padding:0 12px!important}.app-content{padding:14px}.header-user{display:none}.header-user-btn{padding:4px!important}}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 16px;margin-bottom:18px;flex-wrap:wrap}.page-header>div:first-child{min-width:0;flex:1 1 260px}.page-header h2{margin:0;font-size:22px;font-weight:700;line-height:1.25;color:var(--ink);letter-spacing:-.01em}.page-header .muted{margin-top:4px;font-size:13px}.page-header>.ant-space{flex:0 1 auto;justify-content:flex-end}.page-header>.ant-space .ant-space-item>.ant-select,.page-header>.ant-space .ant-space-item>div>.ant-select{min-width:180px}.filter-bar{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:flex-end;margin-bottom:16px;padding:12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-sm)}.ant-card{border-color:var(--line)!important;box-shadow:var(--shadow-sm)}.ant-card-head{min-height:48px;border-bottom-color:var(--line)!important}.ant-card-head-title{font-weight:600;color:var(--ink)}.ant-table-wrapper{background:var(--surface);border-radius:12px;border:1px solid var(--line);box-shadow:var(--shadow-sm);overflow:hidden}.ant-card .ant-table-wrapper,.ant-drawer .ant-table-wrapper,.ant-modal .ant-table-wrapper,.ant-tabs-tabpane .ant-card .ant-table-wrapper{border:none;box-shadow:none;border-radius:8px}.ant-table-wrapper .ant-table{border-radius:12px}.ant-table-thead>tr>th{font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.ant-table-thead>tr>th:before{display:none}.ant-table-pagination.ant-pagination{padding:0 16px}.ant-tabs-nav{margin-bottom:16px!important}.ant-tabs-tab{font-weight:500}.ant-form-vertical .ant-form-item{margin-bottom:16px}.ant-form-vertical .ant-form-item-label{padding-bottom:4px}.ant-form-item-label>label{font-weight:500;color:var(--ink-2)}.ant-drawer-header{border-bottom-color:var(--line)!important}.ant-drawer-title{font-weight:700}.ant-modal .ant-modal-content{border-radius:14px}.ant-modal-title{font-weight:700!important}.ant-descriptions-item-label{color:var(--muted)!important;font-weight:500}.ant-tag{border-radius:6px;font-weight:500}.ant-btn{font-weight:500}.ant-alert{border-radius:10px}.ant-empty-description{color:var(--muted)}.num{text-align:right;font-variant-numeric:tabular-nums}.tile{cursor:pointer;transition:box-shadow .18s,transform .18s,border-color .18s;height:100%;border-radius:12px!important;position:relative;overflow:hidden}.tile:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--brand);opacity:.85}.tile .ant-card-body{padding:16px 18px 16px 20px!important}.tile:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);border-color:#e6d3d5!important}.tile .ant-statistic-title{font-size:12px;color:var(--muted);font-weight:500;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}.tile .ant-statistic-content{font-size:24px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.01em}.tile.warning:before{background:#d48806}.tile.danger:before{background:#cf3a3a}.tile.ok:before{background:#2e8b57}.tile.warning,.tile.danger,.tile.ok{border-left:none!important}.lines-table .ant-table-cell{vertical-align:top}.totals{width:100%;max-width:400px;margin-left:auto;border-collapse:collapse;background:#fcfaf9;border:1px solid var(--line);border-radius:10px;overflow:hidden}.totals td{padding:6px 12px}.totals td:last-child{text-align:right;font-variant-numeric:tabular-nums}.grand td{font-weight:700;border-top:1px solid var(--line);color:var(--brand);font-size:14px}.subtotal-row td{font-weight:600;background:#faf6f5}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(380px,46%) 1fr;background:var(--canvas)}.auth-brand{position:relative;color:#fff;padding:56px clamp(32px,4vw,64px) 32px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:radial-gradient(120% 80% at 0% 0%,#b8283a 0%,transparent 60%),linear-gradient(155deg,#8c1624,#5e0e17)}.auth-brand:after{content:"";position:absolute;right:-120px;bottom:-120px;width:420px;height:420px;border-radius:50%;border:60px solid rgba(255,255,255,.05)}.auth-brand-inner{position:relative;z-index:1;max-width:440px;margin:auto 0}.auth-logo{width:132px;height:132px;border-radius:28px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 40px #00000040;margin-bottom:28px}.auth-logo img{width:108px;height:auto}.auth-brand h1{margin:0;font-size:clamp(24px,2.6vw,36px);font-weight:800;letter-spacing:.04em;line-height:1.15;white-space:nowrap}.auth-tagline{margin:10px 0 28px;font-size:15px;opacity:.85;text-transform:uppercase;letter-spacing:.12em}.auth-highlights{list-style:none;padding:0;margin:0;display:grid;gap:12px}.auth-highlights li{display:flex;align-items:center;gap:10px;font-size:14.5px;opacity:.95}.auth-highlights .anticon{color:#ffd2d7;font-size:16px}.auth-brand-foot{position:relative;z-index:1;font-size:12.5px;opacity:.7;letter-spacing:.02em}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px 24px}.auth-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:40px 36px 32px;box-shadow:0 20px 50px #3c141814}.auth-card h2{margin:0;font-size:26px;font-weight:700;color:var(--ink);letter-spacing:-.01em}.auth-sub{margin:6px 0 26px;color:var(--muted);font-size:14px}.auth-card .ant-btn-primary{height:46px;font-size:15px;font-weight:600;border-radius:10px}.auth-card .ant-input-affix-wrapper,.auth-card .ant-input{border-radius:10px}.auth-qr{text-align:center;padding:14px;background:#faf6f5;border-radius:12px}.auth-qr .muted{word-break:break-all;font-size:12px;margin-top:6px}.auth-mobile-logo{display:none;align-items:center;gap:10px;margin-bottom:22px}.auth-mobile-logo img{width:48px;height:48px;object-fit:contain}.auth-mobile-logo span{color:var(--brand);font-weight:800;letter-spacing:.05em;font-size:16px}@media (max-width: 900px){.auth-page{grid-template-columns:1fr}.auth-brand{display:none}.auth-mobile-logo{display:flex}.auth-panel{padding:24px 16px;align-items:flex-start;padding-top:10vh}.auth-card{padding:28px 22px 24px}}.weight-display{font-size:48px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:1px}.muted{color:var(--muted)}
