/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

html {
  scroll-behavior: smooth;
}

*,
*:hover {
  scrollbar-color: auto;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

span.email b {
  display: none;
}

.prose :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
  color: #7e22ce;
  text-decoration: none;
}

.lexxy-content__underline {
  text-decoration-line: underline;
}

.lexxy-content__strikethrough {
  text-decoration-line: line-through;
}

.lexxy-content__strikethrough.lexxy-content__underline {
  text-decoration-line: line-through underline;
}

.proposal-section .lexxy-editor__toolbar-button[name="image"],
.proposal-section .lexxy-editor__toolbar-button[name="file"],
.proposal-section .lexxy-editor__toolbar-button[name="strikethrough"],
.proposal-section .lexxy-editor__toolbar-button[name="code"],
.proposal-section .lexxy-editor__toolbar-dropdown--link,
.proposal-section .lexxy-editor__toolbar-dropdown--highlight {
  display: none;
}

.proposal-section-editor .lexxy-floating-controls__group,
.proposal-section-editor .lexxy-table-control__more-menu-details,
.proposal-section-editor .lexxy-table-control__delete-table span,
.proposal-section-editor .lexxy-table-control input {
  background-color: var(--lexxy-toolbar-background);
}

.proposal-section-editor .lexxy-floating-controls,
.proposal-section-editor .lexxy-floating-controls button,
.proposal-section-editor .lexxy-floating-controls summary,
.proposal-section-editor .lexxy-table-control__delete-table span,
.proposal-section-editor .lexxy-table-control input {
  color: var(--lexxy-color-ink);
}

.proposal-section-editor .lexxy-table-control input {
  border-color: var(--lexxy-color-ink-lighter);
}

.lexxy-table-control__more-menu-trigger {
  aspect-ratio: auto;
  padding-inline: 0.75ch;
}

html[dir="rtl"]
  .proposal-section
  .lexxy-editor__toolbar-button[name="undo"]
  svg,
html[dir="rtl"]
  .proposal-section
  .lexxy-editor__toolbar-button[name="redo"]
  svg {
  transform: scaleX(-1);
}

table a:hover {
  text-decoration: underline #000;
}

.table tbody tr:not(:last-child) {
  border-bottom-color: #e2e8f0 !important;
}

@media (prefers-color-scheme: dark) {
  .table tbody tr:not(:last-child) {
    border-bottom-color: #334155 !important;
  }

  .prose :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
    color: #8e51ff;
  }

  table a:hover {
    text-decoration: underline #fff;
  }

  ::-webkit-scrollbar-thumb {
    background: #374151;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
  }
}

li .button_to {
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
}

tr[data-url] td:last-child {
  position: relative;
}

.dash-nav {
  position: relative;
}

tr[data-url] td:last-child::before,
.dash-nav::before {
  position: absolute;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='100%25' height='100%25' fill='none' stroke='rgb(100%2C116%2C139)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9 6l6 6l-6 6'/%3E%3C/svg%3E");
  display: block;
  width: 18px;
  height: 18px;
  top: 50%;
  margin-top: -9px;
  right: 8px;
}

.dash-nav::before {
  width: 24px;
  height: 24px;
  margin-top: -12px;
  right: 8px;
}

@media (max-width: 767px) {
  .dash-nav::before {
    width: 18px;
    height: 18px;
    margin-top: -9px;
    right: 8px;
  }
}
[dir="rtl"] tr[data-url] td:last-child::before,
[dir="rtl"] .dash-nav::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='100%25' height='100%25' fill='none' stroke='rgb(100%2C116%2C139)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M15 6l-6 6l6 6'/%3E%3C/svg%3E");
  left: 8px;
  right: auto;
}

.checkbox {
  border-radius: 50%;
}

select[multiple] option {
  padding: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}

.omr::before {
  content: "";
  display: inline-block;
  flex: 0 0 1.4em;
  width: 1.4em;
  height: 1.4em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20703%20344'%3E%3Cg transform='matrix(1,0,0,1,-13.37,-11.4407)'%3E%3Cg%3E%3Cpath d='M241.67,213.77C241.04,164.57 253.11,118.36 277.43,76.02C313.47,13.28 353.02,-6.48 421.55,28.87C432.22,34.37 475.15,64.3 479.36,73.41C484.39,84.28 451.88,177.28 450.25,195.71C415.56,158.2 350.88,97.05 295.4,126.09C250.35,149.67 283.38,188.63 306.86,213.77L716.22,213.77L689.81,261.41L357.31,261.41C357,263.21 358.18,264.71 359.84,266.01C372.28,275.73 440.81,305.55 454.59,305.55L665.3,305.55L638.41,354.49L13.37,354.49L40.28,305.55L293.66,305.55L256.55,261.42L64.75,261.42L91.16,213.78L241.67,213.78L241.67,213.77Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20703%20344'%3E%3Cg transform='matrix(1,0,0,1,-13.37,-11.4407)'%3E%3Cg%3E%3Cpath d='M241.67,213.77C241.04,164.57 253.11,118.36 277.43,76.02C313.47,13.28 353.02,-6.48 421.55,28.87C432.22,34.37 475.15,64.3 479.36,73.41C484.39,84.28 451.88,177.28 450.25,195.71C415.56,158.2 350.88,97.05 295.4,126.09C250.35,149.67 283.38,188.63 306.86,213.77L716.22,213.77L689.81,261.41L357.31,261.41C357,263.21 358.18,264.71 359.84,266.01C372.28,275.73 440.81,305.55 454.59,305.55L665.3,305.55L638.41,354.49L13.37,354.49L40.28,305.55L293.66,305.55L256.55,261.42L64.75,261.42L91.16,213.78L241.67,213.78L241.67,213.77Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    no-repeat center / contain;
}

.omr {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  direction: ltr;
  unicode-bidi: isolate;
}

.text-right.omr,
.text-right.sar {
  display: flex;
  justify-content: flex-end;
}

[dir="rtl"] :where(div, p, td, li, dd, dt, h1, h2, h3, h4, h5, h6).omr,
[dir="rtl"] :where(div, p, td, li, dd, dt, h1, h2, h3, h4, h5, h6).sar {
  display: flex;
  justify-content: flex-end;
}

.font-medium.omr::before,
.font-medium .omr::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20741.36%20415.06'%3E%3Cpath d='M259.9,219.89c-.63-49.2,11.44-95.41,35.76-137.75C331.7,19.4,371.24-.36,439.78,34.99c10.67,5.5,53.6,35.43,57.81,44.54,5.03,10.87-27.48,103.87-29.11,122.3-34.69-37.51-99.37-98.66-154.85-69.62-45.05,23.58-12.02,62.54,11.46,87.68h406.25l-39.14,70.23-289.2-2c-1.11,4.66.87,3.3,2.53,4.6,12.44,9.72,80.97,31.54,94.75,31.54l172.05,1.99-39.49,71.25H10.03l39.24-71.24h272.14l-37.11-36.13H69.33l39.23-70.23h151.33Z'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20741.36%20415.06'%3E%3Cpath d='M259.9,219.89c-.63-49.2,11.44-95.41,35.76-137.75C331.7,19.4,371.24-.36,439.78,34.99c10.67,5.5,53.6,35.43,57.81,44.54,5.03,10.87-27.48,103.87-29.11,122.3-34.69-37.51-99.37-98.66-154.85-69.62-45.05,23.58-12.02,62.54,11.46,87.68h406.25l-39.14,70.23-289.2-2c-1.11,4.66.87,3.3,2.53,4.6,12.44,9.72,80.97,31.54,94.75,31.54l172.05,1.99-39.49,71.25H10.03l39.24-71.24h272.14l-37.11-36.13H69.33l39.23-70.23h151.33Z'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

.font-bold.omr::before,
.font-bold .omr::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20798.31%20440.47'%3E%3Cpath d='M81.06,299.73l45.71-82.79,156.27-.37c-1.56-58.06,20.14-128.93,58.17-173.5,46.34-54.3,115.4-27.63,161.54,11.98,5.82,4.99,22.82,20.21,22.58,26.93l-30.86,117.94c-36.47-40.56-83.3-85.47-143.16-75.47-11.27,1.88-26.48,12.6-32.28,22.36-14.43,24.25,15.49,53.68,31.72,69.75h437.78l-46.1,83.16h-309.95c13.29,11.36,32.13,21.87,48.28,28.94,8.46,3.7,40.8,16.2,47.95,16.2h188.69l-46.1,83.16H9.77l46.33-83.16h291.08l-33.27-45.15H81.06Z'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20798.31%20440.47'%3E%3Cpath d='M81.06,299.73l45.71-82.79,156.27-.37c-1.56-58.06,20.14-128.93,58.17-173.5,46.34-54.3,115.4-27.63,161.54,11.98,5.82,4.99,22.82,20.21,22.58,26.93l-30.86,117.94c-36.47-40.56-83.3-85.47-143.16-75.47-11.27,1.88-26.48,12.6-32.28,22.36-14.43,24.25,15.49,53.68,31.72,69.75h437.78l-46.1,83.16h-309.95c13.29,11.36,32.13,21.87,48.28,28.94,8.46,3.7,40.8,16.2,47.95,16.2h188.69l-46.1,83.16H9.77l46.33-83.16h291.08l-33.27-45.15H81.06Z'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

input.omr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20703%20344'%3E%3Cg transform='matrix(1,0,0,1,-13.37,-11.4407)'%3E%3Cg%3E%3Cpath d='M241.67,213.77C241.04,164.57 253.11,118.36 277.43,76.02C313.47,13.28 353.02,-6.48 421.55,28.87C432.22,34.37 475.15,64.3 479.36,73.41C484.39,84.28 451.88,177.28 450.25,195.71C415.56,158.2 350.88,97.05 295.4,126.09C250.35,149.67 283.38,188.63 306.86,213.77L716.22,213.77L689.81,261.41L357.31,261.41C357,263.21 358.18,264.71 359.84,266.01C372.28,275.73 440.81,305.55 454.59,305.55L665.3,305.55L638.41,354.49L13.37,354.49L40.28,305.55L293.66,305.55L256.55,261.42L64.75,261.42L91.16,213.78L241.67,213.78L241.67,213.77Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.2rem 1.2rem;
  background-position: left 0.5rem center;
  padding-left: 2rem;
}

@media (prefers-color-scheme: dark) {
  input.omr {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%20703%20344'%3E%3Cg transform='matrix(1,0,0,1,-13.37,-11.4407)'%3E%3Cg%3E%3Cpath fill='white' d='M241.67,213.77C241.04,164.57 253.11,118.36 277.43,76.02C313.47,13.28 353.02,-6.48 421.55,28.87C432.22,34.37 475.15,64.3 479.36,73.41C484.39,84.28 451.88,177.28 450.25,195.71C415.56,158.2 350.88,97.05 295.4,126.09C250.35,149.67 283.38,188.63 306.86,213.77L716.22,213.77L689.81,261.41L357.31,261.41C357,263.21 358.18,264.71 359.84,266.01C372.28,275.73 440.81,305.55 454.59,305.55L665.3,305.55L638.41,354.49L13.37,354.49L40.28,305.55L293.66,305.55L256.55,261.42L64.75,261.42L91.16,213.78L241.67,213.78L241.67,213.77Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  :root {
    --drop-shadow-sm: 0 1px 2px #020618;
    --drop-shadow-md: 0 3px 3px #020618;
    --drop-shadow-lg: 0 4px 4px #020618;
    --drop-shadow-xl: 0 9px 7px #020618;
  }
}

.sar::before {
  content: "";
  display: inline-block;
  flex: 0 0 0.8em;
  width: 0.8em;
  height: 0.8em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201124.14%201256.39'%3E%3Cpath%20d='M699.62,1113.02h0c-20.06,44.48-33.32,92.75-38.4,143.37l424.51-90.24c20.06-44.47,33.31-92.75,38.4-143.37l-424.51,90.24Z'/%3E%3Cpath%20d='M1085.73,895.8c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.33v-135.2l292.27-62.11c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.27V66.13c-50.67,28.45-95.67,66.32-132.25,110.99v403.35l-132.25,28.11V0c-50.67,28.44-95.67,66.32-132.25,110.99v525.69l-295.91,62.88c-20.06,44.47-33.33,92.75-38.42,143.37l334.33-71.05v170.26l-358.3,76.14c-20.06,44.47-33.32,92.75-38.4,143.37l375.04-79.7c30.53-6.35,56.77-24.4,73.83-49.24l68.78-101.97v-.02c7.14-10.55,11.3-23.27,11.3-36.97v-149.98l132.25-28.11v270.4l424.53-90.28Z'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201124.14%201256.39'%3E%3Cpath%20d='M699.62,1113.02h0c-20.06,44.48-33.32,92.75-38.4,143.37l424.51-90.24c20.06-44.47,33.31-92.75,38.4-143.37l-424.51,90.24Z'/%3E%3Cpath%20d='M1085.73,895.8c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.33v-135.2l292.27-62.11c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.27V66.13c-50.67,28.45-95.67,66.32-132.25,110.99v403.35l-132.25,28.11V0c-50.67,28.44-95.67,66.32-132.25,110.99v525.69l-295.91,62.88c-20.06,44.47-33.33,92.75-38.42,143.37l334.33-71.05v170.26l-358.3,76.14c-20.06,44.47-33.32,92.75-38.4,143.37l375.04-79.7c30.53-6.35,56.77-24.4,73.83-49.24l68.78-101.97v-.02c7.14-10.55,11.3-23.27,11.3-36.97v-149.98l132.25-28.11v270.4l424.53-90.28Z'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

.sar {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  direction: ltr;
  unicode-bidi: isolate;
}

span.email b {
  display: none;
}

/* Lexical Editor */
[data-lexical-editor] {
  outline: none;
}
[data-lexical-editor] p {
  margin: 0 0 0.5rem;
}
[data-lexical-editor] h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}
[data-lexical-editor] h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.75rem 0 0.375rem;
}
[data-lexical-editor] ul {
  list-style: disc;
  padding-inline-start: 1.5rem;
  margin: 0 0 0.5rem;
}
[data-lexical-editor] ol {
  list-style: decimal;
  padding-inline-start: 1.5rem;
  margin: 0 0 0.5rem;
}
[data-lexical-editor] li {
  margin: 0 0 0.25rem;
}
[data-lexical-editor] blockquote {
  border-inline-start: 3px solid #9333ea;
  padding-inline-start: 0.75rem;
  margin: 0.75rem 0;
  color: #64748b;
}
[data-lexical-editor] a {
  color: #7e22ce;
  text-decoration: underline;
}
[data-lexical-editor] strong {
  font-weight: 700;
}
[data-lexical-editor] em {
  font-style: italic;
}
[data-lexical-editor] img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 0.5rem 0;
}

.proposal-workspace {
  --proposal-zoom: 1;
  --proposal-page-width: 794px;
  --proposal-page-height: 1123px;
  --proposal-page-margin: 96px;
  --proposal-page-pitch: 1147px;
  --proposal-line-height: 1.4;
}

.proposal-workspace:has(.proposal-flow[lang="ar"]) {
  --proposal-line-height: 1.32;
}

.proposal-section {
  display: contents;
}

.proposal-chrome {
  display: none;
}

.proposal-section--current > .proposal-chrome {
  display: flex;
  position: sticky;
  z-index: 20;
}

.proposal-chrome--header {
  top: 0;
  order: -1;
  flex-direction: column;
}

.proposal-chrome--assistant {
  bottom: 1rem;
  order: 1;
  margin-block-start: auto;
  padding-block-start: 1rem;
  pointer-events: none;
}

.proposal-chrome--assistant > * {
  pointer-events: auto;
}

.proposal-section:has(.proposal-desk--reviewing) lexxy-toolbar {
  display: none;
}

.proposal-section > form {
  margin-block-end: -8pt;
}

.proposal-section-editor {
  display: block;
  container-type: normal;
  background-color: transparent;
}

.proposal-section lexxy-toolbar {
  --lexxy-toolbar-gap: 2px;
  --lexxy-toolbar-spacing: 0.5ch;
  --lexxy-toolbar-padding: 2px;
  --lexxy-toolbar-border-size: 0;
  --lexxy-toolbar-button-size: 36px;

  align-items: center;
  height: 3rem;
  border-block-start: 1px solid #cbd5e1;
  color: var(--lexxy-color-ink);
  border-end-start-radius: calc(0.5rem - 1px);
  border-end-end-radius: calc(0.5rem - 1px);
  font-size: 1rem;
  line-height: 1.75;
}

:where(.proposal-section lexxy-toolbar) :where(button, summary) {
  appearance: none;
  padding: 0;
  border: none;
  border-radius: var(--lexxy-radius);
  background: var(--lexxy-color-canvas);
  cursor: pointer;
  font-size: inherit;
  line-height: normal;
  list-style: none;
}

.proposal-section lexxy-toolbar summary::-webkit-details-marker {
  display: none;
}

.proposal-section lexxy-toolbar .lexxy-editor__toolbar-button {
  border-radius: 9999px;
}

.proposal-section lexxy-toolbar .lexxy-editor__toolbar-button:hover:not([aria-disabled="true"]) {
  background-color: var(--lexxy-color-ink-lightest);
}

.proposal-section lexxy-toolbar .lexxy-editor__toolbar-button[aria-pressed="true"] {
  background-color: #7e22ce;
  color: #fff;
}

.proposal-section lexxy-toolbar .lexxy-editor__toolbar-button[aria-pressed="true"]:hover {
  background-color: #6b21a8;
}

@media (min-width: 640px) {
  .proposal-section lexxy-toolbar {
    border-end-start-radius: calc(1rem - 1px);
    border-end-end-radius: calc(1rem - 1px);
  }
}

@media (prefers-color-scheme: dark) {
  .proposal-section lexxy-toolbar {
    border-block-start-color: #334155;
  }

  .proposal-section lexxy-toolbar .lexxy-editor__toolbar-button[aria-pressed="true"] {
    background-color: #9333ea;
  }

  .proposal-section lexxy-toolbar .lexxy-editor__toolbar-button[aria-pressed="true"]:hover {
    background-color: #7e22ce;
  }
}

.proposal-flow {
  display: flex;
  flex-direction: column;
  padding-block-end: 24px;
  counter-reset: proposal-h1 proposal-h2 proposal-h3 proposal-h4;
}

.proposal-flow[lang="ar"] :is(.proposal-paper, .lexxy-editor__content) {
  direction: rtl;
}

.proposal-flow[lang="en"] :is(.proposal-paper, .lexxy-editor__content) {
  direction: ltr;
}

@font-face {
  font-family: "Proposal Arabic";
  src: local("Arial");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

.proposal-paper,
:where(.proposal-section-editor) .lexxy-editor__content {
  box-sizing: border-box;
  position: relative;
  min-block-size: 0;
  padding: 0 12px;
  contain: layout;
  font-family: "Proposal Arabic", Calibri, Carlito, Arial, sans-serif;
  font-size: 11pt;
  line-height: var(--proposal-line-height);
}

:is(.proposal-paper, .proposal-section-editor .lexxy-editor__content) {
  p {
    margin: 0 0 8pt;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 700;
  }

  h1,
  h2 {
    margin: 12pt 0 4pt;
    font-size: 14pt;
  }

  h3 {
    margin: 10pt 0 4pt;
    font-size: 12pt;
  }

  h4,
  h5,
  h6 {
    margin: 8pt 0 4pt;
    font-size: 11pt;
  }

  ul,
  ol {
    margin: 0;
    padding-inline-start: 0.3in;
  }

  ul {
    list-style-type: disc;
  }

  ol {
    list-style-type: decimal;
  }

  li {
    margin: 0 0 8pt;
  }

  li > :is(ul, ol) {
    margin-block-start: 8pt;
  }

  table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: inherit;
    line-height: inherit;
  }

  th,
  td {
    padding: 0 5.4pt 8pt;
    border: 1px solid currentColor;
    font-weight: 400;
    text-align: start;
    vertical-align: top;
  }

  th {
    font-weight: 700;
  }

  :is(th, td) p:last-child {
    margin-block-end: 0;
  }

  blockquote {
    margin: 0;
    padding-inline-start: 0.4in;
    border: 0;
    font-style: italic;
  }

  code {
    font-family: Consolas, monospace;
    font-size: 10pt;
  }

  strong {
    font-weight: 700;
  }

  a {
    color: #0563c1;
    text-decoration: underline;
  }
}

.proposal-comparison {
  --proposal-page-width: auto;
  --proposal-page-margin: 0px;
  --proposal-zoom: 1;
  --proposal-line-height: 1.35;

  padding: 0;
  color: inherit;
}

.proposal-cover-header {
  margin: 96pt 0;
  font-size: 14pt;
  font-weight: 700;
  text-align: center;
}

.proposal-cover {
  margin: 0 0 24pt;
  font-size: 22pt;
  font-weight: 700;
  text-align: center;
}

.proposal-cover-detail {
  margin: 0 0 6pt;
  font-size: 12pt;
  text-align: center;
}

.proposal-subtitle {
  margin: 12pt 0 8pt;
  font-size: 16pt;
  font-weight: 700;
}

.proposal-contents-entry {
  display: flex;
  margin: 0 0 8pt;
}

:is(.proposal-paper, .proposal-section-editor .lexxy-editor__content) .proposal-contents-entry__title {
  flex: 1;
  padding-inline: 5.4pt;
  color: inherit;
  text-decoration: none;
}

.proposal-contents-entry__title--2 {
  margin-inline-start: 0.25in;
}

.proposal-contents-entry__title--3 {
  margin-inline-start: 0.5in;
}

.proposal-contents-entry__page {
  flex: 0 0 10%;
  padding-inline: 5.4pt;
  text-align: end;
}

.proposal-heading {
  display: flex;
  align-items: baseline;
  font-weight: 700;
}

.proposal-heading::before {
  white-space: pre;
}

.proposal-heading input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
}

.proposal-heading input:focus {
  outline: 0;
  box-shadow: none;
}

.proposal-heading--1 {
  margin: 16pt 0 6pt;
  font-size: 18pt;
  counter-increment: proposal-h1;
  counter-set: proposal-h2 0 proposal-h3 0 proposal-h4 0;
}

.proposal-heading--1::before {
  content: counter(proposal-h1) ".\a0\a0";
}

.proposal-heading--2 {
  margin: 12pt 0 4pt;
  font-size: 14pt;
  counter-increment: proposal-h2;
  counter-set: proposal-h3 0 proposal-h4 0;
}

.proposal-heading--2::before {
  content: counter(proposal-h1) "." counter(proposal-h2) "\a0\a0";
}

.proposal-heading--3 {
  margin: 10pt 0 4pt;
  font-size: 12pt;
  counter-increment: proposal-h3;
  counter-set: proposal-h4 0;
}

.proposal-heading--3::before {
  content: counter(proposal-h1) "." counter(proposal-h2) "." counter(proposal-h3) "\a0\a0";
}

.proposal-heading--4 {
  margin: 8pt 0 4pt;
  font-size: 11pt;
  counter-increment: proposal-h4;
}

.proposal-heading--4::before {
  content: counter(proposal-h1) "." counter(proposal-h2) "." counter(proposal-h3) "." counter(proposal-h4) "\a0\a0";
}

.proposal-heading {
  scroll-margin-top: 140px;
}

.proposal-review {
  display: none;
}

.proposal-desk--reviewing .proposal-section-editor {
  display: none;
}

.proposal-desk--reviewing .proposal-review {
  display: block;
}

.proposal-review .proposal-change {
  cursor: pointer;
}

.proposal-change__removed {
  color: #94a3b8;
  text-decoration-line: line-through;
}

.proposal-change__removed * {
  color: inherit;
}

.proposal-change__added {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #166534;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.proposal-change__added * {
  color: inherit;
}

.proposal-change--selected .proposal-change__removed {
  background-color: #f1f5f9;
}

.proposal-change--selected .proposal-change__added {
  background-color: #bbf7d0;
}

::highlight(proposal-selection) {
  background-color: #e9d5ff;
}

::highlight(proposal-comment) {
  background-color: #fde68a;
}

::highlight(proposal-comment-active) {
  background-color: #fbbf24;
}

.proposal-pages {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .proposal-change__removed {
    color: #64748b;
  }

  .proposal-change__added {
    background-color: rgb(22 101 52 / 0.4);
    color: #bbf7d0;
    border-color: #15803d;
  }

  .proposal-change--selected .proposal-change__removed {
    background-color: #334155;
  }

  .proposal-change--selected .proposal-change__added {
    background-color: rgb(22 101 52 / 0.7);
  }

  ::highlight(proposal-selection) {
    background-color: #6b21a8;
  }

  ::highlight(proposal-comment) {
    background-color: #92400e;
  }

  ::highlight(proposal-comment-active) {
    background-color: #b45309;
  }
}

@media (min-width: 1024px) {
  .proposal-paper,
  :where(.proposal-section-editor) .lexxy-editor__content {
    width: var(--proposal-page-width);
    margin-inline: auto;
    padding: 0 var(--proposal-page-margin);
    color: #000;
    zoom: var(--proposal-zoom);
  }

  .proposal-heading--2 {
    padding-inline-start: calc(var(--proposal-page-margin) + 0.25in);
  }

  .proposal-heading--3 {
    padding-inline-start: calc(var(--proposal-page-margin) + 0.5in);
  }

  .proposal-heading--4 {
    padding-inline-start: calc(var(--proposal-page-margin) + 0.75in);
  }

  .proposal-pages {
    display: block;
    position: relative;
    flex: none;
    align-self: center;
    width: calc(var(--proposal-page-width) * var(--proposal-zoom));
    height: 0;
    margin-block-start: 24px;
    pointer-events: none;
  }

  .proposal-page {
    position: absolute;
    inset-inline: 0;
    top: calc(var(--proposal-page) * var(--proposal-page-pitch) * var(--proposal-zoom));
    height: calc(var(--proposal-page-height) * var(--proposal-zoom));
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background-color: #fff;
    color: #000;
    font-family: "Proposal Arabic", Calibri, Carlito, Arial, sans-serif;
  }

  .proposal-chrome--assistant {
    margin-block-end: calc(var(--proposal-page-margin) * var(--proposal-zoom));
  }

  .proposal-page__footer {
    display: flex;
    position: absolute;
    inset-block-end: calc(48px * var(--proposal-zoom));
    inset-inline: calc(var(--proposal-page-margin) * var(--proposal-zoom));
    justify-content: space-between;
    gap: 1em;
    font-size: calc(9pt * var(--proposal-zoom));
  }
}

@media (min-width: 1024px) and (prefers-color-scheme: dark) {
  .proposal-paper,
  :where(.proposal-section-editor) .lexxy-editor__content {
    color: #fff;
  }

  :is(.proposal-paper, .proposal-section-editor .lexxy-editor__content) a {
    color: #c084fc;
  }

  .proposal-page {
    border-color: #334155;
    background-color: #1e293b;
    color: #fff;
  }
}

@media print {
  .proposal-pages {
    display: none;
  }
}
