/* ============================ 管理后台 · 会议记录 ============================ */
.admin-wrap { padding: 34px 0 70px; }

/* ---------- 登录 ---------- */
.admin-login {
  max-width: 460px; margin: 6vh auto 0; padding: 36px 30px 28px;
  text-align: center; border-radius: var(--r-l);
}
.alogin-ico {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: grid; place-items: center; border-radius: 18px;
  background: var(--grad-soft); border: 1px solid rgba(255, 106, 26, .32); color: var(--brand-2);
}
.alogin-ico .i { width: 24px; height: 24px; }
.alogin-title { font-size: 22px; font-weight: 750; letter-spacing: -.4px; }
.alogin-desc { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.alogin-form { margin-top: 22px; display: flex; gap: 10px; }
.alogin-form .input { flex: 1; }
.alogin-form .btn { flex: 0 0 auto; height: 44px; padding: 0 22px; }
.alogin-tip { margin-top: 16px; font-size: 11.5px; color: var(--text-3); line-height: 1.7; }
.alogin-tip code {
  padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, .06);
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px;
}
.admin-err {
  margin-top: 12px; padding: 9px 13px; border-radius: 10px; font-size: 12.5px;
  background: var(--danger-soft); border: 1px solid rgba(255, 59, 48, .3); color: #FF8A84; text-align: left;
}

/* ---------- 头部 ---------- */
.admin-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 20px;
}
.admin-title { font-size: 26px; font-weight: 760; letter-spacing: -.6px; }
.admin-sub { margin-top: 6px; font-size: 12.5px; color: var(--text-3); }
.admin-sub b { color: var(--text-2); font-weight: 600; }
.admin-acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- KPI ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { padding: 16px 18px; border-radius: var(--r-m); display: flex; flex-direction: column; gap: 2px; }
.kpi-label { font-size: 12px; color: var(--text-3); }
.kpi-num { font-size: 26px; font-weight: 760; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.kpi-foot { font-size: 11.5px; color: var(--text-3); }
.kpi-foot i { font-style: normal; color: var(--brand-2); font-weight: 600; }

/* ---------- 工具栏 ---------- */
.admin-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.seg {
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line);
}
.seg button {
  padding: 7px 14px; border-radius: 9px; font-size: 12.5px; color: var(--text-2);
  transition: background .18s, color .18s; white-space: nowrap;
}
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--brand-soft); color: var(--brand-2); font-weight: 600; }
.admin-search {
  display: flex; align-items: center; gap: 8px; flex: 0 1 300px;
  padding: 0 12px; height: 40px; border-radius: 11px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text-3);
}
.admin-search:focus-within { border-color: rgba(255, 106, 26, .45); background: rgba(255, 255, 255, .06); }
.admin-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 13px; color: var(--text); }
.admin-search input::placeholder { color: var(--text-3); }

/* ---------- 列表 ---------- */
.admin-list { border-radius: var(--r-m); overflow: hidden; }
.alist-head,
.arow {
  display: grid; grid-template-columns: minmax(0, 2.1fr) 148px 92px minmax(0, 1.7fr);
  gap: 16px; padding: 13px 18px; align-items: center;
}
.alist-head {
  font-size: 11.5px; color: var(--text-3); letter-spacing: .3px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.arow { border-bottom: 1px solid rgba(255, 255, 255, .045); cursor: pointer; transition: background .15s; }
.arow:hover { background: rgba(255, 255, 255, .03); }
.arow.open { background: rgba(255, 106, 26, .05); }
.arow:last-of-type { border-bottom: 0; }

.ac-topic { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ac-topic b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-topic span { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.ac-time { font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ac-dur {
  font-size: 12.5px; font-weight: 600; color: var(--brand-2);
  font-variant-numeric: tabular-nums;
}
.ac-people { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.ac-people .cnt {
  flex: 0 0 auto; height: 20px; min-width: 20px; padding: 0 6px; border-radius: 6px;
  display: inline-grid; place-items: center; font-size: 11px; font-weight: 700;
  background: rgba(255, 255, 255, .08); color: var(--text-2);
}
.ac-people .nm { font-size: 12px; color: var(--text-2); }
.ac-people .nm::after { content: "、"; color: var(--text-3); }
.ac-people .nm:last-child::after { content: ""; }

.adetail {
  padding: 4px 18px 16px; background: rgba(255, 255, 255, .02);
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  display: grid; gap: 8px;
}
.adetail[hidden] { display: none; }
.aperson { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.aperson .dot {
  width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700; color: #fff; background: linear-gradient(140deg, #55A8FF, #2A6BFF); flex: 0 0 auto;
}
.aperson.host .dot { background: linear-gradient(140deg, #FF9E33, #FF5A00); }
.aperson b { color: var(--text); font-weight: 600; }
.aperson .tag {
  font-size: 10.5px; padding: 1px 6px; border-radius: 5px;
  background: rgba(255, 176, 46, .16); color: var(--brand-2); border: 1px solid rgba(255, 176, 46, .28);
}
.aperson em { margin-left: auto; font-style: normal; color: var(--text-3); font-variant-numeric: tabular-nums; }

.admin-empty { padding: 54px 20px; text-align: center; color: var(--text-3); }
.admin-empty .i { width: 34px; height: 34px; margin: 0 auto 12px; opacity: .5; }
.admin-empty p { font-size: 14px; color: var(--text-2); }
.admin-empty span { display: block; margin-top: 5px; font-size: 12px; }
.admin-loading { padding: 40px; text-align: center; font-size: 13px; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 9px; }
.admin-loading i {
  width: 14px; height: 14px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .18);
  border-top-color: var(--brand-2); animation: spin .8s linear infinite;
}
.admin-foot { margin-top: 12px; font-size: 11.5px; color: var(--text-3); text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .admin-wrap { padding: 20px 0 56px; }
  .admin-title { font-size: 21px; }
  .alist-head { display: none; }
  .arow {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "topic dur" "time people";
    row-gap: 8px; padding: 14px;
  }
  .ac-topic { grid-area: topic; }
  .ac-dur { grid-area: dur; text-align: right; }
  .ac-time { grid-area: time; }
  .ac-people { grid-area: people; justify-content: flex-end; }
  .ac-people .nm { display: none; }
  .ac-people .nm:first-of-type { display: inline; }
  .adetail { padding: 2px 14px 14px; }
  .admin-head { margin-bottom: 14px; }
  .admin-acts .btn { height: 34px; }
  .admin-search { flex: 1 1 100%; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 7px 6px; }
  .kpi { padding: 14px; }
  .kpi-num { font-size: 22px; }
}
