/* 裁判手机端样式（对照参考图 01） */
body { background: #f4f3f1; }
.app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: #f4f3f1; display: flex; flex-direction: column; }

.header {
  background: linear-gradient(160deg, #1b5e34, #14532d);
  color: #fff; padding: 16px 18px 14px;
}
.header .title { font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.header .sub { margin-top: 6px; font-size: 13px; opacity: .92; text-align: right; }
.header .conn { font-size: 13px; text-align: right; }
.header .badge-only {
  display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.16); font-size: 12px;
}

.content { flex: 1; padding: 14px 14px 92px; }

.bottomnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 520px; background: #fff; border-top: 1px solid var(--line);
  display: flex; z-index: 50;
}
.bottomnav .tab {
  flex: 1; text-align: center; padding: 9px 0 10px; font-size: 12.5px; color: var(--muted);
  border: none; background: none; position: relative;
}
.bottomnav .tab .ico { font-size: 20px; display: block; }
.bottomnav .tab.active { color: var(--green-700); font-weight: 700; }
.bottomnav .tab.active::after {
  content: ''; display: block; height: 3px; border-radius: 3px; background: var(--green-700);
  margin: 4px 26px 0;
}
.bottomnav .badge {
  position: absolute; top: 4px; right: calc(50% - 26px);
  background: #f59e0b; color: #fff; border-radius: 999px; font-size: 10.5px;
  min-width: 17px; height: 17px; line-height: 17px; padding: 0 4px; font-weight: 700;
}

.taskcard { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.taskcard .ctx { font-size: 15.5px; font-weight: 700; }
.taskcard .dur {
  float: right; background: var(--green-50); color: var(--green-700);
  border-radius: 10px; padding: 4px 10px; font-weight: 800; font-size: 14px;
}
.taskcard .note { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

.pname { font-size: 34px; font-weight: 900; letter-spacing: 2px; margin: 14px 0 4px; }
.pmeta { color: var(--ink-soft); font-size: 14px; }
.pmeta .st { color: var(--green-700); font-weight: 700; }

.fieldlabel { font-size: 15px; font-weight: 700; margin: 16px 0 8px; }
.bignum {
  width: 100%; border: 2px solid var(--green-700); border-radius: 14px;
  background: var(--green-50); color: var(--green-900);
  font-size: 44px; font-weight: 800; text-align: left; padding: 10px 16px;
  font-variant-numeric: tabular-nums;
}
.bignum.mid { font-size: 30px; padding: 8px 14px; background: #fff; border-color: var(--line); color: var(--ink); }
.bignum:focus { outline: 3px solid var(--green-100); }
.helper { color: var(--muted); font-size: 13px; margin-top: 6px; }

.savedrow { display: flex; align-items: center; gap: 8px; margin: 16px 0; font-size: 14px; color: var(--green-800); font-weight: 600; }
.savedrow .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--green-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.savedrow.amber { color: var(--amber-600); }
.savedrow.amber .ck { background: var(--amber-600); }

.wide { width: 100%; padding: 15px; font-size: 18px; border-radius: 14px; }
.center { text-align: center; }
.textbtn { background: none; border: none; color: var(--green-800); font-weight: 700; font-size: 15px; padding: 12px; width: 100%; }

.statusline { font-size: 13px; margin-top: 6px; }

.list { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.list .item { padding: 13px 15px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.list .item:last-child { border-bottom: none; }
.list .item .nm { font-size: 17px; font-weight: 700; }
.list .item .sub { font-size: 12.5px; color: var(--muted); }

.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
}
.chip.on { border-color: var(--green-700); background: var(--green-50); color: var(--green-800); }

.kv { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: none; }
.kv b { font-variant-numeric: tabular-nums; }

.empty { text-align: center; color: var(--muted); padding: 40px 20px; font-size: 14px; }

.notice { border-radius: 12px; padding: 10px 14px; font-size: 13px; margin: 10px 0; }
.notice.amber { background: var(--amber-100); color: #92400e; }
.notice.green { background: var(--green-50); color: var(--green-800); }
.notice.red { background: #fee2e2; color: var(--danger); }
