/* ==========================================================================
   This Company Ghosted Me — front end
   Everything is scoped under .tcgm so it behaves inside any theme.
   ========================================================================== */

.tcgm {
	--ink: #14151f;
	--ink-2: #1d1f2e;
	--ink-3: #2a2d40;
	--paper: #f6f4ee;
	--card: #ffffff;
	--line: #e4e1d8;
	--line-2: #d6d3c9;
	--text: #1b1d29;
	--muted: #5d6072;
	--mist: #a3a7bd;
	--lantern: #f2a93b;
	--lantern-hi: #ffc56b;
	--lantern-ink: #8a5a06;
	--lantern-soft: #fdf1dc;
	--teal: #1f9e8f;
	--teal-hi: #27b8a7;
	--teal-ink: #0f6b60;
	--teal-soft: #e2f4f1;
	--red: #c93a3a;
	--red-soft: #fbe9e9;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(20, 21, 31, .05), 0 6px 24px -8px rgba(20, 21, 31, .12);
	--shadow-lg: 0 2px 4px rgba(20, 21, 31, .06), 0 22px 48px -18px rgba(20, 21, 31, .28);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;

	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--card);
	-webkit-font-smoothing: antialiased;
	text-align: left;
	overflow-x: clip;
}
.tcgm *, .tcgm *::before, .tcgm *::after { box-sizing: border-box; }
.tcgm :where(h1, h2, h3, h4) { font-family: var(--display); color: inherit; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; font-weight: 700; text-transform: none; }
.tcgm :where(p) { margin: 0 0 1em; }
.tcgm :where(a) { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tcgm :where(a:hover) { color: var(--ink); }
.tcgm :where(ul, ol) { margin: 0; padding: 0; }
.tcgm :where(img, svg) { max-width: 100%; }
.tcgm :focus-visible { outline: 3px solid var(--lantern); outline-offset: 2px; border-radius: 6px; }
.tcgm .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.tcgm-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Theme collisions: block themes add margins between content children. */
.wp-site-blocks .tcgm.alignfull, .entry-content > .tcgm.alignfull, .tcgm-fullwidth .tcgm { margin-block: 0 !important; }
.tcgm-fullwidth .tcgm { max-width: none; width: 100%; }
.entry-content > .tcgm, .wp-block-post-content > .tcgm { max-width: none; }
body.tcgm-page .wp-block-post-content > .tcgm.alignfull { margin-top: 0 !important; }
body.tcgm-page .wp-block-post-title:empty { display: none; }
.tcgm-fullwidth { padding: 0; margin: 0; }

.tcgm-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.tcgm-narrow { max-width: 780px; }
.tcgm-center { text-align: center; }
.tcgm-left { text-align: left; }
.tcgm-muted { color: var(--muted); }

/* --------------------------------------------------------------- Buttons */
.tcgm .tcgm-btn {
	--bg: var(--lantern); --fg: var(--ink); --bd: var(--lantern);
	display: inline-flex; align-items: center; justify-content: center; gap: .45em;
	padding: .72em 1.3em; min-height: 44px;
	font: 600 15px/1.2 var(--font); letter-spacing: 0;
	color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: 999px;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
	box-shadow: none; text-transform: none;
}
.tcgm .tcgm-btn:hover { --bg: var(--lantern-hi); --bd: var(--lantern-hi); color: var(--fg); transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(242, 169, 59, .7); }
.tcgm .tcgm-btn:active { transform: none; }
.tcgm .tcgm-btn--lg { font-size: 16px; padding: .85em 1.6em; min-height: 52px; }
.tcgm .tcgm-btn--sm { font-size: 14px; padding: .45em 1em; min-height: 36px; }
.tcgm .tcgm-btn--block { display: flex; width: 100%; }
.tcgm .tcgm-btn--teal { --bg: var(--teal); --bd: var(--teal); --fg: #fff; }
.tcgm .tcgm-btn--teal:hover { --bg: var(--teal-hi); --bd: var(--teal-hi); box-shadow: 0 8px 22px -10px rgba(31, 158, 143, .7); }
.tcgm .tcgm-btn--outline { --bg: transparent; --bd: rgba(255, 255, 255, .45); --fg: #fff; }
.tcgm .tcgm-btn--outline:hover { --bg: rgba(255, 255, 255, .1); --bd: #fff; box-shadow: none; }
.tcgm .tcgm-btn--outline-dark { --bg: transparent; --bd: var(--ink); --fg: var(--ink); }
.tcgm .tcgm-btn--outline-dark:hover { --bg: var(--ink); --bd: var(--ink); --fg: #fff; color: #fff; box-shadow: none; }
.tcgm .tcgm-btn--ghost { --bg: transparent; --bd: var(--line-2); --fg: var(--text); }
.tcgm .tcgm-btn--ghost:hover { --bg: var(--paper); --bd: var(--ink); box-shadow: none; }
.tcgm .tcgm-btn--danger { --bg: var(--red); --bd: var(--red); --fg: #fff; }
.tcgm .tcgm-btn--danger:hover { --bg: #a92c2c; --bd: #a92c2c; box-shadow: none; }
.tcgm .tcgm-linkbtn { background: none; border: 0; padding: 0; color: var(--teal-ink); font: inherit; text-decoration: underline; cursor: pointer; }
.tcgm .tcgm-link-arrow { font-weight: 600; text-decoration: none; }

/* --------------------------------------------------------------- Nav */
.tcgm-nav { background: var(--ink); color: #fff; position: relative; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tcgm-nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.tcgm .tcgm-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 17px/1 var(--display); letter-spacing: -.01em; }
.tcgm .tcgm-brand:hover { color: var(--lantern-hi); }
.tcgm-brand__mark { width: 30px; height: 30px; color: #fff; filter: drop-shadow(0 0 10px rgba(242, 169, 59, .55)); }
.tcgm-nav__menu { display: flex; align-items: center; gap: 6px; }
.tcgm .tcgm-nav__menu > a:not(.tcgm-btn) { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.tcgm .tcgm-nav__menu > a:not(.tcgm-btn):hover, .tcgm .tcgm-nav__menu > a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }
.tcgm-nav__menu .tcgm-btn { margin-left: 8px; }
.tcgm-nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.tcgm-nav__toggle span[aria-hidden] { display: block; width: 22px; height: 2px; background: #fff; position: relative; box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff; transition: .2s; }
.tcgm-nav.is-open .tcgm-nav__toggle span[aria-hidden] { box-shadow: none; transform: rotate(45deg); }
.tcgm-nav.is-open .tcgm-nav__toggle span[aria-hidden]::after { content: ""; position: absolute; inset: 0; background: #fff; transform: rotate(90deg); }
.tcgm-pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--lantern); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1; }

@media (max-width: 860px) {
	.tcgm-nav__toggle { display: block; }
	.tcgm-nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 20px 30px -10px rgba(0, 0, 0, .5); }
	.tcgm-nav.is-open .tcgm-nav__menu { display: flex; }
	.tcgm .tcgm-nav__menu > a:not(.tcgm-btn) { padding: 12px; font-size: 16px; }
	.tcgm-nav__menu .tcgm-btn { margin: 8px 0 0; }
}

/* --------------------------------------------------------------- Hero */
.tcgm-hero {
	position: relative; color: #fff; overflow: hidden;
	background:
		radial-gradient(900px 500px at 78% 40%, rgba(242, 169, 59, .16), transparent 60%),
		radial-gradient(700px 400px at 10% 110%, rgba(31, 158, 143, .14), transparent 60%),
		linear-gradient(180deg, var(--ink) 0%, #0d0e17 100%);
}
.tcgm-hero::before { /* faint grain/dots */
	content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.tcgm-hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 84px; }
.tcgm-eyebrow { display: inline-block; font: 600 13px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--lantern-hi); margin: 0 0 14px; }
.tcgm-eyebrow--dark { color: var(--lantern-ink); }
.tcgm-eyebrow--teal { color: #6fe0d2; }
.tcgm .tcgm-hero__title { font-size: clamp(44px, 7vw, 84px); line-height: .98; letter-spacing: -.035em; font-weight: 800; margin: 0 0 14px; color: #fff; }
.tcgm-hero__title span { display: block; background: linear-gradient(92deg, #fff 10%, var(--lantern-hi) 60%, var(--lantern)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tcgm-hero--employer .tcgm-hero__title span { background-image: linear-gradient(92deg, #fff 10%, #8beee2 60%, var(--teal-hi)); }
.tcgm-hero__tag { font: 600 clamp(18px, 2vw, 22px)/1.35 var(--display); color: rgba(255, 255, 255, .86); margin: 0 0 14px; }
.tcgm-hero__lead { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 560px; margin-bottom: 28px; }
.tcgm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tcgm-hero__ctas--center { justify-content: center; }
.tcgm-hero__proof { margin: 22px 0 0; color: rgba(255, 255, 255, .6); font-size: 14px; }
.tcgm-hero__proof strong { color: #fff; }
.tcgm-hero__art { display: flex; justify-content: center; }
.tcgm-ghost--hero { width: min(420px, 100%); height: auto; }
.tcgm-ghost__float { animation: tcgm-float 6s ease-in-out infinite; transform-origin: 50% 80%; }
.tcgm-ghost__shadow { animation: tcgm-shadow 6s ease-in-out infinite; transform-origin: 210px 462px; }
@keyframes tcgm-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes tcgm-shadow { 0%, 100% { transform: scale(1); opacity: .28; } 50% { transform: scale(.86); opacity: .18; } }
.tcgm-ghost--small { width: 150px; height: auto; margin: 0 auto 8px; display: block; }
.tcgm-ghost--tiny { width: 84px; height: auto; flex: none; }
@media (prefers-reduced-motion: reduce) { .tcgm-ghost__float, .tcgm-ghost__shadow { animation: none; } }

@media (max-width: 900px) {
	.tcgm-hero__grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; gap: 8px; }
	.tcgm-hero__art { order: -1; }
	.tcgm-ghost--hero { width: 220px; }
}

/* --------------------------------------------------------------- Search + autocomplete */
.tcgm-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 580px; padding: 6px 6px 6px 48px; background: #fff; border-radius: 999px; box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .5); }
.tcgm-search__icon { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.tcgm .tcgm-search input[type="search"] { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 10px 4px !important; font: 500 16px/1.3 var(--font); color: var(--text); outline: none; margin: 0; }
.tcgm .tcgm-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.tcgm-search--board { margin-top: 22px; }
.tcgm-search--light { box-shadow: none; border: 2px solid var(--line); padding-left: 18px; margin-top: 18px; }
.tcgm-ac { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px); background: #fff; color: var(--text); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; text-align: left; }
.tcgm-ac__item { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 16px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; text-decoration: none; border-bottom: 1px solid var(--line); }
.tcgm-ac__item:last-child { border-bottom: 0; }
.tcgm-ac__item:hover, .tcgm-ac__item.is-active { background: var(--paper); color: var(--text); }
.tcgm-ac__name { font-weight: 600; }
.tcgm-ac__meta { color: var(--muted); font-size: 13px; white-space: nowrap; }
.tcgm-ac__item--new .tcgm-ac__name { color: var(--teal-ink); }
.tcgm-field--ac { position: relative; }

/* --------------------------------------------------------------- Stat band */
.tcgm-statband { background: var(--lantern); color: var(--ink); }
.tcgm-statband--teal { background: var(--teal); color: #fff; }
.tcgm-statband__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.tcgm-stat { margin: 0; padding: 30px 28px; border-left: 1px solid rgba(20, 21, 31, .14); }
.tcgm-stat:first-child { border-left: 0; padding-left: 0; }
.tcgm-statband--teal .tcgm-stat { border-color: rgba(255, 255, 255, .22); }
.tcgm-stat__value { font: 800 clamp(40px, 5vw, 56px)/1 var(--display); letter-spacing: -.03em; margin-bottom: 8px; }
.tcgm-stat figcaption { font-size: 15px; line-height: 1.45; max-width: 320px; }
.tcgm-stat sup a { color: inherit; opacity: .7; font-size: 11px; text-decoration: none; margin-left: 2px; }
@media (max-width: 760px) {
	.tcgm-statband__grid { grid-template-columns: 1fr; }
	.tcgm-stat, .tcgm-stat:first-child { border-left: 0; border-top: 1px solid rgba(20, 21, 31, .14); padding: 22px 0; }
	.tcgm-stat:first-child { border-top: 0; }
}

/* --------------------------------------------------------------- Sections */
.tcgm-section { padding-block: 84px; }
.tcgm-section--tight { padding-block: 36px 72px; }
.tcgm-section--paper { background: var(--paper); }
.tcgm .tcgm-section h2:not([class]) { font-size: clamp(30px, 3.6vw, 42px); }
.tcgm-section__head { max-width: 680px; margin-bottom: 40px; }
.tcgm-section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.tcgm-lead { font-size: 18px; color: var(--muted); line-height: 1.55; }
.tcgm-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.tcgm-split--top { align-items: start; }
@media (max-width: 900px) { .tcgm-split { grid-template-columns: 1fr; gap: 36px; } .tcgm-section { padding-block: 56px; } }

.tcgm-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.tcgm-steps li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.tcgm .tcgm-steps h3 { font-size: 21px; margin: 16px 0 8px; }
.tcgm-steps p { color: var(--muted); margin: 0; }
.tcgm-steps__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--lantern-hi); font: 800 18px/1 var(--display); }
@media (max-width: 860px) { .tcgm-steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Chart */
.tcgm-chart { margin: 0; padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.tcgm-chart__title { font: 700 22px/1.2 var(--display); letter-spacing: -.01em; margin-bottom: 20px; }
.tcgm-chart__bars { list-style: none; display: grid; gap: 14px; }
.tcgm-chart__bars li { display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr 48px; align-items: center; gap: 14px; }
.tcgm-chart__label { font-size: 14px; line-height: 1.3; color: var(--text); }
.tcgm-chart__track { height: 14px; background: #f0eee7; border-radius: 99px; overflow: hidden; }
.tcgm-chart__bar { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--lantern), var(--lantern-hi)); transform-origin: left; animation: tcgm-grow .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d); }
.tcgm-chart__bars li:nth-child(n+4) .tcgm-chart__bar { background: linear-gradient(90deg, #d9862a, var(--lantern)); }
.tcgm-chart__value { font: 700 15px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.tcgm-chart__note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
@keyframes tcgm-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 560px) {
	.tcgm-chart { padding: 22px 18px; }
	.tcgm-chart__bars li { grid-template-columns: 1fr 44px; gap: 6px 10px; }
	.tcgm-chart__label { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------- Report cards */
.tcgm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcgm-cards--board { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .tcgm-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tcgm-cards, .tcgm-cards--board { grid-template-columns: 1fr; } }
.tcgm-rcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.tcgm-rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.tcgm-rcard__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.tcgm .tcgm-rcard__company { position: relative; z-index: 2; font: 700 19px/1.2 var(--display); color: var(--ink); text-decoration: none; }
.tcgm .tcgm-rcard__company:hover { color: var(--teal-ink); text-decoration: underline; }
.tcgm-rcard__role { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.tcgm-rcard__excerpt { margin: 0; color: #3a3d4e; font-size: 15px; flex: 1; }
.tcgm-rcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.tcgm-rcard__who { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.3; font-weight: 600; }
.tcgm-rcard__who time { font-weight: 400; color: var(--muted); }
.tcgm-rcard__link { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }

.tcgm-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; background: var(--paper); color: var(--muted); text-decoration: none; }
.tcgm-tag--stage { background: var(--ink); color: var(--lantern-hi); }
.tcgm-tag--teal { background: var(--teal-soft); color: var(--teal-ink); }
.tcgm-tag--muted { background: #f1efe9; color: #6b6e7e; }
.tcgm-avatar { flex: none; border-radius: 50%; object-fit: cover; }
.tcgm-avatar--initials { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--ink-3), var(--ink)); color: #fff; font: 700 12px/1 var(--font); }

/* --------------------------------------------------------------- Page heads */
.tcgm-pagehead { background: linear-gradient(180deg, var(--ink), #10111a); color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden; }
.tcgm-pagehead::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(242, 169, 59, .18), transparent 65%); pointer-events: none; }
.tcgm-pagehead--teal::after { background: radial-gradient(circle, rgba(39, 184, 167, .22), transparent 65%); }
.tcgm-pagehead--success::after { background: radial-gradient(circle, rgba(39, 184, 167, .2), transparent 65%); }
.tcgm-pagehead--slim { padding: 44px 0 36px; }
.tcgm .tcgm-pagehead h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 10px; color: #fff; }
.tcgm-pagehead__lead { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 640px; margin: 0; }
.tcgm-pagehead__lead a { color: #fff; }
.tcgm-pagehead .tcgm-container { position: relative; z-index: 1; }

.tcgm-company-head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.tcgm-company-head__logo { width: 88px; height: 88px; border-radius: 20px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.tcgm-company-head__logo img { width: 100%; height: 100%; object-fit: contain; }
.tcgm-company-head__logo span { font: 800 30px/1 var(--display); color: var(--ink); }
.tcgm-company-head__logo--sm { width: 60px; height: 60px; border-radius: 14px; border: 1px solid var(--line); box-shadow: none; }
.tcgm-company-head__logo--sm span { font-size: 20px; }
.tcgm-company-head__bio { color: rgba(255, 255, 255, .7); margin: 10px 0 0; max-width: 620px; font-size: 15px; }
.tcgm-company-head__cta { display: flex; flex-direction: column; gap: 10px; }
.tcgm-verified { color: #8beee2; }
@media (max-width: 860px) { .tcgm-company-head { grid-template-columns: auto 1fr; } .tcgm-company-head__cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; } }

/* --------------------------------------------------------------- Board filters/chips/kpis */
.tcgm-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 22px; }
.tcgm-filters__count { margin: 0 auto 0 0; color: var(--muted); }
.tcgm-filters__count strong { color: var(--text); }
.tcgm-filters label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tcgm .tcgm-filters select { min-height: 40px; padding: 6px 34px 6px 12px; width: auto; }
.tcgm-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.tcgm-chips__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.tcgm .tcgm-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.tcgm .tcgm-chip:hover { border-color: var(--ink); color: var(--text); }
.tcgm-chip span { background: var(--paper); border-radius: 99px; padding: 2px 8px; font-size: 12px; }
.tcgm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.tcgm-kpi { padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.tcgm-kpi--alert { background: var(--lantern-soft); border-color: #f4d7a6; }
.tcgm-kpi__n { display: block; font: 800 34px/1 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }
.tcgm-kpi__n--sm { font-size: 22px; line-height: 1.2; }
.tcgm-kpi__l { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 760px) { .tcgm-kpis { grid-template-columns: 1fr 1fr; } }

.tcgm-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.tcgm .tcgm-pager a, .tcgm-pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; }
.tcgm .tcgm-pager a:hover { border-color: var(--ink); }
.tcgm-pager .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.tcgm-pager .tcgm-pager__gap { border: 0; }

.tcgm-empty { text-align: center; padding: 48px 20px; }
.tcgm-empty h2 { font-size: 26px !important; }
.tcgm-empty p { color: var(--muted); }
.tcgm-empty--panel { background: var(--paper); border-radius: var(--radius); border: 1px dashed var(--line-2); }
.tcgm-empty--panel .tcgm-ghost--tiny { margin: 0 auto 6px; display: block; }

/* --------------------------------------------------------------- Single report */
.tcgm-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.tcgm-crumbs a { color: var(--muted); }
.tcgm-single__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .tcgm-single__grid { grid-template-columns: 1fr; } }
.tcgm .tcgm-single__head h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 18px; }
.tcgm .tcgm-single__head h1 a { color: inherit; }
.tcgm-single__head h1 em { font-style: normal; color: var(--lantern-ink); }
.tcgm-single__by { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); line-height: 1.4; margin-bottom: 24px; }
.tcgm-single__by strong { color: var(--text); }
.tcgm-single__side { display: grid; gap: 16px; position: sticky; top: 24px; }
.tcgm-callout { padding: 16px 20px; border-left: 4px solid var(--lantern); background: var(--lantern-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 30px; font-weight: 600; }
.tcgm-callout__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--lantern-ink); margin-bottom: 2px; }
.tcgm .tcgm-h2 { font-size: 28px; }
.tcgm .tcgm-h3 { font-size: 22px; margin-top: 4px; }
.tcgm .tcgm-h4 { font-size: 18px; }
.tcgm-prose { font-size: 17px; line-height: 1.7; color: #2b2e3d; }
.tcgm-prose--muted { font-size: 15px; color: var(--muted); }
.tcgm-facts { margin: 0; display: grid; gap: 0; }
.tcgm-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.tcgm-facts > div:last-child { border-bottom: 0; }
.tcgm-facts dt { color: var(--muted); }
.tcgm-facts dd { margin: 0; font-weight: 600; text-align: right; }
.tcgm-facts--compact { grid-template-columns: 1fr 1fr; column-gap: 24px; margin: 14px 0; }
@media (max-width: 560px) { .tcgm-facts--compact { grid-template-columns: 1fr; } }

.tcgm-responses { margin-top: 44px; padding-top: 34px; border-top: 2px solid var(--ink); }
.tcgm-response { padding: 24px; border-radius: var(--radius); background: var(--teal-soft); border: 1px solid #c4e8e2; margin-bottom: 16px; }
.tcgm-response--private { background: var(--paper); border-color: var(--line); }
.tcgm-response__badge { display: inline-block; background: var(--teal); color: #fff; border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.tcgm-response__who { margin: 8px 0 14px; font-size: 14px; color: var(--teal-ink); }
.tcgm-response__flag { font-size: 14px; background: #fff; border-radius: 8px; padding: 8px 12px; }
.tcgm-response .tcgm-facts > div { border-color: #c4e8e2; }
.tcgm-waiting { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px dashed var(--line-2); }
.tcgm-waiting p { margin: 0 0 6px; }
.tcgm-waiting .tcgm-btn { margin-top: 8px; }

/* --------------------------------------------------------------- Panels */
.tcgm-panel { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 16px; }
.tcgm-panel--raised { box-shadow: var(--shadow-lg); }
.tcgm-panel--dark { background: var(--ink); color: rgba(255, 255, 255, .8); border-color: var(--ink); }
.tcgm-panel--dark h2, .tcgm-panel--dark h3 { color: #fff; }
.tcgm-panel--teal { background: var(--teal-soft); border-color: #c4e8e2; box-shadow: none; }
.tcgm-panel .tcgm-btn--block + .tcgm-btn--block { margin-top: 10px; }
.tcgm-numlist { counter-reset: n; list-style: none; display: grid; gap: 16px; }
.tcgm-numlist li { counter-increment: n; position: relative; padding-left: 44px; }
.tcgm-numlist li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--lantern-hi); display: grid; place-items: center; font: 800 14px/1 var(--display); }
.tcgm-numlist--light li::before { background: rgba(255, 255, 255, .1); }
.tcgm-ticks { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.tcgm-ticks li { position: relative; padding-left: 30px; }
.tcgm-ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* About, duo, sources, faq */
.tcgm-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.tcgm-about__body p { font-size: 17px; color: #3a3d4e; }
@media (max-width: 860px) { .tcgm-about { grid-template-columns: 1fr; gap: 10px; } }
.tcgm-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .tcgm-duo { grid-template-columns: 1fr; } }
.tcgm .tcgm-duo__card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 34px; border-radius: 20px; text-decoration: none; color: #fff; min-height: 280px; transition: transform .2s ease; position: relative; overflow: hidden; }
.tcgm .tcgm-duo__card:hover { transform: translateY(-4px); color: #fff; }
.tcgm-duo__card--candidate { background: radial-gradient(400px 260px at 100% 0%, rgba(242, 169, 59, .32), transparent 70%), var(--ink); }
.tcgm-duo__card--employer { background: radial-gradient(400px 260px at 100% 0%, rgba(39, 184, 167, .4), transparent 70%), #10322e; }
.tcgm .tcgm-duo__card h3 { font-size: 32px; margin: 0; color: #fff; }
.tcgm-duo__card p { color: rgba(255, 255, 255, .75); flex: 1; margin: 6px 0 18px; }
.tcgm-duo__card--employer .tcgm-eyebrow { color: #8beee2; }
.tcgm-sources { padding-top: 10px; padding-bottom: 40px; font-size: 13px; color: var(--muted); }
.tcgm-sources ol { padding-left: 20px; display: grid; gap: 4px; }
.tcgm-sources a { color: var(--muted); }
.tcgm-faq details { border-bottom: 1px solid var(--line-2); padding: 18px 0; }
.tcgm-faq summary { font: 700 18px/1.3 var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.tcgm-faq summary::-webkit-details-marker { display: none; }
.tcgm-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--teal); transition: transform .2s; }
.tcgm-faq details[open] summary::after { transform: rotate(45deg); }
.tcgm-faq p { margin: 12px 0 0; color: var(--muted); }

/* --------------------------------------------------------------- Notices */
.tcgm-notice { padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 20px; font-size: 15px; border: 1px solid; }
.tcgm-notice--success { background: var(--teal-soft); border-color: #b5e0d9; color: #0b4f47; }
.tcgm-notice--info { background: #eef1fb; border-color: #d3daf3; color: #2a3563; }
.tcgm-notice--error { background: var(--red-soft); border-color: #f1c6c6; color: #8a2020; }
.tcgm > .tcgm-notice { max-width: 1132px; margin: 20px auto; }
.tcgm-tip { padding: 14px 16px; border-radius: var(--radius-sm); background: #eef1fb; color: #2a3563; font-size: 14px; margin-top: 12px; }
.tcgm-tip--warn { background: var(--lantern-soft); color: #6b4505; }
.tcgm-tip .tcgm-check { margin-top: 10px; font-weight: 600; }

/* --------------------------------------------------------------- Forms */
.tcgm-form { display: block; }
.tcgm-field { margin-bottom: 22px; }
.tcgm-field--nested { margin-top: -6px; padding-left: 16px; border-left: 3px solid var(--line); }
.tcgm .tcgm-form label, .tcgm-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--text); line-height: 1.4; }
.tcgm-label small, .tcgm-form label small { font-weight: 400; color: var(--muted); }
.tcgm-label-link { float: right; font-weight: 500; font-size: 14px; }
.tcgm .tcgm-form :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], input:not([type]), select, textarea),
.tcgm .tcgm-filters select {
	display: block; width: 100%; min-height: 48px; margin: 0;
	padding: 11px 14px; font: 400 16px/1.4 var(--font); color: var(--text);
	background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
	box-shadow: none; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.tcgm .tcgm-form select, .tcgm .tcgm-filters select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6072' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/12px no-repeat; padding-right: 38px; }
.tcgm .tcgm-form textarea { min-height: 100px; resize: vertical; }
.tcgm .tcgm-form :is(input, select, textarea):focus, .tcgm .tcgm-filters select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(242, 169, 59, .28); }
.tcgm .tcgm-form [aria-invalid="true"] { border-color: var(--red); background-color: #fffafa; }
.tcgm .tcgm-form input:disabled { background: var(--paper); color: var(--muted); }
.tcgm .tcgm-form input[type="file"] { font-size: 14px; padding: 10px; border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); width: 100%; background: var(--paper); }
.tcgm-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; line-height: 1.45; }
.tcgm-field-error { color: var(--red); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.tcgm-field-error::before { content: "! "; }
.tcgm-count { display: block; text-align: right; font-size: 12px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.tcgm-count.is-near { color: var(--lantern-ink); }
.tcgm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.tcgm-row--inner { gap: 0 12px; }
.tcgm-row__full { grid-column: 1 / -1; }
@media (max-width: 640px) { .tcgm-row { grid-template-columns: 1fr; } }
.tcgm-qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 640px) { .tcgm-qgrid { grid-template-columns: 1fr; } }

/* Segmented Yes/No */
.tcgm-choice { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.tcgm-choice input { position: absolute; opacity: 0; pointer-events: none; }
.tcgm .tcgm-choice label { display: inline-flex !important; align-items: center; justify-content: center; min-width: 84px; min-height: 44px; margin: 0 !important; padding: 8px 18px; border: 1.5px solid var(--line-2); border-radius: 99px; background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; transition: .15s; }
.tcgm .tcgm-choice label:hover { border-color: var(--ink); }
.tcgm-choice input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.tcgm-choice input:focus-visible + label { box-shadow: 0 0 0 4px rgba(242, 169, 59, .4); }

/* Card radios & list radios */
.tcgm-cards-radio { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .tcgm-cards-radio { grid-template-columns: 1fr; } }
.tcgm .tcgm-rcard-opt { position: relative; cursor: pointer; margin: 0; font-weight: 400; }
.tcgm-rcard-opt input, .tcgm-list-radio input, .tcgm-seg input { position: absolute; opacity: 0; pointer-events: none; }
.tcgm-rcard-opt > span { display: block; height: 100%; padding: 16px 18px 16px 50px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; transition: .15s; position: relative; }
.tcgm-rcard-opt strong { display: block; font-size: 15px; }
.tcgm-rcard-opt small { color: var(--muted); font-size: 13px; }
.tcgm-rcard-opt > span::before, .tcgm-list-radio span::before { content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; transition: .15s; }
.tcgm-rcard-opt:hover > span, .tcgm-list-radio label:hover span { border-color: var(--ink); }
.tcgm-rcard-opt input:checked + span, .tcgm-list-radio input:checked + span { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.tcgm-rcard-opt input:checked + span::before, .tcgm-list-radio input:checked + span::before { border: 6px solid var(--ink); }
.tcgm-rcard-opt input:focus-visible + span, .tcgm-list-radio input:focus-visible + span { box-shadow: 0 0 0 4px rgba(242, 169, 59, .4); }
.tcgm-list-radio { display: grid; gap: 8px; }
.tcgm-list-radio label { display: block !important; margin: 0 !important; cursor: pointer; font-weight: 500 !important; }
.tcgm-list-radio span { display: block; position: relative; padding: 14px 16px 14px 50px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font-size: 15px; transition: .15s; }
.tcgm-list-radio span::before { top: 50%; transform: translateY(-50%); }

/* Checkbox & switch */
.tcgm .tcgm-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 15px; cursor: pointer; margin: 0 0 16px !important; }
.tcgm .tcgm-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.tcgm .tcgm-check--box { padding: 16px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.tcgm .tcgm-switch { display: flex !important; gap: 14px; align-items: flex-start; cursor: pointer; margin: 8px 0 22px !important; font-weight: 400 !important; font-size: 15px; line-height: 1.45; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.tcgm-switch small { color: var(--muted); }
.tcgm-switch input { position: absolute; opacity: 0; }
.tcgm-switch__ui { flex: none; width: 46px; height: 26px; border-radius: 99px; background: var(--line-2); position: relative; transition: .2s; margin-top: 2px; }
.tcgm-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: .2s; }
.tcgm-switch input:checked + .tcgm-switch__ui { background: var(--ink); }
.tcgm-switch input:checked + .tcgm-switch__ui::after { left: 23px; background: var(--lantern-hi); }
.tcgm-switch input:focus-visible + .tcgm-switch__ui { box-shadow: 0 0 0 4px rgba(242, 169, 59, .4); }

/* Password reveal */
.tcgm-pw { position: relative; }
.tcgm .tcgm-pw input { padding-right: 70px !important; }
.tcgm .tcgm-pw__toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px 10px; font: 600 13px/1 var(--font); color: var(--muted); cursor: pointer; border-radius: 6px; }
.tcgm .tcgm-pw__toggle:hover { background: var(--paper); color: var(--text); }

/* Account-type segmented control */
.tcgm-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.tcgm .tcgm-seg label { margin: 0 !important; cursor: pointer; }
.tcgm-seg span { display: block; padding: 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); text-align: center; transition: .15s; }
.tcgm-seg strong { display: block; font-size: 15px; }
.tcgm-seg small { color: var(--muted); font-size: 13px; font-weight: 400; }
.tcgm-seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.tcgm-seg input:checked + span small { color: rgba(255, 255, 255, .7); }
.tcgm-seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(242, 169, 59, .4); }
@media (max-width: 480px) { .tcgm-seg { grid-template-columns: 1fr; } }
.tcgm-company-fields { padding: 18px 18px 2px; margin-bottom: 24px; border-radius: var(--radius-sm); background: var(--teal-soft); }
.tcgm-optional { margin: 4px 0 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; }
.tcgm-optional summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
.tcgm-optional[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 18px; }

/* Wizard */
.tcgm-progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 30px; counter-reset: none; }
.tcgm-progress li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tcgm-progress li::before { content: ""; height: 5px; border-radius: 99px; background: var(--line); order: -1; transition: background .3s; }
.tcgm-progress li span { display: none; }
.tcgm-progress li.is-active, .tcgm-progress li.is-done { color: var(--text); }
.tcgm-progress li.is-active::before, .tcgm-progress li.is-done::before { background: var(--lantern); }
.tcgm-wizard:not(.is-wizard) .tcgm-progress { display: none; }
.tcgm-step { border: 0; margin: 0 0 28px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.tcgm-wizard.is-wizard .tcgm-step:not(.is-current) { display: none; }
.tcgm-wizard.is-wizard .tcgm-step.is-current { animation: tcgm-in .3s ease both; }
@keyframes tcgm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tcgm .tcgm-step__title { font: 700 26px/1.2 var(--display); letter-spacing: -.02em; padding: 0; margin-bottom: 24px; float: left; width: 100%; }
.tcgm-step__title + * { clear: both; }
.tcgm-step__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); clear: both; }
.tcgm-wizard:not(.is-wizard) .tcgm-step__nav [data-next], .tcgm-wizard:not(.is-wizard) .tcgm-step__nav [data-prev] { display: none; }
.tcgm-card-form { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tcgm-card-form .tcgm-h3 { margin-top: 10px; }
.tcgm-card-form .tcgm-h3:not(:first-of-type) { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .tcgm-step, .tcgm-card-form { padding: 22px 18px; } .tcgm-step__nav { flex-direction: column-reverse; align-items: stretch; } .tcgm-step__nav .tcgm-btn { width: 100%; } }
[data-show-when][hidden], [data-hide-when][hidden] { display: none !important; }

/* Respond summary */
.tcgm-summary { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); margin-bottom: 24px; }
.tcgm-summary__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.tcgm-summary__meta { font-size: 14px; color: var(--muted); margin-top: -4px; }
.tcgm-quote { margin-top: 16px; padding: 16px 18px; border-left: 4px solid var(--lantern); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 15px; }
.tcgm-quote__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lantern-ink); margin-bottom: 6px; }
.tcgm-quote p:last-child { margin-bottom: 0; }

/* Success */
.tcgm-success__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 34px; font-weight: 700; }
.tcgm-success .tcgm-panel { margin-top: 28px; }

/* --------------------------------------------------------------- Auth */
.tcgm-auth { display: flex; justify-content: center; background: radial-gradient(800px 400px at 50% 0%, var(--lantern-soft), transparent 70%); }
.tcgm-auth__card { width: 100%; max-width: 480px; padding: 40px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.tcgm-auth--wide .tcgm-auth__card { max-width: 760px; }
.tcgm .tcgm-auth__card h1 { font-size: 34px; }
.tcgm-auth__card .tcgm-lead { font-size: 16px; margin-bottom: 26px; }
.tcgm-auth__icon { font-size: 40px; margin-bottom: 8px; }
.tcgm-auth__alt { text-align: center; font-size: 15px; color: var(--muted); margin: 22px 0 0; }
.tcgm .tcgm-form input.tcgm-code { font: 700 30px/1 var(--display); letter-spacing: .5em; text-align: center; padding: 14px 0 14px .5em; min-height: 64px; }
@media (max-width: 560px) { .tcgm-auth__card { padding: 28px 20px; border-radius: 16px; } }

.tcgm-gate { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; max-width: 900px; margin: 0 auto; padding: 40px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.tcgm .tcgm-gate h1 { font-size: clamp(30px, 3.6vw, 40px); }
.tcgm-gate .tcgm-ghost--small { width: 220px; }
@media (max-width: 760px) { .tcgm-gate { grid-template-columns: 1fr; padding: 28px 22px; gap: 10px; } .tcgm-gate .tcgm-ghost--small { width: 140px; } }

/* --------------------------------------------------------------- Portal */
.tcgm-portal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.tcgm-portal__side { position: sticky; top: 24px; padding: 20px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.tcgm-portal__me { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); line-height: 1.35; }
.tcgm-portal__me div strong { display: block; font-size: 16px; }
.tcgm-portal__me div span { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); }
.tcgm-portal__nav { display: grid; gap: 2px; }
.tcgm .tcgm-portal__nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 9px; color: rgba(255, 255, 255, .75); text-decoration: none; font-weight: 500; }
.tcgm .tcgm-portal__nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.tcgm .tcgm-portal__nav a[aria-current] { background: var(--lantern); color: var(--ink); font-weight: 700; }
.tcgm .tcgm-portal__nav a[aria-current] .tcgm-pill { background: var(--ink); color: var(--lantern-hi); }
.tcgm .tcgm-portal__logout { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 0 !important; padding-top: 14px !important; color: rgba(255, 255, 255, .55) !important; }
.tcgm-portal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.tcgm .tcgm-portal__head h1 { font-size: clamp(28px, 3vw, 36px); margin: 0; }
.tcgm-portal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tcgm .tcgm-portal__sub { margin: 28px 0 12px; }
@media (max-width: 900px) {
	.tcgm-portal { grid-template-columns: 1fr; gap: 20px; }
	.tcgm-portal__side { position: static; padding: 14px; }
	.tcgm-portal__me { padding-bottom: 12px; margin-bottom: 8px; }
	.tcgm-portal__nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
	.tcgm .tcgm-portal__nav a { white-space: nowrap; flex: none; }
	.tcgm .tcgm-portal__logout { margin: 0; border: 0; padding-top: 10px !important; }
	.tcgm-portal__cols { grid-template-columns: 1fr; }
}
.tcgm-activity { list-style: none; display: grid; }
.tcgm-activity li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tcgm-activity li:last-child { border-bottom: 0; }
.tcgm-activity li.is-unread a { font-weight: 700; }
.tcgm-activity time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.tcgm-rowlist { list-style: none; display: grid; gap: 12px; }
.tcgm-rowitem { display: flex; justify-content: space-between; gap: 20px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tcgm-rowitem__main { min-width: 0; }
.tcgm .tcgm-rowitem__title { font: 700 18px/1.3 var(--display); color: var(--ink); text-decoration: none; }
.tcgm .tcgm-rowitem__title:hover { text-decoration: underline; }
.tcgm-rowitem__meta { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.tcgm-rowitem__excerpt { margin: 8px 0 0; font-size: 14px; color: #3a3d4e; }
.tcgm-rowitem__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
@media (max-width: 640px) { .tcgm-rowitem { flex-direction: column; } .tcgm-rowitem__side { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.tcgm-status { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.tcgm-status--pending { background: var(--lantern-soft); color: var(--lantern-ink); }
.tcgm-status--approved, .tcgm-status--verified { background: var(--teal-soft); color: var(--teal-ink); }
.tcgm-status--rejected { background: var(--red-soft); color: var(--red); }

.tcgm-inbox { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.tcgm-inbox li + li { border-top: 1px solid var(--line); }
.tcgm .tcgm-inbox a { display: grid; grid-template-columns: 200px 1fr auto; gap: 4px 16px; padding: 16px 20px; color: var(--text); text-decoration: none; }
.tcgm .tcgm-inbox a:hover { background: var(--paper); }
.tcgm-inbox__from { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcgm-inbox__subject { font-weight: 500; }
.tcgm-inbox__snippet { grid-column: 2; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcgm-inbox__time { grid-row: 1; grid-column: 3; font-size: 13px; color: var(--muted); }
.tcgm-inbox .is-unread a { background: #fffaf0; }
.tcgm-inbox .is-unread .tcgm-inbox__subject, .tcgm-inbox .is-unread .tcgm-inbox__from { font-weight: 700; color: var(--text); }
.tcgm-inbox .is-unread a { box-shadow: inset 4px 0 0 var(--lantern); }
@media (max-width: 640px) { .tcgm .tcgm-inbox a { grid-template-columns: 1fr auto; } .tcgm-inbox__subject, .tcgm-inbox__snippet { grid-column: 1 / -1; } .tcgm-inbox__time { grid-column: 2; } }
.tcgm-message header { border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tcgm-profile-pic { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.tcgm-profile-pic .tcgm-field { flex: 1; margin: 0; }
.tcgm-company-edit__head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.tcgm-company-edit__head .tcgm-h3 { margin: 0; }
.tcgm-danger { border-color: #f1c6c6; box-shadow: none; }
.tcgm-danger summary { cursor: pointer; font-weight: 700; color: var(--red); }
.tcgm-danger[open] summary { margin-bottom: 14px; }

/* Print-friendly */
@media print { .tcgm-nav, .tcgm-single__side, .tcgm-hero__art { display: none; } .tcgm-hero, .tcgm-pagehead { background: none; color: #000; } }

/* Block themes: remove the empty space left where the theme's page title used to be. */
body.tcgm-page main.wp-block-group { margin-top: 0 !important; }
body.tcgm-page main.wp-block-group > .wp-block-group:has(> .wp-block-post-content > .tcgm) { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; }
body.tcgm-page main .wp-block-post-content:has(> .tcgm) { margin-top: 0 !important; }
.tcgm-hero__grid > *, .tcgm-split > *, .tcgm-about > * { min-width: 0; }
@media (max-width: 480px) { .tcgm-search { padding-left: 42px; } .tcgm-search__icon { left: 14px; } .tcgm .tcgm-search .tcgm-btn { padding: .6em 1em; } }
/* Classic themes often style every <button>; keep our buttons consistent. */
.tcgm .tcgm-btn, .tcgm .tcgm-btn:hover, .tcgm .tcgm-btn:focus { background: var(--bg) !important; color: var(--fg) !important; border-color: var(--bd) !important; text-decoration: none !important; }
.tcgm figcaption, .tcgm .tcgm-stat figcaption { text-align: left; margin: 0; font-size: 15px; color: inherit; }
.tcgm .tcgm-chart__title { font-size: 22px; }
.tcgm .tcgm-pw__toggle, .tcgm .tcgm-linkbtn, .tcgm .tcgm-nav__toggle, .tcgm .tcgm-ac__item { background: transparent !important; color: inherit; box-shadow: none !important; }
.tcgm .tcgm-pw__toggle { color: var(--muted) !important; border: 0 !important; }
.tcgm .tcgm-ac__item:hover, .tcgm .tcgm-ac__item.is-active { background: var(--paper) !important; }
