.admin-surface{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fff;--foreground:#111827;--card:#fff;--card-foreground:#111827;--popover:#fff;--popover-foreground:#111827;--primary:#174ea6;--primary-foreground:#fff;--secondary:#174ea6;--secondary-foreground:#fff;--muted:#fff;--muted-foreground:#374151;--accent:#eff6ff;--accent-foreground:#174ea6;--border:#dbe3ee;--input:#9aa9bf;--ring:#174ea6;--destructive:#c62828;--sidebar:#fff;--sidebar-foreground:#111827;color:#111827;background:#fff}html:has(.admin-surface){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fff;--foreground:#111827;--card:#fff;--card-foreground:#111827;--popover:#fff;--popover-foreground:#111827;--primary:#174ea6;--primary-foreground:#fff;--secondary:#174ea6;--secondary-foreground:#fff;--muted:#fff;--muted-foreground:#374151;--accent:#eff6ff;--accent-foreground:#174ea6;--border:#dbe3ee;--input:#9aa9bf;--ring:#174ea6;--destructive:#c62828;--sidebar:#fff;--sidebar-foreground:#111827;color:#111827;background:#fff}body:has(.admin-surface){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fff;--foreground:#111827;--card:#fff;--card-foreground:#111827;--popover:#fff;--popover-foreground:#111827;--primary:#174ea6;--primary-foreground:#fff;--secondary:#174ea6;--secondary-foreground:#fff;--muted:#fff;--muted-foreground:#374151;--accent:#eff6ff;--accent-foreground:#174ea6;--border:#dbe3ee;--input:#9aa9bf;--ring:#174ea6;--destructive:#c62828;--sidebar:#fff;--sidebar-foreground:#111827;color:#111827;background:#fff}.admin-surface{min-height:100dvh;font-size:1rem}.wealth-theme .admin-surface :is(.bg-white,.bg-slate-50,.bg-slate-100,.bg-gray-50,.bg-gray-100,.shipping-orders-panel,.shipping-order-card),.wealth-theme .admin-surface>header{color:#111827!important;background:#fff!important;border-color:#cbd5e1!important}.wealth-theme .admin-surface :is(.text-slate-500,.text-slate-600,.text-slate-700,.text-gray-500,.text-gray-600,.text-muted-foreground){color:#374151!important}.wealth-theme .admin-surface :is(.text-slate-800,.text-slate-900,.text-gray-800,.text-gray-900){color:#111827!important}.wealth-theme .admin-surface :is(.border-slate-200,.border-slate-300,.border-gray-200){border-color:#cbd5e1!important}.wealth-theme .admin-surface :is([data-slot=select-trigger],[data-slot=table-head]){color:#111827!important;background:#fff!important;border-color:#94a3b8!important}.wealth-theme .admin-surface [data-slot=table-row]:hover{background:#eff6ff!important}.wealth-theme .admin-surface input::placeholder,.wealth-theme .admin-surface textarea::placeholder{opacity:1;color:#4b5563!important}.wealth-theme .admin-surface input:-webkit-autofill{-webkit-text-fill-color:#111827!important;caret-color:#111827!important;-webkit-box-shadow:inset 0 0 0 1000px #fff!important}.wealth-theme .admin-surface :is(input,textarea,select):focus{border-color:#174ea6!important;box-shadow:0 0 0 3px #dbeafe!important}.wealth-theme .admin-surface :is(button,a,input,textarea,select):focus-visible{outline-color:#174ea6!important}body.wealth-theme:has(.admin-surface) :is([data-slot=dialog-content],[data-slot=select-content],[data-slot=sheet-content]){--foreground:#111827;--muted-foreground:#374151;--background:#fff;--card:#fff;--popover:#fff;--primary:#174ea6;--primary-foreground:#fff;--accent:#eff6ff;--accent-foreground:#174ea6;--border:#cbd5e1;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#111827!important;background:#fff!important;border-color:#cbd5e1!important}body.wealth-theme:has(.admin-surface) :is([data-slot=dialog-content],[data-slot=sheet-content]) :is(.bg-white,.bg-slate-50,.bg-slate-100,input,textarea,select,[data-slot=select-trigger]){color:#111827!important;background:#fff!important}body.wealth-theme:has(.admin-surface) :is([data-slot=dialog-content],[data-slot=sheet-content]) :is(.text-slate-500,.text-slate-600,.text-slate-700,.text-muted-foreground){color:#374151!important}body.wealth-theme:has(.admin-surface) :is([data-slot=dialog-content],[data-slot=sheet-content]) :is(input,textarea)::placeholder{opacity:1;color:#4b5563!important}body.wealth-theme:has(.admin-surface) [data-slot=select-item][data-highlighted]{color:#174ea6!important;background:#eff6ff!important}.wealth-theme .admin-surface .wealth-wordmark>span{-webkit-text-fill-color:#111827!important;color:#111827!important;background:0 0!important}.wealth-theme .admin-surface :is(.mobile-menu-button,.mobile-menu-close){color:#174ea6!important;background:#fff!important;border-color:#cbd5e1!important}body.wealth-theme:has(.admin-surface) .mobile-menu-links a{color:#174ea6!important;background:#fff!important;border-color:#cbd5e1!important}.wealth-theme .admin-surface [data-slot=button][data-variant=outline]{color:#174ea6!important;background:#fff!important;border-color:#94a3b8!important}body.wealth-theme:has(.admin-surface) [data-slot=dialog-content] [data-slot=button][data-variant=outline]{color:#174ea6!important;background:#fff!important;border-color:#94a3b8!important}.admin-surface [class*=animate-pulse]{opacity:1!important;animation:none!important}.admin-surface .brand-mark{color:#111827!important}.admin-surface .brand-mark small{color:#174ea6!important}.admin-surface h1,.admin-surface h2{color:#111827}.admin-surface .send-heading-icon{color:#174ea6;background:#fff;border:1px solid #dbe3ee}.admin-surface [data-slot=tabs-trigger]{white-space:normal;color:#111827!important;background:#fff!important}.admin-surface [data-slot=tabs-trigger][data-state=active]{color:#174ea6!important;background:#fff!important;border-color:#174ea6!important;box-shadow:inset 0 -4px #174ea6!important}.admin-surface .shipping-cutoff{border:1px solid #dbe3ee;border-left:4px solid #174ea6;color:#111827!important;background:#fff!important}.admin-surface .shipping-cutoff [class*=text-white]{color:#174ea6!important}.admin-surface [data-stage]{border:1px solid #dbe3ee;color:#174ea6!important;background:#fff!important}body:has(.admin-surface) [data-stage]{border:1px solid #dbe3ee;color:#174ea6!important;background:#fff!important}.admin-surface [data-stage=awaiting_address],.admin-surface [data-stage=unpaid],.admin-surface [data-stage=cancelled],.admin-surface [data-stage=suspended]{border-color:#efb5b5;color:#c62828!important}body:has(.admin-surface) [data-stage=awaiting_address]{border-color:#efb5b5;color:#c62828!important}body:has(.admin-surface) [data-stage=unpaid]{border-color:#efb5b5;color:#c62828!important}body:has(.admin-surface) :is([data-slot=dialog-content],[data-slot=select-content],[data-slot=sheet-content]){color:#111827!important;background:#fff!important}body:has(.admin-surface) :is([class*=bg-amber-],[class*=bg-slate-50],[class*=bg-red-50]){background:#fff!important}body:has(.admin-surface) :is([class*=text-amber-],[class*=text-red-]){color:#c62828!important}body:has(.admin-surface) [class*=text-emerald-]{color:#174ea6!important}.admin-surface input,.admin-surface textarea{color:#111827!important;background:#fff!important}body:has(.admin-surface) [data-slot=dialog-content] input{color:#111827!important;background:#fff!important}.wealth-theme .admin-surface{color:#111827;--muted:#f4f7fb;--muted-foreground:#475569;--secondary:#174ea6;--secondary-foreground:#fff;--brand-red:#c62828;background:#fff;min-height:100dvh;font-size:1rem}.admin-surface h1{font-size:clamp(1.65rem,2.6vw,2.3rem);font-weight:700}.admin-surface h2{font-size:1.25rem;font-weight:650;line-height:1.65}.admin-surface small{color:#475569;margin-top:5px;font-size:.875rem;line-height:1.7;display:block}.wealth-theme .admin-surface :is(input,textarea,select,[data-slot=select-trigger]){caret-color:#174ea6;border-color:#9aa9bf;min-height:48px;font-size:1rem;color:#111827!important;background:#fff!important}.wealth-theme .admin-surface [data-slot=button]{white-space:normal;min-height:44px;font-size:.9375rem}.wealth-theme .admin-surface [data-slot=table-head]{padding:16px;font-size:.875rem;font-weight:600;color:#334155!important;background:#f4f7fb!important}.wealth-theme .admin-surface [data-slot=table-cell]{white-space:normal;vertical-align:top;border-color:#dbe3ee;min-width:120px;padding:16px;font-size:.9375rem;line-height:1.7}.wealth-theme .admin-surface [data-slot=table-cell] small{max-width:340px}.admin-topbar{z-index:40;background:#fff;border-bottom:1px solid #dbe3ee;justify-content:space-between;align-items:center;gap:16px;min-height:86px;padding:14px 32px;display:flex;position:sticky;top:0}.admin-main{max-width:1640px;margin:auto;padding:28px 32px 60px}.admin-page-heading{border-bottom:1px solid #dbe3ee;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding-bottom:24px;display:flex}.admin-page-heading>div>p{letter-spacing:.08em;color:#174ea6;font-size:.8125rem;font-weight:700}.admin-page-heading>div>span{color:#475569;line-height:1.8}.admin-layout{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:28px!important;display:grid!important}.admin-layout>[data-slot=tabs-content]{grid-area:1/2;min-width:0}.admin-layout>[data-slot=tabs-content][data-state=inactive]{display:none}.wealth-theme .admin-surface .admin-navigation{border:1px solid #dbe3ee;border-radius:16px;flex-direction:column;align-items:stretch;gap:5px;width:100%;height:auto;padding:10px;display:flex;position:sticky;top:110px;background:#fff!important}.wealth-theme .admin-surface .admin-navigation>[data-slot=tabs-trigger]{text-align:left;white-space:normal;border-radius:9px;flex:none;justify-content:flex-start;gap:11px;height:auto;min-height:48px;padding:12px;font-size:.9375rem;color:#334155!important;background:#fff!important}.wealth-theme .admin-surface .admin-navigation>[data-slot=tabs-trigger][data-state=active]{font-weight:700;color:#174ea6!important;background:#eff6ff!important;border:1px solid #c4d8f5!important;box-shadow:inset 3px 0 #174ea6!important}.admin-nav-count{color:#fff;background:#c62828;border-radius:8px;margin-left:auto;padding:1px 7px;font-size:.8125rem}.admin-mobile-navigation{display:none}.admin-kpi-grid,.admin-plan-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.admin-metric{text-align:left;background:#fff;border:1px solid #dbe3ee;border-top:3px solid #174ea6;border-radius:14px;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:20px;display:flex}.admin-metric>span{color:#334155;font-size:.9375rem;line-height:1.7}.admin-metric>strong{overflow-wrap:anywhere;color:#111827;font-variant-numeric:tabular-nums;font-size:clamp(1.3rem,1.8vw,1.7rem);font-weight:750;line-height:1.6}.admin-metric>small{color:#475569;margin:0;font-size:.875rem}.admin-metric:is(button):hover{background:#f8fbff;border-color:#174ea6}.admin-work-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.admin-work-grid>button{text-align:left;background:#fff;border:1px solid #dbe3ee;border-radius:12px;align-items:flex-start;gap:14px;padding:18px;display:flex}.admin-work-grid svg{color:#174ea6;flex-shrink:0;width:24px}.admin-work-grid strong{font-size:1rem;font-weight:600}.admin-panel{background:#fff;border:1px solid #dbe3ee;border-radius:16px;min-width:0;padding:24px}.admin-section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.admin-section-heading p{color:#475569;margin-top:4px;font-size:.9375rem;line-height:1.8}.admin-status{color:#174ea6;white-space:normal;background:#eff6ff;border:1px solid #bdd1ef;border-radius:8px;padding:4px 10px;font-size:.875rem;line-height:1.6;display:inline-flex}.admin-status[data-alert=true]{color:#b91c1c;background:#fff5f5;border-color:#f4c7c7}.admin-filter{border-bottom:1px solid #dbe3ee;flex-wrap:wrap;gap:10px;padding-bottom:18px;display:flex}.admin-filter>div:first-child{flex-basis:280px}.admin-filter>[data-slot=select-trigger],.admin-filter>input[type=date]{width:190px;max-width:100%}.admin-report-total{color:#334155;flex-wrap:wrap;gap:8px 22px;padding:14px 0;font-size:.9375rem;display:flex}.admin-report-total strong{color:#174ea6}.admin-empty{text-align:center;color:#475569;border:1px dashed #cbd5e1;border-radius:12px;padding:32px 16px;font-size:1rem}.admin-error{color:#b91c1c;background:#fff5f5;border:1px solid #f4c7c7;border-left:4px solid #c62828;border-radius:10px;justify-content:space-between;align-items:center;gap:15px;padding:16px;display:flex}.admin-pagination{border-top:1px solid #dbe3ee;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;font-size:.875rem;display:flex}.admin-pagination>div{gap:8px;display:flex}.admin-plan-grid{margin:20px 0}.admin-plan-grid .admin-metric{padding:16px}.admin-note{background:#f4f8ff;border-left:3px solid #174ea6;margin-top:20px;padding:18px;font-size:.9375rem;line-height:1.9}.admin-note p+p{margin-top:7px}.admin-source-list{margin:20px 0}.admin-source-list>div{border-bottom:1px solid #dbe3ee;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;display:flex}.admin-source-list strong{color:#174ea6}.admin-levels{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.admin-levels>button{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:12px 8px}.admin-levels strong{color:#174ea6;font-size:1.25rem;display:block}.admin-levels>button.selected{color:#174ea6;background:#eff6ff;border-color:#174ea6}.wealth-theme .admin-surface .ai-duangdao-card{--primary:#174ea6;--foreground:#111827;--muted-foreground:#475569;border:1px solid #c4d8f5;color:#111827!important;background:#f4f8ff!important}.admin-surface .ai-duangdao-card [class*=text-white]{color:#475569!important}.admin-surface .ai-duangdao-card>span{color:#174ea6;background:#e1edff}.admin-surface .send-dispatch-top{background:#fff;border:1px solid #cbd5e1;border-top:4px solid #174ea6;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:24px;display:flex}.admin-surface .send-dispatch-top p{color:#475569;line-height:1.7}.admin-surface .send-dispatch-actions{flex-wrap:wrap;gap:10px;display:flex}.admin-surface .send-dispatch-help{flex-basis:100%}.admin-surface .send-overdue{color:#b91c1c;text-align:left;background:#fff;border:1px solid #efb5b5;border-left:4px solid #c62828;border-radius:12px;width:100%;padding:16px;font-size:1rem;line-height:1.7;display:block}@media (max-width:1179px){.admin-layout{flex-direction:column;gap:20px!important;display:flex!important}.admin-layout>[data-slot=tabs-content]{width:100%}.wealth-theme .admin-surface .admin-navigation{display:none}.admin-mobile-navigation{width:100%;display:block}.admin-mobile-navigation>[data-slot=select-trigger]{border:1px solid #174ea6;width:100%;font-size:1.1rem;font-weight:600;color:#174ea6!important}.admin-kpi-grid,.admin-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.admin-topbar{gap:8px;min-height:72px;padding:10px 16px}.admin-topbar .brand-mark{max-width:150px}.admin-main{padding:20px 14px 40px}.admin-page-heading{flex-direction:column;align-items:flex-start;gap:16px}.admin-page-heading>div:last-child{width:100%}.admin-page-heading>div:last-child>*{flex:1}.admin-panel{padding:18px 14px}.admin-metric{padding:15px 12px}.admin-metric>span{font-size:.875rem}.admin-metric>strong{font-size:1.3rem}.admin-work-grid{grid-template-columns:1fr}.admin-work-grid>button{padding:14px}.admin-section-heading{flex-direction:column;align-items:flex-start}.admin-filter>[data-slot=select-trigger],.admin-filter>input[type=date]{width:100%}.admin-levels{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-surface .send-dispatch-top{padding:18px}.admin-surface .send-dispatch-actions{width:100%}.admin-surface .send-dispatch-actions button{flex:1;height:auto;min-height:48px}.admin-kpi-grid{gap:10px}}@media (max-width:359px){.admin-kpi-grid,.admin-plan-grid{grid-template-columns:1fr}}body.wealth-theme:has(.admin-surface) .mobile-menu-panel{color:#111827!important;background:#fff!important;border-color:#cbd5e1!important}body.wealth-theme:has(.admin-surface) .mobile-menu-close{color:#174ea6!important;background:#fff!important;border-color:#cbd5e1!important}.wealth-theme .admin-surface .bg-primary.text-white{color:#fff!important}.wealth-theme .admin-surface .bg-slate-800{color:#fff!important;background:#174ea6!important}body.wealth-theme:has(.admin-surface) [data-slot=dialog-content] .bg-primary.text-white{color:#fff!important}@media print{.admin-surface .admin-topbar,.admin-surface .admin-navigation,.admin-surface .admin-mobile-navigation{display:none!important}.admin-layout{display:block!important}}
