/* Carcinoid-specific teaching layouts. All colors use the shared guide palette. */
#cahd p,#cahd li{font-size:9pt;line-height:1.43}
#cahd p{margin:8px 0}
#cahd ul,#cahd ol{margin:7px 0;padding-left:20px}
#cahd li{margin:5px 0}
#cahd .band{margin-top:13px}
#cahd .cahd-lead{font-size:12pt;font-weight:650;line-height:1.3;margin:12px 0 14px;letter-spacing:-.015em}
#cahd .cahd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
#cahd .cahd-card{border:1px solid var(--rule-hair);padding:12px;background:var(--paper-warm);border-radius:5px}
#cahd .cahd-card h3{font-size:12pt;line-height:1.2;margin:0 0 8px}
#cahd .cahd-card p:last-child{margin-bottom:0}
#cahd .cahd-label{display:block;color:var(--guide-red-deep);font-weight:750;font-size:8pt;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}
#cahd .cahd-take{background:var(--tint);border-left:4px solid var(--guide-red-deep);padding:10px 12px;margin:12px 0;font-size:9pt;line-height:1.4}
#cahd .cahd-tbl{width:100%;border-collapse:collapse;margin:9px 0}
#cahd .cahd-tbl th,#cahd .cahd-tbl td{padding:8px 9px;border-bottom:1px solid var(--rule-hair);text-align:left;vertical-align:top;font-size:8.5pt;line-height:1.4}
#cahd .cahd-tbl th{background:var(--ink-2);color:var(--paper);font-weight:700}
#cahd .cahd-tbl td:first-child{width:27%;font-weight:650}
#cahd .cahd-tbl tr:nth-child(even) td{background:var(--paper-warm)}
#cahd figure{margin:12px 0}
#cahd figcaption{font-size:8pt;line-height:1.4;margin-top:8px;color:var(--ink-3)}
#cahd .cahd-svg{width:100%;height:auto;display:block;background:var(--paper-warm);border:1px solid var(--rule-hair);border-radius:6px}
#cahd .cahd-svg text{font-family:'Hanken Grotesk',sans-serif;fill:var(--ink-2)}
#cahd .cahd-route{display:grid;grid-template-columns:1fr;gap:0;max-width:560px;margin:12px auto}
#cahd .cahd-node{padding:10px 13px;border:1px solid var(--rule-hair);border-radius:5px;background:var(--paper-warm);font-size:9pt;line-height:1.4}
#cahd .cahd-node strong{display:block;font-size:11pt;line-height:1.25;margin-bottom:3px}
#cahd .cahd-node.exposed{border:2px solid var(--guide-red-deep);background:var(--tint)}
#cahd .cahd-arrow{text-align:center;font-size:18pt;color:var(--guide-red-deep);line-height:1.1;padding:1px}
#cahd .cahd-steps{counter-reset:step;list-style:none;padding:0}
#cahd .cahd-steps li{counter-increment:step;position:relative;padding:8px 10px 8px 45px;border-bottom:1px solid var(--rule-hair)}
#cahd .cahd-steps li:before{content:counter(step);position:absolute;left:6px;top:9px;background:var(--guide-red-deep);color:var(--paper);font-weight:800;width:26px;height:26px;border-radius:50%;display:grid;place-items:center}
#cahd .cahd-number{font-size:28pt;line-height:1.05;font-weight:800;letter-spacing:-.04em;color:var(--guide-red-deep)}
#cahd .cahd-note{font-size:8pt;line-height:1.4;color:var(--ink-3)}
#cahd .cahd-route-links{font-size:8.5pt;line-height:1.4;padding-top:10px;border-top:1px solid var(--rule-hair);margin-top:12px}
#cahd .cahd-route-links a{color:var(--guide-red-deep);font-weight:700}
@media screen and (max-width:700px){#cahd .cahd-grid{grid-template-columns:minmax(0,1fr)}#cahd .cahd-tbl td,#cahd .cahd-tbl th{overflow-wrap:anywhere}#cahd .cahd-card{padding:12px}#cahd .cahd-lead{font-size:22px!important}#cahd .cahd-route{max-width:100%}#cahd .cahd-node{font-size:16px}#cahd .cahd-node strong{font-size:18px}#cahd figcaption{font-size:14px}#cahd .cahd-route-links a{display:inline-flex;align-items:center;min-height:44px}}
@media print{#cahd p,#cahd li{font-size:8.6pt;line-height:1.35}#cahd p{margin:6px 0}#cahd .cahd-lead{font-size:12pt;margin:10px 0}#cahd .cahd-grid{gap:10px;margin:9px 0}#cahd .cahd-card{padding:10px}#cahd .cahd-card h3{font-size:11pt}#cahd .cahd-tbl th,#cahd .cahd-tbl td{font-size:8.1pt;padding:7px 8px}#cahd .cahd-take{font-size:8.5pt;padding:8px 10px;margin:9px 0}#cahd .band{margin-top:10px}#cahd figure{margin:9px 0}#cahd .cahd-svg{max-height:220px}#cahd figcaption{font-size:7.5pt}#cahd .cahd-node{padding:8px 12px;font-size:8.5pt}#cahd .cahd-node strong{font-size:10pt}#cahd .cahd-route{margin:10px auto}#cahd .cahd-note{font-size:7.5pt}#cahd .cahd-steps li{padding-top:6px;padding-bottom:6px}#cahd .cahd-route-links{font-size:8pt}}

#cahd .cahd-echo img{display:block;width:100%;height:auto;object-fit:contain;background:var(--ink)}
#cahd .cahd-credit{display:block;margin-top:5px}
#cahd .cahd-credit a{color:var(--guide-red-deep)}
#cahd .cahd-enlarge{display:block;margin-top:4px;font-weight:650}
@media print{#cahd .cahd-echo img{max-height:340px}#cahd .cahd-enlarge{display:none}#cahd .cahd-echo figcaption{font-size:7.2pt}#cahd [data-page="1"] .cahd-svg{max-height:160px}#cahd [data-page="1"] figure{margin:6px 0}#cahd [data-page="1"] .cahd-grid{margin:7px 0}}
