@charset "UTF-8";
/* ── SCOPED RESET & VARIABLES ── */
.ppb-guide *, .ppb-guide *::before, .ppb-guide *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

.ppb-guide {
  --ppb-orange: #e07030;
  --ppb-orange-dk: #b85520;
  --ppb-orange-lt: #fdf0e8;
  --ppb-navy: #1e2d4a;
  --ppb-navy-lt: #e8edf5;
  --ppb-teal: #1a7a6e;
  --ppb-teal-lt: #d4efeb;
  --ppb-ink: #222222;
  --ppb-ink-mid: #555555;
  --ppb-ink-light: #888888;
  --ppb-bg: #ffffff;
  --ppb-bg2: #f7f7f5;
  --ppb-bg3: #efefec;
  --ppb-rule: rgba(0,0,0,0.09);
  --ppb-radius: 8px;
  --ppb-radius-lg: 12px;
  font-family: inherit;
  /* Use BC theme font */
  color: var(--ppb-ink);
  line-height: 1.65;
  font-size: 15px; }

/* ── HERO BAND ── */
.ppb-hero {
  background: var(--ppb-navy);
  border-radius: var(--ppb-radius-lg);
  padding: 48px 40px 44px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: center; }

.ppb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; }

.ppb-hero-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ppb-orange);
  border: 1px solid var(--ppb-orange);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px; }

.ppb-hero h1 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 14px;
  font-family: inherit; }

.ppb-hero h1 span {
  color: var(--ppb-orange); }

.ppb-hero-lead {
  font-size: 15px;
  color: #99adc4;
  line-height: 1.7;
  max-width: 440px; }

.ppb-hero-svg {
  width: 100%; }

/* ── STICKY TOC ── */
.ppb-toc {
  background: var(--ppb-bg2);
  border: 1px solid var(--ppb-rule);
  border-radius: var(--ppb-radius);
  padding: 0 4px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  position: sticky;
  top: 0;
  z-index: 100; }

.ppb-toc a {
  display: inline-block;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ppb-ink-mid);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s; }

.ppb-toc a:hover {
  color: var(--ppb-orange);
  border-bottom-color: var(--ppb-orange);
  text-decoration: none; }

/* ── MAIN LAYOUT ── */
.ppb-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start; }

.ppb-main > section {
  margin-bottom: 52px; }

.ppb-sidebar {
  position: sticky;
  top: 60px; }

/* ── TYPOGRAPHY ── */
.ppb-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ppb-orange);
  margin-bottom: 6px; }

.ppb-guide h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ppb-navy);
  margin-bottom: 16px;
  font-family: inherit; }

.ppb-guide h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ppb-ink);
  margin: 28px 0 10px;
  font-family: inherit; }

.ppb-guide p {
  margin-bottom: 14px;
  color: var(--ppb-ink-mid); }

.ppb-guide p:last-child {
  margin-bottom: 0; }

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

/* ── DIMENSION CARDS ── */
.ppb-dim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ppb-rule);
  border: 1px solid var(--ppb-rule);
  border-radius: var(--ppb-radius-lg);
  overflow: hidden;
  margin: 24px 0; }

.ppb-dim-card {
  background: var(--ppb-bg);
  padding: 20px 16px; }

.ppb-dim-card.ppb-dim-accent {
  background: var(--ppb-navy); }

.ppb-dim-card.ppb-dim-accent h4 {
  color: #fff; }

.ppb-dim-card.ppb-dim-accent p {
  color: #99adc4; }

.ppb-dim-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 10px; }

.ppb-dim-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ppb-ink);
  margin-bottom: 6px;
  font-family: inherit; }

.ppb-dim-card p {
  font-size: 13px;
  color: var(--ppb-ink-mid);
  margin: 0;
  line-height: 1.5; }

/* ── STEP LIST ── */
.ppb-steps {
  list-style: none;
  margin: 20px 0; }

.ppb-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ppb-rule);
  align-items: start; }

.ppb-step:last-child {
  border-bottom: none; }

.ppb-step-num {
  width: 36px;
  height: 36px;
  background: var(--ppb-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0; }

.ppb-step-body h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--ppb-ink);
  font-family: inherit; }

.ppb-step-body p {
  font-size: 13px;
  margin: 0; }

/* ── CALLOUT ── */
.ppb-callout {
  border-left: 3px solid var(--ppb-orange);
  background: var(--ppb-orange-lt);
  padding: 16px 20px;
  border-radius: 0 var(--ppb-radius) var(--ppb-radius) 0;
  margin: 20px 0; }

.ppb-callout.ppb-teal {
  border-left-color: var(--ppb-teal);
  background: var(--ppb-teal-lt); }

.ppb-callout strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--ppb-orange); }

.ppb-callout.ppb-teal strong {
  color: var(--ppb-teal); }

.ppb-callout p {
  font-size: 13px;
  margin: 0;
  color: var(--ppb-ink-mid); }

/* ── TABLES ── */
.ppb-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  -webkit-overflow-scrolling: touch; }

.ppb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 500px; }

.ppb-table th {
  background: var(--ppb-navy);
  color: #e0e8f4;
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap; }

.ppb-table th:first-child {
  border-radius: 6px 0 0 0; }

.ppb-table th:last-child {
  border-radius: 0 6px 0 0; }

.ppb-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ppb-rule);
  color: var(--ppb-ink-mid);
  vertical-align: top; }

.ppb-table tr:last-child td {
  border-bottom: none; }

.ppb-table tr:nth-child(even) td {
  background: var(--ppb-bg2); }

.ppb-tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-right: 4px; }

.ppb-tag-open {
  background: var(--ppb-navy-lt);
  color: var(--ppb-navy); }

.ppb-tag-seal {
  background: var(--ppb-teal-lt);
  color: var(--ppb-teal); }

.ppb-tag-closed {
  background: var(--ppb-orange-lt);
  color: var(--ppb-orange-dk); }

/* ── CALCULATOR ── */
.ppb-calc {
  background: var(--ppb-navy);
  border-radius: var(--ppb-radius-lg);
  padding: 28px;
  color: #e0e8f4; }

.ppb-calc h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  font-family: inherit; }

.ppb-calc-sub {
  font-size: 12px;
  color: #7a90b0;
  margin-bottom: 24px; }

.ppb-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px; }

.ppb-calc label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7a90b0;
  margin-bottom: 6px; }

.ppb-calc input[type="number"],
.ppb-calc select {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 9px 12px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none; }

.ppb-calc input:focus, .ppb-calc select:focus {
  border-color: var(--ppb-orange); }

.ppb-calc select option {
  background: #1e2d4a;
  color: #fff; }

.ppb-calc-result {
  background: rgba(224, 112, 48, 0.18);
  border: 1px solid rgba(224, 112, 48, 0.35);
  border-radius: var(--ppb-radius);
  padding: 18px;
  margin-top: 20px; }

.ppb-res-label {
  font-size: 10px;
  color: var(--ppb-orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 3px; }

.ppb-res-value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px; }

.ppb-res-break {
  font-size: 12px;
  color: #7a90b0;
  line-height: 1.9; }

/* ── TOLERANCE GRID ── */
.ppb-tol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0; }

.ppb-tol-card {
  background: var(--ppb-bg);
  border: 1px solid var(--ppb-rule);
  border-radius: var(--ppb-radius);
  padding: 16px; }

.ppb-tol-card .ppb-tol-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ppb-ink-light);
  margin-bottom: 3px; }

.ppb-tol-card .ppb-tol-range {
  font-size: 22px;
  font-weight: 700;
  color: var(--ppb-navy);
  margin-bottom: 3px; }

.ppb-tol-card .ppb-tol-note {
  font-size: 12px;
  color: var(--ppb-ink-mid); }

/* ── MISTAKES ── */
.ppb-mistakes {
  list-style: none;
  margin: 16px 0; }

.ppb-mistake {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ppb-rule);
  align-items: flex-start; }

.ppb-mistake:last-child {
  border-bottom: none; }

.ppb-mistake-icon {
  width: 26px;
  height: 26px;
  background: #fce8e8;
  color: #c04040;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0; }

.ppb-mistake-body h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--ppb-ink);
  font-family: inherit; }

.ppb-mistake-body p {
  font-size: 12px;
  margin: 0; }

/* ── SIDEBAR ── */
.ppb-widget {
  background: var(--ppb-bg);
  border: 1px solid var(--ppb-rule);
  border-radius: var(--ppb-radius-lg);
  overflow: hidden;
  margin-bottom: 20px; }

.ppb-widget-head {
  background: var(--ppb-bg3);
  padding: 11px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ppb-ink-mid);
  border-bottom: 1px solid var(--ppb-rule); }

.ppb-widget-body {
  padding: 14px 16px; }

.ppb-cheat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--ppb-rule);
  font-size: 12px; }

.ppb-cheat:last-child {
  border-bottom: none; }

.ppb-cheat-term {
  color: var(--ppb-ink-mid); }

.ppb-cheat-def {
  font-weight: 700;
  color: var(--ppb-ink); }

.ppb-widget-note {
  font-size: 12px;
  color: var(--ppb-ink-mid);
  line-height: 1.6; }

.ppb-widget-note strong {
  color: var(--ppb-ink);
  display: block;
  margin-top: 10px;
  margin-bottom: 2px; }

.ppb-widget-note strong:first-child {
  margin-top: 0; }

/* ── CTA BUTTON ── */
.ppb-cta-wrap {
  text-align: center;
  margin-top: 16px; }

.ppb-cta {
  display: inline-block;
  background: var(--ppb-orange);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: var(--ppb-radius);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .15s; }

.ppb-cta:hover {
  background: var(--ppb-orange-dk);
  color: #fff !important; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .ppb-hero {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 24px; }
  .ppb-hero-svg-wrap {
    display: none; }
  .ppb-layout {
    grid-template-columns: 1fr; }
  .ppb-sidebar {
    position: static; }
  .ppb-dim-grid {
    grid-template-columns: 1fr; }
  .ppb-tol-grid {
    grid-template-columns: 1fr; }
  .ppb-calc-grid {
    grid-template-columns: 1fr; }
  .ppb-toc a {
    padding: 10px 10px;
    font-size: 11px; } }

@media (max-width: 560px) {
  .ppb-hero h1 {
    font-size: 24px; }
  .ppb-guide h2 {
    font-size: 20px; } }
