/* Preptorum's own dark and gold look. Every page that is not a mock government page uses it,
   so people can tell they have left the government site. */
:root {
  --p-bg: #141414;
  --p-bar: #141414;
  --p-card: #1e1e1e;
  --p-card-2: #262626;
  --p-line: #3a3a3a;
  --p-line-soft: #2b2b2b;
  --p-text: #f4f2ee;
  --p-muted: #b4b0a8;
  --p-gold: #c9a55c;
  --p-gold-strong: #d8b46a;
  --p-gold-ink: #17130a;
  --p-green: #7fc36b;
  --p-green-bg: #1f4a31;
  --p-teal: #6fd0d6;
  --p-teal-bg: #12303a;
  --p-red: #ff9a8d;
  --p-red-bg: #3a1a18;
  --p-amber-bg: #fbf3d6;
  --p-amber-ink: #4a3a05;
  --p-font: "Noto Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body.product {
  margin: 0;
  background: var(--p-bg);
  color: var(--p-text);
  font: 1.0625rem/1.5 var(--p-font);
}
html[data-theme="light"] body.product:not(.examples-page) {
  background: #faf8f3;
  color: #1a1a1a;
}
html[data-theme="light"] body.product:not(.examples-page) a { color: #6b4a12; }
.product a { color: var(--p-gold-strong); }
.product :focus-visible { outline: 3px solid var(--p-gold-strong); outline-offset: 3px; }
.p-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.p-skip { position: absolute; left: -999px; top: 0; background: var(--p-gold); color: var(--p-gold-ink); padding: 0.5rem 1rem; z-index: 10; }
.p-skip:focus { left: 0; }
.p-bar { border-bottom: 1px solid var(--p-line-soft); background: var(--p-bar); }
.p-bar-in { max-width: 62rem; margin: 0 auto; padding: 0.85rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.p-logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--p-text); text-decoration: none; font-weight: 700; font-size: 1.35rem; min-width: 0; }
.p-logo svg { width: 2rem; height: 2rem; flex: none; }
.p-bar-right { color: var(--p-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 0.9rem; min-width: 0; overflow-wrap: anywhere; }
.p-pill { display: inline-block; background: var(--p-green-bg); color: #d6f2cc; border-radius: 999px; padding: 0.15rem 0.8rem; font-size: 0.85rem; font-weight: 600; }
.p-main { max-width: 62rem; margin: 0 auto; padding: 2.25rem 1.25rem 4rem; }
.p-main.narrow { max-width: 30rem; }
.p-main.medium { max-width: 40rem; }
.p-h1 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 0.6rem; font-weight: 700; }
.p-lead { color: var(--p-muted); margin: 0 0 1.5rem; }
.p-kicker { color: var(--p-gold); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; margin: 0 0 0.5rem; }
.p-card { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 1.5rem; }
.p-card.pad-lg { padding: 2rem; }
.p-btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; min-height: 2.75rem; padding: 0.55rem 1.4rem; border-radius: 8px; border: 1px solid var(--p-line); background: var(--p-card-2); color: var(--p-text); text-decoration: none; cursor: pointer; }
.p-btn.gold { background: var(--p-gold); border-color: var(--p-gold); color: var(--p-gold-ink); }
.p-btn.gold:hover { background: var(--p-gold-strong); }
.p-btn.block { display: flex; width: 100%; }
.p-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.p-link { color: var(--p-gold-strong); font-weight: 600; }
.p-note { color: var(--p-muted); font-size: 0.92rem; }
.p-error { background: var(--p-red-bg); color: var(--p-red); border: 1px solid #6b2d28; border-radius: 8px; padding: 0.8rem 1rem; margin: 0 0 1rem; font-weight: 600; }
.p-field { display: block; font-weight: 700; margin: 1.25rem 0 0.4rem; }
.p-input { width: 100%; font: inherit; color: var(--p-text); background: #101010; border: 1px solid var(--p-line); border-radius: 8px; padding: 0.7rem 0.85rem; min-height: 2.9rem; }
.p-radio { display: flex; gap: 0.8rem; align-items: flex-start; border: 1px solid var(--p-line-soft); background: var(--p-card-2); border-radius: 10px; padding: 0.75rem 0.9rem; margin: 0 0 0.6rem; cursor: pointer; }
.p-radio:has(input:checked) { border-color: var(--p-gold); background: #262319; }
.p-radio input { margin-top: 0.3rem; width: 1.15rem; height: 1.15rem; accent-color: var(--p-gold); }
.p-radio strong { display: block; }
.p-radio span.sub { color: var(--p-muted); font-size: 0.9rem; }
fieldset.p-set { border: 0; padding: 0; margin: 1.25rem 0 0; min-width: 0; }
fieldset.p-set legend { font-weight: 700; padding: 0; margin-bottom: 0.5rem; }
.p-foot { text-align: center; color: var(--p-muted); font-size: 0.88rem; margin-top: 1rem; }
.sg-wrap { max-width: 40rem; }
.sg-card h1 { font-size: 2rem; }
.sg-hint { color: var(--p-muted); font-size: 0.92rem; margin: 0.2rem 0 0.6rem; }
.sg-idea { min-height: 8rem; }
.sg-card .p-radio { border-color: #7A756C; }
.sg-count { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; color: var(--p-muted); font-size: 0.92rem; }
.sg-count-note { flex: 1 1 auto; min-width: 0; }
.sg-count-num { flex: 0 0 auto; white-space: nowrap; }
.sg-notice { background: #171717; border: 1px solid var(--p-line); border-radius: 12px; padding: 1rem; margin: 1.25rem 0; }
.sg-notice h2 { font-size: 1.05rem; margin: 0.2rem 0 0.6rem; }
.sg-draft { color: var(--p-gold); font-weight: 700; margin: 0; }
.sg-saved { background: #171717; border-radius: 12px; padding: 1rem; margin: 1rem 0; }
.sg-foot { border-top: 1px solid var(--p-line-soft); padding: 1.2rem 1.25rem 2rem; color: var(--p-muted); }
.sg-foot a { margin-right: 0.8rem; }
.sg-head, .sg-windows, .sg-stats { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: flex-start; }
.sg-head { justify-content: space-between; }
.sg-board { max-width: none; }
.sg-stats > article { flex: 1 1 14rem; }
.sg-pairs { list-style: none; margin: 0.3rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.sg-pairs li { display: flex; flex-direction: column; gap: 0.05rem; }
.sg-pairs strong { font-size: 1.7rem; line-height: 1.05; }
.sg-pairs span { color: var(--p-muted); font-size: 0.92rem; }
.sg-total { font-size: 2.4rem; font-weight: 700; margin: 0.2rem 0; }
.sg-filters { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: flex-end; margin: 1rem 0; }
.sg-filters label { display: flex; flex-direction: column; gap: 0.25rem; color: var(--p-muted); font-size: 0.85rem; font-weight: 700; }
.sg-filters select { font: inherit; color: var(--p-text); background: #101010; border: 1px solid #7A756C; border-radius: 8px; min-height: 44px; min-width: 9rem; padding: 0 0.6rem; }
.sg-bar { display: flex; height: 0.55rem; border-radius: 999px; overflow: hidden; background: #333; }
.sg-bar span { display: block; min-width: 0; }
.sg-bar .is-positive { background: var(--p-gold); }
.sg-bar .is-neutral { background: #8a8680; }
.sg-bar .is-negative { background: #e07a7a; }
.sg-chip, .sg-pill { display: inline-block; border: 1px solid var(--p-line); border-radius: 999px; padding: 0.1rem 0.55rem; margin: 0.1rem; font-size: 0.85rem; }
.sg-pill.is-positive, .sg-pill.is-new { color: var(--p-gold-strong); border-color: var(--p-gold); }
.sg-pill.is-negative { color: #ffb4b4; border-color: #a85a5a; }
.sg-pill.is-actioned { color: var(--p-green); border-color: var(--p-green); }
.sg-chart { display: flex; align-items: flex-end; gap: 0.7rem; min-height: 8rem; }
.sg-chart div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 8rem; }
.sg-chart span { display: block; width: 70%; background: var(--p-gold); border-radius: 4px 4px 0 0; min-height: 2px; }
.sg-chart small { color: var(--p-muted); margin-top: 0.3rem; }
.sg-table { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 0.92rem; }
.sg-table th, .sg-table td { text-align: left; vertical-align: top; padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--p-line-soft); }
.sg-table .sg-fit { white-space: nowrap; width: 1%; }
.sg-table .sg-mid { width: 6.5rem; max-width: 7.5rem; }
.sg-table .sg-idea-col { width: 55%; }
.sg-table tr.is-on { outline: 1px solid var(--p-gold); }
.sg-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-row { position: relative; }
.sg-rowlink { color: inherit; font-weight: inherit; text-decoration: none; }
.sg-rowlink::after { content: ""; position: absolute; inset: 0; }
.sg-row:has(.sg-rowlink:focus-visible) { outline: 3px solid var(--p-gold-strong); outline-offset: -3px; }
.sg-rowlink:focus-visible { outline: none; }
.sg-layout { display: flex; flex-wrap: nowrap; gap: 0.8rem; align-items: flex-start; }
.sg-table-wrap { flex: 1 1 auto; min-width: 0; }
.sg-detail { flex: 0 0 360px; width: 360px; max-width: 360px; }
.sg-cards { display: none; }
.sg-sheet-bar { display: none; margin: 0 0 0.8rem; }
.sg-cardlet { display: flex; flex-direction: column; gap: 0.35rem; color: inherit; text-decoration: none; background: var(--p-card); border: 1px solid #7A756C; border-radius: 12px; padding: 0.85rem 0.9rem; }
.sg-cardlet.is-on { border-color: var(--p-gold); }
.sg-cardlet-top, .sg-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; justify-content: space-between; }
.sg-tags { justify-content: flex-start; }
.sg-meta { color: var(--p-muted); font-size: 0.92rem; }
.sg-board input, .sg-modal input { accent-color: var(--p-gold); }
.sg-tabs { display: flex; align-items: center; gap: 1rem; margin: 0.2rem 0 1rem; }
.sg-tabs a { color: var(--p-muted); text-decoration: none; font-weight: 700; padding-bottom: 0.2rem; }
.sg-tabs a.is-on { color: var(--p-text); border-bottom: 2px solid var(--p-gold); }
.sg-count-side { margin-left: auto; color: var(--p-muted); }
.sg-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sg-pillbtn { display: inline-flex; align-items: center; gap: 0.35rem; border: 1px solid #7A756C; border-radius: 999px; padding: 0.35rem 0.75rem; min-height: 2.4rem; }
.sg-pillbtn:has(input:checked) { border-color: var(--p-gold); background: #262319; }
.sg-pillbtn.is-negative:has(input:checked), .sg-pillbtn.is-high:has(input:checked) { border-color: #e07a7a; color: #ffb4b4; background: transparent; }
.sg-pillbtn input { accent-color: var(--p-gold); }
.sg-copy { background: transparent; border-color: var(--p-gold); color: var(--p-text); }
.sg-copyline { margin: 0.6rem 0 0.2rem; }
.sg-toast { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid #7A756C; border-radius: 8px; padding: 0.35rem 0.7rem; margin: 0.35rem 0 0.8rem; }
.sg-toast[hidden] { display: none; }
.sg-toast span { color: var(--p-gold); }
.sg-theme-row { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.sg-theme-add { flex: 1 1 8rem; min-width: 0; font: inherit; color: var(--p-text); background: transparent; border: 0; padding: 0.35rem 0.2rem; }
.sg-inbacklog { border: 1px solid var(--p-gold); border-radius: 10px; padding: 0.55rem 0.75rem; }
.sg-backlog-open { border-color: var(--p-gold); background: transparent; color: var(--p-text); width: 100%; }
.sg-modal { background: #1a1a1a; color: var(--p-text); border: 1px solid var(--p-gold); border-radius: 16px; padding: 1.25rem; max-width: 34rem; width: calc(100% - 1.5rem); }
.sg-modal::backdrop { background: rgba(0, 0, 0, 0.72); }
.sg-choice-card { border: 1px solid #7A756C; border-radius: 12px; padding: 0.85rem; margin: 0.7rem 0; }
.sg-choice-card:has(input[name=mode]:checked) { border-color: var(--p-gold); }
.sg-pick { display: grid; gap: 0.45rem; margin-top: 0.6rem; max-height: 14rem; overflow: auto; }
.sg-pick-row { display: flex; gap: 0.55rem; align-items: flex-start; border: 1px solid #3a3a3a; border-radius: 10px; padding: 0.55rem 0.7rem; }
.sg-pick-row:has(input:checked) { border-color: var(--p-gold); }
.sg-modal-actions { display: flex; justify-content: flex-end; gap: 0.6rem; }
.sg-owner { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; border: 1px solid #7A756C; border-radius: 999px; padding: 0.1rem 0.4rem; font-size: 0.8rem; }
.sg-due { display: inline-block; border: 1px solid #e0b15a; color: #f0d7a2; border-radius: 999px; padding: 0.1rem 0.55rem; font-size: 0.8rem; font-weight: 700; }
.sg-matches { margin: 0 0 0.8rem; }
.sg-rewrite { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--p-line); }
.sg-linkcard { border: 1px solid #3a3a3a; border-radius: 10px; padding: 0.7rem 0.8rem; margin: 0.45rem 0; }
.sg-pill.is-high { color: #ffb4b4; border-color: #a85a5a; }
.sg-pill.is-planned, .sg-pill.is-actioned { color: var(--p-gold-strong); border-color: var(--p-gold); }
.sg-choice { display: inline-flex; gap: 0.35rem; margin: 0.25rem 0.6rem 0.25rem 0; }
.sg-delete { background: #e7a0a0; color: #3a1212; border-color: #e7a0a0; margin-top: 0.8rem; }
.sg-empty h2 { margin-top: 0; }
@media (max-width: 700px) {
  .sg-wrap, .sg-board { padding-left: 0.75rem; padding-right: 0.75rem; }
  .sg-table-wrap .sg-table { display: none; }
  .sg-cards { display: grid; gap: 0.75rem; }
  .sg-layout { display: block; }
  .sg-detail { display: none; width: auto; max-width: none; }
  .sg-detail.is-open, .sg-item { display: block; position: static; width: 100%; max-width: none; margin-top: 0.8rem; }
  .sg-detail.is-open { position: fixed; inset: 0; z-index: 30; margin: 0; border-radius: 0; overflow: auto; }
  .sg-item.is-open { position: static; }
  .sg-item .sg-sheet-bar { display: none; }
  .sg-detail.is-open .sg-sheet-bar { display: flex; justify-content: flex-end; position: sticky; top: 0; background: var(--p-card); padding-bottom: 0.4rem; }
  .sg-filters select { min-width: 0; width: 100%; }
  .sg-filters label { flex: 1 1 8rem; }
}
.p-front { text-align: left; }
.p-front .p-choice { display: block; text-decoration: none; color: var(--p-text); background: var(--p-card); border: 1px solid var(--p-gold); border-radius: 12px; padding: 1.4rem 1.5rem; margin-top: 2rem; }
.p-front .p-choice:hover { background: #262319; }
.p-front .p-choice strong { display: block; font-size: 1.4rem; color: var(--p-gold-strong); }
.p-front .p-choice span { color: var(--p-muted); }
.p-front .p-choice + .p-choice { margin-top: 1rem; }

.survey-progress { height: 0.5rem; background: var(--p-card-2); border-radius: 999px; margin: 0 0 1.25rem; overflow: hidden; }
.survey-progress span { display: block; height: 100%; background: var(--p-gold); }
.survey-card { background: var(--p-card); border: 1px solid #7A756C; border-radius: 12px; padding: 1.25rem; }
.survey-card h1 { font-size: 1.7rem; line-height: 1.25; margin: 0.35rem 0 1rem; }
.survey-kicker { color: var(--p-gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.survey-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.survey-actions .p-btn { flex: 0 0 auto; box-sizing: border-box; height: 44px; min-height: 44px; max-height: 48px; padding: 0 1.1rem; }
.survey-note { color: var(--p-muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.survey-card textarea, .survey-card select {
  width: 100%; max-width: 100%; font: inherit; color: var(--p-text); background: #101010;
  border: 1px solid #7A756C; border-radius: 8px; padding: 0.7rem 0.85rem; min-height: 2.9rem;
}
.survey-card textarea { min-height: 7rem; }
.survey-card .p-set { display: flex; flex-direction: column; gap: 0.6rem; }
.survey-card .p-radio { border-color: #7A756C; width: 100%; }
.survey-bars { list-style: none; margin: 1rem 0 0; padding: 0; }
.survey-bars li { margin: 0 0 0.7rem; }
.survey-bar { height: 0.7rem; background: var(--p-card-2); border-radius: 999px; overflow: hidden; margin-top: 0.25rem; }
.survey-bar span { display: block; height: 100%; background: var(--p-gold); }
.survey-share, .survey-follow { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.survey-follow { margin-top: 0.35rem; }
.survey-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: 0 0 44px;
  border-radius: 8px; border: 1px solid var(--p-line); background: #101010;
  text-decoration: none;
}
.survey-icon svg { width: 24px; height: 24px; display: block; }
.survey-icon:focus-visible { outline: 3px solid var(--p-gold-strong); outline-offset: 3px; }
.survey-scorehead { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.survey-scorehead strong { font-size: 1.8rem; line-height: 1; color: var(--p-gold-strong); }
.survey-meter { display: flex; gap: 4px; margin: 0.45rem 0 0.8rem; }
.survey-meter span { flex: 1 1 0; height: 8px; border-radius: 4px; background: #3a3a3a; }
.survey-meter span.is-on { background: var(--p-gold); }
.survey-compare { border-left: 3px solid var(--p-gold); padding-left: 0.7rem; }
.p-main.medium.survey-results { max-width: 27.5rem; }
.survey-radar-wrap { width: 100%; margin: 0.75rem auto; }
.survey-radar { width: 100%; height: auto; display: block; }
.survey-radar .label-short { display: none; }
.survey-radar text { font-family: var(--p-font); }
.survey-legend { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0.8rem 0; padding: 0; font-size: 14px; }
.survey-legend .swatch { display: inline-block; width: 0.9rem; height: 0.9rem; margin-right: 0.35rem; vertical-align: -0.1rem; }
.survey-legend .you { background: rgba(201, 165, 92, 0.35); border: 2px solid #c9a55c; }
.survey-legend .everyone { background: transparent; border-top: 2px dashed #9a958c; height: 0; width: 1.4rem; vertical-align: middle; }
.survey-sharebox { margin-top: 1.5rem; padding: 1rem; background: var(--p-card); border-radius: 12px; }
@media (max-width: 40rem) {
  .p-main.medium { padding-left: 0.75rem; padding-right: 0.75rem; }
  .survey-radar-card { padding-left: 0.5rem; padding-right: 0.5rem; }
  .survey-radar-wrap { width: 100%; max-width: 280px; }
  .survey-radar .label-long { display: none; }
  .survey-radar .label-short { display: inline; }
  .survey-legend { font-size: 12px; }
}
@media (max-width: 40rem) {
  .survey-card h1 { font-size: 1.45rem; overflow-wrap: anywhere; }
  .survey-actions { flex-direction: column; align-items: stretch; }
  .survey-actions .p-btn { width: 100%; }
}

/* Email page (the bridge between the government page and Preptorum) */
body.inbox { margin: 0; background: #eceef0; color: #1b1d1f; font: 1rem/1.5 var(--p-font); }
.inbox-top { background: #fff; border-bottom: 1px solid #dcdfe2; }
.inbox-top-in { max-width: 62rem; margin: 0 auto; padding: 1rem 1.25rem; display: flex; justify-content: space-between; font-weight: 700; }
.inbox-top a { color: #4a4f55; font-weight: 400; }
.inbox-head { background: #fff; padding-bottom: 1rem; }
.inbox-head-in { max-width: 62rem; margin: 0 auto; padding: 1.5rem 1.25rem 0.5rem; }
.inbox-head h1 { font-size: 1.75rem; margin: 0 0 0.6rem; }
.inbox-head p { margin: 0.1rem 0; color: #4a4f55; font-size: 0.95rem; }
.mail { max-width: 31rem; margin: 2.25rem auto; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.mail-brand { background: #141414; color: #fff; padding: 1.1rem 1.5rem; display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.3rem; }
.mail-brand svg { width: 1.9rem; height: 1.9rem; }
.mail-body { padding: 1.5rem; }
.mail-body p { margin: 0 0 1rem; }
.mail-btn { display: inline-block; background: #c9a55c; color: #17130a; font-weight: 700; text-decoration: none; padding: 0.75rem 1.4rem; border-radius: 8px; }
.mail-copy { color: #5b6066; font-size: 0.9rem; word-break: break-all; }
.mail-note { background: #f5f2e9; border-left: 4px solid #c9a55c; padding: 0.9rem 1rem; margin: 1rem 0; }
.mail-note strong { display: block; margin-bottom: 0.25rem; }
.mail-small { color: #5b6066; font-size: 0.92rem; }
.mail-foot { color: #6b7076; font-size: 0.8rem; border-top: 1px solid #eceef0; padding-top: 0.9rem; margin-top: 1.25rem; }

/* The build page for a valid key */
body.product .key-wrap { max-width: 62rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
body.product .key-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
@media (max-width: 760px) { body.product .key-grid { grid-template-columns: 1fr; } }
body.product .key-build-client { color: var(--p-muted); margin: 0 0 1rem; }
body.product .key-build-notice { background: var(--p-teal-bg); color: var(--p-teal); border: 1px solid #1f4a57; border-radius: 8px; padding: 0.7rem 1rem; font-weight: 600; }
body.product .key-build-items { border: 0; margin: 0; padding: 0; min-width: 0; }
body.product .key-build-items legend { font-size: 1.9rem; font-weight: 700; padding: 0; margin: 0 0 0.4rem; }
body.product .key-build-note { color: var(--p-muted); }
body.product .key-build-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 0.75rem; }
body.product .key-build-item { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: center; column-gap: 0.5rem; padding: 0.85rem 1rem; background: var(--p-card); border: 1px solid var(--p-gold); border-radius: 12px; }
body.product .key-build-item > * { min-width: 0; }
body.product .key-build-title,
body.product .key-build-item label,
body.product .key-build-detail,
body.product .key-build-view { overflow-wrap: anywhere; }
body.product .key-build-item.is-held { border-color: var(--p-line); color: var(--p-muted); }
body.product .key-build-item input[type=checkbox] { width: 1.4rem; height: 1.4rem; margin: 0 auto; accent-color: var(--p-gold); }
body.product .key-build-item label { display: flex; align-items: center; min-height: 2.5rem; font-weight: 700; }
body.product .key-build-size { white-space: nowrap; font-weight: 700; }
body.product .key-build-detail { grid-column: 2 / 4; color: var(--p-muted); font-size: 0.92rem; }
body.product .key-build-total { font-weight: 700; font-size: 1.15rem; }
body.product .key-build-button, body.product #key-build-copy { font: inherit; font-weight: 700; min-height: 2.9rem; min-width: 2.75rem; padding: 0.55rem 1.4rem; border-radius: 8px; cursor: pointer; border: 1px solid var(--p-gold); background: var(--p-gold); color: var(--p-gold-ink); }
body.product #key-build-copy { background: var(--p-card-2); color: var(--p-text); border-color: var(--p-line); }
body.product .key-build h2 { font-size: 1.3rem; margin: 1.5rem 0 0.4rem; }
body.product .key-build-other, body.product .key-build-unavailable { font-size: 1.1rem; font-weight: 600; }
body.product .key-build-copy label { display: block; margin-top: 1rem; font-weight: 700; }
body.product #key-build-link { width: 100%; min-height: 2.75rem; font: inherit; color: var(--p-text); background: #101010; border: 1px solid var(--p-line); border-radius: 8px; padding: 0.5rem 0.75rem; margin: 0.4rem 0 0.7rem; }
body.product .key-build-secondary { margin-top: 1.5rem; }
body.product .cookie-notice { color: var(--p-muted); font-size: 0.85rem; margin-top: 2rem; }
.key-side { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 1.25rem; }
.key-side h2 { margin: 0 0 0.6rem; font-size: 1.25rem; }
.key-side p { margin: 0.3rem 0; color: var(--p-muted); }
.key-side strong { color: var(--p-text); }
.key-saved { background: var(--p-green-bg); border: 1px solid #2f6b3a; border-radius: 12px; padding: 1rem 1.2rem; margin: 1rem 0; }
.key-saved strong { display: block; color: #d6f2cc; }
.key-saved span { color: #b9dcb0; }
.key-email { display: block; margin-top: 0.75rem; }

/* The presenter login: the five country tiles sit in one row and wrap on a narrow screen. */
.p-main.login-wide { max-width: 62rem; padding-top: 1rem; padding-bottom: 1rem; }
.login-wide .p-card.pad-lg { padding: 1.5rem 1.75rem; }
.login-wide .p-lead { margin-bottom: 0.75rem; }
.login-wide .p-h1 { margin-bottom: 0.35rem; }
fieldset.p-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.6rem; margin-top: 0.75rem; }
fieldset.p-tiles legend { grid-column: 1 / -1; float: none; }
.p-tiles .p-radio { flex-direction: column; gap: 0.35rem; margin: 0; padding: 0.7rem 0.8rem; }
.p-tiles .p-radio input { margin: 0; }
.p-tiles .p-radio span.sub { font-size: 0.8rem; line-height: 1.3; margin-top: 0.15rem; }
.login-wide .p-field { margin-top: 0.75rem; }
.login-wide .p-note { margin: 0.6rem 0 0; }
.login-row { display: flex; gap: 0.75rem; align-items: flex-end; flex-wrap: wrap; }
.login-row > div { flex: 1 1 16rem; }
.login-row .p-btn { flex: 0 0 auto; min-width: 11rem; }
.login-wide .p-foot { margin-top: 0.6rem; }
body.product.limit-page { background: var(--p-bg); color: var(--p-text); }
body.product.limit-page h1,
body.product.limit-page h2,
body.product.limit-page p,
body.product.limit-page label { overflow-wrap: anywhere; }
body.product.limit-page .limit-form input {
  color: var(--p-text);
  background: #101010;
  border: 1px solid #7A756C;
  border-radius: 8px;
}
body.product.limit-page .limit-form button {
  display: inline-flex;
  align-items: center;
  height: 44px;
  min-height: 44px;
  margin-top: 1rem;
  padding: 0 1.1rem;
  font: inherit;
  font-weight: 700;
  color: var(--p-gold-ink);
  background: var(--p-gold);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
body.product.limit-page .cookie-notice { color: var(--p-muted); }
