.pc-row {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  margin-bottom: 6px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--dur-2) ease,
    border-color var(--dur-2) ease;
}
.pc-row.on {
  border-color: var(--blue-edge);
  background: var(--blue-dim);
}
@media (hover: hover) and (pointer: fine) {
  .pc-row:not(.on):hover {
    background: var(--bg-2);
  }
}
.pc-t {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pc-t small {
  color: var(--text-dim);
  font-weight: 700;
}
.pc-bar,
.q-bar {
  position: relative;
  display: block;
  height: 10px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}
.pc-bar span,
.q-bar span {
  position: absolute;
  inset: 0;
  background: var(--teal);
  border-radius: inherit;
  transform-origin: 0 50%;
  transition: transform var(--dur-bar) var(--ease-out);
}
.pc-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.pc-courses h3 {
  margin-top: 4px;
}
/* while a search is typed the course rows make way, so the results start right under the box */
.pop-card.pc-searching .pc-courses {
  display: none;
}
@media (pointer: coarse) {
  .pc-search kbd {
    display: none; /* no "/" key on a touch screen */
  }
}
.pc-search svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-faint);
  pointer-events: none;
}
.pc-search input {
  width: 100%;
  padding: 9px 36px;
  border-radius: 14px;
  font-size: 14px;
}
.pc-search kbd {
  position: absolute;
  right: 10px;
}
.pc-res {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}
.pc-res:empty {
  display: none;
}
.pc-more {
  margin: 4px 10px 0;
  font-size: 13px;
}
.pc-hit {
  appearance: none;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.pc-hit small {
  display: block;
  color: var(--text-faint);
  font-weight: 700;
}
.pc-hit:hover,
.pc-hit:focus-visible {
  background: var(--bg-2);
}
.pc-hit.active {
  background: var(--blue-dim); /* the row Enter will open */
}
.pc-num {
  flex: none;
  min-width: 64px;
  font-size: 12px;
  font-weight: 900;
  color: var(--blue-ink);
}
.goal-seg {
  display: flex;
  width: 100%;
}
.goal-seg button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}
.goal-seg button small {
  font-size: 11px;
  color: var(--text-faint);
}
.q-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  border-top: 2px solid var(--line-soft);
}
.q-t {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.q-bar {
  height: 16px;
}
.q-bar span {
  background: var(--gold);
}
.q-bar i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  color: var(--text-dim);
}
.q-row.done .q-bar span {
  background: var(--gold);
}
.q-chest svg,
.q-claim svg {
  width: 32px;
  height: 32px;
}
.q-chest {
  opacity: 0.4;
  filter: grayscale(1);
}
.q-claim {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  background: none;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  color: var(--amber-ink);
  text-transform: uppercase;
  cursor: pointer;
  animation: chestJiggle 1.6s ease-in-out infinite;
}
.q-got {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--teal-on);
}
.q-got svg {
  width: 18px;
  height: 18px;
}
.menu-row {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  font: inherit;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.menu-row svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}
.menu-row span {
  flex: 1;
}
.menu-row:hover {
  background: var(--bg-2);
}
.menu-row.danger svg,
.menu-row.danger {
  color: var(--rose-ink);
}
.ps-week {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 8px 0;
}
.ps-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 900;
  color: var(--text-faint);
}
.ps-day i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line);
  display: grid;
  place-items: center;
}
.ps-week.small .ps-day i {
  width: 30px;
  height: 30px;
}
.ps-day i svg {
  width: 18px;
  height: 18px;
  color: var(--amber-on);
}
.ps-day.on i {
  background: var(--amber);
}
.ps-day.today span {
  color: var(--amber-ink);
}
.ps-day.today:not(.on) i {
  box-shadow: inset 0 0 0 3px var(--amber-edge);
  background: var(--panel);
}
