/* Shared pending-link list used by Crop, Studio and Collect.
   Reads tool colour and control tokens.
   Keeps the original panel-grid placement; wider surfaces opt out of its gutter. */
  /* links that couldn't be fetched (renderFailedLinks): one short list, an × on each row */
  /* links that couldn't be imported (renderFailedLinks), on the panel grid: the Open all button 32–200 and the bin in
     the cell 200–232; rows 28 px from the icon slot (4) to the content's edge + 4 (236): dot in the icon column, the
     link from 32, its × in the cell 200–232; one line of what to do under them */
  .fail-links-head{ display:flex; align-items:center; height:var(--ctl-h); }
  .fail-open-all{ width:168px; height:var(--ctl-h); justify-content:center; white-space:nowrap; flex:none; }
  .fail-clear{ flex:none; width:24px; height:24px; margin-left:4px; display:grid; place-items:center; border:none; background:none; color:var(--text-muted); border-radius:var(--radius); cursor:pointer; padding:0; }
  .fail-clear:hover{ background:var(--bg-hover); color:var(--danger); }
  .fail-clear .icon{ width:var(--icon-size, 16px); height:var(--icon-size, 16px); stroke:currentColor; fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
  .fail-list{ list-style:none; margin:8px -4px 0 -28px; padding:0; }
  .fail-row{ display:grid; grid-template-columns:24px minmax(0, 1fr) 24px; column-gap:4px; align-items:center; height:28px; padding:0 8px 0 0; border-radius:var(--radius); }
  .fail-row:hover{ background:var(--bg-hover); }
  .fail-dot{ justify-self:center; width:4px; height:4px; border-radius:50%; background:var(--text-muted); }
  .fail-row.is-open .fail-dot{ background:var(--accent); }   /* opened: its picture is on the way */
  .fail-url{ overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:var(--ctl-font-sm); line-height:16px; color:var(--text-secondary); text-decoration:none; }
  .fail-url b{ font-weight:var(--title-weight); color:var(--text); }
  .fail-url:hover{ color:var(--text); }
  .fail-x{ width:24px; height:24px; display:grid; place-items:center; border:none; background:none; color:var(--text-muted); cursor:pointer; border-radius:var(--radius); padding:0; }
  .fail-x:hover{ background:rgb(var(--shadow-rgb) / .08); color:var(--danger); }
  .fail-x .icon{ width:12px; height:12px; stroke:currentColor; fill:none; stroke-width:2; }
  .fail-links-how{ margin-top:8px; line-height:16px; }
  .fail-links-blocked{ display:block; color:var(--accent); }
