#aob-agenda-root {
  --aoba-brand: #AF332F;
  max-width: 480px;
  margin: 0 auto;
  font-family: inherit;
  color: #222;
}
.aoba-step h3 {
  margin: 0 0 16px;
  font-size: 1.25em;
}
.aoba-loading, .aoba-empty {
  text-align: center;
  padding: 24px 0;
  color: #666;
}
.aoba-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.aoba-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 1em;
  text-align: left;
}
.aoba-option:hover, .aoba-option:focus {
  border-color: var(--aoba-brand);
}
.aoba-option-meta {
  color: #777;
  font-size: 0.9em;
  white-space: nowrap;
}
.aoba-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.aoba-day {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
}
.aoba-day.active {
  background: var(--aoba-brand);
  color: #fff;
  border-color: var(--aoba-brand);
}
.aoba-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.aoba-time {
  padding: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.aoba-time:hover, .aoba-time:focus {
  border-color: var(--aoba-brand);
  color: var(--aoba-brand);
}
#aoba-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
#aoba-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9em;
  color: #444;
}
#aoba-form input {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}
.aoba-summary {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.aoba-submit {
  padding: 12px;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1em;
  cursor: pointer;
}
.aoba-submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.aoba-back {
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  padding: 4px 0;
  font-size: 0.9em;
}
.aoba-confirmation {
  text-align: center;
}
.aoba-note {
  color: #666;
  font-size: 0.9em;
}
.aoba-manage-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.aoba-manage-actions button {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.aoba-manage-actions .aoba-cancel {
  color: #b3261e;
  border-color: #f0c6c3;
}

@media (max-width: 480px) {
  .aoba-times {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  }
}
