/* TypePocket v0.1 — Pocket Stickers */
.tp-body { background: #F7F5FF; }
.tp-body .site, .tp-body .content-bg, .tp-body .site-main, .tp-body .entry-content-wrap, .tp-body article.entry { background: transparent !important; box-shadow: none !important; }
.tp-body .entry-content { font-family: Inter, -apple-system, sans-serif; color: #17142B; font-size: 17px; line-height: 1.65; }
.tp-body .entry-content h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: #17142B; margin: 40px 0 12px; }
.tp-body .entry-content p { color: #3A3652; }
.tp-body .entry-content ul.wp-block-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.tp-body .entry-content ul.wp-block-list li { position: relative; background: #FFFFFF; border: 1px solid #E4E0F5; border-radius: 16px; padding: 14px 16px 14px 40px; color: #17142B; }
.tp-body .entry-content ul.wp-block-list li::before { content: ""; position: absolute; left: 16px; top: 22px; width: 10px; height: 10px; border-radius: 3px; background: #5B3DF5; }
.tp-body .entry-content ul.wp-block-list li:nth-child(2)::before { background: #FF6A4D; }
.tp-body .entry-content ul.wp-block-list li:nth-child(3)::before { background: #17142B; }

.tp-wrap { font-family: Inter, -apple-system, sans-serif; color: #17142B; }
.tp-wrap *, .tp-wrap *::before, .tp-wrap *::after { box-sizing: border-box; }

/* tiles */
.tp-tiles { display: flex; gap: 8px; margin: 0 0 18px; }
.tp-tile { display: flex; align-items: center; justify-content: center; width: 52px; height: 60px; border-radius: 14px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 30px; line-height: 1; }
.tp-tiles-lg .tp-tile { width: 68px; height: 80px; border-radius: 18px; font-size: 42px; }
.tp-tile-1 { background: #5B3DF5; color: #FFFFFF; transform: rotate(-5deg); }
.tp-tile-2 { background: #FF6A4D; color: #17142B; transform: rotate(3deg); }
.tp-tile-3 { background: #17142B; color: #FFFFFF; transform: rotate(-2deg); }
.tp-tile-4 { background: #FFFFFF; color: #17142B; border: 2px solid #17142B; transform: rotate(6deg); }

/* type headings */
.tp-eyebrow { margin: 0 0 8px !important; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: #5B3DF5 !important; }
.tp-h1 { margin: 0 0 12px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(36px, 7vw, 52px); line-height: 1.03; letter-spacing: -0.03em; color: #17142B; }
.tp-h1-code { display: block; margin-bottom: 8px; font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #5B3DF5; }
.tp-lead { margin: 0 0 16px !important; font-size: 18px; line-height: 1.5; color: #5A5670 !important; }
.tp-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tp-pill { padding: 6px 12px; border-radius: 99px; background: #FFFFFF; border: 1px solid #E4E0F5; font-size: 13px; }
.tp-head { padding: 8px 0 12px; }

/* buttons */
.tp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 16px; border: 0; font-family: Inter, sans-serif; font-weight: 600; font-size: 16px; text-decoration: none !important; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.tp-btn:active { transform: scale(0.98); }
.tp-btn-primary { background: #5B3DF5; color: #FFFFFF !important; }
.tp-btn-primary:hover { background: #4A2EE0; }
.tp-btn-primary:disabled { background: #C9C2EA; cursor: not-allowed; }
.tp-btn-ghost { background: #FFFFFF; color: #17142B !important; border: 1px solid #E4E0F5; }
.tp-btn-light { background: #FFFFFF; color: #17142B !important; }
.tp-btn-block { width: 100%; min-height: 56px; font-size: 17px; }

/* quiz */
.tp-quiz { max-width: 560px; margin: 0 auto; padding: 8px 0 24px; }
.tp-start { display: flex; flex-direction: column; }
.tp-skip { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: #5B3DF5 !important; }
.tp-q { display: flex; flex-direction: column; gap: 18px; }
.tp-q-top { display: flex; align-items: center; gap: 12px; }
.tp-icon-btn { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; border: 1px solid #E4E0F5; background: #FFFFFF; color: #17142B; cursor: pointer; padding: 0; }
.tp-progress-wrap { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.tp-progress-label { font-size: 13px; font-weight: 600; color: #5A5670; }
.tp-progress { height: 8px; border-radius: 99px; background: #E4E0F5; overflow: hidden; }
.tp-progress-bar { height: 8px; border-radius: 99px; background: #5B3DF5; transition: width .3s ease; }
.tp-chip { align-self: flex-start; margin-top: 12px; padding: 6px 12px; border-radius: 99px; background: #FFE3DC; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.tp-q-title { margin: 0 !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 800 !important; font-size: clamp(28px, 6vw, 36px) !important; line-height: 1.1 !important; letter-spacing: -0.02em; color: #17142B; }
.tp-opts { display: flex; flex-direction: column; gap: 12px; margin: 8px 0; }
.tp-opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 16px; border-radius: 20px; border: 2px solid #E4E0F5; background: #FFFFFF; color: #17142B; font-family: Inter, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.35; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.tp-opt:hover { border-color: #C9C2EA; }
.tp-opt.is-on { border-color: #5B3DF5; background: #EEE9FF; }
.tp-opt-dot { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #F7F5FF; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 17px; }
.tp-opt.is-on .tp-opt-dot { background: #5B3DF5; color: #FFFFFF; }

/* star cta */
.tp-star { margin: 40px 0 8px; padding: 26px; border-radius: 24px; background: #17142B; color: #FFFFFF; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tp-badge { padding: 5px 10px; border-radius: 99px; background: #FF6A4D; color: #17142B; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.tp-star-title { margin: 0 !important; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; line-height: 1.12; color: #FFFFFF !important; }
.tp-star-text { margin: 0 !important; font-size: 15px; line-height: 1.5; color: #D9D5EE !important; }

/* type grid */
.tp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 24px; }
@media (min-width: 720px) { .tp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tp-card { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; background: #FFFFFF; border: 1px solid #E4E0F5; text-decoration: none !important; color: #17142B !important; transition: border-color .15s ease; }
.tp-card:hover { border-color: #5B3DF5; }
.tp-card-code { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; }
.tp-card-name { font-size: 13px; color: #5A5670; }

.tp-note { margin: 32px 0 0 !important; padding-top: 16px; border-top: 1px solid #E4E0F5; font-size: 12px !important; line-height: 1.5; color: #5A5670 !important; }

/* v0.1.2: Kadence content headings add their own top margin — reset inside TypePocket blocks */
.tp-wrap h1.tp-h1, .entry-content .tp-wrap h1.tp-h1 { margin: 0 0 14px !important; padding: 0 !important; }
.tp-wrap .tp-eyebrow { margin: 0 0 10px !important; }
.tp-wrap .tp-tiles { margin: 0 0 18px !important; }
.tp-wrap .tp-lead { margin: 0 0 20px !important; }
.tp-wrap p:empty { display: none; }

/* ============ v0.2.0 ============ */

/* Header (site-wide): dark bar, logo mark, bold menu, CTA button */
#masthead { background: #17142B !important; }
#masthead .site-header-row-container-inner, #masthead .site-header-wrap, #masthead .site-main-header-wrap { background: transparent !important; }
#masthead .site-main-header-inner-wrap { min-height: 68px !important; }
#masthead .site-branding a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
#masthead .site-branding a.brand::before { content: ""; width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; background: conic-gradient(#FF6A4D 0 25%, #FFFFFF 0 50%, #FF6A4D 0 75%, #5B3DF5 0); }
#masthead .site-title { color: #FFFFFF !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 800 !important; font-size: 23px !important; letter-spacing: -0.02em; }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a { color: rgba(255,255,255,0.82) !important; font-family: Inter, sans-serif; font-weight: 600 !important; font-size: 15px; }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
#masthead .main-navigation .primary-menu-container > ul > li.current-menu-item > a { color: #FFFFFF !important; }
#masthead .main-navigation .primary-menu-container > ul > li.current-menu-item:not(.tp-nav-cta) > a { box-shadow: inset 0 -3px 0 #FF6A4D; }
#masthead .main-navigation .primary-menu-container > ul > li.tp-nav-cta > a { background: #FF6A4D; color: #17142B !important; border-radius: 12px; padding: 10px 18px !important; margin-left: 10px; line-height: 1.2; }
#masthead .main-navigation .primary-menu-container > ul > li.tp-nav-cta > a:hover { background: #FF8166; }
#masthead .menu-toggle-open, #masthead .menu-toggle-open .menu-toggle-icon { color: #FFFFFF !important; }
#mobile-drawer .drawer-inner { background: #17142B !important; }
#mobile-drawer .mobile-navigation ul li > a { color: #FFFFFF !important; font-weight: 600; }
#mobile-drawer .mobile-navigation ul li.tp-nav-cta > a { color: #FF6A4D !important; }

/* Home */
.tp-home { max-width: 1040px; margin: 0 auto; }
.tp-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 8px 0 48px; }
.tp-hero-chip { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 99px; background: #FFE3DC; color: #17142B; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.tp-wrap h1.tp-hero-h1 { font-size: 42px !important; line-height: 1.08 !important; margin: 0 0 14px !important; }
.tp-hero-sub { margin: 0 0 22px !important; font-size: 17px; line-height: 1.55; color: #3A3652 !important; }
.tp-hero-sub strong { color: #5B3DF5; }
.tp-hero-cta { min-height: 56px; font-size: 17px; padding: 0 28px; }
.tp-hero-small { margin-top: 10px; font-size: 13px; color: #5A5670; }

.tp-sample { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; background: #FFFFFF; border: 1px solid #E4E0F5; box-shadow: 0 12px 32px rgba(23,20,43,0.08); }
.tp-sample-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5A5670; }
.tp-wrap .tp-tiles-sm { margin: 4px 0 2px !important; }
.tp-tiles-sm .tp-tile { width: 44px; height: 52px; border-radius: 12px; font-size: 26px; }
.tp-sample-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.tp-sample-tag { font-size: 14px; color: #5A5670; }
.tp-sample-rows { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tp-sample-rows span { padding: 5px 10px; border-radius: 99px; background: #F7F5FF; font-size: 12px; font-weight: 600; }

.tp-section { padding: 8px 0 40px; }
.tp-section-sub { margin: -6px 0 18px !important; font-size: 15px; color: #5A5670 !important; }
.tp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tp-feature { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; background: #FFFFFF; border: 1px solid #E4E0F5; text-decoration: none !important; color: #17142B !important; }
a.tp-feature:hover { border-color: #5B3DF5; }
.tp-feature-step { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 11px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 18px; }
.tp-feature-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.tp-feature-text { font-size: 14px; line-height: 1.5; color: #5A5670; }
.tp-feature-badge { align-self: flex-start; margin-top: auto; padding: 4px 10px; border-radius: 99px; background: #F7F5FF; font-size: 12px; font-weight: 600; color: #5A5670; }
.tp-feature-badge.is-live { background: #EEE9FF; color: #5B3DF5; }
.tp-ic-violet { background: #5B3DF5; color: #FFFFFF; }
.tp-ic-coral { background: #FF6A4D; color: #17142B; }
.tp-ic-ink { background: #17142B; color: #FFFFFF; }

.tp-chip-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.tp-chip-type { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 14px; background: #FFFFFF; border: 1px solid #E4E0F5; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 17px; color: #17142B !important; text-decoration: none !important; }
.tp-chip-type:hover { border-color: #5B3DF5; color: #5B3DF5 !important; }

/* Tighter top spacing on TypePocket pages */
.tp-body .content-area { margin-top: 32px !important; margin-bottom: 32px !important; }

/* Mobile */
@media (max-width: 767px) {
  #masthead .site-main-header-inner-wrap { min-height: 58px !important; }
  #masthead .site-title { font-size: 21px !important; }
  .tp-body .content-area { margin-top: 18px !important; }
  .tp-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 32px; }
  .tp-wrap h1.tp-hero-h1 { font-size: 30px !important; }
  .tp-hero-sub { font-size: 16px; margin-bottom: 18px !important; }
  .tp-hero-cta { width: 100%; }
  .tp-hero-small { text-align: center; }
  .tp-sample { padding: 18px; gap: 8px; }
  .tp-sample-name { font-size: 22px; }
  .tp-features { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tp-feature { padding: 16px; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; }
  .tp-feature-step { grid-row: span 3; }
  .tp-feature-title { font-size: 17px; }
  .tp-feature-badge { margin-top: 4px; }
  .tp-chip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tp-h2, .tp-body .entry-content h2 { font-size: 22px !important; }
  /* type pages */
  .tp-tiles-lg .tp-tile { width: 50px; height: 58px; border-radius: 14px; font-size: 30px; }
  .tp-wrap h1.tp-h1 { font-size: 32px; }
  .tp-lead { font-size: 16px; }
  .tp-pill { font-size: 12px; padding: 5px 10px; }
  .tp-actions .tp-btn { flex: 1 1 0; min-height: 48px; padding: 0 12px; font-size: 15px; }
  .tp-body .entry-content { font-size: 16px; }
}

/* ============ v0.3.0 wide home ============ */
.tp-full .content-container.site-container, .tp-full #primary.content-area, .tp-full .content-wrap, .tp-full .entry-content-wrap, .tp-full .site-main { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.tp-full .content-area { margin: 0 !important; }
.tp-full .entry-content { margin: 0 !important; }
.tp-full .tp-note { max-width: 1200px; margin: 0 auto !important; padding: 20px 24px 40px !important; border-top: 0; }
.tp-full .entry-content > p:empty { display: none; }

.tp-home2 { width: 100%; }
.tp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tp-band { padding: 72px 0; }
.tp-band-soft { background: #FFFFFF; }
.tp-band-hero { padding: 56px 0 64px; background: linear-gradient(180deg, #F7F5FF 0%, #EEE9FF 100%); }
.tp-band-dark { background: #17142B; color: #FFFFFF; }

/* hero */
.tp-hero2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tp-wrap .tp-hero2-h1 { margin: 6px 0 6px !important; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -0.035em; color: #17142B; }
.tp-wrap .tp-hero2-kicker { margin: 0 0 18px !important; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.01em; text-transform: uppercase; color: #5B3DF5 !important; }
.tp-wrap .tp-hero2-sub { margin: 0 0 26px !important; max-width: 520px; font-size: 19px; line-height: 1.55; color: #3A3652 !important; }
.tp-hero2-sub strong { color: #17142B; }
.tp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; max-width: 560px; }
.tp-stat { display: flex; align-items: center; gap: 10px; }
.tp-stat-ic { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #FFFFFF; color: #5B3DF5; border: 1px solid #E4E0F5; }
.tp-stat b { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 800; line-height: 1.1; color: #17142B; }
.tp-stat small { display: block; font-size: 12px; color: #5A5670; }
.tp-hero2-cta { min-height: 62px; padding: 0 34px; font-size: 19px; border-radius: 18px; box-shadow: 0 10px 24px rgba(91,61,245,0.28); }
.tp-wrap .tp-hero2-small { margin: 12px 0 0 !important; font-size: 13px; color: #5A5670 !important; }
.tp-hero2-art { display: flex; justify-content: center; }
.tp-hero-img { width: 100%; max-width: 560px; height: auto; display: block; }
.tp-hero-ph { width: 100%; max-width: 480px; aspect-ratio: 1 / 0.9; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #FFFFFF 55%, rgba(255,255,255,0) 72%); display: flex; align-items: center; justify-content: center; }
.tp-tiles-xl .tp-tile { width: 92px; height: 108px; border-radius: 24px; font-size: 58px; }

/* section heads */
.tp-sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.tp-wrap .tp-sec-title { margin: 0 0 10px !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 800 !important; font-size: 44px !important; line-height: 1.08; letter-spacing: -0.03em; color: #17142B; }
.tp-wrap .tp-sec-sub { margin: 0 !important; font-size: 17px; line-height: 1.55; color: #5A5670 !important; }

/* test cards */
.tp-tcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tp-tcard { display: flex; flex-direction: column; padding: 24px; border-radius: 28px; background: #FFFFFF; border: 1px solid #E4E0F5; transition: transform .15s ease, box-shadow .15s ease; }
.tp-tcard:not(.is-soon):hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(23,20,43,0.10); }
.tp-tcard-tag { align-self: flex-start; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tp-wrap .tp-tcard-title { margin: 14px 0 4px !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 800 !important; font-size: 28px !important; line-height: 1.05 !important; letter-spacing: -0.02em; color: #17142B; }
.tp-wrap .tp-tcard-kicker { margin: 0 0 14px !important; font-size: 14px; line-height: 1.4; color: #5A5670 !important; }
.tp-tcard-kicker b { color: #5B3DF5; font-weight: 700; }
.tp-tcard-art { display: flex; align-items: center; justify-content: center; height: 190px; margin-bottom: 16px; }
.tp-illu { max-width: 100%; max-height: 190px; width: auto; height: auto; display: block; }
.tp-illu-ph { width: 150px; height: 150px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tp-wrap .tp-tcard-desc { margin: 0 0 14px !important; font-size: 15px; line-height: 1.55; color: #3A3652 !important; }
.tp-tcard-checks { list-style: none !important; margin: 0 0 20px !important; padding: 14px 16px !important; border-radius: 16px; background: #F7F5FF; display: flex; flex-direction: column; gap: 8px; }
.tp-tcard-checks li { display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; font-size: 14px; color: #17142B; }
.tp-tcard-checks li::before { display: none !important; }
.tp-check { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: #5B3DF5; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.tp-card-btn { margin-top: auto; width: 100%; min-height: 54px; }
.tp-btn-soon { background: #EDEAF7; color: #5A5670 !important; cursor: default; }
.tp-tcard.is-soon .tp-check { background: #C9C2EA; }

/* tones */
.tp-tone-violet { background: #EEE9FF; color: #5B3DF5; }
.tp-tone-coral { background: #FFE3DC; color: #C2412B; }
.tp-tone-ink { background: #E6E4EE; color: #17142B; }
.tp-tone-outline { background: #FFF4D6; color: #8A5A00; }
.tp-step-num.tp-tone-violet { background: #5B3DF5; color: #FFFFFF; }
.tp-step-num.tp-tone-coral { background: #FF6A4D; color: #17142B; }
.tp-step-num.tp-tone-ink { background: #17142B; color: #FFFFFF; }

/* steps */
.tp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tp-step { padding: 28px; border-radius: 24px; background: #F7F5FF; }
.tp-step-num { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; margin-bottom: 16px; }
.tp-wrap .tp-step h3 { margin: 0 0 8px !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 800 !important; font-size: 22px !important; color: #17142B; }
.tp-wrap .tp-step p { margin: 0 !important; font-size: 15px; line-height: 1.55; color: #5A5670 !important; }

/* 16 types */
.tp-chip-grid2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tp-chip-type { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 76px; padding: 14px 18px; border-radius: 18px; background: #FFFFFF; border: 1px solid #E4E0F5; text-decoration: none !important; color: #17142B !important; transition: border-color .15s ease; }
.tp-chip-type:hover { border-color: #5B3DF5; }
.tp-chip-code { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; }
.tp-chip-name { font-size: 13px; color: #5A5670; }

/* final cta */
.tp-final { text-align: center; }
.tp-wrap .tp-final-title { margin: 0 0 10px !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 800 !important; font-size: 44px !important; letter-spacing: -0.03em; color: #FFFFFF !important; }
.tp-wrap .tp-final-sub { margin: 0 0 26px !important; font-size: 17px; color: #D9D5EE !important; }
.tp-btn-coral { background: #FF6A4D; color: #17142B !important; box-shadow: none; }
.tp-btn-coral:hover { background: #FF8166; }

/* tablet */
@media (max-width: 1080px) {
  .tp-tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-wrap .tp-hero2-h1 { font-size: 58px; }
}
/* mobile */
@media (max-width: 767px) {
  .tp-band { padding: 44px 0; }
  .tp-band-hero { padding: 28px 0 40px; }
  .tp-container { padding: 0 18px; }
  .tp-hero2 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tp-hero2-art { order: -1; }
  .tp-hero-img { max-width: 300px; }
  .tp-hero-ph { max-width: 260px; }
  .tp-tiles-xl .tp-tile { width: 56px; height: 66px; border-radius: 16px; font-size: 34px; }
  .tp-wrap .tp-hero2-h1 { font-size: 44px; }
  .tp-wrap .tp-hero2-kicker { font-size: 18px; margin-bottom: 12px !important; }
  .tp-wrap .tp-hero2-sub { font-size: 16px; margin-bottom: 20px !important; }
  .tp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
  .tp-hero2-cta { width: 100%; min-height: 58px; font-size: 18px; }
  .tp-wrap .tp-hero2-small { text-align: center; }
  .tp-wrap .tp-sec-title, .tp-wrap .tp-final-title { font-size: 30px !important; }
  .tp-wrap .tp-sec-sub { font-size: 15px; }
  .tp-sec-head { margin-bottom: 24px; }
  .tp-tcards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tp-tcard { padding: 20px; border-radius: 24px; }
  .tp-tcard-art { height: 150px; }
  .tp-illu { max-height: 150px; }
  .tp-illu-ph { width: 120px; height: 120px; }
  .tp-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tp-step { padding: 20px; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; }
  .tp-step-num { grid-row: span 2; margin-bottom: 0; }
  .tp-chip-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tp-chip-type { min-height: 64px; padding: 10px 14px; }
}

/* ============ v0.3.1: force full width on the home page + layouts that never squeeze ============ */
body.tp-full .content-container.site-container,
body.tp-full .site-container.content-container,
body.tp-full #primary,
body.tp-full #main,
body.tp-full .content-wrap,
body.tp-full article.entry,
body.tp-full .entry-content-wrap { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; box-shadow: none !important; background: transparent !important; }
body.tp-full .content-area, body.tp-full .entry-content-wrap { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
body.tp-full .entry-header, body.tp-full .entry-hero { display: none !important; }

/* never break words inside cards */
.tp-home2, .tp-home2 * { overflow-wrap: normal; word-break: normal; hyphens: manual; }

/* fluid grids: fall back gracefully if the space is ever narrower than planned */
.tp-hero2 { display: flex; flex-wrap: wrap; gap: 48px; }
.tp-hero2-text { flex: 1 1 460px; min-width: 0; }
.tp-hero2-art { flex: 1 1 360px; min-width: 0; }
.tp-stats { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.tp-tcards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.tp-steps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tp-chip-grid2 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.tp-wrap .tp-hero2-kicker { white-space: normal; }

@media (max-width: 767px) {
  .tp-hero2 { gap: 20px; }
  .tp-hero2-text, .tp-hero2-art { flex-basis: 100%; }
  .tp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-tcards, .tp-steps { grid-template-columns: minmax(0, 1fr); }
  .tp-chip-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============ v0.3.2 ============ */
/* hero: the whole right block (picture + MBTI tiles + button) is one link */
.tp-hero2 { align-items: center; }
.tp-hero-click { display: flex; flex-direction: column; align-items: center; text-decoration: none !important; color: inherit !important; width: 100%; max-width: 520px; margin: 0 auto; cursor: pointer; }
.tp-hero-click .tp-hero-img { width: 100%; max-width: 480px; height: auto; display: block; transition: transform .2s ease; }
.tp-wrap .tp-tiles-hero { display: flex; justify-content: center; margin: -54px 0 22px !important; position: relative; z-index: 2; }
.tp-tiles-hero .tp-tile { width: 72px; height: 84px; border-radius: 20px; font-size: 44px; box-shadow: 0 10px 24px rgba(23,20,43,0.18); transition: transform .2s ease; }
.tp-tiles-hero .tp-tile-4 { background: #FFFFFF; }
.tp-hero-click .tp-hero2-cta { width: 100%; max-width: 420px; }
.tp-hero-click-small { margin-top: 12px; font-size: 13px; color: #5A5670; }
.tp-hero-click:hover .tp-hero-img { transform: scale(1.02); }
.tp-hero-click:hover .tp-tile-1 { transform: rotate(-9deg) translateY(-4px); }
.tp-hero-click:hover .tp-tile-2 { transform: rotate(7deg) translateY(-4px); }
.tp-hero-click:hover .tp-tile-3 { transform: rotate(-6deg) translateY(-4px); }
.tp-hero-click:hover .tp-tile-4 { transform: rotate(10deg) translateY(-4px); }
.tp-hero-click:hover .tp-hero2-cta { background: #4A2EE0; }

/* horizontal test cards: picture | text | checks + button */
.tp-tcards { display: flex !important; flex-direction: column; gap: 16px; }
.tp-tcard-h { display: grid !important; grid-template-columns: 180px minmax(0, 1fr) 300px; gap: 28px; align-items: center; padding: 22px 28px; }
.tp-tcard-h .tp-tcard-art { height: 160px; margin: 0; border-radius: 20px; }
.tp-tcard-h .tp-illu { max-height: 160px; }
.tp-tcard-h .tp-illu-ph { width: 140px; height: 140px; }
.tp-tcard-main { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.tp-tcard-h .tp-tcard-title { margin: 10px 0 4px !important; font-size: 30px !important; }
.tp-tcard-h .tp-tcard-kicker { margin: 0 0 10px !important; font-size: 15px; }
.tp-tcard-h .tp-tcard-desc { margin: 0 !important; font-size: 15px; }
.tp-tcard-side { display: flex; flex-direction: column; gap: 14px; }
.tp-tcard-h .tp-tcard-checks { margin: 0 !important; }
.tp-tcard-h .tp-card-btn { margin-top: 0; }

@media (max-width: 960px) {
  .tp-tcard-h { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }
  .tp-tcard-side { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; align-items: center; }
  .tp-tcard-h .tp-tcard-art { height: 130px; }
  .tp-tcard-h .tp-illu-ph { width: 110px; height: 110px; }
}
@media (max-width: 767px) {
  .tp-hero2-art { order: 0; }
  .tp-hero-click .tp-hero-img { max-width: 320px; }
  .tp-tiles-hero .tp-tile { width: 54px; height: 64px; border-radius: 16px; font-size: 32px; }
  .tp-wrap .tp-tiles-hero { margin: -40px 0 18px !important; }
  .tp-tcard-h { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 18px; align-items: start; }
  .tp-tcard-h .tp-tcard-art { height: 88px; }
  .tp-tcard-h .tp-illu { max-height: 88px; }
  .tp-tcard-h .tp-illu-ph { width: 80px; height: 80px; }
  .tp-tcard-h .tp-illu-ph svg { width: 34px; height: 34px; }
  .tp-tcard-h .tp-tcard-title { font-size: 22px !important; margin-top: 8px !important; }
  .tp-tcard-h .tp-tcard-kicker, .tp-tcard-h .tp-tcard-desc { font-size: 14px; }
  .tp-tcard-side { grid-column: 1 / -1; display: flex; }
}

/* ============ v0.3.3 illustrations ============ */
.tp-hero-click .tp-hero-img { max-width: 520px; }
.tp-wrap .tp-tiles-hero { margin-top: -40px !important; }
.tp-tcard-h .tp-tcard-art { background: #F7F5FF; padding: 10px; }
.tp-tcard-h .tp-illu { max-width: 100%; max-height: 140px; object-fit: contain; }
.tp-steps-img { display: block; width: 100%; max-width: 440px; height: auto; margin: -8px auto 28px; }
@media (max-width: 767px) {
  .tp-hero-click .tp-hero-img { max-width: 340px; }
  .tp-wrap .tp-tiles-hero { margin-top: -30px !important; }
  .tp-tcard-h .tp-tcard-art { padding: 6px; }
  .tp-tcard-h .tp-illu { max-height: 76px; }
  .tp-steps-img { max-width: 300px; margin-bottom: 18px; }
}

/* ============ v0.3.4 ============ */
.tp-chip-grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.tp-chip-grid2 > :not(a), .tp-tcards > :not(.tp-tcard), .tp-steps > :not(.tp-step) { display: none !important; }
@media (max-width: 767px) { .tp-chip-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* ============ v0.3.5 mobile tightening ============ */
@media (max-width: 767px) {
  /* hero: picture + button come up into the first screen, stats become one compact row */
  .tp-band-hero { padding: 22px 0 32px; }
  .tp-hero-chip { margin-bottom: 10px; font-size: 11px; }
  .tp-wrap .tp-hero2-h1 { font-size: 40px; }
  .tp-wrap .tp-hero2-kicker { font-size: 15px; margin-bottom: 10px !important; }
  .tp-wrap .tp-hero2-sub { font-size: 15px; margin-bottom: 14px !important; }
  .tp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 6px; margin-bottom: 0; }
  .tp-stat { flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 8px 4px; border-radius: 14px; background: rgba(255,255,255,0.7); }
  .tp-stat-ic { width: 30px; height: 30px; border-radius: 9px; border: 0; background: #EEE9FF; }
  .tp-stat-ic svg { width: 17px; height: 17px; }
  .tp-stat b { font-size: 15px; }
  .tp-stat small { font-size: 10.5px; }
  .tp-hero2 { gap: 16px; }
  .tp-hero-click .tp-hero-img { max-width: 250px; }
  .tp-tiles-hero .tp-tile { width: 46px; height: 54px; border-radius: 13px; font-size: 28px; }
  .tp-wrap .tp-tiles-hero { margin: -26px 0 14px !important; gap: 6px; }
  .tp-hero-click .tp-hero2-cta { min-height: 54px; font-size: 17px; }

  /* section heads */
  .tp-band { padding: 36px 0; }
  .tp-wrap .tp-sec-title { font-size: 26px !important; }
  .tp-wrap .tp-sec-sub { font-size: 14px; }
  .tp-sec-head { margin-bottom: 18px; }

  /* test cards: shorter */
  .tp-tcard-h { padding: 16px; gap: 12px; grid-template-columns: 76px minmax(0, 1fr); }
  .tp-tcard-h .tp-tcard-art { height: 76px; border-radius: 14px; }
  .tp-tcard-h .tp-illu { max-height: 64px; }
  .tp-tcard-tag { font-size: 10px; padding: 4px 8px; }
  .tp-tcard-h .tp-tcard-title { font-size: 20px !important; margin: 6px 0 2px !important; }
  .tp-tcard-h .tp-tcard-kicker { font-size: 13px; margin: 0 !important; }
  .tp-tcard-h .tp-tcard-desc { display: none; }
  .tp-tcard-side { gap: 10px; }
  .tp-tcard-h .tp-tcard-checks { padding: 10px 12px !important; gap: 6px; }
  .tp-tcard-checks li { font-size: 13px; }
  .tp-check { width: 18px; height: 18px; }
  .tp-tcard-h .tp-card-btn { min-height: 48px; font-size: 15px; }

  /* steps: compact */
  .tp-steps-img { max-width: 220px; margin-bottom: 14px; }
  .tp-step { padding: 14px 16px; border-radius: 18px; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; }
  .tp-step-num { width: 38px; height: 38px; font-size: 18px; border-radius: 11px; }
  .tp-wrap .tp-step h3 { font-size: 17px !important; margin-bottom: 2px !important; }
  .tp-wrap .tp-step p { font-size: 13.5px; }

  /* 16 types: 4 small chips per row, code only */
  .tp-chip-grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 6px; }
  .tp-chip-type { min-height: 48px; padding: 6px 4px; align-items: center; border-radius: 12px; }
  .tp-chip-code { font-size: 16px; }
  .tp-chip-name { display: none; }

  /* final band */
  .tp-wrap .tp-final-title { font-size: 26px !important; }
  .tp-band-dark .tp-hero2-cta { width: 100%; }
}

/* ============ v0.3.6 types page + centered type cards ============ */
.tp-list-head { text-align: center; padding: 8px 0 28px; }
.tp-list-head .tp-hero-chip { margin-bottom: 12px; }
.tp-wrap .tp-list-h1 { margin: 0 0 10px !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 800 !important; font-size: 40px !important; line-height: 1.08; letter-spacing: -0.03em; color: #17142B; }
.tp-wrap .tp-list-sub { margin: 0 auto 18px !important; max-width: 520px; font-size: 16px; color: #5A5670 !important; }
.tp-list-cta { min-height: 50px; padding: 0 24px; }

.tp-card { align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 18px 10px; min-height: 92px; }
.tp-card-code { font-size: 26px; letter-spacing: 0.02em; color: #17142B; }
.tp-card-name { font-size: 13px; font-weight: 600; color: #5B3DF5; }
.tp-card:hover { background: #5B3DF5; border-color: #5B3DF5; }
.tp-card:hover .tp-card-code, .tp-card:hover .tp-card-name { color: #FFFFFF; }

/* same look for the home "Already know your type?" chips */
.tp-chip-type { align-items: center !important; text-align: center; }
.tp-chip-name { font-weight: 600; color: #5B3DF5; }
.tp-chip-type:hover { background: #5B3DF5; }
.tp-chip-type:hover .tp-chip-code, .tp-chip-type:hover .tp-chip-name { color: #FFFFFF; }

@media (max-width: 767px) {
  .tp-wrap .tp-list-h1 { font-size: 28px !important; }
  .tp-wrap .tp-list-sub { font-size: 14px; }
  .tp-list-cta { width: 100%; }
  .tp-card { min-height: 78px; padding: 12px 6px; }
  .tp-card-code { font-size: 22px; }
  .tp-card-name { font-size: 12px; }
}

/* ============ v0.4.0 long type pages ============ */
.tp-body .entry-content h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 20px; color: #5B3DF5; margin: 22px 0 6px; }
.tp-body .entry-content h3 + p { margin-top: 0; }
.tp-body .entry-content ul.wp-block-list li strong { color: #17142B; }
@media (max-width: 767px) { .tp-body .entry-content h3 { font-size: 18px; } }

/* ============ v0.5.0 legal pages + footer ============ */
.tp-body .entry-content h1.tp-page-h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: #17142B; margin: 0 0 16px; }
.tp-contact-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 16px; align-items: center; padding: 22px 24px; margin: 8px 0 18px; border-radius: 20px; background: #FFFFFF; border: 1px solid #E4E0F5; font-size: 16px; }
.tp-contact-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5A5670; }
.tp-contact-email { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; color: #5B3DF5 !important; text-decoration: none !important; }
#colophon, #colophon .site-footer-wrap, #colophon .site-footer-row-container-inner { background: #17142B !important; }
#colophon .footer-html, #colophon .footer-html p, #colophon .tp-footer-line { color: rgba(255,255,255,0.7) !important; font-size: 14px; }
#colophon .tp-footer-line a { color: #FFFFFF !important; text-decoration: none; font-weight: 600; }
#colophon .tp-footer-line a:hover { color: #FF6A4D !important; }
@media (max-width: 767px) {
  .tp-body .entry-content h1.tp-page-h1 { font-size: 30px; }
  .tp-contact-card { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tp-contact-card .tp-contact-label { margin-top: 8px; }
}

/* ============ v0.5.1 ============ */
/* disclaimer lives in the dark footer now — no light strip between dark bands */
.tp-note { display: none !important; }
#colophon .tp-footer-note { max-width: 860px; margin: 0 auto 10px !important; font-size: 12px !important; line-height: 1.6; color: rgba(255,255,255,0.5) !important; text-align: center; }
#colophon .tp-footer-line { text-align: center; margin: 0 !important; }
#colophon .site-footer-row-container-inner { padding-top: 28px; padding-bottom: 28px; }
body.tp-full .content-area, body.tp-full .site-main { margin-bottom: 0 !important; padding-bottom: 0 !important; }
body.tp-full .entry-content > *:last-child { margin-bottom: 0 !important; }

/* About: three lenses */
.tp-lenses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 18px; }
.tp-lens { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; background: #FFFFFF; border: 1px solid #E4E0F5; }
.tp-lens-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 20px; color: #17142B; margin-top: 4px; }
.tp-lens-sub { font-size: 13px; font-weight: 700; color: #5B3DF5; }
.tp-lens-text { font-size: 14px; line-height: 1.55; color: #5A5670; }
@media (max-width: 767px) { .tp-lenses { grid-template-columns: minmax(0, 1fr); } }

/* v0.5.2: footer note = exactly two clean lines */
#colophon .tp-footer-note { max-width: none !important; display: flex; flex-direction: column; align-items: center; gap: 2px; }
#colophon .tp-footer-note span { display: block; white-space: nowrap; }
@media (max-width: 900px) { #colophon .tp-footer-note span { white-space: normal; } }

/* ============ v0.7.0 compatibility ============ */
.tp-pair-tiles { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tp-pair-tiles .tp-tiles { margin: 0 !important; }
.tp-pair-plus { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 34px; color: #5B3DF5; }
.tp-level { margin: 6px 0 20px; padding: 16px 18px; border-radius: 18px; background: #FFFFFF; border: 2px solid #E4E0F5; }
.tp-level-top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tp-level-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; color: #17142B; }
.tp-level-step { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5A5670; }
.tp-wrap .tp-level-text { margin: 8px 0 0 !important; font-size: 15px; color: #3A3652 !important; }
.tp-meter { display: inline-flex; gap: 4px; }
.tp-meter-seg { width: 26px; height: 10px; border-radius: 99px; background: #E4E0F5; }
.tp-level-4 { border-color: #5B3DF5; } .tp-level-4 .tp-meter-seg.is-on { background: #5B3DF5; }
.tp-level-3 { border-color: #FF6A4D; } .tp-level-3 .tp-meter-seg.is-on { background: #FF6A4D; }
.tp-level-2 { border-color: #17142B; } .tp-level-2 .tp-meter-seg.is-on { background: #17142B; }
.tp-level-1 { border-color: #E0B44C; } .tp-level-1 .tp-meter-seg.is-on { background: #E0B44C; }

.tp-pair-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 8px 0 24px; }
.tp-pair-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 16px; background: #FFFFFF; border: 1px solid #E4E0F5; text-decoration: none !important; text-align: center; transition: border-color .15s ease; }
.tp-pair-card:hover { border-color: #5B3DF5; }
.tp-pair-codes { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 19px; color: #17142B; }
.tp-pair-lv { font-size: 12px; font-weight: 700; }
.tp-lvtext-4 { color: #5B3DF5; } .tp-lvtext-3 { color: #D9472C; } .tp-lvtext-2 { color: #17142B; } .tp-lvtext-1 { color: #A0761A; }

.tp-calc { margin: 6px 0 28px; padding: 22px; border-radius: 24px; background: #FFFFFF; border: 1px solid #E4E0F5; box-shadow: 0 10px 28px rgba(23,20,43,0.06); }
.tp-calc-title { margin: 30px 0 10px !important; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; color: #17142B !important; }
.tp-calc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 12px; margin-bottom: 16px; }
.tp-calc-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5A5670; }
.tp-calc-field select { width: 100%; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 2px solid #E4E0F5; background: #F7F5FF; font-family: Inter, sans-serif; font-size: 16px; font-weight: 600; color: #17142B; text-transform: none; letter-spacing: 0; }
.tp-calc-field select:focus { border-color: #5B3DF5; outline: none; }
.tp-calc-plus { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 30px; color: #5B3DF5; padding-bottom: 8px; }
.tp-calc-out:empty { display: none; }
.tp-calc-result { margin-top: 18px; }
.tp-wrap .tp-calc-pair { margin: 0 0 6px !important; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px; color: #17142B !important; }
.tp-calc-lines { margin: 0 0 16px !important; padding-left: 18px !important; font-size: 15px; line-height: 1.6; color: #3A3652; }
.tp-calc-lines li::before { display: none !important; }
.tp-calc-lines li { background: none !important; border: 0 !important; padding: 2px 0 !important; list-style: disc; }
.tp-wrap .tp-calc-note, .tp-wrap .tp-calc-msg { margin: 12px 0 0 !important; font-size: 14px; color: #5A5670 !important; }
@media (max-width: 767px) {
  .tp-pair-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-calc { padding: 16px; }
  .tp-calc-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tp-calc-plus { text-align: center; padding: 0; font-size: 24px; }
  .tp-level-name { font-size: 20px; }
  .tp-pair-tiles .tp-tiles-sm .tp-tile { width: 38px; height: 46px; font-size: 22px; }
}
