/* Impact report sections shared by #impact and #journey (impact-parts.js). Amber = the AI's share only. */
.imp-src-bars{list-style:none;margin:0 0 var(--s2);padding:0;display:grid;gap:6px;max-width:620px}
.imp-src-bars li{display:grid;grid-template-columns:150px 1fr 48px;align-items:center;gap:var(--s3);font-size:14px}
.imp-src-l{color:var(--ink-2)}
.imp-src-bars b{font:500 14px var(--mono);text-align:right}
.imp-src-b{all:unset;cursor:pointer;height:14px;background:transparent;position:relative}
.imp-src-b:disabled{cursor:default}
.imp-src-b:focus-visible{outline:2px solid var(--act);outline-offset:2px}
.imp-src-b i{position:absolute;inset:0 auto 0 0;width:var(--w);background:linear-gradient(90deg,var(--ai) 0 var(--hot),var(--line-2) var(--hot) 100%)}
.imp-src-key i{display:inline-block;width:10px;height:10px;background:var(--ai);vertical-align:-1px}
.imp-src{max-width:620px;margin-top:var(--s3)}
@media (max-width:560px){.imp-src-bars li{grid-template-columns:96px 1fr 36px}.imp-src th,.imp-src td{font-size:14px}}
.jy-src{margin-top:var(--s6)}
.imp-speed,.imp-weeks{max-width:none}
.imp-spd{width:30%;min-width:80px;position:relative}
/* the bar starts after the cell's own padding: at 0 it sat on the "of 23" before it and read "of 231" */
.imp-spd i{position:absolute;top:50%;height:6px;margin-top:-3px;left:calc(var(--s3) + var(--a) * .8);width:calc((var(--b) - var(--a)) * .8 + 2px);background:var(--ai)}
.imp-weeks td,.imp-weeks th{padding-left:var(--s3)}
.imp .imp-ledger.imp-speed,.imp .imp-ledger.imp-weeks{max-width:none;width:100%}
.imp .imp-ledger.imp-src{max-width:720px}
.imp .imp-ledger.imp-weeks{min-width:760px}
.imp .imp-ledger.imp-weeks th,.imp .imp-ledger.imp-speed th[scope=col]{white-space:nowrap;padding-right:var(--s3)}
.imp .imp-ledger.imp-speed td{white-space:nowrap;padding-left:var(--s3)}
.imp-stocktbl{overflow-x:auto}
