/* AI失物小管家 · 设计系统 v4（以 CruX iOS 为基准）
   暖米纸色底 + 奶白卡片细边；深绿只用于主操作与关键状态。 */
:root {
  --bg: #f3efe7;
  --card: #fdfbf5;
  --ink: #1a1714;
  --ink-2: #4a423a;
  --muted: #8a7f73;
  --line: #e0d6c8;
  --line-2: #ece5d9;
  --fill: #efe9de;
  --brand: #446953;
  --brand-hover: #3a5a47;
  --brand-soft: #ecf1e8;
  --green: #17803d;
  --green-soft: #edf8f1;
  --amber: #a65f00;
  --amber-soft: #fdf6e7;
  --blue: #2457c5;
  --r-lg: 18px;
  --r-md: 12px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .04);
  --shadow-lg: 0 1px 2px rgba(22, 24, 29, .04), 0 12px 32px -16px rgba(22, 24, 29, .16);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased; letter-spacing: .1px;
}
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.shell { max-width: 560px; margin: 0 auto; padding: 0 16px 40px; }

/* 顶栏 */
.topbar { display: flex; align-items: center; gap: 10px; height: 56px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; }
.logo .mark { width: 30px; height: 30px; border-radius: 22%; overflow: hidden; display: block; flex: none; }
.logo .mark img { width: 100%; height: 100%; display: block; }
.topbar .spacer { flex: 1; }
.back { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-2); }
.ai-dot { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); }
.ai-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.ai-dot.on { color: var(--green); }
.ai-dot.on i { background: var(--green); }

/* 通用 */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 18px; }
.section { margin-top: 28px; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 10px; }
.section-h h2 { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .5px; }
.section-h span { color: var(--muted); font-size: 12px; }

/* 首页 */
.hero { padding: 20px 4px 4px; }
.hero h1 { margin: 0; font-size: 26px; line-height: 1.3; font-weight: 650; letter-spacing: .2px; }
.hero p { margin: 8px 0 0; color: var(--ink-2); font-size: 14.5px; }
.searchbar { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 6px 6px 6px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); cursor: pointer; min-height: 60px; }
.searchbar > svg { flex: none; color: var(--muted); }
.searchbar .ph { flex: 1; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.searchbar .go { flex: none; height: 46px; padding: 0 16px; border-radius: 10px; background: var(--brand); color: #fff; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; }
.statbar { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding: 14px 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.statbar div { text-align: center; }
.statbar div + div { border-left: 1px solid var(--line-2); }
.statbar b { display: block; font-size: 22px; line-height: 1.2; font-weight: 650; font-variant-numeric: tabular-nums; }
.statbar span { font-size: 12px; color: var(--muted); }
.group { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.row-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
.row-link + .row-link { border-top: 1px solid var(--line-2); }
.row-link:active { background: var(--fill); }
.row-link .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--fill); color: var(--ink-2); display: flex; align-items: center; justify-content: center; }
.row-link .tx { flex: 1; min-width: 0; }
.row-link b { display: block; font-size: 15px; font-weight: 600; }
.row-link small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.row-link .chev { flex: none; color: #c5c3bd; }
.filters { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.pill { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 5px 12px; font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shelf-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.shelf-item .ph { aspect-ratio: 1; background: var(--fill); }
.shelf-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shelf-item .t { padding: 8px 10px 9px; font-size: 13px; line-height: 1.35; font-weight: 600; }
.shelf-item .t small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; font-size: 13.5px; line-height: 1.7; }
.empty svg { display: block; margin: 0 auto 10px; color: #c9c7c1; }
.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps-list li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.steps-list li::before { counter-increment: s; content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--fill); color: var(--ink); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.steps-list b { color: var(--ink); font-weight: 600; }
.promise { list-style: none; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 6px; }
.promise li { font-size: 13px; color: var(--muted); padding-left: 20px; position: relative; }
.promise li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 8px; height: 5px; border-left: 1.8px solid var(--green); border-bottom: 1.8px solid var(--green); transform: rotate(-45deg); }

/* 流程页 */
.view-title { margin: 12px 4px 4px; font-size: 22px; line-height: 1.35; font-weight: 650; }
.view-sub { margin: 0 4px 18px; color: var(--ink-2); font-size: 14px; }
.stepper { display: flex; gap: 6px; margin: 8px 4px 14px; }
.stepper span { flex: 1; font-size: 12px; color: var(--muted); padding-top: 7px; border-top: 3px solid var(--line); }
.stepper span.on { color: var(--ink); border-color: var(--brand); font-weight: 600; }
.stepper span.done { color: var(--ink-2); border-color: #a9bfae; }
textarea, input[type=text], input[type=password], input[type=date], select { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; outline: none; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 104px; resize: vertical; line-height: 1.6; }
textarea:focus, input:focus, select:focus { border-color: #a9a7a1; box-shadow: 0 0 0 3px rgba(22, 24, 29, .06); }
.label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 16px 2px 7px; }
.tips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 2px 0; }
.tip { font-size: 12px; color: var(--muted); background: var(--fill); border-radius: 6px; padding: 2px 8px; }
.examples { margin-top: 14px; }
.examples p { margin: 0 2px 8px; font-size: 12px; color: var(--muted); }
.chip { display: inline-block; border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 5px 11px; font-size: 13px; cursor: pointer; margin: 0 6px 8px 0; color: var(--ink-2); }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border: 1px solid transparent; border-radius: var(--r-md); cursor: pointer; background: var(--brand); color: #fff; font-size: 16px; font-weight: 600; margin-top: 16px; transition: background .15s, opacity .15s; }
.btn:hover { background: var(--brand-hover); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #2a2d35; }
.btn.green { background: var(--green); }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--fill); }
.btn.sm { min-height: 38px; font-size: 14px; margin-top: 0; width: auto; padding: 0 14px; border-radius: 10px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row .btn { flex: 1 1 140px; }

/* 语音 */
.mic { display: flex; align-items: center; gap: 14px; width: 100%; cursor: pointer; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--shadow); }
.mic-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.mic-txt b { display: block; font-size: 15.5px; font-weight: 600; }
.mic-txt small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.mic.rec { border-color: #bfd0c0; background: var(--brand-soft); }
.mic.rec .mic-ico { animation: pulse 1.3s infinite; }
.mic.busy { opacity: .65; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(68, 105, 83, .45); } 70% { box-shadow: 0 0 0 12px rgba(68, 105, 83, 0); } 100% { box-shadow: 0 0 0 0 rgba(68, 105, 83, 0); } }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 14px 4px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* 候选 */
.results-h { margin: 24px 4px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.match { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 14px; margin-bottom: 10px; display: grid; grid-template-columns: 80px 1fr; gap: 14px; }
.match .ph { position: relative; width: 80px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--fill); }
.match .ph img { width: 100%; height: 100%; object-fit: cover; }
.lock { position: absolute; left: 5px; bottom: 5px; font-size: 10px; color: #fff; background: rgba(22, 24, 29, .55); border-radius: 4px; padding: 0 5px; }
.match h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lvl { font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 1px 7px; background: var(--green-soft); color: var(--green); }
.lvl.mid { background: var(--amber-soft); color: var(--amber); }
.match .meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.meter { height: 4px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin: 10px 0 6px; }
.meter b { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.meter.mid b { background: #d99a2b; }
.match .why { font-size: 12.5px; color: var(--ink-2); }
.match .go { grid-column: 1 / -1; width: 100%; }
.claim-form { grid-column: 1 / -1; border-top: 1px solid var(--line-2); padding-top: 12px; }
.claim-form p { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-2); }

/* 提示 */
.note { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-top: 14px; background: var(--card); box-shadow: var(--shadow); }
.note h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 600; }
.note p { margin: 0; color: var(--ink-2); font-size: 14px; }
.note.yellow { background: var(--amber-soft); border-color: #f1e0bb; box-shadow: none; }
.note.green { background: var(--green-soft); border-color: #cde9d6; box-shadow: none; }
.note.red { background: var(--brand-soft); border-color: #d3dfd0; box-shadow: none; }
.note .big { font-size: 30px; font-weight: 650; line-height: 1.2; margin: 4px 0; font-variant-numeric: tabular-nums; }

/* 码 */
.ticket { margin-top: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.ticket .top { padding: 18px 18px 16px; }
.ticket .top small { font-size: 12px; font-weight: 600; color: var(--brand); letter-spacing: .5px; }
.ticket .top .code { font: 600 34px/1.2 var(--mono); letter-spacing: 7px; margin-top: 6px; }
.ticket .cut { border-top: 1px dashed var(--line); margin: 0 18px; }
.ticket ol { margin: 0; padding: 14px 18px 18px 36px; display: grid; gap: 5px; color: var(--ink-2); font-size: 14px; }
.ticket ol b { color: var(--ink); font-weight: 600; }
.loading { text-align: center; padding: 26px 0 8px; color: var(--muted); font-size: 13.5px; }
.dots { display: inline-flex; gap: 5px; margin-bottom: 8px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); animation: hop 1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.code-input { font: 600 22px/1 var(--mono) !important; letter-spacing: 8px; text-align: center; text-transform: uppercase; }

/* 登记页 */
.camera { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 200px; border: 1px dashed #cfccc4; border-radius: var(--r-lg); background: var(--card); cursor: pointer; text-align: center; color: var(--muted); font-size: 13px; overflow: hidden; position: relative; }
.camera b { font-size: 16px; font-weight: 600; color: var(--ink); }
.camera .cam-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--fill); color: var(--ink-2); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.camera img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--fill); }
.camera .redo { position: absolute; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .95); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; }
.ai-card { display: flex; gap: 12px; align-items: flex-start; }
.ai-card .badge { flex: none; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 2px 8px; background: var(--green-soft); color: var(--green); margin-top: 2px; }
.ai-card .badge.low { background: var(--amber-soft); color: var(--amber); }
.feat-row { display: flex; gap: 8px; margin-bottom: 8px; }
.feat-row input { flex: 1; font-size: 15px; padding: 10px 12px; }
.icon-btn { flex: none; width: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; font-size: 18px; color: var(--muted); }
.add-link { border: 0; background: none; color: var(--blue); font-weight: 600; font-size: 14px; padding: 4px 2px; cursor: pointer; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.counter .n { text-align: center; min-width: 70px; }
.counter .n b { display: block; font-size: 34px; line-height: 1.1; font-weight: 650; font-variant-numeric: tabular-nums; }
.counter .n span { font-size: 12px; color: var(--muted); }
.counter .btn { flex: 1; margin: 0; }

/* 列表 */
.row-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.row-item:first-child { border-top: 0; padding-top: 0; }
.row-item:last-child { padding-bottom: 0; }
.row-item img, .row-item .ph0 { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--fill); }
.row-item h4 { margin: 0; font-size: 15px; font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-item .meta { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.row-item .acts { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.row-item .acts .btn { flex: 1 1 120px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 2px; }
.tags span { font-size: 12px; background: var(--fill); color: var(--ink-2); border-radius: 6px; padding: 1px 7px; }
.st { font-size: 11px; font-weight: 600; border-radius: 5px; padding: 0 6px; }
.st.waiting { background: var(--amber-soft); color: var(--amber); }
.st.returned { background: var(--green-soft); color: var(--green); }
.st.removed { background: var(--fill); color: var(--muted); }
.said { margin-top: 8px; background: var(--fill); border-radius: 10px; padding: 9px 11px; font-size: 13.5px; color: var(--ink-2); }
.said b { font-family: var(--mono); letter-spacing: 1.5px; color: var(--ink); }
.tabs { display: flex; background: #eae9e5; border-radius: 10px; padding: 3px; gap: 2px; margin: 4px 0 14px; }
.tab { flex: 1; border: 0; background: transparent; border-radius: 8px; padding: 7px 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.tab.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(22, 24, 29, .08); }
.tab em { font-style: normal; background: var(--brand); color: #fff; border-radius: 99px; font-size: 10.5px; padding: 0 6px; margin-left: 4px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
.kpi b { display: block; font-size: 28px; font-weight: 650; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 13px; color: var(--ink); font-weight: 600; }
.kpi small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.gate { margin-top: 10vh; }
.gate .panel { text-align: center; padding: 28px 22px; }
.gate .lock-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--fill); color: var(--ink-2); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.gate h1 { font-size: 20px; font-weight: 650; margin: 0 0 4px; }
.gate p { color: var(--ink-2); margin: 0 0 18px; font-size: 14px; }

footer.foot { margin-top: 36px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.9; }
footer.foot a { color: var(--muted); }
footer.foot .foot-links { display: flex; justify-content: center; gap: 10px; margin: 10px 0 8px; }
footer.foot a.foot-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: 13px; font-weight: 600; }
footer.foot a.foot-btn:active { background: var(--fill); }
.row-link .ic.ic-brand { background: var(--brand-soft); color: var(--brand); }
.helper { color: var(--ink-2); }
.helper b { color: var(--ink); font-weight: 700; }
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px); opacity: 0; z-index: 20; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; transition: all .2s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.fade { animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (min-width: 720px) { .shell { max-width: 600px; } .hero h1 { font-size: 30px; } .shelf { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 370px) { .hero h1 { font-size: 23px; } .searchbar .go { padding: 0 12px; } }

/* 示例标（演示数据必挂） */
.demo-tag { display: inline-block; font: 500 10.5px/1.5 var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; vertical-align: 1px; background: var(--card); }
.shelf-item .ph { position: relative; }
.shelf-item .ph .demo-tag { position: absolute; top: 6px; left: 6px; }
.statbar-note { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.set-code { font: 600 28px/1.25 var(--mono); letter-spacing: 4px; margin: 6px 0 12px; word-break: break-all; }

/* 物品详情 */
.item-hero { position: relative; margin-top: 4px; border-radius: var(--r-lg); overflow: hidden; background: var(--fill); border: 1px solid var(--line); aspect-ratio: 1; }
.item-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-hero .demo-tag { position: absolute; top: 10px; left: 10px; }
a.shelf-item { display: block; color: inherit; }
a.shelf-item:active { opacity: .85; }

/* 更适合小学生阅读：小字整体加大一档，候选图加大 */
body { font-size: 16px; }
.hero p, .view-sub, .note p, .ticket ol { font-size: 15px; }
.statbar span, .tip, .examples p, .section-h h2, .section-h span, .results-h { font-size: 13px; }
.row-link small, .match .meta, .match .why, .shelf-item .t small, .meta { font-size: 13px; }
.match { grid-template-columns: 104px 1fr; }
.match .ph { width: 104px; height: 104px; }
.match h3 { font-size: 17px; }
.chip { font-size: 14px; padding: 7px 12px; }
.place-chips { margin-top: 8px; }

/* 老师恢复码 */
.link-btn { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--brand); font-size: 14px; font-weight: 600; cursor: pointer; padding: 6px 10px; }
.rc-mask { position: fixed; inset: 0; z-index: 50; background: rgba(26, 23, 20, .45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.rc-box { max-width: 420px; width: 100%; text-align: center; }
.rc-box h2 { font-size: 18px; margin: 0 0 12px; }
.rc-code { font: 700 40px/1.3 var(--mono); letter-spacing: 12px; background: var(--brand-soft); color: var(--brand); border-radius: 12px; padding: 14px 8px; margin-bottom: 12px; user-select: all; }

/* 登记记录：修改 / 删除 */
.row-item .edit-form { grid-column: 1 / -1; border-top: 1px solid var(--line-2); padding-top: 4px; }
.edit-form .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.btn.danger { color: #9d4d27; }
