.change-page {
  background: #fafaf5;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 5;
  padding: 12px;
  background: #fff;
}
.skip-link:focus {
  top: 10px;
}
.desk {
  padding-top: 30px;
  padding-bottom: 38px;
  scroll-margin-top: 18px;
}
.desk-heading,
.panel-heading,
.fields-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.desk-heading {
  margin-bottom: 20px;
}
.desk-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 7px;
}
.desk h2 {
  font:
    700 23px/1.35 "Manrope",
    Arial,
    sans-serif;
  letter-spacing: -0.6px;
  margin: 0;
}
.text-button {
  color: #315d43;
  background: none;
  border: 0;
  border-bottom: 1px solid #afc2a9;
  min-height: 44px;
  padding: 7px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.text-button:disabled {
  opacity: 0.5;
  cursor: default;
}
.current-order {
  border: 1px solid #d7dfd2;
  background: #fff;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  border-radius: 8px;
}
.small-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #647568;
  font-weight: 700;
}
.order-identity h3 {
  font:
    700 19px/1.4 "Manrope",
    sans-serif;
  margin: 8px 0;
}
.order-identity h3 span {
  font-size: 14px;
  font-weight: 500;
}
.order-identity p {
  font-size: 13px;
  color: #67746c;
  margin: 0 0 10px;
}
.order-stage {
  font-size: 11px;
  display: inline-block;
  background: #edf3e7;
  color: #315f45;
  padding: 4px 8px;
  border-radius: 4px;
}
.current-order dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  align-content: center;
}
.current-order dt {
  font-size: 12px;
  color: #65736a;
}
.current-order dd {
  margin: 3px 0 0;
  font-size: 17px;
  font-weight: 600;
}
.source-records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 28px;
}
.source-records article {
  display: flex;
  gap: 12px;
  padding: 17px;
  background: #f0f3e9;
  border: 1px solid #dce4d4;
  border-radius: 6px;
  min-width: 0;
}
.source-symbol {
  flex: none;
  border: 1px solid #b1c4a5;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  text-align: center;
  line-height: 28px;
  color: #4b704b;
  font-size: 10px;
  font-weight: 700;
}
.source-records h3 {
  font-size: 14px;
  margin: 0 0 6px;
}
.source-records p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 7px;
}
.source-records small {
  font-size: 11px;
  color: #65736a;
  line-height: 1.6;
  display: block;
}
.desk-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}
.request-panel,
.plan-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid #d7dfd2;
  border-radius: 8px;
  padding: 25px;
}
.panel-heading {
  justify-content: flex-start;
  margin-bottom: 20px;
}
.panel-heading h2 {
  font-size: 20px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1e2;
  color: #3f6745;
  flex: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 12px;
  font-weight: 700;
}
.check-count {
  margin-left: auto;
  font-size: 11px;
  color: #5f7064;
  white-space: nowrap;
}
.sample-changes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.sample-changes button,
.suggestions button {
  cursor: pointer;
  border: 1px solid #c5d2bc;
  border-radius: 5px;
  padding: 10px 12px;
  min-height: 44px;
  background: #fafcf7;
  color: #315d43;
  font-size: 12px;
  font-weight: 600;
}
.sample-changes button[aria-pressed="true"] {
  background: #203c30;
  color: white;
  border-color: #203c30;
}
.request-panel label {
  font-size: 13px;
}
.change-page textarea {
  display: block;
  resize: vertical;
  width: 100%;
  padding: 13px;
  border: 1px solid #bfcbbf;
  border-radius: 5px;
  font:
    15px/1.75 "DM Sans",
    sans-serif;
  color: #263d31;
  min-height: 154px;
  margin-top: 8px;
  background: #fdfdfa;
}
.ai-read-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
  margin: 0 0 12px;
}
.change-page .connection-state {
  font-size: 11px;
}
.request-note,
.plan-intro {
  color: #647167;
  font-size: 12px;
  line-height: 1.75;
}
.request-note {
  margin: 12px 0;
}
.plan-intro {
  margin: -5px 0 20px;
  font-size: 13px;
}
.fields-heading {
  margin: 25px 0 16px;
  border-top: 1px solid #dde3d7;
  padding-top: 21px;
}
.fields-heading h3 {
  font-size: 15px;
  margin: 0;
}
.fields-heading span {
  font-size: 11px;
  color: #70806d;
}
.change-page input,
.change-page select {
  font-size: 15px;
  min-height: 44px;
}
.change-page .check-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  margin: 17px 0;
  cursor: pointer;
}
.change-page .check-label input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: none;
  accent-color: #2e704f;
}
.proof-review {
  background: #f4f5ed;
  border-left: 2px solid #b6b98b;
  padding: 11px 14px;
}
.proof-review p {
  font-size: 12px;
  margin: 0;
}
.proof-review .check-label {
  margin: 10px 0 0;
}
.parsed-note {
  margin-top: 16px;
  padding: 14px;
  background: #f1f6ed;
  border-left: 2px solid #82a568;
  font-size: 12px;
}
.parsed-note p {
  margin: 6px 0;
}
.parsed-note ul {
  padding-left: 18px;
  margin: 8px 0 0;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checks li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 11px;
  border-top: 1px solid #e1e5dc;
  padding: 20px 0;
}
.check-mark {
  border-radius: 50%;
  border: 1px solid #6e9b65;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #386b43;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.checks li[data-ok="false"] .check-mark {
  color: #8c531d;
  background: #fcf1df;
  border-color: #ceae7d;
}
.check-body h3 {
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 0 0 8px;
}
.check-body h3 small {
  font-size: 11px;
  font-weight: 500;
  color: #54804f;
}
.checks li[data-ok="false"] h3 small {
  color: #925d22;
}
.check-body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
}
.check-body > small {
  color: #75816f;
  font-size: 11px;
  display: block;
  line-height: 1.6;
}
.plan-outcome {
  background: #f9f2e6;
  border: 1px solid #e7d5b5;
  border-radius: 5px;
  padding: 15px;
  font-size: 13px;
  line-height: 1.7;
}
.plan-outcome[data-ready="true"] {
  background: #edf5e6;
  border-color: #c2d4b4;
}
.plan-outcome strong {
  display: block;
  margin-bottom: 3px;
}
.suggestions {
  margin-top: 14px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.suggestions p {
  width: 100%;
  font-size: 12px;
  color: #687467;
  margin: 0;
}
.review-area {
  margin-top: 27px;
  border-top: 1px solid #d9e1d1;
  padding-top: 24px;
}
.change-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.change-page th {
  text-align: left;
  font-size: 10px;
  color: #6c796b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.change-page td,
.change-page th {
  padding: 11px 7px;
  border-bottom: 1px solid #e5e9df;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.change-page td:last-child {
  font-weight: 600;
}
.change-page .table-scroll {
  overflow: auto;
}
.plan-error {
  color: #8d461e;
  background: #fff0e5;
  padding: 13px;
  font-size: 13px;
}
.activity-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px 30px;
  border: 1px solid #d7dfd2;
  padding: 24px;
  border-radius: 8px;
  margin-top: 25px;
}
.activity-panel h2 {
  font-size: 18px;
  margin-bottom: 10px;
}
.activity-panel p,
.activity-panel ol {
  font-size: 13px;
  color: #5f6f62;
  margin: 0;
}
.activity-panel ol {
  padding-left: 20px;
}
.activity-panel li {
  padding: 6px 0;
}
.activity-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.activity-panel .status {
  grid-column: 1/-1;
}
.connections-explained {
  margin: 24px 0 0;
  padding: 10px 0;
  font-size: 13px;
}
.connections-explained summary {
  cursor: pointer;
  min-height: 44px;
  display: list-item;
  align-content: center;
  color: #345c42;
  font-weight: 600;
}
.connections-explained p {
  color: #647167;
  max-width: 850px;
  line-height: 1.8;
}
.change-page .next-step {
  margin-top: 5px;
}
.change-page dialog {
  max-width: 520px;
  width: calc(100% - 36px);
  padding: 30px;
  border: 1px solid #b9cbb0;
  border-radius: 9px;
  background: #fffef9;
  color: #263c30;
}
.change-page dialog::backdrop {
  background: #17291f99;
}
.change-page dialog h2 {
  margin: 10px 0 18px;
  font:
    700 25px/1.3 "Manrope",
    sans-serif;
  letter-spacing: -0.5px;
}
.change-page dialog p,
.change-page dialog ul {
  font-size: 14px;
  line-height: 1.8;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: none;
  font-size: 25px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.change-page [data-kind="error"] {
  color: #965221;
}
@media (max-width: 950px) {
  .desk-workspace {
    grid-template-columns: 1fr;
  }
  .source-records {
    gap: 10px;
  }
  .source-records article {
    padding: 14px;
  }
  .source-symbol {
    display: none;
  }
  .current-order {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .desk-heading {
    align-items: flex-start;
  }
  .desk-heading h2 {
    font-size: 21px;
  }
  .desk-heading .eyebrow {
    font-size: 9px;
    line-height: 1.7;
  }
  .current-order {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .current-order dl {
    gap: 17px;
  }
  .source-records {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 20px;
  }
  .source-records article {
    padding: 13px 16px;
  }
  .source-records small {
    font-size: 12px;
  }
  .source-symbol {
    display: block;
  }
  .request-panel,
  .plan-panel {
    padding: 19px;
  }
  .panel-heading {
    gap: 10px;
  }
  .panel-heading h2 {
    font-size: 18px;
  }
  .check-count {
    font-size: 10px;
  }
  .change-page textarea,
  .change-page input,
  .change-page select {
    font-size: 16px;
  }
  .change-page .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .sample-changes button,
  .suggestions button {
    font-size: 12px;
  }
  .activity-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .activity-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .request-note,
  .plan-intro {
    font-size: 13px;
  }
  .check-body p {
    font-size: 15px;
  }
  .check-body > small {
    font-size: 12px;
  }
  .review-area .check-label {
    font-size: 14px;
  }
  .change-page .intro {
    padding-bottom: 26px;
  }
  .change-page th,
  .change-page td {
    padding: 10px 5px;
    font-size: 12px;
  }
  .check-body h3 {
    font-size: 15px;
  }
  .desk-heading .text-button {
    flex: none;
  }
  .change-page dialog {
    padding: 24px;
  }
  .change-page dialog .eyebrow {
    max-width: 310px;
    padding-right: 30px;
  }
}
.source-context {
  margin: 18px 0 24px;
}
.source-context > summary {
  min-height: 44px;
  display: list-item;
  cursor: pointer;
  font-size: 14px;
  color: #355b3f;
  padding: 12px 0;
}
.source-context[open] > summary {
  margin-bottom: 12px;
}
