/* -- PayPal-themed styles ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,400,0,0');

:root {
  --pp-blue: #003087;
  --pp-blue-dark: #001f5b;
  --pp-blue-light: #0070ba;
  --pp-cyan: #009cde;
  --pp-bg: #f5f7fa;
  --pp-surface: #ffffff;
  --pp-text: #2c2e2f;
  --pp-muted: #687173;
  --pp-border: #cbd2d6;
  --pp-border-light: #e6ebee;
  --pp-green: #019849;
  --pp-radius: 24px;
  --pp-radius-sm: 12px;
  --pp-shadow: 0 2px 8px rgba(0,0,0,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: 'PayPalSansBig-Regular', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--pp-text);
  background: var(--pp-bg);
}

/* -- Top header bar ---------------------------------------------------- */
.pp-header {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  padding: 0 24px;
  height: 56px;
  background: var(--pp-blue);
  color: #fff;
}
.pp-header .pp-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pp-header .pp-logo svg,
.pp-header .pp-logo img { height: 26px; width: auto; display: block; }
.pp-header .pp-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.pp-header .pp-logo a:hover { opacity: .85; }
.pp-header .pp-logo-img { height: 30px; }
.pp-header .pp-actions button[disabled] { opacity: .85; }
.pp-detail-back .material-symbols-outlined,
.pp-case-arrow .material-symbols-outlined,
.pp-saved .material-symbols-outlined,
.pp-articles .material-symbols-outlined { font-size: 20px; vertical-align: middle; }
.pp-timeline-icon .material-symbols-outlined { font-size: 22px; }
.pp-header nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 0 24px;
}
.pp-header nav a,
.pp-header nav span {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.pp-header nav span {
  pointer-events: none;
  cursor: default;
}
.pp-header nav a { text-decoration: none; }
.pp-header nav a:hover,
.pp-header nav span:hover { color: rgba(255,255,255,.72); }
.pp-header .pp-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}
.pp-header .pp-actions a,
.pp-header .pp-actions button {
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.pp-header .pp-actions a:hover,
.pp-header .pp-actions button:hover { color: #fff; }
.pp-header .pp-actions button {
  pointer-events: none;
  cursor: default;
}
.material-symbols-outlined {
  font-size: 21px;
  line-height: 1;
  vertical-align: middle;
}

/* -- PayPal logo icon -------------------------------------------------- */
.pp-icon {
  width: 26px;
  height: 30px;
  display: inline-block;
}

/* -- Role selection page ----------------------------------------------- */
.pp-role-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.pp-role-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.pp-role-intro .pp-eyebrow { display: none; }
.pp-eyebrow {
  color: var(--pp-blue-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.pp-role-page h1 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--pp-text);
  margin: 0 0 14px;
  text-align: center;
}
.pp-role-lead {
  color: var(--pp-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
.pp-role-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin-inline: auto;
}
.pp-role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 260px;
  height: 200px;
  background: var(--pp-surface);
  border: 2px solid var(--pp-border-light);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
  cursor: pointer;
  text-decoration: none;
  color: var(--pp-text);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.pp-role-card:hover {
  border-color: var(--pp-blue);
  box-shadow: 0 4px 16px rgba(0,48,135,.12);
  transform: translateY(-2px);
}
.pp-role-card .pp-role-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pp-blue);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pp-role-card .pp-role-icon .material-symbols-outlined {
  color: #fff;
  font-size: 30px;
}
.pp-role-card .pp-role-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.pp-role-card .pp-role-label {
  font-size: 17px;
  font-weight: 700;
}
.pp-role-return {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  color: var(--pp-blue);
  font-weight: 700;
  text-decoration: none;
}
.pp-role-return:hover { text-decoration: underline; }
.pp-tour-start-wrap { display: flex; justify-content: center; margin: 22px 0 6px; }
.pp-tour-start { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--pp-blue); border-radius: 24px; color: var(--pp-blue); background: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pp-tour-start:hover { background: #edf3fb; }
.pp-tour-start .material-symbols-outlined { font-size: 20px; }
.sob-tour-focus { position: relative !important; z-index: 10001 !important; outline: 3px solid #ffd54f !important; outline-offset: 4px; box-shadow: 0 0 0 100vmax rgba(8, 17, 36, .76) !important; border-radius: inherit; }
.sob-tour-panel { display: none; position: fixed; z-index: 10002; right: 24px; bottom: 24px; width: min(390px, calc(100vw - 32px)); padding: 20px; border: 1px solid #d9e1ec; border-radius: 14px; color: #182230; background: #fff; box-shadow: 0 18px 60px rgba(0, 0, 0, .28); }
.sob-tour-panel.visible { display: block; }
.sob-tour-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sob-tour-count { color: var(--pp-blue-light); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.sob-tour-close { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; border-radius: 50%; color: #526173; background: #eef2f7; cursor: pointer; }
.sob-tour-close .material-symbols-outlined { font-size: 18px; }
.sob-tour-panel h2 { margin: 0 0 8px; color: #111; font-size: 19px; line-height: 1.3; }
.sob-tour-panel p { margin: 0; color: #526173; font-size: 13px; line-height: 1.6; }
.sob-tour-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.sob-tour-next { padding: 9px 15px; border: 0; border-radius: 20px; color: #fff; background: var(--pp-blue); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sob-tour-next:hover { background: var(--pp-blue-light); }

/* Landing AI story */
.pp-ai-story {
  margin-top: 56px;
  width: 100%;
}
.pp-story-section { margin: 56px 0 28px; }
.pp-story-section + .pp-story-section { margin-top: 56px; }
.pp-section-heading {
  width: 100%;
  padding: 24px 28px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e8edf4;
  border: 1px solid var(--pp-border-light);
  box-shadow: var(--pp-shadow);
}
.pp-section-heading h2 {
  color: #111;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.pp-section-heading .pp-eyebrow { display: none; }
.pp-why-section { padding-bottom: 28px; border-bottom: 1px solid var(--pp-border-light); }
.pp-why-lead,
.pp-difference-lead { color: var(--pp-muted); font-size: 16px; line-height: 1.75; margin-bottom: 22px; }
.pp-stat-row,
.pp-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.pp-stat-card,
.pp-benefit-card { background: #fff; border: 1px solid var(--pp-border-light); border-radius: 12px; padding: 20px; box-shadow: var(--pp-shadow); }
.pp-stat-card strong { display: block; color: var(--pp-blue); font-size: clamp(26px, 3vw, 38px); line-height: 1.1; font-weight: 800; }
.pp-stat-card span { display: block; margin-top: 8px; color: var(--pp-muted); font-size: 13px; line-height: 1.55; }
.pp-source-note,.pp-workflow-note { color: var(--pp-muted); font-size: 12px; line-height: 1.6; margin-top: 12px; }
.pp-benefit-card .material-symbols-outlined { color: var(--pp-blue); font-size: 26px; margin-bottom: 10px; }
.pp-benefit-card h3 { color: var(--pp-text); font-size: 17px; margin-bottom: 6px; }
.pp-benefit-card p { color: var(--pp-muted); font-size: 13px; line-height: 1.6; }
.pp-workflow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.pp-workflow article { position: relative; min-width: 0; background: #fff; border: 1px solid var(--pp-border-light); border-radius: 12px; padding: 22px 16px; box-shadow: var(--pp-shadow); }
.pp-workflow article > .material-symbols-outlined { display: block; color: var(--pp-blue); font-size: 26px; margin: 6px 0 12px; }
.pp-workflow-number { color: var(--pp-blue-light); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.pp-workflow h3 { color: var(--pp-text); font-size: 15px; line-height: 1.35; margin-bottom: 7px; }
.pp-workflow p { color: var(--pp-muted); font-size: 12px; line-height: 1.55; }
.pp-workflow-arrow { align-self: center; color: var(--pp-blue-light); font-size: 20px; }
.pp-comparison-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pp-comparison-card { min-width: 0; background: #fff; border: 1px solid var(--pp-border-light); border-radius: 14px; padding: 24px; box-shadow: var(--pp-shadow); }
.pp-comparison-focused { border: 2px solid var(--pp-blue); }
.pp-comparison-card h3 { font-size: 19px; margin-bottom: 8px; }
.pp-comparison-card > p { color: var(--pp-muted); font-size: 13px; line-height: 1.6; min-height: 62px; margin-bottom: 16px; }
.pp-comparison-card ul { padding-left: 19px; color: var(--pp-muted); font-size: 13px; line-height: 1.7; margin-top: 16px; }
.pp-compare-placeholder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 8px; min-height: 190px; padding: 12px; color: var(--pp-muted); background: #f1f4f8; border: 1px dashed #bac5d2; border-radius: 10px; text-align: center; font-size: 13px; }
.pp-generic-photo { position: relative; display: flex; min-width: 0; align-items: center; justify-content: center; overflow: hidden; background: #fff; border-radius: 6px; }
.pp-generic-photo > span { position: absolute; z-index: 1; top: 6px; left: 6px; padding: 3px 5px; color: #fff; background: rgba(0,35,95,.85); border-radius: 4px; font-size: 8px; font-weight: 800; }
.pp-generic-photo img { display: block; width: 100%; height: 160px; object-fit: contain; padding: 8px; }
.pp-eval-pair { min-width: 0; overflow: hidden; border: 1px solid var(--pp-border-light); border-radius: 10px; background: #fff; }
.pp-eval-pair-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-eval-pair-images > div { position: relative; min-width: 0; aspect-ratio: 4 / 3; background: #f1f4f8; }
.pp-eval-pair-images > div + div { border-left: 1px solid #fff; }
.pp-eval-pair-images > div > span { position: absolute; top: 7px; left: 7px; z-index: 1; padding: 3px 6px; border-radius: 4px; color: #fff; background: rgba(0,35,95,.85); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.pp-eval-pair-images img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.pp-eval-pair figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 10px 12px; font-size: 12px; }
.pp-eval-pair figcaption span { color: var(--pp-muted); }
.pp-eval-disclaimer { color: var(--pp-muted); font-size: 12px; line-height: 1.6; margin-top: 14px; }
.pp-ai-story-head {
  max-width: 810px;
  margin: 0 0 28px;
}
.pp-ai-story-head h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--pp-text);
  margin: 0 0 12px;
}
.pp-ai-story-head > p:last-child {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pp-muted);
  margin: 0;
}
.pp-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.pp-ai-card {
  background: var(--pp-surface);
  border: 1px solid var(--pp-border-light);
  border-radius: var(--pp-radius-sm);
  padding: 24px;
  box-shadow: var(--pp-shadow);
}
.pp-ai-card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e8f1fb;
  color: var(--pp-blue);
  font-size: 24px;
  margin-bottom: 14px;
}
.pp-ai-card h3 {
  font-size: 18px;
  color: var(--pp-text);
  margin: 0 0 8px;
}
.pp-ai-card p {
  color: var(--pp-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.pp-ai-compare {
  margin-top: 24px;
  background: var(--pp-surface);
  border: 1px solid var(--pp-border-light);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
  padding: 28px;
}
.pp-ai-compare-head h3 {
  font-size: 22px;
  color: var(--pp-text);
  margin: 0 0 22px;
}
.pp-ai-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.pp-ai-compare-col {
  border: 1px solid var(--pp-border-light);
  border-radius: var(--pp-radius-sm);
  padding: 20px;
  background: var(--pp-bg);
}
.pp-ai-compare-col-featured {
  border: 2px solid var(--pp-blue);
  background: #f0f5fa;
}
.pp-ai-compare-col h4 {
  font-size: 16px;
  color: var(--pp-blue);
  margin: 0 0 12px;
}
.pp-ai-compare-col ul {
  margin: 0;
  padding-left: 20px;
  color: var(--pp-muted);
  font-size: 14px;
  line-height: 1.65;
}
.pp-ai-compare-col li + li { margin-top: 7px; }
.pp-ai-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}
.pp-ai-cta .pp-btn { text-decoration: none; display: inline-block; }
.pp-ai-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pp-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.pp-ai-cta-link:hover { text-decoration: underline; }
.pp-ai-cta-link .material-symbols-outlined { font-size: 18px; }

/* -- Buyer wizard container -------------------------------------------- */
.pp-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}
.pp-wizard-card {
  background: var(--pp-surface);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
  margin: 24px auto;
  max-width: 820px;
  padding: 32px 40px 40px;
}
@media (max-width: 600px) {
  .pp-wizard-card { padding: 20px 16px 28px; }
}

/* -- Back arrow + centered title -------------------------------------- */
.pp-step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
}
.pp-back {
  position: absolute;
  left: 0;
  background: none;
  border: 2px solid var(--pp-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--pp-text);
  transition: border-color .2s;
}
.pp-back:hover { border-color: var(--pp-blue); }
.pp-step-title {
  font-size: 14px;
  color: var(--pp-muted);
  font-weight: 500;
}

/* -- Transaction bar --------------------------------------------------- */
.pp-txn {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.pp-txn-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #b0d4f1;
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.pp-txn-name { font-weight: 600; font-size: 14px; }
.pp-txn-date { color: var(--pp-muted); font-size: 14px; }
.pp-txn-amount {
  margin-left: auto;
  font-weight: 600;
  font-size: 14px;
}

/* -- Progress bar ------------------------------------------------------ */
.pp-progress {
  height: 5px;
  background: #e0e7ec;
  border-radius: 4px;
  margin: 10px 0 24px;
  overflow: hidden;
}
.pp-progress-fill {
  height: 100%;
  background: var(--pp-green);
  border-radius: 4px;
  transition: width .4s ease;
}

/* -- Step heading ------------------------------------------------------ */
.pp-heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--pp-text);
  line-height: 1.3;
  margin-bottom: 6px;
}
.pp-subheading {
  font-size: 15px;
  color: var(--pp-muted);
  margin-bottom: 24px;
}

/* -- Issue category cards ---------------------------------------------- */
.pp-issue-group {
  border: 1px solid var(--pp-border-light);
  border-radius: var(--pp-radius-sm);
  margin-bottom: 20px;
  overflow: hidden;
}
.pp-issue-group-title {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 14px 16px 4px;
}
.pp-issue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--pp-border-light);
  cursor: pointer;
  font-size: 14px;
  color: var(--pp-text);
  transition: background .15s;
}
.pp-issue-item:first-child { border-top: none; }
.pp-issue-item:hover { background: #f0f5fa; }
.pp-issue-item.selected {
  border: 2px solid var(--pp-blue);
  border-radius: var(--pp-radius-sm);
  margin: -1px;
  background: #f0f5fa;
}
.pp-issue-arrow {
  font-size: 18px;
  color: var(--pp-muted);
}

/* -- Option cards (radio style) ---------------------------------------- */
.pp-option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.pp-option {
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius-sm);
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .15s, background .15s;
}
.pp-option:hover { border-color: var(--pp-blue-light); }
.pp-option.selected {
  border-color: var(--pp-blue);
  background: #f0f5fa;
  color: var(--pp-blue);
  font-weight: 600;
}

/* -- Yes / No toggle --------------------------------------------------- */
.pp-toggle-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.pp-toggle-btn {
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius-sm);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.pp-toggle-btn:hover { border-color: var(--pp-blue-light); }
.pp-toggle-btn.selected {
  border-color: var(--pp-blue);
  color: var(--pp-blue);
}

/* -- Contact method cards ---------------------------------------------- */
.pp-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.pp-contact-method {
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius-sm);
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .15s;
}
.pp-contact-method:hover { border-color: var(--pp-blue-light); }
.pp-contact-method.selected {
  border-color: var(--pp-blue);
  background: #f0f5fa;
}

/* -- Seller response cards --------------------------------------------- */
.pp-response-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

/* -- Form fields ------------------------------------------------------- */
.pp-field {
  margin-bottom: 20px;
}
.pp-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}
.pp-input {
  width: 100%;
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--pp-text);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.pp-input:focus { border-color: var(--pp-blue); }
.pp-input::placeholder { color: #a0a8ad; }
.pp-input-wrap {
  position: relative;
}
.pp-input-wrap .pp-input { padding-right: 48px; }
.pp-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pp-muted);
  font-size: 18px;
  pointer-events: none;
}
.pp-input-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pp-muted);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}
.pp-hint {
  font-size: 13px;
  color: var(--pp-muted);
  margin-top: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.pp-hint svg { flex-shrink: 0; margin-top: 2px; }

/* -- File upload dropzone ---------------------------------------------- */
.pp-dropzone {
  border: 2px dashed var(--pp-border);
  border-radius: var(--pp-radius-sm);
  padding: 36px 24px;
  text-align: center;
  background: var(--pp-bg);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.pp-dropzone:hover {
  border-color: var(--pp-blue-light);
  background: #eef3f9;
}
.pp-dropzone .icon {
  color: var(--pp-muted);
  margin-bottom: 8px;
}
.pp-dropzone .icon .material-symbols-outlined { font-size: 30px; }
.pp-dropzone .label {
  font-size: 14px;
  color: var(--pp-text);
  font-weight: 500;
}
.pp-dropzone-hint {
  font-size: 12px;
  color: var(--pp-muted);
  margin-top: 8px;
}
.pp-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pp-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pp-bg);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 13px;
}
.pp-file-chip button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--pp-muted);
  padding: 0;
  line-height: 1;
}

/* -- Textarea ---------------------------------------------------------- */
.pp-textarea {
  width: 100%;
  min-height: 140px;
  border: 1.5px solid var(--pp-border);
  border-radius: var(--pp-radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--pp-text);
  background: #fff;
  resize: vertical;
  outline: none;
  transition: border-color .2s;
}
.pp-textarea:focus { border-color: var(--pp-blue); }
.pp-textarea-footer {
  text-align: right;
  font-size: 13px;
  color: var(--pp-muted);
  margin-top: 4px;
}

/* -- Buttons bar ------------------------------------------------------- */
.pp-actions-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}
.pp-btn {
  padding: 14px 32px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.pp-btn:disabled { opacity: .5; cursor: not-allowed; }
.pp-btn-primary {
  background: #000;
  color: #fff;
}
.pp-btn-primary:hover:not(:disabled) { background: #222; }
.pp-btn-ghost {
  background: none;
  color: var(--pp-text);
  font-weight: 600;
}
.pp-btn-ghost:hover { text-decoration: underline; }

/* -- Wizard step visibility -------------------------------------------- */
.pp-step { display: none; }
.pp-step.active { display: block; }

/* Buyer Issue Center home and case details */
.pp-home-body { background: #fff; color: #000; }
.pp-home { max-width: 1160px; margin: 24px auto 48px; padding: 0 16px; }
.pp-home h1 { font-size: 38px; line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.pp-home-intro { margin: 10px 0 24px; }
.pp-home section { margin: 24px 0 50px; }
.pp-home section h2 { font-size: 24px; margin-bottom: 2px; }
.pp-home-muted { color: #687173; font-size: 14px; margin: 2px 0 18px; }
.pp-resume-card, .pp-transaction { display: flex; align-items: flex-start; gap: 12px; border: 2px solid #edf0f7; border-radius: 13px; padding: 12px 16px; color: inherit; text-decoration: none; }
.pp-resume-card { margin: 20px 8px 0; min-height: 160px; }
.pp-home-avatar { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #191919; color: white; font-size: 13px; }
.pp-home-card-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.pp-home-card-copy small { color: #687173; }
.pp-saved { margin-top: 18px; color: #687173; font-size: 13px; }
.pp-progress-track { height: 6px; background: #f1f3f6; margin: 16px 24px 6px 0; border-radius: 8px; }
.pp-progress-track i { display: block; width: 70%; height: 100%; background: #009c65; border-radius: inherit; }
.pp-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.pp-case-card { display: flex; flex-direction: column; gap: 14px; border-radius: 13px; background: #f0f2fa; padding: 12px; color: inherit; text-decoration: none; }
.pp-case-badge { align-self: flex-start; padding: 3px 9px; border-radius: 7px; font-size: 12px; }
.pp-case-badge.active { color: #003087; background: #e5f4fa; }
.pp-case-badge.closed { color: white; background: #008c61; }
.pp-case-summary { display: flex; align-items: center; gap: 8px; }
.pp-case-amount { margin-left: auto; white-space: nowrap; }
.pp-case-status { display: flex; justify-content: space-between; align-items: center; background: white; padding: 10px 12px; border-radius: 12px; }
.pp-case-status span { display: flex; flex-direction: column; }
.pp-case-status small { color: #687173; }
.pp-case-arrow { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-style: normal; font-size: 22px; }
.pp-case-arrow.blue { background: #0875f5; }
.pp-case-arrow.green { background: #008c61; }
.pp-transactions { display: grid; gap: 12px; padding: 14px; background: #f0f2fa; border-radius: 13px; }
.pp-transaction { align-items: center; background: white; border: 0; padding: 12px 16px; }
.pp-articles { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 18px 12px; }
.pp-articles a, .pp-survey a { color: #003087; font-weight: 600; text-decoration: none; }
.pp-survey { text-align: center; background: #f0f2fa; border-radius: 12px; padding: 14px; }
.pp-footer { display: flex; align-items: center; gap: 32px; min-height: 108px; padding: 24px max(calc((100% - 1024px)/2), 24px); border-top: 1px solid #ece9e3; }
.pp-footer strong { font-size: 24px; margin-right: 4px; }
.pp-detail-body { background: #f0f2fa; }
.pp-detail { max-width: 784px; margin: 24px auto 80px; padding: 0 16px; }
.pp-detail-back { display: inline-block; margin-bottom: 12px; color: #2c2e2f; font-size: 24px; text-decoration: none; }
.pp-detail-title { font-size: 16px; font-weight: 600; }
.pp-detail-subtitle { color: #687173; font-size: 14px; margin: 2px 0 18px; }
.pp-detail-card { background: white; border-radius: 14px; box-shadow: 0 2px 4px #0002; margin: 0 0 24px; overflow: hidden; }
.pp-detail-card h2 { font-size: 14px; padding: 18px 24px; border-bottom: 1px solid #eee; }
.pp-detail-content { padding: 20px 24px; }
.pp-timeline-row { display: flex; gap: 20px; align-items: center; margin: 12px 0 26px; }
.pp-timeline-row:last-child { margin-bottom: 4px; }
.pp-timeline-icon { width: 48px; height: 48px; border-radius: 50%; background: #f0f2fa; display: grid; place-items: center; font-size: 21px; }
.pp-thread-message { padding: 12px 0; }
.pp-thread-message small { display: block; color: #687173; }
.pp-thread-message p { margin-top: 8px; }
.pp-message-compose { padding: 16px 24px 26px; border-top: 1px solid #ddd; }
.pp-message-compose textarea { width: 100%; height: 150px; padding: 16px; resize: vertical; border: 1px solid #cbd2d6; border-radius: 6px; font: inherit; }
.pp-detail-links { display: grid; gap: 18px; margin: 28px 0; font-size: 14px; }
.pp-detail-links a { color: #0070ba; }
@media (max-width: 680px) { .pp-home h1 { font-size: 30px; } .pp-case-grid { grid-template-columns: 1fr; } .pp-home .pp-header nav { display: none; } .pp-articles { grid-template-columns: 1fr; } .pp-footer { flex-wrap: wrap; gap: 14px; } }

/* -- Responsive -------------------------------------------------------- */
@media (max-width: 760px) {
  .pp-header nav { display: none; }
  .pp-header { grid-template-columns: 1fr auto; }
  .pp-role-page { padding: 32px 16px 48px; }
  .pp-role-page h1 { font-size: 28px; }
  .pp-ai-grid,
  .pp-ai-compare-grid { grid-template-columns: 1fr; }
  .pp-stat-row,
  .pp-benefit-grid,
  .pp-comparison-layout { grid-template-columns: 1fr; }
  .pp-workflow { grid-template-columns: 1fr; }
  .pp-workflow-arrow { transform: rotate(90deg); justify-self: center; }
  .pp-section-heading { padding: 20px; }
  .pp-section-heading h2 { font-size: 25px; }
  .pp-comparison-card > p { min-height: 0; }
  .pp-header nav { display: none; }
  .pp-ai-compare { padding: 20px; }
}
@media (max-width: 640px) {
  .pp-role-cards { flex-direction: column; align-items: center; }
  .pp-role-card { width: 100%; max-width: 320px; }
  .pp-wizard-card { margin: 12px; }
  .sob-tour-panel { right: 16px; bottom: 16px; }
}

[hidden] { display: none !important; }

/* Buyer entry choice */
.pp-entry { max-width: 760px; margin: 24px auto 80px; padding: 0 16px; }
.pp-entry-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 8px #0001; padding: 40px; }
.pp-entry-card h1 { margin: 0; font-size: 32px; letter-spacing: -.03em; }
.pp-entry-intro { color: #687173; margin: 10px 0 28px; }
.pp-entry-options { display: grid; gap: 14px; }
.pp-entry-option { display: flex; align-items: center; gap: 16px; border: 1px solid #d7dce0; border-radius: 12px; padding: 18px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pp-entry-option:hover { border-color: #0070ba; box-shadow: 0 2px 8px #0070ba22; }
.pp-entry-option > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.pp-entry-option strong { font-size: 17px; }
.pp-entry-option small { color: #687173; }
.pp-entry-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e5f4fa; color: #0070ba; }
@media (max-width: 680px) { .pp-entry-card { padding: 28px 20px; } .pp-entry-card h1 { font-size: 28px; } }
