
*{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}}
/* ---------- 消息通知 ---------- */
.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-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}}

/* ---------- 会员端 ---------- */
.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}
.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}
@media(min-width:900px){
  .skyline{display:none}
}

/* ---------- 管理端列表页 ---------- */
.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 .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}
@media(min-width:900px){.detail-submit{left:236px}}

/* ---------- 钱包 / 提现 ---------- */
.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:radial-gradient(900px 620px at 8% -6%,#2E6BFF 0%,#123E8C 38%,#0A1E3E 72%,#081428 100%);position:relative;overflow:hidden}
.login-wrap::before{content:"";position:absolute;width:640px;height:640px;right:-240px;bottom:-260px;border-radius:50%;background:radial-gradient(circle,rgba(78,141,255,.32),transparent 66%)}
.login-wrap::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(circle at 30% 20%,#000,transparent 70%)}
.login-card{width:100%;max-width:392px;background:#fff;border-radius:22px;padding:34px 28px 28px;box-shadow:0 40px 110px rgba(0,10,30,.55);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:rgba(255,255,255,.35);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; }
