#ctmg{color-scheme:light;--ink:#163449;--muted:#466275;--paper:#f5fafb;--line:#b8cfd5;--teal:#086f6a;--night:#081827;--accent:#8ee6d4;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:17px;line-height:1.65}
#ctmg *{box-sizing:border-box}
#ctmg{margin:0}
#ctmg a{color:#006960;text-underline-offset:.2em}
#ctmg a:hover{text-decoration-thickness:2px}
#ctmg button,#ctmg input,#ctmg select,#ctmg textarea{font:inherit}
#ctmg button,#ctmg a,#ctmg input,#ctmg select,#ctmg textarea{touch-action:manipulation}
#ctmg a:focus-visible,#ctmg button:focus-visible,#ctmg input:focus-visible,#ctmg select:focus-visible,#ctmg textarea:focus-visible,#ctmg summary:focus-visible{outline:3px solid #8848bf;outline-offset:4px}
#ctmg button{cursor:pointer}
#ctmg .skip{position:absolute;left:12px;top:-90px;padding:10px;background:white;z-index:20}
#ctmg .skip:focus{top:8px}
#ctmg .sitehead{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px max(5vw,20px);background:var(--night);color:#f5ffff}
#ctmg .sitehead a{color:inherit}
#ctmg .brand{font-size:26px;font-weight:750;text-decoration:none;white-space:nowrap}
#ctmg .brand span{color:var(--accent)}
#ctmg .sitehead nav{display:flex;gap:25px;flex-wrap:wrap}
#ctmg .previewnote{margin:0;padding:8px 20px;text-align:center;font-size:14px;background:#ddf4ee;color:#174d42}
#ctmg{max-width:1240px;margin:0 auto;padding:0 24px 65px}
#ctmg h1,#ctmg h2,#ctmg h3{line-height:1.18;letter-spacing:-.025em;overflow-wrap:anywhere}
#ctmg h1{font-size:clamp(2rem,4.8vw,3.6rem);margin:10px 0 24px;max-width:19ch}
#ctmg h2{font-size:clamp(1.5rem,3vw,2rem);margin:0 0 20px}
#ctmg h3{font-size:1.2rem}
#ctmg .lead{font-size:1.15rem;line-height:1.65}
#ctmg .eyebrow{font-size:13px;letter-spacing:.08em;font-weight:750;color:var(--teal);margin:0 0 8px}
#ctmg .hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:38px;padding:50px 0}
#ctmg .hero img{width:100%;height:auto;border-radius:18px;box-shadow:0 18px 50px #10293820}
#ctmg .actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:24px 0}
#ctmg .button{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;background:var(--teal);border:2px solid var(--teal);border-radius:9px;color:white;font-weight:650;text-decoration:none;line-height:1.35;min-height:48px;max-width:100%}
#ctmg .button:hover{background:#085b57}
#ctmg .prose{max-width:850px;margin:0 auto 45px;padding-top:30px;border-top:1px solid var(--line)}
#ctmg .prose p{margin:15px 0}
#ctmg .prose ul,#ctmg .prose ol{padding-left:25px}
#ctmg .steps li{margin:20px 0;padding-left:8px}
#ctmg .flow{display:flex;gap:15px;list-style:none;padding:0!important;margin:30px 0}
#ctmg .flow li{flex:1;display:flex;gap:12px;align-items:flex-start;padding:16px;background:#e1f2ef;border-radius:10px;font-weight:650;line-height:1.45}
#ctmg .flow span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;height:28px;border-radius:50%;background:var(--teal);color:white;font-size:14px}
#ctmg .worksheet{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:25px 0}
#ctmg label{display:block;font-weight:650;font-size:16px}
#ctmg textarea,#ctmg input,#ctmg select{width:100%;display:block;border:1px solid #72969f;border-radius:7px;padding:11px 12px;margin-top:8px;background:#fff;color:var(--ink);min-width:0}
#ctmg textarea{resize:vertical;line-height:1.5}
#ctmg fieldset{border:0;padding:0;margin:20px 0}
#ctmg legend{font-weight:650;margin-bottom:16px}
#ctmg .choice{display:flex;align-items:flex-start;gap:12px;margin:12px 0;font-weight:400;padding:12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
#ctmg .choice input{width:20px;height:20px;flex-shrink:0;margin:4px 0}
#ctmg .field-count,#ctmg .download-status,#ctmg .course-label{font-size:14px;color:var(--muted)}
#ctmg .quiz-feedback{padding:0;font-weight:650}
#ctmg .quiz-feedback:not(:empty){padding:15px;background:#e1f2ef;border-left:4px solid var(--teal)}
#ctmg details{margin:20px 0}
#ctmg summary{cursor:pointer;font-weight:650}
#ctmg .evidence li{margin:20px 0}
#ctmg .evidence li p{font-size:15px;color:var(--muted)}
#ctmg pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0c2438;color:#d2f8ef;padding:22px;border-radius:12px;line-height:1.6;font-size:15px}
#ctmg code{font-family:ui-monospace,Consolas,monospace}
#ctmg .nextstep{max-width:850px;margin:45px auto 0;padding:30px;background:var(--night);color:#f3ffff;border-radius:15px}
#ctmg .nextstep .eyebrow{color:var(--accent)}
#ctmg .nextstep a:not(.button){color:var(--accent);display:block;margin-top:18px}
#ctmg .nextstep .button{background:#8ee6d4;border-color:#8ee6d4;color:#092b29}
#ctmg .hubhero{padding:55px 0 35px;max-width:850px}
#ctmg .hubhero h1{max-width:22ch}
#ctmg .catalog{padding-top:20px}
#ctmg .filters{display:grid;grid-template-columns:2fr 1fr;gap:25px;border-top:1px solid var(--line);padding-top:25px}
#ctmg .guidegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
#ctmg .guidecard{display:flex;flex-direction:column;background:white;border:1px solid #c4d8dc;border-radius:14px;overflow:hidden}
#ctmg .guidecard[hidden]{display:none}
#ctmg .coverlink img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover}
#ctmg .cardbody{display:flex;flex-direction:column;padding:24px;flex:1}
#ctmg .cardbody h2{font-size:23px}
#ctmg .cardbody h2 a{color:var(--ink);text-decoration:none}
#ctmg .cardbody .button{margin-top:auto;align-self:flex-start}
#ctmg .cardbody p{font-size:15px}
#ctmg .sitefoot{background:var(--night);color:#e1f2f2;padding:35px max(5vw,20px);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
#ctmg .sitefoot a{color:var(--accent)}
#ctmg .sitefoot p{width:100%;font-size:14px;margin:0}
@media(max-width:950px){#ctmg .guidegrid{grid-template-columns:repeat(2,minmax(0,1fr))}
#ctmg .hero{grid-template-columns:1fr;gap:20px}
#ctmg .hero img{max-width:620px}
#ctmg .flow{gap:10px}
#ctmg .flow li{padding:12px;flex-direction:column}
}
@media(max-width:600px){#ctmg{padding:0 18px 40px}
#ctmg .sitehead{align-items:flex-start;padding:16px 18px;gap:16px}
#ctmg .brand{font-size:23px}
#ctmg .sitehead nav{gap:7px;flex-direction:column;font-size:14px}
#ctmg .hero,#ctmg .hubhero{padding-top:32px}
#ctmg .hero{padding-bottom:30px}
#ctmg .hero h1{max-width:none}
#ctmg .guidegrid{grid-template-columns:1fr}
#ctmg .filters,#ctmg .worksheet{grid-template-columns:1fr;gap:18px}
#ctmg .flow{flex-direction:column}
#ctmg .flow li{flex-direction:row}
#ctmg .prose{margin-bottom:30px}
#ctmg .nextstep{padding:22px}
#ctmg .actions{gap:15px}
#ctmg .previewnote{font-size:12px}
#ctmg .sitefoot{align-items:flex-start;flex-direction:column}
#ctmg .cardbody h2{font-size:23px}
}
@media(prefers-reduced-motion:reduce){#ctmg *{scroll-behavior:auto!important}
}


#ctmg{width:100%;max-width:1240px;isolation:isolate}#ctmg h1,#ctmg h2,#ctmg h3{color:var(--ink);font-family:inherit}#ctmg .nextstep h2{color:#f3ffff}#ctmg p,#ctmg li,#ctmg label,#ctmg legend{color:inherit}#ctmg .eyebrow{color:var(--teal)}#ctmg .nextstep .eyebrow{color:var(--accent)}

/* Standalone body includes its own padding in the available width. */
#ctmg{box-sizing:border-box}
@media(max-width:600px){#ctmg .sitehead{flex-wrap:wrap}}
