/* brw4: step pictures like Claude - text steps, a picture stack on the summary line, full-screen viewer */
.brw4-on .brw1-list .brw1-thumb,.brw4-on .brw1-list .brw1-stepshot{display:none!important}
.brw4-on .brw1-list{gap:0}
.brw4-on .brw1-step{padding:5px 8px;margin:0 -8px;border-radius:8px}
.brw4-on .brw1-step.brw4-pic{cursor:pointer}
.brw4-on .brw1-step.brw4-pic:hover{background:rgba(127,127,127,.09)}
.brw4-on .brw1-done{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.brw4-on .brw1-done>.brw1-done-list{flex:1 1 100%;margin-top:6px}

.brw4-stack{display:inline-flex;align-items:center;flex:0 0 auto;margin-left:auto;padding:3px;border:0;border-radius:9px;background:transparent;cursor:zoom-in;color:inherit;font:inherit}
.brw4-stack:hover{background:rgba(127,127,127,.1)}
.brw4-stack:focus-visible{outline:2px solid #3161E8;outline-offset:2px}
.brw4-th{display:block;width:42px;height:28px;border-radius:6px;overflow:hidden;background:#fff;border:1px solid rgba(127,127,127,.35);box-shadow:0 1px 3px rgba(16,24,40,.18);flex:none}
.brw4-th+.brw4-th{margin-left:-14px}
.brw4-th img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.brw4-th-wait{background:linear-gradient(90deg,rgba(127,127,127,.12),rgba(127,127,127,.22),rgba(127,127,127,.12));background-size:200% 100%;animation:brw4sh 1.2s linear infinite}
@keyframes brw4sh{to{background-position:-200% 0}}
.brw4-more{margin-left:7px;font-size:12px;font-weight:600;opacity:.7;font-variant-numeric:tabular-nums}
.brw1-head .brw4-stack{margin-left:0}

.brw4-view{position:fixed;inset:0;z-index:2147483000;background:rgba(10,12,18,.9);display:flex;flex-direction:column;color:#fff;animation:brw4in .15s ease-out}
@keyframes brw4in{from{opacity:0}to{opacity:1}}
.brw4-x{position:absolute;top:16px;right:16px;width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(255,255,255,.35);background:rgba(255,255,255,.06);color:#fff;display:grid;place-items:center;cursor:pointer;z-index:2}
.brw4-x:hover{background:rgba(255,255,255,.16)}
.brw4-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:72px 24px 12px}
.brw4-img{max-width:min(1100px,100%);max-height:100%;width:auto;height:auto;border-radius:12px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.5);object-fit:contain}
.brw4-wait{font-size:14px;opacity:.8}
.brw4-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:14px 24px 22px}
.brw4-cap{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brw4-nav{display:flex;align-items:center;gap:14px}
.brw4-nav button{width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer}
.brw4-nav button:hover:not([disabled]){background:rgba(255,255,255,.12)}
.brw4-nav button[disabled]{opacity:.3;cursor:default}
.brw4-n{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;min-width:96px;text-align:center}
.brw4-view button:focus-visible{outline:2px solid #8fb0ff;outline-offset:2px}
@media (max-width:640px){
  .brw4-th{width:36px;height:24px}.brw4-th+.brw4-th{margin-left:-12px}
  .brw4-stage{padding:64px 10px 8px}.brw4-img{border-radius:8px}
  .brw4-bar{grid-template-columns:1fr;justify-items:center;gap:6px;padding:10px 12px 18px}
  .brw4-cap{max-width:100%;text-align:center;font-weight:500;opacity:.9}.brw4-sp{display:none}
  .brw4-x{top:10px;right:10px}
}
@media (prefers-reduced-motion:reduce){.brw4-view{animation:none}.brw4-th-wait{animation:none}}
