/* SI menu — stars, fields, booking calendar. Loaded in order after the files before it (see index.html). */
.stars {
  display: flex;
  gap: 2px;
  direction: ltr;
}
.stars button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--line);
}
.stars button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
}
.stars button.on {
  color: var(--accent);
}
.field {
  display: block;
  margin-top: 12px;
}
.field span {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  outline: none;
  resize: vertical;
}
.field textarea {
  min-height: 96px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
}
a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
a.btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}
.rate-hint {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.7;
}
.rate-intro {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  margin: -4px 0 14px;
  line-height: 1.7;
}
.f-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  margin: 18px 0 8px;
}
.f-label svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.f-input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  outline: none;
}
.f-input:focus {
  border-color: var(--accent);
}
textarea.f-input {
  height: auto;
  min-height: 90px;
  padding: 12px 14px;
  resize: vertical;
}
.f-input[aria-invalid='true'] {
  border-color: var(--heart);
}
.people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.people button,
.times button {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
}
.people button[aria-pressed='true'],
.times button[aria-pressed='true'] {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--on-accent-bg);
  font-weight: 600;
}
.cal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cal-head b {
  font-size: 15px;
  font-weight: 600;
}
.cal-head button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.cal-head button:disabled {
  opacity: 0.25;
  cursor: default;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
.cal-grid .dow {
  font-size: 10.5px;
  color: var(--ink-soft);
  padding: 4px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cal-grid button {
  height: 38px;
  border-radius: 10px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.cal-grid button:disabled {
  color: var(--ink-soft);
  opacity: 0.35;
  cursor: default;
}
.cal-grid button.today {
  box-shadow: inset 0 0 0 1px var(--accent);
}
.cal-grid button[aria-pressed='true'] {
  background: var(--accent-bg);
  color: var(--on-accent-bg);
  font-weight: 600;
}
.times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-height: 196px;
  overflow-y: auto;
  padding: 2px;
}
.times button {
  height: 40px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.times .none {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
  padding: 12px 0;
}
.table-tag {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 4px;
}
.table-tag.set {
  color: var(--on-accent-bg);
  background: var(--accent-bg);
  border-radius: 8px;
  padding: 2px 8px;
  font-weight: 600;
}
