/* Reading layouts share the site gutters; diagrams can use the full column. */
.thinking-page .governance-hero { padding-bottom: 38px; }
.thinking-page .governance-hero h1 { overflow-wrap: anywhere; }
.thinking-page .governance-hero .hero-description { max-width: 68ch; }
.thinking-kicker, .thinking-card-index, .thinking-eyebrow { color: var(--blue); font-family: var(--display); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.thinking-kicker { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.thinking-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; padding-bottom: 80px; }
/* Parallel lenses read as an index, not as a wall of identical cards. */
.thinking-card { display: flex; flex-direction: column; min-width: 0; padding: 30px 0 32px; background: transparent; border: 0; border-top: 1px solid var(--line); transition: border-color .15s ease; }
.thinking-card:is(:hover, :focus-visible) { border-top-color: var(--blue); color: var(--ink); }
.thinking-card:is(:hover, :focus-visible) h2 { color: var(--blue); }
.thinking-card h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 10px 0 12px; font-size: clamp(24px, 2.4vw, 31px); overflow-wrap: anywhere; }
.thinking-card h2 span { font-size: 20px; color: var(--blue); }
.thinking-card > p { max-width: 40ch; color: var(--muted); margin-bottom: 18px; font-size: 17px; }
.thinking-card-techniques { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 22px; }
.thinking-technique-tag { display: inline-flex; align-items: center; padding: 0 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.6; }
.thinking-technique-tag:first-child { padding-left: 0; border-left: 0; }
.thinking-card-prompt { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; }
.thinking-directory-note { grid-column: 1 / -1; max-width: 75ch; margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.thinking-article { max-width: 980px; padding-bottom: 88px; }
.thinking-page .thinking-article:last-of-type { padding-bottom: 64px; }
.thinking-section { padding-block: 32px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.thinking-section h2 { font-size: clamp(25px, 3vw, 33px); margin-bottom: 16px; }
.thinking-section > p { max-width: 72ch; font-size: 17px; }
.thinking-section p, .thinking-section li, .thinking-section dd { overflow-wrap: anywhere; }
.thinking-section a:not(.button) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.thinking-steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.thinking-steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.thinking-steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--blue); font-family: var(--display); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.thinking-steps strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.4; }
.thinking-steps p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.thinking-techniques { margin-top: 22px; padding: 0; background: transparent; border: 0; }
.thinking-techniques h3 { margin: 0 0 14px; color: var(--blue); font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.thinking-technique-list { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.thinking-technique-list li { margin: 0 !important; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.thinking-technique-list strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.thinking-technique-list span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.thinking-scenarios { display: grid; gap: 0; margin-top: 22px; }
.thinking-scenario { padding: 24px 0; border-top: 1px solid var(--line); break-inside: avoid; }
.thinking-scenario h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.thinking-scenario p { margin: 6px 0; font-size: 15px; }
.thinking-scenario .thinking-scenario-question { margin-top: 14px; color: var(--ink); font-weight: 600; }
.thinking-example { background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 24px clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.thinking-example p:last-child, .thinking-example ul:last-child { margin-bottom: 0; }
.thinking-example strong { color: var(--ink); }
.thinking-section ul:not(.thinking-steps), .thinking-section ol:not(.thinking-steps) { padding-left: 24px; }
.thinking-section li + li { margin-top: 10px; }
.thinking-prompt { padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.thinking-prompt strong { display: block; margin-bottom: 6px; }
.thinking-prompt p { margin: 0; }
.thinking-sources { padding-left: 23px; }
.thinking-sources li { padding-left: 4px; font-size: 15px; }
.thinking-sources a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 7px; }
.thinking-sources span { display: block; color: var(--muted); font-size: 14px; }
.thinking-next { margin-top: 18px; }
/* Diagrams remain semantic HTML: readable with no JS, selectable, and printable. */
.thinking-visuals { display: grid; gap: 28px; }
.thinking-visuals > h2 { margin-bottom: 0; }
.thinking-figure { margin: 0; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); min-width: 0; }
.thinking-figure figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-bottom: 22px; }
.thinking-figure figcaption strong { font-family: var(--display); font-size: 19px; color: var(--ink); }
.thinking-figure figcaption span { color: var(--muted); font-size: 14px; }
.thinking-figure picture, .thinking-figure picture img { display: block; width: 100%; height: auto; }
.thinking-figure picture img { border-radius: 12px; border: 1px solid var(--line); }
.thinking-transcript { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.thinking-transcript summary { display: flex; align-items: center; min-height: 44px; color: var(--blue); cursor: pointer; font-weight: 600; }
.thinking-transcript > ol, .thinking-transcript > div { margin-top: 18px; }
.thinking-flow { counter-reset: none; display: grid; grid-template-columns: repeat(var(--flow-count), minmax(0, 1fr)); column-gap: 26px; row-gap: 24px; list-style: none; padding: 0 !important; margin: 0; }
.thinking-flow-node { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 105px; margin: 0 !important; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); overflow-wrap: anywhere; }
.thinking-flow-node::after { content: '→'; position: absolute; top: 50%; right: -23px; transform: translateY(-50%); color: var(--blue); font-size: 20px; font-weight: 700; z-index: 1; }
.thinking-flow-node:last-child::after { display: none; }
.thinking-flow-node small { color: var(--blue); font-family: var(--display); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.thinking-flow-node strong { font-size: 15px; line-height: 1.35; margin-top: 7px; }
.thinking-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(115px, auto)); align-items: center; column-gap: 58px; row-gap: 28px; padding: 12px 0; }
.thinking-map-center { grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; min-height: 125px; padding: 24px; border-radius: 18px; background: var(--action); color: var(--on-action); font: 600 clamp(17px, 2vw, 23px)/1.25 var(--display); text-align: center; overflow-wrap: anywhere; }
.thinking-map-branch { position: relative; display: grid; place-items: center; padding: 16px; min-height: 88px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 15px; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.thinking-map-branch::after { content: ''; position: absolute; top: 50%; width: 58px; height: 2px; background: var(--blue); }
.thinking-map-branch-1 { grid-column: 1; grid-row: 1; }
.thinking-map-branch-2 { grid-column: 3; grid-row: 1; }
.thinking-map-branch-3 { grid-column: 1; grid-row: 2; }
.thinking-map-branch-4 { grid-column: 3; grid-row: 2; }
.thinking-map-branch-1::after, .thinking-map-branch-3::after { right: -58px; }
.thinking-map-branch-2::after, .thinking-map-branch-4::after { left: -58px; }
@media (max-width: 900px) {
  .thinking-technique-list { grid-template-columns: 1fr; }
  .thinking-flow { grid-template-columns: 1fr; row-gap: 24px; }
  .thinking-flow-node { min-height: 75px; }
  .thinking-flow-node::after { top: auto; bottom: -23px; right: 50%; transform: translateX(50%); content: '↓'; }
}
@media (max-width: 700px) {
  .thinking-directory, .thinking-steps { grid-template-columns: 1fr; }
  .thinking-directory { padding-bottom: 52px; }
  .thinking-article { padding-bottom: 56px; }
  .thinking-section { padding-block: 30px; }
  .thinking-map { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 24px; }
  .thinking-map-center { grid-column: 1 / 3; grid-row: 1; min-height: 88px; }
  .thinking-map-branch { min-height: 96px; }
  .thinking-map-branch-1 { grid-column: 1; grid-row: 2; }
  .thinking-map-branch-2 { grid-column: 2; grid-row: 2; }
  .thinking-map-branch-3 { grid-column: 1; grid-row: 3; }
  .thinking-map-branch-4 { grid-column: 2; grid-row: 3; }
  .thinking-map-branch::after { top: -24px; left: 50%; right: auto; width: 2px; height: 24px; transform: translateX(-50%); }
}
@media print {
  .thinking-directory { display: block; }
  .thinking-card { break-inside: avoid; margin-bottom: 12px; }
  .thinking-article { padding-bottom: 0; }
  .thinking-page .thinking-article:last-of-type { padding-bottom: 0; }
  .thinking-section { padding-block: 16px; }
  .thinking-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thinking-steps li, .thinking-techniques, .thinking-technique-list li, .thinking-example { break-inside: avoid; }
  .thinking-section a:not(.button) { color: #174887; }
  .thinking-figure { break-inside: avoid; }
  .thinking-flow { grid-template-columns: repeat(var(--flow-count), minmax(0, 1fr)); }
  .thinking-flow-node { min-height: 100px; padding: 8px; }
  .thinking-flow-node::after { content: '→'; top: 50%; bottom: auto; right: -23px; transform: translateY(-50%); }
  .thinking-flow-node:last-child::after { display: none; }
  .thinking-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(110px, auto)); column-gap: 58px; }
  .thinking-map-center { grid-column: 2; grid-row: 1 / 3; color: #fff; print-color-adjust: exact; }
  .thinking-map-branch-1 { grid-column: 1; grid-row: 1; }
  .thinking-map-branch-2 { grid-column: 3; grid-row: 1; }
  .thinking-map-branch-3 { grid-column: 1; grid-row: 2; }
  .thinking-map-branch-4 { grid-column: 3; grid-row: 2; }
  .thinking-map-branch::after { top: 50%; left: auto; width: 58px; height: 2px; transform: none; }
  .thinking-map-branch-1::after, .thinking-map-branch-3::after { right: -58px; }
  .thinking-map-branch-2::after, .thinking-map-branch-4::after { left: -58px; }
}
@media print and (max-width: 900px) {
  .thinking-flow { grid-template-columns: 1fr; }
  .thinking-flow-node { min-height: 75px; padding: 16px 18px; }
  .thinking-flow-node::after { content: '↓'; top: auto; bottom: -23px; right: 50%; transform: translateX(50%); }
  .thinking-map { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 24px; }
  .thinking-map-center { grid-column: 1 / 3; grid-row: 1; }
  .thinking-map-branch-1 { grid-column: 1; grid-row: 2; }
  .thinking-map-branch-2 { grid-column: 2; grid-row: 2; }
  .thinking-map-branch-3 { grid-column: 1; grid-row: 3; }
  .thinking-map-branch-4 { grid-column: 2; grid-row: 3; }
  .thinking-map-branch::after { top: -24px; left: 50%; right: auto; width: 2px; height: 24px; transform: translateX(-50%); }
}

.thinking-definition > p, .thinking-usage > p, .thinking-section > ul { max-width: 72ch; }
.thinking-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 28px 0; }
.thinking-meta-grid dt { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.thinking-meta-grid dd { margin: 0; }
.thinking-chooser { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.thinking-chooser a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); font-size: 14px; }
.thinking-chooser a:hover { background: var(--soft); border-color: var(--blue); }
@media (max-width: 700px) {
  .thinking-meta-grid { grid-template-columns: 1fr; gap: 16px; }
  .thinking-chooser { gap: 8px; }
  .thinking-chooser a { padding-inline: 14px; }
}

/* Learning notes: explain in a reading column; use surfaces for examples and review. */
.thinking-learning-label { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.thinking-learning-goals { max-width: 70ch; margin-top: 24px; }
.thinking-page .thinking-learning-goals h2 { font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: 0; margin-bottom: 8px; }
.thinking-learning-goals ul { margin: 0; padding-left: 22px; color: var(--muted); font-size: 16px; }
.thinking-page .thinking-steps { display: block; max-width: 70ch; margin-top: 24px; }
.thinking-page .thinking-steps li { position: relative; padding: 0 0 24px 44px; border: 0; border-radius: 0; background: transparent; box-shadow: none; margin: 0; }
.thinking-page .thinking-steps li::before { position: absolute; left: 0; top: 2px; font-size: 15px; }
.thinking-page .thinking-steps p { font-size: 17px; line-height: 1.8; margin-top: 8px; }
.thinking-page .thinking-section h3 { letter-spacing: 0; }
.thinking-techniques h3 { font-family: var(--sans); color: var(--muted); letter-spacing: 0; font-size: 16px; }
.thinking-technique-list { grid-template-columns: 1fr; gap: 0; max-width: 70ch; }
.thinking-technique-list li { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 0; background: transparent; }
.thinking-technique-list strong { font-size: 18px; font-weight: 500; line-height: 1.5; }
.thinking-technique-list span { font-size: 16px; line-height: 1.8; }
.thinking-examples-grid { display: grid; gap: 24px; }
.thinking-example { border: 0; border-radius: var(--radius-md); padding: 24px; box-shadow: none; background: var(--subtle); }
.thinking-example h3 { font-size: 21px; margin-bottom: 16px; }
.thinking-example p { max-width: 70ch; font-size: 17px; line-height: 1.8; }
.thinking-review > div { max-width: 70ch; margin-top: 32px; }
.thinking-review h3 { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.thinking-review p, .thinking-review li { font-size: 17px; line-height: 1.8; }
.thinking-review .thinking-takeaway { margin-top: 24px; padding: 24px; background: var(--soft); border-radius: var(--radius-md); }
.thinking-takeaway p { margin-bottom: 0; }
.thinking-recall-question { border-top: 1px solid var(--line); padding: 20px 0; }
.thinking-recall-question h4 { font-size: 18px; font-weight: 500; line-height: 1.6; margin-bottom: 8px; }
.thinking-recall summary { min-height: 44px; padding: 10px 0; color: var(--blue); cursor: pointer; }
.thinking-recall details > p { margin: 12px 0 0; color: var(--muted); }
.thinking-related .text-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) {
  .thinking-page .thinking-steps li { padding-left: 36px; }
  .thinking-review .thinking-takeaway, .thinking-example { padding: 20px; }
}
@media print {
  .thinking-learning-goals, .thinking-takeaway, .thinking-recall-question { break-inside: avoid; }
  .thinking-recall details:not([open]) > p { display: block; }
}
