:root{color-scheme:light;--page-bg:#f4f7fb;--panel-bg:#ffffff;--text-main:#1f2937;--text-muted:#5f6b7a;--line:#d8e0ea;--accent:#1677ff;--accent-soft:#e8f2ff;--success:#15803d;--danger:#b42318;--warning-soft:#fff7e6}*{box-sizing:border-box}body,html{min-height:100%;margin:0}body{background:var(--page-bg);color:var(--text-main);font-family:Inter,Segoe UI,Microsoft YaHei,PingFang SC,Arial,sans-serif}.app-shell{min-height:100vh;padding:32px}.overview-panel{width:min(1180px,100%);margin:0 auto;padding:24px;background:var(--panel-bg);border:1px solid var(--line);border-radius:8px}.overview-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.overview-title{margin:0;font-size:28px;line-height:1.25}.overview-subtitle{max-width:760px;margin:8px 0 0;color:var(--text-muted);line-height:1.7}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:24px}.metric{min-height:92px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fbfcfe}.metric-label{color:var(--text-muted);font-size:13px}.metric-value{margin-top:10px;font-size:24px;font-weight:650}.admin-shell,.auth-shell{min-height:100vh;padding:32px;background:var(--page-bg)}.auth-shell{display:grid;place-items:center}.auth-panel{width:min(420px,100%);padding:28px;background:var(--panel-bg);border:1px solid var(--line);border-radius:8px}.auth-title{margin:0;font-size:26px;line-height:1.3}.admin-subtitle,.auth-subtitle{color:var(--text-muted)}.admin-shell{width:min(1280px,100%);margin:0 auto}.admin-header,.admin-section-title{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;justify-content:space-between}.admin-header{margin-bottom:18px;padding:20px 0 4px;border-bottom:1px solid var(--line)}.admin-title{margin:0;font-size:28px;line-height:1.25}.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:12px;margin-bottom:20px}.admin-metrics .metric{background:linear-gradient(180deg,#ffffff,#f8fbff);box-shadow:0 8px 24px rgba(31,41,55,.05)}.admin-section{padding:20px;background:var(--panel-bg);border:1px solid var(--line);border-radius:8px}.admin-section-title{margin-bottom:16px}.admin-section-title h2{margin:0;font-size:18px}.employee-month-range,.employee-point-current-total,.employee-point-filter-bar{display:flex;flex-wrap:wrap;align-items:center}.employee-point-filter-bar{gap:10px 18px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#f8fafc}.employee-month-range{gap:8px}.employee-month-range .ant-input{width:145px}.employee-point-current-total{gap:6px;color:var(--text-muted);font-size:13px}.employee-point-current-total strong{color:var(--text-main);font-size:18px}.employee-point-filter-divider{width:1px;height:24px;background:var(--line)}.employee-table-point-total{display:flex;gap:5px;align-items:baseline;justify-content:flex-end;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.employee-table-point-total strong{color:var(--accent);font-size:20px}.employee-toolbar{margin-bottom:12px}.employee-advanced-filters,.employee-batch-actions,.employee-toolbar-main{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.employee-advanced-filters{margin-top:8px;padding:10px 12px;background:#f8fafc;border-radius:6px}.employee-batch-actions{margin-top:8px}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:16px;margin-bottom:16px}.action-panel{padding:16px;background:#f8fafc;border:1px solid #e5edf6;border-radius:8px}.action-panel-title{display:flex;gap:8px;align-items:center;margin-bottom:4px}.action-panel-title h3{margin:0;font-size:16px}.action-panel-copy{min-height:42px;margin-bottom:12px;color:var(--text-muted);line-height:1.6}.table-help{display:block;max-width:220px;font-size:12px;line-height:1.45}.supervisor-map{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;min-height:560px}.supervisor-map-main,.supervisor-map-sidebar{min-width:0;padding:14px;background:#f8fafc;border:1px solid #e5edf6;border-radius:8px}.supervisor-node-list{display:flex;flex-direction:column;gap:8px;max-height:500px;margin-top:12px;overflow:auto}.supervisor-member,.supervisor-node{border:1px solid #d9e4f2;background:#ffffff;color:var(--text);cursor:pointer;text-align:left;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.supervisor-node{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 12px;border-radius:8px}.supervisor-member:hover,.supervisor-node:hover{border-color:var(--primary);box-shadow:0 8px 20px rgba(37,99,235,.1)}.supervisor-node-active{border-color:var(--primary);box-shadow:0 0 0 2px rgba(37,99,235,.12)}.supervisor-node-title{display:flex;flex-direction:column;gap:2px;overflow:hidden;font-weight:650;text-overflow:ellipsis}.supervisor-node-title small{overflow:hidden;color:var(--text-muted);font-size:12px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.supervisor-node-count{flex:0 0 auto;color:var(--text-muted);font-size:12px}.supervisor-map-main{display:flex;flex-direction:column;gap:14px}.supervisor-map-root{min-height:440px;overflow:auto}.supervisor-root-card{width:min(360px,100%);margin:0 auto;padding:14px 18px;background:#ffffff;border:1px solid #bdd4f4;border-radius:8px;box-shadow:0 8px 24px rgba(31,41,55,.06);text-align:center}.supervisor-root-label{color:var(--text-muted);font-size:12px}.supervisor-root-name{margin-top:4px;font-size:17px;font-weight:700}.supervisor-root-owner{margin-top:4px;color:var(--text-muted);font-size:13px}.supervisor-branch{width:1px;height:28px;margin:0 auto;background:#bdd4f4}.supervisor-member-grid{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;padding-top:18px;border-top:1px solid #bdd4f4}.supervisor-empty-node{grid-column:1/-1;padding:32px;color:var(--text-muted);background:#ffffff;border:1px dashed #bdd4f4;border-radius:8px;text-align:center}.supervisor-member{display:flex;flex-direction:column;gap:3px;min-height:78px;padding:10px;border-radius:8px}.supervisor-member small,.supervisor-member span{color:var(--text-muted);font-size:12px}.supervisor-member strong{font-size:15px}.supervisor-member-selected{border-color:var(--primary);background:#eff6ff}.supervisor-map-actions{align-items:center;padding-top:12px;border-top:1px solid #e5edf6}.points-plus{color:var(--success);font-weight:650}.points-minus{color:var(--danger);font-weight:650}@media (max-width:860px){.app-shell{padding:16px}.metric-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.admin-shell,.auth-shell{padding:16px}.admin-metrics{grid-template-columns:1fr}.employee-month-range{width:100%}.employee-month-range .ant-input{flex:1 1;width:auto;min-width:0}.employee-point-filter-divider{display:none}.employee-toolbar-main>.ant-input,.employee-toolbar-main>.ant-select{width:100%!important}.action-grid{grid-template-columns:1fr}}@media (max-width:520px){.metric-grid{grid-template-columns:1fr}}.redeem-shell{min-height:100vh;width:min(960px,100%);margin:0 auto;padding:20px;background:#f6f8fb}.redeem-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.redeem-title.ant-typography{margin:0;font-size:24px;line-height:1.25}.redeem-copy{display:block;margin-top:6px;color:var(--text-muted)}.redeem-points{flex:none;margin-top:3px;font-size:14px}.redeem-category-tabs{position:sticky;top:0;z-index:5;margin-bottom:12px;padding:3px;background:#ffffff;border:1px solid #e4eaf2;border-radius:8px}.redeem-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.redeem-product-card{overflow:hidden;min-width:0;background:#ffffff;border:1px solid #e4eaf2;border-radius:8px;box-shadow:0 8px 20px rgba(31,41,55,.06)}.redeem-product-card-disabled{background:#f3f4f6}.redeem-product-card-disabled .redeem-product-desc,.redeem-product-card-disabled .redeem-product-image,.redeem-product-card-disabled .redeem-product-name{filter:grayscale(.88);opacity:.58}.redeem-product-image-wrap{position:relative;width:100%;aspect-ratio:1/1;background:#edf2f7}.redeem-product-image{display:block;width:100%;height:100%;object-fit:cover}.admin-product-visual{display:grid;place-items:center;color:#1e3a8a;font-size:18px;font-weight:750;background-position:50%;background-size:cover;background:radial-gradient(circle at 78% 18%,rgba(255,255,255,.72),transparent 28%),linear-gradient(135deg,#dbeafe,#fef3c7)}.admin-product-visual[style*=background-image]{background-position:50%;background-size:cover}.admin-product-thumb{display:grid;width:42px;height:42px;place-items:center;color:#1e3a8a;font-size:12px;font-weight:700;background:radial-gradient(circle at 78% 18%,rgba(255,255,255,.72),transparent 28%),linear-gradient(135deg,#dbeafe,#fef3c7);background-position:50%;background-size:cover;border:1px solid #d8e0ea;border-radius:6px}.product-image-upload-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.product-image-upload-actions .ant-upload{width:100%}.product-image-upload-dragger{display:block}.restock-alert-modal .ant-modal-content{border:2px solid #faad14;box-shadow:0 18px 48px rgba(180,83,9,.22)}.restock-alert-modal .ant-modal-confirm-title,.restock-alert-modal .ant-modal-title{color:#92400e;font-size:20px}.redeem-product-badge{position:absolute;top:6px;right:6px;padding:2px 7px;color:#ffffff;font-size:12px;font-weight:650;background:rgba(31,41,55,.82);border-radius:8px}.redeem-product-body{display:flex;min-height:138px;flex-direction:column;gap:6px;padding:9px}.redeem-product-name{min-height:36px;color:var(--text-main);font-size:13px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}.redeem-product-desc{min-height:32px;color:var(--text-muted);font-size:11px;line-height:1.45;overflow:hidden}.redeem-product-meta{min-height:22px}.redeem-product-price{color:#b42318;font-size:14px;font-weight:750}.redeem-product-status{min-height:20px;color:var(--text-muted);font-size:12px;line-height:1.45}@media (max-width:620px){.product-image-upload-actions{grid-template-columns:1fr}.product-image-upload-dragger{display:none}.redeem-shell{padding:10px}.redeem-header{align-items:center;flex-direction:row;margin-bottom:10px}.redeem-title.ant-typography{font-size:20px}.redeem-copy{margin-top:2px;font-size:12px}.redeem-category-tabs .ant-segmented-item-label{min-height:30px;padding:0 6px;font-size:12px;line-height:30px}.redeem-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.redeem-product-body{min-height:126px;gap:4px;padding:7px}.redeem-product-name{min-height:32px;font-size:12px}.redeem-product-desc{min-height:28px;font-size:10px}.redeem-product-price{font-size:13px}.redeem-product-status{font-size:11px}}