/* handy-abo · Flexibles Uhrzeit-Feld (HATime) */
.hatime { position: relative; }
.hatime__hint {
  margin: 6px 2px 0;
  font-size: 12.5px;
  line-height: 1.4;
  min-height: 1em;
}
.hatime__hint.is-err { color: #c0392b; }

.hatime__panel {
  position: fixed;
  z-index: 2147483000;
  background: var(--ha-white, #fff);
  border: 1px solid var(--ha-azure-border, #d5e3ef);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 37, 64, .18);
  padding: 10px;
  max-height: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.hatime__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ha-pale-sky, #8aa0b6);
  margin: 2px 2px 8px;
}
.hatime__back {
  border: 1px solid var(--ha-azure-border, #d5e3ef);
  background: var(--ha-white, #fff);
  color: var(--ha-oxford-blue, #0b2540);
  border-radius: 8px;
  width: 26px; height: 26px;
  font-size: 16px; line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.hatime__grid { display: grid; gap: 6px; }
.hatime__grid--h { grid-template-columns: repeat(4, 1fr); }
.hatime__grid--m { grid-template-columns: repeat(4, 1fr); }
.hatime__opt {
  font: inherit;
  font-size: 14px;
  padding: 9px 6px;
  border: 1px solid var(--ha-azure-border, #d5e3ef);
  border-radius: 8px;
  background: var(--ha-white, #fff);
  color: var(--ha-oxford-blue, #0b2540);
  cursor: pointer;
  text-align: center;
}
.hatime__opt:hover { border-color: var(--ha-bondi-blue, #0093c4); background: rgba(0, 147, 196, .06); }
.hatime__opt.is-sel {
  background: var(--ha-bondi-blue, #0093c4);
  border-color: var(--ha-bondi-blue, #0093c4);
  color: #fff;
}
