/* הגרף החי של הסיוע האמריקאי (scripts/lib/post-art/us-aid.mjs). */
.ua-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ua-modes { justify-content: center; }
.ua-out { margin-top: 14px; }
.post__body .ua-out .pa-rows strong { direction: rtl; }
.ua-key { display: inline-block; width: 10px; height: 10px; margin-inline-end: 6px; border-radius: 2px; vertical-align: baseline; }
.ua-key--aid { background: var(--red); }
.ua-key--md { background: var(--yellow); }
.post__body .ua-note { min-height: 3em; margin: 10px 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ink); }

.ua-svg { display: block; width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.ua-svg text { font-family: var(--font-body); }
.ua-tick { font-size: 10.5px; font-weight: 600; fill: var(--ink-muted); }
.ua-grid { fill: none; stroke: rgba(46, 8, 16, 0.16); stroke-width: 0.8; stroke-dasharray: 3 4; }
.ua-base { fill: none; stroke: rgba(46, 8, 16, 0.5); stroke-width: 1; }
.ua-cursor { fill: rgba(217, 162, 58, 0.32); }
.ua-aid { fill: var(--red); }
.ua-md { fill: var(--yellow); }
.ua-plan { fill: #fffaf0; stroke: var(--red); stroke-width: 0.9; }
.ua-plan--draft { stroke-dasharray: 1.6 1.4; }
.ua-dot { fill: #fffaf0; stroke: var(--yellow-deep); stroke-width: 1.4; }
.ua-hit { fill: transparent; cursor: pointer; touch-action: pan-y; }

.ua-range { display: block; width: 100%; margin: 6px 0 0; accent-color: var(--red); }
.ua-portraits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr));
  gap: 6px;
  margin-top: 14px;
}
.ua-portrait {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 58px;
  padding: 5px;
  border: 1px solid #ded1c5;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.post__body .ua-portrait img {
  display: block;
  width: 2.625rem;
  height: 2.625rem;
  margin: 0;
  flex: none;
  border: 1px solid #ded1c5;
  border-radius: 50%;
  background: var(--bg);
}
.ua-portrait__text { display: grid; gap: 2px; font-size: 0.8125rem; line-height: 1.18; }
.ua-portrait__text strong { font-size: 0.875rem; font-weight: 800; }
.ua-portrait__text span { color: var(--ink-soft); }
.ua-portrait:hover { border-color: var(--red); }
.ua-portrait.is-on { background: #f8ecee; border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
@media (min-width: 620px) {
  .ua-portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ua-portrait { gap: 8px; padding: 6px; }
  .post__body .ua-portrait img { width: 3rem; height: 3rem; }
}
.ua-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ua-chip { padding: 6px 10px; font: inherit; font-size: 0.875rem; font-weight: 700; line-height: 1.3; color: var(--ink); background: #fff; border: 1.5px solid var(--red-ink); border-radius: 7px 9px 6px 8px; cursor: pointer; }
.ua-chip.is-on { background: var(--red-ink); color: #fffaf0; }
.ua-portrait:focus-visible, .ua-chip:focus-visible, .ua-range:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
