/* ひとり商いラボ：操作フロー共通表示 v1.1.0 / 2026-10-09
 * 明示したフローだけに適用する。短い手順は常時表示し、処理・認証は変更しない。
 */
body .hlab-root .hlab-operation-flow[data-hlab-operation-flow] {
  max-width: 1120px;
  margin: 12px 0;
  box-sizing: border-box;
  padding: 12px 14px;
  overflow: visible;
  border: 1px solid #ddc9ab;
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: none;
}
body .hlab-root .hlab-operation-flow[data-hlab-operation-flow]::before,
body .hlab-root .hlab-operation-flow[data-hlab-operation-flow]::after { content: none; }
body .hlab-root .hlab-operation-flow[data-hlab-operation-flow] h2 {
  margin: 0;
  color: #4a2414;
  font-size: 17px;
  line-height: 1.4;
}
body .hlab-root .hlab-operation-steps[data-hlab-operation-steps] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0;
}
body .hlab-root .hlab-operation-steps[data-hlab-operation-steps="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body .hlab-root .hlab-operation-steps[data-hlab-operation-steps] > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: start;
  column-gap: 9px;
  row-gap: 1px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid #efe4d6;
  border-radius: 13px;
  color: #4a2414;
  background: #fff9f0;
  box-shadow: none;
  text-align: left;
}
body .hlab-root .hlab-operation-steps[data-hlab-operation-steps] > div > span {
  display: grid;
  grid-column: 1;
  grid-row: 1 / 3;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #a85c00;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
body .hlab-root .hlab-operation-steps[data-hlab-operation-steps] > div > strong {
  display: block;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  color: #4a2414;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body .hlab-root .hlab-operation-steps[data-hlab-operation-steps] > div > small {
  display: block;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  margin: 0;
  color: #6a513e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body .hlab-root .hlab-operation-flow[data-hlab-operation-flow] .hlab-operation-flow__note {
  display: block;
  margin: 8px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #4a2414;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.6;
}
body .hlab-root .hlab-operation-flow[data-hlab-operation-flow] .hlab-operation-flow__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 8px 0 0;
}
body .hlab-root .hlab-operation-flow[data-hlab-operation-flow] .hlab-operation-flow__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  font-size: 14px;
}
body .hlab-root .hlab-operation-flow[data-hlab-operation-flow] .hlab-operation-flow__links .hlab-button {
  padding: 8px 14px;
}
@media (max-width: 640px) {
  body .hlab-root .hlab-operation-flow[data-hlab-operation-flow] { padding: 12px; }
  body .hlab-root .hlab-operation-flow[data-hlab-operation-flow] .hlab-operation-flow__links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  body .hlab-root .hlab-operation-flow[data-hlab-operation-flow] .hlab-operation-flow__links .hlab-button { width: 100%; }
  body .hlab-root .hlab-operation-steps[data-hlab-operation-steps] {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}
