
*{box-sizing:border-box;margin:0;padding:0}
:root{
  --blue:#2E6BFF;--blue-deep:#1E56E0;--blue-soft:#E8F0FF;
  --navy:#0B1A33;--bg:#F4F7FC;--card:#FFFFFF;
  --ink:#0F1E37;--sub:#7C89A2;--line:#E9EEF7;
  --green:#16A45C;--green-soft:#E4F7EC;
  --orange:#F07A12;--orange-soft:#FFF0E2;
  --red:#E04343;--red-soft:#FDECEC;
  --purple:#7357F6;--purple-soft:#EFEBFF;
  --radius:18px;
  --shadow:0 6px 22px rgba(23,58,122,.06);
  --shadow-lg:0 14px 40px rgba(23,58,122,.10);
}
html,body{min-height:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
img{display:block}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-thumb{background:#D8E0EE;border-radius:3px}
::-webkit-scrollbar-track{background:transparent}

/* ---------- 通用 ---------- */
.card{background:var(--card);border:1px solid rgba(233,238,247,.9);border-radius:var(--radius);box-shadow:var(--shadow)}
.muted{color:var(--sub);font-size:13px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:none;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:600;cursor:pointer;transition:background .16s,transform .08s,opacity .16s;white-space:nowrap;line-height:1.2}
.btn:active{transform:scale(.97)}
.btn[disabled]{opacity:.45;pointer-events:none}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 6px 14px rgba(46,107,255,.24)}
.btn-primary:hover{background:var(--blue-deep)}
.btn-ghost{background:#F2F5FB;color:#3A4A66}
.btn-ghost:hover{background:#E8EDF7}
.btn-ok{background:var(--green);color:#fff}
.btn-danger{background:var(--red-soft);color:var(--red)}
.btn-danger:hover{background:#FBDCDC}
.btn-sm{padding:7px 12px;font-size:12.5px;border-radius:9px}
.btn-block{width:100%}
.btn .ic{width:15px;height:15px}
.btn > svg{width:15px;height:15px;flex-shrink:0}
.icon-btn{background:none;border:none;cursor:pointer;color:var(--sub);width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}
.icon-btn:hover{background:#F1F4FA}
.pill{display:inline-flex;align-items:center;font-size:11px;font-weight:600;padding:4px 10px;border-radius:999px;line-height:1.4;white-space:nowrap}
.pill.blue{background:#E8F0FF;color:#2E6BFF}
.pill.green{background:#E4F7EC;color:#12924F}
.pill.orange{background:#FFF0E2;color:#D9720A}
.pill.red{background:#FDECEC;color:#D63B3B}
.pill.gray{background:#F1F4F9;color:#7C87A0}
.badge{display:inline-flex;font-size:10.5px;font-weight:700;padding:3px 8px;border-radius:6px;line-height:1.5}
.badge.daily{background:#FFF0E2;color:#D9720A}
.badge.once{background:#E8F0FF;color:#2E6BFF}
.badge.soft{background:#F1F4F9;color:#68758E}
.empty{padding:44px 20px;text-align:center;color:#96A2B8;font-size:13px}
.empty .ico{font-size:34px;margin-bottom:10px;opacity:.7}
.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}
.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#3D8BFF,#7FB0FF);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.avatar.gray{background:#E9EDF5;color:#5A6780}
.spin{width:22px;height:22px;border:2.5px solid #DCE4F2;border-top-color:var(--blue);border-radius:50%;animation:sp .7s linear infinite;margin:36px auto}
@keyframes sp{to{transform:rotate(360deg)}}

/* ---------- 侧边栏 ---------- */
.sidebar{display:none}
@media(min-width:900px){
  .sidebar{position:fixed;left:0;top:0;bottom:0;width:236px;background:linear-gradient(180deg,#0A1830 0%,#0D2242 100%);padding:24px 14px 18px;display:flex;flex-direction:column;z-index:60}
  .brand{display:flex;align-items:center;gap:11px;padding:0 9px;margin-bottom:28px}
  .brand-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#3D8BFF,#1E5BFF);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(46,107,255,.38);flex-shrink:0}
  .brand-mark svg{width:20px;height:20px;color:#fff}
  .brand-name{color:#fff;font-size:19px;font-weight:800;letter-spacing:1px;line-height:1.1}
  .brand-sub{display:block;font-size:9.5px;color:#667E9F;font-weight:500;letter-spacing:1.6px;margin-top:3px}
  .side-menu{display:flex;flex-direction:column;gap:4px}
  .side-item{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:11px;color:#93A5C4;font-size:14px;font-weight:500;cursor:pointer;position:relative;transition:.16s;border:none;background:none;width:100%;text-align:left}
  .side-item svg{width:19px;height:19px;flex-shrink:0}
  .side-item:hover{background:rgba(255,255,255,.05);color:#DCE6F7}
  .side-item.active{background:linear-gradient(90deg,#2E6BFF,#3D82FF);color:#fff;box-shadow:0 8px 22px rgba(46,107,255,.35)}
  .side-item .num{position:absolute;right:12px;background:#FF8A1E;color:#fff;font-size:10px;font-weight:700;min-width:17px;height:17px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 5px}
  .side-foot{margin-top:auto;padding:16px 9px 0;border-top:1px solid rgba(255,255,255,.08)}
  .side-user{display:flex;align-items:center;gap:10px}
  .side-user b{display:block;color:#E8EFFB;font-size:13px;font-weight:600;line-height:1.2}
  .side-user span{font-size:10.5px;color:#667E9F}
  .side-logout{margin-top:12px;font-size:12px;color:#7E92B4;cursor:pointer;display:flex;align-items:center;gap:6px}
  .side-logout:hover{color:#C9D7EE}
  .side-logout svg{width:13px;height:13px}
}

/* ---------- 顶部栏（管理端） ---------- */
.topbar{height:62px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px;position:sticky;top:0;z-index:45}
.top-brand{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:800;color:var(--ink)}
.top-brand .mk{width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,#3D8BFF,#1E5BFF);display:flex;align-items:center;justify-content:center;color:#fff}
.top-brand .mk svg{width:15px;height:15px}
.crumb{display:none;font-size:13px;color:#96A2B8}
.crumb b{color:#22324E;font-weight:600}
.crumb .sep{margin:0 8px;color:#C7CFDC}
.top-actions{display:flex;align-items:center;gap:10px}
.top-btn{width:34px;height:34px;border-radius:10px;border:none;background:#F4F7FC;color:#5C6B85;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}
.top-btn svg{width:17px;height:17px}
.top-btn .num{position:absolute;top:-4px;right:-4px;background:#FF6B3D;color:#fff;font-size:9px;font-weight:700;min-width:15px;height:15px;border-radius:8px;display:flex;align-items:center;justify-content:center;border:2px solid #fff;padding:0 3px}
.top-user{display:none;align-items:center;gap:9px;padding-left:13px;border-left:1px solid var(--line);cursor:pointer}
.top-user b{font-size:13px;color:#22324E;display:block;line-height:1.2}
.top-user span{font-size:10.5px;color:#96A2B8}
@media(min-width:900px){
  .topbar{height:64px;padding:0 30px}
  .top-brand{display:none}
  .crumb{display:block}
  .top-user{display:flex}
  .top-actions{gap:14px}
}

/* ---------- 管理端主体 ---------- */
.admin-main{min-height:100vh;background:var(--bg)}
.admin-content{padding:18px 16px 96px;max-width:1240px;margin:0 auto}
@media(min-width:900px){
  .admin-main{margin-left:236px}
  .admin-content{padding:26px 30px 56px}
}

/* ---------- 管理端：问候 + 指标 ---------- */
.greet{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.greet h1{font-size:22px;font-weight:800;letter-spacing:-.3px}
.greet p{font-size:12.5px;color:var(--sub);margin-top:5px}
.date-chip{display:none;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 13px;font-size:12.5px;color:#42506C;box-shadow:var(--shadow);flex-shrink:0}
.date-chip svg{width:15px;height:15px;color:#7C89A2}
@media(min-width:700px){
  .greet h1{font-size:25px}
  .date-chip{display:flex}
}
.stat4{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:760px){.stat4{grid-template-columns:repeat(4,1fr);gap:14px}}
.statc{display:flex;align-items:center;gap:11px;padding:14px 13px}
.stat-ico{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.stat-ico svg{width:21px;height:21px}
.tint-blue{background:#E8F0FF;color:#2E6BFF}
.tint-green{background:#E4F7EC;color:#16A45C}
.tint-orange{background:#FFF0E2;color:#F07A12}
.tint-purple{background:#EFEBFF;color:#7357F6}
.stat-body{min-width:0}
.stat-body .lbl{font-size:11.5px;color:#7C89A2;display:block}
.stat-body .num{font-size:23px;font-weight:800;letter-spacing:-.6px;line-height:1.15;display:block;margin-top:1px;font-variant-numeric:tabular-nums}
.stat-body .num small{font-size:.62em;color:#8492AA;font-weight:700;vertical-align:baseline;margin-right:1px}
.stat-body .delta{font-size:10.5px;margin-top:2px;display:flex;align-items:center;gap:4px;white-space:nowrap}
.delta.up{color:#F05A5A}.delta.down{color:#18A957}.delta.flat{color:#9AA5B8}
.delta i{font-style:normal;color:#A2ACC0}

/* ---------- 管理端：图表 ---------- */
.chart-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}
@media(min-width:1000px){.chart-grid{grid-template-columns:1.9fr 1fr;gap:14px;margin-top:14px}}
.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.card-head h3{font-size:14.5px;font-weight:700}
.card-head .more{font-size:12px;color:#8A96AD;cursor:pointer}
.chart-card{padding:16px 16px 10px}
.donut-card{padding:16px;display:flex;flex-direction:column}
.donut-card .donut-wrap{flex:1;align-content:center}
.line-wrap{width:100%;overflow:hidden}
.line-wrap svg{width:100%;height:auto;display:block}
.seg2{display:flex;background:#F1F4FA;border-radius:8px;padding:3px;gap:2px}
.seg2 button{border:none;background:transparent;font-size:11.5px;font-weight:600;color:#7C89A2;padding:5px 10px;border-radius:6px;cursor:pointer;transition:.15s}
.seg2 button.active{background:#fff;color:#1E6BFF;box-shadow:0 1px 4px rgba(20,50,100,.12)}
.donut-wrap{display:flex;align-items:center;justify-content:center;gap:6px;padding:4px 0 2px;flex-wrap:wrap}
.donut-legend{display:flex;flex-direction:column;gap:8px;min-width:118px}
.legend-row{display:flex;align-items:center;gap:7px;font-size:11.5px;color:#5A6780}
.legend-row .dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.legend-row b{margin-left:auto;color:#1A2A46;font-weight:700;font-variant-numeric:tabular-nums}
.rank-table{width:100%;border-collapse:collapse;table-layout:fixed}
.rank-table th:nth-child(1),.rank-table td:nth-child(1){width:44px}
.rank-table th:nth-child(3),.rank-table td:nth-child(3){width:80px;text-align:center}
.rank-table th:nth-child(4),.rank-table td:nth-child(4){width:86px;text-align:right}
.rank-table th{font-size:11px;color:#96A2B8;font-weight:500;text-align:left;padding:7px 8px;border-bottom:1px solid var(--line)}
.rank-table td{padding:10px 8px;font-size:12.5px;border-bottom:1px solid #F2F5FA;vertical-align:middle}
.rank-table tr:last-child td{border-bottom:none}
.rank-badge{width:21px;height:21px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:10.5px;font-weight:800;background:#F1F4F9;color:#7C87A0}
.rank-badge.r1{background:#FFF3D6;color:#B98200}
.rank-badge.r2{background:#EDF1F7;color:#70819C}
.rank-badge.r3{background:#FDEFE3;color:#B36B3A}
.rank-user{display:flex;align-items:center;gap:8px;min-width:0}
.rank-user .avatar{width:28px;height:28px;font-size:11px}
.rank-user b{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rank-money{font-weight:700;color:#FF7A1A;font-variant-numeric:tabular-nums}
.feed-item{display:flex;gap:10px;padding:8px 0;align-items:flex-start}
.feed-ico{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}
.feed-ico svg{width:15px;height:15px}
.feed-ico.tint-blue{background:linear-gradient(135deg,#4E8CFF,#1E5BFF);color:#fff}
.feed-ico.tint-green{background:linear-gradient(135deg,#34CB7C,#12A75A);color:#fff}
.feed-ico.tint-orange{background:linear-gradient(135deg,#FFA33E,#F07A12);color:#fff}
.feed-body{min-width:0}
.feed-body p{font-size:12.5px;color:#33415C;line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.feed-body span{display:block;font-size:10.5px;color:#9AA5B8;margin-top:2px}

/* ---------- 移动端底部导航 ---------- */
.mnav{position:fixed;bottom:0;left:0;right:0;height:calc(62px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid #EDF1F8;display:flex;z-index:55;padding-bottom:env(safe-area-inset-bottom)}
.mnav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10.5px;font-weight:600;color:#9AA5B8;cursor:pointer;transition:color .15s;-webkit-tap-highlight-color:transparent}
.mnav-item svg{width:23px;height:23px}
.mnav-item.active{color:var(--blue)}
.mnav-item{position:relative}
.nav-badge{position:absolute;top:2px;left:calc(50% + 7px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#F04438;color:#fff;font-size:9.5px;font-style:normal;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:0 0 0 2px #fff}
.mnav-7 .mnav-item{font-size:9.5px}
.mnav-7 .mnav-item svg{width:21px;height:21px}
@media(min-width:900px){
  /* 管理端桌面保留侧栏，不再显示移动底栏；会员端则强制显示同一套底栏 */
  .mnav{display:none}
  .mnav.member-mnav{display:flex}
}
/* ---------- 消息通知 ---------- */
.msg-list{display:flex;flex-direction:column;gap:10px}
.msg-card{background:#fff;border:1px solid rgba(233,238,247,.85);border-radius:16px;box-shadow:var(--shadow);padding:15px 16px;cursor:pointer;transition:box-shadow .16s,border-color .16s}
.msg-card:hover{box-shadow:var(--shadow-lg)}
.msg-card.unread{border-color:#CFE0FF;background:linear-gradient(180deg,#F8FBFF 0%,#fff 70%)}
.msg-head{display:flex;align-items:flex-start;gap:10px}
.msg-ico{width:38px;height:38px;border-radius:12px;background:#EEF4FF;color:#2E6BFF;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.msg-ico svg{width:19px;height:19px}
.msg-title{flex:1;min-width:0}
.msg-title b{font-size:14px;font-weight:700;display:flex;align-items:center;gap:6px;line-height:1.45}
.msg-title span{display:block;font-size:10.5px;color:#9AA5B8;margin-top:3px}
.msg-dot{width:7px;height:7px;border-radius:50%;background:#F04438;flex-shrink:0;margin-top:7px}
.msg-body{font-size:12.5px;color:#4A5A76;line-height:1.75;margin-top:11px;white-space:pre-wrap;word-break:break-word}
.msg-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
.msg-images img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;border:1px solid #E7EDF7;cursor:zoom-in;background:#F4F6FA}
.msg-upload{border:1.5px dashed #D7E1F1;border-radius:12px;background:#FAFBFE;padding:15px 12px;text-align:center;cursor:pointer;transition:border-color .16s,background .16s}
.msg-upload span{display:block;font-size:12px;color:#52627D}
.msg-upload small{display:block;font-size:10px;color:#A0AABC;margin-top:3px}
.msg-upload:hover,.msg-upload.dragging{border-color:#2E6BFF;background:#F2F7FF}
.msg-upload-previews{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.msg-upload-thumb{position:relative;width:76px;height:76px;border-radius:10px;overflow:hidden;border:1px solid #E7EDF7;background:#F4F6FA}
.msg-upload-thumb img{width:100%;height:100%;object-fit:cover}
.msg-upload-thumb .del{position:absolute;right:3px;top:3px;width:19px;height:19px;border:0;border-radius:50%;background:rgba(20,30,50,.66);color:#fff;font-size:12px;line-height:19px;cursor:pointer}
.msg-empty{padding:44px 20px;text-align:center;color:#96A2B8;font-size:12.5px}
.msg-empty .ico{font-size:34px;margin-bottom:8px}
.msg-admin-card{background:#fff;border:1px solid rgba(233,238,247,.85);border-radius:16px;box-shadow:var(--shadow);padding:16px 18px;margin-bottom:10px}
.msg-admin-top{display:flex;align-items:flex-start;gap:12px}
.msg-admin-main{flex:1;min-width:0}
.msg-admin-main b{font-size:14.5px;font-weight:700;display:block}
.msg-admin-main .meta{font-size:11px;color:#96A2B8;margin-top:4px;display:flex;gap:12px;flex-wrap:wrap}
.msg-admin-body{font-size:12.5px;color:#4A5A76;line-height:1.75;margin-top:10px;white-space:pre-wrap;word-break:break-word}
.msg-admin-actions{display:flex;gap:8px;margin-top:12px;padding-top:10px;border-top:1px dashed #EFF3F9;justify-content:flex-end}
@media(max-width:520px){.mnav-7 .mnav-item{font-size:9px;gap:2px}.mnav-7 .mnav-item svg{width:20px;height:20px}}

/* ---------- 会员端 ---------- */
.member-shell{min-height:100vh;background:linear-gradient(180deg,#F7FAFF 0%,#F4F7FC 220px);position:relative;overflow-x:hidden}
.m-page{max-width:780px;margin:0 auto;padding:20px 16px 96px;position:relative;z-index:2;min-height:100vh}
.m-greet{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 18px}
.m-greet h1{font-size:24px;font-weight:800;letter-spacing:-.4px;line-height:1.35}
.m-greet h1 .sun{font-size:20px;vertical-align:2px;margin-left:2px}
.m-greet p{font-size:12.5px;color:var(--sub);margin-top:4px}
.m-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#3D8BFF,#7FB0FF);color:#fff;font-weight:700;font-size:18px;display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;box-shadow:0 8px 18px rgba(46,107,255,.28);cursor:pointer}
.m-avatar i{position:absolute;right:-2px;bottom:-2px;width:18px;height:18px;border-radius:50%;background:#2E6BFF;border:2px solid #fff;color:#fff;font-size:9px;font-style:normal;display:flex;align-items:center;justify-content:center}
.m-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:15px}
.m-stat{background:#fff;border-radius:16px;border:1px solid rgba(233,238,247,.8);box-shadow:var(--shadow);padding:14px 6px 12px;text-align:center}
.m-stat .ico{width:42px;height:42px;border-radius:50%;margin:0 auto 7px;display:flex;align-items:center;justify-content:center}
.m-stat .ico svg{width:20px;height:20px}
.m-stat .lbl{font-size:10.5px;color:#8492AA;display:block}
.m-stat .num{font-size:19px;font-weight:800;letter-spacing:-.4px;display:block;margin-top:1px;font-variant-numeric:tabular-nums}
.m-stat .num small{font-size:.62em;color:#96A2B8;font-weight:700;vertical-align:baseline;margin-right:1px}
.attend-card{position:relative;overflow:hidden;margin:0 0 15px;padding:17px 17px 14px;border-radius:20px;color:#fff;background:linear-gradient(135deg,#E5322A 0%,#F04A37 52%,#FF7A45 100%);box-shadow:0 12px 28px rgba(220,58,47,.28);cursor:pointer}
.attend-card::before{content:"";position:absolute;width:190px;height:190px;right:-76px;top:-112px;border-radius:50%;background:rgba(255,255,255,.13)}
.attend-card::after{content:"";position:absolute;width:130px;height:130px;left:-68px;bottom:-93px;border-radius:50%;background:rgba(116,16,8,.13)}
.attend-top{position:relative;z-index:1;display:flex;align-items:center;gap:10px}
.attend-ico{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;font-size:25px;background:rgba(255,255,255,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.attend-title{flex:1;min-width:0}
.attend-title b{display:block;font-size:15.5px;font-weight:800;letter-spacing:-.2px}
.attend-title span{display:block;margin-top:2px;font-size:10.5px;line-height:1.45;color:rgba(255,255,255,.78)}
.attend-badge{flex-shrink:0;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.19);font-size:10px;font-weight:700;white-space:nowrap}
.attend-main{position:relative;z-index:1;display:flex;align-items:flex-end;gap:9px;margin:13px 0 9px}
.attend-money{font-size:34px;line-height:1;font-weight:900;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.attend-money small{font-size:15px;font-weight:800;margin-right:1px}
.attend-money-label{padding-bottom:3px;font-size:10.5px;color:rgba(255,255,255,.84)}
.attend-rows{position:relative;z-index:1;margin-top:2px}
.attend-row{padding:7px 0 6px;border-top:1px solid rgba(255,255,255,.16)}
.attend-row-main{min-width:0}
.attend-row-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.attend-row-top b{font-size:11px;font-weight:700;color:rgba(255,255,255,.96)}
.attend-row-top span{font-size:10px;color:rgba(255,255,255,.72);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.attend-bar{height:4px;margin-top:5px;border-radius:99px;background:rgba(255,255,255,.2);overflow:hidden}
.attend-bar i{display:block;height:100%;border-radius:99px;background:#FFE39A;transition:width .25s}
.attend-foot{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.16);font-size:10.5px;color:rgba(255,255,255,.8)}
.attend-go{font-weight:800;color:#fff;white-space:nowrap}
.att-intro{font-size:12.5px;line-height:1.75;color:#52627D;background:#FFF7F4;border:1px solid #FFE3DA;border-radius:12px;padding:11px 12px;margin-bottom:11px}
.att-intro b{color:#D93B30}
.att-rule{border:1px solid #F1E6E2;border-radius:14px;padding:12px;margin-bottom:10px;background:#fff}
.att-rule-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.att-rule-head b{display:block;font-size:13.5px;color:#24344F}
.att-rule-head span{display:block;margin-top:2px;font-size:11px;color:#96A2B8}
.att-rule-progress{height:6px;border-radius:99px;background:#F4EDE9;margin:10px 0 5px;overflow:hidden}
.att-rule-progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#F04A37,#FF8A4C)}
.att-rule-foot{display:flex;justify-content:space-between;font-size:10.5px;color:#98A2B5}
.att-rule-done{font-size:11.5px;font-weight:700;color:#16A05A;white-space:nowrap}
.att-rule-wait{font-size:11px;color:#C17A20;white-space:nowrap}
.att-claim-btn{height:32px;padding:0 12px;border-radius:9px;font-size:11.5px;white-space:nowrap}
.att-today{font-size:11.5px;line-height:1.6;color:#7D8AA1;margin:2px 0 12px}
.panel{background:#fff;border-radius:18px;border:1px solid rgba(233,238,247,.8);box-shadow:var(--shadow);padding:16px 16px 10px;margin-bottom:20px}
.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.panel-head h2{font-size:16px;font-weight:800;letter-spacing:-.2px}
.panel-head a{font-size:11.5px;color:#8A96AD;cursor:pointer;display:flex;align-items:center;gap:2px}
.panel-head a svg{width:12px;height:12px}
.todo-item{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #F2F5FA;cursor:pointer}
.todo-item:last-child{border-bottom:none;padding-bottom:6px}
.app-ico{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}
.app-ico svg{width:22px;height:22px}
.app-ico.green{background:linear-gradient(135deg,#34CB7C,#12A75A);box-shadow:0 7px 16px rgba(22,164,92,.26)}
.app-ico.orange{background:linear-gradient(135deg,#FFA33E,#F07A12);box-shadow:0 7px 16px rgba(240,122,18,.26)}
.app-ico.blue{background:linear-gradient(135deg,#4E8CFF,#1E5BFF);box-shadow:0 7px 16px rgba(46,107,255,.28)}
.app-ico.dark{background:linear-gradient(135deg,#2C3D59,#17253C);box-shadow:0 7px 16px rgba(16,28,48,.26)}
.app-ico.red{background:linear-gradient(135deg,#F26363,#DC3B3B);box-shadow:0 7px 16px rgba(220,59,59,.24)}
.app-ico.purple{background:linear-gradient(135deg,#8C74FF,#6446F0);box-shadow:0 7px 16px rgba(100,70,240,.24)}
.todo-main{flex:1;min-width:0}
.todo-main b{font-size:14px;font-weight:700;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}
.todo-main span{font-size:11px;color:#96A2B8;display:-webkit-box;margin-top:2px;line-height:1.55;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sec-head{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 10px}
.sec-head h2{font-size:16px;font-weight:800;letter-spacing:-.2px}
.sec-head span{font-size:11.5px;color:#96A2B8}
.tc{background:#fff;border-radius:16px;border:1px solid rgba(233,238,247,.8);box-shadow:var(--shadow);padding:14px 15px;margin-bottom:10px;transition:box-shadow .16s}
.tc:hover{box-shadow:var(--shadow-lg)}
.tc-top{display:flex;gap:11px;align-items:flex-start}
.tc-main{flex:1;min-width:0}
.tc-main .badge{margin-bottom:4px}
.tc-main b{font-size:14.5px;font-weight:700;display:block;line-height:1.4}
.tc-main .sub{font-size:11.5px;color:#96A2B8;margin-top:3px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.tc-right{text-align:right;flex-shrink:0}
.tc-right .m{font-size:17px;font-weight:800;color:#FF7A1A;font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-right .m small{font-size:10px;font-weight:600;color:#C08A5E}
.tc-right .badge{margin-top:4px}
.tc-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;padding-top:10px;border-top:1px dashed #EFF3F9}
.tc-meta{font-size:11px;color:#96A2B8;display:flex;gap:6px 12px;flex-wrap:wrap;align-items:center}
.tc-meta svg{width:12px;height:12px;vertical-align:-2px;margin-right:3px;color:#A8B3C6}
.tc-foot .btn{padding:7px 13px;font-size:12.5px;border-radius:9px;flex-shrink:0}
.days{display:flex;gap:5px;margin-top:10px;align-items:center}
.day{width:24px;height:24px;border-radius:7px;background:#F2F5FA;color:#9AA5B8;font-size:10px;font-weight:600;display:flex;align-items:center;justify-content:center}
.day.approved{background:#E4F7EC;color:#12924F}
.day.pending{background:#FFF3D9;color:#B47A00}
.day.today{outline:2px solid var(--blue);outline-offset:1px}
.reject-box{margin-top:9px;background:#FFF5F5;border:1px solid #F8DCDC;color:#B4393E;font-size:12px;padding:8px 11px;border-radius:9px;line-height:1.5}
.chips{display:flex;gap:7px;overflow-x:auto;padding:2px 0 4px;margin-bottom:12px}
.chip{flex-shrink:0;border:none;background:#fff;border:1px solid var(--line);color:#5A6780;font-size:11.5px;font-weight:600;padding:6px 11px;border-radius:999px;cursor:pointer;transition:.15s}
.chip.active{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 4px 12px rgba(46,107,255,.28)}
.chip b{font-weight:700;margin-left:3px}
.profile-card{padding:20px;display:flex;align-items:center;gap:13px}
.profile-card .avatar{width:52px;height:52px;font-size:20px}
.profile-card b{font-size:17px;font-weight:800;display:block}
.profile-card .muted{margin-top:2px}
.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:11px}
.stat-card{padding:15px}
.stat-card .lbl{font-size:11.5px;color:var(--sub);font-weight:500}
.stat-card .num{font-size:23px;font-weight:800;margin-top:3px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.stat-card .num small{font-size:.62em;font-weight:700;color:var(--sub);margin-left:1px;vertical-align:baseline}
.stat-card .sub{font-size:10.5px;color:#9AA5B8;margin-top:2px}
.num.warn{color:var(--orange)}.num.ok{color:var(--green)}.num.money{color:#FF7A1A}
.menu-list{margin-top:12px;overflow:hidden;padding:0 16px}
.menu-item{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #F2F5FA;cursor:pointer;font-size:14px;font-weight:500}
.menu-item:last-child{border-bottom:none}
.menu-item .right{color:#A2ACC0;display:flex;align-items:center;gap:5px;font-size:13px}
.sub-list{padding:2px 14px}
.sub-item{display:flex;gap:10px;padding:12px 2px;border-bottom:1px solid #F2F5FA;align-items:center}
.sub-item:last-child{border-bottom:none}
.sub-thumb{width:44px;height:44px;border-radius:9px;object-fit:cover;background:#F2F5FA;flex-shrink:0}
.sub-body{flex:1;min-width:0}
.sub-body b{font-size:13px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sub-body span{font-size:10.5px;color:#9AA5B8}

/* 背景装饰 */
.skyline{position:fixed;left:0;right:0;bottom:60px;height:140px;pointer-events:none;z-index:0;overflow:hidden;opacity:.9}
.skyline svg{position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:760px;height:140px}

/* ---------- 管理端列表页 ---------- */
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px}
.page-head h1{font-size:21px;font-weight:800;letter-spacing:-.3px}
.page-head p{font-size:12px;color:var(--sub);margin-top:3px}
.ph-actions{display:flex;gap:8px;flex-shrink:0}
.page-head .btn-ghost{background:#fff;border:1px solid var(--line)}
@media(min-width:700px){.page-head h1{font-size:24px}.page-head{margin-bottom:20px}}
.task-admin{padding:15px 16px;margin-bottom:10px}
.task-grid,.review-grid,.member-grid{display:grid;grid-template-columns:1fr;gap:10px;align-items:start}
.task-grid .task-admin,.review-grid .review-card,.member-grid .member-card{margin-bottom:0}
@media(min-width:1080px){
  .task-grid,.review-grid,.member-grid{grid-template-columns:1fr 1fr;gap:12px}
  .task-grid .task-admin,.review-grid .review-card,.member-grid .member-card{margin-bottom:0}
}
.ta-top{display:flex;gap:11px;align-items:flex-start}
.ta-title{flex:1;min-width:0}
.ta-title > b{font-size:14.5px;font-weight:700;display:block;line-height:1.4;margin-top:2px}
.ta-meta{font-size:11.5px;color:var(--sub);margin-top:7px;display:flex;flex-wrap:wrap;gap:5px 14px}
.ta-meta span{white-space:nowrap}
.ta-meta b{color:var(--ink);font-weight:700}
.ta-actions{display:flex;gap:7px;margin-top:11px;flex-wrap:wrap}
.ta-actions .btn{padding:6px 11px;font-size:12px;border-radius:8px}
.review-card{padding:15px 16px;margin-bottom:11px}
.rc-head{display:flex;align-items:center;gap:10px}
.rc-who{flex:1;min-width:0}
.rc-who b{font-size:13.5px;font-weight:700;display:block}
.rc-who b span{font-weight:400;color:#9AA5B8;font-size:11px}
.rc-who>span{font-size:11px;color:#96A2B8;display:block;margin-top:1px}
.rc-note{font-size:12.5px;color:#3A4A66;background:#F8FAFE;border-radius:9px;padding:9px 12px;margin-top:10px;white-space:pre-line;line-height:1.55}
.img-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.img-grid img{width:96px;height:96px;object-fit:cover;border-radius:9px;border:1px solid #EDF1F8;cursor:zoom-in;transition:transform .15s}
.img-grid img:hover{transform:scale(1.03)}
@media(min-width:700px){.img-grid img{width:112px;height:112px}}
.rc-actions{display:flex;gap:8px;margin-top:12px;justify-content:flex-end}
.rc-actions .btn{min-width:82px}
.member-card{padding:15px 16px;margin-bottom:10px}
.mc-top{display:flex;align-items:center;gap:11px}
.mc-top .avatar{width:40px;height:40px;font-size:15px}
.mc-id{flex:1;min-width:0}
.mc-id b{font-size:14px;font-weight:700}
.mc-id span{display:block;font-size:11px;color:#9AA5B8;margin-top:1px}
.mc-stats{display:flex;margin-top:12px;background:#F8FAFE;border-radius:11px;padding:10px 4px}
.mc-stat{flex:1;text-align:center;border-right:1px solid #EEF2F9}
.mc-stat:last-child{border-right:none}
.mc-stat b{display:block;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.mc-stat span{font-size:10px;color:#9AA5B8}
.mc-actions{display:flex;gap:7px;margin-top:11px;justify-content:flex-end;flex-wrap:wrap}
.mc-actions .btn{padding:6px 11px;font-size:12px;border-radius:8px}
.table-wrap{overflow-x:auto;margin-top:10px;border-radius:12px}
.table-wrap table{width:100%;border-collapse:collapse;font-size:12.5px}
.table-wrap th{text-align:left;color:#96A2B8;font-weight:500;padding:9px 12px;background:#F8FAFE;white-space:nowrap;font-size:11px}
.table-wrap th:first-child{border-radius:9px 0 0 9px}
.table-wrap th:last-child{border-radius:0 9px 9px 0}
.table-wrap td{padding:11px 12px;border-bottom:1px solid #F2F5FA;white-space:nowrap;font-variant-numeric:tabular-nums}
.table-wrap tr:last-child td{border-bottom:none}
.td-strong{font-weight:600}

/* ---------- 任务详情页 ---------- */
.detail-page{max-width:780px;margin:0 auto;padding:0 0 122px;min-height:100vh;position:relative;z-index:2}
.detail-top{position:sticky;top:0;z-index:45;display:flex;align-items:center;gap:8px;padding:10px 14px;background:rgba(244,247,252,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(233,238,247,.65)}
.detail-back{width:36px;height:36px;border-radius:50%;border:none;background:#fff;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;cursor:pointer;color:#33415C;flex-shrink:0}
.detail-back svg{width:18px;height:18px;transform:rotate(180deg)}
.detail-top h1{font-size:17px;font-weight:800;flex:1;text-align:center;margin-right:36px}
.detail-body{padding:14px}
.detail-card{padding:16px;margin-bottom:12px;border-radius:18px}
.dh-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.dh-title{font-size:20px;font-weight:800;line-height:1.35;margin:9px 0 6px;letter-spacing:-.3px}
.dh-desc{font-size:12.5px;color:#6E7C95;line-height:1.7;white-space:pre-line}
.dh-foot{display:flex;align-items:center;gap:14px;margin-top:12px;padding-top:12px;border-top:1px dashed #EFF3F9;font-size:11.5px;color:#8A96AD;flex-wrap:wrap}
.dh-money{font-size:23px;font-weight:800;color:#FF7A1A;line-height:1;font-variant-numeric:tabular-nums}
.dh-money small{font-size:11px;font-weight:600;color:#C08A5E}
.steps{display:flex;position:relative;padding:2px 0 4px}
.steps::before{content:"";position:absolute;top:12px;left:16.66%;right:16.66%;height:1.5px;background:#E3EBF8}
.step{flex:1;text-align:center;position:relative;z-index:1;padding:0 4px}
.step-num{width:24px;height:24px;border-radius:50%;background:var(--blue);color:#fff;font-size:11.5px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto;border:3px solid #fff;box-shadow:0 3px 8px rgba(46,107,255,.25)}
.step-ico{width:54px;height:54px;border-radius:50%;background:#EEF4FF;color:var(--blue);display:flex;align-items:center;justify-content:center;margin:8px auto 7px}
.step-ico svg{width:25px;height:25px}
.step b{font-size:12.5px;display:block;line-height:1.35;font-weight:700}
.step span{font-size:10px;color:#96A2B8;display:block;margin-top:3px;line-height:1.45;word-break:break-word}
.detail-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.detail-card-head h3{font-size:14.5px;font-weight:800;display:flex;align-items:center;gap:8px}
.dh-ico{width:28px;height:28px;border-radius:9px;background:#E4F7EC;color:#16A45C;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.dh-ico svg{width:16px;height:16px}
.dh-ico.blue{background:#E8F0FF;color:#2E6BFF}
.copy-box{position:relative;background:#F7F9FD;border:1px solid #EDF1F8;border-radius:12px;padding:13px 14px 34px;font-size:12.5px;line-height:1.85;color:#33415C;white-space:pre-wrap;word-break:break-word;max-height:250px;overflow:auto;outline:none}
.copy-box[contenteditable="true"]{background:#fff;border-color:#BBD1FF;box-shadow:0 0 0 3px rgba(46,107,255,.08)}
.copy-edit{position:absolute;right:9px;bottom:8px;border:none;background:#fff;border-radius:8px;width:28px;height:28px;cursor:pointer;color:#8A96AD;box-shadow:0 2px 8px rgba(20,50,100,.1);display:flex;align-items:center;justify-content:center}
.copy-edit:hover{color:var(--blue)}
.copy-edit svg{width:14px;height:14px}
.detail-upload{border:1.5px dashed #C9D8F0;border-radius:14px;background:#FBFCFE;padding:28px 14px;text-align:center;cursor:pointer;transition:.15s}
.detail-upload:hover{border-color:#8FB3F5;background:#F7FAFF}
.detail-upload.drag-over,.detail-up-drop.drag-over{border-color:#2E6BFF;background:#F1F6FF;box-shadow:0 0 0 3px rgba(46,107,255,.12)}
.detail-up-drop{border:1.5px dashed transparent;border-radius:14px;padding:3px;transition:.15s}
.detail-drop-hint{text-align:center;font-size:10.5px;color:#9AA5B8;padding:8px 0 2px}
.detail-upload .up-ico{width:54px;height:54px;border-radius:50%;background:#EEF4FF;color:#7FA4E8;display:flex;align-items:center;justify-content:center;margin:0 auto 9px}
.detail-upload .up-ico svg{width:27px;height:27px}
.detail-upload b{font-size:13.5px;display:block;color:#33415C}
.detail-upload span{font-size:10.5px;color:#9AA5B8;display:block;margin-top:5px}
.detail-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.detail-thumb{position:relative;aspect-ratio:1;border-radius:11px;overflow:hidden;border:1px solid var(--line);background:#F2F5FA}
.detail-thumb img{width:100%;height:100%;object-fit:cover}
.detail-thumb .del{position:absolute;top:5px;right:5px;width:22px;height:22px;border-radius:50%;border:none;background:rgba(10,20,40,.62);color:#fff;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.detail-thumb.add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1.5px dashed #C9D8F0;background:#FBFCFE;color:#96A2B8;font-size:10.5px;font-weight:600;cursor:pointer}
.detail-thumb.add svg{width:23px;height:23px}
.detail-note{margin-top:11px}
.detail-note textarea{width:100%;border:1.5px solid #E6EBF3;border-radius:11px;padding:10px 12px;font-size:13px;background:#F9FBFE;outline:none;font-family:inherit;resize:vertical;min-height:66px}
.detail-note textarea:focus{border-color:var(--blue);background:#fff}
.ai-card{border-radius:18px;padding:15px 16px;margin-bottom:12px;border:1px solid transparent}
.ai-card.ok{background:linear-gradient(180deg,#F2FCF6,#FFFFFF);border-color:#D8F0E2}
.ai-card.warn{background:linear-gradient(180deg,#FFF9EF,#FFFFFF);border-color:#FBE8C8}
.ai-card.bad{background:linear-gradient(180deg,#FFF5F5,#FFFFFF);border-color:#F8DCDC}
.ai-card.info{background:linear-gradient(180deg,#F4F8FF,#FFFFFF);border-color:#DCE8FF}
.ai-head{display:flex;align-items:center;gap:9px}
.ai-ico{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}
.ai-card.ok .ai-ico{background:#16A45C}
.ai-card.warn .ai-ico{background:#F0A020}
.ai-card.bad .ai-ico{background:#E04343}
.ai-card.info .ai-ico{background:#2E6BFF}
.ai-ico svg{width:19px;height:19px}
.ai-head b{font-size:15px;font-weight:800;display:block;line-height:1.3}
.ai-head span{display:block;font-size:10.5px;color:#8A96AD;margin-top:1px}
.ai-checks{margin-top:10px;border-top:1px dashed rgba(120,150,200,.2);padding-top:4px}
.ai-check{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid rgba(120,150,200,.1);font-size:12px}
.ai-check:last-child{border-bottom:none}
.ai-check .st{width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}
.ai-check .st svg{width:11px;height:11px}
.ai-check.pass .st{background:#16A45C}
.ai-check.fail .st{background:#E04343}
.ai-check.uncertain .st{background:#F0A020}
.ai-check.skip .st{background:#A8B3C6}
.ai-check .nm{font-weight:600;color:#33415C;white-space:nowrap}
.ai-check .dt{flex:1;color:#8A96AD;font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ai-check .tag{font-size:10px;font-weight:700;padding:3px 8px;border-radius:999px;white-space:nowrap;flex-shrink:0}
.ai-check.pass .tag{background:#E4F7EC;color:#12924F}
.ai-check.fail .tag{background:#FDECEC;color:#D63B3B}
.ai-check.uncertain .tag{background:#FFF0E2;color:#D9720A}
.ai-check.skip .tag{background:#F1F4F9;color:#7C87A0}
.ai-reason{font-size:11.5px;color:#6E7C95;line-height:1.6;margin-top:9px;background:rgba(255,255,255,.72);border-radius:9px;padding:8px 10px}
.ai-text{margin-top:8px;font-size:10.5px;color:#8A96AD}
.ai-text summary{cursor:pointer;outline:none}
.ai-text pre{white-space:pre-wrap;max-height:160px;overflow:auto;background:#fff;border-radius:8px;padding:8px 9px;margin-top:6px;line-height:1.55;font-family:inherit;font-size:10.5px;border:1px solid #EEF2F9}
.detail-tip{display:flex;gap:8px;background:#EEF2F8;color:#7C89A2;font-size:11px;line-height:1.65;border-radius:11px;padding:10px 12px;margin-bottom:12px}
.detail-submit{position:fixed;left:0;right:0;bottom:0;z-index:56;background:rgba(255,255,255,.97);border-top:1px solid #EDF1F8;padding:9px 14px calc(9px + env(safe-area-inset-bottom));backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.detail-submit .inner{max-width:780px;margin:0 auto}
.detail-submit .btn{width:100%;height:46px;border-radius:13px;font-size:15px}
.detail-status{text-align:center;font-size:11px;color:#8A96AD;margin-bottom:6px}

/* ---------- 钱包 / 提现 ---------- */
.wallet-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#1E5BFF 0%,#3D8BFF 62%,#6AA6FF 100%);border-radius:20px;padding:20px 20px 18px;color:#fff;box-shadow:0 16px 34px rgba(46,107,255,.28);margin-bottom:12px}
.wallet-hero::before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.12);right:-70px;top:-90px}
.wallet-hero::after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.08);right:30px;bottom:-80px}
.wallet-hero .wh-lbl{font-size:11.5px;opacity:.82}
.wallet-hero .wh-amt{font-size:36px;font-weight:800;letter-spacing:-1px;line-height:1.15;margin:3px 0 8px;font-variant-numeric:tabular-nums;position:relative;z-index:1}
.wallet-hero .wh-amt small{font-size:17px;font-weight:700;margin-right:2px}
.wallet-hero .wh-sub{font-size:10.5px;opacity:.78;display:flex;gap:12px;flex-wrap:wrap;position:relative;z-index:1}
.wallet-hero .btn{position:absolute;right:18px;bottom:18px;background:#fff;color:#1E5BFF;border-radius:999px;padding:8px 16px;font-size:12px;font-weight:700;z-index:2}
.wallet-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}
.wallet-stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px 6px;text-align:center;box-shadow:var(--shadow)}
.wallet-stat b{display:block;font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}
.wallet-stat span{font-size:10px;color:#96A2B8;display:block;margin-top:1px}
.wd-form{padding:16px}
.wd-form h3{font-size:15px;font-weight:800;margin-bottom:10px}
.wd-amount{position:relative}
.wd-amount .input{font-size:24px;font-weight:800;padding:10px 64px 10px 34px;height:52px;font-variant-numeric:tabular-nums}
.wd-amount .yuan{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:16px;font-weight:700;color:#8A96AD}
.wd-amount .all{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:none;background:#E8F0FF;color:#2E6BFF;font-size:11px;font-weight:700;padding:6px 10px;border-radius:8px;cursor:pointer}
.wd-form .seg{margin-bottom:11px}
.wd-history{padding:4px 14px 8px}
.wd-item{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #F2F5FA}
.wd-item:last-child{border-bottom:none}
.wd-item .wd-main{flex:1;min-width:0}
.wd-item b{font-size:14.5px;font-weight:800;display:block;font-variant-numeric:tabular-nums}
.wd-item span{font-size:10.5px;color:#9AA5B8;display:block;margin-top:2px}
.wd-item .wd-reason{font-size:10.5px;color:#C24A4A;margin-top:2px;white-space:normal}
.wd-reject{background:#FFF5F5;border:1px solid #F8DCDC;color:#B4393E;font-size:11px;padding:7px 10px;border-radius:8px;margin-top:7px;line-height:1.5}

/* ---------- 推广分销 ---------- */
.promo-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0B1F42 0%,#143C82 58%,#1E5BFF 100%);border-radius:20px;padding:20px;color:#fff;margin-bottom:12px;box-shadow:0 16px 34px rgba(11,31,66,.28)}
.promo-hero::before{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:rgba(61,139,255,.24);right:-80px;top:-100px}
.promo-hero::after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.06);right:50px;bottom:-80px}
.promo-hero h2{font-size:18px;font-weight:800;position:relative;z-index:1}
.promo-hero p{font-size:11px;opacity:.72;margin-top:4px;line-height:1.55;position:relative;z-index:1}
.promo-code{font-size:27px;letter-spacing:5px;font-weight:800;font-family:ui-monospace,Menlo,Consolas,monospace;background:rgba(255,255,255,.12);border:1px dashed rgba(255,255,255,.42);border-radius:12px;padding:10px 15px;display:inline-block;margin:13px 0 10px;position:relative;z-index:1}
.promo-actions{display:flex;gap:8px;position:relative;z-index:1}
.promo-actions .btn{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.24);font-size:11.5px;padding:8px 12px;border-radius:9px;backdrop-filter:blur(4px)}
.promo-actions .btn:hover{background:rgba(255,255,255,.24)}
.promo-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:14px}
.promo-stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 14px;box-shadow:var(--shadow)}
.promo-stat span{font-size:10.5px;color:#96A2B8;display:block}
.promo-stat b{font-size:20px;font-weight:800;display:block;margin-top:2px;font-variant-numeric:tabular-nums}
.promo-stat b small{font-size:11px;color:#96A2B8;font-weight:600}
.promo-rate{background:#EEF4FF;border:1px solid #DCE8FF;color:#3A5A94;font-size:11px;line-height:1.7;border-radius:11px;padding:10px 12px;margin-bottom:14px}
.promo-rate b{color:#1E5BFF}
.inv-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #F2F5FA}
.inv-row:last-child{border-bottom:none}
.inv-row .avatar{width:36px;height:36px;font-size:13px}
.inv-main{flex:1;min-width:0}
.inv-main b{font-size:13px;display:block}
.inv-main span{font-size:10.5px;color:#9AA5B8;display:block;margin-top:1px}
.inv-money{text-align:right;font-size:11px;color:#8A96AD}
.inv-money b{display:block;color:#FF7A1A;font-size:13px}
.comm-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #F2F5FA}
.comm-row:last-child{border-bottom:none}
.comm-ico{width:34px;height:34px;border-radius:50%;background:#FFF0E2;color:#F07A12;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.comm-ico svg{width:16px;height:16px}
.comm-main{flex:1;min-width:0}
.comm-main b{font-size:12.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.comm-main span{font-size:10px;color:#9AA5B8;display:block;margin-top:1px}
.comm-amt{font-size:14px;font-weight:800;color:#FF7A1A;font-variant-numeric:tabular-nums}

/* ---------- 我的钱包入口 ---------- */
.me-wallet{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,#1E5BFF,#3D8BFF);color:#fff;border-radius:18px;padding:16px 18px;margin-top:11px;box-shadow:0 12px 28px rgba(46,107,255,.25);cursor:pointer}
.me-wallet::after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.12);right:-40px;top:-60px}
.me-wallet .mw-lbl{font-size:10.5px;opacity:.8;display:block}
.me-wallet .mw-amt{font-size:27px;font-weight:800;letter-spacing:-.5px;line-height:1.2;font-variant-numeric:tabular-nums}
.me-wallet .mw-amt small{font-size:14px;margin-right:1px}
.me-wallet .mw-sub{font-size:9.5px;opacity:.72;display:block;margin-top:2px}
.me-wallet .mw-btn{background:#fff;color:#1E5BFF;border-radius:999px;padding:8px 16px;font-size:12px;font-weight:700;position:relative;z-index:1;flex-shrink:0}

/* ---------- 管理端提现 ---------- */
.wd-summary{display:grid;grid-template-columns:1.25fr 1fr;gap:10px;margin-bottom:14px}
.wd-sum-card{padding:15px 16px}
.wd-sum-card .lbl{font-size:11px;color:#8A96AD;display:block}
.wd-sum-card .num{font-size:26px;font-weight:800;margin-top:3px;line-height:1.1;font-variant-numeric:tabular-nums}
.wd-sum-card .sub{font-size:10.5px;color:#96A2B8;margin-top:3px;display:block}
.wd-sum-card.hot{background:linear-gradient(135deg,#FFF7EC,#FFFFFF);border-color:#FBE7C8}
.wd-admin-card{padding:15px 16px;margin-bottom:10px}
.wd-admin-top{display:flex;align-items:flex-start;gap:11px}
.wd-admin-top .avatar{width:40px;height:40px}
.wd-admin-main{flex:1;min-width:0}
.wd-admin-main b{font-size:14px;font-weight:700;display:block}
.wd-admin-main > span{font-size:11px;color:#96A2B8;display:block;margin-top:2px}
.wd-admin-main .pill{display:inline-flex;margin-top:3px;font-size:10px}
.wd-admin-amt{text-align:right;font-size:23px;font-weight:800;color:#FF7A1A;line-height:1.15;font-variant-numeric:tabular-nums}
.wd-admin-info{margin-top:10px;background:#F8FAFE;border-radius:10px;padding:9px 12px;font-size:11.5px;color:#5A6780;line-height:1.7;word-break:break-all}
.wd-admin-info b{color:#22324E}
.wd-admin-actions{display:flex;gap:8px;margin-top:11px;justify-content:flex-end}
.wd-admin-actions .btn{min-width:82px}

/* ---------- 概览提醒 ---------- */
.notice-bar{display:flex;align-items:center;gap:10px;background:#FFF9EF;border:1px solid #FBE8C8;border-radius:13px;padding:11px 14px;margin-top:12px;font-size:12px;color:#A76A12;line-height:1.5}
.notice-bar .ni{width:30px;height:30px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:#E8961A;flex-shrink:0}
.notice-bar .ni svg{width:16px;height:16px}
.notice-bar b{font-weight:700}
.notice-bar .btn{margin-left:auto;flex-shrink:0;background:#fff;color:#B26A0E;border:1px solid #F3D9AF;font-size:11.5px;padding:7px 12px}
.notice-bar .btn:hover{background:#FFFDF8}

/* ---------- 审核中心 AI ---------- */
.ai-mini{display:flex;gap:8px;align-items:flex-start;border-radius:10px;padding:9px 11px;margin-top:9px;font-size:11px;line-height:1.5;border:1px solid transparent}
.ai-mini.ok{background:#F2FCF6;border-color:#D8F0E2;color:#1B7A4A}
.ai-mini.warn{background:#FFF9EF;border-color:#FBE8C8;color:#A76A12}
.ai-mini.bad{background:#FFF5F5;border-color:#F8DCDC;color:#B4393E}
.ai-mini.info{background:#F4F8FF;border-color:#DCE8FF;color:#3A5A94}
.ai-mini .mi{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;margin-top:1px}
.ai-mini .mi svg{width:11px;height:11px}
.ai-mini.ok .mi{background:#16A45C}
.ai-mini.warn .mi{background:#F0A020}
.ai-mini.bad .mi{background:#E04343}
.ai-mini.info .mi{background:#2E6BFF}
.ai-mini b{display:block;font-size:11.5px;font-weight:700}
.ai-mini .desc{display:block;font-size:10.5px;opacity:.85;margin-top:1px}
.mini-checks{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}
.mini-chip{font-size:9.5px;padding:2px 6px;border-radius:5px;background:#fff;border:1px solid rgba(120,150,200,.18);color:#6E7C95}
.mini-chip.pass{color:#12924F;border-color:#CFEEDD}
.mini-chip.fail{color:#D63B3B;border-color:#F6D3D3}
.mini-chip.uncertain{color:#D9720A;border-color:#F8E0C5}

/* ---------- 设置开关 ---------- */
.switch{position:relative;display:inline-flex;width:46px;height:26px;flex-shrink:0;cursor:pointer}
.switch input{opacity:0;width:0;height:0}
.switch i{position:absolute;inset:0;background:#D8E0EE;border-radius:999px;transition:.2s}
.switch i::before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 2px 5px rgba(0,0,0,.15)}
.switch input:checked + i{background:var(--blue)}
.switch input:checked + i::before{transform:translateX(20px)}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #F2F5FA}
.settings-row:last-child{border-bottom:none}
.settings-row .sr-main b{font-size:13px;display:block}
.settings-row .sr-main span{font-size:10.5px;color:#96A2B8;display:block;margin-top:2px;line-height:1.5}

/* ---------- 登录注册 ---------- */
.login-tabs{display:flex;background:#F1F4FA;border-radius:11px;padding:3px;margin-bottom:17px;gap:3px}
.login-tab{flex:1;border:none;background:transparent;padding:8px 6px;border-radius:8px;font-size:13px;font-weight:600;color:#6B7488;cursor:pointer;transition:.15s}
.login-tab.active{background:#fff;color:var(--blue);box-shadow:0 1px 4px rgba(15,23,42,.1)}
.invite-banner{display:flex;gap:10px;align-items:center;background:#EEF4FF;border:1px solid #DCE8FF;border-radius:11px;padding:10px 12px;margin-bottom:15px}
.invite-banner .ib-ico{width:34px;height:34px;border-radius:50%;background:#fff;color:#2E6BFF;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.invite-banner .ib-ico svg{width:18px;height:18px}
.invite-banner b{font-size:12px;display:block;color:#22324E}
.invite-banner span{font-size:10.5px;color:#6E7C95;display:block;margin-top:1px}
.ref-lock{display:flex;align-items:center;gap:8px;background:#F8FAFE;border:1.5px solid #E6EBF3;border-radius:10px;padding:8px 12px;font-size:12px;color:#5A6780}
.ref-lock svg{width:17px;height:17px;flex-shrink:0;color:#2E6BFF}
.ref-lock b{font-family:ui-monospace,Menlo,monospace;letter-spacing:1.5px;color:#1E5BFF;font-size:13px}
.ref-lock span{white-space:nowrap}

/* ---------- 登录 ---------- */
.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:22px;background:#F4F7FC;position:relative;overflow:auto}
.login-wrap::before,.login-wrap::after{display:none}
.login-card{width:100%;max-width:392px;background:#fff;border-radius:22px;padding:34px 28px 28px;border:1px solid #E7EEF8;box-shadow:0 24px 70px rgba(22,44,80,.10);position:relative;z-index:2}
.login-logo{display:flex;align-items:center;gap:11px;margin-bottom:26px}
.login-logo .logo{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#3D8BFF,#1E5BFF);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 8px 18px rgba(46,107,255,.35)}
.login-logo .logo svg{width:22px;height:22px}
.login-logo .lg-txt b{font-size:21px;letter-spacing:1px;color:var(--ink);display:block;line-height:1.2}
.login-logo .lg-txt span{display:block;font-size:10px;color:#9AA5B8;font-weight:500;letter-spacing:1.4px;margin-top:3px}
.login-title{font-size:20px;font-weight:800;margin-bottom:4px}
.login-sub{font-size:12.5px;color:var(--sub);margin-bottom:20px}
.login-err{background:#FDECEC;color:#C93B3F;font-size:12.5px;padding:9px 12px;border-radius:10px;margin-bottom:14px;display:none}
.login-tip{margin-top:17px;text-align:center;font-size:11px;color:#A2ACC0}
.login-foot{position:absolute;bottom:22px;left:0;right:0;text-align:center;color:#9AA5B8;font-size:11px;z-index:2}

/* ---------- 表单 / 弹窗 ---------- */
.field{margin-bottom:13px}
.field label{display:block;font-size:12.5px;font-weight:600;color:#39435A;margin-bottom:6px}
.input,textarea.input,select.input{width:100%;border:1.5px solid #E6EBF3;border-radius:10px;padding:10px 12px;font-size:14px;outline:none;background:#F9FBFE;font-family:inherit;color:var(--ink);transition:border .15s,background .15s}
.input:focus{border-color:var(--blue);background:#fff}
textarea.input{resize:vertical;min-height:80px;line-height:1.6}
@media(max-width:699px){.input,textarea.input,select.input{font-size:16px}}
.seg{display:flex;background:#F1F4FA;border-radius:10px;padding:3px;gap:3px}
.seg-btn{flex:1;border:none;background:transparent;padding:8px 6px;border-radius:8px;font-size:12.5px;font-weight:600;color:#6B7488;cursor:pointer;transition:.15s}
.seg-btn.active{background:#fff;color:var(--blue);box-shadow:0 1px 4px rgba(15,23,42,.1)}
.checkline{display:flex;align-items:center;gap:8px;font-size:13px;color:#39435A;cursor:pointer;user-select:none}
.checkline input{width:16px;height:16px;accent-color:var(--blue)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.range-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:460px;margin-bottom:14px}
@media(min-width:700px){.filter-row{max-width:620px}}
@media(max-width:400px){.form-row{grid-template-columns:1fr}}
.modal-mask{position:fixed;inset:0;background:rgba(8,16,34,.55);z-index:100;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:fade .18s}
.modal{background:#fff;width:100%;max-width:560px;border-radius:22px 22px 0 0;max-height:90vh;overflow-y:auto;padding:20px 20px calc(20px + env(safe-area-inset-bottom));animation:up .22s ease-out}
.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.modal-head h3{font-size:17px;font-weight:800}
@media(min-width:700px){
  .modal-mask{align-items:center}
  .modal{border-radius:18px;padding:24px;max-height:86vh}
}
@keyframes fade{from{opacity:0}}
@keyframes up{from{transform:translateY(26px);opacity:.6}}
.up-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:13px}
.up-item{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#F2F5FA}
.up-item img{width:100%;height:100%;object-fit:cover}
.up-del{position:absolute;top:4px;right:4px;background:rgba(0,0,0,.6);color:#fff;border:none;border-radius:50%;width:21px;height:21px;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1}
.up-add{aspect-ratio:1;border:1.5px dashed #C9D2E2;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#96A2B8;gap:4px;cursor:pointer;background:#FBFCFE;font-size:11px;font-weight:600}
.up-add svg{width:24px;height:24px}
.up-add:hover{border-color:var(--blue);color:var(--blue);background:#F5F8FF}
.sub-task-hint{background:#F8FAFE;border-radius:11px;padding:11px 13px;margin-bottom:14px}
.sub-task-hint b{font-size:13.5px}
.sub-task-hint p{font-size:11.5px;color:var(--sub);margin-top:3px;line-height:1.5}
.quick-reasons{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.load-status{text-align:center;font-size:11.5px;color:#9AA5B8;margin-top:8px}
#toast-root{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:300;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;width:max-content;max-width:90vw}
.toast{background:#101E38;color:#fff;padding:10px 18px;border-radius:100px;font-size:13px;font-weight:500;box-shadow:0 12px 34px rgba(8,20,50,.3);animation:tin .22s ease-out;max-width:86vw}
.toast.err{background:#D93A3F}
.toast.ok{background:#0C8A57}
@keyframes tin{from{transform:translateY(-8px);opacity:0}}
.lightbox{position:fixed;inset:0;background:rgba(4,10,22,.95);z-index:200;display:flex;align-items:center;justify-content:center;animation:fade .15s}
.lightbox img{max-width:96vw;max-height:88vh;object-fit:contain;border-radius:4px}
.lb-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.14);border:none;color:#fff;font-size:19px;cursor:pointer}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:56px;background:rgba(255,255,255,.1);border:none;color:#fff;font-size:26px;cursor:pointer;border-radius:10px}
.lb-nav.prev{left:10px}.lb-nav.next{right:10px}
.lb-count{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);color:#C9D2E4;font-size:12px;background:rgba(255,255,255,.1);padding:4px 12px;border-radius:100px}

/* ---------- 分组排期 / 截止提醒 / 里程碑 ---------- */
.tc.due-soon, .todo-item.due-soon { background: #FFF7F7; border-color: #F2C4C4; }
.tc.overdue, .todo-item.overdue { background: #FFF0F0; border-color: #E7A6A6; }
.tc.due-soon .tc-right .m, .tc.overdue .tc-right .m { color: #D1544F; }
.todo-item.due-soon .todo-main span, .todo-item.overdue .todo-main span { color: #C34C47; }
.tc-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:7px; }
.tc-tag { display:inline-flex; align-items:center; gap:4px; padding:3px 7px; border-radius:7px; background:#F0F4FB; color:#60708C; font-size:10px; font-weight:600; }
.tc-tag.hot { background:#FFF0F0; color:#D1544F; }
.tc-tag.gold { background:#FFF7E6; color:#B7791F; }
.deadline-banner { display:flex; align-items:center; gap:9px; padding:10px 13px; border-radius:12px; margin:0 0 12px; font-size:12px; font-weight:700; background:#F0F6FF; color:#2E6BFF; }
.deadline-banner .di { width:26px; height:26px; border-radius:8px; display:grid; place-items:center; background:#fff; flex:none; }
.deadline-banner.soon { background:#FFF4F4; color:#D1544F; }
.deadline-banner.overdue { background:#FFECEC; color:#C0392B; }
.ms-card { margin-top:12px; }
.ms-row { padding:10px 0; border-top:1px dashed #E7EDF7; }
.ms-row:first-child { border-top:0; }
.ms-top { display:flex; justify-content:space-between; gap:8px; align-items:flex-start; }
.ms-top b { display:block; font-size:12.5px; color:#14213D; }
.ms-top span { display:block; font-size:10.5px; color:#96A2B8; margin-top:2px; }
.ms-award { flex:none; font-size:10px; padding:3px 7px; border-radius:7px; background:#EEF9F2; color:#16A45C; font-weight:700; }
.ms-award.pending { background:#FFF7E6; color:#B7791F; }
.ms-award.done { background:#F0F4FB; color:#60708C; }
.ms-bar { height:5px; border-radius:99px; background:#EDF2FA; margin-top:7px; overflow:hidden; }
.ms-bar i { display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,#5B8FFF,#2E6BFF); }
.group-strip { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:11px 14px; margin-bottom:14px; }
.group-strip b { font-size:12px; }
.group-chip { display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border-radius:8px; background:#F0F4FB; color:#51627D; font-size:10.5px; font-weight:600; }
.group-chip em { font-style:normal; color:#96A2B8; font-weight:500; }
.schedule-seg { display:flex; gap:6px; flex-wrap:wrap; }
.day-pick { display:flex; flex-wrap:wrap; gap:6px; }
.day-pick button { width:36px; height:32px; border-radius:8px; border:1px solid #E2E9F5; background:#fff; color:#51627D; font-size:11px; cursor:pointer; }
.day-pick button.on { background:#EAF1FF; border-color:#BBD0FF; color:#2E6BFF; font-weight:700; }
.group-row { display:flex; justify-content:space-between; gap:10px; align-items:center; padding:12px 0; border-top:1px dashed #E7EDF7; }
.group-row:first-child { border-top:0; }
.group-row b { font-size:12.5px; }
.group-row span { display:block; font-size:10.5px; color:#96A2B8; margin-top:3px; }

.ai-stage-label{font-size:10px;font-weight:700;letter-spacing:.04em;color:#96A2B8;text-transform:uppercase;margin:10px 0 2px;}

.todo-item.due-soon .todo-main span, .todo-item.overdue .todo-main span { white-space:normal; line-height:1.55; }

/* ---------- v7：当天任务 / 岗位 / 会员图表 ---------- */
.hall-today .panel-head { align-items: baseline; }
.tc-tag.pos { background:#EAF1FF; color:#2E6BFF; }
.tc-actions { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.tc-ms { margin-top:9px; padding:9px 11px 7px; border-radius:11px; background:#F8FAFF; border:1px solid #EDF2FC; }
.tc-ms-head { font-size:10px; font-weight:700; color:#7C89A2; letter-spacing:.03em; margin-bottom:1px; }
.tc-ms .ms-row { padding:7px 0; }
.tc-ms .ms-top b { font-size:11.5px; }
.tc-ms .ms-top span { font-size:10px; }
.tc-ms .ms-bar { height:4px; margin-top:5px; }
.tc-ms .ms-award { font-size:9.5px; padding:2px 6px; }
@media(max-width:430px) {
  .tc-foot { align-items:flex-start; flex-wrap:wrap; }
  .tc-actions { width:100%; justify-content:flex-end; }
}

.member-chart { margin-bottom:11px; }
.member-chart .line-wrap { margin:2px -2px 0; }
.member-chart .line-wrap svg { width:100%; height:auto; display:block; }
.chart-kpis { display:flex; gap:8px 14px; flex-wrap:wrap; padding:2px 0 5px; font-size:11px; color:#96A2B8; }
.chart-kpis b { color:#1A2A46; font-weight:800; }
.member-chart .donut-wrap { justify-content:flex-start; gap:12px; }

.promo-share { position:relative; z-index:1; display:flex; align-items:center; gap:13px; margin-top:13px; padding:11px; border-radius:14px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16); }
.promo-qr-img { width:92px; height:92px; border-radius:10px; background:#fff; padding:4px; flex:none; }
.promo-share-txt { min-width:0; }
.promo-share-txt b { display:block; font-size:13px; }
.promo-share-txt span { display:block; font-size:10.5px; opacity:.7; margin:3px 0 8px; line-height:1.5; }
.promo-share-txt .btn { background:#fff; color:#143C82; border:none; font-size:11px; padding:6px 10px; border-radius:8px; }
.act-list { padding:2px 14px 4px; }
.act-row { display:flex; align-items:center; gap:10px; padding:11px 0; border-bottom:1px solid #F2F5FA; }
.act-row:last-child { border-bottom:none; }
.act-row .avatar { width:36px; height:36px; font-size:13px; flex:none; }
.act-main { flex:1; min-width:0; }
.act-main b { display:flex; align-items:center; gap:5px; font-size:12.5px; }
.act-main span { display:block; color:#96A2B8; font-size:10.5px; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.act-lv { font-style:normal; font-size:9px; color:#2E6BFF; background:#EAF1FF; border-radius:5px; padding:1px 4px; font-weight:600; }
.act-row .pill { flex:none; font-size:10px; }
.qr-modal { text-align:center; padding:6px 0 2px; }
.qr-modal img { width:220px; height:220px; max-width:100%; border-radius:14px; border:1px solid #E7EDF7; background:#fff; padding:8px; }
.qr-modal p { font-size:11.5px; color:#7C89A2; line-height:1.6; margin:10px 0; }
.qr-link { font-size:10.5px; color:#5A6780; background:#F5F8FD; border:1px solid #EAF0FA; border-radius:9px; padding:8px 10px; word-break:break-all; margin-bottom:12px; }

/* ---------- v9：成员管理筛选与详情抽屉 ---------- */
.member-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:11px 12px;margin-bottom:12px}
.member-toolbar #memberSearch{flex:1;min-width:210px}
.member-toolbar select{width:auto;min-width:118px;flex:none}
.member-filter-count{font-size:11px;color:#96A2B8;margin-left:auto;white-space:nowrap}
.member-card{cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s}
.member-card:hover{border-color:#C9D9F5;box-shadow:0 8px 22px rgba(36,74,140,.07);transform:translateY(-1px)}
.member-card .mc-actions .btn-primary{background:#EAF1FF;color:#2E6BFF;border-color:#D6E3FF}
.member-filter-empty{margin-top:10px}
#drawer-root{position:relative;z-index:90}
#admin-drawer-root{position:relative;z-index:95}
.admin-drawer-panel{width:min(760px,100%)}
.admin-drawer-body{padding:0 20px 30px;background:#F5F8FD}
.admin-drawer-body .modal-head{position:sticky;top:0;z-index:4;margin:0 -20px 18px;padding:18px 20px 15px;background:#fff;border-bottom:1px solid #EDF2FA}
.admin-drawer-body .modal-head h3{font-size:19px;letter-spacing:-.2px}
.admin-drawer-body > .btn-block:last-child{margin-top:14px}
.drawer-mask{position:fixed;inset:0;display:flex;justify-content:flex-end;background:rgba(8,16,34,.42);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.drawer-mask.drawer-anim{animation:fade .18s}
.drawer-panel{width:min(620px,100%);height:100%;background:#F5F8FD;display:flex;flex-direction:column;box-shadow:-16px 0 48px rgba(9,23,49,.18);overflow:hidden}
.drawer-panel.drawer-anim{animation:drawerIn .24s ease-out}
@keyframes drawerIn{from{transform:translateX(36px);opacity:.45}to{transform:translateX(0);opacity:1}}
.drawer-head{background:#fff;padding:18px 20px 16px;border-bottom:1px solid #EDF2FA;flex:none}
.drawer-person{display:flex;align-items:flex-start;gap:12px}
.drawer-avatar{width:52px!important;height:52px!important;font-size:20px!important;flex:none}
.drawer-person-main{flex:1;min-width:0}
.drawer-kicker{font-size:10px;font-weight:800;letter-spacing:.08em;color:#96A2B8;text-transform:uppercase}
.drawer-head h2{font-size:21px;line-height:1.25;color:#14213D;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}
.drawer-head h2 .pill{font-size:10px;padding:3px 8px}
.drawer-head p{font-size:11.5px;color:#7C89A2;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer-close{margin-left:auto;flex:none}
.drawer-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}
.drawer-kpis > div{padding:10px 11px;border:1px solid #EDF2FA;border-radius:12px;background:#F8FAFF;min-width:0}
.drawer-kpis b{display:block;font-size:19px;line-height:1.15;color:#1A2A46;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer-kpis span{display:block;font-size:10.5px;color:#96A2B8;margin-top:3px}
.drawer-kpis .drawer-money{color:#16A45C}
.drawer-body{flex:1;overflow-y:auto;padding:14px 18px 28px}
.drawer-actions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.drawer-actions .btn{padding:6px 10px;font-size:11px;border-radius:8px;background:#fff}
.drawer-actions .btn-primary{background:#2E6BFF;color:#fff;border-color:#2E6BFF}
.drawer-tabs{display:flex;gap:3px;padding:4px;background:#fff;border:1px solid #E8EFF9;border-radius:12px;margin-bottom:12px;overflow-x:auto}
.drawer-tab{border:0;background:transparent;padding:7px 10px;border-radius:8px;color:#7C89A2;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer;flex:1}
.drawer-tab.active{background:#EAF1FF;color:#2E6BFF}
.drawer-section{background:#fff;border:1px solid #E9F0FA;border-radius:14px;padding:14px;margin-bottom:12px;box-shadow:0 4px 14px rgba(25,61,124,.035)}
.drawer-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.drawer-section-head h3{font-size:13px;font-weight:800;color:#1A2A46}
.drawer-section-head > span{font-size:10px;color:#96A2B8;text-align:right;line-height:1.4}
.drawer-link{border:0;background:transparent;color:#2E6BFF;font-size:10.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.drawer-info{display:grid;grid-template-columns:1fr 1fr;gap:11px 14px}
.drawer-info > div{min-width:0}
.drawer-info span{display:block;font-size:10px;color:#96A2B8}
.drawer-info b{display:block;font-size:12px;color:#31415F;font-weight:600;margin-top:2px;word-break:break-all}
.drawer-info b.mono{font-family:monospace;letter-spacing:.03em}
.drawer-money-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.drawer-money-grid > div{background:#F8FAFD;border-radius:10px;padding:9px 10px;min-width:0}
.drawer-money-grid span{display:block;font-size:10px;color:#96A2B8}
.drawer-money-grid b{display:block;font-size:13px;color:#1A2A46;margin-top:2px}
.drawer-money-grid b.up,.drawer-list-main b.up{color:#16A45C}
.drawer-money-grid b.down,.drawer-list-main b.down{color:#D1544F}
.drawer-list-row{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-top:1px solid #F2F5FA}
.drawer-list-row:first-of-type{border-top:0;padding-top:0}
.drawer-list-main{flex:1;min-width:0}
.drawer-list-main b{display:block;font-size:12px;color:#31415F;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer-list-main span{display:block;font-size:10.5px;color:#96A2B8;margin-top:3px;line-height:1.5;word-break:break-all}
.drawer-list-main em{font-style:normal;color:#96A2B8;font-weight:500}
.drawer-list-right{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:11px;color:#31415F}
.drawer-list-right .pill{font-size:9.5px;padding:3px 6px}
.drawer-team-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-top:1px solid #F2F5FA;cursor:pointer}
.drawer-team-row:first-of-type{border-top:0;padding-top:0}
.drawer-team-row .avatar{width:34px!important;height:34px!important;font-size:12px!important;flex:none}
.drawer-team-stat{flex:none;text-align:right}
.drawer-team-stat b{display:block;font-size:12px;color:#2E6BFF}
.drawer-team-stat span{display:block;font-size:9.5px;color:#96A2B8;margin-top:2px}
.drawer-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:32px 12px;color:#96A2B8;font-size:11.5px;text-align:center}
.drawer-empty > span{font-size:26px;line-height:1}
.drawer-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:10px;color:#96A2B8;font-size:12px}
.drawer-loading .spin{margin:0}
.drawer-edit-note{font-size:10.5px;color:#96A2B8;line-height:1.7;margin:2px 0 14px}
.drawer-edit-actions{display:flex;justify-content:flex-end;gap:8px}
.drawer-edit-actions .btn{min-width:88px}
@media(max-width:600px){
  .member-toolbar #memberSearch{min-width:100%;order:-1}
  .member-toolbar select{flex:1;min-width:0}
  .member-filter-count{width:100%;text-align:right}
  .drawer-panel{width:100%}
  .drawer-head{padding:15px 16px 13px}
  .drawer-body{padding:12px 13px 22px}
  .drawer-kpis{grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}
  .drawer-kpis b{font-size:17px}
  .drawer-money-grid{grid-template-columns:1fr 1fr}
  .drawer-info{grid-template-columns:1fr}
  .drawer-actions .btn{flex:1 1 auto}
  .drawer-head h2{font-size:19px}
}

/* ---------- v9.1：成员列表（详情操作收进抽屉） ---------- */
.member-list-card{padding:0;overflow:hidden}
.member-list-head,.member-row{display:grid;grid-template-columns:minmax(230px,2.4fr) minmax(110px,1fr) 64px 62px 62px 96px 88px 100px 20px;gap:10px;align-items:center}
.member-list-head{padding:12px 18px;background:#F8FAFE;border-bottom:1px solid #EDF2FA;font-size:10.5px;font-weight:700;color:#96A2B8;letter-spacing:.02em}
.member-row{padding:13px 18px;border-bottom:1px solid #F2F5FA;cursor:pointer;transition:background .16s,box-shadow .16s;min-height:66px}
.member-row:last-child{border-bottom:0}
.member-row:hover{background:#F8FAFF}
.member-row:focus-visible{outline:2px solid #2E6BFF;outline-offset:-2px}
.member-cell{min-width:0}
.member-main{display:flex;align-items:center;gap:10px}
.member-main .avatar{width:38px!important;height:38px!important;font-size:14px!important;flex:none}
.member-id{min-width:0}
.member-id b{display:block;font-size:13px;line-height:1.3;color:#1A2A46;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-id span{display:block;font-size:10.5px;line-height:1.5;color:#96A2B8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-pos{display:flex;align-items:center;min-width:0}
.pos-chip{display:inline-flex;align-items:center;max-width:100%;padding:3px 8px;border-radius:6px;background:#EAF1FF;color:#2E6BFF;font-size:10.5px;font-weight:700;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pos-chip.gray{background:#F4F6FA;color:#96A2B8;font-weight:600}
.member-status{display:flex;align-items:center}
.member-num,.member-money,.member-join{display:flex;flex-direction:column;gap:2px;min-width:0}
.member-num b,.member-money b,.member-join b{font-size:13px;line-height:1.3;color:#31415F;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.member-num span,.member-money span,.member-join span{font-size:9.5px;line-height:1.4;color:#96A2B8;white-space:nowrap}
.member-money b{color:#FF7A1A}
.member-money b.down{color:#D1544F}
.member-join b{font-size:10.5px;font-weight:600;color:#7C89A2}
.member-arrow{font-size:22px;line-height:1;color:#B8C4D8;text-align:right;align-self:center}
.member-mobile-label{display:none}
.member-list-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:38px 12px;color:#96A2B8;font-size:11.5px;text-align:center}
.member-list-empty .ico{font-size:28px;line-height:1}
.member-list-empty b{font-size:13px;color:#5A6780;font-weight:700}
.member-filter-empty{border-top:1px solid #F2F5FA}
@media(max-width:1100px){
  .member-list-head,.member-row{grid-template-columns:minmax(200px,2fr) minmax(100px,1fr) 60px 58px 58px 88px 20px;gap:8px}
  .member-penalty,.member-join{display:none}
}
@media(max-width:760px){
  .member-list-head{display:none}
  .member-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main status" "pos pos" "approved pending" "reward reward";gap:8px 12px;padding:14px 16px;min-height:0}
  .member-main{grid-area:main}
  .member-status{grid-area:status;justify-self:end;flex-direction:row;align-items:center;gap:5px}
  .member-pos{grid-area:pos;flex-direction:row;align-items:center;gap:6px}
  .member-approved{grid-area:approved}
  .member-pending{grid-area:pending}
  .member-reward{grid-area:reward;flex-direction:row;align-items:baseline;gap:6px}
  .member-penalty,.member-join,.member-arrow{display:none}
  .member-mobile-label{display:inline;font-size:10px;color:#96A2B8;font-weight:500}
  .member-approved,.member-pending{display:flex;flex-direction:row;align-items:baseline;gap:5px}
  .member-approved b,.member-pending b{font-size:15px}
  .member-approved span,.member-pending span{font-size:10px}
  .member-reward b{font-size:15px}
  .member-reward span{font-size:10px}
  .pos-chip{font-size:10px}
}

/* ---------- v9.2：抽屉自动保存、切换 ---------- */
.drawer-head-actions{display:flex;align-items:center;gap:6px;flex:none;margin-left:4px}
.drawer-nav{display:flex;align-items:center;gap:2px;background:#F4F7FC;border:1px solid #E7EEF9;border-radius:9px;padding:2px}
.drawer-nav-btn{width:26px;height:26px;border:0;background:transparent;color:#5A6780;font-size:18px;line-height:1;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center}
.drawer-nav-btn:hover{background:#fff;color:#2E6BFF}
.drawer-nav-btn:disabled{opacity:.3;cursor:default}
.drawer-nav > span{font-size:10px;color:#96A2B8;min-width:36px;text-align:center;white-space:nowrap}
.drawer-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.drawer-field{display:block;min-width:0}
.drawer-field > span{display:block;font-size:10px;color:#96A2B8;margin-bottom:4px}
.drawer-field .input{height:36px;font-size:12px;padding:7px 10px}
.drawer-field .input[disabled]{background:#F6F8FC;color:#96A2B8;cursor:not-allowed}
.drawer-autosave{font-size:10px;color:#96A2B8;white-space:nowrap}
.drawer-autosave.ok{color:#16A45C}
.drawer-autosave.err{color:#D1544F}
.drawer-info-sub{margin-top:14px;padding-top:12px;border-top:1px dashed #EEF3FA}
@media(max-width:600px){
  .drawer-head-actions{gap:2px}
  .drawer-nav > span{min-width:30px;font-size:9px}
  .drawer-nav-btn{width:23px;height:23px}
  .drawer-form-grid{grid-template-columns:1fr}
}

/* ---------- v9.3：登录页免密与密码可见 ---------- */
.password-wrap{position:relative}
.password-wrap .input{padding-right:58px}
.pw-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#2E6BFF;font-size:11px;font-weight:700;padding:5px 7px;border-radius:6px;cursor:pointer}
.pw-toggle:hover{background:#EEF4FF}
.login-remember{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:9px 0 12px;font-size:11.5px;color:#4A5A76;cursor:pointer;line-height:1.4}
.login-remember input{width:15px;height:15px;accent-color:#2E6BFF;margin:0;flex:none}
.login-remember span{font-weight:700}
.login-remember em{font-style:normal;color:#9AA5B8;font-size:10px;width:100%;padding-left:21px;margin-top:-3px}
.login-tip{line-height:1.7}

/* ---------- v9.5：开放注册与收款码 ---------- */
.drawer-payment{display:flex;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px dashed #EEF3FA;font-size:10px;color:#96A2B8}
.drawer-payment img{width:74px;height:74px;border-radius:9px;object-fit:contain;background:#fff;border:1px solid #E6EDF7;padding:4px;cursor:zoom-in}

.reg-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
@media(max-width:640px){.reg-toggle-grid{grid-template-columns:1fr}}

.reg-account-hint{font-style:normal;color:#96A2B8;font-size:10px;font-weight:500;margin-left:4px}
.reg-qr-field > label em{font-style:normal;color:#2E6BFF;font-size:10px;font-weight:600;margin-left:4px}
.reg-qr-upload{display:flex;align-items:center;gap:10px;background:#F8FAFE;border:1px dashed #DCE5F2;border-radius:12px;padding:9px;transition:.15s}
.reg-qr-upload.dragging{border-color:#2E6BFF;background:#EFF5FF;box-shadow:0 0 0 3px rgba(46,107,255,.1)}
.reg-qr-box{width:82px;height:82px;border-radius:10px;background:#fff;border:1px solid #E6EDF7;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none;overflow:hidden}
.reg-qr-box img{width:100%;height:100%;object-fit:contain;padding:3px}
.reg-qr-box > span{text-align:center;color:#2E6BFF;font-size:22px;line-height:1}
.reg-qr-box small{display:block;font-size:9px;color:#7C89A2;margin-top:4px}
.reg-qr-side{flex:1;min-width:0}
.reg-qr-side .input{height:36px;font-size:11.5px;padding:7px 9px}
.reg-qr-side p{font-size:9.5px;color:#96A2B8;line-height:1.5;margin-top:5px}
@media(max-width:520px){
  .login-wrap{align-items:flex-start;padding:16px 14px}
  .login-card{padding:26px 20px 22px;margin:0 auto}
}
/* ---------- v9.4：消息回复 ---------- */
.msg-replies{margin-top:10px;padding-top:9px;border-top:1px dashed #EFF3F9}
.msg-replies:empty{display:none}
.msg-reply{padding:7px 0}
.msg-reply + .msg-reply{border-top:1px dashed #F2F5FA}
.msg-reply-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px}
.msg-reply-head b{font-size:11px;color:#2E6BFF;font-weight:700}
.msg-reply-head span{font-size:9.5px;color:#A6B0C2}
.msg-reply p{font-size:11.5px;color:#4A5A76;line-height:1.65;white-space:pre-wrap;word-break:break-word}
.msg-reply-box{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:9px;border-top:1px dashed #EFF3F9;cursor:default}
.msg-reply-box .input{height:36px;font-size:12px;flex:1;min-width:0}
.msg-reply-box .btn{height:36px;padding:7px 14px;flex:none}
.msg-admin-main b .pill{font-size:9.5px;padding:3px 7px;margin-left:4px;vertical-align:middle}
.msg-reply-detail-head{background:#F8FAFE;border:1px solid #EDF2FA;border-radius:12px;padding:12px 14px;margin-bottom:12px}
.msg-reply-detail-head b{display:block;font-size:13.5px;color:#1A2A46}
.msg-reply-detail-head span{display:block;font-size:10px;color:#96A2B8;margin-top:4px}
.msg-reply-detail-head p{font-size:12px;color:#4A5A76;line-height:1.7;margin-top:8px;white-space:pre-wrap;word-break:break-word}
.msg-reply-admin-list{max-height:48vh;overflow-y:auto}
.msg-reply-admin-row{display:flex;align-items:flex-start;gap:9px;padding:11px 0;border-top:1px dashed #EFF3F9}
.msg-reply-admin-row:first-child{border-top:0;padding-top:0}
.msg-reply-admin-row .avatar{width:32px!important;height:32px!important;font-size:12px!important;flex:none}
.msg-reply-admin-main{flex:1;min-width:0}
.msg-reply-admin-main > div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.msg-reply-admin-main b{font-size:12px;color:#31415F}
.msg-reply-admin-main b em{font-style:normal;font-size:10px;color:#96A2B8;font-weight:500}
.msg-reply-admin-main span{font-size:9.5px;color:#A6B0C2;flex:none}
.msg-reply-admin-main p{font-size:12px;color:#4A5A76;line-height:1.65;margin-top:4px;white-space:pre-wrap;word-break:break-word}
@media(max-width:600px){
  .msg-reply-box .btn{padding:7px 10px}
}
.login-hint{font-size:10.5px;color:#A2ACC0;margin:-3px 0 9px;text-align:right}

/* ---------- v9.6：分步注册、收款码类型与注册说明 ---------- */
.form-row.single{grid-template-columns:1fr}
.reg-progress{margin:2px 0 16px}
.reg-progress-track{height:4px;border-radius:999px;background:#EDF2FA;overflow:hidden}
.reg-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3D8BFF,#1E5BFF);transition:width .22s ease}
.reg-progress-caption{display:flex;justify-content:space-between;gap:10px;margin-top:7px;font-size:10px;color:#9AA5B8;line-height:1.4}
.reg-progress-caption b{font-weight:700;color:#5A6B86}
.reg-step-intro{margin:2px 0 14px}
.reg-step-intro h4{font-size:15px;font-weight:800;color:#22324E;line-height:1.35;margin:0}
.reg-step-intro p{font-size:11px;color:#8895AA;line-height:1.6;margin:4px 0 0}
.reg-step-actions{display:flex;gap:8px;margin-top:5px}
.reg-step-actions .btn{height:44px;font-size:14px}
.reg-back-btn{flex:0 0 88px}
.reg-next-btn,.reg-submit-btn{flex:1;min-width:0}
.reg-remember{margin-top:15px}
.reg-notice{display:flex;gap:8px;background:#F7FAFF;border:1px solid #E1EAF7;border-radius:10px;padding:10px 12px;margin:-7px 0 14px;font-size:11px;line-height:1.65;color:#5A6780}
.reg-notice-dot{width:16px;height:16px;border-radius:50%;background:#E8F0FF;color:#2E6BFF;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px}
.reg-notice > div{min-width:0;white-space:pre-wrap;word-break:break-word}
.reg-pay-fixed{height:36px;display:flex;align-items:center;padding:0 10px;border:1px solid #E6EDF7;border-radius:10px;background:#fff;font-size:11.5px;color:#39435A}
.reg-extra-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px 16px;margin-top:14px}
.reg-extra-grid .field{margin-bottom:0}
.reg-extra-grid textarea.input{min-height:74px;font-size:12px}
@media(max-width:640px){
  .reg-extra-grid{grid-template-columns:1fr}
}

/* ---------- v11：任务编辑抽屉 ---------- */
.task-editor-shell{display:flex;flex-direction:column;min-height:100vh;margin:0 -20px -30px;background:#F5F8FD}
.task-editor-head{position:sticky;top:0;z-index:6;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 22px 15px;background:rgba(255,255,255,.98);border-bottom:1px solid #EDF2FA;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.te-head-main{min-width:0}
.te-head-main h3{font-size:19px;font-weight:800;line-height:1.3;color:#17233B;letter-spacing:-.2px}
.te-head-main p{font-size:10.5px;color:#96A2B8;margin-top:3px;line-height:1.45}
.te-head-side{display:flex;align-items:center;gap:8px;flex:none}
.task-editor-scroll{flex:1;padding:16px 22px 18px}
.te-section{background:#fff;border:1px solid #E8EEF8;border-radius:16px;padding:16px 18px 5px;margin-bottom:12px;box-shadow:0 3px 12px rgba(34,64,120,.035)}
.te-section-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:15px}
.te-step{width:27px;height:27px;border-radius:9px;background:#EAF1FF;color:#2E6BFF;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none;letter-spacing:.5px}
.te-section-head b{display:block;font-size:14px;font-weight:800;color:#223250;line-height:1.35}
.te-section-head em{display:block;font-style:normal;font-size:10.5px;color:#96A2B8;margin-top:2px;line-height:1.45}
.te-required{font-style:normal;font-size:9px;font-weight:700;color:#D1544F;background:#FFF1F1;border-radius:4px;padding:1px 4px;margin-left:3px;vertical-align:1px}
.te-optional{font-style:normal;font-size:9px;font-weight:500;color:#9AA5B8;background:#F4F6FA;border-radius:4px;padding:1px 4px;margin-left:3px;vertical-align:1px}
.te-help{display:block;font-size:10.5px;color:#9AA5B8;line-height:1.55;margin-top:5px}
.te-tip{background:#F7F9FD;border:1px solid #EAF0F8;border-radius:9px;padding:8px 10px;font-size:10.5px;color:#7C89A2;line-height:1.55;margin:1px 0 11px}
.te-inline-check{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;background:#FAFBFE;border:1px solid #EDF2FA;border-radius:10px;padding:9px 11px;margin:0 0 11px}
.te-inline-check > span{font-size:10px;color:#96A2B8;line-height:1.5;text-align:right;max-width:58%}
.te-note{display:flex;flex-direction:column;gap:3px;background:#F3F7FF;border:1px solid #DCE8FF;border-radius:10px;padding:10px 11px;margin:1px 0 11px}
.te-note b{font-size:10.5px;color:#2E5FAF}
.te-note span{font-size:10px;color:#6E83A5;line-height:1.55}
.te-hidden{display:none!important}
.task-editor-footer{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid #E8EEF8;box-shadow:0 -8px 22px rgba(34,64,120,.06);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);margin-top:auto}
.te-save-tip{display:flex;flex-direction:column;gap:2px;min-width:0}
.te-save-tip b{font-size:11px;color:#31415F}
.te-save-tip span{font-size:9.5px;color:#9AA5B8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.te-footer-actions{display:flex;gap:8px;flex:none}
.te-footer-actions .btn{min-width:92px;height:40px;border-radius:10px}
@media(max-width:600px){
  .task-editor-shell{margin:0 -13px -22px}
  .task-editor-head{padding:15px 14px 12px}
  .te-head-main h3{font-size:17px}
  .task-editor-scroll{padding:12px 12px 10px}
  .te-section{padding:14px 13px 4px;border-radius:14px}
  .te-inline-check{flex-direction:column;gap:5px}
  .te-inline-check > span{max-width:100%;text-align:left}
  .task-editor-footer{padding:10px 12px calc(10px + env(safe-area-inset-bottom));flex-wrap:wrap}
  .te-save-tip{width:100%}
  .te-footer-actions{width:100%;display:grid;grid-template-columns:1fr 1.35fr}
  .te-footer-actions .btn{width:100%}
}

/* ---------- v11：任务管理筛选栏 ---------- */
.ph-actions{flex-wrap:wrap;justify-content:flex-end}
.task-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #E8EEF8;border-radius:14px;padding:10px 12px;margin-bottom:12px;box-shadow:0 3px 12px rgba(34,64,120,.03)}
.task-search-wrap{display:flex;align-items:center;gap:7px;flex:1;min-width:220px;background:#F7F9FD;border:1px solid #E8EEF8;border-radius:10px;padding:0 10px;height:36px;color:#96A2B8}
.task-search-wrap svg{width:15px;height:15px;flex:none}
.task-search-wrap input{border:0;background:transparent;outline:0;font-family:inherit;font-size:12px;color:#31415F;flex:1;min-width:0;height:100%}
.task-search-wrap input::placeholder{color:#A6B0C2}
.task-status-tabs{display:flex;background:#F4F7FC;border-radius:9px;padding:3px;gap:2px;flex:none}
.task-status-tabs button{border:0;background:transparent;border-radius:7px;padding:6px 11px;font-size:11px;font-weight:600;color:#7C89A2;cursor:pointer;font-family:inherit}
.task-status-tabs button.active{background:#fff;color:#2E6BFF;box-shadow:0 1px 4px rgba(20,50,100,.12)}
.task-filter-count{font-size:10.5px;color:#96A2B8;white-space:nowrap;margin-left:auto}
@media(max-width:600px){
  .task-toolbar{gap:8px;padding:9px 10px}
  .task-search-wrap{min-width:100%;order:1}
  .task-status-tabs{order:2}
  .task-filter-count{order:2;margin-left:0}
}

/* ---------- v11：审核导入粘贴 ---------- */
.review-import-divider{display:flex;align-items:center;gap:10px;margin:4px 0 14px;color:#A2ACC0;font-size:10px}
.review-import-divider::before,.review-import-divider::after{content:"";height:1px;background:#EAF0F8;flex:1}
.review-import-divider span{white-space:nowrap}

/* ---------- v12：任务说明配图 ---------- */
.dh-desc-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;margin-top:10px}
.dh-desc-images img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:11px;border:1px solid #E7EEF8;background:#F4F6FA;cursor:zoom-in}
.dh-desc-images img:only-child{aspect-ratio:auto;max-height:260px;object-fit:contain;background:#fff}

/* ---------- v12：任务编辑-说明配图与步骤 ---------- */
.te-image-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:78px;border:1.5px dashed #C9D8EE;border-radius:12px;background:#FAFCFF;color:#5F7191;cursor:pointer;transition:.15s;text-align:center;padding:12px}
.te-image-upload span{font-size:12px;font-weight:700}
.te-image-upload small{font-size:10px;color:#9AA8BC;line-height:1.45}
.te-image-upload:hover,.te-image-upload.dragging{border-color:#3D70E8;background:#F2F7FF}
.te-image-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:9px}
.te-image-item{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;border:1px solid #E4ECF7;background:#F4F6FA}
.te-image-item img{width:100%;height:100%;object-fit:cover;display:block}
.te-image-del{position:absolute;top:4px;right:4px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(24,36,58,.72);color:#fff;font-size:11px;line-height:24px;cursor:pointer;padding:0}
.te-image-del:hover{background:#D1544F}
.te-steps-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:2px 0 8px}
.te-steps-head label{display:block;margin:0 0 2px}
.te-steps-head .te-help{margin:0}
.te-steps-empty{border:1px dashed #D8E3F3;border-radius:11px;background:#FAFCFF;padding:15px 12px;text-align:center;font-size:10.5px;color:#93A2B8;line-height:1.6}
.te-step-row{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #EDF2FA;border-radius:12px;background:#FBFCFE;margin-bottom:8px}
.te-step-num{flex:0 0 23px;height:23px;border-radius:7px;background:#EAF1FF;color:#2E5FD0;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;margin-top:7px}
.te-step-fields{flex:1;min-width:0}
.te-step-fields .input{margin-bottom:6px}
.te-step-fields .input:last-child{margin-bottom:0}
.te-step-actions{display:flex;flex-direction:column;gap:3px}
.te-step-actions .icon-btn{width:23px;height:23px;font-size:11px;border-radius:6px;border:1px solid #E7EEF8;background:#fff;color:#7183A0}
.te-step-actions .icon-btn:disabled{opacity:.3;cursor:default}
.te-step-actions .te-step-del:hover{color:#D1544F;border-color:#F4C9C7}
@media(max-width:520px){
  .te-image-previews{grid-template-columns:repeat(3,1fr)}
  .te-step-row{padding:8px;gap:7px}
  .te-step-num{flex-basis:20px;height:20px}
  .te-step-actions .icon-btn{width:21px;height:21px}
}
.ai-opinion{margin-top:9px;background:#F4F8FF;border:1px solid #E1EBFB;border-radius:9px;padding:8px 10px;font-size:11.5px;line-height:1.65;color:#4B5E7D}
.ai-opinion b{color:#2E5FAF}
/* 任务编辑分区折叠 */
.te-section-head{cursor:pointer;user-select:none}
.te-section-head::after{content:'▾';margin-left:auto;color:#9BA8BC;font-size:12px;transition:transform .15s;flex:none}
.te-section.collapsed{padding-bottom:16px}
.te-section.collapsed > *:not(.te-section-head){display:none}
.te-section.collapsed .te-section-head::after{transform:rotate(-90deg)}
.te-section.collapsed .te-section-head{margin-bottom:0}

/* ---------- v13：审核中心列表 ---------- */
.review-table-wrap{background:#fff;border:1px solid #E8EEF8;border-radius:14px;box-shadow:0 5px 18px rgba(31,65,130,.04);margin-top:2px}
.review-table{min-width:1040px;table-layout:fixed}
.review-table th{background:#F8FAFE;border-bottom:1px solid #EAF0F8;padding:10px 12px;font-size:10.5px}
.review-table td{padding:12px;border-bottom:1px solid #F0F4FA;vertical-align:top;white-space:normal}
.review-table tr:last-child td{border-bottom:none}
.review-table th:nth-child(1){width:152px}
.review-table th:nth-child(2){width:220px}
.review-table th:nth-child(3){width:auto}
.review-table th:nth-child(4){width:142px}
.review-table th:nth-child(5){width:78px}
.review-table th:nth-child(6){width:150px}
.rv-user{display:flex;align-items:center;gap:9px;min-width:0}
.rv-user .avatar{width:34px;height:34px;font-size:13px;flex:none}
.rv-user div{min-width:0}
.rv-user b{display:block;font-size:12.5px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv-user span{display:block;font-size:10.5px;color:#9AA5B8;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv-task b{display:block;font-size:12.5px;line-height:1.45;font-weight:700}
.rv-task > span{display:block;font-size:10.5px;color:#96A2B8;margin-top:3px}
.rv-task em{display:block;font-style:normal;font-size:10.5px;line-height:1.55;color:#64748B;background:#F8FAFE;border-radius:7px;padding:5px 7px;margin-top:6px}
.rv-review{min-width:0}
.rv-review .ai-mini{margin-top:0;padding:7px 8px}
.rv-review .ai-mini .desc{font-size:10px;line-height:1.5}
.rv-review .mini-checks{gap:3px}
.rv-review .mini-chip{font-size:9px;padding:2px 5px}
.rv-opinion,.rv-reject{font-size:10.5px;line-height:1.55;border-radius:7px;padding:5px 7px;margin-top:6px}
.rv-opinion{background:#F4F8FF;border:1px solid #E1EBFB;color:#4B5E7D}
.rv-opinion b{color:#2E5FAF}
.rv-reject{background:#FFF5F5;border:1px solid #F8DCDC;color:#B4393E}
.rv-thumbs{display:flex;flex-wrap:wrap;gap:5px}
.rv-thumbs img{width:50px;height:50px;object-fit:cover;border-radius:7px;border:1px solid #E7EEF8;cursor:zoom-in;background:#F4F6FA}
.rv-muted{font-size:10.5px;color:#A2ACC0}
.rv-actions{display:flex;flex-direction:column;gap:6px;align-items:stretch}
.rv-actions .btn{width:100%;padding:6px 8px;font-size:11.5px}
.review-empty{padding:34px 18px;text-align:center;color:#96A2B8;font-size:12px}
@media(max-width:720px){
  .review-table{min-width:980px}
  .review-table td{padding:10px 9px}
}

/* ---------- v14：成员资料编辑 ---------- */
.drawer-field-full{grid-column:1 / -1}
.drawer-qr-edit{display:flex;align-items:center;gap:12px;background:#F8FAFE;border:1px dashed #DCE7F6;border-radius:10px;padding:10px}
.drawer-qr-edit > img{width:72px;height:72px;border-radius:8px;object-fit:contain;background:#fff;border:1px solid #E6EDF7;padding:3px;cursor:zoom-in;flex:none}
.drawer-qr-empty{width:72px;height:72px;border-radius:8px;background:#fff;border:1px dashed #D5E1F1;color:#A2ACC0;display:flex;align-items:center;justify-content:center;font-size:10px;flex:none;text-align:center}
.drawer-qr-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;min-width:0}
.drawer-qr-actions .btn{padding:6px 10px;font-size:11px}
.drawer-qr-actions p{flex-basis:100%;margin:0;font-size:10px;line-height:1.55;color:#96A2B8}
@media(max-width:900px){.drawer-qr-edit{align-items:flex-start}}

/* ---------- v14：首页经营工具 ---------- */
.home-tools{display:grid;grid-template-columns:1fr;gap:10px;margin:16px 0 14px}
@media(min-width:900px){.home-tools{grid-template-columns:1fr 1fr;gap:12px}}
.home-tool{display:flex;align-items:flex-start;gap:12px;padding:16px 16px;margin-bottom:0}
.home-tool-ico{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.home-tool-ico svg{width:19px;height:19px}
.home-tool-main{flex:1;min-width:0}
.home-tool-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.home-tool-head b{font-size:14px;font-weight:800;color:#17233B}
.home-tool-tag{font-size:9.5px;color:#8A96AD;background:#F2F5FA;border-radius:999px;padding:2px 7px}
.home-tool-main p{font-size:10.5px;line-height:1.6;color:#96A2B8;margin:5px 0 0}
.home-tool-metrics{display:flex;gap:6px 14px;flex-wrap:wrap;margin-top:8px;font-size:10.5px;color:#7C89A2}
.home-tool-metrics b{color:#31415F;font-weight:800;font-variant-numeric:tabular-nums}
.home-tool > .btn{flex:none;align-self:center;padding:6px 9px;font-size:10.5px;white-space:nowrap}
@media(max-width:600px){.home-tool{align-items:flex-start}.home-tool > .btn{align-self:flex-start;margin-top:2px}}

/* v14 独立测试环境标识 */
html.is-test-env body::after{
  content:"测试环境 · 数据均为模拟";
  position:fixed;left:50%;top:10px;transform:translateX(-50%);z-index:9999;pointer-events:none;
  background:rgba(255,138,0,.94);color:#fff;font-size:12px;font-weight:700;
  padding:6px 10px;border-radius:999px;box-shadow:0 6px 18px rgba(255,138,0,.25);
}
@media (max-width:760px){
  html.is-test-env body::after{top:8px;font-size:11px;padding:5px 8px}
}

/* 测试站一键登录 */
.test-quick-login{margin-top:14px;padding-top:13px;border-top:1px dashed #D9E3F1;text-align:center}
.test-login-btn{width:100%;height:42px;border:1px dashed #F0B35B;background:#FFF8EC;color:#B75B00;font-weight:700;font-size:14px;border-radius:12px;cursor:pointer;transition:background .18s ease,border-color .18s ease}
.test-login-btn:hover{background:#FFF1D9;border-color:#E89B35}
.test-login-btn:disabled{opacity:.65;cursor:wait}
.test-login-note{display:block;margin-top:7px;font-size:11px;color:#98A4B8}
.test-quick-login-top{margin:12px 16px 0;padding:12px 12px 10px;background:rgba(255,255,255,.86);border:1px solid #FFE1B5;border-radius:14px;box-shadow:0 5px 16px rgba(183,91,0,.06)}
.test-quick-login-top .test-login-btn{height:40px}
