* { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #F5F7FA;
    color: #1A1F2B;
    font-size: 14px;
  }
  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px 60px; }

  /* 登录 */
  .login-wrap { max-width: 380px; margin: 14vh auto 0; background: #fff; border-radius: 16px; padding: 40px 32px; box-shadow: 0 4px 24px rgba(20,40,80,.08); }
  .login-title { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
  .login-sub { font-size: 13px; color: #98A1B2; margin-bottom: 28px; line-height: 1.7; }
  .inp { width: 100%; height: 44px; border: 1px solid #E1E6F0; border-radius: 8px; padding: 0 14px; font-size: 14px; outline: none; }
  .inp:focus { border-color: #1B6FF3; }
  .btn { height: 44px; border: none; border-radius: 8px; background: #1B6FF3; color: #fff; font-size: 15px; cursor: pointer; width: 100%; margin-top: 16px; }
  .btn:hover { background: #1662dd; }
  .err { color: #E5484D; font-size: 13px; margin-top: 14px; min-height: 20px; line-height: 1.6; }

  /* 顶栏 */
  header { background: #1B6FF3; color: #fff; padding: 0 24px; }
  .hd { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; height: 60px; }
  .logo { font-size: 17px; font-weight: 600; margin-right: 32px; }
  .nav { display: flex; flex: 1; }
  .nav a { color: #CFE0FF; text-decoration: none; padding: 8px 16px; border-radius: 6px; font-size: 14px; margin-right: 4px; cursor: pointer; }
  .nav a.on { background: rgba(255,255,255,.16); color: #fff; }
  .logout { color: #CFE0FF; font-size: 13px; cursor: pointer; }

  /* 卡片 */
  .card { background: #fff; border-radius: 12px; padding: 24px; margin-top: 20px; }
  .card h2 { font-size: 16px; margin: 0 0 18px; font-weight: 600; }
  .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
  .stat { background: #fff; border-radius: 12px; padding: 20px 24px; }
  .stat .n { font-size: 30px; font-weight: 700; color: #1B6FF3; }
  .stat .n.hot { color: #E5484D; }
  .stat .t { font-size: 13px; color: #5A6478; margin-top: 4px; }

  table { width: 100%; border-collapse: collapse; }
  th { text-align: left; font-size: 12px; color: #98A1B2; font-weight: 500; padding: 0 12px 12px; border-bottom: 1px solid #F0F2F6; }
  td { padding: 14px 12px; border-bottom: 1px solid #F0F2F6; vertical-align: top; font-size: 13px; line-height: 1.7; }
  tr:last-child td { border-bottom: none; }
  .tag { display: inline-block; white-space: nowrap; font-size: 12px; padding: 2px 8px; border-radius: 4px; background: #FFF8F3; color: #C75B12; }
  .tag.ok { background: #EAF7EF; color: #2E9E5B; }
  .tag.off { background: #FDECEC; color: #E5484D; }
  .tag.gray { background: #F2F4F8; color: #5A6478; }

  .acts { display: flex; gap: 8px; flex-wrap: wrap; }
  /* white-space 加 nowrap：列窄的时候「详情」会被折成两行，很难看（2026-10-17） */
  .ab { border: none; border-radius: 6px; padding: 6px 14px; font-size: 13px; cursor: pointer; white-space: nowrap; }
  .ab.ok { background: #1B6FF3; color: #fff; }
  .ab.no { background: #FDECEC; color: #E5484D; }
  .ab.gray { background: #F2F4F8; color: #5A6478; }

  /* 概览：对齐小程序后台的待审总量 + 明细（2026-10-18） */
  .hero {
    background: #1B6FF3; color: #fff; border-radius: 14px;
    padding: 34px 24px; text-align: center; margin-top: 20px;
  }
  .hero-n { font-size: 44px; font-weight: 700; line-height: 1.1; }
  .hero-t { font-size: 14px; opacity: .9; margin-top: 8px; }
  .ovgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .ovcell { text-align: center; padding: 6px 0; }
  .ovn { font-size: 26px; font-weight: 700; color: #1A1F2B; }
  .ovn.hot { color: #E5484D; }
  .ovt { font-size: 13px; color: #98A1B2; margin-top: 6px; }
  .ovreport { margin-top: 16px; padding-top: 14px; border-top: 1px solid #F0F2F6; font-size: 13px; color: #5A6478; }
  .ovreport b { font-size: 16px; }
  .ovreport b.hot { color: #E5484D; }
  .ovreport a { color: #1B6FF3; text-decoration: none; margin-left: 8px; }

  /* 会员列表行内操作：详情 / 编辑资料 / 封禁 并排（2026-10-18） */
  td.ops { white-space: nowrap; }
  td.ops .ab { margin-left: 6px; }
  td.ops .ab:first-child { margin-left: 0; }
  /* 项目审核的操作列按钮多，允许换行（2026-10-18） */
  td.ops.wrap { white-space: normal; }
  td.ops.wrap .ab { margin: 3px 6px 3px 0; }
  /* 项目审核列表的「项目方」列（2026-10-18） */
  .pj-org { font-size: 13px; color: #1A1F2B; font-weight: 500; line-height: 1.5; }
  /* 编辑浮层的图片区（2026-10-18） */
  .img-grid { display: flex; flex-wrap: wrap; gap: 10px; }
  .img-item { position: relative; width: 92px; height: 92px; border-radius: 8px; overflow: hidden; border: 1px solid #EBEEF3; background: #F7F9FC; }
  .img-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .img-del { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; line-height: 18px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 14px; cursor: pointer; padding: 0; }
  .img-add { width: 92px; height: 92px; border: 1px dashed #C7CEDB; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #98A1B2; font-size: 20px; cursor: pointer; background: #FAFBFC; }
  .img-add span { font-size: 11px; margin-top: 2px; }
  .img-add:hover { border-color: #1B6FF3; color: #1B6FF3; }
  /* 报名状态流转节点图（2026-10-18） */
  .flow { display: flex; align-items: flex-start; }
  .flow-node { flex: 1; text-align: center; min-width: 0; }
  .flow-dot { width: 12px; height: 12px; border-radius: 50%; background: #DDE2EA; margin: 0 auto 6px; }
  .flow-done .flow-dot { background: #2E9E5B; }
  .flow-cur .flow-dot { background: #1B6FF3; box-shadow: 0 0 0 4px rgba(27, 111, 243, 0.15); }
  .flow-name { font-size: 12px; color: #5A6478; }
  .flow-cur .flow-name { color: #1B6FF3; font-weight: 600; }
  .flow-done .flow-name { color: #2E9E5B; }
  .flow-time { font-size: 11px; color: #98A1B2; margin-top: 2px; }
  .flow-line { width: 18px; height: 2px; background: #EBEEF3; margin-top: 6px; flex: none; }
  /* 报名列表右侧：状态流转与实践日记拆成两列（2026-10-18） */
  .enroll-flow-col { vertical-align: top; }
  .enroll-flow-col .flow { margin-bottom: 6px; }
  .enroll-flow-col .flow-name { font-size: 11px; white-space: nowrap; }
  .enroll-flow-col .flow-time { font-size: 10px; }
  .enroll-flow-col .enroll-acts { margin-top: 6px; }
  .enroll-flow-col .enroll-acts .ab { margin: 0 6px 6px 0; }
  .enroll-diary-col { vertical-align: top; }
  .enroll-diary-col .acts { margin-top: 8px; gap: 6px; }
  .enroll-diary-col .meta { margin-top: 6px; font-size: 12px; }
  /* 不可操作的按钮：没写实践日记时占位用（2026-10-18） */
  .ab[disabled] { opacity: 0.45; cursor: not-allowed; }

  .tabs { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
  .tab { padding: 8px 18px; background: #fff; border-radius: 8px; font-size: 14px; cursor: pointer; border: 1px solid transparent; }
  .tab.on { border-color: #1B6FF3; color: #1B6FF3; font-weight: 600; }

  .empty { text-align: center; color: #98A1B2; padding: 50px 0; font-size: 14px; }
  .msg { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: #1A1F2B; color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; z-index: 99; opacity: 0; transition: opacity .2s; pointer-events: none; }
  .msg.show { opacity: 1; }
  .mono { font-family: Consolas, Menlo, monospace; }
  .mask { cursor: pointer; color: #1B6FF3; }
  .warnbox { background: #FFF8F3; border: 1px solid #FFD9BF; color: #C75B12; border-radius: 8px; padding: 14px 18px; font-size: 13px; line-height: 1.8; margin-top: 20px; }
  .meta { color: #98A1B2; font-size: 12px; }
  .reason { color: #E5484D; font-size: 12px; }

  /* 账号制登录后新增（2026-10-17） */
  .hd-right { display: flex; align-items: center; gap: 16px; }
  .who { color: #CFE0FF; font-size: 13px; }
  .init-tip { background: #F2F6FF; border: 1px solid #D6E4FF; color: #3B5B99; border-radius: 8px; padding: 12px 14px; font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
  .switch { margin-top: 18px; font-size: 13px; color: #98A1B2; text-align: center; }
  .switch a { color: #1B6FF3; text-decoration: none; }

  /* 会员 / 分类 / 按项目（2026-10-17 新增） */
  .filterbar { display: flex; gap: 10px; margin-bottom: 16px; }
  .inp.search { flex: 1; max-width: 320px; height: 38px; font-size: 13px; margin-top: 0; }
  .filterbar .ab { height: 38px; flex: none; }

  /* 详情浮层 */
  .modal {
    position: fixed; inset: 0; background: rgba(20,30,50,.42);
    display: none; align-items: center; justify-content: center; z-index: 200;
  }
  .modal-card {
    background: #fff; border-radius: 14px; padding: 28px 30px;
    width: 520px; max-width: calc(100vw - 64px); max-height: 80vh; overflow: auto;
    box-shadow: 0 12px 48px rgba(20,40,80,.20);
  }
  table.kv { width: 100%; border-collapse: collapse; }
  table.kv th {
    width: 90px; text-align: left; font-size: 13px; color: #98A1B2;
    font-weight: 400; padding: 9px 0; border-bottom: 1px solid #F2F4F8;
  }
  table.kv td {
    font-size: 13px; padding: 9px 0; border-bottom: 1px solid #F2F4F8;
    word-break: break-all;
  }
  .modal-actions { margin-top: 20px; text-align: right; }

  /* 项目详情 */
  .steps { margin: 0; padding-left: 22px; font-size: 13px; line-height: 1.9; color: #3A4150; }

  /* 编辑表单 */
  .fld { margin-bottom: 14px; }
  .fld label { display: block; font-size: 13px; color: #5A6478; margin-bottom: 6px; }
  .fld textarea {
    width: 100%; border: 1px solid #E1E6F0; border-radius: 8px;
    padding: 10px 12px; font-size: 13px; line-height: 1.7;
    font-family: inherit; outline: none; resize: vertical; box-sizing: border-box;
  }
  .fld textarea:focus { border-color: #1B6FF3; }
  .fld .inp { margin-top: 0; }
  .fld-hint { font-size: 12px; color: #98A1B2; margin-top: 4px; }

  /* 按项目三级下钻（2026-10-17 重做） */
  /* 项目一行一个（2026-10-18 用户要求）：两列会挤，一行一列更好读 */
  .plist { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .prow {
    background: #fff; border: 1px solid #EEF1F6; border-radius: 12px;
    padding: 16px 18px; cursor: pointer; transition: border-color .15s, box-shadow .15s;
    /* 一行一个后左侧内容容易挤在一边，改成左右两栏：标题在左、计数胶囊与「进入」靠右（2026-10-18） */
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
  }
  .prow:hover { border-color: #1B6FF3; box-shadow: 0 2px 12px rgba(27,111,243,.10); }
  .prow-0 { opacity: .62; }
  .p-left { min-width: 0; flex: 1; }
  .p-title { font-size: 15px; font-weight: 600; line-height: 1.5; }
  .p-meta { font-size: 12px; color: #98A1B2; margin-top: 4px; }
  .p-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
  .p-caps { display: flex; flex-wrap: wrap; gap: 6px; }
  .cap { font-size: 12px; padding: 3px 9px; border-radius: 5px; background: #F2F4F8; color: #5A6478; }
  .cap-hot { background: #FDECEC; color: #E5484D; font-weight: 600; }
  .cap-0 { background: #FAFBFC; color: #B4BCCB; }
  .p-go { font-size: 12px; color: #1B6FF3; white-space: nowrap; }

  /* 内容列表：返回链接 + 可点胶囊 + 明细正文（2026-10-18） */
  .pback { margin-top: 16px; font-size: 13px; }
  .pback a { color: #1B6FF3; text-decoration: none; }
  .cap { cursor: pointer; }
  .detail-text {
    font-size: 13px; line-height: 1.8; white-space: pre-wrap;
    background: #FAFBFC; border-radius: 8px; padding: 12px 14px; color: #3A4150;
  }

  .klist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .krow {
    background: #fff; border: 1px solid #EEF1F6; border-radius: 12px;
    padding: 18px; cursor: pointer; text-align: center; transition: border-color .15s;
  }
  .krow:hover { border-color: #1B6FF3; }
  .krow-0 { opacity: .55; }
  .k-name { font-size: 14px; color: #5A6478; }
  .k-n { font-size: 28px; font-weight: 700; color: #1A1F2B; margin-top: 8px; }
  .k-n.k-hot { color: #E5484D; }
  .k-go { font-size: 13px; color: #B4BCCB; margin-top: 4px; }

  /* 面包屑 */
  .crumb { display: flex; align-items: center; gap: 14px; padding: 4px 0 14px; font-size: 13px; }
  .crumb a { color: #1B6FF3; text-decoration: none; }
  .crumb-cur { color: #5A6478; }

  /* 账号管理卡片 */
  .addbox { margin-top: 24px; padding-top: 20px; border-top: 1px solid #F0F2F6; }
  .addbox h3 { font-size: 14px; margin: 0 0 14px; font-weight: 600; }
  .addrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .inp.small { width: auto; flex: 1; min-width: 130px; height: 38px; font-size: 13px; margin-top: 0; }
  .addrow .ab { height: 38px; flex: none; }
