/* Content layouts extend styles.css. Brand tokens, typography, navigation,
   buttons, hero, FAQ and footer are owned by the main Shorty stylesheet. */
.content-page [hidden] { display: none !important; }
.content-page a { color: inherit; text-decoration: none; }
.content-page a:focus-visible,
.content-page button:focus-visible,
.content-page input:focus-visible,
.content-page summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.content-page .skip { position: fixed; top: -100px; left: 20px; z-index: 100; }
.content-page .skip:focus { top: 12px; background: var(--panel); padding: 12px; }
.content-page .content-open { white-space: nowrap; color: var(--bg); }
.content-page .topnav .logo-mark { width: 30px; height: 30px; }
.content-hero { max-width: 1240px; margin: auto; }
.content-label { font-size: 14px; line-height: 1.5; color: var(--muted); margin-bottom: 20px; }
.content-actions { justify-content: center; align-items: center; flex-wrap: wrap; gap: 22px; }
.content-page .content-action { display: inline-flex; align-items: center; gap: 22px; color: var(--accent-ink); }
.content-action:hover { filter: brightness(1.1); }
.content-page .text-link { font-size: 14px; line-height: 1.5; color: var(--muted); }
.content-page .text-link:hover { color: var(--text); }
.byline { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.content-tabs { justify-content: center; margin: auto; }
.content-body { width: min(1124px, calc(100% - 56px)); margin: 30px auto 0; }
.content-page .content-body p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.content-page .section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 0 0 24px; }
.content-page .section-heading h2 { font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -.2px; }
.section-heading .content-label { margin-bottom: 10px; }
.directory { margin: 32px 0 64px; }
/* The same quiet rows used by Shorty's existing /tools directory. */
.content-page .tool-list { border-top: 1px solid var(--border); }
.content-page .tool-row { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.7fr) minmax(0,1.4fr) 20px; align-items: center; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.content-page .tool-row h3 { font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.4px; }
.tool-audience { color: var(--muted); font-size: 14px; line-height: 1.5; }
.content-page .tool-row p { font-size: 15px; line-height: 1.6; margin: 0; }
.tool-row > svg { color: var(--muted); }
.tool-row:hover h3,
.tool-row:hover > svg { color: var(--accent); }
.category-picker { margin-bottom: 24px; }
.category-picker > summary { cursor: pointer; color: var(--muted); font-size: 14px; line-height: 1.5; }
.category-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.content-page .category-links a { border: 1px solid var(--border); border-radius: 999px; color: var(--muted); padding: 8px 12px; font-size: 14px; line-height: 1.5; }
.category-links a:hover { color: var(--text); border-color: var(--accent); }
.search-row { display: flex; align-items: end; gap: 25px; margin-bottom: 24px; }
.search-row label { display: flex; flex-direction: column; gap: 10px; width: min(560px,100%); font-size: 14px; color: var(--muted); }
.search-row input { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); color: var(--text); padding: 15px 16px; font-size: 16px; width: 100%; }
.content-page .search-row p { font-size: 14px; white-space: nowrap; }
.empty-state { padding: 28px 0; }
.benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; padding: 30px 0 40px; border-top: 1px solid var(--border); }
.benefits .about-block { border-right: 1px solid var(--border); padding-right: 24px; }
.benefits .about-block:last-child { border: 0; }
.benefit-number { display: block; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.editorial-image { margin: 0 0 44px; }
.editorial-image img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center 42%; border-radius: var(--radius); }
.editorial-image figcaption { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 12px; }
.story-layout { scroll-margin-top: 90px; max-width: 860px; margin: 46px auto 60px; }
.story-section { scroll-margin-top: 90px; margin-bottom: 34px; }
.content-page .about-steps li { font-size: 16px; }
.prompt-box { padding: 22px 24px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 18px; }
.content-page .prompt-box .prompt-text { color: var(--text); }
.prompt-box .copy-prompt { margin-top: 12px; padding: 10px 18px; font-size: 14px; }
.copy-status { margin-left: 14px; font-size: 14px; color: var(--muted); }
.article-page .story-layout { display: grid; grid-template-columns: 200px minmax(0,730px); max-width: none; justify-content: space-between; gap: 64px; border-top: 1px solid var(--border); padding-top: 36px; }
.article-nav { position: sticky; top: 100px; display: flex; flex-direction: column; align-self: start; gap: 18px; }
.article-nav .content-label { margin-bottom: 2px; }
.content-page .article-nav a { font-size: 14px; color: var(--muted); line-height: 1.5; }
.article-nav a:hover { color: var(--text); }
.content-faq { max-width: 860px; margin: 40px auto; }
.content-faq > h2 { margin-bottom: 22px; }
.final-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--border); padding: 28px 0 0; margin-top: 48px; }
.final-cta .content-label { display: none; }
.final-cta h2 { margin: 0; }
.final-cta p { flex-basis: 100%; order: 3; margin: 0; }
@media(max-width:1000px) {
  .content-page .tool-row { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) 20px; gap: 24px; }
  .tool-audience { display: none; }
  .article-page .story-layout { grid-template-columns: 160px minmax(0,1fr); gap: 40px; }
}
@media(max-width:760px) {
  .content-body { width: calc(100% - 28px); margin-top: 22px; }
  .content-tabs { justify-content: flex-start; }
  .content-page .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .content-page .tool-row { grid-template-columns: minmax(0,1fr) 20px; gap: 8px 20px; padding: 22px 0; }
  .tool-row p { grid-column: 1; grid-row: 2; }
  .tool-row > svg { grid-column: 2; grid-row: 1 / 3; }
  .content-page .tool-row h3 { font-size: 18px; }
  .search-row { display: block; }
  .search-row #result-count { margin-top: 12px; }
  .benefits { grid-template-columns: 1fr; gap: 28px; }
  .benefits .about-block { border-right: 0; padding-right: 0; }
  .editorial-image img { height: 300px; }
  .article-page .story-layout { display: block; }
  .article-nav { position: static; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
  .story-layout { margin-top: 32px; }
  .content-actions { gap: 16px; }
  .content-page .content-action { padding: 12px 22px; }
}

/* Tables remain readable and scroll within the article on narrow screens. */
.story-body{min-width:0}.decision-table{max-width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);margin:24px 0}.decision-table:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.decision-table table{width:100%;min-width:570px;border-collapse:collapse;text-align:left;background:var(--panel)}.decision-table caption{text-align:left;padding:18px 20px;font-size:14px;line-height:1.5;color:var(--text);background:var(--panel-2)}.decision-table th,.decision-table td{padding:18px;vertical-align:top;border-top:1px solid var(--border);font-size:15px;line-height:1.65}.decision-table thead th{color:var(--text);font-weight:550}.decision-table tbody th{min-width:140px;font-weight:550;color:var(--text)}.decision-table td{color:var(--muted)}.story-section .source-note{font-size:13px;line-height:1.7;color:var(--muted)}.prompt-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.use-prompt{font-size:14px;color:var(--text)}.example-video{margin:26px 0}.example-video video{display:block;width:100%;height:auto;border-radius:var(--radius);background:var(--bg)}.example-video figcaption{font-size:14px;line-height:1.6;color:var(--muted);margin-top:14px}
