/* 东台八佰伴小助手 - 移动优先样式 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #2563d4;
  --primary-dark: #1749a4;
  --accent: #00a9ad;
  --vehicle: #178bc2;
  --bg: #f2f7fc;
  --card: #ffffff;
  --text: #172b4d;
  --muted: #7d91aa;
  --line: #dbe7f3;
  --go: #16a34a;
  --no: #dc2626;
  --radius: 14px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 56px;
  line-height: 1.45;
}
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--primary);
  color: #fff;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 0;
  box-shadow: 0 3px 14px rgba(15,39,59,.18);
}
.brand { font-size: 17px; font-weight: 800; padding-bottom: 11px; letter-spacing: .4px; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 14px;
  padding: 9px 12px 11px;
  border-bottom: 3px solid transparent;
  flex: 0 0 auto;
}
.nav a.active { color: #fff; font-weight: 800; border-bottom-color: #67e8f9; }
.container { max-width: 720px; margin: 0 auto; padding: 18px 16px; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 16px; }

.flash { padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; font-size: 14px; }
.flash-ok { background: #e8f7ee; color: var(--go); border: 1px solid #bcebd0; }
.flash-error { background: #fdecec; color: var(--no); border: 1px solid #f6c6c6; }

.page-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 18px; }
.page-head h2 { font-size: 24px; letter-spacing: -.2px; }
.date-form input { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; }

.stat-card {
  background: linear-gradient(135deg, #1f5eff, #4d8bff);
  color: #fff; border-radius: var(--radius);
  padding: 20px; text-align: center; margin-bottom: 14px;
}
.stat-num { font-size: 44px; font-weight: 800; line-height: 1; }
.stat-label { margin-top: 6px; font-size: 14px; opacity: .92; }
.stat-tag { display: inline-block; margin-top: 8px; background: rgba(255,255,255,.2); padding: 3px 10px; border-radius: 999px; font-size: 12px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(31,55,78,.06);
}
.card-title { font-size: 16px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.count { background: #e8f1fb; color: var(--primary); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }

.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
.grid-schedule { table-layout: fixed; }
.grid-schedule td:nth-child(2), .grid-schedule th:nth-child(2) { text-align: left; }
.grid-schedule td:nth-child(3), .grid-schedule th:nth-child(3) { text-align: left; white-space: nowrap; }
.grid-meal { table-layout: fixed; }
.grid-meal td, .grid-meal th { text-align: left; }
.grid-meal td:nth-child(3), .grid-meal th:nth-child(3) { text-align: center; }
.grid-meal td:nth-child(4), .grid-meal th:nth-child(4) { text-align: left; white-space: nowrap; }
.grid th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.grid td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.grid tr:last-child td { border-bottom: none; }
.me-row { background: #eef4ff; }
.me-tag { display: inline-block; margin-left: 6px; background: var(--primary); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 999px; }
.phone-link,
.phone-link:visited,
.phone-link:hover,
.phone-link:active,
.phone-link:focus {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.time { color: var(--muted); font-size: 13px; }
.shift { display: inline-block; background: #eef2ff; color: var(--primary-dark); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.shift-go { background: #e8f7ee; color: var(--go); }
.shift-no { background: #fdecec; color: var(--no); }
.attendance-status { margin-top: 4px; font-size: 11px; line-height: 1.25; }
.attendance-status-ok { color: #047857; }
.attendance-status-pending { color: var(--muted); }
.attendance-status-off { color: #64748b; }
.attendance-status-missing { color: #b42318; font-weight: 800; }
.attendance-missing-row td { background: #fff1f2; }
.attendance-missing-row td:first-child { box-shadow: inset 3px 0 0 #dc2626; }
.attendance-sync { margin-top: 6px; color: var(--muted); font-size: 12px; }
.schedule-filter-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
}
.schedule-filter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #2563d4, #00a9ad);
}
.schedule-filter-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}
.schedule-filter-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--primary);
  background: #e8f1ff;
}
.schedule-filter-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.schedule-filter-title { color: var(--text); font-size: 16px; font-weight: 800; line-height: 1.25; }
.schedule-filter-subtitle { margin-top: 3px; color: var(--muted); font-size: 12px; }
.schedule-filter { display: block; }
.schedule-filter-field { display: block; color: var(--text); font-size: 13px; }
.schedule-filter-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.schedule-filter-control { position: relative; display: block; }
.schedule-filter select {
  display: block;
  width: 100%;
  min-height: 46px;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 42px 0 13px;
  border: 1px solid #cddded;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(37,99,212,.04);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.schedule-filter select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,212,.12);
}
.schedule-filter-chevron {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 17px;
  height: 17px;
  pointer-events: none;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
}
.schedule-filter-reset {
  display: inline-flex;
  align-items: center;
  margin-top: 11px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.schedule-filter-reset::before { content: "↺"; margin-right: 4px; font-size: 15px; line-height: 1; }
.schedule-filter-reset:hover { color: var(--primary-dark); text-decoration: underline; }
.schedule-filter-selected {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  padding: 9px 11px;
  border: 1px solid #d7e8ff;
  border-radius: 9px;
  background: #eef6ff;
  color: #55708e;
  font-size: 12px;
}
.schedule-filter-selected strong { color: var(--primary-dark); font-size: 13px; }
.schedule-filter-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(0,169,173,.13); }
.schedule-filter .btn { margin-top: 10px; }
.schedule-month-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0 0 16px; }
.schedule-month-summary > div { min-width: 0; padding: 12px 10px; text-align: center; background: #fff; border: 1px solid #dce7f3; border-radius: 8px; box-shadow: 0 2px 8px rgba(31, 55, 78, .04); }
.schedule-month-summary strong, .schedule-month-summary span { display: block; }
.schedule-month-summary strong { color: var(--primary-dark); font-size: 21px; line-height: 1.1; }
.schedule-month-summary span { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.schedule-month-card { padding-bottom: 0; overflow: hidden; }
.schedule-month-card .card-title { margin-bottom: 13px; }
.schedule-month-calendar { margin: 0 -18px; border-bottom: 0; }
.schedule-month-calendar .calendar-rest { color: #52657a; background: #f0f4f7; }
.phone-edit-form { display: flex; min-width: 170px; gap: 6px; align-items: center; }
.phone-edit-form input { min-width: 0; width: 112px; padding: 6px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); font-size: 12px; }
.phone-edit-form .btn { flex: 0 0 auto; }
.empty { text-align: center; color: var(--muted); padding: 24px 0; font-size: 14px; }
.muted { color: var(--muted); font-size: 13px; }
.ops { display: flex; gap: 6px; flex-wrap: wrap; }

.special-shift-card {
  background: var(--card);
}
.special-shift-groups { display: grid; gap: 0; }
.special-shift-group + .special-shift-group {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.special-shift-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 9px;
}
.special-shift-names {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.special-shift-name {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-left: 3px solid #67e8f9;
  border-radius: 6px;
  background: #f5f9fe;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.meal-status { padding: 10px 12px; border-radius: 8px; font-size: 14px; margin-bottom: 12px; }
.meal-go { background: #e8f7ee; color: var(--go); }
.meal-no { background: #fdecec; color: var(--no); }
.meal-unknown { background: #f4f6fb; color: var(--muted); }
.meal-page .card, .meal-stats-page .card { margin-bottom: 24px; }
.meal-page .date-line, .meal-stats-page .date-line { padding: 20px; margin-bottom: 26px; }
.meal-page .card-title, .meal-stats-page .card-title { margin-bottom: 18px; }
.meal-page .mt-title { margin-top: 22px; margin-bottom: 10px; line-height: 1.5; }
.meal-page .date-line .card-title { margin-bottom: 6px; }
.meal-page .card > form > label { display: block; color: var(--muted); font-size: 13px; }
.meal-page .card > form > label select { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; }
.meal-btns { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.meal-btns .week-toggle { min-height: 42px; padding: 9px 6px; }
.meal-page #weekly-meal-form > .btn-primary { margin-top: 24px; }
.meal-unconfirmed-card .mt-title + .muted { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; line-height: 1.7; }
.meal-unconfirmed-card .mt-title:not(:first-child) { padding-top: 14px; border-top: 1px solid var(--line); }
.meal-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.meal-daily-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.meal-stat {
  min-width: 0; padding: 17px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #f7fafc; text-align: center;
}
.meal-day-stat {
  min-width: 0; padding: 12px 8px; border: 1px solid var(--line);
  border-radius: 10px; background: #f7fafc; text-align: center;
}
.meal-stat strong { display: block; color: var(--primary-dark); font-size: 25px; line-height: 1.15; }
.meal-stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.meal-day-stat strong { display: block; color: var(--primary-dark); font-size: 15px; line-height: 1.2; }
.meal-day-stat span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.25; white-space: nowrap; }
.meal-stat-ok { background: #eefaf3; border-color: #c9ecd7; }
.meal-stat-ok strong, .meal-confirmed { color: var(--go); }
.meal-stat-pending { background: #fff7ed; border-color: #fed7aa; }
.meal-stat-pending strong, .meal-unconfirmed { color: #c2410c; }
.meal-stat-dept { padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.meal-stat-dept:last-child { border-bottom: none; padding-bottom: 0; }
.meal-stat-dept + .meal-stat-dept { margin-top: 6px; }
.meal-stat-names { color: var(--text); font-size: 14px; line-height: 1.9; padding: 8px 12px; border-radius: 8px; background: #f8fafc; }
.meal-stat-all-ok { color: var(--go); font-size: 14px; }
.meal-stats-table-wrap { overflow-x: auto; margin: -2px -4px 0; padding: 0 4px 2px; }
.meal-stats-table { table-layout: fixed; }
.meal-stats-table th, .meal-stats-table td { padding-left: 6px; padding-right: 6px; }
.meal-stats-table th:nth-child(1), .meal-stats-table td:nth-child(1) { width: 18%; }
.meal-stats-table th:nth-child(2), .meal-stats-table td:nth-child(2) { width: 28%; }
.meal-stats-table th:nth-child(n+3), .meal-stats-table td:nth-child(n+3) { text-align: center; }
.meal-confirmed, .meal-unconfirmed { font-weight: 700; white-space: nowrap; }
.date-line .card-title { margin-bottom: 2px; }
.mt-title { font-size: 13px; font-weight: 700; color: var(--primary-dark); margin: 12px 0 6px; }
.mt-title:first-child { margin-top: 0; }

.profile { display: flex; gap: 14px; align-items: center; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; flex-shrink: 0;
}
.p-name { font-size: 18px; font-weight: 700; }
.p-sub { color: var(--muted); font-size: 13px; margin-top: 4px; margin-bottom: 8px; }
.my-menu-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.my-menu-actions .btn { flex: 1 1 180px; }

/* 按钮 */
.btn { display: inline-block; border: none; border-radius: 9px; padding: 10px 16px; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 3px 8px rgba(22,100,168,.2); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-go { background: var(--go); color: #fff; }
.btn-no { background: var(--no); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--primary); }
.btn-danger { background: #fdecec; color: var(--no); border: 1px solid #f6c6c6; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-block { display: block; width: 100%; }

/* 登录 */
.login-wrap { display: flex; align-items: center; justify-content: center; min-height: 78vh; }
.login-card { background: #fff; border-radius: 16px; padding: 28px 24px; width: 100%; max-width: 360px; box-shadow: 0 6px 30px rgba(20,30,60,.08); }
.login-logo { text-align: center; font-size: 20px; font-weight: 800; margin-bottom: 20px; color: var(--primary); }
.login-logo small { font-size: 13px; color: var(--muted); font-weight: 400; }
.login-card label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
.login-card input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.login-card .btn { margin-top: 18px; }
.login-options { display: flex; justify-content: flex-start; gap: 16px; margin-top: 12px; }
.login-check { display: flex !important; align-items: center; gap: 6px; margin: 0 !important; color: var(--text) !important; font-size: 13px !important; cursor: pointer; }
.login-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }
.login-clear { display: block; width: 100%; margin-top: 12px; border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.login-clear:hover { color: var(--primary); }
.hint { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }

/* 表单网格 */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { font-size: 13px; color: var(--muted); }
.form-grid input, .form-grid select { width: 100%; margin-top: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; }
.form-grid .btn { grid-column: 1 / -1; }


/* 我的排班日历 */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.calendar-weekday {
  padding: 8px 3px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  background: #f7f8fb;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calendar-day {
  min-height: 92px;
  padding: 5px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.calendar-outside { background: #fafbfc; color: #c4cad5; }
.calendar-date { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.calendar-shift {
  display: block;
  margin: 3px 0;
  padding: 3px 4px;
  background: #eef2ff;
  color: var(--primary-dark);
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.calendar-shift span, .calendar-shift small { display: block; }
.calendar-shift small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.calendar-meal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 3px 0;
  padding: 3px 4px;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.25;
}
.calendar-meal span { font-weight: 700; }
.calendar-meal small { font-size: 9px; }
.calendar-meal.meal-go { background: #e7f7ee; color: #18794e; }
.calendar-meal.meal-no { background: #fdecec; color: #c53b3b; }

/* 客流数据 */
.flow-page-head { margin-bottom: 20px; }
.flow-kicker {
  color: var(--accent); font-size: 11px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 3px;
}
.flow-page-badge {
  color: #008b91; background: #e6fbfb; border: 1px solid #bfecef;
  border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 800;
}
.flow-page-badge-vehicle { color: var(--primary-dark); background: #eaf2ff; border-color: #c9dcfa; }
.flow-card { margin-bottom: 18px; }
.flow-overview-card { border-top: 4px solid var(--primary); }
.flow-page-vehicle .flow-overview-card { border-top-color: var(--vehicle); }
.flow-calendar-card, .flow-table-card { overflow: hidden; }
.flow-month-card { border-left: 4px solid var(--accent); }
.flow-page-vehicle .flow-month-card { border-left-color: var(--vehicle); }
.flow-filters { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.flow-filters label { color: var(--muted); font-size: 12px; min-width: 0; }
.flow-filters input, .flow-filters select { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; margin-top: 4px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 14px; line-height: 1.3; height: 38px; }
.flow-point-filter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.flow-point-filter label { color: var(--muted); font-size: 12px; min-width: 0; }
.flow-point-filter select, .flow-point-filter input { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; margin-top: 4px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 14px; line-height: 1.3; height: 38px; }
.flow-point-filter select { text-overflow: ellipsis; }
.flow-point-card { border-left: 4px solid #0f766e; }
.flow-summary-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-filter-single { grid-template-columns: minmax(0, 1fr) auto; }
.flow-filter-range { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
.flow-query-card {
  background: #f8fafc; border-style: dashed; border-left: 4px solid var(--accent);
  box-shadow: none;
}
.flow-page-vehicle .flow-query-card { border-left-color: var(--vehicle); }
.flow-query-card .btn { min-width: 76px; }
.flow-range-card { border-left: 4px solid var(--primary); }
.flow-page-vehicle .flow-range-card { border-left-color: var(--vehicle); }
.flow-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.flow-summary-one { grid-template-columns: minmax(0, 1fr); }
.flow-summary-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vehicle-realtime-summary { grid-template-columns: minmax(0, 1fr); }
.flow-metric {
  min-width: 0; background: #f7fafc; border: 1px solid #dfe8f0;
  padding: 14px; border-radius: 10px; box-shadow: 0 2px 5px rgba(31,55,78,.04);
}
.flow-metric-primary { background: #edf6ff; border-color: #c9dcfa; }
.flow-metric strong { display: block; color: var(--primary-dark); font-size: 26px; line-height: 1.15; letter-spacing: -.4px; }
.flow-metric span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.flow-range-list { display: grid; gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
.flow-range-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.flow-range-list span { color: var(--muted); font-size: 13px; }
.flow-range-list strong { color: var(--primary-dark); font-size: 16px; }
.flow-range-list small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.flow-comparison { position: relative; }
.vehicle-comparison-summary { margin-top: 12px; }
.passenger-comparison-summary { margin-top: 12px; }
.flow-page-vehicle .flow-metric strong { color: var(--primary-dark); }
.flow-page-vehicle .vehicle-realtime-summary .flow-metric:first-child { background: #eaf2ff; border-color: #c9dcfa; }
.flow-trend { display: block; margin-top: 5px; font-size: 12px; font-style: normal; font-weight: 700; }
.flow-trend-up { color: #18794e; }
.flow-trend-down { color: #c53b3b; }
.flow-trend-flat, .flow-trend-new, .flow-trend-muted { color: var(--muted); }
.flow-table { table-layout: fixed; }
.flow-table th, .flow-table td { padding: 8px 4px; text-align: center; white-space: nowrap; }
.flow-table th:first-child, .flow-table td:first-child { text-align: left; }
.attendance-table th, .attendance-table td { padding-top: 10px; padding-bottom: 10px; }
.attendance-table td:nth-child(2), .attendance-table th:nth-child(2) { white-space: nowrap; }
.flow-note { margin-top: 8px; color: var(--muted); font-size: 12px; }
.flow-calendar .calendar-day { min-height: 80px; }
.flow-entry { margin-top: 8px; padding: 4px; border-radius: 4px; background: #e7f7ee; color: #18794e; font-size: 10px; }
.flow-entry span, .flow-entry strong { display: block; }
.flow-entry strong { font-size: 14px; line-height: 1.25; }
.vehicle-entry { margin-top: 8px; padding: 4px; border-radius: 4px; background: #e8f6fb; color: #147ba9; font-size: 10px; }
.vehicle-entry span, .vehicle-entry strong { display: block; }
.vehicle-entry strong { font-size: 14px; line-height: 1.25; }
.permission-page { max-width: 720px; margin: 0 auto; }
.permission-count { color: var(--muted); font-size: 12px; }
.permission-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.permission-table { width: 100%; min-width: 650px; border-collapse: collapse; table-layout: fixed; }
.permission-table th, .permission-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: center; }
.permission-table th { color: var(--muted); background: #f7fafc; font-size: 12px; font-weight: 700; }
.permission-table tr:last-child td { border-bottom: 0; }
.permission-table .permission-user-col { width: 230px; text-align: left; }
.permission-user-cell { text-align: left !important; }
.permission-user-cell strong, .permission-user-cell span { display: block; overflow-wrap: anywhere; }
.permission-user-cell strong { font-size: 14px; }
.permission-user-cell span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.permission-user-cell small { display: inline-block; margin-top: 5px; padding: 2px 6px; border-radius: 4px; background: #e8f1fb; color: var(--primary); font-size: 10px; font-weight: 700; }
.permission-check { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; cursor: pointer; }
.permission-check input { position: absolute; opacity: 0; pointer-events: none; }
.permission-check span { width: 20px; height: 20px; border: 2px solid #a7b8cc; border-radius: 4px; background: #fff; }
.permission-check input:checked + span { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 4px #fff; }
.permission-check input:focus-visible + span { outline: 2px solid #67e8f9; outline-offset: 2px; }
.permission-check input:disabled + span { border-color: #9bb9e8; background: #dbeafe; box-shadow: inset 0 0 0 4px #fff; cursor: not-allowed; }
.permission-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; padding: 14px 0 calc(8px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, transparent, var(--bg) 28%); }

.temperature-page { max-width: 720px; margin: 0 auto; }
.temperature-updated { color: var(--muted); font-size: 12px; white-space: nowrap; }
.temperature-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.temperature-stat {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
}
.temperature-stat strong { display: block; color: var(--text); font-size: 25px; line-height: 1.1; }
.temperature-stat strong small { margin-left: 2px; color: var(--muted); font-size: 13px; font-weight: 700; }
.temperature-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.temperature-stat-main { border-color: #91d5ff; background: #f0f9ff; }
.temperature-stat-main strong { color: #0369a1; }
.temperature-stat-alarm { border-color: #f6c6c6; background: #fff1f2; }
.temperature-stat-alarm strong { color: var(--no); }
.temperature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.temperature-device {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.temperature-device.has-alarm { border-color: #f1a7a7; }
.temperature-device-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.temperature-device-head > div { min-width: 0; }
.temperature-device h3 { overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }
.temperature-device-meta { overflow-wrap: anywhere; margin-top: 4px; color: var(--muted); font-size: 10px; }
.device-status { flex: 0 0 auto; border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; }
.device-status.online { background: #e8f7ee; color: #047857; }
.device-status.offline { background: #eef2f6; color: #64748b; }
.temperature-readings { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.temperature-reading { min-width: 0; background: #f3f8fd; border-radius: 8px; padding: 10px; }
.temperature-reading.alarm { background: #fff1f2; }
.temperature-reading strong { display: block; color: #075985; font-size: 26px; line-height: 1; }
.temperature-reading.alarm strong { color: var(--no); }
.temperature-reading strong small { margin-left: 2px; color: var(--muted); font-size: 13px; }
.temperature-reading span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.temperature-device-foot { display: flex; align-items: flex-start; flex-direction: column; gap: 3px; margin-top: 10px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.temperature-empty { padding: 14px 0; }
.temperature-note { margin-top: 14px; }

.member-growth-page { max-width: 720px; margin: 0 auto; }
.member-subtitle { margin-top: 4px; color: var(--muted); font-size: 12px; }
.member-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.member-metric { min-width: 0; padding: 16px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.member-metric span, .member-metric small { display: block; color: var(--muted); font-size: 12px; }
.member-metric strong { display: block; margin: 7px 0 5px; color: var(--primary-dark); font-size: 28px; line-height: 1.05; overflow-wrap: anywhere; }
.member-metric-primary { background: #edf6ff; border-color: #c9dcfa; }
.member-metric-primary strong { color: var(--primary); }
.member-trend-card { overflow: hidden; }
.member-trend-list { display: grid; gap: 10px; }
.member-trend-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 36px; gap: 10px; align-items: center; }
.member-trend-date { color: var(--muted); font-size: 12px; }
.member-trend-bar-track { height: 10px; overflow: hidden; border-radius: 4px; background: #e6edf5; }
.member-trend-bar-track i { display: block; min-width: 2px; height: 100%; border-radius: 4px; background: var(--accent); }
.member-trend-row strong { color: var(--primary-dark); font-size: 13px; text-align: right; }
.member-history-wrap { overflow-x: auto; margin: 0 -2px; }
.member-history-table { min-width: 540px; }
.member-history-table th:nth-child(2), .member-history-table td:nth-child(2), .member-history-table th:nth-child(3), .member-history-table td:nth-child(3) { text-align: right; }
.member-positive { color: #b42318; font-weight: 800; }

/* 应用壳层与首页数据看板 */
body { padding-bottom: 68px; }
.app-header {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top, 0px)) 18px 14px;
  color: #fff;
  background: linear-gradient(135deg, #0758e8, #1a98dc);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 4px 14px rgba(7, 88, 232, .13);
}
.app-brand { color: #fff; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: 0; }
.app-alert { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: #fff; }
.app-alert svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.container { min-height: 0; margin: 0 auto; padding: 16px 16px 10px; }
.data-container { margin-top: 0; padding-top: 12px; }
.data-no-access { min-height: 48vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 16px; }
.data-no-access-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px; color: #64748b; background: #e8eef6; border-radius: 16px; }
.data-no-access-icon svg { width: 30px; height: 30px; fill: currentColor; }
.data-no-access h1 { color: var(--text); font-size: 22px; line-height: 1.25; }
.data-no-access p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.foot { display: none; }
.bottom-nav {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 60px;
  padding: 6px 18px 7px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(219, 231, 243, .95);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -4px 16px rgba(26, 61, 105, .10);
  backdrop-filter: blur(12px);
}
.bottom-nav a { display: grid; justify-items: center; align-content: center; gap: 2px; min-width: 0; color: #728198; text-decoration: none; font-size: 11px; font-weight: 650; }
.bottom-nav a.active { color: #0b5eea; font-weight: 800; }
.bottom-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.bottom-nav a.active svg { fill: rgba(11, 94, 234, .08); stroke-width: 2; }
.data-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 3px;
  margin: 0 0 14px;
  padding: 4px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(31, 55, 78, .05);
}
.data-tabs a { min-width: 68px; padding: 8px 6px; color: var(--muted); text-align: center; text-decoration: none; font-size: 13px; font-weight: 700; border-radius: 7px; }
.data-tabs a.active { color: #0758e8; background: #eaf2ff; }
.dashboard-page { max-width: 720px; margin: 0 auto; }
.dashboard-title-row { display: flex; align-items: flex-start; justify-content: space-between; padding: 1px 2px 12px; }
.dashboard-title-row h1 { color: #15233b; font-size: 22px; line-height: 1.2; }
.dashboard-title-row p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.dashboard-live { padding: 4px 8px; color: #047857; background: #e7f8ef; border-radius: 5px; font-size: 10px; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dashboard-card { position: relative; display: block; min-width: 0; min-height: 118px; padding: 14px; overflow: hidden; color: var(--text); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 3px 10px rgba(31, 55, 78, .05); }
.dashboard-card-label, .dashboard-card small { position: relative; z-index: 1; display: block; }
.dashboard-card-label { color: #53657d; font-size: 12px; font-weight: 700; }
.dashboard-card strong { position: relative; z-index: 1; display: block; margin: 6px 0 3px; color: #102a62; font-size: 28px; line-height: 1; letter-spacing: 0; }
.dashboard-card strong em { margin-left: 2px; font-size: 13px; font-style: normal; }
.dashboard-card small { color: var(--muted); font-size: 11px; }
.dashboard-card svg { position: absolute; right: 10px; bottom: 9px; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; opacity: .30; }
.dashboard-card-passenger { background: linear-gradient(145deg, #f7fbff, #e4f0ff); border-color: #c7ddff; color: #1766cf; }
.dashboard-card-vehicle { background: linear-gradient(145deg, #f5fcff, #def5f7); border-color: #bfe8e9; color: #007e86; }
.dashboard-card-temperature { background: linear-gradient(145deg, #fffaf1, #fff0d2); border-color: #f3d89f; color: #bd7410; }
.dashboard-card-member { background: linear-gradient(145deg, #fff8fb, #fde7ef); border-color: #f2cad9; color: #cf3565; }
.dashboard-duty { display: block; margin-top: 14px; padding: 14px; color: var(--text); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 3px 10px rgba(31, 55, 78, .05); }
.dashboard-duty .dashboard-section-head { margin-bottom: 9px; }
.dashboard-duty .dashboard-section-head > span { color: #0b5eea; font-size: 12px; font-weight: 700; white-space: nowrap; }
.dashboard-duty .dashboard-section-head p { margin-top: 2px; color: var(--muted); font-size: 11px; }
.dashboard-duty-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dashboard-duty-group { min-width: 0; padding: 9px 10px; background: #f7faff; border: 1px solid #e1ebf8; border-radius: 8px; }
.dashboard-duty-group b { display: block; margin-bottom: 6px; color: #0b5eea; font-size: 11px; }
.dashboard-duty-people { display: flex; flex-wrap: wrap; gap: 5px; }
.dashboard-duty-people span { display: inline-flex; min-width: 0; padding: 3px 6px; color: #40536d; background: #fff; border: 1px solid #e6edf6; border-radius: 4px; font-size: 12px; line-height: 1.35; }
.dashboard-section { margin-top: 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 3px 10px rgba(31, 55, 78, .05); }
.dashboard-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dashboard-section-head h2 { font-size: 16px; }
.dashboard-section-head a { color: #0b5eea; text-decoration: none; font-size: 12px; font-weight: 700; }
.dashboard-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.dashboard-links a { display: flex; min-width: 0; align-items: center; gap: 7px; padding: 9px 6px; color: var(--text); text-decoration: none; font-size: 12px; font-weight: 700; border-bottom: 1px solid #edf1f6; }
.dashboard-links a:nth-last-child(-n+2) { border-bottom: 0; }
.dashboard-links a > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-links small { margin-left: auto; color: #9ba9ba; font-size: 16px; line-height: 1; }
.dashboard-link-icon { display: inline-flex; width: 25px; height: 25px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 6px; font-size: 11px; }
.icon-passenger { color: #1766cf; background: #e5f0ff; }
.icon-vehicle { color: #007e86; background: #dff5f7; }
.icon-temperature { color: #bd7410; background: #fff0d4; }
.icon-member { color: #cf3565; background: #fde8ef; }

@media (max-width: 430px) {
  .app-header { padding: max(9px, env(safe-area-inset-top, 0px)) 16px 12px; border-radius: 0 0 16px 16px; }
  .app-brand { font-size: 19px; }
  .container { margin-top: 0; padding: 14px 12px 8px; }
  .data-container { margin-top: 0; padding-top: 10px; }
  .dashboard-title-row { padding: 1px 2px 10px; }
  .dashboard-title-row h1 { font-size: 21px; }
  .dashboard-card { min-height: 110px; padding: 12px; }
  .dashboard-card strong { font-size: 26px; }
  .dashboard-card svg { width: 26px; height: 26px; }
  .dashboard-duty { margin-top: 12px; padding: 12px; }
  .dashboard-duty-groups { gap: 8px; }
  .dashboard-duty-group { padding: 8px; }
  .bottom-nav { min-height: 58px; padding: 5px 14px 6px; }
  .bottom-nav svg { width: 20px; height: 20px; }
  .bottom-nav a { font-size: 10px; }
  .card { padding: 14px; margin-bottom: 16px; }
  .page-head h2 { font-size: 22px; }
  .schedule-filter-card { padding: 15px; }
  .schedule-filter-heading { gap: 9px; margin-bottom: 14px; }
  .schedule-filter-icon { width: 34px; height: 34px; border-radius: 10px; }
  .schedule-filter-icon svg { width: 19px; height: 19px; }
  .schedule-filter-title { font-size: 15px; }
  .schedule-filter-subtitle { font-size: 11px; }
  .schedule-filter select { min-height: 44px; }
  .schedule-filter-selected { margin-top: 12px; }
  .schedule-month-summary { gap: 7px; margin-bottom: 14px; }
  .schedule-month-summary > div { padding: 10px 5px; }
  .schedule-month-summary strong { font-size: 19px; }
  .schedule-month-calendar { margin: 0 -14px; }
  .flow-page-head { margin-bottom: 16px; }
  .flow-page-badge { padding: 5px 8px; }
  .calendar-day { min-height: 76px; padding: 3px; }
  .calendar-shift { font-size: 9px; padding: 2px; }
  .calendar-shift small { font-size: 8px; }
  .calendar-meal { font-size: 9px; padding: 2px; }
  .calendar-meal small { font-size: 8px; }
  .flow-filters { grid-template-columns: 1fr 1fr; }
  .flow-filters .btn { grid-column: 1 / -1; }
  .flow-point-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .flow-point-filter .btn { grid-column: 1 / -1; }
  /* 手机端日期筛选：统一为「两列等宽 + 整行按钮」，消除重叠与大小不一 */
  .flow-filters.flow-filter-range,
  .flow-filters.flow-point-filter,
  .flow-filters.flow-filter-single,
  .flow-filters.member-range-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .flow-filters.flow-point-filter > label:first-of-type { grid-column: 1 / -1; }
  .flow-filters.flow-filter-single > label:only-of-type { grid-column: 1 / -1; }
  .flow-filters label { font-size: 12px; min-width: 0; }
  .flow-filters input,
  .flow-filters select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    padding: 9px 8px;
    font-size: 14px;
    line-height: 1.25;
    height: 38px;
    -webkit-appearance: none;
    appearance: none;
  }
  .flow-filters input[type="date"] { min-height: 38px; text-align: left; }
  .flow-filters .btn { grid-column: 1 / -1; width: 100%; min-height: 40px; }
  .flow-summary-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-filter-single { grid-template-columns: minmax(0, 1fr) auto; }
  .flow-filter-single .btn { grid-column: auto; }
  .flow-summary { grid-template-columns: 1fr; gap: 10px; }
  .flow-summary-two { grid-template-columns: 1fr; }
  .vehicle-realtime-summary { grid-template-columns: minmax(0, 1fr); }
  .vehicle-realtime-summary { gap: 7px; }
  .vehicle-realtime-summary .flow-metric { padding: 12px 10px; }
  .vehicle-realtime-summary .flow-metric strong { font-size: 22px; }
  .vehicle-realtime-summary .flow-metric span { font-size: 11px; }
  .flow-page-vehicle .vehicle-comparison-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .flow-page-vehicle .vehicle-comparison-summary .flow-metric { padding: 10px 8px; }
  .flow-page-vehicle .vehicle-comparison-summary .flow-metric strong { font-size: 19px; }
  .flow-page-vehicle .vehicle-comparison-summary .flow-metric span { font-size: 10px; }
  .flow-page-vehicle .vehicle-comparison-summary .flow-trend { font-size: 10px; }
  .flow-page-passenger .passenger-comparison-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .flow-page-passenger .passenger-comparison-summary .flow-metric { padding: 10px 8px; }
  .flow-page-passenger .passenger-comparison-summary .flow-metric strong { font-size: 19px; }
  .flow-page-passenger .passenger-comparison-summary .flow-metric span { font-size: 10px; }
  .flow-page-passenger .passenger-comparison-summary .flow-trend { font-size: 10px; }
  .meal-page .card, .meal-stats-page .card { margin-bottom: 20px; }
  .meal-page .date-line, .meal-stats-page .date-line { padding: 16px; margin-bottom: 22px; }
  .meal-btns { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .meal-btns .week-toggle { min-height: 40px; }
  .meal-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .meal-daily-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .meal-stat { padding: 14px 8px; }
  .meal-day-stat { padding: 11px 6px; }
  .meal-stat strong { font-size: 21px; }
  .meal-stats-table { font-size: 11px; }
  .meal-stats-table th, .meal-stats-table td { padding-left: 3px; padding-right: 3px; }
  .flow-metric { padding: 12px; }
  .flow-metric strong { font-size: 23px; }
  .flow-table { font-size: 12px; }
  .flow-calendar .calendar-day { min-height: 64px; }
  .flow-entry { margin-top: 4px; padding: 3px; font-size: 9px; }
  .flow-entry strong { font-size: 11px; }
  .vehicle-entry { margin-top: 4px; padding: 3px; font-size: 9px; }
  .vehicle-entry strong { font-size: 11px; }
  .vehicle-hourly-table, .vehicle-monthly-table { font-size: 10px; }
  .vehicle-hourly-table th, .vehicle-hourly-table td, .vehicle-monthly-table th, .vehicle-monthly-table td { padding: 7px 2px; }
  .permission-table { min-width: 580px; }
  .permission-table .permission-user-col { width: 180px; }
  .permission-table th, .permission-table td { padding: 8px 6px; }
  .permission-actions .btn { width: 100%; }
  .temperature-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .temperature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .temperature-stat { padding: 12px 6px; }
  .temperature-stat strong { font-size: 21px; }
  .temperature-device { padding: 10px; }
  .temperature-device-head { display: block; }
  .device-status { display: inline-block; margin-top: 6px; }
  .temperature-reading strong { font-size: 22px; }
  .temperature-device-foot { align-items: flex-start; flex-direction: column; gap: 3px; }
  .member-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .member-metric { padding: 12px 8px; }
  .member-metric strong { font-size: 21px; }
  .member-metric span, .member-metric small { font-size: 10px; }
  .member-trend-row { grid-template-columns: 42px minmax(0, 1fr) 30px; gap: 7px; }
}

