/* Every statement and tax-return box on the tools: Portfolio Proposal (.pq-up), Retirement Planner (.pq-up) and the Roth
   calculator (.rq-up). One look in one file (Nov 19 2026; the rules were the Proposal page's, copied into each tool before).
   The rows are drawn by assets/upload.js. Words: content/site.json "upload" and each tool's own Reading / Read / Could not read it. */
.pq-up,.rq-up{background:var(--card);border-radius:8px;padding:22px 18px 18px;text-align:center;transition:box-shadow .2s,background-color .2s}
.pq-up.over,.rq-up.over{box-shadow:inset 0 0 0 2px var(--ink);background:var(--hover)}
.pq-up-top,.rq-up-top{display:flex;flex-direction:column;align-items:center;gap:2px}
.pq-up-top b,.rq-up-top b{font-size:15px;font-weight:600}
.pq-up-top span,.rq-up-top span{font-size:13px;color:var(--gray)}
.pq-up-ic,.rq-up-ic{width:36px;height:36px;border-radius:50%;background:#fff;display:grid;place-items:center;margin-bottom:8px;color:var(--ink2)}
.pq-up-ic svg,.rq-up-ic svg{width:18px;height:18px}
.pq-up.has .pq-up-top,.rq-up.has .rq-up-top{display:none}
.pq-up-rows,.rq-up-rows{text-align:left}
.pq-up-row,.rq-up-row{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--rule)}
.pq-up-row b,.rq-up-row b{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.pq-up-row .d,.rq-up-row .d{grid-column:1;font-size:12.5px;color:var(--gray)}
.pq-up-row .s,.rq-up-row .s{grid-row:1/3;grid-column:2;align-self:center;font-size:12.5px;font-weight:500;color:var(--gray);white-space:nowrap}
.pq-up-row .s.ok,.rq-up-row .s.ok{color:var(--ok)}
.pq-up-row .s.err,.rq-up-row .s.err{color:var(--err)}
.pq-up-row .s.busy,.rq-up-row .s.busy{color:var(--ink)}
.pq-up-ask,.rq-up-ask{text-align:left;background:#fff;border-radius:6px;padding:14px 14px 12px;margin-top:12px}
.pq-up-ask b,.rq-up-ask b{font-size:14px;font-weight:600}
.pq-up-ask p,.rq-up-ask p{font-size:12.5px;line-height:1.5;color:var(--ink2);margin:6px 0 0}
.pq-up-btns,.rq-up-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.pq-up-btns .rbtn,.rq-up-btns .rbtn{margin:0;height:40px;padding:0 10px;font-size:13.5px}
.pq-up-btn,.rq-up-btn{margin-top:14px;height:40px;background:#fff}
.pq-up.has .pq-up-btn,.rq-up.has .rq-up-btn{margin-top:12px}
.pq-up-mode,.rq-up-mode{font-size:12px;color:var(--gray);margin-top:10px}
.pq-up-mode button,.rq-up-mode button{text-decoration:underline;text-underline-offset:2px;color:var(--ink2);margin-left:4px}

/* while a file is read (Chris's option B, Nov 19 2026): a thin line moves under the file name, and after a few seconds
   (content/site.json upload.stillAfter) a grey line says it is still reading, so a long read never looks frozen */
.pq-up-row.busy,.rq-up-row.busy{border-bottom:0;padding-bottom:0}
.up-wait{grid-column:1/-1;display:block;height:2px;margin-top:8px;background:var(--rule);position:relative;overflow:hidden;border-radius:1px}
.up-wait::after{content:"";position:absolute;top:0;bottom:0;left:0;width:28%;background:var(--ink);border-radius:1px;transform:translateX(-100%);animation:upWait 1.6s cubic-bezier(.45,0,.55,1) infinite}
@keyframes upWait{to{transform:translateX(360%)}}
.up-still{display:block;max-height:0;opacity:0;overflow:hidden;animation:upStill .4s ease forwards;animation-delay:10s}
@keyframes upStill{to{max-height:3em;opacity:1}}
@media (prefers-reduced-motion:reduce){.up-wait::after{animation-duration:4s}}
