:root{--primary:#2563eb;--primary-hover:#1d4ed8;--primary-light:#2563eb14;--sidebar-bg:#0f172a;--content-bg:#f5f7fa;--card-bg:#fff;--card-bg-hover:#f8fafc;--border:#e2e8f0;--border-light:#f1f5f9;--text-primary:#0f172a;--text-secondary:#475569;--text-tertiary:#94a3b8;--success:#059669;--success-light:#05966914;--warning:#d97706;--warning-light:#d9770614;--danger:#dc2626;--danger-light:#dc26260f;--info:#0369a1;--info-light:#0369a114;--purple:#7c3aed;--purple-light:#7c3aed14;--pink:#db2777;--pink-light:#db277714;--shadow-xs:0 1px 2px #0000000a;--shadow-sm:0 1px 3px #0000000f;--shadow-md:0 4px 12px #0000000f;--shadow-lg:0 12px 32px #00000014;--radius-sm:6px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--transition:.18s cubic-bezier(.4, 0, .2, 1)}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{font-size:14px}body{-webkit-font-smoothing:antialiased;background:var(--content-bg);color:var(--text-primary);font-feature-settings:"tnum";font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.6}#root{min-height:100vh}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.ant-card{transition:box-shadow var(--transition), border-color var(--transition);border-radius:var(--radius-lg)!important;border:1px solid var(--border)!important;background:var(--card-bg)!important;box-shadow:var(--shadow-xs)!important}.ant-card:hover{border-color:#cbd5e1}.ant-card-head{border-bottom:1px solid var(--border)!important;min-height:auto!important;padding:14px 20px!important}.ant-card-head-title{color:var(--text-primary)!important;font-size:14px!important;font-weight:600!important}.ant-card-body{padding:20px!important}.ant-card-hoverable:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)!important}.ant-table{color:var(--text-primary)!important;background:0 0!important;font-size:13px!important}.ant-table-thead>tr>th{letter-spacing:.3px;color:var(--text-secondary)!important;border-bottom:1px solid var(--border)!important;background:#f8fafc!important;padding:10px 12px!important;font-size:12px!important;font-weight:600!important}.ant-table-tbody>tr>td{border-bottom:1px solid var(--border-light)!important;padding:10px 12px!important}.ant-table-tbody>tr:hover>td{background:#f8fafc!important}.ant-table-tbody>tr:last-child>td{border-bottom:none!important}.ant-table-tbody>tr.ant-table-row-selected>td{background:var(--info-light)!important}.react-resizable{position:relative}.react-resizable-handle{cursor:col-resize;z-index:1;width:4px;position:absolute;top:0;bottom:0;right:-2px}.react-resizable-handle:hover{background:var(--info)}.ant-btn{transition:all var(--transition);border-radius:var(--radius-md)!important;box-shadow:none!important;font-weight:500!important}.ant-btn-primary{background:var(--primary)!important;border-color:var(--primary)!important}.ant-btn-primary:hover{background:var(--primary-hover)!important}.ant-btn-default{border-color:var(--border)!important;background:#fff!important}.ant-btn-default:hover{border-color:var(--primary)!important;color:var(--primary)!important}.ant-btn-text{color:var(--text-secondary)!important}.ant-btn-text:hover{color:var(--text-primary)!important;background:#f1f5f9!important}.ant-btn:active{transform:scale(.97)}.ant-input,.ant-input-number,.ant-picker,.ant-select-selector,.ant-input-affix-wrapper{transition:all var(--transition);border-radius:var(--radius-md)!important;border-color:var(--border)!important;color:var(--text-primary)!important;background:#fff!important}.ant-input::placeholder{color:var(--text-tertiary)!important}.ant-input:hover,.ant-input-number:hover,.ant-picker:hover,.ant-select-selector:hover,.ant-input-affix-wrapper:hover{border-color:#94a3b8!important}.ant-input:focus,.ant-input-focused,.ant-input-number-focused,.ant-picker-focused,.ant-select-focused .ant-select-selector,.ant-input-affix-wrapper-focused{border-color:var(--info)!important;box-shadow:0 0 0 2px #0369a11f!important}.ant-modal-content{border-radius:var(--radius-xl)!important;border:1px solid var(--border)!important;box-shadow:var(--shadow-lg)!important}.ant-modal-header{border-bottom:1px solid var(--border)!important;padding:20px 24px 16px!important}.ant-modal-title{font-size:16px!important;font-weight:700!important}.ant-modal-body{padding:24px!important}.ant-modal-footer{border-top:1px solid var(--border)!important;padding:14px 24px!important}.ant-modal-mask{background:#0f172a66!important}.ant-tag{border:none!important;border-radius:4px!important;padding:1px 8px!important;font-size:12px!important;font-weight:500!important;line-height:20px!important}.ant-menu{background:0 0!important;border-right:0!important}.ant-menu .ant-menu-item,.ant-menu .ant-menu-submenu-title{transition:all var(--transition);border-radius:var(--radius-md)!important;color:#ffffff8c!important;height:40px!important;margin:2px 8px!important;font-size:13px!important;line-height:40px!important}.ant-menu .ant-menu-item:hover,.ant-menu .ant-menu-submenu-title:hover{color:#ffffffd9!important;background:#ffffff14!important}.ant-menu .ant-menu-item-selected{color:#fff!important;background:#3b82f62e!important}.ant-menu .ant-menu-item-selected:after{display:none!important}.ant-menu-sub.ant-menu-inline{background:#ffffff05!important}.ant-menu-sub.ant-menu-inline>.ant-menu-item{padding-left:48px!important}.ant-menu-submenu-arrow{color:#ffffff4d!important}.ant-tabs-tab{color:var(--text-secondary)!important;padding:10px 14px!important}.ant-tabs-tab:hover{color:var(--text-primary)!important}.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--primary)!important;font-weight:600!important}.ant-tabs-ink-bar{background:var(--info)!important}.ant-tabs-nav:before{border-bottom-color:var(--border)!important}.ant-form-item-label>label{color:var(--text-primary)!important;font-weight:500!important}.ant-select-dropdown,.ant-dropdown-menu,.ant-picker-panel-container{border-radius:var(--radius-md)!important;box-shadow:var(--shadow-md)!important;border:1px solid var(--border)!important}.ant-select-item-option-active{background:#f1f5f9!important}.ant-select-item-option-selected{background:var(--info-light)!important}.ant-popover-inner{border-radius:var(--radius-md)!important;box-shadow:var(--shadow-md)!important}.ant-tooltip-inner{border-radius:var(--radius-sm)!important;background:var(--primary)!important}.ant-pagination-item-active{background:var(--primary)!important;border-color:var(--primary)!important}.ant-pagination-item-active a{color:#fff!important}.ant-layout{background:var(--content-bg)!important}.ant-layout-header{-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border)!important;background:#ffffffd9!important}.ant-layout-content{background:0 0!important}@keyframes fadeInUp{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.page-enter{animation:.25s ease-out fadeInUp}.ant-table-tbody>tr{animation:.2s ease-out fadeInUp}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.empty-state{text-align:center;color:var(--text-tertiary);padding:48px 24px}.empty-state .empty-icon{opacity:.2;margin-bottom:12px;font-size:40px}.empty-state .empty-text{font-size:14px}.stat-card{cursor:pointer;transition:all .2s;overflow:hidden;border-radius:var(--radius-lg)!important}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)!important}.stat-card .stat-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:20px;display:flex}.stat-card .stat-value{font-feature-settings:"tnum";letter-spacing:-.02em;font-size:28px;font-weight:700;line-height:1.2}.chart-container{width:100%;height:100%}.chart-container .recharts-cartesian-grid-horizontal line,.chart-container .recharts-cartesian-grid-vertical line{stroke:var(--border-light)}.glass-panel{-webkit-backdrop-filter:blur(16px);border-radius:var(--radius-lg);background:#ffffffb3;border:1px solid #0000000d;padding:20px}.status-dot{border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.status-dot.success{background:var(--success)}.status-dot.warning{background:var(--warning)}.status-dot.danger{background:var(--danger)}.status-dot.info{background:var(--info)}button,input,select,textarea{font:inherit}.admin-shell{min-height:100vh}.admin-sider{z-index:20;border-right:1px solid #ffffff0f;inset:0 auto 0 0;overflow:hidden;box-shadow:10px 0 36px #10182814;background:#101828!important;position:fixed!important}.admin-sider .ant-layout-sider-children{flex-direction:column;height:100vh;display:flex}.brand-lockup{color:#fff;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #ffffff0f;align-items:center;gap:12px;width:100%;min-height:72px;padding:0 18px;display:flex}.brand-lockup.is-collapsed{justify-content:center;padding:0}.brand-mark{color:#fff;letter-spacing:.04em;background:linear-gradient(145deg,#3b82f6 0%,#2563eb 45%,#1d4ed8 100%);border-radius:12px;flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;font-size:13px;font-weight:800;display:inline-flex;box-shadow:0 8px 18px #2563eb52,inset 0 1px #ffffff47}.brand-copy{flex-direction:column;min-width:0;line-height:1.35;display:flex}.brand-copy strong{letter-spacing:.02em;font-size:15px;font-weight:700}.brand-copy small{color:#ffffff6b;margin-top:2px;font-size:10px}.workspace-summary{background:#ffffff09;border:1px solid #ffffff12;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin:14px 12px 6px;padding:11px 12px;display:grid}.workspace-dot{background:#34d399;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #34d3991a}.workspace-summary div{flex-direction:column;min-width:0;display:flex}.workspace-summary strong{color:#ffffffe0;font-size:12px;font-weight:600}.workspace-summary small{color:#fff6;font-size:10px}.workspace-summary .ant-tag{color:#6ee7b7;background:#10b9811a;margin:0;font-size:10px!important}.admin-navigation{flex:1;min-height:0;padding:4px 0 12px;overflow:hidden auto}.admin-navigation .ant-menu-item-group-title{letter-spacing:.12em;font-weight:700;color:#ffffff47!important;padding:14px 20px 5px!important;font-size:10px!important}.admin-navigation .ant-menu-item{color:#ffffff9e!important;width:calc(100% - 20px)!important;height:38px!important;margin:2px 10px!important;line-height:38px!important}.admin-navigation .ant-menu-item .anticon{font-size:15px}.admin-navigation .ant-menu-item-selected{box-shadow:inset 2px 0 #60a5fa;color:#fff!important;background:linear-gradient(90deg,#3b82f642,#2563eb24)!important}.admin-navigation .ant-menu-item-selected .anticon{color:#93c5fd}.sider-footer{color:#ffffff4d;border-top:1px solid #ffffff0f;justify-content:space-between;align-items:center;margin:0 14px;padding:14px 2px 18px;font-size:10px;display:flex}.sider-footer-status{color:#6ee7b7}.admin-main{min-width:0;min-height:100vh;transition:margin-left .18s cubic-bezier(.4,0,.2,1)}.admin-header{z-index:15;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0;background:#ffffffeb!important;border-bottom:1px solid #eaecf0!important;height:74px!important;padding:0 28px!important;line-height:normal!important}.header-left,.header-actions{align-items:center;display:flex}.header-left{gap:12px;min-width:0}.header-actions{gap:10px}.collapse-button{flex:0 0 38px;width:38px!important;height:38px!important;font-size:16px!important}.page-identity{flex-direction:column;gap:1px;min-width:0;display:flex}.page-identity .ant-breadcrumb{color:#98a2b3;font-size:10px}.page-identity .ant-breadcrumb li:last-child{color:#667085}.page-identity h1{color:#101828;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:700;line-height:1.25;overflow:hidden}.page-jump{width:210px}.tenant-switcher{width:132px}.page-jump .ant-select-selector,.tenant-switcher .ant-select-selector{background:#f9fafb!important}.user-trigger{color:#101828;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;padding:3px 4px 3px 7px;display:flex}.user-trigger:hover{background:#f2f4f7}.user-copy,.account-menu-summary{text-align:left;flex-direction:column;min-width:0;display:flex}.user-copy strong,.account-menu-summary strong{font-size:12px;font-weight:600;line-height:1.4}.user-copy small,.account-menu-summary span{color:#98a2b3;font-size:10px;line-height:1.4}.workspace-tabs{z-index:14;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff0;border-bottom:1px solid #eaecf0;padding:0 22px;position:sticky;top:74px}.workspace-tabs .ant-tabs-nav{margin:0!important}.workspace-tabs .ant-tabs-tab{background:0 0!important;border:0!important;border-radius:0!important;margin:0!important;padding:8px 13px!important}.workspace-tabs .ant-tabs-tab-active{box-shadow:inset 0 -2px #2563eb}.admin-content{width:100%;max-width:1680px;margin:0 auto;padding:26px 28px 40px}.dashboard-page{flex-direction:column;gap:18px;display:flex}.dashboard-hero{color:#fff;background:radial-gradient(circle at 82% 20%,#60a5fa52,#0000 26%),radial-gradient(circle at 62% 130%,#7c3aed42,#0000 34%),linear-gradient(120deg,#101828 0%,#172554 52%,#1d4ed8 125%);border-radius:18px;justify-content:space-between;align-items:center;gap:24px;min-height:152px;padding:28px 30px;display:flex;position:relative;overflow:hidden;box-shadow:0 14px 40px #10182821}.dashboard-hero:after{content:"";border:1px solid #ffffff1a;border-radius:50%;width:300px;height:300px;position:absolute;bottom:-104px;right:-48px;box-shadow:0 0 0 34px #ffffff06,0 0 0 68px #ffffff05}.hero-copy,.hero-actions{z-index:1;position:relative}.hero-copy{max-width:720px}.hero-eyebrow{color:#93c5fd;letter-spacing:.08em;font-size:11px;font-weight:600}.hero-copy h2{color:#fff;letter-spacing:-.03em;margin:8px 0 6px;font-size:clamp(24px,2.2vw,32px);font-weight:750;line-height:1.25}.hero-copy p{color:#ffffff94;font-size:13px}.hero-actions{flex:none;gap:10px;display:flex}.hero-actions .ant-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);height:40px;padding:0 17px;color:#fff!important;background:#ffffff17!important;border-color:#ffffff26!important}.hero-actions .ant-btn-primary{color:#1d4ed8!important;background:#fff!important;border-color:#fff!important}.quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.quick-actions>button{text-align:left;cursor:pointer;background:#fff;border:1px solid #eaecf0;border-radius:13px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;padding:14px 15px;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid;box-shadow:0 1px 2px #10182805}.quick-actions>button:hover{border-color:#c7d7fe;transform:translateY(-2px);box-shadow:0 8px 24px #10182812}.quick-action-icon,.task-icon{border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;font-size:16px;display:inline-flex}.quick-action-icon.blue,.task-icon.blue{color:#2563eb;background:#eff6ff}.quick-action-icon.green,.task-icon.green{color:#059669;background:#ecfdf3}.quick-action-icon.orange,.task-icon.orange{color:#d97706;background:#fffaeb}.quick-action-icon.purple,.task-icon.purple{color:#7c3aed;background:#f5f3ff}.quick-actions>button>span:nth-child(2){flex-direction:column;min-width:0;display:flex}.quick-actions strong{color:#101828;font-size:13px;font-weight:650}.quick-actions small{color:#98a2b3;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.quick-actions>button>.anticon:last-child{color:#d0d5dd;font-size:11px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metric-card{background:#fff;border:1px solid #eaecf0;border-radius:14px;min-width:0;padding:19px 20px;position:relative;overflow:hidden;box-shadow:0 1px 2px #10182806}.metric-card:before{content:"";opacity:0;background:#2563eb;height:3px;transition:opacity .16s;position:absolute;top:0;left:0;right:0}.metric-card:hover:before{opacity:1}.metric-card.warning:before{background:#f59e0b}.metric-card.success:before{background:#10b981}.metric-card-top{color:#667085;justify-content:space-between;align-items:center;font-size:12px;font-weight:550;display:flex}.metric-card-top .anticon{color:#98a2b3;font-size:15px}.metric-card>strong{color:#101828;letter-spacing:-.035em;margin:10px 0 2px;font-size:30px;font-weight:750;line-height:1.2;display:block}.metric-card>strong.currency-value{font-size:25px}.metric-card>small{color:#98a2b3;font-size:10px}.dashboard-main-grid{grid-template-columns:minmax(0,1.65fr) minmax(330px,.85fr);gap:16px;display:grid}.dashboard-panel{border-color:#eaecf0!important;border-radius:15px!important;box-shadow:0 1px 3px #10182809!important}.dashboard-panel:hover{border-color:#eaecf0!important}.dashboard-panel .ant-card-head{padding:17px 20px!important}.dashboard-panel .ant-card-body{padding:16px 20px 20px!important}.panel-title{justify-content:space-between;align-items:center;gap:16px;width:100%;display:flex}.panel-title>div{flex-direction:column;display:flex}.panel-title strong{color:#101828;font-size:14px;font-weight:700}.panel-title span{color:#98a2b3;font-size:10px;font-weight:400}.panel-title .ant-btn{padding-right:0;font-size:11px;color:#667085!important}.unit-summary-row{border-top:1px solid #f2f4f7;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:14px;display:grid}.unit-summary-row button{text-align:left;cursor:pointer;background:#f9fafb;border:1px solid #0000;border-radius:11px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:0 10px;padding:10px;display:grid}.unit-summary-row button:hover{border-color:#d0d5dd}.unit-index{color:#1d4ed8;background:#dbeafe;border-radius:9px;grid-row:1/span 2;justify-content:center;align-items:center;width:36px;height:36px;font-size:13px;font-weight:700;display:inline-flex}.unit-index.unit-2{color:#6d28d9;background:#ede9fe}.unit-copy{flex-direction:column;min-width:0;display:flex}.unit-copy strong{color:#344054;font-size:11px;font-weight:650}.unit-copy small{color:#98a2b3;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.unit-summary-row .ant-progress{grid-column:2;margin-top:5px;line-height:1}.task-panel .ant-card-body{flex-direction:column;gap:12px;display:flex}.task-list{flex-direction:column;display:flex}.task-list button{text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #f2f4f7;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:11px 2px;display:grid}.task-list button:last-child{border-bottom:0}.task-list button:hover .task-copy strong{color:#2563eb}.task-copy{flex-direction:column;min-width:0;display:flex}.task-copy strong{color:#344054;font-size:12px;font-weight:650;transition:color .15s}.task-copy small{color:#98a2b3;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.task-count{color:#101828;text-align:right;min-width:25px;font-size:16px;font-weight:700}.task-arrow{color:#d0d5dd;font-size:10px}.safety-alert{color:#b54708;cursor:pointer;background:#fffaeb;border:1px solid #fde68a;border-radius:9px;justify-content:space-between;align-items:center;padding:10px 12px;font-size:11px;font-weight:600;display:flex}.recent-orders-panel .ant-card-body{padding:0 20px 8px!important}.recent-orders-panel .ant-table-tbody>tr{cursor:pointer}.order-number{color:#2563eb;font-family:SFMono-Regular,Consolas,monospace;font-size:11px;font-weight:600}.order-title-cell{flex-direction:column;min-width:0;display:flex}.order-title-cell strong{color:#344054;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.order-title-cell span,.muted-text{color:#98a2b3;font-size:10px}.amount-text{color:#344054;font-size:12px}.schedule-form{flex-direction:column;gap:16px;padding-top:8px;display:flex}.schedule-form label{flex-direction:column;gap:6px;display:flex}.schedule-form label>span{color:#344054;font-size:12px;font-weight:600}@media (width<=1280px){.quick-actions,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-jump{width:170px}}@media (width<=1080px){.dashboard-main-grid{grid-template-columns:1fr}.user-copy,.page-jump{display:none}}@media (width<=768px){.admin-header{padding:0 14px!important}.admin-content{padding:18px 14px 28px}.tenant-switcher{width:112px}.dashboard-hero{flex-direction:column;align-items:flex-start;min-height:190px;padding:24px}.hero-copy p{max-width:90%}.quick-actions,.metric-grid,.unit-summary-row{grid-template-columns:1fr}}
