:root {
  --tp-portal-bg: #f7f4f0;
  --tp-portal-card: #fff;
  --tp-portal-warm: #efe7db;
  --tp-portal-text: #1c1820;
  --tp-portal-muted: #6b5f5c;
  --tp-portal-border: #e8ded2;
  --tp-portal-orange: #ff6e13;
  --tp-portal-purple: #910a9a;
  --tp-portal-yellow: #ffc600;
  --tp-portal-orange-soft: #fff0e6;
  --tp-portal-purple-soft: #f7e9f8;
  --tp-portal-yellow-soft: #fff7d6;
  --tp-portal-gradient: linear-gradient(110deg, #ff6e13, #910a9a);
}

body.tp-portal-page {
  background: var(--tp-portal-bg) !important;
  margin: 0;
}

body.tp-portal-menu-lock { overflow: hidden; }

.tp-portal-app .screen-reader-text,
.tp-portal-login .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

body.tp-portal-page .site-header,
body.tp-portal-page #masthead,
body.tp-portal-page header#site-header,
body.tp-portal-page #header[role="banner"],
body.tp-portal-page .elementor-location-header,
body.tp-portal-page .wp-site-blocks > header,
body.tp-portal-page header.wp-block-template-part,
body.tp-portal-page .site-footer,
body.tp-portal-page #colophon,
body.tp-portal-page footer#site-footer,
body.tp-portal-page #footer[role="contentinfo"],
body.tp-portal-page .elementor-location-footer,
body.tp-portal-page .wp-site-blocks > footer,
body.tp-portal-page footer.wp-block-template-part,
body.tp-portal-page .tp-site-header,
body.tp-portal-page .tp-site-footer,
body.tp-portal-page .wp-site-blocks > .wp-block-group:has(.wp-block-site-title),
body.tp-portal-page .wp-site-blocks > .wp-block-group:has(a[href*="wordpress.org"]),
body.tp-portal-page .entry-title,
body.tp-portal-page .page-title,
body.tp-portal-page .wp-block-post-title,
body.tp-portal-page .elementor-page-title {
  display: none !important;
}

body.tp-portal-page .wp-site-blocks { gap: 0 !important; padding: 0 !important; }

body.tp-portal-page #primary,
body.tp-portal-page #main,
body.tp-portal-page .site-main,
body.tp-portal-page .content-area,
body.tp-portal-page .content-container,
body.tp-portal-page .entry-content-wrap,
body.tp-portal-page .entry-content,
body.tp-portal-page article.page {
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.tp-portal-app,
.tp-portal-login {
  box-sizing: border-box;
  color: var(--tp-portal-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  left: auto;
  margin: 0;
  position: relative;
  right: auto;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

.tp-portal-app *,
.tp-portal-login * { box-sizing: border-box; }
.tp-portal-app h1,
.tp-portal-app h2,
.tp-portal-app h3,
.tp-portal-login h1,
.tp-portal-login h2 { color: var(--tp-portal-text); font-family: Nunito, ui-rounded, sans-serif; letter-spacing: -.035em; line-height: 1.12; margin: 0; }
.tp-portal-app p,
.tp-portal-login p { margin: 0; }
.tp-portal-app a,
.tp-portal-login a { color: inherit; }
.tp-portal-app a:focus-visible,
.tp-portal-app button:focus-visible,
.tp-portal-login a:focus-visible,
.tp-portal-login button:focus-visible,
.tp-portal-login input:focus-visible { outline: 3px solid rgba(145,10,154,.28); outline-offset: 3px; }

/* Login */
.tp-portal-login { background: var(--tp-portal-bg); display: grid; grid-template-columns: minmax(390px, .85fr) minmax(520px, 1.15fr); min-height: 100vh; }
.admin-bar .tp-portal-login,
.admin-bar .tp-portal-app { min-height: calc(100vh - 32px); }
.tp-login-brand-panel { background: var(--tp-portal-text); color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(38px, 5vw, 74px); position: relative; }
.tp-login-brand-panel::before { background: radial-gradient(circle, rgba(255,110,19,.28), transparent 66%); content: ""; height: 560px; left: -280px; position: absolute; top: -250px; width: 560px; }
.tp-login-brand-panel::after { background: radial-gradient(circle, rgba(145,10,154,.4), transparent 68%); bottom: -290px; content: ""; height: 640px; position: absolute; right: -310px; width: 640px; }
.tp-portal-brand { align-items: center; color: var(--tp-portal-text) !important; display: inline-flex; font-family: Nunito, ui-rounded, sans-serif; font-size: 23px; font-weight: 800; letter-spacing: -.04em; position: relative; text-decoration: none !important; z-index: 1; }
.tp-portal-brand .tp-logo { display: block; height: auto; max-width: 100%; object-fit: contain; width: 150px; }
.tp-login-brand-panel .tp-portal-brand .tp-logo { width: 184px; }
.tp-portal-brand--mobile .tp-logo { width: 156px; }
.tp-login-brand-panel__copy { max-width: 610px; position: relative; z-index: 1; }
.tp-login-brand-panel__copy > span,
.tp-login-brand-panel__foot { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.tp-login-brand-panel__copy h1 { color: #fff; font-size: clamp(44px, 5vw, 72px); margin-top: 20px; }
.tp-login-brand-panel__copy p { color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.7; margin-top: 24px; max-width: 540px; }
.tp-login-brand-panel__foot { position: relative; z-index: 1; }
.tp-login-form-panel { align-items: center; display: flex; justify-content: center; padding: clamp(34px, 7vw, 100px); }
.tp-login-form-wrap { max-width: 470px; width: 100%; }
.tp-portal-brand--mobile { display: none; margin-bottom: 54px; }
.tp-portal-eyebrow { color: var(--tp-portal-purple); display: block; font-size: 10px; font-weight: 800; letter-spacing: .17em; margin-bottom: 12px; text-transform: uppercase; }
.tp-login-form-wrap h2 { font-size: clamp(35px, 4vw, 48px); }
.tp-login-form-wrap > p { color: var(--tp-portal-muted); font-size: 15px; margin-top: 13px; }
.tp-login-alert { background: #fff3ef; border: 1px solid #efc5b8; border-radius: 12px; color: #8f321d; font-size: 13px; line-height: 1.5; margin-top: 25px; padding: 14px 16px; }
.tp-login-form { margin-top: 32px; }
.tp-login-form > label:not(.tp-login-remember),
.tp-login-password-label label { color: var(--tp-portal-text); display: block; font-size: 12px; font-weight: 700; margin-bottom: 9px; }
.tp-login-form input[type="text"],
.tp-login-form input[type="password"] { appearance: none; background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 12px; color: var(--tp-portal-text); font: inherit; height: 52px; outline: 0; padding: 0 15px; transition: border-color 160ms ease, box-shadow 160ms ease; width: 100%; }
.tp-login-form input:focus { border-color: var(--tp-portal-purple); box-shadow: 0 0 0 4px rgba(145,10,154,.1); }
.tp-login-password-label { align-items: center; display: flex; justify-content: space-between; margin-top: 22px; }
.tp-login-password-label a { color: var(--tp-portal-purple) !important; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.tp-login-password { position: relative; }
.tp-login-password input { padding-right: 70px !important; }
.tp-login-password button { background: transparent; border: 0; color: var(--tp-portal-purple); cursor: pointer; font-size: 12px; font-weight: 700; padding: 8px; position: absolute; right: 9px; top: 8px; }
.tp-login-remember { align-items: center; color: var(--tp-portal-muted); display: flex; font-size: 12px; gap: 9px; margin: 18px 0 24px; }
.tp-login-remember input { accent-color: var(--tp-portal-purple); height: 16px; width: 16px; }
.tp-portal-button { align-items: center; background: var(--tp-portal-gradient); border: 0; border-radius: 10px; color: #fff !important; cursor: pointer; display: inline-flex; font: inherit; font-size: 13px; font-weight: 700; justify-content: center; min-height: 46px; padding: 0 20px; text-decoration: none !important; transition: box-shadow 160ms ease, transform 160ms ease; }
.tp-portal-button:hover { box-shadow: 0 10px 24px rgba(145,10,154,.18); transform: translateY(-1px); }
.tp-portal-button:disabled { cursor: wait; opacity: .7; transform: none; }
.tp-login-form .tp-portal-button { width: 100%; }
.tp-login-help { border-top: 1px solid var(--tp-portal-border); color: var(--tp-portal-muted); font-size: 12px !important; margin-top: 34px !important; padding-top: 24px; text-align: center; }
.tp-login-help a { color: var(--tp-portal-purple) !important; font-weight: 700; }

/* Portal shell */
.tp-portal-app { background: var(--tp-portal-bg); display: flex; min-height: 100vh; }
.tp-portal-sidebar { background: #fff; border-right: 1px solid var(--tp-portal-border); display: flex; flex: 0 0 288px; flex-direction: column; min-height: inherit; position: relative; z-index: 50; }
.tp-portal-sidebar__brand { border-bottom: 1px solid var(--tp-portal-border); padding: 27px 28px 25px; position: relative; }
.tp-portal-sidebar__brand > p { color: var(--tp-portal-muted); font-size: 9px; font-weight: 800; letter-spacing: .18em; margin: 10px 0 0 43px; text-transform: uppercase; }
.tp-portal-sidebar__brand > button { background: transparent; border: 0; color: var(--tp-portal-muted); cursor: pointer; display: none; font-size: 29px; line-height: 1; position: absolute; right: 18px; top: 28px; }
.tp-portal-nav { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 26px 17px; }
.tp-portal-nav > span { color: var(--tp-portal-muted); font-size: 9px; font-weight: 800; letter-spacing: .17em; margin: 0 12px 10px; text-transform: uppercase; }
.tp-portal-nav a { align-items: center; border-radius: 9px; color: var(--tp-portal-muted) !important; display: flex; font-size: 13px; font-weight: 600; gap: 13px; min-height: 44px; padding: 0 13px; position: relative; text-decoration: none !important; transition: background 150ms ease, color 150ms ease; }
.tp-portal-nav a:hover { background: #fffaf5; color: var(--tp-portal-text) !important; }
.tp-portal-nav a.is-active { background: var(--tp-portal-warm); color: var(--tp-portal-text) !important; }
.tp-portal-nav a.is-active::before { background: var(--tp-portal-gradient); border-radius: 0 4px 4px 0; content: ""; height: 24px; left: -17px; position: absolute; width: 4px; }
.tp-portal-nav svg,
.tp-portal-signout svg { fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 18px; }
.tp-portal-nav a.is-active svg { color: var(--tp-portal-purple); }
.tp-portal-nav__label { flex: 1; }
.tp-portal-nav a > small { background: var(--tp-portal-purple-soft); border-radius: 999px; color: var(--tp-portal-purple); font-size: 7px; font-weight: 800; letter-spacing: .08em; padding: 5px 7px; text-transform: uppercase; }
.tp-portal-nav a.is-active > small { background: #fff; }
.tp-portal-sidebar__foot { border-top: 1px solid var(--tp-portal-border); padding: 19px 17px 20px; }
.tp-portal-user { align-items: center; display: flex; gap: 11px; padding: 0 8px 17px; }
.tp-portal-user img { background: var(--tp-portal-warm); border-radius: 50%; height: 42px; object-fit: cover; width: 42px; }
.tp-portal-user div { min-width: 0; }
.tp-portal-user strong,
.tp-portal-user span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-portal-user strong { font-size: 12px; }
.tp-portal-user span { color: var(--tp-portal-muted); font-size: 10px; margin-top: 3px; }
.tp-portal-signout { align-items: center; border-top: 1px solid var(--tp-portal-border); color: var(--tp-portal-muted) !important; display: flex; font-size: 12px; font-weight: 600; gap: 10px; padding: 16px 9px 0; text-decoration: none !important; }
.tp-portal-main { min-width: 0; width: calc(100% - 288px); }
.tp-portal-topbar { align-items: center; background: rgba(247,244,240,.94); border-bottom: 1px solid var(--tp-portal-border); display: flex; height: 80px; justify-content: space-between; padding: 0 clamp(24px, 4vw, 50px); position: sticky; top: 0; z-index: 30; }
.admin-bar .tp-portal-topbar { top: 32px; }
.tp-portal-topbar > div { align-items: center; display: flex; gap: 14px; }
.tp-portal-topbar > div > div span,
.tp-portal-topbar > div > div strong { display: block; }
.tp-portal-topbar > div > div span { color: var(--tp-portal-muted); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tp-portal-topbar > div > div strong { font-size: 12px; margin-top: 4px; }
.tp-portal-menu { background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 9px; cursor: pointer; display: none; height: 42px; padding: 9px; width: 42px; }
.tp-portal-menu span { background: var(--tp-portal-text); display: block; height: 2px; margin: 4px auto; width: 20px; }
.tp-portal-avatar { border-radius: 50%; display: block; height: 38px; overflow: hidden; width: 38px; }
.tp-portal-avatar img { height: 100%; object-fit: cover; width: 100%; }
.tp-portal-content { margin: 0 auto; max-width: 1380px; padding: clamp(35px, 5vw, 64px) clamp(24px, 4vw, 50px) 70px; }

/* Dashboard */
.tp-onboarding-welcome { background: linear-gradient(135deg,#1c1820 0%,#65006c 100%); border-radius: 20px; color: #fff; margin-bottom: 36px; overflow: hidden; padding: clamp(30px,5vw,58px); position: relative; }
.tp-onboarding-welcome::after { background: radial-gradient(circle,rgba(255,110,19,.28),transparent 68%); content: ""; height: 520px; position: absolute; right: -250px; top: -290px; width: 520px; }
.tp-onboarding-welcome__copy,
.tp-onboarding-steps,
.tp-onboarding-welcome form { position: relative; z-index: 1; }
.tp-onboarding-welcome .tp-portal-eyebrow { color: var(--tp-portal-yellow); }
.tp-onboarding-welcome h1 { color: #fff; font-size: clamp(34px,5vw,55px); max-width: 820px; }
.tp-onboarding-welcome__copy > p { color: rgba(255,255,255,.65); line-height: 1.7; margin-top: 17px; max-width: 740px; }
.tp-onboarding-steps { display: grid; gap: 12px; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 30px 0; }
.tp-onboarding-steps a { align-items: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; color: #fff !important; display: flex; gap: 13px; min-height: 112px; padding: 17px; text-decoration: none !important; transition: background 160ms ease,transform 160ms ease; }
.tp-onboarding-steps a:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.tp-onboarding-steps a > span { align-items: center; background: rgba(255,255,255,.12); border-radius: 8px; color: var(--tp-portal-yellow); display: flex; flex: 0 0 34px; font-size: 10px; font-weight: 800; height: 34px; justify-content: center; }
.tp-onboarding-steps strong,
.tp-onboarding-steps small { display: block; }
.tp-onboarding-steps strong { font-size: 12px; }
.tp-onboarding-steps small { color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.55; margin-top: 6px; }
.tp-onboarding-welcome form { display: flex; justify-content: flex-end; }
.tp-dashboard-intro time { color: var(--tp-portal-muted); font-size: 12px; }
.tp-dashboard-intro h1,
.tp-section-intro h1 { font-size: clamp(32px, 4vw, 48px); margin-top: 8px; }
.tp-dashboard-intro > p,
.tp-section-intro > p { color: var(--tp-portal-muted); font-size: 15px; margin-top: 12px; }
.tp-dashboard-feature-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .8fr); margin-top: 34px; }
.tp-portal-card { background: var(--tp-portal-card); border: 1px solid var(--tp-portal-border); border-radius: 15px; }
.tp-training-summary { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) 180px; padding: 28px; }
.tp-training-summary h2,
.tp-profile-summary h2,
.tp-dashboard-placeholder h2,
.tp-dashboard-support h2,
.tp-module-placeholder h2 { font-size: 20px; }
.tp-progress-label { align-items: center; display: flex; font-size: 11px; justify-content: space-between; margin-top: 27px; }
.tp-progress-label span { color: var(--tp-portal-muted); }
.tp-progress { background: var(--tp-portal-warm); border-radius: 999px; height: 7px; margin-top: 10px; overflow: hidden; }
.tp-progress i { background: var(--tp-portal-gradient); border-radius: inherit; display: block; height: 100%; }
.tp-training-next { border-left: 2px solid var(--tp-portal-purple); margin: 25px 0; padding-left: 15px; }
.tp-training-next span { color: var(--tp-portal-muted); display: block; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tp-training-next strong { display: block; font-size: 13px; margin-top: 7px; }
.tp-training-next p { color: var(--tp-portal-muted); font-size: 11px; margin-top: 4px; }
.tp-training-art { background: var(--tp-portal-warm); border-radius: 13px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 19px; position: relative; }
.tp-training-art::before { background: var(--tp-portal-gradient); border-radius: 8px; content: ""; height: 38px; left: 19px; position: absolute; top: 19px; width: 38px; }
.tp-training-art > span { color: var(--tp-portal-muted); font-size: 10px; position: absolute; right: 19px; top: 25px; }
.tp-training-art strong { border-top: 1px solid var(--tp-portal-border); font-size: 12px; padding-top: 16px; }
.tp-training-art small { color: var(--tp-portal-muted); font-size: 10px; margin-top: 5px; }
.tp-profile-summary { padding: 26px; }
.tp-card-heading { align-items: flex-start; display: flex; justify-content: space-between; }
.tp-card-icon { align-items: center; background: var(--tp-portal-warm); border-radius: 9px; color: var(--tp-portal-purple); display: inline-flex; font-family: Nunito, sans-serif; font-size: 12px; font-weight: 800; height: 39px; justify-content: center; width: 39px; }
.tp-status { align-items: center; display: flex; font-size: 11px; font-weight: 700; gap: 8px; }
.tp-status i { background: #aaa; border-radius: 50%; height: 7px; width: 7px; }
.tp-status i.is-live { background: #2a7758; }
.tp-profile-score { display: block; font-family: Nunito, sans-serif; font-size: 28px; margin-top: 25px; }
.tp-profile-summary > p { color: var(--tp-portal-muted); font-size: 11px; margin-top: 2px; }
.tp-profile-summary ul { list-style: none; margin: 22px 0; padding: 0; }
.tp-profile-summary li { color: var(--tp-portal-muted); font-size: 11px; padding: 5px 0 5px 23px; position: relative; }
.tp-profile-summary li::before { border: 1px solid var(--tp-portal-border); border-radius: 50%; content: ""; height: 13px; left: 0; position: absolute; top: 7px; width: 13px; }
.tp-profile-summary li.is-complete { color: var(--tp-portal-text); }
.tp-profile-summary li.is-complete::before { background: var(--tp-portal-purple); border-color: var(--tp-portal-purple); box-shadow: inset 0 0 0 3px #fff; }
.tp-profile-summary__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; }
.tp-portal-button--outline { background: #fff; border: 1px solid var(--tp-portal-border); color: var(--tp-portal-text) !important; }
.tp-portal-button--outline:hover { border-color: var(--tp-portal-purple); box-shadow: none; }
.tp-portal-link { color: var(--tp-portal-purple) !important; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.tp-dashboard-block { margin-top: 38px; }
.tp-dashboard-heading h2 { font-size: 21px; }
.tp-quick-grid { display: grid; gap: 15px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.tp-quick-grid > a { color: var(--tp-portal-text) !important; display: block; padding: 21px; text-decoration: none !important; transition: border-color 160ms ease, transform 160ms ease; }
.tp-quick-grid > a:hover { border-color: var(--tp-portal-purple); transform: translateY(-2px); }
.tp-quick-grid h3 { font-size: 15px; margin-top: 20px; }
.tp-quick-grid p { color: var(--tp-portal-muted); font-size: 12px; line-height: 1.6; margin-top: 7px; min-height: 38px; }
.tp-quick-grid strong { color: var(--tp-portal-purple); display: block; font-size: 11px; margin-top: 18px; }
.tp-dashboard-lower-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .65fr); margin-top: 38px; }
.tp-dashboard-placeholder,
.tp-dashboard-support { padding: 28px; }
.tp-dashboard-placeholder p,
.tp-dashboard-support p,
.tp-module-placeholder p { color: var(--tp-portal-muted); font-size: 13px; line-height: 1.7; margin: 13px 0 22px; max-width: 660px; }
.tp-dashboard-support { background: var(--tp-portal-warm); }
.tp-dashboard-support .tp-card-icon { background: #fff; margin-bottom: 25px; }

/* Placeholder modules */
.tp-section-intro { max-width: 790px; }
.tp-module-placeholder { align-items: center; display: grid; gap: clamp(35px, 7vw, 100px); grid-template-columns: 170px minmax(0, 1fr); margin-top: 35px; min-height: 390px; padding: clamp(30px, 6vw, 70px); }
.tp-module-placeholder__number { align-items: center; background: var(--tp-portal-warm); border-radius: 50%; color: var(--tp-portal-purple); display: flex; font-family: Nunito, sans-serif; font-size: 48px; font-weight: 800; height: 150px; justify-content: center; width: 150px; }
.tp-module-placeholder__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 20px; }

/* My Profile */
.tp-profile-editor-intro { margin-bottom: 30px; }
.tp-profile-alert { border: 1px solid; border-radius: 12px; font-size: 13px; line-height: 1.55; margin-bottom: 22px; padding: 15px 18px; }
.tp-profile-alert--success { background: #edf8f2; border-color: #b8ddc9; color: #235f45; }
.tp-profile-alert--pending { background: #f6eff8; border-color: #d9badb; color: #683069; }
.tp-profile-alert--warning { background: #fff8e8; border-color: #ead29b; color: #74571d; }
.tp-profile-alert--error { background: #fff2ef; border-color: #efc2b7; color: #8f321d; }
.tp-profile-editor-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 290px; }
.tp-profile-form { display: grid; gap: 20px; }
.tp-profile-form-card { padding: clamp(24px, 4vw, 36px); }
.tp-profile-form-heading { align-items: flex-start; border-bottom: 1px solid var(--tp-portal-border); display: flex; gap: 16px; margin-bottom: 26px; padding-bottom: 22px; }
.tp-profile-form-heading > span { align-items: center; background: var(--tp-portal-warm); border-radius: 50%; color: var(--tp-portal-purple); display: inline-flex; flex: 0 0 38px; font-size: 10px; font-weight: 800; height: 38px; justify-content: center; }
.tp-profile-form-heading h2,
.tp-profile-editor-aside h2,
.tp-profile-not-connected h2 { font-size: 20px; }
.tp-profile-form-heading p { color: var(--tp-portal-muted); font-size: 12px; line-height: 1.55; margin-top: 6px; }
.tp-profile-photo-field { align-items: center; display: flex; gap: 24px; }
.tp-profile-photo-preview { align-items: center; background: linear-gradient(145deg, var(--tp-portal-purple-soft), var(--tp-portal-orange-soft)); border-radius: 18px; display: flex; flex: 0 0 126px; height: 154px; justify-content: center; overflow: hidden; }
.tp-profile-photo-preview img { height: 100%; object-fit: cover; width: 100%; }
.tp-profile-photo-preview span { color: var(--tp-portal-purple); font-family: Nunito, sans-serif; font-size: 34px; font-weight: 800; }
.tp-profile-file { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }
.tp-profile-photo-field p { color: var(--tp-portal-muted); font-size: 11px; margin-top: 10px; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-profile-fields { display: grid; gap: 22px; }
.tp-profile-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; }
.tp-profile-fields label > span { display: block; font-size: 11px; font-weight: 800; margin-bottom: 9px; }
.tp-profile-fields input,
.tp-profile-fields textarea { appearance: none; background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 10px; color: var(--tp-portal-text); font: inherit; font-size: 13px; line-height: 1.6; outline: none; padding: 13px 14px; resize: vertical; transition: border-color 160ms ease, box-shadow 160ms ease; width: 100%; }
.tp-profile-fields input { height: 48px; }
.tp-profile-fields input:focus,
.tp-profile-fields textarea:focus { border-color: var(--tp-portal-purple); box-shadow: 0 0 0 4px rgba(145,10,154,.09); }
.tp-profile-fields small { align-items: flex-start; color: var(--tp-portal-muted); display: flex; font-size: 10px; font-style: normal; justify-content: space-between; line-height: 1.45; margin-top: 7px; }
.tp-profile-fields small em { font-style: normal; padding-right: 15px; }
.tp-profile-fields small b { flex: none; font-weight: 600; }
.tp-profile-actions { align-items: center; background: var(--tp-portal-text); border-radius: 14px; color: #fff; display: flex; gap: 25px; justify-content: space-between; padding: 20px 22px; }
.tp-profile-actions strong,
.tp-profile-actions span { display: block; }
.tp-profile-actions strong { font-family: Nunito, sans-serif; font-size: 14px; }
.tp-profile-actions span { color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.5; margin-top: 4px; }
.tp-profile-editor-aside { position: sticky; top: 102px; }
.admin-bar .tp-profile-editor-aside { top: 134px; }
.tp-profile-editor-aside > section { padding: 26px; }
.tp-profile-editor-aside ol { color: var(--tp-portal-muted); counter-reset: profile-steps; list-style: none; margin: 24px 0; padding: 0; }
.tp-profile-editor-aside li { counter-increment: profile-steps; font-size: 11px; line-height: 1.55; min-height: 34px; padding: 1px 0 15px 39px; position: relative; }
.tp-profile-editor-aside li::before { align-items: center; background: var(--tp-portal-warm); border-radius: 50%; color: var(--tp-portal-purple); content: counter(profile-steps); display: flex; font-size: 9px; font-weight: 800; height: 26px; justify-content: center; left: 0; position: absolute; top: 0; width: 26px; }
.tp-profile-not-connected { align-items: flex-start; display: flex; gap: 22px; margin-top: 30px; padding: 34px; }
.tp-profile-not-connected p { color: var(--tp-portal-muted); font-size: 13px; line-height: 1.7; margin: 10px 0 20px; max-width: 670px; }

/* Training library */
.tp-training-intro { margin-bottom: 30px; }
.tp-training-overview { align-items: center; display: grid; gap: 50px; grid-template-columns: minmax(260px, .65fr) minmax(460px, 1.35fr); margin-bottom: 24px; padding: clamp(25px, 4vw, 38px); }
.tp-training-overview__copy h2 { font-size: 28px; }
.tp-training-overview__copy p { color: var(--tp-portal-muted); font-size: 11px; margin-top: 6px; }
.tp-training-overview__copy .tp-progress { margin-top: 17px; }
.tp-training-overview__stages { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-training-overview__stages span { background: var(--tp-portal-warm); border: 1px solid transparent; border-radius: 11px; color: var(--tp-portal-muted); display: flex; flex-direction: column; font-size: 9px; font-weight: 800; gap: 10px; min-height: 80px; padding: 14px; text-transform: uppercase; }
.tp-training-overview__stages b { color: var(--tp-portal-purple); font-size: 15px; }
.tp-training-overview__stages span.is-complete { background: #edf8f2; border-color: #c6e2d2; color: #235f45; }
.tp-training-overview__stages span.is-complete b { color: #2a7758; }
.tp-training-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: 340px minmax(0, 1fr); }
.tp-training-curriculum { background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 15px; overflow: hidden; position: sticky; top: 102px; }
.admin-bar .tp-training-curriculum { top: 134px; }
.tp-training-curriculum__heading { border-bottom: 1px solid var(--tp-portal-border); padding: 25px; }
.tp-training-curriculum__heading h2 { font-size: 20px; }
.tp-training-module { border-bottom: 1px solid var(--tp-portal-border); }
.tp-training-module:last-child { border-bottom: 0; }
.tp-training-module > summary { align-items: center; cursor: pointer; display: grid; gap: 12px; grid-template-columns: 36px minmax(0, 1fr) 12px; list-style: none; padding: 18px 20px; }
.tp-training-module > summary::-webkit-details-marker { display: none; }
.tp-training-module > summary > span { align-items: center; background: var(--tp-portal-warm); border-radius: 8px; color: var(--tp-portal-purple); display: flex; font-size: 10px; font-weight: 800; height: 36px; justify-content: center; }
.tp-training-module > summary strong,
.tp-training-module > summary small { display: block; }
.tp-training-module > summary strong { font-family: Nunito, sans-serif; font-size: 12px; }
.tp-training-module > summary small { color: var(--tp-portal-muted); font-size: 9px; margin-top: 4px; }
.tp-training-module > summary i { border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; height: 7px; transform: rotate(45deg); transition: transform 160ms ease; width: 7px; }
.tp-training-module[open] > summary i { transform: rotate(225deg); }
.tp-training-module__lessons { background: #faf8f5; border-top: 1px solid var(--tp-portal-border); padding: 8px; }
.tp-training-module__lessons > p { color: var(--tp-portal-muted); font-size: 10px; padding: 10px 12px; }
.tp-training-module__lessons a { align-items: center; border: 1px solid transparent; border-radius: 9px; color: var(--tp-portal-muted) !important; display: grid; gap: 11px; grid-template-columns: 29px minmax(0, 1fr); margin: 3px 0; padding: 10px; text-decoration: none !important; }
.tp-training-module__lessons a:hover { background: #fff; color: var(--tp-portal-text) !important; }
.tp-training-module__lessons a.is-current { background: #fff; border-color: var(--tp-portal-border); color: var(--tp-portal-text) !important; }
.tp-training-module__lessons a > span { align-items: center; background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 50%; display: flex; font-size: 8px; height: 29px; justify-content: center; width: 29px; }
.tp-training-module__lessons a.is-complete > span { background: #2a7758; border-color: #2a7758; color: #fff; }
.tp-training-module__lessons a strong,
.tp-training-module__lessons a small { display: block; }
.tp-training-module__lessons a strong { font-size: 10px; line-height: 1.35; }
.tp-training-module__lessons a small { color: var(--tp-portal-muted); font-size: 8px; margin-top: 4px; }
.tp-training-lesson { overflow: hidden; }
.tp-training-lesson__header { align-items: flex-start; border-bottom: 1px solid var(--tp-portal-border); display: flex; gap: 25px; justify-content: space-between; padding: clamp(26px, 4vw, 42px); }
.tp-training-lesson__header h2 { font-size: clamp(27px, 3vw, 38px); }
.tp-training-lesson__header p { color: var(--tp-portal-muted); font-size: 13px; line-height: 1.7; margin-top: 13px; max-width: 720px; }
.tp-training-complete-badge { background: #edf8f2; border: 1px solid #c6e2d2; border-radius: 999px; color: #235f45; flex: none; font-size: 9px; font-weight: 800; padding: 8px 11px; text-transform: uppercase; }
.tp-training-video { aspect-ratio: 16 / 9; background: var(--tp-portal-text); overflow: hidden; position: relative; }
.tp-training-video iframe,
.tp-training-video video { border: 0; height: 100%; inset: 0; position: absolute; width: 100%; }
.tp-training-video > .tp-portal-button { left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); }
.tp-training-video > .tp-portal-button:hover { transform: translate(-50%, calc(-50% - 1px)); }
.tp-training-lesson__body { color: var(--tp-portal-muted); font-size: 14px; line-height: 1.8; max-width: 850px; padding: clamp(28px, 5vw, 52px); }
.tp-training-lesson__body h2,
.tp-training-lesson__body h3 { color: var(--tp-portal-text); margin: 1.5em 0 .5em; }
.tp-training-lesson__body h2 { font-size: 25px; }
.tp-training-lesson__body h3 { font-size: 19px; }
.tp-training-lesson__body p { margin: 0 0 1.25em; }
.tp-training-lesson__body ul,
.tp-training-lesson__body ol { padding-left: 1.4em; }
.tp-training-resources { background: #faf8f5; border-top: 1px solid var(--tp-portal-border); padding: clamp(26px, 4vw, 38px); }
.tp-training-resources h3 { font-size: 19px; }
.tp-training-resources > div { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.tp-training-resources a { align-items: center; background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 10px; color: var(--tp-portal-text) !important; display: flex; gap: 12px; min-height: 52px; padding: 10px 13px; text-decoration: none !important; }
.tp-training-resources a:hover { border-color: var(--tp-portal-purple); }
.tp-training-resources a span { align-items: center; background: var(--tp-portal-warm); border-radius: 7px; color: var(--tp-portal-purple); display: flex; flex: 0 0 31px; height: 31px; justify-content: center; }
.tp-training-resources a strong { font-size: 10px; }
.tp-training-lesson__footer { align-items: center; border-top: 1px solid var(--tp-portal-border); display: flex; gap: 25px; justify-content: space-between; padding: 24px clamp(26px, 4vw, 42px); }
.tp-training-lesson__footer strong,
.tp-training-lesson__footer span { display: block; }
.tp-training-lesson__footer strong { font-family: Nunito, sans-serif; font-size: 13px; }
.tp-training-lesson__footer span { color: var(--tp-portal-muted); font-size: 10px; margin-top: 4px; }
.tp-training-empty { align-items: center; display: grid; gap: clamp(30px, 6vw, 80px); grid-template-columns: 150px minmax(0, 1fr); min-height: 330px; padding: clamp(30px, 6vw, 60px); }
.tp-training-empty h2 { font-size: 25px; }
.tp-training-empty p { color: var(--tp-portal-muted); font-size: 13px; line-height: 1.7; margin: 13px 0 22px; max-width: 650px; }

/* Materials library */
.tp-materials-intro { margin-bottom: 26px; }
.tp-materials-stats { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
.tp-materials-stats > div { background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 14px; padding: 18px 20px; }
.tp-materials-stats strong,
.tp-materials-stats span { display: block; }
.tp-materials-stats strong { font-family: Nunito, sans-serif; font-size: 25px; }
.tp-materials-stats span { color: var(--tp-portal-muted); font-size: 10px; margin-top: 2px; }
.tp-material-featured { align-items: stretch; background: var(--tp-portal-text); border-radius: 18px; color: #fff; display: grid; gap: 0; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); margin-bottom: 34px; min-height: 320px; overflow: hidden; }
.tp-material-featured__visual { align-items: center; background: linear-gradient(145deg, var(--tp-portal-purple-soft), var(--tp-portal-orange-soft)); display: flex; justify-content: center; min-height: 320px; overflow: hidden; position: relative; }
.tp-material-featured__visual::after,
.tp-material-card__visual::after { background: linear-gradient(180deg, transparent 45%, rgba(28,24,32,.42)); content: ""; inset: 0; position: absolute; }
.tp-material-featured__visual.has-image,
.tp-material-card__visual.has-image { background-position: center; background-size: cover; }
.tp-material-featured__visual > span { color: var(--tp-portal-purple); font-family: Nunito, sans-serif; font-size: 72px; font-weight: 800; position: relative; z-index: 1; }
.tp-material-featured__visual.has-image > span,
.tp-material-card__visual.has-image > span { opacity: 0; }
.tp-material-featured__visual > small { bottom: 18px; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .14em; position: absolute; right: 18px; text-transform: uppercase; z-index: 2; }
.tp-material-featured__copy { align-self: center; padding: clamp(32px, 5vw, 62px); }
.tp-material-featured__copy .tp-portal-eyebrow { color: var(--tp-portal-yellow); }
.tp-material-featured__copy .tp-material-type-label { color: var(--tp-portal-yellow); }
.tp-material-featured__copy h2 { color: #fff; font-size: clamp(28px, 4vw, 43px); margin-top: 10px; }
.tp-material-featured__copy > p { color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 640px; }
.tp-material-featured__copy .tp-material-meta { color: rgba(255,255,255,.52); margin: 18px 0 24px; }
.tp-material-type-label { color: var(--tp-portal-purple); display: block; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.tp-material-meta { align-items: center; color: var(--tp-portal-muted); display: flex; flex-wrap: wrap; font-size: 9px; gap: 7px 15px; }
.tp-material-meta span + span::before { content: "·"; margin-right: 15px; }
.tp-materials-library { margin-top: 8px; }
.tp-materials-library__header { align-items: end; display: flex; gap: 30px; justify-content: space-between; }
.tp-materials-library__header h2 { font-size: 28px; }
.tp-materials-library__header > p { color: var(--tp-portal-muted); font-size: 11px; }
.tp-material-controls { align-items: center; background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 15px; display: flex; gap: 18px; justify-content: space-between; margin-top: 20px; padding: 12px; }
.tp-material-search { align-items: center; background: #faf8f5; border: 1px solid transparent; border-radius: 10px; display: flex; flex: 1 1 290px; gap: 9px; max-width: 410px; min-height: 44px; padding: 0 13px; }
.tp-material-search:focus-within { border-color: var(--tp-portal-purple); box-shadow: 0 0 0 3px rgba(145,10,154,.08); }
.tp-material-search svg { fill: none; flex: 0 0 18px; height: 18px; stroke: var(--tp-portal-muted); stroke-linecap: round; stroke-width: 1.8; width: 18px; }
.tp-material-search input { background: transparent; border: 0; color: var(--tp-portal-text); font: inherit; font-size: 12px; outline: 0; width: 100%; }
.tp-material-filters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tp-material-filters button { background: transparent; border: 1px solid transparent; border-radius: 999px; color: var(--tp-portal-muted); cursor: pointer; font: inherit; font-size: 10px; font-weight: 700; min-height: 38px; padding: 0 13px; }
.tp-material-filters button:hover { background: #faf8f5; color: var(--tp-portal-text); }
.tp-material-filters button.is-active { background: var(--tp-portal-warm); border-color: #dfd0c3; color: var(--tp-portal-purple); }
.tp-material-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.tp-material-card { background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 15px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; transition: border-color 160ms ease, transform 160ms ease; }
.tp-material-card:hover { border-color: rgba(145,10,154,.58); transform: translateY(-2px); }
.tp-material-card[hidden] { display: none; }
.tp-material-card__visual { align-items: center; background: linear-gradient(145deg, var(--tp-portal-purple-soft), var(--tp-portal-orange-soft)); display: flex; height: 170px; justify-content: center; overflow: hidden; position: relative; }
.tp-material-card__visual > span { color: var(--tp-portal-purple); font-family: Nunito, sans-serif; font-size: 48px; font-weight: 800; position: relative; z-index: 1; }
.tp-material-card__visual > small { bottom: 13px; color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .14em; position: absolute; right: 13px; text-transform: uppercase; z-index: 2; }
.tp-material-card__visual > b { background: #fff; border-radius: 999px; color: var(--tp-portal-purple); font-size: 8px; left: 12px; letter-spacing: .08em; padding: 6px 9px; position: absolute; text-transform: uppercase; top: 12px; z-index: 2; }
.tp-material-card__body { flex: 1; padding: 21px; }
.tp-material-card__body h3 { font-size: 18px; margin-top: 8px; }
.tp-material-card__body > p { color: var(--tp-portal-muted); display: -webkit-box; font-size: 11px; line-height: 1.65; margin-top: 11px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tp-material-card__body .tp-material-meta { margin-top: 18px; }
.tp-material-card footer { align-items: center; border-top: 1px solid var(--tp-portal-border); display: flex; gap: 15px; justify-content: space-between; min-height: 54px; padding: 12px 20px; }
.tp-material-card footer > span,
.tp-material-card footer > em { color: var(--tp-portal-muted); font-size: 8px; font-style: normal; }
.tp-material-card footer > a { color: var(--tp-portal-purple) !important; font-size: 10px; font-weight: 800; text-decoration: none !important; }
.tp-material-card footer > a b { color: var(--tp-portal-orange); margin-left: 4px; }
.tp-material-empty { align-items: center; background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 15px; display: flex; flex-direction: column; margin-top: 20px; min-height: 300px; padding: 50px 24px; text-align: center; }
.tp-material-empty[hidden] { display: none; }
.tp-material-empty > span { align-items: center; background: var(--tp-portal-warm); border-radius: 50%; color: var(--tp-portal-purple); display: flex; font-family: Nunito, sans-serif; font-size: 26px; font-weight: 800; height: 70px; justify-content: center; width: 70px; }
.tp-material-empty h3 { font-size: 22px; margin-top: 20px; }
.tp-material-empty p { color: var(--tp-portal-muted); font-size: 12px; margin: 8px 0 20px; }

/* Marketing Center shares the library system with a more visual brand-asset treatment. */
.tp-marketing-center .tp-material-featured { background: linear-gradient(135deg, #1c1820 0%, #65006c 100%); }
.tp-marketing-center .tp-material-featured__visual,
.tp-marketing-center .tp-material-card__visual { background: linear-gradient(145deg, var(--tp-portal-yellow-soft) 0%, var(--tp-portal-orange-soft) 100%); }
.tp-marketing-center .tp-material-controls { align-items: stretch; flex-direction: column; }
.tp-marketing-center .tp-material-search { flex-basis: auto; max-width: none; width: 100%; }
.tp-marketing-center .tp-material-filters { justify-content: flex-start; }

/* Support Center */
.tp-support-intro { max-width: 850px; }
.tp-support-intro h1 { max-width: 760px; }
.tp-support-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); margin-top: 32px; }
.tp-support-primary { display: grid; gap: 22px; min-width: 0; }
.tp-support-next { background: linear-gradient(135deg, #1c1820 0%, #65006c 100%); border-radius: 18px; color: #fff; display: grid; gap: clamp(24px, 4vw, 46px); grid-template-columns: 92px minmax(0, 1fr); min-height: 330px; overflow: hidden; padding: clamp(30px, 5vw, 56px); position: relative; }
.tp-support-next::after { background: radial-gradient(circle, rgba(255,110,19,.26), transparent 68%); content: ""; height: 430px; position: absolute; right: -210px; top: -220px; width: 430px; }
.tp-support-next__date { align-items: center; align-self: start; background: #fff; border-radius: 15px; color: var(--tp-portal-text); display: flex; flex-direction: column; height: 105px; justify-content: center; position: relative; width: 92px; z-index: 1; }
.tp-support-next__date span { color: var(--tp-portal-purple); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tp-support-next__date strong { font-family: Nunito, sans-serif; font-size: 39px; line-height: 1; margin-top: 5px; }
.tp-support-next__copy { align-self: center; position: relative; z-index: 1; }
.tp-support-next__copy .tp-portal-eyebrow { color: var(--tp-portal-yellow); }
.tp-support-type { color: var(--tp-portal-yellow); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.tp-support-next h2 { color: #fff; font-size: clamp(28px, 4vw, 43px); margin-top: 10px; }
.tp-support-next__copy > p { color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.7; margin-top: 13px; max-width: 680px; }
.tp-support-session-meta { color: rgba(255,255,255,.58); display: flex; flex-wrap: wrap; font-size: 10px; gap: 8px 19px; margin: 19px 0 24px; }
.tp-support-session-meta span + span::before { content: "•"; margin-right: 19px; }
.tp-support-next--empty { grid-template-columns: 110px minmax(0, 1fr); }
.tp-support-empty-mark { align-items: center; align-self: center; background: var(--tp-portal-gradient); border-radius: 50%; display: flex; font-family: Nunito, sans-serif; font-size: 16px; font-weight: 800; height: 100px; justify-content: center; position: relative; width: 100px; z-index: 1; }
.tp-support-upcoming { background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 16px; padding: 25px; }
.tp-support-upcoming > header,
.tp-support-updates > header { align-items: end; display: flex; gap: 24px; justify-content: space-between; }
.tp-support-upcoming > header h2,
.tp-support-updates > header h2 { font-size: 25px; }
.tp-support-upcoming > header > span { color: var(--tp-portal-muted); font-size: 10px; }
.tp-support-event-list { margin-top: 18px; }
.tp-support-event-list article { align-items: center; border-top: 1px solid var(--tp-portal-border); display: grid; gap: 17px; grid-template-columns: 54px minmax(0, 1fr) auto; padding: 16px 0; }
.tp-support-event-date { align-items: center; background: var(--tp-portal-warm); border-radius: 10px; display: flex; flex-direction: column; height: 55px; justify-content: center; }
.tp-support-event-date span { color: var(--tp-portal-purple); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.tp-support-event-date strong { font-family: Nunito, sans-serif; font-size: 19px; line-height: 1; margin-top: 2px; }
.tp-support-event-list h3 { font-size: 15px; margin-top: 3px; }
.tp-support-event-list p { color: var(--tp-portal-muted); font-size: 9px; margin-top: 4px; }
.tp-support-event-list article > a,
.tp-support-update-grid article > a { color: var(--tp-portal-purple) !important; font-size: 10px; font-weight: 800; text-decoration: none !important; }
.tp-support-inline-empty { border-top: 1px solid var(--tp-portal-border); color: var(--tp-portal-muted); font-size: 12px; margin-top: 17px !important; padding: 23px 0 4px; }
.tp-support-contact { background: var(--tp-portal-warm); border-radius: 17px; padding: 30px; position: sticky; top: 104px; }
.admin-bar .tp-support-contact { top: 136px; }
.tp-support-contact__mark { align-items: center; background: #fff; border-radius: 12px; color: var(--tp-portal-purple); display: flex; font-family: Nunito, sans-serif; font-size: 22px; font-weight: 800; height: 50px; justify-content: center; margin-bottom: 28px; width: 50px; }
.tp-support-contact h2 { font-size: 25px; }
.tp-support-contact > p { color: var(--tp-portal-muted); font-size: 12px; line-height: 1.7; margin: 13px 0 22px; }
.tp-support-contact .tp-portal-button { width: 100%; }
.tp-support-email { color: var(--tp-portal-purple) !important; display: block; font-size: 10px; font-weight: 700; margin-top: 16px; text-align: center; text-decoration: none !important; }
.tp-support-updates { margin-top: 42px; }
.tp-support-update-grid { display: grid; gap: 17px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.tp-support-update-grid article { padding: 23px; }
.tp-support-update-grid article > div { align-items: center; display: flex; justify-content: space-between; }
.tp-support-update-grid time { color: var(--tp-portal-muted); font-size: 9px; }
.tp-support-update-grid h3 { font-size: 18px; margin-top: 17px; }
.tp-support-update-grid p { color: var(--tp-portal-muted); font-size: 11px; line-height: 1.65; margin: 10px 0 19px; }

/* Clients roadmap */
.tp-clients-intro { max-width: 880px; }
.tp-clients-intro h1 { max-width: 760px; }
.tp-clients-hero { align-items: center; background: linear-gradient(135deg, #1c1820 0%, #65006c 100%); border-radius: 20px; color: #fff; display: grid; gap: clamp(25px, 4vw, 46px); grid-template-columns: 105px minmax(0, 1fr) 150px; margin-top: 32px; min-height: 330px; overflow: hidden; padding: clamp(32px, 5vw, 58px); position: relative; }
.tp-clients-hero::after { background: radial-gradient(circle, rgba(255,110,19,.32), transparent 67%); content: ""; height: 470px; position: absolute; right: -225px; top: -230px; width: 470px; }
.tp-clients-hero > * { position: relative; z-index: 1; }
.tp-clients-hero__mark { align-items: center; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 50%; display: flex; flex-direction: column; height: 105px; justify-content: center; width: 105px; }
.tp-clients-hero__mark span { font-family: Nunito, sans-serif; font-size: 34px; font-weight: 800; }
.tp-clients-hero__mark small { color: rgba(255,255,255,.52); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.tp-clients-hero__copy .tp-portal-eyebrow { color: var(--tp-portal-yellow); }
.tp-clients-hero__copy h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); max-width: 700px; }
.tp-clients-hero__copy > p { color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.75; margin: 16px 0 24px; max-width: 680px; }
.tp-portal-button--light { background: #fff; color: var(--tp-portal-text) !important; }
.tp-clients-hero__status { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; display: flex; flex-direction: column; min-height: 126px; padding: 24px 15px; text-align: center; }
.tp-clients-hero__status > span { background: var(--tp-portal-yellow); border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,198,0,.12); height: 8px; margin-bottom: 16px; width: 8px; }
.tp-clients-hero__status strong { font-family: Nunito, sans-serif; font-size: 15px; }
.tp-clients-hero__status small { color: rgba(255,255,255,.5); font-size: 8px; line-height: 1.45; margin-top: 5px; }
.tp-clients-assurance { background: #fff; border: 1px solid var(--tp-portal-border); border-radius: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.tp-clients-assurance > div { align-items: center; border-right: 1px solid var(--tp-portal-border); display: flex; gap: 13px; min-height: 92px; padding: 20px; }
.tp-clients-assurance > div:last-child { border-right: 0; }
.tp-clients-assurance > div > span { align-items: center; background: var(--tp-portal-warm); border-radius: 50%; color: var(--tp-portal-purple); display: flex; flex: 0 0 35px; font-size: 11px; font-weight: 800; height: 35px; justify-content: center; }
.tp-clients-assurance strong,
.tp-clients-assurance small { display: block; }
.tp-clients-assurance strong { font-size: 11px; }
.tp-clients-assurance small { color: var(--tp-portal-muted); font-size: 9px; line-height: 1.45; margin-top: 4px; }
.tp-clients-roadmap { margin-top: 44px; }
.tp-clients-roadmap > header { align-items: end; display: flex; gap: 35px; justify-content: space-between; }
.tp-clients-roadmap > header h2 { font-size: 29px; }
.tp-clients-roadmap > header > p { color: var(--tp-portal-muted); font-size: 11px; line-height: 1.6; max-width: 370px; }
.tp-clients-capabilities { display: grid; gap: 15px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.tp-clients-capabilities article { min-height: 225px; padding: 23px; }
.tp-clients-capabilities article > span { align-items: center; background: var(--tp-portal-warm); border-radius: 9px; color: var(--tp-portal-purple); display: flex; font-size: 9px; font-weight: 800; height: 37px; justify-content: center; width: 37px; }
.tp-clients-capabilities h3 { font-size: 17px; margin-top: 40px; }
.tp-clients-capabilities p { color: var(--tp-portal-muted); font-size: 11px; line-height: 1.65; margin-top: 10px; }
.tp-clients-framework { align-items: center; display: grid; gap: clamp(35px, 6vw, 80px); grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); margin-top: 20px; overflow: hidden; padding: clamp(30px, 5vw, 54px); }
.tp-clients-framework h2 { font-size: clamp(26px, 3vw, 37px); max-width: 650px; }
.tp-clients-framework > div > p { color: var(--tp-portal-muted); font-size: 12px; line-height: 1.7; margin: 14px 0 20px; max-width: 620px; }
.tp-clients-framework ol { counter-reset: none; list-style: none; margin: 0; padding: 0; }
.tp-clients-framework li { align-items: center; border-bottom: 1px solid var(--tp-portal-border); display: grid; gap: 14px; grid-template-columns: 35px minmax(0, 1fr); min-height: 57px; }
.tp-clients-framework li:last-child { border-bottom: 0; }
.tp-clients-framework li span { color: var(--tp-portal-purple); font-size: 9px; font-weight: 800; }
.tp-clients-framework li strong { font-family: Nunito, sans-serif; font-size: 12px; }
.tp-clients-privacy { align-items: flex-start; background: var(--tp-portal-warm); border-radius: 16px; display: flex; gap: 22px; margin-top: 20px; padding: clamp(25px, 4vw, 38px); }
.tp-clients-privacy__icon { align-items: center; background: #fff; border-radius: 12px; color: var(--tp-portal-purple); display: flex; flex: 0 0 50px; font-size: 24px; height: 50px; justify-content: center; }
.tp-clients-privacy h2 { font-size: 23px; }
.tp-clients-privacy p { color: var(--tp-portal-muted); font-size: 12px; line-height: 1.7; margin-top: 10px; max-width: 850px; }

.tp-portal-overlay { display: none; }

@media (max-width: 1100px) {
  .tp-dashboard-feature-grid { grid-template-columns: 1fr; }
  .tp-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-profile-editor-layout { grid-template-columns: 1fr; }
  .tp-profile-editor-aside { position: static; }
  .tp-training-overview { grid-template-columns: 1fr; }
  .tp-training-layout { grid-template-columns: 1fr; }
  .tp-training-curriculum { position: static; }
  .tp-material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-material-controls { align-items: stretch; flex-direction: column; }
  .tp-material-search { flex-basis: auto; max-width: none; width: 100%; }
  .tp-material-filters { justify-content: flex-start; }
  .tp-support-layout { grid-template-columns: 1fr; }
  .tp-support-contact { position: static; }
  .tp-support-update-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-onboarding-steps { grid-template-columns: 1fr; }
  .tp-onboarding-steps a { min-height: 0; }
	.tp-clients-hero { grid-template-columns: 90px minmax(0, 1fr); }
	.tp-clients-hero__mark { height: 90px; width: 90px; }
	.tp-clients-hero__status { align-items: center; flex-direction: row; gap: 12px; grid-column: 2; min-height: 0; padding: 13px 16px; text-align: left; }
	.tp-clients-hero__status > span { margin: 0; }
	.tp-clients-hero__status small { margin: 0 0 0 auto; }
	.tp-clients-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tp-clients-framework { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .admin-bar .tp-portal-login,
  .admin-bar .tp-portal-app { min-height: calc(100vh - 46px); }
  .admin-bar .tp-portal-topbar { top: 46px; }
  .tp-portal-login { grid-template-columns: 1fr; }
  .tp-login-brand-panel { display: none; }
  .tp-login-form-panel { min-height: inherit; padding: 38px 24px; }
  .tp-portal-brand--mobile { display: inline-flex; }
  .tp-portal-sidebar { bottom: 0; box-shadow: 18px 0 45px rgba(28,24,32,.14); left: 0; position: fixed; top: 0; transform: translateX(-105%); transition: transform 210ms ease; width: min(320px, 88vw); z-index: 100; }
  .admin-bar .tp-portal-sidebar { top: 46px; }
  .tp-portal-app.is-menu-open .tp-portal-sidebar { transform: translateX(0); }
  .tp-portal-sidebar__brand > button { display: block; }
  .tp-portal-overlay { background: rgba(28,24,32,.36); border: 0; bottom: 0; display: block; left: 0; opacity: 0; pointer-events: none; position: fixed; right: 0; top: 0; transition: opacity 210ms ease; z-index: 90; }
  .tp-portal-app.is-menu-open .tp-portal-overlay { opacity: 1; pointer-events: auto; }
  .tp-portal-main { width: 100%; }
  .tp-portal-menu { display: block; }
}

@media (max-width: 680px) {
  .tp-portal-content { padding: 30px 18px 52px; }
  .tp-portal-topbar { height: 72px; padding: 0 18px; }
  .tp-training-summary { grid-template-columns: 1fr; }
  .tp-training-art { min-height: 190px; }
  .tp-quick-grid,
  .tp-dashboard-lower-grid { grid-template-columns: 1fr; }
  .tp-module-placeholder { grid-template-columns: 1fr; }
  .tp-module-placeholder__number { height: 110px; width: 110px; }
  .tp-profile-fields--two { grid-template-columns: 1fr; }
  .tp-profile-actions { align-items: flex-start; flex-direction: column; }
  .tp-training-overview__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-training-resources > div { grid-template-columns: 1fr; }
  .tp-training-lesson__header,
  .tp-training-lesson__footer { align-items: flex-start; flex-direction: column; }
  .tp-training-empty { grid-template-columns: 1fr; }
  .tp-materials-stats { grid-template-columns: 1fr; }
  .tp-material-featured { grid-template-columns: 1fr; }
  .tp-material-featured__visual { min-height: 230px; }
  .tp-material-grid { grid-template-columns: 1fr; }
  .tp-materials-library__header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .tp-material-filters { flex-wrap: nowrap; justify-content: flex-start; margin-inline: -12px; overflow-x: auto; padding-inline: 12px; }
  .tp-material-filters button { flex: 0 0 auto; }
  .tp-support-next,
  .tp-support-next--empty { grid-template-columns: 1fr; padding: 28px 23px; }
  .tp-support-next__date { height: 82px; width: 74px; }
  .tp-support-next__date strong { font-size: 31px; }
  .tp-support-empty-mark { height: 82px; width: 82px; }
  .tp-support-event-list article { align-items: start; grid-template-columns: 54px minmax(0, 1fr); }
  .tp-support-event-list article > a { grid-column: 2; }
  .tp-support-update-grid { grid-template-columns: 1fr; }
  .tp-onboarding-welcome { border-radius: 16px; margin-inline: -2px; padding: 28px 22px; }
  .tp-onboarding-welcome form { justify-content: stretch; }
  .tp-onboarding-welcome form .tp-portal-button { width: 100%; }
	.tp-clients-hero { grid-template-columns: 1fr; padding: 28px 23px; }
	.tp-clients-hero__mark { height: 78px; width: 78px; }
	.tp-clients-hero__mark span { font-size: 27px; }
	.tp-clients-hero__status { grid-column: 1; }
	.tp-clients-assurance { grid-template-columns: 1fr; }
	.tp-clients-assurance > div { border-bottom: 1px solid var(--tp-portal-border); border-right: 0; }
	.tp-clients-assurance > div:last-child { border-bottom: 0; }
	.tp-clients-roadmap > header { align-items: flex-start; flex-direction: column; gap: 8px; }
	.tp-clients-capabilities { grid-template-columns: 1fr; }
	.tp-clients-capabilities article { min-height: 190px; }
	.tp-clients-privacy { flex-direction: column; }
}

@media (max-width: 460px) {
  .tp-login-form-panel { padding-inline: 19px; }
  .tp-dashboard-intro h1,
  .tp-section-intro h1 { font-size: 34px; }
  .tp-training-summary,
  .tp-profile-summary,
  .tp-dashboard-placeholder,
  .tp-dashboard-support { padding: 22px; }
  .tp-profile-summary__actions { align-items: flex-start; flex-direction: column; }
  .tp-profile-photo-field { align-items: flex-start; flex-direction: column; }
  .tp-profile-not-connected { flex-direction: column; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-portal-sidebar,
  .tp-portal-overlay,
  .tp-portal-button,
  .tp-quick-grid > a,
  .tp-material-card { transition: none; }
}
