/* htmlsanitizer.fasthtmlparser.com and readability.fasthtmlparser.com, on top of style.css, site.css and markdown.css */

/* Tabs over the result panes */
.pane-tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); margin-right: auto; flex-wrap: wrap; }
.pane-tabs button {
  border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 7px; cursor: pointer;
}
.pane-tabs button[aria-selected="true"] { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.md-tools .md-note { margin-right: 0; }

/* What the sanitizer left out */
.removed { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0; font-size: 13px; color: var(--muted); }
.removed .tag-chip {
  font: 12px var(--mono); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-variant-ligatures: none;
}
.removed .tag-chip b { color: var(--accent); font-weight: 600; }

/* The metadata of the article */
.article-meta { margin: 14px 0; }
.article-meta dl {
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 14px;
}
.article-meta dt { color: var(--faint); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.article-meta dd { margin: 0; overflow-wrap: anywhere; }
.article-meta .none { color: var(--muted); background: var(--surface); border: 1px dashed var(--border); border-radius: 12px; padding: 16px; margin: 0; }
@media (max-width: 480px) { .article-meta dl { grid-template-columns: 1fr; } .article-meta dd { margin-bottom: 6px; } }

/* A preview of the result in a sandboxed frame */
.preview { display: block; width: 100%; height: 70vh; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.sub-note { font-size: 12.5px; color: var(--faint); margin: 6px 0 0; }
