/* Summarizer content and rhythm within the approved Humanizer page structure. */
.summarizer-page { --summary-title-gap: 36px; --summary-paragraph-gap: 28px; --summary-media-gap: 64px; --summary-section-gap: 160px; }
.summary-capture a { display: block; }
.prompt-template .summary-capture { border: 0; box-shadow: none; }
.prompt-template .prompt-guide-example > a { display: inline-block; margin-top: 20px; }
.summary-excerpt { max-width: 736px; margin: var(--summary-media-gap) auto 0; color: var(--story-ink); font: 400 18px/1.65 var(--sans); }
.summary-excerpt p { margin-bottom: 24px; }
.summary-excerpt ul { margin: 0; padding-left: 22px; }
.summary-excerpt li + li { margin-top: 20px; }
.summarizer-page .prompt-example-studio [data-copy-example] { color: var(--story-ink); border-color: #aebac7; background: transparent; }
.summarizer-page .prompt-template .prompt-example-studio__sheet-footer [data-example-customize] { color: #fff; border-color: var(--story-ink); background: var(--story-ink); }
@media (max-width: 767px) {
  .summary-excerpt { font-size: 16px; line-height: 1.65; }
}

/* Reused from the approved homepage Clico Web composer in surface-page.css. */
.web-ready-composer {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(680px, 100%);
  min-height: 120px;
  margin: 0 auto;
  padding: 16px 16px 8px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 24px;
  align-content: start;
  grid-template-rows: auto auto;
  gap: 8px;
  background: var(--surface-field);
  box-shadow: var(--shadow-field);
  backdrop-filter: blur(20px);
  transition: box-shadow .2s ease, transform .2s ease;
}

.web-ready-composer:focus-within {
  box-shadow: var(--shadow-field-focus);
  transform: translateY(-2px);
}

.web-ready-composer > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.web-ready-composer textarea {
  appearance: none;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 116px;
  padding: 2px 4px;
  overflow-y: hidden;
  overscroll-behavior: contain;
  resize: none;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--text-primary);
  background: transparent;
  box-shadow: none;
  font: 500 16px/1.4 var(--sans);
}

.web-ready-composer textarea::placeholder { color: var(--text-muted); }

.web-ready-composer textarea:hover,
.web-ready-composer textarea:focus,
.web-ready-composer textarea:focus-visible {
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.web-ready-composer__controls {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.web-ready-composer__actions { position: relative; gap: 12px; }

.web-ready-composer__actions > button {
  display: inline-grid;
  min-height: 44px;
  padding: 3px 3px 3px 15px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 17px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 10px;
  color: #12223b;
  background: rgba(247, 249, 247, .9);
  box-shadow:
    0 12px 28px rgba(64, 82, 112, .14),
    inset 0 1px 1px rgba(255, 255, 255, .98),
    inset 0 -1px 1px rgba(100, 117, 143, .1);
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.web-ready-composer__actions > button > span {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  place-items: center;
  color: #28476f;
  background: #9db7dc;
  box-shadow:
    0 5px 12px rgba(57, 82, 121, .18),
    inset 0 1px 2px rgba(255, 255, 255, .68),
    inset 0 -1px 2px rgba(50, 77, 116, .16);
  font-size: 18px;
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}


.summary-web-entry { width: min(680px, calc(100% - 40px)); margin: 24px auto 0; text-align: center; }
.summary-web-entry .web-ready-composer { text-align: left; }
.summary-web-entry .web-ready-composer textarea { height: 88px; min-height: 88px; overflow-y: auto; }

.summary-web-note, .summary-extension-entry { color: var(--text-secondary); font: 400 14px/1.6 var(--sans); }
.summary-web-note { margin: 16px auto 0; }
.summary-extension-entry { margin: 20px auto 0; }
.summary-extension-entry a { color: var(--text-primary); text-underline-offset: 3px; }
.web-ready-composer button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.web-ready-composer button:disabled { opacity: .6; cursor: default; }
@media (max-width: 767px) {
  .summarizer-page .prompt-hero h1 { font-size: clamp(32px, 7.5vw, 48px); }
  .summarizer-page .prompt-template #prompt-jobs-title { font-size: clamp(32px, 9.75vw, 38px); }
  .summary-web-entry { margin-top: 20px; }
  .summary-web-entry .web-ready-composer { padding: 14px 12px 8px; }
  .summary-web-entry .web-ready-composer__controls { gap: 8px; }
  .summary-web-note, .summary-extension-entry { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .web-ready-composer, .web-ready-composer__actions > button, .web-ready-composer__actions > button > span { transition: none; }
  .web-ready-composer:focus-within { transform: none; }
}

.summary-add-files { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 4px; border: 0; color: var(--text-primary); background: transparent; font: 500 13px/1.4 var(--sans); cursor: pointer; white-space: nowrap; }
.summary-add-files > span { font-size: 23px; font-weight: 400; }
.summary-file-list { display: grid; gap: 6px; max-height: 100px; margin: 0; padding: 0 4px; overflow-y: auto; list-style: none; }
.summary-file-list[hidden] { display: none; }
.summary-file-list li { display: flex; align-items: center; gap: 10px; min-width: 0; font: 400 13px/1.5 var(--sans); }
.summary-file-list li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-file-list button { flex-shrink: 0; width: 32px; height: 32px; margin-left: auto; border: 0; border-radius: 50%; color: var(--text-primary); background: transparent; cursor: pointer; font-size: 18px; }
.summary-file-status { margin: 12px auto 0; color: var(--text-secondary); font: 400 13px/1.5 var(--sans); }
.summary-file-status:empty { display: none; }

.summary-file-name { display: grid; min-width: 0; gap: 2px; padding: 5px 0; }
.summary-file-name strong { overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.summary-file-name > span { color: var(--text-muted); font-size: 11px; }

/* Source-specific examples within the approved comparison and guide frames. */
.summary-proof-picker { display: flex; justify-content: center; gap: 8px; margin: var(--summary-media-gap) 0 32px; }
.summary-proof-picker button { min-height: 44px; padding: 10px 24px; border: 1px solid var(--story-line); border-radius: 24px; color: var(--story-ink); background: transparent; font: 500 15px/1.4 var(--sans); cursor: pointer; }
.summary-proof-picker button[aria-pressed="true"] { background: var(--story-ink); color: #fff; }
.summary-proof-picker button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.prompt-template .summary-main-proof { margin-top: 0; }
.summary-main-proof figcaption a { color: inherit; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 1439px) {
  .summarizer-page .prompt-page-nav { position: relative; top: auto; margin-left: 20px; }
}

/* Match the Humanizer related-tools alignment. */
.summarizer-page .prompt-template #more-ai-tools,
.summarizer-page .prompt-template #more-ai-tools h2 { text-align: center; }
.summarizer-page .prompt-template #more-ai-tools .story-tools-links { justify-content: center; margin-inline: auto; }
.summarizer-page .prompt-template #more-ai-tools .story-tools-all { margin-inline: auto; }

/* Use space to distinguish a paragraph, a media example, and a new topic. */
.summarizer-page .prompt-hero .tools-detail-hero__lede { margin-top: 28px; }
.summarizer-page .summary-web-entry { margin-top: 32px; }
.summarizer-page .prompt-template .feature-copy { border: 0; padding-top: 0; }
.summarizer-page .prompt-template .feature-item--humanize-comparison .feature-copy > p { margin-top: var(--summary-title-gap); }
.summarizer-page .prompt-template .features { padding-bottom: 0; }
.summarizer-page .prompt-template .prompt-extension-bridge,
.summarizer-page .prompt-template .prompt-workspace { margin-top: var(--summary-section-gap); }
.summarizer-page .prompt-template .prompt-extension-bridge h2 { margin-bottom: var(--summary-title-gap); }
.summarizer-page .prompt-template .prompt-workspace .story-asset-media { margin-top: var(--summary-media-gap); }
.summarizer-page .prompt-template .prompt-example-studio,
.summarizer-page .prompt-template .prompt-writing-guide,
.summarizer-page .prompt-template .humanize-faq { padding-block: var(--summary-section-gap) 0; }
.summarizer-page .prompt-template .prompt-example-studio__intro > p { margin-top: var(--summary-title-gap); }
.summarizer-page .prompt-example-studio__layout { gap: var(--summary-media-gap); }
.summarizer-page .prompt-example-studio__sheet { min-height: var(--example-sheet-height, 0px); padding: 48px; border: 0; }
.summarizer-page .prompt-template .prompt-example-studio__prompt { margin-block: 32px 40px; }
.summarizer-page .prompt-template .prompt-example-studio__prompt ul { margin-top: 24px; }
.summarizer-page .prompt-template .prompt-example-studio__prompt li + li { margin-top: 12px; }
.summarizer-page .prompt-template .prompt-example-studio__sheet-footer { margin-top: 0; }
.summarizer-page .prompt-template .prompt-example-studio__sheet-footer p { margin-top: 16px; }
.summarizer-page .prompt-template #prompt-guide > .story-container > .feature-copy > p { margin-top: var(--summary-title-gap); }
.summarizer-page .prompt-template #prompt-guide .prompt-template-guides { margin-top: 104px; }
.summarizer-page .prompt-template #prompt-guide .prompt-template-guide + .prompt-template-guide { margin-top: var(--summary-section-gap); }
.summarizer-page .prompt-template #prompt-guide .prompt-template-guide > h3 { margin-bottom: var(--summary-title-gap); }
.summarizer-page .prompt-template #prompt-guide .prompt-template-guide-body > p { margin-bottom: var(--summary-paragraph-gap); max-width: 62ch; }
.summarizer-page .prompt-template #prompt-guide .prompt-guide-example { margin-top: var(--summary-media-gap); }
.summarizer-page .prompt-template #prompt-guide .prompt-guide-example > p { margin-bottom: 12px; font: 500 14px/1.6 var(--sans); }
.summarizer-page .prompt-template #prompt-guide .prompt-guide-example blockquote { max-width: 62ch; color: var(--story-muted); font: 400 18px/1.75 var(--sans); }
.summarizer-page .prompt-template #prompt-guide .prompt-guide-example > :is(a, button) { margin-top: 20px; min-height: 44px; display: inline-flex; align-items: center; }
.summarizer-page .prompt-template .humanize-faq .faq-row { border: 0; }
.summarizer-page .prompt-template .humanize-faq .faq-row > button { min-height: 80px; padding-block: 22px; }
.summarizer-page .prompt-template .humanize-faq .faq-row__answer p { padding-bottom: 40px; }
.summarizer-page .prompt-template #more-ai-tools { padding-block: 128px 0; }
.summarizer-page .prompt-template #more-ai-tools .story-tools-links { margin-top: 48px; gap: 16px; }
.summarizer-page .prompt-template #more-ai-tools .story-tools-all { margin-top: 40px; }
.summarizer-page .prompt-template .home-final-cta { margin-top: 0; padding-block: var(--summary-section-gap) 144px; }
.summarizer-page .prompt-template .home-final-cta p { margin-block: 40px; }
@media (max-width: 767px) {
  .summarizer-page { --summary-title-gap: 28px; --summary-paragraph-gap: 24px; --summary-media-gap: 48px; --summary-section-gap: 112px; }
  .summarizer-page .prompt-hero .tools-detail-hero__lede { margin-top: 24px; }
  .summarizer-page .summary-web-entry { margin-top: 24px; }
  .summarizer-page .prompt-template .prompt-workspace .feature-copy > p { margin-top: var(--summary-title-gap); }
  .summarizer-page .prompt-template #prompt-guide .prompt-template-guides { margin-top: 80px; }
  .summarizer-page .prompt-example-studio__layout { gap: 36px; }
  .summarizer-page .prompt-template #prompt-guide .prompt-guide-example blockquote { font-size: 16px; }
  .summarizer-page .prompt-example-studio__sheet { padding: 28px 24px; }
  .summarizer-page .prompt-template .prompt-example-studio__prompt { margin-block: 28px 32px; }
  .summarizer-page .prompt-template .prompt-example-studio__actions { flex-wrap: wrap; gap: 12px; }
  .summarizer-page .prompt-template .prompt-example-studio__actions > :is(a,button) { flex: 1 1 144px; }
  .summarizer-page .prompt-template .humanize-faq .faq-row > button { min-height: 80px; padding-block: 22px; }
  .summarizer-page .prompt-template #more-ai-tools { padding-top: 104px; }
  .summarizer-page .prompt-template #more-ai-tools .story-tools-links { margin-top: 40px; gap: 12px; }
  .summarizer-page .prompt-template .home-final-cta { padding-bottom: 104px; }
  .summarizer-page .prompt-template .home-final-cta p { margin-block: 32px; }
}

/* Reuse the Humanizer rear browser and foreground product scene. */
.summarizer-page .summary-main-proof { margin: 0; }
.summarizer-page .prompt-template .summary-editorial { margin: 0; overflow: hidden; background: #e1e7ed; border-radius: 18px; }
.summarizer-page .summary-editorial > .story-humanize-demo__background { border-radius: inherit; max-height: 1040px; }
.summarizer-page .summary-editorial .story-humanize-demo__stage { padding: 0; margin: 0; }
.summarizer-page .summary-editorial .story-humanize-demo__document { height: 130%; }
.summarizer-page .summary-editorial .story-humanize-demo__browser-bar { height: 38px; min-height: 38px; }
.summarizer-page .summary-editorial .story-humanize-demo__browser-bar b { display: flex; min-height: 22px; align-items: center; justify-content: center; color: #687587; font: 400 12px/1.2 var(--sans); }
.summarizer-page .summary-editorial__source { padding: 30px 6%; }
.summarizer-page .summary-editorial__source > * { max-width: 70%; }
.summarizer-page .prompt-template .summary-editorial__meta { margin: 0 0 14px; color: #687587; font: 400 12px/1.5 var(--sans); }
.summarizer-page .prompt-template .summary-editorial__source h3 { margin: 0 0 20px; color: #2b3440; font: 500 26px/1.18 Georgia, serif; letter-spacing: -.025em; }
.summarizer-page .summary-editorial[data-source="page"] .summary-editorial__source h3 { font-family: var(--sans); font-size: 25px; font-weight: 600; }
.summarizer-page .prompt-template .summary-editorial__passage,
.summarizer-page .prompt-template .summary-editorial__continuation p,
.summarizer-page .prompt-template .summary-editorial__article-lead > p { margin: 0 0 16px; color: #3f4d60; font: 400 13px/1.65 var(--sans); }
.summarizer-page .prompt-template .summary-editorial__continuation h4 { margin: 22px 0 12px; color: #2b3440; font: 600 15px/1.4 var(--sans); letter-spacing: 0; }
.summarizer-page .summary-editorial [data-source-content] { display: none; }
.summarizer-page .summary-editorial[data-source="page"] [data-source-content="page"],
.summarizer-page .summary-editorial[data-source="file"] [data-source-content="file"] { display: block; }
.summarizer-page .summary-editorial[data-source="page"] .summary-editorial__article-lead { display: grid; grid-template-columns: 43% 1fr; gap: 16px; align-items: start; margin-bottom: 18px; }
.summarizer-page .summary-editorial__article-lead figure { margin: 0; }
.summarizer-page .summary-editorial__article-lead figure > img { position: static; display: block; width: 100%; height: auto; border-radius: 2px; }
.summarizer-page .prompt-template .summary-editorial__article-lead figcaption { margin: 6px 0 0; color: #687587; font: 400 9px/1.4 var(--sans); }
.summarizer-page .summary-editorial__passage mark { padding: 1px 0; color: inherit; background: rgba(188,215,248,.6); }
.summarizer-page .summary-editorial .story-humanize-demo__plugin { top: 6%; left: 64.5%; width: 27%; padding: 0; border: 0; overflow: visible; background: transparent; }
.summarizer-page .summary-editorial .summary-editorial__product > img { position: relative; display: block; width: 100%; height: auto; border: 0; border-radius: 0; clip-path: none; }
.summarizer-page .summary-editorial .summary-editorial__product .story-humanize-demo__prompt { display: flex; top: 76.4%; bottom: auto; height: 8.2%; font-size: clamp(10px, 4.25cqw, 12.5px); }
.summarizer-page .summary-editorial__product::before { display: none; }
.summarizer-page .summary-editorial .summary-editorial__product > .summary-editorial__page-card { position: absolute; top: 8.35%; left: 3.95%; z-index: 2; width: 92.1%; height: auto; }
.summarizer-page .summary-editorial .summary-editorial__product > .summary-editorial__page-card[hidden] { display: none; }
.summarizer-page .summary-editorial__docs { display: none; }
.summarizer-page .summary-editorial__docs > img { position: static; width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; }
.summarizer-page .summary-editorial[data-source="file"] .summary-editorial__docs { display: flex; height: 56px; padding: 12px 18px; }
.summarizer-page .summary-editorial[data-source="file"] .story-humanize-demo__document { background: #f5f7f9; }
.summarizer-page .summary-editorial[data-source="file"] .summary-editorial__source { margin: 16px 5%; padding: 6%; min-height: 100%; background: #fff; box-shadow: 0 1px 4px rgba(60,64,67,.12); }
.summarizer-page .summary-editorial__pdf { display: none; }
.summarizer-page .summary-editorial[data-source="paper"] .summary-editorial__pdf { display: block; height: 100%; padding: 0 6%; background: #e9edf1; }
.summarizer-page .summary-editorial__pdf-toolbar { display: flex; justify-content: space-between; padding: 14px 0; color: #596779; font: 400 12px/1.3 var(--sans); }
.summarizer-page .summary-editorial__pdf-viewport { overflow: hidden; height: 100%; }
.summarizer-page .summary-editorial__pdf-viewport > img { position: static; display: block; width: 100%; height: auto; margin-top: -20%; object-fit: contain; opacity: .82; box-shadow: 0 2px 8px rgba(43,52,64,.08); }
.summarizer-page .summary-editorial[data-source="paper"] .summary-editorial__source { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
@media (min-width: 1024px) and (max-width: 1199px) {
 .summarizer-page .prompt-template .summary-editorial { aspect-ratio: 1.5; }
 .summarizer-page .summary-editorial .story-humanize-demo__document { left: 2%; width: 75%; top: 6%; height: 115%; }
 .summarizer-page .summary-editorial .story-humanize-demo__plugin { top: 6%; left: 55%; width: 42%; }
 .summarizer-page .summary-editorial__source > * { max-width: 58%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
 .summarizer-page .prompt-template .summary-editorial { aspect-ratio: 1.2; padding: 0; }
 .summarizer-page .summary-editorial .story-humanize-demo__stage { position: absolute; inset: 0 4%; }
 .summarizer-page .summary-editorial .story-humanize-demo__document { top: 6%; left: 0; width: 78%; height: 105%; }
 .summarizer-page .summary-editorial .story-humanize-demo__plugin { top: 6%; right: 0; left: auto; width: 47%; margin: 0; }
 .summarizer-page .summary-editorial__source { padding: 24px; }
 .summarizer-page .summary-editorial__source > * { max-width: 54%; }
 .summarizer-page .prompt-template .summary-editorial__source h3 { font-size: 23px; }

}
@media (max-width: 767px) {
 .summarizer-page .prompt-template .summary-editorial { aspect-ratio: auto; padding: 20px 0; overflow: visible; background: transparent; }
 .summarizer-page .summary-editorial .story-humanize-demo__stage { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0,1fr); align-items: start; }
 .summarizer-page .summary-editorial .story-humanize-demo__document { position: relative; inset: auto; grid-area: 1 / 1; width: calc(100% - 12px); height: 720px; border-radius: 12px; }
 .summarizer-page .summary-editorial .story-humanize-demo__browser-bar { height: 34px; min-height: 34px; }
 .summarizer-page .summary-editorial__source { padding: 22px; }
 .summarizer-page .summary-editorial__source > * { max-width: none; }
 .summarizer-page .prompt-template .summary-editorial__source h3 { font-size: 22px; margin-bottom: 18px; }
 .summarizer-page .summary-editorial .story-humanize-demo__plugin { position: relative; inset: auto; grid-area: 1 / 1; width: calc(100% - 12px); max-width: 320px; margin: 500px 0 0 auto; }
 .summarizer-page .summary-editorial[data-source="file"] .summary-editorial__source { margin-top: 8px; }
 .summarizer-page .summary-editorial[data-source="file"] .summary-editorial__meta { display: none; }
 .summarizer-page .summary-editorial[data-source="file"] .story-humanize-demo__docs-menu { display: none; }
 .summarizer-page .summary-editorial[data-source="paper"] .summary-editorial__pdf { padding-inline: 12px; }
}

@media (max-width: 767px) {
 .summarizer-page .summary-editorial[data-source="file"] .story-humanize-demo__plugin { margin-top: 380px; }
 .summarizer-page .summary-editorial[data-source="paper"] .story-humanize-demo__plugin { margin-top: 420px; }
}
@media (max-width: 359px) {
 .summarizer-page .summary-editorial[data-source="page"] .story-humanize-demo__plugin { margin-top: 580px; }
 .summarizer-page .summary-editorial[data-source="file"] .story-humanize-demo__plugin { margin-top: 440px; }
}

/* Readable source examples in the existing editorial guide. */
.summarizer-page .prompt-template #prompt-guide .summary-reading-example { max-width: 62ch; }
.summarizer-page .prompt-template #prompt-guide .summary-reading-example ol { margin: 20px 0 32px; padding-left: 22px; color: var(--story-ink); font: 400 17px/1.75 var(--sans); }
.summarizer-page .prompt-template #prompt-guide .summary-reading-example li + li { margin-top: 16px; }
.summarizer-page .prompt-template #prompt-guide .summary-reading-example blockquote + p { margin-top: 24px; color: var(--story-muted); font-size: 14px; }
@media (max-width: 767px) {
  .summarizer-page .prompt-template #prompt-guide .summary-reading-example ol { font-size: 16px; }
}

/* Source guides reuse the actual Humanizer panel with editable result states. */
.summarizer-page .prompt-template #prompt-guide #prompt-guide-title { max-width: none; white-space: nowrap; font-size: clamp(25px, 5vw, 64px); }
.summarizer-page .prompt-template #prompt-guide .summary-guide-visual { position: relative; isolation: isolate; width: 100%; height: 460px; margin: 0 0 40px; padding: 0; overflow: hidden; }
.summary-guide-visual__page { position: absolute; top: 12px; left: 0; width: 79%; height: 404px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(43,52,64,.07); }
.summary-guide-visual__bar { display: flex; align-items: center; height: 34px; padding: 0 20px; background: #f5f7f9; color: #5a6a7c; font: 400 11px/1.4 var(--sans); }
.summary-guide-visual__source { padding: 24px; }
.summary-guide-visual__source > * { max-width: 71%; }
.summarizer-page .prompt-template #prompt-guide .summary-guide-visual__source h4 { margin: 0 0 14px; color: #293746; font: 600 24px/1.18 Georgia, serif; letter-spacing: -.025em; }
.summarizer-page .prompt-template #prompt-guide .summary-guide-visual__source p { margin: 0 0 14px; color: #455467; font: 400 13px/1.6 var(--sans); }
.summarizer-page .prompt-template #prompt-guide .summary-guide-visual__source .summary-source-meta { color: #657487; font-size: 10px; margin-bottom: 18px; }
.summary-guide-visual__source mark { color: inherit; background: #e1eaf6; box-decoration-break: clone; }
.summary-source-photo { float: left; width: 38%; height: 120px; object-fit: cover; margin: 0 16px 10px 0; border-radius: 3px; }
.summary-source-post { margin-bottom: 22px; }
.summary-source-post b { display: block; margin-bottom: 6px; color: #334257; font: 500 11px/1.4 var(--sans); }
.summary-source-reply { padding-left: 18px; border-left: 2px solid #e1e6ec; }
.summary-source-notes { margin: 0; font: 400 13px/1.5 var(--sans); }
.summary-source-notes dt { margin-top: 16px; color: #68778a; font-size: 11px; }
.summary-source-notes dd { margin: 4px 0 0; color: #35465b; }
.summary-guide-visual__source .summary-source-paper { position: absolute; top: 48px; left: 5%; width: 67%; max-width: none; }
.summary-source-paper img { display: block; width: 100%; height: auto; }
.summary-guide-visual__clico { position: absolute; top: 38px; right: 0; width: 34%; container-type: inline-size; }
.summary-guide-visual__clico > img { display: block; width: 100%; height: auto; }
.summary-guide-visual__request { position: absolute; top: 76.4%; left: 4.6%; display: flex; align-items: flex-start; width: 90%; height: 8.2%; padding: 3px 5px; border-radius: 5px; background: #eaf0f7; color: #52677f; font: 400 clamp(9px,4.25cqw,12.5px)/1.25 var(--sans); }
.summary-demo-chat { position: absolute; inset: 8.4% 4.3% 25%; padding: 10px 6px; overflow: hidden; color: #334257; background: linear-gradient(#e7ecf3, #dee5ee); transition: opacity .24s ease; font-family: var(--sans); }
.summary-demo-user { width: fit-content; max-width: 100%; margin: 0 0 12px auto; padding: 6px 8px; border-radius: 8px; background: #f2f5fa; font: 400 clamp(10px, 4.7cqw, 12px)/1.4 var(--sans); }
.summary-demo-busy { position: absolute; display: flex; align-items: center; gap: 7px; padding-top: 3px; opacity: 0; font: 400 11px/1.4 var(--sans); }
.summary-demo-busy i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; animation: summary-guide-thinking .9s ease-in-out infinite paused; }
.summary-demo-busy i:nth-child(2) { animation-delay: .12s; }
.summary-demo-busy i:nth-child(3) { animation-delay: .24s; }
@keyframes summary-guide-thinking { 0%, 80%, 100% { opacity: .35; } 40% { opacity: 1; } }
.summary-demo-answer > * { transition: opacity .26s ease, transform .26s ease; }
.summarizer-page .prompt-template #prompt-guide .summary-demo-answer h4 { margin: 0 0 10px; color: #334257; font: 600 clamp(13px, 6cqw, 15px)/1.3 var(--sans); font-family: var(--sans) !important; letter-spacing: 0; }
.summarizer-page .prompt-template #prompt-guide .summary-demo-answer p { margin: 0 0 10px; color: #43536a; font: 400 clamp(11px, 5.1cqw, 12.5px)/1.45 var(--sans); }
.summary-demo-answer strong { color: #334257; font-weight: 600; }
.summary-demo-equation { display: inline-block; margin-bottom: 5px; color: #2e4058; font: 400 16px/1.4 Georgia, serif; }
.summarizer-page .prompt-template #prompt-guide .summary-demo-answer .summary-demo-citation { font-size: clamp(9px, 4.3cqw, 10.5px); color: #607087; margin-bottom: 0; }
.summary-guide-visual[data-demo-state="request"] .summary-demo-chat { opacity: 0; }
.summary-guide-visual[data-demo-state="thinking"] .summary-demo-busy { opacity: 1; }
.summary-guide-visual[data-demo-state="thinking"][data-demo-playing="true"] .summary-demo-busy i { animation-play-state: running; }
.summary-guide-visual:is([data-demo-state="request"], [data-demo-state="thinking"]) .summary-demo-answer > *,
.summary-guide-visual[data-demo-state="writing"] .summary-demo-last { opacity: 0; transform: translateY(4px); }
.summary-demo-replay { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; border: 0; color: #52677f; background: transparent; cursor: pointer; font: 400 12px/1.4 var(--sans); }
.summary-demo-replay > span { font-size: 18px; }
.summary-demo-replay:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; border-radius: 5px; }
.summary-guide-visual[data-demo-visible="false"] :is(.summary-demo-chat, .summary-demo-answer > *) { transition: none; }
.summary-demo-transcript, .summary-pdf-transcript { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.summary-pdf-viewer { position: absolute; inset: 0 0 44px; overflow: hidden; border: 1px solid #d6dee6; border-radius: 12px; background: #dce3eb; }
.summary-pdf-titlebar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; background: #f5f7f9; color: #536277; font: 500 11px/1.4 var(--sans); }
.summary-pdf-titlebar svg { width: 14px; height: 18px; flex: 0 0 auto; }
.summary-pdf-titlebar > span:first-of-type { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.summary-pdf-count { flex: 0 0 auto; margin-left: auto; font-weight: 400; }
.summary-pdf-thumbnails { position: absolute; top: 56px; left: 12px; width: 5.6%; display: grid; gap: 18px; color: #5a697b; text-align: center; font: 400 10px/1.5 var(--sans); }
.summary-pdf-thumbnails img { display: block; width: 100%; height: auto; margin-bottom: 4px; outline: 1px solid #b6c3d2; outline-offset: 3px; }
.summary-pdf-thumbnails .is-current img { outline-color: #8298b4; outline-width: 2px; }
.summary-pdf-pages { position: absolute; top: 54px; left: 9%; width: 56%; }
.summary-pdf-pages img { display: block; width: 100%; height: auto; box-shadow: 0 3px 10px rgba(32,46,62,.1); }
.summarizer-page .prompt-template #prompt-guide .summary-guide-result { margin-top: 36px; }
.summarizer-page .prompt-template #prompt-guide .summary-guide-result blockquote + p { margin-top: 20px; font: 400 14px/1.65 var(--sans); color: var(--story-muted); }
.summarizer-page .summary-source-evidence a { text-decoration: underline; text-underline-offset: 3px; }
.summarizer-page .prompt-template #prompt-guide #file-summaries .prompt-guide-example { margin-top: 16px; }
/* Source formats retain their own reading structure within the shared frame. */
.summarizer-page .prompt-template #prompt-guide .summary-guide-visual:is([data-guide-visual="x"],[data-guide-visual="author"],[data-guide-visual="reddit"],[data-guide-visual="forum"]) .summary-guide-visual__source h4 { font-family: var(--sans) !important; font-size: 21px; letter-spacing: -.025em; line-height: 1.3; }
.summary-source-thread { padding-left: 18px; border-left: 2px solid #e3e7ed; }
.summary-source-thread .summary-source-post { position: relative; }
.summary-source-thread .summary-source-post::before { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #a5b2c2; left: -22px; top: 4px; }
.summary-source-table { width: 71%; border-collapse: collapse; table-layout: fixed; color: #43536a; font: 400 13px/1.6 var(--sans); }
.summary-source-table :is(th,td) { padding: 11px 8px; border-bottom: 1px solid #e5e9ee; vertical-align: top; text-align: left; }
.summary-source-table th { color: #53667c; font-weight: 500; background: #f5f7f9; }
.summary-source-table :is(th,td):first-child { width: 64px; padding-left: 10px; }
.summary-source-log { display: grid; grid-template-columns: 70px 1fr; gap: 18px 12px; color: #43536a; font: 400 13px/1.6 var(--sans); }
.summary-source-log dt { margin: 0; color: #657487; font-size: 11px; padding-top: 2px; }
.summary-source-log dd { margin: 0; }
.summary-source-log small { display: block; margin-top: 6px; color: #657487; font-size: 10px; }
.summary-demo-answer mark { background: #e1eaf6; color: inherit; box-decoration-break: clone; }
@media (max-width: 767px) {
 .summarizer-page .prompt-template #prompt-guide .summary-guide-visual { display: flex; flex-direction: column; height: auto; margin-bottom: 36px; }
 .summary-guide-visual__page { position: relative; top: 0; width: 100%; height: auto; flex-shrink: 0; }
 .summary-guide-visual__bar { padding-inline: 16px; font-size: 10px; }
 .summary-guide-visual__source { display: flow-root; padding: 18px; }
 .summary-guide-visual__source > * { max-width: none; }
 .summarizer-page .prompt-template #prompt-guide .summary-guide-visual__source h4 { font-size: 20px; }
 .summarizer-page .prompt-template #prompt-guide .summary-guide-visual__source p { font-size: 12px; line-height: 1.5; }
 .summary-source-post { margin-bottom: 18px; }
 .summary-source-post b { font-size: 10px; margin-bottom: 4px; }
 .summary-source-notes { display: grid; grid-template-columns: 76px 1fr; gap: 12px 8px; font-size: 12px; }
 .summary-source-notes dt, .summary-source-notes dd { margin: 0; }
 .summary-source-table { width: 100%; font-size: 12px; }
 .summary-source-table :is(th,td) { padding-block: 8px; }
 .summary-source-log { font-size: 12px; gap: 16px 10px; }
 .summary-guide-visual__clico { position: relative; inset: auto; width: calc(100% - 16px); margin: -10px auto 0; flex-shrink: 0; overflow: hidden; border-radius: 16px; background: #dfe6ef; }
 .summary-guide-visual__clico > img { position: absolute; top: 0; left: 0; }
 .summary-guide-visual__request { padding: 6px 8px; font-size: clamp(12px, 3.5vw, 15px); }
 .summary-demo-chat { position: relative; inset: auto; margin: 13cqw 4.3% 0; padding: 14px 10px 24px; }
 .summary-guide-visual__request { display: none; }
 .summary-guide-visual[data-demo-state="request"] .summary-demo-chat { opacity: 1; }
 .summary-demo-user { font-size: clamp(12px, 3.5vw, 15px); margin-bottom: 16px; }
 .summarizer-page .prompt-template #prompt-guide .summary-demo-answer h4 { font-size: clamp(16px, 5vw, 20px); margin-bottom: 14px; }
 .summarizer-page .prompt-template #prompt-guide .summary-demo-answer p { font-size: clamp(13px, 4vw, 16px); margin-bottom: 14px; }
 .summarizer-page .prompt-template #prompt-guide .summary-demo-answer .summary-demo-citation { font-size: clamp(11px, 3.3vw, 13px); }
 .summary-demo-equation { font-size: clamp(18px, 5.5vw, 22px); }
 .summary-demo-replay { position: static; align-self: flex-end; margin-top: 4px; }
 .summary-pdf-viewer { position: relative; inset: auto; width: 100%; height: 270px; flex-shrink: 0; }
 .summary-pdf-thumbnails { display: none; }
 .summary-pdf-pages { top: 20px; left: -5%; width: 110%; }
 .summary-guide-visual[data-guide-visual="paper"] .summary-guide-visual__page { height: calc((100vw - 32px) * 1.05 + 8px); }
 .summary-guide-visual__source .summary-source-paper { top: calc(34px - (100vw - 32px) * .17); left: -30%; width: 160%; }
 .summary-source-photo { float: none; width: 100%; max-width: 100%; height: 130px; object-fit: contain; background: #070b12; margin: 0 0 18px; }
 .summary-guide-visual__bar, .summary-pdf-titlebar { position: relative; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
 .summarizer-page .summary-guide-visual * { transition: none !important; animation: none !important; }
}

/* Source platforms retain their own native reading interface. */
.summary-social-source { padding: 0; color: #0f1419; font: 400 12px/1.42 Arial, sans-serif; }
.summary-social-source > * { max-width: none; }
.summary-social-source svg { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; vertical-align: middle; }
.summary-social-source mark { background: #eef5fb; }
.source-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: #253445; color: #fff; font: 600 13px/1 Arial,sans-serif; }
.source-avatar--reader { background: #d9e5d4; color: #31472e; }
.source-avatar--community { background: #e46b35; color: #fff; }
.source-avatar--forum { background: #8c72b8; }
.source-identity { display: flex; align-items: baseline; gap: 5px; min-width: 0; font-size: 10px; line-height: 1.35; }
.source-identity b { color: #0f1419; font-weight: 700; white-space: nowrap; }
.source-identity > span { color: #697681; font-size: 9px; }
.source-identity > i { margin-left: auto; color: #697681; font-style: normal; }
.source-text { margin-top: 5px; }
.source-x { position: relative; }
.source-x-rail { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; align-items: center; gap: 24px; width: 43px; padding-top: 12px; border-right: 1px solid #eff3f4; }
.source-x-rail svg { width: 19px; height: 19px; }
.source-x-column { width: calc(80% - 43px); margin-left: 43px; }
.source-x-heading { display: flex; align-items: center; gap: 21px; height: 38px; padding-inline: 10px; font-size: 16px; }
.source-x-post { position: relative; display: flex; align-items: flex-start; gap: 9px; padding: 8px 9px 0; }
.source-x-post:not(:last-child)::after { content: ''; position: absolute; left: 22px; top: 41px; bottom: -8px; width: 2px; background: #cfd9de; }
.source-x-post-content { flex: 1; min-width: 0; }
.source-x-actions { display: flex; justify-content: space-between; padding: 6px 4px 7px 0; color: #687681; }
.source-x-actions svg { width: 13px; height: 13px; }
.source-replying { margin-top: 3px; color: #536471; font-size: 10px; }
.source-x-post.is-reply { border-top: 1px solid #eff3f4; }
.source-x-post.is-original { display: block; padding-top: 7px; }
.source-x-post.is-original::after { display: none; }
.source-x-post.is-original > .source-avatar { float: left; margin-right: 9px; }
.source-x-post.is-original .source-x-post-content { display: contents; }
.source-x-post.is-original .source-identity { flex-wrap: wrap; gap: 1px 5px; min-height: 27px; margin-left: 36px; padding-right: 15px; position: relative; }
.source-x-post.is-original .source-identity > b { flex-basis: 100%; font-size: 11px; }
.source-x-post.is-original .source-identity > i { position: absolute; right: 0; top: 0; }
.source-x-post.is-original .source-text { clear: both; font-size: 14px; line-height: 1.4; margin-top: 10px; }
.source-x-timestamp { margin-top: 10px; color: #64717c; font-size: 9px; }
.source-x-timestamp b { color: #0f1419; }
.source-reddit { color: #1a282d; }
.source-reddit-header { display: flex; align-items: center; gap: 18px; height: 42px; padding: 0 14px; border-bottom: 1px solid #e4e8eb; }
.source-reddit-brand { display: flex; align-items: center; gap: 5px; color: #e94406; font-size: 23px; letter-spacing: -1px; }
.source-reddit-brand svg { width: 23px; height: 23px; fill: currentColor; }
.source-reddit-search { display: flex; align-items: center; gap: 8px; width: 150px; padding: 6px 10px; border-radius: 22px; background: #e9eef0; font-size: 10px; color: #5a6b74; }
.source-reddit-content { width: 80%; padding: 13px 16px 15px; }
.source-reddit-community { display: flex; align-items: center; gap: 7px; font-size: 10px; }
.source-reddit-community b, .source-reddit-community div > span { display: block; }
.source-reddit-community div > span { color: #64747c; font-size: 9px; }
.source-reddit-community > i { font-style: normal; margin-left: auto; }
.source-reddit-title { display: block; margin: 10px 0 6px; font-size: 18px; line-height: 1.2; letter-spacing: -.3px; }
.source-reddit-flair { display: inline-block; padding: 1px 7px; border-radius: 10px; background: #e5eee1; color: #334938; font-size: 9px; }
.source-reddit-content > .source-text { margin-top: 7px; }
.source-reddit-actions { display: flex; align-items: center; gap: 7px; margin: 9px 0 14px; font-size: 9px; font-weight: 600; }
.source-reddit-actions > span { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 16px; background: #edf1f3; }
.source-reddit-actions svg { width: 13px; height: 13px; }
.source-reddit-sort { display: flex; align-items: center; gap: 5px; color: #586c77; font-size: 9px; margin-bottom: 12px; }
.source-reddit-sort svg { width: 11px; height: 11px; }
.source-reddit-comment { display: flex; align-items: flex-start; gap: 7px; position: relative; }
.source-reddit-comment::after { content: ''; position: absolute; left: 13px; top: 34px; bottom: 0; border-left: 1px solid #d4dbdf; }
.source-reddit-comment-content { flex: 1; min-width: 0; padding-top: 5px; }
.source-reddit-comment-actions { display: flex; align-items: center; gap: 10px; margin-top: 9px; color: #536873; font-size: 9px; }
.source-reddit-comment-actions svg { width: 13px; height: 13px; }
.source-reddit-comment-actions > span { display: flex; align-items: center; gap: 4px; margin-left: 5px; }
.source-forum { position: relative; color: #30343a; font-size: 12px; }
.source-forum-header { display: flex; align-items: center; gap: 12px; height: 37px; padding: 0 14px; border-bottom: 1px solid #e5e5e7; color: #575d65; }
.source-forum-header b { color: #282b30; font-size: 14px; }
.source-forum-header > svg:last-child { margin-left: 70px; }
.source-forum-content { width: 78%; padding: 14px 14px 8px; }
.source-forum-title { display: block; font-size: 17px; line-height: 1.2; letter-spacing: -.25px; }
.source-forum-category { display: flex; align-items: center; gap: 5px; color: #68717b; font-size: 9px; margin: 6px 0 10px; }
.source-forum-category > span { width: 7px; height: 7px; background: #9779c7; }
.source-forum-category > span + span { margin-left: 4px; background: #68a4b2; }
.source-forum-post { display: flex; align-items: flex-start; gap: 9px; padding: 10px 0 6px; border-top: 1px solid #ebedef; }
.source-forum-post-content { flex: 1; min-width: 0; }
.source-forum-post .source-identity > span { margin-left: auto; }
.source-forum-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 6px; color: #899099; font-size: 9px; }
.source-forum-actions svg { width: 12px; height: 12px; }
.source-forum-actions > span { display: flex; align-items: center; gap: 5px; }
.source-forum-solved { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; color: #3e7546; font-size: 10px; font-weight: 600; }
.source-forum-solved svg { width: 13px; height: 13px; }
.source-forum-post.is-solution mark { background: #e7f1e5; }
.source-forum-progress { position: absolute; left: 78%; top: 116px; display: flex; flex-direction: column; gap: 9px; color: #8a9098; font-size: 8px; }
.source-forum-progress i { height: 120px; border-left: 2px solid #d9cef1; margin-left: 5px; }
.source-forum-progress b { color: #555d69; font-size: 10px; }
.source-forum-progress > span { display: none; }
@media (max-width: 767px) {
 .summary-social-source { padding: 0; }
 .source-x-rail { display: none; }
 .source-x-column { width: 100%; margin: 0; }
 .source-x-heading { padding-inline: 14px; }
 .source-x-post { padding-inline: 13px; }
 .source-x-post:not(:last-child)::after { left: 26px; }
 .source-x-post:last-child { padding-bottom: 15px; }
 .source-reddit-content, .source-forum-content { width: 100%; }
 .source-reddit-header { gap: 14px; }
 .source-reddit-search { flex: 1; min-width: 0; }
 .source-forum-header > svg:last-child { margin-left: auto; }
 .source-forum-progress { display: none; }
 .source-forum-content { padding-bottom: 22px; }
}

@media (min-width: 768px) and (max-width: 900px) {
 .summarizer-page .prompt-template #summary-youtube-title { font-size: 28px; }
}

/* Give worked examples the same paper surface as the existing prompt sheet. */
.summarizer-page .prompt-template #prompt-guide .prompt-guide-example:has(> blockquote) {
 max-width: none;
 padding: 32px;
 border: 0;
 border-radius: 10px;
 background: #fff;
}
.summarizer-page .prompt-template #prompt-guide .prompt-guide-example:has(> blockquote) + .prompt-guide-example:has(> blockquote) { margin-top: 24px; }
.summarizer-page .prompt-template #prompt-guide .prompt-guide-example:has(> blockquote) > p:first-of-type { margin-bottom: 18px; font-weight: 600; }
.summarizer-page .prompt-template #prompt-guide .prompt-guide-example:has(> blockquote) > blockquote { color: var(--story-ink); }
@media (max-width: 767px) {
 .summarizer-page .prompt-template #prompt-guide .prompt-guide-example:has(> blockquote) { padding: 24px 20px; }
}
