/* Interview prep. Calm cards, small type, matches the tracker. */
.pp { display: grid; gap: 12px; }

.pp-tabs { display: flex; gap: 5px; margin-bottom: 2px; }
.pp-tabs a {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  padding: 6px 12px; border-radius: 999px; font-size: 0.82rem;
}
.pp-tabs a span { font-size: 0.75rem; opacity: 0.8; }
.pp-tabs a[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.pp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 10px;
}
.pp-card h2 { margin: 0; font-size: 1rem; }
.pp-card h3 { margin: 8px 0 0; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.pp-card p { margin: 0; line-height: 1.45; }
.pp-card ul { margin: 0; padding-left: 18px; line-height: 1.45; }

.pp-field { display: grid; gap: 4px; font-size: 0.85rem; color: var(--muted); }
.pp-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; line-height: 1.4; cursor: pointer; }
.pp-check input { margin-top: 3px; flex: none; }
.pp-checks { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pp-checks legend { padding: 0; margin-bottom: 6px; }

.pp-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0; }

.pp-back {
  justify-self: start; border: 0; background: none; color: var(--muted); padding: 0;
  font-size: 0.85rem; cursor: pointer; text-decoration: underline;
}

.pp-question { padding: 20px 18px; }
.pp-prompt { font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.pp-clock { font-size: 2.4rem; font-variant-numeric: tabular-nums; font-weight: 300; letter-spacing: 0.02em; }
.pp-clock.is-warn { color: var(--accent); }
.pp-clock.is-over { color: var(--accent); font-weight: 500; }

.pp-picks { display: grid; gap: 6px; padding: 0 4px; }
.pp-picks details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px;
}
.pp-picks summary { cursor: pointer; font-size: 0.9rem; }
.pp-story-body { display: grid; gap: 6px; margin-top: 8px; font-size: 0.9rem; }
.pp-story-body .pp-label { display: block; margin-bottom: 1px; }

.pp-recent, .pp-browse { list-style: none; padding: 0 !important; display: grid; gap: 6px; }
.pp-recent li, .pp-browse li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pp-link {
  border: 0; background: none; padding: 0; text-align: left; cursor: pointer;
  color: var(--ink); font-size: 0.9rem; line-height: 1.4;
}
.pp-link:hover { text-decoration: underline; }
.pp-score { flex: none; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pp-score.is-good { color: var(--brand); font-weight: 600; }

.pp-more summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.pp-more[open] summary { margin-bottom: 4px; }

.pp-result { text-align: center; justify-items: center; }
.pp-result .row-actions { justify-content: center; }
.pp-big { font-size: 2.6rem; font-weight: 300; font-variant-numeric: tabular-nums; }
.pp-big.is-good { color: var(--brand); }
.pp-model { white-space: pre-line; }

.pp-moves { list-style: none; padding: 0 !important; display: grid; gap: 6px; }
.pp-moves li { display: flex; gap: 8px; font-size: 0.9rem; }
.pp-moves li > span:first-child { flex: none; width: 1em; text-align: center; color: var(--muted); }
.pp-moves .is-hit > span:first-child { color: var(--brand); }
.pp-moves .is-miss { color: var(--muted); }
.pp-moves .is-flag > span:first-child { color: var(--accent); font-weight: 700; }

.pp-themes { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.pp-themes li {
  display: inline-flex; gap: 6px; align-items: center; font-size: 0.8rem; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 999px; padding: 4px 10px;
}
.pp-themes li span { font-variant-numeric: tabular-nums; }
.pp-themes li.is-on { border-style: solid; color: var(--ink); }

.pp-story summary { list-style: none; cursor: pointer; display: grid; gap: 6px; }
.pp-story summary::-webkit-details-marker { display: none; }
.pp-story-title { font-weight: 600; }
.pp-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.pp-pills span {
  font-size: 0.72rem; padding: 2px 8px; border-radius: 999px;
  background: var(--bg); color: var(--muted); border: 1px solid var(--line);
}

.sheet fieldset.pp-checks label.check { font-size: 0.9rem; }
.sheet fieldset.pp-checks { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.sheet fieldset.pp-checks legend { font-size: 0.85rem; color: var(--muted); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.pp-sync { text-align: center; padding: 4px 8px 0; line-height: 1.45; }
.pp-sync .pp-link { font-size: inherit; text-decoration: underline; }
