.wish-mode, .wish-calendar, .wish-range {
  min-width: 0;
  margin: 0 0 .95rem;
  padding: 0;
  border: 0;
}
.wish-mode legend, .wish-calendar legend {
  margin: 0 0 .4rem;
  padding: 0;
  color: var(--ink);
  font-weight: 650;
  font-size: .94rem;
}
.wish-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem;
  padding: .2rem;
  background: #eff4ee;
  border-radius: 8px;
}
.wish-options label, .wish-day {
  position: relative;
  display: block;
  min-width: 0;
}
.wish-options input, .wish-day input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.wish-options label span, .wish-day span {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 650;
}
.wish-options input:checked + span { border-color: #a5bbaa; background: #fff; }
.wish-options input:focus-visible + span, .wish-day input:focus-visible + span {
  outline: 2px solid #23638d;
  outline-offset: -2px;
}
.wish-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .18rem;
}
.wish-month-nav { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin:0 0 .6rem; }
.wish-month-nav strong { text-align:center; }
.wish-grid > span { text-align: center; font-size: .81rem; color: var(--muted); }
.wish-day span { background: #f2f6f0; font-variant-numeric: tabular-nums; }
.wish-closed { --wish-ink: #745018; --wish-bg: #fcf2e2; }
.wish-trading { --wish-ink: #365776; --wish-bg: #edf3fa; }
.wish-limited { --wish-ink: #705016; --wish-bg: #fff8ec; }
.wish-day:is(.wish-closed, .wish-trading, .wish-limited) span {
  grid-template-rows: auto auto;
  align-content: center;
  color: var(--wish-ink);
  background: var(--wish-bg);
}
.wish-day .icon, .wish-trade-legend .icon { stroke-width: 2.2; }
.wish-calendar:not(.is-range) .wish-day input:checked + span { background: #18543c; color: #fff; }
.wish-day.in-range span { background: #18543c; color: #fff; }
.wish-day input:checked:focus-visible + span { outline-color: #e5f1c4; }
.wish-trade-legend { display: flex; flex-wrap: wrap; gap: .18rem .7rem; margin-top: .4rem; }
.wish-trade-legend span { display: inline-flex; gap: .2rem; align-items: center; color: var(--wish-ink); font-size: .8rem; }
.wish-count { margin: .5rem 0 0; font-size: .875rem; color: var(--ink); font-weight: 650; }
.wish-hint { margin: .15rem 0 0; font-size: .875rem; color: var(--muted); }
.wish-range .field { margin-bottom: 0; }
