/* Starkwood ONE — Processes CTS-style Legal Print Preview v2.1.133
   Visual and print-page geometry intentionally follows the existing native
   Contract to Sell legal document pattern: gray scroll well, discrete 8.5x13
   white pages, top Print / Save as PDF toolbar, and page numbering. */

.sw-process-cts-style-modal-v21133 {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999970 !important;
  isolation: isolate !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: rgba(11,23,57,.65) !important;
  padding: 32px 0 !important;
  box-sizing: border-box !important;
}

.sw-process-cts-toolbar-v21133 {
  width: min(864px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 0 16px;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.sw-process-cts-toolbar-title-v21133 {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.sw-process-cts-toolbar-title-v21133 > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sw-process-cts-toolbar-title-v21133 small {
  flex: 0 0 auto;
  color: rgba(255,255,255,.6);
  font-size: 10px;
  font-weight: 400;
}

.sw-process-cts-toolbar-actions-v21133 {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.sw-process-cts-toolbar-actions-v21133 button {
  border: 0;
  border-radius: 8px;
  min-height: 34px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.sw-process-cts-toolbar-actions-v21133 [data-print-now] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: #2F5BEA;
}

.sw-process-cts-toolbar-actions-v21133 [data-print-now]:disabled {
  opacity: .55;
  cursor: wait;
}

.sw-process-cts-toolbar-actions-v21133 [data-close-print] {
  color: #334155;
  background: #fff;
}

.sw-process-cts-doc-area-v21133 {
  width: min(864px, calc(100vw - 24px));
  max-height: calc(100vh - 96px);
  overflow: auto;
  padding: 24px 24px 0;
  background: #D7DCE6;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  scrollbar-gutter: stable;
}

.sw-process-legal-page-v21133,
.sw-process-cts-doc-area-v21133 .legal-page {
  width: 816px;
  height: 1248px;
  min-height: 1248px;
  max-height: 1248px;
  padding: 48px;
  margin: 0 0 28px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 6px 20px rgba(11,23,57,.18);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: #0B1739;
}

.sw-process-legal-page-content {
  min-width: 0;
  font-size: 12px;
  line-height: 1.55;
}

.sw-process-legal-header {
  margin-bottom: 16px;
}

.sw-process-legal-header h1 {
  margin: 0;
  color: #0B1739;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.sw-process-legal-subtitle {
  margin-top: 4px;
  color: #64748B;
  font-size: 12px;
  font-weight: 600;
}

.sw-process-legal-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #DBE4FF;
  border-radius: 8px;
  background: #F5F8FF;
  color: #34445E;
}

.sw-process-legal-section-title {
  margin: 15px 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #E2E8F0;
  color: #334155;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sw-process-legal-section-title.sw-purple { color: #6D45B8; }
.sw-process-legal-section-title.sw-blue { color: #2F5BEA; }
.sw-process-legal-section-title.sw-gold { color: #A87409; }
.sw-process-legal-section-title.sw-slate { color: #475569; }

.sw-process-legal-definition {
  margin: 0 0 7px;
  padding: 8px 10px;
  border: 1px solid #E2E8F0;
  border-radius: 7px;
  background: #FAFBFD;
}

.sw-process-legal-definition-term {
  margin-bottom: 2px;
  color: #0B1739;
  font-weight: 800;
}

.sw-process-legal-definition-text {
  color: #475569;
}

.sw-process-legal-flow-row,
.sw-process-legal-reminder,
.sw-process-legal-keep-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 6px;
  color: #334155;
}

.sw-process-legal-step-number {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #EEF3FF;
  color: #2F5BEA;
  font-size: 10px;
  font-weight: 800;
}

.sw-process-legal-flow-text {
  padding-top: 2px;
}

.sw-process-legal-reminder-icon,
.sw-process-legal-keep-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #B47A06;
}

.sw-process-legal-keep-icon.sw-green { color: #16865C; }

.sw-process-legal-channels {
  margin: 13px 0;
  padding: 10px 12px;
  border: 1px solid #D9E0EB;
  border-radius: 8px;
  background: #F8FAFC;
  color: #475569;
}

.sw-process-legal-channels-title {
  margin-bottom: 5px;
  color: #0B1739;
  font-weight: 800;
}

.sw-process-legal-page-number {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  color: #94A3B8;
  font-size: 9px;
}

.sw-process-legal-loading-v21133 {
  width: 816px;
  min-height: 240px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #64748B;
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(11,23,57,.18);
}

.sw-process-legal-probe-v21133 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

.sw-process-legal-probe-block {
  width: 720px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .sw-process-cts-style-modal-v21133 {
    align-items: stretch !important;
    padding: 18px 0 !important;
  }

  .sw-process-cts-toolbar-v21133,
  .sw-process-cts-doc-area-v21133 {
    width: calc(100vw - 16px);
    margin-left: 8px;
    margin-right: 8px;
  }

  .sw-process-cts-toolbar-v21133 {
    padding-left: 4px;
    padding-right: 4px;
  }

  .sw-process-cts-doc-area-v21133 {
    align-items: flex-start;
  }
}

@media print {
  .sw-process-cts-toolbar-v21133,
  .no-print {
    display: none !important;
  }
}
