/* Fix Assistant panel on the paid report. Shares the report's palette. */
.fix-assistant { margin: 48px 0 0; padding: 32px 30px; border: 1px solid #dce7e7; border-radius: 16px; background: #f7fafa; }

.fix-head { display: flex; flex-wrap: wrap; gap: 28px; align-items: start; justify-content: space-between; }
.fix-head h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; margin: 10px 0 10px; }
.fix-head p { margin: 0; max-width: 56ch; font-size: 14px; line-height: 1.7; color: #607474; }

.fix-progress { flex: 0 0 auto; min-width: 180px; text-align: right; }
.fix-progress strong { font: 700 34px/1 var(--font-display); letter-spacing: -.03em; }
.fix-progress span { margin-left: 6px; font-size: 13px; color: #607474; }
.fix-bar { margin-top: 10px; height: 6px; border-radius: 3px; background: #dce7e7; overflow: hidden; }
.fix-bar i { display: block; height: 100%; background: #137f7c; transition: width .3s; }

.fix-safety { margin: 24px 0 0; padding: 16px 18px; border: 1px solid #dce7e7; border-radius: 10px; background: #fff; }
.fix-safety summary { font-weight: 600; font-size: 14px; cursor: pointer; }
.fix-safety ol { margin: 12px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.7; color: #3c4f50; }

.fix-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fix-step { border: 1px solid #dce7e7; border-radius: 12px; background: #fff; overflow: hidden; }
.fix-step.is-done { background: #f3faf8; border-color: #bfe0d8; }

.fix-step-head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; background: none; border: 0; text-align: left; cursor: pointer; }
.fix-step-head:hover { background: #f4fafa; }
.fix-step-mark { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #0b2021; color: #4ad3d3; font: 600 13px/1 var(--font-text); }
.is-done .fix-step-mark { background: #137f7c; color: #fff; }
.fix-step-title { flex: 1 1 auto; min-width: 0; }
.fix-step-title strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.fix-step-title small { display: block; margin-top: 3px; font-size: 12px; color: #78908c; }
.fix-step-state { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: #78908c; }
.is-done .fix-step-state { color: #137f7c; }

.fix-step-body { padding: 0 18px 18px 60px; font-size: 14px; line-height: 1.7; color: #3c4f50; }
.fix-step-body p { margin: 0 0 12px; }
.fix-finding { padding: 12px 14px; border-left: 3px solid #dce7e7; background: #f7fafa; }
.fix-steps { margin: 0 0 14px; padding-left: 20px; }
.fix-steps li { margin: 0 0 8px; }

.fix-snippet { position: relative; margin: 0 0 14px; }
.fix-snippet pre { margin: 0; padding: 16px 18px; overflow-x: auto; background: #0b2021; color: #dbeceb; border-radius: 10px; font-size: 12.5px; line-height: 1.6; }
.fix-copy { position: absolute; top: 10px; right: 10px; padding: 6px 12px; border: 0; border-radius: 6px; background: #4ad3d3; color: #082021; font-size: 12px; font-weight: 600; cursor: pointer; }

.fix-answers { margin: 0 0 16px; }
.fix-answers summary { font-size: 13px; font-weight: 600; color: #126b6b; cursor: pointer; }
.fix-answers dl { margin: 12px 0 0; }
.fix-answers dt { font-weight: 600; margin: 14px 0 4px; }
.fix-answers dt:first-of-type { margin-top: 0; }
.fix-answers dd { margin: 0; color: #607474; }

.fix-step-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fix-verify { padding: 11px 18px; border: 0; border-radius: 7px; background: #0b2021; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.fix-verify:hover { background: #13302f; }
.fix-verify:disabled { background: #607474; cursor: default; }
.fix-stuck-open { padding: 11px 14px; border: 1px solid #dce7e7; border-radius: 7px; background: #fff; color: #3c4f50; font-size: 14px; cursor: pointer; }
.fix-verified { font-size: 14px; font-weight: 600; color: #137f7c; }
.fix-step-note { margin: 12px 0 0; font-size: 13px; color: #3c4f50; min-height: 1em; }

.fix-stuck-form { margin: 14px 0 0; display: grid; gap: 8px; }
.fix-stuck-form label { font-size: 13px; color: #607474; }
.fix-stuck-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #dce7e7; border-radius: 8px; font: inherit; font-size: 14px; resize: vertical; }
.fix-stuck-form button { justify-self: start; padding: 10px 16px; border: 0; border-radius: 7px; background: #137f7c; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }

.fix-foot { margin: 20px 0 0; font-size: 13px; color: #78908c; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fix-reminders { padding: 0; border: 0; background: none; color: #126b6b; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

@media (max-width: 700px) {
  .fix-assistant { padding: 24px 18px; }
  .fix-progress { min-width: 0; text-align: left; width: 100%; }
  .fix-step-body { padding-left: 18px; }
}
@media print { .fix-assistant { display: none; } }
