:root {
    --ce-blue:       #1e5ae0;
    --ce-blue-dark:  #1848b8;
    --ce-blue-light: #3b72e8;
    --ce-blue-faint: #e8eefd;
    --paper:         #ffffff;
    --paper-soft:    #f5f6fb;
    --ink:           #0c1b3a;
    --ink-body:      #1f2d4a;
    --ink-muted:     #5a6585;
    --ink-faint:     #8a93ac;
    --rule:          #dde1ed;
    --rule-soft:     #e8ebf3;
    --rule-dashed:   #c8cfe0;
    --green:         #1a9e6e;
    --green-faint:   #e6f7f1;
    --sans:  'Poppins', -apple-system, sans-serif;
    --mono:  'JetBrains Mono', 'SF Mono', monospace;
    --content: 1000px;
    --wide:    1390px;
}

/* ══ BREADCRUMBS ══ */
.container{
    max-width: 1390px;
}
.dsi-page .crumbs-bar { border-bottom: 1px solid var(--rule-soft); padding: 12px 0; }
.dsi-page .crumbs { max-width: var(--wide); margin: 0 auto; padding: 0 15px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); display: flex; align-items: center; flex-wrap: wrap; }
.dsi-page .crumbs a { color: var(--ink-muted); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.dsi-page .crumbs a:hover { border-bottom-color: var(--ink-muted); }
.dsi-page .crumbs .sep { color: var(--ink-faint); margin: 0 10px; }
.dsi-page .crumbs .current { color: var(--ink); }

/* ══ MASTHEAD ══ */
.dsi-page .masthead { max-width: var(--content); margin: 0 auto; padding: 64px 15px 48px; }
.dsi-page .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ce-blue); margin-bottom: 24px; display: flex; align-items: center; gap: 14px; font-weight: 500; }
.dsi-page .kicker::before { content: ''; width: 28px; height: 1px; background: var(--ce-blue); }
.dsi-page h1.title { font-weight: 800; font-size: clamp(34px, 5.5vw, 56px); line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 24px; }
.dsi-page h1.title em { font-style: italic; font-weight: 500; color: var(--ce-blue); }
.dsi-page .deck { font-size: 20px; line-height: 1.5; color: var(--ink-muted); max-width: 580px; margin-bottom: 32px; font-style: italic; font-weight: 400; }
.dsi-page .byline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding-top: 20px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--ink-muted); }
.dsi-page .byline .author { color: var(--ink); font-weight: 600; }
.dsi-page .byline .author-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 0.15s ease; }
.dsi-page .byline .author-link:hover { color: var(--ce-blue); }
.dsi-page .byline .dot { color: var(--ink-faint); }
.dsi-page .byline-item { display: inline-flex; align-items: center; gap: 7px; }
.dsi-page .byline-icon { width: 16px; height: 16px; color: var(--ce-blue); flex-shrink: 0; }
.dsi-page .byline-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--ce-blue-faint); color: var(--ce-blue); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.dsi-page .byline-badge .byline-icon { width: 13px; height: 13px; }

/* ══ QUICK PICKS ══ */
.dsi-page .quick-picks { background: var(--paper-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 15px; }
.dsi-page .quick-picks-inner { max-width: var(--content); margin: 0 auto; }
.dsi-page .quick-picks-label { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ce-blue); margin-bottom: 14px; }
.dsi-page .quick-picks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dsi-page .quick-pick-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; text-decoration: none; display: block; transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; color: inherit; }
.dsi-page .quick-pick-card:hover { border-color: var(--ce-blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,90,224,0.10); color: inherit; }
.dsi-page .quick-pick-card .time { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ce-blue); letter-spacing: 0.06em; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.dsi-page .quick-pick-card .time::after { content: '→'; font-size: 11px; opacity: 0; transform: translateX(-4px); transition: opacity 0.15s, transform 0.15s; margin-left: auto; }
.dsi-page .quick-pick-card:hover .time::after { opacity: 1; transform: translateX(0); }
.dsi-page .quick-pick-card ol { list-style: none; counter-reset: pick-counter; margin: 0; padding: 0; }
.dsi-page .quick-pick-card ol li { counter-increment: pick-counter; display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--ink-muted); line-height: 1.5; padding: 4px 0; border-bottom: 1px solid var(--rule-soft); }
.dsi-page .quick-pick-card ol li:last-child { border-bottom: none; }
.dsi-page .quick-pick-card ol li::before { content: counter(pick-counter, decimal-leading-zero); font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--ce-blue); opacity: 0.7; flex-shrink: 0; width: 18px; }

/* ══ ARTICLE LAYOUT: sidebar + content ══ */
.dsi-page .article-layout { max-width: 1390px; margin: 0 auto; padding: 0 15px; display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
@media (min-width: 1200px) { .dsi-page .article-layout { grid-template-columns: 220px 1fr 280px; } .dsi-page .article-main { grid-column: 2 / 3; } }

.dsi-page .toc-sidebar { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow-y: auto; padding-top: 32px; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.dsi-page .toc-sidebar::-webkit-scrollbar { width: 3px; }
.dsi-page .toc-sidebar::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 2px; }
.dsi-page .toc-sidebar-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ce-blue); font-weight: 500; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ce-blue); }
.dsi-page .toc-sidebar-list { list-style: none; padding: 0; margin: 0; }
.dsi-page .toc-sidebar-list li { border-bottom: 1px solid var(--rule-soft); }
.dsi-page .toc-sidebar-list li:last-child { border-bottom: none; }
.dsi-page .toc-sidebar-list a { display: block; padding: 7px 0 7px 10px; font-size: 12px; font-weight: 400; color: var(--ink-muted); line-height: 1.4; border-left: 2px solid transparent; transition: color 0.15s, border-color 0.15s, background 0.15s; text-decoration: none; }
.dsi-page .toc-sidebar-list a:hover { color: var(--ce-blue); border-left-color: var(--ce-blue-faint); }
.dsi-page .toc-sidebar-list a.is-active { color: var(--ce-blue); font-weight: 600; border-left-color: var(--ce-blue); background: var(--ce-blue-faint); border-radius: 0 4px 4px 0; }
.dsi-page .toc-sidebar-count { font-family: var(--mono); font-size: 10px; color: var(--ink-faint); margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule-soft); letter-spacing: 0.04em; }
.dsi-page .toc-sidebar-count strong { color: var(--ce-blue); }

@media (min-width: 1000px) { .dsi-page .toc-fab, .dsi-page .toc-backdrop, .dsi-page .toc-panel { display: none !important; } }
@media (max-width: 999px) { .dsi-page .article-layout { grid-template-columns: 1fr; max-width: var(--content); padding: 0 15px; gap: 0; } .dsi-page .toc-sidebar { display: none; } }

/* ══ INTRO ══ */
.dsi-page .intro { padding: 40px 0 32px; }
.dsi-page .intro p { font-size: 19px; line-height: 1.7; color: var(--ink-body); margin-bottom: 20px; }
.dsi-page .intro p:first-child::first-letter { font-weight: 800; font-size: 68px; line-height: 0.85; float: left; margin: 10px 14px 0 -2px; color: var(--ce-blue); }
.dsi-page .intro a { color: var(--ce-blue); border-bottom: 1px solid var(--rule); transition: border-color 0.2s; }
.dsi-page .intro a:hover { border-bottom-color: var(--ce-blue); }

/* ══ ORNAMENT ══ */
.dsi-page .rule-ornament {display: flex; align-items: center; justify-content: center; gap: 16px; }
.dsi-page .rule-ornament::before, .dsi-page .rule-ornament::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.dsi-page .rule-ornament .mark { color: var(--ce-blue); font-size: 12px; letter-spacing: 0.5em; padding-left: 0.5em; font-weight: 600; }

/* ══ SECTION HEADERS ══ */
.dsi-page .section { padding: 60px 0 16px; scroll-margin-top: 70px; }
.dsi-page .section-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; font-weight: 500; }
.dsi-page h2.section-title { font-weight: 700; font-size: clamp(26px, 3.8vw, 40px); line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 16px; }
.dsi-page h2.section-title em { font-style: italic; font-weight: 500; color: var(--ce-blue); }
.dsi-page .section-lede { font-style: italic; font-size: 17px; line-height: 1.6; color: var(--ink-muted); max-width: 600px; margin-bottom: 4px; }
.dsi-page .section-lede a { color: var(--ce-blue); border-bottom: 1px solid var(--rule); transition: border-color 0.2s; }
.dsi-page .section-lede a:hover { border-bottom-color: var(--ce-blue); }

/* ══ TIME BADGE ══ */
.dsi-page .time-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ce-blue); background: var(--ce-blue-faint); padding: 5px 14px; letter-spacing: 0.08em; border-radius: 3px; margin-bottom: 16px; }

/* ══ TOP 10 LIST ══ */
.dsi-page .top10 ol { list-style: none; counter-reset: top10; margin-top: 28px; }
.dsi-page .top10 ol li { counter-increment: top10; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule-soft); align-items: baseline; }
.dsi-page .top10 ol li::before { content: counter(top10, decimal-leading-zero); font-family: var(--mono); font-weight: 500; font-size: 15px; color: var(--ce-blue); text-align: right; padding-right: 10px; border-right: 1px solid var(--rule); align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.dsi-page .top10 ol li .topic { font-size: 17px; line-height: 1.5; color: var(--ink); }
.dsi-page .top10 ol li .topic strong { font-weight: 600; }
.dsi-page .top10 ol li .topic span { font-size: 14px; color: var(--ink-muted); font-weight: 400; display: block; margin-top: 2px; }

/* ══ INLINE CTA ══ */
.dsi-page .inline-cta { margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--rule); }
.dsi-page .inline-cta p { font-size: 17px; line-height: 1.7; color: var(--ink-body); font-style: italic; }
.dsi-page .inline-cta p a { color: var(--ce-blue); font-weight: 500; font-style: normal; border-bottom: 2px solid var(--ce-blue); padding-bottom: 1px; transition: color 0.15s, border-color 0.15s; }
.dsi-page .inline-cta p a:hover { color: var(--ce-blue-dark); border-color: var(--ce-blue-dark); }

/* ══ CRITERIA ══ */
.dsi-page .criteria-item { padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.dsi-page .criteria-item:last-child { border-bottom: none; }
.dsi-page .criteria-item h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.dsi-page .criteria-item h4::before { content: ''; width: 6px; height: 6px; background: var(--ce-blue); border-radius: 50%; flex-shrink: 0; }
.dsi-page .criteria-item p { font-size: 15.5px; color: var(--ink-muted); line-height: 1.7; margin: 0; padding-left: 16px; }

/* ══ TABLE ══ */
.dsi-page .table-wrap { overflow-x: auto; margin: 16px 0 8px; }
.dsi-page .table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dsi-page .table-wrap thead { background: var(--ink); }
.dsi-page .table-wrap thead th { color: white; font-weight: 600; text-align: left; padding: 12px 16px; font-size: 13px; letter-spacing: 0.02em; }
.dsi-page .table-wrap tbody tr { border-bottom: 1px solid var(--rule-soft); transition: background 0.12s; }
.dsi-page .table-wrap tbody tr:hover { background: var(--paper-soft); }
.dsi-page .table-wrap tbody td { padding: 13px 16px; color: var(--ink-body); vertical-align: top; line-height: 1.55; }
.dsi-page .table-wrap tbody td:first-child { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ce-blue); white-space: nowrap; }
.dsi-page .table-note { font-size: 14px; color: var(--ink-muted); font-style: italic; margin-bottom: 24px; }
.dsi-page .table-note strong { font-weight: 600; color: var(--ink); font-style: normal; }

/* ══ TOPIC LISTS ══ */
.dsi-page .topics p a, .dsi-page .intro p a, .dsi-page .criteria p a, .dsi-page .top10 p a { color: var(--ce-blue); font-weight: 500; text-decoration: none; padding: 0 2px; border-radius: 2px; transition: color 0.18s ease, background-image 0.18s ease; }
.dsi-page .topics p a:hover, .dsi-page .intro p a:hover, .dsi-page .criteria p a:hover, .dsi-page .top10 p a:hover { color: var(--ce-blue-dark); background-image: linear-gradient(transparent 0%, var(--ce-blue-faint) 0%); }
.dsi-page .topics p a:visited, .dsi-page .intro p a:visited, .dsi-page .criteria p a:visited, .dsi-page .top10 p a:visited { color: var(--ce-blue); }
.dsi-page .topics ul { list-style: none; margin: 0; padding: 0; counter-reset: topic-counter; }
.dsi-page .topics ul li { counter-increment: topic-counter; font-size: 16.5px; line-height: 1.55; color: var(--ink-body); padding: 10px 0 10px 40px; position: relative; border-bottom: 1px dashed var(--rule-dashed); }
.dsi-page .topics ul li:last-child { border-bottom: none; }
.dsi-page .topics ul li::before { content: counter(topic-counter, decimal-leading-zero); position: absolute; left: 0; top: 11px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--ce-blue); opacity: 0.65; width: 28px; line-height: 1.55; }

.dsi-page .level-strip { background: var(--paper-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 40px 0; padding: 8px 15px; }
.dsi-page .level-strip .section { padding-top: 48px; }
.dsi-page .level-strip .section:first-child { padding-top: 40px; }

/* ══ TRUST BRIDGE ══ */
.dsi-page .bridge { margin: 0; padding: 32px 0 24px; }
.dsi-page .bridge p { font-size: 20px; line-height: 1.65; color: var(--ink); font-weight: 400; }
.dsi-page .bridge p a, .dsi-page .closer p a { color: var(--ce-blue); font-weight: 500; border-bottom: 2px solid var(--ce-blue); padding-bottom: 1px; transition: color 0.15s, border-color 0.15s; }
.dsi-page .bridge p a:hover, .dsi-page .closer p a:hover { color: var(--ce-blue-dark); border-color: var(--ce-blue-dark); }

/* ══ PROSE ══ */
.dsi-page .prose p { font-size: 17.5px; line-height: 1.75; color: var(--ink-body); margin-bottom: 20px; }
.dsi-page .prose p strong { font-weight: 600; color: var(--ink); }
.dsi-page .prose p em { font-style: italic; color: var(--ce-blue); font-weight: 500; }
.dsi-page .prose a { color: var(--ce-blue); border-bottom: 1px solid var(--rule); transition: border-color 0.2s; }
.dsi-page .prose a:hover { border-bottom-color: var(--ce-blue); }
.dsi-page .prose h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 32px 0 12px; letter-spacing: -0.01em; }
.dsi-page .prose .filter-check { list-style: none; margin: 0 0 24px; padding: 0; background: var(--paper-soft); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.dsi-page .prose .filter-check li { display: grid; grid-template-columns: 22px 220px 1fr; align-items: start; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--rule-soft); font-size: 15.5px; color: var(--ink-body); line-height: 1.55; }
.dsi-page .prose .filter-check li:last-child { border-bottom: none; }
.dsi-page .prose .filter-check li::before { content: '✓'; font-family: var(--mono); font-size: 12px; color: var(--green); background: var(--green-faint); border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-weight: 700; }
.dsi-page .prose .filter-check li strong { color: var(--ink); }
@media (max-width: 640px) {
    .dsi-page .prose .filter-check li { grid-template-columns: 22px 1fr; }
    .dsi-page .prose .filter-check li strong { grid-column: 2; display: block; margin-bottom: 4px; }
    .dsi-page .prose .filter-check li strong + br { display: none; }
}

/* ══ FAQ ══ */
.dsi-page .faq-item { border-bottom: 1px solid var(--rule-soft); }
.dsi-page .faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; font-family: var(--sans); }
.dsi-page .faq-q .q-text { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.dsi-page .faq-icon { font-family: var(--mono); font-size: 20px; color: var(--ce-blue); line-height: 1; flex-shrink: 0; margin-top: 1px; transition: transform 0.2s; font-weight: 400; }
.dsi-page .faq-item.open .faq-icon { transform: rotate(45deg); }
.dsi-page .faq-a { font-size: 15.5px; color: var(--ink-muted); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding-bottom 0.2s; padding-bottom: 0; }
.dsi-page .faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.dsi-page .faq-a a { color: var(--ce-blue); border-bottom: 1px solid var(--rule); transition: border-color 0.2s; }
.dsi-page .faq-a a:hover { border-bottom-color: var(--ce-blue); }

/* ══ CLOSING CTA ══ */
.dsi-page .closer { margin: 24px 0 0; padding: 32px 0 40px; }
.dsi-page .closer p { font-size: 20px; line-height: 1.65; color: var(--ink);}

/* ══ AUTHOR CARD (futuristic) ══ */
.dsi-page .author-card { position: relative; margin: 0 0 96px; padding: 32px 36px; border-radius: 18px; background: linear-gradient(135deg, #0c1b3a 0%, #142654 55%, #1a3478 100%); color: #e8eefd; overflow: hidden; isolation: isolate; box-shadow: 0 24px 60px -28px rgba(12, 27, 58, 0.55), 0 1px 0 rgba(255,255,255,0.04) inset; }
.dsi-page .author-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse 80% 70% at 100% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 100% 0%, #000 0%, transparent 75%); pointer-events: none; z-index: 0; }
.dsi-page .author-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 12% 110%, rgba(59, 114, 232, 0.35), transparent 55%); pointer-events: none; z-index: 0; }
.dsi-page .author-card-glow { position: absolute; top: -30%; right: -10%; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 114, 232, 0.45) 0%, rgba(59, 114, 232, 0) 70%); filter: blur(20px); pointer-events: none; z-index: 0; }
.dsi-page .author-card-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 96px 1fr; gap: 26px; align-items: start; }
.dsi-page .author-card-avatar { position: relative; width: 96px; height: 96px; }
.dsi-page .author-card-ring { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 220deg, #3b72e8, #7aa3ff, #1e5ae0, #3b72e8); animation: dsi-author-spin 8s linear infinite; opacity: 0.85; }
.dsi-page .author-card-ring::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #0c1b3a; }
@keyframes dsi-author-spin { to { transform: rotate(360deg); } }
.dsi-page .author-card-avatar img { position: relative; z-index: 2; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; border: 2px solid rgba(255,255,255,0.08); }
.dsi-page .author-card-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #7aa3ff; margin-bottom: 10px; }
.dsi-page .author-card-pulse { width: 7px; height: 7px; border-radius: 50%; background: #7aa3ff; box-shadow: 0 0 0 0 rgba(122, 163, 255, 0.6); animation: dsi-author-pulse 1.8s ease-out infinite; }
@keyframes dsi-author-pulse { 0% { box-shadow: 0 0 0 0 rgba(122, 163, 255, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(122, 163, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(122, 163, 255, 0); } }
.dsi-page .author-card-name { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: #ffffff; margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; line-height: 1.2; }
.dsi-page .author-card-spec { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #7aa3ff; padding: 4px 10px; border: 1px solid rgba(122, 163, 255, 0.35); border-radius: 999px; background: rgba(59, 114, 232, 0.08); }
.dsi-page .author-card-bio { font-size: 15px; line-height: 1.65; color: #c8d3ee; margin: 0 0 18px; max-width: 640px; }
.dsi-page .author-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.dsi-page .author-card-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; font-weight: 500; color: #c8d3ee; backdrop-filter: blur(4px); }
.dsi-page .author-card-chip svg { width: 14px; height: 14px; color: #7aa3ff; }
.dsi-page .author-card-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: linear-gradient(135deg, #3b72e8, #1e5ae0); color: #ffffff !important; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; box-shadow: 0 6px 18px -6px rgba(59, 114, 232, 0.55); border: 0; }
.dsi-page .author-card-link:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(59, 114, 232, 0.75); background: linear-gradient(135deg, #5188f0, #2967e8); }
.dsi-page .author-card-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.dsi-page .author-card-link:hover svg { transform: translateX(3px); }
@media (max-width: 640px) {
    .dsi-page .author-card { padding: 28px 22px; margin-bottom: 64px; }
    .dsi-page .author-card-grid { grid-template-columns: 1fr; gap: 20px; }
    .dsi-page .author-card-name { font-size: 21px; }
    .dsi-page .author-card-glow { width: 220px; height: 220px; }
}

/* ══ KEEP READING ══ */
.dsi-page .keep-reading { max-width: var(--wide); margin: 0 auto; padding: 56px 15px 96px; border-top: 1px solid var(--rule); }
.dsi-page .keep-reading-label { font-family: var(--sans); font-size: 28px; letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin-bottom: 28px; text-align: left; font-weight: 700; }
.dsi-page .keep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 100%; margin: 0; }
.dsi-page .keep-card { background: #B8DFFF; border: none; border-radius: 14px; padding: 22px 22px 22px; transition: transform 0.25s ease, box-shadow 0.25s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column; overflow: hidden; }
.dsi-page .keep-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30, 90, 224, 0.18); color: inherit; }
.dsi-page .keep-card .keep-card-meta { font-family: var(--sans); font-size: 13px; color: var(--ink-body); margin: 0 0 12px; font-weight: 400; }
.dsi-page .keep-card h4 { font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--ink); margin: 0 0 18px; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dsi-page .keep-card .keep-card-img { margin-top: auto; width: 100%; display: block; line-height: 0; border-radius: 10px; overflow: hidden; background: #ffffff; }
.dsi-page .keep-card .keep-card-img img { width: 100%; height: 160px; display: block; object-fit: contain; object-position: center; border: 0; background: #ffffff; }

/* ══ AUTHOR BOX ══ */
.dsi-page .author-box { max-width: var(--content); margin: 0 auto; padding: 0 15px 56px; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.dsi-page .author-box .avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--ce-blue-light), var(--ce-blue)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; }
.dsi-page .author-box .label { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--ce-blue); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 6px; }
.dsi-page .author-box h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.dsi-page .author-box p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
    .dsi-page .masthead { padding: 44px 15px 36px; }
    .dsi-page .quick-picks { padding: 20px 15px; }
    .dsi-page .quick-picks-grid { grid-template-columns: 1fr 1fr; }
    .dsi-page .bridge p, .dsi-page .closer p { font-size: 17px; }
    .dsi-page .keep-grid { grid-template-columns: 1fr; }
    .dsi-page .keep-reading { padding: 48px 15px 64px; }
    .dsi-page .crumbs { padding: 0 15px; font-size: 10px; }
}
@media (max-width: 480px) { .dsi-page .quick-picks-grid { grid-template-columns: 1fr; } }

/* ══ PATTERN A ══ */
.dsi-page .pa-modal-scrim { position: fixed; inset: 0; background: rgba(12,27,58,0.55); backdrop-filter: blur(2px); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.dsi-page .pa-modal-scrim.is-open { display: flex; animation: pa-scrim-in 0.22s ease-out; }
@keyframes pa-scrim-in { from { opacity: 0; } to { opacity: 1; } }
.dsi-page .pa-modal { background: var(--paper); border-radius: 14px; max-width: 460px; width: 100%; padding: 36px 32px 32px; position: relative; box-shadow: 0 24px 64px rgba(12,27,58,0.28); animation: pa-modal-in 0.28s cubic-bezier(0.16,1,0.3,1); }
@keyframes pa-modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.dsi-page .pa-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: none; background: transparent; cursor: pointer; border-radius: 6px; color: var(--ink-muted); font-size: 18px; line-height: 1; transition: background 0.15s, color 0.15s; }
.dsi-page .pa-close:hover { background: var(--paper-soft); color: var(--ink); }
.dsi-page .pa-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ce-blue); font-weight: 500; margin-bottom: 12px; }
.dsi-page .pa-modal h3 { font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -0.018em; color: var(--ink); margin-bottom: 12px; }
.dsi-page .pa-modal h3 em { font-style: italic; font-weight: 500; color: var(--ce-blue); }
.dsi-page .pa-modal p.pa-body { font-size: 15px; line-height: 1.6; color: var(--ink-muted); margin-bottom: 22px; }
.dsi-page .pa-form { display: flex; gap: 8px; margin-bottom: 12px; }
.dsi-page .pa-form input[type="email"] { flex: 1; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 7px; font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--paper); transition: border-color 0.15s, box-shadow 0.15s; min-width: 0; }
.dsi-page .pa-form input[type="email"]:focus { outline: none; border-color: var(--ce-blue); box-shadow: 0 0 0 3px var(--ce-blue-faint); }
.dsi-page .pa-form button { background: var(--ce-blue); color: white; border: none; padding: 12px 20px; border-radius: 7px; font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.dsi-page .pa-form button:hover { background: var(--ce-blue-dark); }
.dsi-page .pa-fineprint { font-size: 12px; color: var(--ink-faint); line-height: 1.5; }
.dsi-page .pa-success { display: none; text-align: center; padding: 24px 0; color: var(--ce-blue); font-weight: 600; font-size: 16px; }
.dsi-page .pa-success.is-shown { display: block; }
.dsi-page .pa-form.is-hidden, .dsi-page .pa-fineprint.is-hidden { display: none; }
.dsi-page .pa-form button[disabled] { opacity: 0.7; cursor: wait; }
.dsi-page .pa-error { font-size: 13px; color: #c0392b; margin: 6px 0 0; line-height: 1.5; }
@media (max-width: 480px) { .dsi-page .pa-form { flex-direction: column; } .dsi-page .pa-modal { padding: 32px 20px 24px; } }

/* ══ PATTERN B ══ */
.dsi-page .pb-rail { position: fixed; top: 50%; right: max(15px, calc((100vw - 1390px) / 2 + 15px)); transform: translateY(-50%); width: 260px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 20px 20px 18px; box-shadow: 0 8px 24px rgba(12,27,58,0.08); z-index: 50; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; display: none; }
.dsi-page .pb-rail.is-visible { opacity: 1; pointer-events: auto; }
.dsi-page .pb-rail-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ce-blue); font-weight: 500; margin-bottom: 10px; }
.dsi-page .pb-rail h4 { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.dsi-page .pb-rail p { font-size: 13px; color: var(--ink-muted); line-height: 1.5; margin-bottom: 14px; }
.dsi-page .pb-rail a.pb-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ce-blue); border-bottom: 1px solid var(--ce-blue); padding-bottom: 1px; transition: color 0.15s, border-color 0.15s; }
.dsi-page .pb-rail a.pb-link:hover { color: var(--ce-blue-dark); border-color: var(--ce-blue-dark); }
.dsi-page .pb-rail a.pb-link::after { content: '→'; font-weight: 400; }
@media (max-width: 1199px) { .dsi-page .pb-rail { display: none !important; } }
@media (min-width: 1200px) and (max-width: 1400px) { .dsi-page .pb-rail { right: 16px; width: 220px; } }

/* ══ FLOATING TOC (mobile) ══ */
.dsi-page .toc-fab { position: fixed; bottom: 24px; left: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--ce-blue); color: white; border: none; cursor: pointer; box-shadow: 0 6px 20px rgba(30,90,224,0.32); z-index: 80; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; padding: 0; }
.dsi-page .toc-fab:hover { background: var(--ce-blue-dark); transform: translateY(-2px); }
.dsi-page .toc-fab-icon { display: block; width: 18px; height: 12px; position: relative; }
.dsi-page .toc-fab-icon::before, .dsi-page .toc-fab-icon::after, .dsi-page .toc-fab-icon span { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: white; border-radius: 1px; }
.dsi-page .toc-fab-icon::before { top: 0; }
.dsi-page .toc-fab-icon span { top: 5px; right: 4px; display: block; }
.dsi-page .toc-fab-icon::after { top: 10px; right: 2px; }
.dsi-page .toc-fab.is-open { background: var(--ink); }
.dsi-page .toc-fab.is-open .toc-fab-icon::before { top: 5px; transform: rotate(45deg); right: 0; }
.dsi-page .toc-fab.is-open .toc-fab-icon::after { top: 5px; transform: rotate(-45deg); right: 0; }
.dsi-page .toc-fab.is-open .toc-fab-icon span { opacity: 0; }
.dsi-page .toc-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(12,27,58,0.3); backdrop-filter: blur(1px); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.dsi-page .toc-backdrop.is-open { opacity: 1; pointer-events: auto; }
.dsi-page .toc-panel { position: fixed; bottom: 88px; left: 24px; width: 300px; max-height: 70vh; overflow-y: auto; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 12px 40px rgba(12,27,58,0.14); z-index: 80; opacity: 0; pointer-events: none; transform: translateY(8px) scale(0.98); transition: opacity 0.22s, transform 0.22s; }
.dsi-page .toc-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.dsi-page .toc-panel-head { padding: 18px 20px 14px; border-bottom: 1px solid var(--rule-soft); position: sticky; top: 0; background: var(--paper); }
.dsi-page .toc-panel-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ce-blue); font-weight: 500; margin-bottom: 4px; }
.dsi-page .toc-panel-title { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.dsi-page .toc-panel-list { list-style: none; padding: 8px 0; counter-reset: toc-counter; }
.dsi-page .toc-panel-list li { counter-increment: toc-counter; }
.dsi-page .toc-panel-list a { display: flex; align-items: center; gap: 12px; padding: 9px 20px; font-size: 13.5px; color: var(--ink-muted); font-weight: 400; transition: color 0.15s, background 0.15s; }
.dsi-page .toc-panel-list a::before { content: counter(toc-counter, decimal-leading-zero); font-family: var(--mono); font-size: 10px; color: var(--ink-faint); font-weight: 500; flex-shrink: 0; width: 22px; }
.dsi-page .toc-panel-list a:hover { color: var(--ce-blue); background: var(--paper-soft); }
.dsi-page .toc-panel-list a.is-active { color: var(--ce-blue); font-weight: 600; }
.dsi-page .toc-panel-list a.is-active::before { color: var(--ce-blue); }
.dsi-page .toc-panel-footer { padding: 12px 20px 16px; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); border-top: 1px solid var(--rule-soft); font-weight: 500; letter-spacing: 0.04em; }
.dsi-page .toc-panel-footer strong { color: var(--ce-blue); }
@media (max-width: 480px) { .dsi-page .toc-panel { left: 12px; right: 12px; width: auto; bottom: 80px; } .dsi-page .toc-fab { bottom: 16px; left: 16px; } }
