/* Three editorial treatments; original course copy is preserved. */
#topics .section-head h2{white-space:nowrap;font-size:clamp(18px,3.5vw,48px);letter-spacing:-.035em}
#topics .topic-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
#topics .topic-column{min-width:0;display:flex;flex-direction:column;position:relative;border:1px solid #cbe3cc45;box-shadow:0 12px 28px #071d1926,inset 0 1px #ffffff30}
#topics .topic-column-head{height:136px;flex:none;box-sizing:border-box;padding:24px;position:relative;display:flex;flex-direction:column;justify-content:space-between;border-bottom:1px solid #cce4cd30}
#topics .topic-column-number{font:600 13px/1.2 ui-monospace,monospace;letter-spacing:2px;font-variant-numeric:tabular-nums}
#topics .topic-column-head h3{font-size:clamp(18px,1.55vw,24px);line-height:1.4;letter-spacing:0;margin:0;position:relative}
#topics .topic-column-body{flex:1;display:grid;grid-auto-rows:1fr;min-width:0}
#topics .outline-card{min-width:0;position:relative;display:flex;flex-direction:column}
#topics .outline-heading{display:flex;align-items:baseline;gap:10px;margin-bottom:16px}
#topics .outline-heading>span{flex-shrink:0;font:500 11px/1.4 ui-monospace,monospace;letter-spacing:1px;font-variant-numeric:tabular-nums}
#topics .outline-heading h4{font-size:17px;line-height:1.5;margin:0;font-weight:750;text-wrap:pretty}
#topics .outline-card ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}
#topics .outline-card li{position:relative;padding-left:13px;font-size:14px;font-weight:600;line-height:1.85;overflow-wrap:anywhere}
#topics .outline-card li:before{content:'';position:absolute;left:0;top:.8em;width:3px;height:3px;background:currentColor;opacity:1}
/* Industry: individual operation boards, inset header rails and card corners. */
#topics .topic-column--0{border-radius:20px;background:linear-gradient(90deg,#173b30 0,#789c87 3px,#426e59 8px,#365f4e 13px,#214b3b 100%);color:#edf5e9;border-color:#a8c6b38c;box-shadow:inset -4px 0 #17392e,inset -7px 0 #87aa94,inset -8px 0 #c9dfc878,inset 0 2px #dcebd58c,inset 0 -2px #102c2466,0 12px 28px #071d1926}
#topics .topic-column--0 .topic-column-head{border:0;padding-top:26px}
#topics .topic-column--0 .topic-column-number{display:flex;align-items:center;gap:12px;color:#d4efb5}
#topics .topic-column--0 .topic-column-number:after{content:'';height:4px;width:48px;border-radius:3px;background:linear-gradient(90deg,#bddf92 30%,#b4d09d30 30%,#b4d09d30 65%,transparent 65%,transparent 72%,#b4d09d30 72%)}
#topics .topic-column--0 .topic-column-body{padding:0 18px 18px;gap:16px}
#topics .topic-column--0 .outline-card{padding:25px 20px;background:linear-gradient(125deg,#bad9b61a,#d5efd507);border-radius:10px;box-shadow:inset 0 1px #d5efc44a,inset 0 0 0 1px #cce4be24,0 5px 12px #081f171a;justify-content:center}
#topics .topic-column--0 .outline-card:after{content:'';position:absolute;right:12px;bottom:12px;width:12px;height:12px;border-right:1px solid #cee9aa70;border-bottom:1px solid #cee9aa70}
#topics .topic-column--0 .outline-heading{padding-bottom:16px;border-bottom:1px solid #d1e6c522}
#topics .topic-column--0 .outline-heading>span{background:#142f27;color:#d9efa9;padding:5px 6px;border-radius:4px;box-shadow:inset 0 1px #d7efbc35}
#topics .topic-column--0 ul{gap:17px}
#topics .topic-column--0 li{color:#f7faf3}
#topics .topic-column--0 li:before{background:#c5e795}
/* Methods: bound technical manual, page gutter and numbered ruled entries. */
#topics .topic-column--1{border-radius:5px 18px 18px 5px;background:linear-gradient(90deg,#9eb0a4 0,#dae2d8 8px,#e6eae2 12px,#d7e0d6 100%);color:#193e32;border-color:#eaf2e3;box-shadow:inset -4px 0 #bccac0,inset -7px 0 #edf3e9,0 12px 28px #071d1926}
#topics .topic-column--1 .topic-column-head{margin:0 22px 0 28px;padding:24px 0;border-bottom:3px double #45645350}
#topics .topic-column--1 .topic-column-number{align-self:flex-start;background:#214638;color:#e7f2d9;padding:5px 9px;margin-top:-5px}
#topics .topic-column--1 .topic-column-body{padding:0 25px 18px 28px}
#topics .topic-column--1 .outline-card{padding:28px 0;border-bottom:1px solid #33594c40;justify-content:center}
#topics .topic-column--1 .outline-card:last-child{border-bottom:0}
#topics .topic-column--1 .outline-heading{gap:12px;margin-bottom:22px}
#topics .topic-column--1 .outline-heading>span{color:#385943;font-size:24px;letter-spacing:-1px;font-weight:500}
#topics .topic-column--1 ul{counter-reset:entry;gap:0;margin-left:3px;border-left:1px solid #456b4f40}
#topics .topic-column--1 li{counter-increment:entry;padding:13px 0 13px 32px;color:#193e32;border-bottom:1px solid #496b4d16}
#topics .topic-column--1 li:last-child{border-bottom:0}
#topics .topic-column--1 li:before{content:counter(entry,decimal-leading-zero);font:10px/1.8 ui-monospace,monospace;top:17px;left:9px;background:none;width:auto;height:auto;color:#385943;font-weight:600}
/* Workplace: filed case notes with folder tabs and a continuous archive spine. */
#topics .topic-column--2{border-radius:16px;background:linear-gradient(90deg,#0c2921 0,#678d78 3px,#2d5846 8px,#17392f 13px,#123329 100%);color:#edf2e6;border-color:#9dbca680;box-shadow:inset -4px 0 #0b261e,inset -7px 0 #6c927b,inset -8px 0 #c2d9bd70,inset 0 2px #d5e6cc80,inset 0 -2px #071f1966,0 12px 28px #071d1926}
#topics .topic-column--2 .topic-column-head{margin:0 19px;padding:24px 3px;border-bottom:1px solid #c4d7b54d}
#topics .topic-column--2 .topic-column-number{border:1px solid #b8c9a766;border-radius:3px;padding:4px 9px;align-self:flex-start;color:#d9e6c9;margin-top:-4px}
#topics .topic-column--2 .topic-column-head:after{content:'';position:absolute;top:25px;right:4px;width:28px;height:8px;border-top:2px solid #cadbb566;border-bottom:2px solid #cadbb566}
#topics .topic-column--2 .topic-column-body{padding:18px;gap:13px}
#topics .topic-column--2 .outline-card{padding:16px 14px 14px 18px;border-radius:0 8px 8px 8px;background:linear-gradient(110deg,#c1d1b710,#b3cba204);box-shadow:inset 2px 0 #a6bf8a70,inset 0 0 0 1px #b9cba31c;justify-content:center}
#topics .topic-column--2 .outline-card:before{content:'';position:absolute;top:-4px;left:0;width:42px;height:4px;background:#647f59;border-radius:3px 3px 0 0}
#topics .topic-column--2 .outline-heading{margin-bottom:9px;gap:8px}
#topics .topic-column--2 .outline-heading>span{color:#bed09e;font-size:10px}
#topics .topic-column--2 .outline-heading h4{font-size:16px}
#topics .topic-column--2 ul{gap:6px}
#topics .topic-column--2 li{font-size:13px;line-height:1.8;color:#f5f8f0;padding-left:10px}
@media(min-width:1600px){#topics .outline-card li{font-size:15px}#topics .topic-column--2 li{font-size:14px}#topics .outline-heading h4{font-size:19px}#topics .topic-column--2 .outline-heading h4{font-size:18px}}
@media(min-width:861px) and (max-width:1100px){#topics .topic-columns{gap:12px}#topics .topic-column-head{padding-inline:16px}#topics .topic-column--0 .topic-column-body,#topics .topic-column--2 .topic-column-body{padding:12px;gap:12px}#topics .topic-column--0 .outline-card{padding:18px 12px}#topics .topic-column--1 .topic-column-body{padding-inline:18px}#topics .outline-heading h4{font-size:16px}#topics .topic-column--2 .outline-heading h4{font-size:15px}}
@media(max-width:860px){#topics .topic-columns{grid-template-columns:1fr;gap:26px}#topics .topic-column-body{grid-auto-rows:auto}#topics .topic-column-head{height:116px}#topics .topic-column-head h3{font-size:22px}#topics .topic-column--0 ul{gap:10px}#topics .topic-column--1 .outline-card{padding-block:24px}#topics .topic-column--2 .outline-card{padding-block:20px}#topics .outline-card li{font-size:14px}#topics .section-head h2{font-size:clamp(17px,4.8vw,38px);letter-spacing:-.04em}}

/* Stronger directory text contrast; preserve all existing geometry and copy. */
#topics .topic-column--0 .outline-heading h4,
#topics .topic-column--2 .outline-heading h4{color:#ffffff}

/* Continuous numbering across all three treatments, with equal type per level. */
#topics .topic-column .outline-heading>span{
 font:500 13px/1.4 ui-monospace,monospace;
 letter-spacing:1px;font-variant-numeric:tabular-nums;
}
#topics .topic-column .outline-card li{padding-left:30px;}
#topics .topic-column .outline-card li::before{
 content:attr(data-entry-number);width:24px;height:auto;left:0;top:0;
 background:none;font:600 11px/2.35 ui-monospace,monospace;
 letter-spacing:0;font-variant-numeric:tabular-nums;color:inherit;
}
#topics .topic-column--0 .outline-card li::before{color:#cdef9a;}
#topics .topic-column--1 .outline-card li{padding-left:32px;}
#topics .topic-column--1 .outline-card li::before{left:9px;top:13px;color:#385943;}
#topics .topic-column--2 .outline-card li::before{color:#bed09e;}

/* Group-number badges: distinguish section headings from lesson numbers. */
#topics .topic-column--1 .outline-heading>span,
#topics .topic-column--2 .outline-heading>span{
 padding:5px 6px;border-radius:4px;
}
#topics .topic-column--1 .outline-heading>span{
 background:linear-gradient(135deg,#cad7d0,#a3baad);color:#173c2d;
 box-shadow:inset 0 1px #ffffffb3,inset 0 0 0 1px #6e927b66;
}
#topics .topic-column--2 .outline-heading>span{
 background:linear-gradient(135deg,#d4eab0,#b2d18b);color:#203e25;
 box-shadow:inset 0 1px #f2ffdc,inset 0 0 0 1px #e4f7be66;
}

/* Light silver announcement panel for choosing custom-course topics. */
#topics .topic-directory-note{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;margin-top:28px;padding:26px 30px;border:1px solid #f5faf4;border-radius:18px;background:linear-gradient(115deg,#e0ead2 0%,#d6e5c2 58%,#cadcb0 100%);color:#29473b;box-shadow:inset 0 2px 0 #ffffffeb,inset 0 -3px 0 #a4b6a955,0 8px 20px #09291e20;}
#topics .topic-directory-note h3{margin:3px 0 0;font-size:20px;color:#244638;line-height:1.6;}
#topics .directory-note-content{min-width:0;}
#topics .topic-directory-note{position:relative;}
#topics .directory-note-cherries{position:absolute;right:24px;top:50%;transform:translateY(-50%);width:156px;height:118px;object-fit:contain;pointer-events:none;}
@media(min-width:901px){#topics .directory-note-content{margin-right:172px;}}
@media(min-width:641px) and (max-width:900px){#topics .directory-note-content{margin-right:118px;}#topics .directory-note-cherries{width:110px;height:110px;right:16px;}}
@media(max-width:640px){#topics .directory-note-cherries{width:64px;height:58px;right:16px;top:5px;transform:none;}}
#topics .directory-note-content ol{list-style:none;padding:0;margin:0;display:grid;gap:12px;}
#topics .directory-note-content li{display:flex;align-items:baseline;gap:14px;}
#topics .directory-note-number{flex:0 0 30px;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;color:#557260;}
#topics .topic-directory-note p{font-size:16px;line-height:1.8;margin:0;color:#29473b;}
#topics .topic-directory-note .directory-note-detail{margin-top:18px;padding-top:16px;border-top:1px solid #8da49455;color:#50675a;font-size:14px;}
#topics .directory-note-detail strong{color:#244638;font-weight:700;}
@media(max-width:640px){#topics .topic-directory-note{grid-template-columns:1fr;gap:14px;padding:20px 18px;border-radius:16px;}#topics .topic-directory-note h3{font-size:19px;margin:0;}#topics .topic-directory-note p{font-size:14px;}#topics .directory-note-content li{gap:8px;}#topics .directory-note-number{flex-basis:26px;}#topics .topic-directory-note .directory-note-detail{font-size:13px;margin-top:16px;padding-top:14px;}}

/* Compact the directory note vertically without reducing type or content. */
#topics .topic-directory-note{padding-block:16px;}
#topics .directory-note-content ol{gap:5px;}
#topics .topic-directory-note .directory-note-detail{margin-top:10px;padding-top:9px;}
@media(max-width:640px){
 #topics .topic-directory-note{padding-block:15px;gap:8px;}
 #topics .topic-directory-note .directory-note-detail{margin-top:10px;padding-top:9px;}
}

/* Separate the directory label into a centered deep-green end panel. */
#topics .topic-directory-note h3{
 display:flex;align-items:center;justify-content:center;text-align:center;
 margin:-16px 12px -16px -30px;padding:16px 12px;
 background:linear-gradient(135deg,#254f3f,#123b2e);
 color:#f0f6e5;border-radius:17px 0 0 17px;
 border-right:1px solid #89ad8b;box-shadow:inset 0 2px 0 #e7f4dd40;
}
@media(max-width:640px){
 #topics .topic-directory-note h3{margin:-15px -18px 4px;padding:18px 78px;min-height:64px;border-radius:15px 15px 0 0;border-right:0;border-bottom:1px solid #89ad8b;}
}

/* Small coordinated crystal accents, without moving directory content. */
#topics .topic-column-head h3{width:fit-content;max-width:100%;}
#topics .topic-title-icon{position:absolute;left:calc(100% + 10px);top:50%;transform:translateY(-50%);width:clamp(40px,3.6vw,58px);height:clamp(40px,3.6vw,58px);object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 3px #071d1924);}
@media(min-width:861px) and (max-width:1200px){
 #topics .topic-title-icon{left:auto;right:0;top:-31px;width:42px;height:42px;}
 #topics .topic-column-head h3{width:100%;}
}
@media(max-width:860px){#topics .topic-title-icon{width:48px;height:48px;left:calc(100% + 12px);}}
@media(max-width:380px){#topics .topic-title-icon{width:36px;height:36px;left:calc(100% + 6px);}}
