/* Shared reading and footer refinements; no changes to authored content. */
.footer-brand { display:inline-flex; align-items:center; gap:9px; font-size:20px; font-weight:800; letter-spacing:-.04em; }
.footer-brand img { width:28px; height:28px; object-fit:contain; }
.footer-copy { margin-top:9px; color:var(--ink-soft); line-height:1.8; }
.footer-legal { align-items:center; flex-wrap:wrap; font-size:12px; }
.minimal-footer .footer-bottom { align-items:center; gap:24px; }
.detail-layout { max-width:1180px; grid-template-columns:minmax(0,800px) minmax(0,240px); gap:36px; }
.detail-main { min-width:0; }
.detail-card { padding:48px 50px; border-radius:18px; box-shadow:none; }
.detail-title { font-size:clamp(26px,3vw,36px); letter-spacing:-.045em; line-height:1.4; text-wrap:pretty; }
.detail-summary { font-size:17px; line-height:1.8; color:var(--ink-soft); }
.detail-content { font-family:var(--font-body); font-size:17px; line-height:1.85; letter-spacing:-.015em; word-break:keep-all; overflow-wrap:anywhere; }
.notion-paragraph { margin:0 0 1.05em; min-height:0; }
.notion-paragraph:has(>br:only-child) { margin:0; height:.65em; }
.notion-h1,.notion-h2,.notion-h3,.detail-content>h2 { scroll-margin-top:100px; letter-spacing:-.035em; line-height:1.45; }
.notion-h1,.detail-content>h2 { font-size:27px; font-weight:750; margin:2.25em 0 .8em; }
.notion-h2 { font-size:23px; font-weight:720; margin:1.9em 0 .75em; }
.notion-h3 { font-size:20px; font-weight:700; margin:1.6em 0 .65em; }
.notion-h4 { font-size:18px; font-weight:700; line-height:1.5; margin:1.5em 0 .6em; scroll-margin-top:120px; }
.heading-toggle summary h5 { display:inline; margin:0; font-size:18px; }
.notion-toc .toc-level-4 { padding-left:36px; }
.detail-content>p { margin-bottom:1em; }
.detail-content>*:first-child { margin-top:0; }
.notion-list { margin:.6em 0 1.2em; padding-left:1.5em; }
.notion-list-item { margin:.45em 0; line-height:1.85; padding-left:.2em; }
.notion-list-item .notion-children { padding-left:.3em; }
.notion-list-item .notion-list { margin:.4em 0; }
.notion-children { padding-left:1.2em; }
.notion-divider { border:0; border-top:1px solid var(--border); margin:2.5em 0; }
.notion-callout { padding:20px 22px; margin:1.6em 0; gap:13px; border-radius:12px; border:1px solid var(--border); background:var(--surface-alt); align-items:flex-start; }
.notion-callout-text,.notion-callout-content { font-size:16px; line-height:1.8; }
.notion-callout-icon { flex:0 0 26px; font-size:22px; line-height:1.4; padding-top:2px; }
.detail-content .notion-callout-icon img { width:24px; height:24px; margin:0; border:0; border-radius:3px; }
.notion-callout .notion-children { padding-left:0; margin-top:.65em; }
.notion-quote { padding:18px 24px; margin:1.8em 0; border-left:3px solid var(--primary); background:var(--surface-alt); border-radius:0 10px 10px 0; font-size:18px; line-height:1.85; }
.notion-quote .notion-children { padding-left:0; }.notion-quote-text { margin:0; }
.notion-toggle { margin:.8em 0; border:1px solid var(--border); border-radius:10px; background:var(--surface); }
.notion-toggle summary { padding:14px 18px 14px 38px; font-size:16px; line-height:1.65; min-height:48px; }
.notion-toggle summary::before { left:13px; font-size:9px; }
.notion-toggle-content { padding:0 20px 18px 38px; font-size:inherit; line-height:inherit; }
.heading-toggle summary :is(h2,h3,h4) { display:inline; font-size:20px; margin:0; }
.notion-task { display:flex; gap:12px; margin:.7em 0; align-items:baseline; }
.notion-task input { width:17px; height:17px; flex:none; accent-color:var(--primary); }
.notion-task input:checked+div { color:var(--ink-soft); }
.notion-task>div { min-width:0; }
.notion-column_list { display:flex; gap:24px; margin:1.5em 0; }
.notion-column { flex:1 1 0; min-width:0; }
.notion-table-wrapper { margin:1.8em 0; border-radius:10px; overflow-x:auto; }
.notion-table { font-size:15px; line-height:1.7; width:100%; }
.notion-table th,.notion-table td { padding:13px 16px; min-width:130px; max-width:420px; white-space:normal; vertical-align:top; word-break:normal; overflow-wrap:anywhere; }
.notion-table td:first-child { white-space:normal; }.notion-table th { text-align:left; background:var(--surface-alt); color:var(--ink); }
.notion-table tr:nth-child(even) td { background:var(--surface-alt); }
.detail-content img { border:0; border-radius:10px; margin:1.7em auto; }
.notion-figure { margin:1.8em 0; }.notion-figure img { margin:0 auto; }.notion-figcaption,.notion-media figcaption,.notion-embed figcaption { font-size:13px; color:var(--ink-soft); line-height:1.6; margin:10px 0 0; padding:0; text-align:center; }
.notion-bookmark { padding:18px; border-radius:10px; margin:1.3em 0; font-size:15px; line-height:1.7; word-break:break-word; background:var(--surface-alt); }
.notion-code-wrapper { margin:1.7em 0; }.notion-code { font-size:14px!important; line-height:1.7!important; }.notion-code code { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.notion-media { margin:1.8em 0; }.notion-media audio { width:100%; }.detail-content .notion-media video { width:100%; max-height:70vh; margin:0; }
.notion-equation[data-display="true"] { overflow-x:auto; padding:18px; margin:1.5em 0; background:var(--surface-alt); border-radius:10px; }
.notion-toc { padding:22px; border:1px solid var(--border); border-radius:12px; margin:1.5em 0 2em; background:var(--surface-alt); font-size:14px; }
.notion-toc strong { display:block; margin-bottom:10px; }.notion-toc a { display:block; padding:5px 0; }.notion-toc .toc-level-2 { padding-left:14px; }.notion-toc .toc-level-3 { padding-left:28px; }
.notion-breadcrumb,.policy-updated { font-size:13px; color:var(--ink-soft); }
.notion-brown_background { background:#f3e9e1; }.notion-orange_background { background:#fff0de; }.notion-pink_background { background:#faeaf2; }
[data-theme="dark"] .notion-brown_background { background:#392a22; }[data-theme="dark"] .notion-orange_background { background:#3a2b1b; }
.notion-callout.notion-blue_background { background:#eaf3fa; }.notion-callout.notion-green_background { background:#edf6ef; }.notion-callout.notion-yellow_background { background:#fff7dd; }.notion-callout.notion-red_background { background:#fceceb; }
[data-theme="dark"] .notion-callout.notion-blue_background { background:#173448; }[data-theme="dark"] .notion-callout.notion-green_background { background:#1b3526; }[data-theme="dark"] .notion-callout.notion-yellow_background { background:#3f3316; }[data-theme="dark"] .notion-callout.notion-red_background { background:#401b1e; }
@media(max-width:1024px) { .detail-layout { grid-template-columns:minmax(0,1fr); max-width:850px; }.detail-sidebar { position:static; }.detail-card { padding:38px; } }
@media(max-width:600px) {
 body[data-slug] .site-header .header-nav { display:none; }
 body[data-slug] .header-top { gap:6px 12px; padding-block:10px; }
 body[data-slug] .header-search { margin:0; padding:7px 12px; }
 body[data-slug] .header-search-text { font-size:13px; }
 .detail-layout { padding:0 16px; margin-top:22px; gap:28px; }.detail-card { padding:25px 20px; border-radius:12px; }.detail-title { font-size:26px; line-height:1.45; }.detail-summary { display:block; font-size:15px; line-height:1.8; margin-bottom:22px; }
 .detail-content { font-size:16px; line-height:1.85; letter-spacing:-.01em; }.notion-h1,.detail-content>h2 { font-size:23px; }.notion-h2 { font-size:21px; }.notion-h3 { font-size:18px; }.notion-callout { padding:16px; gap:10px; }.notion-callout-text,.notion-callout-content { font-size:15px; }.notion-quote { font-size:16px; padding:16px 18px; }
 .notion-column_list { flex-direction:column; gap:16px; }.notion-toggle summary { font-size:15px; padding-right:14px; }.notion-toggle-content { padding:0 16px 16px 22px; }.notion-table th,.notion-table td { font-size:14px; min-width:115px; padding:11px 12px; }.notion-code { font-size:12.5px!important; }.notion-children { padding-left:14px; }
 .minimal-footer .footer-bottom { padding:26px 20px; }.footer-legal { gap:16px; }.footer-copy { font-size:11px; }
}

