/* Partner (affiliate) links - assets/partners/partners.js. Builder tokens from assets/builder/builder.css. */
.app-box { border: 1px solid var(--b-border, #1f2937); border-radius: 8px; padding: 12px; background: rgba(17, 24, 39, .6); }
.app-title { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--b-text, #f3f4f6); }
.app-row {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; margin-top: 8px; border: 1px solid var(--b-border-strong, #374151); border-radius: 8px;
  background: var(--b-surface-2, #111827); color: var(--b-text, #f3f4f6); text-decoration: none; transition: border-color .15s;
}
.app-row:hover { border-color: var(--b-accent, #10b981); }
.app-row:hover .app-cta { background: var(--b-accent-hover, #34d399); }
.app-row:focus-visible { outline: 2px solid var(--b-focus, #6ee7b7); outline-offset: 2px; }
.app-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: #fff; }
.app-logo--letter { display: grid; place-items: center; background: #1f2937; border: 1px solid #374151; color: var(--b-text, #f3f4f6); font-size: 16px; font-weight: 700; }
.app-text { display: grid; gap: 2px; min-width: 0; }
.app-name { font-size: 14px; font-weight: 600; }
.app-kind { margin-left: 8px; padding: 1px 6px; border: 1px solid #374151; border-radius: 4px; font-size: 10.5px; font-weight: 500; color: var(--b-muted, #9ca3af); vertical-align: 1px; }
.app-blurb { font-size: 12px; line-height: 1.4; color: var(--b-muted, #9ca3af); }
.app-cta { padding: 6px 10px; border-radius: 6px; background: var(--b-accent, #10b981); color: var(--b-on-accent, #03140d); font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .15s; }
@media (max-width: 420px) {   /* narrow: the button goes under the text */
  .app-row { grid-template-columns: 36px 1fr; }
  .app-cta { grid-column: 2; justify-self: start; }
}
.app-card .app-row { grid-template-columns: 36px 1fr; }   /* the after-export card is narrow too */
.app-card .app-cta { grid-column: 2; justify-self: start; }
.app-note { margin: 8px 0 0; font-size: 11px; line-height: 1.4; color: var(--b-muted, #9ca3af); }

/* The card after an export: bottom-left, clear of the toast (bottom-right). */
.app-card {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(340px, calc(100vw - 32px));
  padding: 14px 14px 12px; border: 1px solid var(--b-border-strong, #374151); border-radius: 10px;
  background: var(--b-surface, #0a101c); color: var(--b-text, #f3f4f6); box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  font-family: var(--b-font, system-ui, sans-serif);
}
@media (max-width: 640px) { .app-card { bottom: 88px; } }   /* above the bottom-centre toast */
.app-head { margin: 0 24px 4px 0; font-size: 14px; font-weight: 600; }
.app-lead { margin: 0 0 4px; font-size: 13px; line-height: 1.4; color: var(--b-text-2, #d1d5db); }
.app-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--b-muted, #9ca3af); font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 4px; }
.app-x:hover { color: var(--b-text, #f3f4f6); }
.app-actions { display: flex; gap: 14px; margin-top: 10px; }
.app-link { background: none; border: 0; padding: 0; font-size: 12px; color: var(--b-text-2, #d1d5db); text-decoration: underline; cursor: pointer; }
.app-link:hover { color: var(--b-text, #f3f4f6); }
