/* The plan is a secondary disclosure; opening it never resizes the research field. */
.reading-plan { position: relative; margin-left: auto; font-size: 14px; }
.reading-plan > summary { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.plan-popover { position: absolute; z-index: 10; right: 0; top: calc(100% + 12px); width: min(420px, calc(100vw - 40px)); max-height: min(65vh,600px); overflow-y: auto; padding: 22px 24px; background: #fff; border: 1px solid #bbb; font-size: 15px; }
.plan-list { padding-left: 23px; margin: 0; }
.plan-list li { padding-left: 3px; margin-bottom: 20px; overflow-wrap: anywhere; }
.plan-item-actions { display: flex; flex-wrap: wrap; gap: 7px 18px; font-size: 13px; margin-top: 8px; }
.plan-item-actions button:disabled { color: #777; cursor: default; text-decoration: none; }
.plan-storage-note { color: #555; font-size: 13px; margin: 17px 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.work-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; font-size: 14px; }
.work-action[aria-pressed="true"] { font-weight: bold; text-decoration: none; }
.graph-concepts a { text-decoration-color: #aaa; text-decoration-thickness: 1px; }
.graph-concepts a:hover { text-decoration-color: #000; }
.topic-tabs { display: flex; gap: 25px; margin-bottom: 20px; font-size: 15px; }
.topic-tabs [aria-current="true"] { font-weight: bold; text-decoration: none; }
.topic-page { max-width: 1100px; }
.topic-title { font-size: 34px; margin: 23px 0 18px; }
.topic-summary { max-width: 72ch; font-size: 20px; line-height: 1.55; margin-bottom: 20px; }
.topic-authors { font-size: 18px; }
.topic-knowledge { margin: 44px 0 48px; }
.topic-knowledge > h3 { font-size: 23px; margin-bottom: 19px; }
.topic-knowledge > details { margin-top: 20px; font-size: 15px; }
.topic-knowledge > details > summary { cursor: pointer; text-decoration: underline; }
.topic-knowledge label { display: block; margin: 15px 0 8px; }
.topic-knowledge select { display: block; max-width: 100%; width: 600px; margin-bottom: 14px; }
.knowledge-map { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr) minmax(0,.8fr); gap: 26px; align-items: start; padding: 16px 0; }
.knowledge-map > div { min-width: 0; }
.knowledge-map > div > a, .knowledge-map > div > strong { display: block; font-size: 19px; margin-bottom: 12px; }
.knowledge-meta { font-size: 13px; color: #555; }
.knowledge-relation { font-size: 15px; border-top: 1px solid #999; padding-top: 14px; }
.bridge-label { font-weight: bold; }
.research-work { max-width: 72ch; margin-bottom: 24px; }
.research-work h3 { font-size: 18px; line-height: 1.4; margin: 0 0 6px; }
.research-work-meta { font-size: 14px; margin-bottom: 7px; }
body[data-page="author"].has-study .page { max-width: 1560px; }
body[data-page="author"].has-study .author-profile { max-width: none; }
.study-areas { font-size: 19px; margin: 0 0 20px; }
.study-columns { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(250px,.8fr); gap: 38px; }
.study-columns > section, .study-terms { min-width: 0; }
body[data-page="author"] .author-study h2 { font-size: 25px; margin-top: 8px; margin-bottom: 15px; }
.route-note { font-size: 14px; margin-bottom: 23px; color: #555; }
.reading-roadmap { padding-left: 24px; margin: 0 0 30px; }
.reading-roadmap > li { padding-left: 10px; margin-bottom: 26px; }
.reading-roadmap .research-work { margin: 0; }
.study-terms { padding-left: 27px; border-left: 1px solid #ddd; }
.study-terms > section { margin: 0 0 26px; font-size: 16px; }
.study-terms h3 { font-size: 18px; margin-top: 0; }
.study-terms .basis { margin: 10px 0; font-size: 13px; }
.other-author-concepts { font-size: 14px; }
.network-section { margin: 36px 0 42px; }
.network-toolbar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.network-views { display: flex; gap: 16px; font-size: 14px; }
.network-views [aria-pressed="true"] { font-weight: bold; text-decoration: none; }
.network-filters { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0; font-size: 15px; }
.network-filters [aria-pressed="true"] { font-weight: bold; text-decoration: none; }
.network-legend { color: #555; font-size: 13px; }
.network-viewport { overflow: hidden; margin: 12px 0 18px; }
.network-viewport:focus-visible { outline: 1px solid #777; outline-offset: 3px; }
.author-network-canvas { height: 370px; position: relative; margin: 30px 0 12px; }
.author-network-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.reference-edge, .dialogue-edge { stroke: #777; stroke-width: 1; }
.dialogue-edge { stroke-dasharray: 3 4; }
.network-person, .network-edge-label { position: absolute; transform: translate(-50%,-50%); text-align: center; background: #fff; width: max-content; }
.network-person { max-width: 175px; padding: 6px; font-size: 16px; line-height: 1.4; }
.network-person[aria-current] { font-weight: bold; }
.network-edge-label { max-width: 145px; font-size: 12px; line-height: 1.4; padding: 4px 6px; text-decoration-color: #aaa; }
.network-evidence { font-size: 14px; }
.network-evidence > summary { cursor: pointer; text-decoration: underline; }
.network-edge-list { padding-left: 20px; }
.network-edge-list > li { margin-bottom: 22px; }
.network-edge-list > li > p { margin-top: 6px; }
[data-network-view="list"] .network-edge-list { list-style: none; padding: 0; margin-top: 24px; }
@media (max-width: 950px) {
  .study-columns { grid-template-columns: 1fr; gap: 30px; }
  .study-terms { border-left: 0; border-top: 1px solid #ddd; padding: 25px 0 0; }
}
@media (max-width: 650px) {
  .reading-plan { margin-left: auto; }
  .plan-popover { position: fixed; right: 20px; top: 68px; max-height: calc(100dvh - 100px); padding: 20px; }
  .topic-title { font-size: 28px; }
  .topic-summary { font-size: 18px; }
  .knowledge-map { grid-template-columns: 1fr; gap: 17px; }
  .knowledge-relation { padding-top: 18px; }
  .topic-knowledge { margin: 32px 0; }
  .work-actions { gap: 12px 20px; }
  .research-work-meta { overflow-wrap: anywhere; }
}
.work-disclosure { border-bottom: 1px solid #ddd; max-width: 760px; margin: 0; }
.work-disclosure > summary { position: relative; display: block; list-style: none; cursor: pointer; padding: 16px 30px 16px 0; }
.work-disclosure > summary::-webkit-details-marker { display: none; }
.work-disclosure > summary::after { content: '+'; position: absolute; right: 3px; top: 15px; font-size: 22px; color: #777; }
.work-disclosure[open] > summary::after { content: '−'; }
.work-disclosure > summary:hover .book-title { text-decoration: underline; text-underline-offset: 3px; }
.reading-roadmap > li { margin-bottom: 0; }
.study-terms h3 a { text-decoration-thickness: 1px; }
.topic-authors { margin: 28px 0; }
.topic-author { max-width: 760px; margin-bottom: 32px; }
.topic-author > h3 { font-size: 21px; font-weight: normal; margin-bottom: 5px; }
.topic-author .research-work { margin: 0; }
/* Concepts are a quiet navigation row; definitions are secondary to reading. */
body[data-page="author"].has-study .page { max-width: 1280px; }
.study-terms { border: 0; padding: 0; max-width: 820px; margin: 0 0 32px; }
body[data-page="author"] .author-study .study-terms > h2 { font-size: 13px; font-weight: normal; color: #666; margin: 0 0 8px; }
.author-profile .author-term-links { display: flex; flex-wrap: wrap; gap: 5px 17px; list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.6; }
.author-profile .author-term-links li { margin: 0; }
.author-term-links [aria-current] { font-weight: bold; }
.term-notes { margin-top: 13px; font-size: 14px; }
.term-notes > summary { font-size: 13px; color: #555; cursor: pointer; text-decoration: underline; }
.term-notes > section { max-width: 70ch; padding: 19px 0 0; }
.term-notes h3 { margin: 0 0 7px; font-size: 16px; }
#author-roadmap { max-width: 760px; }
