/* Reviewed credit tasks use the current light app surface and shared roles. */
.refined-current .rechecks.credit-task {
  max-width: 960px;
  padding: 32px 24px 56px;
}
.credit-task .rechecks__back {
  color: var(--pt-action);
  margin: 0 0 20px;
  text-underline-offset: 4px;
}
.credit-task__heading { margin-bottom: 28px; max-width: 720px; }
.credit-task .credit-task__heading h1 { margin: 0; color: var(--pt-ink); }
.credit-task__heading > p:not(.credit-task__step) {
  margin: 12px 0 0;
  color: var(--pt-muted);
  font-size: var(--pt-type-body);
  line-height: var(--pt-leading-body);
}
.credit-task__heading .credit-task__step {
  margin: 0 0 10px;
  color: var(--pt-muted);
  font-size: var(--pt-type-helper);
}
.credit-task__step:empty { display: none; }
.credit-task__sheet {
  margin: 0;
  background: var(--pt-surface);
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius);
  color: var(--pt-ink);
  overflow: hidden;
}
.credit-task__content { padding: 32px; min-width: 0; }
.credit-task .credit-task__content > h2,
.credit-task .credit-task__schedule > h2 {
  margin: 0 0 16px;
  font-size: var(--pt-type-subheading);
  line-height: var(--pt-leading-heading);
  font-weight: var(--pt-weight-action);
  color: var(--pt-ink);
}
.credit-task__choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.credit-task__choices > legend {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  font-size: var(--pt-type-helper);
  color: var(--pt-muted);
  line-height: var(--pt-leading-body);
}
.credit-task__choice {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 80px;
  padding: 16px 8px;
  border-top: 1px solid var(--pt-line);
  cursor: pointer;
}
.credit-task__choice:has(input:checked) { background: var(--pt-soft); }
.credit-task__choice input,
.credit-task .credit-task__email input {
  accent-color: var(--pt-action);
  color: var(--pt-action);
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
}
.credit-task__choice span { min-width: 0; }
.credit-task__choice strong,
.credit-task__names strong {
  display: block;
  color: var(--pt-ink);
  font-size: var(--pt-type-body);
  font-weight: var(--pt-weight-action);
  overflow-wrap: anywhere;
}
.credit-task__choice time,
.credit-task__names li > span {
  display: block;
  margin-top: 4px;
  color: var(--pt-muted);
  font-size: var(--pt-type-caption);
  line-height: var(--pt-leading-caption);
}
.credit-task__fields { display: grid; gap: 24px; }
.credit-task__field { min-width: 0; }
.credit-task__field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--pt-ink);
  font-size: var(--pt-type-helper);
  font-weight: var(--pt-weight-action);
}
.credit-task__field :is(input, select) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-control-radius);
  padding: 12px 14px;
  background-color: var(--pt-surface);
  color: var(--pt-ink);
  font-size: var(--pt-type-body);
  line-height: var(--pt-leading-control);
}
.credit-task__zone { margin-top: 28px; }
.credit-task__previous {
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--pt-line);
  overflow-wrap: anywhere;
}
.credit-task__previous > span { display: block; margin-bottom: 6px; color: var(--pt-muted); font-size: var(--pt-type-helper); }
.credit-task__previous > strong { font-size: var(--pt-type-body); line-height: var(--pt-leading-body); }
.credit-task__footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-top: 1px solid var(--pt-line);
}
.credit-task__footer > p { margin: 0; color: var(--pt-muted); font-size: var(--pt-type-helper); }
.credit-task .rechecks__primary {
  min-height: 48px;
  border: 1px solid var(--pt-action);
  border-radius: var(--pt-control-radius);
  padding: 13px 18px;
  background: var(--pt-action);
  color: var(--pt-surface);
  font-size: var(--pt-type-helper);
  font-weight: var(--pt-weight-action);
  line-height: var(--pt-leading-control);
  white-space: normal;
}
.credit-task .rechecks__primary:hover { background: var(--pt-action-hover); border-color: var(--pt-action-hover); }
.credit-task__footer > .rechecks__primary { width: auto; flex: none; max-width: 100%; }
.refined-current .credit-task :is(a, button, input, select):focus-visible { outline: 3px solid var(--pt-action); outline-offset: 3px; }
.credit-task__review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); }
.credit-task__names { list-style: none; padding: 0; margin: 0; }
.credit-task__names li { padding: 16px 0; }
.credit-task__names li:first-child { padding-top: 0; }
.credit-task__names li + li { border-top: 1px solid var(--pt-line); }
.credit-task__summary { min-width: 0; padding: 32px; border-left: 1px solid var(--pt-line); }
.credit-task__summary .credit-task__quantity { margin: 0 0 4px; color: var(--pt-muted); font-size: var(--pt-type-helper); }
.credit-task__summary .credit-task__price { margin: 0 0 16px; font-size: var(--pt-type-price); line-height: var(--pt-leading-heading); font-weight: var(--pt-weight-heading); color: var(--pt-ink); }
.credit-task__anchor { margin: 0 0 24px; font-size: var(--pt-type-helper); line-height: var(--pt-leading-body); color: var(--pt-muted); }
.credit-task .credit-task__email { padding: 20px 0; margin-bottom: 20px; border-block: 1px solid var(--pt-line); color: var(--pt-ink); gap: 12px; }
.credit-task .credit-task__email input { margin-top: 2px; }
.credit-task__schedule { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--pt-line); }
.credit-task__schedule > h2 { margin-bottom: 4px; }
.credit-task__zone-label { margin: 0 0 16px; color: var(--pt-muted); font-size: var(--pt-type-caption); overflow-wrap: anywhere; }
.credit-task .credit-task__dates { margin: 0; padding: 0; list-style: none; }
.credit-task__dates > li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: var(--pt-type-helper); line-height: var(--pt-leading-body); }
.credit-task__dates > li > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: var(--pt-marker-radius); background: var(--pt-canvas); color: var(--pt-muted); font-size: var(--pt-type-caption); }
.credit-task__policy { margin: 18px 0 0; color: var(--pt-muted); font-size: var(--pt-type-caption); line-height: var(--pt-leading-body); }
.credit-task__message { padding: 16px; margin: 0 0 24px; border-left: 3px solid var(--pt-ink); background: var(--pt-canvas); color: var(--pt-ink); font-size: var(--pt-type-helper); }
.credit-task__confirmed { margin: 0 0 24px; color: var(--pt-action); font-weight: var(--pt-weight-action); }
.credit-task__plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 20px 0; border-top: 1px solid var(--pt-line); overflow-wrap: anywhere; }
.credit-task__plan > span { color: var(--pt-muted); font-size: var(--pt-type-caption); }
.credit-task__plan > a { grid-column: 1 / -1; display: flex; align-items: center; min-height: 44px; color: var(--pt-action); text-decoration: underline; text-underline-offset: 4px; font-size: var(--pt-type-helper); }

/* These modules stay distinct: optional purchase action versus observed output. */
.weekly-entry.credit-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 32px);
  max-width: 1050px;
  margin: 24px auto;
  padding: 24px;
  border-color: var(--pt-line);
  background: var(--pt-surface);
  color: var(--pt-ink);
}
.credit-offer__copy { min-width: 0; max-width: 620px; }
.refined-current .weekly-entry.credit-offer h2 { font-size: var(--pt-type-subheading); line-height: var(--pt-leading-heading); }
.weekly-entry.credit-offer p { margin: 10px 0 0; color: var(--pt-muted); }
.credit-offer > .weekly-entry__action { flex: none; max-width: 240px; border-color: var(--pt-action); background: var(--pt-action); color: var(--pt-surface); }
.credit-offer > .weekly-entry__action:hover { background: var(--pt-action-hover); }
.weekly-entry.credit-changes {
  max-width: 1050px;
  width: calc(100% - 32px);
  margin: 24px auto;
  padding: 24px;
  border-color: var(--pt-line);
  background: var(--pt-surface);
  color: var(--pt-ink);
}
:is(.search-home, .rechecks) :is(.credit-offer, .credit-changes) { width: 100%; }
.results-review > .weekly-entry.credit-changes { width: 100%; max-width: none; margin: 24px 0; }
.refined-current .weekly-entry.credit-changes h2 { font-size: var(--pt-type-subheading); line-height: var(--pt-leading-heading); }
.credit-changes__list { list-style: none; padding: 0; margin: 20px 0 0; }
.credit-changes__list > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr); gap: 12px 24px; padding: 20px 0; border-top: 1px solid var(--pt-line); }
.credit-changes__name { align-self: center; display: flex; align-items: center; min-height: 44px; color: var(--pt-action); font-weight: var(--pt-weight-action); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.credit-changes__counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.credit-changes__counts > span { display: flex; flex-direction: column; gap: 4px; color: var(--pt-muted); font-size: var(--pt-type-caption); line-height: var(--pt-leading-caption); }
.credit-changes__counts strong { color: var(--pt-ink); font-size: var(--pt-type-price); line-height: var(--pt-leading-heading); font-weight: var(--pt-weight-heading); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .refined-current .rechecks.credit-task { padding: 24px 16px 40px; }
  .credit-task__heading { margin-bottom: 24px; }
  .credit-task__content, .credit-task__summary { padding: 24px 20px; }
  .credit-task__review { grid-template-columns: minmax(0, 1fr); }
  .credit-task__summary { border-left: 0; border-top: 1px solid var(--pt-line); }
  .credit-task__footer { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .credit-task__footer > .rechecks__primary { width: 100%; }
  .weekly-entry.credit-offer { align-items: stretch; flex-direction: column; gap: 20px; padding: 20px; }
  .credit-offer > .weekly-entry__action { max-width: none; }
  .weekly-entry.credit-changes { padding: 20px; }
  .credit-changes__list > li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .credit-task .rechecks__primary { transition: none; } }
