:root {
  --navy: #0d1b2a;
  --blue: #1565c0;
  --sky: #e8f0fe;
  --accent: #f4a020;
  --paper: #f7f8fc;
  --white: #ffffff;
  --border: #dde3f0;
  --text: #1a1f36;
  --muted: #6b7399;
  --green: #1e8e4f;
  --red: #c62828;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", sans-serif;
  background: var(--sky);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* HEADER */
header {
  background: var(--navy);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--accent);
}

header h1 {
  font-family: "Lora", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sky);
}

.logo-mark {
  width: clamp(96px, 10vw, 150px);
  height: auto;
  flex: 0 0 auto;
}

.header-tag {
  font-size: 0.72rem;
  color: #8899bb;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* LAYOUT */
.wrap {
  max-width: none;
  min-height: calc(100vh - 64px);
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.page-intro {
  grid-column: 2;
  margin: 2rem 1.5rem 0.5rem;
}

.page-intro p {
  padding-left: 5px;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.form-banner {
  grid-column: 2;
  margin: 0.75rem 1.5rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid #f2b8b5;
  border-left: 4px solid var(--red);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff8f8 0%, #fff4f4 100%);
  color: #8b1e1e;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.06);
}

.form-banner[hidden] {
  display: none;
}

/* STEP RAIL */
.rail {
  grid-column: 1;
  grid-row: 1 / span 9;
  position: sticky;
  top: 64px;
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem;
  padding-bottom: 0;
  margin-bottom: 0;
  background: white;
  border: none;
  border-right: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.35rem 0.9rem;
  color: #0b3c5d;
}

.rail-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #1f6fb2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 8px 18px rgba(31, 111, 178, 0.18);
}

.rail-brand strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.1;
  color: #07395a;
}

.rail-brand span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: #35739e;
}

.rail-progress {
  padding: 0.85rem;
  margin-bottom: 0.55rem;
  border: 1px solid #bed8ed;
  border-radius: 8px;
  background: #d9ecfb;
}

.rail-progress-label,
.rail-section-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #7fa2bd;
}

.rail-progress-track {
  height: 4px;
  margin: 0.45rem 0 0.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: #bcd6ec;
}

.rail-progress-track span {
  display: block;
  width: 12.5%;
  height: 100%;
  border-radius: inherit;
  background: #1f6fb2;
  transition: width 0.2s ease;
}

.rail-progress.complete {
  border-color: #a9d7bd;
  background: #dcf3e6;
}

.rail-progress.complete .rail-progress-label,
.rail-progress.complete .rail-progress-count {
  color: var(--green);
}

.rail-progress.complete .rail-progress-track {
  background: #bde6ce;
}

.rail-progress.complete .rail-progress-track span {
  background: var(--green);
}

.rail-progress-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: #174c70;
}

.rail-section-label {
  padding: 0.25rem 0.35rem 0.35rem;
}

.rail-step {
  width: 100%;
  min-height: 48px;
  padding: 0 0.75rem !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #174c70;
  cursor: pointer;
  border: none;
  border-radius: 7px;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.rail-step:last-child {
  border-bottom: none;
}

.rail-step .rn {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  background: #d8e9f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6c91ad;
}

.rail-step .rl {
  line-height: 1.25;
}

.rail-step.active {
  background: #216fb4;
  color: #fff;
  box-shadow: 0 8px 18px rgba(33, 111, 180, 0.22);
}

.rail-step.active .rn {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.rail-step.done {
  background: transparent;
  color: #174c70;
}

.rail-step.done .rn {
  background: #d7e7f4;
  color: #174c70;
}

/* CARD */
.card {
  grid-column: 2;
  margin: 1.5rem 1.5rem 1.5rem;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: none;
  animation: up 0.3s ease;
}

.flex {
  display: flex;
  flex-direction: row;
  gap: 5px;
  flex-wrap: wrap;
}

.card.active {
  display: block;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-head {
  margin-bottom: 1.6rem;
}

.card-head h2 {
  font-family: "Lora", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-head h2::before {
  content: "";
  width: 4px;
  height: 1.1rem;
  background: var(--accent);
  border-radius: 3px;
  display: inline-block;
}

.card-head p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-weight: 300;
}

/* FORM GRID */
.g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.g3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
}

.full {
  grid-column: 1/-1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text);
}

label .req {
  color: var(--red);
}

input,
textarea,
select {
  font-family: "Sora", sans-serif;
  font-size: 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 0.6rem 0.85rem;
  color: var(--text);
  background: #fafbff;
  outline: none;
  width: 100%;
  transition:
    border 0.2s,
    box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

input.mandatory-invalid,
textarea.mandatory-invalid,
select.mandatory-invalid {
  border-color: var(--red);
  background: #fff7f7;
}

input.mandatory-invalid:focus,
textarea.mandatory-invalid:focus,
select.mandatory-invalid:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.mandatory-error {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
}

textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.65;
}

/* DYNAMIC LIST */
.dlist {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.ditem {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.ditem input,
.ditem textarea {
  flex: 1;
}

.paired-fields {
  flex: 1;
  display: grid;
  /* grid-template-columns: minmax(180px, 0.35fr) minmax(260px, 0.65fr); */
  gap: 0.6rem;
}

.paired-fields textarea {
  min-height: 74px;
}

.del-btn {
  width: 30px;
  height: 32px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  background: none;
  border-radius: 6px;
  cursor: pointer;
  color: #bbb;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  margin-top: 1px;
}

.del-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.add-btn {
  background: none;
  border: 1.5px dashed var(--border);
  border-radius: 7px;
  padding: 0.45rem 1rem;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  width: 100%;
  transition: all 0.15s;
}

.add-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: var(--muted);
  border-color: var(--border);
  pointer-events: none;
}

.sub-head {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin: 1.6rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* SCOPE */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.scope-card {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.scope-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--blue);
  margin-bottom: 0.7rem;
}

.platform-card {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.platform-feature-list {
  margin: 0.7rem 0;
}

.platform-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.platform-card-actions .add-btn {
  flex: 1;
}

.platform-card-actions .del-btn {
  width: auto;
  min-width: 96px;
  padding: 0 0.8rem;
  font-size: 0.72rem;
  color: var(--red);
}

/* NAV */
.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.btn {
  font-family: "Sora", sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-ghost {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: #162540;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.22);
}

.btn-generate {
  background: var(--accent);
  color: var(--navy);
  font-size: 0.9rem;
  padding: 0.7rem 2rem;
}

.btn-generate:hover {
  background: #e09010;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(244, 160, 32, 0.35);
}

.btn-generate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* PREVIEW */
.preview-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.preview-wrap > :first-child {
  grid-column: 1 / -1;
}

.prev-block {
  background: #f7f8fc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.prev-block h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.prev-block p,
.prev-block li {
  font-size: 0.8rem;
  color: #444;
  line-height: 1.7;
}

.prev-block ul {
  padding-left: 1.1rem;
}

.prev-block .val {
  font-weight: 600;
  color: var(--navy);
}

/* TOAST */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--green);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s;
  pointer-events: none;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(30, 142, 79, 0.35);
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* LOADING OVERLAY */
#loadingOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

#loadingOverlay.show {
  display: flex;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#loadingOverlay p {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.rn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rn i {
  font-size: 19px;
}





.tech-row {
  display: grid;
  grid-template-columns: 1fr 1fr 40px;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: end;
}

.tech-item {
  display: grid;
  grid-template-columns: 220px 1fr 32px;
  gap: .5rem;
  align-items: center;
}

.tech-item select {
  height: 38px;
}

.lable {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--text);
}



.accept-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 15px;
}


.accept-item {
  display: grid;
  grid-template-columns: 1fr 2fr 40px;
  align-items: end;
  width: 100%;
  gap: 12px;
  margin-bottom: 15px;
}

/* ── ACCEPTANCE CRITERIA ───────────────────── */

.accept-row {
  margin-bottom: 15px;
}

.accept-item {
  display: grid;
  grid-template-columns: 1fr 2fr 40px;
  gap: 12px;
  align-items: end;
}

/* responsive */

@media(max-width:640px) {

  .accept-item {
    grid-template-columns: 1fr;
  }

  .accept-item .del-btn {
    width: 100%;
  }
}


/* ── RESOURCE TABLE ───────────────────── */

.resource-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: 12px;
  align-items: end;
  margin-bottom: 15px;
}

/* ── PROJECT SUMMARY ───────────────────── */

.project-summary-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 40px;
  gap: 12px;
  align-items: end;
  margin-bottom: 15px;
}

/* ── MOBILE ───────────────────── */

@media(max-width:640px) {

  .resource-grid,
  .project-summary-grid {
    grid-template-columns: 1fr;
  }

  .resource-grid .del-btn,
  .project-summary-grid .del-btn {
    width: 100%;
  }
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 15px;
}

/* make delete button full width */

.payment-grid .del-btn {
  grid-column: 1 / -1;
  width: 40px;
  justify-self: center;
}

/* RESPONSIVE APP LAYOUT */
@media (max-width: 1180px) {
  .wrap {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .card {
    margin: 1.25rem;
    padding: 1.6rem;
  }

  .resource-grid {
    grid-template-columns: minmax(180px, 2fr) minmax(130px, 1fr) minmax(90px, 0.8fr) minmax(150px, 1fr) 40px;
  }

  .btn-generate {
    padding-inline: 1.1rem;
  }
}

@media (max-width: 980px) {
  header {
    gap: 1rem;
    padding: 0 1.25rem;
  }

  header h1 {
    flex: 1;
    min-width: 0;
    font-size: 1.2rem;
    text-align: center;
  }

  .header-tag {
    display: none;
  }

  .wrap {
    display: block;
    min-height: auto;
    padding: 1rem;
  }

  .page-intro {
    margin: 0 0 1rem;
  }

  .rail {
    position: sticky;
    top: 64px;
    z-index: 120;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(8, minmax(72px, 1fr));
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0.55rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border: 1px solid var(--border);
    border-radius: 10px;
  }

  .rail-progress {
    grid-column: 1 / -1;
    margin-bottom: 0.15rem;
  }

  .rail-section-label {
    display: none;
  }

  .rail-step {
    min-height: 58px;
    padding: 0.5rem !important;
    justify-content: center;
    flex-direction: column;
    gap: 0.32rem;
    text-align: center;
  }

  .rail-step .rn {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .rail-step .rl {
    font-size: 0.62rem;
  }

  .card {
    margin: 0 0 1rem;
  }

  .g3,
  .resource-grid,
  .project-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-row,
  .accept-item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
  }

  .resource-grid .del-btn,
  .project-summary-grid .del-btn {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .preview-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  header {
    min-height: 64px;
    height: auto;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  header h1 {
    order: 3;
    flex-basis: 100%;
    font-size: 1rem;
    text-align: left;
  }

  .wrap {
    padding: 0.75rem;
  }

  .page-intro p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .rail {
    position: static;
    grid-template-columns: repeat(8, 58px);
    gap: 0.45rem;
    padding: 0.6rem;
  }

  .rail-progress {
    display: block;
    grid-column: 1 / -1;
    margin-bottom: 0.15rem;
  }

  .rail-step {
    min-height: 50px;
    padding: 0.45rem 0.25rem !important;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    text-align: center;
  }

  .rail-step .rl {
    display: block;
    font-size: 0.58rem;
    line-height: 1.15;
  }

  .rail-step .rn {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .card {
    padding: 1.1rem;
    border-radius: 10px;
  }

  .card-head {
    margin-bottom: 1rem;
  }

  .card-head h2 {
    font-size: 1.02rem;
    line-height: 1.35;
  }

  .g2,
  .g3,
  .scope-grid,
  .tech-row,
  .accept-item,
  .resource-grid,
  .project-summary-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .ditem,
  .paired-item {
    align-items: stretch;
  }

  .ditem {
    flex-wrap: wrap;
  }

  .ditem input,
  .ditem textarea,
  .paired-fields {
    flex: 1 1 calc(100% - 42px);
    min-width: 0;
  }

  .platform-card-actions,
  .nav-row,
  .flex {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-row {
    gap: 0.75rem;
  }

  .nav-row > span {
    display: none;
  }

  .btn,
  .btn-generate,
  .platform-card-actions .del-btn,
  .tech-row .del-btn,
  .accept-item .del-btn,
  .resource-grid .del-btn,
  .project-summary-grid .del-btn,
  .payment-grid .del-btn {
    width: 100%;
  }

  .tech-row .del-btn,
  .accept-item .del-btn,
  .resource-grid .del-btn,
  .project-summary-grid .del-btn,
  .payment-grid .del-btn {
    height: 38px;
    justify-self: stretch;
  }

  #toast {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .logo-mark {
    width: 88px;
  }

  .wrap {
    padding: 0.5rem;
  }

  .card {
    padding: 0.9rem;
  }

  input,
  textarea,
  select {
    font-size: 0.82rem;
    padding: 0.58rem 0.7rem;
  }

  label {
    font-size: 0.66rem;
  }

  .sub-head {
    font-size: 0.72rem;
    line-height: 1.4;
  }
}

@media(max-width:640px) {

  .payment-grid {
    grid-template-columns: 1fr;
  }

  .payment-grid .del-btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PDF TEMPLATE STYLES  ·  Drop-in replacement block in style.css
   Replace everything from  "#pdfTemplate { display:none … }"
   down to the end of the file with this block.
   ═══════════════════════════════════════════════════════════════ */

/* ── ROOT CONTAINER ─────────────────────────────────────────── */
/* PDF TEMPLATE STYLES */
#pdfTemplate {
  display: none;
  width: 210mm;
  max-width: 210mm;
  overflow: hidden;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

#pdfTemplate * {
  box-sizing: border-box;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.pdf-page {
  width: 210mm;
  height: 297mm;
  min-height: 297mm;
  max-height: 297mm;
  padding: 19mm 25mm 18mm 15mm;
  background: #fff;
  position: relative;
  overflow: hidden;
  page-break-after: always;
  break-after: page;
}

.pdf-page:last-child {
  page-break-after: auto !important;
  break-after: auto !important;
}

.pdf-page.cover {
  padding: 21mm 20mm 26mm 15mm;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pdf-page-content {
  position: relative;
  z-index: 1;
}

.pdf-page-continuation {
  padding-top: 7mm;
}

.pdf-cover-watermark,
.pdf-watermark {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  color: #8fa5bf;
}

.pdf-cover-watermark img,
.pdf-watermark img {
  width: 56mm;
  max-width: 56mm;
  height: auto;
  display: block;
}

.pdf-cover-watermark {
  opacity: 0.18;
}

.pdf-watermark {
  opacity: 0.16;
}

.pdf-cover-watermark .wm1,
.pdf-watermark .wm1 {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25pt;
  font-weight: 700;
  line-height: 1;
  color: #8fa5bf;
}

.pdf-cover-watermark .wm2,
.pdf-watermark .wm2 {
  display: block;
  margin-top: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 7pt;
  font-weight: 400;
  color: #b8c4d3;
}

.pdf-watermark .wm1 {
  font-size: 26pt;
}

.pdf-watermark .wm2 {
  font-size: 7pt;
}

.pdf-cover-title {
  position: relative;
  z-index: 1;
  margin-top: 0;
  font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
  font-size: 43pt;
  line-height: 1.28;
  font-weight: 700;
  text-transform: uppercase;
  color: #060606;
  letter-spacing: 0;
}

.pdf-cover-bottom {
  position: relative;
  z-index: 1;
  margin-bottom: 3mm;
  text-align: left;
}

.pdf-submitted-by {
  margin-bottom: 4mm;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15pt;
  font-weight: 400;
  text-transform: uppercase;
  color: #1b1b1b;
  letter-spacing: 0;
}

.pdf-company-name,
.pdf-company-city,
.pdf-proposal-date {
  display: block;
  text-transform: uppercase;
  color: #6e8eb7;
  letter-spacing: 0;
}

.pdf-company-name {
  font-size: 31pt;
  line-height: 1.05;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.pdf-company-city {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  margin-top: 3.5mm;
  font-size: 22pt;
  line-height: 1;
}

.pdf-proposal-date {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  margin-top: 1mm;
  font-size: 15pt;
  line-height: 1;
}

.pdf-toc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  position: relative;
  z-index: 1;
}

.pdf-toc-table tr {
  line-height: 1.08;
}

.pdf-toc-table td {
  padding: 0.55mm 0;
  border: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  color: #111;
  vertical-align: top;
  text-transform: uppercase;
}

.pdf-toc-table .toc-num {
  width: 9mm;
  padding-right: 1mm;
  text-align: right;
  white-space: nowrap;
}

.pdf-toc-table .toc-title {
  width: auto;
  padding-left: 1.2mm;
}

.pdf-toc-table .toc-pg {
  width: 9mm;
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.pdf-toc-table tr.toc-bold td {
  font-weight: 700;
}

.pdf-toc-table tr.toc-sub td.toc-num,
.pdf-toc-table tr.toc-sub td.toc-title {
  padding-left: 6mm;
}

.pdf-toc-table tr.toc-subsub td.toc-num,
.pdf-toc-table tr.toc-subsub td.toc-title {
  padding-left: 12mm;
  text-transform: none;
}

.pdf-section-header {
  margin: 0 0 2.3mm 0;
  page-break-after: avoid;
  break-after: avoid;
}

.pdf-section-header:not(:first-child) {
  margin-top: 7.2mm;
}

.pdf-section-header h2 {
  margin: 0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 20pt;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  color: #7A6A54;
}

.pdf-section-underline {
  display: none;
}

.pdf-orange-header {
  margin: 3.2mm 0 1.2mm 0;
  padding-left: 40px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16pt;
  line-height: 1.2;
  text-transform: uppercase;
  color: #e57022;
  page-break-after: avoid;
  break-after: avoid;
}

.pdf-para {
  margin: 0 0 2.6mm 0;
  max-width: 165mm;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 11pt;
  line-height: 1.55;
  text-align: justify;
  color: #111;
}

.pdf-orange-para {
  margin: 0 0 2.2mm 0;
  max-width: 165mm;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 11pt;
  line-height: 1.55;
  text-align: justify;
  padding-left: 85px;
  color: #111;
}

.pdf-orange-sub{
  margin: 0 0 2.6mm 0;
  max-width: 165mm;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 11pt;
  line-height: 1.55;
  padding-left: 110px;
  text-align: justify;
  color: #111;
}

.pdf-orange-bullet-list {
  margin: 1.2mm 0 3mm 0;
  padding: 0;
  list-style: none;
}

.pdf-orange-bullet-list li {
  position: relative;
  margin: 0 0 1.55mm 0;
  padding-left: 90px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 11pt;
  line-height: 1.45;
  color: #111;
}

.pdf-orange-bullet-list li::before {
  content: "\2022";
  position: absolute;
  top: 1mm;
  left: 75px;
  font-size: 11pt;
  line-height: 1;
  color: #111;
}

.pdf-scope-intro {
  padding-left: 40px;
  max-width: 160mm;
}

.pdf-scope-list {
  margin: 5.5mm 0 2.4mm 0;
  padding: 0;
  list-style: none;
}

.pdf-scope-list li {
  position: relative;
  margin: 0 0 2.1mm 0;
  padding-left: 112px;
  max-width: 155mm;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 11pt;
  line-height: 1.45;
  color: #111;
}

.pdf-scope-list li::before {
  content: "\2022";
  position: absolute;
  top: 1mm;
  left: 96px;
  font-size: 11pt;
  line-height: 1;
  color: #111;
}

.pdf-orange-bullet-sub-list {
  margin: 1.2mm 0 3mm 0;
  padding: 0;
  list-style: none;
}

.pdf-orange-bullet-sub-list li {
  position: relative;
  margin: 0 0 1.55mm 0;
  padding-left: 105px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 11pt;
  line-height: 1.45;
  color: #111;
}

.pdf-orange-bullet-sub-list li::before {
  content: "\2022";
  position: absolute;
  top: 1mm;
  left: 90px;
  font-size: 11pt;
  line-height: 1;
  color: #111;
}

.pdf-para em {
  font-style: italic;
  font-weight: 600;
}

.pdf-bold,
.pdf-bullet-list strong,
.pdf-table strong,
.pdf-pay-table strong,
.pdf-assump-table strong {
  font-weight: 700;
}

.pdf-bullet-list {
  margin: 1.2mm 0 3mm 0;
  padding: 0;
  list-style: none;
}

.pdf-bullet-list li {
  position: relative;
  margin: 0 0 1.55mm 0;
  padding-left: 40px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 11pt;
  line-height: 1.45;
  color: #111;
}

.pdf-bullet-list li::before {
  content: "\2022";
  position: absolute;
  top: 1mm;
  left: 25px;
  font-size: 11pt;
  line-height: 1;
  color: #111;
}

.pdf-bullet-list.sub {
  margin-top: 1mm;
  margin-bottom: 2.2mm;
  margin-left: 40px;
  font-size: 14pt;
}

.pdf-bullet-list.sub li {
  margin-bottom: 1.25mm;
  padding-left: 80px;
  font-size: 11pt;
  line-height: 1.45;
}

.pdf-bullet-list.sub li::before {
  content: "\25E6";
  left: 65px;
  top: 0.35mm;
  font-size: 14pt;
  color: #111;
}

.pdf-platform-block {
  margin: 0 0 2.4mm 0;
  page-break-inside: avoid;
  break-inside: avoid;
}

.pdf-platform-name {
  position: relative;
  margin: 0 0 0.9mm 0;
  padding-left: 85px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 14pt;
  font-weight: 500;
  line-height: 1.2;
  color: #13896d;
}

.pdf-platform-name::before {
  content: "\2022";
  position: absolute;
  left: 70px;
  top: 0mm;
  font-size: 15pt;
  line-height: 1;
  color: #13896d;
}

.pdf-table,
.pdf-assump-table,
.pdf-pay-table {
  width: 92%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 35px 45px 0;
  border: 1px solid black;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  page-break-inside: avoid;
  break-inside: avoid;
}

.pdf-table th,
.pdf-assump-table th,
.pdf-pay-table th {
  padding: 2.1mm 2.4mm;
  border: 1px solid black;
  background: #d9d9d9;
  color: black;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 12pt;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  text-transform: uppercase;
}

.pdf-table td,
.pdf-assump-table td,
.pdf-pay-table td {
  padding: 2mm 2.4mm;
  border: 1px solid black;
  background: #fff;
  color: black;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 12pt;
  line-height: 1.25;
  vertical-align: middle;
}

.pdf-table tbody tr:nth-child(even) td,
.pdf-assump-table tbody tr:nth-child(even) td,
.pdf-pay-table tbody tr:nth-child(even) td {
  background: #fff;
}

.pdf-accept-table th {
  background: #4f86c6;
  color: #fff;
}

.pdf-accept-table td:first-child,
.pdf-cost-table .bold-row td,
.pdf-cost-table .total-row td {
  background: #d9d9d9 !important;
  font-weight: 700;
}

.pdf-summary-table td:nth-child(2),
.pdf-pay-table td,
.pdf-pay-table th {
  text-align: center;
}

.pdf-cost-table td:nth-child(4),
.pdf-summary-table td:nth-child(3) {
  text-align: left;
}

.pdf-pay-table td:nth-child(2),
.pdf-pay-table th:nth-child(2) {
  text-align: left;
}

.pdf-assump-table th {
  text-align: center;
}

.pdf-assump-table td {
  padding: 1.65mm 2.2mm;
  line-height: 1.22;
}

.pdf-divider {
  border: 0;
  border-top: 1px solid black;
  margin: 3mm 0;
}

@page {
  size: A4 portrait;
  margin: 0;
}

@media print {
  body {
    background: #fff;
  }

  #pdfTemplate {
    display: block;
  }

  .pdf-page {
    margin: 0;
    box-shadow: none;
  }
}
