:root {
  --navy: #0d2748;
  --navy-2: #163a66;
  --red: #c62828;
  --red-dark: #8e0000;
  --bg: #eef2f7;
  --card: #ffffff;
  --text: #1a2332;
  --muted: #5a6b7d;
  --line: #d5dee8;
  --ok: #2e7d32;
  --warn: #ed6c02;
  --radius: 14px;
  --radius-tile: 5px;
  --font: "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;
  --shadow: 0 2px 10px rgba(13, 39, 72, 0.08);
  --base-fs: 17px; /* 標準（旧16pxより一回り大） */
}

* { box-sizing: border-box; }
html {
  font-size: var(--base-fs);
}
html.fs-lg {
  font-size: calc(var(--base-fs) * 1.25);
}
html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #dbe5f2 0%, var(--bg) 35%, #e8edf4 100%);
}
body { font-size: 1rem; }
a { color: var(--navy-2); text-decoration: none; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

.app-shell { max-width: 480px; margin: 0 auto; min-height: 100vh; padding-bottom: 5.25rem; }
.app-shell--wide { max-width: 1100px; }

.topbar {
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.5rem;
  display: grid;
  grid-template-columns: 3.5rem 1fr 3.5rem;
  align-items: center;
  gap: 0.25rem;
  position: sticky;
  top: 0;
  z-index: 40;
}
.topbar-title { text-align: center; min-width: 0; }
.topbar h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .sub {
  font-size: 0.6875rem;
  opacity: 0.8;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0.35rem 0.25rem;
  border-radius: 8px;
  min-height: 2.75rem;
}
.topbar-icon-btn:hover, .topbar-icon-btn:focus-visible {
  background: rgba(255,255,255,0.12);
  outline: none;
}
.topbar-icon-lab { font-size: 0.625rem; line-height: 1; opacity: 0.9; }
.topbar-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.topbar button:not(.topbar-icon-btn), .fs-toggle button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-size: 0.8125rem;
}
.fs-toggle {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  overflow: hidden;
}
.fs-toggle button {
  border: 0;
  border-radius: 0;
  padding: 0.35rem 0.55rem;
  opacity: 0.75;
}
.fs-toggle button.on {
  background: rgba(255,255,255,0.22);
  opacity: 1;
  font-weight: 700;
}
.fs-toggle--light { border-color: rgba(255,255,255,0.45); }
.fs-toggle--dark {
  border-color: var(--line);
}
.fs-toggle--dark button {
  color: var(--text);
  border-color: transparent;
}
.fs-toggle--dark button.on {
  background: var(--navy);
  color: #fff;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 39, 72, 0.45);
  z-index: 50;
}
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(80vw, 300px);
  background: #fff;
  z-index: 60;
  box-shadow: 4px 0 24px rgba(0,0,0,0.18);
  padding: 1rem 0.75rem;
  overflow-y: auto;
}
.nav-drawer-h, .settings-sheet-h {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  padding: 0.5rem 0.75rem 0.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}
.nav-drawer-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
}
.nav-drawer-item:hover { background: #f3f6fb; }
.nav-drawer-item--danger { color: var(--red); }
.settings-sheet {
  position: fixed;
  top: 3.5rem;
  right: 0.5rem;
  width: min(88vw, 280px);
  background: #fff;
  z-index: 60;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  padding: 0.5rem 0.5rem 0.75rem;
}

.page-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.page-head-row h2 { margin: 0; }
.btn-sm { width: auto !important; padding: 0.45rem 0.75rem !important; font-size: 0.875rem !important; }

.cal-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.cal-title { flex: 1; text-align: center; font-weight: 700; font-size: 1rem; color: var(--navy); }
.cal-mode { display: inline-flex; gap: 4px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8125rem;
  cursor: pointer;
  color: var(--muted);
}
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }
.cal-grid {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.cal-weekdays, .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-weekdays span {
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
  padding: 0.4rem 0;
  background: #f3f6fb;
}
.cal-weekdays span.sun, .cal-day.sun .cal-day-n { color: var(--red); }
.cal-weekdays span.sat, .cal-day.sat .cal-day-n { color: #1565c0; }
.cal-day {
  min-height: 3.4rem;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 0.25rem;
  cursor: pointer;
  background: #fff;
}
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.out { background: #f7f9fc; opacity: 0.55; }
.cal-day.on {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
  z-index: 1;
  position: relative;
}
.cal-day.today .cal-day-n {
  background: var(--red);
  color: #fff !important;
  border-radius: 999px;
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cal-day-n { font-size: 0.75rem; font-weight: 600; }
.cal-dots { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 2px; }
.cal-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--navy-2);
}
.cal-dot.dispatch { background: var(--red); }
.cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 6px;
}
.cal-week-col {
  min-height: 7rem;
  background: #f7f9fc;
  border-radius: 8px;
  padding: 0.35rem;
  cursor: pointer;
  border: 2px solid transparent;
}
.cal-week-col.on { border-color: var(--navy); background: #fff; }
.cal-week-col .cal-day-n { display: block; margin-bottom: 4px; }
.cal-week-ev {
  font-size: 0.65rem;
  line-height: 1.2;
  background: #e3ecf7;
  border-radius: 4px;
  padding: 2px 3px;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-week-ev.dispatch { background: #fdecea; color: var(--red-dark); }
.cal-day-panel { margin-top: 0.25rem; }
.cal-day-h { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--navy); }
.field-static { padding: 0.5rem 0; font-weight: 600; }

.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-nav {
  background: var(--navy); color: #fff; padding: 16px 12px;
}
.admin-nav a, .admin-nav button.nav {
  display: block; width: 100%; text-align: left;
  color: #fff; background: transparent; border: 0;
  padding: 10px 12px; border-radius: 8px; margin-bottom: 4px; cursor: pointer;
  font-size: 0.9375rem;
}
.admin-nav a:hover, .admin-nav button.nav:hover, .admin-nav button.nav.active {
  background: rgba(255,255,255,0.12);
}
.admin-nav .fs-row {
  margin: 12px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-nav .fs-row .lab { font-size: 0.75rem; opacity: 0.8; }
.admin-main { padding: 20px; font-size: 1rem; }
.admin-main h2 { font-size: 1.375rem; }
.admin-main .panel { display: none; }
.admin-main .panel.active { display: block; }

.page { padding: 1rem; display: none; }
.page.active { display: block; }

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  margin-bottom: 0.875rem;
  border-left: 5px solid var(--red);
}
.hero-card .label { font-size: 0.875rem; color: var(--muted); }
.hero-card .value { font-size: 1.375rem; font-weight: 700; margin-top: 4px; }

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.tile {
  background: var(--card);
  border-radius: var(--radius-tile);
  padding: 1.125rem 0.875rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 6rem;
  cursor: pointer;
  text-align: left;
}
.tile:active { transform: scale(0.98); }
.tile .icon {
  width: 2.25rem; height: 2.25rem; border-radius: 5px;
  display: grid; place-items: center;
  background: #e8eef8; color: var(--navy); font-weight: 700; margin-bottom: 0.625rem;
  font-size: 1rem;
}
.tile .title { font-weight: 700; font-size: 1.0625rem; }
.tile .desc { font-size: 0.875rem; color: var(--muted); margin-top: 4px; }
.tile .badge {
  display: inline-block; margin-top: 0.5rem;
  background: var(--red); color: #fff; font-size: 0.8125rem;
  padding: 2px 8px; border-radius: 999px;
}

.list {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.list-item {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.list-item:last-child { border-bottom: 0; }
.list-item .t { font-weight: 700; font-size: 1.0625rem; }
.list-item .m { font-size: 0.875rem; color: var(--muted); margin-top: 4px; }
.list-item.unread { background: #fff8f0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; padding: 0.75rem 1rem;
  background: var(--navy); color: #fff; font-weight: 700; cursor: pointer;
  width: 100%;
  font-size: 1rem;
}
.btn + .btn { margin-top: 8px; }
.btn-red { background: var(--red); }
.btn-ghost {
  background: #fff; color: var(--navy); border: 1px solid var(--line);
}
.field { margin-bottom: 0.75rem; }
.field label { display: block; font-size: 0.875rem; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; font-size: 1rem;
}

.login-wrap {
  max-width: 400px; margin: 40px auto; padding: 0 16px;
}
.login-card {
  background: var(--card); border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow);
}
.brand-mark {
  background: var(--navy); color: #fff; border-radius: 12px;
  padding: 16px; margin-bottom: 18px;
}
.brand-mark .tag {
  display: inline-block; font-size: 0.8125rem; background: var(--red);
  padding: 3px 8px; border-radius: 4px; margin-bottom: 8px;
}
.msg { padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; font-size: 0.9375rem; }
.msg-err { background: #ffebee; color: #b71c1c; }
.msg-ok { background: #e8f5e9; color: #1b5e20; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  max-width: 480px; margin: 0 auto;
  background: #fff; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom));
  z-index: 30;
}
.tabbar button {
  border: 0; background: transparent;
  padding: 6px 2px 4px;
  font-size: 0.65rem; color: var(--muted); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  line-height: 1.15;
}
.tabbar button svg { display: block; opacity: 0.7; }
.tabbar button.active { color: var(--navy); font-weight: 700; }
.tabbar button.active svg { opacity: 1; color: var(--navy); }

.table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
}
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; text-align: left; }
.table th { background: #f3f6fb; }

@media (max-width: 800px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { display: flex; flex-wrap: wrap; gap: 4px; }
}

.doc-compose {
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(220px, 320px);
  gap: 16px;
  align-items: start;
  max-width: 920px;
}
.doc-compose .hero-card { max-width: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.9375rem;
  cursor: pointer;
  line-height: 1.2;
}
.chip:hover { border-color: var(--navy); }
.chip.on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.chip.preset { border-style: dashed; }
.toggle-row { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.person-list {
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 8px;
  background: #fff;
}
.person-list label {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 4px;
  font-size: 0.9375rem;
  border-bottom: 1px solid #f0f2f6;
}
.person-list label:last-child { border-bottom: 0; }
.doc-preview .preview-count {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}
.doc-preview .preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 360px;
  overflow: auto;
  font-size: 0.9375rem;
}
.doc-preview .preview-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.doc-preview .hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 12px;
}
@media (max-width: 900px) {
  .doc-compose { grid-template-columns: 1fr; max-width: 560px; }
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.panel-head h2 { margin: 0; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
}
.form-narrow { max-width: 480px; }
.unit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.unit-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9375rem;
  cursor: pointer;
}
.unit-tabs button.on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.inline-2 { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.mini { font-size: 0.9375rem; color: var(--text); display: inline-flex; align-items: center; gap: 4px; }
.mini input, .mini select { width: auto; min-width: 64px; }
.place-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 1rem; }
.place-row select { width: auto; min-width: 100px; }
.field-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.field-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 8px;
  align-items: center;
}
.field-lab {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.field-ctl { min-width: 0; }
.field-ctl select,
.field-ctl input { width: 100%; }
.field-ctl--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.field-static {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
}
.badge-inline {
  display: inline-block; margin-left: 6px;
  background: #fff; color: var(--navy); font-size: 0.8125rem;
  padding: 2px 8px; border-radius: 5px; border: 1px solid rgba(255,255,255,.5);
}
.btn-icon {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.4;
}
.btn-icon:hover { border-color: var(--navy); }

.report-form { display: flex; flex-direction: column; gap: 10px; }
.rp-sec {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rp-sec-h {
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
}
.rp-sec-b { padding: 0.65rem 0.75rem; }
.rp-sec-b input,
.rp-sec-b select,
.rp-sec-b textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.55rem 0.65rem;
  font-size: 1rem;
}
.rp-sec-b .mini input,
.rp-sec-b .mini select { width: auto; }
.compact-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sub-label { font-size: 0.875rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.dt-range {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dt-block { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dt-label { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.dt-tilde {
  display: none;
}
.dt-block input[type="datetime-local"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 0.875rem;
  padding: 0.5rem 0.4rem;
  box-sizing: border-box;
}
.dt-sep {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1;
}
.meter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.meter-row .mini {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  font-weight: 700;
  color: var(--navy);
}
.meter-row .mini input { width: 100%; min-width: 0; }
.tile-sel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.tile-sel--3 { grid-template-columns: repeat(3, 1fr); }
.tile-sel--4 { grid-template-columns: repeat(4, 1fr); }
.sel-tile {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 5px;
  padding: 0.65rem 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
}
.sel-tile.on {
  background: #f5c542;
  border-color: #e0a800;
  color: #1a2332;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.member-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.member-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 0.65rem 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  line-height: 1.25;
  min-height: 3.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.member-panel .role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}
.member-panel.on {
  background: #f5c542;
  border-color: #e0a800;
  color: #1a2332;
}
.member-panel.on .role { color: #5a4a10; }
.rp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-status-bar {
  margin: 8px 0 10px;
  padding: 10px 12px;
  background: #f3f6f8;
  border-left: 4px solid var(--red, #c0392b);
  font-size: 0.9rem;
  line-height: 1.4;
}
.report-form.rp-readonly .rp-sec { opacity: 0.92; }
.hint { font-size: 0.875rem; color: var(--muted); margin: 6px 0 0; }
@media (max-width: 420px) {
  .tile-sel--3, .tile-sel--4, .member-panels { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 4.5rem 1fr; }
}

/* 点検（PWA準拠） */
.ins-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 10px 0;
}
.ins-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
}
.ins-tabs button.on {
  background: #f5c542;
  border-color: #e0a800;
}
.ins-panel { display: none; }
.ins-panel.on { display: block; }
.ins-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}
.ins-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  min-width: 520px;
}
.ins-table th,
.ins-table td {
  border-bottom: 1px solid var(--line);
  padding: 6px 5px;
  vertical-align: top;
  text-align: left;
}
.ins-table th {
  background: #f3f6fb;
  font-weight: 700;
  color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1;
}
.ins-table .ro { color: var(--muted); }
.ins-table select,
.ins-table input[type="text"] {
  width: 100%;
  min-width: 0;
  font-size: 0.75rem;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.ins-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.ins-actions .btn { width: auto; flex: 1; min-width: 120px; }
.ins-inspector-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.ins-inspector-name {
  font-weight: 700;
  color: var(--navy);
}
.ins-pick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.ins-pick button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 10px 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.ins-pick button.on {
  background: #f5c542;
  border-color: #e0a800;
}
