/*
 * ProTechTrader prototyping tools guide
 * Page-scoped through ControllerInformationInformation (information_id=56).
 */

.protech-info-container {
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe5e8;
  border-radius: 20px;
  background: #fbfaf6;
  box-shadow: 0 18px 45px rgba(30, 46, 56, 0.08);
}

.protech-info-content {
  color: #27343d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.protech-info-content .ptt-prototyping-guide {
  --ptt-guide-ink: #17262f;
  --ptt-guide-muted: #56646d;
  --ptt-guide-line: #dfe5e8;
  --ptt-guide-paper: #fbfaf6;
  --ptt-guide-panel: #ffffff;
  --ptt-guide-soft: #f2f5f3;
  --ptt-guide-accent: #c7442d;
  --ptt-guide-accent-dark: #9e2f20;
  --ptt-guide-navy: #173b50;
  margin: 0;
  color: var(--ptt-guide-ink);
  font-size: 1rem;
  line-height: 1.7;
}

.ptt-prototyping-guide *,
.ptt-prototyping-guide *::before,
.ptt-prototyping-guide *::after {
  box-sizing: border-box;
}

.ptt-prototyping-guide a {
  color: var(--ptt-guide-navy);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.ptt-prototyping-guide a:hover {
  color: var(--ptt-guide-accent-dark);
}

.ptt-prototyping-guide a:focus-visible,
.ptt-prototyping-guide summary:focus-visible {
  outline: 3px solid rgba(199, 68, 45, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.ptt-guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 6vw, 72px) clamp(44px, 7vw, 82px);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 18%, rgba(235, 170, 83, 0.19), transparent 27%),
    linear-gradient(125deg, #142d3b 0%, #173b50 58%, #234f5a 100%);
}

.ptt-guide-hero::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 330px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 52% 48% 42% 58%;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.035),
    0 0 0 60px rgba(255, 255, 255, 0.02);
  content: "";
  transform: rotate(-12deg);
}

.ptt-guide-hero-copy,
.ptt-guide-bench-map {
  position: relative;
  z-index: 1;
}

.ptt-guide-eyebrow {
  margin: 0 0 14px;
  color: #f4c694;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.protech-info-content .ptt-guide-hero h1 {
  max-width: 790px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.15rem, 5vw, 4.3rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.ptt-guide-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: #e2ebef;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.ptt-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.protech-info-content .ptt-guide-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 9px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.protech-info-content .ptt-guide-action-primary {
  border-color: #e06a4e;
  background: var(--ptt-guide-accent);
  box-shadow: 0 10px 24px rgba(53, 19, 12, 0.24);
}

.protech-info-content .ptt-guide-action:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.protech-info-content .ptt-guide-action-primary:hover {
  background: #b93b27;
}

.protech-info-content .ptt-guide-action:active {
  transform: translateY(1px);
}

.ptt-guide-bench-map {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px 28px 14px 14px;
  background: rgba(8, 26, 36, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ptt-guide-bench-map > p {
  margin: 0 0 14px;
  color: #f4c694;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ptt-guide-bench-map ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: bench-map;
}

.ptt-guide-bench-map li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #f7fafb;
  font-size: 0.95rem;
  font-weight: 650;
  counter-increment: bench-map;
}

.ptt-guide-bench-map li::before {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(244, 198, 148, 0.6);
  border-radius: 50%;
  color: #f4c694;
  content: counter(bench-map);
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ptt-guide-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0 clamp(24px, 6vw, 72px);
  border-bottom: 1px solid var(--ptt-guide-line);
  background: #ffffff;
  list-style: none;
}

.ptt-guide-principles li {
  padding: 22px clamp(14px, 2.5vw, 28px);
  border-left: 1px solid var(--ptt-guide-line);
  color: var(--ptt-guide-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ptt-guide-principles li:last-child {
  border-right: 1px solid var(--ptt-guide-line);
}

.ptt-guide-principles strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ptt-guide-ink);
  font-size: 0.98rem;
}

.ptt-guide-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 72px) clamp(60px, 8vw, 92px);
}

.ptt-guide-toc {
  position: sticky;
  top: 20px;
}

.ptt-guide-toc h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: var(--ptt-guide-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ptt-guide-toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-toc;
}

.ptt-guide-toc li {
  counter-increment: guide-toc;
}

.protech-info-content .ptt-guide-toc a {
  display: grid;
  min-height: 44px;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-left: 2px solid var(--ptt-guide-line);
  color: #46545d;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.ptt-guide-toc a::before {
  color: #87939a;
  content: counter(guide-toc, decimal-leading-zero);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.protech-info-content .ptt-guide-toc a:hover {
  border-left-color: var(--ptt-guide-accent);
  color: var(--ptt-guide-accent-dark);
  background: rgba(199, 68, 45, 0.055);
}

.ptt-guide-body {
  min-width: 0;
}

.ptt-guide-body > section {
  scroll-margin-top: 24px;
}

.ptt-guide-body > section + section {
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: clamp(44px, 6vw, 68px);
  border-top: 1px solid var(--ptt-guide-line);
}

.ptt-guide-section-label {
  margin: 0 0 10px;
  color: var(--ptt-guide-accent-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.protech-info-content .ptt-guide-body h2 {
  max-width: 740px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: var(--ptt-guide-ink);
  font-size: clamp(1.75rem, 3.1vw, 2.65rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.protech-info-content .ptt-guide-body h3 {
  margin: 0;
  color: var(--ptt-guide-ink);
  font-size: 1.05rem;
  font-weight: 780;
  line-height: 1.35;
}

.ptt-guide-body p {
  max-width: 70ch;
  margin: 0 0 18px;
  color: #34434c;
  text-wrap: pretty;
}

.ptt-guide-body .ptt-guide-section-intro {
  margin-bottom: 30px;
  color: var(--ptt-guide-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.ptt-guide-tool-list {
  display: grid;
  margin: 30px 0;
  padding: 0;
  border-top: 1px solid var(--ptt-guide-line);
  list-style: none;
}

.ptt-guide-tool-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 44px);
  padding: 21px 0;
  border-bottom: 1px solid var(--ptt-guide-line);
}

.ptt-guide-tool-list strong {
  color: var(--ptt-guide-ink);
  font-size: 0.98rem;
}

.ptt-guide-tool-list span {
  color: var(--ptt-guide-muted);
  line-height: 1.55;
}

.ptt-guide-callout {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--ptt-guide-accent);
  border-radius: 0 10px 10px 0;
  color: #34434c;
  background: #f7eee9;
}

.ptt-guide-callout strong {
  color: var(--ptt-guide-ink);
}

.ptt-guide-callout p:last-child,
.ptt-guide-callout:last-child {
  margin-bottom: 0;
}

.ptt-guide-product-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 22px;
}

.protech-info-content .ptt-guide-product-path {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px 18px;
  border: 1px solid #d9e1e4;
  border-radius: 11px;
  color: var(--ptt-guide-ink);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(33, 52, 62, 0.045);
  text-decoration: none;
}

.protech-info-content .ptt-guide-product-path:hover {
  border-color: #c8aaa0;
  color: var(--ptt-guide-accent-dark);
  background: #fffcfa;
  transform: translateY(-2px);
}

.ptt-guide-product-path span {
  color: var(--ptt-guide-muted);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ptt-guide-product-path strong {
  display: block;
  margin-top: 8px;
  font-size: 0.96rem;
  line-height: 1.4;
}

.ptt-guide-product-path em {
  align-self: flex-start;
  margin-top: 12px;
  color: var(--ptt-guide-accent-dark);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.ptt-guide-checklist {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.ptt-guide-checklist li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border: 1px solid var(--ptt-guide-line);
  border-radius: 9px;
  background: #ffffff;
}

.ptt-guide-checklist li::before {
  position: absolute;
  top: 17px;
  left: 17px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ptt-guide-navy);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

.ptt-guide-checklist strong {
  color: var(--ptt-guide-ink);
}

.ptt-guide-stages {
  position: relative;
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: buying-stage;
}

.ptt-guide-stages::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 23px;
  width: 2px;
  background: #d6dddf;
  content: "";
}

.ptt-guide-stages li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 34px;
  counter-increment: buying-stage;
}

.ptt-guide-stages li::before {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid #cad4d8;
  border-radius: 50%;
  color: var(--ptt-guide-navy);
  background: var(--ptt-guide-paper);
  content: counter(buying-stage);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.ptt-guide-stage-copy {
  padding: 3px 0 0;
}

.ptt-guide-stage-copy p {
  margin: 8px 0 0;
}

.ptt-guide-next-step {
  padding: clamp(26px, 5vw, 44px);
  border-radius: 18px 8px 18px 8px;
  color: #f6f8f9;
  background: var(--ptt-guide-navy);
}

.protech-info-content .ptt-guide-next-step h2,
.ptt-guide-next-step p,
.ptt-guide-next-step .ptt-guide-section-label {
  color: #ffffff;
}

.ptt-guide-next-step p {
  color: #dbe6ea;
}

.ptt-guide-next-step .ptt-guide-actions {
  margin-top: 24px;
}

.ptt-guide-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.ptt-guide-faq-list details {
  border: 1px solid var(--ptt-guide-line);
  border-radius: 10px;
  background: #ffffff;
}

.ptt-guide-faq-list summary {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 14px 48px 14px 18px;
  color: var(--ptt-guide-ink);
  cursor: pointer;
  font-weight: 780;
  line-height: 1.4;
  list-style: none;
}

.ptt-guide-faq-list summary::-webkit-details-marker {
  display: none;
}

.ptt-guide-faq-list summary::after {
  position: absolute;
  right: 18px;
  color: var(--ptt-guide-accent-dark);
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
}

.ptt-guide-faq-list details[open] summary::after {
  content: "−";
}

.ptt-guide-faq-list details[open] summary {
  border-bottom: 1px solid var(--ptt-guide-line);
}

.ptt-guide-faq-list p {
  margin: 0;
  padding: 16px 18px 18px;
}

.protech-info-container > .s_row_3 {
  margin: 0 !important;
  padding: 24px;
  border-top: 1px solid var(--ptt-guide-line, #dfe5e8);
  background: #ffffff;
}

@media (max-width: 900px) {
  .ptt-guide-hero {
    grid-template-columns: 1fr;
  }

  .ptt-guide-bench-map {
    max-width: 620px;
  }

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

  .ptt-guide-toc {
    position: static;
    padding: 18px;
    border: 1px solid var(--ptt-guide-line);
    border-radius: 12px;
    background: #ffffff;
  }

  .ptt-guide-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .protech-info-container {
    width: calc(100% + 2px);
    margin-left: -1px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .protech-info-content {
    font-size: 16px;
  }

  .ptt-guide-hero {
    padding: 34px 20px 42px;
  }

  .protech-info-content .ptt-guide-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
    line-height: 1.02;
  }

  .ptt-guide-actions,
  .ptt-guide-action {
    width: 100%;
  }

  .ptt-guide-bench-map {
    padding: 18px;
  }

  .ptt-guide-principles {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .ptt-guide-principles li,
  .ptt-guide-principles li:last-child {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--ptt-guide-line);
    border-left: 0;
  }

  .ptt-guide-principles li:last-child {
    border-bottom: 0;
  }

  .ptt-guide-layout {
    gap: 42px;
    padding: 36px 20px 60px;
  }

  .ptt-guide-toc {
    padding: 14px;
  }

  .ptt-guide-toc ol {
    grid-template-columns: 1fr;
  }

  .protech-info-content .ptt-guide-toc a {
    font-size: 0.88rem;
  }

  .ptt-guide-tool-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .ptt-guide-product-paths {
    grid-template-columns: 1fr;
  }

  .ptt-guide-product-path {
    min-height: 104px;
  }

  .ptt-guide-body > section + section {
    margin-top: 52px;
    padding-top: 42px;
  }

  .ptt-guide-callout {
    padding: 17px 16px;
  }

  .ptt-guide-next-step {
    margin-right: -4px;
    margin-left: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ptt-prototyping-guide *,
  .ptt-prototyping-guide *::before,
  .ptt-prototyping-guide *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .protech-info-container {
    border: 0;
    box-shadow: none;
  }

  .ptt-guide-hero {
    color: #000000;
    background: #ffffff;
  }

  .protech-info-content .ptt-guide-hero h1,
  .ptt-guide-lede,
  .ptt-guide-bench-map li {
    color: #000000;
  }

  .ptt-guide-actions,
  .ptt-guide-toc,
  .protech-info-container > .s_row_3 {
    display: none;
  }

  .ptt-guide-layout {
    display: block;
    padding: 24px 0;
  }
}

