/* Text Summarizer v2 — layered on aiwa-paraphrase.css (shared app shell) */
.summarizer-page .pp-output { font-size: 16px; line-height: 1.85; }
.sm-tldr { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 12px 16px; border: 1px solid #bfe0c9; border-radius: 12px; background: var(--aiwa-brand-soft); color: var(--aiwa-ink); font-size: 15px; line-height: 1.6; }
.sm-tldr b { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: var(--aiwa-brand); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; line-height: 1.5; margin-top: 2px; }
.sm-points, .sm-sentences { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.sm-points li { position: relative; padding-left: 22px; }
.sm-points li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--aiwa-brand); }
.sm-sentences { counter-reset: sm; }
.sm-sentences li { position: relative; padding: 8px 12px 8px 44px; border-radius: 10px; cursor: pointer; transition: background-color 120ms; }
.sm-sentences li::before { counter-increment: sm; content: counter(sm); position: absolute; left: 10px; top: 9px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--aiwa-brand-soft); color: var(--aiwa-brand-dark); font-size: 12px; font-weight: 800; }
.sm-sentences li:hover { background: #f1f6f3; }
.sm-inline-point { padding-left: 18px; }
.pp-output.is-editing .pp-p { margin: 0 0 0.6em; }
.summarizer-page .pp-backdrop .pp-fz { background: rgba(19, 122, 61, 0.13); box-shadow: inset 0 -2px 0 rgba(19, 122, 61, 0.55); transition: background-color 120ms; }
.summarizer-page .pp-backdrop .pp-fz.is-active { background: rgba(19, 122, 61, 0.3); }
.pp-switch.is-disabled { opacity: 0.45; pointer-events: none; }
.sm-length .pp-synonyms-value { min-width: 52px; }
.sm-stat b { color: var(--aiwa-brand-dark); }
@media (max-width: 900px) {
  .sm-tldr { padding: 10px 12px; font-size: 14.5px; }
  .sm-sentences li { padding-left: 40px; }
}
.summarizer-page #smHighlightToggle[aria-pressed="true"] { color: var(--aiwa-brand-dark); }
.summarizer-page #smHighlightToggle[aria-pressed="true"] .changes-swatch { background: var(--aiwa-brand); box-shadow: 0 0 0 3px rgba(19, 122, 61, 0.16); }
.summarizer-page .pp-switch-text { display: inline; }
