/* Training page. Same tokens and patterns as the Resource Library (.txcr). */
.txct {
	--a: #ffb000; --a-dim: #a3761a; --void: #080705; --panel: #100e09; --panel-2: #16130c;
	--rule: #2c2517; --paper: #e7ddcb; --muted: #a89a82; --jade: #35d39a; --alert: #ff4b3a;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	position: relative; z-index: 1; isolation: isolate; clip-path: inset(-2px -24px -40px);
	color: var(--paper); background: transparent;
	font-family: var(--sans); line-height: 1.55; margin: 0 0 3rem; padding: 2px 0 8px;
}
.txct *, .txct *::before, .txct *::after { box-sizing: border-box; }
.txct a { color: var(--a); }
.txct :focus-visible { outline: 2px solid var(--a); outline-offset: 2px; }
.txct [hidden] { display: none !important; }
.txct .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.entry-content .txct ul { padding-left: 0; list-style: none; }
.entry-content .txct li { margin-bottom: 0; }
.entry-content .txct a { border-bottom: 0; }
.txct p { max-width: none; }

/* Console */
.txct-console {
	position: relative; overflow: hidden; border: 1px solid var(--rule);
	background: repeating-linear-gradient(0deg, rgba(255, 176, 0, .035) 0 1px, transparent 1px 3px), linear-gradient(180deg, var(--panel-2), var(--panel));
	padding: 18px 20px 16px; margin-bottom: 22px; font-family: var(--mono);
}
.txct-console::before, .txct-console::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--a); pointer-events: none; }
.txct-console::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.txct-console::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.txct-kicker { margin: 0 0 8px; color: var(--a); font-size: .95rem; letter-spacing: .02em; }
.txct-prompt { color: var(--a-dim); }
.txct-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; color: var(--muted); font-size: .8rem; text-transform: lowercase; }
.txct-status b { color: var(--paper); }
.txct-sep { color: var(--rule); }
.txct-led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 8px var(--jade); animation: txct-pulse 1.8s ease-in-out infinite; }
.txct .txct-intro { margin: 0; color: var(--paper); font-family: var(--sans); font-size: .9rem; }

/* Jump tiles: one per provider */
.txct-jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px; margin: 0 0 30px; }
.txct-jump a {
	display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 9px 10px; text-decoration: none !important;
	border: 1px solid var(--rule); border-top: 3px solid var(--c); background: var(--panel);
	font-family: var(--mono); font-size: .76rem; color: var(--paper) !important; transition: background .2s, transform .2s;
}
.txct-jump a:hover, .txct-jump a:focus-visible { background: color-mix(in srgb, var(--c) 12%, var(--panel)); transform: translateY(-1px); }
.txct-jump span { color: var(--c); font-weight: 700; }
.txct-jump b { color: var(--muted); font-weight: 400; }
.txct-jump em { grid-column: 1 / -1; font-style: normal; font-family: var(--sans); font-size: .76rem; color: var(--muted); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txct-jump a.is-more { border-top-style: dashed; }

/* Provider sections */
.txct-prov { margin: 0 0 48px; scroll-margin-top: 90px; }
.txct-head { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-bottom: 10px; margin-bottom: 16px; }
.txct-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--c, var(--a)), var(--rule) 45%); }
.txct-code { font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--void); background: var(--c, var(--a)); padding: 2px 7px; }
.txct .txct-title { margin: 0; font-family: var(--sans); font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 800; line-height: 1.2; color: var(--c, var(--a)); letter-spacing: -.01em; }
.txct-count { margin-left: auto; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.txct .txct-desc { flex: 1 1 100%; margin: 2px 0 0; color: var(--muted); font-size: .9rem; }

/* Courses inside a provider */
.txct .txct-level { margin: 22px 0 12px; padding: 0 0 6px; font-family: var(--mono); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c, var(--a)); border-bottom: 1px dashed color-mix(in srgb, var(--c, #ffb000) 35%, #2c2517); }
.txct .txct-head + .txct-level { margin-top: 6px; }
.txct-course { margin: 0 0 26px; padding-left: 14px; border-left: 1px solid color-mix(in srgb, var(--c, #ffb000) 30%, #2c2517); }
.txct .txct-course-title { margin: 0 0 4px; font-family: var(--sans); font-size: 1.08rem; font-weight: 800; line-height: 1.3; color: var(--paper); }
.txct-ccode { font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--c, var(--a)); border: 1px solid color-mix(in srgb, var(--c, #ffb000) 55%, transparent); padding: 1px 6px; margin-right: 4px; vertical-align: 2px; }
.txct-hours { font-family: var(--mono); font-size: .72rem; font-weight: 400; color: var(--muted); }
.txct .txct-cdesc { margin: 0 0 8px; color: #cfc4b0; font-size: .9rem; }
.txct .txct-more { margin: 12px 0 0; font-family: var(--mono); font-size: .8rem; }
.txct .txct-more a { color: var(--c, var(--a)); }
/* "N more dates + course details on teex.org →" (1.0.14). */
.entry-content .txct a.txct-more-btn, .txct-more-btn { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; padding: 9px 14px;
	color: var(--c, #ffb000); background: color-mix(in srgb, var(--c, #ffb000) 12%, rgba(8, 7, 5, .85)); border: 1px solid var(--c, #ffb000); border-bottom: 1px solid var(--c, #ffb000);
	font-weight: 700; letter-spacing: .03em; text-decoration: none; box-shadow: 0 0 16px color-mix(in srgb, var(--c, #ffb000) 18%, transparent);
	transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.txct-more-host { font-weight: 400; color: var(--muted); }
.entry-content .txct a.txct-more-btn:hover, .entry-content .txct a.txct-more-btn:focus-visible { color: #080705; background: var(--c, #ffb000); transform: translateY(-1px); box-shadow: 0 0 24px color-mix(in srgb, var(--c, #ffb000) 45%, transparent); }
.entry-content .txct a.txct-more-btn:hover .txct-more-host, .entry-content .txct a.txct-more-btn:focus-visible .txct-more-host { color: #2c2517; }

/* Class cards */
.txct-cinfo > :last-child { margin-bottom: 0; }
.txct-cbody:not(.is-solo) > .txct-cinfo { margin-bottom: 10px; }
@media (min-width: 900px) {
	.txct-cbody.is-solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 44%); gap: 8px 22px; align-items: start; }
	.txct-cbody.is-solo > .txct-grid { grid-template-columns: 1fr; }
}
.txct-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 8px; }
.txct-card {
	position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: start;
	margin: 0; padding: 10px 12px 10px 10px; background: var(--panel);
	border: 1px solid var(--rule); border-left: 3px solid var(--c, var(--a));
	transition: border-color .25s, box-shadow .25s, background .25s;
}
.txct-card::before, .txct-card::after { content: ""; position: absolute; width: 8px; height: 8px; border: 2px solid var(--c, var(--a)); opacity: 0; transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.txct-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; transform: translate(-4px, -4px); }
.txct-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; transform: translate(4px, 4px); }
.txct-card:hover, .txct-card:focus-within {
	background: var(--panel-2); border-color: color-mix(in srgb, var(--c, #ffb000) 45%, #2c2517); border-left-color: var(--c, var(--a));
	box-shadow: 0 10px 28px -16px color-mix(in srgb, var(--c, #ffb000) 60%, transparent);
}
.txct-card:hover::before, .txct-card:hover::after, .txct-card:focus-within::before, .txct-card:focus-within::after { opacity: 1; transform: none; }
.txct-badge {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	width: 52px; min-height: 52px; padding: 4px 2px; font-family: var(--mono); text-align: center; line-height: 1.1;
	border: 1px solid color-mix(in srgb, var(--c, #ffb000) 55%, transparent); background: color-mix(in srgb, var(--c, #ffb000) 9%, transparent);
}
.txct-badge b { font-size: 11px; color: var(--c, var(--a)); letter-spacing: .03em; white-space: nowrap; }
.txct-badge span { font-size: 8.5px; color: var(--muted); }
.txct .txct-card-title { margin: 0 0 2px; font-family: var(--sans); font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--paper); }
.txct .txct-fac { margin: 0 0 5px; color: #cfc4b0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.txct-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0; padding: 0; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.txct-meta li { margin: 0; }
.txct-meta li + li::before { content: "·"; margin: 0 6px; color: var(--rule); }
.txct-meta .txct-limited { color: #ff6a5a; }
.txct-btn {
	position: relative; isolation: isolate; overflow: hidden; align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 4px 10px; border: 1px solid var(--c, var(--a)); background: transparent; color: var(--c, var(--a)) !important; text-decoration: none !important; cursor: pointer;
	font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; transition: color .2s, box-shadow .2s;
}
.txct-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c, var(--a)); transform: translateX(-101%); transition: transform .3s var(--ease); }
.txct-btn:hover, .txct-btn:focus-visible { color: var(--void) !important; box-shadow: 0 0 16px color-mix(in srgb, var(--c, #ffb000) 45%, transparent); }
.txct-btn:hover::before, .txct-btn:focus-visible::before { transform: none; }
.txct-btn-solid { background: var(--a); color: var(--void) !important; padding: 8px 16px; font-size: .8rem; }

/* TEEX hosting box, inside the TEEX section */
.txct-host { margin: 4px 0 0; padding: 10px 14px; border: 1px dashed color-mix(in srgb, var(--c, #c9b8ff) 50%, #2c2517); background: color-mix(in srgb, var(--c, #c9b8ff) 5%, transparent); }
.txct .txct-host p { margin: 0; font-size: .9rem; }
.txct-host b { color: var(--c, var(--a)); }

/* More free sources */
.txct-src { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 8px; }
.txct-src li {
	display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: start; margin: 0;
	padding: 10px 12px 10px 10px; background: var(--panel); border: 1px solid var(--rule); border-left: 3px solid var(--c);
}
.txct-src-code { display: flex; align-items: center; justify-content: center; min-height: 40px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 9%, transparent); }
.txct .txct-src h3 { margin: 0 0 3px; font-family: var(--sans); font-size: 14.5px; font-weight: 800; line-height: 1.3; color: var(--paper); }
.txct .txct-src p { margin: 0; color: #cfc4b0; font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.txct-src .txct-btn { --c: var(--a); }

.txct-none { color: var(--muted); font-family: var(--mono); font-size: .82rem; border: 1px dashed var(--rule); padding: 12px 14px; margin: 0 0 28px; }
.txct .txct-stamp { margin: 10px 0 0; font-family: var(--mono); font-size: .7rem; color: var(--muted); }

/* Contributor panel */
.txct-mgr { border: 1px solid #3a2f17; background: var(--panel); margin: 0 0 24px; padding: 12px 16px; font-family: var(--mono); font-size: .82rem; }
.txct .txct-mgr-who { margin: 0 0 8px; color: var(--muted); display: flex; gap: 8px; align-items: center; font-size: .76rem; }
.txct-mgr summary { cursor: pointer; color: var(--a); font-weight: 700; padding: 6px 0; }
.txct-mine { margin-top: 10px; border-top: 1px dashed var(--rule); padding-top: 6px; }
.txct-flash { margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--jade); background: rgba(53, 211, 154, .07); color: var(--paper); }
.txct-flash-err { border-left-color: var(--alert); background: rgba(255, 75, 58, .08); }
.txct-flash p, .txct-flash ul { margin: 0; }
.entry-content .txct .txct-flash ul { padding-left: 18px; list-style: disc; }
.txct-form { margin-top: 8px; }
.txct-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 4px 16px; }
.txct-f { margin: 6px 0; min-width: 0; }
.txct-f-wide { grid-column: 1 / -1; }
fieldset.txct-f { border: 0; padding: 0; }
.txct-f > label, .txct-f legend { display: block; margin: 0 0 4px; padding: 0; color: var(--a); font-size: .76rem; text-transform: lowercase; }
.txct-f i { font-style: normal; color: var(--muted); }
.txct-f small { display: block; margin-top: 3px; color: var(--muted); font-size: .7rem; }
.txct-f input[type="text"], .txct-f input[type="url"], .txct-f input[type="date"], .txct-f select, .txct-f textarea {
	width: 100%; padding: 8px 10px; background: var(--void); color: var(--paper); border: 1px solid var(--rule); border-radius: 0;
	font-family: var(--sans); font-size: .92rem; color-scheme: dark;
}
.txct-f input:focus, .txct-f select:focus, .txct-f textarea:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 3px rgba(255, 176, 0, .12); }
.txct-radio { display: inline-flex; align-items: center; gap: 5px; margin: 0 14px 4px 0; color: var(--paper); font-family: var(--sans); font-size: .88rem; }
.txct .txct-actions { margin: 12px 0 4px; display: flex; gap: 14px; align-items: center; }
.txct-table-wrap { max-height: 420px; overflow: auto; border: 1px solid var(--rule); margin-top: 6px; }
.txct-table { width: 100%; border-collapse: collapse; font-size: .76rem; margin: 0; }
.txct-table th, .txct-table td { padding: 7px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; color: var(--paper); background: none; }
.txct-table th { position: sticky; top: 0; background: var(--panel-2); color: var(--a); text-transform: lowercase; }
.txct-t-act { white-space: nowrap; }
.txct-t-act a, .txct-t-act form { display: inline; margin-right: 10px; }
.txct-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--a); text-decoration: underline; cursor: pointer; }
.txct-danger { color: var(--alert); }
.txct-st { padding: 1px 6px; border: 1px solid var(--rule); white-space: nowrap; }
.txct-st-publish { color: var(--jade); border-color: rgba(53, 211, 154, .4); }
.txct-st-pending { color: var(--a); border-color: var(--a-dim); }

@keyframes txct-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .txct *, .txct *::before, .txct *::after { animation: none !important; transition: none !important; } }

@media (max-width: 560px) {
	.txct-console { padding: 14px 14px 12px; }
	.txct-kicker { font-size: .78rem; }
	.txct-count { margin-left: 0; width: 100%; }
	.txct-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.txct-course { padding-left: 10px; }
	.txct-card, .txct-src li { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
	.txct-badge { width: 44px; min-height: 44px; }
	.txct-badge b { font-size: 9.5px; letter-spacing: 0; }
	.txct-card > .txct-btn, .txct-src li > .txct-btn { grid-column: 2; justify-self: start; margin-top: 2px; }
	.txct-src-code { min-height: 34px; font-size: 9px; }
}

/* ================= 1.0.2: theme backdrop, depth, motion, print ================= */

/* The theme's Texas map (canvas .txa-bg, drawn by txcyber.js) sits behind the
   page, clipped to this block by clip-path above. */
.txct > .txa-bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; pointer-events: none; }
.txct > .txa-vignette { position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 42% 60% at 50% 55%, rgba(8, 7, 5, .55) 0%, rgba(8, 7, 5, .2) 60%, transparent 85%),
		linear-gradient(to bottom, rgba(8, 7, 5, .6), transparent 18%, transparent 82%, rgba(8, 7, 5, .85)); }

/* Theme link underlines (.entry-content a) were cleared for the whole block,
   which took the buttons' bottom border with them. Put it back. */
.entry-content .txct .txct-btn { border-bottom: 1px solid var(--c, var(--a)); }
.entry-content .txct .txct-jump a { border-bottom: 1px solid var(--rule); }
.entry-content .txct .txct-print { border-bottom: 1px solid var(--rule); }

/* Translucent panels over the map, with the theme's glow shadow. */
.txct-console, .txct-card, .txct-src li, .txct-mgr, .txct-jump a, .txct-host {
	-webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.txct-console { background: repeating-linear-gradient(0deg, rgba(255, 176, 0, .035) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(22, 19, 12, .9), rgba(16, 14, 9, .88));
	box-shadow: 0 0 0 1px rgba(255, 176, 0, .05), 0 18px 50px -36px rgba(255, 176, 0, .3); }
.txct-card, .txct-src li { background: rgba(16, 14, 9, .86); box-shadow: 0 0 0 1px rgba(255, 176, 0, .03), 0 16px 36px -28px rgba(0, 0, 0, .95); }
.txct-card:hover, .txct-card:focus-within { background: rgba(22, 19, 12, .94); }
.txct-src li { transition: border-color .25s, box-shadow .25s, background .25s, transform .3s var(--ease); }
.txct-src li:hover { background: rgba(22, 19, 12, .94); transform: translateY(-1px); box-shadow: 0 10px 28px -16px color-mix(in srgb, var(--c, #ffb000) 55%, transparent); }
.txct-jump a { background: rgba(16, 14, 9, .86); box-shadow: 0 14px 30px -26px rgba(0, 0, 0, .95); }
.txct-mgr { background: rgba(16, 14, 9, .9); box-shadow: 0 0 0 1px rgba(255, 176, 0, .05), 0 18px 50px -36px rgba(255, 176, 0, .3); }
.txct .txct-title, .txct .txct-course-title { text-shadow: 0 1px 14px rgba(8, 7, 5, .95); }
.txct .txct-desc, .txct .txct-cdesc { text-shadow: 0 1px 10px rgba(8, 7, 5, .95); }
.txct-code { box-shadow: 0 0 14px color-mix(in srgb, var(--c, #ffb000) 35%, transparent); }

/* Print button in the console. */
.txct-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.txct-print { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
	padding: 4px 10px; background: transparent; color: var(--muted); border: 1px solid var(--rule);
	font-family: var(--mono); font-size: 11px; letter-spacing: .04em; transition: color .2s, border-color .2s; }
.txct-print:hover, .txct-print:focus-visible { color: var(--a); border-color: var(--a); }

/* Typed console line. */
.txct-type.is-typing::after, .txct-type.is-done::after { content: "▌"; margin-left: 2px; color: var(--a); }
.txct-type.is-done::after { animation: txct-blink 1s steps(1) 3 forwards; }
@keyframes txct-blink { 50% { opacity: 0; } 100% { opacity: 0; } }

/* Scroll reveal (only when the script runs and motion is allowed). */
@media (prefers-reduced-motion: no-preference) {
	.txct-anim .txct-rv { opacity: 0; transform: translateY(12px); }
	.txct-anim .txct-rv.is-in { opacity: 1; transform: none;
		transition: opacity .55s var(--ease) var(--d, 0s), transform .65s var(--ease) var(--d, 0s), border-color .25s, box-shadow .25s, background .25s; }
	.txct-anim .txct-head::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .1s; }
	.txct-anim .txct-head.is-in::after { transform: scaleX(1); }
	.txct-anim .txct-head.is-in .txct-code { animation: txct-glitch .5s steps(2) both; }
	.txct-anim .txct-console.is-in .txct-led { animation: txct-pulse 1.8s ease-in-out infinite; }
}
@keyframes txct-glitch {
	0% { opacity: 0; transform: translateX(-6px); clip-path: inset(0 60% 0 0); }
	50% { opacity: 1; transform: translateX(3px); clip-path: inset(0 0 0 30%); }
	100% { opacity: 1; transform: none; clip-path: inset(0); }
}

/* Print-only bits stay off screen. */
.txct-print-head, .txct-print-url { display: none; }

/* ----------------------------- Print / PDF -----------------------------
   Clean black and white: no backdrop, no colour fills, links spelled out. */
@media print {
	@page { margin: 14mm 12mm; }
	.bar, .site-foot, .skip-link, .txa-bg, .txa-vignette, .txct-print, .txct-sid, .txct-jump, .txct-mgr, .txct-btn, .txct-more, .txct-led, .txct-sep { display: none !important; }
	html, body, main, .wrap, article, .entry-content { background: #fff !important; color: #000 !important; }
	body::before, body::after { display: none !important; }
	.txct { clip-path: none !important; color: #000 !important; background: #fff !important; padding: 0; margin: 0; }
	.txct *, .txct *::before, .txct *::after { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important;
		-webkit-backdrop-filter: none !important; backdrop-filter: none !important; animation: none !important; transition: none !important; }
	.txct .txct-rv { opacity: 1 !important; transform: none !important; }
	.txct-print-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12pt; margin: 0 0 10pt; padding-bottom: 6pt; border-bottom: 1.5pt solid #000; }
	.txct-print-head p { margin: 0; font: 8.5pt var(--mono); color: #333 !important; text-align: right; }
	.txct-print-logo { display: block; height: 30pt; width: auto; flex: none; }
	.page-head { display: none !important; } /* The printout's own header replaces the page title. */
	.txct-console, .txct-bar { border: 0; padding: 0; margin: 0 0 10pt; }
	.txct-sum { font-size: 8.5pt; }
	.txct-console::before, .txct-console::after { display: none; }
	.txct-kicker { display: none; }
	.txct-status { font-size: 8.5pt; margin: 0 0 4pt; }
	.txct .txct-intro { font-size: 9.5pt; }
	.txct-prov { margin: 0 0 14pt; }
	.txct-head { margin-bottom: 6pt; padding-bottom: 4pt; break-inside: avoid; page-break-inside: avoid; break-after: avoid; page-break-after: avoid; }
	.txct .txct-level { color: #000 !important; border-bottom: 1px solid #999; font-size: 8.5pt; margin: 10pt 0 6pt; break-after: avoid; page-break-after: avoid; }
	.txct-cinfo { break-after: avoid; page-break-after: avoid; }
	.txct-cbody.is-solo { display: grid; grid-template-columns: minmax(0, 1fr) 46%; gap: 5pt 10pt; align-items: start; }
	.txct-cbody.is-solo > .txct-grid { grid-template-columns: 1fr; }
	.txct-cinfo .txct-cdesc { break-after: avoid; page-break-after: avoid; }
	.txct-head::after { background: #000 !important; transform: none !important; }
	.txct-code, .txct-ccode, .txct-src-code, .txct-badge { border: 1px solid #000 !important; }
	.txct-code { padding: 0 5pt; }
	.txct .txct-title { font-size: 14pt; }
	.txct .txct-course-title { font-size: 11pt; break-after: avoid; page-break-after: avoid; }
	.txct .txct-desc, .txct .txct-cdesc, .txct .txct-src p { font-size: 9pt; color: #222 !important; }
	.txct-course { border-left: 1px solid #999; padding-left: 8pt; margin-bottom: 10pt; }
	.txct-grid, .txct-src { grid-template-columns: 1fr 1fr; gap: 5pt; }
	.txct-card, .txct-src li { grid-template-columns: 46px minmax(0, 1fr); border: 1px solid #999 !important; border-left: 2pt solid #000 !important; padding: 5pt 6pt; break-inside: avoid; page-break-inside: avoid; }
	.txct-card::before, .txct-card::after { display: none !important; }
	.txct-badge { width: 46px; min-height: 36px; }
	.txct-badge b { font-size: 8pt; }
	.txct .txct-card-title { font-size: 10pt; }
	.txct .txct-fac, .txct-meta { font-size: 8pt; }
	.txct-meta li + li::before { color: #666 !important; }
	.txct-print-url { display: block; margin-top: 3pt; font: 7.5pt var(--mono); overflow-wrap: anywhere; color: #000 !important; }
	.txct-host { border: 1px dashed #000 !important; break-inside: avoid; page-break-inside: avoid; }
	.txct-host a::after { content: ""; }
	.txct .txct-stamp { font-size: 7.5pt; }
	a { text-decoration: none !important; }
}

/* ================= 1.0.4: compact top ================= */
/* Theme puts 64px above page titles; the Training page starts closer to the menu. */
.txct-page .page-head { padding: 22px 0 0; }
.txct-page .page-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin: 0 0 2px; }
.txct-page .single { padding-top: 10px; }

/* One bar: counts · provider chips · FEMA SID · print. */
.txct-bar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 24px; padding: 8px 12px;
	border: 1px solid var(--rule); background: rgba(16, 14, 9, .88); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
	box-shadow: 0 0 0 1px rgba(255, 176, 0, .05), 0 18px 50px -36px rgba(255, 176, 0, .3);
	font-family: var(--mono); font-size: .78rem; color: var(--muted);
}
.txct .txct-sum { display: flex; align-items: center; gap: 8px; margin: 0; }
.txct-sum b { color: var(--paper); }
.txct-bar .txct-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.txct-bar .txct-jump a {
	display: inline-flex; align-items: baseline; gap: 6px; padding: 2px 8px; grid-template-columns: none;
	border: 1px solid var(--rule); border-top: 2px solid var(--c); background: rgba(8, 7, 5, .6); box-shadow: none; font-size: .74rem;
}
.entry-content .txct .txct-bar .txct-jump a { border-bottom: 1px solid var(--rule); }
.txct-bar .txct-jump em { display: none; }
.txct-sid { margin-left: auto; color: var(--muted) !important; font-size: .74rem; text-decoration: none !important; }
.txct-sid:hover, .txct-sid:focus-visible { color: var(--a) !important; }
.txct-bar .txct-print { margin-left: 0; padding: 2px 9px; }
.txct .txct-intro { margin: -14px 0 22px; font-size: .88rem; color: var(--muted); }

/* Contributor panel: one line until opened. */
.txct-mgr { margin: -12px 0 24px; padding: 4px 12px; }
.txct-add > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; list-style: none; }
.txct-add > summary::-webkit-details-marker { display: none; }
.txct-add-l::before { content: "▸ "; }
.txct-add[open] .txct-add-l::before { content: "▾ "; }
.txct .txct-mgr-who { margin: 0; color: var(--muted); font-weight: 400; font-size: .72rem; }

@media (max-width: 560px) {
	.txct-page .page-head { padding-top: 16px; }
	.txct-sid { margin-left: 0; }
	.txct-bar { gap: 6px 10px; }
}
@media print {
	.txct-bar { border: 0 !important; padding: 0 !important; margin: 0 0 8pt !important; display: block !important; }
	.txct .txct-intro { margin: 0 0 8pt !important; }
}

/* 1.0.5: print button stands out — amber fill, black text. */
.txct-bar .txct-print, .entry-content .txct .txct-bar .txct-print {
	background: var(--a); color: var(--void); border: 1px solid var(--a); font-weight: 700; padding: 4px 12px;
	box-shadow: 0 0 14px rgba(255, 176, 0, .35); transition: background .2s, box-shadow .2s;
}
.txct-bar .txct-print:hover, .txct-bar .txct-print:focus-visible { background: #ffc233; color: var(--void); border-color: #ffc233; box-shadow: 0 0 20px rgba(255, 176, 0, .55); }
.txct-bar .txct-print:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

/* 1.0.6: disclaimer at the bottom (screen and print). */
.txct-legal { margin: 18px 0 0; padding: 10px 14px; border: 1px solid var(--rule); border-left: 3px solid var(--a-dim);
	background: rgba(16, 14, 9, .8); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.txct .txct-legal p { margin: 0; font-size: .74rem; line-height: 1.55; color: var(--muted); }
@media print {
	.txct-legal { margin-top: 10pt; padding: 6pt 0 0; border: 0 !important; border-top: 1px solid #000 !important; break-inside: avoid; page-break-inside: avoid; }
	.txct .txct-legal p { font-size: 7.5pt; color: #222 !important; }
}

/* 1.0.8: summits and conferences. */
.txct-kind { display: inline-block; margin: 0 0 3px; padding: 0 6px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: var(--void); background: var(--c, var(--a)); }
.txct-card.is-summit { border-left-width: 5px; }
@media print { .txct-kind { border: 1px solid #000; padding: 0 4pt; font-size: 7pt; } }

/* 1.0.10: summit count in the bar jumps to the first summit. */
.txct-sum-link { color: var(--muted) !important; text-decoration: none !important; border-bottom: 1px dotted var(--a-dim) !important; }
.txct-sum-link:hover, .txct-sum-link:focus-visible { color: var(--a) !important; }
.txct-card.is-summit { scroll-margin-top: 110px; }

/* Summit / conference call-to-action banner (1.0.11). */
.txct-cta { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 14px 24px;
	margin: 6px 0 26px; padding: 20px 22px; scroll-margin-top: 110px;
	border: 1px solid var(--c, #ffb000); border-left-width: 6px;
	background: linear-gradient(100deg, color-mix(in srgb, var(--c, #ffb000) 20%, rgba(16, 14, 9, .94)) 0%, rgba(16, 14, 9, .94) 70%);
	box-shadow: 0 0 0 1px rgba(8, 7, 5, .6), 0 0 34px color-mix(in srgb, var(--c, #ffb000) 22%, transparent), 0 14px 30px rgba(0, 0, 0, .5); }
.txct-cta::before, .txct-cta::after { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--c, #ffb000); pointer-events: none; }
.txct-cta::before { top: -5px; right: -5px; border-left: 0; border-bottom: 0; }
.txct-cta::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }
.txct-cta-date { box-sizing: border-box; min-width: 110px; padding: 10px 12px; text-align: center; border: 1px solid var(--c, #ffb000); background: rgba(8, 7, 5, .7); font-family: var(--mono); }
.txct-cta-date b { display: block; font-size: 1.3rem; line-height: 1.15; color: var(--c, #ffb000); text-shadow: 0 0 12px color-mix(in srgb, var(--c, #ffb000) 55%, transparent); }
.txct-cta-date span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.txct-cta-eye { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c, #ffb000); }
.txct-cta-eye i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #ffb000); box-shadow: 0 0 10px var(--c, #ffb000); }
.txct .txct-cta-title { margin: 4px 0 4px; font-family: var(--sans); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; line-height: 1.2; color: var(--paper); text-shadow: 0 1px 14px rgba(8, 7, 5, .95); }
.txct .txct-cta-desc { margin: 0 0 6px; color: #cfc4b0; font-size: .92rem; }
.txct .txct-cta-meta { margin: 0; font-family: var(--mono); font-size: .78rem; color: var(--paper); }
.entry-content .txct a.txct-cta-btn, .txct-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; white-space: nowrap;
	background: var(--c, #ffb000); color: #080705; border: 1px solid var(--c, #ffb000); border-bottom: 1px solid var(--c, #ffb000);
	font-family: var(--mono); font-size: .9rem; font-weight: 700; letter-spacing: .04em; text-decoration: none;
	box-shadow: 0 0 22px color-mix(in srgb, var(--c, #ffb000) 45%, transparent); transition: transform .15s, box-shadow .2s, background .2s; }
.entry-content .txct a.txct-cta-btn:hover, .entry-content .txct a.txct-cta-btn:focus-visible { color: #080705; background: #fff3d6; transform: translateY(-1px); box-shadow: 0 0 30px color-mix(in srgb, var(--c, #ffb000) 70%, transparent); }
@media (prefers-reduced-motion: no-preference) {
	.txct-cta-eye i { animation: txct-ping 1.8s ease-out infinite; }
	@keyframes txct-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c, #ffb000) 70%, transparent); } 80%, 100% { box-shadow: 0 0 0 9px transparent; } }
}
@media (max-width: 760px) {
	.txct-cta { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 12px 14px; }
	.txct-cta-date { min-width: 0; padding: 8px; }
	.txct-cta-date b { font-size: 1.05rem; }
	.txct-cta-btn, .entry-content .txct a.txct-cta-btn { grid-column: 1 / -1; justify-content: center; }
}
@media print {
	.txct-cta { display: grid; grid-template-columns: auto 1fr; gap: 6pt 10pt; margin: 4pt 0 10pt; padding: 8pt; background: none !important; box-shadow: none !important; border: 1.5pt solid #000 !important; border-left-width: 4pt !important; break-inside: avoid; page-break-inside: avoid; }
	.txct-cta::before, .txct-cta::after, .txct-cta-btn, .entry-content .txct a.txct-cta-btn, .txct-cta-eye i { display: none !important; }
	.txct-cta-date { border: 1pt solid #000 !important; background: none !important; min-width: 0; }
	.txct-cta-date b, .txct-cta-date span, .txct-cta-eye, .txct .txct-cta-title, .txct .txct-cta-desc, .txct .txct-cta-meta { color: #000 !important; text-shadow: none !important; }
	.txct .txct-cta-title { font-size: 12pt; }
	.txct .txct-cta-desc, .txct .txct-cta-meta { font-size: 8.5pt; }
	.txct-cta-eye { font-size: 7pt; }
}
@media print { .txct-course { break-inside: avoid; page-break-inside: avoid; } }
