/* Concept 20 content styling. Shared presentation/editor systems are reused. */
.dc-slide .slide-content{gap:8px}
.dc-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.93fr);gap:12px;flex:1;min-height:0}
.dc-card{border:1px solid #d3e1f1;background:#f7fbff;border-radius:14px;min-height:0;min-width:0;display:flex;flex-direction:column;gap:8px;padding:11px 14px}
.dc-visual{justify-content:space-between}
.dc-head{display:flex;justify-content:space-between;gap:9px;align-items:center}
.dc-head strong{color:#244a7c;font-size:18px;line-height:1.2}
.dc-head span{color:#54718f;font-size:15px;font-weight:800}
.dc-visual svg{display:block;width:100%;height:clamp(180px,20vw,280px);min-height:0;touch-action:manipulation;user-select:none}
.dc-visual svg .dc-gridline{stroke:#e5eef8;stroke-width:1}
.dc-visual svg .dc-axis{stroke:#9eb6d1;stroke-width:2}
.dc-visual svg .dc-axis-label{font-size:16px;fill:#52708e;font-weight:750}
.dc-visual svg .dc-dot{cursor:pointer;stroke:#fff;stroke-width:1.4;transition:fill .15s,stroke .15s}
.dc-visual svg .dc-dot:focus{stroke:#172f50;stroke-width:3;outline:none}
.dc-visual svg .dc-halo{fill:#dcecff;fill-opacity:.28;stroke:#367bc3;stroke-width:2.5;stroke-dasharray:6 4;pointer-events:none}
.dc-visual svg .dc-mark{fill:none;stroke:#e59a4a;stroke-width:3;pointer-events:none}
.dc-visual svg .dc-mst{stroke:#5a91c9;stroke-width:2;opacity:.8;pointer-events:none}
.dc-visual svg .dc-mst.bridge{stroke:#da8656;stroke-width:3.2;stroke-dasharray:5 4}
.dc-buttons{display:flex;gap:7px;align-items:stretch;flex-wrap:wrap}
.dc-buttons button{font:inherit;color:#22588f;font-size:16px;font-weight:850;line-height:1.16;padding:8px 11px;cursor:pointer;border:1px solid #a8c6e6;background:#fff;border-radius:10px}
.dc-buttons button:hover:not(:disabled){border-color:#317dca}
.dc-buttons button.selected{background:#ddebff;color:#16518d;border-color:#317dca}
.dc-buttons button:disabled{opacity:.4;cursor:default}
.dc-mini button{padding:7px 10px}
.dc-quiz-buttons button{flex:1}
.dc-side{justify-content:center;gap:9px}
.dc-side>strong{font-size:19px;color:#254b79;line-height:1.2}
.dc-note{background:#fff;border:1px solid #cbdff2;border-radius:10px;padding:9px 12px;color:#365978;font-size:16px;line-height:1.3}
.dc-quiz{padding:8px 10px;gap:5px}
.dc-quiz p{font-size:16px}
.dc-feedback{font-size:16px;line-height:1.26;color:#465f7c;min-height:22px}
.dc-feedback.good{color:#227351;font-weight:800}.dc-feedback.bad{color:#a05b35;font-weight:800}
.dc-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;color:#45627e;font-weight:750}
.dc-swatch{width:11px;height:11px;display:inline-block;vertical-align:-1px;border-radius:50%;margin-right:5px}
.dc-blue{background:#2b80c5}.dc-green{background:#229982}.dc-amber{background:#dd944c}.dc-grey{background:#aeb9c6}
.dc-definition{display:flex;flex-direction:column;gap:4px;background:#e8f3ff;border:1px solid #c3dcf5;border-left:4px solid #2d78bb;border-radius:10px;padding:9px 11px;color:#345779;line-height:1.27}
.dc-definition b{font-size:17px;color:#18578e}.dc-definition span{font-size:16px}
.dc-definition.dc-light{background:#fff;border-color:#d4e2f1;border-left-color:#8bafd7}
.dc-em{color:#1764a6;font-weight:900}
.dc-metric{background:#fff;border:1px solid #d2e3f3;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px}
.dc-metric span{font-size:16px;color:#46647e}.dc-metric b{font-size:29px;color:#1e71b8}
.dc-range-label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:16px;color:#315777;font-weight:850}
.dc-range-label b{font-size:21px;color:#166bae}
.dc-side input[type=range]{width:100%;accent-color:#2678bb;cursor:pointer}
.dc-flow{display:flex;flex-direction:column;gap:9px}
.dc-flow div{display:flex;align-items:center;gap:9px;font-size:17px;color:#365b7c}
.dc-flow b{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;background:#d6eaff;color:#1466a9;border-radius:50%}
.dc-metrics-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.dc-metrics-two>div{background:white;border:1px solid #d3e3f3;padding:8px 10px;border-radius:10px}
.dc-metrics-two span{display:block;font-size:15px;color:#55708a}.dc-metrics-two b{display:block;font-size:25px;color:#2473b4}
.dc-slide .takeaway{font-size:clamp(18px,1.6vw,21px)}
@media(min-width:901px) and (max-width:1024px){
 .dc-slide .slide-content{gap:5px}
 .dc-grid{gap:8px}
 .dc-card{padding:6px 8px;gap:4px}
 .dc-head strong,.dc-side>strong{font-size:17px}
 .dc-head span{font-size:14px}
 .dc-visual svg{height:clamp(160px,18vw,185px)}
 .dc-buttons{gap:4px}
 .dc-buttons button{padding:5px 7px;font-size:16px}
 .dc-note{padding:6px 8px;line-height:1.18}
 .dc-side{gap:5px}
 .dc-definition{padding:5px 7px;gap:2px;line-height:1.17}
 .dc-definition b{font-size:16px}
 .dc-quiz{padding:5px 7px;gap:3px}
 .dc-feedback{line-height:1.12}
 .dc-metric{padding:5px 9px}
 .dc-metric b{font-size:26px}
 .dc-flow{gap:5px}
 .dc-flow div{font-size:16px}
 .dc-flow b{width:26px;height:26px;flex-basis:26px}
 .dc-metrics-two>div{padding:5px 8px}
 .dc-slide .takeaway{padding:6px 8px}
}
@media(max-width:900px){
 .dc-grid{grid-template-columns:1fr}
 .dc-card{padding:11px 12px;gap:8px}
 .dc-visual svg{height:230px}
 .dc-side{justify-content:flex-start}
 .dc-slide .slide-content{gap:10px}
}

/* Concept-first definition follows the epsilon-neighborhood page. */
.dc-primary-definition{border-left-width:5px;padding:13px 14px;background:#e6f1ff}
.dc-primary-definition b{font-size:20px}
.dc-primary-definition span{font-size:18px;line-height:1.35}
.dc-types-side{gap:9px}
.dc-rule{background:#fff;border:1px solid #d4e3f1;border-left:4px solid #3a81c2;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:4px}
.dc-rule:nth-child(2){border-left-color:#e1a159}
.dc-rule:nth-child(3){border-left-color:#a5b3c4}
.dc-rule b{font-size:17px;line-height:1.2;color:#23537f}
.dc-rule span{font-size:16px;line-height:1.27;color:#395979}
.dc-rule strong{color:#1f649e}
.dc-evidence{background:#e9f3ff;border:1px solid #bcd8f3;border-radius:10px;padding:9px 12px;font-size:16px;font-weight:800;line-height:1.28;color:#1d609a}
.dc-algorithm-side{justify-content:space-around}
.dc-algorithm-definition{gap:4px}
.dc-algorithm-definition span{line-height:1.25}
.dc-steps{display:flex;flex-direction:column;gap:7px}
.dc-steps>div{display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:9px;padding:3px 6px;min-width:0}
.dc-steps>div.current{background:#e7f2ff;border-color:#9dc5ee}
.dc-steps b{border-radius:50%;background:#dcecfb;color:#226cae;min-width:28px;height:28px;display:grid;place-items:center;font-size:16px}
.dc-steps span{font-size:16px;line-height:1.25;color:#365b7c}
@media(min-width:901px) and (max-width:1024px){
 .dc-primary-definition{padding:7px 9px}
 .dc-primary-definition b{font-size:18px}
 .dc-primary-definition span{font-size:16px;line-height:1.2}
 .dc-types-side{gap:4px}
 .dc-rule{padding:5px 8px;gap:2px}
 .dc-rule b{font-size:16px}
 .dc-rule span{line-height:1.16}
 .dc-evidence{padding:6px 8px;line-height:1.15}
 .dc-steps{gap:3px}
 .dc-steps>div{padding:1px 3px;gap:6px}
 .dc-steps b{min-width:25px;height:25px}
 .dc-steps span{line-height:1.16}
}

/* Concept 20 revised five-slide storyline. */
.dc-two-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1;min-height:0}
.dc-case{gap:8px;justify-content:space-between}
.dc-case .dc-head strong{font-size:19px}
.dc-case .dc-head span{font-size:15px;color:#577491}
.dc-case svg{display:block;width:100%;height:clamp(182px,19.5vw,274px);user-select:none}
.dc-case-note{font-size:16px;color:#385d81;line-height:1.24;margin:0;min-height:38px}
.dc-slide .dc-visual svg .dc-connection,.dc-slide .dc-case svg .dc-connection{stroke-width:2.8;stroke-opacity:.78;stroke-linecap:round;pointer-events:none}
.dc-slide svg .dc-core-ring{fill:none;stroke:#835abb;stroke-width:2.25;pointer-events:none}
.dc-density-side{justify-content:space-between}
.dc-density-side .dc-primary-definition{padding:10px 12px}
.dc-density-side .dc-primary-definition b{font-size:18px}
.dc-density-side .dc-primary-definition span{font-size:17px}
.dc-algorithm-definition b{font-size:17px}
.dc-algorithm-definition span{font-size:14px;line-height:1.22;letter-spacing:-.01em;overflow-wrap:anywhere}
.dc-steps>div{align-items:flex-start}
.dc-steps>div b{min-width:29px;height:29px;flex:0 0 29px}
.dc-steps>div span{flex:1}
@media(min-width:901px) and (max-width:1024px){
 .dc-two-cases{gap:8px}
 .dc-case{padding:6px 8px;gap:4px}
 .dc-case .dc-head strong{font-size:17px}
 .dc-case .dc-head span{font-size:14px}
 .dc-case svg{height:161px}
 .dc-case-note{line-height:1.16;min-height:37px}
 .dc-density-side .dc-primary-definition{padding:6px 8px}
 .dc-density-side .dc-primary-definition b{font-size:17px}
 .dc-density-side .dc-primary-definition span{font-size:16px}
 .dc-algorithm-definition span{font-size:14px;line-height:1.12}
 .dc-steps>div b{min-width:25px;height:25px;flex-basis:25px}
}
@media(max-width:900px){
 .dc-two-cases{grid-template-columns:1fr}
 .dc-case svg{height:218px}
 .dc-case-note{min-height:0}
}

.dc-case svg .dc-mst{stroke:#5a90c2;stroke-width:2.2;stroke-opacity:.8;pointer-events:none}
.dc-case svg .dc-mst.bridge{stroke:#df8f4c;stroke-width:3.2;stroke-dasharray:6 4}

/* Concept 20: same algorithm controls on both datasets, core-to-border growth visual. */
.dc-methods{flex-wrap:nowrap;gap:5px}
.dc-methods button{flex:1 1 auto;min-width:0;padding:7px 7px;white-space:nowrap}
.dc-methods button:last-child{flex:1.55 1 auto}
.dc-case .dc-case-note{min-height:39px}
.dc-neighbor-presets button b{font-weight:900;color:#1b6aab}
#dc-neighbor-presets button b{margin-left:4px}
.dc-rule sub,.dc-metric sub,.dc-definition sub,.dc-evidence sub{font-size:.76em;line-height:0;vertical-align:sub}
.dc-slide svg .dc-border-link{stroke:#e29b50;stroke-width:2.3;stroke-dasharray:4 4;stroke-linecap:round;pointer-events:none}
.dc-slide svg .dc-connection{stroke-width:3.1;stroke-linecap:round;pointer-events:none}
@media(min-width:901px) and (max-width:1024px){
 .dc-methods{gap:3px}
 .dc-methods button{padding:5px 4px;font-size:16px;letter-spacing:-.025em}
 .dc-case .dc-case-note{min-height:38px}
}
@media(max-width:900px){
 .dc-methods{flex-wrap:wrap}
 .dc-methods button{flex:1 1 auto}
}

/* Coordinates must remain visible on every plot, especially the two cases on page 1. */
.dc-slide svg .dc-gridline{stroke:#e0e7f1;stroke-width:1.1}
.dc-slide svg .dc-axis{stroke:#35516f;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;fill:none}
.dc-slide svg .dc-axis-tick{stroke:#35516f;stroke-width:2.2;stroke-linecap:round}
.dc-slide svg .dc-axis-number{fill:#344f6b;font-size:15px;font-weight:800}
.dc-slide svg .dc-axis-label{fill:#193f66;font-size:17px;font-weight:900}
