#promaxx-section { display:flex; flex-direction:column; }
#promaxx-section > .px-hero { order:0; }
#promaxx-section > .px-grid { order:1; margin-top:0; margin-bottom:14px; }
#promaxx-section .px-inspector { order:-1; }
#promaxx-section > .px-results { order:2; }
#promaxx-section > .px-safety { order:3; }
#promaxx-section > .px-flow { order:4; }
#promaxx-section > .px-explain { order:5; }
#promaxx-section > .px-advanced { order:6; }
.px-hero {
  position:relative; display:flex; align-items:center; justify-content:space-between; gap:24px;
  overflow:hidden; padding:27px 30px; margin:0 0 14px; border-radius:19px;
  color:#f7f8fc; background:linear-gradient(112deg,#13253d 0%,#203b5d 68%,#315576 100%);
  box-shadow:0 12px 28px rgba(24,43,68,.15);
}
.px-hero::after { content:""; position:absolute; right:104px; top:-119px; width:280px; height:280px; border:1px solid rgba(255,255,255,.11); border-radius:50%; box-shadow:0 0 0 28px rgba(255,255,255,.025),0 0 0 58px rgba(255,255,255,.02); pointer-events:none; }
.px-hero > div:first-child { position:relative; z-index:1; max-width:760px; }
.px-eyebrow,.px-kicker { color:#4c7185; font-size:10px; font-weight:900; letter-spacing:1.35px; text-transform:uppercase; }
.px-eyebrow { color:#9bc1d4; margin-bottom:8px; }
.px-hero h2 { font-size:clamp(23px,3vw,32px); line-height:1.25; letter-spacing:-.55px; }
.px-hero p { max-width:680px; color:#d0dbe5; font-size:13px; line-height:1.75; margin-top:7px; }
.px-hero-mark { position:relative; z-index:1; width:75px; height:75px; flex:none; display:grid; place-items:center; border:1px solid rgba(255,255,255,.28); border-radius:22px; transform:rotate(-7deg); background:rgba(255,255,255,.08); }
.px-hero-mark span { font-family:ui-monospace,monospace; font-size:19px; font-weight:900; letter-spacing:2px; }
.px-hero-mark i { position:absolute; width:11px; height:11px; right:-4px; bottom:8px; border:3px solid #203b5d; border-radius:50%; background:#8cc7a6; }
.px-safety { display:flex; align-items:center; gap:14px; padding:14px 17px; margin-bottom:14px; border:1px solid #d4e5dd; border-radius:14px; background:#eff7f2; }
.px-safety-mark { flex:none; width:37px; height:37px; display:grid; place-items:center; border-radius:11px; color:#24684b; background:#dcefe4; font-family:ui-monospace,monospace; font-size:11px; font-weight:900; }
.px-safety strong { display:block; font-size:13px; color:#214c39; }
.px-safety p { margin-top:3px; color:#567162; font-size:11.5px; line-height:1.6; }
.px-readonly,.px-mode-pill { flex:none; margin-left:auto; padding:5px 9px; border-radius:999px; color:#276349; background:#dcefe4; font:800 9px ui-monospace,monospace; letter-spacing:.65px; }
.px-flow,.px-guide-card,.px-inspector,.px-explain { padding:19px 20px; }
.px-block-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; min-width:0; margin-bottom:14px; }
.px-block-heading h3 { margin-top:4px; font-size:16px; line-height:1.4; }
.px-block-note { color:#738094; font-size:10.5px; text-align:right; }
.px-flow-track { display:grid; grid-template-columns:minmax(100px,1fr) 26px minmax(130px,1.15fr) 26px minmax(100px,1fr) 26px minmax(100px,1fr); align-items:center; gap:4px; }
.px-flow-step { display:flex; min-height:93px; flex-direction:column; justify-content:center; padding:12px 13px; border:1px solid #e6ebf1; border-radius:12px; background:#fbfcfe; }
.px-flow-step small { color:#758195; font-size:9px; font-weight:800; letter-spacing:.25px; }
.px-flow-step b { margin-top:5px; font:700 14px ui-monospace,monospace; color:#27384e; }
.px-flow-step span { color:#718096; font-size:10px; margin-top:4px; line-height:1.4; }
.px-flow-server { background:#edf4f4; border-color:#d6e6e4; }
.px-flow-server b { color:#276052; }
.px-flow-vendor { background:#f5f2eb; border-color:#e9e1d1; }
.px-flow-vendor b { color:#775b2c; }
.px-flow-link { height:1px; background:#c8d2dc; position:relative; }
.px-flow-link::after { content:""; position:absolute; right:0; top:-3px; width:6px; height:6px; border-top:1px solid #9aa9b9; border-right:1px solid #9aa9b9; transform:rotate(45deg); }
.px-flow-caption { margin-top:12px; color:#66758a; font-size:11px; line-height:1.7; }
.px-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:14px; margin-top:14px; align-items:stretch; }
.px-grid > .card { min-width:0; }
.px-quiet-btn { min-height:32px; padding:6px 10px; font-size:11px; }
.px-guide-state { color:#707f91; font-size:11px; line-height:1.5; margin:-5px 0 10px; }
.px-guide-state.is-error { color:#a03945; }
.px-guide-state.is-loading::before { content:""; display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:#c49343; vertical-align:1px; animation:px-pulse 1s ease-in-out infinite alternate; }
@keyframes px-pulse { to { opacity:.35; transform:scale(.75); } }
.px-guide-content { display:grid; gap:9px; }
.px-guide-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.px-guide-fact { min-width:0; padding:9px 10px; border:1px solid #e9edf2; border-radius:10px; background:#fbfcfd; }
.px-guide-fact span { display:block; color:#788497; font-size:9.5px; }
.px-guide-fact b { display:block; margin-top:4px; color:#28384d; font-size:11.5px; overflow-wrap:anywhere; }
.px-guide-subhead { display:flex; justify-content:space-between; gap:8px; margin:3px 0 0; color:#47566c; font-size:10.5px; font-weight:800; }
.px-guide-subhead span { color:#8691a0; font-weight:600; }
.px-branch-list,.px-sync-list { display:grid; gap:5px; }
.px-guide-row { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:7px 9px; border-radius:8px; background:#f7f9fb; font-size:10.5px; }
.px-guide-row strong { color:#34445a; }
.px-guide-row span { color:#768398; text-align:right; overflow-wrap:anywhere; }
.px-sync-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.px-sync-item { min-width:0; padding:8px; border:1px solid #edf0f4; border-radius:9px; }
.px-sync-item b,.px-sync-item span { display:block; overflow-wrap:anywhere; }
.px-sync-item b { color:#45556c; font-size:10px; }
.px-sync-item span { margin-top:4px; color:#778397; font-size:9px; line-height:1.5; }
.px-inspector { background:#fbfcf9; border-color:#e2e9de; }
.px-mode-pill { color:#555f3b; background:#edf0dd; }
.px-inspector-intro { margin:-7px 0 15px; color:#6c7a6b; font-size:11px; line-height:1.6; }
.px-inspect-form { display:grid; gap:12px; }
.px-form-row { display:grid; grid-template-columns:1fr 1.2fr; gap:9px; }
.px-control { display:grid; gap:6px; min-width:0; }
.px-control > span { color:#546253; font-size:10.5px; font-weight:800; }
.px-control input,.px-control select { width:100%; min-width:0; height:40px; padding:0 11px; border:1px solid #dce4d8; border-radius:9px; outline:none; background:#fff; color:#29382d; font-size:12px; }
.px-control input:focus,.px-control select:focus { border-color:#76977d; box-shadow:0 0 0 3px rgba(78,128,91,.12); }
.px-control input { font-family:ui-monospace,monospace; font-variant-numeric:tabular-nums; }
.px-examples { display:flex; align-items:center; flex-wrap:wrap; gap:6px; color:#788477; font-size:9.5px; }
.px-example { border:1px solid #dfe6dc; border-radius:7px; padding:5px 7px; background:#fff; color:#4c644d; font:700 10px ui-monospace,monospace; cursor:pointer; }
.px-example:hover { border-color:#92ad92; background:#f2f7f0; }
.px-examples small { color:#919b8d; }
.px-submit-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.px-inspect-submit { min-height:40px; }
.px-request-note { color:#798377; font-size:10px; }
.px-inspect-submit:disabled,.px-quiet-btn:disabled { opacity:.58; cursor:wait; transform:none; box-shadow:none; }
.px-explain { margin-top:14px; }
.px-rule-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.px-rule { display:flex; align-items:flex-start; gap:10px; padding:12px; border:1px solid #ebeff2; border-radius:11px; background:#fcfdfd; }
.px-rule-wide { grid-column:1/-1; }
.px-rule-index { flex:none; width:25px; height:25px; display:grid; place-items:center; border-radius:8px; background:#eaf0f3; color:#476477; font:800 10px ui-monospace,monospace; }
.px-rule h4 { margin:1px 0 4px; color:#344458; font-size:11.5px; }
.px-rule p { color:#66758a; font-size:10.5px; line-height:1.75; }
.px-rule code,.px-result code { padding:1px 4px; border-radius:4px; background:#f0f3f4; color:#3e5e68; font:10px ui-monospace,monospace; overflow-wrap:anywhere; }
.px-results { display:grid; gap:12px; margin-top:14px; }
.px-result-card { min-width:0; padding:17px 19px; border:1px solid var(--border); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow); }
.px-result-card.is-error { border-color:#efcfd1; background:#fffafa; }
.px-result-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:12px; }
.px-result-head h3 { font-size:15px; }
.px-result-head p { margin-top:4px; color:#778397; font-size:10.5px; line-height:1.55; }
.px-status-chip { flex:none; padding:5px 9px; border-radius:999px; background:#e3f3e9; color:#276548; font-size:10px; font-weight:800; }
.px-status-chip.not_found { background:#fff1d7; color:#885e13; }
.px-status-chip.mismatch { background:#fbe9e8; color:#983e3b; }
.px-meta-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-bottom:12px; }
.px-meta-cell { min-width:0; padding:8px 9px; border-radius:8px; background:#f6f8fa; }
.px-meta-cell span,.px-meta-cell b { display:block; overflow-wrap:anywhere; }
.px-meta-cell span { color:#8290a0; font-size:9px; }
.px-meta-cell b { margin-top:3px; color:#415067; font:700 10.5px ui-monospace,monospace; }
.px-result-subtitle { display:flex; align-items:center; gap:8px; margin:14px 0 7px; color:#4b5a6d; font-size:11px; font-weight:800; }
.px-result-subtitle small { color:#8993a0; font-size:9.5px; font-weight:600; }
.px-result-table-wrap { width:100%; overflow-x:auto; border:1px solid #edf0f3; border-radius:9px; }
.px-result-table { width:100%; min-width:480px; border-collapse:collapse; font-size:10.5px; }
.px-result-table th { padding:8px; background:#f6f8fa; color:#758295; text-align:left; font-size:9px; white-space:nowrap; }
.px-result-table td { padding:8px; border-top:1px solid #edf0f3; color:#435168; vertical-align:top; overflow-wrap:anywhere; }
.px-result-table td:first-child { font-family:ui-monospace,monospace; }
.px-empty-note { padding:14px; border:1px dashed #dfe5e9; border-radius:9px; color:#758295; font-size:11px; line-height:1.6; }
.px-request-detail { display:grid; gap:6px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.px-request-detail > div { min-width:0; padding:8px; background:#f6f8fa; border-radius:8px; }
.px-request-detail span,.px-request-detail b { display:block; overflow-wrap:anywhere; }
.px-request-detail span { color:#8590a0; font-size:9px; }
.px-request-detail b { margin-top:3px; color:#46556a; font:700 10px ui-monospace,monospace; }
.px-redacted { color:#59667a; }
.px-json { max-height:310px; overflow:auto; padding:12px; border-radius:9px; background:#172638; color:#d6e4e8; font:10px/1.65 ui-monospace,monospace; white-space:pre; }
.px-advanced { margin-top:15px; padding:0; overflow:hidden; }
.px-advanced > summary { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:61px; padding:13px 18px; cursor:pointer; list-style:none; }
.px-advanced > summary::-webkit-details-marker { display:none; }
.px-advanced > summary::after { content:"＋"; flex:none; color:#728196; font-size:17px; font-weight:400; }
.px-advanced[open] > summary::after { content:"−"; }
.px-advanced > summary > span:first-child b,.px-advanced > summary > span:first-child small { display:block; }
.px-advanced > summary b { color:#4d5b6c; font-size:12px; }
.px-advanced > summary small { margin-top:3px; color:#8490a0; font-size:10px; }
.px-advanced-tag { padding:4px 7px; border-radius:6px; background:#f2f4f6; color:#7d8794; font:800 8px ui-monospace,monospace; letter-spacing:.7px; }
.px-advanced-body { padding:0 18px 18px; border-top:1px solid #edf0f3; }
.px-advanced-body .connection-banner { margin:14px 0; }
.px-advanced-body .api-actions { margin-top:14px; }
@media (max-width:900px) {
  .px-grid { grid-template-columns:1fr; }
}
@media (max-width:620px) {
  .px-hero { padding:22px 19px; }
  .px-hero-mark { width:58px; height:58px; border-radius:17px; }
  .px-hero::after { right:30px; }
  .px-safety { align-items:flex-start; flex-wrap:wrap; }
  .px-readonly { margin-left:auto; }
  .px-flow,.px-guide-card,.px-inspector,.px-explain { padding:15px 13px; }
  .px-flow-track { grid-template-columns:1fr; gap:6px; }
  .px-flow-step { min-height:67px; }
  .px-flow-link { width:1px; height:12px; margin-left:50%; }
  .px-flow-link::after { right:-3px; top:auto; bottom:0; transform:rotate(135deg); }
  .px-form-row { grid-template-columns:1fr; }
  .px-rule-grid { grid-template-columns:1fr; }
  .px-rule-wide { grid-column:auto; }
  .px-meta-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .px-request-detail { grid-template-columns:1fr; }
  .px-sync-grid { grid-template-columns:1fr; }
  .px-block-note { display:none; }
  .px-advanced-body { padding:0 12px 14px; }
}
@media (prefers-reduced-motion:reduce) {
  .px-guide-state.is-loading::before { animation:none; }
}
