@import url("./hh-handedness/6c2642d0f384b0bef5cdb0553712502e3779f3f3/css/handedness.css");

.handedness-settings {
  width: min(100% - 2rem, 70rem);
  margin: 1rem auto;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line, #b8c9bd);
  border-radius: 0.75rem;
  background: var(--surface, #fff);
  color: var(--ink, #173f33);
}
.visual-home .visual-front-door > .handedness-settings {
  margin: 1rem auto;
  padding: 0.75rem 1rem;
}
.handedness-settings fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.handedness-settings legend {
  font-weight: 700;
}
.handedness-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.handedness-choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 3rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}
.handedness-choices input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
}
.handedness-settings p {
  margin: 0.3rem 0;
  font-size: 0.875rem;
}
.hh-action-slot {
  --hh-host-stable-justify: flex-start;
  flex-basis: 100%;
  width: 100%;
}
.hh-action-slot > button {
  inline-size: auto;
  max-inline-size: 100%;
  flex: 0 1 auto;
}
.hh-sync-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6rem;
  gap: 0.5rem;
}
.handedness-settings [data-hh-sync-status] {
  line-height: 1.5;
  min-block-size: 4.5em;
}
.hh-sync-tools {
  min-block-size: 3rem;
}
.hh-sync-tools button {
  min-block-size: 3rem;
  max-inline-size: 100%;
  padding: 0.35rem;
}

/* A small first choice, then unobtrusive controls at the page bottom. */
.handedness-first-choice[hidden] {
  display: none;
}
.handedness-first-choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}
.handedness-first-choice p {
  flex-basis: 100%;
}
.handedness-first-choice button {
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
}
.handedness-footer {
  padding-block: 0.5rem;
}
.handedness-footer .hh-sync-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.handedness-footer [data-hh-sync-status] {
  min-block-size: 0;
}
.handedness-footer .hh-sync-tools {
  min-block-size: 0;
}
.handedness-footer-note {
  font-size: 0.875rem;
}
