html,body,#root{height:100%;margin:0}
        body{background:#f3f6fb;color:#172033}
        .app-shell{min-height:100vh}
        .brand{height:64px;display:flex;align-items:center;padding:0 20px;color:#fff;font-size:16px;font-weight:700;white-space:nowrap}
        .main-layout{min-height:100vh;min-width:0;margin-left:220px}
        .page-sider{position:fixed!important;left:0;top:0;bottom:0;height:100vh;overflow:auto;z-index:100;background:#001529}
        .page-header{height:auto;min-height:72px;line-height:normal;background:#fff;padding:14px 24px;border-bottom:1px solid #edf1f7;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
        .page-title{margin:0;color:#172033;font-size:20px;font-weight:700}
        .page-subtitle{margin-top:4px;color:#697386;font-size:13px}
        .page-content{padding:20px 24px;min-width:0;overflow-x:auto}
        .page-stack{display:flex;flex-direction:column;gap:16px;min-width:0}
        .ant-card{border-radius:8px;border:1px solid #e9eef5}
        .metric-card .ant-card-body{padding:18px 20px}
        .form-card .ant-card-body{padding:20px}
        .table-card{min-width:0;overflow:hidden}
        .table-card .ant-card-body{padding:0;min-width:0}
        .table-card .ant-table-wrapper{padding:0 1px 1px;overflow-x:auto}
        .ant-layout-sider{box-shadow:2px 0 12px rgba(25,35,55,.08)}
        .login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#eef4ff 0%,#f8fafc 100%);padding:24px}
        .login-card{width:100%;max-width:480px;border-radius:18px;overflow:hidden}
        .login-switch{display:flex;gap:8px;margin-bottom:16px}
        .user-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
        .summary-box{padding:14px 16px;border-radius:12px;background:#f8fafc;border:1px solid #edf1f7}
        .summary-label{font-size:12px;color:#697386;margin-bottom:6px}
        .summary-value{font-size:24px;font-weight:700;color:#172033}
        .order-main{display:flex;flex-direction:column;gap:4px;min-width:0}
        .order-no{font-family:Consolas,Monaco,monospace;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        .order-sub{color:#697386;font-size:12px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        .amount-stack{line-height:24px}
        .amount-stack b{font-weight:600}
        .badge-soft{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;background:#eef3ff;color:#3151b7;font-size:12px}
        .panel-note{color:#697386;font-size:12px}
        .action-stack{display:flex;flex-direction:column;gap:6px;align-items:stretch;min-width:0}
        .action-stack .ant-btn{width:100%;min-width:0;white-space:normal;height:auto;line-height:1.4;padding-top:4px;padding-bottom:4px}
        .mobile-menu-btn{display:none;align-items:center;gap:6px}
        .mobile-user-menu .brand{height:56px;background:#001529;margin:0 0 12px}
        .mobile-admin-menu .ant-menu{border-right:0}
        @media (max-width:1200px){.page-content{padding:16px}.order-no,.order-sub{max-width:none}}
        @media (max-width:991px){.main-layout{margin-left:0}.page-sider{position:fixed!important}}
        @media (max-width:768px){.page-header{padding:12px 16px;gap:10px;align-items:flex-start}.page-header-title{flex:1;min-width:0}.page-content{padding:16px}.hide-mobile{display:none!important}.mobile-menu-btn{display:inline-flex}.page-title{font-size:19px}.page-subtitle{font-size:12px}}
        .group-toggle-label .ant-form-item-label{flex-wrap:wrap}
        .group-toggle-container{border:1px solid #e9eef5;border-radius:8px;padding:14px 16px;background:#fafbfc;margin-top:4px}
        .group-toggle-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:8px;flex-wrap:wrap}
        .group-toggle-hint{color:#8c95a5;font-size:12px}
        .group-toggle-list{display:flex;flex-wrap:wrap;gap:10px}
        .group-toggle-chip{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border:2px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;transition:all .2s ease;user-select:none;min-height:44px}
        .group-toggle-chip:hover:not(.group-toggle-chip-disabled){border-color:#b0c0d0;box-shadow:0 2px 8px rgba(24,144,255,.1)}
        .group-toggle-chip-active{border-color:#1890ff;background:#f0f7ff;box-shadow:0 2px 10px rgba(24,144,255,.15)}
        .group-toggle-chip-active.group-toggle-chip-own{border-color:#52c41a;background:#f6ffed;box-shadow:0 2px 10px rgba(82,196,26,.15)}
        .group-toggle-chip-disabled{opacity:.5;cursor:not-allowed;background:#f5f5f5;border-color:#d9d9d9}
        .group-toggle-switch{width:36px;height:20px;border-radius:10px;position:relative;transition:background .25s ease;flex-shrink:0}
        .group-toggle-knob{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .25s ease}
        .group-toggle-info{min-width:0;display:flex;flex-direction:column;gap:1px}
        .group-toggle-name{font-size:13px;font-weight:600;color:#172033;line-height:1.3}
        .group-toggle-meta{font-size:11px;color:#8c95a5;line-height:1.2}
        .group-toggle-chip-active .group-toggle-name{color:#1890ff}
        .group-toggle-chip-active.group-toggle-chip-own .group-toggle-name{color:#389e0d}
