.entry-tabs:is(.work-entry-tabs,.groundwater-tabs) {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  overflow-x: auto;
  padding: 4px 2px 7px;
  scrollbar-width: thin;
  align-items: stretch;
}
.entry-tabs:is(.work-entry-tabs,.groundwater-tabs) > button {
  flex: 1 0 112px;
  min-width: 0;
  min-height: 62px;
  padding: 7px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.3;
  border-radius: 8px;
}
:is(.work-entry-tabs,.groundwater-tabs) > button::before {
  content: '';
  width: 21px;
  height: 21px;
  background: currentColor;
  mask: var(--work-icon) center / contain no-repeat;
  -webkit-mask: var(--work-icon) center / contain no-repeat;
}
:is(.work-entry-tabs,.groundwater-tabs) > button:focus-visible { outline: 2px solid #b8862b; outline-offset: 2px; }
@media (max-width: 600px) {
  .entry-tabs:is(.work-entry-tabs,.groundwater-tabs) > button { flex: 0 0 128px; font-size: 12px; min-height: 66px; }
}

:is(.work-entry-tabs,.groundwater-tabs) > button:nth-child(1) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203h16v18H4z%20M8%207h8%20M8%2011h8%20M8%2015h5%22%2F%3E%3C%2Fsvg%3E"); }
:is(.work-entry-tabs,.groundwater-tabs) > button:nth-child(2) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209l9-6%209%206%20M4%2010h16%20M6%2010v9%20M12%2010v9%20M18%2010v9%20M3%2021h18%22%2F%3E%3C%2Fsvg%3E"); }
:is(.work-entry-tabs,.groundwater-tabs) > button:nth-child(3) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207h18v14H3z%20M8%207V3h8v4%20M12%2011v6%20M9%2014h6%22%2F%3E%3C%2Fsvg%3E"); }
:is(.work-entry-tabs,.groundwater-tabs) > button:nth-child(4) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%202h9l4%204v16H6z%20M14%202v5h5%20M9%2012h7%20M9%2016h7%22%2F%3E%3C%2Fsvg%3E"); }
:is(.work-entry-tabs,.groundwater-tabs) > button:nth-child(5) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%205h18v14H3z%20M3%209h18%20M6%2015h4%22%2F%3E%3C%2Fsvg%3E"); }
:is(.work-entry-tabs,.groundwater-tabs) > button:nth-child(6) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202C9%207%205%2010%205%2015a7%207%200%200014%200C19%2010%2015%207%2012%202z%20M9%2016q0%203%203%203%22%2F%3E%3C%2Fsvg%3E"); }
:is(.work-entry-tabs,.groundwater-tabs) > button:nth-child(7) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203h18v14H9l-6%204z%20M7%207h10%20M7%2011h7%22%2F%3E%3C%2Fsvg%3E"); }
.groundwater-tabs > button:nth-child(1) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h7l2%202h9v13H3z%20M3%206V3h7l2%203%22%2F%3E%3C%2Fsvg%3E"); }
.groundwater-tabs > button:nth-child(2) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%202h9l4%204v16H6z%20M14%202v5h5%20M9%2012h7%20M9%2016h7%22%2F%3E%3C%2Fsvg%3E"); }
.groundwater-tabs > button:nth-child(3) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%202h12v14H6z%20M9%207h6%20M9%2011h4%20M10%2016l-1%206%203-2%203%202-1-6%22%2F%3E%3C%2Fsvg%3E"); }
.groundwater-tabs > button:nth-child(4) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h16v17H4z%20M8%202v4%20M16%202v4%20M8%2011l2%202%205-5%20M8%2017h8%22%2F%3E%3C%2Fsvg%3E"); }
.groundwater-tabs > button:nth-child(5) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021V3h16v18z%20M8%2017v-4%20M12%2017V9%20M16%2017V6%22%2F%3E%3C%2Fsvg%3E"); }
.groundwater-tabs > button:nth-child(6) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202C9%207%205%2010%205%2015a7%207%200%200014%200C19%2010%2015%207%2012%202z%20M9%2015l2%202%204-4%22%2F%3E%3C%2Fsvg%3E"); }
.groundwater-tabs > button:nth-child(7) { --work-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h7l2%202h9v13H3z%20M7%2012h10%20M7%2016h7%22%2F%3E%3C%2Fsvg%3E"); }
