.eda-tool .eda-clock-panel {
  padding:clamp(18px,4vw,32px);
  border:1px solid #d5e1e4;
  border-radius:20px;
  background:linear-gradient(140deg,#f4faf9,#fff)
}

.eda-tool .eda-clock-intro {
  max-width:68ch;
  color:#53616c;
  line-height:1.65
}

.eda-tool .eda-clock-fields {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:18px
}

.eda-tool .eda-clock-field {
  display:grid;
  gap:7px;
  font-weight:650;
  font-size:.95rem
}

.eda-tool .eda-clock-field small {
  font-weight:400;
  color:#52626c;
  line-height:1.45
}

.eda-tool .eda-clock-field input,.eda-tool .eda-clock-field select {
  width:100%;
  box-sizing:border-box;
  min-height:44px;
  padding:9px 12px;
  border:1px solid #9fb3bb;
  border-radius:9px;
  background:#fff;
  color:#132b35;
  font:inherit
}

.eda-tool .eda-clock-field input[type=range] {
  padding:4px;
  accent-color:#087f78
}

.eda-tool .eda-clock-readout {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:26px 0 15px;
  flex-wrap:wrap
}

.eda-tool .eda-clock-tempo {
  font-size:clamp(2.8rem,7vw,4.8rem);
  font-weight:800;
  line-height:1;
  letter-spacing:-.045em;
  color:#113944;
  font-variant-numeric:tabular-nums
}

.eda-tool .eda-clock-tempo small {
  font-size:1rem;
  letter-spacing:0;
  font-weight:600;
  margin-left:8px;
  color:#52626c
}

.eda-tool .eda-clock-phase {
  padding:8px 13px;
  border-radius:99px;
  background:#e1f2ef;
  color:#14554b;
  font-weight:700
}

.eda-tool .eda-clock-phase[data-silent=true] {
  background:#e9e8f3;
  color:#49425f
}

.eda-tool .eda-clock-beats {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin:18px 0 22px
}

.eda-tool .eda-clock-dot {
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:2px solid #b8d0d1;
  background:#fff;
  font-weight:650;
  color:#47646b
}

.eda-tool .eda-clock-dot.is-current {
  background:#087f78;
  border-color:#087f78;
  color:#fff
}

.eda-tool .eda-clock-dot.is-current.is-silent {
  background:#645b84;
  border-color:#645b84
}

.eda-tool .eda-clock-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.eda-tool .eda-clock-actions button {
  cursor:pointer;
  min-height:46px;
  padding:11px 20px;
  border:1px solid #087f78;
  border-radius:10px;
  font:inherit;
  font-weight:700;
  background:#087f78;
  color:#fff
}

.eda-tool .eda-clock-actions button[data-action=tap] {
  background:#fff;
  color:#096d67
}

.eda-tool .eda-clock-actions button:disabled {
  opacity:.5;
  cursor:not-allowed
}

.eda-tool :is(input,select,button):focus-visible {
  outline:3px solid #e69732;
  outline-offset:3px
}

.eda-tool .eda-clock-status {
  min-height:1.6em;
  margin:15px 0 0;
  color:#415962;
  font-size:.94rem
}

.eda-tool .eda-clock-guide {
  margin-top:25px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px
}

.eda-tool .eda-clock-guide h3 {
  margin:0 0 8px;
  font-size:1.08rem
}

.eda-tool .eda-clock-guide p {
  margin:0;
  line-height:1.65;
  color:#53616c
}

.eda-tool [data-role=error] {
  color:#a52b28;
  margin:12px 0 0;
  font-weight:650
}

.eda-tool [data-role=error]:empty {
  display:none
}

.eda-tool .eda-clock-progress {
  height:7px;
  background:#dce8e9;
  border-radius:8px;
  overflow:hidden;
  margin-top:16px
}

.eda-tool .eda-clock-progress span {
  display:block;
  width:0;
  height:100%;
  background:#087f78
}

.eda-tool .eda-clock-field :disabled {
  background:#eff3f3;
  color:#52626c
}


.eda-tool .eda-clock-eyebrow {
  color: #087f78;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.eda-tool .eda-clock-header h2 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}
