.plan-companion {
  margin: 0 0 24px;
  color: #193c4d;
}
.plan-work-heading, .plan-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-work-heading {
  margin-bottom: 14px;
}
.plan-work-heading h2 {
  margin: 3px 0 0;
  font-size: 20px;
  line-height: 1.35;
}
.plan-work-heading > span {
  color: #6b7e8a;
  font-size: 13px;
  white-space: nowrap;
}
.plan-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  color: #087ca7;
}
.plan-sample {
  color: #6a7d88;
  font-size: 12px;
  margin: 0 0 12px;
}
.plan-work-card, .plan-detail {
  border: 1px solid #dceaf1;
  border-radius: 16px;
  background: white;
  overflow: hidden;
}
.plan-work-filters {
  display: flex;
  padding: 12px;
  gap: 6px;
  border-bottom: 1px solid #edf3f7;
}
.plan-companion button {
  min-height: 42px;
  font: inherit;
  font-size: 13px;
}
.plan-work-filters button, .plan-period button {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #506677;
  padding: 8px 12px;
}
.plan-work-filters button[aria-pressed="true"], .plan-period button[aria-pressed="true"] {
  color: #066c9e;
  background: #eaf5fd;
  font-weight: 650;
}
.plan-work-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-work-row {
  border-bottom: 1px solid #edf3f7;
}
.plan-work-row:last-child {
  border-bottom: 0;
}
.plan-work-row a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  color: inherit;
  text-decoration: none;
}
.plan-work-row a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.plan-work-row strong {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.plan-work-row small {
  display: block;
  color: #687e8b;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.55;
}
.plan-work-mark {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  background: #edf8fc;
  color: #0787b5;
}
.plan-work-mark.is-late {
  color: #a65b12;
  background: #fff4e8;
}
.plan-work-row > button {
  margin: 0 15px 12px 61px;
  color: #087ca7;
  border: 1px solid #cce4ee;
  background: #fff;
  border-radius: 9px;
  padding: 7px 12px;
}
.plan-empty {
  padding: 18px;
  color: #6d808a;
  font-size: 13px;
  line-height: 1.6;
}
.plan-more {
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid #edf3f7;
  background: #f8fcfe;
  color: #087ca7;
}
.plan-more[hidden], .plan-detail[hidden] {
  display: none;
}
.plan-panel-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}
.plan-panel-links button {
  text-align: left;
  padding: 15px;
  border: 1px solid #dceaf1;
  border-radius: 12px;
  background: #f8fcff;
  color: #193c4d;
}
.plan-panel-links strong, .plan-panel-links small {
  display: block;
}
.plan-panel-links small {
  color: #697e8a;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
}
.plan-detail {
  padding: 18px;
  margin-bottom: 14px;
}
.plan-detail h3 {
  margin: 0;
  font-size: 17px;
}
.plan-detail p {
  font-size: 13px;
  line-height: 1.6;
  color: #617985;
}
.plan-detail-heading button {
  background: #f3f8fb;
  border: 0;
  border-radius: 10px;
  min-width: 42px;
}
.plan-period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 14px 0;
}
.plan-period span {
  color: #70838e;
  font-size: 12px;
}
.plan-report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.plan-metric {
  border: 1px solid #e1edf3;
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}
.plan-metric summary {
  padding: 14px;
  cursor: pointer;
  list-style: none;
}
.plan-metric summary span, .plan-metric summary small, .plan-metric summary strong {
  display: block;
}
.plan-metric summary span {
  font-size: 13px;
  line-height: 1.5;
}
.plan-metric summary strong {
  font-size: clamp(19px, 3vw, 27px);
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.plan-metric summary small {
  color: #69818d;
  font-size: 11px;
}
.plan-evidence {
  list-style: none;
  margin: 0;
  padding: 0 12px 12px;
}
.plan-evidence li {
  padding: 9px 0;
  border-top: 1px solid #e7eff4;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.plan-evidence a {
  color: #087ca7;
  line-height: 1.6;
}
.plan-evidence small {
  display: block;
}
.plan-report-notes p {
  font-size: 11px;
  margin: 5px 0;
}
.plan-report-ads {
  background: #f5faff;
  padding: 14px;
  border-radius: 12px;
  margin: 14px 0;
  font-size: 13px;
}
.plan-report-ads small {
  display: block;
  color: #6a808d;
  margin-top: 8px;
  line-height: 1.5;
}
.plan-handover {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.plan-handover li {
  border-bottom: 1px solid #e7eff4;
  padding: 12px 0;
}
.plan-handover a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.plan-handover strong, .plan-handover small {
  display: block;
  margin-top: 6px;
}
.plan-handover small {
  color: #69808d;
  line-height: 1.6;
}
.plan-step-state {
  font-size: 11px;
  color: #8d5d26;
  background: #fff5e8;
  border-radius: 6px;
  padding: 3px 7px;
}
.plan-step-state.ready {
  color: #23745c;
  background: #eaf8f1;
}
.plan-ask {
  border: 1px solid #dceaf1;
  padding: 15px;
  border-radius: 12px;
  margin-top: 14px;
}
.plan-ask summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}
.plan-ask p {
  color: #697d89;
  font-size: 13px;
}
.plan-question-form label {
  display: block;
  margin: 12px 0 6px;
  font-size: 13px;
}
.plan-question-form > div {
  display: flex;
  gap: 8px;
}
.plan-question-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #ccdfeb;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}
.plan-question-form button, .plan-complete-form button {
  border: 0;
  border-radius: 9px;
  background: #087ca7;
  color: #fff;
  padding: 8px 16px;
}
.plan-question-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.plan-question-options button {
  background: #f5faff;
  color: #355b70;
  border: 1px solid #dfebf2;
  border-radius: 9px;
  padding: 7px 10px;
  text-align: left;
}
.plan-answer-text {
  white-space: pre-line;
  color: #193c4d !important;
}
.plan-answer small {
  display: block;
  color: #697d89;
  line-height: 1.5;
}
.plan-complete-form form {
  padding: 16px;
  background: #f5faff;
  border-top: 1px solid #dceaf1;
}
.plan-complete-form label, .plan-complete-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.plan-complete-form textarea {
  margin: 8px 0;
  min-height: 85px;
  border: 1px solid #c9dde8;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}
.plan-install {
  margin-top: 12px;
}
.plan-install button {
  border: 0;
  background: transparent;
  color: #587b91;
  padding-left: 0;
  text-align: left;
}
.plan-install-help {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #516f80;
}
@media (max-width: 420px) {
  .plan-work-heading h2 {
    font-size: 18px;
  }
  .plan-panel-links {
    gap: 8px;
  }
  .plan-panel-links button {
    padding: 12px;
  }
  .plan-detail {
    padding: 12px;
  }
  .plan-report-grid {
    grid-template-columns: 1fr;
  }
  .plan-work-filters button {
    padding: 8px 9px;
    font-size: 12px;
  }
}
