/* Portuguese intent pages, wave 2 (18/11/2026), written by pt-wave2-build.mjs. The page under hero B uses
   /best-res-dc-i18n/best-res-dc.css (fresh look); this file only adds the two pieces that sheet does not have:
   the username builder (.pw-build) and the request log (.pw-log), plus the byline line under the mobile hero.
   Same tokens (white cards, violet #4B3FD6 accents, 20px radius, soft shadow). Every motion has a still final state and
   stops with prefers-reduced-motion; nothing changes size after the first paint (the builder line keeps one height). */

html.qd-bx main .pw-byline-sec{padding-top:28px}
html.qd-bx main .pw-byline{margin:0;font-size:15px;line-height:1.5;color:var(--bx-muted)}
html.qd-bx main .pw-byline a{color:var(--bx-violet)}
html.qd-bx main .pw-byline time{white-space:nowrap}

/* username builder: pick an option per row, the username line changes */
html.qd-bx main .pw-build{margin:22px 0 0;padding:20px 20px 18px;border:1px solid var(--bx-line);border-radius:var(--bx-r);background:#fff;box-shadow:var(--bx-shadow)}
html.qd-bx main .pw-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:center;padding:8px 0}
html.qd-bx main .pw-row + .pw-row{border-top:1px solid rgba(14,18,32,.06)}
html.qd-bx main .pw-gl{font:600 14px/1.3 var(--font-body,'Inter',sans-serif);color:var(--bx-muted)}
html.qd-bx main .pw-opts{display:flex;flex-wrap:wrap;gap:8px}
html.qd-bx main .pw-opt{min-height:44px;padding:0 15px;border:1px solid var(--bx-line);border-radius:999px;background:#fff;font:500 15px/1 var(--font-body,'Inter',sans-serif);color:var(--bx-body);cursor:pointer;transition:border-color .2s ease,background .2s ease,color .2s ease}
html.qd-bx main .pw-opt:hover{border-color:rgba(75,63,214,.45);color:var(--bx-violet)}
html.qd-bx main .pw-opt[aria-pressed="true"]{background:var(--bx-violet-soft);border-color:var(--bx-violet);color:var(--bx-violet);font-weight:600}
html.qd-bx main .pw-opt:focus-visible{outline:2px solid var(--bx-violet);outline-offset:2px}
html.qd-bx main .pw-out{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:center;margin:12px 0 0;padding:14px 0 0;border-top:1px solid var(--bx-line);max-width:none}
html.qd-bx main .pw-out code{display:block;min-height:3.2em;padding:10px 14px;border-radius:12px;background:#0E1220;color:#E8ECF7;font:500 14.5px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere;transition:background-color .35s ease}
html.qd-bx main .pw-out code.pw-flash{background:#231d6b}

/* request log: rows light up one after the other while the block is on screen */
html.qd-bx main .pw-log{margin:22px 0 0;border:1px solid var(--bx-line);border-radius:var(--bx-r);background:#fff;box-shadow:var(--bx-shadow);overflow-x:auto;-webkit-overflow-scrolling:touch}
html.qd-bx main .pw-log:focus-visible{outline:2px solid var(--bx-violet);outline-offset:3px}
html.qd-bx main .pw-log table{width:100%;min-width:560px;margin:0;border-collapse:collapse;font-size:15px;line-height:1.45}
html.qd-bx main .pw-log th,html.qd-bx main .pw-log td{padding:12px 16px;text-align:left;border-top:1px solid rgba(14,18,32,.07);color:var(--bx-body)}
html.qd-bx main .pw-log thead th{border-top:0;background:#F7F6FF;color:var(--bx-ink);font-weight:600;white-space:nowrap}
html.qd-bx main .pw-log tbody th{font-weight:600;color:var(--bx-ink);white-space:nowrap}
html.qd-bx main .pw-log td code{font:500 14px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--bx-ink);background:none;padding:0}
html.qd-bx main .pw-log tbody tr{transition:background-color .35s ease,box-shadow .35s ease}
html.qd-bx main .pw-log tbody tr.pw-on{background:#F4F2FF;box-shadow:inset 3px 0 0 var(--bx-violet)}
html.qd-bx main .pw-log-foot{margin:0;padding:10px 16px 14px;font-size:14px;line-height:1.5;color:var(--bx-muted);max-width:none}

@media (max-width:860px){
  html.qd-bx main .pw-row,html.qd-bx main .pw-out{grid-template-columns:1fr;gap:8px}
  html.qd-bx main .pw-build{padding:16px 14px}
  html.qd-bx main .pw-out code{min-height:4.7em}
}
@media (prefers-reduced-motion:reduce){
  html.qd-bx main .pw-opt,html.qd-bx main .pw-out code,html.qd-bx main .pw-log tbody tr{transition:none}
}

/* a code sample (curl, Python) in a dark card */
html.qd-bx main pre.pw-code{margin:20px 0 0;padding:18px 20px;border-radius:var(--bx-r);background:#0E1220;color:#E8ECF7;overflow-x:auto;-webkit-overflow-scrolling:touch;box-shadow:var(--bx-shadow)}
html.qd-bx main pre.pw-code code{display:block;font:500 14px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:inherit;background:none;padding:0;white-space:pre}

/* the six-pack price ladder of the mobile pages on a phone: smaller figures that may wrap, so six columns fit 390 px */
@media (max-width:560px){
  html.qd-bx main.pw .bx-ladder{gap:4px;padding:14px 8px 12px}
  html.qd-bx main.pw .bx-ladder b{font-size:12.5px;white-space:normal;line-height:1.25}
  html.qd-bx main.pw .bx-ladder span{font-size:12.5px}
}
