/* Manufacturing Toolbox Talks — matches processpanda_manufacturing_engineering_toolbox_talks_bootstrap.html */

.ttm-page {
  --ttm-green: #39b54a;
  --ttm-green-dark: #2c9739;
  --ttm-black: #081014;
  --ttm-panel: #0f1820;
  --ttm-text: #172027;
  --ttm-muted: #657079;
  --ttm-line: #dde4e8;
  --ttm-soft: #f7f9f9;
  color: var(--ttm-text);
  background: #fff;
}

/* Narrow all non-hero sections by 20% (10% inset each side) */
.ttm-page > section:not(.ttm-hero) {
  padding-left: 10%;
  padding-right: 10%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .ttm-page > section:not(.ttm-hero) {
    padding-left: 0;
    padding-right: 0;
  }
}

.ttm-accent { color: var(--ttm-green); }

.ttm-section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #111;
}

.ttm-section-title--left { text-align: left; }

.ttm-subtext {
  color: var(--ttm-muted);
  line-height: 1.6;
  margin: 0.75rem auto 0;
  text-align: center;
  max-width: 720px;
}

.ttm-subtext--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.ttm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 9px;
  background: var(--ttm-green);
  border: 1px solid var(--ttm-green);
  color: #fff !important;
  font-weight: 750;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

a.ttm-btn { cursor: pointer; }

.ttm-btn:hover {
  background: var(--ttm-green-dark);
  border-color: var(--ttm-green-dark);
  color: #fff !important;
}

.ttm-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
  font-weight: 600;
}

.ttm-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff !important;
}

.ttm-btn--sm {
  min-height: 36px;
  padding: 8px 16px;
  font-size: 0.875rem;
  margin-top: 12px;
}

.ttm-check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.ttm-check-list li {
  position: relative;
  padding-left: 32px;
  margin: 14px 0;
  color: #374148;
  line-height: 1.45;
}

.ttm-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ttm-green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  line-height: 20px;
}

/* ---------- Hero ---------- */
/* Match header (#00060f) so no dark seam under sticky nav */
body:has(.ttm-page) .header {
  border-bottom: none;
  background: #00060f;
}

.ttm-hero {
  position: relative;
  background: #00060f;
  color: #fff;
  padding: 36px 0 0;
  overflow: visible;
  min-height: 680px;
  display: flex;
  flex-direction: column;
}

.ttm-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: min(68%, 1040px);
  height: calc(100% - 56px);
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.ttm-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #00060f 0%, rgba(0, 6, 15, 0.92) 12%, rgba(0, 6, 15, 0.35) 38%, transparent 58%),
    linear-gradient(180deg, #00060f 0%, transparent 18%),
    linear-gradient(0deg, #00060f 0%, transparent 22%);
  pointer-events: none;
}

.ttm-hero-visual {
  width: 108%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  display: block;
  border-radius: 0;
  min-height: 0;
  max-height: none;
  transform: translateX(4%);
}

.ttm-hero-copy-wrap {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 36px;
  min-height: 520px;
}

.ttm-hero-copy {
  max-width: 560px;
}

.ttm-hero-flow-wrap {
  position: relative;
  z-index: 3;
  margin-top: auto;
}

.ttm-hero-copy h1 {
  margin: 0;
  font-size: 53px;
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: -0.045em;
  color: #fff;
}

.ttm-hero-kicker {
  display: block;
  color: #fff;
  font-weight: 550;
  font-size: 0.9em;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.12em;
}

.ttm-hero-copy h1 .ttm-accent {
  display: block;
  font-weight: 750;
}

.ttm-hero-lead {
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 450;
}

.ttm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.55rem;
}

.ttm-hero-actions .ttm-btn {
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.ttm-hero-actions .ttm-btn--ghost {
  background: var(--ttm-green);
  border-color: var(--ttm-green);
  color: #fff !important;
  border-width: 1.5px;
  min-width: 148px;
}

.ttm-hero-actions .ttm-btn--ghost:hover {
  background: var(--ttm-green-dark);
  border-color: var(--ttm-green-dark);
  color: #fff !important;
}

.ttm-hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: #f3f6f7;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 550;
}

.ttm-hero-trust span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ttm-hero-trust em {
  font-style: normal;
  font-weight: 450;
}

.ttm-hero-trust i {
  color: var(--ttm-green);
  font-size: 1.15rem;
  margin-top: 2px;
  flex: 0 0 auto;
}

.ttm-hero-flow {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    36px
    minmax(0, 1fr)
    36px
    minmax(0, 1fr)
    36px
    minmax(0, 1fr);
  align-items: center;
  column-gap: 2px;
  margin-top: 0;
  transform: translateY(40px);
  background: #0a1218;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 3;
  padding: 26px 24px;
  width: 100%;
  box-sizing: border-box;
}

.ttm-flow-item {
  padding: 6px 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-right: 0;
  min-width: 0;
}

.ttm-flow-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 72px;
  color: var(--ttm-green);
  font-size: 1.05rem;
  font-weight: 400;
  opacity: 0.92;
  border: 0;
  padding: 0;
  line-height: 1;
}

.ttm-flow-item i {
  color: #fff;
  font-size: 1.75rem;
  flex: 0 0 auto;
  margin-top: 0;
  width: 1.35em;
  text-align: center;
}

.ttm-flow-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  margin-top: 0;
  display: block;
  object-fit: contain;
}

.ttm-flow-item strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.ttm-flow-item span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  margin-top: 4px;
  line-height: 1.35;
  font-weight: 450;
}

/* ---------- Create ---------- */
.ttm-create {
  padding: 100px 0 80px;
  background: var(--ttm-soft);
}

.ttm-create-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.55fr);
  gap: 36px 48px;
  align-items: start;
}

.ttm-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
  gap: 0 8px;
  align-items: stretch;
}

.ttm-step-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e2e7ea;
  border-radius: 16px;
  padding: 22px 18px 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ttm-step-chevron {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 88px;
  color: #b7c0c6;
  font-size: 1.15rem;
  opacity: 0.9;
}

.ttm-step-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ttm-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ttm-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 16px 0 12px;
  flex: 0 0 auto;
}

.ttm-step-icon--outline {
  background: #fff;
  color: var(--ttm-green);
  border: 2.5px solid var(--ttm-green);
}

.ttm-step-card > p {
  margin: 0 0 18px;
  color: var(--ttm-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 26ch;
}

.ttm-video-thumb {
  position: relative;
  width: 100%;
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0e171d;
}

.ttm-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ttm-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.ttm-video-play i {
  margin-left: 2px;
}

.ttm-video-time {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.ttm-question-box {
  width: 100%;
  border: 1px solid #dce2e6;
  border-radius: 12px;
  padding: 14px;
  margin-top: auto;
  text-align: left;
  background: #fff;
}

.ttm-question-prompt {
  font-weight: 700;
  font-size: 0.82rem;
  color: #111;
  line-height: 1.35;
  margin-bottom: 4px;
}

.ttm-answer {
  border: 1px solid #dfe5e7;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 7px;
  font-size: 0.82rem;
  color: #374148;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
}

.ttm-answer span {
  font-weight: 700;
  min-width: 0.9em;
}

.ttm-answer--correct {
  background: var(--ttm-green);
  color: #fff;
  border-color: var(--ttm-green);
}

.ttm-certificate {
  width: 100%;
  border: 1px solid #dfe5e7;
  border-radius: 12px;
  padding: 16px;
  margin-top: auto;
  position: relative;
  text-align: left;
  background: #fff;
  min-height: 168px;
}

.ttm-cert-title {
  font-weight: 800;
  color: #111;
  font-size: 0.98rem;
}

.ttm-cert-label {
  font-size: 0.78rem;
  color: #6b757c;
  margin-top: 10px;
}

.ttm-cert-name {
  font-weight: 700;
  color: #111;
  font-size: 0.92rem;
}

.ttm-cert-pass {
  margin-top: 10px;
  color: var(--ttm-green);
  font-weight: 800;
  font-size: 0.95rem;
}

.ttm-cert-date {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #6b757c;
}

.ttm-cert-sign {
  margin-top: 14px;
  font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
  font-size: 1.15rem;
  color: #3a454c;
  opacity: 0.85;
}

.ttm-cert-icon {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 1.85rem;
  color: var(--ttm-green);
  line-height: 1;
}

/* ---------- Examples ---------- */
.ttm-examples {
  padding: 0 0 48px;
}

.ttm-examples .ttm-section-title {
  margin-bottom: 1.5rem;
}

.ttm-examples-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.ttm-example-card {
  height: 100%;
  border: 1px solid #e1e6e9;
  border-radius: 14px;
  padding: 24px 18px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.ttm-example-card i {
  font-size: 2.2rem;
  color: var(--ttm-green-dark);
  margin-bottom: 14px;
}

.ttm-example-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #111;
}

.ttm-example-card p {
  color: #5e686f;
  font-size: 0.86rem;
  margin: 0;
  line-height: 1.45;
}

.ttm-new-starter {
  border: 1px solid rgba(57, 181, 74, 0.45);
  background: #fbfffb;
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 1.5rem;
}

.ttm-new-starter i {
  color: var(--ttm-green-dark);
  font-size: 2rem;
  flex: 0 0 auto;
}

.ttm-new-starter strong {
  display: block;
  color: var(--ttm-green-dark);
  font-weight: 700;
}

.ttm-new-starter span {
  display: block;
  font-size: 0.875rem;
  color: #6b757c;
  margin-top: 2px;
}

/* ---------- Manage ---------- */
.ttm-manage {
  padding: 48px 0 72px;
}

.ttm-manage-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: center;
}

.ttm-manage-media img {
  width: 100%;
  height: auto;
  display: block;
}

.ttm-audit-box {
  border: 1px solid rgba(57, 181, 74, 0.45);
  border-radius: 12px;
  padding: 18px 20px;
  background: #fbfffb;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.ttm-audit-box i {
  color: var(--ttm-green-dark);
  font-size: 1.8rem;
  flex: 0 0 auto;
  margin-top: 2px;
}

.ttm-audit-box strong {
  display: block;
  color: var(--ttm-green-dark);
  font-weight: 700;
}

.ttm-audit-box span {
  display: block;
  font-size: 0.875rem;
  color: #6b757c;
  margin-top: 4px;
  line-height: 1.45;
}

/* ---------- CTA ---------- */
.ttm-cta { padding: 0 0 40px; }

.ttm-cta-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #091218;
  color: #fff;
  border-radius: 16px;
  padding: 30px 34px;
}

.ttm-cta-panel h2 {
  font-size: 1.9rem;
  font-weight: 850;
  margin: 0;
  color: #fff;
  letter-spacing: -0.02em;
}

.ttm-cta-panel p {
  color: #d1d9dd;
  margin: 0.25rem 0 0;
}

.ttm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .ttm-hero-media {
    width: min(58%, 780px);
  }

  .ttm-hero-copy {
    max-width: 520px;
  }

  .ttm-flow-item {
    padding: 18px 14px;
  }
}

@media (max-width: 991.98px) {
  .ttm-hero {
    min-height: 0;
    padding-top: 28px;
  }

  .ttm-hero-copy-wrap {
    order: 1;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 12px;
    align-items: flex-start;
  }

  .ttm-hero-media {
    position: relative;
    order: 2;
    width: 100%;
    height: auto;
    min-height: 280px;
    margin-top: 8px;
  }

  .ttm-hero-media::before {
    background:
      linear-gradient(180deg, #00060f 0%, transparent 22%),
      linear-gradient(0deg, #00060f 0%, transparent 28%),
      linear-gradient(90deg, #00060f 0%, transparent 18%);
  }

  .ttm-hero-visual {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }

  .ttm-hero-copy {
    max-width: none;
  }

  .ttm-hero-flow-wrap {
    order: 3;
  }

  .ttm-hero-flow {
    transform: none;
    margin-top: 20px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: none;
    padding: 4px 0;
    column-gap: 0;
  }

  .ttm-flow-chevron {
    display: none;
  }

  .ttm-flow-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 20px;
  }

  .ttm-flow-item:last-child { border-bottom: 0; }

  .ttm-create-row,
  .ttm-manage-row {
    grid-template-columns: 1fr;
  }

  .ttm-create { padding-top: 72px; }

  .ttm-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ttm-step-chevron {
    display: none;
  }

  .ttm-examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .ttm-hero-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  .ttm-hero-trust {
    gap: 12px 20px;
  }

  .ttm-hero-actions .ttm-btn {
    width: 100%;
  }

  .ttm-examples-grid {
    grid-template-columns: 1fr;
  }

  .ttm-cta-panel {
    padding: 22px 20px;
  }

  .ttm-cta-panel h2 {
    font-size: 1.4rem;
  }
}

/* ========== Redesign: intro (after hero) ========== */
.ttm-r-intro {
  --ttm-r-green: #248636;
  --ttm-r-ink: #0f1728;
  --ttm-r-muted: #516075;
  padding: 48px 0 56px;
  background: #fff;
  color: var(--ttm-r-ink);
}
.ttm-r-intro-kicker {
  margin: 0 0 12px;
  margin-top: 40px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ttm-r-green);
  text-align: center;
}
.ttm-r-intro-title {
  margin: 0 auto 14px;
  max-width: 24ch;
  font-size: 46px;
  line-height: 1.16;
  font-weight: 700;
  color: var(--ttm-r-ink);
  text-align: center;
}
.ttm-r-intro-lead {
  margin: 0 auto 55px;
  max-width: 70ch;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ttm-r-muted);
  text-align: center;
}
.ttm-r-intro-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
}
.ttm-r-intro-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.ttm-r-intro-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #e8f6ec;
  color: var(--ttm-r-green);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.ttm-r-intro-icon {
  width: 28px;
  flex-shrink: 0;
  margin-top: 8px;
  color: var(--ttm-r-green);
  font-size: 25px;
  line-height: 1;
  text-align: center;
}
.ttm-r-intro-steps h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-intro-steps p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ttm-r-muted);
}

@media (max-width: 991px) {
  .ttm-r-intro {
    padding: 36px 0 44px;
  }
  .ttm-r-intro-title {
    font-size: 28px;
    max-width: none;
  }
  .ttm-r-intro-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .ttm-r-intro-title {
    font-size: 24px;
  }
  .ttm-r-intro-lead {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .ttm-r-intro-steps h3 {
    font-size: 16px;
  }
  .ttm-r-intro-steps p {
    font-size: 14px;
  }
}

/* ========== Redesign: growing library panel ========== */
.ttm-r-library {
  --ttm-r-green: #248636;
  --ttm-r-green-bright: #39b54a;
  padding: 8px 0 48px;
  background: #fff;
}
.ttm-r-library-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 36px 36px 28px;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 80% at 92% 40%, rgba(57, 181, 74, 0.18) 0%, transparent 60%),
    linear-gradient(115deg, #0a1210 0%, #101a16 48%, #0d1512 100%);
}
.ttm-r-library-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px 40px;
  align-items: start;
  margin: 0 0 28px;
}
.ttm-r-library-kicker,
.ttm-r-library-copy > p.ttm-r-library-kicker {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #248636;
}
.ttm-r-library-copy h2 {
  margin: 0 0 12px;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  max-width: 40ch;
}
.ttm-r-library-copy > p {
  margin: 0;
  margin-bottom: 9px;
  max-width: 81ch;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
  color: #fff;
}
.ttm-r-library-slogan {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  padding-top: 4px;
}
.ttm-r-library-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 20px;
  align-items: center;
  margin: 0 0 28px;
}
.ttm-r-library-stat strong {
  display: block;
  font-size: 80px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ttm-r-library-stat span {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}
.ttm-r-library-stat--now strong {
  color: var(--ttm-r-green-bright);
}
.ttm-r-library-stat--goal strong {
  color: #fff;
}
.ttm-r-library-bar-track {
  position: relative;
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.ttm-r-library-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 20%;
  border-radius: 999px;
  background: var(--ttm-r-green-bright);
}
.ttm-r-library-bar-arrow {
  position: absolute;
  left: calc(20% - 2px);
  top: 50%;
  transform: translate(-10%, -50%);
  color: var(--ttm-r-green-bright);
  font-size: 22px;
  line-height: 1;
}
.ttm-r-library-points {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.ttm-r-library-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.ttm-r-library-points li:first-child {
  border-left: 0;
  padding-left: 0;
}
.ttm-r-library-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--ttm-r-green-bright);
  color: #fff;
  font-size: 15px;
}

@media (max-width: 991px) {
  .ttm-r-library-panel {
    padding: 28px 22px 22px;
  }
  .ttm-r-library-top {
    grid-template-columns: 1fr;
    margin-bottom: 22px;
  }
  .ttm-r-library-slogan {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 13px;
  }
  .ttm-r-library-copy h2 {
    font-size: 26px;
    max-width: none;
  }
  .ttm-r-library-stat strong {
    font-size: 36px;
  }
  .ttm-r-library-points {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 16px;
  }
  .ttm-r-library-points li {
    border-left: 0;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .ttm-r-library-progress {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .ttm-r-library-bar {
    grid-column: 1 / -1;
    order: 3;
  }
  .ttm-r-library-copy h2 {
    font-size: 24px;
  }
  .ttm-r-library-copy > p {
    font-size: 15px;
  }
}

/* ========== Redesign: right training for the task ========== */
.ttm-r-task {
  --ttm-r-green: #248636;
  --ttm-r-ink: #0f1728;
  --ttm-r-muted: #516075;
  padding: 8px 0 48px;
  background: #fff;
}
.ttm-r-task-panel {
  background: #f7f8f9;
  border-radius: 24px;
  padding: 36px 36px 32px;
}
.ttm-r-task-kicker {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ttm-r-green);
}
.ttm-r-task-title {
  margin: 0 0 12px;
  max-width: 50ch;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-task-lead {
  margin: 0 0 24px;
  max-width: 95ch;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ttm-r-muted);
}
.ttm-r-task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  overflow: hidden;
}
.ttm-r-task-col {
  padding: 24px 26px;
  min-width: 0;
}
.ttm-r-task-col + .ttm-r-task-col {
  border-left: 1px solid #e8ecf0;
}
.ttm-r-task-col-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-task-col-head i {
  color: #111;
  font-size: 31px;
  width: 1.4em;
  min-width: 1.4em;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ttm-r-task-list,
.ttm-r-task-people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ttm-r-task-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ttm-r-ink);
}
.ttm-r-task-list em {
  font-style: normal;
  font-weight: 700;
}
.ttm-r-task-list li:nth-child(1) em,
.ttm-r-task-list li:nth-child(2) em {
  color: var(--ttm-r-green);
}
.ttm-r-task-list li:nth-child(3) em {
  color: #c47a12;
}
.ttm-r-task-status {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
  color: #fff;
  margin-top: 1px;
  margin-left: 5px;
}
.ttm-r-task-status--ok {
  background: var(--ttm-r-green);
}
.ttm-r-task-status--due {
  background: #e0a03a;
}
.ttm-r-task-people li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.ttm-r-task-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dce8e1;
  color: #1f5f2d;
  font-size: 18px;
  font-weight: 700;
  margin-left: -2px;
  flex-shrink: 0;
}
.ttm-r-task-avatar--b {
  background: #e8e0d4;
  color: #7a4f1d;
}
.ttm-r-task-avatar--c {
  background: #dde4ef;
  color: #2f4a6e;
}
.ttm-r-task-person {
  min-width: 0;
}
.ttm-r-task-person strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ttm-r-ink);
  line-height: 1.3;
}
.ttm-r-task-person span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ttm-r-muted);
}
.ttm-r-task-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.ttm-r-task-pill--ready {
  background: #e8f6ec;
  color: #1f7a30;
}
.ttm-r-task-pill--due {
  background: #f8ecd8;
  color: #9a6410;
}
.ttm-r-task-pill--action {
  background: #f8e4e4;
  color: #b42318;
}

@media (max-width: 991px) {
  .ttm-r-task-panel {
    padding: 28px 22px 24px;
  }
  .ttm-r-task-title {
    font-size: 26px;
    max-width: none;
  }
  .ttm-r-task-card {
    grid-template-columns: 1fr;
  }
  .ttm-r-task-col + .ttm-r-task-col {
    border-left: 0;
    border-top: 1px solid #e8ecf0;
  }
}

@media (max-width: 767px) {
  .ttm-r-task-title {
    font-size: 24px;
  }
  .ttm-r-task-lead {
    font-size: 15px;
  }
  .ttm-r-task-col {
    padding: 20px 16px;
  }
  .ttm-r-task-pill {
    min-width: 96px;
    font-size: 12px;
  }
}

/* ========== Redesign: see the training style ========== */
.ttm-r-style {
  --ttm-r-green: #39d353;
  --ttm-r-ink: #f4f7f5;
  --ttm-r-muted: #c5d0c9;
  padding: 8px 0 48px;
  background: #fff;
  color: var(--ttm-r-ink);
}
.ttm-r-style-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #06140f;
  padding: 48px 56px;
}
.ttm-r-style-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("../images/pages/toolbox-talks/manufacturing/redesign/style-section-bg.webp?v=1") center / cover no-repeat;
}
.ttm-r-style-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 22px;
  align-items: stretch;
  width: 88%;
  max-width: 1480px;
  margin: 0 auto;
}
.ttm-r-style-box {
  min-width: 0;
  border-radius: 16px;
  border: 1px solid rgba(57, 211, 83, 0.35);
  background: rgba(4, 16, 12, 0.55);
  box-shadow: 0 0 0 1px rgba(57, 211, 83, 0.08) inset;
}
.ttm-r-style-box--copy {
  padding: 28px 26px 30px;
}
.ttm-r-style-box--videos {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 14px;
}
.ttm-r-style-kicker {
  margin: 0 0 17px;
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ttm-r-green);
}
.ttm-r-style-title {
  margin: 0 0 14px;
  max-width: 20ch;
  font-size: 45px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.ttm-r-style-lead {
  margin: 0 0 45px;
  max-width: 48ch;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ttm-r-muted);
}
.ttm-r-style-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 30px;
}
.ttm-r-style-feats li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 21px;
  align-items: start;
  margin: 0;
}
.ttm-r-style-feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1.5px solid rgba(57, 211, 83, 0.55);
  color: var(--ttm-r-green);
  font-size: 43px;
  flex-shrink: 0;
  margin-top: 2px;
  margin-left: 10px;
}
.ttm-r-style-feats h3 {
  margin: 0 0 6px;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 650;
  color: #fff;
}
.ttm-r-style-feats p {
  margin: 0;
  font-size: 19px;
  max-width: 500px;
  line-height: 1.5;
  font-weight: 350;
  color: var(--ttm-r-muted);
}
.ttm-r-style-card {
  min-width: 0;
}
.ttm-r-style-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0e171d;
  aspect-ratio: 16 / 9;
}
.ttm-r-style-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ttm-r-style-thumb--playable {
  cursor: pointer;
}
.ttm-r-style-thumb--playable.is-playing {
  cursor: default;
}
.ttm-r-style-thumb--playable.is-playing img {
  visibility: hidden;
}
.ttm-r-style-thumb .ttl-r-action-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.ttm-r-style-thumb .tt-style-play-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}
.ttm-r-style-thumb .tt-style-play-toggle i {
  margin-left: 2px;
}
.ttm-r-style-thumb .tt-style-play-toggle .fa-pause {
  margin-left: 0;
}
.ttm-r-style-thumb .tt-style-play-toggle:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.04);
}
.ttm-r-style-thumb.is-playing .tt-style-play-toggle {
  opacity: 0;
  pointer-events: none;
}
.ttm-r-style-thumb.is-playing:hover .tt-style-play-toggle,
.ttm-r-style-thumb.is-paused .tt-style-play-toggle {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .ttm-r-style-shell {
    padding: 32px 28px;
  }
  .ttm-r-style-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    max-width: none;
  }
  .ttm-r-style-title {
    max-width: none;
    font-size: 28px;
  }
  .ttm-r-style-box--videos {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .ttm-r-style {
    padding: 4px 0 36px;
  }
  .ttm-r-style-shell {
    border-radius: 16px;
    padding: 18px 14px;
  }
  .ttm-r-style-box--copy {
    padding: 22px 16px 24px;
  }
  .ttm-r-style-box--videos {
    padding: 12px;
    gap: 12px;
  }
  .ttm-r-style-title {
    font-size: 24px;
  }
  .ttm-r-style-lead {
    font-size: 15px;
    margin-bottom: 22px;
    max-width: none;
  }
  .ttm-r-style-feats {
    gap: 18px;
  }
  .ttm-r-style-feat-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .ttm-r-style-feats h3 {
    font-size: 16px;
  }
  .ttm-r-style-feats p {
    font-size: 14px;
  }
  .ttm-r-style-thumb .tt-style-play-toggle {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }
}

/* ========== Redesign: core safety topics ========== */
.ttm-r-topics {
  --ttm-r-green: #248636;
  --ttm-r-ink: #0f1728;
  --ttm-r-muted: #516075;
  padding: 28px 0 56px;
  background: #fff;
}
.ttm-r-topics-kicker {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ttm-r-green);
}
.ttm-r-topics-title {
  margin: 0 0 12px;
  max-width: 45ch;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-topics-lead {
  margin: 0 0 28px;
  max-width: 84ch;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ttm-r-muted);
}
.ttm-r-topics-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ttm-r-topics-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 22px 22px;
  background: #f5f6f7;
  border: 1px solid #e8eaed;
  border-radius: 16px;
}
.ttm-r-topics-card--wide {
  grid-column: 1 / -1;
}
.ttm-r-topics-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin-top: 0;
  border-radius: 50%;
  background: #e7f4ea;
  color: #1a2332;
  font-size: 25px;
  line-height: 1;
  flex-shrink: 0;
}
.ttm-r-topics-body h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-topics-body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: #596579;
}
.ttm-r-topics-note {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ttm-r-muted);
}

@media (max-width: 991px) {
  .ttm-r-topics-title {
    font-size: 28px;
    max-width: none;
  }
  .ttm-r-topics-list {
    grid-template-columns: 1fr;
  }
  .ttm-r-topics-card {
    gap: 14px;
    padding: 20px 18px;
  }
  .ttm-r-topics-body h3 {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .ttm-r-topics {
    padding: 20px 0 40px;
  }
  .ttm-r-topics-title {
    font-size: 24px;
  }
  .ttm-r-topics-lead {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .ttm-r-topics-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 16px;
  }
  .ttm-r-topics-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    margin-top: 0;
  }
  .ttm-r-topics-body p {
    font-size: 14px;
  }
  .ttm-r-topics-note {
    font-size: 14px;
    margin-top: 18px;
  }
}

/* ========== Redesign: from assignment to evidence ========== */
.ttm-r-process {
  --ttm-r-green: #248636;
  --ttm-r-ink: #0f1728;
  --ttm-r-muted: #516075;
  padding: 8px 0 48px;
  background: #fff;
}
.ttm-r-process-panel {
  background: #f7f8f9;
  border-radius: 24px;
  padding: 36px 36px 32px;
}
.ttm-r-process-kicker {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ttm-r-green);
}
.ttm-r-process-title {
  margin: 0 0 12px;
  max-width: 40ch;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-process-lead {
  margin: 0 0 28px;
  max-width: 84ch;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ttm-r-muted);
}
.ttm-r-process-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
}
.ttm-r-process-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-right: 18px;
}
.ttm-r-process-steps li:not(:last-child)::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 10px;
  color: var(--ttm-r-green);
  font-size: 20px;
  opacity: 0.85;
}
.ttm-r-process-num {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ttm-r-green);
  color: #fff;
  font-size: 27px;
  font-weight: 700;
  flex-shrink: 0;
}
.ttm-r-process-steps strong {
  display: block;
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-process-steps span:not(.ttm-r-process-num) {
  display: block;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ttm-r-muted);
}
.ttm-r-process-example {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
}
.ttm-r-process-example-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f5eb;
  color: var(--ttm-r-green);
  font-size: 40px;
  flex-shrink: 0;
}
.ttm-r-process-example-copy h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-process-example-copy p {
  margin: 0;
  max-width: 64ch;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ttm-r-muted);
}
.ttm-r-process-pass {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #eef8f0;
  border: 1px solid #d4ebd9;
  border-radius: 12px;
  min-width: 250px;
}
.ttm-r-process-pass-check {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ttm-r-green);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.ttm-r-process-pass strong {
  display: block;
  margin: 0 0 3px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ttm-r-green);
}
.ttm-r-process-pass span:not(.ttm-r-process-pass-check) {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  color: #6b7788;
}

@media (max-width: 991px) {
  .ttm-r-process-panel {
    padding: 28px 22px 24px;
  }
  .ttm-r-process-title {
    font-size: 28px;
    max-width: none;
  }
  .ttm-r-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    padding: 20px 18px;
  }
  .ttm-r-process-steps li:nth-child(2)::after {
    display: none;
  }
  .ttm-r-process-example {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .ttm-r-process-pass {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .ttm-r-process {
    padding: 4px 0 40px;
  }
  .ttm-r-process-panel {
    padding: 22px 16px 20px;
  }
  .ttm-r-process-title {
    font-size: 24px;
  }
  .ttm-r-process-lead {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .ttm-r-process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ttm-r-process-steps li {
    padding-right: 0;
  }
  .ttm-r-process-steps li::after {
    display: none;
  }
  .ttm-r-process-example {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
  }
  .ttm-r-process-example-copy h3 {
    font-size: 17px;
  }
  .ttm-r-process-example-copy p {
    font-size: 14px;
  }
}

/* ========== Redesign: your training too ========== */
.ttm-r-upload {
  --ttm-r-green: #248636;
  --ttm-r-ink: #0f1728;
  --ttm-r-muted: #516075;
  padding: 8px 0 16px;
  background: #fff;
}
.ttm-r-upload-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px 30px;
  background: #f7f8f9;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
}
.ttm-r-upload-icon {
  color: var(--ttm-r-green);
  font-size: 42px;
  line-height: 1;
}
.ttm-r-upload-kicker {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ttm-r-green);
}
.ttm-r-upload-title {
  margin: 0 0 10px;
  max-width: 38ch;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-upload-lead {
  margin: 0;
  max-width: 100ch;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ttm-r-muted);
}
.ttm-r-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--ttm-r-green);
  border: 1px solid var(--ttm-r-green);
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.ttm-r-upload-btn:hover {
  background: #1d6c2c;
  border-color: #1d6c2c;
  color: #fff !important;
}

/* ========== Redesign: visible workforce records ========== */
.ttm-r-records {
  --ttm-r-green: #248636;
  --ttm-r-ink: #0f1728;
  --ttm-r-muted: #516075;
  padding: 8px 0 16px;
  background: #fff;
}
.ttm-r-records-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
  background: #f7f8f9;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
}
.ttm-r-records-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 22px;
  align-items: center;
}
.ttm-r-records-icon {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  display: inline-flex;
  margin-bottom: 0;
  color: var(--ttm-r-green);
  font-size: 36px;
  line-height: 1;
}
.ttm-r-records-kicker,
.ttm-r-records-title,
.ttm-r-records-lead {
  grid-column: 2;
}
.ttm-r-records-kicker {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ttm-r-green);
}
.ttm-r-records-title {
  margin: 0 0 10px;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-records-lead {
  margin: 0;
  max-width: 63ch;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ttm-r-muted);
}
.ttm-r-records-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
}
.ttm-r-records-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  background: #fff;
}
.ttm-r-records-table th,
.ttm-r-records-table td {
  padding: 12px 10px;
  text-align: left;
  font-size: 17px;
  line-height: 1.35;
  border: 1px solid #e4e7ec;
}
.ttm-r-records-table th {
  color: #0f1728;
  font-weight: 700;
  font-size: 20px;
  background: #fff;
}
.ttm-r-records-table td {
  color: #6b7788;
  font-weight: 600;
  background: #fff;
}
.ttm-r-records-table tbody tr:last-child td {
  border-bottom: 1px solid #e4e7ec;
}
.ttm-r-records-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.ttm-r-records-pill--ready {
  background: #e7f6ea;
  color: #1f7a32;
}
.ttm-r-records-pill--due {
  background: #f8ecd8;
  color: #9a6410;
}
.ttm-r-records-pill--action {
  background: #f8e4e4;
  color: #b42318;
}

/* ========== Redesign: more content on the way ========== */
.ttm-r-growth {
  --ttm-r-green: #248636;
  --ttm-r-ink: #0f1728;
  --ttm-r-muted: #516075;
  padding: 8px 0 16px;
  background: #fff;
}
.ttm-r-growth-card {
  padding: 28px 30px 26px;
  background: #f7f8f9;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
}
.ttm-r-growth-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}
.ttm-r-growth-icon {
  color: var(--ttm-r-green);
  font-size: 36px;
  line-height: 1;
  margin-top: 0;
  align-self: center;
}
.ttm-r-growth-kicker {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ttm-r-green);
}
.ttm-r-growth-title {
  margin: 0 0 10px;
  max-width: 40ch;
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-growth-lead {
  margin: 0;
  max-width: 92ch;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ttm-r-muted);
}
.ttm-r-growth-steps {
  list-style: none;
  margin: 0;
  padding: 18px 8px 4px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid #eef1f4;
}
.ttm-r-growth-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-right: 22px;
}
.ttm-r-growth-steps li:not(:last-child)::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ttm-r-green);
  font-size: 35px;
}
.ttm-r-growth-badge {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ttm-r-green);
  color: #fff;
  font-size: 26px;
  font-weight: 750;
  flex-shrink: 0;
}
.ttm-r-growth-steps strong {
  display: block;
  margin: 0 0 3px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ttm-r-ink);
}
.ttm-r-growth-steps span:not(.ttm-r-growth-badge) {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ttm-r-muted);
}

/* ========== Redesign: close CTA ========== */
.ttm-r-close {
  --ttm-r-green: #248636;
  padding: 8px 0 48px;
  background: #fff;
}
.ttm-r-close-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 34px 36px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 120% at 10% 0%, rgba(36, 134, 54, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 100% at 90% 100%, rgba(36, 134, 54, 0.12), transparent 50%),
    #0b1218;
  color: #fff;
}
.ttm-r-close-title {
  margin: 0;
  max-width: 38ch;
  font-size: 35px;
  line-height: 1.2;
  font-weight: 650;
  color: #fff;
}
.ttm-r-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ttm-r-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--ttm-r-green);
  border: 1px solid var(--ttm-r-green);
  color: #fff !important;
  font-size: 24px;
  font-weight: 650;
  text-decoration: none !important;
}
.ttm-r-close-btn:hover {
  background: #1d6c2c;
  border-color: #1d6c2c;
  color: #fff !important;
}
.ttm-r-close-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
  font-weight: 650;
}
.ttm-r-close-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff !important;
}

@media (max-width: 991px) {
  .ttm-r-upload-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px 18px;
    padding: 22px 20px;
  }
  .ttm-r-upload-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .ttm-r-upload-title,
  .ttm-r-records-title,
  .ttm-r-growth-title {
    font-size: 24px;
    max-width: none;
  }
  .ttm-r-records-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 20px;
  }
  .ttm-r-records-lead {
    max-width: none;
  }
  .ttm-r-growth-card {
    padding: 22px 20px;
  }
  .ttm-r-growth-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ttm-r-growth-steps li {
    padding-right: 0;
  }
  .ttm-r-growth-steps li::after {
    display: none;
  }
  .ttm-r-close-panel {
    padding: 28px 22px;
  }
  .ttm-r-close-title {
    font-size: 26px;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .ttm-r-upload,
  .ttm-r-records,
  .ttm-r-growth {
    padding: 4px 0 12px;
  }
  .ttm-r-close {
    padding: 4px 0 40px;
  }
  .ttm-r-upload-card,
  .ttm-r-records-card,
  .ttm-r-growth-card {
    padding: 18px 16px;
  }
  .ttm-r-upload-card {
    grid-template-columns: 1fr;
  }
  .ttm-r-upload-icon,
  .ttm-r-records-icon,
  .ttm-r-growth-icon {
    font-size: 32px;
  }
  .ttm-r-upload-title,
  .ttm-r-records-title,
  .ttm-r-growth-title {
    font-size: 22px;
  }
  .ttm-r-upload-lead,
  .ttm-r-records-lead,
  .ttm-r-growth-lead {
    font-size: 14px;
  }
  .ttm-r-growth-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ttm-r-close-title {
    font-size: 22px;
  }
  .ttm-r-close-actions {
    width: 100%;
  }
  .ttm-r-close-btn {
    flex: 1 1 auto;
  }
}
