/* TCP Candidate Portal — front end. Scoped to .tcp-portal so the theme is untouched. */

.tcp-portal {
	--tcp-maroon: #610404;
	--tcp-maroon-2: #470202;
	--tcp-red: #d90000;
	--tcp-red-hover: #b00000;
	--tcp-ink: #1d1d1f;
	--tcp-ink-2: #3c3c43;
	--tcp-muted: #5f6368;
	--tcp-line: #e7e1e1;
	--tcp-soft: #faf6f6;
	--tcp-card: #ffffff;
	--tcp-focus: 0 0 0 3px rgba(217, 0, 0, .28);
	--tcp-radius: 10px;
	--tcp-shadow: 0 1px 2px rgba(40, 0, 0, .06), 0 4px 16px rgba(40, 0, 0, .05);
	font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: var(--tcp-ink);
	background: var(--tcp-soft);
	-webkit-font-smoothing: antialiased;
}
.tcp-portal *, .tcp-portal *::before, .tcp-portal *::after { box-sizing: border-box; }
.tcp-portal a { color: var(--tcp-red); text-underline-offset: 2px; }
.tcp-portal a:hover { color: var(--tcp-red-hover); }
.tcp-portal p { margin: 0 0 .75em; }
.tcp-portal img { max-width: 100%; height: auto; }
/* The theme borders every table cell; the portal draws its own lines. */
.tcp-portal table, .tcp-portal th, .tcp-portal td { border: 0; }
.tcp-portal table { margin: 0; }
.tcp-portal :focus-visible { outline: none; box-shadow: var(--tcp-focus); border-radius: 6px; }
.tcp-portal .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Layout */
.tcp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.tcp-section { padding: 40px 20px 64px; }
.tcp-section--narrow { max-width: 680px; }
.tcp-section--tight { padding-top: 0; }
.tcp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.tcp-main > * + * { margin-top: 20px; }
.tcp-aside { display: grid; gap: 16px; position: sticky; top: 24px; }
.tcp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tcp-grid3 { display: grid; grid-template-columns: 1.2fr 1.2fr .8fr; gap: 0 16px; }
.tcp-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tcp-row--between { justify-content: space-between; }
.tcp-center { text-align: center; }

/* Type */
.tcp-portal .tcp-h2 { font-size: 1.45rem; line-height: 1.25; font-weight: 700; color: var(--tcp-red); margin: 36px 0 14px; }
.tcp-portal .tcp-h2:first-child { margin-top: 0; }
.tcp-portal .tcp-h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; color: var(--tcp-ink); margin: 0 0 10px; }
.tcp-portal .tcp-h4 { font-size: 1rem; font-weight: 700; margin: 18px 0 8px; color: var(--tcp-ink); }
.tcp-muted { color: var(--tcp-muted); }
.tcp-kicker { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tcp-muted); margin: 0 0 6px !important; }
.tcp-optional { font-weight: 400; color: var(--tcp-muted); font-size: .88em; }
.tcp-bigmoney { font-size: 1.6rem; font-weight: 700; color: var(--tcp-ink); margin: 0 0 4px !important; font-variant-numeric: tabular-nums; }
.tcp-prose { color: var(--tcp-ink-2); }

/* Hero (matches the site's photo banners) */
.tcp-hero {
	position: relative;
	color: #fff;
	padding: 56px 0 52px;
	background: var(--tcp-maroon) var(--tcp-hero-img, none) center / cover no-repeat;
	isolation: isolate;
}
.tcp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 0, 0, .86) 0%, rgba(60, 4, 4, .72) 55%, rgba(60, 4, 4, .45) 100%); z-index: -1; }
.tcp-hero--plain::before { background: linear-gradient(120deg, var(--tcp-maroon-2), var(--tcp-maroon)); }
.tcp-portal .tcp-hero__title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; font-weight: 700; color: #fff; margin: 0 0 10px; }
.tcp-hero__sub { font-size: 1.08rem; max-width: 640px; color: rgba(255, 255, 255, .92); margin: 0 !important; }
.tcp-crumbs { font-size: .85rem; margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; color: rgba(255, 255, 255, .8); }
.tcp-portal .tcp-crumbs a { color: #fff; text-decoration: none; }
.tcp-portal .tcp-crumbs a:hover { text-decoration: underline; color: #fff; }

/* Account bar */
.tcp-accountbar { background: #fff; border-bottom: 1px solid var(--tcp-line); }
.tcp-accountbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 52px; }
.tcp-accountbar__hello { font-weight: 700; }
.tcp-accountbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.tcp-portal .tcp-accountbar a { display: inline-block; padding: 8px 12px; border-radius: 6px; color: var(--tcp-ink-2); text-decoration: none; font-size: .95rem; }
.tcp-portal .tcp-accountbar a:hover { background: var(--tcp-soft); color: var(--tcp-ink); }
.tcp-portal .tcp-accountbar a[aria-current="page"] { color: var(--tcp-red); font-weight: 700; }

/* Cards & panels */
.tcp-card, .tcp-panel { background: var(--tcp-card); border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius); padding: 24px; box-shadow: var(--tcp-shadow); }
.tcp-card--compact { padding: 18px; }
.tcp-card--compact p:last-child { margin-bottom: 0; }
.tcp-card--intro { margin-bottom: 16px; }
.tcp-panel--accent { border-top: 4px solid var(--tcp-red); }
.tcp-panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tcp-empty { text-align: center; padding: 36px 24px; }

/* Notices */
.tcp-notice { border-radius: 8px; padding: 12px 16px; margin: 0 0 18px; border: 1px solid; font-weight: 500; }
.tcp-notice--success { background: #e9f6ee; border-color: #b7dfc4; color: #17552b; }
.tcp-notice--error { background: #fdecec; border-color: #f3b9b9; color: #8a1010; }
.tcp-notice--info { background: #eef4fb; border-color: #c6dbf2; color: #0b4577; }
.tcp-demo-note { background: #fff8e6; border: 1px dashed #e0b24a; color: #6b4a00; padding: 10px 12px; border-radius: 8px; font-size: .9rem; }

/* Badges */
.tcp-badge { display: inline-block; font-size: .78rem; font-weight: 700; line-height: 1; padding: 6px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: .01em; }
.tcp-badge--amber { background: #fff1d6; color: #7a4300; }
.tcp-badge--blue { background: #e6f0fb; color: #0b4a82; }
.tcp-badge--green { background: #e3f4e9; color: #1b6232; }
.tcp-badge--grey { background: #eeeeee; color: #4a4a4a; }

/* Buttons */
.tcp-portal .tcp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2;
	padding: 12px 20px; border-radius: 8px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
	min-height: 44px; text-transform: none; letter-spacing: 0;
}
.tcp-portal .tcp-btn--primary { background: var(--tcp-red); color: #fff; }
.tcp-portal .tcp-btn--primary:hover { background: var(--tcp-red-hover); color: #fff; }
.tcp-portal .tcp-btn--ghost { background: #fff; color: var(--tcp-ink); border-color: #d6cdcd; }
.tcp-portal .tcp-btn--ghost:hover { border-color: var(--tcp-red); color: var(--tcp-red); }
.tcp-portal .tcp-btn--link { background: none; border: 0; color: var(--tcp-red); padding: 8px 6px; min-height: 0; text-decoration: underline; font-weight: 500; }
.tcp-portal .tcp-btn--disabled { background: #eee; color: #777; cursor: not-allowed; }
.tcp-portal .tcp-btn--block { width: 100%; }
.tcp-portal .tcp-btn--sm { padding: 8px 12px; font-size: .88rem; min-height: 36px; }
.tcp-portal .tcp-btn--lg { padding: 15px 26px; font-size: 1.08rem; }
.tcp-portal .tcp-btn[disabled], .tcp-portal .tcp-btn.is-busy { opacity: .65; cursor: progress; }

/* Forms */
.tcp-form > * + * { margin-top: 0; }
.tcp-field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.tcp-portal .tcp-field > label, .tcp-portal .tcp-field > legend, .tcp-label { display: block; font-weight: 600; font-size: .95rem; margin: 0 0 6px; color: var(--tcp-ink); padding: 0; }
.tcp-portal .tcp-field input[type="text"], .tcp-portal .tcp-field input[type="email"], .tcp-portal .tcp-field input[type="tel"],
.tcp-portal .tcp-field input[type="password"], .tcp-portal .tcp-field input[type="url"], .tcp-portal .tcp-field input[type="date"],
.tcp-portal .tcp-field input[type="number"], .tcp-portal .tcp-field select, .tcp-portal .tcp-field textarea, .tcp-portal .tcp-qa__ask textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--tcp-ink); background: #fff;
	border: 1px solid #cfc6c6; border-radius: 8px; padding: 11px 12px; min-height: 46px; box-shadow: none; margin: 0;
}
.tcp-portal .tcp-field textarea { min-height: 96px; resize: vertical; }
.tcp-portal .tcp-field input:focus, .tcp-portal .tcp-field select:focus, .tcp-portal .tcp-field textarea:focus, .tcp-portal .tcp-qa__ask textarea:focus { border-color: var(--tcp-red); box-shadow: var(--tcp-focus); outline: none; }
.tcp-portal .tcp-field input[type="file"] { width: 100%; padding: 10px; border: 1px dashed #cfc6c6; border-radius: 8px; background: var(--tcp-soft); font-size: .95rem; }
.tcp-help { font-size: .86rem; color: var(--tcp-muted); margin: 6px 0 0 !important; }
.tcp-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin: 4px 0 16px; cursor: pointer; }
.tcp-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--tcp-red); flex: none; }
.tcp-readonly { padding: 10px 0; margin: 0 !important; color: var(--tcp-ink-2); }
.tcp-hp { position: absolute; left: -9999px; }
.tcp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tcp-chip { position: relative; }
.tcp-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tcp-chip span { display: inline-block; padding: 8px 14px; border: 1px solid #cfc6c6; border-radius: 999px; font-size: .92rem; background: #fff; }
.tcp-chip input:checked + span { background: var(--tcp-maroon); border-color: var(--tcp-maroon); color: #fff; }
.tcp-chip input:focus-visible + span { box-shadow: var(--tcp-focus); }

/* Tabs */
.tcp-auth { max-width: 520px; margin: 0 auto; }
.tcp-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #efe8e8; border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.tcp-portal .tcp-tabs button { font: inherit; font-weight: 700; border: 0; background: transparent; padding: 10px; border-radius: 8px; cursor: pointer; color: var(--tcp-ink-2); }
.tcp-portal .tcp-tabs button[aria-selected="true"] { background: #fff; color: var(--tcp-red); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

/* Start card + sign-in pop-up */
.tcp-start__list { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; gap: 10px; }
.tcp-start__list li { position: relative; padding-left: 30px; color: var(--tcp-ink-2); }
.tcp-start__list li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e3f4e9; color: #1b6232; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.tcp-start__alt { margin: 14px 0 0 !important; text-align: center; color: var(--tcp-muted); font-size: .95rem; }
.tcp-dialog { width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; border: 0; border-radius: 14px; padding: 22px 22px 8px; background: var(--tcp-soft); box-shadow: 0 24px 60px rgba(30, 0, 0, .35); color: var(--tcp-ink); }
.tcp-dialog::backdrop { background: rgba(20, 4, 4, .62); }
.tcp-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tcp-dialog__head .tcp-h3 { margin: 0; }
.tcp-portal .tcp-dialog__close { font: inherit; font-size: 1.7rem; line-height: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--tcp-ink-2); cursor: pointer; }
.tcp-portal .tcp-dialog__close:hover { background: #efe8e8; }
.tcp-dialog__lead { margin: 6px 0 16px !important; font-size: .95rem; }
.tcp-dialog .tcp-auth { max-width: none; }

/* Service page */
.tcp-service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: start; }
.tcp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 18px 20px; background: #fff; border: 1px solid var(--tcp-line); border-left: 4px solid var(--tcp-red); border-radius: var(--tcp-radius); margin-bottom: 28px; }
.tcp-price__amount { font-size: 2rem; font-weight: 700; color: var(--tcp-ink); font-variant-numeric: tabular-nums; }
.tcp-price__note { color: var(--tcp-muted); }
.tcp-price__meta { flex-basis: 100%; color: var(--tcp-ink-2); font-size: .95rem; }
.tcp-steps { list-style: none; counter-reset: s; margin: 0 0 20px; padding: 0; }
.tcp-steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; color: var(--tcp-ink-2); }
.tcp-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--tcp-maroon); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.tcp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: var(--tcp-line); }
.tcp-steps--row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.tcp-steps--row li { background: #fff; border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius); padding: 56px 18px 18px; }
.tcp-steps--row li::before { left: 18px; top: 16px; }
.tcp-steps--row li::after { display: none; }
.tcp-howto { margin-top: 48px; }

/* Stepper */
.tcp-stepper { list-style: none; margin: 0 0 28px; padding: 0; display: flex; gap: 0; overflow-x: auto; background: #fff; border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius); padding: 14px 10px; }
.tcp-stepper li { flex: 1 1 0; min-width: 96px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; font-size: .84rem; color: var(--tcp-muted); padding: 0 4px; }
.tcp-stepper li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: var(--tcp-line); }
.tcp-stepper__dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; border: 2px solid #d6cdcd; background: #fff; color: var(--tcp-muted); position: relative; z-index: 1; }
.tcp-stepper li.is-done { color: var(--tcp-ink-2); }
.tcp-stepper li.is-done .tcp-stepper__dot { background: #1b6232; border-color: #1b6232; color: #fff; }
.tcp-stepper li.is-done:not(:last-child)::after { background: #1b6232; }
.tcp-stepper li.is-current { color: var(--tcp-ink); font-weight: 700; }
.tcp-stepper li.is-current .tcp-stepper__dot { border-color: var(--tcp-red); color: var(--tcp-red); box-shadow: 0 0 0 4px rgba(217, 0, 0, .12); }

/* Lists */
.tcp-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius); }
.tcp-list--flush { border: 0; background: none; }
.tcp-list__row { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; padding: 14px 18px; border-bottom: 1px solid var(--tcp-line); flex-wrap: wrap; }
.tcp-list--flush .tcp-list__row { padding: 12px 0; }
.tcp-list__row:last-child { border-bottom: 0; }
.tcp-list__row.is-muted { opacity: .6; }
.tcp-portal .tcp-list__title { font-weight: 700; color: var(--tcp-ink); text-decoration: none; }
.tcp-portal .tcp-list__title:hover { color: var(--tcp-red); text-decoration: underline; }

/* Dashboard */
.tcp-todo { display: grid; gap: 10px; }
.tcp-portal .tcp-todo__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--tcp-line); border-left: 4px solid var(--tcp-red); border-radius: var(--tcp-radius); padding: 14px 18px; text-decoration: none; color: var(--tcp-ink); }
.tcp-portal .tcp-todo__item:hover { border-color: var(--tcp-red); color: var(--tcp-ink); }
.tcp-todo__service { color: var(--tcp-ink-2); }
.tcp-todo__action { font-weight: 700; color: var(--tcp-red); }
.tcp-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tcp-portal .tcp-svc { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius); text-decoration: none; color: var(--tcp-ink); transition: border-color .15s, transform .15s; }
.tcp-portal .tcp-svc:hover { border-color: var(--tcp-red); color: var(--tcp-ink); transform: translateY(-1px); }
.tcp-svc__title { font-weight: 700; }
.tcp-svc__desc { color: var(--tcp-muted); font-size: .92rem; flex: 1; }
.tcp-svc__price { font-weight: 700; color: var(--tcp-red); }

/* Payment */
.tcp-summary { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.tcp-summary th, .tcp-summary td { padding: 9px 0; border-bottom: 1px solid var(--tcp-line); text-align: left; font-weight: 400; }
.tcp-summary td { text-align: right; white-space: nowrap; }
.tcp-summary__total th, .tcp-summary__total td { font-weight: 700; font-size: 1.1rem; border-bottom: 0; }
.tcp-paybox { background: var(--tcp-soft); border-radius: var(--tcp-radius); padding: 18px; margin-bottom: 16px; }
.tcp-terms { max-height: 220px; overflow: auto; background: var(--tcp-soft); border: 1px solid var(--tcp-line); border-radius: 8px; padding: 12px 14px; font-size: .88rem; color: var(--tcp-ink-2); }
.tcp-details > summary { cursor: pointer; font-weight: 700; color: var(--tcp-ink); padding: 6px 0; list-style-position: inside; }
.tcp-details[open] > summary { margin-bottom: 12px; }
.tcp-details--inline > summary { font-weight: 500; color: var(--tcp-red); font-size: .95rem; margin-bottom: 8px; }

/* Slots */
.tcp-slots__day { border: 0; padding: 0; margin: 0 0 16px; }
.tcp-portal .tcp-slots__day legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.tcp-slots__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.tcp-slot { position: relative; }
.tcp-slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tcp-slot span { display: block; text-align: center; padding: 10px 6px; border: 1px solid #cfc6c6; border-radius: 8px; font-weight: 600; background: #fff; font-variant-numeric: tabular-nums; }
.tcp-slot input:hover + span { border-color: var(--tcp-red); }
.tcp-slot input:checked + span { background: var(--tcp-red); border-color: var(--tcp-red); color: #fff; }
.tcp-slot input:focus-visible + span { box-shadow: var(--tcp-focus); }
.tcp-slots__days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tcp-portal .tcp-slots__days button { flex: 0 0 auto; scroll-snap-align: start; width: 68px; padding: 8px 4px; border: 1px solid #cfc6c6; border-radius: 10px; background: #fff; font: inherit; cursor: pointer; display: grid; gap: 2px; justify-items: center; color: var(--tcp-ink); }
.tcp-slots__days button small { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tcp-muted); }
.tcp-slots__days button strong { font-size: 1.25rem; line-height: 1.1; }
.tcp-portal .tcp-slots__days button[aria-selected="true"] { background: var(--tcp-maroon); border-color: var(--tcp-maroon); color: #fff; }
.tcp-portal .tcp-slots__days button[aria-selected="true"] small { color: rgba(255, 255, 255, .85); }
.tcp-slots.is-enhanced .tcp-slots__day { display: none; }
.tcp-slots.is-enhanced .tcp-slots__day.is-active { display: block; }
.tcp-slots.is-enhanced .tcp-slots__day legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Files */
.tcp-files { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.tcp-file { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--tcp-line); border-radius: 10px; background: #fff; flex-wrap: wrap; }
.tcp-file--big { background: var(--tcp-soft); margin-bottom: 18px; }
.tcp-file__ext { flex: none; width: 46px; height: 54px; border-radius: 6px; background: var(--tcp-maroon); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; letter-spacing: .04em; }
.tcp-file__meta { flex: 1 1 220px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tcp-file__meta .tcp-muted { font-size: .86rem; overflow-wrap: anywhere; }
.tcp-file__meta .tcp-badge { align-self: flex-start; }
.tcp-file__note { font-size: .9rem; color: var(--tcp-ink-2); margin: 4px 0 0 !important; font-style: italic; }
.tcp-upload { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--tcp-line); }

/* Review */
.tcp-review { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tcp-review > form { border: 1px solid var(--tcp-line); border-radius: 10px; padding: 18px; }
.tcp-review__approve { background: #f3faf5; border-color: #cde8d6 !important; }
.tcp-review .tcp-h4 { margin-top: 0; }

/* Definition lists */
.tcp-dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; margin: 0 0 16px; }
.tcp-dl dt { color: var(--tcp-muted); font-size: .92rem; }
.tcp-dl dd { margin: 0; }
.tcp-dl--stack { grid-template-columns: 1fr; gap: 2px; }
.tcp-dl--stack dd { margin-bottom: 10px; color: var(--tcp-ink-2); font-size: .95rem; }

/* Timeline */
.tcp-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--tcp-line); }
.tcp-timeline li { position: relative; padding: 0 0 16px 16px; }
.tcp-timeline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--tcp-red); }
.tcp-timeline time { font-size: .8rem; color: var(--tcp-muted); }
.tcp-timeline p { margin: 2px 0 0 !important; color: var(--tcp-ink-2); }

/* Rating */
.tcp-rating { border: 0; padding: 0; margin: 0 0 14px; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.tcp-rating input { position: absolute; opacity: 0; }
.tcp-rating label { font-size: 2rem; line-height: 1; color: #d6cdcd; cursor: pointer; padding: 2px; }
.tcp-rating input:checked ~ label, .tcp-rating label:hover, .tcp-rating label:hover ~ label { color: #e0a100; }
.tcp-rating input:focus-visible + label { box-shadow: var(--tcp-focus); border-radius: 4px; }
.tcp-stars { color: #e0a100; font-size: 1.4rem; letter-spacing: 2px; }

/* Events */
.tcp-events-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tcp-events-head .tcp-h2 { margin: 0; }
.tcp-filter { display: inline-flex; background: #efe8e8; border-radius: 10px; padding: 4px; }
.tcp-portal .tcp-filter button { font: inherit; font-weight: 600; border: 0; background: none; padding: 8px 14px; border-radius: 8px; cursor: pointer; color: var(--tcp-ink-2); }
.tcp-portal .tcp-filter button[aria-pressed="true"] { background: #fff; color: var(--tcp-red); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.tcp-event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 360px)); justify-content: center; gap: 18px; }
.tcp-event { background: #fff; border: 1px solid var(--tcp-line); border-radius: var(--tcp-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--tcp-shadow); }
.tcp-event[hidden] { display: none; }
.tcp-event__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.tcp-event__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tcp-event__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tcp-portal .tcp-event__title { font-size: 1.2rem; line-height: 1.3; font-weight: 700; margin: 4px 0 0; color: var(--tcp-ink); }
.tcp-event__when { font-weight: 600; color: var(--tcp-maroon); margin: 0 !important; }
.tcp-event__meta, .tcp-event__desc { color: var(--tcp-ink-2); font-size: .94rem; margin: 0 !important; }
.tcp-event__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tcp-event__foot form { margin: 0; }
.tcp-event__price strong { font-size: 1.3rem; }
.tcp-event__price .tcp-muted { font-size: .82rem; margin-left: 4px; }

/* Q&A */
.tcp-qa__ask { display: flex; gap: 10px; align-items: flex-end; margin: 12px 0 16px; }
.tcp-qa__ask textarea { flex: 1; min-height: 52px; }
.tcp-qa__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tcp-qa__item { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--tcp-line); border-radius: 10px; }
.tcp-qa__item.is-answered { background: #f5faf6; }
.tcp-portal .tcp-vote { flex: none; font: inherit; font-size: .85rem; font-weight: 700; border: 1px solid #cfc6c6; background: #fff; border-radius: 8px; padding: 6px 10px; cursor: pointer; color: var(--tcp-ink-2); min-width: 54px; min-height: 44px; }
.tcp-portal .tcp-vote[aria-pressed="true"] { background: var(--tcp-maroon); border-color: var(--tcp-maroon); color: #fff; }
.tcp-qa__q { font-weight: 600; margin: 0 !important; }
.tcp-qa__by { font-size: .82rem; margin: 2px 0 0 !important; }
.tcp-qa__a { margin: 8px 0 0 !important; color: var(--tcp-ink-2); }

/* Reports */
.tcp-rep__score { width: 100%; border-collapse: collapse; margin: 6px 0 14px; }
.tcp-rep__score td { vertical-align: middle; padding: 0; border: 0; }
.tcp-rep__big { width: 96px; font-size: 2.4rem; font-weight: 700; color: var(--tcp-maroon); line-height: 1; }
.tcp-rep__big span { font-size: 1rem; color: var(--tcp-muted); font-weight: 400; }
.tcp-rep__label { color: var(--tcp-muted); margin: 0 0 6px !important; font-size: .92rem; }
.tcp-portal .tcp-rep__h { font-size: 1rem; margin: 18px 0 8px; color: var(--tcp-maroon); }
.tcp-rep__pill { background: var(--tcp-soft); border-radius: 8px; padding: 10px 12px; }
.tcp-rep__table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: .95rem; }
.tcp-rep__table th, .tcp-rep__table td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--tcp-line); text-align: left; font-weight: 400; }
.tcp-rep__table thead th { color: var(--tcp-muted); font-size: .85rem; }
.tcp-rep__barcell { width: 45%; }
.tcp-rep__num { width: 48px; text-align: right !important; font-variant-numeric: tabular-nums; }
.tcp-rep__skills .is-gap { background: #fdf1f1; }
.tcp-bar { height: 8px; background: #eee7e7; border-radius: 999px; overflow: hidden; }
.tcp-bar__fill { height: 100%; background: var(--tcp-red); border-radius: 999px; }
.tcp-rep__text p { color: var(--tcp-ink-2); }

.tcp-democheckout { text-align: center; }
.tcp-democheckout .tcp-row { justify-content: center; margin: 16px 0; }

/* Plans */
.tcp-plans__head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.tcp-plans__head .tcp-h2 { margin: 0 0 8px; }
.tcp-plans--embedded { border-top: 1px solid var(--tcp-line); padding-top: 44px; }
.tcp-plan-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 26px 16px; align-items: stretch; max-width: calc(var(--n, 3) * 290px); margin: 0 auto; }
@media (max-width: 1000px) { .tcp-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; } }
.tcp-plan { position: relative; background: #fff; border: 1px solid var(--tcp-line); border-radius: 14px; padding: 26px 22px 22px; display: flex; flex-direction: column; box-shadow: var(--tcp-shadow); }
.tcp-plan.is-highlight { border: 2px solid var(--tcp-maroon); padding: 25px 21px 21px; box-shadow: 0 10px 30px rgba(97, 4, 4, .14); }
.tcp-plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--tcp-maroon); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.tcp-portal .tcp-plan__name { font-size: 1.15rem; font-weight: 700; color: var(--tcp-ink); margin: 0 0 10px; }
.tcp-plan__price { margin: 0 !important; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tcp-plan__price strong { font-size: 2rem; line-height: 1.1; color: var(--tcp-maroon); font-variant-numeric: tabular-nums; }
.tcp-plan__price span { color: var(--tcp-muted); font-size: .9rem; }
.tcp-plan__meta { min-height: 1.5em; font-size: .86rem; color: var(--tcp-muted); margin: 4px 0 12px !important; }
.tcp-plan__tagline { color: var(--tcp-ink-2); font-size: .95rem; min-height: 3em; }
.tcp-plan form { margin: 0; }
.tcp-plan__features { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--tcp-line); display: grid; gap: 9px; font-size: .93rem; }
.tcp-plan__features li { position: relative; padding-left: 26px; color: var(--tcp-ink-2); }
.tcp-plan__features li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: #e3f4e9; color: #1b6232; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.tcp-plans__foot { text-align: center; margin: 22px 0 0 !important; font-size: .93rem; }

/* Responsive */
@media (max-width: 960px) {
	.tcp-layout, .tcp-service { grid-template-columns: 1fr; }
	.tcp-aside { position: static; }
}
@media (max-width: 640px) {
	.tcp-section { padding: 28px 16px 48px; }
	.tcp-wrap { padding: 0 16px; }
	.tcp-hero { padding: 36px 0 32px; }
	.tcp-grid2, .tcp-grid3, .tcp-review { grid-template-columns: 1fr; }
	.tcp-card, .tcp-panel { padding: 18px; }
	.tcp-dl { grid-template-columns: 1fr; gap: 2px; }
	.tcp-dl dd { margin-bottom: 8px; }
	.tcp-event-grid, .tcp-plan-grid { grid-template-columns: 1fr; max-width: none; }
	.tcp-plan-grid { gap: 26px; }
	.tcp-qa__ask { flex-direction: column; align-items: stretch; }
	.tcp-stepper li { min-width: 84px; font-size: .78rem; }
	.tcp-accountbar__hello { display: none; }
	.tcp-accountbar ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
	.tcp-portal .tcp-accountbar a { white-space: nowrap; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.tcp-portal * { transition: none !important; }
}
