:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--control:#fff;--control-2:#f1f5f9;--surface:#f6f7f9;--panel:#fff;--line:#e5e7eb;--muted:#667085;--text:#182230;--cyan:#2563eb;--cyan-soft:#eff6ff;--violet:#7c3aed;--green:#15803d;--red:#dc3545;--amber:#b45309;--shadow:0 16px 48px #10182824;background:var(--surface);color:var(--text);--font-caption:12px;--font-label:13px;--font-body:14px;--font-section:16px;--font-heading:24px;--font-metric:32px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;font-family:Microsoft YaHei UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6}*{box-sizing:border-box}body{background:var(--surface);min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:is([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=button],[type=submit],[type=reset],[type=image]):focus-visible{outline-offset:2px;outline:3px solid #2563eb33}a{color:inherit;text-decoration:none}.ui-icon{vertical-align:middle;pointer-events:none;flex-shrink:0;width:18px;height:18px;display:inline-block}.login-page{background:var(--surface);place-items:center;min-height:100dvh;padding:40px 20px;display:grid}.login-panel{border:1px solid var(--line);background:var(--panel);border-radius:16px;width:min(440px,100%);padding:40px;box-shadow:0 8px 32px #10182806}.login-brand{align-items:center;gap:16px;margin-bottom:32px;display:flex}.login-brand img{object-fit:contain;width:88px;height:64px}.login-brand>span{border-left:1px solid var(--line);color:var(--muted);padding-left:16px;font-size:14px}.login-heading h1{letter-spacing:0;margin:0;font-size:24px;font-weight:600;line-height:32px}.login-heading .login-copy{font-size:var(--font-body);margin:12px 0 28px;line-height:22px}.login-form{gap:20px}.login-form input{height:44px}.login-form>.primary-button{min-height:44px;margin-top:4px}.eyebrow{color:var(--cyan);text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:500}.topbar h1,.resource-hero h2,.section-header h2{margin:0;font-size:28px;line-height:1.18}.login-copy{color:var(--muted);margin:14px 0 32px}.login-form,.drawer-form,.settings-card{gap:16px;display:grid}.login-feedback{color:#c62e45;margin:0;font-size:14px;line-height:1.5}label{color:#3c4656;font-size:var(--font-label);gap:7px;font-weight:400;line-height:20px;display:grid}input,select{width:100%;min-width:0;height:40px;color:var(--text);font-size:var(--font-body);background:#fff;border:1px solid #d0d5dd;border-radius:8px;outline:none;padding:0 12px;line-height:22px}.mall-image-field{gap:9px}.mall-image-dropzone{cursor:pointer;background:linear-gradient(135deg,#f7fbff 0%,#eef7fb 100%);border:1px dashed #9bb2c8;border-radius:12px;grid-template-columns:72px 1fr;align-items:center;min-height:96px;padding:11px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;position:relative;overflow:hidden}.mall-image-dropzone:hover,.mall-image-dropzone:focus-within,.mall-image-dropzone:focus{border-color:var(--cyan);outline:none;box-shadow:0 0 0 3px #0ea5e91f}.mall-image-file{z-index:2;opacity:0;cursor:pointer;width:100%;height:100%;padding:0;position:absolute;inset:0}.mall-image-dropzone img{object-fit:cover;background:#dceaf3;border-radius:9px;grid-area:1/1;width:72px;height:72px}.mall-image-dropzone img[hidden]{display:none}.mall-image-placeholder{color:#197da5;background:radial-gradient(circle at 50% 42%,#7dd3fc 0 13%,#0000 14%),linear-gradient(145deg,#d9f3fb,#b8d8eb);border-radius:9px;grid-area:1/1;place-items:center;width:72px;height:72px;font-weight:500;display:grid}.mall-image-dropzone.has-image .mall-image-placeholder{display:none}.mall-image-copy{gap:5px;padding:0 10px 0 14px;display:grid}.mall-image-copy strong{color:#17364c;font-size:14px}.mall-image-copy small{color:#668095;font-size:12px;line-height:1.45}.mall-image-dropzone.is-uploading{pointer-events:none;opacity:.72}.mall-image-dropzone.has-error{border-color:#df5365;box-shadow:0 0 0 3px #df53651f}.primary-button,.ghost-button,.icon-button,.demo-buttons button{min-height:40px;font-weight:500;font-size:var(--font-body);border:1px solid #0000;border-radius:8px;padding:0 16px;line-height:20px;transition:background-color .12s,border-color .12s}.primary-button{color:#fff;background:var(--cyan);min-height:40px;box-shadow:none}.primary-button:hover,.ghost-button:hover,.demo-buttons button:hover{filter:brightness(.97)}.primary-button.compact{min-height:40px}.ghost-button,.demo-buttons button{color:#344054;background:#fff;border-color:#d0d5dd}.icon-button{width:40px;height:40px;min-height:40px;color:var(--muted);background:0 0;place-items:center;padding:0;display:inline-grid}.demo-buttons{gap:10px;display:flex}.app-shell{grid-template-columns:240px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:var(--panel);height:100dvh;min-height:0;color:var(--text);border-right:1px solid var(--line);z-index:10;flex-direction:column;padding:0 12px;display:flex;position:sticky;top:0}.sidebar-brand{border-bottom:1px solid var(--line);flex-shrink:0;align-items:center;gap:12px;min-height:80px;padding:12px;display:flex}.sidebar-brand>img{object-fit:contain;width:80px;height:56px}.sidebar-brand>span{color:var(--text);font-size:14px;font-weight:600}.sidebar>nav{overscroll-behavior:contain;scrollbar-width:none;flex:1;min-height:0;padding:8px 0 16px;overflow-y:auto}.sidebar>nav::-webkit-scrollbar{display:none}.sidebar-account-shell{border-top:1px solid var(--line);flex-shrink:0;align-items:center;padding:14px 4px;display:flex;position:relative}.sidebar-account{width:100%;min-width:0;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:8px;display:flex}.sidebar-account:hover,.sidebar-account[aria-expanded=true]{background:var(--surface)}.admin-avatar{color:#1d4ed8;background:var(--cyan-soft);border:1px solid #dbeafe;border-radius:10px;flex:0 0 36px;place-items:center;width:36px;height:36px;font-size:13px;font-weight:600;display:grid;overflow:hidden}.admin-avatar img{object-fit:cover;width:100%;height:100%}.admin-avatar-large{flex-basis:72px;width:72px;height:72px;font-size:24px}.sidebar-account-copy{gap:2px;min-width:0;display:grid}.sidebar-account-copy strong{text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:var(--font-body);font-weight:600;line-height:22px;overflow:hidden}.sidebar-account-copy small{color:var(--muted);font-size:12px;line-height:18px}.sidebar-account-chevron{color:var(--muted);margin-left:auto}.sidebar-account[aria-expanded=true] .sidebar-account-chevron{transform:rotate(180deg)}.sidebar-account-menu{z-index:30;border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:10px;padding:6px;display:grid;position:absolute;bottom:calc(100% + 4px);left:0;right:0}.sidebar-account-menu button{min-height:40px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;padding:0 12px}.sidebar-account-menu button:hover{background:var(--surface)}.sidebar-account-menu button:last-child{color:var(--red)}.nav-group{margin:16px 0 20px}.nav-group p{color:#667085;font-size:var(--font-caption);letter-spacing:0;margin:0 12px 8px;font-weight:500}.nav-subgroup+.nav-subgroup{margin-top:12px}.nav-subgroup h3{color:#98a2b3;margin:12px 12px 6px;font-size:11px;font-weight:500}.nav-item{color:#475467;min-height:44px;font-size:var(--font-body);border-radius:8px;align-items:center;gap:12px;margin:2px 0;padding:10px 12px;font-weight:500;line-height:22px;display:flex}.nav-icon{color:#667085;flex-shrink:0;place-items:center;width:20px;height:20px;display:grid}.nav-label{white-space:normal;min-width:0}.nav-item:hover{background:var(--surface);color:var(--text)}.nav-item.active{background:var(--cyan-soft);color:#1d4ed8;font-weight:600}.nav-item.active .nav-icon{color:var(--cyan)}.nav-item.is-disabled{opacity:.45;cursor:not-allowed}.sidebar-close,.sidebar-backdrop{display:none}.content-shell{min-width:0}.topbar{border-bottom:1px solid var(--line);background:var(--panel);z-index:5;align-items:center;gap:16px;min-height:80px;padding:16px 32px;display:flex;position:sticky;top:0}.topbar h1{font-family:inherit;font-size:var(--font-heading);letter-spacing:0;white-space:nowrap;margin:0 auto 0 0;font-weight:600;line-height:32px}.topbar-actions{justify-content:flex-end;align-items:center;min-width:0;margin-left:auto;display:flex;position:relative}.topbar-action-button{min-height:40px;box-shadow:none;border-radius:8px;padding:0 16px;font-size:13px}.topbar-status{color:#36566b;background:#f4fbfd;border:1px solid #c8e4ec;border-radius:8px;align-items:center;gap:8px;min-height:34px;padding:0 11px;font-size:12px;font-weight:500;display:inline-flex}.topbar-status strong{color:#0e6988;text-align:center;background:#dff3f8;border-radius:999px;min-width:21px;padding:2px 6px;font:850 12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.dashboard-period-control{position:relative}.topbar-select select{color:#233446;font-variant-numeric:proportional-nums;background:#f6f9fc;border:1px solid #cedde8;border-radius:8px;width:118px;height:34px;padding:0 30px 0 11px;font-family:inherit;font-size:13px;font-weight:500;line-height:1}.dashboard-custom-range{z-index:20;background:#fff;border:1px solid #cbdbe6;border-radius:12px;grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr) auto;align-items:end;gap:10px;width:min(560px,100vw - 32px);padding:14px;display:grid;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 18px 44px #253f522e}.dashboard-custom-range>label{color:#54687a;gap:6px;font-size:12px;font-weight:500;display:grid}.dashboard-custom-range input{color:#1f3041;background:#f9fbfd;border:1px solid #cedde8;border-radius:8px;width:100%;height:38px;padding:0 9px;font:700 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.dashboard-custom-range>span{color:#8090a0;padding-bottom:11px;font-size:12px;font-weight:500}.dashboard-custom-actions{gap:6px;display:flex}.dashboard-custom-actions button{white-space:nowrap;min-height:38px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hero-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.user-pill{color:#0d536c;background:var(--cyan-soft);border-radius:10px 10px 10px 4px;place-items:center;min-width:38px;height:38px;padding:0 11px;font-size:12px;font-weight:500;display:grid}.menu-button{display:none}.main-view{min-width:0;min-height:calc(100dvh - 80px);padding:24px 32px 40px}.main-view>*{max-width:1560px;margin-inline:auto}.dashboard-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;display:grid}.full{grid-column:1/-1}.span-7{grid-column:span 7}.span-5{grid-column:span 5}.section-header,.resource-hero,.panel,.metric-card,.settings-card{border:1px solid var(--line);background:var(--panel);border-radius:12px;box-shadow:0 1px #10141808}.section-header{justify-content:space-between;align-items:end;padding:20px 22px 20px 26px;display:flex;position:relative;overflow:hidden}.section-header:before{content:"";background:var(--cyan);border-radius:0 4px 4px 0;width:4px;position:absolute;inset:18px auto 18px 0}.subtle,.muted{color:var(--muted)}.health-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.health-card{color:#fff;background:linear-gradient(135deg,#0d2234,#17445a);border-radius:12px;justify-content:space-between;align-items:end;min-height:132px;padding:18px;display:flex;position:relative;overflow:hidden}.health-card:after{content:"";background:#ffffff0a;border:1px solid #ffffff29;border-radius:8px;width:120px;height:160px;position:absolute;top:-34px;right:-16px;transform:rotate(14deg)}.health-card.attention{background:linear-gradient(135deg,#342516,#70451a)}.health-copy{z-index:1;position:relative}.health-copy span,.health-copy small,.metric-card span,.metric-card small,.finance-band span{display:block}.health-copy strong{font-variant-numeric:tabular-nums;margin:7px 0;font-size:30px;display:block}.spark{z-index:1;align-items:end;gap:5px;height:74px;display:flex;position:relative}.spark i{background:#ffffffb8;border-radius:99px 99px 0 0;width:7px}.metric-card{grid-column:span 3;min-height:122px;padding:18px}.metric-card strong{font-variant-numeric:tabular-nums;margin:9px 0 6px;font-size:32px;line-height:1;display:block}.metric-card span,.metric-card small{color:var(--muted)}.metric-card.danger strong{color:var(--red)}.panel{min-width:0;padding:20px}.panel-title{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.panel-title h3{margin:0;font-size:18px}.panel-title span{color:var(--muted);font-size:12px;font-weight:500}.finance-band{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.finance-band div{background:var(--surface);border-radius:8px;padding:14px}.finance-band strong{font-variant-numeric:tabular-nums;margin-top:6px;font-size:20px;display:block}.bar-chart{background:#111827;border-radius:8px;align-items:end;gap:10px;height:128px;margin-top:20px;padding:14px;display:flex}.bar-chart span{background:linear-gradient(#4ade80,#0ea5e9);border-radius:4px 4px 0 0;flex:1;min-width:10px}.queue-block{border-top:1px solid var(--line);padding:14px 0 4px}.queue-block a{color:var(--text);justify-content:space-between;align-items:center;font-weight:500;display:flex}.queue-block strong{color:#fff;background:var(--cyan);border-radius:999px;place-items:center;min-width:28px;height:24px;font-size:12px;display:grid}.queue-block p{color:var(--muted);margin:8px 0 0;font-size:13px}.dashboard-board{--dashboard-blue:#2f6cf6;--dashboard-cyan:#0eb79b;--dashboard-orange:#f59e46;gap:16px;display:grid}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.dashboard-metric{border:1px solid var(--line);background:var(--panel);border-radius:12px;min-width:0;min-height:132px;padding:17px 18px 15px;position:relative;overflow:hidden;box-shadow:0 8px 26px #224f690e}.dashboard-metric-top{color:var(--muted);align-items:center;font-size:13px;font-weight:500;display:flex}.dashboard-metric>strong{color:var(--text);letter-spacing:-.035em;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;margin:9px 0 7px;font-size:clamp(25px,2.2vw,34px);line-height:1.05;display:block;overflow:hidden}.metric-change{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.metric-change b{color:var(--dashboard-cyan);font-size:12px}.metric-change.down b{color:var(--red)}.metric-change.flat b{color:var(--muted)}.dashboard-charts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.dashboard-chart-panel.wide{grid-column:1/-1}.dashboard-period-control{align-items:center;gap:8px;display:flex}.dashboard-export-button{min-width:66px;height:38px}.dashboard-chart-panel{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-direction:column;min-width:0;height:360px;animation:none;display:flex;overflow:hidden;box-shadow:0 10px 32px #224f690e}.dashboard-chart-panel:nth-child(2){animation-delay:90ms}.dashboard-chart-panel:nth-child(3){animation-delay:.15s}.dashboard-chart-panel:nth-child(4){animation-delay:.21s}.dashboard-chart-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:58px;padding:14px 18px;display:flex}.dashboard-chart-heading h3{letter-spacing:-.015em;margin:0;font-size:16px}.dashboard-legend{flex-wrap:wrap;justify-content:flex-end;gap:8px 14px;display:flex}.dashboard-legend span,.dashboard-donut-legend li{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;font-size:11px;display:flex}.dashboard-legend i,.dashboard-donut-legend i{background:var(--legend-color);border-radius:50%;flex:none;width:8px;height:8px}.dashboard-chart-canvas{flex:1;place-items:center;min-height:0;padding:12px 14px 5px;display:grid}.dashboard-line-chart{width:100%;height:265px;overflow:visible}.dashboard-chart-grid line{stroke:#e7eef4;stroke-width:1px}.dashboard-chart-axis text{fill:#7a8897;font-family:inherit;font-size:10px}.dashboard-line-path{stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1px;vector-effect:non-scaling-stroke;animation:none;animation-delay:calc(.18s + var(--line-order) * .12s)}.dashboard-donut-layout{flex:1;grid-template-columns:minmax(180px,.9fr) minmax(150px,1.1fr);align-items:center;gap:12px;min-height:0;padding:12px 20px 18px;display:grid}.dashboard-donut-wrap{aspect-ratio:1;width:min(100%,230px);margin:auto;position:relative}.dashboard-donut-wrap svg{width:100%;height:100%;overflow:visible}.dashboard-donut-track{fill:none;stroke:#edf2f6;stroke-width:22px}.dashboard-donut-segment{fill:none;stroke-width:22px;stroke-linecap:butt;transform-origin:100px 100px;transform:rotate(var(--segment-rotation));stroke-dasharray:0 100;opacity:0;animation:none;animation-delay:calc(.16s + var(--segment-delay))}.dashboard-donut-wrap>div{text-align:center;pointer-events:none;place-content:center;display:grid;position:absolute;inset:0}.dashboard-donut-wrap strong{font-variant-numeric:tabular-nums;font-size:23px}.dashboard-donut-wrap span{color:var(--muted);margin-top:3px;font-size:11px}.dashboard-donut-legend{gap:11px;margin:0;padding:0;list-style:none;display:grid}.dashboard-donut-legend li{grid-template-columns:8px minmax(0,1fr) auto;display:grid}.dashboard-donut-legend span{color:var(--text);text-overflow:ellipsis;overflow:hidden}.dashboard-donut-legend strong{color:var(--text);font-variant-numeric:tabular-nums}.dashboard-bars{flex:1;align-items:stretch;gap:16px;min-height:0;padding:24px 22px 16px;display:flex}.dashboard-bar-wide{height:410px}.dashboard-bar-wide .dashboard-bars{gap:clamp(5px,.8vw,14px);padding-inline:18px}.dashboard-bar-wide .dashboard-bar-item{grid-template-rows:24px 1fr 42px}.dashboard-bar-wide .dashboard-bar-item>span{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.dashboard-grouped-bar .dashboard-bar-track{justify-content:center;gap:4px}.dashboard-grouped-bar .dashboard-bar-track i{width:min(30px,38%);margin:0}.dashboard-grouped-bar .dashboard-bar-track i.offline{background:linear-gradient(#f8b45c 0%,#f59e46 100%)}.dashboard-bar-item{text-align:center;flex:1;grid-template-rows:20px 1fr 30px;gap:6px;min-width:0;display:grid}.dashboard-bar-value{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px}.dashboard-bar-track{border-bottom:1px solid var(--line);background:repeating-linear-gradient(0deg,#0000 0 44px,#edf2f6 45px);align-items:end;min-height:180px;display:flex}.dashboard-bar-track i{width:min(58px,76%);height:var(--bar-height);transform-origin:bottom;min-height:3px;animation:none;animation-delay:calc(.18s + var(--bar-order) * 80ms);background:linear-gradient(#4983fa 0%,#2f6cf6 100%);border-radius:7px 7px 2px 2px;margin:0 auto}.dashboard-bar-item:nth-child(2n) .dashboard-bar-track i{background:linear-gradient(#28cbb0 0%,#0eb79b 100%)}.dashboard-grouped-bar .dashboard-bar-track i.online{background:linear-gradient(#4983fa 0%,#2f6cf6 100%);width:min(30px,38%);margin:0}.dashboard-grouped-bar .dashboard-bar-track i.offline{background:linear-gradient(#f8b45c 0%,#f59e46 100%);width:min(30px,38%);margin:0}.dashboard-bar-item>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.35;overflow:hidden}.dashboard-chart-empty{color:var(--muted);grid-column:1/-1;place-self:center;font-size:12px}@keyframes dashboard-panel-generate{0%{opacity:0;transform:translateY(14px)scale(.992)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes dashboard-line-draw{to{stroke-dashoffset:0}}@keyframes dashboard-donut-sweep{0%{opacity:.25;stroke-dasharray:0 100}to{opacity:1;stroke-dasharray:var(--segment-size) var(--segment-gap)}}@keyframes dashboard-bar-rise{0%{opacity:.45;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes dashboard-live-pulse{0%,to{box-shadow:0 0 0 5px #0eb79b14}50%{box-shadow:0 0 0 9px #0eb79b04}}.dashboard-board:not(.dashboard-initial-motion) .dashboard-chart-panel,.dashboard-board:not(.dashboard-initial-motion) .dashboard-line-path,.dashboard-board:not(.dashboard-initial-motion) .dashboard-donut-segment,.dashboard-board:not(.dashboard-initial-motion) .dashboard-bar-track i{animation:none!important}.dashboard-board:not(.dashboard-initial-motion) .dashboard-line-path{stroke-dashoffset:0}.dashboard-board:not(.dashboard-initial-motion) .dashboard-donut-segment{opacity:1;transform:rotate(var(--segment-rotation));stroke-dasharray:var(--segment-size) var(--segment-gap)}.dashboard-board:not(.dashboard-initial-motion) .dashboard-bar-track i{transform:scaleY(1)}@media (width<=1180px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){.dashboard-charts{grid-template-columns:1fr}}@media (width<=680px){.dashboard-metrics{grid-template-columns:1fr}.dashboard-chart-heading{flex-direction:column;align-items:flex-start}.dashboard-legend{justify-content:flex-start}.dashboard-donut-layout{grid-template-columns:1fr}.dashboard-donut-wrap{max-width:210px}.dashboard-bars{gap:8px;padding-inline:12px}}@media (prefers-reduced-motion:reduce){.dashboard-chart-panel,.dashboard-line-path,.dashboard-donut-segment,.dashboard-bar-track i{animation:none!important}.dashboard-line-path{stroke-dashoffset:0}.dashboard-donut-segment{opacity:1;stroke-dasharray:var(--segment-size) var(--segment-gap)}}.revenue-board{--revenue-income:#0b9f88;--revenue-expense:#df5a68;--revenue-net:#2f6cf6;gap:22px;display:grid}.revenue-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.revenue-metric,.revenue-panel,.revenue-ledger-panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 30px #1d314912}.revenue-metric{flex-direction:column;justify-content:center;min-height:138px;padding:23px 25px;display:flex}.revenue-metric>span{color:var(--muted);font-weight:500}.revenue-metric>strong{color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:-.045em;margin-top:8px;font-family:inherit;font-size:clamp(24px,2.2vw,36px);line-height:1.15}.revenue-metric-change{color:var(--muted);align-items:center;gap:7px;margin-top:11px;font-size:12px;display:flex}.revenue-metric-change b{color:var(--muted)}.revenue-metric-change.up b{color:var(--revenue-income)}.revenue-metric-change.down b{color:var(--revenue-expense)}.revenue-panel,.revenue-ledger-panel{padding:24px 26px 26px;overflow:hidden}.revenue-panel-heading{justify-content:space-between;align-items:flex-start;gap:18px;min-height:48px;display:flex}.revenue-panel-heading h2{letter-spacing:-.02em;margin:0;font-size:18px}.revenue-panel-heading p{color:var(--muted);margin:4px 0 0;font-size:12px}.revenue-chart-legend{justify-content:flex-end;gap:8px;margin-top:-45px;margin-bottom:12px;display:flex}.revenue-legend-item{color:var(--muted);background:0 0;border:0;border-radius:9px;align-items:center;gap:6px;padding:7px 9px;font-size:12px;font-weight:500;display:inline-flex}.revenue-legend-item:hover{background:#f1f6fa}.revenue-legend-item.is-hidden{opacity:.42;text-decoration:line-through}.revenue-legend-item i,.revenue-composition-list i{background:var(--legend-color);border-radius:50%;flex:none;width:9px;height:9px}.revenue-line-canvas{min-height:330px;margin-top:4px}.revenue-line-canvas svg{width:100%;height:330px;display:block;overflow:visible}.revenue-chart-grid line{stroke:#e8eef4;stroke-width:1px}.revenue-chart-grid text,.revenue-chart-axis text{fill:#78879a;font-size:11px}.revenue-line-path{stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1px;animation:none;animation-delay:calc(var(--line-order) * 90ms)}@keyframes revenue-line-draw{to{stroke-dashoffset:0}}.revenue-composition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.revenue-donut-layout{grid-template-columns:minmax(190px,.8fr) minmax(250px,1.2fr);align-items:center;gap:22px;min-height:285px;display:grid}.revenue-donut{aspect-ratio:1;justify-self:center;width:min(220px,100%);position:relative}.revenue-donut svg{width:100%;height:100%;transform:rotate(0)}.revenue-donut-track{fill:none;stroke:#edf2f6;stroke-width:22px}.revenue-donut-segment{fill:none;stroke-width:22px;stroke-linecap:butt;transform-origin:100px 100px;transform:rotate(var(--rotation));stroke-dasharray:var(--size) var(--gap)}.revenue-donut>div{text-align:center;place-content:center;display:grid;position:absolute;inset:27%}.revenue-donut>div span{color:var(--muted);font-size:11px}.revenue-donut>div strong{color:var(--text);letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-top:3px;font-family:inherit;font-size:18px}.revenue-composition-list{margin:0;padding:0;list-style:none;display:grid}.revenue-composition-list li{border-bottom:1px solid #edf2f6;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:64px;display:grid}.revenue-composition-list li:last-child{border-bottom:0}.revenue-composition-list span,.revenue-composition-list strong{gap:2px;display:grid}.revenue-composition-list strong{text-align:right;font-variant-numeric:tabular-nums}.revenue-composition-list small{color:var(--muted);font-size:11px;font-weight:500}.revenue-horizontal-bars{align-content:center;gap:17px;min-height:285px;padding-top:14px;display:grid}.revenue-horizontal-row>div:first-child{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:7px;display:flex}.revenue-horizontal-row span{color:#435266;font-weight:500}.revenue-horizontal-row strong{font-variant-numeric:tabular-nums;font-size:12px}.revenue-horizontal-track{background:#edf2f6;border-radius:99px;height:11px;overflow:hidden}.revenue-horizontal-track i{width:max(2px, var(--bar-width));border-radius:inherit;background:linear-gradient(90deg, #ef8590, var(--revenue-expense));height:100%;display:block}.revenue-period-badge{color:var(--cyan);background:var(--cyan-soft);border-radius:9px;padding:7px 10px;font-size:12px;font-weight:500}.revenue-flow-columns{color:var(--muted);letter-spacing:.08em;grid-template-columns:1fr 1fr 1fr;margin:17px 2.2% 0;font-size:11px;font-weight:500;display:grid}.revenue-flow-columns span:nth-child(2){text-align:center}.revenue-flow-columns span:last-child{text-align:right}.revenue-sankey{min-height:430px}.revenue-sankey svg{width:100%;height:auto;display:block}.revenue-flow-lines path{fill:none;opacity:.42;stroke-linecap:round}.revenue-flow-nodes rect{fill:#f8fbfd;stroke:#dbe5ee;stroke-width:1px}.revenue-flow-nodes text{fill:#334257;font-size:14px;font-weight:500}.revenue-flow-nodes text.amount{fill:#718095;font-variant-numeric:tabular-nums;font-size:12px;font-weight:500}.revenue-platform-node rect{fill:#10273a;stroke:none;filter:drop-shadow(0 16px 26px #0b17262e)}.revenue-platform-node text{fill:#dbe8f1}.revenue-platform-node text.title{fill:#fff;font-size:19px}.revenue-platform-node text.amount{fill:#fff}.revenue-platform-node line{stroke:#ffffff29}.revenue-platform-node text.net{fill:#72dfce;font-weight:500}.revenue-ledger-panel .revenue-panel-heading{margin-bottom:16px}.revenue-ledger-panel .unified-filter{margin:0 0 17px}.revenue-table-meta{color:var(--muted);margin-bottom:10px}.revenue-table-wrap{border:1px solid var(--line);box-shadow:none}.revenue-table th:nth-child(4),.revenue-table td:nth-child(4){text-align:left}.revenue-table td{white-space:nowrap}.revenue-table td:nth-child(7){white-space:normal;min-width:190px}.revenue-direction{border-radius:99px;padding:4px 9px;font-size:11px;font-weight:500;display:inline-flex}.revenue-direction.income{color:#087966;background:#e4f7f2}.revenue-direction.expense{color:#b83f50;background:#fff0f1}.revenue-amount{font-variant-numeric:tabular-nums}.revenue-amount.income{color:#087966}.revenue-amount.expense{color:#c24152}.revenue-pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:12px;margin-top:16px;font-size:12px;display:flex}.revenue-pagination button{padding:8px 12px}.revenue-pagination button:disabled{cursor:default;opacity:.45}@media (width<=1100px){.revenue-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue-composition-grid{grid-template-columns:1fr}}@media (width<=760px){.revenue-metrics{grid-template-columns:1fr}.revenue-panel,.revenue-ledger-panel{padding:20px 18px}.revenue-chart-legend{justify-content:flex-start;margin:8px 0 0}.revenue-donut-layout{grid-template-columns:1fr}.revenue-sankey{min-height:360px;overflow-x:auto}.revenue-sankey svg{width:820px;max-width:none}}@media (prefers-reduced-motion:reduce){.revenue-line-path{stroke-dashoffset:0;animation:none}}.resource-page,.settings-page{gap:16px;display:grid}.resource-hero{justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;display:flex;position:relative;overflow:hidden}.resource-hero:after{content:"";pointer-events:none;border:20px solid #147da60e;border-radius:50%;width:160px;height:160px;position:absolute;top:-50px;right:-36px}.resource-hero h2{font-size:24px}.resource-hero p:last-child{color:var(--muted);margin:9px 0 0}.filter-bar{border:1px solid var(--line);background:var(--panel);border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:14px;display:grid}.filter-bar-actions{flex-wrap:wrap;justify-content:flex-end;align-self:end;align-items:center;gap:8px;min-height:40px;display:flex}.filter-bar-actions.review-queue-count{justify-content:center;gap:7px}.filter-bar>button{align-self:end;height:40px}.unified-filter{grid-template-columns:repeat(var(--keyword-count,1), minmax(190px, 1fr)) repeat(var(--range-count,0), minmax(150px, .75fr)) 120px 120px;align-items:end}.unified-filter label{min-width:0}.unified-filter input,.unified-filter select{width:100%;height:40px}.standalone-actions{justify-content:flex-end;display:flex}.table-wrap{border:1px solid var(--line);background:var(--panel);border-radius:12px;overflow:auto;box-shadow:0 1px #10141808}.table-meta{min-height:24px;color:var(--muted);justify-content:space-between;align-items:center;font-size:12px;display:flex}.table-meta strong{color:var(--text);font-variant-numeric:tabular-nums}.record-id{white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.resource-page .resource-table td.numeric,.resource-page .resource-table th.numeric{text-align:left;font-variant-numeric:tabular-nums}.resource-users .resource-table td:first-child{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}table{border-collapse:separate;border-spacing:0;isolation:isolate;width:100%}.resource-table{table-layout:fixed;min-width:0}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:nowrap;font-size:var(--font-body);padding:16px;line-height:22px}.resource-table th,.resource-table td{text-overflow:ellipsis;font-variant-numeric:tabular-nums;overflow:hidden}th{color:#667085;font-size:var(--font-label);z-index:1;background:#f9fafb;font-weight:500;line-height:20px;position:sticky;top:0}tbody td{background:#fff}th:first-child{z-index:4;background:#f9fbfd padding-box padding-box;font-weight:500;position:sticky;left:0;box-shadow:10px 0 14px -14px #0f172a80}td:first-child{z-index:2;background:#fff padding-box padding-box;font-weight:500;position:sticky;left:0;box-shadow:10px 0 14px -14px #0f172a80}tbody tr:hover td{background:#f8fbff}tbody tr:last-child td{border-bottom:0}.resource-table td.row-actions{white-space:normal;background:#fff;min-width:0}.merchant-row-operations{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:150px;display:grid}.resource-device-governance .resource-table{min-width:1420px}.resource-system-logs .resource-table{min-width:980px}.resource-system-logs td:nth-child(4),.resource-system-logs td:nth-child(5){white-space:normal;line-height:1.45}.device-rewards-dialog{width:min(680px,100vw - 32px)}.device-rewards-dialog .drawer-head p{color:var(--muted);margin:4px 0 0;font-size:13px}.device-reward-list{gap:8px;margin-top:18px;display:grid}.device-reward-item{border:1px solid var(--line);background:#f8fbfd;border-radius:12px;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.device-reward-item strong,.device-reward-item small{display:block}.device-reward-item strong{color:var(--ink);font-size:14px}.device-reward-item small{color:var(--muted);margin-top:4px;font-size:12px}.device-reward-image{width:46px;height:46px;color:var(--cyan-deep);background:#e8f7fb;border-radius:10px;place-items:center;font-weight:500;display:grid;overflow:hidden}.device-reward-image img{object-fit:cover;width:100%;height:100%}.device-reward-rate{grid-column:2/-1;margin-top:-4px!important}.device-rewards-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;background:#f8fbfd;border-radius:12px;margin-top:18px;padding:36px 16px}.merchant-status-select{grid-column:1/-1;align-items:center;width:100%;display:inline-flex;position:relative}.merchant-status-select:after{content:"⌄";color:#526071;pointer-events:none;font-size:11px;font-weight:500;line-height:1;position:absolute;top:50%;right:9px;transform:translateY(-58%)}.merchant-status-select select{appearance:none;color:#263241;width:100%;height:30px;min-height:30px;font:inherit;cursor:pointer;background:#eef3f8;border-color:#0000;border-radius:8px;padding:0 24px 0 10px;font-size:12px;font-weight:500;line-height:30px;transition:transform .16s,background .16s}.merchant-status-select select:hover{background:#e5edf5}.merchant-row-operations .danger-link:disabled{color:#9ba8b8;cursor:not-allowed;opacity:.72;background:#f1f4f7}.resource-players .resource-table{min-width:1360px}.resource-mall-items .resource-table{min-width:1280px}.resource-exchange-orders .resource-table{min-width:1660px}.exchange-party-ids,.exchange-recipient{min-width:126px;color:var(--ink);gap:4px;font-weight:500;line-height:1.35;display:grid}.exchange-party-ids small,.exchange-recipient small{color:var(--muted);font-size:12px;font-weight:500}.exchange-order-operations .merchant-status-select select:disabled{color:#8d99a8;cursor:not-allowed;background:#f1f4f7}.exchange-order-operations{width:100%;min-width:166px}.mall-item-operations .danger-link{grid-column:auto;width:100%;margin-right:0}.mall-item-operations{grid-template-columns:minmax(96px,1fr) 58px;align-items:center;width:166px}.mall-item-operations .merchant-status-select{grid-column:auto}.player-list-avatar{width:36px;height:36px}.status{color:#155e75;background:var(--cyan-soft);border-radius:999px;align-items:center;min-height:24px;padding:0 10px;font-size:12px;font-weight:500;display:inline-flex}.status.disabled,.status.offline,.status.failed,.status.rejected,.status.banned,.status.cancelled,.status.false{color:#991b1b;background:#fee2e2}.status.pending,.status.frozen,.status.draft,.status.medium,.status.attention{color:#92400e;background:#fef3c7}.status.enabled,.status.online,.status.success,.status.approved,.status.normal,.status.published,.status.true,.status.low{color:#166534;background:#dcfce7}.status.high{color:#991b1b;background:#fee2e2}.empty-state{height:160px;color:var(--muted);text-align:center}.load-error-panel{max-width:760px;box-shadow:var(--shadow);background:#fff;border:1px solid #f3c5ce;border-radius:12px;margin:12vh auto 0;padding:28px}.load-error-panel h2{color:#9f2639;margin:0;font-size:24px}.load-error-panel p{color:var(--muted);margin:10px 0 18px}.load-error-panel dl{gap:10px;margin:0 0 20px;display:grid}.load-error-panel dl div{background:#f8fafc;border-radius:8px;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px 12px;display:grid}.load-error-panel dt{color:#526071;font-weight:500}.load-error-panel dd{overflow-wrap:anywhere;min-width:0;color:var(--text);margin:0}.settings-card{max-width:640px;padding:20px}.switch-row{justify-content:space-between;align-items:center;display:flex}.modal-backdrop{z-index:20;background:#0f172a61;justify-content:flex-end;display:flex;position:fixed;inset:0}.modal-backdrop-centered{justify-content:center;align-items:center;padding:20px}.dialog-panel{border:1px solid var(--line);background:#fff;border-radius:14px;width:min(460px,100%);max-height:min(680px,100vh - 40px);padding:22px;overflow:auto;box-shadow:0 24px 70px #0f172a38}.drawer{width:min(620px,100vw);height:100%;box-shadow:var(--shadow);background:#fff;padding:22px;overflow:auto}.drawer-head{justify-content:space-between;align-items:start;margin-bottom:20px;display:flex}.drawer-head h3{margin:0;font-size:22px}.drawer-actions{justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.toast{pointer-events:none;z-index:30;color:#fff;box-shadow:var(--shadow);background:#111827;border-radius:8px;padding:13px 16px;font-weight:500;position:fixed;bottom:24px;right:24px}.activation-code{color:#0f766e;letter-spacing:0;white-space:nowrap;background:#f8fafc;border:1px solid #cbd5e1;border-radius:5px;padding:5px 7px;font-weight:500;display:inline-block}@media (width<=1100px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:15;width:280px;box-shadow:none;transition:none;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar-open .sidebar{transform:translate(0);box-shadow:18px 0 46px #0f172a29}.menu-button{display:block}.sidebar-close{flex:none;place-items:center;margin-left:auto;display:grid}.sidebar-backdrop{z-index:14;opacity:0;pointer-events:none;background:#0f172a47;border:0;width:100%;height:100%;transition:none;display:block;position:fixed;inset:0}.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}.health-strip,.finance-band{grid-template-columns:1fr}.metric-card,.span-7,.span-5{grid-column:1/-1}.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.login-page{grid-template-columns:1fr}.login-panel{padding:28px 24px}.topbar:has(.commerce-period) .topbar-actions{justify-content:flex-start;width:100%;margin-left:0}.topbar{flex-wrap:wrap;gap:12px;min-height:64px;padding:16px}.topbar h1{text-overflow:ellipsis;max-width:48vw;font-size:20px;overflow:hidden}.topbar-select select{width:104px}.dashboard-custom-range{grid-template-columns:1fr auto 1fr;width:calc(100vw - 24px);position:fixed;top:74px;right:12px}.dashboard-custom-actions{grid-column:1/-1;justify-content:flex-end}.main-view{padding:16px}.resource-hero,.section-header{flex-direction:column;align-items:flex-start}.filter-bar{grid-template-columns:1fr}.unified-filter{grid-template-columns:1fr 1fr}.unified-filter .filter-keyword,.unified-filter .filter-range{grid-column:1/-1}.table-meta span:last-child{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.toolbar-divider{background:var(--line);width:1px;height:28px;margin:0 2px}.gift-status{white-space:nowrap;border-radius:999px;align-items:center;min-height:28px;padding:0 11px;font-size:12px;font-weight:500;display:inline-flex}.gift-status.listed{color:#087d61;background:#dcfce7}.gift-status.unlisted{color:#9f1239;background:#ffe4e6}.gift-status.unused{color:#73510d;background:#fef3c7}.model-table-thumb,.model-table-placeholder{border:1px solid var(--line);object-fit:contain;box-sizing:border-box;background:#f3f7fa;border-radius:8px;width:56px;height:56px;padding:3px;display:block}.model-table-placeholder{color:#155e75;place-items:center;font-size:18px;font-weight:500;display:grid}.admin-progress{background:#e2e8f0;border-radius:999px;width:120px;height:7px;overflow:hidden}.admin-progress span{border-radius:inherit;background:#0f766e;height:100%;display:block}.viewer-reset{border:1px solid var(--line);min-height:34px;color:var(--text);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe6;border-radius:7px;padding:0 12px;font-weight:500;position:absolute;bottom:12px;right:12px}.review-queue-count{color:#0f607e;text-align:right;background:#edf8fb;border:1px solid #b9dce8;border-radius:8px;min-width:112px;padding:14px 18px}.review-queue-count strong,.review-queue-count span{display:block}.review-queue-count strong{font:850 30px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.review-queue-count span{color:var(--muted);margin-top:6px;font-size:12px;font-weight:500}.section-tabs{scrollbar-width:thin;gap:6px;margin-bottom:16px;padding-bottom:8px;display:flex;overflow-x:auto}.section-tabs a,.section-tabs>span{border:1px solid var(--line);min-height:36px;color:var(--muted);background:#fff;border-radius:7px;flex:none;align-items:center;padding:0 12px;font-size:12px;font-weight:500;display:inline-flex}.section-tabs>span.is-disabled{opacity:.42;cursor:not-allowed;filter:grayscale()}.admin-profile-avatar-row{align-items:center;gap:16px;padding:4px 0 18px;display:flex}.admin-avatar-upload{cursor:pointer;align-items:center;display:inline-flex;position:relative;overflow:hidden}.admin-avatar-upload input{opacity:0;cursor:pointer;position:absolute;inset:0}.section-tabs a.active{color:#fff;background:#155e75;border-color:#155e75}.access-page{gap:14px;display:grid}.admin-password-form{border-top:1px solid var(--line);margin-top:4px;padding-top:16px}.admin-password-heading{gap:4px;display:grid}.admin-password-heading strong{color:var(--text)}.admin-password-heading small{color:var(--muted);font-size:12px}.operational-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.operational-summary.is-four{grid-template-columns:repeat(4,minmax(0,1fr))}.operational-summary.is-two{grid-template-columns:repeat(2,minmax(0,1fr))}.machine-default-badge{color:#0f718b;background:#def4fa;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:500}.machine-assignment-dialog{width:min(620px,100%)}.machine-switch-field{color:#47576c;border:1px solid var(--line);border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:7px;padding:12px 14px;font-size:13px;font-weight:500;display:grid}.machine-switch-field input{width:20px;height:20px;accent-color:var(--accent);grid-area:1/2/span 2}.machine-switch-field b{color:#7b899a;font-size:12px;font-weight:500}.machine-assignment-list{border:1px solid var(--line);border-radius:12px;max-height:430px;display:grid;overflow:auto}.machine-assignment-item{cursor:pointer;align-items:center;gap:12px;padding:13px 15px;display:flex}.machine-assignment-item+.machine-assignment-item{border-top:1px solid var(--line)}.machine-assignment-item:hover{background:#f5fbfd}.machine-assignment-item input{width:19px;height:19px;accent-color:var(--accent)}.machine-assignment-item span,.machine-assignment-item strong,.machine-assignment-item small{min-width:0;display:block}.machine-assignment-item small{color:#77879a;margin-top:4px}.merchant-view-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.merchant-view-card{border:1px solid var(--line);min-width:0;min-height:112px;color:inherit;background:#fff;border-radius:12px;flex-direction:column;justify-content:center;padding:17px 20px 15px;text-decoration:none;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;position:relative;overflow:hidden;box-shadow:0 6px 20px #1f4c650a}.merchant-view-card:before{content:"";background:0 0;border-radius:0 3px 3px 0;width:3px;position:absolute;inset:15px auto 15px 0}.merchant-view-card small{color:#65758a;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:1.35;overflow:hidden}.merchant-view-card strong{color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:-.035em;text-overflow:ellipsis;white-space:nowrap;margin-top:9px;font-family:inherit;font-size:clamp(25px,2.2vw,34px);font-weight:500;line-height:1.05;display:block;overflow:hidden}.merchant-view-change{color:var(--muted);align-items:center;gap:6px;margin-top:7px;font-size:11px;font-weight:500;line-height:1.3;display:flex}.merchant-view-change b{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.merchant-view-change.is-positive b{color:#087d61}.merchant-view-change.is-negative b{color:var(--red)}.merchant-view-change.is-neutral b{color:var(--muted)}.operational-stat-card{border:1px solid var(--line);min-height:112px;box-shadow:none;background:#fff;border-radius:12px;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:16px;padding:20px 24px;display:grid;position:relative;overflow:hidden}.operational-stat-icon{color:#155e75;background:var(--cyan-soft);border-radius:10px;place-items:center;width:44px;height:44px;font-size:16px;font-weight:500;display:grid}.operational-stat-card.tone-2 .operational-stat-icon{color:#5b21b6;background:#ede9fe}.operational-stat-card.tone-3 .operational-stat-icon{color:#92400e;background:#fef3c7}.operational-stat-card.tone-4 .operational-stat-icon{color:#166534;background:#dcfce7}.operational-stat-copy{flex-direction:column;align-items:flex-start;min-width:0;display:flex}.operational-stat-card small{color:#65758a;max-width:100%;font-size:var(--font-label);text-overflow:ellipsis;white-space:nowrap;font-weight:500;line-height:20px;display:block;overflow:hidden}.operational-stat-card strong{max-width:100%;color:var(--text);font-family:inherit;font-size:var(--font-metric);white-space:nowrap;letter-spacing:-.5px;text-overflow:ellipsis;font-variant-numeric:tabular-nums;margin-top:8px;font-weight:600;line-height:40px;display:block;overflow:hidden}.operational-stat-change{color:var(--muted);align-items:center;gap:6px;margin-top:7px;font-size:11px;font-weight:500;line-height:1.3;display:flex}.operational-stat-change b{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.operational-stat-change.is-positive b{color:#087d61}.operational-stat-change.is-negative b{color:var(--red)}.operational-stat-change.is-neutral b{color:var(--muted)}.access-add{align-self:center;min-width:116px}.access-filter{grid-template-columns:minmax(220px, 1.5fr) repeat(var(--range-count,2), minmax(150px, .75fr)) 120px 120px}.access-table-wrap{overflow-x:auto}.access-account-table{table-layout:auto;min-width:1180px}.access-account-table th:first-child,.access-account-table td:first-child{width:18%}.admin-account-identity{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:500}.admin-person{align-items:center;gap:11px;display:flex}.admin-person>span{color:#fff;background:linear-gradient(145deg,#147da6,#155e75);border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:12px;font-weight:500;display:grid}.admin-person div{gap:2px;min-width:0;display:grid}.admin-person strong,.admin-person small{text-overflow:ellipsis;overflow:hidden}.admin-person small{color:var(--muted);font-size:11px;font-weight:500}.admin-role{color:#155e75;background:var(--cyan-soft);border-radius:5px;align-items:center;min-height:24px;padding:0 8px;font-size:11px;font-weight:500;display:inline-flex}.admin-role.super_admin{color:#991b1b;background:#fee2e2}.admin-role.administrator{color:#5b21b6;background:#ede9fe}.access-row-actions{min-width:150px}.permission-footnote{color:var(--muted);font-size:11px}.permission-matrix-wrap{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:auto}.permission-matrix{table-layout:fixed;min-width:920px}.permission-matrix thead th:first-child,.permission-matrix tbody th:first-child{width:24%}.permission-matrix thead th:not(:first-child),.permission-matrix td{text-align:center}.permission-matrix thead th strong,.permission-matrix thead th small{display:block}.permission-matrix thead th small{color:#8996a8;margin-top:2px;font-size:10px}.permission-matrix tbody th{color:var(--text);box-shadow:none;background:#fff;font-size:12px;position:static}.permission-matrix .permission-group th{color:#155e75;letter-spacing:.03em;background:#edf8fb;padding:8px 14px;font-size:11px}.admin-switch{cursor:pointer;grid-template-columns:38px auto;align-items:center;gap:7px;display:inline-grid;position:relative}.admin-switch input{opacity:0;pointer-events:none;width:1px;height:1px;margin:0;padding:0;position:absolute}.admin-switch>span{background:#cbd5df;border-radius:999px;width:38px;height:22px;transition:background .15s;display:block;position:relative}.admin-switch>span:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0f172a4d}.admin-switch input:checked+span{background:var(--cyan)}.admin-switch input:checked+span:after{transform:translate(16px)}.admin-switch input:focus-visible+span{outline-offset:2px;outline:3px solid #147da640}.admin-switch em{min-width:24px;color:var(--muted);font-size:10px;font-style:normal}.admin-switch:has(input:disabled){cursor:not-allowed;opacity:.65}.permission-footnote{margin:-6px 2px 0}.access-account-dialog{border:1px solid var(--line);background:#fff;border-radius:14px;width:min(620px,100%);max-height:calc(100vh - 40px);padding:20px;overflow:auto;box-shadow:0 24px 70px #0f172a3d}.access-account-dialog .drawer-head{margin-bottom:14px}.access-account-dialog .drawer-head p{color:var(--muted);margin:3px 0 0;font-size:12px}.access-form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.access-password-field{grid-column:1/-1}@media (width<=900px){.operational-summary,.operational-summary.is-four,.operational-summary.is-two,.merchant-view-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.access-add{width:100%}.access-filter{grid-template-columns:1fr 1fr}.unified-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.access-filter,.access-form-grid,.operational-summary,.operational-summary.is-four,.operational-summary.is-two,.merchant-view-summary{grid-template-columns:1fr}.access-password-field{grid-column:auto}.unified-filter{grid-template-columns:1fr 1fr}.unified-filter .filter-keyword,.unified-filter .filter-range{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){.admin-switch>span,.admin-switch>span:after{transition:none}}.clickable-row{cursor:pointer}.clickable-row:focus-visible{outline-offset:-3px;outline:3px solid #2563eb33}.clickable-row:hover td,.clickable-row:focus-visible td{background:#f1f9fc}.merchant-detail-page{gap:18px;display:grid}.merchant-detail-topline{border-bottom:1px solid #b9d0d9;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;min-height:66px;padding:3px 0 15px;display:grid}.merchant-detail-topline>.merchant-card-metrics{border:0;min-width:210px;margin:0;padding:0}.merchant-detail-avatar,.merchant-list-avatar{color:#126f89;background:#e3f2f6;border:1px solid #c6dce4;border-radius:50%;flex:none;place-items:center;font-weight:500;display:inline-grid;position:relative;overflow:hidden}.merchant-detail-avatar{width:42px;height:40px;font-size:16px}.merchant-list-avatar{vertical-align:middle;width:34px;height:34px;font-size:13px}.merchant-detail-avatar img,.merchant-list-avatar img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.merchant-card{border:0 0 1px;width:100%;color:var(--text);box-shadow:none;background:0 0;border-radius:0;margin:0;padding:0 0 14px}.merchant-card:before,.merchant-card:after{content:none}.merchant-card-heading{border-left:3px solid #1682a0;align-items:center;gap:12px;min-width:0;padding-left:15px;display:flex}.merchant-back-link{color:#24677d;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:7px 0;font-size:13px;font-weight:500}.merchant-card-identity{min-width:0}.merchant-card h2{color:#102b3b;letter-spacing:-.01em;margin:0;font-size:23px;line-height:1.2}.merchant-card-identity p{color:#587684;margin:3px 0 0;font-size:12px;font-weight:500}.merchant-detail-layout{grid-template-columns:minmax(0,1fr) 242px;align-items:start;gap:32px;display:grid}.merchant-detail-main{gap:22px;min-width:0;display:grid}.merchant-profile-sidebar{border-left:1px solid #d4e1e6;padding-left:22px}.merchant-profile-sidebar h3{color:#173b4c;border-bottom:1px solid #d7e4e9;margin:0 0 16px;padding:0 0 9px;font-size:15px;position:relative}.merchant-profile-sidebar h3:after{content:"";background:#1682a0;width:42px;height:2px;position:absolute;bottom:-1px;left:0}.merchant-card-facts{border:0;gap:11px;margin:0;padding:0;display:grid}.merchant-card-facts div{grid-template-columns:64px minmax(0,1fr);align-items:baseline;gap:8px;min-width:0;display:grid}.merchant-card-facts dt{color:#78909a;font-size:11px;font-weight:500}.merchant-card-facts dd{overflow-wrap:anywhere;color:#183746;margin:0;font-size:12px;font-weight:500}.merchant-card-metrics{border-top:1px solid #dbe6ea;border-bottom:1px solid #dbe6ea;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px;padding:13px 0 12px;display:grid}.merchant-card-metrics div{gap:3px;display:grid}.merchant-card-metrics strong{color:#103b4c;letter-spacing:-.03em;font-size:18px;line-height:1}.merchant-card-metrics div span{color:#6e8792;font-size:11px;font-weight:500}.merchant-store-heading{border-bottom:1px solid #b9d0d9;justify-content:space-between;align-items:baseline;gap:12px;min-height:31px;padding:0 0 9px;display:flex}.merchant-store-heading span{color:var(--muted);font-size:12px;font-weight:500}.merchant-store-heading strong{color:var(--text);padding-left:11px;font-size:16px;position:relative}.merchant-store-heading strong:before{content:"";background:#1682a0;border-radius:2px;width:3px;position:absolute;inset:3px auto 3px 0}.merchant-store-list{display:grid}.merchant-store-card{min-width:0;box-shadow:none;background:0 0;border:0;border-bottom:1px solid #cedde3;border-radius:0;overflow:visible}.merchant-store-card.is-focused{background:#dff4f959;border-bottom-color:#248ca8}.merchant-store-card>header{grid-template-columns:92px minmax(190px,1fr) minmax(250px,auto);align-items:center;gap:14px;padding:12px 4px;transition:background-color .14s;display:grid}.merchant-store-card>header:hover{background:#e2f2f76b}.merchant-store-cover{aspect-ratio:16/10;color:#147a96;background:#e9f4f7;border:1px solid #d6e6ec;border-radius:5px;place-items:center;width:92px;font-size:20px;font-weight:500;display:grid;position:relative;overflow:hidden}.merchant-store-cover img{object-fit:cover;color:#0000;width:100%;height:100%;position:absolute;inset:0}.merchant-store-copy{min-width:0}.merchant-store-card h3{color:var(--text);margin:0 0 5px;font-size:15px}.merchant-store-card header p{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.store-facts{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;gap:6px 18px;padding:0;font-size:11px;display:flex}.store-facts strong{color:var(--text)}.merchant-device-table{border-top:1px solid #e0e9ed;overflow-x:auto}.merchant-device-table table{min-width:780px}.merchant-device-table th{background:#eff7fa9e;height:35px;padding:6px 10px;font-size:11px}.merchant-device-table td{height:40px;padding:7px 10px;font-size:12px}.merchant-device-table tbody tr:nth-child(2n) td{background:#f0f7f985}.merchant-device-table td:first-child,.merchant-device-table th:first-child{box-shadow:none;position:static}.merchant-device-table td strong,.merchant-device-table td small{display:block}.merchant-device-table td small{color:var(--muted);margin-top:3px;font-size:11px}.device-fault{color:#a72d39;font-size:12px}.merchant-device-empty{text-align:left;color:var(--muted);padding:11px 10px;font-size:12px}.merchant-ledger-section{min-width:0}.merchant-detail-table{border-bottom:1px solid #cddde3;overflow-x:auto}.merchant-detail-table table{border-collapse:collapse;width:100%;min-width:820px}.merchant-detail-table th{color:#58717c;text-align:left;background:#eff7faa6;border-bottom:1px solid #d8e5e9;height:35px;padding:6px 9px;font-size:11px}.merchant-detail-table td{color:#203c48;vertical-align:middle;border-bottom:1px solid #e3ebee;height:40px;padding:7px 9px;font-size:12px}.merchant-detail-table tbody tr:last-child td{border-bottom:0}.merchant-detail-table tbody tr:hover td{background:#e9f5f880}.merchant-detail-empty{text-align:center;color:var(--muted);border-bottom:1px solid var(--line);background:0 0;gap:7px;padding:34px 22px;display:grid}.merchant-detail-empty strong{color:var(--text)}.player-heading{gap:10px}.player-avatar{isolation:isolate;color:#126f89;background:#e3f2f6;border:1px solid #c6dce4;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:15px;font-weight:500;display:grid;position:relative;overflow:hidden}.player-avatar span{place-items:center;width:100%;height:100%;display:grid}.player-avatar img{z-index:1;border-radius:inherit;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.player-detail-layout{grid-template-columns:minmax(0,1fr) 258px;gap:28px}.player-detail-main{gap:22px;display:grid}.player-detail-section{min-width:0}.player-detail-table{border-bottom:1px solid #cddde3;overflow-x:auto}.player-detail-table table{border-collapse:collapse;width:100%;min-width:760px}.player-detail-table th{color:#58717c;text-align:left;background:#eff7faa6;border-bottom:1px solid #d8e5e9;height:34px;padding:6px 9px;font-size:11px}.player-detail-table td{color:#203c48;vertical-align:middle;border-bottom:1px solid #e3ebee;height:44px;padding:7px 9px;font-size:12px}.player-detail-table tbody tr:last-child td{border-bottom:0}.player-detail-table tbody tr:hover td{background:#e9f5f880}.backpack-item{align-items:center;gap:9px;min-width:145px;display:flex}.backpack-item img,.backpack-item span{object-fit:cover;color:#27778c;background:#edf6f8;border:1px solid #d8e4e8;border-radius:4px;flex:none;place-items:center;width:34px;height:34px;font-size:11px;font-weight:500;display:grid}.backpack-item strong{color:#173845;font-size:12px}.player-detail-empty{color:var(--muted);border-bottom:1px solid #d7e3e7;padding:16px 9px;font-size:12px}.player-profile-sidebar{min-width:0}.player-card-facts{gap:9px}.player-card-facts div{grid-template-columns:66px minmax(0,1fr)}.player-assets-heading{margin-top:22px!important}.player-asset-summary{border-top:1px solid #dbe6ea;border-left:1px solid #dbe6ea;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.player-asset-summary div{border-bottom:1px solid #dbe6ea;border-right:1px solid #dbe6ea;gap:3px;min-width:0;padding:10px;display:grid}.player-asset-summary span{color:#6e8792;font-size:10px;font-weight:500}.player-asset-summary strong{overflow-wrap:anywhere;color:#103b4c;font-size:16px;line-height:1.1}.asset-delta.is-positive{color:#087d61}.asset-delta.is-negative{color:#b13a4b}@media (width<=960px){.merchant-detail-layout{grid-template-columns:1fr;gap:16px}.merchant-profile-sidebar{border-bottom:1px solid #d4e1e6;border-left:0;grid-row:1;padding:0 0 14px}.merchant-card-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.merchant-card-facts div{grid-template-columns:auto minmax(0,1fr)}.merchant-card-metrics{max-width:360px}.merchant-store-card>header{grid-template-columns:92px minmax(0,1fr)}.store-facts{grid-column:2/-1;justify-content:flex-start}.player-detail-layout{grid-template-columns:1fr;gap:16px}.player-profile-sidebar{grid-row:1}.player-asset-summary{max-width:420px}}@media (width<=620px){.merchant-detail-topline{grid-template-columns:1fr auto;gap:10px}.merchant-back-link{grid-column:1/-1;justify-self:start}.merchant-card h2{font-size:19px}.merchant-card-facts{grid-template-columns:1fr}.merchant-profile-sidebar{padding-bottom:12px}.merchant-store-card>header{grid-template-columns:80px minmax(0,1fr);gap:10px}.merchant-store-cover{width:80px}.store-facts{grid-column:1/-1;justify-content:flex-start}}.danger-button{color:#991b1b;background:#fff1f2;border:1px solid #fecaca;border-radius:7px;min-height:38px;padding:0 14px;font-weight:500}.form-hint{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.status.pending-review,.status.queued,.status.preprocessing,.status.generating,.status.optimizing,.status.duplicate-review{color:#92400e;background:#fef3c7}.status.blocked,.status.archived{color:#991b1b;background:#fee2e2}b,strong,th,h1,h2,h3,h4,h5,h6{font-weight:500}.commission-person{flex-direction:row;align-items:center;gap:8px;min-width:0;font-size:14px;line-height:20px;display:flex}.commission-person__avatar{color:#147da6;background:#e2f4f8;border-radius:6px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid;position:relative;overflow:hidden}.commission-person__avatar img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.commission-person__name{overflow-wrap:anywhere;max-width:100%}.resource-distribution-commissions .resource-table td{vertical-align:middle;padding-top:10px;padding-bottom:10px}.resource-distribution-commissions .resource-table{min-width:1100px}.resource-distribution-commissions .resource-table th,.resource-distribution-commissions .resource-table td{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;font-weight:400}.resource-distribution-commissions .resource-table th{font-weight:500}.resource-users .player-list-avatar{border-radius:6px;width:32px;height:32px}.resource-users .resource-table{min-width:1400px}.resource-users .resource-table td{height:56px;font-size:var(--font-body);vertical-align:middle;padding-top:8px;padding-bottom:8px;font-weight:400;line-height:22px}.resource-users .resource-table th{font-size:var(--font-label);white-space:normal;text-overflow:clip;font-weight:500}.user-role-badge{white-space:nowrap;border-radius:6px;padding:3px 7px;font-size:12px;display:inline-block}.user-role-partner{color:#1685e8;background:#e3f2ff}.user-role-agent{color:#8255d4;background:#f0eaff}.user-role-owner{color:#d78a27;background:#fff2e2}.user-role-user{color:#27996b;background:#e3f6ed}.resource-users .resource-table th:nth-child(13){white-space:nowrap}.order-user{flex-direction:column;align-items:center;gap:4px;font-size:13px;font-weight:400;line-height:18px;display:flex}.order-user__avatar{color:#147da6;background:#e2f4f8;border-radius:6px;place-items:center;width:32px;height:32px;display:grid;position:relative;overflow:hidden}.order-user__avatar img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.resource-direct-orders .resource-table td:nth-child(2){padding-top:8px;padding-bottom:8px}.resource-direct-orders .resource-table td{font-size:var(--font-body);vertical-align:middle;padding-top:8px;padding-bottom:8px;font-weight:400;line-height:22px}.resource-direct-orders .resource-table th{font-size:var(--font-label);font-weight:500}.resource-direct-orders .order-user{min-width:80px}.resource-direct-orders .order-user>span:last-child{white-space:nowrap}:is(.resource-users,.resource-direct-orders,.resource-distribution-commissions) .resource-table :is(th,td){text-align:left;vertical-align:middle}:is(.resource-users,.resource-direct-orders,.resource-distribution-commissions) .resource-table td>:is(.merchant-list-avatar,.merchant-row-operations,.exchange-recipient){margin-inline:0}:is(.resource-users,.resource-direct-orders,.resource-distribution-commissions) .resource-table :is(.order-user,.exchange-recipient){text-align:left;place-items:flex-start start}:is(.resource-users,.resource-direct-orders,.resource-distribution-commissions) .resource-table .merchant-row-operations{justify-content:flex-start;align-items:center}.resource-users .resource-table .user-row-operations{width:max-content;max-width:100%;margin-inline:0}.resource-users .resource-table .user-row-operations .user-identity-action{text-align:left}:is(.resource-users,.resource-direct-orders,.resource-distribution-commissions) .resource-table :is(button,select){text-align:left;text-align-last:left}.resource-direct-orders .resource-table{min-width:1700px}.resource-direct-orders .order-relation>span:last-child{white-space:normal;overflow-wrap:anywhere}.resource-direct-orders .order-relation{line-height:18px}.resource-table .avatar-detail-link{vertical-align:middle;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;margin:0;padding:0;display:inline-flex}.resource-table .avatar-detail-link:hover{box-shadow:0 0 0 2px #bce5f4}.resource-table .avatar-detail-link:focus-visible{outline-offset:3px;outline:2px solid #147da6}.login-panel .login-form{gap:20px}.online-play-admin{gap:16px;display:grid}.op-card{background:var(--surface,#fff);border:1px solid #dce3ed;border-radius:14px;padding:20px}.op-card header{justify-content:space-between;align-items:center;display:flex}.op-card p{color:#516077;line-height:1.7}.op-card form{align-items:center;gap:8px;display:flex}.op-card input,.op-card select,.op-card textarea{border:1px solid #bdc9da;border-radius:6px;padding:9px}.op-card label{margin:12px 0;display:block}.op-card textarea{box-sizing:border-box;overflow-wrap:anywhere;width:100%;display:block}.op-table{overflow:auto}.op-table table{border-collapse:collapse;width:100%;min-width:800px}.op-table th,.op-table td{text-align:left;border-bottom:1px solid #e4e9f0;padding:12px}.op-table small{color:#65758a;margin-top:5px;display:block}.op-error{color:#a12525;background:#fff1f1;border-radius:8px;padding:12px}.person-avatar{vertical-align:middle;color:#617188;background:#f2f5f9;border-radius:6px;flex-shrink:0;width:32px;height:36px;display:inline-block;position:relative;overflow:hidden}.person-avatar .person-avatar-fallback{flex-direction:column;justify-content:center;align-items:center;gap:1px;width:100%;height:100%;display:flex}.person-avatar svg{flex-shrink:0;width:20px;height:20px}.person-avatar small{white-space:nowrap;font-size:10px;line-height:1}.person-avatar img{object-fit:cover;z-index:1;width:100%!important;height:100%!important;position:absolute!important;inset:0!important}.pm-avatar>.person-avatar,.pm-node-avatar>.person-avatar,.player-avatar>.person-avatar,.order-user__avatar>.person-avatar{width:100%;height:100%}.avatar-detail-link:has(.person-avatar){width:32px;height:36px}.version-notice{z-index:10000;background:#fff;border:1px solid #bdd1f3;border-radius:10px;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:12px 16px;font-size:13px;display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #172b4d26}.version-notice button{white-space:nowrap}:root{--font-heading:18px;--font-section:16px;--font-body:14px;--font-metric:22px;--radius-control:8px;--radius-panel:12px}.content-shell .topbar{gap:12px;height:auto;min-height:56px;padding:10px 20px}.content-shell .topbar h1{margin:0 auto 0 0;font:600 18px/26px Microsoft YaHei UI,PingFang SC,sans-serif}.topbar-back{flex-shrink:0;display:inline-flex}.topbar-back:empty,.topbar-actions:empty{display:none}.page-back-button{color:#475467;white-space:nowrap;background:0 0;border:0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;min-height:32px;padding:0;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;display:inline-flex}.page-back-button .ui-icon{width:16px;height:16px}.page-back-button:hover{color:#1d4ed8;background:#eef2f6}.page-back-button:disabled{opacity:.5;cursor:default}.content-shell .main-view{background:var(--surface);min-height:calc(100dvh - 56px);padding:16px 20px 24px}@media (width>=1101px){.app-shell{grid-template-columns:216px minmax(0,1fr)}}.sidebar-brand{gap:10px;min-height:64px;padding:10px 12px}.sidebar-brand>img{width:64px;height:44px}.sidebar-account-shell{padding:10px 4px}.sidebar-account-copy strong{font-size:13px;font-weight:500}.sidebar-account-copy small{font-size:12px}.sidebar>nav{scrollbar-width:none;padding-top:4px}.sidebar>nav::-webkit-scrollbar{width:0;height:0;display:none}.sidebar .nav-item{gap:10px;min-height:36px;padding:8px 12px;font-size:13px;line-height:20px}.sidebar .nav-group>p{margin:14px 12px 6px;font-size:12px}.sidebar .nav-icon .ui-icon{width:17px;height:17px}.topbar h1 .ap-module-title,.topbar h1 .ap-page-title{font:inherit;color:inherit;letter-spacing:0;background:0 0;border:0;min-height:0;padding:0;text-decoration:none}.topbar h1 .ap-module-title:not(.is-current){color:#667085}.topbar h1 .ap-title-separator{color:#98a2b3;font-size:18px}.main-view :is(.primary-button,.ghost-button),.topbar-actions :is(.primary-button,.ghost-button){min-height:32px;box-shadow:none;border-radius:8px;padding:5px 12px;font:500 13px/20px Microsoft YaHei UI,PingFang SC,sans-serif}.main-view :is(.filter-bar,.withdrawal-filters,.refund-filters,.free-rebate-filters,.access-filter){border-radius:10px;gap:8px 10px;padding:10px 12px}.main-view :is(.filter-bar,.withdrawal-filters,.refund-filters,.free-rebate-filters,.access-filter) label{min-width:0;font-size:12px;font-weight:400}.main-view :is(.filter-bar,.withdrawal-filters,.refund-filters,.free-rebate-filters,.access-filter) :is(input,select){border-radius:8px;height:32px;min-height:32px;padding:5px 10px;font-size:14px;line-height:20px}.main-view .filter-bar>button{width:auto;min-width:0;height:32px;min-height:32px}.main-view :is(.table-wrap,.access-table-wrap,.pm-table){scrollbar-width:thin;scrollbar-color:#c7d2e1 transparent;border-radius:10px}.main-view :is(.resource-table,.pm-table table){table-layout:auto;font-size:14px;line-height:1.45}.main-view :is(.resource-table,.pm-table table) th{color:#667085;text-align:left;background:#f8fafc;padding:8px 10px;font-size:12px;font-weight:500}.main-view :is(.resource-table,.pm-table table) td{overflow-wrap:anywhere;text-align:left;padding:8px 10px}.main-view .resource-table td:not(.numeric){white-space:normal;text-overflow:clip}.main-view .resource-table :is(th,td).numeric,:is(.refund-review,.withdrawal-review) .resource-table td:nth-child(4),.refund-review .resource-table td:nth-child(5),.rebate-review .resource-table td:nth-child(6){white-space:nowrap;text-align:left;font-variant-numeric:tabular-nums;min-width:108px}.main-view .table-meta{color:#667085;margin:8px 0;padding:0;font-size:12px;line-height:18px}.main-view :is(.empty-state,.refund-empty,.withdrawal-empty){color:#667085;font-size:14px;line-height:1.5}.main-view .operational-stat-card{min-height:60px;box-shadow:none;padding:10px 14px}.main-view .operational-stat-copy strong{font-variant-numeric:tabular-nums;font-size:22px;line-height:1.3}.main-view .access-page{gap:12px}.main-view .operational-stat-icon .ui-icon{width:20px;height:20px}.main-view .row-actions select{min-height:28px;line-height:20px}:is(.pm-modal,.refund-dialog,.withdrawal-dialog,.dm-editor,.dof-dialog){font-family:inherit}.modal-backdrop{overflow:hidden}.modal-backdrop :is(input,textarea,select){font-size:14px;line-height:1.45}.modal-backdrop :is(.dialog-panel,.drawer-panel){overscroll-behavior:contain}.main-view a:focus-visible,.main-view button:focus-visible{outline-offset:2px;outline:3px solid #2563eb35}.ux-loading{border:1px solid var(--line);color:#667085;background:#fff;border-radius:10px;place-items:center;min-height:140px;font-size:14px;display:grid}@media (width<=1000px){.content-shell .topbar-actions{gap:8px}.main-view .filter-bar{flex-wrap:wrap;display:flex}.main-view .filter-bar label{flex:1;min-width:150px}.main-view .filter-bar .filter-keyword{flex-basis:100%}}@media (width<=650px){.content-shell .topbar{flex-wrap:wrap;min-height:56px;padding:10px 12px}.content-shell .main-view{padding:12px 10px 20px}.page-back-button{width:44px;height:44px;min-height:44px}.content-shell .topbar:has(.topbar-back:not(:empty)){column-gap:8px}.main-view :is(.primary-button,.ghost-button),.topbar-actions :is(.primary-button,.ghost-button){min-height:44px}.main-view :is(.filter-bar,.withdrawal-filters,.refund-filters,.free-rebate-filters,.access-filter) :is(input,select){height:40px;min-height:40px}.main-view .filter-bar>button{flex:1;height:44px;min-height:44px}.main-view .resource-table td[colspan]{padding:24px 12px}.main-view :is(.operational-summary,.operational-summary.is-four,.operational-summary.is-two){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.modal-backdrop :is(.pm-modal,.refund-dialog,.withdrawal-dialog){max-width:calc(100vw - 20px);max-height:94dvh}}.ul-page{min-width:0;font-size:14px;line-height:1.45;display:block}.ul-workspace{border:1px solid var(--line,#e1e6ed);background:#fff;border-radius:12px;min-width:0}.ul-toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;display:flex}.ul-page .ul-toolbar .filter-bar{box-shadow:none;background:0 0;border:0;border-radius:0;flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;margin:0;padding:0;display:flex}.ul-toolbar .filter-keyword{flex:1;min-width:200px}.ul-toolbar .filter-range{width:116px}.ul-toolbar label{min-width:0;margin:0}.ul-page .ul-toolbar :is(input,select){width:100%;height:32px;min-height:32px;color:var(--text);background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:5px 10px;font-family:inherit;font-size:14px;line-height:20px}.ul-page .ul-toolbar button,.ul-page .ul-pagination button{border-radius:8px;height:32px;min-height:32px;padding:5px 12px;font-size:13px;line-height:20px}.ul-list-count{color:#667085;white-space:nowrap;margin-left:auto;font-size:12px}.ul-list{min-width:0}.ul-table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%}.ul-page .ul-table th,.ul-page .ul-table td{box-shadow:none;z-index:auto;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:8px 10px;font-weight:400;position:static;left:auto;overflow:visible}.ul-page .ul-table th{color:#667085;background:#f8fafc;padding-block:8px;font-size:12px;font-weight:500}.ul-page .ul-table td{vertical-align:middle;border-top:1px solid #edf0f5;height:64px;font-size:14px;line-height:1.45}.ul-table tr:hover td{background:#fafcff}.ul-person{align-items:center;gap:8px;min-width:0;display:flex}.ul-person>div{flex:1;min-width:0}.ul-person strong{overflow-wrap:anywhere;font-size:14px;font-weight:500;display:block}.ul-person .avatar-detail-link{background:0 0;border:0;border-radius:8px;flex:none;width:36px;height:36px;margin:0;padding:0;overflow:hidden}.ul-person .person-avatar{border-radius:8px;width:36px;height:36px}.ul-id{color:#667085;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:2px;font-size:12px;line-height:18px;display:block}.ul-assets dl,.ul-assets dd{margin:0}.ul-assets dt{color:#667085;font-size:12px}.ul-assets>strong{font-variant-numeric:tabular-nums;white-space:normal;font-weight:600}.ul-assets dl{flex-wrap:wrap;gap:3px 10px;margin-top:3px;display:flex}.ul-assets dl>div{align-items:baseline;gap:4px;display:flex}.ul-assets dd{font-variant-numeric:tabular-nums;font-size:12px}.ul-action-row{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px 14px;display:flex}.ul-page .ul-actions .user-row-operations{display:contents}.ul-table .ul-empty{text-align:center;color:#667085;height:auto;padding:32px}.ul-pagination{border-top:1px solid #edf0f5;padding:10px 14px}.ul-pagination nav{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin:0;padding:0;display:flex}@media (width>=1280px){.ul-action-row{flex-wrap:nowrap}}@media (width<=1000px){.ul-toolbar .filter-keyword{min-width:220px}.ul-list-count{margin-left:0}.ul-table,.ul-table tbody{width:100%;min-width:0;display:block}.ul-table colgroup{display:none}.ul-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ul-table tr{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding:14px;display:grid}.ul-table tr:last-child{border-bottom:0}.ul-page .ul-table td{border:0;min-width:0;height:auto;padding:0;display:block}.ul-table tr:hover td{background:0 0}.ul-table td:before{content:attr(data-label);color:#667085;margin-bottom:3px;font-size:12px;display:block}.ul-table .ul-user,.ul-table .ul-actions,.ul-table .ul-empty{grid-column:1/-1}.ul-table .ul-user:before,.ul-table .ul-actions:before,.ul-table .ul-empty:before{display:none}.ul-page .ul-table .ul-actions{border-top:1px solid #edf0f5;padding-top:8px}.ul-action-row{justify-content:flex-start}.ul-pagination{padding:10px 14px}}@media (width<=650px){.ul-toolbar{gap:8px;padding:12px}.ul-page .ul-toolbar .filter-bar{flex:0 0 100%;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:100%;display:grid}.ul-page .ul-toolbar .filter-bar .filter-keyword{grid-column:1/-1;min-width:0}.ul-page .ul-toolbar .filter-bar .filter-range{grid-column:auto;width:auto;min-width:0}.ul-page .ul-toolbar :is(input,select,button),.ul-page .ul-pagination button{height:44px;min-height:44px}.ul-toolbar .ul-list-count{margin-left:auto}}.user-identity-badge{white-space:nowrap;color:#465466;background:#f1f4f8;border:1px solid #e0e6ef;border-radius:999px;align-items:center;min-height:24px;padding:2px 9px;font-size:12px;font-weight:500;line-height:18px;display:inline-flex}.user-identity-badge--owner{color:#126043;background:#e6f7ee;border-color:#c5ebd9}.user-identity-badge--agent{color:#1e4da7;background:#eaf1ff;border-color:#ceddff}.user-identity-badge--partner{color:#6633a2;background:#f2eaff;border-color:#e2d2fb}.device-numbers .dn-card{border:1px solid var(--line,#e4e7ec);background:#fff;border-radius:12px;min-width:0;padding:20px}.device-numbers .dn-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.device-numbers h2,.device-numbers h3{color:var(--text,#101828);margin:0;font-weight:600}.device-numbers h2{font-size:16px;line-height:24px}.device-numbers h3{font-size:14px;line-height:22px}.device-numbers p,.device-numbers small,.device-numbers .dn-muted{color:var(--muted,#667085);font-size:12px;line-height:20px}.device-numbers .dn-heading p{margin:4px 0 0}.device-numbers small{font-weight:400}.device-numbers td small{display:block}.device-numbers .dn-table{border:1px solid var(--line,#e4e7ec);border-radius:8px;min-width:0;overflow:auto}.device-numbers .resource-table{border-collapse:collapse;width:100%}.device-numbers .resource-table .dn-number{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;font-variant-numeric:tabular-nums}.device-numbers .resource-table td.dn-empty{text-align:center;color:var(--muted,#667085);padding:32px 16px;font-weight:400}.device-numbers .dn-error{color:#b42318;background:#fff5f5;border:1px solid #fecaca;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:14px;display:flex}.device-numbers .dn-count{margin-left:16px}.device-numbers .dn-toolbar{flex-wrap:wrap;gap:8px;display:flex}.device-numbers .dn-main-heading{margin-bottom:16px}.device-numbers .dn-filters{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}.device-numbers .dn-filters label{min-width:150px;margin:0}.device-numbers .dn-filters .dn-keyword{flex:1;min-width:180px;max-width:320px}.device-numbers .dn-refresh{margin-left:auto}.device-numbers .dn-pagination{color:var(--muted,#667085);justify-content:space-between;align-items:center;gap:16px;margin-top:16px;font-size:12px;display:flex}.device-numbers .dn-pagination>div{align-items:center;gap:12px;display:flex}.device-numbers .dn-state{color:var(--muted,#667085);white-space:nowrap;font-size:12px}.device-numbers .dn-state.is-linked{color:#087443}@media (width<=800px){.device-numbers .dn-main-heading{flex-direction:column;align-items:start}.device-numbers .dn-filters .dn-keyword{max-width:none}.device-numbers .dn-pagination,.device-numbers .dn-pagination>div{gap:8px}}.device-numbers .dn-dialog{width:min(760px,100% - 32px);max-height:calc(100dvh - 40px);color:var(--text,#101828);border:1px solid var(--line,#e4e7ec);background:#fff;border-radius:12px;margin:auto;padding:0;overflow:hidden;box-shadow:0 20px 56px #10182828}.device-numbers .dn-dialog[open]{flex-direction:column;display:flex}.device-numbers .dn-dialog::backdrop{background:#10182866}.device-numbers .dn-dialog button:disabled{opacity:.5;cursor:not-allowed}.device-numbers .dn-dialog-head{border-bottom:1px solid var(--line,#e4e7ec);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.device-numbers .dn-dialog-body{overscroll-behavior:contain;min-height:0;padding:0 20px;overflow:auto}.device-numbers .dn-config-section{padding:16px 0}.device-numbers .dn-config-section+.dn-config-section{border-top:1px solid var(--line,#e4e7ec)}.device-numbers .dn-config-section>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.device-numbers .dn-config-section h4{margin:12px 0 0;font-size:13px;font-weight:600}.device-numbers .dn-config-section p{margin:5px 0}.device-numbers .dn-details{background:#f7f9fc;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:10px 0;padding:12px;display:grid}.device-numbers .dn-details dt{color:var(--muted,#667085);font-size:12px}.device-numbers .dn-details dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:3px 0 0}.device-numbers .dn-details small{display:block}.device-numbers .dn-form{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:10px 12px;margin-top:10px;display:grid}.device-numbers .dn-form .dn-save{grid-column:3}.device-numbers .dn-config-section .dn-error{color:#b42318;margin:8px 0}@media (width<=640px){.device-numbers .dn-card{padding:16px}.device-numbers .resource-table{min-width:580px}.device-numbers .dn-details,.device-numbers .dn-form{grid-template-columns:repeat(2,minmax(0,1fr))}.device-numbers .dn-form .dn-save{grid-column:1/-1;justify-self:start}.device-numbers .dn-dialog-head{padding:12px 14px}.device-numbers .dn-dialog-body{padding:0 14px}}.resource-users .table-meta{flex-wrap:wrap;gap:4px 16px}.member-page-mix{color:#515f73;font-size:12px}.resource-users .member-missing-avatar{color:#617188;flex-direction:column;justify-content:center;align-items:center;gap:1px;line-height:1;display:inline-flex}.member-missing-avatar small{white-space:nowrap;font-size:10px}.resource-users td:has(.member-missing-avatar){text-overflow:clip}.resource-users .avatar-detail-link:has(.member-missing-avatar){width:32px;height:auto;min-height:36px}.commerce-dashboard{color:#242b39;font-variant-numeric:tabular-nums;gap:16px;min-width:0;display:grid}.commerce-metrics{background:0 0;border:0;border-radius:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid;overflow:visible}.commerce-metric,.commerce-chart{min-width:0;box-shadow:none;background:#fff;border:1px solid #e6eaf0;border-radius:12px}.commerce-metric{grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:center;gap:8px 10px;min-height:104px;padding:14px 16px;display:grid}.commerce-metric-label{color:#667085;align-items:center;gap:7px;min-width:0;font-size:12px;font-weight:400;line-height:20px;display:flex}.commerce-metric-label svg{fill:none;width:18px;height:18px;stroke:var(--chart-color);stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.commerce-metric-label span{min-width:0}.commerce-metric-value{grid-area:2/1/auto/-1;align-items:baseline;gap:5px;min-width:0;margin:0;display:flex}.commerce-metric-value strong{color:#202837;letter-spacing:-.4px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;min-width:0;font-size:28px;font-weight:600;line-height:1.2}.commerce-metric-value span{color:#667085;flex-shrink:0;font-size:12px;line-height:20px}.commerce-delta{color:#667085;text-align:right;overflow-wrap:anywhere;grid-area:1/2;max-width:100%;padding:0;font-size:12px;font-weight:500;line-height:20px}.commerce-delta.up{color:#c93d4b}.commerce-delta.down{color:#168158}.commerce-delta.flat{color:#667085}.commerce-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:stretch;gap:16px;display:grid}.commerce-chart.wide{grid-column:1/-1}.commerce-chart{min-height:288px;padding:16px}.commerce-chart h3{align-items:center;gap:8px;margin:0 0 8px;font-size:16px;font-weight:600;line-height:24px;display:flex}.commerce-chart-meta{color:#667085;justify-content:space-between;gap:12px;margin-bottom:4px;font-size:12px;line-height:18px;display:flex}.commerce-chart-meta span{align-items:center;gap:6px;display:flex}.commerce-chart-meta i,.commerce-composition i{border-radius:50%;flex-shrink:0;width:8px;height:8px}.commerce-line{min-width:0;position:relative}.commerce-line svg{width:100%;height:202px;display:block}.commerce-line path{stroke-linejoin:round;stroke-linecap:round}.commerce-line circle{cursor:help}.commerce-grid line{stroke:#edf0f4;stroke-width:1px;stroke-dasharray:3 5}.commerce-grid text,.commerce-axis text{fill:#748094;font-family:inherit;font-size:12px}.commerce-donut-layout{align-items:center;gap:16px;min-height:210px;display:flex}.commerce-donut{flex-shrink:0;width:160px;max-width:44%;position:relative}.commerce-donut svg{width:100%;display:block}.commerce-donut>div{pointer-events:none;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;display:flex;position:absolute;inset:15%}.commerce-donut strong{letter-spacing:-.2px;overflow-wrap:anywhere;max-width:100%;font-size:18px;font-weight:600;line-height:1.25}.commerce-donut span{color:#667085;font-size:12px;line-height:18px}.commerce-composition{flex:1;gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.commerce-composition li{align-items:flex-start;gap:7px;font-size:14px;line-height:20px;display:flex}.commerce-composition li>div{overflow-wrap:anywhere;flex:1;min-width:0}.commerce-composition i{margin-top:6px}.commerce-composition small{color:#667085;overflow-wrap:anywhere;margin-top:2px;font-size:12px;line-height:18px;display:block}.commerce-composition b{color:#475467;white-space:nowrap;flex-shrink:0;margin-left:auto;font-size:12px;font-weight:400}.commerce-composition span{white-space:normal}.commerce-bars{align-content:center;gap:14px;min-height:210px;padding:8px 0;display:grid;position:relative}.commerce-bar-row{grid-template-columns:minmax(90px,1.2fr) minmax(60px,1.6fr) minmax(32px,auto);align-items:center;gap:12px;font-size:14px;line-height:20px;display:grid}.commerce-bar-row>span{white-space:normal;overflow-wrap:anywhere;min-width:0}.commerce-bar-row>div{background:#f1f4f8;border-radius:6px;height:10px;overflow:hidden}.commerce-bar-row i{background:#26b67d;border-radius:6px;height:100%;display:block}.commerce-bar-row b{color:#667085;text-align:right;font-size:12px;font-weight:400}.commerce-no-data{color:#748094;text-align:center;font-size:14px;line-height:20px;display:block}.commerce-line .commerce-no-data{position:absolute;inset:40% 0 auto}.commerce-period{align-items:center;gap:8px;display:flex;position:relative}.commerce-presets{background:#f0f3f7;border-radius:8px;gap:2px;padding:2px;display:flex}.commerce-presets button,.commerce-date-range{color:#37445b;min-height:32px;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:6px 10px;font-size:14px;line-height:20px}.commerce-presets button.active{color:var(--cyan);box-shadow:none;background:#fff;border-color:#e3e8ef}.commerce-date-range{background:#fff;border-color:#e3e8ef;border-radius:8px;align-items:center;gap:8px;min-height:36px;padding:7px 10px;font-size:12px;display:flex}.commerce-date-range svg{fill:none;stroke:#7c89a1;stroke-width:1.5px;width:16px;height:16px}.commerce-period button:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.commerce-period .dashboard-custom-range{z-index:20;background:#fff;border:1px solid #e5eaf0;border-radius:10px;max-width:calc(100vw - 32px);padding:12px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 24px #1e2b4418}.dashboard-unavailable{color:#667085;text-align:center;padding:24px}@media (width<=1250px){.commerce-metric{gap:8px;padding:14px 12px}.commerce-metric-value strong{font-size:26px}.commerce-donut-layout{gap:12px}.commerce-donut{width:144px}.commerce-period{gap:6px}.commerce-presets button{padding:6px 8px}}@media (width<=1000px){.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-charts{grid-template-columns:1fr}.commerce-chart.wide{grid-column:auto}.commerce-donut-layout{justify-content:center;gap:24px}.commerce-donut{width:180px}.commerce-composition{max-width:300px}.commerce-period{flex-wrap:wrap;justify-content:flex-end}}@media (width<=600px){.commerce-dashboard,.commerce-charts,.commerce-metrics{gap:12px}.commerce-metric{column-gap:6px;min-height:104px;padding:12px}.commerce-metric-label{gap:5px}.commerce-metric-label svg{display:none}.commerce-metric-value strong{font-size:24px}.commerce-delta{max-width:88px}.commerce-chart{min-height:280px;padding:14px 12px}.commerce-donut-layout{gap:12px;min-height:210px}.commerce-donut{width:144px;max-width:44%}.commerce-donut strong{font-size:16px}.commerce-composition{gap:10px;max-width:none}.commerce-composition li{gap:5px;font-size:12px}.commerce-bar-row{grid-template-columns:minmax(90px,1.2fr) minmax(50px,1.6fr) minmax(28px,auto);gap:8px}.commerce-period{justify-content:flex-start;gap:8px}.commerce-presets button,.commerce-date-range{min-height:36px}.commerce-period .dashboard-custom-range{flex-wrap:wrap}}
.bc-page { display: grid; gap: 12px; padding-bottom: 12px; }
.bc-page fieldset { display:grid; gap: 12px; min-inline-size: 0; margin: 0; padding: 0; border: 0; }

.bc-toolbar, .bc-card {
  min-inline-size: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.bc-toolbar { display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.bc-toolbar nav { display: flex; flex: 1 1 0; min-inline-size: 0; overflow-x: auto; }
.bc-toolbar [role=tab] {
  flex: none;
  padding: 10px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
}
.bc-toolbar [aria-selected=true] { color: var(--cyan); border-bottom-color: var(--cyan); }

.bc-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: stretch;
  gap: 12px;
}
.bc-card { padding: 16px; }
.bc-card h2 { margin: 0 0 14px; font-size: var(--font-section); font-weight: 600; line-height: 1.4; }
.bc-card-content { display: flex; flex-wrap: wrap; align-items: start; gap: 14px 20px; min-inline-size: 0; }
.bc-field-group { display: flex; flex-wrap: wrap; flex-basis: 100%; gap: inherit; }
.bc-field { display: grid; align-content: start; justify-items: start; gap: 5px; min-inline-size: 0; max-inline-size: 100%; }
.bc-field > span:first-child { color: var(--muted); font-size: var(--font-label); line-height: 20px; }
.bc-field-text { inline-size: min(100%, 320px); }
.bc-field-select { inline-size: min(100%, 224px); }
.bc-field-datetime { inline-size: min(100%, 230px); }
.bc-field-clock { inline-size: min(100%, 132px); }
.bc-readonly { min-block-size: 40px; display: flex; align-items: center; overflow-wrap: anywhere; }
.bc-field .admin-switch { min-block-size: 40px; }

.bc-page :is(input:not([type=checkbox]), select, textarea), .bc-products summary {
  min-inline-size: 0;
  inline-size: 100%;
  min-block-size: 32px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--control);
  color: var(--text);
  font: inherit;
}
.bc-page textarea { min-block-size: 62px; resize: vertical; }
.bc-field .admin-input-unit > input[type=number] { inline-size: 84px; }
.bc-field .bc-input-money > input[type=number] { inline-size: 120px; }

.bc-products { position: relative; inline-size: 100%; }
.bc-products summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; list-style: none; }
.bc-products summary::-webkit-details-marker { display: none; }
.bc-products summary > .ui-icon { inline-size: 16px; block-size: 16px; color: var(--muted); }
.bc-products[open] summary > .ui-icon { transform: rotate(180deg); }
.bc-products > div {
  position: absolute;
  inset-inline: 0;
  z-index: 8;
  max-block-size: 210px;
  overflow: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.bc-products label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-block-size: 32px;
  padding: 6px 8px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.bc-products label > input[type=checkbox] {
  appearance: auto;
  inline-size: 16px;
  min-inline-size: 16px;
  block-size: 16px;
  min-block-size: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--cyan);
}
.bc-table, .bc-preview-panel { flex-basis: 100%; min-inline-size: 0; }
.bc-table { inline-size: 100%; border-collapse: collapse; }
.bc-table :is(th, td) { border-bottom: 1px solid var(--line); text-align: start; padding: 6px 8px; }
.bc-table th { background: var(--surface); color: var(--muted); font-size: var(--font-label); font-weight: 500; }
.bc-table input[type=number] { inline-size: min(100%, 108px); }
.bc-preview-panel > summary { color: var(--cyan); cursor: pointer; inline-size: fit-content; max-inline-size: 100%; padding-block: 4px; }
.bc-preview-panel[open] > summary { margin-bottom: 6px; }
.bc-preview { padding: 10px 12px; border-radius: 8px; background: var(--surface); }
.bc-preview { display: grid; gap: 4px; justify-items: start; }
.bc-preview.bc-values { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bc-preview .bc-readonly { min-block-size: 0; }
.bc-preview strong { font-size: 18px; }

.bc-warning, .bc-error { padding: 12px; border: 1px solid; border-radius: 8px; }
.bc-warning { color: var(--amber); background: #fff7e8; border-color: #f3d49d; }
.bc-error { color: var(--red); background: #fff1f3; border-color: var(--red); }
.bc-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.bc-actions button:disabled { opacity: .5; cursor: default; }

.bc-history {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 30;
  width: min(620px, 100vw);
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.bc-history :is(header, footer) { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bc-history header h2 { margin: 0; font-size: var(--font-section); }
.bc-history footer { justify-content: flex-end; padding-top: 10px; }
.bc-history-body { overflow: auto; flex: 1; }
.bc-history article { padding-block: 10px; border-bottom: 1px solid var(--line); font-size: var(--font-label); }
.bc-change-list { display: grid; grid-template-columns: minmax(82px, 130px) minmax(0, 1fr); gap: 8px; }
.bc-change-list dt { color: var(--muted); }
.bc-change-list dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 750px) {
  .bc-toolbar { display: grid; justify-items: end; gap: 4px; padding: 0 10px 8px; }
  .bc-toolbar nav { inline-size: 100%; }
  .bc-toolbar [role=tab] { padding-inline: 12px; }
  .bc-card { padding: 12px; }
  .bc-card-content { gap: 12px 16px; }
  .bc-actions { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .bc-toolbar nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bc-toolbar [role=tab] { min-block-size: 40px; padding-inline: 0; }
}
@media (max-width: 650px), (pointer: coarse) {
  .bc-page :is(input:not([type=checkbox]), select), .bc-products summary, .bc-field .admin-switch, .bc-preview-panel > summary {
    min-block-size: 44px;
  }
  .bc-preview-panel > summary { align-content: center; }
  .bc-products label { min-block-size: 44px; }
}


.topbar.ap-topbar h1{align-items:baseline;gap:24px;display:flex}.ap-module-title,.ap-page-title{color:#152234;cursor:default;background:0 0;border:0;padding:0;font-family:inherit;font-weight:500;line-height:1.4}.ap-module-title{font-size:28px;font-weight:500}.ap-page-title,.ap-title-separator{font-size:22px}.ap-title-separator{color:#bbc4d2;font-weight:400}.ap-module-title.is-current,.ap-page-title.is-current,.activity-popups .ap-replace{color:#7bb3de}.ap-module-title:focus-visible,.ap-page-title:focus-visible,.ap-replace:focus-within{outline-offset:5px;border-radius:4px;outline:2px solid #7bb3de}.activity-popups .ap-editor{color:#152234}.activity-popups .ap-card{background:#fff;border:1px solid #e5eaf1;border-radius:14px;box-shadow:0 6px 24px #172b4d06}.activity-popups h2{margin:0;font-size:20px;font-weight:500}.activity-popups .ap-editor{padding:28px 36px 24px}.activity-popups .ap-form-body{flex-direction:column;gap:36px;padding-top:30px;display:flex}.activity-popups .ap-field{grid-template-columns:136px minmax(0,1fr);align-items:start;gap:26px;display:grid}.activity-popups .ap-field>label{padding-top:12px;font-size:16px;font-weight:500}.activity-popups .ap-image-row{align-items:center;gap:30px;display:flex}.activity-popups .ap-poster{aspect-ratio:3/4;color:#98a4b6;background:#f5f8fb;border-radius:8px;flex:none;place-items:center;width:198px;font-size:16px;display:grid;overflow:hidden}.activity-popups .ap-poster img{object-fit:contain;width:100%;height:100%;display:block}.activity-popups .ap-replace{cursor:pointer;white-space:nowrap;background:0 0;border:0;align-items:center;gap:10px;font-size:16px;font-weight:500;display:inline-flex;position:relative}.activity-popups .ap-replace svg{width:22px;height:22px}.activity-popups .ap-replace input{opacity:0;width:1px;height:1px;position:absolute}.activity-popups .ap-dates{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:end;gap:18px;display:grid}.activity-popups .ap-dates label{color:#8794a8;flex-direction:column;gap:9px;font-size:14px;display:flex}.activity-popups .ap-dates>span{color:#a0abba;place-items:center;height:40px;display:grid}.activity-popups input:not([type=file]),.activity-popups select{color:#23344d;width:100%;min-width:0;height:40px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #dce3ed;border-radius:7px;padding:0 14px;font-size:15px}.activity-popups .ap-jump{grid-template-columns:minmax(170px,.8fr) minmax(0,1.2fr);gap:24px;display:grid}.activity-popups footer{background:0 0;border:0;justify-content:flex-end;gap:16px;margin-top:42px;padding:0;display:flex}.activity-popups footer button{min-width:108px}.activity-popups .ap-error{color:#c54955;margin:8px 0 0;font-size:14px}.activity-popups .ap-list-tools{gap:16px}.activity-popups .ap-table{min-width:960px}.activity-popups .ap-table th{padding:8px 10px;font-size:12px}.activity-popups .ap-table td{padding:8px 10px;font-size:14px}.activity-popups .ap-table th:first-child,.activity-popups .ap-table td:first-child{padding:8px 10px}.activity-popups .ap-table .status{min-height:28px;font-size:14px}.activity-popups .ap-table .merchant-row-operations{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px 8px;width:auto;min-width:180px;display:flex}.activity-popups .ap-list-tools{font-size:14px}.activity-popups .ap-thumbnail{object-fit:contain;background:var(--surface);border-radius:5px;width:72px;height:96px;display:block}.activity-popups .ap-draft-marker{color:var(--muted);white-space:normal;margin-top:4px;font-size:13px;display:block}.activity-popups .ap-empty{text-align:center;height:160px;color:var(--muted);font-weight:400}.activity-popups .is-disabled,.activity-popups button:disabled{opacity:.5;cursor:default}.activity-popups.is-carousel .ap-poster{aspect-ratio:15/11;width:420px;max-width:100%}.activity-popups.is-carousel .ap-thumbnail{width:105px;height:77px}@media (width<=1000px){.activity-popups .ap-editor{padding:24px}.activity-popups .ap-field{grid-template-columns:112px minmax(0,1fr);gap:18px}.activity-popups .ap-dates,.activity-popups .ap-jump{gap:12px}}@media (width<=700px){.activity-popups .ap-image-row{flex-wrap:wrap;gap:12px}.activity-popups.is-carousel .ap-poster{width:100%;max-width:100%}.topbar.ap-topbar h1{min-width:0}.topbar.ap-topbar h1{gap:12px}.ap-module-title{font-size:24px}.ap-page-title,.ap-title-separator{font-size:18px}.activity-popups .ap-field{grid-template-columns:1fr;gap:12px}.activity-popups .ap-jump,.activity-popups .ap-dates{grid-template-columns:1fr}.activity-popups .ap-dates>span{display:none}}.pm-page{gap:16px;display:grid}.pm-panel{border:1px solid var(--line);background:#fff;border-radius:10px;padding:24px}.pm-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.pm-identity{align-items:center;gap:14px;display:flex}.pm-avatar{color:var(--cyan);background:#e2f4f8;border-radius:10px;place-items:center;width:48px;height:48px;font-size:22px;display:grid}.pm-page h3,.pm-modal h3,.pm-page h2{margin:0;font-size:16px}.pm-page small,.pm-modal small,.pm-muted{color:#65758a}.pm-badge{color:#168260;background:#e5f5ed;border-radius:5px;margin-left:12px;padding:3px 9px;font-size:12px}.pm-overview{grid-template-columns:1.4fr 1fr;gap:24px;display:grid}.pm-facts{grid-template-columns:1fr 1fr;gap:22px 40px;margin-top:24px;display:grid}.pm-facts label{color:#65758a;margin-bottom:6px;font-size:12px;display:block}.pm-amount{letter-spacing:.2px;margin:20px 0 4px;font-size:34px;font-weight:500}.pm-assets{color:#65758a;border-top:1px solid #e7edf2;margin-top:25px;padding-top:18px}.pm-tabs{border-bottom:1px solid var(--line);gap:28px;display:flex;overflow:auto}.pm-tabs button{color:#65758a;white-space:nowrap;background:0 0;border:0;border-radius:0;padding:14px 0}.pm-tabs button.on{border-bottom:2px solid var(--cyan);color:var(--cyan);font-weight:500}.pm-records{padding-top:7px}.pm-table{overflow:auto}.pm-table table{border-collapse:collapse;width:100%;min-width:650px;font-size:13px}.pm-table th{text-align:left;background:var(--surface);color:#65758a;padding:13px 16px;font-weight:500}.pm-table td{vertical-align:top;border-bottom:1px solid #e7edf2;padding:18px 16px}.pm-table td small{overflow-wrap:anywhere;max-width:450px;display:block}.pm-success{color:#14815c}.pm-note{color:#65758a;margin:16px 0 0;font-size:12px}.pm-link{color:var(--cyan);background:0 0;border:0;padding:0}.pm-modal{color:#152033;background:#fff;border-radius:12px;width:560px;max-width:calc(100vw - 32px);max-height:90dvh;padding:16px 20px;font-size:14px;line-height:1.5;overflow:auto;box-shadow:0 20px 54px #1d314933}.pm-close{color:#65758a;background:0 0;border:0;padding:0;font-size:23px}.pm-summary{background:var(--surface);border-radius:8px;margin:16px 0;padding:12px 16px}.pm-form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.pm-modal fieldset{border:0;min-width:0;margin:0;padding:0}.pm-modal label{color:#45586b;margin:12px 0 6px;font-size:14px;display:block}.pm-form-grid label{margin:0}.pm-modal b{color:#d9485f}.pm-modal input,.pm-modal select,.pm-modal textarea{border:1px solid var(--line);color:#152033;width:100%;min-height:32px;font:inherit;background:#fff;border-radius:8px;min-width:0;margin-top:6px;padding:5px 10px;display:block}.pm-modal textarea{resize:vertical;height:76px}.pm-regions{grid-template-columns:1fr 1fr 1fr;gap:10px;display:grid}.pm-regions select{margin:0}.pm-segment{gap:10px;display:flex}.pm-segment button{border:1px solid var(--line);background:#fff;border-radius:8px;flex:1;padding:9px}.pm-segment .selected{color:var(--cyan);border-color:var(--cyan);background:#e2f4f8}.pm-result{border-top:1px solid #e3eaf0;margin-top:23px;padding:16px 0}.pm-result strong{color:var(--cyan);font-size:22px}.pm-modal footer{border-top:1px solid #e3eaf0;justify-content:flex-end;gap:10px;margin-top:15px;padding-top:18px;display:flex}.pm-error{color:#c23a4c}.pm-log-change{background:var(--surface);overflow-wrap:anywhere;border-radius:8px;margin:16px 0;padding:16px}.pm-log-change small{display:block}.pm-log-reason{white-space:pre-wrap;overflow-wrap:anywhere}.pm-empty{text-align:center;color:#65758a;padding:28px}.pm-modal button:disabled{opacity:.5;cursor:wait}@media (width<=800px){.pm-overview{grid-template-columns:1fr}.pm-panel{padding:18px}.pm-facts{gap:18px}.pm-tabs{gap:20px}.pm-amount{font-size:28px}.pm-row{flex-wrap:wrap}}@media (width<=480px){.pm-form-grid{grid-template-columns:1fr}.pm-modal{padding:20px 16px}.pm-regions,.pm-facts{grid-template-columns:1fr}}.pm-page .primary-button,.pm-page .ghost-button,.pm-modal .primary-button,.pm-modal .ghost-button{border:1px solid var(--line);min-height:32px;box-shadow:none;font:inherit;color:#274759;background:#fff;border-radius:8px;padding:5px 12px}.pm-page .primary-button,.pm-modal .primary-button{background:var(--cyan);border-color:var(--cyan);color:#fff}.pm-modal label,.pm-modal input,.pm-modal select,.pm-modal textarea{font-weight:400}.pm-page{color:#203044;gap:16px;min-width:0;font-family:inherit;font-size:14px;line-height:1.45;display:grid}.pm-page *{box-sizing:border-box}.pm-page button{cursor:pointer;font-family:inherit}.pm-page .pm-panel{background:#fff;border:1px solid #dce7ee;border-radius:10px;min-width:0;padding:0}.pm-profile-top{align-items:center;gap:14px;display:flex}.pm-page .pm-avatar{color:#2185a7;background:#e2f4f8;border-radius:12px;flex-shrink:0;width:48px;height:48px;font-size:23px;overflow:hidden}.pm-avatar img{object-fit:cover;width:100%;height:100%}.pm-page .pm-profile-name h3{margin:0;font-size:19px;font-weight:550;line-height:normal}.pm-profile-name small{margin-top:5px;display:block;color:#8291a2!important;font-size:12px!important}.pm-page .pm-badge{color:#32896c;white-space:nowrap;background:#e8f6ef;border-radius:4px;margin:0;padding:4px 9px;font-size:12px}.pm-page .pm-role{color:#5082ae;background:#edf4fb;margin-left:4px}.pm-role[hidden]{display:none}.pm-page .pm-profile-edit{color:#2182a7;background:0 0;border:0;margin-left:auto;padding:8px 0;font-size:14px;font-weight:400}.pm-profile-body{border-top:1px solid #edf1f5;grid-template-columns:minmax(0,1fr) 360px;margin-top:19px;padding-top:18px;display:grid}.pm-compact-facts{grid-template-columns:1fr 1fr 1.2fr;align-content:center;gap:18px 22px;padding-right:28px;display:grid}.pm-compact-facts label{color:#8492a0;margin-bottom:8px;font-size:12px;display:block}.pm-compact-facts span{font-size:14px;font-weight:400}.pm-balance-block{border-left:1px solid #e8eef3;justify-content:space-between;align-items:center;gap:12px;padding-left:28px;display:flex}.pm-balance-block label{color:#8492a0;font-size:12px}.pm-page .pm-amount{letter-spacing:-.6px;margin:4px 0;font-size:30px;font-weight:500;line-height:normal}.pm-balance-block small{color:#8291a2;font-size:12px}.pm-page .primary-button,.pm-page .ghost-button{min-height:32px;box-shadow:none;color:#416278;white-space:nowrap;background:#fff;border:1px solid #d8e4ec;border-radius:6px;padding:5px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:1.45}.pm-breadcrumb{color:#8b9aa7;margin-right:20px;font:400 13px -apple-system,PingFang SC,sans-serif}.pm-relations{position:relative}.pm-tree-heading{border-bottom:1px solid #edf2f5;align-items:center;gap:12px;padding:19px 22px;display:flex}.pm-page .pm-tree-heading h2{white-space:nowrap;margin:0;font-size:17px;font-weight:550;line-height:normal}.pm-tree-tools{align-items:center;gap:6px;margin-left:auto;display:flex}.pm-tree-tools form{background:#fff;border:1px solid #d5e3eb;border-radius:6px;align-items:center;height:34px;margin:0 8px 0 0;display:flex;overflow:hidden}.pm-search-icon{color:#8ca1af;padding-left:11px;font-size:21px;line-height:1}.pm-tree-tools input{color:#385b70;background:0 0;border-radius:0;outline:0;width:185px;min-height:0;margin:0;padding:8px 10px;font:400 13px -apple-system,PingFang SC,sans-serif;box-shadow:none!important;border:0!important}.pm-page .pm-tree-tools button{padding:6px 12px;font-size:12px;font-weight:400;line-height:normal}.pm-page .pm-tree-tools form button{border:0;border-radius:0;height:34px;padding:6px 15px}.pm-page button:focus-visible,.pm-tree-node:focus-visible{outline-offset:3px;outline:2px solid #258bb1}.pm-tree-body{grid-template-columns:minmax(0,1fr) 250px;display:grid}.pm-tree-canvas{background:#fff;border-radius:0 0 0 10px;min-width:0;height:580px;position:relative;overflow:hidden}.pm-tree-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b9ccd8 #eaf0f4;background:radial-gradient(#cedde650 .8px,#0000 .8px) 0 0/16px 16px;width:100%;height:580px;overflow:auto}.pm-tree-scroll::-webkit-scrollbar{width:5px;height:5px}.pm-tree-scroll::-webkit-scrollbar-thumb{background:#b9ccd8;border-radius:4px}.pm-tree-scroll::-webkit-scrollbar-track{background:#eaf0f4}.pm-tree-size{position:relative}.pm-tree-stage{transform-origin:0 0;position:absolute;top:0;left:0}.pm-tree-stage svg{pointer-events:none;position:absolute;inset:0}.pm-edge{fill:none;stroke:#b5c7d3;stroke-width:1.6px;stroke-linejoin:round}.pm-edge.team{stroke:#57a9c3;stroke-dasharray:6 4}.pm-edge.history{stroke:#b9a58b;stroke-dasharray:4 4}.pm-edge.highlight{stroke:#178eb7;stroke-width:3px}.pm-edge-label{fill:#8a9aa7;font-size:11px;font-weight:400}.pm-edge-label.highlight{fill:#1886ab}.pm-tree-node{color:#203044;background:#fff;border:1px solid #d8e4ed;border-radius:8px;align-items:center;gap:10px;width:190px;padding:11px 13px;font:400 14px -apple-system,PingFang SC,sans-serif;text-decoration:none;display:flex;position:absolute;box-shadow:0 3px 8px #24465c04}.pm-node-avatar{color:#6d8498;background:#eff4f8;border-radius:50%;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:13px;display:grid;overflow:hidden}.pm-node-avatar img{object-fit:cover;width:100%;height:100%}.pm-node-title{align-items:baseline;min-width:0;display:flex}.pm-tree-node strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:14px;font-weight:500;overflow:hidden}.pm-tree-node small{color:#8797a5;white-space:nowrap;text-overflow:ellipsis;margin-top:5px;font-size:11px;display:block;overflow:hidden}.pm-tree-node em{color:#6191aa;white-space:nowrap;flex-shrink:0;margin-left:7px;font-size:10px;font-style:normal}.pm-tree-node.current{background:#f0faff;border:2px solid #258bb1;box-shadow:0 0 0 5px #eaf6fb}.pm-tree-node.current .pm-node-avatar{color:#19799d;background:#d5edf7}.pm-tree-node.current strong{font-size:13px}.pm-tree-node.current small{font-size:10px}.pm-current-label{color:#fff;white-space:nowrap;background:#2188ae;border-radius:4px;padding:2px 7px;font-size:10px;line-height:normal;position:absolute;top:-10px;right:10px}.pm-tree-node.path-node:not(.current):not(.target){background:#f5fcff;border-color:#64b4d0}.pm-tree-node.target:not(.current){background:#f0faff;border:2px solid #158bb5;box-shadow:0 0 0 4px #e1f3fb}.pm-tree-node.target .pm-node-avatar{color:#2184a7;background:#dceff7}.pm-tree-node.muted{opacity:.6}.pm-match-banner{color:#357791;z-index:2;background:#eff9fd;border:1px solid #d8edf6;border-radius:6px;align-items:center;gap:8px;min-height:34px;padding:0 11px;font-size:12px;display:flex;position:absolute;top:15px;left:18px;right:18px}.pm-match-banner>i{background:#188eb6;border-radius:50%;flex-shrink:0;width:6px;height:6px}.pm-match-banner>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pm-match-banner em{color:#a8c7d6;margin:0 6px;font-style:normal}.pm-match-banner button{color:#4a90aa;white-space:nowrap;background:0 0;border:0;flex-shrink:0;margin-left:auto;padding:3px;font-size:11px}.pm-tree-legend{color:#8395a5;z-index:2;pointer-events:none;background:#ffffffde;align-items:center;gap:22px;padding:3px 0;font-size:11px;display:flex;position:absolute;top:17px;left:22px}.pm-tree-legend i{vertical-align:middle;border-top:2px solid #aebfcb;width:21px;margin-right:6px;display:inline-block}.pm-tree-legend i.team{border-top:2px dashed #57a9c3}.pm-tree-legend i.history{border-top:2px dashed #b9a58b}.pm-pan-hint{color:#94a8b6;z-index:3;pointer-events:none;background:#ffffffdc;font-size:11px;position:absolute;bottom:13px;left:20px}.pm-tree-side{color:#203044;background:#fbfdfe;border-left:1px solid #e6edf3;border-radius:0 0 10px;min-width:0;padding:22px 18px}.pm-page .pm-tree-side h3{margin:0 0 17px;font-size:14px;font-weight:500}.pm-rel{margin:0 0 18px}.pm-rel label{color:#8797a5;margin-bottom:7px;font-size:12px;display:block}.pm-rel>div{overflow-wrap:anywhere;font-size:14px;font-weight:500}.pm-side-rule{background:#e6edf3;height:1px;margin:20px 0}.pm-side-note{color:#8393a1;margin:13px 0;font-size:12px;line-height:1.8}.pm-search-detail{background:#f1f9fd;border:1px solid #daecf4;border-radius:7px;margin-top:18px;padding:15px}.pm-search-detail label{color:#8a9da9;font-size:11px;display:block}.pm-search-detail strong{overflow-wrap:anywhere;margin:9px 0 4px;font-size:14px;font-weight:500;display:block}.pm-search-detail>span{color:#7f98a8;font-size:11px}.pm-search-detail p{color:#48829a;margin:12px 0;font-size:12px;line-height:1.7}.pm-page .pm-search-detail button{color:#2387ac;font-size:12px;font-weight:400}.pm-tree-toast{z-index:10;color:#fff;white-space:nowrap;pointer-events:none;background:#1c2d3be6;border-radius:8px;padding:16px 23px;font-size:14px;position:absolute;top:300px;left:calc(50% - 125px);transform:translate(-50%);box-shadow:0 6px 24px #18334417}.pm-tree-toast[hidden]{display:none}.pm-page .pm-records{margin-top:-2px;padding:0 22px 15px}.pm-page .pm-tabs{color:#8496a7;border-bottom:1px solid #e7eef3;align-items:center;gap:28px;height:55px;display:flex}.pm-page .pm-tabs button{color:#8496a7;white-space:nowrap;background:0 0;border:0;border-radius:0;align-items:center;height:55px;padding:0;font-size:14px;font-weight:400;line-height:normal;display:flex}.pm-page .pm-tabs button.on{color:#1686ac;border-bottom:2px solid #1686ac;font-weight:500}.pm-record-caption{color:#8f9dac;white-space:nowrap;margin-left:auto;font-size:11px}.pm-page .pm-table table{border-collapse:collapse;width:100%;font-size:12px}.pm-page .pm-table th{color:#8193a3;text-align:left;background:#f4f8fb;padding:12px 14px;font-size:12px;font-weight:400;line-height:normal}.pm-page .pm-table td{padding:21px 14px;font-size:12px;line-height:normal}.pm-page .pm-table .pm-empty{text-align:center;color:#91a0ad;border:0}@media (width<=1150px){.pm-tree-heading,.pm-tree-tools{flex-wrap:wrap}.pm-tree-body{grid-template-columns:minmax(0,1fr) 220px}.pm-profile-body{grid-template-columns:minmax(0,1fr) 300px}.pm-compact-facts{gap:18px 12px;padding-right:16px}.pm-tree-tools input{width:160px}.pm-tree-toast{left:calc(50% - 110px)}}@media (width<=800px){.pm-profile-body{grid-template-columns:1fr;gap:18px}.pm-balance-block{border-top:1px solid #e8eef3;border-left:0;padding:18px 0 0}.pm-tree-body{grid-template-columns:1fr}.pm-tree-side{border-top:1px solid #e6edf3;border-left:0}.pm-tree-toast{white-space:normal;max-width:90%;left:50%}.pm-profile-top{flex-wrap:wrap}.pm-breadcrumb{display:none}.pm-tree-tools{margin-left:0}.pm-tree-heading{padding:16px}.pm-tree-tools input{width:150px}.pm-compact-facts{grid-template-columns:1fr 1fr}.pm-record-caption{display:none}}.pm-tree-side{width:auto;position:static;inset:auto}.pm-page label,.pm-page small,.pm-page .pm-side-note,.pm-page .pm-pan-hint,.pm-page .pm-edge-label{font-weight:400;line-height:normal}.pm-page .pm-side-note{line-height:1.8}.pm-page{color:var(--text);gap:12px;font-family:inherit;font-size:14px;line-height:1.45}.pm-page .pm-panel{border-color:#e1e6ed;border-radius:12px;overflow:hidden}.pm-page .pm-compact{padding:14px 16px}.pm-sections{border-bottom:1px solid #e1e6ed;gap:4px;min-width:0;display:flex}.pm-sections button{color:#667085;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:8px 8px 0 0;min-height:36px;padding:7px 14px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.5}.pm-sections button.on{color:#2563eb;background:#eff4ff;border-bottom-color:#2563eb}.pm-sections button:hover{background:#f1f5fa}.pm-section-content{gap:12px;min-width:0;display:grid}.pm-page .ghost-button,.pm-page .primary-button{color:#475467;border-color:#d9e0e8;border-radius:8px;min-height:32px;padding:5px 12px;font-family:inherit;font-size:14px;font-weight:500;line-height:20px}.pm-page .primary-button{color:#fff;background:#2563eb;border-color:#2563eb}.pm-page .ghost-button:hover{background:#f5f8fc;border-color:#bdc9da}.pm-page .ui-icon{width:16px;height:16px}.ud-profile-main{align-items:center;gap:12px;display:flex}.ud-profile .pm-avatar{background:#f1f4f9;border-radius:12px;width:44px;height:44px}.ud-user-heading{flex:1;min-width:0}.ud-user-heading>div{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pm-page .ud-user-heading h2{overflow-wrap:anywhere;font-size:16px;font-weight:600;line-height:1.5}.ud-user-heading p{color:#667085;margin:4px 0 0;font-size:12px}.ud-user-heading p span{font-variant-numeric:tabular-nums;margin-left:6px}.ud-role,.ud-status{white-space:nowrap;border-radius:8px;padding:3px 8px;font-size:12px;line-height:1.5}.ud-role{color:#405c91;background:#eff4fc}.ud-status{color:#18704a;background:#edf8f1}.ud-status.banned,.ud-status.cancelled{color:#b23d43;background:#fef1f1}.ud-status.frozen{color:#986317;background:#fff6df}.ud-overview{border-top:1px solid #edf0f5;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:center;gap:16px;margin-top:12px;padding-top:12px;display:grid}.ud-profile-facts{grid-template-columns:1fr .6fr 1.2fr;gap:12px;margin:0;display:grid}.ud-profile-facts dt,.ud-wallet dt,.ud-wallet>div>span{color:#667085;font-size:12px}.ud-profile-facts dd{overflow-wrap:anywhere;margin:4px 0 0;font-size:14px}.ud-wallet{border-left:1px solid #e9edf2;justify-content:space-between;align-items:center;gap:12px;padding-left:16px;display:flex}.ud-wallet>div>strong{letter-spacing:-.3px;font-variant-numeric:tabular-nums;font-size:22px;font-weight:600;line-height:1.4;display:block}.ud-wallet dl{gap:12px;margin:0;display:flex}.ud-wallet dd{font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:14px}.pm-relations .pm-tree-heading{flex-wrap:wrap;justify-content:space-between;gap:12px;padding:12px 16px}.pm-page .pm-tree-heading h2{color:var(--text);font-family:inherit;font-size:16px;font-weight:600;line-height:1.5}.pm-tree-heading p{color:#667085;margin:4px 0 0;font-size:12px}.pm-tree-heading form{align-items:center;gap:8px;margin:0;display:flex}.ur-search-field{color:#8190a5;background:#fff;border:1px solid #d9e0e8;border-radius:8px;align-items:center;gap:8px;height:32px;padding:0 10px;display:flex}.pm-page .ur-search-field input{width:190px;min-width:0;box-shadow:none;color:var(--text);background:0 0;border:0;border-radius:0;outline:none;margin:0;padding:0;font-family:inherit;font-size:14px;font-weight:400;line-height:1.5}.ur-toolbar{background:#fcfdff;border-bottom:1px solid #e9edf3;justify-content:flex-end;align-items:center;gap:12px;padding:8px 16px;display:flex}.ur-toolbar>span{color:#667085;font-size:12px}.ur-toolbar>div{align-items:center;gap:6px;display:flex}.ur-toolbar .ghost-button{min-height:32px;padding:6px 9px;font-size:12px}.ur-toolbar .pm-zoom-value{min-width:55px}.pm-relations .pm-tree-body{display:block}.ur-summary{border-bottom:1px solid #edf0f5;grid-template-columns:1fr 1fr 150px;gap:16px;margin:0;padding:12px 16px;display:grid}.ur-summary dt{color:#667085;margin:0 0 6px;font-size:12px}.ur-summary dd{overflow-wrap:anywhere;margin:0;font-size:13px}.ur-summary dd strong{font-weight:600}.pm-relations .pm-tree-canvas{height:var(--graph-height);background:#fafbfd;border-radius:0;min-width:0;display:block;position:relative;overflow:hidden}.pm-relations .pm-tree-scroll{overscroll-behavior:auto;cursor:grab;-webkit-user-select:none;user-select:none;scrollbar-width:none;background:radial-gradient(#c8d2e64d .8px,#0000 .8px) 0 0/20px 20px;width:100%;height:100%;overflow:hidden}.pm-tree-scroll::-webkit-scrollbar{display:none}.pm-tree-scroll.panning,.pm-tree-scroll.panning *{cursor:grabbing}.pm-tree-size{width:100%;height:100%;position:relative;overflow:visible}.pm-tree-stage{left:calc((100% - var(--w))/2);top:calc((100% - var(--h))/2);transform-origin:0 0;position:absolute}.pm-tree-stage>svg{pointer-events:none;position:absolute;inset:0}.ur-graph-group{pointer-events:none;background:#ffffffb8;border:1px solid #e2e8f0;border-radius:12px;position:absolute}.ur-graph-group h3{color:#475467;font-weight:500;line-height:20px;margin:12px 16px!important;font-size:14px!important}.ur-group-history{background:#fffdf9c9;border-color:#eadfce}.ur-group-team{background:#f9fdffc9;border-color:#d5e6ee}.pm-tree-stage .pm-edge.team{stroke:#3989a5;stroke-dasharray:6 4}.pm-tree-stage .pm-edge.history{stroke:#ae8a5b;stroke-dasharray:5 4}.ur-edge-caption rect{fill:#fff;stroke:none}.ur-edge-caption text{fill:#667085;font:400 12px Microsoft YaHei UI,PingFang SC,sans-serif}.ur-edge-caption.team text{fill:#287a98}.ur-edge-caption.history text{fill:#946c3a}.ur-edge-caption.highlight text{fill:#2563eb;font-weight:500}.pm-tree-stage .pm-edge{stroke:#aebed6;stroke-width:1.6px;fill:none}.pm-tree-stage .pm-edge.highlight{stroke:#2563eb;stroke-width:2.5px}.pm-relations .pm-tree-node{color:#25344a;background:#fff;border:1px solid #d8e1ec;border-radius:10px;align-items:center;gap:12px;padding:14px 16px;font-family:inherit;text-decoration:none;display:flex;box-shadow:0 2px 4px #1b2d4704}.pm-relations .pm-tree-node:hover{background:#fcfdff;border-color:#94b3e4}.pm-relations .pm-tree-node.current{background:#f3f7ff;border:2px solid #497ede;box-shadow:0 0 0 4px #e9f0ff}.pm-relations .pm-tree-node.target:not(.current){background:#f7faff;border:2px solid #6099e0}.pm-relations .pm-node-avatar{background:#f1f4f8;border-radius:10px;flex:none;width:40px;height:40px}.pm-node-avatar .person-avatar,.ur-person-avatar .person-avatar{border-radius:inherit;width:100%;height:100%}.pm-node-avatar .person-avatar svg,.ur-person-avatar .person-avatar svg{width:22px;height:22px;position:static;inset:auto}.pm-node-avatar .person-avatar small,.ur-person-avatar .person-avatar small{display:none}.pm-node-copy{flex:1;min-width:0}.pm-relations .pm-tree-node strong{font-weight:600;line-height:20px;font-size:14px!important}.pm-relations .pm-tree-node small{color:#78879a;margin-top:2px;line-height:16px;font-size:11px!important}.ur-node-role{color:#617795;font-size:11px;line-height:16px;display:block}.ur-node-relation{color:#77869b;background:#fff;border:1px solid #d8e1ec;border-radius:5px;padding:2px 7px;font-size:10px;line-height:15px;position:absolute;top:-9px;right:9px}.current .ur-node-relation{color:#fff;background:#497ede;border-color:#497ede}.ur-canvas-footer{color:#77869b;border-top:1px solid #edf0f5;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:8px 16px;font-size:11px;display:flex}.ur-level-actions{justify-content:center;gap:12px;padding:0 16px 12px;display:flex}.ur-secondary{border-top:1px solid #e9edf3}.ur-secondary>summary{cursor:pointer;padding:12px 16px;font-size:14px;font-weight:500;list-style-position:inside}.ur-secondary>summary>span{color:#7c8ba1;margin-left:6px;font-size:12px;font-weight:400}.ur-secondary>summary>small{color:#7c8ba1;margin-left:18px;font-size:12px;font-weight:400}.ur-history-scroll{padding:0 16px 12px;overflow:auto}.ur-history-scroll table{border-collapse:collapse;text-align:left;width:100%;min-width:540px}.ur-history-scroll th{color:#77869b;text-align:left;background:#f7f9fc;padding:10px 12px;font-size:12px;font-weight:400}.ur-history-scroll td{text-align:left;border-bottom:1px solid #edf1f6;padding:10px 12px}.ur-reward-kind{color:#5f718a;font-size:12px}.ur-person{align-items:center;gap:9px;min-width:0;display:inline-flex}.ur-person>span:last-child{min-width:0}.ur-person strong{overflow-wrap:anywhere;font-size:13px;font-weight:500;display:block}.ur-person small{color:#7b899c;margin-top:2px;display:block;font-size:11px!important;line-height:16px!important}.ur-person-avatar{background:#f1f4f8;border-radius:8px;flex:none;place-items:center;width:30px;height:30px;display:grid;overflow:hidden}.ur-person img{object-fit:cover;width:100%;height:100%}.ur-match-row{background:#eef5ff}.ur-team-list{gap:12px;padding:0 16px 12px;display:grid}.ur-team-list>div{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.ur-team-list>div>span{color:#7b899c;font-size:12px}.pm-relations .pm-match-banner{color:#386baa;background:#f2f7ff;border:0;border-bottom:1px solid #dce7fa;border-radius:0;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:8px 16px;display:flex;position:static}.pm-match-banner>span{margin-right:auto;font-size:13px}.pm-relations .pm-match-banner button{color:#386baa;background:#fff;border:1px solid #cfddf3;margin:0;font-size:12px}.ur-search-status,.ur-truncated{color:#8c6522;background:#fff9ef;margin:0;padding:8px 16px;font-size:13px;line-height:1.6}.ur-load{color:#78879a;justify-content:center;align-items:center;gap:16px;min-height:150px;font-size:13px;display:flex}.pm-page .pm-records{margin:0;padding:0}.pm-page .pm-records .pm-tabs{flex-wrap:wrap;gap:20px;height:auto;min-height:36px;padding:0 16px;overflow:visible}.pm-page .pm-records .pm-tabs button{height:36px;padding:7px 0;font-family:inherit;font-size:14px;font-weight:500;line-height:1.5}.pm-page .pm-records .pm-tabs .on{color:#2563eb;border-color:#2563eb}.pm-page .pm-records .pm-table th{background:#f8fafc;padding:8px 12px;font-size:12px}.pm-page .pm-records .pm-table td{padding:8px 12px;font-size:14px;line-height:1.5}.pm-records .pm-table td:only-child{color:#7b899c;padding:24px}.pm-records .pm-record-caption{color:#8994a5;font-size:12px}@media (width<=650px){.pm-page .ghost-button,.pm-page .primary-button,.pm-sections button,.pm-modal input,.pm-modal select,.pm-modal .ghost-button,.pm-modal .primary-button{min-height:44px}.ur-search-field{height:44px}.pm-page .pm-records .pm-table{overflow:visible}.pm-page .pm-records .pm-table table,.pm-page .pm-records .pm-table tbody{width:100%;min-width:0;display:block}.pm-page .pm-records .pm-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.pm-page .pm-records .pm-table tr{border-bottom:1px solid #e7edf2;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:16px;display:grid}.pm-page .pm-records .pm-table tr:last-child{border-bottom:0}.pm-page .pm-records .pm-table td{white-space:normal;overflow-wrap:anywhere;border:0;min-width:0;padding:0;display:block}.pm-page .pm-records .pm-table td:before{content:attr(data-label);color:#667085;margin-bottom:4px;font-size:12px;display:block}.pm-page .pm-records .pm-table td[data-label=""]:before,.pm-page .pm-records .pm-table .pm-empty:before{display:none}.pm-page .pm-records .pm-table td[data-label=操作内容],.pm-page .pm-records .pm-table td[data-label=说明],.pm-page .pm-records .pm-table .pm-empty{grid-column:1/-1}.pm-page .pm-records .pm-table .pm-empty{padding:8px 0}}@media (width<=1150px){.ud-overview{grid-template-columns:1fr}.ud-wallet{border-top:1px solid #edf1f5;border-left:0;padding:16px 0 0}.pm-page .ud-profile-facts{grid-template-columns:1fr 1fr 1.2fr}}@media (width<=650px){.pm-page .pm-compact{padding:16px}.ud-profile-main{flex-wrap:wrap;gap:12px}.ud-user-heading>div{gap:6px}.ud-profile .pm-avatar{width:44px;height:44px}.pm-page .ud-user-heading h2{font-size:16px}.ud-profile-edit{margin-left:auto}.ud-profile-facts{gap:16px;grid-template-columns:1fr 1fr!important}.ud-profile-facts>div:last-child{grid-column:1/-1}.ud-wallet{flex-wrap:wrap;gap:12px}.ud-wallet>div>strong{font-size:22px}.ud-wallet dl{margin-left:auto}.ud-wallet>button{width:100%}.pm-relations .pm-tree-heading{gap:14px;padding:18px;display:block}.pm-tree-heading form{width:100%;margin-top:14px}.ur-search-field{flex:1;min-width:0}.pm-page .ur-search-field input{width:100%}.ur-toolbar{flex-wrap:wrap;padding:10px 14px}.ur-toolbar>span{display:none}.ur-toolbar>div{flex-wrap:wrap;justify-content:flex-start;gap:4px;width:100%}.ur-toolbar .ghost-button{min-height:34px;padding:6px 8px}.ur-summary{grid-template-columns:1fr 1fr;gap:14px;padding:14px 18px}.ur-summary>div:last-child{grid-column:1/-1;align-items:center;gap:12px;display:flex}.ur-summary>div:last-child dt{margin:0}.ur-summary dd{font-size:12px}.ur-canvas-footer{gap:5px;padding:10px 18px}.ur-secondary>summary{padding:14px 18px;font-size:13px}.ur-secondary>summary>small{margin:5px 0 0 14px;display:block}.ur-history-scroll{padding:0 12px 14px}.pm-page .pm-records .pm-tabs{gap:16px;padding:0 16px}.pm-records .pm-tabs button{min-height:44px}.pm-breadcrumb{display:none}.ur-load{flex-direction:column}}.ur-search-status{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.ur-search-status .ghost-button{white-space:nowrap;background:#fff;min-height:30px;padding:5px 10px;font-size:12px}@media (width>=900px){:root:has(.main-view>.pm-page){scrollbar-gutter:stable}.content-shell .main-view:has(>.pm-page){padding:16px}.main-view>.pm-page{width:100%;min-width:0;max-width:none}}.pm-dividend-summary{border-bottom:1px solid #e1e6ed;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;padding:11px 16px;display:flex}.pm-dividend-summary>div{align-items:baseline;gap:7px;display:flex}.pm-dividend-summary>div+div{border-left:1px solid #e1e6ed;padding-left:16px}.pm-dividend-summary dt{color:#667085;font-size:12px}.pm-dividend-summary dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.pm-records .pm-dividend-table{border-radius:0}.pm-page .pm-records .pm-dividend-table .pm-dividend-amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pm-dividend-table td.pm-dividend-net{font-weight:600}.pm-dividend-table .ud-status{border-radius:5px;padding:2px 6px;display:inline-block}.pm-dividend-table .ud-status.refunded{color:#475467;background:#f1f4f8}.pm-dividend-table .ud-status+small{margin-top:3px}.pm-dividend-footer{border-top:1px solid #e1e6ed;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;padding:8px 16px;display:flex}.pm-dividend-footer .pm-record-caption{margin-right:5px}.pm-dividend-feedback{color:#667085;align-items:center;gap:10px;padding:18px 16px;display:flex}.pm-dividend-feedback[role=alert]{color:#b23d43}.pm-record-group+.pm-record-group{border-top:1px solid var(--line)}.pm-record-heading{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.pm-page .pm-record-heading h3{margin:0;font-size:13px;font-weight:600;line-height:1.5}.pm-record-month{color:#667085;align-items:center;gap:8px;font-size:12px;display:flex}.pm-record-month input{border:1px solid var(--line);min-height:30px;font:inherit;color:var(--text,#182033);background:#fff;border-radius:6px;padding:3px 8px}.pm-record-balance{color:#667085;align-items:baseline;gap:8px;padding:8px 12px;font-size:12px;display:flex}.pm-record-balance strong{color:var(--text,#182033);font-variant-numeric:tabular-nums;font-size:14px}.rt-tree,.or-dialog{--rg-ink:#1d1d1f;--rg-muted:#6e6e73;--rg-line:#e5e5e9;--rg-blue:#007aff;--rg-green:#18834b;color:var(--rg-ink);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}.rg-controls{border-bottom:1px solid var(--rg-line);background:#fff;justify-content:flex-end;align-items:center;gap:3px;padding:8px 16px;display:flex}.rg-controls button{color:#515158;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-width:32px;height:32px;min-height:0;padding:0 10px;font-size:12px;display:inline-flex}.rg-controls button:hover{color:var(--rg-ink);background:#f0f0f3}.rg-controls [data-rg=reset]{font-variant-numeric:tabular-nums;min-width:48px}.rg-controls [data-rg=fit]{background:#f3f3f5;margin-left:8px}.rg-controls svg,.rg-branch-actions svg{width:16px;height:16px}.rg-viewport{touch-action:none;cursor:grab;outline-offset:-2px;background:#f5f5f7;height:clamp(480px,68vh,800px);position:relative;overflow:hidden}.rg-viewport:active{cursor:grabbing}.rg-stage{transform-origin:0 0;-webkit-user-select:none;user-select:none;position:absolute}.rg-stage>svg{pointer-events:none;position:absolute;inset:0}.rg-stage>svg>path{fill:none;stroke:#c8cbd1;stroke-width:1.5px;stroke-linecap:round}.rg-stage>svg>path[data-relation-kind=purchase]{stroke:#7198c8}.rg-stage>svg>path[data-relation-kind=organization]{stroke-dasharray:5 4}.rg-edge-order{z-index:2;position:absolute;transform:translate(-50%,-50%)}.rg-edge-order>.rg-order-dot{box-sizing:border-box;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:24px;min-width:0;height:24px;min-height:0;margin:0;padding:0;display:grid}.rg-order-dot:before{content:"";box-sizing:border-box;background:#4a80bb;border:2px solid #fff;border-radius:50%;width:13px;height:13px;box-shadow:0 0 0 1px #4a80bb40}.rg-order-dot:hover:before,.rg-order-dot:focus-visible:before{background:#007aff}.rg-edge-organization{color:#245789;white-space:nowrap;background:#fff;border:1px solid #c7d8ec;border-radius:12px;min-height:28px;padding:2px 9px;font-size:13px}.rg-edge-order button:focus-visible{outline:2px solid var(--rg-blue);outline-offset:2px}.rg-edge-organization{color:#596579;border-color:#e1e5ec;align-items:center;display:flex}.rg-order-list{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.rg-node{box-sizing:border-box;background:#fff;border:1px solid #e5e5ea;border-radius:16px;padding:0 11px 10px;position:absolute;box-shadow:0 2px 4px #18182404,0 8px 22px #18182405}.rg-node.rg-earned{border-color:#c4dfd0}.rg-node.rg-selected-node{border-color:var(--rg-blue);outline:none;box-shadow:0 0 0 3px #007aff14,0 6px 18px #18182407}.rg-node-main{text-align:left;width:100%;min-height:70px;color:var(--rg-ink);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;padding:14px 0 10px;display:flex}.rg-node-main>span:last-child{flex:1;min-width:0}.rg-node-main strong{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.15px;font-size:15px;font-weight:600;line-height:21px;display:block;overflow:hidden}.rg-role{color:var(--rg-muted);margin-top:3px;font-size:12px;line-height:17px;display:block}.rg-avatar{background:#f3f3f6;border-radius:50%;flex:0 0 40px;justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden}.rg-avatar img{object-fit:cover;width:100%;height:100%}.rg-avatar .person-avatar{background:#f3f3f6;border:0;border-radius:50%;width:40px;height:40px;margin:0}.rg-avatar svg{color:#96969e;width:22px;height:22px}.rg-reward{width:100%;color:var(--rg-green);font-variant-numeric:tabular-nums;cursor:pointer;background:#edf7f0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;margin:3px 0 0;padding:4px 3px;font-size:14px;font-weight:600;line-height:22px;display:flex}.rg-reward>span{opacity:.7;font-weight:400}.rg-reward.rg-inactive-reward{color:var(--rg-muted);background:#f3f3f5}.rg-branch-actions{align-items:center;display:flex;position:absolute;transform:translate(-50%,-50%)}.rg-branch-actions button,.rg-ancestor-action button{color:#86868b;background:#fff;border:1px solid #e3e3e8;border-radius:12px;justify-content:center;align-items:center;min-width:22px;height:22px;min-height:0;padding:0 7px;font-size:11px;display:flex;box-shadow:0 2px 5px #18182405}.rg-branch-actions [data-rg=toggle]+[data-rg=more]{white-space:nowrap;position:absolute;left:calc(100% + 5px)}.rg-branch-actions button:hover,.rg-ancestor-action button:hover{color:var(--rg-blue);border-color:#b3d6ff}.rg-ancestor-action{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.rg-selected{border-top:1px solid var(--rg-line);background:#fff;max-height:190px;padding:14px 20px;font-size:13px;overflow:auto}.rg-selected-title{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.rg-selected-title strong{font-size:14px;font-weight:600}.rg-selected-title>span{color:var(--rg-muted);font-size:12px}.rg-selected-title button{height:30px;padding:0 8px}.rg-selected-title [data-rg=deselect]{background:#f3f3f5;border:0;border-radius:50%;margin-left:auto}.rg-selected-title svg{width:15px;height:15px}.rg-reward-detail{flex-wrap:wrap;gap:24px;margin:12px 0 0;display:flex}.rg-reward-detail>div{gap:10px;display:flex}.rg-reward-detail dt{color:var(--rg-muted)}.rg-reward-detail dd{font-variant-numeric:tabular-nums;margin:0}.or-overlay{z-index:1300;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#1b1b224d;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.or-dialog{width:min(var(--or-dialog-width,1280px), 100%);background:#fff;border-radius:22px;flex-direction:column;max-height:calc(100dvh - 48px);display:flex;overflow:hidden;box-shadow:0 24px 80px #1717202b}.or-header{border-bottom:1px solid var(--rg-line);flex-wrap:wrap;align-items:center;gap:14px;padding:16px 22px;display:flex}.or-header h2{letter-spacing:-.25px;color:var(--rg-ink);margin:0;font-size:17px;font-weight:600;line-height:24px}.or-header .or-number{color:var(--rg-muted);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:13px}.or-header select{background-color:#f3f3f5;border:0;border-radius:8px;width:120px;min-width:92px;height:32px;min-height:0;margin-left:auto;font-size:12px}.or-close{color:#797980;cursor:pointer;background:#f0f0f2;border:0;border-radius:50%;justify-content:center;align-items:center;width:30px;min-height:30px;margin-left:auto;padding:6px;display:flex}.or-close:hover{color:var(--rg-ink);background:#e6e6e9}.or-close svg{width:17px;height:17px}.or-header select:not([hidden])+.or-close{margin-left:0}.or-body{min-height:0;overflow:auto}.or-body .rg-viewport{height:min(68vh, var(--or-canvas-height,740px));min-height:320px}.or-status{color:var(--rg-muted);background:#fafafa;padding:8px 20px;font-size:13px}.or-status:empty{display:none}.or-error{align-items:center;gap:12px;padding:24px;font-size:14px;display:flex}.or-error button{height:32px}.rt-heading{border-bottom:1px solid var(--rg-line);grid-template-columns:minmax(0,auto) minmax(0,1fr) auto;align-items:center;gap:8px 18px;padding:8px 14px;display:grid}.rt-identity{grid-area:1/1;min-width:0}.rt-identity .ud-profile-main{gap:8px}.rt-identity .ud-profile-main .pm-avatar{border-radius:9px;width:36px;height:36px}.rt-identity .ud-user-heading>div{gap:5px}.rt-identity .ud-user-heading p{margin-top:1px}.rt-tools{grid-area:1/3;gap:6px;min-width:0;display:flex}.rt-search{gap:6px;min-width:0;margin:0;display:flex}.rt-search input{width:152px;min-width:0;height:32px;font-size:13px}.rt-heading .rt-tools .ghost-button,.rt-heading .rt-agency-actions .ghost-button{padding:0 9px;font-size:13px}.rt-canvas .rg-viewport>.rg-controls{z-index:1;border:1px solid var(--rg-line);cursor:default;background:#fff;border-radius:10px;max-width:calc(100% - 20px);padding:3px;position:absolute;top:10px;right:10px;box-shadow:0 2px 8px #1818240b}.rt-canvas .rg-controls .ghost-button{height:30px;min-height:30px;padding:0 8px;font-size:12px}.rt-orders{border-bottom:1px solid var(--rg-line);padding:12px 16px}.rt-order-results{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.rt-order-results button{min-height:32px;font-size:13px}.rt-message{color:#b42318;padding:8px 16px;font-size:13px}.rt-message:empty,.rt-order-caption[hidden]{display:none}.rt-order-caption{flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;font-size:14px;display:flex}.rt-order-caption select{width:120px;min-width:0;height:32px;margin-left:auto;font-size:12px}.rt-order-caption select+button{margin-left:0}.rt-order-caption button{margin-left:auto}.rt-tree{overflow:hidden;container-type:inline-size}.rg-node button:focus-visible,.rg-branch-actions button:focus-visible,.rg-controls button:focus-visible,.or-close:focus-visible{outline:2px solid var(--rg-blue);outline-offset:2px}@media (width<=767px){.or-overlay{padding:8px}.or-dialog{border-radius:18px;max-height:calc(100dvh - 16px)}.or-header{gap:8px;padding:10px 14px}.or-header h2{font-size:16px}.or-header .or-number{font-size:12px}.or-body .rg-viewport{height:min(60vh, var(--or-canvas-height,740px));min-height:300px}.rg-controls{gap:2px;padding:6px 8px}.rg-controls button{min-width:40px;height:44px;padding:0 7px}.rg-controls [data-rg=fit]{margin-left:4px}.rg-viewport{height:60vh;min-height:400px}.or-close{width:36px;height:36px;margin:4px 0 4px auto}.rg-selected{max-height:175px;padding:12px 14px}.rt-search input,.rt-search button,.rg-selected-title button,.or-header select,.rt-order-caption select{height:44px}}.rt-tree .rg-branch-actions [data-rg=toggle],.or-dialog .rg-branch-actions [data-rg=toggle]{border-radius:50%;width:22px;min-width:22px;height:22px;min-height:22px;padding:0}.rg-branch-actions [data-rg=toggle] svg{width:14px;height:14px}.rt-tree .rg-controls [data-rg=reset-view],.or-dialog .rg-controls [data-rg=reset-view]{gap:6px}.rt-agency{font-size:13px;display:contents}.rt-agency[hidden]{display:none}.rt-agency-summary,.rt-agency-form{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.rt-agency-summary{border-left:1px solid var(--rg-line);grid-area:1/2;padding-left:14px}.rt-agency-summary>strong{overflow-wrap:anywhere}.rt-agency-summary>span{white-space:nowrap}.rt-agency-form,.rt-agency-history,.rt-agency-error{grid-column:1/-1}.rt-agency-form,.rt-agency-history{border-top:1px solid var(--rg-line);padding-top:8px}.rt-agency-summary .rt-agency-label,.rt-agency-meta{color:var(--rg-muted)}.rt-agency-summary .rt-agency-actions{align-items:center;gap:6px;margin-left:2px;display:flex}.rt-agency button{min-height:32px;padding:0 10px;font-size:13px}.rt-agency-form{align-items:end}.rt-agency-form label{gap:4px;display:grid}.rt-agency-form input{width:min(100%,340px);height:34px}.rt-agency-history h3{margin:0 0 6px;font-size:13px}.rt-agency-history ul{max-height:220px;margin:0;padding:0;list-style:none;overflow:auto}.rt-agency-history li{border-top:1px solid var(--rg-line);overflow-wrap:anywhere;gap:4px;padding:8px 0;display:grid}.rt-agency-error{color:#b42318;margin:0}@container (width<=960px){.rt-heading{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.rt-agency-summary{border:0;grid-area:2/1/auto/-1;padding:0}.rt-tools{grid-area:1/2}}@media (width>=900px){.content-shell:has(>.main-view>.pm-page>#pm-section-relations){grid-template-rows:auto minmax(0,1fr);height:100dvh;display:grid}.content-shell .main-view:has(>.pm-page>#pm-section-relations){grid-template-rows:minmax(0,1fr);min-height:0;display:grid}.main-view>.pm-page:has(>#pm-section-relations){grid-template-rows:auto minmax(0,1fr)}#pm-section-relations{grid-template-rows:minmax(0,1fr);min-height:0}#pm-section-relations>.rt-tree{flex-direction:column;min-height:0;display:flex;overflow:auto}#pm-section-relations .rt-tree>:not(.rt-canvas),#pm-section-relations .rg-selected{flex:none}#pm-section-relations .rt-canvas{flex-direction:column;flex:1 0 0;display:flex}#pm-section-relations .rt-canvas .rg-viewport{flex:1;height:auto;min-height:min(280px,40dvh)}}.review-user{font-size:var(--font-label);flex-direction:row;align-items:center;gap:8px;line-height:20px;display:flex}.review-user-avatar{color:#1388b7;cursor:pointer;background:#e4f4fc;border:1px solid #c6e7f3;border-radius:6px;place-items:center;width:32px;height:32px;padding:0;display:grid;overflow:hidden}.review-user-avatar img{object-fit:cover;width:100%;height:100%}.withdrawal-process-note{color:var(--muted);margin:12px 0;font-size:12px;line-height:1.7}.withdrawal-badge.pending{color:#99600a;background:#fff0cc}.withdrawal-badge.approved{color:#18659c;background:#e1efff}.withdrawal-badge.paid{color:#14815c;background:#e1f7ed}.withdrawal-badge.rejected{color:#d33d4e;background:#ffe5e8}.withdrawal-empty{text-align:center;height:220px;color:var(--muted)}.withdrawal-pagination{background:var(--panel);border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;justify-content:flex-end;align-items:center;gap:12px;margin-top:0;padding:16px 20px;display:flex}.withdrawal-dialog{width:min(1000px,92vw);max-height:90vh;box-shadow:var(--shadow);color:var(--text);background:#fff;border-radius:12px;padding:26px;overflow-y:auto}.withdrawal-dialog header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.withdrawal-dialog h2{margin:0;font-size:24px}.withdrawal-info{grid-template-columns:1fr 1fr;gap:16px;display:grid}.withdrawal-info section{border:1px solid var(--line);border-radius:8px;padding:20px}.withdrawal-info dl{grid-template-columns:96px 1fr;gap:12px;margin:0;display:grid}.withdrawal-info dt{color:var(--muted)}.withdrawal-info dd{overflow-wrap:anywhere;margin:0}.withdrawal-composition{background:#edf7fe;border-radius:8px;grid-template-columns:1fr 1fr 1fr 1fr;gap:20px;margin:16px 0 22px;padding:20px;display:grid}.withdrawal-composition div{color:var(--muted)}.withdrawal-composition div strong{color:var(--text);margin-top:8px;font-size:20px;display:block}.withdrawal-dialog footer{justify-content:flex-end;align-items:center;gap:14px;margin-top:22px;display:flex}.withdrawal-dialog footer small{color:var(--muted);margin-right:auto}.withdrawal-dialog textarea{box-sizing:border-box;border:1px solid var(--line);width:100%;min-height:120px;font:inherit;resize:vertical;border-radius:8px;margin-top:12px;padding:14px;display:block}.withdrawal-reason{background:#fff0f2;border-radius:10px;margin-top:16px;padding:16px}.withdrawal-dialog details{color:var(--muted);margin-top:20px}.withdrawal-modal-error,.withdrawal-error{color:#c23a4c;margin-top:12px}.withdrawal-dialog button:disabled{opacity:.5;cursor:default}.withdrawal-dialog.withdrawal-compact{width:min(520px,92vw);max-height:90vh;padding:28px}.withdrawal-compact header h2{font-size:20px;font-weight:600;line-height:28px}.withdrawal-compact header .icon-button{color:var(--muted);background:0 0;width:30px;height:30px;min-height:30px;font-size:26px}.withdrawal-amount-line{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.withdrawal-compact-fields{grid-template-columns:82px minmax(0,1fr);gap:14px 12px;margin:0;font-size:14px;display:grid}.withdrawal-compact-fields dt{color:var(--muted)}.withdrawal-compact-fields dd{overflow-wrap:anywhere;margin:0}.withdrawal-result-note{background:#edf7fe;border-radius:8px;margin-top:22px;padding:14px 16px;font-size:14px;line-height:1.65}.withdrawal-result-note.is-failure{background:#fff0f2}.withdrawal-result-note.is-failure strong{color:#c23a4c;font-weight:500}.withdrawal-result-note p{color:var(--text);margin:7px 0 0}.withdrawal-compact footer{border-top:1px solid var(--line);gap:12px;margin-top:24px;padding-top:18px}.withdrawal-compact footer small{font-size:12px;line-height:1.5}.withdrawal-compact footer button{flex-shrink:0}.withdrawal-compact .withdrawal-badge{font-size:13px}.withdrawal-review.resource-page .resource-table th,.withdrawal-review.resource-page .resource-table td{text-align:left;vertical-align:middle;font-variant-numeric:tabular-nums;padding:8px 12px}.withdrawal-review .resource-table th{font-weight:500}.withdrawal-review .withdrawal-filters{margin-bottom:0}.withdrawal-review .table-meta{margin:14px 0}.withdrawal-filters>label{min-width:0;font-size:var(--font-label);color:var(--muted);gap:8px;line-height:20px;display:grid}.withdrawal-filters input,.withdrawal-filters select{width:100%;min-width:0;height:40px;color:var(--text);font:inherit;box-sizing:border-box;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:0 12px}.withdrawal-filters>button{height:40px}.withdrawal-review.resource-page{display:block}.withdrawal-review .resource-table .review-user-avatar{background:#e4f4fc;border:1px solid #c6e7f3;border-radius:6px;width:32px;height:32px;padding:0;display:flex}.withdrawal-review .withdrawal-filters>button{height:40px;min-height:40px;padding-top:0;padding-bottom:0}.withdrawal-review .resource-table [data-action=withdrawalDetail]{color:var(--cyan);background:0 0;border-color:#0000;min-height:30px;padding:6px 0}.withdrawal-review .withdrawal-pagination{border-top:1px solid var(--line);background:#fff;border-radius:0 0 12px 12px;margin-top:0;padding:14px 18px}.withdrawal-review .resource-table{table-layout:auto;min-width:1080px}.withdrawal-review .resource-table :is(th,td){text-overflow:clip;overflow:visible}.withdrawal-review .resource-table .record-id{white-space:normal;overflow-wrap:anywhere}.withdrawal-review .resource-table td.numeric,.withdrawal-review .resource-table th:nth-child(4){text-align:left;font-variant-numeric:tabular-nums}.withdrawal-review .table-wrap{border-radius:12px 12px 0 0}.withdrawal-pagination button{width:40px;padding:0}.withdrawal-filters{background:var(--panel);border:1px solid var(--line);border-radius:12px;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) minmax(130px,1fr) minmax(150px,1fr) 80px 80px;align-items:end;gap:8px;padding:12px;display:grid}.withdrawal-filters input,.withdrawal-filters select,.withdrawal-review .withdrawal-filters>button{height:32px;min-height:32px}.withdrawal-review .resource-table td{box-sizing:border-box;height:56px;padding:8px 12px;font-size:14px;line-height:22px}.withdrawal-badge{white-space:nowrap;border-radius:8px;padding:4px 10px;font-size:13px;font-weight:500;display:inline-flex}.withdrawal-dialog h3{margin:0 0 12px;font-size:16px}.withdrawal-amount-line>strong{letter-spacing:-.5px;font-size:26px;font-weight:600;line-height:34px}.withdrawal-row-more{display:none}.withdrawal-filters label>span{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.withdrawal-pagination small{color:var(--muted);margin-right:auto;font-size:13px}@media (width<=900px){.withdrawal-filters{grid-template-columns:1fr 1fr;gap:8px;padding:12px}.withdrawal-info{grid-template-columns:1fr}.withdrawal-composition{gap:10px}.withdrawal-dialog{padding:18px}}@media (width<=600px){.withdrawal-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:16px}.withdrawal-filters>label{grid-column:auto}.withdrawal-dialog.withdrawal-compact{padding:20px}.withdrawal-dialog footer{flex-wrap:wrap}.withdrawal-dialog footer small{flex-basis:100%}}@media (width<=760px){.withdrawal-review .resource-table{width:100%;min-width:0;display:block}.withdrawal-review .resource-table thead{display:none}.withdrawal-review .resource-table tbody{gap:12px;padding:12px;display:grid}.withdrawal-review .resource-table tr{border:1px solid var(--line);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:12px;display:grid}.withdrawal-review.resource-page .resource-table td{text-align:left;white-space:normal;border:0;min-width:0;height:auto;display:block;padding:0!important}.withdrawal-review .resource-table td:first-child{overflow-wrap:anywhere;flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;font-size:14px;line-height:22px;display:flex}.withdrawal-review .resource-table td:nth-child(2){grid-area:2/1}.withdrawal-review .resource-table td:nth-child(4){grid-area:2/2}.withdrawal-review .resource-table td:nth-child(7){grid-area:3/1}.withdrawal-review .resource-table td:nth-child(8){grid-area:3/2}.withdrawal-review .review-user{text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;font-size:14px}.withdrawal-review .review-user>span{overflow-wrap:anywhere;min-width:0}.withdrawal-review .resource-table .review-user-avatar{flex-shrink:0;width:44px;height:44px;min-height:44px}.withdrawal-review .resource-table [data-action=withdrawalDetail]{min-height:44px;padding:8px 0;font-size:14px}.withdrawal-review .resource-table td:nth-child(3),.withdrawal-review .resource-table td:nth-child(5),.withdrawal-review .resource-table td:nth-child(6){display:none}.withdrawal-review .resource-table td:nth-child(4){text-align:left;font-weight:600}.withdrawal-review .resource-table td:nth-child(8){text-align:left}.withdrawal-review .resource-table td.withdrawal-empty{text-align:center;grid-column:1/-1;padding:24px;display:block}.withdrawal-row-more{color:var(--muted);flex-shrink:0;margin:0;font-size:14px;font-weight:400;display:block}.withdrawal-row-more[open]{flex-basis:100%}.withdrawal-row-more summary{cursor:pointer;justify-content:flex-end;align-items:center;min-height:44px;display:flex}.withdrawal-row-more dl{grid-template-columns:72px minmax(0,1fr);gap:8px;margin:8px 0 0;display:grid}.withdrawal-row-more dd{overflow-wrap:anywhere;margin:0}.withdrawal-review .table-wrap{overflow:visible}.withdrawal-review .withdrawal-pagination{padding:12px}}@media (pointer:coarse){.withdrawal-filters input,.withdrawal-filters select,.withdrawal-review .withdrawal-filters>button,.withdrawal-review .resource-table [data-action=withdrawalDetail],.withdrawal-row-more summary{min-height:44px}}@media (pointer:coarse){.withdrawal-filters input,.withdrawal-filters select,.withdrawal-review .withdrawal-filters>button{min-height:44px}}.dm-page{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;margin:0;font-size:14px;line-height:1.45;display:block}.dm-page .dm-filters.unified-filter{border:0;border-bottom:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:12px 14px;display:flex}.dm-filters label{min-width:0;margin:0}.dm-filters .filter-keyword{width:300px;max-width:40%}.dm-filters .filter-range{width:144px}.dm-filters label>span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.dm-page .dm-filters :is(input,select){width:100%;height:32px;min-height:32px;color:var(--text);background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:5px 10px;font-family:inherit;font-size:14px;line-height:20px}.dm-page .dm-filters button,.dm-page .dm-pagination button{border-radius:8px;height:32px;min-height:32px;padding:5px 12px;font-size:13px;line-height:20px}.dm-result-count{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:12px}.dm-page .dm-table-card{background:0 0;border:0;border-radius:0;min-width:0;margin:0;overflow:visible}.dm-table-card .table-wrap{border:0;border-radius:0;min-width:0;overflow:visible}.dm-page .dm-table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.dm-page .dm-table :is(th,td){z-index:auto;box-shadow:none;text-align:left;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;padding:8px 10px;font-size:14px;font-weight:400;line-height:1.45;position:static;left:auto;overflow:visible}.dm-page .dm-table th{color:var(--muted);background:#f8fafc;padding-block:8px;font-size:12px;font-weight:500}.dm-page .dm-table td{border-bottom:1px solid var(--line);height:65px}.dm-page .dm-table tr:last-child td{border-bottom:0}.dm-page .dm-table :is(th,td):nth-child(2){text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap}.dm-page .dm-table tbody tr:hover td{background:#fafbfc}.dm-product{align-items:center;gap:10px;min-width:0;display:flex}.dm-product>div:last-child{min-width:0}.dm-thumbnail{background:var(--surface);border-radius:8px;flex:none;place-items:center;width:48px;height:48px;display:grid;position:relative;overflow:hidden}.dm-thumbnail>span{color:#98a2b3;place-items:center;display:grid}.dm-thumbnail>img{position:absolute;inset:0}.dm-thumbnail>img[hidden]{display:none}.dm-product img{object-fit:cover;background:var(--surface);border-radius:8px;width:48px;height:48px}.dm-product strong{white-space:normal;overflow-wrap:anywhere;font-size:14px;font-weight:500;line-height:20px;display:block}.dm-product small{color:var(--muted);margin-top:2px;font-size:12px;line-height:18px;display:block}.dm-status{color:var(--muted);white-space:nowrap;background:#edf1f6;border-radius:6px;padding:2px 6px;font-size:12px;line-height:18px;display:inline-block}.dm-status.enabled{color:#218963;background:#e6f6ef}.resource-direct-mall-items .mall-item-operations{text-align:left;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px 8px;width:auto;min-width:0;margin:0;display:flex}.dm-pagination{border-top:1px solid var(--line);color:var(--muted);justify-content:flex-end;align-items:center;gap:10px;padding:10px 14px;font-size:12px;display:flex}.dm-pagination>div{align-items:center;gap:10px;display:flex}.dm-pagination button:disabled{opacity:.45;cursor:default}.dm-page .dm-table .dm-empty{text-align:center;height:auto;color:var(--muted);padding:32px}.dm-backdrop{padding:24px}.dm-dialog.dialog-panel{border-radius:12px;flex-direction:column;width:min(860px,100%);max-height:calc(100dvh - 48px);padding:0;font-size:14px;line-height:1.45;display:flex;position:relative;overflow:hidden}.dm-dialog>.drawer-head{border-bottom:1px solid var(--line);flex:none;margin:0;padding:16px 20px}.dm-dialog h3{margin:0;font-size:18px;font-weight:600;line-height:26px}.dm-form{flex-direction:column;min-height:0;display:flex}.dm-form-body{gap:16px;padding:16px 20px;display:grid;overflow-y:auto}.dm-section-head{align-items:center;gap:12px;margin-bottom:12px;display:flex}.dm-section-head:after{content:"";background:var(--line);flex:1;height:1px}.dm-section-head h4{white-space:nowrap;margin:0;font-size:16px;font-weight:500;line-height:24px}.dm-section-head small,.dm-image-help{color:var(--muted);font-size:12px}.dm-basic-grid{grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}.dm-basic-grid label{min-width:0;color:var(--text);font-size:14px;font-weight:400;display:block}.dm-basic-grid em{color:var(--red);font-style:normal}.dm-stock-help{color:var(--muted);margin:8px 0 0;font-size:12px}.dm-basic-grid :is(input,select){border:1px solid var(--line);width:100%;height:32px;min-height:32px;color:var(--text);font:inherit;background:#fff;border-radius:8px;margin-top:6px;padding:5px 10px;line-height:20px;display:block}.dm-image-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.dm-image-tile{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;position:relative;overflow:hidden}.dm-image-tile[draggable=true]{cursor:grab}.dm-image-preview{background:0 0;border:0;width:100%;height:96px;padding:0;display:block}.dm-image-preview img{object-fit:cover;width:100%;height:100%;display:block}.is-details .dm-image-preview{height:128px}.is-details .dm-image-preview img{object-fit:contain;object-position:top}.dm-image-grid.is-cover{display:block}.is-cover .dm-image-tile{background:0 0;border:0;align-items:center;gap:12px;display:flex}.is-cover .dm-image-preview{border-radius:8px;flex:none;width:96px;height:96px;overflow:hidden}.is-cover .dm-image-delete{width:auto;height:32px;color:var(--red);background:#fff5f6;border:1px solid #ffdce2;border-radius:8px;order:2;padding:5px 12px;font-size:12px;position:static}.is-cover .dm-image-tools{border:1px solid var(--line);background:#fff;border-radius:8px;order:1;padding:0 10px}.is-cover .dm-upload-tile{width:112px;min-height:96px}.dm-image-number{color:#fff;pointer-events:none;background:#33475e;border-radius:4px;padding:1px 6px;font-size:12px;position:absolute;top:6px;left:6px}.dm-image-delete{border:1px solid var(--line);width:26px;height:26px;color:var(--text);background:#fff;border-radius:8px;place-items:center;padding:0;font-size:18px;display:grid;position:absolute;top:5px;right:5px}.dm-image-delete .ui-icon{width:16px;height:16px}.dm-image-tools{border-top:1px solid var(--line);background:#f8fafc;justify-content:center;align-items:center;gap:6px;padding:3px;display:flex}.dm-image-tools button{min-width:24px;height:26px;color:var(--cyan);background:0 0;border:0;border-radius:6px;place-items:center;padding:3px;font-family:inherit;font-size:12px;display:grid}.dm-image-tools button:disabled{opacity:.3;cursor:default}.dm-upload-tile{color:#49647d;background:#f7fafd;border:1px dashed #c4d5e5;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:112px;font-size:14px;display:flex}.dm-upload-tile>span{place-items:center;display:grid}.dm-file-input{display:none}.dm-image-help{margin-top:6px;line-height:18px;display:block}.dm-form-footer{border-top:1px solid var(--line);background:#fff;flex:none;justify-content:flex-end;gap:8px;padding:12px 20px;display:flex}.dm-form-footer button{border-radius:8px;min-width:88px;height:32px;min-height:32px;padding:5px 12px;font-size:14px;line-height:20px}.dm-dialog button:disabled,.dm-dialog input:disabled{cursor:default;opacity:.55}.dm-error{color:var(--red);background:#fff1f3;border-radius:8px;margin:0;padding:10px 12px}.dm-error[hidden]{display:none}.dm-progress{color:var(--cyan);margin:0}.dm-preview-overlay{z-index:2;background:#0b1726f0;justify-content:center;align-items:center;padding:50px 24px 24px;display:flex;position:absolute;inset:0}.dm-preview-overlay>img{object-fit:contain;max-width:100%;max-height:100%}.dm-preview-overlay>.icon-button{color:#fff;position:absolute;top:10px;right:14px}:is(.dm-dialog,.dm-page) :focus:not(:focus-visible,input,select,textarea){box-shadow:none;outline:none}.dm-discard{z-index:3;text-align:center;background:#fffffffa;flex-direction:column;justify-content:center;align-items:center;padding:32px;display:flex;position:absolute;inset:0}.dm-discard strong{color:var(--text);font-size:18px}.dm-discard p{color:var(--muted);margin:12px 0 20px}.dm-discard>div{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.summary-unavailable{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px 16px;display:flex}@media (width<=1000px){.dm-table colgroup{display:none}.dm-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.dm-table,.dm-table tbody{display:block}.dm-table tbody>tr{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px;padding:14px;display:grid}.dm-table tbody>tr:last-child{border:0}.dm-page .dm-table td{text-align:left;white-space:normal;border:0;min-width:0;height:auto;padding:0;display:block}.dm-table td:before{content:attr(data-label);color:var(--muted);margin-bottom:3px;font-size:12px;display:block}.dm-table td[data-label=商品],.dm-table td[data-label=操作]{grid-column:1/-1}.dm-table td[data-label=商品]:before,.dm-table td[data-label=操作]:before,.dm-table .dm-empty:before{display:none}.dm-table td[data-label=创建时间]{grid-column:2/-1}.dm-page .dm-table td[data-label=操作]{border-top:1px solid var(--line);padding-top:8px}.resource-direct-mall-items .mall-item-operations{justify-content:flex-start}.dm-table .dm-empty{grid-column:1/-1}}@media (width<=650px){.dm-page .dm-filters.unified-filter{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;display:grid}.dm-filters .filter-keyword{grid-column:1/-1;width:auto;max-width:none}.dm-filters .filter-range{grid-column:1/-1;width:auto}.dm-result-count{grid-column:1/-1;margin-left:auto}.dm-page .dm-filters :is(input,select,button),.dm-page .dm-pagination button{height:44px;min-height:44px}.dm-backdrop{padding:12px}.dm-dialog.dialog-panel{max-height:calc(100dvh - 24px)}.dm-dialog>.drawer-head,.dm-form-body{padding:16px}.dm-form-footer{padding:12px 16px}.dm-form-footer button,.dm-basic-grid :is(input,select){height:44px;min-height:44px}.dm-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dm-basic-grid .dm-name{grid-column:1/-1}.dm-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dm-image-tools button{min-width:32px;min-height:44px}.dm-image-delete{width:36px;height:36px}.is-cover .dm-image-delete{height:44px}.dm-image-tools{gap:4px}.is-cover .dm-image-tile{flex-wrap:wrap;gap:8px}.is-cover .dm-image-tools{padding:0 6px}.dm-discard{padding:24px}.dm-discard button{min-height:44px}}.dof-backdrop{padding:24px}.dof-dialog.dialog-panel{flex-direction:column;width:min(900px,100%);max-height:calc(100dvh - 48px);padding:0;display:flex;overflow:hidden}.dof-dialog>.drawer-head{border-bottom:1px solid var(--line);flex-shrink:0;margin:0;padding:20px 24px}.dof-dialog h3{margin:0;font-size:20px}.dof-body{min-height:0;padding:20px 24px;overflow-y:auto}.dof-body section+section{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.dof-body h4{margin:0 0 12px;font-size:15px}.dof-fields{grid-template-columns:1fr 1fr;gap:12px 24px;margin:0;display:grid}.dof-fields>div{min-width:0}.dof-fields dt{color:var(--muted);margin-bottom:4px;font-size:12px}.dof-fields dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.dof-product-image{object-fit:contain;width:72px;height:72px;margin-bottom:12px}.dof-shipment-form{grid-template-columns:1fr 1fr;gap:14px 18px;display:grid}.dof-shipment-form label{gap:6px;display:grid}.dof-shipment-form input,.dof-shipment-form textarea{border:1px solid var(--line);background:var(--panel);width:100%;color:var(--text);border-radius:6px;padding:10px}.dof-shipment-form textarea{resize:vertical;min-height:80px}.dof-carrier-field{gap:5px;min-width:0;font-size:12px;display:grid;position:relative}.dof-carrier-trigger{border:1px solid var(--line);background:var(--panel);width:100%;height:32px;color:var(--text);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:5px 10px;font-size:14px;display:flex}.dof-carrier-menu{z-index:8;background:var(--panel);border:1px solid var(--line);border-radius:8px;min-width:160px;margin-top:4px;padding:6px;position:absolute;top:100%;left:0;right:0;box-shadow:0 8px 20px #18264120}.dof-carrier-options{max-height:196px;margin-top:4px;overflow:auto}.dof-carrier-options button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:5px;padding:6px 8px;display:block}.dof-carrier-options button:is(:hover,:focus-visible,[aria-pressed=true]){background:var(--soft,#eef3fb);color:var(--text)}.dof-carrier-menu p{margin:4px 6px}.dof-shipment-actions{justify-content:flex-end;display:flex}.dof-device-form{justify-items:start;gap:12px;margin-top:12px;display:grid}.dof-device-list{border:1px solid var(--line);border-radius:6px;gap:10px;width:100%;max-height:360px;margin:12px 0;padding:12px;display:grid;overflow-y:auto}.dof-device-form .dof-device-list{margin:0}.dof-device-row{grid-template-columns:72px minmax(0,1fr);align-items:start;gap:12px;display:grid}.dof-device-row>label,.dof-device-row>span{overflow-wrap:anywhere;padding-top:10px}.dof-device-row input,.dof-device-reason textarea{border:1px solid var(--line);background:var(--panel);width:100%;color:var(--text);border-radius:6px;padding:10px}.dof-device-row small{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;display:block}.dof-device-controls{grid-template-columns:minmax(0,136px) minmax(max-content,1fr);align-items:center;gap:6px;min-width:0;display:grid}.dof-device-controls input{min-width:0}.dof-device-picker{min-width:0;position:relative}.dof-device-picker input::placeholder{color:var(--muted)}.dof-device-popup{z-index:5;border:1px solid var(--line);background:var(--panel);border-radius:8px;width:max-content;min-width:100%;max-width:min(320px,65vw);max-height:216px;position:absolute;inset:calc(100% + 4px) auto auto 0;overflow:auto;box-shadow:0 5px 16px #18243a24}.dof-device-popup [role=option],.dof-device-empty{overflow-wrap:anywhere;padding:7px 10px}.dof-device-popup [role=option]{cursor:pointer}.dof-device-popup [role=option]:is(:hover,[aria-selected=true]){background:var(--bg)}.dof-device-empty{color:var(--muted)}.dof-device-controls button{white-space:nowrap;justify-self:end}.dof-device-controls small{grid-column:1/-1}.dof-device-reason{gap:6px;width:100%;display:grid}.dof-device-reason textarea{resize:vertical;min-height:72px}.dof-device-history{margin-top:16px}.dof-device-history summary{cursor:pointer;font-weight:600}.dof-device-history ol{max-height:420px;margin:12px 0 0;padding:0 8px 0 0;list-style:none;overflow-y:auto}.dof-device-history li{border-top:1px solid var(--line);padding:12px 0}.dof-device-history .dof-fields{gap:8px 16px}.dof-wide{grid-column:1/-1}.dof-help,.dof-delivery p{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.dof-delivery{border-top:1px solid var(--line);justify-items:start;gap:12px;margin-top:20px;padding-top:16px;display:grid}.dof-delivery-confirm{border:1px solid var(--line);border-radius:6px;padding:12px}.dof-delivery-confirm>div{flex-wrap:wrap;gap:12px;margin-top:12px;display:flex}.dof-error{color:var(--red);overflow-wrap:anywhere;background:#fff1f3;border-radius:6px;padding:12px}.dof-footer{border-top:1px solid var(--line);flex-shrink:0;justify-content:flex-end;padding:16px 24px;display:flex}.dof-dialog button:disabled,.dof-dialog input:disabled,.dof-dialog textarea:disabled{opacity:.55;cursor:default}@media (width<=640px){.dof-backdrop{padding:12px}.dof-dialog.dialog-panel{max-height:calc(100dvh - 24px)}.dof-fields,.dof-shipment-form{grid-template-columns:1fr}.dof-device-row{grid-template-columns:58px minmax(0,1fr);gap:8px}.dof-dialog>.drawer-head,.dof-body,.dof-footer{padding:16px}}.dof-page{border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;min-width:0;font-size:14px;line-height:1.45}.dof-page>.drawer-head{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:12px 16px;display:flex}.dof-page>.drawer-head h3{overflow-wrap:anywhere;margin:0;font-size:16px;font-weight:600;line-height:24px}.dof-page-summary{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.dof-page-summary strong{font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}.dof-page>.dof-body{padding:16px;overflow:visible}.dof-page-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.dof-main,.dof-fulfillment{flex-direction:column;gap:16px;min-width:0;display:flex}.dof-main{border-right:1px solid var(--line);padding-right:24px}.dof-page :is(.dof-main,.dof-fulfillment)>section{background:0 0;border:0;border-radius:0;margin:0;padding:0}.dof-page :is(.dof-main,.dof-fulfillment)>section+section{border-top:1px solid var(--line);padding-top:14px}.dof-page h4{margin:0 0 10px;font-size:16px;font-weight:600}.dof-page .dof-fields{gap:10px 16px}.dof-page .dof-fields>div{grid-template-columns:76px minmax(0,1fr);align-items:baseline;gap:8px;display:grid}.dof-page .dof-fields dt{margin:0;line-height:20px}.dof-page .dof-fields dd{font-size:14px;line-height:20px}.dof-page :is(input,select,textarea){font:inherit;border-radius:8px;min-height:32px;padding:5px 10px;font-size:14px}.dof-page :is(input,select){height:32px}.dof-page textarea{min-height:54px}.dof-page .dof-shipment-form{gap:10px 12px}.dof-page .dof-shipment-form label,.dof-page .dof-device-reason{gap:5px;font-size:12px}.dof-page .dof-shipment-form input,.dof-page .dof-shipment-form textarea{font-size:14px}.dof-page .dof-device-list{border:0;gap:8px;max-height:none;padding:0;overflow:visible}.dof-page .dof-more-devices .dof-device-list{padding-top:8px}.dof-page .dof-device-row{grid-template-columns:84px minmax(0,1fr);align-items:center;gap:8px}.dof-page .dof-device-row>label,.dof-page .dof-device-row>span{padding-top:0}.dof-page .dof-device-row small{margin-top:1px}.dof-page .dof-device-form{gap:10px}.dof-page .dof-device-history{margin-top:12px}.dof-page .dof-device-history ol{max-height:none;overflow:visible}.dof-page .dof-product-image{flex:none;width:46px;height:46px;margin:0}.dof-product,.dof-order-heading,.dof-section-heading{align-items:center;gap:10px;display:flex}.dof-order-heading{flex-wrap:wrap}.dof-page .dof-order-info .dof-fields{grid-template-columns:1fr;gap:6px}.dof-page .dof-recipient-info .dof-fields>div:nth-child(3){grid-column:1/-1}.dof-section-heading{justify-content:space-between;margin-bottom:10px}.dof-section-heading h4{margin:0}.dof-tracking{border-top:1px solid #e9edf4;margin-top:14px;padding-top:14px}.dof-section-heading .ghost-button,.dof-order-heading .ghost-button{min-height:30px;font-size:12px}.dof-reward-scroll{max-width:100%;margin-top:8px;overflow-x:auto}.dof-reward-table{border-collapse:collapse;white-space:nowrap;text-align:left;font-variant-numeric:tabular-nums;width:100%}.dof-reward-table th,.dof-reward-table td{border-bottom:1px solid var(--line);padding:6px 8px}.dof-reward-table th{color:var(--muted);background:var(--bg);font-size:12px;font-weight:500}.dof-reward-table tr:last-child td{border-bottom:0}.dof-legacy-review{margin-top:10px;font-size:13px}.dof-legacy-review summary{cursor:pointer;color:var(--cyan)}.dof-legacy-review form{justify-items:start;gap:8px;margin-top:8px;display:grid}.dof-legacy-review label{gap:4px;width:min(100%,420px);display:grid}.dof-page .dof-fields+.dof-shipment-form{margin-top:10px}.dof-page .dof-delivery{border-top:0;margin-top:10px;padding-top:0}.dof-more-devices{grid-column:1/-1;width:100%}.dof-more-devices summary{cursor:pointer;color:var(--cyan);padding:6px 0}.dof-more-devices .dof-device-list{border:0;padding:8px 0 0}.dof-page :is(button,input,textarea):disabled{opacity:.55;cursor:default}@media (width<=1099px){.dof-page-grid{grid-template-columns:1fr;gap:16px}.dof-main{border:0;padding:0}.dof-fulfillment{border-top:1px solid var(--line);padding-top:16px}}@media (width<=650px){.dof-page>.drawer-head,.dof-page>.dof-body{padding:12px}.dof-page-summary{gap:8px;width:100%}.dof-page-summary strong{margin-right:auto}.dof-page .dof-fields{grid-template-columns:1fr;gap:8px}.dof-page .dof-fields>div{grid-template-columns:100px minmax(0,1fr)}.dof-page .dof-shipment-form{grid-template-columns:1fr}.dof-page :is(input,select,button){min-height:44px}.dof-page .dof-device-row{grid-template-columns:58px minmax(0,1fr)}}.cs-tabs{background:var(--panel);border:1px solid var(--line);border-radius:12px;gap:24px;padding:0 22px;display:flex}.cs-tabs button{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:16px 6px;font-weight:500;position:relative}.cs-tabs button[aria-pressed=true]{color:var(--cyan)}.cs-tabs button[aria-pressed=true]:after{content:"";background:var(--cyan);border-radius:3px;height:3px;position:absolute;bottom:0;left:0;right:0}.cs-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}.cs-toolbar{justify-content:space-between;align-items:center;gap:20px;padding:24px;display:flex}.cs-toolbar>div{align-items:center;gap:18px;display:flex}.cs-toolbar h2{margin:0;font-size:20px}.cs-toolbar span{color:var(--muted);font-size:14px}.cs-agents{gap:18px;padding:0 24px 24px;display:grid}.cs-agent{border:1px solid var(--line);border-radius:10px;min-width:0;scroll-margin-top:24px}.cs-agent-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin:0 22px;padding:16px 0;display:flex}.cs-agent-heading h3{margin:0;font-size:18px}.cs-agent-body{grid-template-columns:158px minmax(0,1fr) 176px;gap:28px;padding:22px;display:grid}.cs-avatar-column,.cs-qr-column{flex-direction:column;align-items:center;gap:12px;display:flex}.cs-avatar-column{border-right:1px solid var(--line);padding-right:22px}.cs-qr-column{border-left:1px solid var(--line);padding-left:22px}.cs-label{color:var(--muted);font-size:14px;font-weight:500;display:block}.cs-avatar{border:1px solid var(--line);background:#fff;border-radius:50%;width:88px;height:88px;overflow:hidden}.cs-avatar img{object-fit:cover;width:100%;height:100%}.cs-grid{grid-template-columns:1fr 1fr;gap:24px;display:grid}.cs-fields{flex-direction:column;justify-content:center;gap:26px;min-width:0;display:flex}.cs-grid label{flex-direction:column;gap:12px;min-width:0;font-size:14px;font-weight:500;display:flex}.cs-fields input{box-sizing:border-box;background:var(--panel);border:1px solid var(--line);width:100%;min-width:0;height:40px;color:var(--text);font:inherit;border-radius:8px;padding:10px 14px;font-size:15px;font-weight:400}.cs-fields input::placeholder{color:var(--muted);opacity:.75}.cs-hours>.cs-label{color:var(--text);margin-bottom:12px}.cs-time-range{grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;display:grid}.cs-time-range>span{color:var(--muted);font-size:14px}.cs-image{border:1px solid var(--line);background:#fff;border-radius:8px;width:118px;height:118px;overflow:hidden}.cs-image img{object-fit:contain;width:100%;height:100%}.cs-file{cursor:pointer;color:#168fc1;white-space:nowrap;background:#e7f5fc;border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:9px 12px;font-size:14px;font-weight:500;display:inline-flex;position:relative;overflow:hidden}.cs-file input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.cs-empty-upload{box-sizing:border-box;border:1px dashed var(--line);width:118px;height:118px;color:var(--muted);background:0 0;flex-direction:column;font-weight:400}.cs-empty-upload svg{width:24px;height:24px}.cs-card footer{border-top:1px solid var(--line);justify-content:flex-end;gap:14px;padding:20px 24px;display:flex}.cs-card footer button{min-width:124px}.cs-error{color:var(--red);margin:0}.cs-loading{padding:24px}.customer-service :disabled,.cs-file.is-disabled{opacity:.55;cursor:not-allowed}.customer-service :not(input,select,textarea):focus-visible{outline:2px solid var(--cyan);outline-offset:2px}@media (width<=1100px){.cs-agent-body{grid-template-columns:120px minmax(0,1fr) 140px;gap:18px;padding:18px}.cs-avatar-column{padding-right:12px}.cs-qr-column{padding-left:12px}.cs-grid{gap:14px}.cs-file{padding:8px}.cs-time-range{gap:10px}}@media (width<=760px){.cs-agent-body{grid-template-columns:1fr 1fr}.cs-fields{grid-area:2/1/auto/-1}.cs-avatar-column,.cs-qr-column{border:0;padding:0}.cs-toolbar,.cs-agents{padding:16px}.cs-toolbar h2{font-size:18px}.cs-toolbar>div{gap:10px}.cs-toolbar span{font-size:12px}.cs-grid{grid-template-columns:1fr}.cs-card footer{padding:16px}}.resource-users .resource-table{table-layout:fixed;min-width:1525px}.resource-users .resource-table td:first-child{font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}.resource-users .resource-table col:first-child{width:112px!important}.resource-users .resource-table col:nth-child(2){width:60px!important}.resource-users .resource-table col:nth-child(3){width:90px!important}.resource-users .resource-table col:nth-child(4),.resource-users .resource-table col:nth-child(5),.resource-users .resource-table col:nth-child(6),.resource-users .resource-table col:nth-child(7){width:120px!important}.resource-users .resource-table col:nth-child(8){width:140px!important}.resource-users .resource-table col:nth-child(9){width:70px!important}.resource-users .resource-table col:nth-child(10){width:100px!important}.resource-users .resource-table col:nth-child(11),.resource-users .resource-table col:nth-child(12){width:70px!important}.resource-users .resource-table col:nth-child(13){width:60px!important}.resource-users .resource-table col:nth-child(14){width:190px!important}.resource-users .resource-table td.row-actions{white-space:nowrap}.resource-users .user-row-operations{grid-template-columns:1fr 1fr;gap:6px;width:150px;max-width:100%;margin-inline:auto;display:grid}.resource-users .user-row-operations .user-identity-action{text-align:left;grid-column:1/-1}.resource-users .unified-filter{grid-template-columns:minmax(260px,2.8fr) minmax(130px,.9fr) minmax(110px,.8fr) minmax(110px,.8fr) 80px 80px}@media (width<=1200px){.resource-users .unified-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-users .unified-filter .filter-keyword{grid-column:1/-1}.resource-users .unified-filter .filter-range{grid-column:auto}}@media (width<=600px){.resource-users .unified-filter .filter-keyword,.resource-users .unified-filter .filter-range{grid-column:1/-1}}.user-editor{background:var(--panel);width:min(880px,94vw);max-height:90vh;box-shadow:var(--shadow);color:var(--text);border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.user-editor header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:24px 30px;display:flex}.user-editor h2{margin:0;font-size:24px}.user-editor h3{margin:0 0 18px;font-size:17px}.user-editor form{flex-direction:column;min-height:0;display:flex}.user-editor-body{padding:26px 30px;overflow-y:auto}.user-editor-body section+section{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.user-form-grid{grid-template-columns:1fr 1fr;gap:20px 24px;display:grid}.user-assets-grid{grid-template-columns:repeat(3,1fr)}.user-devices{margin-top:20px}.user-form-grid label{color:var(--muted);flex-direction:column;gap:9px;min-width:0;font-size:14px;display:flex}.user-form-grid input,.user-form-grid select{box-sizing:border-box;border:1px solid var(--line);background:var(--panel);width:100%;min-width:0;height:40px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;border-radius:9px;padding:0 13px}.user-form-grid input:disabled,.user-form-grid select:disabled{background:var(--surface);color:var(--muted)}.user-editor footer{border-top:1px solid var(--line);justify-content:flex-end;gap:12px;padding:20px 30px;display:flex}.user-editor-error{color:var(--red);margin:20px 0 0}@media (width<=650px){.user-form-grid,.user-assets-grid{grid-template-columns:1fr}.user-editor header,.user-editor-body,.user-editor footer{padding:18px}}.user-identity-setting{margin-bottom:8px;font-size:15px;font-weight:600;display:block}.user-editor #business-identity{border:1px solid var(--line);background:var(--panel);width:164px;max-width:100%;height:40px;color:var(--text);font:inherit;border-radius:8px;padding:0 10px}.user-editor #business-identity:disabled{background:var(--surface);color:var(--muted)}.user-editor #business-identity-error{margin-top:6px}.refund-filters input,.refund-filters select,.refund-dialog input:not([type=checkbox]),.refund-dialog select{box-sizing:border-box;border:1px solid var(--line);width:100%;min-width:0;height:40px;color:var(--text);font:inherit;background:#fff;border-radius:8px;padding:0 12px}.refund-date-range{align-items:center;gap:8px;display:flex}.refund-badge{white-space:nowrap;border-radius:6px;padding:5px 12px;font-size:13px;display:inline-block}.refund-badge.pending{color:#986010;background:#fff0cc}.refund-badge.approved,.refund-badge.recorded{color:#187b9b;background:#e5f4fc}.refund-badge.paid{color:#238461;background:#e5f6ee}.refund-badge.rejected{color:#bb4354;background:#fce9ea}.refund-badge.cancelled{color:#768399;background:#eef1f5}.refund-review td small{color:var(--muted);margin-top:5px;display:block}.refund-empty{text-align:center;height:220px;color:var(--muted)}.refund-list-footer{align-items:center;gap:12px;padding:12px 16px;display:flex}.refund-list-footer small{color:var(--muted);margin-right:auto}.refund-dialog{box-sizing:border-box;width:min(1100px,94vw);max-height:92vh;box-shadow:var(--shadow);color:var(--text);background:#fff;border-radius:14px;padding:24px;overflow-y:auto}.refund-dialog header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.refund-dialog header>div{align-items:center;gap:18px;display:flex}.refund-dialog h3{margin:0 0 18px;font-size:17px}.refund-dialog h4{color:var(--muted);margin:20px 0 12px;font-size:14px;font-weight:500}.refund-detail-grid{grid-template-columns:1fr 1fr;gap:44px;display:grid}.refund-dialog dl{grid-template-columns:100px 1fr;gap:14px 12px;margin:0;font-size:14px;display:grid}.refund-dialog dt{color:var(--muted)}.refund-dialog dd{overflow-wrap:anywhere;margin:0}.refund-evidence{flex-wrap:wrap;gap:12px;display:flex}.refund-evidence img{object-fit:cover;border-radius:8px;width:110px;height:94px}.refund-image-placeholder{color:var(--muted);background:#edf5fb;border-radius:8px;justify-content:center;align-items:center;padding:25px;font-size:13px;display:flex}.refund-info-note{color:#51758a;background:#eaf6fd;border-radius:8px;margin:20px 0;padding:14px;font-size:13px;line-height:1.7}.refund-dialog textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--line);width:100%;min-height:90px;font:inherit;border-radius:8px;margin:12px 0;padding:12px;display:block}.refund-approved-input{align-items:center;gap:16px;font-size:14px;display:flex}.refund-approved-input input{flex:1}.refund-notify{color:#1984a8;font-size:13px}.refund-history{color:var(--muted);margin-top:18px;font-size:12px;line-height:1.7}.refund-dialog footer small{color:var(--muted);margin-right:auto}.refund-error{color:#b93f51;line-height:1.6}.refund-payment-record,.refund-payment-form{background:#f7fafc;border-radius:10px;margin-top:24px;padding:20px}.refund-payment-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.refund-payment-grid label{gap:8px;font-size:14px;display:grid}.refund-dialog button:disabled{opacity:.5;cursor:default}.refund-dialog .muted{color:var(--muted);font-size:13px;line-height:1.7}.refund-review{display:block}.refund-review .table-meta{margin:14px 0}.refund-review .resource-table{table-layout:auto;min-width:1050px}.refund-dialog footer{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:12px;margin-top:24px;padding-top:18px;display:flex}.refund-dialog header .icon-button{background:0 0}.refund-dialog footer .danger-button{color:#dc3545;font:inherit;background:#fff;border:1px solid #ef5362;border-radius:8px;padding:10px 18px}.refund-review,.refund-dialog{--accent:var(--cyan);font-family:PingFang SC,Microsoft YaHei,ui-sans-serif,system-ui,-apple-system,sans-serif}.refund-review input,.refund-review select,.refund-review button,.refund-review table,.refund-dialog input,.refund-dialog textarea,.refund-dialog select,.refund-dialog button{font-family:inherit}.refund-review input[type=date]::-webkit-datetime-edit{font-family:inherit}.refund-single-page{border-radius:12px;width:min(1100px,94vw);padding:0}.refund-single-page>header .icon-button{background:var(--surface);color:var(--muted);border:0;border-radius:8px;width:38px;height:38px;font-size:26px}.refund-product img,.refund-product-placeholder{object-fit:contain;background:#f1f5f9;border-radius:10px;flex-shrink:0;width:84px;height:84px}.refund-product-placeholder{color:var(--muted);place-items:center;font-size:14px;display:grid}.refund-product p{color:var(--muted);margin:8px 0 0;font-size:13px}.refund-single-page dd{text-align:right}.refund-user-id{color:var(--muted);margin-top:2px;font-size:12px;display:block}.refund-order-status{color:var(--cyan);background:#eaf5fb;border-radius:5px;padding:4px 10px;font-size:12px}.refund-request-info dd{text-align:left}.refund-single-page h4{margin-top:18px}.refund-single-page .refund-evidence img{width:72px;height:72px}.refund-single-page fieldset{border:0;min-width:0;margin:0;padding:0}.refund-single-page legend{margin-bottom:14px;padding:0;font-size:14px}.refund-choice.is-selected{border-color:var(--cyan);color:var(--cyan);background:#edf8fc}.refund-single-page .refund-choice input[type=radio]{appearance:auto;width:16px;min-width:16px;height:16px;accent-color:var(--cyan);margin:0;padding:0}.refund-field small{color:var(--muted);font-size:12px;font-weight:400}.refund-field .admin-input-unit > input { height: 32px; }
.refund-single-page .refund-error:empty{display:none}.refund-result-hint{color:var(--muted);text-align:center;margin:12px 0 0;font-size:12px}.refund-reviewed-result>dl{margin-top:26px}.refund-reviewed-result>p{margin-top:22px}.refund-single-page button:focus-visible,.refund-choice:focus-within{outline:2px solid var(--cyan);outline-offset:3px}.refund-review.resource-page .resource-table th,.refund-review.resource-page .resource-table td{text-align:left;vertical-align:middle;font-variant-numeric:tabular-nums;padding:8px 12px}.refund-review .resource-table th{font-weight:500}.refund-review .table-wrap{border-radius:12px}.refund-filters label{color:#52647c;gap:8px;min-width:0;font-size:12px;display:grid}.refund-filters input,.refund-filters select{height:38px;font:inherit;box-sizing:border-box}.refund-filters>button{height:38px}.refund-date-range label{flex:1}.refund-date-range>span{align-self:end;line-height:32px}.refund-review .resource-table .review-user-avatar{background:#e4f4fc;border:1px solid #c6e7f3;border-radius:6px;width:32px;height:32px;padding:0;display:flex}.refund-review .refund-filters>button{height:38px;min-height:38px;padding-top:0;padding-bottom:0}.refund-review .refund-list-footer{justify-content:flex-end}.refund-filters{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:minmax(230px,2fr) minmax(130px,1fr) minmax(290px,1.6fr) 95px 95px;align-items:end;gap:8px;padding:12px;display:grid}.refund-filters input,.refund-filters select,.refund-review .refund-filters>button{height:32px;min-height:32px}.refund-review .resource-table td{box-sizing:border-box;max-width:none;height:56px;padding:8px 12px;font-size:14px}.refund-single-page>header{border-bottom:1px solid var(--line);margin:0;padding:16px}.refund-dialog h2{margin:0;font-size:20px}.refund-single-page .refund-detail-grid{grid-template-columns:1.05fr 1fr;gap:16px;padding:16px}.refund-single-page h3{margin-bottom:12px;font-size:16px}.refund-review-panel{border-left:1px solid var(--line);padding-left:16px}.refund-product{align-items:center;gap:12px;margin-bottom:16px;display:flex}.refund-product strong{font-size:16px;line-height:1.5}.refund-single-page dl{grid-template-columns:96px minmax(0,1fr);gap:12px;line-height:1.5}.refund-request-info{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.refund-decision-options{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;display:grid}.refund-choice{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:10px;height:36px;font-size:14px;display:flex}.refund-field{margin:0 0 12px;font-size:14px;display:block}.refund-field>span{justify-content:space-between;margin-bottom:8px;display:flex}.refund-single-page textarea{min-height:112px;margin:0;line-height:1.6}.refund-formula{color:var(--muted);margin:-4px 0 16px;font-size:13px;line-height:1.6}.refund-single-page .refund-confirm{background:var(--cyan);color:#fff;cursor:pointer;border:0;border-radius:8px;width:100%;height:32px;font-size:14px}.refund-filters label>span{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1000px){.refund-filters{grid-template-columns:1fr 1fr;gap:8px;padding:12px}.refund-date-range{grid-column:1/-1}.refund-detail-grid,.refund-payment-grid{grid-template-columns:1fr}.refund-list-footer{flex-wrap:wrap}.refund-list-footer small{width:100%}}@media (width<=760px){.refund-single-page .refund-detail-grid{grid-template-columns:1fr;gap:16px;padding:16px}.refund-review-panel{border-left:0;border-top:1px solid var(--line);padding:24px 0 0 16px}.refund-single-page h2{font-size:20px}.refund-single-page .refund-detail-grid{gap:20px;padding:20px}.refund-review-panel{padding:20px 0 0}.refund-single-page>header{padding:16px 20px}}@media (pointer:coarse){.refund-filters input,.refund-filters select,.refund-review .refund-filters>button,.refund-choice,.refund-single-page .refund-confirm{min-height:44px}}@media (width<=760px){.refund-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:12px}.refund-date-range{grid-column:1/-1}.refund-date-range input,.refund-filters>label{min-width:0}.refund-review .resource-table{width:100%;min-width:0;display:block}.refund-review .resource-table thead{display:none}.refund-review .resource-table tbody{gap:12px;padding:12px;display:grid}.refund-review .resource-table tr{border:1px solid var(--line);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;padding:12px;display:grid}.refund-review.resource-page .resource-table td{text-align:left;white-space:normal;overflow-wrap:anywhere;border:0;min-width:0;height:auto;font-size:14px;line-height:22px;display:block;padding:0!important}.refund-review .resource-table td:first-child{grid-area:1/1}.refund-review .resource-table td:nth-child(5){text-align:left;grid-area:1/2;font-weight:600}.refund-review .resource-table td:nth-child(2){grid-area:2/1}.refund-review .resource-table td:nth-child(7){text-align:left;grid-area:2/2}.refund-review .resource-table td:nth-child(3){grid-area:3/1/auto/-1}.refund-review .resource-table td:nth-child(4){grid-area:4/1}.refund-review .resource-table td:nth-child(4):before{content:"实付 ";color:var(--muted)}.refund-review .resource-table td:nth-child(6){color:var(--muted);grid-area:5/1;font-size:14px}.refund-review .resource-table td:nth-child(8){text-align:left;grid-area:4/2/6;align-self:center}.refund-review .review-user{text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;font-size:14px}.refund-review .resource-table .review-user-avatar{flex-shrink:0;width:44px;height:44px;min-height:44px}.refund-review .resource-table td.refund-empty{text-align:center;grid-area:auto/1/auto/-1;padding:24px}.refund-review .table-wrap{overflow:visible}.refund-single-page .refund-detail-grid{gap:16px;padding:16px}.refund-review-panel{padding:16px 0 0}}@media (pointer:coarse){.refund-filters input,.refund-filters select,.refund-review .refund-filters>button,.refund-choice,.refund-single-page .refund-confirm{min-height:44px}}
.rebate-dialog{width:min(900px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:12px;box-shadow:var(--shadow);color:var(--text);font-family:inherit}
.rebate-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}
.rebate-header>div{display:flex;gap:16px;align-items:center}.rebate-header h2{margin:0;font-size:18px;font-weight:600}

.rebate-body{overflow-y:auto;padding:20px}.rebate-summary{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:#edf7fb;border-radius:10px;margin-bottom:24px}.rebate-summary span,.rebate-summary small{display:block;color:var(--muted);font-size:13px}.rebate-summary strong{display:block;margin:4px 0;font-size:32px;line-height:1.25;font-weight:500;color:var(--cyan);font-variant-numeric:tabular-nums}.rebate-scope{padding-left:24px;border-left:1px solid #cddfe9}.rebate-scope b{font-size:14px;font-weight:500}.rebate-scope p{margin:8px 0 0;font-size:13px;line-height:1.7;color:var(--muted)}
.rebate-detail-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:32px}.rebate-dialog h3{margin:0 0 16px;font-size:15px;font-weight:500}.rebate-detail-grid dl{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px 12px;margin:0;font-size:13px}.rebate-detail-grid dt{color:var(--muted)}.rebate-detail-grid dd{margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.rebate-reference{margin:14px 0 0;color:var(--muted);font-size:12px}
.rebate-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:16px 18px;margin:24px 0;background:var(--surface);border-radius:8px}.rebate-checks div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.rebate-checks span{color:var(--muted)}.rebate-checks b{font-weight:500}.rebate-checks .normal{color:#238461}.rebate-checks .attention{color:#986010}
.rebate-opinion-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.rebate-opinion-heading label{font-size:15px;font-weight:500}.rebate-opinion-heading small{font-size:12px;color:var(--muted)}.rebate-dialog textarea{display:block;box-sizing:border-box;width:100%;height:90px;min-height:70px;resize:vertical;margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:13px;color:var(--text);background:white}.rebate-dialog textarea::placeholder{color:#8a97a7}.rebate-result p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.rebate-result small{color:var(--muted)}
.rebate-footer{display:flex;gap:12px;align-items:center;padding:12px 20px;border-top:1px solid var(--line);background:#fff}.rebate-footer small{margin-right:auto;color:var(--muted);font-size:12px}.rebate-footer button{font:inherit;font-size:14px;height:32px;border-radius:8px;padding:0 18px;cursor:pointer;white-space:nowrap}.rebate-footer .primary-button{box-shadow:none;background:var(--cyan)}.rebate-dialog button:disabled{opacity:.55;cursor:wait}.rebate-dialog button:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
@media(max-width:650px){.rebate-header,.rebate-body,.rebate-footer{padding:18px}.rebate-header h2{font-size:19px}.rebate-detail-grid{grid-template-columns:1fr;gap:24px}.rebate-summary{padding:16px;gap:16px}.rebate-scope{padding-left:16px}.rebate-summary strong{font-size:28px}.rebate-checks{grid-template-columns:1fr;gap:12px}.rebate-footer{flex-wrap:wrap;justify-content:flex-end}.rebate-footer small{width:100%}.rebate-footer button{padding:0 12px}.rebate-opinion-heading{align-items:flex-start;flex-direction:column;gap:4px}}
.rebate-review .ord-filters .rebate-queue{width:min(256px,100%);flex:none;max-width:none}
.rebate-review .ord-filters .rebate-queue select{width:100%}
.rebate-filters .rebate-keyword{width:min(160px,100%)}
.rebate-filters .rebate-dates{display:flex;align-items:center;gap:8px;color:var(--muted)}
.rebate-review .rebate-filters .rebate-dates>label{width:142px;max-width:none;flex:none;min-width:0}
.rebate-error{padding:0 14px;color:var(--red);font-size:13px}
.rebate-table-scroll{overflow-x:auto}
.rebate-table-scroll:focus-visible{outline:2px solid var(--cyan);outline-offset:-2px}
.rebate-review .rebate-records-table{width:100%;min-width:920px;table-layout:auto;border-collapse:collapse;font-size:14px}
.rebate-review .rebate-records-table :is(th,td){position:static;left:auto;z-index:auto;box-shadow:none;padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:normal;font-weight:400}
.rebate-review .rebate-records-table th{padding-block:7px;background:#f8fafc;color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap}
.rebate-review .rebate-records-table tr:last-child td{border-bottom:0}
.rebate-review .rebate-records-table tbody tr:hover td{background:#fafbfc}
.rebate-sort-arrow{color:var(--cyan)}
.rebate-user{display:flex;align-items:center;gap:8px}
.rebate-user>span{overflow-wrap:anywhere}
.rebate-review .rebate-user-avatar{display:grid;place-items:center;width:28px;height:28px;flex:none;min-height:0;padding:0;border:0;border-radius:6px;background:var(--surface);color:var(--muted);overflow:hidden}
.rebate-user-avatar img{width:100%;height:100%;object-fit:cover}
.rebate-review .rebate-records-table .rebate-empty{padding:28px 14px;text-align:center;color:var(--muted)}
.rebate-review .rebate-pager{justify-content:space-between;flex-wrap:wrap}
.rebate-pager nav{display:flex;align-items:center;gap:10px;margin-left:auto;white-space:nowrap}
@media(max-width:1000px){
 .rebate-review .rebate-records-table{min-width:0;display:block}
 .rebate-records-table thead{display:none}
 .rebate-records-table tbody{display:block}
 .rebate-records-table tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px;border-bottom:1px solid var(--line)}
 .rebate-records-table tbody>tr:last-child{border-bottom:0}
 .rebate-review .rebate-records-table tbody td{display:block;min-width:0;border:0;padding:0;overflow-wrap:anywhere}
 .rebate-review .rebate-records-table td[data-label]:before{content:attr(data-label);display:block;margin-bottom:2px;color:var(--muted);font-size:12px}
 .rebate-records-table td[data-label="商品名"],.rebate-records-table td[data-label="操作"],.rebate-empty{grid-column:1/-1}
}
@media(max-width:650px){
 .rebate-review .ord-filters .rebate-queue,.rebate-filters .rebate-dates{width:100%}
 .rebate-filters .rebate-keyword,.rebate-review .rebate-filters .rebate-dates>label{width:auto;flex:1;min-width:0}
 .rebate-review .ord-filters :is(input,select){height:44px}
 .rebate-footer .ghost-button{min-height:44px}
}

.ord-page{min-width:0;font-size:14px;line-height:1.45}.ord-workspace{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0}.ord-filters{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:12px 14px;display:flex}.ord-filters label{min-width:0;margin:0;display:block}.ord-filters label>span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ord-filters label:first-child{width:320px;max-width:40%}.ord-filters input,.ord-filters select{width:100%;min-width:0;height:32px;color:var(--text);background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:5px 10px;font-family:inherit;font-size:14px;line-height:20px}.ord-filters select{width:144px}.ord-page .ord-filters button,.ord-page .ord-pager button{border-radius:8px;height:32px;min-height:32px;padding:5px 12px;font-size:13px;line-height:20px}.ord-result-count{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:12px}.ord-table-wrap{min-width:0}.ord-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:14px;line-height:1.45}.ord-table th,.ord-table td{z-index:auto;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;overflow-wrap:anywhere;padding:8px 10px;font-weight:400;left:auto;overflow:visible;box-shadow:none!important;white-space:normal!important;position:static!important}.ord-table th{color:var(--muted);background:#f8fafc;padding-block:7px;font-size:12px;font-weight:500}.ord-table th:first-child{width:16%}.ord-table th:nth-child(2){width:15%}.ord-table th:nth-child(3){width:22%}.ord-table th:nth-child(4){width:11%}.ord-table th:nth-child(5){width:12%}.ord-table th:nth-child(6){width:9%}.ord-table th:nth-child(7){width:15%}.ord-table tbody tr:last-child td{border-bottom:0}.ord-table tbody tr:hover td{background:#fafbfc}.ord-number{color:#1d4ed8;overflow-wrap:anywhere;font-weight:500;text-decoration:none}.ord-number:hover{text-decoration:underline}.ord-secondary{color:var(--muted);margin-top:2px;font-size:12px;line-height:18px;display:block}.ord-person{max-width:100%;color:var(--text);font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:0;display:flex}.ord-person>span:last-child{min-width:0}.ord-person .person-avatar{border-radius:6px;width:28px;height:28px}.ord-person-name{overflow-wrap:anywhere;font-weight:400}.ord-person[type=button]{cursor:pointer}.ord-person[type=button]:hover .ord-person-name{color:var(--cyan)}.ord-product{flex-wrap:wrap;align-items:baseline;gap:2px 8px;display:flex}.ord-product>span:first-child{overflow-wrap:anywhere;min-width:0}.ord-product-qty{color:var(--muted);white-space:nowrap;font-size:12px}.ord-table .numeric{text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap!important}.ord-money{font-weight:500!important}.ord-state{flex-wrap:wrap;align-items:center;gap:4px 6px;display:flex}.ord-state .ord-secondary{margin:0;display:inline}.ord-status{color:#475467;white-space:nowrap;background:#f2f4f7;border-radius:4px;padding:2px 6px;font-size:12px;line-height:18px;display:inline-block}.ord-status-paid,.ord-status-shipped{color:#1d4ed8;background:#eff6ff}.ord-status-completed,.ord-status-delivered{color:#067647;background:#ecfdf3}.ord-carrier{overflow-wrap:anywhere;display:block}.ord-waybill{color:var(--muted);margin-top:2px;font-size:12px}.ord-waybill summary{cursor:pointer;width:fit-content}.ord-tracking{white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;display:block}.ord-actions{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.ord-table .mall-item-operations{width:auto;min-width:0;display:contents}.ord-relations{color:var(--muted);margin:0;font-size:12px;position:relative}.ord-relations>summary{cursor:pointer;border-radius:4px;place-items:center;width:26px;height:28px;list-style:none;display:grid}.ord-relations>summary::-webkit-details-marker{display:none}.ord-relations>summary:hover,.ord-relations[open]>summary{color:#1d4ed8;background:#eff3f8}.ord-relations[open]>div{z-index:20;width:268px;max-width:calc(100vw - 48px);color:var(--text);background:#fff;border:1px solid #d0d5dd;border-radius:8px;gap:12px;padding:14px;display:grid;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 6px 18px #10182818}.ord-relations dl{gap:6px;margin:0;display:grid}.ord-relations dl>div{grid-template-columns:68px 1fr;gap:8px;display:grid}.ord-relations dt,.ord-relations dd{margin:0}.ord-relations dt,.ord-relations>div>div>span{color:var(--muted)}.ord-relations .ord-person{margin-top:4px}.ord-empty{color:var(--muted);text-align:center!important;padding:32px 16px!important}.ord-pager{border-top:1px solid var(--line);color:var(--muted);justify-content:flex-end;align-items:center;gap:10px;padding:10px 14px;font-size:12px;display:flex}@media (width<=1100px){.ord-table thead{display:none}.ord-table,.ord-table tbody{display:block}.ord-table tbody>tr{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 116px;gap:4px 12px;padding:12px;display:grid}.ord-table tbody>tr:last-child{border-bottom:0}.ord-table td{border:0;min-width:0;padding:0;display:block;text-align:left!important}.ord-table td:before{display:none}.ord-table td[data-label=订单]{grid-area:1/1}.ord-table td[data-label=状态]{grid-area:1/2;text-align:left!important}.ord-state{justify-content:flex-start}.ord-table td[data-label=买家]{grid-area:2/1}.ord-table td[data-label=金额]{grid-area:2/2;align-self:center;text-align:left!important}.ord-table td[data-label=商品]{grid-area:3/1/auto/-1}.ord-table td[data-label=物流]{grid-area:4/1;align-self:center}.ord-table td[data-label=物流][data-empty=true]{display:none}.ord-table td[data-label=操作]{grid-area:5/1/auto/-1}.ord-table tr:has(td[data-empty=true]) td[data-label=操作]{grid-row:4}.ord-actions{justify-content:flex-start}.ord-relations{margin-left:auto}.ord-person .ord-secondary{margin-left:8px;display:inline}.ord-person .person-avatar{width:26px;height:26px}.ord-filters label:first-child{flex:1;min-width:200px;max-width:none}}@media (width<=650px){.ord-filters{gap:8px;padding:10px}.ord-filters label:first-child{flex-basis:100%;min-width:0}.ord-filters label:nth-child(2){flex:1}.ord-filters select{width:100%}.ord-filters input,.ord-filters select{height:40px}.ord-page .ord-filters button,.ord-page .ord-pager button{height:44px;min-height:44px}.ord-result-count{display:none}.ord-table .mall-item-operations button,.ord-relations>summary,.ord-person[type=button]{min-height:44px}.ord-relations>summary{width:36px}.ord-pager{justify-content:space-between;padding:8px 10px}.ord-table td[data-label=订单] .ord-number{font-size:14px}}
@media (min-width:1201px) {
  .unified-filter[data-auto-filter]:not(.dm-filters) {
    grid-template-columns: repeat(var(--keyword-count,1), minmax(190px,1fr)) repeat(var(--range-count,0), minmax(150px,.75fr)) auto;
  }
  .resource-users .unified-filter[data-auto-filter] {
    grid-template-columns: minmax(260px,2.8fr) minmax(130px,.9fr) minmax(110px,.8fr) auto;
  }
  .withdrawal-filters[data-auto-filter] {
    grid-template-columns: minmax(140px,1fr) minmax(140px,1fr) minmax(130px,1fr) minmax(150px,1fr) auto;
  }
  .refund-filters[data-auto-filter] {
    grid-template-columns: minmax(230px,2fr) minmax(130px,1fr) minmax(290px,1.6fr) auto;
  }
}

/* Common table actions and compact controls in the admin workspace. */
.main-view :is(.text-button, .row-actions button, .merchant-row-operations button) {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--cyan);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}
.main-view .row-actions > button + button { margin-inline-start: 8px; }
.main-view :is(.text-button, .row-actions button, .merchant-row-operations button).danger-link { color: #b42318; }
.main-view :is(.text-button, .row-actions button, .merchant-row-operations button):hover:not(:disabled) {
  background: transparent;
  text-decoration: underline;
  filter: none;
}
.main-view :is(.text-button, .row-actions button, .merchant-row-operations button, .ord-relations > summary):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.main-view :is(.text-button, .row-actions button, .merchant-row-operations button):disabled {
  opacity: .5;
  cursor: not-allowed;
}
.main-view .op-table td:last-child .text-button { margin-inline-end: 8px; }
.main-view .online-play-admin :is([data-form="opSearch"] input, [data-form="opMode"] select) {
  min-width: 0;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #d0d5dd;
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--text);
  font: inherit;
}
.main-view .online-play-admin [data-form="opSearch"] input { width: min(320px, 100%); }

@media (max-width:650px), (pointer:coarse) {
  .main-view :is(.text-button, .row-actions button, .merchant-row-operations button, .ord-relations > summary) {
    min-width: 44px;
    min-height: 44px;
  }
  .main-view .online-play-admin :is([data-form="opSearch"] input, [data-form="opMode"] select) {
    min-height: 44px;
  }
}

@media(min-width:701px){.dm-basic-grid:has(select[name="status"]){grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}}

/* Compact list summaries use one layout, including when an item is a filter. */
.admin-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px 0;
  min-width: 0;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.admin-stats-panel {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.admin-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 26px;
  max-width: 100%;
  padding: 0 16px;
}
button.admin-stat-item {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.admin-stat-item:not(:last-child) { border-inline-end: 1px solid var(--line); }
button.admin-stat-item:is([aria-pressed="true"], :hover) .admin-stat-label { color: var(--cyan); }
button.admin-stat-item:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.admin-stat-label { color: var(--muted); font-size: var(--font-caption); line-height: 16px; font-weight: 400; }
.admin-stat-value {
  color: var(--text);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
@media (max-width: 620px) {
  .admin-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-stat-item { flex-wrap: wrap; align-content: center; gap: 0 8px; padding-inline: 12px; }
  .admin-stat-item:not(:last-child):nth-child(2n) { border-inline-end-color: transparent; }
  button.admin-stat-item { min-height: 44px; }
}

.main-view>.admin-stats:has(+ .dm-page){border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;background:var(--panel)}
.admin-stats+.dm-page{border-radius:0 0 12px 12px}
.admin-input-unit {
  display: inline-flex;
  align-items: stretch;
  min-inline-size: 0;
  max-inline-size: 100%;
  border-radius: 8px;
}
.admin-input-unit > :is(input, .admin-input-unit-label) {
  border: 1px solid var(--line);
  border-radius: inherit;
}
.admin-input-unit > input { flex: 1 1 auto; min-inline-size: 0; }
.admin-input-unit > :first-child:not(:last-child) { border-start-end-radius: 0; border-end-end-radius: 0; }
.admin-input-unit > :last-child:not(:first-child) { border-inline-start: 0; border-start-start-radius: 0; border-end-start-radius: 0; }
.admin-input-unit-label {
  display: flex;
  align-items: center;
  padding-inline: 8px;
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}
/* Focus belongs to the field outline, including any unit or search icon. */
:is(input, select, textarea, .admin-select-trigger):not(
  [type=checkbox], [type=radio], [type=hidden], [type=file], [type=range], [type=color],
  [type=button], [type=submit], [type=reset], [type=image],
  .admin-input-unit > input, .admin-field-group > input
):focus,
:is(.admin-input-unit, .admin-field-group):focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 20%, transparent);
  outline: 1px solid transparent;
  outline-offset: 0;
}
.admin-input-unit:focus-within > :is(input, .admin-input-unit-label) { border-color: var(--cyan); }
:is(.admin-input-unit, .admin-field-group) > input:focus { outline: none; box-shadow: none; }
@media (pointer: coarse) { .admin-input-unit > input { min-block-size: 44px; } }
