/* Subscriptions page rules that used to be inline style="…" attributes.
   The Content-Security-Policy (_headers) has no style-src 'unsafe-inline'. */

.table-controls-wrap.subs-controls {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 1rem 0;
}
.subs-count { font-size: 0.9rem; color: var(--text-faint); font-weight: 600; }
.subs-controls .search-input-wrap { min-width: 280px; }
.notes.subs-notes { margin-top: 2.5rem; }
/* Methodology title: an h2 for the outline, styled like the <strong> it replaced (.notes strong) */
.notes h2.subs-notes-title {
  display: block;
  margin: 0 0 0.5rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: inherit;
}

/* Markup rendered by subscriptions.js */
.subs-load-error {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid #ef4444;
  border-radius: var(--r-md);
  color: #ef4444;
}
.subs-empty-cell { text-align: center; padding: 3rem 1rem; color: var(--text-dim); }
.subs-empty-title { font-size: 1.1rem; font-weight: 600; }
.subs-empty-hint { font-size: 0.85rem; color: var(--text-faint); margin-top: 0.5rem; }
.subs-empty-reset { margin-top: 1rem; display: inline-block; }
.plan-best-for { margin-bottom: 0.85rem; color: var(--text); font-size: 0.92rem; line-height: 1.5; }

/* Plan name rendered by subscriptions.js as a button that opens the details drawer: looks like the old
   .sub-provider-cell .plan a link (styles.css). */
.sub-provider-cell .plan-details-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.sub-provider-cell .plan-details-btn:hover { color: var(--primary); text-decoration: underline; }
/* Link to a plan's own per-model page (opencode-go.html) */
.plan-page-link { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--primary); }
.plan-page-link:hover { text-decoration: underline; }

/* Without JavaScript the plan table is hidden (styles.css, .no-js): explain why instead of showing nothing */
.subs-noscript {
  margin: 1rem 0 2rem;
  padding: 1.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text-dim);
}
.subs-noscript strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: .35rem; }
.subs-noscript a { text-decoration: underline; text-underline-offset: 3px; }
