:root {
  --ink: #24282c;
  --muted: #697078;
  --paper: #f6f7f2;
  --panel: #ffffff;
  --line: #d8ded8;
  --line-strong: #bcc7c1;
  --green: #365f4f;
  --green-soft: #e3f1eb;
  --blue: #385f82;
  --blue-soft: #e7eef5;
  --coral: #b76050;
  --coral-soft: #fae8e3;
  --gold: #ba8d35;
  --shadow: 0 20px 48px rgba(36, 40, 44, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(54, 95, 79, 0.1), transparent 32%),
    linear-gradient(42deg, rgba(183, 96, 80, 0.12), transparent 35%),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.app-shell {
  width: min(1420px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.brand-lockup,
.job-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 8px;
  font-size: 1.45rem;
  font-weight: 760;
  letter-spacing: 0;
}

.powered-by {
  align-self: center;
  max-width: 150px;
  padding: 6px 8px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(56, 95, 130, 0.24);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 3px;
  color: var(--coral);
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  line-height: 1.05;
}

.job-status {
  min-width: 236px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(36, 40, 44, 0.08);
}

.status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(186, 141, 53, 0.16);
}

.status-dot.signed {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(54, 95, 79, 0.16);
}

.status-dot.verifying {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(56, 95, 130, 0.16);
}

.status-label,
.status-sub {
  display: block;
}

.status-label {
  color: var(--ink);
  font-weight: 760;
}

.status-sub {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.85rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.secondary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-weight: 780;
  text-decoration: none;
}

.layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(520px, 1.45fr);
  gap: 18px;
  align-items: start;
}

.job-panel,
.workflow-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.job-panel {
  overflow: hidden;
}

.image-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 210px;
  background: #dde5df;
  overflow: hidden;
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-summary {
  padding: 22px 22px 18px;
}

.job-summary h2,
.screen-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.summary-copy {
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.55;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.facts-grid div,
.release-grid div,
.email-scope div {
  min-height: 78px;
  padding: 12px;
  background: #fafbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

dt,
.release-grid span,
.email-scope span,
.signing-toolbar span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 730;
  line-height: 1.25;
}

.timeline {
  display: grid;
  gap: 0;
  padding: 0 22px 22px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  min-height: 40px;
  color: var(--muted);
}

.timeline-row span {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
}

.timeline-row span::after {
  position: absolute;
  top: 12px;
  left: 4px;
  width: 2px;
  height: 36px;
  background: var(--line);
  content: "";
}

.timeline-row:last-child span::after {
  display: none;
}

.timeline-row p {
  margin: 0;
  font-weight: 690;
}

.timeline-row.is-current {
  color: var(--blue);
}

.timeline-row.is-done {
  color: var(--green);
}

.timeline-row.is-current span {
  border-color: var(--blue);
  box-shadow: 0 0 0 5px var(--blue-soft);
}

.timeline-row.is-done span {
  background: var(--green);
  border-color: var(--green);
}

.workflow-panel {
  min-height: 720px;
  padding: 18px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(116px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.stepper button {
  min-height: 58px;
  padding: 10px 12px;
  color: var(--muted);
  background: #f9faf6;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 760;
  text-align: left;
}

.stepper button span {
  display: block;
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 820;
}

.stepper button.active {
  color: var(--ink);
  background: var(--blue-soft);
  border-color: rgba(56, 95, 130, 0.45);
}

.stepper button.done {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(54, 95, 79, 0.35);
}

.stepper button:disabled {
  opacity: 0.54;
}

.notice {
  margin-bottom: 12px;
  padding: 11px 12px;
  color: #6e332b;
  background: var(--coral-soft);
  border: 1px solid rgba(183, 96, 80, 0.32);
  border-radius: 8px;
  font-weight: 680;
}

.hidden {
  display: none !important;
}

.screen {
  display: none;
  min-height: 610px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.screen.active {
  display: block;
}

.screen-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.email-preview,
.terms-document,
.signing-shell,
.verification-panel,
.release-package,
.audit-log {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.email-preview {
  padding: 20px;
  background: linear-gradient(180deg, #fff, #fafbf8);
}

.email-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.email-preview h3,
.term-block h3,
.verification-panel h3,
.audit-log h3,
.address-release h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.email-preview p,
.term-block p,
.signature-box p,
.verification-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.email-scope,
.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.system-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.system-strip span {
  padding: 8px 10px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(56, 95, 130, 0.22);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 710;
}

.primary-action,
.secondary-action {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 780;
}

.primary-action {
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
}

.primary-action:hover:not(:disabled) {
  background: #294d40;
}

.primary-action:disabled {
  background: #95aaa0;
  border-color: #95aaa0;
}

.secondary-action {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
}

.danger-action {
  color: #85372d;
  border-color: rgba(183, 96, 80, 0.45);
}

.terms-document {
  background: #fff;
  overflow: hidden;
}

.document-header {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.document-header > div {
  padding: 14px;
  background: #f9faf6;
}

.document-header p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.term-block {
  padding: 18px;
}

.term-block + .term-block {
  border-top: 1px solid var(--line);
}

.term-block.emphasis {
  background: linear-gradient(90deg, var(--coral-soft), #fff 72%);
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-row + .check-row {
  margin-top: 8px;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.check-row.compact {
  margin-top: 14px;
  border-color: transparent;
  background: var(--green-soft);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.signing-shell {
  overflow: hidden;
}

.signing-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.signing-toolbar > div {
  padding: 14px;
  background: #f9faf6;
}

.signature-box {
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(56, 95, 130, 0.08), transparent),
    #fff;
}

.signature-box label:not(.check-row) {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
  font-weight: 750;
}

.signature-box input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.verification-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--blue-soft);
  border-color: rgba(56, 95, 130, 0.28);
}

.loader {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 4px solid rgba(56, 95, 130, 0.18);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.release-package {
  padding: 18px;
}

.address-release {
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 8px;
}

.address-release p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.address-release h3 {
  margin-bottom: 4px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.address-release span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 710;
}

.release-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-strip {
  position: relative;
  height: 132px;
  margin-top: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49%, rgba(56, 95, 130, 0.16) 49% 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(54, 95, 79, 0.16) 49% 51%, transparent 51%),
    #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route-line {
  position: absolute;
  inset: 34px 58px 42px 58px;
  border-right: 4px solid var(--coral);
  border-bottom: 4px solid var(--coral);
  border-radius: 0 0 24px 0;
}

.pin {
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--coral);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(36, 40, 44, 0.24);
}

.pin.one {
  top: 27px;
  left: 54px;
  background: var(--blue);
}

.pin.two {
  right: 50px;
  bottom: 34px;
}

.pin.three {
  top: 64px;
  left: 50%;
  background: var(--green);
}

.audit-log {
  margin-top: 16px;
  padding: 16px;
  background: #fbfcf8;
}

.audit-log ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.audit-log li::marker {
  color: var(--green);
}

.admin-shell {
  width: min(1540px, calc(100% - 40px));
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(560px, 1.2fr) minmax(360px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.admin-editor,
.admin-preview {
  min-width: 0;
}

.admin-section {
  margin-bottom: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(36, 40, 44, 0.08);
}

.admin-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-section-heading h2 {
  margin-bottom: 0;
  font-size: 1.24rem;
  line-height: 1.2;
}

.instance-manager {
  border-color: rgba(56, 95, 130, 0.28);
}

.instance-count {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(56, 95, 130, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 760;
}

.instance-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto auto;
  gap: 10px;
  align-items: end;
}

.instance-select {
  min-width: 0;
}

.work-order-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.work-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
}

.work-order-row:hover,
.work-order-row:focus-visible {
  border-color: rgba(56, 95, 130, 0.44);
  box-shadow: 0 0 0 4px rgba(56, 95, 130, 0.1);
}

.work-order-row.is-active {
  background: var(--blue-soft);
  border-color: rgba(56, 95, 130, 0.44);
}

.work-order-row-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.work-order-row-copy strong,
.work-order-row-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-order-row-copy strong {
  font-size: 0.94rem;
}

.work-order-row-copy span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 640;
}

.work-order-edit-label {
  padding: 7px 10px;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(56, 95, 130, 0.24);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.work-order-row.is-active .work-order-edit-label {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.editor-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field.wide {
  grid-column: 1 / -1;
}

.field span,
.link-box label,
.preview-label {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea,
.link-box input {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
}

.field textarea {
  min-height: 96px;
  line-height: 1.45;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.link-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(56, 95, 130, 0.12);
}

.admin-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(246, 247, 242, 0), var(--paper) 28%);
}

.sticky-preview {
  position: sticky;
  top: 16px;
}

.preview-alert {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 12px;
  color: #244536;
  background: var(--green-soft);
  border: 1px solid rgba(54, 95, 79, 0.22);
  border-radius: 8px;
}

.preview-alert span {
  color: var(--muted);
  line-height: 1.45;
}

.preview-card {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 14px;
  background: #fafbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preview-card h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.preview-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.address-locked-card {
  background: linear-gradient(135deg, var(--coral-soft), #fff);
  border-color: rgba(183, 96, 80, 0.3);
}

.preview-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.preview-facts div {
  min-height: 74px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preview-facts dd {
  overflow-wrap: anywhere;
}

.link-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 4px;
}

.link-box label {
  grid-column: 1 / -1;
}

.admin-strip {
  margin-top: 12px;
}

.agreement-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.7fr) minmax(560px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.agreement-list {
  display: grid;
  gap: 8px;
}

.agreement-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
}

.agreement-row:hover,
.agreement-row:focus-visible {
  border-color: rgba(54, 95, 79, 0.42);
  box-shadow: 0 0 0 4px rgba(54, 95, 79, 0.1);
}

.agreement-row.is-active {
  background: var(--green-soft);
  border-color: rgba(54, 95, 79, 0.42);
}

.agreement-row-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.agreement-row-copy strong,
.agreement-row-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agreement-row-copy span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 660;
}

.agreement-row-status,
.agreement-badge {
  padding: 7px 10px;
  color: #244536;
  background: var(--green-soft);
  border: 1px solid rgba(54, 95, 79, 0.24);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.agreement-row.is-active .agreement-row-status {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.agreement-title {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.08;
}

.agreement-summary {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.5;
}

.agreement-actions {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 16px;
}

.agreement-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.agreement-facts div {
  min-height: 78px;
  padding: 12px;
  background: #fafbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.agreement-facts dd {
  overflow-wrap: anywhere;
}

.agreement-audit {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agreement-audit li {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.agreement-audit strong {
  color: var(--green);
}

.agreement-audit span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.empty-state {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  background: #fafbf8;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .workflow-panel {
    min-height: auto;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .agreement-layout {
    grid-template-columns: 1fr;
  }

  .sticky-preview {
    position: static;
  }

  .instance-controls {
    grid-template-columns: minmax(260px, 1fr) repeat(3, auto);
  }
}

@media (max-width: 680px) {
  .app-shell {
    width: min(100% - 24px, 1420px);
    padding-top: 14px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-lockup {
    flex-wrap: wrap;
  }

  .topbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .job-status {
    width: 100%;
  }

  .facts-grid,
  .document-header,
  .signing-toolbar,
  .email-scope,
  .release-grid,
  .editor-grid.two,
  .preview-facts,
  .agreement-facts,
  .link-box,
  .instance-controls {
    grid-template-columns: 1fr;
  }

  .agreement-row,
  .agreement-audit li {
    grid-template-columns: 1fr;
  }

  .agreement-actions {
    justify-content: stretch;
  }

  .admin-section-heading {
    display: block;
  }

  .instance-count {
    display: inline-flex;
    margin-top: 8px;
  }

  .screen {
    padding: 16px;
  }

  .screen-heading {
    display: block;
  }

  .action-row {
    justify-content: stretch;
  }

  .primary-action,
  .secondary-action,
  .secondary-link {
    width: 100%;
    justify-content: center;
  }
}
