/* ============================================================
   伙食补贴发票填报 —— 苹果官网式简约风格
   浅色、大量留白、系统字体、克制配色；手机/平板/桌面自适应
   ============================================================ */

:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #a1a1a6;
  --blue: #0071e3;
  --blue-deep: #0060c9;
  --blue-bg: #eaf4ff;
  --red: #d70015;
  --red-bg: #fdecec;
  --amber: #8a6116;
  --amber-bg: #fef7e7;
  --green: #248a3d;
  --green-bg: #e8f6ec;
  --gray-bg: #f2f2f4;

  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "Cascadia Mono", "Consolas", "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 页头（紧凑） ---------- */

.site-header { text-align: center; padding: 14px 16px 2px; }

.head-top {
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.site-header h1 { font-size: 17px; font-weight: 700; letter-spacing: .5px; }

.per-hint { font-size: 12px; color: var(--ink-3); }
.per-hint b { color: var(--ink-2); }

.batch-pill {
  display: inline-block; padding: 2px 10px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  background: var(--gray-bg); border-radius: 999px;
}

/* ---------- 主体（紧凑一屏） ---------- */

main { max-width: 620px; margin: 0 auto; padding: 14px 14px 56px; }

.block { margin-bottom: 20px; }

.block-hint { font-size: 12.5px; color: var(--ink-2); margin-bottom: 10px; line-height: 1.5; }
.block-hint b { color: var(--red); }

/* ---------- 上传区（压缩） ---------- */

.upload-zone {
  background: var(--card);
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}

.upload-zone:hover, .upload-zone:focus-visible {
  border-color: var(--blue);
  outline: none;
}
.upload-zone:active { transform: scale(.995); }
.upload-zone.is-drag { border-color: var(--blue); background: var(--blue-bg); }

.upload-icon { display: inline-grid; place-items: center; margin-bottom: 6px; color: var(--blue); }
.upload-icon svg { width: 32px; height: 32px; }
.upload-icon svg .up-arrow { stroke: currentColor; stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.upload-icon svg .up-base { stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; }

.upload-main { font-size: 15px; font-weight: 600; color: var(--ink); }
.upload-sub { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.upload-sub b { color: var(--blue); }

/* ---------- 发票卡片 ---------- */

.cards { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

.cards-add { width: 100%; margin-top: 12px; }

/* 备用票：使用人区收起 */
.inv-card.is-backup-mode .people-list,
.inv-card.is-backup-mode .p-add { display: none; }

.inv-card {
  background: var(--card);
  border-radius: 14px;
  padding: 11px 12px 9px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  animation: card-in .3s ease-out both;
}

@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }

.card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

.card-no {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--blue);
  background: var(--blue-bg); border-radius: 6px; padding: 2px 8px; letter-spacing: .5px;
}

.card-file {
  font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 42%; min-width: 0;
}

.badge-pill {
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  letter-spacing: .5px; flex: 0 0 auto;
}
.pill-auto { background: var(--green-bg); color: var(--green); }
.pill-manual { background: var(--amber-bg); color: var(--amber); }
.pill-miss { background: var(--red-bg); color: var(--red); }

.buyer-line { margin-left: auto; font-size: 11px; color: var(--ink-2); max-width: 46%; }
.buyer-line .ok { color: var(--green); font-weight: 600; }
.buyer-line .bad { color: var(--red); font-weight: 600; }

/* 卡片内上传识别/更换文件（主入口） */
.btn-card-upload {
  flex: 0 0 auto;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: var(--blue); border: none; border-radius: 9px;
  padding: 6px 14px; cursor: pointer;
}
.btn-card-upload:hover { background: var(--blue-deep); }
.btn-card-upload:disabled { opacity: .5; cursor: wait; }

/* 纵向单列：发票号码一行、开票日期一行、金额+实报一行 */
.card-grid { display: flex; flex-direction: column; gap: 9px; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field-wide { grid-column: auto; }

.amount-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }

/* ---------- 页头个人信息行（紧凑） ---------- */

.me-row { margin-top: 8px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.me-row label { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-2); }
.me-row input, .me-row select {
  font-family: var(--font-body); font-size: 13px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 9px;
  padding: 5px 8px; outline: none; min-width: 0;
}
.me-row input { width: 110px; }
.me-row select { min-width: 96px; }
.me-row input:focus, .me-row select:focus { border-color: var(--blue); }

/* ---------- 提交区（紧凑） ---------- */

.submit-zone { margin-top: 18px; text-align: center; }
.submit-zone .me-row { margin: 0 0 12px; }
.total-line { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.total-line b { font-family: var(--font-mono); color: var(--ink); font-weight: 700; }
.total-line b:last-child { color: var(--blue); }

.btn-submit { padding: 12px; font-size: 15px; }

.reimb-box {
  display: flex; align-items: center; min-height: 41px;
  background: var(--bg); border-radius: 10px; padding: 9px 11px;
}
.reimb-box b { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--green); }
.reimb-box b.red { color: var(--red); }

.field label {
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  display: flex; align-items: center; gap: 2px;
}
.field label i { color: var(--red); font-style: normal; }

.field input, .field select {
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 9px 11px; width: 100%; outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
                    linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 28px;
}

.field input:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(0, 113, 227, .15);
}

.field input::placeholder { color: var(--ink-3); }

/* 字段名 + 值 同行（发票号码/开票日期/发票金额） */
.kv-row { display: flex; align-items: center; gap: 10px; }
.kv-label {
  flex: 0 0 58px; font-size: 12px; font-weight: 500; color: var(--ink-2);
  text-align: right;
}
.kv-row input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: 13.5px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 9px;
  padding: 7px 9px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.kv-row input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(0, 113, 227, .15);
}
.kv-row input::placeholder { color: var(--ink-3); }
.kv-row .c-no, .kv-row .c-amount { font-family: var(--font-mono); font-size: 13.5px; }
.kv-row .c-amount { font-weight: 600; }

.kv-reimb {
  flex: 0 0 auto; font-size: 12.5px; color: var(--ink-2); white-space: nowrap;
}
.kv-reimb b {
  font-family: var(--font-mono); font-size: 15px; font-weight: 700;
  color: var(--green); margin-left: 4px;
}
.kv-reimb b.red { color: var(--red); }

.lbl-tip {
  font-style: normal; font-weight: 400; font-size: 10.5px; color: var(--ink-3);
  letter-spacing: 0; margin-left: 2px;
}

/* ---------- 使用人：标题行带备用票开关，一人一行 ---------- */

.people-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.people-title {
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  display: flex; align-items: center; gap: 2px;
}

.people-list { display: flex; flex-direction: column; gap: 6px; }

.person-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .9fr) 30px;
  gap: 6px; align-items: center;
}
.person-row input {
  min-width: 0; padding: 6px 7px; font-size: 12.5px; background: var(--card);
  border: 1.5px solid var(--line); border-radius: 9px; outline: none; color: var(--ink);
}
.person-row input:focus { border-color: var(--blue); }
.person-row .p-del { padding: 5px; width: 30px; font-size: 13px; }

.p-add { align-self: flex-start; margin-top: 2px; }

.p-matches {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px;
  background: var(--amber-bg); border: 1px dashed #d9b45c; border-radius: 10px; padding: 7px 9px;
}
.pm-tip { width: 100%; font-size: 11.5px; color: var(--amber); }
.pm-opt {
  font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer;
  background: var(--card); border: 1px solid #d9b45c; border-radius: 999px; padding: 3px 12px;
}
.pm-opt:hover { background: #f6ead1; }

/* ---------- 卡片底部 ---------- */

.card-foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 9px; padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
}

.calc { display: flex; gap: 14px; }
.calc .k { color: var(--ink-2); }
.calc .v { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
.calc .v.gold { color: var(--amber); }
.calc .v.red { color: var(--red); }

.warn-tag {
  font-size: 12px; font-weight: 600; color: var(--red);
  background: var(--red-bg); border-radius: 8px; padding: 3px 9px;
}
.c-conflict { background: var(--amber-bg); color: var(--amber); }

.card-foot .btn-void { margin-left: auto; }

.btn-void {
  font-size: 12.5px; color: var(--ink-2); background: none;
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px;
  cursor: pointer; transition: all .15s;
}
.btn-void:hover { color: var(--red); border-color: var(--red); }

/* 备用开关 */
.switch { display: flex; align-items: center; gap: 7px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .track {
  width: 38px; height: 22px; border-radius: 999px; background: var(--line);
  position: relative; transition: background .2s; flex: 0 0 auto;
}
.switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch .sw-label { font-size: 12.5px; color: var(--ink-2); }

/* ---------- 加票按钮 ---------- */

.add-row { display: flex; gap: 10px; margin-top: 10px; }

.btn {
  font-family: var(--font-body); cursor: pointer; border: none;
  border-radius: 11px; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }

.btn-line {
  flex: 1; padding: 9px 10px; font-size: 13.5px; font-weight: 600; color: var(--blue);
  background: var(--card); border: 1px solid var(--line);
}
.btn-line:hover { background: var(--blue-bg); border-color: var(--blue); }

/* ---------- 核对区 ---------- */

.grid-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }

.check-list {
  background: var(--card); border-radius: 16px;
  padding: 6px 16px; margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.check-items { display: flex; flex-direction: column; }

.check-inv {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 0; font-size: 13.5px;
  border-bottom: 1px solid var(--line-soft);
}
.check-inv:last-child { border-bottom: none; }

.ci-no { flex: 0 0 auto; font-weight: 700; color: var(--blue); background: var(--blue-bg); border-radius: 6px; padding: 1px 7px; font-size: 11.5px; }
.ci-date { flex: 0 0 auto; font-weight: 600; color: var(--ink); font-family: var(--font-mono); }
.ci-people { flex: 1; min-width: 120px; color: var(--ink-2); }
.ci-reimb { flex: 0 0 auto; font-family: var(--font-mono); font-weight: 700; color: var(--green); font-size: 13.5px; }
.check-inv.is-warn .ci-reimb { color: var(--red); }

.check-totals { border-top: 1px solid var(--line); margin-top: 4px; }

.check-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--line-soft);
}
.check-row:last-child { border-bottom: none; }
.check-row span { color: var(--ink-2); }
.check-row b { font-family: var(--font-mono); font-size: 15px; color: var(--ink); }
.check-hl b { color: var(--blue); font-size: 19px; }

/* 问题横幅 */
.warn-summary {
  background: var(--red-bg); color: var(--red);
  border-radius: 10px; padding: 9px 12px; font-size: 12.5px; font-weight: 600; line-height: 1.7;
  margin: 10px 0 2px;
}

/* ---------- 主按钮 ---------- */

.btn-primary {
  width: 100%; padding: 14px;
  background: var(--blue);
  color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 3px; text-indent: 3px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}
.btn-primary:hover { background: var(--blue-deep); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.btn-quiet {
  width: 100%; margin-top: 10px; padding: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  background: none; border: none; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.btn-quiet:hover { color: var(--blue); }

/* ---------- 页脚 ---------- */

.page-foot { text-align: center; font-size: 12px; color: var(--ink-3); padding: 8px 16px 40px; }

/* ---------- 通用 ---------- */

.hidden { display: none !important; }
.btn-primary.small { padding: 9px 14px; font-size: 13.5px; letter-spacing: 1px; text-indent: 1px; width: auto; }

/* 校验失败字段标红 + 抖动 */
input.is-error, .person-row input.is-error {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3.5px rgba(215, 0, 21, .14) !important;
  animation: shake .4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* ---------- 弹层（口令/暂停/成功/我的提交） ---------- */

.gate {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  background: rgba(29, 29, 31, .5); backdrop-filter: blur(8px);
  padding: 20px;
}
.gate.hidden { display: none; }

.gate-card {
  width: min(360px, 100%); background: var(--card); border-radius: 20px;
  padding: 28px 24px 22px; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  animation: panel-in .35s ease-out both;
}

@keyframes panel-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

.gate-icon { color: var(--blue); margin: 0 auto 8px; display: block; }
.gate-card h2 { font-size: 20px; font-weight: 700; }
.gate-card > p { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 16px; }

#gate-code {
  width: 100%; text-align: center; font-family: var(--font-mono); font-size: 18px;
  letter-spacing: 6px; padding: 12px; border: 1.5px solid var(--line);
  border-radius: 12px; background: var(--card); outline: none; margin-bottom: 12px;
}
#gate-code:focus { border-color: var(--blue); }

.gate-err { color: var(--red); font-size: 12.5px; min-height: 18px; margin-top: 8px; }

/* ---------- 成功页 ---------- */

.success {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  background: rgba(29, 29, 31, .5); backdrop-filter: blur(8px); padding: 20px;
  overflow: auto;
}
.success.hidden { display: none; }

.success-card {
  width: min(400px, 100%);
  background: var(--card); border-radius: 20px; padding: 30px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  text-align: center;
  animation: panel-in .4s ease-out both;
}

.ok-icon {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; background: var(--green);
  box-shadow: 0 0 0 6px rgba(36, 138, 61, .15);
  animation: ok-pop .45s cubic-bezier(.2, 1.6, .4, 1) .1s both;
}

@keyframes ok-pop {
  from { opacity: 0; transform: scale(2); }
  to   { opacity: 1; transform: scale(1); }
}

.success-head { margin-bottom: 14px; }
.success-head h2 { font-size: 21px; font-weight: 700; }
.success-head p { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

.success-body {
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 2px 14px;
  text-align: left;
}

.success-row {
  display: flex; justify-content: space-between; padding: 9px 0; font-size: 13.5px;
  border-bottom: 1px solid var(--line-soft);
}
.success-row:last-child { border-bottom: none; }
.success-row span { color: var(--ink-2); }
.success-row b { font-family: var(--font-mono); font-size: 14px; color: var(--ink); }

.success-warn {
  margin-top: 12px; font-size: 12.5px; color: var(--red); line-height: 1.7;
  max-height: 130px; overflow: auto; text-align: left;
}

.success-card .btn-primary { margin-top: 16px; }

/* ---------- 我的提交 ---------- */

.my-card {
  width: min(520px, 100%); max-height: 86vh; display: flex; flex-direction: column;
  background: var(--card); border-radius: 20px; padding: 20px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  animation: panel-in .4s ease-out both;
}

.my-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.my-head h2 { font-size: 19px; font-weight: 700; }

.my-search { display: flex; gap: 10px; margin-bottom: 12px; }
.my-search input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 12px; outline: none;
}
.my-search input:focus { border-color: var(--blue); }

.my-list { overflow: auto; display: flex; flex-direction: column; gap: 10px; min-height: 60px; }

.my-empty { text-align: center; color: var(--ink-2); font-size: 13px; padding: 18px 8px; line-height: 1.8; }

.my-item {
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 12px;
  animation: card-in .3s ease-out both;
}

.my-item-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.my-no { font-family: var(--font-mono); font-weight: 700; font-size: 13.5px; color: var(--ink); }
.my-batch { font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-bg); border-radius: 6px; padding: 2px 8px; }

.my-item-body { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 8px; }

.my-item-ops { display: flex; justify-content: flex-end; }
.my-item-ops .btn-line { flex: 0 0 auto; padding: 7px 18px; font-size: 13px; }

/* ---------- 提示 ---------- */

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%);
  z-index: 80; background: rgba(29, 29, 31, .92); color: #fff;
  border-radius: 12px; padding: 10px 18px; font-size: 13.5px; max-width: 86vw;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  animation: toast-in .25s ease-out;
}
.toast.hidden { display: none; }
.toast.err { background: rgba(215, 0, 21, .95); }

@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- 多端适配 ---------- */

@media (max-width: 520px) {
  .site-header { padding-top: 12px; }
  .site-header h1 { font-size: 16px; }
  .block-hint { font-size: 11.5px; margin-bottom: 8px; }
  .upload-zone { padding: 18px 14px; border-radius: 12px; }
  .upload-icon svg { width: 26px; height: 26px; }
  .upload-main { font-size: 14px; }
  .block { margin-bottom: 16px; }
  .inv-card { padding: 10px 10px 8px; border-radius: 12px; }
  .card-grid { gap: 8px; }
  .kv-row { gap: 6px; }
  .kv-label { flex-basis: 52px; }
  .kv-row input { padding: 6px 8px; border-radius: 8px; }
  .lbl-tip { display: none; }
  .card-foot { margin-top: 8px; padding-top: 7px; }
  .add-row { margin-top: 8px; }
  .card-file { max-width: 55%; }
  .buyer-line { width: 100%; margin-left: 0; order: 5; }
  /* 使用人仍保持一人一行：手机上压缩字号 */
  .person-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) minmax(0, .85fr) 26px; gap: 4px; }
  .person-row input { font-size: 12px; padding: 6px 5px; border-radius: 8px; }
  .person-row .p-del { width: 26px; padding: 4px; font-size: 12px; }
  .submit-zone { margin-top: 14px; }
  .total-line { margin-bottom: 8px; }
  .btn-submit { padding: 11px; }
  .page-foot { padding-bottom: 20px; }
}

@media (min-width: 521px) and (max-width: 960px) {
  .grid-info { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
