/* brw1: PRSXA works in your browser - composer chip, install popover, live work card */
.brw1-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:6px 12px;border-radius:8px;border:1px solid rgba(127,127,127,.35);background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}
.brw1-btn:hover{background:rgba(127,127,127,.1)}
.brw1-btn.brw1-pri{background:#3161E8;border-color:#3161E8;color:#fff}
.brw1-btn.brw1-pri:hover{background:#2752cc}
.brw1-card{margin:14px auto;max-width:760px;width:100%;box-sizing:border-box;border:1px solid rgba(127,127,127,.25);border-radius:14px;padding:14px 16px;background:rgba(127,127,127,.04)}
.brw1-card.brw1-live{border-color:rgba(49,97,232,.45);box-shadow:0 0 0 3px rgba(49,97,232,.08)}
.brw1-head{display:flex;align-items:center;gap:10px}
.brw1-head>svg{flex:0 0 auto}
.brw1-ht{flex:1;min-width:0;display:flex;flex-direction:column}
.brw1-ht strong{font-size:14px}
.brw1-status{font-size:12.5px;opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brw1-live .brw1-status::after{content:'';display:inline-block;width:12px;text-align:left;animation:brw1dots 1.2s steps(4) infinite}
@keyframes brw1dots{0%{content:''}25%{content:'.'}50%{content:'..'}75%{content:'...'}}
.brw1-time{font-size:12px;opacity:.65;font-variant-numeric:tabular-nums}
.brw1-stop{min-height:28px;padding:4px 10px;font-size:12.5px;color:#b91c1c;border-color:rgba(220,38,38,.35)}
.brw1-stop:hover{background:rgba(220,38,38,.08)}
.brw1-task{margin:10px 0 8px;padding:8px 11px;border-radius:9px;background:rgba(49,97,232,.07);font-size:13.5px;white-space:pre-wrap;word-break:break-word}
.brw1-body{display:flex;flex-direction:column;gap:8px}
.brw1-shot{border-radius:9px;overflow:hidden;border:1px solid rgba(127,127,127,.25);max-height:180px;cursor:zoom-in;background:#000}
.brw1-shot img{display:block;width:100%;height:auto;object-fit:cover;object-position:top}
.brw1-shot.brw1-big{max-height:none;cursor:zoom-out}
.brw1-list{list-style:none;margin:0;padding:0;display:grid;gap:5px;max-height:320px;overflow-y:auto}
.brw1-step{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;line-height:1.4}
.brw1-dot{flex:0 0 18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid rgba(127,127,127,.35);box-sizing:border-box}
.brw1-run .brw1-dot{border-color:#3161E8;border-right-color:transparent;animation:brw1spin .8s linear infinite}
.brw1-ok .brw1-dot{border:0;background:#16a34a;color:#fff}
.brw1-fail .brw1-dot{border:0;background:#dc2626;color:#fff}
.brw1-wait .brw1-dot{border-color:#f59e0b}
.brw1-say{flex:1;min-width:0;word-break:break-word}
.brw1-why{flex:1 1 100%;margin-left:26px;font-size:12px;color:#dc2626}
@keyframes brw1spin{to{transform:rotate(360deg)}}
.brw1-ask{border:1px solid rgba(245,158,11,.5);background:rgba(245,158,11,.08);border-radius:10px;padding:10px 12px}
.brw1-ask-q{font-size:13.5px;margin-bottom:8px;word-break:break-word}
.brw1-ask-a{display:flex;gap:8px;flex-wrap:wrap}
.brw1-ask-done{border-color:rgba(127,127,127,.25);background:transparent}
.brw1-ask-r{font-size:12.5px;opacity:.75}
.brw1-answer{font-size:14.5px;line-height:1.6;border-top:1px solid rgba(127,127,127,.2);padding-top:10px;word-break:break-word}
.brw1-answer p{margin:0 0 8px}
.brw1-answer ul{margin:0 0 8px 18px;padding:0}
.brw1-answer code{background:rgba(127,127,127,.15);border-radius:4px;padding:1px 5px;font-size:13px}
.brw1-answer a,.brw1-link{color:#3161E8}
.brw1-end-msg{font-size:13px;opacity:.9}
.brw1-end-msg.brw1-bad{color:#dc2626;opacity:1}
.brw1-foot{font-size:12px;opacity:.65;margin-top:8px}
.brw1-foot:empty{display:none}
@media (max-width:640px){.brw1-card{padding:12px}.brw1-head{flex-wrap:wrap}.brw1-time{order:3}}
@media (prefers-reduced-motion:reduce){.brw1-run .brw1-dot,.brw1-live .brw1-status::after{animation:none}}
.brw1-btn.brw1-wide{width:100%;min-height:40px;font-size:14px}
/* brw1c: saved answers + typed replies */
.brw1-done{max-width:760px;margin:10px auto 2px;width:100%;box-sizing:border-box;padding:0 4px}
.brw1-done-h{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(127,127,127,.28);background:rgba(127,127,127,.05);color:inherit;opacity:.85;border-radius:999px;padding:5px 11px;font:inherit;font-size:12.5px;cursor:pointer}
.brw1-done-h:hover{opacity:1;background:rgba(49,97,232,.08)}
.brw1-done-h[aria-expanded="true"] .brw1-chev{transform:rotate(90deg)}
.brw1-chev{transition:transform .15s}
.brw1-done-list{margin:8px 0 0 6px;max-height:none}
.brw1-ask-in{display:block;width:100%;box-sizing:border-box;margin:0 0 8px;border:1px solid rgba(127,127,127,.4);border-radius:8px;padding:8px 10px;font:inherit;font-size:13.5px;background:transparent;color:inherit;resize:none;outline:none}
.brw1-ask-in:focus{border-color:#3161E8;box-shadow:0 0 0 3px rgba(49,97,232,.15)}
.brw1-done-list[hidden]{display:none}

/* brw1d: Settings > Install app > PRSXA for Chrome, and the one-line pointer above the message box */
.brw1-set{display:block;margin-top:16px}
.brw1-set>*+*{margin-top:16px}
.brw1-set-card{border:1px solid rgba(127,127,127,.22);border-radius:14px;padding:16px 18px}
.brw1-set-t{font-weight:700;font-size:14px;margin-bottom:10px}
.brw1-st{display:flex;align-items:center;gap:8px;font-size:13.5px;padding:9px 12px;border-radius:10px;margin-bottom:12px}
.brw1-st svg{flex:0 0 auto}
.brw1-st-on{background:rgba(22,163,74,.08);color:#15803d}
.brw1-st-off{background:rgba(127,127,127,.08)}
.brw1-st b{font-weight:700}
.brw1-sw{display:flex;align-items:flex-start;gap:12px;cursor:pointer;padding:4px 0 12px;border-bottom:1px solid rgba(127,127,127,.15);margin-bottom:12px}
.brw1-sw input{position:absolute;opacity:0;width:1px;height:1px}
.brw1-sw-ui{flex:0 0 38px;height:22px;border-radius:999px;background:rgba(127,127,127,.35);position:relative;transition:background .15s;margin-top:1px}
.brw1-sw-ui::after{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}
.brw1-sw input:checked+.brw1-sw-ui{background:#3161E8}
.brw1-sw input:checked+.brw1-sw-ui::after{transform:translateX(16px)}
.brw1-sw input:focus-visible+.brw1-sw-ui{outline:2px solid #4A7BFF;outline-offset:2px}
.brw1-sw-tx{display:flex;flex-direction:column;gap:3px;font-size:14px}
.brw1-sw-tx small{font-size:12.5px;opacity:.75;line-height:1.45}
.brw1-hint{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:8px 10px 8px 12px;border:1px solid rgba(49,97,232,.28);background:rgba(49,97,232,.06);border-radius:10px;font-size:13px}
.brw1-hint>svg{flex:0 0 auto;color:#3161E8}
.brw1-hint span{flex:1;min-width:0}
.brw1-link-btn{border:0;background:transparent;color:#3161E8;font:inherit;font-weight:600;cursor:pointer;padding:2px 4px;white-space:nowrap}
.brw1-hint .brw1-x{border:0;background:transparent;color:inherit;opacity:.6;cursor:pointer;padding:4px;border-radius:6px;display:flex}
.brw1-hint .brw1-x:hover{opacity:1;background:rgba(127,127,127,.12)}
#composer-input[aria-busy="true"]{opacity:.7}
@media (max-width:560px){.brw1-hint{flex-wrap:wrap}}
/* aex1: list icons use the page's own 20px tick chip (no override); rows and gaps match the other Install app cards */
.brw1-set .pa1-perks:last-child{margin-bottom:0}
.brw1-set .brw1-row{padding:2px 0 14px;margin:0 0 12px;border-top:0;border-bottom:1px solid var(--pxs-line,rgba(127,127,127,.15))}

/* brw2: steps as a timeline, each with its own picture (newest open) */
.brw1-card .brw1-shot{display:none!important}
.brw1-list{max-height:none;overflow:visible;gap:2px}
.brw1-step{padding:4px 0}
.brw1-thumb{flex:0 0 auto;width:52px;height:32px;padding:0;border:1px solid rgba(127,127,127,.3);border-radius:6px;overflow:hidden;background:#000;cursor:pointer}
.brw1-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.brw1-open .brw1-thumb{outline:2px solid #3161E8;outline-offset:1px}
.brw1-stepshot{display:none;flex:1 1 100%;margin:6px 0 4px 26px;border-radius:9px;overflow:hidden;border:1px solid rgba(127,127,127,.25);max-height:240px;cursor:zoom-in;background:#000}
.brw1-stepshot img{display:block;width:100%;height:auto}
.brw1-stepshot.brw1-big{max-height:none;cursor:zoom-out}
.brw1-open .brw1-stepshot{display:block}
@media (max-width:640px){.brw1-stepshot{margin-left:0;max-height:200px}.brw1-thumb{width:44px;height:28px}}
.msg-row.brw1-dup,#msg-wrap>.brw1-dup{display:none!important} /* brw2c */
/* btn1: Add PRSXA to Chrome button (Apps & extensions card only) */
.brw1-add-wrap{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 18px!important}
.brw1-add-wrap .brw1-add{display:inline-flex!important;width:auto!important;flex:0 0 auto;min-height:42px;padding:0 18px 0 10px;border-radius:10px;font-size:14px;font-weight:600;gap:10px;text-decoration:none;box-shadow:0 1px 2px rgba(16,24,40,.08),0 3px 10px rgba(49,97,232,.22);transition:box-shadow .15s ease,filter .15s ease,transform .1s ease}
.brw1-add-wrap .brw1-add:hover{filter:brightness(1.06);box-shadow:0 2px 4px rgba(16,24,40,.1),0 6px 18px rgba(49,97,232,.3)}
.brw1-add-wrap .brw1-add:active{transform:translateY(1px)}
.brw1-add-wrap .brw1-add .brw1-chrome{width:22px;height:22px;flex:none;padding:2px;background:#fff;border-radius:50%;box-sizing:content-box}
.brw1-add-note{font-size:12.5px;color:var(--pxs-muted,var(--app-muted,rgba(110,116,130,1)))}
@media (max-width:520px){.brw1-add-wrap .brw1-add{width:100%!important;justify-content:center}.brw1-add-note{width:100%;text-align:center}}
@media (prefers-reduced-motion:reduce){.brw1-add-wrap .brw1-add{transition:none}}
/* btn1b: Add PRSXA to Chrome sized to its content (beats the kit's grow rule) */
.pa1-acts.brw1-add-wrap{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px 14px!important;margin:12px 0 16px!important;width:100%}
.pa1-acts.brw1-add-wrap > a.pa1-btn.brw1-add{flex:0 0 auto!important;width:auto!important;max-width:100%!important;min-width:0!important;align-self:center!important;justify-content:center!important;height:40px;min-height:40px;padding:0 18px 0 8px!important;border-radius:8px!important;gap:9px!important;font-size:14px;font-weight:600;line-height:1;white-space:nowrap}
.pa1-acts.brw1-add-wrap > a.pa1-btn.brw1-add > span{display:inline-block}
.pa1-acts.brw1-add-wrap > a.pa1-btn.brw1-add .brw1-chrome{width:20px!important;height:20px!important;padding:2px;margin:0}
.pa1-acts.brw1-add-wrap > .brw1-add-note{flex:0 1 auto;width:auto;text-align:left;line-height:1.35}
@media (max-width:520px){.pa1-acts.brw1-add-wrap > a.pa1-btn.brw1-add{flex:1 1 100%!important;width:100%!important}.pa1-acts.brw1-add-wrap > .brw1-add-note{flex:1 1 100%;text-align:center}}
/* btn1c: Chrome chip on the PRSXA for Chrome card title */
.pxc-t{display:inline-flex;align-items:center;gap:9px}
.pxc-ic{width:24px;height:24px;flex:none;display:inline-grid;place-items:center;border-radius:7px}
.pxc-cr{background:#fff;box-shadow:0 0 0 1px var(--pxs-line,rgba(127,127,127,.25))}
.pxc-cr svg{width:16px;height:16px}
.pxc-t{gap:11px} /* ico2 */
.pxc-ic{width:30px;height:30px;border-radius:8px} /* ico2 */
.pxc-dev{background:linear-gradient(135deg,#3161E8,#4A7BFF);color:#fff;box-shadow:0 1px 2px rgba(26,58,158,.22)} /* ico2 */
.pxc-dev svg{width:17px;height:17px} /* ico2 */
.pxc-cr{background:#fff;box-shadow:0 0 0 1px var(--pxs-line,rgba(127,127,127,.25)),0 1px 2px rgba(0,0,0,.08)} /* ico2 */
.pxc-cr svg{width:20px;height:20px} /* ico2 */
@media (max-width:600px){.pxc-ic{width:28px;height:28px}.pxc-dev svg{width:16px;height:16px}.pxc-cr svg{width:19px;height:19px}} /* ico2 */
