.clause-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 17px;
  border: 0;
  background: white;
  text-align: left;
}
.clause-row:hover {
  background: #fafbf9;
}
.clause-content {
  flex: 1;
  min-width: 0;
}
.clause-original-preview,
.decision-status {
  display: block;
  margin-top: 5px;
}
.clause-original-preview {
  color: var(--muted);
}
.decision-status {
  margin-top: 6px;
  color: var(--green2);
  font-weight: 800;
}
.decision-status.retained {
  color: #64716b;
}
.decision-status.pending {
  font-weight: 500;
}
.clause.decision-adopted {
  border-left: 5px solid #2f8068;
  background: #f1f8f5;
  box-shadow: 0 0 0 1px rgb(47 128 104 / 8%);
}
.clause.decision-adopted .clause-row {
  background: #f7fcfa;
}
.clause.decision-adopted .clause-row:hover {
  background: #eef8f4;
}
.clause.decision-major {
  border-left-color: #b45443;
}
.clause.decision-retained {
  border-left: 5px solid #a7b0ac;
}
.decision-flag {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
  white-space: nowrap;
}
.decision-flag.adopted {
  border-color: #91c7b6;
  background: #dcefe7;
  color: #14664d;
}
.decision-flag.major {
  border-color: #e0aaa0;
  background: #f9e4df;
  color: #9c3828;
}
.decision-flag.retained {
  border-color: #d5ddda;
  background: #edf1ef;
  color: #66736d;
}
.clause-redline {
  display: block;
  margin-top: 12px;
  padding: 11px 13px;
  border-left: 3px solid #438f7b;
  border-radius: 0 7px 7px 0;
  background: #e8f3ef;
  line-height: 1.65;
}
.clause-redline b,
.clause-redline-text {
  display: block;
}
.clause-redline b {
  margin-bottom: 5px;
  color: #155d49;
  font-size: 12px;
}
.clause-redline b em {
  margin-left: 6px;
  color: #71817a;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}
.clause-redline-text {
  display: -webkit-box;
  overflow: hidden;
  color: #385148;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.clause-redline del {
  background: #f7d6d1;
  color: #a64232;
}
.clause-redline ins {
  background: #d9eee4;
  color: #166534;
  text-decoration: none;
}
.clause-dialog {
  width: min(1440px, 96vw);
  height: min(900px, 94vh);
  max-width: none;
  border-radius: 0;
}
.editor-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.editor-head {
  position: relative;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.editor-head h2 {
  font:
    500 28px Georgia,
    serif;
  margin: 5px 0;
}
.editor-head-note {
  max-width: 900px;
  margin: 7px 48px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.editor-main {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 0;
}
.original-pane {
  padding: 34px;
  background: #fcf6f3;
  border-right: 1px solid var(--line);
  overflow: auto;
}
.original-pane h4 {
  color: var(--red);
}
.original-pane p {
  white-space: pre-wrap;
  line-height: 1.8;
}
.counter-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #ead8d1;
  color: #8a766e;
}
.decision-pane {
  padding: 32px;
  overflow: auto;
}
.principle {
  padding: 16px;
  border-left: 4px solid #438f7b;
  background: #eaf3f0;
  border-radius: 7px;
  margin-bottom: 22px;
}
.principle b {
  display: block;
  color: var(--green);
  margin-bottom: 6px;
}
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option-card {
  display: flex;
  gap: 12px;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafcfb;
}
.option-card:hover,
.option-card.selected {
  border: 2px solid #4a9584;
  background: #eef6f3;
  padding: 13px;
}
.option-card.danger {
  background: #fff6f4;
  border-color: #efcbc5;
}
.option-code {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e2f0ec;
  color: #28735a;
  font-weight: 900;
}
.option-card strong {
  display: block;
  margin-bottom: 4px;
}
.option-card small {
  color: var(--muted);
  line-height: 1.4;
}
.confirm-text {
  margin-top: 22px;
}
.confirm-text label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}
.confirm-text textarea {
  width: 100%;
  min-height: 170px;
  padding: 15px;
  border: 1px solid #7bb3a6;
  border-radius: 9px;
  line-height: 1.7;
}
.diff-preview {
  margin-top: 14px;
  padding: 15px;
  border-left: 4px solid #438f7b;
  background: #edf5f2;
  line-height: 1.65;
}
.diff-preview h4 {
  margin: 0 0 8px;
}
.diff-preview del {
  background: #f7d6d1;
  color: #a64232;
}
.diff-preview ins {
  background: #d9eee4;
  color: #166534;
  text-decoration: none;
}
.round-change-list-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--green);
}
.round-change-list-summary span {
  color: var(--muted);
  font-size: 12px;
}
.counterparty-change-card {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 5px solid #c8892d;
  border-radius: 10px;
  background: white;
}
.counterparty-change-card.decision-accepted {
  border-left-color: #2f8068;
}
.counterparty-change-card.decision-rejected {
  border-left-color: #b45443;
}
.counterparty-change-card.decision-countered {
  border-left-color: #376f91;
}
.counterparty-change-card.return-highlight {
  outline: 3px solid rgb(47 128 104 / 25%);
  outline-offset: 2px;
}
.counterparty-change-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 17px;
  border: 0;
  background: white;
  text-align: left;
}
.counterparty-change-row:hover {
  background: #f7fbf9;
}
.change-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.change-kind {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 5px;
  background: #fff0d8;
  color: #8d570f;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.change-kind.added {
  background: #dff1e9;
  color: #16614c;
}
.change-kind.deleted {
  background: #f8e2de;
  color: #963d30;
}
.round-change-authorship {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 9px;
  padding: 8px 10px;
  border: 1px solid #d9e5e1;
  border-radius: 7px;
  background: #f8fbfa;
  color: #49645c;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.round-change-authorship > span {
  min-width: 0;
}
.round-change-authorship b {
  color: #214f43;
}
.round-change-authorship em {
  margin-left: 3px;
  color: var(--muted);
  font-style: normal;
}
.round-change-authorship .our-handler {
  margin-left: auto;
}
.incoming-revision-operations {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #d8dfdc;
  border-radius: 8px;
  background: #fff;
}
.revision-operations-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 11px;
  border-bottom: 1px solid #e1e7e4;
  background: #f6f8f7;
  color: #244e43;
}
.revision-operations-heading em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}
.revision-operations-fallback {
  display: block;
  padding: 10px 12px;
  color: #68766f;
  font-size: 12px;
  line-height: 1.55;
}
.revision-operation-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
}
.revision-operation-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #bedbce;
  border-radius: 16px;
  background: #edf8f3;
  color: #155f49;
  font-size: 11px;
}
.revision-operation-summary b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.revision-operation-summary em {
  font-style: normal;
  font-weight: 900;
}
.revision-operation-summary.delete,
.revision-operation-summary.move_from {
  border-color: #e2b9b1;
  background: #fff1ee;
  color: #983d31;
}
.revision-operation {
  display: grid;
  grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
  border-top: 1px solid #edf0ef;
}
.revision-operations-heading + .revision-operation {
  border-top: 0;
}
.revision-operation-heading {
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 7px;
  min-width: 0;
  padding: 10px 11px;
  background: #fafbfa;
}
.revision-operation-heading b {
  min-width: 0;
  color: #1f4f42;
  overflow-wrap: anywhere;
}
.revision-operation-heading em {
  padding: 2px 7px;
  border-radius: 12px;
  background: #dcefe7;
  color: #16614c;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.revision-operation-heading small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 10px;
}
.revision-operation-text {
  min-width: 0;
  padding: 10px 12px;
  border-left: 3px solid #3e9277;
  background: #edf8f3;
  color: #155f49;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.revision-operation.delete .revision-operation-heading em,
.revision-operation.move_from .revision-operation-heading em {
  background: #f8e2de;
  color: #963d30;
}
.revision-operation.delete .revision-operation-text,
.revision-operation.move_from .revision-operation-text {
  border-left-color: #bd5544;
  background: #fff1ee;
  color: #983d31;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.counterparty-change-card .revision-operation-text {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.change-redline {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid #7cae9f;
  border-radius: 0 7px 7px 0;
  background: #f0f6f3;
  line-height: 1.65;
}
.change-redline b,
.change-redline > span {
  display: block;
}
.change-redline b {
  margin-bottom: 4px;
  color: #315f53;
  font-size: 12px;
}
.change-redline b em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}
.change-redline > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.change-redline del,
.counterparty-diff del,
.decision-outcome-preview del {
  background: #f7d6d1;
  color: #a64232;
}
.change-redline ins,
.counterparty-diff ins,
.decision-outcome-preview ins {
  background: #d9eee4;
  color: #166534;
  text-decoration: none;
}
.decision-status.decision-accepted {
  color: #17634d;
}
.decision-status.decision-rejected {
  color: #9c3828;
}
.decision-status.decision-countered {
  color: #285f82;
}
.decision-status.decision-pending {
  color: #8b5510;
  font-weight: 700;
}
.returned-text-pane {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #cadbd5;
  border-radius: 9px;
  background: white;
}
.returned-text-pane h4 {
  margin: 0 0 9px;
  color: var(--green);
}
.returned-text-pane p,
.previous-round-pane p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.75;
}
.returned-text-pane em,
.previous-round-pane em {
  color: var(--muted);
}
.counterparty-diff {
  margin: 0 0 22px;
}
.counterparty-positioned-diff {
  margin: 14px 0 12px;
  border: 1px solid #bcd8cf;
  border-left: 4px solid #26745e;
  border-radius: 8px;
  background: #f4faf7;
}
.counterparty-positioned-diff h4 {
  color: #135d48;
}
.positioned-diff-note {
  margin: 0 0 11px;
  color: #64756e;
  font-size: 11px;
  line-height: 1.55;
}
.word-positioned-clause,
.positioned-diff-fallback {
  padding: 14px 16px;
  border: 1px solid #d8e3df;
  border-radius: 7px;
  background: #fff;
  color: #243b34;
  font-size: 15px;
  line-height: 2.15;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: pre-wrap;
}
.word-positioned-segment {
  display: inline;
}
.word-positioned-segment del,
.word-positioned-segment ins {
  padding: 1px 2px;
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.word-positioned-segment del {
  background: #f9deda;
  color: #a33f31;
  text-decoration-color: #b54d3e;
  text-decoration-thickness: 1.5px;
}
.word-positioned-segment ins {
  background: #dcefe7;
  color: #126249;
  text-decoration: none;
}
.word-segment-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  margin: 1px 4px;
  padding: 3px 6px;
  border: 1px solid #e2aaa1;
  border-radius: 11px;
  background: #fff1ee;
  color: #963d30;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  vertical-align: middle;
}
.word-positioned-segment.insert .word-segment-label {
  border-color: #a9d4c5;
  background: #e6f4ee;
  color: #16614c;
}
.word-segment-label span {
  font-size: 9px;
  font-weight: 500;
  opacity: 0.82;
}
.counterparty-positioned-diff.unavailable {
  border-color: #d5ddda;
  border-left-color: #8d9b96;
  background: #f8faf9;
}
.counterparty-net-diff {
  margin-top: 0;
  border-left-color: #98a7a1;
  background: #f7f9f8;
  color: #52635d;
  font-size: 13px;
}
.counterparty-net-diff h4 {
  color: #52635d;
}
.counterparty-net-diff p {
  margin: 0 0 8px;
  color: #78857f;
  font-size: 10px;
  line-height: 1.5;
}
.round-change-analysis-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 24px;
  margin: 16px 0;
  padding: 16px 20px;
  border: 1px solid #e6c685;
  border-left: 4px solid #c98b27;
  border-radius: 9px;
  background: #fff9ec;
}
.round-change-analysis-status.complete {
  border-color: #abd2c4;
  border-left-color: #208064;
  background: #edf8f3;
}
.round-change-analysis-status div,
.round-change-analysis-status strong,
.round-change-analysis-status span {
  display: block;
}
.round-change-analysis-status strong {
  margin-bottom: 4px;
  color: #76500f;
  font-size: 16px;
}
.round-change-analysis-status.complete strong {
  color: #155f49;
}
.round-change-analysis-status span,
.round-change-analysis-status small {
  color: #66766f;
  line-height: 1.55;
}
.round-change-analysis-status small {
  max-width: 420px;
  align-self: center;
  text-align: right;
}
.analysis-pending-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border: 1px solid #e8c685;
  border-radius: 999px;
  background: #fff7e5;
  color: #8b5b0c;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}
.round-change-analysis-pending {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #e5bf72;
  border-left: 4px solid #c98b27;
  border-radius: 8px;
  background: #fff8e9;
}
.round-change-analysis-pending strong {
  display: block;
  margin-bottom: 5px;
  color: #7b500b;
  font-size: 16px;
}
.round-change-analysis-pending p {
  margin: 0;
  color: #715f3e;
  line-height: 1.65;
}
.round-change-legal-review {
  margin: 20px 0 22px;
  border: 1px solid #a9d1c3;
  border-radius: 10px;
  background: #f3faf7;
  overflow: hidden;
}
.round-change-legal-review > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 19px;
  border-bottom: 1px solid #cce1da;
  background: #e7f4ef;
}
.round-change-legal-review > header span,
.round-change-legal-review > header h3 {
  display: block;
  margin: 0;
}
.round-change-legal-review > header span {
  margin-bottom: 4px;
  color: #28705b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.round-change-legal-review > header h3 {
  color: #153f34;
  font-size: 18px;
}
.legal-review-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.legal-review-badges i {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  font-style: normal;
  white-space: nowrap;
}
.recommended-decision {
  border: 1px solid #8bbdad;
  background: #fff;
  color: #175d49;
  font-size: 11px;
  font-weight: 800;
}
.legal-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 18px 0;
}
.legal-review-grid article {
  padding: 14px 15px;
  border: 1px solid #d5e5df;
  border-radius: 8px;
  background: #fff;
}
.legal-review-grid article.risk-reason {
  grid-column: 1 / -1;
  border-left: 4px solid #2b8067;
}
.legal-review-grid h4,
.legal-review-grid p {
  margin: 0;
}
.legal-review-grid h4 {
  margin-bottom: 6px;
  color: #155d48;
  font-size: 14px;
}
.legal-review-grid p {
  color: #273f37;
  line-height: 1.72;
  white-space: pre-wrap;
}
.counterproposal-recommendations {
  margin: 16px 18px;
  padding-top: 15px;
  border-top: 1px solid #cce1da;
}
.counterproposal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.counterproposal-heading h4,
.counterproposal-heading p {
  margin: 0;
}
.counterproposal-heading h4 {
  color: #153f34;
  font-size: 16px;
}
.counterproposal-heading p {
  margin-top: 3px;
  color: #65766f;
  font-size: 11px;
  line-height: 1.55;
}
.counterproposal-heading > span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #dceee7;
  color: #17634d;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.counterproposal-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.primary-recommendation .counterproposal-option {
  width: 100%;
  min-height: 94px;
}
.counterproposal-alternatives {
  margin: 0 18px 16px;
  padding: 12px 14px;
  border: 1px solid #c9ddd6;
  border-radius: 8px;
  background: #f9fcfb;
}
.counterproposal-alternatives summary {
  color: #1a604d;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.counterproposal-alternatives > p {
  margin: 7px 0 10px;
  color: #66776f;
  font-size: 11px;
  line-height: 1.5;
}
.counterproposal-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 116px;
  padding: 13px;
  border: 1px solid #bdd5cd;
  border-radius: 8px;
  background: #fff;
  color: #1f3931;
  text-align: left;
}
.counterproposal-option:hover:not(:disabled),
.counterproposal-option:focus-visible,
.counterproposal-option.selected {
  border-color: #24765e;
  box-shadow: 0 0 0 2px #cfe8df;
}
.counterproposal-option.recommended {
  border-color: #5e9e88;
  background: #f9fdfb;
}
.counterproposal-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #dff0e9;
  color: #17654e;
  font-weight: 900;
}
.counterproposal-option strong,
.counterproposal-option small,
.counterproposal-option span > b {
  display: block;
}
.counterproposal-option strong {
  color: #163e33;
  line-height: 1.35;
}
.counterproposal-option strong em {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #d8ece4;
  color: #19624d;
  font-size: 9px;
  font-style: normal;
  vertical-align: middle;
}
.counterproposal-option small {
  margin-top: 5px;
  color: #64766f;
  line-height: 1.45;
}
.counterproposal-option span > b {
  margin-top: 9px;
  color: #17634d;
  font-size: 11px;
}
.counterproposal-missing {
  margin: 14px 18px;
  padding: 11px 13px;
  border: 1px solid #e5bd6f;
  border-radius: 7px;
  background: #fff8e8;
  color: #715b31;
  line-height: 1.55;
}
.round-change-legal-review > footer {
  padding: 0 18px 15px;
  color: #71817b;
  font-size: 10px;
  line-height: 1.5;
}
.change-decision-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.change-decision-option {
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafcfb;
  text-align: left;
}
.change-decision-option strong,
.change-decision-option small {
  display: block;
}
.change-decision-option small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}
.change-decision-option.selected {
  border: 2px solid var(--green2);
  padding: 13px;
  background: #e8f3ef;
}
.change-decision-option.reject.selected {
  border-color: #b45443;
  background: #fff1ee;
}
.change-decision-option.counter.selected {
  border-color: #376f91;
  background: #edf5fa;
}
.decision-outcome-preview {
  margin-top: 18px;
}
.decision-placeholder {
  color: var(--muted);
}
.clause-save-status {
  margin: 0 28px 12px;
  padding: 11px 14px;
  border: 1px solid #9bc8b7;
  border-radius: 8px;
  background: #edf7f2;
  color: #164e3b;
  font-weight: 700;
  line-height: 1.55;
}
.clause-save-status.error {
  border-color: #e5a095;
  background: #fff0ed;
  color: #8b2d20;
}
.editor-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  background: white;
}
.editor-footer button {
  font-size: 18px;
  padding: 12px 21px;
}
@media (max-width: 850px) {
  .clause-row {
    align-items: flex-start;
  }
  .clause-flags {
    max-width: 118px;
  }
  .editor-main {
    grid-template-columns: 1fr;
  }
  .original-pane {
    display: none;
  }
  .counterparty-change-editor .original-pane {
    display: block;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .counterparty-comparison {
    display: block;
    overflow: auto;
  }
  .counterparty-comparison .decision-pane {
    overflow: visible;
  }
  .change-decision-options {
    grid-template-columns: 1fr;
  }
  .round-change-analysis-status {
    grid-template-columns: 1fr;
  }
  .round-change-analysis-status small {
    max-width: none;
    text-align: left;
  }
  .round-change-legal-review > header,
  .counterproposal-heading {
    flex-direction: column;
  }
  .legal-review-badges {
    justify-content: flex-start;
  }
  .legal-review-grid,
  .counterproposal-option-grid {
    grid-template-columns: 1fr;
  }
  .legal-review-grid article.risk-reason {
    grid-column: auto;
  }
  .counterparty-change-row {
    align-items: flex-start;
  }
  .change-heading,
  .round-change-list-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .round-change-authorship {
    align-items: flex-start;
    flex-direction: column;
  }
  .round-change-authorship .our-handler {
    margin-left: 0;
  }
  .revision-operations-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .revision-operation {
    grid-template-columns: 1fr;
  }
  .revision-operation-text {
    border-top: 1px solid #e2ebe7;
    border-left: 0;
    border-bottom: 3px solid #3e9277;
  }
  .revision-operation.delete .revision-operation-text,
  .revision-operation.move_from .revision-operation-text {
    border-left: 0;
    border-bottom-color: #bd5544;
  }
  .word-positioned-clause,
  .positioned-diff-fallback {
    padding: 12px;
    font-size: 14px;
    line-height: 2.25;
  }
  .word-segment-label {
    white-space: normal;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
}
