:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --sub: #6e6e73;
  --blue: #007aff;
  --yes: #576b95;
  --green: #34c759;
  --orange: #ff9500;
  --red: #ff3b30;
  --line: rgba(60, 60, 67, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --radius: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body.ready, body.blocked, body.admin { min-height: 100vh; }
body {
  min-height: 100%;
  background: #6e6e73;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
}
body.ready,
body.blocked,
body.admin { background: var(--bg); }
body * { touch-action: manipulation; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
a { color: var(--blue); }
.is-hidden { display: none !important; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px calc(28px + env(safe-area-inset-bottom));
}
.setup-wrap { padding-top: 18vh; }
.setup-detail {
  margin-top: 12px;
  font-size: 13px;
  color: var(--sub);
  word-break: break-all;
}

.gate {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 24px;
}
.gate.gate-blocked { background: transparent; }
.perm-box { display: flex; flex-direction: column; align-items: center; }

.alert {
  width: 86vw;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  animation: pop 0.22s ease;
}
.alert-text {
  padding: 28px 18px 24px;
  text-align: center;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
  color: #000;
  overflow-wrap: anywhere;
}
.alert-actions { display: flex; border-top: 1px solid #e5e5e5; }
.alert-btn {
  flex: 1;
  height: 52px;
  border: 0;
  background: #fff;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}
.alert-btn + .alert-btn { border-left: 1px solid #e5e5e5; }
.alert-btn:active { background: #ececec; }
.alert-yes { color: var(--yes); font-weight: 600; }
.alert-btn:disabled { opacity: 0.45; }

.spin-wrap { margin-top: 18px; }
.spin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(87, 107, 149, 0.2);
  border-top-color: var(--yes);
  animation: spin 0.8s linear infinite;
}

.block-card, .sheet, .login-card, .panel, .row-card, .stat {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.block-card {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 22px 22px;
  text-align: center;
}
.block-card h1, .sheet h3 { margin: 12px 0 8px; font-size: 22px; letter-spacing: -0.3px; }
.block-card p, .sheet p { margin: 0 0 18px; color: var(--sub); line-height: 1.6; font-size: 15px; }
.empty-icon { width: 64px; height: 64px; margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
}
.btn:active { transform: scale(0.98); }
.btn-secondary { background: #e5e5ea; color: var(--text); }
.btn-danger { background: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-mini { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-gap { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-gap .btn { flex: 1; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 -16px;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: rgba(242, 242, 247, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand img { width: 32px; height: 32px; border-radius: 10px; }
.brand strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  border: 0;
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  min-height: 32px;
  padding: 0 12px;
  box-shadow: var(--shadow);
}
.loc-chip img { width: 16px; height: 16px; }
.loc-chip span { font-size: 12px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero-title { margin: 18px 0 6px; font-size: 32px; letter-spacing: -0.6px; }
.hero-sub { margin: 0 0 16px; color: var(--sub); font-size: 15px; line-height: 1.5; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 14px;
  box-shadow: var(--shadow);
}
.search img { width: 18px; height: 18px; }
.search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  min-width: 0;
  color: var(--text);
}
.feats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0 6px;
  scrollbar-width: none;
}
.feats::-webkit-scrollbar { display: none; }
.feat {
  width: 78px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--text);
  text-align: center;
}
.feat img {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow);
}
.feat span { display: block; margin-top: 8px; font-size: 12px; }
.feat.active img { box-shadow: 0 0 0 2px var(--blue); }
.section-head, .filter-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0 10px;
}
.section-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.3px; }
.filter-line span { color: var(--sub); font-size: 13px; }

.card {
  display: block;
  background: #fff;
  border-radius: 24px;
  padding: 12px;
  margin: 0;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card-cover {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 18px;
  background: #e5e5ea;
}
.cover-fallback {
  height: 92px;
  border-radius: 18px;
  background: #f2f2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-fallback img { width: 36px; height: 36px; }
.card-body { padding: 12px 6px 6px; }
.tag, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}
.card { text-align: center; }
.card-body { text-align: center; }
.card h3 { margin: 8px 0 6px; font-size: 18px; letter-spacing: -0.2px; text-align: center; }
.card p { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.5; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; color: var(--sub); font-size: 12px; }
.meta img { width: 14px; height: 14px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: #c7c7cc; }

.empty { text-align: center; padding: 28px 10px 10px; }
.empty img { width: 64px; height: 64px; }
.empty p { color: var(--sub); }

#articleList { display: grid; grid-template-columns: 1fr; gap: 14px; }
#articleList .empty { grid-column: 1 / -1; }
.footer { margin-top: 18px; text-align: center; color: #8e8e93; font-size: 12px; line-height: 1.6; grid-column: 1 / -1; }
.article-layout { display: block; }
.article-main { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.article-side { margin-top: 8px; }
.back-bar { padding-top: calc(12px + env(safe-area-inset-top)); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.back-link img { width: 18px; height: 18px; }
.article-tag { margin: 16px 0 0; text-align: center; }
.article-title { margin: 10px 0; font-size: 30px; line-height: 1.25; letter-spacing: -0.5px; text-align: center; }
.article-cover { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 22px; margin: 8px auto 16px; }
.prose { font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; text-align: center; }
.prose p, .prose h2, .prose h3, .prose blockquote { text-align: center; }
.prose p { margin: 0 0 14px; }
.prose h2, .prose h3 { letter-spacing: -0.3px; }
.prose ul, .prose ol { display: inline-block; margin: 0 auto 14px; padding-left: 0; text-align: center; list-style-position: inside; }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 18px; margin: 8px auto; }
.prose a { color: var(--blue); }
.related { margin-top: 8px; }
.related a {
  display: block;
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
  text-align: center;
}

.sheet-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.sheet {
  width: 100%;
  max-width: 420px;
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  border-radius: 28px;
  text-align: center;
  animation: pop 0.22s ease;
}
.sheet-handle { width: 36px; height: 5px; border-radius: 999px; background: #d1d1d6; margin: 0 auto 8px; }
.sheet-phone { font-size: 28px; font-weight: 700; letter-spacing: -0.4px; color: var(--text); margin: 0 0 16px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(12px);
  background: rgba(28, 28, 30, 0.92);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 80;
  max-width: 86vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.skel { position: relative; overflow: hidden; background: #ececef; border-radius: 12px; }
.skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: shimmer 1.2s infinite;
}
.skel-card { pointer-events: none; }
.skel-img { height: 120px; border-radius: 18px; }
.skel-line { height: 14px; margin: 12px 6px 0; }
.skel-line.short { width: 46%; margin-bottom: 8px; }

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.login-card { width: 100%; max-width: 420px; padding: 28px 22px 22px; }
.login-card h1 { margin: 8px 0 6px; font-size: 30px; letter-spacing: -0.5px; }
.login-logo { width: 64px; height: 64px; border-radius: 18px; }
.sub { color: var(--sub); margin: 0 0 18px; line-height: 1.5; }

.admin-app { width: 100%; max-width: 980px; margin: 0 auto; padding: 16px 16px 110px; }
.admin-top, .page-head, .inline-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-top { padding-top: calc(8px + env(safe-area-inset-top)); }
.admin-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-brand img { width: 36px; height: 36px; border-radius: 12px; }
.admin-brand strong { display: block; }
.admin-brand span, .who { color: var(--sub); font-size: 13px; }
.admin-nav { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.admin-nav::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}
.pill.active { background: var(--blue); color: #fff; }
.page-title { margin: 6px 0 4px; font-size: 32px; letter-spacing: -0.6px; }
.page-head { align-items: flex-end; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
a.stat {
  display: block;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.stat b { display: block; font-size: 28px; letter-spacing: -0.5px; }
a.stat span { color: var(--sub); font-size: 13px; }
a.stat small { display: block; margin-top: 8px; color: var(--blue); font-size: 12px; font-weight: 600; }
a.stat:active { transform: scale(0.98); }
.panel { padding: 16px; margin-top: 14px; }
.panel h2 { margin: 0 0 12px; font-size: 20px; }
.hint { color: var(--sub); font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
.flash { border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; font-size: 14px; }
.flash-ok { background: rgba(52, 199, 89, 0.15); color: #137333; }
.flash-error { background: rgba(255, 59, 48, 0.12); color: #c41e16; }
.search-form { display: flex; gap: 8px; margin: 8px 0 14px; align-items: center; }
.search-form input { width: auto; flex: 1 1 180px; min-width: 0; }
.search-form input, .field input, .field textarea, .field select {
  width: 100%;
  border: 0;
  background: #f2f2f7;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
}
.search-form input { width: auto; flex: 1 1 180px; min-width: 0; border-radius: 999px; }
.field { margin-bottom: 14px; }
.field label, .checkline { display: block; margin-bottom: 6px; color: var(--sub); font-size: 13px; font-weight: 600; }
.field textarea { min-height: 220px; resize: vertical; }
.seg { display: flex; gap: 8px; }
.seg label {
  position: relative;
  flex: 1;
  text-align: center;
  background: #f2f2f7;
  border-radius: 999px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  overflow: hidden;
}
.seg input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
}
.seg label.on { background: var(--blue); color: #fff; }
.row-card { padding: 14px; margin-bottom: 12px; }
.row-top { display: flex; gap: 10px; align-items: flex-start; }
.row-main { flex: 1; min-width: 0; }
.row-main h3 { margin: 0 0 6px; font-size: 17px; }
.row-main p { margin: 0; color: var(--sub); font-size: 13px; line-height: 1.5; word-break: break-word; }
.row-actions, .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.coords { font-variant-numeric: tabular-nums; word-break: break-all; }
.badge-green { background: rgba(52, 199, 89, 0.15); color: #137333; }
.badge-blue { background: rgba(0, 122, 255, 0.12); color: var(--blue); }
.badge-orange { background: rgba(255, 149, 0, 0.16); color: #9a5b00; }
.badge-red { background: rgba(255, 59, 48, 0.12); color: #c41e16; }
.badge-gray { background: #ececef; color: #636366; }
.map-box { margin-top: 10px; border-radius: 18px; overflow: hidden; background: #e5e5ea; min-height: 180px; }
.map-box iframe { width: 100%; height: 200px; border: 0; }
.slippy {
  position: relative;
  height: 280px;
  margin-top: 10px;
  border-radius: 18px;
  overflow: hidden;
  background: #d7e3d4;
  touch-action: none;
  user-select: none;
}
.slippy-page { height: 62vh; min-height: 320px; }
.slippy-tiles { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.slippy-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; }
.slippy-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  border-radius: 50%;
  background: #007aff;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 2;
  pointer-events: none;
}
.slippy-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slippy-tools button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  font-size: 20px;
  box-shadow: var(--shadow);
}
.slippy-acc, .slippy-fail {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  max-width: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}
.share-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: #f2f2f7;
  text-align: center;
}
.share-box p { margin: 0 0 10px; word-break: break-all; font-size: 13px; color: var(--sub); }
.share-seed {
  position: absolute;
  width: 600px;
  height: 600px;
  left: 0;
  top: 0;
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
}
.share-preview {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 10px;
  background: #e5e5ea;
}
.share-box strong { display: block; margin-bottom: 6px; font-size: 17px; }
.select-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.check {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--blue);
  flex: 0 0 auto;
}
.batch-bar {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 560px;
  background: rgba(28, 28, 30, 0.94);
  color: #fff;
  border-radius: 999px;
  min-height: 54px;
  padding: 8px 8px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 30;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.icon-grid { display: grid; gap: 12px; }
.icon-card { display: grid; grid-template-columns: 22px 72px 1fr; gap: 12px; align-items: start; }
.icon-preview {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #f2f2f7;
  object-fit: contain;
  padding: 8px;
}
.icon-body { min-width: 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0; }
.pager-text { color: var(--sub); font-size: 13px; }
.cover-preview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 18px; margin-bottom: 8px; }
details { margin-top: 8px; color: var(--sub); font-size: 12px; }
.link-danger {
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 600;
  padding: 0;
  min-height: 34px;
}
.warn { background: rgba(255, 149, 0, 0.15); color: #8a4b00; border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; font-size: 14px; }

@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

@media (max-width: 767px) {
  .topbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #f2f2f7;
  }
  .hero-title { font-size: 28px; }
  .article-title, .page-title { font-size: 26px; }
  .page-head, .admin-top, .search-form { flex-wrap: wrap; align-items: flex-start; }
  .page-head .btn, .search-form .btn { width: 100%; }
  .row-actions .btn, .row-actions a.btn, .badge-row .btn { min-height: 40px; flex: 1 1 calc(50% - 8px); }
  .who { width: 100%; }
  .loc-chip { flex: 1 1 100%; }
  .brand { max-width: 100%; }
}
@media (max-width: 640px) {
  .icon-card { grid-template-columns: 22px 1fr; }
  .icon-preview { grid-column: 2; }
  .icon-body { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .wrap { max-width: 1080px; padding-left: 32px; padding-right: 32px; }
  .topbar { flex-wrap: nowrap; margin-left: -32px; margin-right: -32px; padding-left: 32px; padding-right: 32px; }
  .loc-chip { flex: 0 1 420px; max-width: 420px; margin-left: auto; }
  .brand strong { overflow: visible; text-overflow: clip; }
  .hero-title { font-size: 40px; }
  .feats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
    overflow: visible;
  }
  .feat { width: auto; }
  #articleList { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sheet-mask { align-items: center; }
  .article-layout.has-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
  }
  .article-layout.has-side .article-main { max-width: none; }
  .article-side { margin-top: 18px; position: sticky; top: 16px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .record-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
  }
  .record-grid .select-row,
  .record-grid .panel,
  .record-grid .batch-bar { grid-column: 1 / -1; }
  .record-grid .row-card { margin-bottom: 0; }
  .map-box iframe { height: 280px; }
  .admin-app { max-width: 1120px; }
}
@media (min-width: 1100px) {
  #articleList { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
:focus-visible { outline: 3px solid rgba(0, 122, 255, 0.35); outline-offset: 2px; }
