.kai-hours {
  box-sizing: border-box;
  width: 100%;
  max-width: 560px;
  container-type: inline-size;
  border: 1px solid #e3dfd6;
  border-radius: 12px;
  background: #faf9f6;
  padding: 14px;
  overflow-wrap: normal;
  word-break: normal;
}
.kai-hours summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  cursor: pointer;
  min-height: 44px;
  list-style: none;
}
.kai-hours summary::-webkit-details-marker {
  display: none;
}
.kai-hours-status {
  font-weight: 700;
  white-space: nowrap;
}
.kai-hours-status[data-state='open'] {
  color: #19643b;
}
.kai-hours-status[data-state='closed'] {
  color: #a13225;
}
.kai-hours-toggle {
  font-size: 12px;
  color: #6d580f;
  white-space: nowrap;
}
.kai-hours-toggle:after {
  content: ' ▾';
}
.kai-hours[open] .kai-hours-toggle:after {
  content: ' ▴';
}
.kai-hours dl {
  margin: 12px 0;
}
.kai-hours dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #e3dfd6;
  font-size: 14px;
}
.kai-hours dt,
.kai-hours dd {
  margin: 0;
}
.kai-hours dd {
  text-align: right;
  white-space: pre-line;
}
.kai-hours .is-today {
  font-weight: 700;
  color: #795000;
}
@container (max-width:350px) {
  .kai-hours dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .kai-hours dd {
    text-align: left;
  }
}
.kai-hours-help {
  font-size: 12px !important;
  line-height: 1.6;
  color: #6d685f;
  margin: 10px 0 !important;
}
.kai-hours-editor [hidden] {
  display: none !important;
}
.kai-hours-editor > button {
  margin: 8px 0 !important;
}
.kai-directory #main .kai-hours-editor button {
  background: #f6a71c;
  color: #252525;
  border: 1px solid #d89624;
  border-radius: 10px;
  padding: 11px 14px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}
.kai-directory #main .kai-hours-editor button:hover {
  background: #ffbc45;
  color: #252525;
}
.kai-hours-day {
  min-width: 0;
  margin: 12px 0 !important;
  padding: 14px !important;
  border: 1px solid #e3dfd6 !important;
  border-radius: 12px;
}
.kai-hours-day legend {
  font-size: 15px;
  font-weight: 700;
  padding: 0 6px;
}
.kai-hours-day select {
  width: 100% !important;
}
.kai-hours-periods {
  margin-top: 12px;
}
.kai-hours-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.kai-hours-pair label {
  font-size: 12px !important;
  min-width: 0;
}
.kai-hours-pair input {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  min-height: 44px;
  font: inherit;
}
.kai-hours summary:focus-visible {
  outline: 3px solid #ad6900;
  outline-offset: 3px;
}
