/* 용도: TENPOINT 서비스 포털의 공통 디자인, 카드·탭·캐러셀과 반응형 규칙을 정의합니다. */
/* 참조: portal.js가 생성하는 tp-* 클래스와 포털 루트 요소. */
/* 피인용: 저장소 내부의 포털 본문 HTML은 없으며, go/portal.html이 연결하는 호스팅 포털 페이지에 배포됩니다. */
.tp-portal {
  --tp-navy: #082A5A;
  --tp-navy-deep: #031B3D;
  --tp-blue: #0B5CAD;
  --tp-yellow: #F8C400;
  --tp-yellow-dark: #E5AF00;
  --tp-orange: #F28A00;
  --tp-teal: #119C9A;
  --tp-red: #E84B4B;
  --tp-bg: #FFFFFF;
  --tp-bg-soft: #F5F8FC;
  --tp-bg-blue-soft: #EEF5FC;
  --tp-border: #DDE6F2;
  --tp-text: #10233F;
  --tp-muted: #5B6B80;
  --tp-shadow: 0 12px 30px rgba(8, 42, 90, 0.10);
  --tp-container-max: 1440px;
  --tp-page-gutter: clamp(16px, 4vw, 72px);
  --tp-container: min(var(--tp-container-max), calc(100% - (var(--tp-page-gutter) * 2)));
  --tp-section-y: clamp(32px, 3.2vw, 46px);
  --tp-h1: clamp(36px, 3.15vw, 58px);
  --tp-h2: clamp(28px, 2.25vw, 38px);
  --tp-h3: clamp(18px, 1.22vw, 20px);
  --tp-body: clamp(15px, 0.96vw, 17px);
  --tp-small: clamp(13px, 0.82vw, 15px);
  --tp-card-pad: clamp(22px, 1.75vw, 34px);
  --tp-radius: 8px;
  position: relative;
  isolation: isolate;
  color: var(--tp-text);
  background:
    linear-gradient(180deg, rgba(238, 245, 252, 0.95) 0, rgba(255, 255, 255, 0) 360px),
    repeating-linear-gradient(90deg, rgba(8, 42, 90, 0.035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(180deg, rgba(8, 42, 90, 0.025) 0 1px, transparent 1px 72px),
    var(--tp-bg);
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Sans", sans-serif;
  font-size: var(--tp-body);
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
  border-top: 5px solid var(--tp-navy);
}

.tp-portal::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(248, 196, 0, 0.08) 18% 18.6%, transparent 18.6% 100%),
    linear-gradient(115deg, transparent 0 63%, rgba(11, 92, 173, 0.07) 63% 63.6%, transparent 63.6% 100%);
}

.tp-portal .tp-header,
.tp-portal main {
  position: relative;
  z-index: 1;
}

.tp-portal *,
.tp-portal *::before,
.tp-portal *::after {
  box-sizing: border-box;
}

.tp-portal a {
  color: inherit;
  text-decoration: none;
}

.tp-portal img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tp-portal .tp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tp-portal .tp-header {
  width: var(--tp-container);
  min-height: clamp(72px, 5.4vw, 92px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
  border-bottom: 1px solid var(--tp-border);
  background: rgba(255, 255, 255, 0.94);
}

.tp-portal .tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--tp-navy);
}

.tp-portal .tp-brand img {
  width: clamp(132px, 12vw, 190px);
  max-height: clamp(38px, 3.2vw, 50px);
  object-fit: contain;
}

.tp-portal .tp-brand span {
  padding-left: 12px;
  border-left: 1px solid var(--tp-border);
  font-size: var(--tp-small);
  white-space: nowrap;
}

.tp-portal .tp-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.55vw, 24px);
  margin-left: auto;
  font-size: var(--tp-small);
  font-weight: 700;
  color: var(--tp-muted);
}

.tp-portal .tp-nav a {
  position: relative;
  padding: 8px 0;
}

.tp-portal .tp-nav a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  content: "";
  background: var(--tp-yellow);
  transition: right 0.2s ease;
}

.tp-portal .tp-nav a:hover::after {
  right: 0;
}

.tp-portal .tp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(44px, 3.35vw, 52px);
  padding: 0 clamp(18px, 1.7vw, 26px);
  border: 1px solid var(--tp-yellow);
  border-radius: 999px;
  background: var(--tp-yellow);
  color: var(--tp-navy-deep);
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(248, 196, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tp-portal .tp-button:hover {
  transform: translateY(-2px);
  background: var(--tp-yellow-dark);
  box-shadow: 0 14px 26px rgba(248, 196, 0, 0.26);
}

.tp-portal .tp-button--header {
  min-height: clamp(42px, 3vw, 48px);
  padding: 0 clamp(16px, 1.45vw, 22px);
  font-size: clamp(13px, 0.88vw, 15px);
}

.tp-portal .tp-button--outline {
  border-color: var(--tp-navy);
  background: #fff;
  color: var(--tp-navy);
  box-shadow: none;
}

.tp-portal .tp-button--outline:hover {
  background: var(--tp-bg-blue-soft);
}

.tp-portal .tp-button--dark-outline {
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.tp-portal .tp-button--dark-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tp-portal .tp-button--small {
  min-height: clamp(40px, 2.8vw, 46px);
  padding: 0 clamp(14px, 1.2vw, 18px);
  font-size: var(--tp-small);
}

.tp-portal .tp-hero {
  width: var(--tp-container);
  position: relative;
  isolation: isolate;
  margin: 0 auto;
  padding: clamp(34px, 4.1vw, 52px) 0 clamp(30px, 3.5vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(clamp(400px, 39vw, 610px), 1.08fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.tp-portal .tp-hero::before {
  position: absolute;
  inset: clamp(12px, 1.6vw, 22px) calc(var(--tp-page-gutter) * -0.36) clamp(12px, 1.3vw, 18px);
  z-index: -1;
  content: "";
  border: 1px solid rgba(221, 230, 242, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(238, 245, 252, 0.88), rgba(255, 255, 255, 0.28) 54%),
    repeating-linear-gradient(90deg, rgba(8, 42, 90, 0.04) 0 1px, transparent 1px 36px);
}

.tp-portal .tp-eyebrow {
  margin: 0 0 12px;
  color: var(--tp-blue);
  font-size: clamp(12px, 0.82vw, 13px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tp-portal .tp-hero h1 {
  margin: 0;
  color: var(--tp-navy-deep);
  font-size: var(--tp-h1);
  line-height: 1.34;
  letter-spacing: 0;
}

.tp-portal .tp-lead,
.tp-portal .tp-section__head p,
.tp-portal .tp-final-cta p {
  color: var(--tp-muted);
  font-size: var(--tp-body);
}

.tp-portal .tp-lead {
  margin: clamp(18px, 1.9vw, 24px) 0 clamp(22px, 2.2vw, 30px);
}

.tp-portal .tp-hero__actions,
.tp-portal .tp-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tp-portal .tp-hero__visual {
  position: relative;
  min-height: clamp(330px, 33vw, 480px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 196, 0, 0.08), transparent 38%),
    linear-gradient(90deg, rgba(8, 42, 90, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 42, 90, 0.08) 1px, transparent 1px),
    #f8fbff;
  background-size: 30px 30px;
  border: 0;
  overflow: hidden;
}

.tp-portal .tp-hero__visual::before,
.tp-portal .tp-hero__visual::after {
  position: absolute;
  content: "";
  border: 2px dotted rgba(11, 92, 173, 0.42);
  transform: rotate(-18deg);
}

.tp-portal .tp-hero__visual::before {
  inset: clamp(54px, 6.4vw, 92px) clamp(42px, 5.4vw, 78px) clamp(68px, 8.2vw, 118px) clamp(24px, 3vw, 44px);
}

.tp-portal .tp-hero__visual::after {
  inset: clamp(72px, 8.5vw, 122px) clamp(18px, 2.2vw, 32px) clamp(54px, 6.4vw, 92px) clamp(64px, 8.3vw, 120px);
  transform: rotate(14deg);
}

.tp-portal .tp-dashboard {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(72%, clamp(350px, 30vw, 460px));
  min-height: clamp(205px, 17vw, 250px);
  padding: 0;
  display: grid;
  grid-template-columns: clamp(92px, 7.8vw, 118px) 1fr;
  border-radius: 8px;
  border: clamp(5px, 0.6vw, 8px) solid var(--tp-navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--tp-shadow);
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.tp-portal .tp-dashboard aside {
  padding: clamp(13px, 1.2vw, 18px) clamp(10px, 0.9vw, 14px);
  display: grid;
  align-content: start;
  gap: clamp(8px, 0.8vw, 12px);
  background: var(--tp-navy-deep);
  color: #fff;
}

.tp-portal .tp-dashboard aside strong {
  color: #fff;
  font-size: clamp(12px, 0.92vw, 15px);
  letter-spacing: 0.03em;
}

.tp-portal .tp-dashboard aside span {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(8px, 0.62vw, 10px);
  font-weight: 700;
}

.tp-portal .tp-dashboard__main {
  padding: clamp(12px, 1.2vw, 18px);
  background: #f9fbfe;
}

.tp-portal .tp-dashboard__bar {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.tp-portal .tp-dashboard__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tp-border);
}

.tp-portal .tp-dashboard strong {
  color: var(--tp-navy);
  font-size: clamp(13px, 1vw, 16px);
}

.tp-portal .tp-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 0.7vw, 10px);
  margin: 14px 0;
}

.tp-portal .tp-dashboard__grid div {
  min-height: clamp(64px, 5.6vw, 82px);
  padding: clamp(8px, 0.8vw, 12px);
  border-radius: 8px;
  background: var(--tp-bg-soft);
}

.tp-portal .tp-dashboard__grid b {
  color: var(--tp-navy);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1;
}

.tp-portal .tp-dashboard__grid small,
.tp-portal .tp-dashboard__grid span {
  display: block;
  color: var(--tp-muted);
  font-size: clamp(9px, 0.7vw, 11px);
  line-height: 1.45;
}

.tp-portal .tp-dashboard__bars {
  display: grid;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--tp-border);
}

.tp-portal .tp-dashboard__bars span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tp-navy) 0 68%, #dbe6f3 68% 100%);
}

.tp-portal .tp-dashboard__bars span:nth-child(2) { background: linear-gradient(90deg, var(--tp-navy) 0 52%, #dbe6f3 52% 100%); }
.tp-portal .tp-dashboard__bars span:nth-child(3) { background: linear-gradient(90deg, var(--tp-navy) 0 78%, #dbe6f3 78% 100%); }
.tp-portal .tp-dashboard__bars span:nth-child(4) { background: linear-gradient(90deg, var(--tp-navy) 0 44%, #dbe6f3 44% 100%); }

.tp-portal .tp-laptop-base {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(50% + clamp(102px, 9.8vw, 142px));
  width: min(78%, clamp(360px, 34vw, 500px));
  height: 22px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #dfe8f3, #aebbd0);
  transform: translateX(-50%);
}

.tp-portal .tp-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(112px, 10.5vw, 150px);
  min-height: clamp(54px, 5vw, 70px);
  padding: clamp(8px, 0.85vw, 12px);
  border-radius: 8px;
  border: 1px solid var(--tp-border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 42, 90, 0.12);
  animation: tpFloat 4.8s ease-in-out infinite;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tp-portal .tp-node:hover,
.tp-portal .tp-node:focus-visible {
  border-color: var(--tp-blue);
  box-shadow: 0 14px 30px rgba(8, 42, 90, 0.2);
}

.tp-portal .tp-node:focus-visible {
  outline: 3px solid var(--tp-blue);
  outline-offset: 3px;
}

.tp-portal .tp-node img {
  width: 100%;
  max-width: clamp(92px, 8.6vw, 124px);
  max-height: clamp(34px, 3.2vw, 46px);
  object-fit: contain;
}

.tp-portal .tp-node--1 { left: clamp(12px, 3vw, 42px); top: clamp(18px, 2.7vw, 38px); }
.tp-portal .tp-node--2 { right: clamp(10px, 1.7vw, 24px); top: clamp(18px, 2.6vw, 36px); animation-delay: 0.9s; }
.tp-portal .tp-node--3 { left: clamp(30px, 7.5vw, 108px); bottom: clamp(18px, 2.8vw, 40px); animation-delay: 1.5s; }
.tp-portal .tp-node--4 { right: clamp(6px, 0.7vw, 10px); top: clamp(150px, 15vw, 218px); animation-delay: 0.4s; }
.tp-portal .tp-node--5 { right: clamp(20px, 4.9vw, 70px); bottom: clamp(18px, 2vw, 28px); animation-delay: 1.1s; }
.tp-portal .tp-node--6 { left: clamp(6px, 0.7vw, 10px); top: clamp(150px, 15vw, 218px);  animation-delay: 0.8s;}

@keyframes tpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.tp-portal .tp-feature-row,
.tp-portal .tp-section,
.tp-portal .tp-final-cta,
.tp-portal .tp-footer {
  width: var(--tp-container);
  margin: 0 auto;
}

.tp-portal .tp-feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.4vw, 20px);
  padding: 0 0 clamp(28px, 3vw, 42px);
  border-bottom: 1px solid var(--tp-border);
}

.tp-portal .tp-feature,
.tp-portal .tp-service-card,
.tp-portal .tp-slide-card,
.tp-portal .tp-step,
.tp-portal .tp-faq {
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 42, 90, 0.05);
}

.tp-portal .tp-feature {
  display: flex;
  gap: clamp(12px, 1.1vw, 16px);
  padding: clamp(14px, 1.25vw, 18px) 8px clamp(14px, 1.25vw, 18px) 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.tp-portal .tp-feature img,
.tp-portal .tp-step img {
  width: clamp(32px, 2.7vw, 38px);
  height: clamp(32px, 2.7vw, 38px);
}

.tp-portal .tp-feature h2 {
  margin: 0 0 4px;
  color: var(--tp-navy);
  font-size: clamp(15px, 1vw, 17px);
}

.tp-portal .tp-feature p {
  margin: 0;
  color: var(--tp-muted);
  font-size: clamp(13px, 0.86vw, 14px);
}

.tp-portal .tp-section {
  padding: var(--tp-section-y) 0;
}

.tp-portal .tp-section--soft {
  width: 100%;
  max-width: none;
  padding-left: max(var(--tp-page-gutter), calc((100% - var(--tp-container-max)) / 2));
  padding-right: max(var(--tp-page-gutter), calc((100% - var(--tp-container-max)) / 2));
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(238, 245, 252, 0) 48%),
    repeating-linear-gradient(90deg, rgba(8, 42, 90, 0.035) 0 1px, transparent 1px 64px),
    var(--tp-bg-soft);
}

.tp-portal .tp-section--main,
.tp-portal .tp-section--partners,
.tp-portal .tp-section--download {
  width: 100%;
  max-width: none;
  padding-left: max(var(--tp-page-gutter), calc((100% - var(--tp-container-max)) / 2));
  padding-right: max(var(--tp-page-gutter), calc((100% - var(--tp-container-max)) / 2));
}

.tp-portal .tp-section--main {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(238, 245, 252, 0) 44%),
    repeating-linear-gradient(90deg, rgba(8, 42, 90, 0.03) 0 1px, transparent 1px 64px),
    #eef5fc;
}

.tp-portal .tp-section--partners {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(245, 248, 252, 0.76)),
    #f5f7fa;
}

.tp-portal .tp-section--download {
  background:
    radial-gradient(circle at 12% 20%, rgba(248, 196, 0, 0.16), transparent 28%),
    linear-gradient(135deg, #fffdf4, #eef6ff);
}

.tp-portal .tp-section__head {
  max-width: min(760px, 100%);
  margin-bottom: clamp(18px, 2vw, 28px);
}

.tp-portal .tp-news-strip {
  width: var(--tp-container);
  margin: 0 auto clamp(18px, 1.8vw, 26px);
  padding: clamp(12px, 1vw, 15px) clamp(16px, 1.6vw, 24px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 16px);
  border: 1px solid rgba(185, 209, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(8, 42, 90, 0.06);
}

.tp-portal .tp-news-strip span:first-child {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--tp-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tp-portal .tp-news-strip time {
  color: var(--tp-blue);
  font-size: var(--tp-small);
  font-weight: 900;
}

.tp-portal .tp-news-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--tp-navy);
  font-size: var(--tp-small);
  font-weight: 800;
}

.tp-portal .tp-news-strip a span {
  color: var(--tp-blue);
}

.tp-portal .tp-issues {
  padding-top: clamp(22px, 2.4vw, 36px);
}

.tp-portal .tp-issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(14px, 1.4vw, 20px);
}

.tp-portal .tp-issue-card {
  position: relative;
  min-height: clamp(220px, 18vw, 260px);
  padding: clamp(20px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(8, 42, 90, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tp-portal .tp-issue-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 18%, rgba(248, 196, 0, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(238, 246, 255, 0.8), rgba(255, 255, 255, 0) 42%);
}

.tp-portal .tp-issue-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 42, 90, 0.28);
  box-shadow: 0 20px 46px rgba(8, 42, 90, 0.12);
}

.tp-portal .tp-issue-card > * {
  position: relative;
  z-index: 1;
}

.tp-portal .tp-issue-card img {
  width: clamp(40px, 3.8vw, 52px);
  height: clamp(40px, 3.8vw, 52px);
  padding: 8px;
  border-radius: 8px;
  background: rgba(238, 245, 252, 0.86);
}

.tp-portal .tp-issue-card strong {
  color: var(--tp-navy);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.45;
}

.tp-portal .tp-issue-card p {
  margin: 0;
  color: var(--tp-muted);
  font-size: var(--tp-small);
  line-height: 1.65;
}

.tp-portal .tp-issue-card small {
  margin-top: auto;
  color: var(--tp-blue);
  font-size: clamp(12px, 0.85vw, 13px);
  font-weight: 800;
  line-height: 1.5;
}

.tp-portal .tp-issue-card > span {
  color: var(--tp-navy);
  font-size: var(--tp-small);
  font-weight: 900;
}

.tp-portal .tp-flow-strip {
  margin-top: clamp(16px, 1.7vw, 24px);
  padding: clamp(14px, 1.35vw, 18px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.3vw, 18px);
  border: 1px solid rgba(185, 209, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.tp-portal .tp-flow-strip article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.tp-portal .tp-flow-strip b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tp-yellow);
  color: var(--tp-navy-deep);
  font-size: 13px;
}

.tp-portal .tp-flow-strip strong {
  display: block;
  color: var(--tp-navy);
  font-size: clamp(14px, 0.98vw, 16px);
  line-height: 1.45;
}

.tp-portal .tp-flow-strip p {
  margin: 2px 0 0;
  color: var(--tp-muted);
  font-size: clamp(12px, 0.84vw, 13px);
  line-height: 1.55;
}

.tp-portal .tp-section__head--center,
.tp-portal .tp-section .tp-section__head:first-child {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tp-portal .tp-section__head h2,
.tp-portal .tp-final-cta h2 {
  margin: 0;
  color: var(--tp-navy-deep);
  font-size: var(--tp-h2);
  line-height: 1.35;
}

.tp-portal .tp-section__head p {
  margin: 12px 0 0;
  font-size: var(--tp-body);
}

.tp-portal .tp-tabs {
  display: flex;
  gap: clamp(8px, 0.7vw, 10px);
  margin-bottom: clamp(18px, 1.7vw, 24px);
  overflow-x: auto;
  padding-bottom: 6px;
}

.tp-portal .tp-tab {
  flex: 0 0 auto;
  min-height: clamp(38px, 3vw, 44px);
  padding: 0 clamp(14px, 1.25vw, 18px);
  border: 1px solid var(--tp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--tp-navy);
  font: inherit;
  font-size: var(--tp-small);
  font-weight: 800;
  cursor: pointer;
}

.tp-portal .tp-tab.is-active {
  border-color: var(--tp-navy);
  background: var(--tp-navy);
  color: #fff;
}

.tp-portal .tp-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, clamp(280px, 24vw, 360px)), 1fr));
  gap: clamp(18px, 1.8vw, 28px);
}

.tp-portal .tp-service-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(350px, 29vw, 430px);
  padding: clamp(20px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background:
    linear-gradient(145deg, #fff, rgba(246, 250, 255, 0.96)),
    #fff;
  box-shadow: 0 18px 44px rgba(0, 42, 87, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.tp-portal .tp-service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 199, 0, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(238, 246, 255, 0.7), rgba(255, 255, 255, 0) 42%);
  opacity: 0.82;
}

.tp-portal .tp-service-card::after {
  position: absolute;
  left: clamp(20px, 2vw, 30px);
  right: clamp(20px, 2vw, 30px);
  bottom: 0;
  height: 5px;
  content: "";
  border-radius: 999px 999px 0 0;
  background: var(--tp-yellow);
  opacity: 0.9;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.tp-portal .tp-service-card > * {
  position: relative;
  z-index: 1;
}

.tp-portal .tp-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 42, 90, 0.32);
  box-shadow: 0 26px 64px rgba(0, 42, 87, 0.14);
}

.tp-portal .tp-service-card:hover::after {
  transform: scaleX(1);
}

.tp-portal .tp-service-card:first-child {
  box-shadow: 0 18px 44px rgba(0, 42, 87, 0.08);
}

.tp-portal .tp-service-card:first-child::after {
  transform: scaleX(0.28);
}

.tp-portal .tp-service-card:first-child:hover::after {
  transform: scaleX(1);
}

.tp-portal .tp-service-card.is-hidden {
  display: none;
}

.tp-portal .tp-service-card__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tp-portal .tp-icon-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(46px, 3.7vw, 52px);
  height: clamp(46px, 3.7vw, 52px);
  border-radius: 8px;
  background: var(--tp-bg-blue-soft);
}

.tp-portal .tp-service-card .tp-icon-badge {
  width: clamp(70px, 6.2vw, 82px);
  height: clamp(70px, 6.2vw, 82px);
  background: transparent;
}

.tp-portal .tp-service-card .tp-icon-badge img {
  width: clamp(60px, 5.5vw, 72px);
  height: clamp(60px, 5.5vw, 72px);
}

.tp-portal .tp-icon-badge img {
  width: clamp(26px, 2.2vw, 30px);
  height: clamp(26px, 2.2vw, 30px);
}

.tp-portal .tp-slide-card .tp-icon-badge {
  width: clamp(56px, 4.8vw, 64px);
  height: clamp(56px, 4.8vw, 64px);
  margin-bottom: clamp(12px, 1.2vw, 16px);
  border-radius: 50%;
  background: var(--tp-bg-blue-soft);
}

.tp-portal .tp-slide-card .tp-icon-badge img {
  width: clamp(36px, 3.3vw, 42px);
  height: clamp(36px, 3.3vw, 42px);
}

.tp-portal .tp-icon-badge--teal { background: rgba(17, 156, 154, 0.10); }
.tp-portal .tp-icon-badge--orange { background: rgba(242, 138, 0, 0.12); }
.tp-portal .tp-icon-badge--blue { background: rgba(11, 92, 173, 0.10); }
.tp-portal .tp-icon-badge--red { background: rgba(232, 75, 75, 0.10); }

.tp-portal .tp-service-card__name,
.tp-portal .tp-service-card__logo-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: clamp(112px, 9.4vw, 142px);
  margin: 0 0 clamp(20px, 1.8vw, 26px);
  padding: clamp(14px, 1.4vw, 20px);
  border: 1px solid rgba(185, 209, 232, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.tp-portal .tp-service-card__logo {
  width: min(clamp(190px, 18vw, 260px), 100%);
  max-height: clamp(78px, 7.5vw, 110px);
  object-fit: contain;
}

.tp-portal .tp-service-card__title {
  margin: 0 0 8px;
  color: var(--tp-navy);
  font-size: clamp(20px, 1.42vw, 24px);
  line-height: 1.45;
}

.tp-portal .tp-service-card h3,
.tp-portal .tp-slide-card h3,
.tp-portal .tp-step h3 {
  margin: 0 0 10px;
  color: var(--tp-navy);
  font-size: var(--tp-h3);
  line-height: 1.45;
}

.tp-portal .tp-service-card h3.tp-service-card__title {
  margin: 0 0 8px;
  color: var(--tp-navy);
  font-size: clamp(20px, 1.42vw, 24px);
}

.tp-portal .tp-service-card .tp-service-card__name {
  margin: 0 0 clamp(20px, 1.8vw, 26px);
  font-size: 0;
  line-height: 1;
}

.tp-portal .tp-service-card p,
.tp-portal .tp-slide-card p,
.tp-portal .tp-step p {
  margin: 0;
  color: var(--tp-muted);
  font-size: var(--tp-small);
}

.tp-portal .tp-service-card .tp-service-card__summary {
  color: var(--tp-text);
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 800;
  line-height: 1.8;
}

.tp-portal .tp-service-card__fit {
  width: 100%;
  margin-top: clamp(14px, 1.2vw, 18px);
  padding: clamp(14px, 1.25vw, 18px);
  border: 1px solid rgba(185, 209, 232, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.tp-portal .tp-service-card__fit span {
  display: block;
  margin-bottom: 8px;
  color: var(--tp-blue);
  font-size: clamp(12px, 0.85vw, 13px);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.tp-portal .tp-service-card__fit ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-portal .tp-service-card__fit li {
  position: relative;
  padding-left: 16px;
  color: var(--tp-muted);
  font-size: clamp(13px, 0.92vw, 15px);
  line-height: 1.6;
}

.tp-portal .tp-service-card__fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tp-yellow);
}

.tp-portal .tp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: clamp(16px, 1.4vw, 20px) 0 clamp(18px, 1.6vw, 22px);
  justify-content: flex-start;
}

.tp-portal .tp-tags span {
  padding: 4px clamp(8px, 0.75vw, 10px);
  border-radius: 999px;
  background: var(--tp-bg-soft);
  color: var(--tp-muted);
  font-size: clamp(12px, 0.8vw, 13px);
  font-weight: 700;
}

.tp-portal .tp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--tp-blue);
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 900;
}

.tp-portal .tp-text-link span:last-child {
  transition: transform 0.2s ease;
}

.tp-portal .tp-text-link:hover span:last-child {
  transform: translateX(4px);
}

.tp-portal .tp-carousel {
  --tp-carousel-visible: 4;
  --tp-carousel-gap: clamp(12px, 1.25vw, 18px);
  position: relative;
  display: grid;
  grid-template-columns: clamp(38px, 3.5vw, 50px) minmax(0, 1fr) clamp(38px, 3.5vw, 50px);
  gap: clamp(8px, 1.25vw, 18px);
  align-items: center;
}

.tp-portal .tp-carousel__viewport {
  overflow: hidden;
}

.tp-portal .tp-carousel__track {
  display: flex;
  gap: var(--tp-carousel-gap);
  transition: transform 0.28s ease;
}

.tp-portal .tp-slide-card {
  flex: 0 0 calc((100% - (var(--tp-carousel-gap) * (var(--tp-carousel-visible) - 1))) / var(--tp-carousel-visible));
  min-height: clamp(198px, 16vw, 230px);
  padding: clamp(20px, 1.95vw, 28px);
  margin-right: 0;
}

.tp-portal .tp-slide-card--partner {
  min-height: clamp(350px, 27vw, 410px);
  padding: clamp(18px, 1.65vw, 24px);
}

.tp-portal .tp-partner-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(14px, 1.25vw, 18px);
  padding: clamp(14px, 1.3vw, 18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 252, 0.72)),
    repeating-linear-gradient(90deg, rgba(8, 42, 90, 0.05) 0 1px, transparent 1px 28px),
    var(--tp-bg-soft);
}

.tp-portal .tp-partner-visual::after {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 112px;
  height: 112px;
  content: "";
  border-radius: 50%;
  background: rgba(248, 196, 0, 0.18);
}

.tp-portal .tp-partner-visual--image {
  padding: 0;
  background: #fff;
}

.tp-portal .tp-partner-visual--image::after {
  display: none;
}

.tp-portal .tp-partner-visual--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tp-portal .tp-partner-visual--image > span {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tp-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.tp-portal .tp-partner-visual--photo {
  --tp-photo-bg: #fffaf2;
  --tp-photo-grad-strong: rgba(255, 250, 242, 0.96);
  --tp-photo-grad-mid: rgba(255, 247, 236, 0.9);
  --tp-photo-grad-soft: rgba(255, 255, 255, 0.26);
  --tp-photo-grad-tint: rgba(243, 142, 31, 0.08);
  --tp-photo-title: #2f261d;
  --tp-photo-kicker: #1e8a56;
  --tp-photo-subtitle: #f05a1a;
  --tp-photo-badge: #1e7e50;
  --tp-photo-badge-border: rgba(30, 138, 86, 0.24);
  background: var(--tp-photo-bg);
}

.tp-portal .tp-partner-visual--theme-recruit {
  --tp-photo-bg: #f5fff9;
  --tp-photo-grad-strong: rgba(245, 255, 249, 0.97);
  --tp-photo-grad-mid: rgba(235, 250, 244, 0.9);
  --tp-photo-grad-soft: rgba(255, 255, 255, 0.26);
  --tp-photo-grad-tint: rgba(255, 116, 77, 0.1);
  --tp-photo-title: #005847;
  --tp-photo-kicker: #005847;
  --tp-photo-subtitle: #ff744d;
  --tp-photo-badge: #005847;
  --tp-photo-badge-border: rgba(0, 88, 71, 0.22);
}

.tp-portal .tp-partner-visual--theme-benefit {
  --tp-photo-bg: #fffaf2;
  --tp-photo-grad-strong: rgba(255, 250, 242, 0.96);
  --tp-photo-grad-mid: rgba(255, 247, 236, 0.9);
  --tp-photo-grad-soft: rgba(255, 255, 255, 0.26);
  --tp-photo-grad-tint: rgba(243, 142, 31, 0.08);
  --tp-photo-title: #2f261d;
  --tp-photo-kicker: #1e8a56;
  --tp-photo-subtitle: #f05a1a;
  --tp-photo-badge: #1e7e50;
  --tp-photo-badge-border: rgba(30, 138, 86, 0.24);
}

.tp-portal .tp-partner-visual--theme-subsidy {
  --tp-photo-bg: #f2fbf9;
  --tp-photo-grad-strong: rgba(242, 251, 249, 0.97);
  --tp-photo-grad-mid: rgba(232, 248, 245, 0.9);
  --tp-photo-grad-soft: rgba(255, 255, 255, 0.26);
  --tp-photo-grad-tint: rgba(17, 156, 154, 0.09);
  --tp-photo-title: #073f4a;
  --tp-photo-kicker: #119c9a;
  --tp-photo-subtitle: #0a837f;
  --tp-photo-badge: #0a837f;
  --tp-photo-badge-border: rgba(17, 156, 154, 0.24);
}

.tp-portal .tp-partner-visual--theme-labor {
  --tp-photo-bg: #f7f9fc;
  --tp-photo-grad-strong: rgba(247, 249, 252, 0.97);
  --tp-photo-grad-mid: rgba(241, 245, 250, 0.9);
  --tp-photo-grad-soft: rgba(255, 255, 255, 0.24);
  --tp-photo-grad-tint: rgba(8, 42, 90, 0.07);
  --tp-photo-title: #082a5a;
  --tp-photo-kicker: #53657c;
  --tp-photo-subtitle: #0b5cad;
  --tp-photo-badge: #082a5a;
  --tp-photo-badge-border: rgba(8, 42, 90, 0.18);
}

.tp-portal .tp-partner-visual--theme-webit {
  --tp-photo-bg: #f1fbff;
  --tp-photo-grad-strong: rgba(241, 251, 255, 0.97);
  --tp-photo-grad-mid: rgba(230, 247, 252, 0.9);
  --tp-photo-grad-soft: rgba(255, 255, 255, 0.26);
  --tp-photo-grad-tint: rgba(13, 155, 177, 0.08);
  --tp-photo-title: #08335c;
  --tp-photo-kicker: #0b5cad;
  --tp-photo-subtitle: #119c9a;
  --tp-photo-badge: #0b5cad;
  --tp-photo-badge-border: rgba(11, 92, 173, 0.22);
}

.tp-portal .tp-partner-visual--photo::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, var(--tp-photo-grad-strong) 0%, var(--tp-photo-grad-mid) 38%, var(--tp-photo-grad-soft) 69%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), var(--tp-photo-grad-tint));
}

.tp-portal .tp-partner-visual--photo img {
  object-position: center center;
}

.tp-portal .tp-partner-visual__photo-copy {
  position: absolute;
  left: clamp(14px, 1.45vw, 22px);
  top: clamp(14px, 1.35vw, 20px);
  z-index: 2;
  width: min(72%, 360px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(4px, 0.5vw, 7px);
  color: var(--tp-photo-title);
  text-shadow: none;
}

.tp-portal .tp-partner-visual__photo-kicker {
  color: var(--tp-photo-kicker);
  font-size: clamp(8px, 0.65vw, 11px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tp-portal .tp-partner-visual__photo-copy strong {
  max-width: none;
  color: var(--tp-photo-title);
  font-size: clamp(21px, 2.05vw, 30px);
  line-height: 1;
  letter-spacing: 0;
}

.tp-portal .tp-partner-visual__photo-copy em {
  color: var(--tp-photo-subtitle);
  font-size: clamp(11px, 1.05vw, 16px);
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.tp-portal .tp-partner-visual__photo-copy small {
  margin-top: 3px;
  padding: clamp(4px, 0.55vw, 7px) clamp(9px, 0.9vw, 13px);
  border-radius: 999px;
  border: 1px solid var(--tp-photo-badge-border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--tp-photo-badge);
  font-size: clamp(9px, 0.78vw, 12px);
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  white-space: nowrap;
}

.tp-portal .tp-partner-visual--offer {
  background:
    linear-gradient(135deg, rgba(238, 245, 252, 0.96), rgba(255, 255, 255, 0.8)),
    linear-gradient(90deg, rgba(8, 42, 90, 0.08) 1px, transparent 1px),
    #fff;
}

.tp-portal .tp-partner-visual--subsidy {
  background:
    linear-gradient(135deg, rgba(17, 156, 154, 0.11), rgba(255, 255, 255, 0.88)),
    #fff;
}

.tp-portal .tp-partner-visual--labor {
  background:
    linear-gradient(135deg, rgba(8, 42, 90, 0.1), rgba(255, 255, 255, 0.92)),
    #fff;
}

.tp-portal .tp-partner-visual--webit {
  background:
    linear-gradient(135deg, rgba(11, 92, 173, 0.12), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(180deg, transparent 0 12px, rgba(8, 42, 90, 0.05) 12px 13px),
    #fff;
}

.tp-portal .tp-partner-visual--retirement {
  background:
    linear-gradient(135deg, rgba(8, 42, 90, 0.12), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(17, 156, 154, 0.08) 18px 19px),
    #f5fbfa;
}

.tp-portal .tp-partner-visual--retirement::after {
  background: rgba(17, 156, 154, 0.18);
}

.tp-portal .tp-partner-visual--consult {
  background:
    linear-gradient(135deg, rgba(248, 196, 0, 0.18), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(180deg, transparent 0 14px, rgba(8, 42, 90, 0.045) 14px 15px),
    #fffdf4;
}

.tp-portal .tp-partner-visual--consult::after {
  background: rgba(248, 196, 0, 0.24);
}

.tp-portal .tp-partner-visual__kicker {
  position: relative;
  z-index: 1;
  color: var(--tp-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tp-portal .tp-partner-visual strong {
  position: relative;
  z-index: 1;
  max-width: 92%;
  color: var(--tp-navy);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.35;
}

.tp-portal .tp-partner-visual__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tp-portal .tp-partner-visual__chips span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--tp-muted);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(8, 42, 90, 0.08);
}

.tp-portal #documents .tp-slide-card {
  min-height: clamp(190px, 15.5vw, 220px);
  display: grid;
  grid-template-columns: clamp(96px, 9vw, 116px) 1fr;
  column-gap: clamp(14px, 1.25vw, 18px);
  align-items: center;
}

.tp-portal .tp-doc-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  margin-bottom: 16px;
}

.tp-portal #documents .tp-doc-thumb {
  margin-bottom: 0;
  align-self: stretch;
}

.tp-portal .tp-slide-card .tp-button {
  margin-top: 18px;
}

.tp-portal .tp-carousel__arrow {
  width: clamp(38px, 3.5vw, 50px);
  height: clamp(38px, 3.5vw, 50px);
  border: 1px solid var(--tp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--tp-navy);
  font-size: clamp(22px, 1.95vw, 28px);
  line-height: 1;
  cursor: pointer;
}

.tp-portal .tp-carousel__arrow:hover {
  border-color: var(--tp-navy);
}

.tp-portal .tp-carousel__dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.tp-portal .tp-carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d6e6;
}

.tp-portal .tp-carousel__dots button.is-active {
  background: var(--tp-navy);
}

.tp-portal .tp-partner-note {
  margin-top: clamp(16px, 1.6vw, 22px);
  padding: clamp(18px, 1.7vw, 24px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(18px, 2vw, 32px);
  row-gap: 8px;
  align-items: center;
  border: 1px solid rgba(185, 209, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(8, 42, 90, 0.06);
}

.tp-portal .tp-partner-note strong {
  color: var(--tp-navy);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  white-space: nowrap;
}

.tp-portal .tp-partner-note p {
  justify-self: start;
  max-width: 680px;
  margin: 0;
  color: var(--tp-muted);
  font-size: var(--tp-small);
  line-height: 1.7;
}

.tp-portal .tp-partner-note .tp-text-link {
  margin-top: 0;
  white-space: nowrap;
}

.tp-portal .tp-magazine {
  margin-top: clamp(18px, 2vw, 26px);
  padding: clamp(20px, 2.15vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(clamp(300px, 25vw, 360px), 0.95fr);
  gap: clamp(22px, 2.35vw, 34px);
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 42, 90, 0.05);
}

.tp-portal .tp-magazine__latest {
  display: grid;
  grid-template-columns: clamp(220px, 22vw, 320px) minmax(0, 1fr);
  gap: clamp(18px, 1.8vw, 26px);
  align-items: center;
}

.tp-portal .tp-magazine__thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  background: var(--tp-bg-soft);
  object-fit: cover;
}

.tp-portal .tp-magazine h3,
.tp-portal .tp-magazine h4 {
  margin: 0;
  color: var(--tp-navy);
  line-height: 1.4;
}

.tp-portal .tp-magazine h3 {
  font-size: clamp(21px, 1.8vw, 26px);
}

.tp-portal .tp-magazine h4 {
  font-size: clamp(16px, 1.2vw, 18px);
}

.tp-portal .tp-magazine__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
}

.tp-portal .tp-magazine__badge,
.tp-portal .tp-magazine__month {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 900;
}

.tp-portal .tp-magazine__badge {
  background: var(--tp-yellow);
  color: var(--tp-navy-deep);
}

.tp-portal .tp-magazine__month {
  background: var(--tp-bg-blue-soft);
  color: var(--tp-blue);
}

.tp-portal .tp-magazine p {
  margin: 0 0 18px;
  color: var(--tp-muted);
  font-size: clamp(14px, 1vw, 16px);
}

.tp-portal .tp-magazine__note {
  padding-left: 14px;
  border-left: 3px solid var(--tp-yellow);
  font-size: var(--tp-small);
}

.tp-portal .tp-magazine__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tp-portal .tp-magazine__archive {
  padding-left: clamp(22px, 2.35vw, 34px);
  border-left: 1px solid var(--tp-border);
}

.tp-portal .tp-magazine__archive-head {
  margin-bottom: 14px;
}

.tp-portal .tp-magazine__archive-head p {
  margin: 8px 0 0;
  color: var(--tp-muted);
  font-size: var(--tp-small);
  line-height: 1.65;
}

.tp-portal .tp-magazine__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1vw, 14px);
}

.tp-portal .tp-magazine-card {
  min-width: 0;
  padding: clamp(10px, 1vw, 14px);
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  background: var(--tp-bg-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-portal .tp-magazine-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tp-shadow);
}

.tp-portal .tp-magazine-card .tp-magazine__thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--tp-border);
  border-radius: 6px;
  background: #fff;
}

.tp-portal .tp-magazine-card span {
  display: block;
  margin-top: 10px;
  color: var(--tp-blue);
  font-size: clamp(12px, 0.85vw, 13px);
  font-weight: 900;
}

.tp-portal .tp-magazine-card strong {
  display: block;
  color: var(--tp-navy);
  font-size: clamp(13px, 0.9vw, 14px);
  line-height: 1.45;
}

.tp-portal .tp-magazine-card .tp-text-link {
  margin-top: 10px;
}

.tp-portal .tp-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
}

.tp-portal .tp-news-box {
  max-width: min(840px, 100%);
  padding: clamp(18px, 1.65vw, 24px);
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  background: #fff;
}

.tp-portal .tp-news-box time {
  display: inline-block;
  margin-right: 12px;
  color: var(--tp-blue);
  font-size: clamp(13px, 0.9vw, 14px);
  font-weight: 900;
}

.tp-portal .tp-news-box span {
  color: var(--tp-navy);
  font-size: clamp(15px, 1vw, 16px);
  font-weight: 900;
}

.tp-portal .tp-news-box p {
  margin: 10px 0 0;
  color: var(--tp-muted);
  font-size: var(--tp-small);
}

.tp-portal .tp-step {
  position: relative;
  display: grid;
  grid-template-columns: clamp(58px, 5vw, 72px) 1fr;
  gap: clamp(16px, 1.5vw, 22px);
  align-items: start;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.tp-portal .tp-step:not(:last-child)::after {
  position: absolute;
  right: -28px;
  top: 44px;
  content: ">";
  color: var(--tp-navy);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 900;
}

.tp-portal .tp-step__num {
  display: inline-grid;
  place-items: center;
  position: absolute;
  left: -6px;
  top: -10px;
  z-index: 1;
  width: clamp(30px, 2.4vw, 34px);
  height: clamp(30px, 2.4vw, 34px);
  margin-bottom: 0;
  border-radius: 50%;
  background: var(--tp-navy);
  color: #fff;
  font-size: clamp(13px, 0.9vw, 14px);
  font-weight: 900;
}

.tp-portal .tp-step img {
  position: static;
  width: clamp(54px, 4.6vw, 66px);
  height: clamp(54px, 4.6vw, 66px);
}

.tp-portal .tp-testimonials {
  position: relative;
}

.tp-portal .tp-testimonials::before {
  content: "";
  position: absolute;
  inset: 18% calc(var(--tp-page-gutter) * -1) auto;
  height: 58%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 35%, rgba(255, 199, 0, 0.14), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(0, 96, 172, 0.12), transparent 28%),
    linear-gradient(120deg, rgba(238, 246, 255, 0.74), rgba(255, 255, 255, 0));
  opacity: 0.9;
}

.tp-portal .tp-voice-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 466px));
  justify-content: center;
  gap: clamp(14px, 1.45vw, 20px);
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.tp-portal .tp-voice-card {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: clamp(20px, 2vw, 28px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 1.35vw, 18px);
  border: 1px solid rgba(185, 209, 232, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 255, 0.82)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(0, 42, 87, 0.06);
  backdrop-filter: blur(12px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.tp-portal .tp-voice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 199, 0, 0.16), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(0, 96, 172, 0.13), transparent 30%);
}

.tp-portal .tp-voice-card::after {
  content: "";
  position: absolute;
  top: -45%;
  left: -70%;
  width: 42%;
  height: 190%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg);
  transition: left 0.65s ease;
}

.tp-portal .tp-voice-card:hover,
.tp-portal .tp-voice-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(0, 64, 124, 0.28);
  box-shadow: 0 18px 42px rgba(0, 42, 87, 0.1);
}

.tp-portal .tp-voice-card:hover::after,
.tp-portal .tp-voice-card:focus-within::after {
  left: 128%;
}

.tp-portal .tp-voice-card > * {
  position: relative;
  z-index: 1;
}

.tp-portal .tp-voice-card__photo {
  display: none;
}

.tp-portal .tp-voice-card__headline,
.tp-portal .tp-voice-card__facts,
.tp-portal .tp-voice-card__footer {
  grid-column: 1 / -1;
}

.tp-portal .tp-voice-card__headline {
  display: grid;
  gap: 8px;
}

.tp-portal .tp-voice-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tp-portal .tp-voice-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 96, 172, 0.08);
  color: var(--tp-blue);
  font-size: clamp(11px, 0.78vw, 12px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.tp-portal .tp-voice-card__quote-mark {
  margin-top: -12px;
  color: rgba(255, 199, 0, 0.9);
  font-family: Georgia, serif;
  font-size: clamp(42px, 3.7vw, 56px);
  font-weight: 700;
  line-height: 0.8;
}

.tp-portal .tp-voice-card__facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.tp-portal .tp-voice-card__facts div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.tp-portal .tp-voice-card__facts dt {
  display: inline-flex;
  justify-content: center;
  min-height: 22px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(248, 196, 0, 0.2);
  color: var(--tp-navy);
  font-size: 11px;
  font-weight: 900;
}

.tp-portal .tp-voice-card__facts dd {
  margin: 0;
  color: var(--tp-muted);
  font-size: clamp(12px, 0.88vw, 14px);
  line-height: 1.55;
}

.tp-portal .tp-voice-card__quote {
  margin: 0;
  color: var(--tp-navy);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 800;
  line-height: 1.75;
}

.tp-portal .tp-voice-card__result {
  margin: 2px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--tp-yellow);
  color: var(--tp-muted);
  font-size: clamp(12px, 0.88vw, 14px);
  line-height: 1.6;
}

.tp-portal .tp-voice-card__result span {
  display: block;
  margin-bottom: 2px;
  color: var(--tp-navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.tp-portal .tp-voice-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.tp-portal .tp-voice-card__avatar {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tp-navy);
  color: #fff;
  font-weight: 900;
}

.tp-portal .tp-voice-card__footer strong,
.tp-portal .tp-voice-card__footer small {
  display: block;
}

.tp-portal .tp-voice-card__footer strong {
  color: var(--tp-navy);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 900;
}

.tp-portal .tp-voice-card__footer small {
  margin-top: 2px;
  color: var(--tp-muted);
  font-size: clamp(12px, 0.86vw, 13px);
}

.tp-portal .tp-faq-list {
  display: grid;
  gap: clamp(10px, 0.85vw, 12px);
}

.tp-portal .tp-faq {
  overflow: hidden;
}

.tp-portal .tp-faq button {
  width: 100%;
  min-height: clamp(64px, 5vw, 72px);
  padding: clamp(18px, 1.5vw, 22px) clamp(20px, 1.8vw, 26px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: #fff;
  color: var(--tp-navy);
  font: inherit;
  font-size: clamp(15px, 1vw, 16px);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.tp-portal .tp-faq button span:last-child {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.tp-portal .tp-faq button span:last-child::before,
.tp-portal .tp-faq button span:last-child::after {
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--tp-navy);
}

.tp-portal .tp-faq button span:last-child::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.tp-portal .tp-faq button[aria-expanded="true"] span:last-child::after {
  transform: rotate(0);
}

.tp-portal .tp-faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.tp-portal .tp-faq button[aria-expanded="true"] + .tp-faq__body {
  max-height: 220px;
}

.tp-portal .tp-faq__body p {
  margin: 0;
  padding: 0 clamp(20px, 1.8vw, 26px) clamp(18px, 1.5vw, 22px);
  color: var(--tp-muted);
  font-size: var(--tp-small);
}

.tp-portal .tp-final-cta {
  margin-top: clamp(14px, 1.5vw, 22px);
  margin-bottom: 0;
  padding: clamp(26px, 2.8vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 1.95vw, 28px);
  border-radius: 8px;
  background: var(--tp-navy-deep);
}

.tp-portal .tp-final-cta::before {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(62px, 5.4vw, 78px);
  height: clamp(62px, 5.4vw, 78px);
  border-radius: 50%;
  content: "";
  background:
    url("../icons/icon-mail.svg") center / 66% auto no-repeat,
    var(--tp-yellow);
}

.tp-portal .tp-final-cta .tp-eyebrow,
.tp-portal .tp-final-cta h2,
.tp-portal .tp-final-cta p {
  color: #fff;
}

.tp-portal .tp-footer {
  margin-top: clamp(42px, 4vw, 56px);
  padding: clamp(26px, 2.4vw, 32px) 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--tp-border);
  color: var(--tp-muted);
  font-size: clamp(13px, 0.9vw, 14px);
}

.tp-portal .tp-footer__seminar-link {
  max-width: 100%;
  min-height: 54px;
  padding: 6px 12px 6px 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(8, 42, 90, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--tp-navy);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 42, 90, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tp-portal .tp-footer__seminar-link:hover,
.tp-portal .tp-footer__seminar-link:focus-visible {
  color: var(--tp-blue);
  border-color: rgba(242, 138, 0, 0.42);
  box-shadow: 0 14px 28px rgba(8, 42, 90, 0.12);
  transform: translateY(-1px);
}

.tp-portal .tp-footer__seminar-link:focus-visible {
  outline: 3px solid rgba(242, 138, 0, 0.22);
  outline-offset: 3px;
}

.tp-portal .tp-footer img {
  width: 132px;
  max-height: 42px;
  object-fit: contain;
  padding: 7px 10px;
  border-radius: 6px;
  background: #fff;
}

.tp-portal .tp-footer__seminar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--tp-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(242, 138, 0, 0.22);
}

.tp-portal .tp-footer__seminar-label::after {
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.tp-portal .tp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}

.tp-portal .tp-footer nav a:hover {
  color: var(--tp-navy);
}

.tp-portal .tp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.tp-portal .tp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tp-portal .tp-voice-card.tp-reveal {
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.tp-portal .tp-voice-card.tp-reveal:not(.is-visible):nth-child(2) {
  transition-delay: 0.06s;
}

.tp-portal .tp-voice-card.tp-reveal:not(.is-visible):nth-child(3) {
  transition-delay: 0.12s;
}

.tp-portal .tp-voice-card.tp-reveal.is-visible:hover,
.tp-portal .tp-voice-card.tp-reveal.is-visible:focus-within {
  transform: translateY(-3px);
}

@media (max-width: 1120px) {
  .tp-portal .tp-nav {
    display: none;
  }
}

@media (max-width: 1024px) {
  .tp-portal .tp-hero {
    grid-template-columns: 1fr;
  }

  .tp-portal .tp-hero__visual {
    min-height: clamp(360px, 46vw, 430px);
  }

  .tp-portal .tp-node--4 {
    right: 24px;
  }

  .tp-portal .tp-voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-portal .tp-voice-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 960px) {
  .tp-portal .tp-carousel {
    --tp-carousel-visible: 2;
  }

  .tp-portal .tp-partner-note {
    grid-template-columns: 1fr;
  }

  .tp-portal .tp-partner-note strong {
    white-space: normal;
  }

  .tp-portal .tp-partner-note .tp-text-link {
    white-space: normal;
  }

  .tp-portal .tp-magazine {
    grid-template-columns: 1fr;
  }

  .tp-portal .tp-magazine__archive {
    padding-left: 0;
    padding-top: clamp(20px, 3vw, 28px);
    border-left: 0;
    border-top: 1px solid var(--tp-border);
  }

  .tp-portal .tp-magazine__latest {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .tp-portal .tp-magazine__latest > .tp-magazine__thumb {
    max-width: min(100%, 360px);
  }
}

@media (max-width: 768px) {
  .tp-portal {
    --tp-page-gutter: 14px;
    --tp-section-y: 36px;
  }

  .tp-portal .tp-header,
  .tp-portal .tp-hero,
  .tp-portal .tp-feature-row,
  .tp-portal .tp-section,
  .tp-portal .tp-news-strip,
  .tp-portal .tp-final-cta,
  .tp-portal .tp-footer {
    width: var(--tp-container);
  }

  .tp-portal .tp-header {
    min-height: clamp(62px, 9vw, 66px);
  }

  .tp-portal .tp-brand img {
    width: clamp(112px, 24vw, 124px);
  }

  .tp-portal .tp-brand span {
    display: none;
  }

  .tp-portal .tp-button--header {
    padding: 0 clamp(12px, 3vw, 16px);
    font-size: clamp(12px, 3.2vw, 13px);
  }

  .tp-portal .tp-hero {
    padding: clamp(32px, 5.2vw, 40px) 0 clamp(28px, 4.8vw, 36px);
    gap: clamp(22px, 4vw, 30px);
  }

  .tp-portal .tp-hero h1 {
    font-size: clamp(32px, 8vw, 36px);
  }

  .tp-portal .tp-hero__visual {
    min-height: clamp(250px, 52vw, 330px);
  }

  .tp-portal .tp-hero__visual::before,
  .tp-portal .tp-hero__visual::after,
  .tp-portal .tp-node,
  .tp-portal .tp-laptop-base {
    display: none;
  }

  .tp-portal .tp-final-cta__actions {
    flex-direction: column;
  }

  .tp-portal .tp-final-cta__actions .tp-button {
    width: 100%;
  }

  .tp-portal .tp-hero__actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .tp-portal .tp-hero__actions .tp-button {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .tp-portal .tp-feature-row,
  .tp-portal .tp-step-grid,
  .tp-portal .tp-flow-strip,
  .tp-portal .tp-voice-grid {
    grid-template-columns: 1fr;
  }

  .tp-portal .tp-voice-card,
  .tp-portal .tp-voice-card:last-child {
    grid-column: auto;
  }

  .tp-portal .tp-voice-card {
    min-height: auto;
  }

  .tp-portal .tp-feature-row {
    gap: 6px;
  }

  .tp-portal .tp-section {
    padding: var(--tp-section-y) 0;
  }

  .tp-portal .tp-section--soft {
    width: 100%;
    padding-left: var(--tp-page-gutter);
    padding-right: var(--tp-page-gutter);
  }

  .tp-portal .tp-section--main,
  .tp-portal .tp-section--partners,
  .tp-portal .tp-section--download {
    width: 100%;
    padding-left: var(--tp-page-gutter);
    padding-right: var(--tp-page-gutter);
  }

  .tp-portal .tp-section__head h2,
  .tp-portal .tp-final-cta h2 {
    font-size: clamp(25px, 6.5vw, 27px);
  }

  .tp-portal .tp-service-grid {
    grid-template-columns: 1fr;
  }

  .tp-portal .tp-service-card {
    min-height: auto;
  }

  .tp-portal .tp-issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tp-portal .tp-issue-card {
    min-height: auto;
    padding: 16px 12px;
    gap: 7px;
  }

  .tp-portal .tp-issue-card img {
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .tp-portal .tp-issue-card strong {
    font-size: 15px;
    line-height: 1.45;
  }

  .tp-portal .tp-issue-card p {
    font-size: 12px;
    line-height: 1.6;
  }

  .tp-portal .tp-issue-card small,
  .tp-portal .tp-issue-card > span {
    font-size: 11px;
    line-height: 1.45;
  }

  .tp-portal .tp-carousel {
    --tp-carousel-visible: 1;
    --tp-carousel-gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .tp-portal .tp-carousel__viewport {
    grid-column: 1;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .tp-portal .tp-carousel__viewport::-webkit-scrollbar {
    display: none;
  }

  .tp-portal .tp-carousel__track {
    transform: none !important;
    transition: none;
    will-change: auto;
  }

  .tp-portal .tp-carousel__track .is-clone {
    display: none;
  }

  .tp-portal .tp-carousel .tp-slide-card {
    flex: 0 0 min(84%, 350px) !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

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

  .tp-portal .tp-carousel__dots {
    margin-top: 10px;
  }

  .tp-portal #documents .tp-slide-card {
    grid-template-columns: 1fr;
  }

  .tp-portal #documents .tp-doc-thumb {
    margin-bottom: 16px;
  }

  .tp-portal .tp-step-grid {
    gap: 22px;
  }

  .tp-portal .tp-voice-grid {
    display: flex;
    gap: 12px;
    margin-right: calc(var(--tp-page-gutter) * -1);
    padding-right: var(--tp-page-gutter);
    padding-bottom: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tp-portal .tp-voice-grid::-webkit-scrollbar {
    display: none;
  }

  .tp-portal .tp-voice-card,
  .tp-portal .tp-voice-card:last-child {
    flex: 0 0 min(84%, 380px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .tp-portal .tp-step {
    grid-template-columns: 58px 1fr;
  }

  .tp-portal .tp-step:not(:last-child)::after {
    display: none;
  }

  .tp-portal .tp-final-cta,
  .tp-portal .tp-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .tp-portal .tp-footer__seminar-link {
    flex-wrap: wrap;
    gap: 10px 12px;
    border-radius: var(--tp-radius);
  }

  .tp-portal .tp-final-cta {
    padding: clamp(24px, 5.2vw, 28px) clamp(18px, 5vw, 22px);
  }

  .tp-portal .tp-footer nav {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .tp-portal {
    --tp-page-gutter: 12px;
  }

  .tp-portal .tp-footer__seminar-label {
    width: 100%;
    justify-content: center;
  }

  .tp-portal .tp-news-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .tp-portal .tp-issue-card {
    min-height: auto;
  }

  .tp-portal .tp-voice-card {
    grid-template-columns: 1fr;
  }

  .tp-portal .tp-voice-card__headline,
  .tp-portal .tp-voice-card__facts,
  .tp-portal .tp-voice-card__footer {
    grid-column: auto;
    grid-row: auto;
  }

  .tp-portal .tp-header {
    gap: 10px;
  }

  .tp-portal .tp-brand img {
    width: clamp(104px, 30vw, 112px);
  }

  .tp-portal .tp-hero h1 {
    font-size: clamp(30px, 8.8vw, 32px);
  }

  .tp-portal .tp-hero__visual {
    min-height: 254px;
  }

  .tp-portal .tp-dashboard {
    width: min(92%, 360px);
    padding: 0;
    display: block;
    border-width: 5px;
  }

  .tp-portal .tp-dashboard aside {
    display: none;
  }

  .tp-portal .tp-dashboard__main {
    padding: 14px;
  }

  .tp-portal .tp-dashboard__bar {
    margin-bottom: 10px;
  }

  .tp-portal .tp-dashboard__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0;
  }

  .tp-portal .tp-dashboard__grid div {
    min-height: 66px;
    padding: 8px 6px;
  }

  .tp-portal .tp-dashboard__grid b {
    font-size: 20px;
  }

  .tp-portal .tp-dashboard__grid small,
  .tp-portal .tp-dashboard__grid span {
    font-size: 9px;
    line-height: 1.35;
  }

  .tp-portal .tp-node {
    width: clamp(96px, 29vw, 112px);
    min-height: clamp(48px, 14vw, 54px);
    padding: 8px;
  }

  .tp-portal .tp-node img {
    max-width: clamp(78px, 24vw, 92px);
    max-height: 34px;
  }

  .tp-portal .tp-service-grid {
    grid-template-columns: 1fr;
  }

  .tp-portal .tp-node--1 { left: 8px; top: 18px; }
  .tp-portal .tp-node--2 { right: 6px; top: 38px; }
  .tp-portal .tp-node--3 { left: 10px; bottom: 18px; }
  .tp-portal .tp-node--4 { right: 8px; top: auto; bottom: 86px; }
  .tp-portal .tp-node--5 { right: 8px; bottom: 18px; }
  .tp-portal .tp-node--6 { left: 8px; top: auto; bottom: 86px; }

  .tp-portal .tp-magazine {
    padding: clamp(14px, 4.2vw, 18px);
  }

  .tp-portal .tp-magazine__latest {
    grid-template-columns: 1fr;
  }

  .tp-portal .tp-magazine__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .tp-portal .tp-magazine-card {
    padding: 7px;
  }

  .tp-portal .tp-magazine-card span {
    margin-top: 6px;
    font-size: 11px;
  }

  .tp-portal .tp-magazine-card strong {
    font-size: 11px;
    line-height: 1.35;
  }

  .tp-portal .tp-magazine-card .tp-text-link {
    gap: 4px;
    margin-top: 6px;
    font-size: 11px;
  }

  .tp-portal .tp-final-cta {
    align-items: center;
    gap: 14px;
    padding: 24px 20px 26px;
    text-align: center;
  }

  .tp-portal .tp-final-cta::before {
    width: 58px;
    height: 58px;
  }

  .tp-portal .tp-final-cta .tp-eyebrow {
    margin-bottom: 6px;
  }

  .tp-portal .tp-final-cta h2 {
    max-width: 13em;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(24px, 6.7vw, 27px);
    line-height: 1.42;
  }

  .tp-portal .tp-final-cta h2 span {
    display: block;
  }

  .tp-portal .tp-final-cta p {
    max-width: 25em;
    margin: 12px auto 0;
    font-size: 14px;
    line-height: 1.85;
  }

  .tp-portal .tp-final-cta__actions {
    width: 100%;
    gap: 10px;
    margin-top: 4px;
    align-items: center;
  }

  .tp-portal .tp-final-cta__actions .tp-button {
    width: min(100%, 280px);
    min-height: 50px;
    justify-content: center;
  }

  .tp-portal .tp-laptop-base {
    top: calc(50% + 130px);
    width: 78%;
  }
}

.tp-portal .tp-testimonials .tp-voice-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(320px, 466px)) !important;
  justify-content: center !important;
  align-items: stretch !important;
  width: min(100%, 980px) !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: clamp(18px, 2vw, 28px) !important;
  overflow: visible !important;
}

.tp-portal .tp-testimonials .tp-voice-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto !important;
  width: 100% !important;
  min-height: clamp(330px, 24vw, 370px);
}

.tp-portal .tp-testimonials .tp-voice-card__photo {
  display: none !important;
}

.tp-portal .tp-testimonials .tp-voice-card__headline,
.tp-portal .tp-testimonials .tp-voice-card__facts,
.tp-portal .tp-testimonials .tp-voice-card__footer {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
}

@media (max-width: 900px) {
  .tp-portal .tp-testimonials .tp-voice-grid {
    grid-template-columns: minmax(0, 560px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-portal *,
  .tp-portal *::before,
  .tp-portal *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
